/* =========================================
   RESET & BASE
   ========================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 400;
    line-height: 1.6;
    color: var(--ink);
    background: var(--paper);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; height: auto; }
button { font: inherit; cursor: pointer; background: none; border: none; color: inherit; }
a { color: inherit; text-decoration: none; }
input, textarea, select, button { font-family: inherit; }

/* =========================================
   DESIGN TOKENS
   ========================================= */
:root {
    /* Palette : tons bois chaleureux + bleu marine du logo */
    --paper: #F5EFE6;         /* fond crème, comme du papier kraft clair */
    --paper-soft: #EFE7DA;
    --paper-dark: #E5D9C4;
    --ink: #2A1F17;           /* brun très foncé presque noir */
    --ink-soft: #4A382A;
    --ink-mute: #8B7355;      /* brun chaud moyen */
    --wood: #A0683E;          /* brun bois principal */
    --wood-dark: #7A4A28;
    --wood-light: #C99069;
    --accent: #C25E1C;        /* orange brûlé pour les accents */
    --accent-soft: #E07A35;
    --navy: #14253D;          /* bleu marine foncé du logo MyWoodForYou */
    --navy-soft: #1F3A5F;     /* bleu marine intermédiaire */
    --navy-light: #4A6485;    /* bleu marine clair pour accents */
    --cream: #E8D9B5;         /* M beige du logo */
    --line: rgba(42, 31, 23, 0.12);
    --line-soft: rgba(42, 31, 23, 0.06);

    /* Typo */
    --font-display: 'Fraunces', Georgia, serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing */
    --gutter: 1.5rem;
    --container: 1320px;

    /* Motion */
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* =========================================
   GRAIN OVERLAY
   ========================================= */
.grain {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.35;
    mix-blend-mode: multiply;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.16 0 0 0 0 0.12 0 0 0 0 0.09 0 0 0 0.4 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
}

/* =========================================
   UTILITIES
   ========================================= */
.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--gutter);
}
@media (min-width: 768px) {
    :root { --gutter: 2.5rem; }
}

.section-num {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--ink-mute);
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
    position: relative;
}
.section-num::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 1rem;
    height: 1px;
    background: var(--ink-mute);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.75rem);
    line-height: 1.05;
    font-weight: 400;
    letter-spacing: -0.02em;
    color: var(--ink);
    margin-bottom: 2.5rem;
}
.section-title em {
    font-style: italic;
    color: var(--wood);
    font-weight: 300;
}
.section-title--center { text-align: center; margin-left: auto; margin-right: auto; }

/* =========================================
   BUTTONS
   ========================================= */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.75rem;
    border-radius: 999px;
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    transition: all 0.4s var(--ease);
    cursor: pointer;
    border: 1px solid transparent;
    text-align: center;
    justify-content: center;
}
.btn svg { width: 1rem; height: 1rem; transition: transform 0.4s var(--ease); }
.btn:hover svg { transform: translateX(3px); }

.btn--primary {
    background: var(--ink);
    color: var(--paper);
}
.btn--primary:hover {
    background: var(--wood);
    transform: translateY(-2px);
    box-shadow: 0 12px 30px -8px rgba(122, 74, 40, 0.5);
}

.btn--ghost {
    background: transparent;
    color: var(--ink);
    border-color: var(--ink);
}
.btn--ghost:hover {
    background: var(--ink);
    color: var(--paper);
}

.btn--ghost-light {
    background: transparent;
    color: var(--paper);
    border-color: var(--paper);
}
.btn--ghost-light:hover {
    background: var(--paper);
    color: var(--ink);
}

.btn--block { width: 100%; }

/* =========================================
   NAVIGATION
   ========================================= */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem var(--gutter);
    background: rgba(245, 239, 230, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line-soft);
    transition: padding 0.3s var(--ease), background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.nav.is-scrolled {
    padding: 0.875rem var(--gutter);
    background: rgba(245, 239, 230, 0.95);
}

/* Quand on est sur la page accueil ET en haut, la nav est transparente
   pour laisser voir le hero plein écran */
.nav.is-on-hero {
    background: linear-gradient(180deg, rgba(20, 37, 61, 0.6) 0%, rgba(20, 37, 61, 0) 100%);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom-color: transparent;
}
.nav.is-on-hero .nav__brand {
    color: var(--paper);
}
.nav.is-on-hero .nav__brand-name-bottom {
    color: var(--paper-dark);
}
.nav.is-on-hero .nav__link {
    color: var(--paper-dark);
}
.nav.is-on-hero .nav__link:hover,
.nav.is-on-hero .nav__link.is-active {
    color: var(--paper);
}
.nav.is-on-hero .nav__burger span {
    background: var(--paper);
}

.nav__brand {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    text-decoration: none;
    color: var(--ink);
}
.nav__brand-logo {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 0.5rem;
    object-fit: contain;
    background: var(--navy);
    padding: 2px;
    transition: transform 0.5s var(--ease), box-shadow 0.4s var(--ease);
    box-shadow: 0 2px 8px rgba(20, 37, 61, 0.2);
}
.nav__brand:hover .nav__brand-logo {
    transform: rotate(-4deg) scale(1.05);
    box-shadow: 0 4px 14px rgba(20, 37, 61, 0.35);
}
.nav__brand-name { display: flex; flex-direction: column; line-height: 1.1; }
.nav__brand-name-top {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 500;
}
.nav__brand-name-bottom {
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--ink-mute);
}

.nav__links {
    display: flex;
    gap: 2.25rem;
    list-style: none;
}
.nav__link {
    position: relative;
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--ink-soft);
    padding: 0.5rem 0;
    transition: color 0.3s var(--ease);
}
.nav__link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0.2rem;
    width: 0;
    height: 1px;
    background: var(--accent);
    transition: width 0.4s var(--ease);
}
.nav__link:hover { color: var(--ink); }
.nav__link:hover::after { width: 100%; }
.nav__link.is-active { color: var(--ink); }
.nav__link.is-active::after { width: 100%; }

.nav__burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 0.5rem;
}
.nav__burger span {
    display: block;
    width: 26px;
    height: 2px;
    background: var(--ink);
    transition: transform 0.4s var(--ease), opacity 0.3s var(--ease);
}
.nav__burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger.is-open span:nth-child(2) { opacity: 0; }
.nav__burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 900px) {
    .nav__brand-name { display: none; }
    .nav__burger { display: flex; }
    .nav__links {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        width: min(85vw, 380px);
        flex-direction: column;
        justify-content: center;
        gap: 1.75rem;
        padding: 2rem;
        background: var(--paper);
        border-left: 1px solid var(--line);
        transform: translateX(100%);
        transition: transform 0.45s var(--ease);
        box-shadow: -20px 0 60px rgba(0,0,0,0.08);
    }
    .nav__links.is-open { transform: translateX(0); }
    .nav__link { font-family: var(--font-display); font-size: 1.5rem; font-weight: 400; }
}

/* =========================================
   PAGE SYSTEM (SPA-like)
   ========================================= */
.page {
    display: none;
    padding-top: 6rem;
    animation: pageIn 0.6s var(--ease-out);
}
.page--active { display: block; }

@keyframes pageIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* =========================================
   HERO (Accueil)
   ========================================= */
/* ==================================================================
   HERO PLEIN ÉCRAN — Photo de fond + voile sombre + texte centré
   ================================================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding: 6rem 0 4rem;
    margin-top: -6rem; /* compense le padding-top du parent .page */
    color: var(--paper);
}

/* Photo de fond plein écran */
.hero__photo {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}
.hero__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    /* Léger zoom-in continu très lent pour un effet vivant */
    animation: heroPhotoZoom 20s ease-out infinite alternate;
    will-change: transform;
}
@keyframes heroPhotoZoom {
    from { transform: scale(1.0); }
    to { transform: scale(1.08); }
}

/* Voile sombre + dégradé bleu marine du logo */
.hero__veil {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at center, rgba(20, 37, 61, 0.45) 0%, rgba(20, 37, 61, 0.75) 60%, rgba(10, 14, 22, 0.92) 100%),
        linear-gradient(180deg, rgba(20, 37, 61, 0.4) 0%, rgba(42, 31, 23, 0.5) 50%, rgba(20, 37, 61, 0.6) 100%);
    z-index: 1;
}

/* Contenu centré */
.hero__inner {
    position: relative;
    z-index: 2;
    max-width: 1100px;
    width: 100%;
    margin: 0 auto;
    padding: 0 var(--gutter);
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Logo centré, plus visible sur fond sombre */
.hero__logo {
    width: 6rem;
    height: 6rem;
    border-radius: 1rem;
    object-fit: contain;
    background: rgba(20, 37, 61, 0.9);
    padding: 4px;
    margin-bottom: 2.5rem;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(245, 239, 230, 0.1);
    animation-fill-mode: both;
}
@media (max-width: 768px) {
    .hero__logo { width: 5rem; height: 5rem; margin-bottom: 2rem; }
}

/* Eyebrow centré avec lignes des deux côtés */
.hero__eyebrow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    font-size: 0.75rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--cream);
    margin-bottom: 3rem;
    font-weight: 500;
    opacity: 0;
    animation: reveal 0.8s var(--ease-out) 0.05s forwards;
}
.hero__eyebrow-line {
    display: inline-block;
    width: 3rem;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--cream) 50%, transparent);
}

/* Titre principal */
.hero__title {
    font-family: var(--font-display);
    font-size: clamp(3rem, 9vw, 7.5rem);
    line-height: 0.95;
    font-weight: 400;
    letter-spacing: -0.035em;
    color: var(--paper);
    margin-bottom: 2.5rem;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}
.hero__title-line {
    display: block;
    opacity: 0;
    transform: translateY(40px);
}
.hero__title-line--italic {
    font-style: italic;
    font-weight: 300;
    color: var(--cream);
    /* Pas de padding latéral en mode centré */
    padding-left: 0;
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    animation: reveal 0.9s var(--ease-out) var(--d, 0s) forwards;
}
@keyframes reveal {
    to { opacity: 1; transform: translateY(0); }
}

/* Lede : couleur claire sur fond sombre */
.hero__lede {
    max-width: 38rem;
    font-size: clamp(1.05rem, 1.6vw, 1.25rem);
    line-height: 1.65;
    color: var(--paper-dark);
    margin-bottom: 3.5rem;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

/* CTAs centrés */
.hero__cta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 5rem;
}
.btn--hero {
    padding: 1.1rem 2.25rem;
    font-size: 1rem;
}

/* Bouton primary en hero : reste foncé mais avec contour subtil */
.hero .btn--primary {
    background: var(--paper);
    color: var(--ink);
    border: 1px solid rgba(245, 239, 230, 0.5);
}
.hero .btn--primary:hover {
    background: var(--cream);
    color: var(--ink);
    transform: translateY(-2px);
    box-shadow: 0 16px 40px -8px rgba(232, 217, 181, 0.4);
}

/* Scroll indicator */
.hero__scroll {
    display: inline-flex;
    align-items: center;
    gap: 0.875rem;
    font-size: 0.72rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--paper-dark);
    font-weight: 500;
}
.hero__scroll-line {
    display: inline-block;
    width: 3rem;
    height: 1px;
    background: rgba(245, 239, 230, 0.4);
    position: relative;
    overflow: hidden;
}
.hero__scroll-line::after {
    content: '';
    position: absolute;
    left: -100%;
    top: 0;
    width: 100%;
    height: 100%;
    background: var(--cream);
    animation: scrollLine 2.5s var(--ease) infinite;
}
@keyframes scrollLine {
    to { left: 100%; }
}

/* Responsive */
@media (max-width: 768px) {
    .hero {
        min-height: 95vh;
        padding: 5rem 0 3rem;
    }
    .hero__eyebrow {
        font-size: 0.65rem;
        gap: 0.5rem;
    }
    .hero__eyebrow-line {
        width: 1.5rem;
    }
}

/* =========================================
   VIEWER 3D
   ========================================= */
