/* ============================================================================
   TotalHost — folha de estilo única.
   Paleta derivada do logo: navy #0D0064 + cinza #545454.
   ========================================================================= */

:root {
  --ink: #07060f;
  --ink-2: #0b0918;
  --surface: #100d24;
  --surface-2: #17133a;

  --navy: #0d0064;
  --indigo: #5b4bff;
  --indigo-600: #4436e6;
  --indigo-300: #b8b1ff;
  --cyan: #22d3ee;
  --wa: #25d366;
  --wa-600: #1ab551;
  --ok: #34d399;

  --text: #eae9f6;
  --muted: #9e9cbb;
  --line: rgb(255 255 255 / 9%);
  --line-2: rgb(255 255 255 / 18%);

  --paper: #f5f5fa;
  --paper-text: #14122a;
  --paper-muted: #545454;
  --paper-line: #e2e1ee;

  --r: 14px;
  --r-lg: 22px;
  --wrap: 1160px;
  --nav-h: 72px;

  --shadow: 0 24px 60px -18px rgb(0 0 0 / 65%);
  --glow: 0 0 0 1px rgb(91 75 255 / 35%), 0 18px 50px -12px rgb(91 75 255 / 45%);

  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}

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

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

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  /* "clip" (e não "hidden") — hidden criaria um contexto de rolagem e quebraria
     o position:sticky da navegação. */
  overflow-x: clip;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }

:focus-visible {
  outline: 2px solid var(--indigo-300);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--indigo);
  color: #fff;
  padding: 12px 18px;
  border-radius: 0 0 10px;
}
.skip:focus { left: 0; }

.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.wrap--narrow { width: min(100% - 40px, 820px); }

.icon { width: 20px; height: 20px; flex: none; }

/* ─── Tipografia ─────────────────────────────────────────────────────────── */

h1, h2, h3 { line-height: 1.15; letter-spacing: -0.025em; margin: 0 0 .5em; font-weight: 800; }

.h1, h1 { font-size: clamp(2.1rem, 1.35rem + 3.2vw, 3.85rem); }
.h2, h2 { font-size: clamp(1.65rem, 1.15rem + 2vw, 2.6rem); }
.h3, h3 { font-size: 1.2rem; font-weight: 700; letter-spacing: -0.01em; }

p { margin: 0 0 1.1em; }
.lead { font-size: clamp(1.05rem, 1rem + .35vw, 1.24rem); color: var(--muted); }
.center { text-align: center; }
.muted { color: var(--muted); }

.grad {
  background: linear-gradient(100deg, var(--indigo-300), var(--cyan) 55%, #fff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--indigo-300);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--indigo);
  border-radius: 2px;
}

/* ─── Botões ─────────────────────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 22px;
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-size: .97rem;
  font-weight: 650;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: transform .18s, box-shadow .18s, background .18s, border-color .18s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: linear-gradient(180deg, var(--indigo), var(--indigo-600));
  color: #fff;
  box-shadow: var(--glow);
}
.btn--wa { background: var(--wa); color: #05230f; }
.btn--wa:hover { background: var(--wa-600); box-shadow: 0 16px 40px -12px rgb(37 211 102 / 55%); }
.btn--ghost {
  background: rgb(255 255 255 / 4%);
  color: var(--text);
  border: 1px solid var(--line-2);
}
.btn--ghost:hover { background: rgb(255 255 255 / 9%); }
.btn--lg { padding: 16px 30px; font-size: 1.03rem; }
.btn--block { width: 100%; }

.btn .icon { width: 19px; height: 19px; }

/* ─── Navegação ──────────────────────────────────────────────────────────── */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgb(7 6 15 / 65%);
  backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: background .25s, border-color .25s;
}
.nav.is-scrolled { background: rgb(7 6 15 / 92%); border-bottom-color: var(--line); }

.nav__in { display: flex; align-items: center; gap: 18px; height: var(--nav-h); }
.nav__brand { flex: none; display: flex; align-items: center; }
.nav__brand img { width: 136px; height: auto; }

.nav__menu { display: flex; align-items: center; gap: 22px; margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }

