/* ==========================================================================
   DB7 Web — estilo principal
   Paleta: azul-marinho (fundo) · azul elétrico (destaque) · prata (texto/gradiente)
   Para trocar as cores do site inteiro, edite só as variáveis em :root.
   ========================================================================== */

@font-face {
  font-family: "Outfit Variable";
  src: url("../fonts/outfit-latin-wght-normal.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono Variable";
  src: url("../fonts/jetbrains-mono-latin-wght-normal.woff2") format("woff2-variations");
  font-weight: 100 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #050b18;
  --ink-2: #08142b;
  --ink-3: #0d1c3d;
  --blue: #2f6bff;
  --blue-2: #5b8cff;
  --blue-deep: #1f3fe0;
  --silver: #c9d4e6;
  --silver-2: #8fa0bc;
  --fog: #e2e8f0;
  --paper: #f8fafc;
  --line: rgba(150, 178, 235, 0.14);
  --line-2: rgba(150, 178, 235, 0.26);
  --card: rgba(255, 255, 255, 0.028);
  --arc: linear-gradient(118deg, #f4f7fc 0%, #c2cfe6 24%, #5b8cff 56%, #2340ff 100%);
  --font-sans: "Outfit Variable", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono Variable", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: auto; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--fog);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, p { margin: 0; }
::selection { background: var(--blue); color: #fff; }
:focus-visible { outline: 2px solid var(--blue-2); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(var(--wrap), 100% - 48px); margin-inline: auto; }
.grad {
  background: var(--arc);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.mono { font-family: var(--font-mono); }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--silver-2);
}
.eyebrow::before {
  content: "";
  width: 44px; height: 1px;
  background: linear-gradient(90deg, var(--blue), transparent);
}
.eyebrow.dot::before {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--blue-2);
  box-shadow: 0 0 0 4px rgba(47, 107, 255, 0.22);
  animation: pulse-dot 2.2s ease-in-out infinite;
}
.eyebrow .cursor {
  width: 3px; height: 14px; margin-left: 2px;
  background: var(--blue-2);
  animation: blink 1.1s steps(1) infinite;
}

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 28px;
  border-radius: 999px;
  font-weight: 600; font-size: 16px;
  border: 1px solid transparent;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.3s, border-color 0.3s;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--blue-2), var(--blue-deep));
  color: #fff;
  box-shadow: 0 10px 34px -10px rgba(47, 107, 255, 0.75);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 44px -10px rgba(47, 107, 255, 0.95); }
.btn-ghost { border-color: var(--line-2); background: rgba(255, 255, 255, 0.02); }
.btn-ghost:hover { border-color: var(--blue-2); background: rgba(47, 107, 255, 0.1); transform: translateY(-2px); }
.btn svg { width: 16px; height: 16px; transition: transform 0.35s var(--ease); }
.btn:hover svg { transform: translate(3px, -3px); }
.btn-sm { padding: 10px 20px; font-size: 14px; }

/* ---------- Cortina de entrada ---------- */
.curtain {
  position: fixed; inset: 0; z-index: 200;
  background: var(--ink);
  display: grid; place-items: center;
  animation: cortina-up 0.9s var(--ease) 1.5s forwards;
}
.curtain .mark { width: 92px; height: 92px; }
.curtain .mark path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.3s var(--ease) 0.15s forwards; }
.curtain-bar {
  position: absolute; left: 50%; bottom: 22%; width: 160px; height: 2px;
  transform: translateX(-50%); background: var(--line); overflow: hidden; border-radius: 2px;
}
.curtain-bar::after {
  content: ""; position: absolute; inset: 0; width: 100%;
  background: var(--arc); transform: translateX(-100%);
  animation: fill 1.4s var(--ease) 0.1s forwards;
}
html:not(.js) .curtain, .curtain.done, .skip-intro .curtain { display: none; }
.hero-in { animation: hero-in 1s var(--ease) both; }
/* Visita repetida (mesma sessão) ou movimento reduzido: pula a espera da cortina */
.skip-intro .hero-in, .skip-intro .hero h1 .line > span,
.skip-intro .hero-art .mark-big path { animation-delay: 0s !important; }

