/* ========================================================================
   Myriam Visuals — Site public
   Design : Cinematic Darkroom Edition (noir + creme + or)

   TABLE DES MATIERES
   ─────────────────────────────────────────────────────────────────────────
   1. TOKENS & RESET                ~ ligne 15
   2. TYPOGRAPHY & LAYOUT BASE      ~ ligne 100
   3. HEADER & NAVIGATION           ~ ligne 200
   4. HERO (home)                   ~ ligne 370
   5. BUTTONS                       ~ ligne 440
   6. GALLERY GRID + LIGHTBOX       ~ ligne 530
   7. ABOUT (home)                  ~ ligne 780
   8. FORMS (generiques + pages)    ~ ligne 830
   9. PAGINATION + FOOTER           ~ ligne 1070
   10. ANIMATIONS + SCROLL REVEAL   ~ ligne 1280
   11. QUOTE SECTION (home)         ~ ligne 1980
   12. POLAROID COMPONENT           ~ ligne 2240
   13. VITRINE (home)               ~ ligne 2500
   14. RESPONSIVE MOBILE            ~ ligne 2930
   15. TESTIMONIALS                 ~ ligne 3900
   16. FORM EDITORIAL (contact/devis) ~ ligne 4380
   17. PAGE 404                     ~ ligne 4900
   18. POLISH : breadcrumb, toast, counts ~ ligne 4500

   CSS admin (pages /admin/) : fichier separe assets/admin.css
   ======================================================================== */

/* Fonts hébergées en local (plus de dépendance Google).
   Chargées via <link> dans _header.php (en parallèle de cette feuille) plutôt
   que par @import, qui imposait une requête séquentielle bloquante. */

/* --- Tokens --- */
:root {
    --bg: #ffffff;
    --ink: #0a0a0a;
    --ink-dim: #6a6a6a;
    --ink-light: #707070; /* gris medium, contraste AA sur fond clair */
    --rule: rgba(10, 10, 10, 0.08);
    --max-w: 1400px;
    --pad: clamp(24px, 5vw, 80px);
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-display: 'Amazonen', 'Audrey', 'Italiana', 'Cormorant Garamond', 'Georgia', serif;
    --transition-speed: 0.3s;
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
    /* Palette N&B : les anciens tokens gold sont neutralises en noir/gris
       pour que tous les accents dores deviennent monochromes. */
    --gold: #0a0a0a;
    --gold-dim: rgba(60, 60, 60, 0.6);
}

/* --- Reset --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

html, body {
    -webkit-tap-highlight-color: transparent;
    overflow-x: hidden;
    max-width: 100vw;
}

a, button {
    -webkit-tap-highlight-color: transparent;
    outline: none;
}

a:focus:not(:focus-visible),
button:focus:not(:focus-visible) {
    outline: none;
}

/* Focus clavier visible et elegant (uniquement au :focus-visible) */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 3px;
    border-radius: 2px;
}

/* Les inputs des pages form editoriales ont leur propre style de focus
   (border-bottom dore + box-shadow). Desactive l'outline generique
   pour eviter un double trait. */
.body--form-editorial input:focus-visible,
.body--form-editorial textarea:focus-visible,
.body--form-editorial select:focus-visible {
    outline: none;
    border-radius: 0;
}

/* Skip-link accessible (cache sauf au focus clavier) */
.skip-link {
    position: absolute;
    top: -100px;
    left: 12px;
    z-index: 10000;
    padding: 10px 18px;
    background: var(--ink);
    color: var(--bg);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: 2px;
    transition: top 0.3s var(--ease-out-expo);
}

.skip-link:focus {
    top: 12px;
    outline: 2px solid var(--gold);
    outline-offset: 2px;
}

/* Asterisque dore pour champs requis */
.form__label .req {
    color: var(--gold);
    margin-left: 2px;
    font-weight: 400;
}

body {
    font-family: var(--font);
    font-size: 18px;
    font-weight: 400;
    line-height: 1.7;
    color: var(--ink);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--ink);
    text-decoration: none;
}

ul, ol {
    list-style: none;
}

button, input, textarea, select {
    font: inherit;
    color: inherit;
}

/* --- Typography --- */
h1, h2, h3 {
    font-family: var(--font-display);
    font-weight: 400;
    line-height: 1.18;
    letter-spacing: 0.01em;
}

h1 {
    font-size: clamp(40px, 7vw, 80px);
    font-weight: 300;
    font-style: normal;
    letter-spacing: 0.02em;
}

h2 {
    font-size: clamp(30px, 4.5vw, 56px);
    font-weight: 300;
    letter-spacing: 0.02em;
}

h3 {
    font-size: clamp(22px, 2.5vw, 32px);
    letter-spacing: 0.015em;
}

p {
    max-width: 680px;
}

.text-dim {
    color: var(--ink-dim);
}

.text-small {
    font-size: 14px;
}

.text-center {
    text-align: center;
}

/* --- Layout --- */
.container {
    max-width: var(--max-w);
    margin: 0 auto;
    padding-left: var(--pad);
    padding-right: var(--pad);
}

.section {
    padding-top: clamp(60px, 10vw, 140px);
    padding-bottom: clamp(60px, 10vw, 140px);
}

.section--compact {
    padding-top: clamp(40px, 6vw, 80px);
    padding-bottom: clamp(40px, 6vw, 80px);
}

.section--dark {
    background: var(--ink);
    color: var(--bg);
    position: relative;
    overflow: hidden;
}

/* Lueur chaude sur fond noir — lumiere de bougie */
.section--dark::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 50% at 20% 50%, rgba(140, 140, 140, 0.18) 0%, transparent 70%),
        radial-gradient(ellipse 50% 60% at 80% 50%, rgba(130, 130, 130, 0.12) 0%, transparent 70%);
    background-size: 200% 100%;
    animation: warmth-shift 15s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

/* Film grain sur la section dark */
.section--dark::after {
    content: '';
    position: absolute;
    inset: -50%;
    width: 200%;
    height: 200%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
    background-size: 128px 128px;
    opacity: 0.08;
    z-index: 0;
    pointer-events: none;
    animation: grain-drift 8s steps(4) infinite;
    mix-blend-mode: soft-light;
}

.section--dark > * {
    position: relative;
    z-index: 1;
}

/* --- Header / Nav --- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(250, 250, 250, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--rule);
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 var(--pad);
}

.header__logo {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 400;
    font-style: italic;
    letter-spacing: 0.02em;
}

.header__logo a {
    color: var(--ink);
}

.nav__list {
    display: flex;
    gap: 36px;
}

.nav__link {
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--ink-dim);
    transition: color var(--transition-speed) ease;
    position: relative;
}

.nav__link:hover,
.nav__link--active {
    color: var(--ink);
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--ink);
    transition: width 0.4s var(--ease-out-expo);
}

.nav__link:hover::after,
.nav__link--active::after {
    width: 100%;
}

/* Mobile nav toggle */
.nav__toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 32px;
    height: 32px;
    position: relative;
}

.nav__toggle span {
    display: block;
    width: 24px;
    height: 1.5px;
    background: var(--ink);
    position: absolute;
    left: 4px;
    transition: transform var(--transition-speed) ease, opacity var(--transition-speed) ease;
}

.nav__toggle span:nth-child(1) { top: 9px; }
.nav__toggle span:nth-child(2) { top: 15px; }
.nav__toggle span:nth-child(3) { top: 21px; }

.nav__toggle.active span:nth-child(1) {
    transform: rotate(45deg);
    top: 15px;
}

.nav__toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav__toggle.active span:nth-child(3) {
    transform: rotate(-45deg);
    top: 15px;
}

/* Body offset for fixed header */
.main {
    padding-top: 72px;
}

/* --- Animated backgrounds --- */

/* Film grain texture (SVG noise inlined) */
@keyframes grain-drift {
    0%, 100% { transform: translate(0, 0); }
    25% { transform: translate(-2%, 1%); }
    50% { transform: translate(1%, -2%); }
    75% { transform: translate(-1%, 2%); }
}

/* Slow warm light shift for dark sections */
@keyframes warmth-shift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

/* Soft breathing glow */
@keyframes soft-glow {
    0%, 100% { opacity: 0.03; }
    50% { opacity: 0.06; }
}

/* --- Hero : fond anime (plus de video) --- */
.hero {
    min-height: calc(100vh - 72px);
    min-height: calc(100dvh - 72px);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: var(--pad);
    position: relative;
    overflow: hidden;
    isolation: isolate;
    background: #fafafa;
    touch-action: manipulation; /* zappe le delai 300ms sur touch */
}

/* Couche 0 : gradient de base (creme + halo dore + vignette chaude) */
.hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        radial-gradient(ellipse 80% 60% at 72% 38%, rgba(10, 10, 10, 0.22), transparent 60%),
        radial-gradient(ellipse 60% 50% at 20% 80%, rgba(123, 123, 123, 0.14), transparent 65%),
        radial-gradient(ellipse 90% 70% at 50% 110%, rgba(10, 10, 10, 0.06), transparent 60%),
        linear-gradient(180deg, #fafafa 0%, #e6e6e6 100%);
}

/* Couche 1 : arcs + halos flous */
.hero__shapes { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.hero__arc {
    position: absolute;
    border: 1px solid rgba(10, 10, 10, 0.08);
    border-radius: 50%;
    pointer-events: none;
}
.hero__arc--a1 { width: 90vmin; height: 90vmin; left: 40%; top: 20%; transform: translate(-50%, -50%); }
.hero__arc--a2 { width: 130vmin; height: 130vmin; left: 60%; top: 60%; transform: translate(-50%, -50%); opacity: 0.5; }
.hero__arc--a3 { width: 50vmin; height: 50vmin; left: 75%; top: 40%; transform: translate(-50%, -50%); opacity: 0.6; }

.hero__shape {
    position: absolute;
    border-radius: 50%;
    will-change: transform;
    transition: transform 1.2s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.8s ease;
}
.hero__shape--s1 {
    width: 68vmin; height: 68vmin;
    right: -10vmin; top: -14vmin;
    background: radial-gradient(circle at 30% 30%, rgba(250, 250, 250, 0.95), rgba(10, 10, 10, 0.3) 55%, transparent 75%);
    filter: blur(2px);
}
.hero__shape--s2 {
    width: 44vmin; height: 44vmin;
    left: -8vmin; bottom: -10vmin;
    background: radial-gradient(circle at 60% 40%, rgba(120, 120, 120, 0.45), rgba(95, 95, 95, 0.12) 60%, transparent 80%);
    filter: blur(1px);
}
.hero__shape--s3 {
    width: 22vmin; height: 22vmin;
    left: 18vw; top: 22vh;
    background: radial-gradient(circle at 50% 50%, rgba(10, 10, 10, 0.55), rgba(10, 10, 10, 0.08) 60%, transparent 75%);
    mix-blend-mode: multiply;
}

/* Couche 2 : particules dorees (canvas) */
.hero__particles { position: absolute; inset: 0; z-index: 2; pointer-events: none; }

/* Couche 3 : vignette */
.hero__vignette {
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
    background: radial-gradient(ellipse at center, transparent 55%, rgba(12, 12, 12, 0.22) 100%);
}

/* Couche 4 : film grain */
.hero__grain {
    position: absolute;
    inset: -10%;
    z-index: 4;
    pointer-events: none;
    mix-blend-mode: multiply;
    opacity: 0.25;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' seed='7'/><feColorMatrix values='0 0 0 0 0.15  0 0 0 0 0.12  0 0 0 0 0.08  0 0 0 1 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='0.55'/></svg>");
    animation: hero-grain-shift 1.3s steps(3) infinite;
}
@keyframes hero-grain-shift {
    0%   { transform: translate(0, 0); }
    33%  { transform: translate(-2%, 1%); }
    66%  { transform: translate(1%, -1%); }
    100% { transform: translate(0, 0); }
}

/* Couche 10 : iris / obturateur 8 lames */
.hero__iris {
    position: absolute;
    left: 50%; top: 50%;
    width: 140vmin; height: 140vmin;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 10;
}
.hero__blade {
    position: absolute;
    left: 50%; top: 50%;
    width: 80vmin; height: 80vmin;
    transform-origin: 0 0;
    background: linear-gradient(135deg, #0a0a0a 0%, #1c1c1c 100%);
    clip-path: polygon(0 0, 100% 0, 0 100%);
    opacity: 0;
    transition: transform 0.45s cubic-bezier(0.7, 0, 0.3, 1), opacity 0.35s ease;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.6) inset;
}

/* Couche 11 : flash blanc */
.hero__flash {
    position: absolute;
    inset: 0;
    z-index: 11;
    background: #fafafa;
    opacity: 0;
    pointer-events: none;
    mix-blend-mode: screen;
}
.hero__flash--fire { animation: hero-flash 0.42s ease-out; }
@keyframes hero-flash {
    0%   { opacity: 0; }
    8%   { opacity: 0.92; }
    30%  { opacity: 0.6; }
    100% { opacity: 0; }
}

/* Couche 15 : pile de polaroids captures (absolute stacking, pas de reflow) */
.hero__captures {
    position: absolute;
    right: clamp(20px, 4vw, 48px);
    bottom: clamp(36px, 8vh, 90px);
    z-index: 15;
    pointer-events: none;
    width: 180px;
    height: 210px;
}
.hero__capture {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 148px;
    height: 180px;
    transform-origin: bottom right;
    will-change: transform;
    /* transform final (rotation + offset) injecte via inline style */
}
.hero__capture-inner {
    width: 100%;
    height: 100%;
    background: #f5f5f5;
    padding: 9px 9px 28px;
    box-shadow: 0 14px 32px -10px rgba(25, 25, 25, 0.38), 0 2px 6px rgba(25, 25, 25, 0.18);
    position: relative;
    animation: hero-capture-in 0.65s cubic-bezier(0.22, 1, 0.36, 1) both;
    backface-visibility: hidden;
}
.hero__capture-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    background: #e6e6e6;
}
.hero__capture-stamp {
    position: absolute;
    left: 11px; right: 11px; bottom: 8px;
    font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
    font-size: 9px;
    color: rgba(10, 10, 10, 0.55);
    letter-spacing: 0.08em;
    display: flex;
    justify-content: space-between;
}
/* L'animation ne touche que l'inner : le wrapper garde sa rotation/offset fixe,
   donc les autres polaroids ne bougent pas quand un nouveau arrive. */
