/* =========================================================
   WebAdex - Estilos públicos
   Arquivo:
   /home/tomverascom/public_html/webadex-dev/includes-public/styles.css
========================================================= */


/* Estrutura geral */

.webadex-header {
  position: relative;
  z-index: 1000;
}

.webadex-main {
  min-height: 60vh;
}

.webadex-footer {
  font-size: .95rem;
}


/* Conteúdo */

.webadex-conteudo img,
.webadex-modulo img {
  max-width: 100%;
  height: auto;
}

.webadex-conteudo iframe,
.webadex-modulo iframe {
  max-width: 100%;
}

.webadex-conteudo p:last-child,
.webadex-modulo p:last-child {
  margin-bottom: 0;
}


/* Módulos */

.webadex-modulo {
  width: 100%;
}

.webadex-modulo-topo {
  margin-bottom: 0;
}

.webadex-modulo-lateral {
  position: relative;
}


/* Menus */

.menu-contextual .list-group-item {
  background: transparent;
}

.menu-rodape {
  background: #f8f9fa;
}


/* Botão flutuante WhatsApp */

.whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 99999;
}

.whatsapp-float a {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .9rem 1.2rem;
  background: #25D366;
  color: #ffffff !important;
  font-weight: 700;
  line-height: 1;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(0,0,0,.25);
  transition: transform .15s ease, box-shadow .15s ease;
}

.whatsapp-float a:hover {
  color: #ffffff !important;
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(0,0,0,.28);
}

.whatsapp-float i {
  font-size: 1.45rem;
  line-height: 1;
  flex-shrink: 0;
}


/* Mobile */

@media (max-width: 576px) {
  .whatsapp-float {
    right: 12px;
    bottom: 12px;
  }

  .whatsapp-float a {
    padding: .75rem 1rem;
    font-size: .95rem;
  }

  .whatsapp-float i {
    font-size: 1.35rem;
  }
}

/*BLOCOS COM FUNDO BORDA INFINITA*/

  .hero-preto {
    position: relative;
    isolation: isolate;
  }

  .hero-preto::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 100vw;
    transform: translateX(-50%);
    background: #212529;
  }

  .hero-preto {
    color: #fff;
  }
  

/* Links comuns dentro do bloco escuro */
.hero-preto a:not(.btn) {
    color: #ED1B24;
}

/* Botões Bootstrap preservam suas próprias cores */
.hero-preto a.btn {
    color: var(--bs-btn-color);
}

  
    .hero-light {
    position: relative;
    isolation: isolate;
  }

  .hero-light::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 100vw;
    transform: translateX(-50%);
    background: #F8F9FA;
  }

  .hero-light {
    color: #333;
  }
  
  /*FIM DOS BLOCOS COM FUNDO BORDA INFINITA*/
  
  
/* ==========================================
   TOM VERAS — CUSTOMIZAÇÕES DA HOMEPAGE
   Bootstrap 5 + WebAdex
========================================== */

.tv-home {
  --tv-red: #aa2028;
  --tv-dark: #171717;
  --tv-light: #f3f3f3;
}

/* CTA superior */

.tv-topo-cta {
  position: relative;
  isolation: isolate;
  color: #fff;
  font-size: .9rem;
}

.tv-topo-cta::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0 auto 0 50%;
  width: 100vw;
  transform: translateX(-50%);
  background: #212529;
}

/* Identidade tipográfica */

.tv-home h1,
.tv-home h2,
.tv-home h3 {
  letter-spacing: -.025em;
}

.tv-home .tv-hero h1 {
  font-size: clamp(3.8rem, 9vw, 7.5rem);
  letter-spacing: -.065em;
}

.tv-home .tv-hero-subtitle {
  font-size: clamp(1.25rem, 2.5vw, 1.85rem);
  max-width: 850px;
}

.tv-home .tv-kicker {
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .18em;
  color: var(--tv-red);
}

.tv-home .tv-accent {
  color: var(--tv-red);
}

/* Seções */

.tv-home .tv-hero {
  padding: 4rem 0;
}

.tv-home .tv-section {
  position: relative;
  isolation: isolate;
  padding: 4.5rem 0;
  border-bottom: 1px solid #e0e0e0;
}

.tv-home .tv-section-title {
  font-size: clamp(2rem, 4vw, 3.1rem);
}

.tv-home .tv-prose {
  max-width: 850px;
}

/* Fundos que ocupam toda a largura */

.tv-home .tv-section.tv-dark,
.tv-home .tv-section.tv-light {
  position: relative;
  isolation: isolate;
}

.tv-home .tv-section.tv-dark::before,
.tv-home .tv-section.tv-light::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0 auto 0 50%;
  width: 100vw;
  transform: translateX(-50%);
}

.tv-home .tv-section.tv-dark::before {
  background: var(--tv-dark);
}

.tv-home .tv-section.tv-light::before {
  background: var(--tv-light);
}

.tv-home .tv-dark {
  color: #fff;
}

.tv-home .tv-dark p {
  color: #ddd;
}

.tv-home .tv-dark h2 {
  color: #fff;
}

.tv-home .tv-dark .tv-kicker {
  color: #ff858c;
}

/* Boxes da biografia */

.tv-home .tv-card {
  background: var(--tv-light);
  border: 1px solid #e4e4e4;
  padding: 2rem;
  height: 100%;
}

.tv-home .tv-card h3 {
  font-size: 1.3rem;
}

/* Marcos cronológicos */

.tv-home .tv-stat {
  border-top: 2px solid var(--tv-dark);
  padding: 1.6rem 0;
}

.tv-home .tv-stat-number {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.04em;
}

.tv-home .tv-stat-label {
  font-size: .85rem;
  color: #666;
}

/* Links personalizados */

.tv-home .tv-link {
  color: var(--tv-red);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}

.tv-home .tv-link:hover {
  color: #70151b;
}

/* Botão de encerramento */

.tv-home .tv-btn {
  display: inline-block;
  background: var(--tv-red);
  color: #fff !important;
  padding: .9rem 1.5rem;
  text-decoration: none;
  font-weight: 600;
}

.tv-home .tv-btn:hover {
  background: #83191f;
}

/* Ajustes mobile */

@media (max-width: 767.98px) {
  .tv-home .tv-hero {
    padding: 3rem 0;
  }

  .tv-home .tv-section {
    padding: 3rem 0;
  }

  .tv-home .tv-card {
    padding: 1.5rem;
  }
}

  