/* =========================================================
   KAPTAR FILMS — Criar, captar e conectar.
   Paleta oficial: preto, ciano/turquesa e branco
   ========================================================= */

/* Fontes da marca: Redock (títulos) e Sweetgrend (cursiva de destaque) */
@font-face {
  font-family: "Redock";
  src: url("../assets/fonts/Redock.woff2") format("woff2"), url("../assets/fonts/Redock.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Sweetgrend";
  src: url("../assets/fonts/Sweetgrend.woff2?v=2") format("woff2"), url("../assets/fonts/Sweetgrend.otf?v=2") format("opentype");
  font-weight: 400;
  font-display: swap;
}

:root {
  --bg: #04070a;
  --bg-2: rgba(7, 13, 18, .72);
  --panel: rgba(12, 22, 30, 0.72);
  --panel-solid: #0a141b;
  --line: rgba(18, 226, 232, 0.16);
  --line-strong: rgba(18, 226, 232, 0.45);
  --cyan: #00fff0;
  --cyan-2: #0fb8c9;
  --cyan-glow: rgba(18, 226, 232, 0.35);
  --white: #f2fbfc;
  --muted: #8ea4ab;
  --muted-2: #5d7279;

  --f-display: "Redock", "Outfit", system-ui, sans-serif;
  --f-script: "Sweetgrend", "Brush Script MT", cursive;
  --f-body: "Manrope", system-ui, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, monospace;

  --radius: 14px;
  --container: 1200px;
  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

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

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

body {
  margin: 0;
  background: var(--bg);
  color: var(--white);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  font-synthesis: none;
  overflow-x: hidden;
}

/* grade sutil de fundo */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  opacity: .7;
  background-image:
    linear-gradient(rgba(18, 226, 232, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(18, 226, 232, .035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at 50% 0%, #000 0%, transparent 75%);
}

main { overflow-x: clip; }
img { max-width: 100%; display: block; }

/* feixe de luz fixo atrás de tudo */
#beam { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -2; pointer-events: none; display: block; }

/* abertura com a logo */
.intro-veil { position: fixed; inset: 0; z-index: 200; background: var(--bg); pointer-events: none; }
.intro-logo {
  position: fixed; left: 50%; top: 50%; z-index: 201; pointer-events: none;
  width: min(64vw, 560px); aspect-ratio: 1200 / 521;
  margin-left: calc(min(64vw, 560px) / -2); margin-top: calc(min(64vw, 560px) * -0.217);
  transform-origin: center;
}
.intro-logo img { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.il-tri { transform-origin: 33% 56%; filter: drop-shadow(0 0 24px rgba(0, 255, 240, .7)); }
.il-glow { position: absolute; left: 33%; top: 56%; width: 120%; aspect-ratio: 1; translate: -50% -50%; border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 255, 240, .28), rgba(0, 110, 255, .1) 40%, transparent 65%); opacity: 0; }
.il-ring { position: absolute; left: 33%; top: 56%; width: 34%; aspect-ratio: 1; border-radius: 50%;
  border: 2px solid rgba(0, 255, 240, .9); box-shadow: 0 0 30px rgba(0, 255, 240, .6), inset 0 0 20px rgba(0, 255, 240, .4); opacity: 0; }
.il-shine { position: absolute; inset: 0;
  background: linear-gradient(105deg, transparent 38%, rgba(255, 255, 255, .95) 50%, transparent 62%) 160% 0 / 250% 100% no-repeat;
  -webkit-mask: url("../assets/img/logo-full.webp") center / 100% 100% no-repeat; mask: url("../assets/img/logo-full.webp") center / 100% 100% no-repeat;
  mix-blend-mode: screen; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }

.container { width: min(var(--container), 100% - 48px); margin-inline: auto; }

::selection { background: var(--cyan); color: var(--bg); }

:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 4px; }

/* ---------- tipografia ---------- */
h1, h2, h3, h4 {
  font-family: var(--f-display);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: .01em;
  margin: 0;
  text-transform: uppercase;
}

.accent { color: var(--cyan); text-shadow: 0 0 28px var(--cyan-glow); }

/* cursiva de destaque (Sweetgrend) */
.script {
  font-family: var(--f-script);
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  font-size: 1.25em;
  line-height: .9;
  color: var(--cyan);
  text-shadow: 0 0 24px var(--cyan-glow);
  display: inline-block;
  padding: 0 .08em;
}
.script-line {
  display: block;
  font-family: var(--f-script);
  font-size: clamp(30px, 3.2vw, 46px);
  line-height: 1.1;
  color: var(--cyan);
  text-shadow: 0 0 24px var(--cyan-glow);
  text-transform: none;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--cyan);
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
}

.section { padding: 120px 0; position: relative; }
.section--tight { padding: 80px 0; }

.section-head { max-width: 760px; margin-bottom: 56px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head h2 { font-size: clamp(36px, 5vw, 64px); margin: 18px 0 20px; }
.section-head h2 .cursor { color: var(--cyan); animation: blink 1.1s steps(1) infinite; }
.section-head p { color: var(--muted); font-size: 18px; margin: 0; }

@keyframes blink { 50% { opacity: 0; } }

/* ---------- botões ---------- */
.btn {
  --h: 54px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  height: var(--h);
  padding: 0 26px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  font-family: var(--f-mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  background: transparent;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s, color .3s, border-color .3s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn:hover { border-color: var(--cyan); box-shadow: 0 0 0 1px var(--cyan) inset, 0 0 24px rgba(18, 226, 232, .2); }

.btn--primary {
  background: var(--cyan);
  color: #021014;
  border-color: var(--cyan);
  box-shadow: 0 0 32px rgba(18, 226, 232, .35);
}
.btn--primary:hover { background: #5ff3f6; transform: translateY(-2px); box-shadow: 0 10px 40px rgba(18, 226, 232, .5); }

.btn--sm { --h: 42px; padding: 0 18px; font-size: 12px; }

/* ---------- moldura HUD (cantos) ---------- */
.hud { position: relative; }
.hud::before,
.hud::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  border: 2px solid var(--cyan);
  pointer-events: none;
  transition: width .4s var(--ease), height .4s var(--ease);
}
.hud::before { top: -1px; left: -1px; border-right: 0; border-bottom: 0; border-top-left-radius: 6px; }
.hud::after { bottom: -1px; right: -1px; border-left: 0; border-top: 0; border-bottom-right-radius: 6px; }

/* ---------- header ---------- */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--header-h);
  z-index: 50;
  transition: background .3s, border-color .3s, backdrop-filter .3s;
  border-bottom: 1px solid transparent;
}
.header.is-scrolled {
  background: rgba(4, 7, 10, .78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}
.header .container { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.logo { display: inline-flex; align-items: center; gap: 12px; }
.logo img { height: 46px; width: auto; display: block; filter: drop-shadow(0 0 10px rgba(0, 255, 240, .25)); transition: filter .3s; }
.logo:hover img { filter: drop-shadow(0 0 16px rgba(0, 255, 240, .5)); }
.footer .logo img { height: 64px; }
.logo-mark {
  width: 30px; height: 38px;
  color: var(--cyan);
  filter: drop-shadow(0 0 10px rgba(0, 255, 240, .55));
  transition: transform .4s var(--ease);
}
.logo:hover .logo-mark { transform: translateX(-3px); }
.logo-text { font-family: var(--f-display); font-weight: 600; font-size: 22px; letter-spacing: .12em; line-height: 1; }
.logo-text small { display: block; font-family: var(--f-mono); font-size: 9px; letter-spacing: .32em; color: var(--cyan); margin-top: 5px; font-weight: 500; }

.nav { display: flex; align-items: center; gap: 6px; }
.nav a {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 10px 16px;
  border-radius: 8px;
  border: 1px solid transparent;
  transition: color .25s, border-color .25s, background .25s;
}
.nav a:hover { color: var(--white); }
.nav a.is-active { color: var(--cyan); border-color: var(--line-strong); background: rgba(18, 226, 232, .06); }

.header-actions { display: flex; align-items: center; gap: 12px; }

.menu-toggle {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: transparent;
  position: relative;
}
.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  position: absolute;
  left: 50%;
  width: 18px; height: 1.5px;
  background: var(--white);
  transform: translateX(-50%);
  transition: transform .3s var(--ease), opacity .2s;
}
.menu-toggle span { top: 50%; }
.menu-toggle span::before { content: ""; top: -6px; }
.menu-toggle span::after { content: ""; top: 6px; }
.menu-open .menu-toggle span { background: transparent; }
.menu-open .menu-toggle span::before { transform: translate(-50%, 6px) rotate(45deg); }
.menu-open .menu-toggle span::after { transform: translate(-50%, -6px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  padding: calc(var(--header-h) + 60px) 0 90px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero::before { /* arco luminoso */
  content: "";
  position: absolute;
  left: 50%;
  top: -55vw;
  width: 150vw;
  height: 80vw;
  transform: translateX(-50%);
  border-radius: 50%;
  border-bottom: 1.5px solid rgba(18, 226, 232, .55);
  box-shadow: 0 30px 120px -20px rgba(18, 226, 232, .45);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 40% at 70% 50%, rgba(18, 226, 232, .12), transparent 70%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--cyan);
  background: rgba(18, 226, 232, .05);
}
.tag .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); animation: pulse 1.8s infinite; }
@keyframes pulse { 50% { opacity: .35; } }

.hero h1 {
  font-size: clamp(38px, 4.2vw, 62px);
  margin: 26px 0 24px;
}
.hero h1 .accent { display: inline; }
.hero-lead { font-size: 18px; color: var(--muted); max-width: 540px; margin: 0 0 38px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-meta {
  margin-top: 46px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.hero-meta span::before { content: "// "; color: var(--cyan); }

.hero-visual { position: relative; }
.hero-frame {
  position: relative;
  aspect-ratio: 4 / 5;
  border: 1px solid var(--line-strong);
  border-radius: 20px;
  overflow: hidden;
  background: var(--panel-solid);
  box-shadow: 0 0 80px rgba(18, 226, 232, .12);
}
.hero-frame img { width: 100%; height: 100%; object-fit: cover; }
.hero-frame::after { /* scanlines */
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(0deg, rgba(0, 0, 0, .14) 0 1px, transparent 1px 3px);
  pointer-events: none;
}

.rec {
  position: absolute;
  top: 18px; left: 18px;
  z-index: 3;
  display: flex; align-items: center; gap: 8px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: .16em;
  padding: 6px 10px;
  border-radius: 6px;
  background: rgba(0, 0, 0, .55);
}
.rec i { width: 8px; height: 8px; border-radius: 50%; background: #ff3b4a; box-shadow: 0 0 10px #ff3b4a; animation: pulse 1.2s infinite; }

.float-card {
  position: absolute;
  z-index: 4;
  padding: 16px 18px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: rgba(6, 14, 19, .82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.float-card strong { display: block; font-family: var(--f-display); font-size: 30px; color: var(--cyan); letter-spacing: 0; line-height: 1; margin-bottom: 6px; }
.float-card--a { left: -36px; bottom: 70px; }
.float-card--b { right: -28px; top: 64px; }
.float-card ul { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 6px; color: var(--muted); }
.float-card li::before { content: "> "; color: var(--cyan); }

.scroll-hint {
  position: absolute;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  z-index: 3;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: .3em;
  color: var(--muted-2);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.scroll-hint::after { content: ""; width: 1px; height: 36px; background: linear-gradient(var(--cyan), transparent); animation: drip 2s infinite; }
@keyframes drip { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ---------- nuvem de partículas (claquete -> câmera) ---------- */
#nebula { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -1; display: block; pointer-events: none; opacity: 0; }
.hero h1 { text-shadow: 0 0 40px rgba(0, 0, 0, .7), 0 2px 12px rgba(0, 0, 0, .55); }
.hero-lead { color: #c3d3d8 !important; text-shadow: 0 1px 14px rgba(0, 0, 0, .9); }

/* ---------- animação do título da hero ---------- */
.hero-title .w { display: inline-block; overflow: hidden; vertical-align: top; padding: .26em .04em .14em; margin: -.26em -.04em -.14em; }
.hero-title .w-in {
  display: inline-block; transform: translateY(110%) rotate(4deg); opacity: 0; filter: blur(8px);
  transition: transform .9s cubic-bezier(.2, .8, .2, 1), opacity .9s, filter .9s;
  transition-delay: calc(var(--i) * 70ms);
}
.hero-title.is-in .w-in { transform: none; opacity: 1; filter: none; }
/* brilho que passa na frase em ciano */
.hero-title .accent .w-in {
  color: transparent; text-shadow: none;
  background: linear-gradient(100deg, var(--cyan) 0%, var(--cyan) 38%, #ffffff 50%, var(--cyan) 62%, var(--cyan) 100%);
  background-size: 300% 100%; background-position: 100% 0;
  -webkit-background-clip: text; background-clip: text;
  padding: .3em .03em .18em; margin: -.3em -.03em -.18em; /* cobre acentos e cedilha */
}
.hero-title .accent { filter: drop-shadow(0 0 18px rgba(0, 255, 240, .35)); }
.hero-title.is-in .accent .w-in { animation: shine 4.5s ease-in-out 2.2s infinite; }
@keyframes shine { 0% { background-position: 100% 0; } 45%, 100% { background-position: 0% 0; } }
@media (prefers-reduced-motion: reduce) {
  .hero-title .w-in { transform: none; opacity: 1; filter: none; }
  .hero-title .accent .w-in { animation: none !important; }
}

/* ---------- equipe recortada na hero ---------- */
.hero-copy { position: relative; z-index: 4; }
.hero-visual { min-height: 600px; align-self: center; }
.hero-visual::before { /* brilho atrás das pessoas */
  content: ""; position: absolute; left: -20%; right: -10%; bottom: 8%; height: 70%;
  background: radial-gradient(ellipse 50% 55% at 50% 60%, rgba(0, 255, 240, .16), rgba(0, 110, 255, .08) 45%, transparent 70%);
  pointer-events: none;
}
#orb {
  position: absolute; left: -72%; width: 250%; top: -36%; height: 150%;
  z-index: 1; pointer-events: none; display: block;
  filter: blur(5px) saturate(1.35) brightness(1.25); opacity: 0; transition: opacity 1.6s var(--ease);
}
.orb-ready #orb { opacity: 1; }
.hero-team-wrap {
  position: absolute; top: 104px; right: -12%;
  width: 118%; z-index: 2; pointer-events: none;
}
.hero-team {
  display: block; width: 100%; max-width: none; height: auto;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, .45));
}
/* névoa ciano/branca sobre a cintura (mesma linguagem da bola) */
.hero-fog {
  /* preto neutro (sem tom azul sobre as roupas), descendo até o fundo da hero */
  position: absolute; left: -75%; right: -75%; top: 76%; bottom: -300px;
  z-index: 3; pointer-events: none;
  background: linear-gradient(to bottom,
    rgba(4, 7, 10, 0) 0%,
    rgba(4, 7, 10, .55) 9%,
    rgba(4, 7, 10, .9) 16%,
    #04070a 21%, #04070a 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 22%, #000 78%, transparent 100%);
          mask-image: linear-gradient(to right, transparent 0%, #000 22%, #000 78%, transparent 100%);
}
/* brilho ciano/branco logo ABAIXO da linha do corte (não encosta nas roupas) */
.hero-fog i {
  position: absolute; top: 19%; height: 13%; border-radius: 50%; filter: blur(18px);
  animation: fogDrift var(--fd, 9s) ease-in-out infinite alternate;
}
.hero-fog i:nth-child(1) { left: 31%; width: 13%; background: radial-gradient(circle, rgba(225, 255, 255, .32), rgba(0, 255, 240, .14) 45%, transparent 70%); --fd: 8s; }
.hero-fog i:nth-child(2) { left: 43%; width: 14%; background: radial-gradient(circle, rgba(0, 255, 240, .28), rgba(0, 180, 200, .1) 45%, transparent 70%); --fd: 10s; animation-delay: -3s; }
.hero-fog i:nth-child(3) { left: 56%; width: 13%; background: radial-gradient(circle, rgba(225, 255, 255, .3), rgba(0, 255, 240, .14) 45%, transparent 70%); --fd: 9s; animation-delay: -6s; }
@keyframes fogDrift { 0% { transform: translateX(-6%) scale(1); opacity: .7; } 100% { transform: translateX(6%) scale(1.06); opacity: 1; } }

/* ---------- tags flutuantes da hero ---------- */
.floating-tags { position: absolute; inset: -30px -40px -30px -16px; pointer-events: none; z-index: 5; }
.hero-visual .floating-tags { inset: 0; }
.ftag {
  position: absolute;
  left: var(--x); top: var(--y);
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(4, 12, 16, .78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--white);
  white-space: nowrap;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .35), 0 0 18px rgba(0, 255, 240, .08);
  translate: var(--px, 0) var(--py, 0);
  transition: translate .6s var(--ease);
  animation: drift var(--d, 7s) ease-in-out var(--delay, 0s) infinite alternate;
}
.ftag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 8px var(--cyan); }
.ftag--solid { background: var(--cyan); color: #021014; border-color: var(--cyan); font-weight: 700; }
.ftag { transition: translate .5s var(--ease), border-color .3s, box-shadow .3s, color .3s; }
.ftag.is-near { border-color: var(--cyan); color: var(--cyan); box-shadow: 0 8px 24px rgba(0, 0, 0, .35), 0 0 22px rgba(0, 255, 240, .35); }
.ftag--solid::before { background: #021014; box-shadow: none; }
@keyframes bob { 0% { transform: translateY(0); } 100% { transform: translateY(-5px); } }
@keyframes drift {
  0%   { transform: translate(0, 0) rotate(-2deg); }
  50%  { transform: translate(8px, -14px) rotate(1deg); }
  100% { transform: translate(-6px, 10px) rotate(2deg); }
}

/* ---------- placeholders de imagem ---------- */
.ph {
  position: relative;
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 24px;
  background:
    radial-gradient(circle at 30% 20%, rgba(18, 226, 232, .18), transparent 55%),
    radial-gradient(circle at 80% 90%, rgba(15, 184, 201, .14), transparent 50%),
    linear-gradient(160deg, #0b1820, #050a0e);
  color: var(--muted);
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.ph svg { width: 42px; height: 42px; margin: 0 auto 12px; color: var(--cyan); opacity: .8; }

/* ---------- faixa ticker ---------- */
.ticker {
  position: relative;
  background: var(--cyan);
  color: #021014;
  overflow: hidden;
  padding: 16px 0;
  transform: rotate(-1.2deg);
  margin: -10px -20px 0;
  box-shadow: 0 0 60px rgba(18, 226, 232, .3);
  z-index: 5;
}
.ticker-track { display: flex; width: max-content; animation: marquee 30s linear infinite; }
.ticker-track span {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 0 28px;
  display: inline-flex; align-items: center; gap: 56px;
  white-space: nowrap;
}
.ticker-track span::after { content: "✦"; font-size: 16px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- sobre ---------- */
.about-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: start; }
.about-text p { color: var(--muted); font-size: 17px; margin: 0 0 18px; }
.about-text p strong { color: var(--white); font-weight: 600; }
.about-quote {
  margin: 34px 0 0;
  font-size: 24px !important;
  padding: 22px 26px;
  border-left: 2px solid var(--cyan);
  background: linear-gradient(90deg, rgba(18, 226, 232, .08), transparent);
  font-family: var(--f-display);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.3;
  text-transform: uppercase;
}

.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.stat {
  position: relative;
  overflow: hidden;
  padding: 28px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  transition: border-color .4s, transform .3s var(--ease), box-shadow .5s, background-color .5s;
}
.stat.hud { overflow: visible; }
.stat:hover { border-color: var(--line-strong); transform: translateY(-4px); }
.stat strong { display: inline-block; transform-origin: left center; transition: transform .5s var(--ease), text-shadow .5s, color .5s; font-family: var(--f-display); font-size: 48px; line-height: 1; color: var(--cyan); text-shadow: 0 0 24px var(--cyan-glow); }
.stat span { display: block; margin-top: 10px; transition: color .5s; font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.stat--wide { grid-column: span 2; display: flex; align-items: center; gap: 22px; }
.stat--wide strong { font-size: 30px; }
.stat--wide span { margin: 0; }

/* destaque: quando a linha passa pela caixa ou o mouse está em cima */
.stat.is-lit,
.stat:hover {
  border-color: rgba(0, 255, 240, .55);
  background-color: rgba(8, 34, 40, .78);
  box-shadow: 0 0 0 1px rgba(0, 255, 240, .12) inset, 0 0 34px rgba(0, 255, 240, .14), 0 18px 40px rgba(0, 0, 0, .35);
}
.stat.is-lit strong,
.stat:hover strong { transform: scale(1.08); color: #7ffff8; text-shadow: 0 0 18px rgba(0, 255, 240, .75), 0 0 46px rgba(0, 255, 240, .4); }
.stat.is-lit span,
.stat:hover span { color: var(--white); }
.stat:not(.hud)::after {                 /* brilho que varre a caixa */
  content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
  background: linear-gradient(105deg, transparent 35%, rgba(0, 255, 240, .16) 50%, transparent 65%);
  transform: translateX(-110%);
}
.stat.is-lit:not(.hud)::after { transform: translateX(110%); transition: transform 1.1s var(--ease); }
.stat:hover:not(.hud)::after { transform: translateX(110%); transition: transform .8s var(--ease); }

/* a linha de corte (js/about-cut.js) */
.about-grid { position: relative; }
.about-cut { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; z-index: 3; }
.about-cut path { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.about-cut .line { stroke: var(--cyan); stroke-width: 2; }
.about-cut .glow { stroke: rgba(0, 255, 240, .35); stroke-width: 7; filter: blur(5px); }
.about-cut .tip { fill: #eafffe; filter: drop-shadow(0 0 6px var(--cyan)) drop-shadow(0 0 14px var(--cyan)); }
.about-cut .halo { fill: none; stroke: rgba(0, 255, 240, .4); stroke-width: 1.4; animation: cutHalo 1.6s ease-out infinite; transform-box: fill-box; transform-origin: center; }
.about-cut .tip, .about-cut .halo { opacity: 0; transition: opacity .3s; }
.about-cut.is-started .tip, .about-cut.is-started .halo { opacity: 1; }
.about-cut .ring { fill: none; stroke: var(--cyan); stroke-width: 1.2; stroke-dasharray: 3 7; opacity: 0; transition: opacity .35s; animation: ringSpin 6s linear infinite; }
.about-cut .ring.is-on { opacity: .8; }
@keyframes cutHalo { from { transform: scale(.5); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }
@keyframes ringSpin { to { stroke-dashoffset: -100; } }

/* título surgindo letra por letra */
.split-title .w { display: inline-block; white-space: nowrap; }
.split-title .ch {
  display: inline-block; opacity: 0; filter: blur(10px);
  transform: translateY(.55em) rotate(6deg);
  transition: opacity .6s var(--ease), transform .7s var(--ease), filter .6s var(--ease);
  transition-delay: calc(var(--i) * 28ms);
}
.split-title .script .ch { transform: translateY(.2em) scale(.6); transition-duration: .5s, .9s, .5s; }
.split-title.is-in .ch { opacity: 1; filter: none; transform: none; }

/* ---------- cards de serviço ---------- */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.card {
  position: relative;
  padding: 34px 26px 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(18, 226, 232, .05), transparent 50%), var(--panel);
  overflow: hidden;
  transition: border-color .35s, transform .35s var(--ease), box-shadow .35s;
}
.card::before {
  content: "";
  position: absolute;
  top: 0; left: 20%; right: 20%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  opacity: 0;
  transition: opacity .35s;
}
.card:hover { border-color: var(--line-strong); transform: translateY(-6px); box-shadow: 0 20px 50px -20px rgba(18, 226, 232, .3); }
.card:hover::before { opacity: 1; }
.card-num { position: absolute; top: 22px; right: 22px; font-family: var(--f-mono); font-size: 11px; color: var(--muted-2); letter-spacing: .1em; }
.card-icon {
  width: 56px; height: 56px;
  display: grid; place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  color: var(--cyan);
  background: rgba(18, 226, 232, .06);
  margin-bottom: 26px;
  box-shadow: inset 0 0 18px rgba(18, 226, 232, .12);
}
.card-icon svg { width: 26px; height: 26px; }
.card h3 { font-size: 20px; margin-bottom: 14px; }
.card p { color: var(--muted); font-size: 15px; margin: 0; }
.cards-cta { margin-top: 44px; display: flex; justify-content: center; }

/* ---------- carrossel 3D de serviços ---------- */
.orbit { position: relative; height: 560px; perspective: 1600px; perspective-origin: 50% 36%; cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none; outline: none; }
.orbit.dragging { cursor: grabbing; }
.orbit:focus-visible { outline: 1px dashed var(--line-strong); outline-offset: 8px; border-radius: 20px; }
.orbit-ring { position: absolute; left: 50%; top: 46%; width: 0; height: 0; transform-style: preserve-3d; }
.orbit-card {
  position: absolute; width: var(--w); height: var(--h); left: calc(var(--w) / -2); top: calc(var(--h) / -2);
  font-size: var(--fs); display: flex; flex-direction: column; gap: .55em; padding: 1.35em 1.25em 1.2em;
  border-radius: 18px; border: 1px solid var(--line-strong); color: var(--white);
  background: linear-gradient(170deg, rgba(0, 255, 240, .10), rgba(8, 18, 26, .95) 48%), #07111a;
  box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .7), inset 0 1px 0 rgba(255, 255, 255, .06);
  backface-visibility: visible; will-change: transform; transition: border-color .3s, box-shadow .3s;
}
.orbit-card.is-front { border-color: var(--cyan); box-shadow: 0 0 44px rgba(0, 255, 240, .28), inset 0 1px 0 rgba(255, 255, 255, .08); }
.orbit-area { font-family: var(--f-mono); font-size: .62em; letter-spacing: .16em; text-transform: uppercase; color: var(--cyan); }
.orbit-icon { width: 3em; height: 3em; display: grid; place-items: center; border: 1px solid var(--line-strong); border-radius: .7em; color: var(--cyan); background: rgba(0, 255, 240, .06); margin: .3em 0 .2em; }
.orbit-icon svg { width: 1.45em; height: 1.45em; }
.orbit-card h3 { font-size: 1.32em; line-height: 1.05; }
.orbit-card p { margin: 0; font-size: .82em; line-height: 1.45; color: var(--muted); }
.orbit-more { margin-top: auto; font-family: var(--f-mono); font-size: .62em; letter-spacing: .14em; text-transform: uppercase; color: var(--cyan); }
.orbit { margin-bottom: 34px; }
.orbit-hint { position: absolute; left: 50%; bottom: -30px; transform: translateX(-50%); font-family: var(--f-mono); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted-2); }

/* ---------- fundador ---------- */
.founder { display: grid; grid-template-columns: .9fr 1.1fr; gap: 72px; align-items: start; }
.founder-photo { position: sticky; top: calc(var(--header-h) + 30px); }
.founder-photo .frame { aspect-ratio: 4 / 5; border-radius: 18px; overflow: hidden; border: 1px solid var(--line-strong); }
.founder-photo .frame img { width: 100%; height: 100%; object-fit: cover; }
.founder-photo { position: sticky; }
.frame-polaroid {
  position: absolute; right: -36px; bottom: 54px; width: 58%;
  padding: 10px 10px 34px; background: #f2fbfc; border-radius: 6px;
  transform: rotate(4deg); box-shadow: 0 24px 50px rgba(0, 0, 0, .55), 0 0 30px rgba(0, 255, 240, .15);
  transition: transform .5s var(--ease);
}
.frame-polaroid:hover { transform: rotate(0deg) scale(1.04); }
.frame-polaroid img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 2px; display: block; }
.frame-polaroid span { position: absolute; left: 0; right: 0; bottom: 9px; text-align: center; font-family: var(--f-script); font-size: 20px; color: #0a1a20; line-height: 1; }
.founder-photo figcaption {
  margin-top: 18px;
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
}
.founder-photo figcaption b { color: var(--cyan); font-family: var(--f-script); font-weight: 400; font-size: 40px; letter-spacing: 0; text-transform: none; text-shadow: 0 0 20px var(--cyan-glow); }

.founder-body > p { color: var(--muted); font-size: 17px; margin: 0 0 18px; }
.founder-body h3.founder-name { font-size: 15px; font-family: var(--f-mono); color: var(--cyan); letter-spacing: .12em; margin: 0 0 22px; font-weight: 500; }

.timeline { list-style: none; margin: 40px 0 34px; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 11px; top: 8px; bottom: 8px; width: 1px; background: linear-gradient(var(--cyan), rgba(18, 226, 232, .1)); }
.timeline li { position: relative; padding: 0 0 30px 48px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
  content: "";
  position: absolute; left: 4px; top: 6px;
  width: 15px; height: 15px; border-radius: 50%;
  border: 2px solid var(--cyan);
  background: var(--bg);
  box-shadow: 0 0 12px var(--cyan-glow);
}
.timeline li:last-child::before { background: var(--cyan); }
.timeline .when { font-family: var(--f-mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--cyan); }
.timeline h4 { font-size: 19px; margin: 6px 0 6px; }
.timeline p { color: var(--muted); margin: 0; font-size: 15px; }

.signature { font-family: var(--f-display); font-size: 24px; font-weight: 600; text-transform: uppercase; line-height: 1.25; margin: 0; }

/* ---------- equipe ---------- */
.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.member {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  overflow: hidden;
  transition: border-color .35s, transform .35s var(--ease);
}
.member:hover { border-color: var(--line-strong); transform: translateY(-6px); }
.member-photo { aspect-ratio: 1 / 1; overflow: hidden; position: relative; }
.member-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.member:hover .member-photo img { transform: scale(1.05); }
.member-info { padding: 24px 24px 28px; }
.member-role { font-family: var(--f-mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--cyan); }
.member h3 { font-size: 22px; margin: 8px 0 10px; color: var(--white); }
.member p { color: var(--muted); font-size: 15px; margin: 0; }

/* ---------- clientes (marquee) ---------- */
.clients { padding: 70px 0; border-block: 1px solid var(--line); background: var(--bg-2); }
.clients-title { text-align: center; font-family: var(--f-mono); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin: 0 0 34px; }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; gap: 22px; width: max-content; animation: marquee 40s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.client-logo {
  flex: none;
  width: 200px; height: 104px;
  display: grid; place-items: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, .015);
  font-family: var(--f-display);
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted-2);
  transition: color .3s, border-color .3s;
}
.client-logo img { width: auto; height: auto; max-width: 150px; max-height: 76px; object-fit: contain; opacity: .82; transition: opacity .3s, transform .4s var(--ease); }
.client-logo:hover { color: var(--white); border-color: var(--line-strong); }
.client-logo:hover img { opacity: 1; transform: scale(1.06); }

/* ---------- CTA final ---------- */
.cta-box {
  position: relative;
  padding: 80px 64px;
  border: 1px solid var(--line-strong);
  border-radius: 24px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 60% 80% at 100% 0%, rgba(18, 226, 232, .22), transparent 60%),
    radial-gradient(ellipse 50% 70% at 0% 100%, rgba(15, 184, 201, .12), transparent 60%),
    var(--panel-solid);
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 48px;
  align-items: center;
}
.cta-box::after { /* anéis decorativos */
  content: "";
  position: absolute;
  right: -120px; top: -120px;
  width: 420px; height: 420px;
  border-radius: 50%;
  border: 1px solid rgba(18, 226, 232, .2);
  box-shadow: 0 0 0 50px rgba(18, 226, 232, .03), 0 0 0 100px rgba(18, 226, 232, .02);
  pointer-events: none;
}
.cta-box h2 { font-size: clamp(32px, 4.4vw, 54px); margin: 18px 0 20px; }
.cta-box p { color: var(--muted); font-size: 17px; margin: 0; max-width: 560px; }
.cta-actions { position: relative; z-index: 2; display: grid; gap: 14px; }
.cta-actions .btn { width: 100%; }
.cta-note { font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); text-align: center; margin-top: 6px; }

/* ---------- footer ---------- */
.footer { padding: 80px 0 0; border-top: 1px solid var(--line); background: var(--bg-2); margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 60px; }
.footer p { color: var(--muted); font-size: 15px; margin: 18px 0 0; max-width: 320px; }
.footer h4 { font-family: var(--f-mono); font-size: 12px; font-weight: 500; letter-spacing: .18em; color: var(--cyan); margin-bottom: 20px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.footer ul a { color: var(--muted); font-size: 15px; display: inline-flex; align-items: center; gap: 10px; transition: color .25s; }
.footer ul a:hover { color: var(--cyan); }
.footer ul svg { width: 18px; height: 18px; color: var(--cyan); flex: none; }
.footer-bottom {
  border-top: 1px solid var(--line);
  padding: 24px 0;
  display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2);
}

/* ---------- WhatsApp flutuante ---------- */
.wa-float {
  position: fixed;
  right: 22px; bottom: 22px;
  z-index: 60;
  width: 60px; height: 60px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--cyan);
  color: #021014;
  box-shadow: 0 0 0 0 rgba(18, 226, 232, .6), 0 10px 30px rgba(0, 0, 0, .4);
  animation: ring 2.6s infinite;
  transition: transform .3s var(--ease);
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; }
@keyframes ring { 0% { box-shadow: 0 0 0 0 rgba(18, 226, 232, .55), 0 10px 30px rgba(0, 0, 0, .4); } 70%, 100% { box-shadow: 0 0 0 18px rgba(18, 226, 232, 0), 0 10px 30px rgba(0, 0, 0, .4); } }

/* ---------- cabeçalho de páginas internas ---------- */
.page-hero {
  position: relative;
  padding: calc(var(--header-h) + 100px) 0 90px;
  overflow: hidden;
  text-align: center;
}
.page-hero::before {
  content: "";
  position: absolute;
  left: 50%; top: -70vw;
  width: 160vw; height: 90vw;
  transform: translateX(-50%);
  border-radius: 50%;
  border-bottom: 1.5px solid rgba(18, 226, 232, .5);
  box-shadow: 0 30px 120px -20px rgba(18, 226, 232, .4);
  pointer-events: none;
}
.page-hero .eyebrow { justify-content: center; }
.page-hero h1 { font-size: clamp(38px, 6vw, 80px); margin: 22px auto 22px; max-width: 980px; }
.page-hero p { color: var(--muted); font-size: 18px; max-width: 680px; margin: 0 auto; }
.breadcrumb { margin-top: 34px; font-family: var(--f-mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted-2); }
.breadcrumb a:hover { color: var(--cyan); }
.breadcrumb b { color: var(--cyan); font-weight: 500; }

/* ---------- página serviços ---------- */
.subnav { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 40px; }
.subnav a {
  font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  padding: 10px 16px; border: 1px solid var(--line); border-radius: 8px; color: var(--muted);
  transition: color .25s, border-color .25s;
}
.subnav a:hover { color: var(--cyan); border-color: var(--line-strong); }

.area {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 56px;
  padding: 72px 0;
  border-top: 1px solid var(--line);
}
.area:first-of-type { border-top: 0; }
.area-head { position: sticky; top: calc(var(--header-h) + 30px); align-self: start; }
.area-index { font-family: var(--f-display); font-size: 84px; font-weight: 700; line-height: .9; color: transparent; -webkit-text-stroke: 1px var(--line-strong); }
.area-head h2 { font-size: 34px; margin: 18px 0 16px; }
.area-head p { color: var(--muted); margin: 0 0 28px; }

.service-list { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.service {
  padding: 26px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  display: flex; flex-direction: column;
  transition: border-color .3s, transform .3s var(--ease);
}
.service:hover { border-color: var(--line-strong); transform: translateY(-4px); }
.service .card-icon { width: 46px; height: 46px; margin-bottom: 20px; }
.service .card-icon svg { width: 22px; height: 22px; }
.service h3 { font-size: 18px; margin-bottom: 10px; }
.service p { color: var(--muted); font-size: 15px; margin: 0 0 22px; flex: 1; }
.service-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--cyan);
}
.service-link svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.service-link:hover svg { transform: translateX(4px); }

/* pacotes */
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; align-items: stretch; }
.plan > p { flex: 1; }
@media (max-width: 1100px) { .plans { grid-template-columns: repeat(2, 1fr); max-width: 760px; margin-inline: auto; } }
.plan {
  position: relative;
  padding: 40px 32px 34px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--panel);
  display: flex; flex-direction: column;
  transition: border-color .3s, transform .3s var(--ease);
}
.plan:hover { transform: translateY(-6px); border-color: var(--line-strong); }
.plan--featured {
  border-color: var(--cyan);
  background: linear-gradient(180deg, rgba(18, 226, 232, .12), transparent 60%), var(--panel-solid);
  box-shadow: 0 0 60px -10px rgba(18, 226, 232, .35);
}
.plan-badge {
  position: absolute; top: -13px; left: 32px;
  padding: 5px 12px; border-radius: 6px;
  background: var(--cyan); color: #021014;
  font-family: var(--f-mono); font-size: 10px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
}
.plan-level { font-family: var(--f-mono); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--cyan); }
.plan h3 { font-size: 30px; margin: 10px 0 14px; }
.plan > p { color: var(--muted); margin: 0 0 26px; }
.plan ul { list-style: none; margin: 0 0 32px; padding: 26px 0 0; border-top: 1px solid var(--line); display: grid; gap: 12px; flex: 1; }
.plan li { display: flex; gap: 12px; font-size: 15px; color: var(--white); }
.plan li svg { width: 18px; height: 18px; color: var(--cyan); flex: none; margin-top: 3px; }
.plan .btn { width: 100%; }
.plans-foot { text-align: center; color: var(--muted); margin: 40px auto 0; max-width: 620px; }
.plans-foot a { color: var(--cyan); border-bottom: 1px solid var(--line-strong); }

/* ---------- portfólio ---------- */
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 48px; }
.filter {
  font-family: var(--f-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
  padding: 12px 18px; border: 1px solid var(--line); border-radius: 9px; background: transparent; color: var(--muted);
  transition: color .25s, border-color .25s, background .25s;
}
.filter:hover { color: var(--white); border-color: var(--line-strong); }
.filter.is-active { color: #021014; background: var(--cyan); border-color: var(--cyan); }
.filter sup { font-size: 9px; margin-left: 4px; opacity: .7; }

.grid-works { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 1100px) { .grid-works { grid-template-columns: repeat(3, 1fr); } }
.work {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  overflow: hidden;
  text-align: left;
  padding: 0;
  transition: border-color .35s, transform .35s var(--ease), box-shadow .35s;
  animation: fadeUp .5s var(--ease) both;
}
.work:hover { border-color: var(--line-strong); transform: translateY(-6px); box-shadow: 0 24px 60px -24px rgba(18, 226, 232, .35); }
.work--vertical .work-thumb { aspect-ratio: 9 / 12; }
.work-thumb { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.work-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.work:hover .work-thumb img { transform: scale(1.06); }
.work-thumb::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(4, 7, 10, .85));
}
.play {
  position: absolute;
  left: 50%; top: 50%;
  z-index: 2;
  width: 66px; height: 66px;
  transform: translate(-50%, -50%) scale(.9);
  border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(4, 7, 10, .55);
  border: 1.5px solid var(--cyan);
  color: var(--cyan);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 0 30px rgba(18, 226, 232, .4);
  transition: transform .35s var(--ease), background .35s, color .35s;
}
.play svg { width: 24px; height: 24px; margin-left: 3px; }
.work:hover .play { transform: translate(-50%, -50%) scale(1.05); background: var(--cyan); color: #021014; }
.work-cat {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  font-family: var(--f-mono); font-size: 10px; letter-spacing: .16em; text-transform: uppercase;
  padding: 6px 10px; border-radius: 6px; background: rgba(4, 7, 10, .7); border: 1px solid var(--line-strong); color: var(--cyan);
}
.work-info { padding: 20px 22px 22px; display: flex; justify-content: space-between; align-items: end; gap: 14px; }
.work-info h3 { font-size: 18px; margin-bottom: 6px; }
.work-info span { font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.work-arrow { width: 38px; height: 38px; flex: none; display: grid; place-items: center; border: 1px solid var(--line-strong); border-radius: 9px; color: var(--cyan); transition: background .3s, color .3s; }
.work-arrow svg { width: 16px; height: 16px; }
.work:hover .work-arrow { background: var(--cyan); color: #021014; }

@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* galeria de fotos/artes */
.gallery { columns: 3; column-gap: 18px; }
.gallery-item {
  break-inside: avoid;
  margin-bottom: 18px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  display: block;
  width: 100%;
  padding: 0;
  background: none;
  transition: border-color .3s;
}
.gallery-item:hover { border-color: var(--line-strong); }
.gallery-item img { width: 100%; transition: transform .6s var(--ease); }
.gallery-item:hover img { transform: scale(1.04); }
.gallery-item .ph { min-height: 220px; }
.gallery-item.tall .ph { min-height: 340px; }

/* prévia ao passar o mouse e legendas da galeria */
.work-preview { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .4s; z-index: 1; }
.work-preview.is-on { opacity: 1; }
.work-thumb .play, .work-thumb .work-cat { z-index: 3; }
.work:hover .work-preview.is-on ~ .play { opacity: 0; }
.gallery-item { position: relative; }
.gallery-tag { position: absolute; top: 12px; left: 12px; z-index: 2; font-family: var(--f-mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; padding: 5px 9px; border-radius: 6px; background: rgba(4, 7, 10, .75); border: 1px solid var(--line-strong); color: var(--cyan); }
.gallery-cap { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 34px 14px 12px; text-align: left; font-size: 12px; color: var(--muted); background: linear-gradient(transparent, rgba(4, 7, 10, .92)); opacity: 0; transform: translateY(8px); transition: opacity .3s, transform .3s; }
.gallery-cap b { display: block; font-family: var(--f-display); font-weight: 400; font-size: 17px; color: var(--white); text-transform: uppercase; }
.gallery-item:hover .gallery-cap, .gallery-item:focus-visible .gallery-cap { opacity: 1; transform: none; }
.modal-nav { display: none; position: absolute; top: 50%; z-index: 3; width: 46px; height: 46px; margin-top: -40px; border-radius: 50%; border: 1px solid var(--line-strong); background: rgba(4, 7, 10, .7); color: var(--white); place-items: center; transition: background .25s, color .25s; }
.modal-nav svg { width: 22px; height: 22px; }
.modal-nav:hover { background: var(--cyan); color: #021014; }
.modal-nav--prev { left: -64px; } .modal-nav--next { right: -64px; }
.modal.is-gallery .modal-nav { display: grid; }
.modal.is-gallery .modal-inner.is-vertical { width: min(520px, 100%); }
.modal.is-gallery .is-vertical .modal-video { aspect-ratio: auto; max-height: 82vh; background: transparent; border: 0; }
.modal.is-gallery .modal-video img { position: static; display: block; width: 100%; height: auto; max-height: 82vh; object-fit: contain; border-radius: 12px; }
@media (max-width: 700px) { .modal-nav--prev { left: 6px; } .modal-nav--next { right: 6px; } }

/* ---------- modal de vídeo ---------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(2, 5, 7, .88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .35s, visibility .35s;
}
.modal.is-open { opacity: 1; visibility: visible; }
.modal-inner {
  position: relative;
  width: min(1100px, 100%);
  transform: scale(.96) translateY(10px);
  transition: transform .4s var(--ease);
}
.modal.is-open .modal-inner { transform: none; }
.modal-inner.is-vertical { width: min(420px, 100%); }
.modal-video {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  background: #000;
  box-shadow: 0 0 100px rgba(18, 226, 232, .2);
}
.is-vertical .modal-video { aspect-ratio: 9 / 16; max-height: 80vh; margin-inline: auto; }
.modal-video iframe,
.modal-video video,
.modal-video img { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: contain; }
.modal-video .ph { position: absolute; inset: 0; }
.modal-caption { margin-top: 18px; display: flex; justify-content: space-between; gap: 18px; align-items: center; flex-wrap: wrap; }
.modal-caption h3 { font-size: 22px; }
.modal-caption span { font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--cyan); }
.modal-close {
  position: absolute;
  top: -56px; right: 0;
  width: 44px; height: 44px;
  border-radius: 10px;
  border: 1px solid var(--line-strong);
  background: rgba(4, 7, 10, .6);
  display: grid; place-items: center;
  color: var(--white);
  transition: background .25s, color .25s;
}
.modal-close:hover { background: var(--cyan); color: #021014; }
.modal-close svg { width: 20px; height: 20px; }

/* ---------- animação de entrada ---------- */
.reveal { opacity: 0; filter: blur(14px); transform: translateY(28px) scale(.985); transition: opacity 1s var(--ease), transform 1s var(--ease), filter 1s var(--ease); }
.reveal.is-visible { opacity: 1; filter: none; transform: none; }
.reveal[data-delay="1"] { transition-delay: .1s; }
.reveal[data-delay="2"] { transition-delay: .2s; }
.reveal[data-delay="3"] { transition-delay: .3s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; filter: none; }
  .split-title .ch { opacity: 1; transform: none; filter: none; }
  html { scroll-behavior: auto; }
}

/* =========================================================
   RESPONSIVO
   ========================================================= */
@media (max-width: 1080px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .area { grid-template-columns: 1fr; gap: 32px; }
  .area-head { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .float-card--a { left: 12px; }
  .float-card--b { right: 12px; }
}

@media (max-width: 900px) {
  :root { --header-h: 68px; }
  .logo img { height: 40px; }
  .section { padding: 90px 0; }

  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 18px 24px 26px;
    background: rgba(4, 7, 10, .97);
    border-bottom: 1px solid var(--line);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s, transform .3s var(--ease), visibility .3s;
  }
  .nav a { padding: 14px 16px; font-size: 13px; }
  .menu-open .nav { opacity: 1; transform: none; visibility: visible; }
  .menu-open .header { background: rgba(4, 7, 10, .97); }
  .menu-toggle { display: block; }
  .header-actions .btn { display: none; }

  .hero { min-height: auto; padding-top: calc(var(--header-h) + 18px); }
  .hero-grid { grid-template-columns: 1fr; gap: 50px; }
  .hero-visual { max-width: 640px; margin-inline: auto; width: 100%; min-height: 0; }
  #orb { left: -60%; width: 220%; top: auto; bottom: -20%; height: 85%; filter: blur(3px) saturate(1.4) brightness(1.35); }
  .hero-team-wrap { position: relative; z-index: 2; top: auto; right: auto; width: 108%; margin: 0 -4% 10px; }
  /* celular/tablet: foto do grupo logo após o título, junto do texto */
  .hero-grid { gap: 0; }
  .hero-copy { display: contents; }
  .hero-copy > .tag { order: 1; justify-self: start; }
  .hero-copy > .script-line { order: 2; margin-top: 12px !important; }
  .hero-copy > h1 { order: 3; margin: 10px 0 4px; font-size: clamp(30px, 8.6vw, 48px); line-height: 1.04; }
  .hero-visual { order: 4; margin-top: 4px !important; margin-bottom: 16px !important; }
  .hero-copy > .hero-lead { order: 5; }
  .hero-copy > .hero-ctas { order: 6; }
  .hero-copy > .hero-meta { order: 7; }
  .hero-copy > .hero-lead, .hero-copy > .hero-ctas, .hero-copy > .hero-meta { position: relative; z-index: 4; }
  .hero-fog { bottom: -170px; top: 70%;
    background: linear-gradient(to bottom, rgba(4, 7, 10, 0) 0%, rgba(4, 7, 10, .55) 10%, rgba(4, 7, 10, .88) 22%, rgba(4, 7, 10, .62) 46%, rgba(4, 7, 10, .3) 70%, rgba(4, 7, 10, 0) 100%); }
  .hero-fog i { top: 14%; }
  #orb { -webkit-mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 70%, transparent 100%); mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 70%, transparent 100%); }
  /* celular/tablet: tags em volta do grupo (5 em cima, 5 embaixo) */
  .hero-visual { padding: 96px 0 44px; }
  .hero-visual .floating-tags { inset: 0 !important; }
  .ftag { animation-name: bob; animation-duration: 3.5s; }
  .hero-visual .ftag:nth-child(1) { --x: 3% !important; --y: 0px !important; }
  .hero-visual .ftag:nth-child(2) { --x: 34% !important; --y: 0px !important; }
  .hero-visual .ftag:nth-child(3) { --x: 0% !important; --y: 46px !important; }
  .hero-visual .ftag:nth-child(4) { --x: 36% !important; --y: 48px !important; }
  .hero-visual .ftag:nth-child(5) { --x: 63% !important; --y: 46px !important; }
  .hero-visual .ftag:nth-child(6) { --x: 1% !important; --y: calc(100% - 68px) !important; }
  .hero-visual .ftag:nth-child(7) { --x: 36% !important; --y: calc(100% - 68px) !important; }
  .hero-visual .ftag:nth-child(8) { --x: 66% !important; --y: calc(100% - 68px) !important; }
  .hero-visual .ftag:nth-child(9) { --x: 1% !important; --y: calc(100% - 30px) !important; }
  .hero-visual .ftag:nth-child(10) { --x: 51% !important; --y: calc(100% - 30px) !important; }
  .float-card--a { left: 4px; bottom: 30px; }
  .scroll-hint { display: none; }

  .about-grid,
  .founder { grid-template-columns: 1fr; gap: 48px; }
  .founder-photo { position: relative; max-width: 460px; top: auto; }
  .frame-polaroid { right: -8px; width: 55%; }
  .team { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
  .plans { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; }
  .cta-box { grid-template-columns: 1fr; padding: 56px 32px; }
  .grid-works { grid-template-columns: repeat(2, 1fr); }
  .gallery { columns: 2; }
}

@media (max-width: 600px) {
  .container { width: calc(100% - 36px); }
  .cards,
  .service-list,
  .grid-works { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat strong { font-size: 38px; }
  .stat--wide { flex-direction: column; align-items: flex-start; gap: 10px; }
  .hero-ctas .btn { width: 100%; }
  .btn { white-space: normal; text-align: center; height: auto; min-height: var(--h); padding-block: 12px; line-height: 1.4; }
  .cta-box { padding: 48px 22px; }
  .cta-box > * { min-width: 0; }
  .float-card { display: none; }
  .floating-tags { inset: -10px -6px; }
  .hero-visual .ftag { font-size: 9px; padding: 6px 10px; gap: 6px; letter-spacing: .08em; }
  .ftag { font-size: 9.5px; padding: 7px 11px; }

  .footer-grid { grid-template-columns: 1fr; }
  .gallery { columns: 1; }
  .ticker-track span { font-size: 16px; }
  .area-index { font-size: 64px; }
  .modal-close { top: -52px; }
  .grid-works { grid-template-columns: 1fr 1fr; gap: 12px; }
  .work-info { padding: 12px 12px 14px; }
  .work-info h3 { font-size: 14px; }
  .work-info span { font-size: 9px; letter-spacing: .08em; }
  .work-arrow { display: none; }
  .work-cat { font-size: 8px; padding: 4px 7px; top: 8px; left: 8px; }
  .play { width: 46px; height: 46px; }
}

/* celulares muito estreitos: tags um pouco menores para as 3 da cintura caberem lado a lado */
@media (max-width: 350px) {
  .hero-visual .ftag { font-size: 8px; padding: 5px 8px; gap: 5px; letter-spacing: .05em; }
}