@keyframes hero-capture-in {
    0%   { opacity: 0; transform: translate3d(-20px, -130px, 0) rotate(-14deg) scale(0.9); }
    60%  { opacity: 1; transform: translate3d(0, 0, 0) rotate(0) scale(1); }
    100% { opacity: 1; transform: translate3d(0, 0, 0) rotate(0) scale(1); }
}

/* Hint "cliquez pour capturer" */
.hero__hint {
    position: absolute;
    left: 50%;
    bottom: clamp(36px, 6vh, 56px);
    transform: translateX(-50%);
    z-index: 15;
    font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
    font-size: 10px;
    letter-spacing: 0.25em;
    color: rgba(10, 10, 10, 0.5);
    text-transform: uppercase;
    opacity: 0;
    animation: hero-hint-fade 5s ease-in-out 1.8s forwards;
    pointer-events: none;
    white-space: nowrap;
}
@keyframes hero-hint-fade {
    0%   { opacity: 0; }
    20%  { opacity: 0.7; }
    80%  { opacity: 0.7; }
    100% { opacity: 0; }
}

/* Contenu du hero par-dessus tout */
.hero__content {
    max-width: 800px;
    position: relative;
    z-index: 20;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: clamp(20px, 3vw, 32px);
}

.hero__title {
    margin: 0;
    text-align: center;
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 14px 36px;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border: 1px solid var(--ink);
    background: transparent;
    color: var(--ink);
    cursor: pointer;
    position: relative;
    will-change: transform;
    transition: background var(--transition-speed) ease,
                color var(--transition-speed) ease,
                transform 0.4s var(--ease-out-expo);
}

.btn:hover {
    background: var(--ink);
    color: #fff;
}

.btn:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 4px;
}

.btn:active {
    transform: translateY(1px);
}

.btn--filled {
    background: var(--ink);
    color: var(--bg);
}

.btn--filled:hover {
    background: transparent;
    color: var(--ink);
}

.btn--small {
    padding: 10px 24px;
    font-size: 13px;
}

/* Bouton hero — apres .btn pour avoir la priorite naturelle dans la cascade */
.hero__btn {
    border-color: var(--ink);
    color: var(--ink);
    background: transparent;
}

.hero__btn:hover {
    background: var(--ink);
    color: #fff;
    border-color: var(--ink);
}

/* --- Gallery Grid --- */
.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: clamp(40px, 6vw, 80px);
    flex-wrap: wrap;
}

.gallery-filters a {
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--ink-dim);
    padding-bottom: 4px;
    border-bottom: 1px solid transparent;
    transition: color var(--transition-speed) ease, border-color var(--transition-speed) ease;
}

.gallery-filters a:hover,
.gallery-filters a.active {
    color: var(--ink);
    border-bottom-color: var(--ink);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 6px;
}

.gallery-grid__item {
    overflow: hidden;
    cursor: pointer;
    position: relative;
}

.gallery-grid__item img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
}

/* --- Pagination --- */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: clamp(40px, 6vw, 64px);
}

.pagination__pages {
    display: flex;
    gap: 4px;
}

.pagination__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    font-size: 14px;
    color: var(--ink-dim);
    border: 1px solid var(--rule);
    transition: color 0.3s ease, border-color 0.3s ease;
}

.pagination__link:hover {
    color: var(--ink);
    border-color: var(--ink);
}

.pagination__current {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    font-size: 14px;
    font-weight: 500;
    background: var(--ink);
    color: #fff;
}

.pagination__dots {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 40px;
    font-size: 14px;
    color: var(--ink-light);
}

/* --- Lightbox --- */
.lightbox {
    display: flex;
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.95);
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    touch-action: none;
    overscroll-behavior: contain;
}

.lightbox.active {
    touch-action: pan-x pan-y;
}

/* Scroll lock : desktop + mobile.
   html : overflow hidden empeche la barre de defilement natif.
   body : position fixed + top : -scrollY preserve la position sans saut. */
html.scroll-locked {
    overflow: hidden !important;
    overscroll-behavior: none;
}

body.scroll-locked {
    position: fixed !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    overflow: hidden !important;
    overscroll-behavior: none;
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox__wrap {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    transform: scale(0.94);
    opacity: 0;
    transition: transform 0.5s var(--ease-out-expo), opacity 0.4s ease;
}

.lightbox.active .lightbox__wrap {
    transform: scale(1);
    opacity: 1;
}

.lightbox__img {
    display: block;
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
}

.lightbox__close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.6;
    transition: opacity 0.3s ease, border-color 0.3s ease;
    z-index: 10;
}

.lightbox__close:hover {
    opacity: 1;
    border-color: rgba(255,255,255,0.5);
}

.lightbox__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: 1px solid rgba(255,255,255,0.15);
    color: #fff;
    font-size: 28px;
    cursor: pointer;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.4;
    transition: opacity 0.3s ease, border-color 0.3s ease;
}

.lightbox__nav:hover {
    opacity: 1;
    border-color: rgba(255,255,255,0.4);
}

.lightbox__nav--prev {
    left: 20px;
}

.lightbox__nav--next {
    right: 20px;
}

.lightbox__wrap {
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox__caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    max-width: none;
    padding: 60px 32px 20px;
    margin: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.2) 60%, transparent 100%);
    color: rgba(255, 255, 255, 0.9);
    font-family: var(--font-display);
    font-size: clamp(15px, 2vw, 18px);
    font-style: italic;
    font-weight: 300;
    letter-spacing: 0.02em;
    text-align: center;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s ease 0.4s;
}

.lightbox.active .lightbox__caption {
    opacity: 1;
}

/* Compteur lightbox (X / Y) */
.lightbox__counter {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.85);
    font-family: var(--font-display);
    font-style: italic;
    font-size: 16px;
    letter-spacing: 0.04em;
    background: rgba(0, 0, 0, 0.4);
    padding: 6px 14px;
    border-radius: 999px;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    opacity: 0;
    transition: opacity 0.4s ease 0.2s;
    pointer-events: none;
    z-index: 2;
    font-variant-numeric: tabular-nums;
}
.lightbox.active .lightbox__counter { opacity: 1; }
@media (max-width: 640px) {
    .lightbox__counter {
        top: auto;
        bottom: 24px;
        font-size: 13px;
        padding: 5px 12px;
    }
}
/* Sur tres petit ecran : sous le close plutot qu'a cote */
@media (max-width: 420px) {
    .lightbox__counter { bottom: 20px; }
}

/* --- About / Presentation --- */
.about {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(40px, 6vw, 100px);
    align-items: center;
}

.about__image img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
}

.about__text h2 {
    margin-bottom: 24px;
}

.about__text p {
    color: var(--ink-dim);
    margin-bottom: 24px;
}

/* --- Forms (contact / devis) --- */
.form {
    max-width: 640px;
    margin: 0 auto;
}

.form__group {
    margin-bottom: 24px;
}

.form__label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--ink-dim);
    margin-bottom: 8px;
}

.form__input,
.form__textarea,
.form__select {
    width: 100%;
    padding: 14px 0;
    font-size: 16px;
    border: none;
    border-bottom: 1px solid var(--rule);
    background: transparent;
    color: var(--ink);
    outline: none;
    position: relative;
    transition: border-color 0.4s var(--ease-out-quart);
}

.form__input:focus,
.form__textarea:focus,
.form__select:focus {
    border-bottom-color: var(--ink);
}

.form__textarea {
    resize: vertical;
    min-height: 120px;
}

.form__select {
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
}

.form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.form__honeypot {
    position: absolute;
    left: -9999px;
    opacity: 0;
    height: 0;
    width: 0;
    overflow: hidden;
}


/* Vignette section — bords assombris comme un objectif vintage */
.section--vignette {
    position: relative;
}

.section--vignette::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 70% 60% at 50% 50%, transparent 40%, rgba(0, 0, 0, 0.08) 100%);
    pointer-events: none;
    z-index: 0;
}

.section--vignette > * {
    position: relative;
    z-index: 1;
}

/* --- Footer (base — overridden by editorial footer below) --- */

/* --- CTA Section --- */
.cta {
    text-align: center;
}

.cta h2 {
    margin-bottom: 16px;
    font-style: italic;
}

/* Bouton inverse (sur fond noir) */
.btn--inverted {
    border-color: var(--bg);
    color: var(--bg);
}

.btn--inverted:hover {
    background: var(--bg) !important;
    color: var(--ink) !important;
}

.cta p {
    color: var(--ink-dim);
    margin: 0 auto 32px;
}

/* --- Vitrine galerie (section unique avec cycle) --- */
.vitrine-section {
    position: relative;
    overflow: hidden;
}

.vitrine-section > .container {
    position: relative;
    z-index: 1;
}

/* Golden hour — lumiere doree cinematique derriere la vitrine */
.vitrine-section::before {
    content: '';
    position: absolute;
    inset: -30%;
    width: 160%;
    height: 160%;
    background:
        /* Halo principal — soleil couchant a gauche */
        radial-gradient(ellipse 45% 55% at 10% 55%, rgba(140, 140, 140, 0.14) 0%, transparent 65%),
        /* Reflet chaud en haut a droite */
        radial-gradient(ellipse 35% 40% at 80% 20%, rgba(125, 125, 125, 0.10) 0%, transparent 55%),
        /* Nappe ambiante basse */
        radial-gradient(ellipse 60% 25% at 50% 90%, rgba(130, 130, 130, 0.08) 0%, transparent 60%),
        /* Flare anamorphique — bande horizontale */
        linear-gradient(
            180deg,
            transparent 35%,
            rgba(165, 165, 165, 0.04) 45%,
            rgba(175, 175, 175, 0.07) 50%,
            rgba(165, 165, 165, 0.04) 55%,
            transparent 65%
        );
    animation: golden-hour-drift 25s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

/* Grain photo derriere la vitrine */
.vitrine-section::after {
    content: '';
    position: absolute;
    inset: -50%;
    width: 200%;
    height: 200%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
    background-size: 128px 128px;
    opacity: 0.04;
    z-index: 0;
    pointer-events: none;
    animation: grain-drift 8s steps(4) infinite;
    mix-blend-mode: multiply;
}

/* Golden hour : le halo derive lentement comme le soleil */
@keyframes golden-hour-drift {
    0% {
        transform: translate(0, 0) rotate(0deg);
        filter: hue-rotate(0deg);
    }
    25% {
        transform: translate(3%, -2%) rotate(0.5deg);
        filter: hue-rotate(-5deg);
    }
    50% {
        transform: translate(-2%, 3%) rotate(-0.3deg);
        filter: hue-rotate(5deg);
    }
    75% {
        transform: translate(1%, -1%) rotate(0.2deg);
        filter: hue-rotate(-3deg);
    }
    100% {
        transform: translate(0, 0) rotate(0deg);
        filter: hue-rotate(0deg);
    }
}

.vitrine-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: clamp(16px, 3vw, 24px);
    position: relative;
}

/* Titre anime (les mots se superposent) */
.vitrine-title-wrap {
    position: relative;
    overflow: hidden;
    height: clamp(38px, 5.5vw, 68px);
}

.vitrine-title {
    position: relative;
    height: 100%;
}

.vitrine-title__word {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transform: translateY(100%);
    transition: opacity 0.8s var(--ease-out-expo),
                transform 0.8s var(--ease-out-expo);
    white-space: nowrap;
    font-style: italic;
}

.vitrine-title__word.active {
    opacity: 1;
    transform: translateY(0);
}

.vitrine-title__word.leaving {
    opacity: 0;
    transform: translateY(-100%);
}

/* Watermark flottant */
.vitrine-watermark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--font-display);
    font-size: clamp(80px, 14vw, 220px);
    font-weight: 300;
    font-style: italic;
    color: var(--ink);
    opacity: 0.03;
    pointer-events: none;
    white-space: nowrap;
    letter-spacing: 0.05em;
    z-index: 0;
    transition: opacity 0.8s ease;
}

/* Nav categories */
.vitrine-nav {
    display: flex;
    gap: clamp(20px, 4vw, 40px);
    margin-bottom: clamp(24px, 4vw, 40px);
}

.vitrine-nav__btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    position: relative;
    padding-bottom: 10px;
}

.vitrine-nav__label {
    font-family: var(--font);
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--ink-light);
    transition: color 0.4s ease;
}

.vitrine-nav__btn.active .vitrine-nav__label,
.vitrine-nav__btn:hover .vitrine-nav__label {
    color: var(--ink);
}

.vitrine-nav__btn:focus-visible {
    outline: 1px solid var(--ink);
    outline-offset: 4px;
}

/* Barre de progression sous le bouton actif */
.vitrine-nav__bar {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 1.5px;
    width: 0%;
    background: var(--ink);
    transition: width 0.15s ease;
}

.vitrine-nav__btn.active .vitrine-nav__bar {
    width: 100%;
    transition: width 7s linear;
}

.vitrine-link {
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--ink-dim);
    transition: color 0.3s ease;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.vitrine-link::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--ink);
    transform: translateX(-101%);
    transition: transform 0.5s var(--ease-out-expo);
}

.vitrine-link:hover {
    color: var(--ink);
}

.vitrine-link:hover::after {
    transform: translateX(0);
}

.vitrine-link i {
    font-size: 12px;
    margin-left: 4px;
    transition: transform 0.4s var(--ease-out-expo);
}

.vitrine-link:hover i {
    transform: translateX(6px);
}

/* Stage - conteneur des grilles empilees */
.vitrine-stage {
    position: relative;
    z-index: 2;
    height: clamp(400px, 50vw, 620px);
    overflow: hidden;
}

