/* =============================================================================
   ANTERA — site institucional
   Constituição Roxa aplicada à web: tokens do Design System do produto.
   Fontes: Plus Jakarta Sans (UI) + JetBrains Mono (dado técnico).
   ========================================================================== */

:root {
  /* Marca */
  --brand-50: #F5F3FF;
  --brand-100: #EDE9FE;
  --brand-200: #DDD6FE;
  --brand-300: #C4B5FD;
  --brand-400: #A78BFA;
  --brand-600: #7C3AED;
  --brand-700: #6D28D9;
  --brand-800: #5B21B6;
  --brand-900: #4C1D95;
  --brand-950: #2E1065;
  --sidebar: #411E85;

  /* Acento oficial (laranja) */
  --accent: #F97316;
  --accent-strong: #EA580C;
  --accent-hover: #C2410C;
  --accent-soft: #FFEDD5;
  --accent-tint: #FFF7ED;
  --on-accent: #FFFFFF;

  /* Funcionais — estado, nunca decoração */
  --emerald: #10B981;
  --emerald-deep: #047857;
  --amber: #F59E0B;
  --amber-deep: #B45309;
  --sky: #0EA5E9;
  --sky-deep: #0369A1;
  --teal: #14B8A6;

  /* Neutros ink (viés roxo) */
  --ink: #1A1424;
  --ink-body: #3F3849;
  --ink-muted: #675E72;
  --ink-faint: #7C7388;
  --border: #E6E2EC;
  --border-strong: #CFC8D6;
  --surface: #FFFFFF;
  --bg: #FAF8FC;
  --input: #F2EFF6;

  /* Sobre roxo profundo */
  --lav-body: #CBBFE8;
  --lav-muted: #A493CC;

  /* Formas */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 20px;

  /* Tipos */
  --font-ui: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", "SF Mono", Consolas, monospace;

  /* Sombra */
  --shadow-1: 0 1px 2px rgb(26 20 36 / .06), 0 4px 12px rgb(26 20 36 / .05);
  --shadow-2: 0 2px 6px rgb(26 20 36 / .07), 0 12px 32px rgb(26 20 36 / .10);
  --shadow-3: 0 8px 24px rgb(46 16 101 / .16), 0 32px 80px rgb(46 16 101 / .22);

  /* Z-scale semântica */
  --z-marquee: 1;
  --z-sticky: 40;
  --z-header: 50;
  --z-overlay: 60;
  --z-modal: 70;
  --z-toast: 80;

  --container: 1180px;
  --header-h: 72px;
}

/* ---------- Reset enxuto ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-ui);
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: -0.01em;
  color: var(--ink-body);
  background: var(--surface);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-700); text-decoration: none; }
a:hover { color: var(--brand-600); }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.2; letter-spacing: -0.025em; margin: 0 0 .5em; text-wrap: balance; }
p { margin: 0 0 1em; max-width: 68ch; text-wrap: pretty; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--brand-600); outline-offset: 3px; border-radius: 4px; }

.mono { font-family: var(--font-mono); letter-spacing: normal; }
section[id], .explorador { scroll-margin-top: calc(var(--header-h) + 16px); }
.container { width: min(var(--container), 100% - 48px); margin-inline: auto; }
@media (max-width: 640px) { .container { width: calc(100% - 40px); } }

/* =============================================================================
   HEADER
   ========================================================================== */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  height: var(--header-h);
  z-index: var(--z-header);
  display: flex;
  align-items: center;
  background: linear-gradient(to bottom, rgb(19 8 29 / .94), rgb(19 8 29 / .62));
  backdrop-filter: blur(18px) saturate(1.5);
  -webkit-backdrop-filter: blur(18px) saturate(1.5);
  transition: background .4s ease, height .35s cubic-bezier(.22,1,.36,1);
}
.site-header::before { /* aurora interna da barra */
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  background:
    radial-gradient(440px 100px at 16% 130%, rgb(124 58 237 / .38), transparent 70%),
    radial-gradient(400px 90px at 84% -30%, rgb(234 88 12 / .2), transparent 70%);
}
.site-header.is-scrolled { height: 58px; background: linear-gradient(to bottom, rgb(16 7 25 / .97), rgb(16 7 25 / .9)); }
.site-header.is-scrolled .header-logo img { height: 25px; }
.header-fio {
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: linear-gradient(90deg, transparent 2%, var(--brand-600) 25%, var(--brand-400) 45%, var(--accent) 58%, var(--brand-600) 78%, transparent 98%);
  background-size: 220% 100%;
  animation: fioCorre 8s linear infinite;
}
@keyframes fioCorre { to { background-position: -220% 0; } }
.header-inner {
  position: relative;
  width: min(var(--container), 100% - 48px);
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 24px;
}
.header-logo { display: flex; align-items: center; flex-shrink: 0; }
.header-logo img { height: 30px; width: auto; transition: filter .3s, height .35s cubic-bezier(.22,1,.36,1); }
.header-logo:hover img { filter: drop-shadow(0 0 10px rgb(167 139 250 / .8)); }

