/* ==========================================================================
   GC Gestão – Consultoria Empresarial
   Sistema visual: navy profundo + papel + cobalto (herdado da campanha 7 anos)
   Tipografia: Inter Tight (texto e títulos) + IBM Plex Mono (numerais e dados)
   ========================================================================== */

/* ---------- Fontes (auto-hospedadas, sem requisições a terceiros) ---------- */
@font-face {
  font-family: "Inter Tight";
  src: url("/assets/fonts/inter-tight-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("/assets/fonts/plex-mono-400.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("/assets/fonts/plex-mono-500.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --abyss: #020B1D;      /* fundo profundo */
  --ink: #0A1630;        /* texto principal / superfícies escuras */
  --navy-2: #0E2147;     /* superfícies elevadas no escuro */
  --paper: #F4F6FA;      /* fundo claro */
  --white: #FFFFFF;
  --cobalt: #1E4FD8;     /* ação no claro */
  --cobalt-hover: #2A5FF0;
  --signal: #3D7BFF;     /* destaque no escuro */
  --tint: #E8EEFC;

  --text-muted: #4E5B75;
  --text-soft: #6B7790;
  --on-dark: #E8EEF8;
  --on-dark-muted: #A9B7D0;
  --on-dark-soft: #8796B5;

  --line: #D8DFEB;
  --line-dark: rgba(140, 170, 230, .16);
  --line-dark-strong: rgba(140, 170, 230, .32);

  --wa: #117A43;

  --font: "Inter Tight", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --container: 1240px;
  --gutter: clamp(20px, 5vw, 48px);
  --section-pad: clamp(80px, 11vw, 144px);
  --header-h: 76px;
  --radius: 10px;
}

/* ---------- Reset enxuto ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, picture { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-weight: 600; letter-spacing: -0.025em; line-height: 1.1; text-wrap: balance; }
p { text-wrap: pretty; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--white); color: var(--ink); padding: 10px 16px; border-radius: 6px; font-weight: 600;
}
.skip-link:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 22px; min-height: 48px;
  border-radius: 6px; border: 1px solid transparent;
  font-size: 15.5px; font-weight: 600; letter-spacing: -0.005em; line-height: 1.2;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease;
}
.btn-sm { min-height: 40px; padding: 9px 16px; font-size: 14.5px; }
.btn-lg { min-height: 54px; padding: 15px 26px; font-size: 16px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--cobalt); color: var(--white); }
.btn-primary:hover { background: var(--cobalt-hover); }
.btn-ghost-light { border-color: rgba(255, 255, 255, .3); color: var(--white); background: transparent; }
.btn-ghost-light:hover { border-color: rgba(255, 255, 255, .7); background: rgba(255, 255, 255, .04); }
.btn-dark { background: var(--ink); color: var(--white); }
.btn-dark:hover { background: var(--navy-2); }
.btn-whatsapp { background: var(--wa); color: var(--white); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--abyss);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, background-color .2s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--line-dark); }
.header-inner { display: flex; align-items: center; gap: 32px; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; flex-shrink: 0; }
.brand-emblem { width: 44px; height: 44px; }
.brand-wordmark { width: auto; height: 30px; }
.main-nav { margin-left: auto; }
.main-nav ul { display: flex; gap: 28px; }
.main-nav a {
  color: #C3CEE4; text-decoration: none; font-size: 15px; font-weight: 500;
  padding: 6px 0; border-bottom: 1px solid transparent; transition: color .15s ease, border-color .15s ease;
}
.main-nav a:hover, .main-nav a[aria-current="true"] { color: var(--white); border-bottom-color: var(--signal); }
.header-cta { flex-shrink: 0; }

.menu-toggle {
  display: none; margin-left: auto; width: 48px; height: 48px;
  background: transparent; border: 1px solid var(--line-dark-strong); border-radius: 8px; cursor: pointer;
  align-items: center; justify-content: center;
}
.menu-toggle-bars, .menu-toggle-bars::before, .menu-toggle-bars::after {
  display: block; width: 20px; height: 1.5px; background: var(--white); position: relative; transition: transform .2s ease, opacity .2s ease;
}
.menu-toggle-bars::before, .menu-toggle-bars::after { content: ""; position: absolute; left: 0; }
.menu-toggle-bars::before { top: -6px; }
.menu-toggle-bars::after { top: 6px; }
.menu-toggle[aria-expanded="true"] .menu-toggle-bars { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 99;
  background: var(--abyss); padding: 24px var(--gutter) calc(32px + env(safe-area-inset-bottom));
  display: flex; flex-direction: column; justify-content: space-between; overflow-y: auto;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu nav li { border-bottom: 1px solid var(--line-dark); }
.mobile-menu nav a { display: block; padding: 16px 0; color: var(--white); text-decoration: none; font-size: 26px; font-weight: 600; letter-spacing: -0.02em; }
.mobile-menu-actions { display: grid; gap: 12px; padding-top: 32px; }

/* ---------- Seções base ---------- */
.section { padding-block: var(--section-pad); }
.section-paper { background: var(--paper); }
.section-white { background: var(--white); }
.section-dark { background: var(--abyss); color: var(--on-dark); }
.section h2 { font-size: clamp(2rem, 3.8vw, 3.15rem); }
.lead { font-size: clamp(1.06rem, 1.4vw, 1.2rem); line-height: 1.55; color: var(--text-muted); max-width: 56ch; }
.section-dark .lead { color: var(--on-dark-muted); }
.section-head { max-width: 760px; display: grid; gap: 20px; margin-bottom: clamp(48px, 6vw, 72px); }
.section-head-wide { max-width: 880px; }

.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 7vw, 104px); align-items: start; }
.split-head { display: grid; gap: 20px; position: sticky; top: calc(var(--header-h) + 40px); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(60% 70% at 85% 10%, rgba(30, 79, 216, .22), transparent 70%),
    radial-gradient(rgba(140, 170, 230, .13) 1px, transparent 1.3px) 0 0 / 24px 24px,
    var(--abyss);
  color: var(--on-dark);
  padding-block: clamp(56px, 8vw, 112px) clamp(72px, 9vw, 128px);
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: clamp(40px, 6vw, 88px); align-items: center; }
.hero-kicker { color: #8FB0FF; font-size: 15.5px; font-weight: 500; margin-bottom: 22px; }
.hero h1 { font-size: clamp(2.5rem, 5.2vw, 4.45rem); line-height: 1.04; letter-spacing: -0.028em; color: var(--white); max-width: 15ch; }
.hero-lead { margin-top: 28px; font-size: clamp(1.1rem, 1.5vw, 1.27rem); line-height: 1.55; color: #B8C5DE; max-width: 50ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }
.hero-facts { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line-dark); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.hero-facts div { display: grid; gap: 6px; align-content: start; }
.hero-facts dt { font-size: 13px; font-weight: 600; color: #8FB0FF; }
.hero-facts dd { font-size: 14.5px; line-height: 1.45; color: var(--on-dark-muted); }

.hero-map { width: 100%; max-width: 520px; justify-self: end; }
.hero-map svg { width: 100%; height: auto; overflow: visible; }
.node-title { font-family: var(--font); font-size: 19px; font-weight: 600; fill: var(--white); letter-spacing: -0.02em; }
.node-title-lg { font-size: 25px; }
.node-sub { font-family: var(--mono); font-size: 11.5px; fill: #8FA3C8; }
.node-num { font-family: var(--mono); font-size: 11px; fill: var(--signal); }

/* Sequência única de entrada: o fluxo se desenha uma vez */
.hero-map .node { opacity: 0; transform: translateY(6px); animation: nodeIn .5s ease forwards; }
.hero-map .n1 { animation-delay: .15s; }
.hero-map .n2 { animation-delay: .65s; }
.hero-map .n3 { animation-delay: 1.25s; }
.hero-map .n4 { animation-delay: 1.75s; }
.hero-map .n5 { animation-delay: 2.35s; }
.hero-map .link { stroke-dasharray: 1; stroke-dashoffset: 1; opacity: 0; animation: linkIn .45s ease forwards; }
.hero-map .l1 { animation-delay: .45s; }
.hero-map .l2 { animation-delay: .95s; animation-duration: .6s; }
.hero-map .l3 { animation-delay: 1.55s; }
.hero-map .l4 { animation-delay: 2.05s; animation-duration: .6s; }
.hero-map .spark-line { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.1s .3s ease forwards; animation-delay: 2.7s; }
.hero-map .spark-dot { opacity: 0; animation: fadeIn .3s 3.7s ease forwards; }
@keyframes nodeIn { to { opacity: 1; transform: none; } }
@keyframes linkIn { 0% { opacity: 1; } to { opacity: 1; stroke-dashoffset: 0; } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fadeIn { to { opacity: 1; } }

/* ---------- 01 Desafios ---------- */
.tensions { display: grid; }
.tension { padding-block: 32px; border-top: 1px solid var(--line); display: grid; gap: 14px; }
.tension:first-child { border-top-color: var(--ink); padding-top: 28px; }
.tension h3 { font-size: clamp(1.4rem, 2vw, 1.6rem); }
.tension > p { color: var(--text-muted); max-width: 60ch; }
.symptoms { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 4px; }
.symptoms li { font-size: 15px; color: var(--ink); display: flex; align-items: center; gap: 9px; }
.symptoms li::before { content: ""; width: 6px; height: 6px; background: var(--cobalt); border-radius: 1px; flex-shrink: 0; }
.tensions-close { border-top: 1px solid var(--line); padding-top: 32px; font-size: 1.2rem; font-weight: 500; line-height: 1.5; letter-spacing: -0.01em; max-width: 56ch; }
.tensions-close a { color: var(--cobalt); text-underline-offset: 4px; text-decoration-thickness: 1px; }

.optional { font-weight: 400; color: var(--text-soft); }
/* ---------- Para quem ---------- */
.segments { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--ink); }
.segment { padding: 28px 24px 8px 0; display: grid; gap: 10px; align-content: start; }
.segment + .segment { padding-left: 24px; border-left: 1px solid var(--line); }
.segment h3 { font-size: 1.35rem; }
.segment p { font-size: 15.5px; color: var(--text-muted); }

/* ---------- 05 Como atuamos ---------- */
.cycle { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 32px; }
.cycle li { border-top: 2px solid var(--ink); padding-top: 22px; display: grid; gap: 10px; align-content: start; }
.cycle li:nth-child(n+3) { border-top-color: var(--cobalt); }
.cycle-num { font-family: var(--mono); font-size: 13px; color: var(--cobalt); }
.cycle h3 { font-size: 1.22rem; }
.cycle p { font-size: 15px; color: var(--text-muted); }
.cycle-tech { margin-top: 40px; padding: 18px 22px; border-left: 3px solid var(--cobalt); background: var(--white); border-radius: 0 var(--radius) var(--radius) 0; font-size: 16.5px; color: var(--ink); max-width: 860px; }

/* ---------- 06 GC Atlas ---------- */
.section-atlas {
  position: relative; overflow: hidden; color: var(--on-dark);
  background:
    radial-gradient(50% 60% at 80% 40%, rgba(30, 79, 216, .28), transparent 70%),
    linear-gradient(rgba(140, 170, 230, .07) 1px, transparent 1px) 0 0 / 64px 64px,
    linear-gradient(90deg, rgba(140, 170, 230, .07) 1px, transparent 1px) 0 0 / 64px 64px,
    var(--ink);
}
.atlas-intro { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(36px, 6vw, 88px); align-items: end; margin-bottom: clamp(40px, 5vw, 64px); }
.atlas-copy { display: grid; gap: 24px; }
.atlas-logo { height: 46px; width: auto; }
.section-atlas h2 { color: var(--white); }
.section-atlas .lead { color: var(--on-dark-muted); }
.atlas-chain { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 26px; }
.atlas-chain li { position: relative; font-size: 14px; font-weight: 500; color: var(--white); padding: 6px 12px; border: 1px solid rgba(61, 123, 255, .45); border-radius: 6px; background: rgba(61, 123, 255, .08); }
.atlas-chain li:not(:last-child)::after { content: ""; position: absolute; top: 50%; left: 100%; width: 26px; height: 1px; background: var(--signal); }
.atlas-chain li:first-child { background: var(--white); color: var(--ink); border-color: var(--white); font-weight: 600; }
.atlas-qa { display: grid; gap: 18px; }
.atlas-qa div { display: grid; gap: 4px; padding-left: 16px; border-left: 1px solid var(--line-dark-strong); }
.atlas-qa dt { color: var(--white); font-weight: 600; font-size: 16.5px; }
.atlas-qa dd { color: var(--on-dark-muted); font-size: 15.5px; }
.atlas-main, .atlas-gallery figure { display: grid; gap: 14px; align-content: start; }
.atlas-main img, .atlas-gallery img { width: 100%; height: auto; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .14); box-shadow: 0 30px 80px rgba(0, 0, 0, .45); background: var(--paper); }
.atlas-main figcaption, .atlas-gallery figcaption { font-size: 15px; color: var(--on-dark-muted); max-width: 80ch; }
.atlas-main figcaption strong, .atlas-gallery figcaption strong { color: var(--white); font-weight: 600; }
.atlas-sub { color: var(--white); font-size: clamp(1.4rem, 2.2vw, 1.75rem); margin: clamp(56px, 7vw, 88px) 0 28px; }
.atlas-gallery { display: grid; gap: clamp(36px, 5vw, 56px); }
.atlas-gallery figure { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.atlas-gallery figure:nth-child(even) { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); }
.atlas-gallery figure:nth-child(even) picture { order: 2; }
.atlas-gallery figcaption { font-size: 16.5px; line-height: 1.55; }
.atlas-gallery figcaption strong { display: block; font-size: 1.3rem; letter-spacing: -0.02em; margin-bottom: 6px; }
.atlas-gallery img { box-shadow: 0 18px 48px rgba(0, 0, 0, .4); }
.atlas-note { margin-top: 32px; font-size: 13.5px; color: var(--on-dark-soft); }

/* ---------- 08 Diferenciais ---------- */
.diffs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(28px, 4vw, 56px); }
.diffs li { border-top: 1px solid var(--line); padding-block: 28px; display: grid; gap: 10px; align-content: start; }
.diffs li:nth-child(-n+2) { border-top-color: var(--ink); }
.diffs h3 { font-size: 1.22rem; }
.diffs p { color: var(--text-muted); font-size: 15.5px; }

/* ---------- 09 Sobre ---------- */
.about { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 7vw, 104px); align-items: center; }
.about-logo img { width: 100%; max-width: 420px; border-radius: 50%; box-shadow: 0 24px 60px rgba(10, 22, 48, .25); }
.about-copy { display: grid; gap: 20px; }
.about-copy > p:not(.lead) { color: var(--text-muted); max-width: 62ch; }
.about-facts { display: grid; gap: 10px; padding-top: 20px; border-top: 1px solid var(--line); }
.about-facts li { font-size: 15.5px; color: var(--text-muted); display: flex; gap: 12px; }
.about-facts strong { color: var(--ink); font-weight: 600; min-width: 110px; }

/* ---------- CTA final ---------- */
.cta-final {
  background:
    radial-gradient(60% 120% at 50% 0%, rgba(61, 123, 255, .35), transparent 70%),
    radial-gradient(rgba(140, 170, 230, .12) 1px, transparent 1.3px) 0 0 / 24px 24px,
    var(--ink);
  color: var(--on-dark); padding-block: clamp(72px, 9vw, 112px);
}
.cta-final-inner { display: grid; justify-items: center; text-align: center; gap: 20px; }
.cta-final h2 { font-size: clamp(2rem, 3.8vw, 3.1rem); color: var(--white); max-width: 22ch; }
.cta-final p { color: var(--on-dark-muted); font-size: 1.15rem; max-width: 56ch; }
.cta-final-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 12px; }

