/* =========================================================================
   Saneplan — style.css
   Motion design premium. Azul como identidade. Background vivo.
   Inspiração: Stripe / Linear / Vercel / Framer — ritmo, hairlines, espaço.
   ========================================================================= */

/* ---------- Tokens ---------- */
:root {
  /* Cores */
  --white: #FFFFFF;
  --ink: #0B1220;
  --ink-soft: #1E2A3A;
  --muted: #6B7280;
  --muted-2: #98A2B3;
  --line: #E5E9F0;
  --line-soft: #EEF2F7;
  --tint: #F5F7FA;
  --tint-2: #EEF2F7;
  --blue: #0A66C2;
  --blue-dark: #084A8C;
  --blue-deep: #053570;
  --blue-light: #3B82E5;
  --blue-tint: #E6EEF7;
  --blue-tint-2: #F2F7FC;
  --blue-glow: rgba(10,102,194,.28);
  /* Acento de fiscalização (pinos RJ) */
  --map-amber: #F0A940;
  --map-amber-deep: #B87517;
  --map-amber-tint: #FCEEDB;
  --map-amber-glow: rgba(240,169,64,.35);
  /* Escala de azuis para a identidade (30% da página) */
  --blue-50: #EEF5FC;
  --blue-100: #E4EFFA;
  --blue-150: #CFE1F4;
  --sky-grad: linear-gradient(180deg, #F3F8FE 0%, #E7F0FA 100%);
  --gray-grad: linear-gradient(180deg, #EDF2F8 0%, #E6EDF6 100%);
  --deep-grad: linear-gradient(180deg, #0B5FBB 0%, #06417F 58%, #053570 100%);
  --petro-grad: linear-gradient(180deg, #0C4A6E 0%, #08304F 100%);
  --footer-grad: linear-gradient(180deg, #06294D 0%, #04172C 100%);
  --on-dark: rgba(255,255,255,.8);
  --on-dark-soft: rgba(255,255,255,.6);
  --line-dark: rgba(255,255,255,.14);

  /* Tipografia */
  --font-display: "Space Grotesk", "Inter", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;

  /* Layout */
  --container: 1200px;
  --container-pad: clamp(20px, 5vw, 64px);
  --section-y: clamp(80px, 9vw, 132px);
  --radius: 4px;
  --radius-lg: 10px;

  /* Motion */
  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --dur: .7s;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; border: 0; background: transparent; color: inherit; }
input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 500; letter-spacing: -.01em; margin: 0; line-height: 1.18; }
p { margin: 0; }
::selection { background: var(--blue); color: #fff; }

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--container-pad);
  position: relative;
  z-index: 2;
}
.section { padding-block: var(--section-y); position: relative; }
.section--tint { background: var(--tint); }
.section--tint::before {
  /* linha azul selo superior */
  content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 48px; height: 2px; background: var(--blue); border-radius: 2px;
}
.section--compact { padding-block: clamp(56px, 7vw, 88px); }

/* ---- Fundos da identidade azul: ritmo entre seções ---- */
.section--sky { background: var(--sky-grad); }
.section--sky::before,
.section--gray::before {
  /* faixa azul selo */
  content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 72px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--blue) 30% 70%, transparent);
  opacity: .45;
}
.section--gray { background: var(--gray-grad); }

.section--deep {
  background: var(--deep-grad);
  color: var(--white);
}
.section--petro {
  background: var(--petro-grad);
  color: var(--white);
}
.section--deep::before,
.section--petro::before {
  /* divisores modernos: hairline luminosa no topo */
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.35) 50%, transparent);
}
.section--deep::after,
.section--petro::after {
  /* glow azul orgânico de fundo */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(46% 60% at 12% 18%, rgba(59,130,229,.28), transparent 62%),
    radial-gradient(40% 55% at 92% 88%, rgba(5,53,112,.65), transparent 60%);
}
.section--deep .section__title,
.section--petro .section__title { color: var(--white); }
.section--deep .section__lead,
.section--petro .section__lead { color: var(--on-dark); }

/* =========================================================================
   BACKGROUND FIXO (vivo, lento)
   ========================================================================= */
.bg-fixed {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.bg-grid {
  position: absolute;
  inset: -10%;
  background-image:
    linear-gradient(var(--line-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-soft) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 40%, #000 45%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 40%, #000 45%, transparent 80%);
  opacity: .5;
}
.bg-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: .5;
  will-change: transform;
}
.bg-blob--a {
  width: 46vw; height: 46vw; max-width: 640px; max-height: 640px;
  top: -8%; left: -6%;
  background: radial-gradient(circle, rgba(10,102,194,.22), transparent 65%);
  animation: floatA 26s var(--ease) infinite alternate;
}
.bg-blob--b {
  width: 38vw; height: 38vw; max-width: 520px; max-height: 520px;
  top: 30%; right: -10%;
  background: radial-gradient(circle, rgba(59,130,229,.18), transparent 65%);
  animation: floatB 32s var(--ease) infinite alternate;
}
.bg-glow {
  position: absolute;
  bottom: -12%; left: 50%;
  width: 70vw; height: 36vw;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(10,102,194,.10), transparent 60%);
  filter: blur(30px);
}
@keyframes floatA {
  from { transform: translate(0,0) scale(1); }
  to   { transform: translate(6%, 4%) scale(1.08); }
}
@keyframes floatB {
  from { transform: translate(0,0) scale(1); }
  to   { transform: translate(-5%, -3%) scale(1.1); }
}

/* Partículas (geradas no JS) */
.bg-particles { position: absolute; inset: 0; }
.bg-particles span {
  position: absolute;
  width: 3px; height: 3px;
  background: var(--blue);
  border-radius: 50%;
  opacity: 0;
  box-shadow: 0 0 8px var(--blue-glow);
  animation: particle-rise var(--p-dur, 22s) linear infinite;
  animation-delay: var(--p-delay, 0s);
}
@keyframes particle-rise {
  0%   { transform: translateY(20vh) translateX(0); opacity: 0; }
  10%  { opacity: .35; }
  50%  { transform: translateY(-10vh) translateX(var(--p-drift, 8px)); opacity: .5; }
  90%  { opacity: .2; }
  100% { transform: translateY(-30vh) translateX(0); opacity: 0; }
}

/* =========================================================================
   PRELOADER (entrada suave)
   ========================================================================= */
