/* Identidade da Villa (mesmos tokens do site principal, src/app/globals.css): claro, verde #00995A, Geist */
:root {
  --bg: #ffffff;
  --surface: #f7f8f5;
  --surface-2: #eef0ea;
  --line: #e3e6de;
  --line-2: #d3d7cb;
  --text: #0f1f17;
  --text-2: #4a5a4c;
  --muted: #5f6b60;
  /* Verde da marca: chapado em faixa e detalhe; botão com texto branco usa --primary (4,7:1); texto verde usa --primary-ink */
  --brand: #00995a;
  --primary: #008550;
  --primary-hover: #007a49;
  --primary-active: #006e42;
  --primary-ink: #007a49;
  --primary-soft: #eaf5ee;
  --primary-soft-2: #cfe8d9;
  --success: #00995a;
  --error: #b4462f;
  --error-soft: #f9ece8;
  /* Faixas escuras (hero, painel de resultados, prova): quase preto verde */
  --deep: #0f1f17;
  --deep-2: #0b1812;
  --deep-3: #1e3a2e;
  --on-deep: #f2f4ee;
  --on-deep-2: rgba(242, 244, 238, .76);
  --on-deep-line: rgba(242, 244, 238, .12);
  /* Verde aceso para texto e detalhe sobre fundo escuro */
  --accent: #1fc77d;
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .5 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");

  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Geist", "Helvetica Neue", Arial, sans-serif;

  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .04), 0 4px 16px rgba(15, 31, 23, .06);
  --shadow-md: 0 2px 6px rgba(0, 0, 0, .04), 0 16px 40px rgba(15, 31, 23, .12);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--sans); font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--primary-ink); }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
[tabindex="-1"]:focus { outline: none; }
strong { color: var(--text); font-weight: 600; }

.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }

h1, h2, h3 { margin: 0; font-family: var(--sans); font-weight: 600; letter-spacing: -.02em; color: var(--text); }
/* Destaque como no site: a segunda parte da frase em cinza */
h1 em, h2 em { font-style: normal; color: var(--muted); }

.kicker, .hero__tag { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 16px; font-size: 12px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--text-2); }
.kicker::before, .hero__tag::before { content: ""; width: 24px; height: 1px; background: var(--text-2); }
.kicker svg, .hero__tag svg { display: none; }

