/* =========================
   EXIMIUS — Design Tokens
   ========================= */
:root {
  /* Brand — sobrio com toque "Eximius" (azul-marinho profundo + dourado champanhe) */
  --bg-0: #07080d;          /* near-black with cool tint */
  --bg-1: #0b0e17;          /* base canvas */
  --bg-2: #11151f;          /* card */
  --bg-3: #181c28;          /* card raised */
  --line: rgba(255,255,255,0.08);
  --line-strong: rgba(255,255,255,0.16);

  --fg-0: #f3f1ea;          /* primary text — warm white */
  --fg-1: #b9b6ad;          /* secondary */
  --fg-2: #6f6c63;          /* muted */

  --accent: #2540ff;        /* eximius blue (from logo) */
  --accent-2: #d9c089;      /* champagne — secondary */
  --accent-glow: rgba(37, 64, 255, 0.35);
  --diamond: #c9c9d0;       /* logo diamond outline */

  --serif: "Fraunces", "Cormorant Garamond", "Times New Roman", serif;
  --display: "Instrument Serif", "Cormorant Garamond", serif;
  --sans: "Inter Tight", "Inter", -apple-system, "Helvetica Neue", Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --radius-sm: 4px;
  --radius: 10px;
  --radius-lg: 18px;

  --container: 1280px;
  --gutter: 32px;

  --ease: cubic-bezier(.22,1,.36,1);
  --meta-rgb: 7,8,13;
}

[data-theme="light"] {
  --bg-0: #f3f1ea;
  --bg-1: #f6f4ee;
  --bg-2: #ffffff;
  --bg-3: #fffefb;
  --line: rgba(0,0,0,0.08);
  --line-strong: rgba(0,0,0,0.16);
  --fg-0: #0b0e17;
  --fg-1: #3a3d47;
  --fg-2: #76798a;
  --accent: #1a32d9;
  --accent-2: #8a6d2a;
  --accent-glow: rgba(26, 50, 217, 0.18);
  --diamond: #5a5d68;
  --meta-rgb: 243,241,234;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: transparent;
  color: var(--fg-0);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  cursor: none;
}

@media (max-width: 900px) { body { cursor: auto; } }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

/* =========================
   Custom cursor
   ========================= */
