/* ==========================================================================
   UNEV — Landing page
   Conceito: grid institucional sobre marfim; o "E" da logo (três barras
   douradas = etapas/progressão) é o único elemento gráfico recorrente.
   ========================================================================== */

/* Fontes self-hosted (SIL OFL) — sem dependência do Google Fonts */
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 200 800; font-display: swap; src: url("../assets/fonts/manrope-latin-wght-normal.woff2") format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Newsreader"; font-style: italic; font-weight: 400; font-display: swap; src: url("../assets/fonts/newsreader-latin-400-italic.woff2") format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }

:root {
  /* Cores da marca (briefing) */
  --purple: #2E1B4B;        /* Roxo UNEV — confiança, solidez */
  --purple-deep: #21133A;   /* variação para rodapé */
  --purple-hover: #3E2766;
  --gold: #D4AB53;          /* Dourado — valorização, evolução */
  --gold-hover: #E0BD6E;
  --gold-ink: #7E5D14;      /* dourado escurecido p/ texto pequeno sobre fundo claro (AA) */
  --ivory: #F7F6F9;         /* Marfim — clareza */
  --paper: #FFFFFF;
  --tint: #EEEBF3;          /* marfim com viés roxo, para seções alternadas */
  --ink: #1A1A1A;           /* Carvão — base */
  --muted: #565065;         /* cinza com viés roxo */
  --line: rgba(46, 27, 75, .14);
  --line-strong: rgba(46, 27, 75, .32);
  --line-dark: rgba(247, 246, 249, .16);
  --on-dark: #F7F6F9;
  --on-dark-muted: rgba(247, 246, 249, .74);
  --error: #B42318;
  --wa: #1FA855;

  /* Tipografia */
  --font-sans: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-serif: "Newsreader", Georgia, "Times New Roman", serif;

  --fs-display: clamp(2.65rem, 1.2rem + 5.6vw, 5.75rem);
  --fs-h2: clamp(2rem, 1.25rem + 2.7vw, 3.5rem);
  --fs-h3: clamp(1.2rem, 1.08rem + .45vw, 1.45rem);
  --fs-lead: clamp(1.125rem, 1.04rem + .4vw, 1.375rem);
  --fs-body: 1.0625rem;
  --fs-small: .9375rem;
  --fs-label: .75rem;

  /* Espaço */
  --gutter: max(20px, env(safe-area-inset-left, 0px));
  --gutter-r: max(20px, env(safe-area-inset-right, 0px));
  --section: clamp(72px, 6vw + 40px, 140px);
  --radius: 4px;
  --header-h: 72px;

  color-scheme: light;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 2px; }
::selection { background: var(--gold); color: var(--purple); }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 16px; top: -100px; z-index: 100; background: var(--purple); color: var(--on-dark); padding: 12px 18px; border-radius: var(--radius); font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }
.nowrap { white-space: nowrap; }

.wrap {
  width: 100%;
  max-width: 1280px;
  margin-inline: auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter-r);
}
@media (min-width: 768px) { :root { --gutter: max(40px, env(safe-area-inset-left, 0px)); --gutter-r: max(40px, env(safe-area-inset-right, 0px)); } }

