@import url('https://fonts.googleapis.com/css2?family=Suez+One&family=Assistant:wght@400;500;600;700;800&display=swap');

/* ============================================================
   TOKENS — palette rouille/métal, échelle typo, espacement 4/8
   ============================================================ */
:root {
    /* Couleurs — acier oxydé, pas de violet/bleu générique */
    --ink: #16130f;
    --ink-raised: #1f1a14;
    --rust: #b1522c;
    --rust-bright: #c8632f;
    --rust-deep: #6f331e;
    --brass: #c9a15c;
    --brass-dim: #8a713f;
    --stone: #a89e8c;
    --paper: #ece4d6;
    --paper-dim: #b8ae9c;

    /* Sémantique (désaturée) */
    --ok: #7a9d6f;
    --danger: #b5453a;

    /* Typo */
    --font-display: 'Suez One', serif;
    --font-body: 'Assistant', sans-serif;
    --text-xs: 0.8125rem;
    --text-sm: 0.9375rem;
    --text-base: 1.0625rem;
    --text-lg: 1.3125rem;
    --text-xl: 1.75rem;
    --text-2xl: 2.5rem;
    --text-3xl: 4rem;
    --text-hero: 6rem;

    /* Espacement (grille 4/8) */
    --sp-1: 4px;
    --sp-2: 8px;
    --sp-3: 12px;
    --sp-4: 16px;
    --sp-6: 24px;
    --sp-8: 32px;
    --sp-12: 48px;
    --sp-16: 64px;
    --sp-24: 96px;
    --sp-32: 128px;

    /* Découpe laser — pas de border-radius, des coins coupés */
    --cut-lg: 20px;
    --cut-md: 12px;
    --cut-sm: 7px;

    --shadow-plate: 0 1px 0 rgba(236, 228, 214, 0.06) inset, 0 18px 40px -12px rgba(0, 0, 0, 0.65);
    --shadow-lift: 0 1px 0 rgba(236, 228, 214, 0.08) inset, 0 24px 60px -16px rgba(0, 0, 0, 0.75);

    --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ============================================================
   RESET
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
    margin: 0;
    background: var(--ink);
    color: var(--paper);
    font-family: var(--font-body);
    font-size: var(--text-base);
    line-height: 1.6;
    direction: rtl;
    text-align: right;
    overflow-x: hidden;
    max-width: 100vw;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, p, ul { margin: 0; }
h1, h2, h3 { line-height: 1.15; }
ul { padding: 0; list-style: none; }
button, input, textarea { font-family: inherit; font-size: inherit; color: inherit; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
    html { scroll-behavior: auto; }
}

:focus-visible {
    outline: 3px solid var(--brass);
    outline-offset: 3px;
}

/* ============================================================
   LAYOUT
   ============================================================ */
.container {
    max-width: none;
    margin-inline: auto;
    padding-inline: clamp(var(--sp-6), 4vw, var(--sp-32));
}
main { display: block; }

/* Texture rouille en fond ambiant (bruit léger + vignette) */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        radial-gradient(1200px 700px at 85% -10%, rgba(177, 82, 44, 0.16), transparent 60%),
        radial-gradient(900px 500px at -10% 110%, rgba(201, 161, 92, 0.08), transparent 60%);
}
body > * { position: relative; z-index: 1; }

/* ============================================================
   PLAQUE — le composant signature : un panneau métallique coupé
   ============================================================ */
.plate {
    background:
        repeating-linear-gradient(112deg, rgba(255, 255, 255, 0.02) 0px, rgba(255, 255, 255, 0.02) 1px, transparent 1px, transparent 4px),
        linear-gradient(155deg, var(--ink-raised), #14100c 70%);
    border: 1px solid rgba(201, 161, 92, 0.18);
    clip-path: polygon(var(--cut-lg) 0, 100% 0, 100% calc(100% - var(--cut-lg)), calc(100% - var(--cut-lg)) 100%, 0 100%, 0 var(--cut-lg));
    box-shadow: var(--shadow-plate);
    position: relative;
    transition: border-color 280ms var(--ease), box-shadow 280ms var(--ease);
}
.plate::after {
    /* vis/rivet dans le coin non coupé */
    content: '';
    position: absolute;
    top: var(--sp-3);
    left: var(--sp-3);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, var(--brass), var(--brass-dim) 70%);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--sp-2);
    padding: 14px 28px;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: var(--text-sm);
    letter-spacing: 0.02em;
    text-decoration: none;
    border: none;
    cursor: pointer;
    clip-path: polygon(var(--cut-sm) 0, 100% 0, 100% calc(100% - var(--cut-sm)), calc(100% - var(--cut-sm)) 100%, 0 100%, 0 var(--cut-sm));
    transition: transform 180ms var(--ease), box-shadow 180ms var(--ease), background 180ms var(--ease);
}
.btn-primary {
    position: relative;
    background: linear-gradient(155deg, var(--rust-bright), var(--rust-deep));
    color: var(--paper);
    box-shadow: 0 10px 24px -8px rgba(177, 82, 44, 0.55);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -8px rgba(177, 82, 44, 0.7); }
