/* ==========================================================================
   OTTO LOUZA DIGITAL AGENCY — Landing Page V1
   Design tokens vindos do brand brief (branding.md).

   Tipografia: sistema de 3 famílias (pendência #10 do brief — recomendação
   de design, ainda não confirmada pela Otto):
   - Space Grotesk (--font-display): títulos H1/H2/H3, botões, wordmark.
     Geométrica com personalidade técnica, sem cair em fonte "futurista"
     genérica — mantém peso editorial/premium.
   - Inter (--font-body): parágrafos e texto corrido. Altíssima legibilidade,
     padrão de interfaces premium/SaaS.
   - JetBrains Mono (--font-mono): eyebrows, section-labels, números de stat,
     índices de plano, footer-headings — a "camada técnica" do sistema.
     Mono só aparece em rótulos curtos e dados (nunca em texto corrido),
     o mesmo princípio usado em produtos fintech/dev-tools premium
     (Stripe, Linear) pra comunicar precisão sem parecer sci-fi.
   ========================================================================== */

:root {
  /* cores — brand brief */
  --bg: #000104;
  --navy: #111E3B;
  --accent: #0069E8;
  --glow: #00A2F2;
  --white: #F4F9FF;

  --navy-soft: rgba(17, 30, 59, .55);
  --border: rgba(244, 249, 255, .08);
  --border-strong: rgba(0, 162, 242, .35);
  --text-muted: rgba(244, 249, 255, .58);
  --text-faint: rgba(244, 249, 255, .34);

  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;

  --container: 1240px;
  --radius: 14px;
  --radius-sm: 8px;
  --header-h: 88px;

  --ease: cubic-bezier(.25,.46,.45,.94);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; background: var(--bg); overflow-x: hidden; }
body {
  background: var(--bg);
  color: var(--white);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  width: 100%;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; background: none; border: none; cursor: pointer; color: inherit; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.15; letter-spacing: -.01em; }

::selection { background: rgba(0, 162, 242, .35); color: #fff; }
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--navy); border-radius: 3px; }

.skip-link {
  position: absolute; left: -999px; top: 0; background: var(--accent); color: #fff;
  padding: .75rem 1.25rem; z-index: 999; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

:focus-visible { outline: 2px solid var(--glow); outline-offset: 3px; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 1.5rem; }
.container-wide { max-width: 1400px; }

.section { padding: clamp(4rem, 8vw, 7rem) 0; position: relative; }
section[id] { scroll-margin-top: var(--header-h); }

.section-label {
  font-family: var(--font-mono);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--glow);
  margin-bottom: .9rem;
}

.scene-hub { display: flex; align-items: center; gap: .75rem; margin-bottom: .9rem; }
.scene-hub .section-label { margin-bottom: 0; }

h2 { font-size: clamp(1.9rem, 4vw, 2.75rem); margin-bottom: 1rem; }
.section-lead { color: var(--text-muted); font-size: 1.05rem; max-width: 46ch; }
.muted { color: var(--text-muted); }

.text-glow-gradient {
  background: linear-gradient(90deg, var(--accent) 0%, var(--glow) 50%, var(--accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ---------- grain overlay (sutil, mesma técnica do FRAME) ---------- */
body::before {
  content: "";
  position: fixed; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 180px;
  pointer-events: none;
  z-index: 1;
  opacity: .5;
}

/* ---------- custom cursor (some em touch) ---------- */
.cursor-dot, .cursor-ring {
  position: fixed; top: 0; left: 0; pointer-events: none; z-index: 9999;
  transform: translate(-50%, -50%);
}
.cursor-dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--glow);
  transition: opacity .2s;
}
.cursor-ring {
  width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid rgba(0, 162, 242, .45);
  transition: width .25s, height .25s, border-color .25s;
}
@media (hover: none) {
  .cursor-dot, .cursor-ring { display: none; }
}

/* ==========================================================================
   HEADER
   ========================================================================== */
header#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.25rem 1.5rem;
  background: rgba(0, 1, 4, .6);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  transition: background .3s, padding .3s;
}
header#navbar.scrolled { background: rgba(0, 1, 4, .92); padding: .85rem 1.5rem; }

.logo { display: flex; align-items: center; }
.logo-img { height: 34px; width: auto; display: block; }

