/* =========================================================
   TELEMEDICINA BRASIL — DESIGN SYSTEM COMPLETO
   SEM TREMIDA · SEM ANIMAÇÕES EM ELEMENTOS VISUAIS
   Apenas o menu mobile e o scroll suave do navegador usam transição.
   ========================================================= */

/* ---------- TOKENS (variáveis CSS) ---------- */
:root {
  --c-bg: #F4F7FB;
  --c-bg-alt: #EEF2F8;
  --c-surface: #FFFFFF;
  --c-surface-2: #F8FAFC;
  --c-text: #0A2540;
  --c-text-soft: #3B4A63;
  --c-text-mute: #6B7A90;
  --c-primary: #0A6EBD;
  --c-primary-700: #075A9C;
  --c-primary-soft: #E5F1FB;
  --c-accent: #00B894;
  --c-accent-2: #00D2A0;
  --c-warning: #F5A524;
  --c-danger: #E94B4B;
  --c-border: #DDE5EF;
  --c-dark: #0A2540;
  --c-dark-2: #112B4A;
  --c-on-dark: #E8EEF6;
  --c-on-dark-soft: #A8B6CB;

  --ff-base: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --ff-display: 'Sora', 'Inter', system-ui, sans-serif;

  --fs-xs: clamp(0.75rem, 0.72rem + 0.15vw, 0.85rem);
  --fs-sm: clamp(0.85rem, 0.82rem + 0.2vw, 0.95rem);
  --fs-md: clamp(0.95rem, 0.92rem + 0.2vw, 1.05rem);
  --fs-lg: clamp(1.1rem, 1rem + 0.6vw, 1.3rem);
  --fs-xl: clamp(1.3rem, 1.1rem + 1vw, 1.6rem);
  --fs-2xl: clamp(1.6rem, 1.3rem + 1.6vw, 2.2rem);
  --fs-3xl: clamp(2rem, 1.5rem + 2.4vw, 3rem);
  --fs-4xl: clamp(2.4rem, 1.7rem + 3.4vw, 3.6rem);

  --s-1: 0.25rem; --s-2: 0.5rem; --s-3: 0.75rem; --s-4: 1rem;
  --s-5: 1.5rem; --s-6: 2rem; --s-7: 3rem; --s-8: 4rem; --s-9: 6rem;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(10, 37, 64, 0.06);
  --shadow-md: 0 8px 24px rgba(10, 37, 64, 0.08);
  --shadow-lg: 0 18px 48px rgba(10, 37, 64, 0.12);
  --shadow-glow: 0 10px 30px rgba(10, 110, 189, 0.25);

  --container: 1200px;
  --header-h: 76px;
}

/* ---------- RESET ---------- */
* { box-sizing: border-box; }
*::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--ff-base);
  font-size: var(--fs-md);
  line-height: 1.6;
  color: var(--c-text);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }
a { color: var(--c-primary); text-decoration: none; }
a:hover { color: var(--c-primary-700); }
h1, h2, h3, h4, h5 {
  font-family: var(--ff-display);
  color: var(--c-text);
  line-height: 1.2;
  margin: 0 0 var(--s-3);
  font-weight: 700;
}
p { margin: 0 0 var(--s-3); }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--c-primary); outline-offset: 3px; border-radius: 4px; }

/* ---------- KILL SWITCH GLOBAL DE TREMIDA ----------
   Garante que nada no site se mexe (a não ser o menu mobile e o scroll do navegador).
   Cobre qualquer plugin, qualquer adição futura via admin. */
*,
*::before,
*::after {
  animation: none !important;
  animation-duration: 0s !important;
  animation-delay: 0s !important;
  transition-property: none !important;
  transition-duration: 0s !important;
  transition-delay: 0s !important;
}
/* Exceção: menu mobile e botão hamburger precisam abrir/fechar */
.site-nav, .menu-toggle span { transition-property: transform, opacity !important; transition-duration: 200ms !important; }
.site-header { transition-property: background-color, box-shadow, border-color !important; transition-duration: 200ms !important; }
.back-top { transition-property: opacity !important; transition-duration: 200ms !important; }

