/* ============================================================
   LB EPOXY — Feuille de style principale (v2 — animée)
   Thème : noir profond, or champagne, sections "pierre" claires
   ============================================================ */

/* ---------- 1. Variables ---------- */
:root {
    --black: #000000;
    --black-soft: #070707;
    --black-elev: #101010;
    --grey-700: #2a2a2a;
    --grey-500: #6b6b6b;
    --grey-300: #b8b8b8;
    --grey-100: #e9e9e9;
    --white: #ffffff;
    --white-soft: #f5f5f5;

    --accent: #d4b88a;          /* or champagne */
    --accent-deep: #8a6a3a;     /* or foncé, lisible sur fond clair */
    --stone: #e7e4de;           /* fond clair "pierre / résine" */
    --stone-ink: #161514;

    --font-serif: 'Cormorant Garamond', 'Times New Roman', serif;
    --font-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

    --max-width: 1320px;
    --section-py: 130px;
    --radius: 4px;

    --ease: cubic-bezier(0.22, 1, 0.36, 1);
    --t-fast: 0.25s;
    --t-med: 0.5s;
    --t-slow: 1s;

    --shadow-lg: 0 30px 60px -20px rgba(0, 0, 0, 0.6);
}

/* ---------- 2. Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-sans);
    font-weight: 300;
    color: var(--white-soft);
    background: var(--black);
    line-height: 1.6;
    overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--t-fast) var(--ease); }
button { font: inherit; background: none; border: 0; color: inherit; cursor: pointer; }
ul { list-style: none; }

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

::selection { background: var(--accent); color: var(--black); }

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb { background: var(--grey-700); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--grey-500); }
html { scrollbar-color: var(--grey-700) var(--black); }

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

.section {
    padding: var(--section-py) 0;
    position: relative;
    scroll-margin-top: 80px;
    overflow: hidden;
}
#hero { scroll-margin-top: 0; }

/* Barre de progression de lecture */
.scroll-progress {
    position: fixed;
    top: 0; left: 0;
    height: 2px;
    width: 100%;
    background: linear-gradient(90deg, var(--accent-deep), var(--accent), #f3e3c4);
    transform-origin: 0 50%;
    transform: scaleX(0);
    z-index: 120;
    pointer-events: none;
}

/* Halo doré qui "respire" dans les sections sombres */
.glow::before,
.glow::after {
    content: "";
    position: absolute;
    width: 620px;
    height: 620px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(212, 184, 138, 0.16) 0%, rgba(212, 184, 138, 0) 65%);
    pointer-events: none;
    z-index: 0;
    animation: drift 18s ease-in-out infinite alternate;
}
.glow::before { top: -180px; left: -200px; }
.glow::after  { bottom: -220px; right: -200px; animation-delay: -9s; }
.glow > * { position: relative; z-index: 1; }

@keyframes drift {
    0%   { transform: translate(0, 0) scale(1); }
    50%  { transform: translate(120px, 60px) scale(1.15); }
    100% { transform: translate(40px, 140px) scale(0.95); }
}

/* ---------- 4. Typographie ---------- */
h1, h2, h3, h4 {
    font-family: var(--font-serif);
    font-weight: 400;
    line-height: 1.12;
    letter-spacing: -0.01em;
    color: var(--white);
}

.eyebrow {
    display: inline-block;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: var(--grey-300);
    margin-bottom: 24px;
}

.section-title { font-size: clamp(2.5rem, 5vw, 4.2rem); margin-bottom: 24px; }

.section-subtitle {
    color: var(--grey-300);
    max-width: 620px;
    margin: 24px auto 0;
    font-size: 1.05rem;
}

.section-header { text-align: center; margin-bottom: 80px; }

/* Le trait doré se dessine quand la section apparaît */
.divider {
    width: 60px;
    height: 1px;
    background: var(--accent);
    margin: 0 auto;
    transform: scaleX(0);
    transition: transform 1.1s var(--ease) 0.25s;
}
.visible .divider, .divider.visible { transform: scaleX(1); }

.accent { font-style: italic; color: var(--accent); }

/* Reflet qui passe sur le texte doré du hero */
.shimmer {
    background: linear-gradient(110deg, var(--accent) 0%, var(--accent) 40%, #fff3dc 50%, var(--accent) 60%, var(--accent) 100%);
    background-size: 250% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmer 5s ease-in-out 1.6s infinite;
}
@keyframes shimmer {
    0%   { background-position: 100% 0; }
    60%, 100% { background-position: -50% 0; }
}

/* ---------- 5. Boutons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 18px 38px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    border-radius: var(--radius);
    position: relative;
    overflow: hidden;
    isolation: isolate;
    transition: transform var(--t-fast) var(--ease), background-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
    border: 1px solid transparent;
    white-space: nowrap;
}
.btn-sm { padding: 10px 20px; font-size: 10px; }
.btn-full { width: 100%; }

.btn-primary { background: var(--white); color: var(--black); }
.btn-primary::after {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--accent);
    transform: translateY(101%);
    transition: transform var(--t-med) var(--ease);
    z-index: -1;
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px -10px rgba(212, 184, 138, 0.45);
}
.btn-primary:hover::after { transform: translateY(0); }

.btn-ghost { background: transparent; color: var(--white); border: 1px solid rgba(255, 255, 255, 0.3); }
.btn-ghost:hover { background: var(--white); color: var(--black); border-color: var(--white); transform: translateY(-2px); }

.btn-dark { background: var(--stone-ink); color: var(--white); }
.btn-dark:hover { background: var(--accent-deep); transform: translateY(-2px); }

/* ---------- 6. Navbar ---------- */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    padding: 16px 0;
    background: rgba(0, 0, 0, 0.92);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: padding var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease), background var(--t-med) var(--ease);
}
@supports (backdrop-filter: blur(10px)) {
    .navbar { background: rgba(0, 0, 0, 0.72); backdrop-filter: blur(14px); }
}
.navbar.scrolled { padding: 10px 0; box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5); }

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    max-width: none;
    padding: 0 48px;
}

.nav-logo { display: flex; align-items: center; flex-shrink: 0; }
.nav-logo img { height: 44px; width: auto; transition: transform var(--t-fast) var(--ease); }
@media (hover: hover) { .nav-logo:hover img { transform: scale(1.05); } }

.nav-links { display: flex; align-items: center; gap: 24px; }
.nav-links a {
    font-size: 10.5px;
    font-weight: 400;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--grey-100);
    position: relative;
    padding: 4px 0;
}
.nav-links a:not(.btn)::after {
    content: '';
    position: absolute;
    left: 0; bottom: 0;
    width: 100%;
    height: 1px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform var(--t-med) var(--ease);
}
.nav-links a:not(.btn):hover,
.nav-links a.active { color: var(--white); }
.nav-links a:not(.btn):hover::after,
.nav-links a.active::after { transform: scaleX(1); transform-origin: left; }

.menu-toggle { display: none; flex-direction: column; gap: 6px; padding: 10px; z-index: 110; }
.menu-toggle span { width: 28px; height: 1.5px; background: var(--white); transition: all var(--t-fast) var(--ease); }
.menu-toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

