/* Épiane · Boulangerie & cie — feuille de style unique.
   Direction : un fournil la nuit. Bleu-noir profond, or chaud, bleu marine de l'enseigne,
   touches colorées des pâtisseries. Verre, grain, lumière de four. */

/* ------------------------------------------------------------------ polices de repli (anti-décalage) */
@font-face { font-family: 'Fraunces Fallback'; src: local('Georgia'); size-adjust: 104%; ascent-override: 92%; descent-override: 24%; line-gap-override: 0%; }
@font-face { font-family: 'Manrope Fallback'; src: local('Arial'); size-adjust: 103%; ascent-override: 102%; descent-override: 28%; line-gap-override: 0%; }

/* ------------------------------------------------------------------ jetons */
:root {
  color-scheme: dark;
  --night: #07090f;
  --night-2: #0b111d;
  --navy: #13213a;
  --navy-2: #1b2e4f;
  --ink: #f6ecda;
  --ink-soft: #cfc3ad;
  --ink-mute: #a2967f;
  --gold: #e3b45c;
  --gold-2: #f5d892;
  --gold-deep: #a8741f;
  --crust: #c77a36;
  --ember: #ff9a4a;
  --framboise: #e8687c;
  --pistache: #b3cf78;
  --mangue: #f4bd4c;
  --paper: #f3e8d5;
  --paper-2: #eadcc3;
  --paper-ink: #1a2133;
  --paper-soft: #4a4a52;
  --line: rgba(245, 216, 146, 0.16);
  --line-strong: rgba(245, 216, 146, 0.34);
  --glass: rgba(16, 24, 40, 0.52);
  --glass-2: rgba(26, 38, 62, 0.42);
  --shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.85);
  --radius: 22px;
  --radius-s: 14px;
  --font-display: 'Fraunces', 'Fraunces Fallback', Georgia, 'Times New Roman', serif;
  --font-body: 'Manrope', 'Manrope Fallback', 'Segoe UI', Arial, sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.45, 0, 0.2, 1);
  --header-h: 76px;
  --gutter: clamp(18px, 4vw, 56px);
  --maxw: 1240px;
}

/* ------------------------------------------------------------------ base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 12px); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0; min-height: 100vh; background: var(--night); color: var(--ink);
  font-family: var(--font-body); font-size: 17px; line-height: 1.65; font-weight: 400;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-color: rgba(227, 180, 92, 0.5); text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--gold); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 400; line-height: 1.08; margin: 0 0 0.5em; letter-spacing: -0.015em; text-wrap: balance; font-optical-sizing: auto; }
h1 em, h2 em, h3 em { font-style: italic; color: var(--gold-2); }
ul, ol { padding: 0; margin: 0; list-style: none; }
[hidden] { display: none !important; }
::selection { background: var(--gold); color: var(--night); }
:focus-visible { outline: 2px solid var(--gold-2); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link {
  position: fixed; left: 16px; top: -80px; z-index: 1000; padding: 12px 20px; border-radius: 999px;
  background: var(--gold); color: var(--night); font-weight: 600; text-decoration: none; transition: top 0.3s var(--ease);
}
.skip-link:focus { top: 12px; }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter); }
.container.narrow { max-width: 860px; }
main { position: relative; z-index: 2; }

/* ------------------------------------------------------------------ typographie */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold);
}
.eyebrow svg { width: 18px; height: 18px; }
.display { font-size: clamp(42px, 7vw, 104px); line-height: 0.98; font-weight: 350; }
.h2 { font-size: clamp(34px, 4.6vw, 64px); font-weight: 350; }
.h3 { font-size: clamp(24px, 2.4vw, 32px); }
.lead { font-size: clamp(18px, 1.5vw, 21px); color: var(--ink-soft); max-width: 60ch; }
.muted { color: var(--ink-mute); }
.small { font-size: 14px; }
.center { text-align: center; }
.center .lead { margin-inline: auto; }

/* ------------------------------------------------------------------ boutons */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 24px; border-radius: 999px; border: 1px solid transparent;
  font-size: 15px; font-weight: 600; letter-spacing: 0.01em; text-decoration: none; white-space: nowrap;
  transition: transform 0.35s var(--ease), background 0.3s, color 0.3s, border-color 0.3s, box-shadow 0.4s;
}
.btn svg { width: 19px; height: 19px; flex: none; }
.btn-gold {
  background: linear-gradient(135deg, var(--gold-2), var(--gold) 45%, var(--crust)); color: #1a1206;
  box-shadow: 0 10px 30px -10px rgba(227, 180, 92, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.45);
}
.btn-gold::after {
  content: ''; position: absolute; inset: -6px; border-radius: inherit; pointer-events: none;
  background: radial-gradient(closest-side, rgba(255, 196, 102, 0.45), transparent); opacity: 0; filter: blur(8px);
  transition: opacity 0.4s; z-index: -1;
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -12px rgba(255, 170, 70, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.5); }
.btn-gold:hover::after { opacity: 1; }
.btn-glow { animation: glow 3.6s ease-in-out infinite; }
@keyframes glow { 0%, 100% { box-shadow: 0 10px 30px -10px rgba(227, 180, 92, 0.55), 0 0 0 0 rgba(245, 216, 146, 0); } 50% { box-shadow: 0 14px 40px -10px rgba(255, 170, 70, 0.75), 0 0 0 10px rgba(245, 216, 146, 0.06); } }
.btn-ghost { border-color: var(--line-strong); color: var(--ink); background: rgba(10, 14, 24, 0.35); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-2); transform: translateY(-2px); }
.btn-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--gold-2); text-decoration: none; }
.btn-link svg { width: 18px; height: 18px; transition: transform 0.35s var(--ease); }
.btn-link:hover svg { transform: translateX(4px); }
.icon-btn {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--line); background: rgba(12, 18, 30, 0.4); color: var(--ink); text-decoration: none;
  transition: border-color 0.3s, color 0.3s, background 0.3s;
}
.icon-btn svg { width: 20px; height: 20px; }
.icon-btn:hover { border-color: var(--gold); color: var(--gold-2); }
.icon-btn[aria-pressed="true"] { background: var(--gold); color: var(--night); border-color: var(--gold); }

