:root {
  --navy-950: #040914;
  --navy-900: #060f20;
  --navy-800: #0a1830;
  --navy-700: #10254a;
  --navy-line: rgba(120, 160, 220, 0.12);
  --blue: #2565b8;
  --blue-light: #5b96e8;
  --gold: #c9a24b;
  --gold-light: #e9cd85;
  --gold-deep: #9c7628;
  --text: #eaf0fa;
  --text-muted: rgba(214, 226, 245, 0.62);
  --text-faint: rgba(214, 226, 245, 0.38);
  --font-display: "Sora", sans-serif;
  --font-body: "Inter", sans-serif;
  --font-mono: "JetBrains Mono", monospace;
  --radius: 18px;
  --grad-gold: linear-gradient(120deg, var(--gold-light) 0%, var(--gold) 45%, var(--gold-deep) 100%);
  --grad-headline: linear-gradient(180deg, var(--text) 0%, var(--text) 34%, var(--gold-light) 74%, var(--gold) 100%);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--navy-950);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::selection { background: rgba(201, 162, 75, 0.35); color: #fff; }

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--navy-950); }
::-webkit-scrollbar-thumb { background: var(--navy-700); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold-deep); }

.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* ---------- Fundo animado ---------- */
.bg-scene {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(37, 101, 184, 0.16), transparent 60%),
    var(--navy-950);
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.5;
  will-change: transform;
}

.orb-gold {
  width: 480px; height: 480px;
  top: -120px; right: -80px;
  background: radial-gradient(circle, rgba(201, 162, 75, 0.22), transparent 65%);
}

.orb-blue {
  width: 620px; height: 620px;
  bottom: -220px; left: -180px;
  background: radial-gradient(circle, rgba(37, 101, 184, 0.25), transparent 65%);
}

/* ---------- Hero full-bleed (teste) ---------- */
.hero-photo-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-size: cover;
  background-position: center 12%;
  animation: heroPhotoExit linear both;
  animation-timeline: scroll();
  animation-range: 0 800px;
}

.hero-photo-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(4, 9, 20, 0.85) 0%, rgba(4, 9, 20, 0.55) 38%, rgba(4, 9, 20, 0.08) 60%, rgba(4, 9, 20, 0.3) 100%),
    linear-gradient(0deg, rgba(4, 9, 20, 0.95), transparent 40%);
}

@keyframes heroPhotoExit {
  0% { filter: blur(0px) brightness(1); transform: scale(1); }
  100% { filter: blur(26px) brightness(0.25); transform: scale(1.06); }
}

.hero-fullbleed-test .hero-visual { display: none; }

.hero-fullbleed-test .hero-grid { grid-template-columns: 1fr; }

.hero-fullbleed-test .hero-text { max-width: 640px; }

.hero-fullbleed-test .container {
  max-width: none;
  margin: 0;
  padding-left: clamp(40px, 8vw, 140px);
  padding-right: 24px;
}

.hero-fullbleed-test h1 {
  font-size: clamp(38px, 4.6vw, 60px);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: 22px;
  text-shadow: 0 6px 30px rgba(0, 0, 0, 0.45);
}

.hero-fullbleed-test .hero-sub {
  font-size: 17px;
  line-height: 1.6;
  margin-bottom: 32px;
}

.hero-fullbleed-test .cta-row { margin-bottom: 44px; }

.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--navy-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--navy-line) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 20%, transparent 75%);
  opacity: 0.5;
}

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 100px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
  white-space: nowrap;
}

.btn svg { width: 18px; height: 18px; }

.btn-gold {
  background: var(--grad-gold);
  color: var(--navy-950);
  box-shadow: 0 6px 26px rgba(201, 162, 75, 0.32);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 36px rgba(201, 162, 75, 0.45);
}

.btn-ghost {
  background: rgba(234, 240, 250, 0.04);
  color: var(--text);
  border: 1px solid rgba(234, 240, 250, 0.18);
  backdrop-filter: blur(6px);
}

.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold-light);
  transform: translateY(-2px);
}

.btn-sm { padding: 11px 22px; font-size: 13.5px; }
.btn-full { width: 100%; }