/* ---------- Navegação ---------- */
.nav-wrap { position: fixed; inset: 0 0 auto 0; z-index: 100; padding: 16px 16px 0; pointer-events: none; }
.nav {
  pointer-events: auto;
  width: min(var(--wrap), 100%); margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 10px 12px 10px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: background 0.4s, border-color 0.4s, backdrop-filter 0.4s, box-shadow 0.4s;
}
.nav.scrolled {
  background: rgba(8, 20, 43, 0.62);
  border-color: var(--line);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  box-shadow: 0 18px 50px -24px rgba(0, 0, 0, 0.8);
}
.logo { display: inline-flex; align-items: center; gap: 10px; font-size: 26px; font-weight: 600; letter-spacing: -0.02em; line-height: 1; }
.logo .mark { width: 34px; height: 34px; flex: none; }
.logo b { font-weight: 300; color: var(--silver); }
.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-links a {
  position: relative; font-size: 15px; font-weight: 500; color: var(--silver-2);
  padding: 6px 0; transition: color 0.3s;
}
.nav-links a::after {
  content: ""; position: absolute; left: 50%; bottom: -6px; width: 5px; height: 5px; border-radius: 50%;
  background: var(--blue-2); transform: translateX(-50%) scale(0); transition: transform 0.35s var(--ease);
}
.nav-links a:hover, .nav-links a.active { color: #fff; }
.nav-links a.active::after { transform: translateX(-50%) scale(1); }
.burger { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); background: transparent; place-items: center; }
.burger span, .burger span::before {
  display: block; width: 18px; height: 2px; background: #fff; border-radius: 2px; position: relative; transition: transform 0.3s var(--ease);
}
.burger span::before { content: ""; position: absolute; top: 6px; left: 0; }
.menu-open .burger span { transform: translateY(3px) rotate(45deg); }
.menu-open .burger span::before { transform: translateY(-6px) rotate(-90deg); top: 6px; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; padding: 150px 0 90px; display: flex; align-items: center; overflow: hidden; }
.bg-grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 35%, #000 20%, transparent 78%);
  mask-image: radial-gradient(ellipse 80% 70% at 50% 35%, #000 20%, transparent 78%);
  opacity: 0.55;
}
.glow { position: absolute; border-radius: 50%; filter: blur(90px); pointer-events: none; }
.glow-a { width: 620px; height: 620px; left: -8%; top: -14%; background: rgba(31, 63, 224, 0.42); animation: float-a 16s ease-in-out infinite; }
.glow-b { width: 520px; height: 520px; right: -6%; bottom: -10%; background: rgba(91, 140, 255, 0.28); animation: float-b 19s ease-in-out infinite; }
.hero-inner { position: relative; display: grid; grid-template-columns: 1.5fr 0.5fr; align-items: center; gap: 40px; }
.hero h1 {
  margin-top: 26px;
  font-size: clamp(42px, 6vw, 84px);
  line-height: 0.98; font-weight: 700; letter-spacing: -0.035em;
}
.hero h1 .line { display: block; overflow: hidden; padding-bottom: 0.08em; }
.hero h1 .line > span { display: block; animation: line-up 1.1s var(--ease) both; }
.hero h1 .line:nth-child(2) > span { animation-delay: 0.12s; }
.hero .lead { margin-top: 30px; max-width: 560px; font-size: clamp(18px, 1.6vw, 21px); color: var(--silver-2); font-weight: 400; }
.hero-cta { margin-top: 38px; display: flex; flex-wrap: wrap; gap: 14px; }
.hero-art { position: relative; aspect-ratio: 1; width: min(420px, 100%); justify-self: end; }
.hero-art .mark-big { width: 100%; height: 100%; overflow: visible; }
.hero-art .mark-big path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 2.4s var(--ease) 1.9s forwards; }
.hero-art .mark-big .p2 { animation-delay: 2.2s; }
.hero-art .mark-big .p3 { animation-delay: 2.6s; stroke-width: 9; }
.chip {
  position: absolute; padding: 8px 14px; border-radius: 12px;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.08em; color: var(--silver);
  background: rgba(8, 20, 43, 0.75); border: 1px solid var(--line-2);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.chip i { font-style: normal; color: var(--blue-2); }
.chip-a { top: 6%; left: -4%; animation: float-a 7s ease-in-out infinite; }
.chip-b { top: 46%; right: -6%; animation: float-b 8s ease-in-out infinite; }
.chip-c { bottom: 6%; left: 10%; animation: float-c 9s ease-in-out infinite; }
.scroll-cue { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 8px; }
.scroll-cue span { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.3em; color: var(--silver-2); text-transform: uppercase; }
.scroll-cue::after { content: ""; width: 1px; height: 34px; background: linear-gradient(var(--blue-2), transparent); animation: cue 2s ease-in-out infinite; }

/* ---------- Ticker (esteira) ---------- */
.ticker { border-block: 1px solid var(--line); background: rgba(8, 20, 43, 0.5); overflow: hidden; padding: 20px 0; }
.belt { display: flex; width: max-content; animation: belt 42s linear infinite; }
.ticker:hover .belt { animation-play-state: paused; }
.belt span {
  font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--silver-2); padding-inline: 26px; white-space: nowrap; display: inline-flex; align-items: center; gap: 52px;
}
.belt span::after { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--blue); }

