/* Visual da landing e da página de obrigado (copiado do protótipo landing/index.html).
   Layout: coluna única de leitura para celular (público 50+, letra grande), formulário logo na 2ª dobra; no desktop, hero e formulário lado a lado. */
:root {
  --bg: #fbf9f8;          /* papel com leve viés rosado */
  --surface: #ffffff;
  --ink: #241a1c;
  --muted: #6b5c5f;
  --line: #e6dcdd;
  --accent: #7b2d3b;      /* marsala do escritório */
  --accent-ink: #ffffff;
  --accent-soft: #f4e8ea;
  --ok: #1f6b45;
  --zap: #1a7f4b;
  --f-display: "Spectral", Georgia, "Times New Roman", serif;
  --f-body: "Atkinson Hyperlegible", "Segoe UI", system-ui, sans-serif;
  --s-body: 1.125rem;     /* 18px: leitura confortável para 50+ */
  --s-small: 0.95rem;
  --s-h1: clamp(1.75rem, 1.2rem + 2.6vw, 2.6rem);
  --s-h2: clamp(1.4rem, 1.1rem + 1.4vw, 1.9rem);
  --radius: 10px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #1b1415; --surface: #251c1e; --ink: #f3eced; --muted: #bba9ac; --line: #3d3033;
    --accent: #d9808f; --accent-ink: #1b1415; --accent-soft: #3a2328;
    --ok: #6fcf9a; --zap: #3fbf7a;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #1b1415; --surface: #251c1e; --ink: #f3eced; --muted: #bba9ac; --line: #3d3033;
  --accent: #d9808f; --accent-ink: #1b1415; --accent-soft: #3a2328;
  --ok: #6fcf9a; --zap: #3fbf7a;
  color-scheme: dark;
}

* { box-sizing: border-box; }
body { background: var(--bg); color: var(--ink); font-family: var(--f-body); font-size: var(--s-body); line-height: 1.6; margin: 0; }
h1, h2, h3 { font-family: var(--f-display); font-weight: 600; line-height: 1.2; text-wrap: balance; margin: 0; }
h1 { font-size: var(--s-h1); }
h2 { font-size: var(--s-h2); }
h3 { font-size: 1.2rem; }
p { margin: 0; }
a { color: var(--accent); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

.wrap { max-width: 68rem; margin: 0 auto; padding-inline: 1rem; }
section { padding-block: 3rem; }
.stack { display: flex; flex-direction: column; gap: 1rem; }
.readable { max-width: 38rem; }
.eyebrow { font-size: var(--s-small); letter-spacing: .06em; text-transform: uppercase; color: var(--accent); font-weight: 700; }

/* Topo */
.brand { padding-block: 1rem; border-bottom: 1px solid var(--line); }
.brand .wrap { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap; }
.brand strong { font-family: var(--f-display); font-size: 1.2rem; font-weight: 600; }
.brand span { color: var(--muted); font-size: var(--s-small); }

/* Hero + formulário */
.hero { padding-block: 2rem 3rem; }
.hero .wrap { display: grid; gap: 2rem; align-items: start; }
@media (min-width: 900px) { .hero .wrap { grid-template-columns: 1fr 1.05fr; gap: 3rem; } .hero-text { position: sticky; top: 1.5rem; } }
.hero-text { display: flex; flex-direction: column; gap: 1.1rem; min-width: 0; }
.hero-text .sub { color: var(--muted); }
.trust { display: flex; flex-wrap: wrap; gap: .35rem .9rem; font-size: var(--s-small); color: var(--muted); }
.trust .stars { color: var(--accent); font-weight: 700; letter-spacing: .05em; }
.btn { display: inline-flex; justify-content: center; align-items: center; gap: .5rem; font: inherit; font-weight: 700; font-size: 1.1rem; text-decoration: none; background: var(--accent); color: var(--accent-ink); border: 0; border-radius: var(--radius); padding: 1rem 1.4rem; cursor: pointer; min-height: 3.4rem; text-align: center; }
.btn:hover { filter: brightness(1.08); }
.btn[disabled] { opacity: .7; cursor: progress; }
.btn.zap { background: var(--zap); color: #fff; }
.hero-text .btn { align-self: flex-start; }

.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 1.5rem 1.1rem; display: flex; flex-direction: column; gap: 1.4rem; min-width: 0; box-shadow: 0 1px 2px rgba(36,26,28,.04), 0 8px 24px rgba(36,26,28,.06); }
@media (min-width: 500px) { .form-card { padding: 2rem 1.75rem; } }
.form-card header { display: flex; flex-direction: column; gap: .4rem; }
.form-card header p { color: var(--muted); font-size: var(--s-small); }
.field { display: flex; flex-direction: column; gap: .45rem; border: 0; padding: 0; margin: 0; min-width: 0; }
.field > label, .field > legend { font-weight: 700; padding: 0; }
.field .hint { font-weight: 400; color: var(--muted); font-size: var(--s-small); }
input[type="text"], input[type="tel"], input[type="email"] { font: inherit; color: var(--ink); background: var(--bg); border: 1.5px solid var(--line); border-radius: var(--radius); padding: .8rem .9rem; width: 100%; min-height: 3.2rem; }
input:focus { border-color: var(--accent); outline: none; box-shadow: 0 0 0 3px var(--accent-soft); }
.options { display: flex; flex-direction: column; gap: .5rem; }
.options label { display: flex; gap: .75rem; align-items: center; border: 1.5px solid var(--line); border-radius: var(--radius); padding: .7rem .9rem; cursor: pointer; background: var(--bg); line-height: 1.35; min-height: 3.1rem; }
.options.two { display: grid; grid-template-columns: repeat(auto-fit, minmax(9.5rem, 1fr)); }
.options input { accent-color: var(--accent); width: 1.25rem; height: 1.25rem; flex: none; margin: 0; }
.options label:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); font-weight: 700; }
.error { color: var(--accent); font-size: var(--s-small); font-weight: 700; }
.legal { font-size: .85rem; color: var(--muted); text-align: center; }
.after { font-size: var(--s-small); color: var(--muted); text-align: center; }
.form-card .btn { width: 100%; }
/* Campo-isca anti-robô: fora da tela, invisível para pessoas e leitores de tela */
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* Dor */
.pains { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); }
.pain { border-top: 2px solid var(--accent); padding-top: 1rem; display: flex; flex-direction: column; gap: .4rem; min-width: 0; }
.pain p { color: var(--muted); }

