/* ============================================================
   Franck Roux — Refonte 2026
   Direction : sombre, horizontale, texturée.
   Le site est construit avec la matière.
   ============================================================ */

/* ----------------------------------------------------------
   Variables
   ---------------------------------------------------------- */
:root {
    --color-bg: #121212;
    --color-bg-alt: #1a1a1a;
    --color-surface: #242424;
    --color-text: #f0f0ed;
    --color-text-muted: #b8b8b8;
    --color-accent: #9a9a9a;
    --color-line: #333333;
    --color-hover: #ffffff;

    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'IBM Plex Mono', 'Courier New', monospace;

    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 4rem;
    --space-xl: 6rem;
    --space-xxl: 10rem;

    --header-height: 70px;
    --transition: 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ----------------------------------------------------------
   Reset de base
   ---------------------------------------------------------- */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 16px;
    line-height: 1.7;
    color: var(--color-text);
    background-color: var(--color-bg);
    background-image:
        linear-gradient(rgba(18, 18, 18, 0.82), rgba(18, 18, 18, 0.88)),
        url('../images/textures/texture-matiere-organique.jpg');
    background-size: auto, cover;
    background-repeat: repeat, no-repeat;
    background-attachment: fixed;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

a {
    color: var(--color-text);
    text-decoration: none;
    border-bottom: 1px solid var(--color-line);
    transition: border-color var(--transition), color var(--transition);
}

a:hover {
    color: var(--color-hover);
    border-bottom-color: var(--color-hover);
}

:focus-visible {
    outline: 2px solid var(--color-text);
    outline-offset: 2px;
}

button:focus-visible,
a:focus-visible,
[tabindex]:not([tabindex="-1"]):focus-visible {
    outline: 2px solid var(--color-text);
    outline-offset: 2px;
}
}

h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 300;
    line-height: 1.1;
    margin: 0 0 var(--space-sm) 0;
}

h1 {
    font-size: clamp(2.5rem, 7vw, 5.5rem);
}

h2 {
    font-size: clamp(1.8rem, 4vw, 3rem);
}

h3 {
    font-size: clamp(1.2rem, 2vw, 1.6rem);
}

p {
    margin: 0 0 var(--space-sm) 0;
}

/* ----------------------------------------------------------
   Layout
   ---------------------------------------------------------- */
.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

.section {
    padding: var(--space-xl) 0;
    position: relative;
}

.section-alt {
    background-color: var(--color-bg-alt);
}

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

/* ----------------------------------------------------------
   Header
   ---------------------------------------------------------- */
.reading-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 1px;
    background-color: var(--color-text);
    width: 0%;
    z-index: 1001;
    transition: width 0.1s linear;
}

.skip-link {
    position: absolute;
    top: -100%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1002;
    background: var(--color-surface);
    color: var(--color-text);
    padding: 0.75rem 1.5rem;
    border: 1px solid var(--color-line);
    border-radius: 0;
    text-decoration: none;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: top 0.2s ease;
    white-space: nowrap;
}

.skip-link:focus {
    top: 0.75rem;
    outline: 2px solid var(--color-text);
    outline-offset: 2px;
    color: var(--color-hover);
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    z-index: 1000;
    background: linear-gradient(to bottom, rgba(18,18,18,0.92), rgba(18,18,18,0.70) 45%, rgba(18,18,18,0));
    transition: background var(--transition);
}

.site-header.is-scrolled {
    background: rgba(18,18,18,0.96);
    backdrop-filter: blur(6px);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    padding: 0 var(--space-md);
    max-width: 1600px;
    margin: 0 auto;
}

.site-logo {
    font-family: var(--font-display);
    font-size: 1.4rem;
    letter-spacing: 0.05em;
    border-bottom: none;
}

.site-logo:hover {
    color: var(--color-hover);
}

.nav-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: var(--space-md);
}

.nav-link {
    font-family: var(--font-body);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--color-text);
    border-bottom: 1px solid transparent;
    padding-bottom: 2px;
    text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}

.nav-link:hover,
.nav-item.is-active .nav-link {
    color: var(--color-hover);
    border-bottom-color: var(--color-hover);
}

.nav-lang .nav-link {
    font-family: var(--font-mono);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.menu-bar {
    display: block;
    width: 100%;
    height: 1px;
    background-color: var(--color-text);
    transition: transform 0.4s ease, opacity 0.4s ease;
}

/* ----------------------------------------------------------
   Hero
   ---------------------------------------------------------- */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-image {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero-image img,
.hero-image picture {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(18,18,18,0.55) 0%,
        rgba(18,18,18,0.40) 50%,
        rgba(18,18,18,0.80) 100%
    );
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 900px;
    padding: 0 var(--space-md);
}

.hero-title {
    font-size: clamp(3rem, 10vw, 7rem);
    letter-spacing: -0.02em;
    margin-bottom: var(--space-sm);
    text-shadow: 0 2px 24px rgba(0,0,0,0.5);
}

.hero-subtitle {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--color-text);
    margin-bottom: var(--space-md);
    text-shadow: 0 1px 8px rgba(0,0,0,0.6);
}