.main-nav { display: flex; gap: 2px; margin-left: auto; position: relative; }
.nav-ink {
  position: absolute;
  top: 50%;
  height: 38px;
  transform: translateY(-50%);
  border-radius: 99px;
  background: rgb(255 255 255 / .1);
  border: 1px solid rgb(255 255 255 / .16);
  opacity: 0;
  pointer-events: none;
  transition: left .35s cubic-bezier(.22,1,.36,1), width .35s cubic-bezier(.22,1,.36,1), opacity .25s;
}
.nav-ink.visivel { opacity: 1; }
.main-nav a {
  position: relative;
  z-index: 1;
  padding: 10px 15px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--lav-body);
  border-radius: 99px;
  transition: color .2s, background .2s;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 15px; right: 15px; bottom: 5px;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s cubic-bezier(.22,1,.36,1);
}
.main-nav a:hover { color: #fff; }
.main-nav a:hover::after { transform: scaleX(1); }
.main-nav a[aria-current="page"] { color: #fff; }
.main-nav a[aria-current="page"]::after { transform: scaleX(1); }

/* Toggle de tema (discreto) */
.tema-toggle {
  flex-shrink: 0;
  width: 40px; height: 40px;
  border: 1px solid rgb(255 255 255 / .18);
  border-radius: 50%;
  background: rgb(255 255 255 / .06);
  color: var(--lav-body);
  display: grid;
  place-items: center;
  transition: background .2s, color .2s, transform .3s cubic-bezier(.22,1,.36,1), border-color .2s;
}
.tema-toggle:hover { background: rgb(255 255 255 / .14); color: #fff; transform: rotate(30deg); border-color: rgb(255 255 255 / .4); }
.tema-toggle svg { width: 17px; height: 17px; }
.tema-toggle .ic-sol { display: none; }
[data-site-theme="dark"] .tema-toggle .ic-sol { display: block; }
[data-site-theme="dark"] .tema-toggle .ic-lua { display: none; }

.header-cta { flex-shrink: 0; position: relative; overflow: hidden; }
.header-cta::after { /* shimmer periódico */
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  width: 46%;
  left: -60%;
  background: linear-gradient(105deg, transparent, rgb(255 255 255 / .45), transparent);
  transform: skewX(-20deg);
  animation: brilha 4.5s ease-in-out infinite;
}
@keyframes brilha {
  0%, 62% { left: -60%; }
  86%, 100% { left: 130%; }
}

/* Hamburger */
.nav-toggle {
  display: none;
  margin-left: auto;
  width: 44px; height: 44px;
  border: 0;
  background: transparent;
  border-radius: var(--r-sm);
  position: relative;
}
.nav-toggle span, .nav-toggle::before, .nav-toggle::after {
  content: "";
  position: absolute;
  left: 11px; right: 11px;
  height: 2px;
  border-radius: 2px;
  background: #fff;
  transition: transform .3s cubic-bezier(.22,1,.36,1), opacity .2s;
}
.nav-toggle::before { top: 15px; }
.nav-toggle span { top: 21px; }
.nav-toggle::after { top: 27px; }
body.nav-open .nav-toggle::before { transform: translateY(6px) rotate(45deg); }
body.nav-open .nav-toggle span { opacity: 0; }
body.nav-open .nav-toggle::after { transform: translateY(-6px) rotate(-45deg); }
body.nav-open .nav-toggle span, body.nav-open .nav-toggle::before, body.nav-open .nav-toggle::after { background: #fff; }

@media (max-width: 900px) {
  .main-nav, .btn.header-cta { display: none; }
  .tema-toggle { margin-left: auto; }
  .nav-toggle { margin-left: 0; }
  .nav-toggle { display: block; }
  .mobile-nav {
    position: fixed;
    inset: 0;
    z-index: var(--z-overlay);
    background: linear-gradient(160deg, var(--brand-900), var(--brand-950));
    display: grid;
    place-content: center;
    gap: 8px;
    opacity: 0;
    visibility: hidden;
    transition: opacity .35s ease, visibility 0s .35s;
  }
  body.nav-open .mobile-nav { opacity: 1; visibility: visible; transition: opacity .35s ease; }
  .mobile-nav a {
    font-size: clamp(1.6rem, 6vw, 2.2rem);
    font-weight: 800;
    color: #fff;
    padding: 10px 18px;
    text-align: center;
    letter-spacing: -0.02em;
    transform: translateY(14px);
    opacity: 0;
    transition: transform .45s cubic-bezier(.22,1,.36,1), opacity .4s;
  }
  body.nav-open .mobile-nav a { transform: none; opacity: 1; }
  body.nav-open .mobile-nav a:nth-child(2) { transition-delay: .05s; }
  body.nav-open .mobile-nav a:nth-child(3) { transition-delay: .1s; }
  body.nav-open .mobile-nav a:nth-child(4) { transition-delay: .15s; }
  body.nav-open .mobile-nav a:nth-child(5) { transition-delay: .2s; }
  .mobile-nav a[aria-current="page"] { color: var(--accent); }
  body.nav-open { overflow: hidden; }
}
@media (min-width: 901px) { .mobile-nav { display: none; } }

/* =============================================================================
   BOTÕES
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  font-size: 15px;
  line-height: 1;
  border-radius: var(--r-sm);
  padding: 14px 22px;
  border: 1px solid transparent;
  transition: background .2s, color .2s, border-color .2s, transform .15s ease, box-shadow .2s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--brand-600); color: #fff; box-shadow: 0 1px 2px rgb(46 16 101 / .3), 0 6px 18px rgb(124 58 237 / .28); }
.btn-primary:hover { background: var(--brand-700); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--border-strong); }
.btn-ghost:hover { border-color: var(--brand-600); color: var(--brand-700); background: var(--brand-50); }
.btn-inverse { background: #fff; color: var(--brand-800); }
.btn-inverse:hover { background: var(--brand-50); color: var(--brand-900); }
.btn-hero-ghost { background: rgb(255 255 255 / .07); color: #fff; border-color: rgb(255 255 255 / .25); }
.btn-hero-ghost:hover { background: rgb(255 255 255 / .13); color: #fff; border-color: rgb(255 255 255 / .45); }
.btn-sm { padding: 10px 16px; font-size: 14px; }
.btn-lg { padding: 16px 28px; font-size: 16px; }
.btn .seta { transition: transform .25s cubic-bezier(.22,1,.36,1); }
.btn:hover .seta { transform: translateX(3px); }

/* Redutor de atrito ao lado do CTA */
.cta-note { font-size: 13px; color: var(--ink-muted); display: flex; align-items: center; gap: 6px; }
.cta-note svg { color: var(--emerald-deep); flex-shrink: 0; }

/* =============================================================================
   CHIP DE ÍCONE (grammar oficial do DS: laranja + glifo branco)
   ========================================================================== */
.chip {
  width: 44px; height: 44px;
  border-radius: var(--r-md);
  background: var(--accent);
  color: var(--on-accent);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgb(234 88 12 / .28);
}
.chip svg { width: 22px; height: 22px; }
.chip--brand { background: var(--brand-600); box-shadow: 0 4px 12px rgb(124 58 237 / .28); }
.chip--sm { width: 34px; height: 34px; border-radius: 10px; }
.chip--sm svg { width: 17px; height: 17px; }

/* Título de seção com chip (o cabeçalho-padrão das telas do produto) */
.sec-head { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 20px; }
.sec-head h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); font-weight: 800; margin: 0; }
.sec-head .sub { font-size: 16.5px; color: var(--ink-muted); margin: 6px 0 0; }

/* =============================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative;
  background:
    radial-gradient(1100px 520px at 12% -10%, rgb(124 58 237 / .55), transparent 60%),
    radial-gradient(900px 480px at 95% 8%, rgb(234 88 12 / .28), transparent 55%),
    linear-gradient(160deg, var(--brand-900) 0%, var(--brand-950) 62%, #1E0A45 100%);
  color: #fff;
  padding: calc(var(--header-h) + clamp(48px, 9vh, 96px)) 0 0;
  overflow: hidden;
}
.hero::after { /* grão sutil anti-banda */
  content: "";
  position: absolute; inset: 0;
  pointer-events: none;
  opacity: .5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .035 0'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  padding-bottom: clamp(60px, 9vh, 110px);
}
.hero h1 {
  color: #fff;
  font-size: clamp(2.1rem, 4.6vw, 3.55rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.12;
  margin-bottom: 20px;
}
.hero h1 .marca-laranja { position: relative; white-space: nowrap; }
.hero h1 .marca-laranja::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: .04em;
  height: .14em;
  background: var(--accent);
  border-radius: 3px;
  transform: scaleX(0);
  transform-origin: left;
  animation: sublinha .7s cubic-bezier(.22,1,.36,1) .9s forwards;
}
@keyframes sublinha { to { transform: scaleX(1); } }
.hero .lead { font-size: clamp(1.02rem, 1.6vw, 1.2rem); color: var(--lav-body); max-width: 54ch; margin-bottom: 30px; }
.hero .lead strong { color: #fff; font-weight: 700; }
.hero-actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-bottom: 34px; }
.hero-actions .cta-note { color: var(--lav-muted); }
.hero-actions .cta-note svg { color: #34D399; }

/* Palavras do headline sobem uma a uma */
.js .palavra { display: inline-block; opacity: 0; transform: translateY(.55em); }
.js .palavra.entra { animation: sobe .7s cubic-bezier(.22,1,.36,1) forwards; }
@keyframes sobe { to { opacity: 1; transform: none; } }

/* Fatos em mono na base do hero */
.hero-fatos { display: flex; gap: clamp(18px, 3.4vw, 44px); flex-wrap: wrap; }
.hero-fatos .fato { min-width: 96px; }
.hero-fatos .num {
  font-family: var(--font-mono);
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: baseline;
  gap: 2px;
}
.hero-fatos .num .mais { color: var(--accent); }
.hero-fatos .rot { font-size: 12.5px; font-weight: 600; color: var(--lav-muted); margin-top: 2px; }

/* Vitrine do produto (browser frame + tilt) */
.hero-vitrine { position: relative; perspective: 1400px; }
.browser-frame {
  border-radius: var(--r-lg);
  overflow: hidden;
  background: #14091F;
  box-shadow: var(--shadow-3), 0 0 0 1px rgb(255 255 255 / .09);
  transform: rotateY(-7deg) rotateX(3deg);
  transform-style: preserve-3d;
  transition: transform .5s cubic-bezier(.22,1,.36,1);
  will-change: transform;
}
.browser-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  background: rgb(255 255 255 / .05);
  border-bottom: 1px solid rgb(255 255 255 / .07);
}
.browser-bar .bolinhas { display: flex; gap: 6px; }
.browser-bar .bolinhas i { width: 10px; height: 10px; border-radius: 50%; background: rgb(255 255 255 / .16); }
.browser-bar .bolinhas i:first-child { background: rgb(196 181 253 / .55); }
.browser-bar .bolinhas i:nth-child(2) { background: rgb(255 255 255 / .28); }
.browser-bar .bolinhas i:last-child { background: rgb(249 115 22 / .6); }
.browser-url {
  flex: 1;
  max-width: 340px;
  margin-inline: auto;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--lav-muted);
  background: rgb(0 0 0 / .3);
  border-radius: 99px;
  padding: 5px 14px;
  display: flex;
  align-items: center;
  gap: 7px;
}
.browser-url svg { width: 11px; height: 11px; color: #34D399; flex-shrink: 0; }
.browser-frame img { width: 100%; }

/* Chips flutuantes de KPI ao redor da vitrine */
.kpi-flutua {
  position: absolute;
  background: #fff;
  color: var(--ink);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-2);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  animation: flutua 7s ease-in-out infinite;
}
.kpi-flutua .v { font-family: var(--font-mono); font-weight: 700; font-size: 17px; line-height: 1.1; }
.kpi-flutua .l { font-size: 11.5px; font-weight: 600; color: var(--ink-muted); }
.kpi-flutua--boleto { top: -22px; right: 8%; animation-delay: 1.2s; }
.kpi-flutua--caixa { bottom: 12%; left: -34px; }
.kpi-flutua .selo-ok {
  width: 30px; height: 30px;
  border-radius: 9px;
  background: #ECFDF5;
  color: var(--emerald-deep);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.kpi-flutua .selo-ok svg { width: 16px; height: 16px; }
@keyframes flutua {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .browser-frame { transform: none; }
  .kpi-flutua--caixa { left: 8px; bottom: -18px; }
  .kpi-flutua--boleto { top: -16px; right: 6px; }
}

/* Faixa de transição hero → conteúdo */
.hero-borda { position: relative; z-index: 1; height: clamp(28px, 4vw, 48px); background: linear-gradient(to bottom right, transparent 49.6%, var(--surface) 50%); }

/* =============================================================================
   MARQUEE DE SEGMENTOS
   ========================================================================== */
.segmentos { padding: 10px 0 6px; overflow: hidden; position: relative; z-index: var(--z-marquee); }
.segmentos .rotulo { text-align: center; font-size: 13.5px; font-weight: 700; color: var(--ink-muted); margin-bottom: 18px; }
.marquee { display: flex; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-faixa { display: flex; gap: 14px; padding-right: 14px; flex-shrink: 0; animation: rola 36s linear infinite; }
.marquee:hover .marquee-faixa { animation-play-state: paused; }
.seg-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink-body);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 99px;
  padding: 9px 18px;
  white-space: nowrap;
}
.seg-pill svg { width: 16px; height: 16px; color: var(--accent-strong); }
@keyframes rola { to { transform: translateX(-100%); } }