/* Grille asymetrique : 1 grande a gauche + 2 petites a droite */
.vitrine-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 6px;
    height: 100%;
    pointer-events: none;
    position: absolute;
    inset: 0;
    visibility: hidden;
}

/* Photo hero (grande, couvre 2 rangees) */
.vitrine-grid__item:nth-child(1) {
    grid-row: 1 / -1;
}

/* Afficher max 3 items, cacher le reste */
.vitrine-grid__item:nth-child(n+4) {
    display: none;
}

/* Chaque item : clip-path reveal (direction geree par JS) */
.vitrine-grid__item {
    overflow: hidden;
    position: relative;
    cursor: pointer;
    clip-path: inset(0 0 0 0);
}

/* Quand la grille est active */
.vitrine-grid.active {
    pointer-events: auto;
    visibility: visible;
}

/* La transition clip-path est appliquee par JS avec des directions aleatoires */
.vitrine-grid__item.revealing {
    clip-path: inset(0 0 0 0) !important;
    transition: clip-path 0.9s var(--ease-out-expo) !important;
}

.vitrine-grid__item.leaving-item {
    transition: clip-path 0.7s cubic-bezier(0.7, 0, 0.3, 1) !important;
}

.vitrine-grid.leaving {
    pointer-events: none;
    visibility: visible;
}

.vitrine-grid__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* Overlay desactive : demande cliente, les photos restent nues pour etre
   mises en valeur. On garde la regle au cas ou un .vitrine-grid__overlay
   est rendu cote HTML, mais on le masque. */
.vitrine-grid__overlay {
    display: none;
}

/* Footer vitrine : compteur + bouton */
.vitrine-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: clamp(24px, 3vw, 40px);
}

.vitrine-counter {
    font-family: var(--font);
    font-size: 13px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--ink-light);
}

.vitrine-counter__num {
    font-weight: 600;
    color: var(--ink);
    transition: opacity 0.3s ease;
}

/* Bouton pause/lecture du défilement automatique de la vitrine (a11y WCAG 2.2.2) */
.vitrine-playpause {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: none;
    border: 1px solid var(--rule);
    border-radius: 100px;
    padding: 7px 14px;
    font-family: var(--font);
    font-size: 12px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--ink-dim);
    cursor: pointer;
    transition: color 0.25s ease, border-color 0.25s ease;
}
.vitrine-playpause:hover { color: var(--ink); border-color: var(--ink-light); }
.vitrine-playpause__icon {
    width: 9px; height: 11px;
    /* deux barres = pause (état par défaut : le cycle joue, on propose de le stopper) */
    border-style: solid;
    border-width: 0 3px;
    border-color: currentColor;
    box-sizing: border-box;
}
.vitrine-playpause.is-paused .vitrine-playpause__icon {
    /* triangle = lecture (le cycle est en pause) */
    width: 0; height: 0;
    border-style: solid;
    border-width: 6px 0 6px 10px;
    border-color: transparent transparent transparent currentColor;
}

/* ===========================
   Animations
   =========================== */

/* --- Keyframes --- */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleReveal {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes lineGrow {
    from { transform: scaleX(0); }
    to { transform: scaleX(1); }
}

@keyframes heroTitle {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Hero entrance (on page load) --- */
.hero__title {
    animation: heroTitle 1.2s var(--ease-out-expo) 0.2s both;
}

.hero .btn {
    animation: heroTitle 1s var(--ease-out-expo) 0.8s both;
}

/* --- Scroll reveal system --- */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.9s var(--ease-out-expo),
                transform 0.9s var(--ease-out-expo);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal--left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.9s var(--ease-out-expo),
                transform 0.9s var(--ease-out-expo);
}

.reveal--left.visible {
    opacity: 1;
    transform: translateX(0);
}

.reveal--right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.9s var(--ease-out-expo),
                transform 0.9s var(--ease-out-expo);
}

.reveal--right.visible {
    opacity: 1;
    transform: translateX(0);
}

.reveal--scale {
    opacity: 0;
    transform: scale(0.96);
    transition: opacity 0.9s var(--ease-out-expo),
                transform 0.9s var(--ease-out-expo);
}

.reveal--scale.visible {
    opacity: 1;
    transform: scale(1);
}

/* --- Gallery staggered reveal --- */
.gallery-grid__item {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s var(--ease-out-expo),
                transform 0.7s var(--ease-out-expo);
}

.gallery-grid__item.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Aucun effet au survol des images (demande cliente) */
.gallery-grid__item {
    position: relative;
}

/* --- Button hover refinement (handled in base .btn) --- */

/* --- Form field animations --- */
.form__group {
    position: relative;
}

.form__group::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--ink);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s var(--ease-out-expo);
}

.form__group:focus-within::after {
    transform: scaleX(1);
}

/* Les pages form-editorial ont leur propre focus (border-bottom dore
   direct sur l'input) — on desactive le ::after noir du .form__group
   qui creait un double trait visible. */
.body--form-editorial .form__group::after {
    display: none;
}

.form__label {
    transition: color 0.3s ease;
}

.form__group:focus-within .form__label {
    color: var(--ink);
}

/* --- Header entrance --- */
.header {
    animation: fadeIn 0.8s ease 0.1s both;
}

/* --- Footer reveal --- */
.footer__top {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s var(--ease-out-expo),
                transform 1s var(--ease-out-expo);
}

.footer.visible .footer__top {
    opacity: 1;
    transform: translateY(0);
}

/* --- CTA section reveal --- */
.cta h2,
.cta p,
.cta .btn {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.7s var(--ease-out-expo),
                transform 0.7s var(--ease-out-expo);
}

.cta.visible h2 {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0s;
}

.cta.visible p {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.15s;
}

.cta.visible .btn {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.3s;
}

/* Apres la reveal, on revient a la transition rapide du .btn de base
   pour que l'effet magnetic soit aussi reactif que sur les autres .btn */
.cta.visible .btn:hover {
    transition: background var(--transition-speed) ease,
                color var(--transition-speed) ease,
                transform 0.4s var(--ease-out-expo);
}

/* --- Nav link hover enhancement --- */
.nav__link::after {
    transition: width 0.4s var(--ease-out-expo);
}

/* --- Vitrine reveal --- */
.vitrine-nav,
.vitrine-stage,
.vitrine-footer {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.9s var(--ease-out-expo),
                transform 0.9s var(--ease-out-expo);
}

.vitrine-section.visible .vitrine-nav {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.2s;
}

.vitrine-section.visible .vitrine-stage {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.4s;
}

.vitrine-section.visible .vitrine-footer {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.6s;
}

/* --- About section split reveal --- */
.about__text {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 1s var(--ease-out-expo),
                transform 1s var(--ease-out-expo);
}

.about__image {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 1s var(--ease-out-expo),
                transform 1s var(--ease-out-expo);
    transition-delay: 0.2s;
}

.about.visible .about__text,
.about.visible .about__image {
    opacity: 1;
    transform: translateX(0);
}

/* --- Page title reveal (galerie, contact, devis) --- */
.page-reveal h1 {
    animation: heroTitle 1s var(--ease-out-expo) 0.15s both;
}

.page-reveal p {
    animation: heroTitle 0.9s var(--ease-out-expo) 0.35s both;
}

.page-reveal .gallery-filters {
    animation: fadeUp 0.8s var(--ease-out-expo) 0.5s both;
}

.page-reveal .form {
    animation: fadeUp 0.8s var(--ease-out-expo) 0.45s both;
}

/* ===========================
   Responsive
   =========================== */


/* ===========================
   Cinematic Darkroom Features
   =========================== */

/* --- Aperture Loader --- */
.aperture-loader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: var(--ink);
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: all;
    transition: opacity 0.6s ease 0.2s, visibility 0.6s ease 0.2s;
}

.aperture-loader.done {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.aperture-iris {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.aperture-blade {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 120vmax;
    height: 120vmax;
    background: var(--ink);
    transform-origin: 0 0;
    transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
    z-index: 1;
}

/* 6 blades forming a hexagonal iris */
.aperture-blade:nth-child(1) { transform: rotate(0deg) translateY(-50%); }
.aperture-blade:nth-child(2) { transform: rotate(60deg) translateY(-50%); }
.aperture-blade:nth-child(3) { transform: rotate(120deg) translateY(-50%); }
.aperture-blade:nth-child(4) { transform: rotate(180deg) translateY(-50%); }
.aperture-blade:nth-child(5) { transform: rotate(240deg) translateY(-50%); }
.aperture-blade:nth-child(6) { transform: rotate(300deg) translateY(-50%); }

.aperture-loader.opening .aperture-blade:nth-child(1) { transform: rotate(0deg) translateY(-50%) translateX(120vmax); }
.aperture-loader.opening .aperture-blade:nth-child(2) { transform: rotate(60deg) translateY(-50%) translateX(120vmax); }
.aperture-loader.opening .aperture-blade:nth-child(3) { transform: rotate(120deg) translateY(-50%) translateX(120vmax); }
.aperture-loader.opening .aperture-blade:nth-child(4) { transform: rotate(180deg) translateY(-50%) translateX(120vmax); }
.aperture-loader.opening .aperture-blade:nth-child(5) { transform: rotate(240deg) translateY(-50%) translateX(120vmax); }
.aperture-loader.opening .aperture-blade:nth-child(6) { transform: rotate(300deg) translateY(-50%) translateX(120vmax); }

/* Stagger each blade */
.aperture-blade:nth-child(1) { transition-delay: 0ms; }
.aperture-blade:nth-child(2) { transition-delay: 40ms; }
.aperture-blade:nth-child(3) { transition-delay: 80ms; }
.aperture-blade:nth-child(4) { transition-delay: 120ms; }
.aperture-blade:nth-child(5) { transition-delay: 160ms; }
.aperture-blade:nth-child(6) { transition-delay: 200ms; }

/* Shutter sound line — decorative ring */
.aperture-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 140px;
    height: 140px;
    transform: translate(-50%, -50%);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 50%;
    z-index: 2;
    opacity: 1;
    transition: opacity 0.4s ease, transform 0.8s var(--ease-out-expo);
}

.aperture-loader.opening .aperture-ring {
    transform: translate(-50%, -50%) scale(8);
    opacity: 0;
}

/* --- Custom Cursor desactive : on garde le curseur systeme natif
   (demande cliente : "changer la souris (classique)") --- */
.cursor-dot,
.cursor-ring {
    display: none !important;
}

/* --- Scroll Progress Film Strip --- */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    z-index: 101;
    background: transparent;
    pointer-events: none;
}

.scroll-progress__bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(
        90deg,
        var(--gold-dim) 0%,
        var(--gold) 50%,
        var(--gold-dim) 100%
    );
    transition: width 0.05s linear;
    position: relative;
}

/* Subtle sprocket marks on the progress bar */
.scroll-progress__bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        90deg,
        transparent 0px,
        transparent 28px,
        rgba(0,0,0,0.15) 28px,
        rgba(0,0,0,0.15) 30px
    );
}

/* --- Film Perforation Borders --- */
.section--dark {
    --perf-size: 10px;
    --perf-gap: 28px;
}

.film-perf {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 24px;
    z-index: 2;
    pointer-events: none;
}

.film-perf--left {
    left: 8px;
}

.film-perf--right {
    right: 8px;
}

.film-perf::before {
    content: '';
    position: absolute;
    inset: 16px 0;
    background: repeating-linear-gradient(
        180deg,
        transparent 0px,
        transparent 8px,
        rgba(255,255,255,0.06) 8px,
        rgba(255,255,255,0.06) 18px,
        transparent 18px,
        transparent 28px
    );
    mask-image: repeating-linear-gradient(
        180deg,
        transparent 0px,
        transparent 8px,
        black 8px,
        black 18px,
        transparent 18px,
        transparent 28px
    );
    -webkit-mask-image: repeating-linear-gradient(
        180deg,
        transparent 0px,
        transparent 8px,
        black 8px,
        black 18px,
        transparent 18px,
        transparent 28px
    );
    border-radius: 1px;
}

/* Tilt 3D retire (demande cliente). On neutralise le noeud .gallery-grid__shine
   au cas ou il est encore rendu cote HTML. */
.gallery-grid__shine {
    display: none;
}

/* --- Cinematic Quote Section --- */
section.quote-section {
    position: relative;
    overflow: hidden;
    background: var(--ink);
    color: var(--bg);
    padding: clamp(80px, 14vw, 200px) 0;
}

.quote-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 50% 60% at 30% 40%, rgba(10, 10, 10, 0.10) 0%, transparent 60%),
        radial-gradient(ellipse 40% 50% at 70% 60%, rgba(60, 60, 60, 0.06) 0%, transparent 60%);
    animation: warmth-shift 20s ease-in-out infinite;
    pointer-events: none;
}

/* Film grain on quote section */
.quote-section::after {
    content: '';
    position: absolute;
    inset: -50%;
    width: 200%;
    height: 200%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
    background-size: 128px 128px;
    opacity: 0.06;
    pointer-events: none;
    animation: grain-drift 8s steps(4) infinite;
    mix-blend-mode: soft-light;
}

.quote-section > * {
    position: relative;
    z-index: 1;
}

.quote__content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    padding: 0 var(--pad);
}

.quote__mark {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(60px, 10vw, 120px);
    font-weight: 300;
    line-height: 0.5;
    color: var(--gold-dim);
    margin-bottom: clamp(16px, 3vw, 32px);
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.8s var(--ease-out-expo),
                transform 0.8s var(--ease-out-expo);
}

.quote-section.visible .quote__mark {
    opacity: 1;
    transform: scale(1);
}

.quote__text {
    font-family: var(--font-display);
    font-size: clamp(24px, 4vw, 48px);
    font-weight: 300;
    font-style: italic;
    line-height: 1.3;
    letter-spacing: -0.01em;
    max-width: none;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s var(--ease-out-expo) 0.2s,
                transform 1s var(--ease-out-expo) 0.2s;
}

