@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;600;700&family=Inter:wght@400;500;600&display=swap');

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

:root {
  /* azul DGM-Fix */
  --navy-950: #021830;
  --navy-900: #042C53;
  --navy-800: #0A3A68;
  --blue-600: #185FA5;
  --blue-500: #1F6FC5;
  --blue-400: #378ADD;
  --blue-200: #85B7EB;
  --blue-50:  #E6F1FB;

  --paper: #F7FAFD;
  --white: #FFFFFF;

  --ink:   #0B1F33;   /* títulos no claro */
  --body:  #4A5E72;   /* texto no claro */
  --muted: #7A8FA6;

  --on-dark:   #FFFFFF;
  --on-dark-2: rgba(255,255,255,0.66);
  --on-dark-3: rgba(255,255,255,0.42);

  --line-dark:  rgba(255,255,255,0.09);
  --line-light: rgba(2,24,48,0.09);

  --font-display: 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 20px;
  --nav-h: 76px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-lg: 0 30px 80px rgba(0,0,0,0.35);
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--body);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
img, svg { display: block; }
section[id] { scroll-margin-top: 20px; }

:focus-visible { outline: 2px solid var(--blue-400); outline-offset: 3px; border-radius: 4px; }

::selection { background: var(--blue-400); color: #fff; }
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--navy-950); }
::-webkit-scrollbar-thumb { background: var(--navy-800); border-radius: 8px; }
::-webkit-scrollbar-thumb:hover { background: var(--blue-600); }

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 2rem; }

.progress-bar {
  position: fixed; top: 0; left: 0;
  height: 3px; width: 100%;
  transform: scaleX(0); transform-origin: left;
  background: linear-gradient(90deg, var(--blue-500), var(--blue-200));
  z-index: 1001;
}

/* ─── BOTÕES ─────────────────────────────────────────────────── */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.95rem 1.7rem;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  overflow: hidden;
  white-space: nowrap;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease);
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; transition: transform .3s var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary { background: var(--blue-500); color: #fff; box-shadow: 0 8px 24px rgba(31,111,197,0.35); }
.btn-primary:hover { background: var(--blue-400); box-shadow: 0 14px 34px rgba(55,138,221,0.45); }
.btn-primary:hover svg { transform: translateX(4px); }
/* brilho que passa no botão */
.btn-primary::after {
  content: '';
  position: absolute; top: 0; left: -120%;
  width: 60%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.28), transparent);
  transform: skewX(-20deg);
  transition: left .7s var(--ease);
}
.btn-primary:hover::after { left: 140%; }

.btn-ghost { background: rgba(255,255,255,0.05); color: var(--on-dark); border-color: var(--line-dark); }
.btn-ghost:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.25); }
.btn-ghost svg { width: 18px; height: 18px; color: #25D366; }

.btn-white { background: #fff; color: var(--navy-950); }
.btn-white:hover { box-shadow: 0 14px 34px rgba(0,0,0,0.25); }
.btn-outline-white { color: #fff; border-color: rgba(255,255,255,0.45); }
.btn-outline-white:hover { background: rgba(255,255,255,0.12); border-color: #fff; }

/* ─── SEÇÕES / TÍTULOS ───────────────────────────────────────── */
.light { background: var(--paper); }
.dark  { background: var(--navy-950); color: var(--on-dark-2); }

#sobre, #servicos, #processo, #onde, #contato { padding: 7.5rem 0; }

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--blue-600);
  margin-bottom: 1rem;
}
.kicker::before { content: ''; width: 24px; height: 2px; background: currentColor; border-radius: 2px; }
.dark .kicker { color: var(--blue-400); }

.section-head { margin-bottom: 3.5rem; max-width: 640px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .kicker { justify-content: center; }

.section-head h2, .contato-side h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.9rem);
  font-weight: 700;
  letter-spacing: -1.2px;
  line-height: 1.1;
  color: var(--ink);
}
.dark .section-head h2 { color: var(--on-dark); }
.section-sub { font-size: 1.05rem; color: var(--muted); margin-top: 1rem; line-height: 1.7; }
.dark .section-sub { color: var(--on-dark-2); }

/* ─── NAVBAR ─────────────────────────────────────────────────── */
#navbar {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 999;
  border-bottom: 1px solid transparent;
  transition: background .35s var(--ease), border-color .35s var(--ease), height .35s var(--ease), transform .35s var(--ease);
}
#navbar.scrolled {
  --nav-h: 66px;
  background: rgba(2,24,48,0.86);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: var(--line-dark);
}
#navbar.hide { transform: translateY(-100%); }