.mobile-menu {
    position: fixed;
    inset: 0;
    height: 100vh;
    background: var(--black);
    z-index: 99;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--t-med) var(--ease);
}
.mobile-menu.open { opacity: 1; pointer-events: auto; }
.mobile-menu nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 26px;
    text-align: center;
    max-height: 100vh;
    overflow-y: auto;
    padding: 90px 0 40px;
}
.mobile-menu nav a {
    font-family: var(--font-serif);
    font-size: 1.9rem;
    color: var(--white);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity var(--t-med) var(--ease), transform var(--t-med) var(--ease), color var(--t-fast);
}
.mobile-menu.open nav a { opacity: 1; transform: none; }
.mobile-menu.open nav a:nth-child(2) { transition-delay: 0.05s; }
.mobile-menu.open nav a:nth-child(3) { transition-delay: 0.1s; }
.mobile-menu.open nav a:nth-child(4) { transition-delay: 0.15s; }
.mobile-menu.open nav a:nth-child(5) { transition-delay: 0.2s; }
.mobile-menu.open nav a:nth-child(6) { transition-delay: 0.25s; }
.mobile-menu.open nav a:nth-child(7) { transition-delay: 0.3s; }
.mobile-menu.open nav a:nth-child(8) { transition-delay: 0.35s; }
.mobile-menu nav a.btn { font-family: var(--font-sans); font-size: 13px; color: var(--black); }

/* ---------- 7. HERO : mosaïque de vrais chantiers qui défile ---------- */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    text-align: center;
    isolation: isolate;
    background: var(--black);
}

.hero-mosaic {
    position: absolute;
    inset: -10% -4%;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 14px;
    z-index: -2;
    transform: rotate(-6deg) scale(1.08);
}
.mosaic-col {
    display: flex;
    flex-direction: column;
    gap: 14px;
    animation: colUp 60s linear infinite;
    will-change: transform;
}
.mosaic-col.down { animation-name: colDown; }
.mosaic-col:nth-child(2) { animation-duration: 75s; }
.mosaic-col:nth-child(3) { animation-duration: 55s; }
.mosaic-col:nth-child(4) { animation-duration: 70s; }
.mosaic-col:nth-child(5) { animation-duration: 64s; }
.mosaic-col:nth-child(6) { animation-duration: 80s; }
.mosaic-col img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    border-radius: 3px;
    flex-shrink: 0;
}
@keyframes colUp   { from { transform: translateY(0); }    to { transform: translateY(-50%); } }
@keyframes colDown { from { transform: translateY(-50%); } to { transform: translateY(0); } }

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 50% 50%, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.82) 70%),
        linear-gradient(180deg, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0.15) 45%, rgba(0,0,0,0.95) 100%);
    z-index: -1;
}

.hero-content { position: relative; z-index: 1; padding-top: 80px; }

.hero-title {
    font-size: clamp(2.6rem, 6.8vw, 6rem);
    margin-bottom: 28px;
    letter-spacing: -0.02em;
}
/* Chaque ligne du titre monte derrière un masque */
.hero-title .line { display: block; overflow: hidden; padding-bottom: 0.08em; }
.hero-title .line > span {
    display: inline-block;
    transform: translateY(110%);
    animation: lineUp 1.2s var(--ease) forwards;
}
.hero-title .line:nth-child(2) > span { animation-delay: 0.15s; }
@keyframes lineUp { to { transform: translateY(0); } }

.hero-subtitle {
    font-size: clamp(1rem, 1.4vw, 1.15rem);
    max-width: 640px;
    margin: 0 auto 48px;
    color: var(--grey-100);
    line-height: 1.7;
}
.hero-cta { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }

.fade-in { opacity: 0; transform: translateY(30px); animation: fadeUp 1.1s var(--ease) forwards; }
.fade-in.delay-1 { animation-delay: 0.5s; }
.fade-in.delay-2 { animation-delay: 0.7s; }
.fade-in.delay-3 { animation-delay: 0.9s; }
@keyframes fadeUp { to { opacity: 1; transform: none; } }

.scroll-indicator {
    position: absolute;
    bottom: 36px;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 14px;
    display: flex;
    justify-content: center;
    padding-top: 8px;
}
.scroll-indicator span {
    display: block;
    width: 2px;
    height: 8px;
    background: var(--white);
    border-radius: 2px;
    animation: scrollDot 1.8s var(--ease) infinite;
}
@keyframes scrollDot { 0% { transform: translateY(0); opacity: 1; } 100% { transform: translateY(14px); opacity: 0; } }

/* ---------- 8. Bandeau défilant ---------- */
.marquee {
    background: var(--accent);
    color: var(--black);
    overflow: hidden;
    padding: 18px 0;
    position: relative;
    z-index: 2;
}
.marquee-track {
    display: flex;
    width: max-content;
    animation: marquee 38s linear infinite;
}
.marquee-track span {
    font-family: var(--font-serif);
    font-size: clamp(1.3rem, 2.2vw, 1.8rem);
    font-style: italic;
    white-space: nowrap;
    padding: 0 28px;
    display: inline-flex;
    align-items: center;
    gap: 56px;
}
.marquee-track span::after {
    content: "";
    width: 8px; height: 8px;
    background: var(--black);
    transform: rotate(45deg);
    display: inline-block;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- 9. Sections claires "pierre" ---------- */
.section-light { background: var(--stone); color: var(--stone-ink); }
.section-light h2, .section-light h3, .section-light h4 { color: var(--stone-ink); }
.section-light .eyebrow { color: var(--accent-deep); }
.section-light .divider { background: var(--accent-deep); }
.section-light .section-subtitle,
.section-light p { color: #4a4743; }
.section-light .accent { color: var(--accent-deep); }

/* ---------- 10. À propos ---------- */
.about-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 90px; align-items: center; }

.lead {
    font-family: var(--font-serif);
    font-size: 1.7rem;
    line-height: 1.4;
    margin-bottom: 24px;
}
.section-light .lead { color: var(--stone-ink); }
.about-text p { margin-bottom: 20px; font-size: 1.02rem; }

.values-list { margin-top: 40px; display: grid; grid-template-columns: 1fr 1fr; gap: 28px 36px; }
.values-list li { padding-top: 20px; border-top: 1px solid rgba(22, 21, 20, 0.15); }
.values-list h4 { font-size: 1.35rem; margin-bottom: 6px; }
.values-list p { font-size: 0.93rem; margin: 0; }

.about-visual { position: relative; }
.about-image {
    overflow: hidden;
    border-radius: var(--radius);
    box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.45);
}
.about-image img {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    transform: scale(1.12);
}
.about-badge {
    position: absolute;
    bottom: -34px;
    left: -34px;
    width: 160px;
    height: 160px;
    background: var(--stone-ink);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-family: var(--font-serif);
    box-shadow: var(--shadow-lg);
    animation: floaty 6s ease-in-out infinite;
}
.about-badge strong { font-size: 2.4rem; font-weight: 500; line-height: 1; color: var(--accent); }
.about-badge span { font-family: var(--font-sans); font-size: 11px; letter-spacing: 0.25em; text-transform: uppercase; margin-top: 6px; color: var(--grey-300); }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* ---------- 11. Bande de chiffres ---------- */
.stats { background: var(--black); padding: 90px 0; border-top: 1px solid rgba(255,255,255,0.06); border-bottom: 1px solid rgba(255,255,255,0.06); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; text-align: center; }
.stat strong {
    display: block;
    font-family: var(--font-serif);
    font-weight: 400;
    font-size: clamp(3rem, 6vw, 4.8rem);
    line-height: 1;
    color: var(--white);
}
.stat strong em { font-style: normal; color: var(--accent); }
.stat-label { display: block; margin-top: 12px; color: var(--grey-300); font-size: 0.95rem; }

/* ---------- 12. Services ---------- */
.services { background: var(--black); isolation: isolate; }