/* ---------- Navbar ---------- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
}

.nav-trigger {
  position: absolute;
  top: 16px; right: 24px;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  line-height: 0;
  animation: navIconPulse 2.6s ease-in-out infinite;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

@keyframes navIconPulse {
  0%, 100% { filter: drop-shadow(0 0 8px rgba(201, 162, 75, 0.35)); }
  50% { filter: drop-shadow(0 0 20px rgba(201, 162, 75, 0.8)); }
}

.nav-trigger img { width: 64px; height: 64px; object-fit: contain; display: block; }

.navbar.open .nav-trigger {
  opacity: 0;
  transform: scale(0.6);
  pointer-events: none;
}

.nav-expanded {
  position: fixed;
  top: 0; left: 0; right: 0;
  background: rgba(6, 15, 32, 0.92);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--navy-line);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
  opacity: 0;
  transform: translateY(-100%);
  pointer-events: none;
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.navbar.open .nav-expanded {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.nav-expanded-inner {
  position: relative;
  max-width: 1180px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-expanded-inner .logo { margin-right: 0; }

.nav-close {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--navy-700);
  border: 1px solid var(--navy-line);
  color: var(--text-muted);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.25s ease, color 0.25s ease;
}

.nav-close:hover { background: var(--gold-deep); color: var(--text); }
.nav-close svg { width: 16px; height: 16px; }

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  margin-right: auto;
}

.logo-img { height: 46px; width: auto; }

.logo-name {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.15;
}

.logo-name em {
  font-style: normal;
  background: var(--grad-gold);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.logo-name small {
  display: block;
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 400;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  color: var(--text-faint);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  list-style: none;
  margin: 0 auto;
}

.nav-links a {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  position: relative;
  transition: color 0.25s ease;
}

.nav-links a:hover, .nav-links a.active { color: var(--text); }

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 2px;
  background: var(--grad-gold);
  border-radius: 2px;
  transition: width 0.3s ease;
}

.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

.nav-expanded-inner .nav-cta { flex-shrink: 0; }

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 140px 0 80px;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 60px;
  align-items: center;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(36px, 4.6vw, 58px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: 24px;
  background: var(--grad-headline);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.hero h1 em { font-style: normal; font-weight: 800; }

.hero-sub {
  font-size: 17.5px;
  color: var(--text-muted);
  max-width: 520px;
  margin-bottom: 36px;
}

.cta-row { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 52px; }

.stats { display: flex; gap: 48px; flex-wrap: wrap; }

.stat { display: flex; flex-direction: column; gap: 2px; }

.stat-n {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 800;
  background: var(--grad-gold);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-l { font-size: 13px; color: var(--text-faint); }

/* ---------- Hero visual ---------- */
.hero-visual {
  position: relative;
  min-height: 460px;
  display: none;
}

.hero-figure-glow {
  position: absolute;
  right: -40px;
  bottom: 20px;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 162, 75, 0.3), rgba(37, 101, 184, 0.14) 55%, transparent 72%);
  filter: blur(60px);
  z-index: 0;
  pointer-events: none;
}

.hero-figure {
  position: absolute;
  right: -10px;
  bottom: -40px;
  height: 112%;
  max-height: 640px;
  width: auto;
  z-index: 1;
  filter: drop-shadow(0 26px 46px rgba(4, 9, 20, 0.55));
  pointer-events: none;
}

.glass-card {
  position: absolute;
  background: linear-gradient(150deg, rgba(20, 38, 72, 0.72), rgba(9, 18, 38, 0.85));
  border: 1px solid rgba(120, 160, 220, 0.18);
  border-radius: var(--radius);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  will-change: transform;
}

.card-dash {
  top: 40px; left: 0;
  width: 320px;
  padding: 24px;
  z-index: 2;
}

.dash-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.dash-title { font-family: var(--font-display); font-size: 14px; font-weight: 600; }

.dash-badge {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--gold-light);
  border: 1px solid rgba(201, 162, 75, 0.4);
  padding: 4px 10px;
  border-radius: 100px;
}

.dash-chart {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  height: 120px;
  margin-bottom: 20px;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--navy-line);
}

.bar {
  flex: 1;
  height: var(--h);
  border-radius: 6px 6px 2px 2px;
  background: linear-gradient(to top, rgba(37, 101, 184, 0.4), var(--blue-light));
  transform-origin: bottom;
}

.bar-gold { background: linear-gradient(to top, rgba(156, 118, 40, 0.5), var(--gold-light)); }

.dash-kpis { display: flex; gap: 24px; }

.kpi { display: flex; flex-direction: column; }
.kpi-n { font-family: var(--font-display); font-size: 20px; font-weight: 700; color: var(--gold-light); }
.kpi-l { font-size: 11.5px; color: var(--text-faint); }

.card-ai {
  top: 0; right: 0;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 22px;
  z-index: 3;
}

