/* ============================================================
   BRIVOX — CSS Módulos
   Dropdown Mega Menu + Neural Hero + Páginas de Módulo
   ============================================================ */

/* ─── MEGA MENU DROPDOWN ─────────────────────────────────── */
.nav-dropdown-parent {
  position: relative;
}

.nav-dropdown-trigger {
  display: flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}

.nav-dropdown-arrow {
  font-size: 10px;
  transition: transform 0.25s ease;
}

.nav-dropdown-parent:hover .nav-dropdown-arrow,
.nav-dropdown-parent.open .nav-dropdown-arrow {
  transform: rotate(180deg);
}

.nav-dropdown-mega {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  width: 980px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.18), 0 2px 12px rgba(0,0,0,0.08);
  border: 1px solid rgba(99,102,241,0.08);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
  z-index: 9999;
  overflow: hidden;
}

.nav-dropdown-parent:hover .nav-dropdown-mega,
.nav-dropdown-parent.open .nav-dropdown-mega {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* Mega Header */
.mega-header {
  background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 100%);
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mega-title {
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.mega-title i { color: #818cf8; }

.mega-sub {
  color: rgba(255,255,255,0.5);
  font-size: 12px;
}

/* Mega Grid — 4 colunas para 16 módulos */
.mega-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3px;
  padding: 14px;
  background: #f8fafc;
}

.mega-item {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 11px 14px;
  border-radius: 10px;
  text-decoration: none;
  transition: background 0.18s ease, transform 0.18s ease;
  background: #fff;
  min-width: 0;
}

.mega-item:hover {
  background: #f1f5f9;
  transform: translateY(-1px);
}

.mega-item.active {
  background: #f0f4ff;
  border: 1px solid rgba(99,102,241,0.2);
}

.mega-icon {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: color-mix(in srgb, var(--c) 12%, #fff);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 15px;
  color: var(--c);
  border: 1px solid color-mix(in srgb, var(--c) 20%, transparent);
}

.mega-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.mega-text strong {
  font-size: 13px;
  font-weight: 600;
  color: #1e293b;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mega-text span {
  font-size: 11.5px;
  color: #64748b;
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 180px;
}

/* Mega Footer */
.mega-footer {
  padding: 12px 24px;
  border-top: 1px solid #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
}

.mega-all-link,
.mega-demo-link {
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s;
}

.mega-all-link { color: #6366f1; }
.mega-all-link:hover { color: #4f46e5; }

.mega-demo-link {
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  color: #fff;
  padding: 7px 16px;
  border-radius: 8px;
  font-size: 12px;
}

.mega-demo-link:hover { opacity: 0.9; }

/* ─── MOBILE ACCORDION ───────────────────────────────────── */
.mobile-accordion {
  list-style: none;
}

.mobile-accordion-btn {
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  padding: 12px 0;
  font-size: 16px;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

.mobile-accordion-btn i {
  font-size: 12px;
  transition: transform 0.25s;
}

.mobile-accordion-btn.open i { transform: rotate(180deg); }

.mobile-accordion-content {
  display: none;
  flex-direction: column;
  background: rgba(255,255,255,0.05);
  border-radius: 10px;
  padding: 8px;
  margin-bottom: 8px;
  max-height: 360px;
  overflow-y: auto;
}

.mobile-accordion-content.open { display: flex; }

.mobile-accordion-content a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 8px;
  text-decoration: none;
  color: rgba(255,255,255,0.8);
  font-size: 13px;
  transition: background 0.15s;
}

.mobile-accordion-content a:hover,
.mobile-accordion-content a.active {
  background: rgba(255,255,255,0.1);
  color: #fff;
}

.mobile-accordion-content a i {
  width: 20px;
  text-align: center;
  font-size: 13px;
}

/* ─── PÁGINA DE MÓDULO ───────────────────────────────────── */
.modulo-page {
  background: #f8fafc;
}

/* ══════════════════════════════════════════════════════════
   HERO TECH PREMIUM — Múltiplas camadas animadas
══════════════════════════════════════════════════════════ */

/* ─── BASE DO HERO ───────────────────────────────────────── */
.modulo-hero {
  background:
    linear-gradient(180deg, #060d1a 0%, #0d1526 55%, #111827 100%);
  padding: 135px 0 80px;
  position: relative;
  overflow: hidden;
  min-height: 500px;
  isolation: isolate;
}

/* ─── CAMADAS CANVAS (todas absolutas, empilhadas) ─────── */
.hero-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hero-layer--grid     { z-index: 1; opacity: 0.55; }
.hero-layer--neural   { z-index: 2; opacity: 0.85; pointer-events: none; }
.hero-layer--particles{ z-index: 3; opacity: 0.70; }
.hero-layer--scan     { z-index: 4; opacity: 1;    }

/* Habilitar mouse no neural ao passar sobre o hero */
.modulo-hero:hover .hero-layer--neural { pointer-events: auto; }

/* ─── OVERLAY GRADIENT ───────────────────────────────────── */
.modulo-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  background:
    linear-gradient(
      to right,
      rgba(6,13,26,0.82) 0%,
      rgba(6,13,26,0.50) 55%,
      rgba(6,13,26,0.20) 100%
    ),
    linear-gradient(
      to bottom,
      rgba(6,13,26,0.60) 0%,
      transparent 40%,
      rgba(6,13,26,0.50) 100%
    );
}

/* ─── HALO COLORIDO RADIAL ───────────────────────────────── */
.modulo-hero-halo {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background: radial-gradient(
    ellipse 70% 80% at 75% 50%,
    color-mix(in srgb, var(--accent) 18%, transparent) 0%,
    transparent 70%
  );
}

/* ─── LINHA DO TOPO (borda colorida) ─────────────────────── */
.modulo-hero-topline {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  z-index: 10;
  background: linear-gradient(
    90deg,
    transparent 0%,
    color-mix(in srgb, var(--accent) 60%, transparent) 30%,
    var(--accent) 50%,
    color-mix(in srgb, var(--accent) 60%, transparent) 70%,
    transparent 100%
  );
  box-shadow: 0 0 18px color-mix(in srgb, var(--accent) 50%, transparent);
}

/* ─── FADE INFERIOR ──────────────────────────────────────── */
.modulo-hero-bottom-fade {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 100px;
  z-index: 6;
  pointer-events: none;
  background: linear-gradient(to bottom, transparent 0%, #f8fafc 100%);
}

/* ─── CONTAINER DO HERO ──────────────────────────────────── */
.modulo-hero-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 28px;
  position: relative;
  z-index: 10;
}

/* ─── BREADCRUMB ─────────────────────────────────────────── */
.modulo-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 36px;
  font-size: 12.5px;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.2px;
}
.modulo-breadcrumb a {
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  transition: color 0.2s;
}
.modulo-breadcrumb a:hover { color: var(--accent); }
.modulo-breadcrumb i.fa-chevron-right { font-size: 9px; opacity: 0.5; }
.modulo-breadcrumb span { color: rgba(255,255,255,0.85); }

/* ─── LAYOUT DO CONTEÚDO ─────────────────────────────────── */
.modulo-hero-content {
  display: flex;
  align-items: flex-start;
  gap: 36px;
}

/* ─── ÍCONE COM ANÉIS ANIMADOS ───────────────────────────── */
.modulo-hero-icon-wrap {
  position: relative;
  flex-shrink: 0;
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modulo-hero-icon {
  width: 92px;
  height: 92px;
  border-radius: 26px;
  background: color-mix(in srgb, var(--accent) 16%, rgba(255,255,255,0.04));
  border: 1.5px solid color-mix(in srgb, var(--accent) 50%, transparent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 38px;
  color: var(--accent);
  position: relative;
  z-index: 2;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow:
    0 0 0 8px color-mix(in srgb, var(--accent) 8%, transparent),
    0 0 50px color-mix(in srgb, var(--accent) 35%, transparent),
    inset 0 1px 0 rgba(255,255,255,0.08);
}

/* Anéis orbitais */
.modulo-hero-icon-ring {
  position: absolute;
  inset: -14px;
  border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--accent) 20%, transparent);
  animation: heroRingPulse 3s ease-in-out infinite;
}
.modulo-hero-icon-ring--2 {
  inset: -28px;
  border-color: color-mix(in srgb, var(--accent) 10%, transparent);
  animation-delay: 1.5s;
}

@keyframes heroRingPulse {
  0%, 100% { transform: scale(1);   opacity: 0.7; }
  50%       { transform: scale(1.06); opacity: 0.3; }
}

/* ─── TEXTO ──────────────────────────────────────────────── */
.modulo-hero-text { flex: 1; min-width: 0; }

/* ─── BADGE ──────────────────────────────────────────────── */
.modulo-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: color-mix(in srgb, var(--accent) 14%, rgba(255,255,255,0.03));
  color: var(--accent);
  border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent);
  padding: 5px 14px 5px 10px;
  border-radius: 30px;
  font-size: 11.5px;
  font-weight: 700;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

/* Ponto verde pulsante */
.badge-dot-live {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 6px var(--accent);
  animation: dotPulse 1.8s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes dotPulse {
  0%, 100% { transform: scale(1);   opacity: 1;   }
  50%       { transform: scale(1.4); opacity: 0.6; }
}

/* ─── TÍTULO ─────────────────────────────────────────────── */
.modulo-hero-title {
  font-size: clamp(30px, 5vw, 56px);
  font-weight: 900;
  color: #fff;
  line-height: 1.05;
  margin: 0 0 16px;
  font-family: 'Space Grotesk', sans-serif;
  letter-spacing: -0.5px;
  text-shadow: 0 2px 30px rgba(0,0,0,0.5);
}

/* ─── DESCRIÇÃO ──────────────────────────────────────────── */
.modulo-hero-desc {
  font-size: 16.5px;
  color: rgba(255,255,255,0.68);
  line-height: 1.8;
  margin: 0 0 26px;
  max-width: 580px;
}

/* ─── STATS RÁPIDAS ──────────────────────────────────────── */
.modulo-hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 28px;
  padding: 14px 20px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  width: fit-content;
  backdrop-filter: blur(8px);
}

.hero-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 20px;
}

.hero-stat-divider {
  width: 1px;
  height: 32px;
  background: rgba(255,255,255,0.12);
  flex-shrink: 0;
}

.stat-value {
  font-size: 22px;
  font-weight: 800;
  color: var(--accent);
  font-family: 'Space Grotesk', sans-serif;
  line-height: 1;
  margin-bottom: 3px;
}

.stat-label {
  font-size: 11px;
  color: rgba(255,255,255,0.45);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  font-weight: 500;
}

/* ─── BOTÕES DE AÇÃO ─────────────────────────────────────── */
.modulo-hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-modulo-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: #fff;
  padding: 13px 26px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  transition: opacity 0.2s, transform 0.2s, box-shadow 0.2s;
  box-shadow:
    0 4px 20px color-mix(in srgb, var(--accent) 45%, transparent),
    0 1px 0 rgba(255,255,255,0.15) inset;
  letter-spacing: 0.1px;
}
.btn-modulo-primary:hover {
  opacity: 0.90;
  transform: translateY(-2px);
  box-shadow:
    0 8px 28px color-mix(in srgb, var(--accent) 50%, transparent),
    0 1px 0 rgba(255,255,255,0.15) inset;
}

.btn-modulo-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.80);
  border: 1px solid rgba(255,255,255,0.15);
  padding: 13px 26px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  backdrop-filter: blur(4px);
}
.btn-modulo-outline:hover {
  background: rgba(255,255,255,0.12);
  color: #fff;
  border-color: rgba(255,255,255,0.30);
}

