/* ==========================================================================
   SAÚDE EVOLUTIVA — DESIGN SYSTEM (DARK MODE MEDTECH + LARANJA OFICIAL)
   Paleta da Marca: Fundo Preto/Escuro com Destaques em Laranja (#ff6600)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Inter:wght@300;400;500;600;700;800&display=swap');

/* --------------------------------------------------------------------------
   DESIGN TOKENS — PALETA DA MARCA (FUNDO PRETO & LARANJA #ff6600)
   -------------------------------------------------------------------------- */
:root {
  /* Laranja da Logo */
  --brand-orange:        #ff6600;
  --brand-orange-hover:  #e05500;
  --brand-orange-light:  rgba(255, 102, 0, 0.12);
  --brand-orange-subtle: rgba(255, 102, 0, 0.06);
  --brand-orange-glow:   rgba(255, 102, 0, 0.4);

  /* Backgrounds Escuros / Preto MedTech */
  --bg-void:    #03070f;
  --bg-deep:    #060d1a;
  --bg-surface: #0a1628;
  --bg-card:    rgba(10, 22, 40, 0.85);
  --bg-card-alt:rgba(15, 28, 50, 0.9);
  --bg-glass:   rgba(255, 255, 255, 0.03);

  /* Borders Escuras & Glow */
  --border-glass:  rgba(255, 255, 255, 0.08);
  --border-orange: rgba(255, 102, 0, 0.35);
  --border-glow:   rgba(255, 102, 0, 0.6);

  /* Text Colors */
  --text-title:     #ffffff;
  --text-body:      #e2e8f0;
  --text-secondary: #94a3b8;
  --text-muted:     #64748b;

  /* Layout */
  --header-height:  78px;
  --max-width:      1280px;
  --radius-xs:      6px;
  --radius-sm:      10px;
  --radius-md:      18px;
  --radius-lg:      28px;

  /* Shadows & Glows */
  --shadow-card:    0 20px 50px -10px rgba(0, 0, 0, 0.8);
  --shadow-hover:   0 30px 70px -10px rgba(255, 102, 0, 0.25), 0 0 30px rgba(255, 102, 0, 0.15);
  --glow-orange:    0 0 35px rgba(255, 102, 0, 0.4);

  /* Transitions */
  --t-fast:   0.18s cubic-bezier(0.4, 0, 0.2, 1);
  --t-normal: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --t-slow:   0.6s cubic-bezier(0.4, 0, 0.2, 1);

  /* Fonts */
  --font-heading: 'Space Grotesk', system-ui, sans-serif;
  --font-body:    'Inter', system-ui, sans-serif;
}

/* --------------------------------------------------------------------------
   RESET & BASE (TEMA PRETO MEDTECH)
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  height: 100%;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  font-family: var(--font-body);
  background-color: var(--bg-void);
  color: var(--text-body);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

main {
  flex: 1 0 auto;
}

/* Grid background tech no fundo escuro */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 102, 0, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 102, 0, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
  z-index: 0;
}

a { color: inherit; text-decoration: none; transition: color var(--t-fast); }
img { max-width: 100%; height: auto; display: block; }
button { font-family: inherit; cursor: pointer; border: none; outline: none; background: none; }