.nav-desktop { display: none; align-items: center; gap: 2.25rem; }
.nav-link {
  font-size: .78rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase;
  color: var(--text-muted); position: relative; transition: color .25s;
}
.nav-link::after {
  content: ""; position: absolute; left: 0; bottom: -5px; width: 0; height: 1px;
  background: var(--glow); transition: width .3s ease;
}
.nav-link:hover { color: #fff; }
.nav-link:hover::after { width: 100%; }

.btn-nav { display: none; }

.menu-toggle {
  display: flex; flex-direction: column; gap: 5px; width: 26px; padding: 4px;
}
.menu-toggle span { display: block; width: 100%; height: 2px; background: #fff; border-radius: 2px; transition: transform .25s, opacity .25s; }

.mobile-menu {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(0, 1, 4, .98);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.75rem;
  opacity: 0; pointer-events: none; transition: opacity .3s ease;
}
.mobile-menu.open { opacity: 1; pointer-events: all; }
.mobile-menu a { font-family: var(--font-display); font-size: 1.3rem; }
.mobile-menu a:hover { color: var(--glow); }
.menu-close { position: absolute; top: 1.5rem; right: 1.5rem; font-size: 2rem; line-height: 1; }

@media (min-width: 1024px) {
  .nav-desktop { display: flex; }
  .btn-nav { display: inline-flex; }
  .menu-toggle { display: none; }
}

/* ==========================================================================
   BOTÕES
   ========================================================================== */
.btn-primary, .btn-outline {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .9rem 1.9rem;
  font-family: var(--font-display);
  font-weight: 600; font-size: .82rem; letter-spacing: .04em;
  border-radius: 999px;
  cursor: pointer;
  transition: transform .2s, box-shadow .3s, background .3s, border-color .3s, color .3s;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--glow));
  color: #fff;
  border: 1px solid transparent;
  box-shadow: 0 6px 24px rgba(0, 105, 232, .35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 36px rgba(0, 162, 242, .45); }
.btn-outline {
  background: transparent; color: #fff; border: 1px solid rgba(244, 249, 255, .25);
}
.btn-outline:hover { border-color: var(--glow); color: var(--glow); transform: translateY(-2px); }
.btn-lg { padding: 1.1rem 2.6rem; font-size: .9rem; }

/* ==========================================================================
   SEÇÕES EMPILHANDO — cada .scene tem fundo opaco (por isso "cobre" a
   anterior) e mesmo z-index (2), então empilham em ordem de documento: quem
   vem depois no HTML pinta por cima de quem vem antes, sem precisar de
   z-index crescente manual.

   Só Hero/Sobre/Método (.is-pinned) ficam "presas" (position: sticky) —
   grudam no topo até a próxima seção subir e cobrir. Serviços e Planos
   ficam de fora de propósito: têm mais conteúdo que uma tela (7 itens / 3
   cards, principalmente no mobile), e uma seção presa só mostra a fatia do
   topo dela — o resto do conteúdo nunca rolaria à vista. Por isso essas duas
   continuam com scroll normal, funcionando como um respiro entre os
   momentos presos, sem precisar redesenhar o conteúdo delas.
   ========================================================================== */
.scene { position: relative; z-index: 2; background: var(--bg); }
/* especificidade .scene.is-pinned (2 classes) de propósito — .hero/.about/
   .method também setam "position" nas próprias regras mais abaixo no
   arquivo; com a mesma especificidade a ordem do arquivo decidiria (e
   cancelaria o sticky). Isso garante que o sticky sempre vence. */
.scene.is-pinned {
  position: sticky; top: 0; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
}

/* Serviços/Planos/Chegada alternam pro navy-soft (tom já usado no marquee) —
   dá leitura de "cartão" e, principalmente, garante fundo opaco em cima de
   quem tiver presa embaixo (Hero/Sobre/Método) — sem isso, os vãos vazios
   dessas seções deixariam a seção presa vazar por trás enquanto sobe.
   --navy-soft é translúcido de propósito (feito pra ficar sobre o --bg no
   marquee/cards) — por isso vai como camada de imagem sobre um
   background-color opaco (--bg), em vez de sozinho, senão a seção presa de
   baixo continuaria vazando através da transparência. */
.services, .plans, .arrival {
  background-color: var(--bg);
  background-image: linear-gradient(var(--navy-soft), var(--navy-soft));
}

/* brilho sutil no topo de quem sobe cobrindo uma seção presa — reforça o
   "subindo por cima" sem precisar de JS/scroll listener */
.services, .plans, .arrival {
  border-top: 1px solid var(--border-strong);
  box-shadow: 0 -24px 48px -28px rgba(0, 162, 242, .3);
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
  padding: 7rem 1.5rem 4rem;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(0, 105, 232, .08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 105, 232, .08) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 0%, transparent 70%);
  mask-image: radial-gradient(ellipse at 50% 30%, #000 0%, transparent 70%);
}
.hero-glow {
  position: absolute; border-radius: 50%; filter: blur(90px); opacity: .35;
}
.hero-glow-1 { width: 480px; height: 480px; background: var(--accent); top: -140px; left: -120px; }
.hero-glow-2 { width: 420px; height: 420px; background: var(--glow); bottom: -160px; right: -100px; }

/* Modelo 3D: camada de fundo, atrás do texto (z-index 2) e na frente do
   grid/glow do hero-bg (z-index 0). pointer-events: none pra nunca roubar
   clique de link/botão — o mouse é rastreado na window inteira pelo
   hero-model.js. */
.hero-model-canvas {
  position: absolute; inset: 0; z-index: 1;
  width: 100%; height: 100%; display: block;
  pointer-events: none;
  opacity: 0; transition: opacity 1.4s var(--ease);
}
.hero-model-canvas.is-ready { opacity: 1; }

.hero-inner { position: relative; z-index: 2; max-width: 780px; }
/* Vinheta radial atrás do texto: o modelo 3D fica quase todo visível (silhueta
   e brilho de borda), mas escurece o suficiente atrás do H1/eyebrow pra
   garantir contraste com o texto, sem depender de acertar a luz do material
   pixel a pixel. z-index -1 aqui é relativo à stacking context do .hero-inner
   (z-index 2), então continua acima do canvas (z-index 1) e abaixo do texto. */
.hero-inner::before {
  content: ''; position: absolute; inset: -3rem -4rem; z-index: -1;
  background: radial-gradient(ellipse 60% 56% at 50% 42%,
    rgba(0, 1, 4, .88) 0%, rgba(0, 1, 4, .62) 42%, rgba(0, 1, 4, .18) 68%, transparent 82%);
  pointer-events: none;
}
.eyebrow {
  font-family: var(--font-mono); font-size: .72rem; font-weight: 500;
  letter-spacing: .18em; text-transform: uppercase; color: var(--glow); margin-bottom: 1.25rem;
}
.hero h1 { font-size: clamp(2.3rem, 6vw, 4rem); margin-bottom: 1.4rem; }
.hero-lead { color: var(--text-muted); font-size: 1.1rem; max-width: 56ch; margin: 0 auto 2.25rem; }
.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-bottom: 3.5rem; }

