/* ==========================================================================
   SOMFÁCIL - DESIGN SYSTEM & STYLESHEET
   Clean/Light Mode por Padrão & Dark Mode Tecnológico com Suporte a Switch
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

/* ==========================================================================
   DESIGN TOKENS & VARIÁVEIS CSS (MODO CLARO / CLEAN DEFAULT)
   ========================================================================== */
:root,
[data-theme="light"] {
  --color-scheme: light;

  /* Cores de Fundo (Clean & Harmonioso) */
  --bg-body: #f8fafc;
  --bg-body-gradient: 
    radial-gradient(circle at 12% 8%, rgba(37, 99, 235, 0.06) 0px, transparent 40%),
    radial-gradient(circle at 88% 22%, rgba(2, 132, 199, 0.05) 0px, transparent 38%),
    radial-gradient(circle at 50% 80%, rgba(16, 185, 129, 0.04) 0px, transparent 45%),
    #f8fafc;
  --bg-header: rgba(255, 255, 255, 0.88);
  --bg-header-scrolled: rgba(255, 255, 255, 0.96);
  --bg-card: #ffffff;
  --bg-card-hover: #ffffff;
  --bg-card-subtle: #f1f5f9;
  --bg-pill: rgba(255, 255, 255, 0.95);
  --bg-section-alt: #f1f5f9;
  --bg-section-contrast: #ffffff;
  --bg-footer: #f1f5f9;

  /* Bordas & Divisores */
  --border-subtle: #e2e8f0;
  --border-card: #e2e8f0;
  --border-card-hover: #cbd5e1;
  --border-header: rgba(226, 232, 240, 0.85);
  --border-glow: rgba(37, 99, 235, 0.22);

  /* Tipografia & Contrastes */
  --text-main: #334155;
  --text-heading: #0f172a;
  --text-brand: #0f172a;
  --text-muted: #64748b;
  --text-dim: #94a3b8;
  --text-subtitle: #1d4ed8;

  /* Acentos Cromáticos */
  --primary: #2563eb;
  --primary-light: #1d4ed8;
  --primary-bg-subtle: #eff6ff;
  --cyan-glow: #0284c7;
  --emerald: #10b981;
  --emerald-glow: #059669;
  --amber: #d97706;
  --whatsapp: #25d366;
  --whatsapp-hover: #1ebd56;

  /* Gradientes */
  --grad-primary: linear-gradient(135deg, #2563eb 0%, #0284c7 100%);
  --grad-emerald: linear-gradient(135deg, #059669 0%, #10b981 100%);
  --grad-text: linear-gradient(135deg, #0f172a 35%, #1d4ed8 100%);
  --grad-card: radial-gradient(circle at 0% 0%, rgba(37, 99, 235, 0.05) 0%, transparent 65%);

  /* Efeitos, Raios & Sombras */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-full: 9999px;
  --shadow-card: 0 8px 24px -4px rgba(15, 23, 42, 0.06), 0 2px 6px -1px rgba(15, 23, 42, 0.04);
  --shadow-card-hover: 0 16px 32px -8px rgba(37, 99, 235, 0.12), 0 4px 12px -2px rgba(15, 23, 42, 0.06);
  --shadow-header: 0 8px 25px -8px rgba(15, 23, 42, 0.08);
  --shadow-glow: 0 0 35px rgba(37, 99, 235, 0.12);
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);

  /* Comparativo Prático (Modo Claro) */
  --comp-wrapper-bg: #ffffff;
  --comp-wrapper-border: #e2e8f0;
  --comp-wrapper-shadow: 0 20px 50px rgba(15, 23, 42, 0.08);
  --comp-label: #1e40af;
  --comp-somfacil-head-bg: #ecfdf5;
  --comp-somfacil-head-border: #a7f3d0;
  --comp-somfacil-head-text: #047857;
  --comp-somfacil-bg: #f0fdf4;
  --comp-somfacil-border: #bbf7d0;
  --comp-somfacil-text: #15803d;
  --comp-somfacil-mark: #10b981;
  --comp-trad-head-bg: #fef2f2;
  --comp-trad-head-border: #fecaca;
  --comp-trad-head-text: #b91c1c;
  --comp-trad-bg: #fff1f2;
  --comp-trad-border: #fecdd3;
  --comp-trad-text: #be123c;
  --comp-trad-mark: #ef4444;

  /* Switch Toggle Styles (Modo Claro) */
  --switch-track-bg: #e2e8f0;
  --switch-track-border: #cbd5e1;
  --switch-thumb-bg: #ffffff;
  --switch-thumb-border: #cbd5e1;
  --switch-thumb-shadow: 0 2px 6px rgba(15, 23, 42, 0.2);
  --switch-icon-sun: #d97706;
  --switch-icon-moon: #94a3b8;
  --switch-text: #475569;
}

/* ==========================================================================
   DESIGN TOKENS (MODO ESCURO / DARK MODE)
   ========================================================================== */
[data-theme="dark"] {
  --color-scheme: dark;

  /* Cores de Fundo (Dark Tecnológico) */
  --bg-body: #080c14;
  --bg-body-gradient: 
    radial-gradient(circle at 15% 10%, rgba(37, 99, 235, 0.18) 0px, transparent 45%),
    radial-gradient(circle at 85% 30%, rgba(0, 210, 255, 0.12) 0px, transparent 40%),
    radial-gradient(circle at 50% 85%, rgba(16, 185, 129, 0.08) 0px, transparent 50%),
    #080c14;
  --bg-header: rgba(8, 12, 20, 0.78);
  --bg-header-scrolled: rgba(8, 12, 20, 0.94);
  --bg-card: rgba(16, 24, 40, 0.75);
  --bg-card-hover: rgba(22, 34, 56, 0.88);
  --bg-card-subtle: rgba(15, 23, 42, 0.65);
  --bg-pill: rgba(15, 23, 42, 0.88);
  --bg-section-alt: rgba(11, 17, 30, 0.85);
  --bg-section-contrast: rgba(13, 20, 36, 0.9);
  --bg-footer: rgba(6, 9, 15, 0.96);

  /* Bordas & Divisores */
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-card: rgba(255, 255, 255, 0.08);
  --border-card-hover: rgba(59, 130, 246, 0.4);
  --border-header: rgba(255, 255, 255, 0.06);
  --border-glow: rgba(59, 130, 246, 0.35);

  /* Tipografia & Contrastes */
  --text-main: #f8fafc;
  --text-heading: #ffffff;
  --text-brand: #ffffff;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --text-subtitle: #00d2ff;

  /* Acentos Cromáticos */
  --primary: #2563eb;
  --primary-light: #60a5fa;
  --primary-bg-subtle: rgba(37, 99, 235, 0.15);
  --cyan-glow: #00d2ff;
  --emerald: #10b981;
  --emerald-glow: #34d399;
  --amber: #f59e0b;
  --whatsapp: #25d366;
  --whatsapp-hover: #1ebd56;

  /* Gradientes */
  --grad-primary: linear-gradient(135deg, #2563eb 0%, #00d2ff 100%);
  --grad-emerald: linear-gradient(135deg, #059669 0%, #10b981 100%);
  --grad-text: linear-gradient(135deg, #ffffff 30%, #93c5fd 100%);
  --grad-card: radial-gradient(circle at 0% 0%, rgba(37, 99, 235, 0.12) 0%, transparent 65%);

  /* Sombras & Efeitos */
  --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
  --shadow-card-hover: 0 15px 40px -10px rgba(0, 0, 0, 0.7), 0 0 25px rgba(37, 99, 235, 0.2);
  --shadow-header: 0 10px 25px -10px rgba(0, 0, 0, 0.7);
  --shadow-glow: 0 0 40px rgba(0, 210, 255, 0.15);

  /* Comparativo Prático (Modo Escuro) */
  --comp-wrapper-bg: rgba(8, 16, 32, 0.95);
  --comp-wrapper-border: rgba(56, 189, 248, 0.18);
  --comp-wrapper-shadow: 0 25px 65px -10px rgba(0, 0, 0, 0.7), 0 0 35px rgba(0, 180, 240, 0.06);
  --comp-label: #93c5fd;
  --comp-somfacil-head-bg: rgba(6, 78, 59, 0.45);
  --comp-somfacil-head-border: rgba(16, 185, 129, 0.45);
  --comp-somfacil-head-text: #10b981;
  --comp-somfacil-bg: rgba(6, 78, 59, 0.35);
  --comp-somfacil-border: rgba(16, 185, 129, 0.35);
  --comp-somfacil-text: #34d399;
  --comp-somfacil-mark: #10b981;
  --comp-trad-head-bg: rgba(153, 27, 27, 0.35);
  --comp-trad-head-border: rgba(239, 68, 68, 0.35);
  --comp-trad-head-text: #f87171;
  --comp-trad-bg: rgba(127, 29, 29, 0.24);
  --comp-trad-border: rgba(239, 68, 68, 0.28);
  --comp-trad-text: #f87171;
  --comp-trad-mark: #ef4444;

  /* Switch Toggle Styles (Modo Escuro) */
  --switch-track-bg: #1e293b;
  --switch-track-border: rgba(255, 255, 255, 0.18);
  --switch-thumb-bg: #0f172a;
  --switch-thumb-border: rgba(56, 189, 248, 0.5);
  --switch-thumb-shadow: 0 0 10px rgba(56, 189, 248, 0.35);
  --switch-icon-sun: #64748b;
  --switch-icon-moon: #38bdf8;
  --switch-text: #94a3b8;
}

/* ==========================================================================
   RESET GLOBAL & BASE TYPOGRAPHY
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-body);
  color: var(--text-main);
  overflow-x: hidden;
  max-width: 100vw;
  width: 100%;
  transition: background-color 0.3s ease, color 0.3s ease;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg-body);
  background-image: var(--bg-body-gradient);
  background-attachment: fixed;
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  max-width: 100vw;
  width: 100%;
  transition: background-color 0.3s ease, color 0.3s ease;
}

section[id] {
  scroll-margin-top: 85px;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-heading);
  letter-spacing: -0.02em;
  transition: color 0.25s ease;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ==========================================================================
   SWITCH DE TEMA (LIGHT / DARK TOGGLE)
   Design Premium, Tátil com Ícones Sol/Lua e Animação Fluida
   ========================================================================== */
.theme-switch-wrapper {
  display: inline-flex;
  align-items: center;
}

.theme-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: transparent;
  border: none;
  padding: 0.3rem 0.45rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  color: var(--switch-text);
  font-family: 'Outfit', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  transition: var(--transition);
  outline: none;
  user-select: none;
}

.theme-toggle-btn:focus-visible {
  box-shadow: 0 0 0 2px var(--primary);
}

.theme-toggle-btn:hover {
  transform: translateY(-1px);
}

.theme-toggle-track {
  position: relative;
  width: 52px;
  height: 28px;
  background-color: var(--switch-track-bg);
  border: 1px solid var(--switch-track-border);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 6px;
  transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.08);
}

.theme-toggle-btn:hover .theme-toggle-track {
  border-color: var(--primary);
}

.theme-toggle-thumb {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: var(--switch-thumb-bg);
  border: 1px solid var(--switch-thumb-border);
  box-shadow: var(--switch-thumb-shadow);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.3s ease, border-color 0.3s ease;
  pointer-events: none;
  z-index: 2;
}

[data-theme="dark"] .theme-toggle-thumb {
  transform: translateX(24px);
}

.theme-toggle-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  z-index: 1;
  transition: color 0.3s ease, opacity 0.3s ease, transform 0.3s ease;
}

.theme-toggle-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.theme-toggle-icon.icon-sun {
  color: var(--switch-icon-sun);
}

.theme-toggle-icon.icon-moon {
  color: var(--switch-icon-moon);
}

[data-theme="light"] .theme-toggle-icon.icon-sun {
  opacity: 1;
  transform: scale(1.05);
}

[data-theme="light"] .theme-toggle-icon.icon-moon {
  opacity: 0.55;
  transform: scale(0.9);
}

[data-theme="dark"] .theme-toggle-icon.icon-sun {
  opacity: 0.5;
  transform: scale(0.9);
}

[data-theme="dark"] .theme-toggle-icon.icon-moon {
  opacity: 1;
  transform: scale(1.05);
}

.theme-toggle-text {
  font-size: 0.82rem;
  color: var(--switch-text);
  font-weight: 600;
  transition: color 0.25s ease;
  white-space: nowrap;
}

/* Item de tema na lista mobile drawer */
.nav-theme-item {
  display: none;
  width: 100%;
  padding: 0.85rem 0.5rem 0.45rem;
  border-top: 1px solid var(--border-subtle);
  margin-top: 0.5rem;
  align-items: center;
  justify-content: space-between;
}

.nav-theme-label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
}

/* ==========================================================================
   HEADER / NAVBAR
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 0;
  transition: var(--transition);
  background: var(--bg-header);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-header);
}

.site-header .container {
  max-width: 100%;
  padding: 0 3rem;
}

.site-header.scrolled {
  padding: 0.75rem 0;
  background: var(--bg-header-scrolled);
  border-bottom: 1px solid var(--border-glow);
  box-shadow: var(--shadow-header);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 1.5rem;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: 'Outfit', sans-serif;
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--text-brand);
  flex-shrink: 0;
}

.brand-logo-img {
  height: 42px;
  width: auto;
  object-fit: contain;
}

.brand-logo span.accent {
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brand-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--grad-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  box-shadow: 0 0 20px rgba(37, 99, 235, 0.4);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-left: auto;
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-muted);
  position: relative;
  padding: 0.35rem 0.15rem;
  white-space: nowrap;
  letter-spacing: -0.01em;
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: var(--text-heading);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.25s ease;
}

.nav-link:hover::after {
  width: 100%;
}

.mobile-toggle {
  display: none;
  background: var(--bg-card-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-heading);
  font-size: 1.4rem;
  cursor: pointer;
  transition: var(--transition);
}

.header-nav-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-shrink: 0;
}

.nav-mobile-cta {
  display: none !important;
}

/* ==========================================================================
   BOTÕES & CTAs
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.62rem 1.35rem;
  border-radius: var(--radius-full);
  font-family: 'Outfit', sans-serif;
  font-size: 0.94rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  text-align: center;
  white-space: nowrap;
}

.btn-whatsapp {
  background: var(--whatsapp);
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp svg,
.btn-wa-icon {
  width: 26px;
  height: 26px;
  min-width: 26px;
  fill: currentColor;
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.btn-lg.btn-whatsapp svg,
.btn-lg .btn-wa-icon,
.btn-acquisition svg {
  width: 28px;
  height: 28px;
  min-width: 28px;
}

.btn-whatsapp:hover {
  background: var(--whatsapp-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.5);
  color: #ffffff;
}

.btn-whatsapp:hover svg,
.btn-whatsapp:hover .btn-wa-icon {
  transform: scale(1.1);
}

.btn-primary {
  background: var(--grad-primary);
  color: #ffffff;
  box-shadow: 0 4px 25px rgba(37, 99, 235, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 35px rgba(37, 99, 235, 0.5);
  color: #ffffff;
}

.btn-outline {
  background: var(--bg-card);
  color: var(--text-main);
  border: 1px solid var(--border-card);
  box-shadow: var(--shadow-card);
}

.btn-outline:hover {
  background: var(--bg-card-subtle);
  border-color: var(--border-card-hover);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.55rem 1.25rem;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 0.72rem 1.65rem;
  font-size: 0.98rem;
}

/* Pulsing Badge / Dot */
.badge-tech {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1rem;
  border-radius: var(--radius-full);
  background: var(--primary-bg-subtle);
  border: 1px solid var(--border-glow);
  color: var(--primary-light);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  max-width: 100%;
  white-space: normal;
  text-align: left;
  box-shadow: 0 2px 10px rgba(37, 99, 235, 0.08);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan-glow);
  box-shadow: 0 0 10px var(--cyan-glow);
  animation: pulseAnimation 2s infinite;
}