.preloader {
  position: fixed; inset: 0; z-index: 9999;
  background: linear-gradient(180deg, var(--blue) 0%, var(--blue-deep) 100%);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px;
  transition: opacity .6s var(--ease), visibility .6s;
}
.preloader.is-done { opacity: 0; visibility: hidden; }
.preloader__logo {
  display: inline-flex; align-items: center; gap: 12px;
  color: var(--white); font-family: var(--font-display);
  font-size: 1.3rem; font-weight: 600; letter-spacing: -.01em;
  filter: drop-shadow(0 6px 18px rgba(0,0,0,.25));
}
.preloader__logo img { filter: brightness(0) invert(1); animation: preMark 1.1s var(--ease) infinite alternate; }
@keyframes preMark { to { transform: translateY(-3px); } }
.preloader__bar {
  width: 180px; height: 2px;
  background: rgba(255,255,255,.25);
  border-radius: 2px;
  overflow: hidden;
}
.preloader__bar span {
  display: block; height: 100%;
  width: 0;
  background: var(--white);
  animation: load 1.1s var(--ease-out) forwards;
  box-shadow: 0 0 12px rgba(255,255,255,.7);
}
@keyframes load { to { width: 100%; } }

/* =========================================================================
   ENTRADA ESCALONADA (intro)
   ========================================================================= */
[data-enter] {
  opacity: 0;
  transform: translateY(-14px);
  filter: blur(8px);
}
body.is-loaded [data-enter] {
  animation: enterFade var(--dur) var(--ease-out) var(--enter-delay, 0s) forwards;
}
@keyframes enterFade {
  to { opacity: 1; transform: translateY(0); filter: blur(0); }
}

/* =========================================================================
   REVEAL AO SCROLL (variantes)
   ========================================================================= */
[data-reveal] {
  opacity: 0;
  transition: opacity var(--dur) var(--ease-out), transform var(--dur) var(--ease-out), filter var(--dur) var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform, filter;
}
[data-reveal="up"]    { transform: translateY(28px); }
[data-reveal="left"]  { transform: translateX(-32px); }
[data-reveal="right"] { transform: translateX(32px); }
[data-reveal="scale"] { transform: scale(.94); }
[data-reveal="blur"], [data-reveal="blurl"], [data-reveal="blurr"] {
  filter: blur(10px);
  transform: translateY(20px);
}
[data-reveal="blurl"] { transform: translateX(-20px); }
[data-reveal="blurr"] { transform: translateX(20px); }
[data-reveal].is-visible {
  opacity: 1;
  transform: none;
  filter: none;
}

/* =========================================================================
   Botões
   ========================================================================= */
.btn {
  --pad-y: 13px; --pad-x: 24px;
  display: inline-flex; align-items: center; gap: 8px;
  padding: var(--pad-y) var(--pad-x);
  font-family: var(--font-display);
  font-size: .92rem; font-weight: 500; letter-spacing: .01em;
  border-radius: var(--radius);
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
  transition: transform .3s var(--ease), background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
  will-change: transform;
}
.btn > span { position: relative; z-index: 1; }
.btn--primary { background: var(--blue); color: var(--white); box-shadow: 0 1px 0 rgba(255,255,255,.18) inset; }
/* glow + brilho deslizante */
.btn--primary::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.22) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform .7s var(--ease);
}
.btn--primary:hover { background: var(--blue-dark); transform: translateY(-3px); box-shadow: 0 14px 28px -12px var(--blue-glow); }
.btn--primary:hover::before { transform: translateX(100%); }
/* ripple discreto */
.btn .ripple {
  position: absolute; border-radius: 50%;
  background: rgba(255,255,255,.35);
  transform: scale(0); pointer-events: none;
  animation: ripple .6s var(--ease-out) forwards;
}
@keyframes ripple { to { transform: scale(2.4); opacity: 0; } }

.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--blue); color: var(--blue); transform: translateY(-3px); box-shadow: 0 10px 22px -14px var(--blue-glow); }
.btn--ghost-inverse { color: var(--white); border-color: rgba(255,255,255,.25); }
.btn--ghost-inverse:hover { border-color: var(--white); background: rgba(255,255,255,.06); transform: translateY(-3px); }
.btn--light { background: var(--white); color: var(--ink); }
.btn--light:hover { transform: translateY(-3px); box-shadow: 0 14px 28px -14px rgba(0,0,0,.4); }
.btn--sm { --pad-y: 9px; --pad-x: 18px; font-size: .85rem; }
.btn--block { width: 100%; justify-content: center; }

/* =========================================================================
   HEADER
   ========================================================================= */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  background: rgba(255,255,255,.72);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  transition: background-color .3s var(--ease), box-shadow .3s var(--ease);
}
.header.is-scrolled {
  background: rgba(255,255,255,.9);
  box-shadow: 0 1px 0 var(--line), 0 14px 30px -22px rgba(11,18,32,.22);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 76px; }
.header__rule {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--blue) 50%, transparent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .45s var(--ease);
  opacity: .5;
}
.header.is-scrolled .header__rule { transform: scaleX(1); }

/* Brand */
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); }
.brand__mark {
  color: var(--blue);
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px;
  filter: drop-shadow(0 4px 10px var(--blue-glow));
}
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__name { font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; letter-spacing: -.01em; }
.brand__tag { font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.brand--light { color: var(--white); }
.brand--light .brand__mark { color: var(--white); }
.brand--light .brand__mark img { filter: brightness(0) invert(1); }
.brand--light .brand__tag { color: rgba(255,255,255,.6); }

/* Nav */
.nav__list { display: flex; gap: 32px; align-items: center; }
.nav__link {
  font-family: var(--font-display); font-size: .9rem; font-weight: 500;
  color: var(--ink-soft); position: relative; padding-block: 6px;
  transition: color .25s var(--ease);
}
.nav__link::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -2px;
  height: 1.5px; background: var(--blue); border-radius: 2px;
  transition: right .35s var(--ease);
}
.nav__link:hover { color: var(--blue); }
.nav__link:hover::after { right: 0; }
.header__actions { display: flex; align-items: center; gap: 16px; }
.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  width: 38px; height: 38px; align-items: center; justify-content: center;
  border: 1px solid var(--line); border-radius: var(--radius);
}
.nav-toggle span { width: 16px; height: 1.5px; background: var(--ink); transition: transform .3s var(--ease), opacity .3s var(--ease); }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* =========================================================================
   HERO
   ========================================================================= */