/* ---------- LAYOUT ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--s-5); }
.container-narrow { max-width: 880px; }
.section { padding: clamp(3rem, 2rem + 4vw, 5.5rem) 0; position: relative; }
.section-alt { background: var(--c-bg-alt); }
.section-dark {
  background: linear-gradient(180deg, var(--c-dark) 0%, var(--c-dark-2) 100%);
  color: var(--c-on-dark);
}
.section-dark .section-title, .section-dark h3 { color: #fff; }
.section-dark .section-sub, .section-dark .chart-desc { color: var(--c-on-dark-soft); }

.section-head { text-align: center; max-width: 720px; margin: 0 auto var(--s-7); }
.section-title { font-size: var(--fs-3xl); margin-bottom: var(--s-3); }
.section-sub { color: var(--c-text-mute); font-size: var(--fs-lg); }

.eyebrow {
  display: inline-flex; align-items: center; gap: var(--s-2);
  padding: 6px 14px; border-radius: var(--radius-pill);
  background: rgba(0, 184, 148, 0.12); color: var(--c-accent);
  font-size: var(--fs-xs); font-weight: 600; letter-spacing: 0.5px;
  text-transform: uppercase; margin-bottom: var(--s-3);
}
.eyebrow i { font-size: 0.85em; }
.eyebrow-soft { background: var(--c-primary-soft); color: var(--c-primary); }
.section-dark .eyebrow { background: rgba(255,255,255,0.12); color: #fff; }

.lead { font-size: var(--fs-lg); color: var(--c-text-soft); margin-bottom: var(--s-4); }
.grad-text {
  background: linear-gradient(90deg, var(--c-primary), var(--c-accent));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* ---------- HEADER ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--header-h);
  background: #ffffff;
  border-bottom: 1px solid var(--c-border);
  box-shadow: var(--shadow-sm);
}
.site-header.scrolled {
  background: #ffffff;
  border-bottom-color: var(--c-border);
  box-shadow: var(--shadow-md);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 100%; gap: var(--s-5); }
.brand { display: inline-flex; align-items: center; gap: var(--s-3); color: var(--c-text); }
.brand-logo { width: 40px; height: 40px; }
.brand-text { display: inline-flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-family: var(--ff-display); font-weight: 800; font-size: 1.05rem; }
.brand-text em { font-style: normal; color: var(--c-text-mute); font-size: 0.78rem; letter-spacing: 1px; text-transform: uppercase; }


/* ========================== WEB MENU (desktop) ========================== */
.nav-web {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 4px 0;
  flex: 1;
  min-width: 0;
}
.nav-web a {
  flex: 0 1 20%;          /* 5 por linha */
  min-width: 0;
  text-align: center;
  color: var(--c-text-soft);
  font-weight: 500;
  font-size: 14px;
  padding: 6px 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.nav-web a:hover { color: var(--c-primary); }

/* ========================== MOBILE MENU (drawer) ========================== */
/* ========================== MOBILE MENU (drawer) ========================== */
.nav-mobile {
  position: fixed;
  top: var(--header-h);
  left: 0; right: 0;
  background: #ffffff;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  padding: var(--s-3) var(--s-4);
  border-top: 1px solid var(--c-border);
  box-shadow: var(--shadow-md);
  max-height: calc(100vh - var(--header-h));
  overflow-y: auto;

  /* Estado escondido por padrão (sempre que NÃO tiver .open) */
  transform: translateY(-110%);
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: transform .3s ease, opacity .25s ease, visibility 0s linear .3s;
}

.nav-mobile.open {
  display: flex;
  flex-direction: column;
  transform: translateY(0);
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transition: transform .3s ease, opacity .25s ease, visibility 0s linear 0s;
}

/* =============== Web menu FIM === */

.header-actions { display: flex; align-items: center; gap: var(--s-3); }
.menu-toggle {
  display: none; width: 44px; height: 44px; border: 1px solid var(--c-border);
  border-radius: var(--radius-md); background: var(--c-surface);
  flex-direction: column; justify-content: center; align-items: center; gap: 4px;
  padding: 0;
}
.menu-toggle span { display: block; width: 22px; height: 2px; background: var(--c-text); border-radius: 2px; }
.menu-toggle.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- HERO (imagem totalmente estática) ---------- */
.hero {
  position: relative;
  padding: calc(var(--header-h) + clamp(2.5rem, 1rem + 6vw, 6rem)) 0 clamp(3rem, 2rem + 4vw, 6rem);
  overflow: hidden;
  background: radial-gradient(ellipse at 80% 0%, var(--c-primary-soft) 0%, var(--c-bg) 60%);
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-blob { position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.6; }
.hero-blob-1 { width: 480px; height: 480px; background: rgba(10, 110, 189, 0.18); top: -120px; right: -120px; }
.hero-blob-2 { width: 380px; height: 380px; background: rgba(0, 184, 148, 0.16); bottom: -100px; left: -80px; }
.hero-inner { position: relative; display: grid; grid-template-columns: 1.1fr 1fr; gap: var(--s-7); align-items: center; }
.hero-content { max-width: 600px; }
.hero-title { font-size: var(--fs-4xl); margin-bottom: var(--s-4); }
.hero-sub { font-size: var(--fs-lg); color: var(--c-text-soft); margin-bottom: var(--s-5); }
.hero-cta { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-bottom: var(--s-6); }
.hero-badges { display: flex; flex-wrap: wrap; gap: var(--s-4); font-size: var(--fs-sm); color: var(--c-text-mute); }
.hero-badges li { display: inline-flex; align-items: center; gap: var(--s-2); }
.hero-badges i { color: var(--c-accent); }

/* Visual do hero — IMAGEM FIXA, sem transform, sem filter, sem animation */
.hero-visual { position: relative; min-height: 460px; }
.hero-illustration-wrap {
  position: relative;
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, var(--c-primary) 0%, var(--c-accent) 100%);
  padding: 18px;
  box-shadow: 0 24px 48px rgba(10, 37, 64, 0.18);
}
.hero-illustration {
  width: 100%;
  display: block;
  border-radius: var(--radius-lg);
  background: #fff;
}
.hero-card {
  position: absolute; display: flex; align-items: center; gap: var(--s-3);
  padding: var(--s-3) var(--s-4); background: var(--c-surface);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-md);
  font-size: var(--fs-sm);
}
.hero-card strong { display: block; font-family: var(--ff-display); font-size: 1.1rem; color: var(--c-text); }
.hero-card span { color: var(--c-text-mute); font-size: var(--fs-xs); }
.hero-card-icon { width: 40px; height: 40px; border-radius: var(--radius-md); background: var(--c-primary-soft); color: var(--c-primary); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; }
.hero-card-1 { top: 30px; left: -10px; }
.hero-card-2 { bottom: 30px; right: -10px; }

