/* ==========================================================================
   TRIOPARC — Planifier (Accès et horaires · Hôtels · Forfaits séjour ·
   Quoi faire à Laval · FAQ)
   Source : Figma « Trio Parc » — frames 363:2, 364:2, 364:145, 364:290, 365:2 / 365:155
   ========================================================================== */

/* Fond révélé sous la courbe du hero (couleur du haut de la section onglets) */
.plan-page { background: #161f47; }

/* ---------- HERO (673 px) ---------- */
.plan-hero {
  position: relative;
  height: 673px;
  display: flex;
  align-items: flex-start;
  background: #0a0f28;
  /* Courbe du bas : ellipse 2800×808 centrée à y = 269 (masque Figma 2800×808 décalé de −135) */
  -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%) calc(100% + 251px);
  mask-size: max(2800px, 145.84%) calc(100% + 251px);
  -webkit-mask-position: 50% -251px;
  mask-position: 50% -251px;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}
/* VISUEL — hero, déposer ici (remplacer le dégradé par <img> / <video>) */
.plan-hero__media {
  position: absolute;
  top: 0; bottom: 0;
  left: 38.54%;      /* 740 / 1920 */
  width: 61.46%;     /* 1180 / 1920 */
  background: linear-gradient(180deg, #1a2450 0%, #0a1024 100%);
}
.plan-hero__media img, .plan-hero__media video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
/* VOILE — fusion de l'image */
.plan-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 */
.plan-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 229px 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 471px 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%);
}
.plan-hero .container { padding-top: 124px; }
.plan-hero__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 40px;
}
.plan-hero__header { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.plan-hero .eyebrow--cyan { line-height: 1.6; }
.plan-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.2);
  white-space: nowrap;
}
.plan-hero__title .grad-text { background-image: linear-gradient(90deg, #38c6f0 0%, #a9e85e 100%); }
.plan-hero__sub {
  max-width: 760px;
  font-size: 20px;
  line-height: 1.65;
  color: var(--txt-doux);
  white-space: pre-wrap;
}
.plan-hero__actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.plan-hero .btn-neon { padding: 11px 30px 12px; }

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

/* ---------- ONGLETS SECTION ---------- */
.plan-tabs-section {
  background:
    radial-gradient(760px 420px at 50% 36%, rgba(56, 198, 240, 0.2) 0%, rgba(56, 198, 240, 0.1) 45%, rgba(56, 198, 240, 0) 100%),
    linear-gradient(180deg, #161f47 0%, #1b2351 22%, #151a43 48%, #0d112f 70%, #080c20 88%, var(--bg-7) 100%);
}
.plan-tabs-section .container {
  display: flex;
  flex-direction: column;
  gap: 52px;
  padding-top: 140px;
  padding-bottom: 140px;
}

/* Onglets (liens vers les 5 pages) */
.plan-tabs { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.plan-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 26px;
  border-radius: 100px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
  font-size: 17px;
  font-weight: 500;
  line-height: 1.2;
  color: var(--txt-discret);
  white-space: nowrap;
  transition: color .2s ease, border-color .2s ease, background-color .2s ease;
}
.plan-tab:hover { color: #fff; border-color: rgba(255, 255, 255, 0.24); }
.plan-tab.is-active, .plan-tab[aria-current="page"] {
  color: #fff;
  border-color: transparent;
  /* Contour dégradé cyan → lime de la maquette */
  background:
    linear-gradient(rgba(10, 18, 43, 0.94), rgba(10, 18, 43, 0.94)) padding-box,
    linear-gradient(90deg, #38c6f0 0%, #a9e85e 100%) border-box;
  box-shadow: 0 0 26px 0 rgba(56, 198, 240, 0.26);
}

/* Vue générique (titre + filet) */
.plan-view { display: flex; flex-direction: column; gap: 34px; width: 100%; }
.plan-view__title {
  font-size: 42px;
  line-height: 1.12;
  letter-spacing: -0.42px;
  color: var(--txt-principal);
}
.plan-view__title .grad-text { background-image: linear-gradient(90deg, #38c6f0, #a9e85e); }
.plan-filet {
  width: 100%; height: 1px;
  background: linear-gradient(90deg, rgba(56, 198, 240, 0.6) 0%, rgba(56, 198, 240, 0.04) 100%);
}
.plan-note { font-size: 15px; line-height: 1.5; color: var(--txt-tres-discret); }

/* Couleurs d'accent des cartes */
.plan-card {
  --c: 56, 198, 240; --hex: #38c6f0;
  position: relative;
  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, border-color .35s ease, box-shadow .35s ease;
}
.plan-card--cyan { --c: 56, 198, 240; --hex: #38c6f0; }
.plan-card--lime { --c: 169, 232, 94; --hex: #a9e85e; }
.plan-card--jaune { --c: 255, 198, 58; --glow: 160, 107, 255; --hex: #ffc63a; }
.plan-card--rose { --c: 255, 111, 168; --hex: #ff6fa8; }
.plan-card:hover { transform: translateY(-3px); border-color: rgba(var(--glow, var(--c)), 0.5); box-shadow: 0 20px 40px -14px rgba(var(--glow, var(--c)), 0.45); }
.plan-card__light { position: absolute; top: -17px; pointer-events: none; }
.plan-badge {
  display: inline-flex; align-items: center;
  padding: 9px 18px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(var(--c), 0.55);
  font-size: 13px; font-weight: 500; letter-spacing: 1.82px;
  color: var(--hex);
  text-transform: uppercase;
  white-space: nowrap;
}

/* ---------- VUE — Accès et horaires ---------- */
.plan-acces { display: flex; align-items: flex-start; gap: 60px; width: 100%; }
.plan-acces__infos { flex: 0 0 540px; width: 540px; display: flex; flex-direction: column; }
.plan-info {
  display: flex; align-items: flex-start; gap: 22px;
  width: 100%;
  padding: 26px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.plan-info:first-child { padding-top: 0; }
.plan-info__icon {
  flex: 0 0 44px;
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(56, 198, 240, 0.55);
}
.plan-info__icon img { width: 22px; height: 22px; }
.plan-info__icon span { font-size: 21px; font-weight: 500; line-height: 1; color: var(--neon-cyan); }
.plan-info__text { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.plan-info__text h2 { font-size: 22px; font-weight: 500; line-height: 1.18; color: #fff; }
.plan-info__text p { font-size: 17px; line-height: 1.5; color: var(--txt-discret); }

.plan-map {
  position: relative;
  flex: 1 1 0; min-width: 0;
  height: 520px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: linear-gradient(180deg, rgba(56, 198, 240, 0.1) 0%, #0b1224 100%);
}
.plan-map__liseret {
  position: absolute; left: -1px; top: -1px;
  width: 840px; max-width: 100%; height: 2px;
  z-index: 2;
  background: linear-gradient(90deg, rgba(56, 198, 240, 0.95) 0%, rgba(56, 198, 240, 0) 100%);
}
.plan-map__label {
  position: absolute;
  font-size: 15px; line-height: 1.6; letter-spacing: 4.8px;
  color: var(--txt-tres-discret);
  text-transform: uppercase;
  white-space: nowrap;
}
.plan-map iframe {
  position: relative; z-index: 1;
  display: block;
  width: 100%; height: 100%;
  border: 0;
  /* Carte en mode sombre, teintée comme la maquette */
  filter: invert(0.9) hue-rotate(190deg) saturate(0.55) brightness(0.72) contrast(1.08);
}
.plan-map::after {           /* teinte cyan par-dessus la carte */
  content: "";
  position: absolute; inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(56, 198, 240, 0.08), rgba(11, 18, 36, 0.35));
}

/* ---------- VUE — Hôtels partenaires ---------- */
.plan-hotels { display: flex; flex-direction: column; gap: 18px; width: 100%; }
.plan-hotel {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  width: 100%;
  padding: 28px 34px;
}
.plan-hotel .plan-card__light { left: 36%; width: 400px; height: 26px; }
.plan-hotel__text { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.plan-hotel__text h2 { font-size: 26px; font-weight: 500; line-height: 1.16; color: #fff; }
.plan-hotel__text p { font-size: 17px; line-height: 1.5; color: var(--txt-discret); white-space: pre-wrap; }

/* ---------- VUE — Forfaits séjour ---------- */
.plan-forfaits__title .grad-text { background-image: linear-gradient(90deg, #38c6f0, #ffc63a); }
.plan-forfaits { display: flex; align-items: stretch; gap: 26px; width: 100%; }
.plan-forfait {
  flex: 1 1 0; min-width: 0;
  display: flex; flex-direction: column; align-items: flex-start; gap: 16px;
  padding: 40px 36px;
}
.plan-forfait .plan-card__light { left: 64px; width: 333px; height: 26px; }
.plan-forfait .plan-badge { padding: 7px 16px; border-color: rgba(var(--c), 0.5); }
.plan-forfait h2 { font-size: 26px; font-weight: 500; line-height: 1.16; color: #fff; }
.plan-forfait .plan-filet { background: linear-gradient(90deg, rgba(var(--glow, var(--c)), 0.6) 0%, rgba(var(--glow, var(--c)), 0.04) 100%); }
.plan-forfait .plan-forfait__price {
  font-size: 48px;
  line-height: 1.08;
  letter-spacing: -0.48px;
  white-space: nowrap;
  background-image: linear-gradient(90deg, var(--hex) 0%, #fff 100%);
  filter: drop-shadow(0 0 26px rgba(var(--glow, var(--c)), 0.26));
}
.plan-forfait p { font-size: 15px; line-height: 1.5; color: var(--txt-discret); }

/* ---------- VUE — Quoi faire à Laval ---------- */
.plan-laval__title .grad-text { background-image: linear-gradient(90deg, #38c6f0, #ff6fa8); }
.plan-activites { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; width: 100%; }
.plan-activite {
  display: flex; flex-direction: column; align-items: flex-start; gap: 10px;
  padding: 28px 30px;
}
.plan-activite .plan-card__light { left: 154px; width: 400px; height: 26px; }
.plan-activite h2 { font-size: 22px; font-weight: 500; line-height: 1.18; color: var(--hex); }
.plan-activite p { font-size: 17px; line-height: 1.5; color: var(--txt-discret); }

/* ---------- VUE — FAQ (accordéon) ---------- */
.plan-faq__title .grad-text { background-image: linear-gradient(90deg, #38c6f0, #56d2c6); }
.plan-faq { width: 100%; }
.plan-faq__item { border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.plan-faq__q {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  width: 100%;
  padding: 30px 0 29px;
  text-align: left;
  transition: color .2s ease, padding .4s ease;
  font-size: 22px; font-weight: 500; line-height: 1.18;
  color: #fff;
}
.plan-faq__q:hover { color: var(--neon-cyan); }
.plan-faq__item:first-child .plan-faq__q { padding-top: 0; }
.plan-faq__item.is-open .plan-faq__q { padding-bottom: 15px; }
.plan-faq__q:focus-visible { outline: 2px solid var(--neon-cyan); outline-offset: 4px; border-radius: 4px; }
.plan-faq__icon {
  position: relative;
  flex: 0 0 14px;
  width: 14px; height: 14px;
  margin-right: 2px;
}
.plan-faq__icon::before, .plan-faq__icon::after {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  width: 14px; height: 2px;
  margin-top: -1px;
  border-radius: 1px;
  background: var(--txt-discret);
  transition: transform .3s ease, background-color .3s ease, opacity .3s ease;
}
.plan-faq__icon::after { transform: rotate(90deg); }
.plan-faq__q[aria-expanded="true"] .plan-faq__icon::before { background: var(--neon-cyan); box-shadow: 0 0 10px rgba(56, 198, 240, 0.6); }
.plan-faq__q[aria-expanded="true"] .plan-faq__icon::after { transform: rotate(0); opacity: 0; }
.plan-faq__a {
  display: grid;
  grid-template-rows: 0fr;
  visibility: hidden;
  transition: grid-template-rows .4s ease, visibility 0s linear .4s;
}
.plan-faq__a > div { overflow: hidden; min-height: 0; }
.plan-faq__a p {
  max-width: 1010px;
  padding-bottom: 29px;
  font-size: 20px;
  line-height: 1.65;
  color: var(--txt-doux);
}
.plan-faq__item.is-open .plan-faq__a { grid-template-rows: 1fr; visibility: visible; transition-delay: 0s, 0s; }
@media (prefers-reduced-motion: reduce) { .plan-faq__a { transition: none; } }

/* ---------- Responsive ---------- */
@media (max-width: 1440px) {
  .plan-hero__title { font-size: 64px; }
  .plan-acces__infos { flex-basis: 440px; width: 440px; }
}
@media (max-width: 1280px) {
  .plan-hero { height: auto; min-height: 600px; padding-bottom: 140px; }
  .plan-hero__scroll { top: auto; bottom: 36px; }
  .plan-forfaits { flex-wrap: wrap; }
  .plan-forfait { flex: 1 1 42%; }
}
@media (max-width: 1024px) {
  .plan-hero__title { font-size: 56px; white-space: normal; }
  .plan-acces { flex-direction: column; }
  .plan-acces__infos { flex-basis: auto; width: 100%; }
  .plan-map { width: 100%; flex: none; height: 420px; }
  .plan-tabs-section .container { padding-top: 100px; padding-bottom: 100px; }
}
@media (max-width: 720px) {
  .plan-hero { min-height: 0; padding-bottom: 120px; -webkit-mask-size: 300% calc(100% + 251px); mask-size: 300% calc(100% + 251px); }
  .plan-hero .container { padding-top: 110px; }
  .plan-hero__media { left: 0; width: 100%; }
  .plan-hero__title { font-size: 44px; }
  .plan-hero__sub { font-size: 17px; }
  .plan-hero__scroll { display: none; }
  .plan-tabs-section .container { padding-top: 80px; padding-bottom: 80px; gap: 40px; }
  .plan-tab { padding: 11px 18px; font-size: 15px; }
  .plan-view__title { font-size: 32px; }
  .plan-map { height: 320px; }
  .plan-hotel { flex-direction: column; align-items: flex-start; gap: 16px; padding: 24px; }
  .plan-hotel__text h2 { font-size: 22px; }
  .plan-forfait { flex-basis: 100%; padding: 32px 26px; }
  .plan-forfait .plan-forfait__price { font-size: 40px; }
  .plan-activites { grid-template-columns: 1fr; }
  .plan-activite .plan-card__light, .plan-hotel .plan-card__light { left: 50%; transform: translateX(-50%); }
  .plan-faq__q { font-size: 19px; padding: 22px 0; }
  .plan-faq__item.is-open .plan-faq__q { padding-bottom: 10px; }
  .plan-faq__a p { font-size: 17px; padding-bottom: 22px; }
}

/* Note FAQ (plus claire que les autres notes dans la maquette) */
.plan-note--faq { color: var(--txt-discret); }
.plan-note--faq a { color: var(--neon-cyan); transition: opacity .2s ease; }
.plan-note--faq a:hover { opacity: .8; }
