/* Vie de Grenier — le grenier la nuit : bois sombre, lumière de bougie, cadres dorés à étoiles (comme le dossier de presse) */
:root {
  --nuit: #0e0a12;
  --grenier: #161019;
  --bois: #22170f;
  --or: #d8b46a;
  --or-clair: #f3dda6;
  --bougie: #ffb45a;
  --violet: #8d55e3;
  --lilas: #c9b3ff;
  --lilas-vif: #a983ff;
  --lilas-voile: rgba(201, 179, 255, 0.16);
  --lilas-ligne: rgba(201, 179, 255, 0.38);
  --ivoire: #f2e8d8;
  --brume: #bcae98;
  --ligne: rgba(216, 180, 106, 0.3);
  --voile: rgba(14, 10, 18, 0.72);
  --f-titre: 'Cinzel', 'Trajan Pro', Georgia, serif;
  --f-texte: 'Cormorant Garamond', Garamond, 'Times New Roman', serif;
  --f-util: 'Jost', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --large: 1180px;
  --etoile: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 0C10.9 6.6 13.4 9.1 20 10 13.4 10.9 10.9 13.4 10 20 9.1 13.4 6.6 10.9 0 10 6.6 9.1 9.1 6.6 10 0Z' fill='%23e6c47c'/%3E%3C/svg%3E");
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--nuit);
  color: var(--ivoire);
  font-family: var(--f-texte);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