.container {
  width: 92%;
  max-width: var(--max-width);
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.section-padding { padding: 100px 0; }
.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* --------------------------------------------------------------------------
   TEXT & TAGS HIGHLIGHTS
   -------------------------------------------------------------------------- */
.text-orange { color: var(--brand-orange); }

.gradient-text-orange {
  background: linear-gradient(135deg, #ff6600 0%, #ff8833 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  border-radius: 999px;
  background: var(--brand-orange-light);
  border: 1px solid var(--border-orange);
  color: var(--brand-orange);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 18px;
  font-family: var(--font-heading);
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.6rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 18px;
  color: var(--text-title);
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 720px;
  margin-bottom: 48px;
  line-height: 1.75;
}

/* --------------------------------------------------------------------------
   NAVBAR (FUNDO PRETO CRISTALINO & LARANJA)
   -------------------------------------------------------------------------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  transition: all var(--t-normal);
  background: rgba(3, 7, 15, 0.75);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-glass);
}

.navbar.scrolled {
  background: rgba(3, 7, 15, 0.95);
  border-bottom-color: var(--border-orange);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.8);
}

.navbar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 24px;
}

.brand-logo img {
  height: 46px;
  width: auto;
  filter: drop-shadow(0 0 10px rgba(255, 102, 0, 0.4));
  transition: filter var(--t-fast);
}

.brand-logo:hover img {
  filter: drop-shadow(0 0 18px rgba(255, 102, 0, 0.7));
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
  padding: 8px 14px;
  border-radius: var(--radius-xs);
  transition: all var(--t-fast);
  font-family: var(--font-heading);
}

.nav-link:hover, .nav-link.active {
  color: var(--brand-orange);
  background: var(--brand-orange-light);
}

/* BOTÕES INSTITUCIONAIS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 26px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.95rem;
  transition: all var(--t-normal);
  white-space: nowrap;
  font-family: var(--font-heading);
  letter-spacing: 0.02em;
}

.btn-primary {
  background: linear-gradient(135deg, #ff6600 0%, #e05500 100%);
  color: #ffffff;
  box-shadow: 0 4px 20px rgba(255, 102, 0, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255, 102, 0, 0.6);
  background: linear-gradient(135deg, #ff771a 0%, #e05500 100%);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.04);
  border: 1.5px solid var(--border-orange);
  color: var(--brand-orange);
}

.btn-secondary:hover {
  background: var(--brand-orange-light);
  border-color: var(--brand-orange);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: var(--glow-orange);
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  cursor: pointer;
}

.mobile-toggle span {
  width: 100%;
  height: 2px;
  background: var(--brand-orange);
  border-radius: 2px;
}

/* --------------------------------------------------------------------------
   HERO SECTION — PRETO COM ANIMAÇÃO DE TRAÇADO ECG (CORRENDO CONTINUAMENTE)
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 90vh;
  padding-top: calc(var(--header-height) + 40px);
  padding-bottom: 90px;
  display: flex;
  align-items: center;
  background: radial-gradient(circle at 50% 20%, rgba(255, 102, 0, 0.12) 0%, rgba(3, 7, 15, 1) 75%);
  overflow: hidden;
}

.orb-1 {
  position: absolute;
  width: 550px;
  height: 550px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 102, 0, 0.15) 0%, transparent 70%);
  filter: blur(90px);
  top: -120px;
  right: -80px;
  pointer-events: none;
}

/* TRAÇADO ELETROCARDIOGRÁFICO (ECG) — EFEITO CONTINUO DE LINHA AVANÇANDO */
.hero-ecg-container {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 140px;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}

.hero-ecg-svg {
  width: 100%;
  height: 100%;
}

.ecg-linha {
  fill: none;
  stroke: var(--brand-orange);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;

  /* Técnica exata de dasharray solicitada */
  stroke-dasharray: 180 820;
  stroke-dashoffset: 1000;

  filter:
    drop-shadow(0 0 4px var(--brand-orange))
    drop-shadow(0 0 10px var(--brand-orange));

  animation: mover-ecg 2.5s linear infinite;
}

@keyframes mover-ecg {
  to {
    stroke-dashoffset: 0;
  }
}

/* ESTRUTURA DIVIDIDA EM 2 COLUNAS NO HERO */
.hero-grid-split {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: 50px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-text-col {
  text-align: left;
}

.hero-pretag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}

.pretag-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-orange);
  box-shadow: 0 0 10px var(--brand-orange);
  animation: dotPulse 2s ease-in-out infinite;
}

@keyframes dotPulse {
  0%, 100% { box-shadow: 0 0 6px var(--brand-orange); }
  50% { box-shadow: 0 0 20px var(--brand-orange), 0 0 40px rgba(255, 102, 0, 0.6); }
}

.pretag-text {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-orange);
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 18px;
  color: var(--text-title);
}

.hero-description {
  font-size: 1.05rem;
  color: var(--text-secondary);
  margin-bottom: 24px;
  line-height: 1.75;
}

/* DESTAQUE REFEITO SEM CAIXA (FAIXA COM LINHA DE ACENTO VERTICAL EM LARANJA) */
.hero-callout-strip {
  display: flex;
  align-items: stretch;
  gap: 16px;
  margin: 24px 0 28px 0;
  position: relative;
}

.callout-bar {
  width: 4px;
  border-radius: 4px;
  background: linear-gradient(180deg, #ff6600 0%, #ff9933 100%);
  box-shadow: 0 0 15px rgba(255, 102, 0, 0.7);
  flex-shrink: 0;
}

.callout-tag {
  font-family: var(--font-heading);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--brand-orange);
  text-transform: uppercase;
  display: block;
  margin-bottom: 4px;
}

.callout-text {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.45;
  font-style: italic;
}

/* NOVO PAINEL DE LINHAS ELEGANTES DE AUTORIDADE COM ANIMAÇÃO GROW & GLOW */
.hero-stats-showcase {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.stat-feature-row {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px 22px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(10, 22, 40, 0.85) 0%, rgba(15, 28, 50, 0.75) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(16px);
  position: relative;
  overflow: hidden;

  /* Animação de entrada grow + iluminação glow continua */
  opacity: 0;
  animation: statGrowEntry 0.75s cubic-bezier(0.34, 1.56, 0.64, 1) forwards,
             statRowGlow 3.5s ease-in-out infinite alternate;
  transition: transform var(--t-fast), border-color var(--t-fast), box-shadow var(--t-fast);
}

/* Delay escalonado para aparição das 4 caixas uma a uma ao abrir o site */
.stat-feature-row:nth-child(1) { animation-delay: 0.1s, 0.85s; }
.stat-feature-row:nth-child(2) { animation-delay: 0.25s, 1.05s; }
.stat-feature-row:nth-child(3) { animation-delay: 0.4s, 1.25s; }
.stat-feature-row:nth-child(4) { animation-delay: 0.55s, 1.45s; }

@keyframes statGrowEntry {
  0% {
    opacity: 0;
    transform: translateY(30px) scale(0.92);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes statRowGlow {
  0% {
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.5);
  }
  100% {
    border-color: rgba(255, 102, 0, 0.45);
    box-shadow: 0 12px 35px -5px rgba(255, 102, 0, 0.25), 0 0 20px rgba(255, 102, 0, 0.12);
  }
}

.stat-feature-row::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--brand-orange);
  opacity: 0.7;
  transition: width var(--t-fast), opacity var(--t-fast);
}