.hero {
  position: relative;
  padding-top: clamp(140px, 18vw, 200px);
  padding-bottom: clamp(64px, 8vw, 110px);
  overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
/* Composição azul do hero: lavadas radiais + grade geométrica */
.hero__bg::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(58% 52% at 88% 0%, rgba(59,130,229,.18), transparent 62%),
    radial-gradient(46% 42% at 0% 100%, rgba(10,102,194,.12), transparent 60%);
}
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--line-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-soft) 1px, transparent 1px);
  background-size: 76px 76px;
  mask-image: radial-gradient(ellipse 72% 72% at 62% 18%, #000 40%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 72% 72% at 62% 18%, #000 40%, transparent 80%);
  opacity: .5;
}
.hero__scatter, .hero__scatter--2, .hero__ring, .hero__ring--2, .hero__wave {
  position: absolute; border-radius: 50%;
}
.hero__scatter {
  width: 220px; height: 220px; right: 6%; top: 18%;
  background: radial-gradient(circle, var(--blue-glow), transparent 65%);
  filter: blur(6px);
  animation: floatA 24s var(--ease) infinite alternate;
}
.hero__scatter--2 {
  width: 120px; height: 120px; left: 4%; bottom: 12%;
  background: radial-gradient(circle, rgba(59,130,229,.2), transparent 65%);
  filter: blur(8px);
  animation: floatB 28s var(--ease) infinite alternate;
}
.hero__ring {
  width: 360px; height: 360px; right: -60px; top: 8%;
  border: 1px solid var(--blue-150);
  opacity: .7;
  animation: spin 60s linear infinite;
}
.hero__ring--2 {
  width: 210px; height: 210px; right: 16%; top: 34%;
  border: 1px dashed var(--blue-150);
  opacity: .75;
  animation: spin 80s linear infinite reverse;
}
.hero__wave {
  /* shape orgânico azul ancorado na base */
  left: -12%; right: -12%; bottom: -26%; height: 44%;
  background: radial-gradient(ellipse 55% 62% at 50% 100%, rgba(10,102,194,.12), transparent 70%);
  filter: blur(38px);
  animation: floatB 30s var(--ease) infinite alternate;
}
@keyframes spin { to { transform: rotate(360deg); } }
.hero__inner { max-width: 820px; }
.hero__title {
  font-size: clamp(2.1rem, 5.4vw, 4rem);
  font-weight: 500; letter-spacing: -.025em; line-height: 1.08; margin-top: 8px;
  /* título com leve gradiente azul-escuro -> ink */
  background: linear-gradient(180deg, var(--ink) 30%, var(--blue-deep) 130%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero__lead {
  margin-top: 20px; font-size: clamp(1.02rem, 1.25vw, 1.15rem);
  color: var(--muted); max-width: 640px; line-height: 1.7;
}
.hero__cta { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }

/* Stats */
.stats {
  margin-top: clamp(56px, 8vw, 88px);
  display: grid; grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--blue-150);
  background: linear-gradient(180deg, rgba(242,247,252,.9), rgba(242,247,252,.4));
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.stat {
  padding: 32px 24px;
  border-right: 1px solid var(--blue-150);
  position: relative;
  transition: background-color .35s var(--ease);
}
.stat:last-child { border-right: 0; }
.stat::before {
  /* micro-linha azul superior */
  content: ""; position: absolute; top: -1px; left: 0;
  height: 2px; width: 0; background: var(--blue);
  transition: width .5s var(--ease);
}
.stat:hover { background: var(--blue-tint-2); }
.stat:hover::before { width: 100%; }
.stat__num {
  display: block; font-family: var(--font-display);
  font-size: clamp(2rem, 3.6vw, 2.8rem); font-weight: 500;
  letter-spacing: -.02em; color: var(--ink);
}
.stat__label {
  display: block; margin-top: 8px; font-size: .82rem;
  color: var(--muted); letter-spacing: .02em;
}

/* =========================================================================
   SEÇÃO: decorações únicas por seção
   ========================================================================= */
.section__deco { position: absolute; pointer-events: none; opacity: .7; }
.section__deco--ruler {
  top: 32px; right: var(--container-pad);
  width: 120px; height: 1px;
  background: repeating-linear-gradient(90deg, var(--blue) 0 6px, transparent 6px 12px);
  opacity: .35;
}
.section__deco--dots {
  top: 28px; left: var(--container-pad);
  width: 90px; height: 90px;
  background-image: radial-gradient(var(--blue) 1px, transparent 1.5px);
  background-size: 14px 14px;
  opacity: .18;
}
.section__deco--diag {
  bottom: 30px; right: 8%;
  width: 140px; height: 140px;
  background:
    repeating-linear-gradient(135deg, var(--blue) 0 1px, transparent 1px 14px);
  opacity: .1;
}
.section__head { max-width: 720px; margin-bottom: clamp(40px, 5vw, 64px); }
.section__head--sm { margin-bottom: 40px; max-width: 100%; }
.section__title { font-size: clamp(1.75rem, 3.4vw, 2.75rem); font-weight: 500; letter-spacing: -.02em; }
.section__title--sm { font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
.section__lead { margin-top: 18px; color: var(--muted); font-size: clamp(1rem, 1.15vw, 1.1rem); line-height: 1.7; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-size: .72rem; font-weight: 500;
  letter-spacing: .16em; text-transform: uppercase; color: var(--muted);
  margin-bottom: 18px;
}
.eyebrow--blue { color: var(--blue); }
.eyebrow--inverse { color: rgba(255,255,255,.7); }
.eyebrow--blue::before {
  content: ""; width: 22px; height: 1.5px; background: var(--blue); border-radius: 2px;
}
.eyebrow--inverse::before { content: ""; width: 22px; height: 1.5px; background: rgba(255,255,255,.5); }

/* =========================================================================
   DIFERENCIAIS
   ========================================================================= */
.differentials {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.diff {
  background: var(--white); padding: clamp(28px, 4vw, 44px);
  display: flex; flex-direction: column; gap: 14px;
  position: relative; overflow: hidden;
  border: 1px solid var(--blue-150); border-radius: var(--radius-lg);
  box-shadow: 0 18px 40px -32px rgba(10,102,194,.3);
  transition: transform .4s var(--ease), border-color .4s var(--ease), box-shadow .4s var(--ease);
}
.diff::before {
  /* barra azul superior no hover */
  content: ""; position: absolute; top: 0; left: 0; right: 0;
  height: 2px; background: linear-gradient(90deg, var(--blue), var(--blue-light));
  transform: scaleX(0); transform-origin: left;
  transition: transform .5s var(--ease);
}
.diff:hover { transform: translateY(-5px); border-color: var(--blue); box-shadow: 0 26px 48px -30px var(--blue-glow); }
.diff:hover::before { transform: scaleX(1); }
.diff__index { font-family: var(--font-display); font-size: .82rem; letter-spacing: .14em; color: var(--blue); font-weight: 500; }
.diff__title { font-size: 1.25rem; font-weight: 500; }
.diff__desc { color: var(--muted); line-height: 1.7; }

/* =========================================================================
   SERVIÇOS
   ========================================================================= */
.services {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.service--wide { grid-column: span 2; }
.service {
  background: linear-gradient(180deg, var(--blue-50), var(--blue-100));
  padding: clamp(28px, 3.5vw, 40px);
  display: flex; flex-direction: column; gap: 14px;
  position: relative; overflow: hidden;
  border: 1px solid var(--blue-150); border-radius: var(--radius-lg);
  box-shadow: 0 18px 40px -34px rgba(10,102,194,.35);
  transition: transform .4s var(--ease), border-color .4s var(--ease), box-shadow .4s var(--ease);
  will-change: transform;
}
.service::before {
  /* overlay azul no hover */
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, var(--blue) 0%, var(--blue-deep) 140%);
  opacity: 0; transition: opacity .45s var(--ease);
}
.service > * { position: relative; z-index: 1; }
.service::after {
  /* glow claro no canto inferior */
  content: ""; position: absolute; bottom: -40px; right: -40px;
  width: 120px; height: 120px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.28), transparent 70%);
  opacity: 0; transition: opacity .4s var(--ease);
}
.service:hover { transform: translateY(-6px); border-color: var(--blue); box-shadow: 0 26px 48px -26px var(--blue-glow); }
.service:hover::before { opacity: 1; }
.service:hover::after { opacity: 1; }
.service:hover .service__title,
.service:hover .service__desc,
.service:hover .service__more { color: var(--white); }
.service:hover .service__icon { background: rgba(255,255,255,.16); border-color: rgba(255,255,255,.35); color: var(--white); }
.service__icon {
  width: 44px; height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--blue); border: 1px solid var(--blue-150); background: var(--white);
  border-radius: var(--radius);
  transition: color .3s var(--ease), background-color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
}
.service:hover .service__icon { transform: rotate(-4deg) scale(1.05); }
.service__title { font-size: 1.1rem; font-weight: 500; line-height: 1.3; transition: color .3s var(--ease); }
.service__desc { color: var(--muted); font-size: .95rem; line-height: 1.65; flex-grow: 1; transition: color .3s var(--ease); }
.service__more {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 8px;
  font-family: var(--font-display); font-size: .85rem; font-weight: 500;
  color: var(--blue); transition: color .3s var(--ease), gap .3s var(--ease);
}
.service__more::after { content: "→"; }

/* =========================================================================
   SOBRE
   ========================================================================= */
.about { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.about__col--text p { color: var(--muted); line-height: 1.75; margin-top: 18px; }
.section--deep .about__col--text p { color: var(--on-dark); }
.section--deep .about__col--text .section__title { color: var(--white); }
.about__col--text .section__title { margin-top: 4px; }
.checklist { margin-top: 28px; display: flex; flex-direction: column; gap: 12px; }
.checklist li {
  position: relative; padding-left: 32px; color: var(--ink);
  font-weight: 500; font-size: .98rem;
}
.section--deep .checklist li { color: var(--white); }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 4px;
  width: 18px; height: 18px; border: 1px solid var(--blue); border-radius: 3px;
  background: var(--blue-tint-2);
}
.section--deep .checklist li::before {
  border-color: rgba(255,255,255,.4);
  background: rgba(255,255,255,.12);
}
.checklist li::after {
  content: ""; position: absolute; left: 5px; top: 9px;
  width: 8px; height: 4px;
  border-left: 1.5px solid var(--blue); border-bottom: 1.5px solid var(--blue);
  transform: rotate(-45deg);
}
.section--deep .checklist li::after { border-color: var(--blue-light); }
/* Carrossel de sócios */
.partners { margin: 0; position: relative; }
.partners__frame {
  position: relative; overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,.18);
  aspect-ratio: 1 / 1;
  background: var(--ink-soft);
  box-shadow: 0 30px 60px -34px rgba(0,0,0,.55);
}
.partners__slide {
  position: absolute; inset: 0;
  opacity: 0; transform: scale(1.05);
  transition: opacity .6s var(--ease), transform 1.4s var(--ease);
  pointer-events: none;
}
.partners__slide.is-active { opacity: 1; transform: scale(1); z-index: 1; }
.partners__slide img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
}
.partners__cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 60px 20px 16px;
  background: linear-gradient(180deg, rgba(6,20,42,0) 0%, rgba(6,20,42,.84) 82%);
  display: flex; flex-direction: column; gap: 3px;
}
.partners__role {
  font-size: .66rem; letter-spacing: .18em; text-transform: uppercase;
  color: rgba(255,255,255,.66);
}
.partners__name {
  font-family: var(--font-display); font-size: 1.12rem; font-weight: 500;
  letter-spacing: .01em; color: var(--white);
}
.partners__nav { display: flex; gap: 10px; margin-top: 14px; justify-content: center; }
.p-dot {
  width: 28px; height: 3px; border-radius: 2px;
  background: rgba(255,255,255,.24);
  transition: background-color .3s var(--ease), width .3s var(--ease);
}
.p-dot.is-active { background: var(--white); width: 44px; }

