/* =========================================================================
   GRUPO INVEXUS — Folha de estilos principal
   -------------------------------------------------------------------------
   Organização:
   1. Fontes (auto-hospedadas — nenhuma requisição a terceiros / LGPD)
   2. Tokens de design (cores, tipografia, espaçamento) — edite aqui
   3. Base e utilitários
   4. Cabeçalho e navegação
   5. Hero
   6. Empresas (cards)
   7. Sobre / Diferenciais / Como atuamos
   8. FAQ
   9. Contato e formulário
   10. Rodapé, banner de cookies, páginas legais
   11. Animações e preferências de acessibilidade
   ========================================================================= */

/* 1. FONTES ------------------------------------------------------------- */
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  src: url("../fonts/montserrat-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* 2. TOKENS ------------------------------------------------------------- */
:root {
  /* Paleta extraída das logomarcas oficiais do Grupo INVEXUS */
  --navy-900: #050b26;
  --navy-800: #071135;   /* azul-marinho da tipografia "INVEXUS" */
  --navy-700: #0d1a4a;
  --navy-600: #1b2a63;
  --blue-500: #067cfa;   /* azul do símbolo INVEXUS Capital */
  --blue-600: #0062d1;   /* versão com contraste AA sobre branco */
  --blue-100: #e6f1ff;
  --slate-500: #687d98;  /* cinza-azulado (INVEXUS Contábil) */
  --ink: #0b1230;
  --text: #2a3352;
  --muted: #5a6582;
  --line: #e3e7f0;
  --surface: #ffffff;
  --surface-2: #f5f7fb;

  /* Cor de destaque de cada empresa (usada nos cards) */
  --c-capital: #067cfa;
  --c-studios: #c8902b;
  --c-77net: #00a3c4;
  --c-energy: #fa5908;
  --c-ai: #7b5cff;
  --c-equalify: #5fae00;
  --c-juridico: #9c2f4f;  /* Serviços Jurídicos (bordô) */

  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Montserrat", var(--font-sans);

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(7, 17, 53, .06), 0 2px 8px rgba(7, 17, 53, .05);
  --shadow: 0 10px 30px -12px rgba(7, 17, 53, .22);
  --shadow-lg: 0 24px 60px -20px rgba(7, 17, 53, .35);

  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --section-y: clamp(64px, 9vw, 120px);
  --header-h: 72px;
}

/* 3. BASE ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--blue-600); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--navy-800); }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--ink); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.2rem, 5.2vw, 4rem); font-weight: 700; letter-spacing: -.025em; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.6rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 650; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; }

/* Foco visível e consistente para navegação por teclado */
:focus-visible { outline: 3px solid var(--blue-500); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); }
.section--alt { background: var(--surface-2); }
.section--dark { background: var(--navy-800); color: #c9d2ea; }
.section--dark h2, .section--dark h3 { color: #fff; }

.visually-hidden {
  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: 1000;
  background: var(--navy-800); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm);
  transition: top .2s;
}
.skip-link:focus { top: 12px; color: #fff; }

/* Cabeçalho de seção */
.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head--center { margin-inline: auto; text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font: 600 .78rem/1 var(--font-display); letter-spacing: .18em; text-transform: uppercase;
  color: var(--blue-600); margin-bottom: 16px;
}
.eyebrow::before { content: ""; width: 24px; height: 2px; background: currentColor; }
.section--dark .eyebrow { color: #6fb3ff; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--muted); }
.section--dark .lead { color: #aab6d6; }

/* Botões */
.btn {
  --btn-bg: var(--blue-600); --btn-fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 24px; border-radius: 999px; border: 2px solid transparent;
  background: var(--btn-bg); color: var(--btn-fg);
  font: 600 .98rem/1.2 var(--font-sans); text-decoration: none; cursor: pointer;
  transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease, color .2s;
}
.btn:hover { color: var(--btn-fg); transform: translateY(-2px); box-shadow: 0 10px 24px -10px rgba(6, 124, 250, .7); background: var(--blue-500); }
.btn svg { width: 18px; height: 18px; transition: transform .2s; }
.btn:hover svg { transform: translateX(3px); }
.btn--ghost { --btn-bg: transparent; --btn-fg: #fff; border-color: rgba(255, 255, 255, .35); }
.btn--ghost:hover { background: rgba(255, 255, 255, .08); border-color: #fff; box-shadow: none; }
.btn--outline { --btn-bg: transparent; --btn-fg: var(--navy-800); border-color: var(--line); }
.btn--outline:hover { background: var(--surface-2); border-color: var(--navy-800); box-shadow: none; }
.btn--sm { min-height: 40px; padding: 8px 18px; font-size: .92rem; }
.btn--block { width: 100%; }

/* 4. CABEÇALHO ----------------------------------------------------------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  display: flex; align-items: center;
  background: transparent; transition: background-color .3s, box-shadow .3s, backdrop-filter .3s;
}
.site-header.is-scrolled, .site-header.is-solid, body.nav-open .site-header {
  background: rgba(5, 11, 38, .92); backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .06);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; }
.brand:hover { color: #fff; }
.brand__mark { width: 26px; height: 36px; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font: 500 1.3rem/1 var(--font-display); letter-spacing: .26em; }
.brand__name .x { color: var(--blue-500); }
.brand__tag { font: 600 .58rem/1 var(--font-display); letter-spacing: .42em; color: #8fa0c8; margin-top: 5px; }

.nav { display: flex; align-items: center; gap: 8px; }
.nav__list { display: flex; list-style: none; gap: 4px; }
.nav__link {
  display: block; padding: 10px 14px; border-radius: 999px;
  color: #d5dcf0; text-decoration: none; font-weight: 500; font-size: .95rem;
  transition: color .2s, background-color .2s;
}
.nav__link:hover, .nav__link.is-active { color: #fff; background: rgba(255, 255, 255, .08); }
.nav__cta { margin-left: 10px; }

.nav-toggle {
  display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .2);
  background: transparent; color: #fff; cursor: pointer; align-items: center; justify-content: center;
}
.nav-toggle__bar, .nav-toggle__bar::before, .nav-toggle__bar::after {
  display: block; width: 20px; height: 2px; background: currentColor; border-radius: 2px; position: relative; transition: transform .25s, background-color .25s;
}
.nav-toggle__bar::before, .nav-toggle__bar::after { content: ""; position: absolute; left: 0; }
.nav-toggle__bar::before { top: -6px; }
.nav-toggle__bar::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 12px;
    padding: 16px var(--gutter) 28px; background: rgba(5, 11, 38, .98);
    border-top: 1px solid rgba(255, 255, 255, .06);
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .25s, transform .25s, visibility .25s;
    max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
  }
  body.nav-open .nav { transform: none; opacity: 1; visibility: visible; }
  .nav__list { flex-direction: column; gap: 2px; }
  .nav__link { padding: 14px 12px; border-radius: 10px; font-size: 1.05rem; }
  .nav__cta { margin: 8px 0 0; }
}

/* 5. HERO ---------------------------------------------------------------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  background: radial-gradient(1200px 600px at 85% 20%, rgba(6, 124, 250, .22), transparent 60%),
              radial-gradient(800px 500px at 0% 100%, rgba(104, 125, 152, .18), transparent 60%),
              var(--navy-900);
  color: #c9d2ea;
  padding: calc(var(--header-h) + clamp(48px, 8vw, 110px)) 0 clamp(64px, 8vw, 110px);
}
/* Grade sutil de fundo */
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image: linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 70%);
          mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 70%);
}
.hero__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { color: #fff; }
.hero__kicker { display: block; margin-bottom: .55em; font-family: var(--font-sans); font-size: clamp(.95rem, 1.4vw, 1.1rem); font-weight: 600; letter-spacing: .02em; color: #a9d2ff; }
.hero h1 .hl { background: linear-gradient(90deg, #4aa3ff, #a9d2ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__sub { font-size: clamp(1.05rem, 1.7vw, 1.25rem); max-width: 560px; color: #b4c0de; margin-bottom: 32px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 24px;
  padding: 6px 14px 6px 8px; border-radius: 18px; border: 1px solid rgba(255, 255, 255, .14);
  background: rgba(255, 255, 255, .04); font-size: .85rem; color: #d5dcf0;
}
.hero__badge span { background: var(--blue-500); color: #fff; border-radius: 999px; padding: 2px 10px; font-weight: 600; font-size: .75rem; }

.hero__facts { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 12px clamp(20px, 4vw, 40px); margin-top: 44px; padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, .1); list-style: none; }
.hero__facts li { display: flex; flex-direction: column; }
.hero__facts strong { font: 700 1.7rem/1.1 var(--font-display); color: #fff; }
.hero__facts small { font-size: .85rem; color: #8fa0c8; }

/* Ilustração: símbolo + órbita das 6 empresas + Jurídico */
.hero__visual { position: relative; aspect-ratio: 1; max-width: 480px; justify-self: center; width: 100%; }
.orbit { position: absolute; inset: 0; border-radius: 50%; border: 1px dashed rgba(255, 255, 255, .14); }
.orbit--inner { inset: 18%; border-style: solid; border-color: rgba(6, 124, 250, .25); }
.hero__mark { position: absolute; inset: 33%; filter: drop-shadow(0 20px 40px rgba(6, 124, 250, .45)); }
.orbit-item {
  position: absolute; width: 25%; aspect-ratio: 1; margin: -12.5%; border-radius: 50%; padding: 0 6px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  background: rgba(13, 26, 74, .85); border: 1px solid rgba(255, 255, 255, .12);
  color: #fff; text-decoration: none; text-align: center; font: 700 clamp(.64rem, 1.15vw, .78rem)/1.1 var(--font-display); letter-spacing: .04em;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .6); transition: transform .25s, border-color .25s;
}
.orbit-item:hover { color: #fff; transform: scale(1.08); border-color: var(--dot); }
/* Subtítulo do círculo: o que cada empresa faz */
.orbit-item small { display: block; max-width: 92%; margin-top: 3px; font: 400 clamp(.5rem, .8vw, .58rem)/1.2 var(--font-sans); letter-spacing: 0; color: #9aa8cc; }
.orbit-item::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--dot); box-shadow: 0 0 12px var(--dot); margin-bottom: 4px; }

@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { max-width: 380px; order: -1; display: none; }
}

/* 6. EMPRESAS (cards) ---------------------------------------------------- */
.companies { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 1060px) { .companies { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 680px) { .companies { grid-template-columns: 1fr; } }

.card {
  --accent: var(--blue-500);
  position: relative; display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-sm);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: color-mix(in srgb, var(--accent) 40%, var(--line)); }
.card--capital { --accent: var(--c-capital); }
.card--studios { --accent: var(--c-studios); }
.card--77net { --accent: var(--c-77net); }
.card--energy { --accent: var(--c-energy); }
.card--ai { --accent: var(--c-ai); }
.card--equalify { --accent: var(--c-equalify); }
.card--juridico { --accent: var(--c-juridico); }

.card__media {
  position: relative; aspect-ratio: 16 / 10; overflow: hidden;
  background: linear-gradient(135deg, var(--navy-800), color-mix(in srgb, var(--accent) 55%, var(--navy-800)));
}
.card__media svg, .card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.card:hover .card__media svg, .card:hover .card__media img { transform: scale(1.05); }
.card__tag {
  position: absolute; left: 16px; top: 16px; z-index: 1;
  padding: 5px 12px; border-radius: 999px; background: rgba(255, 255, 255, .92); color: var(--navy-800);
  font: 600 .72rem/1.2 var(--font-display); letter-spacing: .06em; text-transform: uppercase;
}
.card__body { display: flex; flex-direction: column; flex: 1; padding: 24px 24px 22px; }
.card__title { display: flex; align-items: baseline; gap: 8px; font-size: 1.3rem; margin-bottom: 10px; }
.card__title::before { content: ""; width: 10px; height: 10px; border-radius: 3px; background: var(--accent); flex: none; transform: translateY(-1px); }
.card__text { color: var(--muted); font-size: .98rem; margin-bottom: 16px; }
.card__list { list-style: none; display: grid; gap: 8px; margin-bottom: 18px; font-size: .94rem; }
.card__list li { display: flex; gap: 10px; align-items: flex-start; }
.card__list li::before {
  content: ""; flex: none; width: 18px; height: 18px; margin-top: 3px; border-radius: 50%;
  background: color-mix(in srgb, var(--accent) 14%, #fff) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23071135' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 11px no-repeat;
}
.card__audience { font-size: .85rem; color: var(--muted); border-top: 1px dashed var(--line); padding-top: 14px; margin-bottom: 16px; }
.card__audience strong { color: var(--ink); font-weight: 600; }
.card__chips { display: flex; flex-wrap: wrap; gap: 6px; margin: -4px 0 16px; list-style: none; }
.card__chips a {
  display: inline-block; padding: 4px 10px; border-radius: 999px; font-size: .78rem; text-decoration: none;
  background: var(--surface-2); color: var(--text); border: 1px solid var(--line);
}
.card__chips a:hover { border-color: var(--accent); color: var(--ink); }
.card__footer { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.card__cta {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; color: var(--navy-800);
  padding: 10px 16px; margin-left: -16px; border-radius: 999px; transition: background-color .2s, color .2s;
}
.card__cta svg { width: 18px; height: 18px; transition: transform .2s; }
.card__cta:hover { background: color-mix(in srgb, var(--accent) 12%, #fff); color: var(--navy-800); }
.card__cta:hover svg { transform: translate(2px, -2px); }

/* Ícones sociais */
.social { display: flex; gap: 4px; list-style: none; flex-wrap: wrap; }
.social a {
  display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%;
  color: var(--muted); transition: color .2s, background-color .2s;
}
.social a:hover { color: var(--navy-800); background: var(--surface-2); }
.social svg { width: 18px; height: 18px; }

/* 7. SOBRE / DIFERENCIAIS / COMO ATUAMOS -------------------------------- */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
@media (max-width: 900px) { .about { grid-template-columns: 1fr; } }
.about__panel {
  position: relative; border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 44px);
  background: linear-gradient(160deg, var(--navy-800), var(--navy-600)); color: #c9d2ea; overflow: hidden;
}
.about__panel::after {
  content: ""; position: absolute; right: -40px; bottom: -60px; width: 220px; height: 300px; opacity: .12;
  background: url("../img/logo-mark.svg") center / contain no-repeat;
}
.about__panel h3 { color: #fff; font-size: 1.05rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 6px; }
.about__panel p { margin-bottom: 22px; }
.about__panel p:last-child { margin-bottom: 0; }
.checklist { list-style: none; display: grid; gap: 12px; margin: 20px 0 28px; }
.checklist li { display: flex; gap: 12px; }
.checklist li::before {
  content: ""; flex: none; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%;
  background: var(--blue-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230062d1' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 13px no-repeat;
}

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; list-style: none; }
@media (max-width: 960px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .features { grid-template-columns: 1fr; } }
.feature {
  padding: 28px; border-radius: var(--radius); background: rgba(255, 255, 255, .03);
  border: 1px solid rgba(255, 255, 255, .08); transition: border-color .25s, background-color .25s;
}
.feature:hover { border-color: rgba(6, 124, 250, .5); background: rgba(6, 124, 250, .06); }
.feature__icon {
  display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 12px;
  background: rgba(6, 124, 250, .14); color: #6fb3ff; margin-bottom: 18px;
}
.feature__icon svg { width: 24px; height: 24px; }
.feature h3 { font-size: 1.12rem; }
.feature p { margin: 0; font-size: .96rem; color: #aab6d6; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; list-style: none; counter-reset: step; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; padding: 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); counter-increment: step; }
.step::before {
  content: counter(step, decimal-leading-zero); display: block; margin-bottom: 14px;
  font: 700 2rem/1 var(--font-display); color: var(--blue-500);
}
.step h3 { font-size: 1.12rem; }
.step p { margin: 0; color: var(--muted); font-size: .96rem; }

/* 8. FAQ ---------------------------------------------------------------- */
.faq { max-width: 860px; margin-inline: auto; display: grid; gap: 12px; }
.faq details { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); transition: border-color .2s, box-shadow .2s; }
.faq details[open] { border-color: color-mix(in srgb, var(--blue-500) 40%, var(--line)); box-shadow: var(--shadow-sm); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 20px 24px; font: 600 1.04rem/1.4 var(--font-display); color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--surface-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23071135' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / 14px no-repeat;
  transition: transform .25s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .faq__answer { padding: 0 24px 22px; color: var(--muted); }
.faq .faq__answer p:last-child { margin: 0; }

/* 9. CONTATO ------------------------------------------------------------ */
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }
.contact__channels { list-style: none; display: grid; gap: 10px; margin-top: 28px; }
.contact__channels li { display: flex; gap: 14px; align-items: center; padding: 14px 16px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.contact__channels .dot { flex: none; width: 10px; height: 10px; border-radius: 3px; }
.contact__channels div { display: flex; flex-direction: column; line-height: 1.35; min-width: 0; }
.contact__channels strong { color: var(--ink); font-size: .95rem; }
.contact__channels a { display: block; font-size: .9rem; overflow-wrap: anywhere; }

.form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(22px, 4vw, 40px); box-shadow: var(--shadow); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .form__row { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field label { font-weight: 600; font-size: .9rem; color: var(--ink); }
.field .req { color: #c0262d; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; color: var(--ink); background: var(--surface);
  border: 1.5px solid #cdd3e1; border-radius: 10px; padding: 12px 14px; min-height: 48px;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue-500); box-shadow: 0 0 0 4px rgba(6, 124, 250, .15); }
.field [aria-invalid="true"] { border-color: #c0262d; }
.field__error { color: #b3261e; font-size: .84rem; min-height: 0; }
.field__error:empty { display: none; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: .88rem; color: var(--muted); margin: 4px 0 20px; }
.consent input { flex: none; width: 20px; height: 20px; margin-top: 2px; accent-color: var(--blue-600); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; } /* honeypot anti-spam */
.form__status { margin-top: 16px; padding: 14px 16px; border-radius: 10px; font-size: .95rem; }
.form__status:empty { display: none; }
.form__status.is-success { background: #e8f7ee; color: #14532d; border: 1px solid #b7e4c7; }
.form__status.is-error { background: #fdecec; color: #7f1d1d; border: 1px solid #f5c2c2; }
.form__note { font-size: .8rem; color: var(--muted); margin: 14px 0 0; }

/* 10. RODAPÉ ------------------------------------------------------------ */
.site-footer { background: var(--navy-900); color: #93a1c4; padding: clamp(56px, 7vw, 88px) 0 28px; font-size: .94rem; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
@media (max-width: 960px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: 1fr; } }
.site-footer h2 { font: 600 .8rem/1 var(--font-display); letter-spacing: .16em; text-transform: uppercase; color: #fff; margin-bottom: 18px; }
.site-footer ul { list-style: none; display: grid; gap: 10px; }
.site-footer a { color: #c3cce4; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer__about p { margin: 18px 0; max-width: 340px; }
.footer__legal { margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .08); display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; font-size: .84rem; }
.footer__legal nav ul { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.footer__disclaimer { margin-top: 20px; font-size: .78rem; color: #6f7ea3; line-height: 1.6; }
.link-btn { background: none; border: 0; padding: 0; font: inherit; color: #c3cce4; cursor: pointer; }
.link-btn:hover { color: #fff; text-decoration: underline; }
.site-footer .social a { color: #93a1c4; }
.site-footer .social a:hover { color: #fff; background: rgba(255, 255, 255, .08); }

/* Botão flutuante WhatsApp (77Net) / voltar ao topo */
.to-top {
  position: fixed; right: 18px; bottom: 18px; z-index: 90; width: 48px; height: 48px; border-radius: 50%; border: 0;
  background: var(--navy-800); color: #fff; box-shadow: var(--shadow); cursor: pointer;
  display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .25s, transform .25s, visibility .25s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top svg { width: 22px; height: 22px; }

/* Banner de cookies (LGPD) */
.cookie {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 200; max-width: 560px;
  background: #fff; color: var(--text); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg);
  padding: 20px 22px; font-size: .92rem;
}
.cookie[hidden] { display: none; }
.cookie h2 { font-size: 1rem; margin-bottom: 6px; }
.cookie p { margin-bottom: 14px; }
.cookie__actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* Páginas legais */
.legal-hero { background: var(--navy-900); color: #b4c0de; padding: calc(var(--header-h) + 56px) 0 48px; }
.legal-hero h1 { color: #fff; font-size: clamp(2rem, 4vw, 2.8rem); }
.legal { max-width: 820px; }
.legal h2 { font-size: 1.4rem; margin-top: 2.2em; }
.legal h3 { font-size: 1.08rem; margin-top: 1.6em; }
.legal ul { padding-left: 1.2em; margin-bottom: 1em; }
.legal li { margin-bottom: .4em; }
.legal table { width: 100%; border-collapse: collapse; margin: 1em 0 1.5em; font-size: .94rem; }
.legal th, .legal td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.legal th { background: var(--surface-2); color: var(--ink); }
.legal .table-wrap { overflow-x: auto; }

/* 11. ANIMAÇÕES --------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
@media print {
  .site-header, .cookie, .to-top, .form, .hero__visual { display: none !important; }
  .hero, .section--dark, .site-footer { background: none !important; color: #000 !important; }
}