/* ------------------------------------------------------------------ en-tête et onglets */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h);
  padding-top: env(safe-area-inset-top, 0px);
  transition: background 0.5s, backdrop-filter 0.5s, border-color 0.5s, transform 0.5s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled, html.no-film .site-header, body:not(.page-home) .site-header.is-scrolled {
  background: rgba(7, 9, 15, 0.72); -webkit-backdrop-filter: blur(16px) saturate(1.3); backdrop-filter: blur(16px) saturate(1.3);
  border-bottom-color: var(--line);
}
.header-inner { height: 100%; max-width: 1440px; margin: 0 auto; padding-inline: var(--gutter); display: flex; align-items: center; gap: 22px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; flex: none; }
.brand-badge { width: 48px; height: 48px; border-radius: 50%; filter: drop-shadow(0 0 14px rgba(227, 180, 92, 0.35)); }
.brand-words { display: grid; gap: 0; line-height: 1; }
.brand-sig { width: 112px; height: auto; }
.brand-sub { font-size: 10px; letter-spacing: 0.32em; text-transform: uppercase; color: var(--ink-mute); margin-top: 3px; padding-left: 4px; }
.nav { margin-inline: auto; }
.tabs { display: flex; gap: 2px; padding: 5px; border-radius: 999px; border: 1px solid var(--line); background: rgba(9, 13, 22, 0.55); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.tabs a {
  position: relative; display: block; padding: 9px 15px; border-radius: 999px; font-size: 14px; font-weight: 500;
  color: var(--ink-soft); text-decoration: none; white-space: nowrap; transition: color 0.3s, background 0.3s;
}
.tabs a:hover { color: var(--ink); background: rgba(245, 216, 146, 0.06); }
.tabs a[aria-current="page"] { color: #1a1206; background: linear-gradient(135deg, var(--gold-2), var(--gold)); box-shadow: 0 6px 20px -8px rgba(227, 180, 92, 0.7); }
.header-actions { display: flex; align-items: center; gap: 10px; flex: none; }
.head-cta { min-height: 44px; padding: 0 18px; }
.basket-count { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--night); color: var(--gold-2); font-size: 12px; }
.menu-btn { display: none; }

.mobile-menu {
  position: fixed; inset: 0; z-index: 80; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 26px;
  padding: 80px 24px calc(40px + env(safe-area-inset-bottom, 0px));
  background: radial-gradient(120% 80% at 50% 0%, #1a2a47 0%, var(--night) 70%);
  opacity: 0; transition: opacity 0.4s;
}
.mobile-menu.is-open { opacity: 1; }
.mobile-menu ul { display: grid; gap: 4px; text-align: center; }
.mobile-menu ul a { display: block; padding: 8px 18px; font-family: var(--font-display); font-size: 32px; text-decoration: none; color: var(--ink); }
.mobile-menu ul a[aria-current="page"] { color: var(--gold-2); font-style: italic; }
.menu-logo { width: 96px; height: 96px; }
.menu-close { position: absolute; top: calc(16px + env(safe-area-inset-top, 0px)); right: 16px; }

/* ------------------------------------------------------------------ atmosphère */
.atmos { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.mesh span {
  position: absolute; width: 70vmax; height: 70vmax; border-radius: 50%; filter: blur(80px); opacity: 0.32;
  animation: drift 26s ease-in-out infinite alternate;
}
.mesh span:nth-child(1) { left: -20vmax; top: -25vmax; background: radial-gradient(closest-side, #2a4373, transparent); }
.mesh span:nth-child(2) { right: -25vmax; top: 10vh; background: radial-gradient(closest-side, #7a4a1a, transparent); animation-duration: 32s; animation-delay: -8s; opacity: 0.26; }
.mesh span:nth-child(3) { left: 20vw; bottom: -35vmax; background: radial-gradient(closest-side, #3b2a12, transparent); animation-duration: 38s; animation-delay: -14s; }
@keyframes drift { 0% { transform: translate3d(0, 0, 0) scale(1); } 50% { transform: translate3d(6vw, 4vh, 0) scale(1.08); } 100% { transform: translate3d(-4vw, 8vh, 0) scale(0.95); } }
.rays {
  position: absolute; inset: -20% -10% auto; height: 120vh; opacity: 0.18; mix-blend-mode: screen;
  background: repeating-conic-gradient(from 200deg at 70% -10%, rgba(255, 210, 140, 0.0) 0deg, rgba(255, 210, 140, 0.55) 2deg, rgba(255, 210, 140, 0) 5deg, rgba(255, 210, 140, 0) 11deg);
  -webkit-mask-image: radial-gradient(70% 60% at 70% 0%, #000 0%, transparent 75%); mask-image: radial-gradient(70% 60% at 70% 0%, #000 0%, transparent 75%);
  animation: rays 18s ease-in-out infinite alternate;
}
@keyframes rays { from { transform: rotate(-2deg); opacity: 0.12; } to { transform: rotate(2deg); opacity: 0.22; } }
.grain {
  position: fixed; inset: -50%; z-index: 90; pointer-events: none; opacity: 0.07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 1 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite;
}
@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); } }
/* texture de papier kraft (sections claires) */
.paper {
  position: relative; background-color: var(--paper); color: var(--paper-ink);
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='p'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.035 .6' numOctaves='2' seed='7'/%3E%3CfeColorMatrix values='0 0 0 0 .55 0 0 0 0 .42 0 0 0 0 .25 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23p)'/%3E%3C/svg%3E"),
    radial-gradient(120% 90% at 20% 0%, #fbf3e4 0%, var(--paper) 55%, var(--paper-2) 100%);
}
.paper h1 em, .paper h2 em, .paper h3 em { color: var(--gold-deep); }
.paper .eyebrow { color: var(--gold-deep); }
.paper .lead, .paper .muted { color: var(--paper-soft); }
.paper a { text-decoration-color: rgba(168, 116, 31, 0.6); }
.paper .btn-ghost { color: var(--paper-ink); border-color: rgba(26, 33, 51, 0.25); background: transparent; }
.paper .btn-ghost:hover { border-color: var(--gold-deep); color: var(--gold-deep); }
.paper .btn-link { color: #8a5d15; }
.paper .field label, .paper .field legend { color: var(--paper-ink); }
.paper .field .hint, .paper .check { color: var(--paper-soft); }
.paper .input, .paper .field select, .paper .field textarea { background: #fffdf8; border-color: rgba(26, 33, 51, 0.22); color: var(--paper-ink); }
.paper .input:focus, .paper .field textarea:focus { border-color: var(--gold-deep); box-shadow: 0 0 0 4px rgba(168, 116, 31, 0.16); }
.paper .error { color: #b3263c; }
.paper .form-done h3 { color: var(--paper-ink); }
.paper .timeline time { color: var(--gold-deep); }
.paper .timeline p { color: var(--paper-soft); }
.paper .timeline h3 { color: var(--paper-ink); }
.paper .timeline li::before { background: var(--paper); border-color: var(--gold-deep); }
.paper .ticks li { color: var(--paper-ink); }

/* voile de transition entre pages (shader) */
.veil { position: fixed; inset: 0; z-index: 200; width: 100%; height: 100%; pointer-events: none; opacity: 0; }
html.veil-in .veil { opacity: 1; background: var(--night); animation: veil-safety 0.4s 1.6s forwards; }
@keyframes veil-safety { to { opacity: 0; } }

/* ------------------------------------------------------------------ sections */
.section { position: relative; padding-block: clamp(80px, 12vw, 160px); }
.section.tight { padding-block: clamp(60px, 8vw, 110px); }
.section-head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(24px, 5vw, 80px); align-items: end; margin-bottom: clamp(40px, 6vw, 80px); }
.section-head > * { min-width: 0; }
.section-head .lead { margin: 0; }
.divider { height: 1px; border: 0; margin: 0; background: linear-gradient(90deg, transparent, var(--line-strong), transparent); }

/* en-tête des pages intérieures */
.page-hero { position: relative; z-index: 2; padding: calc(var(--header-h) + clamp(60px, 9vw, 130px)) 0 clamp(50px, 7vw, 90px); overflow: hidden; }
.page-hero .container { position: relative; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(30px, 5vw, 80px); align-items: center; }
.page-hero h1 { font-size: clamp(44px, 6.4vw, 92px); font-weight: 340; line-height: 0.98; }
.page-hero .lead { margin-top: 18px; }
.page-hero-art { position: relative; width: 100%; aspect-ratio: 4 / 5; border-radius: 200px 200px 28px 28px; overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); }
.page-hero-art img { width: 100%; height: 100%; object-fit: cover; }
/* entrée de l'image d'en-tête : jamais totalement invisible, pour ne pas retarder son affichage (LCP) */
html.js .page-hero-art img { animation: hero-art 1.6s var(--ease) both; }
@keyframes hero-art { from { opacity: 0.01; transform: scale(1.08); } to { opacity: 1; transform: none; } }
.page-hero-art::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(7, 9, 15, 0.55)); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; font-size: 13px; color: var(--ink-mute); }
.breadcrumb a { color: var(--ink-soft); text-decoration: none; }
.breadcrumb a:hover { color: var(--gold-2); }
.breadcrumb li + li::before { content: '/'; margin-right: 8px; color: var(--line-strong); }

/* ------------------------------------------------------------------ le film d'entrée (accueil) */
.film { position: relative; z-index: 2; height: 720vh; }
.film-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; background: #05070c; }
#film-canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 1.2s ease; }
#film-canvas.is-ready { opacity: 1; }
.film-poster { position: absolute; inset: 0; transition: opacity 1.2s ease; }
.film-poster img { width: 100%; height: 100%; object-fit: cover; object-position: 54% 60%; }
.film-poster::after { content: ''; position: absolute; inset: 0; background: radial-gradient(90% 70% at 50% 45%, rgba(5, 7, 12, 0.15), rgba(5, 7, 12, 0.85)); }
body.film-on .film-poster { opacity: 0; }
.film-poster-3d { position: absolute; inset: 0; transition: opacity 1.4s ease; }
.film-poster-3d img { width: 100%; height: 100%; object-fit: cover; }
html.has-film .film-poster { display: none; }
html.no-film .film-poster-3d, body.film-on .film-poster-3d { opacity: 0; pointer-events: none; }
html.no-film .film-poster-3d { display: none; }
.film-intro {
  position: absolute; inset: 0; z-index: 3; display: grid; place-content: center; justify-items: center; text-align: center;
  padding: calc(var(--header-h) + 10px) var(--gutter) 90px; pointer-events: none;
}
.film-intro > * { pointer-events: auto; }
.film-title { margin: 0; display: grid; justify-items: center; gap: 12px; filter: drop-shadow(0 0 26px rgba(227, 180, 92, 0.3)); }
/* le halo est porté par le titre : sur l'image, le masque d'écriture le rognerait en rectangle */
.film-title .sig { width: min(560px, 74vw); height: auto; }
.film-title .kicker { font-family: var(--font-body); font-size: clamp(12px, 1.1vw, 14px); font-weight: 600; letter-spacing: 0.34em; text-transform: uppercase; color: var(--ink-soft); }
.film-tagline { margin: 22px 0 0; font-family: var(--font-display); font-style: italic; font-size: clamp(24px, 3vw, 40px); color: var(--gold-2); font-weight: 350; }
.sig-reveal { -webkit-mask-image: linear-gradient(90deg, #000 45%, transparent 55%); mask-image: linear-gradient(90deg, #000 45%, transparent 55%); -webkit-mask-size: 240% 100%; mask-size: 240% 100%; -webkit-mask-position: 100% 0; mask-position: 100% 0; animation: write 2.4s 0.25s var(--ease-soft) forwards; }
@keyframes write { to { -webkit-mask-position: 0 0; mask-position: 0 0; } }
.film-cue { position: absolute; left: 50%; bottom: calc(26px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); z-index: 4; display: grid; justify-items: center; gap: 10px; font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--ink-mute); transition: opacity 0.5s; }
.film-cue i { width: 1px; height: 46px; background: linear-gradient(var(--gold), transparent); animation: cue 2.2s ease-in-out infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }
.film-skip { position: absolute; right: var(--gutter); bottom: calc(24px + env(safe-area-inset-bottom, 0px)); z-index: 5; min-height: 44px; font-size: 13px; }
.film-beats { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.beat {
  position: absolute; max-width: min(520px, 86vw); opacity: 0; transform: translate3d(0, 24px, 0);
  transition: opacity 0.7s var(--ease-soft), transform 0.9s var(--ease);
}
.beat.is-on { opacity: 1; transform: none; }
.beat .eyebrow { margin-bottom: 12px; }
.beat h2 { font-size: clamp(30px, 4vw, 58px); font-weight: 350; text-shadow: 0 4px 40px rgba(0, 0, 0, 0.75); }
.beat p { color: var(--ink-soft); font-size: clamp(16px, 1.3vw, 19px); text-shadow: 0 2px 20px rgba(0, 0, 0, 0.9); }
.beat.left { left: var(--gutter); bottom: 16vh; }
.beat.right { right: var(--gutter); bottom: 16vh; text-align: right; }
.beat.right .eyebrow { justify-content: flex-end; }
.beat.center { left: 50%; top: 50%; transform: translate3d(-50%, calc(-50% + 24px), 0); text-align: center; }
.beat.center.is-on { transform: translate3d(-50%, -50%, 0); }
.beat.top { left: var(--gutter); top: calc(var(--header-h) + 8vh); }
.beat-name { position: absolute; left: 50%; bottom: 12vh; transform: translateX(-50%); text-align: center; }
.beat-name h3 { font-size: clamp(28px, 3.4vw, 50px); margin: 0; font-style: italic; color: var(--gold-2); text-shadow: 0 4px 30px rgba(0, 0, 0, 0.8); }
.beat-name p { margin: 6px 0 0; font-size: 13px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--ink-soft); }
.film-rail { position: absolute; left: var(--gutter); top: 50%; transform: translateY(-50%); z-index: 4; display: grid; gap: 14px; }
.film-rail li { display: flex; align-items: center; gap: 10px; font-size: 10px; letter-spacing: 0.24em; text-transform: uppercase; color: rgba(207, 195, 173, 0.0); transition: color 0.5s; }
.film-rail li::before { content: ''; width: 18px; height: 1px; background: var(--line-strong); transition: width 0.5s var(--ease), background 0.5s; }
.film-rail li.is-on { color: var(--gold-2); }
.film-rail li.is-on::before { width: 36px; background: var(--gold); }
.film-white { position: absolute; inset: 0; z-index: 6; background: #fffaf0; opacity: 0; pointer-events: none; }
.film-vignette { position: absolute; inset: 0; z-index: 2; pointer-events: none; background: radial-gradient(120% 90% at 50% 50%, transparent 55%, rgba(0, 0, 0, 0.55)); }

/* sans film (pas de WebGL, animations réduites) : une entrée fixe puis l'histoire en images */
html.no-film .film { height: auto; }
html.no-film .film-sticky { position: relative; height: 100vh; height: 100svh; min-height: 560px; }
html.no-film .film-beats, html.no-film .film-rail, html.no-film #film-canvas, html.no-film .film-white, html.no-film .film-skip { display: none; }
.film-story { display: none; }
html.no-film .film-story { display: block; position: relative; z-index: 2; }

/* « le jour se lève » : la première section après le fondu blanc */
.dawn { position: relative; z-index: 2; margin-top: -1px; }
.dawn::before { content: ''; position: absolute; inset: -1px 0 auto; height: 40vh; background: linear-gradient(#fffaf0, rgba(255, 250, 240, 0)); pointer-events: none; }
html.no-film .dawn::before { display: none; }

/* ------------------------------------------------------------------ cartes de verre */
.glass {
  position: relative; border-radius: var(--radius); border: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(36, 50, 78, 0.5), rgba(10, 14, 24, 0.62));
  -webkit-backdrop-filter: blur(14px) saturate(1.25); backdrop-filter: blur(14px) saturate(1.25);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 240, 210, 0.08);
  overflow: hidden;
}
.glass::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 1;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 236, 200, 0.14) 45%, transparent 60%);
  transform: translateX(-120%); transition: transform 1.1s var(--ease);
}
.glass:hover::before { transform: translateX(120%); }

/* trois promesses */
.promises { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 30px); }
.promise { padding: clamp(26px, 3vw, 40px); border-radius: var(--radius); border: 1px solid rgba(26, 33, 51, 0.12); background: rgba(255, 252, 245, 0.55); }
.promise svg { width: 44px; height: 44px; color: var(--gold-deep); margin-bottom: 18px; }
.promise h3 { font-size: clamp(22px, 2vw, 28px); margin-bottom: 10px; }
.promise p { margin: 0; color: var(--paper-soft); font-size: 16px; }

/* catalogue */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.chip {
  min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line); background: rgba(12, 18, 30, 0.5);
  color: var(--ink-soft); font-size: 14px; font-weight: 500; transition: all 0.3s;
}
.chip:hover { border-color: var(--line-strong); color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--night); border-color: var(--ink); }
.chip .dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 8px; background: var(--c, var(--gold)); }
.grid-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: clamp(16px, 2vw, 26px); }
.card { display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: linear-gradient(170deg, rgba(27, 40, 64, 0.55), rgba(9, 13, 22, 0.75)); transition: transform 0.5s var(--ease), border-color 0.4s, box-shadow 0.5s; }
.card:hover { transform: translateY(-6px); border-color: var(--line-strong); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.9), 0 0 50px -20px rgba(227, 180, 92, 0.35); }
.card-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #111827; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), filter 0.6s; }
.card:hover .card-media img { transform: scale(1.06); }
.card-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 35%, rgba(255, 236, 200, 0.18) 48%, transparent 60%); transform: translateX(-120%); transition: transform 1.1s var(--ease); }
.card:hover .card-media::after { transform: translateX(120%); }
.card-tag { position: absolute; left: 14px; top: 14px; z-index: 1; padding: 5px 11px; border-radius: 999px; font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: #1a1206; background: var(--c, var(--gold)); }
.card-body { display: flex; flex-direction: column; gap: 8px; padding: 20px 22px 22px; flex: 1; }
.card-body h3 { font-size: 23px; margin: 0; }
.card-body p { margin: 0; color: var(--ink-soft); font-size: 15px; line-height: 1.55; }
.card-foot { margin-top: auto; padding-top: 14px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.card-foot .muted { font-size: 13px; }
.card-hint { margin: 0; font-size: 11px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); }
.add-btn { min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-strong); background: transparent; color: var(--gold-2); font-size: 14px; font-weight: 600; display: inline-flex; align-items: center; gap: 8px; transition: all 0.3s; }
.add-btn svg { width: 16px; height: 16px; }
.add-btn:hover { background: var(--gold); color: var(--night); border-color: var(--gold); }
.add-btn.is-added { background: rgba(179, 207, 120, 0.16); border-color: var(--pistache); color: var(--pistache); }

