/* =========================================================================
   D8 — Lead Magnet · Reino Vendas & IA (identidade V7)
   Carta de vendas: folha branco quente sobre mesa vinho · laranja só em destaque
   ========================================================================= */

:root {
  --vinho: #3B101D;
  --vinho-escuro: #210C13;
  --laranja: #FF4D00;
  --claro: #F5F3ED;
  --preto: #121212;

  --tinta: #3B101D;                     /* texto principal sobre claro */
  --tinta-2: rgba(59, 16, 29, .74);     /* texto de apoio (contraste > 7:1) */
  --tinta-3: rgba(59, 16, 29, .58);     /* legendas (≥ 4.5:1) */
  --linha-clara: rgba(59, 16, 29, .14);
  --linha-forte: rgba(59, 16, 29, .32);
  --laranja-texto: #B83800;              /* laranja escurecido p/ texto pequeno sobre claro (≥ 4.5:1) */
  --fundo-suave: rgba(59, 16, 29, .045);
  --apoio: rgba(245, 243, 237, .76);
  --linha: rgba(245, 243, 237, .16);

  --f-titulo: "Anton", Impact, "Arial Narrow", sans-serif;
  --f-texto: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  --coluna: 680px;
  --folha: 760px;
  --gutter: 22px;
  --corte: 14px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
}

body {
  margin: 0;
  background: var(--claro);
  color: var(--tinta);
  font-family: var(--f-texto);
  font-size: 17.5px;
  line-height: 1.65;
  font-weight: 450;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body.modal-open { overflow: hidden; }

img, svg, video { display: block; max-width: 100%; }

a { color: inherit; text-underline-offset: 3px; }

p { margin: 0 0 1.1em; }

strong { font-weight: 750; }

::selection { background: var(--laranja); color: var(--vinho); }

:focus-visible {
  outline: 3px solid var(--laranja);
  outline-offset: 3px;
}

[hidden] { display: none !important; }

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute;
  left: 12px; top: -60px;
  z-index: 100;
  background: var(--vinho);
  color: var(--claro);
  padding: 10px 14px;
  font-weight: 700;
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

/* ---------- Barra de leitura ---------- */

.progress {
  position: fixed;
  inset: 0 0 auto 0;
  height: 3px;
  z-index: 60;
  background: transparent;
}
.progress span {
  display: block;
  height: 100%;
  width: 100%;
  background: var(--laranja);
  transform-origin: 0 50%;
  transform: scaleX(0);
}

/* ---------- Mesa + folha da carta ---------- */

body {
  background:
    radial-gradient(1200px 600px at 50% -10%, rgba(255, 77, 0, .10), transparent 60%),
    var(--vinho-escuro);
}

.progress { z-index: 60; }

main,
.topbar {
  max-width: var(--folha);
  margin-left: auto;
  margin-right: auto;
  background: var(--claro);
}

main {
  padding: 26px var(--gutter) 56px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .35);
  border-top: 6px solid var(--laranja);
}
.topbar + main { border-top: 0; }

/* .doc vira só um agrupador dentro da folha */
main .doc { max-width: none; margin: 0; padding: 0; }

/* Topo da página de obrigado */
.topbar { border-top: 6px solid var(--laranja); border-bottom: 1px solid var(--linha-clara); }
.topbar__inner { padding: 14px var(--gutter); display: flex; align-items: center; gap: 12px; }
.topbar__cta { display: none; }

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--tinta);
}
.brand svg { width: 24px; height: auto; }

.letterhead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 16px;
  padding-bottom: 14px;
  border-bottom: 3px double var(--linha-forte);
}
.letterhead__ref {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--tinta-3);
}

/* ---------- Tipografia ---------- */

.h1, .h2, .statement, .ty-proof__num, .result__num, .authority b, .method li::before {
  font-family: var(--f-titulo);
  font-weight: 400;
  letter-spacing: .005em;
}

.h1 {
  font-size: clamp(36px, 8.4vw, 60px);
  line-height: 1.06;
  margin: 0 0 24px;
}

.h2 {
  font-size: clamp(28px, 6.6vw, 42px);
  line-height: 1.1;
  text-transform: uppercase;
  margin: 0 0 22px;
}

.h3 {
  font-size: 19px;
  font-weight: 800;
  line-height: 1.35;
  margin: 40px 0 14px;
}

.mark { color: var(--laranja); }

