/* ============================================================
   Sergolog — Premium, faithful to reference brand
   Light theme · DM Sans · blue #0099FF · navy #16274A
   ============================================================ */

:root {
  /* Surfaces — branco com toque azul subtil */
  --bg: #FFFFFF;
  --bg-2: #F4F8FD;     /* branco com azul muito leve */
  --bg-3: #EAF2FC;     /* azul pálido */
  --bg-soft: linear-gradient(180deg, #FFFFFF 0%, #F1F7FE 100%);

  /* "Dark" navies — azul em vez de preto */
  --dark: #0B2540;     /* azul-marinho profundo (substitui preto) */
  --dark-2: #16274A;   /* navy */
  --dark-3: #0A1B33;   /* navy ainda mais profundo */

  /* Brand — azuis Sergolog */
  --brand: #0099FF;
  --brand-2: #2A6DFC;
  --brand-dark: #0067B3;
  --brand-soft: #E6F4FF;
  --brand-deep: #08437A;

  /* Ink (texto) — navy em vez de preto */
  --ink: #0B2540;
  --ink-2: #3D4E6B;
  --ink-3: #67788F;
  --ink-inv: #FFFFFF;
  --ink-inv-2: rgba(255,255,255,0.78);
  --ink-inv-3: rgba(255,255,255,0.58);

  --border: rgba(11, 37, 64, 0.09);
  --border-strong: rgba(11, 37, 64, 0.16);
  --border-inv: rgba(255,255,255,0.14);

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 36px;

  --shadow-sm: 0 4px 12px -6px rgba(11, 37, 64, 0.10);
  --shadow: 0 24px 48px -24px rgba(11, 37, 64, 0.18), 0 8px 16px -8px rgba(0, 102, 204, 0.08);
  --shadow-brand: 0 18px 40px -18px rgba(0, 153, 255, 0.55);
  --shadow-blue-soft: 0 10px 32px -14px rgba(0, 153, 255, 0.22);

  /* Gradient for deep/feature surfaces — navy → deep brand blue */
  --deep-gradient: linear-gradient(135deg, #0B2540 0%, #123A6B 55%, #08437A 100%);

  --ease: cubic-bezier(.2,.7,.2,1);
  --ease-out: cubic-bezier(.16,1,.3,1);

  --header-h: 140px;
  --container: 1240px;
  --gutter: clamp(20px, 4vw, 48px);

  --f-display: "DM Sans", Inter, system-ui, -apple-system, sans-serif;
  --f-body: "DM Sans", Inter, system-ui, -apple-system, sans-serif;
}

/* ============================================================
   Dark mode overrides
   ============================================================ */
html[data-theme="dark"] {
  --bg: #08121F;
  --bg-2: #0C1A2B;
  --bg-3: #122238;
  --bg-soft: linear-gradient(180deg, #0A1B33 0%, #0C1F3B 100%);

  --dark: #F1F6FC;
  --dark-2: #E2ECF8;
  --dark-3: #FFFFFF;

  --ink: #F1F6FC;
  --ink-2: #BFCFE4;
  --ink-3: #8EA1BC;
  --ink-inv: #0B2540;
  --ink-inv-2: rgba(11,37,64,0.78);
  --ink-inv-3: rgba(11,37,64,0.58);

  --border: rgba(255,255,255,0.09);
  --border-strong: rgba(255,255,255,0.18);
  --border-inv: rgba(11,37,64,0.14);

  --shadow-sm: 0 4px 12px -6px rgba(0,0,0,0.55);
  --shadow: 0 24px 48px -24px rgba(0,0,0,0.7), 0 8px 16px -8px rgba(0,0,0,0.4);

  --deep-gradient: linear-gradient(135deg, #08121F 0%, #0F2547 55%, #0A2E5C 100%);
}
html[data-theme="dark"] body {
  background:
    radial-gradient(1200px 600px at 0% -10%, rgba(0,153,255,0.14), transparent 60%),
    radial-gradient(900px 500px at 100% 8%, rgba(42,109,252,0.10), transparent 60%),
    linear-gradient(180deg, #08121F 0%, #0B1B30 100%);
}
html[data-theme="dark"] .brand__logo {
  filter: brightness(0) invert(1);
}
html[data-theme="dark"] .header {
  background: rgba(8, 18, 31, 0.72);
}
html[data-theme="dark"] .header.is-scrolled {
  background: rgba(8, 18, 31, 0.92);
}
html[data-theme="dark"] .btn--ghost {
  background: rgba(255,255,255,0.04);
  color: #fff;
  border-color: rgba(255,255,255,0.18);
}
html[data-theme="dark"] .btn--ghost:hover {
  background: rgba(0,153,255,0.10);
  border-color: var(--brand);
  color: var(--brand);
}
html[data-theme="dark"] .service,
html[data-theme="dark"] .value,
html[data-theme="dark"] .perk,
html[data-theme="dark"] .process__card,
html[data-theme="dark"] .contact__channel,
html[data-theme="dark"] .hero__chip,
html[data-theme="dark"] .badge,
html[data-theme="dark"] .faq__item,
html[data-theme="dark"] .compare__card,
html[data-theme="dark"] .footer,
html[data-theme="dark"] .legal__card,
html[data-theme="dark"] .work__card,
html[data-theme="dark"] .scope__card,
html[data-theme="dark"] .commit__item {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.10);
  color: var(--ink);
}
html[data-theme="dark"] .scope__card h3 { color: var(--ink); }
html[data-theme="dark"] .contact__channel-val,
html[data-theme="dark"] .hero__chip-val,
html[data-theme="dark"] .badge strong {
  color: var(--ink);
}
html[data-theme="dark"] .hero__tag {
  background: #0E1E33;
  border-color: rgba(255,255,255,0.14);
  color: var(--ink);
}
html[data-theme="dark"] .hero__chip {
  background: #0E1E33;
  border: 1px solid rgba(255,255,255,0.12);
}
html[data-theme="dark"] .hero__chip-icon {
  background: rgba(0,153,255,0.22);
  color: #66C2FF;
}
html[data-theme="dark"] .hero__chip--route .hero__chip-icon {
  background: rgba(92,242,142,0.22);
  color: #86F3A8;
}
html[data-theme="dark"] .section--dark .section__lede { color: rgba(255,255,255,0.78); }
html[data-theme="dark"] .section--dark .eyebrow { color: rgba(255,255,255,0.78); }
html[data-theme="dark"] .contact__channel:hover {
  border-color: var(--brand);
}
html[data-theme="dark"] .contact__form-wrap,
html[data-theme="dark"] .contact__form input,
html[data-theme="dark"] .contact__form textarea,
html[data-theme="dark"] .contact__form select {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.12);
  color: var(--ink);
}
html[data-theme="dark"] .contact__form input::placeholder,
html[data-theme="dark"] .contact__form textarea::placeholder {
  color: var(--ink-3);
}
html[data-theme="dark"] .eyebrow {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.10);
  color: var(--ink-2);
}
html[data-theme="dark"] .pagehead::before,
html[data-theme="dark"] .statement::before {
  opacity: 0.45;
}
html[data-theme="dark"] .nav-toggle {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.12);
}
html[data-theme="dark"] .nav-toggle span { background: #fff; }
html[data-theme="dark"] .mobile-nav {
  background: rgba(8,18,31,0.98);
}
html[data-theme="dark"] .section--dark {
  background: linear-gradient(180deg, #050D18 0%, #091628 45%, #0E2443 100%);
}
html[data-theme="dark"] .section--dark::before,
html[data-theme="dark"] .section--dark::after { display: none; }
html[data-theme="dark"] .newsletter-section {
  background: linear-gradient(180deg, #0B1B30 0%, #142A4D 100%);
}
html[data-theme="dark"] .newsletter-section__form input {
  background: rgba(255,255,255,0.04);
  color: #fff;
  border-color: rgba(255,255,255,0.12);
}

/* ============================================================
   Theme + language controls (header)
   ============================================================ */
.header__tools {
  display: inline-flex; align-items: center; gap: 8px;
}
.tool-btn {
  width: 44px; height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--ink-2);
  cursor: pointer;
  transition: transform .25s var(--ease), background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.tool-btn:hover {
  transform: translateY(-1px);
  color: var(--brand);
  border-color: var(--brand);
  box-shadow: 0 12px 24px -14px rgba(0,153,255,0.45);
}
.tool-btn svg { width: 18px; height: 18px; }
html[data-theme="dark"] .tool-btn {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.12);
  color: var(--ink-2);
}
.theme-toggle .sun { display: none; }
.theme-toggle .moon { display: block; }
html[data-theme="dark"] .theme-toggle .sun { display: block; }
html[data-theme="dark"] .theme-toggle .moon { display: none; }

.lang-switch { position: relative; }
.lang-switch__btn {
  padding: 0 14px;
  width: auto; min-width: 64px;
  gap: 6px;
  font-size: 13px; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--ink);
}
.lang-switch__btn .chev {
  width: 12px; height: 12px;
  transition: transform .25s var(--ease);
}
.lang-switch.is-open .lang-switch__btn .chev { transform: rotate(180deg); }
.lang-switch__menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 160px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 6px;
  box-shadow: 0 24px 48px -24px rgba(11,37,64,0.22);
  opacity: 0; transform: translateY(-6px) scale(0.98);
  pointer-events: none;
  transition: opacity .2s var(--ease), transform .2s var(--ease);
  z-index: 50;
}
.lang-switch.is-open .lang-switch__menu {
  opacity: 1; transform: none; pointer-events: auto;
}
.lang-switch__menu button {
  display: block; width: 100%;
  padding: 10px 12px;
  text-align: left;
  font-size: 14px; color: var(--ink);
  border-radius: 8px;
  transition: background .2s var(--ease), color .2s var(--ease);
  background: none; border: 0;
}
.lang-switch__menu button:hover { background: var(--bg-2); color: var(--brand); }
.lang-switch__menu button.is-active { color: var(--brand); font-weight: 600; }
html[data-theme="dark"] .lang-switch__menu {
  background: #0C1A2B;
  border-color: rgba(255,255,255,0.08);
}
html[data-theme="dark"] .lang-switch__menu button { color: var(--ink); }
html[data-theme="dark"] .lang-switch__menu button:hover { background: rgba(255,255,255,0.06); }

@media (max-width: 1100px) {
  .header__tools { display: none; }
  .header__tools--mobile { display: inline-flex; }
}
.header__tools--mobile { display: none; }

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

html { scroll-behavior: smooth; overflow-x: hidden; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

html, body { margin: 0; padding: 0; }

body {
  font-family: var(--f-body);
  background:
    radial-gradient(1200px 600px at 0% -10%, rgba(0, 153, 255, 0.08), transparent 60%),
    radial-gradient(900px 500px at 100% 8%, rgba(42, 109, 252, 0.05), transparent 60%),
    linear-gradient(180deg, #FFFFFF 0%, #F7FBFF 100%);
  background-attachment: fixed;
  color: var(--ink);
  line-height: 1.55;
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  min-height: 100vh;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; background: none; border: 0; cursor: pointer; color: inherit; }

::selection { background: var(--brand); color: #fff; }

/* Hide unused decorative elements from legacy CSS */
.cursor, .aurora, .noise { display: none !important; }

/* ============================================================
   Scroll progress
   ============================================================ */
.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 2px;
  z-index: 1000; background: transparent;
}
.scroll-progress span {
  display: block; height: 100%; width: 0%;
  background: var(--brand);
  transition: width .1s linear;
}

/* ============================================================
   Announcement bar
   ============================================================ */
.announce {
  background: linear-gradient(90deg, var(--brand-deep) 0%, var(--brand) 50%, var(--brand-2) 100%);
  color: #FFF;
  overflow: hidden;
  height: 36px;
  display: flex; align-items: center;
  font-size: 13px;
  letter-spacing: 0.02em;
  position: relative;
  z-index: 50;
}
.announce__track {
  display: flex; gap: 48px;
  white-space: nowrap;
  animation: marquee 40s linear infinite;
  padding-left: 48px;
}
.announce__track span { color: rgba(255,255,255,.85); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ============================================================
   Header
   ============================================================ */
.header {
  position: sticky; top: 0;
  display: flex; align-items: center; justify-content: center;
  gap: clamp(24px, 4vw, 56px);
  padding: 14px var(--gutter);
  z-index: 40;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
.header.is-scrolled {
  border-bottom-color: var(--border);
  background: rgba(255, 255, 255, 0.94);
}

.brand {
  display: inline-flex; align-items: center;
  font-family: var(--f-display);
  font-weight: 700; font-size: 19px;
  letter-spacing: -0.02em;
  color: var(--dark);
}
.brand__logo {
  height: 152px;
  width: auto;
  display: block;
  /* Source logo is white on transparent — tint to navy on light backgrounds */
  filter: brightness(0) saturate(100%) invert(11%) sepia(76%) saturate(1974%) hue-rotate(198deg) brightness(95%) contrast(98%);
  transition: filter .3s var(--ease), transform .3s var(--ease);
}
.brand:hover .brand__logo {
  transform: scale(1.04);
  filter: brightness(0) saturate(100%) invert(48%) sepia(98%) saturate(2454%) hue-rotate(189deg) brightness(100%) contrast(102%);
}
/* Dark surfaces (CTA block) — keep logo white */
.cta .brand__logo,
.section--dark .brand__logo {
  filter: brightness(0) invert(1);
}

.nav { display: flex; gap: 4px; }
.nav a {
  padding: 14px 20px;
  font-size: 16px; font-weight: 500;
  color: var(--ink-2);
  border-radius: 12px;
  position: relative;
  transition: color .25s var(--ease), background .25s var(--ease), transform .25s var(--ease);
}
.nav a:hover { color: var(--brand); background: var(--bg-2); transform: translateY(-1px); }
.nav a.is-active {
  color: var(--brand);
  background: transparent;
}
.nav a.is-active::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 4px;
  width: 5px; height: 5px;
  background: var(--brand);
  border-radius: 50%;
}

.nav__cta { padding: 14px 24px; font-size: 16px; }
.nav__cta.is-active::after { display: none; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #fff;
  flex-direction: column; gap: 5px; align-items: center; justify-content: center;
}
.nav-toggle span {
  display: block; width: 18px; height: 1.8px;
  background: var(--dark); border-radius: 2px;
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav overlay */
.mobile-nav {
  position: fixed; inset: 0; z-index: 39;
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  display: flex; flex-direction: column; justify-content: space-between;
  padding: calc(var(--header-h) + 32px) var(--gutter) 48px;
  opacity: 0; pointer-events: none;
  transition: opacity .4s var(--ease);
}
.mobile-nav.is-open { opacity: 1; pointer-events: auto; }
.mobile-nav__inner { display: flex; flex-direction: column; gap: 2px; }
.mobile-nav__inner a {
  display: flex; align-items: baseline; gap: 18px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  font-family: var(--f-display);
  font-size: clamp(28px, 8vw, 40px);
  font-weight: 500;
  color: var(--dark);
  letter-spacing: -0.02em;
  transform: translateY(12px); opacity: 0;
  transition: transform .5s var(--ease), opacity .5s var(--ease), color .2s var(--ease);
}
.mobile-nav.is-open .mobile-nav__inner a { transform: none; opacity: 1; }
.mobile-nav.is-open .mobile-nav__inner a:nth-child(1) { transition-delay: .05s; }
.mobile-nav.is-open .mobile-nav__inner a:nth-child(2) { transition-delay: .10s; }
.mobile-nav.is-open .mobile-nav__inner a:nth-child(3) { transition-delay: .15s; }
.mobile-nav.is-open .mobile-nav__inner a:nth-child(4) { transition-delay: .20s; }
.mobile-nav.is-open .mobile-nav__inner a:nth-child(5) { transition-delay: .25s; }
.mobile-nav.is-open .mobile-nav__inner a:nth-child(6) { transition-delay: .30s; }
.mobile-nav.is-open .mobile-nav__inner a:nth-child(7) { transition-delay: .35s; }

.mobile-nav__num {
  font-family: var(--f-body); font-size: 12px; font-weight: 500;
  color: var(--ink-3); letter-spacing: .12em;
}
.mobile-nav__inner a:hover { color: var(--brand); }
.mobile-nav__tools {
  display: flex; gap: 10px; align-items: center;
  padding: 18px 0 22px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.mobile-nav__tools .tool-btn { height: 44px; }
.mobile-nav__tools .lang-switch { position: relative; }
.mobile-nav__tools .lang-switch__menu {
  position: absolute;
  top: auto; right: auto;
  bottom: calc(100% + 8px); left: 0;
  min-width: 160px;
  background: var(--surface, #fff);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 6px;
  box-shadow: 0 12px 32px rgba(0,0,0,.12);
  display: none;
  z-index: 20;
}
.mobile-nav__tools .lang-switch.is-open .lang-switch__menu { display: block; }
.mobile-nav__tools .lang-switch__menu button {
  display: block; width: 100%;
  background: transparent; border: 0;
  padding: 10px 12px; border-radius: calc(var(--radius) - 4px);
  text-align: left; font: inherit; color: var(--dark);
  cursor: pointer;
}
.mobile-nav__tools .lang-switch__menu button:hover,
.mobile-nav__tools .lang-switch__menu button.is-active { background: rgba(0,153,255,.08); color: var(--brand); }
.mobile-nav__foot {
  display: flex; gap: 24px; flex-wrap: wrap;
  font-size: 14px; color: var(--ink-3);
}
.mobile-nav__foot a { color: var(--ink-2); }
.mobile-nav__foot a:hover { color: var(--brand); }

body.nav-open { overflow: hidden; }

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 16px 28px;
  border-radius: 999px;
  font-weight: 500; font-size: 15px;
  letter-spacing: -0.005em;
  transition: transform .35s var(--ease), background .35s var(--ease), color .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
  position: relative;
  white-space: nowrap;
  isolation: isolate;
  cursor: pointer;
  overflow: hidden;
}
.btn svg { width: 18px; height: 18px; transition: transform .35s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 20%, rgba(255,255,255,0.35) 50%, transparent 80%);
  transform: translateX(-120%);
  transition: transform .8s var(--ease);
  z-index: -1;
}
.btn:hover::before { transform: translateX(120%); }

.btn--primary {
  background: var(--brand);
  color: #fff;
  box-shadow: var(--shadow-brand);
}
.btn--primary:hover {
  background: var(--brand-deep);
  box-shadow: 0 24px 52px -16px rgba(8, 67, 122, 0.60), 0 0 0 4px rgba(0, 153, 255, 0.12);
  transform: translateY(-2px) scale(1.02);
}
.btn--primary:active { transform: translateY(0) scale(0.99); }

.btn--ghost {
  background: #fff;
  color: var(--brand-deep);
  border: 1px solid var(--border-strong);
}
.btn--ghost:hover {
  color: var(--brand);
  border-color: var(--brand);
  background: var(--brand-soft);
  transform: translateY(-2px);
  box-shadow: 0 18px 36px -18px rgba(0, 153, 255, 0.35);
}
.btn--ghost:active { transform: translateY(0); }

.btn--lg {
  padding: 20px 36px;
  font-size: 16px;
  letter-spacing: -0.01em;
}

/* ============================================================
   Shared section
   ============================================================ */
.section {
  padding: clamp(52px, 6vw, 88px) var(--gutter);
  max-width: var(--container);
  margin: 0 auto;
  position: relative;
}
.section__head {
  max-width: 820px;
  margin-bottom: clamp(28px, 4vw, 52px);
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 12px;
  color: var(--ink-3);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
  background: #fff;
  margin-bottom: 22px;
}
.eyebrow span:first-child {
  color: var(--brand);
  font-variant-numeric: tabular-nums;
}
.eyebrow .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--dark);
  flex-shrink: 0;
}
.eyebrow--center { margin: 0 auto; }

.section__title {
  font-family: var(--f-display);
  font-size: clamp(34px, 5.6vw, 62px);
  font-weight: 500;
  line-height: 1.03;
  letter-spacing: -0.035em;
  margin: 0;
  color: var(--dark);
}
.section__title em {
  font-style: italic;
  color: var(--brand);
  font-weight: 500;
}
.section__lede {
  margin-top: 20px;
  font-size: clamp(16px, 1.5vw, 18px);
  color: var(--ink-3);
  max-width: 620px;
}

/* ============================================================
   Dark navy section (for contrast blocks)
   Applied as .section--dark on any .section
   ============================================================ */
.section--dark {
  max-width: none;
  padding-inline: var(--gutter);
  padding-block: clamp(72px, 8vw, 120px);
  color: var(--ink-inv);
  background: linear-gradient(180deg, #0A1B33 0%, #0B2540 45%, #12305C 100%);
  position: relative;
  overflow: hidden;
}
/* Soft top/bottom fade to blend with surrounding light sections */
.section--dark::before,
.section--dark::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  height: 80px;
  pointer-events: none;
  z-index: 1;
}
.section--dark::before {
  top: 0;
  background: linear-gradient(180deg, rgba(247,251,255,0.6) 0%, transparent 100%);
}
.section--dark::after {
  bottom: 0;
  background: linear-gradient(0deg, rgba(247,251,255,0.25) 0%, transparent 100%);
}
.section--dark > * { position: relative; z-index: 2; }
.section--dark .section__inner,
.section--dark .section__head,
.section--dark .services__grid,
.section--dark .process__grid {
  max-width: var(--container);
  margin-inline: auto;
  position: relative;
  z-index: 2;
}
.section--dark .section__title { color: #fff; }
.section--dark .section__title em { color: var(--brand); }
.section--dark .section__lede { color: var(--ink-inv-2); }
.section--dark .eyebrow {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.14);
  color: var(--ink-inv-2);
}
.section--dark .eyebrow span:first-child { color: var(--brand); }
/* Glow behind dark section content */
.section--dark__glow {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: clamp(700px, 80vw, 1300px);
  height: clamp(700px, 80vw, 1300px);
  background: radial-gradient(circle, rgba(0, 153, 255, 0.22) 0%, rgba(0, 153, 255, 0.06) 35%, transparent 70%);
  filter: blur(100px);
  pointer-events: none;
  z-index: 0;
}

/* Reveal */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .9s var(--ease-out), transform .9s var(--ease-out);
}
[data-reveal].is-in { opacity: 1; transform: none; }

[data-reveal="fade"] { transform: none; }
[data-reveal="left"] { transform: translateX(-40px); }
[data-reveal="right"] { transform: translateX(40px); }
[data-reveal="scale"] { transform: scale(0.92); }
[data-reveal].is-in { transform: none !important; }

[data-split] { overflow: hidden; }
[data-split] .split-word {
  display: inline-block;
  transform: translateY(105%);
  transition: transform 1.1s var(--ease-out);
  transition-delay: var(--d, 0s);
}
[data-split].is-in .split-word { transform: translateY(0); }
[data-split] em { display: inline-block; }
[data-split] em .split-word {
  color: inherit;
  font-style: inherit;
}

/* ============================================================
   Global animations
   ============================================================ */
@keyframes float-soft {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}
@keyframes shimmer-text {
  0%   { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}
@keyframes glow-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0, 153, 255, 0); }
  50%      { box-shadow: 0 0 0 10px rgba(0, 153, 255, 0.08); }
}
@keyframes fade-up {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: none; }
}
@keyframes tilt-in {
  from { opacity: 0; transform: perspective(800px) rotateX(8deg) translateY(24px); }
  to   { opacity: 1; transform: none; }
}

