/* LP de captação da Colors v2. CSS próprio, sem framework, sem build.
   Decisões do Plano Mestre: 4 blocos de cor (amarelo, cyan, preto, magenta), resto branco.
   Só transform e opacity em animação. Cortina de seções em CSS puro. */

@font-face { font-family: "Ubuntu"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../fonts/ubuntu-400-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Ubuntu"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("../fonts/ubuntu-700-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --branco: #fff; --preto: #000;
  --magenta: #C7107C; --cyan: #00ACEC; --amarelo: #FFF12D;
  --marinho: #33348E; --laranja: #D0593D; --roxo: #612F8D; --verde: #33A457;
  --chumbo: #4F4D4C; --cinza: #F4F2EF; --linha: #D9D5D0;
  --cta: linear-gradient(90deg, #CC177C, #D2553D);
  --fonte: "Ubuntu", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --raio: 28px; --dim-max: .6; --topo: 72px;
  --t-hero: clamp(2.25rem, 1.2rem + 4.4vw, 5rem);
  --t-h2: clamp(1.875rem, 1rem + 3.2vw, 3.5rem);
  --gutter: clamp(20px, 4vw, 48px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--topo) + 8px); scroll-padding-bottom: 96px; }
body { margin: 0; font-family: var(--fonte); font-size: 1.0625rem; line-height: 1.6; color: var(--chumbo); background: var(--branco); overflow-x: clip; }
main { display: block; overflow-x: clip; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
h1, h2, h3 { font-weight: 700; color: var(--preto); line-height: 1.08; letter-spacing: -.01em; }
h2 { font-size: var(--t-h2); }
h3 { font-size: 1.25rem; line-height: 1.2; }

.so-leitor { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.pular { position: absolute; left: 12px; top: -80px; z-index: 300; background: var(--preto); color: #fff; padding: 12px 18px; border-radius: 999px; font-weight: 700; text-decoration: none; }
.pular:focus { top: 12px; }
.wrap { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: var(--gutter); }

/* Foco visível em todos os fundos (WCAG 2.2) */
:focus-visible { outline: 3px solid #000; outline-offset: 2px; box-shadow: 0 0 0 2px #fff; }
.escuro :focus-visible { outline-color: #fff; box-shadow: 0 0 0 2px #000; }

/* Botão: texto com 19 px em 700 conta como texto grande (WCAG, 3:1) */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; font: 700 1.1875rem/1.2 var(--fonte); color: #fff; text-decoration: none; background: var(--cta); border: 0; border-radius: 999px; padding: 18px 34px; cursor: pointer; text-align: center; isolation: isolate; transition: transform .08s ease-out; }
.btn::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: #000; opacity: 0; transition: opacity .15s ease-out; z-index: -1; }
.btn:hover::after { opacity: .08; }
.btn:active { transform: scale(.98); }
.btn--sm { font-size: .9375rem; padding: 11px 18px; white-space: nowrap; background: linear-gradient(90deg, #CC177C, #C4472F); }
@media (min-width: 768px) { .btn--sm { font-size: 1rem; padding: 12px 22px; } }
.btn[disabled] { opacity: .65; cursor: progress; }

/* Marca-texto: bloco de cor atrás da palavra */
.marca { --marca: var(--amarelo); --marca-texto: var(--preto); color: var(--marca-texto); padding: 0 .1em;
  background: linear-gradient(var(--marca), var(--marca)) 0 90% / 100% 58% no-repeat; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.marca--magenta { --marca: var(--magenta); --marca-texto: #fff; background-position: 0 50%; background-size: 100% 96%; }
@media (min-width: 900px) {
  .marca--anim { background: none; position: relative; z-index: 0; display: inline-block; white-space: nowrap; }
  .marca--magenta.marca--anim::before { top: .04em; bottom: .02em; height: auto; }
  .marca--anim::before { content: ""; position: absolute; left: 0; right: 0; bottom: .06em; height: .56em; background: var(--marca); z-index: -1; transform-origin: left; transform: scaleX(0); animation: marca .45s .15s ease-out forwards; }
}
@keyframes marca { to { transform: scaleX(1); } }

/* Cabeçalho */
.topo { position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--topo); background: #fff; display: flex; align-items: center; border-bottom: 1px solid var(--linha); }
.topo .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.logo img { width: 150px; height: auto; }

/* Seções: borda arredondada e sombra valem em qualquer tela */
.sec { position: relative; padding-block: clamp(56px, 8vw, 104px); }
.sec-hero { padding-top: calc(var(--topo) + clamp(32px, 5vw, 72px)); padding-bottom: clamp(40px, 6vw, 72px); min-height: 100svh; background: #fff; display: flex; align-items: center; }
.sec-identificacao, .sec-prova, .sec-como, .sec-diagnostico, .sec-pacotes, .sec-regras, .sec-faq, .sec-fecho {
  margin-top: calc(var(--raio) * -1); border-radius: var(--raio) var(--raio) 0 0; box-shadow: 0 -28px 50px -14px rgba(0, 0, 0, .35); padding-top: calc(clamp(56px, 8vw, 104px) + var(--raio)); }

/* Hero */
.hero-grade { display: grid; gap: 40px; align-items: center; width: 100%; }
.hero-texto h1 { font-size: var(--t-hero); }
.sub { font-size: clamp(1.0625rem, 1rem + .5vw, 1.3125rem); margin-top: 20px; max-width: 34em; color: var(--chumbo); }
.escopo { margin-top: 12px; font-size: .9375rem; color: var(--chumbo); }
.nota-google { margin-top: 16px; font-size: .9375rem; font-weight: 700; color: var(--preto); }
.nota-google a { text-decoration-thickness: 2px; text-underline-offset: 3px; }
.hero-acoes { margin-top: 20px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.link-wpp { font-weight: 700; color: var(--magenta); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.micro { margin-top: 14px; font-size: .875rem; max-width: 36em; }
.hero-visual { position: relative; min-height: 320px; min-width: 0; }
.hero-visual[hidden] { display: none; }
.maggie { position: absolute; left: 0; bottom: 0; width: min(100%, 460px); height: auto; }
.tres { position: absolute; right: 0; top: 0; display: flex; gap: 10px; }
.tres li { width: 56px; height: 56px; display: grid; place-items: center; font-weight: 700; font-size: 1.75rem; color: #000; }
.tres .b1 { background: var(--cyan); border-radius: 0 100% 0 0; }
.tres .b2 { background: var(--amarelo); }
.tres .b3 { background: var(--magenta); color: #fff; border-radius: 100% 0 0 0; }
.legenda-tres { position: absolute; right: 0; top: 66px; font-size: .875rem; font-weight: 700; color: var(--preto); text-align: right; max-width: 11em; }

/* Hero B: faixa de capturas (uma fila) */
.faixa-prints { position: relative; transform: rotate(-1.5deg); overflow: clip; padding-block: 8px; }
.faixa-prints ul { display: flex; gap: 16px; width: max-content; animation: faixa 45s linear infinite; }
.faixa-prints:hover ul, .faixa-prints:focus-within ul { animation-play-state: paused; }
.faixa-prints li { width: 240px; flex: none; border-radius: 12px; overflow: clip; border: 1px solid var(--linha); background: #fff; }
.faixa-mini { margin-top: 16px; width: 150px; }
@keyframes faixa { to { transform: translateX(-50%); } }

/* Hero C: regras grandes */
.regras-hero { display: grid; gap: 14px; }
.regras-hero li { padding-left: 18px; border-left: 8px solid var(--amarelo); font-size: 1.25rem; font-weight: 700; color: var(--preto); line-height: 1.25; }
.regras-hero li span { display: block; font-weight: 400; font-size: 1rem; color: var(--chumbo); }
.maggie-c { width: 220px; margin-top: 16px; margin-left: auto; }

/* Faixa de regras (amarelo) */
.sec-faixa { background: var(--amarelo); color: var(--preto); transform: rotate(-1.5deg); margin-inline: -3vw; padding: 36px 0 calc(36px + var(--raio)); z-index: 2; }
.faixa-grade { display: grid; gap: 18px; padding-inline: calc(var(--gutter) + 3vw); max-width: 1260px; margin-inline: auto; }
.faixa-grade strong { display: block; font-size: 1.25rem; line-height: 1.2; }
.faixa-grade span { font-size: 1rem; }

/* Identificação */
.sec-identificacao { background: #fff; min-height: 80svh; display: flex; align-items: center; }
.ident-grade { display: grid; gap: 32px; width: 100%; }
.sinais { margin-top: 28px; display: grid; gap: 18px; }
.sinais li { position: relative; padding-left: 52px; font-size: 1.125rem; max-width: 34em; }
.sinais li::before { content: ""; position: absolute; left: 0; top: .15em; width: 32px; height: 32px; background: var(--marinho); }
.sinais li:nth-child(2)::before { background: var(--magenta); border-radius: 100% 0 0 0; }
.sinais li:nth-child(3)::before { background: var(--cyan); border-radius: 0 0 100% 0; }
.fecho { margin-top: 28px; font-size: 1.1875rem; font-weight: 700; color: var(--preto); max-width: 28em; }
.fecho a { color: var(--magenta); text-underline-offset: 3px; text-decoration-thickness: 2px; }
.ident-img { justify-self: end; width: min(60%, 300px); }

/* Prova */
.sec-prova { background: var(--cinza); }
.prova-topo { display: grid; gap: 12px; }
.nota-prova { font-weight: 700; color: var(--preto); font-size: 1.125rem; }
.nota-prova a { color: var(--magenta); text-underline-offset: 3px; text-decoration-thickness: 2px; }
.citacoes { margin-top: 32px; display: grid; gap: 20px; }
.citacao { background: #fff; padding: 26px 26px 22px; border-left: 8px solid var(--magenta); }
.citacao--g:nth-child(2) { border-left-color: var(--cyan); }
.citacao--l { border-left-color: var(--marinho); background: transparent; border-left-width: 4px; padding-block: 8px; }
.citacao p { font-size: 1.125rem; color: var(--preto); }
.citacao--g p { font-size: 1.3125rem; line-height: 1.4; }
.citacao footer { margin-top: 12px; font-size: .9375rem; }
.portfolio { margin-top: 64px; }
.portfolio h3 { font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.25rem); max-width: 30em; }
.grade-prints { margin-top: 32px; display: grid; gap: 40px 28px; }
.print { position: relative; isolation: isolate; }
.print::before { content: ""; position: absolute; z-index: -1; width: 30%; aspect-ratio: 1; left: -14px; top: 30%; background: var(--forma, var(--marinho)); border-radius: var(--raio-forma, 0); transition: transform .2s ease-out; }
.print:nth-child(1) { --forma: var(--marinho); --raio-forma: 28px 0 0 0; }
.print:nth-child(2) { --forma: var(--amarelo); --raio-forma: 100% 0 0 0; }
.print:nth-child(3) { --forma: var(--laranja); }
.print:nth-child(4) { --forma: var(--roxo); --raio-forma: 0 100% 0 0; }
.print:nth-child(5) { --forma: var(--verde); --raio-forma: 0 0 0 100%; }
.print:nth-child(6) { --forma: var(--cyan); --raio-forma: 28px; }
.print a { display: block; border-radius: 10px; overflow: clip; border: 1px solid var(--linha); background: #fff; transition: transform .2s ease-out; }
.print figcaption { margin-top: 10px; font-size: .9375rem; }
.print figcaption strong { color: var(--preto); }
.print figcaption a { display: inline; border: 0; border-radius: 0; background: none; overflow: visible; color: var(--magenta); font-weight: 700; text-underline-offset: 3px; }
.escopo-prova { margin-top: 36px; font-size: 1.0625rem; max-width: 36em; color: var(--preto); }
.mais-trabalhos { display: inline-block; margin-top: 14px; font-weight: 700; color: var(--magenta); text-underline-offset: 3px; text-decoration-thickness: 2px; }
@media (hover: hover) {
  .print:hover a { transform: translateY(-4px); }
  .print:hover::before { transform: translate(-8px, 8px); }
}

/* Como funciona (cyan) */
.sec-como { background: var(--cyan); color: var(--preto); min-height: 100svh; display: flex; align-items: center; padding-top: calc(var(--topo) + var(--raio) + 24px); }
.sec-como h2 { color: var(--preto); }
.passos { margin-top: 36px; display: grid; gap: 22px 32px; counter-reset: passo; }
.passos li { counter-increment: passo; position: relative; padding-top: 52px; }
.passos li::before { content: counter(passo); position: absolute; top: 0; left: 0; font-weight: 700; font-size: 2.5rem; line-height: 1; color: var(--preto); }
.passos strong { display: block; font-size: 1.125rem; line-height: 1.25; color: var(--preto); }
.passos span { display: block; margin-top: 4px; font-size: 1rem; }

/* Diagnóstico */
.sec-diagnostico { background: #fff; min-height: 55svh; display: flex; align-items: center; padding-top: calc(var(--topo) + var(--raio) + 24px); }
.diag-grade { display: grid; gap: 24px; width: 100%; }
.diag-grade p { font-size: 1.25rem; max-width: 30em; color: var(--preto); }
.mosaico-diag { display: flex; gap: 10px; }
.mosaico-diag span { width: 64px; height: 64px; background: var(--marinho); }
.mosaico-diag span:nth-child(2) { background: var(--amarelo); border-radius: 100% 0 0 0; }
.mosaico-diag span:nth-child(3) { background: var(--magenta); border-radius: 0 100% 0 0; }

/* Pacotes */
.sec-pacotes { background: #fff; }
.pacotes-sub { margin-top: 16px; max-width: 40em; }
.pacotes { margin-top: 40px; display: grid; gap: 28px; align-items: start; }
.pacote { position: relative; border: 2px solid var(--preto); padding: 28px 24px 24px; background: #fff; }
.pacote h3 { font-size: 1.375rem; }
.preco { margin-top: 12px; font-size: 1.75rem; font-weight: 700; color: var(--preto); line-height: 1.1; }
.preco small { display: block; font-size: .9375rem; font-weight: 400; color: var(--chumbo); }
.pacote ul { margin-top: 18px; display: grid; gap: 10px; }
.pacote li { display: flex; justify-content: space-between; gap: 14px; padding-bottom: 10px; border-bottom: 1px solid var(--linha); font-size: .9375rem; }
.pacote li b { color: var(--preto); text-align: right; flex: none; }
.pacote--1 { border-radius: var(--raio) 0 0 0; }
.pacote--2 { border-radius: 0 var(--raio) 0 0; }
.pacote--3 { background: var(--preto); color: #fff; border-color: var(--preto); }
.pacote--3 h3, .pacote--3 .preco, .pacote--3 li b { color: #fff; }
.pacote--3 .preco small, .pacote--3 li { color: #fff; border-bottom-color: #555; }
.etiqueta { position: absolute; top: -16px; left: 18px; background: var(--magenta); color: #fff; font-weight: 700; font-size: .9375rem; padding: 6px 16px; border-radius: 6px 0 0 0; }
.pacotes-notas { margin-top: 28px; display: grid; gap: 8px; font-size: .9375rem; max-width: 46em; }
.pacotes-cta { margin-top: 28px; }

/* Regras (preto) */
.sec-regras { background: var(--preto); color: #fff; min-height: 90svh; display: flex; align-items: center; }
.sec-regras h2 { color: #fff; }
.lista-regras { margin-top: 40px; display: grid; gap: 28px 48px; counter-reset: regra; }
.lista-regras li { counter-increment: regra; position: relative; padding-left: 64px; font-size: 1.0625rem; max-width: 32em; }
.lista-regras li::before { content: counter(regra); position: absolute; left: 0; top: -6px; font-weight: 700; font-size: 2.75rem; line-height: 1; color: var(--amarelo); }
.lista-regras strong { color: #fff; display: block; font-size: 1.1875rem; }

/* FAQ */
.sec-faq { background: #fff; }
.faq { margin-top: 32px; max-width: 52em; border-top: 2px solid var(--preto); }
.faq details { border-bottom: 1px solid var(--linha); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 56px 20px 0; position: relative; font-weight: 700; font-size: 1.125rem; color: var(--preto); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 8px; top: 50%; margin-top: -.6em; font-size: 1.75rem; line-height: 1; color: var(--magenta); transition: transform .15s ease-out; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > p { padding: 0 0 22px; max-width: 42em; }

/* Fechamento (magenta) com cartão branco */
.sec-fecho { background: var(--magenta); color: #fff; min-height: 100svh; display: flex; align-items: center; scroll-margin-top: 0; }
.sec-fecho h2 { color: #fff; }
.fecho-sub { margin-top: 12px; font-size: 1.1875rem; }
.fecho-grade { display: grid; gap: 32px; width: 100%; }
.maggie-fecho { width: min(55%, 260px); }
.cartao { background: #fff; color: var(--chumbo); padding: clamp(22px, 4vw, 40px); border-radius: var(--raio) 0 var(--raio) 0; }
.passo-form[hidden] { display: none; }
.passo-form { border: 0; margin: 0; padding: 0; min-width: 0; }
.passo-form.sai { animation: sai .16s ease-in forwards; }
.passo-form.entra { animation: entra .2s ease-out; }
@keyframes sai { to { opacity: 0; transform: translateX(-8px); } }
@keyframes entra { from { opacity: 0; transform: translateX(8px); } }
.campo { margin-bottom: 18px; }
.campo label, .campo legend { display: block; font-weight: 700; color: var(--preto); margin-bottom: 6px; font-size: 1rem; padding: 0; }
.campo .dica { font-weight: 400; font-size: .875rem; color: var(--chumbo); }
.campo input[type=text], .campo input[type=tel], .campo input[type=email], .campo input[type=url] { width: 100%; font: 400 1.0625rem var(--fonte); padding: 14px; border: 2px solid #8a8683; border-radius: 10px; background: #fff; color: var(--preto); }
.campo input:focus { border-color: #000; }
.campo input[disabled] { background: #eee; }
.campo .erro { margin-top: 6px; font-size: .9375rem; font-weight: 700; color: #A30000; min-height: 0; }
.campo.tem-erro input { border-color: #A30000; }
.opcoes { display: grid; gap: 10px; }
.opcao { display: flex; align-items: center; gap: 12px; font-weight: 400 !important; cursor: pointer; }
.opcao input { width: 22px; height: 22px; accent-color: var(--magenta); flex: none; }
.consent .opcao { align-items: flex-start; font-size: .9375rem; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-acoes { margin-top: 8px; display: flex; flex-wrap: wrap; gap: 14px 20px; align-items: center; }
.btn-form { width: 100%; }
.nota-form { margin-top: 14px; font-size: .875rem; }
.form-falha { margin-top: 16px; padding: 14px 16px; border: 2px solid #A30000; border-radius: 10px; color: #6b0000; font-weight: 700; }
.form-falha a { color: #6b0000; }

/* Rodapé */
.rodape { background: var(--preto); color: #fff; padding-block: 44px; margin-top: calc(var(--raio) * -1); }
.rodape .wrap { display: grid; gap: 16px; padding-top: var(--raio); }
.rodape img { width: 150px; }
.rodape p { font-size: .9375rem; }
.rodape a { text-underline-offset: 3px; display: inline-block; padding-block: 12px; }
.rodape .link-cookies { font: inherit; color: inherit; background: none; border: 0; padding: 12px 0 12px 20px; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.rodape .link-cookies[hidden] { display: none; }

/* WhatsApp fixo e aviso de cookies */
.wpp { position: fixed; right: 16px; bottom: 16px; z-index: 120; background: var(--verde); color: #000; font-weight: 700; text-decoration: none; padding: 14px 20px; border-radius: 999px; box-shadow: 0 6px 20px rgba(0, 0, 0, .25); }
.cookies { position: fixed; left: 0; right: 0; bottom: 0; z-index: 130; background: #000; color: #fff; padding: 16px var(--gutter); box-shadow: 0 -8px 28px rgba(0, 0, 0, .35); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 28px; }
.cookies p { flex: 1 1 420px; max-width: 62em; }
.cookies:not([hidden]) ~ .wpp { bottom: 120px; }
.cookies[hidden] { display: none; }
.cookies p { font-size: .9375rem; line-height: 1.5; }
.cookies a { color: #fff; text-underline-offset: 3px; }
.cookies .botoes { display: flex; gap: 12px; flex: 0 1 300px; }
.cookies button { flex: 1; font: 700 1rem var(--fonte); padding: 12px 16px; border-radius: 999px; border: 2px solid #fff; background: #fff; color: #000; cursor: pointer; }
.cookies :focus-visible { outline-color: #fff; box-shadow: 0 0 0 2px #000; }

/* Páginas simples (obrigado e 404) */
.pagina-simples { min-height: 100svh; display: grid; place-items: center; padding: calc(var(--topo) + 24px) var(--gutter) 48px; text-align: left; }
.pagina-simples .conteudo { max-width: 40em; }
.pagina-simples h1 { font-size: var(--t-h2); }
.pagina-simples p { margin-top: 18px; font-size: 1.1875rem; }
.pagina-simples .btn { margin-top: 28px; }

/* Hero compacto em tela baixa e título limitado pela altura, para caber em 100vh quando empilha */
@media (min-width: 1024px) {
  .hero-texto h1 { font-size: min(var(--t-hero), 7.4vh); }
  body[data-h="2"] .hero-texto h1, body[data-h="3"] .hero-texto h1 { font-size: min(var(--t-hero), 5.6vh); }
}
@media (max-height: 900px) {
  .sec-hero { padding-top: calc(var(--topo) + 20px); padding-bottom: 28px; }
  .sub { margin-top: 14px; }
  .escopo { margin-top: 8px; }
  .nota-google { margin-top: 10px; }
  .hero-acoes { margin-top: 14px; }
  .micro { margin-top: 10px; }
}

/* Telas largas */
@media (min-width: 768px) {
  .faixa-grade { grid-template-columns: repeat(3, 1fr); gap: 36px; }
  .citacoes { grid-template-columns: 1.3fr 1.3fr; }
  .citacao--g { grid-column: span 1; }
  .grade-prints { grid-template-columns: repeat(2, 1fr); }
  .passos { grid-template-columns: repeat(3, 1fr); }
  .pacotes { grid-template-columns: repeat(3, 1fr); }
  .pacote--3 { margin-top: 24px; }
  .lista-regras { grid-template-columns: repeat(2, 1fr); }
  .ident-grade { grid-template-columns: 1.4fr .6fr; align-items: end; }
}
@media (min-width: 1024px) {
  .hero-grade { grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); }
  .hero-visual { min-height: 520px; }
  .fecho-grade { grid-template-columns: .7fr 1.3fr; align-items: center; }
  .fecho-grade > div:first-child { align-self: stretch; display: flex; flex-direction: column; justify-content: space-between; }
  .diag-grade { grid-template-columns: 1.6fr .4fr; align-items: center; }
  .btn-form { width: auto; }
  .logo img { width: 170px; }
}
@media (max-width: 640px) {
  .cookies:not([hidden]) ~ .wpp { display: none; }
  .faixa-prints ul { animation: none; }
}

/* Cortina de seções: só em tela grande e alta, sem preferência por menos movimento.
   Seção coberta é sticky e cabe em 100vh. A que cobre rola normal. Escurecimento por
   linha do tempo de visualização (sem JavaScript). Sem suporte, fica só a sombra. */
@media (min-width: 1024px) and (min-height: 720px) and (prefers-reduced-motion: no-preference) {
  main { timeline-scope: --c1, --c2, --c3, --c4; }
  .sec-identificacao, .sec-como, .sec-diagnostico { position: sticky; top: 0; overflow: clip; }
  .sec-identificacao { view-timeline: --c1 block; }
  .sec-prova { view-timeline: --c2 block; }
  .sec-diagnostico { view-timeline: --c3 block; }
  .sec-pacotes { view-timeline: --c4 block; }
  .sec-hero::after, .sec-identificacao::after, .sec-como::after, .sec-diagnostico::after {
    content: ""; position: absolute; inset: 0; z-index: 40; pointer-events: none; border-radius: inherit; background: #05060a; opacity: 0; }
  @supports (animation-timeline: view()) {
    .sec-hero::after, .sec-identificacao::after, .sec-como::after, .sec-diagnostico::after { animation: escurecer linear both; animation-range: entry 0% entry 100%; }
    .sec-hero::after { animation-timeline: --c1; }
    .sec-identificacao::after { animation-timeline: --c2; }
    .sec-como::after { animation-timeline: --c3; }
    .sec-diagnostico::after { animation-timeline: --c4; }
  }
}
/* O hero só empilha quando a tela tem 800 px de altura ou mais; abaixo disso ele cabe menos e rolaria cortado */
@media (min-width: 1024px) and (min-height: 800px) and (prefers-reduced-motion: no-preference) {
  .sec-hero { position: sticky; top: 0; overflow: clip; }
}
@keyframes escurecer { to { opacity: var(--dim-max); } }

/* Menos movimento: marca-texto já preenchido, faixa parada, sem deslocamento */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marca--anim::before { animation: none; transform: none; }
  .faixa-prints ul { animation: none; }
  .passo-form.sai, .passo-form.entra { animation: none; }
  .print:hover a, .print:hover::before, .btn:active { transform: none; }
  .btn::after, .print a, .print::before, .faq summary::after { transition: none; }
}

/* Utilitários (sem estilo inline no HTML, por causa da política de segurança de conteúdo) */
.diag-texto { margin-top: 20px; }
.print > img { border: 1px solid var(--linha); border-radius: 10px; background: #fff; }
.opcoes-grupo { border: 0; padding: 0; margin: 0 0 18px; min-width: 0; }
.sem-js { position: fixed; left: 0; right: 0; bottom: 0; z-index: 200; margin: 0; padding: 10px 16px; background: #000; color: #fff; font-size: .875rem; }

/* Marca-texto em fundo preto: bloco cheio, para o texto preto não sumir na parte sem cor */
.escuro .marca { background-position: 0 50%; background-size: 100% 100%; }

/* Maggie das seções de identificação e fechamento: espelhada na horizontal, olhando para o conteúdo */
.ident-img, .maggie-fecho { transform: scaleX(-1); }
