/* L’essence ciel : les pages. Silhouette couchée : le ciel en haut, le titre long posé bas. */

/* ── Le ciel peint (trois couches : jour, couchant, nuit ; seules leurs opacités bougent) ── */
.ciel-peint { position: relative; overflow: hidden; isolation: isolate; background: #9cc2e6; }
.ciel-peint .c-jour, .ciel-peint .c-couchant, .ciel-peint .c-nuit, .ciel-peint .c-etoiles { position: absolute; inset: 0; }
.c-jour { background: linear-gradient(180deg, #6fa3d6 0%, #a9cbea 55%, #dbe9f5 100%); }
.c-couchant { background: linear-gradient(180deg, #45507f 0%, #a0708a 45%, #f1b79a 78%, #f7d7b0 100%); opacity: 0; }
.c-nuit { background: linear-gradient(180deg, #070c22 0%, #0f1838 55%, #1c2853 100%); opacity: 0; }
.c-etoiles { opacity: 0; background-image:
  radial-gradient(1.4px 1.4px at 8% 14%, #fff 50%, transparent), radial-gradient(1px 1px at 18% 42%, #fffc 50%, transparent),
  radial-gradient(1.6px 1.6px at 27% 22%, #fff 50%, transparent), radial-gradient(1px 1px at 36% 66%, #fffb 50%, transparent),
  radial-gradient(1.2px 1.2px at 44% 9%, #fff 50%, transparent), radial-gradient(1px 1px at 53% 37%, #fffc 50%, transparent),
  radial-gradient(1.8px 1.8px at 61% 18%, #fff 50%, transparent), radial-gradient(1px 1px at 69% 58%, #fffa 50%, transparent),
  radial-gradient(1.3px 1.3px at 77% 29%, #fff 50%, transparent), radial-gradient(1px 1px at 86% 47%, #fffc 50%, transparent),
  radial-gradient(1.5px 1.5px at 93% 12%, #fff 50%, transparent), radial-gradient(1px 1px at 12% 78%, #fff9 50%, transparent),
  radial-gradient(1px 1px at 48% 84%, #fff9 50%, transparent), radial-gradient(1.2px 1.2px at 74% 82%, #fffb 50%, transparent),
  radial-gradient(1px 1px at 3% 52%, #fffb 50%, transparent), radial-gradient(1px 1px at 97% 66%, #fffb 50%, transparent); }
.filante { position: absolute; width: 90px; height: 2px; border-radius: 2px; pointer-events: none; z-index: 3; transform-origin: right center;
  background: linear-gradient(90deg, transparent, #fff8e0 70%, #fff); box-shadow: 0 0 8px #fff3c4; }

/* ── L’entrée : « l’essentiel » devient « l’essence ciel » ── */
.entree { display: none; }
.js.entree-joue .entree {
  display: grid; place-items: center; position: fixed; inset: 0; z-index: 90; cursor: pointer;
  background: linear-gradient(180deg, #7fb0de 0%, #b7d3ee 52%, #f3d3bd 100%);
}
.entree-mot { font-family: var(--titre); font-size: clamp(3rem, 11vw, 8.5rem); line-height: 1; color: var(--encre); white-space: nowrap; position: relative; margin: 0; max-width: none; }
.entree-mot span { display: inline-block; white-space: pre; }
.entree-mot .e-tiel-t, .entree-mot .e-ce, .entree-mot .e-c { will-change: transform, opacity; }
.entree-etoile { position: absolute; width: .2em; height: .2em; margin-left: -.1em; background: var(--couchant-fort); clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); }
.entree-dit { position: absolute; left: 0; right: 0; bottom: 22%; text-align: center; color: var(--encre-doux); margin: 0; max-width: none; opacity: 0; }
.entree-passer { position: absolute; bottom: 28px; left: 0; right: 0; text-align: center; color: var(--encre-doux); margin: 0; max-width: none; }
html.entree-joue body { overflow: hidden; }
html.entree-joue .ouverture .cascade > * { opacity: 0; transform: translateY(18px); }
.ouverture .cascade > * { transition: opacity .7s var(--ease-sortie), transform .7s var(--ease-sortie); transition-delay: calc(var(--c, 0) * 85ms); }

/* ── Le premier écran de l’accueil : le ciel en haut, le nom couché en bas ── */
.ouverture { position: relative; min-height: max(640px, 100svh); display: grid; grid-template-rows: 1fr auto; }
.ouverture-ciel { position: absolute; inset: 0 0 26% 0; overflow: hidden; }
.ouverture-ciel::after { content: ''; position: absolute; inset: 0; z-index: 2; background: linear-gradient(180deg, rgba(201, 220, 239, .45) 0, transparent 20%, transparent 50%, rgba(201, 220, 239, .55) 78%, var(--ciel) 100%); pointer-events: none; }
.diapo { list-style: none; margin: 0; padding: 0; position: absolute; inset: 0; }
.diapo-vue { position: absolute; inset: 0; transform: translateX(100%); transition: transform .9s var(--ease-diapo); }
.diapo-vue[data-actif] { transform: none; z-index: 1; }
.diapo-vue[data-sort] { transform: translateX(-30%); z-index: 0; }
.diapo-vue:first-child { transform: none; }
.js .diapo-vue:first-child:not([data-actif]) { transform: translateX(100%); }
.js .diapo-vue:first-child[data-sort] { transform: translateX(-30%); }
.diapo-vue img, .diapo-vue picture { width: 100%; height: 100%; object-fit: cover; }
.ouverture-bas { position: relative; z-index: 2; grid-row: 2; padding: 0 0 clamp(28px, 5vh, 56px); }
.ouverture h1 { font-size: clamp(3.6rem, 13.5vw, 12.5rem); line-height: .9; letter-spacing: -.01em; margin: 0 0 .18em -.04em; white-space: nowrap; }
.i-etoile-ancien { display: inline-block; width: .16em; height: .16em; vertical-align: .62em; margin-left: -.02em; background: var(--couchant-fort); clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); }
.ouverture-ligne { display: grid; grid-template-columns: 1fr auto; gap: 20px 40px; align-items: end; }
.ouverture-ligne p { font-size: clamp(1.05rem, 1.6vw, 1.25rem); margin: 0; }
.ouverture-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.diapo-pied { position: absolute; z-index: 3; right: var(--gouttiere); top: calc(var(--barre-h) + 18px); display: flex; align-items: center; gap: 12px; color: var(--linge); }
.diapo-legendes { list-style: none; margin: 0; padding: 0; position: relative; height: 1.5em; overflow: hidden; min-width: 250px; text-align: right; text-shadow: 0 1px 8px rgba(15, 24, 56, .55); }
.diapo-legendes li { position: absolute; right: 0; top: 0; white-space: nowrap; font-family: var(--outil); font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; transform: translateY(110%); opacity: 0; transition: transform .9s var(--ease-diapo), opacity .5s; }
.diapo-legendes li[data-actif] { transform: none; opacity: 1; }
.diapo-pause { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(251, 250, 246, .6); background: rgba(15, 24, 56, .25); color: var(--linge); display: grid; place-items: center; cursor: pointer; transition: transform 160ms var(--ease-sortie); }
.diapo-pause:active { transform: scale(.97); }
.diapo-pause .i-lecture { display: none; } .diapo-pause[aria-pressed='true'] .i-pause { display: none; } .diapo-pause[aria-pressed='true'] .i-lecture { display: block; }
@media (max-width: 767.98px) {
  .ouverture { min-height: max(600px, calc(100svh - var(--onglet-h))); }
  .ouverture-ciel { inset: 0 0 34% 0; }
  .ouverture-ligne { grid-template-columns: 1fr; }
  .diapo-pied { top: calc(var(--barre-h) + 12px); left: var(--gouttiere); }
  .diapo-legendes { min-width: 0; flex: 1; text-align: left; }
  .diapo-legendes { height: 3em; }
  .diapo-legendes li { left: 0; right: auto; white-space: normal; }
}

/* ── Sections communes ── */
.section { padding: clamp(72px, 11vw, 140px) 0; position: relative; }
.section-tete { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 64px; align-items: end; margin-bottom: clamp(36px, 5vw, 64px); }
.section-tete p { margin: 0; }
@media (max-width: 860px) { .section-tete { grid-template-columns: 1fr; } }
.nuit { background: var(--nuit); color: var(--ciel-pale); }
.nuit h2, .nuit h3 { color: var(--linge); }
.nuit .btn-clair { color: var(--linge); border-color: var(--linge); }
.pale { background: var(--ciel-pale); }
.note { font-size: .88rem; color: var(--encre-doux); }
.nuit .note { color: rgba(228, 238, 248, .7); }

/* La thèse */
.these-grille { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.these .photo { aspect-ratio: 4 / 5; }
@media (max-width: 860px) { .these-grille { grid-template-columns: 1fr; } .these .photo { aspect-ratio: 4 / 3; } }

/* Les heures du ciel (cartes de soins) */
.heures { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.heure { background: var(--linge); border-radius: 20px; overflow: hidden; display: flex; flex-direction: column; text-decoration: none; box-shadow: 0 1px 0 rgba(255, 255, 255, .8) inset, 0 18px 40px -24px rgba(19, 33, 63, .45); transition: transform 240ms var(--ease-sortie); }
.heure:active { transform: scale(.98); }
@media (hover: hover) and (pointer: fine) { .heure:hover { transform: translateY(-4px); } }
.heure .ciel-peint { height: 150px; }
.heure-corps { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.heure-corps h3 { font-size: 1.6rem; margin: 0; }
.heure-meta { display: flex; justify-content: space-between; gap: 10px; color: var(--encre-doux); margin-top: auto; padding-top: 14px; border-top: 1px solid var(--filet); }
.heure-meta b { font-family: var(--titre); font-weight: 400; font-size: 1.5rem; color: var(--encre); letter-spacing: 0; text-transform: none; }
.heure-quand { color: var(--couchant-fort); }
@media (max-width: 1080px) { .heures { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 767.98px) {
  .heures { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 78%; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px var(--gouttiere) 18px; margin: 0 calc(-1 * var(--gouttiere)); scrollbar-width: none; }
  .heure { scroll-snap-align: center; }
}

/* ── La voûte : le ciel tourne pendant le rituel étoilé (section collée, au défilement) ── */
.voute { height: 320vh; position: relative; background: var(--nuit); }
.voute-colle { position: sticky; top: 0; height: 100svh; overflow: hidden; }
.voute .ciel-peint { position: absolute; inset: 0; }
.voute-in { position: relative; z-index: 2; height: 100%; display: grid; grid-template-rows: auto 1fr auto; padding: calc(var(--barre-h) + 28px) 0 calc(var(--onglet-h) + 32px); }
.voute-tete { display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; }
.voute h2 { margin: 0; color: var(--encre); transition: color .4s; }
.voute[data-sombre] h2, .voute[data-sombre] .voute-tete p, .voute[data-sombre] .voute-etape { color: var(--linge); }
.voute-tete p { margin: 0; color: var(--encre-doux); transition: color .4s; }
.voute-carte { position: relative; margin: 12px 0; }
.voute-carte svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.voute-carte line { stroke: rgba(255, 244, 205, .75); stroke-width: 1.2; opacity: 0; transition: opacity .5s; vector-effect: non-scaling-stroke; }
.voute-carte line[data-on] { opacity: 1; }
.astre { position: absolute; width: 14px; height: 14px; margin: -7px 0 0 -7px; background: #fff7dc; clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); opacity: .2; transform: scale(.6); transition: opacity .45s var(--ease-sortie), transform .45s var(--ease-sortie); }
.astre[data-on] { opacity: 1; transform: scale(1.25); }
.astre-nom { position: absolute; transform: translate(-50%, 14px); white-space: nowrap; font-family: var(--outil); font-size: .64rem; letter-spacing: .06em; text-transform: uppercase; color: rgba(255, 247, 220, .0); transition: color .45s; }
.astre[data-on] + .astre-nom { color: rgba(255, 247, 220, .85); }
.voute:not([data-sombre]) .astre { background: var(--encre); }
.voute:not([data-sombre]) .astre[data-on] + .astre-nom { color: var(--encre); }
.voute:not([data-sombre]) .voute-carte line { stroke: rgba(19, 33, 63, .5); }
.voute-etape { display: flex; justify-content: space-between; gap: 16px; align-items: baseline; color: var(--encre); border-top: 1px solid currentColor; padding-top: 14px; }
.voute-etape b { font-family: var(--titre); font-weight: 400; font-size: clamp(1.6rem, 4vw, 2.6rem); line-height: 1.1; }
@media (max-width: 767.98px) { .astre-nom { display: none; } .voute { height: 280vh; } }

/* ── Le vœu (le geste ludique) ── */
.voeu { position: relative; min-height: 520px; display: grid; align-items: end; overflow: hidden; touch-action: manipulation; cursor: crosshair; user-select: none; }
.voeu .photo-fond { position: absolute; inset: 0; }
.voeu .photo-fond img { width: 100%; height: 100%; object-fit: cover; }
.voeu::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(15, 24, 56, .1), rgba(15, 24, 56, .85)); }
.voeu-texte { position: relative; z-index: 2; padding: 64px 0; color: var(--linge); }
.voeu-texte h2 { color: var(--linge); }
.voeu-compte { color: var(--or); }

/* Le lieu */
.lieu-grille { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: center; }
.lieu .photo { aspect-ratio: 16 / 9; }
@media (max-width: 860px) { .lieu-grille { grid-template-columns: 1fr; } }

/* Infos */
.infos-grille { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.info { background: rgba(251, 250, 246, .7); border-radius: 18px; padding: 26px; border: 1px solid rgba(255, 255, 255, .9); }
.info h3 { font-size: 1.5rem; }
.info p { font-size: .97rem; }
@media (max-width: 860px) { .infos-grille { grid-template-columns: 1fr; } }

/* ── En-tête des pages intérieures : le ciel haut, le titre couché en bas ── */
.page-tete { position: relative; min-height: clamp(380px, 62vh, 620px); display: grid; align-items: end; overflow: hidden; }
.page-tete .ciel-peint, .page-tete .photo-fond { position: absolute; inset: 0 0 0 0; }
.page-tete .photo-fond img { width: 100%; height: 100%; object-fit: cover; }
.page-tete::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, var(--ciel) 100%); }
.page-tete .wrap { position: relative; z-index: 2; padding-bottom: clamp(24px, 4vw, 48px); }
.page-tete h1 { font-size: clamp(3rem, 9vw, 7.5rem); line-height: .95; margin: 0 0 .2em; }
.page-tete p { font-size: 1.12rem; margin: 0; }

/* ── Sommaire collant (page métier, mentions) ── */
.avec-sommaire { display: grid; grid-template-columns: 240px 1fr; gap: clamp(28px, 5vw, 80px); align-items: start; }
.sommaire { position: sticky; top: calc(var(--barre-h) + 24px); }
.sommaire ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; border-left: 1px solid var(--filet-fort); }
.sommaire a { display: flex; align-items: center; min-height: 44px; padding-left: 18px; text-decoration: none; position: relative; color: var(--encre-doux); transition: color 200ms; }
.sommaire a::before { content: ''; position: absolute; left: -6px; width: 11px; height: 11px; background: var(--encre); clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); transform: scale(0.01); opacity: 0; transition: transform 240ms var(--ease-sortie), opacity 200ms; }
.sommaire a[aria-current='true'] { color: var(--encre); font-weight: 600; }
.sommaire a[aria-current='true']::before { transform: none; opacity: 1; }
@media (max-width: 860px) {
  .avec-sommaire { grid-template-columns: 1fr; }
  .sommaire { top: var(--barre-h); z-index: 5; margin: 0 calc(-1 * var(--gouttiere)); background: rgba(228, 238, 248, .92); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid var(--filet); }
  .sommaire ol { display: flex; overflow-x: auto; border: 0; padding: 0 var(--gouttiere); gap: 6px; scrollbar-width: none; }
  .sommaire a { white-space: nowrap; padding: 0 12px; }
  .sommaire a::before { left: 50%; top: auto; bottom: 2px; margin-left: -5px; width: 9px; height: 9px; }
}
.rubrique { padding-bottom: clamp(48px, 7vw, 88px); }
.rubrique > h2 { font-size: clamp(2rem, 4.4vw, 3.2rem); }

/* Fiche d’un soin */
.soin { display: grid; grid-template-columns: 260px 1fr; gap: 0; background: var(--linge); border-radius: 22px; overflow: hidden; margin-bottom: 22px; box-shadow: 0 18px 50px -30px rgba(19, 33, 63, .5); }
.soin .ciel-peint { min-height: 220px; }
.soin-ciel-mot { position: absolute; z-index: 2; left: 18px; bottom: 16px; color: var(--linge); text-shadow: 0 1px 8px rgba(15, 24, 56, .5); }
.soin-corps { padding: clamp(22px, 3vw, 36px); }
.soin-corps h3 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin-bottom: .2em; }
.soin-meta { display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--encre-doux); margin-bottom: 16px; }
.soin-meta b { color: var(--encre); font-weight: 600; }
.soin-etapes { list-style: none; margin: 0 0 18px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.soin-etapes li { padding: 6px 12px 6px 26px; border-radius: 999px; background: var(--ciel-pale); font-size: .9rem; position: relative; }
.soin-etapes li::before { content: ''; position: absolute; left: 10px; top: 50%; width: 9px; height: 9px; margin-top: -4.5px; background: var(--encre-doux); clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); }
.soin dl { display: grid; grid-template-columns: max-content 1fr; gap: 6px 18px; margin: 0 0 20px; font-size: .97rem; }
.soin dt { font-family: var(--outil); font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; color: var(--encre-doux); padding-top: .25em; }
.soin dd { margin: 0; }
@media (max-width: 760px) { .soin { grid-template-columns: 1fr; } .soin .ciel-peint { min-height: 130px; } .soin dl { grid-template-columns: 1fr; gap: 2px; } .soin dd { margin-bottom: 8px; } }

/* ── Le planétaire (page du geste) ── */
.planetaire { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: stretch; }
.plan-ciel { border-radius: 26px; min-height: 460px; box-shadow: 0 30px 80px -40px rgba(15, 24, 56, .7); }
.plan-ciel .plan-heure { position: absolute; z-index: 2; left: 24px; top: 22px; color: var(--linge); text-shadow: 0 1px 10px rgba(15, 24, 56, .5); }
.plan-ciel .plan-titre { position: absolute; z-index: 2; left: 24px; bottom: 22px; right: 24px; margin: 0; font-family: var(--titre); font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1; color: var(--linge); text-shadow: 0 2px 16px rgba(15, 24, 56, .45); }
.plan-commandes { display: flex; flex-direction: column; gap: 18px; }
.plan-choix { display: grid; gap: 10px; border: 0; padding: 0; margin: 0; }
.plan-choix legend { margin-bottom: 8px; }
.plan-choix label { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; min-height: 56px; padding: 10px 16px; border-radius: 16px; background: var(--linge); cursor: pointer; border: 1px solid transparent; transition: border-color 200ms, transform 160ms var(--ease-sortie); }
.plan-choix label:active { transform: scale(.98); }
.plan-choix input { accent-color: var(--encre); width: 18px; height: 18px; }
.plan-choix label:has(input:checked) { border-color: var(--encre); }
.plan-choix .outil { color: var(--encre-doux); }
.plan-curseur label { display: flex; justify-content: space-between; margin-bottom: 6px; }
.plan-curseur input[type=range] { width: 100%; height: 44px; accent-color: var(--encre); }
.plan-etapes { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.plan-etapes li { padding: 5px 11px; border-radius: 999px; background: rgba(251, 250, 246, .55); font-size: .86rem; opacity: .45; transition: opacity 300ms, background-color 300ms; }
.plan-etapes li[data-on] { opacity: 1; background: var(--linge); }
@media (max-width: 860px) { .planetaire { grid-template-columns: 1fr; } .plan-ciel { min-height: 340px; } }

.bande-photos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.bande-photos figure { margin: 0; }
.bande-photos .photo { aspect-ratio: 3 / 4; }
@media (max-width: 860px) { .bande-photos { grid-template-columns: repeat(2, 1fr); } }

.mots-nom { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.mot-nom { padding: 26px; border-radius: 18px; background: var(--linge); }
.mot-nom b { display: block; font-family: var(--titre); font-weight: 400; font-size: 2.2rem; line-height: 1.1; margin-bottom: 8px; }
@media (max-width: 760px) { .mots-nom { grid-template-columns: 1fr; } }

/* ── La demande ── */
.demande-grille { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.billet { background: var(--linge); border-radius: 24px; padding: clamp(22px, 3.4vw, 40px); box-shadow: 0 30px 70px -40px rgba(19, 33, 63, .6); position: relative; overflow: hidden; }
.billet::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 8px; background: linear-gradient(90deg, #6fa3d6, #f1b79a, #0f1838); }
.champ { display: grid; gap: 6px; margin-bottom: 18px; }
.champ label, .champ legend { font-weight: 600; font-size: .95rem; }
.champ input, .champ select, .champ textarea { font: inherit; color: var(--encre); background: #fff; border: 1px solid var(--filet-fort); border-radius: 12px; min-height: 48px; padding: 10px 14px; width: 100%; }
.champ textarea { min-height: 110px; resize: vertical; }
.champ input:focus-visible, .champ select:focus-visible, .champ textarea:focus-visible { outline: 2px solid var(--encre); outline-offset: 1px; }
.moments { display: flex; flex-wrap: wrap; gap: 8px; border: 0; padding: 0; margin: 0 0 18px; }
.moments legend { margin-bottom: 8px; font-weight: 600; font-size: .95rem; }
.moments label { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 999px; background: var(--ciel-pale); cursor: pointer; border: 1px solid transparent; transition: transform 160ms var(--ease-sortie); }
.moments label:active { transform: scale(.97); }
.moments label:has(input:checked) { border-color: var(--encre); background: #fff; }
.prete { margin-top: 22px; padding: 20px; border-radius: 16px; background: var(--nuit); color: var(--ciel-pale); }
.prete[hidden] { display: none; }
.prete h2 { font-size: 1.8rem; color: var(--linge); }
.prete pre { white-space: pre-wrap; font: .95rem/1.55 var(--texte); background: #dcf8c6; color: #10291a; padding: 14px 16px; border-radius: 14px 14px 14px 4px; margin: 0 0 14px; }
.cote { display: grid; gap: 16px; }
.cote .info { background: var(--linge); }

/* ── Mentions ── */
.mentions h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
.mentions section { padding-bottom: 40px; }
.mentions ul { padding-left: 1.2em; }
.mentions li { margin-bottom: .5em; }

/* ── 404 ── */
.perdu { min-height: 80svh; display: grid; place-items: center; text-align: center; }
.perdu .ciel-peint { position: absolute; inset: 0; }
.perdu .wrap { position: relative; z-index: 2; color: var(--linge); }
.perdu h1 { font-size: clamp(3rem, 10vw, 7rem); color: var(--linge); }
.perdu p { margin-inline: auto; }

@media (prefers-reduced-motion: reduce) { .voute { height: auto; } .voute-colle { position: relative; height: auto; min-height: 100svh; } }

/* Le point du i est une étoile (marque et grand titre) */
.i-etoile { position: relative; display: inline-block; }
.i-etoile::after { content: ''; position: absolute; left: 50%; top: -.06em; width: .3em; height: .3em; margin-left: -.15em; background: var(--couchant-fort); clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); }
.barre-maison .i-etoile { line-height: 1; }
.barre-maison .i-etoile::after { top: .06em; width: .36em; height: .36em; margin-left: -.18em; background: var(--encre); }
.ouverture h1 .i-etoile::after { top: .02em; width: .2em; height: .2em; margin-left: -.1em; }
.avec-sommaire > *, .demande-grille > *, .planetaire > * { min-width: 0; }
@media (max-width: 860px) { .demande-grille { grid-template-columns: 1fr; } }