/* =============================================================================
   SEÇÕES GENÉRICAS
   ========================================================================== */
.secao { padding: clamp(64px, 9vw, 110px) 0; }
.secao--suave { background: var(--bg); }
.secao--roxa {
  background: linear-gradient(160deg, var(--brand-900), var(--brand-950));
  color: var(--lav-body);
}
.secao--roxa h2, .secao--roxa h3 { color: #fff; }

/* =============================================================================
   PROBLEMA (cena do dia real)
   ========================================================================== */
.problema-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.problema-copy h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); font-weight: 800; }
.problema-copy .destaque { color: var(--accent-strong); }
.cena {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: passo;
  display: grid;
  gap: 0;
  position: relative;
}
.cena li {
  position: relative;
  padding: 18px 0 18px 58px;
  border-bottom: 1px dashed var(--border-strong);
  font-size: 16px;
}
.cena li:last-child { border-bottom: 0; }
.cena li::before {
  counter-increment: passo;
  content: counter(passo, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 16px;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  color: var(--accent-strong);
  background: var(--accent-tint);
  border: 1px solid var(--accent-soft);
  width: 40px; height: 40px;
  border-radius: 11px;
  display: grid;
  place-items: center;
}
.cena li strong { color: var(--ink); }
.cena li .custo { display: block; font-size: 13.5px; color: var(--accent-hover); font-weight: 600; margin-top: 2px; }
.problema-fecho {
  margin-top: 26px;
  padding: 18px 22px;
  background: var(--brand-50);
  border: 1px solid var(--brand-100);
  border-radius: var(--r-md);
  color: var(--brand-900);
  font-weight: 600;
  font-size: 16.5px;
  max-width: none;
}
@media (max-width: 900px) { .problema-grid { grid-template-columns: 1fr; } }

/* =============================================================================
   FLUXO — do lead ao caixa (SVG animado)
   ========================================================================== */
.fluxo-wrap { margin-top: 8px; }
.fluxo-svg { width: 100%; height: auto; display: block; }
.fluxo-svg .trilho { stroke: var(--border-strong); stroke-width: 2; fill: none; }
.fluxo-svg .energia {
  stroke: url(#gradFluxo);
  stroke-width: 3;
  fill: none;
  stroke-linecap: round;
  stroke-dasharray: 60 1400;
  animation: corre 5.5s linear infinite;
}
@keyframes corre { to { stroke-dashoffset: -1460; } }
.fluxo-no { transition: transform .4s cubic-bezier(.22,1,.36,1); transform-box: fill-box; transform-origin: center; }
.fluxo-svg text { font-family: var(--font-ui); font-weight: 700; font-size: 13px; fill: var(--ink); }
.fluxo-svg .sub { font-weight: 600; font-size: 10.5px; fill: var(--ink-muted); }
.fluxo-legenda { text-align: center; font-size: 14px; color: var(--ink-muted); margin-top: 14px; }
.fluxo-legenda strong { color: var(--ink); }

/* =============================================================================
   MÓDULOS (bento assimétrico na home)
   ========================================================================== */
.bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
}
.bento-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: border-color .25s, box-shadow .25s, transform .25s cubic-bezier(.22,1,.36,1);
}
.bento-card:hover { border-color: var(--brand-300); box-shadow: var(--shadow-2); transform: translateY(-3px); }
.bento-card h3 { font-size: 18px; font-weight: 700; margin: 8px 0 0; }
.bento-card p { font-size: 14.5px; color: var(--ink-muted); margin: 0; }
.bento-card .mais-modulo {
  margin-top: auto;
  padding-top: 10px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--brand-700);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.bento-visual { grid-column: span 7; padding: 0; overflow: hidden; }