/* bandeau de catégories (accueil) */
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(250px, 1fr); gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px 2px 18px; scrollbar-width: thin; scrollbar-color: var(--gold-deep) transparent; }
.rail > * { scroll-snap-align: start; }
.tile { position: relative; display: block; aspect-ratio: 3 / 4; border-radius: var(--radius); overflow: hidden; text-decoration: none; border: 1px solid var(--line); isolation: isolate; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease); }
.tile::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(7, 9, 15, 0) 40%, rgba(7, 9, 15, 0.92)); }
.tile:hover img { transform: scale(1.07); }
.tile-body { position: absolute; inset: auto 0 0; padding: 22px; }
.tile-body h3 { font-size: 28px; margin: 0 0 4px; }
.tile-body p { margin: 0; font-size: 14px; color: var(--ink-soft); }
.tile .glass-pill { position: absolute; top: 16px; right: 16px; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(12, 18, 30, 0.45); border: 1px solid var(--line-strong); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); transition: background 0.3s, transform 0.5s var(--ease); }
.tile .glass-pill svg { width: 18px; height: 18px; }
.tile:hover .glass-pill { background: var(--gold); color: var(--night); transform: rotate(-45deg); }

/* mise en avant éditoriale : image + texte */
.feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(30px, 6vw, 100px); align-items: center; }
.feature.flip > :first-child { order: 2; }
.feature-media { position: relative; }
.feature-media .main { width: 100%; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; box-shadow: var(--shadow); border: 1px solid var(--line); }
.feature-media .main img { width: 100%; height: 100%; object-fit: cover; }
.feature-media .float { position: absolute; width: 44%; right: -6%; bottom: -8%; aspect-ratio: 1; border-radius: 50%; overflow: hidden; border: 6px solid var(--night); box-shadow: var(--shadow); }
.paper .feature-media .float { border-color: var(--paper); }
.feature-media .float img { width: 100%; height: 100%; object-fit: cover; }
.ticks { display: grid; gap: 12px; margin: 24px 0 32px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; }
.ticks svg { width: 22px; height: 22px; flex: none; color: var(--gold); margin-top: 2px; }
.paper .ticks svg { color: var(--gold-deep); }

