/* Lucarne, essai de design Vyzuall (marque fictive). */

:root {
  --nuit: #090A1A;
  --nuit-2: #10122A;
  --nuit-3: #191C3D;
  --ciel: #2B2F7A;
  --lune: #F4F0E8;
  --brume: rgba(244, 240, 232, .70);
  --brume-2: rgba(244, 240, 232, .52);
  --filet: rgba(244, 240, 232, .10);
  --filet-2: rgba(244, 240, 232, .20);
  --aube: #FFB46E;
  --aube-clair: #FFD7A8;
  --aube-fonce: #F08A3C;
  --braise: #E0582A;
  --papier: #F5EFE6;
  --papier-2: #FBF8F2;
  --encre: #15152B;
  --encre-2: #56556B;
  --trait: #E3DACC;
  --ambre-texte: #A9481A;

  --serif: 'Newsreader', 'Iowan Old Style', Georgia, serif;
  --sans: 'Schibsted Grotesk', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;

  --container: 1200px;
  --gutter: 40px;
  --section: 136px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
}
@media (max-width: 60rem) { :root { --gutter: 28px; --section: 104px; } }
@media (max-width: 40rem) { :root { --gutter: 20px; --section: 84px; } }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--nuit);
  color: var(--lune);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
p, h1, h2, h3, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
::selection { background: var(--aube); color: var(--encre); }
:focus-visible { outline: 2px solid var(--aube); outline-offset: 3px; border-radius: 6px; }
.papier :focus-visible, .papier-2 :focus-visible { outline-color: var(--ambre-texte); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sauter { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--aube); color: var(--encre); padding: 10px 16px; border-radius: 999px; font-weight: 600; }
.sauter:focus { top: 12px; }

.wrap { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- Typographie ---------- */
.hero-title, .h2, .sans-mot, .prix-n, .fait-n, .logo-mot, .nuit-heure, .etape-n, .lecteur-titre, .moment-h, .descente-n {
  font-family: var(--serif);
  font-optical-sizing: auto;
}
.hero-title {
  font-size: clamp(44px, 6vw, 92px);
  font-weight: 340;
  line-height: .98;
  letter-spacing: -.03em;
  text-wrap: balance;
}
.h2 {
  font-size: clamp(36px, 4.6vw, 66px);
  font-weight: 340;
  line-height: 1.02;
  letter-spacing: -.025em;
  text-wrap: balance;
}
.hero-title em, .h2 em { font-style: italic; font-weight: 340; color: var(--aube); }
.papier .h2 em, .papier-2 .h2 em { color: var(--ambre-texte); }
.lede { font-size: 18px; line-height: 1.55; color: var(--brume); max-width: 36em; text-wrap: pretty; }
.papier .lede, .papier-2 .lede { color: var(--encre-2); }
.card-t { font-size: 22px; font-weight: 600; line-height: 1.25; letter-spacing: -.01em; margin-bottom: 8px; }
.note { font-size: 14px; line-height: 1.45; color: var(--encre-2); }

.tag {
  display: inline-flex; align-items: center; gap: 10px;
  height: 30px; padding: 0 14px 0 12px;
  border-radius: 999px;
  font-size: 13px; font-weight: 600; letter-spacing: .005em;
}
.tag .point { width: 7px; height: 7px; border-radius: 50%; background: var(--aube); box-shadow: 0 0 10px var(--aube); }
.tag-nuit { border: 1px solid var(--filet-2); color: var(--brume); background: rgba(244, 240, 232, .04); }
.tag-papier { border: 1px solid var(--trait); color: var(--encre-2); background: var(--papier-2); }
.tag-papier .point { background: var(--aube-fonce); box-shadow: 0 0 8px rgba(240, 138, 60, .7); }

/* ---------- Boutons ---------- */
.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 54px; padding: 0 26px;
  border-radius: 999px;
  font-size: 16px; font-weight: 600; letter-spacing: -.005em;
  white-space: nowrap;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .35s var(--ease), background-color .35s var(--ease);
}
.btn:active { transform: scale(.97); }
.btn .fleche { display: inline-block; transition: transform .35s var(--ease); }
.btn:hover .fleche { transform: translateX(3px); }
.btn-aube {
  color: var(--encre);
  background: linear-gradient(180deg, var(--aube-clair), var(--aube-fonce));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .55), 0 10px 30px -10px rgba(240, 138, 60, .75), 0 0 22px rgba(255, 180, 110, .30);
}
.btn-aube:hover {
  transform: translateY(-2px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6), 0 16px 44px -10px rgba(240, 138, 60, .85), 0 0 34px rgba(255, 180, 110, .45), 0 0 64px rgba(255, 180, 110, .25);
}
.btn-aube:active { transform: scale(.97); }
.btn-ligne { color: var(--lune); background: rgba(244, 240, 232, .04); border: 1px solid var(--filet-2); }
.btn-ligne:hover { border-color: rgba(255, 180, 110, .55); box-shadow: 0 0 28px rgba(255, 180, 110, .18); }
.btn-encre { color: var(--lune); background: var(--encre); box-shadow: 0 12px 30px -14px rgba(21, 21, 43, .7); }
.btn-encre:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -14px rgba(21, 21, 43, .7), 0 10px 40px -12px rgba(240, 138, 60, .55); }
.btn-sm { height: 42px; padding: 0 18px; font-size: 14.5px; }
.btn-grand { height: 62px; padding: 0 34px; font-size: 17px; }

/* ---------- En-tête ---------- */
.entete { position: fixed; inset: 0 0 auto 0; z-index: 50; height: 72px; }
.entete::before {
  content: ""; position: absolute; inset: 0;
  background: rgba(9, 10, 26, .95);
  border-bottom: 1px solid var(--filet);
  opacity: 0; transition: opacity .4s var(--ease);
}
.entete.est-defile::before { opacity: 1; }
.entete-in { position: relative; height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--lune); }
.logo-arche { width: 22px; height: 26px; }
.logo-mot { font-size: 27px; font-weight: 400; letter-spacing: -.02em; line-height: 1; padding-bottom: 3px; }
.menu { display: flex; gap: 30px; }
.menu a { position: relative; font-size: 15px; color: var(--brume); padding: 6px 0; transition: color .3s; }
.menu a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--aube-clair), var(--aube-fonce));
  box-shadow: 0 0 10px rgba(255, 180, 110, .7);
  transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.menu a:hover { color: var(--lune); }
.menu a:hover::after { transform: scaleX(1); }
@media (max-width: 900px) { .menu { display: none; } }
@media (max-width: 40rem) { .entete { height: 62px; } .logo-mot { font-size: 24px; } }