.nav__link {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 9px 13px;
  border: 0;
  border-radius: 10px;
  background: none;
  font: inherit;
  font-size: .93rem;
  font-weight: 550;
  color: var(--muted);
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: color .18s, background .18s;
}
.nav__link:hover { color: var(--text); background: rgb(255 255 255 / 6%); }
.nav__link[aria-current] { color: #fff; }
.nav__link[aria-current="page"] { background: rgb(91 75 255 / 20%); }

.nav__chev { width: 15px; height: 15px; transform: rotate(90deg); transition: transform .2s; opacity: .7; }
.nav__toggle[aria-expanded="true"] .nav__chev { transform: rotate(-90deg); }
.nav__toggle[aria-expanded="true"] { color: var(--text); background: rgb(255 255 255 / 6%); }

.nav__group { position: relative; }
.nav__grouplabel { display: none; }
.nav__sub {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  translate: -50% 0;
  width: 340px;
  padding: 8px;
  display: grid;
  gap: 4px;
  background: var(--surface-2);
  border: 1px solid var(--line-2);
  border-radius: 16px;
  box-shadow: var(--shadow);
  animation: dropIn .18s ease;
}
.nav__sub[hidden] { display: none; }
@keyframes dropIn { from { opacity: 0; transform: translateY(-6px); } }

.nav__sub a {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px;
  border-radius: 11px;
  text-decoration: none;
  color: var(--text);
  transition: background .16s;
}
.nav__sub a:hover, .nav__sub a[aria-current="page"] { background: rgb(91 75 255 / 16%); }
.nav__sub b { display: block; font-size: .93rem; font-weight: 650; }
.nav__sub small { display: block; font-size: .8rem; color: var(--muted); line-height: 1.45; margin-top: 2px; }
.nav__sub-ico {
  display: grid;
  place-content: center;
  flex: none;
  width: 36px; height: 36px;
  border-radius: 10px;
  background: rgb(91 75 255 / 18%);
  border: 1px solid rgb(139 128 255 / 26%);
  color: var(--indigo-300);
}
.nav__sub-ico .icon { width: 18px; height: 18px; }

.nav__cta .btn { padding: 10px 18px; font-size: .89rem; }

.nav__burger {
  display: none;
  margin-left: auto;
  width: 44px; height: 44px;
  padding: 0;
  background: rgb(255 255 255 / 4%);
  border: 1px solid var(--line-2);
  border-radius: 12px;
  cursor: pointer;
  place-content: center;
}
.nav__burger span {
  display: block;
  width: 18px; height: 2px;
  margin: 4px auto;
  background: var(--text);
  border-radius: 2px;
  transition: transform .25s, opacity .2s;
}
.nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Menu móvel: ancorado ao header (position:sticky cria o bloco de contenção). */
@media (max-width: 1024px) {
  .nav__burger { display: grid; }
  .nav__menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: grid;
    align-items: stretch;
    gap: 10px;
    margin: 0;
    padding: 16px 20px 24px;
    max-height: calc(100dvh - var(--nav-h));
    overflow-y: auto;
    overscroll-behavior: contain;
    background: var(--ink-2);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    transform: translateY(-10px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .2s, transform .2s, visibility .2s;
  }
  .nav__menu.is-open { transform: none; opacity: 1; visibility: visible; }

  .nav__list { flex-direction: column; align-items: stretch; gap: 4px; }
  .nav__link { padding: 14px 12px; font-size: 1rem; }

  /* No mobile o submenu fica sempre aberto: menos toques, tudo à vista.
     O botão dá lugar a um título de seção, que não é interativo. */
  .nav__group { position: static; }
  .nav__toggle { display: none; }
  .nav__grouplabel {
    display: block;
    padding: 18px 12px 8px;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--muted);
  }
  .nav__sub,
  .nav__sub[hidden] {
    display: grid;
    position: static;
    width: auto;
    translate: none;
    padding: 0;
    background: none;
    border: 0;
    box-shadow: none;
    animation: none;
  }
  .nav__cta .btn { width: 100%; padding: 15px; font-size: .97rem; }
}
@media (prefers-reduced-motion: reduce) { .nav__sub { animation: none; } }