/* ---------- Tipografia ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: var(--fs-label); font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--gold-ink);
  margin-bottom: 20px;
}
.eyebrow::before { content: ""; width: 24px; height: 3px; border-radius: 2px; background: var(--gold); }
.eyebrow-gold { color: var(--gold); }

.display {
  font-size: var(--fs-display); font-weight: 800; line-height: .98; letter-spacing: -.04em;
  color: var(--purple); text-wrap: balance;
}
.h2 {
  font-size: var(--fs-h2); font-weight: 700; line-height: 1.06; letter-spacing: -.03em;
  color: var(--purple); text-wrap: balance; max-width: 20ch;
}
.h2-light { color: var(--on-dark); }
.lead { font-size: var(--fs-lead); line-height: 1.5; color: var(--muted); max-width: 34ch; }
.lead-sm { font-size: clamp(1.125rem, 1.05rem + .3vw, 1.3rem); line-height: 1.55; color: var(--ink); }
.label { display: block; font-size: var(--fs-label); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.section-intro { margin-top: 20px; color: var(--muted); max-width: 46ch; font-size: 1.125rem; }
.prose { display: grid; gap: 20px; max-width: 60ch; }
.prose p:not(.lead-sm) { color: var(--muted); }
.inline-link { color: var(--purple); font-weight: 700; text-underline-offset: 4px; text-decoration-thickness: 1.5px; text-decoration-color: var(--gold); }

/* ---------- Barras (elemento do "E" da logo) ---------- */
.bars { display: inline-grid; gap: var(--bg, 6px); width: var(--bw, 28px); }
.bars i { display: block; height: var(--bh, 5px); border-radius: calc(var(--bh, 5px) * .2); background: var(--gold); }
.bars i:nth-child(2) { width: 81%; }  /* proporção do E oficial: 128 / 104 / 128 */
.bars-sm { --bw: 28px; --bh: 5px; --bg: 5px; }
.bars-lg { --bw: 64px; --bh: 12px; --bg: 10px; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 24px;
  border: 1.5px solid transparent; border-radius: var(--radius);
  font: 700 1rem/1.2 var(--font-sans); letter-spacing: -.005em;
  text-decoration: none; cursor: pointer; text-align: center;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}
.btn:active { transform: translateY(1px); }
.btn-lg { min-height: 56px; padding: 0 30px; font-size: 1.0625rem; }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: .9375rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--purple); color: var(--on-dark); }
.btn-primary:hover { background: var(--purple-hover); }
.btn-ghost { border-color: var(--purple); color: var(--purple); background: transparent; }
.btn-ghost:hover { background: var(--purple); color: var(--on-dark); }
.btn-gold { background: var(--gold); color: var(--purple); }
.btn-gold:hover { background: var(--gold-hover); }
.btn[disabled] { opacity: .7; cursor: progress; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 4px;
  font-weight: 700; color: var(--purple); text-decoration: none;
  border-bottom: 1.5px solid var(--gold); align-self: flex-start; padding-block: 10px 2px;
}
.link-arrow span[aria-hidden] { transition: transform .2s ease; }
.link-arrow:hover span[aria-hidden] { transform: translateX(4px); }

/* ---------- Placeholders "A PREENCHER" ---------- */
.todo {
  display: inline-block; max-width: 100%;
  font-size: .8125rem; font-weight: 600; line-height: 1.4; letter-spacing: 0;
  color: var(--gold-ink); background: rgba(212, 171, 83, .12);
  border: 1px dashed rgba(126, 93, 20, .55); border-radius: 3px;
  padding: .35em .6em;
}
.todo::before { content: "A PREENCHER · "; font-weight: 800; letter-spacing: .04em; }
.todo-dark { color: var(--gold); background: rgba(212, 171, 83, .08); border-color: rgba(212, 171, 83, .45); }
.hide-todo .todo { display: none !important; }