/* Brand logo subtle breathing */
.header .brand__logo {
  animation: float-soft 6s ease-in-out infinite;
}

/* Eyebrow subtle pulse ring on hover */
.eyebrow { transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.eyebrow:hover { transform: translateY(-1px); }
.eyebrow span:first-child { transition: color .3s var(--ease); }

/* Animated underline for nav links (non-active) */
.nav a:not(.is-active):not(.nav__cta)::before {
  content: "";
  position: absolute;
  left: 20px; right: 20px;
  bottom: 8px;
  height: 2px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform .35s var(--ease);
  border-radius: 2px;
}
.nav a:not(.is-active):not(.nav__cta):hover::before {
  transform: scaleX(1);
  transform-origin: left center;
}

/* Smooth scale-in for cards when revealed */
[data-reveal].service,
[data-reveal].process__card,
[data-reveal].value,
[data-reveal].work__item {
  transform: translateY(30px) scale(0.97);
}
[data-reveal].service.is-in,
[data-reveal].process__card.is-in,
[data-reveal].value.is-in,
[data-reveal].work__item.is-in {
  transform: none;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  padding: clamp(28px, 4vw, 64px) var(--gutter) clamp(52px, 7vw, 96px);
  max-width: var(--container);
  margin: 0 auto;
  overflow: hidden;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(40px, 5vw, 80px);
  align-items: center;
}
.hero__content { position: relative; z-index: 2; }

.hero__tag {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 13px; font-weight: 500;
  color: var(--ink-2);
  background: #fff;
  width: fit-content;
  margin-bottom: 28px;
}
.hero__tag .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 0 rgba(92,242,142,.7);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(92,242,142,.6); }
  70% { box-shadow: 0 0 0 10px rgba(92,242,142,0); }
  100% { box-shadow: 0 0 0 0 rgba(92,242,142,0); }
}