/* =========================================================================
   MAPA DE ATUAÇÃO — MG & RJ com pinos por município
   ========================================================================= */
.map { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.map__hint { margin-top: 18px; font-size: .85rem; color: var(--muted); font-style: italic; }
.section--petro .map__hint { color: var(--on-dark-soft); }
.map__more {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 18px;
  font-family: var(--font-display); font-size: .92rem; font-weight: 500;
  color: var(--blue);
}
.map__more::after { content: "→"; transition: transform .3s var(--ease); }
.map__more:hover::after { transform: translateX(4px); }
.section--petro .map__more { color: var(--blue-light); }
.map__list { margin-top: 22px; display: flex; flex-direction: column; gap: 12px; }
.map__list li {
  display: flex; align-items: center; gap: 14px;
  padding: 13px 16px; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--white);
  transition: border-color .3s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease);
}
.section--petro .map__list li {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.16);
  color: var(--white);
}
.map__list li:hover { transform: translateX(6px); border-color: var(--blue); box-shadow: 0 10px 22px -16px var(--blue-glow); }
.section--petro .map__list li:hover {
  border-color: var(--blue-light);
  background: rgba(255,255,255,.14);
}
.map__dot { width: 12px; height: 12px; border-radius: 50%; flex-shrink: 0; }
.map__dot--mg { background: var(--blue); box-shadow: 0 0 0 4px var(--blue-glow); }
.map__dot--rj { background: var(--map-amber); box-shadow: 0 0 0 4px var(--map-amber-glow); }
.map__item { display: flex; flex-direction: column; line-height: 1.35; min-width: 0; }
.map__item strong { font-family: var(--font-display); font-size: .95rem; font-weight: 500; letter-spacing: -.01em; }
.map__item span { font-size: .78rem; color: var(--muted); }
.section--petro .map__item span { color: var(--on-dark-soft); }

