/* ==========================================================
   JV | Estrategista Digital: estilos
   Organização:
   0. Fontes  1. Variáveis (cores da marca)  2. Base  3. Fundo
   4. Componentes (botões, rótulos, vidro)  5. Cabeçalho
   6. Seções (na ordem da página)  7. Rodapé  8. Animações
   9. Acessibilidade / movimento reduzido
   Mobile primeiro: o estilo padrão é o do celular; telas maiores
   ganham ajustes nos @media (min-width: ...).
========================================================== */

/* ---------- 0. FONTES (hospedadas no próprio site) ---------- */
@font-face { font-family: "Playfair Display"; font-weight: 600; font-style: normal; font-display: swap; src: url("../assets/fonts/playfair-display-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Playfair Display"; font-weight: 700; font-style: normal; font-display: swap; src: url("../assets/fonts/playfair-display-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Playfair Display"; font-weight: 600; font-style: italic; font-display: swap; src: url("../assets/fonts/playfair-display-latin-600-italic.woff2") format("woff2"); }
@font-face { font-family: "DM Sans"; font-weight: 400; font-style: normal; font-display: swap; src: url("../assets/fonts/dm-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "DM Sans"; font-weight: 500; font-style: normal; font-display: swap; src: url("../assets/fonts/dm-sans-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "DM Sans"; font-weight: 700; font-style: normal; font-display: swap; src: url("../assets/fonts/dm-sans-latin-700-normal.woff2") format("woff2"); }

/* ---------- 1. VARIÁVEIS ----------
   Para trocar as cores da marca, altere SÓ este bloco. */
:root {
  --bg: #070707;
  --bg-2: #0A0A0A;
  --surface: rgba(255, 255, 255, 0.035);
  --surface-strong: rgba(255, 255, 255, 0.06);
  --line: rgba(255, 255, 255, 0.09);

  --red: #F00000;        /* cor principal */
  --red-light: #FF4D4D;  /* apoio claro (texto vermelho pequeno: mais contraste) */
  --red-dark: #A80000;   /* apoio escuro */
  --red-glow: rgba(240, 0, 0, 0.35);

  --text: #F3F1F0;       /* off-white */
  --text-2: #B4AFAD;     /* texto secundário */
  --text-3: #7D7876;     /* texto terciário (só em tamanhos grandes/decorativos) */

  --font-title: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 16px;
  --radius-sm: 10px;
  --header-h: 68px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- 2. BASE ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; margin: 0; padding: 0; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; font-family: var(--font-title); font-weight: 600; line-height: 1.12; letter-spacing: -0.01em; text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 7.5vw, 4.4rem); }
h2 { font-size: clamp(1.9rem, 5.2vw, 3.1rem); }
h3 { font-size: 1.3rem; }
strong { font-weight: 700; color: var(--text); }
::selection { background: var(--red); color: #fff; }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 16px; position: relative; }
@media (min-width: 768px) { .container { padding: 0 32px; } }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
svg use { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.skip-link {
  position: fixed; top: 12px; left: 12px; z-index: 200;
  padding: 10px 16px; border-radius: 8px; background: var(--red); color: #fff; font-weight: 700;
  transform: translateY(-200%); transition: transform .2s;
}
.skip-link:focus { transform: none; }

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

/* Título em destaque: itálico vermelho com brilho sutil */
.highlight {
  font-style: italic;
  color: var(--red);
  background: linear-gradient(100deg, var(--red-light), var(--red) 45%, var(--red-dark));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ---------- 3. FUNDO: grade, brilhos, rede de pontos, losangos ---------- */
.bg-grid {
  position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, #000 30%, transparent 100%);
          mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, #000 30%, transparent 100%);
}
.bg-network { position: fixed; inset: 0; z-index: -1; width: 100%; height: 100%; pointer-events: none; opacity: .55; }

/* Textura de losangos no canto */
.diamonds {
  position: absolute; width: 340px; height: 340px; pointer-events: none; z-index: 0; opacity: .5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28'%3E%3Cpath d='M14 2 26 14 14 26 2 14Z' fill='none' stroke='%23F00000' stroke-opacity='.45' stroke-width='1'/%3E%3C/svg%3E");
  background-size: 28px 28px;
}
.diamonds-tr { top: 0; right: 0; -webkit-mask-image: radial-gradient(circle at 100% 0, #000, transparent 70%); mask-image: radial-gradient(circle at 100% 0, #000, transparent 70%); }
.diamonds-bl { bottom: 0; left: 0; -webkit-mask-image: radial-gradient(circle at 0 100%, #000, transparent 70%); mask-image: radial-gradient(circle at 0 100%, #000, transparent 70%); }

/* ---------- 4. COMPONENTES ---------- */

/* Botões */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 14px 26px; border-radius: 999px;
  font-family: var(--font-body); font-weight: 700; font-size: 1rem; line-height: 1.2; text-align: center;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .25s, border-color .25s;
}
.btn-icon { width: 20px; height: 20px; flex: none; }
.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, #E00000 0%, #C40000 55%, var(--red-dark) 100%);
  box-shadow: 0 0 0 1px rgba(255,77,77,.35) inset, 0 10px 30px -8px var(--red-glow);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px rgba(255,77,77,.6) inset, 0 16px 40px -8px rgba(240,0,0,.55); }
.btn-ghost { color: var(--text); border-color: var(--line); background: rgba(255,255,255,.03); }
.btn-ghost:hover { border-color: rgba(255,77,77,.5); background: rgba(240,0,0,.06); }
.btn-sm { min-height: 40px; padding: 8px 18px; font-size: .9rem; }
.btn-lg { min-height: 60px; padding: 18px 34px; font-size: 1.08rem; }

/* Rótulos tecnológicos */
.label, .tag {
  font-family: var(--font-body); font-size: .78rem; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase; color: var(--red-light);
  margin-bottom: 18px;
}
.tag {
  display: inline-block; text-transform: none; letter-spacing: .04em; font-size: .85rem;
  padding: 6px 12px; border-radius: 6px; border: 1px solid rgba(255,77,77,.3); background: rgba(240,0,0,.07);
}

.cta-note { font-family: var(--font-body); font-size: .8rem; color: var(--text-2); margin: 14px 0 0; }
.cta-note::before { content: "● "; color: var(--red); }

/* Cartão de vidro fosco com borda em degradê vermelho e cursor luminoso */
.glass {
  position: relative; isolation: isolate;
  background: linear-gradient(160deg, rgba(255,255,255,.055), rgba(255,255,255,.015));
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-radius: var(--radius);
}
/* borda em degradê (feita com máscara para funcionar com cantos arredondados) */
.glass::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; padding: 1px;
  background: linear-gradient(145deg, rgba(255,77,77,.65), rgba(168,0,0,.15) 40%, rgba(255,255,255,.06) 70%, rgba(240,0,0,.45));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  pointer-events: none;
}
/* luz que segue o mouse (posição atualizada pelo JS em --mx/--my) */
.glass::after {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none;
  background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 50%), rgba(240,0,0,.16), transparent 60%);
  opacity: 0; transition: opacity .3s;
}
.glass:hover::after { opacity: 1; }

/* Seções */
.section { position: relative; padding: 88px 0; }
@media (min-width: 960px) { .section { padding: 120px 0; } }
.section-head { max-width: 760px; margin-bottom: 48px; }
.section-intro { color: var(--text-2); font-size: 1.08rem; margin-top: 20px; max-width: 640px; }
.section-note {
  margin: 48px 0 0; padding: 20px 22px; max-width: 820px;
  border-left: 2px solid var(--red); background: linear-gradient(90deg, rgba(240,0,0,.08), transparent);
  color: var(--text-2); border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.section-cta { margin-top: 56px; display: flex; flex-direction: column; align-items: flex-start; }
.subhead { font-size: clamp(1.5rem, 4vw, 2.1rem); margin: 88px 0 48px; }

/* ---------- 5. CABEÇALHO ---------- */
.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 120;
  background: linear-gradient(90deg, var(--red-dark), var(--red), var(--red-light));
  transform-origin: 0 50%; transform: scaleX(var(--p, 0));
  box-shadow: 0 0 10px var(--red);
}

.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100; height: var(--header-h);
  transition: background-color .3s, border-color .3s, backdrop-filter .3s;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled, .site-header.menu-open {
  background: rgba(7,7,7,.78);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border-bottom-color: var(--line);
}
.header-inner { height: 100%; display: flex; align-items: center; gap: 16px; }

.brand { display: flex; align-items: center; gap: 10px; margin-right: auto; }
.brand img { height: 34px; width: auto; filter: drop-shadow(0 0 10px rgba(240,0,0,.35)); }
.brand-name { font-family: var(--font-body); font-size: .62rem; letter-spacing: .18em; text-transform: uppercase; line-height: 1.35; color: var(--text-2); }

.main-nav a { font-family: var(--font-body); font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; color: var(--text-2); transition: color .2s; }
.main-nav a span { color: var(--red-light); margin-right: 4px; }
.main-nav a:hover, .main-nav a.is-active { color: var(--text); }

.nav-toggle {
  width: 44px; height: 44px; display: grid; place-items: center; flex: none;
  border: 1px solid var(--line); border-radius: 10px; background: rgba(255,255,255,.03); cursor: pointer; color: var(--text);
}
.nav-toggle-bar, .nav-toggle-bar::before, .nav-toggle-bar::after {
  display: block; width: 18px; height: 2px; border-radius: 2px; background: currentColor; position: relative; transition: transform .3s, background-color .3s;
}
.nav-toggle-bar::before, .nav-toggle-bar::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bar::before { top: -6px; }
.nav-toggle-bar::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::after { transform: translateY(-6px) rotate(-45deg); }

/* Menu no celular: painel que desce abaixo do cabeçalho */
@media (max-width: 959px) {
  .main-nav {
    position: absolute; top: var(--header-h); left: 0; right: 0;
    background: rgba(7,7,7,.96); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line);
    padding: 8px 16px 24px;
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity .25s, transform .25s, visibility 0s .25s;
  }
  .main-nav.is-open { visibility: visible; opacity: 1; transform: none; transition: opacity .25s, transform .25s; }
  .main-nav a { display: block; padding: 14px 4px; font-size: .95rem; border-bottom: 1px solid var(--line); }
  .header-cta { min-height: 40px; padding: 8px 14px; }
}
@media (max-width: 359px) { .brand-name { display: none; } }
@media (min-width: 960px) {
  .nav-toggle { display: none; }
  .main-nav { margin-right: 12px; }
  .main-nav ul { display: flex; gap: 28px; }
}

/* ---------- 6. SEÇÕES ---------- */

/* 6.1 HERO */
.hero { position: relative; padding: calc(var(--header-h) + 40px) 0 72px; overflow: hidden; }
/* brilhos vermelhos */
.hero::before, .hero::after { content: ""; position: absolute; border-radius: 50%; pointer-events: none; z-index: -1; filter: blur(20px); }
.hero::before { width: 620px; height: 620px; top: -240px; right: -200px; background: radial-gradient(circle, rgba(240,0,0,.28), transparent 65%); }
.hero::after { width: 520px; height: 520px; bottom: -260px; left: -220px; background: radial-gradient(circle, rgba(168,0,0,.25), transparent 65%); }

.hero-grid { display: grid; gap: 48px; align-items: center; position: relative; z-index: 1; }
.hero-text h1 { margin-bottom: 24px; }
.hero-text h1 .highlight { display: block; }
.hero-sub { color: var(--text-2); font-size: 1.1rem; max-width: 560px; margin-bottom: 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 479px) { .hero-actions .btn { width: 100%; } }

@media (min-width: 960px) {
  .hero { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding-top: calc(var(--header-h) + 56px); }
  .hero-grid { grid-template-columns: 1.05fr .95fr; gap: 40px; }
}

/* Visual do hero */
.hero-visual { position: relative; display: flex; flex-direction: column; align-items: center; min-height: 360px; }

/* Ícones flutuantes desfocados */
.float-icons { position: absolute; inset: -20px; pointer-events: none; }
.float-icon {
  position: absolute; width: 34px; height: 34px; color: var(--red-light); opacity: .35;
  filter: blur(1.6px); animation: float 9s ease-in-out infinite;
}
.fi-1 { top: 4%;  left: 6%;  width: 42px; height: 42px; }
.fi-2 { top: 10%; right: 4%; color: var(--text); opacity: .2; animation-delay: -2s; }
.fi-3 { top: 46%; left: -2%; filter: blur(3px); width: 48px; height: 48px; animation-delay: -4s; }
.fi-4 { bottom: 20%; right: 0;  width: 40px; height: 40px; filter: blur(2.5px); animation-delay: -1s; }
.fi-5 { bottom: 4%; left: 14%; color: var(--text); opacity: .18; animation-delay: -6s; }
.fi-6 { top: 0; left: 46%; width: 26px; height: 26px; filter: blur(.6px); opacity: .5; animation-delay: -3s; }
.fi-7 { top: 32%; right: 10%; width: 28px; height: 28px; filter: blur(4px); animation-delay: -5s; }
.fi-8 { bottom: 34%; left: 18%; width: 24px; height: 24px; filter: blur(3px); opacity: .25; animation-delay: -7s; }

/* Hub: tamanho controlado por --hub */
.hub { --hub: min(78vw, 400px); --r: calc(var(--hub) * .44); position: relative; width: var(--hub); height: var(--hub); }
.hub-ring { position: absolute; inset: 0; margin: auto; border-radius: 50%; }
.hub-ring-1 { width: 100%; height: 100%; border: 1px dashed rgba(255,77,77,.28); animation: spin 60s linear infinite; }
.hub-ring-2 { width: 72%; height: 72%; border: 1px solid rgba(255,255,255,.07); box-shadow: 0 0 60px -10px rgba(240,0,0,.25) inset; }
.hub-ring-3 { width: 52%; height: 52%; border: 1px dashed rgba(255,255,255,.12); animation: spin 40s linear infinite reverse; }
.hub-core {
  position: absolute; inset: 0; margin: auto; width: 36%; height: 36%; border-radius: 50%;
  display: grid; place-items: center;
  background: radial-gradient(circle at 50% 35%, #1a0505, #070707 70%);
  border: 1px solid rgba(255,77,77,.4);
  box-shadow: 0 0 0 8px rgba(240,0,0,.05), 0 0 50px rgba(240,0,0,.35), 0 0 120px rgba(240,0,0,.15);
  animation: pulse 4s ease-in-out infinite;
}
.hub-core img { width: 64%; }
/* Órbita: gira o conjunto; cada etiqueta gira ao contrário para ficar sempre de pé */
.hub-orbit { position: absolute; inset: 0; animation: spin 36s linear infinite; }
.hub-tag {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%) rotate(var(--a)) translateY(calc(var(--r) * -1)) rotate(calc(var(--a) * -1));
}
.hub-tag > span {
  display: block; padding: 7px 14px; border-radius: 999px; white-space: nowrap;
  font-family: var(--font-body); font-size: .74rem; letter-spacing: .08em; text-transform: uppercase;
  background: rgba(10,10,10,.88); border: 1px solid rgba(255,77,77,.45); color: var(--text);
  box-shadow: 0 0 20px -4px rgba(240,0,0,.45);
  animation: spin 36s linear infinite reverse;
}
.hub-tag > span::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--red); margin-right: 8px; vertical-align: 1px; box-shadow: 0 0 8px var(--red); }

/* Cartões de notificação empilhados */
/* Fica ABAIXO do hub (nunca por cima da órbita das etiquetas) */
.notify-stack { position: relative; z-index: 2; width: min(100%, 300px); margin-top: 28px; display: grid; gap: 10px; }
.notify { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: linear-gradient(160deg, rgba(28,10,10,.92), rgba(12,12,12,.9)); animation: notifyIn .8s var(--ease) both; }
.notify:nth-child(2) { margin-left: 18px; opacity: .85; animation-delay: .25s; }
.notify:nth-child(3) { margin-left: 36px; opacity: .65; animation-delay: .5s; }
.notify-icon { width: 34px; height: 34px; flex: none; border-radius: 9px; display: grid; place-items: center; background: rgba(240,0,0,.14); color: var(--red-light); }
.notify-icon svg { width: 18px; height: 18px; }
.notify-body { display: grid; line-height: 1.3; }
.notify-title { font-family: var(--font-body); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text); }
.notify-text { font-size: .82rem; color: var(--text-2); }