/* ==========================================================================
   1. HEADER
   ========================================================================== */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--ivory); }
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease;
}
/* o blur fica num pseudo-elemento para não prender o menu mobile (position: fixed) dentro do header */
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(247, 246, 249, .9);
  -webkit-backdrop-filter: saturate(1.4) blur(12px); backdrop-filter: saturate(1.4) blur(12px);
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.menu-open .site-header::before { background: var(--ivory); }
.header-row { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.brand { display: inline-flex; flex-shrink: 0; margin-right: auto; padding: 6px 0; }
.brand img { height: 28px; width: auto; }

.nav ul { display: flex; gap: 4px; }
.nav a:not(.btn) {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px;
  font-size: .9375rem; font-weight: 600; color: var(--ink); text-decoration: none;
  border-radius: var(--radius); transition: color .2s ease;
}
.nav a:not(.btn):hover { color: var(--purple); text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 8px; }
.nav-cta-mobile { display: none; }

.menu-toggle {
  display: none; width: 48px; height: 48px; margin-right: -12px;
  background: none; border: 0; cursor: pointer; color: var(--purple);
  align-items: center; justify-content: center;
}
.menu-icon { display: grid; gap: 5px; width: 24px; }
.menu-icon i { display: block; height: 2.5px; border-radius: 2px; background: currentColor; transition: transform .25s ease, opacity .2s ease, width .25s ease; }
.menu-icon i:nth-child(2) { width: 78%; }
.menu-open .menu-icon i:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.menu-open .menu-icon i:nth-child(2) { opacity: 0; }
.menu-open .menu-icon i:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

@media (max-width: 959px) {
  .menu-toggle { display: inline-flex; }
  .nav {
    position: fixed; left: 0; right: 0; top: calc(var(--header-h) + env(safe-area-inset-top, 0px)); bottom: 0;
    padding: 24px var(--gutter-r) calc(32px + env(safe-area-inset-bottom, 0px)) var(--gutter);
    background: var(--ivory); border-top: 1px solid var(--line);
    display: flex; flex-direction: column; gap: 24px;
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s;
    overflow-y: auto;
  }
  .menu-open .nav { visibility: visible; opacity: 1; transform: none; transition: opacity .2s ease, transform .2s ease; }
  .menu-open body { overflow: hidden; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav li { border-bottom: 1px solid var(--line); }
  .nav a:not(.btn) { width: 100%; min-height: 60px; padding: 0; font-size: 1.375rem; font-weight: 700; color: var(--purple); }
  .nav-cta-mobile { display: inline-flex; min-height: 56px; }
}
@media (max-width: 599px) { .header-cta { display: none; } }
@media (min-width: 960px) { .brand img { height: 30px; } }

/* ==========================================================================
   2. HERO
   ========================================================================== */
.hero { padding-block: clamp(40px, 5vw, 88px) clamp(64px, 7vw, 120px); overflow: clip; }
.hero-grid { display: grid; gap: 48px; align-items: center; }
.hero-copy { display: grid; justify-items: start; min-width: 0; }
.hero-copy .display { margin-bottom: 28px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero-points {
  display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 40px; padding-top: 24px;
  border-top: 1px solid var(--line); width: 100%;
  font-size: var(--fs-small); font-weight: 600; color: var(--muted);
}
.hero-points li { display: inline-flex; align-items: center; gap: 10px; }
.hero-points li::before { content: ""; width: 12px; height: 3px; border-radius: 2px; background: var(--gold); }

.hero-media { position: relative; min-width: 0; }
.hero-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); background: var(--tint); }
.bars-hero { position: absolute; left: -22px; bottom: 40px; --bw: 112px; --bh: 22px; --bg: 22px; }

@media (max-width: 599px) {
  .actions .btn { width: 100%; }
  .hero-media img { aspect-ratio: 1 / 1; }
  .bars-hero { left: auto; right: 20px; bottom: -24px; --bw: 72px; --bh: 14px; --bg: 14px; }
}
@media (min-width: 960px) {
  .hero-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(48px, 6vw, 96px); }
  .bars-hero { left: -56px; }
}

/* entrada suave (apenas o hero, uma vez) */
@media (prefers-reduced-motion: no-preference) {
  .hero-copy > * { animation: rise .7s cubic-bezier(.2, .7, .2, 1) both; }
  .hero-copy > :nth-child(2) { animation-delay: .06s; }
  .hero-copy > :nth-child(3) { animation-delay: .12s; }
  .hero-copy > :nth-child(4) { animation-delay: .18s; }
  .hero-copy > :nth-child(5) { animation-delay: .24s; }
  .bars-hero i { animation: grow .9s cubic-bezier(.2, .7, .2, 1) both; transform-origin: left; }
  .bars-hero i:nth-child(2) { animation-delay: .1s; }
  .bars-hero i:nth-child(3) { animation-delay: .2s; }
}
@keyframes rise { from { opacity: .001; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* ==========================================================================
   Seções genéricas
   ========================================================================== */
.section { padding-block: var(--section); }
.section-tint { background: var(--tint); }
.section-head { margin-bottom: clamp(40px, 5vw, 72px); }
.split { display: grid; gap: 32px; }
.split > * { min-width: 0; }
@media (min-width: 960px) {
  .split { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(48px, 7vw, 112px); align-items: start; }
  .split .prose { padding-top: 44px; }
  .split-sticky .sticky-col { position: sticky; top: calc(var(--header-h) + 48px); }
}

/* ==========================================================================
   3. SOBRE
   ========================================================================== */
.wide-media { margin-top: clamp(48px, 6vw, 88px); }
.wide-media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); background: var(--tint); }
@media (min-width: 768px) { .wide-media img { aspect-ratio: 21 / 9; } }