.ai-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 12px rgba(74, 222, 128, 0.8);
  flex-shrink: 0;
  animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.45; }
}

.ai-title { display: block; font-family: var(--font-display); font-size: 13.5px; font-weight: 600; }
.ai-sub { display: block; font-size: 11.5px; color: var(--text-faint); }

.card-ring {
  bottom: 30px; right: 30px;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 26px;
  z-index: 3;
}

.ring { width: 64px; height: 64px; transform: rotate(-90deg); }

.ring-bg { fill: none; stroke: rgba(120, 160, 220, 0.15); stroke-width: 7; }

.ring-fg {
  fill: none;
  stroke: var(--gold);
  stroke-width: 7;
  stroke-linecap: round;
  stroke-dasharray: 213.6;
  stroke-dashoffset: 213.6;
}

.ring-n { display: block; font-family: var(--font-display); font-size: 22px; font-weight: 800; color: var(--gold-light); }
.ring-l { display: block; font-size: 12px; color: var(--text-faint); }

.hero-scroll {
  position: absolute;
  bottom: 28px; left: 50%;
  transform: translateX(-50%);
  width: 24px; height: 40px;
  border: 1.5px solid rgba(234, 240, 250, 0.25);
  border-radius: 14px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
}

.hero-scroll span {
  width: 3px; height: 8px;
  border-radius: 3px;
  background: var(--gold);
  animation: scrollHint 1.8s ease-in-out infinite;
}

@keyframes scrollHint {
  0%, 100% { transform: translateY(0); opacity: 1; }
  55% { transform: translateY(10px); opacity: 0.2; }
}

/* ---------- Trust marquee ---------- */
.trust-bar {
  border-top: 1px solid var(--navy-line);
  border-bottom: 1px solid var(--navy-line);
  background: rgba(6, 15, 32, 0.6);
  padding: 22px 0;
  display: flex;
  align-items: center;
  gap: 32px;
  overflow: hidden;
}

.trust-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-faint);
  white-space: nowrap;
  padding-left: 24px;
  flex-shrink: 0;
}

.marquee {
  overflow: hidden;
  flex: 1;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marquee-track {
  display: flex;
  gap: 64px;
  width: max-content;
  animation: marquee 28s linear infinite;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.logo-ph {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--text-faint);
  white-space: nowrap;
  transition: color 0.3s ease;
}

.logo-ph:hover { color: var(--gold-light); }

/* ---------- Seções ---------- */
.section { padding: 110px 0; position: relative; }

.section-alt {
  background: linear-gradient(180deg, rgba(10, 24, 48, 0.45), rgba(6, 15, 32, 0.2));
  border-top: 1px solid var(--navy-line);
  border-bottom: 1px solid var(--navy-line);
}

.tag-line {
  display: block;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 2px;
  color: var(--gold);
  margin-bottom: 16px;
}

.section-head { max-width: 640px; margin-bottom: 64px; }

.section-head h2, .diff-head h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.4vw, 42px);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.015em;
  margin-bottom: 16px;
}

.section-head h2 em, .diff-head h2 em {
  font-style: normal;
  background: var(--grad-gold);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-head p { font-size: 16.5px; color: var(--text-muted); }

/* ---------- Serviços (bento) ---------- */
.bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  counter-reset: svc;
}

.svc-card {
  --accent: var(--gold-light);
  --accent-soft: rgba(201, 162, 75, 0.16);
  position: relative;
  counter-increment: svc;
  background: linear-gradient(160deg, rgba(16, 37, 74, 0.5), rgba(8, 17, 36, 0.7));
  border: 1px solid var(--navy-line);
  border-top: 2px solid var(--accent-soft);
  border-radius: var(--radius);
  padding: 34px 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
  overflow: hidden;
}

.svc-card:nth-of-type(n+4) {
  --accent: var(--blue-light);
  --accent-soft: rgba(91, 150, 232, 0.18);
}

.svc-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), var(--accent-soft), transparent 55%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.svc-card::after {
  content: "0" counter(svc);
  position: absolute;
  right: 6px;
  bottom: -22px;
  font-family: var(--font-display);
  font-size: 104px;
  font-weight: 800;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px var(--accent-soft);
  pointer-events: none;
  z-index: 0;
}

.svc-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent-soft);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.4), 0 0 40px -12px var(--accent-soft);
}

.svc-card:hover::before { opacity: 1; }