.quote-section.visible .quote__text {
    opacity: 1;
    transform: translateY(0);
}

.quote__rule {
    width: 50px;
    height: 1px;
    background: var(--gold-dim);
    margin: clamp(24px, 3vw, 40px) auto;
    opacity: 0;
    transform: scaleX(0);
    transition: opacity 0.8s ease 0.5s,
                transform 0.8s var(--ease-out-expo) 0.5s;
}

.quote-section.visible .quote__rule {
    opacity: 1;
    transform: scaleX(1);
}

.quote__author {
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gold-dim);
    max-width: none;
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.8s ease 0.6s,
                transform 0.8s var(--ease-out-expo) 0.6s;
}

.quote-section.visible .quote__author {
    opacity: 1;
    transform: translateY(0);
}

/* Film perfs on quote section too */
.quote-section .film-perf::before {
    background: repeating-linear-gradient(
        180deg,
        transparent 0px,
        transparent 8px,
        rgba(255,255,255,0.05) 8px,
        rgba(255,255,255,0.05) 18px,
        transparent 18px,
        transparent 28px
    );
}

/* --- Enhanced Editorial Footer --- */
.footer {
    border-top: none;
    position: relative;
    padding: 0;
    text-align: left;
    background: var(--ink);
    color: var(--bg);
    overflow: hidden;
}

.footer::after {
    content: '';
    position: absolute;
    inset: -50%;
    width: 200%;
    height: 200%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
    background-size: 128px 128px;
    opacity: 0.04;
    pointer-events: none;
    animation: grain-drift 8s steps(4) infinite;
    mix-blend-mode: soft-light;
}

.footer > * {
    position: relative;
    z-index: 1;
}

.footer__top {
    padding: clamp(60px, 10vw, 120px) 0 clamp(40px, 6vw, 60px);
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: clamp(40px, 5vw, 80px);
    align-items: start;
}

.footer__brand-block {}

.footer__brand {
    font-family: var(--font-display);
    font-size: clamp(36px, 5vw, 64px);
    font-weight: 300;
    font-style: italic;
    margin-bottom: 12px;
    color: var(--bg);
    max-width: none;
    line-height: 1.1;
}

.footer__tagline {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.66); /* AA : contraste >= 4.5:1 sur fond --ink */
    margin-bottom: 0;
    max-width: none;
    letter-spacing: 0.04em;
}

.footer__nav-title {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.66); /* AA */
    margin-bottom: 20px;
}

.footer__nav-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer__nav-list a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    letter-spacing: 0.02em;
    transition: color 0.3s ease;
}

.footer__nav-list a:hover {
    color: #fff;
}

.footer__nav-list a i {
    font-size: 15px;
    vertical-align: -1px;
    margin-right: 4px;
}

.footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 24px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer__copy {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.66); /* AA */
    letter-spacing: 0.02em;
    max-width: none;
}

.footer__back-top {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.72); /* AA — contrôle fonctionnel, contraste renforcé */
    letter-spacing: 0.06em;
    text-transform: uppercase;
    transition: color 0.3s ease;
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--font);
}

.footer__back-top:hover {
    color: rgba(255, 255, 255, 0.7);
}

.footer__back-top:active {
    transform: translateY(1px);
}

.footer__back-top:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 4px;
    border-radius: 2px;
}

.footer__back-top i {
    margin-left: 6px;
    font-size: 10px;
}

/* ===========================
   Polaroid Component
   =========================== */

.polaroid {
    position: relative;
    background: #f0f0f0;
    padding: 14px 14px 32px;
    box-shadow:
        0 1px 2px rgba(0,0,0,0.08),
        0 12px 32px rgba(0,0,0,0.12),
        0 24px 60px rgba(0,0,0,0.08);
    transform: rotate(-1.5deg);
    transition: transform 0.6s var(--ease-out-expo);
    max-width: 420px;
    margin: 0 auto;
}

.polaroid:hover {
    transform: rotate(0deg);
}

.polaroid__frame {
    position: relative;
    aspect-ratio: 4/5;
    overflow: hidden;
    background: #e3e3e3;
}

.polaroid__frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(8%) sepia(3%) brightness(0.98);
}

/* Elegant placeholder — sepia gradient with camera icon */
.polaroid__placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    background:
        radial-gradient(ellipse 80% 60% at 50% 40%, rgba(10, 10, 10, 0.10) 0%, transparent 70%),
        linear-gradient(180deg, #dddddd 0%, #c8c8c8 100%);
}

.polaroid__placeholder::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
    background-size: 128px 128px;
    opacity: 0.15;
    mix-blend-mode: multiply;
    pointer-events: none;
}

.polaroid__camera {
    width: 56px;
    height: 56px;
    color: rgba(50, 50, 50, 0.5);
    position: relative;
    z-index: 1;
}

/* Tape decoration */
.polaroid__tape {
    position: absolute;
    width: 70px;
    height: 22px;
    background: rgba(170, 170, 170, 0.35);
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
    z-index: 2;
}

.polaroid__tape::before,
.polaroid__tape::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 4px;
    background: inherit;
    clip-path: polygon(0 0, 100% 20%, 100% 80%, 0 100%);
}

.polaroid__tape--tl {
    top: -10px;
    left: -14px;
    transform: rotate(-32deg);
}

.polaroid__tape--br {
    bottom: 38px;
    right: -14px;
    transform: rotate(28deg);
}

/* ===========================
   Hero Enhancements (meta + scroll indicator)
   =========================== */

.hero__meta {
    display: inline-block;
    position: relative;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--ink-dim);
    opacity: 0;
    animation: heroTitle 0.8s var(--ease-out-expo) 0s both;
}

.hero__meta-dot {
    position: absolute;
    right: calc(100% + 10px);
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--gold);
    box-shadow: 0 0 0 0 rgba(10, 10, 10, 0.6);
    animation: pulse-dot 2.5s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { box-shadow: 0 0 0 0 rgba(10, 10, 10, 0.6); }
    50% { box-shadow: 0 0 0 8px rgba(10, 10, 10, 0); }
}

.hero__scroll {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-top: clamp(32px, 5vw, 56px);
    opacity: 0;
    animation: heroTitle 1s var(--ease-out-expo) 1.2s both;
    color: var(--ink);
    text-decoration: none;
}
.hero__scroll-label {
    font-size: 10px;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--ink-dim);
    font-weight: 500;
}
.hero__scroll-line {
    display: block;
    width: 1px;
    height: 42px;
    background: linear-gradient(to bottom, transparent 0%, var(--gold) 100%);
    position: relative;
    overflow: hidden;
}
.hero__scroll-line::after {
    content: '';
    position: absolute;
    top: -50%;
    left: 0; right: 0;
    height: 50%;
    background: linear-gradient(to bottom, transparent 0%, rgba(255, 255, 255, 0.9) 100%);
    animation: scrollDown 2.2s ease-in-out infinite;
}
@keyframes scrollDown {
    0%   { top: -50%; }
    100% { top: 100%; }
}
.hero__scroll:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 6px;
    border-radius: 2px;
}
@media (max-width: 640px) {
    .hero__scroll-line { height: 32px; }
    .hero__scroll-label {
        font-size: 9px;
        letter-spacing: 0.28em;
    }
}
@media (prefers-reduced-motion: reduce) {
    .hero__scroll-line::after { animation: none; display: none; }
}


/* --- Reduced motion --- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-delay: 0ms !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }

    .aperture-loader {
        display: none !important;
    }

    .cursor-dot, .cursor-ring {
        display: none !important;
    }

    .reveal, .reveal--left, .reveal--right, .reveal--scale,
    .gallery-grid__item, .slider__item,
    .about__text, .about__image,
    .vitrine-nav, .vitrine-stage, .vitrine-footer,
    .cta h2, .cta p, .cta .btn,
    .quote__mark, .quote__text, .quote__rule, .quote__author {
        opacity: 1 !important;
        transform: none !important;
    }

    .vitrine-grid__item {
        clip-path: none !important;
    }

    .vitrine-grid__item img {
        animation: none !important;
        filter: none !important;
        transform: none !important;
    }

    .vitrine-nav__btn.active .vitrine-nav__bar {
        width: 100% !important;
        transition: none !important;
    }
}

/* ===========================================================
   MOBILE — Polaroid Journal (unique block, high specificity)
   Placed at the end of the stylesheet so it always wins the cascade.
   =========================================================== */