.cursor-dot, .cursor-ring {
  position: fixed; top: 0; left: 0;
  pointer-events: none;
  z-index: 9999;
  mix-blend-mode: difference;
  transform: translate(-50%, -50%);
}
.cursor-dot {
  width: 6px; height: 6px;
  background: var(--fg-0);
  border-radius: 50%;
  transition: width .25s var(--ease), height .25s var(--ease), background .25s var(--ease);
}
.cursor-ring {
  width: 36px; height: 36px;
  border: 1px solid var(--fg-0);
  border-radius: 50%;
  transition: width .35s var(--ease), height .35s var(--ease), border-color .25s var(--ease), background .25s var(--ease);
}
.cursor-ring.hover { width: 64px; height: 64px; background: rgba(255,255,255,0.04); }
.cursor-dot.hover { width: 0; height: 0; }
[data-theme="light"] .cursor-dot,
[data-theme="light"] .cursor-ring { mix-blend-mode: normal; }
[data-theme="light"] .cursor-dot { background: #1a32d9; }
[data-theme="light"] .cursor-ring { border-color: #1a32d9; }
[data-theme="light"] .cursor-ring.hover { background: rgba(26,50,217,0.08); }
@media (max-width: 900px) { .cursor-dot, .cursor-ring { display: none; } }

/* =========================
   Layout primitives
   ========================= */
.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-2);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 24px; height: 1px;
  background: var(--accent);
  display: inline-block;
}
.section-title {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(40px, 6vw, 84px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin: 16px 0 0;
  text-wrap: balance;
}
.section-title em {
  font-style: italic;
  color: var(--accent);
}
section { padding: 120px 0; position: relative; }
@media (max-width: 720px) { section { padding: 80px 0; } }

/* =========================
   Buttons
   ========================= */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 16px 26px;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
  cursor: none;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--fg-0);
  transition: color .35s var(--ease), border-color .35s var(--ease);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.btn::after {
  content: ""; position: absolute; inset: 0;
  background: var(--fg-0);
  transform: translateY(101%);
  transition: transform .45s var(--ease);
  z-index: -1;
}
.btn > * { position: relative; }
.btn:hover { color: var(--bg-1); border-color: var(--fg-0); }
.btn:hover::after { transform: translateY(0); }
.btn .arrow {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--bg-1);
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0; line-height: 1; box-sizing: border-box;
  font-size: 12px;
}
.btn-primary {
  background: var(--fg-0);
  color: var(--bg-1);
  border-color: var(--fg-0);
}
.btn-primary::after { background: var(--accent); }
.btn-primary:hover { color: var(--fg-0); border-color: var(--accent); }
[data-theme="light"] .btn:hover,
[data-theme="light"] .btn-primary:hover { color: #ffffff; }

/* =========================
   Reveal animations
   ========================= */
.reveal { opacity: 1; transform: none; transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.pending { opacity: 0; transform: translateY(28px); }
.reveal.in { opacity: 1; transform: none; }
.reveal-stagger > * { opacity: 1; transform: none; transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal-stagger.pending > * { opacity: 0; transform: translateY(24px); }
.reveal-stagger.in > * { opacity: 1; transform: none; }
.reveal-stagger.in > *:nth-child(1) { transition-delay: 0.05s; }
.reveal-stagger.in > *:nth-child(2) { transition-delay: 0.15s; }
.reveal-stagger.in > *:nth-child(3) { transition-delay: 0.25s; }
.reveal-stagger.in > *:nth-child(4) { transition-delay: 0.35s; }
.reveal-stagger.in > *:nth-child(5) { transition-delay: 0.45s; }
.reveal-stagger.in > *:nth-child(6) { transition-delay: 0.55s; }

/* =========================
   Particles canvas
   ========================= */
.particles {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* =========================
   Nav
   ========================= */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 32px;
  display: flex; align-items: center; justify-content: space-between;
  transition: backdrop-filter .4s var(--ease), background .4s var(--ease), border-color .4s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: color-mix(in oklab, var(--bg-1) 80%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}
.nav-logo {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 400;
  letter-spacing: 0.02em;
  display: flex; align-items: center; gap: 10px;
}
.nav-logo .mark {
  width: 28px; height: 28px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--accent);
  border-radius: 50%;
  font-family: var(--display);
  font-size: 14px;
  color: var(--accent);
  font-style: italic;
}
.nav-links {
  display: flex; gap: 32px;
  font-size: 13px;
  letter-spacing: 0.04em;
}
.nav-links a {
  position: relative;
  padding: 6px 0;
  color: var(--fg-1);
  transition: color .3s var(--ease);
}
.nav-links a:hover { color: var(--fg-0); }
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--accent);
  transform: scaleX(0); transform-origin: right;
  transition: transform .4s var(--ease);
}
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-right { display: flex; align-items: center; gap: 16px; }
.lang-toggle {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--fg-2);
  display: flex; gap: 6px;
}
.lang-toggle button {
  background: none; border: none; color: var(--fg-2);
  cursor: none; padding: 4px 6px;
  font: inherit;
  transition: color .2s var(--ease);
}
.lang-toggle button.active { color: var(--fg-0); }
.lang-toggle button:hover { color: var(--accent); }
.theme-toggle {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--fg-0);
  cursor: none;
  display: inline-flex; align-items: center; justify-content: center;
  transition: all .3s var(--ease);
}
.theme-toggle:hover { border-color: var(--accent); color: var(--accent); }
@media (max-width: 720px) {
  .nav-links { display: none; }
}

/* =========================
   Hero
   ========================= */