@media (min-width: 960px) {
  .hero-visual { justify-content: center; }
  .hub { --hub: 380px; }
  /* no desktop os 3 cartões ficam lado a lado, abaixo do hub */
  .notify-stack { width: 100%; max-width: 600px; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 32px; }
  .notify { flex-direction: column; align-items: flex-start; gap: 10px; padding: 14px; }
  .notify:nth-child(2), .notify:nth-child(3) { margin-left: 0; opacity: 1; }
}

/* Selos */
.seals { display: grid; margin-top: 64px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(10,10,10,.6); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); position: relative; z-index: 1; }
.seal { padding: 22px 24px; display: grid; gap: 4px; }
.seal + .seal { border-top: 1px solid var(--line); }
.seal-icon { width: 22px; height: 22px; color: var(--red); margin-bottom: 8px; }
.seal strong { font-size: 1.1rem; }
.seal span { color: var(--text-2); font-size: .92rem; }
@media (min-width: 768px) {
  .seals { grid-template-columns: repeat(3, 1fr); }
  .seal + .seal { border-top: 0; border-left: 1px solid var(--line); }
}

/* 6.2 FAIXA EM MOVIMENTO */
.marquee {
  position: relative; overflow: hidden; padding: 18px 0;
  border-block: 1px solid rgba(255,77,77,.22);
  background: linear-gradient(90deg, rgba(168,0,0,.18), rgba(10,10,10,.9) 30%, rgba(10,10,10,.9) 70%, rgba(168,0,0,.18));
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track { display: flex; width: max-content; animation: marquee 32s linear infinite; }
.marquee-group { display: flex; align-items: center; flex: none; }
.marquee span, .marquee i { font-family: var(--font-body); font-size: clamp(.95rem, 2.4vw, 1.25rem); letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; }
.marquee span { color: var(--text); padding: 0 22px; }
.marquee i { font-style: normal; color: var(--red); }

/* 6.3 O SISTEMA */
.ecosystem { display: grid; gap: 40px; }
.eco-card { padding: 28px 24px; }
.eco-step { position: absolute; top: 18px; right: 20px; font-family: var(--font-body); font-size: .8rem; color: var(--text-3); }
.eco-icon { width: 40px; height: 40px; padding: 9px; border-radius: 11px; color: var(--red-light); background: rgba(240,0,0,.1); border: 1px solid rgba(255,77,77,.25); margin-bottom: 22px; }
.eco-card h3 { margin-bottom: 8px; }
.eco-card p { color: var(--text-2); margin-bottom: 14px; }
.eco-items { font-family: var(--font-body); font-size: .74rem; letter-spacing: .04em; color: var(--red-light) !important; margin: 0 !important; }

/* Linhas tracejadas animadas ligando as peças (o "fluxo" do sistema).
   Celular: linha vertical entre os cartões. Desktop: linha horizontal. */
.eco-link {
  position: absolute; left: 50%; top: 100%; width: 2px; height: 40px; margin-left: -1px; pointer-events: none;
  background-image: linear-gradient(var(--red) 50%, transparent 0);
  background-size: 2px 10px;
  animation: dashY .8s linear infinite;
  filter: drop-shadow(0 0 4px var(--red));
}
.eco-link::after { /* ponto de chegada */
  content: ""; position: absolute; left: 50%; bottom: -4px; width: 8px; height: 8px; margin-left: -4px; border-radius: 50%;
  background: var(--red); box-shadow: 0 0 10px var(--red);
}
@media (min-width: 960px) {
  .ecosystem { grid-template-columns: repeat(4, 1fr); gap: 32px; }
  .eco-link { left: 100%; top: 50%; width: 32px; height: 2px; margin: -1px 0 0; background-image: linear-gradient(90deg, var(--red) 50%, transparent 0); background-size: 10px 2px; animation-name: dashX; }
  .eco-link::after { left: auto; right: -4px; bottom: auto; top: -3px; margin: 0; }
}

/* 6.4 DIAGNÓSTICO */
.assess-grid { display: grid; border-top: 1px solid var(--line); }
.assess-item { padding: 32px 4px; border-bottom: 1px solid var(--line); }
.assess-icon { width: 48px; height: 48px; color: var(--red); margin-bottom: 20px; filter: drop-shadow(0 0 10px rgba(240,0,0,.45)); }
.assess-item h3 { margin-bottom: 10px; }
.assess-item p { color: var(--text-2); margin: 0; }
@media (min-width: 640px) {
  .assess-grid { grid-template-columns: repeat(2, 1fr); }
  .assess-item { padding: 36px 28px; }
  .assess-item:nth-child(odd) { border-right: 1px solid var(--line); }
}
@media (min-width: 1024px) {
  .assess-grid { grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--line); }
  .assess-item { border-bottom: 0; border-right: 1px solid var(--line); }
  .assess-item:last-child { border-right: 0; }
  .assess-item:first-child { padding-left: 0; }
}

