/* ==========================================================================
   Contabilidade Alive — Design System
   Paleta herdada do Club Doc · identidade própria: o "livro-razão"
   Instrument Serif (display) · Manrope (texto/UI) · IBM Plex Mono (números e rótulos)
   ========================================================================== */

:root {
  /* Cores — mesmas do Club Doc */
  --paper: #ffffff;
  --ink: #14120f;
  --ink-2: #1d1a16;
  --ink-soft: #4a4744;
  --muted: #726d66;
  --wood: #9f7e6a;
  --wood-deep: #7c6153;
  --wood-light: #c4a896;
  --wood-tint: #f0e9e4;
  --surface: #f6f4f1;
  --surface-deep: #efece7;
  --line: #e4e0da;
  --line-strong: #d3cdc4;

  /* Tipografia */
  --font-display: 'Instrument Serif', 'Iowan Old Style', Georgia, serif;
  --font-body: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'IBM Plex Mono', 'SF Mono', Menlo, Consolas, monospace;

  /* Ritmo */
  --gutter: clamp(1.25rem, 4vw, 3.5rem);
  --section-y: clamp(4rem, 9vw, 8rem);
  --radius: 2px;
  --maxw: 1240px;
  --header-h: 80px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
body, h1, h2, h3, h4, p, figure, blockquote { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }

body {
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
:focus-visible { outline: 2px solid var(--wood); outline-offset: 3px; }
.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 1rem; top: 1rem; z-index: 200; background: var(--ink); color: var(--paper); padding: .6em 1em; }

/* ---------- Tipografia ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.005em;
  line-height: 1.05;
  color: var(--ink);
}
h1 em, h2 em, h3 em { font-style: italic; color: var(--wood-deep); }
.on-ink h1 em, .on-ink h2 em, .on-ink h3 em { color: var(--wood-light); }

.h-display { font-size: clamp(2.9rem, 6.4vw, 5.6rem); }
.h-xl { font-size: clamp(2.4rem, 4.6vw, 3.8rem); }
.h-lg { font-size: clamp(2rem, 3.4vw, 2.9rem); }
.h-md { font-size: clamp(1.45rem, 2vw, 1.8rem); line-height: 1.15; }

.lede { font-size: clamp(1.05rem, 1.45vw, 1.24rem); color: var(--ink-soft); line-height: 1.65; max-width: 50ch; }
p { color: var(--ink-soft); }
p + p { margin-top: 1em; }
.small { font-size: .88rem; }

/* Rótulo "Nota" — referência às notas explicativas de um balanço */
.note-label {
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--wood-deep);
  display: inline-flex;
  align-items: baseline;
  gap: .9em;
}
.note-label b { font-weight: 500; color: var(--ink); }
.on-ink .note-label { color: var(--wood-light); }
.on-ink .note-label b { color: var(--paper); }

.mono { font-family: var(--font-mono); font-size: .78rem; letter-spacing: .04em; text-transform: uppercase; }

/* Dupla linha contábil: a assinatura visual (o "total" de um balanço) */
.dbl { display: inline-block; position: relative; padding-bottom: .22em; }
.dbl::after {
  content: '';
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 5px;
  border-top: 1px solid var(--wood);
  border-bottom: 1px solid var(--wood);
}
.rule-dbl { height: 5px; border-top: 1px solid var(--wood); border-bottom: 1px solid var(--wood); width: 64px; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  font-family: var(--font-mono); font-size: .76rem; letter-spacing: .07em; text-transform: uppercase;
  padding: 1em 1.6em;
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition: transform .35s var(--ease), background-color .25s ease, color .25s ease, border-color .25s ease;
  text-align: center;
}
.btn:hover { transform: translateY(-2px); }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { background: var(--wood-deep); }
.btn-wood { background: var(--wood); color: var(--paper); }
.btn-wood:hover { background: var(--wood-deep); }
.btn-line { border-color: var(--line-strong); color: var(--ink); }
.btn-line:hover { border-color: var(--ink); }
.btn-line-light { border-color: rgba(255,255,255,.35); color: var(--paper); }
.btn-line-light:hover { border-color: var(--paper); }
.btn-arrow::after { content: '→'; }
.btn-row { display: flex; flex-wrap: wrap; gap: 1rem; }