.viewer3d {
    margin-bottom: 3rem;
    margin-top: 1rem;
}
.viewer3d__inner {
    position: relative;
    width: 100%;
    aspect-ratio: 16/10;
    max-height: 560px;
    min-height: 380px;
    border-radius: 1.5rem;
    overflow: hidden;
    background:
        radial-gradient(ellipse at 30% 20%, rgba(194, 94, 28, 0.25), transparent 50%),
        radial-gradient(ellipse at 70% 80%, rgba(122, 74, 40, 0.35), transparent 50%),
        linear-gradient(135deg, #2A1F17 0%, #1A130D 100%);
    box-shadow:
        inset 0 0 80px rgba(0,0,0,0.4),
        0 25px 50px -20px rgba(42, 31, 23, 0.5);
    border: 1px solid rgba(245, 239, 230, 0.08);
}
@media (max-width: 600px) {
    .viewer3d__inner { aspect-ratio: 4/3; min-height: 320px; }
}
#canvas3d,
#canvas3d-logo {
    width: 100%;
    height: 100%;
    display: block;
    cursor: grab;
}
#canvas3d:active,
#canvas3d-logo:active { cursor: grabbing; }

.viewer3d__hint {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(42, 31, 23, 0.7);
    backdrop-filter: blur(10px);
    color: var(--paper-dark);
    border-radius: 999px;
    font-size: 0.78rem;
    border: 1px solid rgba(245, 239, 230, 0.12);
    pointer-events: none;
    opacity: 0;
    animation: hintFadeIn 0.6s var(--ease-out) 1.5s forwards;
}
@keyframes hintFadeIn { to { opacity: 1; } }
.viewer3d__hint svg { width: 0.95rem; height: 0.95rem; }

.viewer3d__loading {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    color: var(--paper-dark);
    font-size: 0.9rem;
    background: rgba(26, 19, 13, 0.85);
    backdrop-filter: blur(4px);
    transition: opacity 0.5s var(--ease);
    z-index: 2;
}
.viewer3d__loading.is-hidden {
    opacity: 0;
    pointer-events: none;
}
.viewer3d__spinner {
    width: 1.5rem;
    height: 1.5rem;
    border: 2px solid rgba(245, 239, 230, 0.2);
    border-top-color: var(--wood-light);
    border-radius: 50%;
    animation: spin 0.9s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* =========================================
   COLOR SWATCHES (sélection couleur peinture/résine)
   ========================================= */
.color-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}
.color-swatch {
    position: relative;
    cursor: pointer;
}
.color-swatch input { position: absolute; opacity: 0; pointer-events: none; }
.color-swatch span {
    display: block;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: var(--c);
    border: 2px solid var(--paper);
    box-shadow: 0 0 0 1px var(--line);
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.color-swatch:hover span { transform: scale(1.1); }
.color-swatch input:checked + span {
    transform: scale(1.15);
    box-shadow: 0 0 0 2px var(--wood), 0 4px 12px rgba(122, 74, 40, 0.35);
}

.color-dot {
    display: inline-block;
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 50%;
    border: 1px solid rgba(245, 239, 230, 0.3);
    vertical-align: -0.05rem;
    margin-right: 0.35rem;
}

/* =========================================
   UPLOAD ZONE
   ========================================= */
.upload-zone {
    width: 100%;
}
.upload-zone__label {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    background: var(--paper);
    border: 1.5px dashed var(--line);
    border-radius: 0.875rem;
    cursor: pointer;
    transition: all 0.3s var(--ease);
}
.upload-zone__label:hover {
    border-color: var(--wood);
    background: var(--paper-soft);
    transform: translateY(-2px);
}
.upload-zone__label svg {
    width: 2rem;
    height: 2rem;
    color: var(--wood);
    flex-shrink: 0;
}
.upload-zone__text {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}
.upload-zone__text strong {
    font-weight: 500;
    color: var(--ink);
    font-size: 0.95rem;
}
.upload-zone__text span {
    font-size: 0.8rem;
    color: var(--ink-mute);
}
.upload-zone__file {
    margin-top: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.75rem 1rem;
    background: linear-gradient(135deg, var(--wood) 0%, var(--wood-dark) 100%);
    color: var(--paper);
    border-radius: 0.5rem;
    font-size: 0.85rem;
}
.upload-zone__file button {
    width: 1.5rem;
    height: 1.5rem;
    line-height: 1;
    font-size: 1.25rem;
    border-radius: 50%;
    background: rgba(245, 239, 230, 0.2);
    color: var(--paper);
    transition: background 0.3s var(--ease);
}
.upload-zone__file button:hover { background: rgba(245, 239, 230, 0.4); }

/* =========================================
   SPECS (Spécialités)
   ========================================= */
.specs {
    padding: 7rem 0;
    background: var(--paper);
    position: relative;
    border-top: 1px solid var(--line-soft);
}
.specs__head {
    text-align: center;
    margin-bottom: 4.5rem;
}
.specs__head .section-num {
    padding-left: 1.5rem;
}
.specs__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}
@media (max-width: 768px) {
    .specs { padding: 5rem 0; }
    .specs__grid { grid-template-columns: 1fr; }
}

.spec-card {
    position: relative;
    border-radius: 1.5rem;
    overflow: hidden;
    background: var(--paper-soft);
    cursor: pointer;
    transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.spec-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px -20px rgba(42, 31, 23, 0.25);
}
.spec-card__media {
    position: relative;
    aspect-ratio: 16/11;
    overflow: hidden;
}
.spec-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--ease);
}
.spec-card:hover .spec-card__media img { transform: scale(1.06); }
.spec-card__media-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 60%, rgba(42, 31, 23, 0.35) 100%);
}

.spec-card__body { padding: 2.25rem; }
.spec-card__num {
    display: inline-block;
    font-family: var(--font-display);
    font-style: italic;
    font-size: 0.95rem;
    color: var(--wood);
    margin-bottom: 0.5rem;
}
.spec-card__body h3 {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 400;
    letter-spacing: -0.02em;
    color: var(--ink);
    margin-bottom: 1rem;
}
.spec-card__body p {
    color: var(--ink-soft);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}
.spec-card__cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    color: var(--accent);
    font-size: 0.95rem;
}
.spec-card__cta svg { width: 1rem; height: 1rem; transition: transform 0.4s var(--ease); }
.spec-card:hover .spec-card__cta svg { transform: translateX(4px); }

/* =========================================
   PROCESS
   ========================================= */
.process {
    padding: 7rem 0;
    background: var(--ink);
    color: var(--paper);
    position: relative;
}
.process .section-num { color: var(--paper-dark); }
.process .section-num::before { background: var(--paper-dark); }
.process .section-title { color: var(--paper); }
.process .section-title em { color: var(--wood-light); }
.process__head { text-align: center; margin-bottom: 4.5rem; }
.process__head .section-num { padding-left: 1.5rem; }

.process__steps {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    counter-reset: step;
}
@media (max-width: 900px) { .process__steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .process__steps { grid-template-columns: 1fr; } }

.process__step {
    padding: 2rem 0;
    border-top: 1px solid rgba(245, 239, 230, 0.18);
    position: relative;
    transition: transform 0.4s var(--ease);
}
.process__step:hover { transform: translateY(-4px); }
.process__step-num {
    font-family: var(--font-display);
    font-style: italic;
    color: var(--wood-light);
    font-size: 1.05rem;
    margin-bottom: 1rem;
    display: block;
}
.process__step h4 {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 400;
    margin-bottom: 0.75rem;
}
.process__step p {
    color: var(--paper-dark);
    font-size: 0.95rem;
    line-height: 1.55;
}

/* =========================================
   GALERIE (Accueil)
   ========================================= */
.gallery {
    padding: 7rem 0;
    background: var(--paper);
}
.gallery__head { text-align: center; margin-bottom: 4.5rem; }
.gallery__head .section-num { padding-left: 1.5rem; }

.gallery__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 200px;
    gap: 1.5rem;
}
.gallery__item {
    position: relative;
    overflow: hidden;
    border-radius: 1rem;
    background: var(--paper-soft);
    cursor: pointer;
    transition: transform 0.5s var(--ease);
}
.gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s var(--ease), filter 0.5s var(--ease);
}
.gallery__item--tall { grid-row: span 2; }
.gallery__item--wide { grid-column: span 2; }

.gallery__item:hover img { transform: scale(1.08); }
.gallery__item:hover { transform: translateY(-4px); }

.gallery__caption {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    right: 1rem;
    padding: 0.6rem 1rem;
    background: rgba(42, 31, 23, 0.85);
    color: var(--paper);
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
    backdrop-filter: blur(8px);
}
.gallery__item:hover .gallery__caption { opacity: 1; transform: translateY(0); }

@media (max-width: 900px) {
    .gallery__grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
    .gallery__item--wide { grid-column: span 2; }
}

/* =========================================
   BOTTOM CTA
   ========================================= */
.bottom-cta {
    padding: 8rem 0;
    background: linear-gradient(135deg, var(--wood) 0%, var(--wood-dark) 100%);
    color: var(--paper);
    text-align: center;
    position: relative;
    overflow: hidden;
}
.bottom-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cdefs%3E%3Cpattern id='p' x='0' y='0' width='40' height='40' patternUnits='userSpaceOnUse'%3E%3Crect x='1' y='1' width='38' height='38' fill='none' stroke='%23F5EFE6' stroke-width='0.4'/%3E%3C/pattern%3E%3C/defs%3E%3Crect width='100' height='100' fill='url(%23p)'/%3E%3C/svg%3E");
    opacity: 0.18;
    pointer-events: none;
}
.bottom-cta__inner { position: relative; z-index: 1; }
.bottom-cta h2 {
    font-family: var(--font-display);
    font-size: clamp(2.25rem, 5vw, 3.75rem);
    font-weight: 400;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}
.bottom-cta p {
    color: var(--paper-dark);
    margin-bottom: 2.5rem;
    font-size: 1.1rem;
}
.bottom-cta__btns {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

/* =========================================
   PAGE HEADER (claustras/enseignes/à propos/contact)
   ========================================= */
.page-header {
    padding: 5rem 0 4rem;
    background:
        radial-gradient(circle at 90% 20%, rgba(194, 94, 28, 0.08), transparent 50%),
        var(--paper);
    border-bottom: 1px solid var(--line-soft);
}
.page-header__title {
    font-family: var(--font-display);
    font-size: clamp(3rem, 8vw, 6.5rem);
    line-height: 0.95;
    font-weight: 400;
    letter-spacing: -0.035em;
    margin: 1rem 0 2rem;
    color: var(--ink);
}
.page-header__title em {
    font-style: italic;
    font-weight: 300;
    color: var(--wood);
}
.page-header__lede {
    max-width: 42rem;
    font-size: clamp(1.05rem, 1.6vw, 1.2rem);
    color: var(--ink-soft);
    line-height: 1.55;
}

/* =========================================
   INSPI (galerie inspi sur pages claustras/enseignes)
   ========================================= */
.inspi { padding: 4rem 0; }
.inspi__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}
.inspi__grid--enseignes { grid-template-columns: 2fr 1fr 1fr; }

.inspi__item {
    position: relative;
    overflow: hidden;
    border-radius: 1rem;
    aspect-ratio: 4/5;
    background: var(--paper-soft);
    transition: transform 0.4s var(--ease);
}
.inspi__item--large { aspect-ratio: 4/5; }
.inspi__item img {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.6s var(--ease);
}
/* Petites variantes pour ajuster le cadrage */
.inspi__item--contain {
    background:
        radial-gradient(ellipse at center, rgba(31, 58, 95, 0.05) 0%, var(--paper-soft) 70%);
}
.inspi__item--contain img {
    object-fit: contain;
    padding: 1.5rem;
}
.inspi__item:hover img { transform: scale(1.05); }
.inspi__item figcaption {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 2rem 1.25rem 1.25rem;
    background: linear-gradient(180deg, transparent, rgba(42, 31, 23, 0.85));
    color: var(--paper);
    font-size: 0.85rem;
    font-weight: 500;
}
@media (max-width: 768px) {
    .inspi__grid, .inspi__grid--enseignes { grid-template-columns: 1fr 1fr; }
}

/* =========================================
   CONFIGURATEUR
   ========================================= */
