/* ==========================================================================
   Axia Analytics — folha de estilo principal
   Paleta, tipografia e componentes compartilhados por todas as páginas.
   ========================================================================== */

:root {
  /* Cores base */
  --ink: #0A1322;          /* fundo */
  --ink-2: #0E192C;        /* fundo alternado de seção */
  --panel: #111D31;        /* superfícies */
  --panel-2: #16243C;
  --rule: #22324D;         /* linhas e bordas */
  --rule-soft: #1A2840;
  --text: #E8EEF7;
  --muted: #97A6BE;
  --faint: #6C7D98;

  /* Acentos */
  --axis: #7AA2FF;         /* cor da Axia */
  --axis-strong: #5B87F5;
  --axis-glow: rgba(122, 162, 255, .18);
  --nexxor: #F4B94E;       /* cor do produto Nexxor */
  --nexxor-glow: rgba(244, 185, 78, .14);
  --gain: #3DD69B;
  --loss: #F27878;

  /* Tipografia */
  --f-display: "Sora", system-ui, sans-serif;
  --f-body: "Manrope", system-ui, sans-serif;
  --f-num: "JetBrains Mono", ui-monospace, monospace;

  --step--1: clamp(.84rem, .82rem + .1vw, .9rem);
  --step-0: clamp(1rem, .97rem + .15vw, 1.08rem);
  --step-1: clamp(1.18rem, 1.1rem + .35vw, 1.35rem);
  --step-2: clamp(1.45rem, 1.28rem + .8vw, 1.9rem);
  --step-3: clamp(1.9rem, 1.55rem + 1.6vw, 2.8rem);
  --step-4: clamp(2.4rem, 1.8rem + 2.9vw, 4.1rem);

  /* Espaço e layout */
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(72px, 9vw, 128px);
  --radius-s: 6px;
  --radius-m: 12px;
  --radius-l: 20px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--f-body);
  font-size: var(--step-0);
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul { margin: 0; padding: 0; }

h1, h2, h3, h4 {
  font-family: var(--f-display);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -.022em;
  margin: 0 0 .5em;
  text-wrap: balance;
}
h1 { font-size: var(--step-4); letter-spacing: -.035em; }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); letter-spacing: -.012em; }

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

.skip-link {
  position: absolute; left: 16px; top: -60px;
  background: var(--axis); color: var(--ink);
  padding: 10px 16px; border-radius: var(--radius-s);
  font-weight: 700; z-index: 100; text-decoration: none;
}
.skip-link:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

.section { padding: var(--section) 0; }
.section--alt { background: var(--ink-2); border-block: 1px solid var(--rule-soft); }

.lede { font-size: var(--step-1); color: var(--muted); max-width: 62ch; line-height: 1.55; }
.muted { color: var(--muted); }
.measure { max-width: 68ch; }

.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head p { color: var(--muted); font-size: var(--step-1); line-height: 1.55; }