.svc-card.featured {
  grid-column: span 2;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 32px;
  background: linear-gradient(150deg, rgba(201, 162, 75, 0.12), rgba(16, 37, 74, 0.5) 45%, rgba(8, 17, 36, 0.75));
  border-color: rgba(201, 162, 75, 0.35);
}

.svc-card.featured .svc-icon { margin-bottom: 0; flex-shrink: 0; width: 86px; height: 86px; }
.svc-card.featured .svc-icon svg { width: 38px; height: 38px; }
.svc-card.featured .svc-body { display: flex; flex-direction: column; }

.svc-badge, .svc-icon, .svc-body, .svc-card > h3, .svc-card > p {
  position: relative;
  z-index: 1;
}

.svc-badge {
  position: absolute;
  top: 22px; right: 22px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 100px;
  background: var(--grad-gold);
  color: var(--navy-950);
  font-weight: 500;
  z-index: 2;
}

.svc-badge-blue {
  background: rgba(37, 101, 184, 0.25);
  color: var(--blue-light);
  border: 1px solid rgba(91, 150, 232, 0.4);
}

.svc-icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(160deg, var(--accent-soft), transparent);
  border: 1px solid var(--accent-soft);
  color: var(--accent);
  margin-bottom: 24px;
  isolation: isolate;
  transition: transform 0.35s ease;
}

.svc-icon::before {
  content: "";
  position: absolute;
  inset: -12px;
  border-radius: 50%;
  background: var(--accent-soft);
  filter: blur(18px);
  z-index: -1;
}

.svc-card:hover .svc-icon { transform: scale(1.08) rotate(-4deg); }

.svc-icon svg { width: 26px; height: 26px; }

.svc-card h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
}

.svc-card > p, .svc-body > p { font-size: 14.5px; color: var(--text-muted); margin-bottom: 22px; }

.tags { display: flex; gap: 8px; flex-wrap: wrap; }

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 5px 12px 5px 10px;
  border-radius: 100px;
  color: var(--text-muted);
  border: 1px solid var(--navy-line);
  background: rgba(234, 240, 250, 0.03);
}

.tag::before {
  content: "";
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

.card-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
}

.card-cta svg { width: 16px; height: 16px; transition: transform 0.25s ease; }
.card-cta:hover svg { transform: translateX(4px); }

/* ---------- Diferenciais ---------- */
#diferenciais {
  background-image:
    linear-gradient(180deg, transparent 0%, transparent 22%, rgba(4, 9, 20, 0.6) 38%, rgba(4, 9, 20, 0.82) 100%),
    linear-gradient(90deg, rgba(4, 9, 20, 0.3) 0%, transparent 34%, rgba(4, 9, 20, 0.55) 52%, rgba(4, 9, 20, 0.94) 66%, var(--navy-950) 100%),
    url('../img/site/diferenciais-bg.png');
  background-size: cover, cover, cover;
  background-position: left top, left top, left top;
  background-repeat: no-repeat;
}

.diff-head {
  max-width: 640px;
  margin: 0 auto 56px;
  text-align: center;
}

.diff-head .tag-line { text-align: center; }

.diff-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 72px;
  align-items: start;
}

.diff-spacer { pointer-events: none; }

.diff-list { display: flex; flex-direction: column; }

.diff-item {
  display: flex;
  gap: 28px;
  padding: 32px 0;
  border-bottom: 1px solid var(--navy-line);
}

.diff-item:first-child { padding-top: 8px; }

.diff-num {
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 800;
  line-height: 1;
  background: var(--grad-gold);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  opacity: 0.9;
  flex-shrink: 0;
  width: 64px;
}

.diff-item h4 {
  font-family: var(--font-display);
  font-size: 18.5px;
  font-weight: 700;
  margin-bottom: 8px;
}

.diff-item p { font-size: 14.5px; color: var(--text-muted); }

/* ---------- Depoimentos ---------- */
.test-marquee {
  --test-h: 640px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  height: var(--test-h);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, transparent, black 12%, black 88%, transparent);
  mask-image: linear-gradient(to bottom, transparent, black 12%, black 88%, transparent);
}

.test-col { overflow: hidden; }

.test-track {
  display: flex;
  flex-direction: column;
  gap: 24px;
  will-change: transform;
}

.test-col-down .test-track { animation: testScrollDown 36s linear infinite; }
.test-col-up .test-track { animation: testScrollUp 36s linear infinite; }
.test-col-down:nth-child(3) .test-track { animation-duration: 42s; }

.test-col:hover .test-track { animation-play-state: paused; }

@keyframes testScrollDown {
  from { transform: translateY(-50%); }
  to { transform: translateY(0%); }
}