@keyframes pulseAnimation {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 1; box-shadow: 0 0 15px var(--cyan-glow); }
  100% { transform: scale(0.95); opacity: 0.8; }
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  position: relative;
  padding: 7.5rem 0 2.25rem;
  overflow: hidden;
}

.hero-section .container {
  max-width: 1320px;
}

.hero-section .hero-grid {
  grid-template-columns: 0.88fr 1.12fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-section .device-frame-wrap {
  padding: 0.75rem;
  border-radius: 26px;
  box-shadow: 0 25px 70px -15px rgba(15, 23, 42, 0.15), var(--shadow-glow);
}

.hero-section .device-frame-wrap img {
  border-radius: 20px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 3.5rem;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-content-centered {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}

.hero-content-centered .hero-desc {
  margin: 0 auto 1.25rem;
}

.hero-content-centered .hero-actions {
  justify-content: center;
  margin-bottom: 0;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 3.85rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.25rem;
  letter-spacing: -0.03em;
  color: var(--text-heading);
}

.hero-title .highlight {
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-title .gradient-text {
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: block;
}

.hero-desc {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1.25rem;
  max-width: 580px;
}

.hero-punchline {
  font-family: 'Outfit', sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  margin-bottom: 2.25rem;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-bottom: 0;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
}

.metric-item b {
  display: block;
  font-family: 'Outfit', sans-serif;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--text-heading);
}

.metric-item span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Hero Visual / Image Frame */
.hero-visual {
  position: relative;
  z-index: 2;
}

.device-frame-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  padding: 0.5rem;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.4) 0%, rgba(37, 99, 235, 0.2) 50%, rgba(2, 132, 199, 0.15) 100%);
  border: 1px solid var(--border-subtle);
  box-shadow: 0 20px 60px -15px rgba(15, 23, 42, 0.15), var(--shadow-glow);
  transition: transform 0.4s ease;
}

