/* ==========================================================================
   NOVAS SEÇÕES - PÁGINA DE CURSOS
   ========================================================================== */

/* --- Estilos Globais e Compartilhados --- */
.section-title {
  color: #002855;
  font-size: 28px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  text-transform: uppercase;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.icon-highlight {
  font-size: 32px;
  color: #007bb5;
  margin-right: 20px;
  flex-shrink: 0;
}

/* --- Seção: O que você vai aprender (Fundo Branco, Cards Cinzas) --- */
.learning-section {
  padding: 60px 15px;
  background-color: #ffffff; 
  font-family: Arial, sans-serif;
}

.learning-card {
  display: flex;
  align-items: center;
  background-color: #f8f9fa; 
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  border-left: 5px solid #007bb5;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.learning-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.learning-card p {
  margin: 0;
  color: #333333;
  font-size: 16px;
  line-height: 1.4;
  font-weight: 600;
}

/* --- Seção: Carreiras Possíveis (Fundo Cinza, Cards Brancos) --- */
.careers-section {
  padding: 60px 15px;
  background-color: #f8f9fa; 
  font-family: Arial, sans-serif;
}

.career-card {
  display: flex;
  align-items: center;
  background-color: #ffffff; 
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  border-left: 5px solid #007bb5;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.career-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.career-card p {
  margin: 0;
  color: #333333;
  font-size: 16px;
  line-height: 1.4;
  font-weight: 600;
}

/* Efeito do Link - Perito Judicial */
.career-link {
  color: #002855;
  text-decoration: none;
  position: relative;
  transition: color 0.3s ease;
}

.career-link:hover {
  color: #007bb5;
}

.career-link::after {
  content: '';
  position: absolute;
  width: 100%;
  transform: scaleX(0);
  height: 2px;
  bottom: -2px;
  left: 0;
  background-color: #007bb5;
  transform-origin: bottom right;
  transition: transform 0.25s ease-out;
}

.career-link:hover::after {
  transform: scaleX(1);
  transform-origin: bottom left;
}

.link-icon {
  font-size: 14px;
  margin-left: 4px;
  opacity: 0.7;
}

/* --- Seção: Call to Action (Quer saber mais?) --- */
.modern-cta-section {
  background-color: #002855;
  padding: 80px 20px;
  font-family: Arial, sans-serif;
  overflow: hidden;
}

.modern-cta-container {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 50px;
}

.cta-text-content {
  flex: 1;
  min-width: 300px;
}

.cta-text-content h2 {
  font-size: 46px;
  font-weight: 800;
  margin-bottom: 15px;
  line-height: 1.1;
  color: #007bb5;
  text-transform: uppercase;
}

.cta-text-content p {
  font-size: 18px;
  color: #e0e0e0;
  line-height: 1.5;
  max-width: 400px;
}

.cta-action-list {
  flex: 1.2;
  min-width: 300px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.cta-action-item {
  display: flex;
  align-items: center;
  background-color: #ffffff;
  color: #002855;
  text-decoration: none;
  padding: 12px 25px 12px 12px;
  border-radius: 50px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.cta-icon-wrapper {
  width: 50px;
  height: 50px;
  background-color: #f8f9fa;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-right: 20px;
  color: #007bb5;
  transition: all 0.3s ease;
}

.cta-icon-wrapper i {
  font-size: 24px;
}

.cta-text {
  font-weight: 600;
  font-size: 16px;
  flex-grow: 1;
}

.cta-arrow {
  font-size: 22px;
  font-weight: bold;
  opacity: 0;
  transform: translateX(-15px);
  transition: all 0.3s ease;
}

.cta-action-item:hover {
  transform: translateX(10px);
  background-color: #007bb5;
  color: #ffffff;
  box-shadow: 0 8px 25px rgba(0, 123, 181, 0.4);
}

.cta-action-item:hover .cta-icon-wrapper {
  background-color: #ffffff;
  color: #007bb5;
}

.cta-action-item:hover .cta-arrow {
  opacity: 1;
  transform: translateX(0);
}

/* Responsividade CTA */
@media (max-width: 768px) {
  .modern-cta-container {
    flex-direction: column;
    text-align: center;
  }
  .cta-text-content p {
    margin: 0 auto;
  }
  .cta-action-item {
    border-radius: 12px;
    text-align: left;
  }
}

