/* UnikMoment — feuille de style unique (version 2 : direction « chambre noire »).
   Idée directrice : tout part du noir d'une chambre noire, où les photographies se RÉVÈLENT — d'abord en noir et blanc,
   puis en couleur lorsqu'on s'y arrête. La page passe ensuite au papier clair du tirage. Une seule couleur signature :
   le cuivre du logo. Un seul motif : l'anneau (l'objectif de la borne, celui du logo), repris par les boutons.
   Système de mouvement : micro-interactions .28 s · transitions de composants .6 s · révélations 1,1 s ;
   déplacements de 28 px au plus ; uniquement transform, opacity, clip-path et filter.
   Sommaire : 1 polices · 2 variables · 3 base · 4 typographie · 5 boutons · 6 en-tête et menu · 7 plans photographiques
   8 scène d'accueil · 9 tête des pages · 10 tirages et cadres · 11 sections · 12 repères et manifeste · 13 bande de souvenirs
   14 cartes · 15 listes · 16 FAQ · 17 appel final et pied · 18 formulaire · 19 galerie et visionneuse · 20 cadre personnalisé
   21 éléments flottants · 22 textes longs · 23 apparitions · 24 mouvement réduit · 25 impression
   26 ajouts du 30/11/2026 : vidéos, modèles de tirages, galerie par ensembles, options, partenaires */

/* Version 3 (24/11/2026), à la demande du client : moins de noir. Le site vit désormais sur le papier clair, du haut au bas
   de la page ; seul le pied de page reste sombre. Les photographies gardent leur révélation (noir et blanc, puis couleur). */