/* Grifo de marca-texto: frase-chave da carta */
.hl {
  background: linear-gradient(transparent 56%, rgba(255, 77, 0, .30) 56%);
  padding: 0 .1em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.lead {
  font-size: 19.5px;
  line-height: 1.6;
  color: var(--tinta-2);
  font-weight: 500;
}

.small { font-size: 14px; line-height: 1.55; color: var(--tinta-3); }

.kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--tinta-3);
}
.kicker b { color: var(--laranja); font-weight: 800; }
.kicker::after { content: ""; flex: 1; height: 1px; background: var(--linha-clara); }
.kicker--greet { display: block; }
.kicker--greet::after { display: none; }

/* ---------- Abertura ---------- */

.hero { padding-top: 34px; text-align: center; }
.hero .lead { text-align: left; }

.pre {
  display: inline-block;
  max-width: 34em;
  margin: 0 0 22px;
  padding: 0 0 10px;
  border-bottom: 2px solid var(--laranja);
  font-size: 15px;
  font-weight: 700;
  font-style: italic;
  line-height: 1.45;
  color: var(--tinta-2);
}

.byline {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 28px 0 0;
  padding: 16px 0;
  border-top: 1px solid var(--linha-clara);
  border-bottom: 1px solid var(--linha-clara);
  text-align: left;
}
.avatar {
  width: 52px; height: 52px;
  border-radius: 50%;
  flex-shrink: 0;
  background: var(--vinho);
  color: var(--claro);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 16px;
  letter-spacing: .04em;
  overflow: hidden;
}
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.byline__name { font-weight: 800; line-height: 1.3; }
.byline__role { font-size: 14px; color: var(--tinta-3); line-height: 1.4; }

.salute { font-size: 19px; font-weight: 700; margin-bottom: 26px; }

/* ---------- Seções separadas por um traço, como numa carta ---------- */

.section { padding-top: 64px; }
.section + .section::before,
.hero + .section::before {
  content: "";
  display: block;
  width: 56px;
  height: 3px;
  margin: 0 auto 56px;
  background: var(--laranja);
}

/* ---------- Blocos de texto ---------- */