.hero-cta {
    display: inline-block;
    margin-top: var(--space-md);
    padding: var(--space-xs) var(--space-md);
    border: 1px solid var(--color-text);
    font-family: var(--font-mono);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    transition: background var(--transition), color var(--transition);
}

.hero-cta:hover {
    background-color: var(--color-text);
    color: var(--color-bg);
    border-color: var(--color-text);
}

.scroll-indicator {
    position: absolute;
    bottom: var(--space-md);
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-xs);
    font-family: var(--font-mono);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--color-text);
    text-shadow: 0 1px 6px rgba(0,0,0,0.6);
}

.scroll-indicator-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, var(--color-text), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; transform: scaleY(0.7); }
    50% { opacity: 1; transform: scaleY(1); }
}

/* ----------------------------------------------------------
   Page header
   ---------------------------------------------------------- */
.page-header {
    padding: calc(var(--header-height) + var(--space-xl)) 0 var(--space-lg);
    text-align: center;
    background-color: var(--color-bg-alt);
}

.page-header h1 {
    margin-bottom: var(--space-sm);
}

.page-header p {
    color: var(--color-text-muted);
    max-width: 700px;
    margin: 0 auto;
}

/* ----------------------------------------------------------
   Section narrative (Accueil)
   ---------------------------------------------------------- */
.narrative-section {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background-color: var(--color-line);
    border-top: 1px solid var(--color-line);
    border-bottom: 1px solid var(--color-line);
}

.narrative-block {
    background-color: var(--color-bg);
    padding: var(--space-xl) var(--space-md);
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.narrative-block::before {
    content: '';
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.15;
    transition: opacity var(--transition), transform var(--transition);
}

.narrative-block:hover::before {
    opacity: 0.25;
    transform: scale(1.05);
}

.narrative-block > * {
    position: relative;
    z-index: 2;
}

.narrative-number {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--color-accent);
    letter-spacing: 0.2em;
    margin-bottom: var(--space-sm);
}

.narrative-title {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    margin-bottom: var(--space-sm);
}

.narrative-text {
    color: var(--color-text-muted);
    max-width: 320px;
    font-size: 0.95rem;
}

/* ----------------------------------------------------------
   Grille d'œuvres
   ---------------------------------------------------------- */
.filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-xs);
    margin-bottom: var(--space-lg);
}

.filter-btn {
    background: transparent;
    border: 1px solid var(--color-line);
    color: var(--color-text-muted);
    font-family: var(--font-mono);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    padding: var(--space-xs) var(--space-sm);
    cursor: pointer;
    transition: all var(--transition);
}

.filter-btn:hover,
.filter-btn.is-active {
    border-color: var(--color-text);
    color: var(--color-text);
}

.oeuvres-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background-color: var(--color-line);
}

.oeuvres-grid.photographies-grid {
    grid-template-columns: repeat(4, 1fr);
}

.oeuvre-card {
    position: relative;
    background-color: var(--color-bg);
    overflow: hidden;
    aspect-ratio: 4 / 3;
    cursor: pointer;
}

.oeuvre-card:focus {
    outline: none;
}

.oeuvre-card:focus-visible {
    outline: 2px solid var(--color-text);
    outline-offset: 2px;
    box-shadow: 0 0 0 4px rgba(240, 240, 237, 0.12);
}

.oeuvre-card:focus-visible .oeuvre-image {
    transform: scale(1.04);
}

.oeuvre-card:focus-visible .oeuvre-info {
    transform: translateY(0);
    opacity: 1;
}

.oeuvre-card .oeuvre-image {
    position: absolute;
    inset: 0;
    transition: transform var(--transition);
}

.oeuvre-card .oeuvre-image img,
.oeuvre-card .oeuvre-image picture {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.oeuvre-card:hover .oeuvre-image {
    transform: scale(1.04);
}

.oeuvre-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--space-sm);
    background: linear-gradient(to top, rgba(18,18,18,0.95), transparent);
    transform: translateY(10px);
    opacity: 0;
    transition: all var(--transition);
}

.oeuvre-card:hover .oeuvre-info {
    transform: translateY(0);
    opacity: 1;
}

.oeuvre-title {
    font-family: var(--font-display);
    font-size: 1.3rem;
    margin-bottom: 0.2rem;
}

.oeuvre-meta {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin: 0;
}

/* ----------------------------------------------------------
   Cartes de sélection
   ---------------------------------------------------------- */
.selections-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
    margin-top: var(--space-lg);
}

.selection-card {
    position: relative;
    background-color: var(--color-bg);
    overflow: hidden;
    aspect-ratio: 4 / 3;
    border: 1px solid var(--color-line);
    border-radius: 2px;
}