.configurator { padding: 5rem 0 7rem; }
.configurator__layout {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 3rem;
    margin-top: 3.5rem;
    align-items: start;
}
@media (max-width: 900px) {
    .configurator__layout { grid-template-columns: 1fr; }
}

.config-form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}
.config-form__group {
    border: none;
    padding: 2rem;
    background: var(--paper-soft);
    border-radius: 1.25rem;
    border: 1px solid var(--line-soft);
}
.config-form__group legend {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--ink);
    padding: 0 0.75rem;
    background: var(--paper);
    border-radius: 999px;
    margin-bottom: 1.25rem;
    border: 1px solid var(--line-soft);
    padding: 0.4rem 1.1rem;
    display: inline-block;
}

/* FIELDS */
.field { display: flex; flex-direction: column; gap: 0.5rem; margin-bottom: 1.25rem; }
.field:last-child { margin-bottom: 0; }
.field label {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--ink-soft);
    letter-spacing: 0.02em;
}
.field__hint {
    font-size: 0.75rem;
    color: var(--ink-mute);
}
.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field textarea,
.field select,
.config-form__group textarea {
    padding: 0.85rem 1.1rem;
    border: 1px solid var(--line);
    background: var(--paper);
    border-radius: 0.75rem;
    color: var(--ink);
    font-size: 0.95rem;
    transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
    width: 100%;
    font-family: inherit;
    resize: vertical;
}
.field input:focus,
.field textarea:focus,
.field select:focus,
.config-form__group textarea:focus {
    outline: none;
    border-color: var(--wood);
    box-shadow: 0 0 0 3px rgba(160, 104, 62, 0.15);
}
.config-form__group textarea {
    width: 100%;
    min-height: 80px;
}

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 600px) { .field-row { grid-template-columns: 1fr; } }

/* RANGE (sliders) */
input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 6px;
    background: var(--paper-dark);
    border-radius: 999px;
    outline: none;
    cursor: pointer;
}
input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 22px;
    height: 22px;
    background: var(--wood);
    border-radius: 50%;
    cursor: pointer;
    border: 3px solid var(--paper);
    box-shadow: 0 2px 8px rgba(122, 74, 40, 0.4);
    transition: transform 0.2s var(--ease), background 0.2s var(--ease);
}
input[type="range"]::-webkit-slider-thumb:hover { transform: scale(1.15); background: var(--accent); }
input[type="range"]::-moz-range-thumb {
    width: 22px;
    height: 22px;
    background: var(--wood);
    border-radius: 50%;
    cursor: pointer;
    border: 3px solid var(--paper);
    box-shadow: 0 2px 8px rgba(122, 74, 40, 0.4);
}

/* RADIO CARDS */
.radio-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
}
.radio-grid--3 { grid-template-columns: repeat(3, 1fr); }
.radio-grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 600px) {
    .radio-grid, .radio-grid--3, .radio-grid--4 { grid-template-columns: 1fr 1fr; }
}

.radio-card { position: relative; cursor: pointer; }
.radio-card input { position: absolute; opacity: 0; pointer-events: none; }
.radio-card__inner {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 1rem;
    background: var(--paper);
    border: 1.5px solid var(--line);
    border-radius: 0.75rem;
    transition: all 0.3s var(--ease);
    text-align: center;
    min-height: 100%;
}
.radio-card:hover .radio-card__inner {
    border-color: var(--wood-light);
    transform: translateY(-2px);
}
.radio-card input:checked + .radio-card__inner {
    border-color: var(--wood);
    background: linear-gradient(135deg, var(--wood) 0%, var(--wood-dark) 100%);
    color: var(--paper);
    box-shadow: 0 8px 20px -6px rgba(122, 74, 40, 0.4);
}
.radio-card__name { font-weight: 600; font-size: 0.95rem; }
.radio-card__desc { font-size: 0.78rem; opacity: 0.75; }

.checkbox-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0;
    cursor: pointer;
    font-size: 0.95rem;
    color: var(--ink-soft);
}
.checkbox-row input[type="checkbox"] {
    width: 1.25rem;
    height: 1.25rem;
    accent-color: var(--wood);
    cursor: pointer;
}

/* SUMMARY (récapitulatif sticky) */
.config-summary {
    position: relative;
}
.config-summary__sticky {
    position: sticky;
    top: 7rem;
    background: var(--ink);
    color: var(--paper);
    padding: 2rem;
    border-radius: 1.25rem;
    box-shadow: 0 20px 50px -20px rgba(42, 31, 23, 0.35);
}
.config-summary__title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid rgba(245, 239, 230, 0.15);
}
.config-summary__list {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    margin-bottom: 2rem;
}
.config-summary__list > div {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
    font-size: 0.9rem;
}
.config-summary__list dt {
    color: var(--paper-dark);
    font-size: 0.85rem;
}
.config-summary__list dd {
    color: var(--paper);
    font-weight: 500;
    text-align: right;
}

.config-summary__price {
    background: rgba(245, 239, 230, 0.08);
    padding: 1.5rem;
    border-radius: 0.875rem;
    text-align: center;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(245, 239, 230, 0.12);
}
.config-summary__price-label {
    display: block;
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--paper-dark);
    margin-bottom: 0.5rem;
}
.config-summary__price-amount {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(2.25rem, 4vw, 3rem);
    color: var(--wood-light);
    font-weight: 500;
    line-height: 1;
    margin-bottom: 0.75rem;
    transition: transform 0.3s var(--ease);
}
.config-summary__price-amount.is-updating {
    transform: scale(1.08);
}
.config-summary__price-note {
    font-size: 0.75rem;
    color: var(--paper-dark);
    font-style: italic;
}

.config-summary__sticky .btn--primary {
    background: var(--paper);
    color: var(--ink);
}
.config-summary__sticky .btn--primary:hover {
    background: var(--accent-soft);
    color: var(--paper);
}

.config-summary__note {
    margin-top: 1rem;
    font-size: 0.75rem;
    color: var(--paper-dark);
    text-align: center;
}

/* =========================================
   ABOUT
   ========================================= */
.about { padding: 5rem 0 7rem; }
.about__grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 6rem;
}
@media (max-width: 900px) {
    .about__grid { grid-template-columns: 1fr; gap: 2.5rem; }
}
.about__text h2 {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 3.5vw, 2.75rem);
    line-height: 1.05;
    font-weight: 400;
    letter-spacing: -0.02em;
    margin-bottom: 2rem;
    color: var(--ink);
}
.about__text h2 em {
    font-style: italic;
    color: var(--wood);
    font-weight: 300;
}
.about__text p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--ink-soft);
    margin-bottom: 1.25rem;
}
.about__text strong { color: var(--ink); font-weight: 600; }

.about__media {
    position: relative;
    border-radius: 1.25rem;
    overflow: hidden;
    aspect-ratio: 4/5;
    background: var(--paper-soft);
}
.about__media img {
    width: 100%; height: 100%;
    object-fit: cover;
}
.about__media-caption {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    padding: 0.5rem 1rem;
    background: rgba(42, 31, 23, 0.85);
    color: var(--paper);
    border-radius: 999px;
    font-size: 0.75rem;
    backdrop-filter: blur(8px);
}

/* VALUES */
.values {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 6rem;
}
@media (max-width: 768px) { .values { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .values { grid-template-columns: 1fr; } }

.value {
    padding: 2rem;
    background: var(--paper-soft);
    border-radius: 1rem;
    border: 1px solid var(--line-soft);
    transition: transform 0.4s var(--ease), background 0.4s var(--ease);
}
.value:hover {
    transform: translateY(-4px);
    background: var(--paper);
    box-shadow: 0 15px 40px -15px rgba(42, 31, 23, 0.18);
}
.value__num {
    font-family: var(--font-display);
    font-style: italic;
    color: var(--wood);
    font-size: 0.95rem;
    margin-bottom: 1rem;
}
.value h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--ink);
}
.value p {
    font-size: 0.9rem;
    color: var(--ink-soft);
    line-height: 1.55;
}

/* ATELIER BANNER */
.atelier-banner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: var(--ink);
    color: var(--paper);
    border-radius: 1.5rem;
    overflow: hidden;
    align-items: stretch;
}
@media (max-width: 768px) { .atelier-banner { grid-template-columns: 1fr; } }
.atelier-banner img {
    width: 100%; height: 100%;
    object-fit: contain;
    object-position: center;
    min-height: 320px;
    background: var(--paper-soft);
    padding: 1.5rem;
}
.atelier-banner__text {
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.atelier-banner__text .section-num { color: var(--paper-dark); }
.atelier-banner__text .section-num::before { background: var(--paper-dark); }
.atelier-banner__text h3 {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 400;
    line-height: 1.05;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
}
.atelier-banner__text h3 em {
    font-style: italic;
    color: var(--wood-light);
    font-weight: 300;
}
.atelier-banner__text p {
    color: var(--paper-dark);
    line-height: 1.65;
}

/* =========================================
   CONTACT
   ========================================= */
.contact { padding: 5rem 0 7rem; }
.contact__grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    align-items: start;
}
@media (max-width: 900px) {
    .contact__grid { grid-template-columns: 1fr; gap: 3rem; }
}
.contact__infos h2,
.contact-form h2 {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 500;
    margin-bottom: 2rem;
    color: var(--ink);
    letter-spacing: -0.01em;
}
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    padding: 1.25rem 0;
    border-top: 1px solid var(--line);
}
.contact-info:last-child { border-bottom: 1px solid var(--line); }

.contact-info__label {
    font-size: 0.72rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--ink-mute);
    font-weight: 500;
}
.contact-info__value {
    font-family: var(--font-display);
    font-size: 1.1rem;
    color: var(--ink);
    font-weight: 400;
    line-height: 1.45;
}
.contact-info__value--link {
    color: var(--wood-dark);
    transition: color 0.3s var(--ease);
}
.contact-info__value--link:hover { color: var(--accent); }

.contact-form {
    background: var(--paper-soft);
    padding: 2.5rem;
    border-radius: 1.25rem;
    border: 1px solid var(--line-soft);
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}
.contact-form__note {
    font-size: 0.78rem;
    color: var(--ink-mute);
    text-align: center;
    margin-top: 0.5rem;
    font-style: italic;
}

/* =========================================
   FOOTER
   ========================================= */
.footer {
    background: var(--ink);
    color: var(--paper);
    padding: 4rem 0 2.5rem;
}
.footer__inner {
    display: grid;
    grid-template-columns: 2fr 1.5fr 1fr;
    gap: 3rem;
    align-items: start;
}
.footer__brand {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.footer__brand-logo {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 0.65rem;
    object-fit: contain;
    background: var(--navy);
    padding: 3px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.4);
}
.footer__brand strong {
    display: block;
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 500;
}
.footer__brand span {
    font-size: 0.8rem;
    color: var(--paper-dark);
    letter-spacing: 0.05em;
}
.footer__nav, .footer__contact {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.footer__nav a, .footer__contact a {
    font-size: 0.9rem;
    color: var(--paper-dark);
    transition: color 0.3s var(--ease);
}
.footer__nav a:hover, .footer__contact a:hover { color: var(--wood-light); }

.footer__copyright {
    grid-column: 1 / -1;
    padding-top: 2rem;
    margin-top: 1rem;
    border-top: 1px solid rgba(245, 239, 230, 0.12);
    font-size: 0.8rem;
    color: var(--paper-dark);
    letter-spacing: 0.02em;
}
@media (max-width: 768px) {
    .footer__inner { grid-template-columns: 1fr; gap: 2rem; }
}

/* =========================================
   TOAST
   ========================================= */
.toast {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%) translateY(150%);
    background: var(--ink);
    color: var(--paper);
    padding: 0.875rem 1.5rem;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 500;
    box-shadow: 0 20px 40px -10px rgba(42, 31, 23, 0.45);
    z-index: 200;
    transition: transform 0.5s var(--ease);
}
.toast.is-visible { transform: translateX(-50%) translateY(0); }

/* =========================================
   FADE-IN ON SCROLL
   ========================================= */
.scroll-fade { opacity: 0; transform: translateY(40px); transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out); }
.scroll-fade.is-visible { opacity: 1; transform: translateY(0); }