@keyframes testScrollUp {
  from { transform: translateY(0%); }
  to { transform: translateY(-50%); }
}

.test-card {
  background: linear-gradient(160deg, rgba(16, 37, 74, 0.5), rgba(8, 17, 36, 0.7));
  border: 1px solid var(--navy-line);
  border-radius: var(--radius);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  transition: border-color 0.35s ease;
}

.test-card:hover { border-color: rgba(201, 162, 75, 0.4); }

.stars { color: var(--gold); font-size: 15px; letter-spacing: 3px; margin-bottom: 18px; }

.test-card blockquote {
  font-size: 15px;
  color: var(--text-muted);
  font-style: italic;
  flex: 1;
  margin-bottom: 26px;
}

.test-footer { display: flex; align-items: center; gap: 14px; }

.avatar {
  width: 46px; height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--blue), var(--navy-700));
  color: #fff;
  flex-shrink: 0;
}

.avatar-gold { background: var(--grad-gold); color: var(--navy-950); }

.test-name { display: block; font-family: var(--font-display); font-size: 14.5px; font-weight: 600; }
.test-role { display: block; font-size: 12.5px; color: var(--text-faint); }

/* ---------- Contato ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: start;
}

.contact-form {
  background: linear-gradient(160deg, rgba(16, 37, 74, 0.5), rgba(8, 17, 36, 0.7));
  border: 1px solid var(--navy-line);
  border-radius: var(--radius);
  padding: 40px;
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

.form-group { margin-bottom: 20px; }

.form-group label {
  display: block;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-muted);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid var(--navy-line);
  background: rgba(4, 9, 20, 0.5);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 14.5px;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-faint); }

.form-group select { appearance: none; cursor: pointer; }
.form-group select option { background: var(--navy-900); }

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 162, 75, 0.15);
}

.form-group textarea { resize: vertical; min-height: 110px; }

.form-note {
  font-size: 12px;
  color: var(--text-faint);
  text-align: center;
  margin-top: 14px;
}

.form-success {
  margin-top: 18px;
  padding: 14px;
  border-radius: 12px;
  background: rgba(74, 222, 128, 0.1);
  border: 1px solid rgba(74, 222, 128, 0.35);
  color: #86efac;
  font-size: 14px;
  text-align: center;
}

.hidden { display: none; }

.contact-info { display: flex; flex-direction: column; gap: 20px; }

.info-item {
  display: flex;
  gap: 18px;
  padding: 26px;
  border-radius: var(--radius);
  border: 1px solid var(--navy-line);
  background: linear-gradient(160deg, rgba(16, 37, 74, 0.4), rgba(8, 17, 36, 0.6));
  transition: border-color 0.3s ease;
}

.info-item:hover { border-color: rgba(201, 162, 75, 0.4); }

.info-icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(201, 162, 75, 0.1);
  border: 1px solid rgba(201, 162, 75, 0.3);
  color: var(--gold-light);
  flex-shrink: 0;
}

.info-icon svg { width: 22px; height: 22px; }

.info-item strong { font-family: var(--font-display); font-size: 15px; display: block; margin-bottom: 4px; }
.info-item p { font-size: 14px; color: var(--text-muted); }

.info-link {
  display: inline-block;
  margin-top: 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--gold-light);
  text-decoration: none;
}

.info-link:hover { text-decoration: underline; }

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--navy-line);
  background: rgba(4, 9, 20, 0.8);
  padding-top: 64px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 48px;
  flex-wrap: wrap;
  padding-bottom: 48px;
}

.footer-brand { max-width: 320px; }
.footer-brand .logo { margin-bottom: 18px; }
.footer-brand p { font-size: 14px; color: var(--text-muted); }

.footer-social { display: flex; gap: 12px; margin-top: 20px; }

.footer-social a {
  width: 38px; height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--navy-line);
  background: rgba(201, 162, 75, 0.06);
  color: var(--text-muted);
  transition: color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.footer-social a:hover {
  color: var(--gold-light);
  border-color: rgba(201, 162, 75, 0.4);
  transform: translateY(-2px);
}

.footer-social svg { width: 18px; height: 18px; }

.footer-links { display: flex; gap: 72px; flex-wrap: wrap; }

.footer-col { display: flex; flex-direction: column; gap: 12px; }

.footer-col-title {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}

.footer-col a {
  font-size: 14px;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.25s ease;
}

.footer-col a:hover { color: var(--gold-light); }

.footer-bottom {
  border-top: 1px solid var(--navy-line);
  padding: 22px 0;
  font-size: 12.5px;
  color: var(--text-faint);
}

/* ---------- Responsivo ---------- */
@media (min-width: 981px) {
  .hero-visual { display: block; min-height: 560px; }
}

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 120px; }
  .bento { grid-template-columns: 1fr 1fr; }
  .svc-card.featured { grid-column: span 2; }
  .test-marquee {
    grid-template-columns: 1fr;
    height: auto;
    gap: 16px;
    overflow: visible;
    -webkit-mask-image: none;
    mask-image: none;
  }
  .test-col {
    -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
    mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
  }
  .test-track {
    flex-direction: row;
    gap: 20px;
  }
  .test-col-down .test-track { animation: testScrollLeft 9s linear infinite; }
  .test-col-up .test-track { animation: testScrollRight 9s linear infinite; }
  .test-col-down:nth-child(3) .test-track { animation-duration: 9s; }
  .test-card {
    width: 78vw;
    max-width: 320px;
  }

  @keyframes testScrollLeft {
    from { transform: translateX(0%); }
    to { transform: translateX(-50%); }
  }

  @keyframes testScrollRight {
    from { transform: translateX(-50%); }
    to { transform: translateX(0%); }
  }
  .diff-layout { grid-template-columns: 1fr; gap: 40px; }
  .diff-spacer { display: none; }
  .contact-grid { grid-template-columns: 1fr; }

  .nav-trigger img { width: 50px; height: 50px; }

  .nav-expanded-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 18px 24px 24px;
  }

  .nav-expanded-inner .logo { margin-right: 0; margin-bottom: 10px; }
  .nav-expanded-inner .nav-close { position: absolute; top: 16px; right: 20px; }

  .nav-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    width: 100%;
    margin: 0;
  }

  .nav-links li { width: 100%; }

  .nav-links a {
    display: block;
    padding: 14px 0;
    font-size: 16px;
    border-bottom: 1px solid var(--navy-line);
  }

  .nav-links a::after { display: none; }

  .nav-expanded-inner .nav-cta { display: flex; justify-content: center; margin-top: 14px; }
}

