@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  background-color: #f0ede6;
  min-height: 100vh;
  padding: 24px 32px;
}

/*Barre de navigation*/
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 30px 24px;
}

.logo {
  height: 120px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 40px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: #444;
  font-size: 0.97rem;
  font-weight: 400;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: #2e6e4f;
}

.btn-contact a {
  border: 1.5px solid #8a8989;
  border-radius: 999px;
  padding: 8px 22px;
  color: #1a1a1a !important;
  font-weight: 500;
  transition:
    border-color 0.2s,
    color 0.2s !important;
}

.btn-contact a:hover {
  border-color: #2e6e4f !important;
  color: #2e6e4f !important;
}

/* Hamburger — caché sur desktop */
.hamburger {
  display: none;
  background: transparent;
  border: none;
  font-size: 1.6rem;
  color: #333;
  cursor: pointer;
  z-index: 1000;
}

/* Bouton fermer — caché sur desktop */
.nav-close {
  display: none;
}

/* Overlay */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 998;
  opacity: 0;
  transition: opacity 0.3s;
}

.nav-overlay.active {
  display: block;
  opacity: 1;
}

/* ── MOBILE ── */
@media (max-width: 768px) {
  .hamburger {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 75%;
    max-width: 300px;
    height: 100vh;
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    padding: 80px 32px 40px;
    gap: 28px;
    z-index: 999;
    transition: right 0.35s ease;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.12);
  }

  .nav-links.open {
    right: 0;
  }

  .nav-close {
    display: flex;
    position: absolute;
    top: 24px;
    right: 24px;
    background: transparent;
    border: none;
    font-size: 1.5rem;
    color: #333;
    cursor: pointer;
  }

  .nav-close:hover {
    color: #2e6e4f;
  }

  .btn-contact a {
    border: 1.5px solid #8a8989;
    border-radius: 999px;
    padding: 8px 22px;
  }
}

/*Carte au niveau du header*/
.card {
  background-color: #f5f0e8;
  border-radius: 28px;
  padding: 80px 72px 60px;
  max-width: 1100px;
  margin: 0 auto;
  box-shadow: 0 2px 24px rgba(0, 0, 0, 0.06);
}

.title {
  font-size: clamp(2.8rem, 5vw, 4.2rem);
  font-weight: 500;
  color: #5a5a5a;
  line-height: 1.15;
  margin-bottom: 28px;
}

.coleur {
  color: #2e6e4f;
  font-weight: 700;
}

.sous-titre {
  font-size: 1rem;
  color: #888;
  max-width: 480px;
  line-height: 1.6;
  margin-bottom: 40px;
}

.btn-debut {
  display: inline-block;
  border: 1px solid #1a1a1a;
  border-radius: 999px;
  padding: 14px 40px;
  font-size: 1rem;
  font-weight: 500;
  color: #1a1a1a;
  text-decoration: none;
  background: transparent;
  cursor: pointer;
  transition:
     0.2s,
    color 0.2s;
}

.btn-debut:hover {
  background: #2e6e4f;
  color: #f5f0e8;
}

.footer-titre {
  margin-top: 40px;
  font-size: 0.75rem;
  color: #bbb;
}

.info-section {
  display: flex;
  justify-content: center;
  gap: 80px;
  padding: 80px 60px;
  max-width: 1200px;
  margin: 40px auto;
}

.info-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 420px;
}

.info-image {
  width: 100%;
  max-width: 320px;
  height: auto;
  margin-bottom: 32px;
  padding-bottom: 20px;
}

.info-title {
  font-size: 1.35rem;
  font-weight: 500;
  color: #3a3a3a;
  line-height: 1.5;
  margin-bottom: 24px;
}

.info-text {
  font-size: 0.9rem;
  color: #999;
  line-height: 1.7;
  max-width: 340px;
}