.note {
  position: relative;
  margin: 30px 0;
  padding: 26px 22px 10px;
  border: 1.5px dashed rgba(59, 16, 29, .45);
  background: var(--fundo-suave);
}
.note__label {
  position: absolute;
  top: -12px; left: 16px;
  padding: 3px 10px;
  background: var(--vinho);
  color: var(--claro);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.list { list-style: none; margin: 0 0 1.3em; padding: 0; }
.list li { position: relative; padding: 6px 0 6px 32px; line-height: 1.55; }
.list li::before {
  position: absolute;
  left: 0; top: 6px;
  width: 22px;
  text-align: center;
  font-weight: 800;
  color: var(--laranja-texto);
}
.list--x li::before { content: "×"; font-size: 22px; line-height: 1.1; }
.list--check li::before { content: "✓"; }
.list--dot li::before { content: "■"; font-size: 10px; top: 13px; }

.statement {
  margin: 48px 0 8px;
  text-align: center;
  font-size: clamp(30px, 7vw, 46px);
  line-height: 1.1;
  text-transform: uppercase;
}
.statement .soft { display: block; color: var(--tinta-3); font-size: .62em; margin-bottom: 8px; }

.definition {
  margin: 30px 0;
  padding: 24px 0;
  border-top: 1px solid var(--linha-forte);
  border-bottom: 1px solid var(--linha-forte);
  text-align: center;
}
.definition__term { font-family: var(--f-titulo); font-size: 34px; line-height: 1.1; margin: 0; }
.definition__pos { font-style: italic; color: var(--tinta-3); font-size: 15px; margin: 4px 0 12px; }
.definition__body { font-size: 19px; font-weight: 600; margin: 0 auto; max-width: 30em; }

.formats {
  margin: 8px 0 1.4em;
  padding: 0;
  list-style: none;
  counter-reset: f;
  display: grid;
  gap: 0 28px;
}
.formats li {
  counter-increment: f;
  position: relative;
  padding: 9px 0 9px 36px;
  border-bottom: 1px solid var(--linha-clara);
  font-size: 16.5px;
  line-height: 1.45;
}
.formats li::before {
  content: counter(f, decimal-leading-zero);
  position: absolute;
  left: 0; top: 11px;
  font-size: 12.5px;
  font-weight: 800;
  color: var(--laranja-texto);
}

.quote {
  margin: 34px 0;
  padding: 4px 0 4px 22px;
  border-left: 4px solid var(--laranja);
}
.quote p {
  margin: 0;
  font-size: clamp(21px, 4.6vw, 25px);
  line-height: 1.4;
  font-weight: 800;
  font-style: italic;
}

/* Linha do tempo da 1ª à 2ª venda */
.steps {
  list-style: none;
  margin: 26px 0 1.4em;
  padding: 0;
  counter-reset: s;
  border-left: 2px solid var(--linha-forte);
}
.steps li {
  counter-increment: s;
  position: relative;
  padding: 0 0 18px 30px;
  line-height: 1.5;
  color: var(--tinta-2);
}
.steps li b { color: var(--tinta); }
.steps li::before {
  content: counter(s);
  position: absolute;
  left: -13px; top: 0;
  width: 24px; height: 24px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 800;
  background: var(--claro);
  border: 2px solid var(--vinho);
  color: var(--vinho);
}
.steps li.is-key::before { background: var(--laranja); border-color: var(--laranja); }
.tag {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 8px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  background: var(--vinho);
  color: var(--claro);
  vertical-align: 2px;
}

/* Método Convergência */
.method { list-style: none; margin: 24px 0 0; padding: 0; counter-reset: m; }
.method li {
  counter-increment: m;
  position: relative;
  padding: 14px 0 14px 58px;
  border-top: 1px solid var(--linha-clara);
  line-height: 1.55;
}
.method li:last-child { border-bottom: 1px solid var(--linha-clara); }
.method li::before {
  content: counter(m, decimal-leading-zero);
  position: absolute;
  left: 0; top: 10px;
  font-size: 34px;
  line-height: 1;
  color: var(--laranja);
}
.method b { font-weight: 800; }

/* Tabelas */
.table-wrap { margin: 26px 0; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table-wrap table { width: 100%; border-collapse: collapse; font-size: 15.5px; line-height: 1.45; }
.table-wrap th, .table-wrap td { padding: 12px 10px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--linha-clara); }
.table-wrap thead th {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--tinta-3);
  border-bottom: 2px solid var(--vinho);
}
.table-wrap thead small { display: block; font-family: var(--f-titulo); font-size: 18px; letter-spacing: 0; color: var(--tinta); text-transform: none; font-weight: 400; margin-top: 2px; }
.table-wrap tbody th { font-weight: 800; }
.table-wrap tbody th span { display: block; font-size: 13px; font-weight: 500; color: var(--tinta-3); }
.table-wrap figcaption { font-size: 13.5px; line-height: 1.5; color: var(--tinta-3); margin-top: 12px; font-style: italic; }
.compare td { color: var(--tinta-3); }
.compare td.win { color: var(--tinta); font-weight: 800; }
.compare td.win::before { content: "✓ "; color: var(--laranja-texto); }
.ai td:first-of-type { color: var(--tinta-3); text-decoration: line-through; text-decoration-color: rgba(59, 16, 29, .35); }
.ai td:last-of-type { font-weight: 600; }
.ai { min-width: 520px; }

/* ---------- Provas ---------- */

.evidence { margin: 30px 0; text-align: center; }
.evidence img {
  width: 100%;
  max-width: 420px;
  height: auto;
  margin: 0 auto;
  border: 8px solid #fff;
  box-shadow: 0 14px 34px rgba(33, 12, 19, .22);
  transform: rotate(-1deg);
}
.evidence figcaption { max-width: 34em; margin: 20px auto 0; font-size: 16px; line-height: 1.55; text-align: left; }