.nav-inner {
  max-width: 1180px; height: 100%;
  margin: 0 auto; padding: 0 2rem;
  display: flex; align-items: center; justify-content: space-between;
}

.logo {
  display: inline-flex; align-items: center;
  font-family: var(--font-display);
  font-size: 1.45rem; font-weight: 700;
  letter-spacing: -0.5px;
  color: #fff;
}
.logo span { color: var(--blue-400); }
.logo::after {
  content: '';
  width: 7px; height: 7px; margin-left: 6px;
  border-radius: 50%;
  background: var(--blue-400);
  animation: pulse-dot 2.4s ease-in-out infinite;
}
@keyframes pulse-dot { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: .4; transform: scale(.65); } }

.nav-links { display: flex; align-items: center; gap: .25rem; }
.nav-links a {
  position: relative;
  font-size: .92rem; font-weight: 500;
  color: var(--on-dark-2);
  padding: .55rem 1rem;
  border-radius: 999px;
  transition: color .25s;
}
.nav-links a:not(.nav-cta)::after {
  content: '';
  position: absolute; left: 1rem; right: 1rem; bottom: 4px;
  height: 2px; border-radius: 2px;
  background: var(--blue-400);
  transform: scaleX(0); transform-origin: left;
  transition: transform .35s var(--ease);
}
.nav-links a:hover, .nav-links a.active { color: #fff; }
.nav-links a:not(.nav-cta):hover::after, .nav-links a.active::after { transform: scaleX(1); }

.nav-cta {
  margin-left: .6rem;
  background: var(--blue-500);
  color: #fff !important;
  font-weight: 600 !important;
  padding: .6rem 1.3rem !important;
  transition: background .25s, transform .25s var(--ease), box-shadow .25s !important;
}
.nav-cta:hover { background: var(--blue-400); transform: translateY(-1px); box-shadow: 0 8px 22px rgba(55,138,221,0.4); }

.hamburger {
  display: none;
  width: 42px; height: 42px;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--line-dark);
  border-radius: 10px;
  cursor: pointer;
}
.hamburger span { display: block; width: 18px; height: 2px; background: #fff; border-radius: 2px; transition: transform .35s var(--ease), opacity .25s; }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─── HERO ───────────────────────────────────────────────────── */
#home {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center;
  background: radial-gradient(ellipse 80% 60% at 75% 30%, rgba(24,95,165,0.22), transparent 60%), var(--navy-950);
  padding: calc(var(--nav-h) + 2rem) 0 4rem;
  overflow: hidden;
}
#home::before {
  content: '';
  position: absolute; inset: 0;
  background-image: linear-gradient(var(--line-dark) 1px, transparent 1px), linear-gradient(90deg, var(--line-dark) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 0%, transparent 75%);
          mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 0%, transparent 75%);
  opacity: .6;
  animation: grid-drift 30s linear infinite;
}
@keyframes grid-drift { to { background-position: 64px 64px, 64px 64px; } }

.hero-orb { position: absolute; border-radius: 50%; filter: blur(90px); pointer-events: none; }
.hero-orb-1 { width: 520px; height: 520px; background: rgba(31,111,197,0.30); top: -160px; right: -120px; animation: float-orb 13s ease-in-out infinite; }
.hero-orb-2 { width: 340px; height: 340px; background: rgba(133,183,235,0.12); bottom: -100px; left: -80px; animation: float-orb 17s ease-in-out infinite reverse; }
@keyframes float-orb { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(-20px,-28px) scale(1.07); } }