.selection-link {
    display: block;
    position: relative;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.selection-image {
    position: absolute;
    inset: 0;
    transition: transform var(--transition);
}

.selection-image img,
.selection-image picture {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.selection-link:hover .selection-image {
    transform: scale(1.04);
}

.selection-info {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(to top, rgba(18,18,18,0.85), rgba(18,18,18,0.3));
    transition: all var(--transition);
}

.selection-title {
    font-family: var(--font-display);
    font-size: 1.4rem;
    color: var(--color-text);
    text-align: center;
    margin: 0;
    padding: var(--space-sm);
}

.selection-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-md);
    margin-top: var(--space-xl);
    flex-wrap: wrap;
}

.selection-nav-prev,
.selection-nav-next,
.selection-nav-back {
    flex: 1;
    display: flex;
}

.selection-nav-prev {
    justify-content: flex-start;
}

.selection-nav-back {
    justify-content: center;
}

.selection-nav-next {
    justify-content: flex-end;
}

.btn-submit.is-disabled {
    opacity: 0.3;
    cursor: not-allowed;
    pointer-events: none;
}

@media (max-width: 900px) {
    .selections-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .selections-grid {
        grid-template-columns: 1fr;
    }
}

/* ----------------------------------------------------------
   Bio / Atelier
   ---------------------------------------------------------- */
.bio-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
    align-items: center;
}

.bio-layout.reverse {
    direction: rtl;
}

.bio-layout.reverse > * {
    direction: ltr;
}

.bio-image {
    overflow: hidden;
}

.bio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(30%);
    transition: filter var(--transition);
}

.bio-image:hover img {
    filter: grayscale(0%);
}

.bio-text {
    max-width: 560px;
}

.bio-text h2 {
    margin-bottom: var(--space-md);
}

.bio-text p {
    color: var(--color-text-muted);
}

/* ----------------------------------------------------------
   Citation
   ---------------------------------------------------------- */
.quote-section {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: var(--space-lg) 0;
}

.quote-line {
    width: 1px;
    height: 80px;
    background: linear-gradient(to bottom, transparent, var(--color-accent), transparent);
    margin: 0 auto;
}

.quote-text {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-style: italic;
    line-height: 1.4;
    margin: var(--space-md) 0;
    color: var(--color-text);
}

.quote-author {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--color-text-muted);
}

/* ----------------------------------------------------------
   Exposition
   ---------------------------------------------------------- */
.expo-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    background-color: var(--color-line);
}

.expo-image {
    background-color: var(--color-bg);
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.expo-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition);
}

.expo-image:hover img {
    transform: scale(1.03);
}

.expo-info {
    background-color: var(--color-surface);
    padding: var(--space-md);
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

/* ----------------------------------------------------------
   Hero exposition
   ---------------------------------------------------------- */
.expo-hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: calc(var(--header-height) + var(--space-lg)) 0 var(--space-xl);
}

.expo-hero-image {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.expo-hero-image img,
.expo-hero-image picture {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.expo-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(18,18,18,0.65) 0%,
        rgba(18,18,18,0.45) 40%,
        rgba(18,18,18,0.85) 100%
    );
    z-index: 2;
}

.expo-hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 800px;
    padding: 0 var(--space-md);
}

.expo-hero-content h1 {
    font-size: clamp(2.5rem, 8vw, 5rem);
    margin-bottom: var(--space-sm);
    text-shadow: 0 2px 24px rgba(0,0,0,0.5);
}

.expo-hero-subtitle {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-text);
    margin-bottom: var(--space-lg);
    text-shadow: 0 1px 8px rgba(0,0,0,0.6);
}

.expo-hero-text {
    text-align: left;
    background-color: rgba(18,18,18,0.75);
    padding: var(--space-md);
    border: 1px solid rgba(255,255,255,0.12);
    box-shadow: 0 12px 40px rgba(0,0,0,0.35);
}

.expo-hero-text p {
    margin-bottom: var(--space-md);
    color: var(--color-text);
    text-shadow: 0 1px 3px rgba(0,0,0,0.6);
}

.expo-hero-text p strong {
    font-weight: 600;
    color: #fff;
}

.expo-hero-text p:last-child {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .expo-hero {
        min-height: auto;
        padding: calc(var(--header-height) + var(--space-md)) 0 var(--space-lg);
    }

    .expo-hero-content h1 {
        font-size: clamp(2rem, 10vw, 3rem);
    }

    .expo-hero-subtitle {
        font-size: 0.75rem;
        margin-bottom: var(--space-md);
    }

    .expo-hero-text {
        padding: var(--space-sm);
    }
}

/* ----------------------------------------------------------
   Contact
   ---------------------------------------------------------- */
.contact-page {
    display: flex;
    flex-direction: column;
    min-height: calc(100vh - var(--header-height));
}

.contact-banner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: clamp(320px, 45vh, 520px);
    margin-top: var(--header-height);
    overflow: hidden;
    text-align: center;
}

