/* ==========================================================================
   TRIOPARC — Page Jouer (Figma 301:2 « Jouer v1 »)
   ========================================================================== */

/* ---------- HERO ---------- */
.jouer-hero {
  position: relative;
  height: 944px;
  display: flex;
  align-items: center;
  background: var(--bg-1);
  /* Courbe du bas : masque Figma (rect 1920×834 + ellipse 2800×808 centrée) */
  -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%) 100%;
  mask-size: max(2800px, 145.84%) 100%;
  -webkit-mask-position: 50% 0;
  mask-position: 50% 0;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}
.jouer-hero__media {
  position: absolute;
  top: 0; bottom: 0;
  left: 38.54%;      /* 740 / 1920 */
  width: 61.46%;     /* 1180 / 1920 */
}
.jouer-hero__media img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
/* VOILE — fusion de l'image vers la gauche */
.jouer-hero__media::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 (vertical + 2 halos violets + horizontal) */
.jouer-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 321px 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 661px 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%);
}
.jouer-hero__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  width: 100%;
}
.jouer-hero__eyebrow { line-height: 1.6; }
.jouer-hero__title {
  font-size: 80px;
  line-height: 1.02;
  letter-spacing: -0.8px;
  color: var(--txt-principal);
  text-shadow: 0 0 64px rgba(56, 198, 240, 0.22);
}
.jouer-hero__title .grad-text {
  background-image: linear-gradient(90deg, #38c6f0 0%, #a991f0 50%, #ff6fa8 100%);
  filter: drop-shadow(0 0 64px rgba(56, 198, 240, 0.22));
}
.jouer-hero__sub {
  max-width: 620px;
  font-size: 20px;
  line-height: 1.65;
  color: #fff;
}
.jouer-hero__actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }

/* Indicateur de défilement */
.jouer-hero__scroll {
  position: absolute;
  left: 50%;
  top: 840px;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #d1def5;
}
.jouer-hero__scroll-label { display: flex; flex-direction: column; align-items: center; gap: 10px; white-space: nowrap; }
.jouer-hero__scroll-label span:first-child { font-size: 12px; letter-spacing: 4.08px; }
.jouer-hero__scroll-label span:last-child { font-size: 26px; font-weight: 300; line-height: 1; animation: jouer-bob 2.2s ease-in-out infinite; }
.jouer-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 jouer-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(5px); } }

/* ---------- ATTRACTIONS ---------- */
.attractions {
  background: linear-gradient(180deg, #0a1128 0%, #12203e 14%, #141239 36%, #181240 62%, #131239 84%, #0d102d 100%);
}
.attractions .container { display: flex; flex-direction: column; gap: 76px; padding-top: 140px; padding-bottom: 140px; }
.attractions .blob--fond { right: -480px; top: 1200px; }
.attractions .blob--fond-2 { left: -560px; top: 2600px; }
.attractions .blob--seconde { left: -560px; top: 300px; }
.attractions .eyebrow--lime { line-height: 1.6; }
.attractions__header { max-width: 620px; }
.attractions__h2 {
  font-size: 64px;
  line-height: 1.06;
  letter-spacing: -0.64px;
  color: var(--txt-principal);
}
.attractions__lead { font-size: 20px; line-height: 1.65; color: var(--txt-doux); }

/* Grille — 3 colonnes de 466px, gouttières 21px */
.attr-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 21px;
  width: 100%;
}
.attr-card {
  --c: 255, 111, 168;
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 585px;
  border-radius: 16px;
  overflow: hidden;
  background: #070c1c;
  border: 1px solid rgba(255, 255, 255, 0.07);
  color: #fff;
  isolation: isolate;
  transition: transform .4s ease, box-shadow .4s ease, border-color .4s ease;
}
.attr-card:hover {
  transform: translateY(-4px);
  border-color: rgba(var(--glow, var(--c)), 0.35);
  box-shadow: 0 24px 48px -20px rgba(var(--glow, var(--c)), 0.4);
}
.attr-card--rose  { --c: 255, 111, 168; }
.attr-card--lime  { --c: 169, 232, 94; }
.attr-card--cyan  { --c: 56, 198, 240; }
.attr-card--jaune { --c: 255, 198, 58; --glow: 160, 107, 255; }

/* Photo (280px) : teinte de l'univers sous la photo, voile de scène par-dessus */
.attr-card__photo {
  position: relative;
  flex: 0 0 280px;
  height: 280px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(var(--glow, var(--c)), 0.14) 0%, #0b1224 100%);
}
.attr-card__photo img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.attr-card__img--duckpin { object-position: 50% 58%; }
.attr-card:hover .attr-card__photo img { transform: scale(1.04); }
.attr-card__voile {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(6, 11, 28, 0) 0%, rgba(6, 11, 28, 0.45) 55%, rgba(6, 11, 28, 0.95) 100%);
}
.attr-card__univers {
  position: absolute;
  left: 26px; bottom: 23px;
  font-size: 34px;
  font-weight: 900;
  letter-spacing: -0.68px;
  line-height: normal;
  white-space: nowrap;
  text-transform: uppercase;
  color: rgb(var(--c));
  opacity: .92;
  text-shadow: 0 0 22px rgba(var(--c), 0.45);
}
.attr-card__lisere {
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 2px;
  background: linear-gradient(90deg, rgba(var(--glow, var(--c)), 0.95) 0%, rgba(var(--glow, var(--c)), 0) 100%);
}
.attr-card__info {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 26px;
}
.attr-card__label {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 2.34px;
  line-height: normal;
  text-transform: uppercase;
  color: rgb(var(--c));
}
.attr-card__type { font-size: 17px; line-height: 1.3; color: var(--txt-discret); }
.attr-card__title {
  font-size: 26px;
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: 0.26px;
  text-transform: uppercase;
  color: #fff;
}
.attr-card__desc { font-size: 20px; line-height: 1.55; color: var(--txt-doux); }