.hero__title {
  font-family: var(--f-display);
  font-size: clamp(42px, 6.8vw, 88px);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.04em;
  margin: 0;
  color: var(--dark);
  max-width: 14ch;
}
.hero__title em {
  font-style: italic;
  color: var(--brand);
  font-weight: 500;
}

.hero__sub {
  margin-top: 24px;
  font-size: clamp(16px, 1.4vw, 18px);
  color: var(--ink-3);
  max-width: 520px;
  line-height: 1.55;
}

.hero__cta {
  margin-top: 32px;
  display: flex; gap: 10px; flex-wrap: wrap;
}

.hero__trust {
  margin-top: 40px;
  display: flex; align-items: center; gap: 16px;
  font-size: 13px; color: var(--ink-3);
}
.hero__trust-stars { display: inline-flex; gap: 2px; color: #FFB547; }
.hero__trust-avatars { display: flex; }
.hero__trust-avatars span {
  width: 28px; height: 28px; border-radius: 50%;
  border: 2px solid #fff;
  background: linear-gradient(135deg, #E6F4FF, #0099FF);
  margin-left: -6px;
  font-size: 11px; font-weight: 600; color: var(--dark);
  display: inline-flex; align-items: center; justify-content: center;
}
.hero__trust-avatars span:first-child { margin-left: 0; background: linear-gradient(135deg, #5CF28E, #1F514C); color: #fff; }
.hero__trust-avatars span:nth-child(2) { background: linear-gradient(135deg, #FFB547, #D97706); color: #fff; }
.hero__trust-avatars span:nth-child(3) { background: linear-gradient(135deg, #5285F2, #16274A); color: #fff; }

/* Hero visual: image card stack */
.hero__visual {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  overflow: visible;
}
.hero__photo {
  position: absolute; inset: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--deep-gradient);
  box-shadow: var(--shadow);
  transform: rotate(-1.5deg);
  display: flex; align-items: flex-end;
  padding: 28px;
  color: #fff;
  isolation: isolate;
}
.hero__video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
  transform: scale(1.02);
  transition: transform 1.2s var(--ease);
}
.hero__photo:hover .hero__video { transform: scale(1.06); }
.hero__photo::before {
  content: "";
  position: absolute; inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(0,0,0,0) 35%, rgba(0,0,0,0.55) 100%),
    radial-gradient(900px 380px at 75% 15%, rgba(0,153,255,0.22), transparent 55%);
  pointer-events: none;
}
.hero__photo-caption {
  position: relative;
  z-index: 2;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
}
.hero__photo-caption strong {
  display: block;
  font-family: var(--f-display);
  font-size: clamp(22px, 2.2vw, 28px);
  font-weight: 500;
  letter-spacing: -0.02em;
  text-transform: none;
  color: #fff;
  margin-top: 4px;
}

.hero__chip {
  position: absolute;
  background: #fff;
  border-radius: 16px;
  padding: 14px 16px;
  box-shadow: var(--shadow);
  display: flex; align-items: center; gap: 12px;
  min-width: 210px;
  animation: float 6s var(--ease) infinite;
}
.hero__chip--temp { top: -18px; left: -28px; animation-delay: 0s; }
.hero__chip--route { bottom: -48px; right: -24px; animation-delay: -3s; }

@keyframes float {
  0%,100% { transform: translateY(0); }
  50%     { transform: translateY(-10px); }
}

.hero__chip-icon {
  width: 36px; height: 36px; border-radius: 10px;
  background: var(--brand-soft);
  color: var(--brand);
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.hero__chip-icon svg { width: 20px; height: 20px; }
.hero__chip-body { display: flex; flex-direction: column; gap: 2px; line-height: 1.2; }
.hero__chip-lbl { font-size: 11px; color: var(--ink-3); text-transform: uppercase; letter-spacing: 0.08em; }
.hero__chip-val { font-family: var(--f-display); font-weight: 500; font-size: 16px; color: var(--dark); }
.hero__chip--route .hero__chip-icon { background: rgba(92,242,142,.18); color: var(--green-dark); }

/* Hero meta row */
.hero__meta {
  margin-top: clamp(56px, 7vw, 88px);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 2vw, 28px);
  border-top: 1px solid var(--border);
  padding-top: 28px;
}
.hero__meta-item {
  display: flex; flex-direction: column; gap: 4px;
}
.hero__meta-num {
  font-family: var(--f-display);
  font-size: clamp(26px, 3.2vw, 38px);
  font-weight: 500;
  letter-spacing: -0.03em;
  color: var(--dark);
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.hero__meta-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-3);
}

/* ============================================================
   Logos bar (trust)
   ============================================================ */
.logos {
  padding: 28px var(--gutter);
  border-block: 1px solid var(--border);
  background: var(--bg-2);
  overflow: hidden;
}
.logos__inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex; align-items: center; gap: clamp(32px, 6vw, 80px);
  flex-wrap: nowrap;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.logos__label {
  font-size: 12px; color: var(--ink-3); text-transform: uppercase;
  letter-spacing: 0.1em; white-space: nowrap;
  flex-shrink: 0;
}
.logos__track {
  display: flex; align-items: center; gap: clamp(32px, 5vw, 64px);
  flex-wrap: nowrap;
  animation: marquee 40s linear infinite;
  white-space: nowrap;
}
.logos__item {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(18px, 1.8vw, 22px);
  color: var(--ink-3);
  letter-spacing: -0.01em;
  white-space: nowrap;
  opacity: .8;
  transition: opacity .2s var(--ease), color .2s var(--ease);
}
.logos__item:hover { opacity: 1; color: var(--dark); }
.logos__item i {
  font-style: normal;
  color: var(--brand);
}

/* ============================================================
   Services
   ============================================================ */
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.service {
  position: relative;
  padding: 28px;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--border);
  overflow: hidden;
  min-height: 280px;
  display: flex; flex-direction: column; gap: 14px;
  transition: transform .4s var(--ease), border-color .4s var(--ease), box-shadow .4s var(--ease);
}
.service:hover {
  transform: translateY(-4px);
  border-color: var(--dark);
  box-shadow: var(--shadow);
}

.service__num {
  position: absolute; top: 22px; right: 26px;
  font-family: var(--f-display);
  font-size: 13px; font-weight: 600;
  color: var(--ink-3);
  letter-spacing: 0.05em;
}
.service__icon {
  width: 52px; height: 52px; border-radius: 13px;
  background: var(--brand-soft);
  color: var(--brand);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 10px;
  transition: transform .4s var(--ease), background .4s var(--ease), color .4s var(--ease);
}
.service:hover .service__icon {
  background: var(--brand);
  color: #fff;
  transform: scale(1.05) rotate(-3deg);
}
.service__icon svg { width: 26px; height: 26px; }

.service h3 {
  font-family: var(--f-display);
  font-size: 21px; font-weight: 500;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--dark);
}
.service p {
  color: var(--ink-3);
  font-size: 15px;
  line-height: 1.55;
  margin: 0;
}
.service__tags {
  margin-top: auto; padding-top: 14px;
  display: flex; gap: 6px; flex-wrap: wrap;
}
.service__tags span {
  padding: 4px 10px;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 11px; color: var(--ink-2);
  letter-spacing: 0.02em;
  background: var(--bg-3);
}

.service--hero {
  background: var(--deep-gradient);
  color: #fff;
  border-color: transparent;
}
.service--hero h3, .service--hero .service__num { color: #fff; }
.service--hero p { color: rgba(255,255,255,0.7); }
.service--hero .service__icon {
  background: var(--brand);
  color: #fff;
}
.service--hero:hover .service__icon {
  background: #fff;
  color: var(--brand);
}
.service--hero .service__tags span {
  border-color: rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.05);
  color: rgba(255,255,255,0.8);
}

/* Cards inside a .section--dark — translucent glass look */
.section--dark .service {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.09);
  color: #fff;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.section--dark .service:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: var(--brand);
  box-shadow: 0 24px 60px -24px rgba(0, 153, 255, 0.55);
}
.section--dark .service h3 { color: #fff; }
.section--dark .service__num { color: rgba(255,255,255,0.5); }
.section--dark .service p { color: rgba(255, 255, 255, 0.68); }
.section--dark .service__icon {
  background: rgba(0, 153, 255, 0.12);
  color: var(--brand);
}
.section--dark .service:hover .service__icon {
  background: var(--brand);
  color: #fff;
}
.section--dark .service__tags span {
  border-color: rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.05);
  color: rgba(255,255,255,0.78);
}
/* In a dark section, avoid compounding — hide the in-services "hero" variant special styling */
.section--dark .service--hero { background: linear-gradient(135deg, rgba(0,153,255,0.22), rgba(0,102,204,0.12)); }

/* ============================================================
   Big stat block (dark section)
   ============================================================ */
.bigstat {
  background: var(--deep-gradient);
  color: #fff;
  max-width: none;
  padding-inline: var(--gutter);
}
.bigstat__inner {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(40px, 5vw, 80px);
  align-items: end;
}
.bigstat .eyebrow {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.14);
  color: rgba(255,255,255,0.7);
}
.bigstat .eyebrow span:first-child { color: var(--brand); }
.bigstat__heading {
  font-family: var(--f-display);
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 12px 0 0;
  color: #fff;
}
.bigstat__heading em {
  font-style: italic;
  color: var(--brand);
  font-weight: 500;
}
.bigstat__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.stat {
  padding: 28px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px;
  background: rgba(255,255,255,0.03);
  transition: transform .4s var(--ease), border-color .4s var(--ease), background .4s var(--ease);
  display: flex; flex-direction: column; gap: 6px;
}
.stat:hover { transform: translateY(-3px); border-color: rgba(255,255,255,0.25); background: rgba(255,255,255,0.06); }
.stat__num {
  font-family: var(--f-display);
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1;
  color: #fff;
  font-variant-numeric: tabular-nums;
}
.stat__lbl {
  font-size: 13px; color: rgba(255,255,255,0.6);
  text-transform: uppercase; letter-spacing: 0.08em;
}

/* ============================================================
   Work / Case studies
   ============================================================ */