.contact-banner-image {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.contact-banner-image img,
.contact-banner-image picture {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.contact-banner-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(to bottom, rgba(18,18,18,0.45), rgba(18,18,18,0.78));
}

.contact-banner-content {
    position: relative;
    z-index: 3;
    padding: var(--space-lg) var(--space-md);
}

.contact-banner-content h1 {
    font-size: clamp(3rem, 10vw, 7rem);
    margin-bottom: var(--space-sm);
    color: var(--color-text);
}

.contact-banner-content p {
    color: var(--color-text-muted);
    font-size: clamp(1rem, 2vw, 1.25rem);
    max-width: 600px;
    margin: 0 auto;
}

.section-contact {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 0;
}

.contact-card {
    width: 100%;
    max-width: 720px;
    margin: 0 auto;
    padding: clamp(var(--space-lg), 6vw, var(--space-xxl)) var(--space-lg);
    text-align: center;
    border: 1px solid var(--color-line);
    background-color: rgba(36, 36, 36, 0.35);
    backdrop-filter: blur(6px);
}

.contact-block {
    margin-bottom: var(--space-lg);
}

.contact-block:last-of-type {
    margin-bottom: var(--space-xl);
}

.contact-label {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    color: var(--color-text-muted);
    margin-bottom: var(--space-sm);
}

.contact-address {
    font-style: normal;
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3.5vw, 2.2rem);
    font-weight: 300;
    line-height: 1.35;
    color: var(--color-text);
    margin: 0;
}

.contact-phone {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 300;
    line-height: 1.1;
    margin: 0;
}

.contact-phone a {
    border-bottom: none;
    transition: color var(--transition), letter-spacing var(--transition);
}

.contact-phone a:hover {
    color: var(--color-hover);
    letter-spacing: 0.02em;
}

.contact-instagram {
    font-family: var(--font-display);
    font-size: clamp(1.25rem, 3vw, 1.8rem);
    font-weight: 300;
    line-height: 1.3;
    margin: 0;
}

.contact-instagram a {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    border-bottom: none;
    transition: color var(--transition);
}

.contact-instagram a:hover {
    color: var(--color-hover);
}

.contact-instagram .instagram-icon {
    width: 1.1em;
    height: 1.1em;
    flex-shrink: 0;
}

.contact-note {
    max-width: 520px;
    margin: 0 auto;
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

@media (max-width: 768px) {
    .contact-card {
        padding: var(--space-lg) var(--space-md);
    }

    .contact-block {
        margin-bottom: var(--space-md);
    }

    .contact-block:last-of-type {
        margin-bottom: var(--space-lg);
    }
}

/* ----------------------------------------------------------
   Footer
   ---------------------------------------------------------- */
.site-footer {
    background-color: var(--color-bg-alt);
    border-top: 1px solid var(--color-line);
    padding: var(--space-md) 0;
    text-align: center;
}

.footer-inner {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.footer-name {
    font-family: var(--font-display);
    font-size: 1.2rem;
}

.footer-copy {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--color-text-muted);
}

.footer-credit {
    font-family: var(--font-mono);
    font-size: 0.6rem;
    color: var(--color-text-muted);
}

.footer-credit a {
    color: var(--color-text-muted);
    text-decoration: underline;
    transition: color var(--transition);
}

.footer-credit a:hover {
    color: var(--color-text);
}
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* ----------------------------------------------------------
   Révélation au scroll
   ---------------------------------------------------------- */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.9s ease, transform 0.9s ease;
}

.js .reveal {
    opacity: 0;
    transform: translateY(40px);
}

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

/* ----------------------------------------------------------
   Fond matière — mosaïque du corpus
   ---------------------------------------------------------- */
.bg-matiere {
    position: relative;
    background-image: url('../images/textures/mosaique-matiere.jpg');
    background-size: 150%;
    background-position: 0% 0%;
    background-attachment: fixed;
    animation: matiereScroll 120s linear infinite alternate;
}

@supports (background-image: url('../images/textures/mosaique-matiere.webp')) {
    .bg-matiere {
        background-image: url('../images/textures/mosaique-matiere.webp');
    }
}

@keyframes matiereScroll {
    0% { background-position: 0% 0%; }
    100% { background-position: 100% 100%; }
}

.bg-matiere::before {
    content: '';
    position: absolute;
    inset: 0;
    background-color: rgba(18, 18, 18, 0.88);
    z-index: 1;
}

.bg-matiere > * {
    position: relative;
    z-index: 2;
}

.matiere-counter {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--color-accent);
    margin-bottom: var(--space-sm);
}

/* ----------------------------------------------------------
   Responsive
   ---------------------------------------------------------- */
@media (max-width: 1024px) {
    .oeuvres-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .oeuvres-grid.photographies-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .narrative-section {
        grid-template-columns: 1fr;
    }
}

/* ----------------------------------------------------------
   Dialogue béton / photographie
   ---------------------------------------------------------- */
.dialogue-section {
    padding: var(--space-xl) 0;
    position: relative;
}