/* CTA — sous la grille */
.attr-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  padding-top: 44px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.attr-cta__text { display: flex; flex-direction: column; gap: 10px; max-width: 680px; }
.attr-cta__title { font-size: 26px; font-weight: 500; line-height: 1.12; color: #fff; }
.attr-cta__desc { font-size: 20px; line-height: 1.55; color: var(--txt-doux); }
.attr-cta__actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; flex: none; }

/* ---------- JEU SOCIAL ---------- */
.social {
  background: linear-gradient(180deg, #0d102d 0%, #0c102b 25%, #0a122a 60%, #0b182c 100%);
}
.social::after {              /* lueur cyan — bas de section */
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 520px;
  pointer-events: none;
  background: radial-gradient(60% 100% at 50% 100%, rgba(26, 72, 104, 0.55) 0%, rgba(26, 72, 104, 0.22) 45%, rgba(26, 72, 104, 0) 100%);
}
.social .container { display: flex; flex-direction: column; gap: 76px; padding-top: 43px; padding-bottom: 140px; }
.social .eyebrow--jaune { line-height: 1.6; text-shadow: none; }
.social__header { max-width: 620px; }
.social__h2 {
  font-size: 64px;
  line-height: 1.06;
  letter-spacing: -0.64px;
  color: var(--txt-principal);
}
.social__h2 .grad-text { background-image: linear-gradient(90deg, #ffc63a 0%, #ff6fa8 100%); }
.social__lead { font-size: 20px; line-height: 1.65; color: var(--txt-doux); }

.social-list {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.social-item {
  display: flex;
  align-items: flex-start;
  gap: 56px;
  padding: 34px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.social-item__num {
  flex: none;
  font-size: 56px;
  font-weight: 300;
  line-height: 1;
  letter-spacing: 1.12px;
  white-space: nowrap;
  color: var(--neon-jaune);
  opacity: .9;
  text-shadow: 0 0 26px rgba(255, 198, 58, 0.28);
}
.social-item__text { display: flex; flex-direction: column; gap: 10px; max-width: 700px; }
.social-item__text h3 { font-size: 26px; font-weight: 500; line-height: 1.12; color: #fff; }
.social-item__text p { font-size: 20px; line-height: 1.55; color: var(--txt-doux); }

/* ---------- CTA (portail lumineux — identique à l'accueil) ---------- */
.jouer-cta {
  position: relative;
  height: 720px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  background: linear-gradient(90deg, rgb(5, 9, 22) 0%, rgb(23, 41, 87) 42%, rgb(158, 189, 242) 50%, rgb(36, 26, 51) 58%, rgb(5, 9, 22) 100%);
}
.jouer-cta__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.jouer-cta__voile {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(5, 9, 22, 0.36) 0%, rgba(5, 9, 22, 0.2) 55%, rgba(5, 9, 22, 0.41) 100%);
}
.jouer-cta__content {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; align-items: center; gap: 22px;
  text-align: center;
  padding-inline: var(--gutter);
}
.jouer-cta__h2 {
  font-size: 66px;
  line-height: 1.06;
  letter-spacing: 1.32px;
  color: #f2f7ff;
  text-shadow: 0 0 70px rgba(255, 255, 255, 0.3);
  text-transform: uppercase;
}
.jouer-cta__p { font-size: 20px; letter-spacing: 0.8px; color: #b8c7e5; }
.jouer-cta .btn { margin-top: 18px; }

/* ---------- Responsive ---------- */
@media (max-width: 1440px) {
  .jouer-hero__title { font-size: 64px; }
  .attractions__h2, .social__h2 { font-size: 52px; }
  .attr-card__desc, .attr-cta__desc, .social-item__text p { font-size: 18px; }
}
@media (max-width: 1280px) {
  .jouer-hero { height: auto; min-height: 860px; padding-block: 140px 120px; }
  .attr-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .attr-card { min-height: 0; }
  .attr-cta { flex-direction: column; align-items: flex-start; }
  .jouer-cta__h2 { font-size: 52px; }
}
@media (max-width: 1024px) {
  .social-item { gap: 32px; }
  .social-item__num { font-size: 44px; }
}
@media (max-width: 720px) {
  .jouer-hero { min-height: 0; padding-block: 120px 100px; -webkit-mask-size: 300% 100%; mask-size: 300% 100%; }
  .jouer-hero__media { left: 0; width: 100%; opacity: .55; }
  .jouer-hero__title { font-size: 44px; }
  .jouer-hero__sub { font-size: 18px; }
  .jouer-hero__scroll { display: none; }
  .attractions .container, .social .container { padding-top: 90px; padding-bottom: 90px; gap: 48px; }
  .social .container { padding-top: 24px; }
  .attractions__h2, .social__h2 { font-size: 38px; }
  .attr-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .attr-card__photo { flex-basis: 220px; height: 220px; }
  .attr-card__univers { font-size: 28px; bottom: 18px; }
  .attr-card__info { padding: 22px; }
  .attr-card__title { font-size: 22px; }
  .attr-card__desc, .attr-cta__desc, .social-item__text p, .attractions__lead, .social__lead { font-size: 17px; }
  .social-item { gap: 20px; padding: 26px 0; }
  .social-item__num { font-size: 36px; }
  .social-item__text h3 { font-size: 22px; }
  .jouer-cta { height: 560px; }
  .jouer-cta__h2 { font-size: 36px; }
  .jouer-cta__p { font-size: 17px; }
}
