/* ========================================
   CSS ESPECÍFICO PARA PÁGINA COBERTURA
   Energia Certa Brasil
   ======================================== */

/* ========================================
   1. HERO SECTION
   ======================================== */
.page-cobertura .hero {
  background: #ffffff;
  padding: 140px 0 60px;
}

.page-cobertura .hero-overlay {
  display: none;
}

.page-cobertura .hero h1,
.page-cobertura .hero-description,
.page-cobertura .hero-benefits {
  color: #2e3d6a;
  text-shadow: none;
}

.page-cobertura .hero h1 .highlight {
  color: #fbbf24;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* ========================================
   1.1 HERO STATS - EFEITO DE BRILHO
   ======================================== */
.page-cobertura .hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
  margin-bottom: 2rem;
}

.page-cobertura .stat-item {
  background: linear-gradient(135deg, #ffffff, #f8fafc);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(46, 61, 106, 0.1);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 8px 32px rgba(46, 61, 106, 0.1);
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 160px;
}

.page-cobertura .stat-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #2e3d6a, #3d4c7a, #fbbf24, #2e3d6a);
  background-size: 200% 100%;
  animation: gradient-flow 3s linear infinite;
}

.page-cobertura .stat-item:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 50px rgba(46, 61, 106, 0.2);
  border-color: rgba(46, 61, 106, 0.3);
}

.page-cobertura .stat-number {
  font-size: 3rem;
  font-weight: 800;
  color: #2e3d6a;
  margin-bottom: 0.5rem;
  line-height: 1;
}

.page-cobertura .stat-label {
  font-size: 1rem;
  color: #374151;
  font-weight: 500;
  line-height: 1.4;
}

/* ========================================
   1.2 ÍCONES DAS ESTATÍSTICAS
   ======================================== */
.page-cobertura .stat-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  color: white;
  font-size: 1.5rem;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

/* Ícone Estados (Verde) */
.page-cobertura .stat-item:nth-child(1) .stat-icon {
  background: linear-gradient(135deg, #059669, #047857);
  box-shadow: 0 8px 25px rgba(5, 150, 105, 0.4);
}

.page-cobertura .stat-item:nth-child(1) .stat-icon::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transform: rotate(45deg);
  animation: shine-rotate 2s linear infinite;
}

/* Ícone Municípios (Azul) */
.page-cobertura .stat-item:nth-child(2) .stat-icon {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  box-shadow: 0 8px 25px rgba(37, 99, 235, 0.4);
}

.page-cobertura .stat-item:nth-child(2) .stat-icon::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transform: rotate(45deg);
  animation: shine-rotate 2s linear infinite;
  animation-delay: 0.5s;
}

/* Ícone Cobertura (Roxo) */
.page-cobertura .stat-item:nth-child(3) .stat-icon {
  background: linear-gradient(135deg, #7c3aed, #5b21b6);
  box-shadow: 0 8px 25px rgba(124, 58, 237, 0.4);
}

.page-cobertura .stat-item:nth-child(3) .stat-icon::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transform: rotate(45deg);
  animation: shine-rotate 2s linear infinite;
  animation-delay: 1s;
}

.page-cobertura .stat-item:hover .stat-icon {
  transform: scale(1.1) rotate(5deg);
}

/* ========================================
   2. LAYOUT DOS CARDS
   ======================================== */
.page-cobertura .features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.page-cobertura .three-cards-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

/* ========================================
   3. ESTILOS DOS CARDS
   ======================================== */
.page-cobertura .feature {
  background: linear-gradient(135deg, #ffffff, #f8fafc);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(46, 61, 106, 0.1);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 8px 32px rgba(46, 61, 106, 0.1);
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 320px;
}

.page-cobertura .feature::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #2e3d6a, #3d4c7a, #fbbf24, #2e3d6a);
  background-size: 200% 100%;
  animation: gradient-flow 3s linear infinite;
}

.page-cobertura .feature:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 20px 50px rgba(46, 61, 106, 0.2);
  border-color: rgba(46, 61, 106, 0.3);
}

/* ========================================
   4. ÍCONES DOS CARDS
   ======================================== */
