/*!
 * Repérages… — feuille de style du thème.
 *
 * Extraite de maquette/source.html par _outils/extraire-assets.py.
 * Les retouches se font dans la maquette, puis on relance l'extraction :
 * les deux ne doivent jamais diverger.
 */
/* ==========================================================================
   Repérages… — maquette, version 2
   Une galerie la nuit. Le fond est l'obscurité d'une salle d'exposition ;
   les œuvres y ressortent, et le visiteur les repère à la lumière. Le seul
   accent est le jaune des étiquettes de la boutique, devenu laiton.
   ========================================================================== */
:root {
	/* La palette de la maison : graphite, terracotta, velours rose, or et
	   bouleau. Le graphite est un noir chaud, jamais un noir d'encre. */
	--nuit: #262420;          /* graphite, légèrement éclairci pour respirer */
	--nuit-2: #302e2a;        /* le graphite du moodboard, un cran au-dessus */
	--nuit-3: #3d3a34;
	--terracotta: #c1552e;
	--rose: #ce7e96;          /* velours rose */
	--or: #c9a227;
	--bouleau: #ede7d7;

	/* La saison : deux teintes posées sur le graphite, prises dans la palette. */
	--s-haut: 193, 85, 46;   /* automne par défaut : terracotta */
	--s-bas: 124, 46, 22;

	--ardoise: #3a3630;
	--ivoire: #ede7d7;        /* bouleau */
	--ivoire-doux: rgba(237, 231, 215, 0.64);
	--ivoire-faible: rgba(237, 231, 215, 0.34);
	--trait: rgba(237, 231, 215, 0.14);
	--laiton: #d4ae3a;        /* l'or des cadres, éclairci pour rester lisible */
	--cartel: #c9a227;        /* l'étiquette de prix, en or */
	--cartel-encre: #2b2a28;

	--f-display: "Bodoni Moda", "Didot", "Bodoni 72", Georgia, serif;
	--f-texte: "Jost", "Futura", "Century Gothic", system-ui, sans-serif;
	--f-mono: "DM Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

	--gouttiere: clamp(18px, 4vw, 60px);
	--largeur: 1440px;
	--doux: cubic-bezier(0.22, 1, 0.36, 1);
	--lent: cubic-bezier(0.65, 0, 0.35, 1);

	color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--nuit); }

/* --- Les saisons -------------------------------------------------------- */
/* Chaque saison reste dans la palette de la maison : on ne sort jamais du
   graphite, du terracotta, du velours rose, de l'or et du bouleau. */
html[data-saison="printemps"] { --s-haut: 206, 126, 150; --s-bas: 201, 162, 39; }  /* velours rose, or */
html[data-saison="ete"]       { --s-haut: 201, 162, 39; --s-bas: 193, 85, 46; }    /* or, terracotta */
html[data-saison="automne"]   { --s-haut: 193, 85, 46; --s-bas: 124, 46, 22; }     /* terracotta */
html[data-saison="hiver"]     { --s-haut: 214, 205, 185; --s-bas: 160, 150, 132; } /* bouleau */

.saison-chute { position: fixed; inset: 0; z-index: 0; pointer-events: none; }
.saison {
	position: fixed; inset: 0; z-index: -1;
	pointer-events: none;
	background:
		radial-gradient(115vw 88vh at 50% -8%, rgba(var(--s-haut), 0.68), rgba(var(--s-haut), 0.26) 44%, transparent 74%),
		radial-gradient(80vw 56vh at 50% 110%, rgba(var(--s-bas), 0.3), transparent 62%),
		radial-gradient(130vw 120vh at 50% 40%, transparent 38%, rgba(38, 36, 32, 0.42) 82%),
		var(--nuit);
	transition: background 2.4s var(--doux);
}
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
	margin: 0;
	background: transparent;
	color: var(--ivoire);
	font-family: var(--f-texte);
	font-weight: 300;
	font-size: 16px;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
::selection { background: var(--laiton); color: var(--nuit); }
:focus-visible { outline: 1px solid var(--laiton); outline-offset: 5px; }

h1, h2, h3 {
	font-family: var(--f-display);
	font-weight: 400;
	line-height: 1.02;
	letter-spacing: -0.015em;
	margin: 0;
	text-wrap: balance;
}
p { margin: 0; }
em { font-style: italic; }

.enveloppe { width: 100%; max-width: var(--largeur); margin-inline: auto; padding-inline: var(--gouttiere); }
.etiquette { font-size: 11px; font-weight: 500; letter-spacing: 0.28em; text-transform: uppercase; color: var(--ivoire-doux); }
.ref { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: 0.04em; color: var(--ivoire-doux); }
.masque { position: absolute; left: -9999px; }

/* Grain de film : très discret, il enlève la froideur numérique du noir. */
.grain {
	position: fixed; inset: 0; z-index: 200;
	pointer-events: none;
	opacity: 0.055;
	background-image: var(--grain);
	/* Fixe : animé, il obligeait à recomposer tout l'écran à chaque image. */
}
@keyframes grain {
	0% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); } 40% { transform: translate(2%, -3%); }
	60% { transform: translate(-2%, -1%); } 80% { transform: translate(3%, 3%); } 100% { transform: translate(0, 0); }
}

/* --- Boutons ---------------------------------------------------------- */
.btn {
	position: relative;
	display: inline-flex; align-items: center; gap: 0.8em;
	padding: 1.05em 1.9em;
	border: 1px solid var(--ivoire);
	background: var(--ivoire); color: var(--nuit);
	font-size: 12px; font-weight: 400; letter-spacing: 0.24em; text-transform: uppercase;
	text-decoration: none; cursor: pointer;
	overflow: hidden;
	isolation: isolate;
	transition: color 0.6s var(--doux), border-color 0.6s var(--doux);
}
.btn::before {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background: var(--nuit);
	transform: translateY(101%);
	transition: transform 0.6s var(--doux);
}
.btn:hover::before { transform: none; }
.btn:hover { color: var(--ivoire); }
.btn--ligne { background: transparent; color: var(--ivoire); border-color: var(--ivoire-faible); }
.btn--ligne::before { background: var(--ivoire); }
.btn--ligne:hover { color: var(--nuit); border-color: var(--ivoire); }
.btn[disabled] { opacity: 0.4; cursor: not-allowed; }
.btn[disabled]::before { display: none; }
.lien {
	font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; text-decoration: none;
	background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
	padding-bottom: 4px;
	transition: background-size 0.7s var(--doux);
}
.lien:hover { background-size: 0 1px; background-position: 100% 100%; }

/* --- Rideau d'ouverture ------------------------------------------------ */
.rideau {
	position: fixed; inset: 0; z-index: 300;
	background: var(--nuit);
	display: grid; place-items: center;
	clip-path: inset(0 0 0 0);
}
.rideau.est-leve { clip-path: inset(0 0 100% 0); transition: clip-path 1.1s var(--lent); }
.rideau__nom { font-family: var(--f-display); font-size: clamp(44px, 9vw, 120px); letter-spacing: -0.03em; line-height: 1; overflow: hidden; }
.rideau__nom span { display: inline-block; transform: translateY(110%); animation: leve 1s var(--doux) forwards; }
.rideau__nom i span { font-style: italic; }
.rideau__compte { position: absolute; left: var(--gouttiere); bottom: calc(28px + env(safe-area-inset-bottom, 0px)); font-family: var(--f-mono); font-size: 12px; color: var(--ivoire-doux); }
.rideau__lieu { position: absolute; right: var(--gouttiere); bottom: calc(28px + env(safe-area-inset-bottom, 0px)); }
@keyframes leve { to { transform: none; } }

/* --- En-tête : en « différence », lisible sur tout fond ---------------- */
.entete {
	position: fixed; top: 0; left: 0; right: 0; z-index: 70;
	padding-top: env(safe-area-inset-top, 0px);
	/* Un léger dégradé plutôt qu'un mode de fusion : même lisibilité, sans
	   forcer le navigateur à recomposer la page entière au défilement. */
	background: linear-gradient(180deg, rgba(31, 30, 28, 0.78), rgba(31, 30, 28, 0));
	color: var(--ivoire);
	pointer-events: none;
	transition: background 0.45s var(--doux);
}
/* Pose : le meme fond que la barre de filtres, pour qu'on ne voie pas la
   grille passer entre le menu et elle. */
.entete.est-posee {
	background: rgba(31, 30, 28, 0.96);
	backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.entete__in { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 84px; }
.entete a, .entete button { pointer-events: auto; }
.marque { font-family: var(--f-display); font-size: 25px; letter-spacing: -0.01em; text-decoration: none; white-space: nowrap; }
.marque i { font-style: italic; }
.nav { display: flex; align-items: center; gap: clamp(18px, 3vw, 44px); }
.nav a, .nav button { background: none; border: 0; padding: 6px 0; cursor: pointer; font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; text-decoration: none; }
.nav [aria-current="page"] { text-decoration: line-through; text-decoration-thickness: 1px; }
.compte { font-family: var(--f-mono); letter-spacing: 0; }
/* Les quatre langues du pays, et l'anglais pour le reste du monde. */
.langues { position: relative; display: inline-flex; }
.langues__bouton { display: inline-flex; align-items: center; gap: 5px; font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.06em; color: var(--ivoire); }
.langues__bouton svg { width: 9px; height: 6px; fill: none; stroke: currentColor; stroke-width: 1.5; transition: transform 0.35s var(--doux); }
.langues.est-ouverte .langues__bouton svg { transform: rotate(180deg); }
.langues__liste {
	position: absolute; top: calc(100% + 12px); right: 0; z-index: 5;
	display: grid; min-width: 132px; padding: 8px 0;
	background: rgba(31, 30, 28, 0.97); border: 1px solid var(--trait);
	backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
	opacity: 0; visibility: hidden; transform: translateY(-8px);
	transition: opacity 0.3s var(--doux), transform 0.3s var(--doux), visibility 0.3s;
}
.langues.est-ouverte .langues__liste { opacity: 1; visibility: visible; transform: none; }
.langues__liste button { text-align: left; padding: 7px 16px; font-family: var(--f-texte); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ivoire-doux); transition: color 0.3s, background 0.3s; }
.langues__liste button:hover { color: var(--ivoire); background: rgba(237, 231, 215, 0.06); }
.langues__liste button[aria-current="true"] { color: var(--laiton); }
/* Le son : une icone suffit, le mot prenait la place d'un lien. */
#son { display: inline-flex; align-items: center; }
#son svg { width: 18px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linejoin: round; overflow: visible; }
/* Allume : les deux ondes battent doucement, l'une apres l'autre.
   Coupe : les ondes disparaissent et une barre rouge traverse l'icone. */