/* bandeau ateliers */
.tv { position: relative; overflow: hidden; border-radius: var(--radius); padding: clamp(30px, 5vw, 60px); border: 1px solid var(--line-strong); background: radial-gradient(120% 140% at 0% 0%, rgba(227, 180, 92, 0.22), transparent 55%), linear-gradient(135deg, #12203a, #0a0f1a); display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: clamp(20px, 4vw, 50px); align-items: center; }
.tv-badge { width: 110px; height: 110px; border-radius: 50%; display: grid; place-items: center; text-align: center; background: conic-gradient(from 0deg, var(--gold-2), var(--gold-deep), var(--gold-2), var(--gold-deep), var(--gold-2)); color: #1a1206; font-weight: 700; font-size: 12px; letter-spacing: 0.1em; line-height: 1.2; text-transform: uppercase; box-shadow: 0 0 60px -10px rgba(227, 180, 92, 0.7); }
.tv-badge span { display: grid; place-items: center; width: 96px; height: 96px; border-radius: 50%; background: #13203a; color: var(--gold-2); }
.tv-badge b { display: block; font-family: var(--font-display); font-size: 30px; letter-spacing: 0; }
.tv h2 { font-size: clamp(26px, 3vw, 42px); margin-bottom: 8px; }
.tv p { margin: 0; color: var(--ink-soft); }

/* avis client */
.review { margin: clamp(30px, 4vw, 50px) auto 0; max-width: 760px; text-align: center; }
.review blockquote { margin: 0; font-family: var(--font-display); font-style: italic; font-size: clamp(24px, 2.6vw, 34px); line-height: 1.25; color: var(--ink); }
.review figcaption { margin-top: 14px; font-size: 14px; color: var(--ink-mute); }
.review figcaption span[aria-hidden] { color: var(--gold); letter-spacing: 0.12em; margin-right: 8px; }

/* infos pratiques compactes */
.info-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--line); }
.info-strip > * { background: rgba(9, 13, 22, 0.86); padding: 26px; display: grid; gap: 6px; align-content: start; }
.info-strip svg { width: 24px; height: 24px; color: var(--gold); }
.info-strip h3 { font-family: var(--font-body); font-size: 12px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-mute); margin: 8px 0 0; }
.info-strip p, .info-strip a { margin: 0; font-size: 16px; color: var(--ink); }
.open-badge { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-strong); font-size: 14px; font-weight: 500; }
.open-badge::before { content: ''; width: 9px; height: 9px; border-radius: 50%; background: var(--framboise); box-shadow: 0 0 0 4px rgba(232, 104, 124, 0.18); }
.open-badge.is-open::before { background: var(--pistache); box-shadow: 0 0 0 4px rgba(179, 207, 120, 0.2); animation: pulse 2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(179, 207, 120, 0.05); } }

