/* ==========================================================================
   La Petite Agora — « L'Affiche »
   Affiche de concert, billets à souche, line-up. Prolonge le lettrage au
   pinceau du logo. Jetons nommés par rôle, jamais par matière.
   ========================================================================== */

/* ── Polices auto-hébergées (latin + latin-ext) ─────────────────────────── */

@font-face {
  font-family: "Big Shoulders Display";
  font-style: normal;
  font-weight: 600 900;
  font-display: swap;
  src: url("../fonts/big-shoulders-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Big Shoulders Display";
  font-style: normal;
  font-weight: 600 900;
  font-display: swap;
  src: url("../fonts/big-shoulders-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/archivo-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/archivo-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Instrument Serif";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/instrument-serif-italic-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Instrument Serif";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/instrument-serif-italic-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ── Jetons ─────────────────────────────────────────────────────────────── */

:root {
  /* La scène : le fond noir de l'affiche, et ce qu'on y écrit. */
  --scene: #0A0A0C;
  --scene-panneau: #15151A;
  --scene-voile: rgba(10, 10, 12, 0.88);
  --texte: #F2F1F4;
  --texte-2: #D6D4DC;
  --texte-3: #B9B7C2;
  --texte-4: #8E8B99;
  --filet: rgba(242, 241, 244, 0.2);
  --filet-doux: rgba(242, 241, 244, 0.12);
  --filet-fort: rgba(242, 241, 244, 0.25);

  /* Le papier : les registres clairs, imprimés comme une affiche. */
  --papier: #EDECEF;
  --billet: #F2F1F4;
  --encre: #0A0A0C;
  --encre-2: #34323C;
  --encre-3: #55525E;
  --pointille: rgba(10, 10, 12, 0.35);

  /* Le signal : le rose du logo, réservé à l'action et à l'accent. */
  --signal: #FF74E3;
  --signal-doux: #FF9BEA;

  /* Les encres de sérigraphie, pour les chiffres sur papier. */
  --riso-bleu: #2A1FD6;
  --riso-magenta: #B21FA0;

  /* Le pass : le dégradé du logo, sur le seul billet toutes scènes. */
  --pass: linear-gradient(104deg, #2A1FD6 0%, #6B22E0 55%, #B21FA0 100%);
  --pass-encre: #F0E3FF;
  --pass-bouton: #3A1E8A;

  --f-affiche: "Big Shoulders Display", "Arial Narrow", "Helvetica Neue Condensed", sans-serif;
  --f-texte: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --f-citation: "Instrument Serif", Georgia, serif;

  --largeur: 1320px;
  --marge: clamp(20px, 4vw, 48px);
  --souffle: clamp(72px, 8vw, 104px);
  --hauteur-portique: 73px;
}

/* Grands écrans : le cadre s'élargit, et le titre de l'affiche avec lui. */
@media (min-width: 1600px) {
  :root { --largeur: 1480px; }
}

/* ── Base ───────────────────────────────────────────────────────────────── */

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--hauteur-portique) + 16px);
  -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  background: var(--scene);
  color: var(--texte);
  font-family: var(--f-texte);
  font-size: 16px;
  line-height: 1.55;
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
a:hover { color: var(--signal); }
h1, h2, h3, p, ol, ul, blockquote { margin: 0; }
ol, ul { padding: 0; list-style: none; }

:focus-visible {
  outline: 3px solid var(--signal);
  outline-offset: 3px;
  box-shadow: 0 0 0 6px var(--scene);
}

.cadre {
  max-width: var(--largeur);
  margin-inline: auto;
  padding-inline: var(--marge);
}

.evitement {
  position: absolute;
  left: var(--marge);
  top: -100px;
  z-index: 20;
  background: var(--signal);
  color: var(--encre);
  font-family: var(--f-affiche);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 10px 16px;
  text-decoration: none;
}
.evitement:focus { top: 12px; }

.visuellement-cache {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* La bascule de grille tarifaire : <html data-grille="mensuel|engagement">.
   Tout élément marqué data-grille-seule n'existe que dans sa grille. */
html[data-grille="mensuel"] [data-grille-seule="engagement"],
html[data-grille="engagement"] [data-grille-seule="mensuel"] {
  display: none !important;
}

.affiche-texte {
  font-family: var(--f-affiche);
  text-transform: uppercase;
}

/* ── Boutons ────────────────────────────────────────────────────────────── */

.bouton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  font-family: var(--f-affiche);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: 0.05em;
  line-height: 1;
  text-transform: uppercase;
  text-decoration: none;
  padding: 14px 24px;
  border: 2px solid transparent;
  transition: transform 180ms cubic-bezier(.16, 1, .3, 1), background-color 180ms ease, color 180ms ease;
}
.bouton:hover { transform: translateY(-2px); }
.bouton:active { transform: translateY(0); }

.bouton--plein { background: var(--texte); color: var(--encre); }
.bouton--plein:hover { background: var(--signal); color: var(--encre); }

.bouton--contour { border-color: var(--texte); color: var(--texte); padding: 12px 22px; }
.bouton--contour:hover { border-color: var(--signal); color: var(--signal); }

.bouton--signal { background: var(--signal); color: var(--encre); }
.bouton--signal:hover { background: var(--texte); color: var(--encre); }

@media (prefers-reduced-motion: reduce) {
  .bouton, .bouton:hover { transition: none; transform: none; }
}

/* ── Portique (navigation) ──────────────────────────────────────────────── */

.portique {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--scene-voile);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(242, 241, 244, 0.1);
}
.portique__rangee {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-block: 12px;
}
/* Ordre des éléments : marque | liens (centrés) | langues | adhésion. Le
   panneau est transparent (display: contents) hors mobile, ses enfants se
   rangent donc directement dans cette ligne. */
.portique__marque { margin-right: auto; }
.portique__liens { order: 1; margin-right: auto; }
.langues { order: 2; }
.portique__cta { order: 3; }

/* ── Sélecteur de langue ────────────────────────────────────────────────── */

.langues {
  display: flex;
  border: 2px solid var(--texte);
}
.langues a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  min-height: 40px;
  padding-inline: 8px;
  font-family: var(--f-affiche);
  font-weight: 800;
  font-size: 17px;
  letter-spacing: 0.08em;
  text-decoration: none;
  color: var(--texte-3);
}
.langues a[aria-current="page"] { background: var(--texte); color: var(--encre); }
.langues a:not([aria-current]):hover { color: var(--signal); }
.portique__marque {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--texte);
}
.portique__marque img { width: 48px; height: 48px; object-fit: contain; }
.portique__marque span {
  font-family: var(--f-affiche);
  font-weight: 800;
  font-size: 20px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.portique__liens {
  display: flex;
  align-items: center;
  gap: 28px;
}
.portique__liens a {
  font-family: var(--f-affiche);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--texte-3);
}
.portique__liens a:hover { color: var(--signal); }
.portique__cta { font-size: 19px; letter-spacing: 0.06em; padding: 10px 18px; min-height: 44px; }