.btn-primary:active { transform: translateY(0); }
.btn-primary::after {
    content: '';
    position: absolute;
    top: 30%;
    left: 22px;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: #ffd9ad;
    box-shadow: 0 0 6px 2px rgba(255, 180, 110, 0.9);
    opacity: 0;
    pointer-events: none;
}
.btn-primary:hover::after { animation: sparkPop 550ms ease-out; }
@media (prefers-reduced-motion: reduce) {
    .btn-primary:hover::after { animation: none; opacity: 0; }
}
.btn-ghost {
    background: transparent;
    color: var(--brass);
    border: 1px solid var(--brass-dim);
}
.btn-ghost:hover { background: rgba(201, 161, 92, 0.08); border-color: var(--brass); }

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: var(--sp-2);
    font-family: var(--font-body);
    font-weight: 700;
    font-size: var(--text-xs);
    letter-spacing: 0.08em;
    color: var(--brass);
}
.eyebrow::before {
    content: '';
    width: 22px;
    height: 1px;
    background: var(--brass-dim);
}
.reveal-armed .eyebrow::before {
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 550ms var(--ease);
}
.reveal-armed.is-visible .eyebrow::before { transform: scaleX(1); }

/* ============================================================
   INTRO — le laser qui découpe le mot חלודה à l'ouverture
   ============================================================ */
.intro-overlay {
    position: fixed;
    inset: 0;
    z-index: 999;
    background: var(--ink);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transition: opacity 650ms var(--ease);
}
.intro-overlay.intro-hide { opacity: 0; pointer-events: none; }
body.intro-playing { overflow: hidden; }

.intro-stage {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: min(90vw, 900px);
    height: 240px;
}

.intro-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(320px 180px at 50% 50%, rgba(177, 82, 44, 0.35), transparent 70%);
    opacity: 0;
    animation: introGlow 2100ms var(--ease) forwards;
}