/* horaires */
.hours { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.hours th, .hours td { padding: 12px 0; border-bottom: 1px solid var(--line); text-align: left; font-weight: 400; }
.hours td { text-align: right; color: var(--ink-soft); }
.hours tr.is-today th, .hours tr.is-today td { color: var(--gold-2); font-weight: 600; }
.hours tr.is-today th::after { content: ' · aujourd’hui'; font-size: 12px; font-weight: 500; color: var(--ink-mute); }

/* étapes */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; counter-reset: s; }
.step { position: relative; padding: 28px 24px 26px; border-radius: var(--radius); border: 1px solid var(--line); background: rgba(12, 18, 30, 0.5); }
.step::before { counter-increment: s; content: '0' counter(s); display: block; font-family: var(--font-display); font-size: 44px; font-style: italic; color: var(--gold); line-height: 1; margin-bottom: 18px; }
.step h3 { font-size: 22px; margin-bottom: 8px; }
.step p { margin: 0; font-size: 15px; color: var(--ink-soft); }
.paper .step { background: rgba(255, 252, 245, 0.6); border-color: rgba(26, 33, 51, 0.12); }
.paper .step p { color: var(--paper-soft); }
.paper .step::before { color: var(--gold-deep); }

/* frise d'une journée au fournil */
.timeline { position: relative; display: grid; gap: 0; padding-left: 36px; }
.timeline::before { content: ''; position: absolute; left: 8px; top: 8px; bottom: 8px; width: 1px; background: linear-gradient(var(--gold), var(--line), var(--gold)); }
.timeline li { position: relative; padding: 0 0 34px; }
.timeline li::before { content: ''; position: absolute; left: -33px; top: 8px; width: 11px; height: 11px; border-radius: 50%; background: var(--night); border: 2px solid var(--gold); }
.timeline time { display: block; font-family: var(--font-display); font-size: 28px; font-style: italic; color: var(--gold-2); line-height: 1.1; }
.timeline h3 { font-size: 21px; margin: 4px 0 6px; font-family: var(--font-body); font-weight: 600; letter-spacing: 0; }
.timeline p { margin: 0; color: var(--ink-soft); font-size: 16px; }