.bento-visual .miolo { padding: 26px 26px 0; }
.bento-visual figure { margin: 18px 0 0; overflow: hidden; }
.bento-visual img { width: 100%; transform: translateY(6px); transition: transform .6s cubic-bezier(.22,1,.36,1); }
.bento-visual:hover img { transform: translateY(0) scale(1.015); }
.bento-5 { grid-column: span 5; }
.bento-4 { grid-column: span 4; }
.bento-3 { grid-column: span 3; }
@media (max-width: 980px) {
  .bento-visual, .bento-5, .bento-4, .bento-3 { grid-column: span 12; }
  .bento { gap: 14px; }
}

/* Lista compacta de módulos secundários */
.mod-lista { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 4px 28px; margin-top: 30px; }
.mod-lista li { display: flex; align-items: center; gap: 12px; padding: 11px 4px; border-bottom: 1px solid var(--border); font-size: 15px; font-weight: 600; color: var(--ink-body); }
.mod-lista li svg { width: 17px; height: 17px; color: var(--brand-600); flex-shrink: 0; }

/* =============================================================================
   TEMA / PALETAS (prova visual interativa)
   ========================================================================== */
.tema-demo { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.35fr); gap: clamp(28px, 4.5vw, 64px); align-items: center; }
.tema-copy h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); font-weight: 800; }
.tema-copy .frase-marca { font-size: 17px; font-weight: 700; color: var(--brand-800); }
.paleta-picker { display: flex; gap: 10px; flex-wrap: wrap; margin: 22px 0 14px; }
.paleta-dot {
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 3px solid transparent;
  padding: 0;
  position: relative;
  transition: transform .2s cubic-bezier(.22,1,.36,1), border-color .2s;
}
.paleta-dot:hover { transform: scale(1.1); }
.paleta-dot[aria-pressed="true"] { border-color: var(--ink); transform: scale(1.08); }
.paleta-dot i { position: absolute; inset: 4px; border-radius: 50%; }
.paleta-dot .nome-paleta {
  position: absolute;
  top: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%);
  font-size: 11px;
  font-weight: 700;
  color: var(--ink-muted);
  white-space: nowrap;
}
.tema-modo { display: inline-flex; background: var(--input); border-radius: 99px; padding: 4px; gap: 2px; margin-top: 26px; }
.tema-modo button {
  border: 0;
  background: transparent;
  border-radius: 99px;
  padding: 8px 18px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink-muted);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: background .2s, color .2s, box-shadow .2s;
}
.tema-modo button[aria-pressed="true"] { background: #fff; color: var(--ink); box-shadow: var(--shadow-1); }
.tema-modo svg { width: 15px; height: 15px; }
.tema-vitrine { position: relative; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-2); border: 1px solid var(--border); background: #14091F; }
.tema-vitrine img { width: 100%; display: block; }
.tema-vitrine img.troca { animation: cruza .5s ease; }
@keyframes cruza { from { opacity: 0; } }
.tema-etiqueta {
  position: absolute;
  bottom: 14px; right: 14px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 700;
  background: rgb(26 20 36 / .78);
  color: #fff;
  border-radius: 99px;
  padding: 6px 14px;
  backdrop-filter: blur(4px);
}
@media (max-width: 980px) { .tema-demo { grid-template-columns: 1fr; } }

/* =============================================================================
   DIFERENCIAIS (linhas alternadas, número mono)
   ========================================================================== */
.difs { display: grid; gap: 0; margin-top: 10px; }
.dif {
  display: grid;
  grid-template-columns: 88px minmax(0, .95fr) minmax(0, 1.4fr);
  gap: 10px 28px;
  align-items: baseline;
  padding: 26px 4px;
  border-bottom: 1px solid rgb(255 255 255 / .12);
}
.dif:last-child { border-bottom: 0; }
.dif .n { font-family: var(--font-mono); font-size: 15px; font-weight: 700; color: var(--accent); }
.dif h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); font-weight: 800; margin: 0; }
.dif p { color: var(--lav-body); margin: 0; font-size: 15.5px; max-width: none; }
.dif p .mono { color: #fff; font-size: 14px; }
@media (max-width: 820px) { .dif { grid-template-columns: 52px 1fr; } .dif p { grid-column: 2; } }

/* =============================================================================
   NÚMEROS (contadores)
   ========================================================================== */
.numeros { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; }
.num-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md); padding: 22px 20px; }
.num-card .v { font-family: var(--font-mono); font-size: clamp(1.7rem, 3vw, 2.3rem); font-weight: 700; color: var(--ink); display: flex; align-items: baseline; }
.num-card .v .mais { color: var(--accent-strong); }
.num-card .l { font-size: 13px; font-weight: 600; color: var(--ink-muted); margin-top: 4px; line-height: 1.4; }

/* =============================================================================
   OBJEÇÕES / FAQ (accordion)
   ========================================================================== */
