/* =========================================================
   PAGE ACCUEIL
   ========================================================= */


body {
  background: black;
}

/* ------- Hero de la page ------- */
.hero{
  margin-top: 100px;
  text-align:center;
  margin-bottom:2.6rem;
}

.hero h1{
  background:var(--yellow);
  color:#1b1b1b;
  display:inline-block;
  padding:10px 16px;
  border-radius:12px;
  box-shadow:var(--shadow);
  font-size:clamp(22px,3.5vw,38px);
  font-weight:800;
}

.hero p {
  font-size: 20px;
  color: white;
}

.hero-sub{
  display:inline-block;
  margin-top:1.2rem;
  background:rgba(0,0,0,0.08);
  color:#fff;
  padding:6px 14px;
  border-radius:999px;
  font-weight:50px;
}

/* ------- Grille des 3 offres ------- */
.offer-grid{
  display:grid;
  gap:1.4rem;
  /* 3 colonnes mais qui passent en 2 puis 1 en petit écran */
  grid-template-columns:repeat(auto-fit, minmax(260px, 1fr));
  margin-bottom:2.5rem;
}

/* chaque carte */
/* conteneur global des cartes */
.offers-wrapper {
  max-width: 1100px;      /* ça évite que ça touche les bords */
  margin: 2rem auto;      /* centre le bloc */
  padding: 0 1.2rem;      /* petite marge intérieure sur petits écrans */
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;            /* espace entre les cartes */
}

/* style d’une carte */
.offer-card {
  background: linear-gradient(180deg, #1b6035, #2f7a4b);
  border: 1.5px solid #FFD447;
  border-radius: 14px;
  padding: 1.2rem 1.1rem 1.3rem;
  text-align: center;
  color: #fff;
  box-shadow: 0 6px 18px rgba(0,0,0,0.15);
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.offer-card p {
  line-height: 1.4;
}

/* bouton */
.cta-btn {
  background: #FFD447;
  color: #1b1b1b;
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  text-decoration: none;
  display: inline-block;
  transition: 0.3s;
}
.cta-btn:hover {
  transform: scale(1.03);
}

/* bloc QR */
.qr-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
}

.qr-section img {
  width: 110px;
  background: #fff;
  border: 2px solid #FFD447;
  border-radius: 10px;
  padding: 4px;
}

.qr-caption {
  font-size: 0.78rem;
  max-width: 210px;
}

/* responsive : en 1 ou 2 colonnes sur mobile/tablette */
@media (max-width: 950px) {
  .offers-wrapper {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 620px) {
  .offers-wrapper {
    grid-template-columns: 1fr;
  }
}