.work__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.case {
  position: relative;
  padding: 36px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: #fff;
  min-height: 280px;
  display: flex; flex-direction: column; gap: 16px;
  overflow: hidden;
  transition: transform .4s var(--ease), border-color .4s var(--ease), box-shadow .4s var(--ease);
}
.case:hover {
  transform: translateY(-4px);
  border-color: var(--dark);
  box-shadow: var(--shadow);
}
.case__media {
  margin: -36px -36px 0;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #F2F4F7;
  position: relative;
}
.case__media img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  display: block;
  transform: scale(1.02);
  transition: transform .9s var(--ease), filter .6s var(--ease);
  filter: saturate(1.05);
}
.case:hover .case__media img {
  transform: scale(1.08);
}
.case__media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11,37,64,0) 60%, rgba(11,37,64,0.15) 100%);
  pointer-events: none;
}
.case__chip {
  align-self: flex-start;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase;
  border: 1px solid var(--border);
  background: var(--bg-3);
  color: var(--ink-2);
}
.case h3 {
  font-family: var(--f-display);
  font-size: clamp(22px, 2.4vw, 30px); font-weight: 500;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--dark);
}
.case p { color: var(--ink-3); margin: 0; }
.case__stats {
  margin-top: auto; padding-top: 16px;
  display: flex; gap: 32px; border-top: 1px solid var(--border);
}
.case__stats > div { display: flex; flex-direction: column; gap: 2px; }
.case__stats span {
  font-family: var(--f-display);
  font-size: 26px; font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--brand);
}
.case__stats small {
  font-size: 11px; color: var(--ink-3); text-transform: uppercase; letter-spacing: 0.1em;
}

/* ============================================================
   Process
   ============================================================ */
.process__steps {
  list-style: none; padding: 0; margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  position: relative;
}
.step {
  position: relative;
  padding: 32px;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--border);
  display: flex; flex-direction: column; gap: 14px;
  min-height: 320px;
  transition: transform .4s var(--ease), border-color .4s var(--ease), box-shadow .4s var(--ease);
}
.step:hover { transform: translateY(-3px); border-color: var(--dark); box-shadow: var(--shadow); }

.step__num {
  font-family: var(--f-display);
  font-size: 13px; font-weight: 600;
  color: var(--brand);
  letter-spacing: 0.05em;
  display: inline-flex; align-items: center; gap: 8px;
}
.step__num::before {
  content: ""; width: 24px; height: 1.5px;
  background: var(--brand);
}
.step__line {
  position: absolute;
  top: 50px; right: -12px;
  width: 12px; height: 1.5px;
  background: var(--border-strong);
}
.step h3 {
  font-family: var(--f-display);
  font-size: 26px; font-weight: 500;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--dark);
}
.step p { color: var(--ink-3); margin: 0; }
.step__bullets {
  list-style: none; padding: 0; margin: auto 0 0;
  display: flex; flex-direction: column; gap: 10px;
  padding-top: 16px; border-top: 1px solid var(--border);
}
.step__bullets li {
  font-size: 14px; color: var(--ink);
  padding-left: 22px; position: relative;
}
.step__bullets li::before {
  content: ""; position: absolute; left: 0; top: 7px;
  width: 11px; height: 6px;
  border-left: 1.8px solid var(--brand);
  border-bottom: 1.8px solid var(--brand);
  transform: rotate(-45deg);
}

/* ============================================================
   Compare
   ============================================================ */
.compare__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.compare__card {
  padding: 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: #fff;
  position: relative; overflow: hidden;
}
.compare__card--us {
  background: var(--dark);
  color: #fff;
  border-color: var(--dark);
  box-shadow: var(--shadow);
}
.compare__card--us::after {
  content: "RECOMENDADO";
  position: absolute; top: 22px; right: -44px;
  padding: 4px 52px;
  background: var(--brand); color: #fff;
  font-size: 10px; font-weight: 600; letter-spacing: 0.15em;
  transform: rotate(45deg);
  font-family: var(--f-display);
}
.compare__head {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--f-display);
  font-size: 22px; font-weight: 500;
  letter-spacing: -0.02em;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 22px;
  color: var(--dark);
}
.compare__card--us .compare__head {
  color: #fff;
  border-bottom-color: rgba(255,255,255,0.14);
}
.compare__card--us .brand__mark { background: #fff; color: var(--dark); }

.compare__head-x {
  width: 30px; height: 30px; border-radius: 8px;
  background: var(--bg-2); color: var(--ink-3);
  border: 1px solid var(--border);
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 400; font-size: 17px;
}
.compare__list {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 14px;
}
.compare__list li {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 15px;
  color: var(--ink);
}
.compare__card--us .compare__list li { color: rgba(255,255,255,0.85); }
.compare__list svg {
  width: 22px; height: 22px; flex-shrink: 0;
  padding: 3px;
  border-radius: 8px;
  background: var(--brand-soft);
  color: var(--brand);
}
.compare__card--us .compare__list svg {
  background: rgba(0, 153, 255, 0.2);
  color: var(--brand);
}
.compare__list--them li { color: var(--ink-3); }
.compare__list--them svg {
  background: var(--bg-2);
  color: var(--ink-3);
}

/* ============================================================
   About
   ============================================================ */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 5vw, 80px);
  align-items: center;
}
.about__text p {
  margin: 18px 0 0;
  color: var(--ink-3);
  max-width: 52ch;
}
.about__badges {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 30px;
  max-width: 440px;
}
.badge {
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #fff;
  display: flex; flex-direction: column; gap: 2px;
  transition: border-color .3s var(--ease), transform .3s var(--ease);
}
.badge:hover { border-color: var(--dark); transform: translateY(-2px); }
.badge strong {
  font-family: var(--f-display);
  font-size: 16px; font-weight: 500;
  color: var(--dark);
  letter-spacing: -0.01em;
}
.badge span { font-size: 12px; color: var(--ink-3); text-transform: uppercase; letter-spacing: 0.06em; }

.about__visual {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  min-height: 380px;
}
.about__card {
  position: relative;
  width: 100%;
  padding: 24px;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.about__card-head {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 12px; color: var(--ink-3);
  text-transform: uppercase; letter-spacing: 0.1em;
  margin-bottom: 16px;
}
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); animation: pulse 2s infinite; }
.about__chart svg { width: 100%; height: 150px; }
.chart-line {
  stroke-dasharray: 1000; stroke-dashoffset: 1000;
}
.is-in .chart-line { animation: dash 2.2s var(--ease-out) forwards; }
@keyframes dash { to { stroke-dashoffset: 0; } }
.chart-area { opacity: 0; transition: opacity 1.5s var(--ease-out) .8s; }
.is-in .chart-area { opacity: 1; }
.about__kpis {
  margin-top: 18px; padding-top: 18px;
  border-top: 1px solid var(--border);
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
}
.about__kpis > div { display: flex; flex-direction: column; gap: 3px; }
.k-val {
  font-family: var(--f-display); font-size: 22px; font-weight: 500;
  letter-spacing: -0.02em; color: var(--dark);
}
.k-lbl { font-size: 11px; color: var(--ink-3); text-transform: uppercase; letter-spacing: 0.08em; }

.about__facts {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column;
}
.about__facts li {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 14px 0; border-bottom: 1px solid var(--border); gap: 16px;
}
.about__facts li:last-child { border-bottom: 0; }
.fact__k {
  font-size: 11px; color: var(--ink-3); text-transform: uppercase;
  letter-spacing: 0.1em; flex-shrink: 0;
}
.fact__v {
  font-family: var(--f-display); font-size: 15px; font-weight: 500;
  letter-spacing: -0.01em; color: var(--dark); text-align: right;
}

/* ============================================================
   Timeline
   ============================================================ */
.timeline__list {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column; gap: 0;
  position: relative;
}
.timeline__list::before {
  content: ""; position: absolute;
  left: 96px; top: 8px; bottom: 8px; width: 1px;
  background: linear-gradient(180deg, var(--border) 0%, var(--border) 80%, transparent 100%);
}
.timeline__item {
  display: grid; grid-template-columns: 96px 1fr; gap: 40px;
  padding: 28px 0; position: relative;
  border-bottom: 1px solid var(--border);
}
.timeline__item:last-child { border-bottom: 0; }
.timeline__item::before {
  content: ""; position: absolute;
  left: 92px; top: 40px; width: 9px; height: 9px;
  border-radius: 50%; background: var(--accent);
  box-shadow: 0 0 0 4px var(--bg);
}
.timeline__year {
  font-family: var(--f-display); font-size: 28px; font-weight: 500;
  letter-spacing: -0.02em; color: var(--dark); line-height: 1;
  padding-top: 6px;
}
.timeline__body h3 {
  font-family: var(--f-display); font-size: 22px; font-weight: 500;
  letter-spacing: -0.015em; margin: 0 0 8px; color: var(--dark);
}
.timeline__body p {
  margin: 0; color: var(--ink-2); max-width: 56ch; line-height: 1.55;
}
@media (max-width: 700px) {
  .timeline__list::before { left: 6px; }
  .timeline__item { grid-template-columns: 1fr; gap: 10px; padding-left: 28px; }
  .timeline__item::before { left: 2px; top: 36px; }
  .timeline__year { font-size: 22px; padding-top: 0; }
}

/* ============================================================
   Reviews
   ============================================================ */
.reviews { max-width: none; padding-inline: 0; background: var(--bg-2); }
.reviews .section__head {
  padding-inline: var(--gutter);
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin-inline: auto;
}
.reviews__track-wrap {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  padding-block: 8px 4px;
}
.reviews__track {
  display: inline-flex; gap: 16px;
  animation: reviewsScroll 70s linear infinite;
}
.reviews__track:hover { animation-play-state: paused; }
@keyframes reviewsScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.review {
  flex: 0 0 360px;
  padding: 28px;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--border);
  display: flex; flex-direction: column; gap: 14px;
  margin: 0;
}
.review__stars {
  color: #FFB547;
  font-size: 15px; letter-spacing: 2px;
}
.review blockquote {
  margin: 0;
  font-family: var(--f-display);
  font-size: 16px; font-weight: 400; line-height: 1.55;
  letter-spacing: -0.005em;
  color: var(--dark);
}
.review figcaption { display: flex; flex-direction: column; gap: 2px; margin-top: auto; }
.review strong { font-weight: 500; color: var(--dark); font-size: 14px; }
.review span { font-size: 12px; color: var(--ink-3); }

/* ============================================================
   FAQ
   ============================================================ */