/* ---------- KPIs RÁPIDOS ---------- */
.kpis { padding: var(--s-6) 0; background: var(--c-surface); border-top: 1px solid var(--c-border); border-bottom: 1px solid var(--c-border); }
.kpis-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-5); text-align: center; }
.kpi strong { display: block; font-family: var(--ff-display); font-size: var(--fs-3xl); color: var(--c-primary); line-height: 1; margin-bottom: var(--s-2); }
.kpi span { color: var(--c-text-mute); font-size: var(--fs-sm); }

/* ---------- ABOUT / TWO COL ---------- */
.two-col { display: grid; grid-template-columns: 1.1fr 1fr; gap: var(--s-7); align-items: center; }
.feature-list { display: grid; gap: var(--s-4); margin-top: var(--s-5); }
.feature-item { display: flex; gap: var(--s-3); align-items: flex-start; }
.feature-item i { color: var(--c-accent); font-size: 1.2rem; margin-top: 4px; flex-shrink: 0; }
.feature-item strong { display: block; margin-bottom: 2px; }
.feature-item span { color: var(--c-text-mute); font-size: var(--fs-sm); }
.aside-card { background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--radius-xl); padding: var(--s-6); box-shadow: var(--shadow-md); }
.aside-card h3 { font-size: var(--fs-xl); margin-bottom: var(--s-4); }
.aside-list { display: grid; gap: var(--s-3); }
.aside-list li { display: flex; gap: var(--s-3); align-items: center; color: var(--c-text-soft); font-size: var(--fs-sm); }
.aside-list i { color: var(--c-primary); width: 20px; }