[data-theme="dark"] .device-frame-wrap {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(37, 99, 235, 0.25) 50%, rgba(0, 210, 255, 0.1) 100%);
  box-shadow: 0 20px 60px -15px rgba(0, 0, 0, 0.8), var(--shadow-glow);
}

.device-frame-wrap:hover {
  transform: translateY(-6px);
}

.device-frame-wrap img {
  border-radius: calc(var(--radius-lg) - 6px);
  width: 100%;
  object-fit: cover;
}

.floating-pill {
  position: absolute;
  background: var(--bg-pill);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-full);
  padding: 0.65rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-heading);
  box-shadow: var(--shadow-card);
  animation: floatAnim 4s ease-in-out infinite;
}

.pill-1 {
  top: -20px;
  right: 20px;
}

.pill-2 {
  bottom: -20px;
  left: 20px;
  animation-delay: -2s;
}

@keyframes floatAnim {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ==========================================================================
   ANIMAÇÃO DE ONDAS SONORAS & MICRO-INTERAÇÃO NA IMAGEM ESCOLAR
   ========================================================================== */
.school-animated-frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 45px -10px rgba(15, 23, 42, 0.12), 0 0 0 1px var(--border-subtle);
}

[data-theme="dark"] .school-animated-frame {
  box-shadow: 0 25px 65px -15px rgba(0, 0, 0, 0.8), 0 0 30px rgba(56, 189, 248, 0.15);
}

.school-stage-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: inherit;
}

.soundwave-emitter {
  position: absolute;
  left: 63.5%;
  top: 49.5%;
  transform: translate(-50%, -50%);
  width: 120px;
  height: 120px;
  pointer-events: none;
  z-index: 5;
}

.wave-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  border-left: 3.5px solid var(--primary);
  border-top: 2px solid rgba(37, 99, 235, 0.45);
  border-bottom: 2px solid rgba(37, 99, 235, 0.45);
  border-right: none;
  transform: translate(-50%, -50%) rotate(-12deg);
  opacity: 0;
  filter: drop-shadow(0 0 10px rgba(37, 99, 235, 0.75));
  animation: propagateWave 3.2s cubic-bezier(0.15, 0.85, 0.35, 1) infinite;
}

.ring-1 { animation-delay: 0s; }
.ring-2 { animation-delay: 0.8s; }
.ring-3 { animation-delay: 1.6s; }
.ring-4 { animation-delay: 2.4s; }

@keyframes propagateWave {
  0% {
    width: 60px;
    height: 60px;
    transform: translate(-50%, -50%) rotate(-12deg) scale(0.6);
    opacity: 0.95;
    border-left-width: 4px;
  }
  40% {
    opacity: 0.8;
  }
  100% {
    width: 380px;
    height: 380px;
    transform: translate(-115%, -50%) rotate(-12deg) scale(2.4);
    opacity: 0;
    border-left-width: 1.5px;
  }
}

.music-note {
  position: absolute;
  top: 50%;
  left: 50%;
  color: var(--primary);
  font-size: 1.45rem;
  font-weight: 800;
  opacity: 0;
  filter: drop-shadow(0 0 10px rgba(37, 99, 235, 0.8));
  animation: floatMusicNote 3.6s ease-out infinite;
}

.note-1 { animation-delay: 0.4s; animation-duration: 3.4s; }
.note-2 { animation-delay: 1.5s; animation-duration: 3.8s; }
.note-3 { animation-delay: 2.6s; animation-duration: 3.2s; }

@keyframes floatMusicNote {
  0% {
    transform: translate(-50%, -50%) scale(0.3);
    opacity: 0;
  }
  20% {
    opacity: 0.95;
    transform: translate(-90%, -65%) scale(1.1);
  }
  80% {
    opacity: 0.7;
  }
  100% {
    transform: translate(-320%, -130%) scale(0.8) rotate(-22deg);
    opacity: 0;
  }
}

@media (max-width: 768px) {
  .wave-ring {
    border-left-width: 2.5px;
  }
}

/* ==========================================================================
   SEÇÕES GERAIS / CARDS / GRID
   ========================================================================== */
section {
  padding: 2.25rem 0;
  position: relative;
}

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 1.5rem;
}

.section-subtitle {
  text-transform: uppercase;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--text-subtitle);
  background: var(--primary-bg-subtle);
  border: 1px solid var(--border-glow);
  padding: 0.35rem 1rem;
  border-radius: var(--radius-full);
  display: inline-block;
  margin-bottom: 0.5rem;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.08);
}

.section-title {
  font-size: clamp(1.85rem, 3.2vw, 2.5rem);
  margin-bottom: 0.65rem;
  color: var(--text-heading);
}

.section-desc {
  color: var(--text-muted);
  font-size: 1.02rem;
  line-height: 1.65;
}

/* Glassmorphism Card Genérico */
.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow-card);
}

.glass-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-glow);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

/* ==========================================================================
   SEÇÃO 1: LEGISLAÇÃO & INCLUSÃO SENSORIAL (TEA / TDAH) (#inclusao)
   ========================================================================== */
.law-section {
  background: 
    linear-gradient(180deg, rgba(248, 250, 252, 0.94) 0%, rgba(241, 245, 249, 0.88) 50%, rgba(248, 250, 252, 0.95) 100%),
    url('assets/images/1 (2).png') center center / cover no-repeat;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  position: relative;
  overflow: hidden;
}

[data-theme="dark"] .law-section {
  background: 
    linear-gradient(180deg, rgba(8, 12, 20, 0.93) 0%, rgba(15, 23, 42, 0.82) 40%, rgba(8, 12, 20, 0.95) 100%),
    url('assets/images/1 (2).png') center center / cover no-repeat;
  border-top: 1px solid rgba(59, 130, 246, 0.2);
  border-bottom: 1px solid rgba(59, 130, 246, 0.2);
}