/* ─── Seções ─────────────────────────────────────────────────────────────── */

.section { padding: clamp(64px, 8vw, 116px) 0; }
.section--alt { background: var(--ink-2); border-block: 1px solid var(--line); }
.section--paper {
  background: var(--paper);
  color: var(--paper-text);
}
.section--paper .lead, .section--paper .muted { color: var(--paper-muted); }
.section--paper .card { background: #fff; border-color: var(--paper-line); box-shadow: 0 10px 30px -20px rgb(20 18 42 / 40%); }
.section--paper .card p { color: var(--paper-muted); }
.section--paper .eyebrow { color: var(--indigo-600); }
.section--paper .ticks li { color: var(--paper-text); }

.section__head { max-width: 720px; margin: 0 auto clamp(38px, 5vw, 64px); text-align: center; }
.section__head p { margin: 0; }

/* ─── Hero ───────────────────────────────────────────────────────────────── */

.hero {
  position: relative;
  padding: clamp(48px, 6vw, 92px) 0 clamp(56px, 7vw, 100px);
  overflow: hidden;
  isolation: isolate;
}

/* Fundo animado */
.hero__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }

.aurora {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  will-change: transform;
}
.aurora--1 {
  width: 640px; height: 640px;
  top: -300px; left: -180px;
  background: radial-gradient(circle, rgb(91 75 255 / 62%), transparent 66%);
  animation: drift-1 24s ease-in-out infinite alternate;
}
.aurora--2 {
  width: 560px; height: 560px;
  top: -190px; right: -200px;
  background: radial-gradient(circle, rgb(13 0 100 / 95%), transparent 68%);
  animation: drift-2 30s ease-in-out infinite alternate;
}
.aurora--3 {
  width: 420px; height: 420px;
  bottom: -260px; left: 42%;
  background: radial-gradient(circle, rgb(34 211 238 / 26%), transparent 70%);
  animation: drift-3 26s ease-in-out infinite alternate;
}
@keyframes drift-1 { to { transform: translate3d(110px, 70px, 0) scale(1.14); } }
@keyframes drift-2 { to { transform: translate3d(-90px, 90px, 0) scale(1.1); } }
@keyframes drift-3 { to { transform: translate3d(-120px, -50px, 0) scale(1.2); } }

.hero__mesh {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgb(255 255 255 / 4%) 1px, transparent 1px),
    linear-gradient(to bottom, rgb(255 255 255 / 4%) 1px, transparent 1px);
  background-size: 62px 62px;
  mask-image: radial-gradient(ellipse 92% 62% at 50% 0%, #000 38%, transparent 100%);
  animation: mesh-drift 34s linear infinite;
}
@keyframes mesh-drift { to { background-position: 62px 62px; } }

@media (prefers-reduced-motion: reduce) {
  .aurora, .hero__mesh { animation: none; }
}

.hero__in {
  position: relative;
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: clamp(34px, 4.5vw, 68px);
  align-items: center;
}
.hero h1 { margin-bottom: 20px; }
.hero .lead { max-width: 54ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 26px; }

/* Selos curtos abaixo dos botões */
.chips { display: flex; flex-wrap: wrap; gap: 8px 18px; list-style: none; margin: 0 0 32px; padding: 0; }
.chips li { display: flex; align-items: center; gap: 7px; font-size: .86rem; color: var(--muted); }
.chips .icon { width: 16px; height: 16px; color: var(--ok); }

/* Cartão de formulário do hero, com selo flutuante */
.hero__panel { position: relative; }
.floatbadge {
  position: absolute;
  top: -16px;
  right: -10px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 15px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--indigo), var(--indigo-600));
  color: #fff;
  font-size: .8rem;
  font-weight: 700;
  box-shadow: 0 14px 34px -12px rgb(91 75 255 / 75%);
  animation: bob 5s ease-in-out infinite;
}
.floatbadge .icon { width: 16px; height: 16px; }
@keyframes bob { 50% { transform: translateY(-6px); } }
@media (prefers-reduced-motion: reduce) { .floatbadge { animation: none; } }