.map__viz { position: relative; }
.map__frame {
  position: relative; background: var(--white);
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(20px, 4vw, 40px);
  box-shadow: 0 24px 60px -36px rgba(11,18,32,.25);
  overflow: hidden;
}
.map__frame::before {
  /* grade técnica interna */
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(var(--line-soft) 1px, transparent 1px), linear-gradient(90deg, var(--line-soft) 1px, transparent 1px);
  background-size: 32px 32px;
  opacity: .35; pointer-events: none;
}
.map__row {
  position: relative; z-index: 1;
  display: flex; align-items: flex-end; gap: clamp(10px, 2vw, 24px);
}
.state-map {
  margin: 0; flex: 1 1 0; min-width: 0;
  display: flex; flex-direction: column; gap: 10px;
  cursor: pointer; outline: none;
  transition: flex-grow .55s var(--ease);
}
.state-map--mg { flex-grow: 1.35; }
.state-map.is-active { flex-grow: 6; }
.state-map:focus-visible .state-map__name { text-decoration: underline; text-underline-offset: 3px; }
.state-map svg { width: 100%; height: auto; display: block; overflow: visible; }
.state-divisions {
  fill: none;
  stroke: var(--blue-150);
  stroke-width: .65;
  vector-effect: non-scaling-stroke;
  pointer-events: none;
}
.state-shape {
  fill: var(--tint-2);
  stroke: var(--blue);
  stroke-width: 1.6;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
  transition: fill .35s var(--ease), stroke .35s var(--ease);
}
.state-map--mg.is-active .state-shape { fill: var(--blue-tint); }
.state-map--rj.is-active .state-shape { fill: var(--map-amber-tint); stroke: var(--map-amber-deep); }
.state-map__cap {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  font-family: var(--font-display); font-size: .8rem; font-weight: 500;
  color: var(--ink-soft); letter-spacing: .02em;
}
.state-map__dot { width: 9px; height: 9px; border-radius: 50%; flex-shrink: 0; }
.state-map--mg .state-map__dot { background: var(--blue); }
.state-map--rj .state-map__dot { background: var(--map-amber); }
.state-map__count { margin-left: auto; font-size: .7rem; color: var(--muted); font-weight: 400; letter-spacing: .03em; }

/* ----- Pinos -----
   Visibilidade por display (sem transições/animações): garante
   que os pinos aparecem em qualquer navegador/condição. */
.pin-layer { display: none; }
.state-map.is-pinned .pin-layer { display: block; }
.pin { pointer-events: auto; cursor: pointer; }
/* área de hover generosa: só o círculo invisível captura o mouse */
.pin__dot, .pin__lead, .pin__anchor { pointer-events: none; }
.pin__hit { fill: none; pointer-events: all; }
.pin__dot {
  fill: var(--blue);
  stroke: var(--white);
  stroke-width: 2;
  vector-effect: non-scaling-stroke;
  transform-box: fill-box;
  transform-origin: center;
  transition: transform .18s var(--ease);
  filter: drop-shadow(0 3px 6px rgba(11,18,32,.28));
}
.state-map--rj .pin__dot { fill: var(--map-amber); }
.pin:hover .pin__dot { transform: scale(1.35); }
.pin__lead {
  stroke: var(--blue);
  stroke-width: 1.3;
  vector-effect: non-scaling-stroke;
  opacity: .6;
}
.state-map--rj .pin__lead { stroke: var(--map-amber); }
.pin__anchor { fill: var(--blue); opacity: .85; }
.state-map--rj .pin__anchor { fill: var(--map-amber); }

.map__corner {
  position: absolute; width: 18px; height: 18px;
  border: 1.5px solid var(--blue); opacity: .5;
}
.map__corner--tl { top: 12px; left: 12px; border-right: 0; border-bottom: 0; }
.map__corner--br { bottom: 12px; right: 12px; border-left: 0; border-top: 0; }

.map__tooltip {
  position: absolute; z-index: 5; pointer-events: none;
  background: var(--ink); color: var(--white);
  padding: 8px 12px; border-radius: var(--radius);
  font-family: var(--font-display); font-size: .82rem; font-weight: 500;
  letter-spacing: .01em; white-space: nowrap;
  transform: translate(-50%, -130%);
  box-shadow: 0 14px 28px -14px rgba(0,0,0,.4);
  opacity: 0; transition: opacity .2s var(--ease);
}
.map__tooltip::after {
  content: ""; position: absolute; bottom: -5px; left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 8px; height: 8px; background: var(--ink);
}
.map__tooltip.is-visible { opacity: 1; }

/* ----- Ampliação do mapa (overlay em tela cheia) ----- */
body.is-zoomed { overflow: hidden; }
.map-zoom {
  position: fixed; inset: 0; z-index: 300;
  display: flex; align-items: center; justify-content: center;
  padding: clamp(14px, 4vw, 56px);
}
.map-zoom[hidden] { display: none; }
.map-zoom__backdrop {
  position: absolute; inset: 0;
  background: rgba(4,13,28,.74);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  animation: mapZoomFade .35s var(--ease);
}
@keyframes mapZoomFade { from { opacity: 0; } }
.map-zoom__panel {
  position: relative; z-index: 1;
  width: min(1080px, 100%);
  max-height: 100%;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: 0 44px 100px -32px rgba(0,0,0,.55);
  display: flex; flex-direction: column;
  overflow: hidden;
  animation: mapZoomIn .5s var(--ease-out);
}
@keyframes mapZoomIn { from { opacity: 0; transform: translateY(22px) scale(.96); } }
.map-zoom__head {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 18px clamp(18px, 3vw, 30px);
  border-bottom: 1px solid var(--line-soft);
  flex-shrink: 0;
}
.map-zoom__title { font-size: 1.08rem; font-weight: 500; }
.map-zoom__sub { margin-top: 2px; font-size: .8rem; color: var(--muted); }
.map-zoom__close {
  flex-shrink: 0;
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--line); color: var(--muted);
  display: inline-flex; align-items: center; justify-content: center;
  transition: color .3s var(--ease), border-color .3s var(--ease), background-color .3s var(--ease), transform .3s var(--ease);
}
.map-zoom__close:hover { color: var(--blue); border-color: var(--blue); background: var(--blue-tint-2); transform: rotate(90deg); }
.map-zoom__body { position: relative; padding: clamp(14px, 2.5vw, 30px); overflow: auto; }
.map-zoom__body .state-map { cursor: default; }
.map-zoom__body .state-map svg { max-height: min(70vh, 720px); }