/* galerie */
.gallery { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: clamp(120px, 14vw, 200px); gap: 14px; }
.gallery figure { margin: 0; position: relative; border-radius: var(--radius-s); overflow: hidden; border: 1px solid var(--line); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.gallery figure:hover img { transform: scale(1.05); }
.gallery figcaption { position: absolute; left: 12px; bottom: 12px; padding: 5px 12px; border-radius: 999px; font-size: 12px; background: rgba(7, 9, 15, 0.7); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.g-a { grid-column: span 5; grid-row: span 2; } .g-b { grid-column: span 4; grid-row: span 1; } .g-c { grid-column: span 3; grid-row: span 2; } .g-d { grid-column: span 4; grid-row: span 1; }
.g-e { grid-column: span 4; grid-row: span 2; } .g-f { grid-column: span 4; grid-row: span 2; } .g-g { grid-column: span 4; grid-row: span 2; }

/* citation lettre à lettre */
.quote { position: relative; text-align: center; }
.quote blockquote { margin: 0 auto; max-width: 22ch; font-family: var(--font-display); font-size: clamp(32px, 5vw, 70px); line-height: 1.1; font-weight: 330; }
.quote .ch { color: rgba(246, 236, 218, 0.16); transition: color 0.3s; }
.quote .ch.on { color: var(--ink); }
.quote figcaption { margin-top: 26px; font-size: 13px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--gold); }
.quote .signature-img { width: 220px; margin: 24px auto 0; opacity: 0.9; }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq details { border-radius: var(--radius-s); border: 1px solid var(--line); background: rgba(12, 18, 30, 0.5); transition: border-color 0.3s, background 0.3s; }
.faq details[open] { border-color: var(--line-strong); background: rgba(22, 32, 52, 0.6); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 22px; font-weight: 600; font-size: 17px; min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-family: var(--font-display); font-size: 28px; line-height: 1; color: var(--gold); transition: transform 0.4s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 22px 20px; color: var(--ink-soft); }
.faq details > div p:last-child { margin: 0; }
.paper .faq details { background: rgba(255, 252, 245, 0.6); border-color: rgba(26, 33, 51, 0.14); }
.paper .faq details > div { color: var(--paper-soft); }

/* formulaires */
.form { display: grid; gap: 18px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.field { display: grid; gap: 7px; min-width: 0; }
.field.full { grid-column: 1 / -1; }
.field label, .field legend { font-size: 14px; font-weight: 600; color: var(--ink); }
.field .hint { font-size: 13px; color: var(--ink-mute); font-weight: 400; }
.input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 16px; border-radius: 14px; border: 1px solid var(--line-strong);
  background: rgba(7, 10, 18, 0.7); color: var(--ink); font-size: 16px; transition: border-color 0.3s, box-shadow 0.3s;
}
.field textarea { min-height: 120px; resize: vertical; }
.input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(227, 180, 92, 0.18); }
.input[aria-invalid="true"], .field select[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: var(--framboise); }
.error { min-height: 1em; font-size: 13px; color: #ff9aaa; }
.radio-row { display: flex; flex-wrap: wrap; gap: 10px; }
.radio-row label { position: relative; }
.radio-row input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.radio-row span { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-strong); font-size: 14px; font-weight: 500; transition: all 0.25s; }
.radio-row input:checked + span { background: var(--gold); border-color: var(--gold); color: var(--night); }
.radio-row input:focus-visible + span { outline: 2px solid var(--gold-2); outline-offset: 3px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--ink-soft); }
.check input { width: 22px; height: 22px; flex: none; accent-color: var(--gold); margin-top: 1px; }
.form-done { display: none; text-align: center; padding: 30px 10px; }
.form-done svg { width: 56px; height: 56px; color: var(--pistache); margin: 0 auto 14px; }
.is-done .form { display: none; }
.is-done .form-done { display: block; }
.form-card { padding: clamp(24px, 4vw, 44px); }

/* panier de réservation */
.basket { position: sticky; top: calc(var(--header-h) + 16px); padding: 26px; }
.basket h2 { font-size: 28px; }
.basket-list { display: grid; gap: 10px; margin: 16px 0; }
.basket-item { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.basket-item span { font-size: 15px; }
.stepper { display: inline-flex; align-items: center; gap: 4px; }
.stepper button { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line-strong); background: transparent; display: grid; place-items: center; }
.stepper button svg { width: 15px; height: 15px; }
.stepper output { min-width: 26px; text-align: center; font-variant-numeric: tabular-nums; font-weight: 600; }
.basket-empty { color: var(--ink-mute); font-size: 15px; }
.shop-layout { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: clamp(20px, 3vw, 40px); align-items: start; }