.stat-feature-row:hover {
  transform: translateX(6px) scale(1.02);
  border-color: var(--brand-orange);
  background: linear-gradient(135deg, rgba(255, 102, 0, 0.14) 0%, rgba(10, 22, 40, 0.92) 100%);
  box-shadow: 0 16px 45px -5px rgba(255, 102, 0, 0.35);
}

.stat-feature-row:hover::before {
  width: 5px;
  opacity: 1;
}

.stat-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--brand-orange-light);
  border: 1px solid var(--border-orange);
  color: var(--brand-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.stat-number-box {
  min-width: 80px;
  text-align: center;
}

.stat-big-num {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--brand-orange);
  line-height: 1;
  text-shadow: 0 0 15px rgba(255, 102, 0, 0.3);
}

.stat-text-box strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 3px;
}

.stat-text-box span {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.35;
  display: block;
}


.highlight-text {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.4;
}

.hero-badge-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 36px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-glass);
  color: var(--text-body);
  font-family: var(--font-heading);
}

.hero-badge i {
  color: var(--brand-orange);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

/* --------------------------------------------------------------------------
   MÉTRICAS (TEMA PRETO MEDTECH)
   -------------------------------------------------------------------------- */
.metrics-section {
  position: relative;
  padding: 0;
}

.metrics-inner {
  background: rgba(10, 22, 40, 0.7);
  border-top: 1px solid var(--border-glass);
  border-bottom: 1px solid var(--border-glass);
  padding: 60px 0;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.metric-card {
  padding: 28px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  transition: transform var(--t-fast);
}

.metric-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-orange);
}

.metric-number {
  font-family: var(--font-heading);
  font-size: 3.2rem;
  font-weight: 700;
  color: var(--brand-orange);
  display: block;
  margin-bottom: 6px;
  line-height: 1;
}

.metric-label {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 4px;
}

.metric-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   SERVIÇOS ESPECIALIZADOS
   -------------------------------------------------------------------------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

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

@media (max-width: 640px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
  transition: all var(--t-normal);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--brand-orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-normal);
}

.service-card:hover {
  border-color: var(--border-orange);
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}

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

.service-icon-wrapper {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  background: var(--brand-orange-light);
  border: 1px solid var(--border-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.45rem;
  color: var(--brand-orange);
  margin-bottom: 20px;
  transition: all var(--t-fast);
  flex-shrink: 0;
}

.service-card:hover .service-icon-wrapper {
  background: var(--brand-orange);
  color: #ffffff;
  box-shadow: 0 0 20px rgba(255, 102, 0, 0.5);
}

.service-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 12px;
  min-height: 52px;
  display: flex;
  align-items: center;
  line-height: 1.35;
}

.service-description-wrapper {
  height: 132px;
  min-height: 132px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin-bottom: 16px;
}

.service-description {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 0;
}

.btn-card-host {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #25d366;
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.35);
  transition: all var(--t-fast);
  margin-top: 10px;
  margin-bottom: 0;
  width: 100%;
}

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

.service-features-list {
  list-style: none;
  margin-top: 0;
  padding-top: 20px;
  border-top: 1px solid var(--border-glass);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.service-features-list li {
  font-size: 0.83rem;
  color: var(--text-body);
  display: flex;
  align-items: center;
  gap: 10px;
  line-height: 1.35;
  white-space: nowrap;
}

.service-features-list li i {
  color: var(--brand-orange);
  font-size: 0.85rem;
}

/* --------------------------------------------------------------------------
   SALAS DE GESTÃO
   -------------------------------------------------------------------------- */
.tab-buttons-container {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.tab-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-glass);
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 0.88rem;
  transition: all var(--t-fast);
  font-family: var(--font-heading);
}

.tab-btn img { width: 22px; height: 22px; }

.tab-btn:hover {
  border-color: var(--brand-orange);
  color: var(--brand-orange);
  background: var(--brand-orange-light);
}

.tab-btn.active {
  background: var(--brand-orange);
  border-color: var(--brand-orange);
  color: #ffffff;
  box-shadow: 0 4px 20px rgba(255, 102, 0, 0.4);
}

.tab-content { display: none; }
.tab-content.active { display: block; }

/* BRASIL 360: GRID DE 4 CAIXAS PEQUENAS E COMPACTAS */
.modules-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 28px;
}

.modules-grid-centered {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin: 0 auto;
}

.modules-grid-centered .compact-card {
  max-width: 480px;
  width: 100%;
}

.compact-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 20px;
  cursor: pointer;
  box-shadow: var(--shadow-card);
  transition: all var(--t-fast);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.compact-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--brand-orange);
  opacity: 0.3;
  transition: opacity var(--t-fast);
}

