/* =========================================================
   BONIFY DIGITAL — Estilos
   Organização: 1) Tokens  2) Base  3) Utilitários/Componentes
   4) Header  5) Seções  6) Widgets flutuantes  7) Movimento
   ========================================================= */

/* ---------- 1. TOKENS ---------- */
:root {
  /* Marca (briefing) */
  --brand-navy: #0F172A;
  --brand-cyan: #06B6D4;
  --brand-royal: #3B82F6;
  --brand-amber: #F59E0B;

  /* Tema escuro (padrão) */
  --bg: #060A14;
  --bg-2: #0F172A;
  --surface: rgba(148, 163, 184, .06);
  --surface-2: rgba(148, 163, 184, .1);
  --surface-solid: #111A2E;
  --border: rgba(148, 163, 184, .16);
  --border-strong: rgba(148, 163, 184, .3);
  --text: #F1F5F9;
  --text-muted: #A3B1C6;        /* 7.9:1 sobre --bg */
  --text-soft: #8393AB;         /* 5.6:1 sobre --bg */
  --accent: #22D3EE;            /* ciano para texto em fundo escuro */
  --accent-amber: #FBBF24;
  --on-primary: #04121A;
  --logo-structure: #E2E8F0;
  --glow-cyan: rgba(6, 182, 212, .35);
  --glow-amber: rgba(245, 158, 11, .28);
  --bubble-in: #1B2740;
  --bubble-out: #0E4F5C;
  --shadow-lg: 0 30px 80px -20px rgba(0, 0, 0, .6);
  --shadow-md: 0 14px 40px -12px rgba(0, 0, 0, .5);

  /* Tipografia */
  --font-head: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --fs-xs: .8125rem;
  --fs-sm: .9375rem;
  --fs-base: clamp(1rem, .97rem + .15vw, 1.0625rem);
  --fs-lg: clamp(1.0625rem, 1rem + .4vw, 1.25rem);
  --fs-h3: clamp(1.125rem, 1.05rem + .4vw, 1.375rem);
  --fs-h2: clamp(1.875rem, 1.3rem + 2.6vw, 3.25rem);
  --fs-h1: clamp(2.375rem, 1.4rem + 4.6vw, 5.25rem);

  /* Espaçamentos (compactados em ~35%) */
  --gutter: clamp(1rem, .6rem + 2vw, 2rem);
  --space-1: .4rem; --space-2: .6rem; --space-3: .85rem; --space-4: 1.15rem;
  --space-5: 1.5rem; --space-6: 2rem;  --space-7: 2.5rem;
  --section: 36px;
  --container: 1200px;

  /* Raios e transições */
  --r-sm: 10px; --r-md: 16px; --r-lg: 24px; --r-xl: 32px; --r-pill: 999px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --t-fast: .18s var(--ease);
  --t: .35s var(--ease);
  --header-h: 72px;
}

[data-theme="light"] {
  --bg: #F6F8FB;
  --bg-2: #FFFFFF;
  --surface: rgba(15, 23, 42, .035);
  --surface-2: rgba(15, 23, 42, .06);
  --surface-solid: #FFFFFF;
  --border: rgba(15, 23, 42, .1);
  --border-strong: rgba(15, 23, 42, .22);
  --text: #0F172A;
  --text-muted: #475569;        /* 7.2:1 */
  --text-soft: #5B6B82;         /* 5.4:1 */
  --accent: #0E7490;            /* ciano escurecido p/ contraste em fundo claro */
  --accent-amber: #B45309;
  --logo-structure: #0F172A;
  --glow-cyan: rgba(6, 182, 212, .22);
  --glow-amber: rgba(245, 158, 11, .18);
  --bubble-in: #EEF2F7;
  --bubble-out: #CFF5FB;
  --shadow-lg: 0 30px 70px -25px rgba(15, 23, 42, .25);
  --shadow-md: 0 14px 34px -14px rgba(15, 23, 42, .2);
}

/* ---------- 2. BASE ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-base);
  font-weight: 400;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  transition: background-color var(--t), color var(--t);
}
img, svg, video { display: block; max-width: 100%; }
[hidden] { display: none !important; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.02em; font-weight: 700; text-wrap: balance; }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); font-weight: 600; letter-spacing: -.01em; }
p { margin: 0 0 1em; text-wrap: pretty; }
a { color: var(--accent); text-underline-offset: 3px; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--brand-cyan); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--brand-cyan); color: var(--on-primary); }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.section { padding: 36px 0; scroll-margin-top: 90px; position: relative; }
section[id], #problema, #solucao, #como-funciona, #beneficios, #demo, #calculadora, #segmentos, #historia, #seguranca, #depoimentos, #planos, #faq, #contato { scroll-margin-top: 90px; }
.skip-link { position: fixed; left: 1rem; top: -100px; z-index: 1000; background: var(--brand-cyan); color: var(--on-primary); padding: .75rem 1rem; border-radius: var(--r-sm); font-weight: 600; text-decoration: none; }
.skip-link:focus { top: 1rem; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.icon { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- 3. COMPONENTES ---------- */
.gradient-text {
  background: linear-gradient(100deg, var(--brand-cyan) 0%, var(--brand-royal) 45%, var(--brand-amber) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
[data-theme="light"] .gradient-text { background-image: linear-gradient(100deg, #0E7490 0%, #1D4ED8 50%, #B45309 100%); }
.text-amber { color: var(--accent-amber); }
.placeholder-note { font-style: normal; font-size: .8em; color: var(--accent-amber); font-weight: 500; }

/* Eyebrow / rótulo de seção */
.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font-size: var(--fs-xs); font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--accent); padding: .45rem .9rem; border: 1px solid var(--border); border-radius: var(--r-pill);
  background: var(--surface); margin-bottom: 1.25rem;
}
.eyebrow__dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px color-mix(in srgb, currentColor 22%, transparent); }
.eyebrow--amber { color: var(--accent-amber); }

.section-head { text-align: center; max-width: 760px; margin: 0 auto var(--space-7); }
.section-head > p:last-child { color: var(--text-muted); font-size: var(--fs-lg); font-weight: 300; margin: 0; }
.section-head--left { text-align: left; margin-inline: 0; }
.section-head--row { display: flex; justify-content: space-between; align-items: end; gap: var(--space-4); text-align: left; max-width: none; flex-wrap: wrap; }
.lead { font-size: var(--fs-lg); font-weight: 300; color: var(--text-muted); }

/* Botões — Ciano só para a ação principal; secundárias transparentes com borda */
.btn {
  --_pad: .85rem 1.4rem;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 48px; padding: var(--_pad); border-radius: var(--r-pill);
  font-family: var(--font-body); font-weight: 600; font-size: var(--fs-sm); line-height: 1.2; text-decoration: none; text-align: center;
  border: 1px solid transparent; cursor: pointer; isolation: isolate;
  transition: transform var(--t-fast), box-shadow var(--t), background-color var(--t), border-color var(--t), color var(--t);
}
.btn .icon { transition: transform var(--t-fast); }
.btn:hover .icon { transform: translateX(3px); }
.btn:active { transform: scale(.97); }
.btn--primary { background: var(--brand-cyan); color: var(--on-primary); box-shadow: 0 10px 30px -10px var(--glow-cyan), inset 0 1px 0 rgba(255,255,255,.35); }
.btn--primary::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.45) 50%, transparent 70%); background-size: 250% 100%; background-position: 120% 0;
  transition: background-position .7s var(--ease);
}
.btn--primary:hover { box-shadow: 0 14px 40px -10px var(--glow-cyan), 0 0 0 4px color-mix(in srgb, var(--brand-cyan) 20%, transparent); }
.btn--primary:hover::after { background-position: -20% 0; }
.btn--ghost { background: transparent; color: var(--text); border-color: var(--border-strong); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); background: var(--surface); }
.btn--sm { --_pad: .55rem 1rem; min-height: 44px; font-size: var(--fs-xs); }
.btn--lg { --_pad: 1rem 1.75rem; min-height: 56px; font-size: 1rem; }
.btn--block { width: 100%; }

.icon-btn {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--surface); border: 1px solid var(--border); color: var(--text);
  transition: background-color var(--t-fast), border-color var(--t-fast), transform var(--t-fast);
}
.icon-btn:hover { border-color: var(--accent); color: var(--accent); }
.icon-btn:active { transform: scale(.94); }
.icon-btn--sm { width: 44px; height: 44px; margin-left: auto; }
.link-btn { background: none; border: 0; padding: 0; color: var(--text-muted); text-decoration: none; min-height: 32px; text-align: left; }
.link-btn:hover { color: var(--accent); }
.link-arrow { display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; text-decoration: none; min-height: 44px; }
.link-arrow:hover .icon { transform: translateX(4px); }
.link-arrow .icon { transition: transform var(--t-fast); }

/* Cartões de vidro */
.glass, .stage-card, .bento__card, .sec-card, .plan, .quote-card, .lead-form, .calc__result, .demo__device, .demo__backstage, .tab-panel, .unread-card {
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}