.page-cobertura .feature-icon {
  width: 80px;
  height: 80px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: white;
  font-size: 2rem;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

.page-cobertura .feature:hover .feature-icon {
  transform: scale(1.1) rotate(5deg);
}

/* Ícone 1 - Network (Azul) */
.page-cobertura .feature:nth-child(1) .feature-icon {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  box-shadow: 0 8px 25px rgba(37, 99, 235, 0.4);
}

.page-cobertura .feature:nth-child(1) .feature-icon::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transform: rotate(45deg);
  animation: shine-rotate 2s linear infinite;
}

/* Ícone 2 - Laptop (Verde) */
.page-cobertura .feature:nth-child(2) .feature-icon {
  background: linear-gradient(135deg, #059669, #047857);
  box-shadow: 0 8px 25px rgba(5, 150, 105, 0.4);
}

.page-cobertura .feature:nth-child(2) .feature-icon::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transform: rotate(45deg);
  animation: shine-rotate 2s linear infinite;
  animation-delay: 0.5s;
}

/* Ícone 3 - Users (Roxo) */
.page-cobertura .feature:nth-child(3) .feature-icon {
  background: linear-gradient(135deg, #7c3aed, #5b21b6);
  box-shadow: 0 8px 25px rgba(124, 58, 237, 0.4);
}

.page-cobertura .feature:nth-child(3) .feature-icon::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transform: rotate(45deg);
  animation: shine-rotate 2s linear infinite;
  animation-delay: 1s;
}

/* Ícone 4 - Handshake (Laranja) */
.page-cobertura .feature:nth-child(4) .feature-icon {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  box-shadow: 0 8px 25px rgba(245, 158, 11, 0.4);
}

.page-cobertura .feature:nth-child(4) .feature-icon::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transform: rotate(45deg);
  animation: shine-rotate 2s linear infinite;
  animation-delay: 1.5s;
}

/* ========================================
   5. CONTEÚDO DOS CARDS
   ======================================== */
.page-cobertura .feature h3 {
  font-size: 1.5rem;
  color: #1f2937;
  margin-bottom: 1rem;
  font-weight: 700;
  text-align: center;
  flex-shrink: 0;
}