.audience { margin-top: clamp(48px, 6vw, 88px); }
.audience-list { display: grid; gap: 0; margin-top: 20px; }
.audience-list li { display: grid; gap: 8px; padding-block: 24px; border-top: 1px solid var(--line-strong); }
.audience-list strong { font-size: 1.125rem; font-weight: 700; color: var(--purple); letter-spacing: -.01em; }
.audience-list span { color: var(--muted); font-size: var(--fs-small); }
@media (min-width: 640px) { .audience-list { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 40px; } }
@media (min-width: 1100px) { .audience-list { grid-template-columns: repeat(4, minmax(0, 1fr)); } .audience-list li { padding-right: 8px; } }

/* ==========================================================================
   4. ÁREAS
   ========================================================================== */
.areas {
  display: grid; gap: 1px; background: var(--line-strong);
  border-block: 1px solid var(--line-strong);
}
.area {
  display: flex; flex-direction: column; gap: 16px; align-items: flex-start;
  padding: clamp(28px, 3.5vw, 48px) 0; background: var(--tint);
  transition: background-color .25s ease;
}
.area h3 { font-size: clamp(1.4rem, 1.2rem + .8vw, 1.85rem); font-weight: 700; letter-spacing: -.02em; line-height: 1.15; color: var(--purple); margin-top: 8px; }
.area p:not(.todo) { color: var(--muted); max-width: 40ch; }
.area .link-arrow { margin-top: auto; }
.area .todo { margin-bottom: 8px; }
@media (min-width: 768px) {
  .areas { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .area { padding-inline: clamp(28px, 3.5vw, 48px); }
  .area:hover { background: var(--ivory); }
}

/* ==========================================================================
   5. DIFERENCIAIS
   ========================================================================== */
.features { display: grid; }
.feature { display: grid; gap: 12px; padding-block: 32px; border-top: 1px solid var(--line-strong); }
.feature:last-child { border-bottom: 1px solid var(--line-strong); }
.feature h3 { font-size: var(--fs-h3); font-weight: 700; letter-spacing: -.015em; line-height: 1.25; color: var(--purple); max-width: 30ch; }
.feature p:not(.todo) { color: var(--muted); max-width: 54ch; }
.feature .todo { justify-self: start; }

/* ==========================================================================
   6. MANIFESTO
   ========================================================================== */
.manifesto { background: var(--purple); color: var(--on-dark); padding-block: clamp(88px, 10vw, 168px); overflow: clip; }
.manifesto-grid { display: grid; gap: 40px; }
.manifesto-lines {
  display: grid; gap: .08em;
  font-size: clamp(2.6rem, 1rem + 7vw, 7.25rem); font-weight: 800; line-height: 1.02; letter-spacing: -.045em;
  color: var(--on-dark);
}
.manifesto-lines span { display: flex; align-items: center; flex-wrap: wrap; column-gap: .28em; }
.manifesto-lines i { flex: none; display: block; width: .82em; height: .17em; border-radius: .035em; background: var(--gold); }
.manifesto-lines span:nth-child(2) i { width: .66em; }
.manifesto-lines em { font-family: var(--font-serif); font-style: italic; font-weight: 400; letter-spacing: -.02em; color: var(--gold); }
.manifesto-text { display: grid; gap: 20px; max-width: 980px; padding-top: 40px; border-top: 1px solid var(--line-dark); color: var(--on-dark-muted); font-size: 1.125rem; }
@media (min-width: 768px) { .manifesto-text { grid-template-columns: 1fr 1fr; gap: 48px; } }
@media (max-width: 479px) { .manifesto-lines i { width: .6em; } .manifesto-lines span:nth-child(2) i { width: .48em; } }

/* ==========================================================================
   7. COMO FUNCIONA
   ========================================================================== */
.steps-layout { display: grid; gap: 48px; }
.steps { display: grid; counter-reset: step; }
.step { display: grid; gap: 10px; padding-block: 32px; border-top: 1px solid var(--line-strong); }
.step:last-child { border-bottom: 1px solid var(--line-strong); }
.step-bar { display: flex; gap: 6px; margin-bottom: 8px; }
.step-bar i { display: block; width: 32px; height: 6px; border-radius: 2px; background: var(--line-strong); }
.step:nth-child(1) .step-bar i:nth-child(-n+1),
.step:nth-child(2) .step-bar i:nth-child(-n+2),
.step:nth-child(3) .step-bar i:nth-child(-n+3) { background: var(--gold); }
.step-num { font-size: var(--fs-label); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-ink); }
.step h3 { font-size: var(--fs-h3); font-weight: 700; letter-spacing: -.015em; color: var(--purple); }
.step p:not(.todo) { color: var(--muted); max-width: 48ch; }
.step .todo { justify-self: start; }
.steps-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); background: var(--tint); }
@media (min-width: 960px) {
  .steps-layout { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(48px, 6vw, 96px); align-items: center; }
  .steps-media img { aspect-ratio: 4 / 5; }
}

