@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap');

body {
  font-family: 'Inter', Arial, sans-serif;
  margin: 0;
  background: #fff;
  color: #21243d;
  font-size: 17px;
}

/* HEADER */
.header {
  width: 100%;
  background: #f7f8fa;
  border-bottom: 1px solid #eaeaea;
}

.header-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.6rem 2rem 0.6rem 2rem; /* padding vertical réduit */
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-weight: 700;
  font-size: 1.7rem;
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  font-family: 'Inter', Arial, sans-serif;
}
.parrainage {
  color: #21243d;
  font-weight: 700;
}
.plus {
  color: #ffba08;
  margin-left: 0.6rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  font-size: 1.95rem;
  font-family: 'Inter', Arial, sans-serif;
}
nav a {
  color: #222;
  text-decoration: none;
  font-weight: 600;
  margin-left: 2.2rem;
  font-size: 1.08rem;
  transition: color 0.2s;
  letter-spacing: 0.01em;
}
nav a:hover {
  color: #ffba08;
}

/* CONTENU PRINCIPAL */
.main-container {
  max-width: 1200px;
  margin: 0 auto;
padding: 0 1rem;
  background: none;
}

.hero {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.2rem 2rem 1.2rem;
  background: #fff;
}
.hero-text {
  flex: 1 1 480px;
  min-width: 280px;
}
.hero-text h1 {
  font-size: 3.2rem;
  margin-bottom: 1.2rem;
  color: #21243d;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.01em;
}
.hero-img {
  flex: 1 1 420px;
  min-width: 220px;
  text-align: right;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-img img {
  max-width: 420px;
  width: 100%;
  background: transparent;
}


.hero-spantitle {
    text-decoration: underline;
    text-decoration-thickness: 0.6rem;
    text-decoration-color: #ffba08;
    text-underline-offset: 0.3rem;
}

/* BLOC EXPLICATION */
.fonctionnement {
  text-align: left;
  margin: 2.5rem 0 3rem 0;
  background: #fffbe5;
  padding: 1rem 2rem 1.2rem 2rem;
  border-radius: 1rem;
  box-shadow: 0 4px 20px #ffe5a233;
}
.fonctionnement h2 {
  margin-top: 0;
  color: #ffba08;
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}
.fonctionnement p {
  font-size: 1.11rem;
  line-height: 1.7;
  font-weight: 400;
}

/* TOP PROGRAMMES */
.top-programmes {
  padding: 2rem 0 0.5rem 0;
  text-align: center;
}
.top-programmes h2 {
  font-size: 1.6rem;
  color: #14204a;
  margin-bottom: 1.5rem;
  font-weight: 700;
}
.programmes-list {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.programme-card {
  background: #fff;
  border-radius: 1rem;
  box-shadow: 0 4px 16px #e5e7eb44;
  padding: 1rem 2rem;
  min-width: 120px;
  text-align: center;
  margin: 0.5rem;
  transition: transform 0.15s;
}
.programme-card:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 8px 28px #ffe5a266;
}
.programme-card img {
  max-height: 38px;
  margin-bottom: 0.6rem;
}
.programme-card span {
  font-weight: 600;
  color: #222;
  font-family: 'Inter', Arial, sans-serif;
}

/* FOOTER */

.footer {
  width: 100%;
  background: #eaeaea;
  color: #fff;
  border-top: none;
  padding: 1.2rem 0;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2.5rem;
  font-size: 1rem;
}
.footer-links a {
  color: #222;
  text-decoration: none;
  opacity: 0.9;
  transition: color 0.2s;
  margin-left: 1.5rem;
}
.footer-links a:hover {
  text-decoration: underline;
  text-decoration-thickness: 3px;
  text-underline-offset: 3px;
  text-decoration-color: #ffba08;
}
.footer-copy {
  color: #72787e;
  font-size: 1rem;
  opacity: 0.8;
  font-family: inherit;
}

/* Responsive */
@media (max-width: 900px) {
  .footer-content {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }
  .footer-links a {
    margin-left: 0.8rem;
    margin-right: 0.8rem;
  }
}



.logo {
  text-decoration: none; /* enlève souligné éventuel */
  cursor: pointer;
  /* ...tes styles existants */
}

/* RESPONSIVE */
@media (max-width: 900px) {

 .main-container {
    padding-top: 0; /* si besoin */
  }

.header-content,
  .footer-content {
    max-width: 98vw;
    padding: 1rem;
  }
  
 .hero {
    flex-direction: column;
    gap: 0.7rem;
    padding: 0.3rem 0.5rem 0.8rem 0.5rem;
    text-align: center;
  }
  .hero-text {
    flex: 1 1 auto;
    min-width: 0;
  }
  .hero-img {
    margin: 0;
    text-align: center;
  }


  .programme-card {
    min-width: 80px;
    padding: 1rem 1.2rem;
  }
  .footer-content {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }
}


.a-ne-pas-rater {

}
.a-ne-pas-rater h2 {
  font-size: 1.6rem;
  font-weight: 700;
  color: #161a1d;
  margin: 0 0 1.5rem 0.8rem;
}

.offers-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2rem;
  width: 100%;
}
.offer-card {
  background: #fff;
  border-radius: 1.5rem;
  box-shadow: 0 4px 32px #1c212333;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.2s, transform 0.2s;
  position: relative;
  cursor: pointer;
}
.offer-card:hover {
  box-shadow: 0 6px 40px #51be6b33;
  transform: translateY(-2px) scale(1.015);
}
.offer-img-container {
  position: relative;
  width: 100%;
  height: 180px;
  background: #eee;
}
.offer-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.badge-new {
  position: absolute;
  top: 14px;
  left: 14px;
  background: #ffba08;
  color: #000;
  font-size: 1.08rem;
  font-weight: 700;
  border-radius: 1.2em;
  padding: 0.15em 1.05em;
  letter-spacing: 0.03em;
  z-index: 2;
  box-shadow: 0 2px 8px #1c212322;
}
.offer-info {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: 1.2rem 1.4rem 0.4rem 1.4rem;
}
.partner-logo {
  background: #fff;
  border-radius: 0.7rem;
  box-shadow: 0 2px 10px #e2e6eb44;
  padding: 0.6em 1.1em;
  display: flex;
  align-items: center;
  min-width: 90px;
  max-width: 110px;
  min-height: 55px;
  max-height: 55px;
}
.partner-logo img {
  max-width: 90px;
  max-height: 38px;
  margin: 0 auto;
  display: block;
}
.offer-desc {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.offer-head .offer-main {
  font-size: 1.5rem;
  font-weight: 700;
  color: #232527;
  display: block;
  margin-bottom: 0.1em;
}
.green {
  color: #17b45a;
  font-weight: 700;
}
.offer-head .offer-alt {
  font-size: 1.15rem;
  color: #656b84;
  margin-top: 0.15em;
}
.offer-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 1.4rem 1.2rem 1.4rem;
  font-size: 1rem;
  color: #72787e;
  background: transparent;
  border-radius: 0 0 1.5rem 1.5rem;
}
.offer-btn {
  background: #17b45a;
  color: #fff;
  font-weight: 700;
  border-radius: 2em;
  padding: 0.7em 1.6em;
  font-size: 1.15rem;
  box-shadow: 0 2px 12px #51be6b33;
  transition: background 0.2s, box-shadow 0.2s;
  user-select: none;
  pointer-events: none; /* Permet que le clic agisse sur toute la card */
}
.offer-card:hover .offer-btn {
  background: #16a14d;
  box-shadow: 0 4px 16px #51be6b44;
}
/* Responsive */
@media (max-width: 900px) {
  .offers-row {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }
  .offer-card {
    width: 100%;
    min-width: 0;
  }
}