/* Fundo com grade sutil, como no site */
.hero, .sec, .proof { position: relative; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(var(--on-deep-line) 1px, transparent 1px), linear-gradient(90deg, var(--on-deep-line) 1px, transparent 1px); background-size: 64px 64px; mask-image: radial-gradient(ellipse 70% 60% at 20% 20%, #000 10%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse 70% 60% at 20% 20%, #000 10%, transparent 70%); opacity: .5; }
/* Grão sutil por cima das faixas escuras: tira o aspecto chapado */
.hero::after, .proof::after, .board::after { content: ""; position: absolute; inset: 0; z-index: -1; background-image: var(--grain); opacity: .05; pointer-events: none; mix-blend-mode: overlay; border-radius: inherit; }

/* Hero */
.hero { padding: 20px 0 40px; color: var(--on-deep); background: radial-gradient(ellipse 55% 50% at 88% 10%, rgba(0, 153, 90, .38), transparent 70%), radial-gradient(ellipse 40% 40% at 0% 100%, rgba(31, 199, 125, .10), transparent 70%), linear-gradient(180deg, var(--deep-3) 0%, var(--deep) 60%, var(--deep-2) 100%); }
.hero h1, .hero .logo, .hero strong { color: var(--on-deep); }
.hero h1 em { color: var(--accent); }
.hero :focus-visible { outline-color: var(--accent); }
.hero .quiz-card :focus-visible { outline-color: var(--primary); }
.hero__grid { display: grid; gap: 22px; }
.hero__copy { text-align: left; }
.logo { display: flex; width: max-content; align-items: center; gap: 10px; text-decoration: none; color: var(--text); font-weight: 600; font-size: 15px; line-height: 1.15; letter-spacing: -.01em; margin-bottom: 22px; }
.logo img { width: 36px; height: 36px; border-radius: 50%; }
.hero h1 { font-size: clamp(30px, 8vw, 58px); line-height: 1.04; margin-bottom: 14px; }
.hero__lead { margin: 0 0 12px; max-width: 540px; color: var(--on-deep-2); font-size: 16px; }
.hero__tag { color: var(--accent); }
.hero__tag::before { background: var(--accent); }
.hero__note { display: inline-flex; align-items: center; gap: 8px; margin: 0; font-size: 13px; color: var(--on-deep-2); }
.hero__note svg { flex: none; width: 18px; height: 18px; fill: none; stroke: var(--accent); stroke-width: 1.6; stroke-linejoin: round; }
/* Como funciona: três passos ligados por uma linha */
.hero__steps { list-style: none; margin: 22px 0 18px; padding: 0; display: grid; gap: 10px; max-width: 520px; }
.hero__steps li { position: relative; display: flex; align-items: center; gap: 12px; font-size: 15px; color: var(--on-deep); }
.hero__steps li + li::before { content: ""; position: absolute; left: 14px; top: -10px; width: 1px; height: 10px; background: rgba(31, 199, 125, .35); }
.hero__steps span { flex: none; display: grid; place-items: center; width: 29px; height: 29px; border-radius: 50%; border: 1px solid rgba(31, 199, 125, .45); background: rgba(31, 199, 125, .08); color: var(--accent); font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; }
.hero__side { position: relative; }

/* Cartão do quiz */
.quiz-card { position: relative; background: var(--bg); color: var(--text); border: 1px solid rgba(255, 255, 255, .6); border-radius: var(--radius-xl); padding: 18px 16px 14px; box-shadow: 0 30px 80px rgba(0, 0, 0, .38), 0 8px 24px rgba(0, 0, 0, .18); scroll-margin-top: 12px; }
.quiz-card::before { content: ""; position: absolute; left: 28px; right: 28px; top: -1px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, transparent, var(--accent), transparent); }
.quiz-card strong { color: var(--text); }
.quiz-card__title { display: flex; align-items: center; gap: 8px; margin: 0 0 6px; font-weight: 600; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--primary-ink); text-align: left; }
.quiz-card__title::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 4px rgba(0, 153, 90, .15); }
.quiz-card h2 { font-size: clamp(21px, 5.6vw, 25px); line-height: 1.22; margin-bottom: 6px; text-align: left; }
.quiz-card .sub { margin: 0 0 16px; color: var(--text-2); font-size: 15px; text-align: left; }
.quiz-card__safe { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 14px 0 0; font-size: 12px; color: var(--muted); }
.quiz-card__safe svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }

.screen { display: none; }
.screen.is-active { display: block; animation: fade .3s var(--ease) both; }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.progress { display: flex; align-items: center; justify-content: space-between; min-height: 32px; margin-bottom: 6px; }
.progress__label { margin-left: auto; padding: 3px 10px; border-radius: 999px; background: var(--surface-2); font-size: 12px; font-weight: 500; color: var(--text-2); font-variant-numeric: tabular-nums; }
.back { display: inline-flex; align-items: center; gap: 4px; min-height: 36px; padding: 6px 10px 6px 0; border: 0; background: none; color: var(--text-2); font-size: 14px; font-weight: 500; cursor: pointer; }
.back:hover { color: var(--primary-ink); }
.back svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.back[hidden] { display: none; }
.progress__bar { height: 6px; border-radius: 6px; background: var(--surface-2); overflow: hidden; margin-bottom: 20px; }
.progress__bar span { display: block; height: 100%; width: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--primary) 0%, var(--success) 85%, var(--accent) 100%); transform: scaleX(0); transform-origin: left center; transition: transform .5s var(--ease); }

.step-anim { animation: stepIn .35s var(--ease) both; }
/* Opções entram em cascata curta */
.step-anim .option { animation: fade .35s var(--ease) both; }
.step-anim .option:nth-child(2) { animation-delay: .03s; }
.step-anim .option:nth-child(3) { animation-delay: .06s; }
.step-anim .option:nth-child(4) { animation-delay: .09s; }
.step-anim .option:nth-child(5) { animation-delay: .12s; }
.step-anim .option:nth-child(n+6) { animation-delay: .15s; }
.step-anim--back { animation-name: stepBack; }
@keyframes stepIn { from { opacity: 0; transform: translateX(22px); } to { opacity: 1; transform: none; } }
@keyframes stepBack { from { opacity: 0; transform: translateX(-22px); } to { opacity: 1; transform: none; } }

