/* =====================================================================
   ZELT — Sites premium para profissionais liberais
   Landing única, HTML estático. Linguagem: dark-tech premium.
   Dials: VARIANCE 7 · MOTION 5 · DENSITY 3.

   SISTEMA DE COR (2 papéis, travados na página inteira):
     - CIANO/TEAL  = cor da MARCA (símbolo, destaques, links, foco). Gradiente
                     #0E7490 -> #22D3EE. Usada como accent em toda a página.
     - VERDE-LIMA  = cor de AÇÃO. Aparece EXCLUSIVAMENTE no CTA primário.
                     Nunca decorativa. Texto sobre lima = navy (contraste AA).
   TEMA: dark-locked. Navy é a identidade da marca (perde expressão em claro).
   FORMA: botões/badges = pill; superfícies/cards = 18px; chat/inputs = 14px.
   ===================================================================== */

/* ---------- Fontes self-hosted (variáveis, subset latin) ---------- */
@font-face {
  font-family: "Space Grotesk";
  src: url("../fonts/SpaceGrotesk.woff2") format("woff2");
  font-weight: 300 700;
  font-display: swap;
  font-style: normal;
}
@font-face {
  font-family: "Manrope";
  src: url("../fonts/Manrope.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
  font-style: normal;
}

/* ---------- Tokens ---------- */
:root {
  --navy-950: #071224;
  --navy-900: #0B1F3A;   /* base da marca */
  --navy-850: #0E2646;
  --navy-800: #123056;
  --navy-700: #1B3D68;

  --teal: #0E7490;
  --cyan: #22D3EE;
  --cyan-soft: #67E8F9;
  --lime: #C6F135;       /* AÇÃO — só CTA primário */
  --lime-hi: #D4F85A;

  --ink: #EAF2FF;        /* texto principal */
  --ink-dim: #B7C7DC;    /* texto secundário */
  --muted: #7C93AE;      /* legendas / apoio (AA sobre navy) */

  --line: rgba(150, 190, 230, 0.13);
  --line-strong: rgba(150, 190, 230, 0.22);
  --surface: rgba(255, 255, 255, 0.028);
  --surface-2: rgba(255, 255, 255, 0.045);

  --grad-brand: linear-gradient(120deg, var(--teal), var(--cyan));
  --shadow-lg: 0 30px 70px -30px rgba(3, 10, 22, 0.85);
  --shadow-cyan: 0 24px 60px -28px rgba(34, 211, 238, 0.35);

  --r-pill: 999px;
  --r-card: 18px;
  --r-soft: 14px;

  --wrap: 1180px;
  --pad: clamp(20px, 5vw, 44px);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- Reset leve ---------- */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--navy-950);
  color: var(--ink);
  font-family: "Manrope", system-ui, -apple-system, sans-serif;
  font-weight: 400;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3, .display {
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.02em;
  margin: 0;
  color: #fff;
}
.icon { width: 1em; height: 1em; fill: currentColor; flex: none; }

/* ---------- Layout helpers ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--pad); }
.section { padding-block: clamp(64px, 9vw, 112px); position: relative; }
.eyebrow {
  font-family: "Space Grotesk", sans-serif;
  font-size: 12.5px; font-weight: 600; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--cyan-soft);
  display: inline-flex; align-items: center; gap: 9px; margin-bottom: 20px;
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: linear-gradient(90deg, var(--cyan), transparent); }
.section-title { font-size: clamp(28px, 4.4vw, 48px); max-width: 22ch; }
.lead { color: var(--ink-dim); font-size: clamp(16px, 1.6vw, 19px); max-width: 60ch; }
.accent { color: var(--cyan); }
.grad-text {
  background: linear-gradient(110deg, var(--cyan-soft), var(--cyan) 55%, var(--teal));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 26px; border-radius: var(--r-pill); border: 1px solid transparent;
  font-family: "Space Grotesk", sans-serif; font-weight: 600; font-size: 15.5px;
  letter-spacing: 0.005em; white-space: nowrap;
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease), background 0.22s var(--ease), border-color 0.22s var(--ease);
}
.btn .icon { font-size: 19px; }
.btn-primary { background: var(--lime); color: #0A1A0F; box-shadow: 0 9px 24px -12px rgba(198, 241, 53, 0.5); }
.btn-primary:hover { background: var(--lime-hi); transform: translateY(-2px); box-shadow: 0 20px 44px -14px rgba(198, 241, 53, 0.72); }
.btn-primary:active { transform: translateY(0); }
.btn-ghost { background: var(--surface-2); color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { background: rgba(255,255,255,0.09); border-color: var(--cyan); transform: translateY(-2px); }
.btn-lg { padding: 17px 32px; font-size: 16.5px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px; color: var(--cyan);
  font-family: "Space Grotesk", sans-serif; font-weight: 600; font-size: 15.5px;
}
.link-arrow .icon { transition: transform 0.22s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }

/* =====================================================================
   HEADER
   ===================================================================== */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), backdrop-filter 0.3s var(--ease);
  border-bottom: 1px solid transparent;
}
.header.scrolled {
  background: rgba(9, 20, 38, 0.82);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand img { height: 30px; width: auto; }
.brand .word {
  font-family: "Space Grotesk", sans-serif; font-weight: 700; font-size: 22px;
  letter-spacing: 0.14em; color: #fff;
}
.nav { display: flex; align-items: center; gap: 34px; }
.nav a { color: var(--ink-dim); font-size: 15px; font-weight: 500; transition: color 0.2s; }
.nav a:hover { color: #fff; }
.header-cta { display: inline-flex; align-items: center; gap: 14px; }
.nav-toggle { display: none; background: none; border: 0; color: var(--ink); padding: 8px; }  /* 28px ícone + 8px = alvo de toque 44px */
.nav-toggle .icon { font-size: 28px; }
.mobile-menu { display: none; }  /* só aparece no mobile (media query abaixo) */

/* =====================================================================
   HERO
   ===================================================================== */
.hero { position: relative; padding-top: 132px; padding-bottom: clamp(60px, 9vw, 104px); overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero-bg::before {  /* grade sutil de circuito */
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: radial-gradient(120% 80% at 72% 8%, #000 0%, transparent 62%);
  -webkit-mask-image: radial-gradient(120% 80% at 72% 8%, #000 0%, transparent 62%);
  opacity: 0.6;
}
.hero-bg::after {  /* glow ciano */
  content: ""; position: absolute; top: -18%; right: -8%; width: 60vw; height: 60vw; max-width: 760px; max-height: 760px;
  background: radial-gradient(circle, rgba(34,211,238,0.18), rgba(14,116,144,0.09) 42%, transparent 68%);
  filter: blur(8px);
}
.hero-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.02fr 0.98fr; gap: clamp(40px, 5vw, 72px); align-items: center;
}
.hero h1 { font-size: clamp(38px, 6vw, 68px); max-width: 15ch; }
.hero .lead { margin-top: 24px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero-reassure { margin-top: 22px; color: var(--muted); font-size: 14px; display: inline-flex; align-items: center; gap: 9px; }
.hero-reassure .icon { font-size: 17px; color: var(--cyan); }

/* ---------- Chat (usado dentro do celular do hero cinematográfico) ---------- */
.chat { background: rgba(6, 15, 30, 0.7); border-radius: 20px; overflow: hidden; }
.chat-top { display: flex; align-items: center; gap: 11px; padding: 15px 16px; border-bottom: 1px solid var(--line); }
.chat-avatar {
  width: 40px; height: 40px; border-radius: 50%; flex: none;
  background: var(--grad-brand); display: grid; place-items: center;
  box-shadow: 0 0 0 1px rgba(34,211,238,0.4), 0 6px 16px -6px rgba(34,211,238,0.6);
}
.chat-avatar img { height: 22px; width: auto; filter: brightness(0) invert(1); }
.chat-id { line-height: 1.25; }
.chat-id strong { font-family: "Space Grotesk", sans-serif; font-size: 14.5px; color: #fff; font-weight: 600; }
.chat-id span { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--cyan-soft); }
.dot-live { width: 7px; height: 7px; border-radius: 50%; background: #34D399; box-shadow: 0 0 0 0 rgba(52,211,153,0.7); animation: live 2.4s infinite; }
.chat-body { padding: 18px 16px; display: flex; flex-direction: column; gap: 11px; min-height: 300px; }
.bubble { max-width: 82%; padding: 11px 14px; font-size: 14.5px; line-height: 1.45; border-radius: 16px; }
.bubble.them { align-self: flex-start; background: rgba(255,255,255,0.06); border: 1px solid var(--line); border-bottom-left-radius: 5px; color: var(--ink); }
.bubble.ai { align-self: flex-end; background: linear-gradient(135deg, var(--teal), #0B5566); border-bottom-right-radius: 5px; color: #F0FCFF; box-shadow: 0 8px 20px -12px rgba(34,211,238,0.55); }
.reveal-chat { opacity: 0; transform: translateY(10px); transition: opacity 0.4s var(--ease), transform 0.4s var(--ease); }
.reveal-chat.show { opacity: 1; transform: none; }
.typing.hide { display: none; }
.typing { align-self: flex-end; display: inline-flex; gap: 4px; padding: 13px 15px; background: linear-gradient(135deg, var(--teal), #0B5566); border-radius: 16px; border-bottom-right-radius: 5px; }
.typing span { width: 6px; height: 6px; border-radius: 50%; background: rgba(240,252,255,0.85); animation: typing 1.3s infinite; }
.typing span:nth-child(2) { animation-delay: 0.18s; }
.typing span:nth-child(3) { animation-delay: 0.36s; }
.chat-foot { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.chat-foot .pill-input { flex: 1; background: rgba(255,255,255,0.05); border-radius: var(--r-pill); padding: 9px 14px; }
.chat-foot .send { width: 32px; height: 32px; border-radius: 50%; background: var(--grad-brand); display: grid; place-items: center; color: #04222B; }
.chat-foot .send .icon { font-size: 16px; }

/* =====================================================================
   STAT STRIP
   ===================================================================== */
.strip { border-block: 1px solid var(--line); background: var(--surface); }
.strip-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; }
.strip-item { padding: 30px clamp(14px, 2vw, 26px); display: flex; align-items: center; gap: 15px; }
.strip-item + .strip-item { box-shadow: -1px 0 0 var(--line); }
.strip-item .icon { font-size: 26px; color: var(--cyan); flex: none; }
.strip-item p { margin: 0; font-size: 14.5px; color: var(--ink-dim); line-height: 1.35; }
.strip-item strong { display: block; font-family: "Space Grotesk", sans-serif; color: #fff; font-size: 16px; font-weight: 600; margin-bottom: 2px; }

/* =====================================================================
   PROBLEMA — split assimétrico: copy + pilha de notificações encenada
   ===================================================================== */
.problem-head { max-width: 760px; }
.problem-head .lead { margin-top: 22px; max-width: 54ch; }

.problem-grid {
  display: grid; grid-template-columns: 1.08fr 0.92fr;
  gap: clamp(36px, 5vw, 84px); align-items: center;
}
.problem-copy .lead { margin-top: 22px; max-width: 52ch; }

.truth-list { list-style: none; margin: 40px 0 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.truth-list li { display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: baseline; padding: 18px 0; border-bottom: 1px solid var(--line); }
.truth-n { font-family: "Space Grotesk", sans-serif; font-size: 13px; color: var(--cyan); letter-spacing: 0.1em; font-variant-numeric: tabular-nums; }
.truth-list p { margin: 0; font-size: 16px; color: var(--ink-dim); line-height: 1.5; }

/* pilha de notificações: as mensagens de sempre vs. a ZELT */
.noti-stack { display: flex; flex-direction: column; gap: 14px; }
.noti {
  display: flex; gap: 13px; align-items: flex-start;
  padding: 15px 17px; border-radius: 16px;
  background: linear-gradient(135deg, rgba(255,255,255,0.065), rgba(255,255,255,0.015));
  border: 1px solid var(--line);
  box-shadow: 0 18px 40px -24px rgba(3, 10, 22, 0.9), inset 0 1px 0 rgba(255,255,255,0.07);
  opacity: 0; transform: translateY(16px) scale(0.98);
  animation: noti-in 0.55s var(--ease) forwards; animation-play-state: paused;
}
.reveal.in .noti, .noti-stage.in .noti { animation-play-state: running; }
.noti.n2 { animation-delay: 0.5s; }
.noti.n3 { animation-delay: 1.0s; }
.noti.n4 { animation-delay: 1.8s; }
@keyframes noti-in { to { opacity: 1; transform: none; } }
.noti-av {
  width: 42px; height: 42px; border-radius: 50%; flex: none;
  display: grid; place-items: center;
  font-family: "Space Grotesk", sans-serif; font-weight: 600; font-size: 14px;
  background: rgba(255,255,255,0.07); color: var(--muted); border: 1px solid var(--line);
}
.noti-tt { min-width: 0; }
.noti-tt strong {
  display: flex; align-items: baseline; justify-content: space-between; gap: 10px;
  font-family: "Space Grotesk", sans-serif; font-size: 14px; font-weight: 600; color: var(--ink-dim);
}
.noti-tt strong em { font-style: normal; font-weight: 400; font-size: 11.5px; color: var(--muted); letter-spacing: 0.02em; }
.noti-tt p { margin: 4px 0 0; font-size: 14.5px; line-height: 1.45; color: var(--muted); }
.noti.zelt {
  border-color: rgba(34, 211, 238, 0.42);
  background: linear-gradient(135deg, rgba(14,116,144,0.30), rgba(11,31,58,0.35) 65%, rgba(34,211,238,0.10));
  box-shadow: var(--shadow-cyan), inset 0 1px 0 rgba(255,255,255,0.09);
}
.noti.zelt .noti-tt strong, .noti.zelt .noti-tt p { color: var(--ink); }
.noti.zelt .noti-tt strong em { color: var(--cyan-soft); }
.noti-av.zv { background: var(--grad-brand); border-color: rgba(34,211,238,0.5); box-shadow: 0 6px 16px -6px rgba(34,211,238,0.6); }
.noti-av.zv img { height: 20px; width: auto; filter: brightness(0) invert(1); }
.noti-note { margin: 14px 2px 0; font-size: 12px; color: var(--muted); text-align: right; }

/* =====================================================================
   COMO FUNCIONA
   ===================================================================== */
.steps { margin-top: 56px; display: grid; gap: 20px; }
.step {
  display: grid; grid-template-columns: auto 1fr; gap: clamp(20px, 3vw, 40px); align-items: start;
  padding: 30px clamp(22px, 3vw, 38px); border: 1px solid var(--line); border-radius: var(--r-card);
  background: var(--surface); transition: border-color 0.3s var(--ease), background 0.3s var(--ease), transform 0.3s var(--ease);
}
.step:hover { border-color: var(--line-strong); background: var(--surface-2); }
.step-num {
  font-family: "Space Grotesk", sans-serif; font-size: clamp(30px, 4vw, 46px); font-weight: 700;
  line-height: 1; color: transparent; -webkit-text-stroke: 1.4px var(--line-strong); min-width: 1.6ch;
}
.step-ic { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.step-ic .icon { font-size: 26px; color: var(--cyan); }
.step-ic h3 { font-size: clamp(19px, 2.2vw, 24px); }
.step p { margin: 0; color: var(--ink-dim); max-width: 62ch; }
.step.feature { background: linear-gradient(120deg, rgba(14,116,144,0.20), rgba(34,211,238,0.06)); border-color: rgba(34,211,238,0.28); }
.step.feature .step-num { -webkit-text-stroke-color: rgba(34,211,238,0.5); }
.step .tag {
  display: inline-flex; align-items: center; gap: 7px; margin-top: 16px; padding: 6px 13px;
  border-radius: var(--r-pill); background: rgba(34,211,238,0.12); border: 1px solid rgba(34,211,238,0.3);
  color: var(--cyan-soft); font-size: 12.5px; font-weight: 600; font-family: "Space Grotesk", sans-serif; letter-spacing: 0.04em;
}

/* =====================================================================
   SERVIÇOS — cards (base) + trilho contínuo
   ===================================================================== */
.card {
  position: relative; border: 1px solid var(--line); border-radius: var(--r-card);
  background: var(--surface); padding: 30px; display: flex; flex-direction: column; gap: 12px; overflow: hidden;
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease), background 0.3s var(--ease);
}
.card:hover { transform: translateY(-4px); border-color: var(--line-strong); }
.card-ic { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: rgba(34,211,238,0.1); border: 1px solid rgba(34,211,238,0.22); color: var(--cyan); }
.card-ic .icon { font-size: 25px; }
.card h3 { font-size: 20px; }
.card p { margin: 0; color: var(--ink-dim); font-size: 15.5px; }
.card .kicker { margin-top: auto; padding-top: 8px; font-family: "Space Grotesk", sans-serif; font-size: 12.5px; letter-spacing: 0.05em; color: var(--muted); text-transform: uppercase; }

/* trilho contínuo (port vanilla de 21st.dev aceternity/infinite-moving-cards):
   trilha duplicada via JS + translateX(-50%); pausa no hover; fade nas bordas */
.marquee {
  --m-gap: 18px;
  margin-top: 56px; overflow: hidden; padding-block: 6px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.marquee-track { display: flex; gap: var(--m-gap); width: max-content; }
.marquee.on .marquee-track { animation: marquee-slide 52s linear infinite; }
.marquee.on:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee-slide { to { transform: translateX(calc(-50% - var(--m-gap) / 2)); } }
.m-card { width: min(330px, 80vw); flex: none; }
.m-card h3 { font-size: 19px; }
.m-card p { font-size: 14.5px; }
/* sem movimento (reduced-motion / sem JS): vira uma esteira rolável à mão */
.marquee:not(.on) { overflow-x: auto; -webkit-mask-image: none; mask-image: none; scrollbar-width: thin; }

/* =====================================================================
   CTA FINAL
   ===================================================================== */
.cta-final { position: relative; overflow: hidden; }
.cta-band {
  position: relative; border: 1px solid rgba(34,211,238,0.28); border-radius: 28px;
  background: linear-gradient(130deg, rgba(14,116,144,0.32), rgba(11,31,58,0.4) 60%, rgba(34,211,238,0.12));
  padding: clamp(44px, 6vw, 76px); text-align: center; overflow: hidden;
}
.cta-band::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(60% 90% at 20% 10%, rgba(34,211,238,0.16), transparent 60%),
    radial-gradient(50% 80% at 90% 90%, rgba(198,241,53,0.08), transparent 60%);
}
.cta-band > * { position: relative; }
.cta-band h2 { font-size: clamp(30px, 5vw, 54px); max-width: 24ch; margin-inline: auto; }
.cta-band p { color: var(--ink-dim); margin: 22px auto 0; max-width: 48ch; font-size: 18px; }
.cta-band .hero-actions { justify-content: center; margin-top: 38px; }

/* =====================================================================
   RODAPÉ
   ===================================================================== */
.footer { border-top: 1px solid var(--line); padding-block: 60px 34px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.footer .brand { margin-bottom: 18px; }
.footer-tag { color: var(--ink-dim); max-width: 38ch; font-size: 15px; }
.footer h4 { font-family: "Space Grotesk", sans-serif; font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin: 0 0 16px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.footer ul a, .footer ul span { color: var(--ink-dim); font-size: 15px; transition: color 0.2s; }
.footer ul a:hover { color: var(--cyan); }
.footer .pending { color: var(--muted); font-style: italic; }
.footer-bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--muted); font-size: 13.5px; }

/* =====================================================================
   MOTION (scroll reveal) + REDUCED MOTION
   ===================================================================== */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.08s; }
.reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.24s; }

@keyframes live { 0% { box-shadow: 0 0 0 0 rgba(52,211,153,0.6); } 70% { box-shadow: 0 0 0 7px rgba(52,211,153,0); } 100% { box-shadow: 0 0 0 0 rgba(52,211,153,0); } }
@keyframes typing { 0%, 60%, 100% { opacity: 0.3; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .reveal-chat { opacity: 1 !important; transform: none !important; }
  .dot-live, .typing span { animation: none !important; }
  * { transition-duration: 0.01ms !important; }
}

/* =====================================================================
   REDESIGN UPGRADES — elevação premium (skill /redesign-existing-projects)
   ===================================================================== */
/* grão fixo sutil: quebra a chatice digital das superfícies planas */
.grain {
  position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: 0.05;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='150' height='150'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* spotlight ciano que segue o cursor nos cards e passos */
.step { position: relative; }
.card > *, .step > * { position: relative; z-index: 1; }
.card::before, .step::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 0;
  background: radial-gradient(230px circle at var(--mx, 50%) var(--my, 50%), rgba(34, 211, 238, 0.13), transparent 60%);
  opacity: 0; transition: opacity 0.4s var(--ease);
}
.card:hover::before, .step:hover::before { opacity: 1; }

/* profundidade ambiente em seções que eram texto sobre navy plano
   (via background da própria section: fica atrás do conteúdo, sem pseudo) */
#problema { background: radial-gradient(46% 42% at 90% 12%, rgba(34, 211, 238, 0.07), transparent 72%); }
#servicos { background: radial-gradient(42% 40% at 6% 32%, rgba(14, 116, 144, 0.12), transparent 72%); }

/* nav indica a seção atual (scroll-spy no JS) */
.nav a { position: relative; }
.nav a.active { color: #fff; }
.nav a.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -7px; height: 2px;
  background: var(--grad-brand); border-radius: 2px;
}

/* números alinhados (tabular) */
.strip-item strong, .truth-n, .step-num { font-variant-numeric: tabular-nums; }

/* tipografia: sem palavras órfãs */
h1, h2, h3, .display, .section-title { text-wrap: balance; }
.lead, .card p, .step p, .truth-list p, .footer-tag, .cta-band p { text-wrap: pretty; }

/* vidro do header mais refinado */
.header.scrolled { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06); }

/* pular para o conteúdo (acessibilidade por teclado) */
.skip {
  position: fixed; top: -60px; left: 14px; z-index: 200;
  background: var(--lime); color: #0A1A0F; padding: 11px 18px; border-radius: 10px;
  font-family: "Space Grotesk", sans-serif; font-weight: 600; font-size: 14.5px;
  transition: top 0.2s var(--ease);
}
.skip:focus { top: 14px; }

/* =====================================================================
   RESPONSIVO
   ===================================================================== */
@media (max-width: 940px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero { text-align: left; }
  .problem-grid { grid-template-columns: 1fr; gap: 44px; }
  .noti-stage { max-width: 480px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer .brand-col { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  .nav, .header-cta .btn { display: none; }
  .nav-toggle { display: inline-flex; }
  .header.menu-open { background: rgba(9,20,38,0.98); backdrop-filter: blur(16px); border-bottom-color: var(--line); }
  .mobile-menu {
    display: none; position: fixed; inset: 72px 0 auto 0; z-index: 99;
    background: rgba(9,20,38,0.98); backdrop-filter: blur(18px); border-bottom: 1px solid var(--line);
    padding: 22px var(--pad) 30px; flex-direction: column; gap: 6px;
  }
  .mobile-menu.open { display: flex; }
  .mobile-menu a { padding: 14px 4px; color: var(--ink); font-size: 17px; border-bottom: 1px solid var(--line); }
  .mobile-menu .btn { margin-top: 16px; width: 100%; }
  .strip-grid { grid-template-columns: 1fr 1fr; }
  .strip-item { box-shadow: none !important; border-top: 1px solid var(--line); }
  .strip-item:nth-child(odd) { box-shadow: -1px 0 0 var(--line) !important; }
  .step { grid-template-columns: 1fr; gap: 14px; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .hero-actions .btn { white-space: normal; text-align: center; }
}
@media (max-width: 480px) {
  .m-card { width: min(330px, 86vw); padding: 24px; }
  .card-ic { width: 44px; height: 44px; }
  .noti { padding: 13px 14px; gap: 11px; }
  .cta-band { padding-inline: 24px; }
}
@media (max-width: 400px) {
  .strip-grid { grid-template-columns: 1fr; }
  .strip-item:nth-child(odd) { box-shadow: none !important; }
}

/* (antes/depois e investimento removidos da página — decisão do Edimar, 11/07/26) */

/* ---------- Guias (índice editorial) ---------- */
.guias-head { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(24px, 4vw, 64px); align-items: end; }
.guias-vivo {
  display: flex; gap: 14px; align-items: flex-start;
  background: var(--surface); border: 1px solid var(--line); border-left: 2px solid var(--cyan);
  border-radius: var(--r-soft); padding: 18px 20px;
}
.guias-vivo .icon { color: var(--cyan); font-size: 22px; flex: none; margin-top: 2px; }
.guias-vivo p { margin: 0; font-size: 14.5px; color: var(--ink-dim); line-height: 1.55; }
.guias-vivo strong { color: var(--ink); }
.guias-index { list-style: none; margin: 44px 0 0; padding: 0; border-top: 1px solid var(--line); }
.guias-index li { border-bottom: 1px solid var(--line); }
.guias-index a {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center;
  gap: clamp(16px, 3vw, 36px); padding: 21px 6px;
  transition: background 0.25s var(--ease), padding-left 0.25s var(--ease);
}
.guias-index a:hover { background: var(--surface); padding-left: 14px; }
.gi-num { font-family: "Space Grotesk", sans-serif; font-size: 13px; letter-spacing: 0.1em; color: var(--cyan); }
.gi-body { display: flex; flex-direction: column; gap: 4px; }
.gi-body strong { font-family: "Space Grotesk", sans-serif; font-weight: 600; font-size: clamp(16.5px, 1.9vw, 20px); color: var(--ink); line-height: 1.25; }
.gi-body em { font-style: normal; font-size: 14.5px; color: var(--muted); }
.gi-new {
  display: inline-block; margin-left: 10px; vertical-align: 3px;
  font-size: 10px; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase;
  color: var(--lime); border: 1px solid currentColor; border-radius: var(--r-pill); padding: 2px 8px;
}
.gi-arrow { color: var(--muted); font-size: 20px; transition: color 0.25s, transform 0.25s; }
.guias-index a:hover .gi-arrow { color: var(--lime); transform: translateX(4px); }
@media (max-width: 860px) {
  .guias-head { grid-template-columns: 1fr; align-items: start; }
  .guias-index a { grid-template-columns: auto 1fr; }
  .gi-arrow { display: none; }
}

/* link do ajuste fino no CTA final */
.cta-fino { margin-top: 26px; font-size: 14.5px; color: var(--muted); }
.cta-fino a { color: var(--cyan-soft); text-decoration: underline; text-underline-offset: 3px; }
.cta-fino a:hover { color: var(--lime); }

/* =====================================================================
   ELEVAÇÃO 11/07/26 — pedidos do Edimar
   ===================================================================== */

/* 1) feixe de luz nos CTAs primários */
.btn-primary { position: relative; overflow: hidden; }
.btn-primary::after {
  content: ""; position: absolute; top: -4px; bottom: -4px; left: -80%; width: 46%;
  background: linear-gradient(105deg, transparent 0%, rgba(255, 255, 255, 0.55) 50%, transparent 100%);
  transform: skewX(-20deg); animation: shine 3.4s ease-in-out infinite; pointer-events: none;
}
@keyframes shine { 0% { left: -80%; } 60% { left: 130%; } 100% { left: 130%; } }

/* 2) todos os títulos de seção com o tratamento prata da hero */
.section-title, .cta-band h2 {
  background: linear-gradient(180deg, #FFFFFF 0%, #E2EDF9 52%, #A9C3E2 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  filter: drop-shadow(0 2px 4px rgba(3, 10, 22, 0.55));
}

@media (prefers-reduced-motion: reduce) {
  .btn-primary::after { animation: none; content: none; }
  .noti { animation: none; opacity: 1; transform: none; }
  .marquee.on .marquee-track { animation: none; }
}