@media (max-width: 768px) {

    /* ----- Tokens mobile ----- */
    :root {
        --pad: 22px;
    }

    /* ----- Hero : carte-titre cinematique ----- */
    .hero {
        min-height: calc(100vh - 72px);
        min-height: calc(100dvh - 72px);
        padding: var(--pad);
    }

    /* Perf : retirer les filtres lourds (blur, inset-shadow) sur mobile */
    .hero__shape--s1,
    .hero__shape--s2 { filter: none; }
    .hero__blade { box-shadow: none; }
    .hero__grain { opacity: 0.15; }
    /* Retire la vignette trop chargee sur petit ecran */
    .hero__vignette { opacity: 0.6; }

    /* Polaroid captures plus petits sur mobile */
    .hero__captures {
        width: 130px;
        height: 160px;
        right: 16px;
        bottom: clamp(28px, 6vh, 64px);
    }
    .hero__capture { width: 112px; height: 138px; }
    .hero__capture-inner { padding: 7px 7px 22px; }
    .hero__capture-stamp { font-size: 8px; left: 9px; right: 9px; bottom: 6px; }

    .hero__hint {
        font-size: 9px;
        letter-spacing: 0.18em;
        bottom: clamp(20px, 3vh, 36px);
    }

    .hero__content {
        gap: 20px;
    }

    .hero__meta {
        font-size: 10px;
        letter-spacing: 0.22em;
    }

    .hero__title {
        font-size: clamp(48px, 14vw, 72px);
        line-height: 1;
        letter-spacing: -0.02em;
        margin: 0 !important;
    }

    .hero__btn {
        padding: 14px 32px;
        font-size: 12px;
        letter-spacing: 0.14em;
    }

    .hero__scroll {
        margin-top: clamp(20px, 4vw, 32px);
    }

    .hero__scroll-label {
        font-size: 9px;
        letter-spacing: 0.24em;
    }

    .hero__scroll-line {
        height: 28px;
    }

    /* ----- Header & Nav mobile ----- */
    /* Retirer backdrop-filter sur mobile : il cree un containing block
       qui casse le position:fixed du menu deroulant (hauteur 0). */
    .header {
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        background: rgba(250, 250, 250, 0.98) !important;
    }

    /* Header mobile : burger GAUCHE, logo CENTRE */
    .header__inner {
        display: grid !important;
        grid-template-columns: 32px 1fr 32px;
        align-items: center;
    }

    .nav__toggle {
        order: -1;
        justify-self: start;
        grid-column: 1;
    }

    .header__logo {
        font-size: 19px;
        grid-column: 2;
        text-align: center;
    }

    .header__inner > nav {
        grid-column: 3;
        justify-self: end;
    }

    .nav__toggle {
        display: block;
        z-index: 110;
    }

    /* ===== Nav mobile : film credits reveal ===== */
    .nav__list {
        display: flex !important;
        position: fixed !important;
        top: 72px !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        width: 100vw !important;
        background: #fafafa !important;
        background-color: #fafafa !important;
        flex-direction: column !important;
        align-items: stretch !important;
        justify-content: center !important;
        gap: 0 !important;
        padding: 24px var(--pad) 80px !important;
        border-bottom: none !important;

        /* Open/close animation : le panneau glisse depuis le haut avec opacity */
        transform: translateY(-12px);
        opacity: 0;
        pointer-events: none;
        /* visibility:hidden retire les liens du flux de tabulation ET des lecteurs
           d'écran quand le menu est fermé (opacity/pointer-events ne suffisaient pas).
           Le passage à hidden est retardé pour ne pas couper l'animation de fermeture. */
        visibility: hidden;
        transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
                    opacity 0.35s ease,
                    visibility 0s linear 0.55s;
        counter-reset: nav;
        z-index: 105 !important;
        overflow: hidden;
    }

    /* Glow dore top-right pour atmosphere */
    .nav__list::before {
        content: '';
        position: absolute;
        top: -30%;
        right: -20%;
        width: 80%;
        height: 80%;
        background: radial-gradient(ellipse at center,
            rgba(10, 10, 10, 0.12) 0%,
            transparent 65%);
        pointer-events: none;
        opacity: 0;
        transition: opacity 0.8s ease 0.1s;
    }

    /* Film grain texture derriere */
    .nav__list::after {
        content: '';
        position: absolute;
        inset: -50%;
        width: 200%;
        height: 200%;
        background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
        background-size: 128px 128px;
        opacity: 0;
        pointer-events: none;
        mix-blend-mode: multiply;
        transition: opacity 0.6s ease 0.15s;
    }

    .nav__list.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
        visibility: visible;
        transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
                    opacity 0.35s ease,
                    visibility 0s linear 0s;
    }

    .nav__list.open::before {
        opacity: 1;
    }

    .nav__list.open::after {
        opacity: 0.04;
    }

    /* Chaque item : reveal stagger en rideau */
    .nav__list li {
        counter-increment: nav;
        width: 100%;
        border-bottom: 1px solid var(--rule);
        padding: 18px 0;
        display: flex;
        align-items: baseline;
        gap: 20px;
        position: relative;
        z-index: 1;

        /* Entree : clip-path curtain depuis la gauche + slide */
        opacity: 0;
        transform: translateX(-24px);
        clip-path: inset(0 100% 0 0);
        transition: opacity 0.5s ease,
                    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1),
                    clip-path 0.7s cubic-bezier(0.22, 1, 0.36, 1);
    }

    .nav__list.open li {
        opacity: 1;
        transform: translateX(0);
        clip-path: inset(0 0 0 0);
    }

    /* Stagger delays cascades */
    .nav__list.open li:nth-child(1) { transition-delay: 0.12s; }
    .nav__list.open li:nth-child(2) { transition-delay: 0.20s; }
    .nav__list.open li:nth-child(3) { transition-delay: 0.28s; }
    .nav__list.open li:nth-child(4) { transition-delay: 0.36s; }
    .nav__list.open li:nth-child(5) { transition-delay: 0.44s; }

    /* Compteur : numero 01/02/... */
    .nav__list li::before {
        content: "0" counter(nav);
        font-family: var(--font);
        font-size: 10px;
        font-weight: 500;
        letter-spacing: 0.24em;
        color: var(--gold);
        min-width: 22px;
        transform: translateY(-2px);
    }

    /* Lien : Cormorant italique avec accent */
    .nav__link {
        padding: 0;
        font-family: var(--font-display);
        font-size: 36px;
        font-weight: 300;
        font-style: italic;
        text-transform: none;
        letter-spacing: -0.01em;
        color: var(--ink);
        flex: 1;
        transition: color 0.3s ease, transform 0.3s var(--ease-out-expo);
        display: inline-block;
    }

    .nav__link:active {
        transform: translateX(6px);
        color: var(--gold);
    }

    .nav__link::after {
        display: none;
    }

    .nav__link--active {
        color: var(--gold);
    }

    /* Petit indicateur visuel sur le lien actif */
    .nav__list li .nav__link--active::before {
        content: '';
        display: inline-block;
        width: 14px;
        height: 1px;
        background: var(--gold);
        vertical-align: middle;
        margin-right: 10px;
        transform: translateY(-4px);
    }

    /* Footer decoratif en bas du menu : sprocket holes */
    .nav__list.open::marker,
    .nav__list {
        position: relative;
    }

    /* Scroll lock quand menu ouvert */
    body.nav-open {
        overflow: hidden;
        touch-action: none;
    }

    /* Burger plus lisible et transition fluide vers X */
    .nav__toggle span {
        transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
                    opacity 0.25s ease;
    }

    /* ----- Sections : respiration ----- */
    .section {
        padding-top: clamp(60px, 14vw, 100px);
        padding-bottom: clamp(60px, 14vw, 100px);
    }

    .section--compact {
        padding-top: clamp(48px, 10vw, 72px);
        padding-bottom: clamp(48px, 10vw, 72px);
    }

    /* ----- About : polaroid au-dessus ----- */
    .about {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .about__text {
        text-align: center;
    }

    .about__text h2 {
        font-size: clamp(40px, 10vw, 56px);
        margin-bottom: 20px;
    }

    .about__text p {
        font-size: 16px;
        line-height: 1.7;
        margin-left: auto;
        margin-right: auto;
    }

    .about__image {
        order: -1;
        padding: 20px 0 8px;
    }

    .polaroid {
        max-width: 260px;
        padding: 12px 12px 24px;
        transform: rotate(-2.5deg);
    }

    .polaroid__camera {
        width: 44px;
        height: 44px;
    }

    .polaroid__tape {
        width: 60px;
        height: 18px;
    }

    .polaroid__tape--tl {
        top: -9px;
        left: -12px;
    }

    .polaroid__tape--br {
        bottom: 18px;
        right: -12px;
    }

    /* ----- Vitrine : photo unique majestueuse ----- */
    .vitrine-section {
        padding-top: clamp(60px, 12vw, 90px);
        padding-bottom: clamp(60px, 12vw, 90px);
    }

    .vitrine-header {
        flex-wrap: wrap;
        gap: 4px 12px;
        margin-bottom: 24px;
    }

    .vitrine-title {
        font-size: clamp(36px, 10vw, 52px) !important;
    }

    .vitrine-link {
        font-size: 11px;
        letter-spacing: 0.16em;
    }

    .vitrine-nav {
        gap: 6px;
        margin-bottom: 20px;
    }

    .vitrine-nav__btn {
        flex: 1;
        padding: 14px 8px !important;
    }

    .vitrine-nav__label {
        font-size: 11px !important;
        letter-spacing: 0.18em !important;
    }

    /* Stage plus haut pour loger 3 photos en mosaic */
    .vitrine-stage {
        height: clamp(480px, 115vw, 680px);
    }

    /* Mosaic mobile : 1 hero en haut (plein largeur) + 2 petites en bas */
    .vitrine-grid {
        grid-template-columns: 1fr 1fr !important;
        grid-template-rows: 1.65fr 1fr !important;
        gap: 5px !important;
    }

    /* Photo hero : plein largeur, rangee du haut */
    .vitrine-grid__item:nth-child(1) {
        grid-column: 1 / -1 !important;
        grid-row: 1 !important;
    }

    /* Photos secondaires : cote-a-cote, rangee du bas */
    .vitrine-grid__item:nth-child(2) {
        display: block !important;
        grid-column: 1 !important;
        grid-row: 2 !important;
    }

    .vitrine-grid__item:nth-child(3) {
        display: block !important;
        grid-column: 2 !important;
        grid-row: 2 !important;
    }

    /* Au-dela de 3 photos : cachees sur mobile */
    .vitrine-grid__item:nth-child(n+4) {
        display: none !important;
    }

    /* Overlay simplifie sur les 2 petites photos */
    .vitrine-grid__item:nth-child(2) .vitrine-grid__overlay,
    .vitrine-grid__item:nth-child(3) .vitrine-grid__overlay {
        padding: 12px 14px;
    }

    .vitrine-grid__item:nth-child(2) .vitrine-grid__alt,
    .vitrine-grid__item:nth-child(3) .vitrine-grid__alt {
        font-size: 12px;
    }

    .vitrine-watermark {
        display: none;
    }

    .vitrine-section::before {
        inset: -10%;
        width: 120%;
        height: 120%;
        background:
            radial-gradient(ellipse 50% 50% at 15% 55%, rgba(140, 140, 140, 0.12) 0%, transparent 65%),
            radial-gradient(ellipse 40% 40% at 80% 30%, rgba(125, 125, 125, 0.08) 0%, transparent 55%);
    }

    .vitrine-section::after {
        display: none;
    }

    .vitrine-grid__overlay {
        opacity: 1;
        background: linear-gradient(to top, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0) 45%);
        padding: 20px 18px;
    }

    .vitrine-grid__alt {
        transform: translateY(0);
        font-size: 15px;
    }

    .vitrine-grid__overlay i {
        display: none;
    }

    .vitrine-footer {
        flex-direction: column;
        gap: 18px;
        text-align: center;
        margin-top: 24px;
    }

    /* ----- Quote : FORCE dark bg ----- */
    section.quote-section,
    .quote-section {
        background: var(--ink) !important;
        color: var(--bg) !important;
        padding: clamp(72px, 16vw, 120px) 0 !important;
    }

    .quote__content {
        padding: 0 var(--pad);
    }

    .quote__mark {
        font-size: clamp(56px, 16vw, 80px) !important;
        line-height: 0.6 !important;
        margin-bottom: 14px !important;
        color: var(--gold-dim) !important;
    }

    .quote__text {
        font-family: var(--font-display) !important;
        font-size: clamp(22px, 6vw, 30px) !important;
        line-height: 1.35 !important;
        font-style: italic !important;
        font-weight: 300 !important;
        color: var(--bg) !important;
        max-width: none !important;
    }

    .quote__rule {
        margin: 24px auto 20px !important;
        width: 40px !important;
        height: 1px !important;
        background: var(--gold-dim) !important;
    }

    .quote__author {
        font-size: 10px !important;
        letter-spacing: 0.2em !important;
        color: var(--gold-dim) !important;
        text-transform: uppercase !important;
    }

    /* ----- CTA dark ----- */
    .section--dark .cta h2 {
        font-size: clamp(32px, 9vw, 48px);
    }

    /* ----- Forms ----- */
    .form__row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .form__group {
        margin-bottom: 22px;
    }

    .form__label {
        font-size: 11px;
        letter-spacing: 0.12em;
    }

    /* ----- Gallery grid 2 cols — aspect-ratio uniforme ----- */
    .gallery-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 6px !important;
    }

    .gallery-grid__item img {
        aspect-ratio: 4/5;
    }

    .gallery-grid__item {
        transform: none !important;
    }

    .gallery-grid__shine {
        display: none !important;
    }

    .gallery-filters {
        gap: 20px;
    }

    .gallery-filters a {
        font-size: 12px;
    }

    /* ----- Pagination : touch target 44px ----- */
    .pagination {
        gap: 6px;
        flex-wrap: wrap;
    }

    .pagination__link,
    .pagination__current {
        min-width: 44px;
        height: 44px;
        font-size: 13px;
        padding: 0 10px;
    }

    /* Gallery filters : tap zone généreuse */
    .gallery-filters a {
        padding: 10px 4px;
        display: inline-block;
        min-height: 44px;
        line-height: 1.4;
    }

    /* btn--small touch target (About, succès, empty state) */
    .btn--small {
        padding: 13px 26px;
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    /* ----- FOOTER : pile editorial centree, FORCE dark ----- */
    footer.footer {
        background: var(--ink) !important;
        color: var(--bg) !important;
        padding: 0 !important;
        text-align: center !important;
        border-top: none !important;
    }

    .footer .footer__top {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 40px !important;
        text-align: center !important;
        padding: clamp(56px, 12vw, 80px) 0 clamp(32px, 8vw, 48px) !important;
    }

    .footer__brand {
        font-size: clamp(36px, 10vw, 48px) !important;
        color: var(--bg) !important;
        margin-bottom: 8px !important;
        line-height: 1.1 !important;
    }

    .footer__tagline {
        color: rgba(255, 255, 255, 0.66) !important; /* AA */
        letter-spacing: 0.14em !important;
        font-size: 12px !important;
    }

    .footer__col {
        display: block;
    }

    .footer__nav-title {
        font-size: 10px !important;
        letter-spacing: 0.2em !important;
        text-transform: uppercase !important;
        color: rgba(255, 255, 255, 0.66) !important; /* AA */
        margin-bottom: 16px !important;
    }

    .footer .footer__nav-list {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 14px !important;
    }

    .footer__nav-list a {
        color: rgba(255, 255, 255, 0.65) !important;
        font-size: 14px !important;
        letter-spacing: 0.02em !important;
    }

    .footer__nav-list a i {
        margin-right: 6px;
    }

    .footer .footer__bottom {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 16px !important;
        text-align: center !important;
        padding: 22px var(--pad) !important;
        border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
    }

    .footer__copy {
        color: rgba(255, 255, 255, 0.66) !important; /* AA */
        font-size: 11px !important;
        letter-spacing: 0.04em !important;
    }

    .footer .footer__back-top {
        padding: 10px 22px !important;
        border: 1px solid rgba(255, 255, 255, 0.15) !important;
        border-radius: 999px !important;
        font-size: 11px !important;
        letter-spacing: 0.14em !important;
        color: rgba(255, 255, 255, 0.72) !important; /* AA */
    }

    .footer .footer__back-top:hover,
    .footer .footer__back-top:active {
        border-color: rgba(255, 255, 255, 0.4) !important;
        color: #fff !important;
    }

    /* ----- Features cachees au touch ----- */
    .film-perf,
    .cursor-dot,
    .cursor-ring {
        display: none !important;
    }

    body.has-cursor,
    body.has-cursor * {
        cursor: auto !important;
    }

    .scroll-progress {
        height: 2px;
    }

    /* ----- Lightbox touch-friendly ----- */
    .lightbox__close {
        width: 48px;
        height: 48px;
        font-size: 28px;
        top: calc(env(safe-area-inset-top, 0px) + 12px);
        right: calc(env(safe-area-inset-right, 0px) + 12px);
    }

    .lightbox__nav {
        width: 44px;
        height: 44px;
        font-size: 24px;
        opacity: 0.6;
    }

    .lightbox__nav--prev { left: 12px; }
    .lightbox__nav--next { right: 12px; }

    /* ===== Tap states — feedback tactile sur tous les interactifs ===== */
    .btn,
    a,
    button {
        -webkit-tap-highlight-color: transparent;
    }

    .btn {
        transition: background var(--transition-speed) ease,
                    color var(--transition-speed) ease,
                    transform 0.15s ease,
                    box-shadow 0.15s ease;
    }

    .btn:active {
        transform: scale(0.97);
        transition-duration: 0.1s;
    }

    /* Gallery items : pressed state */
    .gallery-grid__item:active,
    .vitrine-grid__item:active {
        transform: scale(0.98) !important;
        transition: transform 0.15s ease;
    }

    /* Gallery filter links : press feedback */
    .gallery-filters a:active {
        opacity: 0.6;
    }

    /* Pagination press */
    .pagination__link:active {
        background: var(--ink);
        color: #fff;
    }

    /* Focus-within : label en or coherent avec l'accent du design */
    .body--form-editorial .form__group:focus-within .form__label {
        color: var(--gold);
    }

    /* ===== Polaroid polish mobile : plus de drama ===== */
    .polaroid {
        box-shadow:
            0 2px 4px rgba(0,0,0,0.1),
            0 14px 28px rgba(0,0,0,0.14),
            0 28px 60px rgba(0,0,0,0.1) !important;
    }

    .polaroid__tape {
        background: rgba(170, 170, 170, 0.32) !important;
        backdrop-filter: blur(2px);
        -webkit-backdrop-filter: blur(2px);
    }

    /* ===== Quote section polish : guillemets dores plus expressifs ===== */
    .quote__mark {
        text-shadow: 0 2px 20px rgba(10, 10, 10, 0.25);
    }

    /* ===== Footer polish : accents dores ===== */
    .footer__brand {
        text-shadow: 0 1px 30px rgba(10, 10, 10, 0.08);
    }

    .footer__nav-list a {
        position: relative;
        padding: 6px 0;
        transition: color 0.3s ease, transform 0.3s ease !important;
    }

    .footer__nav-list a:active {
        color: var(--gold) !important;
        transform: translateX(2px);
    }

    /* ===== Vitrine nav : touch area elargie ===== */
    .vitrine-nav__btn {
        min-height: 48px;
    }

    .vitrine-nav__btn:active .vitrine-nav__label {
        color: var(--gold);
    }

    /* ===== Hero CTA : pulse subtil pour attirer l'attention ===== */
    @media (prefers-reduced-motion: no-preference) {
        .hero__btn {
            box-shadow: 0 0 0 0 rgba(10, 10, 10, 0);
            animation: hero-btn-pulse 3.5s ease-in-out 2s infinite;
        }
    }

    .hero__btn:active {
        animation: none;
        background: var(--ink) !important;
        color: #fff !important;
    }

    @keyframes hero-btn-pulse {
        0%, 100% { box-shadow: 0 0 0 0 rgba(10, 10, 10, 0); }
        50% { box-shadow: 0 0 0 8px rgba(10, 10, 10, 0.05); }
    }

    /* ===== Meta viewport fix pour iOS notch ===== */
    .header {
        padding-top: env(safe-area-inset-top, 0px);
    }

    .hero {
        padding-top: calc(var(--pad) + env(safe-area-inset-top, 0px));
        padding-bottom: calc(var(--pad) + env(safe-area-inset-bottom, 0px));
    }

    /* Safe-area pour le footer bottom */
    .footer .footer__bottom {
        padding-bottom: calc(22px + env(safe-area-inset-bottom, 0px)) !important;
    }

    /* ===== Selection de texte : teinte doree ===== */
    ::selection {
        background: rgba(10, 10, 10, 0.25);
        color: var(--ink);
    }

    /* ===== Scroll-progress sur fond dore plus vivant ===== */
    .scroll-progress__bar {
        box-shadow: 0 0 8px rgba(10, 10, 10, 0.3);
    }
}