.intro-word {
    position: relative;
    font-family: var(--font-display);
    font-size: clamp(3.5rem, 11vw, 7.5rem);
    color: var(--rust-bright);
    text-shadow: 0 0 30px rgba(200, 99, 47, 0.55);
    -webkit-mask-image: linear-gradient(to left, #000 50%, transparent 50%);
    mask-image: linear-gradient(to left, #000 50%, transparent 50%);
    -webkit-mask-size: 200% 100%;
    mask-size: 200% 100%;
    -webkit-mask-position: 100% 0;
    mask-position: 100% 0;
    animation: introReveal 1500ms 300ms cubic-bezier(0.65, 0, 0.35, 1) forwards;
}

.intro-laser {
    position: absolute;
    top: 8%;
    bottom: 8%;
    width: 3px;
    right: 0%;
    background: linear-gradient(180deg, transparent, #fff 15%, var(--rust-bright) 50%, #fff 85%, transparent);
    box-shadow: 0 0 16px 3px rgba(255, 214, 178, 0.95), 0 0 50px 10px rgba(177, 82, 44, 0.6);
    animation: introSweep 1500ms 300ms cubic-bezier(0.65, 0, 0.35, 1) forwards;
}

.spark {
    position: absolute;
    top: 50%;
    right: 0;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: #ffd9ad;
    box-shadow: 0 0 6px 2px rgba(255, 180, 110, 0.9);
    opacity: 0;
}
.spark-1 { animation: sparkPop 420ms ease-out 420ms forwards; }
.spark-2 { animation: sparkPop 420ms ease-out 620ms forwards; }
.spark-3 { animation: sparkPop 420ms ease-out 900ms forwards; }
.spark-4 { animation: sparkPop 420ms ease-out 1150ms forwards; }
.spark-5 { animation: sparkPop 420ms ease-out 1450ms forwards; }

@keyframes introGlow {
    0% { opacity: 0; }
    35% { opacity: 1; }
    100% { opacity: 0.4; }
}
@keyframes introReveal {
    to { -webkit-mask-position: 0% 0; mask-position: 0% 0; }
}
@keyframes introSweep {
    to { right: 100%; }
}
@keyframes sparkPop {
    0% { transform: translate(0, -50%) scale(0.4); opacity: 0; }
    35% { opacity: 1; }
    100% { transform: translate(-14px, -140%) scale(0); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
    .intro-overlay { display: none; }
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-block: var(--sp-6);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 20;
    transition: box-shadow 200ms var(--ease);
}
/* Le flou/fond vivent sur un pseudo-élément, pas sur .nav lui-même :
   backdrop-filter sur .nav créerait un containing block pour tout
   descendant en position:fixed — dont le tiroir mobile .nav-links,
   qui se retrouverait confiné à la hauteur du header au lieu du viewport. */
.nav::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: rgba(22, 19, 15, 0.82);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
.nav.is-stuck { box-shadow: 0 12px 24px -16px rgba(0, 0, 0, 0.7); }

body { padding-top: var(--nav-h, 88px); }
.hero-cinematic { margin-top: calc(-1 * var(--nav-h, 88px)); }
.nav-brand {
    font-family: var(--font-display);
    font-size: var(--text-xl);
    color: var(--paper);
    text-decoration: none;
    letter-spacing: 0.01em;
}
.nav-brand span { color: var(--rust-bright); }
.nav-links {
    display: flex;
    align-items: center;
    gap: var(--sp-6);
    flex-wrap: wrap;
    justify-content: flex-end;
}
.nav-links a {
    position: relative;
    text-decoration: none;
    font-weight: 600;
    font-size: var(--text-sm);
    color: var(--paper-dim);
    padding-bottom: 4px;
    transition: color 160ms var(--ease);
}
.nav-links a:not(.nav-cart)::after {
    content: '';
    position: absolute;
    right: 0;
    left: 0;
    bottom: 0;
    height: 2px;
    background: var(--rust-bright);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 240ms var(--ease);
}
.nav-links a:hover, .nav-links a[aria-current="page"] {
    color: var(--paper);
}
.nav-links a:not(.nav-cart):hover::after,
.nav-links a:not(.nav-cart)[aria-current="page"]::after {
    transform: scaleX(1);
}
.nav-toggle { display: none; }
.nav-cart {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 700;
    font-size: var(--text-sm);
    text-decoration: none;
    color: var(--paper);
    padding: 8px 14px;
    border: 1px solid rgba(201, 161, 92, 0.3);
    clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px);
    transition: border-color 160ms var(--ease), background 160ms var(--ease);
}
.nav-cart:hover { border-color: var(--brass); background: rgba(201, 161, 92, 0.08); }
.nav-cart .badge {
    background: var(--rust-bright);
    color: var(--paper);
    font-size: 11px;
    font-weight: 800;
    min-width: 18px;
    height: 18px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    animation: badgePop 480ms var(--ease) 350ms backwards;
}
@keyframes badgePop {
    0% { transform: scale(0); opacity: 0; }
    65% { transform: scale(1.2); opacity: 1; }
    100% { transform: scale(1); }
}
@media (prefers-reduced-motion: reduce) {
    .nav-cart .badge { animation: none; }
}

@media (max-width: 760px) {
    .nav-links {
        position: fixed;
        inset: 0 0 0 auto;
        width: min(78vw, 320px);
        background: var(--ink-raised);
        flex-direction: column;
        justify-content: flex-start;
        align-items: stretch;
        gap: var(--sp-6);
        padding: var(--sp-24) var(--sp-8);
        transform: translateX(100%);
        transition: transform 260ms var(--ease);
        border-inline-start: 1px solid rgba(201, 161, 92, 0.18);
    }
    .nav-links.is-open { transform: translateX(0); }
    .nav-toggle {
        display: inline-flex;
        width: 44px;
        height: 44px;
        align-items: center;
        justify-content: center;
        background: none;
        border: 1px solid var(--brass-dim);
        color: var(--paper);
        clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px);
    }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
    padding-block: var(--sp-24) var(--sp-16);
    display: grid;
    gap: var(--sp-8);
}
.hero-wordmark {
    font-family: var(--font-display);
    font-size: clamp(3.5rem, 12vw, var(--text-hero));
    line-height: 1;
    letter-spacing: -0.01em;
    margin: 0 0 var(--sp-4);
    background: linear-gradient(180deg, var(--rust-bright) 0%, var(--rust) 55%, var(--rust-deep) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow:
        -1px -1px 0 rgba(255, 214, 178, 0.18),
        1px 1px 0 rgba(0, 0, 0, 0.4),
        2px 3px 4px rgba(0, 0, 0, 0.5);
    filter: drop-shadow(0 6px 0 rgba(0, 0, 0, 0.35));
}
.hero-tagline {
    font-size: clamp(var(--text-lg), 3vw, var(--text-2xl));
    max-width: 22ch;
    color: var(--paper);
    font-weight: 600;
    line-height: 1.25;
}
.hero-sub {
    max-width: 52ch;
    color: var(--paper-dim);
    font-size: var(--text-lg);
}
.hero-actions {
    display: flex;
    gap: var(--sp-4);
    flex-wrap: wrap;
    margin-top: var(--sp-4);
}
.hero-visual {
    clip-path: polygon(28px 0, 100% 0, 100% calc(100% - 28px), calc(100% - 28px) 100%, 0 100%, 0 28px);
    box-shadow: var(--shadow-lift);
    border: 1px solid rgba(201, 161, 92, 0.25);
    overflow: hidden;
}
.hero-visual img { width: 100%; height: 100%; object-fit: cover; }
.hero-visual-caption {
    font-size: var(--text-xs);
    color: var(--paper-dim);
    margin-top: var(--sp-2);
    text-align: center;
}

@media (max-width: 480px) {
    .hero-wordmark { font-size: clamp(2.75rem, 18vw, 4.5rem); }
    .hero-tagline { font-size: clamp(1.15rem, 6vw, 1.5rem); }
    .hero-actions { flex-direction: column; align-items: stretch; }
    .hero-actions .btn { justify-content: center; }
}

@media (min-width: 900px) {
    .hero { grid-template-columns: 1.1fr 0.9fr; align-items: center; }
}

/* ============================================================
   PROCESS — étapes réelles (séquence justifiée)
   ============================================================ */
.process {
    padding-block: var(--sp-16);
}
.process-head {
    max-width: 60ch;
    margin-bottom: var(--sp-12);
}
.process-head h2 {
    font-family: var(--font-display);
    font-size: var(--text-3xl);
    margin-top: var(--sp-3);
}
.process-grid {
    display: grid;
    gap: var(--sp-4);
}
@media (min-width: 760px) {
    .process-grid { grid-template-columns: repeat(4, 1fr); }
}
.process-step {
    padding: var(--sp-6);
}
.process-step .num {
    font-family: var(--font-display);
    font-size: var(--text-lg);
    color: var(--rust-bright);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: radial-gradient(circle at 32% 28%, rgba(201, 161, 92, 0.22), rgba(0, 0, 0, 0.15) 75%);
    border: 1px solid rgba(201, 161, 92, 0.35);
    box-shadow: 0 1px 0 rgba(236, 228, 214, 0.08) inset, 0 4px 10px -4px rgba(0, 0, 0, 0.6);
    margin-bottom: var(--sp-3);
}
.process-step h3 {
    font-size: var(--text-lg);
    font-weight: 700;
    margin-bottom: var(--sp-2);
}
.process-step p {
    color: var(--paper-dim);
    font-size: var(--text-sm);
}

/* ============================================================
   GALLERY — panneaux "montés au mur"
   ============================================================ */
.gallery-section { padding-block: var(--sp-16); }
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: var(--sp-8);
    margin-top: var(--sp-8);
}
.gallery-card { overflow: hidden; }
.gallery-card:hover {
    border-color: rgba(177, 82, 44, 0.5);
    box-shadow: var(--shadow-plate), 0 0 0 1px rgba(177, 82, 44, 0.2);
}
.gallery-card img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    transition: transform 420ms var(--ease);
}
.gallery-card:hover img { transform: scale(1.04); }
.gallery-card-body {
    padding: var(--sp-4) var(--sp-6) var(--sp-6);
}
.gallery-card-cat {
    font-size: var(--text-xs);
    color: var(--brass);
    font-weight: 700;
    letter-spacing: 0.04em;
}
.gallery-card h3 {
    font-family: var(--font-display);
    font-size: var(--text-xl);
    margin-top: var(--sp-2);
}
.gallery-card .credit {
    font-size: var(--text-xs);
    color: var(--paper-dim);
    margin-top: var(--sp-1);
}
.gallery-empty {
    padding: var(--sp-12);
    text-align: center;
    color: var(--paper-dim);
}

/* ============================================================
   CTA BAND
   ============================================================ */
.cta-band {
    position: relative;
    margin-block: var(--sp-16);
    padding: var(--sp-16) var(--sp-8);
    text-align: center;
    background: linear-gradient(155deg, var(--rust-deep), #241109 75%);
    clip-path: polygon(0 0, 100% var(--cut-lg), 100% 100%, 0 calc(100% - var(--cut-lg)));
}
.cta-band h2 {
    position: relative;
    z-index: 1;
    font-family: var(--font-display);
    font-size: var(--text-2xl);
    margin-bottom: var(--sp-4);
}
.cta-band p {
    position: relative;
    z-index: 1;
    color: var(--paper-dim);
    margin-bottom: var(--sp-6);
    max-width: 46ch;
    margin-inline: auto;
}
.cta-band .btn { position: relative; z-index: 1; }

.cta-embers {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}
.cta-embers span {
    position: absolute;
    bottom: -10px;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: #ffd9ad;
    box-shadow: 0 0 6px 2px rgba(255, 180, 110, 0.75);
    opacity: 0;
    animation: emberRise 6.5s ease-in infinite;
}
.cta-embers span:nth-child(1) { right: 8%; animation-delay: 0s; animation-duration: 6.2s; }
.cta-embers span:nth-child(2) { right: 22%; animation-delay: 1.4s; animation-duration: 7.6s; }
.cta-embers span:nth-child(3) { right: 45%; animation-delay: 2.8s; animation-duration: 5.4s; }
.cta-embers span:nth-child(4) { right: 68%; animation-delay: 0.7s; animation-duration: 8.1s; }
.cta-embers span:nth-child(5) { right: 88%; animation-delay: 3.6s; animation-duration: 6.9s; }

@keyframes emberRise {
    0% { transform: translateY(0) scale(0.6); opacity: 0; }
    12% { opacity: 1; }
    100% { transform: translateY(-160px) scale(0.2); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
    .cta-embers { display: none; }
}

/* ============================================================
   CONTACT FORM
   ============================================================ */
.contact-wrap {
    padding-block: var(--sp-16);
    display: grid;
    gap: var(--sp-8);
}
@media (min-width: 860px) {
    .contact-wrap { grid-template-columns: 0.9fr 1.1fr; align-items: start; }
}
.contact-info h2 {
    font-family: var(--font-display);
    font-size: var(--text-2xl);
    margin-bottom: var(--sp-4);
}
.contact-info p { color: var(--paper-dim); margin-bottom: var(--sp-4); }
.contact-detail {
    display: flex;
    gap: var(--sp-3);
    align-items: baseline;
    font-size: var(--text-sm);
    margin-bottom: var(--sp-2);
}
.contact-detail strong { color: var(--brass); font-weight: 700; }

.form-plate { padding: var(--sp-8); }
.field { margin-bottom: var(--sp-4); }
.field label {
    display: block;
    font-size: var(--text-sm);
    font-weight: 700;
    color: var(--paper);
    margin-bottom: var(--sp-2);
}
.field input, .field textarea {
    width: 100%;
    background: var(--ink);
    border: 1px solid rgba(201, 161, 92, 0.25);
    color: var(--paper);
    padding: 12px 14px;
    clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px);
    transition: border-color 160ms var(--ease);
}
.field input:focus, .field textarea:focus {
    border-color: var(--rust-bright);
    outline: none;
    box-shadow: 0 0 0 3px rgba(201, 161, 92, 0.25);
}
.field textarea { resize: vertical; min-height: 120px; }
.form-msg {
    padding: var(--sp-3) var(--sp-4);
    margin-bottom: var(--sp-4);
    font-size: var(--text-sm);
    font-weight: 600;
}
.form-msg.success { background: rgba(122, 157, 111, 0.15); color: var(--ok); border: 1px solid rgba(122, 157, 111, 0.4); }
.form-msg.error { background: rgba(181, 69, 58, 0.15); color: #e08a80; border: 1px solid rgba(181, 69, 58, 0.4); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
    padding-block: var(--sp-12) var(--sp-8);
    border-top: 1px solid rgba(201, 161, 92, 0.15);
    margin-top: var(--sp-16);
}
.footer-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--sp-4);
}
.footer-brand {
    font-family: var(--font-display);
    font-size: var(--text-lg);
}
.footer-note {
    color: var(--paper-dim);
    font-size: var(--text-xs);
}