.options { display: grid; gap: 8px; }
.option { position: relative; display: flex; align-items: center; gap: 12px; width: 100%; min-height: 56px; padding: 12px 40px 12px 14px; text-align: left; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); cursor: pointer; font-size: 16px; line-height: 1.35; color: var(--text); box-shadow: 0 1px 2px rgba(0, 0, 0, .03); transition: border-color .15s, background .15s, transform .15s var(--ease), box-shadow .2s; -webkit-tap-highlight-color: transparent; }
/* Seta que aparece no hover: a opção parece clicável, não um item de lista */
.option::after { content: ""; position: absolute; right: 18px; top: 50%; width: 7px; height: 7px; border-top: 1.8px solid var(--primary); border-right: 1.8px solid var(--primary); transform: translate(-4px, -50%) rotate(45deg); opacity: 0; transition: opacity .15s, transform .2s var(--ease); }
.option:hover, .option:focus-visible { border-color: var(--primary); background: var(--surface); box-shadow: var(--shadow-sm); transform: translateY(-1px); }
.option:hover::after, .option:focus-visible::after { opacity: 1; transform: translate(0, -50%) rotate(45deg); }
.option:active { transform: scale(.985); }
.option__mark { flex: none; width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--line-2); display: grid; place-items: center; transition: all .15s; }
.option__mark::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #fff; transform: scale(0); transition: transform .15s; }
.option__text { display: grid; gap: 2px; }
.option__hint { font-size: 13px; color: var(--muted); }
.option[aria-checked="true"] { border-color: var(--primary); background: var(--primary-soft); box-shadow: 0 0 0 3px rgba(0, 153, 90, .18); }
.option[aria-checked="true"]::after { opacity: 1; transform: translate(0, -50%) rotate(45deg); }
.option[aria-checked="true"] .option__mark { background: var(--primary); border-color: var(--primary); animation: pop .3s var(--ease); }
.option[aria-checked="true"] .option__mark::after { transform: scale(1); }
@keyframes pop { 50% { transform: scale(1.2); } }

