/* =========================================================
   Atlas Imagens Aéreas — Aerospace Precision Dark
   ========================================================= */

:root {
  --bg: #0b0f19;
  --surface-1: #0f172a;
  --surface-2: #131b2e;
  --surface-3: #1e293b;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --line-faint: rgba(255, 255, 255, 0.04);

  --teal: #14b8a6;
  --teal-light: #2dd4bf;
  --teal-glow: rgba(20, 184, 166, 0.35);
  --sky: #38bdf8;
  --emerald: #10b981;
  --amber: #f59e0b;

  --text-strong: #f8fafc;
  --text: #cbd5e1;
  --text-muted: #94a3b8;
  --text-faint: #64748b;

  --font-head: 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'Manrope', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;

  --r-sm: 4px;
  --r-md: 8px;
  --r-lg: 12px;

  --container: 1280px;
  --pad: 1.25rem;
  --header-h: 72px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

@media (min-width: 768px) { :root { --pad: 2rem; } }
@media (min-width: 1280px) { :root { --pad: 2.5rem; --header-h: 80px; } }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--text-strong); margin: 0; letter-spacing: -0.02em; line-height: 1.15; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--teal); color: var(--bg); }
:focus-visible { outline: 2px solid var(--teal-light); outline-offset: 3px; border-radius: var(--r-sm); }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--pad); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 1rem; top: -100px; z-index: 200; padding: .75rem 1rem; background: var(--teal); color: var(--bg); font-weight: 700; border-radius: var(--r-sm); }
.skip-link:focus { top: 1rem; }

.icon {
  font-family: 'Material Symbols Outlined';
  font-weight: normal; font-style: normal;
  font-size: 1.25em; line-height: 1;
  display: inline-block; white-space: nowrap; direction: ltr;
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
  -webkit-font-feature-settings: 'liga'; font-feature-settings: 'liga';
  user-select: none;
}

.mono { font-family: var(--font-mono); }

.section { padding: 5rem 0; position: relative; }
@media (min-width: 1024px) { .section { padding: 7rem 0; } }
.section--alt { background: var(--surface-1); }
.section + .section { border-top: 1px solid var(--line); }

.section-head { display: flex; flex-direction: column; gap: .9rem; max-width: 720px; margin-bottom: 3rem; }
.section-head--split { max-width: none; flex-direction: column; }
@media (min-width: 900px) {
  .section-head--split { flex-direction: row; align-items: flex-end; justify-content: space-between; gap: 2rem; }
  .section-head--split > div { max-width: 640px; display: flex; flex-direction: column; gap: .9rem; }
}
.section-title { font-size: clamp(1.75rem, 1.2rem + 2vw, 2.5rem); font-weight: 600; }
.section-lead a { color: var(--sky, #38bdf8); }
.keyword-grid { display: grid; gap: 1rem; margin-bottom: 1.75rem; }
@media (min-width: 700px) { .keyword-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .keyword-grid { grid-template-columns: repeat(3, 1fr); } }
.keyword-card { padding: 1.2rem 1.25rem; }
.keyword-card h3 { margin: 0 0 .4rem; font-size: 1.05rem; }
.keyword-card p { margin: 0; color: var(--text-muted); font-size: .95rem; line-height: 1.55; }
a.keyword-card { color: inherit; text-decoration: none; display: block; }
a.keyword-card:hover { border-color: rgba(20, 184, 166, .45); }
.page-hero { padding: calc(var(--header-h) + 2.5rem) 0 2.5rem; }
.page-hero h1 { font-size: clamp(2rem, 1.1rem + 2.6vw, 3.15rem); font-weight: 700; letter-spacing: -.03em; line-height: 1.08; max-width: 16ch; }
.crumbs { display: flex; flex-wrap: wrap; gap: .4rem; font-family: var(--font-mono); font-size: 12px; letter-spacing: .04em; color: var(--text-faint); margin-bottom: 1.25rem; }
.crumbs a { color: var(--teal-light); }
.service-copy { display: grid; gap: 1rem; max-width: 740px; }
.service-copy p { margin: 0; line-height: 1.7; color: var(--text); }
.service-layout { display: grid; gap: 2rem; }
@media (min-width: 900px) { .service-layout { grid-template-columns: minmax(0, 1.1fr) minmax(280px, .9fr); align-items: start; } }
.service-layout .portfolio-grid { grid-template-columns: 1fr; grid-auto-rows: auto; }
.service-layout .work { aspect-ratio: 16 / 10; height: auto; }
.related { display: flex; flex-wrap: wrap; gap: .6rem; }
@media (min-width: 768px) { .section-lead { font-size: 1.0625rem; } }

/* ---------- Buttons ---------- */
.btn {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  padding: .9rem 1.5rem; border-radius: var(--r-sm);
  font-family: var(--font-body); font-size: 14px; font-weight: 700; letter-spacing: .01em;
  border: 1px solid transparent; transition: background .25s, border-color .25s, color .25s, box-shadow .25s, transform .25s var(--ease);
  white-space: nowrap;
}
.btn .icon { font-size: 18px; }
.btn svg.icon { width: 18px; height: 18px; fill: currentColor; }
.contact-list .icon-box svg { width: 18px; height: 18px; fill: currentColor; }
.btn--primary { background: var(--teal); color: var(--bg); box-shadow: 0 0 20px var(--teal-glow); }
.btn--primary:hover { background: var(--teal-light); box-shadow: 0 0 32px rgba(45, 212, 191, .45); transform: translateY(-1px); }
.btn--primary::after {
  content: ''; position: absolute; inset: 0; transform: translateX(-120%);
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.45) 50%, transparent 70%);
}
.btn--primary:hover::after { transform: translateX(120%); transition: transform .8s var(--ease); }
.btn--ghost { background: rgba(15, 23, 42, .4); border-color: rgba(248, 250, 252, .2); color: var(--text-strong); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.btn--ghost:hover { border-color: var(--sky); background: rgba(56, 189, 248, .08); }
.btn--whatsapp { background: var(--emerald); color: var(--bg); }
.btn--whatsapp:hover { background: #34d399; transform: translateY(-1px); }
.btn--lg { padding: 1.05rem 1.9rem; font-size: 15px; }
.btn--block { width: 100%; }

.link-arrow { display: inline-flex; align-items: center; gap: .35rem; font-size: 13px; font-weight: 700; color: var(--teal-light); transition: gap .25s var(--ease), color .2s; }
.link-arrow .icon { font-size: 16px; }
.link-arrow:hover { gap: .6rem; color: var(--text-strong); }

/* ---------- Chips & badges ---------- */
.chip {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .3rem .6rem; border-radius: var(--r-sm);
  font-family: var(--font-mono); font-size: 10.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  background: rgba(11, 15, 25, .75); border: 1px solid var(--line-strong); color: var(--text);
}
.chip--teal { color: var(--teal-light); border-color: rgba(20, 184, 166, .35); }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--emerald); position: relative; flex-shrink: 0; }
.dot::after { content: ''; position: absolute; inset: 0; border-radius: 50%; background: inherit; animation: ping 1.8s cubic-bezier(0, 0, .2, 1) infinite; }
.dot--teal { background: var(--teal-light); }
@keyframes ping { 75%, 100% { transform: scale(2.6); opacity: 0; } }

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  transition: background .3s, border-color .3s, backdrop-filter .3s;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled, .site-header.menu-open {
  background: rgba(11, 15, 25, .85);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--line);
}
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.brand img { height: 34px; width: auto; }
@media (min-width: 1280px) { .brand img { height: 38px; } }