figure { margin: 0; }
a { color: var(--or-clair); text-decoration-color: rgba(243, 221, 166, 0.45); text-underline-offset: 3px; }
a:hover { color: var(--lilas); }
:focus-visible { outline: 2px solid var(--or-clair); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3 { text-wrap: balance; margin: 0; }
p { margin: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Gouttière commune */
.bande { padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.bande > .contenu { max-width: var(--large); margin: 0 auto; }
.section { padding-block: clamp(64px, 9vw, 120px); position: relative; }
.section.alt { background: radial-gradient(90% 70% at 100% 0%, rgba(141, 85, 227, 0.16), transparent 60%), #17112a; }
.section.bois { background: radial-gradient(120% 90% at 20% 0%, #2c1d12 0%, var(--bois) 45%, #150e09 100%); }

/* ---------- Typographie ---------- */
.surtitre {
  font-family: var(--f-util);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--lilas);
  display: flex; align-items: center; gap: 12px;
}
.surtitre::before { content: ""; width: 14px; height: 14px; background: var(--etoile) center / contain no-repeat; flex: none; }
.or-metal {
  background: linear-gradient(180deg, #fff3d0 0%, #f0d38f 38%, #c9973f 62%, #f4dc9e 100%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
h1 { font-family: var(--f-titre); font-weight: 700; letter-spacing: 0.04em; line-height: 0.98; }
h2 { font-family: var(--f-titre); font-weight: 600; font-size: clamp(30px, 4.2vw, 50px); line-height: 1.08; letter-spacing: 0.02em; margin-top: 14px; }
h3 { font-family: var(--f-titre); font-weight: 600; font-size: clamp(21px, 2.2vw, 25px); line-height: 1.2; color: var(--or-clair); }
.chapeau { font-size: clamp(22px, 2.3vw, 26px); font-style: italic; font-weight: 500; line-height: 1.45; color: var(--ivoire); }
.texte { max-width: 66ch; display: grid; gap: 18px; color: #e9dfcd; }
.texte strong { color: var(--ivoire); font-weight: 600; }
.texte em { color: var(--or-clair); }
.discret { color: var(--brume); font-size: 17px; }
.filet { width: 140px; height: 14px; margin: 26px 0; background: linear-gradient(90deg, transparent, var(--or) 30%, var(--or) 70%, transparent) center / 100% 1px no-repeat, var(--etoile) center / 14px no-repeat; }
.centre { text-align: center; }
.centre .surtitre { justify-content: center; }
.centre .filet { margin-inline: auto; }
.centre .texte { margin-inline: auto; }

/* ---------- Boutons ---------- */
.boutons { display: flex; flex-wrap: wrap; gap: 14px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 26px;
  font-family: var(--f-util); font-size: 14px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  text-decoration: none; border-radius: 2px; cursor: pointer; border: 1px solid transparent;
  transition: transform .25s ease, box-shadow .25s ease, background-color .25s ease, color .25s ease;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-or { background: linear-gradient(180deg, #f2d898, #d2a654); color: #1a1008; box-shadow: 0 8px 30px -10px rgba(255, 180, 90, 0.55); }
.btn-or:hover { color: #1a1008; transform: translateY(-2px); box-shadow: 0 14px 36px -10px rgba(255, 180, 90, 0.75); }
.btn-ligne { border-color: var(--lilas-ligne); color: var(--lilas); background: rgba(14, 10, 18, 0.35); }
.btn-ligne:hover { background: var(--lilas-voile); border-color: var(--lilas); color: #fff; box-shadow: 0 0 26px -6px rgba(169, 131, 255, 0.6); }

/* ---------- Cadre doré à étoiles ---------- */
.cadre { position: relative; padding: 12px; border: 1px solid var(--ligne); background: rgba(14, 10, 18, 0.55); }
.cadre::before { content: ""; position: absolute; inset: 5px; border: 1px solid rgba(216, 180, 106, 0.55); pointer-events: none; z-index: 1; }
.cadre::after {
  content: ""; position: absolute; inset: -9px; pointer-events: none; z-index: 2;
  background: var(--etoile) left top / 18px no-repeat, var(--etoile) right top / 18px no-repeat,
              var(--etoile) left bottom / 18px no-repeat, var(--etoile) right bottom / 18px no-repeat;
}
.cadre img { width: 100%; }

/* ---------- En-tête ---------- */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--nuit); }
.entete { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: rgba(14, 10, 18, 0.86); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid rgba(216, 180, 106, 0.18); }
.entete .contenu { display: flex; align-items: center; gap: 18px; min-height: 70px; max-width: 1440px; }
.marque { display: grid; text-decoration: none; line-height: 1.05; margin-right: auto; white-space: nowrap; }
.marque b { font-family: var(--f-titre); font-weight: 700; font-size: 21px; letter-spacing: 0.08em; }
.marque span { font-family: var(--f-util); font-size: 10.5px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--brume); margin-top: 4px; }
.nav { display: flex; align-items: center; gap: 2px; }
.nav a { font-family: var(--f-util); font-size: 13px; font-weight: 500; letter-spacing: 0.09em; text-transform: uppercase; text-decoration: none; color: var(--ivoire); padding: 10px 11px; border-radius: 2px; white-space: nowrap; }
.nav a:hover { color: var(--lilas); }
.nav a[aria-current="page"] { color: var(--or-clair); box-shadow: inset 0 -1px 0 var(--lilas); }
.nav .btn { min-height: 42px; padding: 0 18px; margin-left: 8px; font-size: 12.5px; white-space: nowrap; }
.nav .nav-reseaux { display: flex; gap: 2px; margin-left: 6px; padding-left: 8px; border-left: 1px solid rgba(201, 179, 255, 0.2); }
.nav .nav-reseaux a { padding: 9px; display: grid; place-items: center; color: var(--lilas); }
.nav .nav-reseaux a:hover { color: #fff; }
.nav .nav-reseaux svg { width: 18px; height: 18px; }
.menu-btn { display: none; background: none; border: 1px solid var(--lilas-ligne); color: var(--ivoire); min-height: 44px; padding: 0 14px; font-family: var(--f-util); font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; border-radius: 2px; cursor: pointer; }
@media (max-width: 1360px) {
  .nav .nav-reseaux { border-left: 0; margin: 10px 0 0; padding: 0; gap: 10px; }
  .nav .nav-reseaux a { border: 1px solid var(--lilas-ligne); border-bottom: 1px solid var(--lilas-ligne); border-radius: 50%; width: 46px; height: 46px; padding: 0; }
}
@media (max-width: 1360px) {
  .menu-btn { display: inline-flex; align-items: center; gap: 8px; }
  .nav { position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(14, 10, 18, 0.98); border-bottom: 1px solid var(--ligne);
    padding: 8px max(16px, env(safe-area-inset-right, 0px)) 18px max(16px, env(safe-area-inset-left, 0px)); }
  .nav:not(.ouvert) { display: none; }
  .nav a { padding: 14px 4px; border-bottom: 1px solid rgba(216, 180, 106, 0.12); }
  .nav .btn { margin: 14px 0 0; min-height: 50px; }
}

/* ---------- Poussière dans le rayon de lumière ---------- */
.rayon { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.rayon::before {
  content: ""; position: absolute; top: -20%; left: 38%; width: 46%; height: 150%;
  background: linear-gradient(180deg, rgba(255, 210, 140, 0.20), rgba(201, 179, 255, 0.09) 55%, transparent 85%);
  transform: rotate(-24deg); transform-origin: top center; filter: blur(14px);
  animation: respire 9s ease-in-out infinite;
}
.rayon::after {
  content: ""; position: absolute; top: -30%; left: 8%; width: 30%; height: 150%;
  background: linear-gradient(180deg, rgba(201, 179, 255, 0.16), rgba(169, 131, 255, 0.05) 50%, transparent 80%);
  transform: rotate(18deg); transform-origin: top center; filter: blur(18px);
  animation: respire 11s ease-in-out -4s infinite;
}
.poussiere i { position: absolute; width: var(--t, 3px); height: var(--t, 3px); border-radius: 50%; background: #ffe2a6; box-shadow: 0 0 8px rgba(255, 210, 140, 0.9); opacity: 0; left: var(--x); top: var(--y); animation: flotte var(--d, 14s) linear var(--r, 0s) infinite; }
.poussiere i:nth-child(3n) { background: #e2d5ff; box-shadow: 0 0 9px rgba(201, 179, 255, 0.95); }
@keyframes flotte { 0% { transform: translate(0, 0); opacity: 0; } 12% { opacity: 0.85; } 80% { opacity: 0.6; } 100% { transform: translate(var(--dx, 30px), -160px); opacity: 0; } }
@keyframes respire { 0%, 100% { opacity: 0.75; } 50% { opacity: 1; } }

/* ---------- Ouverture (accueil) ---------- */
.ouverture { position: relative; overflow: hidden; background: radial-gradient(60% 60% at 74% 32%, #3d2470 0%, #22143a 38%, transparent 70%), radial-gradient(50% 60% at 8% 90%, rgba(141, 85, 227, 0.22), transparent 70%), var(--nuit); }
.ouverture .contenu { position: relative; display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr); gap: clamp(32px, 5vw, 72px); align-items: center; padding-block: clamp(48px, 7vw, 96px); }
.ouverture h1 { font-size: clamp(54px, 8.6vw, 112px); margin-top: 18px; }
.ouverture h1 small { display: block; font-family: var(--f-util); font-weight: 500; font-size: clamp(14px, 1.4vw, 16px); letter-spacing: 0.24em; color: var(--or); margin-bottom: 18px; text-transform: uppercase; }
.ouverture .chapeau { margin-top: 22px; max-width: 30ch; font-size: clamp(24px, 2.6vw, 30px); }
.ouverture .texte { margin-top: 18px; }
.ouverture .boutons { margin-top: 30px; }
.reperes { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; padding: 0; list-style: none; }
.reperes li { font-family: var(--f-util); font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; padding: 8px 14px; border: 1px solid var(--lilas-ligne); border-radius: 999px; color: var(--ivoire); background: rgba(169, 131, 255, 0.1); transition: transform .3s ease, background-color .3s ease, border-color .3s ease, box-shadow .3s ease; }
.reperes li:hover { transform: translateY(-3px); background: rgba(169, 131, 255, 0.22); border-color: var(--lilas); box-shadow: 0 10px 24px -12px rgba(169, 131, 255, 0.8); }
.reperes .pastille-avis { padding: 0; border-color: rgba(216, 180, 106, 0.6); background: rgba(216, 180, 106, 0.12); }
.reperes .pastille-avis a { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; color: var(--or-clair); text-decoration: none; }
.reperes .pastille-avis .etoiles i { width: 12px; height: 12px; }
.affiche { justify-self: center; width: min(100%, 420px); transform: rotate(1.5deg); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.9), 0 0 120px -20px rgba(169, 131, 255, 0.45); }
.affiche figcaption { font-family: var(--f-util); font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--brume); text-align: center; padding-top: 10px; }
.entree { animation: monte 1s cubic-bezier(.2, .7, .2, 1) both; }
.entree.e2 { animation-delay: .12s; } .entree.e3 { animation-delay: .24s; } .entree.e4 { animation-delay: .36s; } .entree.e5 { animation-delay: .5s; }
@keyframes monte { from { transform: translateY(18px); opacity: 0.001; } to { transform: none; opacity: 1; } }
@media (max-width: 880px) {
  .ouverture .contenu { grid-template-columns: minmax(0, 1fr); }
  .affiche { width: min(78%, 360px); }
}

/* ---------- Invitation ---------- */
.invitation .contenu { max-width: 860px; }
.invitation .grande { font-family: var(--f-texte); font-style: italic; font-weight: 500; font-size: clamp(28px, 3.6vw, 42px); line-height: 1.25; color: var(--or-clair); }
.mots { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; margin-top: 30px; font-family: var(--f-titre); font-size: clamp(15px, 1.7vw, 19px); letter-spacing: 0.2em; text-transform: uppercase; color: var(--lilas); }
.mots span { display: inline-flex; align-items: center; gap: 22px; }
.mots span + span::before { content: "✦"; font-size: 0.7em; color: var(--or); }

/* ---------- Histoire (trois chapitres) ---------- */
.histoire-grille { display: grid; gap: clamp(40px, 6vw, 80px); margin-top: 52px; }
.chapitre { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.chapitre:nth-child(even) .chapitre-img { order: 2; }
.chapitre .num { font-family: var(--f-titre); font-size: 15px; letter-spacing: 0.3em; color: var(--lilas); }
.chapitre h3 { margin-top: 8px; font-size: clamp(25px, 2.8vw, 34px); }
.chapitre .texte { margin-top: 16px; }
.chut { font-style: italic; color: var(--or-clair); font-size: 22px; }
@media (max-width: 760px) { .chapitre { grid-template-columns: minmax(0, 1fr); } .chapitre:nth-child(even) .chapitre-img { order: 0; } }

/* ---------- Teaser ---------- */
.teaser { display: block; position: relative; aspect-ratio: 16 / 9; max-width: 100%; overflow: hidden; color: inherit; text-decoration: none; background: #000; }
.teaser img { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.62) saturate(1.05); transition: transform 1.2s ease, filter .6s ease; }
.teaser:hover img { transform: scale(1.035); filter: brightness(0.75); }
.teaser .lecture { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 16px; text-align: center; padding: 16px; }
.teaser .rond { width: 92px; height: 92px; border-radius: 50%; display: grid; place-items: center; background: rgba(14, 10, 18, 0.55); border: 1px solid var(--or); box-shadow: 0 0 0 10px rgba(216, 180, 106, 0.12), 0 0 60px rgba(255, 180, 90, 0.45); }
.teaser .rond svg { width: 30px; height: 30px; margin-left: 5px; fill: var(--or-clair); }
.teaser .lecture span { font-family: var(--f-util); font-size: 14px; letter-spacing: 0.2em; text-transform: uppercase; }
.teaser iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.cadre .teaser { aspect-ratio: 16 / 9; }

/* ---------- Éric Antoine ---------- */
.citation { position: relative; overflow: hidden; }
.citation .contenu { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.eric { position: relative; justify-self: center; width: min(100%, 400px); }
.eric .cadre { aspect-ratio: 4 / 5; padding: 12px; }
.eric .cadre img { width: 100%; height: 100%; object-fit: cover; object-position: 40% 18%; filter: saturate(0.9) contrast(1.05); }
.eric::before { content: ""; position: absolute; inset: -18%; z-index: -1; background: radial-gradient(circle, rgba(169, 131, 255, 0.35), rgba(255, 180, 90, 0.12) 40%, transparent 68%); animation: respire 6s ease-in-out infinite; }
.citation .guillemet { font-family: var(--f-titre); font-size: 120px; line-height: 0.6; color: var(--or); display: block; height: 52px; margin-top: 20px; }
.citation blockquote { margin: 0; font-family: var(--f-texte); font-style: italic; font-weight: 600; font-size: clamp(32px, 4.4vw, 56px); line-height: 1.15; color: var(--ivoire); }
.citation .qui { margin-top: 30px; }
.citation .qui b { display: block; font-family: var(--f-titre); letter-spacing: 0.16em; font-size: clamp(20px, 2vw, 24px); color: var(--or-clair); }
.citation .qui span { font-family: var(--f-util); font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--lilas); }
@media (max-width: 820px) {
  .citation .contenu { grid-template-columns: minmax(0, 1fr); text-align: center; }
  .citation .surtitre { justify-content: center; }
  .eric { width: min(78%, 320px); }
}

/* ---------- Grilles de cartes ---------- */
.grille { display: grid; gap: 18px; margin-top: 44px; }
.grille.g4 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.grille.g3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.carte { padding: 28px 26px; border: 1px solid rgba(216, 180, 106, 0.22); background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.01)); display: grid; gap: 12px; align-content: start; min-width: 0; }
.carte .icone { width: 46px; height: 46px; display: grid; place-items: center; border: 1px solid var(--lilas-ligne); border-radius: 50%; color: var(--lilas); background: var(--lilas-voile); }
.carte { transition: border-color .4s ease, transform .4s ease, box-shadow .4s ease; }
.carte:hover { border-color: var(--lilas-ligne); transform: translateY(-4px); box-shadow: 0 20px 50px -24px rgba(169, 131, 255, 0.55); }
.carte .icone svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.carte p { color: #e3d8c5; font-size: 19px; }

/* ---------- Pour qui : des bulles qui flottent ---------- */
.publics { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 22px; margin-top: 44px; }
.public {
  position: relative; padding: 30px 28px 28px; display: grid; gap: 10px; align-content: start; min-width: 0;
  border-radius: 34px; border: 1px solid var(--lilas-ligne);
  background: radial-gradient(120% 90% at 15% 0%, rgba(169, 131, 255, 0.24), rgba(169, 131, 255, 0.05) 55%, rgba(14, 10, 18, 0.4)), rgba(14, 10, 18, 0.5);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 20px 50px -30px rgba(0, 0, 0, 0.9);
  animation: flotteBulle 7s ease-in-out infinite; animation-delay: calc(var(--n, 0) * -1.3s);
  transition: transform .45s cubic-bezier(.2, .7, .2, 1), box-shadow .45s ease, border-color .45s ease;
}
.public:nth-child(1) { --n: 0; } .public:nth-child(2) { --n: 1; } .public:nth-child(3) { --n: 2; }
.public:nth-child(4) { --n: 3; } .public:nth-child(5) { --n: 4; } .public:nth-child(6) { --n: 5; }
.public::before { content: ""; position: absolute; top: 14px; right: 22px; width: 46px; height: 46px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.35), rgba(201, 179, 255, 0.12) 45%, transparent 70%); transition: transform .6s ease; }
.public::after { content: ""; position: absolute; top: 26px; right: 34px; width: 20px; height: 20px; background: var(--etoile) center / contain no-repeat; opacity: .7; transition: transform .8s cubic-bezier(.2, .7, .2, 1), opacity .4s ease; }
.public h3 { padding-right: 56px; }
.public p { color: #e3d8c5; font-size: 19px; }
@keyframes flotteBulle { 0%, 100% { translate: 0 0; } 50% { translate: 0 -7px; } }
@media (hover: hover) {
  .public:hover { transform: translateY(-10px) scale(1.025); border-color: var(--lilas); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 30px 70px -26px rgba(169, 131, 255, 0.7); }
  .public:hover::before { transform: scale(1.5); }
  .public:hover::after { transform: rotate(180deg) scale(1.35); opacity: 1; }
}

/* ---------- Galerie : deux bandes de photos qui défilent à l'infini ---------- */
.galerie { margin-top: 44px; display: grid; gap: 16px; width: 100vw; margin-left: calc(50% - 50vw); -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.defile { overflow: hidden; }
.defile-piste { display: flex; gap: 16px; width: max-content; animation: defile var(--duree, 90s) linear infinite; padding-block: 18px; }
.defile.inverse .defile-piste { animation-direction: reverse; }
.galerie:hover .defile-piste, .galerie:focus-within .defile-piste { animation-play-state: paused; }
@keyframes defile { from { transform: translateX(-50%); } to { transform: translateX(0); } }
.galerie figure { margin: 0; flex: none; height: clamp(200px, 26vw, 320px); position: relative; }
.galerie button {
  all: unset; display: block; position: relative; overflow: hidden; cursor: zoom-in; height: 100%; background: #000;
  transition: transform .5s cubic-bezier(.2, .7, .2, 1), box-shadow .5s ease;
  box-shadow: 0 18px 40px -26px rgba(0, 0, 0, 0.9);
}
.galerie button:focus-visible { outline: 2px solid var(--lilas); outline-offset: 3px; }
.galerie img { height: 100%; width: auto; max-width: none; transform: scale(1.001); transition: transform 1.4s cubic-bezier(.2, .7, .2, 1), filter .6s ease; }
@media (hover: hover) { .galerie button:hover { transform: translateY(-8px) scale(1.03); z-index: 2; } }
@media (prefers-reduced-motion: reduce) { .defile { overflow-x: auto; } .defile-piste { animation: none; } }
/* reflet doré qui traverse la photo */
.galerie button::before {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 226, 166, 0.0) 38%, rgba(255, 226, 166, 0.38) 48%, rgba(201, 179, 255, 0.22) 54%, transparent 64%);
  transform: translateX(-120%);
}
/* liseré lilas et loupe */
.galerie button::after {
  content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none;
  border: 1px solid rgba(201, 179, 255, 0); box-shadow: inset 0 0 0 0 rgba(169, 131, 255, 0);
  background: radial-gradient(circle at 50% 50%, rgba(14, 10, 18, 0.55) 0 27px, transparent 28px), var(--etoile) center / 18px no-repeat;
  opacity: 0; transition: opacity .4s ease, border-color .4s ease, box-shadow .4s ease;
}
@media (hover: hover) {
  .galerie button:hover { box-shadow: 0 26px 60px -24px rgba(169, 131, 255, 0.6); }
  .galerie button:hover img { transform: scale(1.08); filter: brightness(1.08) saturate(1.08); }
  .galerie button:hover::before { animation: reflet 1.1s ease forwards; }
  .galerie button:hover::after { opacity: 1; border-color: rgba(201, 179, 255, 0.75); box-shadow: inset 0 0 40px -6px rgba(169, 131, 255, 0.55); }
}
@keyframes reflet { to { transform: translateX(120%); } }

/* Visionneuse */
.visionneuse { border: 0; padding: 0; background: transparent; width: 100vw; height: 100vh; max-width: none; max-height: none; overflow: hidden; }
.visionneuse::backdrop { background: rgba(6, 3, 12, 0.94); backdrop-filter: blur(6px); }
.visionneuse[open] { display: grid; place-items: center; animation: fondu .35s ease both; }
.visionneuse .scene { position: relative; display: grid; place-items: center; width: 100%; height: 100%; padding: 64px max(64px, env(safe-area-inset-right, 0px)) 64px max(64px, env(safe-area-inset-left, 0px)); }
.visionneuse img { max-width: 100%; max-height: calc(100vh - 140px); width: auto; height: auto; box-shadow: 0 30px 90px -20px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(201, 179, 255, 0.35); animation: apparait .5s cubic-bezier(.2, .7, .2, 1) both; }
.visionneuse .compteur { position: absolute; left: 0; right: 0; bottom: max(18px, env(safe-area-inset-bottom, 0px)); text-align: center; font-family: var(--f-util); font-size: 13px; letter-spacing: 0.2em; color: var(--lilas); }
.visionneuse .fermer, .visionneuse .prec, .visionneuse .suiv {
  position: absolute; width: 50px; height: 50px; border-radius: 50%; border: 1px solid var(--lilas-ligne); background: rgba(14, 10, 18, 0.7);
  color: var(--ivoire); display: grid; place-items: center; cursor: pointer; transition: background-color .3s ease, border-color .3s ease;
}
.visionneuse .fermer:hover, .visionneuse .prec:hover, .visionneuse .suiv:hover { background: var(--lilas-voile); border-color: var(--lilas); }
.visionneuse svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.visionneuse .fermer { top: max(14px, env(safe-area-inset-top, 0px)); right: max(14px, env(safe-area-inset-right, 0px)); }
.visionneuse .prec { left: max(10px, env(safe-area-inset-left, 0px)); top: 50%; margin-top: -25px; }
.visionneuse .suiv { right: max(10px, env(safe-area-inset-right, 0px)); top: 50%; margin-top: -25px; }
@keyframes fondu { from { opacity: 0; } to { opacity: 1; } }
@keyframes apparait { from { opacity: 0; transform: scale(.94) translateY(12px); filter: blur(4px); } to { opacity: 1; transform: none; filter: none; } }
@media (max-width: 640px) { .visionneuse .scene { padding: 70px 12px; } .visionneuse .prec, .visionneuse .suiv { top: auto; bottom: max(10px, env(safe-area-inset-bottom, 0px)); margin-top: 0; } }

/* Apparition au défilement (seulement si le script tourne : classe .anim posée tout en haut de la page) */
.anim .apparition:not(.vu) { opacity: 0; transform: translateY(42px) scale(.97); filter: blur(5px); }
.anim .apparition { transition: opacity 1s cubic-bezier(.2, .7, .2, 1) var(--delai, 0s), transform 1.1s cubic-bezier(.2, .7, .2, 1) var(--delai, 0s), filter 1s ease var(--delai, 0s); }
.anim .apparition.vu { transition-delay: var(--delai, 0s); }
.anim .galerie .apparition:not(.vu) img, .anim .cadre.apparition:not(.vu) img { transform: scale(1.18); }
.anim .galerie .apparition.vu img, .anim .cadre.apparition.vu img { transition: transform 1.8s cubic-bezier(.2, .7, .2, 1) var(--delai, 0s), filter .6s ease; }
.anim .galerie .apparition.vu button::before { animation: reflet 1.4s ease calc(var(--delai, 0s) + .35s) both; }

/* ---------- Technique ---------- */
.technique { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.tuiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.tuile { position: relative; overflow: hidden; padding: 22px 20px; border: 1px solid rgba(216, 180, 106, 0.24); border-radius: 14px; background: rgba(14, 10, 18, 0.5); min-width: 0; transition: transform .4s cubic-bezier(.2, .7, .2, 1), border-color .4s ease, box-shadow .4s ease, background-color .4s ease; }
.tuile::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(115deg, transparent 35%, rgba(255, 226, 166, 0.22) 48%, rgba(201, 179, 255, 0.18) 54%, transparent 66%); transform: translateX(-120%); }
.tuile b { position: relative; transition: transform .4s cubic-bezier(.2, .7, .2, 1), color .4s ease, text-shadow .4s ease; transform-origin: left center; }
.tuile b.compte { color: transparent; text-shadow: none; }
.tuile b.compte::after { content: attr(data-n); position: absolute; left: 0; top: 0; color: var(--or-clair); white-space: nowrap; }
@media (hover: hover) {
  .tuile:hover { transform: translateY(-6px); border-color: var(--lilas); background: rgba(169, 131, 255, 0.12); box-shadow: 0 22px 46px -22px rgba(169, 131, 255, 0.75); }
  .tuile:hover::after { animation: reflet 1s ease forwards; }
  .tuile:hover b { transform: scale(1.08); color: #fff; text-shadow: 0 0 24px rgba(255, 210, 140, 0.7); }
}
.anim .tuile.vu::after { animation: reflet 1.3s ease calc(var(--delai, 0s) + .5s) both; }
.tuile b { display: block; font-family: var(--f-titre); font-weight: 700; font-size: clamp(30px, 3.4vw, 40px); line-height: 1; color: var(--or-clair); font-variant-numeric: tabular-nums; }
.tuile span { display: block; margin-top: 8px; font-family: var(--f-util); font-size: 12.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--brume); }
.aprevoir { margin-top: 14px; padding: 20px; border-left: 2px solid var(--or); background: rgba(216, 180, 106, 0.06); font-size: 18px; color: #e3d8c5; }
.aprevoir b { display: block; font-family: var(--f-util); font-size: 12.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--or); margin-bottom: 6px; font-weight: 600; }
@media (max-width: 820px) { .technique { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Dates ---------- */
.dates { display: grid; gap: 14px; margin-top: 40px; padding: 0; list-style: none; }
.date { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; gap: 22px; align-items: center; padding: 20px 22px; border: 1px solid rgba(216, 180, 106, 0.22); background: rgba(14, 10, 18, 0.5); }
.date .jour { text-align: center; border-right: 1px solid var(--ligne); padding-right: 18px; font-family: var(--f-util); text-transform: uppercase; letter-spacing: 0.1em; font-size: 12.5px; color: var(--brume); line-height: 1.3; }
.date .jour b { display: block; font-family: var(--f-titre); font-size: 38px; letter-spacing: 0; line-height: 1.05; color: var(--or-clair); }
.date h3 { font-size: 22px; }
.date .lieu { color: #e3d8c5; font-size: 18px; margin-top: 4px; }
.date .etiquette { font-family: var(--f-util); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--ligne); color: var(--brume); white-space: nowrap; }
.date .etiquette.public { border-color: var(--lilas); color: var(--lilas); background: var(--lilas-voile); }
.date .btn { margin-top: 14px; min-height: 44px; padding: 0 20px; font-size: 12.5px; }
.date .btn svg { width: 16px; height: 16px; }
.vide { margin-top: 30px; padding: 26px; border: 1px dashed var(--ligne); color: var(--brume); }
@media (max-width: 640px) {
  .date { grid-template-columns: 72px minmax(0, 1fr); gap: 16px; padding: 18px 16px; }
  .date .jour { padding-right: 12px; }
  .date .jour b { font-size: 30px; }
  .date .etiquette { grid-column: 2; justify-self: start; }
}

/* ---------- Avis ---------- */
.note { display: inline-flex; align-items: center; gap: 14px; flex-wrap: wrap; justify-content: center; }
.note b { font-family: var(--f-titre); font-size: 44px; line-height: 1; color: var(--or-clair); }
.etoiles { display: inline-flex; gap: 3px; }
.etoiles i { width: 20px; height: 20px; background: var(--etoile) center / contain no-repeat; }
.avis-liste { columns: 3 300px; column-gap: 18px; margin-top: 40px; }
.avis { break-inside: avoid; margin: 0 0 18px; padding: 24px 24px 20px; border: 1px solid rgba(216, 180, 106, 0.22); background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01)); display: grid; gap: 12px; }
.avis blockquote { margin: 0; font-size: 19px; line-height: 1.55; color: #ece2d0; }
.avis figcaption { font-family: var(--f-util); font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--brume); display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.avis figcaption b { color: var(--or-clair); font-weight: 600; }
.avis.vedette blockquote { font-size: 22px; font-style: italic; }
.mention { margin-top: 26px; font-size: 16px; color: var(--brume); max-width: 70ch; }

/* ---------- FAQ ---------- */
.faq { margin-top: 36px; border-top: 1px solid var(--ligne); }
.faq details { border-bottom: 1px solid var(--ligne); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 22px 2px; font-family: var(--f-titre); font-weight: 600; font-size: clamp(18px, 2vw, 22px); color: var(--ivoire); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; width: 14px; height: 14px; flex: none; background: var(--etoile) center / contain no-repeat; transition: transform .3s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 2px 24px; max-width: 70ch; color: #e3d8c5; display: grid; gap: 12px; }

/* ---------- Bougie ---------- */
.bougie { position: relative; width: 60px; height: 150px; margin-bottom: 26px; }
.bougie .halo { position: absolute; left: 50%; top: 10px; width: 220px; height: 220px; transform: translate(-50%, -40%); background: radial-gradient(circle, rgba(255, 190, 100, 0.35), transparent 65%); animation: respire 3.2s ease-in-out infinite; }
.bougie .flamme { position: absolute; left: 50%; top: 14px; width: 18px; height: 44px; margin-left: -9px; border-radius: 50% 50% 45% 45% / 65% 65% 35% 35%; background: radial-gradient(ellipse at 50% 75%, #fff8e0 0%, #ffd27a 35%, #ff9a3c 70%, rgba(255, 120, 40, 0) 100%); transform-origin: 50% 90%; animation: vacille 2.4s ease-in-out infinite; filter: blur(0.4px); }
.bougie .meche { position: absolute; left: 50%; top: 54px; width: 2px; height: 10px; margin-left: -1px; background: #2a1a10; }
.bougie .cire { position: absolute; left: 50%; bottom: 0; width: 34px; height: 86px; margin-left: -17px; border-radius: 3px 3px 2px 2px; background: linear-gradient(90deg, #d9c9ad, #f6ecd9 45%, #cbb894); }
@keyframes vacille { 0%, 100% { transform: rotate(-2deg) scaleY(1); } 30% { transform: rotate(2.5deg) scaleY(1.06); } 60% { transform: rotate(-1deg) scaleY(0.95); } }
.etincelle { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.etincelle ul { list-style: none; padding: 0; margin: 22px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 24px; }
.etincelle li { display: flex; gap: 10px; align-items: center; font-family: var(--f-util); font-size: 14px; letter-spacing: 0.1em; text-transform: uppercase; }
.etincelle li::before { content: ""; width: 12px; height: 12px; flex: none; background: var(--etoile) center / contain no-repeat; }
@media (max-width: 820px) { .etincelle { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Pages intérieures ---------- */
.tete-page { position: relative; overflow: hidden; background: radial-gradient(60% 80% at 78% 10%, #3d2470 0%, #22143a 40%, transparent 75%), var(--nuit); }
.tete-page .contenu { position: relative; padding-block: clamp(56px, 8vw, 104px) clamp(44px, 6vw, 72px); }
.tete-page h1 { font-size: clamp(42px, 6.4vw, 80px); margin-top: 16px; }
.tete-page .chapeau { margin-top: 20px; max-width: 40ch; }
.duo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.duo.inverse > :first-child { order: 2; }
@media (max-width: 820px) { .duo { grid-template-columns: minmax(0, 1fr); } .duo.inverse > :first-child { order: 0; } }
.legende { font-family: var(--f-util); font-size: 12.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--brume); padding-top: 12px; }
.equipe { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0 32px; margin-top: 34px; }
.equipe div { padding: 18px 0; border-top: 1px solid var(--ligne); min-width: 0; }
.equipe dt { font-family: var(--f-util); font-size: 12.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--or); }
.equipe dd { margin: 4px 0 0; font-family: var(--f-titre); font-size: 20px; color: var(--ivoire); }
.equipe dd small { display: block; font-family: var(--f-texte); font-size: 17px; color: var(--brume); letter-spacing: 0; }
.temoin { margin: 0; padding: 26px 28px; border-left: 2px solid var(--or); background: rgba(216, 180, 106, 0.06); font-style: italic; font-size: clamp(21px, 2.2vw, 25px); line-height: 1.5; color: var(--ivoire); }
.temoin cite { display: block; margin-top: 12px; font-style: normal; font-family: var(--f-util); font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--or); }
.plateaux { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 22px 0 0; list-style: none; }
.plateaux li { padding: 10px 16px; border: 1px solid var(--lilas-ligne); background: var(--lilas-voile); font-family: var(--f-titre); font-size: 15px; letter-spacing: 0.06em; color: var(--or-clair); }

/* ---------- Formulaire ---------- */
.formulaire { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; margin-top: 30px; }
.champ { display: grid; gap: 8px; min-width: 0; }
.champ.plein { grid-column: 1 / -1; }
.champ label { font-family: var(--f-util); font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--or-clair); }
.champ label i { font-style: normal; color: var(--brume); text-transform: none; letter-spacing: 0.02em; }
.champ input, .champ select, .champ textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 2px; border: 1px solid rgba(216, 180, 106, 0.35);
  background: rgba(14, 10, 18, 0.7); color: var(--ivoire); font-family: var(--f-util); font-size: 16px;
}
.champ textarea { min-height: 150px; resize: vertical; line-height: 1.5; }
.champ input:focus, .champ select:focus, .champ textarea:focus { outline: none; border-color: var(--or-clair); box-shadow: 0 0 0 3px rgba(216, 180, 106, 0.2); }
.accord { display: flex !important; grid-template-columns: none; align-items: flex-start; gap: 12px; cursor: pointer; font-size: 17px; color: #e3d8c5; line-height: 1.45; }
.accord input { width: 22px; height: 22px; min-height: 0; padding: 0; margin-top: 2px; flex: none; accent-color: var(--lilas-vif); }
.formulaire .envoi { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }
.retour { font-size: 18px; color: var(--or-clair); }
@media (max-width: 640px) { .formulaire { grid-template-columns: minmax(0, 1fr); } }
.contacts { display: grid; gap: 14px; }
.contact { padding: 22px 24px; border: 1px solid rgba(216, 180, 106, 0.24); background: rgba(14, 10, 18, 0.5); display: grid; gap: 4px; }
.contact dt { font-family: var(--f-util); font-size: 12.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--or); }
.contact dd { margin: 0; font-size: 19px; }
.contact dd b { font-family: var(--f-titre); font-size: 20px; font-weight: 600; }
.contact a { font-family: var(--f-util); font-size: 16px; letter-spacing: 0.02em; }

/* ---------- Appel final ---------- */
.appel { position: relative; overflow: hidden; background: radial-gradient(90% 120% at 50% 0%, #3a2316 0%, #1e130c 50%, var(--nuit) 100%); text-align: center; }
.appel .contenu { position: relative; max-width: 820px; }
.appel h2 { font-size: clamp(34px, 5vw, 60px); }
.appel .boutons { justify-content: center; margin-top: 32px; }

.section.violette { background: radial-gradient(70% 80% at 85% 50%, #352063 0%, #1b1130 50%, var(--nuit) 85%); }

/* ---------- Réseaux sociaux ---------- */
.reseaux { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.reseau { display: flex; align-items: center; gap: 16px; padding: 20px 22px; text-decoration: none; color: var(--ivoire); border: 1px solid var(--lilas-ligne); background: linear-gradient(135deg, rgba(169, 131, 255, 0.14), rgba(14, 10, 18, 0.4)); transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease; min-width: 0; }
.reseau:hover { color: #fff; transform: translateY(-4px); border-color: var(--lilas); box-shadow: 0 20px 44px -22px rgba(169, 131, 255, 0.75); }
.reseau .rond { width: 54px; height: 54px; flex: none; border-radius: 50%; display: grid; place-items: center; background: rgba(14, 10, 18, 0.6); border: 1px solid var(--lilas-ligne); color: var(--lilas); }
.reseau svg { width: 26px; height: 26px; }
.reseau b { display: block; font-family: var(--f-titre); font-size: 19px; letter-spacing: 0.04em; }
.reseau span span { font-family: var(--f-util); font-size: 14px; color: var(--lilas); overflow-wrap: anywhere; }
.reseaux-pied { display: flex; gap: 10px; margin-top: 16px; }
.reseaux-pied a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--lilas-ligne); color: var(--lilas); }
.reseaux-pied a:hover { background: var(--lilas-voile); color: #fff; text-decoration: none; }
.reseaux-pied svg { width: 20px; height: 20px; }

/* ---------- Parcours (frise) ---------- */
.parcours { display: grid; grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr); gap: clamp(32px, 5vw, 72px); align-items: start; margin-top: 48px; }
.parcours > figure { position: sticky; top: 110px; }
@media (max-width: 860px) { .parcours { grid-template-columns: minmax(0, 1fr); } .parcours > figure { position: static; max-width: 380px; justify-self: center; } }
.frise { list-style: none; padding: 0; margin: 0; position: relative; display: grid; gap: 0; }
.frise::before { content: ""; position: absolute; left: 146px; top: 8px; bottom: 8px; width: 1px; background: linear-gradient(180deg, var(--or), var(--lilas) 60%, transparent); }
.frise li { display: grid; grid-template-columns: 128px minmax(0, 1fr); gap: 44px; padding: 0 0 38px; position: relative; }
.frise li::before { content: ""; position: absolute; left: 139px; top: 6px; width: 15px; height: 15px; background: var(--etoile) center / contain no-repeat; filter: drop-shadow(0 0 8px rgba(255, 210, 140, 0.8)); }
.frise .quand { font-family: var(--f-titre); font-weight: 700; font-size: 24px; line-height: 1.1; color: var(--or-clair); text-align: right; min-width: 0; overflow-wrap: anywhere; }
.frise .quand.long { font-size: 18px; }
.frise .quand small { display: block; font-family: var(--f-util); font-weight: 500; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--lilas); margin-top: 4px; }
.frise h3 { font-size: clamp(20px, 2.2vw, 24px); }
.frise p { margin-top: 8px; color: #e3d8c5; max-width: 60ch; }
@media (max-width: 600px) {
  .frise::before { left: 7px; }
  .frise li { grid-template-columns: minmax(0, 1fr); gap: 6px; padding-left: 34px; }
  .frise li::before { left: 0; }
  .frise .quand { text-align: left; }
}
.chiffres { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 28px; }
.chiffres div { padding: 18px; border: 1px solid var(--lilas-ligne); background: var(--lilas-voile); min-width: 0; }
.chiffres b { display: block; font-family: var(--f-titre); font-size: clamp(26px, 3vw, 36px); color: var(--or-clair); line-height: 1; font-variant-numeric: tabular-nums; }
.chiffres span { display: block; margin-top: 8px; font-family: var(--f-util); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--brume); }
@media (max-width: 520px) { .chiffres { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Page technique ---------- */
.fiches { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px; margin-top: 40px; }
.fiche { padding: 26px 26px 22px; border: 1px solid rgba(216, 180, 106, 0.24); border-radius: 18px; background: rgba(14, 10, 18, 0.55); min-width: 0; transition: transform .45s cubic-bezier(.2, .7, .2, 1), border-color .45s ease, box-shadow .45s ease; }
.fiche h3 svg { transition: transform .6s cubic-bezier(.2, .7, .2, 1), filter .4s ease; }
@media (hover: hover) {
  .fiche:hover { transform: translateY(-6px); border-color: var(--lilas-ligne); box-shadow: 0 26px 56px -28px rgba(169, 131, 255, 0.7); }
  .fiche:hover h3 svg { transform: rotate(-10deg) scale(1.2); filter: drop-shadow(0 0 8px rgba(201, 179, 255, 0.9)); }
}
/* Plan de scène : les éléments s'installent un à un */
.anim .plan.apparition .piece { opacity: 0; transform: translateY(10px); transform-box: fill-box; transition: opacity .6s ease, transform .6s cubic-bezier(.2, .7, .2, 1); }
.anim .plan.apparition.vu .piece { opacity: 1; transform: none; }
.anim .plan.vu .piece:nth-of-type(2) { transition-delay: .15s; } .anim .plan.vu .piece:nth-of-type(3) { transition-delay: .3s; }
.anim .plan.vu .piece:nth-of-type(4) { transition-delay: .45s; } .anim .plan.vu .piece:nth-of-type(5) { transition-delay: .6s; }
.anim .plan.vu .piece:nth-of-type(6) { transition-delay: .75s; } .anim .plan.vu .piece:nth-of-type(7) { transition-delay: .9s; }
.plan svg .piece { transition: filter .3s ease; }
.plan svg .piece:hover { filter: drop-shadow(0 0 8px rgba(201, 179, 255, 0.9)); }
.fiche h3 { display: flex; align-items: center; gap: 12px; }
.fiche h3 svg { width: 26px; height: 26px; flex: none; fill: none; stroke: var(--lilas); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.fiche ul { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 10px; }
.fiche li { position: relative; padding-left: 22px; color: #e6dbc8; font-size: 18.5px; line-height: 1.45; }
.fiche li::before { content: ""; position: absolute; left: 0; top: 0.5em; width: 10px; height: 10px; background: var(--etoile) center / contain no-repeat; }
.fiche li b { color: var(--ivoire); font-weight: 600; }
.fiche .obligatoire { display: inline-block; margin-left: 6px; font-family: var(--f-util); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--lilas); border: 1px solid var(--lilas-ligne); padding: 2px 8px; border-radius: 999px; vertical-align: 2px; }
.tuiles.larges { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); margin-top: 40px; }
.plan { margin-top: 40px; padding: clamp(16px, 3vw, 28px); border: 1px solid var(--lilas-ligne); background: rgba(14, 10, 18, 0.55); overflow-x: auto; }
.plan svg { display: block; width: 100%; min-width: 560px; height: auto; }
.plan svg text { font-family: var(--f-util); }
/* Plan de la fiche technique (mêmes classes que src/print/fiche-technique.html, couleurs de nuit) */
.plan-fiche { --pf-texte: #f2e8d8; --pf-doux: #bba98f; --pf-or: #d8b46a; --pf-or-clair: #f3dda6; --pf-fond: #0e0a12; --pf-meuble: #2b2236; --pf-carte: rgba(255, 255, 255, 0.035); --pf-prise: #f0a35a; }
.plan-fiche svg { min-width: 680px; }
.anim .plan.vu .piece:nth-of-type(8) { transition-delay: 1.05s; }
.plan-fiche .p-plateau { fill: var(--pf-carte); stroke: var(--pf-or); stroke-width: 2.4; }
.plan-fiche .p-cote { stroke: var(--pf-doux); stroke-width: 1.8; fill: none; }
.p-fleche { fill: var(--pf-doux); }
.plan-fiche .p-rang { stroke: var(--pf-doux); stroke-width: 1.5; stroke-dasharray: 6 8; opacity: .6; }
.plan-fiche .p-siege { fill: var(--pf-carte); stroke: var(--pf-doux); stroke-width: 1.4; opacity: .7; }
.plan-fiche .p-boite { fill: rgba(141, 85, 227, .22); stroke: var(--pf-doux); stroke-width: 1.5; }
.plan-fiche .m-decor { fill: rgba(216, 180, 106, .28); stroke: var(--pf-or); stroke-width: 1.5; }
.plan-fiche .m-meuble { fill: var(--pf-meuble); stroke: var(--pf-doux); stroke-width: 1.8; }
.plan-fiche .m-escalier { fill: var(--pf-meuble); stroke: var(--pf-or); stroke-width: 1.8; }
.plan-fiche .m-tapis { fill: rgba(216, 180, 106, .05); stroke: var(--pf-or); stroke-width: 2.2; stroke-dasharray: 10 8; }
.plan-fiche .m-pied { fill: none; stroke: var(--pf-doux); stroke-width: 1.8; }
.plan-fiche .m-truss { fill: var(--pf-doux); opacity: .75; }
.m-lum, .m-led { fill: var(--pf-or-clair); }
.m-par { fill: var(--pf-meuble); stroke: var(--pf-or-clair); stroke-width: 2.2; }
.m-lyre-arc { fill: none; stroke: var(--pf-doux); stroke-width: 2.5; }
.plan-fiche .m-barre { fill: var(--pf-doux); }
.plan-fiche .m-pied-rond { fill: var(--pf-fond); stroke: var(--pf-doux); stroke-width: 2.2; }
.m-lyre { fill: var(--pf-meuble); stroke: var(--pf-or); stroke-width: 1.8; }
.m-son { fill: var(--pf-meuble); stroke: var(--pf-texte); stroke-width: 1.8; }
.m-son-c { fill: none; stroke: var(--pf-texte); stroke-width: 1.8; }
.plan-fiche .m-face { fill: rgba(243, 221, 166, .3); stroke: var(--pf-or-clair); stroke-width: 1.8; }
.m-prise { fill: var(--pf-prise); }
.m-prise-trait { stroke: var(--pf-fond); stroke-width: 2.2; stroke-linecap: round; }
.plan-fiche .m-fond { fill: none; stroke: var(--pf-texte); stroke-width: 3; opacity: .8; }
.plan-fiche .m-rideau { fill: none; stroke: var(--pf-doux); stroke-width: 3; }
.plan-fiche .m-paravent { fill: none; stroke: var(--pf-texte); stroke-width: 6; stroke-linejoin: round; stroke-linecap: round; }
.plan-fiche .m-cote { fill: var(--pf-doux); font-size: 19px; letter-spacing: 3px; }
.plan-fiche .m-txt { fill: var(--pf-texte); font-size: 15px; letter-spacing: 1px; }
.plan-fiche .m-txt-or { fill: var(--pf-or-clair); font-size: 15px; letter-spacing: 2px; }
.plan-fiche .m-txt-petit { fill: var(--pf-doux); font-size: 16px; letter-spacing: 1.5px; }
.plan-fiche .m-txt-in { fill: var(--pf-texte); font-size: 13px; font-weight: 600; letter-spacing: 1px; }
.plan-fiche .m-public { fill: var(--pf-texte); font-size: 26px; letter-spacing: 12px; }
.plan-legende { margin: 14px 0 0; color: #cbbfae; font-size: 17px; font-style: italic; }
.plan-legende i { display: inline-block; width: 12px; height: 12px; border-radius: 50%; background: #f0a35a; vertical-align: -1px; margin-right: 8px; }
.plan-notes { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px 28px; margin-top: 22px; color: #e3d8c5; font-size: 18px; }
.appel .texte { margin-inline: auto; }
.teaser-cadre { max-width: 980px; margin: 0 auto; }
.marge { margin-top: 22px; }
.marge-l { margin-top: 30px; }
.etroit { max-width: 900px; }

/* ---------- Bouton « Appeler » toujours visible sur téléphone ---------- */
.barre-appel { display: none; }
@media (max-width: 760px) {
  .barre-appel {
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
    padding: 10px max(12px, env(safe-area-inset-right, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)) max(12px, env(safe-area-inset-left, 0px));
    background: rgba(14, 10, 18, 0.94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-top: 1px solid var(--lilas-ligne);
  }
  .barre-appel .btn { min-height: 48px; padding: 0 12px; font-size: 13px; }
  body { padding-bottom: calc(70px + env(safe-area-inset-bottom, 0px)); }
}

/* ---------- Espace pro ---------- */
.docs { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; margin-top: 40px; }
.doc { display: grid; grid-template-rows: auto auto 1fr auto; gap: 10px; padding: 24px; border: 1px solid rgba(216, 180, 106, 0.26); border-radius: 18px; background: rgba(14, 10, 18, 0.55); min-width: 0; transition: transform .4s cubic-bezier(.2, .7, .2, 1), border-color .4s ease, box-shadow .4s ease; }
.doc:hover { transform: translateY(-5px); border-color: var(--lilas-ligne); box-shadow: 0 24px 50px -26px rgba(169, 131, 255, 0.7); }
.doc .type { font-family: var(--f-util); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--lilas); }
.doc p { color: #e3d8c5; font-size: 18px; }
.doc .btn { justify-self: start; min-height: 44px; padding: 0 18px; font-size: 12.5px; }
.doc .apercu-doc { aspect-ratio: 4 / 3; overflow: hidden; border-radius: 10px; background: #000; }
.doc .apercu-doc img { width: 100%; height: 100%; object-fit: cover; }
.photos-pro { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; margin-top: 34px; }
.photo-pro { margin: 0; border: 1px solid rgba(216, 180, 106, 0.22); border-radius: 14px; overflow: hidden; background: rgba(14, 10, 18, 0.55); display: grid; min-width: 0; }
.photo-pro img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .8s ease; }
.photo-pro:hover img { transform: scale(1.05); }
.photo-pro a { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 12px 14px; font-family: var(--f-util); font-size: 13px; letter-spacing: 0.06em; text-decoration: none; color: var(--lilas); }
.photo-pro a:hover { background: var(--lilas-voile); color: #fff; }
.photo-pro svg { width: 18px; height: 18px; flex: none; }
.texte-pret { margin-top: 18px; padding: 22px 24px; border: 1px solid var(--lilas-ligne); border-radius: 18px; background: rgba(169, 131, 255, 0.08); display: grid; gap: 12px; }
.texte-pret header { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.texte-pret header b { font-family: var(--f-util); font-size: 12.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--lilas); }
.texte-pret p { color: #ece2d0; }
.copier { min-height: 40px; padding: 0 16px; font-size: 12px; }
.a-completer { background: rgba(255, 180, 90, 0.18); color: var(--bougie); padding: 1px 6px; border-radius: 4px; font-family: var(--f-util); font-size: 0.82em; letter-spacing: 0.02em; }

/* ---------- Pages légales ---------- */
.legal { max-width: 820px; }
.legal h2 { font-size: clamp(24px, 3vw, 32px); margin-top: 52px; }
.legal h3 { margin-top: 26px; font-size: 20px; }
.legal p, .legal li { color: #e3d8c5; }
.legal .texte { margin-top: 14px; }
.legal ul { margin: 6px 0 0; padding-left: 22px; display: grid; gap: 6px; }

/* ---------- Pied de page ---------- */
.pied { border-top: 1px solid rgba(216, 180, 106, 0.2); background: #0a070d; padding-block: 56px 36px; font-size: 17px; }
.pied .contenu { display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
.pied h2 { font-size: 13px; font-family: var(--f-util); letter-spacing: 0.2em; text-transform: uppercase; color: var(--lilas); margin: 0 0 12px; font-weight: 600; }
.pied ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.pied a { color: var(--ivoire); text-decoration: none; }
.pied a:hover { color: var(--or-clair); text-decoration: underline; }
.pied .marque b { font-size: 24px; }
.pied p { color: var(--brume); margin-top: 12px; max-width: 36ch; }
.pied .bas { grid-column: 1 / -1; padding-top: 26px; margin-top: 8px; border-top: 1px solid rgba(216, 180, 106, 0.12); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; color: var(--brume); font-family: var(--f-util); font-size: 13px; letter-spacing: 0.04em; }
@media (max-width: 860px) { .pied .contenu { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
@media (max-width: 520px) { .pied .contenu { grid-template-columns: minmax(0, 1fr); } }

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