/* Para quem é: número sobre a linha da borda */
.for-who { display: grid; gap: 44px; }
.for-who-box { position: relative; padding: 40px 26px 30px; border: 1px solid rgba(255,77,77,.35); border-radius: var(--radius); background: linear-gradient(180deg, rgba(240,0,0,.06), transparent 70%); }
.for-who-num {
  position: absolute; top: 0; left: 22px; transform: translateY(-50%);
  padding: 0 12px; background: var(--bg);
  font-family: var(--font-title); font-weight: 700; font-size: 2.4rem; line-height: 1; color: var(--red);
  text-shadow: 0 0 18px rgba(240,0,0,.5);
}
.for-who-box p { margin: 0; font-size: 1.1rem; }
@media (min-width: 900px) { .for-who { grid-template-columns: repeat(3, 1fr); gap: 24px; } }

/* 6.5 SOLUÇÕES */
.solutions { display: grid; gap: 16px; }
.solution-card { padding: 26px 24px; }
.solution-stage {
  display: inline-block; margin-bottom: 16px; padding: 4px 10px; border-radius: 6px;
  font-family: var(--font-body); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--red-light); border: 1px solid rgba(255,77,77,.3); background: rgba(240,0,0,.06);
}
.solution-card h3 { font-size: 1.25rem; margin-bottom: 8px; }
.solution-card p { color: var(--text-2); margin: 0; }
@media (min-width: 640px) { .solutions { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) {
  .solutions { grid-template-columns: repeat(6, 1fr); }
  .solution-card { grid-column: span 2; }
  .solution-card:nth-child(4) { grid-column: 2 / span 2; }
}

/* 6.6 MÉTODO */
.steps { display: grid; gap: 0; position: relative; }
.step { position: relative; padding: 0 0 40px 64px; }
.step::before { /* linha vertical que liga os passos no celular */
  content: ""; position: absolute; left: 21px; top: 48px; bottom: 4px; width: 1px;
  background: linear-gradient(var(--red), rgba(240,0,0,.1));
}
.step:last-child::before { display: none; }
.step-num {
  position: absolute; left: 0; top: 0; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-body); font-size: .85rem; color: #fff;
  background: radial-gradient(circle at 50% 30%, #3a0000, #120000);
  border: 1px solid var(--red); box-shadow: 0 0 20px rgba(240,0,0,.4);
}
.step h3 { margin: 8px 0 10px; }
.step p { color: var(--text-2); margin: 0; }
@media (min-width: 960px) {
  .steps { grid-template-columns: repeat(4, 1fr); gap: 32px; }
  .step { padding: 72px 0 0; }
  .step::before { left: 56px; right: -32px; top: 22px; bottom: auto; width: auto; height: 1px; background: linear-gradient(90deg, var(--red), rgba(240,0,0,.1)); }
}

/* 6.7 PRÉ-DIAGNÓSTICO */
.pre-panel { padding: 36px 20px; }
@media (min-width: 768px) { .pre-panel { padding: 56px 52px; } }
.pre-panel .section-head { margin-bottom: 36px; }
.pre-form { display: grid; gap: 32px; }
.question { border: 0; margin: 0; padding: 0; min-width: 0; }
.question legend { font-family: var(--font-title); font-size: 1.3rem; font-weight: 600; margin-bottom: 18px; padding: 0; display: flex; gap: 12px; align-items: baseline; }
.q-num { font-family: var(--font-body); font-size: .8rem; color: var(--red-light); }
.options { display: flex; flex-wrap: wrap; gap: 10px; }
.option { position: relative; cursor: pointer; }
/* rádio escondido visualmente, mas acessível por teclado e leitor de tela */
.option input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.option span {
  display: block; padding: 12px 18px; border-radius: 999px; font-size: .95rem;
  border: 1px solid var(--line); background: rgba(255,255,255,.03); color: var(--text-2);
  transition: border-color .2s, background-color .2s, color .2s, box-shadow .2s;
}
.option:hover span { border-color: rgba(255,77,77,.45); color: var(--text); }
.option input:checked + span { border-color: var(--red); background: rgba(240,0,0,.14); color: var(--text); box-shadow: 0 0 18px -4px rgba(240,0,0,.6); }
.option input:checked + span::before { content: "✓ "; color: var(--red-light); }
.option input:focus-visible + span { outline: 2px solid var(--red-light); outline-offset: 3px; }

/* Prévia em formato de conversa (como a mensagem vai chegar no WhatsApp) */
.pre-preview { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: #0d0d0d; max-width: 560px; }
.chat-head { display: flex; align-items: center; gap: 12px; padding: 12px 16px; background: rgba(255,255,255,.04); border-bottom: 1px solid var(--line); }
.chat-avatar { width: 40px; height: 40px; flex: none; border-radius: 50%; display: grid; place-items: center; background: #070707; border: 1px solid rgba(255,77,77,.4); }
.chat-avatar img { width: 26px; }
.chat-who { display: grid; line-height: 1.25; }
.chat-who strong { font-size: .95rem; }
.chat-who small { font-size: .78rem; color: var(--text-2); }
.chat-body {
  padding: 22px 16px; display: flex; justify-content: flex-end;
  background-image: radial-gradient(rgba(255,255,255,.04) 1px, transparent 1px); background-size: 16px 16px;
}
.chat-bubble {
  position: relative; margin: 0; max-width: 88%;
  padding: 10px 14px; border-radius: 14px 4px 14px 14px;
  background: linear-gradient(135deg, #3a0606, #220303); border: 1px solid rgba(255,77,77,.3);
  font-size: .95rem; line-height: 1.5; color: var(--text); white-space: pre-line;
}
.pre-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.form-privacy { margin: 0; font-size: .82rem; color: var(--text-2); }

/* 6.8 SOBRE */
.about { overflow: hidden; }
.about-grid { display: grid; gap: 48px; align-items: center; z-index: 1; }
.about-photo { position: relative; margin: 0; max-width: 440px; }
.about-photo img {
  border-radius: var(--radius); border: 1px solid rgba(255,77,77,.3);
  box-shadow: 0 30px 80px -30px rgba(240,0,0,.55);
}
/* cantoneiras vermelhas (moldura tecnológica) */
.about-photo::before, .about-photo::after { content: ""; position: absolute; width: 56px; height: 56px; pointer-events: none; }
.about-photo::before { top: -10px; left: -10px; border-top: 2px solid var(--red); border-left: 2px solid var(--red); border-radius: 6px 0 0 0; }
.about-photo::after { bottom: -10px; right: -10px; border-bottom: 2px solid var(--red); border-right: 2px solid var(--red); border-radius: 0 0 6px 0; }
.photo-tag {
  position: absolute; left: 16px; bottom: 16px; padding: 6px 12px; border-radius: 6px;
  font-family: var(--font-body); font-size: .72rem; letter-spacing: .06em;
  background: rgba(7,7,7,.8); border: 1px solid var(--line); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.about-text h2 { margin-bottom: 28px; }
.about-text p { color: var(--text-2); font-size: 1.05rem; }
.signature { margin-top: 32px !important; padding-top: 24px; border-top: 1px solid var(--line); font-family: var(--font-title); font-size: 1.4rem !important; line-height: 1.35; color: var(--text) !important; }
@media (min-width: 900px) {
  .about-grid { grid-template-columns: .85fr 1.15fr; gap: 72px; }
}

/* 6.9 CHAMADA FINAL */
.final-panel {
  position: relative; overflow: hidden; text-align: center;
  padding: 64px 20px; border-radius: 24px;
  border: 1px solid rgba(255,77,77,.35);
  background:
    radial-gradient(ellipse 70% 60% at 50% 0%, rgba(240,0,0,.28), transparent 70%),
    linear-gradient(180deg, #120202, #070707);
  box-shadow: 0 0 80px -20px rgba(240,0,0,.4);
}
.final-panel h2 { max-width: 820px; margin: 0 auto; }
.final-panel .section-intro { margin: 24px auto 36px; }
.next-steps { display: grid; gap: 14px; max-width: 760px; margin: 0 auto 40px; text-align: left; counter-reset: ns; }
.next-steps li { counter-increment: ns; position: relative; padding: 16px 18px 16px 62px; border-radius: 12px; background: rgba(255,255,255,.03); border: 1px solid var(--line); color: var(--text-2); }
.next-steps li::before {
  content: "0" counter(ns); position: absolute; left: 18px; top: 16px;
  font-family: var(--font-body); font-size: .85rem; color: var(--red-light);
}
@media (min-width: 768px) {
  .final-panel { padding: 88px 56px; }
  .next-steps { grid-template-columns: repeat(3, 1fr); }
  .next-steps li { padding: 52px 20px 20px; }
  .next-steps li::before { left: 20px; top: 20px; }
}

/* ---------- 7. RODAPÉ ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 48px 0 96px; background: rgba(7,7,7,.85); }
.footer-inner { display: grid; gap: 20px; justify-items: start; }
.footer-motto { font-family: var(--font-title); font-style: italic; color: var(--text-2); margin: 0; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer-links a { font-family: var(--font-body); font-size: .85rem; color: var(--text); border-bottom: 1px solid rgba(255,77,77,.4); padding-bottom: 2px; }
.footer-links a:hover { color: var(--red-light); }
.copyright { font-size: .8rem; color: var(--text-2); margin: 0; }
@media (min-width: 768px) {
  .site-footer { padding-bottom: 48px; }
  .footer-inner { grid-template-columns: auto 1fr auto; align-items: center; gap: 24px 40px; }
  .footer-motto { justify-self: center; }
  .copyright { grid-column: 1 / -1; padding-top: 20px; border-top: 1px solid var(--line); width: 100%; }
}

/* Botão flutuante de WhatsApp (só celular, aparece depois do topo) */
.wa-float {
  position: fixed; right: 16px; bottom: 16px; z-index: 90;
  width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
  color: #fff; background: linear-gradient(135deg, #E00000, var(--red-dark));
  box-shadow: 0 10px 30px -6px rgba(240,0,0,.7), 0 0 0 1px rgba(255,77,77,.5) inset;
  opacity: 0; transform: translateY(20px) scale(.9); pointer-events: none;
  transition: opacity .3s, transform .3s var(--ease);
}
.wa-float svg { width: 28px; height: 28px; }
.wa-float.is-visible { opacity: 1; transform: none; pointer-events: auto; }
@media (min-width: 960px) { .wa-float { display: none; } }

/* ---------- 8. ANIMAÇÕES ---------- */
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -14px; } }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 8px rgba(240,0,0,.05), 0 0 50px rgba(240,0,0,.35), 0 0 120px rgba(240,0,0,.15); } 50% { box-shadow: 0 0 0 14px rgba(240,0,0,.07), 0 0 70px rgba(240,0,0,.5), 0 0 140px rgba(240,0,0,.22); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes notifyIn { from { opacity: 0; transform: translateX(24px); } }
@keyframes dashY { to { background-position: 0 10px; } }
@keyframes dashX { to { background-position: 10px 0; } }

/* Topo: entra ao carregar a página (só CSS, não depende de rolagem nem de JS) */
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } }
.intro { animation: fadeUp .9s var(--ease) both; animation-delay: var(--d, 0s); }

/* Entrada suave ao rolar: só esconde se o JS estiver ativo */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }

/* ---------- 9. MOVIMENTO REDUZIDO ----------
   Quem configurou o sistema para "reduzir movimento" vê tudo parado e já visível. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .marquee-track { flex-wrap: wrap; width: auto; justify-content: center; }
  .marquee-group + .marquee-group { display: none; }
  .marquee-group { flex-wrap: wrap; justify-content: center; row-gap: 6px; }
}
