/* ==========================================================================
   CSS OTIMIZADO - PLANOS DE SAÚDE (CORRIGIDO)
   ========================================================================== */

/* 1. RESET E ESTILOS GLOBAIS */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #ffffff;
  color: #333;
  line-height: 1.6;
}

.container {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 15px;
}

/* 2. TIPOGRAFIA */
h1, h2, h3, h4, h5, h6 {
  color: #004d40;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 0.5rem;
}

h1 { font-size: 1.2rem; }
h2 { font-size: 1.2rem; }
h3 { font-size: 1.2rem; }
h4 { font-size: 1.2rem; }

p {
  font-size: 1.15rem;
  margin-bottom: 1rem;
}

 .sem-pontos-ul {
    list-style-type: none;
  }

a {
  color: #333;
  text-decoration: none;
  transition: color 0.2s ease;
  font-size: 1.1rem;
}
a:hover {
  transition: transform 0.3s ease;
   text-decoration: none;
}

.sem-cor {
text-decoration: none;
color: #0c5460;
}

.sem-cor:hover {
color: #280a8b;
font-weight: 400;
}

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

.lista {
  font-weight: 400;
  font-size: 1.1em;
}

/* 3. NAVEGAÇÃO 
.main-nav {
  background-color: #2a3164e1;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}*/

.main-nav {
  background-color: #2a3164e1; /* Mantém a transparência */
  backdrop-filter: blur(10px); /* Adiciona desfoque */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}


.main-nav .container {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  padding: 10px 24px;
}

.main-nav-logo {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.main-nav-logo img {
  height: 100px;  /* era 70px */
}

.main-nav-menu {
  display: none;
  list-style: none;
  width: 100%;
  text-align: center;
}

.main-nav-menu.is-active {
  display: block;
  padding-top: 20px;
}

.main-nav-menu li {
  margin: 5px 0;
}

.main-nav-menu a {
  color: #fff;
  padding: 6px 6px;
  display: block;
  white-space: nowrap;
}

.main-nav-menu a:hover {
  background-color: yellow !important;
  color: #000 !important;
  text-decoration: none;
}

/* Dropdown */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-menu {
  display: none;
  list-style: none;
  padding: 0;
  background-color: #002244;
  border-radius: 4px;
}

.nav-dropdown:hover .nav-dropdown-menu {
  display: block;
}

.nav-dropdown-menu a {
  color: #fff;
}

.nav-dropdown-menu a:hover {
  background-color: yellow !important;
  color: #000 !important;
}

.nav-toggler {
  display: block;
  background: none;
  border: 1px solid rgba(255,255,255,0.5);
  border-radius: 4px;
  padding: 5px 10px;
  cursor: pointer;
  margin-left: auto;
}

.nav-toggler-icon {
  display: block;
  width: 24px;
  height: 2px;
  background-color: #fff;
  position: relative;
}

.nav-toggler-icon::before,
.nav-toggler-icon::after {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background-color: #fff;
  position: absolute;
}

.nav-toggler-icon::before { top: -8px; }
.nav-toggler-icon::after { top: 8px; }

.header-whatsapp-desktop,
.header-whatsapp-mobile {
  display: none;
  align-items: center;
  gap: 8px;
  color: #ffffff;
  font-weight: 700;
}

.header-whatsapp-desktop {
  margin-left: 24px;
  flex-shrink: 0;
}

.header-whatsapp-desktop img,
.header-whatsapp-mobile img {
  height: 24px;
}

.header-whatsapp-mobile {
  width: 100%;
  justify-content: center;
  margin-top: 10px;
  font-size: 14px;
}

/* 4. SEÇÃO DA OPERADORA */
.pagina-operadora-conteudo {
  padding-top: 125px; /* CORRIGIDO: era 120px */
}

.titulos-operadoras {
  font-size: 25px; /* ADICIONADO */
}

.operadora-header {
  display: flex;
  flex-wrap: wrap;
  /* align-items: flex-start; CORRIGIDO: descomentado */
  gap: 30px;
  /* padding: 20px 0; */
  border-bottom: 1px solid #e0e0e0;
  margin-bottom: 10px; /* CORRIGIDO: era 20px */
}

/* LOGO BOX - CENTRALIZAÇÃO PERFEITA */
.operadora-logo-box {
  flex: 1 1 320px;
  max-width: 350px;
  min-height: 200px;
  /* border: 2px solid #ccc; */
  border-radius: 15px;
  padding: 20px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  margin: 0 auto;
  
  /* CENTRALIZAÇÃO TOTAL */
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
}

.operadora-logo-box img {
  max-width: 100%;
  display: flex !important;
  height: auto;
  display: block;
  margin: 0 auto 15px auto; /* CORRIGIDO: removido !important */
}

.operadora-ans-info {
  background-color: #c42121;
  color: white;
  padding: 10px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  line-height: 1.5;
  width: 100%;
  text-align: center;
}

.operadora-info-box {
  flex: 2 1 500px;
  display: flex;
  flex-direction: column;
}

.operadora-titulo {
  background-color: #e0f2f1;
  border: 1px solid #b2dfdb;
  border-radius: 8px;
  padding: 15px;
  font-size: 1.3em;
  margin-top: 0;
  text-align: center;
  width: 100%;
}

.info-rapida-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 20px;
  width: 100%;
}

