/* Scriiibe Music · « Le Ciel du Scribe » */
:root {
  --nuit: #070b1e;
  --nuit-2: #0c1433;
  --lapis: #1b3a8c;
  --lapis-clair: #2f56b8;
  --or: #d9b45a;
  --or-vif: #f2c96b;
  --turquoise: #3ec6c0;
  --ocre: #c8783a;
  --texte: #ece6d6;
  --texte-doux: #b9b6c8;
  --papyrus: rgba(16, 26, 64, 0.72);
  --bord: rgba(217, 180, 90, 0.35);
  --titre: 'Cormorant SC', 'Cormorant Garamond', Georgia, serif;
  --corps: 'Jost', 'Segoe UI', system-ui, sans-serif;
  --hiero: 'Noto Sans Egyptian Hieroglyphs', 'Segoe UI Historic', serif;
  --rayon: 14px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  background: radial-gradient(ellipse at 50% -10%, #1a2d6e 0%, var(--nuit-2) 40%, var(--nuit) 80%) fixed, var(--nuit);
  color: var(--texte);
  font: 400 1.0625rem/1.65 var(--corps);
  -webkit-font-smoothing: antialiased;
  font-weight: 200;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; }
a { color: var(--or-vif); text-underline-offset: 3px; }
a:hover { color: #fff1c8; }
:focus-visible { outline: 2px solid var(--turquoise); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--titre); font-weight: 200; color: var(--or); letter-spacing: 0.1em; line-height: 1.2; }
h2 { font-size: 1.35rem; margin: 2rem 0 0.75rem; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.saut { position: absolute; left: -999px; top: 8px; background: var(--or); color: var(--nuit); padding: 8px 14px; z-index: 100; border-radius: 6px; }
.saut:focus { left: 8px; }
.glyphe, .frise, .passage { font-family: var(--hiero); }

#fond-etoiles { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.page-accueil #fond-etoiles { display: none; }

/* ---------- en-tête ---------- */
.entete {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; gap: 1rem;
  padding: 0.6rem 1rem;
  background: linear-gradient(180deg, rgba(7, 11, 30, 0.95), rgba(7, 11, 30, 0.75));
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--bord);
}
.marque { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; color: var(--or); font-family: var(--titre); font-weight: 500; font-size: 1.15rem; letter-spacing: 0.12em; text-transform: uppercase; }
.marque img { width: 34px; height: auto; }
.marque small { display: block; font-size: 0.6rem; letter-spacing: 0.5em; color: var(--texte-doux); }
.marque span { line-height: 1.05; }
#nav { margin-left: auto; }
#nav ul { list-style: none; display: flex; gap: 0.2rem; margin: 0; padding: 0; }
#nav a { display: block; padding: 0.45rem 0.7rem; color: var(--texte); text-decoration: none; font-family: var(--titre); font-size: 1rem; letter-spacing: 0.1em; border-radius: 8px; }
#nav a:hover, #nav a[aria-current] { color: var(--or-vif); background: rgba(217, 180, 90, 0.1); }
.outils { display: flex; gap: 0.4rem; align-items: center; }
.son, .langue, .burger {
  min-width: 40px; height: 40px; padding: 0 0.6rem;
  display: inline-grid; place-items: center;
  background: transparent; color: var(--or); border: 1px solid var(--bord); border-radius: 999px;
  font: 500 0.85rem var(--titre); text-decoration: none; cursor: pointer;
}
.son[aria-pressed="true"] { background: var(--or); color: var(--nuit); box-shadow: 0 0 18px rgba(242, 201, 107, 0.5); }
.burger { display: none; margin-left: auto; }

@media (max-width: 900px) {
  .burger { display: inline-grid; }
  #nav { position: absolute; top: 100%; left: 0; right: 0; margin: 0; background: rgba(7, 11, 30, 0.98); border-bottom: 1px solid var(--bord); display: none; }
  #nav.ouvert { display: block; }
  #nav ul { flex-direction: column; padding: 0.5rem 1rem 1rem; }
  #nav a { padding: 0.8rem 0.5rem; font-size: 1rem; }
  .outils { margin-left: 0; }
}

/* ---------- accueil : la voûte ---------- */
.ciel { position: relative; height: calc(100vh - 62px); height: calc(100svh - var(--haut-entete, 62px)); min-height: 460px; overflow: hidden; touch-action: none; cursor: grab; }
/* tant qu'on n'explore pas, le doigt peut faire défiler la page de haut en bas */
.ciel:not(.explore) { touch-action: pan-y; }
@media (max-width: 640px), (max-height: 760px) {
  .accueil-centre .cartouche { padding: 0.7rem 1.3rem; }
  .accueil-centre .cartouche::after { bottom: -12px; height: 4px; }
  .accueil-centre .cartouche img { width: 74px; }
  .accueil-centre .manifeste { margin: 1.3rem 0 0.6rem; font-size: 1rem; }
  .accueil-centre .credo-court { margin: 0 0 0.8rem; font-size: 0.86rem; }
  .accueil-centre .portes { gap: 0.6rem; }
  .accueil-centre .offerts-accueil, .accueil-centre .lien-cartouche { margin: 0.6rem 0 0; }
  .accueil-centre .porte { padding: 0.6rem 1.1rem; }
}
.ciel.glisse { cursor: grabbing; }
#voute { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.etiquettes { position: absolute; inset: 0; pointer-events: none; }
.etiquette {
  position: absolute; transform: translate(-50%, 0.9rem);
  pointer-events: auto; text-align: center; text-decoration: none;
  font-family: var(--titre); color: var(--c, var(--or)); font-weight: 500; font-size: 1rem; letter-spacing: 0.12em;
  text-shadow: 0 0 12px rgba(0, 0, 0, 0.9), 0 0 24px var(--nuit);
  padding: 0.3rem 0.6rem; border-radius: 8px; white-space: nowrap;
  transition: opacity 0.4s;
}
.etiquette small { display: block; font-family: var(--corps); font-weight: 400; font-size: 0.72rem; letter-spacing: 0.02em; color: var(--texte-doux); }
.etiquette:hover, .etiquette:focus-visible { background: rgba(7, 11, 30, 0.6); }
.etiquette.eteinte { color: #8592b3; font-size: 0.8rem; cursor: default; }
.accueil-centre {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: min(92vw, 520px); text-align: center; pointer-events: none;
  transition: opacity 0.8s, transform 0.8s;
}
.accueil-centre > * { pointer-events: auto; }
.ciel.explore .accueil-centre { opacity: 0; transform: translate(-50%, -40%); pointer-events: none; }
.ciel.explore .accueil-centre > * { pointer-events: none; }
.cartouche {
  display: inline-block; padding: 1.4rem 2.2rem;
  border: 3px double var(--or); border-radius: 999px;
  background: radial-gradient(circle, rgba(27, 58, 140, 0.55), rgba(7, 11, 30, 0.85));
  box-shadow: 0 0 60px rgba(217, 180, 90, 0.25), inset 0 0 30px rgba(217, 180, 90, 0.12);
  position: relative;
}
.cartouche::after { content: ''; position: absolute; left: 50%; bottom: -16px; width: 60%; height: 6px; transform: translateX(-50%); border-radius: 3px; background: var(--or); }
.cartouche img { width: clamp(96px, 22vw, 150px); display: block; }
.manifeste { font-family: var(--titre); font-size: clamp(1.05rem, 2.6vw, 1.35rem); color: var(--texte); margin: 2rem 0 1.4rem; text-shadow: 0 2px 12px var(--nuit); }
.portes { display: flex; flex-wrap: wrap; gap: 0.8rem; justify-content: center; }
.porte {
  display: inline-block; padding: 0.75rem 1.4rem; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--or); background: rgba(7, 11, 30, 0.6); color: var(--or-vif);
  font: 500 0.95rem var(--titre); letter-spacing: 0.08em; text-decoration: none;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}
.porte:hover { background: rgba(217, 180, 90, 0.15); color: #fff1c8; }
.porte-or { background: linear-gradient(180deg, var(--or-vif), var(--or)); color: var(--nuit); border-color: var(--or-vif); }
.porte-or:hover { color: var(--nuit); box-shadow: 0 0 24px rgba(242, 201, 107, 0.55); background: linear-gradient(180deg, #ffe3a0, var(--or-vif)); }
.aide-ciel { position: absolute; bottom: 0.8rem; left: 0; right: 0; margin: 0 auto; text-align: center; font-size: 0.85rem; color: var(--texte-doux); padding: 0 16px; pointer-events: none; opacity: 0; transition: opacity 0.6s; }
.ciel.explore .aide-ciel { opacity: 1; }
.legende-ciel { position: absolute; left: 16px; top: 0.8rem; margin: 0; font-size: 0.8rem; color: var(--texte-doux); opacity: 0.8; pointer-events: none; max-width: calc(100% - 32px); }
.legende-ciel[hidden] { display: none; }

/* le portail vers la Duat (porte cachée du labyrinthe de MEZEN) */
.portail {
  position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; pointer-events: all;
  background: radial-gradient(circle at var(--px) var(--py), #000 0%, #000 var(--trou, 0%), rgba(62, 198, 192, 0.55) calc(var(--trou, 0%) + 1.5%), rgba(4, 6, 14, 0.96) calc(var(--trou, 0%) + 9%));
  animation: portail 2.4s cubic-bezier(.6, 0, .4, 1) forwards;
}
.portail p { font-family: var(--titre); color: var(--turquoise); letter-spacing: 0.2em; font-size: clamp(1rem, 3vw, 1.5rem); text-shadow: 0 0 18px var(--turquoise); opacity: 0; animation: murmure 2.4s ease forwards; padding: 0 16px; text-align: center; }
@property --trou { syntax: '<percentage>'; inherits: false; initial-value: 0%; }
@keyframes portail { 0% { opacity: 0; --trou: 0%; } 20% { opacity: 1; } 100% { opacity: 1; --trou: 160%; } }
@keyframes murmure { 0%, 25% { opacity: 0; } 55% { opacity: 1; } 100% { opacity: 0.9; } }

/* ---------- pages intérieures ---------- */
main { min-height: 60vh; }
.bandeau { max-width: 960px; margin: 0 auto; padding: 3.5rem 16px 1.5rem; text-align: center; }
.cartouche-titre { display: inline-flex; align-items: center; gap: 0.8rem; padding: 0.7rem 1.8rem; border: 3px double var(--or); border-radius: 999px; background: rgba(7, 11, 30, 0.5); }
.cartouche-titre h1 { margin: 0; font-size: clamp(1.3rem, 4vw, 2.1rem); }
.cartouche-titre .glyphe { font-size: 1.6rem; color: var(--turquoise); }
.sous { color: var(--texte-doux); margin-top: 1rem; }
.papyrus {
  max-width: 820px; margin: 1rem auto 3rem; padding: clamp(1.4rem, 4vw, 2.6rem);
  background: var(--papyrus); border: 1px solid var(--bord); border-radius: var(--rayon);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  position: relative;
}
@media (max-width: 860px) { .papyrus { margin-left: 16px; margin-right: 16px; } }
.papyrus::before, .papyrus::after { content: ''; position: absolute; left: 1.2rem; right: 1.2rem; height: 2px; background: linear-gradient(90deg, transparent, var(--or), transparent); opacity: 0.6; }
.papyrus::before { top: 8px; } .papyrus::after { bottom: 8px; }
.texte h2:first-child { margin-top: 0; }
.chapeau { font-size: 1.2rem; color: #fff6dd; font-family: var(--titre); line-height: 1.5; }
.centre { text-align: center; margin: 0 16px 4rem; }

/* constellations */
.grille-astres, .grille-services { max-width: 1060px; margin: 1rem auto 3rem; padding: 0 16px; display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.carte-astre {
  display: block; text-decoration: none; color: var(--texte); padding: 1.5rem; border-radius: var(--rayon);
  background: var(--papyrus); border: 1px solid color-mix(in srgb, var(--c) 45%, transparent);
  transition: transform 0.25s, box-shadow 0.25s;
}
a.carte-astre:hover { transform: translateY(-4px); box-shadow: 0 0 40px color-mix(in srgb, var(--c) 30%, transparent); color: var(--texte); }
.carte-astre h2 { color: var(--c); margin: 0.6rem 0 0.2rem; }
.carte-astre .astre { color: var(--texte-doux); font-size: 0.9rem; margin: 0 0 0.6rem; }
.carte-astre.eteinte { opacity: 0.55; border-style: dashed; }
.carte-astre.eteinte h2 { color: #8f9bbd; }
.mini-const { display: block; width: 110px; height: 110px; }
.mini-const.grande { width: 150px; height: 150px; margin: 0 auto; }
.mini-const svg { width: 100%; height: 100%; overflow: visible; }
.mini-const line { stroke: var(--c, var(--or)); stroke-width: 1; opacity: 0.7; }
.mini-const circle { fill: #fff; filter: drop-shadow(0 0 3px var(--c, var(--or))); }
.eteinte .mini-const circle { fill: #6d7899; filter: none; }
.bandeau.artiste { display: grid; gap: 0.5rem; justify-items: center; }
.bandeau.artiste h1 { color: var(--c); font-size: clamp(2.2rem, 7vw, 3.6rem); margin: 0.2rem 0; text-shadow: 0 0 30px color-mix(in srgb, var(--c) 50%, transparent); }
.bandeau.artiste .astre { margin: 0; color: var(--texte-doux); font-family: var(--titre); letter-spacing: 0.08em; }
.page-artiste .papyrus h2 { color: var(--c); }
.liens { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.liens a { display: inline-block; padding: 0.4rem 0.9rem; border: 1px solid var(--bord); border-radius: 999px; text-decoration: none; font-size: 0.95rem; }
.liens a:hover { border-color: var(--c, var(--or)); background: rgba(255, 255, 255, 0.05); }
.liens a.officiel { background: var(--c, var(--or)); color: var(--nuit); border-color: transparent; font-weight: 500; }
.passage { display: inline-block; float: right; font-size: 1.3rem; color: rgba(62, 198, 192, 0.28); text-decoration: none; transition: color 0.6s, text-shadow 0.6s; }
.passage:hover, .passage:focus-visible { color: var(--turquoise); text-shadow: 0 0 14px var(--turquoise); }

/* calendrier */
.calendrier { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.5rem; }
.calendrier li { display: grid; grid-template-columns: 9.5rem 6rem 1fr auto; gap: 0.8rem; align-items: baseline; padding: 0.7rem 0.9rem; border-left: 3px solid var(--c); background: rgba(7, 11, 30, 0.45); border-radius: 0 8px 8px 0; }
.calendrier time { font-family: var(--titre); color: var(--or); font-size: 0.9rem; }
.calendrier .astre-nom { color: var(--c); font-weight: 500; }
.calendrier .type { font-size: 0.8rem; color: var(--texte-doux); text-transform: uppercase; letter-spacing: 0.08em; }
.calendrier.prods li { grid-template-columns: 2rem 1fr auto; border-left-color: var(--turquoise); }
.calendrier.prods .glyphe { color: var(--turquoise); font-size: 1.2rem; }
.calendrier.prods .titre-sortie a { font-family: var(--titre); font-weight: 500; }
@media (max-width: 620px) { .calendrier.prods li { grid-template-columns: 2rem 1fr; } .calendrier.prods .type { grid-column: 2; } }
@media (max-width: 620px) { .calendrier li { grid-template-columns: 1fr auto; } .calendrier .titre-sortie { grid-column: 1 / -1; } }

/* services */
.papyrus-service {
  padding: 1.6rem 1.4rem; border-radius: var(--rayon); position: relative;
  background: linear-gradient(180deg, rgba(240, 220, 170, 0.09), rgba(16, 26, 64, 0.75));
  border: 1px solid var(--bord);
}
.papyrus-service .glyphe { font-size: 2.2rem; color: var(--turquoise); display: block; }
.papyrus-service h2 { font-size: 1.15rem; margin: 0.5rem 0; }
.papyrus-service ul { padding-left: 1.1rem; color: var(--texte-doux); }
.papyrus-service li::marker { content: '✦  '; color: var(--or); }

/* formulaire */
.formulaire { display: grid; gap: 1rem; margin: 1.5rem 0; }
.formulaire label { display: grid; gap: 0.35rem; font-weight: 500; font-size: 0.95rem; }
.formulaire input, .formulaire select, .formulaire textarea {
  font: inherit; color: var(--texte); background: rgba(7, 11, 30, 0.7);
  border: 1px solid var(--bord); border-radius: 10px; padding: 0.7rem 0.8rem;
}
.formulaire input:focus, .formulaire select:focus, .formulaire textarea:focus { border-color: var(--or); outline: none; box-shadow: 0 0 0 3px rgba(217, 180, 90, 0.2); }
.formulaire .case { display: flex; gap: 0.6rem; align-items: flex-start; font-weight: 400; }
.formulaire .case input { margin-top: 0.35rem; }
.formulaire button { justify-self: start; }
.piege { position: absolute; left: -5000px; }

/* la pesée du cœur */
.pesee-zone[hidden] { display: none; }
.pesee-grille { display: grid; grid-template-columns: minmax(180px, 280px) 1fr; gap: 1.5rem; align-items: center; }
@media (max-width: 640px) { .pesee-grille { grid-template-columns: 1fr; } .balance { max-width: 240px; margin: 0 auto; } }
.balance { width: 100%; height: auto; overflow: visible; }
.b-pilier, .b-fleau { stroke: var(--or); stroke-width: 4; stroke-linecap: round; }
.b-fil { stroke: var(--or); stroke-width: 1.2; opacity: 0.8; }
.b-socle, .b-pivot { fill: var(--or); }
.b-plateau { fill: rgba(217, 180, 90, 0.25); stroke: var(--or); stroke-width: 2; }
.b-coeur { fill: #c8483a; stroke: #f2a07a; stroke-width: 1; filter: drop-shadow(0 0 6px rgba(200, 72, 58, 0.6)); }
.b-plume { fill: #f4efe0; filter: drop-shadow(0 0 6px rgba(62, 198, 192, 0.6)); }
.b-plume-axe { stroke: var(--turquoise); stroke-width: 1.2; }
.b-ankh { font-family: var(--hiero); font-size: 22px; fill: var(--turquoise); }
.pesee-panneau h2 { margin-top: 0; outline: none; }
.pesee-etape { font-family: var(--titre); color: var(--texte-doux); font-size: 0.85rem; letter-spacing: 0.15em; margin: 0 0 0.3rem; }
.pesee-choix { display: grid; gap: 0.6rem; }
.choix {
  text-align: left; padding: 0.8rem 1rem; border-radius: 12px; cursor: pointer;
  font: 400 1rem var(--corps); color: var(--texte);
  background: rgba(7, 11, 30, 0.6); border: 1px solid var(--bord);
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
}
.choix:hover, .choix:focus-visible { border-color: var(--or); background: rgba(217, 180, 90, 0.12); transform: translateX(4px); }
.choix::before { content: '𓆄  '; font-family: var(--hiero); color: var(--turquoise); }
.voie { display: flex; gap: 1rem; align-items: flex-start; padding: 1rem; border: 1px solid var(--or); border-radius: 12px; background: rgba(217, 180, 90, 0.08); }
.voie .glyphe { font-size: 2.2rem; color: var(--turquoise); line-height: 1; }
.voie p { margin: 0.3rem 0 0; color: var(--texte-doux); }
.portes-gauche { display: flex; flex-wrap: wrap; gap: 0.8rem; align-items: center; }
.lien-discret { color: var(--texte-doux); font-size: 0.95rem; }
.rappel-pesee { padding: 0.6rem 0.9rem; border-left: 3px solid var(--turquoise); background: rgba(62, 198, 192, 0.08); border-radius: 0 8px 8px 0; font-family: var(--titre); color: var(--or-vif); }
.rappel-pesee[hidden] { display: none; }

/* accueil : les offerts */
.offerts-accueil { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 0.5rem 0.7rem; margin: 1.1rem 0 0; }
.offerts-accueil .offerts-mot { font-family: var(--corps); font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--turquoise); }
.offerts-accueil a { padding: 0.35rem 0.9rem; border: 1px solid rgba(62, 198, 192, 0.55); border-radius: 999px; background: rgba(7, 11, 30, 0.55); color: var(--texte); text-decoration: none; font-family: var(--titre); letter-spacing: 0.05em; font-size: 0.98rem; transition: border-color 0.2s, box-shadow 0.2s; }
.offerts-accueil a span { color: var(--turquoise); font-family: var(--hiero); }
.offerts-accueil a:hover { border-color: var(--turquoise); box-shadow: 0 0 16px rgba(62, 198, 192, 0.35); color: #fff; }
.ciel.explore .offerts-accueil { pointer-events: none; }

/* page Sorties : la roue du temps */
.roue-zone { max-width: 760px; margin: 0 auto 1rem; padding: 0 16px; text-align: center; }
.compte-rebours { font-family: var(--titre); font-size: clamp(1.1rem, 3vw, 1.45rem); color: var(--texte); margin: 0 0 1rem; letter-spacing: 0.04em; }
.compte-rebours .cr-label { display: block; font-family: var(--corps); font-size: 0.78rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--turquoise); margin-bottom: 0.2rem; }
.compte-rebours em { font-style: normal; color: var(--or-vif); }
.roue svg { width: 100%; max-width: 680px; height: auto; display: block; margin: 0 auto; overflow: visible; }
.roue-fond { fill: rgba(7, 11, 30, 0.55); stroke: rgba(217, 180, 90, 0.25); stroke-width: 1; }
.roue-cercle { fill: none; stroke: var(--or); stroke-width: 2; opacity: 0.7; }
.roue-cercle.fin { stroke-width: 0.8; opacity: 0.4; }
.roue-trait-mois { stroke: var(--or); stroke-width: 1.5; opacity: 0.7; }
.roue-mois { fill: var(--texte-doux); font-family: var(--titre); font-size: 20px; text-anchor: middle; dominant-baseline: middle; letter-spacing: 1px; }
.roue-mois.annee { fill: var(--or-vif); }
.roue-saison { fill: none; stroke-width: 10; stroke-linecap: round; opacity: 0.55; }
.roue-saison-nom { font-family: var(--titre); font-size: 17px; text-anchor: middle; dominant-baseline: middle; letter-spacing: 1.5px; opacity: 0.9; }
.roue-piste { fill: none; stroke-width: 1; stroke-dasharray: 2 7; opacity: 0.45; }
.roue-piste-nom { font-family: var(--titre); font-size: 19px; letter-spacing: 1.5px; opacity: 0.85; }
.roue-aujourdhui { stroke: var(--or-vif); stroke-width: 1.5; stroke-dasharray: 5 6; opacity: 0.8; }
.roue-soleil circle { fill: var(--or-vif); filter: drop-shadow(0 0 10px rgba(242, 201, 107, 0.9)); }
.roue-soleil line { stroke: var(--or-vif); stroke-width: 2.5; stroke-linecap: round; }
.roue-centre { fill: rgba(7, 11, 30, 0.9); stroke: var(--or); stroke-width: 3; }
.roue-centre-fin { fill: none; stroke: var(--or); stroke-width: 1; opacity: 0.5; }
.roue-panneau text { font-family: var(--titre); }
.roue-panneau .p-petit { fill: var(--texte-doux); font-size: 17px; letter-spacing: 1px; }
.roue-panneau .p-titre { fill: var(--or-vif); font-size: 32px; letter-spacing: 1.5px; }
.roue-panneau .p-lien { fill: var(--turquoise); font-size: 17px; letter-spacing: 0.5px; }
.roue-etoile { cursor: pointer; outline: none; }
.roue-etoile .zone { fill: transparent; }
.roue-etoile .astre { transition: r 0.25s; transform-box: fill-box; transform-origin: center; }
.roue-etoile.future .astre { animation: scintille 2.4s ease-in-out infinite; }
.roue-etoile:hover .astre, .roue-etoile:focus .astre, .roue-etoile.active .astre { r: 13; }
.roue-etoile:focus-visible .zone { stroke: var(--turquoise); stroke-width: 2; }
@keyframes scintille { 50% { opacity: 0.45; transform: scale(0.8); } }
.roue-legende { color: var(--texte-doux); font-size: 0.88rem; margin: 0.8rem 0 0; }
.calendrier .agenda { grid-column: 1 / -1; justify-self: start; background: none; border: 1px solid var(--bord); border-radius: 999px; color: var(--turquoise); font: 300 0.82rem var(--corps); padding: 0.25rem 0.75rem; cursor: pointer; }
.calendrier .agenda:hover { border-color: var(--turquoise); }

/* page Services : le catalogue */
.sommaire-offres { max-width: 1060px; margin: 0 auto 1.5rem; padding: 0 16px; display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; }
.sommaire-offres a { padding: 0.4rem 0.9rem; border: 1px solid var(--bord); border-radius: 999px; text-decoration: none; color: var(--texte); font-family: var(--titre); letter-spacing: 0.06em; font-size: 0.98rem; }
.sommaire-offres a span { font-family: var(--hiero); color: var(--turquoise); }
.sommaire-offres a:hover { border-color: var(--or); color: var(--or-vif); }
/* les offres : des papyrus qu'on déroule */
.offres { max-width: 900px; margin: 2rem auto 0; padding: 0 16px; display: grid; gap: 0.9rem; }
.offre { border-radius: 14px; border: 1px solid var(--bord); background: linear-gradient(180deg, rgba(240, 220, 170, 0.07), rgba(16, 26, 64, 0.78)); scroll-margin-top: 80px; overflow: hidden; transition: border-color 0.3s, box-shadow 0.3s; }
.offre[open] { border-color: rgba(217, 180, 90, 0.6); box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3); }
.offre summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: 0.9rem; padding: 1rem clamp(0.9rem, 3vw, 1.5rem); position: relative; }
.offre summary::-webkit-details-marker { display: none; }
.offre summary:focus-visible { outline: 2px solid var(--turquoise); outline-offset: -3px; border-radius: 14px; }
.offre summary:hover { background: rgba(217, 180, 90, 0.06); }
/* le bâton du rouleau de papyrus, à gauche */
.offre .baton { position: absolute; left: 0; top: 10px; bottom: 10px; width: 5px; border-radius: 3px; background: linear-gradient(180deg, var(--or-vif), var(--or), var(--ocre)); opacity: 0.7; }
.offre .glyphe { font-family: var(--hiero); font-size: 1.9rem; color: var(--turquoise); line-height: 1; padding-left: 0.4rem; }
.offre-titre { min-width: 0; }
.offre-titre h2 { margin: 0; font-size: 1.45rem; }
.offre-accroche { display: block; color: var(--texte-doux); font-size: 0.92rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.offre[open] .offre-accroche { visibility: hidden; height: 0; }
.offre-des { font-family: var(--titre); color: var(--or-vif); font-size: 1.1rem; white-space: nowrap; }
.sceau-ouvrir { font-family: var(--hiero); color: var(--or); font-size: 1.4rem; width: 2.2rem; height: 2.2rem; display: grid; place-items: center; border: 1px solid var(--bord); border-radius: 50%; transition: transform 0.5s, background 0.3s, color 0.3s; }
.offre summary:hover .sceau-ouvrir { background: rgba(217, 180, 90, 0.15); }
.offre[open] .sceau-ouvrir { transform: rotate(180deg); background: var(--or); color: var(--nuit); }
.offre-corps { padding: 0 clamp(1rem, 3vw, 1.8rem) 1.5rem calc(clamp(0.9rem, 3vw, 1.5rem) + 0.4rem); border-top: 1px dashed rgba(217, 180, 90, 0.25); }
.offre[open] .offre-corps { animation: deroule 0.55s ease-out; transform-origin: top; }
@keyframes deroule { from { opacity: 0; transform: scaleY(0.6); clip-path: inset(0 0 100% 0); } to { opacity: 1; transform: none; clip-path: inset(0 0 0 0); } }
.offre-texte { color: var(--texte); margin: 1rem 0; }
.offre-offerte { border-color: var(--turquoise); box-shadow: 0 0 36px rgba(62, 198, 192, 0.15); }
.offre-offerte .baton { background: linear-gradient(180deg, #9ff5ef, var(--turquoise)); }
.lien-exemple { display: inline-block; margin-top: 0.35rem; color: var(--turquoise); font-family: var(--titre); letter-spacing: 0.05em; text-decoration: none; border-bottom: 1px solid rgba(62, 198, 192, 0.4); }
.lien-exemple:hover { color: #9ff5ef; border-color: #9ff5ef; }
@media (max-width: 560px) {
  .offre summary { grid-template-columns: auto 1fr auto; }
  .offre-des { grid-column: 2; grid-row: 2; font-size: 1rem; }
  .sceau-ouvrir { grid-column: 3; grid-row: 1 / span 2; }
}
.tarifs { list-style: none; margin: 0; padding: 0; }
.tarifs li { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: 0.55rem 0; border-bottom: 1px dashed rgba(217, 180, 90, 0.22); }
.tarifs li:last-child { border-bottom: 0; }
.tarif-nom small { display: block; color: var(--texte-doux); font-size: 0.85rem; }
.tarif-prix { font-family: var(--titre); color: var(--or-vif); font-size: 1.12rem; letter-spacing: 0.03em; white-space: nowrap; text-align: right; }
.offre-note { font-size: 0.88rem; color: var(--texte-doux); font-style: italic; margin: 0.7rem 0 0; }
.offre-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 1.1rem 0 0; }
.formation-grille { display: grid; gap: 1.4rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); align-items: start; }
.modules { margin: 0; padding-left: 1.1rem; }
.modules li { margin: 0.25rem 0; }
.modules li::marker { content: '✦  '; color: var(--or); }
.table-tarifs { width: 100%; border-collapse: collapse; }
.table-tarifs th, .table-tarifs td { padding: 0.5rem 0.4rem; border-bottom: 1px dashed rgba(217, 180, 90, 0.22); text-align: left; font-weight: 200; }
.table-tarifs thead th { font-family: var(--titre); color: var(--or); font-weight: 400; letter-spacing: 0.05em; border-bottom: 1px solid var(--bord); }
.table-tarifs td { font-family: var(--titre); color: var(--or-vif); white-space: nowrap; font-size: 1.05rem; }
.valises { max-width: 1060px; margin: 0.5rem auto 1rem; padding: 0 16px; scroll-margin-top: 80px; }
.valises-tete { text-align: center; }
.valises-tete .glyphe { font-family: var(--hiero); font-size: 2rem; color: var(--turquoise); }
.valises-tete h2 { margin: 0.2rem 0; font-size: 1.8rem; }
.valises-grille { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); margin-top: 1.2rem; }
.valise { padding: 1.3rem 1.1rem; border-radius: var(--rayon); border: 2px double var(--or); background: rgba(7, 11, 30, 0.6); text-align: center; display: flex; flex-direction: column; gap: 0.5rem; }
.valise h3 { margin: 0; font-family: var(--titre); font-weight: 400; color: var(--or); font-size: 1.3rem; letter-spacing: 0.08em; }
.valise-prix { margin: 0; font-family: var(--titre); font-size: 1.6rem; color: var(--or-vif); }
.valise-prix s { font-size: 0.95rem; color: var(--texte-doux); margin-left: 0.3rem; }
.valise p:not(.valise-prix) { margin: 0; flex: 1; font-size: 0.95rem; }
.valise .porte { align-self: center; }
.facturation { color: var(--texte-doux); font-size: 0.9rem; margin-top: 2rem; }

/* le credo : création humaine, IA en coulisses */
.credo-court, .credo p, .manifeste { text-wrap: balance; }
.credo-court { margin: -0.6rem 0 1.4rem; font-size: clamp(0.95rem, 2.2vw, 1.08rem); font-weight: 200; color: var(--turquoise); letter-spacing: 0.03em; text-shadow: 0 2px 10px var(--nuit); }
.credo {
  margin: 1.8rem 0; padding: 1.6rem clamp(1rem, 4vw, 2rem); border-radius: 16px; text-align: center;
  border: 1px solid var(--turquoise); background: linear-gradient(180deg, rgba(62, 198, 192, 0.1), rgba(7, 11, 30, 0.55));
  box-shadow: 0 0 40px rgba(62, 198, 192, 0.12);
}
.credo-titre { font-family: var(--titre); font-size: clamp(1.3rem, 3.6vw, 1.85rem); color: var(--or-vif); line-height: 1.3; margin: 0.6rem 0 0.8rem; letter-spacing: 0.04em; }
.credo p:last-child { margin: 0; font-weight: 200; font-size: 1.05rem; color: var(--texte); max-width: 42em; margin-inline: auto; }
.credo-balance { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 0.8rem; max-width: 520px; margin: 0 auto; }
.credo-balance .cote { font-family: var(--titre); font-size: 1.3rem; letter-spacing: 0.14em; text-transform: uppercase; }
.credo-balance .cote small { display: block; font-family: var(--corps); font-size: 0.78rem; letter-spacing: 0.04em; text-transform: none; font-weight: 200; color: var(--texte-doux); margin-top: 0.2rem; }
.credo-balance .humain { color: var(--or-vif); text-align: right; transform: translateY(6px); } /* le côté humain pèse */
.credo-balance .ia { color: var(--turquoise); text-align: left; transform: translateY(-6px); }
.credo-balance .pivot { font-family: var(--hiero); font-size: 1.8rem; color: var(--or); }
.credo-zone { max-width: 1060px; margin: 0 auto; padding: 0 16px; }
.credo-pied { font-family: var(--titre); color: var(--turquoise); letter-spacing: 0.08em; font-size: 0.95rem; }
@media (max-width: 520px) { .credo-balance { grid-template-columns: 1fr; } .credo-balance .humain, .credo-balance .ia { text-align: center; transform: none; } }

/* les 7 hiéroglyphes cachés */
main { position: relative; }
.sceau {
  all: unset; position: absolute; z-index: 5; cursor: pointer; line-height: 1;
  font-family: var(--hiero); font-size: 1.15rem; color: rgba(217, 180, 90, 0.2);
  padding: 6px; border-radius: 50%; transition: color 0.4s, text-shadow 0.4s;
}
.sceau:hover, .sceau:focus-visible { color: var(--or-vif); text-shadow: 0 0 12px var(--or-vif); }
.sceau:focus-visible { outline: 1px dashed var(--turquoise); }
.sceau.trouve { color: rgba(62, 198, 192, 0.45); }
.sceau.eclat { animation: eclat 0.9s ease-out; }
@keyframes eclat { 0% { transform: scale(1); } 40% { transform: scale(2.2); color: #fff6d0; text-shadow: 0 0 30px var(--or-vif); } 100% { transform: scale(1); } }
.sceau-bandeau { top: 1.6rem; right: max(16px, 7%); }
.sceau-fin { position: relative; display: block; width: fit-content; margin: -2.4rem 0 1.5rem max(16px, 10%); }
.sceau-ciel { left: max(16px, 5%); bottom: 2.6rem; }
.bulle-sceau {
  position: fixed; left: 50%; bottom: 1.4rem; z-index: 150; transform: translate(-50%, 30px); opacity: 0; pointer-events: none;
  padding: 0.8rem 1.3rem; border-radius: 14px; text-align: center; max-width: calc(100% - 32px);
  background: rgba(7, 11, 30, 0.95); border: 1px solid var(--or); color: var(--texte); box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  transition: opacity 0.35s, transform 0.35s;
}
.bulle-sceau.visible { opacity: 1; transform: translate(-50%, 0); }
.bulle-sceau { max-width: min(92vw, 460px); }
/* le cartouche fixe de la collection */
.cartouche-sceaux {
  all: unset; box-sizing: border-box; position: fixed; right: 14px; bottom: 14px; z-index: 120; cursor: pointer;
  display: flex; align-items: center; gap: 0.15rem; padding: 0.35rem 0.85rem 0.35rem 0.75rem;
  font-family: var(--hiero); font-size: 1.05rem; line-height: 1;
  border: 2px double var(--or); border-radius: 999px; background: rgba(7, 11, 30, 0.82); backdrop-filter: blur(6px);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.45);
  transition: box-shadow 0.3s, transform 0.3s;
}
.cartouche-sceaux::after { content: ''; width: 4px; align-self: stretch; margin-left: 0.45rem; border-radius: 2px; background: var(--or); opacity: 0.8; } /* le nœud du cartouche */
.cartouche-sceaux span { color: rgba(185, 182, 200, 0.28); transition: color 0.5s, text-shadow 0.5s; }
.cartouche-sceaux span.ok { color: var(--or-vif); text-shadow: 0 0 7px rgba(242, 201, 107, 0.7); }
.cartouche-sceaux:hover, .cartouche-sceaux:focus-visible { box-shadow: 0 0 22px rgba(217, 180, 90, 0.45); transform: translateY(-2px); }
.cartouche-sceaux:focus-visible { outline: 2px solid var(--turquoise); outline-offset: 3px; }
.cartouche-sceaux.complet { border-color: var(--turquoise); animation: halo 2.6s ease-in-out infinite; }
@keyframes halo { 50% { box-shadow: 0 0 26px rgba(62, 198, 192, 0.6); } }
.bulle-sceau { bottom: 4.2rem; }
@media (max-width: 640px) { .cartouche-sceaux { font-size: 0.92rem; right: 10px; bottom: 10px; padding: 0.3rem 0.6rem; } }
@media (prefers-reduced-motion: reduce) { .cartouche-sceaux.complet { animation: none; } }
.bulle-sceau .indice { display: block; margin-top: 0.6rem; padding-top: 0.6rem; border-top: 1px solid var(--bord); font-family: var(--titre); font-style: normal; color: var(--or-vif); line-height: 1.45; }
.bulle-sceau .indice span { display: block; font-family: var(--corps); font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--turquoise); margin-bottom: 0.2rem; }
button.frise { all: unset; display: block; margin: 0 auto 1rem; cursor: pointer; color: var(--or); opacity: 0.45; letter-spacing: 0.6em; font-size: 1.1rem; font-family: var(--hiero); white-space: nowrap; overflow: hidden; max-width: 100%; transition: opacity 0.3s, text-shadow 0.3s; }
button.frise:hover, button.frise:focus-visible { opacity: 0.9; text-shadow: 0 0 10px var(--or); }
.frise-sceaux { display: block; font-family: var(--hiero); font-size: 1.4rem; letter-spacing: 0.35em; margin-bottom: 0.35rem; }
.frise-sceaux span { color: rgba(185, 182, 200, 0.3); }
.frise-sceaux span.ok { color: var(--or-vif); text-shadow: 0 0 8px rgba(242, 201, 107, 0.6); }
.tresor {
  max-width: min(92vw, 520px); border: 3px double var(--or); border-radius: 18px; padding: 2rem 1.6rem 1.6rem;
  background: radial-gradient(ellipse at top, #1d3480, #070b1e 70%); color: var(--texte); text-align: center;
}
.tresor::backdrop { background: rgba(2, 4, 12, 0.8); backdrop-filter: blur(3px); }
.tresor h2 { margin-top: 0.4rem; }
.tresor .formulaire { text-align: left; }
.tresor .formulaire button { justify-self: center; }
.tresor-fermer { position: absolute; top: 8px; right: 10px; }
.tresor-fermer button { all: unset; cursor: pointer; color: var(--texte-doux); padding: 6px 10px; font-size: 1.1rem; }

/* lecteurs (pages artistes) */
.facade { position: relative; border-radius: 12px; overflow: hidden; border: 1px solid color-mix(in srgb, var(--c, var(--or)) 50%, transparent); background: rgba(7, 11, 30, 0.6); }
.facade-spotify { min-height: 152px; display: grid; place-items: center; text-align: center; padding: 1rem;
  background: radial-gradient(ellipse at 30% 20%, color-mix(in srgb, var(--c, var(--or)) 25%, transparent), rgba(7, 11, 30, 0.8)); }
.facade-spotify.chargee { padding: 0; display: block; }
.facade-spotify iframe { width: 100%; height: 352px; border: 0; display: block; }
.clips { display: grid; gap: 0.9rem; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.facade-video { aspect-ratio: 16 / 9;
  background: repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.025) 0 10px, transparent 10px 20px),
              radial-gradient(ellipse at center, color-mix(in srgb, var(--c, var(--or)) 22%, transparent), rgba(7, 11, 30, 0.9)); }
.facade-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.facade-btn { all: unset; box-sizing: border-box; cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.5rem;
  width: 100%; height: 100%; padding: 1rem; text-align: center; font: 500 1rem var(--titre); letter-spacing: 0.06em; color: var(--texte); }
.facade-spotify .facade-btn { flex-direction: row; height: auto; width: auto; padding: 0.8rem 1.4rem; border-radius: 999px; border: 1px solid var(--c, var(--or)); }
.facade-btn .play { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: var(--c, var(--or)); color: var(--nuit); font-size: 1.3rem; padding-left: 4px; box-shadow: 0 0 24px color-mix(in srgb, var(--c, var(--or)) 60%, transparent); transition: transform 0.2s; }
.facade-spotify .play { width: 38px; height: 38px; font-size: 1rem; }
.facade-btn:hover .play, .facade-btn:focus-visible .play { transform: scale(1.1); }
.facade-btn:focus-visible { outline: 2px solid var(--turquoise); outline-offset: -4px; }
.facade-avis { font-size: 0.8rem; color: var(--texte-doux); margin: 0.5rem 0 0; }

/* votre nom en cartouche */
.lien-cartouche { margin-top: 1rem; font-size: 0.95rem; }
.lien-cartouche a { color: var(--texte-doux); }
.lien-cartouche a:hover { color: var(--or-vif); }
.champ-nom-cartouche { display: grid; gap: 0.4rem; font-weight: 500; max-width: 420px; margin: 1.2rem auto; text-align: center; }
.champ-nom-cartouche input {
  font: 500 1.4rem var(--titre); text-align: center; letter-spacing: 0.08em; color: var(--or-vif);
  background: rgba(7, 11, 30, 0.7); border: 1px solid var(--or); border-radius: 999px; padding: 0.7rem 1rem;
  width: 100%; min-width: 0;
}
.champ-nom-cartouche input:focus { outline: none; box-shadow: 0 0 0 4px rgba(217, 180, 90, 0.25); }
.scene-cartouche { display: grid; justify-items: center; gap: 1.6rem; padding: 1rem 0 0.5rem; }
.cartouche-vertical {
  --n: 1;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.15em;
  font-family: var(--hiero); font-size: clamp(2rem, calc(22rem / (var(--n) + 2)), 3.4rem); line-height: 1.05;
  color: var(--or-vif); text-shadow: 0 0 14px rgba(242, 201, 107, 0.45);
  min-height: 6em; min-width: 2.6em; padding: 0.7em 0.45em;
  border: 4px double var(--or); border-radius: 999px;
  background: radial-gradient(ellipse, rgba(27, 58, 140, 0.6), rgba(7, 11, 30, 0.85));
  box-shadow: 0 0 50px rgba(217, 180, 90, 0.25), inset 0 0 24px rgba(217, 180, 90, 0.12);
  position: relative;
}
.cartouche-vertical::after { content: ''; position: absolute; bottom: -18px; left: -10%; width: 120%; height: 7px; border-radius: 3px; background: var(--or); }
.cartouche-vertical span { display: block; animation: apparait 0.5s ease-out both; }
.cartouche-vertical .vide { opacity: 0.35; animation: none; }
@keyframes apparait { from { opacity: 0; transform: translateY(-8px) scale(0.8); } to { opacity: 1; transform: none; } }
.nom-latin { font-family: var(--titre); font-size: 1.4rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--texte); min-height: 1.6em; margin: 0.6rem 0 0; }
.centre-flex { justify-content: center; }
.alphabet { margin-top: 2rem; }
.alphabet summary { cursor: pointer; font-family: var(--titre); color: var(--or); }
.alphabet-table { display: grid; grid-template-columns: repeat(auto-fill, minmax(64px, 1fr)); gap: 0.5rem; margin: 1rem 0; }
.alphabet-table div { display: grid; justify-items: center; padding: 0.4rem; border: 1px solid var(--bord); border-radius: 8px; font-family: var(--titre); font-size: 0.85rem; }
.alphabet-table .g { font-family: var(--hiero); font-size: 1.8rem; color: var(--or-vif); }
.petit-note { font-size: 0.85rem; color: var(--texte-doux); }

/* pied */
.pied { text-align: center; padding: 2rem 16px 2.5rem; color: var(--texte-doux); font-size: 0.9rem; border-top: 1px solid var(--bord); background: rgba(7, 11, 30, 0.7); }
.pied p { margin: 0.4rem 0; }
.pied .reseaux { justify-content: center; margin: 0.8rem 0; }
.pied .petit { font-size: 0.8rem; opacity: 0.8; }
.frise { color: var(--or); opacity: 0.45; letter-spacing: 0.6em; font-size: 1.1rem; margin-bottom: 1rem; white-space: nowrap; overflow: hidden; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

strong, b { font-weight: 400; color: #fff6dd; }