.nav { display: none; }
@media (min-width: 1024px) {
  .nav { display: flex; align-items: center; gap: 2rem; font-size: 14px; font-weight: 600; }
  .nav a { color: var(--text); position: relative; padding: .4rem 0; transition: color .2s; }
  .nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--teal-light); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
  .nav a:hover, .nav a.is-active { color: var(--text-strong); }
  .nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); }
}
.header-actions { display: flex; align-items: center; gap: .75rem; }
.header-actions .btn { padding: .7rem 1.1rem; font-size: 13px; }
@media (max-width: 559px) { .header-actions .btn { display: none; } }

.menu-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: var(--r-sm);
  background: rgba(15, 23, 42, .6); border: 1px solid var(--line-strong);
}
.menu-toggle .icon { font-size: 22px; }
@media (min-width: 1024px) { .menu-toggle { display: none; } }

.mobile-nav {
  position: fixed; inset: var(--header-h) 0 auto 0; z-index: 99;
  background: rgba(11, 15, 25, .97); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  padding: 1rem var(--pad) 1.75rem;
  transform: translateY(-8px); opacity: 0; visibility: hidden;
  transition: opacity .25s, transform .25s var(--ease), visibility .25s;
}
.mobile-nav.is-open { opacity: 1; visibility: visible; transform: none; }
.mobile-nav a:not(.btn) {
  display: flex; justify-content: space-between; align-items: center;
  padding: 1rem 0; border-bottom: 1px solid var(--line);
  font-family: var(--font-head); font-size: 1.15rem; font-weight: 500; color: var(--text-strong);
}
.mobile-nav a:not(.btn) .icon { color: var(--text-faint); }
.mobile-nav .btn { margin-top: 1.5rem; }
@media (min-width: 1024px) { .mobile-nav { display: none; } }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end;
  padding-top: calc(var(--header-h) + 3rem); overflow: hidden; isolation: isolate;
}
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; transform: scale(1.06); animation: heroDrift 24s ease-out forwards; }
@keyframes heroDrift { to { transform: scale(1); } }
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(11,15,25,.85) 0%, rgba(11,15,25,.35) 28%, rgba(11,15,25,.45) 55%, rgba(11,15,25,.96) 88%, var(--bg) 100%),
    linear-gradient(90deg, rgba(11,15,25,.88) 0%, rgba(11,15,25,.45) 50%, rgba(11,15,25,0) 80%);
}
.hero::after {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .5;
  background-image:
    linear-gradient(rgba(45,212,191,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(45,212,191,.05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at 70% 40%, #000 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000 0%, transparent 70%);
}

/* HUD frame */
.hud-frame { position: absolute; inset: calc(var(--header-h) + 1.25rem) var(--pad) 1.25rem; pointer-events: none; z-index: -1; display: none; }
@media (min-width: 1024px) { .hud-frame { display: block; } }
.hud-frame i { position: absolute; width: 28px; height: 28px; border-color: rgba(45, 212, 191, .55); border-style: solid; border-width: 0; }
.hud-frame i:nth-child(1) { top: 0; left: 0; border-top-width: 1px; border-left-width: 1px; }
.hud-frame i:nth-child(2) { top: 0; right: 0; border-top-width: 1px; border-right-width: 1px; }
.hud-frame i:nth-child(3) { bottom: 0; left: 0; border-bottom-width: 1px; border-left-width: 1px; }
.hud-frame i:nth-child(4) { bottom: 0; right: 0; border-bottom-width: 1px; border-right-width: 1px; }
.hud-reticle { position: absolute; top: 42%; left: 68%; width: 88px; height: 88px; transform: translate(-50%, -50%); }
.hud-reticle::before, .hud-reticle::after { content: ''; position: absolute; background: rgba(45, 212, 191, .5); }
.hud-reticle::before { left: 50%; top: 0; bottom: 0; width: 1px; }
.hud-reticle::after { top: 50%; left: 0; right: 0; height: 1px; }
.hud-reticle span { position: absolute; inset: 22px; border: 1px solid rgba(45, 212, 191, .6); border-radius: 50%; animation: reticle 3.2s ease-in-out infinite; }
@keyframes reticle { 50% { transform: scale(1.15); opacity: .5; } }
.hud-readout { position: absolute; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .08em; color: rgba(203, 213, 225, .75); text-transform: uppercase; line-height: 1.7; }
.hud-readout--tl { top: 14px; left: 40px; }
.hud-readout--tr { top: 14px; right: 40px; text-align: right; }
.hud-readout b { color: var(--teal-light); font-weight: 500; }
.rec { display: inline-flex; align-items: center; gap: .4rem; color: #fca5a5; }
.rec::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: #ef4444; animation: blink 1.2s steps(2, start) infinite; }
@keyframes blink { to { visibility: hidden; } }

.hero-content { display: grid; gap: 2.5rem; padding-bottom: 2.5rem; }
@media (min-width: 1024px) { .hero-content { grid-template-columns: minmax(0, 1fr) 320px; align-items: end; padding-bottom: 3.5rem; } }
.hero-copy { display: flex; flex-direction: column; gap: 1.5rem; max-width: 760px; }
.hero h1 { font-size: clamp(2.25rem, 1.2rem + 4.2vw, 4rem); font-weight: 700; line-height: 1.06; letter-spacing: -0.03em; }
.hero h1 em { font-style: normal; color: transparent; background: linear-gradient(90deg, var(--teal-light), var(--sky)); -webkit-background-clip: text; background-clip: text; }
.hero-lead { font-size: 1.0625rem; line-height: 1.7; color: var(--text); max-width: 600px; }
@media (min-width: 768px) { .hero-lead { font-size: 1.15rem; } }
.hero-ctas { display: flex; flex-wrap: wrap; gap: .85rem; padding-top: .5rem; }
@media (max-width: 479px) { .hero-ctas .btn { width: 100%; } }
/* telemetry glass panel */
.telemetry {
  background: rgba(15, 23, 42, .62); border: 1px solid rgba(20, 184, 166, .22); border-radius: var(--r-md);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 20px 50px -10px rgba(6, 182, 212, .15);
  padding: .9rem 1rem; display: grid; grid-template-columns: 1fr 1fr; align-items: center;
}
.telemetry-fact { display: grid; gap: .25rem; min-width: 0; }
.telemetry-fact + .telemetry-fact { padding-left: .9rem; border-left: 1px solid var(--line); }
.telemetry-fact span { font-family: var(--font-mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--text-faint); }
.telemetry-fact strong { font-size: 1.2rem; font-weight: 600; letter-spacing: -.02em; line-height: 1.15; }
.telemetry-fact img { height: 28px; width: auto; margin-top: .15rem; }

/* trust strip at hero bottom */
.trust-strip { border-top: 1px solid var(--line); background: rgba(11, 15, 25, .7); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.trust-grid { display: grid; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 768px) { .trust-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .trust-grid { grid-template-columns: repeat(4, 1fr); } }
.trust-item { display: flex; align-items: center; gap: .8rem; padding: 1.15rem .25rem; }
@media (min-width: 1100px) { .trust-item { padding: 1.35rem 1rem; border-left: 1px solid var(--line); } .trust-item:first-child { border-left: 0; padding-left: 0; } }
.trust-item .icon { width: 36px; height: 36px; border-radius: var(--r-sm); background: rgba(20, 184, 166, .08); border: 1px solid rgba(20, 184, 166, .25); color: var(--teal-light); display: grid; place-items: center; font-size: 19px; flex-shrink: 0; }
.trust-item strong { display: block; font-size: 13px; font-weight: 700; color: var(--text-strong); line-height: 1.3; }
.trust-item small { display: block; font-size: 11.5px; color: var(--text-muted); line-height: 1.4; }

/* =========================================================
   CLIENTS MARQUEE
   ========================================================= */
.clients { padding: 3rem 0; border-bottom: 1px solid var(--line); background: var(--bg); }
.clients-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .75rem; margin-bottom: 2rem; }
.clients-head .label { display: inline-flex; align-items: center; gap: .6rem; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--text-muted); }
.marquee { position: relative; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee 60s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-group { display: flex; align-items: center; gap: 4.5rem; padding-right: 4.5rem; }
.marquee-group img { height: 44px; width: auto; max-width: 150px; object-fit: contain; filter: grayscale(1) brightness(1.5) contrast(.85); opacity: .6; transition: filter .35s, opacity .35s; }
.marquee-group img.logo-wide { height: 34px; max-width: 210px; }
.marquee-group img[src*="c4.webp"] { height: 82px; max-width: 120px; }
.marquee-group img[src*="laso.webp"] { height: 54px; max-width: 80px; }
.marquee-group img:hover { filter: none; opacity: 1; }
@keyframes marquee { to { transform: translateX(-50%); } }

.card {
  position: relative; background: var(--surface-1); border: 1px solid var(--line); border-radius: var(--r-md);
  transition: border-color .3s, transform .4s var(--ease), background .3s;
}
.card:hover { border-color: rgba(20, 184, 166, .3); }
.icon-box { width: 48px; height: 48px; border-radius: var(--r-md); background: var(--surface-2); border: 1px solid var(--line-strong); color: var(--teal-light); display: grid; place-items: center; }
.icon-box .icon { font-size: 24px; }
/* crosshair corner accents */
.crosshair::before, .crosshair::after {
  content: ''; position: absolute; width: 14px; height: 14px; border: 0 solid var(--teal-light); opacity: 0; transition: opacity .3s, transform .3s var(--ease); pointer-events: none; z-index: 3;
}
.crosshair::before { top: -1px; left: -1px; border-top-width: 2px; border-left-width: 2px; border-top-left-radius: var(--r-md); transform: translate(4px, 4px); }
.crosshair::after { bottom: -1px; right: -1px; border-bottom-width: 2px; border-right-width: 2px; border-bottom-right-radius: var(--r-md); transform: translate(-4px, -4px); }
.crosshair:hover::before, .crosshair:hover::after { opacity: 1; transform: none; }

/* =========================================================
   PROCESSO
   ========================================================= */
.process { display: grid; gap: 1rem; counter-reset: step; position: relative; }
@media (min-width: 768px) { .process { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) {
  .process { grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
  .process::before { content: ''; position: absolute; top: 42px; left: 3%; right: 3%; height: 1px; background: linear-gradient(90deg, transparent, rgba(20,184,166,.45) 15%, rgba(56,189,248,.45) 85%, transparent); }
}
.step { position: relative; padding: 1.5rem; background: var(--bg); }
.step-index { display: flex; align-items: center; gap: .75rem; margin-bottom: 1.1rem; }
.step-index b { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: var(--surface-2); border: 1px solid rgba(20,184,166,.45); font-family: var(--font-mono); font-size: 12px; font-weight: 500; color: var(--teal-light); position: relative; z-index: 1; box-shadow: 0 0 0 6px var(--bg); }
.step-index span { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-faint); }
.step h3 { font-size: 1.1rem; font-weight: 600; margin-bottom: .5rem; }
.step p { font-size: 14px; color: var(--text-muted); line-height: 1.65; }

/* =========================================================
   PORTFÓLIO
   ========================================================= */
.filters { display: flex; gap: .5rem; overflow-x: auto; scrollbar-width: none; padding-bottom: .25rem; margin-bottom: 2rem; }
.filters::-webkit-scrollbar { display: none; }
.filter-btn {
  flex-shrink: 0; padding: .55rem 1rem; border-radius: var(--r-sm);
  background: var(--surface-1); border: 1px solid var(--line-strong);
  font-family: var(--font-mono); font-size: 11.5px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--text-muted);
  transition: color .2s, border-color .2s, background .2s;
}
.filter-btn:hover { color: var(--text-strong); border-color: rgba(255,255,255,.25); }
.filter-btn[aria-pressed="true"] { color: var(--bg); background: var(--teal); border-color: var(--teal); }

.portfolio-grid { display: grid; gap: 1rem; grid-template-columns: 1fr; grid-auto-flow: dense; }
@media (min-width: 560px) { .portfolio-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 768px) { .portfolio-grid { grid-auto-rows: 170px; } }
@media (min-width: 1100px) { .portfolio-grid { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 160px; } }
.work {
  position: relative; overflow: hidden; border-radius: var(--r-md); border: 1px solid var(--line); background: var(--surface-2);
  aspect-ratio: 2 / 1; cursor: zoom-in; text-align: left; padding: 0; display: block; width: 100%;
  transition: opacity .4s, transform .4s var(--ease), border-color .3s;
}
.work[data-href] { cursor: pointer; }
@media (min-width: 768px) {
  .work { aspect-ratio: auto; height: 100%; }
  .work--lg { grid-column: span 2; grid-row: span 2; }
}
@media (min-width: 1100px) { .work--wide { grid-column: span 2; } }
.work:not(.work--lg) p { display: none; }
@media (max-width: 767px) { .work p { display: none; } }
.work.is-hidden { display: none; }
.work img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.work:hover img { transform: scale(1.05); }
.work:hover { border-color: rgba(20, 184, 166, .35); }
.work-info {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  padding: 3rem 1.1rem 1rem; display: flex; flex-direction: column; gap: .25rem;
  background: linear-gradient(180deg, rgba(11,15,25,0) 0%, rgba(11,15,25,.78) 40%, rgba(11,15,25,.96) 100%);
  text-shadow: 0 1px 10px rgba(0,0,0,.5);
}
.work-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; font-size: 11.5px; }
.work-meta .loc { font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--teal-light); }
.work-meta .sep { color: var(--text-faint); }
.work-meta .cat { color: var(--text); }
.work h3 { font-size: .98rem; font-weight: 600; }
.work--lg h3 { font-size: clamp(1.1rem, 1rem + .5vw, 1.35rem); }
.work--lg .work-info { padding: 3.5rem 1.4rem 1.3rem; }
.work p { font-size: 13px; color: var(--text); line-height: 1.55; max-width: 560px; }
.work-hud {
  position: absolute; top: 1rem; right: 1rem; z-index: 2;
  display: flex; flex-direction: column; gap: .25rem; align-items: flex-end;
  opacity: 0; transform: translateY(-6px); transition: opacity .35s, transform .35s var(--ease);
}
.work:hover .work-hud, .work:focus-visible .work-hud { opacity: 1; transform: none; }
.work-hud .chip { background: rgba(11, 15, 25, .82); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.work-zoom { position: absolute; top: 1rem; left: 1rem; z-index: 2; width: 34px; height: 34px; border-radius: var(--r-sm); display: grid; place-items: center; background: rgba(11,15,25,.7); border: 1px solid var(--line-strong); color: var(--text-strong); opacity: 0; transition: opacity .3s; }
.work:hover .work-zoom { opacity: 1; }
@media (hover: none) { .work-hud { opacity: 1; transform: none; } }

.portfolio-cta { margin-top: 2.5rem; display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; }

/* Video portfolio: category cards */
.cat-grid { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 560px) { .cat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .cat-grid { grid-template-columns: repeat(4, 1fr); } }
.cat-card { display: flex; flex-direction: column; overflow: hidden; color: inherit; }
.cat-media { position: relative; display: block; aspect-ratio: 16 / 10; background: var(--surface-2); overflow: hidden; }
.cat-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.cat-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(11, 15, 25, .55), transparent 55%); }
.cat-card:hover .cat-media img { transform: scale(1.05); }
.cat-play {
  position: absolute; z-index: 1; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(11, 15, 25, .72); border: 1px solid rgba(45, 212, 191, .5); color: var(--teal-light);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); transition: background .25s, color .25s;
}
.cat-play .icon { font-size: 28px; }
.cat-card:hover .cat-play { background: var(--teal); color: var(--bg); }
.cat-body { display: flex; flex-direction: column; gap: .45rem; padding: 1.1rem 1.2rem 1.25rem; flex: 1; }
.cat-body h3 { font-size: 1.05rem; }
.cat-body p { color: var(--text-muted); font-size: .92rem; line-height: 1.55; }
.cat-more { margin-top: auto; padding-top: .35rem; display: inline-flex; align-items: center; gap: .35rem; font-size: 13px; font-weight: 700; color: var(--teal-light); }
.cat-more .icon { font-size: 16px; transition: transform .25s var(--ease); }
.cat-card:hover .cat-more .icon { transform: translateX(3px); }