.faq { display: grid; gap: 10px; max-width: 860px; margin-inline: auto; }
.faq details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: border-color .25s, box-shadow .25s;
}
.faq details[open] { border-color: var(--brand-300); box-shadow: var(--shadow-1); }
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  font-weight: 700;
  font-size: 15.5px;
  color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .obj-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--accent-hover);
  background: var(--accent-tint);
  border-radius: 6px;
  padding: 3px 8px;
  flex-shrink: 0;
}
.faq summary .abre {
  margin-left: auto;
  width: 26px; height: 26px;
  border-radius: 8px;
  background: var(--input);
  display: grid;
  place-items: center;
  transition: transform .3s cubic-bezier(.22,1,.36,1), background .2s;
  flex-shrink: 0;
}
.faq details[open] .abre { transform: rotate(45deg); background: var(--brand-100); color: var(--brand-800); }
.faq .resposta { padding: 0 20px 20px 20px; font-size: 15px; color: var(--ink-body); }
.faq .resposta p { max-width: none; margin: 0; }
.faq .resposta p + p { margin-top: 8px; }

/* =============================================================================
   NICHOS (recortes)
   ========================================================================== */
.nichos { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 16px; }
.nicho {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 22px;
  transition: border-color .25s, box-shadow .25s, transform .25s cubic-bezier(.22,1,.36,1);
}
.nicho:hover { border-color: var(--brand-300); box-shadow: var(--shadow-1); transform: translateY(-2px); }
.nicho h3 { font-size: 16.5px; font-weight: 800; display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.nicho h3 svg { width: 19px; height: 19px; color: var(--accent-strong); flex-shrink: 0; }
.nicho .dor { font-size: 13.5px; color: var(--accent-hover); font-weight: 600; margin: 0 0 6px; }
.nicho .sol { font-size: 14px; color: var(--ink-body); margin: 0; }
.nicho .modulos-tag { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 12px; }
.nicho .modulos-tag span {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--brand-800);
  background: var(--brand-50);
  border-radius: 6px;
  padding: 3px 9px;
}

/* =============================================================================
   EXPLORADOR DE MÓDULOS (sistema.html — visual de sidebar do produto)
   ========================================================================== */
.explorador {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-2);
  background: var(--surface);
  min-height: 560px;
}
.exp-rail {
  background: linear-gradient(165deg, var(--sidebar), var(--brand-950));
  padding: 18px 12px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  overflow-y: auto;
}
.exp-rail .grupo {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--lav-muted);
  padding: 14px 12px 6px;
}
.exp-rail button {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--lav-body);
  font-size: 14px;
  font-weight: 600;
  padding: 10px 12px;
  border-radius: 10px;
  text-align: left;
  transition: background .2s, color .2s;
}
.exp-rail button:hover { background: rgb(255 255 255 / .08); color: #fff; }
.exp-rail button[aria-selected="true"] { background: var(--accent); color: #fff; box-shadow: 0 4px 12px rgb(234 88 12 / .35); }
.exp-rail button svg { width: 17px; height: 17px; flex-shrink: 0; }
.exp-painel { padding: clamp(24px, 3.5vw, 44px); }
.exp-painel[hidden] { display: none; }
.exp-painel h3 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); font-weight: 800; display: flex; align-items: center; gap: 14px; }
.exp-painel .exp-desc { font-size: 15.5px; color: var(--ink-muted); max-width: 62ch; }
.exp-feats { display: grid; grid-template-columns: repeat(auto-fit, minmax(275px, 1fr)); gap: 3px 26px; margin-top: 18px; }
.exp-feats li { display: flex; gap: 10px; padding: 9px 0; font-size: 14.5px; border-bottom: 1px dashed var(--border); align-items: flex-start; }
.exp-feats li svg { width: 16px; height: 16px; color: var(--emerald-deep); flex-shrink: 0; margin-top: 3px; }
.exp-feats li strong { color: var(--ink); }
.exp-cond {
  margin-top: 20px;
  font-size: 12.5px;
  color: var(--ink-muted);
  display: flex;
  align-items: center;
  gap: 7px;
}
.exp-cond svg { width: 14px; height: 14px; color: var(--amber-deep); flex-shrink: 0; }
.exp-shot { margin: 22px 0 0; border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow-1); }
.exp-shot img { width: 100%; }
@media (max-width: 900px) {
  .explorador { grid-template-columns: 1fr; }
  .exp-rail { flex-direction: row; overflow-x: auto; padding: 10px; gap: 6px; }
  .exp-rail .grupo { display: none; }
  .exp-rail button { white-space: nowrap; width: auto; }
}

/* =============================================================================
   INTEGRAÇÕES
   ========================================================================== */
.integracoes { display: grid; grid-template-columns: repeat(auto-fit, minmax(215px, 1fr)); gap: 12px; }
.integ {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 14px 16px;
  font-size: 14px;
}
.integ .nome { font-weight: 700; color: var(--ink); display: block; }
.integ .faz { font-size: 12.5px; color: var(--ink-muted); display: block; line-height: 1.35; }
.integ svg { width: 20px; height: 20px; color: var(--brand-700); flex-shrink: 0; }

/* =============================================================================
   SEGURANÇA
   ========================================================================== */
.seg-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(255px, 1fr)); gap: 16px; }
.seg-item { background: rgb(255 255 255 / .05); border: 1px solid rgb(255 255 255 / .12); border-radius: var(--r-lg); padding: 22px; }
.seg-item h3 { font-size: 16px; font-weight: 700; color: #fff; display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.seg-item h3 svg { width: 18px; height: 18px; color: #34D399; flex-shrink: 0; }
.seg-item p { font-size: 14px; color: var(--lav-body); margin: 0; }

/* =============================================================================
   QUEM SOMOS
   ========================================================================== */
.historia { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.historia .flor {
  background: var(--brand-50);
  border: 1px solid var(--brand-100);
  border-radius: var(--r-xl);
  padding: clamp(28px, 4vw, 48px);
}
.historia .flor .botanica { font-family: var(--font-mono); font-size: 13px; color: var(--brand-800); margin-bottom: 10px; display: block; }
.historia .flor h3 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); font-weight: 800; }
.historia .flor p { color: var(--ink-body); margin: 0; }
@media (max-width: 880px) { .historia { grid-template-columns: 1fr; } }

.passos { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; counter-reset: etapa; }
.passo { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 24px; position: relative; }
.passo::before {
  counter-increment: etapa;
  content: counter(etapa);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 14px;
  color: var(--on-accent);
  background: var(--accent);
  width: 34px; height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
}
.passo h3 { font-size: 16.5px; font-weight: 800; }
.passo p { font-size: 14px; color: var(--ink-muted); margin: 0; }

.principios { display: grid; gap: 0; max-width: 860px; }
.principio { display: grid; grid-template-columns: 64px 1fr; gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--border); align-items: start; }
.principio:last-child { border-bottom: 0; }
.principio h3 { font-size: 17px; font-weight: 800; margin-bottom: 4px; }
.principio p { font-size: 15px; color: var(--ink-body); margin: 0; max-width: none; }