@media (max-width: 640px) {
  .section { padding: 80px 0; }
  .bento { grid-template-columns: 1fr; }
  .svc-card.featured {
    grid-column: span 1;
    flex-direction: column;
  }
  .svc-card.featured .svc-icon {
    margin-bottom: 24px;
    width: 56px;
    height: 56px;
  }
  .svc-card.featured .svc-icon svg { width: 26px; height: 26px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .stats { gap: 28px; }
  .stat-n { font-size: 26px; }
  .contact-form { padding: 28px 22px; }
  .diff-num { font-size: 32px; width: 48px; }
  #diferenciais {
    background-image: linear-gradient(180deg, rgba(10, 24, 48, 0.45), rgba(6, 15, 32, 0.2));
  }
  .trust-label { display: none; }
  .hero-scroll { display: none; }
  .logo-img { height: 38px; }
  .logo-name { font-size: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ---------- Modal vídeo institucional ---------- */
.video-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.video-modal.open {
  opacity: 1;
  visibility: visible;
}

.video-modal-backdrop {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 20%, rgba(37, 101, 184, 0.18), rgba(4, 9, 20, 0.9) 60%);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.video-modal-dialog {
  position: relative;
  width: min(920px, 100%);
  border-radius: calc(var(--radius) + 6px);
  padding: 3px;
  background: var(--grad-gold);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.6), 0 0 60px rgba(201, 162, 75, 0.15);
  transform: scale(0.9) translateY(28px);
  opacity: 0;
  transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.4s ease;
}

.video-modal.open .video-modal-dialog {
  transform: scale(1) translateY(0);
  opacity: 1;
}

.video-modal-frame {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  border-radius: calc(var(--radius) + 4px);
  overflow: hidden;
  background: var(--navy-950);
}

.video-modal-frame video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
  background: var(--navy-950);
}

.video-modal-close {
  position: absolute;
  top: -20px;
  right: -20px;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--navy-line);
  background: var(--navy-800);
  color: var(--text);
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
  z-index: 2;
}

.video-modal-close:hover {
  background: var(--grad-gold);
  color: var(--navy-950);
  transform: rotate(90deg);
}

.video-modal-close svg { width: 18px; height: 18px; }

body.video-modal-lock { overflow: hidden; }

@media (max-width: 640px) {
  .video-modal { padding: 16px; }
  .video-modal-close { top: -16px; right: 0; }
}