/* Fond photo avec parallaxe (calque) */
.parallax-bg {
    position: absolute;
    inset: -15% 0;
    background-size: cover;
    background-position: center;
    z-index: -2;
    will-change: transform;
}
.parallax-veil { position: absolute; inset: 0; z-index: -1; }
.services .parallax-veil {
    background:
        radial-gradient(circle at 50% 40%, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0.75) 100%),
        linear-gradient(180deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.35) 40%, rgba(0,0,0,0.85) 100%);
}
.realisations { isolation: isolate; }
.realisations .parallax-veil { background: linear-gradient(180deg, rgba(7,7,7,0.95) 0%, rgba(7,7,7,0.85) 50%, rgba(7,7,7,0.95) 100%); }
.q-note { font-size: 0.82rem; color: #8a857d; margin-top: 8px; font-style: italic; }

.products-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-bottom: 110px; }

.product-card {
    position: relative;
    background: rgba(10, 10, 10, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform var(--t-med) var(--ease), border-color var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease);
}
@media (hover: hover) {
    .product-card:hover {
        transform: translateY(-8px);
        border-color: rgba(212, 184, 138, 0.5);
        box-shadow: 0 35px 70px -20px rgba(0, 0, 0, 0.85);
    }
}

.product-image { position: relative; overflow: hidden; aspect-ratio: 4 / 3; background: var(--black); }
.product-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.product-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0) 50%, rgba(0,0,0,0.6) 100%);
    pointer-events: none;
}
/* Reflet de lumière qui balaie la photo au survol (effet résine brillante) */
.shine::before {
    content: "";
    position: absolute;
    top: 0; left: -75%;
    width: 50%; height: 100%;
    background: linear-gradient(100deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.28) 50%, rgba(255,255,255,0) 100%);
    transform: skewX(-20deg);
    z-index: 2;
    pointer-events: none;
}
@media (hover: hover) {
    .product-card:hover .product-image img { transform: scale(1.08); }
    .product-card:hover .shine::before,
    .gallery-item:hover .shine::before,
    .creation:hover .shine::before { animation: shine 0.9s var(--ease); }
}
@keyframes shine { to { left: 125%; } }

.product-body { padding: 36px 32px 32px; display: flex; flex-direction: column; flex-grow: 1; }
.product-number {
    display: block;
    font-family: var(--font-serif);
    font-style: italic;
    color: var(--accent);
    font-size: 1rem;
    margin-bottom: 12px;
}
.product-body h3 { font-size: 1.75rem; margin-bottom: 18px; }
.product-body > p { color: var(--grey-300); font-size: 0.95rem; line-height: 1.7; margin-bottom: 22px; }
.product-features { margin-bottom: 28px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, 0.08); }
.product-features li { position: relative; padding: 8px 0 8px 24px; color: var(--grey-100); font-size: 0.92rem; }
.product-features li::before { content: ""; position: absolute; left: 0; top: 18px; width: 12px; height: 1px; background: var(--accent); }

.product-link {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--white);
    font-size: 12px;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    padding-top: 8px;
}
.product-link svg { width: 18px; height: 18px; transition: transform var(--t-fast) var(--ease); }
.product-link:hover { color: var(--accent); }
.product-link:hover svg { transform: translateX(6px); }

.process-block { text-align: center; margin-bottom: 56px; }
.process-block .eyebrow { margin-bottom: 16px; }
.process-title { font-size: clamp(1.8rem, 3vw, 2.5rem); margin-bottom: 20px; }

.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }

.service-card {
    position: relative;
    background: rgba(10, 10, 10, 0.85);
    padding: 46px 34px;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform var(--t-med) var(--ease), border-color var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease);
}
/* Liseré doré qui se dessine en bas de la carte au survol */
.service-card::after {
    content: '';
    position: absolute;
    left: 0; bottom: 0;
    width: 100%; height: 2px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--t-med) var(--ease);
}
@media (hover: hover) {
    .service-card:hover { transform: translateY(-6px); border-color: rgba(212, 184, 138, 0.35); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.8); }
    .service-card:hover::after { transform: scaleX(1); }
    .service-card:hover .service-icon { color: var(--accent); transform: translateY(-3px) rotate(-4deg); }
}

.service-number { font-family: var(--font-serif); font-size: 1rem; font-style: italic; color: var(--accent); margin-bottom: 26px; }
.service-icon { width: 46px; height: 46px; margin-bottom: 26px; color: var(--white); transition: all var(--t-med) var(--ease); }
.service-icon svg { width: 100%; height: 100%; }
.service-card h3 { font-size: 1.5rem; margin-bottom: 14px; }
.service-card p { color: var(--grey-300); font-size: 0.95rem; line-height: 1.6; }

/* ---------- 13. Réalisations (galerie filtrable) ---------- */
.realisations { background: var(--black-soft); }

.filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin: -30px 0 48px;
}
.filter-btn {
    padding: 11px 24px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    font-size: 12px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--grey-100);
    transition: all var(--t-fast) var(--ease);
}
.filter-btn:hover { border-color: var(--accent); color: var(--white); }
.filter-btn.active { background: var(--accent); border-color: var(--accent); color: var(--black); }
.filter-btn small { opacity: 0.6; margin-left: 6px; font-size: 11px; }

.gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 300px;
    grid-auto-flow: dense;
    gap: 14px;
}
.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    cursor: zoom-in;
    background: var(--black-elev);
    transition: opacity 0.45s var(--ease), transform 0.45s var(--ease);
}
.gallery-item.tall { grid-row: span 2; }
.gallery-item.wide { grid-column: span 2; }
.gallery-item.big  { grid-column: span 2; grid-row: span 2; }
.gallery-item.is-hidden { display: none; }
.gallery-item.is-leaving { opacity: 0; transform: scale(0.94); }

.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.gallery-item figcaption {
    position: absolute;
    inset: auto 0 0 0;
    padding: 60px 22px 20px;
    background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.85) 100%);
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 12px;
    transform: translateY(12px);
    opacity: 0;
    transition: all var(--t-med) var(--ease);
}
.gallery-item h4 { font-size: 1.25rem; }
.gallery-item .tag { font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--accent); white-space: nowrap; }
@media (hover: hover) {
    .gallery-item:hover img { transform: scale(1.07); }
    .gallery-item:hover figcaption, .gallery-item:focus-visible figcaption { opacity: 1; transform: none; }
}
@media (hover: none) { .gallery-item figcaption { opacity: 1; transform: none; } }

/* ---------- 14. Bloc mobilier (accueil) ---------- */
.mobilier-teaser .teaser-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}
.teaser-media { position: relative; height: 560px; }
.teaser-media figure { position: absolute; overflow: hidden; border-radius: var(--radius); box-shadow: 0 40px 80px -30px rgba(0,0,0,0.5); }
.teaser-media figure img { width: 100%; height: 100%; object-fit: cover; }
.teaser-media .m1 { top: 0; left: 0; width: 72%; height: 70%; }
.teaser-media .m2 { bottom: 0; right: 0; width: 46%; height: 62%; border: 8px solid var(--stone); }
.teaser-text .lead { margin-bottom: 20px; }
.teaser-list { margin: 26px 0 36px; display: flex; flex-wrap: wrap; gap: 10px; }
.teaser-list li {
    padding: 8px 16px;
    border: 1px solid rgba(22, 21, 20, 0.2);
    border-radius: 999px;
    font-size: 0.88rem;
    color: var(--stone-ink);
}