/* =========================================
   ACCESSIBILITY & MOTION
   ========================================= */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus styles */
:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
    border-radius: 0.5rem;
}


/* ==================================================================
   STORYTELLING APPLE-STYLE — Page d'accueil
   ================================================================== */

/* Animations de base : mask reveal (texte qui apparaît de bas en haut) */
[data-mask-reveal] {
    display: inline-block;
    overflow: hidden;
    position: relative;
}
[data-mask-reveal] > * {
    display: inline-block;
}
[data-mask-reveal]:not(.is-revealed) {
    color: transparent;
}
[data-mask-reveal].is-revealed {
    animation: maskReveal 1.2s cubic-bezier(0.22, 1, 0.36, 1) both;
}
@keyframes maskReveal {
    0% {
        clip-path: inset(0 0 100% 0);
        transform: translateY(20px);
    }
    100% {
        clip-path: inset(0 0 0 0);
        transform: translateY(0);
    }
}

/* Fade-in au scroll */
[data-scroll-fade] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s cubic-bezier(0.22, 1, 0.36, 1), transform 1s cubic-bezier(0.22, 1, 0.36, 1);
}
[data-scroll-fade].is-revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Words reveal : chaque mot apparaît avec un décalage */
.pitch {
    padding: 14rem 0 10rem;
    background: var(--paper);
    text-align: center;
}
.pitch__text {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 3.5vw, 3rem);
    line-height: 1.2;
    font-weight: 400;
    letter-spacing: -0.015em;
    color: var(--ink);
    max-width: 56rem;
    margin: 0 auto;
}
.pitch__text .word {
    display: inline-block;
    opacity: 0.15;
    transition: opacity 0.6s ease;
}
.pitch__text .word.is-revealed {
    opacity: 1;
}

/* ==================================================================
   SPEC STORY — Sticky alternés
   ================================================================== */
.spec-story {
    background: var(--paper);
    position: relative;
}
.spec-story__panel {
    position: relative;
    min-height: 200vh; /* on a besoin de hauteur pour que le sticky fonctionne longtemps */
}
.spec-story__sticky {
    position: sticky;
    top: 0;
    height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 4rem;
    padding: 0 var(--gutter);
    max-width: var(--container);
    margin: 0 auto;
    overflow: hidden;
}
.spec-story__panel--reverse .spec-story__sticky {
    grid-template-areas: "text media";
}
.spec-story__panel--reverse .spec-story__media {
    grid-area: media;
}
.spec-story__panel--reverse .spec-story__text {
    grid-area: text;
}
.spec-story__panel:not(.spec-story__panel--reverse) .spec-story__sticky {
    grid-template-areas: "media text";
}
.spec-story__panel:not(.spec-story__panel--reverse) .spec-story__media {
    grid-area: media;
}
.spec-story__panel:not(.spec-story__panel--reverse) .spec-story__text {
    grid-area: text;
}

.spec-story__media {
    position: relative;
    height: 75vh;
    max-height: 700px;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 30px 80px -25px rgba(31, 58, 95, 0.3);
    /* Fond élégant qui rappelle le bleu du logo */
    background:
        radial-gradient(ellipse at 30% 30%, rgba(31, 58, 95, 0.08) 0%, transparent 60%),
        linear-gradient(135deg, var(--paper-soft) 0%, var(--paper-dark) 100%);
}
.spec-story__media-frame {
    position: absolute;
    inset: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.spec-story__img {
    width: 100%;
    height: 100%;
    /* CHANGEMENT : on voit la pièce entière, plus de coupe */
    object-fit: contain;
    padding: 2.5rem;
    transition: transform 1.2s var(--ease-out);
    will-change: transform;
}
.spec-story__text {
    padding: 2rem 0;
}
.spec-story__num {
    display: inline-block;
    font-family: var(--font-display);
    font-style: italic;
    color: var(--wood);
    font-size: 1rem;
    margin-bottom: 1.5rem;
    letter-spacing: 0.02em;
}
.spec-story__title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5.5vw, 4.5rem);
    line-height: 1;
    font-weight: 400;
    letter-spacing: -0.03em;
    color: var(--ink);
    margin-bottom: 2rem;
}
.spec-story__title em {
    font-style: italic;
    font-weight: 300;
    color: var(--wood);
}
.spec-story__desc {
    font-size: clamp(1rem, 1.4vw, 1.15rem);
    line-height: 1.65;
    color: var(--ink-soft);
    margin-bottom: 2rem;
    max-width: 32rem;
}

@media (max-width: 900px) {
    .spec-story__panel { min-height: auto; }
    .spec-story__sticky {
        position: relative;
        height: auto;
        min-height: auto;
        grid-template-columns: 1fr !important;
        grid-template-areas: "media" "text" !important;
        padding: 5rem var(--gutter) !important;
        gap: 2.5rem;
    }
    .spec-story__media { height: 60vh; }
}

/* ==================================================================
   PROCESS SCROLL HORIZONTAL
   ================================================================== */
.process-scroll {
    padding: 10rem 0 8rem;
    background: var(--ink);
    color: var(--paper);
    overflow: hidden;
}
.process-scroll__head {
    text-align: center;
    margin-bottom: 5rem;
}
.process-scroll__head .section-num { color: var(--paper-dark); }
.process-scroll__head .section-num::before { background: var(--paper-dark); }
.process-scroll__head .section-title { color: var(--paper); }
.process-scroll__head .section-title em { color: var(--wood-light); }

.process-scroll__track {
    overflow: hidden;
    padding: 0 var(--gutter);
}
.process-scroll__list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(4, minmax(280px, 1fr));
    gap: 2rem;
    max-width: var(--container);
    margin: 0 auto;
}
@media (max-width: 900px) {
    .process-scroll__list { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .process-scroll__list { grid-template-columns: 1fr; }
}

.process-scroll__step {
    padding: 2.5rem 0;
    border-top: 1px solid rgba(245, 239, 230, 0.18);
    position: relative;
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.process-scroll__step.is-revealed {
    opacity: 1;
    transform: translateY(0);
}
.process-scroll__step:nth-child(1) { transition-delay: 0s; }
.process-scroll__step:nth-child(2) { transition-delay: 0.15s; }
.process-scroll__step:nth-child(3) { transition-delay: 0.3s; }
.process-scroll__step:nth-child(4) { transition-delay: 0.45s; }

.process-scroll__num {
    font-family: var(--font-display);
    font-style: italic;
    color: var(--wood-light);
    font-size: 1.15rem;
    margin-bottom: 1.5rem;
    display: block;
}
.process-scroll__step h4 {
    font-family: var(--font-display);
    font-size: 1.65rem;
    font-weight: 400;
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}
.process-scroll__step p {
    color: var(--paper-dark);
    font-size: 0.95rem;
    line-height: 1.65;
}

/* ==================================================================
   INSPIRATIONS BENTO
   ================================================================== */
.inspirations {
    padding: 10rem 0;
    background: var(--paper);
}
.inspirations__head {
    text-align: center;
    margin-bottom: 5rem;
}
.inspirations__lede {
    max-width: 38rem;
    margin: 1.5rem auto 0;
    color: var(--ink-soft);
    font-size: 1.05rem;
    line-height: 1.6;
}

.bento {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 280px;
    gap: 1.25rem;
}
.bento__item {
    position: relative;
    overflow: hidden;
    border-radius: 1.25rem;
    background: var(--paper-soft);
    cursor: pointer;
    opacity: 0;
    transform: translateY(60px) scale(0.96);
    transition:
        opacity 1s var(--ease-out),
        transform 1s var(--ease-out),
        box-shadow 0.5s var(--ease);
}
.bento__item.is-revealed {
    opacity: 1;
    transform: translateY(0) scale(1);
}
.bento__item:nth-child(1) { transition-delay: 0s; }
.bento__item:nth-child(2) { transition-delay: 0.08s; }
.bento__item:nth-child(3) { transition-delay: 0.16s; }
.bento__item:nth-child(4) { transition-delay: 0.24s; }
.bento__item:nth-child(5) { transition-delay: 0.32s; }
.bento__item:nth-child(6) { transition-delay: 0.40s; }
.bento__item:nth-child(7) { transition-delay: 0.48s; }
.bento__item:nth-child(8) { transition-delay: 0.56s; }
.bento__item:nth-child(9) { transition-delay: 0.64s; }

.bento__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1s var(--ease-out);
    will-change: transform;
}
.bento__item:hover img {
    transform: scale(1.08);
}
.bento__item:hover {
    box-shadow: 0 25px 60px -15px rgba(42, 31, 23, 0.4);
}

.bento__item--xl {
    grid-column: span 2;
    grid-row: span 2;
}
.bento__item--wide {
    grid-column: span 2;
}

.bento__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(26, 19, 13, 0.85) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.5rem;
    color: var(--paper);
    opacity: 0;
    transition: opacity 0.5s var(--ease);
}
.bento__item:hover .bento__overlay {
    opacity: 1;
}
.bento__tag {
    display: inline-block;
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--wood-light);
    margin-bottom: 0.35rem;
    font-weight: 500;
}
.bento__title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 500;
    letter-spacing: -0.01em;
}

@media (max-width: 900px) {
    .bento { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 220px; }
    .bento__item--xl { grid-column: span 2; grid-row: span 2; }
    .bento__item--wide { grid-column: span 2; }
}
@media (max-width: 500px) {
    .bento { grid-template-columns: 1fr; grid-auto-rows: 240px; }
    .bento__item--xl, .bento__item--wide { grid-column: span 1; grid-row: span 1; }
    .bento__item--xl { grid-row: span 2; }
    .bento__overlay { opacity: 1; }
}

/* ==================================================================
   ATELIER ZOOM — Background parallax
   ================================================================== */
.atelier-zoom {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: var(--paper);
}
.atelier-zoom__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.atelier-zoom__bg img {
    width: 100%;
    height: 120%;
    object-fit: cover;
    filter: brightness(0.45) sepia(0.15);
    will-change: transform;
}
.atelier-zoom::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
        rgba(26, 19, 13, 0.4) 0%,
        rgba(31, 58, 95, 0.35) 100%);
    z-index: 1;
}
.atelier-zoom__content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 8rem 0;
}
.section-num--light { color: var(--paper-dark); }
.section-num--light::before { background: var(--paper-dark); }
.atelier-zoom__title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 5rem);
    line-height: 1;
    font-weight: 400;
    letter-spacing: -0.03em;
    margin: 1.5rem 0 2rem;
    color: var(--paper);
    max-width: 18ch;
}
.atelier-zoom__title em {
    font-style: italic;
    font-weight: 300;
    color: var(--wood-light);
}
.atelier-zoom__lede {
    font-size: clamp(1.05rem, 1.4vw, 1.2rem);
    line-height: 1.65;
    color: var(--paper-dark);
    max-width: 40rem;
}

/* ==================================================================
   HERO CINÉMATIQUE — Améliorations
   ================================================================== */
.hero--cinematic {
    min-height: 100vh;
}
.hero--cinematic .hero__title {
    margin-bottom: 2.5rem;
}
.hero--cinematic .hero__title-line {
    display: block;
}

/* Smooth scroll global */
html {
    scroll-behavior: smooth;
}

/* Désactiver les animations pour ceux qui le préfèrent */
@media (prefers-reduced-motion: reduce) {
    [data-mask-reveal],
    [data-scroll-fade],
    [data-bento-reveal],
    .process-scroll__step,
    .bento__item,
    .pitch__text .word {
        opacity: 1 !important;
        transform: none !important;
        animation: none !important;
        transition: none !important;
        color: inherit !important;
        clip-path: none !important;
    }
}

.footer__credits {
    display: inline-block;
    margin-left: 0.5rem;
    opacity: 0.65;
}
.footer__credits a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 0.2em;
    text-decoration-color: rgba(245, 239, 230, 0.3);
    transition: text-decoration-color 0.3s var(--ease);
}
.footer__credits a:hover {
    text-decoration-color: var(--wood-light);
}

/* =========================================
   QUALITÉ D'IMAGE AMÉLIORÉE
   ========================================= */
