@import url('https://fonts.googleapis.com/css2?family=Baloo+2:wght@400..800&display=swap');

/* =========================================================
   IMPORTAÇÃO
========================================================= */

@import url('./suporte-tec.css');

/* =========================================================
   HEADER & MENU - ATUALIZADO (IGUAL AO STYLE.CSS)
========================================================= */

#header {
  background: linear-gradient(90deg, #005b96, #003f5c);
  transition: all 0.3s ease;
  z-index: 997;
  height: 70px;
  display: flex;
  align-items: center;
  padding: 0 20px;
  position: fixed;
  width: 100%;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}


#header .container {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

/* MENU - Tamanho fixo */
.navbar {
  flex: 1;
  display: flex;
  justify-content: center;
}

.navbar ul {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.5vw, 22px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.navbar a {
  color: #fff;
  text-decoration: none;
  font-family: "Baloo 2", sans-serif;
  font-weight: 500;
  font-size: 15.8px;           /* Tamanho fixo como no style.css */
  padding: 10px 6px;
  white-space: nowrap;
  transition: 0.3s;
}

.navbar a:hover,
.navbar .active {
  color: #ffffff;
}
/* Barra azul no hover e página ativa */
.navbar a:hover::after,
.navbar a.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 3px;
  background: #007bff;
  border-radius: 2px;
  animation: slideIn 0.3s ease;
}