/* ---------- Seções ---------- */
section { position: relative; }
.sec { padding: clamp(90px, 12vw, 160px) 0; }
.sec-head { max-width: 760px; }
.sec-head h2 { margin-top: 22px; font-size: clamp(34px, 5vw, 62px); line-height: 1.05; font-weight: 700; letter-spacing: -0.03em; }
.sec-head p { margin-top: 20px; color: var(--silver-2); font-size: 19px; max-width: 600px; }

/* Manifesto */
.manifesto { padding: clamp(100px, 14vw, 190px) 0; }
.manifesto p {
  max-width: 1000px; margin-top: 32px;
  font-size: clamp(30px, 4.6vw, 60px); line-height: 1.16; font-weight: 600; letter-spacing: -0.025em;
}
.manifesto .w { color: rgba(226, 232, 240, 0.16); transition: color 0.35s ease; }
.manifesto .w.on { color: #fff; }
.manifesto .w.hl { color: rgba(91, 140, 255, 0.2); }
.manifesto .w.hl.on { background: var(--arc); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Cards de serviço */
.cards { margin-top: 64px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.card {
  --mx: 50%; --my: 0%;
  position: relative; overflow: hidden;
  padding: 36px 36px 32px; border-radius: 28px;
  background: var(--card); border: 1px solid var(--line);
  transition: border-color 0.4s, transform 0.5s var(--ease);
}
.card::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity 0.4s;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(91, 140, 255, 0.16), transparent 60%);
}
.card:hover { border-color: var(--line-2); transform: translateY(-4px); }
.card:hover::before { opacity: 1; }
.card-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.icon-box { width: 52px; height: 52px; border-radius: 15px; border: 1px solid var(--line-2); background: rgba(47, 107, 255, 0.08); display: grid; place-items: center; color: var(--blue-2); }
.icon-box svg { width: 24px; height: 24px; }
.path { font-family: var(--font-mono); font-size: 12px; color: var(--silver-2); opacity: 0.75; }
.card h3 { margin-top: 30px; font-size: 27px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; }
.tagline { margin-top: 10px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--blue-2); }
.card p { margin-top: 18px; color: var(--silver-2); font-size: 16.5px; }
.tags { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { list-style: none; padding: 6px 13px; border-radius: 999px; border: 1px solid var(--line); font-size: 12.5px; color: var(--silver-2); }
.tags { padding: 0; margin-bottom: 0; }
.link-arrow { margin-top: 26px; display: inline-flex; align-items: center; gap: 12px; font-weight: 600; font-size: 15px; }
.link-arrow i {
  width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line-2);
  display: grid; place-items: center; transition: background 0.3s, transform 0.4s var(--ease);
}
.link-arrow svg { width: 13px; height: 13px; }
.link-arrow:hover i { background: var(--blue); border-color: var(--blue); transform: translate(2px, -2px); }