/* ---------- STEPS ---------- */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--s-4); counter-reset: step; }
.step { background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--radius-lg); padding: var(--s-5); position: relative; }
.step:hover { box-shadow: var(--shadow-md); border-color: var(--c-primary-soft); }
.step-num { font-family: var(--ff-display); font-size: 2.5rem; font-weight: 800; color: var(--c-primary); opacity: 0.3; line-height: 1; margin-bottom: var(--s-3); }
.step h3 { font-size: var(--fs-lg); margin-bottom: var(--s-2); }
.step p { color: var(--c-text-mute); font-size: var(--fs-sm); margin: 0; }

/* ---------- CARDS FEATURE ---------- */
.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-5); }
.card { background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--radius-lg); padding: var(--s-6); }
.card:hover { box-shadow: var(--shadow-md); border-color: var(--c-primary-soft); }
.card-icon { width: 56px; height: 56px; border-radius: var(--radius-md); background: var(--c-primary-soft); color: var(--c-primary); display: flex; align-items: center; justify-content: center; font-size: 1.4rem; margin-bottom: var(--s-4); }
.card:hover .card-icon { background: var(--c-primary); color: #fff; }
.card h3 { font-size: var(--fs-xl); margin-bottom: var(--s-2); }
.card p { color: var(--c-text-mute); margin: 0; font-size: var(--fs-sm); }

/* ---------- MODALIDADES ---------- */
.modal-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-4); }
.modal { background: var(--c-surface); border-radius: var(--radius-lg); padding: var(--s-5); border: 1px solid var(--c-border); position: relative; }
.modal:hover { box-shadow: var(--shadow-sm); border-color: var(--c-primary-soft); }
.modal-tag { display: inline-block; font-size: var(--fs-xs); font-weight: 600; padding: 4px 10px; border-radius: var(--radius-pill); background: var(--c-accent); color: #fff; margin-bottom: var(--s-3); text-transform: uppercase; letter-spacing: 0.5px; }
.modal h3 { font-size: var(--fs-lg); margin-bottom: var(--s-2); display: flex; align-items: center; gap: var(--s-2); }
.modal h3 i { color: var(--c-primary); }
.modal p { color: var(--c-text-mute); margin: 0; font-size: var(--fs-sm); }

/* ---------- PLANOS ---------- */
.plans-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-5); align-items: stretch; }
.plan { background: var(--c-surface); border: 2px solid var(--c-border); border-radius: var(--radius-xl); padding: var(--s-6); display: flex; flex-direction: column; position: relative; }
.plan h3 { font-size: var(--fs-xl); margin-bottom: var(--s-2); }
.plan-price { font-family: var(--ff-display); font-size: 2.2rem; font-weight: 800; color: var(--c-primary); margin-bottom: var(--s-4); }
.plan-price small { font-size: 0.9rem; color: var(--c-text-mute); font-weight: 500; }
.plan ul { display: grid; gap: var(--s-3); margin-bottom: var(--s-5); flex-grow: 1; }
.plan li { display: flex; align-items: center; gap: var(--s-3); color: var(--c-text-soft); font-size: var(--fs-sm); }
.plan li i { color: var(--c-accent); }
/* ========================================
   PLANO DESTACADO (sombra azul de destaque)
   ======================================== */