/* BOTÃO WHATSAPP - Mais para direita + Texto Branco */
.btn-whatsapp {
  padding: clamp(0.55rem, 1vw, 0.8rem) clamp(0.9rem, 2vw, 1.6rem);
  background: linear-gradient(135deg, #10b981, #059669);
  border: none;
  border-radius: 9999px;
  font-weight: 600;
  font-size: clamp(13px, 0.4vw + 11px, 15px);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: #ffffff !important;        /* Texto branco garantido */
  white-space: nowrap;
  margin-left: 3rem;                /* Espaço entre menu e botão */
  flex-shrink: 0;
}
.btn-login {
  order: 3;
  padding: clamp(0.55rem, 1vw, 0.8rem) clamp(0.9rem, 2vw, 1.6rem);
  background: linear-gradient(135deg, #005b96, #005b96);
  border: none;
  border-radius: 9999px;
  font-weight: 600;
  font-size: clamp(13px, 0.4vw + 11px, 15px);
  cursor: pointer;
  transition: all 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: #ffffff !important;
  white-space: nowrap;
}
.btn-login a {
  color: #ffffff !important;
  text-decoration: none;
}
.btn-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(16, 185, 129, 0.4);
}

.btn-whatsapp i,
.btn-whatsapp svg {
  font-size: 18px;
  color: #ffffff !important;
}

.btn-whatsapp a {
  color: #ffffff !important;
  text-decoration: none;
}

/* =========================================================
   CONFIGURAÇÕES GERAIS
========================================================= */

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body{
    overflow-x: hidden;
    font-family: 'Baloo 2', sans-serif;
}

/* =========================================================
   CONTAINER PRINCIPAL
========================================================= */

.section-container{
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* =========================================================
   SECTION
========================================================= */

.professional-section{
    padding: 80px 0;
    position: relative;
}

.section-header{
    text-align: center;
    margin-bottom: 60px;
}

/* Centralizar cards na seção "Nossos Módulos" */
#modulos .professional-cards {
    justify-self: center;
}

.section-title{
    font-size: 3rem;
    font-weight: 800;
    color: #111827;
    margin-bottom: 15px;
}

.section-description{
    font-size: 1.1rem;
    color: #6b7280;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
}

/* =========================================================
   GRID DOS CARDS
========================================================= */

.professional-cards{
    display: grid;
    grid-template-columns: repeat(3, minmax(320px, 1fr));
    grid-template-rows: auto auto;
    gap: 30px;
    margin-top: 40px;
    width: 100%;
    align-items: stretch;
    justify-content: center;
}

/* =========================================================
   CARD
========================================================= */

.stat-item{
    width: 100%;
    background: #ffffff;
    border-radius: 22px;
    padding: 35px 28px;
    transition: all 0.4s ease;
    box-shadow: 0 10px 35px rgba(0,0,0,0.08);
    position: relative;
    overflow: hidden;
    text-align: left;
    height: 100%;
    border: 1px solid rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.stat-item:hover{
    transform: translateY(-12px);
    box-shadow: 0 20px 45px rgba(0,0,0,0.12);
}

/* =========================================================
   ÍCONES
========================================================= */

.stat-icon {
  width: 110px !important;
  height: 110px !important;
  margin: 0 auto 20px !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: visible !important;    /* garante que nada corta a imagem */
}
.stat-icon i{
    font-size: 3rem;
    color: #005b96;
}

.module-icon-img {
  width: 90px !important;
  height: 90px !important;
  border-radius: 16px !important;
  object-fit: cover !important;
  display: block !important;
  box-shadow: 0 6px 20px rgba(0, 91, 150, 0.18) !important;
  transition: transform 0.35s ease, box-shadow 0.35s ease !important;
}
 

.stat-item:hover .module-icon-img {
  transform: scale(1.08) !important;
  box-shadow: 0 12px 32px rgba(0, 91, 150, 0.30) !important;
}

/* =========================================================
   TEXTOS
========================================================= */

.stat-item h3{
    font-size: 1.6rem;
    font-weight: 800;
    color: #005b96;
    margin-bottom: 12px;
}

.stat-item p{
    font-size: 0.95rem;
    line-height: 1.8;
    color: #6b7280;
    margin-bottom: 20px;
}

/* =========================================================
   PREÇOS
========================================================= */

.stat-number{
    font-size: 2rem;
    font-weight: 800;
    color: #005b96;
    margin-bottom: 5px;
}

.stat-label{
    font-size: 0.95rem;
    color: #9ca3af;
    margin-bottom: 20px;
}

/* =========================================================
   FUNCIONALIDADES
========================================================= */

.module-features{
    margin-top: 1rem;
    text-align: left;
}

.module-features ul{
    list-style: none;
    padding: 0;
    margin: 0;
}

.module-features li{
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    font-size: 0.92rem;
    color: #4b5563;
}

.module-features li i{
    color: #10b981;
    margin-right: 10px;
    font-size: 0.85rem;
}

/* =========================================================
   RESPONSIVIDADE - HEADER
========================================================= */

@media (max-width: 991px) {
  .navbar ul {
    display: none;
  }

  .btn-whatsapp {
    margin-left: 0.5rem;
    position: static;
    transform: none;
    width: auto;
    height: auto;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-size: 13px;
  }
  .btn-login {
    padding: 0.5rem 1rem;
    font-size: 13px;
  }
  .mobile-nav-toggle {
    display: block;
    margin-left: auto;
    font-size: 28px;
  }
}

@media (max-width: 768px) {
  #header {
    height: 60px;
    padding: 0 12px;
  }

  #header .logo img {
    height: 46px;
  }
}

@media (max-width: 480px) {
  #header {
    padding: 0 10px;
  }

  #header .logo img {
    height: 42px;
  }

  .btn-whatsapp {
    margin-left: 1rem;
  }
}

/* =========================================================
   OUTRAS RESPONSIVIDADES (mantidas do seu código original)
========================================================= */

@media (max-width: 1024px){
    .professional-cards{
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    .section-title{
        font-size: 2.5rem;
    }
}

@media (max-width: 768px){
    .professional-cards{
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 10px;
    }
    .professional-section{
        padding: 60px 0;
    }
    .section-title{
        font-size: 2rem;
    }
}

@media (max-width: 480px){
    .section-container{
        padding: 0 12px;
    }
    .section-title{
        font-size: 1.7rem;
    }
    .stat-item{
        padding: 28px 18px 44px;
        height: auto;
        min-height: auto;
        justify-content: flex-start;
        overflow: visible;
    }
}

/* Hero Section Mobile Fix - Igualar ao index */
@media (max-width: 768px) {
  .hero-suporte {
    min-height: auto;
    padding: 100px 0;
  }
}
