/* Descubra seu Curso — landing page (segue o modelo "Teste Vocacional Gratuito" do Canva). */

.dsc {
	--dsc-font-head: 'Montserrat', system-ui, sans-serif;
	--dsc-font-body: 'Open Sans', system-ui, sans-serif;
	--dsc-check: #4a7ab5;
	font-family: var(--dsc-font-body);
	color: var(--dsc-text);
	background: #fff;
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
}
.dsc *, .dsc *::before, .dsc *::after { box-sizing: border-box; }
.dsc h1, .dsc h2, .dsc h3, .dsc p, .dsc ul, .dsc ol { margin: 0; padding: 0; }
.dsc img { max-width: 100%; height: auto; display: block; }

/* Página limpa: sem margens do navegador. Dentro do tema: estica a landing na largura toda. */
body.dsc-layout-clean { margin: 0; background: #fff; }
body.dsc-landing { overflow-x: clip; }
body.dsc-layout-theme .dsc { width: 100vw; max-width: 100vw; margin-left: calc(50% - 50vw); }

.dsc-wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: clamp(40px, 5vw, 64px) 24px; }
.dsc h2 { font-family: var(--dsc-font-head); font-weight: 600; color: var(--dsc-title, var(--dsc-primary)); font-size: calc(clamp(1.45rem, 2.4vw, 2.15rem) * var(--dsc-head-scale, 1)); line-height: 1.2; margin-bottom: 28px; }
.dsc-center { text-align: center; margin-top: 32px; }