/* =========================================================================
   PROJETOS
   ========================================================================= */
.projects { display: flex; flex-direction: column; gap: clamp(22px, 3.5vw, 40px); }
.projects__hint {
  margin-top: 26px; font-size: .85rem; color: var(--muted); font-style: italic;
}
.project {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
  background: var(--white);
  border: 1px solid var(--blue-150);
  border-radius: var(--radius-lg);
  padding: clamp(18px, 3vw, 32px);
  box-shadow: 0 18px 40px -34px rgba(10,102,194,.35);
  transition: transform .4s var(--ease), border-color .4s var(--ease), box-shadow .4s var(--ease);
}
.project:hover { transform: translateY(-5px); border-color: var(--blue); box-shadow: 0 26px 48px -30px var(--blue-glow); }
.project:nth-child(even) .project__media { order: 2; }

.project__media {
  position: relative; margin: 0;
  height: clamp(300px, 34vw, 440px);
  border: 1px solid var(--blue-150);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: zoom-in;
  background: var(--blue-50);
  outline: none;
}
.project__media:focus-visible { border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-tint); }
.project__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .7s var(--ease);
}
.project:hover .project__media img { transform: scale(1.05); }
.project__zoom {
  position: absolute; right: 12px; top: 12px;
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(11,18,32,.6);
  color: var(--white);
  display: inline-flex; align-items: center; justify-content: center;
  opacity: 0; transform: translateY(-4px);
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.project__media:hover .project__zoom,
.project__media:focus-visible .project__zoom { opacity: 1; transform: translateY(0); }

.project__body { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; min-width: 0; }
.project__index {
  font-family: var(--font-display); font-size: .78rem; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase; color: var(--blue);
}
.project__title { font-size: clamp(1.2rem, 2vw, 1.5rem); font-weight: 500; letter-spacing: -.01em; line-height: 1.25; }
.project__tags { display: flex; flex-wrap: wrap; gap: 8px; }
.project__tag {
  font-family: var(--font-display); font-size: .7rem; font-weight: 500;
  letter-spacing: .07em; text-transform: uppercase;
  color: var(--blue); background: var(--blue-tint);
  border: 1px solid var(--blue-150);
  padding: 5px 11px; border-radius: 999px;
}
.project__desc { color: var(--muted); font-size: .97rem; line-height: 1.7; }

/* ----- Ampliação da imagem do projeto (overlay) ----- */
.proj-zoom {
  position: fixed; inset: 0; z-index: 300;
  display: flex; align-items: center; justify-content: center;
  padding: clamp(14px, 4vw, 56px);
}
.proj-zoom[hidden] { display: none; }
.proj-zoom__backdrop {
  position: absolute; inset: 0;
  background: rgba(4,13,28,.78);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  animation: mapZoomFade .35s var(--ease);
}
.proj-zoom__panel {
  position: relative; z-index: 1;
  display: flex; flex-direction: column;
  width: min(960px, 100%);
  max-height: 100%;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: 0 44px 100px -32px rgba(0,0,0,.55);
  padding: clamp(14px, 2.5vw, 28px);
  overflow: hidden;
  animation: mapZoomIn .5s var(--ease-out);
}
.proj-zoom__panel img {
  width: auto; max-width: 100%;
  max-height: min(74vh, 760px);
  margin-inline: auto;
  object-fit: contain;
  border-radius: var(--radius);
}
.proj-zoom__cap {
  margin-top: 14px; padding: 0 44px;
  font-size: .85rem; color: var(--muted); text-align: center;
}
.proj-zoom__close {
  position: absolute; top: 12px; right: 12px; z-index: 2;
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--line); color: var(--muted); background: var(--white);
  display: inline-flex; align-items: center; justify-content: center;
  transition: color .3s var(--ease), border-color .3s var(--ease), background-color .3s var(--ease), transform .3s var(--ease);
}
.proj-zoom__close:hover { color: var(--blue); border-color: var(--blue); background: var(--blue-tint-2); transform: rotate(90deg); }


/* =========================================================================
   BENEFÍCIOS
   ========================================================================= */
.benefits { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.benefit {
  display: flex; gap: 18px; align-items: flex-start;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--blue-150); border-radius: var(--radius-lg);
  transition: transform .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease);
}
.benefit:hover { transform: translateY(-4px); border-color: var(--blue); box-shadow: 0 22px 42px -30px var(--blue-glow); }
.benefit__check {
  flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%;
  background: var(--blue-tint); color: var(--blue);
  display: inline-flex; align-items: center; justify-content: center;
  transition: background-color .3s var(--ease), color .3s var(--ease), box-shadow .3s var(--ease);
}
.benefit:hover .benefit__check { background: var(--blue); color: var(--white); box-shadow: 0 0 0 6px var(--blue-tint); }
.benefit h3 { font-family: var(--font-display); font-size: 1.05rem; font-weight: 500; margin-bottom: 8px; }
.benefit p { color: var(--muted); font-size: .95rem; line-height: 1.65; }

/* =========================================================================
   LOGOS
   ========================================================================= */
.logos { display: flex; flex-wrap: wrap; gap: 16px; }
.logo-ph {
  flex: 1 1 200px;
  background: transparent;
  display: flex; align-items: center; justify-content: center;
  padding: 32px 20px; color: var(--muted);
  border: 1px solid var(--blue-150); border-radius: var(--radius);
  font-family: var(--font-display); font-size: .9rem; letter-spacing: .05em; text-transform: uppercase;
  transition: color .3s var(--ease), background-color .3s var(--ease), border-color .3s var(--ease);
}
.logo-ph:hover { color: var(--blue); background: var(--white); border-color: var(--blue); }

/* =========================================================================
   PARCEIROS — faixa editorial em marquee contínuo (loop 100% CSS)
   ========================================================================= */
