/* ==========================================================================
   TRIOPARC — Page Offres (promotions, forfaits, cartes cadeaux)
   Source : Figma « Offres v1 » (356:2) — 1920 × 2668
   ========================================================================== */

/* Fond derrière la courbe du hero = début de la section Forfaits */
.offres-page { background: var(--bg-2); }

/* ---------- HERO (706) ---------- */
.offres-hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 706px;
  padding-top: 124px;
  padding-bottom: 200px;
  background: var(--bg-1);
  /* Courbe du bas : même masque que l'accueil (ellipse 2800 × 808), aligné au bas du hero */
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg preserveAspectRatio=%22none%22 overflow=%22visible%22 style=%22display: block;%22 width=%222800%22 height=%22924%22 viewBox=%220 0 2800 924%22 fill=%22none%22 xmlns=%22http://www.w3.org/2000/svg%22%3E%3Cpath d=%22M2360 225.938C2630.89 299.61 2800 404.106 2800 520C2800 743.123 2173.2 924 1400 924C626.801 924 0 743.123 0 520C0 404.106 169.107 299.61 440 225.938V0H2360V225.938Z%22 fill=%22%23D9D9D9%22/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg preserveAspectRatio=%22none%22 overflow=%22visible%22 style=%22display: block;%22 width=%222800%22 height=%22924%22 viewBox=%220 0 2800 924%22 fill=%22none%22 xmlns=%22http://www.w3.org/2000/svg%22%3E%3Cpath d=%22M2360 225.938C2630.89 299.61 2800 404.106 2800 520C2800 743.123 2173.2 924 1400 924C626.801 924 0 743.123 0 520C0 404.106 169.107 299.61 440 225.938V0H2360V225.938Z%22 fill=%22%23D9D9D9%22/%3E%3C/svg%3E");
  -webkit-mask-size: max(2800px, 145.84%) auto;
  mask-size: max(2800px, 145.84%) auto;
  -webkit-mask-position: 50% 100%;
  mask-position: 50% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}
/* VISUEL — hero, déposer ici (emplacement photo/vidéo, dégradé de la maquette) */
.offres-hero__visuel {
  position: absolute;
  top: 0; bottom: 0;
  left: 38.54%;      /* 740 / 1920 */
  width: 61.46%;     /* 1180 / 1920 */
  background: linear-gradient(180deg, #1a2450 0%, #0a1024 100%);
  overflow: hidden;
}
.offres-hero__visuel img, .offres-hero__visuel video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
/* VOILE — fusion de l'image vers la gauche */
.offres-hero__visuel::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to left, rgba(0, 0, 0, 0) 0%, #000 70.7%);
}
/* Dégradé — voile de gauche */
.offres-hero__voile {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(180deg, rgba(3, 5, 13, 0.88) 0%, rgba(3, 5, 13, 0.28) 10%, rgba(3, 5, 13, 0) 20%, rgba(3, 5, 13, 0) 84%, rgba(3, 5, 13, 0.42) 100%),
    radial-gradient(576px 240px at 14% 86%, rgba(201, 92, 255, 0.22) 0%, rgba(201, 92, 255, 0.1364) 40%, rgba(201, 92, 255, 0.0484) 70%, rgba(201, 92, 255, 0) 100%),
    radial-gradient(806px 494px at 30% 44%, rgba(138, 92, 255, 0.62) 0%, rgba(138, 92, 255, 0.3844) 40%, rgba(138, 92, 255, 0.1364) 70%, rgba(138, 92, 255, 0) 100%),
    linear-gradient(90deg, rgb(10, 15, 40) 0%, rgb(21, 15, 62) 26%, rgba(27, 18, 72, 0.9) 38.5%, rgba(23, 26, 68, 0.52) 47%, rgba(12, 20, 50, 0.16) 55%, rgba(6, 11, 28, 0) 63%, rgba(6, 11, 28, 0) 100%);
}
.offres-hero .container { position: relative; z-index: 1; }
.offres-hero__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 40px;
}
.offres-hero__header { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.offres-hero__header .eyebrow { line-height: 1.6; }
.offres-hero__title {
  font-size: 80px;
  line-height: 1.02;
  letter-spacing: -0.8px;
  color: var(--txt-principal);
  text-shadow: 0 0 64px rgba(169, 232, 94, 0.18);
  white-space: nowrap;
}
.offres-hero__title .grad-text { background-image: linear-gradient(90deg, #a9e85e 0%, #38c6f0 100%); }
.offres-hero__sub {
  max-width: 660px;
  font-size: 20px;
  line-height: 1.65;
  color: var(--txt-doux);
}
.offres-hero__actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }

/* Indicateur de défilement */
.offres-hero__scroll {
  position: absolute;
  left: 50%;
  top: calc(100% - 104px);     /* y = 602 sur 706 (maquette) */
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #d1def5;
}
.offres-hero__scroll-label { display: flex; flex-direction: column; align-items: center; gap: 10px; white-space: nowrap; }
.offres-hero__scroll-label span:first-child { font-size: 12px; letter-spacing: 4.08px; }
.offres-hero__scroll-label span:last-child { font-size: 26px; font-weight: 300; line-height: 1; animation: offres-bob 2.2s ease-in-out infinite; }
.offres-hero__light {
  width: 246px; height: 3px;
  background: linear-gradient(90deg, rgba(15, 28, 61, 0) 0%, rgba(56, 198, 240, 0.55) 28%, rgba(255, 255, 255, 0.95) 50%, rgba(255, 111, 168, 0.55) 72%, rgba(15, 28, 61, 0) 100%);
  box-shadow: 0 -8px 60px 6px rgba(140, 102, 255, 0.5), 0 0 26px 0 rgba(255, 255, 255, 0.45);
}
@keyframes offres-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(5px); } }