/* ---------- 10 Contato ---------- */

.contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 88px); align-items: start; }
.contact-copy { display: grid; gap: 24px; justify-items: start; }
.contact-steps { display: grid; gap: 14px; margin-block: 8px 8px; }
.contact-steps li { display: flex; gap: 14px; align-items: baseline; color: var(--ink); }
.contact-steps span { font-family: var(--mono); font-size: 12.5px; color: var(--cobalt); width: 26px; height: 26px; border: 1px solid #B9C7E6; border-radius: 50%; display: inline-grid; place-items: center; flex-shrink: 0; transform: translateY(-1px); }
.contact-info { display: grid; gap: 8px; padding-top: 20px; border-top: 1px solid var(--line); width: 100%; }
.contact-info p { font-size: 15.5px; color: var(--text-muted); display: flex; flex-wrap: wrap; gap: 4px 12px; }
.contact-info strong { color: var(--ink); font-weight: 600; min-width: 110px; }
.contact-info a { color: var(--cobalt); font-weight: 600; }

.contact-form { background: var(--white); color: var(--ink); border: 1px solid var(--line); border-radius: 14px; padding: clamp(24px, 3.4vw, 40px); display: grid; gap: 18px; box-shadow: 0 24px 60px rgba(10, 22, 48, .10); }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.field { display: grid; gap: 7px; }
.field label { font-size: 14px; font-weight: 600; }
.field input, .field select, .field textarea {
  width: 100%; font-size: 16px; padding: 12px 14px; min-height: 48px;
  border: 1px solid #C3CDDD; border-radius: 6px; background: var(--white); color: var(--ink);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { resize: vertical; min-height: 112px; line-height: 1.5; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--text-muted) 50%), linear-gradient(135deg, var(--text-muted) 50%, transparent 50%); background-position: calc(100% - 20px) 21px, calc(100% - 15px) 21px; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--cobalt); box-shadow: 0 0 0 3px rgba(30, 79, 216, .2); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #B42318; }
.field-error { font-size: 13px; color: #B42318; }
.field-check { grid-template-columns: auto 1fr; align-items: start; gap: 12px; }
.field-check input { width: 20px; height: 20px; min-height: 0; margin: 2px 0 0; accent-color: var(--cobalt); }
.field-check label { font-weight: 400; font-size: 14px; color: var(--text-muted); }
.field-check label a { color: var(--cobalt); }
.field-check.has-error label { color: #B42318; }
.field-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: 13.5px; color: var(--text-soft); text-align: center; }
.form-status:empty { display: none; }
.form-status { padding: 14px 16px; border-radius: 8px; font-size: 15px; background: var(--tint); color: var(--ink); }
.form-status.is-error { background: #FDECEA; color: #8A1C12; }
.form-status a { color: var(--cobalt); font-weight: 600; }
.form-status.is-success { background: #E2F4E8; color: #14532D; }

/* ---------- Footer ---------- */
.site-footer { background: var(--abyss); color: var(--on-dark-muted); border-top: 1px solid var(--line-dark); padding-block: 64px 32px; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
.footer-brand { display: grid; gap: 18px; align-content: start; }
.footer-brand img { height: 44px; width: auto; }
.footer-brand p { max-width: 40ch; }
.footer-col h2 { font-size: 14px; font-weight: 600; color: var(--white); letter-spacing: 0; margin-bottom: 14px; }
.footer-col ul { display: grid; gap: 10px; }
.footer-col a { text-decoration: none; color: #C3CEE4; }
.footer-col a:hover { color: var(--white); text-decoration: underline; text-underline-offset: 3px; }
.footer-bottom { position: relative; margin-top: 48px; padding-top: 24px; display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; font-size: 13.5px; color: var(--on-dark-soft); }
.footer-bottom::before { content: ""; position: absolute; top: 0; left: var(--gutter); right: var(--gutter); height: 1px; background: var(--line-dark); }
.footer-bottom a { color: #C3CEE4; }

/* ---------- WhatsApp ---------- */
.whatsapp-fab {
  position: fixed; right: 22px; bottom: 22px; z-index: 90; width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center; background: var(--wa); color: var(--white);
  box-shadow: 0 10px 30px rgba(2, 11, 29, .35); transition: transform .2s ease;
}
.whatsapp-fab:hover { transform: translateY(-2px); }
.mobile-cta-bar { display: none; }

/* ---------- Página interna (política) ---------- */
.page { padding-block: clamp(56px, 8vw, 96px); background: var(--white); }
.prose { max-width: 72ch; }
.prose h1 { font-size: clamp(2.2rem, 4vw, 3rem); margin-bottom: 12px; }
.prose h2 { font-size: 1.4rem; margin: 40px 0 12px; }
.prose p, .prose li { color: var(--text-muted); margin-bottom: 12px; }
.prose ul { list-style: disc; padding-left: 22px; }
.prose a { color: var(--cobalt); }

/* ==========================================================================
   Responsivo
   ========================================================================== */
@media (max-width: 1140px) {
  .main-nav, .header-cta { display: none; }
  .menu-toggle { display: inline-flex; }
}

@media (max-width: 1080px) {
  .cycle { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 28px; }
  .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-map { justify-self: start; max-width: 460px; }
  .split, .atlas-intro, .about, .contact-grid { grid-template-columns: 1fr; }
  .split-head { position: static; }
  .hero-facts { grid-template-columns: 1fr; gap: 14px; }
  .about-logo { max-width: 280px; }
}

@media (max-width: 720px) {
  body { font-size: 16.5px; padding-bottom: 76px; }
  :root { --header-h: 66px; }
  .brand-emblem { width: 38px; height: 38px; }
  .brand-wordmark { height: 25px; }

  .hero { padding-block: 40px 64px; }
  .hero-kicker { margin-bottom: 16px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-facts { margin-top: 32px; }
  .hero-map { max-width: 100%; margin-top: 8px; }

  .cycle { grid-template-columns: 1fr; gap: 0; }
  .cycle li { border-top: 0; border-left: 2px solid var(--ink); padding: 0 0 28px 20px; }
  .cycle li:nth-child(n+3) { border-left-color: var(--cobalt); }
  .cycle li:last-child { padding-bottom: 0; }

  .atlas-gallery figure { grid-template-columns: 1fr; }
  .atlas-gallery figure:nth-child(even) { grid-template-columns: 1fr; }
  .atlas-gallery figure:nth-child(even) picture { order: 0; }
  .segments { grid-template-columns: 1fr; }
  .segment, .segment + .segment { padding: 20px 0 16px; border-left: 0; border-bottom: 1px solid var(--line); }
  .segment:last-child { border-bottom: 0; }
  .cycle-tech { margin-top: 32px; }
  .atlas-chain { gap: 8px; }
  .atlas-chain li:not(:last-child)::after { display: none; }
  .cta-final-actions .btn { width: 100%; }
  .about-logo { max-width: 220px; }
  .about-facts li, .contact-info p { flex-direction: column; gap: 2px; }
  .diffs { grid-template-columns: 1fr; }
  .diffs li:nth-child(2) { border-top-color: var(--line); }
  .form-row { grid-template-columns: 1fr; }
  .contact-copy .btn { width: 100%; }

  .footer-grid { grid-template-columns: 1fr 1fr; }

  .whatsapp-fab { display: none; }
  .mobile-cta-bar {
    display: flex; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: rgba(2, 11, 29, .96); border-top: 1px solid var(--line-dark);
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  }
  .mobile-cta-bar .btn-primary { flex: 1; }
  .mobile-cta-bar .btn { min-height: 48px; }
  body.menu-open .mobile-cta-bar { display: none; }
}

@media (max-width: 400px) {
  .footer-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-delay: 0s !important; transition-duration: .001ms !important; }
  .hero-map .node, .hero-map .link, .hero-map .spark-dot { opacity: 1; transform: none; }
  .hero-map .link, .hero-map .spark-line { stroke-dashoffset: 0; }
}

@media print {
  .site-header, .whatsapp-fab, .mobile-cta-bar, .contact-form { display: none !important; }
}


/* ---------- V3.2: destaque de dados em tempo real ---------- */
.live-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #34D399; box-shadow: 0 0 0 4px rgba(52, 211, 153, .18); flex-shrink: 0; animation: livePulse 2.4s ease-in-out infinite; }
@keyframes livePulse { 0%, 100% { box-shadow: 0 0 0 4px rgba(52, 211, 153, .18); } 50% { box-shadow: 0 0 0 7px rgba(52, 211, 153, .06); } }
.hero-realtime {
  margin-top: 28px; display: flex; align-items: center; gap: 14px; max-width: 560px;
  padding: 14px 18px; border-radius: var(--radius); text-decoration: none;
  background: rgba(61, 123, 255, .1); border: 1px solid rgba(61, 123, 255, .4); color: #C9D6EE; font-size: 15.5px; line-height: 1.45;
  transition: border-color .2s ease, background-color .2s ease;
}
.hero-realtime strong { color: var(--white); font-weight: 600; }
.hero-realtime:hover { border-color: var(--signal); background: rgba(61, 123, 255, .16); }

/* Problemas ligados às soluções */
.tension-fix { font-size: 14.5px; color: var(--text-muted); padding-top: 4px; }
.tension-fix a { color: var(--cobalt); font-weight: 600; text-underline-offset: 3px; }

/* ---------- Jornadas de transformação ---------- */
.journeys { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.journey { display: grid; grid-template-rows: auto auto 1fr auto auto; gap: 14px; padding: 28px 24px; border: 1px solid var(--line); border-top: 3px solid var(--cobalt); border-radius: var(--radius); background: var(--paper); scroll-margin-top: calc(var(--header-h) + 20px); }
.journey-name { font-size: 1.45rem; font-weight: 700; letter-spacing: -0.03em; color: var(--ink); }
.journey h3 { font-size: 1.05rem; font-weight: 600; letter-spacing: -0.01em; color: var(--cobalt); line-height: 1.35; }
.journey > p:not(.journey-name):not(.journey-tech) { font-size: 15px; color: var(--text-muted); }
.journey ul { display: grid; gap: 8px; align-content: start; }
.journey li { position: relative; padding-left: 18px; font-size: 15px; color: var(--ink); }
.journey li::before { content: ""; position: absolute; left: 0; top: 9px; width: 6px; height: 6px; border-radius: 1px; background: var(--cobalt); }
.journey-tech { margin-top: 6px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 14px; color: var(--text-muted); }
.journey-tech span { display: block; font-family: var(--mono); font-size: 11.5px; color: var(--cobalt); margin-bottom: 2px; }

/* ---------- Soluções avulsas ---------- */
.adhoc { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(24px, 3vw, 40px); }
.adhoc li { padding-block: 22px; border-top: 1px solid var(--line); display: grid; gap: 6px; align-content: start; }
.adhoc h3 { font-size: 1.2rem; }
.adhoc p { font-size: 15.5px; color: var(--text-muted); }
.adhoc .adhoc-featured { grid-column: 1 / -1; padding: 24px 26px; border: 0; border-radius: var(--radius); background: var(--ink); margin-bottom: 8px; }
.adhoc .adhoc-featured h3 { color: var(--white); font-size: 1.45rem; }
.adhoc .adhoc-featured p { color: var(--on-dark-muted); max-width: 60ch; }
.split-head .btn { justify-self: start; margin-top: 8px; }

/* ---------- Inteligência: dados em tempo real ---------- */
.section-intel {
  color: var(--on-dark);
  background:
    radial-gradient(55% 70% at 50% 0%, rgba(30, 79, 216, .32), transparent 70%),
    radial-gradient(rgba(140, 170, 230, .11) 1px, transparent 1.3px) 0 0 / 24px 24px,
    var(--abyss);
  border-bottom: 1px solid var(--line-dark);
}
.intel-head { display: grid; gap: 22px; max-width: 900px; margin-bottom: clamp(48px, 6vw, 72px); }
.intel-kicker { display: inline-flex; align-items: center; gap: 12px; color: #8FB0FF; font-size: 15.5px; font-weight: 500; }
.section-intel h2 { color: var(--white); font-size: clamp(2.2rem, 4.4vw, 3.7rem); line-height: 1.05; letter-spacing: -0.035em; max-width: 18ch; }
.section-intel .lead { color: var(--on-dark-muted); max-width: 62ch; }
.intel-flow { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0; counter-reset: flow; }
.intel-flow li { position: relative; padding: 0 18px 0 0; display: grid; gap: 10px; align-content: start; }
.intel-flow li::before { content: ""; display: block; height: 2px; background: linear-gradient(90deg, var(--signal), rgba(61, 123, 255, .35)); margin-bottom: 14px; }
.intel-flow li::after { content: ""; position: absolute; top: -4px; right: 10px; border: 5px solid transparent; border-left: 7px solid var(--signal); }
.intel-flow li:last-child::after { display: none; }
.flow-step { font-size: 1.45rem; font-weight: 700; letter-spacing: -0.03em; color: var(--white); }
.flow-desc { font-size: 14.5px; color: var(--on-dark-muted); line-height: 1.45; max-width: 22ch; }
.flow-ia .flow-step { color: #8FB0FF; }
.flow-ia::before { background: linear-gradient(90deg, #8FB0FF, var(--signal)) !important; height: 4px !important; margin-top: -1px; }
.intel-loop { margin-top: 28px; font-size: 15px; color: var(--on-dark-soft); }
.intel-caps { margin-top: clamp(48px, 6vw, 72px); display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.intel-caps li { padding: 20px; border: 1px solid var(--line-dark-strong); border-radius: var(--radius); background: rgba(14, 33, 71, .55); display: grid; gap: 6px; align-content: start; }
.intel-caps h3 { color: var(--white); font-size: 1.05rem; }
.intel-caps p { color: var(--on-dark-muted); font-size: 14.5px; }

/* ---------- Profissionais liberais ---------- */
.liberais { margin-top: 32px; display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 64px); align-items: center; padding: clamp(26px, 3.4vw, 40px); border-radius: 14px; background: var(--ink); color: var(--on-dark); }
.liberais-copy { display: grid; gap: 12px; }
.liberais h3 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); color: var(--white); }
.liberais-lead { font-size: 1.12rem; color: #DCE5F5; font-weight: 500; line-height: 1.45; }
.liberais-copy p:not(.liberais-lead) { color: var(--on-dark-muted); font-size: 15.5px; }
.liberais-list { display: flex; flex-wrap: wrap; gap: 10px; }
.liberais-list li { padding: 8px 14px; border: 1px solid var(--line-dark-strong); border-radius: 999px; font-size: 14.5px; color: var(--white); background: rgba(61, 123, 255, .08); }

@media (max-width: 1080px) {
  .journeys { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .intel-flow { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 0; }
  .intel-flow li:nth-child(3)::after { display: none; }
  .intel-caps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .liberais { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .journeys, .adhoc, .intel-caps { grid-template-columns: 1fr; }
  .intel-flow { grid-template-columns: 1fr; gap: 0; border-left: 2px solid var(--signal); margin-left: 4px; }
  .intel-flow li { padding: 0 0 22px 20px; }
  .intel-flow li::before { display: none; }
  .intel-flow li::after { display: block !important; top: 5px; left: -8px; right: auto; width: 14px; height: 14px; border: 3px solid var(--abyss); border-radius: 50%; background: var(--signal); }
  .intel-flow li:last-child { padding-bottom: 0; }
  .flow-desc { max-width: none; }
  .hero-realtime { font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) { .live-dot { animation: none; } }

/* ---------- Páginas auxiliares ---------- */
.header-back { margin-left: auto; }
.prose-meta { font-size: 14px; color: var(--text-soft); margin-bottom: 24px; }
.site-footer-compact { padding-block: 28px; }
.site-footer-compact .footer-bottom { margin-top: 0; padding-top: 0; }
.site-footer-compact .footer-bottom::before { display: none; }
.hero-404 { min-height: 100vh; display: grid; align-items: center; }
.hero-404-inner { display: grid; gap: 24px; justify-items: start; }
.hero-404-logo { height: 44px; width: auto; }

/* Case autorizado (usar quando houver material liberado) */
.case { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 2.6vw, 32px); margin-top: 32px; }
.case h3 { font-size: 1.35rem; margin-bottom: 18px; }
.case-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 24px; }
.case-grid dt { font-family: var(--mono); font-size: 12px; color: var(--cobalt); margin-bottom: 4px; }
.case-grid dd { font-size: 15px; color: var(--text-muted); }
@media (max-width: 720px) { .case-grid { grid-template-columns: 1fr; } }