.dialogue-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto var(--space-xl);
    padding: 0 var(--space-md);
}

.dialogue-label {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    margin-bottom: var(--space-sm);
}

.dialogue-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 300;
    line-height: 1.1;
    margin-bottom: var(--space-sm);
}

.dialogue-lead {
    color: var(--color-text-muted);
    font-size: 1.1rem;
}

.dialogue-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
    max-width: 1200px;
    margin: 0 auto var(--space-xl);
    padding: 0 var(--space-md);
}

.dialogue-grid-item {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border: 1px solid var(--color-line);
}

.dialogue-grid-item img,
.dialogue-grid-item picture {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform var(--transition);
}

.dialogue-grid-item:hover img,
.dialogue-grid-item:hover picture {
    transform: scale(1.04);
}

.dialogue-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 70vh;
    align-items: stretch;
    border-top: 1px solid var(--color-line);
}

.dialogue-row:nth-child(even) .dialogue-image {
    order: 2;
}

.dialogue-row:nth-child(even) .dialogue-text {
    order: 1;
}

.dialogue-image {
    position: relative;
    overflow: hidden;
}

.dialogue-image img,
.dialogue-image picture {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.dialogue-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: var(--space-lg) var(--space-xl);
    background-color: rgba(18, 18, 18, 0.65);
}

.dialogue-type {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: var(--space-sm);
}

.dialogue-oeuvre-title {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 3vw, 2.6rem);
    font-weight: 300;
    margin-bottom: var(--space-sm);
}

.dialogue-oeuvre-desc {
    color: var(--color-text-muted);
    max-width: 45ch;
}

.dialogue-citation {
    text-align: center;
    padding: var(--space-xl) var(--space-md);
    border-top: 1px solid var(--color-line);
    border-bottom: 1px solid var(--color-line);
    background-color: rgba(18, 18, 18, 0.5);
}

.dialogue-citation blockquote {
    font-family: var(--font-display);
    font-size: clamp(1.4rem, 3vw, 2.2rem);
    font-style: italic;
    max-width: 900px;
    margin: 0 auto var(--space-sm);
    line-height: 1.3;
}

.dialogue-citation p {
    color: var(--color-text-muted);
    font-family: var(--font-mono);
    font-size: 0.85rem;
}

@media (max-width: 768px) {
    .dialogue-row {
        grid-template-columns: 1fr;
        min-height: auto;
    }
    .dialogue-row:nth-child(even) .dialogue-image,
    .dialogue-row:nth-child(even) .dialogue-text {
        order: unset;
    }
    .dialogue-image {
        min-height: 50vh;
    }
    .dialogue-text {
        padding: var(--space-md);
    }
    .dialogue-grid {
        grid-template-columns: 1fr;
    }
    .nav-list {
        position: fixed;
        top: var(--header-height);
        left: 0;
        right: 0;
        bottom: 0;
        background-color: var(--color-bg);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: var(--space-md);
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.4s ease, visibility 0.4s ease;
    }
    .site-nav.is-open .nav-list {
        opacity: 1;
        visibility: visible;
    }
    .menu-toggle {
        display: flex;
    }
    .menu-toggle.is-open .menu-bar:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    .menu-toggle.is-open .menu-bar:nth-child(2) {
        opacity: 0;
    }
    .menu-toggle.is-open .menu-bar:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
    .oeuvres-grid,
    .oeuvres-grid.photographies-grid {
        grid-template-columns: 1fr;
    }
    .bio-layout {
        grid-template-columns: 1fr;
    }
    .expo-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    :root {
        --space-md: 1.25rem;
        --space-lg: 2.5rem;
        --space-xl: 4rem;
    }
}


/* ----------------------------------------------------------
   Transitions de page — fissure béton
   Désactivé : l'effet interceptait tous les clics internes et
   pouvait bloquer la navigation (retour arrière, double-clic,
   liens avec ancres, ralentissements JS).
   ---------------------------------------------------------- */
/*
.page-transition {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background-color: var(--color-bg);
    pointer-events: none;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.05s linear;
}

.page-transition.is-hidden {
    opacity: 0;
    visibility: hidden;
}

.page-transition svg {
    width: 100%;
    height: 100%;
}

.page-transition path {
    fill: none;
    stroke: var(--color-text);
    stroke-linecap: round;
    stroke-linejoin: round;
    vector-effect: non-scaling-stroke;

    stroke-dasharray: 300;
    stroke-dashoffset: 300;
    stroke-width: 0;

    transition:
        stroke-dashoffset 0.5s cubic-bezier(0.65, 0, 0.35, 1),
        stroke-width 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.15s;
}

.page-transition.is-exiting path {
    stroke-dashoffset: 0;
    stroke-width: 120;
}

.page-transition.is-entering path {
    stroke-dashoffset: 0;
    stroke-width: 120;
    transition:
        stroke-width 0.35s cubic-bezier(0.65, 0, 0.35, 1),
        stroke-dashoffset 0.5s cubic-bezier(0.65, 0, 0.35, 1) 0.2s;
}

.page-transition.is-entering path:nth-child(2) {
    transition-delay: 0.1s;
}

.page-transition.is-entering.is-hidden path,
.page-transition.is-entering path {
    stroke-width: 0;
    stroke-dashoffset: -300;
}
*/