/* ---------- 15. Surfaces ---------- */
.surfaces { background: var(--black); isolation: isolate; }
.surfaces .parallax-veil {
    background:
        radial-gradient(circle at 50% 50%, rgba(0,0,0,0.72) 0%, rgba(0,0,0,0.9) 100%);
}

/* ---------- 16. Pigmentation ---------- */
.pigmentation { background: var(--black-soft); }
.pigmentation-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; }
.pigmentation-item { cursor: zoom-in; }
.pigmentation-image {
    overflow: hidden;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255, 255, 255, 0.08);
}
.pigmentation-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
@media (hover: hover) { .pigmentation-item:hover .pigmentation-image img { transform: scale(1.04); } }
.pigmentation-item figcaption { padding-top: 22px; text-align: center; }
.pigmentation-item h4 { font-size: 1.45rem; margin-bottom: 8px; }
.pigmentation-item figcaption p { color: var(--grey-300); font-size: 0.92rem; }

/* ---------- 17. Contact ---------- */
.contact { background: var(--black); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 80px; align-items: start; }
.contact-info h3, .contact-form h3 { font-size: 1.8rem; margin-bottom: 32px; }

.contact-line {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 18px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: all var(--t-fast) var(--ease);
    color: var(--grey-100);
}
.contact-line:hover { color: var(--white); padding-left: 8px; }
.contact-line:hover .ic { background: var(--accent); border-color: var(--accent); color: var(--black); }
.contact-line.big span:last-child { font-family: var(--font-serif); font-size: 1.6rem; color: var(--white); }

.contact-area { display: flex; align-items: center; gap: 18px; padding: 24px 0 8px; color: var(--grey-300); font-size: 0.95rem; }

.ic {
    width: 42px; height: 42px; min-width: 42px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.15);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all var(--t-fast) var(--ease);
    color: var(--white);
}
.ic svg { width: 18px; height: 18px; }

.contact-buttons { display: flex; gap: 12px; margin-top: 32px; flex-wrap: wrap; }

.contact-form {
    background: var(--black-elev);
    padding: 48px;
    border-radius: var(--radius);
    border: 1px solid rgba(255, 255, 255, 0.07);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { position: relative; margin-bottom: 22px; }
.field input, .field textarea, .field select {
    width: 100%;
    background: transparent;
    border: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    padding: 18px 0 10px;
    color: var(--white);
    font-family: var(--font-sans);
    font-size: 0.95rem;
    transition: border-color var(--t-fast) var(--ease);
    outline: none;
    border-radius: 0;
    appearance: none;
    -webkit-appearance: none;
}
.field textarea { resize: vertical; min-height: 120px; }
.field select { cursor: pointer; }
.field select option { background: var(--black-elev); color: var(--white); }
.field label {
    position: absolute;
    top: 18px; left: 0;
    font-size: 0.95rem;
    color: var(--grey-500);
    pointer-events: none;
    transition: all var(--t-fast) var(--ease);
}
.field input:focus, .field textarea:focus, .field select:focus { border-bottom-color: var(--accent); }
.field input:focus + label,
.field textarea:focus + label,
.field select:focus + label,
.field select:valid + label,
.field.filled label {
    top: -4px;
    font-size: 11px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent);
}
.form-feedback { margin-top: 16px; font-size: 0.9rem; color: var(--accent); min-height: 1.2em; }

/* ---------- 18. Footer ---------- */
.footer { background: var(--black); border-top: 1px solid rgba(255, 255, 255, 0.06); padding: 80px 0 30px; }
.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.footer-brand img { height: 80px; width: auto; margin-bottom: 20px; }
.footer-brand p { color: var(--grey-300); font-size: 0.92rem; max-width: 320px; }
.footer-col h4 {
    font-family: var(--font-sans);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    margin-bottom: 22px;
}
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul li a { color: var(--grey-300); font-size: 0.92rem; transition: all var(--t-fast) var(--ease); }
.footer-col ul li a:hover { color: var(--accent); padding-left: 6px; }

.socials { display: flex; gap: 12px; }
.socials a {
    width: 40px; height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all var(--t-fast) var(--ease);
}
.socials a svg { width: 16px; height: 16px; }
.socials a:hover { background: var(--white); color: var(--black); border-color: var(--white); transform: translateY(-3px); }

.footer-bottom {
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    color: var(--grey-500);
    font-size: 0.85rem;
}

/* ---------- 19. Lightbox ---------- */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.94);
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--t-med) var(--ease), visibility var(--t-med);
    padding: 40px;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox-content { max-width: min(90vw, 1100px); max-height: 88vh; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.lightbox-content img {
    max-width: 100%;
    max-height: 78vh;
    width: auto;
    object-fit: contain;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    transform: scale(0.96);
    opacity: 0;
    transition: transform 0.5s var(--ease), opacity 0.4s var(--ease);
}
.lightbox.open .lightbox-content img.loaded { transform: none; opacity: 1; }
.lightbox-caption { font-family: var(--font-serif); font-size: 1.3rem; color: var(--white); text-align: center; }
.lightbox-count { font-size: 12px; letter-spacing: 0.2em; color: var(--grey-300); }
.lightbox-close, .lightbox-nav {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: all var(--t-fast) var(--ease);
}
.lightbox-close { top: 24px; right: 24px; width: 46px; height: 46px; }
.lightbox-nav { top: 50%; transform: translateY(-50%); width: 52px; height: 52px; }
.lightbox-close:hover, .lightbox-nav:hover { background: var(--white); color: var(--black); border-color: var(--white); }
.lightbox-close svg { width: 20px; height: 20px; }
.lightbox-nav svg { width: 22px; height: 22px; }
.lightbox-prev { left: 24px; }
.lightbox-next { right: 24px; }
.lightbox-nav.hidden { display: none; }

/* ---------- 20. Animations d'apparition au scroll ---------- */
.reveal, .reveal-left, .reveal-right, .reveal-zoom {
    opacity: 0;
    transition: opacity 1s var(--ease), transform 1s var(--ease);
    transition-delay: var(--d, 0s);
}
.reveal       { transform: translateY(50px); }
.reveal-left  { transform: translateX(-70px); }
.reveal-right { transform: translateX(70px); }
.reveal-zoom  { transform: scale(0.9); }
.reveal.visible, .reveal-left.visible, .reveal-right.visible, .reveal-zoom.visible { opacity: 1; transform: none; }

/* Photo dévoilée comme un rideau qui s'ouvre */
.reveal-img { clip-path: inset(0 0 100% 0); transition: clip-path 1.3s var(--ease); transition-delay: var(--d, 0s); }
.reveal-img img { transform: scale(1.25); transition: transform 1.8s var(--ease); transition-delay: var(--d, 0s); }
.reveal-img.visible { clip-path: inset(0 0 0 0); }
.reveal-img.visible img { transform: scale(1); }
.about-image.reveal-img img, .about-image.reveal-img.visible img { transform: scale(1.12); transition: none; } /* la parallaxe pilote l'image */
.shine { position: relative; overflow: hidden; }

/* ---------- 21. PAGE MOBILIER ---------- */
.page-hero {
    position: relative;
    min-height: 92vh;
    display: flex;
    align-items: flex-end;
    padding: 160px 0 110px;
    overflow: hidden;
    isolation: isolate;
}
.page-hero .parallax-bg { inset: -10% 0; }
.page-hero .parallax-veil {
    background: linear-gradient(180deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.2) 40%, rgba(0,0,0,0.92) 100%),
                linear-gradient(90deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0) 70%);
}
.page-hero .hero-title { text-align: left; }
.page-hero-content { max-width: 760px; }
.page-hero .hero-subtitle { margin: 0 0 40px; text-align: left; }
.page-hero .hero-cta { justify-content: flex-start; }
.breadcrumb { font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--grey-300); margin-bottom: 26px; }
.breadcrumb a:hover { color: var(--accent); }