/* Évite le rendu pixelisé sur certaines images, garantit le rendu fluide */
.bento__item img,
.inspi__item img,
.spec-story__img,
.spec-card__media img,
.gallery__item img,
.about__media img,
.atelier-zoom__bg img {
    image-rendering: auto;
    -ms-interpolation-mode: bicubic;
    backface-visibility: hidden;
    transform: translateZ(0);
}

/* L'image atelier-zoom était assombrie à brightness 0.45 — on remonte un peu pour préserver la qualité */
.atelier-zoom__bg img {
    filter: brightness(0.55) saturate(1.1);
}

/* ==================================================================
   AMÉLIORATION QUALITÉ AFFICHAGE IMAGES
   ================================================================== */
/* Sharp rendering sur tous les écrans */
img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    /* Annule les éventuels filtres dégradants */
    image-rendering: auto;
}

/* Plan technique sur la page À propos : qualité maximale, fond clair pour bien voir les cotes */
.atelier-banner img {
    image-rendering: auto;
    background: linear-gradient(135deg, #FAFAF7 0%, #F0EDE6 100%);
    object-fit: contain;
    padding: 2rem;
    min-height: 420px;
}

/* Images des spec-stories : zoom léger pour effet "immersif" */
.spec-story__img {
    image-rendering: auto;
}

/* Bento : meilleur rendering pour les photos lifestyle */
.bento__item img {
    image-rendering: auto;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transform: translateZ(0);
}

/* Empêcher le navigateur de lisser inutilement les petites images */
.nav__brand-logo,
.footer__brand-logo,
.hero__logo {
    image-rendering: auto;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

/* ==================================================================
   ATELIER GALLERY — Mini galerie sous la bannière plan technique
   ================================================================== */
.atelier-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}
.atelier-gallery__item {
    position: relative;
    aspect-ratio: 4/5;
    border-radius: 1rem;
    overflow: hidden;
    /* Fond avec un soupçon de bleu marine */
    background:
        radial-gradient(ellipse at 30% 30%, rgba(31, 58, 95, 0.06) 0%, transparent 60%),
        linear-gradient(135deg, var(--paper-soft) 0%, var(--paper-dark) 100%);
    transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.atelier-gallery__item:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 50px -15px rgba(31, 58, 95, 0.3);
}
.atelier-gallery__item img {
    width: 100%;
    height: 100%;
    /* On voit les pièces entières */
    object-fit: contain;
    padding: 1.25rem;
    transition: transform 0.8s var(--ease);
}
.atelier-gallery__item:hover img {
    transform: scale(1.06);
}
.atelier-gallery__item figcaption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem 1.25rem 1rem;
    background: linear-gradient(180deg, transparent, rgba(42, 31, 23, 0.9));
    color: var(--paper);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.01em;
}
@media (max-width: 768px) {
    .atelier-gallery {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .atelier-gallery__item { aspect-ratio: 16/10; }
}

/* ==================================================================
   RÉALISATIONS — Structure organisée par catégorie
   ================================================================== */
.realisations {
    padding: 10rem 0;
    background: var(--paper);
    position: relative;
}
.realisations__head {
    text-align: center;
    margin-bottom: 6rem;
}
.realisations__lede {
    max-width: 38rem;
    margin: 1.5rem auto 0;
    color: var(--ink-soft);
    font-size: 1.05rem;
    line-height: 1.6;
}

/* Bloc catégorie */
.cat-block {
    margin-bottom: 7rem;
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
}
.cat-block.is-revealed {
    opacity: 1;
    transform: translateY(0);
}
.cat-block:last-child {
    margin-bottom: 0;
}

/* Header catégorie avec ligne marine (rappel logo) */
.cat-block__header {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}
.cat-block__num {
    font-family: var(--font-display);
    font-style: italic;
    color: var(--navy);
    font-size: 1.1rem;
    font-weight: 400;
}
.cat-block__title {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 400;
    letter-spacing: -0.02em;
    color: var(--ink);
    margin: 0;
}
.cat-block__line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, var(--navy) 0%, var(--navy-light) 50%, transparent 100%);
    min-width: 2rem;
    margin: 0 0.5rem;
    opacity: 0.5;
}
.cat-block__sub {
    width: 100%;
    color: var(--ink-mute);
    font-size: 0.95rem;
    margin: 0;
    font-style: italic;
}

/* Grille catégorie */
.cat-grid {
    display: grid;
    gap: 1.5rem;
}
/* Verrières : 4 cartes, hero + 3 secondaires */
.cat-grid--verrieres {
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    grid-template-areas:
        "hero second third"
        "hero fourth fourth";
    aspect-ratio: 12/7;
    max-height: 620px;
}
.cat-grid--verrieres .cat-card:nth-child(1) { grid-area: hero; }
.cat-grid--verrieres .cat-card:nth-child(2) { grid-area: second; }
.cat-grid--verrieres .cat-card:nth-child(3) { grid-area: third; }
.cat-grid--verrieres .cat-card:nth-child(4) { grid-area: fourth; }

/* Claustras : 3 cartes */
.cat-grid--claustras {
    grid-template-columns: 2fr 1fr 1fr;
    aspect-ratio: 12/5;
    max-height: 460px;
}

/* Enseignes : 2 cartes seulement */
.cat-grid--enseignes {
    grid-template-columns: 1.6fr 1fr;
    aspect-ratio: 12/5;
    max-height: 460px;
}

/* Cards */
.cat-card {
    position: relative;
    border-radius: 1.25rem;
    overflow: hidden;
    background: var(--paper-soft);
    cursor: pointer;
    transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
    display: flex;
    flex-direction: column;
}
.cat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 25px 50px -15px rgba(31, 58, 95, 0.25);
}

.cat-card__media {
    position: relative;
    flex: 1;
    overflow: hidden;
    /* Fond avec léger gradient bleu marine pour faire écho au logo */
    background:
        linear-gradient(135deg, rgba(31, 58, 95, 0.04) 0%, rgba(232, 217, 181, 0.06) 100%),
        var(--paper-soft);
    display: flex;
    align-items: center;
    justify-content: center;
}
.cat-card__media img {
    width: 100%;
    height: 100%;
    /* CHANGEMENT CLÉ : on garde l'image entière sans la couper */
    object-fit: cover;
    object-position: center;
    transition: transform 0.7s var(--ease);
    will-change: transform;
}
.cat-card:hover .cat-card__media img {
    transform: scale(1.04);
}

/* Pour les enseignes (qui ont un fond souvent neutre ou plat), on utilise contain
   pour vraiment voir la pièce entière sans coupe */
.cat-card__media--neutral {
    background:
        radial-gradient(ellipse at center, #F0EBE0 0%, #E5DAC4 100%);
}
.cat-card__media--neutral img {
    object-fit: contain;
    padding: 1.5rem;
}

/* Caption en dessous */
.cat-card__caption {
    padding: 1.25rem 1.5rem;
    background: var(--paper);
    border-top: 1px solid var(--line-soft);
}
.cat-card__tag {
    display: block;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--navy);
    margin-bottom: 0.35rem;
}
.cat-card__title {
    display: block;
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 500;
    color: var(--ink);
    letter-spacing: -0.005em;
    line-height: 1.3;
}

/* Card hero (la plus grande) : titre plus important */
.cat-card--hero .cat-card__caption {
    padding: 1.5rem 1.75rem;
}
.cat-card--hero .cat-card__title {
    font-size: 1.25rem;
}

/* Responsive */
@media (max-width: 900px) {
    .cat-grid--verrieres {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto auto;
        grid-template-areas:
            "hero hero"
            "second third"
            "fourth fourth";
        aspect-ratio: auto;
        max-height: none;
    }
    .cat-grid--verrieres .cat-card:nth-child(1) { aspect-ratio: 16/10; }
    .cat-grid--verrieres .cat-card:nth-child(n+2) { aspect-ratio: 4/3; }

    .cat-grid--claustras {
        grid-template-columns: 1fr 1fr;
        grid-template-areas:
            "hero hero"
            "two three";
        aspect-ratio: auto;
        max-height: none;
    }
    .cat-grid--claustras .cat-card:nth-child(1) { grid-area: hero; aspect-ratio: 16/10; }
    .cat-grid--claustras .cat-card:nth-child(2) { grid-area: two; aspect-ratio: 4/3; }
    .cat-grid--claustras .cat-card:nth-child(3) { grid-area: three; aspect-ratio: 4/3; }

    .cat-grid--enseignes {
        grid-template-columns: 1fr;
        aspect-ratio: auto;
        max-height: none;
    }
    .cat-grid--enseignes .cat-card { aspect-ratio: 4/3; }
}
@media (max-width: 600px) {
    .realisations { padding: 6rem 0; }
    .cat-block { margin-bottom: 5rem; }
    .cat-block__line { display: none; }
}

/* ==================================================================
   ACCENTS BLEU MARINE — Détails qui rappellent le logo
   ================================================================== */

/* Ligne fine bleu marine sous la nav au scroll */
.nav.is-scrolled {
    border-bottom-color: rgba(31, 58, 95, 0.18);
    box-shadow: 0 1px 0 rgba(31, 58, 95, 0.08);
}

/* Liens de nav : underline en bleu marine */
.nav__link::after {
    background: var(--navy);
}

/* Section numbers : petit point bleu marine + ligne dégradée */
.section-num {
    color: var(--ink-mute);
}
.section-num::before {
    background: linear-gradient(90deg, var(--navy) 0%, var(--wood) 100%);
    height: 1px;
}

/* Italiques de titres : alternent désormais entre wood et navy selon les sections */
.process-scroll__step h4::before {
    content: '';
    display: inline-block;
    width: 0.4rem;
    height: 0.4rem;
    border-radius: 50%;
    background: var(--navy-light);
    margin-right: 0.5rem;
    vertical-align: middle;
    transform: translateY(-0.1rem);
}

/* Boutons primary : léger glow bleu marine au survol */
.btn--primary:hover {
    box-shadow:
        0 12px 30px -8px rgba(122, 74, 40, 0.5),
        0 0 0 1px rgba(31, 58, 95, 0.1);
}

/* Hero eyebrow : ligne en gradient marine */
.hero__eyebrow-line {
    background: linear-gradient(90deg, var(--navy) 0%, var(--ink-mute) 100%);
}

/* Hero scroll line : trace marine */
.hero__scroll-line::after {
    background: var(--navy);
}

/* Cartes contact-info : bordure top marine sur le premier */
.contact-info:first-of-type {
    border-top: 2px solid var(--navy);
}

/* Bouton "Envoyer ce devis" du config summary : bordure marine subtile */
.config-summary__sticky {
    border-top: 3px solid var(--navy);
}

/* Footer brand mark : liseré marine */
.footer__brand-logo {
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(74, 100, 133, 0.3);
}

/* Page header : petite ligne bleu marine décorative */
.page-header {
    position: relative;
}
.page-header::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 5rem;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--navy) 50%, transparent);
}

/* Form group focus : ring bleu marine léger */
.field input[type="text"]:focus,
.field input[type="email"]:focus,
.field input[type="tel"]:focus,
.field textarea:focus,
.field select:focus,
.config-form__group textarea:focus {
    border-color: var(--navy);
    box-shadow: 0 0 0 3px rgba(31, 58, 95, 0.12);
}

/* Radio cards sélectionnées : double bordure subtile */
.radio-card input:checked + .radio-card__inner {
    box-shadow:
        0 8px 20px -6px rgba(122, 74, 40, 0.4),
        inset 0 0 0 1px rgba(232, 217, 181, 0.3);
}

/* Process scroll step : ligne du haut en gradient */
.process-scroll__step {
    border-top: none;
    background: linear-gradient(180deg, rgba(122, 153, 194, 0.3) 0%, rgba(122, 153, 194, 0) 1px),
                linear-gradient(180deg, transparent 1px, transparent 100%);
    background-repeat: no-repeat;
    background-size: 100% 1px, 100% 100%;
    padding-top: 2.5rem;
}

/* Animation discrete : barre bleue qui apparaît sur les titres de catégorie */
.cat-block.is-revealed .cat-block__line {
    animation: lineGrow 1.2s cubic-bezier(0.22, 1, 0.36, 1) both;
    transform-origin: left;
}
@keyframes lineGrow {
    0% { transform: scaleX(0); }
    100% { transform: scaleX(1); }
}