/* ----------------------------------------------------------
   Lightbox œuvre immersive
   ---------------------------------------------------------- */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background-color: rgba(18, 18, 18, 0.97);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    padding: var(--space-md);
}

.lightbox.is-open {
    opacity: 1;
    visibility: visible;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;
    z-index: 10;
    background: transparent;
    border: 1px solid var(--color-line);
    color: var(--color-text);
    font-family: var(--font-mono);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    padding: var(--space-xs) var(--space-sm);
    cursor: pointer;
    transition: background var(--transition), color var(--transition), border-color var(--transition);
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
    background: var(--color-text);
    color: var(--color-bg);
    border-color: var(--color-text);
}

.lightbox-close {
    top: var(--space-md);
    right: var(--space-md);
}

.lightbox-prev {
    left: var(--space-md);
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-next {
    right: var(--space-md);
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: var(--space-lg);
    max-width: 1400px;
    width: 100%;
    max-height: 90vh;
}

.lightbox-image {
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.lightbox-image img {
    max-width: 100%;
    max-height: 85vh;
    width: auto;
    height: auto;
    object-fit: contain;
    opacity: 0;
    transform: scale(0.96);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.lightbox.is-open .lightbox-image img.is-ready {
    opacity: 1;
    transform: scale(1);
}

.lightbox-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-right: var(--space-md);
}

.lightbox-counter {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-text-muted);
    margin-bottom: var(--space-md);
}

.lightbox-title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    font-weight: 300;
    line-height: 1.1;
    margin-bottom: var(--space-sm);
}

.lightbox-meta {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-text-muted);
    margin-bottom: var(--space-md);
}

.lightbox-description {
    color: var(--color-text-muted);
    line-height: 1.7;
    max-width: 50ch;
}

/* Fissure lors du changement d'œuvre */
.lightbox-crack {
    position: absolute;
    top: 0;
    left: 50%;
    width: 20%;
    height: 100%;
    transform: translateX(-50%) scaleY(0);
    pointer-events: none;
    z-index: 5;
    opacity: 0;
}

.lightbox-crack svg {
    width: 100%;
    height: 100%;
}

.lightbox-crack path {
    fill: none;
    stroke: var(--color-text);
    stroke-linecap: round;
    stroke-linejoin: round;
    vector-effect: non-scaling-stroke;
    stroke-dasharray: 200;
    stroke-dashoffset: 200;
    stroke-width: 0;
    transition:
        stroke-dashoffset 0.35s cubic-bezier(0.65, 0, 0.35, 1),
        stroke-width 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.1s,
        opacity 0.2s ease;
}

.lightbox.is-switching .lightbox-crack {
    opacity: 1;
    transform: translateX(-50%) scaleY(1);
    transition: opacity 0.15s ease, transform 0.35s cubic-bezier(0.65, 0, 0.35, 1);
}

.lightbox.is-switching .lightbox-crack path {
    stroke-dashoffset: 0;
    stroke-width: 80;
}

.lightbox.is-switching .lightbox-image img.is-ready {
    opacity: 0.4;
    transform: scale(0.98);
    filter: grayscale(0.6);
}

@media (max-width: 900px) {
    .lightbox-inner {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto;
        gap: var(--space-md);
        max-height: none;
        overflow-y: auto;
    }

    .lightbox-image img {
        max-height: 50vh;
    }

    .lightbox-info {
        text-align: center;
        padding-right: 0;
    }

    .lightbox-description {
        margin: 0 auto;
    }

    .lightbox-prev,
    .lightbox-next {
        top: auto;
        bottom: var(--space-md);
        transform: none;
    }

    .lightbox-prev { left: var(--space-md); }
    .lightbox-next { right: var(--space-md); }
}

/* ============================================================
   Atelier vivant — curseur, spot et poussière
   ============================================================ */

/* Activer uniquement sur les appareils à souris */
@media (hover: hover) and (pointer: fine) {
    body {
        cursor: none;
    }

    a, button, .oeuvre-card, .lightbox-prev, .lightbox-next, .lightbox-close,
    input, textarea, select, [role="button"] {
        cursor: none;
    }

    .cursor-ring,
    .cursor-dot {
        position: fixed;
        top: 0;
        left: 0;
        pointer-events: none;
        z-index: 9998;
        border-radius: 50%;
        will-change: transform;
    }

    .cursor-ring {
        width: 32px;
        height: 32px;
        border: 1px solid rgba(240, 240, 237, 0.45);
        background: transparent;
        transition:
            width 0.25s ease,
            height 0.25s ease,
            border-color 0.25s ease,
            background-color 0.25s ease,
            opacity 0.25s ease;
    }

    .cursor-ring.is-hover {
        width: 56px;
        height: 56px;
        border-color: rgba(240, 240, 237, 0.75);
        background: rgba(240, 240, 237, 0.04);
    }

    .cursor-ring.is-hidden,
    .cursor-dot.is-hidden {
        opacity: 0;
    }

    .cursor-dot {
        width: 5px;
        height: 5px;
        background: rgba(240, 240, 237, 0.85);
        transition: opacity 0.2s ease, transform 0.1s linear;
    }

    .cursor-dot.is-hover {
        opacity: 0.5;
    }
}