/* Video portfolio: popup */
.vmodal { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: 1.25rem; background: rgba(5, 8, 15, .92); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
.vmodal.is-open { opacity: 1; visibility: visible; }
.vm-panel {
  width: 100%; max-width: 1100px; max-height: calc(100dvh - 2.5rem); display: flex; flex-direction: column;
  background: var(--surface-1); border: 1px solid rgba(20, 184, 166, .25); border-radius: var(--r-lg); overflow: hidden;
  box-shadow: 0 20px 50px -10px rgba(6, 182, 212, .15); transform: scale(.97); transition: transform .35s var(--ease);
}
.vmodal.is-open .vm-panel { transform: none; }
.vm-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; padding: 1.4rem 1.5rem 1rem; border-bottom: 1px solid var(--line); }
.vm-head > div { display: flex; flex-direction: column; gap: .45rem; }
.vm-head h2 { font-size: clamp(1.25rem, 1rem + 1vw, 1.7rem); }
.vm-desc { color: var(--text-muted); font-size: .95rem; }
.vm-head .vm-close { position: static; transform: none; flex-shrink: 0; }
.vm-grid { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 1.25rem 1.5rem; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); grid-auto-rows: max-content; align-content: start; align-items: start; }
.vm-empty { grid-column: 1 / -1; padding: 2.5rem 1rem; text-align: center; color: var(--text-muted); }
.vm-foot { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: flex-end; padding: 1rem 1.5rem; border-top: 1px solid var(--line); }
.vcard { display: flex; flex-direction: column; background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
.vcard-play { flex-shrink: 0; }
.vcard--vertical { width: 100%; max-width: 340px; justify-self: center; }
.vcard-play, .vcard > iframe { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; }
.vcard--vertical .vcard-play, .vcard--vertical > iframe { aspect-ratio: 9 / 16; }
.vcard-play { position: relative; padding: 0; background: #000; overflow: hidden; color: inherit; text-decoration: none; }
.vcard-play img { width: 100%; height: 100%; object-fit: cover; opacity: .9; transition: opacity .25s, transform .6s var(--ease); }
.vcard-play:hover img { opacity: 1; transform: scale(1.03); }
.vcard-play--instagram { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285aeb 90%); }
.vcard-ig { position: absolute; left: 0; right: 0; bottom: 1rem; text-align: center; font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: #fff; }
.vcard-btn {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(11, 15, 25, .75); color: #fff; border: 1px solid rgba(255, 255, 255, .3); transition: background .25s, color .25s;
}
.vcard-btn .icon { font-size: 30px; }
.vcard-play:hover .vcard-btn { background: var(--teal); color: var(--bg); }
.vcard-meta { display: flex; justify-content: space-between; align-items: flex-start; gap: .75rem; padding: .75rem .9rem; }
.vcard-meta strong { min-width: 0; }
.vcard-meta strong { font-family: var(--font-head); font-size: .92rem; font-weight: 600; color: var(--text-strong); line-height: 1.3; }
.vcard-link { display: inline-flex; align-items: center; gap: .25rem; font-size: 12px; font-weight: 700; color: var(--teal-light); flex-shrink: 0; }
.vcard-link .icon { font-size: 14px; }

.vplayer { position: fixed; inset: 0; z-index: 400; display: grid; place-items: center; padding: 1.5rem; background: rgba(2, 6, 15, .94); opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s; }
.vplayer.is-open { opacity: 1; visibility: visible; }
.vp-panel { position: relative; width: min(1100px, 100%); display: grid; justify-items: center; gap: .85rem; }
.vp-close { position: absolute; z-index: 2; top: 1rem; right: 1rem; }
.vp-stage { width: 100%; aspect-ratio: 16 / 9; background: #000; border-radius: 16px; overflow: hidden; box-shadow: 0 24px 60px rgba(0, 0, 0, .45); }
.vp-stage iframe { display: block; width: 100%; height: 100%; border: 0; }
.vp-stage--tall { width: min(420px, 100%); aspect-ratio: 9 / 16; max-height: calc(100dvh - 9rem); }
.vp-title { margin: 0; max-width: 70ch; text-align: center; color: #fff; font-family: var(--font-head); font-size: 1.05rem; }
@media (max-width: 767px) {
  .cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
  .cat-body { padding: .8rem .85rem .95rem; gap: .3rem; }
  .cat-body h3 { font-size: .92rem; line-height: 1.25; }
  .cat-body p { display: none; }
  .cat-play { width: 40px; height: 40px; }
  .cat-play .icon { font-size: 22px; }
  .vmodal { padding: 0; place-items: end stretch; }
  .vm-panel { max-height: 92dvh; border-radius: var(--r-lg) var(--r-lg) 0 0; }
  .vm-head { padding: 1.1rem 1rem .85rem; }
  .vm-grid { padding: 1rem; grid-template-columns: 1fr; }
  .vm-foot { padding: .85rem 1rem max(.85rem, env(safe-area-inset-bottom)); }
  .vm-foot .btn { flex: 1 1 100%; }
  .vplayer { padding: .75rem; }
  .vp-stage--tall { max-height: calc(100dvh - 6.5rem); }
}
@media (max-width: 359px) { .cat-grid { grid-template-columns: 1fr; } }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: 1.25rem; background: rgba(5, 8, 15, .92); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox figure { margin: 0; max-width: 1200px; width: 100%; border-radius: var(--r-lg); overflow: hidden; border: 1px solid rgba(20,184,166,.25); background: var(--surface-1); box-shadow: 0 20px 50px -10px rgba(6,182,212,.15); transform: scale(.97); transition: transform .35s var(--ease); }
.lightbox.is-open figure { transform: none; }
.lightbox img { width: 100%; max-height: 74vh; object-fit: contain; background: #000; }
.lightbox figcaption { padding: 1rem 1.25rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1rem; align-items: center; }
.lightbox figcaption strong { font-family: var(--font-head); color: var(--text-strong); font-size: 1.05rem; }
.lightbox figcaption span { font-family: var(--font-mono); font-size: 11.5px; color: var(--teal-light); letter-spacing: .06em; text-transform: uppercase; }
.lb-btn { position: absolute; width: 46px; height: 46px; border-radius: var(--r-sm); display: grid; place-items: center; background: rgba(15,23,42,.8); border: 1px solid var(--line-strong); color: var(--text-strong); transition: border-color .2s; }
.lb-btn:hover { border-color: var(--teal-light); }
.lb-close { top: 1.25rem; right: 1.25rem; }
.lb-prev { left: 1.25rem; top: 50%; transform: translateY(-50%); }
.lb-next { right: 1.25rem; top: 50%; transform: translateY(-50%); }
@media (max-width: 767px) { .lb-prev, .lb-next { top: auto; bottom: 1.25rem; transform: none; } }

/* =========================================================
   DEPOIMENTOS
   ========================================================= */
.quotes { display: grid; gap: 1rem; }
.quotes:not(.quotes--one) { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.quote { margin: 0; padding: 2rem; display: flex; flex-direction: column; gap: 1.5rem; background: var(--bg); }
.quote--featured { position: relative; max-width: 860px; padding: 2.25rem 2rem 1.75rem; background: radial-gradient(120% 140% at 0% 0%, rgba(20,184,166,.08), transparent 55%), var(--bg); }
@media (min-width: 768px) { .quote--featured { padding: 2.75rem 3rem 2rem; } }
.quote-mark { font-family: var(--font-head); font-size: 4.5rem; line-height: .6; color: var(--teal); opacity: .7; }
.quote .stars { display: flex; gap: 2px; color: var(--amber); }
.quote .stars .icon { font-size: 18px; font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 24; }
.quote .stars .icon.is-off { font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24; opacity: .35; }
.quote blockquote { margin: 0; font-size: 15.5px; line-height: 1.7; color: var(--text); flex: 1; }
.quote--featured blockquote { font-family: var(--font-head); font-size: clamp(1.25rem, 1rem + 1vw, 1.7rem); font-weight: 500; line-height: 1.45; letter-spacing: -0.02em; color: var(--text-strong); }
.quote figcaption { display: flex; align-items: center; gap: .85rem; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.quote-source { margin-left: auto; font-family: var(--font-mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--text-faint); text-align: right; }
@media (max-width: 559px) { .quote-source { margin-left: 0; width: 100%; text-align: left; } .quote figcaption { flex-wrap: wrap; } }
.avatar { width: 42px; height: 42px; border-radius: var(--r-md); background: var(--surface-2); border: 1px solid rgba(20,184,166,.3); color: var(--teal-light); font-family: var(--font-head); font-weight: 700; display: grid; place-items: center; flex-shrink: 0; }
.quote figcaption strong { display: block; font-family: var(--font-head); font-weight: 600; font-size: 14.5px; color: var(--text-strong); }
.quote figcaption small { display: block; font-size: 12.5px; color: var(--text-muted); }

/* =========================================================
   FAQ
   ========================================================= */
.faq-layout { display: grid; gap: 2.5rem; }
@media (min-width: 1024px) { .faq-layout { grid-template-columns: 5fr 7fr; gap: 4rem; } .faq-layout .section-head { position: sticky; top: calc(var(--header-h) + 2rem); align-self: start; margin-bottom: 0; } }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem;
  padding: 1.35rem 0; font-family: var(--font-head); font-size: 1.075rem; font-weight: 500; color: var(--text-strong);
  transition: color .2s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--teal-light); }
.faq-item summary .icon { flex-shrink: 0; width: 30px; height: 30px; border-radius: var(--r-sm); border: 1px solid var(--line-strong); display: grid; place-items: center; font-size: 18px; color: var(--teal-light); transition: transform .3s var(--ease), background .2s; }
.faq-item[open] summary .icon { transform: rotate(45deg); background: rgba(20,184,166,.1); }
.faq-item .answer { padding: 0 3rem 1.5rem 0; color: var(--text-muted); font-size: 15px; line-height: 1.75; }
.faq-item .answer a { color: var(--teal-light); text-decoration: underline; text-underline-offset: 3px; }

/* =========================================================
   CONTATO
   ========================================================= */
.contact-panel {
  position: relative; overflow: hidden; border-radius: var(--r-lg); border: 1px solid var(--line);
  background:
    radial-gradient(80% 120% at 0% 0%, rgba(20,184,166,.12), transparent 55%),
    radial-gradient(60% 100% at 100% 100%, rgba(56,189,248,.08), transparent 60%),
    var(--surface-1);
  display: grid; gap: 2.5rem; padding: 2rem;
}
@media (min-width: 768px) { .contact-panel { padding: 3rem; } }
@media (min-width: 1100px) { .contact-panel { grid-template-columns: 1fr 1fr; gap: 4rem; padding: 3.5rem; } }
.contact-copy { display: flex; flex-direction: column; gap: 1.1rem; }
.contact-list { display: flex; flex-direction: column; gap: .9rem; margin-top: 1rem; }
.contact-list a, .contact-list div { display: flex; align-items: center; gap: .85rem; font-size: 14.5px; color: var(--text); transition: color .2s; }
.contact-list a:hover { color: var(--teal-light); }
.contact-list .icon-box { width: 40px; height: 40px; }
.contact-list .icon-box .icon { font-size: 20px; }
.contact-list small { display: block; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--text-faint); }

.quote-form { background: rgba(11, 15, 25, .6); border: 1px solid var(--line-strong); border-radius: var(--r-md); padding: 1.5rem; display: grid; gap: 1.1rem; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
@media (min-width: 768px) { .quote-form { padding: 2rem; grid-template-columns: 1fr 1fr; } .quote-form .full { grid-column: 1 / -1; } }
.quote-form-head { display: flex; justify-content: space-between; align-items: center; padding-bottom: 1rem; border-bottom: 1px solid var(--line); }
.quote-form-head strong { font-family: var(--font-head); font-size: 1.1rem; color: var(--text-strong); font-weight: 600; }
.field { display: flex; flex-direction: column; gap: .45rem; }
.field label { font-family: var(--font-mono); font-size: 11px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--text-muted); }
.field input, .field select, .field textarea {
  width: 100%; padding: .8rem .9rem; border-radius: var(--r-sm);
  background: var(--surface-1); border: 1px solid rgba(255,255,255,.12); color: var(--text-strong);
  font-family: var(--font-body); font-size: 15px; transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 96px; }
.field select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath stroke='%2394a3b8' stroke-width='1.5' d='m1 1.5 5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .9rem center; padding-right: 2.4rem; }
.field input::placeholder, .field textarea::placeholder { color: var(--text-faint); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 2px rgba(20, 184, 166, .25); }
.field input:user-invalid { border-color: #f87171; }
.form-note { font-size: 12.5px; color: var(--text-muted); display: flex; gap: .5rem; align-items: flex-start; }
.form-note .icon { font-size: 16px; color: var(--emerald); margin-top: 1px; }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer { background: var(--bg); border-top: 1px solid var(--line); padding: 4rem 0 2rem; color: var(--text-muted); }
.footer-grid { display: grid; gap: 2.5rem; padding-bottom: 3rem; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
@media (min-width: 1100px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; } }
.footer-brand img { height: 36px; width: auto; margin-bottom: 1.1rem; }
.footer-brand p { font-size: 14px; line-height: 1.7; max-width: 340px; }
.footer-regs { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: 1.25rem; }
.footer-col h4 { font-family: var(--font-mono); font-size: 11px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--text-strong); margin-bottom: 1rem; }
.footer-col ul { display: flex; flex-direction: column; gap: .6rem; font-size: 14px; }
.footer-col a { transition: color .2s; }
.footer-col a:hover { color: var(--teal-light); }
.socials { display: flex; gap: .5rem; margin-top: 1.1rem; }
.socials a { width: 40px; height: 40px; border-radius: var(--r-sm); border: 1px solid var(--line-strong); display: grid; place-items: center; color: var(--text); transition: border-color .2s, color .2s, background .2s; }
.socials a:hover { border-color: var(--teal); color: var(--teal-light); background: rgba(20,184,166,.06); }
.socials svg { width: 18px; height: 18px; fill: currentColor; }
.footer-bottom { padding-top: 2rem; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-size: 12.5px; color: var(--text-faint); }
.footer-bottom .mono { font-size: 11px; letter-spacing: .06em; }

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 90;
  display: inline-flex; align-items: center; gap: .6rem;
  height: 56px; padding: 0 1.1rem 0 .9rem; border-radius: 999px;
  background: var(--emerald); color: var(--bg); font-weight: 700; font-size: 14px;
  box-shadow: 0 10px 30px -6px rgba(16, 185, 129, .55);
  transform: translateY(120%); opacity: 0; transition: transform .45s var(--ease), opacity .3s, background .2s;
}
.wa-float.is-visible { transform: none; opacity: 1; }
.wa-float:hover { background: #34d399; }
.wa-float svg { width: 26px; height: 26px; fill: currentColor; }
@media (max-width: 559px) { .wa-float span { display: none; } .wa-float { width: 56px; padding: 0; justify-content: center; } }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

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

/* =========================================================
   MOBILE EXPERIENCE
   ========================================================= */
@media (max-width: 767px) {
  :root {
    --pad: 1rem;
    --header-h: 64px;
  }

  body { font-size: 14px; }
  body.menu-is-open { overflow: hidden; }
  .section { padding: 3.75rem 0; }
  .section-head { gap: .75rem; margin-bottom: 2rem; }
  .section-title { font-size: clamp(1.7rem, 7.5vw, 2rem); }
  .section-lead { line-height: 1.65; }

  .btn {
    min-height: 48px;
    padding: .8rem 1rem;
    white-space: normal;
    text-align: center;
    line-height: 1.3;
  }
  .btn--lg { padding: .9rem 1rem; font-size: 14px; }
  .link-arrow { min-height: 44px; }

  .site-header.is-scrolled, .site-header.menu-open {
    background: rgba(11, 15, 25, .95);
  }
  .brand img { height: 30px; }
  .menu-toggle { width: 44px; height: 44px; }
  .mobile-nav {
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
    overscroll-behavior: contain;
    padding-bottom: max(1.5rem, env(safe-area-inset-bottom));
  }
  .mobile-nav a:not(.btn) { min-height: 54px; padding: .85rem 0; }

  .hero {
    min-height: 0;
    padding-top: calc(var(--header-h) + 2.25rem);
  }
  .hero-media img {
    object-position: 58% center;
    transform: none;
    animation: none;
  }
  .hero::before {
    background:
      linear-gradient(180deg, rgba(11,15,25,.88) 0%, rgba(11,15,25,.58) 24%, rgba(11,15,25,.72) 60%, rgba(11,15,25,.98) 100%),
      linear-gradient(90deg, rgba(11,15,25,.88), rgba(11,15,25,.28));
  }
  .hero-content { gap: 1.5rem; padding-bottom: 2rem; }
  .hero-copy { gap: 1.15rem; }
  .hero h1 {
    font-size: clamp(2rem, 9.7vw, 2.65rem);
    line-height: 1.02;
    overflow-wrap: anywhere;
  }
  .hero-lead { font-size: 14.5px; line-height: 1.65; }
  .hero-ctas { display: grid; gap: .65rem; padding-top: .15rem; }
  .hero-ctas .btn { width: 100%; }
  .telemetry {
    grid-template-columns: 1fr 1fr;
    gap: 0;
    padding: 1rem;
    background: rgba(15, 23, 42, .78);
  }
  .telemetry-fact { min-width: 0; align-content: center; }
  .telemetry-fact + .telemetry-fact {
    padding: 0 0 0 1rem;
    border-top: 0;
    border-left: 1px solid var(--line);
  }
  .telemetry-fact span { font-size: 9px; letter-spacing: .08em; }
  .telemetry-fact strong { font-size: 1.2rem; }
  .telemetry-fact img { height: 30px; max-width: 76px; }

  .trust-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    overflow: visible;
  }
  .trust-item {
    min-width: 0;
    align-items: flex-start;
    padding: .9rem .75rem;
  }
  .trust-item:nth-child(odd) { border-right: 1px solid var(--line); }
  .trust-item:nth-child(-n + 2) { border-bottom: 1px solid var(--line); }
  .trust-item .icon { width: 32px; height: 32px; font-size: 17px; }
  .trust-item strong { font-size: 12.5px; }
  .trust-item small { font-size: 11px; }

  .clients { padding: 2.5rem 0; }
  .clients-head { margin-bottom: 1.5rem; }
  .clients-head .label { font-size: 10.5px; }
  .marquee {
    mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
  }
  .marquee-group { gap: 2.5rem; padding-right: 2.5rem; }
  .marquee-group img { height: 38px; max-width: 130px; }
  .marquee-group img.logo-wide { height: 29px; max-width: 170px; }
  .marquee-group img[src*="c4.webp"] { height: 64px; max-width: 96px; }
  .marquee-group img[src*="laso.webp"] { height: 44px; max-width: 64px; }

  .keyword-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
  .keyword-card { padding: 1rem; }
  .keyword-card h3 { font-size: .95rem; line-height: 1.25; }
  .keyword-card p { font-size: .82rem; line-height: 1.5; }

  .section-head--split .link-arrow { align-self: flex-start; }
  .filters {
    margin: 0 calc(var(--pad) * -1) 1.5rem;
    padding: 0 var(--pad) .5rem;
    scroll-snap-type: x proximity;
    scroll-padding-left: var(--pad);
  }
  .filter-btn {
    min-height: 44px;
    padding: .6rem .85rem;
    scroll-snap-align: start;
    font-size: 10px;
  }

  .portfolio-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .65rem;
  }
  .work {
    aspect-ratio: 1 / 1;
    min-height: 0;
  }
  .work--lg {
    grid-column: 1 / -1;
    aspect-ratio: 2 / 1;
  }
  .work--wide { grid-column: 1 / -1; aspect-ratio: 2 / 1; }
  .work-info { padding: 2.5rem .75rem .7rem; gap: .15rem; }
  .work--lg .work-info { padding: 3rem .9rem .8rem; }
  .work-meta { gap: .3rem; font-size: 8.5px; line-height: 1.3; }
  .work h3, .work--lg h3 { font-size: .88rem; line-height: 1.2; }
  .work-hud { top: .55rem; right: .55rem; }
  .work-hud .chip { font-size: 8px; padding: .22rem .4rem; }
  .work-zoom {
    top: .55rem;
    left: .55rem;
    width: 32px;
    height: 32px;
    opacity: 1;
  }
  .portfolio-cta {
    display: grid;
    grid-template-columns: 1fr;
    margin-top: 1.5rem;
  }
  .portfolio-cta .btn { width: 100%; }

  .process {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: min(82vw, 310px);
    grid-template-columns: none;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    margin: 0 calc(var(--pad) * -1);
    padding: 0 var(--pad) .75rem;
    scroll-padding-left: var(--pad);
  }
  .process::-webkit-scrollbar { display: none; }
  .step { min-height: 200px; scroll-snap-align: start; }

  .quote, .quote--featured { padding: 1.5rem 1.25rem; gap: 1.15rem; }
  .quote-mark { font-size: 3.5rem; }
  .quote--featured blockquote { font-size: 1.15rem; line-height: 1.5; }

  .faq-layout { gap: 1rem; }
  .faq-item summary { gap: .75rem; padding: 1.1rem 0; font-size: 1rem; line-height: 1.35; }
  .faq-item summary .icon { width: 34px; height: 34px; }
  .faq-item .answer { padding: 0 0 1.25rem; font-size: 14px; line-height: 1.65; }

  .contact-panel { gap: 2rem; padding: 1.25rem; }
  .contact-list a, .contact-list div { min-height: 48px; align-items: flex-start; overflow-wrap: anywhere; }
  .contact-list .icon-box { flex: 0 0 40px; }
  .quote-form { padding: 1rem; }
  .quote-form-head { gap: .75rem; }
  .quote-form-head .chip { flex-shrink: 0; }
  .field input, .field select, .field textarea {
    min-height: 48px;
    font-size: 16px;
  }

  .site-footer { padding: 3rem 0 calc(5rem + env(safe-area-inset-bottom)); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem 1.25rem; padding-bottom: 2.25rem; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-brand p { max-width: none; }
  .footer-col:last-child { grid-column: 1 / -1; }
  .footer-col a { display: inline-flex; min-height: 32px; align-items: center; }
  .footer-bottom { flex-direction: column; }

  .wa-float {
    right: max(1rem, env(safe-area-inset-right));
    bottom: max(1rem, env(safe-area-inset-bottom));
    width: 52px;
    height: 52px;
    padding: 0;
    justify-content: center;
    overflow: hidden;
  }
  .wa-float span { display: none; }

  .lightbox { padding: .75rem; align-items: center; }
  .lightbox figure { max-height: calc(100dvh - 1.5rem); }
  .lightbox img { max-height: 62dvh; }
  .lightbox figcaption { padding: .85rem; align-items: flex-start; }
  .lightbox figcaption strong { width: 100%; }
  .lb-btn { width: 44px; height: 44px; }
  .lb-close { top: .75rem; right: .75rem; }
  .lb-prev { left: .75rem; bottom: .75rem; }
  .lb-next { right: .75rem; bottom: .75rem; }
}

@media (max-width: 359px) {
  .hero h1 { font-size: 1.85rem; }
  .keyword-grid, .portfolio-grid, .footer-grid { grid-template-columns: 1fr; }
  .work--lg, .work--wide, .footer-brand, .footer-col:last-child { grid-column: auto; }
  .work, .work--lg, .work--wide { aspect-ratio: 16 / 10; }
}