.faq__list {
  max-width: 900px;
  margin: 0 auto;
}
.faq__item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 10px;
  background: #fff;
  overflow: hidden;
  transition: border-color .3s var(--ease);
}
.faq__item[open] {
  border-color: var(--dark);
}
.faq__item summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 26px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
  font-family: var(--f-display);
  font-size: clamp(17px, 1.7vw, 19px); font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--dark);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__icon {
  position: relative;
  width: 22px; height: 22px;
  border-radius: 50%;
  border: 1.5px solid var(--border-strong);
  flex-shrink: 0;
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
.faq__icon::before,
.faq__icon::after {
  content: ""; position: absolute; left: 50%; top: 50%;
  width: 10px; height: 1.5px; background: var(--dark);
  transform: translate(-50%, -50%);
  transition: transform .3s var(--ease), background .3s var(--ease);
}
.faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq__item[open] .faq__icon {
  background: var(--dark); border-color: var(--dark);
}
.faq__item[open] .faq__icon::before,
.faq__item[open] .faq__icon::after { background: #fff; }
.faq__item[open] .faq__icon::after { transform: translate(-50%, -50%) rotate(0); }

.faq__body {
  padding: 0 26px 22px;
  color: var(--ink-3);
  max-width: 62ch;
}
.faq__body p { margin: 0; font-size: 15px; line-height: 1.55; }

/* ============================================================
   CTA
   ============================================================ */
.cta { padding-inline: var(--gutter); }
.cta__inner {
  position: relative;
  padding: clamp(48px, 6vw, 88px);
  border-radius: var(--radius-xl);
  background: var(--deep-gradient);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.cta__bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.cta__glow {
  position: absolute; border-radius: 50%;
  filter: blur(100px); opacity: .5;
}
.cta__glow--1 {
  width: 540px; height: 540px;
  background: var(--brand);
  top: -200px; left: -100px;
}
.cta__glow--2 {
  width: 420px; height: 420px;
  background: var(--green);
  bottom: -200px; right: -80px;
  opacity: .25;
}
.cta__content { position: relative; max-width: 920px; }
.cta .eyebrow {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.14);
  color: rgba(255,255,255,0.7);
}
.cta__title {
  font-family: var(--f-display);
  font-size: clamp(38px, 6vw, 72px);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.035em;
  margin: 12px 0 0;
  color: #fff;
}
.cta__title em {
  font-style: italic;
  color: var(--brand);
  font-weight: 500;
}
.cta__sub {
  margin-top: 18px;
  font-size: clamp(16px, 1.4vw, 19px);
  color: rgba(255,255,255,0.75);
  max-width: 560px;
}
.cta__form {
  margin-top: 36px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  max-width: 720px;
  position: relative;
}
.cta__form label { display: flex; flex-direction: column; gap: 6px; }
.cta__form label.full { grid-column: 1 / -1; }
.cta__form span {
  font-size: 12px; color: rgba(255,255,255,0.5);
  text-transform: uppercase; letter-spacing: 0.08em;
}
.cta__form input,
.cta__form textarea {
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 14px;
  padding: 14px 16px;
  color: #fff;
  font-family: inherit; font-size: 15px;
  transition: border-color .25s var(--ease), background .25s var(--ease);
  resize: vertical;
}
.cta__form input::placeholder,
.cta__form textarea::placeholder { color: rgba(255,255,255,0.35); }
.cta__form input:focus,
.cta__form textarea:focus {
  outline: none;
  border-color: var(--brand);
  background: rgba(0,153,255,0.06);
}
.cta__form .btn {
  grid-column: 1 / -1;
  justify-content: center;
  margin-top: 8px;
  background: var(--brand);
  color: #fff;
}
.cta__form .btn:hover {
  background: #fff; color: var(--dark);
  box-shadow: 0 10px 30px -10px rgba(255,255,255,0.3);
}
.btn__sent, .btn__sending, .btn__error { display: none; }

/* GHL form states --------------------------------------------------------- */
.cta__form.is-sent .btn__label,
.cta__form.is-sent .btn__sending,
.cta__form.is-sent .btn__error { display: none; }
.cta__form.is-sent .btn__sent { display: inline; }
.cta__form.is-sent button svg { display: none; }

.cta__form.is-sending .btn__label,
.cta__form.is-sending .btn__sent,
.cta__form.is-sending .btn__error { display: none; }
.cta__form.is-sending .btn__sending { display: inline; }
.cta__form.is-sending button { cursor: wait; opacity: .85; }
.cta__form.is-sending button svg { animation: spin 1s linear infinite; }

.cta__form.is-error .btn__label,
.cta__form.is-error .btn__sending,
.cta__form.is-error .btn__sent { display: none; }
.cta__form.is-error .btn__error { display: inline; }
.cta__form.is-error button { background: #c0392b; border-color: #c0392b; color: #fff; }

.newsletter-section__form.is-sending .btn__label,
.newsletter-section__form.is-sending .btn__sent,
.newsletter-section__form.is-sending .btn__error { display: none; }
.newsletter-section__form.is-sending .btn__sending { display: inline; }
.newsletter-section__form.is-error .btn__label,
.newsletter-section__form.is-error .btn__sending,
.newsletter-section__form.is-error .btn__sent { display: none; }
.newsletter-section__form.is-error .btn__error { display: inline; }

@keyframes spin { to { transform: rotate(360deg); } }

.cta__quick {
  margin-top: 40px; padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.12);
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.cta__quick-item { display: flex; flex-direction: column; gap: 4px; }
.cta__quick-lbl { font-size: 11px; color: rgba(255,255,255,0.5); text-transform: uppercase; letter-spacing: 0.12em; }
.cta__quick-val {
  font-family: var(--f-display);
  font-size: 17px; font-weight: 500;
  color: #fff;
}
a.cta__quick-item:hover .cta__quick-val { color: var(--brand); }

/* ============================================================
   Footer
   ============================================================ */
.footer {
  width: 100%;
  padding: clamp(60px, 7vw, 100px) var(--gutter) 32px;
  position: relative;
}
.footer__grid,
.footer__bottom {
  max-width: var(--container);
  margin-inline: auto;
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
  padding: 40px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.footer__tag { color: var(--ink-3); margin: 16px 0 0; max-width: 32ch; }
.footer h4 {
  font-size: 12px; color: var(--ink-3); margin: 0 0 14px;
  text-transform: uppercase; letter-spacing: 0.1em; font-weight: 600;
}
.footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.footer li { font-size: 14px; color: var(--ink-2); }
.footer li a:hover { color: var(--brand); }
.footer__bottom {
  padding-top: 24px;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  color: var(--ink-3);
  font-size: 13px;
}

/* ============================================================
   Page Head (interior pages)
   ============================================================ */
.pagehead {
  position: relative;
  padding: clamp(64px, 7vw, 108px) var(--gutter) clamp(32px, 4vw, 56px);
  max-width: var(--container);
  margin: 0 auto;
  overflow: visible;
}
.pagehead::before {
  content: "";
  position: absolute;
  left: 50%; top: 30%;
  transform: translate(-50%, -50%);
  width: clamp(720px, 90vw, 1400px);
  height: clamp(720px, 90vw, 1400px);
  background:
    radial-gradient(circle, rgba(0,153,255,0.22) 0%, rgba(0,153,255,0.08) 30%, transparent 65%);
  filter: blur(100px);
  z-index: -1;
  pointer-events: none;
  opacity: 0.85;
}
.pagehead__inner {
  position: relative;
  max-width: 860px;
  margin-inline: auto;
  text-align: center;
}
.pagehead__inner .eyebrow,
.pagehead__inner .crumbs { margin-left: auto; margin-right: auto; }
.pagehead__lede { margin-left: auto; margin-right: auto; }
.crumbs {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px;
  color: var(--ink-3);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 22px;
}
.crumbs a {
  color: var(--ink-3);
  transition: color .2s var(--ease);
}
.crumbs a:hover { color: var(--dark); }
.crumbs span[aria-current="page"] { color: var(--dark); }
.crumbs__sep {
  width: 14px; height: 1px; background: var(--border-strong);
  display: inline-block;
}
.pagehead__title {
  font-family: var(--f-display);
  font-size: clamp(44px, 8vw, 96px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.04em;
  margin: 0;
  color: var(--dark);
}
.pagehead__title em {
  font-style: italic;
  color: var(--brand);
  font-weight: 500;
}
.pagehead__lede {
  margin-top: clamp(20px, 3vw, 32px);
  font-size: clamp(17px, 1.6vw, 21px);
  line-height: 1.45;
  color: var(--ink-3);
  max-width: 640px;
}
.pagehead__meta {
  margin-top: clamp(32px, 4vw, 48px);
  display: flex; flex-wrap: wrap; gap: 28px 48px;
  border-top: 1px solid var(--border);
  padding-top: 24px;
}
.pagehead__meta > div { display: flex; flex-direction: column; gap: 4px; }
.pagehead__meta dt {
  font-size: 11px; color: var(--ink-3);
  text-transform: uppercase; letter-spacing: 0.12em;
  margin: 0;
}
.pagehead__meta dd {
  font-family: var(--f-display);
  font-size: 18px; font-weight: 500;
  color: var(--dark);
  letter-spacing: -0.01em;
  margin: 0;
}

/* ============================================================
   Values (sobre page)
   ============================================================ */
.values__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.value {
  position: relative;
  padding: 28px 26px 30px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: #fff;
  min-height: 240px;
  display: flex; flex-direction: column;
  transition: border-color .35s var(--ease), transform .35s var(--ease), box-shadow .35s var(--ease);
  overflow: hidden;
  isolation: isolate;
}
.value::before {
  content: "";
  position: absolute;
  inset: auto -40% -60% auto;
  width: 260px; height: 260px;
  background: radial-gradient(closest-side, rgba(0,153,255,0.16), transparent 70%);
  z-index: -1;
  opacity: 0;
  transition: opacity .45s var(--ease);
}
.value:hover {
  transform: translateY(-4px);
  border-color: var(--dark);
  box-shadow: var(--shadow);
}
.value:hover::before { opacity: 1; }
.value__n {
  font-family: var(--f-display);
  font-size: 13px; font-weight: 500;
  color: var(--brand);
  letter-spacing: 0.14em;
  margin-bottom: 22px;
}
.value h3 {
  font-family: var(--f-display);
  font-size: clamp(22px, 2.2vw, 26px);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--dark);
  margin: 0 0 10px;
}
.value p {
  margin: 0;
  color: var(--ink-3);
  font-size: 15px;
  line-height: 1.55;
}

/* ============================================================
   Statement (institutional paragraph) — light surface with soft glow
   ============================================================ */
.statement {
  background: transparent;
  color: var(--ink);
  max-width: none;
  padding-inline: var(--gutter);
  position: relative;
  overflow: visible;
}
.statement::before {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: clamp(800px, 95vw, 1500px);
  height: clamp(800px, 95vw, 1500px);
  background:
    radial-gradient(circle, rgba(0, 153, 255, 0.28) 0%, rgba(0, 153, 255, 0.12) 28%, rgba(0, 153, 255, 0.04) 50%, transparent 70%);
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.95;
}
.statement__inner {
  position: relative;
  z-index: 1;
  max-width: var(--container);
  margin: 0 auto;
  text-align: center;
}
.statement .eyebrow {
  background: #fff;
  border-color: var(--border);
  color: var(--ink-3);
}
.statement .eyebrow span:first-child { color: var(--brand); }
.statement__text {
  font-family: var(--f-display);
  font-size: clamp(24px, 3.2vw, 42px);
  font-weight: 600;
  line-height: 1.22;
  letter-spacing: -0.025em;
  margin: 20px auto 44px;
  color: var(--dark);
  max-width: 44ch;
}
.statement__text em {
  font-style: normal;
  color: var(--brand);
  font-weight: 600;
}
.statement__meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  max-width: 760px;
  margin: 0 auto;
  text-align: left;
}
.statement__meta-item { display: flex; flex-direction: column; gap: 6px; }
.statement__meta-k {
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-3);
}
.statement__meta-v {
  font-family: var(--f-display);
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--dark);
}
@media (max-width: 800px) {
  .statement__text { max-width: 100%; }
  .statement__meta { grid-template-columns: 1fr; gap: 20px; }
}

/* ============================================================
   Home gallery (3-up teaser)
   ============================================================ */
.home-gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 40px;
}
.home-gallery__item {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  aspect-ratio: 4/3;
  background: var(--bg-2);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.home-gallery__item:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.home-gallery__item img {
  display: block; width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .8s var(--ease);
}
.home-gallery__item:hover img { transform: scale(1.04); }
@media (max-width: 900px) { .home-gallery__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .home-gallery__grid { grid-template-columns: 1fr; } }

/* ============================================================
   Gallery (trabalhos)
   ============================================================ */
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: auto;
  gap: 16px;
}
.gallery__item {
  grid-column: span 1;
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-2);
  border: 1px solid var(--border);
  isolation: isolate;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.gallery__item--wide { grid-column: span 2; }
.gallery__item:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.gallery__item img {
  display: block; width: 100%; height: 380px;
  object-fit: cover; object-position: center;
  transition: transform .8s var(--ease);
}
.gallery__item:hover img { transform: scale(1.03); }
.gallery__item figcaption {
  position: absolute; inset: auto 0 0 0;
  padding: 22px 24px 20px;
  background: linear-gradient(180deg, transparent 0%, rgba(10,10,10,0.85) 75%);
  color: #fff;
}
.gallery__chip {
  display: inline-block;
  font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  font-weight: 500;
  padding: 4px 10px; border-radius: 999px;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(6px);
  margin-bottom: 10px;
  color: #fff;
}
.gallery__item figcaption h3 {
  font-family: var(--f-display);
  font-size: clamp(18px, 1.8vw, 22px); font-weight: 500;
  letter-spacing: -0.02em; line-height: 1.2;
  margin: 0 0 6px; color: #fff;
}
.gallery__item figcaption p {
  margin: 0; font-size: 14px; line-height: 1.5;
  color: rgba(255,255,255,0.82);
  max-width: 56ch;
}
@media (max-width: 900px) {
  .gallery__grid { grid-template-columns: 1fr 1fr; }
  .gallery__item--wide { grid-column: span 2; }
  .gallery__item img { height: 300px; }
}
@media (max-width: 600px) {
  .gallery__grid { grid-template-columns: 1fr; }
  .gallery__item, .gallery__item--wide { grid-column: span 1; }
  .gallery__item img { height: 260px; }
}

