/*
Theme Name: EAD Certificada
Theme URI: https://www.eadcertificada.com.br
Author: EAD Certificada
Description: Tema de blocos da EAD Certificada, seguindo o DESIGN.md da marca: azul-marinho #00254F, laranja #EE9C14, Montserrat e Inter. Visual inspirado em heros e grades bento do 21st.dev. Leve, acessível e pensado para SEO.
Version: 2.0.0
Requires at least: 6.5
Tested up to: 6.9
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ead-certificada
*/

:root {
	--ead-marinho-2: #0B1A30;
	--ead-ease: cubic-bezier(0.16, 1, 0.3, 1);
	--ead-sombra-md: 0 4px 12px rgba(0, 37, 79, .08);
	--ead-sombra-lg: 0 12px 32px rgba(0, 37, 79, .12);
	/* Ícones Lucide usados como máscara */
	--i-maleta: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 20V4a2 2 0 0 0-2-2h-4a2 2 0 0 0-2 2v16'/%3E%3Crect width='20' height='14' x='2' y='6' rx='2'/%3E%3C/svg%3E");
	--i-cap: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21.42 10.922a1 1 0 0 0-.019-1.838L12.83 5.18a2 2 0 0 0-1.66 0L2.6 9.08a1 1 0 0 0 0 1.832l8.57 3.908a2 2 0 0 0 1.66 0z'/%3E%3Cpath d='M22 10v6'/%3E%3Cpath d='M6 12.5V16a6 3 0 0 0 12 0v-3.5'/%3E%3C/svg%3E");
	--i-livro: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 7v14'/%3E%3Cpath d='M3 18a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h5a4 4 0 0 1 4 4 4 4 0 0 1 4-4h5a1 1 0 0 1 1 1v13a1 1 0 0 1-1 1h-6a3 3 0 0 0-3 3 3 3 0 0 0-3-3z'/%3E%3C/svg%3E");
	--i-capacete: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 10V5a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1v5'/%3E%3Cpath d='M14 6a6 6 0 0 1 6 6v3'/%3E%3Cpath d='M4 15v-3a6 6 0 0 1 6-6'/%3E%3Crect x='2' y='15' width='20' height='4' rx='1'/%3E%3C/svg%3E");
	--i-premio: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m15.477 12.89 1.515 8.526a.5.5 0 0 1-.81.47l-3.58-2.687a1 1 0 0 0-1.197 0l-3.586 2.686a.5.5 0 0 1-.81-.469l1.514-8.526'/%3E%3Ccircle cx='12' cy='8' r='6'/%3E%3C/svg%3E");
	--i-escudo: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z'/%3E%3Cpath d='m9 12 2 2 4-4'/%3E%3C/svg%3E");
	--i-laptop: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 16V7a2 2 0 0 0-2-2H6a2 2 0 0 0-2 2v9m16 0H4m16 0 1.28 2.55a1 1 0 0 1-.9 1.45H3.62a1 1 0 0 1-.9-1.45L4 16'/%3E%3C/svg%3E");
	--i-sobe: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 7h6v6'/%3E%3Cpath d='m22 7-8.5 8.5-5-5L2 17'/%3E%3C/svg%3E");
	--i-msg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7.9 20A9 9 0 1 0 4 16.1L2 22Z'/%3E%3C/svg%3E");
	--i-mail: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect width='20' height='16' x='2' y='4' rx='2'/%3E%3Cpath d='m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7'/%3E%3C/svg%3E");
	--i-pin: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E");
	--i-arroba: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3Cpath d='M16 8v5a3 3 0 0 0 6 0v-1a10 10 0 1 0-4 8'/%3E%3C/svg%3E");
	--i-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='m9 12 2 2 4-4'/%3E%3C/svg%3E");
	--i-seta: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3Cpath d='m12 5 7 7-7 7'/%3E%3C/svg%3E");
	--i-mais: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3Cpath d='M12 5v14'/%3E%3C/svg%3E");
	--arco: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 120' preserveAspectRatio='none'%3E%3Cpath d='M10 115 C 120 40, 260 10, 395 12' stroke='%23EE9C14' stroke-width='10' fill='none' stroke-linecap='round' opacity='.6'/%3E%3C/svg%3E");
}