.hero {
  height: 100vh;
  min-height: 520px;
  position: relative;
  display: flex;
  align-items: center;
  padding: 100px 0 60px;
  overflow: hidden;
}
.hero-eyebrow {
  display: flex; justify-content: center; margin-bottom: 16px;
}
.hero-title {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(48px, min(10vw, 14vh), 140px);
  line-height: 0.92;
  letter-spacing: -0.04em;
  text-align: center;
  margin: 0;
  text-wrap: balance;
}
.hero-title .line { display: block; }
.hero-title .accent { font-style: italic; color: var(--accent); }
.hero-sub {
  margin: 24px auto 0;
  max-width: 540px;
  text-align: center;
  color: var(--fg-1);
  font-size: 16px;
  line-height: 1.6;
}
.hero-cta { display: flex; justify-content: center; gap: 16px; margin-top: 32px; flex-wrap: wrap; }
.hero-orbit {
  position: absolute;
  left: 50%;
  bottom: -20%;
  transform: translateX(-50%);
  width: 1100px; height: 1100px;
  border-radius: 50%;
  border: 1px solid var(--line);
  pointer-events: none;
}
.hero-orbit::before, .hero-orbit::after {
  content: ""; position: absolute; inset: 80px;
  border: 1px solid var(--line);
  border-radius: 50%;
}
.hero-orbit::after { inset: 180px; }
.hero-meta {
  position: absolute;
  bottom: 40px;
  left: 0; right: 0;
  display: flex; justify-content: space-between;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-2);
  padding: 0 32px;
}
.scroll-cue {
  display: flex; align-items: center; gap: 10px;
}
.scroll-cue .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  animation: bob 1.6s ease-in-out infinite;
}
@keyframes bob { 0%,100%{transform:translateY(0);} 50%{transform:translateY(6px);} }

/* =========================
   Stats strip
   ========================= */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 60px 0;
}
.stat {
  text-align: center;
  border-right: 1px solid var(--line);
  padding: 0 24px;
}
.stat:last-child { border-right: none; }
.stat-num {
  font-family: var(--display);
  font-size: clamp(48px, 6vw, 84px);
  line-height: 1;
  letter-spacing: -0.03em;
}
.stat-num .plus { color: var(--accent); font-style: italic; }
.stat-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-2);
  margin-top: 12px;
}
@media (max-width: 720px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat { border-right: none; border-bottom: 1px solid var(--line); padding: 24px; }
  .stat:nth-child(2n) { border-right: none; }
}

/* =========================
   Etymology block
   ========================= */
.etymology {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 100px 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.etymology .label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--fg-2); }
.etymology .word {
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(80px, 14vw, 180px);
  line-height: 0.9;
  letter-spacing: -0.03em;
  margin: 16px 0 0;
}
.etymology .word::after { content: "."; color: var(--accent); font-style: normal; }
.etymology .definition .role {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--fg-2);
  margin-bottom: 16px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.etymology .definition p {
  font-family: var(--display);
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.5;
  color: var(--fg-0);
  margin: 0;
  font-style: italic;
}
.etymology .definition .synonyms {
  margin-top: 24px;
  font-family: var(--sans);
  color: var(--fg-1);
  font-style: normal;
  font-size: 15px;
}
@media (max-width: 900px) {
  .etymology { grid-template-columns: 1fr; gap: 32px; }
}

/* =========================
   Sobre Nós (tabs)
   ========================= */
