/* ========================================
   PAGE-SPECIFIC STYLES - HOME PAGE
======================================== */

body {
  overflow-x: hidden;
}

/* ========================================
   HERO SECTION - HOME PAGE SPECIFIC
======================================== */

.hero {
  padding-top: 60px;
  padding-bottom: 40px;
  background: linear-gradient(135deg, var(--primary-900) 0%, var(--primary-800) 100%);
  min-height: 360px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-overlay img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-overlay::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--primary-900);
  opacity: 0.55;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -10%;
  left: -5%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-content {
  animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-title {
  font-size: clamp(36px, 6vw, 64px);
}

.hero-description {
  margin-bottom: 40px;
  max-width: 650px;
}

.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-cta .btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  font-size: 16px;
  border-radius: 12px;
  transition: all 0.3s ease;
  text-decoration: none;
}

.hero-cta .btn-text {
  font-weight: 600;
}

.hero-cta .btn-primary {
  background: #ffffff;
  color: var(--primary-900);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.hero-cta .btn-primary:hover,
.hero-cta .btn-primary:focus {
  transform: translateY(-2px);
}

.hero-cta .btn-primary:nth-child(1):hover,
.hero-cta .btn-primary:nth-child(1):focus {
  background: var(--bleu-clee);
  border-color: var(--bleu-clee);
  color: #ffffff;
  box-shadow: 0 15px 40px rgba(23, 110, 161, 0.35);
                                                  /* Charte originelle: #176ea1 */
}

.hero-cta .btn-primary:nth-child(2):hover,
.hero-cta .btn-primary:nth-child(2):focus {
  background: var(--orange-clee);
  border-color: var(--orange-clee);
  color: #ffffff;
  box-shadow: 0 15px 40px rgba(216, 134, 27, 0.35);
                                                  /* Charte originelle: #d8861b */
}

/* ========================================
   SECTION SPECIFIC OVERRIDES
======================================== */

.section-subtitle {
  line-height: 1.7;
  font-weight: 400;
}


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

.chiffres-cles {
  padding: 100px 0;
  background-color: #ffffff;
}

.chiffres-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
}

.chiffre-card {
  background: linear-gradient(135deg, var(--primary-50) 0%, var(--grey-50) 100%);
  padding: 40px 28px;
  border-radius: 16px;
  text-align: center;
  transition: all 0.4s ease;
  border: 1px solid var(--primary-100);
  position: relative;
  overflow: hidden;
}

.chiffre-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.3), transparent);
  border-radius: 50%;
  pointer-events: none;
}

.chiffre-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--300);
  background: linear-gradient(135deg, var(--primary-100) 0%, var(--primary-50) 100%);
}

.chiffre-number {
  font-size: 42px;
  font-weight: 700;
  color: var(--primary-900);
  margin-bottom: 8px;
  display: block;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  letter-spacing: -1px;
}

.chiffre-title {
  font-size: 17px;
  font-weight: 600;
  color: var(--primary-900);
  margin-bottom: 8px;
}

.chiffre-text {
  font-size: 14px;
  color: var(--primary-700);
  line-height: 1.6;
  margin: 0;
}


/* ========================================
   CONTACT SECTION
======================================== */

.contact {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--primary-800) 0%, var(--primary-900) 100%);
  position: relative;
  overflow: hidden;
}

.contact::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.08), transparent);
  border-radius: 50%;
  pointer-events: none;
}

.contact .container {
  position: relative;
  z-index: 1;
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 60px;
  align-items: center;
}

.contact-content {
  animation: fadeInLeft 0.8s ease;
}

.contact .section-title {
  color: #ffffff;
  text-align: left;
  margin-bottom: 20px;
}

.contact-text {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.8;
  margin-bottom: 32px;
  max-width: 550px;
}

.contact-features {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 32px;
}

.feature {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
}

.contact-cta {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-cta .btn {
  padding: 16px 28px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 12px;
  text-align: center;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.contact-cta .btn-primary {
  background: #ffffff;
  color: var(--primary-900);
}

.contact-cta .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
}

.contact-cta .btn-outline {
  background: transparent;
  color: #ffffff;
  border-color: #ffffff;
}

.contact-cta .btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
}

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

@media (max-width: 1024px) {
  .hero {
    padding-top: 80px;
    padding-bottom: 60px;
  }

  .hero-title {
    font-size: 48px;
  }

  .hero-description {
    font-size: 16px;
    margin-bottom: 32px;
  }

  .hero-cta {
    gap: 12px;
  }

  .hero-cta .btn {
    flex: 1;
    min-width: 200px;
  }


  .contact-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact-content .section-title {
    text-align: center;
  }

  .contact-cta {
    flex-direction: row;
  }
}

@media (max-width: 768px) {
  .hero {
    min-height: auto;
    padding-top: 60px;
    padding-bottom: 40px;
  }

  .hero-title {
    font-size: 36px;
    margin-bottom: 16px;
  }

  .hero-description {
    font-size: 15px;
    margin-bottom: 24px;
  }

  .hero-cta {
    flex-direction: column;
  }

  .hero-cta .btn {
    width: 100%;
  }


  .chiffres-cles {
    padding: 60px 0;
  }

  .chiffres-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .chiffre-card {
    padding: 32px 20px;
  }

  .chiffre-number {
    font-size: 36px;
  }

  .contact {
    padding: 60px 0;
  }

  .contact-cta {
    flex-direction: column;
  }

  .contact-cta .btn {
    width: 100%;
  }

  .section-header {
    margin-bottom: 40px;
  }

  .section-title {
    font-size: 32px;
  }

  .section-subtitle {
    font-size: 15px;
  }
}

@media (max-width: 480px) {
  .hero {
    padding-top: 40px;
    padding-bottom: 30px;
  }

  .hero-title {
    font-size: 28px;
    margin-bottom: 12px;
  }


  .hero-description {
    font-size: 14px;
    margin-bottom: 20px;
    line-height: 1.6;
  }

  .hero-cta {
    gap: 10px;
  }

  .hero-cta .btn {
    padding: 12px 18px;
    font-size: 14px;
  }


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

  .section-title {
    font-size: 26px;
    margin-bottom: 8px;
  }

  .section-subtitle {
    font-size: 14px;
  }


  .chiffres-cles {
    padding: 40px 0;
  }

  .chiffres-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .chiffre-card {
    padding: 24px 16px;
  }


  .chiffre-number {
    font-size: 32px;
  }

  .chiffre-title {
    font-size: 15px;
  }

  .chiffre-text {
    font-size: 13px;
  }


  .contact {
    padding: 40px 0;
  }

  .contact-text {
    font-size: 15px;
    margin-bottom: 24px;
  }

  .contact-features {
    margin-bottom: 24px;
    gap: 12px;
  }

  .feature {
    font-size: 14px;
    gap: 10px;
  }

}