/* ---------- Base ---------- */
html { scroll-behavior: smooth; }
body { -webkit-font-smoothing: antialiased; }
:where(h1, h2, h3, h4) { text-wrap: balance; }
:focus-visible { outline: 3px solid var(--wp--preset--color--laranja); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--wp--preset--color--laranja); color: var(--wp--preset--color--marinho); }

.rotulo {
	font-family: var(--wp--preset--font-family--titulo);
	font-size: 0.75rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase;
	color: var(--wp--preset--color--azul);
}
.escuro .rotulo, .has-marinho-background-color .rotulo { color: var(--wp--preset--color--laranja); }
.sublinhado-arco {
	color: var(--wp--preset--color--laranja);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 20' preserveAspectRatio='none'%3E%3Cpath d='M2 16 C 60 4, 140 2, 198 6' stroke='%23EE9C14' stroke-width='5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat; background-position: 0 100%; background-size: 100% 0.32em; padding-bottom: 0.2em;
}

/* ---------- Ícones de cartão: classe "icone-<nome>" no grupo ---------- */
.icone-maleta { --icone: var(--i-maleta); } .icone-cap { --icone: var(--i-cap); } .icone-livro { --icone: var(--i-livro); }
.icone-capacete { --icone: var(--i-capacete); } .icone-premio { --icone: var(--i-premio); } .icone-escudo { --icone: var(--i-escudo); }
.icone-laptop { --icone: var(--i-laptop); } .icone-sobe { --icone: var(--i-sobe); } .icone-msg { --icone: var(--i-msg); }
.icone-mail { --icone: var(--i-mail); } .icone-pin { --icone: var(--i-pin); } .icone-arroba { --icone: var(--i-arroba); }
.wp-block-group[class*="icone-"]::before {
	content: ""; flex: none; display: block; width: 52px; height: 52px; border-radius: 14px;
	background-color: var(--wp--preset--color--fundo-alt);
	background-image: linear-gradient(var(--wp--preset--color--marinho), var(--wp--preset--color--marinho));
	-webkit-mask: none;
}
/* desenha o ícone dentro do quadrado com uma camada de máscara */
.wp-block-group[class*="icone-"]::before {
	background: var(--wp--preset--color--fundo-alt);
	box-shadow: inset 0 0 0 1px rgba(0, 37, 79, .04);
}
.wp-block-group[class*="icone-"] > :first-child { margin-top: .5rem !important; }
.wp-block-group[class*="icone-"]::after {
	content: ""; position: absolute; top: calc(var(--pad, 1.75rem) + 13px); left: calc(var(--pad, 1.75rem) + 13px);
	width: 26px; height: 26px; background: var(--wp--preset--color--marinho);
	-webkit-mask: var(--icone) no-repeat center / contain; mask: var(--icone) no-repeat center / contain;
	pointer-events: none;
}
.wp-block-group.destaque[class*="icone-"]::before, .wp-block-group.cartao-escuro[class*="icone-"]::before { background: rgba(238, 156, 20, .16); box-shadow: none; }
.wp-block-group.destaque[class*="icone-"]::after, .wp-block-group.cartao-escuro[class*="icone-"]::after { background: var(--wp--preset--color--laranja); }