#son .onde { transition: opacity 0.3s; }
#son[aria-pressed="true"] .onde--1 { animation: onde 2.2s var(--doux) infinite; }
#son[aria-pressed="true"] .onde--2 { animation: onde 2.2s var(--doux) 0.35s infinite; }
#son[aria-pressed="false"] .onde { opacity: 0; }
#son .barre { stroke: #e2453a; stroke-width: 1.8; stroke-linecap: round; opacity: 0; transform: scaleX(0); transform-origin: 10.5px 2.5px; transition: opacity 0.2s, transform 0.3s var(--doux); }
#son[aria-pressed="false"] .barre { opacity: 1; transform: scaleX(1); }
#son[aria-pressed="false"] { color: var(--ivoire-faible); }
@keyframes onde { 0%, 100% { opacity: 0.35; } 45% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { #son .onde { animation: none !important; opacity: 1; } }
@media (max-width: 980px) { .langues { display: none; } }
@media (max-width: 1180px) { .nav .nav__xl { display: none; } }
@media (max-width: 760px) { .nav .nav__large { display: none; } .marque { font-size: 21px; } .filtres { top: calc(68px + env(safe-area-inset-top, 0px)); } }

/* --- Menu plein écran -------------------------------------------------- */
.menu {
	position: fixed; inset: 0; z-index: 65;
	background: var(--nuit-2);
	clip-path: inset(0 0 100% 0);
	transition: clip-path 0.9s var(--lent);
	display: grid;
	grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
	padding: calc(110px + env(safe-area-inset-top, 0px)) var(--gouttiere) calc(40px + env(safe-area-inset-bottom, 0px));
	gap: 40px;
	visibility: hidden;
}
.menu.est-ouvert { clip-path: inset(0 0 0 0); visibility: visible; }
.menu ul { list-style: none; margin: 0; padding: 0; display: grid; align-content: center; gap: 0.1em; }
.menu li a {
	display: inline-block;
	/* La taille suit la largeur ET la hauteur : six entrees dont une longue
	   doivent tenir dans la page, sans deborder sous le lecteur de musique. */
	font-family: var(--f-display); font-size: clamp(30px, min(6.4vw, 9.6vh), 112px); line-height: 1.02; letter-spacing: -0.03em;
	text-decoration: none;
	transform: translateY(40px); opacity: 0;
	transition: transform 0.9s var(--doux), opacity 0.9s var(--doux), color 0.4s;
}
.menu.est-ouvert li a { transform: none; opacity: 1; }
.menu.est-ouvert li:nth-child(2) a { transition-delay: 0.06s; }
.menu.est-ouvert li:nth-child(3) a { transition-delay: 0.12s; }
.menu.est-ouvert li:nth-child(4) a { transition-delay: 0.18s; }
.menu li a:hover { font-style: italic; color: var(--laiton); }
.menu__cote { display: grid; align-content: end; gap: 28px; }
.menu__img { aspect-ratio: 4 / 5; max-width: 100%; overflow: hidden; background: var(--nuit-3); }
.menu__img img { width: 100%; height: 100%; object-fit: cover; transition: opacity 0.5s; }
.menu__infos { display: grid; gap: 4px; font-size: 14px; color: var(--ivoire-doux); }
/* Le lecteur de musique passe au-dessus de tout : pendant que le menu est
   ouvert, il s’efface pour ne pas manger la derniere entree. */
#menu.est-ouvert ~ .fm, body:has(#menu.est-ouvert) .fm { opacity: 0; pointer-events: none; }
@media (max-width: 800px) { .menu { grid-template-columns: 1fr; } .menu__img { display: none; } }

/* ==========================================================================
   ACCUEIL — 1. La lampe
   Un accrochage « en salon » plongé dans le noir. Le pointeur est une lampe :
   sous lui, les œuvres retrouvent leurs couleurs. Repérer, littéralement.
   ========================================================================== */
.lampe {
	position: relative;
	height: min(100svh, 980px);
	min-height: 640px;
	overflow: hidden;
	/* Pas de fond opaque : la saison se devine derrière l'accrochage. */
	background: transparent;
}
.salon { position: absolute; inset: 0; }
.salon figure {
	position: absolute; margin: 0;
	left: var(--l); top: var(--t); width: var(--w);
	box-shadow: 0 40px 80px -40px #000;
	will-change: transform;
}
.salon img { width: 100%; height: auto; }
.salon--sombre img { filter: grayscale(0.82) brightness(0.52) contrast(1.02); }
/* La lumière est une fenêtre ronde qui se déplace sur l'accrochage éteint ;
   l'accrochage éclairé glisse en sens inverse à l'intérieur, et reste donc
   aligné. Seules des translations changent : le navigateur les déplace sans
   rien redessiner. Un masque recalculé à chaque image faisait saccader. */
.lampe__fenetre {
	position: absolute; left: 0; top: 0;
	width: calc(var(--R, 330px) * 2); height: calc(var(--R, 330px) * 2);
	border-radius: 50%; overflow: hidden; pointer-events: none;
	-webkit-mask-image: radial-gradient(closest-side, #000 38%, rgba(0, 0, 0, 0.55) 68%, transparent 100%);
	mask-image: radial-gradient(closest-side, #000 38%, rgba(0, 0, 0, 0.55) 68%, transparent 100%);
	will-change: transform;
}
.lampe__fenetre .salon { inset: auto; left: 0; top: 0; width: 100vw; height: 100%; will-change: transform; }
/* Halo chaud de la lampe, déplacé de la même façon. */
.lampe__halo {
	position: absolute; left: 0; top: 0; pointer-events: none;
	width: calc(var(--R, 330px) * 2.6); height: calc(var(--R, 330px) * 2.6);
	border-radius: 50%;
	background: radial-gradient(closest-side, rgba(255, 232, 180, 0.12), transparent);
	will-change: transform;
}
.lampe__voile { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(38, 36, 32, 0.38), transparent 20%, transparent 58%, rgba(38, 36, 32, 0.8)); }
.lampe__texte {
	position: absolute; left: 0; right: 0; bottom: clamp(28px, 6vh, 64px);
	display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 32px;
	pointer-events: none;
}
.lampe__texte a { pointer-events: auto; }
.lampe h1 {
	font-size: clamp(64px, 12.2vw, 196px);
	line-height: 0.82;
	letter-spacing: -0.045em;
	white-space: nowrap;
	text-shadow: 0 10px 60px rgba(0, 0, 0, 0.6);
}
.lampe h1 .l { display: inline-block; }
.lampe h1 i { font-style: italic; }
.lampe__cote { display: grid; gap: 20px; justify-items: start; max-width: 300px; }
.lampe__cote p { font-family: var(--f-display); font-style: italic; font-size: 21px; line-height: 1.3; }
.lampe__indice {
	position: absolute; left: 0; top: 0;
	will-change: transform;
	font-size: 10.5px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--ivoire);
	pointer-events: none; white-space: nowrap;
	transition: opacity 0.6s;
}
.lampe.a-bouge .lampe__indice { opacity: 0; }
@media (max-width: 860px) {
	.lampe { height: min(92svh, 820px); }
	.lampe__texte { grid-template-columns: 1fr; }
	.lampe__cote { max-width: none; }
}

/* --- 2. Le manifeste, qui s'éclaire mot à mot -------------------------- */
.manifeste { position: relative; height: 240vh; }
.manifeste__epingle { position: sticky; top: 0; height: 100vh; display: grid; align-content: center; }
.manifeste p.grand {
	font-family: var(--f-display);
	font-size: clamp(34px, 5.6vw, 88px);
	line-height: 1.12;
	letter-spacing: -0.02em;
	max-width: 17ch;
}
.manifeste .mot { color: var(--ivoire-faible); transition: color 0.35s; }
.manifeste .mot.est-allume { color: var(--ivoire); }
.manifeste .mot em { font-style: italic; }
.manifeste__question { margin-top: 0.2em; }
.manifeste__question em { color: var(--laiton); }
.manifeste__signe { margin-top: 40px; display: flex; gap: 40px; flex-wrap: wrap; }

/* --- 3. La salle : galerie en perspective ------------------------------- */
.salle { position: relative; background: color-mix(in srgb, var(--nuit-2) 78%, transparent); }
.salle__epingle { position: sticky; top: 0; height: 100vh; overflow: hidden; display: grid; grid-template-rows: auto 1fr auto; padding-block: 110px 36px; }
.salle__tete { display: flex; justify-content: space-between; align-items: end; gap: 24px; padding-inline: var(--gouttiere); }
.salle__tete h2 { font-size: clamp(38px, 5vw, 76px); }
.salle__scene { perspective: 1400px; display: flex; align-items: center; }
.salle__piste { display: flex; align-items: center; gap: clamp(60px, 8vw, 150px); padding-inline: 34vw; width: max-content; will-change: transform; transform-style: preserve-3d; }
.oeuvre { flex: none; text-decoration: none; display: grid; gap: 20px; justify-items: start; transform-style: preserve-3d; will-change: transform; }
.oeuvre__img { overflow: hidden; box-shadow: 0 50px 90px -40px #000; }
.oeuvre__img img { height: min(var(--h, 48vh), max(220px, calc(100vh - 400px))); width: auto; max-width: none; transition: transform 1.6s var(--doux); }
.oeuvre:hover .oeuvre__img img { transform: scale(1.06); }
.salle__pied { display: flex; align-items: center; gap: 20px; padding-inline: var(--gouttiere); }
.jauge { flex: 1; height: 1px; background: var(--trait); position: relative; }
.jauge span { position: absolute; inset: 0; background: var(--ivoire); transform-origin: left; transform: scaleX(0); }
.salle.est-libre .salle__epingle { position: static; height: auto; padding-block: 90px 60px; }
.salle.est-libre .salle__scene { overflow-x: auto; scroll-snap-type: x mandatory; perspective: none; padding-block: 40px; }
.salle.est-libre .salle__piste { padding-inline: var(--gouttiere); transform: none !important; }
.salle.est-libre .oeuvre { scroll-snap-align: center; transform: none !important; }
.salle.est-libre .oeuvre__img img { height: var(--h-mobile, 340px); }

/* Le cartel de la boutique : le seul jaune de la page. */
.cartel {
	display: grid; gap: 1px;
	width: fit-content; min-width: min(230px, 72vw); max-width: 280px;
	padding: 10px 14px 11px;
	background: var(--cartel); color: var(--cartel-encre);
	font-size: 12px; line-height: 1.45; font-weight: 400;
}
.cartel .ref { color: rgba(46, 42, 23, 0.7); }
.cartel em { font-family: var(--f-display); font-size: 16px; line-height: 1.25; }
.cartel .prix { font-family: var(--f-mono); font-size: 12px; margin-top: 4px; font-variant-numeric: tabular-nums; }
.cartel.est-vendue { background: #4a443c; color: #b3aa9c; }
.cartel.est-vendue .ref { color: #958d80; }
.cartel.est-vendue::after { content: "● Vendue"; color: #e0695a; font-size: 10.5px; letter-spacing: 0.2em; text-transform: uppercase; margin-top: 4px; }
.oeuvre .cartel { opacity: var(--c, 1); transform: translateY(calc((1 - var(--c, 1)) * 14px)); }

/* Au clic, l'œuvre quitte le mur et vient vers le visiteur. Le reste de la
   salle s'efface, et la pièce parle enfin d'elle-même. */
.salle.est-figee .oeuvre { transition: opacity 0.8s var(--doux), filter 0.8s var(--doux); }
.salle.est-figee .oeuvre:not(.est-avant) { opacity: 0.07; filter: blur(4px); }
.salle.est-figee .salle__tete, .salle.est-figee .salle__pied { opacity: 0.12; transition: opacity 0.7s; }
.oeuvre.est-avant { z-index: 6; transition: transform 1.1s var(--lent); }
.oeuvre.est-avant .oeuvre__img { box-shadow: 0 80px 120px -50px #000; }
.oeuvre.est-avant .cartel { opacity: 0; }
.salle__details {
	position: fixed; left: 50%; bottom: clamp(22px, 5vh, 58px); z-index: 80;
	width: min(600px, calc(100% - 32px));
	transform: translate(-50%, 26px); opacity: 0;
	transition: opacity 0.6s, transform 0.9s var(--doux);
	pointer-events: none;
	display: grid; justify-items: center; gap: 8px; text-align: center;
	/* Si l'ecran est vraiment court, le texte defile sur lui-meme : rien ne
	   doit rester hors de portee, le defilement de la page etant gele. */
	max-height: min(46vh, calc(100vh - 150px)); overflow-y: auto; overscroll-behavior: contain;
}
.salle__details.est-visible { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.salle__details h3 { font-family: var(--f-display); font-weight: 400; font-size: clamp(28px, 3.4vw, 46px); line-height: 1.05; margin: 0; }
.salle__details p { color: var(--ivoire-doux); font-size: 14.5px; }
.salle__details .actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 10px; }

/* --- 4. Le portail : une œuvre qui grandit jusqu'à remplir l'écran ------ */
.portail { position: relative; height: 260vh; }
.portail__epingle { position: sticky; top: 0; height: 100vh; overflow: hidden; display: grid; place-items: center; }
.portail__img {
	position: absolute; inset: 0;
	overflow: hidden;
	/* Une mise à l'échelle, que le navigateur anime sans redessiner l'image. */
	transform: scale(0.36);
	will-change: transform;
}
.portail__img img { width: 100%; height: 100%; object-fit: cover; }
.portail__texte {
	position: relative; z-index: 2; text-align: center;
	display: grid; gap: 22px; justify-items: center;
	opacity: var(--pt, 0);
	transform: translateY(calc((1 - var(--pt, 0)) * 30px));
	padding: 60px 90px;
	background: radial-gradient(closest-side, rgba(31, 30, 28, 0.86), rgba(31, 30, 28, 0.5) 60%, transparent);
	text-shadow: 0 2px 24px rgba(0, 0, 0, 0.7);
}
.portail__texte .ref { color: var(--ivoire); }
.portail__texte h2 { font-size: clamp(46px, 7vw, 116px); font-style: italic; }
.portail__legende { position: absolute; left: var(--gouttiere); bottom: 32px; z-index: 2; opacity: calc(1 - var(--pt, 0)); }

/* --- 5. Défilé de mots, qui s'incline avec la vitesse ------------------- */
.defile { overflow: hidden; padding-block: 34px; border-block: 1px solid var(--trait); }
.defile__incline { will-change: transform; transition: transform 0.4s var(--doux); }
.defile__piste { display: flex; width: max-content; animation: defile 55s linear infinite; }
.defile:hover .defile__piste { animation-play-state: paused; }
@keyframes defile { to { transform: translateX(-33.333%); } }
.defile__piste span { font-family: var(--f-display); font-style: italic; font-size: clamp(34px, 5vw, 72px); padding-inline: 0.5em; white-space: nowrap; }
.defile__piste span::after { content: "✦"; font-style: normal; font-size: 0.34em; color: var(--laiton); margin-left: 1em; vertical-align: middle; }

/* --- 6. Univers --------------------------------------------------------- */
.univers-bloc { padding-block: clamp(90px, 12vw, 180px); }
.univers-bloc__tete { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 40px; }
.univers-bloc__tete h2 { font-size: clamp(36px, 4.6vw, 68px); }
.liste-u { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--trait); }
.liste-u a {
	display: grid; grid-template-columns: 60px minmax(0, 1fr) auto; align-items: baseline; gap: 24px;
	padding-block: clamp(18px, 2.6vw, 32px);
	border-bottom: 1px solid var(--trait);
	text-decoration: none;
	transition: color 0.5s;
}
.liste-u .nom { font-family: var(--f-display); font-size: clamp(38px, 6.4vw, 104px); line-height: 1; letter-spacing: -0.03em; transition: transform 0.9s var(--doux), letter-spacing 0.9s var(--doux); }
.liste-u .nb { font-family: var(--f-mono); font-size: 12px; color: var(--ivoire-doux); }
.liste-u:hover a { color: var(--ivoire-faible); }
.liste-u a:hover { color: var(--ivoire); }
.liste-u a:hover .nom { transform: translateX(clamp(8px, 2vw, 32px)); font-style: italic; }
.apercu {
	position: fixed; left: 0; top: 0; z-index: 96;
	/* La taille vient du script : elle suit le format de l'image, pour ne
	   jamais recadrer une couverture en paysage dans un cadre en portrait. */
	width: 260px; aspect-ratio: 4 / 5;
	pointer-events: none; overflow: hidden;
	clip-path: inset(50% 50% 50% 50%);
	transition: clip-path 0.7s var(--doux);
	transform: translate3d(-999px, -999px, 0);
}
.apercu.est-visible { clip-path: inset(0 0 0 0); }
.apercu img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.15); transition: transform 1.2s var(--doux); }
.apercu.est-visible img { transform: none; }

/* --- 7. La maison, en arches ------------------------------------------- */
.maison { background: var(--ardoise); padding-block: clamp(90px, 12vw, 170px); overflow: hidden; }
.maison__grille { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(36px, 7vw, 110px); align-items: center; }
.arches { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(14px, 2vw, 28px); align-items: start; }
.arche { margin: 0; aspect-ratio: 9 / 15; max-width: 100%; overflow: hidden; border-radius: 999px 999px 0 0; }
.arche:nth-child(2) { margin-top: 90px; }
.arche video, .arche img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); will-change: transform; }
.maison h2 { font-size: clamp(40px, 5.2vw, 82px); }
.maison h2 em { color: var(--laiton); }
.maison__texte { color: var(--ivoire-doux); max-width: 44ch; margin-top: 24px; }
.infos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 32px; margin: 40px 0 0; }
.infos dt { margin-bottom: 4px; }
.infos dd { margin: 0; font-size: 15px; line-height: 1.6; font-variant-numeric: tabular-nums; }
.maison__actions { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 26px; align-items: center; }
@media (max-width: 860px) { .maison__grille { grid-template-columns: 1fr; } }

/* --- 8. Le cercle ------------------------------------------------------- */
.cercle { padding-block: clamp(100px, 13vw, 190px); text-align: center; }
.cercle h2 { font-size: clamp(42px, 6.4vw, 104px); max-width: 14ch; margin-inline: auto; }
.cercle h2 em { color: var(--laiton); }
.cercle__texte { color: var(--ivoire-doux); max-width: 46ch; margin: 22px auto 0; }
.cercle form { display: flex; max-width: 520px; margin: 44px auto 0; border-bottom: 1px solid var(--ivoire-faible); transition: border-color 0.4s; }
.cercle form:focus-within { border-color: var(--ivoire); }
.cercle input { flex: 1; min-width: 0; border: 0; background: transparent; font: inherit; font-size: 17px; color: var(--ivoire); padding: 14px 0; }
.cercle input::placeholder { color: var(--ivoire-faible); }
.cercle input:focus { outline: none; }
.cercle button { border: 0; background: none; cursor: pointer; font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; }

/* --- Pied de page : le nom en entier, qui se révèle ---------------------- */
.pied { border-top: 1px solid var(--trait); padding-block: 72px calc(30px + env(safe-area-inset-bottom, 0px)); overflow: hidden; }
.pied__grille { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 32px; }
.pied p, .pied a { font-size: 14px; color: var(--ivoire-doux); line-height: 1.9; text-decoration: none; }
.pied a:hover { color: var(--ivoire); }
.pied__maisons { margin-top: 46px; padding-top: 26px; border-top: 1px solid var(--trait); display: flex; flex-wrap: wrap; gap: 14px 42px; align-items: baseline; }
.pied__maisons a { display: grid; gap: 2px; text-decoration: none; font-family: var(--f-display); font-size: 22px; color: var(--ivoire); line-height: 1.2; }
.pied__maisons a em { font-family: var(--f-texte); font-style: normal; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ivoire-faible); }
.pied__maisons a:hover { color: var(--laiton); }
.pied__nom { font-family: var(--f-display); font-size: clamp(64px, 17.6vw, 280px); letter-spacing: -0.05em; line-height: 0.8; margin-top: 70px; white-space: nowrap; }
.pied__nom i { font-style: italic; color: var(--laiton); }
.pied__bas { margin-top: 28px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 12px; color: var(--ivoire-faible); }
@media (max-width: 760px) { .pied__grille { grid-template-columns: 1fr 1fr; } }

