/* ============================================ */
/* SEZIONE: IL PROBLEMA                          */
/* ============================================ */

.problema-section {
  background: #ffffff;
  padding: 100px 20px;
  font-family: 'Inter', sans-serif;
}

.problema-section .container {
  max-width: 1200px;
  margin: 0 auto;
}

.problema-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

/* ============================================ */
/* CONTEÚDO SUPERIOR                            */
/* ============================================ */

.problema-content {
  animation: fadeUp 0.8s ease forwards;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.problema-tag {
  display: inline-block;
  font-size: 15px;
  font-weight: 800;
  color:  #EB0028;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 16px;
  padding: 5px 12px;
  border-radius: 4px;
}

.problema-content h2 {
  font-size: 38px;
  font-weight: 600;
  color: #000000;
  line-height: 1.15;
  margin-bottom: 24px;
  letter-spacing: -0.5px;
}

.problema-text {
  font-size: 1.05rem;
  color: #555;
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================ */
/* BOTÃO                                        */
/* ============================================ */

.btn-problema {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color:  #EB0028;
  color: #ffffff;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  padding: 8px 25px;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  letter-spacing: 0.3px;
}

.btn-problema:hover {
  background-color:  #EB0028;
  color: #ffffff;
  transform: translateY(-2px);
}

/* ============================================ */
/* CARDS - 3 POR LINHA (DESKTOP)                */
/* ============================================ */

.problema-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.problema-card {
  background: #ffffff;
  border: 1px solid #edf2f7;
  border-radius: 12px;
  padding: 28px 24px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.problema-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 0;
  background:   #0033A1 ;
  border-radius: 0 3px 3px 0;
  transition: height 0.3s ease;
}

.problema-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.problema-card:hover::before {
  height: 100%;
}

.card-icon {
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.card-icon i {
  font-size: 26px;
  color:  #0033A1 ;
  transition: transform 0.3s ease;
}

.problema-card:hover .card-icon i {
  transform: scale(1.15);
}

.problema-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #000000;
  margin-bottom: 8px;
}

.problema-card p {
  font-size: 0.88rem;
  color: #555;
  line-height: 1.5;
  margin: 0;
}

/* ============================================ */
/* RESPONSIVO                                   */
/* ============================================ */

@media (max-width: 991px) {
  .problema-section {
    padding: 80px 20px;
  }
  
  .problema-grid {
    gap: 40px;
  }
  
  .problema-content h2 {
    font-size: 2.3rem;
  }
  
  /* 2 por linha no tablet */
  .problema-cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
}

@media (max-width: 768px) {
  .problema-section {
    padding: 60px 20px;
  }
  
  .problema-content {
    text-align: center;
  }
  
  .problema-content h2 {
    font-size: 2rem;
  }
  
  .problema-text {
    max-width: 100%;
  }
  
  /* 2 por linha no mobile */
  .problema-cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  
  .problema-card {
    text-align: left;
    padding: 20px 16px;
  }
  
  .card-icon i {
    font-size: 22px;
  }
  
  .problema-card h3 {
    font-size: 0.95rem;
  }
  
  .problema-card p {
    font-size: 0.8rem;
  }
}

@media (max-width: 480px) {
  .problema-content h2 {
    font-size: 1.7rem;
  }
  
  .problema-text {
    font-size: 0.95rem;
  }
  
  .btn-problema {
    width: 100%;
    justify-content: center;
    padding: 12px 22px;
    font-size: 13px;
  }
  
  /* Ajuste para telas muito pequenas */
  .problema-cards {
    gap: 10px;
  }
  
  .problema-card {
    padding: 16px 14px;
  }
  
  .problema-card h3 {
    font-size: 0.9rem;
  }
  
  .problema-card p {
    font-size: 0.75rem;
  }
}

/* ============================================ */
/* TELAS GRANDES                                */
/* ============================================ */

@media (min-width: 1400px) {
  .problema-section .container {
    max-width: 1300px;
  }
  
  .problema-content h2 {
    font-size: 3rem;
  }
  
  .problema-text {
    font-size: 1.1rem;
  }
  
  .problema-cards {
    gap: 24px;
  }
  
  .problema-card {
    padding: 32px 28px;
  }
  
  .card-icon i {
    font-size: 28px;
  }
}

/* ============================================ */
/* ANIMAÇÕES                                    */
/* ============================================ */

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}