/* ============================================================
   REVEAL AU SCROLL
   ============================================================ */
/* Par défaut TOUJOURS visible — le JS ajoute .reveal-armed lui-même avant
   d'observer, donc sans JS (ou JS lent/désactivé) le contenu reste visible.
   Jamais d'opacité:0 posée uniquement en CSS statique. */
.reveal.reveal-armed {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 750ms var(--ease), transform 750ms var(--ease);
}
.reveal.reveal-armed.is-visible { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: 90ms; }
.reveal-d2 { transition-delay: 180ms; }
.reveal-d3 { transition-delay: 270ms; }
.reveal-d4 { transition-delay: 360ms; }

@media (prefers-reduced-motion: reduce) {
    .reveal.reveal-armed { opacity: 1; transform: none; transition: none; }
}

/* Sections entières (pas les cartes .plate, déjà découpées aux angles) :
   révélées par un rideau qui se rétracte + une ligne laser, au lieu d'un
   simple fondu. Un rideau (::before en scaleX), PAS un clip-path sur
   l'élément observé — sinon l'IntersectionObserver voit une cible à
   surface nulle et ne déclenche plus jamais l'entrée en vue. */
.reveal.reveal-armed:not(.plate) { position: relative; }

.reveal.reveal-armed:not(.plate)::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 6;
    background: linear-gradient(155deg, var(--ink-raised), #0d0a07 70%);
    transform-origin: 0% 50%;
    transform: scaleX(1);
    transition: transform 850ms var(--ease);
    pointer-events: none;
}
.reveal.reveal-armed.is-visible:not(.plate)::before { transform: scaleX(0); }