/* Spot d'atelier */
.atelier-spot {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background:
        radial-gradient(
            circle 22vmax at var(--spot-x, 50%) var(--spot-y, 50%),
            rgba(240, 240, 237, 0.045) 0%,
            transparent 60%
        );
    mix-blend-mode: screen;
    opacity: 1;
    transition: opacity 0.4s ease;
}

@media (prefers-reduced-motion: reduce), (pointer: coarse) {
    .atelier-spot {
        display: none;
    }
}

/* Poussière de béton */
.atelier-dust {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    opacity: 0.7;
}

@media (prefers-reduced-motion: reduce), (pointer: coarse) {
    .atelier-dust {
        display: none;
    }
}

/* ============================================================
   Parcours thématique immersif
   ============================================================ */

.journey {
    position: relative;
    background: var(--color-bg);
}

.journey-dots {
    position: fixed;
    right: var(--space-md);
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.journey-dot {
    position: relative;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 1px solid var(--color-text-muted);
    background: transparent;
    padding: 0;
    cursor: pointer;
    transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.journey-dot.is-active {
    background: var(--color-text);
    border-color: var(--color-text);
    transform: scale(1.3);
}

.journey-dot-label {
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    font-family: var(--font-mono);
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-text-muted);
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.journey-dot:hover .journey-dot-label,
.journey-dot:focus .journey-dot-label {
    opacity: 1;
}

.journey-progress {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--color-line);
    z-index: 100;
}

.journey-progress-bar {
    height: 100%;
    background: var(--color-text);
    transform-origin: left;
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.journey-chapter {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: calc(var(--header-height) + var(--space-md)) var(--space-lg) var(--space-md);
    position: relative;
    overflow: hidden;
}

.journey-chapter::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(
            circle at 20% 30%,
            rgba(240, 240, 237, 0.03) 0%,
            transparent 40%
        );
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.journey-chapter.is-active::before {
    opacity: 1;
}

.journey-chapter-header {
    max-width: 70ch;
    margin-bottom: var(--space-md);
    padding-right: var(--space-xl);
}

.journey-chapter-number {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--color-text-muted);
    letter-spacing: 0.15em;
    margin-bottom: var(--space-sm);
}

.journey-chapter-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 300;
    line-height: 1;
    margin-bottom: var(--space-xs);
}

.journey-chapter-subtitle {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--color-text-muted);
    margin-bottom: var(--space-md);
}

.journey-chapter-description {
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    color: var(--color-text-muted);
    line-height: 1.7;
    max-width: 55ch;
}

.journey-strip {
    display: flex;
    gap: var(--space-md);
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding-bottom: var(--space-md);
    margin-left: calc(-1 * var(--space-lg));
    margin-right: calc(-1 * var(--space-lg));
    padding-left: var(--space-lg);
    padding-right: var(--space-lg);
    scrollbar-width: thin;
    scrollbar-color: var(--color-line) transparent;
}

.journey-strip::-webkit-scrollbar {
    height: 4px;
}

.journey-strip::-webkit-scrollbar-track {
    background: transparent;
}

.journey-strip::-webkit-scrollbar-thumb {
    background: var(--color-line);
    border-radius: 2px;
}

.journey-card {
    flex: 0 0 auto;
    width: clamp(200px, 16vw, 260px);
    scroll-snap-align: start;
    position: relative;
    cursor: pointer;
    transition: transform 0.4s ease, opacity 0.4s ease;
}

.journey-card:hover {
    transform: translateY(-8px);
}

.journey-card-image {
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: var(--color-surface);
    margin-bottom: var(--space-xs);
}

.journey-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.journey-card:hover .journey-card-image img {
    transform: scale(1.05);
}

.journey-card-info {
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.journey-card:hover .journey-card-info {
    opacity: 1;
}

.journey-card-title {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 300;
    margin-bottom: 0.25rem;
}

.journey-card-meta {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-text-muted);
    margin: 0;
}

.journey-empty {
    padding: var(--space-lg);
    border: 1px solid var(--color-line);
    color: var(--color-text-muted);
    font-style: italic;
}

