/* Festival du Fjord, version « Sobre » : page Billets.
   Les passes viennent de style.css ; ici : compte à rebours de l'intro, comparatif, FAQ et appel final sur photo. */

/* ---------- Intro : compte à rebours dans un bloc nuit net ---------- */
.rebours--page {
  display: grid; justify-content: start; justify-items: start; gap: 12px; width: fit-content; max-width: 100%;
  padding: 18px 22px; border: 0; border-left: 4px solid var(--accent); border-radius: var(--r);
  background: var(--nuit); color: var(--blanc); backdrop-filter: none;
}
.rebours--page .rebours__cases { gap: 10px; }
.rebours--page .rebours__case { min-width: 62px; }
.rebours--page .rebours__case + .rebours__case { padding-left: 10px; }
.rebours--page .rebours__case b { font-size: clamp(1.8rem, 2.6vw, 2.3rem); }
.rebours__date { margin: 0; font-size: 0.92rem; font-weight: 500; color: rgba(255, 255, 255, 0.78); }

/* ---------- Passes : les soirs inclus s'allument à l'arrivée ---------- */
.bil-passes .passes .soir { transition: background-color 400ms var(--ease), border-color 400ms var(--ease), color 400ms var(--ease); }
.bil-passes .passes:not(.est-allume) .soir.est-inclus { background: transparent; color: var(--encre); }
.bil-passes .passe:nth-child(2) .soir { transition-delay: 120ms; }
.bil-passes .passe:nth-child(3) .soir { transition-delay: 240ms; }

/* ---------- Comparatif : tableau blanc à filets ---------- */
.comparatif { border: 1px solid var(--ligne); border-radius: var(--r); background: var(--blanc); padding: clamp(8px, 1.6vw, 20px) clamp(8px, 2vw, 28px) clamp(10px, 1.6vw, 20px); }
.comp { width: 100%; border-collapse: collapse; table-layout: fixed; font-variant-numeric: tabular-nums; }
.comp__col-lib { width: 34%; }
.comp th, .comp td { padding: 14px 12px; text-align: center; vertical-align: middle; }
.comp thead th { padding: 18px 10px 16px; vertical-align: bottom; border-top: 5px solid var(--c, var(--accent)); }
.comp__passe--or { --c: var(--jaune); }
.comp__passe--rose { --c: var(--accent); }
.comp__passe--orange { --c: var(--bleu); }
.comp thead th + th { border-left: 8px solid var(--blanc); }
.comp__passe { font: 700 clamp(0.95rem, 1.4vw, 1.2rem)/1.1 var(--f-titre); letter-spacing: 0.04em; text-transform: uppercase; }
.comp__passe > span:last-child { display: block; }
.comp__nb { display: block; margin-bottom: 6px; font: 700 clamp(2.2rem, 3.4vw, 3rem)/0.9 var(--f-titre); color: var(--encre); }
.comp tbody th[scope="row"] { text-align: left; font: 700 1.05rem/1.2 var(--f-titre); letter-spacing: 0.03em; text-transform: uppercase; }
.comp tbody th small { display: block; margin-top: 3px; font: 400 0.88rem/1.35 var(--f-texte); letter-spacing: 0; text-transform: none; color: var(--encre-2); }
.comp tbody tr:not(.comp__inter) > * { border-bottom: 1px solid var(--ligne); }
.comp tbody tr:last-child > * { border-bottom: 0; }
.comp tbody td { border-left: 1px solid var(--ligne); }
.comp__inter th { padding: 26px 12px 10px; text-align: left; font: 700 0.9rem/1 var(--f-titre); letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); border-bottom: 2px solid var(--encre); }
.comp__oui { font-size: 1.35rem; color: var(--accent); }
.comp__non { font-size: 1.1rem; color: #B5AE9F; }
.comp__prix { font: 700 clamp(1.05rem, 1.6vw, 1.4rem)/1 var(--f-titre); white-space: nowrap; }
.comp__gratuit .comp__prix { color: var(--accent-fonce); }

/* ---------- FAQ ---------- */
.faq-bloc { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 64px); align-items: start; }
.faq-bloc__tete { display: grid; gap: 16px; justify-items: start; position: sticky; top: 120px; }
.faq-bloc__tete .surtitre { margin: 0; }
.faq__lien { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font: 700 0.98rem/1 var(--f-titre); letter-spacing: 0.08em; text-transform: uppercase; color: var(--encre); text-decoration: none; border-bottom: 2px solid var(--accent); }
.faq__lien i { color: var(--accent); transition: transform 200ms var(--ease); }
@media (hover: hover) { .faq__lien:hover i { transform: translateX(3px); } }

/* ---------- Appel final sur photo ---------- */
.bil-fin { --voile: linear-gradient(180deg, rgba(10, 14, 22, 0.35) 0%, rgba(10, 14, 22, 0.55) 55%, rgba(10, 14, 22, 0.7) 100%); padding: calc(var(--section) * 1.15) 0; text-align: center; }
.bil-fin__bloc { display: grid; justify-items: center; gap: 20px; }
.bil-fin__dates { margin: 0; }
.bil-fin__titre { max-width: 16ch; }
.nw { white-space: nowrap; }

/* ---------- Tablette ---------- */
@media (max-width: 1100px) {
  .faq-bloc { grid-template-columns: 1fr; }
  .faq-bloc__tete { position: static; }
}

/* ---------- Téléphone ---------- */
@media (max-width: 700px) {
  .rebours--page { width: 100%; padding: 16px 14px; }
  .rebours--page .rebours__cases { width: 100%; justify-content: space-between; gap: 4px; }
  .rebours--page .rebours__case { min-width: 0; flex: 1; }
  .rebours--page .rebours__case + .rebours__case { padding-left: 4px; }
  .rebours--page .rebours__case b { font-size: 1.7rem; }
  .comparatif { padding: 4px 4px 8px; }
  .comp__col-lib { width: 31%; }
  .comp th, .comp td { padding: 11px 4px; }
  .comp thead th { padding: 12px 3px 12px; }
  .comp thead th + th { border-left-width: 4px; }
  .comp__passe { font-size: 0.8rem; letter-spacing: 0.02em; }
  .comp__nb { font-size: 1.9rem; }
  .comp tbody th[scope="row"] { padding-left: 8px; font-size: 0.86rem; }
  .comp tbody th small { font-size: 0.74rem; }
  .comp__groupe:first-of-type th small { display: none; }
  .comp__inter th { padding-left: 8px; font-size: 0.78rem; }
  .comp__prix { font-size: 0.95rem; }
  .comp__oui { font-size: 1.1rem; }
  .bil-fin .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .bil-passes .passes .soir { transition: none; }
}
