/* =====================================================================
   LABEL One Million Factory® — Front-end
   Mobile-first · Rouge & Blanc · Montserrat
   ===================================================================== */

/* ---------- Design tokens ---------- */
:root {
    --red-50:  #FEF2F2;
    --red-100: #FEE2E2;
    --red-200: #FECACA;
    --red-500: #EF4444;
    --red-600: #E30A13;   /* primaire */
    --red-700: #BE0811;   /* hover */
    --red-800: #96060D;
    --red-900: #7F1D1D;

    --ink:      #0F172A;  /* texte principal */
    --ink-2:    #334155;  /* texte secondaire (contraste 10:1) */
    --ink-3:    #64748B;  /* texte discret (4.7:1 sur blanc) */
    --line:     #E2E8F0;
    --surface:  #FFFFFF;
    --surface-2:#F8FAFC;

    /* Rôles sémantiques (redéfinis par le thème sombre) */
    --elevated:    #FFFFFF;               /* cartes, champs actifs */
    --header-bg:   rgb(255 255 255 / .82);
    --inverse-bg:  #0F172A;               /* toast, marquee, skip-link */
    --footer-bg:   #0B0F1A;
    --tint:        var(--red-50);         /* fonds teintés rouge */
    --tint-strong: var(--red-100);
    --tint-border: var(--red-200);
    --tint-fg:     var(--red-700);
    --accent-text: var(--red-600);        /* rouge utilisé comme couleur de texte */
    --line-strong: #CBD5E1;
    --success-bg: #ECFDF5; --success-fg: #065F46; --success-bd: #A7F3D0;
    color-scheme: light;

    --color-primary: var(--red-600);
    --color-primary-hover: var(--red-700);
    --color-on-primary: #FFFFFF;

    --font-display: 'Poppins', 'Montserrat', system-ui, sans-serif;
    --font-body: 'Montserrat', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

    --radius-sm: 10px;
    --radius: 16px;
    --radius-lg: 24px;
    --radius-pill: 999px;

    --shadow-sm: 0 1px 2px rgb(15 23 42 / .06), 0 1px 3px rgb(15 23 42 / .08);
    --shadow: 0 10px 30px -12px rgb(15 23 42 / .25);
    --shadow-lg: 0 30px 60px -20px rgb(127 29 29 / .35);
    --shadow-red: 0 12px 28px -10px rgb(227 10 19 / .55);

    --ease-out: cubic-bezier(.22, 1, .36, 1);
    --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
    --dur-fast: 160ms;
    --dur: 260ms;
    --dur-slow: 600ms;

    --header-h: 68px;
    --gutter: 16px;
    --z-header: 40;
    --z-mobile-nav: 39;
    --z-toast: 100;
}