/* Processo — trilho horizontal preso à rolagem */
.rail { height: 340vh; }
.rail-sticky { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; justify-content: center; gap: 56px; overflow: hidden; }
.rail-sticky > .sec-head.rail-head { max-width: none; width: 100%; margin: 0; padding-inline: max(24px, calc((100vw - var(--wrap)) / 2)); }
.rail-head h2 { max-width: 760px; }
.track {
  --fill: 0px;
  position: relative; display: flex; gap: 26px; width: max-content;
  padding: 44px max(24px, calc((100vw - var(--wrap)) / 2)) 0;
  will-change: transform;
}
.track::before, .track::after {
  content: ""; position: absolute; top: 20px; left: 0; height: 2px; border-radius: 2px;
}
.track::before {
  width: 100%;
  background: repeating-linear-gradient(90deg, var(--line-2) 0 10px, transparent 10px 20px);
  animation: belt-line 1.4s linear infinite;
}
.track::after { width: var(--fill); background: var(--arc); box-shadow: 0 0 18px rgba(91, 140, 255, 0.7); }
.station {
  position: relative; flex: 0 0 min(400px, 80vw);
  padding: 34px 32px 34px; border-radius: 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015));
  border: 1px solid var(--line); opacity: 0.45; transform: translateY(14px) scale(0.985);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease), border-color 0.6s;
}
.station.on { opacity: 1; transform: none; border-color: var(--line-2); }
.station::before {
  content: ""; position: absolute; left: 34px; top: -34px; width: 14px; height: 14px; border-radius: 50%;
  background: var(--ink); border: 2px solid var(--line-2); transition: 0.5s var(--ease);
}
.station.on::before { background: var(--blue-2); border-color: var(--blue-2); box-shadow: 0 0 0 6px rgba(47, 107, 255, 0.25), 0 0 20px rgba(91, 140, 255, 0.8); }
.st-top { display: flex; align-items: flex-start; justify-content: space-between; }
.st-num { font-family: var(--font-mono); font-size: 58px; font-weight: 700; line-height: 1; background: var(--arc); -webkit-background-clip: text; background-clip: text; color: transparent; }
.st-lbl { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.2em; color: var(--silver-2); text-transform: uppercase; margin-top: 8px; }
.station h3 { margin-top: 26px; font-size: 26px; font-weight: 700; letter-spacing: -0.02em; }
.station p { margin-top: 12px; color: var(--silver-2); font-size: 16px; }
.station ul { margin: 22px 0 0; padding: 0; list-style: none; display: grid; gap: 9px; }
.station li { display: flex; align-items: center; gap: 10px; font-size: 14.5px; color: var(--fog); }
.station li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); flex: none; }

/* Catálogo (teaser) */
.catalog {
  position: relative; overflow: hidden;
  border: 1px solid var(--line); border-radius: 36px;
  padding: clamp(36px, 6vw, 72px);
  background:
    radial-gradient(700px circle at 100% 0%, rgba(47, 107, 255, 0.24), transparent 60%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.01));
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
}
.catalog h2 { margin-top: 22px; font-size: clamp(32px, 4.4vw, 54px); line-height: 1.06; font-weight: 700; letter-spacing: -0.03em; }
.catalog p.lead { margin-top: 20px; color: var(--silver-2); font-size: 18px; max-width: 480px; }
.catalog .btn { margin-top: 32px; }
.mini-list { display: grid; gap: 14px; }
.mini {
  display: flex; align-items: center; gap: 18px; padding: 20px 22px; border-radius: 20px;
  border: 1px solid var(--line); background: rgba(5, 11, 24, 0.55);
  transition: transform 0.45s var(--ease), border-color 0.3s;
}
.mini:hover { transform: translateX(6px); border-color: var(--line-2); }
.mini .icon-box { width: 46px; height: 46px; border-radius: 13px; flex: none; }
.mini b { display: block; font-size: 18px; font-weight: 600; letter-spacing: -0.01em; }
.mini small { display: block; margin-top: 2px; color: var(--silver-2); font-size: 14px; }
.lock { margin-left: auto; color: var(--silver-2); opacity: 0.7; }
.lock svg { width: 18px; height: 18px; }

/* Cases */
.cases { margin-top: 60px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.case {
  --mx: 50%; --my: 0%;
  position: relative; overflow: hidden; display: flex; flex-direction: column; min-height: 250px;
  padding: 26px; border-radius: 24px; border: 1px solid var(--line); background: var(--card);
  transition: border-color 0.4s, transform 0.5s var(--ease);
}
.case::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity 0.4s;
  background: radial-gradient(320px circle at var(--mx) var(--my), rgba(91, 140, 255, 0.16), transparent 60%);
}
.case:hover { border-color: var(--line-2); transform: translateY(-4px); }
.case:hover::before { opacity: 1; }
.case .seg { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--blue-2); }
.case h3 { margin-top: 14px; font-size: 22px; font-weight: 700; letter-spacing: -0.02em; }
.case p { margin-top: 10px; color: var(--silver-2); font-size: 15px; }
.case .sample { margin-top: auto; padding-top: 18px; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.18em; color: var(--silver-2); opacity: 0.6; text-transform: uppercase; }
.case-cta { background: linear-gradient(145deg, rgba(47, 107, 255, 0.3), rgba(31, 63, 224, 0.12)); border-color: rgba(91, 140, 255, 0.4); justify-content: space-between; }
.case-cta h3 { font-size: 26px; line-height: 1.1; }
.case-cta .link-arrow { margin-top: 20px; }