.results { display: grid; gap: 12px; margin: 30px 0; }
.result { padding: 18px 18px 16px; background: #FBFAF6; border: 1px solid var(--linha-clara); border-top: 4px solid var(--laranja); }
.result__num { font-size: 36px; line-height: 1.05; }
.result__what { font-weight: 700; margin-top: 4px; }
.result__ctx { font-size: 13.5px; color: var(--tinta-3); margin-top: 6px; line-height: 1.45; }

.authority {
  list-style: none;
  margin: 30px 0 0;
  padding: 22px 0 0;
  border-top: 1px solid var(--linha-forte);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 12px;
  text-align: center;
}
.authority b { display: block; font-size: 32px; line-height: 1.05; }
.authority span { font-size: 13.5px; color: var(--tinta-3); }

/* Fotos de autoridade no meio da copy */
.photo { margin: 32px 0; }
.photo img { width: 100%; height: auto; display: block; }
.photo--wide { margin-left: calc(-1 * var(--gutter)); margin-right: calc(-1 * var(--gutter)); }
.photo figcaption,
.photo-strip figcaption {
  font-size: 13.5px;
  font-style: italic;
  color: var(--tinta-3);
  margin-top: 10px;
  padding: 0 var(--gutter);
}
.photo-strip {
  margin: 30px 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.photo-strip img { width: 100%; height: 100%; aspect-ratio: 4 / 5; object-fit: cover; display: block; }
.photo-strip figcaption { grid-column: 1 / -1; padding: 0; margin-top: 2px; }

/* Mural de prints */
.wall { columns: 1; column-gap: 16px; margin: 30px 0 10px; }
.wall__item {
  break-inside: avoid;
  margin: 0 0 16px;
  padding: 8px 8px 12px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(33, 12, 19, .14);
}
.wall__item:nth-child(3n+1) { transform: rotate(-.6deg); }
.wall__item:nth-child(3n+2) { transform: rotate(.5deg); }
.wall__item img { width: 100%; height: auto; display: block; }
.wall__item figcaption { font-size: 14px; line-height: 1.45; margin-top: 10px; padding: 0 4px; }

/* ---------- FAQ ---------- */

.faq { border-top: 1px solid var(--linha-clara); }
.faq details { border-bottom: 1px solid var(--linha-clara); }
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 16px 34px 16px 0;
  position: relative;
  font-weight: 750;
  line-height: 1.4;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 4px; top: 12px;
  font-size: 24px;
  font-weight: 600;
  color: var(--laranja-texto);
  transition: transform .25s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 18px; color: var(--tinta-2); }

/* ---------- Fecho: assinatura + único botão ---------- */

.signature { margin: 36px 0 34px; }
.signature p { margin: 0; }
.signature__bye { font-style: italic; color: var(--tinta-2); }
.signature__name {
  font-family: var(--f-titulo);
  font-size: 40px;
  line-height: 1.1;
  margin-top: 6px !important;
  transform: rotate(-2deg);
  transform-origin: left center;
  display: inline-block;
}
.signature__role { font-size: 14px; color: var(--tinta-3); }

.cta-box {
  padding: 28px 22px 24px;
  background: var(--vinho);
  color: var(--claro);
  text-align: center;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 18px), calc(100% - 18px) 100%, 0 100%);
}
.cta-box__title {
  font-family: var(--f-titulo);
  font-size: clamp(24px, 6vw, 30px);
  line-height: 1.15;
  text-transform: uppercase;
  margin: 0 0 18px;
}
.cta-box .btn { width: 100%; }
.cta-box .cta-note { justify-content: center; color: rgba(245, 243, 237, .75); }

.ps {
  margin: 30px 0 0;
  padding-top: 18px;
  border-top: 1px dashed var(--linha-forte);
  font-size: 16px;
  color: var(--tinta-2);
}
.ps b { color: var(--tinta); }

/* ---------- Blocos escuros (página de obrigado) ---------- */

.dark { background: var(--vinho); color: var(--claro); }
.dark .kicker { color: var(--apoio); }
.dark .kicker::after { background: var(--linha); }
.dark .lead { color: var(--apoio); }
.dark .cta-note { color: rgba(245, 243, 237, .7); }

/* ---------- Rodapé ---------- */

.footer {
  max-width: var(--folha);
  margin: 0 auto;
  padding: 34px var(--gutter) 44px;
  display: grid;
  gap: 12px;
  justify-items: center;
  text-align: center;
  color: rgba(245, 243, 237, .62);
  font-size: 13px;
  line-height: 1.6;
}
.footer p { margin: 0; }
.footer svg { width: 28px; }
.footer a { color: rgba(245, 243, 237, .82); }


/* ---------- Botão (corte diagonal V7) ---------- */

.btn {
  --h: 60px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  min-height: var(--h);
  padding: 16px 26px;
  background: var(--laranja);
  color: var(--vinho);
  border: 0;
  border-radius: 0;
  font-family: var(--f-texto);
  font-size: 15.5px;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--corte)), calc(100% - var(--corte)) 100%, 0 100%);
  transition: transform .18s var(--ease), filter .2s;
  -webkit-tap-highlight-color: transparent;
}
.btn:hover { filter: brightness(1.06); }
.btn:active { transform: translateY(1px) scale(.995); }
.btn .arrow { transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn[disabled], .btn[aria-disabled="true"] { cursor: progress; filter: saturate(.6) brightness(.95); }

.btn--dark { background: var(--vinho); color: var(--claro); }
.btn--ghost {
  background: transparent;
  color: var(--tinta-2);
  clip-path: none;
  min-height: 48px;
  padding: 10px 14px;
  width: auto;
  font-size: 13px;
}
.btn--ghost:hover { color: var(--vinho); filter: none; }

.cta-note {
  margin: 14px 0 0;
  font-size: 14px;
  color: var(--tinta-3);
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
}
.cta-note span::before { content: "✓ "; color: var(--laranja); font-weight: 800; }

@media (min-width: 640px) {
  .btn { width: auto; min-width: 340px; }
}

/* =========================================================================
   MODAL DE APLICAÇÃO
   ========================================================================= */

.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
}
.modal.is-open { display: block; }

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(33, 12, 19, .66);
  opacity: 0;
  transition: opacity .3s var(--ease);
}
.modal.is-active .modal__backdrop { opacity: 1; }