/* ---------- Thème sombre ---------- */
:root[data-theme="dark"] {
    --ink:        #F1F5F9;
    --ink-2:      #CBD5E1;
    --ink-3:      #94A3B8;
    --line:       #263041;
    --line-strong:#3A4559;
    --surface:    #0E1117;
    --surface-2:  #141922;
    --elevated:   #171D28;
    --header-bg:  rgb(14 17 23 / .82);
    --inverse-bg: #1E2533;
    --footer-bg:  #07090D;
    --tint:        #2A1013;
    --tint-strong: #3A1418;
    --tint-border: #5C1C22;
    --tint-fg:     #FF8A8F;
    --accent-text: #FF5A61;              /* rouge éclairci : contraste ≥ 4.5:1 sur fond sombre */
    --success-bg: #052E22; --success-fg: #6EE7B7; --success-bd: #065F46;
    --shadow-sm: 0 1px 2px rgb(0 0 0 / .4);
    --shadow: 0 10px 30px -12px rgb(0 0 0 / .7);
    --shadow-lg: 0 30px 60px -20px rgb(0 0 0 / .75);
    color-scheme: dark;
}
:root[data-theme="dark"] .btn-white { --btn-bg: #fff; --btn-fg: var(--red-700); }
:root[data-theme="dark"] .hero, :root[data-theme="dark"] .page-hero {
    background: linear-gradient(135deg, #B8080F 0%, #8E060C 55%, #3D0306 100%);
}
:root[data-theme="dark"] .cta-card { background: radial-gradient(circle at 85% 0%, #B91C1C 0%, transparent 45%), linear-gradient(135deg, #B8080F, #5E0408); }
:root[data-theme="dark"] .artist-card-link { box-shadow: 0 0 0 1px var(--line); }
:root[data-theme="dark"] .site-footer { border-top: 1px solid var(--line); }

/* Transition douce lors du changement de thème (désactivée au chargement) */
.theme-anim, .theme-anim *, .theme-anim *::before, .theme-anim *::after {
    transition: background-color .35s ease, border-color .35s ease, color .35s ease !important;
}

/* ---------- Reset léger ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.65;
    color: var(--ink);
    background: var(--surface);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.12; font-weight: 700; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
[hidden] { display: none !important; }

:focus-visible { outline: 3px solid var(--red-500); outline-offset: 3px; border-radius: 6px; }

.sr-only {
    position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
    position: absolute; left: 16px; top: -60px; z-index: 1000;
    background: var(--inverse-bg); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm);
    transition: top var(--dur) var(--ease-out);
}
.skip-link:focus { top: 12px; }

.icon { width: 1.15em; height: 1.15em; flex-shrink: 0; }
.icon-xs { width: .8em; height: .8em; }
.icon-lg { width: 40px; height: 40px; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: var(--gutter); }
.container-narrow { max-width: 820px; }
.center { text-align: center; }
.section { padding-block: 64px; }
.section-tight { padding-block: 24px 72px; }
.section-muted { background: var(--surface-2); }

.section-head {
    display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between;
    gap: 12px 32px; margin-bottom: 28px;
}
.section-title {
    font-family: var(--font-display); font-weight: 700; letter-spacing: -.02em;
    font-size: clamp(2rem, 6vw, 3.25rem); letter-spacing: -.01em; margin: 0;
}
.section-title-sm { font-size: clamp(1.6rem, 4vw, 2.25rem); }
.section-sub { color: var(--ink-3); max-width: 420px; margin: 0; }

.kicker {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
    color: var(--accent-text); margin: 0 0 10px;
}
.kicker-light { color: rgb(255 255 255 / .9); }

/* ---------- Boutons ---------- */
.btn {
    --btn-bg: var(--surface); --btn-fg: var(--ink); --btn-bd: transparent;
    position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    min-height: 48px; padding: 12px 22px; border-radius: var(--radius-pill);
    background: var(--btn-bg); color: var(--btn-fg); border: 2px solid var(--btn-bd);
    font-weight: 600; font-size: .95rem; line-height: 1.2; white-space: nowrap;
    cursor: pointer; touch-action: manipulation; user-select: none;
    transition: transform var(--dur-fast) var(--ease-out), background-color var(--dur) var(--ease-out),
                color var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out);
}
.btn .icon { transition: transform var(--dur) var(--ease-out); }
.btn:hover .icon:last-child:not(:first-child) { transform: translateX(3px); }
.btn:active { transform: scale(.97); }
.btn-sm { min-height: 44px; padding: 10px 18px; font-size: .9rem; }
.btn-lg { min-height: 54px; padding: 14px 28px; font-size: 1rem; }
.btn-block { width: 100%; }
.btn-icon { width: 54px; padding: 0; }

.btn-primary { --btn-bg: var(--color-primary); --btn-fg: #fff; box-shadow: var(--shadow-red); }
.btn-primary:hover { --btn-bg: var(--color-primary-hover); box-shadow: 0 16px 32px -10px rgb(227 10 19 / .6); }
.btn-outline { --btn-bg: transparent; --btn-fg: var(--ink); --btn-bd: var(--line); }
.btn-outline:hover { --btn-bd: var(--color-primary); --btn-fg: var(--accent-text); }
.btn-white { --btn-bg: #fff; --btn-fg: var(--red-700); box-shadow: 0 12px 30px -12px rgb(0 0 0 / .35); }
.btn-white:hover { --btn-bg: var(--red-50); }
.btn-ghost-light { --btn-bg: rgb(255 255 255 / .08); --btn-fg: #fff; --btn-bd: rgb(255 255 255 / .45); backdrop-filter: blur(6px); }
.btn-ghost-light:hover { --btn-bg: rgb(255 255 255 / .18); --btn-bd: #fff; }

.btn-label { display: inline-flex; align-items: center; gap: 10px; }
.btn .spinner { display: none; }
.btn.is-loading { pointer-events: none; }
.btn.is-loading .btn-label { opacity: 0; }
.btn.is-loading .spinner {
    display: block; position: absolute; width: 22px; height: 22px; border-radius: 50%;
    border: 3px solid rgb(255 255 255 / .35); border-top-color: #fff; animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--accent-text); min-height: 44px; }
.link-arrow:hover .icon { transform: translateX(3px); }
.link-arrow .icon { transition: transform var(--dur) var(--ease-out); }

/* ---------- Badges ---------- */
.badges { display: flex; flex-wrap: wrap; gap: 6px; }
.badge {
    display: inline-flex; align-items: center; padding: 4px 10px; border-radius: var(--radius-pill);
    background: var(--color-primary); color: #fff; font-size: .72rem; font-weight: 600; letter-spacing: .02em;
}
.badges-lg .badge { font-size: .8rem; padding: 6px 14px; }

/* ---------- Header ---------- */
.site-header {
    position: sticky; top: 0; z-index: var(--z-header);
    background: var(--header-bg); backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid transparent;
    transition: border-color var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out);
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 20px -16px rgb(15 23 42 / .35); }
.header-inner { display: flex; align-items: center; gap: 10px; height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: 10px; margin-right: auto; min-height: 44px; }
.brand img { width: 52px; height: 52px; border-radius: 12px; box-shadow: 0 6px 16px -8px rgb(227 10 19 / .6); transition: transform var(--dur) var(--ease-spring); }
.brand:hover img { transform: scale(1.06) rotate(-3deg); }
.footer-brand .brand img { width: 96px; height: 96px; border-radius: 18px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font-weight: 700; font-size: .95rem; }
.brand-sub { font-family: var(--font-body); font-weight: 800; color: var(--accent-text); font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; }
.brand-light .brand-name { color: #fff; }
.brand-light .brand-sub { color: var(--red-200); }

.main-nav, .header-cta { display: none; }

/* Sélecteur de langue */
.lang-switch { position: relative; display: none; }
.lang-btn {
    display: inline-flex; align-items: center; gap: 6px; height: 48px; padding: 0 12px;
    border: 1px solid var(--line); background: var(--elevated); color: var(--ink); border-radius: 14px;
    font-weight: 700; font-size: .85rem; letter-spacing: .04em;
    transition: border-color var(--dur), color var(--dur);
}
.lang-btn:hover, .lang-btn[aria-expanded="true"] { border-color: var(--color-primary); color: var(--accent-text); }
.lang-chevron { transition: transform var(--dur) var(--ease-out); }
.lang-btn[aria-expanded="true"] .lang-chevron { transform: rotate(180deg); }
.lang-btn .flag { width: 26px; height: 18px; }
.flag { width: 24px; height: 16px; border-radius: 3px; object-fit: cover; box-shadow: 0 0 0 1px rgb(15 23 42 / .12); flex-shrink: 0; }
.lang-menu {
    position: absolute; right: 0; top: calc(100% + 8px); z-index: 50; min-width: 190px; padding: 6px;
    background: var(--elevated); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow);
    animation: slideUp .2s var(--ease-out);
}
.lang-option {
    display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 8px 12px; border-radius: 10px;
    font-weight: 600; color: var(--ink-2); transition: background-color var(--dur-fast), color var(--dur-fast);
}
.lang-option:hover, .lang-option:focus-visible { background: var(--tint); color: var(--accent-text); outline: none; }
.lang-option.is-active { color: var(--ink); }
.lang-check { margin-left: auto; color: var(--accent-text); }
.mobile-lang { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.mobile-lang-option {
    display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 10px;
    border: 1.5px solid var(--line); border-radius: 14px; font-weight: 600; color: var(--ink-2);
}
.mobile-lang-option.is-active { border-color: var(--color-primary); color: var(--accent-text); background: var(--tint); }
.mobile-lang-option .lang-check { margin-left: 0; }

/* Lien Instagram de l'en-tête */
.icon-link {
    display: inline-grid; place-items: center; width: 48px; height: 48px; flex-shrink: 0;
    border: 1px solid var(--line); background: var(--elevated); color: var(--ink); border-radius: 14px;
    transition: border-color var(--dur), color var(--dur), transform var(--dur) var(--ease-spring);
}
.icon-link .icon { width: 22px; height: 22px; }
.icon-link:hover { border-color: var(--color-primary); color: var(--accent-text); }

.theme-toggle {
    position: relative; display: inline-grid; place-items: center; width: 48px; height: 48px; flex-shrink: 0;
    border: 1px solid var(--line); background: var(--elevated); color: var(--ink); border-radius: 14px; overflow: hidden;
    transition: border-color var(--dur), color var(--dur), background-color var(--dur);
}
.theme-toggle:hover { border-color: var(--color-primary); color: var(--accent-text); }
.theme-toggle .icon { position: absolute; width: 22px; height: 22px; transition: transform .45s var(--ease-spring), opacity .25s var(--ease-out); }
.theme-toggle .icon-sun { transform: translateY(140%) rotate(90deg); opacity: 0; }
:root[data-theme="dark"] .theme-toggle .icon-moon { transform: translateY(-140%) rotate(-90deg); opacity: 0; }
:root[data-theme="dark"] .theme-toggle .icon-sun { transform: none; opacity: 1; }

.nav-toggle {
    display: inline-grid; place-items: center; width: 48px; height: 48px;
    border: 1px solid var(--line); background: var(--elevated); color: var(--ink); border-radius: 14px;
    transition: background-color var(--dur) var(--ease-out), border-color var(--dur);
}
.nav-toggle:hover { border-color: var(--color-primary); }
.nav-toggle .icon { width: 22px; height: 22px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] { background: var(--color-primary); color: #fff; border-color: var(--color-primary); }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

.mobile-nav {
    position: fixed; inset: var(--header-h) 0 0 0; z-index: var(--z-mobile-nav);
    background: var(--surface); padding: 24px var(--gutter) calc(24px + env(safe-area-inset-bottom));
    display: flex; flex-direction: column; gap: 24px; overflow-y: auto;
    animation: fadeIn var(--dur) var(--ease-out);
}
.mobile-nav ul { display: flex; flex-direction: column; }
.mobile-nav li { border-bottom: 1px solid var(--line); animation: slideUp .4s var(--ease-out) both; animation-delay: calc(var(--i) * 50ms); }
.mobile-nav li a {
    display: flex; align-items: center; justify-content: space-between; min-height: 64px;
    font-family: var(--font-display); font-weight: 600; font-size: 1.6rem; letter-spacing: -.01em;
}
.mobile-nav li a .icon { color: var(--accent-text); }
.mobile-nav li a:active { color: var(--accent-text); }
body.nav-open { overflow: hidden; }
/* Le flou de l'en-tête (backdrop-filter) crée un bloc conteneur : sans ce correctif, le menu
   « position: fixed » serait limité à la hauteur de l'en-tête. On le retire quand le menu est ouvert. */
body.nav-open .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--surface); }
.mobile-nav { height: calc(100dvh - var(--header-h)); }

@keyframes fadeIn { from { opacity: 0; } }
@keyframes slideUp { from { opacity: 0; transform: translateY(16px); } }

/* ---------- Hero ---------- */
.hero, .page-hero {
    position: relative; overflow: hidden; isolation: isolate; color: #fff;
    background: linear-gradient(135deg, var(--red-600) 0%, var(--red-700) 55%, var(--red-900) 100%);
}
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero-orb { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; }
.hero-orb-1 { width: 420px; height: 420px; background: #FF3340; top: -140px; right: -120px; animation: float 14s ease-in-out infinite; }
.hero-orb-2 { width: 360px; height: 360px; background: #4A0005; bottom: -160px; left: -120px; animation: float 18s ease-in-out infinite reverse; }
.hero-grid {
    position: absolute; inset: 0; opacity: .12;
    background-image: linear-gradient(rgb(255 255 255 / .5) 1px, transparent 1px), linear-gradient(90deg, rgb(255 255 255 / .5) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse at 70% 30%, #000 0%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at 70% 30%, #000 0%, transparent 70%);
}
@keyframes float { 50% { transform: translate(30px, 40px) scale(1.08); } }

/* Lueurs rouges mouvantes (effet glow) */
.hero-glows { position: absolute; inset: -15%; pointer-events: none; }
.glow {
    position: absolute; border-radius: 50%; filter: blur(60px); mix-blend-mode: screen;
    animation: var(--anim) ease-in-out infinite alternate;
}
.glow-1 { --anim: glow1 16s; width: 520px; height: 520px; left: 52%; top: 0%;  background: radial-gradient(circle, #FF2B2B 0%, rgb(255 43 43 / 0) 70%); opacity: .9; }
.glow-2 { --anim: glow2 22s; width: 440px; height: 440px; left: 0%;  top: 50%; background: radial-gradient(circle, #FF4D55 0%, rgb(255 77 85 / 0) 70%); opacity: .7; }
.glow-3 { --anim: glow3 13s; width: 360px; height: 360px; left: 76%; top: 46%; background: radial-gradient(circle, #FF1020 0%, rgb(255 16 32 / 0) 70%); opacity: .85; }
.glow-4 { --anim: glow4 26s; width: 380px; height: 380px; left: 26%; top: 68%; background: radial-gradient(circle, #FF6168 0%, rgb(255 97 104 / 0) 70%); opacity: .5; }
/* Zone sombre qui se déplace : donne du relief aux lueurs */
.glow-5 { --anim: glow5 19s; width: 560px; height: 560px; left: 18%; top: -10%; background: radial-gradient(circle, #5A0006 0%, rgb(90 0 6 / 0) 70%); mix-blend-mode: multiply; opacity: .75; }
@keyframes glow1 { 0% { transform: translate(0, 0) scale(1); } 50% { transform: translate(-200px, 130px) scale(1.25); } 100% { transform: translate(-80px, 280px) scale(.9); } }
@keyframes glow2 { 0% { transform: translate(0, 0) scale(1); } 50% { transform: translate(240px, -170px) scale(1.2); } 100% { transform: translate(420px, -40px) scale(.85); } }
@keyframes glow3 { 0% { transform: translate(0, 0) scale(.9); } 50% { transform: translate(-160px, -190px) scale(1.3); } 100% { transform: translate(-340px, 40px) scale(1); } }
@keyframes glow4 { 0% { transform: translate(0, 0) scale(1); } 50% { transform: translate(280px, -130px) scale(1.15); } 100% { transform: translate(140px, -320px) scale(.9); } }
@keyframes glow5 { 0% { transform: translate(0, 0) scale(1); } 50% { transform: translate(260px, 200px) scale(1.2); } 100% { transform: translate(480px, 60px) scale(.95); } }

/* Halo qui « respire » derrière le visuel */
.glow-pulse {
    position: absolute; right: 8%; top: 22%; width: 620px; height: 620px; border-radius: 50%;
    background: radial-gradient(circle, rgb(255 70 70 / .95) 0%, rgb(255 30 40 / .4) 38%, transparent 68%);
    filter: blur(24px); mix-blend-mode: screen;
    animation: pulse 6s ease-in-out infinite;
}
.page-hero .glow-pulse { right: -6%; top: -30%; }
@keyframes pulse { 0%, 100% { transform: scale(.8); opacity: .6; } 50% { transform: scale(1.15); opacity: 1; } }

:root[data-theme="dark"] .glow { opacity: .8; }
:root[data-theme="dark"] .glow-5 { opacity: .9; }
@media (max-width: 767px) {
    .glow { filter: blur(55px); }
    .glow-1, .glow-5 { width: 340px; height: 340px; }
    .glow-2, .glow-3, .glow-4 { width: 260px; height: 260px; }
    .glow-pulse { width: 380px; height: 380px; right: -20%; top: 45%; }
}

.hero-inner { display: grid; gap: 40px; padding-block: 56px 64px; align-items: center; }
.hero-title {
    font-family: var(--font-display); font-weight: 700; letter-spacing: -.02em;
    font-size: clamp(3.25rem, 15vw, 7.5rem); line-height: .95; letter-spacing: -.02em; margin: 0 0 20px;
    text-shadow: 0 8px 40px rgb(0 0 0 / .18), 0 0 60px rgb(255 60 60 / .45);
}
.hero-lead { font-size: clamp(1.05rem, 2.6vw, 1.25rem); color: rgb(255 255 255 / .92); max-width: 540px; margin-bottom: 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 16px 28px; margin-top: 36px; padding-top: 24px; border-top: 1px solid rgb(255 255 255 / .22); }
.hero-stats li { display: flex; flex-direction: column; }
.hero-stats strong { font-family: var(--font-display); font-weight: 700; letter-spacing: -.02em; font-size: 2rem; line-height: 1; font-variant-numeric: tabular-nums; }
.hero-stats span { font-size: .8rem; color: rgb(255 255 255 / .8); text-transform: uppercase; letter-spacing: .1em; margin-top: 4px; }

.hero-visual { position: relative; height: 340px; max-width: 460px; width: 100%; margin-inline: auto; }
.hero-polaroid {
    position: absolute; margin: 0; width: 52%; padding: 8px 8px 12px; background: var(--elevated); border-radius: 14px;
    box-shadow: var(--shadow-lg); color: var(--ink);
    transition: transform var(--dur-slow) var(--ease-spring);
}
.hero-polaroid img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: 8px; background: var(--tint-strong); }
.hero-polaroid figcaption { font-family: var(--font-body); font-weight: 700; font-size: .9rem; text-align: center; padding-top: 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hero-polaroid-1 { left: 24%; top: 0; z-index: 3; transform: rotate(-2deg); }
.hero-polaroid-2 { left: 0; top: 40px; z-index: 2; transform: rotate(-11deg) scale(.88); }
.hero-polaroid-3 { right: 0; top: 50px; z-index: 1; transform: rotate(10deg) scale(.86); }
.hero-visual:hover .hero-polaroid-2 { transform: rotate(-15deg) scale(.88) translateX(-14px); }
.hero-visual:hover .hero-polaroid-3 { transform: rotate(14deg) scale(.86) translateX(14px); }
.hero-visual:hover .hero-polaroid-1 { transform: rotate(0) translateY(-8px); }

.equalizer { position: absolute; right: 6%; bottom: -6px; display: flex; gap: 5px; align-items: flex-end; height: 44px; z-index: 4; }
.equalizer span { width: 6px; border-radius: 3px; background: #fff; animation: eq 1.1s ease-in-out infinite; transform-origin: bottom; height: 100%; }
.equalizer span:nth-child(2) { animation-delay: -.3s; }
.equalizer span:nth-child(3) { animation-delay: -.6s; }
.equalizer span:nth-child(4) { animation-delay: -.15s; }
.equalizer span:nth-child(5) { animation-delay: -.45s; }
@keyframes eq { 0%, 100% { transform: scaleY(.25); } 50% { transform: scaleY(1); } }

/* Page hero (about / contact) */
.page-hero { padding-block: 64px 56px; }
.page-hero-sm { padding-block: 56px 48px; }
.page-title { font-family: var(--font-display); font-weight: 700; letter-spacing: -.02em; font-size: clamp(2.75rem, 11vw, 5.5rem); line-height: 1; margin: 0 0 12px; }
.page-lead { font-size: 1.15rem; color: rgb(255 255 255 / .9); max-width: 620px; margin: 0; }

/* ---------- Marquee ---------- */
.marquee { background: var(--inverse-bg); color: #fff; overflow: hidden; padding-block: 14px; }
.marquee-track { display: flex; gap: 28px; width: max-content; animation: marquee 40s linear infinite; font-family: var(--font-body); font-weight: 800; font-size: 1.15rem; text-transform: uppercase; letter-spacing: .06em; }
.marquee .dot { color: var(--red-500); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Filtres ---------- */
.filters {
    display: flex; gap: 8px; margin: 0 calc(var(--gutter) * -1) 28px; padding: 4px var(--gutter);
    overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.filters::-webkit-scrollbar { display: none; }
.filter {
    display: inline-flex; align-items: center; gap: 8px; flex-shrink: 0;
    min-height: 44px; padding: 8px 18px; border-radius: var(--radius-pill);
    border: 1.5px solid var(--line); background: var(--elevated); font-weight: 600; font-size: .92rem; color: var(--ink-2);
    transition: all var(--dur) var(--ease-out);
}
.filter:hover { border-color: var(--color-primary); color: var(--accent-text); }
.filter-count {
    display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding-inline: 6px;
    border-radius: var(--radius-pill); background: var(--tint); color: var(--tint-fg); font-size: .72rem; font-variant-numeric: tabular-nums;
    transition: all var(--dur) var(--ease-out);
}
.filter.is-active { background: var(--color-primary); border-color: var(--color-primary); color: #fff; box-shadow: var(--shadow-red); }
.filter.is-active .filter-count { background: rgb(255 255 255 / .22); color: #fff; }

/* ---------- Grille & cartes artistes ---------- */
.artist-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }

.artist-card { position: relative; border-radius: var(--radius); }
.artist-card.is-hidden { display: none; }
.artist-card.is-entering { animation: cardIn .45s var(--ease-out) both; animation-delay: calc(var(--d, 0) * 40ms); }
@keyframes cardIn { from { opacity: 0; transform: translateY(14px) scale(.98); } }

.artist-card-link {
    position: relative; display: block; overflow: hidden; border-radius: var(--radius);
    background: var(--tint-strong); box-shadow: var(--shadow-sm);
    transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out);
}
.artist-card-media { aspect-ratio: 4 / 5; }
.artist-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease-out); }
.artist-card-link::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgb(15 23 42 / .15) 55%, rgb(15 23 42 / .85) 100%);
    transition: background var(--dur) var(--ease-out);
}
.artist-card-logo {
    position: absolute; top: 10px; left: 10px; z-index: 2; display: grid; place-items: center;
    width: 40px; height: 40px; padding: 7px; border-radius: 12px; background: var(--color-primary);
    box-shadow: 0 6px 16px -6px rgb(0 0 0 / .45);
    transition: transform var(--dur) var(--ease-spring);
}
.artist-card-logo img { width: 100%; height: 100%; object-fit: contain; }
.artist-card-link:hover .artist-card-logo { transform: scale(1.1) rotate(-4deg); }
.artist-card-body { position: absolute; inset: auto 0 0 0; z-index: 2; padding: 12px; color: #fff; }
.artist-card-body .badges { margin-bottom: 6px; }
.artist-card-body .badge { font-size: .65rem; padding: 3px 8px; }
.artist-card-name { font-family: var(--font-display); font-weight: 700; letter-spacing: -.02em; font-size: 1.15rem; line-height: 1.1; margin: 0; }
.artist-card-more {
    display: none; align-items: center; gap: 6px; margin-top: 8px; font-size: .85rem; font-weight: 600;
    opacity: 0; transform: translateY(8px); transition: all var(--dur) var(--ease-out);
}
.artist-card-link:hover, .artist-card-link:focus-visible { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.artist-card-link:active { transform: scale(.98); }
.artist-card-link:hover .artist-card-media img, .artist-card-link:focus-visible .artist-card-media img { transform: scale(1.06); }
.artist-card-link:hover::after { background: linear-gradient(180deg, transparent 30%, rgb(127 29 29 / .35) 55%, rgb(127 29 29 / .92) 100%); }
.artist-card-link:hover .artist-card-more, .artist-card-link:focus-visible .artist-card-more { opacity: 1; transform: none; }

.empty-state { text-align: center; padding: 56px 16px; color: var(--ink-3); border: 2px dashed var(--line); border-radius: var(--radius-lg); }
.empty-state .icon { margin: 0 auto 12px; color: var(--accent-text); }

/* ---------- Citation ---------- */
.quote-band { background: var(--tint); padding-block: 64px; }
.quote-band blockquote { margin: 0 auto; max-width: 900px; text-align: center; position: relative; }
.quote-band blockquote::before {
    content: "“"; display: block; font-family: Georgia, serif; font-size: 6rem; line-height: .6; color: var(--accent-text); margin-bottom: 12px;
}
.quote-band p { font-family: var(--font-display); font-weight: 600; letter-spacing: -.01em; font-size: clamp(1.4rem, 4.2vw, 2.4rem); line-height: 1.3; color: var(--ink); margin: 0; }

/* ---------- CTA card ---------- */
.cta-card {
    position: relative; overflow: hidden; display: grid; gap: 24px;
    padding: 36px 24px; border-radius: var(--radius-lg); color: #fff;
    background: radial-gradient(circle at 85% 0%, #F87171 0%, transparent 45%), linear-gradient(135deg, var(--red-600), var(--red-800));
    box-shadow: var(--shadow-lg);
}
.cta-card h2 { font-family: var(--font-display); font-weight: 700; letter-spacing: -.02em; font-size: clamp(1.75rem, 5vw, 2.6rem); margin-bottom: 8px; }
.cta-card p { color: rgb(255 255 255 / .9); margin: 0; max-width: 520px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Page artiste ---------- */
.artist-hero { padding-block: 16px 64px; }
.back-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--ink-3); font-weight: 500; margin-bottom: 12px; }
.back-link:hover { color: var(--accent-text); }
.back-link .icon { transition: transform var(--dur) var(--ease-out); }
.back-link:hover .icon { transform: translateX(-3px); }

.artist-layout { display: grid; gap: 32px; }
.artist-photo { margin: 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); background: var(--tint-strong); position: relative; }
.artist-photo::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgb(15 23 42 / .06); }
.artist-photo img { display: block; width: 100%; height: auto; }
.artist-logo {
    display: grid; place-items: center; width: 76px; height: 76px; padding: 12px; margin-bottom: 18px;
    border-radius: 20px; background: var(--color-primary); box-shadow: var(--shadow-red);
}
.artist-logo img { width: 100%; height: 100%; object-fit: contain; }
.artist-name { font-family: var(--font-display); font-weight: 700; letter-spacing: -.02em; font-size: clamp(2.6rem, 10vw, 4.5rem); line-height: 1; margin: 14px 0 6px; }
.artist-tagline { color: var(--ink-3); font-size: 1.1rem; margin-bottom: 24px; }
.artist-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.artist-actions .btn-lg { flex: 1 1 220px; }
.bio-title { font-family: var(--font-display); font-weight: 700; letter-spacing: -.02em; font-size: 1.5rem; padding-bottom: 12px; margin-bottom: 16px; border-bottom: 2px solid var(--tint-strong); position: relative; }
.bio-title::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 56px; height: 2px; background: var(--color-primary); }

/* ---------- Prose (contenus éditables) ---------- */
.prose { color: var(--ink-2); max-width: 70ch; }
.prose-lg { font-size: 1.08rem; }
.prose h2 { font-family: var(--font-display); font-weight: 700; letter-spacing: -.02em; color: var(--ink); font-size: clamp(1.6rem, 4vw, 2.25rem); margin: 1.6em 0 .6em; }
.prose h3 { color: var(--ink); font-size: 1.25rem; margin: 1.4em 0 .4em; }
.prose a { color: var(--accent-text); text-decoration: underline; text-underline-offset: 3px; }
.prose ul, .prose ol { padding-left: 1.25em; margin: 0 0 1em; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li::marker { color: var(--color-primary); }
.prose blockquote { margin: 1.2em 0; padding: 4px 0 4px 18px; border-left: 4px solid var(--color-primary); font-style: italic; color: var(--ink); }
.prose img { border-radius: var(--radius); margin-block: 1em; }

.team { display: grid; gap: 16px; margin-top: 8px; }
.team-member {
    position: relative; padding: 28px 24px; border-radius: var(--radius-lg); background: var(--elevated);
    border: 1px solid var(--line); box-shadow: var(--shadow-sm); overflow: hidden;
    transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out), border-color var(--dur);
}
.team-member::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 5px; background: var(--color-primary); }
.team-member:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--tint-border); }
.team-member img {
    width: calc(100% + 48px); max-width: none; margin: -28px -24px 22px; aspect-ratio: 1 / 1; object-fit: cover;
    border-radius: 0; transition: transform .7s var(--ease-out);
}
.team-member:has(img) { padding-top: 28px; }
.team-member:hover img { transform: scale(1.03); }
.team-member h3 { font-family: var(--font-display); font-weight: 700; letter-spacing: -.02em; font-size: 1.8rem; margin: 0; }
.prose .team-role { color: var(--accent-text); font-weight: 600; text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; margin: 2px 0 14px; }
.team-member blockquote { border: 0; padding: 0; margin: 0; color: var(--ink-2); }

/* ---------- Contact ---------- */
.contact-layout { display: grid; gap: 32px; }
.contact-list { display: grid; gap: 12px; margin: 20px 0 24px; }
.contact-list li { display: flex; gap: 14px; align-items: center; padding: 14px; border: 1px solid var(--line); border-radius: var(--radius); transition: border-color var(--dur); }
.contact-list li:hover { border-color: var(--tint-border); }
.contact-list strong { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-3); }
.contact-list a { font-weight: 600; font-size: .92rem; overflow-wrap: anywhere; }
/* Toute la carte est cliquable (zone tactile confortable) */
.contact-list a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.contact-list li { cursor: pointer; }
.contact-list a:hover { color: var(--accent-text); }
.contact-ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--tint); color: var(--accent-text); flex-shrink: 0; }

.form-card { background: var(--elevated); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow); }
.form { display: grid; gap: 4px; }
.form-row { display: grid; gap: 4px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-weight: 600; font-size: .92rem; }
.req { color: var(--accent-text); }
.field input, .field textarea, .field select {
    width: 100%; min-height: 50px; padding: 12px 16px; font-size: 1rem;
    border: 1.5px solid var(--line); border-radius: 12px; background: var(--surface-2);
    transition: border-color var(--dur-fast), box-shadow var(--dur-fast), background-color var(--dur-fast);
}
.field textarea { resize: vertical; min-height: 150px; }
.field input:hover, .field textarea:hover { border-color: var(--line-strong); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--color-primary); background: var(--elevated); box-shadow: 0 0 0 4px rgb(227 10 19 / .14); }
.field [aria-invalid="true"] { border-color: var(--red-600); background: var(--tint); }
.field-error { min-height: 1.4em; margin: 0; font-size: .85rem; color: var(--tint-fg); font-weight: 500; }
.form-note { font-size: .85rem; color: var(--ink-3); margin: 4px 0 12px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.alert { display: flex; gap: 10px; align-items: flex-start; padding: 14px 16px; border-radius: 12px; margin-bottom: 18px; font-weight: 500; }
.alert .icon { margin-top: 3px; }
.alert-success { background: var(--success-bg); color: var(--success-fg); border: 1px solid var(--success-bd); }
.alert-error { background: var(--tint); color: var(--tint-fg); border: 1px solid var(--tint-border); }

/* ---------- Toasts ---------- */
.toast-region { position: fixed; z-index: var(--z-toast); left: 16px; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); display: grid; gap: 8px; pointer-events: none; }
.toast {
    display: flex; gap: 10px; align-items: center; padding: 14px 18px; border-radius: 14px;
    background: var(--inverse-bg); color: #fff; box-shadow: var(--shadow-lg); font-weight: 500; pointer-events: auto;
    animation: slideUp .3s var(--ease-out);
}
.toast.is-success .icon { color: #34D399; }
.toast.is-error .icon { color: #F87171; }
.toast.is-leaving { animation: toastOut .2s ease-in forwards; }
@keyframes toastOut { to { opacity: 0; transform: translateY(10px); } }

/* ---------- 404 ---------- */
.big-404 { font-family: var(--font-display); font-weight: 700; letter-spacing: -.04em; font-size: clamp(6rem, 30vw, 12rem); line-height: 1; margin: 0; color: var(--color-primary); text-shadow: 6px 6px 0 var(--tint-strong); }

/* ---------- Footer ---------- */
.site-footer { background: var(--footer-bg); color: #CBD5E1; padding-top: 56px; margin-top: 0; }
.footer-grid { display: grid; gap: 36px; padding-bottom: 40px; }
.footer-brand p { margin: 16px 0 20px; max-width: 320px; color: #94A3B8; }
.footer-title { font-size: .8rem; text-transform: uppercase; letter-spacing: .14em; color: #fff; margin-bottom: 14px; }
.footer-nav ul { display: grid; gap: 2px; }
.footer-nav a, .footer-contact a:not(.btn) { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; transition: color var(--dur-fast); }
.footer-nav a:hover, .footer-contact a:not(.btn):hover { color: #fff; }
.footer-contact p { margin-bottom: 12px; }
.socials { display: flex; gap: 10px; }
.socials a {
    display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px;
    background: rgb(255 255 255 / .06); color: #fff; transition: background-color var(--dur), transform var(--dur) var(--ease-spring);
}
.socials a:hover { background: var(--color-primary); }
.socials-dark a { background: var(--tint); color: var(--accent-text); }
.socials-dark a:hover { color: #fff; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px; padding-block: 20px; border-top: 1px solid rgb(255 255 255 / .08); font-size: .85rem; color: #94A3B8; }
.footer-bottom p { margin: 0; }
.back-top { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; }
.back-top:hover { color: #fff; }

/* ---------- Parallax, survols, clics ---------- */
[data-parallax], [data-parallax-rel], [data-depth] { will-change: translate; }

/* Grande guillemet décorative du bandeau citation */
.quote-band { position: relative; overflow: hidden; }
.quote-deco {
    position: absolute; left: 50%; top: 50%; margin: -.55em 0 0 -.3em; pointer-events: none;
    font-family: Georgia, serif; font-size: clamp(18rem, 45vw, 34rem); line-height: 1; color: var(--color-primary); opacity: .07;
}
.quote-band .container { position: relative; }

/* Effet ondulation au clic */
.btn, .filter, .icon-link, .theme-toggle, .lang-btn, .nav-toggle, .socials a, .mobile-lang-option, .lang-option, .contact-list li { position: relative; overflow: hidden; isolation: isolate; }
.ripple {
    position: absolute; z-index: -1; border-radius: 50%; pointer-events: none; transform: scale(0);
    background: currentColor; opacity: .22; animation: ripple .6s var(--ease-out) forwards;
}
.btn-primary .ripple, .filter.is-active .ripple { background: #fff; opacity: .35; }
@keyframes ripple { to { transform: scale(1); opacity: 0; } }

/* Survol des boutons : léger zoom (sans déplacement) + reflet brillant qui les balaie */
.btn, .filter, .icon-link, .theme-toggle, .lang-btn, .nav-toggle, .socials a, .mobile-lang-option {
    transition: transform .3s var(--ease-spring), background-color var(--dur) var(--ease-out), color var(--dur) var(--ease-out),
                border-color var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out);
}
.btn:hover, .filter:hover, .mobile-lang-option:hover { transform: scale(1.04); }
.icon-link:hover, .theme-toggle:hover, .lang-btn:hover, .nav-toggle:hover, .socials a:hover { transform: scale(1.08); }
.btn-primary:hover { box-shadow: 0 0 0 1px rgb(255 255 255 / .06), 0 14px 34px -10px rgb(227 10 19 / .75); }

.btn::after, .filter::after, .icon-link::after, .theme-toggle::after, .lang-btn::after, .nav-toggle::after, .socials a::after, .mobile-lang-option::after {
    content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background: linear-gradient(110deg, transparent 25%, rgb(255 255 255 / .38) 50%, transparent 75%);
    transform: translateX(-130%);
}
.btn-white::after { background: linear-gradient(110deg, transparent 25%, rgb(227 10 19 / .14) 50%, transparent 75%); }
:root:not([data-theme="dark"]) .btn-outline::after,
:root:not([data-theme="dark"]) .filter:not(.is-active)::after,
:root:not([data-theme="dark"]) .icon-link::after,
:root:not([data-theme="dark"]) .theme-toggle::after,
:root:not([data-theme="dark"]) .lang-btn::after,
:root:not([data-theme="dark"]) .nav-toggle::after { background: linear-gradient(110deg, transparent 25%, rgb(227 10 19 / .12) 50%, transparent 75%); }
.btn:hover::after, .filter:hover::after, .icon-link:hover::after, .theme-toggle:hover::after, .lang-btn:hover::after,
.nav-toggle:hover::after, .socials a:hover::after, .mobile-lang-option:hover::after {
    transform: translateX(130%); transition: transform 1.6s cubic-bezier(.25,.1,.25,1);
}

/* Appui : léger enfoncement */
.btn:active, .filter:active, .mobile-lang-option:active { transform: scale(.97); }
.icon-link:active, .theme-toggle:active, .lang-btn:active, .nav-toggle:active, .socials a:active { transform: scale(.94); }
.filter-count.pop { animation: pop .45s var(--ease-spring); }
@keyframes pop { 40% { transform: scale(1.45); } }
.theme-toggle.spin .icon { animation: spin360 .6s var(--ease-out); }
@keyframes spin360 { from { rotate: -180deg; } }

/* Inclinaison 3D + reflet des cartes (souris uniquement) */
[data-tilt] { --rx: 0deg; --ry: 0deg; --gx: 50%; --gy: 50%; --glare: 0; }
@media (hover: hover) and (pointer: fine) {
    .artist-card-link[data-tilt] {
        transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry)) translateY(var(--lift, 0px));
        transition: transform .5s var(--ease-out), box-shadow var(--dur) var(--ease-out);
    }
    .artist-card-link[data-tilt].is-tilting { transition: transform .08s linear, box-shadow var(--dur) var(--ease-out); }
    .artist-card-link[data-tilt]:hover { --lift: -8px; transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry)) translateY(var(--lift)); }
    .artist-card-media { position: relative; }
    .artist-card-media::after {
        content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: var(--glare);
        background: radial-gradient(circle at var(--gx) var(--gy), rgb(255 255 255 / .35), transparent 55%);
        transition: opacity .3s;
    }
    .artist-card-link:hover .artist-card-logo { transform: translateZ(30px) scale(1.1) rotate(-4deg); }
    .artist-photo[data-tilt] { transform: perspective(1200px) rotateX(var(--rx)) rotateY(var(--ry)); transition: transform .6s var(--ease-out); }
    .artist-photo[data-tilt].is-tilting { transition: transform .1s linear; }
    .artist-photo::before {
        content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: var(--glare); border-radius: inherit;
        background: radial-gradient(circle at var(--gx) var(--gy), rgb(255 255 255 / .28), transparent 55%); transition: opacity .3s;
    }
    .team-member img { transition: transform .7s var(--ease-out), filter .4s; }
    .team-member:hover img { transform: scale(1.06); filter: saturate(1.15); }
}

/* ---------- Transitions entre les pages ---------- */
.js main { animation: pageIn .55s var(--ease-out) both; }
@keyframes pageIn { from { opacity: 0; transform: translateY(18px); } }
html.leaving main { opacity: 0; transform: translateY(-14px); transition: opacity .22s ease-in, transform .22s ease-in; }
html.leaving .site-footer { opacity: 0; transition: opacity .22s ease-in; }

/* Rideau rouge + logo (clic sur un artiste) */
html.arriving body::after { content: ""; position: fixed; inset: 0; z-index: 1000; background: var(--color-primary); }
.page-curtain {
    position: fixed; inset: 0; z-index: 1001; pointer-events: none;
    background: radial-gradient(circle at 50% 45%, #F0262E 0%, var(--red-600) 45%, var(--red-800) 100%);
}
.page-curtain::before {
    content: ""; position: absolute; inset: 0; opacity: .12;
    background-image: linear-gradient(rgb(255 255 255 / .6) 1px, transparent 1px), linear-gradient(90deg, rgb(255 255 255 / .6) 1px, transparent 1px);
    background-size: 48px 48px;
}
.curtain-logo {
    position: fixed; z-index: 1002; pointer-events: none; display: grid; place-items: center;
    width: 160px; height: 160px; left: calc(50% - 80px); top: calc(50% - 80px);
    filter: drop-shadow(0 18px 40px rgb(0 0 0 / .35)); will-change: transform, opacity;
}
.curtain-logo img { width: 100%; height: 100%; object-fit: contain; }
.curtain-logo.is-brand img { border-radius: 32px; box-shadow: 0 0 0 1px rgb(255 255 255 / .25), 0 0 80px rgb(255 80 80 / .6); }
.curtain-name {
    position: fixed; z-index: 1002; left: 0; right: 0; top: calc(50% + 100px); text-align: center; pointer-events: none;
    color: #fff; font-weight: 800; font-size: clamp(1.4rem, 4vw, 2.2rem); letter-spacing: -.01em;
}

/* ---------- Apparition au défilement ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out); transition-delay: calc(var(--d, 0) * 60ms); }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 479px) {
    .hero-stats { display: grid; grid-template-columns: repeat(4, auto); justify-content: space-between; gap: 12px; }
    .hero-stats strong { font-size: 1.6rem; }
    .hero-stats span { font-size: .66rem; letter-spacing: .06em; }
}

/* =====================================================================
   Breakpoints : 600 / 768 / 1024 / 1280
   ===================================================================== */
@media (min-width: 600px) {
    :root { --gutter: 24px; }
    .artist-grid { gap: 18px; }
    .artist-card-body { padding: 18px; }
    .artist-card-name { font-size: 1.45rem; }
    .artist-card-logo { top: 14px; left: 14px; width: 48px; height: 48px; padding: 8px; }
    .artist-card-more { display: inline-flex; }
    .form-row { grid-template-columns: 1fr 1fr; gap: 16px; }
    .form-card { padding: 36px; }
    .team { grid-template-columns: 1fr 1fr; }
    .toast-region { left: auto; right: 24px; width: 380px; }
}

@media (min-width: 768px) {
    .section { padding-block: 96px; }
    .artist-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .cta-card { grid-template-columns: 1fr auto; align-items: center; padding: 56px; }
    .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
    .filters { flex-wrap: wrap; overflow: visible; margin-inline: 0; padding-inline: 0; }
    .hero-visual { height: 420px; }
}

@media (min-width: 1024px) {
    :root { --header-h: 80px; }
    .brand img { width: 60px; height: 60px; border-radius: 14px; }
    .main-nav { display: block; margin-inline: auto 8px; }
    .nav-list { display: flex; gap: 4px; }
    .nav-link {
        position: relative; display: inline-flex; align-items: center; gap: 4px; min-height: 44px; padding: 8px 14px;
        font-weight: 500; color: var(--ink-2); border-radius: var(--radius-pill); transition: color var(--dur-fast), background-color var(--dur-fast);
    }
    .nav-link::after {
        content: ""; position: absolute; left: 14px; right: 14px; bottom: 6px; height: 2px; border-radius: 2px;
        background: var(--color-primary); transform: scaleX(0); transform-origin: left; transition: transform var(--dur) var(--ease-out);
    }
    .nav-link:hover { color: var(--accent-text); }
    .nav-link:hover::after, .nav-link.is-current::after { transform: scaleX(1); }
    .nav-link.is-current { color: var(--accent-text); font-weight: 600; }
    .header-cta { display: inline-flex; }
    .lang-switch { display: block; }
    .nav-toggle, .mobile-nav { display: none !important; }
    .brand { margin-right: 0; }

    .hero-inner { grid-template-columns: 1.15fr 1fr; padding-block: 88px 104px; }
    .hero-visual { height: 480px; max-width: none; }
    .page-hero { padding-block: 96px 80px; }

    .artist-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
    .artist-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

    .artist-layout { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 64px; align-items: start; }
    .artist-photo { position: sticky; top: calc(var(--header-h) + 24px); }
    .artist-info { padding-top: 8px; }

    .contact-layout { grid-template-columns: 2fr 3fr; gap: 64px; align-items: start; }
}

@media (min-width: 1280px) {
    .artist-grid:not(.artist-grid-3) { gap: 26px; }
}

/* ---------- Accessibilité : mouvement réduit ---------- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
    .js .reveal { opacity: 1; transform: none; }
    .js main { animation: none; }
    [data-parallax], [data-parallax-rel], [data-depth] { translate: none !important; }
    .ripple, .btn::after, .filter::after, .icon-link::after, .theme-toggle::after, .lang-btn::after, .nav-toggle::after, .socials a::after, .mobile-lang-option::after { display: none; }
    .btn:hover, .filter:hover, .icon-link:hover, .theme-toggle:hover, .lang-btn:hover, .nav-toggle:hover, .socials a:hover { transform: none; }
    html.arriving body::after { display: none; }
    .marquee-track { animation: none; }
}

/* ---------- Impression ---------- */
@media print {
    .site-header, .site-footer, .marquee, .filters, .hero-visual, .cta-card { display: none !important; }
    .hero, .page-hero { background: none; color: var(--ink); }
}