/* ==================================================================
   ACCENTS BLEU MARINE V2 — Plus de lignes régulières, bleu plus foncé
   ================================================================== */

/* Lignes décoratives bleu marine entre les sections principales */
.spec-story::before,
.realisations::before,
.process-scroll::before,
.atelier-zoom::before,
.bottom-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--navy) 50%, transparent);
    opacity: 0.5;
}
.realisations,
.spec-story {
    position: relative;
}

/* Bordure marine fine en haut des sections sombres */
.process-scroll {
    border-top: 1px solid rgba(20, 37, 61, 0.4);
}

/* Encadrement bleu marine pour les cartes vedette */
.cat-card--hero {
    box-shadow: 0 0 0 1px rgba(20, 37, 61, 0.12);
}
.cat-card--hero:hover {
    box-shadow:
        0 0 0 1px var(--navy),
        0 25px 50px -15px rgba(20, 37, 61, 0.35);
}

/* Tags "Pièce signature" : bordure marine */
.cat-card__tag {
    color: var(--navy);
    border-left: 2px solid var(--navy);
    padding-left: 0.5rem;
    display: inline-block;
}

/* Ligne marine sous le titre de chaque catégorie */
.cat-block__title {
    position: relative;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--navy);
    display: inline-block;
    padding-right: 1.5rem;
    padding-left: 0.25rem;
}

/* Petits points marine devant les bullets des process */
.process-scroll__num::after {
    content: '';
    display: inline-block;
    width: 0.8rem;
    height: 1px;
    background: var(--cream);
    margin-left: 0.5rem;
    vertical-align: middle;
    transform: translateY(-0.1rem);
}

/* Footer : ligne marine sous le brand */
.footer__brand {
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(74, 100, 133, 0.2);
}

/* Pages headers : encadrement marine plus marqué */
.page-header {
    border-top: 1px solid rgba(20, 37, 61, 0.08);
}

/* Contact form : trait latéral marine */
.contact-form {
    border-left: 3px solid var(--navy);
}

/* Spec story : ligne marine verticale qui sépare image et texte */
@media (min-width: 901px) {
    .spec-story__sticky::before {
        content: '';
        position: absolute;
        top: 30%;
        bottom: 30%;
        left: 50%;
        width: 1px;
        background: linear-gradient(180deg, transparent, rgba(20, 37, 61, 0.15) 30%, rgba(20, 37, 61, 0.15) 70%, transparent);
        pointer-events: none;
    }
}

/* Section-num : encore plus de présence du marine */
.section-num {
    color: var(--navy);
    font-weight: 600;
}
.section-num::before {
    background: var(--navy);
    width: 1.5rem;
}

/* Section title em : alterne wood et navy par section pour rythmer */
.realisations .section-title em,
.process-scroll .section-title em {
    color: var(--cream);
}
.spec-story em,
.atelier-zoom em {
    color: var(--cream);
}

/* Configurator summary : touche marine */
.config-summary__sticky {
    border-top: 4px solid var(--navy);
}
.config-summary__title::after {
    content: '';
    display: block;
    width: 2rem;
    height: 1px;
    background: var(--cream);
    margin-top: 0.75rem;
}

/* Buttons primary : version "blueprint" avec touche marine au hover */
.btn--primary {
    position: relative;
}
.btn--primary::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    background: linear-gradient(135deg, var(--navy) 0%, transparent 100%);
    opacity: 0;
    z-index: -1;
    transition: opacity 0.4s var(--ease);
}
.btn--primary:hover::before {
    opacity: 0.15;
}

/* Caption des cards : ligne marine fine sous le titre */
.cat-card__caption {
    border-top: 1px solid rgba(20, 37, 61, 0.12);
}


/* ==================================================================
   SÉLECTEUR DE POLICE — Aperçu visuel des styles
   ================================================================== */
.radio-grid--2 {
    grid-template-columns: repeat(2, 1fr);
}
@media (max-width: 600px) {
    .radio-grid--2 { grid-template-columns: 1fr 1fr; }
}

/* Chaque nom de police s'affiche dans son propre style pour donner un aperçu */
.radio-card__name--font-sans {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    letter-spacing: -0.01em;
}
.radio-card__name--font-serif {
    font-family: 'Fraunces', Georgia, serif;
    font-weight: 600;
}
.radio-card__name--font-script {
    font-family: 'Dancing Script', cursive;
    font-weight: 600;
    font-size: 1.3rem;
}
.radio-card__name--font-modern {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    letter-spacing: 0.02em;
}

/* ==================================================================
   NOUVEAUTÉS — Logos, polices supplémentaires, palette large, CTA card
   ================================================================== */

/* Palette de couleurs LARGE (24 swatches) */
.color-row--wide {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 0.55rem;
    margin-bottom: 0.75rem;
}
@media (max-width: 700px) {
    .color-row--wide { grid-template-columns: repeat(8, 1fr); }
}
@media (max-width: 480px) {
    .color-row--wide { grid-template-columns: repeat(6, 1fr); }
}
.color-row--wide .color-swatch span {
    width: 2.1rem;
    height: 2.1rem;
}

/* Couleur "bois naturel" : motif de veine ajouté en CSS */
.color-swatch--wood span {
    background:
        repeating-linear-gradient(
            105deg,
            rgba(70, 40, 20, 0.18) 0px,
            rgba(70, 40, 20, 0.18) 2px,
            transparent 2px,
            transparent 7px
        ),
        var(--c) !important;
}

/* Polices artisan et déco pour l'aperçu */
.radio-card__name--font-artisan {
    font-family: 'Caveat', 'Fraunces', cursive;
    font-weight: 700;
    font-size: 1.4rem;
    letter-spacing: 0.01em;
}
.radio-card__name--font-deco {
    font-family: 'Cormorant Garamond', 'Inter', serif;
    font-weight: 300;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-size: 1rem;
}

/* Bouton "ghost-dark" (utilisé sur fond clair, version sombre) */
.btn--ghost-dark {
    background: transparent;
    color: var(--ink);
    border: 1px solid var(--ink);
}
.btn--ghost-dark:hover {
    background: var(--ink);
    color: var(--paper);
    transform: translateY(-2px);
}

/* Ligne de CTA dans spec-story (deux boutons côte à côte) */
.spec-story__cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

/* ==================================================================
   CATÉGORIE LOGOS — Carte CTA (en attendant des photos)
   ================================================================== */
.cat-grid--claustras-verrieres {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: minmax(220px, 1fr);
    gap: 1.5rem;
}
.cat-grid--claustras-verrieres .cat-card--hero {
    grid-column: span 2;
    grid-row: span 2;
}
@media (max-width: 900px) {
    .cat-grid--claustras-verrieres {
        grid-template-columns: 1fr 1fr;
    }
    .cat-grid--claustras-verrieres .cat-card--hero {
        grid-column: span 2;
        grid-row: span 1;
    }
}
@media (max-width: 600px) {
    .cat-grid--claustras-verrieres {
        grid-template-columns: 1fr;
        grid-auto-rows: 220px;
    }
    .cat-grid--claustras-verrieres .cat-card--hero {
        grid-column: span 1;
    }
}

.cat-grid--lettrages {
    grid-template-columns: 1.6fr 1fr;
    aspect-ratio: 12/5;
    max-height: 460px;
}
@media (max-width: 700px) {
    .cat-grid--lettrages {
        grid-template-columns: 1fr;
        aspect-ratio: auto;
        max-height: none;
    }
    .cat-grid--lettrages .cat-card { aspect-ratio: 4/3; }
}

.cat-grid--logos {
    grid-template-columns: 1fr;
    max-height: 360px;
}

/* Carte CTA (pas de photo, juste un call-to-action stylé) */
.cat-card--cta {
    background:
        radial-gradient(ellipse at 30% 30%, rgba(31, 58, 95, 0.15) 0%, transparent 60%),
        linear-gradient(135deg, var(--ink) 0%, var(--navy) 100%);
    color: var(--paper);
    overflow: hidden;
    position: relative;
}
.cat-card--cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cdefs%3E%3Cpattern id='p' x='0' y='0' width='30' height='30' patternUnits='userSpaceOnUse'%3E%3Crect x='1' y='1' width='28' height='28' fill='none' stroke='%23F5EFE6' stroke-width='0.3'/%3E%3Ccircle cx='15' cy='15' r='8' fill='none' stroke='%23F5EFE6' stroke-width='0.3'/%3E%3C/pattern%3E%3C/defs%3E%3Crect width='80' height='80' fill='url(%23p)'/%3E%3C/svg%3E");
    opacity: 0.15;
    pointer-events: none;
}
.cat-card--cta:hover {
    box-shadow: 0 30px 70px -20px rgba(20, 37, 61, 0.5);
}

.cat-card__cta-inner {
    position: relative;
    z-index: 1;
    padding: 3rem 2.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 320px;
    gap: 1.25rem;
}
.cat-card__cta-icon {
    width: 3.5rem;
    height: 3.5rem;
    color: var(--cream);
    margin-bottom: 0.5rem;
    transition: transform 0.5s var(--ease);
}
.cat-card--cta:hover .cat-card__cta-icon {
    transform: rotate(-6deg) scale(1.1);
}
.cat-card__cta-title {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 400;
    letter-spacing: -0.02em;
    color: var(--paper);
    line-height: 1.1;
}
.cat-card__cta-desc {
    font-size: 0.95rem;
    color: var(--paper-dark);
    max-width: 28rem;
    line-height: 1.55;
}
.cat-card__cta-arrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.75rem;
    padding: 0.75rem 1.5rem;
    background: var(--cream);
    color: var(--ink);
    border-radius: 999px;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.4s var(--ease);
}
.cat-card__cta-arrow svg {
    width: 1rem;
    height: 1rem;
    transition: transform 0.4s var(--ease);
}
.cat-card--cta:hover .cat-card__cta-arrow {
    background: var(--paper);
    transform: translateY(-2px);
}
.cat-card--cta:hover .cat-card__cta-arrow svg {
    transform: translateX(4px);
}


/* ==================================================================
   ZONES DE LIVRAISON — Liste structurée
   ================================================================== */
.contact-info--zones {
    grid-column: 1 / -1;
}
.contact-zones {
    list-style: none;
    padding: 0;
    margin: 0.5rem 0 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.contact-zones li {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    padding-left: 0.85rem;
    border-left: 2px solid var(--navy);
}
.contact-zones strong {
    font-weight: 500;
    color: var(--ink);
    font-size: 0.95rem;
}
.contact-zones span {
    color: var(--ink-soft);
    font-size: 0.85rem;
    font-style: italic;
}

/* ==================================================================
   SWATCH TRANSPARENT — Motif damier pour montrer la transparence
   ================================================================== */
.color-swatch--transparent span {
    background-image:
        linear-gradient(45deg, #C8C8C8 25%, transparent 25%),
        linear-gradient(-45deg, #C8C8C8 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, #C8C8C8 75%),
        linear-gradient(-45deg, transparent 75%, #C8C8C8 75%);
    background-size: 12px 12px;
    background-position: 0 0, 0 6px, 6px -6px, -6px 0px;
    background-color: #FFFFFF;
    position: relative;
}
.color-swatch--transparent span::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.6), rgba(255,255,255,0));
    border-radius: inherit;
    pointer-events: none;
}

/* ==================================================================
   QUICKLINKS — 3 cards d'accès rapide sur l'accueil
   ================================================================== */
.quicklinks {
    padding: 10rem 0;
    background: var(--paper);
    position: relative;
}
.quicklinks::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--navy) 50%, transparent);
    opacity: 0.5;
}
.quicklinks__head {
    text-align: center;
    margin-bottom: 5rem;
}
.quicklinks__lede {
    max-width: 38rem;
    margin: 1.5rem auto 0;
    color: var(--ink-soft);
    font-size: 1.05rem;
    line-height: 1.6;
}
.quicklinks__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
}
.quicklinks__grid.is-revealed {
    opacity: 1;
    transform: translateY(0);
}
@media (max-width: 900px) {
    .quicklinks__grid { grid-template-columns: 1fr; gap: 1.5rem; }
}