.showcase-pillars-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.showcase-metric-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 1.35rem 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.pillar-bg-element {
  position: absolute;
  right: -10px;
  bottom: -10px;
  width: 90px;
  height: 90px;
  pointer-events: none;
  opacity: 0.10;
  transition: opacity 0.35s ease, transform 0.35s ease;
  z-index: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

[data-theme="dark"] .pillar-bg-element {
  opacity: 0.14;
}

.pillar-bg-element svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.pillar-neuro {
  border-top: 3px solid #3b82f6;
}
.pillar-neuro .pillar-bg-element { color: #3b82f6; }

.pillar-agendamento {
  border-top: 3px solid #f59e0b;
}
.pillar-agendamento .pillar-bg-element { color: #f59e0b; }

.pillar-musicas {
  border-top: 3px solid #10b981;
}
.pillar-musicas .pillar-bg-element { color: #10b981; }

.pillar-conectividade {
  border-top: 3px solid #00d2ff;
}
.pillar-conectividade .pillar-bg-element { color: #0284c7; }

.showcase-metric-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--primary);
}

.showcase-metric-card:hover .pillar-bg-element {
  opacity: 0.20;
  transform: scale(1.1) rotate(-4deg);
}

.showcase-metric-card b {
  display: block;
  font-family: 'Outfit', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 0.3rem;
  line-height: 1.25;
  position: relative;
  z-index: 1;
}

.showcase-metric-card span {
  display: block;
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.48;
  position: relative;
  z-index: 1;
}

/* Bloco Consolidado: Autoridade & Conformidade Legal (G1 + Leis) */
.authority-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 1.75rem;
  margin-top: 1rem;
  align-items: stretch;
}

@media (max-width: 960px) {
  .authority-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

.authority-card {
  border-radius: var(--radius-sm);
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: var(--transition);
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  box-shadow: var(--shadow-card);
}

.authority-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

.g1-authority-card {
  border-top: 3.5px solid #dc2626;
}

.g1-authority-card:hover {
  border-color: #fca5a5;
  border-top-color: #dc2626;
}

.law-authority-card {
  border-top: 3.5px solid var(--primary);
}

.law-authority-card:hover {
  border-color: #bfdbfe;
  border-top-color: var(--primary);
}

.authority-card-header {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.25rem;
}

.g1-logo-badge {
  background: #c4170c;
  color: #ffffff;
  font-family: 'Outfit', sans-serif;
  font-weight: 900;
  font-size: 1.25rem;
  padding: 0.3rem 0.75rem;
  border-radius: 4px;
  letter-spacing: -0.05em;
  box-shadow: 0 2px 8px rgba(196, 23, 12, 0.35);
  text-transform: uppercase;
  line-height: 1;
}

.authority-icon-badge {
  font-size: 1.25rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--primary-bg-subtle);
  border: 1px solid var(--border-glow);
  border-radius: 6px;
}

.authority-tag {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.3rem 0.65rem;
  border-radius: 4px;
}

.g1-tag {
  background: #fee2e2;
  color: #b91c1c;
  border: 1px solid #fecaca;
}

.law-tag {
  background: var(--primary-bg-subtle);
  color: var(--primary-light);
  border: 1px solid var(--border-glow);
}

.authority-card h4 {
  font-size: 1.22rem;
  color: var(--text-heading);
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 0.85rem;
}

.authority-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex: 1;
}

.authority-card-footer {
  margin-top: auto;
  padding-top: 0.5rem;
}

.g1-btn-read {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: #c4170c;
  border: 1px solid #c4170c;
  color: #ffffff;
  padding: 0.42rem 0.85rem;
  border-radius: 4px;
  font-size: 0.78rem;
  font-weight: 600;
  transition: var(--transition);
  white-space: nowrap;
}

.g1-btn-read:hover {
  background: #a51208;
  border-color: #a51208;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(196, 23, 12, 0.4);
  transform: translateY(-2px);
}

.authority-law-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.authority-law-list li {
  position: relative;
  padding-left: 1.25rem;
  color: var(--text-main);
  font-size: 0.92rem;
  line-height: 1.55;
}

.authority-law-list li b {
  color: var(--text-heading);
}

.authority-law-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: -1px;
  color: var(--primary);
  font-weight: bold;
  font-size: 1.2rem;
  line-height: 1;
}

/* ==========================================================================
   SEÇÃO 2: EQUIPAMENTO FÍSICO / RECURSOS (#solucao)
   ========================================================================== */
.equipment-features-section {
  background: var(--bg-section-contrast);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

[data-theme="dark"] .equipment-features-section {
  background: radial-gradient(circle at 50% 15%, rgba(37, 99, 235, 0.12) 0%, transparent 60%), #070c16;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.feature-card-item {
  border-radius: var(--radius-sm);
  padding: 1.65rem 1.45rem;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  box-shadow: var(--shadow-card);
}

.feature-card-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2.5px;
  opacity: 0.85;
  transition: opacity 0.3s ease;
}

.feature-bg-element {
  position: absolute;
  right: -10px;
  bottom: -10px;
  width: 95px;
  height: 95px;
  pointer-events: none;
  opacity: 0.10;
  transition: opacity 0.35s ease, transform 0.35s ease;
  z-index: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

[data-theme="dark"] .feature-bg-element {
  opacity: 0.14;
}

.feature-bg-element svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.feature-card-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--primary);
}

.feature-card-item:hover .feature-bg-element {
  opacity: 0.22;
  transform: scale(1.1) rotate(-4deg);
}

