/* ============================================================
   Matthieu Marillot — Design sombre éditorial premium
   Noir chaud · or · Playfair Display + Inter · effets soignés
   ============================================================ */

:root {
    --bg: #0a0a0a;
    --surface: #131313;
    --surface-2: #1a1a1a;
    --paper: #101010;
    --fg: #f4f4f4;
    --muted: #9b9b9b;
    --faint: #5e5e5e;
    --border: #242424;
    --primary: #f4f4f4;      /* boutons clairs sur fond noir */
    --on-primary: #0a0a0a;
    --accent: #ffffff;       /* charte noir & blanc */
    --accent-strong: #ffffff;

    --font-sans: "Inter", ui-sans-serif, system-ui, sans-serif;
    --font-display: "Playfair Display", ui-serif, Georgia, serif;

    --maxw: 84rem;
    --radius: 14px;
    --ease: cubic-bezier(.16,1,.3,1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    margin: 0; background: var(--bg); color: var(--fg);
    font-family: var(--font-sans); line-height: 1.65;
    -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
::selection { background: #fff; color: #000; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 3px; }

@media (hover: hover) and (pointer: fine) {
    body.has-cursor, body.has-cursor a, body.has-cursor button { cursor: none; }
}
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 200; }
.skip-link:focus { left: 1rem; top: 1rem; background: var(--accent); color: var(--on-primary); padding: .5rem 1rem; border-radius: 8px; font-size: .875rem; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 1.5rem; }
@media (min-width: 1024px) { .container { padding-inline: 3rem; } }
.section { padding-block: 6rem; }
@media (min-width: 768px) { .section { padding-block: 9rem; } }
.section-alt { background: var(--surface); }

/* ---------- Typographie ---------- */
h1, h2, h3 { font-family: var(--font-display); font-weight: 500; letter-spacing: -0.015em; line-height: 1.06; margin: 0; }
.text-balance { text-wrap: balance; }
.muted { color: var(--muted); }
.accent { color: var(--accent); }
.accent:hover { color: var(--accent-strong); }
.eyebrow { font-size: .72rem; letter-spacing: .28em; text-transform: uppercase; color: #b4b4b4; margin: 0; font-weight: 500; }
.section-header h2 { margin-top: 1rem; max-width: 46rem; font-size: clamp(2rem, 4.5vw, 3.4rem); }

/* ---------- Boutons ---------- */
.btn { position: relative; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
    border-radius: 999px; padding: .85rem 1.9rem; font-size: .9rem; font-weight: 500; cursor: pointer; border: 1px solid transparent;
    transition: background-color .35s, border-color .35s, color .35s, transform .35s var(--ease); }
.btn-sm { padding: .5rem 1.05rem; font-size: .85rem; }
.btn-primary { background: var(--primary); color: var(--on-primary); }
.btn-primary:hover { background: #fff; transform: translateY(-2px); }
.btn-ghost { border-color: var(--border); color: var(--fg); background: transparent; }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }
.btn::before { content: ""; position: absolute; top: 0; left: -120%; width: 70%; height: 100%; background: linear-gradient(120deg, transparent, rgba(255,255,255,.35), transparent); transform: skewX(-20deg); transition: left .6s; }
.btn-primary:hover::before { left: 140%; }
.arrow-link { display: inline-flex; align-items: center; gap: .5rem; color: var(--accent); font-size: .9rem; }
.arrow-link:hover { color: var(--accent-strong); }
.arrow, .card-link .arrow { transition: transform .3s; }
.arrow-link:hover .arrow { transform: translateX(4px); }

/* ---------- Curseur personnalisé ---------- */
.cursor-dot, .cursor-ring { display: none; position: fixed; top: 0; left: 0; z-index: 9999; pointer-events: none; border-radius: 50%; mix-blend-mode: difference; }
body.has-cursor .cursor-dot, body.has-cursor .cursor-ring { display: block; }
.cursor-dot { width: 7px; height: 7px; background: #fff; transform: translate(-50%,-50%); }
.cursor-ring { width: 38px; height: 38px; border: 1px solid rgba(255,255,255,.6); transform: translate(-50%,-50%); transition: width .25s, height .25s, background-color .25s; }
.cursor-ring.is-hover { width: 60px; height: 60px; background: rgba(255,255,255,.12); }

/* ---------- Header / Nav ---------- */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 50; border-bottom: 1px solid transparent; transition: background-color .35s, border-color .35s, backdrop-filter .35s; }
.site-header.is-scrolled { background: rgba(12,11,10,.8); backdrop-filter: blur(18px) saturate(1.3); border-bottom-color: var(--border); }
.navbar { display: flex; align-items: center; justify-content: space-between; height: 4.25rem; }
@media (min-width: 768px) { .navbar { height: 5.25rem; } }
.brand { font-family: var(--font-display); font-size: 1.2rem; font-weight: 600; transition: color .3s; display: inline-flex; align-items: center; }
.brand:hover { color: var(--accent); }
.brand-logo { height: 2rem; width: auto; display: block; }
@media (min-width: 768px) { .brand-logo { height: 2.4rem; } }
.nav-links { display: none; list-style: none; gap: 2.2rem; margin: 0; padding: 0; }
@media (min-width: 768px) { .nav-links { display: flex; align-items: center; } }
.nav-link { position: relative; font-size: .9rem; color: var(--muted); transition: color .3s; }
.nav-link::after { content: ""; position: absolute; left: 0; bottom: -6px; height: 1.5px; width: 0; background: var(--accent); transition: width .3s; }
.nav-link:hover { color: var(--fg); }
.nav-link:hover::after, .nav-link.is-active::after { width: 100%; }
.nav-link.is-active { color: var(--fg); }
.nav-cta { display: none; }
@media (min-width: 768px) { .nav-cta { display: inline-flex; } }
.nav-toggle { display: inline-flex; flex-direction: column; justify-content: center; gap: 5px; width: 2.5rem; height: 2.5rem; background: none; border: none; cursor: pointer; padding: 0; }
@media (min-width: 768px) { .nav-toggle { display: none; } }
.nav-toggle span { display: block; width: 24px; height: 1.5px; background: var(--fg); transition: transform .3s, opacity .3s; margin-inline: auto; }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
.mobile-menu { max-height: 0; overflow: hidden; background: rgba(12,11,10,.98); backdrop-filter: blur(18px); transition: max-height .35s ease; }
.mobile-menu.is-open { max-height: 26rem; border-top: 1px solid var(--border); }
.mobile-menu ul { list-style: none; margin: 0; padding-block: 1rem; display: flex; flex-direction: column; gap: .25rem; }
.mobile-menu a { display: block; padding: .8rem .5rem; border-radius: 10px; color: var(--muted); transition: background-color .2s, color .2s; }
.mobile-menu a:hover { background: var(--surface-2); color: var(--fg); }
.mobile-menu .mobile-cta { background: var(--primary); color: var(--on-primary); text-align: center; font-weight: 500; margin-top: .5rem; }
.scroll-progress { position: absolute; left: 0; bottom: -1px; height: 2px; width: 0; background: linear-gradient(90deg, var(--accent), var(--accent-strong)); transition: width .1s linear; }

/* ---------- Placeholder (dégradés) ---------- */
.ph { position: relative; display: block; width: 100%; height: 100%; overflow: hidden; }
.ph-veil { position: absolute; inset: 0; opacity: .5; background: linear-gradient(180deg, transparent 40%, var(--veil) 100%); }
.grain::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .06; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.media-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pic { display: contents; }

/* ---------- HERO ---------- */
.hero { position: relative; padding-top: 7rem; padding-bottom: 4rem; overflow: hidden; }
@media (min-width: 1024px) { .hero { padding-top: 9rem; min-height: 100svh; display: flex; align-items: center; } }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: .6;
    background-image: radial-gradient(rgba(255,255,255,.06) 1px, transparent 1px); background-size: 26px 26px;
    -webkit-mask-image: radial-gradient(120% 90% at 50% 0%, #000 30%, transparent 75%);
    mask-image: radial-gradient(120% 90% at 50% 0%, #000 30%, transparent 75%); }
.hero-aura { position: absolute; z-index: 0; width: 60vw; max-width: 740px; aspect-ratio: 1; top: -22%; right: -12%; border-radius: 50%; pointer-events: none;
    background: radial-gradient(circle, rgba(255,255,255,.07), transparent 62%); filter: blur(30px); animation: floataura 16s ease-in-out infinite alternate; }
@keyframes floataura { from { transform: translate3d(0,0,0) scale(1); } to { transform: translate3d(-5%,7%,0) scale(1.12); } }
.hero-grid { position: relative; z-index: 1; display: grid; gap: 3rem; align-items: center; width: 100%; }
@media (min-width: 1024px) { .hero-grid { grid-template-columns: 1.05fr .95fr; gap: 4rem; } }
.hero-sub { margin-top: 1rem; font-size: .9rem; color: var(--muted); }
.hero-title { margin-top: 1.4rem; font-size: clamp(2.1rem, 5vw, 3.9rem); font-weight: 500; }
.hero-title .em { font-style: italic; color: var(--accent); }
.hero-desc { margin-top: 1.8rem; max-width: 34rem; color: var(--muted); font-size: 1.02rem; }
.hero-actions { margin-top: 2.2rem; display: flex; flex-wrap: wrap; gap: 1rem; }
.hero-meta { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; font-size: .8rem; color: var(--faint); align-items: center; }
.hero-meta .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); display: inline-block; margin-right: .5rem; animation: pulse 2.4s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255,255,255,.5); } 70% { box-shadow: 0 0 0 8px rgba(255,255,255,0); } 100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); } }
.hero-figure { position: relative; margin: 0; }
.hero-media { position: relative; aspect-ratio: 4/5; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); box-shadow: 0 50px 90px -40px rgba(0,0,0,.8); }
.hero-media .ph, .hero-media .media-img { transition: transform 1.4s var(--ease); }
.hero-figure:hover .ph, .hero-figure:hover .media-img { transform: scale(1.05); }
.hero-badge { position: absolute; left: -1rem; bottom: 1.5rem; background: var(--surface-2); border: 1px solid var(--border); border-radius: 999px; padding: .6rem 1.1rem; font-size: .8rem; box-shadow: 0 20px 40px -25px rgba(0,0,0,.8); display: flex; align-items: center; gap: .5rem; }
.hero-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: #36c98a; display: inline-block; }
.hero-scroll { position: absolute; left: 50%; bottom: 1.2rem; transform: translateX(-50%); display: none; flex-direction: column; align-items: center; gap: .5rem; font-size: .65rem; letter-spacing: .3em; color: var(--faint); z-index: 1; }
@media (min-width: 1024px) { .hero-scroll { display: inline-flex; } }
.hero-scroll-line { width: 1px; height: 2.5rem; background: linear-gradient(var(--faint), transparent); position: relative; overflow: hidden; }
.hero-scroll-line::after { content: ""; position: absolute; inset: 0; background: var(--accent); animation: scrolldot 1.8s ease-in-out infinite; }
@keyframes scrolldot { 0% { transform: translateY(-100%); } 60%,100% { transform: translateY(100%); } }