.pt-marquee {
  /* células uniformes normalizam logos de proporções diferentes */
  --pt-gap: clamp(28px, 4.5vw, 68px);
  --pt-cell-w: clamp(128px, 15vw, 176px);
  --pt-cell-h: clamp(42px, 5vw, 62px);
  width: 100%;
  overflow: hidden;
  /* desfoque editorial nas bordas da faixa */
  mask-image: linear-gradient(90deg, transparent 0, #000 clamp(24px, 6vw, 96px), #000 calc(100% - clamp(24px, 6vw, 96px)), transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 clamp(24px, 6vw, 96px), #000 calc(100% - clamp(24px, 6vw, 96px)), transparent 100%);
}
.pt-track {
  display: flex;
  width: max-content;
  will-change: transform;
  animation: pt-scroll 42s linear infinite;
}
/* roda apenas quando a faixa está visível (IntersectionObserver em script.js) */
.pt-marquee:not(.is-running) .pt-track { animation-play-state: paused; }
.pt-group {
  display: flex;
  gap: var(--pt-gap);
  padding-right: var(--pt-gap); /* o costuro do loop recebe o mesmo respiro dos gaps */
}
.pt-item {
  flex-shrink: 0;
  width: var(--pt-cell-w);
  height: var(--pt-cell-h);
  display: flex; align-items: center; justify-content: center;
}
.pt-item img {
  width: 100%; height: 100%;
  object-fit: contain;
  opacity: .55;
  transition: opacity .35s var(--ease);
}
.pt-item img:hover { opacity: 1; }
/* fallback: se o logo não carregar no servidor, o nome do parceiro
   aparece no lugar — a faixa nunca fica vazia/quebrada */
.pt-item--missing span {
  font-family: var(--font-display);
  font-size: .78rem; font-weight: 500;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--muted);
  text-align: center; line-height: 1.3;
  padding-inline: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
@keyframes pt-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); } /* metade exata do trilho = 1 grupo: loop sem salto */
}
@media (max-width: 760px) {
  .pt-marquee { --pt-gap: 32px; --pt-cell-w: 122px; --pt-cell-h: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  .pt-track { animation: none; }
}

/* =========================================================================
   PÁGINA DE ATUAÇÃO — cabeçalho de página + regiões + municípios
   ========================================================================= */
.page-head {
  padding-top: clamp(140px, 18vw, 200px);
  padding-bottom: clamp(24px, 4vw, 48px);
}
.atu-regioes {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.atu-regiao {
  background: var(--white);
  border: 1px solid var(--blue-150); border-radius: var(--radius-lg);
  padding: clamp(24px, 3.5vw, 40px);
  box-shadow: 0 18px 40px -34px rgba(10,102,194,.3);
}
.atu-count {
  display: block;
  font-family: var(--font-display); font-size: .78rem; font-weight: 500;
  letter-spacing: .12em; text-transform: uppercase; color: var(--blue);
}
.atu-regiao h2 { margin-top: 8px; font-size: 1.25rem; font-weight: 500; }
.muni-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px 24px;
  margin-top: 22px;
}
.muni-grid li {
  display: flex; align-items: center; gap: 10px;
  padding-block: 8px;
  border-bottom: 1px solid var(--line-soft);
  font-size: .95rem; color: var(--ink-soft);
}
@media (max-width: 760px) {
  .atu-regioes { grid-template-columns: 1fr; }
  .muni-grid { grid-template-columns: 1fr; }
}

/* =========================================================================
   FAQ
   ========================================================================= */
.faq { max-width: 820px; }
.accordion { border-top: 1px solid var(--line); }
.acc-item { border-bottom: 1px solid var(--line); position: relative; }
.acc-item::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 2px;
  background: var(--blue); transform: scaleY(0); transform-origin: top;
  transition: transform .4s var(--ease);
}
.acc-item.is-open::before { transform: scaleY(1); }
.acc-head {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 24px 0 24px 20px; text-align: left;
  font-family: var(--font-display); font-size: 1.02rem; font-weight: 500; color: var(--ink);
  transition: color .25s var(--ease);
}
.acc-head:hover { color: var(--blue); }
.acc-icon { position: relative; flex-shrink: 0; width: 18px; height: 18px; }
.acc-icon::before, .acc-icon::after { content: ""; position: absolute; inset: 0; margin: auto; background: currentColor; transition: transform .3s var(--ease), opacity .3s var(--ease); }
.acc-icon::before { width: 14px; height: 1.5px; }
.acc-icon::after { width: 1.5px; height: 14px; }
.acc-item.is-open .acc-icon::after { opacity: 0; transform: rotate(90deg); }
.acc-item.is-open .acc-icon::before { transform: rotate(180deg); }
.acc-item.is-open .acc-head { color: var(--blue); }
.acc-body { overflow: hidden; max-height: 0; transition: max-height .45s var(--ease); }
.acc-item.is-open .acc-body { max-height: 320px; }
.acc-body p { padding: 0 0 24px 20px; max-width: 720px; color: var(--muted); line-height: 1.7; }

/* =========================================================================
   CTA FINAL
   ========================================================================= */
.cta-final {
  background: linear-gradient(170deg, #0B5FBB 0%, #06417F 55%, #053570 100%);
  color: var(--white);
  padding-block: clamp(72px, 9vw, 128px);
  position: relative; overflow: hidden;
}
.cta-final::before {
  /* divisor luminoso superior */
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.4) 50%, transparent);
}
.cta-final__bg { position: absolute; inset: 0; pointer-events: none; }
.cta-final__bg::before {
  content: ""; position: absolute; right: -8%; top: -10%;
  width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(255,255,255,.16), transparent 65%);
  filter: blur(20px);
}
.cta-final__bg::after {
  content: ""; position: absolute; left: -6%; bottom: -20%;
  width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(5,53,112,.7), transparent 65%);
  filter: blur(24px);
}
.cta-final__inner { display: grid; grid-template-columns: 1fr .85fr; gap: clamp(40px, 6vw, 80px); align-items: start; position: relative; }
.cta-final__title { font-size: clamp(1.9rem, 3.6vw, 2.8rem); font-weight: 500; letter-spacing: -.02em; margin-top: 8px; }
.cta-final__lead { margin-top: 18px; color: rgba(255,255,255,.72); max-width: 440px; line-height: 1.7; }
.cta-final__cta { margin-top: 32px; display: flex; gap: 12px; flex-wrap: wrap; }
.contact-form {
  background: var(--white); color: var(--ink);
  padding: clamp(28px, 3.5vw, 40px); border-radius: var(--radius-lg);
  box-shadow: 0 30px 70px -30px rgba(0,0,0,.55);
  border: 1px solid rgba(255,255,255,.06);
}
.contact-form__title { font-size: 1.25rem; font-weight: 500; margin-bottom: 22px; }
.field { margin-bottom: 16px; display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: .82rem; font-weight: 500; color: var(--ink-soft); letter-spacing: .02em; }
.field input, .field select, .field textarea {
  padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--white);
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
  font-family: var(--font-body); font-size: .95rem;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-tint);
}
.field textarea { resize: vertical; min-height: 84px; }
.contact-form__note { font-size: .85rem; margin-top: 10px; min-height: 1.2em; color: var(--blue); }