.plan-featured {
  position: relative;
  border: 1px solid rgba(0, 191, 255, 0.35);
  box-shadow:
    0 0 0 1px rgba(0, 191, 255, 0.10),
    0 10px 30px -8px rgba(0, 119, 255, 0.45),
    0 20px 50px -15px rgba(0, 191, 255, 0.55),
    0 30px 80px -25px rgba(10, 37, 64, 0.35);
  transform: translateY(-6px);
  transition: transform .3s ease, box-shadow .3s ease;
  background: linear-gradient(180deg, #ffffff 0%, #D3D3D3 100%);
}

.plan-featured:hover {
  transform: translateY(-10px);
  box-shadow:
    0 0 0 1px rgba(0, 191, 255, 0.18),
    0 14px 38px -8px rgba(0, 119, 255, 0.55),
    0 26px 60px -15px rgba(0, 191, 255, 0.65),
    0 36px 90px -25px rgba(10, 37, 64, 0.40);
}

.plan-featured .plan-badge {
  box-shadow: 0 6px 16px -4px rgba(0, 119, 255, 0.55);
}

/* No mobile, mantém a sombra mas sem o "elevar" o card */
@media (max-width: 768px) {
  .plan-featured {
    transform: none;
  }
  .plan-featured:hover {
    transform: none;
  }
}
/* ========================================
   PLANO INDIVIDUAL (fundo azul-claro + sombra verde escura)
   ======================================== */
.plan-individual {
  position: relative;
  background: linear-gradient(180deg, #ffffff 0%, #D3D3D3 100%);
  border: 1px solid rgba(0, 100, 0, 0.40);
  box-shadow:
    0 0 0 1px rgba(0, 100, 0, 0.12),
    0 10px 30px -8px rgba(0, 100, 0, 0.50),
    0 20px 50px -15px rgba(0, 100, 0, 0.60),
    0 30px 80px -25px rgba(0, 60, 0, 0.40);
  transition: transform .3s ease, box-shadow .3s ease;
}

.plan-individual:hover {
  transform: translateY(-4px);
  box-shadow:
    0 0 0 1px rgba(0, 100, 0, 0.22),
    0 14px 38px -8px rgba(0, 100, 0, 0.62),
    0 26px 60px -15px rgba(0, 100, 0, 0.72),
    0 36px 90px -25px rgba(0, 60, 0, 0.50);
}

@media (max-width: 768px) {
  .plan-individual:hover {
    transform: none;
  }
}
/* ========================================
   PLANO CANNABIS MEDICINAL (fundo azul-claro + sombra verde clara)
   ======================================== */
.plan-cannabis {
  position: relative;
  background: linear-gradient(180deg, #ffffff 0%, #D3D3D3 100%);
  border: 1px solid rgba(34, 197, 94, 0.35);
  box-shadow:
    0 0 0 1px rgba(34, 197, 94, 0.10),
    0 10px 30px -8px rgba(34, 197, 94, 0.40),
    0 20px 50px -15px rgba(34, 197, 94, 0.50),
    0 30px 80px -25px rgba(22, 163, 74, 0.30);
  transition: transform .3s ease, box-shadow .3s ease;
}

.plan-cannabis:hover {
  transform: translateY(-4px);
  box-shadow:
    0 0 0 1px rgba(34, 197, 94, 0.18),
    0 14px 38px -8px rgba(34, 197, 94, 0.50),
    0 26px 60px -15px rgba(34, 197, 94, 0.60),
    0 36px 90px -25px rgba(22, 163, 74, 0.38);
}

@media (max-width: 768px) {
  .plan-cannabis:hover {
    transform: none;
  }
}
.plan-badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--c-accent); color: #fff; font-size: var(--fs-xs); font-weight: 700; padding: 6px 14px; border-radius: var(--radius-pill); text-transform: uppercase; letter-spacing: 0.5px; white-space: nowrap; }

/* ---------- STATS DARK + CHARTS ---------- */
.stats-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-5); margin-bottom: var(--s-7); }
.stat-kpi { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.1); border-radius: var(--radius-lg); padding: var(--s-5); text-align: center; }
.stat-kpi:hover { background: rgba(255,255,255,0.08); }
.stat-kpi strong { display: block; font-family: var(--ff-display); font-size: var(--fs-3xl); color: var(--c-accent-2); line-height: 1; margin-bottom: var(--s-2); }
.stat-kpi span { color: var(--c-on-dark-soft); font-size: var(--fs-sm); }