.quicklink-card {
    background: var(--paper);
    border-radius: 1.25rem;
    overflow: hidden;
    box-shadow: 0 0 0 1px rgba(20, 37, 61, 0.1);
    transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
    display: flex;
    flex-direction: column;
}
.quicklink-card:hover {
    transform: translateY(-6px);
    box-shadow:
        0 0 0 1px var(--navy),
        0 25px 50px -15px rgba(20, 37, 61, 0.3);
}
.quicklink-card__media {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
    background: var(--paper-soft);
}
.quicklink-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.7s var(--ease);
}
.quicklink-card:hover .quicklink-card__media img {
    transform: scale(1.06);
}
.quicklink-card__media--gradient {
    background:
        radial-gradient(ellipse at 30% 30%, rgba(74, 100, 133, 0.4) 0%, transparent 60%),
        linear-gradient(135deg, var(--ink) 0%, var(--navy) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}
.quicklink-card__icon {
    width: 5rem;
    height: 5rem;
    color: var(--cream);
    transition: transform 0.5s var(--ease);
}
.quicklink-card:hover .quicklink-card__icon {
    transform: rotate(-4deg) scale(1.08);
}

.quicklink-card__body {
    padding: 2rem 1.75rem 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex: 1;
}
.quicklink-card__num {
    font-family: var(--font-display);
    font-style: italic;
    color: var(--navy);
    font-size: 0.95rem;
    font-weight: 500;
}
.quicklink-card__title {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 400;
    letter-spacing: -0.02em;
    color: var(--ink);
    margin: 0;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--navy);
    display: inline-block;
    align-self: flex-start;
}
.quicklink-card__desc {
    color: var(--ink-soft);
    font-size: 0.95rem;
    line-height: 1.55;
    margin: 0.5rem 0 0.75rem;
    flex: 1;
}
.quicklink-card__arrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--navy);
    font-size: 0.9rem;
    font-weight: 500;
    transition: gap 0.3s var(--ease);
}
.quicklink-card__arrow svg {
    width: 1rem;
    height: 1rem;
    transition: transform 0.3s var(--ease);
}
.quicklink-card:hover .quicklink-card__arrow {
    gap: 0.8rem;
}
.quicklink-card:hover .quicklink-card__arrow svg {
    transform: translateX(4px);
}
@media (max-width: 600px) {
    .quicklinks { padding: 6rem 0; }
}

/* ==================================================================
   BOUTONS FLOTTANTS (WhatsApp + Rappel)
   ================================================================== */
.floating-actions {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    z-index: 100;
    align-items: flex-end;
}
/* ==================================================================
   MODALE (rappel)
   ================================================================== */
.modal {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s var(--ease), visibility 0s linear 0.3s;
}
.modal.is-open {
    visibility: visible;
    opacity: 1;
    transition: opacity 0.3s var(--ease), visibility 0s;
}
.modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(20, 37, 61, 0.6);
    backdrop-filter: blur(4px);
}
.modal__panel {
    position: relative;
    background: var(--paper);
    border-radius: 1.25rem;
    width: min(90vw, 480px);
    max-height: 90vh;
    overflow-y: auto;
    padding: 2.5rem 2rem 2rem;
    box-shadow: 0 30px 60px rgba(0,0,0,0.3);
    transform: scale(0.95);
    transition: transform 0.3s var(--ease);
}
.modal.is-open .modal__panel { transform: scale(1); }
.modal__close {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: transparent;
    cursor: pointer;
    color: var(--ink);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}
.modal__close:hover { background: rgba(0,0,0,0.08); }
.modal__close svg { width: 18px; height: 18px; }
.modal__title {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 400;
    margin: 0 0 0.5rem;
    color: var(--ink);
}
.modal__lede {
    color: var(--ink-soft);
    font-size: 0.95rem;
    margin: 0 0 1.5rem;
}
.modal__form { display: flex; flex-direction: column; gap: 1.2rem; }
.modal__form .field label { display: block; font-size: 0.85rem; color: var(--ink-soft); margin-bottom: 0.4rem; font-weight: 500; }
.modal__form input[type="text"],
.modal__form input[type="tel"],
.modal__form select {
    width: 100%;
    padding: 0.7rem 0.9rem;
    border: 1px solid rgba(20, 37, 61, 0.2);
    border-radius: 0.5rem;
    font-size: 0.95rem;
    font-family: inherit;
    background: var(--paper);
    transition: border-color 0.2s;
}
.modal__form input:focus,
.modal__form select:focus {
    outline: none;
    border-color: var(--navy);
}
.radio-row { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.radio-chip { position: relative; cursor: pointer; }
.radio-chip input { position: absolute; opacity: 0; }
.radio-chip span {
    display: inline-block;
    padding: 0.45rem 0.85rem;
    border: 1.5px solid rgba(20, 37, 61, 0.25);
    border-radius: 999px;
    font-size: 0.85rem;
    transition: all 0.2s;
}
.radio-chip input:checked + span {
    background: var(--navy);
    color: var(--paper);
    border-color: var(--navy);
}
.modal__hint {
    font-size: 0.78rem;
    color: var(--ink-soft);
    font-style: italic;
    margin: 0;
    line-height: 1.5;
}

/* ==================================================================
   AVANT / APRÈS — Slider draggable
   ================================================================== */
.before-after-section {
    padding: 6rem 0 4rem;
    background: var(--paper);
}
.before-after-section__head {
    text-align: center;
    margin-bottom: 3rem;
}
.before-after-section__lede {
    max-width: 38rem;
    margin: 1.25rem auto 0;
    color: var(--ink-soft);
    font-size: 1.05rem;
    line-height: 1.6;
}
.before-after-grid {
    display: grid;
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}
.before-after {
    position: relative;
    aspect-ratio: 16/10;
    border-radius: 1rem;
    overflow: hidden;
    cursor: ew-resize;
    user-select: none;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    background: var(--paper-soft);
}
.before-after__before,
.before-after__after {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}
.before-after__after {
    clip-path: inset(0 0 0 50%);
    /* Filtre pour différencier le "après" tant qu'il n'y a pas de vraies photos */
    filter: saturate(1.15) brightness(1.05);
}
.before-after__handle {
    position: absolute;
    top: 0;
    left: 50%;
    width: 4px;
    height: 100%;
    background: rgba(255,255,255,0.9);
    box-shadow: 0 0 10px rgba(0,0,0,0.4);
    transform: translateX(-50%);
    pointer-events: none;
}
.before-after__handle::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 44px;
    height: 44px;
    background: rgba(255,255,255,0.98);
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}
.before-after__handle svg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 22px;
    height: 22px;
    color: var(--navy);
    z-index: 1;
}
.before-after__label {
    position: absolute;
    top: 1rem;
    padding: 0.4rem 0.85rem;
    border-radius: 999px;
    background: rgba(20, 37, 61, 0.85);
    color: var(--paper);
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    pointer-events: none;
}
.before-after__label--before { left: 1rem; }
.before-after__label--after { right: 1rem; }
.before-after-section__note {
    text-align: center;
    margin-top: 1.5rem;
    color: var(--ink-soft);
    font-size: 0.85rem;
}

/* ==================================================================
   CARTE LEAFLET
   ================================================================== */
.zone-map-wrapper {
    margin-top: 1rem;
}
.zone-map {
    height: 280px;
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    background: var(--paper-soft);
    border: 1px solid rgba(20, 37, 61, 0.1);
}
.zone-map__note {
    margin-top: 0.65rem;
    font-size: 0.78rem;
    color: var(--ink-soft);
    font-style: italic;
    line-height: 1.55;
}
.leaflet-container { font-family: var(--font-body); }

/* ==================================================================
   BOUTONS FLOTTANTS — WhatsApp + Rappel
   ================================================================== */
.floating-btn {
    position: fixed;
    right: 1.5rem;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
    z-index: 999;
    text-decoration: none;
    /* Évite les artefacts de rendu (ghost lors d'un repaint compositor) */
    backface-visibility: hidden;
    will-change: background-color;
    transform: translateZ(0);
}
.floating-btn svg { width: 1.75rem; height: 1.75rem; pointer-events: none; }
.floating-btn:focus { outline: 2px solid rgba(255,255,255,0.6); outline-offset: 3px; }
.floating-btn:active { transform: translateZ(0) scale(0.94); }

.floating-btn--whatsapp {
    bottom: 6rem;
    background-color: #25D366;
}
.floating-btn--whatsapp:hover { background-color: #1FB855; }
.floating-btn--whatsapp:active { background-color: #189A47; }

.floating-btn--callback {
    bottom: 1.5rem;
    background-color: #14253D;
}
.floating-btn--callback:hover { background-color: #1F3A5F; }
.floating-btn--callback:active { background-color: #0F1B2D; }

@media (max-width: 600px) {
    .floating-btn { width: 3.25rem; height: 3.25rem; right: 1rem; }
    .floating-btn svg { width: 1.5rem; height: 1.5rem; }
    .floating-btn--whatsapp { bottom: 5rem; }
    .floating-btn--callback { bottom: 1rem; }
}

/* === MODALE Demande de rappel === */
.callback-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}
.callback-modal.is-open {
    display: flex;
}
.callback-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(20, 37, 61, 0.55);
    backdrop-filter: blur(4px);
    animation: fadeIn 0.25s ease-out;
}
.callback-modal__panel {
    position: relative;
    background: var(--paper);
    border-radius: 1rem;
    padding: 2.5rem 2rem 2rem;
    max-width: 28rem;
    width: 100%;
    box-shadow: 0 25px 80px rgba(20, 37, 61, 0.4);
    animation: slideUp 0.3s var(--ease);
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.callback-modal__close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--ink-soft);
    padding: 0.5rem;
    border-radius: 0.5rem;
    transition: all 0.2s;
}
.callback-modal__close:hover { background: var(--paper-soft); color: var(--ink); }
.callback-modal__close svg { width: 1.25rem; height: 1.25rem; }
.callback-modal__title {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 400;
    margin: 0 0 0.5rem;
    color: var(--ink);
}
.callback-modal__lede {
    color: var(--ink-soft);
    font-size: 0.95rem;
    margin: 0 0 1.5rem;
    line-height: 1.5;
}
.callback-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.callback-form .field label {
    font-size: 0.85rem;
    color: var(--ink-soft);
    margin-bottom: 0.35rem;
    display: block;
}
.callback-form input,
.callback-form select {
    width: 100%;
    padding: 0.7rem 0.9rem;
    border: 1px solid rgba(20, 37, 61, 0.2);
    border-radius: 0.5rem;
    background: white;
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--ink);
    transition: border-color 0.2s;
}
.callback-form input:focus,
.callback-form select:focus {
    outline: none;
    border-color: var(--navy);
}

/* ==================================================================
   CARTE ZONE D'INTERVENTION (Leaflet)
   ================================================================== */
.map-zone {
    padding: 8rem 0;
    background: var(--paper);
    position: relative;
}
.map-zone__head {
    text-align: center;
    margin-bottom: 3.5rem;
}
.map-zone__lede {
    max-width: 38rem;
    margin: 1.5rem auto 0;
    color: var(--ink-soft);
    font-size: 1.05rem;
    line-height: 1.6;
}
.map-zone__container {
    position: relative;
    border-radius: 1.25rem;
    overflow: hidden;
    box-shadow: 0 0 0 1px rgba(20, 37, 61, 0.1),
                0 20px 50px -20px rgba(20, 37, 61, 0.3);
}
#map-intervention {
    width: 100%;
    height: 480px;
    background: #ecedef;
}
.map-zone__legend {
    background: var(--paper);
    padding: 1.25rem 1.75rem;
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    border-top: 1px solid rgba(20, 37, 61, 0.1);
}
.map-zone__legend-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.9rem;
    color: var(--ink);
}
.map-zone__legend-dot {
    width: 1rem;
    height: 1rem;
    border-radius: 50%;
    flex-shrink: 0;
}
.map-zone__legend-dot--center {
    background: var(--navy);
    box-shadow: 0 0 0 3px rgba(20, 37, 61, 0.18);
}
.map-zone__legend-dot--zone {
    background: rgba(160, 104, 62, 0.25);
    border: 2px solid var(--wood);
}
@media (max-width: 720px) {
    .map-zone { padding: 5rem 0; }
    #map-intervention { height: 380px; }
    .map-zone__legend { padding: 1rem 1.25rem; gap: 1rem; }
}