/* =========================================================================
   FOOTER premium — azul escuro
   ========================================================================= */
.footer {
  background: var(--footer-grad);
  color: var(--white);
  padding-top: clamp(56px, 7vw, 80px);
  position: relative;
}
.footer::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(59,130,229,.6) 50%, transparent);
}
.footer::after {
  /* faixa azul selo centralizada */
  content: ""; position: absolute; top: -1px; left: 50%; transform: translateX(-50%);
  width: 64px; height: 2px; background: var(--blue-light); border-radius: 2px;
}
.footer__grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px;
  padding-bottom: 56px; border-bottom: 1px solid var(--line-dark);
}
.footer__brand .brand__tag { color: rgba(255,255,255,.55); }
.footer__desc { margin-top: 20px; color: var(--on-dark-soft); font-size: .92rem; line-height: 1.7; max-width: 320px; }
.footer__social { display: flex; gap: 10px; margin-top: 24px; }
.footer__social a {
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.2);
  display: inline-flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.8);
  transition: background-color .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease), transform .25s var(--ease);
}
.footer__social a:hover {
  background: var(--blue); border-color: var(--blue); color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 12px 24px -12px var(--blue-glow);
}
.footer__col h3 {
  font-family: var(--font-display); font-size: .82rem; letter-spacing: .12em;
  text-transform: uppercase; color: var(--blue-light); margin-bottom: 18px; font-weight: 500;
}
.footer__col ul { display: flex; flex-direction: column; gap: 12px; }
.footer__col a { color: rgba(255,255,255,.72); font-size: .94rem; transition: color .25s var(--ease); }
.footer__col a:hover { color: var(--white); }
.footer__col li:not(:has(a)) { color: rgba(255,255,255,.55); font-size: .94rem; }
.footer__contact { gap: 8px; }
.footer__bar { padding-block: 22px; border-top: 1px solid var(--line-dark); margin-top: 0; }
.footer__bar-inner {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px; font-size: .82rem; color: rgba(255,255,255,.45);
}

/* =========================================================================
   FLOATS
   ========================================================================= */
.wa-float {
  position: fixed; right: 22px; bottom: 22px;
  width: 52px; height: 52px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--blue); color: var(--white); border-radius: 50%;
  box-shadow: 0 14px 30px -10px var(--blue-glow); z-index: 90;
  transition: transform .25s var(--ease), background-color .25s var(--ease), box-shadow .25s var(--ease);
  animation: wa-pulse 2.8s var(--ease) infinite;
}
.wa-float:hover { background: var(--blue-dark); transform: translateY(-3px) scale(1.04); }
@keyframes wa-pulse {
  0%, 100% { box-shadow: 0 14px 30px -10px var(--blue-glow), 0 0 0 0 var(--blue-glow); }
  50%      { box-shadow: 0 14px 30px -10px var(--blue-glow), 0 0 0 12px transparent; }
}
.to-top {
  position: fixed; right: 22px; bottom: 86px;
  width: 44px; height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--white); color: var(--ink); border: 1px solid var(--line); border-radius: 50%;
  z-index: 89; opacity: 0; transform: translateY(10px); pointer-events: none;
  transition: opacity .3s var(--ease), transform .3s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.to-top.is-visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.to-top:hover { color: var(--blue); border-color: var(--blue); transform: translateY(-3px); }

/* =========================================================================
   RESPONSIVIDADE
   ========================================================================= */
@media (max-width: 1024px) {
  .services { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2n) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .differentials { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .cta-final__inner { grid-template-columns: 1fr; }
  .about { grid-template-columns: 1fr; }
  .about__col--visual { order: -1; }
  .map { grid-template-columns: 1fr; }
  .map__text { order: 2; }
  .map__row { flex-direction: column; align-items: stretch; gap: 28px; }
  .state-map--mg { flex-grow: 1; }
  .state-map.is-active { flex-grow: 1; }
  .state-map__count { margin-left: 0; width: 100%; order: 3; }
  .project { grid-template-columns: 1fr; gap: 20px; }
  .project:nth-child(even) .project__media { order: 0; }
  .project__media { height: clamp(240px, 42vw, 340px); }
}

@media (max-width: 760px) {
  .nav {
    position: fixed; inset: 76px 0 auto 0; background: var(--white);
    border-bottom: 1px solid var(--line); transform: translateY(-110%);
    transition: transform .4s var(--ease); box-shadow: 0 20px 30px -24px rgba(11,18,32,.25);
  }
  .nav.is-open { transform: translateY(0); }
  .nav__list { flex-direction: column; gap: 0; padding: 8px var(--container-pad) 24px; }
  .nav__list li { border-bottom: 1px solid var(--line-soft); }
  .nav__link { display: block; padding: 16px 0; }
  .nav__link::after { display: none; }
  .nav-toggle { display: inline-flex; }
  .header__actions .btn--primary { display: none; }

  .hero__title br { display: none; }
  .stats { grid-template-columns: 1fr 1fr; }
  .services { grid-template-columns: 1fr; }
  .service--wide { grid-column: auto; }
  .projects { gap: 18px; }
  .project__media { height: 230px; }
  .benefits { grid-template-columns: 1fr; gap: 22px; }
  .benefit:nth-last-child(2) { border-bottom: 1px solid var(--line); }
  .footer__grid { grid-template-columns: 1fr; gap: 36px; }
  .section__head { margin-bottom: 36px; }
  .cta-final__title { font-size: clamp(1.6rem, 7vw, 2.2rem); }
}

@media (max-width: 480px) {
  .stats { grid-template-columns: 1fr; }
  .stat { border-right: 0; border-bottom: 1px solid var(--line); padding-right: 0; }
  .stat:last-child { border-bottom: 0; }
  .hero { padding-top: 120px; }
  .btn { --pad-x: 18px; }
}

/* =========================================================================
   ACESSIBILIDADE
   ========================================================================= */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1 !important; transform: none !important; filter: none !important; }
  [data-enter] { opacity: 1 !important; transform: none !important; filter: none !important; }
  .bg-blob, .bg-particles span, .hero__ring { animation: none !important; }
}