/* ===================================
   WHY US - POURQUOI NOUS CHOISIR
   Section des avantages premium
   =================================== */

/* ========== SECTION ========== */
.why-us {
  padding: 48px 8% 48px !important;
  background: #FFFFFF;
  position: relative;
}

/* ========== HEADER ========== */
.why-header {
  max-width: 760px;
  margin: 0 auto 60px;
  text-align: center;
}

.why-header .section-title {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: #333333;
  margin-bottom: 16px;
}

.why-header .section-subtitle {
  font-size: 1rem;
  color: #333333;
  line-height: 1.6;
}

/* ========== GRILLE ========== */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 36px;
  max-width: 1200px;
  margin: 0 auto;
}

/* ========== CARTES ========== */
.why-card {
  background: #FFFFFF;
  border-radius: 24px;
  padding: 40px 28px;
  text-align: center;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;

  /* Animation initiale */
  opacity: 0;
  transform: translateY(40px);
}

/* État révélé (ajouté via JavaScript) */
.why-card.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger pour les cartes */
.why-card:nth-child(1).revealed {
  transition: opacity 0.7s ease 0.15s, transform 0.7s ease 0.15s;
}

.why-card:nth-child(2).revealed {
  transition: opacity 0.7s ease 0.3s, transform 0.7s ease 0.3s;
}

.why-card:nth-child(3).revealed {
  transition: opacity 0.7s ease 0.45s, transform 0.7s ease 0.45s;
}

/* Hover premium */
.why-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12), 0 0 30px rgba(184, 144, 81, 0.15);
}

/* ========== ICÔNE ========== */
.why-card .icon {
  width: 80px;
  height: 80px;
  background: #B89051;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 24px;
  transition: transform 0.4s ease;
  box-shadow: 0 8px 20px rgba(184, 144, 81, 0.3);
}

.why-card .icon svg {
  width: 38px;
  height: 38px;
  stroke: #FFFFFF;
  transition: filter 0.4s ease;
}

/* Effet sur l'icône au hover */
.why-card:hover .icon {
  transform: scale(1.15) rotate(5deg);
}

.why-card:hover .icon svg {
  filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.6));
}

/* ========== TEXTE ========== */
.why-card h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: #333333;
  margin-bottom: 12px;
  transition: color 0.3s ease;
}

.why-card:hover h3 {
  color: #B89051;
}

.why-card p {
  font-size: 1rem;
  color: #333333;
  line-height: 1.6;
  margin: 0;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
  .why-us {
    padding: 40px 6% 40px !important;
  }
}

@media (max-width: 768px) {
  .why-us {
    padding: 32px 5% 32px !important;
  }

  .why-header {
    margin-bottom: 30px;
  }

  .why-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .why-card {
    padding: 28px 20px;
  }

  .why-card .icon {
    width: 70px;
    height: 70px;
  }

  .why-card .icon svg {
    width: 32px;
    height: 32px;
  }

  .why-card h3 {
    font-size: 1.15rem;
  }

  .why-card p {
    font-size: 0.98rem;
  }
}