/* Destaques Temáticos dos Cards */
.feature-grade::before { background: linear-gradient(90deg, #f59e0b, transparent 80%); }
.feature-grade .feature-bg-element { color: #f59e0b; }

.feature-musica::before { background: linear-gradient(90deg, #10b981, transparent 80%); }
.feature-musica .feature-bg-element { color: #10b981; }

.feature-wifi::before { background: linear-gradient(90deg, #0284c7, transparent 80%); }
.feature-wifi .feature-bg-element { color: #0284c7; }

.feature-touch::before { background: linear-gradient(90deg, #a855f7, transparent 80%); }
.feature-touch .feature-bg-element { color: #a855f7; }

.feature-ntp::before { background: linear-gradient(90deg, #d97706, transparent 80%); }
.feature-ntp .feature-bg-element { color: #d97706; }

.feature-som::before { background: linear-gradient(90deg, #2563eb, transparent 80%); }
.feature-som .feature-bg-element { color: #2563eb; }

.feature-card-item h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 0.45rem;
  line-height: 1.3;
  position: relative;
  z-index: 1;
}

.feature-card-item p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin: 0;
  position: relative;
  z-index: 1;
}

/* ==========================================================================
   SEÇÃO 3: GALERIA DE FOTOS REAIS DO PRODUTO (#galeria-real)
   ========================================================================== */
.gallery-real-section {
  background: 
    linear-gradient(180deg, rgba(248, 250, 252, 0.94) 0%, rgba(241, 245, 249, 0.9) 50%, rgba(248, 250, 252, 0.95) 100%),
    url('assets/images/1 (3).png') center center / cover no-repeat;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  position: relative;
  overflow: hidden;
}

[data-theme="dark"] .gallery-real-section {
  background: 
    linear-gradient(180deg, rgba(5, 8, 16, 0.92) 0%, rgba(7, 12, 26, 0.78) 40%, rgba(5, 8, 16, 0.94) 100%),
    url('assets/images/1 (3).png') center center / cover no-repeat;
  border-top: 1px solid rgba(0, 210, 255, 0.15);
  border-bottom: 1px solid rgba(0, 210, 255, 0.15);
}

.real-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}

@media (max-width: 900px) {
  .real-gallery-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}

.real-photo-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-card);
}

.real-photo-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary);
  box-shadow: var(--shadow-card-hover);
}

.real-photo-img-wrap {
  position: relative;
  aspect-ratio: 4 / 3;
  height: auto;
  min-height: 240px;
  overflow: hidden;
  background: var(--bg-card-subtle);
}

.real-photo-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.4s ease;
}

.real-photo-card:hover .real-photo-img-wrap img {
  transform: scale(1.06);
}

.real-photo-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--bg-pill);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-glow);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
}

.real-photo-content {
  padding: 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.real-photo-content h4 {
  font-size: 1.05rem;
  color: var(--text-heading);
  margin-bottom: 0.35rem;
}

.real-photo-content p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Moldura de Vídeo */
.video-player-frame {
  max-width: 780px;
  margin: 0 auto;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-glow);
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.18), var(--shadow-glow);
  background: #000;
}

[data-theme="dark"] .video-player-frame {
  box-shadow: 0 20px 50px rgba(0,0,0,0.8), var(--shadow-glow);
}

/* ==========================================================================
   SEÇÃO 4: PAINEL WEB & CELULAR (#painel-web)
   ========================================================================== */
.web-platform-section {
  background: 
    linear-gradient(180deg, rgba(248, 250, 252, 0.94) 0%, rgba(241, 245, 249, 0.88) 50%, rgba(248, 250, 252, 0.95) 100%),
    url('assets/images/1 (1).png') center center / cover no-repeat;
  padding: 2.5rem 0 1.75rem;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  position: relative;
  overflow: hidden;
}

[data-theme="dark"] .web-platform-section {
  background: 
    linear-gradient(180deg, rgba(7, 12, 22, 0.93) 0%, rgba(12, 19, 35, 0.82) 40%, rgba(7, 12, 22, 0.95) 100%),
    url('assets/images/1 (1).png') center center / cover no-repeat;
  border-top: 1px solid rgba(59, 130, 246, 0.2);
  border-bottom: 1px solid rgba(59, 130, 246, 0.2);
}

.painel-platform-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 2.5rem;
  margin-top: 1.25rem;
}

.painel-visual-col {
  display: flex;
  justify-content: center;
  width: 100%;
}

.painel-features-col {
  display: flex;
  flex-direction: column;
}

.dual-mockup-stage {
  position: relative;
  width: 100%;
  max-width: 580px;
  margin: 1rem auto;
  padding-top: 15px;
  padding-bottom: 26px;
}

.laptop-mockup-frame {
  background: #0f172a;
  border: 1px solid var(--border-glow);
  border-radius: 12px;
  box-shadow: 0 25px 60px -15px rgba(15, 23, 42, 0.22), 0 0 25px rgba(37, 99, 235, 0.1);
  overflow: hidden;
  position: relative;
  width: 90%;
  transition: var(--transition);
}

[data-theme="dark"] .laptop-mockup-frame {
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.75), 0 0 35px rgba(59, 130, 246, 0.15);
}

.laptop-mockup-frame:hover {
  border-color: var(--cyan-glow);
  box-shadow: 0 30px 70px -15px rgba(15, 23, 42, 0.3), var(--shadow-glow);
}

.laptop-topbar {
  background: #1e293b;
  padding: 8px 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.laptop-dots {
  display: flex;
  gap: 5px;
}

.laptop-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.laptop-dot.red { background: #ef4444; }
.laptop-dot.yellow { background: #f59e0b; }
.laptop-dot.green { background: #10b981; }

.laptop-address {
  background: rgba(15, 23, 42, 0.85);
  color: #94a3b8;
  font-size: 0.72rem;
  padding: 3px 12px;
  border-radius: 4px;
  flex: 1;
  max-width: 180px;
  text-align: center;
  font-family: monospace;
}

.laptop-badge {
  font-size: 0.68rem;
  color: #34d399;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 2px 8px;
  border-radius: 9999px;
  margin-left: auto;
  font-weight: 600;
}

.laptop-screen {
  width: 100%;
  display: block;
  background: #000;
}

.laptop-screen img {
  width: 100%;
  height: auto;
  display: block;
}

.laptop-base {
  height: 12px;
  background: linear-gradient(180deg, #cbd5e1 0%, #94a3b8 100%);
  border-radius: 0 0 16px 16px;
  position: relative;
  box-shadow: 0 10px 20px rgba(0,0,0,0.15);
  width: 104%;
  left: -2%;
}

[data-theme="dark"] .laptop-base {
  background: linear-gradient(180deg, #334155 0%, #1e293b 100%);
  box-shadow: 0 10px 20px rgba(0,0,0,0.5);
}

.laptop-base::after {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 48px;
  height: 4px;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 0 0 4px 4px;
}

.phone-mockup-frame {
  position: absolute;
  right: -5px;
  bottom: -22px;
  width: 36%;
  max-width: 195px;
  background: #0f172a;
  border: 3px solid #64748b;
  border-radius: 26px;
  box-shadow: 0 25px 45px rgba(15, 23, 42, 0.28), 0 0 20px rgba(37, 99, 235, 0.15);
  overflow: hidden;
  z-index: 2;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  padding: 4px;
}

[data-theme="dark"] .phone-mockup-frame {
  background: #080c14;
  border: 3px solid #334155;
  box-shadow: 0 25px 45px rgba(0, 0, 0, 0.85), 0 0 30px rgba(0, 210, 255, 0.25);
}

.phone-mockup-frame:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 30px 55px rgba(15, 23, 42, 0.35), var(--shadow-glow);
  border-color: var(--primary);
}

.phone-notch {
  width: 50px;
  height: 6px;
  background: #1e293b;
  border-radius: 4px;
  margin: 4px auto 6px;
}

.phone-screen {
  width: 100%;
  display: block;
  border-radius: 20px;
  overflow: hidden;
}

.phone-screen img {
  width: 100%;
  height: auto;
  display: block;
}

/* Lista de Recursos do Painel */
.painel-features-list {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-card);
  padding: 0.25rem 0;
  overflow: hidden;
}

.painel-feature-item {
  display: flex;
  gap: 0.95rem;
  align-items: flex-start;
  padding: 1rem 1.35rem;
  border-bottom: 1px solid var(--border-subtle);
  transition: background-color 0.2s ease;
}

.painel-feature-item:last-child {
  border-bottom: none;
}

.painel-feature-item:hover {
  background: var(--bg-card-subtle);
}

.painel-feature-icon {
  background: var(--primary-bg-subtle);
  border-radius: 8px;
  padding: 6px;
  border: 1px solid var(--border-glow);
  font-size: 1.25rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.painel-feature-item b {
  display: block;
  font-size: 0.95rem;
  color: var(--text-heading);
  margin-bottom: 0.2rem;
  line-height: 1.3;
}

.painel-feature-item p {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.45;
  margin: 0;
}

/* ==========================================================================
   SEÇÃO 5: COMPARATIVO PRÁTICO (#comparativo)
   ========================================================================== */
.comparativo-section {
  padding: 2.25rem 0 1.75rem;
  background: var(--bg-section-alt);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  position: relative;
}

[data-theme="dark"] .comparativo-section {
  background: radial-gradient(circle at 50% 25%, rgba(37, 99, 235, 0.08) 0%, transparent 65%), #050a14;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.comp-card-wrapper {
  max-width: 830px;
  margin: 0 auto;
  background: var(--comp-wrapper-bg);
  border: 1px solid var(--comp-wrapper-border);
  border-radius: 20px;
  padding: 2.25rem 2rem 2rem;
  box-shadow: var(--comp-wrapper-shadow);
  position: relative;
}

.comp-header {
  text-align: center;
  margin-bottom: 1.5rem;
}

.comp-subtitle {
  display: inline-block;
  color: var(--primary);
  font-family: 'Outfit', sans-serif;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.65rem;
}

.comp-title {
  color: var(--text-heading);
  font-family: 'Outfit', sans-serif;
  font-size: clamp(1.45rem, 3.2vw, 2.15rem);
  font-weight: 800;
  line-height: 1.25;
  margin: 0 0 0.85rem;
  letter-spacing: -0.02em;
}

.comp-desc {
  color: var(--text-muted);
  font-size: 0.96rem;
  line-height: 1.5;
  max-width: 580px;
  margin: 0 auto;
}

.comp-board-wrap {
  width: 100%;
}

.comp-board {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: 100%;
}

.comp-item-block {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.comp-feature-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  color: var(--comp-label);
  font-family: 'Outfit', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.35rem 0 0.1rem;
}

.comp-feature-label svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  fill: currentColor;
  opacity: 0.85;
}

.comp-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  align-items: stretch;
}

.comp-cell {
  border-radius: 10px;
  padding: 0.85rem 1.15rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-height: 64px;
  height: 100%;
  position: relative;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.comp-cell:hover {
  transform: translateY(-2px);
}

.comp-cell .cell-text {
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.35;
  z-index: 1;
}

.comp-head-cell {
  min-height: 48px;
  padding: 0.75rem 1.15rem;
  font-family: 'Outfit', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  justify-content: center;
  text-align: center;
}

.comp-head-cell.cell-somfacil {
  background: var(--comp-somfacil-head-bg);
  border: 1px solid var(--comp-somfacil-head-border);
  color: var(--comp-somfacil-head-text);
}

.comp-head-cell.cell-tradicional {
  background: var(--comp-trad-head-bg);
  border: 1px solid var(--comp-trad-head-border);
  color: var(--comp-trad-head-text);
}

.comp-cell.cell-somfacil {
  background: var(--comp-somfacil-bg);
  border: 1px solid var(--comp-somfacil-border);
}

.comp-cell.cell-somfacil .cell-text {
  color: var(--comp-somfacil-text);
}

.comp-cell.cell-somfacil .cell-watermark {
  color: var(--comp-somfacil-mark);
  opacity: 0.35;
}

.comp-cell.cell-somfacil:hover {
  box-shadow: 0 6px 18px rgba(16, 185, 129, 0.18);
}

.comp-cell.cell-tradicional {
  background: var(--comp-trad-bg);
  border: 1px solid var(--comp-trad-border);
}

.comp-cell.cell-tradicional .cell-text {
  color: var(--comp-trad-text);
}

.comp-cell.cell-tradicional .cell-watermark {
  color: var(--comp-trad-mark);
  opacity: 0.32;
}

.comp-cell.cell-tradicional:hover {
  box-shadow: 0 6px 18px rgba(239, 68, 68, 0.15);
}

.cell-watermark {
  width: 34px;
  height: 34px;
  min-width: 34px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.cell-watermark svg {
  width: 100%;
  height: 100%;
  display: block;
}

.comp-cell:hover .cell-watermark {
  opacity: 0.6;
  transform: scale(1.08);
}

/* ==========================================================================
   SEÇÃO: COMO ADQUIRIR O SOMFÁCIL (#como-adquirir)
   ========================================================================== */
.aquisicao-section {
  padding: 2.25rem 0 1.75rem;
  background-color: var(--bg-alt);
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.aquisicao-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 1200px;
  height: 380px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.08) 0%, rgba(16, 185, 129, 0.04) 50%, transparent 75%);
  pointer-events: none;
  z-index: 0;
}

[data-theme="dark"] .aquisicao-section::before {
  background: radial-gradient(circle, rgba(37, 99, 235, 0.16) 0%, rgba(16, 185, 129, 0.07) 50%, transparent 75%);
}

.aquisicao-section .container {
  position: relative;
  z-index: 1;
}

/* Grid com os 4 Pilares Comerciais */
.aquisicao-pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.aquisicao-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 1.75rem 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
  box-shadow: var(--shadow-card);
  position: relative;
}

.aquisicao-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--primary);
}

.aquisicao-icon-badge {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--primary-bg-subtle);
  border: 1px solid var(--border-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.08);
  margin: 0 auto 0.75rem;
  transition: transform 0.25s ease;
}

.aquisicao-card:hover .aquisicao-icon-badge {
  transform: scale(1.1) rotate(4deg);
}

.aquisicao-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  background: rgba(37, 99, 235, 0.1);
  color: var(--primary);
  border: 1px solid rgba(37, 99, 235, 0.2);
  margin-bottom: 0.75rem;
}

.aquisicao-tag.tag-emerald {
  background: rgba(16, 185, 129, 0.12);
  color: #059669;
  border-color: rgba(16, 185, 129, 0.25);
}

[data-theme="dark"] .aquisicao-tag.tag-emerald {
  color: #34d399;
}

.aquisicao-tag.tag-amber {
  background: rgba(245, 158, 11, 0.12);
  color: #d97706;
  border-color: rgba(245, 158, 11, 0.25);
}

[data-theme="dark"] .aquisicao-tag.tag-amber {
  color: #fbbf24;
}

.aquisicao-tag.tag-cyan {
  background: rgba(6, 182, 212, 0.12);
  color: #0891b2;
  border-color: rgba(6, 182, 212, 0.25);
}

[data-theme="dark"] .aquisicao-tag.tag-cyan {
  color: #22d3ee;
}

.aquisicao-card h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-heading);
  line-height: 1.35;
  margin-bottom: 0.55rem;
  text-align: center;
}