.modal__panel {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 100%;
  height: 100dvh;
  max-height: 100dvh;
  background: var(--vinho-escuro);
  color: var(--claro);
  display: flex;
  flex-direction: column;
  transform: translateY(24px);
  opacity: 0;
  transition: transform .38s var(--ease), opacity .3s var(--ease);
  outline: none;
}
.modal.is-active .modal__panel { transform: none; opacity: 1; }

@media (min-width: 640px) {
  .modal__panel {
    left: 50%;
    top: 50%;
    bottom: auto;
    width: min(560px, calc(100% - 40px));
    height: auto;
    max-height: min(760px, calc(100dvh - 48px));
    transform: translate(-50%, calc(-50% + 18px));
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 22px), calc(100% - 22px) 100%, 0 100%);
  }
  .modal.is-active .modal__panel { transform: translate(-50%, -50%); }
}

.modal__top {
  flex-shrink: 0;
  padding: 16px 20px 0;
  padding-top: max(16px, env(safe-area-inset-top));
}
.modal__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 44px;
}
.modal__step {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--apoio);
}
.modal__close {
  width: 44px; height: 44px;
  margin-right: -10px;
  background: transparent;
  border: 0;
  color: var(--claro);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
}
.modal__close:hover { color: var(--laranja); }

.meter {
  height: 4px;
  background: var(--linha);
  margin-top: 6px;
  overflow: hidden;
}
.meter span {
  display: block;
  height: 100%;
  width: 0;
  background: var(--laranja);
  transition: width .5s var(--ease);
}

.modal__body {
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  padding: 26px 20px 20px;
}

.modal__foot {
  flex-shrink: 0;
  padding: 14px 20px 18px;
  padding-bottom: max(18px, env(safe-area-inset-bottom));
  border-top: 1px solid var(--linha);
  background: var(--vinho-escuro);
}
.modal__foot .btn { width: 100%; }
.modal__foot-row { display: flex; align-items: center; gap: 8px; }
.modal__foot-row .btn--ghost { color: var(--apoio); flex-shrink: 0; width: auto; }
.modal__foot-row .btn:not(.btn--ghost) { flex: 1; min-width: 0; }
.modal__foot-row .btn--ghost:hover { color: var(--claro); }

.pane { display: none; }
.pane.is-current { display: block; animation: paneIn .38s var(--ease); }
@keyframes paneIn { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: none; } }

.pane__title {
  font-family: var(--f-titulo);
  font-size: clamp(28px, 8vw, 34px);
  line-height: 1.12;
  text-transform: uppercase;
  margin: 0 0 10px;
}
.pane__sub { color: var(--apoio); font-size: 15.5px; line-height: 1.55; margin: 0 0 24px; }