/* Ligne du haut */
.sectionStat {
  max-width: 1100px;
  margin: 0 auto;
  padding: 60px 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.statstop {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.descriptStat {
  background-color: #f0f0f0;
  box-shadow: 0 2px 24px rgba(0, 0, 0, 0.06);
  border-radius: 16px;
  padding: 28px 36px;
  max-width: 420px;
  font-size: 1.15rem;
  color: #3a3a3a;
  line-height: 1.5;
  font-weight: 400;
}

.stats-badges {
  display: flex;
  gap: 20px;
}

.badge {
  background-color: #2e6e4f;
  border-radius: 16px;
  padding: 24px 36px;
  text-align: center;
  color: #ffffff;
  min-width: 160px;
}

.badge-num {
  display: block;
  font-size: 2.8rem;
  font-weight: 500;
  line-height: 1;
  margin-bottom: 8px;
}

.badge-label {
  font-size: 0.95rem;
  font-weight: 400;
  opacity: 0.9;
}

/* Carte "Comment ça marche" */
.Comment-card {
  background-color: #f5f5f5;
  box-shadow: 0 2px 24px rgba(0, 0, 0, 0.06);
  border-radius: 24px;
  padding: 48px 48px 40px;
}

.how-titre {
  font-size: 2rem;
  font-weight: 500;
  color: #1a1a1a;
  margin-bottom: 48px;
}

.Etapes {
  display: flex;
  gap: 60px;
  margin-bottom: 48px;
}

.step {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.step-number {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 1.5px solid #1a1a1a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  font-weight: 700;
  color: #1a1a1a;
  background: transparent;
}

.step-name {
  font-size: 1.2rem;
  font-weight: 500;
  color: #1a1a1a;
}

.step-text {
  font-size: 0.9rem;
  color: #888;
  line-height: 1.7;
}

.btn-test {
  display: inline-block;
  border: 1.5px solid #1a1a1a;
  border-radius: 999px;
  padding: 14px 32px;
  font-size: 1rem;
  font-weight: 400;
  color: #1a1a1a;
  text-decoration: none;
  background: transparent;
  font-family: "Poppins", sans-serif;
  cursor: pointer;
  transition:
    0.2s,
    color 0.2s;
}

.btn-test:hover {
  background: #2e6e4f;
  color: #ffffff;
  border-color: #2e6e4f;
}

/*Section "Ce que vous recevrez"*/
.features-section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 80px 32px;
  text-align: center;
}

.features-titre {
  font-size: 2.2rem;
  font-weight: 700;
  color: #3a3a3a;
  margin-bottom: 64px;
}

.features-grid {
  display: flex;
  justify-content: center;
  gap: 80px;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 260px;
  gap: 16px;
}

.feature-icon {
  width: 72px;
  height: 72px;
  background-color: #2e6e4f;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}

.feature-icon i {
  font-size: 1.6rem;
  color: white;
}

.feature-name {
  font-size: 1.1rem;
  font-weight: 500;
  color: #2a2a2a;
}

.feature-text {
  font-size: 0.9rem;
  color: #999;
  line-height: 1.7;
  text-align: center;
}

/* Footer */
.footer {
  background-color: #2d2d2d;
  color: #ccc;
  padding: 60px 80px 0;
  font-family: "Poppins", sans-serif;
}

.footer-top {
  display: flex;
  flex-direction: column;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid #444;
}

.footer-logo-img {
  height: 120px;
  width: auto;
}

.footer-links {
  display: flex;
  justify-content: space-between;
  gap: 40px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 180px;
}

.footer-col-title {
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 4px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-col ul li a {
  text-decoration: none;
  color: #aaa;
  font-size: 0.92rem;
  font-weight: 400;
  transition: color 0.2s;
}

.footer-col ul li a:hover {
  color: #ffffff;
}

/* Icônes sociales */
.social-icons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.social-btn {
  width: 52px;
  height: 52px;
  background-color: #3e3e3e;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1.2rem;
  text-decoration: none;
  transition: 0.2s;
}

.social-btn:hover {
  background-color: #2e6e4f;
}

/* Bas du footer */
.footer-bottom {
  text-align: center;
  padding: 20px 0;
  font-size: 0.85rem;
  color: #777;
  border-top: 1px solid #444;
  margin-top: 0;
}

/* 
   RESPONSIVE — TABLETTE (max 768px)
*/
@media (max-width: 768px) {
  body {
    padding: 16px;
  }

  /* Carte hero */
  .card {
    padding: 48px 32px 40px;
    border-radius: 20px;
  }

  /* Info section */
  .info-section {
    flex-direction: column;
    align-items: center;
    padding: 48px 24px;
    gap: 48px;
  }

  /* Stats */
  .statstop {
    flex-direction: column;
    align-items: stretch;
  }

  .descriptStat {
    max-width: 100%;
  }

  .stats-badges {
    justify-content: center;
    flex-wrap: wrap;
  }

  /* Comment ça marche */
  .Comment-card {
    padding: 32px 24px;
  }

  .Etapes {
    flex-direction: column;
    gap: 32px;
  }

  /* Features */
  .features-grid {
    flex-direction: column;
    align-items: center;
    gap: 40px;
  }

  /* Footer */
  .footer {
    padding: 48px 32px 0;
  }

  .footer-links {
    flex-wrap: wrap;
    gap: 32px;
  }

  .footer-col {
    min-width: calc(50% - 16px);
  }
}

/*
   RESPONSIVE — MOBILE (max 480px)
 */
@media (max-width: 480px) {
  body {
    padding: 12px;
  }

  /* Carte hero */
  .card {
    padding: 32px 20px;
    border-radius: 16px;
  }

  .title {
    font-size: 2rem;
  }

  .sous-titre {
    font-size: 0.9rem;
    max-width: 100%;
  }

  .btn-debut {
    display: block;
    text-align: center;
  }

  /* Info section */
  .info-section {
    padding: 32px 16px;
    gap: 32px;
    margin: 20px auto;
  }

  .info-image {
    max-width: 220px;
  }
  .info-title {
    font-size: 1.1rem;
  }

  /* Stats */
  .sectionStat {
    padding: 32px 16px;
  }

  .descriptStat {
    font-size: 0.95rem;
    padding: 20px;
  }

  .badge {
    min-width: 120px;
    padding: 16px 20px;
  }

  .badge-num {
    font-size: 2rem;
  }

  /* Comment ça marche */
  .Comment-card {
    padding: 24px 16px;
    border-radius: 16px;
  }

  .how-titre {
    font-size: 1.5rem;
    margin-bottom: 28px;
  }

  .Etapes {
    gap: 24px;
    margin-bottom: 28px;
  }

  .step-number {
    width: 52px;
    height: 52px;
    font-size: 1.4rem;
  }

  .step-name {
    font-size: 1rem;
  }

  .btn-test {
    display: block;
    text-align: center;
  }

  /* Features */
  .features-section {
    padding: 48px 16px;
  }

  .features-titre {
    font-size: 1.6rem;
    margin-bottom: 40px;
  }

  /* Footer */
  .footer {
    padding: 40px 20px 0;
  }

  .footer-logo-img {
    height: 80px;
  }

  .footer-links {
    flex-direction: column;
    gap: 24px;
  }

  .footer-col {
    min-width: 100%;
  }

  .footer-bottom {
    font-size: 0.78rem;
  }
}


/* css pour le bouton remonter */
.btn-top{
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  background-color: #2e6e4f !important;
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 1.1rem;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  transition: 0.2s, transform 0.2s;
  z-index: 999;
}

.btn-top:hover {
  background-color: #235a40;
  transform: translateY(-3px);
}

.btn-top.visible {
  display: flex;
}