/* =========================================================
   Thermo Machine — Ar Condicionado & Facilities
   Folha de estilos do site
   ========================================================= */

:root {
  /* Cores — azul-marinho e vermelho do emblema, gelo como contraponto técnico */
  --ink-950: #040912;
  --ink-900: #07111f;
  --ink-850: #0a1628;
  --ink-800: #0d1c33;
  --ink-700: #13284a;
  --brand-blue: #164476;
  --red: #e5262d;
  --red-600: #c91d24;
  --red-400: #ff5257;
  --ice-200: #cfeaff;
  --ice-300: #a8dcff;
  --ice-400: #7cc6ff;
  --ice-500: #4aa6f0;
  --wa: #25d366;
  --wa-ink: #04220f;

  --paper: #f4f5f2;
  --paper-2: #eceeea;
  --white: #ffffff;
  --text: #0b1626;
  --text-2: #46546a;
  --text-3: #6b778a;
  --on-dark: #f3f7fc;
  --on-dark-2: rgba(222, 233, 247, .72);
  --on-dark-3: rgba(222, 233, 247, .5);
  --line: rgba(11, 22, 38, .12);
  --line-strong: rgba(11, 22, 38, .2);
  --line-dark: rgba(190, 215, 245, .12);
  --line-dark-strong: rgba(190, 215, 245, .22);

  /* Tipografia */
  --font-sans: "Archivo", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  /* Layout */
  --container: 1320px;
  --gutter: clamp(20px, 4.2vw, 56px);
  --section-y: clamp(88px, 11vw, 168px);
  --topbar-h: 36px;
  --header-h: 80px;
  --radius: 18px;
  --radius-lg: 26px;

  /* Movimento */
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--ink-900);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p, ol, ul, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
strong { font-weight: 650; }
::selection { background: var(--red); color: #fff; }
:focus-visible { outline: 2px solid var(--ice-400); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ico { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ico-fill { fill: currentColor; stroke: none; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }

.skip-link {
  position: fixed; left: 16px; top: -60px; z-index: 200;
  background: #fff; color: var(--text); padding: 10px 16px; border-radius: 10px; font-weight: 600;
  transition: top .2s;
}
.skip-link:focus { top: 16px; }

/* ---------- Tipos utilitários ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-mono); font-size: 12px; font-weight: 500;
  letter-spacing: .16em; text-transform: uppercase; line-height: 1.4;
  color: var(--text-2);
}
.eyebrow::before {
  content: ""; width: 22px; height: 2px; border-radius: 2px; background: var(--red); flex: none;
}
.eyebrow:has(.eyebrow-line)::before { display: none; }
.eyebrow--light { color: var(--on-dark-2); }
.eyebrow-line {
  position: relative; width: 44px; height: 2px; border-radius: 2px; flex: none; overflow: hidden;
  background: linear-gradient(90deg, var(--red) 0%, #fff 55%, var(--ice-400) 100%);
}

.h2 {
  font-size: clamp(2.15rem, 1.1rem + 3.7vw, 4.35rem);
  font-weight: 620; letter-spacing: -.035em; line-height: 1.02;
  text-wrap: balance;
}
.h2--xl { font-size: clamp(2.6rem, 1rem + 6vw, 6.4rem); letter-spacing: -.045em; }
.h3 { font-size: clamp(1.45rem, 1rem + 1.4vw, 2.2rem); font-weight: 620; letter-spacing: -.025em; line-height: 1.1; }
.lead { font-size: clamp(1.1rem, .95rem + .55vw, 1.4rem); line-height: 1.55; letter-spacing: -.01em; color: var(--text); }
.lead--light { color: var(--on-dark-2); }

/* ---------- Botões ---------- */
.btn {
  --h: 52px;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  height: var(--h); padding: 0 24px; border-radius: 999px;
  font-size: 15.5px; font-weight: 600; letter-spacing: -.005em; white-space: nowrap;
  transition: background-color .35s var(--ease-out), color .35s var(--ease-out), border-color .35s var(--ease-out), box-shadow .35s var(--ease-out), transform .35s var(--ease-out);
  isolation: isolate;
}
.btn .ico { transition: transform .45s var(--ease-out); }
.btn:hover .ico { transform: translateX(4px); }
.btn-sm { --h: 44px; padding: 0 18px; font-size: 14.5px; gap: 10px; }
.btn-lg { --h: 60px; padding: 0 30px; font-size: 16.5px; }
.btn-block { width: 100%; }

.btn-red {
  background: var(--red); color: #fff;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .22) inset, 0 14px 34px -14px rgba(229, 38, 45, .85);
}
.btn-red:hover { background: var(--red-600); box-shadow: 0 1px 0 rgba(255, 255, 255, .2) inset, 0 18px 40px -14px rgba(229, 38, 45, .95); }
.btn-ghost-light { color: #fff; border: 1px solid rgba(255, 255, 255, .26); background: rgba(255, 255, 255, .02); backdrop-filter: blur(6px); }
.btn-ghost-light:hover { background: rgba(255, 255, 255, .09); border-color: rgba(255, 255, 255, .5); }
.btn-dark { background: var(--ink-900); color: #fff; }
.btn-dark:hover { background: var(--ink-700); }
.btn-wa { background: var(--wa); color: var(--wa-ink); justify-content: flex-start; }
.btn-wa:hover { background: #3ee07b; }
.btn-wa .ico { width: 20px; height: 20px; }
.btn-wa:hover .ico { transform: none; }

/* ---------- Topbar ---------- */
.topbar {
  position: relative; z-index: 60;
  height: var(--topbar-h);
  background: var(--ink-950);
  color: var(--on-dark-3);
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .02em;
  border-bottom: 1px solid rgba(190, 215, 245, .07);
}
.topbar-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.topbar-phones { display: flex; align-items: center; gap: 18px; }
.topbar-phones a { color: var(--on-dark-2); transition: color .2s; }
.topbar-phones a:hover { color: #fff; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  margin-bottom: calc(var(--header-h) * -1);
  color: #fff;
  transition: transform .5s var(--ease-out), background-color .4s, box-shadow .4s, backdrop-filter .4s;
}
.site-header::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: rgba(190, 215, 245, .1); opacity: 0; transition: opacity .4s;
}
.site-header.is-scrolled {
  background: rgba(7, 17, 31, .78);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  backdrop-filter: saturate(160%) blur(16px);
}
.site-header.is-scrolled::after { opacity: 1; }
.site-header.is-hidden { transform: translateY(-100%); }
.header-inner { height: 100%; display: flex; align-items: center; gap: 28px; }

.brand { display: flex; align-items: center; gap: 14px; flex: none; }
.brand-mark { width: 40px; height: auto; filter: drop-shadow(0 6px 14px rgba(0, 0, 0, .35)); }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name {
  font-size: 17px; font-weight: 800; font-stretch: 112%; letter-spacing: .02em; text-transform: uppercase;
}
.brand-tag {
  margin-top: 6px; font-size: 9.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--red-400);
}

.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav a {
  position: relative; padding: 10px 14px; border-radius: 999px;
  font-size: 14.5px; font-weight: 500; color: rgba(255, 255, 255, .78);
  transition: color .25s, background-color .25s;
}
.nav a:hover { color: #fff; background: rgba(255, 255, 255, .07); }
.nav a.is-active { color: #fff; }
.nav a.is-active::after {
  content: ""; position: absolute; left: 50%; bottom: 3px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--red);
}
.header-actions { display: flex; align-items: center; gap: 10px; }

.header-call {
  display: none; width: 46px; height: 46px; border-radius: 50%; place-items: center;
  background: var(--red); color: #fff;
  box-shadow: 0 10px 24px -10px rgba(229, 38, 45, .8);
}
.header-call .ico { width: 19px; height: 19px; }
.menu-toggle {
  display: none; width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .2); position: relative;
}
.menu-toggle span {
  position: absolute; left: 14px; right: 14px; height: 1.75px; border-radius: 2px; background: #fff;
  transition: transform .45s var(--ease-out), top .45s var(--ease-out);
}
.menu-toggle span:nth-child(1) { top: 18px; }
.menu-toggle span:nth-child(2) { top: 26px; }
.menu-open .menu-toggle span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.menu-open .menu-toggle span:nth-child(2) { top: 22px; transform: rotate(-45deg); }

/* ---------- Menu mobile ---------- */
.mobile-menu {
  position: fixed; inset: 0; z-index: 45;
  background: var(--ink-950);
  padding: calc(var(--header-h) + var(--topbar-h) + 18px) var(--gutter) calc(28px + env(safe-area-inset-bottom));
  display: flex; flex-direction: column; justify-content: space-between; gap: 32px;
  overflow-y: auto;
  animation: menuIn .5s var(--ease-out);
}
@keyframes menuIn { from { opacity: 0; } to { opacity: 1; } }
.mobile-nav { display: flex; flex-direction: column; }
.mobile-nav a {
  display: flex; align-items: baseline; gap: 16px;
  padding: 14px 0; border-bottom: 1px solid var(--line-dark);
  font-size: clamp(1.9rem, 8vw, 2.6rem); font-weight: 600; letter-spacing: -.03em; color: #fff;
  animation: mmItem .6s var(--ease-out) both;
}
.mobile-nav a:nth-child(2) { animation-delay: .04s; }
.mobile-nav a:nth-child(3) { animation-delay: .08s; }
.mobile-nav a:nth-child(4) { animation-delay: .12s; }
.mobile-nav a:nth-child(5) { animation-delay: .16s; }
@keyframes mmItem { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.mm-i { font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; color: var(--red-400); font-weight: 500; }
.mobile-menu-foot { display: grid; gap: 10px; }
.mm-label { margin-top: 14px; font-family: var(--font-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-3); }
.mm-phones { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 20px; font-weight: 600; color: #fff; }
body.menu-open { overflow: hidden; }
body.menu-open .site-header { background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; transform: none; }
body.menu-open .site-header::after { opacity: 0; }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate;
  min-height: calc(100svh - var(--topbar-h));
  min-height: max(calc(100svh - var(--topbar-h)), 700px);
  display: flex; flex-direction: column;
  padding-top: calc(var(--header-h) + clamp(40px, 9vh, 120px));
  background:
    radial-gradient(1100px 700px at 8% 105%, rgba(229, 38, 45, .16), transparent 60%),
    radial-gradient(900px 640px at 98% 40%, rgba(74, 166, 240, .14), transparent 62%),
    linear-gradient(180deg, #06101d 0%, #081426 55%, #07111f 100%);
  color: #fff; overflow: hidden;
}
.flow-canvas {
  position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%;
  opacity: 0; transition: opacity 1.6s var(--ease-out);
}
.flow-canvas.is-ready { opacity: 1; }
.hero .flow-canvas {
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, rgba(0,0,0,.35) 22%, #000 48%, #000 86%, transparent 100%);
          mask-image: linear-gradient(180deg, transparent 0%, rgba(0,0,0,.35) 22%, #000 48%, #000 86%, transparent 100%);
}
.hero-shade {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(ellipse 70% 55% at 22% 38%, rgba(7, 17, 31, .82) 0%, rgba(7, 17, 31, .35) 55%, transparent 80%),
    linear-gradient(90deg, rgba(7, 17, 31, .55) 0%, transparent 45%);
}
.grain {
  position: absolute; inset: -50%; z-index: -1; pointer-events: none; opacity: .055;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .6 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
.hero-inner { position: relative; flex: 1; display: flex; flex-direction: column; }
.hero-eyebrow { margin-bottom: clamp(22px, 3.2vh, 36px); }
.hero-title {
  max-width: 13.2em;
  font-size: clamp(2.55rem, 1.05rem + 5.3vw, 6.55rem);
  font-weight: 640; letter-spacing: -.045em; line-height: .97;
  text-wrap: balance;
}
.accent { position: relative; display: inline-block; white-space: nowrap; }
.accent-swoosh {
  position: absolute; left: -9%; top: -20%; width: 129%; height: 142%;
  overflow: visible; pointer-events: none; z-index: -1;
}
.accent-swoosh path {
  fill: none; stroke: var(--red); stroke-width: 3.2; stroke-linecap: round;
  vector-effect: non-scaling-stroke;
  stroke-dasharray: 1; stroke-dashoffset: 1;
  filter: drop-shadow(0 0 10px rgba(229, 38, 45, .55));
}
html:not(.js) .accent-swoosh path { stroke-dashoffset: 0; }
.is-loaded .accent-swoosh path { animation: swoosh 1.5s .75s var(--ease-io) forwards; }
@keyframes swoosh { to { stroke-dashoffset: 0; } }

.hero-bottom {
  margin-top: auto; padding-top: clamp(36px, 6vh, 72px); padding-bottom: clamp(36px, 6vh, 64px);
  display: flex; align-items: flex-end; justify-content: space-between; gap: 40px 64px; flex-wrap: wrap;
}
.hero-lead { max-width: 33em; font-size: clamp(1.05rem, .95rem + .4vw, 1.27rem); line-height: 1.6; color: var(--on-dark-2); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }

.hero-stats {
  position: relative;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) auto; align-items: stretch;
  padding-bottom: clamp(24px, 4vh, 40px);
}
.hero-stats::before {
  content: ""; position: absolute; left: var(--gutter); right: var(--gutter); top: 0; height: 1px;
  background: linear-gradient(90deg, rgba(255,255,255,.18), rgba(255,255,255,.08) 60%, rgba(255,255,255,.18));
}
.stat { padding: 22px 24px 0 0; }
.stat + .stat { padding-left: 24px; border-left: 1px solid rgba(255, 255, 255, .1); }
.stat-value {
  font-size: clamp(1.55rem, 1rem + 1.6vw, 2.6rem); font-weight: 700; font-stretch: 110%;
  letter-spacing: -.02em; line-height: 1; color: #fff;
  font-variant-numeric: tabular-nums;
}
.stat-label { margin-top: 10px; font-size: 14px; line-height: 1.4; color: var(--on-dark-3); }
.scroll-cue {
  align-self: end; justify-self: end; margin-left: 24px;
  width: 30px; height: 48px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .25);
  position: relative;
}
.scroll-cue span {
  position: absolute; left: 50%; top: 9px; width: 3px; height: 9px; margin-left: -1.5px; border-radius: 3px; background: #fff;
  animation: cue 2.2s var(--ease-io) infinite;
}
@keyframes cue { 0% { transform: translateY(0); opacity: 0; } 25% { opacity: 1; } 70% { transform: translateY(16px); opacity: 0; } 100% { opacity: 0; } }

/* Entrada do hero */
.js [data-hero-item] { opacity: 0; transform: translateY(20px); transition: opacity 1.1s var(--ease-out), transform 1.1s var(--ease-out); }
.js .is-loaded [data-hero-item] { opacity: 1; transform: none; }
.js .is-loaded .hero-bottom .hero-lead { transition-delay: .55s; }
.js .is-loaded .hero-ctas { transition-delay: .68s; }
.js .is-loaded .hero-stats { transition-delay: .85s; }
.js .is-loaded .hero-eyebrow { transition-delay: .1s; }

/* ---------- Palavras animadas (títulos) ---------- */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding: .12em .02em .16em; margin: -.12em -.02em -.16em; }
.wi { display: inline-block; will-change: transform; }
.js [data-split] .wi { transform: translateY(108%); transition: transform 1.15s var(--ease-out); transition-delay: calc(var(--i, 0) * 42ms + var(--base, 0ms)); }
.js [data-split].is-in .wi { transform: none; }

/* ---------- Revelação ao rolar ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--ease-out), transform 1s var(--ease-out); transition-delay: var(--d, 0ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- Seções ---------- */
.section { position: relative; padding: var(--section-y) 0; isolation: isolate; }
.section--paper { background: var(--paper); color: var(--text); }
.section--white { background: var(--white); color: var(--text); }
.section--navy { background: var(--ink-850); color: var(--on-dark); }
.section--ink { background: var(--ink-900); color: var(--on-dark); }
.section--black { background: #05080e; color: var(--on-dark); }

.blueprint {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(rgba(124, 198, 255, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124, 198, 255, .05) 1px, transparent 1px);
  background-size: 88px 88px;
  background-position: center top;
  -webkit-mask-image: radial-gradient(ellipse 85% 70% at 50% 40%, #000 30%, transparent 80%);
          mask-image: radial-gradient(ellipse 85% 70% at 50% 40%, #000 30%, transparent 80%);
}

.section-index {
  display: flex; align-items: center; gap: 16px; margin-bottom: clamp(36px, 5vw, 64px);
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .12em; color: var(--text-3);
}
.section-index-line { flex: 1; height: 1px; background: var(--line); transform-origin: left; }
.section-index--light { color: var(--on-dark-3); }
.section-index--light .section-index-line { background: var(--line-dark); }
.js .section-index-line { transform: scaleX(0); transition: transform 1.6s var(--ease-out); }
.js .section-index.is-in .section-index-line { transform: none; }

.section-head { margin-bottom: clamp(48px, 6vw, 88px); }
.section-head .eyebrow { margin-bottom: 22px; }
.section-head--split { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 32px 64px; align-items: end; }
.section-lead { font-size: clamp(1.02rem, .95rem + .3vw, 1.18rem); line-height: 1.6; color: var(--text-2); max-width: 34em; }
.section--navy .section-lead, .section--ink .section-lead, .section--black .section-lead { color: var(--on-dark-2); }

/* ---------- Faixa de clientes ---------- */
.client-strip { background: var(--white); padding: 34px 0 38px; border-bottom: 1px solid var(--line); overflow: hidden; }
.client-strip-head { display: flex; align-items: center; gap: 20px; margin-bottom: 22px; }
.client-strip-rule { flex: 1; height: 1px; background: var(--line); }
.marquee {
  position: relative; display: flex; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track { display: flex; align-items: center; gap: 14px; padding-right: 14px; flex: none; animation: marquee var(--marquee-dur, 70s) linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-100%); } }
.logo-chip {
  flex: none; display: grid; place-items: center;
  width: 148px; height: 84px; padding: 12px 18px;
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
}
.logo-chip img {
  max-width: 100%; max-height: 58px; width: auto; height: auto; object-fit: contain;
  transition: transform .5s var(--ease-out);
}
.logo-chip:hover img { transform: scale(1.06); }

/* ---------- Quem somos ---------- */
.about .eyebrow { margin-bottom: 26px; }
.manifesto {
  max-width: 17.5em;
  font-size: clamp(2.2rem, .9rem + 4.4vw, 5.6rem);
  font-weight: 620; letter-spacing: -.045em; line-height: 1.01;
  text-wrap: balance;
}
.mw { transition: color .5s var(--ease-out); }
.js .manifesto .mw { color: rgba(11, 22, 38, .16); }
.js .manifesto .mw.is-lit { color: var(--text); }
.manifesto .mw.is-red.is-lit { color: var(--red); }

.about-grid {
  margin-top: clamp(56px, 7vw, 110px);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px clamp(40px, 6vw, 100px); align-items: start;
}
.about-copy { display: grid; gap: 24px; max-width: 38em; }
.about-copy > p:not(.lead) { color: var(--text-2); }
.logo-plate {
  position: relative; margin-top: 18px; width: min(340px, 100%);
  padding: 26px 34px; border-radius: 16px;
  background: #f3f3f3;
  border: 1px solid rgba(11, 22, 38, .08);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .9) inset, 0 24px 48px -30px rgba(11, 22, 38, .45);
}
.logo-plate img { width: 100%; }
.plate-screw {
  position: absolute; width: 7px; height: 7px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #fff 0, #c9ccd1 45%, #8d939c 100%);
  box-shadow: 0 1px 1px rgba(0,0,0,.2);
}
.plate-screw::after { content: ""; position: absolute; left: 1px; right: 1px; top: 3px; height: 1px; background: rgba(60, 66, 76, .55); transform: rotate(-35deg); }
.plate-screw--tl { left: 10px; top: 10px; }
.plate-screw--tr { right: 10px; top: 10px; }
.plate-screw--bl { left: 10px; bottom: 10px; }
.plate-screw--br { right: 10px; bottom: 10px; }

.diff-card {
  position: relative; overflow: hidden;
  padding: clamp(28px, 3.4vw, 48px);
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, #0f2140 0%, #0a1628 60%, #081221 100%);
  color: #fff;
  box-shadow: 0 40px 80px -50px rgba(7, 17, 31, .9);
}
.diff-card::before {
  content: ""; position: absolute; right: -120px; top: -120px; width: 320px; height: 320px; border-radius: 50%;
  background: radial-gradient(circle, rgba(229, 38, 45, .22), transparent 68%);
  pointer-events: none;
}
.diff-title { font-size: 15px; font-family: var(--font-mono); font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-2); margin-bottom: 18px; }
.diff-list li {
  display: grid; grid-template-columns: 44px minmax(0, 1fr) 30px; align-items: center; gap: 14px;
  padding: 18px 0; border-top: 1px solid var(--line-dark);
}
.diff-n { font-family: var(--font-mono); font-size: 12.5px; color: var(--red-400); letter-spacing: .06em; }
.diff-t { font-size: clamp(1.02rem, .95rem + .3vw, 1.18rem); font-weight: 500; line-height: 1.35; letter-spacing: -.01em; }
.diff-ico { width: 30px; height: 30px; padding: 6px; border-radius: 50%; color: var(--ice-300); background: rgba(124, 198, 255, .1); stroke-width: 2; }

/* ---------- Serviços ---------- */
.services { overflow: hidden; }
.service-list { border-top: 1px solid var(--line-dark-strong); counter-reset: svc; }
.service {
  position: relative;
  display: grid;
  grid-template-columns: minmax(150px, 210px) minmax(0, 1.05fr) minmax(0, 1fr) 64px;
  grid-template-areas: "kicker title desc icon" "kicker title link icon";
  grid-template-rows: auto 1fr;
  column-gap: clamp(20px, 3vw, 44px);
  padding: clamp(26px, 2.6vw, 38px) clamp(0px, 1.2vw, 18px);
  border-bottom: 1px solid var(--line-dark-strong);
  transition: background-color .5s var(--ease-out);
}
.service::before {
  content: ""; position: absolute; left: 0; top: -1px; bottom: -1px; width: 2px;
  background: linear-gradient(180deg, var(--red), var(--ice-400));
  transform: scaleY(0); transform-origin: top; transition: transform .6s var(--ease-out);
}
.service::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(90deg, rgba(124, 198, 255, .07), rgba(124, 198, 255, 0) 70%);
  opacity: 0; transition: opacity .5s var(--ease-out);
}
.service:hover::before { transform: scaleY(1); }
.service:hover::after { opacity: 1; }
.service-kicker {
  grid-area: kicker; padding-top: 8px;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--on-dark-3);
}
.service-n { color: var(--red-400); }
.service-title {
  grid-area: title;
  font-size: clamp(1.45rem, 1.05rem + 1.1vw, 2.1rem); font-weight: 600; letter-spacing: -.028em; line-height: 1.12;
  transition: transform .6s var(--ease-out);
}
.service:hover .service-title { transform: translateX(8px); }
.service-desc { grid-area: desc; padding-top: 6px; color: var(--on-dark-2); line-height: 1.6; max-width: 32em; }
.service-link {
  grid-area: link; justify-self: start; margin-top: 14px;
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 600; font-size: 15px; color: var(--ice-300);
  border-bottom: 1px solid rgba(168, 220, 255, .35); padding-bottom: 3px;
  transition: color .25s, border-color .25s;
}
.service-link:hover { color: #fff; border-color: #fff; }
.service-link:hover .ico { transform: translateX(4px); }
.service-link .ico { transition: transform .4s var(--ease-out); }
.service-icon {
  grid-area: icon; justify-self: end;
  width: 60px; height: 60px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid var(--line-dark-strong);
  color: var(--ice-300);
  transition: background-color .5s var(--ease-out), border-color .5s var(--ease-out), color .5s, transform .6s var(--ease-out);
}
.service-icon svg { width: 27px; height: 27px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.service:hover .service-icon { background: var(--red); border-color: var(--red); color: #fff; transform: rotate(-8deg) scale(1.04); }

/* ---------- Tecnologias ---------- */
.tech { overflow: hidden; }
.ticker { margin: 0 0 clamp(56px, 7vw, 96px); display: grid; gap: clamp(4px, 1vw, 12px); user-select: none; }
.ticker-row {
  display: flex; width: max-content;
  font-size: clamp(3rem, 1.4rem + 6.4vw, 8.8rem); font-weight: 700; font-stretch: 108%;
  letter-spacing: -.035em; line-height: 1.02; white-space: nowrap;
  animation: ticker var(--ticker-dur, 60s) linear infinite;
}
.ticker-row > * { flex: none; }
.ticker-row span { padding: 0 .28em; }
.ticker-row i { font-style: normal; color: var(--red); font-size: .5em; align-self: center; }
.ticker-row--rev { animation-direction: reverse; }
.ticker-row--outline span { color: transparent; -webkit-text-stroke: 1.2px rgba(190, 220, 255, .38); }
.ticker-row--outline i { color: var(--ice-400); }
@keyframes ticker { to { transform: translateX(-50%); } }

.tech-grid {
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr));
  border-top: 1px solid var(--line-dark-strong); border-left: 1px solid var(--line-dark-strong);
}
.tech-grid li {
  position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 34px;
  min-height: 150px; padding: 20px 22px 22px;
  border-right: 1px solid var(--line-dark-strong); border-bottom: 1px solid var(--line-dark-strong);
  font-size: clamp(1.05rem, .95rem + .45vw, 1.35rem); font-weight: 600; letter-spacing: -.015em; line-height: 1.2;
  transition: background-color .4s;
}
.tech-grid li:hover { background: rgba(124, 198, 255, .06); }
.tech-n { font-family: var(--font-mono); font-size: 12px; font-weight: 500; letter-spacing: .1em; color: var(--red-400); }

/* ---------- Marcas ---------- */
.brands { padding-top: clamp(80px, 9vw, 130px); }
.brands-head { margin-bottom: clamp(36px, 4vw, 56px); }
.brand-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.brand-cell {
  flex: 0 0 calc((100% - 14px * 3) / 4);
  height: clamp(104px, 9vw, 128px);
  display: grid; place-items: center; padding: 20px 28px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out), border-color .4s;
}
.brand-cell:hover { transform: translateY(-4px); box-shadow: 0 22px 40px -26px rgba(11, 22, 38, .45); border-color: transparent; }
.brand-cell img { max-height: 54px; max-width: 74%; width: auto; height: auto; object-fit: contain; }

/* ---------- Projetos ---------- */
.projects { overflow: clip; padding-bottom: 0; }
.project-grid {
  display: grid; gap: clamp(14px, 1.6vw, 24px);
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: clamp(300px, 31vw, 450px);
  grid-auto-flow: row dense;
}
.project--wide { grid-column: span 2; }
.project { position: relative; border-radius: var(--radius); overflow: hidden; background: #0c121c; }
.project-media { position: absolute; inset: 0; display: block; width: 100%; height: 100%; cursor: zoom-in; }
.project-media img {
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(.88) contrast(1.04);
  transform: scale(1.02);
  transition: transform 1.4s var(--ease-out), filter .8s;
}
.project:hover .project-media img { transform: scale(1.07); filter: saturate(1) contrast(1.06); }
.project::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, transparent 48%, rgba(3, 6, 12, .55) 72%, rgba(3, 6, 12, .9) 100%);
}
.project figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; pointer-events: none;
  display: flex; gap: 14px; align-items: baseline;
  padding: clamp(16px, 1.8vw, 24px) clamp(18px, 2vw, 26px);
  font-size: 14.5px; line-height: 1.45; color: rgba(255, 255, 255, .82);
}
.project figcaption strong { color: #fff; font-weight: 600; }
.project figcaption small { display: inline-block; margin-top: 4px; font-size: 12px; color: rgba(255, 255, 255, .6); }
.cap-n { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .08em; color: var(--red-400); flex: none; }
.project-zoom {
  position: absolute; right: 16px; top: 16px; z-index: 2;
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(7, 17, 31, .5); border: 1px solid rgba(255, 255, 255, .22); color: #fff;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  opacity: 0; transform: scale(.85); transition: opacity .4s, transform .5s var(--ease-out);
}
.project:hover .project-zoom, .project-media:focus-visible .project-zoom { opacity: 1; transform: none; }

/* Galeria horizontal das torres */
.towers { position: relative; margin-top: clamp(80px, 9vw, 140px); }
.towers-sticky { padding: 0 0 var(--section-y); }
.towers.is-pinned .towers-sticky {
  position: sticky; top: 0; height: 100vh; height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  padding: calc(var(--header-h) * .4) 0 0; overflow: hidden;
}
.towers-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px 48px; margin-bottom: clamp(28px, 3vw, 44px); flex-wrap: wrap; }
.towers-lead { margin-top: 12px; color: var(--on-dark-2); max-width: 34em; }
.towers-meter { display: flex; align-items: center; gap: 18px; font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; color: var(--on-dark-3); }
.towers-count b { color: #fff; font-weight: 500; }
.towers-bar { position: relative; width: 160px; height: 2px; background: var(--line-dark-strong); border-radius: 2px; overflow: hidden; }
.towers-bar i { position: absolute; inset: 0; background: linear-gradient(90deg, var(--red), var(--ice-400)); transform-origin: left; transform: scaleX(.2); }
.towers-viewport { overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.towers-viewport::-webkit-scrollbar { display: none; }
.towers.is-pinned .towers-viewport { overflow: visible; scroll-snap-type: none; }
.towers-track {
  display: flex; gap: clamp(14px, 1.6vw, 24px); width: max-content;
  padding: 0 max(var(--gutter), calc((100vw - var(--container)) / 2));
  will-change: transform;
}
.tower { flex: none; scroll-snap-align: center; }
.tower-media {
  display: block; height: clamp(260px, 52vh, 540px); border-radius: var(--radius); overflow: hidden; cursor: zoom-in; background: #0c121c;
}
.tower-media img { height: 100%; width: auto; max-width: none; filter: saturate(.88) contrast(1.04); transition: transform 1.2s var(--ease-out), filter .6s; }
.tower:hover .tower-media img { transform: scale(1.05); filter: saturate(1) contrast(1.06); }
.tower figcaption { display: flex; gap: 12px; align-items: baseline; margin-top: 16px; font-size: 14.5px; color: var(--on-dark-2); }

/* ---------- Clientes ---------- */
.clients-head { margin-bottom: clamp(40px, 5vw, 72px); }
.client-grid {
  display: grid; grid-template-columns: repeat(6, minmax(0, 1fr));
  border-top: 1px solid var(--line); border-left: 1px solid var(--line);
}
.client {
  display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 14px;
  padding: 22px 14px 18px; min-height: 172px;
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  text-align: center; transition: background-color .35s;
}
.client:hover { background: var(--paper); }
.client-logo { flex: 1; display: grid; place-items: center; width: 100%; }
.client-logo img { max-height: 76px; max-width: min(150px, 84%); width: auto; height: auto; object-fit: contain; transition: transform .5s var(--ease-out); }
.client:hover .client-logo img { transform: scale(1.05); }
.client-name { font-size: 12.5px; line-height: 1.35; color: var(--text-3); font-weight: 500; text-wrap: balance; }
.client-cta {
  grid-column: span 5; padding: 0; align-items: stretch;
  background: var(--ink-900); border-color: var(--ink-900);
}
.client-cta:hover { background: var(--ink-800); }
.client-cta a {
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; flex-direction: column; justify-content: space-between; gap: 20px;
  width: 100%; height: 100%; padding: 24px 26px; color: #fff; text-align: left;
}
.client-cta a::before {
  content: ""; position: absolute; right: -80px; bottom: -110px; width: 260px; height: 260px; border-radius: 50%; z-index: -1;
  background: radial-gradient(circle, rgba(229, 38, 45, .35), transparent 68%);
  transition: transform .8s var(--ease-out);
}
.client-cta a:hover::before { transform: scale(1.25); }
.client-cta-go { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
.client-cta-text { font-size: clamp(1.15rem, .9rem + .8vw, 1.6rem); font-weight: 620; letter-spacing: -.025em; line-height: 1.1; }
.client-cta-arrow {
  flex: none; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
  background: var(--red); color: #fff; transition: transform .5s var(--ease-out);
}
.client-cta a:hover .client-cta-arrow { transform: translateX(4px); }

/* ---------- Onde atendemos ---------- */
.region { overflow: hidden; }
.region-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px clamp(32px, 5vw, 80px); align-items: center; }
.region-copy .h2 { margin-bottom: 26px; }
.city-list { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 10px; }
.city-list li {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 16px 10px 14px; border-radius: 999px;
  border: 1px solid var(--line-dark-strong); font-size: 15px; font-weight: 500; color: var(--on-dark);
  transition: background-color .3s, border-color .3s; cursor: default;
}
.city-list li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ice-400); box-shadow: 0 0 0 3px rgba(124, 198, 255, .16); }
.city-list li:hover, .city-list li.is-hot { background: rgba(124, 198, 255, .1); border-color: rgba(124, 198, 255, .45); }
.region-map { position: relative; }
.map { width: 100%; height: auto; overflow: visible; }
.map .ring { fill: none; stroke: rgba(124, 198, 255, .14); stroke-width: 1; vector-effect: non-scaling-stroke; }
.map .ring-label { font-family: var(--font-mono); font-size: 13px; fill: rgba(190, 220, 255, .42); letter-spacing: .06em; }
.map .grid-dot { fill: rgba(190, 220, 255, .16); }
.map .route { fill: none; stroke: url(#routeGrad); stroke-width: 1.6; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.map .route-flow { fill: none; stroke: rgba(255, 255, 255, .85); stroke-width: 1.6; stroke-linecap: round; stroke-dasharray: 6 18; vector-effect: non-scaling-stroke; opacity: 0; }
.map .city-dot { fill: var(--ice-300); }
.map .city-halo { fill: rgba(124, 198, 255, .16); transform-box: fill-box; transform-origin: center; }
.map .city-label, .map .hub-label, .map .hub-sub, .map .ring-label {
  paint-order: stroke; stroke: var(--ink-850); stroke-width: 7px; stroke-linejoin: round;
}
.map .city-label { font-family: var(--font-sans); font-size: 19px; font-weight: 600; fill: #fff; letter-spacing: -.01em; }
.map .city-km { font-family: var(--font-mono); font-size: 13px; fill: rgba(190, 220, 255, .55); letter-spacing: .04em; }
.map .hub-dot { fill: var(--red); }
.map .hub-pulse { fill: none; stroke: var(--red); stroke-width: 1.5; vector-effect: non-scaling-stroke; transform-box: fill-box; transform-origin: center; }
.map .hub-label { font-family: var(--font-sans); font-size: 22px; font-weight: 700; fill: #fff; letter-spacing: -.01em; }
.map .hub-sub { font-family: var(--font-mono); font-size: 13px; fill: var(--red-400); letter-spacing: .1em; text-transform: uppercase; }
.map .city.is-hot .city-dot { fill: #fff; }
.map .city.is-hot .city-halo { fill: rgba(124, 198, 255, .32); }
.js .map .route { stroke-dasharray: var(--len) var(--len); stroke-dashoffset: var(--len); transition: stroke-dashoffset 1.8s var(--ease-io); transition-delay: var(--d, 0s); }
.js .map .city { opacity: 0; transition: opacity .8s var(--ease-out); transition-delay: calc(var(--d, 0s) + 1.1s); }
.js .map.is-in .route { stroke-dashoffset: 0; }
.js .map.is-in .city { opacity: 1; }
.map.is-in .route-flow { opacity: .55; animation: flow 2.8s linear infinite; transition: opacity 1s 2.6s; }
.map.is-in .hub-pulse { animation: pulse 2.6s var(--ease-out) infinite; }
.map.is-in .city-halo { animation: halo 3.2s var(--ease-io) infinite; animation-delay: var(--hd, 0s); }
@keyframes flow { to { stroke-dashoffset: -48; } }
@keyframes pulse { 0% { transform: scale(.4); opacity: .9; } 100% { transform: scale(2.6); opacity: 0; } }
@keyframes halo { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.35); } }

/* ---------- Contato ---------- */
.contact {
  position: relative; isolation: isolate; overflow: hidden;
  padding: clamp(100px, 12vw, 180px) 0;
  background:
    radial-gradient(900px 620px at 92% 108%, rgba(229, 38, 45, .22), transparent 62%),
    radial-gradient(900px 600px at 0% 0%, rgba(74, 166, 240, .12), transparent 60%),
    var(--ink-900);
  color: #fff;
}
.contact .flow-canvas {
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 25%, #000 75%, transparent);
          mask-image: linear-gradient(180deg, transparent, #000 25%, #000 75%, transparent);
}
.contact-shade { position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(ellipse 60% 70% at 25% 50%, rgba(7, 17, 31, .85), transparent 75%); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px clamp(40px, 6vw, 96px); align-items: center; }
.contact-copy .eyebrow { margin-bottom: 26px; }
.contact-title {
  font-size: clamp(2.4rem, 1rem + 4.6vw, 5.3rem); font-weight: 640; letter-spacing: -.045em; line-height: 1;
  text-wrap: balance; margin-bottom: 28px;
}
.contact-copy .lead { max-width: 30em; }
.contact-card {
  position: relative;
  padding: clamp(22px, 2.4vw, 32px);
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, rgba(255, 255, 255, .085), rgba(255, 255, 255, .03));
  border: 1px solid rgba(255, 255, 255, .13);
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  box-shadow: 0 50px 100px -40px rgba(0, 0, 0, .7), 0 1px 0 rgba(255, 255, 255, .12) inset;
}
.phones { display: grid; }
.phone-row {
  display: grid; grid-template-columns: 48px minmax(0, 1fr) 24px; align-items: center; gap: 16px;
  padding: 18px 8px; border-bottom: 1px solid rgba(255, 255, 255, .1);
  transition: background-color .3s, padding .4s var(--ease-out);
  border-radius: 12px;
}
.phone-row:first-child { padding-top: 6px; }
.phone-row:hover { background: rgba(255, 255, 255, .05); }
.phone-ico { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: rgba(229, 38, 45, .14); color: var(--red-400); }
.phone-ico .ico { width: 20px; height: 20px; }
.phone-num { font-size: clamp(1.45rem, 1.1rem + 1vw, 2rem); font-weight: 650; font-stretch: 104%; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.phone-go { width: 22px; height: 22px; color: var(--on-dark-3); transition: transform .4s var(--ease-out), color .3s; }
.phone-row:hover .phone-go { transform: translate(3px, -3px); color: #fff; }
.wa-intro { margin: 22px 4px 14px; font-size: 14.5px; line-height: 1.5; color: var(--on-dark-2); }
.wa-buttons { display: grid; gap: 10px; }
.wa-buttons .btn { width: 100%; height: 56px; }

/* ---------- Trabalhe conosco ---------- */
.careers { background: var(--paper); padding: clamp(56px, 6vw, 88px) 0; border-top: 1px solid var(--line); }
.careers-inner { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.2fr) auto; gap: 24px 48px; align-items: center; }
.careers-title { font-size: clamp(1.8rem, 1.2rem + 1.6vw, 2.6rem); font-weight: 640; letter-spacing: -.035em; line-height: 1.05; }
.careers-text { color: var(--text-2); max-width: 36em; }
.careers-actions { display: grid; gap: 10px; justify-items: start; }
.careers-mail { font-family: var(--font-mono); font-size: 13px; color: var(--text-2); border-bottom: 1px solid var(--line-strong); padding-bottom: 2px; }
.careers-mail:hover { color: var(--text); border-color: var(--text); }

/* ---------- Rodapé ---------- */
.site-footer { background: var(--ink-950); color: var(--on-dark-2); padding-top: clamp(64px, 7vw, 100px); overflow: hidden; }
.footer-top {
  display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .8fr) minmax(0, 1fr) minmax(0, 1.1fr); gap: 40px;
  padding-bottom: clamp(40px, 5vw, 64px);
}
.footer-mark { width: 44px; margin-bottom: 18px; }
.footer-name { font-size: 18px; font-weight: 800; font-stretch: 112%; letter-spacing: .02em; text-transform: uppercase; color: #fff; }
.footer-tag { margin-top: 6px; font-size: 13px; font-weight: 600; letter-spacing: .04em; color: var(--red-400); }
.footer-desc { margin-top: 14px; font-size: 14.5px; max-width: 22em; }
.footer-nav, .footer-links, .footer-contact { display: grid; gap: 10px; align-content: start; font-size: 15px; }
.footer-nav a, .footer-links a, .footer-contact a { color: var(--on-dark-2); transition: color .2s; justify-self: start; }
.footer-nav a:hover, .footer-links a:hover, .footer-contact a:hover { color: #fff; }
.footer-label { font-family: var(--font-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-3); }
.footer-contact a[href^="tel"] { font-size: 19px; font-weight: 600; color: #fff; }
.footer-wordmark {
  position: relative; text-align: center; line-height: .8; padding: 0 var(--gutter);
  font-size: 7.6vw; font-weight: 800; font-stretch: 116%; letter-spacing: -.02em; text-transform: uppercase;
  white-space: nowrap; user-select: none; overflow: hidden;
}
.footer-wordmark span {
  display: inline-block; padding-top: .04em;
  background: linear-gradient(180deg, rgba(190, 215, 245, .16) 0%, rgba(190, 215, 245, .03) 85%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding-top: 22px; padding-bottom: calc(22px + env(safe-area-inset-bottom));
  padding-right: calc(var(--gutter) + 78px);
  border-top: 1px solid var(--line-dark);
  font-size: 13.5px; color: var(--on-dark-3);
}
.to-top { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-dark-strong); color: #fff; transition: background-color .3s; }
.to-top .ico { transform: rotate(-90deg); }
.to-top:hover { background: rgba(255, 255, 255, .08); }

/* ---------- WhatsApp flutuante ---------- */
.wa-float {
  position: fixed; right: max(18px, env(safe-area-inset-right)); bottom: max(18px, env(safe-area-inset-bottom)); z-index: 70;
  display: flex; flex-direction: column; align-items: flex-end; gap: 12px;
  opacity: 0; transform: translateY(16px) scale(.9); pointer-events: none;
  transition: opacity .5s var(--ease-out), transform .5s var(--ease-out);
}
.wa-float.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.wa-btn {
  width: 60px; height: 60px; border-radius: 50%; position: relative;
  display: grid; place-items: center; background: var(--wa); color: #fff;
  box-shadow: 0 18px 36px -12px rgba(37, 211, 102, .6), 0 0 0 1px rgba(4, 34, 15, .12);
  transition: transform .4s var(--ease-out), background-color .3s;
}
.wa-btn:hover { transform: scale(1.06); }
.wa-btn .ico { position: absolute; width: 28px; height: 28px; transition: opacity .3s, transform .45s var(--ease-out); }
.wa-ico-close { opacity: 0; transform: rotate(-90deg); stroke-width: 2.2; }
.wa-float.is-open .wa-ico-open { opacity: 0; transform: rotate(90deg); }
.wa-float.is-open .wa-ico-close { opacity: 1; transform: none; }
.wa-btn::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--wa);
  animation: waRing 2.8s var(--ease-out) infinite;
}
.wa-float.is-open .wa-btn::before { animation: none; opacity: 0; }
@keyframes waRing { 0% { transform: scale(1); opacity: .7; } 70%, 100% { transform: scale(1.5); opacity: 0; } }
.wa-pop {
  width: min(320px, calc(100vw - 36px));
  padding: 18px; border-radius: 20px; background: #fff; color: var(--text);
  box-shadow: 0 30px 60px -24px rgba(4, 9, 18, .55), 0 0 0 1px rgba(11, 22, 38, .06);
  transform-origin: bottom right; animation: popIn .45s var(--ease-out);
}
@keyframes popIn { from { opacity: 0; transform: translateY(10px) scale(.96); } to { opacity: 1; transform: none; } }
.wa-pop p { font-size: 14px; line-height: 1.5; color: var(--text-2); margin-bottom: 12px; }
.wa-pop a {
  display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px;
  font-weight: 600; font-size: 15.5px; color: var(--text); transition: background-color .25s;
}
.wa-pop a + a { margin-top: 4px; }
.wa-pop a:hover { background: #ecfbf2; }
.wa-pop .ico { width: 22px; height: 22px; color: #1fae55; }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 120;
  display: grid; grid-template-columns: 72px minmax(0, 1fr) 72px; align-items: center;
  padding: 24px; background: rgba(3, 6, 12, .94);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  animation: menuIn .35s var(--ease-out);
}
.lb-figure { grid-column: 2; display: grid; justify-items: center; gap: 16px; }
.lb-img { max-width: 100%; max-height: calc(100svh - 150px); width: auto; height: auto; border-radius: 12px; box-shadow: 0 40px 100px -30px rgba(0, 0, 0, .8); }
.lb-cap { max-width: 60em; text-align: center; font-size: 15px; line-height: 1.5; color: rgba(255, 255, 255, .82); }
.lb-cap strong { color: #fff; }
.lb-cap small { display: block; margin-top: 4px; font-size: 12.5px; color: rgba(255, 255, 255, .55); }
.lb-close, .lb-prev, .lb-next {
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; color: #fff;
  border: 1px solid rgba(255, 255, 255, .2); background: rgba(255, 255, 255, .04);
  transition: background-color .25s, border-color .25s;
}
.lb-close:hover, .lb-prev:hover, .lb-next:hover { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .4); }
.lb-close { position: absolute; right: 20px; top: 20px; }
.lb-prev { grid-column: 1; justify-self: start; }
.lb-next { grid-column: 3; justify-self: end; }
.lb-count { position: absolute; left: 24px; top: 32px; font-family: var(--font-mono); font-size: 12px; letter-spacing: .12em; color: rgba(255, 255, 255, .55); }

/* =========================================================
   Responsivo
   ========================================================= */
@media (max-width: 1180px) {
  .nav a { padding: 10px 10px; font-size: 14px; }
  .service { grid-template-columns: 150px minmax(0, 1fr) minmax(0, 1fr) 56px; }
  .tech-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .client-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

@media (max-width: 1024px) {
  :root { --header-h: 72px; }
  .nav, .header-cta { display: none; }
  .menu-toggle { display: block; }
  .header-call { display: grid; }
  .header-actions { margin-left: auto; }
  .section-head--split { grid-template-columns: 1fr; align-items: start; }
  .about-grid { grid-template-columns: 1fr; }
  .service {
    grid-template-columns: minmax(0, 1fr) 56px;
    grid-template-areas: "kicker icon" "title icon" "desc desc" "link link";
    grid-template-rows: auto auto auto auto;
    row-gap: 10px;
  }
  .service-kicker { padding-top: 0; }
  .service-desc { padding-top: 4px; }
  .service-icon { align-self: start; width: 52px; height: 52px; }
  .tech-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tech-grid li { min-height: 112px; gap: 22px; }
  .brand-cell { flex-basis: calc((100% - 14px * 2) / 3); }
  .project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: clamp(280px, 46vw, 420px); }
  .client-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .client-cta { grid-column: span 3; }
  .client-cta a { padding: 20px 18px; gap: 14px; }
  .client-cta .eyebrow { font-size: 10.5px; letter-spacing: .12em; gap: 8px; }
  .client-cta .eyebrow::before { width: 14px; }
  .client-cta-go { flex-direction: column; align-items: flex-start; gap: 14px; }
  .client-cta-arrow { width: 42px; height: 42px; }
  .region-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .careers-inner { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  :root { --topbar-h: 34px; --header-h: 66px; }
  body { font-size: 16px; }
  .topbar-brand, .topbar-label { display: none; }
  .topbar-inner { justify-content: center; }
  .brand-mark { width: 34px; }
  .brand-name { font-size: 15px; }
  .brand-tag { font-size: 8.5px; margin-top: 5px; }
  .hero { padding-top: calc(var(--header-h) + 44px); min-height: max(calc(100svh - var(--topbar-h)), 640px); }
  .hero-bottom { padding-top: 32px; padding-bottom: 32px; gap: 28px; }
  .hero-ctas { width: 100%; flex-direction: column; }
  .hero-ctas .btn { width: 100%; }
  .hero-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .stat { padding: 18px 10px 0 0; }
  .stat + .stat { padding-left: 12px; }
  .stat-label { font-size: 12.5px; }
  .scroll-cue { display: none; }
  .logo-chip { width: 118px; height: 70px; padding: 10px 14px; }
  .logo-chip img { max-height: 46px; }
  .diff-list li { grid-template-columns: 34px minmax(0, 1fr) 28px; gap: 10px; }
  .tech-grid li { min-height: 96px; gap: 16px; padding: 16px 16px 18px; }
  .brand-cell { flex-basis: calc((100% - 14px) / 2); height: 96px; padding: 16px 18px; }
  .brand-cell img { max-height: 42px; max-width: 80%; }
  .project-grid { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .project { aspect-ratio: 4 / 5; }
  .project--wide { grid-column: auto; aspect-ratio: 16 / 10; }
  .client-cta { grid-column: span 1; }
  .project figcaption { font-size: 13.5px; }
  .project-zoom { opacity: 1; transform: none; width: 38px; height: 38px; }
  .tower-media { height: 320px; }
  .towers-sticky { padding-bottom: 88px; }
  .client-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .client { min-height: 150px; }
  .city-list li { font-size: 14px; }
  .region-map { margin: 0 calc(var(--gutter) * -0.5); }
  .map .city-label { font-size: 31px; }
  .map .hub-label { font-size: 36px; }
  .map .hub-sub { font-size: 20px; }
  .map .ring-label { display: none; }
  .map .city-dot { r: 8px; }
  .phone-row { grid-template-columns: 42px minmax(0, 1fr) 20px; gap: 12px; padding: 16px 4px; }
  .phone-ico { width: 42px; height: 42px; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { font-size: 12.5px; }
  .lightbox { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr auto; padding: 16px; gap: 16px; }
  .lb-figure { grid-column: 1 / -1; grid-row: 1; }
  .lb-prev { grid-column: 1; grid-row: 2; justify-self: end; }
  .lb-next { grid-column: 2; grid-row: 2; justify-self: start; }
  .lb-img { max-height: calc(100svh - 220px); }
}

@media (max-width: 400px) {
  .brand { gap: 10px; }
  .brand-name { font-size: 14px; }
  .brand-tag { font-size: 7.6px; letter-spacing: .12em; }
  .header-actions { gap: 8px; }
  .header-call, .menu-toggle { width: 44px; height: 44px; }
  .menu-toggle span { left: 13px; right: 13px; }
  .menu-toggle span:nth-child(1) { top: 17px; }
  .menu-toggle span:nth-child(2) { top: 25px; }
  .menu-open .menu-toggle span:nth-child(1), .menu-open .menu-toggle span:nth-child(2) { top: 21px; }
  .stat-value { font-size: 1.35rem; }
  .stat-label { font-size: 12px; }
}
@media (max-width: 340px) {
  .brand-text { display: none; }
}

@media (hover: none) {
  .service:hover .service-title { transform: none; }
  .project:hover .project-media img, .tower:hover .tower-media img { transform: scale(1.02); }
}

/* Movimento reduzido */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .marquee-track, .ticker-row { animation: none !important; }
  .js [data-reveal], .js [data-hero-item], .js [data-split] .wi { opacity: 1 !important; transform: none !important; }
  .accent-swoosh path { stroke-dashoffset: 0 !important; }
  .js .manifesto .mw { color: var(--text); }
}