.reveal.reveal-armed:not(.plate)::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    width: 3px;
    z-index: 7;
    background: linear-gradient(180deg, transparent, #fff 15%, var(--rust-bright) 50%, #fff 85%, transparent);
    box-shadow: 0 0 16px 3px rgba(255, 214, 178, 0.9), 0 0 40px 8px rgba(177, 82, 44, 0.6);
    transition: right 850ms var(--ease), opacity 120ms linear 750ms;
    pointer-events: none;
    opacity: 1;
}
.reveal.reveal-armed.is-visible:not(.plate)::after { right: 100%; opacity: 0; }

@media (prefers-reduced-motion: reduce) {
    .reveal.reveal-armed:not(.plate)::before { display: none; }
    .reveal.reveal-armed:not(.plate)::after { display: none; }
}

/* ============================================================
   HERO CINÉMATIQUE — vraie photo de découpe laser en fond
   ============================================================ */
.hero-cinematic {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    margin-bottom: var(--sp-24);
}
.hero-media {
    position: absolute;
    inset: -12% 0;
    z-index: 0;
    will-change: transform;
}
.hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 38%;
    filter: saturate(1.08) contrast(1.06) brightness(0.85);
}
.hero-cinematic::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(180deg, rgba(22, 19, 15, 0.25) 0%, rgba(22, 19, 15, 0.55) 62%, var(--ink) 100%),
        linear-gradient(90deg, transparent 0%, rgba(22, 19, 15, 0.45) 45%, rgba(22, 19, 15, 0.9) 100%);
}
.hero-cinematic-inner {
    position: relative;
    z-index: 2;
    max-width: 640px;
}
.hero-cinematic-seam {
    position: absolute;
    bottom: 0;
    inset-inline: 0;
    height: 2px;
    z-index: 2;
    background: linear-gradient(90deg, transparent, rgba(200, 99, 47, 0.7) 45%, rgba(255, 214, 178, 0.9) 50%, rgba(200, 99, 47, 0.7) 55%, transparent);
    box-shadow: 0 0 16px 2px rgba(177, 82, 44, 0.5);
}
.hero-cinematic .hero-wordmark { font-size: clamp(4rem, 13vw, var(--text-hero)); }