.creations {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}
.creation {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    cursor: zoom-in;
    background: var(--black-elev);
    height: 560px;
}
.creation .img-wrap { position: relative; overflow: hidden; height: 100%; }
.creation img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
@media (hover: hover) { .creation:hover img { transform: scale(1.06); } }
.creation figcaption {
    position: absolute;
    inset: auto 0 0 0;
    padding: 80px 28px 26px;
    background: linear-gradient(180deg, transparent, rgba(0,0,0,0.88));
}
.creation h3 { font-size: 1.7rem; margin-bottom: 4px; }
.creation p { color: var(--grey-300); font-size: 0.92rem; }

.make-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(22,21,20,0.15); border: 1px solid rgba(22,21,20,0.15); }
.make-item { background: var(--stone); padding: 40px 34px; transition: background var(--t-med) var(--ease); }
.make-item:hover { background: #dcd7cf; }
.make-item h3 { font-size: 1.55rem; margin-bottom: 10px; }
.make-item p { font-size: 0.95rem; }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.step { position: relative; padding-top: 34px; border-top: 1px solid rgba(255,255,255,0.12); }
.step::before {
    content: "";
    position: absolute;
    top: -1px; left: 0;
    height: 1px; width: 100%;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 1.2s var(--ease);
    transition-delay: var(--d, 0s);
}
.step.visible::before { transform: scaleX(1); }
.step .service-number { margin-bottom: 14px; }
.step h3 { font-size: 1.5rem; margin-bottom: 10px; }
.step p { color: var(--grey-300); font-size: 0.95rem; }

.cta-band { text-align: center; }
.cta-band .section-title { max-width: 820px; margin-left: auto; margin-right: auto; }
.cta-band .hero-cta { margin-top: 40px; }

/* ---------- 22. Responsive ---------- */
@media (max-width: 1180px) {
    .nav-links { display: none; }
    .menu-toggle { display: flex; }
}

@media (max-width: 1024px) {
    :root { --section-py: 100px; }
    .creations { grid-template-columns: 1fr 1fr; }
    .about-grid, .contact-grid, .mobilier-teaser .teaser-grid { grid-template-columns: 1fr; gap: 70px; }
    .about-badge { width: 130px; height: 130px; bottom: -20px; left: -10px; }
    .about-badge strong { font-size: 1.8rem; }
    .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 280px; }
    .gallery-item.big { grid-column: span 2; }
    .products-grid { grid-template-columns: 1fr; max-width: 620px; margin-left: auto; margin-right: auto; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 50px 24px; }
    .hero-mosaic { grid-template-columns: repeat(4, 1fr); }
    .hero-mosaic .mosaic-col:nth-child(n+5) { display: none; }
    .make-grid { grid-template-columns: repeat(2, 1fr); }
    .steps { grid-template-columns: repeat(2, 1fr); gap: 40px 24px; }
    .creation { height: 460px; }
}

@media (max-width: 768px) {
    :root { --section-py: 76px; }
    .container { padding: 0 20px; }
    .nav-container { padding: 0 20px; }
    .nav-logo img { height: 38px; }

    .hero-mosaic { grid-template-columns: repeat(3, 1fr); gap: 10px; inset: -10% -25%; }
    .hero-mosaic .mosaic-col:nth-child(n+4) { display: none; }
    .mosaic-col { gap: 10px; }
    .hero-title { font-size: clamp(2.3rem, 10vw, 3.2rem); }
    .hero-cta .btn { padding: 16px 28px; font-size: 12px; }

    .section-header { margin-bottom: 56px; }
    .section-title { font-size: clamp(2.1rem, 8vw, 2.7rem); }
    .lead { font-size: 1.35rem; }
    .values-list { grid-template-columns: 1fr; gap: 20px; }

    .stats { padding: 70px 0; }

    .products-grid { gap: 24px; margin-bottom: 80px; }
    .product-body { padding: 28px 24px; }
    .services-grid { grid-template-columns: 1fr; }
    .surfaces .services-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
    .surfaces .service-card { padding: 24px 16px; }
    .surfaces .service-card h3 { font-size: 1.15rem; }
    .surfaces .service-card p { font-size: 0.84rem; }
    .surfaces .service-icon { width: 34px; height: 34px; margin-bottom: 16px; }
    .service-card { padding: 34px 26px; }

    .filters { margin-top: -20px; gap: 8px; }
    .filter-btn { padding: 9px 16px; font-size: 11px; }
    .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 210px; gap: 10px; }
    .gallery-item.wide, .gallery-item.big { grid-column: span 2; }
    .gallery-item h4 { font-size: 1rem; }
    .gallery-item .tag { display: none; }
    .gallery-item figcaption { padding: 40px 14px 12px; }

    .teaser-media { height: 420px; }

    .pigmentation-grid { grid-template-columns: 1fr; gap: 32px; }
    .contact-form { padding: 32px 22px; }
    .form-row { grid-template-columns: 1fr; }

    .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
    .footer-brand { grid-column: span 2; }
    .footer-bottom { flex-direction: column; text-align: center; }

    .lightbox { padding: 16px; }
    .lightbox-nav { width: 42px; height: 42px; top: auto; bottom: 22px; transform: none; }
    .lightbox-prev { left: calc(50% - 56px); }
    .lightbox-next { right: calc(50% - 56px); }
    .lightbox-close { width: 40px; height: 40px; top: 16px; right: 16px; }

    /* Sur mobile : déplacements latéraux réduits (pas de débordement horizontal) */
    .reveal-left, .reveal-right { transform: translateY(40px); }

    .page-hero { min-height: 86vh; padding: 130px 0 70px; }
    .make-grid { grid-template-columns: 1fr; }
    .creations { grid-template-columns: 1fr; }
    .creation { height: 420px; }
    .steps { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .hero-cta { flex-direction: column; align-items: stretch; }
    .hero-cta .btn { width: 100%; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-brand { grid-column: span 1; }
    .about-badge { width: 110px; height: 110px; left: 0; bottom: -14px; }
    .about-badge strong { font-size: 1.5rem; }
    .stat strong { font-size: 2.8rem; }
}


/* ============================================================
   v2.1 — ajouts
   ============================================================ */

/* Services : plus de marge sous les cartes (la démarche est désormais à part) */
.services .products-grid { margin-bottom: 0; }

/* Pigments dans les légendes */
.pigment { font-size: 0.82rem; color: var(--grey-100); margin-top: 4px; line-height: 1.4; }
.pigment span {
    font-size: 10px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--accent);
    margin-right: 6px;
}
.gallery-item figcaption > div { min-width: 0; }

/* ---------- Démarche : frise horizontale claire ---------- */
.timeline {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    position: relative;
    counter-reset: none;
}
/* ligne qui relie les étapes et se trace au scroll */
.timeline::before {
    content: "";
    position: absolute;
    top: 38px; left: 0; right: 0;
    height: 1px;
    background: rgba(22, 21, 20, 0.15);
}
.timeline::after {
    content: "";
    position: absolute;
    top: 38px; left: 0; right: 0;
    height: 1px;
    background: var(--accent-deep);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 2s var(--ease) 0.2s;
}
.timeline.visible::after { transform: scaleX(1); }
.tl-step { position: relative; padding-top: 0; }
.tl-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 76px; height: 76px;
    border-radius: 50%;
    background: var(--stone);
    border: 1px solid var(--accent-deep);
    font-family: var(--font-serif);
    font-size: 1.7rem;
    font-style: italic;
    color: var(--accent-deep);
    position: relative;
    z-index: 1;
    margin-bottom: 26px;
    transition: background var(--t-med) var(--ease), color var(--t-med) var(--ease), transform var(--t-med) var(--ease);
}
.tl-step:hover .tl-num { background: var(--stone-ink); color: var(--accent); transform: translateY(-4px); }
.tl-step h3 { font-size: 1.5rem; margin-bottom: 10px; }
.tl-step p { font-size: 0.95rem; max-width: 260px; }