/* 1. Polices (auto-hébergées, licence OFL ; allégées par outils/polices.py : caractères du français, graisses 400 à 600) */
@font-face { font-family: 'Bodoni Moda'; src: url('../fonts/bodoni-moda.woff2') format('woff2'); font-weight: 400 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Bodoni Moda'; src: url('../fonts/bodoni-moda-italic.woff2') format('woff2'); font-weight: 400 600; font-style: italic; font-display: swap; }
@font-face { font-family: 'DM Sans'; src: url('../fonts/dm-sans.woff2') format('woff2'); font-weight: 400 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'DM Mono'; src: url('../fonts/dm-mono-400.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }

/* 2. Variables */
:root {
  --papier: #F2F0EA; --papier-2: #E8E5DC; --blanc: #FBFAF7;
  --encre: #131211; --encre-2: #1C1A18; --encre-3: #2B2825;
  --texte: #131211; --texte-2: #5F5A53; --filet: rgba(19, 18, 17, .15);
  --cuivre: #96562F; --cuivre-vif: #B8683A; --cuivre-clair: #D9A27A;
  --accent: var(--cuivre); --logo-accent: var(--cuivre); --fond: var(--papier);
  --serif: 'Bodoni Moda', 'Bodoni 72', Didot, 'Playfair Display', Georgia, 'Times New Roman', serif;
  --sans: 'DM Sans', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --mono: 'DM Mono', ui-monospace, 'SF Mono', Menlo, Consolas, 'Liberation Mono', monospace;
  --marge: clamp(20px, 4.6vw, 76px);
  --max: 1400px;
  --entete: 68px;
  --t-micro: .28s; --t-moyen: .6s; --t-ample: 1.1s;
  --doux: cubic-bezier(.22, .68, .12, 1);
  --net: cubic-bezier(.65, .02, .22, 1);
  --sortie: cubic-bezier(.16, 1, .3, 1);
  --ombre: 0 1px 1px rgba(19, 18, 17, .05), 0 12px 28px -14px rgba(19, 18, 17, .32);
}
@media (min-width: 960px) { :root { --entete: 84px; } }

/* 3. Base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--entete) + 16px); }
body { margin: 0; background: var(--papier); color: var(--texte); font-family: var(--sans); font-size: 1.0625rem; line-height: 1.62; font-optical-sizing: auto; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4, p, figure, blockquote, dl, dd, ol, ul { margin: 0; }
ol, ul { padding: 0; list-style: none; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .22em; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }
::selection { background: var(--cuivre); color: #fff; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.evitement { position: absolute; left: 12px; top: -80px; z-index: 200; background: var(--papier); color: var(--encre); padding: .8rem 1.1rem; text-decoration: none; transition: top .2s; }
.evitement:focus { top: 12px; }
.conteneur { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--marge); }

/* 4. Typographie */
.accroche, h2, h3 { font-family: var(--serif); font-weight: 500; letter-spacing: -.02em; text-wrap: balance; }
.accroche { font-size: clamp(2.85rem, 6.15vw, 6.3rem); line-height: .96; letter-spacing: -.032em; }
h2 { font-size: clamp(2.05rem, 4.5vw, 4.1rem); line-height: 1.03; }
h3 { font-size: clamp(1.35rem, 1.9vw, 1.7rem); line-height: 1.15; letter-spacing: -.012em; }
/* Aux petites tailles, le Bodoni est rendu avec des déliés plus épais (axe optique) : traits d'union et empattements restent lisibles. */
h3, .faq summary, .coordonnees dd a, .coordonnees dd strong { font-variation-settings: 'opsz' 13; }
.bande__etape h3, .carte h3 { font-variation-settings: 'opsz' 28; }
em, .it { font-style: italic; }
.accroche em, h2 em, h1 em { font-weight: 400; color: var(--accent); }
.etiquette { font-family: var(--mono); font-size: .72rem; line-height: 1.4; letter-spacing: .13em; text-transform: uppercase; color: var(--texte-2); }
.etiquette b { font-weight: 400; color: var(--accent); }
.chapo { font-size: clamp(1.08rem, 1.35vw, 1.3rem); line-height: 1.55; color: var(--texte-2); max-width: 36em; }
.texte { color: var(--texte-2); max-width: 38em; }
.texte + .texte { margin-top: 1em; }
.texte strong, .chapo strong { color: var(--texte); font-weight: 600; }
.lien { text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; padding-bottom: .12em; transition: background-size .45s var(--doux), color var(--t-micro); }
.lien:hover { background-size: 0 1px; background-position: 100% 100%; color: var(--accent); }
.legende { font-family: var(--mono); font-size: .68rem; letter-spacing: .09em; text-transform: uppercase; color: var(--texte-2); }

/* 5. Boutons — « le déclencheur » : un libellé et un anneau (l'objectif). Au survol, le fond se révèle depuis l'anneau,
   le libellé et la flèche effectuent un tour complet. États : repos, survol, focus clavier, appui, désactivé, en cours. */
.bouton { --b-fond: var(--encre); --b-texte: var(--papier); --b-survol: var(--cuivre); --b-texte-survol: #fff; --b-bord: var(--b-fond);
  position: relative; isolation: isolate; display: inline-flex; align-items: center; justify-content: space-between; gap: .95rem; min-height: 56px; padding: 6px 7px 6px 1.5rem; border-radius: 100px;
  background: var(--b-fond); color: var(--b-texte); box-shadow: inset 0 0 0 1px var(--b-bord); font-weight: 500; font-size: .96rem; letter-spacing: .005em; line-height: 1.2; text-decoration: none; overflow: hidden; cursor: pointer;
  transition: color .4s var(--doux), box-shadow .4s var(--doux), transform .18s var(--doux); -webkit-tap-highlight-color: transparent; }
.bouton--nu { padding-inline: 1.5rem; justify-content: center; }
.bouton::before { content: ''; position: absolute; inset: -1px; z-index: -1; background: var(--b-survol); clip-path: circle(0% at calc(100% - 28px) 50%); transition: clip-path .62s var(--net); }
.bouton--nu::before { clip-path: circle(0% at 50% 115%); }
.bouton__t { display: block; overflow: hidden; padding-block: .22em; }
.bouton__t > span { display: block; }
.bouton__o { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--b-texte); color: var(--b-fond); overflow: hidden; transition: background-color .4s var(--doux), color .4s var(--doux), transform .5s var(--sortie); }
.bouton__o svg { width: 17px; height: 17px; }
.bouton:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 100px; }
.bouton:focus-visible::before { clip-path: circle(150% at calc(100% - 28px) 50%); }
.bouton:focus-visible { color: var(--b-texte-survol); box-shadow: inset 0 0 0 1px var(--b-survol); }
.bouton:focus-visible .bouton__o { background: var(--b-texte-survol); color: var(--b-survol); }
.bouton:active { transform: scale(.975); }
.bouton:active::before { clip-path: circle(150% at calc(100% - 28px) 50%); transition-duration: .25s; }
@media (hover: hover) {
  .bouton:hover { color: var(--b-texte-survol); box-shadow: inset 0 0 0 1px var(--b-survol); }
  .bouton:hover::before { clip-path: circle(150% at calc(100% - 28px) 50%); }
  .bouton--nu:hover::before { clip-path: circle(150% at 50% 115%); }
  .bouton:hover .bouton__o { background: var(--b-texte-survol); color: var(--b-survol); }
  .bouton:hover .bouton__t > span { animation: roule .58s var(--net); }
  .bouton:hover .bouton__o svg { animation: file .58s var(--net); }
}
.bouton--ligne { --b-fond: transparent; --b-texte: var(--texte); --b-survol: var(--encre); --b-texte-survol: var(--papier); --b-bord: rgba(19, 18, 17, .3); }
.bouton--ligne .bouton__o { background: transparent; color: var(--b-texte); box-shadow: inset 0 0 0 1px var(--b-bord); }
.bouton--cuivre { --b-fond: var(--cuivre); --b-texte: #fff; --b-survol: var(--encre); --b-texte-survol: var(--papier); }
.bouton--petit { min-height: 46px; padding: 4px 5px 4px 1.15rem; font-size: .9rem; gap: .7rem; }
.bouton--petit .bouton__o { width: 36px; height: 36px; }
.bouton--petit::before { clip-path: circle(0% at calc(100% - 23px) 50%); }
.encre .bouton, .pied .bouton { --b-fond: var(--papier); --b-texte: var(--encre); --b-survol: var(--cuivre-clair); --b-texte-survol: var(--encre); }
.encre .bouton--ligne, .pied .bouton--ligne { --b-fond: transparent; --b-texte: var(--papier); --b-survol: var(--papier); --b-texte-survol: var(--encre); --b-bord: rgba(242, 240, 234, .34); }
.bouton[disabled], .bouton[aria-disabled='true'] { opacity: .5; pointer-events: none; }
.bouton.est-occupe { pointer-events: none; opacity: 1; }
.bouton.est-occupe .bouton__o svg { display: none; }
.bouton.est-occupe .bouton__o::after { content: ''; width: 18px; height: 18px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: tourne .8s linear infinite; }
.boutons { display: flex; flex-wrap: wrap; gap: .8rem; }
@keyframes roule { 0% { transform: translateY(0); } 46% { transform: translateY(-135%); } 46.01% { transform: translateY(135%); } 100% { transform: translateY(0); } }
@keyframes file { 0% { transform: translateX(0); } 46% { transform: translateX(170%); } 46.01% { transform: translateX(-170%); } 100% { transform: translateX(0); } }
@keyframes monte { 0% { transform: translateY(0); } 46% { transform: translateY(-190%); } 46.01% { transform: translateY(190%); } 100% { transform: translateY(0); } }
@keyframes tourne { to { transform: rotate(360deg); } }

/* 6. En-tête et menu. Ton clair (texte encre) sur tout le site ; ton sombre seulement au-dessus du pied de page. */
.entete { --e-texte: var(--encre); --e-inverse: var(--papier); --e-fond: rgba(242, 240, 234, .9); --e-filet: rgba(19, 18, 17, .14); --logo-accent: var(--cuivre);
  position: absolute; inset: 0 0 auto 0; z-index: 100; height: var(--entete); display: flex; align-items: center; color: var(--e-texte);
  transition: transform .6s var(--doux), background-color .45s var(--doux), color .45s var(--doux); }
.js .entete { position: fixed; }
.entete--sombre:not(.est-menu) { --e-texte: var(--papier); --e-inverse: var(--encre); --e-fond: rgba(19, 18, 17, .76); --e-filet: rgba(242, 240, 234, .18); --logo-accent: var(--cuivre-clair); }
.entete::after { content: ''; position: absolute; left: var(--marge); right: var(--marge); bottom: 0; height: 1px; background: var(--e-filet); transition: left .6s var(--net), right .6s var(--net), background-color .45s; }
.entete.est-colle { background: var(--e-fond); -webkit-backdrop-filter: blur(16px) saturate(1.3); backdrop-filter: blur(16px) saturate(1.3); }
.entete.est-colle::after { left: 0; right: 0; }
.entete.est-menu { background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; transform: none !important; }
.entete.est-cache { transform: translateY(-102%); }
.entete:focus-within { transform: none; }
.entete__barre { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
/* Marque : le monogramme UM, puis « UnikMoment » et « — PHOTOBOOTH — » (tracés du logo officiel). */
.marque { display: inline-flex; align-items: center; gap: clamp(7px, .8vw, 11px); color: inherit; text-decoration: none; min-height: 44px; transform-origin: 0 50%; transition: transform .7s var(--sortie); }
.marque svg { height: clamp(31px, 2.9vw, 41px); width: auto; flex: none; }
.marque svg:first-child { aspect-ratio: 498 / 277; }
.marque svg:last-child { aspect-ratio: 778 / 178; }
.entete.est-colle .marque { transform: scale(.88); }
.menu { display: none; }
.entete__actions { display: flex; align-items: center; gap: .6rem; }
.entete .bouton { --b-fond: var(--e-texte); --b-texte: var(--e-inverse); --b-survol: var(--cuivre-clair); --b-texte-survol: var(--encre); --b-bord: var(--e-texte); transition: color .4s var(--doux), box-shadow .4s var(--doux), background-color .45s var(--doux), transform .18s var(--doux); }
.entete:not(.entete--sombre) .bouton, .entete.est-menu .bouton { --b-survol: var(--cuivre); --b-texte-survol: #fff; }
@media (max-width: 599px) { .entete__actions > .bouton { display: none; } }
.burger { position: relative; z-index: 120; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--e-filet); color: inherit; transition: box-shadow .4s, background-color .4s; }
.burger span { position: absolute; width: 18px; height: 1.5px; background: currentColor; transition: transform .5s var(--net); }
.burger span:first-child { transform: translateY(-4px); }
.burger span:last-child { transform: translateY(4px); }
.burger[aria-expanded='true'] span:first-child { transform: rotate(45deg); }
.burger[aria-expanded='true'] span:last-child { transform: rotate(-45deg); }
@media (hover: hover) { .burger:hover { box-shadow: inset 0 0 0 1px currentColor; } }
/* Volet du menu mobile : il s'ouvre depuis le bouton, comme un diaphragme. */
.volet { position: fixed; inset: 0; z-index: 90; background: var(--papier); color: var(--encre); display: flex; flex-direction: column; padding: calc(var(--entete) + 3svh) var(--marge) calc(26px + env(safe-area-inset-bottom)); overflow-y: auto; visibility: hidden;
  clip-path: circle(0% at calc(100% - var(--marge) - 24px) calc(var(--entete) / 2)); transition: clip-path .75s var(--net), visibility 0s .75s; }
.volet.est-ouvert { visibility: visible; clip-path: circle(150vmax at calc(100% - var(--marge) - 24px) calc(var(--entete) / 2)); transition: clip-path .85s var(--net), visibility 0s; }
.volet__liens { display: grid; margin-block: auto; padding-block: 1rem; }
.volet__liens a { display: flex; align-items: baseline; gap: 1rem; padding: .5rem 0; font-family: var(--serif); font-size: clamp(2rem, 9.4vw, 3.2rem); line-height: 1.08; letter-spacing: -.022em; text-decoration: none; border-bottom: 1px solid var(--filet); opacity: 0; transform: translateY(22px); transition: opacity .55s var(--doux), transform .7s var(--sortie), color var(--t-micro); }
.volet__liens a span { font-family: var(--mono); font-size: .66rem; letter-spacing: .1em; color: var(--cuivre); transform: translateY(-1em); }
.volet__liens a[aria-current='page'] { font-style: italic; color: var(--cuivre); }
.volet.est-ouvert .volet__liens a { opacity: 1; transform: none; transition-delay: calc(.22s + var(--i, 0) * .055s); }
.volet__bas { display: grid; gap: .9rem; padding-top: 1.1rem; opacity: 0; transition: opacity .6s .5s; }
.volet.est-ouvert .volet__bas { opacity: 1; }
.volet__bas .bouton { width: 100%; }
.volet__contacts { display: flex; flex-wrap: wrap; gap: .2rem 1.4rem; font-family: var(--mono); font-size: .78rem; letter-spacing: .06em; }
.volet__contacts a { text-decoration: none; padding-block: .6rem; }
@media (min-width: 1080px) {
  .burger, .volet { display: none; }
  .menu { display: flex; gap: clamp(1.1rem, 2.1vw, 2.3rem); font-size: .93rem; }
  .menu a { position: relative; padding-block: .85rem; text-decoration: none; color: inherit; transition: color var(--t-micro); }
  .menu a::after { content: ''; position: absolute; left: 0; right: 0; bottom: .5rem; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .5s var(--net); }
  .menu a::before { content: ''; position: absolute; left: 50%; top: .1rem; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--logo-accent); transform: scale(0); transition: transform .45s var(--sortie); }
  .menu a:hover::after, .menu a:focus-visible::after { transform: none; transform-origin: left; }
  .menu a[aria-current='page']::before { transform: none; }
  .menu a[aria-current='page']::after { transform: none; opacity: .45; }
}

/* 7. Plans photographiques — composant commun à la scène d'accueil et aux têtes de page.
   Chaque plan est une photo réelle. Au repos : noir et blanc clair, comme un tirage. Actif : la couleur se révèle, le plan s'élargit. */
.plans { display: flex; gap: 3px; }
.plan { position: relative; flex: 1 1 0; min-width: 0; overflow: hidden; background: var(--papier-2); transition: flex-grow var(--t-ample) var(--net); }
.plan picture { position: absolute; inset: 0; display: block; }
.plan img { position: absolute; left: 0; top: var(--y, 0%); width: 100%; height: var(--z, 100%); max-width: none; object-fit: cover; object-position: var(--x, 50%) 50%; filter: grayscale(1) brightness(.92) contrast(.94); transform: scale(1.05); transition: filter 1.2s ease, transform 2.2s var(--doux); }
.plan.est-actif { flex-grow: 1.75; }
.plan.est-actif img { filter: grayscale(0) brightness(1) contrast(1); transform: none; }
.plan__nom { position: absolute; left: 14px; right: 10px; top: 14px; z-index: 2; font-family: var(--mono); font-size: .64rem; letter-spacing: .12em; text-transform: uppercase; line-height: 1.4; color: rgba(242, 240, 234, .82); text-shadow: 0 1px 10px rgba(0, 0, 0, .6); transition: color .6s; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.plan__nom b { font-weight: 400; color: var(--cuivre-clair); margin-right: .7em; }
.plan.est-actif .plan__nom { color: #fff; }

/* 8. Scène d'accueil, sur papier : un bandeau de quatre plans photographiques, la régie juste dessous, puis le titre.
   Le bandeau prend la hauteur que le texte lui laisse : le bouton principal reste visible sans défiler. */
.scene { position: relative; isolation: isolate; background: var(--papier); padding-top: calc(var(--entete) + clamp(8px, 1.6svh, 20px)); padding-bottom: clamp(26px, 4.6svh, 56px); touch-action: pan-y; }
.scene__cadre { display: grid; gap: clamp(10px, 1.8svh, 18px); }
.scene__plans { position: relative; height: clamp(230px, calc(100svh - 470px), 640px); background: var(--papier-2); overflow: hidden; }
.scene__plans .plan { position: absolute; inset: 0; opacity: 0; transition: opacity 1.1s ease; }
.scene__plans .plan.est-actif { opacity: 1; }
.scene__plans .plan:not(.est-actif):not(.est-pret) { display: none; }
.scene__plans .plan__nom { display: none; }
.scene__texte { display: grid; gap: clamp(.55rem, 1.4svh, 1rem); }
.scene__h1 { display: flex; align-items: center; gap: .9rem; font-family: var(--sans); font-size: clamp(.74rem, 1vw, .92rem); font-weight: 500; letter-spacing: .12em; text-transform: uppercase; line-height: 1.4; color: var(--texte-2); }
.scene__h1::before { content: ''; flex: none; width: clamp(20px, 3vw, 46px); height: 1px; background: var(--cuivre); }
.scene__accroche { font-family: var(--serif); font-weight: 500; font-size: clamp(2.05rem, 9.4vw, 3.6rem); line-height: .94; letter-spacing: -.034em; }
.scene__accroche > span { display: block; overflow: hidden; padding: .04em 0 .14em; margin-bottom: -.14em; }
.scene__accroche > span > span { display: block; }
.scene__accroche em { font-weight: 400; color: var(--cuivre); }
.scene__bas { display: grid; gap: clamp(.8rem, 2svh, 1.2rem); }
.scene__action { display: grid; gap: 1rem; }
.scene__chapo { font-size: clamp(1rem, 1.15vw, 1.12rem); line-height: 1.55; color: var(--texte-2); max-width: 32em; }
.scene__regie { display: flex; align-items: center; gap: .9rem; }
.scene__reperes { flex: 1; display: flex; gap: clamp(.4rem, 1.4vw, 1.4rem); }
.repere { position: relative; flex: 1; min-height: 44px; padding: .8rem 0 .2rem; text-align: left; font-family: var(--mono); font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; line-height: 1.3; color: var(--texte-2); transition: color .5s; white-space: nowrap; overflow: hidden; }
.repere i { position: absolute; left: 0; right: 0; top: 0; height: 2px; background: rgba(19, 18, 17, .14); overflow: hidden; }
.repere i::after { content: ''; position: absolute; inset: 0; background: var(--cuivre); transform: scaleX(0); transform-origin: 0 50%; }
.repere b { font-weight: 400; color: var(--cuivre); margin-right: .7em; }
.repere span { display: none; }
.repere.est-actif { color: var(--texte); flex-grow: 2.6; }
.repere.est-actif span { display: inline; }
@media (max-width: 899px) { .scene__chapo .large, .scene .boutons .bouton--ligne { display: none; } }
@media (max-width: 899px) and (max-height: 740px) { .scene__chapo { display: none; } }
/* Petit écran (correction du 01/12/2026, constatée sur iPhone) : avec les barres de Safari, la fenêtre utile ne fait souvent
   que 650 à 700 px de haut. Le cadre tombait alors à 190 px, un bandeau très large où une photo verticale ne montrait que
   le pied de la borne. Le texte d'accroche étant plus court sur ces écrans (sans chapo), le cadre récupère la place libre,
   et chaque photo y est calée sur son sujet (--py : objectif et écran de la borne, visages), sans agrandissement. */
@media (max-width: 899px) {
  .scene__plans .plan img { top: 0; height: 100%; object-position: var(--x, 50%) var(--py, 50%); }
}
@media (max-width: 899px) and (max-height: 740px) { .scene__plans { height: clamp(230px, calc(100svh - 385px), 520px); } }
.repere.est-actif i::after { transform: none; }
.scene.est-en-lecture .repere.est-actif i::after { animation: remplir var(--duree, 5.4s) linear both; }
@media (hover: hover) { .repere:hover { color: var(--texte); } }
.scene__pause { flex: none; position: relative; width: 44px; height: 44px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(19, 18, 17, .26); display: grid; place-items: center; color: var(--texte); transition: box-shadow var(--t-micro), background-color var(--t-micro), color var(--t-micro); }
.scene__pause i { width: 9px; height: 11px; border-inline: 3px solid currentColor; transition: border-width .3s var(--doux), width .3s var(--doux), height .3s var(--doux), border-color .3s; }
.scene__pause[aria-pressed='true'] i { width: 0; height: 0; border-style: solid; border-color: transparent transparent transparent currentColor; border-width: 6px 0 6px 10px; margin-left: 3px; }
@media (hover: hover) { .scene__pause:hover { background: var(--encre); color: var(--papier); box-shadow: inset 0 0 0 1px var(--encre); } }
@keyframes remplir { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@media (min-width: 900px) {
  .scene__plans { display: flex; gap: 3px; height: clamp(300px, calc(100svh - 470px), 640px); }
  .scene__plans .plan { position: relative; inset: auto; opacity: 1; display: block !important; transition: flex-grow var(--t-ample) var(--net); }
  .scene__accroche { font-size: clamp(3.4rem, min(6vw, 10svh), 5.3rem); }
  .scene__action { grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 2rem; }
  .repere span { display: inline; }
  .repere.est-actif { flex-grow: 1; }
}
@media (min-width: 900px) and (max-width: 1279px) { .scene__chapo .large { display: none; } }
/* Grand écran : le slogan à gauche, le texte et les boutons à droite (colonne assez large pour garder le slogan sur deux lignes). */
@media (min-width: 1280px) {
  .scene__bas { grid-template-columns: minmax(0, 1fr) minmax(0, 25em); align-items: end; gap: clamp(2rem, 4vw, 4rem); }
  .scene__action { grid-template-columns: 1fr; gap: 1rem; }
}
@media (min-width: 900px) and (max-height: 760px) { .scene__chapo { display: none; } }

/* 9. Tête des pages internes : même langage que la scène, en plus contenu. */
.tete { position: relative; padding-top: calc(var(--entete) + clamp(22px, 5svh, 60px)); padding-bottom: clamp(34px, 5vw, 76px); overflow: clip; }
.fil { display: flex; flex-wrap: wrap; gap: .5rem; font-family: var(--mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--texte-2); margin-bottom: clamp(1.2rem, 2.6vw, 2.2rem); }
.fil a { text-decoration: none; padding-block: .6rem; margin-block: -.6rem; transition: color var(--t-micro); }
.fil a:hover { color: var(--accent); }
.fil li + li::before { content: '/'; margin-right: .5rem; opacity: .5; }
.tete__h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(2.45rem, 5.5vw, 5.4rem); line-height: .97; letter-spacing: -.03em; text-wrap: balance; max-width: 13.5em; }
.tete__grille { display: grid; gap: clamp(26px, 4vw, 60px); }
.tete__intro { display: grid; gap: clamp(1.2rem, 2.4vw, 2rem); align-content: end; }
.tete .plans { height: clamp(300px, 86vw, 440px); }
.tete .plan__nom { top: 12px; }
@media (min-width: 960px) {
  .tete__grille { grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); align-items: stretch; }
  .tete .plans { height: clamp(440px, 66svh, 660px); margin-right: calc(var(--marge) * -1); }
}
@media (min-width: 1500px) { .tete .plans { margin-right: 0; } }
.tete--simple { padding-bottom: clamp(40px, 5vw, 72px); }
.tete--simple .chapo { margin-top: clamp(20px, 3vw, 36px); }

/* 10. Tirages (photo sur papier, marge blanche, légende) et cadres */
.tirage { position: relative; background: var(--blanc); padding: 9px 9px 0; box-shadow: var(--ombre); color: var(--encre); }
.tirage picture, .tirage > img { display: block; overflow: hidden; background: var(--papier-2); }
.tirage img { width: 100%; height: 100%; object-fit: cover; }
.tirage figcaption span:first-child:not(:only-child) { flex: none; }
.tirage figcaption { display: flex; justify-content: space-between; gap: .8rem; padding: .62rem .1rem .68rem; font-family: var(--mono); font-size: .64rem; letter-spacing: .09em; text-transform: uppercase; line-height: 1.35; color: #5F5A53; }
.cadre { position: relative; overflow: hidden; background: var(--papier-2); }
.papier-2 .cadre { background: #DDD9CE; }
.cadre picture { display: block; width: 100%; height: 100%; }
.cadre img { width: 100%; height: 100%; object-fit: cover; }
.viseur { position: absolute; inset: 14px; z-index: 2; pointer-events: none; color: rgba(255, 255, 255, .82); transition: inset .7s var(--sortie), opacity .5s; }
.viseur i { position: absolute; width: 26px; height: 26px; border: 1px solid currentColor; }
.viseur i:nth-child(1) { left: 0; top: 0; border-right: 0; border-bottom: 0; }
.viseur i:nth-child(2) { right: 0; top: 0; border-left: 0; border-bottom: 0; }
.viseur i:nth-child(3) { left: 0; bottom: 0; border-right: 0; border-top: 0; }
.viseur i:nth-child(4) { right: 0; bottom: 0; border-left: 0; border-top: 0; }
.pile { position: relative; padding: 0 0 12% 14%; }
.pile .tirage { transition: transform .8s var(--sortie), box-shadow .6s; }
.pile .tirage:first-child { transform: rotate(1.5deg); }
.pile .tirage + .tirage { position: absolute; left: 0; bottom: 0; width: 44%; transform: rotate(-5deg); }
@media (hover: hover) { .pile:hover .tirage:first-child { transform: rotate(.4deg) translate3d(6px, -4px, 0); } .pile:hover .tirage + .tirage { transform: rotate(-7.5deg) translate3d(-10px, 6px, 0); box-shadow: 0 2px 2px rgba(19, 18, 17, .06), 0 28px 46px -22px rgba(19, 18, 17, .5); } }

/* 11. Sections */
.section { position: relative; padding-block: clamp(72px, 11vw, 168px); }
/* Les sections claires hors de l'écran ne sont mises en page qu'à leur approche : premier affichage plus rapide sur mobile.
   (Les sections sombres en sont exclues : leur fond doit rester connu des outils de contrôle des contrastes.) */
.section:not(.encre) { content-visibility: auto; contain-intrinsic-size: auto 900px; }
.section--serree { padding-block: clamp(56px, 8vw, 112px); }
.encre { background: var(--encre); color: var(--papier); --texte: #F2F0EA; --texte-2: #B5AFA5; --filet: rgba(242, 240, 234, .17); --accent: var(--cuivre-clair); --logo-accent: var(--cuivre-clair); --fond: var(--encre); }
.papier-2 { background: var(--papier-2); --fond: var(--papier-2); }
.entetesection { display: grid; gap: clamp(1rem, 2vw, 1.6rem); margin-bottom: clamp(36px, 6vw, 84px); }
.entetesection .etiquette { display: flex; align-items: center; gap: .8rem; }
.entetesection .etiquette::after { content: ''; flex: 1; max-width: 120px; height: 1px; background: var(--filet); }
@media (min-width: 960px) {
  .entetesection--2 { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: end; column-gap: clamp(40px, 7vw, 120px); }
  .entetesection--2 .etiquette { grid-column: 1 / -1; }
}
.duo { display: grid; gap: clamp(32px, 6vw, 96px); }
@media (min-width: 960px) { .duo { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; } .duo--haut { align-items: start; } .duo--large { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); } .duo .inverse { order: 2; } }
.points { display: grid; margin-top: clamp(1.6rem, 3vw, 2.4rem); border-top: 1px solid var(--filet); }
.points li { position: relative; display: grid; grid-template-columns: 3.2rem 1fr; gap: .5rem; padding: 1rem 0 1.05rem; border-bottom: 1px solid var(--filet); }
.points b { font-family: var(--mono); font-size: .7rem; font-weight: 400; letter-spacing: .1em; color: var(--accent); padding-top: .32rem; }
.points strong { display: block; font-weight: 600; }
.points span { color: var(--texte-2); font-size: .98rem; }
/* Blocs de même hauteur (A, B, C de l'accueil) : chaque ligne prend la hauteur de la plus haute, le contenu reste centré. */
.points--egal { grid-auto-rows: 1fr; }
.points--egal li { align-content: center; }
/* Lignes numérotées (listes « points » et « compris ») : au survol, un filet cuivre se trace sous la ligne et la description
   gagne un peu de contraste. Le texte ne bouge pas. Le filet se trace en 0,9 s et se retire plus vite, en 0,55 s. */
.points li::after, .compris li::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: 0 50%; transition: transform .55s var(--doux); }
.points span, .compris p { transition: color .5s var(--doux); }
@media (hover: hover) {
  .points li:hover::after, .compris li:hover::after { transform: none; transition: transform .9s var(--net); }
  .points li:hover span, .compris li:hover p { color: var(--texte); }
}
/* Lien vers Instagram : le pictogramme dans l'anneau, le compte à côté. */
.insta { display: inline-flex; align-items: center; gap: 1rem; margin-top: clamp(1.6rem, 3vw, 2.2rem); text-decoration: none; -webkit-tap-highlight-color: transparent; }
.insta__o { flex: none; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--filet); color: var(--accent); transition: background-color .45s var(--doux), color .45s var(--doux), box-shadow .45s var(--doux), transform .7s var(--sortie); }
.insta__o svg { width: 22px; height: 22px; }
.insta__t { display: grid; gap: .15rem; }
.insta__t span { font-family: var(--mono); font-size: .66rem; letter-spacing: .13em; text-transform: uppercase; color: var(--texte-2); }
.insta__t strong { width: fit-content; padding-bottom: .1em; font-family: var(--serif); font-size: clamp(1.2rem, 1.7vw, 1.45rem); font-weight: 500; letter-spacing: -.01em; background: linear-gradient(var(--accent), var(--accent)) 0 100% / 0 1px no-repeat; transition: background-size .6s var(--net); }
.insta:focus-visible { outline-offset: 6px; }
.insta:focus-visible .insta__o { background: var(--accent); color: var(--fond); box-shadow: inset 0 0 0 1px var(--accent); }
@media (hover: hover) { .insta:hover .insta__o { background: var(--accent); color: var(--fond); box-shadow: inset 0 0 0 1px var(--accent); transform: rotate(-8deg); } .insta:hover strong { background-size: 100% 1px; } }
.glyphe { display: inline-block; width: 1.15em; height: 1.15em; margin-right: .55em; vertical-align: -.24em; }
/* Bouton de pause des défilements continus (même dessin que celui de la scène d'accueil). */
.pause { flex: none; position: relative; width: 44px; height: 44px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--filet); display: none; place-items: center; color: var(--texte); transition: box-shadow var(--t-micro), background-color var(--t-micro), color var(--t-micro); }
.js .pause:not([hidden]) { display: grid; }
.pause i { width: 9px; height: 11px; border-inline: 3px solid currentColor; transition: border-width .3s var(--doux), width .3s var(--doux), height .3s var(--doux), border-color .3s; }
.pause[aria-pressed='true'] i { width: 0; height: 0; border-style: solid; border-color: transparent transparent transparent currentColor; border-width: 6px 0 6px 10px; margin-left: 3px; }
@media (hover: hover) { .pause:hover { background: var(--texte); color: var(--fond); box-shadow: inset 0 0 0 1px var(--texte); } }
/* Raccord : un fil et un anneau qui relient une section sombre à sa voisine claire. */
.raccord { position: absolute; left: 50%; z-index: 3; width: 1px; height: 96px; margin-left: -.5px; pointer-events: none; }
.raccord--bas { bottom: -48px; }
.raccord--haut { top: -48px; }
.raccord::before { content: ''; position: absolute; inset: 0; background: var(--cuivre-vif); transform-origin: 50% 0; }
.raccord::after { content: ''; position: absolute; left: 50%; bottom: -9px; width: 9px; height: 9px; margin-left: -4.5px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--cuivre-vif); background: var(--fond); }

/* 12. Repères (bande de données sous la scène) et manifeste */
.reperes-film { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-block: 1px solid var(--filet); }
.reperes-film li { padding: 1rem .9rem 1.1rem 0; font-size: .93rem; line-height: 1.35; border-bottom: 1px solid var(--filet); }
.reperes-film li:nth-child(odd) { border-right: 1px solid var(--filet); }
.reperes-film li:nth-child(even) { padding-left: .9rem; }
.reperes-film li:nth-last-child(-n + 2) { border-bottom: 0; }
.reperes-film b { display: block; margin-bottom: .35rem; font-family: var(--mono); font-size: .68rem; font-weight: 400; letter-spacing: .1em; color: var(--accent); }
@media (min-width: 900px) {
  .reperes-film { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .reperes-film li { padding: 1.2rem 1.2rem 1.35rem 0; border-bottom: 0; border-right: 1px solid var(--filet); }
  .reperes-film li + li { padding-left: 1.2rem; }
  .reperes-film li:last-child { border-right: 0; }
}
.manifeste { font-family: var(--serif); font-weight: 400; font-size: clamp(1.75rem, 4.2vw, 4rem); line-height: 1.12; letter-spacing: -.022em; text-wrap: balance; max-width: 19.5em; }
.manifeste em { color: var(--accent); }
.manifeste .mot { color: #8A847B; transition: color .55s var(--doux); }
.manifeste .mot.est-lu { color: var(--texte); }
.manifeste em .mot.est-lu { color: var(--cuivre); }

/* 13. La bande de souvenirs (interaction signature).
   Grand écran : la bande reste au centre et avance avec le défilement ; les textes alternent de part et d'autre.
   Petit écran : on fait glisser les vues du doigt, comme on feuillette des tirages. */
.bande { position: relative; padding-block: clamp(72px, 10vw, 150px) clamp(56px, 8vw, 110px); background: var(--papier-2); --fond: var(--papier-2); }
.bande__film { display: none; }
.bande__etapes { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--marge); padding: 6px var(--marge) 22px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.bande__etapes::-webkit-scrollbar { display: none; }
.bande__etape { flex: 0 0 min(80vw, 380px); scroll-snap-align: start; display: grid; gap: 1.1rem; align-content: start; }
.bande__etape .tirage picture { aspect-ratio: 4 / 5; }
.bande__etape .tirage img { filter: grayscale(1) brightness(.72); transition: filter 1.2s ease; }
.bande__etape.est-revelee .tirage img { filter: none; }
.bande__etape h3 { font-size: clamp(1.6rem, 6.4vw, 2rem); line-height: 1.06; margin-top: .45rem; }
.bande__etape .texte { margin-top: .7rem; font-size: 1rem; }
.bande__chiffre { display: none; }
.bande__fin { align-content: center; }
.bande__fin .boutons { margin-top: 1.4rem; }
.bande__rail { display: flex; gap: clamp(.4rem, 1.4vw, 1.4rem); margin: clamp(.6rem, 2vw, 1.4rem) var(--marge) 0; }
.bande__rail button { position: relative; flex: 1; min-height: 44px; padding: .8rem 0 .2rem; text-align: left; font-family: var(--mono); font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; color: var(--texte-2); transition: color .5s; white-space: nowrap; overflow: hidden; }
.bande__rail button i { position: absolute; left: 0; right: 0; top: 0; height: 2px; background: rgba(19, 18, 17, .14); }
.bande__rail button i::after { content: ''; position: absolute; inset: 0; background: var(--cuivre); transform: scaleX(var(--r, 0)); transform-origin: 0 50%; }
.bande__rail button b { font-weight: 400; color: var(--cuivre); margin-right: .7em; }
.bande__rail button.est-courant { color: var(--texte); }
@media (hover: hover) { .bande__rail button:hover { color: var(--texte); } }
@media (min-width: 960px) {
  .bande { padding-bottom: 0; }
  .bande__scene { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 32vw) minmax(0, 1fr); column-gap: clamp(32px, 5vw, 90px); max-width: var(--max); margin-inline: auto; padding-inline: var(--marge); }
  .bande__film { display: block; grid-column: 2; grid-row: 1; position: sticky; top: 0; height: 100svh; overflow: hidden; -webkit-mask-image: linear-gradient(transparent 0, #000 16%, #000 84%, transparent); mask-image: linear-gradient(transparent 0, #000 16%, #000 84%, transparent); }
  .bande__ruban { --vue: min(50svh, 28vw, 440px); --pas: calc(var(--vue) * 1.25 + 12px); position: absolute; left: 50%; top: calc(50% - var(--vue) * .625 - 12px); width: calc(var(--vue) + 24px); margin-left: calc(var(--vue) * -.5 - 12px); padding: 12px 12px 0; display: grid; gap: 12px; background: var(--blanc); box-shadow: 0 2px 3px rgba(19, 18, 17, .06), 0 34px 70px -30px rgba(19, 18, 17, .45); transform: translate3d(0, calc(var(--i, 0) * var(--pas) * -1), 0) rotate(-1.4deg); transform-origin: 50% 0; will-change: transform; }
  .bande.est-finie .bande__ruban { transform: translate3d(0, var(--fin-y, -30%), 0) scale(var(--fin-s, .26)) rotate(2deg); transition: transform 1.2s var(--net); }
  .bande.est-revenue .bande__ruban { transition: transform .9s var(--net); }
  .bande__vue { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: #E4E0D6; }
  .bande__vue picture { display: block; width: 100%; height: 100%; }
  .bande__vue img { width: 100%; height: 100%; object-fit: cover; opacity: 0; filter: sepia(.7) contrast(.55) brightness(1.7) blur(5px); transform: scale(1.06); transition: opacity 1.1s ease .1s, filter 1.9s ease .1s, transform 2.2s var(--doux); }
  .bande__vue::before { content: attr(data-n); position: absolute; inset: auto auto 10px 12px; font-family: var(--mono); font-size: .7rem; letter-spacing: .1em; color: rgba(19, 18, 17, .42); }
  .bande__vue.est-revelee img { opacity: 1; filter: none; transform: none; }
  .bande__vue.est-revelee::before { opacity: 0; transition: opacity .6s; }
  .bande__vue::after { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 50% 42%, #fff 0, rgba(255, 255, 255, .7) 45%, rgba(255, 255, 255, 0) 80%); opacity: 0; pointer-events: none; }
  .bande__vue.est-flashee::after { animation: flash .52s ease-out; }
  .bande__pied { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1rem .2rem 1.1rem; color: var(--encre); font-family: var(--mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; }
  .bande__pied svg { width: 62px; height: auto; color: var(--encre); --logo-accent: #96562F; }
  .bande__etapes { grid-column: 1 / -1; grid-row: 1; display: grid; grid-template-columns: subgrid; overflow: visible; padding: 0 0 6svh; gap: 0; scroll-snap-type: none; }
  .bande__etape { position: relative; isolation: isolate; grid-column: 1; min-height: 84svh; align-content: center; justify-items: end; text-align: right; flex: none; color: #67615A; --texte-2: #67615A; --accent: #7A5942; transition: color .7s var(--doux); }
  .bande__etape:nth-child(even) { grid-column: 3; justify-items: start; text-align: left; }
  .bande__etape .texte, .bande__etape .etiquette { transition: color .7s var(--doux); }
  .bande__etape.est-active { color: var(--texte); --texte-2: #5F5A53; --accent: var(--cuivre); }
  .bande__etape .tirage { display: none; }
  .bande__etape h3 { font-size: clamp(1.9rem, 3.1vw, 2.9rem); max-width: 10.5em; }
  .bande__etape .texte { font-size: 1.0625rem; max-width: 27em; }
  .bande__chiffre { display: block; position: absolute; top: 50%; right: -.06em; z-index: -1; font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(11rem, 22vw, 22rem); line-height: .7; letter-spacing: -.05em; color: transparent; -webkit-text-stroke: 1px rgba(19, 18, 17, .12); transform: translate3d(0, calc(-58% + var(--glisse, 0) * 1px), 0); pointer-events: none; }
  .bande__etape:nth-child(even) .bande__chiffre { right: auto; left: -.06em; }
  .bande__fin { min-height: 70svh; }
  .bande__rail { position: sticky; bottom: 0; z-index: 4; grid-column: 1 / -1; grid-row: 2; margin: 0; padding: 14px 0 18px; background: linear-gradient(to top, var(--papier-2) 55%, rgba(232, 229, 220, 0)); }
}
@keyframes flash { 0% { opacity: 0; } 14% { opacity: .78; } 100% { opacity: 0; } }

/* 14. Cartes d'événements — même langage, deux mises en scène : l'une se révèle en couleur, l'autre dévoile un détail. */
.evenements { display: grid; gap: clamp(28px, 3vw, 40px); }
.carte { position: relative; display: grid; grid-template-rows: auto 1fr; color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
.carte__photo { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--encre-2); }
.carte__photo picture { display: block; width: 100%; height: 100%; }
.carte__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.8s var(--doux), filter 1.2s ease; }
.carte__photo .viseur { inset: 26px; opacity: .55; }
.carte--revele .carte__photo img { filter: grayscale(1) brightness(.74) contrast(1.06); transform: scale(1.03); }
.carte--detail .carte__photo::after { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--cuivre-vif); transform: scaleX(0); transform-origin: 0 50%; transition: transform .9s var(--net); z-index: 3; }
.carte__detail { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; display: flex; flex-wrap: wrap; gap: .3rem 1.1rem; padding: 2.6rem 1.1rem 1rem; background: linear-gradient(to top, rgba(14, 13, 12, .88), rgba(14, 13, 12, 0)); color: var(--papier); font-family: var(--mono); font-size: .64rem; letter-spacing: .11em; text-transform: uppercase; transform: translateY(101%); transition: transform .8s var(--sortie); }
.carte__corps { padding-top: 1.3rem; display: grid; gap: .55rem; align-content: start; }
.carte__corps h3 { font-size: clamp(1.7rem, 2.7vw, 2.4rem); width: fit-content; background: linear-gradient(var(--accent), var(--accent)) 0 100% / 0 1px no-repeat; padding-bottom: .1em; transition: background-size .8s var(--net), color .4s; }
.carte__corps p { color: var(--texte-2); max-width: 30em; }
.carte__suite { display: inline-flex; align-items: center; gap: .8rem; margin-top: .6rem; font-weight: 500; font-size: .95rem; transition: color var(--t-micro); }
.carte__o { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(19, 18, 17, .28); overflow: hidden; transition: background-color .45s var(--doux), color .45s var(--doux), box-shadow .45s; }
.carte__o svg { width: 16px; height: 16px; }
.carte:focus-visible { outline-offset: 8px; }
.carte.est-vive .carte__photo img { filter: none; transform: scale(1.06); }
.carte.est-vive .carte__photo .viseur { inset: 14px; opacity: 1; }
.carte--detail.est-vive .carte__photo img { transform: scale(1.08) translate3d(0, -2%, 0); }
.carte--detail.est-vive .carte__photo::after { transform: none; }
.carte.est-vive .carte__detail { transform: none; }
@media (hover: hover) {
  .carte:hover .carte__photo img, .carte:focus-visible .carte__photo img { filter: none; transform: scale(1.06); }
  .carte:hover .carte__photo .viseur, .carte:focus-visible .carte__photo .viseur { inset: 14px; opacity: 1; }
  .carte--detail:hover .carte__photo img, .carte--detail:focus-visible .carte__photo img { transform: scale(1.08) translate3d(0, -2%, 0); }
  .carte--detail:hover .carte__photo::after, .carte--detail:focus-visible .carte__photo::after { transform: none; }
  .carte:hover .carte__detail, .carte:focus-visible .carte__detail { transform: none; }
  .carte:hover .carte__corps h3, .carte:focus-visible .carte__corps h3 { background-size: 100% 1px; }
  .carte:hover .carte__suite, .carte:focus-visible .carte__suite { color: var(--accent); }
  .carte:hover .carte__o, .carte:focus-visible .carte__o { background: var(--cuivre); color: #fff; box-shadow: inset 0 0 0 1px var(--cuivre); }
  .carte:hover .carte__o svg { animation: file .58s var(--net); }
}
@media (min-width: 760px) { .evenements { grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); column-gap: clamp(24px, 4vw, 64px); } .evenements .carte:nth-child(2) { margin-top: clamp(56px, 9vw, 150px); } }
.autres { margin-top: clamp(40px, 6vw, 80px); display: flex; flex-wrap: wrap; gap: .5rem .6rem; align-items: center; }
.autres li { padding: .5rem .9rem; box-shadow: inset 0 0 0 1px var(--filet); border-radius: 100px; font-size: .9rem; transition: box-shadow var(--t-micro), background-color var(--t-micro), color var(--t-micro); }
.autres li:first-child { box-shadow: none; padding-left: 0; font-family: var(--mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--texte-2); }
@media (hover: hover) { .autres li:not(:first-child):hover { background: var(--encre); color: var(--papier); box-shadow: inset 0 0 0 1px var(--encre); } }

/* 15. Listes : inclus, étapes, zone */
.compris { display: grid; border-top: 1px solid var(--filet); }
.compris li { position: relative; display: grid; grid-template-columns: 2.6rem 1fr; gap: .4rem 1rem; align-content: start; padding: 1.25rem 0 1.35rem; border-bottom: 1px solid var(--filet); }   /* en deux colonnes, une ligne plus courte que sa voisine garde son titre collé à sa description */
.compris b { grid-row: span 2; font-family: var(--mono); font-size: .7rem; font-weight: 400; letter-spacing: .1em; color: var(--accent); padding-top: .5rem; }
.compris h3 { font-size: clamp(1.25rem, 1.7vw, 1.5rem); }
.compris p { color: var(--texte-2); font-size: .98rem; max-width: 34em; }
@media (min-width: 760px) { .compris--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(32px, 5vw, 80px); } }
.etapes { display: grid; counter-reset: etape; }
.etapes li { counter-increment: etape; position: relative; padding: 1.6rem 0 1.7rem; border-top: 1px solid var(--filet); display: grid; gap: .5rem; align-content: start; }
.etapes li::before { content: counter(etape, decimal-leading-zero); font-family: var(--mono); font-size: .7rem; letter-spacing: .1em; color: var(--accent); }
.etapes li::after { content: ''; position: absolute; left: 0; top: -1px; width: 100%; height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: 0 50%; transition: transform 1.1s var(--net); transition-delay: var(--d, 0s); }
.etapes li.est-vu::after { transform: scaleX(.34); }
.etapes p { color: var(--texte-2); font-size: .98rem; }
@media (min-width: 860px) { .etapes { grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: clamp(20px, 2.6vw, 40px); } .etapes--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .etapes--1 { grid-template-columns: 1fr; } .etapes li { padding-right: .5rem; } }
.note { margin-top: 1.4rem; padding: 1rem 1.15rem; border-left: 2px solid var(--accent); background: rgba(150, 86, 47, .07); font-size: .95rem; color: var(--texte-2); max-width: 44em; }
.encre .note { background: rgba(217, 162, 122, .09); }
.zone { overflow: clip; }
/* Les villes défilent en continu : deux séries identiques bout à bout, la première remplace la seconde sans raccord visible. */
.zone__defile { display: flex; width: max-content; margin-block: clamp(28px, 4vw, 56px) 0; font-family: var(--serif); font-size: clamp(2.6rem, 8.4vw, 8rem); line-height: 1.05; letter-spacing: -.03em; white-space: nowrap; }
.zone__defile p { display: flex; gap: .5em; padding-right: .5em; }
.js .zone__defile { animation: defiler 56s linear infinite; will-change: transform; }
.js .zone__ruban.est-en-pause .zone__defile { animation-play-state: paused; }
@keyframes defiler { to { transform: translate3d(-50%, 0, 0); } }
.zone__regie { display: flex; justify-content: flex-end; margin-top: clamp(12px, 2vw, 22px); }
.zone__defile span:nth-child(even) { font-style: italic; color: var(--accent); }
.zone__defile span:nth-child(odd) { color: var(--texte); }
.histoire__sceau { width: min(100%, 360px); margin-inline: auto; }

/* 16. FAQ */
.faq { border-top: 1px solid var(--filet); }
.faq details { border-bottom: 1px solid var(--filet); }
.faq summary { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 1.2rem; padding: 1.25rem 0; cursor: pointer; list-style: none; font-family: var(--serif); font-size: clamp(1.18rem, 1.7vw, 1.5rem); font-weight: 500; line-height: 1.22; letter-spacing: -.01em; transition: color var(--t-micro); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { position: relative; width: 40px; height: 40px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--filet); flex: none; transition: background-color .4s var(--doux), box-shadow .4s, color .4s, transform .6s var(--sortie); }
.faq summary i::before, .faq summary i::after { content: ''; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; margin: -.75px 0 0 -6px; background: currentColor; transition: transform .5s var(--net); }
.faq summary i::after { transform: rotate(90deg); }
.faq details[open] summary { color: var(--accent); }
.faq details[open] summary i { background: var(--texte); color: var(--fond); box-shadow: inset 0 0 0 1px var(--texte); transform: rotate(180deg); }
.faq details[open] summary i::after { transform: none; }
@media (hover: hover) { .faq summary:hover i { box-shadow: inset 0 0 0 1px var(--texte); } }   /* même principe que les listes : la question ne se décale plus */
.faq__reponse { padding: 0 3.4rem 1.5rem 0; color: var(--texte-2); max-width: 46em; }
.faq details[open] .faq__reponse { animation: deplie .6s var(--sortie); }
.faq__reponse p + p { margin-top: .8em; }
@keyframes deplie { from { opacity: 0; transform: translateY(-8px); } }

/* 16 bis. Avis Google : une note, puis des cartes que l'on fait défiler (doigt, molette, clavier, boutons). */
.etoiles { display: inline-flex; color: var(--cuivre); }
.etoiles svg { display: block; width: 5.4em; height: 1.08em; }
.avis { overflow-x: clip; }
.avis__note { display: grid; gap: .75rem; justify-items: start; }
.avis__score { display: flex; align-items: center; gap: .8rem; }
.avis__score .etoiles svg { width: 112px; height: 22px; }
.avis__score strong { font-family: var(--serif); font-size: clamp(2.3rem, 3.6vw, 3.2rem); font-weight: 500; line-height: 1; letter-spacing: -.02em; }
.avis__score span:last-child { color: var(--texte-2); }
.avis__releve { color: var(--texte-2); font-size: .95rem; max-width: 30em; }
.avis__piste { --bord: max(var(--marge), calc((100vw - var(--max)) / 2 + var(--marge))); overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--bord); overscroll-behavior-x: contain; scrollbar-width: none; padding-block: 10px 30px; }
.avis__piste::-webkit-scrollbar { display: none; }
.avis__piste:focus-visible { outline-offset: -4px; }
.avis__liste { display: flex; gap: clamp(14px, 1.6vw, 22px); width: max-content; padding-inline: var(--bord); }
.avis__carte { flex: none; width: clamp(272px, 27vw, 372px); scroll-snap-align: start; }
.avis__carte figure { height: 100%; display: grid; grid-template-rows: auto 1fr auto; gap: 1.1rem; padding: clamp(1.3rem, 2vw, 1.8rem); background: var(--blanc); box-shadow: var(--ombre); }
.avis__carte .etoiles svg { width: 86px; height: 17px; }
.avis__carte blockquote { margin: 0; font-family: var(--serif); font-size: clamp(1.14rem, 1.35vw, 1.3rem); line-height: 1.38; letter-spacing: -.006em; font-variation-settings: 'opsz' 16; }
.avis__carte blockquote p::before { content: '« '; color: var(--cuivre); }
.avis__carte blockquote p::after { content: ' »'; color: var(--cuivre); }
.avis__carte figcaption { display: grid; gap: .15rem; padding-top: 1rem; border-top: 1px solid var(--filet); }
.avis__carte figcaption b { font-weight: 600; font-size: .96rem; }
.avis__carte figcaption span { font-family: var(--mono); font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; color: var(--texte-2); }
.avis__regie { display: none; justify-content: flex-end; gap: .6rem; }
.js .avis__regie { display: flex; }
.avis__fleche { width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1px rgba(19, 18, 17, .28); color: var(--texte); transition: background-color .35s var(--doux), color .35s var(--doux), box-shadow .35s var(--doux), opacity .3s; }
.avis__fleche svg { width: 18px; height: 18px; }
.avis__fleche[aria-disabled='true'] { opacity: .32; cursor: default; }
.avis__fleche:active:not([aria-disabled='true']) { transform: scale(.94); }
@media (hover: hover) { .avis__fleche:not([aria-disabled='true']):hover { background: var(--encre); color: var(--papier); box-shadow: inset 0 0 0 1px var(--encre); } .avis__fleche[data-avis-suivant]:not([aria-disabled='true']):hover svg { animation: file .55s var(--net); } .avis__fleche[data-avis-precedent]:not([aria-disabled='true']):hover svg { animation: file .55s var(--net) reverse; } }
@media (min-width: 960px) { .avis .entetesection--2 .avis__note { justify-self: end; } }

/* 16 ter. Pages des villes, depuis la zone d'intervention : même geste que les lignes numérotées (filet cuivre, anneau). */
.villes { display: grid; margin-top: 1.8rem; border-top: 1px solid var(--filet); }
.villes a { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .85rem 0; border-bottom: 1px solid var(--filet); text-decoration: none; font-family: var(--serif); font-size: clamp(1.2rem, 1.7vw, 1.5rem); line-height: 1.2; font-variation-settings: 'opsz' 16; }
.villes a::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: 0 50%; transition: transform .55s var(--doux); }
.villes strong { font-weight: 500; font-style: italic; color: var(--cuivre); }
.villes__o { flex: none; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1px rgba(19, 18, 17, .26); transition: background-color .4s var(--doux), color .4s var(--doux), box-shadow .4s var(--doux); }
.villes__o svg { width: 16px; height: 16px; }
.villes a:focus-visible { outline-offset: 4px; }
.villes a:focus-visible::after { transform: none; }
.villes a:focus-visible .villes__o { background: var(--cuivre); color: #fff; box-shadow: inset 0 0 0 1px var(--cuivre); }
@media (hover: hover) { .villes a:hover::after { transform: none; transition: transform .9s var(--net); } .villes a:hover .villes__o { background: var(--cuivre); color: #fff; box-shadow: inset 0 0 0 1px var(--cuivre); } .villes a:hover .villes__o svg { animation: file .58s var(--net); } }

/* 17. Appel final (sur papier) et pied de page (sombre), signé du nom en grand. */
.appel { padding-bottom: clamp(48px, 7vw, 100px); overflow-x: clip; }
/* La bande dérive avec le défilement ; chaque photo se développe en couleur au survol et s'agrandit au clic.
   --recale ramène dans la fenêtre la photo atteinte au clavier.
   Largeur des vues proportionnelle à l'écran, sans plafond : n vues × (120vw / n) dépassent toujours la fenêtre
   augmentée de la course maximale (22vw). Plafonnée à 210 px, la bande laissait un vide à droite au-delà de 1 500 px.
   Depuis le 30/11/2026, chaque page retient 5 à 8 photos (celles déjà montrées plus haut sont écartées) : --n. */
.appel__bande { display: flex; gap: 10px; width: max-content; margin-bottom: clamp(44px, 7vw, 96px); transform: translate3d(calc(-6vw - var(--derive, 0) * 16vw + var(--recale, 0px)), 0, 0); will-change: transform; }
.appel__vue { position: relative; display: block; flex: none; width: max(120px, calc(120vw / var(--n, 8))); aspect-ratio: 4 / 5; overflow: hidden; background: var(--papier); cursor: zoom-in; -webkit-tap-highlight-color: transparent; }
.appel__vue picture { display: block; width: 100%; height: 100%; }
.appel__vue img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) brightness(.92) contrast(.94); transition: filter .7s var(--doux), transform 1.2s var(--doux); }
.appel__vue:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 0; }
.appel__vue:focus-visible img, .appel__vue:active img { filter: none; }
@media (hover: hover) { .appel__vue:hover img { filter: none; transform: scale(1.05); } }
.appel .accroche { font-size: clamp(2.7rem, 8.6vw, 8.8rem); line-height: .93; }
.appel__bas { margin-top: clamp(32px, 5vw, 64px); display: grid; gap: 2rem; padding-top: clamp(24px, 3vw, 40px); border-top: 1px solid var(--filet); }
.appel__coordonnees { display: grid; gap: .1rem; font-family: var(--mono); font-size: .86rem; letter-spacing: .04em; }
.appel__coordonnees .etoiles { margin-right: .6em; vertical-align: -.12em; }
.appel__coordonnees a { text-decoration: none; padding-block: .55rem; width: fit-content; background: linear-gradient(var(--accent), var(--accent)) 0 calc(100% - .35rem) / 0 1px no-repeat; transition: background-size .6s var(--net), color var(--t-micro); }
.appel__coordonnees a:hover { color: var(--accent); background-size: 100% 1px; }
@media (min-width: 860px) { .appel__bas { grid-template-columns: minmax(0, 1fr) auto; align-items: end; } }
.pied { position: relative; background: var(--encre); color: var(--papier); --texte: #F2F0EA; --texte-2: #B5AFA5; --filet: rgba(242, 240, 234, .17); --accent: var(--cuivre-clair); --logo-accent: var(--cuivre-clair); --fond: var(--encre); padding-block: clamp(48px, 6vw, 84px) calc(22px + env(safe-area-inset-bottom)); overflow: clip; }
.pied::before { content: ''; position: absolute; left: var(--marge); right: var(--marge); top: 0; height: 1px; background: var(--filet); }
.pied__haut { display: grid; gap: 2.4rem; }
.pied__marque svg { width: 190px; height: auto; aspect-ratio: 750 / 117; color: var(--papier); }
.pied__marque p { margin-top: 1rem; color: var(--texte-2); max-width: 26em; font-size: .96rem; }
.pied h2 { font-family: var(--mono); font-size: .7rem; font-weight: 400; letter-spacing: .13em; text-transform: uppercase; color: var(--texte-2); margin-bottom: .7rem; }
.pied ul { display: grid; }
.pied ul a, .pied ul span { display: inline-block; padding-block: .5rem; text-decoration: none; }
.pied ul a { background: linear-gradient(var(--cuivre-clair), var(--cuivre-clair)) 0 calc(100% - .32rem) / 0 1px no-repeat; transition: background-size .55s var(--net), color var(--t-micro); }
.pied ul a:hover, .pied ul a[aria-current='page'] { color: var(--cuivre-clair); background-size: 100% 1px; }
/* Le nom en grand, gravé dans le pied de page : une lueur le parcourt lentement, puis suit le pointeur dès qu'il survole le pied.
   La lueur est une seconde copie du nom, claire, que l'on ne voit qu'à travers un masque rond placé en (--mx, --my). */
@property --mx { syntax: '<percentage>'; inherits: true; initial-value: 50%; }
@property --my { syntax: '<percentage>'; inherits: true; initial-value: 30%; }
.pied__geant { position: relative; margin-top: clamp(40px, 6vw, 80px); color: rgba(242, 240, 234, .1); --logo-accent: rgba(217, 162, 122, .32); --mx: 50%; --my: 30%; }
.pied__geant svg { display: block; width: 100%; height: auto; aspect-ratio: 750 / 117; }
.pied__lueur { position: absolute; inset: 0; color: #F6E9DA; --logo-accent: var(--cuivre-clair); pointer-events: none;
  -webkit-mask-image: radial-gradient(circle at var(--mx) var(--my), rgba(0, 0, 0, .86), rgba(0, 0, 0, .26) 16%, rgba(0, 0, 0, 0) 32%);
  mask-image: radial-gradient(circle at var(--mx) var(--my), rgba(0, 0, 0, .86), rgba(0, 0, 0, .26) 16%, rgba(0, 0, 0, 0) 32%); }
.js .pied__geant.est-visible { animation: lueur-pied 16s ease-in-out infinite alternate; }
.js .pied__geant.suit-pointeur { animation: none; transition: --mx .6s var(--doux), --my .6s var(--doux); }
@keyframes lueur-pied { 0% { --mx: 6%; --my: 80%; } 50% { --mx: 50%; --my: 10%; } 100% { --mx: 94%; --my: 80%; } }
.pied__bas { margin-top: clamp(20px, 3vw, 36px); padding-top: 1.2rem; border-top: 1px solid var(--filet); display: flex; flex-wrap: wrap; gap: .4rem 1.6rem; justify-content: space-between; font-size: .84rem; color: var(--texte-2); }
.pied__bas a { text-decoration: none; padding-block: .6rem; display: inline-block; transition: color var(--t-micro); }
.pied__bas a:hover { color: var(--papier); }
.pied__bas nav { display: flex; flex-wrap: wrap; gap: 0 1.4rem; }
@media (min-width: 860px) { .pied__haut { grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: clamp(32px, 5vw, 80px); } }
@media (max-width: 1079px) { .pied { padding-bottom: calc(92px + env(safe-area-inset-bottom)); } }

/* 18. Formulaire */
.formulaire { display: grid; gap: 1.2rem; }
.champs { display: grid; gap: 1.2rem; }
@media (min-width: 640px) { .champs--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.champ { display: grid; gap: .45rem; align-content: start; }
.champ label, .champ legend { font-size: .9rem; font-weight: 500; transition: color var(--t-micro); }
.champ label i, .champ legend i { font-style: normal; font-weight: 400; color: var(--texte-2); }
.champ:focus-within > label { color: var(--accent); }
/* Le trait cuivre se dessine sous le champ à la prise de focus ; une coche confirme un champ correctement rempli. */
.champ input, .champ select, .champ textarea { width: 100%; min-height: 56px; padding: .85rem 1rem; background-color: var(--blanc); border: 1px solid rgba(19, 18, 17, .26); border-radius: 3px; font-size: 1rem; line-height: 1.4;
  background-image: linear-gradient(var(--cuivre), var(--cuivre)); background-repeat: no-repeat; background-position: 0 100%; background-size: 0 2px;
  transition: border-color var(--t-micro), background-size .55s var(--net), background-color var(--t-micro), box-shadow var(--t-micro); }
.champ textarea { min-height: 150px; resize: vertical; }
.champ select { appearance: none; padding-right: 2.6rem; background-image: linear-gradient(var(--cuivre), var(--cuivre)), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23131211' stroke-width='1.5'/%3E%3C/svg%3E"); background-position: 0 100%, right 1rem center; background-size: 0 2px, 12px; }
.champ input:hover, .champ select:hover, .champ textarea:hover { border-color: rgba(19, 18, 17, .6); }
.champ input:focus-visible, .champ select:focus-visible, .champ textarea:focus-visible { outline: none; border-color: var(--cuivre); background-size: 100% 2px; box-shadow: 0 0 0 4px rgba(150, 86, 47, .14); }
.champ select:focus-visible { background-size: 100% 2px, 12px; }
.champ input.est-valide { padding-right: 2.6rem; background-image: linear-gradient(var(--cuivre), var(--cuivre)), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.4l3.2 3.2L13 4.8' fill='none' stroke='%2396562F' stroke-width='1.6'/%3E%3C/svg%3E"); background-position: 0 100%, right .95rem center; background-size: 0 2px, 16px; }
.champ input.est-valide:focus-visible { background-size: 100% 2px, 16px; }
.champ [aria-invalid='true'] { border-color: #A32A1B; background-color: #FDF6F4; }
.champ [aria-invalid='true']:focus-visible { box-shadow: 0 0 0 4px rgba(163, 42, 27, .14); }
.champ__aide { font-size: .84rem; color: var(--texte-2); }
.champ__erreur { display: flex; gap: .45rem; align-items: baseline; font-size: .86rem; color: #A32A1B; font-weight: 500; animation: surgit .4s var(--sortie); }
.champ__erreur::before { content: ''; flex: none; width: 6px; height: 6px; border-radius: 50%; background: currentColor; transform: translateY(-1px); }
@keyframes surgit { from { opacity: 0; transform: translateY(-5px); } }
.piege { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.formulaire__mentions { font-size: .86rem; color: var(--texte-2); max-width: 46em; }
.formulaire__mentions a { color: var(--texte); }
.formulaire__envoi { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.4rem; margin-top: .4rem; }
.message { padding: 1rem 1.15rem; border: 1px solid; border-radius: 3px; font-size: .95rem; animation: surgit .45s var(--sortie); }
.message--erreur { border-color: #A32A1B; background: #FBEDEA; color: #7A1E12; }
.message--demo { border-color: var(--cuivre); background: rgba(150, 86, 47, .08); color: var(--texte); }
.message--demo strong { color: var(--cuivre); }
/* Confirmation : elle sort comme un tirage, avec sa coche tracée. */
.confirmation { position: relative; padding: clamp(28px, 4vw, 48px); background: var(--blanc); box-shadow: var(--ombre); transform: rotate(-.6deg); animation: tirer 1s var(--sortie); }
.confirmation h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); }
.confirmation p { margin-top: .9rem; color: var(--texte-2); max-width: 36em; }
.confirmation__coche { width: 58px; height: 58px; margin-bottom: 1.2rem; color: var(--cuivre); }
.confirmation__coche circle { fill: none; stroke: currentColor; stroke-width: 1.4; stroke-dasharray: 164; stroke-dashoffset: 164; animation: tracer 1s var(--net) .35s forwards; }
.confirmation__coche path { fill: none; stroke: currentColor; stroke-width: 2; stroke-dasharray: 40; stroke-dashoffset: 40; animation: tracer .5s var(--net) 1.05s forwards; }
@keyframes tirer { from { opacity: 0; transform: translateY(46px) rotate(1.5deg); } }
@keyframes tracer { to { stroke-dashoffset: 0; } }
.contact__grille { display: grid; gap: clamp(40px, 6vw, 96px); }
@media (min-width: 1000px) { .contact__grille { grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); align-items: start; } .contact__cote { position: sticky; top: calc(var(--entete) + 24px); } }
.coordonnees { display: grid; border-top: 1px solid var(--filet); }
.coordonnees > div { padding: 1.1rem 0 1.2rem; border-bottom: 1px solid var(--filet); }
.coordonnees dt { font-family: var(--mono); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--texte-2); margin-bottom: .3rem; }
.coordonnees dd a, .coordonnees dd strong { font-family: var(--serif); font-weight: 500; font-size: clamp(1.35rem, 2vw, 1.75rem); letter-spacing: -.01em; text-decoration: none; overflow-wrap: anywhere; }
.coordonnees dd a { background: linear-gradient(var(--accent), var(--accent)) 0 100% / 0 1px no-repeat; transition: background-size .6s var(--net), color var(--t-micro); }
.coordonnees dd a:hover { color: var(--accent); background-size: 100% 1px; }
.coordonnees dd span { display: block; font-size: .9rem; color: var(--texte-2); margin-top: .15rem; }

/* 19. Galerie (planche-contact) et visionneuse */
.planche { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(14px, 2.2vw, 36px); align-items: start; }
.planche__vue { display: block; text-decoration: none; color: inherit; -webkit-tap-highlight-color: transparent; }
.planche__vue .tirage picture { position: relative; aspect-ratio: 4 / 5; }
.planche__vue .tirage img { transition: transform 1.4s var(--doux); }
.planche__vue .tirage { transition: transform .7s var(--sortie), box-shadow .6s; }
.planche__vue .tirage::after { content: 'Agrandir'; position: absolute; left: 9px; right: 9px; top: 9px; display: grid; place-items: center; aspect-ratio: 4 / 5; background: rgba(14, 13, 12, .42); color: #fff; font-family: var(--mono); font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; opacity: 0; transition: opacity .45s; pointer-events: none; }
.planche__vue--paysage .tirage::after { aspect-ratio: 6 / 5; }
.planche__vue--haut .tirage::after { aspect-ratio: 2 / 3; }
.planche__vue:nth-child(3n + 1) .tirage { transform: rotate(-.8deg); }
.planche__vue:nth-child(3n + 2) .tirage { transform: rotate(.7deg); }
@media (hover: hover) {
  .planche__vue:hover .tirage img, .planche__vue:focus-visible .tirage img { transform: scale(1.06); }
  .planche__vue:hover .tirage, .planche__vue:focus-visible .tirage { transform: translate3d(0, -6px, 0) rotate(0deg); box-shadow: 0 2px 2px rgba(19, 18, 17, .06), 0 30px 50px -24px rgba(19, 18, 17, .5); }
  .planche__vue:hover .tirage::after, .planche__vue:focus-visible .tirage::after { opacity: 1; }
}
.planche__vue--paysage .tirage picture { aspect-ratio: 6 / 5; }
.planche__vue--haut .tirage picture { aspect-ratio: 2 / 3; }
@media (min-width: 860px) {
  .planche { grid-template-columns: repeat(12, minmax(0, 1fr)); row-gap: clamp(36px, 5vw, 84px); }
  .planche__vue { grid-column: span 4; }
  .planche__vue--large { grid-column: span 5; }
  .planche__vue--etroit { grid-column: span 3; }
  .planche__vue--demi { grid-column: span 6; }
  .planche__vue--decale { margin-top: clamp(40px, 6vw, 110px); }
}
.visionneuse { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(13, 12, 11, .98); color: var(--papier); touch-action: pan-y; }
.visionneuse::backdrop { background: rgba(13, 12, 11, .98); }
.visionneuse[open] { display: grid; grid-template-rows: auto 1fr auto; animation: voile .45s ease; }
@keyframes voile { from { opacity: 0; } }
.visionneuse__haut, .visionneuse__bas { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 14px var(--marge); font-family: var(--mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; }
.visionneuse__scene { min-height: 0; display: grid; grid-template: minmax(0, 1fr) / minmax(0, 1fr); place-items: center; padding-inline: var(--marge); overflow: hidden; }   /* piste de taille définie : la photo s'y inscrit en entier, quelle que soit sa hauteur */
.visionneuse__scene img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; background: var(--blanc); padding: 10px; box-shadow: 0 40px 80px -40px #000; transition: opacity .32s ease, transform .5s var(--sortie); }
.visionneuse__scene img.est-en-transit { opacity: 0; transform: translate3d(calc(var(--sens, 1) * 26px), 0, 0) scale(.985); transition-duration: .2s, .2s; }
.visionneuse button { position: relative; min-width: 48px; min-height: 48px; display: inline-grid; place-items: center; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(242, 240, 234, .3); color: var(--papier); overflow: hidden; transition: background-color .35s var(--doux), color .35s var(--doux), transform .18s; }
.visionneuse button:active { transform: scale(.94); }
.visionneuse button:focus-visible { outline-color: var(--cuivre-clair); }
.visionneuse button svg { width: 18px; height: 18px; }
@media (hover: hover) { .visionneuse button:hover { background: var(--papier); color: var(--encre); } .visionneuse [data-suivant]:hover svg { animation: file .55s var(--net); } .visionneuse [data-precedent]:hover svg { animation: file .55s var(--net) reverse; } }
.visionneuse__nav { display: flex; gap: .6rem; }

/* 20. Aperçu du cadre personnalisé */
.cadre-demo { display: grid; gap: clamp(28px, 5vw, 72px); }
@media (min-width: 900px) { .cadre-demo { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center; } }
.cadre-demo__carte { background: #fff; padding: 12px; box-shadow: 0 2px 3px rgba(19, 18, 17, .06), 0 30px 64px -30px rgba(19, 18, 17, .45); transform: rotate(-1.4deg); color: var(--encre); container-type: inline-size; transition: background-color .5s, color .5s, transform .8s var(--sortie); }
.cadre-demo:focus-within .cadre-demo__carte { transform: rotate(0deg) scale(1.012); }
.cadre-demo__haut { display: flex; justify-content: center; padding: 3.2cqi 0 2.6cqi; }
.cadre-demo__haut svg { width: 13cqi; height: auto; color: var(--encre); --logo-accent: #96562F; }
.cadre-demo__photo { position: relative; aspect-ratio: 3 / 2; background: linear-gradient(140deg, #D9D4C8, #EFECE4 55%, #D3CDBF); display: grid; place-items: center; overflow: hidden; }
.cadre-demo__photo span { font-family: var(--mono); font-size: max(.6rem, 2.1cqi); letter-spacing: .14em; text-transform: uppercase; color: rgba(19, 18, 17, .62); }
.cadre-demo__photo .viseur { color: rgba(19, 18, 17, .34); inset: 4cqi; }
.cadre-demo__bas { text-align: center; padding: 3.4cqi 2cqi 3cqi; }
.cadre-demo__nom { font-family: var(--serif); font-size: clamp(1rem, 5.6cqi, 2.2rem); font-weight: 500; letter-spacing: .14em; text-transform: uppercase; line-height: 1.15; overflow-wrap: anywhere; }
.cadre-demo__nom.est-change { animation: surgit .5s var(--sortie); }
.cadre-demo__date { margin-top: 1.2cqi; font-family: var(--mono); font-size: max(.62rem, 2.3cqi); letter-spacing: .2em; color: #96562F; }
.cadre-demo__carte[data-style='italique'] .cadre-demo__nom { font-style: italic; text-transform: none; letter-spacing: -.01em; font-size: clamp(1.2rem, 7.4cqi, 2.9rem); font-weight: 400; }
.cadre-demo__carte[data-style='sombre'] { background: #0D0C0B; color: var(--papier); box-shadow: 0 0 0 1px rgba(242, 240, 234, .2), 0 30px 70px -34px #000; }
.cadre-demo__carte[data-style='sombre'] .cadre-demo__haut svg { color: var(--papier); --logo-accent: var(--cuivre-clair); }
.cadre-demo__carte[data-style='sombre'] .cadre-demo__date { color: var(--cuivre-clair); }
.cadre-demo__styles { display: flex; flex-wrap: wrap; gap: .5rem; border: 0; padding: 0; margin: 0; }
.cadre-demo__styles legend { padding: 0; margin-bottom: .45rem; }
.cadre-demo__styles label { position: relative; display: inline-flex; align-items: center; min-height: 46px; padding: .5rem 1.05rem; box-shadow: inset 0 0 0 1px rgba(19, 18, 17, .28); border-radius: 100px; cursor: pointer; font-size: .92rem; font-weight: 400; transition: background-color .35s var(--doux), color .35s var(--doux), box-shadow .35s; }
.cadre-demo__styles input { position: absolute; opacity: 0; width: 100%; height: 100%; inset: 0; min-height: 0; margin: 0; cursor: pointer; }
.cadre-demo__styles label:has(input:checked) { background: var(--encre); color: var(--papier); box-shadow: inset 0 0 0 1px var(--encre); }
.cadre-demo__styles label:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 3px; }
.encre .champ input, .encre .champ textarea { background-color: rgba(242, 240, 234, .06); border-color: rgba(242, 240, 234, .32); color: var(--papier); background-image: linear-gradient(var(--cuivre-clair), var(--cuivre-clair)); }
.encre .champ input::placeholder { color: #A9A49B; }
.encre .champ input:hover { border-color: var(--papier); }
.encre .champ input:focus-visible { border-color: var(--cuivre-clair); box-shadow: 0 0 0 4px rgba(217, 162, 122, .2); }
.encre .champ input::-webkit-calendar-picker-indicator { filter: invert(1); }

/* 21. Retour en haut et barre d'action mobile */
.haut { position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: calc(18px + env(safe-area-inset-bottom)); z-index: 85; width: 52px; height: 52px; display: grid; place-items: center; background: var(--blanc); color: var(--encre); border-radius: 50%; box-shadow: 0 10px 26px -12px rgba(19, 18, 17, .55), inset 0 0 0 1px rgba(19, 18, 17, .14); overflow: hidden; opacity: 0; visibility: hidden; transform: translateY(14px) scale(.86);
  transition: opacity .4s, transform .6s var(--sortie), visibility 0s .6s, background-color .35s var(--doux), color .35s var(--doux), bottom .5s var(--doux); }
.haut.est-visible { opacity: 1; visibility: visible; transform: none; transition: opacity .4s, transform .6s var(--sortie), visibility 0s, background-color .35s var(--doux), color .35s var(--doux), bottom .5s var(--doux); }
.haut svg:not(.haut__anneau) { position: relative; width: 16px; height: 16px; }
.haut__anneau { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.haut__anneau circle { fill: none; stroke: var(--cuivre-vif); stroke-width: 2; stroke-dasharray: 151; stroke-dashoffset: calc(151 - 151 * var(--avance, 0)); }
.haut:active { transform: scale(.94); }
@media (hover: hover) { .haut:hover { background: var(--encre); color: var(--papier); } .haut:hover svg:not(.haut__anneau) { animation: monte .6s var(--net); } }
.barre { position: fixed; inset: auto 0 0 0; z-index: 80; display: grid; grid-template-columns: auto 1fr; gap: 8px; padding: 9px 12px calc(9px + env(safe-area-inset-bottom)); background: rgba(242, 240, 234, .94); box-shadow: 0 -1px 0 rgba(19, 18, 17, .12); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); transform: translateY(110%); transition: transform .6s var(--sortie); }
.barre.est-visible { transform: none; }
.barre .bouton { min-height: 50px; }

.barre .bouton .bouton__o { width: 38px; height: 38px; }
@media (max-width: 1079px) { .barre.est-visible ~ .haut { bottom: calc(82px + env(safe-area-inset-bottom)); } }
@media (min-width: 1080px) { .barre { display: none; } }

/* 22. Textes longs (pages légales) et page introuvable */
.prose { max-width: 46em; }
.prose h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); margin-top: 2.6em; margin-bottom: .7em; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--texte-2); }
.prose p + p, .prose ul + p, .prose p + ul { margin-top: .9em; }
.prose ul { display: grid; gap: .45rem; }
.prose ul li { position: relative; padding-left: 1.3rem; }
.prose ul li::before { content: ''; position: absolute; left: 0; top: .78em; width: .7rem; height: 1px; background: var(--accent); }
.prose strong { color: var(--texte); font-weight: 600; }
.prose dl { display: grid; }
.prose dl div { display: grid; gap: .1rem .9rem; padding: .8rem 0; border-bottom: 1px solid var(--filet); }
.prose dt { font-family: var(--mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--texte-2); }
.prose dd { color: var(--texte); }
@media (min-width: 640px) { .prose dl div { grid-template-columns: 15rem 1fr; align-items: baseline; } }
.avalider { background: #FFF4D6; color: #5C4300; padding: .08em .4em; border-radius: 2px; font-size: .92em; }
.grand404 { font-family: var(--serif); font-size: clamp(6rem, 26vw, 19rem); line-height: .82; letter-spacing: -.05em; color: var(--cuivre); font-style: italic; }

/* 23. Apparitions (actives seulement si JavaScript est chargé et le mouvement accepté) */
@media (prefers-reduced-motion: no-preference) {
  .js [data-revele] { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--doux), transform 1.1s var(--sortie); transition-delay: var(--d, 0s); }
  .js [data-revele].est-vu { opacity: 1; transform: none; }
  /* Haut de page : le texte est peint dès la première image (aucun retard du LCP), il glisse seulement en place. */
  .js [data-revele='haut'] { opacity: 1; transform: translateY(16px); transition: transform 1.1s var(--sortie); transition-delay: var(--d, 0s); }
  .js [data-revele='haut'].est-vu { transform: none; }
  /* Photographies : le masque porte sur l'image, pas sur l'élément observé. Vertical ou horizontal selon la composition. */
  .js [data-revele='photo'], .js [data-revele='photo-x'] { opacity: 1; transform: none; }
  .js [data-revele='photo'] picture { clip-path: inset(0 0 100% 0); transition: clip-path 1.25s var(--net); transition-delay: var(--d, 0s); }
  .js [data-revele='photo-x'] picture { clip-path: inset(0 100% 0 0); transition: clip-path 1.25s var(--net); transition-delay: var(--d, 0s); }
  .js [data-revele='photo'] img, .js [data-revele='photo-x'] img { transform: scale(1.14); transition: transform 2s var(--doux), filter 1.2s ease; transition-delay: var(--d, 0s), 0s; }
  .js [data-revele='photo'].est-vu picture, .js [data-revele='photo-x'].est-vu picture { clip-path: inset(0); }
  .js [data-revele='photo'].est-vu img, .js [data-revele='photo-x'].est-vu img { transform: none; }
  .js .carte--revele [data-revele].est-vu img { transform: scale(1.03); }
  .js .carte.est-vive .carte__photo.est-vu img, .js .carte:hover .carte__photo.est-vu img, .js .carte:focus-visible .carte__photo.est-vu img { transform: scale(1.06); filter: none; }
  .js .carte--detail.est-vive .carte__photo.est-vu img, .js .carte--detail:hover .carte__photo.est-vu img, .js .carte--detail:focus-visible .carte__photo.est-vu img { transform: scale(1.08) translate3d(0, -2%, 0); }
  .js [data-revele='tirage'] { opacity: 0; transform: translateY(34px) rotate(var(--r, 0deg)); transition: opacity .8s var(--doux), transform 1.2s var(--sortie); transition-delay: var(--d, 0s); }
  .js [data-revele='tirage'].est-vu { opacity: 1; transform: rotate(var(--r, 0deg)); }
  .js [data-revele='lignes'] { opacity: 1; transform: none; }
  .js [data-revele='lignes'] > span { display: block; overflow: hidden; padding-bottom: .12em; margin-bottom: -.12em; }
  .js [data-revele='lignes'] > span > span { display: block; transform: translateY(110%); transition: transform 1.2s var(--sortie); transition-delay: calc(var(--d, 0s) + var(--l, 0) * .11s); }
  .js [data-revele='lignes'].est-vu > span > span { transform: none; }
  .js [data-revele='fil'] { opacity: 1; transform: none; }
  .js [data-revele='fil']::before { transform: scaleY(0); transition: transform 1.2s var(--net); }
  .js [data-revele='fil']::after { transform: scale(0); transition: transform .6s var(--sortie) .9s; }
  .js [data-revele='fil'].est-vu::before, .js [data-revele='fil'].est-vu::after { transform: none; }
  /* Entrée de la scène : les rideaux se lèvent plan après plan, le titre monte, la première photo se révèle en couleur.
     Les images sont peintes dès le départ sous les rideaux : le LCP n'attend pas l'animation. */
  .js .scene .plan::after, .js .tete .plan::after { content: ''; position: absolute; inset: -1px; z-index: 3; background: var(--fond); transform-origin: 50% 0; animation: rideau 1.25s var(--net) both; animation-delay: calc(.05s + var(--n, 0) * .11s); }
  .js .scene .plan:nth-child(even)::after, .js .tete .plan:nth-child(even)::after { transform-origin: 50% 100%; }
  .js .scene:not(.est-prete) .plan.est-actif img, .js .tete:not(.est-prete) .plan.est-actif img { animation: developper 1.7s ease .65s both; }
  .js .scene__accroche > span > span { animation: lever 1.25s var(--sortie) both; animation-delay: calc(.42s + var(--l, 0) * .13s); }
  .js .scene__h1, .js .scene__bas, .js .scene__regie { animation: glisser 1.1s var(--sortie) .3s both; }
  .js .scene__regie { animation-delay: .5s; }
}
@keyframes rideau { from { transform: scaleY(1); } to { transform: scaleY(0); } }
@keyframes developper { from { filter: grayscale(1) brightness(.92) contrast(.94); transform: scale(1.05); } to { filter: grayscale(0) brightness(1) contrast(1); transform: none; } }
@keyframes lever { from { transform: translateY(112%); } to { transform: none; } }
@keyframes glisser { from { transform: translateY(18px); } to { transform: none; } }

/* 24. Mouvement réduit : tout est visible, rien ne bouge. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; animation-delay: 0s !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .bande__vue img { opacity: 1 !important; filter: none !important; transform: none !important; }
  .bande__vue::before { opacity: 0; }
  .bande__etape { color: var(--texte) !important; --texte-2: #5F5A53 !important; --accent: var(--cuivre) !important; }
  .bande__etape .tirage img, .bande__etape .tirage video { filter: none !important; }
  .bande__vue video { opacity: 1 !important; filter: none !important; transform: none !important; }
  .scene__plans, .scene__texte { transform: none !important; }
  .appel__bande { transform: translate3d(var(--recale, 0px), 0, 0) !important; }
  .zone__defile, .pied__geant { animation: none !important; }
  .scene__texte { opacity: 1 !important; }
  .scene__defiler i::after { display: none; }
  .entete.est-cache { transform: none; }
}

/* 25. Impression */
@media print { .entete, .barre, .haut, .volet, .pied nav, .bande__film, .scene__regie, .appel__bande, .lecture { display: none !important; } body { background: #fff; } .section { padding-block: 24px; } }

/* 26. Ajouts du 30/11/2026 ------------------------------------------------------------------------------------------- */

/* Vidéos du client (bande de souvenirs). Verticales, muettes ; site.js gère lecture, pause et affiche.
   Petit écran : la carte garde le format vertical d'origine (aucun recadrage). Grand écran : la vue du ruban (4:5) ne
   retire que le plafond et le sol ; le groupe et le geste du QR code restent au centre. */
.video { display: block; width: 100%; height: auto; background: var(--encre-2); }
.bande__etape .tirage--video video { aspect-ratio: 464 / 832; object-fit: cover; filter: grayscale(1) brightness(.72); transition: filter 1.2s ease; }
.bande__etape.est-revelee .tirage--video video { filter: none; }
.bande__etape .note { margin-top: .9rem; padding: 0; border: 0; background: none; font-family: var(--mono); font-size: .72rem; line-height: 1.5; letter-spacing: .08em; text-transform: uppercase; color: var(--texte-2); max-width: 30em; }
.lecture { display: inline-flex; align-items: center; gap: .7rem; margin-top: 1.1rem; min-height: 44px; padding: 0 1.1rem 0 .45rem; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--filet); font-family: var(--mono); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--texte); transition: box-shadow .3s var(--doux), background-color .3s var(--doux); }
.lecture[hidden] { display: none; }
.lecture i { position: relative; flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--encre); }
.lecture i::before { content: ''; position: absolute; left: 13px; top: 11px; border-style: solid; border-width: 5px 0 5px 8px; border-color: transparent transparent transparent var(--papier); }
.lecture[aria-pressed='true'] i::before { left: 12px; top: 11px; width: 8px; height: 10px; border-width: 0 2.5px; border-color: var(--papier); }
.lecture:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
@media (hover: hover) { .lecture:hover { box-shadow: inset 0 0 0 1px var(--texte); background: var(--blanc); } }
@media (min-width: 960px) {
  .bande__vue video { width: 100%; height: 100%; object-fit: cover; object-position: 50% 46%; opacity: 0; filter: sepia(.7) contrast(.55) brightness(1.7) blur(5px); transform: scale(1.06); transition: opacity 1.1s ease .1s, filter 1.9s ease .1s, transform 2.2s var(--doux); }
  .bande__vue.est-revelee video { opacity: 1; filter: none; transform: none; }
}

/* Modèles de tirages : de vrais tirages posés sur le papier, toujours montrés en entier (aucun rognage). Dans chaque
   rangée, la place d'un tirage est proportionnelle à son format (--ratio) : tous ont la même hauteur. */
.section--modeles .entetesection { margin-bottom: clamp(40px, 5.5vw, 80px); }
.modeles { max-width: 1000px; margin-inline: auto; display: grid; gap: clamp(36px, 5vw, 76px); }
.modeles__rang { display: flex; align-items: flex-start; gap: clamp(22px, 3.6vw, 60px); }
.modele { flex: var(--ratio) 1 0%; min-width: 0; display: block; color: inherit; text-decoration: none; cursor: zoom-in; -webkit-tap-highlight-color: transparent; }
.modele figure { margin: 0; }
.modele__objet { display: block; background: var(--blanc); transform: rotate(var(--pente, 0deg)); box-shadow: 0 1px 1px rgba(19, 18, 17, .08), 0 4px 8px -3px rgba(19, 18, 17, .16), 0 26px 48px -20px rgba(19, 18, 17, .46); transition: transform .8s var(--sortie), box-shadow .6s var(--doux); }
.modele__objet picture, .modele__objet img { display: block; width: 100%; height: auto; }
.modele figcaption { display: flex; flex-wrap: wrap; align-items: baseline; gap: .25rem .7rem; margin-top: 1.15rem; font-family: var(--mono); font-size: .66rem; line-height: 1.45; letter-spacing: .12em; text-transform: uppercase; color: var(--texte-2); }
.modele figcaption b { font-weight: 400; color: var(--accent); }
.modele figcaption span { color: var(--texte); }
.modele figcaption i { font-style: normal; }
.modele figcaption i::before { content: '— '; }
.modele:focus-visible { outline: none; }
.modele:focus-visible .modele__objet { outline: 2px solid var(--accent); outline-offset: 6px; }
@media (hover: hover) { .modele:hover .modele__objet { transform: rotate(0deg) translate3d(0, -6px, 0); box-shadow: 0 2px 2px rgba(19, 18, 17, .07), 0 8px 14px -6px rgba(19, 18, 17, .18), 0 40px 64px -26px rgba(19, 18, 17, .5); } }
.modeles--compact { max-width: 1040px; margin-top: clamp(32px, 4.5vw, 64px); }
.modeles--compact .modeles__rang { gap: clamp(18px, 2.6vw, 40px); }
.modeles__pied { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.2rem 2.4rem; max-width: 1000px; margin: clamp(44px, 6vw, 84px) auto 0; padding-top: clamp(20px, 2.4vw, 30px); border-top: 1px solid var(--filet); }
.modeles__note { flex: 1 1 26em; max-width: 40em; font-size: .95rem; line-height: 1.6; color: var(--texte-2); }
.modeles__legende { display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem 1.6rem; font-family: var(--mono); font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; color: var(--texte); }
.modeles__legende b { font-weight: 400; color: var(--accent); margin-right: .35em; }
.modeles--compact figcaption { margin-top: .8rem; }
/* Petit écran : la photo unique et les quatre vues sur toute la largeur ; la bande et la double bande côte à côte,
   à hauteur égale (colonnes 1 / 3 et 2 / 3, proportionnelles à leur format). */
@media (max-width: 759px) {
  .modeles { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 34px 16px; }
  .modeles__rang { display: contents; }
  .modele[data-n='01'], .modele[data-n='04'] { grid-column: 1 / -1; }
  .modele figcaption { font-size: .62rem; letter-spacing: .1em; }
}

/* Un tirage seul (page Entreprises), montré en entier et agrandi au clic. */
.tirage-seul { padding: 3% 5% 5% 1%; }
.tirage-seul__lien { display: block; color: inherit; text-decoration: none; cursor: zoom-in; }
.tirage-seul .tirage { transition: transform .8s var(--sortie), box-shadow .6s var(--doux); }
.tirage-seul .tirage picture { aspect-ratio: auto; }
.tirage-seul .tirage img { height: auto; object-fit: contain; }
.tirage-seul__lien:focus-visible { outline: none; }
.tirage-seul__lien:focus-visible .tirage { outline: 2px solid var(--accent); outline-offset: 6px; }
@media (hover: hover) { .tirage-seul__lien:hover .tirage { transform: rotate(0deg) translate3d(0, -6px, 0) !important; box-shadow: 0 2px 2px rgba(19, 18, 17, .06), 0 30px 50px -24px rgba(19, 18, 17, .5); } }

/* Galerie par ensembles : un sommaire d'ancres (pas de filtre à manipuler), un titre par ensemble. */
.galerie__sommaire { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: clamp(22px, 3vw, 36px); }
.galerie__sommaire a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 1.1rem; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--filet); font-family: var(--mono); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--texte); text-decoration: none; transition: box-shadow .3s var(--doux), background-color .3s var(--doux); }
.galerie__sommaire a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
@media (hover: hover) { .galerie__sommaire a:hover { box-shadow: inset 0 0 0 1px var(--texte); background: var(--blanc); } }
.galerie__ensemble + .galerie__ensemble { margin-top: clamp(72px, 10vw, 160px); }
.galerie__entete { display: grid; gap: .9rem; max-width: 40em; margin-bottom: clamp(30px, 4.4vw, 64px); scroll-margin-top: calc(var(--entete) + 24px); }
.galerie__entete h2 { font-size: clamp(2.1rem, 4.4vw, 3.6rem); }
.galerie__entete .texte { margin: 0; }
@media (min-width: 900px) {
  .galerie__entete { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: clamp(32px, 5vw, 80px); max-width: none; align-items: end; }
  .galerie__entete .etiquette { grid-column: 1 / -1; }
}

/* Options de la prestation (livre d'or, photos par QR code) */
.options__liste { display: grid; gap: clamp(32px, 4.4vw, 72px); margin-top: 1.4rem; }
.option { padding-top: clamp(18px, 2.4vw, 28px); border-top: 1px solid var(--filet); }
.option h3 { font-size: clamp(1.6rem, 2.6vw, 2.25rem); margin-bottom: 1rem; }
@media (min-width: 860px) { .options__liste { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }

/* Partenaires (section masquée tant qu'aucune fiche n'est complète : voir src/partenaires.mjs) */
.partenaires__liste { display: grid; gap: clamp(20px, 3vw, 40px); grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); }
.partenaire { display: grid; align-content: start; gap: 1.1rem; padding-top: 1.4rem; border-top: 1px solid var(--filet); }
.partenaire__logo { width: auto; max-width: 180px; height: auto; max-height: 64px; object-fit: contain; }
.partenaire__domaine { font-family: var(--mono); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--texte-2); }
.partenaire h3 { font-size: clamp(1.4rem, 2.2vw, 1.8rem); margin: .3rem 0 .6rem; }
.partenaire__liens { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; margin-top: .8rem; }
/* Petit écran : la carte filmée garde le format vertical d'origine, mais sa hauteur est limitée pour que le texte reste
   visible sous la vidéo (la largeur suit, sans recadrage). */
@media (max-width: 959px) {
  .bande__etape .tirage--video { justify-self: start; max-width: 100%; }
  .bande__etape .tirage--video video { width: auto; max-width: 100%; height: min(56svh, calc((min(80vw, 380px) - 18px) * 1.793)); }
}

/* Galerie alimentée par AJOUTER_PHOTOS (01/12/2026) : tirages en nombre libre, rangées de deux centrées, hauteur plafonnée
   (une bande verticale seule ne devient pas démesurée). Petit écran : un tirage par ligne, toujours en entier. */
.modeles--libre .modeles__rang { justify-content: center; }
.modeles--libre .modele { max-width: calc(var(--ratio) * min(560px, 72svh)); }
@media (max-width: 759px) {
  .modeles.modeles--libre { grid-template-columns: minmax(0, 1fr); justify-items: center; }
  .modeles--libre .modele { width: 100%; max-width: calc(var(--ratio) * 62svh); }
}
