/* --- VARIABLES : LIGHT (ÉCRU) & DARK (BLEU MARINE TAILLEUR) --- */
:root {
    --bg-ecru: #F4F1EA; --bg-flannel: #EAE5DB; --bg-card: #EFECE5;
    --bg-glass: rgba(244, 241, 234, 0.84); --bg-hero-pill: rgba(244, 241, 234, 0.82);
    --ink: #161618; --ink-soft: #5C5953;
    --line: rgba(22, 22, 24, 0.14); --line-strong: rgba(22, 22, 24, 0.30);
    --accent: #1C2636; --accent-warm: #5C2228;
    --stripe-main: rgba(22, 22, 24, 0.055); --stripe-sub: rgba(22, 22, 24, 0.025);
    --tartan-1: rgba(28, 38, 54, 0.065); --tartan-2: rgba(92, 34, 40, 0.045); --tartan-weave: rgba(22, 22, 24, 0.018);
    --hero-title-shadow: rgba(244, 241, 234, 0.88); --cursor-fill: rgba(244, 241, 234, 0.85);
    --switch-bg: rgba(22, 22, 24, 0.08); --software-bg: rgba(255, 255, 255, 0.68);
    --font-serif: 'Cormorant Garamond', Georgia, serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    --ease-cinematic: cubic-bezier(0.22, 1, 0.36, 1);
}

[data-theme="dark"] {
    --bg-ecru: #0E1726; --bg-flannel: #142136; --bg-card: #192942;
    --bg-glass: rgba(14, 23, 38, 0.86); --bg-hero-pill: rgba(14, 23, 38, 0.78);
    --ink: #F2EEE4; --ink-soft: #A6B4C9;
    --line: rgba(242, 238, 228, 0.14); --line-strong: rgba(242, 238, 228, 0.32);
    --accent: #CBB286; --accent-warm: #8F3D46;
    --stripe-main: rgba(242, 238, 228, 0.075); --stripe-sub: rgba(203, 178, 134, 0.042);
    --tartan-1: rgba(203, 178, 134, 0.08); --tartan-2: rgba(143, 61, 70, 0.075); --tartan-weave: rgba(255, 255, 255, 0.02);
    --hero-title-shadow: rgba(10, 17, 29, 0.90); --cursor-fill: rgba(14, 23, 38, 0.85);
    --switch-bg: rgba(242, 238, 228, 0.10); --software-bg: rgba(242, 238, 228, 0.12);
}