/* ==========================================================================
   COLLECTION
   ========================================================================== */
.page-tete { padding-block: calc(150px + env(safe-area-inset-top, 0px)) 50px; }
.page-tete h1 { font-size: clamp(58px, 10vw, 168px); letter-spacing: -0.04em; line-height: 0.88; }
.page-tete h1 em { color: var(--laiton); }
.page-tete p { margin-top: 26px; max-width: 50ch; color: var(--ivoire-doux); }
.filtres { position: sticky; top: calc(84px + env(safe-area-inset-top, 0px)); z-index: 30; background: rgba(31, 30, 28, 0.96); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-block: 1px solid var(--trait); padding-top: env(safe-area-inset-top, 0px); }
.filtres__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 28px; padding-block: 16px; padding-right: clamp(120px, 16vw, 260px); }
.puces { display: flex; flex-wrap: wrap; gap: 8px; }
.puce { text-decoration: none; border: 1px solid var(--trait); background: transparent; padding: 8px 16px; border-radius: 999px; font-size: 13px; cursor: pointer; transition: background 0.4s, color 0.4s, border-color 0.4s; }
.puce:hover { border-color: var(--ivoire-doux); }
.puce[aria-pressed="true"] { background: var(--ivoire); color: var(--nuit); border-color: var(--ivoire); }
.reglages { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; font-size: 13px; }
.reglages label { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; }
.reglages input[type="checkbox"] { accent-color: var(--laiton); width: 16px; height: 16px; }
.reglages select { font: inherit; font-size: 13px; background: transparent; border: 0; border-bottom: 1px solid var(--trait); padding: 4px 2px; cursor: pointer; color: var(--ivoire); }
.reglages option { background: var(--nuit-2); }
.resume { font-family: var(--f-mono); font-size: 12px; color: var(--ivoire-doux); padding-block: 34px 8px; }
@media (max-width: 760px) { .filtres__in { padding-right: 0; } }