.hero-wrap {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 4rem;
  align-items: center;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: .8rem; font-weight: 500;
  color: var(--on-dark-2);
  background: rgba(55,138,221,0.1);
  border: 1px solid rgba(55,138,221,0.28);
  border-radius: 999px;
  padding: .42rem 1rem;
  margin-bottom: 1.8rem;
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: #3DDC84; box-shadow: 0 0 0 0 rgba(61,220,132,0.6); animation: ping 2s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(61,220,132,0.55); } 80%,100% { box-shadow: 0 0 0 9px rgba(61,220,132,0); } }

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.7rem, 5.6vw, 4.6rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.02;
  letter-spacing: -2.4px;
  margin-bottom: 1.5rem;
}
.hero-title em {
  font-style: normal;
  background: linear-gradient(100deg, var(--blue-400) 0%, var(--blue-200) 50%, var(--blue-400) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  animation: shine 5s linear infinite;
}
@keyframes shine { to { background-position: 200% center; } }

.hero-sub { font-size: 1.1rem; color: var(--on-dark-2); max-width: 500px; line-height: 1.75; margin-bottom: 2.3rem; }
.hero-actions { display: flex; gap: .9rem; flex-wrap: wrap; margin-bottom: 3.2rem; }

.hero-meta { display: flex; gap: 2.8rem; padding-top: 2rem; border-top: 1px solid var(--line-dark); flex-wrap: wrap; }
.meta-item strong { display: block; font-family: var(--font-display); font-size: 2rem; font-weight: 700; color: #fff; line-height: 1; font-variant-numeric: tabular-nums; }
.meta-item span { display: block; font-size: .74rem; color: var(--on-dark-3); text-transform: uppercase; letter-spacing: 1.1px; margin-top: 8px; }

/* mockup */
.hero-visual { position: relative; padding: 1.5rem 2.5rem 3rem 0; perspective: 1400px; }
.browser {
  position: relative;
  background: #0B2A4B;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(55,138,221,0.12);
  overflow: hidden;
  transform: rotateY(-8deg) rotateX(4deg);
  transform-style: preserve-3d;
  transition: transform .8s var(--ease);
  animation: float-soft 7s ease-in-out infinite;
}
.hero-visual:hover .browser { transform: rotateY(-2deg) rotateX(1deg); }
@keyframes float-soft { 0%,100% { translate: 0 0; } 50% { translate: 0 -10px; } }

.browser-bar { display: flex; align-items: center; gap: 7px; padding: .75rem 1rem; background: rgba(255,255,255,0.04); border-bottom: 1px solid var(--line-dark); }
.b-dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.18); }
.b-dot:nth-child(1) { background: #FF5F57; } .b-dot:nth-child(2) { background: #FEBC2E; } .b-dot:nth-child(3) { background: #28C840; }
.b-url {
  flex: 1; margin-left: .8rem;
  display: flex; align-items: center; gap: 6px;
  font-size: .72rem; color: var(--on-dark-3);
  background: rgba(0,0,0,0.25); border-radius: 6px; padding: .32rem .7rem;
}
.b-url svg { width: 11px; height: 11px; color: #3DDC84; }

.browser-body { padding: 1.2rem 1.3rem 1.4rem; }
.browser-body i, .phone-body i, .sk-nav b {
  display: block; height: 9px; border-radius: 6px;
  background: linear-gradient(90deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.18) 50%, rgba(255,255,255,0.08) 100%);
  background-size: 200% 100%;
  animation: shimmer 2.4s ease-in-out infinite;
}
@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

.sk-nav { display: flex; align-items: center; gap: .6rem; margin-bottom: 1.3rem; }
.sk-nav i { width: 34px; height: 6px; }
.sk-nav .sk-logo, .phone-body .sk-logo { width: 48px; height: 10px; margin-right: auto; background: var(--blue-400); animation: none; }
.sk-nav b { width: 50px; height: 16px; border-radius: 999px; background: var(--blue-500); animation: none; }

.sk-hero { display: grid; grid-template-columns: 1.1fr 1fr; gap: 1.1rem; align-items: center; margin-bottom: 1.2rem; }
.sk-lines { display: flex; flex-direction: column; gap: .55rem; }
.sk-lines i { height: 12px; }
.sk-lines i.thin, .phone-body i.thin { height: 6px; opacity: .7; }
.w90 { width: 90%; } .w70 { width: 70%; } .w60 { width: 60%; } .w50 { width: 50%; }
.sk-btn { display: block; width: 84px; height: 22px; margin-top: .5rem; border-radius: 999px; background: var(--blue-500); box-shadow: 0 6px 16px rgba(31,111,197,0.5); }

.sk-img {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--blue-600), #0E4B86 60%, var(--navy-900));
  overflow: hidden;
}
.sk-img span {
  position: absolute; inset: 22% 18%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(133,183,235,0.55), transparent 70%);
  animation: float-orb 6s ease-in-out infinite;
}
.sk-img.small { aspect-ratio: 16 / 10; margin: .6rem 0; }