/* ---------- Polyvalence : tuiles photo ---------- */
.surfaces { background: var(--black-soft); isolation: isolate; }
.surfaces .parallax-veil { background: linear-gradient(180deg, rgba(7,7,7,0.96) 0%, rgba(7,7,7,0.84) 50%, rgba(7,7,7,0.96) 100%); }

/* Frise sombre (supports) */
.timeline-dark::before { background: rgba(255, 255, 255, 0.12); }
.timeline-dark::after { background: var(--accent); }
.timeline-dark .tl-num { background: var(--black-soft); border-color: var(--accent); color: var(--accent); }
.timeline-dark .tl-num svg { width: 30px; height: 30px; }
.timeline-dark .tl-step:hover .tl-num { background: var(--accent); color: var(--black); }
.timeline-dark .tl-step p { color: var(--grey-300); }
.spaces { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.space-tile {
    position: relative;
    height: 420px;
    border-radius: var(--radius);
    overflow: hidden;
    isolation: isolate;
}
.space-tile img {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    z-index: -2;
    transition: transform 0.9s var(--ease);
}
.space-tile::after {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.05) 30%, rgba(0,0,0,0.88) 100%);
    z-index: -1;
}
.space-txt { position: absolute; left: 0; right: 0; bottom: 0; padding: 24px 22px; }
.space-txt h3 { font-size: 1.5rem; margin-bottom: 6px; }
.space-txt p { color: var(--grey-100); font-size: 0.9rem; line-height: 1.5; }
@media (hover: hover) { .space-tile:hover img { transform: scale(1.07); } }

.space-more {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin: 30px 0 100px;
}
.space-more li {
    padding: 9px 18px;
    border: 1px solid rgba(212, 184, 138, 0.35);
    border-radius: 999px;
    font-size: 0.88rem;
    color: var(--grey-100);
}

.supports {
    background: var(--stone);
    color: var(--stone-ink);
    border-radius: var(--radius);
    padding: 48px 48px 40px;
}
.supports-title { color: var(--stone-ink); font-size: clamp(1.7rem, 3vw, 2.3rem); margin-bottom: 30px; }
.supports-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.supports-list li { display: flex; gap: 14px; align-items: flex-start; }
.supports-list svg { width: 34px; height: 34px; flex-shrink: 0; color: var(--accent-deep); }
.supports-list h4 { color: var(--stone-ink); font-size: 1.2rem; margin-bottom: 4px; }
.supports-list p { color: #4a4743; font-size: 0.88rem; line-height: 1.5; }

/* ---------- Pigmentation : photo de fond discrète ---------- */
.pigmentation { isolation: isolate; }
.pigmentation .parallax-veil {
    background:
        linear-gradient(180deg, rgba(7,7,7,0.96) 0%, rgba(7,7,7,0.82) 50%, rgba(7,7,7,0.96) 100%);
}

/* ---------- Mobilier accueil : 3e photo ---------- */
.teaser-media { height: 620px; }
.teaser-media .m1 { top: 0; left: 0; width: 58%; height: 50%; }
.teaser-media .m4 { top: 4%; right: 0; width: 38%; height: 54%; border: 8px solid var(--stone); }
.teaser-media .m3 { bottom: 0; left: 0; width: 52%; height: 44%; border: 8px solid var(--stone); }
.teaser-media .m2 { bottom: 0; right: 4%; width: 40%; height: 40%; }

/* ---------- Formulaire devis en 3 étapes ---------- */
.quote-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 14px; }
.quote-head h3 { margin-bottom: 0 !important; }
.quote-step-label { font-size: 12px; letter-spacing: 0.12em; color: var(--grey-300); white-space: nowrap; }
.quote-progress { height: 2px; background: rgba(255,255,255,0.1); margin-bottom: 30px; overflow: hidden; }
.quote-progress span {
    display: block; height: 100%;
    background: var(--accent);
    transform-origin: left;
    transform: scaleX(0.33);
    transition: transform 0.6s var(--ease);
}
.q-step { border: 0; display: none; min-width: 0; margin: 0; padding: 0; }
.contact-grid > * { min-width: 0; }
.q-step.active { display: block; animation: stepIn 0.5s var(--ease); }
@keyframes stepIn { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: none; } }
.q-legend { font-family: var(--font-serif); font-size: 1.5rem; color: var(--white); margin-bottom: 18px; }
.q-label { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--grey-300); margin: 18px 0 10px; }

.q-branch { display: none; }
.q-branch.open { display: block; animation: stepIn 0.4s var(--ease); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span {
    display: inline-block;
    padding: 10px 18px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    font-size: 0.9rem;
    color: var(--grey-100);
    transition: all var(--t-fast) var(--ease);
    user-select: none;
}
.chip:hover span { border-color: var(--accent); color: var(--white); }
.chip input:checked + span { background: var(--accent); border-color: var(--accent); color: var(--black); font-weight: 500; }
.chip input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.chips.shake { animation: shake 0.4s; }
@keyframes shake { 25% { transform: translateX(-6px); } 50% { transform: translateX(6px); } 75% { transform: translateX(-3px); } }

.q-step .field { margin-top: 18px; }
.q-summary { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 6px; font-size: 0.85rem; color: var(--grey-300); }
.q-summary b { font-weight: 500; color: var(--accent); margin-right: 4px; }

.q-nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 30px; }
.q-nav .btn-primary { margin-left: auto; }