/* --- RESET & BASE --- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html, body { background-color: var(--bg-ecru); color: var(--ink); font-family: var(--font-sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; line-height: 1.5; transition: background-color 0.5s ease, color 0.5s ease; }
body.custom-cursor-active, body.custom-cursor-active * { cursor: none !important; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; background: none; border: none; color: inherit; }
.container { width: min(1400px, 90vw); margin: 0 auto; }

/* --- MOTIFS TEXTILES --- */
.grain-overlay {
    position: fixed; inset: 0; pointer-events: none; z-index: 900; opacity: 0.032;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.pattern-tennis {
    background-color: var(--bg-ecru);
    background-image: repeating-linear-gradient(90deg, transparent 0 26px, var(--stripe-main) 26px 27px, transparent 27px 31px, var(--stripe-sub) 31px 32px);
    transition: background-color 0.5s ease;
}
.pattern-tartan {
    background-color: var(--bg-flannel);
    background-image:
        repeating-linear-gradient(0deg, transparent 0 58px, var(--tartan-1) 58px 59px, transparent 59px 64px, var(--tartan-2) 64px 65px),
        repeating-linear-gradient(90deg, transparent 0 58px, var(--tartan-1) 58px 59px, transparent 59px 64px, var(--tartan-2) 64px 65px),
        repeating-linear-gradient(90deg, var(--tartan-weave) 0 28px, transparent 28px 65px);
    transition: background-color 0.5s ease;
}

/* --- PRÉCHARGEUR & CURSEUR --- */
.preloader { position: fixed; inset: 0; background: #0E1726; color: #F4F1EA; z-index: 2000; display: flex; justify-content: center; align-items: center; }
.preloader-inner { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.preloader-brand { font-family: var(--font-serif); font-size: clamp(2rem, 4vw, 3.2rem); font-style: italic; letter-spacing: 0.02em; }
.preloader-meta { display: flex; gap: 28px; font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.16em; opacity: 0.72; }

.cursor-wrapper { position: fixed; top: 0; left: 0; width: 34px; height: 34px; pointer-events: none; z-index: 5000; transform: translate(-50%, -50%); opacity: 0; display: flex; justify-content: center; align-items: center; transition: width 0.35s var(--ease-cinematic), height 0.35s var(--ease-cinematic), opacity 0.3s ease; }
.cursor-star { width: 100%; height: 100%; fill: var(--cursor-fill); stroke: var(--ink); stroke-width: 2.2px; animation: starSpin 12s linear infinite; transition: fill 0.3s ease, stroke 0.3s ease, transform 0.35s var(--ease-cinematic); }
.cursor-label { position: absolute; font-family: var(--font-mono); font-size: 0.62rem; font-weight: 500; letter-spacing: 0.12em; color: var(--bg-ecru); opacity: 0; white-space: nowrap; transition: opacity 0.25s ease; }
.cursor-wrapper.is-hovered { width: 56px; height: 56px; }
.cursor-wrapper.has-label { width: 78px; height: 78px; background: var(--ink); border-radius: 50%; }
.cursor-wrapper.has-label .cursor-star { opacity: 0; transform: scale(0.3); }
.cursor-wrapper.has-label .cursor-label { opacity: 1; }
@keyframes starSpin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

/* --- TYPOGRAPHIE & HEADER --- */
.mono-tag { display: inline-block; font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-soft); }
.section-header { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: 64px; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.section-title { font-family: var(--font-serif); font-size: clamp(2.8rem, 5.5vw, 5.2rem); font-weight: 400; line-height: 0.96; letter-spacing: -0.02em; margin-top: 10px; }
.section-title em { font-style: italic; font-weight: 400; }
.section-lead { max-width: 390px; font-size: 0.95rem; color: var(--ink-soft); line-height: 1.65; }

.site-header { position: fixed; top: 0; left: 0; width: 100%; padding: 18px 5vw; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; z-index: 800; transition: background-color 0.4s ease, border-color 0.4s ease, backdrop-filter 0.4s ease; border-bottom: 1px solid transparent; }
.site-header.scrolled { background-color: var(--bg-glass); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom-color: var(--line); }
.header-left { justify-self: start; }
.header-right { justify-self: end; display: flex; align-items: center; }
.brand-mark { display: inline-flex; align-items: center; }
.brand-name { font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 500; }

.header-controls { justify-self: center; display: flex; align-items: center; gap: 12px; }
.pill-switch { position: relative; display: grid; grid-template-columns: 1fr 1fr; align-items: center; padding: 3px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--switch-bg); backdrop-filter: blur(8px); min-width: 112px; height: 32px; overflow: hidden; transition: border-color 0.3s ease, background-color 0.3s ease; }
#lang-toggle { min-width: 86px; }
.pill-option { position: relative; z-index: 2; font-family: var(--font-mono); font-size: 0.64rem; letter-spacing: 0.1em; text-transform: uppercase; text-align: center; padding: 0 8px; transition: color 0.35s ease; user-select: none; }
.pill-thumb { position: absolute; top: 3px; left: 3px; width: calc(50% - 3px); height: calc(100% - 6px); border-radius: 999px; background: var(--ink); z-index: 1; transition: transform 0.4s var(--ease-cinematic), background-color 0.35s ease; }
.pill-switch:not(.is-active) .opt-a { color: var(--bg-ecru); }
.pill-switch:not(.is-active) .opt-b { color: var(--ink-soft); }
.pill-switch.is-active .pill-thumb { transform: translateX(100%); }
.pill-switch.is-active .opt-a { color: var(--ink-soft); }
.pill-switch.is-active .opt-b { color: var(--bg-ecru); }

.main-nav { display: flex; align-items: center; gap: 26px; }
.nav-link { font-size: 0.8rem; letter-spacing: 0.06em; text-transform: uppercase; position: relative; padding: 6px 2px; }
.nav-link::after { content: ''; position: absolute; left: 0; bottom: 2px; width: 100%; height: 1px; background: var(--ink); transform: scaleX(0); transform-origin: right; transition: transform 0.35s var(--ease-cinematic); }
.nav-link:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-cta { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; padding: 9px 18px; border: 1px solid var(--ink); border-radius: 999px; transition: background 0.3s ease, color 0.3s ease; }
.nav-cta:hover { background: var(--ink); color: var(--bg-ecru); }
.mobile-menu-btn { display: none; font-family: var(--font-mono); font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.12em; border: 1px solid var(--ink); padding: 7px 14px; border-radius: 999px; }
.mobile-nav-drawer { position: fixed; inset: 0; background: #0E1726; color: #F4F1EA; z-index: 790; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 28px; opacity: 0; pointer-events: none; transition: opacity 0.4s ease; }
.mobile-nav-drawer.open { opacity: 1; pointer-events: auto; }
.mobile-nav-link { font-family: var(--font-serif); font-size: 2.5rem; }

/* --- 1. HERO (4 PHOTOS D'ORIGINE + G 3D FLOUTÉ) --- */
.hero { position: relative; min-height: 100vh; width: 100%; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; padding: 110px 5vw 44px; border-bottom: 1px solid var(--line); }
.hero-canvas-wrap { position: absolute; inset: -24px; z-index: 3; pointer-events: none; filter: blur(3.5px); -webkit-filter: blur(3.5px); will-change: filter; }
.hero-gallery-layer { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.hero-float { position: absolute; will-change: transform; }
.hero-float img { width: 100%; height: auto; box-shadow: 0 24px 50px rgba(0, 0, 0, 0.16); border: 1px solid var(--line); }
.hero-float figcaption { font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.12em; color: var(--ink-soft); margin-top: 8px; }
.float-1 { top: 14%; left: 5%; width: clamp(130px, 13vw, 200px); }
.float-2 { top: 16%; right: 6%; width: clamp(150px, 15vw, 230px); }
.float-3 { bottom: 16%; left: 10%; width: clamp(150px, 16vw, 240px); }
.float-4 { bottom: 19%; right: 9%; width: clamp(120px, 12vw, 185px); }

.hero-foreground { position: relative; z-index: 5; min-height: calc(100vh - 154px); display: flex; flex-direction: column; justify-content: space-between; pointer-events: none; }
.hero-top-meta { display: flex; justify-content: space-between; align-items: center; }
.hero-headline-wrap { text-align: center; margin: auto 0; }
.hero-title { font-family: var(--font-serif); font-size: clamp(4.2rem, 11.5vw, 11rem); font-weight: 400; line-height: 0.86; letter-spacing: -0.03em; color: var(--ink); text-shadow: 0 6px 40px var(--hero-title-shadow); }
.hero-title em { font-style: italic; }
.hero-bottom-bar { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; pointer-events: auto; }
.hero-portfolio-mark { display: inline-flex; align-items: center; gap: 16px; }
.hero-portfolio-mark::before { content: ''; width: 38px; height: 1px; background: var(--ink); opacity: 0.7; }
.hero-portfolio-word { font-family: var(--font-serif); font-style: italic; font-weight: 400; font-size: clamp(2rem, 3vw, 2.9rem); letter-spacing: 0.03em; line-height: 1; color: var(--ink); }
.hero-actions { display: flex; gap: 14px; }
.btn-primary, .btn-ghost { display: inline-flex; align-items: center; gap: 12px; padding: 14px 26px; border-radius: 999px; font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.12em; text-transform: uppercase; transition: transform 0.3s var(--ease-cinematic), background 0.3s ease, color 0.3s ease; }
.btn-primary { background: var(--ink); color: var(--bg-ecru); }
.btn-primary:hover { background: var(--accent); color: var(--bg-ecru); }
.btn-ghost { border: 1px solid var(--line-strong); background: var(--bg-hero-pill); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: var(--ink); color: var(--bg-ecru); border-color: var(--ink); }

/* --- 2. SELECTED WORKS (4 CARRÉS 2×2) & INDEX --- */
.works-section { padding: 120px 0 110px; background: var(--bg-ecru); position: relative; transition: background-color 0.5s ease; }
.featured-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 44px; margin-bottom: 110px; }
.feature-card { display: flex; flex-direction: column; gap: 18px; }
.card-media { width: 100%; aspect-ratio: 1 / 1; border-radius: 0; overflow: hidden; background: var(--bg-flannel); position: relative; border: 1px solid var(--line); }
.card-media img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; transition: transform 0.9s var(--ease-cinematic); }
.feature-card:hover .card-media img { transform: scale(1.05); }
.card-info h3 { font-family: var(--font-serif); font-size: 2rem; font-weight: 500; margin: 4px 0 6px; }
.card-info p { font-size: 0.92rem; color: var(--ink-soft); max-width: 520px; }

.archive-block { padding-top: 70px; border-top: 1px solid var(--line-strong); }
.archive-top { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 24px; margin-bottom: 36px; }
.archive-heading { font-family: var(--font-serif); font-size: clamp(2.2rem, 4vw, 3.4rem); font-weight: 400; margin-top: 6px; }
.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-btn { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; padding: 9px 16px; border: 1px solid var(--line-strong); border-radius: 999px; transition: all 0.25s ease; }
.filter-btn:hover, .filter-btn.active { background: var(--ink); color: var(--bg-ecru); border-color: var(--ink); }
.archive-list { border-top: 1px solid var(--line); }

.archive-row { display: grid; grid-template-columns: 70px 1.6fr 1fr 120px 60px; align-items: center; padding: 22px 16px; border-bottom: 1px solid var(--line); transition: background-color 0.22s ease; contain: layout style; }
.archive-row:hover { background-color: var(--bg-flannel); }
.archive-row.hidden { display: none; }
.row-num { font-family: var(--font-mono); font-size: 0.75rem; color: var(--ink-soft); }
.row-title { font-family: var(--font-serif); font-size: clamp(1.5rem, 2.3vw, 2.1rem); font-weight: 500; transition: transform 0.28s var(--ease-cinematic); will-change: transform; }
.archive-row:hover .row-title { transform: translateX(10px); }
.row-cat { font-family: var(--font-mono); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink-soft); }
.row-year { font-family: var(--font-mono); font-size: 0.76rem; text-align: right; }
.row-arrow { text-align: right; font-size: 1.2rem; transition: transform 0.28s var(--ease-cinematic); will-change: transform; }
.archive-row:hover .row-arrow { transform: translateX(6px); }

.archive-preview { position: fixed; top: 0; left: 0; pointer-events: none; z-index: 600; will-change: transform; }
.archive-preview-inner { position: relative; width: 260px; height: 330px; overflow: hidden; background: var(--bg-flannel); border: 1px solid var(--line-strong); box-shadow: 0 22px 48px rgba(0, 0, 0, 0.24); transform: translate(-50%, -50%) scale(0.9); opacity: 0; transition: opacity 0.22s ease, transform 0.28s var(--ease-cinematic); will-change: transform, opacity; }
.archive-preview-inner.visible { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.archive-preview-inner.mode-a3, .archive-preview-inner.mode-a3-rot { width: 382px; height: 270px; }
.preview-slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; pointer-events: none; will-change: opacity; }
.preview-slide.is-active { opacity: 1; }
.archive-preview-inner.mode-a3 .preview-slide { object-fit: contain; }
.preview-slide.is-rot-img { inset: auto; top: 50%; left: 50%; width: 270px; height: 382px; max-width: none; max-height: none; object-fit: contain; transform: translate(-50%, -50%) rotate(-90deg); }

/* --- 3. MANIFESTO & ABOUT --- */
.manifesto-section { padding: 120px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.manifesto-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 70px; align-items: center; }
.manifesto-quote { font-family: var(--font-serif); font-size: clamp(2rem, 3.6vw, 3.2rem); line-height: 1.18; font-weight: 400; margin: 20px 0 36px; }
.about-bio { display: flex; flex-direction: column; gap: 16px; font-size: 0.98rem; color: var(--ink-soft); max-width: 560px; line-height: 1.7; }
.about-bio strong { color: var(--ink); font-weight: 600; }
.atelier-metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line); }
.metric-num { display: block; font-family: var(--font-serif); font-size: 2rem; font-style: italic; margin-bottom: 4px; }
.metric-txt { font-size: 0.86rem; color: var(--ink-soft); }
.about-visual-col { height: 76vh; max-height: 720px; overflow: hidden; position: relative; mask-image: linear-gradient(to bottom, transparent 0%, black 12%, black 88%, transparent 100%); -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 12%, black 88%, transparent 100%); }
.dual-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; height: 100%; }
.dual-col { display: flex; flex-direction: column; gap: 18px; will-change: transform; }
.dual-col img { width: 100%; height: auto; object-fit: cover; border: 1px solid var(--line); }