/* ---------- Cabeçalho ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; }
.brand img { height: 46px; width: auto; }
.main-nav { display: none; }
.main-nav ul { display: flex; gap: clamp(1rem, 2vw, 2rem); }
.main-nav a {
  font-family: var(--font-mono); font-size: .73rem; letter-spacing: .05em; text-transform: uppercase;
  color: var(--ink-soft); padding: .4em 0; border-bottom: 1px solid transparent;
  transition: color .2s, border-color .2s;
}
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--ink); border-color: var(--wood); }
.header-actions { display: flex; align-items: center; gap: 1rem; }
.header-actions .btn { display: none; }
.nav-toggle { display: flex; flex-direction: column; gap: 5px; padding: .5em; }
.nav-toggle span { width: 22px; height: 1px; background: var(--ink); transition: transform .3s var(--ease), opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.mobile-nav {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 99;
  background: var(--paper); padding: 2rem var(--gutter);
  opacity: 0; transform: translateY(-8px); pointer-events: none;
  transition: transform .3s var(--ease), opacity .25s; overflow-y: auto;
}
.mobile-nav.is-open { opacity: 1; transform: none; pointer-events: auto; }
.mobile-nav li { border-bottom: 1px solid var(--line); }
.mobile-nav a { display: flex; justify-content: space-between; padding: 1.05em 0; font-family: var(--font-display); font-size: 1.7rem; }
.mobile-nav a span { font-family: var(--font-mono); font-size: .7rem; color: var(--muted); align-self: center; }
.mobile-nav .btn { margin-top: 1.75rem; width: 100%; }
@media (min-width: 1000px) {
  .main-nav { display: block; }
  .header-actions .btn { display: inline-flex; }
  .nav-toggle, .mobile-nav { display: none; }
}

/* ---------- Seções ---------- */
section { padding-block: var(--section-y); }
.tight { padding-block: clamp(3rem, 6vw, 5rem); }
.bg-surface { background: var(--surface); }
.bg-tint { background: var(--wood-tint); }
.on-ink { background: var(--ink); color: var(--paper); }
.on-ink h1, .on-ink h2, .on-ink h3, .on-ink h4 { color: var(--paper); }
.on-ink p, .on-ink .lede { color: rgba(255,255,255,.7); }

/* Pauta do livro-razão: linhas horizontais sutis no fundo escuro */
.ruled { position: relative; isolation: isolate; }
.ruled::before {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: repeating-linear-gradient(to bottom, transparent 0 39px, rgba(255,255,255,.045) 39px 40px);
}
.ruled.ruled-light::before { background-image: repeating-linear-gradient(to bottom, transparent 0 39px, rgba(20,18,15,.05) 39px 40px); }

.section-head { display: grid; gap: 1.1rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); max-width: 760px; }
.section-head.split { max-width: none; grid-template-columns: 1fr; align-items: end; }
@media (min-width: 900px) { .section-head.split { grid-template-columns: 1.3fr 1fr; gap: 3rem; } }

.grid { display: grid; gap: var(--gutter); }
.grid > * { min-width: 0; }
.g-2, .g-3, .g-4 { grid-template-columns: 1fr; }
@media (min-width: 720px) { .g-2 { grid-template-columns: 1fr 1fr; } .g-3, .g-4 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .g-3 { grid-template-columns: repeat(3, 1fr); } .g-4 { grid-template-columns: repeat(4, 1fr); } }
.center { align-items: center; }