/* ----- Tres petits ecrans ----- */
@media (max-width: 480px) {
    :root {
        --pad: 18px;
    }

    .hero__title {
        font-size: clamp(44px, 15vw, 60px);
    }

    /* Polaroids encore plus compacts sur tres petits ecrans */
    .hero__captures {
        width: 110px;
        height: 138px;
        right: 12px;
    }
    .hero__capture { width: 96px; height: 118px; }
    .hero__capture-inner { padding: 6px 6px 18px; }
    .hero__capture-stamp { font-size: 7px; bottom: 4px; }

    .gallery-grid {
        gap: 4px !important;
    }

    .gallery-grid__item img,
    .gallery-grid__item:nth-child(3n) img {
        aspect-ratio: 1 / 1;
    }

    .polaroid {
        max-width: 220px;
    }

    .vitrine-stage {
        height: clamp(440px, 115vw, 580px);
    }

    .footer__brand {
        font-size: clamp(32px, 11vw, 42px) !important;
    }

    .footer .footer__top {
        gap: 32px !important;
        padding: 56px 0 28px !important;
    }

    .nav__link {
        font-size: 26px;
    }

    .nav__list li {
        padding: 12px 0;
    }
}

/* --- Admin responsive --- */
@media (max-width: 768px) {
    .admin-sidebar {
        width: 100%;
        position: relative;
        padding: 16px 0;
    }

    .admin-sidebar__logo {
        padding: 0 16px 16px;
        margin-bottom: 8px;
    }

    .admin-sidebar__nav {
        display: flex;
        overflow-x: auto;
        gap: 0;
        padding: 0 8px;
    }

    .admin-nav-item {
        padding: 8px 14px;
        white-space: nowrap;
        font-size: 13px;
    }

    .admin-nav-item.active {
        border-left: none;
        border-bottom: 2px solid #fff;
        padding-left: 14px;
    }

    .admin-nav-item i {
        display: none;
    }

    .admin-sidebar__footer {
        display: none;
    }

    .admin-shell {
        flex-direction: column;
    }

    .admin-main {
        margin-left: 0;
        padding: 20px 16px;
    }
}

/* ========================================================================
   v2.2 — Refonte UI/UX : SVG icons, testimonials, FAQ, pricing, process,
          404, form AJAX, lightbox enhancements
   ======================================================================== */

/* ----- SVG icons inline : comportement par défaut ----- */
.footer__ico-link svg,
.vitrine-link svg,
.footer__back-top svg {
    width: 1em;
    height: 1em;
    vertical-align: -0.12em;
    margin-right: 0.25em;
}
.footer__back-top svg { margin-left: 0.3em; margin-right: 0; }
.vitrine-grid__overlay svg {
    width: 20px;
    height: 20px;
    color: #fff;
    stroke-width: 2;
}

/* ----- Eyebrow (tag de section) ----- */
/* Alias — conserve pour retrocompatibilite, meme style que .home-eyebrow */
.section-eyebrow,
.home-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 11px;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--gold);
    font-weight: 500;
    margin-bottom: 14px;
}
.home-eyebrow::before,
.section-eyebrow::before {
    content: '';
    width: 24px; height: 1px;
    background: var(--gold);
}
/* Quand utilise dans un contexte centre (testimonials) */
.testimonials-header .section-eyebrow {
    justify-content: center;
}

/* ========================================================================
   TÉMOIGNAGES (home)
   ======================================================================== */
.testimonials-section,
.google-reviews-section,
.instagram-section {
    background: linear-gradient(180deg, transparent 0%, rgba(10, 10, 10, 0.025) 50%, transparent 100%);
}

/* --- Widget Avis Google (Elfsight) ---
   Le widget charge son propre DOM/CSS. On lui donne juste un conteneur
   correctement aere et une min-height pour eviter le CLS pendant le boot. */
.google-reviews__widget,
.instagram__widget {
    max-width: 1100px;
    margin: 0 auto;
    min-height: 240px;
}
.google-reviews__widget > div,
.instagram__widget > div {
    width: 100%;
}
.testimonials-header {
    text-align: center;
    margin-bottom: clamp(32px, 5vw, 56px);
}
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: clamp(20px, 3vw, 32px);
    max-width: 1100px;
    margin: 0 auto;
}
.testimonial {
    position: relative;
    padding: clamp(28px, 3vw, 40px);
    background: #fff;
    border-radius: 2px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04), 0 20px 40px -20px rgba(0,0,0,0.1);
    border: 1px solid rgba(10,10,10,0.04);
    transition: transform 0.45s var(--ease-out-expo), box-shadow 0.45s var(--ease-out-expo);
}
.testimonial:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.06), 0 30px 60px -20px rgba(10, 10, 10, 0.2);
}
.testimonial__mark {
    position: absolute;
    top: 8px;
    left: 20px;
    font-family: var(--font-display);
    font-size: 80px;
    line-height: 1;
    color: var(--gold);
    opacity: 0.25;
    pointer-events: none;
}
.testimonial__quote {
    font-family: var(--font-display);
    font-size: clamp(18px, 1.6vw, 20px);
    font-style: italic;
    line-height: 1.55;
    color: var(--ink);
    margin: 0 0 20px;
    position: relative;
    z-index: 1;
}
.testimonial__caption {
    display: flex;
    flex-direction: column;
    gap: 2px;
    font-size: 14px;
    padding-top: 16px;
    border-top: 1px solid var(--rule);
}
.testimonial__name {
    font-weight: 600;
    letter-spacing: 0.02em;
}
.testimonial__role {
    color: var(--ink-dim);
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* ========================================================================
   FORM AJAX : loading state, field errors, counter, label optional
   ======================================================================== */
.form__label-optional {
    color: var(--ink-dim);
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0.04em;
    text-transform: none;
    margin-left: 4px;
}
.form__meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-top: 6px;
    min-height: 18px;
    flex-wrap: wrap;
}
.form__counter {
    font-size: 12px;
    color: var(--ink-dim);
    letter-spacing: 0.04em;
    margin-left: auto;
    font-variant-numeric: tabular-nums;
}
.form__counter.is-warning { color: #6a6a6a; }
.form__counter.is-error   { color: #3a3a3a; font-weight: 500; }

.form__field-error {
    display: inline-block;
    font-size: 13px;
    color: #3a3a3a;
    line-height: 1.4;
    animation: field-err 0.25s ease-out;
}
@keyframes field-err {
    from { opacity: 0; transform: translateY(-4px); }
    to   { opacity: 1; transform: translateY(0); }
}
/* Mention RGPD sous les formulaires (information au moment de la collecte) */
.form__privacy {
    margin-top: 18px;
    font-size: 12.5px;
    line-height: 1.5;
    color: var(--ink-dim);
    max-width: 60ch;
}
.form__privacy a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

/* Bannière de consentement aux contenus tiers (Elfsight) */
.consent-banner {
    position: fixed;
    left: 50%;
    bottom: 20px;
    transform: translateX(-50%);
    z-index: 9000;
    width: min(680px, calc(100vw - 32px));
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 22px;
    background: #0a0a0a;
    color: #fff;
    border-radius: 10px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.28);
}
.consent-banner[hidden] { display: none; }
.consent-banner__text {
    flex: 1 1 300px;
    margin: 0;
    font-size: 13px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.86);
}
.consent-banner__text a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.consent-banner__actions { display: flex; gap: 10px; flex-shrink: 0; }
@media (max-width: 560px) {
    .consent-banner { flex-direction: column; align-items: stretch; text-align: left; }
    .consent-banner__actions { justify-content: flex-end; }
}
.form__input.is-invalid,
.form__textarea.is-invalid,
.form__select.is-invalid {
    border-color: #3a3a3a !important;
    background: rgba(58, 58, 58, 0.03);
}

.form__submit {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    min-width: 200px;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    transition: background 0.3s ease, color 0.3s ease, opacity 0.3s ease, transform 0.3s var(--ease-out-expo);
}
.form__submit[disabled] {
    opacity: 0.6;
    cursor: wait;
    pointer-events: none;
}
.form__submit-spinner {
    width: 16px;
    height: 16px;
    border: 2px solid currentColor;
    border-top-color: transparent;
    border-radius: 50%;
    display: none;
    animation: spin 0.7s linear infinite;
}
.form__submit.is-loading .form__submit-spinner { display: inline-block; }
.form__submit.is-loading .form__submit-label    { opacity: 0.6; }
@keyframes spin {
    to { transform: rotate(360deg); }
}

.form__error-banner { max-width: 640px; margin: 0 auto 24px; }
.form__error-banner[hidden] { display: none; }

.form__success.is-hidden { display: none; }
.form__success[hidden] { display: none; }
.form__success {
    text-align: center;
    max-width: 540px;
    margin: 0 auto;
    padding: clamp(40px, 6vw, 72px) clamp(24px, 4vw, 48px);
    background: #fff;
    border-radius: 2px;
    box-shadow: 0 30px 60px -20px rgba(0,0,0,0.15);
    border: 1px solid rgba(10, 10, 10, 0.2);
    animation: form-success 0.5s var(--ease-out-expo);
}
@keyframes form-success {
    from { opacity: 0; transform: translateY(20px) scale(0.96); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* ========================================================================
   GALERIE : filtres client + skeleton
   ======================================================================== */
.gallery-filters a {
    transition: color 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}
.gallery-filters a[aria-current="page"],
.gallery-filters a.active {
    color: var(--gold);
    border-bottom-color: var(--gold);
}

.gallery-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 60px 0;
}
.gallery-loading[hidden] { display: none; }
.gallery-loading__dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--gold);
    animation: load-pulse 1.2s infinite ease-in-out both;
}
.gallery-loading__dot:nth-child(1) { animation-delay: -0.32s; }
.gallery-loading__dot:nth-child(2) { animation-delay: -0.16s; }
@keyframes load-pulse {
    0%, 80%, 100% { transform: scale(0.3); opacity: 0.4; }
    40%           { transform: scale(1);   opacity: 1; }
}

.gallery-grid.is-fading { opacity: 0.3; }
.gallery-grid { transition: opacity 0.25s ease; }

/* gallery-grid__item en <button> : reset */
button.gallery-grid__item,
button.vitrine-grid__item {
    border: 0;
    padding: 0;
    background: transparent;
    font: inherit;
    color: inherit;
    cursor: pointer;
    display: block;
    width: 100%;
    text-align: left;
}
button.gallery-grid__item:focus-visible,
button.vitrine-grid__item:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 3px;
}

/* ========================================================================
   HERO : prefers-reduced-motion
   ======================================================================== */
@media (prefers-reduced-motion: reduce) {
    .hero__grain { animation: none; }
    .hero__shape { transition: none; }
    .hero__hint { animation: none; opacity: 0.5; }
}

/* ========================================================================
   404 PAGE
   ======================================================================== */
.body--404 .header {
    background: transparent;
    backdrop-filter: none;
}
.body--404 .header__logo a,
.body--404 .nav__link {
    color: #fff;
    mix-blend-mode: difference;
}
.body--404 .main { padding: 0; }

.page-404 {
    position: relative;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(60px, 10vw, 120px) var(--pad);
    color: #fff;
    background: #0a0a0a;
    overflow: hidden;
}
.page-404__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    filter: grayscale(60%) brightness(0.5);
    animation: page404-zoom 20s ease-out infinite alternate;
}
@keyframes page404-zoom {
    from { transform: scale(1.02); }
    to   { transform: scale(1.12); }
}
.page-404__veil {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at center, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.75) 100%),
        linear-gradient(180deg, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.8) 100%);
    z-index: 1;
}
.page-404__content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 560px;
    animation: page404-fade 0.9s var(--ease-out-expo);
}
@keyframes page404-fade {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}
.page-404__eyebrow {
    display: inline-block;
    font-size: 11px;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 16px;
    padding: 6px 14px;
    border: 1px solid var(--gold);
    border-radius: 999px;
}
.page-404__title {
    color: #fff;
    font-size: clamp(44px, 8vw, 88px);
    margin-bottom: 20px;
    text-shadow: 0 4px 20px rgba(0,0,0,0.5);
}
.page-404__text {
    color: rgba(255,255,255,0.85);
    margin: 0 auto 32px;
    max-width: 460px;
    font-size: clamp(16px, 1.8vw, 18px);
    line-height: 1.7;
}
.page-404__actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}
.btn--ghost {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255,255,255,0.4);
}
.btn--ghost:hover {
    background: rgba(255,255,255,0.1);
    border-color: #fff;
}
@media (prefers-reduced-motion: reduce) {
    .page-404__bg { animation: none; }
    .page-404__content { animation: none; }
}