.info-rapida-item {
  background-color: #f8f9fa;
  border: 1px solid #e9ecef;
  border-left: 5px solid #009688;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.info-rapida-item h4 {
  margin-top: 0;
  margin-bottom: 15px;
  color: #004d40;
  font-size: 1.1em;
  display: flex;
  align-items: center;
}

.info-rapida-item h4 i {
  margin-right: 10px;
  color: #00796b;
}

.info-rapida-item ul {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.95em;
}

.info-rapida-item li {
  padding-bottom: 8px;
}

.info-rapida-item p {
  margin: 0;
  line-height: 1.5;
  font-size: 0.95em;
}

/* CSS para o Breadcrumb */
.breadcrumb-container {
  background-color: #f8f9fa; /* Um fundo suave para destacar */
  padding: 12px 0;
  border-bottom: 1px solid #e2e8f0;
  font-size: 0.9rem;
}

.breadcrumb-nav {
  max-width: 1320px; /* Mesma largura do container do header */
  margin: 0 auto;
  padding: 0 20px;
}

.breadcrumb-nav a {
  color: #2a3164; /* Cor principal do site */
  text-decoration: none;
  transition: color 0.2s ease;
}

.breadcrumb-nav a:hover {
  color: #fbbf24; /* Cor de destaque no hover */
  text-decoration: underline;
}

.breadcrumb-nav span {
  color: #6c757d; /* Cor para o item atual e separadores */
  margin: 0 8px;
}


/* ==========================================================================
   5. SEÇÕES ESPECÍFICAS
   ========================================================================== */