.grille {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr));
	gap: clamp(48px, 5.4vw, 80px) clamp(22px, 2.8vw, 40px);
	padding-block: 20px clamp(90px, 11vw, 160px);
}
.carte { text-decoration: none; display: grid; gap: 18px; align-content: start; perspective: 900px; }
/* L'œuvre est posée entière sur un panneau, jamais recadrée ; la lumière suit le pointeur. */
.carte__img {
	position: relative;
	aspect-ratio: 4 / 5; max-width: 100%;
	background: var(--nuit-2);
	display: grid; place-items: center;
	padding: 11%;
	overflow: hidden;
	transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
	transition: transform 0.9s var(--doux);
	transform-style: preserve-3d;
}
.carte__img::after {
	content: ""; position: absolute; inset: 0; pointer-events: none;
	background: radial-gradient(circle 240px at var(--mx, 50%) var(--my, 30%), rgba(255, 232, 180, 0.16), transparent 70%);
	opacity: 0; transition: opacity 0.6s;
}
.carte:hover .carte__img::after { opacity: 1; }
.carte__img img { max-height: 100%; width: auto; object-fit: contain; box-shadow: 0 26px 44px -22px #000; transition: transform 1.3s var(--doux), filter 0.6s; }
.carte:hover .carte__img img { transform: translateZ(30px) scale(1.04); }
.carte.est-vendue .carte__img img { filter: grayscale(1) brightness(0.6); }
.carte__txt { display: grid; gap: 3px; }
.carte__txt em { font-family: var(--f-display); font-size: 23px; line-height: 1.18; }
.carte__txt .tech { font-size: 13.5px; color: var(--ivoire-doux); }
.carte__bas { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 8px; }
.tag { font-family: var(--f-mono); font-size: 12px; padding: 4px 9px; background: var(--cartel); color: var(--cartel-encre); font-variant-numeric: tabular-nums; }
.tag--reservee { background: transparent; border: 1px solid var(--terracotta); color: var(--terracotta); }
.tag--vendue { background: transparent; color: #d2402f; padding-inline: 0; letter-spacing: 0.16em; text-transform: uppercase; font-family: var(--f-texte); font-size: 10.5px; display: inline-flex; align-items: center; gap: 7px; }
.tag--vendue::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #d2402f; }
.vide { padding-block: 60px 160px; font-family: var(--f-display); font-style: italic; font-size: 28px; color: var(--ivoire-doux); }

/* ==========================================================================
   FICHE PIÈCE
   ========================================================================== */
.fiche { padding-block: calc(130px + env(safe-area-inset-top, 0px)) clamp(90px, 11vw, 150px); }
.fil { font-size: 12.5px; color: var(--ivoire-doux); margin-bottom: 30px; }
.fil a { text-decoration: none; }
.fil a:hover { color: var(--ivoire); }
.fiche__grille { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(36px, 6vw, 100px); align-items: start; }
.fiche__img {
	position: relative;
	background: var(--nuit-2);
	display: grid; place-items: center;
	padding: clamp(28px, 7%, 84px);
	min-height: min(80vh, 780px);
	overflow: hidden;
}
.fiche__img > img { max-height: min(64vh, 640px); width: auto; box-shadow: 0 40px 80px -36px #000; animation: respire 18s ease-in-out infinite alternate; }
@keyframes respire { to { transform: scale(1.035); } }
/* Loupe : un disque qui grossit la matière sous le pointeur. */
.loupe {
	position: absolute; left: 0; top: 0;
	width: 190px; height: 190px; margin: -95px 0 0 -95px;
	border-radius: 50%;
	border: 1px solid rgba(235, 230, 220, 0.4);
	box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.7);
	background-repeat: no-repeat;
	pointer-events: none;
	opacity: 0; transform: scale(0.6);
	transition: opacity 0.35s, transform 0.5s var(--doux);
}
.fiche__img.a-loupe .loupe { opacity: 1; transform: scale(1); }
/* L'appui maintenu ouvre la loupe, pas le menu « enregistrer l’image »
   du telephone, ni une selection de texte. */
.fiche__img { -webkit-touch-callout: none; -webkit-user-select: none; user-select: none; }
/* Le conseil change selon ce qu’on a sous la main. */
.aide--doigt { display: none; }
@media (hover: none), (pointer: coarse) {
	.aide--souris { display: none; }
	.aide--doigt { display: inline; }
}
.fiche__img.a-loupe > img { animation-play-state: paused; }
.fiche__aide { position: absolute; left: 20px; bottom: 16px; font-size: 10.5px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--ivoire-faible); }
.fiche__info { position: sticky; top: 110px; display: grid; gap: 24px; }
.fiche__info h1 { font-size: clamp(44px, 5vw, 76px); letter-spacing: -0.03em; }
.fiche__info .tech { color: var(--ivoire-doux); }
.signature { margin-top: 18px; display: grid; gap: 2px; }
.signature span { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.1em; color: var(--ivoire-faible); text-transform: uppercase; }
/* La signature à la main : ce qui dit qu'une pièce vient d'ici, et de nulle part ailleurs. */
.signature i { font-family: "Mrs Saint Delafield", "Brush Script MT", cursive; font-style: normal; font-size: 40px; line-height: 0.9; color: var(--laiton); }
.fiche__prix { font-family: var(--f-mono); font-size: 21px; font-variant-numeric: tabular-nums; }
.fiche__prix.est-vendue { text-decoration: line-through; color: var(--ivoire-faible); }
/* --- La boutique en pause ----------------------------------------------- */
/* Le message qui remplace le bouton d'achat : du texte, pas une alerte. On
   ne crie pas qu'il manque quelque chose, on annonce ce qui vient. */
.fiche__pause {
	font-family: var(--f-display); font-style: italic;
	font-size: clamp(17px, 1.6vw, 21px); line-height: 1.35;
	color: var(--ivoire-doux); margin: 0 0 4px; max-width: 42ch;
}
/* --- Le choix du format -------------------------------------------------- */
/* Un menu deroulant sobre, dans le ton de la fiche : c'est une decision du
   visiteur, pas un formulaire administratif. */
.formats { margin: 18px 0 4px; }
.formats__titre {
	display: block; font-size: 11px; font-weight: 500; letter-spacing: 0.28em;
	text-transform: uppercase; color: var(--ivoire-doux); margin-bottom: 8px;
}
.formats__choix {
	width: 100%; max-width: 320px; padding: 0.8em 2.4em 0.8em 1em;
	font-family: var(--f-texte); font-size: 14px; font-weight: 300; color: var(--ivoire);
	background: transparent; border: 1px solid var(--trait); border-radius: 2px;
	appearance: none; cursor: pointer;
	background-image: linear-gradient(45deg, transparent 50%, var(--ivoire-doux) 50%),
	                  linear-gradient(135deg, var(--ivoire-doux) 50%, transparent 50%);
	background-position: calc(100% - 18px) 54%, calc(100% - 13px) 54%;
	background-size: 5px 5px, 5px 5px;
	background-repeat: no-repeat;
	transition: border-color 0.5s var(--doux);
}
.formats__choix:hover, .formats__choix:focus-visible { border-color: var(--ivoire-faible); outline: none; }
.formats__choix option { background: var(--nuit-2); color: var(--ivoire); }
.formats__mot { margin-top: 7px; font-size: 12px; color: var(--ivoire-faible); }
/* --- Les collections, en pleine page ------------------------------------- */
/* Une liste de noms en grand, et la couverture qui s'avance au survol. Le
   meme geste que le panneau « Par univers », mais pose dans la page. */
.collections {
	position: relative; padding: clamp(80px, 12vh, 150px) 0 clamp(70px, 10vh, 130px);
	border-top: 1px solid var(--trait);
}
.collections__tete { max-width: var(--largeur); margin-inline: auto; padding-inline: var(--gouttiere); margin-bottom: clamp(28px, 4vw, 54px); }
.collections__tete h2 { font-size: clamp(34px, 5vw, 68px); margin-top: 10px; }
.collections__mot { margin-top: 14px; max-width: 46ch; color: var(--ivoire-doux); font-size: 15px; }

.collections__liste { list-style: none; margin: 0; padding: 0; max-width: var(--largeur); margin-inline: auto; }
.collections__liste li { border-top: 1px solid var(--trait); }
.collections__liste li:last-child { border-bottom: 1px solid var(--trait); }
.collections__liste a {
	display: flex; align-items: baseline; gap: clamp(14px, 2.5vw, 40px);
	padding: clamp(16px, 2.2vw, 30px) var(--gouttiere);
	color: var(--ivoire); text-decoration: none;
	transition: color 0.6s var(--doux), opacity 0.6s var(--doux);
}
.collections__liste a .ref { font-family: var(--f-mono); font-size: 11px; color: var(--ivoire-faible); flex: none; }
.collections__liste a em {
	font-family: var(--f-display); font-style: normal;
	font-size: clamp(26px, 4.2vw, 58px); line-height: 1.04; letter-spacing: -0.02em;
	transition: transform 0.7s var(--doux);
}
.collections__liste a .nb { margin-left: auto; font-family: var(--f-mono); font-size: 12px; color: var(--ivoire-doux); flex: none; }
@media (hover: hover) {
	/* Les autres s'effacent : on ne lit qu'une ligne a la fois. */
	.collections__liste:hover a { opacity: 0.38; }
	.collections__liste a:hover { opacity: 1; }
	.collections__liste a:hover em { transform: translateX(clamp(8px, 1.4vw, 22px)); }
}
.collections__liste a:focus-visible { outline: 1px solid var(--ivoire-faible); outline-offset: -4px; }

.statut { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; }
.statut::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #8fb28f; box-shadow: 0 0 12px #8fb28f; }
.statut--reservee::before { background: var(--laiton); box-shadow: 0 0 12px var(--laiton); }
.statut--vendue::before { background: #d2402f; box-shadow: 0 0 12px rgba(210, 64, 47, 0.5); }
.statut--vendue { color: #d2402f; }
.fiche__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.plis { border-top: 1px solid var(--trait); }
.plis details { border-bottom: 1px solid var(--trait); }
.plis summary { list-style: none; cursor: pointer; padding-block: 17px; display: flex; justify-content: space-between; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; }
.plis summary::-webkit-details-marker { display: none; }
.plis summary::after { content: "+"; font-size: 18px; line-height: 1; transition: transform 0.5s var(--doux); }
.plis details[open] summary::after { transform: rotate(45deg); }
.plis details p { padding-bottom: 20px; font-size: 15px; color: var(--ivoire-doux); max-width: 50ch; }
@media (max-width: 900px) { .fiche__grille { grid-template-columns: 1fr; } .fiche__info { position: static; } .fiche__img { min-height: 0; } }

/* --- Voir chez moi : la pièce à l'échelle, sur un mur ------------------ */
.chez-moi { margin-top: clamp(90px, 11vw, 160px); display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.chez-moi h2 { font-size: clamp(36px, 4.4vw, 66px); margin-top: 14px; }
.chez-moi h2 em { color: var(--laiton); }
.chez-moi__texte { color: var(--ivoire-doux); margin-top: 18px; max-width: 38ch; }
.reglage-mur { margin-top: 30px; display: grid; gap: 16px; }
.pastilles { display: flex; gap: 10px; flex-wrap: wrap; }
.pastille { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--trait); background: var(--c); cursor: pointer; transition: transform 0.4s var(--doux), box-shadow 0.4s; }
.pastille[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--nuit), 0 0 0 3px var(--ivoire); transform: scale(1.08); }
.meubles { display: flex; gap: 8px; }
.outils-mur { display: flex; flex-wrap: wrap; gap: 8px; }
.outils-mur[hidden] { display: none; }
.outils-mur .puce { cursor: pointer; }
.glissiere { display: grid; gap: 8px; }
.glissiere input[type="range"] { width: 100%; accent-color: var(--laiton); background: transparent; }
.chez-moi__aide { font-family: var(--f-mono); font-size: 11px; color: var(--ivoire-faible); line-height: 1.6; }
/* La scène mesure 400 × 250 cm ; tout y est placé en pourcentages. */
.scene {
	position: relative;
	aspect-ratio: 400 / 250; max-width: 100%;
	background: var(--mur, #e2ddd2);
	overflow: hidden;
	transition: background 0.9s var(--doux);
	box-shadow: inset 0 -80px 120px -60px rgba(0, 0, 0, 0.35), inset 0 80px 160px -80px rgba(0, 0, 0, 0.25);
}
.scene__sol { position: absolute; left: 0; right: 0; top: 92%; bottom: 0; background: linear-gradient(#8b7967, #6f5f50); }
.scene__oeuvre {
	position: absolute;
	left: var(--ol, 50%); top: var(--ot);
	transform: translateX(-50%);
	width: var(--ow); height: var(--oh);
	box-shadow: 0 14px 22px -10px rgba(0, 0, 0, 0.55);
	transition: width 0.9s var(--doux), height 0.9s var(--doux), top 0.9s var(--doux), left 0.9s var(--doux);
	overflow: hidden;
	touch-action: none;
	cursor: grab;
}
.scene__oeuvre.est-saisie { transition: none; cursor: grabbing; box-shadow: 0 22px 34px -12px rgba(0, 0, 0, 0.7); }
.scene { background-size: cover; background-position: center; }
.scene.est-photo .scene__sol, .scene.est-photo .scene__meuble,
.scene.est-camera .scene__sol, .scene.est-camera .scene__meuble { display: none; }
.scene__cam { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.scene.est-camera::after { content: "En direct"; position: absolute; left: 12px; top: 10px; font-family: var(--f-mono); font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; color: #fff; background: rgba(160, 30, 30, 0.85); padding: 4px 9px; }
.scene__oeuvre img { width: 100%; height: 100%; object-fit: cover; }
.scene__meuble { position: absolute; left: 50%; bottom: 8%; transform: translateX(-50%); transition: width 0.9s var(--doux), height 0.9s var(--doux); color: #2a2d30; }
.scene__meuble svg { width: 100%; height: 100%; display: block; }
/* Un vase posé à côté : la scène ressemble davantage à un salon. */
.scene__decor { position: absolute; bottom: 8%; transition: left 0.9s var(--doux), width 0.9s var(--doux), height 0.9s var(--doux); }
.scene__decor svg { width: 100%; height: 100%; display: block; }
.scene.est-photo .scene__decor, .scene.est-camera .scene__decor { display: none; }
.scene__cote { position: absolute; top: calc(var(--ot) - 5.5%); left: var(--ol, 50%); transform: translateX(-50%); width: var(--ow); display: grid; place-items: center; font-family: var(--f-mono); font-size: 11px; color: rgba(20, 20, 20, 0.7); border-top: 1px solid rgba(20, 20, 20, 0.35); padding-top: 3px; transition: all 0.9s var(--doux); }
.scene.est-sombre .scene__cote { color: rgba(235, 230, 220, 0.8); border-color: rgba(235, 230, 220, 0.4); }
.scene__legende { position: absolute; right: 12px; bottom: 10px; font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(235, 230, 220, 0.75); }
@media (max-width: 900px) { .chez-moi { grid-template-columns: 1fr; } }

.aussi { margin-top: clamp(90px, 11vw, 160px); }
.aussi h2 { font-size: clamp(32px, 3.6vw, 52px); margin-bottom: 36px; }
.aussi .grille { padding-bottom: 0; }

/* ==========================================================================
   LA MAISON (page)
   ========================================================================== */
.page-maison .page-tete h1 { max-width: 12ch; }
.bande-arches { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 1.8vw, 24px); padding-bottom: clamp(70px, 9vw, 120px); }
.bande-arches .arche:nth-child(even) { margin-top: 70px; }
/* Les partenaires : chaque logo sur sa plaque claire, a la meme hauteur,
   quelle que soit la forme du dessin. */
.partenaires { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: clamp(12px, 1.6vw, 22px); }
.partenaire { margin: 0; background: #fff; border-radius: 3px; aspect-ratio: 2 / 1; display: grid; place-items: center; padding: 14px; }
.partenaire img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.partenaire--sombre { background: #000; }
@media (max-width: 700px) { .bande-arches { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ==========================================================================
   PANIER, NOTIFICATIONS, CURSEUR, MENTION
   ========================================================================== */
.voile { position: fixed; inset: 0; z-index: 80; background: rgba(0, 0, 0, 0.5); opacity: 0; pointer-events: none; transition: opacity 0.6s var(--doux); }
.voile.est-ouvert { opacity: 1; pointer-events: auto; }
.tiroir {
	position: fixed; top: 0; right: 0; bottom: 0; z-index: 90;
	width: min(460px, 100%);
	background: var(--nuit-2);
	border-left: 1px solid var(--trait);
	padding: calc(30px + env(safe-area-inset-top, 0px)) 30px calc(30px + env(safe-area-inset-bottom, 0px));
	display: flex; flex-direction: column; gap: 22px;
	transform: translateX(104%);
	transition: transform 0.8s var(--lent);
}
.tiroir.est-ouvert { transform: none; }
.tiroir__tete { display: flex; justify-content: space-between; align-items: baseline; }
.tiroir__tete h2 { font-size: 38px; }
.fermer { background: none; border: 0; cursor: pointer; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; }
.lignes { flex: 1; overflow-y: auto; display: grid; align-content: start; gap: 20px; }
.ligne { display: grid; grid-template-columns: 74px minmax(0, 1fr) auto; gap: 16px; align-items: center; }
.ligne img { width: 74px; height: 92px; object-fit: cover; }
.ligne em { font-family: var(--f-display); font-size: 18px; display: block; line-height: 1.2; }
.ligne .retirer { background: none; border: 0; cursor: pointer; font-size: 12px; color: var(--ivoire-doux); text-decoration: underline; }
.total { display: flex; justify-content: space-between; font-family: var(--f-mono); font-size: 15px; border-top: 1px solid var(--trait); padding-top: 20px; }
.tiroir .btn { justify-content: center; }
.tiroir__note { font-size: 12.5px; color: var(--ivoire-doux); }
.tiroir .vide { padding: 0; font-size: 24px; }

.notif {
	position: fixed; left: 50%; bottom: calc(28px + env(safe-area-inset-bottom, 0px)); z-index: 150;
	transform: translate(-50%, 30px); opacity: 0;
	background: var(--ivoire); color: var(--nuit);
	padding: 14px 22px; font-size: 14px; font-weight: 400;
	max-width: min(540px, calc(100% - 32px));
	transition: opacity 0.4s, transform 0.7s var(--doux);
	pointer-events: none;
}
.notif.est-visible { opacity: 1; transform: translate(-50%, 0); }
/* --- Le panneau latéral : tous les univers, à portée de main --------- */
.cote {
	position: fixed; top: 0; left: 0; bottom: 0; z-index: 92;
	width: min(430px, 88vw);
	background: var(--nuit-2);
	border-right: 1px solid var(--trait);
	transform: translateX(-101%);
	transition: transform 0.8s var(--lent), visibility 0.8s;
	visibility: hidden;
	overflow-y: auto; overscroll-behavior: contain;
	padding: calc(104px + env(safe-area-inset-top, 0px)) 32px calc(40px + env(safe-area-inset-bottom, 0px));
	display: grid; align-content: start; gap: 26px;
}
.cote.est-ouvert { transform: none; visibility: visible; }
.cote h2 { font-size: 30px; }
.cote__liste { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--trait); }
.cote__liste a { display: flex; align-items: baseline; gap: 16px; padding: 17px 0; border-bottom: 1px solid var(--trait); text-decoration: none; transition: color 0.4s; }
.cote__liste .ref { flex: none; }
.cote__liste em { font-family: var(--f-display); font-style: normal; font-size: 25px; line-height: 1.15; transition: transform 0.7s var(--doux); }
.cote__liste a:hover em { transform: translateX(6px); }
.cote__liste a:hover em { font-style: italic; color: var(--laiton); }
.cote__liste .nb { margin-left: auto; font-family: var(--f-mono); font-size: 11.5px; color: var(--ivoire-doux); }
/* Sans survol, l’aperçu ne s’ouvre jamais : la vignette prend sa place et
   se pose dans la ligne. Sur ordinateur, c’est l’œil qui fait le travail. */
.cote__vignette { display: none; }
@media (hover: none), (max-width: 860px) {
	.cote__liste a { align-items: center; gap: 12px; }
	.cote__vignette { display: block; flex: none; width: 46px; height: 58px; object-fit: cover; background: var(--nuit-3); }
}
.cote__liens { display: grid; gap: 12px; }
.cote__liens a { text-decoration: none; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ivoire-doux); }
.cote__liens a:hover { color: var(--laiton); }
.cote__infos { font-size: 13.5px; color: var(--ivoire-doux); line-height: 1.7; }


/* --- Alexandre, dessine, et sa bulle de discussion --------------------- */
.avatar { display: block; border-radius: 50%; flex: none; }
.avatar--petit { width: 34px; height: 34px; }
.avatar--moyen { width: 52px; height: 52px; }
.avatar--grand { width: 74px; height: 74px; }
/* Une photo tient la meme place que le portrait dessine : meme rond, meme
   taille, et le cadrage se fait tout seul quelle que soit l’image fournie. */
.avatar--photo { object-fit: cover; background: var(--nuit-3); }

/* La bulle flottante, en bas a droite : discrete, mais toujours la. */
.causette__appel {
	position: fixed; right: clamp(16px, 2.4vw, 30px); bottom: clamp(16px, 2.4vw, 30px);
	z-index: 150; display: flex; align-items: center; gap: 11px;
	padding: 8px 18px 8px 8px; border: 1px solid var(--trait);
	background: rgba(31, 30, 28, 0.94); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
	border-radius: 999px; color: var(--ivoire); cursor: pointer;
	box-shadow: 0 24px 50px -24px rgba(0, 0, 0, 0.9);
	transition: transform 0.5s var(--doux), opacity 0.4s, visibility 0.4s;
}
.causette__appel:hover { transform: translateY(-3px); }
.causette__appel span { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; white-space: nowrap; }
.causette__appel i {
	position: absolute; top: 6px; right: 14px; width: 8px; height: 8px; border-radius: 50%;
	background: #6ec07a; box-shadow: 0 0 0 0 rgba(110, 192, 122, 0.6); animation: pastille 2.6s infinite;
}
@keyframes pastille { 70% { box-shadow: 0 0 0 9px rgba(110, 192, 122, 0); } 100% { box-shadow: 0 0 0 0 rgba(110, 192, 122, 0); } }
.causette.est-ouverte .causette__appel { opacity: 0; visibility: hidden; }
@media (max-width: 560px) { .causette__appel span { display: none; } .causette__appel { padding: 8px; } }

/* Le panneau de discussion. */
.causette__panneau {
	position: fixed; right: clamp(16px, 2.4vw, 30px); bottom: clamp(16px, 2.4vw, 30px);
	z-index: 151; width: min(370px, calc(100vw - 32px));
	display: grid; grid-template-rows: auto 1fr auto;
	max-height: min(620px, calc(100vh - 110px));
	background: rgba(28, 27, 25, 0.97); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
	border: 1px solid var(--trait); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.95);
	opacity: 0; visibility: hidden; transform: translateY(18px) scale(0.97); transform-origin: bottom right;
	transition: opacity 0.45s, visibility 0.45s, transform 0.6s var(--doux);
}
.causette.est-ouverte .causette__panneau { opacity: 1; visibility: visible; transform: none; }
.causette__tete { display: flex; align-items: center; gap: 12px; padding: 15px 16px; border-bottom: 1px solid var(--trait); }
.causette__nom { font-family: var(--f-display); font-size: 17px; line-height: 1.1; }
.causette__etat { font-family: var(--f-mono); font-size: 10px; color: var(--ivoire-faible); letter-spacing: 0.04em; }
.causette__fermer { margin-left: auto; background: none; border: 0; color: var(--ivoire-doux); cursor: pointer; font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; }
.causette__fermer:hover { color: var(--ivoire); }

.causette__fil { padding: 16px; overflow-y: auto; overscroll-behavior: contain; display: grid; gap: 10px; align-content: start; }
.bulle { max-width: 84%; padding: 11px 14px; font-size: 14px; line-height: 1.55; border-radius: 16px; }
.bulle--lui { background: rgba(237, 231, 215, 0.08); border: 1px solid var(--trait); color: var(--ivoire); border-bottom-left-radius: 5px; justify-self: start; }
.bulle--moi { background: var(--laiton); color: #2b2a28; border-bottom-right-radius: 5px; justify-self: end; }
.bulle a { color: var(--laiton); text-decoration: underline; text-underline-offset: 2px; }
.bulle--moi a { color: #2b2a28; }
.bulle--tape { display: inline-flex; gap: 4px; align-items: center; }
.bulle--tape i { width: 6px; height: 6px; border-radius: 50%; background: var(--ivoire-faible); animation: tape 1.3s infinite; }
.bulle--tape i:nth-child(2) { animation-delay: 0.18s; }
.bulle--tape i:nth-child(3) { animation-delay: 0.36s; }
@keyframes tape { 0%, 60%, 100% { opacity: 0.25; transform: none; } 30% { opacity: 1; transform: translateY(-3px); } }

.causette__pied { padding: 12px 16px 15px; border-top: 1px solid var(--trait); display: grid; gap: 8px; }
.causette__questions { display: flex; flex-wrap: wrap; gap: 7px; }
.causette__questions button {
	background: none; border: 1px solid var(--trait); color: var(--ivoire-doux);
	padding: 7px 12px; border-radius: 999px; font-size: 12.5px; cursor: pointer;
	transition: color 0.3s, border-color 0.3s, background 0.3s;
}
.causette__questions button:hover { color: var(--nuit); background: var(--ivoire); border-color: var(--ivoire); }
.causette__mentions { font-family: var(--f-mono); font-size: 9.5px; line-height: 1.6; color: var(--ivoire-faible); }
@media (prefers-reduced-motion: reduce) { .causette__appel i, .bulle--tape i { animation: none; } }

/* La presentation de la maison, a la place de la video d'accueil. */
.presentation { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(26px, 5vw, 70px); align-items: start; }
.presentation__mot { border-top: 1px solid var(--trait); padding-top: 22px; }
.presentation__phrase { font-family: var(--f-display); font-style: italic; font-size: clamp(20px, 2.4vw, 28px); line-height: 1.3; margin: 20px 0 24px; color: var(--ivoire); }
.presentation__faits { display: grid; gap: 1px; margin: 0; background: var(--trait); border: 1px solid var(--trait); }
.presentation__faits > div { background: var(--nuit); padding: 20px 22px; display: grid; gap: 5px; }
.presentation__faits dt { font-family: var(--f-display); font-size: clamp(26px, 3.2vw, 38px); line-height: 1; color: var(--laiton); }
.presentation__faits dd { margin: 0; color: var(--ivoire-doux); font-size: 14px; line-height: 1.55; }
@media (max-width: 860px) { .presentation { grid-template-columns: 1fr; } }

/* Le meme fil, dans la pop-up de reservation. */
.modale__fil { display: grid; gap: 10px; margin-top: 18px; text-align: left; }
.modale__depuis { display: flex; align-items: center; gap: 11px; margin-top: 4px; }

/* --- La pop-up de réservation : un mot d'Alexandre --------------------- */
.modale { position: fixed; inset: 0; z-index: 160; display: grid; place-items: center; padding: 20px; opacity: 0; visibility: hidden; transition: opacity 0.5s, visibility 0.5s; }
.modale.est-ouverte { opacity: 1; visibility: visible; }
.modale__fond { position: absolute; inset: 0; background: rgba(20, 19, 18, 0.86); }
.modale__carte {
	position: relative; z-index: 1;
	width: min(560px, 100%); max-height: 86vh; overflow-y: auto;
	background: var(--nuit-2); border: 1px solid var(--laiton);
	padding: clamp(24px, 3vw, 36px);
	transform: translateY(24px) scale(0.98);
	transition: transform 0.7s var(--doux);
}
.modale.est-ouverte .modale__carte { transform: none; }
.modale__carte h2 { font-size: clamp(26px, 3.4vw, 36px); margin-top: 12px; }
.modale__video { position: relative; aspect-ratio: 16 / 9; max-height: 232px; margin-top: 18px; background: #0c0e10; border: 1px solid var(--trait); overflow: hidden; display: grid; place-items: center; align-content: center; gap: 12px; padding: 18px; text-align: center; }
.modale__video video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.modale__jouer { width: 62px; height: 62px; border-radius: 50%; border: 1px solid var(--laiton); display: grid; place-items: center; color: var(--laiton); }
.modale__jouer svg { width: 18px; height: 18px; margin-left: 3px; }
.modale__attente { font-family: var(--f-mono); font-size: 11px; line-height: 1.7; color: var(--ivoire-faible); max-width: 38ch; }
.modale__mot { color: var(--ivoire-doux); margin-top: 18px; line-height: 1.75; font-size: 15px; }
.modale__signe { margin-top: 22px; font-family: var(--f-display); font-style: italic; font-size: 21px; color: var(--laiton); }
.modale__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.modale__note { margin-top: 18px; font-family: var(--f-mono); font-size: 11.5px; color: var(--ivoire-faible); }

/* --- Formulaire de contact --------------------------------------------- */
.formulaire { display: grid; gap: 18px; max-width: 640px; margin-top: 34px; }
.champ { display: grid; gap: 7px; }
.champ label { font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ivoire-doux); }
.champ input, .champ select, .champ textarea {
	border: 0; border-bottom: 1px solid var(--ivoire-faible);
	background: transparent; color: var(--ivoire);
	font: inherit; font-size: 16px; padding: 11px 0;
	transition: border-color 0.4s;
}
.champ textarea { min-height: 128px; resize: vertical; line-height: 1.6; }
.champ select { appearance: none; }
.champ select option { background: var(--nuit-2); color: var(--ivoire); }
.champ input:focus, .champ select:focus, .champ textarea:focus { outline: none; border-color: var(--laiton); }
.formulaire .btn { justify-self: start; margin-top: 6px; }
.deux-col { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 620px) { .deux-col { grid-template-columns: 1fr; } }

/* --- L'atelier et les événements ------------------------------------- */
.bandeau { position: relative; height: min(56vh, 520px); overflow: hidden; display: grid; align-items: end; }
.bandeau img, .bandeau video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(0.66) saturate(0.95); }
/* Un bandeau sans photo : la lueur d'une salle allumee le soir, dans les
   couleurs de la maison. Il tient le meme role qu'une image, sans montrer
   une piece du catalogue a la place du lieu. */
.bandeau--soir { background: var(--nuit); }
.bandeau--soir::before, .bandeau--soir::after { content: ""; position: absolute; inset: 0; }
.bandeau--soir::before {
	background:
		radial-gradient(120% 90% at 18% 118%, rgba(193, 85, 46, 0.58), transparent 62%),
		radial-gradient(80% 70% at 78% 108%, rgba(201, 162, 39, 0.34), transparent 60%),
		linear-gradient(180deg, #211f1d 0%, #2b2926 48%, #39332c 100%);
}
.bandeau--soir::after {
	/* Le grain du lieu, et la lumiere qui tombe des cimaises. */
	background:
		repeating-linear-gradient(104deg, rgba(237, 231, 215, 0.045) 0 1px, transparent 1px 120px),
		radial-gradient(60% 50% at 50% -10%, rgba(237, 231, 215, 0.12), transparent 70%);
	mix-blend-mode: screen;
}
/* Le bandeau de l'atelier : la matiere de l'etabli. Du bouleau, du laiton,
   une lumiere rasante venue de la gauche, comme une lampe d'etabli. Pas une
   photo : l'atelier ne se montre pas, il se devine. */
.bandeau--atelier { background: var(--nuit); }
.bandeau--atelier::before, .bandeau--atelier::after { content: ""; position: absolute; inset: 0; }
.bandeau--atelier::before {
	background:
		radial-gradient(90% 120% at -8% 50%, rgba(237, 231, 215, 0.26), transparent 58%),
		radial-gradient(70% 90% at 96% 92%, rgba(193, 85, 46, 0.3), transparent 62%),
		linear-gradient(118deg, #2e2a24 0%, #262420 46%, #1f1d1a 100%);
}
.bandeau--atelier::after {
	/* Le fil du bois, et la trame d'un tamis de laiton. */
	background:
		repeating-linear-gradient(92deg, rgba(237, 231, 215, 0.05) 0 1px, transparent 1px 7px),
		repeating-linear-gradient(2deg, rgba(201, 162, 39, 0.07) 0 1px, transparent 1px 26px);
	mix-blend-mode: screen; opacity: 0.9;
}
.bandeau__texte { position: relative; padding-bottom: clamp(30px, 5vw, 60px); }
.bandeau h1 { font-size: clamp(46px, 8vw, 116px); line-height: 0.98; letter-spacing: -0.03em; }
.duo { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: clamp(26px, 3.4vw, 48px); padding-block: clamp(60px, 8vw, 110px); }
.duo p { color: var(--ivoire-doux); }
.savoir { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: clamp(22px, 2.6vw, 34px); }
.savoir__item { border-top: 1px solid var(--trait); padding-top: 18px; }
.savoir__item h3 { font-family: var(--f-display); font-size: 23px; font-weight: 400; margin: 0 0 8px; }
.savoir__item p { font-size: 14px; color: var(--ivoire-doux); line-height: 1.65; }
/* Les événements : quatre cartes qui bougent. Chacune porte une couleur de la
   maison et un motif qui lui est propre ; au survol, la carte se soulève et le
   motif glisse. C'est ce qui donne envie de cliquer. */
.evt-grille { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr)); gap: clamp(16px, 2vw, 26px); }
.evt-carte {
	position: relative; overflow: hidden; isolation: isolate;
	min-height: clamp(300px, 32vw, 400px);
	padding: clamp(22px, 2.6vw, 34px);
	display: grid; align-content: end; gap: 10px;
	text-decoration: none; color: #1c1a17;
	transition: transform 0.7s var(--doux), box-shadow 0.7s var(--doux);
}
.evt-carte::before {
	content: ""; position: absolute; inset: -20%; z-index: -2;
	background: var(--fond);
	transition: transform 1.4s var(--doux);
}
.evt-carte::after {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background: var(--motif);
	opacity: 0.5;
	transition: transform 1.6s var(--doux), opacity 0.7s;
}
.evt-carte:hover { transform: translateY(-10px); box-shadow: 0 40px 70px -34px rgba(0, 0, 0, 0.75); }
.evt-carte:hover::before { transform: scale(1.06); }
.evt-carte:hover::after { transform: translate3d(-24px, -24px, 0) rotate(2deg); opacity: 0.85; }
.evt-carte__quand {
	justify-self: start; align-self: start; position: absolute; top: clamp(18px, 2.2vw, 26px); left: clamp(22px, 2.6vw, 34px);
	font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
	background: rgba(28, 26, 23, 0.82); color: var(--bouleau);
	padding: 6px 11px;
}
.evt-carte p.evt-carte__accroche {
	font-family: "Mrs Saint Delafield", "Brush Script MT", cursive;
	font-size: clamp(30px, 3.1vw, 42px); line-height: 0.85; max-width: none; white-space: nowrap;
	color: rgba(28, 26, 23, 0.88);
	margin: 0 0 -6px; transform: rotate(-3deg); transform-origin: left bottom;
	transition: transform 0.7s var(--doux);
}
.evt-carte--graphite p.evt-carte__accroche { color: var(--laiton); }
.evt-carte:hover p.evt-carte__accroche { transform: rotate(-3deg) translateY(-5px); }
.evt-carte h3 { font-family: var(--f-display); font-weight: 400; font-size: clamp(26px, 3vw, 38px); line-height: 1.02; margin: 0; }
.evt-carte p { font-size: 14px; line-height: 1.55; color: rgba(28, 26, 23, 0.78); max-width: 34ch; }
.evt-carte__aller { display: inline-flex; align-items: center; gap: 9px; margin-top: 6px; font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; }
.evt-carte__aller svg { width: 22px; height: 8px; fill: none; stroke: currentColor; stroke-width: 1.4; transition: transform 0.6s var(--doux); }
.evt-carte:hover .evt-carte__aller svg { transform: translateX(7px); }

.evt-carte--terracotta { --fond: linear-gradient(150deg, #d8663a, #a63f18); --motif: repeating-linear-gradient(135deg, rgba(28, 26, 23, 0.14) 0 2px, transparent 2px 16px); }
.evt-carte--or { --fond: linear-gradient(150deg, #dfb53f, #a8841a); --motif: radial-gradient(circle at 1px 1px, rgba(28, 26, 23, 0.2) 1.4px, transparent 1.6px) 0 0 / 18px 18px; }
.evt-carte--rose { --fond: linear-gradient(150deg, #dd93a8, #ab5d78); --motif: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.22) 0 1px, transparent 1px 14px); }
.evt-carte--graphite { --fond: linear-gradient(150deg, #4c4942, #2b2a28); --motif: repeating-conic-gradient(from 20deg at 50% 50%, rgba(237, 231, 215, 0.05) 0deg 8deg, transparent 8deg 24deg); }
.evt-carte--graphite { color: var(--bouleau); }
.evt-carte--graphite p { color: rgba(237, 231, 215, 0.74); }
.evt-carte--graphite .evt-carte__quand { background: rgba(237, 231, 215, 0.9); color: #2b2a28; }

/* --- Le lecteur de musique ---------------------------------------------
   Une pastille en bas à gauche : le disque, le titre, et la lecture. Elle
   ne prend la place de rien, et s'ouvre en panneau quand on la touche. */
.fm {
	position: fixed; left: 14px; bottom: calc(14px + env(safe-area-inset-bottom, 0px)); z-index: 96;
	display: flex; align-items: center; gap: 10px;
	max-width: min(330px, calc(100vw - 28px));
	padding: 7px 12px 7px 7px;
	background: rgba(31, 30, 28, 0.86);
	border: 1px solid var(--trait);
	backdrop-filter: blur(9px);
	transition: border-color 0.4s, background 0.4s;
}
.fm:hover { border-color: rgba(212, 174, 58, 0.4); }
.fm button { background: none; border: 0; padding: 0; cursor: pointer; color: inherit; font: inherit; }

.fm__disque { flex: none; width: 34px; height: 34px; display: grid; place-items: center; }
.fm__vinyle {
	width: 30px; height: 30px; border-radius: 50%;
	background:
		radial-gradient(circle at 50% 50%, var(--laiton) 0 17%, transparent 17.5%),
		repeating-radial-gradient(circle at 50% 50%, rgba(237, 231, 215, 0.14) 0 1px, transparent 1px 3px),
		#191816;
	box-shadow: 0 0 0 1px var(--trait);
}
.fm.est-en-lecture .fm__vinyle { animation: fm-tourne 4.5s linear infinite; }
@keyframes fm-tourne { to { transform: rotate(360deg); } }

.fm__meta { flex: 1; min-width: 0; text-align: left; line-height: 1.25; }
.fm__meta b {
	display: block; font-family: var(--f-texte); font-weight: 400; font-size: 12.5px;
	color: var(--ivoire); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.fm__meta span {
	display: block; margin-top: 2px; font-family: var(--f-mono); font-size: 10px;
	letter-spacing: 0.02em; color: var(--ivoire-faible);
	white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.fm__btn { flex: none; width: 30px; height: 30px; display: grid; place-items: center; color: var(--ivoire-doux); transition: color 0.3s; }
.fm__btn:hover { color: var(--laiton); }
.fm__btn svg { width: 15px; height: 15px; fill: currentColor; }

/* Le panneau : la pochette, les commandes, les cinq morceaux, les crédits. */
.fm-panneau { position: fixed; inset: 0; z-index: 165; display: grid; place-items: end start; padding: 20px; background: rgba(0, 0, 0, 0.55); }
.fm-panneau[hidden] { display: none; }
.fm-carte {
	width: min(470px, calc(100vw - 40px)); max-height: calc(100vh - 40px); overflow: auto;
	background: var(--nuit-2); border: 1px solid var(--trait); padding: 22px;
	box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.9);
}
.fm-carte__tete { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; }
.fm-carte__tete h2 { margin: 6px 0 0; font-family: var(--f-display); font-size: 23px; font-weight: 400; line-height: 1.2; }
.fm-carte__fermer { background: none; border: 0; color: var(--ivoire-faible); font-size: 24px; line-height: 1; cursor: pointer; transition: color 0.3s; }
.fm-carte__fermer:hover { color: var(--ivoire); }

.fm-carte__corps { display: grid; grid-template-columns: 96px 1fr; gap: 18px; margin-top: 20px; }
.fm-disque-grand {
	width: 96px; height: 96px; border-radius: 50%; display: grid; place-items: center; text-align: center;
	background:
		radial-gradient(circle at 50% 50%, #191816 0 22%, transparent 22.5%),
		repeating-radial-gradient(circle at 50% 50%, rgba(237, 231, 215, 0.1) 0 1px, transparent 1px 4px),
		conic-gradient(from 210deg, #35322c, #1d1b19, #35322c);
	box-shadow: 0 0 0 1px var(--trait);
}
.fm-disque-grand span { font-family: var(--f-mono); font-size: 9px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--laiton); max-width: 60px; }
.fm-disque-grand.tourne { animation: fm-tourne 9s linear infinite; }

.fm-moment { margin: 0; font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--laiton); }
.fm-carte__corps h3 { margin: 7px 0 0; font-family: var(--f-display); font-size: 21px; font-weight: 400; line-height: 1.25; }
.fm-interpretes { margin: 5px 0 0; font-size: 12.5px; color: var(--ivoire-doux); }
.fm-dit { margin: 9px 0 0; font-family: var(--f-mono); font-size: 10.5px; color: var(--ivoire-faible); min-height: 1.2em; }

.fm-avance { --p: 0%; margin-top: 12px; height: 2px; background: var(--trait); }
.fm-avance span { display: block; height: 100%; width: var(--p); background: var(--laiton); transition: width 0.5s linear; }
.fm-rang { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 10px; }
.fm-temps { font-family: var(--f-mono); font-size: 10px; color: var(--ivoire-faible); }
.fm-commandes { display: flex; align-items: center; gap: 4px; }
.fm-btn { background: none; border: 0; cursor: pointer; width: 30px; height: 30px; display: grid; place-items: center; color: var(--ivoire-doux); transition: color 0.3s; }
.fm-btn:hover { color: var(--laiton); }
.fm-btn svg { width: 15px; height: 15px; fill: currentColor; }
.fm-btn--grand { width: 38px; height: 38px; border: 1px solid var(--trait); color: var(--ivoire); }
.fm-btn--grand svg { width: 17px; height: 17px; }

.fm-suivi { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; margin-top: 14px; font-size: 12px; color: var(--ivoire-doux); cursor: pointer; }
.fm-suivi input { accent-color: var(--laiton); }
.fm-ici { font-family: var(--f-mono); font-size: 10px; color: var(--ivoire-faible); }

.fm-liste { list-style: none; margin: 20px 0 0; padding: 16px 0 0; border-top: 1px solid var(--trait); }
.fm-piste {
	width: 100%; display: flex; align-items: center; gap: 12px; text-align: left;
	background: none; border: 0; cursor: pointer; padding: 8px 2px; color: var(--ivoire-doux);
	transition: color 0.3s;
}
.fm-piste:hover { color: var(--ivoire); }
.fm-piste.est-en-cours { color: var(--laiton); }
.fm-piste__no { font-family: var(--f-mono); font-size: 10px; color: var(--ivoire-faible); }
.fm-piste__nom { flex: 1; min-width: 0; font-size: 13px; }
.fm-piste__nom small { display: block; margin-top: 2px; font-family: var(--f-mono); font-size: 9.5px; color: var(--ivoire-faible); }
.fm-eq { display: flex; align-items: flex-end; gap: 2px; height: 12px; }
.fm-eq i { width: 2px; background: var(--laiton); animation: fm-eq 0.9s var(--doux) infinite alternate; }
.fm-eq i:nth-child(2) { animation-delay: 0.25s; }
.fm-eq i:nth-child(3) { animation-delay: 0.5s; }
@keyframes fm-eq { from { height: 3px; } to { height: 12px; } }

.fm-credits { margin-top: 16px; border-top: 1px solid var(--trait); padding-top: 12px; }
.fm-credits summary { font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ivoire-faible); cursor: pointer; }
.fm-credits ul { margin: 12px 0 0; padding-left: 16px; font-size: 11.5px; line-height: 1.7; color: var(--ivoire-doux); }
.fm-credits a { color: var(--laiton); }

@media (prefers-reduced-motion: reduce) {
	.fm.est-en-lecture .fm__vinyle, .fm-disque-grand.tourne, .fm-eq i { animation: none; }
}
@media (max-width: 760px) {
	/* Au téléphone, la barre du pouce occupe le bas : le lecteur monte
	   au-dessus et se réduit au disque et au bouton. */
	.fm { bottom: calc(70px + env(safe-area-inset-bottom, 0px)); padding: 6px; gap: 6px; }
	.fm__meta { display: none; }
	.fm-panneau { place-items: center; }
}

.saison-demo {
	position: fixed; left: 14px; bottom: calc(14px + env(safe-area-inset-bottom, 0px)); z-index: 95;
	font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.04em;
	color: var(--ivoire-doux); background: rgba(31, 30, 28, 0.72);
	border: 1px solid var(--trait); padding: 6px 11px; cursor: pointer;
	transition: color 0.4s, border-color 0.4s;
}
.saison-demo:hover { color: var(--laiton); border-color: var(--laiton); }
/* Le lecteur tient le coin : les boutons de maquette passent au-dessus. */
.saison-demo { bottom: calc(66px + env(safe-area-inset-bottom, 0px)); }
@media (max-width: 760px) { .saison-demo { bottom: calc(122px + env(safe-area-inset-bottom, 0px)); } }
.mention-maquette { position: fixed; right: 14px; bottom: calc(14px + env(safe-area-inset-bottom, 0px)); z-index: 95; font-family: var(--f-mono); font-size: 11px; background: var(--cartel); color: var(--cartel-encre); padding: 6px 10px; }

/* Le pointeur est une lampe de poche : un halo chaud, et un cœur lumineux
   qui s'ouvre en pastille « Voir » sur les œuvres. */
.barre-pouce { display: none; }
@media (max-width: 760px) {
	/* Tout se fait au pouce : les quatre gestes utiles restent en bas de l'écran. */
	.barre-pouce {
		position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
		display: grid; grid-template-columns: repeat(4, 1fr);
		background: rgba(31, 30, 28, 0.94);
		border-top: 1px solid var(--trait);
		padding-bottom: env(safe-area-inset-bottom, 0px);
	}
	.barre-pouce a, .barre-pouce button {
		background: none; border: 0; cursor: pointer; text-decoration: none;
		color: var(--ivoire-doux);
		padding: 12px 4px 11px;
		font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase;
		display: grid; gap: 6px; justify-items: center; line-height: 1;
	}
	.barre-pouce svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.2; }
	.barre-pouce [aria-current="page"] { color: var(--laiton); }
	.barre-pouce .compte { font-size: 10px; }
	/* La barre du bas reprend Univers et Panier : l en-tete s allege. */
	.nav #ouvrir-cote, .nav #ouvrir-panier { display: none; }
	body { padding-bottom: 62px; }
	.mention-maquette { bottom: calc(70px + env(safe-area-inset-bottom, 0px)); }
	.notif { bottom: calc(80px + env(safe-area-inset-bottom, 0px)); }
}

.curseur {
	position: fixed; left: 0; top: 0; z-index: 250;
	width: 340px; height: 340px; margin: -170px 0 0 -170px;
	border-radius: 50%;
	pointer-events: none;
	background: radial-gradient(circle closest-side, transparent 0 6%, rgba(255, 238, 196, 0.19) 17%, rgba(255, 232, 180, 0.07) 46%, rgba(255, 232, 180, 0) 72%);
	display: grid; place-items: center;
	transition: opacity 0.45s;
}
.curseur__coeur {
	position: relative; z-index: 2;   /* au-dessus du faisceau, sinon il disparait */
	width: 11px; height: 11px; border-radius: 50%;
	background: #fffdf5;
	box-shadow: 0 0 0 1.5px rgba(18, 16, 14, 0.7), 0 0 0 3px rgba(255, 248, 230, 0.22), 0 0 12px 3px rgba(255, 228, 160, 0.4);
	display: grid; place-items: center;
	transition: width 0.5s var(--doux), height 0.5s var(--doux), background 0.4s, box-shadow 0.5s;
}
/* Le faisceau : il part de la tête de la torche et s'ouvre vers le haut. */
.curseur__faisceau {
	position: absolute; left: 50%; top: 50%;
	width: 230px; height: 230px;
	transform: translate(-50%, -50%) rotate(-45deg);
	background: conic-gradient(from 198deg at 66% 66%, transparent 0deg, rgba(255, 236, 190, 0.17) 15deg, rgba(255, 232, 180, 0.06) 36deg, transparent 54deg);
	filter: blur(6px);
	transition: opacity 0.4s;
}
.curseur.est-voir .curseur__faisceau, .curseur.est-sobre .curseur__faisceau { opacity: 0; }
/* La torche elle-même : tenue sous la lumière, légèrement en retrait. */
.curseur__torche {
	position: absolute; left: 50%; top: 50%;
	width: 74px; height: 74px;
	transform: translate(20px, 20px);
	fill: var(--ivoire);
	filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.6)) drop-shadow(0 0 10px rgba(255, 228, 160, 0.35));
	transition: opacity 0.4s, transform 0.5s var(--doux);
}
.curseur.est-voir .curseur__torche { opacity: 0; transform: translate(10px, 10px) scale(0.85); }
.curseur__coeur span { color: #2b2a28; font-size: 8px; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0; transition: opacity 0.3s; }
.curseur.est-voir .curseur__coeur { width: 46px; height: 46px; background: var(--ivoire); box-shadow: 0 0 34px 10px rgba(255, 228, 160, 0.22); }
.curseur.est-voir .curseur__coeur span { opacity: 1; }
.curseur.est-lien .curseur__coeur { width: 24px; height: 24px; background: rgba(255, 244, 216, 0.3); box-shadow: 0 0 26px 8px rgba(255, 228, 160, 0.26); }
/* Dans l'accrochage de l'accueil, la lampe est déjà à l'œuvre : le halo s'efface. */
.curseur.est-sobre { background: none; }
.curseur.est-cache { opacity: 0; }
/* L'attribut « hidden » du HTML ne pesait rien face au « display: grid »
   ci-dessus : sur un ecran tactile, ou le script ne reveille jamais le
   curseur, la torche restait donc affichee a sa position de depart, le coin
   haut-gauche, sans bouger. Deux verrous : on rend « hidden » efficace, et
   on retire le curseur partout ou il n'y a pas de souris. */
.curseur[hidden] { display: none; }
@media (hover: none), (pointer: coarse) {
	/* Sans souris, le curseur reste cache tant que le script tactile ne l'a
	   pas repris en main. Repris, il se fait plus petit : un halo de 340 px
	   couvrirait la moitie d'un telephone. */
	.curseur:not(.est-tactile) { display: none; }
	.curseur.est-tactile { width: 230px; height: 230px; margin: -115px 0 0 -115px; }
	.curseur.est-tactile .curseur__faisceau { width: 170px; height: 170px; }
	.curseur.est-tactile .curseur__torche { width: 56px; height: 56px; transform: translate(14px, 14px); }
}
.a-curseur, .a-curseur a, .a-curseur button, .a-curseur summary { cursor: none; }
.a-curseur input, .a-curseur select, .a-curseur label { cursor: auto; }

/* Apparitions : en CSS seul, visibles par défaut si le navigateur ne suit pas. */
@supports (animation-timeline: view()) {
	@media (prefers-reduced-motion: no-preference) {
		.r { animation: apparait linear both; animation-timeline: view(); animation-range: entry 0% cover 26%; }
	}
}
@keyframes apparait { from { opacity: 0; transform: translateY(40px); } }

::view-transition-old(root) { animation: 0.5s var(--lent) both sort; }
::view-transition-new(root) { animation: 0.7s var(--lent) both entre; }
::view-transition-group(*) { animation-duration: 0.7s; animation-timing-function: cubic-bezier(0.65, 0, 0.35, 1); }
@keyframes sort { to { opacity: 0; transform: translateY(-3%); } }
@keyframes entre { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0 0 0 0); } }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
	.grain { display: none; }
	.lampe__fenetre { width: 100%; height: 100%; border-radius: 0; -webkit-mask-image: none; mask-image: none; transform: none !important; }
	.lampe__fenetre .salon { width: 100% !important; height: 100% !important; transform: none !important; }
	.lampe__halo, .lampe__indice, .salon--sombre { display: none; }
	.manifeste, .portail { height: auto; }
	.manifeste__epingle, .portail__epingle { position: static; height: auto; padding-block: 90px; }
	.manifeste .mot { color: var(--ivoire); }
	.portail__img { position: relative; height: 60vh; transform: none; }
	.portail__texte { opacity: 1; transform: none; }
	::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
}