/* ========================================================================
   MOBILE / TOUCH : désactive le custom cursor
   ======================================================================== */
@media (hover: none), (pointer: coarse) {
    .cursor-dot,
    .cursor-ring {
        display: none !important;
    }
    body.has-cursor { cursor: auto !important; }
}

/* ========================================================================
   ARIA : burger animé (aria-expanded)
   ======================================================================== */
.nav__toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.nav__toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}
.nav__toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ========================================================================
   REDUCED MOTION — respecter les préférences utilisateur
   ======================================================================== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }
    .aperture-loader { display: none !important; }
    .vitrine-grid__item img,
    .gallery-grid__item img {
        transition: none !important;
    }
    .page-404__bg { animation: none !important; }
}

/* ========================================================================
   MOBILE responsive ajouts
   ======================================================================== */
@media (max-width: 640px) {
    .testimonials-grid { grid-template-columns: 1fr; }
    .page-404__actions  { flex-direction: column; align-items: stretch; }
    .page-404__actions .btn { width: 100%; }
}

/* Turnstile widget */
.form__turnstile {
    margin-top: 8px;
    min-height: 65px;
}
.cf-turnstile { display: flex; justify-content: center; }

/* ========================================================================
   LES CAHIERS DE M.V. — Vocabulaire editorial partage
   Dateline, wordmark, quotes, perforations, polaroid/contactsheet,
   side-notes, signatures — utilises sur toutes les pages publiques.
   ======================================================================== */

/* --- Dateline (masthead editorial) --- */
.dateline {
    display: flex; align-items: baseline;
    gap: 14px; flex-wrap: wrap;
    padding-bottom: 16px;
    border-bottom: 1px solid currentColor;
    font-size: 11px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--gold);
    font-weight: 500;
    opacity: 0.95;
}
.dateline > span:not(.dateline__num):not(.dateline__spacer),
.dateline time {
    opacity: 0.8;
    color: inherit;
}
.dateline__sep { opacity: 0.35; }
.dateline__spacer { flex: 1; min-width: 20px; }
.dateline__num {
    font-family: var(--font);
    font-style: normal;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--ink);
    opacity: 0.7;
    padding: 4px 10px;
    border: 1px solid currentColor;
    border-radius: 999px;
}

/* --- Wordmark editorial (remplace H1 simple sur les pages intérieures) --- */
.wordmark {
    font-family: var(--font-display);
    font-weight: 300;
    font-size: clamp(56px, 10vw, 132px);
    line-height: 1.05;
    letter-spacing: -0.035em;
    margin: 0 0 clamp(24px, 3vw, 40px);
    padding-bottom: 0.08em; /* évite que les descendants (f, j, p) soient clippés */
}
.wordmark em {
    font-style: italic;
    font-weight: 300;
    display: inline-block;
    padding: 0.02em 0.1em 0.14em 0;
}
.wordmark__sub {
    display: block;
    font-family: var(--font);
    font-style: normal;
    font-weight: 400;
    font-size: clamp(12px, 1vw, 14px);
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--gold);
    margin-top: 24px;
    opacity: 0.9;
}

/* --- Pull quote manifesto --- */
.pull-quote {
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 300;
    font-size: clamp(20px, 2.4vw, 28px);
    line-height: 1.45;
    max-width: 580px;
    margin: 0 0 clamp(32px, 4vw, 48px);
    padding-left: clamp(20px, 2.5vw, 32px);
    border-left: 1px solid rgba(10, 10, 10, 0.35);
    position: relative;
}
.pull-quote::before {
    content: '';
    position: absolute;
    left: -1px; top: 0; bottom: 55%;
    width: 3px; background: var(--gold);
}
.pull-quote cite {
    display: block;
    font-style: normal;
    font-family: var(--font);
    font-size: 12px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--gold);
    margin-top: 16px;
    opacity: 0.9;
}

/* ========================================================================
   FORM PAGES : body--form-editorial (contact + devis)
   Version LIGHT — meme layout editorial que la home, fond clair
   ======================================================================== */

.body--form-editorial { background: var(--bg); color: var(--ink); }
.body--form-editorial .main { padding: 0; }

/* Section editoriale (fond clair avec glow dore subtil) */
.editorial {
    position: relative;
    min-height: calc(100vh - 80px);
    padding: clamp(80px, 10vh, 128px) 0 clamp(64px, 9vw, 120px);
    overflow: hidden;
    background: var(--bg);
}

/* Pas de perforations (trop lourd sur light) — remplace par une fine ligne doree */
.editorial::before {
    content: '';
    position: absolute; left: 0; right: 0; top: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(10, 10, 10, 0.7) 30%, rgba(10, 10, 10, 0.7) 70%, transparent);
    z-index: 4;
    pointer-events: none;
}

/* Golden-hour glow (plus subtil en light) */
.editorial__glow {
    position: absolute;
    top: 25%; left: 60%;
    width: min(900px, 90vw); aspect-ratio: 1;
    background: radial-gradient(circle, rgba(10, 10, 10, 0.12) 0%, transparent 60%);
    transform: translate(-50%, -50%);
    pointer-events: none; z-index: 0;
    filter: blur(20px);
}
.editorial--devis .editorial__glow {
    top: 60%; left: 25%;
    background: radial-gradient(circle, rgba(10, 10, 10, 0.08) 0%, transparent 55%);
}

/* Container */
.editorial__container {
    position: relative; z-index: 3;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 clamp(24px, 5vw, 64px);
}

/* Dateline */
.editorial .dateline {
    border-bottom-color: rgba(10, 10, 10, 0.1);
    margin-bottom: clamp(40px, 6vw, 72px);
}
.editorial .dateline__num { color: var(--ink); }

/* Grid 2 colonnes */
.editorial__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 340px);
    gap: clamp(48px, 7vw, 104px);
    align-items: start;
}
@media (max-width: 960px) {
    .editorial__grid {
        grid-template-columns: 1fr;
        gap: 56px;
    }
}

/* Wordmark */
.editorial .wordmark { color: var(--ink); }
.editorial .wordmark em {
    color: var(--ink);
    text-decoration: underline solid var(--gold);
    text-decoration-thickness: 3px;
    text-underline-offset: 0.12em;
    text-decoration-skip-ink: none;
}

/* Pull quote */
.editorial .pull-quote { color: var(--ink); }
.editorial .pull-quote cite { color: var(--ink-dim); }

/* Sidebar sticky */
.editorial__col--aside {
    position: sticky;
    top: 120px;
    display: flex; flex-direction: column;
    gap: 28px;
}
@media (max-width: 960px) {
    .editorial__col--aside { position: static; }
}

/* Polaroid editorial (contact) */
.editorial__polaroid {
    position: relative;
    background: #fff;
    padding: 14px 14px 52px;
    margin: 0;
    transform: rotate(-1.4deg);
    box-shadow:
        0 4px 10px rgba(0, 0, 0, 0.08),
        0 30px 60px -20px rgba(0, 0, 0, 0.25);
    transition: transform 0.6s var(--ease-out-expo);
    border: 1px solid rgba(10, 10, 10, 0.04);
}
.editorial__polaroid::before {
    content: '';
    position: absolute;
    top: -12px; left: 50%;
    transform: translateX(-50%);
    width: 96px; height: 24px;
    background: rgba(170, 170, 170, 0.48);
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}
.editorial__polaroid:hover { transform: rotate(-0.4deg) translateY(-6px); }
.editorial__polaroid img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    filter: grayscale(10%) contrast(1.02);
    display: block;
}
.editorial__polaroid figcaption {
    position: absolute;
    bottom: 14px; left: 0; right: 0;
    text-align: center;
    font-family: var(--font-display);
    font-style: italic;
    font-size: 13px;
    color: var(--ink);
    letter-spacing: 0.04em;
}

/* Contact sheet (devis) — version light */
.editorial__contactsheet {
    position: relative;
    background: #fff;
    padding: 22px 16px 16px;
    border: 1px solid rgba(10, 10, 10, 0.08);
    box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.15);
}
.editorial__contactsheet::before {
    content: 'CONTACT SHEET №' attr(data-sheet);
    position: absolute;
    top: -10px; left: 14px;
    font-size: 10px;
    letter-spacing: 0.3em;
    color: var(--gold);
    background: var(--bg);
    padding: 2px 8px;
    font-weight: 500;
}
.editorial__contactsheet-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px;
}
.editorial__contactsheet img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    filter: grayscale(50%) contrast(1.05);
    opacity: 0.92;
    transition: filter 0.4s, opacity 0.4s;
    display: block;
}
.editorial__contactsheet img:hover {
    filter: grayscale(0) contrast(1.02);
    opacity: 1;
}
.editorial__contactsheet-cap {
    display: flex; justify-content: space-between;
    margin-top: 10px;
    font-size: 10px;
    letter-spacing: 0.22em;
    color: rgba(10, 10, 10, 0.85);
}

/* Sidenotes */
.editorial__sidenote {
    padding: 18px 0;
    border-top: 1px solid rgba(10, 10, 10, 0.08);
}
.editorial__sidenote:last-child {
    border-bottom: 1px solid rgba(10, 10, 10, 0.08);
}
.editorial__sidenote-label {
    font-size: 10px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--gold);
    margin: 0 0 6px;
    font-weight: 500;
}
.editorial__sidenote-value {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 26px;
    font-weight: 300;
    color: var(--ink);
    line-height: 1;
    margin: 0;
}

/* Signature */
.editorial__signature {
    margin-top: clamp(48px, 6vw, 72px);
    padding-top: 28px;
    border-top: 1px solid rgba(10, 10, 10, 0.08);
    display: flex; justify-content: space-between;
    align-items: baseline; gap: 24px; flex-wrap: wrap;
    font-size: 12px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--ink-dim);
}
.editorial__signature-name {
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 400;
    font-size: 24px;
    color: var(--gold);
    letter-spacing: 0;
    text-transform: none;
}

/* --- Form restyle (light) --- */
.body--form-editorial .form {
    max-width: none;
    padding: 0;
    background: transparent;
    counter-reset: fld;
}
.body--form-editorial .form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(28px, 3.5vw, 48px);
}
@media (max-width: 640px) {
    .body--form-editorial .form__row { grid-template-columns: 1fr; }
}
.body--form-editorial .form__group {
    position: relative;
    counter-increment: fld;
    padding-top: 8px;
    margin-bottom: clamp(24px, 3vw, 36px);
}
.body--form-editorial .form__group::before {
    content: counter(fld, decimal-leading-zero);
    position: absolute;
    top: 4px; left: 0;
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 300;
    font-size: 18px;
    color: var(--gold);
    opacity: 0.85;
    width: 28px;
}
.body--form-editorial .form__honeypot { display: none; }

.body--form-editorial .form__label {
    display: block;
    margin: 0 0 12px 36px;
    font-family: var(--font);
    font-size: 11px;
    letter-spacing: 0.26em;
    text-transform: uppercase;
    color: var(--ink-dim);
    font-weight: 500;
}
.body--form-editorial .form__label .req { color: var(--gold); }
.body--form-editorial .form__label-optional {
    color: var(--ink-light);
    font-family: var(--font-display);
    font-style: italic;
    text-transform: none;
    letter-spacing: 0;
    font-size: 12px;
}

.body--form-editorial .form__input,
.body--form-editorial .form__textarea,
.body--form-editorial .form__select {
    background: transparent;
    /* Reset tres explicite pour contrer les UA styles (Firefox, Edge
       dessinent parfois un inset shadow ou une border par defaut) */
    border: 0 solid transparent;
    border-bottom: 1px solid rgba(10, 10, 10, 0.2);
    border-radius: 0;
    box-shadow: none;
    padding: 4px 0 12px;
    font-family: var(--font-display);
    font-size: clamp(20px, 2.2vw, 24px);
    font-weight: 400;
    color: var(--ink);
    width: calc(100% - 36px);
    margin-left: 36px;
    transition: border-color 0.35s var(--ease-out-expo), box-shadow 0.35s var(--ease-out-expo);
    appearance: none;
    -webkit-appearance: none;
}
.body--form-editorial .form__textarea {
    resize: vertical;
    min-height: 120px;
    line-height: 1.55;
    font-size: clamp(18px, 1.8vw, 20px);
}
.body--form-editorial .form__input::placeholder,
.body--form-editorial .form__textarea::placeholder {
    color: rgba(10, 10, 10, 0.42); /* contraste AA */
    font-style: italic;
}

/* Champ isole "narrow" (ex: telephone sur contact) : limite a la largeur
   d'une colonne dans un form__row pour garder la coherence visuelle */
.body--form-editorial .form__group--narrow {
    max-width: calc(50% - clamp(14px, 1.75vw, 24px));
}
@media (max-width: 640px) {
    .body--form-editorial .form__group--narrow { max-width: 100%; }
}

/* Textarea : cadre subtil pour mieux materialiser la zone */
.body--form-editorial .form__textarea {
    border: 1px solid rgba(10, 10, 10, 0.12);
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.5);
    transition: border-color 0.35s var(--ease-out-expo), background 0.35s;
}
.body--form-editorial .form__textarea:focus,
.body--form-editorial .form__textarea:focus-visible {
    border-color: var(--gold);
    background: #fff;
    box-shadow: 0 0 0 1px var(--gold);
    outline: none;
}
.body--form-editorial .form__textarea.is-invalid {
    border-color: #3a3a3a !important;
    box-shadow: 0 0 0 1px #3a3a3a;
    background: rgba(58, 58, 58, 0.02);
}
.body--form-editorial .form__input:focus,
.body--form-editorial .form__input:focus-visible,
.body--form-editorial .form__select:focus,
.body--form-editorial .form__select:focus-visible {
    outline: none;
    border-bottom-color: var(--gold);
    /* Rehaussement propre : inset shadow qui double l'epaisseur du
       border-bottom en restant DANS la box (pas d'offset en bas) */
    box-shadow: inset 0 -1px 0 0 var(--gold);
}
.body--form-editorial .form__input.is-invalid,
.body--form-editorial .form__select.is-invalid {
    border-bottom-color: #3a3a3a !important;
    box-shadow: inset 0 -1px 0 0 #3a3a3a;
    background: transparent;
}
.body--form-editorial .form__select {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none' stroke='%23d2aa5a' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'><path d='M1 1l5 5 5-5'/></svg>");
    background-repeat: no-repeat;
    background-position: right 4px center;
    padding-right: 32px;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
}
.body--form-editorial .form__select option {
    background: var(--bg);
    color: var(--ink);
    font-family: var(--font);
    font-size: 15px;
}