@media (max-width: 1024px) {
  .hero__in { grid-template-columns: 1fr; gap: 44px; }
  .hero .lead { max-width: none; }
  .floatbadge { top: -14px; right: 0; }
}
@media (max-width: 520px) {
  .hero__actions { gap: 10px; }
  .hero__actions .btn { width: 100%; }
  .chips { gap: 8px 14px; }
}

/* Hero das páginas internas: uma coluna, com breadcrumbs acima */
.hero--inner { padding-top: 18px; }
.hero--inner .hero__in { grid-template-columns: 1fr; }
.hero--inner .lead { max-width: 68ch; }

/* Hero em duas colunas (contato) — respeitando o ponto de quebra móvel */
.hero--inner .hero__in--split { grid-template-columns: 1.05fr .95fr; align-items: start; }
@media (max-width: 1024px) {
  .hero--inner .hero__in--split { grid-template-columns: 1fr; }
}

/* Duas colunas "nós x você" */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 760px) { .duo { grid-template-columns: 1fr; } }
.duo__col { padding: 28px; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--surface); }
.duo__col--ours { border-color: rgb(91 75 255 / 45%); background: linear-gradient(180deg, rgb(91 75 255 / 12%), var(--surface)); }
.duo__col h3 { margin-bottom: 16px; }

/* Etiquetas de tecnologia */
.tags { display: flex; flex-wrap: wrap; gap: 9px; padding: 0; margin: 0; list-style: none; }
.tags li {
  padding: 7px 14px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: rgb(255 255 255 / 3%);
  font-size: .85rem;
  color: var(--muted);
}

/* Passos numerados */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; counter-reset: s; }
.steps li {
  position: relative;
  padding: 22px 24px 22px 74px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
  counter-increment: s;
}
.steps li::before {
  content: counter(s);
  position: absolute;
  left: 24px; top: 22px;
  width: 32px; height: 32px;
  display: grid; place-content: center;
  border-radius: 50%;
  background: linear-gradient(180deg, var(--indigo), var(--indigo-600));
  color: #fff;
  font-weight: 700;
  font-size: .9rem;
}
.steps h3 { margin-bottom: 5px; font-size: 1.05rem; }
.steps p { margin: 0; color: var(--muted); font-size: .95rem; }
.section--paper .steps li { background: #fff; border-color: var(--paper-line); }
.section--paper .steps p { color: var(--paper-muted); }

/* Aviso discreto */
.note {
  margin-top: 30px;
  padding: 16px 18px;
  border-left: 3px solid var(--indigo);
  background: rgb(91 75 255 / 8%);
  border-radius: 0 var(--r) var(--r) 0;
  font-size: .88rem;
  color: var(--muted);
}
.section--paper .note { background: #eeecff; color: var(--paper-muted); }
.note p:last-child { margin-bottom: 0; }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 15px 7px 11px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: rgb(255 255 255 / 4%);
  font-size: .84rem;
  font-weight: 600;
  color: var(--indigo-300);
  margin-bottom: 24px;
}
.pill .icon { width: 16px; height: 16px; }
.dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 0 rgb(52 211 153 / 70%);
  animation: pulse 2.4s infinite;
}
@keyframes pulse {
  70% { box-shadow: 0 0 0 9px rgb(52 211 153 / 0%); }
  100% { box-shadow: 0 0 0 0 rgb(52 211 153 / 0%); }
}
@media (prefers-reduced-motion: reduce) { .dot { animation: none; } }

/* Faixa de números do hero */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}
.stat__n {
  display: block;
  font-size: clamp(1.3rem, 1.1rem + .7vw, 1.7rem);
  font-weight: 800;
  letter-spacing: -.02em;
  color: #fff;
}
.stat__l { font-size: .8rem; color: var(--muted); line-height: 1.35; display: block; }
@media (max-width: 560px) { .stats { grid-template-columns: repeat(2, 1fr); gap: 20px 10px; } }

/* ─── Cards ──────────────────────────────────────────────────────────────── */