.charts-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s-5); }
.chart-card { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08); border-radius: var(--radius-lg); padding: var(--s-5); }
.chart-card h3 { color: #fff; font-size: var(--fs-lg); margin-bottom: var(--s-1); }
.chart-desc { color: var(--c-on-dark-soft); font-size: var(--fs-sm); margin-bottom: var(--s-4); }
.chart-wrap { position: relative; height: 280px; }
.sources { margin-top: var(--s-6); padding: var(--s-4); background: rgba(255,255,255,0.04); border-radius: var(--radius-md); font-size: var(--fs-sm); color: var(--c-on-dark-soft); }
.sources strong { color: #fff; }

/* ---------- VÍDEO ---------- */
.video-frame {
  position: relative; max-width: 980px; margin: 0 auto; aspect-ratio: 16/9;
  background: var(--c-dark); border-radius: var(--radius-xl); overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.video-poster { position: absolute; inset: 0; cursor: pointer; }
.video-poster img { width: 100%; height: 100%; object-fit: cover; }
.video-play { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 88px; height: 88px; border-radius: 50%; border: none; background: rgba(10, 110, 189, 0.9); color: #fff; font-size: 1.8rem; cursor: pointer; display: flex; align-items: center; justify-content: center; padding-left: 6px; }
.video-play:hover { background: var(--c-primary); box-shadow: var(--shadow-glow); }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: var(--s-3); }
.faq-item { background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--radius-md); overflow: hidden; }
.faq-item[open] { border-color: var(--c-primary-soft); box-shadow: var(--shadow-sm); }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); padding: var(--s-4) var(--s-5); font-weight: 600; color: var(--c-text); cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary i { color: var(--c-primary); }
.faq-item[open] summary i { transform: rotate(180deg); transition: transform 200ms; }
.faq-body { padding: 0 var(--s-5) var(--s-5); color: var(--c-text-soft); font-size: var(--fs-sm); }

/* ---------- CTA ---------- */
.cta { background: linear-gradient(135deg, var(--c-primary) 0%, var(--c-accent) 100%); color: #fff; padding: var(--s-8) 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: var(--s-5); }
.cta h2 { color: #fff; font-size: var(--fs-2xl); margin-bottom: var(--s-2); }
.cta p { color: rgba(255,255,255,0.9); margin: 0; }
.cta-actions { display: flex; gap: var(--s-3); flex-wrap: wrap; }

/* ---------- FOOTER ---------- */
.site-footer { background: var(--c-dark); color: var(--c-on-dark); padding: var(--s-7) 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: var(--s-6); padding-bottom: var(--s-6); }
.brand-footer { color: #fff; margin-bottom: var(--s-3); }
.brand-footer strong { color: #fff; }
.site-footer h4 { color: #fff; font-size: var(--fs-md); margin-bottom: var(--s-3); }
.site-footer ul { display: grid; gap: var(--s-2); }
.site-footer li { font-size: var(--fs-sm); color: var(--c-on-dark-soft); }
.site-footer a { color: var(--c-on-dark-soft); }
.site-footer a:hover { color: #fff; }
.site-footer p { color: var(--c-on-dark-soft); font-size: var(--fs-sm); margin-top: var(--s-3); }
.social { display: flex; gap: var(--s-3); margin-top: var(--s-3); }
.social a { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,0.08); display: flex; align-items: center; justify-content: center; }
.social a:hover { background: var(--c-accent); color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding: var(--s-4) 0; font-size: var(--fs-xs); color: var(--c-on-dark-soft); }
.footer-bottom .container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: var(--s-3); }

/* ---------- FAB WHATS + BACK TOP (estáticos, sem pulse) ---------- */
.fab-whats {
  position: fixed; right: 24px; bottom: 24px; width: 60px; height: 60px; border-radius: 50%;
  background: #25D366; color: #fff; display: flex; align-items: center; justify-content: center;
  font-size: 1.7rem; box-shadow: 0 12px 30px rgba(37, 211, 102, 0.45); z-index: 90;
}
.fab-whats:hover { color: #fff; box-shadow: 0 16px 36px rgba(37, 211, 102, 0.55); }

.back-top { position: fixed; right: 24px; bottom: 96px; width: 44px; height: 44px; border-radius: 50%; background: var(--c-primary); color: #fff; border: none; display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-md); z-index: 90; opacity: 0; pointer-events: none; }
.back-top.show { opacity: 1; pointer-events: auto; }
.back-top:hover { background: var(--c-primary-700); }

/* ---------- REVEAL (estático — sem transform, sem opacity) ---------- */
.reveal, .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- RESPONSIVO ---------- */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: var(--s-6); }
  .hero-visual { order: -1; min-height: 380px; }
  .two-col { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .cards-grid, .modal-grid, .plans-grid, .charts-grid { grid-template-columns: 1fr 1fr; }
  .kpis-grid, .stats-kpis { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  /* Header cresce para 2 linhas e fica sólido (sem halo branco) */
  :root { --header-h: 110px; }
  .site-header {
    background: #ffffff;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  /* === LAYOUT DO HEADER EM 2 LINHAS === */
  .header-inner {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    gap: 6px;
    height: 100%;
    padding: 8px 16px;          /* ESSENCIAL: dá respiro nas laterais */
    box-sizing: border-box;     /* impede que o padding estoure a largura */
  }
  .brand { align-self: flex-start; }

  /* === HAMBÚRGUER ALINHADO À DIREITA, MAS DENTRO DA TELA === */
  .header-actions {
    align-self: flex-end;
    justify-content: flex-end;
    gap: var(--s-3);
    /* SEM width: 100% — o bloco tem só a largura do hambúrguer */
  }
  .header-actions .btn-ghost { display: none; }
  .menu-toggle { display: inline-flex; }

  /* === VISIBILIDADE DAS NAVS — SÓ NO MOBILE === */
  .nav-web { display: none; }                 /* some a nav-web (5+4) no celular */
  .nav-mobile:not(.open) { display: none; }   /* drawer escondido por padrão */
  .nav-mobile.open { display: flex; }         /* drawer visível só quando o JS abre */

  /* === DRAWER DO MENU MOBILE === */
  .nav-mobile {
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    background: #ffffff;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: var(--s-3) var(--s-4);
    border-top: 1px solid var(--c-border);
    box-shadow: var(--shadow-md);
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
    transform: translateY(-110%);
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transition: transform .3s ease, opacity .25s ease, visibility 0s linear .3s;
  }
  .nav-mobile.open {
    transform: translateY(0);
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transition: transform .3s ease, opacity .25s ease, visibility 0s linear 0s;
  }
  .nav-mobile a {
    flex: none;
    padding: var(--s-3) var(--s-2);
    border-bottom: 1px solid var(--c-border);
    text-align: left;
    font-size: 15px;
  }
  .nav-mobile a:last-child { border-bottom: 0; }

  /* === DESKTOP: drawer mobile nunca aparece === */
  /* (não precisa mais de @media min-width separado —
     as regras acima só rodam em <= 768px) */

  /* Demais ajustes mobile que você já tinha */
  .hero-card-1 { left: 0; }
  .hero-card-2 { right: 0; }
  .steps, .cards-grid, .modal-grid, .plans-grid, .charts-grid { grid-template-columns: 1fr; }
  .kpis-grid, .stats-kpis { grid-template-columns: 1fr 1fr; gap: var(--s-4); }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom .container { flex-direction: column; text-align: center; }
  .cta-inner { flex-direction: column; text-align: center; }
  
  
}  

@media (min-width: 769px) {
  .nav-mobile { display: none !important; }
}

@media (max-width: 480px) {
  .kpis-grid, .stats-kpis { grid-template-columns: 1fr; }
  .hero-cta, .cta-actions { flex-direction: column; align-items: stretch; }
  .hero-cta .btn, .cta-actions .btn { width: 100%; }
  .video-play { width: 64px; height: 64px; font-size: 1.3rem; }
}
.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
  gap: 4px 0;
}

.site-nav a {
  flex: 0 1 20%;          /* 0 grow, 1 shrink, 20% base */
  min-width: 0;            /* libera o encolhimento */
  text-align: center;
  font-size: 14px;
  padding: 6px 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
