/* ===== SECTION PROTECTIONS ESSENTIELLES ===== */
/* Fichier CSS réutilisable pour la section Protections Essentielles */

.protections-essentielles-section {
  background-color: var(--color-white);
  padding: 80px 0;
}

.protections-essentielles-section__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  text-align: center;
}

.protections-essentielles-intro {
  margin-bottom: 60px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.protections-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 60px;
}

.protection-card {
  background-color: var(--color-white);
  border-radius: var(--border-radius);
  padding: 50px 35px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.protection-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.protection-card__icon {
  width: 100px;
  height: 100px;
  margin: 0 auto 25px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 25px;
}

/* Couleurs spécifiques pour chaque carte */
.protection-card:nth-child(1) .protection-card__icon {
  background-color: var(--color-coral); /* #FF9896 */
}

.protection-card:nth-child(2) .protection-card__icon {
  background-color: var(--color-beige); /* #F3E9DB */
}

.protection-card:nth-child(3) .protection-card__icon {
  background-color: var(--color-violet-light); /* #D8CFFE */
}

.protection-card:nth-child(4) .protection-card__icon {
  background-color: var(--color-blue-sky); /* #8FBFF8 */
}

.protection-card:nth-child(5) .protection-card__icon {
  background-color: var(--color-violet-light); /* #D8CFFE */
}

.protection-card:nth-child(6) .protection-card__icon {
  background-color: var(--color-green-pale); /* #D1F5E1 */
}

.protection-card__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.protection-card__title {
  text-align: center;
  font-family: var(--font-avenir);
  font-weight: 700;
  font-size: 24px;
  line-height: 1.3;
  color: var(--color-dark-blue);
  margin: 0;
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.protections-essentielles-content {
  margin-bottom: 40px;
  text-align: left;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.protections-essentielles-cta {
  text-align: center;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) {
  .protections-essentielles-section {
    padding: 60px 0;
  }
  
  .protections-essentielles-section__container {
    padding: 0 30px;
  }
  
  .protections-cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
  
  .protection-card {
    padding: 40px 30px;
    min-height: 250px;
  }
  
  .protection-card__icon {
    width: 90px;
    height: 90px;
    padding: 22px;
  }
  
  .protection-card__title {
    font-size: 18px;
  }
}

@media (max-width: 768px) {
  .protections-essentielles-section {
    padding: 60px 0;
  }
  
  .protections-essentielles-section__container {
    padding: 0 20px;
  }
  
  .protections-cards {
    display: flex;
    overflow-x: auto;
    gap: 25px;
    padding: 20px 0;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }
  
  .protection-card {
    flex: 0 0 320px;
    scroll-snap-align: center;
    padding: 40px 25px;
    min-height: 280px;
  }
  
  .protections-essentielles-intro {
    margin-bottom: 40px;
  }
  
  .protections-essentielles-content {
    text-align: center;
  }
}

@media (max-width: 480px) {
  .protections-essentielles-section {
    padding: 40px 0;
  }
  
  .protections-essentielles-section__container {
    padding: 0 15px;
  }
  
  .protection-card {
    flex: 0 0 280px;
    padding: 35px 20px;
    min-height: 250px;
  }
  
  .protection-card__icon {
    width: 80px;
    height: 80px;
    padding: 20px;
  }
  
  .protection-card__title {
    font-size: 18px;
  }
}