/* ---------- Ciel (haut et appel final) ---------- */
.ciel { position: relative; overflow: hidden; isolation: isolate; background: var(--nuit); }
.ciel-fond { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.ciel-fond > span { position: absolute; }
.ciel-degrade {
  inset: 0;
  background:
    radial-gradient(42% 34% at 74% 80%, rgba(255, 170, 100, .20), transparent 70%),
    radial-gradient(110% 90% at 68% -12%, #3D42A6 0%, #262A72 30%, #121440 62%, var(--nuit) 100%);
}
.ciel-degrade.bas {
  background:
    radial-gradient(40% 40% at 50% 46%, rgba(224, 88, 42, .22), transparent 70%),
    radial-gradient(110% 90% at 50% 120%, #3D42A6 0%, #23266A 32%, #101236 64%, var(--nuit) 100%);
}
.halo-ciel { border-radius: 50%; filter: blur(70px); will-change: transform; animation: halo 20s var(--ease-io) infinite alternate; }
.halo-ciel.h1 { width: min(60vw, 820px); height: min(60vw, 820px); left: -12%; top: -30%; background: radial-gradient(circle, rgba(88, 96, 220, .45), transparent 65%); }
.halo-ciel.h2 { width: min(48vw, 640px); height: min(48vw, 640px); right: -8%; top: 8%; background: radial-gradient(circle, rgba(150, 110, 220, .30), transparent 65%); animation-duration: 24s; animation-delay: -8s; }
@keyframes halo { from { transform: translate3d(0, 0, 0) scale(.98); } to { transform: translate3d(36px, 28px, 0) scale(1.05); } }

.etoiles {
  left: 0; right: 0; top: -700px; bottom: 0;
  background-image:
    radial-gradient(circle at 37px 61px, rgba(255, 255, 255, .9) 0 1px, transparent 1.6px),
    radial-gradient(circle at 211px 143px, rgba(255, 255, 255, .7) 0 .8px, transparent 1.4px),
    radial-gradient(circle at 402px 37px, rgba(255, 236, 214, .9) 0 1.1px, transparent 1.7px),
    radial-gradient(circle at 583px 222px, rgba(255, 255, 255, .6) 0 .8px, transparent 1.4px),
    radial-gradient(circle at 119px 318px, rgba(255, 255, 255, .8) 0 1px, transparent 1.6px),
    radial-gradient(circle at 330px 405px, rgba(255, 255, 255, .5) 0 .7px, transparent 1.3px),
    radial-gradient(circle at 501px 489px, rgba(255, 230, 200, .85) 0 1px, transparent 1.6px),
    radial-gradient(circle at 662px 371px, rgba(255, 255, 255, .7) 0 .9px, transparent 1.5px),
    radial-gradient(circle at 263px 597px, rgba(255, 255, 255, .8) 0 1px, transparent 1.6px),
    radial-gradient(circle at 618px 652px, rgba(255, 255, 255, .5) 0 .7px, transparent 1.3px),
    radial-gradient(circle at 57px 520px, rgba(255, 255, 255, .6) 0 .8px, transparent 1.4px);
  background-size: 700px 700px;
  animation: derive 120s linear infinite;
}
.etoiles.e2 { background-size: 430px 430px; opacity: .55; animation-duration: 90s; transform: scale(-1, 1); }
@keyframes derive { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(0, 700px, 0); } }
.etoiles.e2 { animation-name: derive2; }
@keyframes derive2 { from { transform: scale(-1, 1) translate3d(0, 0, 0); } to { transform: scale(-1, 1) translate3d(0, 430px, 0); } }

.filante {
  top: 14%; left: 8%;
  width: 150px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .95) 70%, var(--aube-clair));
  filter: drop-shadow(0 0 6px rgba(255, 200, 150, .9));
  opacity: 0;
  animation: filante 9s var(--ease) 2.5s infinite;
}
.filante.f2 { top: 6%; left: 46%; width: 110px; animation-duration: 11s; animation-delay: 7s; }
@keyframes filante {
  0% { opacity: 0; transform: rotate(16deg) translateX(0); }
  3% { opacity: 1; }
  12% { opacity: 0; transform: rotate(16deg) translateX(760px); }
  100% { opacity: 0; transform: rotate(16deg) translateX(760px); }
}
.vignette { inset: 0; background: radial-gradient(ellipse at center, transparent 45%, rgba(3, 3, 12, .45) 100%); }
.grain {
  inset: 0; opacity: .06; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Haut de page ---------- */
.haut { min-height: max(760px, 100svh); display: flex; align-items: center; }
.haut-grille {
  display: grid; grid-template-columns: minmax(0, 1.32fr) minmax(0, .68fr);
  align-items: center; gap: 32px;
  padding-top: 132px; padding-bottom: 56px;
}
.haut-texte .tag { margin-bottom: 28px; }
.hero-sub { margin-top: 28px; font-size: 19px; line-height: 1.5; color: var(--brume); max-width: 33em; text-wrap: pretty; }
.haut-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }
.haut-puces { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 30px; font-size: 14.5px; color: var(--brume); }
.haut-puces li { display: inline-flex; align-items: center; gap: 9px; }
.haut-puces li::before { content: ""; width: 14px; height: 14px; border-radius: 50%; border: 1px solid rgba(255, 180, 110, .7); background: radial-gradient(circle, var(--aube) 0 2.5px, transparent 3px); }
.haut-objet { position: relative; display: grid; place-items: center; padding: 40px 0 60px; }
.entree { animation: monte 1s var(--ease) both; animation-delay: var(--d, 0s); }
@keyframes monte { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }

.etiquette-flottante {
  position: absolute; z-index: 3;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 9px 14px 9px 10px; border-radius: 999px;
  background: rgba(16, 18, 42, .72);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border: 1px solid var(--filet-2);
  font-size: 13.5px; font-weight: 500; color: var(--lune); white-space: nowrap;
  box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .7);
  animation: flotte 6s var(--ease-io) infinite alternate;
}
.ef-h { font-family: var(--serif); font-style: italic; font-size: 15px; color: var(--aube); padding: 2px 8px; border-radius: 999px; background: rgba(255, 180, 110, .12); }
.ef1 { left: -6%; top: 24%; }
.ef2 { right: -4%; bottom: 20%; animation-delay: -3s; }
@keyframes flotte { from { transform: translateY(-6px); } to { transform: translateY(6px); } }