.field { margin-bottom: 12px; text-align: left; }
.field label { display: block; margin-bottom: 6px; font-size: 14px; font-weight: 500; color: var(--text); }
.field input { width: 100%; height: 52px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: var(--radius); background: var(--bg); color: var(--text); font: inherit; font-size: 16px; transition: border-color .15s, box-shadow .15s; }
.field input::placeholder { color: #9aa19c; }
.field input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(0, 153, 90, .2); }
.field input[aria-invalid="true"] { border-color: var(--error); }
.field__error { margin: 6px 0 0; font-size: 13px; color: var(--error); }
.field__error:empty { display: none; }
.consent { display: flex; gap: 10px; align-items: flex-start; margin: 6px 0; font-size: 13px; color: var(--text-2); cursor: pointer; text-align: left; }
.consent input { flex: none; width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--primary); }
#e-consent { margin-bottom: 10px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Botões em pílula, como no site */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 0 24px; border: 1px solid var(--primary); border-radius: 999px; background: var(--primary); color: #fff; font-weight: 600; font-size: 16px; letter-spacing: -.005em; text-decoration: none; cursor: pointer; box-shadow: var(--shadow-sm); transition: background .15s, transform .12s, box-shadow .2s; -webkit-tap-highlight-color: transparent; }
.btn:hover { background: var(--primary-hover); box-shadow: var(--shadow-md); }
.btn:active { background: var(--primary-active); transform: translateY(1px); }
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--block { width: 100%; margin-top: 8px; }
.btn[disabled] { cursor: progress; }
.btn:disabled { opacity: .45; cursor: not-allowed; box-shadow: none; }
.spinner { display: none; width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .35); border-top-color: #fff; animation: spin .7s linear infinite; }
.btn.is-loading .spinner { display: inline-block; }
.btn.is-loading .btn__arrow { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.btn--secondary { background: var(--bg); color: var(--primary-ink); border-color: var(--line-2); box-shadow: none; }
.btn--secondary:hover { background: var(--surface); border-color: var(--primary); box-shadow: none; }
.btn--secondary svg { stroke: none; }
.btn--primary { }
.btn--lg { min-height: 56px; }

/* Resultado (montado pelo script.js) */
.result-head { margin-bottom: 16px; text-align: left; }
.tag { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 10px; padding: 4px 10px; border-radius: 999px; background: var(--primary-soft); font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--primary-ink); }
#result h2 { font-size: clamp(21px, 5.4vw, 25px); line-height: 1.22; }
#result h3 { font-size: 16px; font-weight: 600; margin-bottom: 8px; letter-spacing: -.01em; }
.panel { padding: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 10px; }
.panel p { margin: 0; color: var(--text-2); font-size: 15px; }
.panel--focus { position: relative; overflow: hidden; background: linear-gradient(135deg, var(--deep-3) 0%, var(--deep) 100%); border-color: var(--deep-3); color: var(--on-deep); }
.panel--focus::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 3px; background: var(--accent); }
#result .panel--focus h3 { color: var(--on-deep); font-size: 18px; }
.panel--focus p { color: var(--on-deep-2); }
.actions { list-style: none; counter-reset: a; margin: 4px 0 0; padding: 0; display: grid; gap: 12px; }
.actions li { counter-increment: a; display: grid; grid-template-columns: 26px 1fr; gap: 10px; color: var(--text-2); font-size: 15px; }
.actions li::before { content: counter(a); display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--primary); color: #fff; font-weight: 600; font-size: 13px; }
.cta { margin-top: 16px; padding: 20px 16px; border-radius: var(--radius-lg); background: var(--bg); border: 1px solid var(--primary); box-shadow: var(--shadow-sm); text-align: center; }
.cta p { margin: 0 0 16px; color: var(--text-2); font-size: 15px; }
.cta .note { margin: 12px 0 0; font-size: 13px; color: var(--muted); }
.cta .btn { width: 100%; }
.cta--soft p { margin-bottom: 0; }
.cta--soft .btn { margin-top: 16px; }
.alert { margin-top: 16px; padding: 14px; border-radius: var(--radius); background: var(--error-soft); border: 1px solid rgba(180, 70, 47, .3); color: var(--error); font-size: 14px; }
.alert p { margin: 0; }
.alert .btn { margin-top: 12px; width: 100%; }
[data-screen="result"].is-active #result > * { animation: fade .45s var(--ease) both; }
#result > :nth-child(2) { animation-delay: .08s !important; }
#result > :nth-child(3) { animation-delay: .16s !important; }
#result > :nth-child(4) { animation-delay: .24s !important; }
#result > :nth-child(5) { animation-delay: .32s !important; }

/* Resultados: faixa verde */
.goal { padding: 64px 0 72px; background: var(--surface); border-bottom: 1px solid var(--line); }
.goal__title { font-size: clamp(24px, 6vw, 40px); line-height: 1.1; text-align: center; max-width: 820px; margin: 0 auto 28px; }
.board { position: relative; isolation: isolate; overflow: hidden; max-width: 780px; margin: 0 auto; padding: 22px 18px; border-radius: var(--radius-xl); background: radial-gradient(ellipse 60% 70% at 100% 0%, rgba(0, 153, 90, .45), transparent 70%), linear-gradient(160deg, var(--deep-3), var(--deep-2)); color: var(--on-deep); box-shadow: 0 30px 70px rgba(15, 31, 23, .28); }
.board__top { display: flex; justify-content: space-between; gap: 10px; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--on-deep-2); margin-bottom: 14px; }
.board__live { display: inline-flex; align-items: center; gap: 8px; padding: 4px 10px; border-radius: 999px; background: rgba(242, 244, 238, .08); color: var(--on-deep); }
.board__live i { width: 6px; height: 6px; border-radius: 50%; background: var(--success); animation: blink 1.6s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .25; } }
.board dl { margin: 0; }
.board dd { margin: 2px 0 0; color: var(--on-deep-2); font-size: 13px; }
.board__main dt { font-weight: 700; font-size: clamp(38px, 11vw, 64px); line-height: 1; letter-spacing: -.03em; color: var(--accent); }
.board__bar { height: 8px; margin: 20px 0; border-radius: 8px; background: rgba(242, 244, 238, .1); overflow: hidden; }
.board__bar span { display: block; height: 100%; width: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--success), var(--accent)); transform: scaleX(0); transform-origin: left center; transition: transform 1.6s var(--ease) .3s; }
.board.is-in .board__bar span { transform: none; }
.board__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding-top: 16px; border-top: 1px solid var(--on-deep-line); }
.board__stats dt { font-weight: 700; font-size: clamp(18px, 5vw, 26px); letter-spacing: -.02em; white-space: nowrap; color: var(--on-deep); }