.grid { display: grid; gap: 20px; }
.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 940px) { .cols-3, .cols-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .cols-2, .cols-3, .cols-4 { grid-template-columns: 1fr; } }

.card {
  position: relative;
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  transition: border-color .22s, transform .22s, background .22s;
}
.card:hover { border-color: var(--line-2); transform: translateY(-3px); }
.card h3 { margin-bottom: 8px; }
.card p { margin: 0; color: var(--muted); font-size: .96rem; }

.card__ico {
  display: grid;
  place-content: center;
  width: 46px; height: 46px;
  margin-bottom: 18px;
  border-radius: 13px;
  background: linear-gradient(160deg, rgb(91 75 255 / 30%), rgb(13 0 100 / 30%));
  border: 1px solid rgb(139 128 255 / 30%);
  color: var(--indigo-300);
}
.card__ico .icon { width: 23px; height: 23px; }
.section--paper .card__ico {
  background: linear-gradient(160deg, #eeecff, #f7f6ff);
  border-color: #ddd9ff;
  color: var(--indigo-600);
}

/* Card de localidade */
.loc { display: flex; gap: 16px; align-items: flex-start; }
.loc__flag {
  display: inline-block;   /* para que margens verticais façam efeito */
  font-size: 1.7rem;
  line-height: 1;
  filter: saturate(1.1);
}
.loc h3 { font-size: 1.05rem; margin-bottom: 4px; }
.loc p { font-size: .9rem; }

/* ─── Listas de checagem ─────────────────────────────────────────────────── */

.ticks { list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 11px; }
.ticks li { display: flex; gap: 11px; align-items: flex-start; font-size: .97rem; }
.ticks .icon { width: 20px; height: 20px; margin-top: 3px; color: var(--ok); }

.ticks--2 { grid-template-columns: 1fr 1fr; gap: 12px 26px; }
@media (max-width: 640px) { .ticks--2 { grid-template-columns: 1fr; } }

/* ─── Bloco split (texto + visual) ───────────────────────────────────────── */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(30px, 5vw, 66px);
  align-items: center;
}
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