.hero-stats { display: flex; gap: clamp(1.5rem, 5vw, 3.5rem); justify-content: center; flex-wrap: wrap; }
.stat { display: flex; flex-direction: column; gap: .2rem; }
.stat-num { font-family: var(--font-mono); font-size: 1.7rem; font-weight: 700; color: var(--glow); }
.stat-label { font-size: .74rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: .06em; }

.hero-animate { opacity: 0; animation: heroFade .9s var(--ease) forwards; }
.hero-animate-1 { animation-delay: .2s; }
.hero-animate-2 { animation-delay: .4s; }
.hero-animate-3 { animation-delay: .6s; }
.hero-animate-4 { animation-delay: .8s; }
@keyframes heroFade { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }

/* Mobile: hero empilha em coluna única (título + parágrafo + botões + stats),
   então o modelo 3D (encolhido/reposicionado em hero-model.js pro isNarrow)
   fica mais translúcido aqui, e os glows de fundo — dimensionados pro hero
   largo do desktop — encolhem também, senão dominam uma tela de ~390px. */
@media (max-width: 699px) {
  .hero-model-canvas.is-ready { opacity: .55; }
  .hero-glow-1 { width: 260px; height: 260px; top: -90px; left: -90px; }
  .hero-glow-2 { width: 220px; height: 220px; bottom: -100px; right: -70px; }
}

