/* ==========================================================================
   VALOMBRE — feuille de style du site public
   Polices : Anybody (variable, largeur 50–150 %) pour les titres et les étiquettes,
             Bona Nova pour la lecture. Hébergées localement (aucun appel externe).
   Palette tirée de la matière horlogère : nuit du Jura, émail, maillechort,
   acier bleui, rubis.
   ========================================================================== */
@font-face { font-family: "Anybody"; src: url("../polices/anybody.woff2") format("woff2"); font-weight: 100 900; font-stretch: 50% 150%; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Anybody"; src: url("../polices/anybody-ext.woff2") format("woff2"); font-weight: 100 900; font-stretch: 50% 150%; font-display: swap; unicode-range: U+0100-0130, U+0132-0151, U+0154-02AF, U+1E00-1EFF; }
@font-face { font-family: "Bona Nova"; src: url("../polices/bona-nova-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Bona Nova"; src: url("../polices/bona-nova-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Bona Nova"; src: url("../polices/bona-nova-700-normal.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  --nuit: #0a0e16; --nuit-2: #121826; --nuit-3: #1b2333;
  --email: #f3f0e8; --email-2: #e7e2d6; --blanc: #fbfaf6;
  --encre: #11141b; --encre-2: #4b505a;
  --maillechort: #cfc8b6; --laiton: #c9a455;
  --bleui: #2742c9; --bleui-clair: #9db0ff; --rubis: #c2194a;
  --f-titre: "Anybody", "Arial Narrow", system-ui, sans-serif;
  --f-texte: "Bona Nova", Georgia, "Times New Roman", serif;
  --marge: clamp(1.25rem, 4.5vw, 5rem);
  --e1: .5rem; --e2: 1rem; --e3: 1.5rem; --e4: 2.5rem; --e5: 4rem; --e6: 6.5rem; --e7: 10rem;
  --doux: cubic-bezier(.2, .8, .2, 1); --vif: cubic-bezier(.6, 0, .2, 1);
  --tete: 4.5rem;
  --fond: var(--email); --texte: var(--encre); --texte-2: var(--encre-2); --trait: rgba(17, 20, 27, .16); --accent: var(--bleui);
}
[data-theme="nuit"] { --fond: var(--nuit); --texte: var(--email); --texte-2: #b3b8c4; --trait: rgba(243, 240, 232, .16); --accent: var(--bleui-clair); }
[data-theme="jour"] { --fond: var(--email); --texte: var(--encre); --texte-2: var(--encre-2); --trait: rgba(17, 20, 27, .16); --accent: var(--bleui); }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; scroll-behavior: auto; }
body { margin: 0; background: var(--nuit); color: var(--texte); font-family: var(--f-texte); font-size: 1.1875rem; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, video, canvas, svg { display: block; max-width: 100%; }
img, video { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .22em; }
p { margin: 0 0 1em; max-width: 68ch; }
h1, h2, h3, h4 { font-family: var(--f-titre); font-weight: 560; font-stretch: 132%; line-height: 1; margin: 0 0 .5em; text-wrap: balance; letter-spacing: -.012em; }
h1 { font-size: clamp(2.3rem, min(5.7vw, 9.6vh), 5.75rem); }
h2 { font-size: clamp(2rem, 4.6vw, 4.5rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.75rem); font-stretch: 120%; line-height: 1.1; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }
::selection { background: var(--bleui); color: #fff; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.evitement { position: fixed; left: 1rem; top: -4rem; z-index: 200; background: var(--email); color: var(--encre); padding: .75rem 1rem; font-family: var(--f-titre); font-stretch: 70%; }
.evitement:focus { top: 1rem; }

/* Étiquettes : la même police, à l'extrême opposé de sa largeur */
.etiq { font-family: var(--f-titre); font-stretch: 62%; font-weight: 560; font-size: .8125rem; letter-spacing: .17em; text-transform: uppercase; color: var(--texte-2); margin: 0 0 1.1rem; display: flex; align-items: center; gap: .6rem; }
.etiq::before { content: ""; width: .44rem; height: .44rem; border-radius: 50%; background: var(--rubis); box-shadow: 0 0 0 2px color-mix(in srgb, var(--laiton) 70%, transparent); flex: none; }
.etiq.nu::before { display: none; }
.chapo { font-size: clamp(1.25rem, 1.9vw, 1.6rem); line-height: 1.45; max-width: 46ch; }
.chiffre { font-family: var(--f-titre); font-stretch: 150%; font-weight: 620; font-variant-numeric: tabular-nums; }

/* Sections */
.bloc { position: relative; background: var(--fond); color: var(--texte); padding: var(--e7) var(--marge); }
.bloc.serre { padding-block: var(--e6); }
.grille { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--e3) clamp(1rem, 2.4vw, 2.5rem); }

/* Boutons « poussoir » */
.btn { --c: var(--texte); display: inline-flex; align-items: center; gap: .8rem; min-height: 3rem; padding: .85rem 1.35rem .85rem 1.1rem; border: 1px solid var(--c); border-radius: 3px; background: transparent; color: var(--c); font-family: var(--f-titre); font-stretch: 64%; font-weight: 600; font-size: .875rem; letter-spacing: .15em; text-transform: uppercase; text-decoration: none; line-height: 1.1; position: relative; overflow: hidden; isolation: isolate; transition: color .25s var(--doux), transform .15s var(--doux); }
.btn::before { content: ""; width: .5rem; height: .5rem; border-radius: 50%; background: var(--rubis); flex: none; transition: transform .35s var(--doux); }
.btn::after { content: ""; position: absolute; inset: 0; background: var(--c); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--doux); z-index: -1; }
.btn:hover, .btn:focus-visible { color: var(--fond); }
.btn:hover::after, .btn:focus-visible::after { transform: scaleX(1); }
.btn:hover::before { transform: scale(1.5); }
.btn:active { transform: translateY(1px) scale(.985); }
.btn-clair { --c: var(--email); --fond: var(--nuit); }
.btn-plein { background: var(--texte); color: var(--fond); }
.btn-plein::after { background: var(--accent); }
.btn-plein:hover, .btn-plein:focus-visible { color: #fff; }
[data-theme="nuit"] .btn-plein:hover, [data-theme="nuit"] .btn-plein:focus-visible { color: var(--nuit); }
.btn-fil { border-color: transparent; padding-left: 0; text-decoration: underline; text-underline-offset: .4em; text-decoration-thickness: 1px; }
.btn-fil::after, .btn-fil::before { display: none; }
.btn-fil:hover, .btn-fil:focus-visible { color: var(--accent); }
.btn[disabled] { opacity: .5; pointer-events: none; }
.lien { font-family: var(--f-titre); font-stretch: 64%; font-weight: 600; font-size: .875rem; letter-spacing: .15em; text-transform: uppercase; text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; padding-bottom: .3em; transition: background-size .4s var(--doux); display: inline-block; }
.lien:hover { background-size: 0 1px; background-position: 100% 100%; }

/* ---------- En-tête ---------- */
.tete { position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--tete); display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 0 var(--marge); color: var(--email); transition: color .4s, background-color .4s, transform .5s var(--doux); }
.tete.jour { color: var(--encre); }
.tete.defile { background: color-mix(in srgb, var(--nuit) 78%, transparent); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); }
.tete.defile.jour { background: color-mix(in srgb, var(--email) 82%, transparent); }
.tete.cachee { transform: translateY(-100%); }
.marque { font-family: var(--f-titre); font-stretch: 150%; font-weight: 640; font-size: 1.02rem; letter-spacing: .3em; text-transform: uppercase; text-decoration: none; padding: .9rem 0; }
.nav ul { display: flex; gap: clamp(1rem, 2.2vw, 2.4rem); }
.nav a, .heure-locale { font-family: var(--f-titre); font-stretch: 64%; font-weight: 560; font-size: .84rem; letter-spacing: .15em; text-transform: uppercase; text-decoration: none; }
.nav a { padding: 1rem 0; position: relative; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: .65rem; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .35s var(--doux); }
.nav a:hover::after, .nav a[aria-current]::after { transform: scaleX(1); transform-origin: left; }
.tete-outils { display: flex; align-items: center; gap: 1.1rem; }
.heure-locale { margin: 0; display: flex; flex-direction: column; line-height: 1.15; font-variant-numeric: tabular-nums; }
.heure-locale small { font-size: .75rem; opacity: .7; letter-spacing: .2em; }
.btn-son { width: 2.75rem; height: 2.75rem; border: 1px solid color-mix(in srgb, currentColor 35%, transparent); border-radius: 50%; background: none; display: grid; place-items: center; }
.barres { display: flex; align-items: flex-end; gap: 3px; height: 14px; }
.barres i { width: 2px; height: 3px; background: currentColor; transition: height .3s; }
.btn-son[aria-pressed="true"] .barres i { animation: barre 1s ease-in-out infinite alternate; }
.btn-son[aria-pressed="true"] .barres i:nth-child(2) { animation-delay: -.3s; } .btn-son[aria-pressed="true"] .barres i:nth-child(3) { animation-delay: -.6s; } .btn-son[aria-pressed="true"] .barres i:nth-child(4) { animation-delay: -.15s; }
@keyframes barre { from { height: 3px; } to { height: 14px; } }
.btn-nav { min-height: 2.75rem; padding-block: .6rem; }
.tete.jour .btn-nav { --c: var(--encre); --fond: var(--email); }
.tete:not(.jour) .btn-nav { --c: var(--email); --fond: var(--nuit); }
.burger { display: none; width: 2.75rem; height: 2.75rem; border: 0; background: none; position: relative; }
.burger span:first-child, .burger span:first-child::before { position: absolute; left: .55rem; right: .55rem; height: 1.5px; background: currentColor; content: ""; transition: transform .35s var(--doux); }
.burger span:first-child { top: 1.05rem; } .burger span:first-child::before { top: .6rem; left: 0; right: 0; }
.burger[aria-expanded="true"] span:first-child { transform: translateY(.3rem) rotate(45deg); } .burger[aria-expanded="true"] span:first-child::before { transform: translateY(-.6rem) rotate(-90deg); }
.reserve { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: color-mix(in srgb, currentColor 12%, transparent); }
.reserve i { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, var(--rubis), var(--laiton)); transform-origin: left; transform: scaleX(1); }

.menu { position: fixed; inset: 0; z-index: 90; background: var(--nuit); color: var(--email); padding: calc(var(--tete) + 2rem) var(--marge) 2rem; display: flex; flex-direction: column; justify-content: space-between; overflow-y: auto; clip-path: circle(0 at calc(100% - 3rem) 2.25rem); transition: clip-path .7s var(--vif); }
.menu[hidden] { display: none; }
.menu.ouvert { clip-path: circle(150% at calc(100% - 3rem) 2.25rem); }
.menu a { display: flex; align-items: baseline; gap: 1rem; font-family: var(--f-titre); font-stretch: 130%; font-weight: 560; font-size: clamp(1.7rem, 7.5vw, 3rem); text-decoration: none; padding: .55rem 0; border-bottom: 1px solid rgba(243, 240, 232, .14); line-height: 1.1; }
.menu a small { font-stretch: 62%; font-size: .8rem; letter-spacing: .15em; color: var(--bleui-clair); }
.menu-pied { font-family: var(--f-titre); font-stretch: 64%; font-size: .85rem; letter-spacing: .1em; margin-top: 2rem; opacity: .8; }

/* ---------- Prélude ---------- */
.prelude { position: fixed; inset: 0; z-index: 300; background: var(--nuit); color: var(--email); display: none; place-items: center; text-align: center; padding: var(--marge); }
.js:not(.deja-vu) .prelude { display: grid; }
.prelude.sortie { clip-path: circle(0 at 50% 50%); transition: clip-path 1.1s var(--vif); pointer-events: none; }
.prelude { clip-path: circle(150% at 50% 50%); }
.prelude .etiq { justify-content: center; color: #b3b8c4; }
.prelude-marque { font-family: var(--f-titre); font-stretch: 150%; font-weight: 600; font-size: clamp(2rem, 8.4vw, 7rem); letter-spacing: .14em; text-transform: uppercase; margin: 0 auto; line-height: 1; animation: respire 3.2s ease-in-out infinite alternate; }
@keyframes respire { from { font-stretch: 150%; letter-spacing: .14em; } to { font-stretch: 96%; letter-spacing: .3em; } }
.prelude-compte { font-family: var(--f-titre); font-stretch: 60%; font-size: 1rem; letter-spacing: .2em; margin: 1.6rem auto 0; color: var(--bleui-clair); font-variant-numeric: tabular-nums; }
.prelude-compte small { opacity: .6; margin-left: .4em; }
.prelude-choix { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; justify-content: center; align-items: center; }
.prelude-choix[hidden] { display: none; }
.prelude-choix p { flex-basis: 100%; margin: 0 auto .6rem; max-width: 44ch; font-size: 1.05rem; color: #c9cdd6; }

/* ---------- Accueil : le récit en 3D ---------- */
.recit { position: relative; background: radial-gradient(120% 80% at 70% 30%, #17203a 0%, var(--nuit) 55%, #06080d 100%); color: var(--email); }
.recit-scene { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.recit-scene canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.recit-affiche { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: 78% 50%; opacity: 0; transition: opacity .6s; pointer-events: none; }
.sans-webgl .recit-affiche { opacity: 1; }
.recit-grain { position: absolute; inset: 0; pointer-events: none; opacity: .5; background: radial-gradient(60% 60% at 68% 48%, rgba(120, 150, 255, .12), transparent 70%); }
.recit-chapitres { position: relative; margin-top: -100vh; margin-top: -100svh; pointer-events: none; }
.chapitre { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding: calc(var(--tete) + 2rem) var(--marge) 4rem; }
.chapitre > * { pointer-events: auto; max-width: min(34rem, 46vw); }
.chapitre.droite { align-items: flex-end; } .chapitre.droite > * { text-align: left; }
.chapitre h1 { max-width: min(46rem, 58vw); }
.chapitre h2 { font-size: clamp(2rem, 4.2vw, 4rem); }
.chapitre p { color: #c9cdd6; }
.chapitre .actions { display: flex; flex-wrap: wrap; gap: 1rem 1.6rem; align-items: center; margin-top: 1.4rem; max-width: none; }
.fait { font-family: var(--f-titre); font-stretch: 64%; font-size: .84rem; letter-spacing: .13em; text-transform: uppercase; color: var(--bleui-clair) !important; margin-top: 2.2rem; display: flex; gap: .7rem; align-items: center; }
.fait::before { content: ""; width: 2.2rem; height: 1px; background: currentColor; }
.reperes { position: absolute; inset: 0; pointer-events: none; }
.repere { position: absolute; left: 0; top: 0; width: 0; height: 0; margin: 0; max-width: none; opacity: 0; transition: opacity .5s; will-change: transform; --h: 6rem; }
.repere::before { content: ""; position: absolute; left: 0; width: 1px; height: var(--h); background: linear-gradient(var(--bleui-clair), rgba(157, 176, 255, .35)); }
.repere.bas::before { top: 0; } .repere.haut::before { bottom: 0; transform: scaleY(-1); }
.repere::after { content: ""; position: absolute; left: -3px; top: -3px; width: 7px; height: 7px; border-radius: 50%; background: var(--rubis); box-shadow: 0 0 0 2px rgba(201, 164, 85, .8); }
.repere span { position: absolute; left: .7rem; white-space: nowrap; font-family: var(--f-titre); font-stretch: 64%; font-weight: 560; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--email); line-height: 1.3; }
.repere.bas span { top: calc(var(--h) - 2.1em); } .repere.haut span { bottom: calc(var(--h) - 2.1em); }
.repere small { display: block; color: #aab0bd; letter-spacing: .1em; font-size: .75rem; }
.repere.vu { opacity: 1; }
.tete.defile ~ main .defiler { opacity: 0; }
.defiler { transition: opacity .5s; position: absolute; left: 50%; transform: translateX(-50%); bottom: 1.4rem; white-space: nowrap; font-family: var(--f-titre); font-stretch: 62%; font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; color: #aab0bd; display: flex; align-items: center; gap: .8rem; }
.defiler i { width: 1px; height: 2.6rem; background: linear-gradient(var(--bleui-clair), transparent); animation: goutte 2s var(--vif) infinite; transform-origin: top; }
@keyframes goutte { 0% { transform: scaleY(0); } 60% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* Iris : la section claire s'ouvre comme un boîtier */
.iris { clip-path: circle(var(--iris, 150%) at 50% 0%); }

/* ---------- Collection ---------- */
.entete-section { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--e3); align-items: end; margin-bottom: var(--e5); }
.entete-section > div:first-child { grid-column: 1 / span 7; } .entete-section > div:last-child { grid-column: 9 / -1; }
.pieces { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(1rem, 2.4vw, 2.5rem); }
.piece-carte { grid-column: span 4; text-decoration: none; display: block; position: relative; }
.piece-carte:nth-child(2) { margin-top: var(--e5); } .piece-carte:nth-child(3) { margin-top: calc(var(--e5) * 2); }
.piece-vue { position: relative; aspect-ratio: 4 / 5; border-radius: 4px; overflow: hidden; background: var(--pf, var(--nuit)); display: grid; place-items: center; }
.piece-vue::before { content: ""; position: absolute; inset: 0; background: radial-gradient(70% 60% at 50% 40%, rgba(150, 170, 255, .2), transparent 70%); }
.piece-vue img { position: relative; width: 108%; max-width: none; transition: transform .9s var(--doux); filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .55)); }
.piece-carte:hover .piece-vue img { transform: scale(1.05) rotate(-2deg); }
.piece-num { position: absolute; left: 1rem; top: 1rem; font-family: var(--f-titre); font-stretch: 150%; font-weight: 600; font-size: .8rem; letter-spacing: .2em; color: rgba(243, 240, 232, .8); }
.piece-carte h3 { margin: 1.1rem 0 .3rem; font-size: clamp(1.4rem, 2.2vw, 2rem); font-stretch: 132%; }
.piece-carte p { margin: 0; color: var(--texte-2); font-size: 1.05rem; }
.piece-prix { font-family: var(--f-titre); font-stretch: 64%; font-weight: 560; letter-spacing: .12em; text-transform: uppercase; font-size: .86rem; margin-top: .7rem !important; color: var(--texte) !important; display: flex; justify-content: space-between; gap: 1rem; border-top: 1px solid var(--trait); padding-top: .7rem; }

/* ---------- Film ---------- */
.film { position: relative; height: 130vh; background: var(--nuit); color: var(--email); }
.film-cadre { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: grid; align-items: end; clip-path: inset(var(--fi, 12%) var(--fj, 9%) round 6px); }
.film-cadre video, .film-cadre > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.film-cadre::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 14, 22, .25), rgba(10, 14, 22, .1) 40%, rgba(10, 14, 22, .82)); }
.film-texte { position: relative; z-index: 2; padding: var(--e5) var(--marge); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--e3); align-items: end; }
.film-texte h2 { grid-column: 1 / span 7; margin: 0; }
.film-texte .chiffres { grid-column: 9 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem 2rem; }
.chiffres dt { white-space: nowrap; font-family: var(--f-titre); font-stretch: 140%; font-weight: 620; font-size: clamp(1.5rem, 2.3vw, 2.3rem); line-height: 1; font-variant-numeric: tabular-nums; }
.chiffres dd { margin: .3rem 0 0; font-family: var(--f-titre); font-stretch: 62%; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: #c9cdd6; }
.chiffres { margin: 0; }
.pause-film { position: absolute; right: var(--marge); top: calc(var(--tete) + 1rem); z-index: 3; }

/* ---------- Métiers : défilement horizontal ---------- */
.metiers { background: var(--email); color: var(--encre); position: relative; overflow: hidden; }
.metiers-piste { display: flex; gap: clamp(1.5rem, 4vw, 4rem); padding: var(--e6) var(--marge); align-items: center; width: max-content; min-height: 100vh; min-height: 100svh; }
.metiers-intro { width: min(30rem, 78vw); flex: none; }
.metier { width: min(44rem, 82vw); flex: none; display: grid; grid-template-columns: 1.15fr .85fr; gap: 1.5rem; align-items: end; }
.metier:nth-child(odd) { align-self: flex-end; } .metier:nth-child(even) { align-self: flex-start; }
.metier figure { margin: 0; border-radius: 4px; overflow: hidden; aspect-ratio: 4 / 5; position: relative; background: var(--email-2); }
.metier figure img, .metier figure video { width: 100%; height: 100%; object-fit: cover; }
.metier .n { font-family: var(--f-titre); font-stretch: 150%; font-weight: 620; font-size: 3.4rem; line-height: 1; color: var(--bleui); margin: 0 0 .6rem; }
.metier p { font-size: 1.05rem; color: var(--encre-2); }

/* Loupe d'horloger sur les images */
.loupe { cursor: none; }
.lentille { position: fixed; left: 0; top: 0; width: 11rem; height: 11rem; border-radius: 50%; pointer-events: none; z-index: 80; opacity: 0; transition: opacity .25s; background-repeat: no-repeat; box-shadow: 0 0 0 1px rgba(255, 255, 255, .5), 0 0 0 7px rgba(17, 20, 27, .82), 0 0 0 8px rgba(201, 164, 85, .9), 0 18px 40px rgba(0, 0, 0, .45); will-change: transform; }
.lentille.vu { opacity: 1; }

/* ---------- Lune ---------- */
.lune { position: relative; min-height: 92vh; display: grid; align-items: center; overflow: hidden; background: #05070f; color: var(--email); padding: var(--e6) var(--marge); }
.lune > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .9; animation: kenburns 40s ease-in-out infinite alternate; }
@keyframes kenburns { from { transform: scale(1) translate(0, 0); } to { transform: scale(1.14) translate(-2%, -2.5%); } }
.lune::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5, 7, 15, .9), rgba(5, 7, 15, .25) 65%); }
.lune-texte { position: relative; z-index: 2; max-width: 38rem; }
.lune-phase { display: flex; align-items: center; gap: 1.4rem; margin: 1.6rem 0; }
.lune-disque { width: 5.5rem; height: 5.5rem; flex: none; }
.lune-phase strong { font-family: var(--f-titre); font-stretch: 130%; font-weight: 560; font-size: 1.5rem; display: block; line-height: 1.1; }
.lune-phase span { font-family: var(--f-titre); font-stretch: 64%; font-size: .84rem; letter-spacing: .14em; text-transform: uppercase; color: var(--bleui-clair); }

/* ---------- Appel à composer ---------- */
.appel { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--e3) clamp(1rem, 2.4vw, 2.5rem); align-items: center; }
.appel-texte { grid-column: 1 / span 6; } .appel figure { grid-column: 8 / -1; margin: 0; border-radius: 4px; overflow: hidden; }
.nuancier { display: flex; gap: .6rem; margin: 1.6rem 0; flex-wrap: wrap; }
.nuancier i { width: 2.6rem; height: 2.6rem; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12), inset 0 -6px 10px rgba(0, 0, 0, .18); }