/* =============================================================================
   CTA FINAL
   ========================================================================== */
.cta-final {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(700px 320px at 85% 115%, rgb(234 88 12 / .35), transparent 60%),
    linear-gradient(150deg, var(--brand-800), var(--brand-950));
  border-radius: var(--r-xl);
  padding: clamp(40px, 6vw, 72px);
  color: #fff;
  text-align: center;
  display: grid;
  justify-items: center;
  gap: 8px;
}
.cta-final h2 { color: #fff; font-size: clamp(1.7rem, 3.6vw, 2.6rem); font-weight: 800; max-width: 22ch; }
.cta-final p { color: var(--lav-body); font-size: 16.5px; max-width: 52ch; }
.cta-final .acoes { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; justify-content: center; margin-top: 14px; }
.cta-final .cta-note { color: var(--lav-muted); }
.cta-final .cta-note svg { color: #34D399; }

/* =============================================================================
   FORMULÁRIOS
   ========================================================================== */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-grid .campo-cheio { grid-column: 1 / -1; }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }
.campo label { display: block; font-size: 12.5px; font-weight: 700; color: var(--ink); margin-bottom: 6px; }
.campo label .opc { color: var(--ink-muted); font-weight: 600; }
.campo input, .campo select, .campo textarea {
  width: 100%;
  font-family: inherit;
  font-size: 15px;
  color: var(--ink);
  background: var(--input);
  border: 1.5px solid transparent;
  border-radius: var(--r-sm);
  padding: 12px 14px;
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.campo input::placeholder, .campo textarea::placeholder { color: var(--ink-muted); }
.campo input:focus, .campo select:focus, .campo textarea:focus {
  outline: none;
  background: #fff;
  border-color: var(--brand-600);
  box-shadow: 0 0 0 4px var(--brand-100);
}
.campo select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%233F3849' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 13px center; padding-right: 38px; }
.campo .erro-msg { display: none; font-size: 12px; font-weight: 600; color: var(--amber-deep); margin-top: 4px; }
.campo.invalido input, .campo.invalido select { border-color: var(--amber); background: #FFFBEB; }
.campo.invalido .erro-msg { display: block; }
.form-rodape { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 18px; }
.form-lgpd { font-size: 12px; color: var(--ink-muted); max-width: 46ch; }
.form-lgpd a { text-decoration: underline; }
.hp-campo { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

.form-feedback { display: none; align-items: flex-start; gap: 12px; border-radius: var(--r-md); padding: 16px 18px; font-size: 14.5px; font-weight: 600; margin-top: 16px; }
.form-feedback svg { flex-shrink: 0; width: 20px; height: 20px; margin-top: 1px; }
.form-feedback.ok { display: flex; background: #ECFDF5; color: var(--emerald-deep); border: 1px solid #A7F3D0; }
.form-feedback.falha { display: flex; background: #FFFBEB; color: var(--amber-deep); border: 1px solid #FDE68A; }
.btn[data-enviando] { opacity: .7; pointer-events: none; }
.btn .spinner {
  width: 15px; height: 15px;
  border: 2px solid rgb(255 255 255 / .4);
  border-top-color: #fff;
  border-radius: 50%;
  display: none;
  animation: gira .7s linear infinite;
}
.btn[data-enviando] .spinner { display: inline-block; }
@keyframes gira { to { transform: rotate(360deg); } }

/* =============================================================================
   MODAL (dialog nativo)
   ========================================================================== */
dialog.modal-demo {
  border: 0;
  border-radius: var(--r-xl);
  padding: 0;
  width: min(520px, calc(100vw - 32px));
  box-shadow: var(--shadow-3);
  z-index: var(--z-modal);
}
dialog.modal-demo::backdrop {
  background: rgb(26 20 36 / .55);
  backdrop-filter: blur(3px);
}
.js dialog.modal-demo[open] { animation: modalEntra .4s cubic-bezier(.22,1,.36,1); }
@keyframes modalEntra { from { opacity: 0; transform: translateY(18px) scale(.98); } }
.modal-topo {
  background: linear-gradient(150deg, var(--brand-800), var(--brand-950));
  color: #fff;
  padding: 26px 28px 22px;
  position: relative;
}
.modal-topo h2 { color: #fff; font-size: 21px; font-weight: 800; margin: 0 0 4px; }
.modal-topo p { color: var(--lav-body); font-size: 14px; margin: 0; }
.modal-fechar {
  position: absolute;
  top: 14px; right: 14px;
  width: 36px; height: 36px;
  border: 0;
  border-radius: 10px;
  background: rgb(255 255 255 / .1);
  color: #fff;
  display: grid;
  place-items: center;
  transition: background .2s;
}
.modal-fechar:hover { background: rgb(255 255 255 / .2); }
.modal-corpo { padding: 24px 28px 28px; background: var(--surface); }

/* =============================================================================
   CONTATO
   ========================================================================== */
.contato-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(28px, 4.5vw, 64px); align-items: start; }
@media (max-width: 900px) { .contato-grid { grid-template-columns: 1fr; } }
.contato-canal { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--border); }
.contato-canal:last-child { border-bottom: 0; }
.contato-canal .rot { font-size: 12.5px; font-weight: 700; color: var(--ink-muted); }
.contato-canal .val { font-size: 15.5px; font-weight: 700; color: var(--ink); }
.contato-canal .val a { color: inherit; }
.contato-canal .val a:hover { color: var(--brand-700); }
.form-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: clamp(24px, 3.5vw, 40px);
  box-shadow: var(--shadow-1);
}

/* =============================================================================
   FOOTER
   ========================================================================== */
.site-footer { background: #16091F; color: var(--lav-muted); padding: clamp(48px, 7vw, 80px) 0 0; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; padding-bottom: 44px; }
.site-footer h4 { color: #fff; font-size: 13px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; margin-bottom: 14px; }
.site-footer ul { display: grid; gap: 8px; }
.site-footer a { color: var(--lav-body); }
.site-footer a:hover { color: #fff; }
.footer-marca img { height: 30px; width: auto; margin-bottom: 14px; }
.footer-marca p { font-size: 13.5px; max-width: 34ch; }
.footer-fatos { font-family: var(--font-mono); font-size: 12px; color: var(--lav-muted); display: grid; gap: 4px; margin-top: 14px; }
.footer-baseline {
  border-top: 1px solid rgb(255 255 255 / .08);
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 12.5px;
}
@media (max-width: 880px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* WhatsApp flutuante */
.zap-flutuante {
  position: fixed;
  right: 22px; bottom: 22px;
  z-index: var(--z-sticky);
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 24px rgb(37 211 102 / .4);
  transition: transform .25s cubic-bezier(.22,1,.36,1), box-shadow .25s;
}
.zap-flutuante:hover { transform: scale(1.08); color: #fff; box-shadow: 0 12px 32px rgb(37 211 102 / .5); }
.zap-flutuante svg { width: 28px; height: 28px; }

/* =============================================================================
   PÁGINAS INTERNAS — hero curto
   ========================================================================== */
.hero-interno {
  background:
    radial-gradient(900px 400px at 80% -30%, rgb(124 58 237 / .5), transparent 60%),
    linear-gradient(160deg, var(--brand-900), var(--brand-950));
  color: #fff;
  padding: calc(var(--header-h) + clamp(44px, 7vh, 80px)) 0 clamp(44px, 7vh, 80px);
}
.hero-interno h1 { color: #fff; font-size: clamp(2rem, 4.4vw, 3.1rem); font-weight: 800; letter-spacing: -0.03em; max-width: 22ch; }
.hero-interno .lead { color: var(--lav-body); font-size: clamp(1rem, 1.5vw, 1.15rem); max-width: 58ch; }

/* =============================================================================
   REVEALS (progressivo: sem JS tudo visível)
   ========================================================================== */
.js [data-reveal] { opacity: 0; }
.js [data-reveal].revelado { opacity: 1; }
.js [data-reveal="sobe"].revelado { animation: revSobe .8s cubic-bezier(.22,1,.36,1) both; }
.js [data-reveal="corta"].revelado { animation: revCorta .9s cubic-bezier(.22,1,.36,1) both; }
.js [data-reveal="cresce"].revelado { animation: revCresce .7s cubic-bezier(.22,1,.36,1) both; }
@keyframes revSobe { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes revCorta { from { opacity: 0; clip-path: inset(0 0 100% 0); } to { opacity: 1; clip-path: inset(0 0 0 0); } }
@keyframes revCresce { from { opacity: 0; transform: scale(.94); } to { opacity: 1; transform: none; } }
.js [data-reveal][data-atraso="1"].revelado { animation-delay: .08s; }
.js [data-reveal][data-atraso="2"].revelado { animation-delay: .16s; }
.js [data-reveal][data-atraso="3"].revelado { animation-delay: .24s; }
.js [data-reveal][data-atraso="4"].revelado { animation-delay: .32s; }



/* =============================================================================
   HEROS INTERNOS — layout rico
   ========================================================================== */
.hi-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.hi-fatos { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 24px; }
.hi-fatos span {
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 700;
  color: #fff;
  background: rgb(255 255 255 / .09);
  border: 1px solid rgb(255 255 255 / .18);
  border-radius: 99px;
  padding: 7px 14px;
}
.hi-fatos b { color: var(--accent); font-weight: 700; }
.hi-visual { position: relative; }
.js .hi-visual { opacity: 0; animation: entraVitrine 1s cubic-bezier(.22,1,.36,1) .55s forwards; }

/* Sistema: duas telas reais flutuando */
.hi-telas { position: relative; min-height: 350px; }
.hi-tela {
  position: absolute;
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--shadow-3), 0 0 0 1px rgb(255 255 255 / .12);
  animation: flutua 8s ease-in-out infinite;
}
.hi-tela img { width: 100%; display: block; }
.hi-tela--a { width: 82%; top: 0; left: 0; transform: rotate(-2.5deg); }
.hi-tela--b { width: 62%; bottom: -8px; right: -10px; transform: rotate(2deg); animation-delay: 1.6s; }

/* Ficha glass (quem-somos: verbete · contato: resposta) */
.hi-ficha {
  background: rgb(255 255 255 / .07);
  border: 1px solid rgb(255 255 255 / .17);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: var(--r-xl);
  padding: clamp(24px, 3vw, 36px);
  box-shadow: var(--shadow-3);
  animation: flutua 9s ease-in-out infinite;
}
.hi-ficha .fx-topo { font-family: var(--font-mono); font-size: 13px; color: var(--accent); display: block; margin-bottom: 4px; }
.hi-ficha .fx-titulo { font-size: clamp(1.6rem, 2.6vw, 2.1rem); font-weight: 800; color: #fff; letter-spacing: -0.02em; display: block; }
.hi-ficha .fx-def { font-size: 15.5px; color: var(--lav-body); display: block; margin: 8px 0 18px; }
.hi-ficha .fx-linha {
  font-family: var(--font-mono);
  font-size: 13.5px;
  color: var(--lav-body);
  display: block;
  padding: 7px 0;
  border-top: 1px dashed rgb(255 255 255 / .16);
}
.hi-ficha .fx-linha strong { color: #fff; font-weight: 700; }
.fx-cursor {
  display: inline-block;
  width: 8px; height: 15px;
  margin-left: 6px;
  vertical-align: -2px;
  background: var(--accent);
  animation: pisca 1.1s steps(2) infinite;
}
@keyframes pisca { 50% { opacity: 0; } }
.hi-ficha .fx-zap {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}
.hi-ficha .fx-zap .z-ic {
  width: 52px; height: 52px;
  border-radius: var(--r-md);
  background: #25D366;
  color: #fff;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  box-shadow: 0 8px 22px rgb(37 211 102 / .4);
}
.hi-ficha .fx-zap .z-ic svg { width: 26px; height: 26px; }
.hi-ficha .fx-zap .z-num { font-family: var(--font-mono); font-size: clamp(1.15rem, 2vw, 1.5rem); font-weight: 700; color: #fff; }
.hi-ficha .fx-zap .z-rot { font-size: 12.5px; font-weight: 600; color: var(--lav-muted); }
@media (max-width: 880px) {
  .hi-grid { grid-template-columns: 1fr; }
  .hi-telas { display: none; }
  .hi-ficha { animation: none; }
}

/* =============================================================================
   AURORA (hero home e heros internos)
   ========================================================================== */
.hero, .hero-interno { position: relative; overflow: hidden; }
.hero-aurora { position: absolute; inset: -20%; pointer-events: none; }
.hero-aurora i {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  mix-blend-mode: screen;
  opacity: .55;
}
.hero-aurora i:first-child {
  width: 46vw; height: 46vw;
  min-width: 420px; min-height: 420px;
  left: -6%; top: -18%;
  background: radial-gradient(circle, rgb(139 92 246 / .8), transparent 65%);
  animation: auroraA 16s ease-in-out infinite alternate;
}
.hero-aurora i:last-child {
  width: 36vw; height: 36vw;
  min-width: 340px; min-height: 340px;
  right: -8%; top: 6%;
  background: radial-gradient(circle, rgb(234 88 12 / .55), transparent 65%);
  animation: auroraB 21s ease-in-out infinite alternate;
}
@keyframes auroraA {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(9%, 14%) scale(1.18); }
}
@keyframes auroraB {
  from { transform: translate(0, 0) scale(1.1); }
  to { transform: translate(-12%, 10%) scale(.92); }
}

/* Entrada orquestrada do hero (home) */
.js .hero .lead,
.js .hero-actions,
.js .hero .cta-note,
.js .hero-fatos { opacity: 0; animation: entraSobe .8s cubic-bezier(.22,1,.36,1) forwards; }
.js .hero .lead { animation-delay: .55s; }
.js .hero-actions { animation-delay: .7s; }
.js .hero .cta-note { animation-delay: .82s; }
.js .hero-fatos { animation-delay: .95s; }
.js .hero-vitrine { opacity: 0; animation: entraVitrine 1s cubic-bezier(.22,1,.36,1) .45s forwards; }
@keyframes entraSobe { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes entraVitrine { from { opacity: 0; transform: translateX(48px) scale(.96); } to { opacity: 1; transform: none; } }

/* Entrada dos heros internos */
.js .hero-interno h1 {
  clip-path: inset(0 0 100% 0);
  animation: entraCorta .9s cubic-bezier(.22,1,.36,1) .15s forwards;
}
.js .hero-interno .lead { opacity: 0; animation: entraSobe .8s cubic-bezier(.22,1,.36,1) .5s forwards; }
@keyframes entraCorta { from { clip-path: inset(0 0 100% 0); opacity: 0; } to { clip-path: inset(0 0 -8% 0); opacity: 1; } }

/* =============================================================================
   TEMA ESCURO DO SITE
   ========================================================================== */
[data-site-theme="dark"] {
  --surface: #1A1123;
  --bg: #130C1B;
  --input: #261A36;
  --ink: #F5F1FA;
  --ink-body: #D6CDE3;
  --ink-muted: #AB9FBD;
  --ink-faint: #8B7F9E;
  --border: #2E2240;
  --border-strong: #40315A;
  --brand-50: #261741;
  --brand-100: #34214F;
  --accent-tint: #2B1A0E;
  --accent-soft: #442912;
  --shadow-1: 0 1px 2px rgb(0 0 0 / .4), 0 4px 12px rgb(0 0 0 / .3);
  --shadow-2: 0 2px 6px rgb(0 0 0 / .45), 0 12px 32px rgb(0 0 0 / .4);
}
[data-site-theme="dark"] body { background: var(--surface); }
[data-site-theme="dark"] .problema-fecho { color: var(--brand-200); }
[data-site-theme="dark"] .nicho .modulos-tag span { color: var(--brand-300); }
[data-site-theme="dark"] .historia .flor .botanica { color: var(--brand-300); }
[data-site-theme="dark"] .kpi-flutua { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-2), 0 0 0 1px var(--border); }
[data-site-theme="dark"] .kpi-flutua .selo-ok { background: rgb(16 185 129 / .16); color: #34D399; }
[data-site-theme="dark"] .tema-modo button[aria-pressed="true"] { background: var(--surface); }
[data-site-theme="dark"] .campo input:focus,
[data-site-theme="dark"] .campo select:focus,
[data-site-theme="dark"] .campo textarea:focus { background: var(--bg); box-shadow: 0 0 0 4px rgb(124 58 237 / .25); }
[data-site-theme="dark"] .campo.invalido input,
[data-site-theme="dark"] .campo.invalido select { background: rgb(245 158 11 / .08); }
[data-site-theme="dark"] .form-feedback.ok { background: rgb(16 185 129 / .12); color: #6EE7B7; border-color: rgb(16 185 129 / .3); }
[data-site-theme="dark"] .form-feedback.falha { background: rgb(245 158 11 / .1); color: #FCD34D; border-color: rgb(245 158 11 / .3); }
[data-site-theme="dark"] .aviso-cliente { background: var(--brand-50); border-color: var(--brand-100); }
[data-site-theme="dark"] .aviso-cliente p { color: var(--brand-200); }
[data-site-theme="dark"] .fluxo-svg circle[fill="#F5F3FF"] { fill: #261741; }
[data-site-theme="dark"] .fluxo-svg circle[fill="#FFF7ED"] { fill: #2B1A0E; }
[data-site-theme="dark"] .fluxo-svg circle[fill="#ECFDF5"] { fill: #0C2B21; }
[data-site-theme="dark"] .fluxo-svg text { fill: var(--ink); }
[data-site-theme="dark"] .fluxo-svg .sub { fill: var(--ink-muted); }
[data-site-theme="dark"] .num-card .v { color: var(--ink); }

/* Aviso "já é cliente" (contato) */
.aviso-cliente { margin-top: 26px; padding: 18px 20px; background: var(--brand-50); border: 1px solid var(--brand-100); border-radius: var(--r-md); }
.aviso-cliente p { margin: 0; font-size: 14px; color: var(--brand-900); }

/* =============================================================================
   BANNER LGPD
   ========================================================================== */
.lgpd-banner[hidden] { display: none; }
.lgpd-banner {
  position: fixed;
  left: 20px; right: 20px; bottom: 20px;
  z-index: var(--z-toast);
  margin-inline: auto;
  max-width: 660px;
  background: var(--surface);
  color: var(--ink-body);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-3);
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.js .lgpd-banner:not([hidden]) { animation: lgpdSobe .6s cubic-bezier(.22,1,.36,1); }
@keyframes lgpdSobe { from { opacity: 0; transform: translateY(24px); } }
.lgpd-banner .lgpd-texto { flex: 1 1 300px; font-size: 13.5px; line-height: 1.5; }
.lgpd-banner .lgpd-texto strong { color: var(--ink); }
.lgpd-banner .lgpd-acoes { display: flex; gap: 10px; flex-shrink: 0; }
@media (max-width: 560px) { .lgpd-banner { left: 12px; right: 12px; bottom: 12px; } .lgpd-banner .lgpd-acoes { width: 100%; } .lgpd-banner .lgpd-acoes .btn { flex: 1; } }

/* =============================================================================
   MOVIMENTO REDUZIDO
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .palavra { opacity: 1; transform: none; }
  .js [data-reveal] { opacity: 1; }
  .js .hero .lead, .js .hero-actions, .js .hero .cta-note, .js .hero-fatos, .js .hero-vitrine,
  .js .hero-interno h1, .js .hero-interno .lead { opacity: 1; animation: none; clip-path: none; }
  .marquee-faixa { animation: none; flex-wrap: wrap; justify-content: center; }
  .marquee-faixa[aria-hidden="true"] { display: none; }
  .marquee { mask-image: none; -webkit-mask-image: none; }
  .header-fio { animation: none; }
  .header-cta::after { animation: none; }
  .hero-aurora i { animation: none; }
  .hi-tela, .hi-ficha { animation: none; }
  .js .hi-visual { opacity: 1; animation: none; }
  .fx-cursor { animation: none; }
  .nav-ink { transition: none; }
  .kpi-flutua { animation: none; }
  .fluxo-svg .energia { animation: none; display: none; }
  .browser-frame { transform: none !important; }
}