/* Tags, avatares, bolhas */
.tag { display: inline-flex; align-items: center; font-size: .75rem; font-weight: 600; padding: .25rem .6rem; border-radius: var(--r-pill); white-space: nowrap; border: 1px solid; }
.tag--cyan { color: var(--accent); border-color: color-mix(in srgb, var(--brand-cyan) 40%, transparent); background: color-mix(in srgb, var(--brand-cyan) 12%, transparent); }
.tag--amber { color: var(--accent-amber); border-color: color-mix(in srgb, var(--brand-amber) 40%, transparent); background: color-mix(in srgb, var(--brand-amber) 12%, transparent); }
.tag--royal { color: #93B4FB; border-color: color-mix(in srgb, var(--brand-royal) 45%, transparent); background: color-mix(in srgb, var(--brand-royal) 14%, transparent); }
[data-theme="light"] .tag--royal { color: #1D4ED8; }
.tag--green { color: #4ADE80; border-color: color-mix(in srgb, #22C55E 45%, transparent); background: color-mix(in srgb, #22C55E 14%, transparent); gap: .35rem; animation: pulse 2.2s infinite; }
.tag--green::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #10B981; box-shadow: 0 0 8px #10B981; }
[data-theme="light"] .tag--green { color: #15803D; }

.avatar {
  --h: 190;
  display: inline-grid; place-items: center; flex: none; width: 38px; height: 38px; border-radius: 50%;
  font-size: .75rem; font-weight: 700; color: #fff;
  background: linear-gradient(135deg, hsl(var(--h) 80% 45%), hsl(calc(var(--h) + 40) 80% 35%));
}
.avatar--brand { background: var(--brand-navy); color: #E2E8F0; border: 1px solid rgba(148,163,184,.3); }
.avatar--brand svg { width: 60%; height: 60%; }
.avatar--muted { background: var(--surface-2); color: var(--text-soft); }

.bubble { max-width: 85%; padding: .6rem .85rem; border-radius: 16px; font-size: .875rem; line-height: 1.45; width: fit-content; white-space: pre-line; }
.bubble--in { background: var(--bubble-in); border-bottom-left-radius: 4px; color: var(--text); }
.bubble--out { background: var(--bubble-out); border-bottom-right-radius: 4px; margin-left: auto; color: var(--text); }

.ticks { display: grid; gap: .55rem; margin: 1rem 0 0; }
.ticks li { position: relative; padding-left: 1.75rem; color: var(--text-muted); }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .3em; width: 1.1rem; height: 1.1rem; border-radius: 50%;
  background: color-mix(in srgb, var(--brand-cyan) 18%, transparent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2306B6D4' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 70% no-repeat;
}

.live-dot { display: inline-flex; align-items: center; gap: .4rem; font-size: .75rem; color: var(--accent); font-weight: 500; }
.live-dot::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #22C55E; box-shadow: 0 0 0 0 rgba(34,197,94,.6); animation: pulse 2s infinite; }

/* Esqueletos (placeholders visuais de mockup) */
.sk { height: 8px; border-radius: 6px; background: var(--surface-2); margin-bottom: 8px; }
.sk--title { height: 14px; width: 70%; background: linear-gradient(90deg, color-mix(in srgb, var(--brand-cyan) 55%, transparent), color-mix(in srgb, var(--brand-royal) 45%, transparent)); }
.sk--short { width: 55%; }
.sk--btn { width: 40%; height: 18px; border-radius: var(--r-pill); background: var(--brand-cyan); margin-top: 12px; }

/* ---------- 4. HEADER ---------- */
.scroll-progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 120; pointer-events: none; }
.scroll-progress span { display: block; height: 100%; width: 100%; transform-origin: 0 50%; transform: scaleX(var(--p, 0)); background: linear-gradient(90deg, var(--brand-cyan), var(--brand-royal), var(--brand-amber)); }

.site-header { position: fixed; inset: 0 0 auto 0; z-index: 100; padding-top: 10px; transition: padding var(--t), transform var(--t); }
.header__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  height: 60px; padding: 0 .5rem 0 1rem; border-radius: var(--r-pill);
  border: 1px solid transparent; transition: background-color var(--t), border-color var(--t), box-shadow var(--t);
}
.site-header.is-scrolled .header__inner {
  background: color-mix(in srgb, var(--bg-2) 78%, transparent); border-color: var(--border);
  backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%); box-shadow: var(--shadow-md);
}
.brand { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--logo-structure); min-height: 44px; }
.brand__mark { width: 30px; height: 36px; transition: transform var(--t); }
.brand:hover .brand__mark { transform: rotate(-6deg) scale(1.05); }
.brand__text { display: grid; line-height: 1; }
.brand__name { font-family: var(--font-head); font-weight: 800; font-size: 1.15rem; letter-spacing: .04em; color: var(--text); }
.brand__sub { font-family: var(--font-head); font-weight: 600; font-size: .6rem; letter-spacing: .32em; color: var(--text-muted); margin-top: 3px; }

.nav { display: none; }
.nav__list { display: flex; gap: .25rem; padding: .3rem; border-radius: var(--r-pill); background: var(--surface); border: 1px solid var(--border); }
.nav__list a { display: block; padding: .5rem .9rem; border-radius: var(--r-pill); font-size: var(--fs-sm); color: var(--text-muted); text-decoration: none; transition: color var(--t-fast), background-color var(--t-fast); }
.nav__list a:hover { color: var(--text); background: var(--surface-2); }
.nav__list a.is-active { color: var(--on-primary); background: var(--brand-cyan); }
.header__actions { display: flex; align-items: center; gap: .5rem; }
.header__cta { display: none; }
.btn--client {
  display: inline-flex; align-items: center; gap: .4rem;
  border: 1.5px solid var(--brand-cyan); background: rgba(6, 182, 212, .08); color: var(--accent);
  font-weight: 600;
}
.btn--client:hover {
  background: var(--brand-cyan); color: var(--on-primary);
  box-shadow: 0 8px 24px -6px var(--glow-cyan);
}
.theme-toggle .icon--sun { display: none; }
[data-theme="light"] .theme-toggle .icon--sun { display: block; }
[data-theme="light"] .theme-toggle .icon--moon { display: none; }

/* Menu mobile: bottom sheet */
.mobile-menu { position: fixed; inset: 0; z-index: 140; visibility: hidden; }
.mobile-menu.is-open { visibility: visible; }
.mobile-menu__backdrop { position: absolute; inset: 0; background: rgba(2, 6, 16, .6); opacity: 0; transition: opacity var(--t); backdrop-filter: blur(4px); }
.mobile-menu__panel {
  position: absolute; left: 0; right: 0; bottom: 0; max-height: 88dvh; overflow-y: auto;
  padding: .75rem var(--gutter) calc(1.25rem + env(safe-area-inset-bottom));
  background: var(--surface-solid); border-top: 1px solid var(--border); border-radius: var(--r-xl) var(--r-xl) 0 0;
  transform: translateY(100%); transition: transform .45s var(--ease); display: grid; gap: .75rem;
}
.mobile-menu.is-open .mobile-menu__backdrop { opacity: 1; }
.mobile-menu.is-open .mobile-menu__panel { transform: none; }
.mobile-menu__handle { width: 44px; height: 5px; border-radius: 5px; background: var(--border-strong); margin: 0 auto .5rem; }
.mobile-menu__list a { display: flex; align-items: center; min-height: 52px; padding: 0 .5rem; font-family: var(--font-head); font-weight: 600; font-size: 1.15rem; color: var(--text); text-decoration: none; border-bottom: 1px solid var(--border); }
.mobile-menu__list a:hover { color: var(--accent); }

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

/* HERO */
.hero { position: relative; padding-top: calc(var(--header-h) + clamp(1.75rem, 3.5vw, 3.25rem)); padding-bottom: clamp(2rem, 4vw, 3rem); overflow: hidden; isolation: isolate; }
.hero__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero__ring {
  position: absolute; left: 50%; top: -38vmin; width: min(130vmin, 1300px); aspect-ratio: 1; translate: -50% 0; border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 0 8%, var(--glow-cyan) 18%, transparent 30%, transparent 52%, var(--glow-amber) 64%, transparent 76%, transparent 100%);
  filter: blur(50px); opacity: .9;
  -webkit-mask: radial-gradient(closest-side, transparent 52%, #000 60%, #000 72%, transparent 80%);
          mask: radial-gradient(closest-side, transparent 52%, #000 60%, #000 72%, transparent 80%);
  animation: spin 28s linear infinite;
}
.hero__grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(var(--border) 1px, transparent 1px), linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 64px 64px; opacity: .35;
  -webkit-mask: radial-gradient(ellipse 70% 55% at 50% 30%, #000 30%, transparent 75%); mask: radial-gradient(ellipse 70% 55% at 50% 30%, #000 30%, transparent 75%);
}
.hero__inner { position: relative; text-align: center; display: flex; flex-direction: column; align-items: center; }
.hero__title { font-size: var(--fs-h1); font-weight: 800; letter-spacing: -.035em; max-width: 15ch; margin-bottom: 1.25rem; }
.hero__subtitle { font-size: var(--fs-lg); font-weight: 300; color: var(--text-muted); max-width: 58ch; margin-bottom: 2rem; }
.hero__ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; margin-bottom: 1.25rem; }
.hero__micro { display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem 1.25rem; font-size: var(--fs-sm); color: var(--text-soft); }
.hero__micro li { display: inline-flex; align-items: center; gap: .35rem; }
.hero__micro .icon { color: var(--accent); width: 1em; height: 1em; }

.hero__chips { position: absolute; inset: 0; pointer-events: none; display: none; }
.chip-float {
  position: absolute; display: inline-flex; align-items: center; gap: .45rem; padding: .5rem .9rem; border-radius: var(--r-pill);
  font-size: var(--fs-xs); font-weight: 500; color: var(--text-muted); background: var(--surface); border: 1px solid var(--border);
  backdrop-filter: blur(10px); animation: float 7s ease-in-out infinite;
}
.chip-float .icon { color: var(--accent); width: 1.1em; height: 1.1em; }
.chip-float--1 { left: 2%; top: 6%; }
.chip-float--2 { left: 8%; top: 38%; animation-delay: -2s; }
.chip-float--3 { right: 3%; top: 8%; animation-delay: -4s; }
.chip-float--4 { right: 7%; top: 40%; animation-delay: -1s; }
.chip-float--4 .icon { color: var(--accent-amber); }

/* Palco do hero */
.hero__stage { position: relative; margin-top: clamp(1.75rem, 3.5vw, 2.75rem); display: grid; justify-items: center; gap: 1.25rem; }
.hero__connectors { display: none; }
.stage-card { display: none; padding: 1.1rem; box-shadow: var(--shadow-lg); text-align: left; position: relative; z-index: 2; }
.stage-card__head { display: flex; justify-content: space-between; align-items: center; font-size: var(--fs-sm); font-weight: 600; margin-bottom: .9rem; }
.convo-list { display: grid; gap: .6rem; }
.convo-list li { display: flex; align-items: center; gap: .65rem; padding: .55rem; border-radius: var(--r-sm); background: var(--surface); }
.convo-list li > div { flex: 1; display: grid; line-height: 1.25; min-width: 0; }
.convo-list strong { font-size: .875rem; }
.convo-list small { font-size: .75rem; color: var(--text-soft); }

.phone {
  position: relative; z-index: 2; width: min(100%, 320px); aspect-ratio: 9 / 17.2; padding: 14px; border-radius: 42px;
  background: linear-gradient(160deg, #1E293B, #0B1222); border: 1px solid rgba(148,163,184,.25);
  box-shadow: var(--shadow-lg), 0 0 0 6px rgba(148,163,184,.06), 0 0 90px -20px var(--glow-cyan);
  display: flex; flex-direction: column; color: #F1F5F9;
  animation: float 6.5s ease-in-out infinite;
}
.phone__notch { position: absolute; top: 14px; left: 50%; translate: -50% 0; width: 90px; height: 22px; border-radius: 0 0 14px 14px; background: #060A14; z-index: 2; }
.phone__head { display: flex; align-items: center; gap: .6rem; padding: 2rem .75rem .75rem; border-bottom: 1px solid rgba(148,163,184,.12); background: #0F172A; border-radius: 28px 28px 0 0; }
.phone__head > div { display: grid; line-height: 1.2; }
.phone__head strong { font-size: .9rem; }
.phone__status { font-size: .72rem; color: #67E8F9; }
.phone__chat { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; gap: .45rem; padding: .65rem; overflow: hidden; background: radial-gradient(circle at 30% 20%, rgba(6,182,212,.08), transparent 50%), #0B1222; }
.phone__chat .bubble { font-size: .76rem; line-height: 1.38; padding: .5rem .7rem; max-width: 92%; }
.phone__chat .bubble--in { background: #1B2740; color: #F1F5F9; }
.phone__chat .bubble--out { background: #0E4F5C; color: #F1F5F9; }
.phone__input { display: flex; justify-content: space-between; align-items: center; gap: .5rem; padding: .5rem .5rem .5rem 1rem; margin-top: .5rem; border-radius: var(--r-pill); background: #111A2E; font-size: .8rem; color: #8393AB; }
.phone__send { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--brand-cyan); color: var(--on-primary); }
.phone__send .icon { width: 16px; height: 16px; }
.bubble.is-new { animation: pop .45s var(--ease) both; }
.typing { display: inline-flex; gap: 4px; align-items: center; padding: .7rem .9rem; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .5; animation: typing 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; }
.typing i:nth-child(3) { animation-delay: .3s; }

.browser-mini { border-radius: var(--r-sm); overflow: hidden; border: 1px solid var(--border); background: var(--surface); margin-bottom: .9rem; }
.browser-mini__bar { display: flex; align-items: center; gap: 5px; padding: .5rem .6rem; background: var(--surface-2); font-size: .7rem; color: var(--text-soft); }
.browser-mini__bar i { width: 8px; height: 8px; border-radius: 50%; background: var(--border-strong); }
.browser-mini__bar span { display: inline-flex; align-items: center; gap: .3rem; margin-left: .4rem; padding: .15rem .5rem; border-radius: var(--r-pill); background: var(--surface); }
.browser-mini__bar .icon { width: 10px; height: 10px; color: #22C55E; }
.browser-mini__body { padding: .9rem; }
.status-list { display: grid; gap: .5rem; font-size: .85rem; color: var(--text-muted); }
.status-list li { display: flex; align-items: center; gap: .5rem; }
.status-list .icon { width: 16px; height: 16px; color: var(--accent); }
.status-dot { width: 10px; height: 10px; border-radius: 50%; background: #22C55E; margin: 0 3px; animation: pulse 2s infinite; }

/* PROVA RÁPIDA */
.proof { padding-block: clamp(2rem, 4vw, 3rem) 0; border-block: 1px solid var(--border); background: linear-gradient(180deg, transparent, var(--surface)); }
.proof__stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem 1rem; padding-bottom: clamp(2rem, 4vw, 3rem); }
.stat { display: grid; gap: .2rem; text-align: center; }
.stat strong { font-family: var(--font-head); font-size: clamp(1.75rem, 1.3rem + 2vw, 2.75rem); font-weight: 700; letter-spacing: -.02em; line-height: 1.1; }
.stat > span { font-size: var(--fs-sm); color: var(--text-muted); }
.proof__label { text-align: center; font-size: var(--fs-sm); color: var(--text-soft); }
.logo-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 2rem; opacity: .7; padding-bottom: 2rem; }
.marquee { overflow: hidden; border-top: 1px solid var(--border); padding: 1.1rem 0; -webkit-mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee__track { display: flex; width: max-content; gap: 3rem; animation: marquee 40s linear infinite; }
.marquee__track span { font-family: var(--font-head); font-weight: 600; font-size: var(--fs-sm); color: var(--text-soft); white-space: nowrap; display: inline-flex; align-items: center; gap: 3rem; }
.marquee__track span::after { content: "✦"; color: var(--accent); font-size: .8em; }

/* PROBLEMA */
.problem { background: radial-gradient(ellipse 60% 50% at 85% 40%, var(--glow-amber), transparent 70%); }
.problem__grid { display: grid; gap: var(--space-6); align-items: center; }
.problem h2 { max-width: 18ch; }
.pain-list { display: grid; gap: 1rem; margin: 2rem 0; }
.pain { display: flex; gap: 1rem; padding: 1rem 1.1rem; border-radius: var(--r-md); border: 1px solid var(--border); background: var(--surface); transition: border-color var(--t), transform var(--t); }
.pain:hover { border-color: color-mix(in srgb, var(--brand-amber) 50%, transparent); transform: translateX(4px); }
.pain h3 { font-size: 1.05rem; margin-bottom: .2rem; }
.pain p { margin: 0; color: var(--text-muted); font-size: var(--fs-sm); }
.pain__icon { display: grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: 12px; background: color-mix(in srgb, var(--brand-amber) 14%, transparent); color: var(--accent-amber); }
.problem__turn { font-family: var(--font-head); font-size: var(--fs-h3); font-weight: 700; margin: 0; }
.problem__turn span { display: block; color: var(--accent); font-weight: 600; }

.problem__visual { display: grid; place-items: center; }
.unread-card { width: min(100%, 420px); padding: 1.1rem; box-shadow: var(--shadow-lg); rotate: 2deg; }
.unread-card__head { display: flex; align-items: center; gap: .7rem; padding-bottom: 1rem; border-bottom: 1px solid var(--border); margin-bottom: 1rem; }
.unread-card__head > div { flex: 1; display: grid; line-height: 1.3; }
.unread-card__head small { color: var(--text-soft); font-size: .78rem; }
.unread-badge { min-width: 30px; height: 30px; padding: 0 .5rem; border-radius: var(--r-pill); display: grid; place-items: center; background: #EF4444; color: #fff; font-weight: 700; font-size: .85rem; transition: transform var(--t-fast); }
.unread-badge.bump { animation: bump .35s var(--ease); }
.unread-list { display: grid; gap: .6rem; }
.unread-list li { display: flex; justify-content: space-between; align-items: end; gap: .75rem; padding: .7rem .9rem; border-radius: 14px 14px 14px 4px; background: var(--bubble-in); opacity: .15; transform: translateY(10px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.unread-list li.is-in { opacity: 1; transform: none; }
.unread-list p { margin: 0; font-size: .9rem; }
.unread-list time { font-size: .72rem; color: var(--text-soft); white-space: nowrap; }
.unread-list .is-lost { border: 1px dashed rgba(239,68,68,.6); }
.unread-list .is-lost p { color: #FCA5A5; }
[data-theme="light"] .unread-list .is-lost p { color: #B91C1C; }

/* SOLUÇÃO — história com sticky */
.story { display: grid; gap: var(--space-6); }
.story__visual { display: none; }
.story__steps { display: grid; gap: 1.25rem; }
.story__step { position: relative; padding: 1.5rem; border-radius: var(--r-lg); border: 1px solid var(--border); background: var(--surface); transition: border-color var(--t), background-color var(--t), opacity var(--t); }
.story__step h3 { display: flex; align-items: center; gap: .6rem; }
.story__step h3 .icon { color: var(--accent); }
.story__step p { color: var(--text-muted); margin: 0; }
.story__num { font-family: var(--font-head); font-weight: 700; font-size: .8rem; letter-spacing: .1em; color: var(--accent-amber); display: block; margin-bottom: .5rem; }

.story__frame { position: relative; height: 100%; border-radius: var(--r-xl); border: 1px solid var(--border); background: radial-gradient(circle at 30% 0%, var(--glow-cyan), transparent 60%), var(--surface); box-shadow: var(--shadow-lg); overflow: hidden; }
.story__screen { position: absolute; inset: 0; display: grid; place-items: center; padding: 2rem 2rem 4rem; opacity: 0; transform: scale(.96) translateY(14px); transition: opacity .55s var(--ease), transform .55s var(--ease); }
.story__screen.is-active { opacity: 1; transform: none; }
.screen-label { position: absolute; bottom: 1.25rem; left: 50%; translate: -50% 0; display: inline-flex; align-items: center; gap: .45rem; padding: .45rem .9rem; border-radius: var(--r-pill); font-size: var(--fs-xs); font-weight: 600; background: var(--surface-2); border: 1px solid var(--border); white-space: nowrap; }
.screen-label .icon { color: var(--accent); }
.mini-chat { display: flex; flex-direction: column; gap: .45rem; width: min(100%, 340px); }
.mini-chat .bubble { font-size: .8rem; padding: .5rem .75rem; }
.mini-chat .quick-row span { font-size: .72rem; }
.mock-site, .mock-browser { position: relative; width: min(100%, 380px); padding: 1.25rem; border-radius: var(--r-md); background: var(--surface-solid); border: 1px solid var(--border); min-height: 260px; }
.mock-site__widget { position: absolute; right: -14px; bottom: -18px; width: 230px; padding: .8rem; border-radius: var(--r-md); background: var(--bg-2); border: 1px solid var(--border-strong); box-shadow: var(--shadow-md); display: grid; gap: .6rem; }
.mock-site__widget-head { display: flex; align-items: center; gap: .4rem; font-size: .8rem; font-weight: 600; color: var(--logo-structure); }
.mock-site__widget-head svg { width: 16px; height: 20px; }
.mock-site__widget .bubble { max-width: 100%; font-size: .8rem; }
.mock-site__quick { display: flex; gap: .4rem; flex-wrap: wrap; }
.mock-site__quick span, .quick-row span { font-size: .75rem; padding: .3rem .65rem; border-radius: var(--r-pill); border: 1px solid var(--accent); color: var(--accent); }
.mock-browser { padding: 0; overflow: hidden; }
.mock-browser__hero { padding: 1.5rem 1.25rem; }
.mock-browser__badges { display: flex; gap: .5rem; flex-wrap: wrap; padding: 0 1.25rem 1.25rem; }
.mock-browser__badges span { display: inline-flex; align-items: center; gap: .3rem; font-size: .75rem; font-weight: 600; padding: .35rem .7rem; border-radius: var(--r-pill); background: color-mix(in srgb, #22C55E 14%, transparent); color: #4ADE80; }
[data-theme="light"] .mock-browser__badges span { color: #15803D; }
.mock-browser__badges .icon { width: 14px; height: 14px; }
.flow { position: relative; width: min(100%, 340px); height: 260px; display: grid; grid-template-rows: auto 1fr auto; justify-items: center; }
.flow__lines { position: absolute; inset: 20px 0 30px; width: 100%; height: calc(100% - 50px); z-index: 0; }
.flow__lines path { fill: none; stroke: var(--accent); stroke-width: 2; stroke-dasharray: 6 6; animation: dash 1.2s linear infinite; opacity: .7; }
.flow__node, .flow__hub, .flow__outs span { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: .4rem; font-size: .8rem; font-weight: 600; padding: .55rem .85rem; border-radius: 12px; background: var(--surface-solid); border: 1px solid var(--border-strong); }
.flow__hub { align-self: center; background: var(--brand-cyan); color: var(--on-primary); border-color: transparent; box-shadow: 0 0 40px -6px var(--glow-cyan); }
.flow__outs { display: flex; justify-content: space-between; width: 100%; gap: .4rem; }
.flow__outs span { padding: .5rem .6rem; font-size: .75rem; }
.flow .icon { width: 16px; height: 16px; }

/* COMO FUNCIONA */
.steps { position: relative; display: grid; gap: 1.25rem; counter-reset: s; }
.steps__line { position: absolute; left: 27px; top: 28px; bottom: 28px; width: 2px; background: var(--border); }
.steps__line span { position: absolute; inset: 0; background: linear-gradient(180deg, var(--brand-cyan), var(--brand-amber)); transform-origin: top; transform: scaleY(var(--progress)); }
.step { position: relative; padding-left: 76px; min-height: 56px; }
.step__badge { position: absolute; left: 0; top: 0; width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; background: var(--surface-solid); border: 1px solid var(--border-strong); color: var(--text-soft); transition: all var(--t); }
.step.is-lit .step__badge { background: var(--brand-cyan); color: var(--on-primary); border-color: transparent; box-shadow: 0 0 0 6px color-mix(in srgb, var(--brand-cyan) 18%, transparent), 0 10px 30px -8px var(--glow-cyan); }
.step__num { font-size: var(--fs-xs); font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-amber); }
.step h3 { margin: .25rem 0 .4rem; }
.step p { color: var(--text-muted); margin: 0; }

/* BENEFÍCIOS — bento */
.bento { display: grid; gap: 1rem; grid-template-columns: 1fr; }
.bento__card { position: relative; padding: 1.5rem; overflow: hidden; transition: transform var(--t), border-color var(--t), box-shadow var(--t); }
.bento__card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), color-mix(in srgb, var(--brand-cyan) 14%, transparent), transparent 45%); opacity: 0; transition: opacity var(--t); pointer-events: none; }
.bento__card:hover { border-color: color-mix(in srgb, var(--brand-cyan) 40%, transparent); transform: translateY(-4px); box-shadow: var(--shadow-md); }
.bento__card:hover::before { opacity: 1; }
.bento__card p { color: var(--text-muted); font-size: var(--fs-sm); margin: 0; }
.bento__card--xl { display: grid; gap: 1.5rem; align-items: center; }
.bento__card--xl h3 { font-size: clamp(1.35rem, 1.1rem + 1vw, 1.9rem); }
.typing-visual { display: flex; flex-direction: column; gap: .6rem; padding: 1.25rem; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--border); }
.clock-tag { align-self: flex-end; display: inline-flex; align-items: center; gap: .35rem; font-size: .75rem; color: var(--accent); }
.clock-tag .icon { width: 14px; height: 14px; }
.tag-cloud { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: 1.1rem; }
.mini-cal { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; margin-top: 1.1rem; font-size: .7rem; color: var(--text-soft); text-align: center; }
.mini-cal i { height: 22px; border-radius: 6px; background: var(--surface-2); }
.mini-cal i.on { background: color-mix(in srgb, var(--brand-cyan) 45%, transparent); }
.mini-cal i.pulse { background: var(--brand-amber); animation: pulse-amber 2s infinite; }
.handoff { display: flex; align-items: center; gap: .5rem; margin-top: 1.1rem; }
.handoff .avatar:last-child { width: auto; padding: 0 .75rem; border-radius: var(--r-pill); }
.handoff__line { flex: 1; height: 2px; background: repeating-linear-gradient(90deg, var(--accent) 0 6px, transparent 6px 12px); background-size: 24px 2px; animation: slide-x 1s linear infinite; }
.gauge { position: relative; width: 140px; margin: 1rem auto 0; }
.gauge svg { overflow: visible; }
.gauge path { fill: none; stroke-width: 10; stroke-linecap: round; }
.gauge__bg { stroke: var(--surface-2); }
.gauge__fg { stroke: url(#lg-cyan-royal); stroke: var(--brand-cyan); stroke-dasharray: 158; stroke-dashoffset: 158; transition: stroke-dashoffset 1.6s var(--ease); }
.is-visible .gauge__fg { stroke-dashoffset: 18; }
.gauge span { position: absolute; left: 0; right: 0; bottom: 0; text-align: center; font-family: var(--font-head); font-weight: 700; font-size: .95rem; color: var(--accent); }
.bars { display: flex; align-items: end; gap: 8px; height: 90px; margin-top: 1.1rem; }
.bars i { flex: 1; height: 100%; border-radius: 6px 6px 2px 2px; background: linear-gradient(180deg, var(--brand-cyan), color-mix(in srgb, var(--brand-royal) 50%, transparent)); transform-origin: bottom; transform: scaleY(.05); transition: transform 1s var(--ease); }
.bars i:last-child { background: linear-gradient(180deg, var(--brand-amber), color-mix(in srgb, var(--brand-amber) 30%, transparent)); }
.is-visible .bars i { transform: scaleY(var(--v)); }
.is-visible .bars i:nth-child(2) { transition-delay: .08s; } .is-visible .bars i:nth-child(3) { transition-delay: .16s; }
.is-visible .bars i:nth-child(4) { transition-delay: .24s; } .is-visible .bars i:nth-child(5) { transition-delay: .32s; }
.is-visible .bars i:nth-child(6) { transition-delay: .4s; }  .is-visible .bars i:nth-child(7) { transition-delay: .48s; }
.integrations { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.1rem; }
.integrations span { display: inline-flex; align-items: center; gap: .4rem; padding: .45rem .75rem; border-radius: var(--r-pill); font-size: .8rem; background: var(--surface-2); border: 1px solid var(--border); transition: transform var(--t-fast), border-color var(--t-fast); }
.integrations span:hover { transform: translateY(-2px); border-color: var(--accent); }
.integrations .icon { width: 15px; height: 15px; color: var(--accent); }

.cta-strip { margin-top: var(--space-6); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.25rem 1.5rem; border-radius: var(--r-lg); border: 1px dashed var(--border-strong); background: var(--surface); }
.cta-strip p { margin: 0; font-size: var(--fs-lg); font-weight: 300; }
.cta-strip strong { font-weight: 700; color: var(--accent); }

/* DEMO */
.demo { overflow: hidden; }
.demo__glow { position: absolute; inset: 10% -20% auto; height: 70%; background: radial-gradient(ellipse at center, var(--glow-cyan), transparent 60%); opacity: .55; pointer-events: none; z-index: -1; }
.demo__controls { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; margin-bottom: 1.5rem; }
.segmented, .switch { display: flex; gap: .25rem; padding: .3rem; border-radius: var(--r-pill); background: var(--surface); border: 1px solid var(--border); overflow-x: auto; max-width: 100%; scrollbar-width: none; }
.segmented__btn, .switch__btn { display: inline-flex; align-items: center; gap: .4rem; min-height: 44px; padding: .5rem 1rem; border-radius: var(--r-pill); border: 0; background: transparent; color: var(--text-muted); font-size: var(--fs-sm); font-weight: 500; white-space: nowrap; transition: background-color var(--t-fast), color var(--t-fast); }
.segmented__btn:hover, .switch__btn:hover { color: var(--text); }
.segmented__btn[aria-pressed="true"] { background: var(--surface-2); color: var(--text); box-shadow: inset 0 0 0 1px var(--border-strong); }
.segmented__btn[aria-pressed="true"] .icon { color: var(--accent); }
.switch__btn[aria-pressed="true"] { background: var(--text); color: var(--bg); }

.demo__layout { display: grid; gap: 1.25rem; align-items: stretch; }
.demo__device { display: flex; flex-direction: column; height: clamp(520px, 70vh, 620px); overflow: hidden; box-shadow: var(--shadow-lg); transition: border-radius var(--t); }
.demo__head { display: flex; align-items: center; gap: .7rem; padding: .85rem 1rem; border-bottom: 1px solid var(--border); background: var(--surface); }
.demo__head > div { display: grid; line-height: 1.25; }
.demo__head small { font-size: .78rem; color: var(--accent); }
.demo__chat { flex: 1; overflow-y: auto; display: flex; flex-direction: column; gap: .55rem; padding: 1rem; scroll-behavior: smooth; overscroll-behavior: contain; }
.demo__chat .bubble { font-size: .92rem; white-space: pre-line; }
.demo__options { display: flex; flex-wrap: wrap; gap: .5rem; padding: .75rem 1rem; border-top: 1px solid var(--border); min-height: 70px; align-items: center; }
.demo__options button { min-height: 44px; padding: .5rem 1rem; border-radius: var(--r-pill); border: 1px solid var(--accent); background: transparent; color: var(--accent); font-size: var(--fs-sm); font-weight: 500; transition: background-color var(--t-fast), color var(--t-fast), transform var(--t-fast); animation: pop .35s var(--ease) both; }
.demo__options button:hover { background: var(--brand-cyan); color: var(--on-primary); }
.demo__options button:active { transform: scale(.96); }
.demo__options button:disabled { opacity: .4; pointer-events: none; }
.demo__hint { margin: 0; padding: 0 1rem .75rem; font-size: .75rem; color: var(--text-soft); }
/* skin WhatsApp vs Web Bot */
.demo__device[data-channel="whatsapp"] .demo__chat { background: radial-gradient(circle at 20% 10%, color-mix(in srgb, var(--brand-cyan) 7%, transparent), transparent 40%); }
.demo__device[data-channel="web"] { border-radius: 20px 20px 20px 4px; }
.demo__device[data-channel="web"] .demo__head { background: linear-gradient(90deg, var(--brand-royal), var(--brand-cyan)); color: #fff; }
.demo__device[data-channel="web"] .demo__head small { color: rgba(255,255,255,.9); }
.demo__device[data-channel="web"] .demo__head .icon-btn { background: rgba(255,255,255,.15); color: #fff; border-color: rgba(255,255,255,.3); }
.demo__device[data-channel="web"] .bubble--out { background: color-mix(in srgb, var(--brand-royal) 30%, var(--bg-2)); }

.demo__backstage { padding: 1.5rem; display: flex; flex-direction: column; }
.demo__backstage h3 { display: flex; align-items: center; gap: .6rem; font-size: 1.1rem; }
.demo__backstage > p { color: var(--text-muted); font-size: var(--fs-sm); }
.backstage__log { flex: 1; display: flex; flex-direction: column; gap: .5rem; max-height: 320px; overflow-y: auto; margin: .5rem 0 1rem; font-family: ui-monospace, "SFMono-Regular", Consolas, monospace; font-size: .8rem; }
.backstage__log li { display: flex; gap: .6rem; padding: .55rem .7rem; border-radius: var(--r-sm); background: var(--surface); border-left: 3px solid var(--brand-cyan); animation: slide-in .4s var(--ease) both; }
.backstage__log li.is-lgpd { border-left-color: var(--brand-amber); }
.backstage__log li.is-human { border-left-color: var(--brand-royal); }
.backstage__log time { color: var(--text-soft); flex: none; }
.backstage__log li:empty { display: none; }
.backstage__metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; margin: 0; }
.backstage__metrics div { padding: .75rem; border-radius: var(--r-sm); background: var(--surface); text-align: center; }
.backstage__metrics dt { font-size: .7rem; color: var(--text-soft); line-height: 1.3; }
.backstage__metrics dd { margin: .2rem 0 0; font-family: var(--font-head); font-weight: 700; font-size: 1.5rem; color: var(--accent); }
.demo__cta { text-align: center; margin-top: var(--space-6); }

/* CALCULADORA */
.calc { background: radial-gradient(ellipse 50% 60% at 15% 50%, var(--glow-amber), transparent 70%); }
.calc__grid { display: grid; gap: var(--space-6); align-items: center; }
.calc__form { display: grid; gap: 1.5rem; margin-top: 2rem; }
.range-field label { display: flex; justify-content: space-between; gap: 1rem; font-weight: 500; font-size: var(--fs-sm); margin-bottom: .6rem; }
.range-field output { font-family: var(--font-head); font-weight: 700; color: var(--accent-amber); white-space: nowrap; }
input[type="range"] { --fill: 50%; -webkit-appearance: none; appearance: none; width: 100%; height: 44px; background: transparent; cursor: pointer; }
input[type="range"]::-webkit-slider-runnable-track { height: 8px; border-radius: 8px; background: linear-gradient(90deg, var(--brand-amber) var(--fill), var(--surface-2) var(--fill)); }
input[type="range"]::-moz-range-track { height: 8px; border-radius: 8px; background: var(--surface-2); }
input[type="range"]::-moz-range-progress { height: 8px; border-radius: 8px; background: var(--brand-amber); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; margin-top: -9px; border-radius: 50%; background: #fff; border: 4px solid var(--brand-amber); box-shadow: 0 4px 14px rgba(0,0,0,.3); transition: transform var(--t-fast); }
input[type="range"]::-moz-range-thumb { width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 4px solid var(--brand-amber); }
input[type="range"]:active::-webkit-slider-thumb { transform: scale(1.15); }
.calc__result { padding: clamp(1.5rem, 3vw, 2.5rem); text-align: center; box-shadow: var(--shadow-lg); position: relative; overflow: hidden; }
.calc__result::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; background: linear-gradient(140deg, var(--brand-amber), transparent 40%, transparent 60%, var(--brand-cyan)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.calc__label { color: var(--text-muted); font-size: var(--fs-sm); margin-bottom: .25rem; }
.calc__big { font-family: var(--font-head); font-size: clamp(3rem, 2rem + 5vw, 5rem); font-weight: 800; line-height: 1; margin-bottom: 1.25rem; color: var(--accent-amber); }
.calc__money { font-family: var(--font-head); font-size: clamp(2rem, 1.4rem + 3vw, 3.25rem); font-weight: 800; line-height: 1.1; margin-bottom: .5rem; }
.calc__year { color: var(--text-muted); }
.calc__year strong { color: var(--text); }
.calc__disclaimer { font-size: .78rem; color: var(--text-soft); margin: 1rem 0 1.5rem; }

/* SEGMENTOS — abas */
.tabs { display: grid; gap: 1.25rem; }
.tabs__list { display: flex; gap: .5rem; overflow-x: auto; padding-bottom: .5rem; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.tabs__list [role="tab"] { scroll-snap-align: start; flex: none; display: inline-flex; align-items: center; gap: .5rem; min-height: 48px; padding: .6rem 1rem; border-radius: var(--r-md); border: 1px solid var(--border); background: var(--surface); color: var(--text-muted); font-size: var(--fs-sm); font-weight: 500; text-align: left; transition: all var(--t-fast); }
.tabs__list [role="tab"]:hover { color: var(--text); border-color: var(--border-strong); }
.tabs__list [role="tab"][aria-selected="true"], .tabs__list [role="tab"].is-active { color: var(--text); border-color: var(--accent); background: color-mix(in srgb, var(--brand-cyan) 12%, transparent); }
.tabs__list [role="tab"][aria-selected="true"] .icon, .tabs__list [role="tab"].is-active .icon { color: var(--accent); }
.tab-panel { display: grid; gap: 1.5rem; padding: clamp(1.25rem, 3vw, 2.25rem); }
.tab-panel[hidden], .tab-panel.hidden { display: none !important; }
.tab-panel:not([hidden]) { animation: fade-up .45s var(--ease) both; }
.tab-panel h3 { font-size: clamp(1.35rem, 1.1rem + 1vw, 1.9rem); }
.tab-panel__pain { color: var(--text-muted); }
.tab-panel__pain strong { color: var(--accent-amber); }
.tab-panel .btn { margin-top: 1.5rem; }
.tab-panel__preview { display: flex; flex-direction: column; gap: .55rem; padding: 1.25rem; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--border); align-self: center; }
.quick-row { display: flex; gap: .4rem; margin-left: auto; }

/* SEGURANÇA */
.security { background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--brand-navy) 60%, transparent) 30%, transparent); }
[data-theme="light"] .security { background: linear-gradient(180deg, transparent, #EAF3FA 30%, transparent); }
.security__top { display: grid; gap: var(--space-6); align-items: center; margin-bottom: var(--space-7); }
.shield { position: relative; width: min(100%, 380px); aspect-ratio: 1; margin-inline: auto; display: grid; place-items: center; }
.shield__ring { position: absolute; border-radius: 50%; border: 1px solid color-mix(in srgb, var(--brand-cyan) 35%, transparent); }
.shield__ring--1 { inset: 30%; background: radial-gradient(circle, var(--glow-cyan), transparent 70%); }
.shield__ring--2 { inset: 15%; border-style: dashed; animation: spin 30s linear infinite; }
.shield__ring--3 { inset: 0; border-color: color-mix(in srgb, var(--brand-amber) 30%, transparent); }
.shield__ring--3::after { content: ""; position: absolute; inset: -1px; border-radius: 50%; background: conic-gradient(from 0deg, color-mix(in srgb, var(--brand-cyan) 40%, transparent), transparent 25%); animation: spin 5s linear infinite; -webkit-mask: radial-gradient(closest-side, transparent 96%, #000 97%); mask: radial-gradient(closest-side, transparent 0, transparent 60%, #000 100%); opacity: .6; }
.shield__core { position: relative; width: 30%; aspect-ratio: 1; border-radius: 28%; display: grid; place-items: center; background: linear-gradient(145deg, var(--brand-cyan), var(--brand-royal)); color: #fff; box-shadow: 0 20px 60px -10px var(--glow-cyan); animation: float 6s ease-in-out infinite; }
.shield__core .icon { width: 50%; height: 50%; stroke-width: 1.8; }
.shield__chip { position: absolute; display: inline-flex; align-items: center; gap: .35rem; padding: .4rem .75rem; border-radius: var(--r-pill); font-size: .75rem; font-weight: 600; background: var(--surface-solid); border: 1px solid var(--border-strong); box-shadow: var(--shadow-md); animation: float 7s ease-in-out infinite; }
.shield__chip .icon { width: 14px; height: 14px; color: var(--accent); }
.shield__chip--a { top: 10%; left: 4%; }
.shield__chip--b { top: 46%; right: -2%; animation-delay: -2.5s; }
.shield__chip--c { bottom: 8%; left: 14%; animation-delay: -4s; }
.shield__chip--c .icon { color: var(--accent-amber); }
.sec-grid { display: grid; gap: 1rem; }
.sec-card { padding: 1.5rem; transition: transform var(--t), border-color var(--t); }
.sec-card:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--brand-cyan) 40%, transparent); }
.sec-card > .icon { width: 44px; height: 44px; padding: 10px; border-radius: 12px; background: color-mix(in srgb, var(--brand-cyan) 14%, transparent); color: var(--accent); margin-bottom: 1rem; }
.sec-card h3 { font-size: 1.1rem; }
.sec-card p { color: var(--text-muted); font-size: var(--fs-sm); margin: 0; }
.lgpd-strip { margin-top: var(--space-5); padding: 1.5rem; border-radius: var(--r-lg); border: 1px solid color-mix(in srgb, var(--brand-amber) 35%, transparent); background: color-mix(in srgb, var(--brand-amber) 6%, transparent); }
.lgpd-strip__title { font-family: var(--font-head); font-weight: 700; font-size: 1.1rem; color: var(--accent-amber); }
.lgpd-strip ul { display: grid; gap: 1rem; }
.lgpd-strip li { display: grid; gap: .15rem; }
.lgpd-strip strong { font-family: var(--font-head); }
.lgpd-strip span { color: var(--text-muted); font-size: var(--fs-sm); }

/* PROVA SOCIAL — carrossel */
.carousel { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: calc(-1 * var(--gutter)); padding: .5rem var(--gutter) 1rem; scroll-padding-inline: var(--gutter); }
.carousel::-webkit-scrollbar { display: none; }
.carousel__track { display: flex; gap: 1rem; width: max-content; }
.carousel__nav { display: flex; gap: .5rem; }
.quote-card { scroll-snap-align: start; width: min(84vw, 380px); padding: 1.75rem; display: flex; flex-direction: column; gap: 1rem; }
.quote-card__metric { font-family: var(--font-head); font-weight: 700; color: var(--accent-amber); margin: 0; }
.quote-card blockquote { margin: 0; flex: 1; font-size: var(--fs-lg); font-weight: 300; }
.quote-card blockquote p { margin: 0; }
.quote-card footer { display: flex; align-items: center; gap: .75rem; padding-top: 1rem; border-top: 1px solid var(--border); }
.quote-card footer div { display: grid; line-height: 1.3; }
.quote-card footer small { color: var(--text-soft); font-size: .8rem; }
.quote-card--case { background: linear-gradient(160deg, color-mix(in srgb, var(--brand-cyan) 18%, transparent), var(--surface)); }
.quote-card__label { font-size: var(--fs-xs); font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin: 0; }
.case-mini { display: grid; gap: .75rem; margin: 0; }
.case-mini dt { font-size: .75rem; color: var(--text-soft); text-transform: uppercase; letter-spacing: .08em; }
.case-mini dd { margin: 0; font-weight: 500; }

/* PLANOS (5 Planos Oficiais: 2 PRO em destaque + 3 Essenciais) */
.plans-tier-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .65rem;
  margin: 0 0 1rem;
  font-family: var(--font-head);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
}
.plans-tier-label::before,
.plans-tier-label::after {
  content: "";
  height: 1px;
  width: 48px;
  background: linear-gradient(90deg, transparent, var(--border-strong));
}
.plans-tier-label::after {
  background: linear-gradient(90deg, var(--border-strong), transparent);
}
.plans-tier-label--base {
  margin-top: 2rem;
  color: var(--text-soft);
}
.plans { display: grid; gap: 1.25rem; align-items: stretch; }
.plans--pro { max-width: 920px; margin-inline: auto; }
.plan { position: relative; padding: 1.65rem 1.5rem; display: flex; flex-direction: column; transition: transform var(--t), box-shadow var(--t); }
.plan:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.plan .ticks { flex: 1; margin-bottom: 1.35rem; }
.plan__name { font-size: 1.2rem; margin-bottom: .35rem; }
.plan__desc { color: var(--text-muted); font-size: var(--fs-sm); min-height: 2.8em; margin-bottom: .75rem; }
.plan__old-price { font-size: .85rem; color: var(--text-soft); margin: 0; }
.plan__old-price s { color: #F87171; text-decoration-thickness: 1.5px; }
.plan__price { display: flex; align-items: baseline; gap: .3rem; margin: .15rem 0 0; }
.plan__price span { font-family: var(--font-head); font-size: 2.15rem; font-weight: 800; letter-spacing: -.02em; color: var(--text); }
.plan--featured .plan__price span { color: var(--accent); }
.plan__price small { color: var(--text-soft); font-size: .9rem; }
.plan__subprice { font-size: .78rem; color: var(--accent-amber); font-weight: 600; margin: .25rem 0 0; padding-bottom: 1rem; border-bottom: 1px solid var(--border); }
.plan--featured { border-color: color-mix(in srgb, var(--brand-cyan) 65%, transparent); background: linear-gradient(180deg, color-mix(in srgb, var(--brand-cyan) 15%, transparent), var(--surface)); box-shadow: 0 30px 80px -30px var(--glow-cyan); }
.plan--pro-alt { border-color: color-mix(in srgb, var(--brand-amber) 45%, transparent); background: linear-gradient(180deg, color-mix(in srgb, var(--brand-amber) 10%, transparent), var(--surface)); }
.plan__badge { position: absolute; top: -14px; left: 50%; translate: -50% 0; padding: .35rem .95rem; border-radius: var(--r-pill); font-size: .74rem; font-weight: 700; letter-spacing: .04em; background: var(--brand-amber); color: #1C1405; white-space: nowrap; box-shadow: 0 6px 20px -4px var(--glow-amber); }
.plan__badge--cyan { background: var(--brand-cyan); color: #04121A; box-shadow: 0 6px 20px -4px var(--glow-cyan); }

/* Caixa de Transparência sobre a Taxa Única de Implantação */
.setup-banner {
  margin-top: var(--space-5);
  padding: 1.35rem 1.6rem;
  border-radius: var(--r-lg);
  background: #0F172A;
  border: 1.5px solid #F59E0B;
  box-shadow: 0 18px 45px -18px rgba(245, 158, 11, .25);
  display: grid;
  gap: .5rem;
  color: #F1F5F9;
}
[data-theme="light"] .setup-banner { background: #0F172A; color: #F1F5F9; }
.setup-banner__title {
  font-family: var(--font-head);
  font-size: 1.08rem;
  font-weight: 700;
  color: #FBBF24;
  margin: 0;
  display: flex;
  align-items: center;
  gap: .5rem;
}
.setup-banner__text {
  margin: 0;
  font-size: var(--fs-sm);
  color: #CBD5E1;
  line-height: 1.55;
}
.setup-banner__text strong { color: #FFFFFF; }

/* NOSSA HISTÓRIA E COMPROMISSO COM A LEI (LGPD & CDC) */
.history-law { background: radial-gradient(ellipse 60% 50% at 15% 50%, var(--glow-cyan), transparent 70%); }
.history-law__grid { display: grid; gap: var(--space-6); align-items: center; }
.history-law__copy h2 { margin-bottom: .75rem; }
.history-law__copy p { color: var(--text-muted); font-size: var(--fs-base); line-height: 1.65; margin-bottom: 1rem; }
.history-law__pills { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .75rem; }
.law-seals { display: grid; gap: .85rem; }
.law-seal {
  display: flex; align-items: flex-start; gap: 1rem; padding: 1.15rem 1.25rem;
  border-radius: var(--r-md); border: 1px solid var(--border);
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  backdrop-filter: blur(12px);
  transition: transform var(--t-fast), border-color var(--t-fast), box-shadow var(--t-fast);
}
.law-seal:hover { transform: translateX(4px); border-color: var(--brand-cyan); box-shadow: var(--shadow-md); }
.law-seal__badge {
  position: relative; width: 46px; height: 46px; border-radius: 14px; flex: none;
  display: grid; place-items: center;
  background: color-mix(in srgb, var(--brand-cyan) 15%, transparent);
  border: 1px solid color-mix(in srgb, var(--brand-cyan) 40%, transparent);
  color: var(--accent);
}
.law-seal:nth-child(2) .law-seal__badge {
  background: color-mix(in srgb, var(--brand-amber) 15%, transparent);
  border-color: color-mix(in srgb, var(--brand-amber) 40%, transparent);
  color: var(--accent-amber);
}
.law-seal:nth-child(3) .law-seal__badge {
  background: color-mix(in srgb, #10B981 15%, transparent);
  border-color: color-mix(in srgb, #10B981 40%, transparent);
  color: #34D399;
}
.law-seal__check {
  position: absolute; right: -5px; bottom: -5px; width: 18px; height: 18px;
  border-radius: 50%; background: #10B981; color: #04121A;
  display: grid; place-items: center; font-size: .65rem; font-weight: 800;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, .6); animation: pulse 2.2s infinite;
}
.law-seal h3 { font-size: 1rem; margin: 0 0 .25rem; color: var(--text); }
.law-seal p { margin: 0; font-size: .85rem; color: var(--text-muted); line-height: 1.48; }

/* FAQ */
.faq__grid { display: grid; gap: var(--space-6); align-items: start; }
.faq .section-head { margin-bottom: 0; }
.faq .section-head p { margin-bottom: 1.5rem; }
.accordion { display: grid; gap: .75rem; }
.acc-item { border: 1px solid var(--border); border-radius: var(--r-md); background: var(--surface); transition: border-color var(--t), background-color var(--t); }
.acc-item[open] { border-color: color-mix(in srgb, var(--brand-cyan) 45%, transparent); background: var(--surface-2); }
.acc-item summary { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 60px; padding: 1rem 1.25rem; cursor: pointer; list-style: none; font-family: var(--font-head); font-weight: 600; font-size: 1.02rem; }
.acc-item summary::-webkit-details-marker { display: none; }
.acc-item__icon { display: grid; place-items: center; width: 32px; height: 32px; flex: none; border-radius: 50%; background: var(--surface-2); color: var(--accent); transition: transform var(--t), background-color var(--t); }
.acc-item[open] .acc-item__icon { transform: rotate(45deg); background: var(--brand-cyan); color: var(--on-primary); }
.acc-item__icon .icon { width: 16px; height: 16px; }
.acc-item__body { padding: 0 1.25rem 1.25rem; color: var(--text-muted); }
.acc-item__body p { margin: 0; }
.acc-item[open] .acc-item__body { animation: fade-up .35s var(--ease); }

/* CONTATO */
.contact { overflow: hidden; }
.contact__glow { position: absolute; inset: auto -10% -30% -10%; height: 80%; background: radial-gradient(ellipse at 30% 100%, var(--glow-cyan), transparent 60%), radial-gradient(ellipse at 80% 100%, var(--glow-amber), transparent 55%); z-index: -1; pointer-events: none; }
.contact__grid { display: grid; gap: var(--space-6); align-items: start; }
.contact__urgency { display: flex; gap: .6rem; align-items: flex-start; padding: .9rem 1rem; border-radius: var(--r-md); background: color-mix(in srgb, var(--brand-amber) 10%, transparent); border: 1px solid color-mix(in srgb, var(--brand-amber) 35%, transparent); font-size: var(--fs-sm); }
.contact__urgency .icon { color: var(--accent-amber); margin-top: .15rem; }
.contact__channels { display: grid; gap: .75rem; margin-top: 1.5rem; }
.channel { display: flex; align-items: center; gap: .9rem; padding: 1rem 1.1rem; border-radius: var(--r-md); border: 1px solid var(--border); background: var(--surface); text-decoration: none; color: var(--text); transition: border-color var(--t-fast), transform var(--t-fast); }
.channel:hover { border-color: var(--accent); transform: translateX(4px); }
.channel > .icon { width: 44px; height: 44px; padding: 10px; border-radius: 12px; background: color-mix(in srgb, var(--brand-cyan) 15%, transparent); color: var(--accent); }
.channel span { display: grid; line-height: 1.35; min-width: 0; }
.channel small { color: var(--text-soft); overflow-wrap: anywhere; }

.lead-form { padding: clamp(1.5rem, 3vw, 2.25rem); box-shadow: var(--shadow-lg); display: grid; gap: 1.1rem; }
.lead-form__title { font-size: 1.35rem; margin: 0; }
.field { display: grid; gap: .4rem; border: 0; margin: 0; padding: 0; min-width: 0; }
.field label, .field legend { font-weight: 500; font-size: var(--fs-sm); padding: 0; }
.field__optional { color: var(--text-soft); font-weight: 400; }
.field input[type="text"], .field input[type="tel"], .field input[type="email"], .field select {
  width: 100%; min-height: 50px; padding: .75rem 1rem; border-radius: var(--r-sm); font-size: 1rem;
  background: var(--bg-2); border: 1px solid var(--border-strong); color: var(--text);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2306B6D4' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; background-size: 18px; padding-right: 2.75rem; }
.field input::placeholder { color: var(--text-soft); opacity: .8; }
.field input:focus, .field select:focus { outline: none; border-color: var(--brand-cyan); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand-cyan) 22%, transparent); }
.field.is-invalid input, .field.is-invalid select { border-color: #F87171; }
.field.is-valid input, .field.is-valid select { border-color: color-mix(in srgb, #22C55E 70%, transparent); }
.field__error { margin: 0; font-size: .82rem; color: #FCA5A5; min-height: 0; }
[data-theme="light"] .field__error { color: #B91C1C; }
.field__error:empty { display: none; }
.field--chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.field--chips legend { width: 100%; margin-bottom: .4rem; }
.chip-check { position: relative; }
.chip-check input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip-check span { display: inline-flex; align-items: center; min-height: 44px; padding: .5rem 1rem; border-radius: var(--r-pill); border: 1px solid var(--border-strong); font-size: var(--fs-sm); transition: all var(--t-fast); }
.chip-check input:checked + span { background: color-mix(in srgb, var(--brand-cyan) 16%, transparent); border-color: var(--accent); color: var(--accent); }
.chip-check input:checked + span::before { content: "✓"; margin-right: .35rem; font-weight: 700; }
.chip-check input:focus-visible + span { outline: 3px solid var(--brand-cyan); outline-offset: 2px; }
.check { display: flex; gap: .7rem; align-items: flex-start; font-size: var(--fs-sm); color: var(--text-muted); cursor: pointer; }
.check input { width: 22px; height: 22px; flex: none; margin-top: .1rem; accent-color: var(--brand-cyan); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.btn__spinner { display: none; width: 20px; height: 20px; border-radius: 50%; border: 3px solid rgba(4,18,26,.25); border-top-color: var(--on-primary); animation: spin .8s linear infinite; }
.is-loading .btn__spinner { display: inline-block; }
.is-loading .btn__label { opacity: .7; }
.form-status { margin: 0; font-size: var(--fs-sm); font-weight: 500; }
.form-status:empty { display: none; }
.form-status.is-success { padding: .9rem 1rem; border-radius: var(--r-sm); background: color-mix(in srgb, #22C55E 14%, transparent); color: #4ADE80; }
.form-status.is-error { padding: .9rem 1rem; border-radius: var(--r-sm); background: color-mix(in srgb, #EF4444 14%, transparent); color: #FCA5A5; }
[data-theme="light"] .form-status.is-success { color: #15803D; }
[data-theme="light"] .form-status.is-error { color: #B91C1C; }
.lead-form__privacy { display: flex; gap: .5rem; align-items: center; margin: 0; font-size: .8rem; color: var(--text-soft); }
.lead-form__privacy .icon { width: 14px; height: 14px; color: var(--accent); }

/* RODAPÉ */
.site-footer { border-top: 1px solid var(--border); padding: var(--space-7) 0 calc(var(--space-4) + 70px); background: var(--bg-2); }
.footer__grid { display: grid; gap: var(--space-5); grid-template-columns: 1fr 1fr; }
.footer__brand { grid-column: 1 / -1; }
.footer__brand p {
  /* Texto institucional: claramente informativo (não clicável) — recuo, filete lateral e tom suave */
  color: var(--text-soft);
  font-size: .86rem;
  line-height: 1.65;
  max-width: 36ch;
  margin: 1rem 0;
  padding: .15rem 0 .15rem .9rem;
  border-left: 2px solid var(--brand-cyan);
  cursor: default;
  user-select: text;
}
.footer__col h2 {
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: .85rem;
  padding-bottom: .65rem;
  border-bottom: 1px solid var(--border);
  position: relative;
}
.footer__col h2::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 28px; height: 2px; background: linear-gradient(90deg, var(--brand-cyan), var(--brand-amber)); border-radius: 2px; }
.footer__col ul { display: grid; gap: .1rem; }
/* LINKS: ciano + chevron + sublinhado no hover = claramente clicáveis */
.footer__col a { display: inline-flex; align-items: center; gap: .45rem; min-height: 36px; color: var(--text); text-decoration: none; font-size: var(--fs-sm); font-weight: 500; transition: color var(--t-fast), transform var(--t-fast); }
.footer__col a::before { content: "›"; color: var(--accent); font-weight: 800; font-size: 1.1em; line-height: 1; transition: transform var(--t-fast); }
.footer__col a:hover { color: var(--accent); text-decoration: underline; text-underline-offset: 4px; }
.footer__col a:hover::before { transform: translateX(3px); }
/* INFORMAÇÃO (não clicável): caixa discreta tracejada, sem chevron */
.footer__col span { display: block; min-height: auto; margin-top: .35rem; padding: .6rem .75rem; border: 1px dashed var(--border-strong); border-radius: var(--r-sm); background: var(--surface); color: var(--text-soft); font-size: .8rem; line-height: 1.5; cursor: default; overflow-wrap: anywhere; }
.footer__col .link-btn { display: inline-flex; align-items: center; gap: .45rem; min-height: 36px; color: var(--text); font-weight: 500; font-size: var(--fs-sm); }
.footer__col .link-btn::before { content: "›"; color: var(--accent); font-weight: 800; font-size: 1.1em; }
.footer__col .link-btn:hover { color: var(--accent); text-decoration: underline; text-underline-offset: 4px; }
.socials { display: flex; gap: .5rem; }
.socials a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--border); color: var(--text-muted); transition: all var(--t-fast); }
.socials a:hover { color: var(--accent); border-color: var(--accent); transform: translateY(-2px); }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem; margin-top: var(--space-6); padding-top: var(--space-4); border-top: 1px solid var(--border); font-size: .82rem; color: var(--text-soft); }
.footer__bottom p { margin: 0; }

/* ---------- 6. WIDGET FLUTUANTE OFICIAL DO CHATBOT WEB ---------- */
.bonify-widget {
  position: fixed;
  right: max(1.1rem, env(safe-area-inset-right));
  bottom: max(1.1rem, env(safe-area-inset-bottom));
  z-index: 115;
  font-family: var(--font-body);
}
.has-cookie-banner .bonify-widget { bottom: 5.5rem; }

.bonify-widget__launcher {
  position: relative;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: #0F172A;
  border: 2px solid #06B6D4;
  color: #F1F5F9;
  display: grid;
  place-items: center;
  padding: 0;
  box-shadow: 0 16px 38px -8px rgba(6, 182, 212, .5), 0 6px 18px rgba(0, 0, 0, .55);
  transition: transform var(--t-fast), box-shadow var(--t), border-color var(--t-fast);
}
.bonify-widget__launcher:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 20px 44px -6px rgba(6, 182, 212, .65), 0 0 0 5px rgba(6, 182, 212, .18);
}
.bonify-widget__launcher:active { transform: scale(.95); }
.bonify-widget__launcher svg { width: 32px; height: 32px; }
.bonify-widget__online {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #10B981;
  border: 2px solid #0F172A;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, .7);
  animation: pulse 2s infinite;
}

.bonify-widget__window {
  position: absolute;
  right: 0;
  bottom: 76px;
  width: min(calc(100vw - 2rem), 370px);
  height: min(calc(100dvh - 120px), 520px);
  background: #0F172A;
  color: #F1F5F9;
  border: 1.5px solid rgba(6, 182, 212, .45);
  border-radius: 22px;
  box-shadow: 0 28px 75px -15px rgba(0, 0, 0, .75), 0 0 50px -15px rgba(6, 182, 212, .35);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform-origin: bottom right;
  animation: pop .3s var(--ease) both;
}
.bonify-widget__window[hidden] { display: none !important; }

.bonify-widget__head {
  display: flex;
  align-items: center;
  gap: .65rem;
  padding: .85rem 1rem;
  background: linear-gradient(90deg, #0B1222, #152238);
  border-bottom: 1px solid rgba(148, 163, 184, .18);
}
.bonify-widget__head-info { flex: 1; display: grid; line-height: 1.25; }
.bonify-widget__head-info strong { font-family: var(--font-head); font-size: .95rem; color: #F8FAFC; }
.bonify-widget__head-info small { font-size: .74rem; color: #34D399; display: inline-flex; align-items: center; gap: .35rem; }
.bonify-widget__head-info small::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #10B981; }
.bonify-widget__head-btn {
  width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(148, 163, 184, .22);
  background: rgba(255, 255, 255, .05); color: #CBD5E1; display: grid; place-items: center;
  transition: border-color var(--t-fast), color var(--t-fast), background-color var(--t-fast);
}
.bonify-widget__head-btn:hover { border-color: #06B6D4; color: #22D3EE; background: rgba(6, 182, 212, .12); }
.bonify-widget__head-btn .icon { width: 16px; height: 16px; }

.bonify-widget__messages {
  flex: 1;
  overflow-y: auto;
  padding: .9rem;
  display: flex;
  flex-direction: column;
  gap: .55rem;
  background: radial-gradient(circle at 20% 10%, rgba(6, 182, 212, .08), transparent 45%), #0B1222;
  scroll-behavior: smooth;
}
.bonify-widget__messages .bubble { font-size: .83rem; line-height: 1.45; padding: .55rem .8rem; max-width: 88%; }
.bonify-widget__messages .bubble--in { background: #1B2740; color: #F1F5F9; }
.bonify-widget__messages .bubble--out { background: #0E4F5C; color: #F1F5F9; }
.bonify-widget__typing {
  display: inline-flex; align-items: center; gap: .4rem;
  font-size: .78rem; color: #67E8F9; background: #1B2740;
  padding: .45rem .75rem; border-radius: 14px 14px 14px 4px; width: fit-content;
}
.bonify-widget__pills {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  padding: .55rem .85rem;
  background: #0F172A;
  border-top: 1px solid rgba(148, 163, 184, .14);
}
.bonify-widget__pills[hidden] { display: none !important; }
.bonify-widget__pill {
  font-size: .75rem;
  font-weight: 600;
  padding: .4rem .7rem;
  border-radius: var(--r-pill);
  border: 1px solid rgba(6, 182, 212, .55);
  background: rgba(6, 182, 212, .1);
  color: #67E8F9;
  transition: background-color var(--t-fast), color var(--t-fast), transform var(--t-fast);
  text-align: left;
}
.bonify-widget__pill:hover { background: #06B6D4; color: #04121A; transform: translateY(-1px); }
.bonify-widget__wa-cta {
  display: inline-flex; align-items: center; justify-content: center; gap: .45rem;
  margin-top: .35rem; padding: .55rem .9rem; border-radius: var(--r-pill);
  background: #10B981; color: #04121A; font-weight: 700; font-size: .8rem; text-decoration: none;
  box-shadow: 0 8px 20px -6px rgba(16, 185, 129, .6);
}
.bonify-widget__wa-cta:hover { background: #34D399; color: #04121A; }

.bonify-widget__form {
  display: flex;
  gap: .45rem;
  padding: .65rem .8rem;
  background: #0F172A;
  border-top: 1px solid rgba(148, 163, 184, .16);
}
.bonify-widget__input {
  flex: 1;
  min-height: 40px;
  padding: .45rem .85rem;
  border-radius: var(--r-pill);
  border: 1px solid rgba(148, 163, 184, .28);
  background: #111A2E;
  color: #F1F5F9;
  font-size: .84rem;
}
.bonify-widget__input::placeholder { color: #8393AB; }
.bonify-widget__input:focus { outline: none; border-color: #06B6D4; }
.bonify-widget__send {
  width: 40px; height: 40px; border-radius: 50%; border: 0; flex: none;
  background: #06B6D4; color: #04121A; display: grid; place-items: center;
  transition: transform var(--t-fast), background-color var(--t-fast);
}
.bonify-widget__send:hover { background: #22D3EE; transform: scale(1.05); }
.bonify-widget__send .icon { width: 17px; height: 17px; }

.cookie-banner {
  position: fixed; left: var(--gutter); right: var(--gutter); bottom: max(1rem, env(safe-area-inset-bottom)); z-index: 130;
  max-width: 760px; margin-inline: auto; padding: 1.25rem; border-radius: var(--r-lg);
  background: var(--surface-solid); border: 1px solid var(--border-strong); box-shadow: var(--shadow-lg);
  display: grid; gap: 1rem; animation: fade-up .5s var(--ease) both;
}
.cookie-banner[hidden] { display: none; }
.cookie-banner__title { font-family: var(--font-head); font-weight: 700; margin-bottom: .3rem; }
.cookie-banner p { font-size: var(--fs-sm); color: var(--text-muted); margin: 0; }
.cookie-banner__prefs { display: grid; gap: .5rem; margin-top: 1rem; }
.cookie-banner__prefs[hidden] { display: none; }
.toggle { display: flex; align-items: center; gap: .75rem; min-height: 44px; font-size: var(--fs-sm); cursor: pointer; }
.toggle input { width: 20px; height: 20px; accent-color: var(--brand-cyan); flex: none; }
.toggle small { display: block; color: var(--text-soft); font-size: .78rem; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: flex-end; }
.cookie-banner__actions .btn { flex: 1 1 auto; }

/* Página legal */
.legal { padding: calc(var(--header-h) + 3rem) 0 var(--section); }
.legal .container { max-width: 780px; }
.legal h1 { font-size: var(--fs-h2); }
.legal h2 { font-size: var(--fs-h3); margin-top: 2.5rem; }
.legal p, .legal li { color: var(--text-muted); }
.legal ul { list-style: disc; padding-left: 1.25rem; display: grid; gap: .4rem; }
.legal .alert { padding: 1rem; border-radius: var(--r-md); border: 1px solid color-mix(in srgb, var(--brand-amber) 40%, transparent); background: color-mix(in srgb, var(--brand-amber) 8%, transparent); color: var(--text); }

/* ---------- 7. MOVIMENTO ---------- */
/* .reveal só esconde quando há JS (classe .js adicionada no <head>) */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.is-visible { opacity: 1; transform: none; }
/* Hero: animação CSS pura (não depende de JS, protege o LCP) */
.hero-in { animation: hero-in .9s var(--ease) both; animation-delay: var(--d, 0s); }
.hero-in--title { animation-name: hero-rise; }
@keyframes hero-in { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes hero-rise { from { transform: translateY(22px); } to { transform: none; } }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes float-left { 0%, 100% { transform: perspective(900px) rotateY(14deg) translateY(20px); } 50% { transform: perspective(900px) rotateY(14deg) translateY(10px); } }
@keyframes float-right { 0%, 100% { transform: perspective(900px) rotateY(-14deg) translateY(20px); } 50% { transform: perspective(900px) rotateY(-14deg) translateY(8px); } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(34,197,94,.55); } 70% { box-shadow: 0 0 0 8px rgba(34,197,94,0); } 100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); } }
@keyframes pulse-amber { 0% { box-shadow: 0 0 0 0 rgba(245,158,11,.6); } 70% { box-shadow: 0 0 0 8px rgba(245,158,11,0); } 100% { box-shadow: 0 0 0 0 rgba(245,158,11,0); } }
@keyframes pop { from { opacity: 0; transform: translateY(8px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes typing { 0%, 60%, 100% { transform: translateY(0); opacity: .4; } 30% { transform: translateY(-4px); opacity: 1; } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes dash { to { stroke-dashoffset: -24; } }
@keyframes slide-x { to { background-position: 24px 0; } }
@keyframes slide-in { from { opacity: 0; transform: translateX(-10px); } to { opacity: 1; transform: none; } }
@keyframes fade-up { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes bump { 50% { transform: scale(1.3); } }

/* Acessibilidade: movimento reduzido */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .marquee__track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
  .hero__ring { animation: none; }
}

/* ---------- RESPONSIVO (mobile-first) ---------- */
@media (min-width: 480px) {
  .whatsapp-fab__label { display: inline; }
}

@media (min-width: 640px) {
  .proof__stats { grid-template-columns: repeat(4, 1fr); }
  .sec-grid { grid-template-columns: repeat(2, 1fr); }
  .lgpd-strip ul { grid-template-columns: repeat(2, 1fr); }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento__card--xl, .bento__card--wide { grid-column: span 2; }
  .footer__grid { grid-template-columns: repeat(3, 1fr); }
  .cookie-banner { grid-template-columns: 1fr auto; align-items: end; }
  .cookie-banner__actions { flex-direction: column; }
}

@media (min-width: 768px) {
  .section { padding: 56px 0; }
  .hero__chips { display: block; }
  .header__cta { display: inline-flex; }
  .steps { grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
  .steps__line { left: 28px; right: 28px; top: 27px; bottom: auto; width: auto; height: 2px; }
  .steps__line span { transform-origin: left; transform: scaleX(var(--progress)); background: linear-gradient(90deg, var(--brand-cyan), var(--brand-amber)); }
  .step { padding-left: 0; padding-top: 80px; }
  .demo__layout { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
  .tab-panel { grid-template-columns: 1.1fr 1fr; align-items: center; }
  .plans { grid-template-columns: repeat(3, 1fr); }
  .plans--pro { grid-template-columns: repeat(2, 1fr); }
  .plan--featured { transform: scale(1.015); }
  .plan--featured:hover { transform: scale(1.015) translateY(-4px); }
  .carousel { margin-inline: 0; padding-inline: 0; scroll-padding-inline: 0; }
}

@media (min-width: 900px) {
  .problem__grid { grid-template-columns: 1.1fr 1fr; }
  .calc__grid { grid-template-columns: 1.1fr 1fr; }
  .contact__grid { grid-template-columns: 1fr 1fr; }
  .history-law__grid { grid-template-columns: 1fr 1.1fr; }
  .security__top { grid-template-columns: 1.2fr 1fr; }
  .faq__grid { grid-template-columns: 1fr 1.5fr; }
  .faq .section-head { position: sticky; top: calc(var(--header-h) + 2rem); }

  /* História sticky (compactada) */
  .story { grid-template-columns: 1fr 1fr; gap: var(--space-6); align-items: start; }
  .story__visual { display: block; position: sticky; top: calc(var(--header-h) + 1.5rem); height: min(500px, 66vh); }
  .story__steps { gap: 8vh; padding-block: 2vh 6vh; }
  .story__step { opacity: .35; }
  .story__step.is-active { opacity: 1; border-color: color-mix(in srgb, var(--brand-cyan) 45%, transparent); background: var(--surface-2); }
}

@media (min-width: 1024px) {
  .nav { display: block; }
  .menu-toggle { display: none; }
  .hero__stage { grid-template-columns: 1fr auto 1fr; align-items: center; gap: 2rem; }
  .hero__connectors {
    display: block;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
  }
  .hero__connectors path {
    fill: none;
    stroke: var(--brand-cyan);
    stroke-width: 2;
    stroke-dasharray: 7 7;
    animation: dash 1.1s linear infinite;
    opacity: .65;
  }
  .hero__connectors path.conn--amber {
    stroke: var(--brand-amber);
  }
  .hero__connectors circle {
    fill: var(--brand-cyan);
    filter: drop-shadow(0 0 6px var(--brand-cyan));
  }
  .hero__connectors circle.node--amber {
    fill: var(--brand-amber);
    filter: drop-shadow(0 0 6px var(--brand-amber));
  }
  .stage-card { display: block; }
  .stage-card--left { justify-self: end; width: 100%; max-width: 320px; animation: float-left 7s ease-in-out infinite; }
  .stage-card--right { justify-self: start; width: 100%; max-width: 300px; animation: float-right 7.5s ease-in-out infinite; }
  .bento { grid-template-columns: repeat(6, 1fr); }
  .bento__card { grid-column: span 2; }
  .bento__card--xl { grid-column: span 4; grid-template-columns: 1fr 1fr; }
  .bento__card--wide { grid-column: span 3; }
  .bento__card--xl + .bento__card { grid-column: span 2; }
  .sec-grid { grid-template-columns: repeat(3, 1fr); }
  .lgpd-strip { display: grid; grid-template-columns: 220px 1fr; gap: 2rem; align-items: center; }
  .lgpd-strip__title { margin: 0; }
  .lgpd-strip ul { grid-template-columns: repeat(4, 1fr); }
  .tabs { grid-template-columns: 280px 1fr; align-items: start; }
  .tabs__list { flex-direction: column; overflow: visible; padding: 0; }
  .tabs__list [role="tab"] { width: 100%; }
  .footer__grid { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; }
  .footer__brand { grid-column: auto; }
}

@media (min-width: 1600px) {
  :root { --container: 1320px; }
}

/* =========================================================================
   8. ANIMAÇÃO CINEMATOGRÁFICA SCROLLYTELLING (#jornada-luz) & BLOCOS TECH
   ========================================================================= */
.cinema-scroll {
  position: relative;
  height: 360vh;
  background: #040710;
  border-bottom: 1px solid var(--border);
}

.cinema-scroll__sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.cinema-scroll__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.cinema-hud {
  position: relative;
  z-index: 5;
  pointer-events: none;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: calc(var(--header-h) + 1.25rem) var(--gutter) 1.5rem;
  max-width: var(--container);
  width: 100%;
  margin-inline: auto;
}

.cinema-hud__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.cinema-badge {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .42rem .9rem;
  border-radius: var(--r-pill);
  background: rgba(9, 17, 36, .78);
  border: 1px solid rgba(6, 182, 212, .42);
  backdrop-filter: blur(12px);
  color: #E2E8F0;
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.cinema-badge__num {
  color: #22D3EE;
  font-family: "Courier New", monospace;
}

.cinema-skip {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .45rem .95rem;
  border-radius: var(--r-pill);
  background: rgba(15, 23, 42, .75);
  border: 1px solid rgba(148, 163, 184, .32);
  color: #CBD5E1;
  font-size: .78rem;
  font-weight: 600;
  text-decoration: none;
  backdrop-filter: blur(10px);
  transition: border-color var(--t-fast), color var(--t-fast), background-color var(--t-fast);
}

.cinema-skip:hover {
  border-color: var(--brand-cyan);
  color: #22D3EE;
  background: rgba(6, 182, 212, .12);
}

.cinema-hud__bottom {
  display: grid;
  gap: .85rem;
  align-items: end;
}

@media (min-width: 768px) {
  .cinema-hud__bottom {
    grid-template-columns: 1.3fr auto;
    align-items: end;
  }
}

.cinema-caption {
  background: rgba(9, 17, 36, .74);
  border: 1px solid rgba(148, 163, 184, .22);
  border-left: 3px solid var(--brand-cyan);
  border-radius: var(--r-md);
  padding: .9rem 1.15rem;
  backdrop-filter: blur(14px);
  max-width: 560px;
}

.cinema-caption h2 {
  margin: 0 0 .25rem;
  font-size: clamp(1.05rem, .95rem + .6vw, 1.35rem);
  color: #F8FAFC;
  line-height: 1.2;
}

.cinema-caption p {
  margin: 0;
  font-size: .86rem;
  color: #CBD5E1;
  line-height: 1.45;
}

.cinema-controls {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: .55rem;
  pointer-events: auto;
  padding-right: 84px;
}

.cinema-dots {
  display: flex;
  align-items: center;
  gap: .45rem;
  background: rgba(9, 17, 36, .75);
  border: 1px solid rgba(148, 163, 184, .25);
  padding: .4rem .65rem;
  border-radius: var(--r-pill);
  backdrop-filter: blur(10px);
}

.cinema-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border-radius: 50%;
  border: 1.5px solid rgba(148, 163, 184, .5);
  background: transparent;
  transition: all var(--t-fast);
}

.cinema-dot.is-done {
  background: rgba(6, 182, 212, .5);
  border-color: var(--brand-cyan);
}

.cinema-dot.is-active {
  width: 26px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--brand-cyan), var(--brand-amber));
  border-color: transparent;
}

.cinema-bar {
  width: 180px;
  height: 3px;
  border-radius: 99px;
  background: rgba(148, 163, 184, .22);
  overflow: hidden;
}

.cinema-bar span {
  display: block;
  width: 100%;
  height: 100%;
  transform-origin: 0 50%;
  transform: scaleX(0);
  background: linear-gradient(90deg, var(--brand-cyan), var(--brand-royal), var(--brand-amber));
}

.cinema-scroll-hint {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .78rem;
  font-weight: 600;
  color: #22D3EE;
  animation: cinemaBounce 1.8s ease-in-out infinite;
  transition: opacity .3s ease;
}

@keyframes cinemaBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(4px); }
}

@media (prefers-reduced-motion: reduce) {
  .cinema-scroll-hint { animation: none; }
}

/* Bloco Tech Spotlight: Ferramentas Gratuitas Bonify (Gerador de Catálogos + Vitrine) */
.tools-spotlight {
  padding: 28px 0 8px;
}

.tools-spotlight__grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

@media (min-width: 820px) {
  .tools-spotlight__grid {
    grid-template-columns: 1.25fr 1fr;
    align-items: stretch;
  }
}

.tool-banner {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.65rem;
  border-radius: var(--r-lg);
  background: linear-gradient(145deg, color-mix(in srgb, var(--brand-cyan) 12%, var(--surface-2)), var(--surface));
  border: 1px solid color-mix(in srgb, var(--brand-cyan) 38%, var(--border));
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transition: transform var(--t-fast), border-color var(--t-fast), box-shadow var(--t);
}

.tool-banner:hover {
  transform: translateY(-4px);
  border-color: var(--brand-cyan);
  box-shadow: 0 20px 45px -16px var(--glow-cyan);
}

.tool-banner--amber {
  background: linear-gradient(145deg, color-mix(in srgb, var(--brand-amber) 12%, var(--surface-2)), var(--surface));
  border-color: color-mix(in srgb, var(--brand-amber) 38%, var(--border));
}

.tool-banner--amber:hover {
  border-color: var(--brand-amber);
  box-shadow: 0 20px 45px -16px var(--glow-amber);
}

.tool-banner__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  flex-wrap: wrap;
}

.tool-banner h3 {
  margin: .35rem 0 .45rem;
  font-size: clamp(1.2rem, 1.05rem + .6vw, 1.5rem);
}

.tool-banner p {
  margin: 0;
  color: var(--text-muted);
  font-size: .92rem;
}

.tool-banner__actions {
  display: flex;
  align-items: center;
  gap: .75rem;
  flex-wrap: wrap;
  margin-top: .35rem;
}

/* Alinhamento simétrico dos blocos Bento, Planos e Cards de Segurança */
.bento, .sec-grid, .plans, .proof__stats {
  align-items: stretch;
}
.bento__card, .sec-card, .plan {
  height: 100%;
  display: flex;
  flex-direction: column;
}

/* =========================================================================
   9. WIDGET ANIMADO ESTILO INDICAÇÃO VIVA (TEASER + ROBÔ PISCANDO + PÍLULA)
   ========================================================================= */
.bonify-widget {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: .65rem;
}

/* Botão Lançador: Pílula com Robô Fluido e Sutil (para e olha para o chat ao clicar) */
.bonify-widget__launcher {
  width: auto;
  min-width: 60px;
  height: 60px;
  padding: 0 1.15rem 0 .82rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: .58rem;
  background: linear-gradient(135deg, #06B6D4 0%, #0284C7 55%, #0F172A 100%);
  border: 2px solid #67E8F9;
  color: #FFFFFF;
  box-shadow: 0 14px 32px -6px rgba(6, 182, 212, .58), 0 0 0 0 rgba(6, 182, 212, .42);
  animation: bwLauncherBreath 4.2s ease-in-out infinite;
}
.bonify-widget__launcher svg.bw-bot-svg {
  width: 34px;
  height: 34px;
  flex: none;
  overflow: visible;
}
.bw-bot-float {
  transform-origin: 18px 20px;
  transition: transform .35s cubic-bezier(.22, 1, .36, 1);
  animation: bwBotFloat 3.6s cubic-bezier(.45, 0, .55, 1) infinite;
}
.bw-bot-face {
  transform-origin: 18px 18px;
  transition: transform .35s cubic-bezier(.22, 1, .36, 1);
  animation: bwBotLook 5.2s ease-in-out infinite;
}
.bw-bot-eye {
  transform-origin: center;
  animation: bwEyeBlink 4.6s infinite;
}
.bw-bot-antenna {
  animation: pulse-amber 2.6s ease-in-out infinite;
}

/* Ao clicar: para todas as animações e, enquanto o chat está aberto, olha suavemente para o chat */
.bonify-widget.is-calm .bonify-widget__launcher,
.bonify-widget.is-calm .bw-bot-float,
.bonify-widget.is-calm .bw-bot-face,
.bonify-widget.is-calm .bw-bot-eye,
.bonify-widget.is-calm .bw-bot-antenna,
.bonify-widget.is-calm .bonify-widget__online {
  animation: none !important;
}
.bonify-widget.is-calm .bonify-widget__launcher {
  box-shadow: 0 10px 26px -6px rgba(15, 23, 42, .55);
  transform: none;
}
.bonify-widget.is-open .bw-bot-float {
  transform: translateY(-1.2px) rotate(-3deg);
}
.bonify-widget.is-open .bw-bot-face {
  transform: translate(-1.2px, -2px);
}

.bonify-widget__label {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.12;
  text-align: left;
}
.bonify-widget__label strong {
  font-family: var(--font-head);
  font-size: .86rem;
  font-weight: 700;
  color: #FFFFFF;
  letter-spacing: .01em;
}
.bonify-widget__label small {
  font-size: .68rem;
  font-weight: 600;
  color: #FDE68A;
}
.bonify-widget__badge {
  position: absolute;
  top: -6px;
  left: -4px;
  min-width: 22px;
  height: 22px;
  padding: 0 5px;
  border-radius: 999px;
  background: #F59E0B;
  color: #0F172A;
  font-family: var(--font-head);
  font-size: .72rem;
  font-weight: 800;
  display: grid;
  place-items: center;
  border: 2px solid #0F172A;
  box-shadow: 0 4px 10px rgba(245, 158, 11, .5);
}
.bonify-widget__badge[hidden] { display: none !important; }

@media (max-width: 520px) {
  .bonify-widget__launcher {
    width: 62px;
    padding: 0;
    justify-content: center;
  }
  .bonify-widget__label { display: none; }
}

@keyframes bwLauncherBreath {
  0%, 100% {
    box-shadow: 0 14px 32px -6px rgba(6, 182, 212, .58), 0 0 0 0 rgba(6, 182, 212, .42);
  }
  65% {
    box-shadow: 0 16px 34px -6px rgba(6, 182, 212, .68), 0 0 0 9px rgba(6, 182, 212, 0);
  }
}
@keyframes bwBotFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-2.4px) rotate(-1.5deg); }
}
@keyframes bwBotLook {
  0%, 42%, 100% { transform: translate(0, 0); }
  18% { transform: translate(-1.6px, -.4px); }
  68% { transform: translate(1.4px, -.4px); }
}
@keyframes bwEyeBlink {
  0%, 93%, 100% { transform: scaleY(1); }
  96% { transform: scaleY(.12); }
}

/* =========================================================================
   10. CENTRAL INTERATIVA DE DÚVIDAS & MANUAL PESQUISÁVEL (central-ajuda.html)
   ========================================================================= */
.kb-hero {
  position: relative;
  padding: calc(var(--header-h) + 3.25rem) 0 2.25rem;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.kb-search-box {
  max-width: 720px;
  margin: 1.5rem auto 1rem;
  position: relative;
}
.kb-search-input {
  width: 100%;
  min-height: 56px;
  padding: .85rem 3.2rem .85rem 3.1rem;
  border-radius: var(--r-pill);
  border: 1.5px solid color-mix(in srgb, var(--brand-cyan) 48%, var(--border));
  background: var(--surface-2);
  color: var(--text);
  font-size: 1rem;
  box-shadow: var(--shadow-md);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.kb-search-input:focus {
  outline: none;
  border-color: var(--brand-cyan);
  box-shadow: 0 0 0 4px rgba(6, 182, 212, .18);
}
.kb-search-icon {
  position: absolute;
  left: 1.15rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--brand-cyan);
  pointer-events: none;
}
.kb-search-clear {
  position: absolute;
  right: .85rem;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 0;
  background: var(--surface);
  color: var(--text-muted);
  cursor: pointer;
  display: grid;
  place-items: center;
}
.kb-search-clear[hidden] { display: none !important; }

.kb-quick-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .5rem;
  margin-top: .85rem;
}
.kb-quick-tag {
  font-size: .82rem;
  font-weight: 600;
  padding: .42rem .9rem;
  border-radius: var(--r-pill);
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--t-fast);
}
.kb-quick-tag:hover {
  border-color: var(--brand-cyan);
  color: var(--text);
}
.kb-quick-tag.is-active {
  background: var(--brand-cyan);
  border-color: var(--brand-cyan);
  color: var(--on-primary);
}

.kb-meta-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: 1.15rem;
  font-size: .86rem;
  color: var(--text-muted);
}
.kb-grid {
  display: grid;
  gap: 1.15rem;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .kb-grid { grid-template-columns: repeat(2, 1fr); }
}
.kb-card {
  padding: 1.35rem;
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: .85rem;
  transition: border-color var(--t-fast), transform var(--t-fast), box-shadow var(--t);
}
.kb-card:hover {
  border-color: color-mix(in srgb, var(--brand-cyan) 50%, var(--border));
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.kb-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  flex-wrap: wrap;
}
.kb-card__cat {
  font-size: .73rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--brand-cyan);
}
.kb-plan-badge {
  font-size: .72rem;
  font-weight: 700;
  padding: .24rem .62rem;
  border-radius: var(--r-pill);
}
.kb-plan-badge--pro {
  background: rgba(245, 158, 11, .16);
  border: 1px solid rgba(245, 158, 11, .48);
  color: #FBBF24;
}
[data-theme="light"] .kb-plan-badge--pro { color: #B45309; }
.kb-plan-badge--all {
  background: rgba(16, 185, 129, .15);
  border: 1px solid rgba(16, 185, 129, .42);
  color: #34D399;
}
[data-theme="light"] .kb-plan-badge--all { color: #047857; }
.kb-plan-badge--site {
  background: rgba(59, 130, 246, .16);
  border: 1px solid rgba(59, 130, 246, .45);
  color: #60A5FA;
}
[data-theme="light"] .kb-plan-badge--site { color: #1D4ED8; }

.kb-card h3 {
  margin: .35rem 0 .45rem;
  font-size: 1.12rem;
  line-height: 1.3;
}
.kb-card p {
  margin: 0;
  font-size: .9rem;
  color: var(--text-muted);
  line-height: 1.52;
}
.kb-card__details {
  border-top: 1px dashed var(--border);
  padding-top: .65rem;
}
.kb-card__details summary {
  cursor: pointer;
  font-size: .82rem;
  font-weight: 600;
  color: var(--accent);
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: .35rem;
}
.kb-card__details summary::-webkit-details-marker { display: none; }
.kb-card__details ul {
  margin: .6rem 0 0;
  padding-left: 1.1rem;
  list-style: disc;
  display: grid;
  gap: .32rem;
  font-size: .84rem;
  color: var(--text-muted);
}
.kb-empty {
  text-align: center;
  padding: 2.5rem 1rem;
  border-radius: var(--r-lg);
  border: 1px dashed var(--border);
  background: var(--surface);
}
.kb-bridge {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.5rem;
  padding: 1.35rem 1.5rem;
  border-radius: var(--r-lg);
  background: linear-gradient(135deg, color-mix(in srgb, var(--brand-cyan) 12%, var(--surface-2)), var(--surface));
  border: 1px solid color-mix(in srgb, var(--brand-cyan) 38%, var(--border));
}