.aquisicao-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
  text-align: center;
  margin: 0;
}

.aquisicao-card p b {
  color: var(--text-heading);
  font-weight: 600;
}

.card-garantia:hover {
  border-color: #2563eb;
}

.card-nomonthly:hover {
  border-color: #10b981;
}

.card-nomonthly .aquisicao-icon-badge {
  background: rgba(16, 185, 129, 0.12);
  border-color: rgba(16, 185, 129, 0.25);
}

.card-fabricacao:hover {
  border-color: #f59e0b;
}

.card-fabricacao .aquisicao-icon-badge {
  background: rgba(245, 158, 11, 0.12);
  border-color: rgba(245, 158, 11, 0.25);
}

.card-suporte:hover {
  border-color: #06b6d4;
}

.card-suporte .aquisicao-icon-badge {
  background: rgba(6, 182, 212, 0.12);
  border-color: rgba(6, 182, 212, 0.25);
}

/* Banner CTA de Alto Impacto */
.aquisicao-cta-banner {
  margin-top: 1.85rem;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.07) 0%, rgba(16, 185, 129, 0.06) 50%, rgba(37, 99, 235, 0.04) 100%);
  border: 1px solid var(--border-glow);
  border-radius: 20px;
  padding: 2.25rem 2rem 1.85rem;
  text-align: center;
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}

[data-theme="dark"] .aquisicao-cta-banner {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.16) 0%, rgba(16, 185, 129, 0.12) 50%, rgba(8, 12, 20, 0.7) 100%);
  border-color: rgba(59, 130, 246, 0.35);
}

.aquisicao-cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 500px;
  height: 300px;
  background: radial-gradient(circle, rgba(37, 211, 102, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.aquisicao-cta-content {
  position: relative;
  z-index: 1;
  max-width: 820px;
  margin: 0 auto;
}

.cta-mini-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--primary);
  background: var(--primary-bg-subtle);
  border: 1px solid var(--border-glow);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.85rem;
}

.cta-main-title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(1.3rem, 2.6vw, 1.85rem);
  font-weight: 800;
  color: var(--text-heading);
  line-height: 1.3;
  letter-spacing: -0.02em;
  margin-bottom: 0.65rem;
}

.cta-subtitle-text {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.55;
  max-width: 650px;
  margin: 0 auto 1.25rem;
}

.cta-subtitle-text b {
  color: var(--text-heading);
  font-weight: 600;
}

.cta-buttons-wrap {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
  width: 100%;
}

.cta-buttons-wrap .btn-whatsapp,
.btn-acquisition {
  font-size: 1rem;
  padding: 0.82rem 1.85rem;
  font-weight: 700;
  white-space: normal;
  text-align: center;
  line-height: 1.35;
  max-width: 100%;
  box-sizing: border-box;
}

.trust-badges-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem 1rem;
  margin-top: 1rem;
}

.trust-badges-list span {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-full);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03);
}

[data-theme="dark"] .trust-badges-list span {
  background: rgba(255, 255, 255, 0.04);
}

@media (max-width: 1024px) {
  .aquisicao-pillars-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .web-platform-section {
    padding: 1.75rem 0 1.25rem;
  }
  .comparativo-section {
    padding: 1.5rem 0 1.25rem;
  }
  .comp-card-wrapper {
    padding: 1.6rem 1.15rem 1.35rem;
  }
  .comp-header {
    margin-bottom: 1.15rem;
  }
  .aquisicao-section {
    padding: 1.5rem 0 1.25rem;
  }
  .aquisicao-pillars-grid {
    grid-template-columns: 1fr;
    gap: 0.95rem;
    margin-top: 1.15rem;
  }
  .aquisicao-card {
    padding: 1.4rem 1.15rem;
  }
  .aquisicao-cta-banner {
    padding: 1.6rem 1.1rem 1.35rem;
    margin-top: 1.35rem;
  }
  .cta-buttons-wrap {
    flex-direction: column;
    width: 100%;
    margin-bottom: 0 !important;
  }
  .cta-buttons-wrap .btn-whatsapp,
  .btn-acquisition {
    width: 100%;
    font-size: 0.94rem;
    padding: 0.82rem 1.15rem;
    white-space: normal;
    word-break: normal;
  }
}

@media (max-width: 480px) {
  .aquisicao-cta-banner {
    padding: 1.5rem 0.95rem 1.25rem;
  }
  .cta-buttons-wrap .btn-whatsapp,
  .btn-acquisition {
    font-size: 0.88rem;
    padding: 0.78rem 0.85rem;
    gap: 0.45rem;
  }
  .cta-buttons-wrap .btn-whatsapp svg,
  .btn-acquisition svg {
    width: 24px;
    height: 24px;
    min-width: 24px;
  }
}

/* ==========================================================================
   SEÇÃO 6: INSTITUCIONAL DAVISA SOLUÇÕES (#institucional)
   ========================================================================== */