/* ---------- Placeholder de imagem ---------- */
.ph {
  position: relative;
  aspect-ratio: var(--ar, 4 / 5);
  background-color: var(--surface-deep);
  background-image:
    linear-gradient(135deg, transparent calc(50% - .5px), var(--line-strong) 50%, transparent calc(50% + .5px)),
    linear-gradient(45deg, transparent calc(50% - .5px), var(--line-strong) 50%, transparent calc(50% + .5px));
  border: 1px dashed var(--wood);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.ph-label {
  background: var(--paper);
  border: 1px solid var(--line-strong);
  padding: .9rem 1.1rem;
  text-align: center;
  max-width: 82%;
  font-family: var(--font-mono);
  font-size: .68rem; letter-spacing: .05em; text-transform: uppercase;
  color: var(--ink-soft); line-height: 1.5;
}
.ph-label strong { display: block; font-size: .95rem; color: var(--ink); letter-spacing: .02em; margin: .2rem 0; font-weight: 500; }
.ph-label em { display: block; font-style: normal; text-transform: none; letter-spacing: 0; font-family: var(--font-body); font-size: .78rem; color: var(--muted); margin-top: .35rem; }
.ph > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ph:has(> img), .hero-visual .ph:has(> img) { border: 0; background-image: none; }

/* ---------- Hero ---------- */
.hero { padding-block: clamp(3.5rem, 8vw, 7rem) clamp(4rem, 8vw, 7rem); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1fr; gap: clamp(2.5rem, 5vw, 4.5rem); align-items: center; }
@media (min-width: 980px) { .hero-grid { grid-template-columns: 1.15fr .85fr; } }
.hero h1 { margin-top: 1.4rem; max-width: 14ch; }
.hero .lede { margin-top: 1.6rem; }
.hero .btn-row { margin-top: 2.4rem; }
.hero-meta { display: flex; flex-wrap: wrap; gap: .6rem 1.6rem; margin-top: 2.6rem; padding-top: 1.4rem; border-top: 1px solid rgba(255,255,255,.14); }
.hero-meta span { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .06em; text-transform: uppercase; color: rgba(255,255,255,.55); }
.hero-meta span::before { content: '— '; color: var(--wood); }
.hero-visual { position: relative; padding-bottom: 3rem; }
.hero-visual .ph { border-color: var(--wood); background-color: #23201b; background-image:
    linear-gradient(135deg, transparent calc(50% - .5px), rgba(255,255,255,.12) 50%, transparent calc(50% + .5px)),
    linear-gradient(45deg, transparent calc(50% - .5px), rgba(255,255,255,.12) 50%, transparent calc(50% + .5px)); }
.hero-visual .ph { align-items: flex-start; padding-top: 14%; }
.hero-visual .ledger { position: absolute; left: 0; right: 1.5rem; bottom: 0; }
@media (min-width: 980px) { .hero-visual .ledger { left: -3.5rem; } }
.anim { opacity: 0; animation: fade-up .9s var(--ease) both; }
.anim-1 { animation-delay: .1s; } .anim-2 { animation-delay: .25s; } .anim-3 { animation-delay: .4s; } .anim-4 { animation-delay: .55s; } .anim-5 { animation-delay: .7s; }
@keyframes fade-up { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* ---------- Livro-razão (componente assinatura) ---------- */
.ledger {
  background: var(--paper); color: var(--ink);
  border: 1px solid var(--line-strong);
  padding: 1.3rem 1.4rem 1.2rem;
  box-shadow: 0 30px 60px -35px rgba(0,0,0,.6);
}
.ledger-head { display: flex; justify-content: space-between; gap: 1rem; padding-bottom: .7rem; border-bottom: 1px solid var(--ink); }
.ledger-head span { font-family: var(--font-mono); font-size: .66rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.ledger-row { display: flex; align-items: baseline; gap: .6rem; padding: .62rem 0; border-bottom: 1px solid var(--line); font-size: .9rem; }
.ledger-row .lbl { white-space: nowrap; color: var(--ink); }
.ledger-row .dots { flex: 1; border-bottom: 1px dotted var(--line-strong); transform: translateY(-.25em); min-width: 1rem; }
.ledger-row .val { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .05em; text-transform: uppercase; color: var(--wood-deep); white-space: nowrap; }
.ledger-total { display: flex; justify-content: space-between; gap: 1rem; padding-top: .9rem; align-items: baseline; }
.ledger-total .lbl { font-family: var(--font-display); font-size: 1.35rem; }
.ledger-total .val { font-family: var(--font-mono); font-size: .74rem; letter-spacing: .06em; text-transform: uppercase; }
.ledger-total .val.dbl::after { border-color: var(--ink); }

/* ---------- Cartões de público ---------- */
.aud-card { display: flex; flex-direction: column; border-top: 1px solid var(--ink); padding-top: 1.1rem; }
.aud-card .ph { margin-bottom: 1.4rem; }
.aud-card .num { font-family: var(--font-mono); font-size: .72rem; color: var(--wood-deep); letter-spacing: .08em; }
.aud-card h3 { margin-top: .5rem; }
.aud-card p { margin-top: .7rem; font-size: .95rem; }
.aud-card .trigger { margin-top: 1rem; padding-top: .9rem; border-top: 1px dashed var(--line-strong); font-size: .85rem; color: var(--muted); }
.aud-card .trigger b { font-family: var(--font-mono); font-weight: 500; font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); display: block; margin-bottom: .25rem; }

/* ---------- Lista de serviços em formato de razão ---------- */
.ledger-list { border-top: 1px solid var(--ink); }
.ll-row { display: grid; grid-template-columns: 1fr; gap: .5rem 2rem; padding: 1.6rem 0; border-bottom: 1px solid var(--line); }
@media (min-width: 820px) { .ll-row { grid-template-columns: 70px 1fr 1.4fr; align-items: baseline; } }
.ll-row .code { font-family: var(--font-mono); font-size: .74rem; color: var(--wood-deep); letter-spacing: .06em; }
.ll-row h3 { font-size: clamp(1.35rem, 1.8vw, 1.6rem); }
.ll-row p { font-size: .95rem; }
.on-ink .ledger-list { border-color: rgba(255,255,255,.5); }
.on-ink .ll-row { border-color: rgba(255,255,255,.12); }
.on-ink .ll-row .code { color: var(--wood-light); }

/* ---------- Passos ---------- */
.steps { display: grid; grid-template-columns: 1fr; gap: 0; counter-reset: step; }
@media (min-width: 720px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step { padding: 1.6rem 1.4rem 1.8rem 0; border-top: 1px solid var(--line-strong); position: relative; }
@media (min-width: 1000px) { .step { padding-right: 2rem; } }
.step::before { counter-increment: step; content: counter(step, decimal-leading-zero); font-family: var(--font-mono); font-size: .74rem; color: var(--wood-deep); letter-spacing: .08em; }
.step::after { content: ''; position: absolute; top: -3px; left: 0; width: 5px; height: 5px; background: var(--wood); }
.step h3 { font-size: 1.45rem; margin-top: .8rem; }
.step p { font-size: .93rem; margin-top: .6rem; }

/* ---------- Pacotes ---------- */
.plans { display: grid; grid-template-columns: 1fr; gap: 1px; background: var(--line-strong); border: 1px solid var(--line-strong); }
@media (min-width: 720px) { .plans { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .plans { grid-template-columns: repeat(4, 1fr); } }
.plan { position: relative; background: var(--paper); padding: 2rem 1.6rem 2.1rem; display: flex; flex-direction: column; gap: .9rem; }
.plan-name { font-family: var(--font-mono); font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; color: var(--wood-deep); }
.plan-for { font-size: .88rem; color: var(--ink-soft); min-height: 2.8em; }
.plan-price { padding: .9rem 0 .8rem; border-top: 1px solid var(--line); }
.plan-price .from { font-family: var(--font-mono); font-size: .66rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); display: block; }
.plan-price .amount { font-family: var(--font-display); font-size: 2.6rem; line-height: 1.1; }
.plan-price .per { font-family: var(--font-mono); font-size: .7rem; color: var(--muted); }
.plan-inc { display: flex; flex-direction: column; gap: .55rem; }
.plan-inc li { font-size: .87rem; color: var(--ink-soft); padding-left: 1.2em; position: relative; line-height: 1.45; }
.plan-inc li::before { content: '—'; position: absolute; left: 0; color: var(--wood); font-family: var(--font-mono); }
.plan .btn { margin-top: auto; }
.plan.is-featured { background: var(--ink); color: var(--paper); }
.plan.is-featured .plan-name { color: var(--wood-light); }
.plan.is-featured .plan-for, .plan.is-featured .plan-inc li { color: rgba(255,255,255,.7); }
.plan.is-featured .plan-price { border-color: rgba(255,255,255,.15); }
.plan.is-featured .plan-price .from, .plan.is-featured .plan-price .per { color: rgba(255,255,255,.5); }
.plan.is-featured .amount { color: var(--paper); }
.plan-tag { position: absolute; top: 0; right: 0; font-family: var(--font-mono); font-size: .62rem; letter-spacing: .1em; text-transform: uppercase; background: var(--wood); color: var(--paper); padding: .3em .7em; }
.plans-note { margin-top: 1.4rem; font-size: .84rem; color: var(--muted); max-width: 80ch; }

/* ---------- Faixa de destaque ---------- */
.callout { display: grid; grid-template-columns: 1fr; gap: 2rem; padding: clamp(2rem, 4vw, 3rem); border: 1px solid var(--line-strong); background: var(--paper); position: relative; }
@media (min-width: 860px) { .callout { grid-template-columns: 1.4fr 1fr; align-items: center; } }
.callout::before { content: ''; position: absolute; top: -1px; left: -1px; width: 64px; height: 5px; border-top: 1px solid var(--wood); border-bottom: 1px solid var(--wood); background: var(--paper); }

/* ---------- Números / fatos ---------- */
.facts { display: grid; grid-template-columns: 1fr; border-top: 1px solid rgba(255,255,255,.5); }
@media (min-width: 820px) { .facts { grid-template-columns: repeat(3, 1fr); } }
.fact { padding: 1.8rem 1.6rem 1.8rem 0; border-bottom: 1px solid rgba(255,255,255,.12); }
@media (min-width: 820px) { .fact { border-bottom: 0; border-right: 1px solid rgba(255,255,255,.12); padding-left: 1.6rem; } .fact:first-child { padding-left: 0; } .fact:last-child { border-right: 0; } }
.fact .k { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: var(--wood-light); }
.fact h3 { font-size: 1.5rem; margin-top: .7rem; }
.fact p { font-size: .92rem; margin-top: .6rem; }

/* ---------- Lista com marcador ---------- */
.check-list { display: flex; flex-direction: column; gap: .85rem; }
.check-list li { display: flex; gap: .9rem; font-size: .96rem; color: var(--ink-soft); }
.check-list li::before { content: ''; flex: none; width: 10px; height: 5px; margin-top: .62em; border-top: 1px solid var(--wood); border-bottom: 1px solid var(--wood); }
.on-ink .check-list li { color: rgba(255,255,255,.75); }

/* ---------- Tabela comparativa ---------- */
.table-wrap { overflow-x: auto; border-top: 1px solid var(--ink); }
.tbl { width: 100%; border-collapse: collapse; min-width: 640px; }
.tbl th, .tbl td { text-align: left; padding: 1rem 1rem 1rem 0; border-bottom: 1px solid var(--line); font-size: .92rem; vertical-align: top; }
.tbl th { font-family: var(--font-mono); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.tbl td:first-child { color: var(--ink); }
.tbl .yes { font-family: var(--font-mono); color: var(--wood-deep); }
.tbl .no { font-family: var(--font-mono); color: var(--line-strong); }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--ink); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { width: 100%; text-align: left; padding: 1.5rem 0; display: flex; justify-content: space-between; gap: 1.5rem; align-items: center; font-family: var(--font-display); font-size: 1.35rem; line-height: 1.25; }
.faq-q::after { content: '+'; font-family: var(--font-mono); font-size: 1.3rem; color: var(--wood); transition: transform .3s var(--ease); flex: none; }
.faq-item.is-open .faq-q::after { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); }
.faq-a p { padding-bottom: 1.5rem; max-width: 66ch; }

/* ---------- Página interna ---------- */
.page-hero { padding-block: clamp(3.5rem, 8vw, 6rem) clamp(3rem, 6vw, 4.5rem); }
.page-hero h1 { margin-top: 1.2rem; max-width: 18ch; }
.page-hero .lede { margin-top: 1.4rem; }
.crumb { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .06em; text-transform: uppercase; color: rgba(255,255,255,.45); margin-bottom: 2rem; }
.crumb a:hover { color: var(--paper); }

/* ---------- Formulário ---------- */
.form-card { background: var(--paper); border: 1px solid var(--line-strong); padding: clamp(1.6rem, 3.5vw, 2.8rem); position: relative; }
.form-card::before { content: ''; position: absolute; top: -1px; left: -1px; width: 64px; height: 5px; border-top: 1px solid var(--wood); border-bottom: 1px solid var(--wood); background: var(--paper); }
.form-grid { display: grid; grid-template-columns: 1fr; gap: 1.3rem; }
@media (min-width: 700px) { .form-grid { grid-template-columns: 1fr 1fr; } }
.field { display: flex; flex-direction: column; gap: .55rem; }
.field.full { grid-column: 1 / -1; }
.field label, .field legend { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .07em; text-transform: uppercase; color: var(--ink-soft); }
.field input, .field select, .field textarea {
  border: 0; border-bottom: 1px solid var(--line-strong); border-radius: 0;
  padding: .7em 0; background: transparent; font-size: 1rem; width: 100%;
}
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--wood) 50%), linear-gradient(135deg, var(--wood) 50%, transparent 50%); background-position: calc(100% - 10px) 55%, calc(100% - 5px) 55%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 1.6rem; }
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--wood); }
fieldset.field { border: 0; padding: 0; margin: 0; }
.choices { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: .3rem; }
.choice { position: relative; }
.choice input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; pointer-events: none; }
.choice span { display: inline-block; padding: .55em 1em; border: 1px solid var(--line-strong); font-size: .88rem; cursor: pointer; transition: border-color .2s, background .2s, color .2s; }
.choice input:checked + span { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.choice input:focus-visible + span { outline: 2px solid var(--wood); outline-offset: 2px; }
.consent { grid-column: 1 / -1; display: flex; gap: .7rem; align-items: flex-start; font-size: .84rem; color: var(--ink-soft); }
.consent input { margin-top: .3em; accent-color: var(--ink); }
.consent a { text-decoration: underline; text-underline-offset: 2px; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1.8rem; }
.form-status { font-family: var(--font-mono); font-size: .8rem; margin-top: 1rem; }
.form-status[data-state="ok"] { color: #4b6b4f; }
.form-status[data-state="err"] { color: #a5453b; }

/* ---------- CTA ---------- */
.cta-band { text-align: center; padding-block: clamp(4rem, 8vw, 6.5rem); }
.cta-band h2 { max-width: 20ch; margin: 1.2rem auto 0; }
.cta-band p { max-width: 52ch; margin: 1.2rem auto 0; }
.cta-band .btn-row { justify-content: center; margin-top: 2.2rem; }
.cta-band .rule-dbl { margin-inline: auto; }

/* ---------- Rodapé ---------- */
.site-footer { background: var(--ink); color: rgba(255,255,255,.7); padding-block: clamp(3.5rem, 7vw, 5rem) 2rem; }
.footer-top { display: grid; gap: 2.6rem; grid-template-columns: 1fr; padding-bottom: clamp(2.5rem, 5vw, 3.5rem); }
@media (min-width: 860px) { .footer-top { grid-template-columns: 1.5fr .8fr .8fr 1fr; } }
.footer-brand img { height: 56px; width: auto; margin-bottom: 1.2rem; }
.footer-brand p { max-width: 36ch; font-size: .92rem; color: rgba(255,255,255,.55); }
.footer-col h4 { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--wood-light); margin-bottom: 1.1rem; }
.footer-col ul { display: flex; flex-direction: column; gap: .6rem; }
.footer-col a, .footer-col p { font-size: .9rem; color: rgba(255,255,255,.68); }
.footer-col a:hover { color: var(--paper); }
.footer-legal { border-top: 1px solid rgba(255,255,255,.14); padding-top: 1.6rem; display: flex; flex-wrap: wrap; gap: .8rem 2rem; justify-content: space-between; font-family: var(--font-mono); font-size: .7rem; letter-spacing: .03em; color: rgba(255,255,255,.42); }
.footer-legal a:hover { color: var(--paper); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- WhatsApp ---------- */
.whatsapp-fab {
  position: fixed; right: clamp(1rem, 3vw, 2rem); bottom: clamp(1rem, 3vw, 2rem); z-index: 90;
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--ink); color: var(--paper);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 14px 30px -12px rgba(20,18,15,.5);
  transition: transform .3s var(--ease), background .3s;
}
.whatsapp-fab:hover { transform: translateY(-3px); background: var(--wood-deep); }