/* Contato */
.contact { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(36px, 6vw, 88px); align-items: start; }
.contact-info h2 { margin-top: 22px; font-size: clamp(34px, 4.8vw, 60px); line-height: 1.05; font-weight: 700; letter-spacing: -0.03em; }
.contact-info > p { margin-top: 20px; color: var(--silver-2); font-size: 18px; max-width: 460px; }
.info-list { margin-top: 36px; display: grid; gap: 14px; }
.info-list a, .info-list div {
  display: flex; align-items: center; gap: 16px; padding: 16px 20px; border-radius: 18px; border: 1px solid var(--line);
  background: var(--card); font-weight: 500; transition: border-color 0.3s, transform 0.4s var(--ease);
}
.info-list a:hover { border-color: var(--line-2); transform: translateX(5px); }
.info-list svg { width: 20px; height: 20px; color: var(--blue-2); flex: none; }
.info-list small { display: block; color: var(--silver-2); font-weight: 400; font-size: 13px; }
.form {
  padding: clamp(26px, 4vw, 44px); border-radius: 32px; border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.012));
  display: grid; gap: 18px;
}
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 8px; }
.field label { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--silver-2); }
.field input, .field select, .field textarea {
  width: 100%; padding: 15px 18px; border-radius: 14px; border: 1px solid var(--line-2);
  background: rgba(5, 11, 24, 0.6); color: #fff; font: inherit; font-size: 16px;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--silver-2) 50%), linear-gradient(135deg, var(--silver-2) 50%, transparent 50%); background-position: calc(100% - 22px) 55%, calc(100% - 16px) 55%; background-size: 6px 6px; background-repeat: no-repeat; }
.field select option { background: var(--ink-2); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue-2); box-shadow: 0 0 0 4px rgba(47, 107, 255, 0.2); }
.field input::placeholder, .field textarea::placeholder { color: rgba(143, 160, 188, 0.6); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 13.5px; color: var(--silver-2); }
.check input { margin-top: 3px; accent-color: var(--blue); width: 16px; height: 16px; flex: none; }
.form-status { min-height: 22px; font-size: 15px; }
.form-status.ok { color: #6ee7b7; }
.form-status.err { color: #fca5a5; }
.form .btn[disabled] { opacity: 0.6; pointer-events: none; }

/* Rodapé */
.footer { border-top: 1px solid var(--line); padding: 70px 0 40px; background: linear-gradient(180deg, transparent, rgba(8, 20, 43, 0.7)); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.foot-grid p { margin-top: 18px; color: var(--silver-2); max-width: 320px; font-size: 15.5px; }
.foot-grid h4 { margin: 0 0 18px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--silver-2); font-weight: 500; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.foot-grid li a { color: var(--fog); font-size: 15.5px; transition: color 0.3s; }
.foot-grid li a:hover { color: var(--blue-2); }
.foot-bottom { margin-top: 56px; padding-top: 26px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--silver-2); font-size: 14px; }

/* Botão flutuante WhatsApp */
.fab {
  position: fixed; right: 22px; bottom: 22px; z-index: 90; width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center; color: #fff;
  background: linear-gradient(135deg, var(--blue-2), var(--blue-deep));
  box-shadow: 0 14px 40px -10px rgba(47, 107, 255, 0.9);
  transition: transform 0.4s var(--ease);
}
.fab:hover { transform: scale(1.08); }
.fab svg { width: 26px; height: 26px; }
.fab::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--blue-2); animation: ping 2.4s ease-out infinite; }