/* ---------- Responsive des ajouts ---------- */
@media (max-width: 1024px) {
    .timeline { grid-template-columns: repeat(2, 1fr); gap: 44px 28px; }
    .timeline::before, .timeline::after { display: none; }
    .spaces { grid-template-columns: repeat(2, 1fr); }
    .space-tile { height: 340px; }
    .supports-list { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .timeline { grid-template-columns: 1fr; gap: 0; }
    .tl-step { display: grid; grid-template-columns: 56px 1fr; column-gap: 18px; padding-bottom: 28px; position: relative; }
    .tl-step::before {
        content: ""; position: absolute; left: 27px; top: 56px; bottom: 0; width: 1px;
        background: rgba(138, 106, 58, 0.4);
    }
    .tl-step:last-child::before { display: none; }
    .tl-num { width: 56px; height: 56px; font-size: 1.3rem; margin-bottom: 0; grid-row: span 2; }
    .tl-step h3 { font-size: 1.3rem; align-self: center; margin-bottom: 4px; }
    .tl-step p { grid-column: 2; }

    .spaces { gap: 10px; }
    .space-tile { height: 240px; }
    .space-txt { padding: 14px 12px; }
    .space-txt h3 { font-size: 1.1rem; }
    .space-txt p { display: none; }
    .space-more { margin: 22px 0 60px; gap: 8px; }
    .timeline-dark .tl-num svg { width: 24px; height: 24px; }
    .timeline-dark .tl-step::before { background: rgba(212, 184, 138, 0.35); }
    .space-more li { font-size: 0.8rem; padding: 7px 14px; }
    .supports { padding: 30px 22px; }
    .supports-list { grid-template-columns: 1fr; gap: 20px; }

    .teaser-media { height: 460px; }
    .teaser-media .m3, .teaser-media .m2, .teaser-media .m4 { border-width: 5px; }

    .chip span { padding: 9px 14px; font-size: 0.85rem; }
    .quote-head { flex-direction: column; gap: 4px; }
    .pigment { font-size: 0.75rem; }

    /* Mobile : animations de fond figées pour rester fluide */
    .glow::before, .glow::after { animation: none; }
}

/* ---------- 23. Mouvement réduit ---------- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        transition-delay: 0s !important;
    }
    .mosaic-col, .marquee-track { animation: none !important; }
    .reveal, .reveal-left, .reveal-right, .reveal-zoom { opacity: 1; transform: none; }
    .reveal-img { clip-path: none; }
    .divider { transform: none; }
}


/* ============================================================
   v2.2 — Finition commune + Contact clair
   ============================================================ */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Arc Métallique + Monochrome ---------- */
.finish-link { position: relative; margin-top: 0; height: 150px; }
.finish-arc { position: absolute; top: 0; left: 0; width: 100%; height: 110px; overflow: visible; }
.finish-arc path {
    fill: none;
    stroke: var(--accent);
    stroke-width: 1.2;
    vector-effect: non-scaling-stroke;
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
    transition: stroke-dashoffset 1.6s var(--ease) 0.3s;
}
.finish-arc circle { fill: var(--accent); }
.finish-link.visible .finish-arc path { stroke-dashoffset: 0; }
.finish-badge {
    position: absolute;
    left: 50%;
    top: 92px;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 12px 26px;
    background: rgba(0, 0, 0, 0.85);
    border: 1px solid var(--accent);
    border-radius: 999px;
    white-space: nowrap;
    box-shadow: 0 0 40px rgba(212, 184, 138, 0.18);
}
.finish-for { font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--accent); }
.finish-badge strong { font-family: var(--font-serif); font-weight: 400; font-size: 1.2rem; color: var(--white); }

/* ---------- Contact clair ---------- */
.contact.section-light { background: var(--stone); }
.contact-grid { grid-template-columns: 0.85fr 1.15fr; gap: 40px; align-items: stretch; }

.contact-card {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    isolation: isolate;
    color: var(--white);
    min-height: 560px;
    display: flex;
    box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.6);
}
.contact-card-bg { inset: 0; z-index: -2; }
.contact-card::after {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(160deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.88) 70%);
    z-index: -1;
}
.contact-card-inner { padding: 44px 40px; display: flex; flex-direction: column; justify-content: flex-end; width: 100%; }
.section-light .contact-card h3 { color: var(--white); font-size: 1.6rem; margin-bottom: 6px; }
.contact-phone {
    font-family: var(--font-serif);
    font-size: clamp(2.2rem, 3.6vw, 3rem);
    color: var(--accent);
    line-height: 1.1;
    margin-bottom: 18px;
    letter-spacing: 0.01em;
}
.contact-phone:hover { color: var(--white); }
.section-light .contact-card .contact-line,
.section-light .contact-card .contact-area { color: var(--grey-100); border-color: rgba(255,255,255,0.12); }
.section-light .contact-card .contact-area span,
.section-light .contact-card p { color: var(--grey-100); }
.contact-card .contact-area { padding-top: 16px; }
.contact-promise { margin: 26px 0 30px; display: grid; gap: 10px; }
.contact-promise li { position: relative; padding-left: 26px; font-size: 0.93rem; color: var(--grey-100); }
.contact-promise li::before {
    content: "";
    position: absolute; left: 0; top: 7px;
    width: 12px; height: 7px;
    border-left: 1.5px solid var(--accent);
    border-bottom: 1.5px solid var(--accent);
    transform: rotate(-45deg);
}