.liste-offres {
 margin-bottom: 2.5rem;
}

.liste-offres h2 {
  font-size: 1.6rem;
  font-weight: 700;
  margin: 0 0 1.2rem 1rem;
  color: #161a1d;
}

.offres-list {
  display: flex;
  flex-direction: column;
  gap: 1.3rem;
  padding: 0;
  margin: 0 auto;
  max-width: 1200px;
}
.offre-row {
  background: #fff;
  border-radius: 1.2rem;
  box-shadow: 0 2px 14px #1c212314;
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: 1.2rem 1.3rem 1.2rem 1.1rem;
  min-height: 92px;
  transition: box-shadow 0.15s, transform 0.15s;
  position: relative;
  text-decoration: none;
  color: #222;
  cursor: pointer;
}
.offre-row:hover {
  box-shadow: 0 4px 24px #51be6b33;
  transform: translateY(-2px) scale(1.01);
}



.offre-logo img {
  max-width: 100px;
  max-height: 44px;
  border-radius: 0.7rem;
  background: #f8fafd;
  padding: 0.5rem 0.8rem;
  display: block;
}
.offre-desc {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  font-size: 1.07rem;
  color: #21243d;
  gap: 0.1rem;
}
.offre-principal {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
}
.offre-details {
  color: #21243d;
  font-weight: 400;
  font-size: 1rem;
}
.offre-btn {
  background: #17b45a;
  color: #fff;
  font-weight: 700;
  border-radius: 2em;
  padding: 0.55em 1.3em;
  text-decoration: none;
  font-size: 1.06rem;
  margin-left: auto;
  transition: background 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 12px #51be6b33;
  display: inline-block;
  cursor: pointer;
  border: none;
}
.offre-btn:hover {
  background: #16a14d;
  box-shadow: 0 4px 16px #51be6b44;
}
.offre-code {
  background: #eef6ff;
  color: #2563eb;
  font-size: 1rem;
  border-radius: 2em;
  padding: 0.25em 1em;
  margin-left: 1.1rem;
  display: flex;
  align-items: center;
  font-weight: 600;
}
.offre-code-label {
  display: flex;
  align-items: center;
  gap: 0.3em;
}

@media (max-width: 700px) {
  .offre-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.7rem;
    padding: 1rem;
    min-height: 70px;
  }
  .offre-btn {
    margin-left: 0;
    width: 100%;
    text-align: center;
  }
  .offre-logo img {
    max-width: 70px;
    max-height: 30px;
    padding: 0.3rem 0.5rem;
  }
}