/* Painel de status decorativo */
.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 22px;
  box-shadow: var(--shadow);
}
.panel__bar {
  display: flex; align-items: center; gap: 7px;
  padding-bottom: 16px; margin-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.panel__bar i { width: 10px; height: 10px; border-radius: 50%; background: #2f2b52; }
.panel__bar span { margin-left: auto; font-size: .78rem; color: var(--muted); }
.panel__row {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 0;
  border-bottom: 1px dashed var(--line);
  font-size: .92rem;
}
.panel__row:last-child { border-bottom: 0; }
.panel__row b { font-weight: 600; }
.panel__row .up { margin-left: auto; color: var(--ok); font-weight: 700; font-size: .86rem; }
.panel__row .ms { color: var(--muted); font-size: .82rem; font-variant-numeric: tabular-nums; }

/* ─── Formulário de captação ─────────────────────────────────────────────── */

.leadform {
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line-2);
  border-radius: var(--r-lg);
  padding: clamp(22px, 3vw, 32px);
  box-shadow: var(--shadow);
}
.leadform__title { font-size: 1.35rem; margin-bottom: 6px; }
.leadform__sub { font-size: .92rem; color: var(--muted); margin-bottom: 22px; }
.leadform__legal { font-size: .74rem; color: var(--muted); margin: 14px 0 0; line-height: 1.5; }

.field { margin-bottom: 15px; }
.field label {
  display: block;
  font-size: .84rem;
  font-weight: 600;
  margin-bottom: 6px;
}
.field .opt { font-weight: 400; color: var(--muted); }

.field input, .field select, .field textarea {
  width: 100%;
  padding: 13px 15px;
  background: rgb(0 0 0 / 32%);
  border: 1px solid var(--line-2);
  border-radius: 11px;
  color: var(--text);
  font: inherit;
  font-size: .95rem;
  transition: border-color .18s, box-shadow .18s;
}
.field textarea { resize: vertical; min-height: 84px; }
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239e9cbb' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 13px center;
  background-size: 17px;
  padding-right: 40px;
}
.field input::placeholder, .field textarea::placeholder { color: #8b89a3; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 0;
  border-color: var(--indigo);
  box-shadow: 0 0 0 3px rgb(91 75 255 / 25%);
}
.field input:user-invalid { border-color: #f87171; }

/* Honeypot: fora da tela, mas presente no DOM para atrair robôs. */
.hp {
  position: absolute;
  left: -9999px;
  width: 1px; height: 1px;
  overflow: hidden;
}

.alert {
  padding: 11px 14px;
  margin-bottom: 16px;
  border-radius: 10px;
  background: rgb(248 113 113 / 12%);
  border: 1px solid rgb(248 113 113 / 40%);
  color: #fca5a5;
  font-size: .88rem;
}

/* ─── CTA final ──────────────────────────────────────────────────────────── */

.cta { background: var(--ink-2); border-top: 1px solid var(--line); }
.cta__in {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: clamp(30px, 5vw, 64px);
  align-items: center;
}
@media (max-width: 900px) { .cta__in { grid-template-columns: 1fr; } }

/* ─── FAQ ────────────────────────────────────────────────────────────────── */

.faq { display: grid; gap: 12px; }
.faq details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
}
.faq details[open] { border-color: var(--line-2); }
.faq summary {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::marker { content: ""; }
.faq__chev {
  margin-left: auto;
  width: 18px; height: 18px;
  color: var(--indigo-300);
  transform: rotate(90deg);
  transition: transform .22s;
}
.faq details[open] .faq__chev { transform: rotate(-90deg); }
.faq__a { padding: 0 20px 20px; color: var(--muted); font-size: .96rem; }
.faq__a p:last-child { margin-bottom: 0; }
.faq__a a { color: var(--indigo-300); }

/* ─── Breadcrumbs ────────────────────────────────────────────────────────── */

.crumbs { position: relative; z-index: 1; padding-top: 22px; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; font-size: .82rem; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 8px; opacity: .5; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--text); }
.crumbs [aria-current] { color: var(--text); }

/* ─── Rodapé ─────────────────────────────────────────────────────────────── */

.foot { background: var(--ink-2); border-top: 1px solid var(--line); padding: 66px 0 30px; }
.foot__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
}
@media (max-width: 860px) { .foot__grid { grid-template-columns: 1fr 1fr; gap: 34px; } }
@media (max-width: 480px) { .foot__grid { grid-template-columns: 1fr; } }

.foot img { width: 150px; height: auto; margin-bottom: 16px; }
.foot p { font-size: .9rem; color: var(--muted); max-width: 34ch; }
.foot h4 { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: #fff; margin: 0 0 14px; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.foot a { color: var(--muted); text-decoration: none; font-size: .91rem; }
.foot a:hover { color: var(--text); }
.foot__bottom {
  margin-top: 50px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  font-size: .82rem;
  color: var(--muted);
}

/* ─── Botão flutuante do WhatsApp ────────────────────────────────────────── */

.wafloat {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 45;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 18px;
  border-radius: 999px;
  background: var(--wa);
  color: #05230f;
  font-weight: 650;
  font-size: .93rem;
  text-decoration: none;
  box-shadow: 0 14px 36px -10px rgb(37 211 102 / 60%);
  transition: transform .2s;
}
.wafloat:hover { transform: translateY(-2px) scale(1.02); }
.wafloat .icon { width: 22px; height: 22px; }
@media (max-width: 560px) {
  .wafloat span { display: none; }
  .wafloat { padding: 15px; right: 14px; bottom: 14px; }
}

/* ─── Animação de entrada ────────────────────────────────────────────────── */

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn:hover, .card:hover, .wafloat:hover { transform: none; }
}

/* ─── Página de erro / obrigado ──────────────────────────────────────────── */

.middle {
  min-height: 62vh;
  display: grid;
  place-content: center;
  text-align: center;
  padding: 80px 0;
}
.middle .big {
  font-size: clamp(4rem, 12vw, 8rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.05em;
  margin: 0 0 10px;
}
.middle .actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 26px; }