/* article (journal) */
.article { font-size: 18px; }
.article h2 { font-size: clamp(28px, 3vw, 40px); margin-top: 1.6em; }
.article h3 { font-size: 24px; margin-top: 1.4em; }
.article p, .article li { color: var(--paper-soft); }
.article ul { list-style: none; display: grid; gap: 10px; margin: 0 0 1.2em; }
.article ul li { position: relative; padding-left: 26px; }
.article ul li::before { content: ''; position: absolute; left: 4px; top: 0.7em; width: 8px; height: 8px; border-radius: 50%; background: var(--gold-deep); }
.answer { padding: 24px 26px; border-radius: var(--radius-s); border-left: 3px solid var(--gold-deep); background: rgba(255, 252, 245, 0.7); margin: 0 0 30px; }
.answer p { margin: 0; color: var(--paper-ink); }
.table-wrap { overflow-x: auto; margin: 0 0 1.4em; border-radius: var(--radius-s); border: 1px solid rgba(26, 33, 51, 0.14); }
.table { width: 100%; border-collapse: collapse; min-width: 520px; font-size: 16px; }
.table th, .table td { padding: 14px 16px; text-align: left; border-bottom: 1px solid rgba(26, 33, 51, 0.1); vertical-align: top; }
.table th { font-weight: 600; background: rgba(168, 116, 31, 0.1); color: var(--paper-ink); }
.table td { color: var(--paper-soft); }
.author { display: flex; align-items: center; gap: 14px; margin: 30px 0; font-size: 14px; color: var(--paper-soft); }
.author img { width: 54px; height: 54px; border-radius: 50%; }

/* carte d'accès */
.map-card { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: #0b1220; }
.map-card > svg { width: 100%; height: auto; }
.map-card .btn { position: absolute; left: 20px; bottom: 20px; }

/* logos d'hier et d'aujourd'hui */
.logos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 4vw, 50px); margin-top: 36px; }
.logos figure { margin: 0; display: grid; gap: 14px; justify-items: center; }
.logos img { width: min(240px, 100%); aspect-ratio: 1; border-radius: 50%; object-fit: cover; box-shadow: var(--shadow); }
.logos img[src*='historique'] { background: #efe9df; }
.logos figcaption { font-size: 14px; color: var(--ink-mute); }

/* légal */
.legal h2 { font-size: 28px; margin-top: 1.6em; }
.legal p, .legal li { color: var(--ink-soft); }
.legal ul { list-style: disc; padding-left: 22px; }
.todo { color: var(--gold-2); font-style: italic; }

/* 404 */
.lost { min-height: 100vh; display: grid; place-items: center; text-align: center; padding: 120px var(--gutter) 80px; }
.lost .big { font-family: var(--font-display); font-size: clamp(110px, 22vw, 260px); line-height: 0.9; font-style: italic; color: var(--gold-2); margin: 0; }

/* ------------------------------------------------------------------ pied de page */
.site-footer { position: relative; z-index: 2; padding: clamp(70px, 9vw, 120px) 0 calc(40px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line); background: linear-gradient(180deg, rgba(11, 17, 29, 0.6), #05070c); }
.footer-top { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: clamp(26px, 4vw, 60px); }
.footer-logo { width: 120px; height: 120px; margin-bottom: 14px; }
.footer-tagline { font-family: var(--font-display); font-style: italic; font-size: 22px; color: var(--gold-2); }
.footer-contact { display: grid; gap: 8px; font-size: 15px; }
.footer-contact a { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink-soft); min-height: 32px; }
.footer-contact a:hover { color: var(--gold-2); }
.footer-contact svg { width: 18px; height: 18px; color: var(--gold); flex: none; }
.open-line { font-size: 14px; color: var(--ink-mute); }
.footer-col h2 { font-family: var(--font-body); font-size: 12px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; }
.footer-col ul { display: grid; gap: 6px; }
.footer-col a { display: inline-flex; align-items: center; gap: 10px; min-height: 32px; color: var(--ink-soft); text-decoration: none; font-size: 15px; }
.footer-col a:hover { color: var(--ink); }
.socials svg { width: 20px; height: 20px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 6px 22px; margin: 50px 0 22px; padding-top: 26px; border-top: 1px solid var(--line); }
.footer-links a, .footer-links button { display: inline-flex; align-items: center; min-height: 36px; font-size: 13px; color: var(--ink-mute); text-decoration: none; background: none; border: 0; padding: 0; }
.footer-links a:hover, .footer-links button:hover { color: var(--ink); }
.footer-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: 13px; color: var(--ink-mute); }
.footer-legal p { margin: 0; }

/* barre d'actions mobile */
.mobile-bar { display: none; }

/* bandeau cookies */
.consent {
  position: fixed; right: 20px; bottom: 20px; z-index: 120; width: min(420px, calc(100vw - 32px)); padding: 24px;
  border-radius: var(--radius); border: 1px solid var(--line-strong); background: rgba(10, 15, 26, 0.92);
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); box-shadow: var(--shadow);
  opacity: 0; transform: translateY(20px); transition: opacity 0.5s, transform 0.6s var(--ease);
}
.consent.is-open { opacity: 1; transform: none; }
.consent h2 { font-size: 24px; margin-bottom: 8px; }
.consent p { font-size: 14px; color: var(--ink-soft); }
.consent-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
.consent-actions .wide { grid-column: 1 / -1; }
.consent .btn { min-height: 44px; padding: 0 14px; font-size: 14px; }
.consent-prefs { display: grid; gap: 4px; margin: 10px 0; }
.toggle-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.toggle-row small { display: block; color: var(--ink-mute); font-size: 12px; }
.switch { position: relative; width: 48px; height: 28px; flex: none; }
.switch input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; z-index: 1; }
.switch span { position: absolute; inset: 0; border-radius: 999px; background: #2a3247; transition: background 0.3s; }
.switch span::after { content: ''; position: absolute; left: 4px; top: 4px; width: 20px; height: 20px; border-radius: 50%; background: var(--ink); transition: transform 0.3s var(--ease); }
.switch input:checked + span { background: var(--gold); }
.switch input:checked + span::after { transform: translateX(20px); background: var(--night); }
.switch input:disabled + span { opacity: 0.6; }
.switch input:focus-visible + span { outline: 2px solid var(--gold-2); outline-offset: 2px; }

/* curseur 3D */
.cursor3d { position: fixed; left: 0; top: 0; z-index: 150; width: 96px; height: 96px; pointer-events: none; margin: -48px 0 0 -48px; opacity: 0; transition: opacity 0.4s; }
.cursor3d.is-on { opacity: 1; }

/* ------------------------------------------------------------------ révélations */
html.js .reveal { opacity: 0; transform: translate3d(0, 30px, 0); transition: opacity 0.9s var(--ease-soft), transform 1.1s var(--ease); transition-delay: var(--d, 0s); }
html.js .reveal.is-in { opacity: 1; transform: none; }
/* le masque est posé sur l'image et non sur son cadre : un cadre entièrement masqué n'est jamais
   signalé comme visible par IntersectionObserver */
html.js .mask-reveal > img { clip-path: inset(100% 0 0 0); transform: scale(1.18); transition: clip-path 1.4s var(--ease), transform 1.8s var(--ease); transition-delay: var(--d, 0s); }
html.js .mask-reveal.is-in > img { clip-path: inset(0 0 0 0); transform: scale(1); }
html.js .mask-reveal > figcaption { opacity: 0; transition: opacity 0.8s 0.9s; }
html.js .mask-reveal.is-in > figcaption { opacity: 1; }
.split-words .w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0.06em 0.04em 0.12em; margin: -0.06em -0.04em -0.12em; }
.split-words .w > span { display: inline-block; }
html.js .split-words .w > span { transform: translate3d(0, 110%, 0) rotate(4deg); transition: transform 1s var(--ease); transition-delay: calc(var(--i) * 45ms); }
html.js .split-words.is-in .w > span { transform: none; }
.draw path, .draw circle, .draw rect { stroke-dasharray: 1; stroke-dashoffset: 0; }
html.js .draw path, html.js .draw circle, html.js .draw rect { stroke-dashoffset: 1; transition: stroke-dashoffset 1.8s var(--ease-soft); transition-delay: var(--d, 0.1s); }
html.js .draw.is-in path, html.js .draw.is-in circle, html.js .draw.is-in rect { stroke-dashoffset: 0; }
.scr { font-variant-numeric: tabular-nums; }