.page-cobertura .feature p {
  font-size: 1rem;
  color: #374151;
  margin-bottom: 1.5rem;
  line-height: 1.6;
  text-align: center;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.page-cobertura .feature-badge {
  background: linear-gradient(135deg, #2e3d6a, #3d4c7a);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 25px;
  font-size: 0.875rem;
  font-weight: 600;
  text-align: center;
  margin-top: auto;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(46, 61, 106, 0.2);
}

/* ========================================
   6. CARDS DE ESTADOS
   ======================================== */
.page-cobertura .state-card {
  background: linear-gradient(135deg, #ffffff, #f8fafc);
  border: 1px solid rgba(46, 61, 106, 0.1);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 8px 32px rgba(46, 61, 106, 0.1);
  transition: all 0.4s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.page-cobertura .state-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(46, 61, 106, 0.15);
  border-color: rgba(46, 61, 106, 0.2);
}

.page-cobertura .state-card h3 {
  color: #2e3d6a;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
  text-align: center;
}

.page-cobertura .state-card p {
  color: #374151;
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex: 1;
}

.page-cobertura .state-card .cities-list {
  background: rgba(46, 61, 106, 0.05);
  border-radius: 12px;
  padding: 1rem;
  margin-bottom: 1.5rem;
}

.page-cobertura .state-card .cities-list strong {
  color: #2e3d6a;
  display: block;
  margin-bottom: 0.5rem;
}

.page-cobertura .state-card .cities-list ul {
  list-style: none;
  padding: 0;
  margin: 0;
  color: #6b7280;
  font-size: 0.9rem;
}

.page-cobertura .state-card .cities-list li {
  padding: 0.25rem 0;
}

.page-cobertura .state-badge {
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  color: #1f2937;
  padding: 0.75rem 1.5rem;
  border-radius: 25px;
  font-size: 0.875rem;
  font-weight: 600;
  text-align: center;
  margin-top: auto;
  box-shadow: 0 2px 8px rgba(251, 191, 36, 0.3);
}

/* ========================================
   7. MAPA DE COBERTURA
   ======================================== */
.page-cobertura .coverage-map {
  background: rgba(46, 61, 106, 0.03);
  border-radius: 20px;
  padding: 2rem;
  margin: 3rem 0;
  border: 1px solid rgba(46, 61, 106, 0.1);
}

.page-cobertura .coverage-map h3 {
  color: #2e3d6a;
  font-size: 1.75rem;
  margin-bottom: 1rem;
  text-align: center;
  font-weight: 700;
}

.page-cobertura .coverage-map p {
  color: #374151;
  font-size: 1.1rem;
  text-align: center;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.page-cobertura .coverage-header {
  background: linear-gradient(135deg, #2e3d6a, #3d4c7a);
  color: white;
  padding: 1.5rem;
  border-radius: 15px;
  margin: 2rem 0;
  text-align: center;
  box-shadow: 0 8px 25px rgba(46, 61, 106, 0.2);
}

.page-cobertura .coverage-header h4 {
  color: white;
  font-size: 1.25rem;
  margin: 0;
  font-weight: 600;
}

.page-cobertura .coverage-header i {
  color: #fbbf24;
  margin-right: 0.5rem;
}

.page-cobertura .regions-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.page-cobertura .region-card {
  background: white;
  padding: 1.25rem;
  border-radius: 16px;
  border: 1px solid rgba(46, 61, 106, 0.1);
  box-shadow: 0 4px 16px rgba(46, 61, 106, 0.1);
  transition: all 0.3s ease;
  text-align: center;
}

.page-cobertura .region-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(46, 61, 106, 0.15);
  border-color: rgba(46, 61, 106, 0.2);
}

.page-cobertura .region-icon {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.75rem;
  color: white;
  font-size: 1.4rem;
  transition: all 0.3s ease;
}

.page-cobertura .region-card:hover .region-icon {
  transform: scale(1.1);
}

/* Ícones das regiões com cores específicas */
.page-cobertura .region-card:nth-child(1) .region-icon {
  background: linear-gradient(135deg, #059669, #047857); /* Verde - Norte */
}

.page-cobertura .region-card:nth-child(2) .region-icon {
  background: linear-gradient(135deg, #f59e0b, #d97706); /* Laranja - Nordeste */
}

.page-cobertura .region-card:nth-child(3) .region-icon {
  background: linear-gradient(135deg, #7c3aed, #5b21b6); /* Roxo - Centro-Oeste */
}

.page-cobertura .region-card:nth-child(4) .region-icon {
  background: linear-gradient(135deg, #2563eb, #1d4ed8); /* Azul - Sudeste */
}

.page-cobertura .region-card:nth-child(5) .region-icon {
  background: linear-gradient(135deg, #dc2626, #b91c1c); /* Vermelho - Sul */
}

.page-cobertura .region-card h5 {
  color: #2e3d6a;
  font-size: 1rem;
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.page-cobertura .region-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  color: #6b7280;
  font-size: 0.85rem;
  line-height: 1.5;
}

.page-cobertura .region-card li {
  padding: 0.25rem 0;
  border-bottom: 1px solid rgba(46, 61, 106, 0.05);
}

.page-cobertura .region-card li:last-child {
  border-bottom: none;
}

/* ========================================
   8. ANIMAÇÕES
   ======================================== */
@keyframes gradient-flow {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@keyframes shine-rotate {
  0% { transform: rotate(45deg) translateX(-100%); }
  100% { transform: rotate(45deg) translateX(100%); }
}

/* ========================================
   9. SEÇÃO CTA FINAL
   ======================================== */
.page-cobertura .cta-emphasis {
  background: linear-gradient(135deg, #2e3d6a, #3d4c7a);
  padding: 4rem 0;
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
}

.page-cobertura .cta-emphasis::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
  opacity: 0.3;
}

.page-cobertura .cta-emphasis .container {
  position: relative;
  z-index: 2;
}

.page-cobertura .cta-badge {
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  color: #1f2937;
  padding: 0.5rem 1.5rem;
  border-radius: 25px;
  font-size: 0.875rem;
  font-weight: 600;
  display: inline-block;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.page-cobertura .cta-emphasis h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: white;
  font-weight: 700;
}

.page-cobertura .cta-emphasis h2 .highlight {
  color: #fbbf24;
}

.page-cobertura .cta-emphasis p {
  font-size: 1.125rem;
  margin-bottom: 2rem;
  color: #e5e7eb;
  line-height: 1.6;
}

.page-cobertura .cta-urgency {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: 12px;
  padding: 1rem 1.5rem;
  margin-bottom: 2rem;
  display: inline-block;
}

.page-cobertura .cta-urgency p {
  margin: 0;
  color: #fca5a5;
  font-weight: 600;
  font-size: 1rem;
}

.page-cobertura .cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.page-cobertura .cta-guarantees {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.page-cobertura .cta-guarantees .guarantee-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: #e5e7eb;
  background: rgba(255, 255, 255, 0.1);
  padding: 0.75rem 1rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
}

.page-cobertura .cta-guarantees .guarantee-item i {
  color: #fbbf24;
  font-size: 1rem;
}

/* ========================================
   10. RESPONSIVIDADE
   ======================================== */
@media (max-width: 768px) {
  .page-cobertura .hero-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
  }
  
  .page-cobertura .stat-item {
    padding: 1.5rem;
    min-height: 140px;
  }
  
  .page-cobertura .stat-icon {
    width: 55px;
    height: 55px;
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
  }
  
  .page-cobertura .stat-number {
    font-size: 2.5rem;
  }
  
  .page-cobertura .stat-label {
    font-size: 0.9rem;
  }
  
  .page-cobertura .features {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 2rem;
  }
  
  .page-cobertura .three-cards-row {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }
  
  .page-cobertura .feature {
    padding: 1.5rem;
    border-radius: 16px;
    min-height: 280px;
  }
  
  .page-cobertura .feature-icon {
    width: 70px;
    height: 70px;
    font-size: 1.75rem;
    margin-bottom: 1.25rem;
  }
  
  .page-cobertura .hero h1 {
    font-size: 2rem;
  }
  
  .page-cobertura .coverage-map .regions-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }
  
  .page-cobertura .coverage-header {
    padding: 1.25rem;
  }
  
  .page-cobertura .coverage-header h4 {
    font-size: 1.1rem;
  }
  
  .page-cobertura .region-card {
    padding: 1.25rem;
  }
  
  .page-cobertura .region-icon {
    width: 50px;
    height: 50px;
    font-size: 1.25rem;
  }
  
  .page-cobertura .cta-emphasis {
    padding: 3rem 0;
  }
  
  .page-cobertura .cta-emphasis h2 {
    font-size: 2rem;
  }
  
  .page-cobertura .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .page-cobertura .cta-guarantees {
    gap: 1rem;
  }
  
  .page-cobertura .cta-guarantees .guarantee-item {
    padding: 0.5rem 0.75rem;
    font-size: 0.8rem;
  }
}

@media (max-width: 480px) {
  .page-cobertura .hero-stats {
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-top: 1.5rem;
  }
  
  .page-cobertura .stat-item {
    padding: 1.25rem;
    min-height: 120px;
  }
  
  .page-cobertura .stat-icon {
    width: 50px;
    height: 50px;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
  }
  
  .page-cobertura .stat-number {
    font-size: 2.25rem;
  }
  
  .page-cobertura .stat-label {
    font-size: 0.85rem;
  }
  
  .page-cobertura .features {
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-top: 1.5rem;
  }
  
  .page-cobertura .three-cards-row {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .page-cobertura .feature {
    padding: 1.25rem;
    border-radius: 12px;
    min-height: 250px;
  }
  
  .page-cobertura .feature-icon {
    width: 65px;
    height: 65px;
    font-size: 1.5rem;
    margin-bottom: 1rem;
  }
  
  .page-cobertura .hero h1 {
    font-size: 1.75rem;
  }
  
  .page-cobertura .hero {
    padding: 120px 0 40px;
  }
  
  .page-cobertura .coverage-map .regions-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .page-cobertura .coverage-header {
    padding: 1rem;
  }
  
  .page-cobertura .coverage-header h4 {
    font-size: 1rem;
  }
  
  .page-cobertura .region-card {
    padding: 1rem;
  }
  
  .page-cobertura .region-icon {
    width: 45px;
    height: 45px;
    font-size: 1.1rem;
  }
  
  .page-cobertura .region-card h5 {
    font-size: 1rem;
  }
  
  .page-cobertura .region-card ul {
    font-size: 0.85rem;
  }
  
  .page-cobertura .cta-emphasis {
    padding: 2rem 0;
  }
  
  .page-cobertura .cta-emphasis h2 {
    font-size: 1.75rem;
  }
  
  .page-cobertura .cta-emphasis p {
    font-size: 1rem;
  }
}