/* ============================================================
   Warehouse mosaic (trabalhos — tight rectangular grid)
   ============================================================ */
.warehouse-mosaic {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 300px;
  gap: 6px;
  margin-top: clamp(28px, 3.2vw, 40px);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.warehouse-cell {
  position: relative;
  margin: 0;
  overflow: hidden;
  grid-column: span 2;
  background: var(--bg-2);
  isolation: isolate;
  transition: transform .45s var(--ease);
}
.warehouse-cell--hero { grid-column: span 4; grid-row: span 1; }
.warehouse-cell img {
  display: block; width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  transition: transform .8s var(--ease);
}
.warehouse-cell:hover img { transform: scale(1.04); }
.warehouse-cell figcaption {
  position: absolute; inset: auto 0 0 0;
  padding: 18px 20px 16px;
  background: linear-gradient(180deg, transparent 0%, rgba(10,10,10,0.82) 85%);
  color: #fff;
}
.warehouse-cell .gallery__chip { margin-bottom: 8px; }
.warehouse-cell figcaption h3 {
  font-family: var(--f-display);
  font-size: clamp(15px, 1.3vw, 18px); font-weight: 500;
  letter-spacing: -0.01em; line-height: 1.25;
  margin: 0; color: #fff;
}
@media (max-width: 900px) {
  .warehouse-mosaic {
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 220px;
  }
  .warehouse-cell { grid-column: span 2; }
  .warehouse-cell--hero { grid-column: span 4; }
}
@media (max-width: 560px) {
  .warehouse-mosaic {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 180px;
    gap: 4px;
  }
  .warehouse-cell, .warehouse-cell--hero { grid-column: span 2; }
  .warehouse-cell--hero { grid-row: span 1; }
}

/* ============================================================
   Scope (activity cards)
   ============================================================ */
.scope__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.scope__card {
  position: relative;
  padding: 28px 26px 30px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: #fff;
  min-height: 220px;
  display: flex; flex-direction: column;
  transition: border-color .35s var(--ease), transform .35s var(--ease), box-shadow .35s var(--ease);
}
.scope__card:hover {
  transform: translateY(-4px);
  border-color: var(--dark);
  box-shadow: var(--shadow);
}
.scope__n {
  font-family: var(--f-display);
  font-size: 13px; font-weight: 500;
  color: var(--brand);
  letter-spacing: 0.14em;
  margin-bottom: 22px;
}
.scope__card h3 {
  font-family: var(--f-display);
  font-size: clamp(20px, 2vw, 24px); font-weight: 500;
  line-height: 1.2; letter-spacing: -0.02em;
  color: var(--dark); margin: 0 0 10px;
}
.scope__card p {
  margin: 0; color: var(--ink-3);
  font-size: 15px; line-height: 1.55;
}
@media (max-width: 1000px) { .scope__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .scope__grid { grid-template-columns: 1fr; } }

/* ============================================================
   Section foot ("Ver todos" links)
   ============================================================ */
.section__foot {
  margin-top: clamp(36px, 5vw, 56px);
  display: flex;
  justify-content: center;
}

/* ============================================================
   Contact page
   ============================================================ */
.contact { padding-bottom: clamp(32px, 5vw, 64px); }
.contact__grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) 1.15fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
.contact__info {
  display: flex; flex-direction: column; gap: 10px;
}
.contact__info h2 {
  font-family: var(--f-display);
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--dark);
  margin: 0 0 4px;
}
.contact__info > p {
  margin: 0 0 22px;
  color: var(--ink-3);
  max-width: 42ch;
}
.contact__channel {
  display: flex; align-items: center; gap: 16px;
  padding: 18px 20px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: #fff;
  color: var(--dark);
  transition: border-color .3s var(--ease), transform .3s var(--ease), background .3s var(--ease);
}
.contact__channel + .contact__channel { margin-top: 0; }
.contact__channel:hover {
  border-color: var(--dark);
  transform: translateY(-2px);
}
.contact__channel-ic {
  width: 42px; height: 42px; flex-shrink: 0;
  border-radius: 12px;
  background: var(--brand-soft);
  color: var(--brand);
  display: inline-flex; align-items: center; justify-content: center;
  transition: background .3s var(--ease), color .3s var(--ease);
}
.contact__channel-ic svg { width: 20px; height: 20px; }
.contact__channel:hover .contact__channel-ic {
  background: var(--brand);
  color: #fff;
}
.contact__channel-body {
  display: flex; flex-direction: column; gap: 2px; min-width: 0;
}
.contact__channel-lbl {
  font-size: 11px; color: var(--ink-3);
  text-transform: uppercase; letter-spacing: 0.1em;
}
.contact__channel-val {
  font-family: var(--f-display);
  font-size: 16px; font-weight: 500;
  color: var(--dark);
  letter-spacing: -0.005em;
  word-break: break-word;
}

.contact__form-wrap {
  position: relative;
  padding: clamp(28px, 4vw, 44px);
  border-radius: var(--radius-xl);
  background: var(--deep-gradient);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.contact__form-wrap::before {
  content: "";
  position: absolute;
  top: -160px; right: -120px;
  width: 440px; height: 440px;
  border-radius: 50%;
  background: var(--brand);
  filter: blur(120px);
  opacity: 0.55;
  z-index: -1;
}
.contact__form-wrap h3 {
  font-family: var(--f-display);
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 22px;
  color: #fff;
}
.contact__form-wrap .cta__form {
  margin-top: 0;
  max-width: none;
}
.contact__form-wrap .cta__form select {
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 14px;
  padding: 14px 16px;
  color: #fff;
  font-family: inherit; font-size: 15px;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='white' stroke-opacity='0.55' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
  background-size: 12px 8px;
  padding-right: 42px;
  transition: border-color .25s var(--ease), background-color .25s var(--ease);
}
.contact__form-wrap .cta__form select:focus {
  outline: none;
  border-color: var(--brand);
  background-color: rgba(0,153,255,0.06);
}
.contact__form-wrap .cta__form select option {
  background: var(--dark);
  color: #fff;
}
.contact__note {
  margin-top: 18px;
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.01em;
}
.contact__note a { color: rgba(255,255,255,0.8); text-decoration: underline; text-underline-offset: 3px; }
.contact__note a:hover { color: #fff; }

/* ============================================================
   Map (contact page)
   ============================================================ */
.map { padding-top: clamp(28px, 4vw, 56px); }
.map__head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
  flex-wrap: wrap;
}
.map__head h2 {
  font-family: var(--f-display);
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 500;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--dark);
}
.map__head p {
  margin: 0; color: var(--ink-3); font-size: 15px;
}
.map__wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  aspect-ratio: 16 / 7;
  background: var(--bg-2);
}
.map__wrap iframe {
  width: 100%; height: 100%;
  border: 0;
  filter: grayscale(0.15) contrast(0.98);
}
.map__pin {
  position: absolute;
  left: 50%; top: 50%;
  width: 24px; height: 24px;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.map__pin-dot {
  position: absolute; inset: 6px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 4px rgba(255,255,255,0.9), 0 6px 16px -4px rgba(0,153,255,0.65);
}
.map__pin-ring {
  position: absolute; inset: 0;
  border-radius: 50%;
  border: 2px solid var(--brand);
  opacity: 0;
  animation: pinPulse 2.4s var(--ease-out) infinite;
}
@keyframes pinPulse {
  0% { transform: scale(0.6); opacity: .9; }
  100% { transform: scale(2.4); opacity: 0; }
}

/* ============================================================
   CTA — centered variant (interior-page bottom CTAs)
   ============================================================ */
.cta__content--center {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.cta__content--center .cta__sub {
  margin-left: auto; margin-right: auto;
}
.cta__actions {
  margin-top: 32px;
  display: inline-flex; flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
.cta__content--center .cta__actions .btn--ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.22);
}
.cta__content--center .cta__actions .btn--ghost:hover {
  border-color: #fff;
  background: rgba(255,255,255,0.04);
}

/* ============================================================
   Page body hooks (interior pages don't render the home hero)
   ============================================================ */
.page--services .hero,
.page--work .hero,
.page--about .hero,
.page--faq .hero,
.page--contact .hero { display: none; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1100px) {
  :root { --header-h: 108px; }
  .header { justify-content: space-between; gap: 16px; }
  .brand__logo { height: 96px; }
  .nav { display: none; }
  .nav-toggle { display: flex; }
  .nav__cta { display: none; }

  .hero__grid { grid-template-columns: 1fr; gap: 48px; }
  .hero__visual { max-width: 520px; margin-inline: auto; aspect-ratio: 5/4; }

  .bigstat__inner { grid-template-columns: 1fr; gap: 36px; }
  .about__grid { grid-template-columns: 1fr; gap: 40px; }

  .contact__grid { grid-template-columns: 1fr; gap: 36px; }
  .values__grid { grid-template-columns: repeat(2, 1fr); }
  .process__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 880px) {
  .services__grid { grid-template-columns: 1fr 1fr; }
  .service--hero { grid-column: span 2; }
  .work__grid { grid-template-columns: 1fr; }
  .process__steps { grid-template-columns: 1fr; }
  .process__grid { grid-template-columns: 1fr; }
  .step__line { display: none; }
  .compare__grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .statement__text { font-size: clamp(22px, 4vw, 32px); max-width: 36ch; }
  .pagehead__title { font-size: clamp(40px, 7vw, 64px); }
}

@media (max-width: 640px) {
  :root { --header-h: 72px; }

  .header { padding: 10px 18px; gap: 10px; justify-content: space-between; }
  .brand__name { font-size: 17px; }
  .brand__logo { height: 118px; }
  .nav { display: none; }
  .nav__cta { padding: 10px 16px; font-size: 14px; }
  .header .brand__logo { animation: none; }

  .btn { padding: 14px 22px; font-size: 14px; }
  .btn--lg { padding: 16px 28px; font-size: 15px; }

  .section { padding: 48px 20px; }
  .section--dark { padding-block: 56px; }

  .hero__title { font-size: clamp(40px, 10vw, 60px); max-width: none; }
  .hero__visual {
    overflow: visible;
    aspect-ratio: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  .hero__photo {
    position: relative;
    inset: auto;
    aspect-ratio: 5/4;
    transform: rotate(0);
  }
  .hero__chip {
    position: static;
    min-width: 0;
    width: 100%;
    animation: none;
    transform: none !important;
  }
  .hero__chip--temp,
  .hero__chip--route { top: auto; left: auto; bottom: auto; right: auto; }
  .hero__meta { grid-template-columns: repeat(2, 1fr); gap: 22px; }

  .statement__text { font-size: clamp(22px, 5.4vw, 30px); max-width: 28ch; margin-bottom: 32px; }
  .statement__meta { grid-template-columns: 1fr; gap: 18px; padding-top: 24px; }

  .newsletter-section { padding: 56px 20px; margin-top: 32px; }
  .newsletter-section__form { flex-direction: column; }
  .newsletter-section__form input { width: 100%; }

  .services__grid { grid-template-columns: 1fr; gap: 12px; }
  .service--hero { grid-column: auto; }
  .service { min-height: 240px; padding: 24px; }

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

  .case { padding: 28px; min-height: 240px; }
  .case__stats { gap: 20px; }

  .step { padding: 24px; min-height: auto; }

  .compare__card { padding: 24px; }
  .compare__card--us::after { right: -56px; font-size: 9px; padding: 3px 58px; }

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

  .review { flex: 0 0 300px; padding: 22px; }

  .faq__item summary { padding: 18px 20px; gap: 16px; }
  .faq__body { padding: 0 20px 20px; }

  .cta__inner { padding: 40px 24px; border-radius: 24px; }
  .cta__form { grid-template-columns: 1fr; }
  .cta__quick { grid-template-columns: 1fr; gap: 16px; }

  .footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .footer__bottom { flex-direction: column; gap: 6px; }

  .announce { font-size: 11px; height: 32px; }

  .pagehead { padding-top: 72px; padding-bottom: 40px; }
  .pagehead__meta { gap: 20px 32px; }
  .values__grid { grid-template-columns: 1fr; }
  .value { min-height: 200px; padding: 24px; }
  .contact__form-wrap { padding: 28px 22px; border-radius: var(--radius-lg); }
  .contact__channel { padding: 14px 16px; }
  .map__wrap { aspect-ratio: 4 / 3; }
  .map__head { flex-direction: column; align-items: flex-start; gap: 8px; }
}

@media (max-width: 420px) {
  .hero__title { font-size: 42px; }
  .section__title { font-size: 32px; }
  .cta__title { font-size: 36px; }
  .hero__meta-num { font-size: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  .announce__track, .logos__track, .reviews__track,
  .hero__chip, .cta__glow, .chart-line { animation: none !important; }
  [data-reveal] { opacity: 1; transform: none; }
  [data-split] .split-word { transform: none; }
}

/* ============================================================
   Careers — perks grid + application extras
   ============================================================ */
.perks__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.perk {
  position: relative;
  padding: 32px;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--border);
  display: flex; flex-direction: column; gap: 12px;
  min-height: 240px;
  transition: transform .4s var(--ease), border-color .4s var(--ease), box-shadow .4s var(--ease);
}
.perk:hover {
  transform: translateY(-3px);
  border-color: var(--brand);
  box-shadow: var(--shadow-blue-soft);
}
.perk__n {
  font-family: var(--f-display);
  font-size: 13px; font-weight: 600;
  color: var(--brand);
  letter-spacing: 0.05em;
  display: inline-flex; align-items: center; gap: 8px;
}
.perk__n::before {
  content: ""; width: 24px; height: 1.5px;
  background: var(--brand);
}
.perk h3 {
  font-family: var(--f-display);
  font-size: 20px; font-weight: 500;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--ink);
}
.perk p {
  color: var(--ink-3);
  font-size: 14px;
  line-height: 1.55;
  margin: 0;
}

/* ============================================================
   Commit — servicos commitment grid
   ============================================================ */
.commit__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: clamp(32px, 4vw, 48px);
}
.commit__item {
  position: relative;
  padding: 32px;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--border);
  display: flex; flex-direction: column; gap: 14px;
  min-height: 240px;
  transition: transform .4s var(--ease), border-color .4s var(--ease), box-shadow .4s var(--ease);
}
.commit__item:hover {
  transform: translateY(-3px);
  border-color: var(--brand);
  box-shadow: var(--shadow-blue-soft);
}
.commit__icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--brand-soft);
  color: var(--brand);
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.commit__icon svg { width: 22px; height: 22px; }
.commit__item h3 {
  font-family: var(--f-display);
  font-size: 20px; font-weight: 500;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--ink);
}
.commit__item p {
  color: var(--ink-3);
  font-size: 14px;
  line-height: 1.55;
  margin: 0;
}
@media (max-width: 1000px) {
  .commit__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .commit__grid { grid-template-columns: 1fr; }
  .commit__item { min-height: auto; padding: 24px; }
}