/* --- 4. EXPERTISE & 7 EFFETS LOGICIELS --- */
.expertise-section { position: relative; padding: 120px 0; background: var(--bg-ecru); overflow: hidden; transition: color 0.45s ease, background-color 0.5s ease; }
.expertise-fx-layer { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 1; }
.fx-stage { position: absolute; inset: 0; pointer-events: none; }
.fx-stripes { display: flex; width: 100%; height: 100%; }
.fx-stripe { flex: 1; height: 100%; transform: scaleX(0); will-change: transform; }
.fx-dots { display: grid; grid-template-columns: repeat(8, 1fr); grid-template-rows: repeat(5, 1fr); width: 100%; height: 100%; }
.fx-dot-cell { display: flex; align-items: center; justify-content: center; overflow: visible; }
.fx-dot { width: 125%; aspect-ratio: 1 / 1; border-radius: 50%; transform: scale(0); will-change: transform; }
.fx-mosaic { display: grid; grid-template-columns: repeat(10, 1fr); grid-template-rows: repeat(5, 1fr); width: 100%; height: 100%; }
.fx-tile { width: 103%; height: 103%; transform: scale(0); will-change: transform; }
.fx-ribbons { display: flex; flex-direction: column; width: 100%; height: 100%; }
.fx-ribbon { flex: 1; width: 100%; transform: scaleX(0); will-change: transform; }
.fx-circle { position: absolute; width: 260vmax; height: 260vmax; border-radius: 50%; will-change: transform; }
.fx-louvers { position: absolute; width: 165%; height: 230%; left: -32%; top: -65%; transform: rotate(-22deg); display: flex; flex-direction: column; }
.fx-louver { flex: 1; width: 100%; transform: scaleY(0); will-change: transform; }
.fx-diamonds { display: grid; grid-template-columns: repeat(8, 1fr); grid-template-rows: repeat(4, 1fr); width: 100%; height: 100%; }
.fx-diamond-cell { display: flex; align-items: center; justify-content: center; overflow: visible; }
.fx-diamond { width: 115%; aspect-ratio: 1 / 1; transform: rotate(45deg) scale(0); will-change: transform; }