@media (max-width: 480px) {
    .hero-cinematic .hero-wordmark { font-size: clamp(2.75rem, 18vw, 4.5rem); }
}

.hero-scrollcue {
    position: absolute;
    bottom: var(--sp-8);
    right: 50%;
    transform: translateX(50%);
    z-index: 2;
    width: 26px;
    height: 42px;
    border: 2px solid rgba(236, 228, 214, 0.35);
    border-radius: 14px;
}
.hero-scrollcue span {
    position: absolute;
    top: 7px;
    right: 50%;
    width: 4px;
    height: 8px;
    margin-right: -2px;
    background: var(--brass);
    border-radius: 2px;
    animation: scrollcue 1.8s ease-in-out infinite;
}
@keyframes scrollcue {
    0% { opacity: 1; transform: translateY(0); }
    70% { opacity: 0; transform: translateY(14px); }
    100% { opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
    .hero-scrollcue span { animation: none; opacity: 1; }
}

/* ============================================================
   MATÉRIAUX — texture + atelier
   ============================================================ */
.materials {
    padding-block: var(--sp-24);
}
.materials-grid {
    display: grid;
    gap: var(--sp-6);
    margin-top: var(--sp-8);
    align-items: stretch;
}
@media (min-width: 860px) {
    .materials-grid { grid-template-columns: 0.85fr 1.15fr; }
}
.materials-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: var(--sp-4);
}
.materials-copy h2 {
    font-family: var(--font-display);
    font-size: var(--text-3xl);
}
.materials-copy p { color: var(--paper-dim); max-width: 46ch; }
.materials-stats {
    display: flex;
    gap: var(--sp-8);
    margin-top: var(--sp-4);
}
.materials-stats div strong {
    display: block;
    font-family: var(--font-display);
    font-size: var(--text-xl);
    color: var(--rust-bright);
}
.materials-stats div span { font-size: var(--text-xs); color: var(--paper-dim); }
.materials-images {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--sp-4);
}
.materials-images .tall { grid-row: auto; }
.materials-images .plate { padding: 0; overflow: hidden; }
.materials-images img { width: 100%; height: 100%; object-fit: cover; display: block; }
.materials-images .tall img { aspect-ratio: 16 / 10; }
.materials-images .wide img { aspect-ratio: 16 / 10; }