.portique__bascule {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--texte);
  background: transparent;
  color: var(--texte);
  cursor: pointer;
}
.portique__bascule svg { width: 20px; height: 20px; }
.portique__bascule .ferme { display: none; }
.portique__bascule[aria-expanded="true"] .ouvre { display: none; }
.portique__bascule[aria-expanded="true"] .ferme { display: block; }

.portique__panneau { display: contents; }

@media (max-width: 860px) {
  .portique__marque img { width: 40px; height: 40px; }
  .portique__marque span { font-size: 18px; }
  .js .portique__bascule { display: inline-flex; order: 3; }
  .portique__rangee { gap: 12px; }
  /* Sur téléphone, la place manque : le sélecteur ne montre que l'autre langue. */
  .langues a[aria-current="page"] { display: none; }
  .langues a { min-width: 40px; }
  .js .portique__panneau {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--scene);
    border-bottom: 3px solid var(--texte);
    padding: 8px var(--marge) 24px;
  }
  .js .portique__panneau.est-ouvert { display: block; }
  .js .portique__liens {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .js .portique__liens a {
    font-size: 30px;
    font-weight: 800;
    color: var(--texte);
    padding: 14px 0;
    border-bottom: 1px solid var(--filet);
  }
  .js .portique__cta { width: 100%; margin-top: 20px; font-size: 22px; min-height: 56px; }
  /* Sans JavaScript, les liens restent visibles et passent à la ligne. */
  html:not(.js) .portique__rangee { flex-wrap: wrap; }
  html:not(.js) .portique__liens { gap: 16px; flex-wrap: wrap; }
}