.compact-card:hover, .compact-card.active {
  border-color: var(--border-orange);
  background: linear-gradient(135deg, rgba(255, 102, 0, 0.12) 0%, rgba(10, 22, 40, 0.95) 100%);
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.compact-card:hover::before, .compact-card.active::before {
  opacity: 1;
}

.card-hover-badge {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--brand-orange);
  margin-top: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* BANNER DE CTA: 20 DIAS GRATUITOS NO SALAS DE GESTÃO (1 LINHA HORIZONTAL COMPACTA) */
.salas-gestao-cta-banner {
  margin-top: 20px;
  background: linear-gradient(135deg, rgba(255, 102, 0, 0.12) 0%, rgba(8, 18, 36, 0.96) 100%);
  border: 1px solid var(--border-orange);
  border-radius: 14px;
  padding: 12px 24px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(255, 102, 0, 0.15);
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
}

.cta-banner-content {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
}

.cta-text-wrapper {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
  text-align: left;
}

.cta-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border-radius: 999px;
  background: rgba(255, 102, 0, 0.2);
  border: 1px solid var(--border-orange);
  color: var(--brand-orange);
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 800;
  white-space: nowrap;
  flex-shrink: 0;
}

.cta-banner-title {
  font-family: var(--font-heading);
  font-size: 0.96rem;
  font-weight: 600;
  color: #ffffff;
  line-height: 1.35;
  margin: 0;
  text-align: left;
}

.btn-whatsapp-cta {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #25d366;
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 700;
  padding: 9px 26px;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
  transition: all var(--t-fast);
  white-space: nowrap;
  flex-shrink: 0;
  margin-top: 0 !important;
}

.btn-whatsapp-cta:hover {
  background: #20ba5a;
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.5);
  color: #ffffff;
}

/* MODAL FLUTUANTE DE ALTA TECNOLOGIA PARA DEMONSTRAÇÃO DO COMPUTADOR BRASIL 360 */
.b360-preview-modal-backdrop {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(3, 7, 15, 0.85);
  backdrop-filter: blur(12px);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  padding: 20px;
}

.b360-preview-modal-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.b360-preview-modal-dialog {
  background: linear-gradient(135deg, rgba(8, 18, 36, 0.96) 0%, rgba(3, 7, 15, 0.98) 100%);
  border: 1.5px solid var(--border-orange);
  border-radius: 18px;
  width: 100%;
  max-width: 880px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 40px rgba(255, 102, 0, 0.25);
  padding: 24px;
  transform: scale(0.92);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
}

.b360-preview-modal-backdrop.active .b360-preview-modal-dialog {
  transform: scale(1);
}

.b360-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.b360-modal-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
}

.b360-modal-close {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--t-fast);
}

.b360-modal-close:hover {
  background: var(--brand-orange);
  border-color: var(--brand-orange);
  color: #ffffff;
  transform: rotate(90deg);
}

.b360-modal-body {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: #02050b;
  border: 1px solid rgba(255, 255, 255, 0.12);
  margin: 0 auto 16px auto;
  height: 440px;
  max-height: 440px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  cursor: pointer;
  box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.9);
}

.b360-modal-img {
  max-width: 100%;
  max-height: 420px;
  width: auto;
  height: auto;
  object-fit: contain;
  margin: 0 auto;
  display: block;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.b360-modal-body:hover .b360-modal-img {
  transform: scale(1.01);
}

.b360-modal-pills-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.b360-pill {
  font-family: var(--font-heading);
  font-size: 0.76rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-secondary);
  transition: all var(--t-fast);
  cursor: pointer;
}

.b360-pill:hover, .b360-pill.active {
  background: var(--brand-orange);
  border-color: var(--brand-orange);
  color: #ffffff;
  box-shadow: 0 0 14px rgba(255, 102, 0, 0.45);
}

.b360-modal-footer {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  background: rgba(255, 102, 0, 0.08);
  border-left: 4px solid var(--brand-orange);
  border-radius: 0 8px 8px 0;
}

.b360-modal-badge {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--brand-orange);
  text-transform: uppercase;
  white-space: nowrap;
  background: rgba(255, 102, 0, 0.15);
  padding: 4px 10px;
  border-radius: 4px;
}

.b360-modal-desc {
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 600;
  color: #ffffff;
  line-height: 1.45;
  transition: opacity 0.3s ease;
}

.modules-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.module-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 28px;
  cursor: pointer;
  box-shadow: var(--shadow-card);
  transition: all var(--t-fast);
}

.module-card:hover {
  border-color: var(--brand-orange);
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.module-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.module-icon-img { width: 44px; height: 44px; }

.module-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
}

.module-subtitle {
  font-size: 0.78rem;
  color: var(--brand-orange);
  font-weight: 700;
}

.module-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   REGULAÇÃO & GED
   -------------------------------------------------------------------------- */
.regulacao-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

/* REGULAÇÃO AUTOMATIC SCREEN SHOWCASE (SEM CAIXA EXTERNA, SEM FADE) */
.regulacao-showcase-column {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: 100%;
}

