/* Kassidy : les loges. Feuille unique, aucune ressource externe. */
:root {
  --encre: #26103a;
  --encre-2: #371a52;
  --encre-3: #4a2769;
  --terra: #d6246e;
  --terra-f: #a8195a;
  --sarc: #4a2a9a;
  --sarc-f: #351c78;
  --or: #e0b454;
  --or-clair: #f6d98e;
  --creme: #f6eef9;
  --creme-2: #ede0f4;
  --creme-3: #ddcbe9;
  --papier: #fcf8fd;
  --rose: #f1a9cd;
  --gris: #5f5569;
  --magenta: #a0115a;
  --titre: "Didot", "Bodoni 72", "Bodoni MT", "Playfair Display", Georgia, "Times New Roman", serif;
  --texte: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --r: 10px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 76px; }
body { margin: 0; background: var(--papier); color: var(--encre); font: 17px/1.6 var(--texte); -webkit-tap-highlight-color: transparent; }
img, svg { max-width: 100%; }
img { height: auto; }
a { color: var(--terra-f); text-decoration: underline; text-underline-offset: 2px; }
a:hover { color: var(--encre); }
h1, h2, h3 { font-family: var(--titre); font-weight: 700; line-height: 1.2; margin: 0 0 .5em; letter-spacing: .01em; }
h1 { font-size: clamp(1.9rem, 4.4vw, 2.9rem); }
h2 { font-size: clamp(1.45rem, 3vw, 1.95rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
button, input, select { font: inherit; }
button { cursor: pointer; touch-action: manipulation; }
:focus-visible { outline: 3px solid var(--or); outline-offset: 2px; }
.est-cache { display: none !important; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.evitement { position: absolute; left: 8px; top: -60px; background: var(--or); color: var(--encre); padding: 8px 14px; z-index: 100; border-radius: 6px; }
.evitement:focus { top: 8px; }

/* ---------- la rampe (en-tête) ---------- */
.rampe { position: sticky; top: 0; z-index: 40; background: var(--encre); color: var(--creme); border-bottom: 3px solid var(--or); }
.rampe-int { max-width: 1240px; margin: 0 auto; padding: 8px 16px; display: flex; align-items: center; gap: 14px; min-height: 60px; }
.enseigne { display: inline-flex; align-items: center; gap: 8px; color: var(--or-clair); text-decoration: none; font: 700 1.5rem/1 var(--titre); letter-spacing: .04em; flex-shrink: 0; }
.enseigne:hover { color: #fff; }
.enseigne-lampe { width: 30px; height: 30px; }
.rampe-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.rampe-nav a { display: block; padding: 8px 10px; color: var(--creme); text-decoration: none; font-size: 15px; border-radius: 6px; white-space: nowrap; }
.rampe-nav a:hover, .rampe-nav a[aria-current] { background: var(--encre-3); color: #fff; }
.couloir { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; color: var(--creme); text-decoration: none; font-size: 14px; min-width: 0; }
.couloir-faces { display: inline-flex; }
.couloir-faces img { width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--or); margin-left: -8px; object-fit: cover; background: var(--sarc); }
.couloir-faces img:first-child { margin-left: 0; }
.couloir-texte { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.couloir-nb { display: none; }
.rampe-num { flex-shrink: 0; display: inline-flex; flex-direction: column; align-items: center; line-height: 1.15; background: var(--or); color: var(--encre); font-weight: 800; text-decoration: none; padding: 5px 16px; border-radius: 999px; white-space: nowrap; font-size: 15px; }
.rampe-num-t { font-size: 13px; font-weight: 700; color: #6e1040; }
.rampe-num:hover { background: var(--or-clair); color: var(--encre); }
.programme-btn { display: none; flex-shrink: 0; background: transparent; color: var(--creme); border: 2px solid var(--or); border-radius: 999px; padding: 6px 12px; font-size: 14px; font-weight: 700; }
.programme { display: none; }
.programme.ouvert { display: block; position: fixed; inset: 0; z-index: 60; background: var(--encre); overflow-y: auto; }
.programme-int { max-width: 560px; margin: 0 auto; padding: 24px 16px 40px; }
.programme-haut { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 16px; }
.programme-titre { font: 700 1.5rem var(--titre); color: var(--or-clair); margin: 0; }
.programme .programme-croix { width: 44px; height: 44px; padding: 0; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; background: transparent; color: var(--or-clair); border: 2px solid var(--or); border-radius: 50%; }
.programme-tuiles { list-style: none; padding: 0; margin: 0 0 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.programme-tuiles li { display: flex; }
.programme-tuiles li a { flex: 1; }
.programme-tuiles a { display: flex; align-items: center; min-height: 56px; padding: 10px 14px; background: var(--encre-2); border: 1px solid var(--encre-3); border-radius: var(--r); color: var(--creme); text-decoration: none; font-weight: 600; }
.programme-tuiles a[aria-current] { border-color: var(--or); }
.programme-fermer { width: 100%; background: var(--or); color: var(--encre); border: 0; border-radius: 999px; padding: 12px; font-weight: 800; }

/* ---------- blocs ---------- */
.bloc { padding: 40px 0; }
.bloc + .bloc { padding-top: 8px; }
.bloc-int { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.bloc-sombre { background: var(--encre); color: var(--creme); padding: 44px 0; }
.bloc-sombre + .bloc { padding-top: 40px; }
.bloc + .bloc-sombre { padding-top: 44px; }
.bloc-sombre a:not([class]), .bloc-sombre .lien-fleche { color: var(--or-clair); }
.bloc-sombre .ligne-carte .lien-fleche { color: var(--terra-f); }
.bloc-sombre h2 { color: var(--or-clair); }
.texte { max-width: 800px; }
.deux-col { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; }
.bloc-suite { margin-top: 20px; }
.lien-fleche { font-weight: 700; }
.lien-fleche::after { content: " →"; }
.fil { max-width: 1120px; margin: 0 auto; padding: 12px 16px 0; font-size: 14px; }
.fil ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.fil li + li::before { content: "›"; margin-right: 6px; color: var(--gris); }
.fil a { color: var(--gris); }
.entete-page { padding: 28px 0 8px; }
.chapo { font-size: 1.13rem; max-width: 760px; }
.relu, .releve { font-size: 14px; color: var(--gris); }
.surtitre { text-transform: uppercase; letter-spacing: .14em; font-size: 13px; font-weight: 700; color: var(--or-clair); margin-bottom: 8px; }
.deux-mots { max-width: 1088px; margin: 8px auto 0; background: var(--creme-2); border-left: 5px solid var(--or); border-radius: 0 var(--r) var(--r) 0; padding: 16px 20px 4px; }
@media (min-width: 1121px) { .deux-mots { margin-left: auto; margin-right: auto; } }
@media (max-width: 1120px) { .deux-mots { margin-left: 16px; margin-right: 16px; } }
.deux-mots-titre { font: 700 13px var(--texte); text-transform: uppercase; letter-spacing: .12em; color: var(--sarc-f); margin-bottom: 6px; }

/* ---------- scène d'accueil ---------- */
.scene { background: radial-gradient(ellipse at 85% 0, rgba(214, 36, 110, .45) 0, transparent 45%), radial-gradient(ellipse at 10% 100%, rgba(74, 42, 154, .55) 0, transparent 55%), var(--encre); color: var(--creme); overflow: hidden; }
.scene-int { max-width: 1120px; margin: 0 auto; padding: 36px 16px 44px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 32px; align-items: center; }
.scene h1 { color: #fff; }
.scene .chapo { color: var(--creme); }
.scene-etat { display: inline-block; border: 1px solid var(--encre-3); background: rgba(255, 255, 255, .04); border-radius: var(--r); padding: 12px 16px; margin: 4px 0 18px; }
.scene-compte { margin: 0; font-size: 1.05rem; }
.scene-chiffre { font: 700 2.2rem/1 var(--titre); color: var(--or-clair); vertical-align: -3px; }
.scene-heure { margin: 4px 0 0; font-size: 14px; color: var(--creme-3); }
.scene-appels { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.scene-visuel { margin: 0; border-radius: 18px; overflow: hidden; border: 2px solid rgba(246, 217, 142, .55); box-shadow: 0 0 0 6px rgba(214, 36, 110, .12), 0 18px 48px rgba(0, 0, 0, .45), 0 0 60px rgba(214, 36, 110, .28); aspect-ratio: 3 / 2; }
.scene-visuel img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* ---------- cartouche SVA et numéros ---------- */
.sva { display: inline-flex; align-items: stretch; text-decoration: none; border-radius: 6px; overflow: hidden; border: 2px solid #8c8c8c; background: #fff; }
.sva-num { display: flex; align-items: center; padding: 4px 10px; color: #4a4a4a; font: 800 1.15rem/1.1 var(--texte); white-space: nowrap; }
.sva-prix { display: flex; align-items: center; background: var(--magenta); color: #fff; padding: 3px 9px; font: 700 13px/1.2 var(--texte); white-space: nowrap; }
.sva-grand .sva-num { font-size: 1.45rem; padding: 6px 14px; }
.sva-grand .sva-prix { font-size: 13px; }
.num-cb { display: inline-block; font: 800 1.3rem var(--texte); background: linear-gradient(180deg, #3d2386, #26103a); color: #fff; padding: 6px 14px; border-radius: 8px; text-decoration: none; white-space: nowrap; border: 2px solid var(--or-clair); box-shadow: 0 4px 16px rgba(74, 42, 154, .35); }
.num-cb:hover { color: #fff; border-color: #fff; }
.num-lien { white-space: nowrap; font-weight: 700; }
.deux-lignes { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; margin-bottom: 16px; }
.ligne-carte { background: var(--creme); color: var(--encre); border-radius: var(--r); padding: 18px; border: 1px solid var(--creme-3); }
.ligne-carte a.lien-fleche { color: var(--terra-f); }
.ligne-titre { font: 700 1.15rem var(--titre); margin-bottom: 10px; }
.bloc-sombre .ligne-carte p { color: var(--encre); }

/* ---------- les loges ---------- */
.loges-grille { display: grid; grid-template-columns: repeat(auto-fill, minmax(206px, 1fr)); gap: 18px; margin: 16px 0; }
.loge { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; background: var(--papier); color: var(--encre); border: 2px solid var(--encre); border-radius: 120px 120px 12px 12px; padding: 16px 14px 14px; min-width: 0; box-shadow: inset 0 0 0 5px var(--papier), inset 0 0 0 6px var(--or); }
.loge-fronton { height: 18px; display: flex; justify-content: center; margin-bottom: 6px; }
.loge-lampe { position: relative; width: 16px; height: 16px; border-radius: 50%; background: #978da3; border: 2px solid var(--encre); }
.loge-lampe::after { content: ""; position: absolute; inset: -10px; border-radius: 50%; background: radial-gradient(circle, rgba(246, 217, 142, .85) 0, rgba(246, 217, 142, 0) 70%); opacity: 0; }
.loge--allumee .loge-lampe { background: var(--or-clair); }
.loge--allumee .loge-lampe::after { animation: veille 2.6s ease-in-out infinite; }
.pause-anim .loge-lampe::after { animation-play-state: paused; }
@keyframes veille { 0%, 100% { opacity: .35; } 50% { opacity: 1; } }
.loge-miroir { position: relative; display: block; width: 132px; height: 132px; border-radius: 50%; overflow: hidden; border: 3px solid var(--or); background: var(--sarc); flex-shrink: 0; }
.loge-miroir img { display: block; width: 100%; height: 100%; object-fit: cover; }
.loge-rideau { position: absolute; inset: 0; background: linear-gradient(90deg, var(--terra-f) 0, var(--terra) 26%, transparent 27%, transparent 73%, var(--terra) 74%, var(--terra-f) 100%); opacity: 0; transition: opacity .4s; }
.loge--fil .loge-rideau { opacity: .94; }
.loge--fermee .loge-miroir img, .loge--demain .loge-miroir img { filter: grayscale(.7); opacity: .85; }
.loge--fermee, .loge--demain { background: var(--creme-2); box-shadow: inset 0 0 0 5px var(--creme-2), inset 0 0 0 6px var(--creme-3); }
.loge-nom { font-size: 1.2rem; margin: 10px 0 6px; width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.loge-nom a { display: block; overflow: hidden; text-overflow: ellipsis; color: var(--encre); text-decoration: none; }
.bloc-sombre .loge-nom a { color: var(--encre); }
.loge-nom a:hover { text-decoration: underline; }
.loge-etat { margin: 0 0 4px; }
.plaque { display: inline-block; max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font: 700 13px/1 var(--texte); padding: 6px 10px; border-radius: 999px; background: var(--creme-3); color: var(--encre); letter-spacing: .02em; }
.loge--allumee .plaque, .plaque-allumee { background: var(--or); color: var(--encre); }
.loge--fil .plaque, .plaque-fil { background: var(--terra-f); color: #fff; }
.loge--arrive .plaque, .plaque-arrive, .loge--prevue .plaque, .plaque-prevue { background: var(--sarc); color: #fff; }
.plaque-vide { background: transparent; border: 1px solid var(--creme-3); color: var(--gris); }
.loge-detail { font-size: 14px; color: var(--gris); margin: 0 0 4px; width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-height: 22px; }
.loge-arts { font-size: 14px; margin: 0 0 10px; width: 100%; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 44px; line-height: 22px; }
.loge-pied { margin-top: auto; width: 100%; display: flex; flex-direction: column; gap: 8px; }
.btn-appel, .btn-voir { display: flex; align-items: center; justify-content: center; min-height: 44px; border-radius: 999px; font-weight: 800; text-decoration: none; white-space: nowrap; padding: 8px 12px; }
.btn-appel { background: linear-gradient(180deg, #c91d66, #9a1352); color: #fff; box-shadow: 0 4px 14px rgba(201, 29, 102, .3); }
.btn-appel:hover { background: linear-gradient(180deg, #b0175a, #7f0f44); color: #fff; }
.btn-voir { border: 2px solid var(--encre); color: var(--encre); font-weight: 700; }
.btn-appel:active, .btn-voir:active, .btn-alerte:active, .rampe-num:active, .filtre:active { transform: scale(.97); }
.btn-alerte { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 40px; background: transparent; border: 1px dashed var(--encre); color: var(--encre); border-radius: 999px; font-size: 14px; font-weight: 700; padding: 6px 10px; white-space: nowrap; }
.btn-alerte[aria-pressed="true"] { background: var(--encre); color: var(--or-clair); border-style: solid; }
.cloche { width: 14px; height: 14px; border-radius: 7px 7px 3px 3px; border: 2px solid currentColor; position: relative; flex-shrink: 0; }
.cloche::after { content: ""; position: absolute; left: 3px; bottom: -5px; width: 4px; height: 3px; border-radius: 0 0 3px 3px; background: currentColor; }
.loges-vide { color: var(--gris); }
.perime { background: var(--creme-2); border: 1px solid var(--or); border-radius: var(--r); padding: 10px 14px; font-size: 15px; }
.filtres { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 4px; }
.filtre { border: 2px solid var(--encre); background: transparent; color: var(--encre); border-radius: 999px; padding: 6px 14px; font-size: 15px; font-weight: 600; white-space: nowrap; min-height: 40px; }
.filtre[aria-pressed="true"] { background: var(--encre); color: var(--or-clair); }
.legende { margin: 0; }
.legende dt { margin-top: 12px; }
.legende dd { margin: 6px 0 0; font-size: 15px; }
.pratiques dt { font-weight: 700; margin-top: 12px; }
.pratiques dd { margin: 4px 0 0; }

/* ---------- journal des couloirs ---------- */
.journal { list-style: none; margin: 0 0 12px; padding: 0; }
.journal li { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--encre-3); min-width: 0; }
.journal img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; border: 2px solid var(--or); flex-shrink: 0; background: var(--sarc); }
.journal-heure { font-weight: 700; color: var(--or-clair); flex-shrink: 0; font-size: 14px; }
.journal a { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.journal-vide { font-size: 15px; color: var(--creme-3); }
.bloc:not(.bloc-sombre) .journal li { border-bottom-color: var(--creme-3); }
.bloc:not(.bloc-sombre) .journal-heure { color: var(--terra-f); }

/* ---------- billets (alertes dans la page) ---------- */
.billets { position: fixed; left: 16px; bottom: 16px; z-index: 50; display: flex; flex-direction: column; gap: 8px; max-width: min(360px, calc(100vw - 32px)); }
.billet { display: grid; grid-template-columns: 48px 1fr auto; grid-template-areas: "img txt x" "img num x"; gap: 2px 10px; align-items: center; background: var(--encre); color: var(--creme); border: 2px solid var(--or); border-radius: var(--r); padding: 10px 12px; box-shadow: 0 10px 24px rgba(0, 0, 0, .3); animation: entree .35s ease-out; }
.billet img { grid-area: img; width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.billet-texte { grid-area: txt; margin: 0; font-size: 15px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.billet-num { grid-area: num; color: var(--or-clair); font-weight: 800; white-space: nowrap; }
.billet-x { grid-area: x; background: transparent; border: 0; color: var(--creme); font-size: 22px; line-height: 1; min-width: 32px; min-height: 32px; }

.billet-texte-seul { grid-template-columns: 1fr auto; grid-template-areas: "txt x" "num x"; }
.billet-texte-seul .billet-texte { white-space: normal; }
@keyframes entree { from { transform: translateY(12px); opacity: 0; } to { transform: none; opacity: 1; } }

/* ---------- barre d'appel mobile ---------- */
.barre-appel { display: none; }

/* ---------- affiche (promotion du document) ---------- */
.affiche { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: 24px; align-items: center; background: var(--encre); color: var(--creme); border-radius: 16px; padding: 24px; border: 2px solid var(--or); }
.affiche-claire { background: var(--creme-2); color: var(--encre); }
.affiche-sur { text-transform: uppercase; letter-spacing: .12em; font-size: 13px; font-weight: 700; color: var(--or-clair); margin-bottom: 4px; }
.affiche-claire .affiche-sur { color: var(--terra-f); }
.affiche-titre { font: 700 1.6rem var(--titre); margin-bottom: 8px; }
.btn-affiche { display: inline-flex; align-items: center; min-height: 46px; background: var(--or); color: var(--encre); font-weight: 800; padding: 10px 20px; border-radius: 999px; text-decoration: none; white-space: nowrap; }
.btn-affiche:hover { background: var(--or-clair); color: var(--encre); }

/* ---------- questions ---------- */
.questions h2 { margin-bottom: 16px; }
.question { border-top: 1px solid var(--creme-3); }
.question:last-child { border-bottom: 1px solid var(--creme-3); }
.question summary { cursor: pointer; padding: 14px 32px 14px 0; font-weight: 700; position: relative; list-style: none; }
.question summary::-webkit-details-marker { display: none; }
.question summary::after { content: "+"; position: absolute; right: 4px; top: 10px; font-size: 1.4rem; color: var(--terra-f); }
.question[open] summary::after { content: "−"; }
.reponse p { margin: 0 0 14px; }

/* ---------- agenda ---------- */
.puce-audio, .puce-cb { font-weight: 700; padding: 0 6px; border-radius: 4px; color: #fff; }
.puce-audio { background: var(--sarc); }
.puce-cb { background: #7e5a12; }
.arrivees { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.arrivees-h { display: inline-block; min-width: 48px; font-weight: 800; color: var(--terra-f); }
.agenda { display: flex; flex-direction: column; gap: 10px; }
.agenda-axe { display: flex; justify-content: space-between; margin-left: 364px; font-size: 13px; color: var(--gris); }
.agenda-rang { display: grid; grid-template-columns: 190px 150px 1fr; grid-template-areas: "qui etat barre" "qui etat txt"; gap: 2px 12px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--creme-3); }
.agenda-qui { grid-area: qui; display: flex; align-items: center; gap: 10px; min-width: 0; color: var(--encre); font-weight: 700; }
.agenda-qui img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; border: 2px solid var(--or); background: var(--sarc); flex-shrink: 0; }
.agenda-qui span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.agenda-rang .plaque { grid-area: etat; justify-self: start; }
.agenda-barre { grid-area: barre; width: 100%; height: 24px; display: block; }
.agenda-txt { grid-area: txt; margin: 0; font-size: 14px; color: var(--gris); }

/* ---------- textes éditoriaux ---------- */
.texte h2 { margin-top: 1.4em; }
.texte h2:first-child { margin-top: 0; }
.etapes { padding-left: 1.3em; }
.etapes li { margin-bottom: 8px; }
.signes { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; margin: 12px 0 8px; }
.signe { background: var(--creme); border-radius: var(--r); padding: 16px; border-top: 4px solid var(--sarc); }
.signe-titre { font: 700 1.08rem var(--titre); margin-bottom: 6px; }
.signe p:last-child { margin: 0; font-size: 15px; }
.grille-prix, .semaine { width: 100%; border-collapse: collapse; margin: 12px 0 16px; font-size: 16px; }
.grille-prix caption, .semaine caption { text-align: left; font-size: 14px; color: var(--gris); padding-bottom: 6px; }
.grille-prix th, .grille-prix td, .semaine th, .semaine td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--creme-3); vertical-align: top; }
.grille-prix thead th, .semaine thead th { background: var(--encre); color: var(--creme); font-size: 15px; }
.semaine-vide { color: var(--gris); }
.tarifs-cb { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 6px 20px; }
.tarifs-cb li { display: flex; justify-content: space-between; gap: 10px; border-bottom: 1px dotted var(--creme-3); padding: 4px 0; }
.ses-mots { margin: 0; padding: 12px 18px; border-left: 4px solid var(--rose); background: var(--creme); border-radius: 0 var(--r) var(--r) 0; font-style: italic; }
.legal h2 { font-size: 1.3rem; }
.plan { columns: 1; padding-left: 1.2em; }

/* ---------- fiche d'une voyante ---------- */
.loge-scene { background: var(--encre); color: var(--creme); padding: 28px 0 32px; }
.loge-scene-int { display: grid; grid-template-columns: 280px 1fr; gap: 32px; align-items: center; }
.loge-grand { background: var(--papier); border: 2px solid var(--or); border-radius: 150px 150px 14px 14px; padding: 20px 20px 26px; display: flex; flex-direction: column; align-items: center; }
.loge-miroir-grand { width: 220px; height: 220px; }
.loge-infos h1 { color: #fff; }
.loge-infos .loge-detail { color: var(--creme-3); display: inline; font-size: 15px; }
.loge-infos .loge-arts { min-height: 0; -webkit-line-clamp: 3; color: var(--creme); }
.loge-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0 10px; }
.btn-appel-grand { flex-direction: column; min-height: 56px; padding: 6px 22px; line-height: 1.2; }
.btn-num { font-size: 1.15rem; }
.btn-sous { font-size: 13px; font-weight: 600; }
.btn-alerte-grand { min-height: 56px; padding: 6px 20px; border-color: var(--or); color: var(--or-clair); font-size: 15px; }
.btn-alerte-grand[aria-pressed="true"] { background: var(--or); color: var(--encre); }
.loge-note { font-size: 14px; color: var(--creme-3); margin: 0; }
.alerte-message { font-size: 14px; margin: 8px 0 0; padding: 8px 12px; border-radius: 8px; background: var(--creme); color: var(--encre); }

/* ---------- tarot ---------- */
.entete-tarot { background: var(--encre); color: var(--creme); padding-bottom: 20px; }
.entete-tarot h1 { color: #fff; }
.tarot-bloc { padding-top: 24px; }
.tarot-choix { display: grid; gap: 14px; margin-bottom: 20px; }
.choix-groupe { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.choix-groupe legend { font-weight: 700; margin-bottom: 8px; padding: 0; }
.choix { flex: 1 1 200px; position: relative; }
.choix-pastille { position: relative; }
.choix input, .choix-pastille input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choix span { display: block; height: 100%; border: 2px solid var(--creme-3); border-radius: var(--r); padding: 10px 14px; font-size: 15px; background: #fff; cursor: pointer; }
.choix input:checked + span { border-color: var(--encre); background: var(--creme); box-shadow: inset 0 0 0 1px var(--encre); }
.choix input:focus-visible + span, .choix-pastille input:focus-visible + span { outline: 3px solid var(--or); outline-offset: 2px; }
.choix-pastille span { display: inline-flex; align-items: center; min-height: 40px; border: 2px solid var(--encre); border-radius: 999px; padding: 6px 14px; font-size: 15px; font-weight: 600; cursor: pointer; white-space: nowrap; }
.choix-pastille input:checked + span { background: var(--encre); color: var(--or-clair); }
.choix-question { margin: 0; }
.choix-question label { display: block; font-size: 15px; font-weight: 600; margin-bottom: 4px; }
.choix-question input, .champ input[type="text"] { width: 100%; max-width: 560px; padding: 10px 12px; border: 2px solid var(--creme-3); border-radius: 8px; background: #fff; }
.btn-rideau { justify-self: start; min-height: 50px; padding: 10px 26px; background: var(--terra-f); color: #fff; font-weight: 800; border: 0; border-radius: 999px; white-space: nowrap; }
.btn-rideau:hover { background: var(--encre); }
.plateau { position: relative; overflow: hidden; background: radial-gradient(ellipse at 50% 0, #4b1f6b 0, var(--encre) 70%); border-radius: 16px; padding: 28px 16px 24px; min-height: 300px; border-bottom: 10px solid #6b3f1c; }
.plateau-rideaux span { position: absolute; top: 0; bottom: 0; width: 51%; z-index: 3; background: repeating-linear-gradient(90deg, #8d1450 0 18px, #b81d62 18px 34px); transition: transform 1.1s cubic-bezier(.6, .05, .3, 1); }
.rideau-g { left: 0; }
.rideau-d { right: 0; }
.plateau.leve .rideau-g { transform: translateX(-100%); }
.plateau.leve .rideau-d { transform: translateX(100%); }
.plateau-cartes { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; }
.emplacement { width: 150px; perspective: 900px; text-align: center; }
.emplacement-titre { color: var(--or-clair); font-size: 14px; font-weight: 700; margin: 8px 0 0; }
.volte { position: relative; transform-style: preserve-3d; transition: transform .8s; aspect-ratio: 200 / 340; }
.volte.tournee { transform: rotateY(180deg); }
.volte svg { position: absolute; inset: 0; width: 100%; height: 100%; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.volte .face { transform: rotateY(180deg); }
.plateau-invite { position: relative; z-index: 4; text-align: center; color: var(--creme); margin: 12px 0 0; }
.plateau.leve .plateau-invite { display: none; }
.lecture { margin-top: 22px; }
.lecture-carte { display: grid; grid-template-columns: 110px 1fr; gap: 18px; padding: 16px 0; border-bottom: 1px solid var(--creme-3); }
.lecture-carte svg { width: 110px; height: auto; }
.lecture-pos { text-transform: uppercase; letter-spacing: .1em; font-size: 13px; font-weight: 800; color: var(--terra-f); margin-bottom: 2px; }
.lecture-nom { font: 700 1.3rem var(--titre); margin-bottom: 4px; }
.lecture-scene { font-style: italic; color: var(--gris); margin-bottom: 8px; }
.lecture-synthese { background: var(--creme-2); border-radius: var(--r); padding: 16px 18px; margin-top: 18px; border-left: 5px solid var(--sarc); }
.lecture-question { font-style: italic; }
.btn-sobre { background: transparent; border: 2px solid var(--encre); color: var(--encre); border-radius: 999px; padding: 8px 18px; font-weight: 700; min-height: 44px; }
.galerie { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 16px; align-items: start; }
.arcane summary { list-style: none; cursor: pointer; text-align: center; }
.arcane summary::-webkit-details-marker { display: none; }
.arcane-image { display: block; }
.arcane-image svg { width: 100%; height: auto; display: block; }
.arcane-nom { display: block; font-weight: 700; margin-top: 6px; font-size: 15px; }
.arcane-scene { display: block; font-size: 14px; color: var(--gris); font-style: italic; }
.arcane[open] { grid-column: 1 / -1; display: grid; }
.arcane[open] summary { display: grid; grid-template-columns: 150px 1fr; gap: 4px 18px; text-align: left; align-items: start; }
.arcane[open] .arcane-image { grid-row: span 3; }
.arcane-texte { margin-top: 10px; max-width: 760px; }

/* ---------- produit et commande ---------- */
.entete-produit { background: var(--encre); color: var(--creme); padding: 36px 0; }
.produit { display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px; align-items: center; }
.entete-produit h1 { color: #fff; }
.prix-produit { display: flex; align-items: baseline; flex-wrap: wrap; gap: 10px; }
.prix-montant { font: 700 2.2rem var(--titre); color: var(--or-clair); white-space: nowrap; }
.bloc-commande .bloc-int { max-width: 720px; }
.commande { background: var(--creme); border-radius: 14px; padding: 22px; border: 1px solid var(--creme-3); }
.champ { margin: 0 0 16px; border: 0; padding: 0; }
.champ label, .champ legend { display: block; font-weight: 700; margin-bottom: 6px; }
fieldset.champ { display: flex; flex-wrap: wrap; gap: 8px; }
fieldset.champ legend { width: 100%; }
fieldset.champ .choix-pastille span { white-space: normal; }
.case { margin: 0 0 12px; }
.case label { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; }
.case input { width: 22px; height: 22px; flex-shrink: 0; margin-top: 2px; }
.champ-erreur input[type="text"] { border-color: var(--terra-f); }
.erreur-champ { color: var(--terra-f); font-size: 14px; font-weight: 700; margin: 4px 0 0; }
.erreur-generale { background: #fbe1ee; border: 2px solid var(--terra-f); border-radius: 8px; padding: 12px 14px; font-weight: 700; }
.info-generale { background: var(--creme-2); border-radius: 8px; padding: 12px 14px; }
.piege { position: absolute; left: -9999px; }
.btn-payer { width: 100%; min-height: 52px; background: var(--sarc); color: #fff; font-weight: 800; border: 0; border-radius: 999px; padding: 10px 18px; margin-top: 6px; }
.btn-payer:disabled { background: #8a8f8f; cursor: not-allowed; }
.mention-paiement { font-size: 14px; color: var(--gris); margin-top: 10px; }
.btn-pdf { margin: 8px 0 16px; }
.mes-alertes-liste { list-style: none; padding: 0; }
.mes-alertes-liste li { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--creme-3); }

/* ---------- plancher (pied) ---------- */
.plancher { background: var(--encre); color: var(--creme); border-top: 3px solid var(--or); padding: 36px 0 24px; margin-top: 24px; }
.plancher-int { max-width: 1120px; margin: 0 auto; padding: 0 16px; display: grid; grid-template-columns: 1fr 1.3fr; gap: 30px; }
.plancher a { color: var(--creme); }
.plancher-marque { display: flex; align-items: center; gap: 8px; font: 700 1.4rem var(--titre); color: var(--or-clair); }
.plancher-lampe { width: 28px; height: 28px; }
.plancher-cb { margin-top: 12px; font-size: 15px; }
.plancher-liens { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; }
.plancher-liens ul { list-style: none; padding: 0; margin: 0; }
.plancher-liens li { margin-bottom: 8px; font-size: 15px; }

/* ---------- réactivité ---------- */
@media (max-width: 1100px) {
  .rampe-nav a { padding: 8px 7px; font-size: 14px; }
}
@media (max-width: 980px) {
  .rampe-nav { display: none; }
  .programme-btn { display: inline-block; }
  .scene-int { grid-template-columns: 1fr; }
  .scene-visuel { order: -1; }
  .agenda-axe { margin-left: 0; }
  .agenda-rang { grid-template-columns: 1fr auto; grid-template-areas: "qui etat" "barre barre" "txt txt"; }
}
@media (max-width: 760px) {
  body { font-size: 16px; padding-bottom: 70px; }
  .deux-col, .deux-lignes, .plancher-int, .produit, .loge-scene-int, .scene-int { grid-template-columns: minmax(0, 1fr); }
  .affiche { grid-template-columns: minmax(0, 1fr); }
          .loge-grand { max-width: 280px; margin: 0 auto; }
  .barre-appel { display: grid; grid-template-columns: 1.1fr 1fr; gap: 6px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; padding: 6px; background: var(--encre); border-top: 2px solid var(--or); }
  .barre-appel a { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 52px; border-radius: 10px; text-decoration: none; line-height: 1.15; }
  .barre-audio { background: linear-gradient(180deg, #c91d66, #9a1352); color: #fff; }
  .barre-cb { background: linear-gradient(180deg, #3d2386, #26103a); color: #fff; border: 1px solid var(--or-clair); }
  .barre-appel a:hover { color: #fff; }
  .barre-num { font-weight: 800; font-size: 16px; white-space: nowrap; }
  .barre-prix { font-size: 13px; white-space: nowrap; }
  .billets { bottom: 76px; }
  .programme.ouvert ~ * .barre-appel { display: none; }
  .lecture-carte { grid-template-columns: 80px 1fr; }
  .lecture-carte svg { width: 80px; }
  .arcane[open] summary { grid-template-columns: 110px 1fr; }
  .grille-prix thead { display: none; }
  .grille-prix, .grille-prix tbody, .grille-prix tr, .grille-prix td { display: block; width: 100%; }
  .grille-prix tr { border-bottom: 1px solid var(--creme-3); padding: 8px 0; }
  .grille-prix td { border: 0; padding: 2px 0; }
  .grille-prix td::before { content: attr(data-l) " : "; font-weight: 700; }
}
@media (max-width: 480px) {
  .rampe-int { gap: 8px; padding: 6px 12px; }
  .enseigne { font-size: 1.25rem; }
  .enseigne-lampe { width: 26px; height: 26px; }
  .rampe-num { display: none; }
  .couloir-texte { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); }
  .couloir-nb { display: inline-flex; align-items: center; justify-content: center; min-width: 26px; height: 26px; padding: 0 6px; border-radius: 13px; background: var(--or); color: var(--encre); font-weight: 800; font-size: 14px; }
  .couloir-faces img:nth-child(n+3) { display: none; }
  .loges-grille { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
  .loge { border-radius: 90px 90px 10px 10px; padding: 12px 10px; }
  .loge-miroir { width: 104px; height: 104px; }
  .btn-alerte-txt { font-size: 13px; }
  .emplacement { width: 128px; }
  .sva-grand .sva-num { font-size: 1.2rem; padding: 6px 10px; }
}
@media (max-width: 400px) {
  .ligne-carte .sva { flex-direction: column; }
  .ligne-carte .sva-prix { justify-content: center; }
  .ligne-carte .sva-prix br { display: none; }
  .ligne-carte .sva-prix::after { content: ""; }
}
@media (max-width: 374px) {
  .sva-grand .sva-num { font-size: 1.05rem; padding: 5px 8px; }
  .sva-num { font-size: 1rem; padding: 4px 7px; }
  .sva-prix { padding: 3px 6px; }
}
@media (max-width: 359px) {
  .loges-grille { grid-template-columns: 1fr; }
  .couloir-faces { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
body.menu-ouvert { overflow: hidden; }
body.menu-ouvert .barre-appel, body.menu-ouvert .billets { display: none; }

/* ================= v2 : composants visuels ================= */
/* fil d'Ariane en bande (sombre au-dessus des en-têtes sombres) */
.fil-bande { background: transparent; }
.p-tarot .fil-bande, .p-douze-mois .fil-bande, .p-loge .fil-bande, .p-sombre .fil-bande { background: var(--encre); }
.p-tarot .fil-bande .fil, .p-douze-mois .fil-bande .fil, .p-loge .fil-bande .fil, .p-sombre .fil-bande .fil { color: var(--creme-3); padding-top: 12px; }
.p-tarot .fil a, .p-douze-mois .fil a, .p-loge .fil a, .p-sombre .fil a { color: var(--creme-3); }
.p-tarot .fil li + li::before, .p-douze-mois .fil li + li::before, .p-loge .fil li + li::before, .p-sombre .fil li + li::before { color: var(--or); }

/* en-têtes éditoriaux : rayons art déco discrets */
.entete-page { position: relative; overflow: hidden; }
.entete-page::after { content: ""; position: absolute; right: -60px; top: -40px; width: 320px; height: 320px; pointer-events: none; opacity: .5;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200' fill='none' stroke='%23d9a441' stroke-width='1.2'%3E%3Ccircle cx='100' cy='100' r='30'/%3E%3Ccircle cx='100' cy='100' r='52'/%3E%3Cpath d='M100 0V48M100 152V200M0 100H48M152 100H200M29 29L63 63M137 137L171 171M171 29L137 63M63 137L29 171'/%3E%3C/svg%3E") no-repeat center / contain; }
.entete-tarot::after, .entete-produit::after { opacity: .25; }
.entete-page .bloc-int { position: relative; z-index: 1; }
.texte h2 { position: relative; padding-top: 18px; }
.texte h2::before { content: ""; position: absolute; left: 0; top: 0; width: 44px; height: 3px; background: linear-gradient(90deg, var(--or) 0 60%, transparent 60% 70%, var(--terra) 70%); border-radius: 2px; }

/* bandeau des loges */
.bandeau-loges { background: var(--encre); color: var(--creme); margin: 8px 0 0; }
.bandeau-int { max-width: 1120px; margin: 0 auto; padding: 10px 16px; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.bandeau-faces img { width: 40px; height: 40px; }
.bandeau-texte { margin: 0; display: flex; align-items: center; gap: 8px; font-weight: 600; min-width: 0; }
.bandeau-lampe { width: 12px; height: 12px; border-radius: 50%; background: var(--or-clair); box-shadow: 0 0 0 4px rgba(246, 217, 142, .25); flex-shrink: 0; }
.bandeau-heure { font-weight: 400; color: var(--creme-3); font-size: 14px; white-space: nowrap; }
.bandeau-lien { margin-left: auto; color: var(--encre); background: var(--or); border-radius: 999px; padding: 8px 16px; font-weight: 800; text-decoration: none; white-space: nowrap; }
.bandeau-lien:hover { background: var(--or-clair); color: var(--encre); }
.bandeau-loges + .deux-mots { margin-top: 16px; }

/* chiffres clés */
.chiffres { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; margin: 18px 0 8px; }
.chiffre { background: var(--encre); color: var(--creme); border-radius: var(--r); padding: 16px 18px; border-bottom: 4px solid var(--or); }
.chiffre-val { font: 700 1.6rem/1.1 var(--titre); color: var(--or-clair); margin-bottom: 6px; white-space: nowrap; }
.chiffre p:last-child { margin: 0; font-size: 15px; }

/* frise des étapes */
.frise { list-style: none; margin: 16px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; }
.frise-etape { display: flex; gap: 14px; align-items: flex-start; background: var(--creme); border-radius: var(--r); padding: 16px; border: 1px solid var(--creme-3); }
.frise-icone { flex-shrink: 0; width: 48px; height: 48px; border-radius: 50%; background: var(--sarc); color: #fff; display: flex; align-items: center; justify-content: center; }
.frise-icone svg { width: 26px; height: 26px; }
.frise-titre { font: 700 1.1rem var(--titre); margin-bottom: 4px; }
.frise-num { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 50%; background: var(--or); color: var(--encre); font: 800 13px var(--texte); vertical-align: 2px; }
.frise-etape p:last-child { margin: 0; font-size: 15px; }

/* trois temps (accueil) */
.trois-temps { list-style: none; padding: 0; margin: 12px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; counter-reset: t; }
.trois-temps li { position: relative; background: var(--creme); border-radius: 110px 110px 12px 12px; padding: 30px 18px 18px; text-align: center; border: 2px solid var(--encre); }
.temps-num { display: inline-flex; width: 44px; height: 44px; border-radius: 50%; align-items: center; justify-content: center; background: var(--encre); color: var(--or-clair); font: 700 1.3rem var(--titre); margin-bottom: 8px; }
.temps-titre { font: 700 1.15rem var(--titre); margin-bottom: 6px; }
.trois-temps li p:last-child { margin: 0; font-size: 15px; }
.apercu-lames { display: flex; gap: 14px; margin-top: 10px; }
.apercu-lame { flex: 1 1 0; min-width: 0; text-align: center; text-decoration: none; color: var(--creme); font-size: 14px; font-weight: 600; }
.bloc:not(.bloc-sombre) .apercu-lame { color: var(--encre); }
.apercu-lame svg { width: 100%; max-width: 120px; height: auto; display: block; margin: 0 auto 6px; transition: transform .2s; }
.apercu-lame:hover svg { transform: translateY(-4px); }

/* signes (choisir) */
.signe { position: relative; }
.signe-icone { width: 34px; height: 34px; color: var(--sarc); margin-bottom: 8px; display: block; }

/* pays */
.pays { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; margin: 14px 0; }
.pays-carte { background: var(--creme); border-radius: var(--r); padding: 16px; border-top: 4px solid var(--sarc); }
.pays-nom { font: 700 1.15rem var(--titre); margin-bottom: 8px; }
.pays-carte .num-cb { font-size: 1.05rem; }
.pays-carte p:last-child { margin: 10px 0 0; font-size: 15px; }

/* page d'un arcane */
.arcane-scene-page { background: var(--encre); color: var(--creme); padding: 18px 0 34px; }
.arcane-tete { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 36px; align-items: center; }
.arcane-grande svg { width: 100%; height: auto; display: block; filter: drop-shadow(0 14px 24px rgba(0, 0, 0, .45)); }
.arcane-infos h1 { color: #fff; }
.arcane-sous { font: italic 1.25rem var(--titre); color: var(--or-clair); margin-bottom: 12px; }
.etiquettes { list-style: none; padding: 0; margin: 0 0 16px; display: flex; flex-wrap: wrap; gap: 8px; }
.etiquettes li { border: 1px solid var(--or); color: var(--creme); border-radius: 999px; padding: 4px 12px; font-size: 14px; }
.arcane-fiche { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 18px; }
.arcane-fiche div { background: var(--encre-2); border-radius: 8px; padding: 8px 14px; min-width: 120px; }
.arcane-fiche dt { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--creme-3); }
.arcane-fiche dd { margin: 2px 0 0; font-weight: 700; }
.deux-cadres { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; margin: 16px 0 8px; }
.cadre { border-radius: var(--r); padding: 16px 18px; background: var(--creme); border-left: 5px solid var(--rose); }
.cadre-travail { border-left-color: var(--sarc); }
.cadre h3 { margin-bottom: 6px; }
.cadre p { margin: 0; }
.reponse-badge { display: inline-block; font: 800 14px var(--texte); padding: 5px 12px; border-radius: 999px; background: var(--creme-3); color: var(--encre); white-space: nowrap; margin-right: 4px; }
.reponse-oui { background: var(--sarc); color: #fff; }
.reponse-non { background: var(--terra-f); color: #fff; }
.positions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 12px 0 8px; }
.position { background: #fff; border: 1px solid var(--creme-3); border-radius: var(--r); padding: 14px 16px; }
.position-titre { font-weight: 800; font-size: 14px; text-transform: uppercase; letter-spacing: .06em; color: var(--terra-f); margin-bottom: 6px; }
.position p:last-child { margin: 0; font-size: 15px; }
.cle-mois { background: var(--creme-2); border-radius: 8px; padding: 10px 14px; }
.conseil-lame { margin: 22px 0 0; background: var(--encre); color: var(--creme); border-radius: var(--r); padding: 18px 20px; border-left: 5px solid var(--or); }
.conseil-titre { font: 700 1.1rem var(--titre); color: var(--or-clair); margin-bottom: 6px; }
.conseil-lame p:last-child { margin: 0; }
.voisins { display: flex; justify-content: space-between; gap: 16px; }
.voisin { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--encre); font-weight: 700; min-width: 0; }
.voisin-suivant { text-align: right; }
.voisin-lame { width: 64px; height: auto; flex-shrink: 0; }
.voisin-sens { display: block; font-size: 13px; font-weight: 600; color: var(--gris); text-transform: uppercase; letter-spacing: .06em; }
.arcanes-voisins { padding-top: 8px; }

/* galerie des arcanes en liens */
a.arcane { display: block; text-align: center; text-decoration: none; color: var(--encre); }
a.arcane svg { transition: transform .2s; }
a.arcane:hover svg { transform: translateY(-4px); }
.lecture-lien { display: inline-block; margin-top: 4px; font-weight: 700; font-size: 15px; }
.lecture-reponse .reponse-badge { background: var(--sarc); color: #fff; }

@media (max-width: 760px) {
  .trois-temps { grid-template-columns: minmax(0, 1fr); }
  .arcane-tete { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; gap: 18px; }
  .arcane-grande { width: 190px; }
  .etiquettes, .arcane-fiche { justify-content: center; }
  .deux-cadres { grid-template-columns: minmax(0, 1fr); }
  .frise { grid-template-columns: minmax(0, 1fr); }
  .bandeau-lien { margin-left: 0; }
  .entete-page::after { width: 200px; height: 200px; right: -70px; top: -50px; opacity: .3; }
}
@media (max-width: 480px) {
  .voisin-lame { width: 48px; }
  .voisins { flex-direction: column; }
  .voisin-suivant { justify-content: flex-end; }
  .chiffre-val { font-size: 1.35rem; }
}

/* ================= effets des loges : donner envie d'ouvrir la porte ================= */
.loge { transition: transform .25s cubic-bezier(.2, .8, .3, 1), box-shadow .25s; cursor: pointer; }
/* toute la carte mène à la loge, les boutons restent cliquables par-dessus */
.loge-nom a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: 1; }
.loge .loge-pied, .loge .loge-miroir { position: relative; z-index: 2; }
.loge-miroir { transition: box-shadow .3s; }
.loge-miroir img { transition: transform .45s cubic-bezier(.2, .8, .3, 1); }
/* halo doré derrière la carte, animé uniquement en opacité */
.loge::before { content: ""; position: absolute; inset: -2px; border-radius: inherit; box-shadow: 0 0 0 3px var(--or), 0 18px 34px rgba(38, 16, 58, .28); opacity: 0; transition: opacity .25s; pointer-events: none; }
/* invitation qui apparaît au survol */
.loge-invite { display: none; max-width: calc(100% - 20px); overflow: hidden; text-overflow: ellipsis; position: absolute; left: 50%; top: 118px; transform: translate(-50%, 6px); z-index: 3; background: var(--encre); color: var(--or-clair); font: 700 13px var(--texte); padding: 5px 12px; border-radius: 999px; white-space: nowrap; opacity: 0; transition: opacity .2s, transform .25s; pointer-events: none; }
@media (hover: hover) and (min-width: 600px) { .loge-invite { display: block; } }
@media (hover: hover) {
  .loge:hover { transform: translateY(-6px); }
  .loge:hover::before { opacity: 1; }
  .loge:hover .loge-miroir img { transform: scale(1.08); }
  .loge:hover .loge-miroir { box-shadow: 0 0 0 4px rgba(224, 180, 84, .35); }
  .loge:hover .loge-invite { opacity: 1; transform: translate(-50%, 0); }
  .loge--fil:hover .loge-rideau { opacity: .7; }
  .loge--allumee:hover .loge-lampe::after { opacity: 1; animation: none; }
}
.loge:focus-within::before { opacity: 1; }
.loge:active { transform: translateY(-2px) scale(.99); }
/* les loges allumées respirent : un liseré doré qui pulse (opacité seulement) */
.loge--allumee::after { content: ""; position: absolute; inset: 3px; border-radius: inherit; border: 2px solid var(--or-clair); opacity: 0; animation: souffle 3.2s ease-in-out infinite; pointer-events: none; }
.pause-anim.loge--allumee::after { animation-play-state: paused; }
@keyframes souffle { 0%, 100% { opacity: 0; } 50% { opacity: .9; } }
/* apparition douce à l'entrée dans l'écran */
.loge.a-venir { opacity: 0; transform: translateY(14px); }
.loge.venue { opacity: 1; transform: none; transition: opacity .5s ease-out, transform .5s ease-out; }
@media (max-width: 480px) { .loge-invite { top: 92px; } }
@media (prefers-reduced-motion: reduce) {
  .loge, .loge:hover, .loge.a-venir { transform: none !important; opacity: 1 !important; }
}
.arcane-appel { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.arcane-appel > div:first-child { flex: 1 1 280px; }
.arcane-appel p { margin: 0; }

/* ---------- visuels d'ambiance, page proximité ---------- */
.visuel { margin: 0; border-radius: 16px; overflow: hidden; border: 2px solid rgba(246, 217, 142, .55); box-shadow: 0 14px 36px rgba(38, 16, 58, .35), 0 0 40px rgba(214, 36, 110, .2); }
.visuel img { display: block; width: 100%; height: auto; }
.entete-duo { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 28px; align-items: center; }
.appel-illustre { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.6fr); gap: 28px; align-items: center; }
.grille-arcanes td:first-child { white-space: nowrap; }
@media (max-width: 900px) {
  .entete-duo, .appel-illustre { grid-template-columns: minmax(0, 1fr); }
  .entete-duo .visuel, .appel-illustre .visuel { max-width: 440px; }
}
@media (max-width: 760px) {
  .grille-arcanes td:first-child { white-space: normal; }
}
@media (max-width: 900px) {
  .appel-illustre .visuel { order: 2; }
}
@media (min-width: 901px) and (max-width: 1180px) {
  .appel-illustre .deux-lignes { grid-template-columns: minmax(0, 1fr); }
}
.loge-pied .btn-appel { flex-direction: column; line-height: 1.15; padding: 6px 12px; }
.loge-pied .btn-appel .btn-num { font-size: 1.05rem; }
.loge-pied .btn-appel .btn-sous { font-size: 13px; font-weight: 600; white-space: normal; text-align: center; }
/* visuel du document (v5) */
.affiche-visuel { display: block; border-radius: 12px; overflow: hidden; border: 2px solid rgba(246, 217, 142, .6); box-shadow: 0 10px 30px rgba(38, 16, 58, .35); }
.affiche-visuel img, .produit-visuel img { display: block; width: 100%; height: auto; }
.produit-visuel { margin: 0; border-radius: 16px; overflow: hidden; border: 2px solid rgba(246, 217, 142, .6); box-shadow: 0 14px 36px rgba(38, 16, 58, .35), 0 0 40px rgba(214, 36, 110, .2); max-width: 460px; justify-self: center; width: 100%; }
@media (max-width: 760px) {
  .affiche-visuel { max-width: 420px; }
  .produit-visuel { max-width: 420px; }
}
.bloc-sombre .loges-vide { color: var(--creme); }
.bloc-sombre .loges-vide a { color: var(--or-clair); }
/* mise en avant de Mes 12 mois (v6) */
.rampe-nav a.nav-produit { color: var(--or-clair); font-weight: 700; }
.programme-tuiles a.tuile-produit { flex-direction: column; align-items: flex-start; justify-content: center; border-color: var(--or); background: linear-gradient(180deg, #4b1f6b, var(--encre-2)); }
.tuile-prix { font-size: 13px; font-weight: 800; color: var(--or-clair); white-space: nowrap; }
.invite-douze { margin: 20px 0 12px; padding: 18px 20px; border-radius: 14px; background: linear-gradient(135deg, #4b1f6b, var(--encre)); color: var(--creme); border: 2px solid var(--or); }
.invite-douze-titre { font: 700 1.25rem var(--titre); color: var(--or-clair); margin-bottom: 6px; }
.lien-douze { padding: 12px 16px; border-left: 4px solid var(--or); background: var(--creme); border-radius: 0 10px 10px 0; }