/* --------------------------------------------------------------------------
   Cabeçalho e navegação
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10, 19, 34, .82);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--rule-soft);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }

.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand svg { width: 34px; height: 34px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font-family: var(--f-display); font-weight: 600; font-size: 1.12rem; letter-spacing: -.02em; }
.brand-sub { font-size: .74rem; color: var(--muted); letter-spacing: .01em; margin-top: 3px; }

.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav-links a {
  display: block; padding: 8px 14px; border-radius: 8px;
  text-decoration: none; color: var(--muted); font-weight: 600; font-size: .95rem;
  transition: color .15s, background-color .15s;
}
.nav-links a:hover { color: var(--text); background: var(--panel); }
.nav-links a[aria-current="page"] { color: var(--text); }
.nav-links a[aria-current="page"]::after {
  content: ""; display: block; height: 2px; margin-top: 4px;
  background: var(--axis); border-radius: 2px;
}
.nav-links .nav-nexxor { color: var(--nexxor); }
.nav-cta { margin-left: 10px; }

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

@media (max-width: 920px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    position: fixed; inset: 72px 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    padding: 12px var(--gutter) 24px;
    background: var(--ink); border-bottom: 1px solid var(--rule);
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .2s, transform .2s, visibility .2s;
  }
  .nav-links.is-open { opacity: 1; transform: none; visibility: visible; }
  .nav-links a { padding: 14px 12px; font-size: 1.05rem; }
  .nav-links a[aria-current="page"]::after { display: none; }
  .nav-links a[aria-current="page"] { background: var(--panel); }
  .nav-cta { margin: 10px 0 0; }
  .nav-cta .btn { width: 100%; }
}

/* --------------------------------------------------------------------------
   Botões
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px; border-radius: 10px;
  font-family: var(--f-body); font-weight: 700; font-size: .98rem;
  text-decoration: none; cursor: pointer; border: 1px solid transparent;
  transition: background-color .15s, border-color .15s, color .15s, transform .15s;
}
.btn:active { transform: translateY(1px); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--primary { background: var(--axis); color: #07101F; }
.btn--primary:hover { background: #95B6FF; }
.btn--ghost { background: transparent; color: var(--text); border-color: var(--rule); }
.btn--ghost:hover { border-color: var(--axis); background: var(--axis-glow); }
.btn--nexxor { background: var(--nexxor); color: #1E1503; }
.btn--nexxor:hover { background: #F8C96F; }
.btn--wa { background: #25D366; color: #052B14; }
.btn--wa:hover { background: #3EE07A; }
.btn--sm { min-height: 40px; padding: 8px 16px; font-size: .92rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* --------------------------------------------------------------------------
   Hero com a DRE ao vivo
   -------------------------------------------------------------------------- */
.hero { position: relative; padding: clamp(56px, 8vw, 112px) 0 clamp(64px, 8vw, 120px); overflow: hidden; }
.hero::before {
  /* Plano cartesiano: o "eixo" que dá nome à Axia */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(var(--rule-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--rule-soft) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 70% at 70% 40%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 70% 40%, #000 20%, transparent 75%);
  opacity: .7;
}
.hero-grid {
  position: relative;
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(40px, 6vw, 80px); align-items: center;
}
.hero h1 { margin-bottom: .4em; }
.hero .lede { margin-bottom: 32px; }
.hero-proof {
  display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 36px;
  list-style: none; color: var(--muted); font-size: var(--step--1);
}
.hero-proof li { display: flex; align-items: center; gap: 8px; }
.hero-proof svg { width: 16px; height: 16px; color: var(--gain); flex: none; }

@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; }
}

/* Painel da DRE */
.ledger {
  position: relative;
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1px solid var(--rule);
  border-radius: var(--radius-l);
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .6), 0 0 0 1px rgba(122, 162, 255, .04) inset;
  overflow: hidden;
}
.ledger-top {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 16px 20px; border-bottom: 1px solid var(--rule);
}
.ledger-title { font-family: var(--f-display); font-weight: 600; font-size: .98rem; }
.ledger-period { font-size: .8rem; color: var(--muted); }
.live {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .78rem; font-weight: 700; color: var(--gain);
  padding: 4px 10px; border-radius: 999px; background: rgba(61, 214, 155, .1);
}
.live::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--gain);
  box-shadow: 0 0 0 0 rgba(61, 214, 155, .6); animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(61, 214, 155, .55); }
  70% { box-shadow: 0 0 0 8px rgba(61, 214, 155, 0); }
  100% { box-shadow: 0 0 0 0 rgba(61, 214, 155, 0); }
}
@media (prefers-reduced-motion: reduce) { .live::before { animation: none; } }

.ledger-table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.ledger-table th, .ledger-table td { padding: 11px 20px; text-align: left; }
.ledger-table th { font-weight: 500; color: var(--muted); }
.ledger-table td { font-family: var(--f-num); font-variant-numeric: tabular-nums; text-align: right; font-size: .88rem; white-space: nowrap; }
.ledger-table td.delta { width: 1%; padding-left: 0; font-size: .78rem; }
.ledger-table tr + tr { border-top: 1px solid var(--rule-soft); }
.ledger-table tr.is-total th { color: var(--text); font-weight: 700; }
.ledger-table tr.is-total td { color: var(--text); font-weight: 600; }
.ledger-table tr.is-result { background: rgba(122, 162, 255, .07); }
.ledger-table tr.is-result th { color: var(--text); font-weight: 700; }
.ledger-table tr.is-result td { color: var(--axis); font-weight: 700; font-size: .95rem; }
.up { color: var(--gain); }
.down { color: var(--loss); }
.flash { animation: flash .9s ease-out; }
@keyframes flash { 0% { background: rgba(122, 162, 255, .22); } 100% { background: transparent; } }