/* ---------- Journal ---------- */
.articles { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--e4) clamp(1rem, 2.4vw, 2.5rem); }
.article-carte { grid-column: span 4; text-decoration: none; display: flex; flex-direction: column; gap: .9rem; transition: transform .3s var(--doux); }
.article-carte:hover { transform: translateY(-2px); }
.article-carte:first-child:nth-last-child(n+3) { grid-column: span 6; } .article-carte:first-child:nth-last-child(n+3) ~ .article-carte { grid-column: span 3; }
.article-carte figure { margin: 0; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 4px; background: var(--email-2); }
.article-carte img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--doux); }
.article-carte:hover img { transform: scale(1.03); }
.article-carte h3 { margin: 0; }
.article-carte p { margin: 0; color: var(--texte-2); font-size: 1.02rem; }
.meta { font-family: var(--f-titre); font-stretch: 62%; font-size: .78rem; letter-spacing: .15em; text-transform: uppercase; color: var(--texte-2); margin: 0; }

/* ---------- Pied ---------- */
.pied { background: var(--nuit); color: var(--email); padding: var(--e6) var(--marge) 1.5rem; position: relative; overflow: hidden; --fond: var(--nuit); --texte: var(--email); --texte-2: #b3b8c4; --accent: var(--bleui-clair); }
.pied-haut { display: grid; grid-template-columns: 1.3fr 1fr 1.2fr 1.1fr; gap: var(--e4); }
.pied-haut p { font-size: 1.02rem; margin-bottom: .6em; }
.pied-haut li a, .pied-haut p a { text-decoration: none; display: inline-block; padding: .28rem 0; font-size: 1.02rem; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .35s var(--doux); }
.pied-haut li a:hover, .pied-haut p a:hover { background-size: 100% 1px; }
.pied-geant { font-family: var(--f-titre); font-weight: 640; font-stretch: var(--etire, 150%); font-size: clamp(3rem, 15.2vw, 17rem); line-height: .8; text-transform: uppercase; text-align: center; margin: var(--e6) 0 var(--e3); max-width: none; white-space: nowrap; letter-spacing: -.01em; background: linear-gradient(180deg, #2b3550, #101624 85%); -webkit-background-clip: text; background-clip: text; color: transparent; user-select: none; }
.pied-bas { display: flex; justify-content: space-between; gap: 1rem 2rem; flex-wrap: wrap; font-family: var(--f-titre); font-stretch: 66%; font-size: .82rem; letter-spacing: .08em; color: #aab0bd; border-top: 1px solid rgba(243, 240, 232, .14); padding-top: 1.2rem; }
.pied-bas p { margin: 0; max-width: none; } .pied-bas a { color: var(--email); }

/* ---------- En-têtes de pages intérieures ---------- */
.page-tete { background: var(--fond); color: var(--texte); padding: calc(var(--tete) + var(--e6)) var(--marge) var(--e5); position: relative; }
.page-tete h1 { max-width: 16ch; }
.page-tete .chapo { color: var(--texte-2); margin-top: 1.4rem; }
.page-tete.image { min-height: 86vh; display: grid; align-items: end; overflow: hidden; color: var(--email); }
.page-tete.image > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: kenburns 36s ease-in-out infinite alternate; }
.page-tete.image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 14, 22, .45), rgba(10, 14, 22, .15) 45%, rgba(10, 14, 22, .88)); }
.page-tete.image > div { position: relative; z-index: 2; }
.page-tete.image .chapo { color: #d8dbe2; }

/* ---------- Page pièce ---------- */
.fiche { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); min-height: 100vh; background: var(--pf, var(--nuit)); color: var(--email); }
.fiche-vue { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.fiche-vue::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 55% at 50% 45%, rgba(150, 170, 255, .22), transparent 70%); }
.fiche-vue canvas, .fiche-vue > img { position: absolute; inset: 0; width: 100%; height: 100%; }
.fiche-vue > img { object-fit: contain; padding: 12%; transition: opacity .6s; }
.fiche-vue.pret > img { opacity: 0; }
.fiche-aide { position: absolute; left: 0; right: 0; bottom: 1.4rem; text-align: center; font-family: var(--f-titre); font-stretch: 62%; font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; color: #aab0bd; margin: 0 auto; }
.fiche-vues { position: absolute; left: 50%; top: calc(var(--tete) + .8rem); transform: translateX(-50%); display: flex; gap: .4rem; z-index: 3; }
.puce { min-height: 2.75rem; padding: .5rem .95rem; border: 1px solid rgba(243, 240, 232, .3); border-radius: 99px; background: rgba(10, 14, 22, .35); color: var(--email); font-family: var(--f-titre); font-stretch: 64%; font-weight: 560; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; transition: background-color .25s, color .25s, border-color .25s; }
.puce:hover { border-color: var(--email); } .puce[aria-pressed="true"] { background: var(--email); color: var(--nuit); border-color: var(--email); }
.fiche-texte { padding: calc(var(--tete) + var(--e5)) var(--marge) var(--e6) clamp(1.25rem, 3vw, 3.5rem); background: var(--nuit); display: flex; flex-direction: column; gap: var(--e4); }
.fiche-texte p { color: #c9cdd6; }
.fiche-prix { font-family: var(--f-titre); font-stretch: 150%; font-weight: 600; font-size: clamp(1.6rem, 2.6vw, 2.3rem); margin: 0; }
.fiche-prix small { display: block; font-stretch: 62%; font-weight: 500; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: #aab0bd; margin-top: .4rem; }
.specs { margin: 0; border-top: 1px solid rgba(243, 240, 232, .16); }
.specs div { display: grid; grid-template-columns: 11rem 1fr; gap: 1rem; padding: .8rem 0; border-bottom: 1px solid rgba(243, 240, 232, .16); }
.specs dt { font-family: var(--f-titre); font-stretch: 62%; font-size: .78rem; letter-spacing: .15em; text-transform: uppercase; color: #aab0bd; padding-top: .25rem; }
.specs dd { margin: 0; font-size: 1.05rem; }
[data-theme="jour"] .specs, [data-theme="jour"] .specs div { border-color: var(--trait); } [data-theme="jour"] .specs dt { color: var(--encre-2); }

/* ---------- Configurateur ---------- */
.compo { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(22rem, 1fr); min-height: 100vh; background: var(--nuit); color: var(--email); }
.compo-vue { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; background: radial-gradient(70% 60% at 50% 45%, #1a2442, var(--nuit) 70%); }
.compo-vue canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.compo-panneau { padding: calc(var(--tete) + var(--e4)) var(--marge) var(--e5) clamp(1.25rem, 3vw, 3rem); background: var(--nuit-2); border-left: 1px solid rgba(243, 240, 232, .1); }
.compo-panneau h1 { font-size: clamp(2rem, 3.4vw, 3.2rem); }
.groupe { border: 0; padding: 0; margin: 0 0 var(--e4); min-width: 0; }
.groupe legend { padding: 0; margin-bottom: .9rem; width: 100%; display: flex; justify-content: space-between; gap: 1rem; font-family: var(--f-titre); font-stretch: 62%; font-weight: 560; font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: #aab0bd; }
.groupe legend b { color: var(--email); font-weight: 560; text-align: right; }
.choix { display: flex; flex-wrap: wrap; gap: .7rem; }
.choix label { position: relative; cursor: pointer; }
.choix input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choix span { display: block; width: 3.1rem; height: 3.1rem; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22), inset 0 -8px 12px rgba(0, 0, 0, .28), inset 0 6px 8px rgba(255, 255, 255, .16); transition: transform .25s var(--doux), box-shadow .25s; }
.choix label:hover span { transform: scale(1.06); }
.choix input:checked + span { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22), inset 0 -8px 12px rgba(0, 0, 0, .28), 0 0 0 3px var(--nuit-2), 0 0 0 5px var(--bleui-clair); }
.choix input:focus-visible + span { outline: 2px solid var(--email); outline-offset: 6px; }
.bascule { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.1rem; border: 1px solid rgba(243, 240, 232, .2); border-radius: 4px; cursor: pointer; }
.bascule input { appearance: none; width: 3.2rem; height: 1.8rem; border-radius: 99px; background: #2a3247; position: relative; flex: none; transition: background-color .25s; cursor: pointer; margin: 0; }
.bascule input::after { content: ""; position: absolute; left: .2rem; top: .2rem; width: 1.4rem; height: 1.4rem; border-radius: 50%; background: var(--email); transition: transform .3s var(--doux); }
.bascule input:checked { background: var(--bleui); } .bascule input:checked::after { transform: translateX(1.4rem); }
.bascule small { display: block; color: #aab0bd; font-size: .95rem; }
.total { z-index: 5; position: sticky; bottom: 0; background: var(--nuit-2); padding: 1.2rem 0 0; border-top: 1px solid rgba(243, 240, 232, .16); margin-top: var(--e3); }
.total-prix { font-family: var(--f-titre); font-stretch: 150%; font-weight: 620; font-size: clamp(1.7rem, 2.6vw, 2.4rem); margin: 0; font-variant-numeric: tabular-nums; }
.total small { font-family: var(--f-titre); font-stretch: 62%; font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; color: #aab0bd; }

/* ---------- Calibre (explorateur) ---------- */
.explo { position: relative; height: 100vh; height: 100svh; min-height: 40rem; background: radial-gradient(70% 60% at 50% 45%, #1a2442, var(--nuit) 70%); color: var(--email); overflow: hidden; }
.explo canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.explo-titre { position: absolute; left: var(--marge); top: calc(var(--tete) + 1.5rem); max-width: 30rem; z-index: 2; pointer-events: none; }
.explo-titre h1 { font-size: clamp(1.7rem, 3.1vw, 2.9rem); }
.explo-titre p { color: #c9cdd6; font-size: 1.05rem; }
.explo-cmd { position: absolute; left: var(--marge); right: var(--marge); bottom: 1.5rem; z-index: 3; display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem; }
.curseur { display: flex; align-items: center; gap: 1rem; flex: 1 1 18rem; max-width: 30rem; font-family: var(--f-titre); font-stretch: 62%; font-size: .78rem; letter-spacing: .15em; text-transform: uppercase; }
.curseur input { flex: 1; accent-color: var(--bleui-clair); height: 2.75rem; }
.explo-fiche { position: absolute; right: var(--marge); top: calc(var(--tete) + 1.5rem); width: min(22rem, 86vw); z-index: 3; background: rgba(18, 24, 38, .82); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid rgba(243, 240, 232, .16); border-radius: 4px; padding: 1.3rem 1.4rem; }
.explo-fiche h2 { font-size: 1.35rem; font-stretch: 122%; margin-bottom: .5rem; line-height: 1.1; }
.explo-fiche p { font-size: 1rem; color: #c9cdd6; margin: 0; }
.explo-liste { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: 1rem; }

/* ---------- Contenus éditoriaux ---------- */
.duo { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--e4) clamp(1rem, 2.4vw, 2.5rem); align-items: center; }
.duo > .t { grid-column: 1 / span 5; } .duo > .t.rdv-form { grid-column: 1 / span 7; } .duo > .rdv-cote { grid-column: 9 / -1; } .duo > figure { grid-column: 7 / -1; margin: 0; border-radius: 4px; overflow: hidden; }
.duo.inverse > .t { grid-column: 8 / -1; grid-row: 1; } .duo.inverse > figure { grid-column: 1 / span 6; grid-row: 1; }
.duo figure img { width: 100%; }
.equipe { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1rem, 2.4vw, 2.5rem); }
.equipe article:nth-child(even) { margin-top: var(--e5); }
.equipe figure { margin: 0 0 1rem; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 4px; }
.equipe img { width: 100%; height: 100%; object-fit: cover; }
.equipe h3 { margin-bottom: .2rem; } .equipe p { font-size: 1.02rem; color: var(--texte-2); }
.bandeau { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: clamp(.75rem, 1.6vw, 1.5rem); padding: 0 var(--marge) var(--e6); background: var(--fond); }
.bandeau figure { margin: 0; overflow: hidden; border-radius: 4px; }
.bandeau img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; } .bandeau figure:first-child img { aspect-ratio: 16 / 10; }
.prose { max-width: 42rem; margin-inline: auto; }
.prose h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); font-stretch: 122%; margin: 2.2em 0 .7em; line-height: 1.1; }
.prose p { font-size: 1.22rem; line-height: 1.65; }
.prose p:first-of-type::first-letter { font-family: var(--f-titre); font-stretch: 150%; font-weight: 640; font-size: 3.6em; float: left; line-height: .82; padding: .08em .12em 0 0; color: var(--bleui); }
.article-image { margin: 0 var(--marge); border-radius: 4px; overflow: hidden; max-height: 80vh; }
.article-image img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Formulaires ---------- */
.formulaire { display: grid; grid-template-columns: 1fr 1fr; gap: 1.3rem 1.5rem; max-width: 46rem; }
.champ { display: flex; flex-direction: column; gap: .45rem; } .champ.large { grid-column: 1 / -1; }
.champ label, .champ .lab { font-family: var(--f-titre); font-stretch: 62%; font-weight: 560; font-size: .8rem; letter-spacing: .15em; text-transform: uppercase; color: var(--texte-2); }
.champ input, .champ select, .champ textarea { font: inherit; font-size: 1.08rem; color: var(--texte); background: color-mix(in srgb, var(--texte) 4%, transparent); border: 1px solid var(--trait); border-radius: 3px; padding: .85rem 1rem; min-height: 3.1rem; width: 100%; transition: border-color .2s, background-color .2s; }
.champ textarea { min-height: 8rem; resize: vertical; }
.champ input:focus, .champ select:focus, .champ textarea:focus { outline: none; border-color: var(--accent); background: color-mix(in srgb, var(--accent) 7%, transparent); }
.champ .erreur { color: #ff8fa8; font-size: .95rem; font-family: var(--f-texte); letter-spacing: 0; text-transform: none; }
[data-theme="jour"] .champ .erreur { color: #a3123a; }
.creneaux { display: flex; flex-wrap: wrap; gap: .5rem; }
.creneaux label { position: relative; }
.creneaux input { position: absolute; opacity: 0; inset: 0; min-height: 0; cursor: pointer; }
.creneaux span { display: block; padding: .7rem 1rem; min-height: 2.75rem; border: 1px solid var(--trait); border-radius: 3px; font-family: var(--f-titre); font-stretch: 70%; font-weight: 560; font-size: .9rem; letter-spacing: .08em; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s; }
.creneaux input:checked + span { background: var(--texte); color: var(--fond); border-color: var(--texte); }
.creneaux input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 3px; }
.avis { padding: 1.2rem 1.4rem; border-left: 3px solid var(--laiton); background: color-mix(in srgb, var(--laiton) 12%, transparent); border-radius: 0 4px 4px 0; max-width: 46rem; margin-bottom: var(--e3); }
.avis p:last-child { margin: 0; }
.avis.ok { border-color: #3aa37a; background: color-mix(in srgb, #3aa37a 14%, transparent); }
.avis strong { font-family: var(--f-titre); font-stretch: 110%; font-weight: 600; }

/* ---------- Espace collectionneur ---------- */
.suivi { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: var(--e5); align-items: start; }
.suivi-vue { position: sticky; top: calc(var(--tete) + 1rem); aspect-ratio: 1; border-radius: 6px; overflow: hidden; background: radial-gradient(70% 60% at 50% 45%, #1a2442, var(--nuit) 70%); }
.suivi-vue canvas { width: 100%; height: 100%; }
.avance { display: grid; grid-template-columns: repeat(8, 1fr); gap: 4px; margin: 1.4rem 0 .6rem; }
.avance i { height: 6px; border-radius: 3px; background: color-mix(in srgb, var(--texte) 14%, transparent); }
.avance i.acquis { background: linear-gradient(90deg, var(--bleui), var(--bleui-clair)); }
.fil { border-left: 1px solid var(--trait); margin-left: .4rem; padding-left: 0; }
.fil li { position: relative; padding: 0 0 var(--e4) 2rem; }
.fil li::before { content: ""; position: absolute; left: -5px; top: .4rem; width: 9px; height: 9px; border-radius: 50%; background: var(--rubis); box-shadow: 0 0 0 2px var(--laiton); }
.fil li.avenir { opacity: .5; } .fil li.avenir::before { background: var(--fond); }
.fil h3 { margin: .2rem 0 .4rem; }
.fil figure { margin: .9rem 0 0; border-radius: 4px; overflow: hidden; max-width: 30rem; }
.table { width: 100%; border-collapse: collapse; font-size: 1.02rem; }
.table th, .table td { text-align: left; padding: .75rem .5rem .75rem 0; border-bottom: 1px solid var(--trait); vertical-align: top; }
.table th { font-family: var(--f-titre); font-stretch: 62%; font-weight: 560; font-size: .76rem; letter-spacing: .15em; text-transform: uppercase; color: var(--texte-2); }
.table td.n { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.etat { display: inline-flex; align-items: center; gap: .45rem; font-family: var(--f-titre); font-stretch: 66%; font-weight: 560; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; }
.etat::before { content: ""; width: .5rem; height: .5rem; border-radius: 50%; background: #3aa37a; } .etat.attente::before { background: var(--laiton); }

/* ---------- Certificat ---------- */
.certificat { max-width: 44rem; margin: 0 auto; background: var(--blanc); color: var(--encre); border: 1px solid var(--maillechort); outline: 1px solid var(--maillechort); outline-offset: -10px; padding: clamp(2rem, 5vw, 4rem); text-align: center; border-radius: 2px; position: relative; }
.certificat h2 { font-size: clamp(1.4rem, 3vw, 2.2rem); letter-spacing: .12em; text-transform: uppercase; font-stretch: 150%; }
.certificat .specs { text-align: left; margin-top: 2rem; border-color: rgba(17, 20, 27, .16); } .certificat .specs div { border-color: rgba(17, 20, 27, .16); } .certificat .specs dt { color: var(--encre-2); }
.certificat p { margin-inline: auto; }
.sceau { width: 5rem; height: 5rem; margin: 0 auto 1.4rem; }

/* ---------- Apparitions (JS) ---------- */
.js [data-apparait] { opacity: 0; transform: translateY(26px); }
.js [data-apparait].vu { opacity: 1; transform: none; transition: opacity .9s var(--doux), transform .9s var(--doux); transition-delay: var(--d, 0s); }
.js [data-voile] > * { clip-path: inset(0 0 100% 0); transform: scale(1.12); } /* le voile porte sur l'image, pas sur son cadre : le cadre reste détectable à l'écran */
.js [data-voile].vu > * { clip-path: inset(0); transform: none; transition: clip-path 1.2s var(--vif), transform 1.6s var(--doux); }
.ligne-masque { overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }

/* ---------- Transitions entre pages (View Transitions API) ---------- */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-sortie .4s cubic-bezier(.6, 0, .8, .2) both; }
::view-transition-new(root) { animation: vt-entree .75s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes vt-sortie { to { opacity: 0; filter: blur(8px); transform: scale(.985); } }
@keyframes vt-entree { from { clip-path: circle(0% at 50% 45%); } to { clip-path: circle(125% at 50% 45%); } }
::view-transition-group(*) { animation-duration: .65s; animation-timing-function: cubic-bezier(.2, .8, .2, 1); }

/* ---------- Adaptation ---------- */
@media (max-width: 1100px) {
  .nav, .heure-locale { display: none; } .burger { display: block; }
  .pied-haut { grid-template-columns: 1fr 1fr; }
  .equipe { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  body { font-size: 1.125rem; }
  :root { --e7: 6.5rem; --e6: 4.5rem; --e5: 3rem; --tete: 4rem; }
  .btn-nav { display: none; }
  .chapitre { justify-content: flex-end; padding-bottom: 5.5rem; } .chapitre > *, .chapitre h1 { max-width: 100%; } .chapitre.droite { align-items: flex-start; }
  .chapitre:first-child { justify-content: flex-end; }
  .recit-affiche { object-position: 50% 22%; }
  .recit-scene::after { content: ""; position: absolute; inset: 42% 0 0 0; background: linear-gradient(180deg, transparent, rgba(8, 11, 18, .88) 38%, rgba(8, 11, 18, .96)); pointer-events: none; }
  .repere.bas, .repere.large { display: none; }
  .chapitre .chapo { font-size: 1.08rem; } .chapitre h1 { font-size: clamp(2rem, 9.4vw, 2.6rem); } .chapitre h2 { font-size: clamp(1.8rem, 8.4vw, 2.4rem); }
  .chapitre .etiq { font-size: .7rem; letter-spacing: .12em; } .fait { margin-top: 1.2rem; font-size: .75rem; }
  .defiler { display: none; }
  .entete-section > div:first-child, .entete-section > div:last-child { grid-column: 1 / -1; }
  .piece-carte { grid-column: 1 / -1; margin-top: 0 !important; }
  .film { height: 110vh; } .film-texte h2, .film-texte .chiffres { grid-column: 1 / -1; }
  .metier { grid-template-columns: 1fr; width: 78vw; } .metier:nth-child(n) { align-self: center; }
  .duo > .t.rdv-form, .duo > .rdv-cote, .appel-texte, .appel figure, .duo > .t, .duo > figure, .duo.inverse > .t, .duo.inverse > figure { grid-column: 1 / -1; grid-row: auto; }
  .article-carte, .article-carte:first-child:nth-last-child(n+3), .article-carte:first-child:nth-last-child(n+3) ~ .article-carte { grid-column: 1 / -1; }
  .pied-haut { grid-template-columns: 1fr; gap: var(--e3); }
  .fiche, .compo, .suivi { grid-template-columns: 1fr; }
  .fiche-vue, .compo-vue { position: relative; height: 62vh; height: 62svh; } .suivi-vue { position: relative; top: 0; }
  .fiche-texte { padding-top: var(--e4); } .compo-panneau { padding-top: var(--e4); border-left: 0; }
  .formulaire { grid-template-columns: 1fr; }
  .specs div { grid-template-columns: 1fr; gap: .1rem; }
  .bandeau { grid-template-columns: 1fr; }
  .explo { height: auto; min-height: 0; display: flex; flex-direction: column; padding-bottom: 2rem; }
  .explo canvas { position: relative; inset: auto; height: 58vh; height: 58svh; order: 1; }
  .explo-titre { position: relative; left: auto; top: auto; padding: calc(var(--tete) + 1.2rem) var(--marge) 0; max-width: none; order: 0; }
  .explo-cmd { position: relative; left: auto; right: auto; bottom: auto; padding: .5rem var(--marge) 1.2rem; order: 2; }
  .explo-fiche { position: relative; top: auto; right: auto; margin: 0 var(--marge); width: auto; order: 3; }
  .explo-titre p { display: none; }
  .loupe { cursor: auto; } .lentille { display: none; }
  .repere span { font-size: .75rem; } .repere small { font-size: .6rem; } .repere { --k: .6; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js [data-apparait], .js [data-voile] > * { opacity: 1; transform: none; clip-path: none; }
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
}
@media print { .tete, .pied, .menu, .prelude, .no-print { display: none !important; } body { background: #fff; color: #000; } .bloc { padding: 1rem 0; background: #fff; color: #000; } }

/* ---------- Démonstration : « Ce site vous plaît ? » (bandeau avant le pied de page + pastille) ---------- */
.votre { display: flex; align-items: center; justify-content: space-between; gap: 1rem 2.5rem; flex-wrap: wrap; padding: 1.7rem var(--marge); background: var(--bleui); color: #fff; text-decoration: none; }
.votre b { font-family: var(--f-titre); font-stretch: 118%; font-weight: 640; font-size: clamp(1.15rem, 2.2vw, 1.7rem); line-height: 1.1; }
.votre span { font-family: var(--f-titre); font-stretch: 70%; letter-spacing: .1em; text-transform: uppercase; font-size: .85rem; border-bottom: 1px solid currentColor; padding-bottom: .2rem; }
.votre:hover span, .votre:focus-visible span { box-shadow: 0 1px 0 currentColor; }
.votre-pastille { position: fixed; left: 1rem; bottom: 1rem; z-index: 60; display: flex; max-width: calc(100vw - 2rem); background: var(--blanc); color: var(--encre); border-radius: 99px; box-shadow: 0 8px 30px rgba(0, 0, 0, .3); transform: translateY(180%); transition: transform .5s cubic-bezier(.2, .8, .2, 1); font-family: var(--f-titre); font-stretch: 76%; font-size: .9rem; }
.votre-pastille.vu { transform: none; }
.votre-pastille a { display: flex; align-items: center; min-height: 44px; padding: .3rem .3rem .3rem 1.1rem; color: inherit; text-decoration: none; font-weight: 600; line-height: 1.15; }
.votre-pastille a:hover { text-decoration: underline; }
.votre-pastille button { flex: none; width: 44px; min-height: 44px; border: 0; background: none; color: var(--encre-2); font-size: 1.25rem; cursor: pointer; border-radius: 99px; }
@media (prefers-reduced-motion: reduce) { .votre-pastille { transition: none; } }
@media print { .votre, .votre-pastille { display: none; } }