.regulacao-screen-container {
  width: 100%;
  max-width: 640px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.regulacao-screen-img {
  width: 100%;
  height: auto;
  max-height: 440px;
  object-fit: contain;
  border-radius: 8px;
  transition: none;
}

.regulacao-custom-note {
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 600;
  color: #ffffff;
  text-align: center;
  margin-top: 14px;
  line-height: 1.45;
  max-width: 580px;
}

.regulacao-custom-note i {
  color: var(--brand-orange);
  margin-right: 6px;
}

.feature-pill-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 24px;
}

.feature-pill-item {
  display: flex;
  gap: 16px;
  padding: 18px 22px;
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  box-shadow: var(--shadow-card);
  transition: all var(--t-fast);
}

.feature-pill-item:hover {
  border-color: var(--border-orange);
  background: var(--brand-orange-light);
  transform: translateX(4px);
}

.pill-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--brand-orange-light);
  color: var(--brand-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.pill-text h4 {
  font-family: var(--font-heading);
  font-size: 0.98rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 4px;
}

.pill-text p {
  font-size: 0.86rem;
  color: var(--text-secondary);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border-glass);
  cursor: pointer;
  box-shadow: var(--shadow-card);
  transition: all var(--t-fast);
}

.gallery-item:hover { transform: scale(1.02); border-color: var(--brand-orange); }

.gallery-item img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  transition: transform var(--t-normal);
}

.gallery-item:hover img { transform: scale(1.05); }

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(3,7,15,0.85) 0%, transparent 60%);
  display: flex;
  align-items: flex-end;
  padding: 14px;
  opacity: 0;
  transition: opacity var(--t-fast);
}

.gallery-item:hover .gallery-overlay { opacity: 1; }

.gallery-title {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  color: #ffffff;
}

/* --------------------------------------------------------------------------
   PAINEL SMART TV
   -------------------------------------------------------------------------- */
.tv-showcase-container {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 50px;
  align-items: center;
}

.smart-tv-frame {
  position: relative;
  background: #060d1a;
  border: 4px solid #1e2838;
  border-radius: 18px;
  box-shadow: 0 25px 60px -10px rgba(0, 0, 0, 0.9);
  overflow: hidden;
}

.tv-css-screen {
  background: radial-gradient(circle at 50% 20%, #0f1d33 0%, #03070f 100%);
  aspect-ratio: 16 / 9;
  display: flex;
  flex-direction: column;
  padding: 18px;
  position: relative;
}

.tv-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 16px;
}

.tv-brand-tag {
  display: flex;
  align-items: center;
  gap: 8px;
}

.tv-brand-tag img { height: 26px; width: auto; }

.tv-brand-title {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.06em;
}

.tv-status-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(255, 102, 0, 0.15);
  border: 1px solid rgba(255, 102, 0, 0.4);
  color: #ff6600;
  font-size: 0.7rem;
  font-weight: 700;
  font-family: var(--font-heading);
}

.tv-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ff6600;
  box-shadow: 0 0 8px #ff6600;
}

.tv-clock-time {
  font-family: 'Space Grotesk', monospace;
  font-size: 1.05rem;
  font-weight: 700;
  color: #ff6600;
}

.tv-calling-card {
  flex: 1;
  background: rgba(255, 255, 255, 0.03);
  border: 1.5px solid rgba(255, 102, 0, 0.4);
  border-radius: 12px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.tv-calling-card.calling-pulse {
  animation: tvFlashPulse 0.7s ease infinite alternate;
}

@keyframes tvFlashPulse {
  0% { border-color: #ff6600; box-shadow: 0 0 20px rgba(255, 102, 0, 0.5); }
  100% { border-color: #ffffff; box-shadow: 0 0 40px rgba(255, 255, 255, 0.7); }
}

.tv-call-label {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: #ff6600;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.tv-call-patient {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 10px;
}

.tv-call-dest {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: #ff6600;
  background: rgba(255, 102, 0, 0.12);
  padding: 5px 16px;
  border-radius: 6px;
  border: 1px solid rgba(255, 102, 0, 0.3);
}

.tv-history-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 14px;
}

.tv-history-item {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 7px;
  padding: 8px 10px;
  font-size: 0.7rem;
}

.tv-history-name { font-weight: 700; color: #ffffff; font-family: var(--font-heading); }
.tv-history-room { color: var(--text-muted); font-size: 0.63rem; }

.tv-stand-feet {
  width: 180px;
  height: 12px;
  background: #1e2838;
  margin: 0 auto;
  border-radius: 0 0 8px 8px;
}

/* --------------------------------------------------------------------------
   SEÇÃO QUEM SOMOS — FUNDADORES
   -------------------------------------------------------------------------- */
.founders-stack {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.founder-row-card {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 0;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  position: relative;
  transition: all var(--t-normal);
}

.founder-row-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #ff6600, #94a3b8);
}

.founder-row-card:hover {
  border-color: var(--border-orange);
  box-shadow: var(--shadow-hover);
}

.founder-row-card.reverse {
  grid-template-columns: 1fr 380px;
}

.founder-photo-box {
  position: relative;
  min-height: 420px;
  overflow: hidden;
}

.founder-photo-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--t-slow);
}

.founder-row-card:hover .founder-photo-box img {
  transform: scale(1.03);
}

.founder-content-box {
  padding: 48px 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.founder-name {
  font-family: var(--font-heading);
  font-size: 1.9rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 4px;
}

.founder-role-title {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--brand-orange);
  margin-bottom: 24px;
}

.founder-bio-text {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.75;
}

.founder-bio-text p { margin-bottom: 14px; }
.founder-bio-text strong { color: #ffffff; }

.founder-tags-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.tag-badge {
  font-family: var(--font-heading);
  font-size: 0.74rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--brand-orange-light);
  border: 1px solid var(--border-orange);
  color: var(--brand-orange);
  transition: all var(--t-fast);
}

.tag-badge:hover {
  background: var(--brand-orange);
  color: #ffffff;
}

/* --------------------------------------------------------------------------
   FORMULÁRIO CONTATO
   -------------------------------------------------------------------------- */
.contact-section {
  padding-bottom: 40px !important;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}

.contact-card-form {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 44px;
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}

.contact-card-form::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--brand-orange);
}