/* ---------- En-têtes de section (42px) ---------- */
.offres-header { gap: 14px; max-width: 760px; }
.offres-header .eyebrow { line-height: 1.6; }
.offres-h2 {
  font-size: 42px;
  line-height: 1.12;
  letter-spacing: -0.42px;
  color: var(--txt-principal);
}
.offres-lead { font-size: 20px; line-height: 1.65; color: var(--txt-doux); }

/* ---------- FORFAITS (812) ---------- */
.offres-forfaits { background: linear-gradient(180deg, var(--bg-2) 0%, #1f2042 55%, #1d1f3a 100%); }
.offres-forfaits .container { display: flex; flex-direction: column; align-items: flex-start; gap: 60px; padding-top: 140px; padding-bottom: 140px; }
.offres-forfaits .blob--fond { left: -840px; top: 120px; }
.offres-forfaits .blob--seconde { left: -520px; top: 380px; }
.offres-h2--forfaits .grad-text { background-image: linear-gradient(90deg, #a9e85e 0%, #38c6f0 100%); }

.offres-grid { display: flex; align-items: stretch; gap: 26px; width: 100%; }

.offres-card {
  --c: 255, 198, 58;
  position: relative;
  flex: 1 1 0; min-width: 0;
  display: flex; flex-direction: column; align-items: flex-start; justify-content: center;
  gap: 18px;
  padding: 40px 36px;
  border-radius: 16px;
  overflow: hidden;
  background: var(--surface-card);
  border: 1px solid rgba(var(--glow, var(--c)), 0.3);
  box-shadow: 0 14px 34px -14px rgba(var(--glow, var(--c)), 0.3);
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}
.offres-card:hover { transform: translateY(-4px); border-color: rgba(var(--glow, var(--c)), 0.5); box-shadow: 0 20px 40px -14px rgba(var(--glow, var(--c)), 0.45); }
.offres-card--jaune { --c: 255, 198, 58; --glow: 160, 107, 255; }
.offres-card--lime { --c: 169, 232, 94; }
.offres-card--cyan { --c: 56, 198, 240; }
/* Forfait mis en avant */
.offres-card--populaire {
  background: #0a122b;
  border: 1.5px solid var(--neon-lime);
  box-shadow: 0 0 40px 0 rgba(169, 232, 94, 0.24);
}
.offres-card--populaire:hover { border-color: var(--neon-lime); box-shadow: 0 0 48px 0 rgba(169, 232, 94, 0.34); }
.offres-card__light {
  position: absolute;
  left: 50%; top: -17px;
  transform: translateX(-50%);
  pointer-events: none;
}
.offres-badge {
  display: inline-flex; align-items: center;
  padding: 7px 16px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(var(--c), 0.5);
  font-size: 13px; font-weight: 500; letter-spacing: 1.82px; line-height: normal;
  color: rgb(var(--c));
  text-transform: uppercase;
  white-space: nowrap;
}
.offres-card__title {
  font-size: 26px; font-weight: 500;
  line-height: 1.14; letter-spacing: 0.26px;
  color: #fff;
  text-transform: uppercase;
}
.offres-filet {
  width: 100%; height: 1px;
  background: linear-gradient(90deg, rgba(var(--glow, var(--c)), 0.6) 0%, rgba(var(--glow, var(--c)), 0.04) 100%);
}
.offres-card__price {
  font-size: 56px;
  line-height: 1.05;
  letter-spacing: -0.56px;
  white-space: nowrap;
  background-image: linear-gradient(90deg, rgb(var(--c)) 0%, #fff 100%);
  filter: drop-shadow(0 0 28px rgba(var(--glow, var(--c)), 0.28));
}
.offres-card__note { font-size: 15px; line-height: 1.5; color: var(--txt-discret); white-space: pre-wrap; }
.offres-card .btn { width: 100%; margin-top: 8px; }

/* ---------- CARTES CADEAUX (823) ---------- */
.offres-cadeaux { background: linear-gradient(180deg, #1d1f3a 0%, var(--bg-5) 46%, var(--bg-6) 72%, var(--bg-7) 100%); }
.offres-cadeaux .container { display: flex; flex-direction: column; align-items: flex-start; gap: 52px; padding-top: 140px; padding-bottom: 140px; }
.offres-cadeaux .blob--fond { left: -1000px; top: -520px; }
.offres-h2--cadeaux .grad-text { background-image: linear-gradient(90deg, #a9e85e 0%, #ff6fa8 100%); }

.offres-montants { display: flex; align-items: stretch; gap: 20px; width: 100%; }
.offres-montant {
  --c: 56, 198, 240;
  position: relative;
  flex: 1 1 0; min-width: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 10px;
  padding: 30px 18px;
  border-radius: 16px;
  overflow: hidden;
  text-align: center;
  background: var(--surface-card);
  border: 1px solid rgba(var(--glow, var(--c)), 0.3);
  box-shadow: 0 14px 34px -14px rgba(var(--glow, var(--c)), 0.3);
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}
.offres-montant:hover { transform: translateY(-4px); border-color: rgba(var(--glow, var(--c)), 0.5); box-shadow: 0 20px 40px -14px rgba(var(--glow, var(--c)), 0.45); }
.offres-montant--cyan { --c: 56, 198, 240; }
.offres-montant--lime { --c: 169, 232, 94; }
.offres-montant--jaune { --c: 255, 198, 58; --glow: 160, 107, 255; }
.offres-montant--rose { --c: 255, 111, 168; }
.offres-montant--populaire {
  background: var(--surface-pill);
  border: 1.5px solid var(--neon-lime);
  box-shadow: 0 0 30px 0 rgba(169, 232, 94, 0.28);
}
.offres-montant--populaire:hover { border-color: var(--neon-lime); box-shadow: 0 0 38px 0 rgba(169, 232, 94, 0.38); }
.offres-montant__light {
  position: absolute;
  left: 50%; top: -17px;
  transform: translateX(-50%);
  pointer-events: none;
}
.offres-montant__val {
  font-size: 38px;
  line-height: 1.08;
  letter-spacing: -0.38px;
  background-image: linear-gradient(90deg, rgb(var(--glow, var(--c))) 0%, #fff 100%);
}
.offres-montant--populaire .offres-montant__val {
  background-image: linear-gradient(90deg, #a9e85e 0%, #38c6f0 100%);
  filter: drop-shadow(0 0 22px rgba(169, 232, 94, 0.3));
}
.offres-montant__val--libre {
  background-image: none;
  font-size: 26px;
  line-height: 1.16;
  letter-spacing: -0.26px;
  color: #fff;
}
.offres-montant__label { font-size: 15px; line-height: 1.4; color: var(--txt-discret); }
.offres-montant--populaire .offres-montant__label { color: var(--neon-lime); }

.offres-cadeaux__actions { display: flex; align-items: center; gap: 14px; }
.offres-cadeaux__note { max-width: 900px; font-size: 15px; line-height: 1.5; color: var(--txt-tres-discret); white-space: pre-wrap; }

/* ---------- Responsive ---------- */
@media (max-width: 1440px) {
  .offres-hero__title { font-size: 64px; }
  .offres-card__price { font-size: 48px; }
}
@media (max-width: 1280px) {
  .offres-grid, .offres-montants { flex-wrap: wrap; }
  .offres-card { flex: 1 1 42%; }
  .offres-montant { flex: 1 1 30%; }
}
@media (max-width: 1024px) {
  .offres-hero { min-height: 0; padding-top: 140px; padding-bottom: 180px; }
  .offres-hero__title { white-space: normal; }
}
@media (max-width: 720px) {
  .offres-hero { padding-top: 120px; padding-bottom: 150px; -webkit-mask-size: 300% auto; mask-size: 300% auto; }
  .offres-hero__visuel { left: 0; width: 100%; opacity: .55; }
  .offres-hero__title { font-size: 44px; }
  .offres-hero__sub { font-size: 18px; }
  .offres-hero__scroll { display: none; }
  .offres-forfaits .container, .offres-cadeaux .container { padding-top: 90px; padding-bottom: 90px; gap: 44px; }
  .offres-h2 { font-size: 34px; }
  .offres-card, .offres-montant { flex-basis: 100%; }
  .offres-card { padding: 32px 24px; }
  .offres-card__price { font-size: 44px; }
  .offres-card .btn, .offres-cadeaux__actions .btn { white-space: normal; text-align: center; }
  .offres-cadeaux__actions { width: 100%; }
  .offres-cadeaux__actions .btn { width: 100%; }
}

/* Lueur mauve pour les éléments jaunes par défaut (sans variante de couleur) */
.offres-card:not([class*="offres-card--"]) { --glow: 160, 107, 255; }