.sk-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: .7rem; }
.sk-cards div {
  height: 56px; border-radius: 8px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--line-dark);
  transition: transform .4s var(--ease), background .4s var(--ease);
}
.hero-visual:hover .sk-cards div:nth-child(2) { transform: translateY(-4px); background: rgba(55,138,221,0.14); }

.phone {
  position: absolute; right: 0; bottom: 0;
  width: 132px;
  background: #0B2A4B;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 22px;
  padding: 10px 9px 14px;
  box-shadow: var(--shadow-lg);
  animation: float-soft 6s ease-in-out infinite reverse;
}
.phone-notch { width: 40px; height: 5px; margin: 0 auto 9px; border-radius: 4px; background: rgba(255,255,255,0.15); }
.phone-body { display: flex; flex-direction: column; gap: .4rem; }
.phone-body i { height: 7px; }
.phone-body .sk-btn { width: 100%; height: 18px; margin-top: .3rem; }

.float-chip {
  position: absolute;
  display: inline-flex; align-items: center; gap: 7px;
  font-size: .78rem; font-weight: 600;
  color: var(--ink);
  background: #fff;
  border-radius: 999px;
  padding: .5rem .9rem;
  box-shadow: 0 12px 30px rgba(0,0,0,0.3);
}
.float-chip svg { width: 15px; height: 15px; color: var(--blue-500); }
.chip-1 { top: 0; left: -1.5rem; animation: float-soft 5s ease-in-out infinite; }
.chip-2 { bottom: 1.2rem; left: 12%; animation: float-soft 6.5s ease-in-out infinite reverse; }

.scroll-hint {
  position: absolute; left: 50%; bottom: 1.8rem;
  translate: -50% 0;
  width: 24px; height: 38px;
  border: 2px solid rgba(255,255,255,0.25);
  border-radius: 14px;
  z-index: 2;
}
.scroll-hint span { position: absolute; left: 50%; top: 7px; width: 3px; height: 7px; margin-left: -1.5px; border-radius: 2px; background: #fff; animation: wheel 1.8s ease-in-out infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }

/* ─── SOBRE ──────────────────────────────────────────────────── */
.sobre-grid { display: grid; grid-template-columns: .9fr 1.3fr; gap: 4.5rem; align-items: start; }
.sobre-lead {
  font-family: var(--font-display);
  font-size: 1.45rem; font-weight: 500;
  line-height: 1.55; letter-spacing: -.3px;
  color: var(--ink);
  position: sticky; top: 110px;
}
.pillars { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.pillar {
  background: #fff;
  border: 1px solid var(--line-light);
  border-radius: var(--r-md);
  padding: 1.7rem;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
}
.pillar:hover { transform: translateY(-5px); box-shadow: 0 18px 40px rgba(4,44,83,0.1); border-color: rgba(55,138,221,0.35); }
.pillar-icon {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: var(--blue-50);
  color: var(--blue-600);
  margin-bottom: 1.1rem;
  transition: background .4s var(--ease), color .4s var(--ease), transform .4s var(--ease);
}
.pillar-icon svg { width: 21px; height: 21px; }
.pillar:hover .pillar-icon { background: var(--blue-500); color: #fff; transform: rotate(-6deg) scale(1.06); }
.pillar h4 { font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; color: var(--ink); margin-bottom: .4rem; }
.pillar p { font-size: .92rem; color: var(--body); line-height: 1.65; }

/* ─── SERVIÇOS ───────────────────────────────────────────────── */
#servicos { position: relative; overflow: hidden; }
#servicos::before {
  content: ''; position: absolute; width: 600px; height: 600px; left: -200px; top: 20%;
  border-radius: 50%; filter: blur(110px); background: rgba(24,95,165,0.18); pointer-events: none;
}
.bento { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: minmax(230px, auto); gap: 1.2rem; }
.bento-big { grid-column: span 2; grid-row: span 2; }
.bento-wide { grid-column: span 2; }

.bento-card {
  position: relative;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 2.1rem;
  background: linear-gradient(160deg, rgba(10,58,104,0.55), rgba(4,44,83,0.55));
  border: 1px solid var(--line-dark);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform .45s var(--ease), border-color .45s var(--ease), box-shadow .45s var(--ease);
}
.bento-card::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), rgba(133,183,235,0.16), transparent 60%);
  opacity: 0; transition: opacity .4s var(--ease);
  pointer-events: none;
}
.bento-card:hover { transform: translateY(-5px); border-color: rgba(55,138,221,0.55); box-shadow: 0 24px 60px rgba(0,0,0,0.35); }
.bento-card:hover::before { opacity: 1; }
.bento-card > * { position: relative; z-index: 1; }