.contact-card-form h3 {
  font-family: var(--font-heading);
  color: #ffffff;
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 24px;
}

.form-group { margin-bottom: 20px; }

.form-label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 8px;
}

.form-control {
  width: 100%;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  background: rgba(3, 7, 15, 0.6);
  border: 1px solid var(--border-glass);
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 0.92rem;
  transition: all var(--t-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--brand-orange);
  box-shadow: 0 0 0 3px rgba(255, 102, 0, 0.2);
}

.form-control::placeholder { color: var(--text-muted); }

/* BARRA DE REDES SOCIAIS (WHATSAPP, INSTAGRAM, YOUTUBE) */
.contact-social-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 8px;
}

.social-icon-btn {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #ffffff;
  text-decoration: none;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  transition: all var(--t-fast);
}

.social-icon-btn.whatsapp {
  background: rgba(37, 211, 102, 0.15);
  border-color: rgba(37, 211, 102, 0.4);
  color: #25d366;
}

.social-icon-btn.whatsapp:hover {
  background: #25d366;
  color: #ffffff;
  transform: translateY(-3px) scale(1.08);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6);
}

.social-icon-btn.instagram {
  background: rgba(225, 48, 108, 0.15);
  border-color: rgba(225, 48, 108, 0.4);
  color: #e1306c;
}

.social-icon-btn.instagram:hover {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  color: #ffffff;
  border-color: transparent;
  transform: translateY(-3px) scale(1.08);
  box-shadow: 0 8px 25px rgba(225, 48, 108, 0.6);
}

.social-icon-btn.youtube {
  background: rgba(255, 0, 0, 0.15);
  border-color: rgba(255, 0, 0, 0.4);
  color: #ff0000;
}

.social-icon-btn.youtube:hover {
  background: #ff0000;
  color: #ffffff;
  transform: translateY(-3px) scale(1.08);
  box-shadow: 0 8px 25px rgba(255, 0, 0, 0.6);
}

/* --------------------------------------------------------------------------
   FOOTER (PRETO INSTITUCIONAL COMPACTO)
   -------------------------------------------------------------------------- */
.footer {
  flex-shrink: 0;
  margin-top: auto;
  background: #02050b;
  color: #ffffff;
  padding: 14px 0;
  border-top: 2px solid var(--brand-orange);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: var(--text-muted);
  font-family: var(--font-heading);
}

/* --------------------------------------------------------------------------
   LIGHTBOX MODAL
   -------------------------------------------------------------------------- */
.modal-lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(3, 7, 15, 0.95);
  backdrop-filter: blur(12px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-lightbox.active { display: flex; }

.modal-content {
  position: relative;
  max-width: 95vw;
  max-height: 95vh;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 2px solid var(--brand-orange);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9);
  background: #03070f;
}

.modal-content img {
  max-width: 100%;
  max-height: 88vh;
  object-fit: contain;
  display: block;
}

.modal-caption {
  background: #060d1a;
  color: #ffffff;
  font-size: 0.85rem;
  padding: 12px 20px;
  font-family: var(--font-heading);
  border-top: 1px solid var(--border-glass);
}

.modal-close-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--brand-orange);
  color: #ffffff;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 50;
  border: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.modal-close-btn:hover { transform: scale(1.1); background: var(--brand-orange-hover); }

/* --------------------------------------------------------------------------
   MOBILE NAV OVERLAY
   -------------------------------------------------------------------------- */
.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  background: #03070f;
  z-index: 999;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.mobile-nav-overlay.active { display: flex; }

.mobile-nav-overlay a {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: #ffffff;
}

.mobile-nav-overlay a:hover { color: var(--brand-orange); }

/* --------------------------------------------------------------------------
   CLIENTES & MAPA SVG INTERATIVO DO BRASIL (#clientes)
   -------------------------------------------------------------------------- */
.clientes-interactive-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  align-items: center;
  margin-top: 36px;
}

.clientes-map-box {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5), 0 0 30px rgba(255, 102, 0, 0.1);
  transition: all var(--t-fast);
}

.clientes-map-box:hover {
  border-color: var(--border-orange);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 40px rgba(255, 102, 0, 0.2);
}

.brazil-map-svg-container {
  width: 100%;
  max-width: 540px;
  height: auto;
}