/* ---------- Botões ---------- */
.wp-block-button__link { display: inline-flex; align-items: center; justify-content: center; gap: .6rem; min-height: 52px; transition: transform 150ms ease-out, box-shadow 150ms ease-out, background-color 150ms ease-out; }
.wp-block-button__link:hover { transform: translateY(-2px); box-shadow: var(--ead-sombra-lg); }
.wp-block-button:not(.is-style-destaque):not(.is-style-contorno) .wp-block-button__link:hover { background: var(--wp--preset--color--azul); }
.wp-block-button.is-style-destaque .wp-block-button__link { background: var(--wp--preset--color--laranja); color: var(--wp--preset--color--marinho); }
.wp-block-button.is-style-destaque .wp-block-button__link::before {
	content: ""; flex: none; width: 20px; height: 20px; background: currentColor;
	-webkit-mask: var(--i-msg) no-repeat center / contain; mask: var(--i-msg) no-repeat center / contain;
}
.wp-block-button.is-style-contorno .wp-block-button__link { background: transparent; color: var(--wp--preset--color--marinho); border: 2px solid var(--wp--preset--color--marinho); }
.escuro .wp-block-button.is-style-contorno .wp-block-button__link, .cta-final .wp-block-button.is-style-contorno .wp-block-button__link { background: rgba(255, 255, 255, .06); color: #fff; border: 1.5px solid rgba(255, 255, 255, .35); }
.wp-block-button.is-style-contorno .wp-block-button__link::after {
	content: ""; flex: none; width: 18px; height: 18px; background: currentColor;
	-webkit-mask: var(--i-seta) no-repeat center / contain; mask: var(--i-seta) no-repeat center / contain;
}

/* ---------- Cabeçalho escuro ---------- */
.cabecalho-site { position: sticky; top: 0; z-index: 50; background: rgba(0, 37, 79, .95); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(255, 255, 255, .08); }
.admin-bar .cabecalho-site { top: 32px; }
@media (max-width: 782px) { .admin-bar .cabecalho-site { top: 0; position: relative; } }
.cabecalho-site .wp-block-navigation-item__content { color: #E7ECF4; padding: .5rem .75rem; border-radius: 6px; }
.cabecalho-site .wp-block-navigation-item__content:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.cabecalho-site .wp-block-navigation__responsive-container-open { color: #fff; }
.cabecalho-site .wp-block-navigation__responsive-container.is-menu-open { background: var(--wp--preset--color--marinho) !important; color: #fff !important; }
.cabecalho-site .wp-block-button__link { min-height: 44px; padding: .6rem 1.1rem; }
@media (max-width: 599px) { .cabecalho-site .botao-whatsapp-topo { display: none; } }

/* ---------- Seções escuras: topo da home e cabeçalhos de página ---------- */
.escuro, .cta-final {
	position: relative; overflow: hidden; color: #fff;
	background-color: var(--wp--preset--color--marinho);
	background-image:
		radial-gradient(60% 70% at 88% 25%, rgba(238, 156, 20, .22), transparent 60%),
		radial-gradient(50% 60% at 8% 95%, rgba(31, 78, 140, .55), transparent 70%),
		linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
	background-size: auto, auto, 48px 48px, 48px 48px;
}
.cta-final { background-image: radial-gradient(50% 80% at 90% 10%, rgba(238, 156, 20, .25), transparent 60%), radial-gradient(40% 60% at 0% 100%, rgba(31, 78, 140, .6), transparent 70%); }
:is(.escuro, .cta-final) :is(h1, h2, h3) { color: #fff; }
:is(.escuro, .cta-final) p { color: var(--wp--preset--color--texto-claro); }
.escuro a:not(.wp-block-button__link) { color: #fff; }
.escuro .lista-check li { color: #E7ECF4; }
.escuro .lista-check li::before { background: var(--wp--preset--color--laranja); }
.escuro h1 { font-size: clamp(2.2rem, 4.8vw, 3.6rem) !important; letter-spacing: -.01em; }
.escuro .wp-block-heading + p { margin-top: 1.5rem; }

.selo { display: inline-flex !important; align-items: center; gap: .6rem; width: fit-content; padding: 6px 14px 6px 6px; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); font-size: 13px !important; font-weight: 600; color: #E7ECF4 !important; }
.selo strong { background: var(--wp--preset--color--laranja); color: var(--wp--preset--color--marinho); border-radius: 999px; padding: 5px 10px; font: 700 11px/1 var(--wp--preset--font-family--titulo); letter-spacing: .08em; text-transform: uppercase; }

/* Cartão-diploma do topo */
.diploma-area { position: relative; min-height: 420px; display: grid; place-items: center; padding: 24px 32px; }
.diploma { position: relative; width: 100%; max-width: 420px; background: #fff; color: var(--wp--preset--color--texto); border-radius: 20px; padding: 28px; box-shadow: 0 30px 60px rgba(0, 0, 0, .35); transform: rotate(-2deg); }
.diploma::before { content: ""; position: absolute; inset: 10px; border: 1.5px solid #E9EDF3; border-radius: 14px; pointer-events: none; }
.diploma .d-cab { display: flex; align-items: center; justify-content: space-between; }
.diploma .d-cab img { height: 34px; width: auto; }
.diploma .d-tag { font: 700 10px/1 var(--wp--preset--font-family--titulo); letter-spacing: .16em; text-transform: uppercase; color: var(--wp--preset--color--azul); background: var(--wp--preset--color--fundo-alt); padding: 6px 10px; border-radius: 999px; }
.diploma .d-rot { font: 700 12px/1.2 var(--wp--preset--font-family--titulo); letter-spacing: .2em; text-transform: uppercase; color: var(--wp--preset--color--texto-2); margin: 24px 0 0; }
.diploma .d-curso { font: 800 24px/1.2 var(--wp--preset--font-family--titulo); color: var(--wp--preset--color--marinho); margin: 8px 0 0; }
.diploma .d-linha { height: 10px; border-radius: 6px; background: var(--wp--preset--color--fundo-alt); margin-top: 14px; }
.diploma .d-linha.c { width: 70%; }
.diploma .d-pe { display: flex; justify-content: space-between; align-items: flex-end; margin-top: 26px; }
.diploma .d-assin { width: 140px; border-top: 1.5px solid var(--wp--preset--color--borda); padding-top: 6px; font-size: 11px; color: var(--wp--preset--color--texto-2); }
.diploma .d-carimbo { width: 74px; height: 74px; border-radius: 50%; background: var(--wp--preset--color--laranja); display: grid; place-items: center; box-shadow: 0 0 0 6px rgba(238, 156, 20, .2); }
.diploma .d-carimbo::after { content: ""; width: 34px; height: 34px; background: var(--wp--preset--color--marinho); -webkit-mask: var(--i-premio) no-repeat center / contain; mask: var(--i-premio) no-repeat center / contain; }
.chip { position: absolute; display: flex; align-items: center; gap: 12px; background: #fff; color: var(--wp--preset--color--texto); border-radius: 14px; padding: 12px 16px; box-shadow: var(--ead-sombra-lg); }
.chip strong { display: block; font: 800 20px/1 var(--wp--preset--font-family--titulo); color: var(--wp--preset--color--marinho); }
.chip small { font-size: 12px; color: var(--wp--preset--color--texto-2); }
.chip .bola { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--wp--preset--color--fundo-alt); }
.chip .bola::after { content: ""; width: 22px; height: 22px; background: var(--wp--preset--color--marinho); -webkit-mask: var(--icone) no-repeat center / contain; mask: var(--icone) no-repeat center / contain; }
.chip.a { left: 0; top: 74%; --icone: var(--i-maleta); }
.chip.b { right: 0; top: 0; --icone: var(--i-cap); }
@media (max-width: 520px) { .diploma-area { padding: 32px 0; } .diploma { transform: none; } .chip.a { top: auto; bottom: 0; } }
@media (prefers-reduced-motion: no-preference) {
	.diploma { animation: ead-flutua 7s ease-in-out infinite; }
	.chip.a { animation: ead-flutua 6s ease-in-out infinite reverse; }
	.chip.b { animation: ead-flutua 8s ease-in-out infinite; }
	@keyframes ead-flutua { 50% { translate: 0 -8px; } }
}

/* Faixa de áreas (marquee) */
.areas { background: var(--ead-marinho-2); color: #C9D3E3; overflow: hidden; border-top: 1px solid rgba(255, 255, 255, .06); }
.areas .trilho { display: flex; gap: 40px; width: max-content; padding-block: 18px; font: 600 14px/1 var(--wp--preset--font-family--titulo); white-space: nowrap; }
.areas .trilho span { display: inline-flex; align-items: center; gap: 40px; }
.areas .trilho span::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--wp--preset--color--laranja); }
@media (prefers-reduced-motion: no-preference) { .areas .trilho { animation: ead-rolar 45s linear infinite; } @keyframes ead-rolar { to { transform: translateX(-50%); } } }

/* ---------- Cartões ---------- */
.wp-block-group.is-style-cartao {
	--pad: 1.75rem;
	position: relative; display: flex; flex-direction: column; gap: .6rem;
	background: #fff; border: 1px solid var(--wp--preset--color--borda); border-radius: 20px; padding: var(--pad);
	transition: box-shadow 250ms var(--ead-ease), transform 250ms var(--ead-ease), border-color 250ms var(--ead-ease);
	height: 100%; box-sizing: border-box; min-width: 0;
}
.wp-block-group.is-style-cartao > * { margin: 0 !important; }
.wp-block-group.is-style-cartao:hover { box-shadow: var(--ead-sombra-lg); transform: translateY(-4px); border-color: #C9D2DF; }
.wp-block-group.is-style-cartao p { font-size: .95rem; }
.is-style-cartao :is(h2, h3) a { color: inherit; text-decoration: none; }
.is-style-cartao :is(h2, h3) a::after { content: ""; position: absolute; inset: 0; border-radius: 20px; z-index: 2; }
.is-style-cartao .mais { margin-top: auto !important; padding-top: .75rem; font: 700 14px/1 var(--wp--preset--font-family--titulo) !important; color: var(--wp--preset--color--azul); display: flex; justify-content: space-between; align-items: center; }
.is-style-cartao .mais::after { content: ""; width: 20px; height: 20px; background: currentColor; -webkit-mask: var(--i-seta) no-repeat center / contain; mask: var(--i-seta) no-repeat center / contain; transition: transform 200ms var(--ead-ease); }
.is-style-cartao:hover .mais::after { transform: translateX(4px); }
.wp-block-group.is-style-cartao.cartao-solto { height: auto; align-self: start; }
.wp-block-group.is-style-cartao.cartao-solto:hover { transform: none; box-shadow: none; border-color: var(--wp--preset--color--borda); }

.wp-block-group.is-style-cartao.destaque, .wp-block-group.is-style-cartao.cartao-escuro { background-color: var(--wp--preset--color--marinho); border-color: var(--wp--preset--color--marinho); color: #fff; overflow: hidden; }
.wp-block-group.is-style-cartao.destaque { --pad: 2.25rem; background-image: var(--arco); background-repeat: no-repeat; background-size: 340px 160px; background-position: right -60px bottom -40px; }
.is-style-cartao:is(.destaque, .cartao-escuro) :is(h2, h3) { color: #fff; }
.is-style-cartao.destaque h3 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
.is-style-cartao:is(.destaque, .cartao-escuro) p { color: var(--wp--preset--color--texto-claro); }
.is-style-cartao.destaque p { font-size: 1.05rem; max-width: 32rem; }
.is-style-cartao:is(.destaque, .cartao-escuro) .mais { color: var(--wp--preset--color--laranja); }
.pilulas { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0 !important; }
.pilulas li { font-size: 13px; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .12); color: #E7ECF4; margin: 0; }

/* Bento de cursos */
.bento { display: grid !important; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px !important; }
.bento > * { margin: 0 !important; }
.bento > .destaque { grid-column: span 4; grid-row: span 2; }
.bento > .m { grid-column: span 2; }
.bento > .l { grid-column: span 3; }
@media (max-width: 1000px) { .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); } .bento > .destaque, .bento > .l { grid-column: span 2; grid-row: auto; } .bento > .m { grid-column: span 1; } }
@media (max-width: 620px) { .bento { grid-template-columns: 1fr; } .bento > .destaque, .bento > .l, .bento > .m { grid-column: auto; } }

/* Números */
.numeros { display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px !important; background: var(--wp--preset--color--borda); border: 1px solid var(--wp--preset--color--borda); border-radius: 20px; overflow: hidden; }
.numeros > * { background: #fff; padding: 1.75rem; margin: 0 !important; }
.numeros strong { display: block; font: 800 clamp(2rem, 3.6vw, 2.8rem)/1 var(--wp--preset--font-family--titulo); color: var(--wp--preset--color--marinho); font-variant-numeric: tabular-nums; margin-bottom: .5rem; }
.numeros p { color: var(--wp--preset--color--texto-2); margin: 0; }
@media (max-width: 760px) { .numeros { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Lista de benefícios */
.lista-icones { list-style: none; padding: 0 !important; display: grid; gap: 1rem; }
.lista-icones li { position: relative; padding-left: 2.4rem; color: var(--wp--preset--color--texto-2); margin: 0; }
.lista-icones li strong { display: block; font-family: var(--wp--preset--font-family--titulo); color: var(--wp--preset--color--marinho); }
.lista-icones li::before { content: ""; position: absolute; left: 0; top: .15rem; width: 24px; height: 24px; background: var(--wp--preset--color--sucesso); -webkit-mask: var(--i-check) no-repeat center / contain; mask: var(--i-check) no-repeat center / contain; }

/* Comparativo */
.comparativo { background: #fff; border: 1px solid var(--wp--preset--color--borda); border-radius: 20px; padding: 28px; box-shadow: var(--ead-sombra-md); }
.comparativo h3 { font-size: 1.1rem; margin: 0; }
.comparativo .barra { margin-top: 22px; }
.comparativo .b-topo { display: flex; justify-content: space-between; gap: 12px; font: 600 14px/1.3 var(--wp--preset--font-family--titulo); color: var(--wp--preset--color--texto); }
.comparativo .b-topo span:last-child { color: var(--wp--preset--color--texto-2); font-weight: 500; text-align: right; }
.comparativo .b-trilha { margin-top: 10px; height: 12px; border-radius: 999px; background: var(--wp--preset--color--fundo-alt); overflow: hidden; }
.comparativo .b-enche { height: 100%; border-radius: 999px; background: var(--wp--preset--color--borda); }
.comparativo .sim .b-enche { background: linear-gradient(90deg, var(--wp--preset--color--azul), var(--wp--preset--color--marinho)); }
.comparativo small { display: block; margin-top: 18px; color: var(--wp--preset--color--texto-2); font-size: 12.5px; }

/* Passos ligados pelo arco */
.passos { position: relative; }
.passos::before { content: ""; position: absolute; left: 6%; right: 6%; top: 22px; height: 60px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1000 60' preserveAspectRatio='none'%3E%3Cpath d='M0 40 C 300 0, 700 0, 1000 30' stroke='%23EE9C14' stroke-width='3' stroke-dasharray='8 10' fill='none'/%3E%3C/svg%3E") no-repeat center / 100% 100%; pointer-events: none; }
.passos > * { position: relative; margin: 0 !important; }
.passos h3 { margin-top: 1rem !important; }
.passos p { color: var(--wp--preset--color--texto-2); }
.passo-num { width: 48px; height: 48px; border-radius: 50%; display: grid !important; place-items: center; background: var(--wp--preset--color--marinho); color: #fff !important; font: 800 18px/1 var(--wp--preset--font-family--titulo) !important; box-shadow: 0 0 0 6px var(--passo-fundo, #fff); margin: 0 !important; }
.has-fundo-alt-background-color .passo-num { --passo-fundo: var(--wp--preset--color--fundo-alt); }
@media (max-width: 900px) { .passos::before { display: none; } }

/* Faixa de transparência */
.transparencia { position: relative; overflow: hidden; background: #fff; border: 1px solid var(--wp--preset--color--borda); border-radius: 20px; padding: 2rem 2rem 2rem 2.4rem !important; box-shadow: var(--ead-sombra-md); }
.transparencia::after { content: ""; position: absolute; inset: 0 auto 0 0; width: 6px; background: var(--wp--preset--color--laranja); }

/* Perguntas frequentes */
.wp-block-details { border-bottom: 1px solid var(--wp--preset--color--borda); padding: 1.2rem 0; margin-top: 0 !important; margin-bottom: 0 !important; }
.wp-block-details summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 1rem; font-family: var(--wp--preset--font-family--titulo); font-weight: 700; color: var(--wp--preset--color--marinho); font-size: 1.08rem; line-height: 1.35; }
.wp-block-details summary::-webkit-details-marker { display: none; }
.wp-block-details summary::after { content: ""; flex: none; width: 22px; height: 22px; background: var(--wp--preset--color--azul); -webkit-mask: var(--i-mais) no-repeat center / contain; mask: var(--i-mais) no-repeat center / contain; transition: transform 250ms var(--ead-ease); }
.wp-block-details[open] summary::after { transform: rotate(45deg); }
.wp-block-details[open] summary { margin-bottom: .5rem; }
.wp-block-details p { color: var(--wp--preset--color--texto-2); }

/* Listas de cursos */
.lista-cursos, .lista-check { list-style: none; padding-left: 0 !important; column-gap: 2rem; }
@media (min-width: 640px) { .lista-cursos { columns: 2; } }
@media (min-width: 1024px) { .lista-cursos.tres-colunas { columns: 3; } }
.lista-cursos li, .lista-check li { break-inside: avoid; padding: .4rem 0 .4rem 1.75rem; position: relative; margin: 0; }
.lista-cursos li::before, .lista-check li::before { content: ""; position: absolute; left: 0; top: .72rem; width: 1.1rem; height: 1.1rem; background: var(--wp--preset--color--sucesso); -webkit-mask: var(--i-check) no-repeat center / contain; mask: var(--i-check) no-repeat center / contain; }
.lista-cursos a { color: var(--wp--preset--color--texto); text-decoration: none; }
.lista-cursos a:hover { color: var(--wp--preset--color--azul); text-decoration: underline; }
.lista-linha { display: flex; flex-wrap: wrap; gap: .25rem 1.75rem; }
.caixa-cursos { border: 1px solid var(--wp--preset--color--borda); border-radius: 20px; overflow: hidden; background: #fff; box-shadow: var(--ead-sombra-md); }
.caixa-cursos > * { margin: 0 !important; }
.caixa-cursos > .faixa-certificadora { padding: 1.25rem 1.75rem; }
.caixa-cursos > .faixa-certificadora > * { margin: 0 !important; }
.caixa-cursos > :last-child { padding: 1rem 1.75rem 1.25rem; }

/* Tabelas */
.wp-block-table table { border-collapse: collapse; width: 100%; }
.wp-block-table th { background: var(--wp--preset--color--fundo-alt); text-align: left; font-family: var(--wp--preset--font-family--titulo); color: var(--wp--preset--color--marinho); }
.wp-block-table th, .wp-block-table td { border: 1px solid var(--wp--preset--color--borda); padding: .7rem .9rem; }

/* Cartões do blog com capa ilustrada */
.wp-block-post-template .is-style-cartao { padding: 0; overflow: hidden; gap: .5rem; }
.wp-block-post-template .is-style-cartao::before { content: ""; display: block; aspect-ratio: 16 / 7; background: var(--wp--preset--color--marinho) var(--arco) no-repeat; background-size: 120% 70%; background-position: center bottom -30%; margin-bottom: .75rem; }
.wp-block-post-template .is-style-cartao > * { padding-left: 1.5rem !important; padding-right: 1.5rem !important; }
.wp-block-post-template .is-style-cartao > :last-child { padding-bottom: 1.5rem !important; }
.wp-block-post-terms a { text-decoration: none; }
.wp-block-latest-posts.is-grid { gap: 20px; }
.wp-block-latest-posts.is-grid li { position: relative; background: #fff; border: 1px solid var(--wp--preset--color--borda); border-radius: 20px; padding: 0 0 1.5rem; overflow: hidden; margin: 0 !important; transition: transform 250ms var(--ead-ease), box-shadow 250ms var(--ead-ease); }
.wp-block-latest-posts.is-grid li:hover { transform: translateY(-4px); box-shadow: var(--ead-sombra-lg); }
.wp-block-latest-posts.is-grid li::before { content: ""; display: block; aspect-ratio: 16 / 7; margin-bottom: 1.25rem; background: var(--wp--preset--color--marinho) var(--arco) no-repeat; background-size: 120% 70%; background-position: center bottom -30%; }
.wp-block-latest-posts.is-grid li > * { margin-left: 1.5rem !important; margin-right: 1.5rem !important; }
.wp-block-latest-posts__post-title { font-family: var(--wp--preset--font-family--titulo); font-weight: 700; color: var(--wp--preset--color--marinho); text-decoration: none; font-size: 1.1rem; line-height: 1.3; display: block; }
.wp-block-latest-posts__post-title::after { content: ""; position: absolute; inset: 0; }
.wp-block-latest-posts__post-date { color: var(--wp--preset--color--texto-2); font-size: .8rem; margin-top: .4rem; }
.wp-block-latest-posts__post-excerpt { color: var(--wp--preset--color--texto-2); font-size: .92rem; }
@media (max-width: 781px) { .wp-block-latest-posts.is-grid li { width: 100% !important; } }

/* Artigos */
.single-post .wp-block-post-content h2 { margin-top: 2.5rem; scroll-margin-top: 6rem; }
.cabeca-artigo .wp-block-post-terms a { color: var(--wp--preset--color--laranja); }
.cabeca-artigo .wp-block-post-date, .cabeca-artigo .autor { color: var(--wp--preset--color--texto-claro) !important; }

/* Rodapé */
.rodape-site { background: var(--ead-marinho-2) !important; }
.rodape-site a { color: #E7ECF4; text-decoration: none; }
.rodape-site a:hover { text-decoration: underline; }
.rodape-site .wp-block-list { list-style: none; padding-left: 0; }
.rodape-site .wp-block-list li { margin: .5rem 0; }

/* Botão flutuante do WhatsApp */
.whatsapp-flutuante { position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 60; width: 3.75rem; height: 3.75rem; border-radius: 9999px; display: flex; align-items: center; justify-content: center; background: var(--wp--preset--color--laranja); color: var(--wp--preset--color--marinho); box-shadow: var(--ead-sombra-lg); transition: transform 150ms ease-out; }
.whatsapp-flutuante:hover { transform: scale(1.06); }
.whatsapp-flutuante svg { width: 1.75rem; height: 1.75rem; }

/* ---------- Movimento (respeita prefers-reduced-motion) ---------- */
@media (prefers-reduced-motion: no-preference) {
	.revelar { animation: ead-revelar 500ms var(--ead-ease) both; animation-timeline: view(); animation-range: entry 0% cover 22%; }
	@keyframes ead-revelar { from { opacity: 0; transform: translate(-16px, 10px); } to { opacity: 1; transform: none; } }
}
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* Cartões claros dentro de seções escuras mantêm as cores de texto normais */
.escuro .is-style-cartao:not(.destaque):not(.cartao-escuro) :is(h2, h3) { color: var(--wp--preset--color--marinho); }
.escuro .is-style-cartao:not(.destaque):not(.cartao-escuro) p { color: var(--wp--preset--color--texto-2); }
.escuro .is-style-cartao:not(.destaque):not(.cartao-escuro) a:not(.wp-block-button__link) { color: var(--wp--preset--color--azul); }
.escuro .is-style-cartao:not(.destaque):not(.cartao-escuro) .lista-check li { color: var(--wp--preset--color--texto); }
.escuro .is-style-cartao:not(.destaque):not(.cartao-escuro) .lista-check li::before { background: var(--wp--preset--color--sucesso); }
.escuro .is-style-cartao { border-color: rgba(255, 255, 255, .12); }
.escuro .is-style-cartao.cartao-escuro { background-color: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .18); }
.escuro .is-style-cartao.cartao-escuro strong { color: #fff; }

/* Número de etapa em círculo laranja */
.etapa-numero { display: inline-flex !important; align-items: center; justify-content: center; width: 2.75rem; height: 2.75rem; border-radius: 9999px; background: var(--wp--preset--color--laranja); color: var(--wp--preset--color--marinho) !important; font: 800 1.125rem/1 var(--wp--preset--font-family--titulo) !important; }

/* Ajustes: menu claro no cabeçalho escuro e grade de posts recentes */
.cabecalho-site .wp-block-navigation .wp-block-navigation-item__content,
.cabecalho-site .wp-block-navigation a { color: #E7ECF4 !important; }
.cabecalho-site .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content { color: #fff !important; font-size: 1.1rem; }
.wp-block-latest-posts.is-grid { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; padding: 0; }
.wp-block-latest-posts.is-grid li { width: auto !important; }
@media (max-width: 900px) { .wp-block-latest-posts.is-grid { grid-template-columns: 1fr; } }

.comparativo { align-self: center; }

/* Texto secundário legível nas faixas escuras */
.escuro p.has-texto-2-color { color: var(--wp--preset--color--texto-claro) !important; }
.escuro .is-style-cartao:not(.destaque):not(.cartao-escuro) p.has-texto-2-color { color: var(--wp--preset--color--texto-2) !important; }

/* Sem faixa branca entre cabeçalho, conteúdo e rodapé */
.wp-site-blocks > main, .wp-site-blocks > footer, .wp-site-blocks > .wp-block-template-part + * { margin-block-start: 0 !important; }