/* ---------- Revelar ao rolar ---------- */
.js .reveal { opacity: 0; transform: translateY(34px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Páginas PHP (cadastro / catálogo) ---------- */
.page { position: relative; overflow: hidden; padding: 150px 0 100px; min-height: 100svh; }
.page > .wrap { position: relative; }
.page .bg-grid { height: 640px; bottom: auto; }
.auth { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.auth h1 { margin-top: 22px; font-size: clamp(38px, 5.4vw, 66px); line-height: 1.04; font-weight: 700; letter-spacing: -0.03em; }
.auth .lead { margin-top: 20px; color: var(--silver-2); font-size: 19px; max-width: 480px; }
.perks { margin: 30px 0 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.perks li { display: flex; gap: 12px; align-items: center; color: var(--fog); }
.perks li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--blue-2); box-shadow: 0 0 0 4px rgba(47, 107, 255, 0.2); flex: none; }
.alert { padding: 14px 18px; border-radius: 14px; font-size: 15px; border: 1px solid; }
.alert.err { color: #fecaca; border-color: rgba(252, 165, 165, 0.4); background: rgba(127, 29, 29, 0.25); }
.cat-head { position: relative; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.cat-head h1 { margin-top: 22px; font-size: clamp(38px, 5.4vw, 66px); line-height: 1.04; font-weight: 700; letter-spacing: -0.03em; }
.cat-head p { margin-top: 16px; color: var(--silver-2); font-size: 19px; max-width: 560px; }
.cat-grid { position: relative; margin-top: 56px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.product { display: flex; flex-direction: column; }
.badge { align-self: flex-start; margin-top: 22px; padding: 5px 12px; border-radius: 999px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--blue-2); border: 1px solid rgba(91, 140, 255, 0.4); background: rgba(47, 107, 255, 0.1); }
.product h3 { margin-top: 16px; }
.product .btn { margin-top: auto; align-self: flex-start; }
.product ul.tags { margin-bottom: 26px; }

/* ---------- Animações ---------- */
@keyframes cortina-up { to { transform: translateY(-100%); visibility: hidden; } }
@keyframes fill { to { transform: translateX(0); } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes hero-in { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes line-up { from { transform: translateY(105%); } to { transform: none; } }
@keyframes float-a { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(18px, -22px); } }
@keyframes float-b { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(-24px, 16px); } }
@keyframes float-c { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(14px, 20px); } }
@keyframes pulse-dot { 0%, 100% { box-shadow: 0 0 0 4px rgba(47, 107, 255, 0.22); } 50% { box-shadow: 0 0 0 9px rgba(47, 107, 255, 0); } }
@keyframes blink { 50% { opacity: 0; } }
@keyframes belt { to { transform: translateX(-50%); } }
@keyframes belt-line { to { background-position: 20px 0; } }
@keyframes cue { 0%, 100% { opacity: 0.3; transform: scaleY(0.6); transform-origin: top; } 50% { opacity: 1; transform: scaleY(1); } }
@keyframes ping { 0% { transform: scale(1); opacity: 0.7; } 100% { transform: scale(1.7); opacity: 0; } }

/* ---------- Responsivo ---------- */
@media (max-width: 1000px) {
  .cases { grid-template-columns: repeat(2, 1fr); }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .hero-inner, .catalog, .contact, .auth { grid-template-columns: 1fr; }
  .hero-art { display: none; }
  .cards { grid-template-columns: 1fr; }
  .burger { display: grid; }
  .nav-links {
    position: fixed; inset: 84px 16px auto 16px; flex-direction: column; align-items: stretch; gap: 0; padding: 12px;
    background: rgba(8, 20, 43, 0.96); border: 1px solid var(--line-2); border-radius: 24px;
    backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
    opacity: 0; visibility: hidden; transform: translateY(-10px); transition: 0.35s var(--ease);
  }
  .menu-open .nav-links { opacity: 1; visibility: visible; transform: none; }
  .nav-links a { padding: 16px 18px; font-size: 18px; }
  .nav-links a::after { display: none; }
  .nav .btn-sm { display: none; }
  /* processo vira lista vertical no celular */
  .rail { height: auto; }
  .rail-sticky { position: static; height: auto; overflow: visible; padding: 80px 0; }
  .track { flex-direction: column; width: auto; padding: 0 24px; transform: none !important; }
  .track::before, .track::after { display: none; }
  .station { flex: none; opacity: 1; transform: none; }
  .station::before { display: none; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .form .row { grid-template-columns: 1fr; }
  .cases, .cat-grid { grid-template-columns: 1fr; }
  .card { padding: 28px 24px; }
  .hero { padding-top: 130px; }
  .foot-grid { grid-template-columns: 1fr; }
}

/* ---------- Movimento reduzido ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .curtain { display: none; }
  .js .reveal { opacity: 1; transform: none; }
  .manifesto .w { color: #fff; }
  .manifesto .w.hl { background: var(--arc); -webkit-background-clip: text; background-clip: text; color: transparent; }
  .belt { animation: none; }
  .rail { height: auto; }
  .rail-sticky { position: static; height: auto; overflow: visible; padding: 80px 0; }
  .track { flex-direction: column; width: auto; padding: 0 24px; transform: none !important; }
  .track::before, .track::after, .station::before { display: none; }
  .station { flex: none; opacity: 1; transform: none; }
}