.brazil-svg-map {
  width: 100%;
  height: auto;
  overflow: visible;
}

/* ESTILOS DOS ESTADOS NO SVG */
.state-path {
  fill: #2a3447;
  stroke: #0a1120;
  stroke-width: 1.2px;
  stroke-linejoin: round;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ESTADOS COM PARCEIRO EXCLUSIVO (ORANGE VIBRANT) */
.state-path.active-partner {
  fill: #ff6600;
  stroke: #ffffff;
  stroke-width: 1.5px;
  filter: drop-shadow(0 0 6px rgba(255, 102, 0, 0.5));
}

.state-path.active-partner:hover, .state-path.active-partner.hover-highlight {
  fill: #ff8533;
  stroke: #ffffff;
  stroke-width: 2.5px;
  filter: drop-shadow(0 0 16px rgba(255, 102, 0, 0.9));
  transform: scale(1.035);
  transform-origin: center;
}

/* DEMAIS ESTADOS (OPORTUNIDADE DE PARCERIA) */
.state-path.opportunity-partner {
  fill: #1e2838;
}

.state-path.opportunity-partner:hover, .state-path.opportunity-partner.hover-highlight {
  fill: rgba(255, 102, 0, 0.35);
  stroke: var(--brand-orange);
  stroke-width: 2px;
  filter: drop-shadow(0 0 12px rgba(255, 102, 0, 0.6));
  transform: scale(1.025);
  transform-origin: center;
}

/* LEGENDA DO MAPA */
.map-legend {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 18px;
  flex-wrap: wrap;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.legend-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.legend-dot.active {
  background: #ff6600;
  box-shadow: 0 0 10px rgba(255, 102, 0, 0.6);
}

.legend-dot.available {
  background: #1e2838;
  border: 1.5px solid var(--border-orange);
}

/* CARD LATERAL DE DETALHES */
.partner-dynamic-card-wrapper {
  width: 100%;
}

.partner-dynamic-card {
  background: var(--bg-card);
  border: 1.5px solid var(--border-orange);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 35px rgba(255, 102, 0, 0.25);
  min-height: 380px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: all 0.3s ease;
}

.partner-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.partner-card-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: #ffffff;
}

.partner-card-states {
  font-size: 0.95rem;
  color: #ffffff;
  margin-bottom: 12px;
}

.partner-card-states i {
  color: var(--brand-orange);
  margin-right: 6px;
}

.partner-card-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 20px;
}

.partner-card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 102, 0, 0.12);
  border: 1px solid var(--border-orange);
  color: var(--brand-orange);
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  padding: 10px 20px;
  border-radius: 999px;
  text-decoration: none;
  width: fit-content;
  transition: all var(--t-fast);
}

.partner-card-link:hover {
  background: var(--brand-orange);
  color: #ffffff;
  box-shadow: 0 0 20px rgba(255, 102, 0, 0.5);
}

/* HOVER EM ESTADOS DE OPORTUNIDADE (QUERO SER PARCEIRO) */
.opportunity-cta-box {
  background: linear-gradient(135deg, rgba(255, 102, 0, 0.2) 0%, rgba(255, 102, 0, 0.05) 100%);
  border: 1.5px dashed var(--border-orange);
  border-radius: 14px;
  padding: 24px;
  margin-top: 12px;
}

.opportunity-cta-box h4 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 8px;
}

.opportunity-cta-box p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 18px;
  line-height: 1.5;
}

.btn-whatsapp-partner {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #25d366;
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  padding: 12px 24px;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: all var(--t-fast);
}

.btn-whatsapp-partner:hover {
  background: #20ba5a;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6);
  color: #ffffff;
}

/* --------------------------------------------------------------------------
   RESPONSIVIDADE — TABLET (max-width: 1200px)
   -------------------------------------------------------------------------- */
@media (max-width: 1200px) {
  .hero-title { font-size: 2.8rem; }
  .section-title { font-size: 2.2rem; }
  .hero-grid-split { grid-template-columns: 1fr 0.9fr; gap: 30px; }
  .founder-row-card, .founder-row-card.reverse {
    grid-template-columns: 320px 1fr;
  }
  .clientes-interactive-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
}