/* Seções */
.sec { padding: 64px 0; background: var(--bg); }
.sec--alt { background: var(--surface); }
.sec__head { display: grid; gap: 12px; margin-bottom: 30px; text-align: left; }
.sec__head h2, .deliver__head h2 { font-size: clamp(28px, 7vw, 44px); line-height: 1.08; }
.sec__head p, .deliver__head p { margin: 0; color: var(--text-2); }

.people { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-inline: auto; }
.person { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: var(--bg); border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: box-shadow .3s var(--ease), transform .3s var(--ease); }
.person:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.person img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform .6s var(--ease); }
.person:hover img { transform: scale(1.03); }
.person__body { padding: 14px 14px 16px; }
.person .chip { display: inline-block; margin-bottom: 8px; padding: 3px 10px; border-radius: 999px; font-size: 11px; font-weight: 500; background: var(--primary-soft); color: var(--primary-ink); }
.person h3 { font-size: 19px; margin-bottom: 4px; }
.person p { margin: 0; font-size: 14px; color: var(--text-2); }

.deliver { display: grid; gap: 28px; }
.deliver__head { text-align: left; display: grid; gap: 12px; justify-items: start; }
.deliver__head .kicker { margin: 0; }
.deliver__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.deliver__list li { position: relative; padding: 20px 18px 20px 76px; border-radius: var(--radius-lg); background: var(--bg); border: 1px solid var(--line); transition: border-color .2s, box-shadow .2s, transform .2s var(--ease); }
.deliver__list li:hover { border-color: var(--primary); box-shadow: var(--shadow-sm); transform: translateX(2px); }
.deliver__list span { position: absolute; left: 18px; top: 18px; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--primary-soft); color: var(--primary-ink); font-size: 14px; font-weight: 700; font-variant-numeric: tabular-nums; transition: background .2s, color .2s; }
.deliver__list li:hover span { background: var(--primary); color: #fff; }
.deliver__list h3 { font-weight: 600; font-size: 21px; color: var(--primary-ink); margin-bottom: 6px; }
.deliver__list p { margin: 0; color: var(--text-2); font-size: 15px; }

.cards { display: grid; gap: 12px; }
.cards article { position: relative; padding: 22px 18px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); color: var(--text); transition: border-color .2s, box-shadow .2s; }
.cards article:hover { border-color: var(--primary-soft-2); box-shadow: var(--shadow-sm); }
/* A última etapa (Você decide) fecha a sequência em destaque */
/* Assinatura da marca: bloco verde chapado, título branco em negrito, texto pequeno em quase preto (branco no #00995A só passa em texto grande) */
.cards article:last-child { background: var(--brand); border-color: var(--brand); }
.cards article:last-child h3 { color: #fff; font-weight: 700; }
.cards article:last-child p { color: var(--deep); }
.cards article:last-child .cards__n { color: var(--deep); border-color: rgba(15, 31, 23, .35); }
.cards__n { display: inline-block; margin-bottom: 18px; padding: 3px 10px; border: 1px solid var(--line-2); border-radius: 999px; font-weight: 600; font-size: 13px; color: var(--primary-ink); font-variant-numeric: tabular-nums; }
.cards h3 { color: var(--text); font-size: 19px; margin-bottom: 8px; }
.cards p { margin: 0; color: var(--text-2); font-size: 15px; }

.proof { padding: 72px 0; color: var(--on-deep); text-align: center; background: radial-gradient(ellipse 50% 60% at 50% 0%, rgba(0, 153, 90, .4), transparent 70%), linear-gradient(180deg, var(--deep), var(--deep-2)); }
.proof h2, .proof strong { color: var(--on-deep); }
.proof h2 em { color: var(--accent); }
.proof__inner { max-width: 760px; display: grid; justify-items: center; gap: 16px; }
.proof img { width: 60px; height: 60px; border-radius: 50%; box-shadow: 0 0 0 6px rgba(242, 244, 238, .06), 0 0 0 7px rgba(31, 199, 125, .35); }
.proof h2 { font-size: clamp(28px, 7vw, 46px); line-height: 1.08; }
.proof h2 em { display: block; }
.proof p { margin: 0; color: var(--on-deep-2); max-width: 620px; }

.faq { display: grid; gap: 26px; }
.faq__head { text-align: left; }
.faq__eyebrow { margin: 0 0 6px; font-size: 12px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--text-2); }
.faq__head h2 { font-size: clamp(26px, 6.6vw, 38px); line-height: 1.1; }
.faq__list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 14px 4px; cursor: pointer; list-style: none; font-weight: 500; font-size: 16px; transition: color .2s; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: ""; flex: none; width: 8px; height: 8px; border-right: 1.6px solid var(--text-2); border-bottom: 1.6px solid var(--text-2); transform: rotate(-45deg); transition: transform .2s; }
.faq summary:hover { color: var(--primary-ink); }
.faq details[open] summary { color: var(--primary-ink); }
.faq details[open] summary::before { transform: rotate(45deg); border-color: var(--primary); }
.faq details p { margin: 0; padding: 0 4px 18px 24px; color: var(--text-2); font-size: 15px; }