/* ==========================================================================
   MARQUEE
   ========================================================================== */
.marquee-outer {
  overflow: hidden; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  padding: 1.1rem 0; background: var(--navy-soft);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
}
.marquee-inner {
  display: flex; align-items: center; gap: 2.5rem; width: max-content;
  animation: marquee 26s linear infinite;
  font-family: var(--font-display); font-size: .85rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase; color: var(--text-muted);
}
.marquee-inner i { color: var(--glow); font-style: normal; }
.marquee-inner:hover { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ==========================================================================
   REVEAL (scroll)
   ========================================================================== */
.reveal, .reveal-left, .reveal-right {
  opacity: 0; transition: opacity 1s var(--ease), transform 1s var(--ease);
}
.reveal { transform: translateY(28px) scale(.97); }
.reveal-left { transform: translateX(-28px) scale(.97); }
.reveal-right { transform: translateX(28px) scale(.97); }
.reveal.visible, .reveal-left.visible, .reveal-right.visible { opacity: 1; transform: translate(0, 0) scale(1); }
.delay-1 { transition-delay: .1s; }
.delay-2 { transition-delay: .2s; }
.delay-3 { transition-delay: .3s; }
.delay-4 { transition-delay: .4s; }

/* ==========================================================================
   SOBRE
   ========================================================================== */
.about-grid { display: grid; gap: 2.5rem; margin: 2.5rem 0 3rem; }
.about-text p { font-size: 1.15rem; margin-bottom: 1rem; }
.about-cards { display: grid; gap: 1rem; }
.mini-card {
  background: var(--navy-soft); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.5rem;
}
.mini-card-label {
  display: block; font-family: var(--font-mono); font-size: .68rem; font-weight: 500;
  letter-spacing: .12em; color: var(--glow); margin-bottom: .6rem;
}
.mini-card p { color: var(--text-muted); font-size: .95rem; }

.values-row {
  display: grid; gap: 1rem; padding-top: 2rem; border-top: 1px solid var(--border);
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}
.values-row li { font-size: .92rem; color: var(--text-muted); }
.values-row strong { color: #fff; }

@media (min-width: 900px) {
  .about-grid { grid-template-columns: 1fr 1fr; align-items: start; gap: 3.5rem; }
}

/* ==========================================================================
   SERVIÇOS — 7 paradas sequenciais no cabo (não é mais grid)
   ========================================================================== */
.service-nodes { display: flex; flex-direction: column; gap: clamp(2.5rem, 6vw, 3.5rem); margin-top: 3rem; }
.service-node {
  display: flex; align-items: flex-start; gap: 1.5rem; max-width: 620px;
  transition: transform .25s var(--ease);
}
.service-node:hover { transform: translateY(-3px); }
.service-node:hover .service-node-icon { border-color: var(--glow); }

.service-node-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 12px;
  border: 1px solid var(--border-strong); color: var(--glow);
  flex-shrink: 0; background: var(--navy-soft);
  transition: border-color .25s var(--ease);
}
.service-node-icon svg { width: 22px; height: 22px; }
.service-node-body h3 { font-size: 1.15rem; margin-bottom: .5rem; }
.service-node-body p { color: var(--text-muted); font-size: .96rem; }

/* ==========================================================================
   PLANOS
   ========================================================================== */
.plans-layout { display: grid; gap: 3rem; margin-top: 2.5rem; }

.plans-visual { position: relative; display: flex; justify-content: center; }
.phone-mock {
  width: min(260px, 70vw);
  aspect-ratio: 9 / 19.5;
  background: #05070d;
  border: 6px solid #0a0f1c;
  border-radius: 38px;
  position: relative;
  box-shadow: 0 0 0 1px rgba(0,162,242,.25), 0 30px 80px rgba(0, 0, 0, .6);
  overflow: hidden;
}
.phone-notch {
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 40%; height: 22px; background: #05070d; border-radius: 0 0 14px 14px; z-index: 2;
}
.phone-screen { position: absolute; inset: 0; }
.phone-model-canvas {
  position: absolute; inset: 0; z-index: 1;
  width: 100%; height: 100%; display: block;
  pointer-events: none;
  opacity: 0; transition: opacity 1.4s var(--ease);
}
.phone-model-canvas.is-ready { opacity: 1; }
.phone-glow {
  position: absolute; inset: -20% -30%; z-index: -1;
  background: radial-gradient(circle at 50% 40%, rgba(0, 162, 242, .35), transparent 65%);
  filter: blur(10px);
}
/* No mobile .plans-visual ocupa quase a largura toda da tela, então o bleed
   de -30% nas laterais chegava a ~100px pra cada lado — só não vazava scroll
   horizontal por depender do overflow-x: hidden do html/body. Reduzido aqui
   como segunda camada de segurança, não só clipping. */
@media (max-width: 699px) {
  .phone-glow { inset: -15% -12%; }
}

@media (min-width: 1024px) {
  .plans-layout { grid-template-columns: 340px 1fr; align-items: start; }
  .plans-visual { position: sticky; top: 7rem; height: fit-content; }
}

.plans-cards { display: grid; gap: 1.5rem; }
.plan-card {
  background: var(--navy-soft); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 2.25rem; position: relative; transition: border-color .3s, transform .3s;
}
.plan-card:hover { transform: translateY(-3px); }
.plan-index { font-family: var(--font-mono); font-size: .68rem; letter-spacing: .1em; color: var(--text-faint); }
.plan-card h3 { font-size: 1.5rem; margin: .6rem 0 .4rem; }
.plan-desc { color: var(--text-muted); font-size: .92rem; margin-bottom: 1.25rem; }
.plan-price { font-family: var(--font-body); font-size: 1rem; color: var(--text-muted); margin-bottom: 1.5rem; }
.plan-price span { font-family: var(--font-mono); font-size: 2.4rem; font-weight: 700; color: #fff; margin-right: .3rem; }
.plan-features { display: grid; gap: .65rem; margin-bottom: 1.75rem; }
.plan-features li {
  font-size: .9rem; color: var(--text-muted); padding-left: 1.4rem; position: relative;
}
.plan-features li::before {
  content: ""; position: absolute; left: 0; top: .5em; width: 7px; height: 7px;
  border-radius: 50%; background: var(--glow);
}
.plan-cta { width: 100%; justify-content: center; }

.plan-card-featured {
  border-color: var(--border-strong);
  background: linear-gradient(180deg, rgba(0, 105, 232, .12), rgba(17, 30, 59, .55));
  box-shadow: 0 0 40px rgba(0, 105, 232, .18);
}
.plan-tag {
  position: absolute; top: -12px; left: 2.25rem;
  background: linear-gradient(135deg, var(--accent), var(--glow));
  color: #fff; font-family: var(--font-mono); font-size: .65rem; font-weight: 600;
  letter-spacing: .08em; padding: .35rem .85rem; border-radius: 999px;
}
.plan-card-custom { display: flex; flex-direction: column; justify-content: center; text-align: left; }
.plan-label-custom {
  font-family: var(--font-mono); font-size: .68rem; font-weight: 500; letter-spacing: .12em;
  color: var(--glow); margin-bottom: .75rem;
}
.plan-card-custom h3 { font-size: 1.6rem; margin-bottom: .9rem; }

/* ==========================================================================
   MÉTODO
   ========================================================================== */
.method-steps { margin-top: 2.5rem; }
.method-step {
  display: flex; gap: 1.75rem; padding: 1.9rem 0; border-bottom: 1px solid var(--border);
}
.method-step:last-child { border-bottom: none; }
.method-marker { display: flex; flex-direction: column; align-items: center; gap: .6rem; min-width: 34px; padding-top: 2px; }
.step-num {
  font-family: var(--font-mono); font-size: .78rem; font-weight: 600;
  letter-spacing: .05em; color: var(--glow);
}
.method-step h3 { font-size: 1.15rem; margin-bottom: .4rem; }
.method-step p { color: var(--text-muted); font-size: .95rem; max-width: 56ch; }

/* ==========================================================================
   MEDIA PLACEHOLDER (genérico p/ imagens/vídeos a entrar depois)
   ========================================================================== */
.media-placeholder {
  /* Sem width/height aqui de propósito: o tamanho é sempre definido pelo
     componente que usa o placeholder (ex: .placeholder-fill). Uma regra
     genérica de width/height:100% nessa classe já causou um bug real de
     cascata em outro componente que usava esse placeholder. */
  display: flex; align-items: center; justify-content: center; text-align: center;
  background:
    repeating-linear-gradient(45deg, rgba(0,162,242,.06) 0 10px, transparent 10px 20px),
    var(--navy-soft);
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius-sm);
  color: var(--text-faint);
  font-size: .74rem; line-height: 1.5; padding: 1rem;
}
.placeholder-fill { width: 100%; height: 100%; border-radius: 0; border: none; }

/* ==========================================================================
   CHEGADA — o sinal chega no computador (fecha a jornada, entra os assets reais)
   ========================================================================== */
.arrival { text-align: center; }

/* ==========================================================================
   CTA FINAL
   ========================================================================== */
.cta-final { text-align: center; }
.cta-final h2 { margin-bottom: 1.25rem; }
.cta-final p { color: var(--text-muted); font-size: 1.05rem; max-width: 50ch; margin: 0 auto 2.25rem; }
.cta-final .btn-lg { margin-bottom: 1.25rem; }
.micro { font-size: .8rem; color: var(--text-faint); }

/* ==========================================================================
   FOOTER
   ========================================================================== */
footer { border-top: 1px solid var(--border); padding-top: 3.5rem; position: relative; z-index: 2; background: var(--bg); }
.footer-grid { display: grid; gap: 2.5rem; padding-bottom: 2.5rem; }
.footer-brand .logo-img { height: 42px; }
.footer-brand p { color: var(--text-muted); font-size: .9rem; margin-top: 1rem; max-width: 34ch; }
.footer-heading {
  display: block; font-family: var(--font-mono); font-size: .68rem; font-weight: 500;
  letter-spacing: .14em; color: var(--text-faint); margin-bottom: 1rem;
}
.footer-col { display: flex; flex-direction: column; gap: .7rem; }
.footer-col a { color: var(--text-muted); font-size: .92rem; transition: color .25s; }
.footer-col a:hover { color: var(--glow); }
.social-links { display: flex; gap: .75rem; }
.social-link {
  width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center; color: var(--text-muted);
  transition: border-color .3s, color .3s, transform .2s;
}
.social-link:hover { border-color: var(--glow); color: var(--glow); transform: translateY(-3px); }
.footer-quote { font-style: italic; color: var(--text-faint); font-size: .85rem; margin-top: .5rem; }

.footer-bottom {
  display: flex; flex-direction: column; gap: 1rem; align-items: flex-start;
  padding: 1.75rem 0; border-top: 1px solid var(--border);
  font-size: .8rem; color: var(--text-faint);
}
.footer-legal { display: flex; gap: 1.5rem; }
.footer-legal a { color: var(--text-faint); transition: color .25s; }
.footer-legal a:hover { color: var(--glow); }

/* Crédito CC BY 4.0 do modelo 3D do Hero (assets/models/canon-at1-camera.glb)
   — obrigatório pela licença, texto pequeno/discreto de propósito. */
.footer-credit { margin-top: 1.5rem; font-size: .75rem; color: var(--text-faint); }
.footer-credit a { color: var(--text-faint); text-decoration: underline; text-underline-offset: 2px; transition: color .25s; }
.footer-credit a:hover { color: var(--glow); }

@media (min-width: 700px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-bottom { flex-direction: row; align-items: center; justify-content: space-between; }
}

/* ==========================================================================
   WHATSAPP FLOAT
   ========================================================================== */
.wa-float {
  position: fixed; bottom: 1.75rem; right: 1.75rem; width: 56px; height: 56px;
  background: #25d366; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; z-index: 500;
  box-shadow: 0 8px 32px rgba(37, 211, 102, .4);
  transition: transform .25s, box-shadow .25s;
}
.wa-float:hover { transform: scale(1.1); box-shadow: 0 12px 40px rgba(37, 211, 102, .5); }

/* ==========================================================================
   ACESSIBILIDADE — reduced motion
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .reveal-left, .reveal-right { opacity: 1; transform: none; transition: none; }
  .hero-animate { animation: none; opacity: 1; }
  .marquee-inner { animation-play-state: paused; }
  .cursor-ring { transition: none; }
  .btn-primary, .btn-outline, .nav-link, .social-link, .service-node, .service-node-icon { transition: none; }
}