/* File upload field (on dark form bg) */
.cta__form .file-field {
  gap: 8px;
}
.cta__form input[type="file"] {
  padding: 10px 12px;
  background: rgba(255,255,255,0.04);
  border: 1px dashed rgba(255,255,255,0.24);
  border-radius: 14px;
  color: rgba(255,255,255,0.75);
  font-family: inherit; font-size: 14px;
  cursor: pointer;
  transition: border-color .25s var(--ease), background .25s var(--ease);
}
.cta__form input[type="file"]:hover {
  border-color: var(--brand);
  background: rgba(0,153,255,0.08);
}
.cta__form input[type="file"]::file-selector-button {
  margin-right: 10px;
  padding: 6px 12px;
  border: 0;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-weight: 500; font-size: 13px;
  cursor: pointer;
  transition: background .2s var(--ease);
}
.cta__form input[type="file"]::file-selector-button:hover {
  background: var(--brand-deep);
}

/* Consent checkbox row */
.cta__form .consent {
  flex-direction: row;
  align-items: flex-start;
  gap: 10px;
}
.cta__form .consent input[type="checkbox"] {
  width: 18px; height: 18px;
  margin-top: 2px;
  accent-color: var(--brand);
  cursor: pointer;
  flex-shrink: 0;
}
.consent__txt {
  font-size: 12px !important;
  color: rgba(255,255,255,0.65) !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  line-height: 1.5;
}

/* ============================================================
   Newsletter — standalone section (before footer)
   ============================================================ */
.newsletter-section {
  padding: clamp(64px, 8vw, 110px) var(--gutter);
  background:
    linear-gradient(180deg, #F7FBFF 0%, #EAF2FC 100%);
  position: relative;
  overflow: hidden;
  margin-top: clamp(40px, 6vw, 80px);
}
.newsletter-section::before {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: clamp(600px, 70vw, 1000px);
  height: clamp(600px, 70vw, 1000px);
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(0, 153, 255, 0.22) 0%, rgba(42, 109, 252, 0.08) 40%, transparent 70%);
  filter: blur(100px);
  pointer-events: none;
  z-index: 0;
}
.newsletter-section__inner {
  position: relative;
  z-index: 1;
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}
.newsletter-section .eyebrow {
  margin: 0 auto 22px;
  display: inline-flex;
}
.newsletter-section h2 {
  font-family: var(--f-display);
  font-size: clamp(30px, 4.4vw, 48px);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.08;
  color: var(--dark);
  margin: 0 0 16px;
}
.newsletter-section h2 em {
  font-style: italic;
  color: var(--brand);
  font-weight: 500;
}
.newsletter-section__sub {
  color: var(--ink-3);
  font-size: clamp(15px, 1.3vw, 17px);
  line-height: 1.5;
  max-width: 520px;
  margin: 0 auto 32px;
}
.newsletter-section__form {
  display: flex;
  gap: 10px;
  max-width: 520px;
  margin: 0 auto;
}
.newsletter-section__form label { flex: 1; display: block; }
.newsletter-section__form input[type="email"] {
  width: 100%;
  padding: 15px 20px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  background: #fff;
  font-family: inherit; font-size: 15px;
  color: var(--ink);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.newsletter-section__form input[type="email"]:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(0,153,255,0.14);
}
.newsletter-section__form input[type="email"]::placeholder { color: var(--ink-3); }
.newsletter-section__form .btn { padding: 15px 24px; }
.newsletter-section__form.is-sent .btn__label { display: none; }
.newsletter-section__form.is-sent .btn__sent { display: inline; }
.newsletter-section__form.is-sent .btn svg { display: none; }
.newsletter-section__note {
  margin-top: 18px;
  font-size: 12px;
  color: var(--ink-3);
}
@media (max-width: 640px) {
  .newsletter-section__form { flex-direction: column; }
  .newsletter-section__form .btn { justify-content: center; }
}

/* ============================================================
   Process (Como funciona) — 3-step home section
   ============================================================ */
/* ---------- Process: timeline with alternating media ---------- */
.process__head {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  max-width: 820px;
  margin: 0 auto clamp(48px, 6vw, 80px);
}
.process__head .eyebrow--center {
  margin: 0;
}
.process__title {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(30px, 3.6vw, 48px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--dark);
  margin: 0;
}
.process__title em {
  font-style: italic;
  font-weight: 400;
  color: var(--ink-2);
}
.process__head .btn { margin-top: 4px; }

.process__timeline {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: 1040px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: clamp(48px, 7vw, 96px);
}
.process__timeline::before {
  content: "";
  position: absolute;
  top: 48px;
  bottom: 48px;
  left: 50%;
  width: 1px;
  background: var(--border-strong);
  transform: translateX(-.5px);
  z-index: 0;
}

.process__step {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 56px 1fr;
  align-items: center;
  gap: clamp(24px, 3vw, 48px);
  z-index: 1;
}
.process__step--reverse .process__media { order: 3; grid-column: 3; }
.process__step--reverse .process__body  { grid-column: 1; text-align: right; }
.process__step--reverse .process__body .process__more { justify-content: flex-end; }

.process__media {
  grid-column: 1;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--bg-2);
}
.process__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .8s var(--ease);
}
.process__step:hover .process__media img { transform: scale(1.04); }

.process__marker {
  grid-column: 2;
  justify-self: center;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--dark);
  color: var(--bg);
  display: grid;
  place-items: center;
  font-family: var(--f-display);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.04em;
  box-shadow: 0 0 0 8px var(--bg);
  position: relative;
  z-index: 2;
}

.process__body {
  grid-column: 3;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.process__body h3 {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--dark);
  margin: 0;
}
.process__body p {
  color: var(--ink-3);
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
  max-width: 44ch;
}
.process__step--reverse .process__body p { margin-left: auto; }
.process__more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--f-display);
  font-size: 14px;
  font-weight: 500;
  color: var(--dark);
  text-decoration: none;
  padding-top: 4px;
  transition: color .25s var(--ease), gap .25s var(--ease);
  align-self: flex-start;
}
.process__step--reverse .process__more { align-self: flex-end; }
.process__more:hover { color: var(--brand); gap: 10px; }

@media (max-width: 820px) {
  .process__timeline::before {
    left: 28px;
  }
  .process__step,
  .process__step--reverse {
    grid-template-columns: 56px 1fr;
    gap: 20px;
  }
  .process__step .process__media,
  .process__step--reverse .process__media {
    grid-column: 2;
    grid-row: 1;
    order: initial;
    aspect-ratio: 16 / 10;
  }
  .process__step .process__marker,
  .process__step--reverse .process__marker {
    grid-column: 1;
    grid-row: 1 / span 2;
    align-self: start;
    margin-top: 8px;
  }
  .process__step .process__body,
  .process__step--reverse .process__body {
    grid-column: 2;
    grid-row: 2;
    text-align: left;
  }
  .process__step--reverse .process__body p { margin-left: 0; }
  .process__step--reverse .process__more,
  .process__more { align-self: flex-start; justify-content: flex-start; }
}

/* Dark mode adjustments */
html[data-theme="dark"] .process__marker {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 0 0 8px var(--bg);
}
html[data-theme="dark"] .process__title em { color: var(--ink-2); }
html[data-theme="dark"] .process__more { color: var(--ink); }
html[data-theme="dark"] .process__more:hover { color: var(--brand); }

/* ============================================================
   Alcanca credit + utilities
   ============================================================ */
.footer__credit {
  color: var(--ink-3);
  font-size: 13px;
  transition: color .2s var(--ease);
}
.footer__credit strong {
  color: var(--brand);
  font-weight: 600;
  transition: color .2s var(--ease);
}
.footer__credit:hover {
  color: var(--ink-2);
}
.footer__credit:hover strong {
  color: var(--brand-deep);
}

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Tablet + mobile adjustments for careers/newsletter */
@media (max-width: 1080px) {
  .perks__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .perks__grid { grid-template-columns: 1fr; }
  .newsletter {
    grid-template-columns: 1fr;
    padding: 22px;
    gap: 14px;
  }
  .newsletter__form { flex-direction: column; }
  .newsletter__form .btn { justify-content: center; }
}

/* ============================================================
   Legal pages (Política de Privacidade, Termos e Condições)
   ============================================================ */