/* Carte formulaire blanche */
.section-light .contact-form {
    background: #ffffff;
    border: 0;
    box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.35);
    padding: 40px 44px;
}
.section-light .contact-form .q-legend { color: var(--stone-ink); font-size: 1.7rem; }
.section-light .q-label { color: #6f6a63; }
.section-light .field input, .section-light .field textarea { color: var(--stone-ink); border-bottom-color: rgba(22,21,20,0.2); }
.section-light .field label { color: #8a857d; }
.section-light .field input:focus, .section-light .field textarea:focus { border-bottom-color: var(--accent-deep); }
.section-light .field input:focus + label,
.section-light .field textarea:focus + label,
.section-light .field.filled label { color: var(--accent-deep); }

/* Étapes numérotées */
.q-steps { list-style: none; display: flex; gap: 8px; margin-bottom: 30px; counter-reset: none; }
.q-steps li {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #9a958d;
    padding-bottom: 12px;
    border-bottom: 2px solid #ece8e1;
    transition: color var(--t-med), border-color var(--t-med);
}
.q-steps li span {
    width: 26px; height: 26px;
    border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    border: 1px solid currentColor;
    font-size: 12px; letter-spacing: 0;
    transition: all var(--t-med) var(--ease);
}
.q-steps li.active { color: var(--stone-ink); border-color: var(--accent-deep); }
.q-steps li.active span { background: var(--stone-ink); border-color: var(--stone-ink); color: var(--accent); }
.q-steps li.done { color: var(--accent-deep); border-color: var(--accent); }
.q-steps li.done span { background: var(--accent); border-color: var(--accent); color: var(--black); }

/* Pastilles en clair */
.section-light .chip span { border-color: rgba(22,21,20,0.18); color: var(--stone-ink); background: #fff; }
.section-light .chip:hover span { border-color: var(--accent-deep); color: var(--stone-ink); }
.section-light .chip input:checked + span { background: var(--stone-ink); border-color: var(--stone-ink); color: var(--white); }

/* Choix avec photo */
.chips-thumb { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 10px; }
.chip-thumb { display: block; }
.section-light .chip-thumb span,
.chip-thumb span {
    display: flex;
    flex-direction: column;
    padding: 0;
    border-radius: 6px;
    overflow: hidden;
    height: 100%;
    background: #fff;
}
.chip-thumb img, .chip-thumb i {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    font-style: normal;
    font-family: var(--font-serif);
    font-size: 2rem;
    color: var(--accent-deep);
    background: var(--stone);
    transition: transform 0.5s var(--ease), filter 0.3s;
    filter: saturate(0.85);
}
.chip-thumb em { font-style: normal; padding: 9px 10px; font-size: 0.86rem; text-align: center; }
.chip-thumb:hover img { transform: scale(1.06); filter: none; }
.section-light .chip-thumb input:checked + span {
    background: var(--stone-ink);
    color: var(--white);
    box-shadow: 0 0 0 2px var(--accent);
}
.chip-thumb input:checked + span img { filter: none; }
/* "Vous souhaitez" : deux grandes cartes */
.q-step[data-step="1"] > .chips-thumb { grid-template-columns: 1fr 1fr; }
.q-step[data-step="1"] > .chips-thumb .chip-thumb img { aspect-ratio: 16 / 9; }
.q-step[data-step="1"] > .chips-thumb em { font-size: 0.98rem; padding: 12px; }

.section-light .q-summary { color: #6f6a63; }
.section-light .q-summary b { color: var(--accent-deep); }
.section-light .q-nav .btn-ghost { color: var(--stone-ink); border-color: rgba(22,21,20,0.25); }
.section-light .q-nav .btn-ghost:hover { background: var(--stone-ink); color: var(--white); }
.q-nav .btn-dark { margin-left: auto; }

@media (max-width: 1024px) {
    .contact-grid { grid-template-columns: 1fr; }
    .contact-card { min-height: 0; }
    .finish-link { height: auto; margin-top: 34px; text-align: center; }
    .finish-arc { display: none; }
    .finish-badge { position: static; transform: none; display: inline-flex; white-space: normal; }
}
@media (max-width: 768px) {
    .contact-card-inner { padding: 34px 24px; }
    .section-light .contact-form { padding: 28px 20px; }
    .q-steps li { font-size: 0; gap: 0; justify-content: center; }
    .q-steps li span { font-size: 12px; }
    .q-steps li.active { font-size: 11px; gap: 8px; }
    .chips-thumb { grid-template-columns: 1fr 1fr; }
    .finish-badge { padding: 12px 20px; border-radius: 20px; }
    .finish-badge strong { font-size: 1.05rem; }
}


/* ============================================================
   v2.3 — Nuanciers interactifs (zoom sur une teinte)
   ============================================================ */
.nuancier { position: relative; }
.pigmentation-item { cursor: default; }
.hotspot {
    position: absolute;
    border: 1.5px solid transparent;
    background: transparent;
    padding: 0;
    cursor: zoom-in;
    transition: border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
    z-index: 2;
}
.hotspot.circle { border-radius: 50%; }
.hotspot.square { border-radius: 4px; }
.hotspot span {
    position: absolute;
    left: 50%; bottom: calc(100% + 6px);
    transform: translate(-50%, 6px);
    padding: 5px 10px;
    background: rgba(0, 0, 0, 0.88);
    border: 1px solid var(--accent);
    border-radius: 999px;
    font-size: 11px;
    letter-spacing: 0.04em;
    color: var(--white);
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--t-fast), transform var(--t-fast) var(--ease);
}
@media (hover: hover) {
    .hotspot:hover { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(212, 184, 138, 0.25), 0 0 30px rgba(212, 184, 138, 0.35); transform: scale(1.04); }
    .hotspot:hover span { opacity: 1; transform: translate(-50%, 0); }
}
.hotspot:focus-visible { border-color: var(--accent); outline: none; }
.nuancier-hint {
    margin-top: 10px;
    font-size: 12px !important;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent) !important;
}
.nuancier-hint::before { content: "◎ "; }

/* Visionneuse plein écran */
.swatch-viewer {
    position: fixed;
    inset: 0;
    z-index: 210;
    display: grid;
    grid-template-columns: 1fr 340px;
    background: rgba(0, 0, 0, 0.96);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s var(--ease), visibility 0.4s;
}
.swatch-viewer.open { opacity: 1; visibility: visible; }
.sv-stage { position: relative; overflow: hidden; touch-action: pan-y; }
.sv-stage img {
    position: absolute;
    top: 0; left: 0;
    max-width: none;
    transform-origin: 0 0;
    transition: transform 1.1s cubic-bezier(0.65, 0, 0.25, 1);
    will-change: transform;
    user-select: none;
}
/* projecteur : assombrit tout sauf la teinte */
.sv-spot {
    position: absolute; inset: 0;
    pointer-events: none;
    opacity: 0;
    background: radial-gradient(circle at 50% 50%, transparent var(--r, 120px), rgba(0, 0, 0, 0.78) calc(var(--r, 120px) + 60px));
    transition: opacity 0.6s var(--ease) 0.5s;
}
.swatch-viewer[data-shape="square"] .sv-spot {
    background: radial-gradient(circle at 50% 50%, transparent calc(var(--r, 120px) * 1.25), rgba(0, 0, 0, 0.78) calc(var(--r, 120px) * 1.25 + 60px));
}
.sv-ring {
    position: absolute;
    left: 50%; top: 50%;
    border: 1.5px solid var(--accent);
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(1.25);
    opacity: 0;
    pointer-events: none;
    box-shadow: 0 0 40px rgba(212, 184, 138, 0.35), inset 0 0 30px rgba(212, 184, 138, 0.15);
    transition: opacity 0.5s var(--ease) 0.7s, transform 0.7s var(--ease) 0.7s, width 0.4s, height 0.4s;
}
.swatch-viewer[data-shape="square"] .sv-ring { border-radius: 8px; }
.swatch-viewer.focused .sv-spot { opacity: 1; }
.swatch-viewer.focused .sv-ring { opacity: 1; transform: translate(-50%, -50%) scale(1); }

.sv-panel {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    padding: 40px 36px;
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(180deg, #0b0b0b, #000);
}
.sv-family { font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--accent); }
.sv-name { font-size: clamp(2.2rem, 3.4vw, 3.2rem); line-height: 1.05; }
.sv-name.pop { animation: svName 0.8s var(--ease) 0.35s both; }
@keyframes svName { from { opacity: 0; transform: translateY(18px); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
.sv-count { font-size: 12px; letter-spacing: 0.2em; color: var(--grey-500); margin-bottom: 26px; }
.sv-actions { display: flex; gap: 10px; align-items: center; margin-bottom: 18px; }
.sv-nav {
    width: 46px; height: 46px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.22);
    display: inline-flex; align-items: center; justify-content: center;
    transition: all var(--t-fast) var(--ease);
}
.sv-nav svg { width: 20px; height: 20px; }
.sv-nav:hover { background: var(--white); color: var(--black); }
.sv-actions .btn { margin-left: auto; }
.sv-panel > .btn { padding: 17px 18px; letter-spacing: 0.14em; white-space: normal; text-align: center; }
.sv-close {
    position: absolute; top: 20px; right: 20px;
    width: 46px; height: 46px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.22);
    display: flex; align-items: center; justify-content: center;
    z-index: 3;
    transition: all var(--t-fast) var(--ease);
}
.sv-close svg { width: 20px; height: 20px; }
.sv-close:hover { background: var(--white); color: var(--black); }

@media (max-width: 900px) {
    .swatch-viewer { grid-template-columns: 1fr; grid-template-rows: 1fr auto; }
    .sv-panel { border-left: 0; border-top: 1px solid rgba(255, 255, 255, 0.08); padding: 20px 20px 26px; gap: 2px; }
    .sv-name { font-size: 2rem; }
    .sv-count { margin-bottom: 12px; }
    .sv-actions { margin-bottom: 12px; }
    .sv-close { top: 14px; right: 14px; width: 42px; height: 42px; }
}
@media (prefers-reduced-motion: reduce) {
    .sv-stage img, .sv-spot, .sv-ring { transition: none !important; }
}


/* ---------- Devis : envoi direct ---------- */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.btn.is-loading { opacity: 0.6; pointer-events: none; }
.quote.is-sent > :not(.quote-done) { display: none !important; }
.quote-done { text-align: center; padding: 50px 10px; animation: stepIn 0.6s var(--ease); }
.quote-done-check {
    width: 76px; height: 76px; margin: 0 auto 22px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    background: var(--stone-ink); color: var(--accent);
    animation: pop 0.6s var(--ease) 0.15s both;
}
.quote-done-check svg { width: 36px; height: 36px; }
@keyframes pop { from { transform: scale(0.4); opacity: 0; } to { transform: none; opacity: 1; } }
.section-light .quote-done h3 { font-size: 2rem; margin-bottom: 10px; }
.quote-done p { max-width: 380px; margin: 0 auto 10px; }
.quote-done-call a { color: var(--accent-deep); font-weight: 500; }

[hidden] { display: none !important; }