.body--form-editorial .form__field-error {
    display: block;
    color: #3a3a3a;
    font-family: var(--font-display);
    font-style: italic;
    font-size: 15px;
    margin: 8px 0 0 36px;
}
.body--form-editorial .form__meta {
    margin-left: 36px;
    margin-top: 8px;
    width: calc(100% - 36px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}
.body--form-editorial .form__counter {
    color: var(--ink-light);
    font-family: var(--font-display);
    font-style: italic;
    font-size: 13px;
    letter-spacing: 0.04em;
    margin-left: auto;
    font-variant-numeric: tabular-nums;
}

/* Submit : reveal gold */
.body--form-editorial .form__submit {
    background: transparent;
    color: var(--ink);
    border: 1px solid rgba(10, 10, 10, 0.25);
    margin: clamp(40px, 5vw, 64px) 0 0 36px;
    padding: 18px 44px;
    font-family: var(--font);
    font-size: 12px;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    font-weight: 500;
    min-height: 58px;
    min-width: 260px;
    position: relative;
    overflow: hidden;
    width: fit-content;
    cursor: pointer;
    transition: color 0.4s var(--ease-out-expo), border-color 0.4s;
    justify-content: center;
}
.body--form-editorial .form__submit::before {
    content: '';
    position: absolute; inset: 0;
    background: var(--ink);
    transform: translateX(-101%);
    transition: transform 0.5s var(--ease-out-expo);
    z-index: 0;
}
.body--form-editorial .form__submit > * { position: relative; z-index: 1; }
.body--form-editorial .form__submit:hover {
    color: #fff;
    border-color: var(--ink);
}
.body--form-editorial .form__submit:hover::before { transform: translateX(0); }
.body--form-editorial .form__submit[disabled] { opacity: 0.5; }

/* Flash error */
.body--form-editorial .flash--error {
    background: rgba(58, 58, 58, 0.06);
    color: #2a2a2a;
    border: 1px solid rgba(58, 58, 58, 0.25);
    padding: 16px 20px;
    font-family: var(--font);
    font-size: 14px;
    border-radius: 0;
    margin: 0 0 24px 36px;
    max-width: none;
}
@media (max-width: 640px) {
    .body--form-editorial .flash--error { margin-left: 0; }

    /* Mobile : formulaire édito plus compact, tout aligné à 0 */
    .body--form-editorial .form__label,
    .body--form-editorial .form__meta,
    .body--form-editorial .form__field-error { margin-left: 28px; }
    .body--form-editorial .form__meta { width: calc(100% - 28px); }
    .body--form-editorial .form__input,
    .body--form-editorial .form__textarea,
    .body--form-editorial .form__select {
        margin-left: 28px;
        width: calc(100% - 28px);
    }
    .body--form-editorial .form__group::before { width: 22px; font-size: 16px; }

    /* Submit : pleine largeur, aligné à la grille, vrai confort pouce */
    .body--form-editorial .form__submit {
        width: 100%;
        min-width: 0;
        margin-left: 0;
        margin-right: 0;
        min-height: 56px;
    }

    .body--form-editorial .form__turnstile { margin-left: 0; }
}

/* Success state */
.body--form-editorial .form__success {
    background: rgba(10, 10, 10, 0.04);
    border: 1px solid rgba(10, 10, 10, 0.25);
    border-radius: 0;
    padding: clamp(48px, 7vw, 80px) clamp(28px, 5vw, 56px);
    text-align: left;
    margin: 0;
    max-width: none;
    box-shadow: none;
}
.body--form-editorial .form__success h2 {
    font-family: var(--font-display);
    font-style: italic;
    color: var(--ink);
    font-size: clamp(32px, 5vw, 56px);
    margin-bottom: 16px;
}
.body--form-editorial .form__success p {
    color: var(--ink-dim);
    max-width: 480px;
}
.body--form-editorial .form__success a.btn {
    background: transparent;
    color: var(--ink);
    border: 1px solid var(--gold);
    margin-top: 32px;
}
.body--form-editorial .form__success a.btn:hover {
    background: var(--gold);
    color: var(--ink);
}

/* Turnstile light */
.body--form-editorial .form__turnstile {
    margin: 20px 0 0 36px;
}
.body--form-editorial .cf-turnstile { justify-content: flex-start; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .editorial__polaroid:hover { transform: rotate(-1.4deg); }
    .body--form-editorial .form__submit::before { transition: none; }
}

/* ========================================================================
   AUDIT FIXES — Draft toast, breadcrumb, count, empty state, hero H1
   ======================================================================== */

/* Hero H1 : visuellement conserve "Myriam Visuals" en grand, tagline en petit */
.hero__title-brand {
    display: block;
}
.hero__title-tagline {
    display: block;
    font-family: var(--font);
    font-style: normal;
    font-weight: 400;
    font-size: clamp(11px, 1.1vw, 13px);
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--ink-dim);
    margin-top: 18px;
    line-height: 1.5;
}
@media (max-width: 640px) {
    .hero__title-tagline { font-size: 10px; letter-spacing: 0.18em; margin-top: 14px; }
}

/* Breadcrumb galerie */
.breadcrumb {
    display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
    font-size: 12px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ink-dim);
    margin-bottom: clamp(20px, 3vw, 32px);
}
.breadcrumb a {
    color: var(--ink-dim);
    transition: color 0.2s ease;
}
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb__sep { color: var(--ink-light); opacity: 0.6; }
.breadcrumb [aria-current="page"] { color: var(--ink); font-weight: 500; }

/* Titre principal de la galerie (h1 : a11y + SEO local) */
.gallery__title {
    font-family: var(--font-display);
    font-weight: 300;
    font-size: clamp(30px, 5vw, 52px);
    line-height: 1.12;
    letter-spacing: 0.01em;
    margin: 0 0 clamp(20px, 3vw, 32px);
    max-width: 20ch;
}

/* Gallery filters row (filtres + compteur) */
.gallery-filters-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: clamp(32px, 4vw, 48px);
}
.gallery-filters-row .gallery-filters { margin-bottom: 0; }
.gallery-count {
    font-size: 12px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ink-dim);
    font-variant-numeric: tabular-nums;
}

/* Empty state galerie */
.gallery-empty {
    text-align: center;
    padding: clamp(60px, 10vw, 120px) 24px;
    max-width: 480px;
    margin: 0 auto;
}
.gallery-empty__icon {
    width: 72px; height: 72px;
    color: var(--gold);
    margin: 0 auto 24px;
    opacity: 0.8;
}
.gallery-empty__title {
    font-family: var(--font-display);
    font-style: italic;
    font-size: clamp(28px, 4vw, 40px);
    margin-bottom: 12px;
    color: var(--ink);
}
.gallery-empty__text {
    color: var(--ink-dim);
    max-width: 420px;
    margin: 0 auto 28px;
}

/* Draft toast */
.draft-toast {
    position: fixed;
    bottom: clamp(16px, 3vw, 28px);
    left: 50%;
    transform: translateX(-50%) translateY(100%);
    z-index: 9000;
    display: flex; align-items: center; gap: 16px;
    padding: 12px 14px 12px 20px;
    background: #fff;
    border: 1px solid rgba(10, 10, 10, 0.3);
    border-radius: 999px;
    box-shadow: 0 10px 30px -8px rgba(0, 0, 0, 0.18), 0 2px 6px rgba(0, 0, 0, 0.04);
    font-size: 13px;
    letter-spacing: 0.02em;
    opacity: 0;
    transition: transform 0.5s var(--ease-out-expo), opacity 0.4s;
    max-width: calc(100vw - 32px);
}
.draft-toast.is-visible {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}
.draft-toast__text {
    color: var(--ink);
    font-weight: 500;
    display: inline-flex; align-items: center;
}
.draft-toast__text::before {
    content: '';
    display: inline-block;
    width: 6px; height: 6px;
    background: var(--gold);
    border-radius: 50%;
    margin-right: 10px;
}
.draft-toast__btn {
    border: 1px solid rgba(10, 10, 10, 0.15);
    background: transparent;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 11px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--ink);
    cursor: pointer;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.draft-toast__btn:hover {
    background: var(--ink);
    color: #fff;
    border-color: var(--ink);
}
@media (max-width: 640px) {
    .draft-toast { font-size: 12px; padding: 10px 12px 10px 16px; gap: 10px; }
    .draft-toast__btn { padding: 5px 12px; font-size: 10px; }
}

/* ========================================================================
   FAB "retour en haut" flottant (mobile / tactile)
   Apparait apres ~1.5 ecran scrolle, se cache au-dessus du footer.
   ======================================================================== */
.fab-top {
    position: fixed;
    right: calc(16px + env(safe-area-inset-right, 0px));
    bottom: calc(16px + env(safe-area-inset-bottom, 0px));
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: rgba(10, 10, 10, 0.88);
    color: #fff;
    border: 1px solid rgba(10, 10, 10, 0.3);
    box-shadow: 0 8px 24px -8px rgba(0, 0, 0, 0.35),
                0 2px 6px rgba(0, 0, 0, 0.18);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    z-index: 90;
    opacity: 0;
    transform: translateY(12px) scale(0.92);
    pointer-events: none;
    transition: opacity 0.28s ease, transform 0.32s var(--ease-out-expo);
    -webkit-tap-highlight-color: transparent;
}
.fab-top.is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}
.fab-top svg { width: 18px; height: 18px; display: block; }
.fab-top:active {
    transform: translateY(0) scale(0.94);
    background: var(--gold);
    color: var(--ink);
}
/* Cache le FAB quand le menu mobile est ouvert (conflit visuel) */
body.nav-open .fab-top { opacity: 0 !important; pointer-events: none !important; }

@media (prefers-reduced-motion: reduce) {
    .fab-top { transition: opacity 0.1s; transform: none; }
    .fab-top.is-visible { transform: none; }
}

/* ========================================================================
   404 polish : wordmark editorial
   ======================================================================== */
.page-404__eyebrow {
    font-family: var(--font);
}
.page-404__title {
    font-family: var(--font-display);
    font-style: italic;
}
.page-404 .dateline {
    color: rgba(255,255,255,0.7);
    border-bottom-color: rgba(10, 10, 10, 0.3);
    max-width: 600px;
    margin: 0 auto 32px;
    position: relative;
    z-index: 2;
}
.page-404 .dateline__num { color: #fff; }

/* ========================================================================
   PAGES LÉGALES — Mentions légales, Confidentialité, CGV
   ======================================================================== */
.legal {
    padding: clamp(48px, 8vw, 110px) 0 clamp(64px, 9vw, 130px);
}
.legal__container {
    max-width: 760px;
}
.legal__title {
    font-size: clamp(38px, 6vw, 60px);
    margin: 4px 0 10px;
    line-height: 1.1;
}
.legal__title em { font-style: italic; }
.legal__updated {
    font-size: 12px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ink-dim);
    margin-bottom: clamp(36px, 5vw, 56px);
}
.legal__body {
    font-size: 16px;
    line-height: 1.75;
    color: #2a2a2a;
}
.legal__body h2 {
    font-family: var(--font-display);
    font-style: italic;
    font-size: clamp(24px, 3.2vw, 32px);
    line-height: 1.22;
    color: var(--ink);
    margin: 0 0 14px;
    padding-top: clamp(30px, 4.5vw, 46px);
    margin-top: clamp(30px, 4.5vw, 46px);
    border-top: 1px solid var(--rule);
}
.legal__body > h2:first-child,
.legal__body > p:first-child + h2 {
    border-top: none;
    padding-top: 0;
    margin-top: 0;
}
.legal__body h3 {
    font-family: var(--font);
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.01em;
    margin: 24px 0 8px;
}
.legal__body p { margin: 0 0 16px; }
.legal__body ul {
    list-style: none;
    margin: 0 0 16px;
    padding: 0;
}
.legal__body li {
    position: relative;
    padding-left: 22px;
    margin-bottom: 9px;
}
.legal__body li::before {
    content: "—";
    position: absolute;
    left: 0;
    color: var(--ink-dim);
}
.legal__body a {
    color: var(--ink);
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-thickness: 1px;
    text-decoration-color: var(--rule);
    transition: text-decoration-color 0.25s ease;
}
.legal__body a:hover { text-decoration-color: var(--ink); }
.legal__body strong { font-weight: 600; color: var(--ink); }

/* Carte identité (éditeur / hébergeur) */
.legal__contact-card {
    margin: 4px 0 16px;
    padding: clamp(18px, 3vw, 26px);
    border: 1px solid var(--rule);
    border-radius: 4px;
}
.legal__contact-card p { margin: 0 0 6px; }
.legal__contact-card p:last-child { margin-bottom: 0; }

/* Marqueur « à compléter » — visible pour l'éditrice, facile à retrouver */
.legal__todo {
    display: inline;
    background: rgba(10, 10, 10, 0.05);
    box-shadow: inset 2px 0 0 var(--ink);
    padding: 1px 7px;
    font-size: 0.92em;
    font-style: italic;
    color: #4a4a4a;
}

/* Liens légaux dans le footer */
.footer__legal {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
}
.footer__legal a {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 0.04em;
    transition: color 0.3s ease;
}
.footer__legal a:hover { color: #fff; }