/* --------------------------------------------------------------------------
   RESPONSIVIDADE — TABLET PEQUENO (max-width: 1024px)
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .hero-grid-split { grid-template-columns: 1fr; gap: 30px; }
  .hero-stats-showcase { max-width: 500px; }
  .regulacao-container, .tv-showcase-container, .contact-grid {
    grid-template-columns: 1fr; gap: 40px;
  }
  .founder-row-card, .founder-row-card.reverse { grid-template-columns: 1fr; }
  .founder-photo-box { min-height: 280px; }
  .services-grid, .modules-grid { grid-template-columns: repeat(2, 1fr); }
  .metrics-grid { grid-template-columns: repeat(2, 1fr); }
  .clientes-interactive-grid { grid-template-columns: 1fr; gap: 30px; }
  .partner-dynamic-card { min-height: auto; }
  .tab-buttons-container { gap: 8px; }
  .tab-btn { padding: 8px 16px; font-size: 0.82rem; }
  .modules-grid-4 { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}

/* --------------------------------------------------------------------------
   RESPONSIVIDADE — MOBILE (max-width: 768px)
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
  .section-padding { padding: 60px 0; }
  .container { width: 94%; }
  .nav-links, .nav-actions { display: none; }
  .mobile-toggle { display: flex; }
  .hero-title { font-size: 2.1rem; }
  .section-title { font-size: 1.6rem; }
  .section-subtitle { font-size: 0.92rem; }

  /* HERO */
  .hero { min-height: auto; padding-bottom: 50px; }
  .hero-grid-split { grid-template-columns: 1fr; gap: 24px; }
  .hero-text-col { text-align: left; }
  .hero-stats-showcase { max-width: 100%; }
  .stat-feature-row { padding: 14px 16px; gap: 14px; }
  .stat-big-num { font-size: 1.6rem; }
  .stat-number-box { min-width: 60px; }
  .hero-callout-strip { flex-direction: column; }
  .callout-text { font-size: 1.1rem; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; justify-content: center; }

  /* MÉTRICAS */
  .metrics-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .metric-card { padding: 18px 14px; }
  .metric-number { font-size: 2rem; }

  /* SERVIÇOS */
  .services-grid { grid-template-columns: 1fr; gap: 20px; }

  /* SALAS DE GESTÃO — TABS & CARDS 4 COLUNAS */
  .tab-buttons-container { gap: 6px; margin-bottom: 28px; }
  .tab-btn { padding: 8px 14px; font-size: 0.78rem; gap: 6px; }
  .tab-btn img { width: 18px; height: 18px; }
  .modules-grid-4 { grid-template-columns: 1fr; gap: 14px; }
  .compact-card { padding: 16px; }
  .module-title { font-size: 0.9rem; }
  .module-desc { font-size: 0.82rem; }

  /* MODAL B360 */
  .b360-preview-modal-dialog { width: 95vw; max-width: 95vw; }
  .b360-modal-header { padding: 12px 16px; }
  .b360-modal-title { font-size: 0.85rem; }

  /* CTA BANNER — BOTÃO ABAIXO DO TEXTO NO MOBILE */
  .salas-gestao-cta-banner { padding: 16px; }
  .cta-banner-content { flex-direction: column; align-items: flex-start; gap: 14px; }
  .cta-text-wrapper { flex-direction: column; align-items: flex-start; gap: 10px; }
  .cta-badge { font-size: 0.7rem; }
  .cta-banner-title { font-size: 0.88rem; }
  .btn-whatsapp-cta { width: 100%; justify-content: center; }

  /* MÓDULOS */
  .modules-grid { grid-template-columns: 1fr; gap: 16px; }

  /* REGULAÇÃO */
  .regulacao-container { grid-template-columns: 1fr; gap: 24px; }

  /* PAINEL TV */
  .tv-showcase-container { grid-template-columns: 1fr; gap: 24px; }

  /* CLIENTES (MAPA) */
  .clientes-interactive-grid { grid-template-columns: 1fr; gap: 20px; }
  .clientes-map-box { padding: 16px; }
  .partner-dynamic-card { min-height: auto; padding: 24px; }
  .map-legend { flex-direction: column; gap: 10px; align-items: flex-start; }

  /* FUNDADORES */
  .founder-row-card, .founder-row-card.reverse { grid-template-columns: 1fr; }
  .founder-photo-box { min-height: 240px; order: -1; }

  /* CONTATO */
  .contact-grid { grid-template-columns: 1fr; gap: 30px; }
  .contact-card-form { padding: 28px 20px; }
  .contact-social-bar { justify-content: center; }

  /* FOOTER */
  .footer-bottom { flex-direction: column; text-align: center; gap: 8px; }
}

/* --------------------------------------------------------------------------
   RESPONSIVIDADE — MOBILE PEQUENO (max-width: 480px)
   -------------------------------------------------------------------------- */
@media (max-width: 480px) {
  .hero-title { font-size: 1.7rem; }
  .section-title { font-size: 1.35rem; }
  .hero-description { font-size: 0.92rem; }
  .section-padding { padding: 44px 0; }

  .tab-buttons-container { gap: 5px; }
  .tab-btn { padding: 7px 10px; font-size: 0.72rem; gap: 4px; }
  .tab-btn img { width: 16px; height: 16px; }
  .modules-grid-4 { grid-template-columns: 1fr; gap: 12px; }

  .stat-feature-row { flex-direction: column; text-align: center; padding: 16px; }
  .stat-number-box { min-width: auto; }

  .metrics-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .metric-card { padding: 14px 10px; }
  .metric-number { font-size: 1.6rem; }

  .service-description-wrapper { height: auto !important; }

  .partner-dynamic-card { padding: 20px; }
  .partner-card-title { font-size: 1.2rem; }

  .founder-tags-group { flex-wrap: wrap; gap: 6px; }
  .tag-badge { font-size: 0.68rem; padding: 4px 10px; }

  .social-icon-btn { width: 42px; height: 42px; font-size: 1.3rem; }
}

/* --------------------------------------------------------------------------
   SCROLL REVEAL ANIMATIONS
   -------------------------------------------------------------------------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}