@media (max-width: 900px) {
    .journey-dots {
        display: none;
    }

    .journey-chapter {
        min-height: auto;
        padding: calc(var(--header-height) + var(--space-md)) var(--space-md) var(--space-xl);
    }

    .journey-chapter-header {
        padding-right: 0;
        margin-bottom: var(--space-md);
    }

    .journey-strip {
        margin-left: calc(-1 * var(--space-md));
        margin-right: calc(-1 * var(--space-md));
        padding-left: var(--space-md);
        padding-right: var(--space-md);
    }

    .journey-card {
        width: 72vw;
    }
}

/* ============================================================
   Parcours vivant — Expérience immersive automatique
   ============================================================ */

.living-journey {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    overflow: hidden;
    background: var(--color-bg);
    z-index: 1;
}

.living-journey ~ .site-footer {
    display: none;
}

.living-slides {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.living-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1.8s cubic-bezier(0.45, 0, 0.15, 1);
    z-index: 1;
}

.living-slide.is-active {
    opacity: 1;
    z-index: 2;
}

.living-slide picture,
.living-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.12);
    transition: transform 8s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.living-slide.is-active picture,
.living-slide.is-active img {
    transform: scale(1);
}

/* Alternance aléatoire de direction Ken Burns */
.living-slide:nth-child(odd) picture,
.living-slide:nth-child(odd) img {
    transform-origin: 55% 45%;
}

.living-slide:nth-child(even) picture,
.living-slide:nth-child(even) img {
    transform-origin: 45% 55%;
}

.living-slide.is-active:nth-child(odd) picture,
.living-slide.is-active:nth-child(odd) img {
    transform: scale(1.08) translate(1%, -1%);
}

.living-slide.is-active:nth-child(even) picture,
.living-slide.is-active:nth-child(even) img {
    transform: scale(1.08) translate(-1%, 1%);
}

/* Overlay sombre pour la lisibilité du texte */
.living-journey::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(18,18,18,0.20) 0%, rgba(18,18,18,0.55) 100%);
    pointer-events: none;
    z-index: 3;
}

/* Poussière de béton */
.living-dust {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 4;
    opacity: 0.6;
}

/* Spot de lumière */
.living-spotlight {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(240,240,237,0.05) 0%, transparent 70%);
    pointer-events: none;
    z-index: 4;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.6s ease;
}

.living-journey:hover .living-spotlight {
    opacity: 1;
}

/* Texte poétique */
.living-text {
    position: absolute;
    bottom: var(--space-xl);
    left: var(--space-lg);
    right: var(--space-lg);
    z-index: 5;
    pointer-events: none;
}

.living-line {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 4vw, 3rem);
    font-weight: 300;
    font-style: italic;
    color: var(--color-text);
    text-shadow: 0 2px 16px rgba(0,0,0,0.6);
    margin: 0;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1s ease, transform 1s ease;
}

.living-line.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Barre de progression */
.living-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: rgba(255,255,255,0.1);
    z-index: 5;
}

.living-progress-bar {
    height: 100%;
    width: 0%;
    background: var(--color-text);
    transition: width 0.1s linear;
}

/* Contrôles */
.living-controls {
    position: absolute;
    bottom: var(--space-xl);
    right: var(--space-lg);
    z-index: 6;
    display: flex;
    gap: var(--space-xs);
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.living-journey:hover .living-controls,
.living-journey:focus-within .living-controls {
    opacity: 1;
    transform: translateY(0);
}

.living-btn {
    background: rgba(18,18,18,0.5);
    border: 1px solid rgba(240,240,237,0.3);
    color: var(--color-text);
    font-family: var(--font-mono);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: var(--space-xs) var(--space-sm);
    cursor: pointer;
    backdrop-filter: blur(4px);
    transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.living-btn:hover {
    background: rgba(240,240,237,0.1);
    border-color: var(--color-text);
}

.living-btn.is-paused .living-btn-pause {
    display: none;
}

.living-btn:not(.is-paused) .living-btn-play {
    display: none;
}

/* Indication initiale */
.living-hint {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 5;
    pointer-events: none;
    opacity: 1;
    transition: opacity 1s ease;
}

.living-hint.is-hidden {
    opacity: 0;
}

.living-hint span {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--color-text);
    padding: var(--space-xs) var(--space-sm);
    border: 1px solid rgba(240,240,237,0.3);
    background: rgba(18,18,18,0.4);
    backdrop-filter: blur(4px);
}

/* Mobile */
@media (max-width: 900px) {
    .living-text {
        left: var(--space-md);
        right: var(--space-md);
        bottom: calc(var(--space-xl) + var(--space-md));
    }

    .living-controls {
        right: var(--space-md);
        bottom: var(--space-md);
        opacity: 1;
        transform: none;
    }

    .living-spotlight {
        display: none;
    }
}

/* Respect des préférences de réduction de mouvement */
@media (prefers-reduced-motion: reduce) {
    .living-slide {
        transition: opacity 0.4s ease;
    }

    .living-slide picture,
    .living-slide img {
        transform: scale(1) !important;
        transition: none;
    }

    .living-dust {
        display: none;
    }
}