/* ─── CONTAINER E MAIN ───────────────────────────────────── */
.modulo-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.modulo-main {
  padding: 60px 0;
}

/* ─── PLACEHOLDER EM CONSTRUÇÃO ──────────────────────────── */
.modulo-em-construcao {
  padding: 60px 24px 100px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.construcao-inner {
  text-align: center;
  max-width: 520px;
}

.construcao-icon {
  width: 90px;
  height: 90px;
  border-radius: 24px;
  background: color-mix(in srgb, var(--accent) 10%, #f1f5f9);
  border: 2px solid color-mix(in srgb, var(--accent) 25%, transparent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 38px;
  color: var(--accent);
  margin: 0 auto 28px;
  box-shadow: 0 8px 30px color-mix(in srgb, var(--accent) 15%, transparent);
}

.construcao-inner h2 {
  font-size: 28px;
  font-weight: 800;
  color: #1e293b;
  margin: 0 0 14px;
}

.construcao-inner p {
  font-size: 16px;
  color: #64748b;
  line-height: 1.75;
  margin: 0 0 32px;
}

.btn-construcao {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: #fff;
  padding: 13px 28px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  transition: opacity 0.2s, transform 0.2s;
  box-shadow: 0 4px 20px color-mix(in srgb, var(--accent) 35%, transparent);
}

.btn-construcao:hover {
  opacity: 0.88;
  transform: translateY(-2px);
}

/* ─── OUTROS MÓDULOS ─────────────────────────────────────── */
.outros-modulos {
  background: #fff;
  padding: 50px 0;
  border-top: 1px solid #e2e8f0;
}

.outros-modulos h3 {
  font-size: 18px;
  font-weight: 700;
  color: #1e293b;
  margin: 0 0 24px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.outros-modulos h3 i { color: #6366f1; }

.outros-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 10px;
}

.outro-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 14px 10px;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  text-decoration: none;
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.outro-card:hover {
  border-color: color-mix(in srgb, var(--c) 35%, transparent);
  box-shadow: 0 4px 16px color-mix(in srgb, var(--c) 12%, transparent);
  transform: translateY(-2px);
}

.outro-icon {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  background: color-mix(in srgb, var(--c) 12%, #fff);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--c);
  border: 1px solid color-mix(in srgb, var(--c) 20%, transparent);
}

.outro-card span {
  font-size: 11.5px;
  font-weight: 600;
  color: #475569;
  text-align: center;
  line-height: 1.3;
}

/* ─── FOOTER MÓDULO ──────────────────────────────────────── */
.footer-modulo {
  background: #0f172a;
  padding: 32px 0;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-modulo-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-modulo-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-modulo-brand img { height: 26px; }

.footer-modulo-brand p {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  margin: 0;
}

.footer-modulo-links {
  display: flex;
  gap: 20px;
}

.footer-modulo-links a {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-modulo-links a:hover { color: #fff; }

.footer-modulo-copy {
  font-size: 12px;
  color: rgba(255,255,255,0.25);
  margin: 0;
  width: 100%;
  text-align: center;
}

/* ─── NAVBAR SCROLLED (para páginas de módulo) ───────────── */
.navbar-scrolled {
  background: rgba(15,23,42,0.98) !important;
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

/* ─── REVEAL ANIMATIONS ──────────────────────────────────── */
.reveal-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal-left {
  opacity: 0;
  transform: translateX(-24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal-right {
  opacity: 0;
  transform: translateX(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal-up.revealed,
.reveal-left.revealed,
.reveal-right.revealed {
  opacity: 1;
  transform: none;
}

/* ─── RESPONSIVO ─────────────────────────────────────────── */
@media (max-width: 1024px) {
  .nav-dropdown-mega { width: 760px; }
  .mega-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 900px) {
  .nav-dropdown-mega { display: none !important; }

  .modulo-hero-content {
    flex-direction: column;
    gap: 20px;
  }

  .modulo-hero-icon {
    width: 70px;
    height: 70px;
    font-size: 28px;
    border-radius: 18px;
  }

  .outros-grid {
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  }

  .footer-modulo-inner {
    flex-direction: column;
    text-align: center;
  }

  .footer-modulo-brand { flex-direction: column; }
  .footer-modulo-links { flex-wrap: wrap; justify-content: center; }
}

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

  .modulo-hero { padding: 105px 0 45px; }

  .modulo-hero-actions {
    flex-direction: column;
  }

  .btn-modulo-primary,
  .btn-modulo-outline,
  .btn-construcao { justify-content: center; }
}

/* ============================================================
   BRIVOX — Conteúdo das Páginas de Módulo (Premium Tech)
   ============================================================ */

/* ─── SEÇÃO INTRO / OVERVIEW ────────────────────────────────── */
.mod-overview {
  padding: 80px 0 60px;
  background: #fff;
}

.mod-container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 28px;
}

.mod-section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent, #6366f1);
  background: color-mix(in srgb, var(--accent, #6366f1) 8%, #fff);
  border: 1px solid color-mix(in srgb, var(--accent, #6366f1) 20%, transparent);
  padding: 6px 14px;
  border-radius: 50px;
  margin-bottom: 18px;
}

.mod-section-label i { font-size: 10px; }

.mod-section-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(26px, 4vw, 42px);
  font-weight: 700;
  color: #0f172a;
  line-height: 1.2;
  margin-bottom: 16px;
}

.mod-section-title span {
  background: linear-gradient(135deg, var(--accent, #6366f1), color-mix(in srgb, var(--accent, #6366f1) 60%, #a855f7));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.mod-section-desc {
  font-size: 17px;
  color: #475569;
  line-height: 1.75;
  max-width: 680px;
  margin-bottom: 0;
}

.mod-overview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-top: 56px;
}

.mod-overview-text .mod-feature-list {
  list-style: none;
  padding: 0;
  margin: 32px 0 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.mod-feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 15px;
  color: #334155;
  line-height: 1.5;
}

.mod-feature-list li .feat-icon {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: color-mix(in srgb, var(--accent, #6366f1) 10%, #fff);
  border: 1px solid color-mix(in srgb, var(--accent, #6366f1) 20%, transparent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--accent, #6366f1);
  font-size: 13px;
}

.mod-overview-visual {
  position: relative;
}

.mod-visual-card {
  background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 100%);
  border-radius: 20px;
  padding: 36px;
  box-shadow: 0 32px 80px rgba(0,0,0,0.22), 0 0 0 1px rgba(255,255,255,0.06);
  position: relative;
  overflow: hidden;
}

.mod-visual-card::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--accent, #6366f1) 30%, transparent), transparent 70%);
  pointer-events: none;
}

.mod-visual-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.mod-visual-header .icon-circle {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: color-mix(in srgb, var(--accent, #6366f1) 20%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent, #6366f1) 40%, transparent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent, #6366f1);
  font-size: 20px;
}

.mod-visual-header h4 {
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  margin: 0;
}

.mod-visual-header span {
  color: rgba(255,255,255,0.4);
  font-size: 12px;
  display: block;
  margin-top: 2px;
}

.mod-stat-row {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mod-stat-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mod-stat-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.mod-stat-info label {
  font-size: 11px;
  color: rgba(255,255,255,0.4);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.mod-stat-info strong {
  font-size: 14px;
  color: #fff;
  font-weight: 600;
}

.mod-stat-bar-wrap {
  width: 140px;
  height: 6px;
  background: rgba(255,255,255,0.08);
  border-radius: 3px;
  overflow: hidden;
}

.mod-stat-bar {
  height: 100%;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--accent, #6366f1), color-mix(in srgb, var(--accent, #6366f1) 60%, #818cf8));
  animation: barGrow 1.5s ease forwards;
  transform-origin: left;
}

@keyframes barGrow {
  from { width: 0 !important; }
  to { width: var(--w, 80%); }
}

/* ─── VÍDEO VIMEO CENTRAL ────────────────────────────────────── */
.mod-video-section {
  padding: 80px 0;
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
  position: relative;
  overflow: hidden;
}

.mod-video-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent, #6366f1), transparent);
}

.mod-video-section::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent, #6366f1), transparent);
}

.mod-video-header {
  text-align: center;
  margin-bottom: 48px;
}

.mod-video-wrapper {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
}

.mod-video-frame {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 */
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 40px 100px rgba(0,0,0,0.22), 0 0 0 1px rgba(0,0,0,0.06);
  background: #0f172a;
}

.mod-video-frame iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.mod-video-glow {
  position: absolute;
  inset: -3px;
  border-radius: 23px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--accent, #6366f1) 50%, transparent), transparent 50%, color-mix(in srgb, var(--accent, #6366f1) 30%, transparent));
  z-index: -1;
  filter: blur(8px);
}

.mod-video-placeholder {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 100%);
  cursor: pointer;
  transition: opacity 0.3s;
}

.mod-video-placeholder .play-btn {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--accent, #6366f1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: #fff;
  box-shadow: 0 0 40px color-mix(in srgb, var(--accent, #6366f1) 60%, transparent);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin-bottom: 20px;
}

.mod-video-placeholder:hover .play-btn {
  transform: scale(1.1);
  box-shadow: 0 0 60px color-mix(in srgb, var(--accent, #6366f1) 80%, transparent);
}

.mod-video-placeholder p {
  color: rgba(255,255,255,0.7);
  font-size: 15px;
  text-align: center;
  margin: 0;
}

.mod-video-placeholder small {
  color: rgba(255,255,255,0.35);
  font-size: 12px;
  display: block;
  margin-top: 6px;
}

/* ─── FUNCIONALIDADES / FEATURES GRID ───────────────────────── */
.mod-features-section {
  padding: 80px 0;
  background: #fff;
}

.mod-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 52px;
}

.mod-feature-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 28px 24px;
  transition: all 0.28s ease;
  position: relative;
  overflow: hidden;
}

.mod-feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent, #6366f1), color-mix(in srgb, var(--accent, #6366f1) 40%, #818cf8));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}

.mod-feature-card:hover {
  box-shadow: 0 12px 40px rgba(0,0,0,0.10);
  border-color: color-mix(in srgb, var(--accent, #6366f1) 25%, #e2e8f0);
  transform: translateY(-4px);
}

.mod-feature-card:hover::before {
  transform: scaleX(1);
}

.feat-card-icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: color-mix(in srgb, var(--accent, #6366f1) 10%, #fff);
  border: 1px solid color-mix(in srgb, var(--accent, #6366f1) 18%, transparent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--accent, #6366f1);
  margin-bottom: 18px;
}

.feat-card-title {
  font-size: 16px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 10px;
}

.feat-card-desc {
  font-size: 14px;
  color: #64748b;
  line-height: 1.65;
}

/* ─── COMO FUNCIONA / STEPS ─────────────────────────────────── */
.mod-steps-section {
  padding: 80px 0;
  background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
}

.mod-steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 52px;
  position: relative;
}

.mod-steps-grid::before {
  content: '';
  position: absolute;
  top: 36px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent, #6366f1), transparent);
  z-index: 0;
}

.mod-step {
  text-align: center;
  position: relative;
  z-index: 1;
}

.mod-step-num {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent, #6366f1), color-mix(in srgb, var(--accent, #6366f1) 60%, #1e1b4b));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  font-weight: 800;
  color: #fff;
  margin: 0 auto 20px;
  box-shadow: 0 8px 30px color-mix(in srgb, var(--accent, #6366f1) 40%, transparent);
  position: relative;
  font-family: 'Space Grotesk', sans-serif;
}

.mod-step-num i {
  font-size: 22px;
}

.mod-step h4 {
  font-size: 16px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 10px;
}

.mod-step p {
  font-size: 13.5px;
  color: #64748b;
  line-height: 1.6;
}

/* ─── BENEFÍCIOS / BENEFITS ─────────────────────────────────── */
.mod-benefits-section {
  padding: 80px 0;
  background: #0f172a;
  position: relative;
  overflow: hidden;
}

.mod-benefits-section::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--accent, #6366f1) 15%, transparent), transparent 70%);
  pointer-events: none;
}

.mod-benefits-section .mod-section-label {
  background: color-mix(in srgb, var(--accent, #6366f1) 15%, transparent);
  border-color: color-mix(in srgb, var(--accent, #6366f1) 30%, transparent);
  color: color-mix(in srgb, var(--accent, #6366f1) 90%, #fff);
}

.mod-benefits-section .mod-section-title {
  color: #fff;
}

.mod-benefits-section .mod-section-desc {
  color: rgba(255,255,255,0.55);
}

.mod-benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 52px;
}

.mod-benefit-item {
  display: flex;
  gap: 18px;
  padding: 24px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 14px;
  transition: all 0.25s ease;
}

.mod-benefit-item:hover {
  background: rgba(255,255,255,0.07);
  border-color: color-mix(in srgb, var(--accent, #6366f1) 35%, transparent);
}

.mod-benefit-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: color-mix(in srgb, var(--accent, #6366f1) 20%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent, #6366f1) 35%, transparent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--accent, #6366f1);
  font-size: 18px;
}

.mod-benefit-text h4 {
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 6px;
}

.mod-benefit-text p {
  color: rgba(255,255,255,0.5);
  font-size: 13.5px;
  line-height: 1.6;
  margin: 0;
}

/* ─── CTA FINAL ──────────────────────────────────────────────── */
.mod-cta-section {
  padding: 80px 0;
  background: #fff;
  text-align: center;
}

.mod-cta-card {
  max-width: 760px;
  margin: 0 auto;
  background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 100%);
  border-radius: 24px;
  padding: 60px 48px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 40px 100px rgba(0,0,0,0.18);
}

.mod-cta-card::before {
  content: '';
  position: absolute;
  top: -100px;
  left: -100px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--accent, #6366f1) 25%, transparent), transparent 70%);
  pointer-events: none;
}

.mod-cta-card::after {
  content: '';
  position: absolute;
  bottom: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--accent, #6366f1) 15%, transparent), transparent 70%);
  pointer-events: none;
}

.mod-cta-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: color-mix(in srgb, var(--accent, #6366f1) 20%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent, #6366f1) 35%, transparent);
  color: color-mix(in srgb, var(--accent, #6366f1) 90%, #fff);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}

.mod-cta-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.mod-cta-desc {
  font-size: 16px;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
  margin-bottom: 36px;
  position: relative;
  z-index: 1;
}

.mod-cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.btn-cta-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--accent, #6366f1);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.25s ease;
  box-shadow: 0 8px 24px color-mix(in srgb, var(--accent, #6366f1) 40%, transparent);
}

.btn-cta-primary:hover {
  filter: brightness(1.15);
  transform: translateY(-2px);
}

.btn-cta-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: rgba(255,255,255,0.85);
  font-size: 15px;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 12px;
  text-decoration: none;
  border: 1.5px solid rgba(255,255,255,0.2);
  transition: all 0.25s ease;
}

.btn-cta-outline:hover {
  border-color: rgba(255,255,255,0.5);
  color: #fff;
  background: rgba(255,255,255,0.05);
}

/* ─── RESPONSIVO CONTEÚDO ────────────────────────────────────── */
@media (max-width: 900px) {
  .mod-overview-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .mod-features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .mod-steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .mod-steps-grid::before {
    display: none;
  }

  .mod-benefits-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .mod-overview, .mod-video-section, .mod-features-section,
  .mod-steps-section, .mod-benefits-section, .mod-cta-section {
    padding: 56px 0;
  }

  .mod-features-grid {
    grid-template-columns: 1fr;
  }

  .mod-steps-grid {
    grid-template-columns: 1fr;
  }

  .mod-cta-card {
    padding: 40px 24px;
  }
}