/* ==========================================================================
   8. CONFIANÇA (área reservada)
   ========================================================================== */
.proof { display: grid; gap: 24px; }
.slot { border: 1px dashed var(--line-strong); border-radius: var(--radius); background: rgba(255, 255, 255, .4); }
.metrics { display: grid; gap: 24px; }
.metric { display: grid; gap: 12px; align-content: start; padding: 32px; }
.metric-value { font-size: clamp(2.5rem, 2rem + 2vw, 3.75rem); font-weight: 800; line-height: 1; letter-spacing: -.04em; color: var(--purple); font-variant-numeric: tabular-nums; }
.metric-label { justify-self: start; }
.testimonial { display: grid; gap: 16px; padding: 32px; }
.testimonial footer { font-size: var(--fs-small); }
.partners { display: grid; gap: 16px; padding: 32px; justify-items: start; }
@media (min-width: 768px) {
  .metrics { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .proof { grid-template-columns: 1fr 1fr; }
  .metrics { grid-column: 1 / -1; }
}

/* ==========================================================================
   9. FAQ
   ========================================================================== */
.faq { border-top: 1px solid var(--line-strong); }
.faq details { border-bottom: 1px solid var(--line-strong); }
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  min-height: 72px; padding-block: 20px; cursor: pointer; list-style: none;
  font-size: clamp(1.0625rem, 1rem + .3vw, 1.25rem); font-weight: 700; letter-spacing: -.01em; color: var(--purple);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 14px; height: 14px;
  background:
    linear-gradient(var(--purple), var(--purple)) center / 14px 2px no-repeat,
    linear-gradient(var(--purple), var(--purple)) center / 2px 14px no-repeat;
  transition: transform .25s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--purple-hover); }
.faq-body { display: grid; gap: 12px; justify-items: start; padding: 0 40px 28px 0; color: var(--muted); max-width: 64ch; }

/* ==========================================================================
   10. CONTATO
   ========================================================================== */
.contact { background: var(--purple); color: var(--on-dark); padding-block: var(--section); }
.contact-grid { display: grid; gap: 48px; align-items: start; }
.contact-copy { display: grid; gap: 24px; justify-items: start; min-width: 0; }
.contact-copy .bars { margin-bottom: 8px; }
.contact-copy .h2 { max-width: 14ch; }
.contact-copy p { color: var(--on-dark-muted); font-size: 1.125rem; max-width: 42ch; }
.contact-copy .btn { margin-top: 8px; }
@media (max-width: 599px) { .contact-copy .btn { width: 100%; } }