.page--legal .pagehead { padding-bottom: clamp(24px, 4vw, 48px); }
.legal__meta {
  margin-top: 10px;
  font-size: 13px;
  color: var(--ink-3);
  letter-spacing: 0.02em;
}
.legal { padding-top: 0; }
.legal__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: clamp(32px, 4vw, 64px);
  align-items: start;
}
.legal__content {
  font-family: var(--f-body);
  color: var(--ink);
  line-height: 1.75;
  font-size: 16px;
  max-width: 72ch;
}
.legal__content h2 {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(22px, 2.2vw, 28px);
  letter-spacing: -0.015em;
  color: var(--dark);
  margin: 44px 0 12px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}
.legal__content h2:first-child {
  border-top: 0;
  padding-top: 0;
  margin-top: 0;
}
.legal__content p { margin: 0 0 14px; color: var(--ink-2); }
.legal__content p em { font-style: italic; }
.legal__content strong { color: var(--dark); font-weight: 600; }
.legal__content ul,
.legal__content ol {
  margin: 0 0 20px;
  padding-left: 22px;
  color: var(--ink-2);
}
.legal__content li { margin-bottom: 8px; }
.legal__content a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.legal__content a:hover { color: var(--brand-deep); }
.legal__facts {
  list-style: none;
  padding: 20px 24px;
  margin: 0 0 20px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--brand-soft);
}
.legal__facts li {
  padding: 4px 0;
  font-size: 15px;
  color: var(--dark);
}
html[data-theme="dark"] .legal__facts {
  background: rgba(0,153,255,0.08);
  border-color: rgba(0,153,255,0.18);
}
html[data-theme="dark"] .legal__facts li { color: var(--ink); }

.legal__aside {
  position: sticky;
  top: calc(var(--header-h) + 28px);
  display: flex; flex-direction: column; gap: 16px;
}
.legal__card {
  padding: 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.legal__card h3 {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 18px;
  color: var(--dark);
  margin: 0 0 12px;
}
.legal__card p { font-size: 14px; color: var(--ink-2); margin: 0 0 14px; }
.legal__card ul,
.legal__card ol {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
  font-size: 14px;
  counter-reset: toc;
}
.legal__card ol li { counter-increment: toc; padding-left: 26px; position: relative; }
.legal__card ol li::before {
  content: counter(toc, decimal-leading-zero);
  position: absolute; left: 0;
  font-family: var(--f-body);
  font-size: 11px; font-weight: 600;
  color: var(--brand);
  letter-spacing: 0.08em;
  top: 4px;
}
.legal__card li + li { margin-top: 6px; }
.legal__card a { color: var(--ink); text-decoration: none; transition: color .2s var(--ease); }
.legal__card a:hover { color: var(--brand); }
.btn--sm {
  padding: 10px 18px;
  font-size: 13px;
}

@media (max-width: 960px) {
  .legal__inner { grid-template-columns: 1fr; }
  .legal__aside { position: static; order: -1; flex-direction: row; flex-wrap: wrap; }
  .legal__card { flex: 1 1 260px; }
}

/* ============================================================
   Preloader
   ============================================================ */
html.is-loading,
html.is-loading body { overflow: hidden; }

.preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  background: var(--bg);
  transition: opacity .55s var(--ease), visibility .55s var(--ease), transform .6s var(--ease);
  will-change: opacity, transform;
}
.preloader::before,
.preloader::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  height: 50%;
  background: var(--bg);
  pointer-events: none;
  transition: transform .75s cubic-bezier(.76,0,.24,1);
}
.preloader::before { top: 0; }
.preloader::after  { bottom: 0; }
.preloader.is-done {
  pointer-events: none;
}
.preloader.is-done .preloader__stage {
  opacity: 0;
  transform: scale(.96);
  transition: opacity .35s var(--ease), transform .45s var(--ease);
}
.preloader.is-done::before { transform: translateY(-100%); }
.preloader.is-done::after  { transform: translateY(100%); }
.preloader.is-gone {
  opacity: 0;
  visibility: hidden;
}

.preloader__stage {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 36px;
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}

.preloader__halo {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 680px;
  height: 680px;
  max-width: 95vw;
  max-height: 95vw;
  transform: translate(-50%, -50%) translateY(-24px);
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(0,153,255,0.22), rgba(0,153,255,0) 70%);
  filter: blur(10px);
  z-index: -1;
  animation: pl-halo 3.2s ease-in-out infinite;
  pointer-events: none;
}

.preloader__logo-wrap {
  position: relative;
  width: 520px;
  max-width: 82vw;
  aspect-ratio: 1 / 1;
  opacity: 0;
  transform: translateY(14px) scale(.94);
  animation: pl-logo-in 1.2s cubic-bezier(.22,.61,.36,1) .15s forwards,
             pl-logo-breathe 3.4s ease-in-out 1.3s infinite;
  filter: drop-shadow(0 18px 48px rgba(0,153,255,0.28));
}

.preloader__logo,
.preloader__shine {
  position: absolute;
  inset: 0;
  -webkit-mask-image: url(assets/sergolog-logo.png);
          mask-image: url(assets/sergolog-logo.png);
  -webkit-mask-size: contain;
          mask-size: contain;
  -webkit-mask-position: center;
          mask-position: center;
  -webkit-mask-repeat: no-repeat;
          mask-repeat: no-repeat;
}

.preloader__logo {
  background-color: #0B2540;
}
[data-theme="dark"] .preloader__logo {
  background-color: #ffffff;
}

.preloader__shine {
  background: linear-gradient(105deg, transparent 34%, rgba(0,153,255,0.9) 48%, rgba(0,153,255,0.9) 52%, transparent 66%);
  background-size: 260% 100%;
  background-position: 110% 0%;
  animation: pl-shine 2.8s cubic-bezier(.4,0,.2,1) 1s infinite;
  mix-blend-mode: screen;
}

.preloader__line {
  width: 280px;
  max-width: 70vw;
  height: 2px;
  background: var(--border-strong);
  border-radius: 2px;
  overflow: hidden;
  position: relative;
  opacity: 0;
  animation: pl-fade-in .6s ease-out 1s forwards;
}
.preloader__line span {
  position: absolute;
  inset: 0;
  width: 40%;
  background: linear-gradient(90deg, transparent 0%, var(--brand) 50%, transparent 100%);
  animation: pl-sweep 1.6s cubic-bezier(.4,0,.2,1) infinite;
}

@keyframes pl-logo-in {
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes pl-logo-breathe {
  0%, 100% { transform: translateY(0) scale(1); }
  50%      { transform: translateY(-3px) scale(1.025); }
}
@keyframes pl-halo {
  0%, 100% { opacity: .5; transform: translate(-50%, -50%) translateY(-24px) scale(1); }
  50%      { opacity: 1;  transform: translate(-50%, -50%) translateY(-24px) scale(1.12); }
}
@keyframes pl-shine {
  0%   { background-position: 110% 0%; }
  60%  { background-position: -110% 0%; }
  100% { background-position: -110% 0%; }
}
@keyframes pl-fade-in {
  to { opacity: 1; }
}
@keyframes pl-sweep {
  0%   { transform: translateX(-100%); }
  100% { transform: translateX(250%); }
}

@media (max-width: 900px) {
  .preloader__logo-wrap { width: 420px; }
  .preloader__halo { width: 520px; height: 520px; }
}
@media (max-width: 600px) {
  .preloader__logo-wrap { width: 320px; }
  .preloader__halo { width: 420px; height: 420px; }
  .preloader__line { width: 220px; }
  .preloader__stage { gap: 28px; }
}
@media (max-width: 380px) {
  .preloader__logo-wrap { width: 260px; }
  .preloader__halo { width: 340px; height: 340px; }
}

@media (prefers-reduced-motion: reduce) {
  .preloader__logo-wrap,
  .preloader__halo,
  .preloader__line,
  .preloader__line span,
  .preloader__shine {
    animation-duration: .001s !important;
    animation-iteration-count: 1 !important;
  }
  .preloader__logo-wrap { opacity: 1; transform: none; }
  .preloader__line { opacity: 1; }
}

/* ============================================================
   Google Review section, final CTA
   ============================================================ */
.greview {
  position: relative;
  padding-block: clamp(56px, 7vw, 96px);
}
.greview__inner {
  position: relative;
  padding: clamp(48px, 6vw, 88px) clamp(22px, 4vw, 56px);
  border-radius: clamp(20px, 2vw, 28px);
  background: linear-gradient(140deg, #0b2540 0%, #102c4e 55%, #0099ff 180%);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
  box-shadow: 0 30px 80px rgba(0, 60, 120, 0.22);
  margin-inline: clamp(16px, 4vw, 48px);
}
.greview__bg {
  position: absolute; inset: 0;
  pointer-events: none;
  z-index: -1;
}
.greview__glow {
  position: absolute;
  top: -200px; right: -140px;
  width: 520px; height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 153, 255, 0.55) 0%, rgba(0, 153, 255, 0) 70%);
  filter: blur(40px);
}
.greview__glow::after {
  content: "";
  position: absolute;
  left: -340px; top: 240px;
  width: 420px; height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 205, 50, 0.22) 0%, rgba(255, 205, 50, 0) 70%);
  filter: blur(40px);
}
.greview__content {
  position: relative;
  max-width: 760px;
  margin-inline: auto;
  text-align: center;
}
.greview__stars {
  display: inline-flex;
  gap: 6px;
  margin-bottom: 18px;
  justify-content: center;
}
.greview__stars svg {
  width: 28px; height: 28px;
  fill: #FBBC04;
  filter: drop-shadow(0 2px 8px rgba(251, 188, 4, 0.35));
}
.greview .eyebrow {
  justify-content: center;
  color: rgba(255, 255, 255, 0.75);
}
.greview .eyebrow span:first-child { color: #FBBC04; }
.greview__title {
  font-family: var(--f-display);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.08;
  margin: 10px 0 14px;
  color: #fff;
}
.greview__title em {
  font-style: normal;
  color: #FBBC04;
  background: linear-gradient(90deg, #FBBC04, #FFD84A);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.greview__sub {
  font-size: clamp(15px, 1.4vw, 17px);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.78);
  margin: 0 auto 28px;
  max-width: 54ch;
}
.greview__cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 30px;
  border-radius: 999px;
  background: #fff;
  color: #0b2540;
  font-family: var(--f-display);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.005em;
  text-decoration: none;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(255,255,255,0.9) inset;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
  position: relative;
  overflow: hidden;
}
.greview__cta::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent 35%, rgba(251, 188, 4, 0.28) 50%, transparent 65%);
  transform: translateX(-100%);
  transition: transform .6s var(--ease);
  pointer-events: none;
}
.greview__cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.32), 0 0 0 1px rgba(255,255,255,0.9) inset;
}
.greview__cta:hover::before { transform: translateX(100%); }
.greview__cta svg.g-logo { width: 22px; height: 22px; flex-shrink: 0; }
.greview__cta .arrow {
  width: 18px; height: 18px;
  transition: transform .25s var(--ease);
  flex-shrink: 0;
}
.greview__cta:hover .arrow { transform: translateX(4px); }
.greview__note {
  margin: 18px 0 0;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.02em;
}

html[data-theme="dark"] .greview__inner {
  background: linear-gradient(140deg, #0a1a2e 0%, #0d2542 55%, rgba(0,153,255,0.85) 180%);
  box-shadow: 0 30px 80px rgba(0, 20, 50, 0.5);
}

@media (max-width: 720px) {
  .greview { padding-block: 48px; }
  .greview__inner { padding: 44px 22px; margin-inline: 16px; }
  .greview__stars svg { width: 22px; height: 22px; }
  .greview__cta { padding: 16px 22px; font-size: 15px; }
}
@media (max-width: 420px) {
  .greview__inner { padding: 38px 18px; margin-inline: 12px; }
  .greview__cta { width: 100%; justify-content: center; padding: 15px 18px; font-size: 14px; gap: 10px; }
  .greview__stars { gap: 4px; }
  .greview__stars svg { width: 20px; height: 20px; }
}