/* ---------- L'objet ---------- */
.objet {
  --w: 300px;
  --f1: #FBF7F0; --f2: #E6DDCF; --f3: #B3A795; --grille: rgba(40, 30, 20, .38);
  position: relative; width: var(--w); height: calc(var(--w) * 1.2);
  flex: none;
}
.objet[data-finition="ardoise"] { --f1: #555873; --f2: #2C2E43; --f3: #14152A; --grille: rgba(255, 255, 255, .22); }
.objet[data-finition="terre"] { --f1: #E39C7E; --f2: #B5654A; --f3: #77392A; --grille: rgba(50, 15, 5, .40); }
.objet-corps { position: absolute; inset: 0; z-index: 2; }
.objet-cadre {
  position: absolute; inset: 0;
  border-radius: 50% 50% 9% 9% / 41.7% 41.7% 7.5% 7.5%;
  background: linear-gradient(150deg, var(--f1), var(--f2) 45%, var(--f3));
  box-shadow:
    inset 0 1.5px 0 rgba(255, 255, 255, .55),
    inset 0 -3px 8px rgba(0, 0, 0, .25),
    inset 2px 0 4px rgba(255, 255, 255, .18),
    0 34px 60px -24px rgba(0, 0, 0, .75);
  transition: background .6s var(--ease);
}
.objet-vitre {
  position: absolute;
  top: calc(var(--w) * .055); left: calc(var(--w) * .055); right: calc(var(--w) * .055); bottom: calc(var(--w) * .17);
  border-radius: 50% 50% 5% 5% / 46% 46% 4% 4%;
  overflow: hidden; isolation: isolate;
  background: linear-gradient(180deg, #1B1D3B, #0C0D21);
  box-shadow: inset 0 3px 10px rgba(0, 0, 0, .7), 0 0 0 1px rgba(0, 0, 0, .25);
}
.objet .l { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s var(--ease); }
.l-nuit { background: radial-gradient(80% 45% at 50% 105%, rgba(70, 78, 170, .35), transparent 70%); }
.l-descente { background: radial-gradient(130% 75% at 50% 108%, #FF9A5A 0%, #E0582A 26%, #7A2433 56%, #231531 84%, #15132B 100%); }
.l-respire { background: #150F28; overflow: hidden; }
.souffle {
  position: absolute; inset: -12%;
  background: radial-gradient(52% 44% at 50% 60%, #FFC890 0%, #F08A3C 34%, rgba(122, 36, 51, .75) 64%, transparent 86%);
  animation: souffle 10s var(--ease-io) infinite;
}
@keyframes souffle {
  0% { transform: scale(.62); opacity: .55; }
  40% { transform: scale(1.06); opacity: 1; }
  100% { transform: scale(.62); opacity: .55; }
}
.l-aube { background: radial-gradient(125% 72% at 50% 106%, #FFF1DA 0%, #FFD7A8 17%, #FFB46E 34%, #E8784A 53%, #6B3A6E 76%, #2B2F7A 100%); }
.l-journal { background: radial-gradient(140% 110% at 50% 82%, #FFF7EA 0%, #FFE6C6 34%, #FFC88E 64%, #F0A060 100%); }
.objet[data-mode="nuit"] .l-nuit,
.objet[data-mode="descente"] .l-descente,
.objet[data-mode="respire"] .l-respire,
.objet[data-mode="aube"] .l-aube,
.objet[data-mode="journal"] .l-journal { opacity: 1; }
.vitre-grain { position: absolute; inset: 0; background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .045) 0 1px, transparent 1px 5px); }
.vitre-reflet { position: absolute; inset: 0; background: linear-gradient(118deg, rgba(255, 255, 255, .22) 0%, rgba(255, 255, 255, .05) 28%, transparent 42%); }
.objet-grille {
  position: absolute; left: 30%; right: 30%;
  bottom: calc(var(--w) * .062); height: calc(var(--w) * .042);
  background: radial-gradient(circle, var(--grille) 0 1.25px, transparent 1.8px) 0 0 / 7px 7px;
  border-radius: 4px;
}
.objet-couronne {
  position: absolute; right: calc(var(--w) * -.03); top: 58%;
  width: calc(var(--w) * .05); height: calc(var(--w) * .17);
  border-radius: 4px;
  background:
    repeating-linear-gradient(0deg, rgba(0, 0, 0, .2) 0 1px, transparent 1px 3px),
    linear-gradient(90deg, var(--f3), var(--f1) 55%, var(--f2));
}
.objet-halo {
  position: absolute; left: 50%; top: 46%; z-index: 0;
  width: calc(var(--w) * 2.2); height: calc(var(--w) * 2.2);
  margin: calc(var(--w) * -1.1) 0 0 calc(var(--w) * -1.1);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 176, 106, .50) 0%, rgba(240, 138, 60, .16) 36%, transparent 66%);
  opacity: 0; transition: opacity 1.2s var(--ease); pointer-events: none;
}
.objet-halo.halo-braise { background: radial-gradient(circle, rgba(232, 96, 50, .48) 0%, rgba(180, 50, 40, .14) 36%, transparent 66%); }
.objet[data-mode="aube"] .halo-chaud { opacity: .85; }
.objet[data-mode="journal"] .halo-chaud { opacity: 1; }
.objet[data-mode="respire"] .halo-chaud { opacity: .45; }
.objet[data-mode="descente"] .halo-braise { opacity: .8; }
.objet-table {
  position: absolute; left: 50%; z-index: 1;
  bottom: calc(var(--w) * -.07);
  width: calc(var(--w) * 2); height: calc(var(--w) * .26);
  margin-left: calc(var(--w) * -1);
  background:
    radial-gradient(28% 26% at 50% 42%, rgba(0, 0, 0, .55), transparent 100%),
    radial-gradient(50% 50% at 50% 45%, rgba(255, 170, 100, .42), transparent 72%);
  transition: opacity 1.2s var(--ease);
}
.objet[data-mode="nuit"] .objet-table { opacity: .35; }
.objet[data-mode="descente"] .objet-table { opacity: .75; }
.respire[data-mode="aube"] .halo-chaud { animation: respire 6s var(--ease-io) infinite alternate; }
.respire[data-mode="descente"] .halo-braise { animation: respire 6s var(--ease-io) infinite alternate; }
@keyframes respire { from { opacity: .62; } to { opacity: 1; } }
.objet-haut { --w: 300px; }
.objet-nuit { --w: 210px; }
.objet-studio { --w: 300px; }
.objet-mini { --w: 104px; }
.objet-final { --w: 150px; margin-bottom: 48px; }

/* ---------- Sections ---------- */
.sec { position: relative; padding-block: var(--section); }
.papier { background: var(--papier); color: var(--encre); }
.papier-2 { background: var(--papier-2); color: var(--encre); border-top: 1px solid var(--trait); }
.nuit-sec { background: var(--nuit); overflow: hidden; isolation: isolate; }
.nappe {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(120% 260px at 50% 0, rgba(255, 180, 110, .13), transparent 72%),
    radial-gradient(90% 340px at 50% 100%, rgba(61, 66, 166, .30), transparent 75%);
}
.couture::before, .couture-haut::before {
  content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 2px; z-index: 3;
  background: linear-gradient(90deg, transparent, rgba(255, 180, 110, .7) 50%, transparent);
  box-shadow: 0 0 24px rgba(255, 180, 110, .5);
  pointer-events: none;
}
.tete { margin-bottom: 64px; max-width: 820px; }
.tete .tag { margin-bottom: 24px; }
.tete .lede { margin-top: 22px; }
.tete-centre { margin-inline: auto; text-align: center; }
.tete-centre .lede { margin-inline: auto; }
.tete-large { max-width: 980px; margin-bottom: 40px; }

/* ---------- Écran (cartes sombres sur papier) ---------- */
.ecran {
  position: relative;
  background: linear-gradient(180deg, var(--nuit-2), #0B0C1F);
  border: 1px solid rgba(21, 21, 43, .9);
  border-radius: 32px;
  color: var(--lune);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .06),
    0 60px 120px -50px rgba(21, 21, 43, .7),
    0 40px 90px -60px rgba(240, 138, 60, .55);
}

/* ---------- Une nuit ---------- */
.nuit-ecran {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  padding: 14px; gap: 14px;
}
.nuit-scene {
  position: relative; overflow: hidden; isolation: isolate;
  min-height: 560px; border-radius: 22px;
  display: grid; place-items: center;
  background: #07081A;
}
.sc { position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity 1.4s var(--ease); }
.sc-soir { background: linear-gradient(180deg, #120F2E 0%, #2A1736 55%, #4A1F2A 100%); }
.sc-nuit { background: linear-gradient(180deg, #05061A, #0B0D26); overflow: hidden; }
.sc-nuit .etoiles { position: absolute; animation-duration: 160s; }
.sc-aube { background: linear-gradient(180deg, #1A1E58 0%, #4A3A78 45%, #B8685E 82%, #F2A574 100%); }
.sc-jour { background: linear-gradient(180deg, #4B579E 0%, #9C8DB4 50%, #F0C6A2 100%); }
.nuit-ecran[data-moment="0"] .sc-soir, .nuit-ecran[data-moment="1"] .sc-soir { opacity: 1; }
.nuit-ecran[data-moment="2"] .sc-nuit { opacity: 1; }
.nuit-ecran[data-moment="3"] .sc-aube { opacity: 1; }
.nuit-ecran[data-moment="4"] .sc-jour { opacity: 1; }
.nuit-scene::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 26%; z-index: -1;
  background: linear-gradient(180deg, rgba(7, 8, 26, .0), rgba(7, 8, 26, .65) 30%, rgba(7, 8, 26, .9));
  border-top: 1px solid rgba(255, 255, 255, .06);
}
.objet-nuit { margin-top: 30px; }
.nuit-heure {
  position: absolute; left: 26px; top: 20px;
  font-size: 56px; font-weight: 300; letter-spacing: -.03em; line-height: 1;
  color: rgba(244, 240, 232, .92);
  font-variant-numeric: tabular-nums;
}
.nuit-heure-n { display: inline-block; transition: opacity .4s var(--ease), transform .5s var(--ease); }
.nuit-heure-n.change { opacity: 0; transform: translateY(8px); }
.nuit-panneau { display: flex; flex-direction: column; justify-content: center; padding: 10px 10px 10px 14px; }
.moments { display: grid; gap: 4px; }
.moment {
  width: 100%; text-align: left;
  display: grid; grid-template-columns: 76px 1fr; column-gap: 14px;
  padding: 15px 18px; border-radius: 18px;
  border: 1px solid transparent;
  transition: background-color .4s var(--ease), border-color .4s var(--ease), opacity .4s var(--ease);
  opacity: .6;
}
.moment:hover { opacity: .9; }
.moment.est-actif { opacity: 1; background: rgba(244, 240, 232, .05); border-color: var(--filet-2); }
.moment-h { grid-row: span 2; font-style: italic; font-size: 17px; color: var(--brume); padding-top: 1px; font-variant-numeric: tabular-nums; }
.moment.est-actif .moment-h { color: var(--aube); }
.moment-t { font-size: 17px; font-weight: 600; }
.moment-d { font-size: 14.5px; line-height: 1.45; color: var(--brume); margin-top: 3px; }
.rail { grid-column: 1 / -1; position: relative; padding: 14px 24px 18px; }
.rail-piste { position: relative; display: block; height: 4px; border-radius: 4px; background: rgba(244, 240, 232, .10); }
.rail-plein {
  position: absolute; inset: 0; border-radius: 4px;
  background: linear-gradient(90deg, var(--braise), var(--aube) 70%, var(--aube-clair));
  box-shadow: 0 0 14px rgba(255, 180, 110, .55);
  transform-origin: left; transform: scaleX(var(--p, .054));
  transition: transform 1.2s var(--ease);
}
.rail-point {
  position: absolute; top: 50%; left: 0; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%;
  background: var(--aube-clair); box-shadow: 0 0 0 4px rgba(255, 180, 110, .25), 0 0 16px var(--aube);
  transform: translateX(var(--px, 0px)); transition: transform 1.2s var(--ease);
}
.rail-reperes { position: relative; display: block; height: 20px; margin-top: 12px; font-size: 13px; color: var(--brume-2); }
.rail-reperes span { position: absolute; left: calc(var(--x) * 100%); transform: translateX(calc(var(--x) * -100%)); white-space: nowrap; }

/* ---------- Ce qu'il n'a pas ---------- */
.sans-liste { border-top: 1px solid var(--filet); }
.sans-ligne {
  display: grid; grid-template-columns: minmax(0, 1fr) 340px; align-items: end; gap: 32px;
  padding: 22px 0 26px; border-bottom: 1px solid var(--filet);
}
.sans-mot {
  position: relative; justify-self: start;
  font-size: clamp(54px, 10.5vw, 160px); font-weight: 300; line-height: .92; letter-spacing: -.04em;
  color: var(--lune);
  transition: opacity .9s var(--ease) .5s;
}
.sans-mot .barre {
  position: absolute; left: -2%; right: -2%; top: 55%;
  height: clamp(3px, .42vw, 6px); border-radius: 6px;
  background: linear-gradient(90deg, var(--aube-clair), var(--aube-fonce));
  box-shadow: 0 0 18px rgba(255, 170, 100, .75), 0 0 40px rgba(255, 170, 100, .35);
  transform: scaleX(0); transform-origin: left;
  transition: transform .9s var(--ease) var(--b, .15s);
}
.js .sans-ligne.en-vue .barre { transform: scaleX(1); }
.js .sans-ligne.en-vue .sans-mot { opacity: .5; }
.no-js .sans-mot .barre, html:not(.js) .sans-mot .barre { transform: scaleX(1); }
.sans-note { font-size: 16px; line-height: 1.5; color: var(--brume); padding-bottom: 14px; }

/* ---------- Journal ---------- */
.journal-grille { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 72px; align-items: center; }
.journal-texte .tag { margin-bottom: 24px; }
.journal-texte .lede { margin-top: 22px; }
.points { margin-top: 32px; display: grid; gap: 18px; }
.points li { position: relative; padding-left: 30px; font-size: 16.5px; color: var(--encre-2); }
.points li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%;
  background: radial-gradient(circle, var(--aube-fonce) 0 3px, transparent 3.5px), rgba(240, 138, 60, .14);
  border: 1px solid rgba(169, 72, 26, .35);
}
.points strong { color: var(--encre); font-weight: 600; }
.lecteur { padding: 30px 30px 24px; }
.lecteur-tete { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 26px; }
.lecteur-titre { font-size: 28px; font-weight: 340; letter-spacing: -.02em; }
.lecteur-ed { font-size: 13.5px; color: var(--brume); border: 1px solid var(--filet-2); border-radius: 999px; padding: 5px 12px; white-space: nowrap; }
.onde { position: relative; height: 92px; display: flex; align-items: center; gap: 3px; }
.onde i {
  flex: 1; height: 100%; border-radius: 3px;
  background: rgba(244, 240, 232, .20);
  transform: scaleY(var(--h, .4));
  transition: background-color .3s;
}
.onde i.lue { background: linear-gradient(180deg, var(--aube-clair), var(--aube-fonce)); }
.onde i.vive { animation: vibre .9s var(--ease-io) infinite alternate; }
@keyframes vibre { from { transform: scaleY(calc(var(--h, .4) * .55)); } to { transform: scaleY(var(--h, .4)); } }
.tete-lecture {
  position: absolute; top: -8px; bottom: -8px; left: 0; width: 2px; border-radius: 2px;
  background: var(--lune); box-shadow: 0 0 12px rgba(255, 215, 168, .9);
  transform: translateX(var(--tx, 0px));
}
.onde-lue { display: none; }
.lecteur-temps { display: flex; justify-content: space-between; margin-top: 14px; font-size: 13.5px; color: var(--brume); font-variant-numeric: tabular-nums; }
.compteur { color: var(--aube); font-weight: 600; }
.sommaire { margin-top: 22px; border-top: 1px solid var(--filet); }
.sommaire li {
  display: grid; grid-template-columns: 30px 1fr auto; align-items: center; gap: 12px;
  padding: 13px 4px; border-bottom: 1px solid var(--filet);
  font-size: 15.5px; color: var(--brume);
  transition: color .3s, opacity .3s;
}
.som-n { width: 24px; height: 24px; border-radius: 50%; border: 1px solid var(--filet-2); display: grid; place-items: center; font-size: 12px; font-weight: 600; }
.som-d { font-variant-numeric: tabular-nums; font-size: 14px; }
.sommaire li.est-lu { opacity: .55; }
.sommaire li.est-en-cours { color: var(--lune); }
.sommaire li.est-en-cours .som-n { background: var(--aube); border-color: var(--aube); color: var(--encre); box-shadow: 0 0 14px rgba(255, 180, 110, .6); }
.lecteur-pied { margin-top: 16px; font-size: 13px; color: var(--brume-2); }

/* ---------- Fonctions ---------- */
.fonctions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.fn {
  position: relative;
  padding: 16px 16px 28px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(25, 28, 61, .85), rgba(16, 18, 42, .85));
  border: 1px solid var(--filet);
  transition: border-color .5s var(--ease), box-shadow .5s var(--ease);
}
.fn:hover { border-color: rgba(255, 180, 110, .45); box-shadow: 0 0 32px rgba(255, 180, 110, .12), 0 0 80px rgba(255, 180, 110, .06); }
.fn > .card-t, .fn > p { padding-inline: 12px; }
.fn > .card-t { margin-top: 24px; }
.fn > p { font-size: 15.5px; color: var(--brume); line-height: 1.5; }
.fn-large { grid-column: span 2; }
.fn-pleine { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); align-items: center; gap: 24px; padding-bottom: 16px; }
.fn-pleine-texte { padding: 12px 24px 12px 8px; }
.fn-pleine-texte p { font-size: 15.5px; color: var(--brume); }
.fn-ui {
  position: relative; height: 200px; overflow: hidden; isolation: isolate;
  border-radius: 18px; background: #0A0B1D; border: 1px solid var(--filet);
}

/* aube */
.ui-aube { background: linear-gradient(180deg, #191C3D 0%, #4A3A78 45%, #C9705A 80%, #FFB46E 100%); }
.ui-aube-ciel { position: absolute; inset: 0; background: linear-gradient(180deg, #0A0B1D, #141638 70%, #1E1A3A); animation: aube-ciel 8s var(--ease-io) infinite; }
.ui-aube-soleil {
  position: absolute; left: 50%; bottom: 0; width: 220px; height: 220px; margin-left: -110px;
  border-radius: 50%;
  background: radial-gradient(circle, #FFF1DA 0 10%, #FFD7A8 18%, rgba(255, 180, 110, .7) 34%, rgba(240, 138, 60, .25) 52%, transparent 70%);
  animation: aube-soleil 8s var(--ease-io) infinite;
}
.ui-aube-sol { position: absolute; left: 0; right: 0; bottom: 0; height: 44px; background: linear-gradient(180deg, rgba(10, 11, 29, .85), #0A0B1D); border-top: 1px solid rgba(255, 215, 168, .25); }
.ui-aube-k { position: absolute; left: 18px; right: 18px; bottom: 12px; display: flex; justify-content: space-between; font-size: 12.5px; font-weight: 600; color: var(--brume); }
.ui-aube-k span:last-child { color: var(--aube-clair); }
.ui-aube-ciel { animation: aube-ciel 7s var(--ease-io) infinite alternate; }
.ui-aube-soleil { animation: aube-soleil 7s var(--ease-io) infinite alternate; }
@keyframes aube-ciel { from { opacity: .8; } to { opacity: 0; } }
@keyframes aube-soleil { from { transform: translateY(120px); opacity: .6; } to { transform: translateY(40px); opacity: 1; } }

/* geste */
.ui-geste { display: grid; place-items: center; background: radial-gradient(70% 70% at 50% 40%, #1A1D40, #0A0B1D); }
.geste-dessus {
  position: absolute; left: 50%; top: 50%; width: 170px; height: 74px; margin: -48px 0 0 -85px;
  border-radius: 37px;
  background: linear-gradient(160deg, #FBF7F0, #E6DDCF 50%, #B3A795);
  box-shadow: inset 0 1px 0 #fff, 0 20px 30px -14px rgba(0, 0, 0, .8);
}
.geste-onde {
  position: absolute; left: 50%; top: 50%; width: 46px; height: 46px; margin: -34px 0 0 -23px;
  border-radius: 50%; border: 2px solid var(--aube);
  box-shadow: 0 0 16px rgba(255, 180, 110, .8);
  animation: tape 2.4s var(--ease) infinite;
}
@keyframes tape { 0% { transform: scale(.3); opacity: 0; } 15% { opacity: 1; } 70%, 100% { transform: scale(1.8); opacity: 0; } }
.geste-couronne {
  position: absolute; left: 50%; bottom: 22px; width: 44px; height: 44px; margin-left: -22px;
  border-radius: 50%;
  background: repeating-conic-gradient(from 0deg, #CFC5B5 0 6deg, #A99D8B 6deg 12deg);
  box-shadow: inset 0 0 0 5px #E6DDCF, 0 6px 14px rgba(0, 0, 0, .6);
  animation: tourne 5s var(--ease-io) infinite alternate;
}
.geste-cran { position: absolute; left: 50%; top: 4px; width: 4px; height: 9px; margin-left: -2px; border-radius: 2px; background: var(--aube-fonce); box-shadow: 0 0 8px var(--aube); }
@keyframes tourne { from { transform: rotate(-70deg); } to { transform: rotate(90deg); } }

/* descente */
.ui-descente { display: grid; place-items: center; background: radial-gradient(60% 60% at 50% 55%, rgba(224, 88, 42, .35), #0A0B1D 75%); }
.ui-descente::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(45% 45% at 50% 55%, rgba(255, 154, 90, .5), transparent 70%);
  animation: baisse 7s var(--ease-io) infinite;
}
@keyframes baisse { 0% { opacity: 1; } 85% { opacity: .1; } 100% { opacity: 1; } }
.anneau { position: absolute; width: 140px; height: 140px; transform: rotate(-90deg); }
.anneau circle { fill: none; stroke-width: 4; }
.anneau-fond { stroke: rgba(244, 240, 232, .12); }
.anneau-plein { stroke: var(--braise); stroke-linecap: round; stroke-dasharray: 64 100; filter: drop-shadow(0 0 6px rgba(224, 88, 42, .9)); }
.descente-n { position: relative; font-size: 44px; font-weight: 300; line-height: 1; letter-spacing: -.03em; }
.descente-n small { font-family: var(--sans); font-size: 13px; color: var(--brume); margin-left: 4px; letter-spacing: 0; }

/* respiration */
.ui-respire { display: grid; place-items: center; }
.respire-rond {
  position: absolute; left: 50%; top: 50%; width: 150px; height: 150px; margin: -75px 0 0 -75px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 215, 168, .95) 0%, rgba(255, 180, 110, .6) 35%, rgba(240, 138, 60, .15) 62%, transparent 72%);
  animation: souffle-ui 10s var(--ease-io) infinite;
}
@keyframes souffle-ui { 0% { transform: scale(.45); } 40% { transform: scale(1.12); } 100% { transform: scale(.45); } }
.respire-mot { position: absolute; bottom: 16px; left: 0; right: 0; text-align: center; font-size: 13.5px; font-weight: 600; color: var(--lune); }
.r-in { animation: mot-in 10s linear infinite; }
.r-out { animation: mot-out 10s linear infinite; }
@keyframes mot-in { 0%, 36% { opacity: 1; } 40%, 96% { opacity: 0; } 100% { opacity: 1; } }
@keyframes mot-out { 0%, 36% { opacity: 0; } 40%, 96% { opacity: 1; } 100% { opacity: 0; } }

/* sons */
.ui-sons { padding: 14px; }
.ui-sons ul { display: grid; gap: 6px; }
.ui-sons li {
  display: flex; align-items: center; justify-content: space-between;
  height: 38px; padding: 0 14px; border-radius: 12px;
  font-size: 14px; color: var(--brume); background: rgba(244, 240, 232, .03); border: 1px solid transparent;
}
.ui-sons li.est-actif { color: var(--lune); background: rgba(255, 180, 110, .10); border-color: rgba(255, 180, 110, .35); }
.barres { display: inline-flex; align-items: center; gap: 3px; height: 16px; }
.barres i { width: 3px; height: 16px; border-radius: 2px; background: var(--aube); transform-origin: center; animation: barre 1.1s var(--ease-io) infinite alternate; }
.barres i:nth-child(2) { animation-delay: -.3s; } .barres i:nth-child(3) { animation-delay: -.6s; } .barres i:nth-child(4) { animation-delay: -.2s; } .barres i:nth-child(5) { animation-delay: -.8s; }
@keyframes barre { from { transform: scaleY(.25); } to { transform: scaleY(1); } }

/* radio */
.ui-radio { height: 170px; background: linear-gradient(180deg, #12143A, #0A0B1D); }
.cadran {
  position: absolute; left: 0; right: 0; top: 50%; height: 70px; margin-top: -35px; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
}
.cadran-piste { display: flex; align-items: flex-end; gap: 22px; height: 100%; width: max-content; animation: cadran 30s linear infinite; padding-bottom: 6px; }
.cadran-piste span { font-family: var(--serif); font-size: 22px; font-style: italic; color: var(--brume); line-height: 1; padding-bottom: 32px; position: relative; }
.cadran-piste span::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 1px; height: 24px; background: rgba(244, 240, 232, .5); }
.cadran-piste i { width: 1px; height: 12px; background: rgba(244, 240, 232, .22); }
@keyframes cadran { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.cadran-aiguille { position: absolute; left: 50%; top: 22px; bottom: 22px; width: 2px; margin-left: -1px; border-radius: 2px; background: var(--aube); box-shadow: 0 0 14px var(--aube), 0 0 30px rgba(255, 180, 110, .5); }

/* ---------- Étapes ---------- */
.etapes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.etape {
  position: relative; padding: 14px 14px 30px;
  border-radius: 28px; color: var(--lune);
  background: radial-gradient(120% 80% at 50% 0%, var(--nuit-3), var(--nuit) 75%);
  box-shadow: 0 30px 80px -40px rgba(21, 21, 43, .65);
  transition: box-shadow .5s var(--ease);
}
.etape:hover { box-shadow: 0 30px 80px -40px rgba(21, 21, 43, .65), 0 0 0 1px rgba(255, 180, 110, .35), 0 0 40px rgba(255, 180, 110, .14); }
.etape-ui { position: relative; height: 230px; border-radius: 18px; overflow: hidden; background: #0A0B1D; border: 1px solid var(--filet); }
.etape-n { margin: 26px 16px 6px; font-size: 40px; font-style: italic; font-weight: 300; line-height: 1; color: var(--aube); }
.etape .card-t, .etape > p:last-child { padding-inline: 16px; }
.etape > p:last-child { font-size: 15.5px; color: var(--brume); }

.ui-appli { display: grid; justify-items: center; padding-top: 22px; background: radial-gradient(70% 70% at 50% 30%, #1A1D40, #0A0B1D); }
.tel {
  position: relative; width: 190px; height: 260px; border-radius: 30px; padding: 30px 14px 0;
  background: #F7F2EA; color: var(--encre);
  box-shadow: 0 0 0 6px #22243F, 0 30px 50px -20px rgba(0, 0, 0, .8);
}
.tel-encoche { position: absolute; left: 50%; top: 9px; width: 56px; height: 14px; margin-left: -28px; border-radius: 10px; background: #22243F; }
.tel-titre { font-family: var(--serif); font-size: 21px; margin: 2px 4px 8px; letter-spacing: -.01em; }
.tel-ligne { display: flex; align-items: center; justify-content: space-between; height: 30px; padding: 0 4px; border-bottom: 1px solid #E6DDCF; font-size: 12.5px; }
.tel-ligne b { font-weight: 600; font-variant-numeric: tabular-nums; }
.interrupteur { position: relative; width: 30px; height: 18px; border-radius: 9px; background: #D9D0C2; }
.interrupteur::after { content: ""; position: absolute; left: 2px; top: 2px; width: 14px; height: 14px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, .25); }
.interrupteur.est-on { background: linear-gradient(180deg, var(--aube-clair), var(--aube-fonce)); }
.interrupteur.est-on::after { transform: translateX(12px); }

.ui-entree { background: linear-gradient(180deg, #0D0F2A, #090A1A); }
.porte {
  position: absolute; right: 30px; bottom: 0; width: 120px; height: 190px;
  border-radius: 60px 60px 0 0;
  border: 3px solid #2B2E55; border-bottom: 0;
  background: #070818; overflow: hidden;
}
.porte-lueur { position: absolute; inset: 0; background: radial-gradient(70% 55% at 50% 100%, rgba(255, 180, 110, .75), rgba(240, 138, 60, .2) 55%, transparent 80%); animation: respire 6s var(--ease-io) infinite alternate; }
.console { position: absolute; left: 26px; bottom: 54px; width: 110px; height: 6px; border-radius: 3px; background: #3A3D66; box-shadow: 0 1px 0 rgba(255, 255, 255, .15); }
.console::after { content: ""; position: absolute; left: 12px; right: 12px; top: 6px; height: 54px; background: linear-gradient(90deg, #2B2E55 0 4px, transparent 4px calc(100% - 4px), #2B2E55 calc(100% - 4px)); }
.mini-tel { position: absolute; left: 52px; bottom: 60px; width: 58px; height: 12px; border-radius: 4px; background: #1C1E3C; border: 1px solid #4A4D7A; }
.mini-tel::after { content: ""; position: absolute; right: -14px; top: 4px; width: 14px; height: 2px; background: #4A4D7A; }
.lune { position: absolute; left: 34px; top: 30px; width: 30px; height: 30px; border-radius: 50%; box-shadow: inset -8px 4px 0 0 #E9E2D6; transform: rotate(-20deg); }

.ui-repos { display: grid; place-items: center; background: radial-gradient(70% 70% at 50% 60%, #241E44, #0A0B1D); }
.ui-repos .objet-mini { margin-top: -16px; }
.repos-z { position: absolute; right: 18px; top: 16px; font-family: var(--serif); font-style: italic; font-size: 18px; color: var(--aube); }

/* ---------- L'objet ---------- */
.objet-mise { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: center; }
.objet-scene {
  position: relative; display: grid; justify-items: center; gap: 56px;
  padding: 70px 20px 40px; border-radius: 32px;
  background: radial-gradient(60% 55% at 50% 40%, rgba(255, 190, 130, .10), transparent 70%), linear-gradient(180deg, #121433, #0B0C20);
  border: 1px solid var(--filet);
}
.finitions { display: flex; align-items: center; gap: 12px; }
.finition { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid transparent; transition: border-color .3s, box-shadow .3s; }
.finition.est-choisie { border-color: var(--aube); box-shadow: 0 0 14px rgba(255, 180, 110, .45); }
.finition:hover:not(.est-choisie) { border-color: var(--filet-2); }
.pastille { width: 28px; height: 28px; border-radius: 50%; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), inset 0 -2px 3px rgba(0, 0, 0, .3); }
.p-craie { background: linear-gradient(150deg, #FBF7F0, #D9CFBF); }
.p-ardoise { background: linear-gradient(150deg, #555873, #1C1D33); }
.p-terre { background: linear-gradient(150deg, #E39C7E, #94493A); }
.finition-nom { margin-left: 8px; min-width: 90px; font-size: 15px; color: var(--brume); }
.objet-texte .tag { margin-bottom: 24px; }
.objet-texte .lede { margin-top: 22px; }
.fiche { margin-top: 36px; border-top: 1px solid var(--filet); }
.fiche div { display: grid; grid-template-columns: 150px 1fr; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--filet); font-size: 15.5px; }
.fiche dt { color: var(--brume-2); }
.fiche dd { color: var(--lune); }

/* ---------- Prix ---------- */
.bascule {
  position: relative; display: grid; grid-template-columns: 1fr 1fr;
  width: min(480px, 100%); margin: 0 auto 36px; padding: 6px;
  border-radius: 999px; background: #fff;
  box-shadow: 0 24px 50px -24px rgba(21, 21, 43, .35), 0 0 0 1px var(--trait);
}
.bascule-curseur {
  position: absolute; top: 6px; bottom: 6px; left: 6px; width: calc(50% - 6px);
  border-radius: 999px;
  background: linear-gradient(180deg, var(--aube-clair), var(--aube-fonce));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .55), 0 0 25px -5px rgba(240, 138, 60, .8), 0 0 50px -12px rgba(240, 138, 60, .6);
  transition: transform .4s var(--ease);
}
.bascule[data-offre="seul"] .bascule-curseur { transform: translateX(100%); }
.bascule-btn { position: relative; z-index: 1; height: 50px; border-radius: 999px; font-size: 15.5px; font-weight: 600; color: var(--encre-2); transition: color .3s; }
.bascule-btn.est-actif { color: var(--encre); }
.prix-carte {
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  border-radius: 32px; background: var(--papier-2); border: 1px solid var(--trait);
  box-shadow: 0 40px 80px -50px rgba(21, 21, 43, .35);
}
.prix-halo { position: absolute; right: -80px; top: -80px; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 180, 110, .55), transparent 70%); filter: blur(30px); z-index: -1; }
.prix-gauche { padding: 48px 48px 44px; }
.prix-droite { padding: 48px 48px 44px; border-left: 1px solid var(--trait); }
.prix-nom { font-size: 16px; font-weight: 600; color: var(--encre-2); }
.prix-ligne { display: flex; align-items: baseline; gap: 12px; margin-top: 14px; }
.prix-n { font-size: clamp(72px, 8vw, 116px); font-weight: 300; line-height: .9; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.prix-ttc { font-size: 15px; font-weight: 600; color: var(--encre-2); }
.prix-puis { margin-top: 18px; font-size: 16.5px; color: var(--encre-2); max-width: 26em; min-height: 3.1em; }
.btn-plein { margin-top: 30px; }
.prix-gauche .note { margin-top: 14px; }
.prix-inclus-t { font-size: 16px; font-weight: 600; color: var(--encre-2); margin-bottom: 18px; }
.coches { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 24px; }
.coches li { position: relative; padding-left: 28px; font-size: 15.5px; line-height: 1.4; transition: opacity .35s var(--ease); }
.coches li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 17px; height: 17px;
  background: var(--ambre-texte);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M4 10.5l4 4 8-9' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M4 10.5l4 4 8-9' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.prix-carte[data-offre="seul"] .coches li.opt { opacity: .38; text-decoration: line-through; text-decoration-color: rgba(21, 21, 43, .4); }
.prix-carte[data-offre="seul"] .coches li.opt::before { background: var(--encre-2); }
.faits { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 24px; }
.faits li { display: flex; align-items: baseline; gap: 14px; padding: 22px 26px; border-radius: 22px; background: var(--papier-2); border: 1px solid var(--trait); font-size: 15px; color: var(--encre-2); }
.fait-n { font-size: 36px; font-weight: 340; letter-spacing: -.03em; color: var(--encre); white-space: nowrap; }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: 1fr 1fr; column-gap: 56px; }
.faq-item { padding: 28px 0 30px; border-top: 1px solid var(--trait); }
.faq p { font-size: 16.5px; color: var(--encre-2); max-width: 32em; }

/* ---------- Appel final ---------- */
.final { padding: 150px 0 160px; text-align: center; }
.final-in { display: flex; flex-direction: column; align-items: center; }
.final-titre { max-width: 900px; font-size: clamp(40px, 5.6vw, 84px); line-height: 1; }
.final .lede { margin-top: 22px; }
.final .reveal:last-child { margin-top: 36px; }

/* ---------- Pied de page ---------- */
.pied { background: var(--nuit); border-top: 1px solid var(--filet); padding: 64px 0 30px; color: var(--brume); }
.pied-in { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; flex-wrap: wrap; }
.pied-marque p { margin-top: 14px; font-size: 15px; }
.pied-liens { display: flex; flex-wrap: wrap; gap: 12px 28px; font-size: 15px; }
.pied-liens a:hover { color: var(--lune); }
.pied-bas { position: relative; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 56px; padding-top: 22px; font-size: 13.5px; color: var(--brume-2); }

/* ---------- Apparitions ---------- */
.js .reveal { opacity: 0; transform: translateY(36px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.en-vue { opacity: 1; transform: none; }
.w { display: inline-block; }
.js .mots .w { opacity: 0; transform: translateY(.6em) rotate(3deg); transform-origin: left bottom; transition: opacity .85s var(--ease), transform .85s var(--ease); transition-delay: calc(var(--i) * 70ms); }
.js .mots.en-vue .w { opacity: 1; transform: none; }
.hors-vue *, .hors-vue *::before, .hors-vue *::after { animation-play-state: paused !important; }

/* ---------- Tablette ---------- */
@media (max-width: 1080px) {
  .haut-grille { grid-template-columns: 1fr; gap: 20px; padding-top: 120px; }
  .haut-objet { padding: 30px 0 40px; }
  .nuit-ecran { grid-template-columns: 1fr; }
  .nuit-scene { min-height: 440px; }
  .journal-grille, .objet-mise { grid-template-columns: 1fr; gap: 48px; }
  .fonctions { grid-template-columns: 1fr 1fr; }
  .fn-large { grid-column: 1 / -1; }
  .fn-pleine { grid-template-columns: 1fr; }
  .fn-pleine-texte { padding: 8px 12px 12px; }
  .etapes { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .sans-ligne { grid-template-columns: 1fr; gap: 10px; }
  .sans-note { padding-bottom: 0; max-width: 34em; }
}

/* ---------- Téléphone ---------- */
@media (max-width: 40rem) {
  body { font-size: 16px; }
  .hero-title { font-size: 44px; line-height: 1; }
  .hero-sub { font-size: 17px; margin-top: 22px; }
  .haut { min-height: 0; }
  .haut-grille { padding-top: 104px; padding-bottom: 72px; }
  .haut-texte .tag { margin-bottom: 22px; }
  .haut-actions { flex-direction: column; }
  .haut-actions .btn { width: 100%; }
  .objet-haut { --w: 230px; }
  .ef1 { left: 0; top: 10%; }
  .ef2 { right: 0; bottom: 8%; }
  .tete { margin-bottom: 40px; }
  .lede { font-size: 17px; }
  .nuit-ecran { padding: 10px; border-radius: 26px; }
  .nuit-scene { min-height: 360px; border-radius: 18px; }
  .objet-nuit { --w: 170px; }
  .nuit-heure { font-size: 42px; left: 18px; top: 14px; }
  .nuit-panneau { padding: 4px 0 0; }
  .moment { grid-template-columns: 64px 1fr; padding: 13px 12px; column-gap: 10px; }
  .moment-h { font-size: 15.5px; }
  .rail { padding: 10px 8px 14px; }
  .rail-reperes { font-size: 12px; }
  .rail-reperes span:nth-child(2), .rail-reperes span:nth-child(3), .rail-reperes span:nth-child(4) { display: none; }
  .moment:not(.est-actif) .moment-d { display: none; }
  .moment { padding-block: 11px; }
  .sans-ligne { padding: 18px 0 20px; }
  .sans-note { font-size: 15px; }
  .lecteur { padding: 22px 18px 18px; border-radius: 26px; }
  .lecteur-tete { flex-direction: column; align-items: flex-start; gap: 10px; }
  .lecteur-titre { font-size: 24px; }
  .onde { height: 72px; gap: 2px; }
  .fonctions { grid-template-columns: 1fr; }
  .fn, .fn-large, .fn-pleine { grid-column: auto; }
  .fn-ui { height: 180px; }
  .objet-scene { padding: 50px 12px 30px; gap: 44px; }
  .objet-studio { --w: 220px; }
  .fiche div { grid-template-columns: 1fr; gap: 2px; }
  .bascule-btn { font-size: 14.5px; }
  .prix-carte { grid-template-columns: 1fr; border-radius: 26px; }
  .prix-gauche, .prix-droite { padding: 30px 22px; }
  .prix-droite { border-left: 0; border-top: 1px solid var(--trait); }
  .btn-plein { width: 100%; }
  .coches { grid-template-columns: 1fr; gap: 12px; }
  .faits { grid-template-columns: 1fr; gap: 10px; }
  .faits li { padding: 16px 20px; }
  .fait-n { font-size: 30px; }
  .faq { grid-template-columns: 1fr; }
  .final { padding: 110px 0 120px; }
  .final .btn-grand { width: 100%; max-width: 360px; }
  .final .reveal:last-child { width: 100%; display: flex; justify-content: center; }
  .pied-bas { flex-direction: column; gap: 6px; }
}

/* ---------- Mouvement réduit ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal, .js .mots .w, .entree { opacity: 1 !important; transform: none !important; }
  .sans-mot .barre { transform: scaleX(1) !important; }
  .filante { display: none; }
}

/* ===================================================================
   Preuve sociale (marque fictive : avis, notes et médias inventés)
   =================================================================== */
.note-avis { display: flex; align-items: center; gap: 12px; margin-top: 26px; font-size: 14.5px; color: var(--brume); }
.note-avis strong { color: var(--lune); font-weight: 600; }
.etoiles-note, .avis-etoiles { display: inline-flex; gap: 3px; }
.etoiles-note i, .avis-etoiles i {
  width: 15px; height: 15px; background: var(--aube);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 1.6l2.6 5.5 6 .8-4.4 4.1 1.1 6L10 15.1 4.7 18l1.1-6L1.4 7.9l6-.8z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 1.6l2.6 5.5 6 .8-4.4 4.1 1.1 6L10 15.1 4.7 18l1.1-6L1.4 7.9l6-.8z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.etoiles-note i { filter: drop-shadow(0 0 4px rgba(255, 180, 110, .7)); }

/* bandeau presse, bas du haut de page */
.haut { flex-direction: column; justify-content: center; }
.haut > .wrap { flex: 1; }
.presse { width: 100%; padding: 0 0 44px; }
.presse-t { text-align: center; font-size: 13.5px; color: var(--brume-2); margin-bottom: 18px; }
.presse-defile {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.presse-piste { display: flex; align-items: center; gap: 72px; width: max-content; animation: defile 38s linear infinite; padding-inline: 36px; }
.presse-defile:hover .presse-piste { animation-play-state: paused; }
.pm { white-space: nowrap; color: rgba(244, 240, 232, .62); line-height: 1; transition: color .3s; }
.pm:hover { color: var(--lune); }
.pm-1 { font-family: var(--serif); font-size: 26px; font-weight: 500; letter-spacing: -.02em; }
.pm-1 i { font-weight: 300; }
.pm-2 { font-family: var(--sans); font-size: 21px; font-weight: 800; letter-spacing: -.04em; }
.pm-3 { font-family: var(--serif); font-size: 24px; font-style: italic; font-weight: 340; }
.pm-4 { font-family: var(--sans); font-size: 20px; font-weight: 500; letter-spacing: -.01em; padding: 6px 10px; border: 1.5px solid currentColor; border-radius: 6px; }
.pm-5 { font-family: var(--serif); font-size: 22px; font-weight: 400; }
.pm-5 i { font-style: italic; }
.pm-6 { font-family: var(--sans); font-size: 20px; font-weight: 700; font-style: italic; letter-spacing: -.03em; }
.pm-7 { font-family: var(--sans); font-size: 19px; font-weight: 600; letter-spacing: .02em; }
.pm-7::before { content: ""; display: inline-block; width: 10px; height: 10px; margin-right: 8px; background: currentColor; border-radius: 2px; vertical-align: 1px; }
@keyframes defile { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* avis et chiffres */
#avis { overflow: hidden; }
.chiffres { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--trait); }
.chiffres li { padding: 30px 28px 6px 0; display: grid; gap: 10px; }
.chiffres li + li { padding-left: 28px; border-left: 1px solid var(--trait); }
.chiffre-n { font-family: var(--serif); font-size: clamp(52px, 6vw, 88px); font-weight: 300; line-height: .95; letter-spacing: -.04em; font-variant-numeric: tabular-nums; color: var(--encre); }
.chiffre-n .compte { color: var(--ambre-texte); font-style: italic; }
.chiffre-t { font-size: 16px; color: var(--encre-2); max-width: 20em; }
.chiffres-source { margin-top: 22px; font-size: 13px; color: var(--encre-2); opacity: .8; }
.avis-rangs { display: grid; gap: 18px; margin-top: 64px; }
.avis-rang {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.avis-piste { display: flex; align-items: stretch; gap: 18px; width: max-content; animation: defile 60s linear infinite; padding-left: 18px; }
.avis-rang.inverse .avis-piste { animation-direction: reverse; animation-duration: 66s; }
.avis-rang:hover .avis-piste { animation-play-state: paused; }
.avis {
  width: 300px; flex: none;
  display: flex; flex-direction: column; gap: 14px;
  padding: 24px 24px 22px; border-radius: 24px;
  background: var(--papier-2); border: 1px solid var(--trait);
  box-shadow: 0 18px 40px -30px rgba(21, 21, 43, .4);
  transition: box-shadow .4s var(--ease), border-color .4s var(--ease);
}
.avis.m { width: 360px; }
.avis.l { width: 430px; }
.avis:hover { border-color: rgba(240, 138, 60, .45); box-shadow: 0 0 28px rgba(240, 138, 60, .18); }
.avis p { font-size: 16.5px; line-height: 1.5; color: var(--encre); flex: 1; }
.avis-etoiles i { background: var(--aube-fonce); }
.avis-etoiles i.vide { background: var(--trait); }
.avis-qui { font-size: 14px; font-weight: 600; color: var(--encre-2); }

/* prix posé sur la nuit */
#prix .lede { color: var(--brume); }
.prix-carte { color: var(--encre); }
.bascule { box-shadow: 0 24px 60px -24px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 255, 255, .08); }
#prix .faits li { background: rgba(244, 240, 232, .04); border-color: var(--filet); color: var(--brume); }
#prix .fait-n { color: var(--lune); }
#prix .prix-carte { box-shadow: 0 50px 100px -40px rgba(0, 0, 0, .9), 0 40px 120px -60px rgba(240, 138, 60, .45); }

/* une nuit pilotée par le défilement (ordinateur seulement) */
.nuit-indice { display: none; }
@media (min-width: 1081px) and (min-height: 760px) and (prefers-reduced-motion: no-preference) {
  .collant-actif .nuit-indice { display: flex; align-items: center; gap: 10px; margin: -36px 0 28px; font-size: 14.5px; color: var(--encre-2); }
  .collant-actif .nuit-indice::before { content: ""; width: 18px; height: 28px; border-radius: 10px; border: 1.5px solid var(--encre-2); background: radial-gradient(circle at 50% 30%, var(--aube-fonce) 0 2.5px, transparent 3px); }
  .collant-actif .nuit-piste { height: calc(var(--hc, 660px) + 220vh); }
  .collant-actif .nuit-collant { position: sticky; top: max(96px, calc(50vh - var(--hc, 660px) / 2 + 20px)); }
}

@media (max-width: 1080px) {
  .chiffres { grid-template-columns: 1fr; }
  .chiffres li, .chiffres li + li { padding: 24px 0 18px; border-left: 0; border-bottom: 1px solid var(--trait); }
}
@media (max-width: 40rem) {
  .presse { padding-bottom: 36px; }
  .presse-piste { gap: 48px; }
  .pm-1 { font-size: 22px; } .pm-3 { font-size: 21px; }
  .avis, .avis.m, .avis.l { width: 280px; }
  .avis-rangs { margin-top: 44px; }
  .note-avis { flex-wrap: wrap; gap: 8px 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .presse-defile, .avis-rang { overflow-x: auto; }
}

/* FAQ classique : réponse qui s'ouvre au clic */
.faq { align-items: start; }
.faq-item { padding: 0; }
.faq h3 { margin: 0; font-size: inherit; }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 26px 0; text-align: left;
  font-family: var(--serif); font-size: 24px; font-weight: 400; line-height: 1.2; letter-spacing: -.015em; color: var(--encre);
}
.faq-q:hover { color: var(--ambre-texte); }
.plus { position: relative; flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--trait); background: #fff; transition: transform .45s var(--ease), background-color .3s, border-color .3s; }
.plus::before, .plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; margin: -.75px 0 0 -6px; background: var(--encre); border-radius: 2px; }
.plus::after { transform: rotate(90deg); }
.faq-q:hover .plus { border-color: rgba(169, 72, 26, .45); }
.faq-q[aria-expanded="true"] .plus { transform: rotate(45deg); background: linear-gradient(180deg, var(--aube-clair), var(--aube-fonce)); border-color: transparent; }
.faq-r { display: grid; grid-template-rows: 1fr; }
.js .faq-r { grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease); }
.js .faq-r.est-ouvert { grid-template-rows: 1fr; }
.faq-r-in { overflow: hidden; }
.faq-r-in p { padding: 0 54px 26px 0; opacity: 1; transition: opacity .4s var(--ease) .1s; }
.js .faq-r:not(.est-ouvert) .faq-r-in p { opacity: 0; transition-delay: 0s; }
@media (max-width: 40rem) { .faq-q { font-size: 20px; padding: 22px 0; } .faq-r-in p { padding-right: 0; } }

.pied-bas::before { content: ""; position: absolute; top: 0; left: var(--gutter); right: var(--gutter); height: 1px; background: var(--filet); }
.geste-l { position: absolute; font-size: 12px; font-weight: 600; color: var(--brume); }
.gl-1 { left: 50%; top: 18px; transform: translateX(-50%); }
.gl-2 { left: calc(50% + 34px); bottom: 34px; }

/* haut de page : l'objet éclaire davantage le ciel */
.objet-haut .halo-chaud { background: radial-gradient(circle, rgba(255, 180, 110, .62) 0%, rgba(240, 138, 60, .22) 34%, transparent 64%); }
.objet-haut .objet-table { opacity: 1; filter: saturate(1.2); }