/* ---------- Botões ---------- */
.dsc a.dsc-btn {
	display: inline-flex; align-items: center; justify-content: center; text-align: center;
	min-height: 54px; max-width: 280px; padding: 13px 34px; border-radius: 6px;
	font-family: var(--dsc-font-head); font-weight: 700; font-size: .95rem; line-height: 1.25;
	letter-spacing: .07em; text-transform: uppercase; text-decoration: none; color: var(--dsc-btn-text, #fff) !important;
	transition: transform .15s ease, filter .15s ease, box-shadow .15s ease;
}
.dsc a.dsc-btn:hover { transform: translateY(-2px); filter: brightness(1.08); box-shadow: 0 8px 20px rgba(0, 0, 0, .15); }
.dsc a.dsc-btn:focus-visible { outline: 3px solid var(--dsc-accent); outline-offset: 3px; }
.dsc-btn-dark { background: var(--dsc-primary); }
.dsc-btn-light { background: var(--dsc-accent); }

/* ---------- Cabeçalho fixo ---------- */
.dsc-header {
	position: sticky; top: var(--wp-admin--admin-bar--height, 0px); z-index: 60;
	background: var(--dsc-header-bg, rgba(255, 255, 255, .96)); backdrop-filter: saturate(1.4) blur(8px); -webkit-backdrop-filter: saturate(1.4) blur(8px);
	border-bottom: 1px solid #e3e9f1; box-shadow: 0 2px 12px rgba(11, 61, 111, .06);
}
.dsc-header-in { max-width: 1280px; margin: 0 auto; padding: 12px 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.dsc-header-brand { display: flex; align-items: center; gap: 12px; min-width: 0; font-family: var(--dsc-font-head); font-weight: 700; font-size: calc(1.02rem * var(--dsc-head-scale, 1)); line-height: 1.2; color: var(--dsc-header-text, var(--dsc-primary)); }
.dsc-header-brand img { height: var(--dsc-hlogo, 40px); width: auto; max-width: min(100%, 460px); object-fit: contain; flex-shrink: 0; } /* altura escolhida no painel */
/* Nome/logo no centro: botão continua à direita. */
.dsc-header-center .dsc-header-in { display: grid; grid-template-columns: 1fr auto 1fr; }
.dsc-header-center .dsc-header-brand { grid-column: 2; justify-content: center; text-align: center; }
.dsc-header-center .dsc-header-in > .dsc-btn { grid-column: 3; justify-self: end; }
.dsc a.dsc-btn-sm { min-height: 42px; padding: 9px 20px; font-size: .78rem; letter-spacing: .06em; flex-shrink: 0; }

/* ---------- Topo (foto + painel) em moldura ---------- */
.dsc-hero {
	display: grid; grid-template-columns: 1fr 1fr;
	width: calc(100% - 48px); max-width: 1280px; margin: 24px auto 0;
	min-height: clamp(460px, 44vw, 600px);
	border-radius: 18px; overflow: hidden; box-shadow: 0 14px 40px rgba(11, 61, 111, .12);
}
.dsc-hero-photo { position: relative; overflow: hidden; background: linear-gradient(140deg, var(--dsc-primary), #061f3d); min-height: 320px; }
/* Presa pelo canto de cima à esquerda: o selo e os rostos nunca são cortados; se sobrar, corta embaixo/à direita. */
.dsc-hero-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: left top; }
.dsc-badge {
	position: absolute; z-index: 2; top: clamp(16px, 2.5vw, 36px); left: clamp(16px, 2.5vw, 36px);
	background: var(--dsc-accent); color: #fff; font-family: var(--dsc-font-head); font-weight: 600;
	font-size: clamp(.8rem, 1.35vw, 1.3rem); line-height: 1.25; letter-spacing: .08em; text-transform: uppercase;
	text-align: center; padding: .7em .75em; max-width: 7em;
}
.dsc-hero-panel { background: var(--dsc-panel); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: clamp(18px, 2.4vw, 30px); padding: clamp(28px, 3.5vw, 52px) clamp(24px, 4vw, 60px); }
.dsc-logo img { height: var(--dsc-logo, 70px); width: auto; max-width: 100%; object-fit: contain; }
.dsc-logo-text { font-family: var(--dsc-font-head); font-weight: 700; font-size: 1.35rem; color: var(--dsc-primary); }
.dsc-hero-intro { font-family: var(--dsc-font-head); font-size: calc(clamp(.95rem, 1.15vw, 1.08rem) * var(--dsc-body-scale, 1)); line-height: 1.5; color: #1b1b1b; max-width: 34em; }
.dsc h1 { font-family: var(--dsc-font-head); font-weight: 400; color: var(--dsc-h1, #000); font-size: calc(clamp(1.85rem, 3.1vw, 2.85rem) * var(--dsc-head-scale, 1)); line-height: 1.04; letter-spacing: -.01em; max-width: 15em; }
.dsc h1 strong { font-weight: 800; }

/* ---------- Você ainda tem dúvidas ---------- */
.dsc-problem p { font-size: calc(1.05rem * var(--dsc-body-scale, 1)); max-width: 50em; margin-bottom: 20px; }
.dsc-problem .dsc-quote strong { font-weight: 700; color: #111; }
.dsc-checks { list-style: none; margin-top: 8px !important; }
.dsc-checks li { position: relative; padding-left: 1.7em; margin: 4px 0; font-size: calc(1.02rem * var(--dsc-body-scale, 1)); }
.dsc-checks li::before { content: '✔'; position: absolute; left: 0; top: 0; color: var(--dsc-check); font-weight: 700; }

/* ---------- Faixa cinza ---------- */
.dsc-band { background: var(--dsc-band); color: #fff; padding-top: clamp(40px, 5vw, 60px); }
.dsc .dsc-band h2 { color: #fff; text-align: center; text-transform: uppercase; font-weight: 500; font-size: calc(clamp(1.5rem, 3vw, 2.75rem) * var(--dsc-head-scale, 1)); letter-spacing: .01em; padding: 0 24px; margin-bottom: clamp(24px, 3vw, 36px); }
.dsc-band-row { display: grid; grid-template-columns: .85fr 1fr; gap: 16px 48px; align-items: center; border-top: 1px solid rgba(255, 255, 255, .5); padding: 26px max(24px, calc(50% - 600px)); }
.dsc .dsc-band-row h3 { font-family: var(--dsc-font-head); font-weight: 500; font-size: calc(clamp(1.1rem, 1.6vw, 1.45rem) * var(--dsc-head-scale, 1)); line-height: 1.3; color: #fff; }
.dsc-band-row p { font-family: var(--dsc-font-head); font-size: calc(.95rem * var(--dsc-body-scale, 1)); line-height: 1.5; color: rgba(255, 255, 255, .92); }

/* ---------- Público ---------- */
.dsc-audience .dsc-wrap { padding-bottom: 12px; }
.dsc-audience p { margin-bottom: 18px; }
.dsc-audience ul { padding-left: 1.4em; }
.dsc-audience li { margin: 4px 0; }

/* ---------- Como funciona ---------- */
.dsc-c1 { --c: var(--dsc-step1); }
.dsc-c2 { --c: var(--dsc-step2); }
.dsc-c3 { --c: var(--dsc-step3); }
.dsc-c4 { --c: var(--dsc-step4); }
.dsc-steps-track { display: flex; justify-content: center; flex-wrap: wrap; gap: 22px; margin: 16px 0 44px; padding: 20px 0; }
.dsc-step-dot { position: relative; display: grid; place-items: center; width: 92px; height: 92px; border-radius: 50%; background: var(--c); color: #fff; font-family: var(--dsc-font-head); font-weight: 600; font-size: 2.1rem; }
.dsc-step-dot::before { content: ''; position: absolute; inset: -14px; border-radius: 50%; border: 3px solid var(--c); border-color: transparent transparent var(--c) var(--c); transform: rotate(-45deg); }
.dsc-step-dot:nth-child(even)::before { border-color: var(--c) var(--c) transparent transparent; }
.dsc-step-dot::after { content: ''; position: absolute; left: -19px; top: calc(50% - 6px); width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--c); background: #fff; }

.dsc-step-list { list-style: none; display: grid; gap: 22px; max-width: 900px; }
.dsc-step-list li { position: relative; display: grid; grid-template-columns: 42px 1fr; gap: 18px; align-items: start; }
.dsc-step-list li:not(:last-child)::after { content: ''; position: absolute; left: 20px; top: 46px; bottom: -22px; border-left: 2px dotted var(--c); }
.dsc-step-num { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--c); color: #fff; font-weight: 700; font-family: var(--dsc-font-head); }
.dsc-step-list strong { display: block; font-size: calc(1.15rem * var(--dsc-body-scale, 1)); color: #111; }
.dsc-step-list span { font-size: calc(1.1rem * var(--dsc-body-scale, 1)); }
.dsc-audience p, .dsc-audience li { font-size: calc(1rem * var(--dsc-body-scale, 1)); }
/* Formatação feita na barra do painel (negrito, cor, link) */
.dsc :where(a:not(.dsc-btn):not(.dsc-whatsapp)) { color: inherit; text-decoration: underline; } /* :where = não vence o link do rodapé/aviso */

/* ---------- Rodapé ---------- */
.dsc-footer { border-top: 1px solid #e6e6e6; padding: 28px 24px 36px; text-align: center; font-size: calc(.85rem * var(--dsc-body-scale, 1)); color: #5a5a5a; display: grid; gap: 8px; }
.dsc-footer a { color: var(--dsc-primary); }

/* ---------- WhatsApp ---------- */
.dsc a.dsc-whatsapp { position: fixed; right: 18px; bottom: 18px; z-index: 9990; display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: #25d366; color: #fff; box-shadow: 0 8px 24px rgba(0, 0, 0, .22); transition: transform .15s ease; }
.dsc a.dsc-whatsapp:hover { transform: scale(1.07); }

/* ---------- Aviso de cookies ---------- */
.dsc-consent[hidden] { display: none !important; }
.dsc-consent { position: fixed; z-index: 9999; left: 16px; right: 16px; bottom: 16px; margin: 0 auto; max-width: 680px; background: #fff; color: #222; border-radius: 12px; box-shadow: 0 12px 40px rgba(0, 0, 0, .25); padding: 18px 20px; display: flex; gap: 16px; align-items: center; font-size: .9rem; }
.dsc-consent p { flex: 1; }
.dsc-consent a { color: var(--dsc-primary); }
.dsc-consent div { display: flex; gap: 8px; flex-shrink: 0; }
.dsc-consent button { font: 700 .85rem var(--dsc-font-head); border-radius: 6px; padding: 10px 16px; cursor: pointer; border: 2px solid var(--dsc-primary); }
.dsc-consent-reject { background: #fff; color: var(--dsc-primary); }
.dsc-consent-accept { background: var(--dsc-primary); color: #fff; }

/* ---------- "Ver esta parte na página" (link do painel com #dsc-sec-...) ---------- */
[id^="dsc-sec-"] { scroll-margin-top: 96px; }
.dsc [id^="dsc-sec-"]:target { animation: dsc-flash 2.4s ease-out 1; }
@keyframes dsc-flash { 0%, 55% { box-shadow: 0 0 0 4px #f0b429, 0 0 0 9999px rgba(0, 0, 0, .06) inset; } 100% { box-shadow: none; } }

/* ---------- Celular e tablet ---------- */
@media (max-width: 860px) {
	.dsc-hero { grid-template-columns: 1fr; min-height: 0; width: calc(100% - 32px); margin-top: 16px; border-radius: 16px; }
	.dsc-hero-photo { aspect-ratio: 10 / 9; min-height: 0; } /* quase a proporção da foto: aparece praticamente inteira */
	.dsc-band-row { grid-template-columns: 1fr; gap: 8px; padding: 22px 24px; }
}
@media (max-width: 600px) {
	.dsc-header { top: 0; } /* no celular a barra do WordPress (logado) não fica fixa */
}
@media (max-width: 560px) {
	.dsc-header-in { padding: 10px 14px; gap: 10px; }
	.dsc-header-brand { font-size: .82rem; }
	.dsc-header-brand img { height: var(--dsc-hlogo-m, 32px); max-width: 58vw; }
	.dsc-logo img { height: var(--dsc-logo-m, 70px); }
	.dsc-header-center .dsc-header-in { grid-template-columns: 0 auto 1fr; }
	.dsc a.dsc-btn-sm { min-height: 38px; padding: 8px 12px; font-size: .68rem; letter-spacing: .04em; }
	.dsc-hero { width: calc(100% - 24px); margin-top: 12px; border-radius: 14px; }
	.dsc-hero-panel { align-items: stretch; }
	.dsc a.dsc-btn:not(.dsc-btn-sm) { width: 100%; max-width: none; }
	.dsc-steps-track { gap: 14px; margin-bottom: 32px; }
	.dsc-step-dot { width: 58px; height: 58px; font-size: 1.4rem; }
	.dsc-step-dot::before { inset: -9px; border-width: 2px; }
	.dsc-step-dot::after { left: -13px; top: calc(50% - 5px); width: 10px; height: 10px; }
	.dsc-consent { flex-direction: column; align-items: stretch; }
	.dsc-consent div > * { flex: 1; }
	.dsc a.dsc-whatsapp { width: 54px; height: 54px; }
}
@media (prefers-reduced-motion: reduce) {
	.dsc a.dsc-btn, .dsc a.dsc-whatsapp { transition: none; }
	.dsc a.dsc-btn:hover, .dsc a.dsc-whatsapp:hover { transform: none; }
}