.davisa-section {
  background-color: #fafbfc;
  background-image: 
    linear-gradient(90deg, rgba(255, 255, 255, 0.92) 0%, rgba(255, 255, 255, 0.72) 55%, rgba(255, 255, 255, 0.3) 100%),
    url('assets/images/davisaweb.png');
  background-position: center right;
  background-size: cover;
  background-repeat: no-repeat;
  color: var(--text-main);
  padding: 2.5rem 0 2rem;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 2px 20px rgba(0, 0, 0, 0.04);
}

[data-theme="dark"] .davisa-section {
  background-color: #070b14;
  background-image: 
    linear-gradient(90deg, rgba(8, 12, 20, 0.95) 0%, rgba(8, 12, 20, 0.85) 55%, rgba(8, 12, 20, 0.6) 100%),
    url('assets/images/davisaweb.png');
}

.davisa-container-wrap {
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.davisa-section-head {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 1.25rem;
}

.davisa-section-head .section-subtitle {
  color: var(--primary);
  font-weight: 700;
  letter-spacing: 0.08em;
  font-size: 0.76rem;
  margin-bottom: 0.35rem;
  display: inline-block;
}

.davisa-section-head .section-title {
  color: var(--text-heading);
  font-size: clamp(1.4rem, 2.8vw, 1.75rem);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin-bottom: 0.45rem;
}

.davisa-logo-card {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-card);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--border-card);
  border-radius: 14px;
  padding: 0.75rem 2rem;
  margin: 0.75rem auto 1.25rem;
  box-shadow: var(--shadow-card);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.davisa-logo-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--primary);
}

.davisa-logo-img {
  height: 48px;
  width: auto;
  max-width: 195px;
  object-fit: contain;
  display: block;
  opacity: 0.96;
  transition: transform 0.25s ease;
}

.davisa-logo-card:hover .davisa-logo-img {
  transform: scale(1.02);
}

.davisa-section-head .section-desc {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.55;
  max-width: 540px;
  margin: 0 auto;
}

.davisa-content {
  background: var(--bg-card);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border-card);
  border-radius: 18px;
  padding: 2.25rem 2.5rem;
  box-shadow: var(--shadow-card);
  max-width: 680px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.davisa-location-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: var(--primary-bg-subtle);
  color: var(--primary-light);
  border: 1px solid var(--border-glow);
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-full);
  font-size: 0.74rem;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.06);
  width: fit-content;
  margin-bottom: 0.85rem;
}

.location-pin {
  font-size: 0.95rem;
  line-height: 1;
}

.davisa-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-heading);
  line-height: 1.35;
  letter-spacing: -0.01em;
  margin-bottom: 0.75rem;
  text-align: center;
}

.davisa-body-text {
  max-width: 560px;
  margin: 0 auto;
}

.davisa-body-text p {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 0.65rem;
  text-align: center;
}

.davisa-body-text p:last-child {
  margin-bottom: 0;
}

.davisa-body-text b {
  color: var(--text-heading);
  font-weight: 600;
}

.davisa-cta-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--border-subtle) 25%, var(--border-subtle) 75%, transparent 100%);
  margin: 1.65rem 0 1.5rem;
}

.davisa-cta-block {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.davisa-cta-title {
  font-size: 1.18rem;
  font-weight: 800;
  color: var(--text-heading);
  line-height: 1.35;
  letter-spacing: -0.01em;
  margin-bottom: 0.65rem;
}

.davisa-cta-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 520px;
  margin: 0 auto 1.35rem;
}

.davisa-cta-block .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
  font-size: 0.92rem;
  padding: 0.72rem 1.65rem;
}

@media (max-width: 900px) {
  .davisa-section {
    background-image: 
      linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, rgba(255, 255, 255, 0.82) 45%, rgba(255, 255, 255, 0.92) 100%),
      url('assets/images/davisa mobile.png');
    background-position: center top;
    background-size: cover;
    background-repeat: no-repeat;
    padding: 1.65rem 0 1.25rem;
  }
  [data-theme="dark"] .davisa-section {
    background-image: 
      linear-gradient(180deg, rgba(8, 12, 20, 0.94) 0%, rgba(8, 12, 20, 0.85) 45%, rgba(8, 12, 20, 0.94) 100%),
      url('assets/images/davisa mobile.png');
  }
  .davisa-content {
    padding: 1.65rem 1.25rem;
  }
}

/* ==========================================================================
   FAQ ACCORDION & CTA BANNER
   ========================================================================== */
.faq-wrap {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  border: 1px solid var(--border-card);
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  transition: var(--transition);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.faq-item.active {
  border-color: var(--primary);
  background: var(--bg-card-hover);
}

.faq-question {
  padding: 1.35rem 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-family: 'Outfit', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-heading);
}

.faq-icon {
  font-size: 1.25rem;
  transition: transform 0.3s ease;
  color: var(--primary);
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
  padding: 0 1.75rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.faq-item.active .faq-answer {
  max-height: 350px;
  padding-bottom: 1.5rem;
}

.cta-banner {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(16, 185, 129, 0.08) 100%);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-lg);
  padding: 4rem 2rem;
  text-align: center;
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}

[data-theme="dark"] .cta-banner {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.3) 0%, rgba(16, 185, 129, 0.2) 100%);
  border: 1px solid rgba(59, 130, 246, 0.4);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}

.cta-banner h2 {
  font-size: clamp(2rem, 4vw, 2.85rem);
  margin-bottom: 1rem;
  color: var(--text-heading);
}

.cta-banner p {
  color: var(--text-muted);
  font-size: 1.15rem;
  max-width: 650px;
  margin: 0 auto 2.25rem;
}

/* ==========================================================================
   RODAPÉ (SITE FOOTER)
   ========================================================================== */
.site-footer {
  border-top: 1px solid var(--border-subtle);
  padding: 4rem 0 2rem;
  background: var(--bg-footer);
  font-size: 0.9rem;
  color: var(--text-muted);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-col h4 {
  font-size: 1rem;
  margin-bottom: 1.25rem;
  color: var(--text-heading);
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-col a:hover {
  color: var(--primary);
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  color: var(--text-dim);
  font-size: 0.85rem;
}

/* ==========================================================================
   RESPONSIVIDADE (TABLET, MOBILE & TELAS PEQUENAS)
   ========================================================================== */
@media (max-width: 1024px) {
  .site-header {
    padding: 0.75rem 0;
  }

  .site-header .container {
    padding: 0 1.5rem;
  }

  .brand-logo {
    font-size: 1.45rem;
    gap: 0.5rem;
  }

  .brand-logo-img {
    height: 34px;
  }

  .header-nav-actions {
    gap: 0.65rem;
  }

  .mobile-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: var(--bg-card-subtle);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    color: var(--text-heading);
    font-size: 1.35rem;
    cursor: pointer;
  }

  .nav-menu {
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background: var(--bg-header-scrolled);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    flex-direction: column;
    padding: 1.5rem 1.25rem 2rem;
    gap: 0.75rem;
    border-bottom: 1px solid var(--border-glow);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.15);
    transform: translateY(-150%);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    max-height: calc(100vh - 60px);
    overflow-y: auto;
    z-index: 999;
  }

  [data-theme="dark"] .nav-menu {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.85);
  }

  .nav-menu.open {
    transform: translateY(0);
  }

  .nav-link {
    font-size: 1rem;
    padding: 0.65rem 0.5rem;
    width: 100%;
    text-align: left;
    border-bottom: 1px solid var(--border-subtle);
  }

  .nav-theme-item {
    display: flex;
  }

  /* No header desktop/tablet, esconde texto extenso do toggle se apertado */
  .header-theme-btn .theme-toggle-text {
    display: none;
  }
}