/* ── Affiche (premier écran) ────────────────────────────────────────────── */

.affiche {
  padding-block: 40px 64px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.affiche__bandeau {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px 24px;
  flex-wrap: wrap;
  font-family: var(--f-affiche);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--texte-3);
  border-top: 3px solid var(--texte);
  border-bottom: 1px solid var(--filet-fort);
  padding: 12px 0;
}
.affiche__grille {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 40px;
  align-items: end;
}
.affiche__titre {
  font-family: var(--f-affiche);
  font-weight: 900;
  font-size: clamp(72px, 12vw, 188px);
  font-size: clamp(72px, min(12vw, calc((100svh - 260px) / 2.52)), 188px);
  line-height: 0.84;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  overflow-wrap: break-word;
}
.affiche__titre em { font-style: normal; color: var(--signal); }
.affiche__colonne {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding-bottom: 12px;
}
.affiche__logo {
  /* Lettrage recadré (243 px de large) : au-delà, il floute. Un logo vectoriel lèverait la limite. */
  width: clamp(140px, 13vw, 200px);
  align-self: flex-start;
}

/* La ligne de flottaison. Le titre tient en trois lignes (« LES SORTIES, /
   AVANT / TOUT LE MONDE. ») : sa taille suit la largeur réelle de SA
   colonne, pas celle de l'écran — sinon il éclate sur cinq lignes et pousse
   les boutons sous la pliure. La plus longue ligne, « TOUT LE MONDE. », mesure
   5,85 fois la taille de la police : on divise par 6 pour garder de la marge.
   La hauteur d'écran plafonne aussi le titre, pour qu'un portable bas voie
   encore les boutons. Dès 960 px : en dessous, la colonne du titre serait
   trop étroite pour trois lignes à 72 px. */
@media (min-width: 960px) {
  .affiche__grille {
    container-type: inline-size;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 400px);
  }
  .affiche__titre {
    font-size: clamp(72px, min(calc((100cqi - 440px) / 6), calc((100svh - 280px) / 2.52)), 188px);
  }
}
.affiche__texte {
  font-size: 19px;
  line-height: 1.55;
  color: var(--texte-2);
  max-width: 30em;
  text-wrap: pretty;
}
.affiche__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.affiche__lineup {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 22px;
  font-family: var(--f-affiche);
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1;
  border-top: 1px solid var(--filet-fort);
  padding-top: 22px;
}
.affiche__lineup .tete { font-size: clamp(32px, 4.4vw, 64px); }
.affiche__lineup .point { font-size: clamp(32px, 4.4vw, 64px); color: var(--signal); }
.affiche__lineup .suite { font-size: clamp(22px, 3vw, 42px); color: var(--texte-3); }
.affiche__chiffres-mobile { display: none; }