.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 8px;
}
.field input {
  width: 100%;
  min-height: 56px;
  padding: 14px 16px;
  font-family: var(--f-texto);
  font-size: 17px; /* ≥16px evita zoom no iOS */
  font-weight: 600;
  color: var(--claro);
  background: var(--vinho);
  border: 1.5px solid rgba(245, 243, 237, .2);
  border-radius: 0;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  transition: border-color .2s, background .2s;
}
.field input::placeholder { color: rgba(245, 243, 237, .45); font-weight: 500; }
.field input:focus { border-color: var(--laranja); background: #451523; }
.field.has-error input { border-color: #FF8A5B; }
.field__error {
  display: none;
  margin-top: 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: #FFB08F; /* contraste ≥ 7:1 sobre vinho escuro */
}
.field.has-error .field__error { display: block; }
.field__error::before { content: "! "; font-weight: 800; }

.privacy { font-size: 12.5px; color: rgba(245, 243, 237, .6); line-height: 1.5; margin: 6px 0 0; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Perguntas (etapa 2) */
.q { border: 0; margin: 0; padding: 0; min-width: 0; }
.q legend {
  padding: 0;
  font-family: var(--f-texto);
  font-size: 21px;
  font-weight: 800;
  line-height: 1.35;
  margin-bottom: 6px;
}
.q__help { color: var(--apoio); font-size: 14.5px; margin: 0 0 18px; line-height: 1.5; }
.q__count {
  display: block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--laranja);
  margin-bottom: 10px;
}

.opts { display: grid; gap: 8px; }
.opt { position: relative; display: block; }
.opt input {
  position: absolute;
  opacity: 0;
  width: 1px; height: 1px;
}
.opt span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 54px;
  padding: 13px 16px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.35;
  background: var(--vinho);
  border: 1.5px solid rgba(245, 243, 237, .14);
  cursor: pointer;
  transition: border-color .18s, background .18s, transform .12s;
}
.opt span::after {
  content: "";
  flex-shrink: 0;
  width: 22px; height: 22px;
  border-radius: 50%;
  border: 1.5px solid rgba(245, 243, 237, .45);
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 800;
  transition: background .18s, border-color .18s;
}
.opt:hover span { border-color: rgba(245, 243, 237, .4); }
.opt input:focus-visible + span { outline: 3px solid var(--laranja); outline-offset: 2px; }
.opt input:checked + span { border-color: var(--laranja); background: #4A1626; }
.opt input:checked + span::after {
  content: "✓";
  background: var(--laranja);
  border-color: var(--laranja);
  color: var(--vinho);
}
.opt:active span { transform: scale(.99); }

.q-error {
  display: none;
  margin-top: 12px;
  font-size: 13.5px;
  font-weight: 600;
  color: #FFB08F;
}
.q-error.is-shown { display: block; }

.sending {
  display: none;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  font-size: 13.5px;
  color: var(--apoio);
}
.sending.is-shown { display: flex; }
.spinner {
  width: 16px; height: 16px;
  border: 2px solid var(--linha);
  border-top-color: var(--laranja);
  border-radius: 50%;
  animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* =========================================================================
   OBRIGADO
   ========================================================================= */

.ty-hero { padding-top: 30px; padding-bottom: 10px; }
.ty-check {
  width: 64px; height: 64px;
  display: grid;
  place-items: center;
  background: var(--laranja);
  color: var(--vinho);
  font-size: 30px;
  font-weight: 800;
  margin-bottom: 26px;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%);
}
.ty-alert {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin: 26px 0 0;
  padding: 16px 18px;
  background: var(--vinho);
  color: var(--claro);
  font-size: 15.5px;
  line-height: 1.5;
}
.ty-alert b { color: var(--laranja); }
.ty-alert a { color: var(--claro); font-weight: 800; }

.ty-proofs { display: grid; gap: 14px; margin: 26px 0 10px; }
.ty-proof {
  padding: 20px 18px;
  background: #FBFAF6;
  border: 1px solid var(--linha-clara);
  border-left: 3px solid var(--laranja);
}
.ty-proof__num { font-family: var(--f-titulo); font-size: 34px; line-height: 1.1; }
.ty-proof__txt { font-weight: 650; margin: 4px 0 6px; line-height: 1.45; }
.ty-proof__who { font-size: 13.5px; color: var(--tinta-3); }

.confirm { padding: 40px 22px 36px; margin-top: 56px; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 18px), calc(100% - 18px) 100%, 0 100%); }
.confirm .btn { width: 100%; }
.confirm .h2 { font-size: clamp(32px, 8.6vw, 50px); }
.btn--xl { --h: 72px; font-size: 16.5px; }
.wa-icon { width: 22px; height: 22px; flex-shrink: 0; }


/* ---------- Acessibilidade: movimento reduzido ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    transition-delay: 0ms !important;
  }
}

/* ---------- Telas maiores ---------- */

@media (min-width: 640px) {
  .formats { grid-template-columns: 1fr 1fr; }
  .results { grid-template-columns: repeat(3, 1fr); }
  .authority { grid-template-columns: repeat(4, 1fr); }
  .wall { columns: 2; }
  .photo-strip { gap: 12px; }
  .cta-box { padding: 36px 40px 30px; }
  .table-wrap thead small { font-size: 22px; }
}

@media (min-width: 900px) {
  :root { --gutter: 64px; }
  body { font-size: 18.5px; padding-top: 48px; }
  .topbar + main, main { margin-bottom: 0; }
  .section { padding-top: 76px; }
}