.bento-big {
  background:
    radial-gradient(circle at 85% 15%, rgba(55,138,221,0.35), transparent 45%),
    linear-gradient(160deg, #0B3F73, #06325E);
}
.bento-big::after {
  content: ''; position: absolute; right: -60px; top: -60px;
  width: 280px; height: 280px;
  border: 1px solid rgba(255,255,255,0.1); border-radius: 50%;
  box-shadow: 0 0 0 40px rgba(255,255,255,0.025), 0 0 0 80px rgba(255,255,255,0.02);
  animation: spin 40s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.bento-icon {
  width: 48px; height: 48px;
  display: grid; place-items: center;
  border-radius: 13px;
  background: rgba(55,138,221,0.15);
  border: 1px solid rgba(55,138,221,0.25);
  color: var(--blue-200);
  margin-bottom: 1.3rem;
  transition: transform .45s var(--ease), background .45s var(--ease), color .45s var(--ease);
}
.bento-icon svg { width: 23px; height: 23px; }
.bento-card:hover .bento-icon { transform: rotate(-6deg) scale(1.08); background: var(--blue-500); color: #fff; }

.bento-card h3 { font-family: var(--font-display); font-size: 1.2rem; font-weight: 700; color: #fff; margin-bottom: .55rem; letter-spacing: -.3px; }
.bento-big h3 { font-size: 1.75rem; letter-spacing: -.6px; }
.bento-card p { font-size: .92rem; color: var(--on-dark-2); line-height: 1.7; max-width: 460px; }

.bento-tags { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.4rem; }
.bento-tags li {
  font-size: .76rem; font-weight: 500;
  color: var(--blue-200);
  padding: .35rem .8rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--line-dark);
}

/* ─── PROCESSO ───────────────────────────────────────────────── */
.steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.steps-line { position: absolute; top: 27px; left: 12.5%; right: 12.5%; height: 2px; background: var(--line-light); }
.steps-line span { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, var(--blue-500), var(--blue-400)); transform: scaleX(0); transform-origin: left; transition: transform 1.6s var(--ease); }
.steps.in .steps-line span { transform: scaleX(1); }

.step { position: relative; text-align: center; padding: 0 .5rem; }
.step-n {
  position: relative; z-index: 1;
  width: 56px; height: 56px;
  margin: 0 auto 1.4rem;
  display: grid; place-items: center;
  font-family: var(--font-display); font-size: 1.2rem; font-weight: 700;
  color: var(--blue-600);
  background: #fff;
  border: 2px solid var(--blue-50);
  border-radius: 50%;
  box-shadow: 0 8px 22px rgba(4,44,83,0.08);
  transition: background .4s var(--ease), color .4s var(--ease), transform .4s var(--ease), border-color .4s var(--ease);
}
.step:hover .step-n { background: var(--blue-500); color: #fff; border-color: var(--blue-500); transform: scale(1.1); }
.step h4 { font-family: var(--font-display); font-size: 1.15rem; font-weight: 700; color: var(--ink); margin-bottom: .55rem; }
.step p { font-size: .92rem; color: var(--body); line-height: 1.65; max-width: 240px; margin: 0 auto; }

/* ─── CTA BAND ───────────────────────────────────────────────── */
.cta-band {
  position: relative;
  padding: 4.5rem 0;
  background: linear-gradient(115deg, var(--blue-600) 0%, var(--blue-500) 45%, #2B82D8 100%);
  overflow: hidden;
}
.cta-band::before, .cta-band::after {
  content: ''; position: absolute; border-radius: 50%; pointer-events: none;
  border: 1px solid rgba(255,255,255,0.15);
}
.cta-band::before { width: 420px; height: 420px; right: -120px; top: -200px; }
.cta-band::after  { width: 260px; height: 260px; right: 80px; bottom: -180px; }
.cta-inner { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.cta-inner h2 { font-family: var(--font-display); font-size: clamp(1.7rem, 3.2vw, 2.4rem); font-weight: 700; color: #fff; letter-spacing: -1px; line-height: 1.15; }
.cta-inner p { color: rgba(255,255,255,0.82); margin-top: .5rem; font-size: 1.05rem; }
.cta-actions { display: flex; gap: .8rem; flex-wrap: wrap; }

/* ─── ONDE ───────────────────────────────────────────────────── */
.onde-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: 2rem; align-items: stretch; }
.onde-list { display: flex; flex-direction: column; gap: 1rem; }
.onde-card {
  display: flex; gap: 1.1rem; align-items: flex-start;
  padding: 1.5rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--line-dark);
  border-radius: var(--r-md);
  transition: transform .4s var(--ease), background .4s var(--ease), border-color .4s var(--ease);
}
.onde-card:hover { transform: translateX(6px); background: rgba(55,138,221,0.08); border-color: rgba(55,138,221,0.35); }
.onde-icon { width: 44px; height: 44px; flex-shrink: 0; display: grid; place-items: center; border-radius: 12px; background: rgba(55,138,221,0.14); color: var(--blue-400); }
.onde-icon svg { width: 20px; height: 20px; }
.onde-label { display: block; font-size: .72rem; font-weight: 600; letter-spacing: 1.4px; text-transform: uppercase; color: var(--blue-400); margin-bottom: .35rem; }
.onde-card p { font-size: .95rem; color: var(--on-dark-2); line-height: 1.6; }

.map-wrap {
  min-height: 380px;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line-dark);
  box-shadow: var(--shadow-lg);
}
.map-wrap iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; filter: saturate(.85); }

/* ─── CONTATO ────────────────────────────────────────────────── */
.contato-layout { display: grid; grid-template-columns: .9fr 1.2fr; gap: 4rem; align-items: start; }
.contato-side h2 { margin-bottom: .4rem; }
.contato-cards { display: grid; grid-template-columns: 1fr; gap: .8rem; margin-top: 2.2rem; max-width: 420px; }
.c-card {
  display: flex; align-items: center; gap: .9rem;
  padding: 1rem 1.1rem;
  background: #fff;
  border: 1px solid var(--line-light);
  border-radius: var(--r-md);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
  min-width: 0;
}
.c-card:hover { transform: translateY(-3px); box-shadow: 0 14px 32px rgba(4,44,83,0.1); border-color: rgba(55,138,221,0.4); }
.c-icon { width: 40px; height: 40px; flex-shrink: 0; display: grid; place-items: center; border-radius: 11px; background: var(--blue-50); color: var(--blue-600); transition: background .35s, color .35s; }
.c-icon svg { width: 19px; height: 19px; }
.c-card:hover .c-icon { background: var(--blue-500); color: #fff; }
.c-card > div:last-child { min-width: 0; }
.c-label { display: block; font-size: .7rem; font-weight: 600; letter-spacing: 1.2px; text-transform: uppercase; color: var(--muted); }
.c-val { display: block; font-size: .92rem; font-weight: 600; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.form-card {
  background: #fff;
  border: 1px solid var(--line-light);
  border-radius: var(--r-lg);
  padding: 2.5rem;
  box-shadow: 0 24px 60px rgba(4,44,83,0.08);
}
.form-head { margin-bottom: 1.8rem; }
.form-head h3 { font-family: var(--font-display); font-size: 1.4rem; font-weight: 700; color: var(--ink); }
.form-head p { font-size: .92rem; color: var(--muted); margin-top: .2rem; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-size: .84rem; font-weight: 600; color: var(--ink); margin-bottom: .45rem; }
.field label small { font-weight: 400; color: var(--muted); }
.field input, .field textarea, .field select {
  width: 100%;
  padding: .85rem 1rem;
  font-family: var(--font-body); font-size: .95rem;
  color: var(--ink);
  background: var(--paper);
  border: 1.5px solid #E1E8F0;
  border-radius: 10px;
  outline: none;
  transition: border-color .25s, background .25s, box-shadow .25s;
  -webkit-appearance: none; appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%237A8FA6' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center;
  padding-right: 2.5rem; cursor: pointer;
}
.field input::placeholder, .field textarea::placeholder { color: #A9B7C6; }
.field input:hover, .field textarea:hover, .field select:hover { border-color: #C9D6E3; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--blue-400); background: #fff; box-shadow: 0 0 0 4px rgba(55,138,221,0.14); }
.field.invalid input, .field.invalid textarea { border-color: #E05252; box-shadow: 0 0 0 4px rgba(224,82,82,0.1); }
.field textarea { resize: vertical; min-height: 130px; }

.btn-submit { width: 100%; margin-top: .4rem; padding: 1.05rem; font-size: 1rem; }
.btn-submit .spinner { display: none; width: 18px; height: 18px; border: 2px solid rgba(255,255,255,0.4); border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite; }
.btn-submit.loading .spinner { display: inline-block; }
.btn-submit.loading { pointer-events: none; opacity: .85; }

.form-status { margin-top: 1rem; font-size: .92rem; min-height: 1.4em; text-align: center; }
.form-status.ok { color: #1E8E4F; }
.form-status.err { color: #C53B3B; }
.form-status a { text-decoration: underline; }

/* ─── FOOTER ─────────────────────────────────────────────────── */
footer { background: #011223; padding: 4rem 0 2rem; color: var(--on-dark-2); }
.footer-top { display: flex; justify-content: space-between; gap: 3rem; flex-wrap: wrap; padding-bottom: 2.5rem; border-bottom: 1px solid var(--line-dark); }
.footer-brand p { font-size: .9rem; color: var(--on-dark-3); margin: .8rem 0 1.2rem; max-width: 260px; }
.footer-social { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 10px; border: 1px solid var(--line-dark); color: var(--on-dark-2); transition: .3s var(--ease); }
.footer-social svg { width: 18px; height: 18px; }
.footer-social:hover { color: #fff; border-color: var(--blue-400); background: rgba(55,138,221,0.12); transform: translateY(-2px); }
.footer-links { display: flex; gap: 4.5rem; flex-wrap: wrap; }
.footer-col { display: flex; flex-direction: column; gap: .65rem; }
.footer-col h5 { font-size: .74rem; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: var(--on-dark-3); margin-bottom: .4rem; }
.footer-col a { font-size: .92rem; color: var(--on-dark-2); transition: color .25s, transform .25s var(--ease); width: fit-content; }
.footer-col a:hover { color: #fff; transform: translateX(3px); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; padding-top: 1.6rem; font-size: .84rem; color: var(--on-dark-3); }
.to-top { color: var(--on-dark-2); transition: color .25s; }
.to-top:hover { color: #fff; }

/* ─── WHATSAPP FLUTUANTE ─────────────────────────────────────── */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 998;
  width: 58px; height: 58px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: #25D366; color: #fff;
  box-shadow: 0 10px 30px rgba(37,211,102,0.4);
  transform: scale(0); opacity: 0;
  transition: transform .5s var(--ease), opacity .4s, box-shadow .3s;
}
.wa-float.show { transform: scale(1); opacity: 1; }
.wa-float:hover { box-shadow: 0 14px 40px rgba(37,211,102,0.55); transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; }
.wa-float::before {
  content: ''; position: absolute; inset: 0; border-radius: 50%;
  background: #25D366; z-index: -1;
  animation: wa-pulse 2.4s ease-out infinite;
}
@keyframes wa-pulse { 0% { transform: scale(1); opacity: .5; } 100% { transform: scale(1.6); opacity: 0; } }
.wa-tip {
  position: absolute; right: 70px;
  white-space: nowrap;
  font-size: .85rem; font-weight: 600;
  color: var(--ink); background: #fff;
  padding: .5rem .9rem; border-radius: 10px;
  box-shadow: 0 10px 26px rgba(0,0,0,0.18);
  opacity: 0; transform: translateX(8px);
  transition: opacity .3s, transform .3s var(--ease);
  pointer-events: none;
}
.wa-float:hover .wa-tip { opacity: 1; transform: translateX(0); }

/* ─── REVEAL ─────────────────────────────────────────────────── */
.js .reveal { opacity: 0; transform: translateY(30px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.visible { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .08s !important; }
.reveal-d2 { transition-delay: .16s !important; }
.reveal-d3 { transition-delay: .24s !important; }
.reveal-d4 { transition-delay: .32s !important; }
.reveal-d5 { transition-delay: .40s !important; }

/* ─── RESPONSIVO ─────────────────────────────────────────────── */
@media (max-width: 1080px) {
  .hero-wrap { grid-template-columns: 1fr; gap: 3.5rem; }
  .hero-visual { max-width: 580px; }
  .sobre-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .sobre-lead { position: static; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento-big { grid-column: span 2; grid-row: span 1; }
  .onde-layout, .contato-layout { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
  .hamburger { display: flex; }
  .nav-links {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: .2rem;
    padding: 1rem 1.2rem 1.4rem;
    background: rgba(2,24,48,0.97);
    backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--line-dark);
    opacity: 0; visibility: hidden; transform: translateY(-10px);
    transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
  }
  .nav-links.open { opacity: 1; visibility: visible; transform: none; }
  .nav-links a { padding: .9rem 1rem; border-radius: 10px; font-size: 1rem; }
  .nav-links a:not(.nav-cta)::after { display: none; }
  .nav-links a:not(.nav-cta):hover, .nav-links a.active { background: rgba(255,255,255,0.06); }
  .nav-cta { margin: .5rem 0 0; text-align: center; }

  .steps { grid-template-columns: 1fr 1fr; row-gap: 2.5rem; }
  .steps-line { display: none; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 600px) {
  .wrap, .nav-inner { padding: 0 1.25rem; }
  #sobre, #servicos, #processo, #onde, #contato { padding: 5rem 0; }
  .hero-title { letter-spacing: -1.5px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-meta { gap: 1.6rem; justify-content: space-between; }
  .meta-item strong { font-size: 1.6rem; }
  .hero-visual { padding: 1rem 1.5rem 2.5rem 0; }
  .phone { width: 104px; }
  .chip-1 { left: -.25rem; }
  .scroll-hint { display: none; }
  .pillars, .contato-cards, .form-row { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr; }
  .bento-big, .bento-wide { grid-column: span 1; }
  .bento-big h3 { font-size: 1.45rem; }
  .steps { grid-template-columns: 1fr; }
  .form-card { padding: 1.6rem; }
  .cta-actions { width: 100%; }
  .cta-actions .btn { flex: 1 1 100%; }
  .footer-links { gap: 2.5rem; }
  .wa-float { right: 16px; bottom: 16px; width: 54px; height: 54px; }
  .wa-tip { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}