.about {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 80px;
  align-items: start;
}
.about-tabs {
  display: flex;
  flex-direction: column;
  border-left: 1px solid var(--line);
}
.about-tab {
  text-align: left;
  background: none; border: none;
  font-family: var(--display);
  font-size: 28px;
  font-weight: 400;
  font-style: italic;
  color: var(--fg-2);
  padding: 18px 24px;
  cursor: none;
  position: relative;
  transition: color .35s var(--ease);
  border-bottom: 1px solid var(--line);
}
.about-tab::before {
  content: ""; position: absolute; left: -1px; top: 0; bottom: 0; width: 2px;
  background: var(--accent);
  transform: scaleY(0); transform-origin: top;
  transition: transform .4s var(--ease);
}
.about-tab.active { color: var(--fg-0); }
.about-tab.active::before { transform: scaleY(1); }
.about-tab:hover { color: var(--fg-0); }
.about-panel { min-height: 400px; }
.about-panel h3 {
  font-family: var(--display);
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 24px;
}
.about-panel p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--fg-1);
  max-width: 560px;
}
.about-panel .grid-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 32px;
}
.about-panel .grid-list .item {
  border: 1px solid var(--line);
  padding: 20px;
  border-radius: var(--radius);
  display: flex; gap: 16px; align-items: flex-start;
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
.about-panel .grid-list .item:hover { border-color: var(--accent); }
.about-panel .grid-list .num {
  font-family: var(--display);
  font-style: italic;
  color: var(--accent);
  font-size: 28px;
  line-height: 1;
}
.about-panel .grid-list h4 {
  margin: 0 0 6px;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 16px;
  color: var(--fg-0);
}
.about-panel .grid-list p {
  margin: 0;
  font-size: 14px;
  color: var(--fg-2);
}
@media (max-width: 900px) {
  .about { grid-template-columns: 1fr; gap: 40px; }
  .about-panel .grid-list { grid-template-columns: 1fr; }
}

/* =========================
   Serviços
   ========================= */
.services-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: end;
  margin-bottom: 60px;
}
.services-head p { color: var(--fg-1); max-width: 480px; margin: 0; }
.service-list { border-top: 1px solid var(--line); }
.service-row {
  display: grid;
  grid-template-columns: 80px 1fr 1fr 60px;
  gap: 32px;
  align-items: center;
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
  position: relative;
  cursor: none;
  transition: padding .4s var(--ease);
}
.service-row:hover { padding-left: 24px; }
.service-row .num {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--fg-2);
  letter-spacing: 0.1em;
}
.service-row h3 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(28px, 3vw, 44px);
  margin: 0;
  line-height: 1;
  letter-spacing: -0.02em;
  transition: color .35s var(--ease), font-style .35s var(--ease);
}
.service-row:hover h3 { color: var(--accent); font-style: italic; }
.service-row .desc {
  color: var(--fg-1);
  font-size: 14px;
  line-height: 1.55;
  max-width: 360px;
}
.service-row .arrow {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  display: inline-flex; align-items: center; justify-content: center;
  justify-self: end;
  transition: all .35s var(--ease);
  color: var(--fg-1);
}
.service-row:hover .arrow {
  background: var(--accent); border-color: var(--accent); color: var(--bg-1);
  transform: rotate(-45deg);
}
.service-preview {
  position: fixed;
  pointer-events: none;
  width: 230px; height: 164px;
  border-radius: var(--radius);
  overflow: hidden;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.9);
  transition: opacity .3s var(--ease), transform .4s var(--ease);
  z-index: 50;
  background: var(--bg-3);
  border: 1px solid var(--line-strong);
  box-shadow: 0 30px 60px rgba(0,0,0,0.5);
}
.service-preview.visible { opacity: 1; transform: translate(-50%, -50%) scale(1); }
@media (max-width: 720px) {
  .services-head { grid-template-columns: 1fr; gap: 24px; }
  .service-row { grid-template-columns: 40px 1fr 36px; gap: 16px; }
  .service-row .desc { display: none; }
}

/* =========================
   Why Work With Us
   ========================= */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  margin-top: 60px;
}
.why-card {
  padding: 40px 32px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  position: relative;
  transition: background .35s var(--ease);
}
.why-card:hover { background: var(--bg-2); }
.why-card .icon {
  width: 56px; height: 56px;
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 28px;
  color: var(--accent);
}
.why-card h4 {
  font-family: var(--display);
  font-weight: 400;
  font-size: 22px;
  margin: 0 0 12px;
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.why-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--fg-1);
}
.why-card .num {
  position: absolute;
  top: 20px; right: 24px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--fg-2);
}
@media (max-width: 900px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .why-grid { grid-template-columns: 1fr; } }

/* =========================
   Galeria de Projetos
   ========================= */