.form-card { background: var(--paper); color: var(--ink); border-radius: var(--radius); padding: clamp(24px, 4vw, 48px); min-width: 0; }
.lead-form { display: grid; gap: 20px; }
.form-title { font-size: 1.5rem; font-weight: 700; letter-spacing: -.02em; color: var(--purple); }
.form-hint { font-size: var(--fs-small); color: var(--muted); margin-top: -12px; }
.field { display: grid; gap: 8px; }
.field label { font-size: var(--fs-small); font-weight: 700; color: var(--ink); }
.field input, .field select {
  width: 100%; min-height: 54px; padding: 0 16px;
  font: 500 1rem var(--font-sans); color: var(--ink);
  background: var(--paper); border: 1.5px solid var(--line-strong); border-radius: var(--radius);
  transition: border-color .2s ease, box-shadow .2s ease;
  -webkit-appearance: none; appearance: none;
}
.field select {
  padding-right: 44px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1.5l6 6 6-6' fill='none' stroke='%232E1B4B' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center;
}
.field input::placeholder { color: #8A8496; }
.field input:hover, .field select:hover { border-color: var(--purple); }
.field input:focus, .field select:focus { outline: none; border-color: var(--purple); box-shadow: 0 0 0 3px rgba(212, 171, 83, .55); }
.field-error { font-size: .875rem; font-weight: 600; color: var(--error); min-height: 0; }
.field-error:empty { display: none; }
.has-error input, .has-error select { border-color: var(--error); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-legal { font-size: .8125rem; line-height: 1.5; color: var(--muted); }
.form-legal a { color: var(--purple); font-weight: 600; text-underline-offset: 3px; }
.form-status { font-size: .9375rem; font-weight: 600; color: var(--error); }
.form-status:empty { display: none; }
.form-success { display: grid; gap: 16px; justify-items: start; padding-block: 24px; }
.form-success[hidden] { display: none; }
.form-success:focus { outline: none; }
.form-success h3 { font-size: 1.75rem; font-weight: 700; letter-spacing: -.02em; color: var(--purple); }
.form-success p { color: var(--muted); }

@media (min-width: 960px) {
  .contact-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(48px, 7vw, 112px); }
  .contact-copy { position: sticky; top: calc(var(--header-h) + 48px); }
}

/* ==========================================================================
   11. FOOTER
   ========================================================================== */
.site-footer { background: var(--purple-deep); color: var(--on-dark-muted); padding-block: clamp(64px, 7vw, 104px) calc(32px + env(safe-area-inset-bottom, 0px)); font-size: var(--fs-small); }
.footer-grid { display: grid; gap: 40px; }
.footer-brand img { width: 220px; }
.footer-tagline { margin-top: 20px; color: var(--on-dark); font-weight: 600; }
.footer-title { font-size: var(--fs-label); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; }
.footer-col ul { display: grid; gap: 4px; }
.footer-col a { display: inline-flex; min-height: 36px; align-items: center; text-decoration: none; color: var(--on-dark-muted); }
.footer-col a:hover { color: var(--on-dark); text-decoration: underline; text-underline-offset: 4px; }
.footer-legal { display: grid; gap: 10px; margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--line-dark); font-size: .8125rem; line-height: 1.6; }
.footer-legal strong { color: var(--on-dark); font-weight: 600; }
@media (min-width: 640px) { .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .footer-brand { grid-column: 1 / -1; } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } .footer-brand { grid-column: auto; } }

/* ---------- WhatsApp flutuante ---------- */
.wa-float {
  position: fixed; z-index: 40;
  right: calc(20px + env(safe-area-inset-right, 0px)); bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--wa); color: #fff;
  box-shadow: 0 8px 24px rgba(33, 19, 58, .22);
  transition: transform .2s ease, background-color .2s ease;
}
.wa-float:hover { transform: translateY(-2px); background: #1B9A4D; }
.menu-open .wa-float { display: none; }

/* ---------- Movimento reduzido ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