@media (max-width: 720px) {
  .affiche { padding-block: 16px 48px; gap: 18px; }
  .affiche__bandeau { font-size: 15px; letter-spacing: 0.12em; padding: 8px 0; }
  /* « LES SORTIES, » (4,61 fois la police) doit tenir sur une ligne : le titre
     passe ainsi de quatre à trois lignes et libère le premier écran. */
  .affiche__titre { font-size: clamp(60px, calc((100vw - 40px) / 4.75), 84px); }
  /* Les chiffres avant le line-up : ils doivent rester au-dessus du billet collant. */
  .affiche__chiffres-mobile { order: 2; }
  .affiche__lineup { order: 3; }
  .affiche__titre .saut { display: none; }
  .affiche__grille { gap: 18px; }
  .affiche__colonne { gap: 18px; padding-bottom: 0; }
  .affiche__logo { width: 112px; }
  .affiche__texte { font-size: 16px; line-height: 1.5; }
  /* Sur téléphone, le billet collant porte l'action du premier écran. */
  .affiche__actions { display: none; }
  .affiche__lineup { gap: 2px 10px; padding-top: 12px; }
  .affiche__lineup .tete, .affiche__lineup .point { font-size: 30px; }
  .affiche__lineup .suite { font-size: 20px; }
  .affiche__chiffres-mobile {
    display: flex;
    gap: 18px;
    font-family: var(--f-affiche);
    text-transform: uppercase;
  }
  .affiche__chiffres-mobile div { display: flex; flex-direction: column; }
  .affiche__chiffres-mobile b { font-weight: 900; font-size: 34px; line-height: 0.9; }
  .affiche__chiffres-mobile span { font-weight: 700; font-size: 14px; letter-spacing: 0.08em; color: var(--texte-3); }
}

/* Téléphone bas (iPhone SE…) : le lettrage double celui de la barre du haut,
   on le retire pour garder les chiffres au-dessus de la pliure. */
@media (max-width: 720px) and (max-height: 700px) {
  .affiche__logo { display: none; }
}

/* ── Registres sur papier ───────────────────────────────────────────────── */

.papier { background: var(--papier); color: var(--encre); }
.papier a:hover { color: var(--riso-bleu); }
.papier :focus-visible { outline-color: var(--riso-bleu); box-shadow: 0 0 0 6px var(--papier); }