.gallery-head {
  display: flex; justify-content: space-between; align-items: end;
  margin-bottom: 40px; gap: 32px;
}
.gallery-track-wrap { position: relative; overflow: hidden; cursor: grab; user-select: none; }
.gallery-track-wrap.is-dragging { cursor: grabbing; }
.gallery-track {
  display: flex;
  gap: 24px;
  transition: transform .8s var(--ease);
  will-change: transform;
}
.gallery-card {
  flex: 0 0 calc((100% - 48px) / 3);
  aspect-ratio: 4/5;
  max-height: 64vh;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  background: var(--bg-2);
  transition: transform .5s var(--ease);
}
.gallery-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  transition: border-color .35s var(--ease);
  pointer-events: none;
  z-index: 10;
}
.gallery-card:hover::after { border-color: var(--accent); }
.gallery-card .thumb {
  position: absolute; inset: 0;
  background: var(--bg-3);
  display: flex; align-items: center; justify-content: center;
}
.gallery-card .meta {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 72px 24px 24px;
  background: linear-gradient(to top, rgba(var(--meta-rgb),1) 0%, rgba(var(--meta-rgb),0.97) 35%, rgba(var(--meta-rgb),0.55) 65%, transparent 100%);
  display: flex; justify-content: space-between; align-items: end;
}
.gallery-card .meta h4 {
  margin: 0;
  font-family: var(--display);
  font-weight: 400;
  font-size: 22px;
  letter-spacing: -0.01em;
}
.gallery-card .meta .tag {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-1);
  border: 1px solid var(--line-strong);
  padding: 4px 8px;
  border-radius: 999px;
}
.gallery-controls {
  display: flex; gap: 12px; align-items: center;
  margin-top: 32px;
  justify-content: center;
}
.gallery-controls button {
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--fg-0);
  cursor: none;
  transition: all .3s var(--ease);
  display: inline-flex; align-items: center; justify-content: center;
}
.gallery-controls button:hover { border-color: var(--accent); color: var(--accent); }
.gallery-controls button:disabled { opacity: 0.3; cursor: none; }
.gallery-controls .progress {
  width: 200px; height: 1px;
  background: var(--line);
  position: relative;
  margin: 0 12px;
}
.gallery-controls .progress span {
  position: absolute; left: 0; top: 0; height: 1px;
  background: var(--accent);
  transition: width .6s var(--ease);
}
@media (max-width: 900px) { .gallery-card { flex: 0 0 calc((100% - 24px) / 2); } }
@media (max-width: 600px) { .gallery-card { flex: 0 0 100%; } }

/* =========================
   Depoimentos
   ========================= */
.testimonials {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 80px;
  align-items: center;
}
.phone {
  width: 280px;
  height: 560px;
  background: var(--bg-3);
  border-radius: 36px;
  border: 8px solid #1a1d28;
  position: relative;
  margin: 0 auto;
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(0,0,0,0.4), 0 0 0 1px var(--line-strong);
}
.phone::before {
  content: "";
  position: absolute; top: 12px; left: 50%;
  transform: translateX(-50%);
  width: 80px; height: 22px;
  background: #0a0c12;
  border-radius: 999px;
  z-index: 2;
}
.phone-screen {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, #0d1020 0%, #1a2040 100%);
  padding: 60px 20px 20px;
  display: flex; flex-direction: column;
  gap: 16px;
}
.phone-screen .pill {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 16px;
  font-size: 11px;
  color: rgba(255,255,255,0.85);
  font-family: var(--sans);
}
.phone-screen .pill .row {
  display: flex; gap: 10px; align-items: center; margin-bottom: 8px;
}
.phone-screen .pill .av {
  width: 26px; height: 26px; border-radius: 50%;
  background: linear-gradient(135deg, #d9c089, #4a6cf7);
}
.phone-screen .pill strong { font-weight: 500; }
.phone-screen .pill .time { color: rgba(255,255,255,0.4); margin-left: auto; font-size: 9px; }
.phone-screen .stat-card {
  background: rgba(217, 192, 137, 0.08);
  border: 1px solid rgba(217, 192, 137, 0.2);
  border-radius: 12px;
  padding: 16px;
  color: var(--accent);
}
.phone-screen .stat-card .big {
  font-family: var(--display);
  font-style: italic;
  font-size: 32px;
  line-height: 1;
}
.phone-screen .stat-card .lbl {
  font-size: 10px; letter-spacing: 0.1em;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  margin-top: 4px;
}

.testimonial-content blockquote {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(22px, 2.4vw, 32px);
  line-height: 1.4;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--fg-0);
  text-wrap: balance;
}
.testimonial-content .open-quote {
  font-family: var(--display);
  font-style: italic;
  color: var(--accent);
  font-size: 64px;
  line-height: 0.5;
  display: block;
  margin-bottom: 24px;
}
.testimonial-content .author {
  display: flex; align-items: center; gap: 16px;
  margin-top: 36px;
}
.testimonial-content .author .ava {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--display);
  font-style: italic;
  color: var(--bg-1);
  font-size: 18px;
}
.testimonial-content .author .name { font-weight: 500; font-size: 15px; }
.testimonial-content .author .role { font-size: 13px; color: var(--fg-2); }