.expertise-inner { position: relative; z-index: 3; }
.expertise-section.is-ripple-active { color: #FFFFFF; }
.expertise-section.is-ripple-active .mono-tag, .expertise-section.is-ripple-active .section-lead, .expertise-section.is-ripple-active .skill-card p, .expertise-section.is-ripple-active .software-readout { color: rgba(255, 255, 255, 0.86); }
.expertise-section.is-ripple-active .section-header, .expertise-section.is-ripple-active .software-zone { border-color: rgba(255, 255, 255, 0.25); }
.expertise-section.is-ripple-active .skill-line { background: rgba(255, 255, 255, 0.45); }

.skills-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 44px; margin-bottom: 84px; }
.skill-line { width: 100%; height: 1px; background: var(--line-strong); margin-bottom: 20px; transform-origin: left; transition: background-color 0.4s ease; }
.skill-card h3 { font-family: var(--font-serif); font-size: 2rem; font-weight: 500; margin: 10px 0 12px; }
.skill-card p { font-size: 0.94rem; color: var(--ink-soft); line-height: 1.65; transition: color 0.4s ease; }

.software-zone { padding-top: 48px; border-top: 1px solid var(--line); transition: border-color 0.4s ease; }
.software-header { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; margin-bottom: 42px; }
.software-readout { font-family: var(--font-serif); font-size: 1.45rem; font-style: italic; color: var(--ink); transition: color 0.4s ease; }
.software-dock { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 24px; }
.software-item { width: 82px; height: 82px; padding: 16px; border-radius: 20px; background: var(--software-bg); border: 1px solid var(--line); display: flex; justify-content: center; align-items: center; transition: background-color 0.3s ease, box-shadow 0.3s ease; }
.software-item img { width: 100%; height: 100%; object-fit: contain; pointer-events: none; }
.software-item:hover { background: #FFFFFF; box-shadow: 0 20px 40px rgba(0, 0, 0, 0.22); }

/* --- 5. FOOTER --- */
.site-footer { padding: 110px 0 42px; border-top: 1px solid var(--line-strong); }
.footer-title { font-family: var(--font-serif); font-size: clamp(3rem, 7vw, 6.8rem); font-weight: 400; line-height: 0.94; margin-top: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 0.7fr; gap: 40px; align-items: end; margin: 72px 0 70px; padding-bottom: 50px; border-bottom: 1px solid var(--line); }
.email-big { display: block; font-family: var(--font-serif); font-size: clamp(1.6rem, 3vw, 2.7rem); margin: 10px 0 6px; border-bottom: 1px solid var(--line-strong); padding-bottom: 4px; text-align: left; transition: opacity 0.25s ease; }
.email-big:hover { opacity: 0.65; }
.email-hint { font-family: var(--font-mono); font-size: 0.7rem; color: var(--ink-soft); }
.footer-socials { display: flex; flex-direction: column; gap: 10px; margin-top: 12px; }
.social-link { font-size: 1.05rem; font-weight: 500; width: fit-content; }
.footer-right-col { display: flex; justify-content: flex-end; }
.back-top-btn { font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.12em; text-transform: uppercase; padding: 12px 22px; border: 1px solid var(--ink); border-radius: 999px; transition: all 0.25s ease; }
.back-top-btn:hover { background: var(--ink); color: var(--bg-ecru); }
.footer-bottom { display: flex; justify-content: space-between; font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.12em; color: var(--ink-soft); }

/* --- VISIONNEUSE PROJET SUR MESURE --- */
.project-drawer { position: fixed; inset: 0; z-index: 1500; pointer-events: none; visibility: hidden; }
.project-drawer.open { pointer-events: auto; visibility: visible; }
.drawer-backdrop { position: absolute; inset: 0; background: rgba(10, 15, 24, 0.65); backdrop-filter: blur(8px); opacity: 0; transition: opacity 0.45s ease; }
.project-drawer.open .drawer-backdrop { opacity: 1; }
.drawer-panel { position: absolute; bottom: 0; left: 0; width: 100%; height: 95vh; background-color: var(--drawer-bg, var(--bg-ecru)); color: var(--drawer-ink, var(--ink)); border-top: 1px solid var(--drawer-line, var(--line-strong)); transform: translateY(100%); transition: transform 0.65s var(--ease-cinematic), background-color 0.4s ease; display: flex; flex-direction: column; overflow: hidden; }
.project-drawer.open .drawer-panel { transform: translateY(0); }

.drawer-pattern-polka { background-image: radial-gradient(var(--drawer-pat, rgba(0, 0, 0, 0.08)) 1.5px, transparent 1.5px); background-size: 26px 26px; }
.drawer-pattern-prince { background-image: repeating-linear-gradient(0deg, transparent 0 38px, var(--drawer-pat, rgba(0, 0, 0, 0.06)) 38px 39px, transparent 39px 43px, var(--drawer-pat-2, rgba(0, 0, 0, 0.035)) 43px 44px), repeating-linear-gradient(90deg, transparent 0 38px, var(--drawer-pat, rgba(0, 0, 0, 0.06)) 38px 39px, transparent 39px 43px, var(--drawer-pat-2, rgba(0, 0, 0, 0.035)) 43px 44px), repeating-linear-gradient(45deg, transparent 0 6px, rgba(0, 0, 0, 0.015) 6px 7px); }
.drawer-pattern-herringbone { background-image: linear-gradient(135deg, var(--drawer-pat, rgba(0, 0, 0, 0.045)) 25%, transparent 25%), linear-gradient(225deg, var(--drawer-pat, rgba(0, 0, 0, 0.045)) 25%, transparent 25%), linear-gradient(315deg, var(--drawer-pat, rgba(0, 0, 0, 0.045)) 25%, transparent 25%), linear-gradient(45deg, var(--drawer-pat, rgba(0, 0, 0, 0.045)) 25%, transparent 25%); background-size: 28px 28px; background-position: 0 0, 14px 0, 14px -14px, 0 14px; }
.drawer-pattern-twill { background-image: repeating-linear-gradient(-45deg, transparent 0 7px, var(--drawer-pat, rgba(255, 255, 255, 0.055)) 7px 8px); }
.drawer-pattern-grid { background-image: linear-gradient(to right, var(--drawer-pat, rgba(160, 195, 255, 0.08)) 1px, transparent 1px), linear-gradient(to bottom, var(--drawer-pat, rgba(160, 195, 255, 0.08)) 1px, transparent 1px); background-size: 40px 40px; }
.drawer-pattern-windowpane { background-image: linear-gradient(to right, var(--drawer-pat, rgba(0, 0, 0, 0.07)) 1px, transparent 1px), linear-gradient(to bottom, var(--drawer-pat, rgba(0, 0, 0, 0.07)) 1px, transparent 1px); background-size: 68px 68px; }
.drawer-pattern-pinstripe { background-image: repeating-linear-gradient(90deg, transparent 0 22px, var(--drawer-pat, rgba(0, 0, 0, 0.06)) 22px 23px); }
.drawer-pattern-tartan { background-image: repeating-linear-gradient(0deg, transparent 0 50px, var(--drawer-pat, rgba(0, 0, 0, 0.06)) 50px 51px, transparent 51px 56px, var(--drawer-pat-2, rgba(140, 60, 40, 0.045)) 56px 57px), repeating-linear-gradient(90deg, transparent 0 50px, var(--drawer-pat, rgba(0, 0, 0, 0.06)) 50px 51px, transparent 51px 56px, var(--drawer-pat-2, rgba(140, 60, 40, 0.045)) 56px 57px); }
.drawer-pattern-atelier { background-image: repeating-linear-gradient(0deg, transparent 0 44px, var(--drawer-pat, rgba(28, 36, 52, 0.065)) 44px 45px), repeating-linear-gradient(90deg, transparent 0 44px, var(--drawer-pat, rgba(28, 36, 52, 0.065)) 44px 45px), radial-gradient(var(--drawer-pat-2, rgba(120, 46, 54, 0.14)) 1px, transparent 1px); background-size: 45px 45px; }

.drawer-topbar { display: flex; justify-content: space-between; align-items: center; padding: 18px 5vw; border-bottom: 1px solid var(--drawer-line, rgba(0, 0, 0, 0.14)); background: var(--drawer-bar, rgba(255, 255, 255, 0.25)); backdrop-filter: blur(10px); z-index: 20; flex-shrink: 0; }
.drawer-topbar .mono-tag { color: var(--drawer-ink-soft, inherit); }
.drawer-topbar-right { display: flex; align-items: center; gap: 16px; }
.drawer-chapter-tabs { display: flex; gap: 8px; }
.chapter-tab { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; padding: 7px 14px; border: 1px solid var(--drawer-line, currentColor); border-radius: 999px; color: var(--drawer-ink, inherit); transition: all 0.25s ease; }
.chapter-tab:hover, .chapter-tab.active { background: var(--drawer-ink, #161618); color: var(--drawer-bg, #fff); border-color: var(--drawer-ink, #161618); }
.drawer-close { font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; padding: 9px 18px; border: 1px solid var(--drawer-ink, currentColor); color: var(--drawer-ink, inherit); border-radius: 999px; transition: all 0.25s ease; }
.drawer-close:hover { background: var(--drawer-ink, #161618); color: var(--drawer-bg, #fff); }

.drawer-v-tracker { position: absolute; left: 2.6vw; top: 52%; transform: translateY(-50%); display: none; flex-direction: column; gap: 12px; z-index: 30; }
.drawer-v-tracker.visible { display: flex; }
.v-dash { width: 3px; height: 24px; border-radius: 4px; background: var(--drawer-dash, rgba(0, 0, 0, 0.25)); position: relative; transition: height 0.35s var(--ease-cinematic), background-color 0.3s ease, width 0.3s ease; }
.v-dash::after { content: ''; position: absolute; inset: -6px -14px; }
.v-dash:hover { width: 5px; background: var(--drawer-ink, #000); }
.v-dash.active { height: 52px; width: 4px; background: var(--drawer-ink, #000); }

.drawer-body { flex: 1; overflow-y: auto; scroll-behavior: smooth; padding: 56px 7vw 100px; }
.drawer-body.is-horizontal-mode { overflow: hidden; padding: 24px 5vw 22px; display: flex; flex-direction: column; justify-content: space-between; }
.drawer-header { max-width: 780px; margin-bottom: 52px; }
.drawer-header.centered { margin: 0 auto 56px; text-align: center; }
.drawer-header h2 { font-family: var(--font-serif); font-size: clamp(2.5rem, 5vw, 4.6rem); font-weight: 400; line-height: 0.98; margin-bottom: 16px; }
.drawer-header p { font-size: 1rem; opacity: 0.8; line-height: 1.7; }

/* Stage (15 slots équilibrés) */
.internship-wrap { max-width: 1280px; margin: 0 auto; }
.internship-hero { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 54px; padding-bottom: 48px; margin-bottom: 52px; border-bottom: 1px solid var(--drawer-line); align-items: start; }
.internship-hero h2 { font-family: var(--font-serif); font-size: clamp(2.6rem, 4.6vw, 4.2rem); font-weight: 400; line-height: 0.98; margin: 12px 0 20px; }
.internship-hero p { font-size: 1rem; line-height: 1.75; opacity: 0.85; }
.internship-cards { display: flex; flex-direction: column; gap: 20px; }
.internship-meta-box { padding: 22px 24px; border: 1px solid var(--drawer-line); background: rgba(255, 255, 255, 0.36); }
.internship-meta-box h4 { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.72; margin-bottom: 12px; }
.internship-brands { font-family: var(--font-serif); font-size: 1.45rem; line-height: 1.35; }
.internship-missions { list-style: none; display: flex; flex-direction: column; gap: 8px; font-size: 0.9rem; line-height: 1.5; }
.internship-missions li::before { content: '✦ '; font-size: 0.72rem; opacity: 0.65; }
.internship-slots-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.internship-slot { position: relative; aspect-ratio: 3 / 4; border: 1px solid var(--drawer-line); background: rgba(255, 255, 255, 0.32); overflow: hidden; display: flex; align-items: center; justify-content: center; }
.internship-slot.is-wide { grid-column: span 2; aspect-ratio: 16 / 9; }
.internship-slot img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.55s var(--ease-cinematic); }
.internship-slot:hover img { transform: scale(1.03); }
.slot-placeholder { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; text-align: center; padding: 24px; width: 100%; height: 100%; border: 1px dashed var(--drawer-line); }
.slot-placeholder .slot-num { font-family: var(--font-serif); font-size: 2.2rem; font-style: italic; opacity: 0.65; }
.slot-placeholder .slot-file { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.14em; opacity: 0.65; }

/* Layouts Projets */
.layout-kenzo-hero { width: min(460px, 75%); margin: 0 auto 64px; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.16); border: 1px solid var(--drawer-line); }
.layout-kenzo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; max-width: 1180px; margin: 0 auto; }
.layout-kenzo-grid img { width: 100%; height: auto; box-shadow: 0 14px 36px rgba(0, 0, 0, 0.12); border: 1px solid var(--drawer-line); transition: transform 0.45s var(--ease-cinematic); }
.layout-kenzo-grid img:hover { transform: translateY(-4px) scale(1.015); }

.chapter-block { max-width: 1260px; margin: 0 auto 90px; }
.chapter-heading { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 16px; margin-bottom: 36px; border-bottom: 1px solid var(--drawer-line); }
.chapter-heading h3 { font-family: var(--font-serif); font-size: clamp(1.8rem, 3.2vw, 2.8rem); font-weight: 400; }

.gaia-plates-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.gaia-plates-grid img {
    width: 100%;
    aspect-ratio: 1.414 / 1;
    object-fit: contain;
    background: rgba(255, 255, 255, 0.22);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--drawer-line);
    transition: transform 0.45s var(--ease-cinematic);
}
.gaia-plates-grid img.is-full-plate {
    grid-column: span 2;
    max-height: 78vh;
    background: rgba(255, 255, 255, 0.35);
    padding: 14px;
}
.gaia-plates-grid img:hover { transform: scale(1.015); }
.gaia-photoshoot-stack { display: flex; flex-direction: column; align-items: center; gap: 32px; }
.gaia-photoshoot-stack img { width: min(860px, 92%); height: auto; box-shadow: 0 22px 54px rgba(0, 0, 0, 0.18); border: 1px solid var(--drawer-line); }

.layout-sticky-split { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 60px; max-width: 1300px; margin: 0 auto; align-items: start; }
.sticky-narrative { position: sticky; top: 40px; }
.sticky-narrative h2 { font-family: var(--font-serif); font-size: clamp(2.6rem, 4.4vw, 4rem); font-weight: 400; line-height: 1; margin: 14px 0 24px; }
.sticky-narrative p { font-size: 1.02rem; line-height: 1.75; opacity: 0.85; }
.sticky-visuals { display: grid; grid-template-columns: 1fr; gap: 28px; }
.sticky-visuals.two-col { grid-template-columns: 1fr 1fr; }
.sticky-visuals img { width: 100%; height: auto; box-shadow: 0 18px 46px rgba(0, 0, 0, 0.16); border: 1px solid var(--drawer-line); transition: transform 0.45s var(--ease-cinematic); }
.sticky-visuals img:hover { transform: scale(1.02); }

.h-deck-header { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; flex-shrink: 0; }
.h-deck-header h2 { font-family: var(--font-serif); font-size: clamp(2rem, 3.6vw, 3.2rem); font-weight: 400; line-height: 1; }
.h-deck-header p { max-width: 440px; font-size: 0.9rem; opacity: 0.78; }
.h-deck-stage { position: relative; flex: 1; display: flex; align-items: center; min-height: 0; margin: 14px 0; }
.h-deck-track { display: flex; align-items: center; gap: 44px; overflow-x: auto; height: 100%; width: 100%; padding: 12px 68px; scrollbar-width: none; }
.h-deck-track::-webkit-scrollbar { display: none; }
.h-slide { flex-shrink: 0; height: 100%; max-height: 64vh; display: flex; align-items: center; justify-content: center; }
.h-slide img { height: 100%; width: auto; max-width: 78vw; object-fit: contain; box-shadow: 0 18px 48px rgba(0, 0, 0, 0.16); border: 1px solid var(--drawer-line); transition: transform 0.4s var(--ease-cinematic); }
.h-slide img:hover { transform: scale(1.02); }
.h-slide.is-rotated-slide { --a3-h: min(56vh, 52vw); --a3-w: calc(var(--a3-h) * 1.4142); width: var(--a3-w); height: var(--a3-h); max-height: none; overflow: visible; position: relative; }
.h-slide.is-rotated-slide img { width: var(--a3-h); height: var(--a3-w); max-width: none; max-height: none; object-fit: contain; transform: rotate(-90deg); background: transparent; border: none; box-shadow: 0 18px 46px rgba(0, 0, 0, 0.16); }
.h-slide.is-rotated-slide img:hover { transform: rotate(-90deg) scale(1.02); }
.h-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--drawer-ink); background: var(--drawer-bg); color: var(--drawer-ink); font-size: 1.2rem; z-index: 15; display: flex; align-items: center; justify-content: center; transition: all 0.25s ease; }
.h-arrow:hover { background: var(--drawer-ink); color: var(--drawer-bg); transform: translateY(-50%) scale(1.08); }
.h-arrow.prev { left: 0; } .h-arrow.next { right: 0; }
.h-deck-footer { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-shrink: 0; padding-top: 8px; }
.h-tracker { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; justify-content: center; flex: 1; }
.h-dash { width: 14px; height: 3px; border-radius: 3px; background: var(--drawer-dash, rgba(0, 0, 0, 0.24)); position: relative; transition: width 0.3s var(--ease-cinematic), background-color 0.25s ease; }
.h-dash::after { content: ''; position: absolute; inset: -12px -3px; }
.h-dash.active { width: 32px; background: var(--drawer-ink); }
.h-counter { font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.14em; min-width: 72px; text-align: right; }

/* Wall of 3D Projects */
.wall3d-wrap { max-width: 1320px; margin: 0 auto; }
.wall3d-columns { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; align-items: start; }
.wall3d-col { display: flex; flex-direction: column; gap: 22px; }
.wall3d-col:nth-child(2) { margin-top: 44px; }
.wall3d-col-head { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 14px; border-bottom: 1px solid var(--drawer-line); text-align: left; width: 100%; transition: opacity 0.25s ease, border-color 0.25s ease; }
.wall3d-col-head:hover { opacity: 0.72; border-color: var(--drawer-ink); }
.wall3d-year { font-family: var(--font-serif); font-size: clamp(2.1rem, 3vw, 2.9rem); font-weight: 400; line-height: 1; letter-spacing: -0.02em; }
.wall3d-count { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.14em; color: var(--drawer-ink-soft); }
.wall3d-card { position: relative; overflow: hidden; background: rgba(255, 255, 255, 0.03); border: 1px solid var(--drawer-line); transition: border-color 0.35s ease, transform 0.45s var(--ease-cinematic); }
.wall3d-card:hover { border-color: rgba(242, 239, 232, 0.42); transform: translateY(-4px); }
.wall3d-card img { width: 100%; height: auto; display: block; transition: transform 0.65s var(--ease-cinematic); }
.wall3d-card:hover img { transform: scale(1.03); }
.wall3d-card-index { position: absolute; bottom: 10px; left: 12px; font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.12em; padding: 4px 8px; background: rgba(17, 19, 24, 0.72); color: rgba(242, 239, 232, 0.82); backdrop-filter: blur(6px); pointer-events: none; }
.wall3d-focus-head { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 18px; margin-bottom: 34px; border-bottom: 1px solid var(--drawer-line); }
.wall3d-focus-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; align-items: start; }

.drawer-gallery-standard { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; align-items: start; }
.drawer-gallery-standard img { width: 100%; height: auto; border: 1px solid var(--line); transition: transform 0.45s var(--ease-cinematic); }
.drawer-gallery-standard img:hover { transform: scale(1.02); }

/* --- LIGHTBOX & TOAST --- */
.lightbox { position: fixed; inset: 0; background: rgba(10, 14, 22, 0.95); z-index: 2500; display: flex; justify-content: center; align-items: center; opacity: 0; pointer-events: none; transition: opacity 0.35s ease; }
.lightbox.open { opacity: 1; pointer-events: auto; }
.lb-img { max-width: 86vw; max-height: 84vh; object-fit: contain; transition: transform 0.25s ease; }
.lb-img.is-rotated-lb { max-width: 80vh; max-height: 84vw; transform: rotate(-90deg); }
.lb-close { position: absolute; top: 28px; right: 4vw; color: #fff; font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; padding: 10px 18px; border: 1px solid rgba(255, 255, 255, 0.35); border-radius: 999px; }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); color: #fff; font-size: 2rem; padding: 16px; }
.lb-prev { left: 3vw; } .lb-next { right: 3vw; }
.toast { position: fixed; bottom: 30px; left: 50%; transform: translate(-50%, 30px); background: var(--ink); color: var(--bg-ecru); font-family: var(--font-mono); font-size: 0.76rem; letter-spacing: 0.1em; padding: 12px 24px; border-radius: 999px; opacity: 0; pointer-events: none; z-index: 3000; transition: opacity 0.35s ease, transform 0.35s var(--ease-cinematic); }
.toast.visible { opacity: 1; transform: translate(-50%, 0); }

/* --- RESPONSIVE --- */
/* =========================================================
   VERROUILLAGE CURSEUR SUR ÉCRANS TACTILES
   ========================================================= */
@media (hover: none), (pointer: coarse) {
    .cursor-wrapper {
        display: none !important;
        opacity: 0 !important;
        visibility: hidden !important;
    }
    body, body * {
        cursor: auto !important;
    }
    .archive-preview {
        display: none !important;
    }
}

/* =========================================================
   RESPONSIVE TABLETTE & MOBILE
   ========================================================= */
@media (max-width: 1080px) {
    .main-nav { display: none; }
    .mobile-menu-btn { display: inline-block; }
    .site-header { grid-template-columns: auto 1fr auto; }
    .header-controls { gap: 8px; }
    .pill-switch { min-width: 96px; height: 30px; }
    #lang-toggle { min-width: 74px; }
}

@media (max-width: 920px) {
    .section-header,
    .manifesto-grid,
    .skills-grid,
    .footer-grid,
    .layout-sticky-split,
    .layout-kenzo-grid,
    .gaia-plates-grid,
    .internship-hero,
    .wall3d-columns,
    .wall3d-focus-grid {
        grid-template-columns: 1fr;
        flex-direction: column;
        align-items: flex-start;
    }

    .featured-grid { grid-template-columns: 1fr; gap: 38px; margin-bottom: 72px; }
    .wall3d-col:nth-child(2) { margin-top: 0; }
    .gaia-plates-grid img.is-full-plate { grid-column: span 1; max-height: none; padding: 8px; }
    .sticky-narrative { position: relative; top: 0; }
    .sticky-visuals.two-col { grid-template-columns: 1fr; }

    /* Remplissage 100% des effets Blender, Lightroom et Office en format portrait */
    .fx-dots { grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(10, 1fr); }
    .fx-dot { width: 170%; }

    .fx-louvers { width: 320%; left: -110%; height: 210%; top: -55%; }

    .fx-diamonds { grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(8, 1fr); }
    .fx-diamond { width: 175%; }

    /* Conserve le rythme 2 colonnes verticales + 1 panoramique sur le stage */
    .internship-slots-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .internship-slot.is-wide { grid-column: span 2; }

    .archive-row { grid-template-columns: 38px 1fr 30px; gap: 6px; padding: 18px 8px; }
    .row-cat, .row-year, .archive-preview, .drawer-v-tracker, .h-arrow, .h-tracker { display: none !important; }

    .drawer-panel { height: 100vh; height: 100dvh; border-top: none; }
    .drawer-topbar { flex-wrap: wrap; gap: 10px; padding: 14px 5vw; }
    .drawer-topbar-right { width: 100%; justify-content: space-between; }
    .drawer-chapter-tabs { overflow-x: auto; max-width: 72vw; scrollbar-width: none; }
    .drawer-chapter-tabs::-webkit-scrollbar { display: none; }
    .chapter-tab { white-space: nowrap; flex-shrink: 0; }

    .drawer-body { padding: 30px 5vw 72px; -webkit-overflow-scrolling: touch; }
    .drawer-body.is-horizontal-mode { overflow-y: auto; display: block; }
    .h-deck-header { flex-direction: column; align-items: flex-start; gap: 10px; margin-bottom: 18px; }
    .h-deck-track { flex-direction: column; overflow: visible; padding: 12px 0; height: auto; gap: 24px; }
    .h-slide { width: 100%; height: auto; max-height: none; }
    .h-slide img { max-width: 100%; height: auto; }
    .h-slide.is-rotated-slide { --a3-w: 88vw; --a3-h: calc(88vw / 1.4142); width: var(--a3-w); height: var(--a3-h); margin: 0 auto; }

    .about-visual-col { height: 48vh; max-height: 440px; width: 100%; }
    .footer-right-col { justify-content: flex-start; }
}

@media (max-width: 680px) {
    /* Header mobile 2 lignes compact : Nom + Menu / Curseurs Clair-Marine & EN-FR centrés */
    .site-header {
        grid-template-columns: 1fr auto;
        row-gap: 10px;
        padding: 12px 5vw 10px;
        background-color: var(--bg-glass);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        border-bottom-color: var(--line);
    }
    .header-left { grid-column: 1; grid-row: 1; }
    .header-right { grid-column: 2; grid-row: 1; }
    .header-controls {
        grid-column: 1 / -1;
        grid-row: 2;
        width: 100%;
        justify-content: center;
        padding-top: 8px;
        border-top: 1px solid var(--line);
        gap: 12px;
    }
    .brand-name { font-size: 0.72rem; letter-spacing: 0.14em; }
    .pill-switch { height: 28px; min-width: 102px; }
    #lang-toggle { min-width: 78px; }

    /* Hero calé sur 100svh (ne passe jamais sous la barre d'adresse mobile) */
    .hero {
        min-height: 100vh;
        min-height: 100svh;
        padding: 112px 5vw 28px;
    }
    .hero-foreground { min-height: calc(100svh - 140px); }
    .hero-top-meta { flex-direction: column; align-items: flex-start; gap: 4px; }
    .hero-title { font-size: clamp(3.4rem, 16vw, 5.2rem); }
    .hero-gallery-layer { display: none !important; }

    .hero-bottom-bar { flex-direction: column; align-items: stretch; gap: 18px; }
    .hero-portfolio-word { font-size: 1.9rem; }
    .hero-actions { display: grid; grid-template-columns: 1fr auto; gap: 10px; width: 100%; }
    .btn-primary, .btn-ghost { justify-content: center; padding: 13px 16px; font-size: 0.68rem; }

    /* Espacements verticaux plus rythmés sur mobile */
    .works-section, .manifesto-section, .expertise-section { padding: 84px 0; }
    .site-footer { padding: 84px 0 36px; }
    .section-header { margin-bottom: 42px; padding-bottom: 20px; gap: 18px; }

    /* Filtres d'index en ruban tactile horizontal */
    .filter-bar { flex-wrap: nowrap; overflow-x: auto; width: 100%; padding-bottom: 6px; scrollbar-width: none; }
    .filter-bar::-webkit-scrollbar { display: none; }
    .filter-btn { white-space: nowrap; flex-shrink: 0; }

    /* Dock logiciels 4 par ligne, facile à taper au doigt */
    .software-dock { justify-content: center; gap: 14px; }
    .software-item { width: 68px; height: 68px; padding: 13px; border-radius: 16px; }
    .software-item.is-tapped { background: #FFFFFF; box-shadow: 0 14px 30px rgba(0, 0, 0, 0.22); }
    .software-readout { font-size: 1.15rem; }

    .atelier-metrics { grid-template-columns: 1fr; gap: 18px; }
    .footer-grid { margin: 44px 0 42px; gap: 28px; }
    .email-big { font-size: 1.3rem; word-break: break-all; }
    .footer-bottom { flex-direction: column; gap: 6px; }

    .lb-nav { font-size: 1.5rem; padding: 12px; background: rgba(10, 14, 22, 0.55); border-radius: 50%; }
    .lb-prev { left: 10px; } .lb-next { right: 10px; }
    .lb-img { max-width: 94vw; max-height: 76vh; }
}