@media (min-width: 640px) {
    .materials-images { grid-template-columns: 1fr 1fr; }
    .materials-images .tall { grid-row: span 2; }
    .materials-images .tall img { aspect-ratio: 3 / 4; }
}

@media (max-width: 420px) {
    .materials-stats { flex-wrap: wrap; gap: var(--sp-4) var(--sp-6); }
}

/* ============================================================
   APERÇU BOUTIQUE (home)
   ============================================================ */
.shop-teaser { padding-block: var(--sp-16); }
.shop-teaser-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: var(--sp-4);
    margin-bottom: var(--sp-8);
}
.shop-teaser-head h2 { font-family: var(--font-display); font-size: var(--text-3xl); margin-top: var(--sp-3); }
.shop-teaser-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: var(--sp-6);
}

/* ============================================================
   BOUTIQUE — catalogue
   ============================================================ */
.product-card { overflow: hidden; display: flex; flex-direction: column; }
.product-card:hover {
    border-color: rgba(177, 82, 44, 0.5);
    box-shadow: var(--shadow-plate), 0 0 0 1px rgba(177, 82, 44, 0.2);
}
.product-card-media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; }
.product-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 420ms var(--ease); }
.product-card:hover .product-card-media img { transform: scale(1.05); }
.product-card-plate {
    position: absolute;
    inset: auto var(--sp-4) var(--sp-4) var(--sp-4);
    background: rgba(22, 19, 15, 0.72);
    backdrop-filter: blur(2px);
    border: 1px solid rgba(201, 161, 92, 0.3);
    padding: var(--sp-3) var(--sp-4);
    clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
}
.product-card-plate .name { font-family: var(--font-display); font-size: var(--text-lg); }
.product-card-plate .from { font-size: var(--text-xs); color: var(--brass); margin-top: 2px; }
.product-card-body { padding: var(--sp-4) var(--sp-4) 0; }
.product-card-body p { color: var(--paper-dim); font-size: var(--text-sm); }
.product-card-foot { padding: var(--sp-4); margin-top: auto; }

/* ============================================================
   BOUTIQUE — fiche produit
   ============================================================ */
.product-wrap {
    padding-block: var(--sp-16);
    display: grid;
    gap: var(--sp-8);
}
@media (min-width: 900px) {
    .product-wrap { grid-template-columns: 1fr 1fr; align-items: start; }
}
.product-media { overflow: hidden; }
.product-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.product-info h1 { font-family: var(--font-display); font-size: var(--text-2xl); margin: var(--sp-3) 0; }
.product-price { font-family: var(--font-display); font-size: var(--text-xl); color: var(--rust-bright); margin-bottom: var(--sp-4); }
.product-desc { color: var(--paper-dim); margin-bottom: var(--sp-6); max-width: 52ch; }

