/* ==========================================================================
   FRONT-PAGE.CSS — Styles spécifiques à la page d’accueil
   ========================================================================== */

/* =====================================================
   HERO (au-dessus de la ligne de flottaison)
   ===================================================== */

.hero {
  position: relative;
  min-height: calc(100vh - 90px);
  display: flex;
  align-items: center;
  margin-top: 90px; /* compense le header fixed */
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: -1;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.55),
    rgba(0,0,0,0.45)
  );
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 900px;
  color: #ffffff;
}

.hero-title {
  font-size: clamp(2.5rem, 4vw, 3.4rem);
  line-height: 1.2;
  margin-bottom: 1rem;
  font-weight: 700;
}

.hero-subtitle {
  font-size: 1.15rem;
  max-width: 680px;
  opacity: 0.95;
}


/* =====================================================
   SECTION — CHIFFRES CLÉS
   ===================================================== */

.stats-section {
  background: #f8fafc;
  padding: 80px 0;
}

.stats-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  text-align: center;
}

.stat-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.stat-number {
  font-size: 2.4rem;
  font-weight: 700;
  color: #111827;
}

.stat-label {
  font-size: 0.95rem;
  color: #6b7280;
}


/* =====================================================
   SECTION — SERVICES
   ===================================================== */

.services-section {
  padding: 100px 0;
}

.services-section h2 {
  text-align: center;
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
}

.services-section .section-subtitle {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 70px;
  color: #6b7280;
}

.services-grid {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.service-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
  transition: transform .25s ease, box-shadow .25s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.12);
}

.service-card h3 {
  margin-bottom: 10px;
  font-size: 1.15rem;
}

.service-card p {
  color: #4b5563;
  font-size: 0.95rem;
}

.service-card i,
.why-card i {
  width: 38px;
  height: 38px;
  margin-bottom: 16px;
  color: #ff7a00;
}



/* =====================================================
   SECTION — POURQUOI NOUS CHOISIR
   ===================================================== */

.why-section {
  background: #f9fafb;
  padding: 100px 0;
  text-align: center;
}

.why-section h2 {
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
}

.why-section .section-subtitle {
  max-width: 680px;
  margin: 0 auto 70px;
  color: #6b7280;
}

.why-grid {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.why-card h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.why-card p {
  font-size: 0.95rem;
  color: #4b5563;
}


/* =====================================================
   SECTION — CERTIFICATIONS & PARTENAIRES
   ===================================================== */

.cert-section {
  padding: 100px 0;
  text-align: center;
}

.cert-section h2 {
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
}

.cert-section .section-subtitle {
  max-width: 680px;
  margin: 0 auto 70px;
  color: #6b7280;
}

/* =====================================================
   CERTIFICATIONS — ICÔNES LUCIDE
===================================================== */

.cert-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  background: #ffffff;
  border-radius: 18px;
  padding: 32px 20px;
  box-shadow: 0 10px 26px rgba(0,0,0,0.08);
  font-weight: 600;
  transition: transform .25s ease, box-shadow .25s ease;
}

.cert-card i {
  width: 42px;
  height: 42px;
  color: #ff7a00;
}

.cert-card span {
  font-size: 0.95rem;
  color: #111827;
}

.cert-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.12);
}

/* Badge bas */

.cert-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 40px;
  padding: 14px 32px;
  border-radius: 999px;
  background: #eafff1;
  color: #15803d;
  font-weight: 600;
}

.cert-badge i {
  width: 20px;
  height: 20px;
}


.cert-grid {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.cert-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 30px;
  box-shadow: 0 10px 26px rgba(0,0,0,0.08);
  font-weight: 600;
}

.cert-badge {
  display: inline-block;
  margin-top: 40px;
  padding: 14px 32px;
  border-radius: 999px;
  background: #eafff1;
  color: #15803d;
  font-weight: 600;
}


/* =====================================================
   RESPONSIVE
   ===================================================== */

@media (max-width: 1100px) {
  .stats-container,
  .services-grid,
  .why-grid,
  .cert-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {

  .hero {
    min-height: auto;
    padding: 80px 0;
  }

  .hero-title {
    font-size: 2.1rem;
  }

  .stats-container,
  .services-grid,
  .why-grid,
  .cert-grid {
    grid-template-columns: 1fr;
  }
}