/* ==================================================================
   AVANT / APRÈS SLIDER
   ================================================================== */
.before-after {
    padding: 8rem 0;
    background: linear-gradient(180deg, var(--paper), var(--paper-soft));
}
.before-after__head {
    text-align: center;
    margin-bottom: 3rem;
}
.before-after__lede {
    max-width: 38rem;
    margin: 1.5rem auto 0;
    color: var(--ink-soft);
    font-size: 1.05rem;
    line-height: 1.6;
}
.before-after__widget {
    max-width: 60rem;
    margin: 0 auto;
}
.before-after__hint {
    text-align: center;
    margin-top: 1rem;
    color: var(--ink-soft);
    font-size: 0.9rem;
    font-style: italic;
}

.ba-slider {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border-radius: 1.25rem;
    box-shadow: 0 0 0 1px rgba(20, 37, 61, 0.1),
                0 20px 50px -20px rgba(20, 37, 61, 0.35);
    user-select: none;
    cursor: ew-resize;
}
.ba-slider__before,
.ba-slider__after {
    position: absolute;
    inset: 0;
    overflow: hidden;
}
.ba-slider__before img,
.ba-slider__after img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}
.ba-slider__after {
    /* Au démarrage le panneau "après" couvre 50% à droite */
    clip-path: polygon(50% 0, 100% 0, 100% 100%, 50% 100%);
}
.ba-slider__tag {
    position: absolute;
    top: 1rem;
    padding: 0.4rem 0.85rem;
    background: rgba(20, 37, 61, 0.85);
    color: white;
    font-size: 0.85rem;
    font-weight: 500;
    border-radius: 0.4rem;
    backdrop-filter: blur(4px);
    pointer-events: none;
}
.ba-slider__tag--before { left: 1rem; }
.ba-slider__tag--after { right: 1rem; }

.ba-slider__handle {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    background: white;
    border: none;
    cursor: ew-resize;
    padding: 0;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.4);
}
.ba-slider__handle::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 3rem;
    height: 3rem;
    background: white;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}
.ba-slider__handle svg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 1.5rem;
    height: 1.5rem;
    color: var(--navy);
    z-index: 2;
}
@media (max-width: 600px) {
    .before-after { padding: 5rem 0; }
    .ba-slider { aspect-ratio: 4/3; }
    .ba-slider__tag { font-size: 0.75rem; padding: 0.3rem 0.6rem; top: 0.6rem; }
    .ba-slider__tag--before { left: 0.6rem; }
    .ba-slider__tag--after { right: 0.6rem; }
    .ba-slider__handle::before { width: 2.5rem; height: 2.5rem; }
}

/* ==================================================================
   MODE AR (Réalité Augmentée)
   ================================================================== */
.viewer3d__actions {
    margin-top: 1rem;
    display: flex;
    justify-content: center;
}
.btn--ar {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    position: relative;
}
.btn--ar svg { width: 1.25rem; height: 1.25rem; }
.btn--ar small {
    font-size: 0.7rem;
    opacity: 0.7;
    font-weight: 400;
    margin-left: 0.3rem;
}

.ar-modal {
    position: fixed;
    inset: 0;
    z-index: 1100;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}
.ar-modal.is-open { display: flex; }
.ar-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(20, 37, 61, 0.65);
    backdrop-filter: blur(6px);
}
.ar-modal__panel {
    position: relative;
    background: var(--paper);
    border-radius: 1rem;
    padding: 2rem;
    max-width: 38rem;
    width: 100%;
    box-shadow: 0 25px 80px rgba(20, 37, 61, 0.4);
    max-height: 90vh;
    overflow-y: auto;
}
.ar-modal__close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--ink-soft);
    padding: 0.5rem;
    border-radius: 0.5rem;
}
.ar-modal__close:hover { background: var(--paper-soft); color: var(--ink); }
.ar-modal__close svg { width: 1.25rem; height: 1.25rem; }
.ar-modal__title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 400;
    margin: 0 0 0.5rem;
    color: var(--ink);
}
.ar-modal__lede {
    color: var(--ink-soft);
    font-size: 0.95rem;
    margin: 0 0 1.25rem;
}
.ar-modal__viewer {
    background: linear-gradient(135deg, var(--paper-soft), #e8e2d4);
    border-radius: 0.75rem;
    overflow: hidden;
    aspect-ratio: 1;
    margin-bottom: 1rem;
}
.ar-modal__viewer model-viewer {
    width: 100%;
    height: 100%;
    background: transparent;
}
.ar-modal__hint {
    color: var(--ink-soft);
    font-size: 0.85rem;
    font-style: italic;
    margin: 0;
    text-align: center;
    line-height: 1.5;
}

/* ==================================================================
   BOUTON SECONDAIRE & PDF
   ================================================================== */
.btn--secondary {
    background: transparent;
    color: var(--ink);
    border: 1px solid rgba(20, 37, 61, 0.25);
}
.btn--secondary:hover {
    background: var(--paper-soft);
    border-color: var(--navy);
}
/* Variante PDF : visible sur fond foncé (.config-summary__sticky a fond --ink) */
.btn--pdf {
    margin-top: 0.6rem;
    font-size: 0.92rem;
    background: rgba(255, 255, 255, 0.08);
    color: var(--paper);
    border: 1px solid rgba(245, 239, 230, 0.35);
}
.btn--pdf:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(245, 239, 230, 0.6);
    color: var(--paper);
}
.btn--pdf svg {
    width: 1.1rem;
    height: 1.1rem;
}

/* ==================================================================
   SECTION AR CLAUSTRAS — Modèles d'inspiration
   ================================================================== */
.claustra-ar {
    padding: 8rem 0;
    background: linear-gradient(180deg, var(--paper-soft), var(--paper));
}
.claustra-ar__head {
    text-align: center;
    margin-bottom: 3.5rem;
}
.claustra-ar__lede {
    max-width: 38rem;
    margin: 1.5rem auto 0;
    color: var(--ink-soft);
    font-size: 1.05rem;
    line-height: 1.6;
}
.claustra-ar__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    max-width: 70rem;
    margin: 0 auto;
}
.claustra-ar__card {
    background: var(--paper);
    border: none;
    border-radius: 1rem;
    overflow: hidden;
    cursor: pointer;
    text-align: left;
    padding: 0;
    box-shadow: 0 0 0 1px rgba(20, 37, 61, 0.1);
    transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
    font-family: inherit;
}
.claustra-ar__card:hover {
    transform: translateY(-4px);
    box-shadow: 0 0 0 1px var(--navy), 0 20px 40px -15px rgba(20, 37, 61, 0.3);
}
.claustra-ar__media {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
}
.claustra-ar__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s var(--ease);
}
.claustra-ar__card:hover .claustra-ar__media img {
    transform: scale(1.05);
}
.claustra-ar__badge {
    position: absolute;
    bottom: 0.75rem;
    right: 0.75rem;
    background: var(--navy);
    color: white;
    padding: 0.45rem 0.75rem;
    border-radius: 0.4rem;
    font-size: 0.8rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}
.claustra-ar__badge svg { width: 0.9rem; height: 0.9rem; }
.claustra-ar__caption {
    padding: 1.1rem 1.25rem 1.25rem;
}
.claustra-ar__caption h3 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 400;
    margin: 0 0 0.35rem;
    color: var(--ink);
}
.claustra-ar__caption p {
    color: var(--ink-soft);
    font-size: 0.85rem;
    margin: 0;
}
@media (max-width: 600px) {
    .claustra-ar { padding: 5rem 0; }
}

/* ==================================================================
   FILIGRANE sur les viewers 3D (anti-vol idées)
   ================================================================== */
.viewer3d__watermark {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 5;
    opacity: 0.13;
    transform: rotate(-22deg) scale(1.6);
    transform-origin: center;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    user-select: none;
}
.viewer3d__watermark span {
    font-family: var(--font-display), serif;
    font-weight: 600;
    font-size: 1.05rem;
    letter-spacing: 0.18em;
    color: var(--ink);
    white-space: nowrap;
    line-height: 2.6;
    display: block;
    text-shadow: 0 1px 1px rgba(255, 255, 255, 0.4);
}
@media (max-width: 720px) {
    .viewer3d__watermark span { font-size: 0.85rem; line-height: 2.2; }
}

/* ==================================================================
   NORMALISATION DU CADRAGE DES IMAGES
   Applique object-fit: cover sur toutes les images de galleries pour que
   le cadrage soit toujours propre quel que soit le ratio source.
   ================================================================== */

/* Galerie inspi (claustras + lettrages) — 4:3 paysage uniforme */
.inspi__item {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 0.9rem;
    background: var(--paper-soft);
    position: relative;
}
.inspi__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.6s var(--ease);
}
.inspi__item:hover img { transform: scale(1.03); }

/* Galerie inspi--enseignes : on garde un peu plus carré (5:4) pour les lettrages */
.inspi__grid--enseignes .inspi__item {
    aspect-ratio: 5 / 4;
}

/* Cards AR claustras — déjà en 4:3 normalement, on confirme */
.claustra-ar__media {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--paper-soft);
}
.claustra-ar__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Cartes quicklinks (Lancez-vous, en 3 clics) */
.quicklink-card__media {
    aspect-ratio: 3 / 2;
    overflow: hidden;
    background: var(--paper-soft);
}
.quicklink-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* Photos atelier */
.atelier-shot img,
.atelier__visual img,
.realisations__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* Spec-stories (3 grandes sections accueil) */
.spec-card__visual {
    aspect-ratio: 5 / 4;
    overflow: hidden;
    border-radius: 0.9rem;
    background: var(--paper-soft);
}
.spec-card__visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* Avant/après — déjà géré, on confirme le bon cadrage */
.ba-slider__before img,
.ba-slider__after img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* ==================================================================
   GALERIE RÉALISATIONS LOGOS
   ================================================================== */
.logos-gallery {
    padding: 7rem 0 5rem;
    background: var(--paper);
}
.logos-gallery__head {
    text-align: center;
    margin-bottom: 3rem;
}
.logos-gallery__lede {
    max-width: 38rem;
    margin: 1.25rem auto 0;
    color: var(--ink-soft);
    font-size: 1.05rem;
    line-height: 1.6;
}

.logos-gallery__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 1.25rem;
    max-width: 70rem;
    margin: 0 auto;
}
.logos-gallery__item {
    position: relative;
    margin: 0;
    overflow: hidden;
    border-radius: 1rem;
    background: var(--paper-soft);
    aspect-ratio: 4 / 3;
    box-shadow: 0 0 0 1px rgba(20, 37, 61, 0.08);
}
.logos-gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.6s var(--ease);
}
.logos-gallery__item:hover img { transform: scale(1.04); }

.logos-gallery__item figcaption {
    position: absolute;
    inset: auto 0 0 0;
    padding: 1.5rem 1.25rem 1rem;
    background: linear-gradient(to top, rgba(20, 37, 61, 0.85), rgba(20, 37, 61, 0));
    color: white;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}
.logos-gallery__item figcaption strong {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 500;
}
.logos-gallery__item figcaption span {
    font-size: 0.85rem;
    opacity: 0.85;
}

/* Image vedette : occupe 2 lignes à gauche */
.logos-gallery__item--feature {
    grid-row: span 2;
    aspect-ratio: auto;
}
.logos-gallery__item--feature figcaption strong {
    font-size: 1.35rem;
}

@media (max-width: 800px) {
    .logos-gallery__grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
    }
    .logos-gallery__item--feature {
        grid-row: auto;
        grid-column: span 2;
        aspect-ratio: 16 / 10;
    }
}
@media (max-width: 480px) {
    .logos-gallery__grid {
        grid-template-columns: 1fr;
    }
    .logos-gallery__item--feature {
        grid-column: auto;
    }
}