.size-options { display: flex; gap: var(--sp-3); flex-wrap: wrap; margin-bottom: var(--sp-6); }
.size-option {
    position: relative;
    cursor: pointer;
}
.size-option input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.size-option .box {
    display: block;
    padding: var(--sp-3) var(--sp-4);
    border: 1px solid rgba(201, 161, 92, 0.3);
    background: var(--ink-raised);
    clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px);
    font-size: var(--text-sm);
    font-weight: 700;
    transition: border-color 160ms var(--ease), background 160ms var(--ease);
}
.size-option .box .dims { display: block; font-weight: 400; font-size: var(--text-xs); color: var(--paper-dim); margin-top: 2px; }
.size-option input:checked + .box { border-color: var(--rust-bright); background: rgba(177, 82, 44, 0.18); }
.size-option input:focus-visible + .box { outline: 3px solid var(--brass); outline-offset: 2px; }

.qty-row { display: flex; align-items: center; gap: var(--sp-4); margin-bottom: var(--sp-6); }
.qty-control { display: flex; align-items: center; border: 1px solid rgba(201, 161, 92, 0.3); }
.qty-control button {
    width: 40px; height: 40px;
    background: var(--ink-raised);
    border: none; color: var(--paper);
    font-size: var(--text-lg); cursor: pointer;
}
.qty-control button:hover { background: rgba(201, 161, 92, 0.15); }
.qty-control input {
    width: 48px; height: 40px; text-align: center;
    background: var(--ink); border: none; border-inline: 1px solid rgba(201, 161, 92, 0.3);
    color: var(--paper); font-size: var(--text-base);
}

/* ============================================================
   PANIER
   ============================================================ */
.cart-wrap { padding-block: var(--sp-16); display: grid; gap: var(--sp-8); }
@media (min-width: 900px) { .cart-wrap { grid-template-columns: 1.5fr 1fr; align-items: start; } }
.cart-item {
    display: grid;
    grid-template-columns: 64px 1fr;
    gap: var(--sp-3) var(--sp-4);
    padding: var(--sp-4);
    margin-bottom: var(--sp-4);
    align-items: start;
}
.cart-item img { width: 64px; height: 64px; object-fit: cover; }
.cart-item h3 { font-family: var(--font-display); font-size: var(--text-base); }
.cart-item .meta { font-size: var(--text-xs); color: var(--paper-dim); margin-top: 2px; }
.cart-item .price { font-weight: 700; color: var(--rust-bright); white-space: nowrap; grid-column: 2; }
.cart-item form { margin-top: var(--sp-2); }

@media (min-width: 560px) {
    .cart-item {
        grid-template-columns: 90px 1fr auto;
        align-items: center;
    }
    .cart-item img { width: 90px; height: 90px; }
    .cart-item .price { grid-column: auto; }
}
.cart-empty { padding: var(--sp-16); text-align: center; color: var(--paper-dim); }
.cart-summary { padding: var(--sp-6); }
.cart-summary-row { display: flex; justify-content: space-between; font-size: var(--text-sm); margin-bottom: var(--sp-3); color: var(--paper-dim); }
.cart-summary-row.total { color: var(--paper); font-weight: 700; font-size: var(--text-lg); border-top: 1px solid rgba(201, 161, 92, 0.25); padding-top: var(--sp-3); margin-top: var(--sp-3); }
.cart-summary-row.total span:last-child { color: var(--rust-bright); }
.link-remove { color: var(--danger); font-size: var(--text-xs); text-decoration: underline; background: none; border: none; cursor: pointer; padding: 0; }

/* ============================================================
   CHECKOUT / CONFIRMATION
   ============================================================ */
.order-summary-item { display: flex; justify-content: space-between; font-size: var(--text-sm); padding-block: var(--sp-2); border-bottom: 1px solid rgba(201, 161, 92, 0.15); }
.order-confirm {
    max-width: 640px;
    margin-inline: auto;
    padding: var(--sp-16) var(--sp-8);
    text-align: center;
}
.order-confirm .icon {
    width: 64px; height: 64px; margin: 0 auto var(--sp-6);
    border-radius: 50%;
    background: rgba(122, 157, 111, 0.15);
    border: 1px solid rgba(122, 157, 111, 0.4);
    display: flex; align-items: center; justify-content: center;
    font-size: 28px; color: var(--ok);
}
.order-confirm h1 { font-family: var(--font-display); font-size: var(--text-2xl); margin-bottom: var(--sp-3); }
.order-confirm p { color: var(--paper-dim); }
.order-confirm .ref { font-family: var(--font-display); color: var(--brass); font-size: var(--text-lg); margin-block: var(--sp-4); }