/* ------------------------------------------------------------------ transitions de page natives */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out 0.45s var(--ease-soft) both; }
::view-transition-new(root) { animation: vt-in 0.6s var(--ease) both; }
@keyframes vt-out { to { opacity: 0; filter: blur(6px); } }
@keyframes vt-in { from { opacity: 0; filter: blur(6px); } }

/* ------------------------------------------------------------------ responsive */
@media (max-width: 1180px) {
  .tabs a { padding: 9px 11px; font-size: 13.5px; }
  .brand-words { display: none; }
}
@media (max-width: 980px) {
  :root { --header-h: 68px; }
  .nav, .head-cta, .tel-btn { display: none; }
  .brand-words { display: grid; }
  .menu-btn { display: inline-grid; }
  .header-actions { margin-left: auto; }
  .section-head, .page-hero .container, .feature, .shop-layout { grid-template-columns: minmax(0, 1fr); }
  .feature.flip > :first-child { order: 0; }
  .page-hero-art { max-width: 460px; aspect-ratio: 5 / 4; border-radius: 160px 160px 24px 24px; }
  .promises { grid-template-columns: minmax(0, 1fr); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .info-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
  .tv { grid-template-columns: minmax(0, 1fr); text-align: left; }
  .basket { position: relative; top: 0; }
  .film-rail { display: none; }
  .mobile-bar {
    position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); z-index: 60;
    display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; padding: 6px; border-radius: 999px;
    border: 1px solid var(--line-strong); background: rgba(8, 12, 20, 0.86); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
    transform: translateY(140%); transition: transform 0.6s var(--ease);
  }
  .mobile-bar.is-visible { transform: none; }
  .mobile-bar a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; border-radius: 999px; font-size: 14px; font-weight: 600; text-decoration: none; color: var(--ink); }
  .mobile-bar a.primary { background: linear-gradient(135deg, var(--gold-2), var(--gold)); color: #1a1206; }
  .mobile-bar svg { width: 18px; height: 18px; }
  .site-footer { padding-bottom: calc(110px + env(safe-area-inset-bottom, 0px)); }
  .consent { left: 16px; right: 16px; bottom: calc(86px + env(safe-area-inset-bottom, 0px)); width: auto; }
}
@media (max-width: 680px) {
  body { font-size: 16px; }
  .form-grid, .steps { grid-template-columns: minmax(0, 1fr); }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 160px; }
  .gallery figure { grid-column: span 1 !important; grid-row: span 1 !important; }
  .gallery figure:nth-child(3n + 1) { grid-column: span 2 !important; grid-row: span 2 !important; }
  .info-strip { grid-template-columns: minmax(0, 1fr); }
  .filters { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(var(--gutter) * -1); padding: 0 var(--gutter) 6px; scrollbar-width: none; }
  .filters .chip { flex: none; }
  .film { height: 640vh; }
  .beat.left, .beat.right { left: var(--gutter); right: var(--gutter); bottom: 13vh; text-align: left; max-width: none; }
  .beat.right .eyebrow { justify-content: flex-start; }
  .film-skip { top: calc(var(--header-h) + 10px + env(safe-area-inset-top, 0px)); bottom: auto; right: var(--gutter); min-height: 40px; padding: 0 14px; font-size: 12px; }
  .film-cue { bottom: calc(40px + env(safe-area-inset-bottom, 0px)); }
  .feature-media .float { width: 40%; right: -2%; }
  .tile { aspect-ratio: 4 / 5; }
  .brand-sig { width: 96px; }
  .footer-top { grid-template-columns: minmax(0, 1fr); }
}

/* ------------------------------------------------------------------ animations réduites */
html.reduce-motion *, html.reduce-motion *::before, html.reduce-motion *::after { animation-duration: 0.001s !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
html.reduce-motion .reveal, html.reduce-motion .mask-reveal, html.reduce-motion .split-words .w > span { opacity: 1 !important; transform: none !important; clip-path: none !important; transition: none !important; }
html.reduce-motion .mask-reveal > img { transform: none !important; clip-path: none !important; transition: none !important; }
html.reduce-motion .mask-reveal > figcaption { opacity: 1 !important; }
html.reduce-motion .draw path, html.reduce-motion .draw circle, html.reduce-motion .draw rect { stroke-dashoffset: 0 !important; transition: none !important; }
html.reduce-motion .grain, html.reduce-motion .mesh span, html.reduce-motion .rays { animation: none !important; }
html.reduce-motion .sig-reveal { -webkit-mask-image: none; mask-image: none; }
html.reduce-motion .quote .ch { color: var(--ink); }
html.reduce-motion .card, html.reduce-motion .tile img, html.reduce-motion .card-media img { transition: none; }
html.reduce-motion ::view-transition-old(root), html.reduce-motion ::view-transition-new(root) { animation: none; }
@media (prefers-reduced-motion: reduce) { @view-transition { navigation: none; } }