/* Método */
.alt { background: var(--surface); border-block: 1px solid var(--line); }
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); counter-reset: s; }
.steps li { counter-increment: s; display: flex; flex-direction: column; gap: .4rem; min-width: 0; }
.steps li::before { content: "Passo " counter(s); font-size: var(--s-small); letter-spacing: .06em; text-transform: uppercase; color: var(--accent); font-weight: 700; }
.steps p { color: var(--muted); }
.slot { border: 2px dashed var(--line); border-radius: var(--radius); padding: 1.5rem; text-align: center; color: var(--muted); font-size: var(--s-small); }
.slot.video { aspect-ratio: 9 / 16; max-width: 16rem; width: 100%; margin-inline: auto; display: flex; align-items: center; justify-content: center; }
.video-box { max-width: 16rem; width: 100%; margin-inline: auto; }
.video-box video, .video-box iframe { width: 100%; aspect-ratio: 9 / 16; border: 0; border-radius: var(--radius); display: block; }

/* Quem somos */
.about { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 800px) { .about { grid-template-columns: 1.2fr 1fr; } }
.about .slot { aspect-ratio: 4 / 3; max-width: 100%; display: flex; align-items: center; justify-content: center; }

/* Depoimentos */
.quotes { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); }
.quotes figure { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem; display: flex; flex-direction: column; gap: .75rem; justify-content: space-between; min-width: 0; }
.quotes blockquote { margin: 0; }
.quotes figcaption { font-weight: 700; font-size: var(--s-small); }
.quotes figcaption span { color: var(--accent); letter-spacing: .05em; margin-right: .4rem; }

/* FAQ */
.faq { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); padding-block: 1rem; }
.faq summary { font-weight: 700; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); padding-top: .6rem; }

.final { text-align: center; }
.final .stack { align-items: center; }

footer { border-top: 1px solid var(--line); padding-block: 2rem 3rem; font-size: .9rem; color: var(--muted); }
footer .stack { gap: .35rem; }

/* Página de obrigado */
.thanks { padding-block: 2.5rem 3rem; }
.thanks .wrap { max-width: 40rem; display: flex; flex-direction: column; gap: 1.5rem; }
.thanks .sub { color: var(--muted); }
.thanks .btn { width: 100%; font-size: 1.2rem; }
.thanks ol { margin: 0; padding-left: 1.4rem; display: flex; flex-direction: column; gap: .4rem; }

@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
