/* ============================================================
   PAGES OFFRES (détail) — surcouche refonte
   Chargée uniquement quand $offre_detail = true (voir header.php),
   APRÈS style.css et le $page_css de la page : elle surcharge donc
   les composants globaux pour les pages d'offres seulement.
   - Boutons pastille
   - Hero A (split arrondi)
   - CTA diapositive portrait
   - Tableaux / blocs aux bords arrondis
   ============================================================ */

/* ---- Boutons pastille ---- */
.btn-primary, .btn-secondary, .btn-outline { border-radius: 999px; }
.btn-primary { padding: 0.8rem 1.9rem; transition: background 0.2s, transform 0.2s; }
.btn-primary:hover { transform: translateY(-1px); }
.btn-secondary { padding: 0.8rem 1.9rem; }
.btn-outline { padding: 0.6rem 1.4rem; }

/* ---- HERO C — carte bordée (image + texte), photo bien visible ---- */
.page-header { border-bottom: none; }
.offre-hero { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 0.95fr 1.05fr; align-items: stretch; border: 1.5px solid var(--gold); border-radius: 20px; overflow: hidden; background: var(--bg-2); }
.offre-hero-poster { position: relative; background-size: cover; background-position: center; min-height: 440px; transition: transform 0.6s ease; }
.offre-hero-poster::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 72%, var(--bg-2)); transition: opacity 0.4s; }
.offre-hero:hover .offre-hero-poster { transform: scale(1.05); }
.offre-hero:hover .offre-hero-poster::after { opacity: 0.5; }
.offre-hero-body { padding: 3rem 3.2rem; display: flex; flex-direction: column; justify-content: center; }
.hero-btns { margin-top: 2rem; display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; }
@media (max-width: 768px) {
  .offre-hero { grid-template-columns: 1fr; }
  .offre-hero-poster { min-height: 240px; }
  .offre-hero-poster::after { background: linear-gradient(0deg, var(--bg-2), transparent 55%); }
  .offre-hero-body { padding: 2rem 1.5rem; }
}

/* ancre de défilement pour les boutons hero internes */
[id] { scroll-margin-top: 84px; }

/* ---- Tableaux / blocs arrondis ---- */
.forfaits { border-radius: 16px; overflow: hidden; }
.options-grid { border-radius: 14px; overflow: hidden; }
.devis-block { border-radius: 14px; }
.crosslink { border-radius: 14px; }
.gallery-grid { border-radius: 16px; overflow: hidden; }
.video-thumb, .video-thumb-empty { border-radius: 14px; overflow: hidden; }

/* ---- CTA FINAL — diapositive portrait (comme l'accueil/offres) ---- */
.cta-accueil { padding: 4rem 0 6rem; }
.cta-dia { display: grid; grid-template-columns: 300px minmax(0, 460px); justify-content: center; gap: 3.5rem; align-items: center; }
.fB { position: relative; aspect-ratio: 51/56; width: 100%; max-width: 300px; background: #181206; border: 1px solid var(--border-light); padding: 18px 18px 40px; box-shadow: 0 26px 55px rgba(0,0,0,.5); }
.fB .img { width: 100%; height: 100%; background-size: cover; background-position: center; background-color: var(--bg-2); box-shadow: inset 0 0 0 1px rgba(0,0,0,.45); }
.fB .label { position: absolute; left: 0; right: 0; bottom: 13px; text-align: center; font-size: 0.56rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--muted); }
.fB .label b { color: var(--cream-dim); font-weight: 500; }
.ct-title { font-family: 'Fraunces', serif; font-weight: 900; font-size: clamp(1.6rem, 3.2vw, 2.4rem); line-height: 1.12; color: var(--cream); }
.ct-title em { font-style: italic; font-weight: 400; color: var(--gold); display: block; }
.ct-body { font-size: 0.92rem; color: var(--muted); line-height: 1.85; margin: 1.2rem 0 2rem; max-width: 430px; }
.btns { display: flex; gap: 1rem; flex-wrap: wrap; }
@media (max-width: 768px) {
  .cta-dia { grid-template-columns: 1fr; gap: 2.5rem; }
  .fB { margin: 0 auto; }
}