.footer { padding: 28px 0 calc(28px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--surface); }
.footer__inner { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.logo--sm { margin: 0; font-size: 14px; }
.logo--sm img { width: 30px; height: 30px; }
.footer__links { display: flex; gap: 18px; font-size: 13px; }
.footer__links a { color: var(--muted); text-decoration: none; }
.footer__links a:hover { color: var(--primary-ink); }

/* Página de privacidade */
.page-top { padding: 18px 0; border-bottom: 1px solid var(--line); }
.page-top__inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.page-top .logo { margin: 0; }
.page-top__back { font-size: 14px; color: var(--text-2); text-decoration: none; }
.page-top__back:hover { color: var(--primary-ink); }
.doc { max-width: 720px; padding-top: 40px; padding-bottom: 64px; }
.doc .kicker { margin-bottom: 10px; }
.doc h1 { font-size: clamp(30px, 7vw, 44px); line-height: 1.08; margin-bottom: 18px; }
.doc h2 { font-size: 21px; margin: 34px 0 10px; }
.doc p, .doc li { color: var(--text-2); }
.doc ul { padding-left: 20px; }

/* Movimento de entrada */
.js .hero__copy > *, .js .hero__side > * { animation: rise .6s var(--ease) both; }
.js .hero__copy > :nth-child(2) { animation-delay: .05s; }
.js .hero__copy > :nth-child(3) { animation-delay: .1s; }
.js .hero__copy > :nth-child(4) { animation-delay: .15s; }
.js .hero__copy > :nth-child(5) { animation-delay: .2s; }
.js .quiz-card { animation-delay: .25s !important; }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s var(--ease), transform .6s var(--ease); transition-delay: calc(var(--i, 0) * 80ms); }
.js .reveal.is-in { opacity: 1; transform: none; }

.quiz-card:has([data-screen="result"].is-active) .quiz-card__title { display: none; }

/* Celular: o quiz aparece logo, sem precisar rolar muito */
@media (max-width: 639px) {
  .hero { padding: 14px 0 32px; }
  .logo { margin-bottom: 14px; }
  .hero h1 { font-size: clamp(27px, 7.6vw, 34px); margin-bottom: 8px; }
  .hero__tag { margin-bottom: 10px; }
  .hero__lead { font-size: 15px; margin-bottom: 0; }
  .hero__note, .hero__steps { display: none; }
  .deliver__list li { padding-left: 70px; }
  .hero__grid { gap: 18px; }
  .quiz-card { margin: 0 -6px; padding: 16px 14px 12px; }
  .board__stats dt { font-size: 17px; }
  .board__stats dd { font-size: 12px; }
  .board__date { display: none; }
}