.testimonial-pager {
  display: flex; gap: 8px; margin-top: 40px;
}
.testimonial-pager button {
  width: 28px; height: 4px;
  background: var(--line);
  border: none; border-radius: 2px;
  cursor: none;
  transition: background .3s var(--ease), width .3s var(--ease);
}
.testimonial-pager button.active { background: var(--accent); width: 56px; }
@media (max-width: 900px) {
  .testimonials { grid-template-columns: 1fr; gap: 40px; }
}

/* =========================
   CTA + form
   ========================= */
.cta {
  text-align: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 140px 0;
  position: relative;
  overflow: hidden;
}
.cta h2 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(48px, 8vw, 120px);
  line-height: 0.95;
  letter-spacing: -0.03em;
  margin: 0 auto;
  max-width: 1100px;
  text-wrap: balance;
}
.cta h2 em { color: var(--accent); }
.cta p { color: var(--fg-1); margin: 24px auto 40px; max-width: 480px; }

/* Contact form */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
  margin-top: 60px;
}
.contact-info h3 {
  font-family: var(--display);
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 400;
  margin: 0 0 24px;
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.contact-info p { color: var(--fg-1); max-width: 420px; }
.contact-list { margin-top: 40px; padding: 0; list-style: none; }
.contact-list li {
  display: flex; gap: 16px; align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}
.contact-list li .label {
  font-family: var(--mono); font-size: 11px;
  color: var(--fg-2); letter-spacing: 0.12em;
  text-transform: uppercase; min-width: 90px;
}
.contact-list li a:hover { color: var(--accent); }

.form { display: grid; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; position: relative; }
.field label {
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--fg-2);
}
.field input, .field textarea {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line-strong);
  padding: 12px 0;
  color: var(--fg-0);
  font: inherit;
  outline: none;
  transition: border-color .3s var(--ease);
  font-family: var(--sans);
  cursor: none;
  border-radius: 0;
}
.field input:focus, .field textarea:focus { border-bottom-color: var(--accent); }
.field textarea { min-height: 120px; resize: vertical; }
.field.invalid input, .field.invalid textarea { border-bottom-color: #e76262; }
.field .err { color: #e76262; font-size: 12px; min-height: 16px; }
.form-submit { display: flex; justify-content: flex-start; margin-top: 12px; }
.form-success {
  border: 1px solid var(--accent);
  background: color-mix(in oklab, var(--accent) 8%, transparent);
  padding: 24px;
  border-radius: var(--radius);
  text-align: left;
}
.form-success h4 {
  font-family: var(--display);
  font-size: 24px;
  margin: 0 0 8px;
  font-weight: 400;
}
.form-success p { margin: 0; color: var(--fg-1); }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; gap: 40px; } }

/* =========================
   Footer
   ========================= */
.footer {
  border-top: 1px solid var(--line);
  padding: 80px 0 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 60px;
}
.footer h5 {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-2);
  margin: 0 0 20px;
  font-weight: 400;
}
.footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer ul li a { color: var(--fg-1); font-size: 14px; transition: color .25s var(--ease); }
.footer ul li a:hover { color: var(--accent); }
.footer-brand .nav-logo { font-size: 28px; }
.footer-brand p { color: var(--fg-1); max-width: 320px; margin: 16px 0; font-size: 14px; line-height: 1.55; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 32px;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--fg-2);
}
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 16px; }
}

/* Marquee */
.marquee {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  padding: 24px 0;
}
.marquee-track {
  display: flex; gap: 60px;
  animation: marquee 40s linear infinite;
  white-space: nowrap;
  font-family: var(--display);
  font-size: 28px;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--fg-1);
}
.marquee-track span { display: inline-flex; align-items: center; gap: 60px; }
.marquee-track .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent); display: inline-block;
}
@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* =========================
   Páginas de Serviço
   ========================= */
.sp-hero-grid {
  display: grid;
  grid-template-columns: 1fr minmax(0, 440px);
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.sp-steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0;
}
@media (max-width: 720px) {
  .sp-hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .sp-hero-grid > div:last-child {
    order: -1;
  }
  .sp-hero-grid > div:last-child img {
    aspect-ratio: 16/9 !important;
  }
  .sp-steps-grid {
    grid-template-columns: 1fr;
  }
  .sp-steps-grid > div {
    border-left: none !important;
    border-bottom: 1px solid var(--line) !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .sp-steps-grid > div:last-child {
    border-bottom: none !important;
  }
}