.ledger-chart { padding: 14px 20px 6px; border-top: 1px solid var(--rule); }
.ledger-chart svg { width: 100%; height: 72px; }
.ledger-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  padding: 12px 20px 16px; font-size: .8rem; color: var(--muted);
}
.ai-note { display: inline-flex; align-items: center; gap: 8px; color: var(--text); }
.ai-note svg { width: 16px; height: 16px; color: var(--nexxor); flex: none; }

@media (max-width: 480px) {
  .ledger-table th, .ledger-table td { padding: 10px 14px; }
  .ledger-table td.delta { display: none; }
  .ledger-top, .ledger-chart, .ledger-foot { padding-left: 14px; padding-right: 14px; }
}

/* --------------------------------------------------------------------------
   Faixa de marca: Nexxor é um produto Axia
   -------------------------------------------------------------------------- */
.endorse {
  margin: 0; padding: 18px 0; border-bottom: 1px solid var(--rule-soft); color: var(--muted); font-size: .95rem;
}
.endorse strong { color: var(--text); }
.endorse .tag-nexxor { color: var(--nexxor); font-weight: 700; }

/* --------------------------------------------------------------------------
   Duas frentes (consultoria e sistema)
   -------------------------------------------------------------------------- */
.pillars { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.pillar {
  position: relative; display: flex; flex-direction: column;
  padding: clamp(28px, 3.5vw, 44px);
  background: var(--panel); border: 1px solid var(--rule); border-radius: var(--radius-l);
}
.pillar--nexxor { border-color: rgba(244, 185, 78, .35); background: linear-gradient(160deg, rgba(244,185,78,.07), transparent 45%), var(--panel); }
.pillar-kind { font-size: .9rem; font-weight: 700; color: var(--axis); margin-bottom: 14px; }
.pillar--nexxor .pillar-kind { color: var(--nexxor); }
.pillar h3 { font-size: var(--step-2); }
.pillar p { color: var(--muted); }
.pillar ul { list-style: none; margin: 8px 0 28px; display: grid; gap: 10px; }
.pillar li { display: flex; gap: 10px; align-items: flex-start; }
.pillar li svg { width: 18px; height: 18px; margin-top: 4px; color: var(--axis); flex: none; }
.pillar--nexxor li svg { color: var(--nexxor); }
.pillar .btn { margin-top: auto; align-self: flex-start; }
@media (max-width: 820px) { .pillars { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   Lista de sintomas (na voz do dono)
   -------------------------------------------------------------------------- */
.split { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

.symptoms { list-style: none; display: grid; gap: 0; border-top: 1px solid var(--rule); }
.symptoms li {
  display: grid; grid-template-columns: 28px 1fr; gap: 14px; align-items: start;
  padding: 18px 0; border-bottom: 1px solid var(--rule); font-size: var(--step-1); line-height: 1.45;
}
.symptoms .box {
  width: 22px; height: 22px; margin-top: 3px; border: 1.5px solid var(--faint); border-radius: 6px;
  display: grid; place-items: center; color: var(--loss);
}
.symptoms .box svg { width: 14px; height: 14px; }

/* --------------------------------------------------------------------------
   Etapas (sequência real)
   -------------------------------------------------------------------------- */
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; counter-reset: step; position: relative; }
.steps li { position: relative; padding: 0 28px 0 0; }
.steps li::before {
  counter-increment: step; content: counter(step);
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  font-family: var(--f-display); font-weight: 600; color: var(--axis);
  background: var(--ink); border: 1px solid var(--axis); position: relative; z-index: 1; margin-bottom: 22px;
}
.steps li::after {
  content: ""; position: absolute; top: 22px; left: 44px; right: 0; height: 1px;
  background: linear-gradient(90deg, var(--axis), var(--rule));
}
.steps li:last-child::after { display: none; }
.steps h3 { margin-bottom: .35em; }
.steps p { color: var(--muted); }
.steps .meta { display: block; margin-top: 12px; font-size: .88rem; color: var(--faint); }
@media (max-width: 820px) {
  .steps { grid-template-columns: 1fr; gap: 0; }
  .steps li { padding: 0 0 36px 64px; }
  .steps li::before { position: absolute; left: 0; top: 0; margin: 0; }
  .steps li::after { top: 44px; bottom: 0; left: 22px; right: auto; width: 1px; height: auto; background: var(--rule); }
}

/* --------------------------------------------------------------------------
   Grade de itens (serviços, módulos)
   -------------------------------------------------------------------------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--rule); border: 1px solid var(--rule); border-radius: var(--radius-l); overflow: hidden; }
.grid-3 > * { background: var(--ink); padding: clamp(24px, 3vw, 36px); }
.section--alt .grid-3 > * { background: var(--ink-2); }
@media (max-width: 960px) { .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .grid-3 { grid-template-columns: 1fr; } }

.item-icon {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: var(--axis-glow); color: var(--axis); margin-bottom: 20px;
}
.item-icon svg { width: 22px; height: 22px; }
.item-icon--nexxor { background: var(--nexxor-glow); color: var(--nexxor); }
.item h3 { margin-bottom: .4em; }
.item p { color: var(--muted); font-size: .98rem; }
.item .ai-line { display: flex; gap: 8px; margin-top: 14px; font-size: .9rem; color: var(--text); }
.item .ai-line svg { width: 16px; height: 16px; margin-top: 4px; color: var(--nexxor); flex: none; }
.item--wide { grid-column: 1 / -1; }

/* --------------------------------------------------------------------------
   Regimes tributários e segmentos
   -------------------------------------------------------------------------- */
.chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; }
.chips li {
  padding: 10px 16px; border-radius: 999px; border: 1px solid var(--rule);
  background: var(--panel); font-weight: 600; font-size: .95rem;
}

.regimes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; list-style: none; }
.regimes li { padding: 22px 24px; border: 1px solid var(--rule); border-radius: var(--radius-m); background: var(--panel); }
.regimes strong { display: block; font-family: var(--f-display); font-size: 1.1rem; margin-bottom: 4px; }
.regimes span { color: var(--muted); font-size: .94rem; }
@media (max-width: 760px) { .regimes { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   Estudo de caso
   -------------------------------------------------------------------------- */
.case {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px);
  padding: clamp(28px, 4vw, 56px); border: 1px solid var(--rule); border-radius: var(--radius-l); background: var(--panel);
}
.case h3 { font-size: var(--step-2); }
.case dl { margin: 0; display: grid; gap: 18px; }
.case dt { font-weight: 700; margin-bottom: 4px; }
.case dd { margin: 0; color: var(--muted); }
.case .fine { font-size: .84rem; color: var(--faint); margin-top: 18px; }
@media (max-width: 820px) { .case { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   Planos do Nexxor
   -------------------------------------------------------------------------- */
.billing { display: inline-flex; padding: 4px; border-radius: 12px; background: var(--panel); border: 1px solid var(--rule); margin-bottom: 36px; }
.billing button {
  min-height: 40px; padding: 8px 18px; border-radius: 9px; border: 0; cursor: pointer;
  background: transparent; color: var(--muted); font: 700 .92rem var(--f-body);
}
.billing button[aria-pressed="true"] { background: var(--panel-2); color: var(--text); box-shadow: 0 0 0 1px var(--rule) inset; }
.billing .save { color: var(--gain); font-weight: 700; margin-left: 6px; }

.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.plan {
  display: flex; flex-direction: column; padding: 32px 28px;
  background: var(--panel); border: 1px solid var(--rule); border-radius: var(--radius-l);
}
.plan--featured { border-color: var(--nexxor); box-shadow: 0 0 0 1px var(--nexxor) inset, 0 24px 60px -30px rgba(244, 185, 78, .35); }
.plan-badge { align-self: flex-start; font-size: .8rem; font-weight: 700; color: #1E1503; background: var(--nexxor); padding: 4px 10px; border-radius: 999px; margin-bottom: 14px; }
.plan h3 { font-size: var(--step-2); margin-bottom: .2em; }
.plan-for { color: var(--muted); font-size: .95rem; min-height: 3em; }
.price { display: flex; align-items: baseline; gap: 6px; margin: 18px 0 4px; }
.price-value { font-family: var(--f-display); font-size: clamp(2rem, 1.6rem + 1.4vw, 2.6rem); font-weight: 600; letter-spacing: -.03em; }
.price-unit { color: var(--muted); font-size: .95rem; }
.price-note { font-size: .86rem; color: var(--faint); margin-bottom: 22px; min-height: 1.4em; }
.plan ul { list-style: none; display: grid; gap: 11px; margin-bottom: 28px; font-size: .96rem; }
.plan li { display: flex; gap: 10px; align-items: flex-start; }
.plan li svg { width: 17px; height: 17px; margin-top: 4px; color: var(--gain); flex: none; }
.plan .btn { margin-top: auto; width: 100%; }
@media (max-width: 980px) { .plans { grid-template-columns: 1fr; max-width: 520px; } .plan-for { min-height: 0; } }

.table-scroll { overflow-x: auto; border: 1px solid var(--rule); border-radius: var(--radius-m); -webkit-overflow-scrolling: touch; }
.compare { width: 100%; min-width: 640px; border-collapse: collapse; font-size: .95rem; }
.compare caption { text-align: left; padding: 16px 20px; font-weight: 700; font-family: var(--f-display); border-bottom: 1px solid var(--rule); }
.compare th, .compare td { padding: 14px 20px; text-align: left; border-bottom: 1px solid var(--rule-soft); }
.compare thead th { color: var(--muted); font-weight: 600; background: var(--panel); }
.compare tbody th { font-weight: 600; }
.compare td { text-align: center; color: var(--muted); }
.compare thead th:not(:first-child) { text-align: center; }
.compare .yes { color: var(--gain); font-weight: 700; }
.compare tr:last-child th, .compare tr:last-child td { border-bottom: 0; }

/* Roadmap */
.roadmap { list-style: none; display: grid; gap: 0; border-left: 1px solid var(--rule); margin-left: 6px; }
.roadmap li { position: relative; padding: 0 0 26px 28px; }
.roadmap li::before {
  content: ""; position: absolute; left: -6px; top: 6px; width: 11px; height: 11px; border-radius: 50%;
  background: var(--ink); border: 2px solid var(--faint);
}
.roadmap li.done::before { background: var(--gain); border-color: var(--gain); }
.roadmap li.next::before { border-color: var(--nexxor); }
.roadmap strong { display: block; }
.roadmap span { color: var(--muted); font-size: .95rem; }

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */
.faq { border-top: 1px solid var(--rule); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 44px 22px 0; position: relative;
  font-family: var(--f-display); font-weight: 600; font-size: var(--step-1); letter-spacing: -.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 8px; top: 50%; width: 12px; height: 12px;
  border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted);
  transform: translateY(-70%) rotate(45deg); transition: transform .2s;
}
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq .answer { padding: 0 0 24px; color: var(--muted); max-width: 72ch; }

/* --------------------------------------------------------------------------
   Faixa de chamada final
   -------------------------------------------------------------------------- */
.cta-band {
  position: relative; overflow: hidden;
  padding: clamp(40px, 6vw, 72px); border-radius: var(--radius-l);
  background: radial-gradient(120% 140% at 100% 0%, rgba(122,162,255,.22), transparent 55%), var(--panel);
  border: 1px solid var(--rule);
  display: grid; grid-template-columns: minmax(0, 1.4fr) auto; gap: 32px; align-items: center;
}
.cta-band h2 { margin-bottom: .3em; }
.cta-band p { color: var(--muted); font-size: var(--step-1); }
@media (max-width: 820px) { .cta-band { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   Páginas internas
   -------------------------------------------------------------------------- */
.page-hero { position: relative; padding: clamp(56px, 7vw, 104px) 0 clamp(40px, 5vw, 72px); border-bottom: 1px solid var(--rule-soft); overflow: hidden; }
.page-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(var(--rule-soft) 1px, transparent 1px), linear-gradient(90deg, var(--rule-soft) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 60% 90% at 90% 0%, #000 10%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 60% 90% at 90% 0%, #000 10%, transparent 70%);
}
.page-hero .wrap { position: relative; }
.page-hero h1 { font-size: clamp(2.2rem, 1.7rem + 2.4vw, 3.6rem); max-width: 18ch; }
.page-hero--nexxor h1 { max-width: 20ch; }

.crumbs { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; font-size: .88rem; color: var(--faint); margin-bottom: 28px; }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--rule); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--text); }

.product-mark { display: inline-flex; align-items: center; gap: 14px; margin-bottom: 24px; }
.product-mark svg { width: 44px; height: 44px; }
.product-mark .pm-name { font-family: var(--f-display); font-weight: 600; font-size: 1.5rem; letter-spacing: -.02em; }
.product-mark .pm-by { display: block; font-size: .84rem; color: var(--muted); }

.prose h2 { font-size: var(--step-2); margin-top: 1.6em; }
.prose p, .prose li { color: var(--muted); }
.prose strong { color: var(--text); }

.facts { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.facts li { padding: 22px; border: 1px solid var(--rule); border-radius: var(--radius-m); background: var(--panel); }
.facts strong { display: block; font-family: var(--f-display); font-size: 1.05rem; margin-bottom: 4px; }
.facts span { color: var(--muted); font-size: .94rem; }
@media (max-width: 760px) { .facts { grid-template-columns: 1fr; } }

.contact-card {
  padding: clamp(28px, 4vw, 48px); border: 1px solid var(--rule); border-radius: var(--radius-l);
  background: radial-gradient(100% 120% at 0% 0%, rgba(37,211,102,.12), transparent 55%), var(--panel);
}
.contact-card h2 { font-size: var(--step-2); }
.topics { display: grid; gap: 10px; margin: 24px 0 0; list-style: none; }
.topics a {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 16px 18px; border: 1px solid var(--rule); border-radius: var(--radius-m);
  text-decoration: none; font-weight: 600; background: var(--ink); transition: border-color .15s;
}
.topics a:hover { border-color: #25D366; }
.topics a svg { width: 18px; height: 18px; color: #25D366; flex: none; }

/* --------------------------------------------------------------------------
   Rodapé
   -------------------------------------------------------------------------- */
.site-footer { border-top: 1px solid var(--rule-soft); padding: 64px 0 32px; margin-top: var(--section); font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
.footer-grid h2 { font-size: 1rem; letter-spacing: 0; margin-bottom: 14px; }
.footer-grid ul { list-style: none; display: grid; gap: 10px; }
.footer-grid a { color: var(--muted); text-decoration: none; }
.footer-grid a:hover { color: var(--text); }
.footer-about p { color: var(--muted); max-width: 40ch; margin-top: 16px; }
.footer-legal {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--rule-soft); color: var(--faint); font-size: .86rem;
}
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-about { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

/* Botão flutuante de WhatsApp */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 60;
  width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center; background: #25D366; color: #052B14;
  box-shadow: 0 12px 30px -8px rgba(37, 211, 102, .55); transition: transform .15s;
}
.wa-float:hover { transform: scale(1.06); }
.wa-float svg { width: 30px; height: 30px; }

/* Revelação única ao carregar o hero */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(14px); animation: rise .8s cubic-bezier(.2,.7,.2,1) forwards; }
  .reveal-2 { animation-delay: .12s; }
  .reveal-3 { animation-delay: .24s; }
  .reveal-4 { animation-delay: .38s; }
  @keyframes rise { to { opacity: 1; transform: none; } }
}

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.mt-l { margin-top: clamp(40px, 5vw, 64px); }
.mt-m { margin-top: 28px; }

/* Botão de WhatsApp dentro do menu mantém as cores do botão */
.nav-links a.btn { display: inline-flex; color: #052B14; padding: 8px 16px; }
.nav-links a.btn:hover { color: #052B14; background: #3EE07A; }

/* Âncoras não ficam escondidas atrás do cabeçalho fixo */
[id] { scroll-margin-top: 88px; }

/* Faixa da condição de lançamento */
.launch {
  display: flex; gap: 10px; align-items: flex-start; max-width: 760px;
  padding: 14px 18px; margin-bottom: 24px; border-radius: var(--radius-m);
  border: 1px solid rgba(244, 185, 78, .4); background: var(--nexxor-glow);
}
.launch svg { width: 18px; height: 18px; margin-top: 4px; color: var(--nexxor); flex: none; }
.launch a { color: var(--nexxor); font-weight: 700; white-space: nowrap; }