/* --- Seção Hero --- */
.hero-section {
  position: relative;
  background-size: cover;
  background-position: center;
  height: 100vh;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.hero-content {
  width: 100%;
  max-width: 600px;
  backdrop-filter: blur(8px);
  background-color: rgba(0,0,0,0.45);
  border-radius: 10px 10px 0 0;
  color: #fff;
  text-align: center;
  padding: 24px;
}
.hero-content h1 {
  color: #fff;
  text-shadow: 2px 2px 6px #000;
  font-size: clamp(1.5rem, 5vw, 2.3rem);
  margin-bottom: 0.5rem;
}
.hero-content p {
  text-shadow: 1px 1px 4px #000;
  font-size: clamp(1rem, 3vw, 1.25rem);
  margin-bottom: 1rem;
}

/* --- Seção Planos --- */
.plans-section {
  padding: 60px 0;
  background-color: #f8f9fa;
}
.plans-section h2, .category-section h2 {
  text-align: center;
  margin-bottom: 1rem;
  margin-top: 1rem;
}
.category-section h1 {
  text-align: center;
  font-size: 1.3rem;
} 
.plan-card {
  background-color: #fff;
  border: 1px solid #eee;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  height: 100%;
  text-align: center;
  overflow: hidden;
}
.plan-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.plan-card-body h5 {
  font-size: 1.25rem;
}
.plan-card-body p {
  flex-grow: 1;
}

/* --- Seção de Categorias (Operadoras) --- */
.category-section {
  padding: 0px 0; /*estava 20px 0; 22 outubro 19:39*/
} 
.category-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
}
.category-card {
  background: #f9f9f9;
  border: 1px solid #ddd;
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  width: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.category-card:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}
.category-card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
}
.category-card-link:hover {
  text-decoration: none;
}
.category-card img {
  /* height: 100%; */
  /* object-fit: cover; */
  width: 100%;
  display: block;
}
.category-card-content {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.category-card-content h2 {
  font-size: 1.25rem;
  text-align: center;
}
.category-card-content p {
  flex-grow: 1;
  text-align: center;
  color: #555;
  font-size: 1rem;
}

.category-card .btn {
  margin-top: auto;
  align-self: center;
}

/* Grid de categorias para desktop */
@media (min-width: 768px) {
  .category-card {
    width: calc(50% - 12px);
  }
}
@media (min-width: 992px) {
  .category-card {
    width: calc(25% - 18px);
  }
}

/* 6. CAIXAS DE INFORMAÇÃO */
.intro {
  font-size: 1.15em;
  color: #555;
  font-style: italic;
  margin-bottom: 15px;
  margin-top: 20px;
  padding: 5px; /* CORRIGIDO: era 15px */
  background-color: #eff6ff;
  border-radius: 5px;
  border-left: 4px solid #3b82f6;
}

.info-box {
  background-color: #e8f5e8;
  border: 1px solid #c3e6c3;
  border-radius: 5px;
  padding: 15px;
  margin-bottom: 10px; /* CORRIGIDO: era margin: 20px 0 */
  color: #555; /* CORRIGIDO: era #2d5a2d */
}

.warning-box {
  background-color: #fff3cd;
  border: 1px solid #ffeaa7;
  border-radius: 5px;
  padding: 15px;
  margin: 20px 0;
  color: #856404; /* CORRIGIDO: era #000 */
}

  .tip-box {
            background-color: #d1ecf1;
            border: 1px solid #bee5eb;
            border-radius: 5px;
            padding: 15px;
            margin: 20px 0;
            color: #0c5460;
            font-size: 1.1rem;
        }

/* ADICIONADO: Classes que estavam faltando */
.highlight {
  background-color: #fef3c7;
  padding: 2px 4px;
  border-radius: 3px;
}

.stat-highlight {
  background-color: #e6fffa;
  
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 600;
  color: #234e52;
}

.tech-box {
  background-color: #f0fff4;
  border: 1px solid #9ae6b4;
  border-radius: 5px;
  padding: 15px;
  margin: 20px 0;
  color: #22543d;
}

.footer-note {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid #ddd;
  font-style: italic;
  color: #666;
  text-align: center;
}

.caixa-info {
  width: 100%;
  margin: 25px 0; /* CORRIGIDO: era 10px 0 */
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  background-color: #e8f5e8;
  border: 1px solid #c3e6c3;
}

.caixa-info table {
  width: 100%;
  border-collapse: collapse;
}

.caixa-info thead {
  background-color: #0056a3;
  color: #ffffff;
  font-weight: bold;
}

.caixa-info th,
.caixa-info td {
  padding: 14px 16px; /* CORRIGIDO: era 10px 5px */
  text-align: left;
  border-bottom: 1px solid #dee2e6;
}

.caixa-info tbody tr:nth-of-type(even) {
  background-color: #f8f9fa;
}

.caixa-info tbody tr:hover {
  background-color: #e9ecef;
}

.caixa-info .linha-especial td {
  background-color: #e6f7ff;
  font-weight: bold;
  color: #004085;
}

.caixa-info .conteudo-box {
  background-color: #eaf7fb;
  padding: 20px 25px;
  color: #333;
}

.caixa-info .conteudo-box h4 {
  margin-top: 0;
  margin-bottom: 15px;
  color: #004085;
  font-weight: 600;
}

.caixa-info .conteudo-box h3 {
  margin-top: 0;
  margin-bottom: 15px;
  color: #004085;
  font-weight: 600;
  font-size: 1.3em;
}

/* ADICIONADO: Estilos para listas ordenadas */
.caixa-info .conteudo-box ol {
  padding-left: 20px;
  margin-bottom: 0;
}

.caixa-info .conteudo-box ol li {
  margin-bottom: 8px;
  line-height: 1.5;
}

.subtitulo-box {
  font-size: 1.3em;
  color: #004d40;
  border-left: 4px solid #009688;
  padding-left: 10px;
  margin-bottom: 20px;
}

.divisor-interno {
  margin: 30px 0;
  border: 0;
  border-top: 1px solid #ddebe9;
}

.lista-documentos li {
  margin-bottom: 15px;
}

/* ADICIONADO: Estilos para parágrafos dentro de lista de documentos */
.lista-documentos p {
  margin-top: 5px;
  margin-bottom: 0;
}

/* 7. BOX DE COTAÇÃO */
.secao-cotacao {
  padding: 10px 0 10px 0;
}

.caixa-cotacao {
  background-color: #fff;
  border: 1px solid #dee2e6;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 77, 64, 0.1);
  max-width: 650px;
  margin: 20px auto;
  text-align: center;
  overflow: hidden;
}

.caixa-cotacao-header {
  background: linear-gradient(to right, #004d40, #00796b);
  color: #fff;
  padding: 30px 25px;
}

.caixa-cotacao-header h2 {
  color: #fff;
  margin-top: 0;
  margin-bottom: 15px;
  font-size: 1.3em;
  font-weight: 700;
}

.caixa-cotacao-header p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 0;
  font-size: 1.1em;
  line-height: 1.5;
}

/* ADICIONADO: Estilo para links no header de cotação */
.caixa-cotacao-header a {
  color: #ffc107;
  font-weight: 600;
}

.caixa-cotacao-body {
  padding: 25px 30px;
  background-color: #f8f9fa;
}

.chamada-cotacao {
  font-size: 1.5em;
  color: #343a40;
  margin-top: 0;
  margin-bottom: 10px;
  font-weight: 500;
}

/* ADICIONADO: Estilos para preço em destaque */
.preco-destaque {
  font-size: 1.7em;
  color: #343a40;
  margin: 0 0 5px 0;
  font-weight: 300;
}

.preco-destaque strong {
  font-weight: 700;
  font-size: 1.5em;
  color: #004d40;
}

.preco-legenda {
  font-size: 0.9em;
  color: #6c757d;
  margin-top: 0;
  margin-bottom: 30px;
  display: block;
}

.btn-cotacao,
.btn-whatsapp {
  display: block;
  width: 100%;
  max-width: 400px;
  margin: 0 auto 15px auto;
  padding: 16px 20px;
  border-radius: 10px;
  font-size: 1.25em;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.btn-cotacao {
  background-color: #0077cc; /*era #ffc107 */
  color: #ffffff; /*era #212529 */
  text-align: center;
}

.btn-cotacao:hover {
 /* background-color: #0077cc; era #ffca2c */
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.15); 
}

/* ADICIONADO: Estilos para ícones nos botões */
.btn-cotacao i {
  margin-left: 10px;
  transition: transform 0.3s ease;
}

.btn-cotacao:hover i {
  transform: translateX(5px);
}

.btn-whatsapp {
  background-color: #25d366;
  color: #fff;
}

.btn-whatsapp:hover {
  background-color: #20b856;
  transform: translateY(-3px);
}

.btn-whatsapp i {
  margin-right: 10px;
}

.ou-divisor {
  font-weight: 500;
  color: #6c757d;
  margin: 20px 0;
}

/* 8. ESTILOS AUXILIARES */
/* Botões */
.btn {
  display: inline-block;
  font-weight: 400;
  text-align: center;
  vertical-align: middle;
  cursor: pointer;
  user-select: none;
  background-color: transparent;
  border: 1px solid transparent;
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  line-height: 1.5;
  border-radius: 0.25rem;
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.btn:hover {
  text-decoration: none;
}

.btn-light {
  color: #000;
  background-color: #f8f9fa;
  border-color: #f8f9fa;
}

.btn-light:hover {
  background-color: #e2e6ea;
  border-color: #dae0e5;
}

.btn-outline-primary {
  color: #009688;
  border-color: #009688;
}

.btn-outline-primary:hover {
  color: #fff;
  background-color: #009688;
  border-color: #009688;
}

/* 9. RODAPÉ */
.main-footer {
  background-color: #343a40;
  color: #fff;
  text-align: center;
  padding: 30px 0;
}

.main-footer p {
  margin: 0;
}

/* 10. WHATSAPP FLUTUANTE */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 100;
}

.whatsapp-float img {
  height: 65px;
  transition: transform 0.2s ease;
}

.whatsapp-float:hover img {
  transform: scale(1.1);
}

/* 11. RESPONSIVIDADE */
@media (min-width: 992px) {
  .nav-toggler { display: none; }
  .header-whatsapp-mobile { display: none; }
  .header-whatsapp-desktop { display: flex; }
  
  .main-nav-menu {
    display: flex;
    width: auto;
    gap: 5px;
    margin-left: auto;
  }
  
  .main-nav-menu.is-active { 
    padding-top: 0; 
  }
  
  .nav-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 160px;
  }
  /* 4. SEÇÃO DA OPERADORA */
.pagina-operadora-conteudo {
  padding-top: 20px; /* CORRIGIDO: era 120px */
}
}

@media (max-width: 991.98px) {
  .header-whatsapp-desktop { display: none; }
  .header-whatsapp-mobile { display: flex; }
}

@media (max-width: 768px) {
  .operadora-header {
    flex-direction: column;
    align-items: center;
  }
  
  /* .operadora-logo-box {
    max-width: 90%;
  } */
  
  .caixa-info {
    font-size: 0.95em;
  }
  
  .caixa-info th,
  .caixa-info td {
    padding: 12px 10px;
  }
  
  .caixa-info .conteudo-box {
    padding: 15px;
  }
  /* 4. SEÇÃO DA OPERADORA */
.pagina-operadora-conteudo {
  padding-top: 20px; /* CORRIGIDO: era 120px */
}
}