/* ---------- Marquee ---------- */
.marquee { border-block: 1px solid var(--border); background: var(--surface); overflow: hidden; padding-block: 1.1rem; }
.marquee-track { display: flex; gap: 3rem; width: max-content; animation: marquee 28s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item { font-family: var(--font-display); font-style: italic; font-size: 1.5rem; color: var(--fg); display: inline-flex; align-items: center; gap: 3rem; white-space: nowrap; }
.marquee-item::after { content: "✦"; color: var(--accent); font-style: normal; font-size: 1rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Stats ---------- */
.stats { background: var(--surface); border-block: 1px solid var(--border); }
.stats-grid { display: grid; grid-template-columns: repeat(2,1fr); }
@media (min-width: 768px) { .stats-grid { grid-template-columns: repeat(4,1fr); } }
.stat { text-align: center; padding-block: 3rem; position: relative; }
@media (min-width: 768px) { .stat { padding-block: 4rem; } .stat:not(:last-child)::after { content: ""; position: absolute; right: 0; top: 25%; height: 50%; width: 1px; background: var(--border); } }
.stat-value { font-family: var(--font-display); font-size: clamp(2.5rem,5vw,3.5rem); color: var(--fg); }
.stat-suffix { color: var(--accent); }
.stat-label { margin-top: .5rem; font-size: .9rem; color: var(--muted); }

/* ---------- Grilles de cartes ---------- */
.grid { display: grid; gap: 1.4rem; }
.grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 1024px) { .grid-3 { grid-template-columns: repeat(3,1fr); } .grid-4 { grid-template-columns: repeat(4,1fr); } }
.mt-grid { margin-top: 3.5rem; }
.card { display: flex; flex-direction: column; height: 100%; overflow: hidden; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); transition: border-color .35s, transform .35s var(--ease), box-shadow .35s; }
.card:hover { border-color: rgba(255,255,255,.4); transform: translateY(-4px); box-shadow: 0 30px 60px -40px rgba(0,0,0,.7); }
.card-media { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.card-media .ph, .card-media .media-img { transition: transform .7s var(--ease); }
.card:hover .card-media .ph, .card:hover .card-media .media-img { transform: scale(1.06); }
.card-body { display: flex; flex-direction: column; flex: 1; padding: 1.6rem; }
.card-body h3 { font-size: 1.35rem; }
.card-body p { margin: .8rem 0 0; flex: 1; font-size: .92rem; color: var(--muted); }
.card-link { margin-top: 1.3rem; display: inline-flex; align-items: center; gap: .5rem; color: var(--accent); font-size: .9rem; font-weight: 500; }
.card:hover .card-link .arrow { transform: translateX(4px); }
.card-h { font-size: 1.3rem; }

/* Tuile univers */
.tile { position: relative; display: block; aspect-ratio: 16/11; overflow: hidden; border-radius: var(--radius); border: 1px solid var(--border); }
.tile .ph, .tile .media-img { transition: transform 1.3s var(--ease); }
.tile:hover .ph, .tile:hover .media-img { transform: scale(1.06); }
.tile-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(8,6,4,.9), rgba(8,6,4,.1) 55%, transparent); }
.tile-caption { position: absolute; inset: auto 0 0 0; padding: 1.9rem; color: #fff; }
.tile-caption .sub { font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--accent-strong); }
.tile-caption h3 { margin-top: .5rem; font-size: 2rem; color: #fff; }

/* Sections deux colonnes */
.split { display: grid; gap: 3.5rem; align-items: center; }
@media (min-width: 1024px) { .split { grid-template-columns: 1fr 1fr; } }
.split h2 { font-size: clamp(1.9rem,4vw,3.2rem); margin-top: 1rem; }
.split p { margin-top: 1.5rem; max-width: 32rem; color: var(--muted); }
.media-frame { position: relative; aspect-ratio: 4/5; overflow: hidden; border-radius: var(--radius); border: 1px solid var(--border); box-shadow: 0 50px 90px -50px rgba(0,0,0,.8); }
.media-frame .ph, .media-frame .media-img { transition: transform 1.2s var(--ease); }
.media-frame:hover .ph, .media-frame:hover .media-img { transform: scale(1.05); }
.media-frame .overlay-soft { position: absolute; inset: 0; background: linear-gradient(to top, rgba(8,6,4,.45), transparent 60%); }
.portrait { max-width: 25rem; margin-inline: auto; }
.tags { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: .6rem; list-style: none; padding: 0; }
.tag { border: 1px solid var(--border); border-radius: 999px; padding: .45rem 1rem; font-size: .78rem; color: var(--muted); background: var(--surface); }
.actions { margin-top: 2.3rem; display: flex; flex-wrap: wrap; gap: 1rem; }
.order-1 { order: 1; } .order-2 { order: 2; }
@media (min-width: 1024px) { .lg-order-1 { order: 1; } .lg-order-2 { order: 2; } }

/* Aperçu */
.gallery { display: grid; grid-template-columns: repeat(2,1fr); gap: .9rem; }
@media (min-width: 640px) { .gallery { grid-template-columns: repeat(3,1fr); gap: 1.1rem; } }
.gallery-item { position: relative; aspect-ratio: 1; overflow: hidden; border-radius: 14px; border: 1px solid var(--border); margin: 0; }
.gallery-item .ph, .gallery-item .media-img { transition: transform .7s var(--ease); }
.gallery-item:hover .ph, .gallery-item:hover .media-img { transform: scale(1.1); }
.gallery-cap { position: absolute; inset: 0; display: flex; align-items: flex-end; padding: 1rem; font-size: .9rem; font-weight: 500; color: #fff; background: linear-gradient(to top, rgba(8,6,4,.85), transparent); opacity: 0; transition: opacity .3s; }
.gallery-item:hover .gallery-cap { opacity: 1; }

/* ---------- FAQ ---------- */
.faq-wrap { max-width: 52rem; }
.faq { display: grid; gap: .8rem; }
.faq-item { border: 1px solid var(--border); border-radius: 14px; background: var(--surface); overflow: hidden; transition: border-color .3s; }
.faq-item[open] { border-color: rgba(255,255,255,.4); }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.3rem 1.6rem; cursor: pointer; font-family: var(--font-display); font-size: 1.18rem; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-icon { position: relative; flex: none; width: 16px; height: 16px; }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; background: var(--accent); border-radius: 2px; transition: transform .3s, opacity .3s; }
.faq-icon::before { top: 7px; left: 0; width: 16px; height: 2px; }
.faq-icon::after { left: 7px; top: 0; width: 2px; height: 16px; }
.faq-item[open] .faq-icon::after { transform: rotate(90deg); opacity: 0; }
.faq-answer { padding: 0 1.6rem 1.3rem; color: var(--muted); font-size: .96rem; }
.faq-item[open] .faq-answer { animation: fadein .4s ease; }
@keyframes fadein { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* Carte feature */
.feature-card { border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); padding: 2rem; }
@media (min-width: 768px) { .feature-card { padding: 3rem; } }
.feature-card h2 { margin-top: 1rem; font-size: clamp(1.6rem,3vw,2.2rem); }
.feature-card .muted { margin-top: 1rem; max-width: 36rem; }

/* ---------- CTA ---------- */
.cta { position: relative; overflow: hidden; background: var(--surface); border-top: 1px solid var(--border); text-align: center; }
.cta .ph { position: absolute; inset: 0; z-index: 0; opacity: .25; }
.cta-overlay { position: absolute; inset: 0; z-index: 0; background: radial-gradient(120% 120% at 50% 0%, rgba(255,255,255,.18), transparent 60%); }
.cta-inner { position: relative; z-index: 1; padding-block: 7rem; }
@media (min-width: 768px) { .cta-inner { padding-block: 9rem; } }
.cta h2 { margin-inline: auto; max-width: 42rem; font-size: clamp(2rem,5vw,3.4rem); color: var(--fg); }
.cta p { margin: 1.5rem auto 0; max-width: 34rem; color: var(--muted); }

/* ---------- Page : en-tête ---------- */
.page-head { padding-top: 9rem; padding-bottom: 4rem; position: relative; }
@media (min-width: 768px) { .page-head { padding-top: 11rem; } }
.page-head h1 { margin-top: 1rem; max-width: 50rem; font-size: clamp(2.4rem,6vw,4.2rem); }
.page-head p { margin-top: 1.5rem; max-width: 38rem; color: var(--muted); }

/* ---------- Grille d'albums (Photographie) ---------- */
.albums { display: grid; grid-template-columns: 1fr; gap: 1.2rem; }
@media (min-width: 600px) { .albums { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 1000px) { .albums { grid-template-columns: repeat(3,1fr); } }
.album { position: relative; display: block; aspect-ratio: 3/2; overflow: hidden; border-radius: 14px; border: 1px solid var(--border); scroll-margin-top: 7rem; }
.album .ph, .album .media-img { transition: transform 1s var(--ease); }
.album:hover .ph, .album:hover .media-img { transform: scale(1.07); }
.album-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(8,6,4,.9), rgba(8,6,4,.05) 60%, transparent); }
.album-cap { position: absolute; inset: auto 0 0 0; padding: 1.3rem; color: #fff; }
.album-cat { font-size: .65rem; letter-spacing: .2em; text-transform: uppercase; color: var(--accent-strong); }
.album-title { margin-top: .35rem; font-family: var(--font-display); font-size: 1.25rem; line-height: 1.15; }
.album-date { margin-top: .25rem; font-size: .8rem; color: #cbb9a0; }

/* Vidéo : play */
.play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.play-btn { display: flex; align-items: center; justify-content: center; width: 3.6rem; height: 3.6rem; border-radius: 999px; padding-left: 4px; border: 1px solid rgba(255,255,255,.5); background: rgba(8,6,4,.4); color: #fff; backdrop-filter: blur(6px); transition: transform .3s, border-color .3s, color .3s, background-color .3s; }
.card:hover .play-btn { transform: scale(1.12); border-color: var(--accent); color: var(--on-primary); background: var(--accent); }
.video-meta { display: flex; align-items: center; justify-content: space-between; gap: .75rem; }
.video-meta .year { font-size: .75rem; color: var(--faint); }

/* À propos / parcours / matériel */
.parcours { margin-top: 2.5rem; display: grid; gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
@media (min-width: 640px) { .parcours { grid-template-columns: repeat(2,1fr); } }
.parcours-item { background: var(--surface); padding: 2rem; height: 100%; }
.parcours-item h2, .parcours-h { font-size: 1.1rem; color: var(--accent); font-family: var(--font-sans); font-weight: 600; letter-spacing: 0; }
.parcours-item .val { margin-top: .5rem; font-size: 1.05rem; color: var(--fg); font-family: var(--font-display); }
.parcours-item p { margin-top: .8rem; font-size: .92rem; color: var(--muted); }
.yt-link { display: inline-flex; align-items: center; gap: .5rem; margin-top: 1.5rem; color: var(--accent); font-size: .9rem; }
.yt-link:hover { color: var(--accent-strong); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: 3.5rem; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: .9fr 1.1fr; } }
.contact-list { margin-top: 2.5rem; display: grid; gap: 1.25rem; font-size: .92rem; }
.contact-list dt { color: var(--faint); }
.contact-list dd { margin: .25rem 0 0; }
.contact-list dd a:hover { color: var(--accent); }
.form-card { border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); padding: 1.8rem; box-shadow: 0 30px 60px -50px rgba(0,0,0,.7); }
@media (min-width: 768px) { .form-card { padding: 2.4rem; } }
.form-row { display: grid; gap: 1.25rem; }
@media (min-width: 640px) { .form-row.two { grid-template-columns: 1fr 1fr; } }
.field { margin-top: 1.25rem; }
.form-row .field { margin-top: 0; }
.field label { display: block; margin-bottom: .5rem; font-size: .85rem; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; border: 1px solid var(--border); background: var(--bg); color: var(--fg); border-radius: 10px; padding: .8rem 1rem; font-size: .9rem; font-family: inherit; transition: border-color .2s, box-shadow .2s; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(255,255,255,.15); }
.field textarea { resize: vertical; min-height: 8rem; }
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { margin-top: 1.5rem; display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; }
.form-status { font-size: .9rem; }
.form-status.ok { color: var(--accent); }
.form-status.err { color: #e57373; }
.btn[disabled] { opacity: .6; cursor: not-allowed; }
.alert { border-radius: 12px; padding: .85rem 1rem; font-size: .9rem; margin-bottom: 1.5rem; }
.alert.ok { background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.4); color: var(--accent-strong); }
.alert.err { background: rgba(229,115,115,.1); border: 1px solid rgba(229,115,115,.35); color: #e57373; }

/* ---------- Footer ---------- */
.site-footer { background: #080706; border-top: 1px solid var(--border); }
.footer-grid { padding-block: 5rem 0; display: flex; flex-direction: column; gap: 3rem; }
@media (min-width: 768px) { .footer-grid { flex-direction: row; justify-content: space-between; align-items: flex-start; } }
.footer-brand { max-width: 24rem; }
.footer-name { font-family: var(--font-display); font-size: 1.6rem; }
.footer-tag { margin-top: .8rem; font-size: .9rem; color: var(--muted); }
.footer-social { display: flex; flex-wrap: wrap; gap: 1rem; list-style: none; margin: 1.5rem 0 0; padding: 0; }
.footer-social a { font-size: .85rem; color: var(--muted); transition: color .3s; }
.footer-social a:hover { color: var(--accent-strong); }
.footer-cols { display: flex; flex-direction: column; gap: 2.5rem; }
@media (min-width: 640px) { .footer-cols { flex-direction: row; gap: 4rem; } }
.footer-cols .eyebrow { color: var(--accent-strong); margin-bottom: 1rem; }
.footer-list { list-style: none; margin: 0; padding: 0; font-style: normal; }
.footer-list li { margin-bottom: .65rem; }
.footer-list a { color: var(--muted); transition: color .3s; font-size: .9rem; }
.footer-list a:hover { color: var(--fg); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding: 5rem 0 2rem; }
.footer-bottom p { font-size: .78rem; color: var(--faint); }
.footer-admin { font-size: .78rem; color: var(--faint); transition: color .3s; }
.footer-admin:hover { color: var(--accent-strong); }

/* ---------- Preloader (effet d'arrivée) ---------- */
html.preloading, html.preloading body { overflow: hidden; height: 100%; }
html:not(.js) .preloader { display: none !important; }
.preloader { position: fixed; inset: 0; z-index: 9998; background: #0a0a0a; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.5rem; transition: transform 1.1s cubic-bezier(.76,0,.24,1); }
.preloader.done { transform: translateY(-100%); }
.preloader-brand { font-family: var(--font-display); font-size: clamp(1.2rem,3vw,1.8rem); letter-spacing: .02em; opacity: 0; animation: pl-in .8s ease forwards; }
.preloader-logo { width: clamp(180px, 32vw, 340px); height: auto; display: block; }
.js .preloader-logo { clip-path: inset(0 100% 0 0); animation: logo-draw 1.3s cubic-bezier(.76,0,.24,1) .15s forwards; }
@keyframes logo-draw { to { clip-path: inset(0 0 0 0); } }
.preloader-svg { width: clamp(220px, 42vw, 460px); height: auto; display: block; }
.preloader-count { font-family: var(--font-display); font-weight: 500; font-size: clamp(4rem,16vw,11rem); line-height: 1; font-variant-numeric: tabular-nums; }
.preloader-bar { width: min(60vw, 320px); height: 1px; background: #2a2a2a; overflow: hidden; }
.preloader-bar span { display: block; height: 100%; width: 0; background: #fff; }
@keyframes pl-in { to { opacity: 1; } }
.no-js .preloader { display: none; }

/* ---------- Curseur : libellé « VOIR » ---------- */
.cursor-ring { display: none; position: fixed; top: 0; left: 0; z-index: 9999; pointer-events: none; border-radius: 50%; align-items: center; justify-content: center; }
body.has-cursor .cursor-ring { display: flex; }
.cursor-ring.is-media { width: 84px; height: 84px; background: rgba(255,255,255,.95); border-color: transparent; mix-blend-mode: normal; }
.cursor-label { font-size: .62rem; letter-spacing: .18em; text-transform: uppercase; color: #0a0a0a; opacity: 0; transition: opacity .2s; font-weight: 600; }
.cursor-ring.is-media .cursor-label { opacity: 1; }

/* ---------- Mur de photos animé ---------- */
.wall-section { position: relative; overflow: hidden; border-block: 1px solid var(--border); background: #060606; }
.wall-head { position: absolute; z-index: 2; top: 2rem; left: 0; right: 0; text-align: center; pointer-events: none; }
.wall-head .eyebrow { color: #cdcdcd; }
.wall { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; height: 86vh; padding: 1rem; -webkit-mask-image: linear-gradient(180deg, transparent, #000 14%, #000 86%, transparent); mask-image: linear-gradient(180deg, transparent, #000 14%, #000 86%, transparent); }
@media (max-width: 720px) { .wall { grid-template-columns: repeat(2, 1fr); height: 80vh; } }
.wall-col { display: flex; flex-direction: column; gap: 1rem; animation: wall-up 45s linear infinite; }
.wall-col.down { animation-name: wall-down; }
.wall-col.slow { animation-duration: 60s; }
.wall:hover .wall-col { animation-play-state: paused; }
@keyframes wall-up { from { transform: translateY(0); } to { transform: translateY(-50%); } }
@keyframes wall-down { from { transform: translateY(-50%); } to { transform: translateY(0); } }
.wall-item { position: relative; flex: none; aspect-ratio: 3/4; overflow: hidden; border-radius: 8px; border: 1px solid var(--border); }
.wall-item .media-img { transition: transform .6s var(--ease); }
.wall-item:hover .media-img { transform: scale(1.06); }
@media (max-width: 720px) { .wall .col3 { display: none; } }

/* ---------- Pages légales ---------- */
.legal { max-width: 52rem; }
.legal h2 { font-size: 1.35rem; margin-top: 2.6rem; }
.legal h3 { font-family: var(--font-sans); font-weight: 600; font-size: 1rem; color: var(--fg); margin-top: 1.6rem; letter-spacing: 0; }
.legal p, .legal li { color: var(--muted); font-size: .95rem; line-height: 1.75; }
.legal p { margin: .8rem 0; }
.legal ul { padding-left: 1.2rem; }
.legal li { margin: .3rem 0; }
.legal a { color: var(--fg); text-decoration: underline; text-underline-offset: 3px; }
.legal a:hover { color: var(--accent); }
.legal .lead { color: var(--fg); font-size: 1.05rem; }
.legal-card { border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); padding: 1.5rem 1.75rem; margin: 1.2rem 0; }
.legal-card p { margin: .35rem 0; }

/* ============================================================
   ACCUEIL — 2 entrées + pellicule + révélation "grandit"
   ============================================================ */
.featured { display: grid; grid-template-columns: 1fr; gap: 1px; background: var(--border); border-bottom: 1px solid var(--border); }
@media (min-width: 800px) { .featured { grid-template-columns: 1fr 1fr; } }
.feature-panel { position: relative; display: flex; min-height: 54vh; overflow: hidden; background: var(--surface); }
@media (min-width: 800px) { .feature-panel { min-height: 70vh; } }
.feature-media { position: absolute; inset: 0; }
.feature-media .media-img, .feature-media .ph { transition: transform 1.1s var(--ease); }
.feature-panel:hover .feature-media .media-img, .feature-panel:hover .feature-media .ph { transform: scale(1.06); }
.feature-ov { position: absolute; inset: 0; background: linear-gradient(to top, rgba(8,8,8,.88), rgba(8,8,8,.25) 60%, rgba(8,8,8,.45)); }
.feature-body { position: relative; z-index: 2; margin-top: auto; padding: 2.5rem; color: #fff; display: flex; flex-direction: column; gap: .4rem; }
.feature-kicker { font-size: .7rem; letter-spacing: .22em; text-transform: uppercase; color: var(--accent-strong); }
.feature-label { font-family: var(--font-display); font-size: clamp(2.4rem, 5vw, 4.4rem); line-height: 1; }
.feature-sub { color: #cfc9c0; font-size: .95rem; }
.feature-cta { margin-top: .8rem; font-size: .85rem; display: inline-flex; gap: .5rem; align-items: center; }
.feature-cta .arrow { transition: transform .3s; }
.feature-panel:hover .feature-cta .arrow { transform: translateX(5px); }
.feature-play { position: absolute; z-index: 2; top: 45%; left: 50%; transform: translate(-50%,-50%); width: 5rem; height: 5rem; border-radius: 999px; border: 1px solid rgba(255,255,255,.6); background: rgba(8,8,8,.3); backdrop-filter: blur(6px); color: #fff; display: flex; align-items: center; justify-content: center; padding-left: 5px; transition: transform .3s, background-color .3s, color .3s; }
.feature-panel:hover .feature-play { transform: translate(-50%,-50%) scale(1.1); background: rgba(255,255,255,.92); color: #0a0a0a; }

.filmstrip { position: relative; overflow: hidden; border-block: 1px solid var(--border); background: #070707; padding-block: 3.5rem; display: flex; flex-direction: column; gap: 1rem; }
.filmstrip .wall-head { position: static; margin: 0 0 .5rem; text-align: center; }
.film-row { overflow: hidden; height: 200px; }
@media (max-width: 700px) { .film-row { height: 130px; } }
.film-track { display: flex; gap: .7rem; height: 100%; width: max-content; will-change: transform; }
.film-item { height: 100%; flex: none; border-radius: 8px; overflow: hidden; border: 1px solid var(--border); }
.film-item img { height: 100%; width: auto; display: block; }

.js .reveal-grow { opacity: 0; transform: translateY(44px) scale(.82); filter: blur(8px); transition: opacity 1s var(--ease), transform 1s var(--ease), filter 1s var(--ease); transition-delay: var(--d,0ms); }
.js .reveal-grow.is-visible { opacity: 1; transform: none; filter: none; }

/* ============================================================
   GALERIES PHOTO (page Photographie) + ALBUM + VISIONNEUSE
   ============================================================ */
.albums { display: grid; grid-template-columns: 1fr; gap: 2rem 1.6rem; }
@media (min-width: 600px) { .albums { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .albums { grid-template-columns: repeat(3, 1fr); } }
.album-card { display: flex; flex-direction: column; }
.album-thumb { position: relative; aspect-ratio: 3/2; overflow: hidden; border-radius: 12px; border: 1px solid var(--border); }
.album-thumb .media-img, .album-thumb .ph { transition: transform 1s var(--ease); }
.album-card:hover .album-thumb .media-img, .album-card:hover .album-thumb .ph { transform: scale(1.06); }
.album-badge { position: absolute; top: .75rem; left: .75rem; z-index: 2; background: rgba(8,8,8,.6); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.16); color: #fff; font-size: .64rem; letter-spacing: .14em; text-transform: uppercase; padding: .35rem .7rem; border-radius: 999px; }
.album-view { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(8,8,8,.4); opacity: 0; transition: opacity .35s; }
.album-view span { border: 1px solid #fff; color: #fff; font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; padding: .6rem 1.2rem; border-radius: 999px; }
.album-card:hover .album-view { opacity: 1; }
.album-info { padding: .95rem .15rem 0; }
.album-title { display: block; font-family: var(--font-display); font-size: 1.3rem; line-height: 1.2; }
.album-date { display: block; margin-top: .35rem; font-size: .82rem; color: var(--muted); }

.back-link { display: inline-block; font-size: .85rem; color: var(--muted); transition: color .3s; }
.back-link:hover { color: var(--accent); }
.album-desc { margin-top: 1rem; max-width: 42rem; color: var(--muted); font-size: .95rem; }

/* Grille masonry des photos d'un album */
.photo-grid { columns: 3 300px; column-gap: 1rem; }
.photo-cell { break-inside: avoid; display: block; width: 100%; margin: 0 0 1rem; padding: 0; border: 1px solid var(--border); border-radius: 10px; overflow: hidden; background: var(--surface); cursor: pointer; position: relative; }
.photo-cell img { width: 100%; height: auto; display: block; transition: transform .6s var(--ease), opacity .5s; }
.photo-cell:hover img { transform: scale(1.04); }
.photo-cell::after { content: "+"; position: absolute; top: .6rem; right: .8rem; color: #fff; font-size: 1.4rem; line-height: 1; opacity: 0; transition: opacity .3s; text-shadow: 0 1px 6px rgba(0,0,0,.6); }
.photo-cell:hover::after { opacity: 1; }

/* Visionneuse plein écran */
.lightbox { position: fixed; inset: 0; z-index: 9000; display: flex; align-items: center; justify-content: center; background: rgba(6,6,6,.96); backdrop-filter: blur(6px); }
.lightbox[hidden] { display: none; }
.lb-stage { margin: 0; max-width: 92vw; max-height: 86vh; }
.lb-stage img { max-width: 92vw; max-height: 86vh; width: auto; height: auto; display: block; border-radius: 6px; box-shadow: 0 30px 80px rgba(0,0,0,.6); animation: lb-in .35s var(--ease); }
@keyframes lb-in { from { opacity: 0; transform: scale(.97); } to { opacity: 1; transform: none; } }
.lb-close { position: fixed; top: 1.2rem; right: 1.4rem; background: none; border: none; color: #fff; font-size: 1.8rem; cursor: pointer; line-height: 1; }
.lb-nav { position: fixed; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.2); color: #fff; width: 3rem; height: 3rem; border-radius: 999px; font-size: 1.6rem; cursor: pointer; transition: background-color .2s; }
.lb-nav:hover { background: rgba(255,255,255,.18); }
.lb-prev { left: 1.2rem; } .lb-next { right: 1.2rem; }
.lb-counter { position: fixed; bottom: 1.4rem; left: 0; right: 0; text-align: center; color: rgba(255,255,255,.7); font-size: .85rem; }
@media (max-width: 640px) { .lb-nav { width: 2.4rem; height: 2.4rem; font-size: 1.2rem; } .lb-prev { left: .5rem; } .lb-next { right: .5rem; } }

/* Cartes vidéo (bouton) + lecteur YouTube */
button.video-card { font: inherit; text-align: left; color: inherit; border: 1px solid var(--border); cursor: pointer; width: 100%; }
.video-card.is-soon { cursor: default; }
.vmodal { position: fixed; inset: 0; z-index: 9000; display: flex; align-items: center; justify-content: center; background: rgba(6,6,6,.96); backdrop-filter: blur(6px); padding: 1.5rem; }
.vmodal[hidden] { display: none; }
.vmodal-frame { width: min(92vw, 1100px); aspect-ratio: 16/9; background: #000; border-radius: 10px; overflow: hidden; box-shadow: 0 30px 80px rgba(0,0,0,.6); }
.vmodal-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.vmodal-close { position: fixed; top: 1.2rem; right: 1.4rem; background: none; border: none; color: #fff; font-size: 1.8rem; cursor: pointer; line-height: 1; }

/* ============================================================ REVEALS ============================================================ */
.js .reveal { opacity: 0; transform: translateY(30px); filter: blur(8px); transition: opacity .9s var(--ease), transform .9s var(--ease), filter .9s var(--ease); transition-delay: var(--d,0ms); will-change: opacity, transform, filter; }
.js .reveal.is-visible { opacity: 1; transform: none; filter: none; }
.js .reveal-up { transform: translateY(50px); }
.js .reveal-left { transform: translateX(-46px); }
.js .reveal-right { transform: translateX(46px); }
.js .reveal-zoom { transform: scale(.93); filter: blur(8px); }
.js .reveal-up.is-visible, .js .reveal-left.is-visible, .js .reveal-right.is-visible, .js .reveal-zoom.is-visible { transform: none; }
.line-mask { display: block; overflow: hidden; padding-bottom: .06em; }
.js .line { display: block; transform: translateY(110%); opacity: 0; transition: transform 1.1s var(--ease), opacity 1.1s; transition-delay: var(--d,0ms); }
.js body.loaded .line { transform: translateY(0); opacity: 1; }
.js .reveal-clip { clip-path: inset(0 0 100% 0); transition: clip-path 1.1s var(--ease); transition-delay: var(--d,0ms); }
.js .reveal-clip.is-visible { clip-path: inset(0 0 0 0); }
.tilt { transition: transform .4s var(--ease); transform-style: preserve-3d; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .js .reveal, .js .reveal-grow, .js .line, .js .reveal-clip { opacity: 1 !important; transform: none !important; filter: none !important; clip-path: none !important; transition: none !important; }
    .hero-aura, .hero-scroll-line::after, .btn::before, .marquee-track, .hero-meta .dot { animation: none !important; }
    .preloader-logo { clip-path: none !important; animation: none !important; }
    .cursor-dot, .cursor-ring { display: none !important; }
    *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