@media (max-width: 992px) {
  .hero-grid,
  .hero-section .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
  }
  .hero-desc {
    margin: 0 auto 2rem;
  }
  .hero-actions {
    justify-content: center;
  }
  .hero-metrics {
    max-width: 620px;
    margin: 0 auto;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.15rem;
  }
  .painel-platform-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 1.15rem;
    max-width: 100%;
  }

  .site-header .container {
    padding: 0 1.15rem;
  }

  section {
    padding: 1.5rem 0;
  }

  .section-head {
    margin: 0 auto 1.15rem;
  }

  .section-title {
    font-size: clamp(1.55rem, 6vw, 2.15rem);
    line-height: 1.25;
  }

  .section-desc {
    font-size: 0.95rem;
    line-height: 1.6;
  }

  .brand-logo {
    font-size: 1.35rem;
    gap: 0.5rem;
  }

  .brand-logo-img {
    height: 32px;
  }

  .header-nav-actions {
    gap: 0.5rem;
  }

  .header-theme-btn {
    padding: 0.2rem;
  }

  .hero-section {
    padding: 5.85rem 0 2.75rem;
  }

  .hero-grid {
    gap: 2.25rem;
  }

  .badge-tech {
    white-space: normal;
    text-align: center;
    display: inline-flex;
    max-width: 100%;
    font-size: 0.78rem;
    line-height: 1.4;
    padding: 0.45rem 0.85rem;
    margin: 0 auto 1.25rem;
  }

  .hero-content {
    text-align: center;
  }

  .hero-title {
    font-size: clamp(1.65rem, 6.8vw, 2.35rem);
    line-height: 1.22;
    letter-spacing: -0.02em;
    margin-bottom: 1.2rem;
    word-break: normal;
    overflow-wrap: break-word;
    text-align: center;
  }

  .hero-desc {
    font-size: 0.96rem;
    line-height: 1.62;
    margin: 0 auto 1rem;
    text-align: center;
  }

  .hero-punchline {
    font-size: 1.15rem;
    line-height: 1.35;
    margin: 0 auto 1.5rem;
    text-align: center;
    display: block;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
    width: 100%;
    gap: 0.65rem;
    margin-bottom: 1.25rem;
  }

  .hero-actions .btn {
    width: auto;
    max-width: 100%;
    white-space: nowrap;
    padding: 0.62rem 1.35rem;
    font-size: 0.92rem;
    line-height: 1.25;
    text-align: center;
  }

  .hero-metrics {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.15rem 0.75rem;
    padding-top: 1.5rem;
    text-align: center;
    max-width: 100%;
  }

  .metric-item {
    text-align: center;
  }

  .painel-platform-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
    margin-top: 1.75rem;
  }

  .floating-pill {
    display: none;
  }

  .device-frame-wrap {
    padding: 0.35rem;
  }

  .showcase-pillars-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    margin-bottom: 2.25rem;
  }

  .showcase-metric-card {
    padding: 1.1rem 0.95rem;
    gap: 0.35rem;
  }

  .pillar-bg-element {
    right: -8px;
    bottom: -8px;
    width: 66px;
    height: 66px;
    opacity: 0.12;
  }

  .showcase-metric-card b {
    font-size: 0.96rem;
    line-height: 1.25;
    margin-bottom: 0.25rem;
  }

  .showcase-metric-card span {
    font-size: 0.78rem;
    line-height: 1.4;
  }

  .authority-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .authority-card {
    padding: 1.4rem 1.15rem;
    border-radius: 8px;
  }

  .authority-card-header {
    margin-bottom: 1rem;
    gap: 0.65rem;
  }

  .authority-card h4 {
    font-size: 1.12rem;
    margin-bottom: 0.65rem;
  }

  .authority-desc {
    font-size: 0.88rem;
    margin-bottom: 1.25rem;
  }

  .authority-law-list {
    gap: 0.75rem;
  }

  .authority-law-list li {
    font-size: 0.88rem;
    line-height: 1.45;
    padding-left: 1.1rem;
  }

  .g1-btn-read {
    width: auto;
    display: inline-flex;
    justify-content: center;
    white-space: nowrap;
    text-align: center;
    padding: 0.45rem 0.85rem;
    font-size: 0.78rem;
    border-radius: 4px;
  }

  .gallery-real-section {
    background: 
      linear-gradient(180deg, rgba(248, 250, 252, 0.95) 0%, rgba(241, 245, 249, 0.9) 40%, rgba(248, 250, 252, 0.95) 100%),
      url('assets/images/vertical.png') 80% top / cover no-repeat;
  }

  [data-theme="dark"] .gallery-real-section {
    background: 
      linear-gradient(180deg, rgba(5, 8, 16, 0.92) 0%, rgba(7, 12, 26, 0.8) 40%, rgba(5, 8, 16, 0.94) 100%),
      url('assets/images/vertical.png') 80% top / cover no-repeat;
  }

  .features-grid,
  .real-gallery-grid {
    grid-template-columns: 1fr;
    gap: 1.15rem;
  }

  .feature-card-item {
    text-align: center;
    padding: 1.35rem 1.15rem;
  }

  .feature-card-item h3,
  .feature-card-item p {
    text-align: center;
  }

  .feature-bg-element {
    right: -6px;
    bottom: -6px;
    width: 72px;
    height: 72px;
    opacity: 0.12;
  }

  .glass-card {
    padding: 1.4rem 1.15rem;
  }

  .real-photo-img-wrap {
    height: auto;
    aspect-ratio: 4 / 3;
    min-height: 260px;
  }

  .dual-mockup-stage {
    max-width: 100%;
    margin: 1.5rem auto 1.75rem;
    padding-top: 2.25rem;
    padding-bottom: 20px;
  }

  .laptop-mockup-frame {
    width: 86%;
    margin: 0 auto;
  }

  .phone-mockup-frame {
    width: 38%;
    max-width: 135px;
    right: 4%;
    bottom: -12px;
    border-radius: 18px;
    border-width: 2px;
  }

  .laptop-address {
    max-width: 130px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .comp-card-wrapper {
    padding: 1.75rem 0.65rem 1.45rem;
    border-radius: 16px;
  }

  .comp-header {
    margin-bottom: 1.25rem;
  }

  .comp-title {
    font-size: 1.35rem;
  }

  .comp-desc {
    font-size: 0.86rem;
    margin-bottom: 0.85rem;
  }

  .comp-board-wrap {
    width: 100%;
    overflow-x: visible;
    padding-bottom: 0;
  }

  .comp-board {
    min-width: 0;
    width: 100%;
    gap: 0.55rem;
  }

  .comp-item-block {
    gap: 0.25rem;
  }

  .comp-feature-label {
    font-size: 0.72rem;
    letter-spacing: 0.04em;
    gap: 0.35rem;
    padding: 0.25rem 0 0;
  }

  .comp-feature-label svg {
    width: 13px;
    height: 13px;
  }

  .comp-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
    align-items: stretch;
  }

  .comp-cell {
    padding: 0.7rem 0.7rem;
    min-height: 56px;
    gap: 0.35rem;
    border-radius: 9px;
  }

  .comp-head-cell {
    min-height: 42px;
    padding: 0.55rem 0.65rem;
    font-size: 0.95rem;
  }

  .comp-cell.cell-somfacil .cell-text,
  .comp-cell.cell-tradicional .cell-text {
    font-size: 0.84rem;
    line-height: 1.25;
  }

  .cell-watermark {
    width: 24px;
    height: 24px;
    min-width: 24px;
  }

  .faq-wrap {
    gap: 0.75rem;
  }

  .faq-question {
    padding: 1.1rem 1.15rem;
    font-size: 0.98rem;
    gap: 0.75rem;
  }

  .faq-answer {
    padding: 0 1.15rem;
    font-size: 0.9rem;
  }

  .faq-item.active .faq-answer {
    padding-bottom: 1.25rem;
  }

  .cta-banner {
    padding: 2.75rem 1.15rem;
    border-radius: var(--radius-md);
  }

  .cta-banner h2 {
    font-size: clamp(1.45rem, 5.5vw, 1.95rem);
  }

  .cta-banner p {
    font-size: 0.95rem;
    margin-bottom: 1.65rem;
  }

  .cta-banner .btn {
    width: auto;
    max-width: 100%;
    white-space: nowrap;
    padding: 0.65rem 1.35rem;
    font-size: 0.92rem;
  }

  .site-footer {
    padding: 3rem 0 1.5rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 0.75rem;
    font-size: 0.82rem;
  }
}

@media (max-width: 400px) {
  .brand-logo {
    font-size: 1.22rem;
  }

  .brand-logo-img {
    height: 28px;
  }

  .hero-title {
    font-size: 1.55rem;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
    gap: 0.85rem;
    text-align: center;
  }

  .metric-item {
    padding: 0.5rem 0;
  }
}