@media (min-width: 640px) {
  .quiz-card { padding: 26px 26px 18px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .people { max-width: 620px; }
  .faq__list { max-width: 760px; width: 100%; }
}

@media (min-width: 960px) {
  .hero { padding: 36px 0 88px; }
  .hero__grid { grid-template-columns: 1fr 480px; gap: 64px; align-items: center; }
  .hero__lead { font-size: 18px; }
  .sec { padding: 104px 0; }
  .sec__head--split { grid-template-columns: 1.1fr 1fr; align-items: end; gap: 56px; margin-bottom: 44px; }
  .people { max-width: none; grid-template-columns: repeat(2, minmax(0, 360px)); justify-content: center; gap: 24px; }
  .deliver { grid-template-columns: 1fr 1.15fr; gap: 72px; align-items: start; }
  .deliver__head { position: sticky; top: 40px; }
  .cards { grid-template-columns: repeat(4, 1fr); }
  .board { padding: 34px 36px; }
  .proof { padding: 120px 0; }
  .faq { grid-template-columns: 1fr 1.3fr; gap: 64px; align-items: start; }
  .footer__inner { flex-direction: row; justify-content: space-between; }
}

/* Botão flutuante de volta ao diagnóstico */
.to-quiz { position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 30; display: inline-flex; align-items: center; gap: 8px; min-height: 50px; padding: 0 20px 0 16px; border: 0; border-radius: 999px; background: var(--primary); color: #fff; font-weight: 600; font-size: 15px; cursor: pointer; box-shadow: var(--shadow-md); opacity: 0; transform: translateY(20px) scale(.96); pointer-events: none; transition: opacity .3s var(--ease), transform .3s var(--ease); }
.to-quiz.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.to-quiz svg { color: #fff; width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; animation: bob 1.6s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-3px); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .board__bar span { transform: none; }
}

/* Agendamento da consultoria no resultado */
.booking { text-align: left; }
.booking h3 { font-size: 18px !important; }
.booking .booking__label { margin: 6px 0 8px; font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.booking__days { display: flex; gap: 8px; overflow-x: auto; margin: 0 -4px 14px; padding: 2px 4px 8px; scroll-snap-type: x proximity; scrollbar-width: thin; scrollbar-color: var(--line-2) transparent; }
.booking__slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; margin-bottom: 10px; }
.booking__msg { padding: 10px 12px; border-radius: var(--radius); background: var(--error-soft); border: 1px solid rgba(180, 70, 47, .3); color: var(--error); font-size: 14px; }
.booking .chip { min-height: 48px; padding: 8px 10px; border: 1px solid var(--line-2); border-radius: var(--radius); background: var(--bg); color: var(--text); font: 600 15px/1.2 var(--sans); cursor: pointer; transition: border-color .15s, background .15s, transform .12s; -webkit-tap-highlight-color: transparent; }
.booking .chip:hover { border-color: var(--primary); }
.booking .chip:active { transform: scale(.97); }
.booking .chip:hover { background: var(--surface); }
.booking .chip[aria-checked="true"] { border-color: var(--primary); background: var(--primary); color: #fff; box-shadow: 0 6px 16px rgba(15, 31, 23, .22); }
.booking .chip--day { flex: none; display: grid; gap: 2px; min-width: 66px; text-align: center; scroll-snap-align: start; }
.chip__wd { font-size: 12px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.booking .chip[aria-checked="true"] .chip__wd { color: rgba(255, 255, 255, .8); }
.chip__d { font-size: 15px; }
.link-wa { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; margin-top: 8px; font-size: 14px; color: var(--text-2); text-decoration: underline; text-underline-offset: 3px; }
.link-wa svg { width: 16px; height: 16px; flex: none; }
.link-wa:hover { color: var(--primary-ink); }
.booked { text-align: center; background: var(--primary-soft); border-color: var(--primary-soft-2); }
/* Selo de confirmação no topo da tela de sucesso */
.booked::before { content: ""; display: block; width: 56px; height: 56px; margin: 4px auto 14px; border-radius: 50%; background: var(--primary) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 26px no-repeat; box-shadow: 0 0 0 8px rgba(15, 31, 23, .08); animation: pop .5s var(--ease) both; }
.booked .tag { color: var(--primary-ink); }
.booked h3 { font-size: 21px !important; }
.booked .btn + .btn { margin-top: 10px; }
/* A fileira de dias rola dentro do cartão: os pais do grid não podem crescer até o tamanho dela */
.hero__grid > *, .quiz-card, .screen, #result, .booking { min-width: 0; }