.manifeste__grille {
  padding-block: var(--souffle);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 48px;
  align-items: end;
}
@media (min-width: 1000px) {
  .manifeste__grille { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
.manifeste blockquote {
  font-family: var(--f-citation);
  font-style: italic;
  font-size: clamp(36px, 4.2vw, 62px);
  line-height: 1.08;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
.manifeste__signature {
  display: flex;
  flex-direction: column;
  gap: 18px;
  font-size: 17px;
  line-height: 1.6;
  color: var(--encre-2);
  max-width: 34em;
}
.manifeste__signature cite {
  font-style: normal;
  font-family: var(--f-affiche);
  font-weight: 800;
  font-size: 20px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--encre);
}

/* ── Les chiffres ───────────────────────────────────────────────────────── */

.chiffres { border-top: 3px solid var(--encre); }
.chiffres__corps {
  padding-block: 72px var(--souffle);
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-family: var(--f-affiche);
  text-transform: uppercase;
}
.chiffres__tete {
  display: flex;
  align-items: baseline;
  gap: 8px 24px;
  flex-wrap: wrap;
  border-bottom: 2px solid var(--encre);
  padding-bottom: 10px;
}
.chiffres__tete b {
  font-weight: 900;
  font-size: clamp(88px, 15vw, 232px);
  line-height: 0.82;
  color: var(--riso-bleu);
  mix-blend-mode: multiply;
}
.chiffres__tete span {
  font-weight: 800;
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1;
}
.chiffres__tete small { color: var(--encre-3); font-size: 0.6em; }
.chiffres__rangee {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
}
.chiffres__rangee div {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 2px solid var(--encre);
}
.chiffres__rangee b {
  font-weight: 900;
  font-size: clamp(64px, 7vw, 108px);
  line-height: 0.85;
  color: var(--riso-magenta);
}
.chiffres__rangee span { font-weight: 800; font-size: 24px; }
.chiffres__detail {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 32px;
  padding-top: 18px;
  font-weight: 700;
  font-size: 26px;
  letter-spacing: 0.04em;
}
.chiffres__detail b { font-weight: 700; color: var(--riso-bleu); }

/* ── Le programme ───────────────────────────────────────────────────────── */

.programme {
  padding-block: var(--souffle);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 56px;
}
@media (min-width: 1080px) {
  .programme { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
.programme__colonne { display: flex; flex-direction: column; gap: 28px; }

.titre-registre {
  font-family: var(--f-affiche);
  font-weight: 900;
  font-size: clamp(56px, 6.4vw, 104px);
  line-height: 0.86;
  text-transform: uppercase;
}

.etape {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 16px;
  padding: 18px 0;
  border-top: 1px solid var(--filet);
}
.etape:last-child { border-bottom: 1px solid var(--filet); }
.etape__numero {
  font-family: var(--f-affiche);
  font-weight: 900;
  font-size: 44px;
  line-height: 0.9;
  color: var(--signal);
}
.etape h3 {
  font-family: var(--f-affiche);
  font-weight: 800;
  font-size: 28px;
  line-height: 1.05;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.etape p { font-size: 16px; line-height: 1.55; color: var(--texte-3); }

.carnet {
  align-self: start;
  display: flex;
  flex-direction: column;
  gap: 20px;
  background: var(--scene-panneau);
  border: 1px solid var(--filet-doux);
  padding: 32px;
}
.carnet h3 {
  font-family: var(--f-affiche);
  font-weight: 900;
  font-size: 40px;
  line-height: 0.9;
  text-transform: uppercase;
}
.carnet > p { font-size: 15px; line-height: 1.55; color: var(--texte-3); }
.carnet__ligne {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr) 72px;
  gap: 14px;
  align-items: baseline;
  padding: 14px 0;
  border-top: 1px solid rgba(242, 241, 244, 0.14);
}
.carnet__ligne:last-child { border-bottom: 1px solid rgba(242, 241, 244, 0.14); }
.carnet__date {
  font-family: var(--f-affiche);
  font-weight: 800;
  font-size: 20px;
  text-transform: uppercase;
  color: var(--texte-3);
}
.carnet__objet { font-size: 15px; }
.carnet__nombre {
  font-family: var(--f-affiche);
  font-weight: 900;
  font-size: 30px;
  text-align: right;
  color: var(--signal);
}
.carnet__note { font-size: 13px; color: var(--texte-4); }

@media (max-width: 520px) {
  .carnet { padding: 24px 20px; }
  .carnet__ligne { grid-template-columns: 76px minmax(0, 1fr) 56px; gap: 10px; }
  .carnet__date { font-size: 17px; }
}

/* ── Les offres (billets à souche) ──────────────────────────────────────── */

.offres { border-top: 3px solid var(--texte); }
.offres__corps {
  padding-block: 96px;
  display: flex;
  flex-direction: column;
  gap: 44px;
}
.offres__tete {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 16px 32px;
  flex-wrap: wrap;
}
.offres__tete p { font-size: 17px; line-height: 1.5; color: var(--texte-3); max-width: 30em; }
.offres__grille {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
}
@media (min-width: 1120px) {
  .offres__grille { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.offres__note { font-size: 14px; color: var(--texte-4); }

.billet {
  --souche: 150px;
  --encoche-fond: var(--scene);
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--souche);
  background: var(--billet);
  color: var(--encre);
}
.billet--pass {
  grid-column: 1 / -1;
  background: var(--pass);
  color: #FFFFFF;
}
.billet__corps {
  padding: 26px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.billet__scene {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--encre-3);
}
.billet--pass .billet__scene { color: var(--pass-encre); }
.billet__nom {
  font-family: var(--f-affiche);
  font-weight: 900;
  font-size: clamp(30px, 3.2vw, 44px);
  line-height: 0.9;
  text-transform: uppercase;
  overflow-wrap: anywhere;
  hyphens: auto;
}
.billet__droits { font-size: 15px; line-height: 1.55; color: var(--encre-2); }
.billet--pass .billet__droits { color: var(--pass-encre); max-width: 46em; }

.billet__souche {
  position: relative;
  border-left: 2px dashed var(--pointille);
  padding: 26px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  text-align: center;
}
.billet--pass .billet__souche { border-left-color: rgba(255, 255, 255, 0.5); }
/* Les deux encoches du billet, posées sur la ligne de pointillés. */
.billet__souche::before,
.billet__souche::after {
  content: "";
  position: absolute;
  left: -12px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--encoche-fond);
}
.billet__souche::before { top: -11px; }
.billet__souche::after { bottom: -11px; }

.billet__prix {
  font-family: var(--f-affiche);
  font-weight: 900;
  font-size: 48px;
  line-height: 0.9;
}
.billet__prix--des { font-size: 44px; }
.billet__mention {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--encre-3);
}
.billet--pass .billet__mention { color: var(--pass-encre); }
.billet__bouton {
  align-self: stretch;
  font-size: 18px;
  letter-spacing: 0.06em;
  padding: 10px 8px;
  min-height: 44px;
  background: var(--encre);
  color: var(--texte);
}
.billet__bouton:hover { background: var(--riso-bleu); color: #FFFFFF; }
.billet--pass .billet__bouton { background: #FFFFFF; color: var(--pass-bouton); }
.billet--pass .billet__bouton:hover { background: var(--encre); color: #FFFFFF; }

/* Les durées de la grille avec engagement. */
.durees {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 8px;
  margin-top: 4px;
}
.billet--pass .durees { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); max-width: 720px; }
.duree {
  position: relative;
  padding: 11px 13px;
  border: 1px solid rgba(10, 10, 12, 0.3);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.duree__nom { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--encre-3); }
.duree__badge {
  position: absolute;
  top: -9px;
  right: 8px;
  background: var(--signal);
  color: var(--encre);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
  padding: 4px 6px;
}
.duree__prix { font-family: var(--f-affiche); font-weight: 900; font-size: 34px; line-height: 0.9; }
.duree__detail { font-size: 12px; color: var(--encre-2); }
.duree--meilleure { background: var(--encre); color: var(--texte); border-color: var(--encre); padding: 12px 14px; }
.duree--meilleure .duree__nom { color: var(--texte-3); }
.duree--meilleure .duree__detail { color: var(--texte-2); }
.duree--appuyee { border: 2px solid var(--encre); padding: 10px 12px; }

.billet--pass .duree { border-color: rgba(255, 255, 255, 0.5); }
.billet--pass .duree__nom, .billet--pass .duree__detail { color: var(--pass-encre); }
.billet--pass .duree--meilleure { background: #FFFFFF; color: #1E1450; border-color: #FFFFFF; }
.billet--pass .duree--meilleure .duree__nom { color: #5A4A8A; }
.billet--pass .duree--meilleure .duree__detail { color: #3A2E6E; }
.billet--pass .duree--appuyee { border-color: #FFFFFF; }

/* Sur téléphone, le billet se lit de haut en bas : la souche passe dessous. */
@media (max-width: 600px) {
  .billet { grid-template-columns: minmax(0, 1fr); }
  .billet__corps { padding: 24px 22px; }
  .billet__souche {
    border-left: 0;
    border-top: 2px dashed var(--pointille);
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 18px 22px 22px;
    text-align: left;
  }
  .billet--pass .billet__souche { border-top-color: rgba(255, 255, 255, 0.5); }
  .billet__souche::before,
  .billet__souche::after { top: -12px; bottom: auto; }
  .billet__souche::before { left: -11px; }
  .billet__souche::after { left: auto; right: -11px; }
  .billet__bouton { align-self: auto; flex: 1 0 100%; font-size: 20px; min-height: 48px; }
}

/* ── Les questions ──────────────────────────────────────────────────────── */

.questions__grille {
  padding-block: 96px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 40px 48px;
}
@media (min-width: 1000px) {
  .questions__grille { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
.question { border-top: 2px solid var(--encre); }
.question:last-child { border-bottom: 2px solid var(--encre); }
.question summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 0;
  font-family: var(--f-affiche);
  font-weight: 800;
  font-size: 26px;
  line-height: 1.1;
  text-transform: uppercase;
}
.question summary::-webkit-details-marker { display: none; }
.question summary::after {
  content: "";
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  background:
    linear-gradient(currentColor, currentColor) center / 18px 3px no-repeat,
    linear-gradient(currentColor, currentColor) center / 3px 18px no-repeat;
  transition: transform 220ms cubic-bezier(.16, 1, .3, 1);
}
.question[open] summary::after { transform: rotate(45deg); }
.question summary:hover { color: var(--riso-bleu); }
.question p {
  padding-bottom: 22px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--encre-2);
  max-width: 62ch;
}
@media (prefers-reduced-motion: reduce) {
  .question summary::after { transition: none; }
}

/* ── Le final et le pied ────────────────────────────────────────────────── */

.final {
  padding-block: 120px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.final h2 {
  font-family: var(--f-affiche);
  font-weight: 900;
  font-size: clamp(72px, 11vw, 176px);
  /* 1 et non 0.84 : l'accent de « RÉSERVE » ne doit pas mordre la ligne du dessus. */
  line-height: 1;
  text-transform: uppercase;
}
.final h2 em { font-style: normal; color: var(--signal); }
.final__rangee {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  border-top: 1px solid var(--filet-fort);
  padding-top: 24px;
}
.final__rangee p { font-size: 19px; color: var(--texte-2); }
.final__rangee .bouton { font-size: 24px; padding: 16px 28px; }

.pied { border-top: 1px solid var(--filet-doux); }
.pied__rangee {
  padding-block: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px 24px;
  flex-wrap: wrap;
  font-size: 14px;
  color: var(--texte-4);
}
.pied__liens { display: flex; gap: 12px 24px; flex-wrap: wrap; }
.pied__liens a { color: var(--texte-4); }
.pied__liens a:hover { color: var(--signal); }

@media (max-width: 720px) {
  .final { padding-block: 80px; }
  .final__rangee .bouton { width: 100%; }
}

/* ── Le billet collant (mobile) ─────────────────────────────────────────── */

.billet-mobile { display: none; }

@media (max-width: 720px) {
  body { padding-bottom: 100px; }
  .billet-mobile {
    position: fixed;
    left: 14px;
    right: 14px;
    bottom: calc(14px + env(safe-area-inset-bottom, 0px));
    z-index: 9;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 96px;
    min-height: 64px;
    background: var(--signal);
    color: var(--encre);
    text-decoration: none;
    box-shadow: 0 18px 40px -16px rgba(0, 0, 0, 0.9);
    transition: transform 260ms cubic-bezier(.16, 1, .3, 1), opacity 200ms ease;
  }
  .billet-mobile:hover { color: var(--encre); }
  .billet-mobile.est-masque { transform: translateY(140%); opacity: 0; pointer-events: none; }
  .billet-mobile__corps {
    padding: 12px 16px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2px;
  }
  .billet-mobile__corps b {
    font-family: var(--f-affiche);
    font-weight: 900;
    font-size: 20px;
    line-height: 1;
    text-transform: uppercase;
  }
  .billet-mobile__corps span { font-size: 12px; font-weight: 600; }
  .billet-mobile__souche {
    position: relative;
    border-left: 2px dashed rgba(10, 10, 12, 0.45);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  .billet-mobile__souche::before,
  .billet-mobile__souche::after {
    content: "";
    position: absolute;
    left: -11px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--scene);
  }
  .billet-mobile__souche::before { top: -10px; }
  .billet-mobile__souche::after { bottom: -10px; }
  .billet-mobile__souche b {
    font-family: var(--f-affiche);
    font-weight: 900;
    font-size: 26px;
    line-height: 1;
  }
  .billet-mobile__souche span { font-size: 11px; font-weight: 600; }
}
@media (max-width: 720px) and (prefers-reduced-motion: reduce) {
  .billet-mobile { transition: none; }
}

/* ── Apparition (facultative) ───────────────────────────────────────────── */
/* Le masquage n'existe que sous html.js-anime, posée en tête de page et
   seulement sans « réduire les animations ». Sinon, tout est visible. */

.js-anime .apparait {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 620ms cubic-bezier(.16, 1, .3, 1), transform 620ms cubic-bezier(.16, 1, .3, 1);
}
.js-anime .apparait.est-visible { opacity: 1; transform: none; }
