/* =========================================================
   PAGE ACCOMPAGNEMENT
   ========================================================= */

/* Hero similaire à l'accueil */
body{
    background: black !important;
}

.hero {
  text-align: center;
  margin: 2rem auto 2.6rem;
}
.hero h1 {
  background: green;
  color: white;
  display: inline-block;
  padding: 10px 16px;
  border-radius: 12px;
  box-shadow: var(--shadow);
  font-size: clamp(22px, 3.5vw, 38px);
  font-weight: 800;
  margin-bottom: 1rem;
}
.hero-sub {
  display: block;
  margin-top: 1.2rem;
  background: rgba(0,0,0,0.08);
  color: #fff;
  padding: 6px 14px;
  border-radius: 999px;
  font-weight: 500;
}

/* ====== Grille des offres ====== */
.offers-wrapper {
  max-width: 1100px;
  margin: 0 auto 2.5rem;
  padding: 0 1.2rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}

/* --- Carte verte --- */
.offer-card {
  background: #104D46;
  color: #fff;
  border: 1px solid #FFD447;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  padding: 2rem 1.5rem;
  max-width: 800px;
  margin: 2rem auto;
  text-align: center;
}

/* --- Titre et texte --- */
.offer-card h2 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  margin-top: 0;
}
.offer-card p {
  margin-bottom: 1.5rem;
  font-size: 1rem;
}

/* ====== Boutons + QR : côte à côte propre ====== */
.cta-group {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 2rem; /* espace horizontal entre blocs */
}

/* Un bloc = 1 bouton + 1 QR en-dessous */
.cta-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  width: 220px; /* largeur fixe équilibrée */
}

/* --- Boutons --- */
.cta-btn {
  background: #FFD447;
  color: #1b1b1b;
  text-decoration: none;
  font-weight: 700;
  padding: 10px 18px;
  border-radius: 8px;
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
  display: inline-block;
}
.cta-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 0 10px #FFD447;
  filter: saturate(1.05);
}

/* Variante bouton virement (vert profond + liseré jaune) */
.cta-btn.virement {
  background-color: #004d26;
  border: 2px solid #FFD447;
  color: #fff;
}

/* Option d’empilement simple de boutons si besoin (non obligatoire) */
.payment-options {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

/* ====== Bloc infos virement (ouvre via :target) ====== */
#virement {
  display: none; /* masqué par défaut : s’affiche si ancre #virement */
}
#virement:target {
  display: block;
}
.virement-info {
  text-align: left;
  background: #e8f5e9;
  border: 1px solid rgba(255,212,71,.35);
  border-radius: 12px;
  padding: 1rem 1.2rem 1.1rem;
  margin-top: 1rem;
  max-width: 560px;
  margin-inline: auto;
  color: #0f3c33;
}
.virement-info h3 {
  margin: 0 0 .6rem;
  font-size: 1.05rem;
  color: #0d5d2c;
}
.virement-info ul {
  margin: 0 0 .6rem 1rem;
  padding: 0;
  line-height: 1.45;
}
.virement-info li {
  margin: .15rem 0;
}

/* ====== QR section (unique, sans doublon) ====== */
.qr-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .4rem;
}
.qr-section img {
  width: 70px;               /* ajusté comme sur l’accueil */
  background: #fff;
  border: 2px solid #FFD447;
  border-radius: 10px;
  padding: 4px;
}
.qr-caption {
  font-size: 0.78rem;
  color: #ddd;
  line-height: 1.3;
  max-width: 180px;
  text-align: center;
  margin-top: 2px;
}

/* ====== Bloc feed-back (supplément par rapport à l’accueil) ====== */
.feedback-block {
  max-width: 1000px;
  margin: 0 auto 2.5rem;
  background: rgba(0,0,0,.12);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 14px;
  padding: 1.1rem 1rem 1.4rem;
  text-align: center;
}
.feedback-title {
  margin-bottom: .8rem;
  font-weight: 500;
}
.feedback-form {
  display: flex;
  gap: .5rem;
  justify-content: center;
  flex-wrap: wrap;
}
.feedback-form input {
  padding: .5rem .7rem;
  border-radius: 8px;
  border: 1px solid rgba(0,0,0,.1);
  min-width: 240px;
}
.feedback-form button {
  background: var(--yellow);
  color: #0d5d2c;
  border: none;
  border-radius: 8px;
  padding: .5rem 1rem;
  font-weight: 600;
  cursor: pointer;
}

/* ====== Responsive ====== */
@media (max-width: 950px) {
  .offers-wrapper {
    grid-template-columns: 1fr 1fr;
  }
  .cta-group {
    gap: 1.4rem;
  }
  .cta-block {
    width: 200px;
  }
}
@media (max-width: 640px) {
  .offers-wrapper {
    grid-template-columns: 1fr;
  }
  .cta-block {
    width: min(260px, 100%);
  }
  .virement-info {
    margin-inline: 1rem;
  }
}