/* =========================================================================
   VARIABLES & RESET
   ========================================================================= */
   :root {
    /* Couleurs (Basées sur le logo) */
    --c-white: #FFFFFF;
    --c-dark: #12151A;
    --c-gold: #B8962E;
    --c-blue: #2E6E8E;
    --c-gray: #6B6B6B;
    --fond-hero: #0E0E0E;

    /* Typographie (Géométrique / Modern) */
    --f-title: 'Outfit', sans-serif;
    --f-body: 'Inter', sans-serif;

    /* Spacing & Transitions */
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out: cubic-bezier(0.76, 0, 0.24, 1);
    --transition-slow: 1.2s var(--ease-out-expo);
    --transition-fast: 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    background-color: var(--c-white);
    /* For custom cursor */
    cursor: none; 
}

body {
    font-family: var(--f-body);
    font-weight: 300;
    color: var(--c-dark);
    line-height: 1.6;
    overflow-x: hidden;
    background-color: var(--c-white);
}

body.loading {
    overflow: hidden;
}

@keyframes cinematic-logo {
    0% { transform: scale(0.95); opacity: 0; filter: blur(10px); }
    15% { transform: scale(1); opacity: 1; filter: blur(0); }
    85% { transform: scale(1.02); opacity: 1; filter: blur(0); }
    100% { transform: scale(1.1); opacity: 0; filter: blur(5px); }
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--f-title);
    font-weight: 700;
    color: var(--c-dark);
}

a {
    text-decoration: none;
    color: inherit;
    cursor: none;
}

ul {
    list-style: none;
}

button {
    cursor: none;
}

/* =========================================================================
   CUSTOM CURSOR
   ========================================================================= */
#cursor-dot, #cursor-circle {
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    mix-blend-mode: difference;
    transition: width 0.3s, height 0.3s, background-color 0.3s;
}

#cursor-dot {
    width: 8px;
    height: 8px;
    background-color: var(--c-white);
}

#cursor-circle {
    width: 32px;
    height: 32px;
    border: 1px solid var(--c-white);
    transition: transform 0.1s, width 0.3s, height 0.3s, background-color 0.3s;
}

/* Hover state */
#cursor-circle.hovered {
    transform: translate(-50%, -50%) scale(1.8);
    background-color: rgba(255, 255, 255, 0.1);
}

/* =========================================================================
   TYPOGRAPHY UTILITIES
   ========================================================================= */
.label-caps {
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.gold-text { color: var(--c-gold); }

.dark-theme {
    background-color: var(--c-dark);
    color: var(--c-white);
}
.dark-theme h2, .dark-theme h3 {
    color: var(--c-white);
}

/* =========================================================================
   NAVIGATION
   ========================================================================= */
#navbar {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    padding: 28px 60px;
    transition: var(--transition-fast);
    transform: translateY(-20px);
    opacity: 0;
    animation: nav-enter 1s var(--ease-out-expo) 0.2s forwards;
}

#navbar.scrolled {
    padding: 18px 60px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
}
.dark-theme-visible #navbar.scrolled {
    background: rgba(28, 28, 28, 0.85);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    color: var(--c-white);
}
.dark-theme-visible #navbar.scrolled .logo-text,
.dark-theme-visible #navbar.scrolled .nav-links a {
    color: var(--c-white);
}

@keyframes nav-enter {
    to { transform: translateY(0); opacity: 1; }
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-text {
    font-family: var(--f-title);
    letter-spacing: 0.3em;
    font-size: 22px;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-links a {
    font-family: var(--f-body);
    font-weight: 400;
    font-size: 14px;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.nav-links a:hover {
    opacity: 1;
}

.nav-icons {
    display: flex;
    gap: 20px;
}

.icon {
    opacity: 0.7;
    transition: opacity 0.3s;
}
.icon:hover { opacity: 1;}

.burger { display: none; }

/* =========================================================================
   1. HERO SECTION
   ========================================================================= */
#hero.hero-cinematic {
    height: 100vh;
    background: linear-gradient(-45deg, var(--c-dark), var(--c-blue), var(--c-gold), var(--c-dark));
    background-size: 400% 400%;
    animation: bg-gradient-flow 15s ease infinite;
    overflow: hidden;
    position: relative;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

@keyframes bg-gradient-flow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.hero-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    /* Overlay sombre pour garantir que le texte et le logo restent très lisibles malgré les couleurs vives */
    background: radial-gradient(circle at center, rgba(18, 21, 26, 0.6) 0%, rgba(18, 21, 26, 0.85) 100%);
    animation: pulse-glow 4s infinite alternate ease-in-out;
}

@keyframes pulse-glow {
    from { opacity: 0.8; }
    to { opacity: 1; }
}

#logo-hero-wrapper {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 600px;
    z-index: 10;
    pointer-events: none;
    display: flex;
    justify-content: center;
}

#logo-hero {
    width: 400px;
    height: auto;
    overflow: visible;
}

/* On surcharge la position hero-content pour l'afficher en bas correctement */
.hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 40px;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    color: var(--c-white);
    align-items: end;
    padding-bottom: 40px;
}

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

.hero-watermark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 65vw;
    min-width: 600px;
    opacity: 0.04;
    pointer-events: none;
    z-index: -1;
    display: flex;
    justify-content: center;
}

.hero-watermark img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.hero-center h1 {
    font-size: clamp(60px, 8vw, 120px);
    line-height: 1;
    color: var(--c-white);
    margin-bottom: 40px;
}

.hero-left p, .hero-right p {
    font-size: 15px;
    opacity: 0.9;
    max-width: 300px;
}
.hero-right p {
    margin-left: auto;
    text-align: right;
}

.btn-cta {
    display: inline-block;
    padding: 18px 36px;
    border: 1px solid rgba(255,255,255,0.4);
    border-radius: 100px;
    font-size: 12px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
    transition: border-color 0.4s;
    background: transparent;
}
.btn-cta .btn-text {
    position: relative;
    z-index: 2;
}

.btn-cta::before {
    content: '';
    position: absolute;
    top: 0; left: 0; bottom: 0;
    width: 0%;
    background-color: var(--c-gold);
    transition: width 0.6s var(--ease-out-expo);
    z-index: 1;
}

.btn-cta:hover {
    border-color: var(--c-gold);
}
.btn-cta:hover::before {
    width: 100%;
}

/* =========================================================================
   2. PROCESSUS (5 étapes)
   ========================================================================= */
#piliers {
    padding: 140px 0 100px;
    background: #f7f5f0;
    overflow: hidden;
}

/* ─── En-tête ─── */
.processus-header {
    text-align: center;
    margin-bottom: 72px;
}

.processus-tag {
    display: inline-block;
    font-size: 10px;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--c-gold);
    margin-bottom: 18px;
    opacity: 0.8;
}

.processus-title {
    font-family: var(--f-title);
    font-size: clamp(28px, 3.5vw, 48px);
    font-weight: 700;
    line-height: 1.18;
    color: var(--c-dark);
    letter-spacing: -0.01em;
}

/* ─── Grille des étapes ─── */
.processus-steps {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    max-width: 1280px;
    margin: 0 auto 88px;
    padding: 0 40px;
}

/* ─── Connecteur flèche ─── */
.proc-connector {
    flex: 0 0 auto;
    width: 60px;
    margin-top: 38px;   /* aligns with icon center */
    color: rgba(184,150,46,0.35);
    display: flex;
    align-items: center;
    justify-content: center;
}

.proc-connector svg {
    width: 56px;
    height: 12px;
}

/* ─── Carte étape ─── */
.proc-step {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 36px 20px 40px;
    position: relative;
    border-radius: 16px;
    background: transparent;
    transition: transform 0.4s cubic-bezier(0.34,1.56,0.64,1), background 0.35s ease, box-shadow 0.35s ease;
    cursor: default;
}

.proc-step:hover {
    transform: translateY(-14px) scale(1.06);
    background: #fff;
    box-shadow: 0 20px 60px rgba(0,0,0,0.08), 0 4px 16px rgba(184,150,46,0.08);
}

/* ─── Icône ─── */
.proc-icon {
    width: 84px;
    height: 84px;
    border-radius: 50%;
    border: 1.5px solid rgba(184,150,46,0.25);
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
    color: var(--c-gold);
    transition: background 0.35s ease, border-color 0.35s ease, color 0.35s ease, transform 0.4s cubic-bezier(0.34,1.56,0.64,1);
}

.proc-icon svg {
    width: 32px;
    height: 32px;
}

.proc-step:hover .proc-icon {
    background: var(--c-gold);
    border-color: var(--c-gold);
    color: #fff;
    transform: scale(1.12);
}

/* ─── Numéro ─── */
.proc-num {
    font-family: var(--f-title);
    font-size: 11px;
    font-style: italic;
    letter-spacing: 0.18em;
    color: var(--c-gold);
    margin-bottom: 8px;
    opacity: 0.7;
}

/* ─── Titre étape ─── */
.proc-name {
    font-family: var(--f-title);
    font-size: 17px;
    font-weight: 700;
    color: var(--c-dark);
    margin-bottom: 10px;
    letter-spacing: -0.01em;
}

/* ─── Description ─── */
.proc-desc {
    font-size: 13px;
    line-height: 1.65;
    color: var(--c-gray);
    max-width: 180px;
}

.references-separator {
    height: 1px;
    background: rgba(0,0,0,0.1);
    max-width: 1400px;
    margin: 0 auto;
}

.references-marquee {
    padding: 40px 0;
    whitespace: nowrap;
    overflow: hidden;
    display: flex;
}

.marquee-content {
    display: flex;
    gap: 40px;
    align-items: center;
    font-size: 14px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    opacity: 0.35;
    animation: scroll-left 30s linear infinite;
    white-space: nowrap;
    padding-right: 40px; /* space between loops */
}

@keyframes scroll-left {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

.marquee-content .dot {
    color: var(--c-gold);
}

/* =========================================================================
   3. DECLARATION DE VALEUR
   ========================================================================= */
#declaration {
    padding: 120px 0;
}

/* ─── BANDEAU ANIMATION ─── */
.declaration-bg {
    width: 100%;
    height: 72vh;
    min-height: 480px;
    overflow: hidden;
    margin-bottom: 80px;
    position: relative;
    background: #f5f2ec;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Canvas iso grid */
.decl-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0;
    transition: opacity 1.2s ease;
}
.decl-canvas.ready { opacity: 1; }

/* Vignette */
.decl-vignette {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 70% at 50% 50%, transparent 30%, #f5f2ec 90%);
    z-index: 4;
    pointer-events: none;
}

/* ─── Silhouettes SVG ─── */
.act-svg {
    position: absolute;
    z-index: 2;
    opacity: 0;
    pointer-events: none;
}

/* draw-on stroke via dashoffset */
.act-svg .ae {
    stroke-dasharray: 100;
    stroke-dashoffset: 100;
    fill: none;
}
.act-svg .at {
    opacity: 0;
}

/* positions */
.act-van    { width: 240px; left: 4%;  bottom: 12%; }
.act-sign   { width: 100px; right: 7%; top: 10%;    }
.act-card   { width: 160px; right: 5%; bottom: 14%; }
.act-banner { width: 240px; left: 5%;  top: 8%;     }

/* idle float after draw-in */
.act-svg.floating {
    animation: svgFloat ease-in-out infinite alternate;
}
.act-van.floating    { animation-duration: 8s;  animation-delay: 0s; }
.act-sign.floating   { animation-duration: 10s; animation-delay: 1s; }
.act-card.floating   { animation-duration: 9s;  animation-delay: 2s; }
.act-banner.floating { animation-duration: 11s; animation-delay: 0.5s; }

@keyframes svgFloat {
    from { transform: translateY(0px);   }
    to   { transform: translateY(-9px);  }
}

/* ─── Scan line ─── */
.decl-scanline {
    position: absolute;
    left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, #B8962E 40%, #2E6E8E 60%, transparent 100%);
    z-index: 3;
    top: 0;
    opacity: 0;
    box-shadow: 0 0 18px 3px rgba(184,150,46,0.5);
}

.decl-logo-animated {
    width: 200px;
    height: auto;
    opacity: 0;
    transform: scale(0.6);
    filter: drop-shadow(0 0 22px rgba(184,150,46,0.6)) drop-shadow(0 0 44px rgba(46,110,142,0.35));
}

/* idle float + glow cycle — added by JS after entrance */
@keyframes logoFloat {
    0%, 100% { transform: translateY(0);    }
    50%       { transform: translateY(-12px); }
}
@keyframes glowCycle {
    0%   { filter: drop-shadow(0 0 18px rgba(184,150,46,0.7)) drop-shadow(0 0 36px rgba(184,150,46,0.3)); }
    50%  { filter: drop-shadow(0 0 22px rgba(46,110,142,0.7))  drop-shadow(0 0 44px rgba(46,110,142,0.3)); }
    100% { filter: drop-shadow(0 0 18px rgba(184,150,46,0.7)) drop-shadow(0 0 36px rgba(184,150,46,0.3)); }
}
@keyframes glowPulse {
    0%,100% { transform: scale(1);   opacity: 0.8; }
    50%     { transform: scale(1.2); opacity: 1;   }
}

.declaration-container {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    padding: 0 40px;
}

.declaration-container h2 {
    font-size: clamp(48px, 6vw, 90px);
    line-height: 1.1;
    margin-bottom: 40px;
    /* For word reveal effect, handled in JS */
}

.declaration-divider {
    height: 2px;
    width: 0; /* Animated */
    background: var(--c-gold);
    margin: 0 auto 30px;
    transition: width 1.2s ease;
}
.declaration-divider.active {
    width: 60px;
}

.declaration-narrative {
    font-size: clamp(15px, 1.6vw, 18px);
    line-height: 1.85;
    max-width: 720px;
    margin: 2rem auto 2.5rem;
    opacity: 0.72;
    font-weight: 300;
    letter-spacing: 0.01em;
    color: #12151a;
}

.declaration-sub {
    font-size: 12px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    opacity: 0.5;
}

/* Word reveal CSS for JS to use */
.word-wrap {
    display: inline-block;
    overflow: hidden;
    vertical-align: top;
}
.word-inner {
    display: inline-block;
    transform: translateY(100%);
    transition: transform 0.8s var(--ease-out-expo);
}
.word-wrap.active .word-inner {
    transform: translateY(0);
}


/* =========================================================================
   4. SECTION METHODE / EXPERTISE
   ========================================================================= */
#methode {
    padding: 120px 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.tag {
    font-size: 11px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    opacity: 0.4;
    margin-bottom: 40px;
}

.catalogue li {
    display: flex;
    gap: 30px;
    padding: 30px 0;
    border-top: 1px solid rgba(0,0,0,0.1);
    position: relative;
    group: cat-item;
}

.catalogue li::after {
    content: '';
    position: absolute;
    bottom: -1px; left: 0; 
    width: 0%; height: 1px;
    background: var(--c-blue);
    transition: width 0.5s var(--ease-out-expo);
}

.catalogue li:hover::after {
    width: 100%;
}


/* =========================================================================
   5. GALERIE
   ========================================================================= */
#galerie {
    padding: 60px 0;
}

/* =========================================================================
   6. GAMME COMPLETE (DARK)
   ========================================================================= */
#gamme {
    padding: 150px 40px;
}

.reference {
    font-size: 12px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--c-gray);
    animation: flash 2s 1;
}

@keyframes flash {
    0% { opacity: 0; }
    50% { opacity: 1; }
    75% { opacity: 0.5; }
    100% { opacity: 1; }
}

.caracteristiques {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* =========================================================================
   4.5. PRESTATIONS — SYSTÈME D'ONGLETS
   ========================================================================= */
#prestations {
    padding: 120px 60px 140px;
    background: #fff;
    overflow: hidden;
}

.prest-intro {
    max-width: 1300px;
    margin: 0 auto 64px;
}

.prest-intro h2 {
    font-family: var(--f-title);
    font-size: clamp(48px, 5.5vw, 80px);
    font-weight: 800;
    line-height: 1.05;
    margin-top: 16px;
    color: var(--c-dark);
}

/* ── Barre d'onglets ── */
.prest-tabs {
    max-width: 1300px;
    margin: 0 auto 56px;
    display: flex;
    gap: 0;
    border-bottom: 1px solid rgba(0,0,0,0.1);
    position: relative;
    overflow-x: auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.prest-tabs::-webkit-scrollbar { display: none; }

.prest-tab {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 0 18px 0;
    margin-right: 40px;
    flex-shrink: 0;
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--f-body);
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.04em;
    color: rgba(18,21,26,0.38);
    transition: color 0.3s;
    position: relative;
    white-space: nowrap;
}

.prest-tab:hover { color: rgba(18,21,26,0.7); }
.prest-tab.active { color: var(--c-dark); }

.tab-num {
    font-family: var(--f-title);
    font-size: 11px;
    font-style: italic;
    color: var(--c-gold);
    opacity: 0.55;
    transition: opacity 0.3s;
}

.prest-tab.active .tab-num,
.prest-tab:hover .tab-num { opacity: 1; }

.tab-label { font-size: 13px; }

/* ── Indicateur doré glissant ── */
.tab-indicator {
    position: absolute;
    bottom: -1px;
    left: 0;
    height: 2px;
    width: 80px;          /* recalculé en JS */
    background: var(--c-gold);
    transition: transform 0.45s cubic-bezier(0.76,0,0.24,1),
                width     0.45s cubic-bezier(0.76,0,0.24,1);
    pointer-events: none;
    border-radius: 1px 1px 0 0;
}

/* ── Panneaux ── */
.prest-panels {
    max-width: 1300px;
    margin: 0 auto;
}

.prest-panel {
    display: none;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.prest-panel.active {
    display: grid;
}

/* ── Colonne gauche ── */
.panel-left { padding-top: 8px; }

.panel-desc {
    font-size: 17px;
    line-height: 1.8;
    color: var(--c-gray);
    margin-bottom: 48px;
    max-width: 480px;
}

.panel-services {
    list-style: none;
    margin-bottom: 52px;
}

.panel-services li {
    display: grid;
    grid-template-columns: 18px 1fr auto;
    align-items: baseline;
    gap: 14px 20px;
    padding: 20px 0;
    border-top: 1px solid rgba(0,0,0,0.07);
    transition: padding-left 0.3s var(--ease-out-expo);
}

.panel-services li:last-child {
    border-bottom: 1px solid rgba(0,0,0,0.07);
}

.panel-services li:hover { padding-left: 10px; }

.ps-num {
    color: var(--c-gold);
    font-family: var(--f-title);
    font-style: italic;
    font-size: 16px;
    line-height: 1;
}

.ps-name {
    font-size: 15px;
    font-weight: 400;
    color: var(--c-dark);
    white-space: nowrap;
}

.ps-detail {
    font-size: 11.5px;
    color: var(--c-gray);
    letter-spacing: 0.02em;
    text-align: right;
    white-space: nowrap;
}

.panel-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--c-dark);
    text-decoration: none;
    position: relative;
    padding-bottom: 8px;
    transition: color 0.3s, transform 0.3s;
}

.panel-cta::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 100%; height: 1px;
    background: var(--c-gold);
    transform: scaleX(0.3);
    transform-origin: left;
    transition: transform 0.45s var(--ease-out-expo);
}

.panel-cta:hover { color: var(--c-gold); transform: translateX(5px); }
.panel-cta:hover::after { transform: scaleX(1); }

/* ── Colonne droite ── */
.panel-right {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.panel-img-wrap {
    position: relative;
    overflow: hidden;
    border-radius: 3px;
    aspect-ratio: 4 / 3;
    background: #e8e5de;
}

.panel-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.9s cubic-bezier(0.25,0.46,0.45,0.94);
}

.panel-img-wrap:hover img { transform: scale(1.05); }

.panel-img-label {
    position: absolute;
    bottom: 16px; left: 16px;
    font-size: 10px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.9);
    background: rgba(18,21,26,0.52);
    backdrop-filter: blur(8px);
    padding: 5px 14px;
    border-radius: 2px;
}

.panel-img-mini {
    overflow: hidden;
    border-radius: 3px;
    aspect-ratio: 16 / 6;
    background: #e8e5de;
}

.panel-img-mini img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.9s cubic-bezier(0.25,0.46,0.45,0.94);
}

.panel-img-mini:hover img { transform: scale(1.05); }

/* =========================================================================
   5. RÉALISATIONS — BANDEAU ANIMÉ
   ========================================================================= */
#realisations {
    padding: 52px 0 56px;
    background: #12151a;
    overflow: hidden;
}

/* ── En-tête compact ── */
.rp-intro {
    padding: 0 60px;
    margin-bottom: 36px;
}

.rp-intro .tag { color: rgba(255,255,255,0.35); }

.rp-intro-row {
    display: flex;
    align-items: baseline;
    gap: 28px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.rp-title {
    font-family: var(--f-title);
    font-size: clamp(28px, 3vw, 44px);
    font-weight: 800;
    color: #fff;
    line-height: 1;
    white-space: nowrap;
}

.rp-cats-list {
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.28);
}

/* ── Strip wrapper ── */
.rp-strip-wrap {
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 5%, #000 95%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0%, #000 5%, #000 95%, transparent 100%);
}

/* ── Strip animé ── */
.rp-strip {
    display: flex;
    align-items: center;
    gap: 14px;
    width: max-content;
    padding: 6px 0 10px;
    animation: rpScroll 55s linear infinite;
}

.rp-strip:hover { animation-play-state: paused; }

@keyframes rpScroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* ── Séparateur catégorie ── */
.rp-sep {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(184,150,46,0.1);
    border: 1px solid rgba(184,150,46,0.25);
    border-radius: 100px;
    padding: 8px 20px 8px 14px;
    margin: 0 8px;
}

.rp-sep-num {
    font-family: var(--f-title);
    font-size: 10px;
    font-style: italic;
    color: var(--c-gold);
}

.rp-sep-name {
    font-size: 11px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.65);
    white-space: nowrap;
}

/* ── Carte photo ── */
.rp-card {
    position: relative;
    width: 220px;
    height: 160px;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
    background: #1c2130;
    transition: transform 0.5s var(--ease-out-expo), box-shadow 0.4s ease;
}

.rp-card:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 24px 48px rgba(0,0,0,0.4);
    z-index: 2;
}

.rp-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.7s var(--ease-out-expo);
    filter: brightness(0.88) contrast(1.05);
}

.rp-card:hover img {
    transform: scale(1.08);
    filter: brightness(1) contrast(1.05);
}

.rp-card-label {
    position: absolute;
    bottom: 10px;
    left: 12px;
    font-size: 9px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.88);
    background: rgba(18,21,26,0.55);
    backdrop-filter: blur(10px);
    padding: 3px 10px;
    border-radius: 20px;
}

/* ── Carte placeholder ── */
.rp-card--empty {
    background: transparent;
    border: 1px dashed rgba(184,150,46,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.3s, background 0.3s, transform 0.5s var(--ease-out-expo);
}

.rp-card--empty:hover {
    border-color: rgba(184,150,46,0.5);
    background: rgba(184,150,46,0.04);
    box-shadow: none;
}

.rp-add {
    font-family: var(--f-title);
    font-size: 26px;
    font-weight: 300;
    color: rgba(184,150,46,0.35);
    line-height: 1;
    transition: color 0.3s;
}

.rp-card--empty:hover .rp-add { color: rgba(184,150,46,0.7); }

/* =========================================================================
   6.5. AVIS GOOGLE
   ========================================================================= */
#avis {
    padding: 80px 0 72px;
    background: #12151a;
    overflow: hidden;
}

.avis-header {
    text-align: center;
    margin-bottom: 48px;
}

.avis-note {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.google-icon {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
}

.note-score {
    font-family: 'Outfit', sans-serif;
    font-size: 40px;
    font-weight: 800;
    color: #fff;
    line-height: 1;
}

.note-stars {
    display: flex;
    gap: 2px;
    font-size: 20px;
    color: #B8962E;
}

.note-count {
    font-size: 12px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.45);
}
a.note-count {
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-color: rgba(255,255,255,0.25);
    transition: color .2s;
}
a.note-count:hover,
a.note-count:focus-visible { color: #fff; }

/* Défilement infini */
.avis-track-outer {
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
}

.avis-track {
    display: flex;
    gap: 24px;
    width: max-content;
    animation: avisScroll 42s linear infinite;
}

.avis-track:hover {
    animation-play-state: paused;
}

@keyframes avisScroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* Carte avis */
.avis-card {
    background: #1c2130;
    border: 1px solid rgba(184,150,46,0.12);
    border-radius: 4px;
    padding: 28px 28px 24px;
    width: 320px;
    flex-shrink: 0;
    transition: border-color 0.3s, transform 0.3s;
}

.avis-card:hover {
    border-color: rgba(184,150,46,0.35);
    transform: translateY(-3px);
}

.avis-top {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.avis-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #B8962E;
    color: #fff;
    font-family: 'Outfit', sans-serif;
    font-size: 13px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.avis-meta {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.avis-meta strong {
    font-size: 13px;
    font-weight: 600;
    color: #fff;
}

.avis-meta span {
    font-size: 11px;
    color: rgba(255,255,255,0.35);
    letter-spacing: 0.05em;
}

.avis-stars {
    font-size: 14px;
    color: #B8962E;
    letter-spacing: 1px;
}

.avis-card p {
    font-size: 13px;
    line-height: 1.75;
    color: rgba(255,255,255,0.65);
    font-style: italic;
}

/* =========================================================================
   7. DEVIS & CONTACT
   ========================================================================= */
#contact {
    padding: 0;
    background: #fff;
}

/* ── Accroche hero ── */
.devis-hero {
    background: var(--c-dark);
    color: #fff;
    padding: 100px 40px 90px;
    text-align: center;
}

.devis-hero-inner {
    max-width: 720px;
    margin: 0 auto;
}

.devis-tag {
    display: inline-block;
    font-size: 10px;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--c-gold);
    margin-bottom: 24px;
    opacity: 0.9;
}

.devis-title {
    font-family: var(--f-title);
    font-size: clamp(36px, 5vw, 68px);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
    color: #fff;
}

.devis-title em {
    font-style: italic;
    color: var(--c-gold);
}

.devis-sub {
    font-size: 17px;
    line-height: 1.7;
    color: rgba(255,255,255,0.6);
    max-width: 560px;
    margin: 0 auto 36px;
}

.devis-promises {
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}

.devis-promises span {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 13px;
    letter-spacing: 0.04em;
    color: rgba(255,255,255,0.75);
}

.devis-promises span svg {
    color: var(--c-gold);
    flex-shrink: 0;
}

/* ── Formulaire ── */
.devis-form-wrap {
    max-width: 900px;
    margin: 0 auto;
    padding: 72px 40px 80px;
}

.devis-form {
    position: relative;
}

/* Blocs étape */
.form-bloc {
    margin-bottom: 48px;
}

.form-bloc-label {
    display: flex;
    align-items: baseline;
    gap: 14px;
    margin-bottom: 24px;
}

.form-step-num {
    font-family: var(--f-title);
    font-size: 13px;
    font-style: italic;
    color: var(--c-gold);
    letter-spacing: 0.1em;
    flex-shrink: 0;
}

.form-step-title {
    font-family: var(--f-title);
    font-size: 22px;
    font-weight: 700;
    color: var(--c-dark);
}

.form-step-title em {
    font-size: 13px;
    font-style: normal;
    font-family: var(--f-body);
    font-weight: 300;
    color: var(--c-gray);
    letter-spacing: 0;
}

/* Chips sélecteur */
.form-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.chip {
    cursor: pointer;
}

.chip input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.chip span {
    display: inline-block;
    padding: 10px 20px;
    border: 1.5px solid rgba(0,0,0,0.14);
    border-radius: 100px;
    font-size: 14px;
    font-weight: 400;
    color: var(--c-dark);
    background: #fff;
    transition: all 0.22s ease;
    user-select: none;
}

.chip:hover span {
    border-color: var(--c-gold);
    color: var(--c-gold);
}

.chip.active span {
    background: var(--c-gold);
    border-color: var(--c-gold);
    color: #fff;
    font-weight: 500;
}

/* Séparateur */
.form-divider {
    height: 1px;
    background: rgba(0,0,0,0.07);
    margin-bottom: 48px;
}

/* Champs texte */
.form-fields {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-field label {
    font-size: 11px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--c-gray);
    font-weight: 400;
}

.form-field label em {
    text-transform: none;
    letter-spacing: 0;
    font-style: normal;
    font-size: 11px;
    opacity: 0.6;
}

.form-field input,
.form-field textarea {
    width: 100%;
    padding: 16px 20px;
    border: 1.5px solid rgba(0,0,0,0.12);
    border-radius: 10px;
    font-family: var(--f-body);
    font-size: 15px;
    font-weight: 300;
    color: var(--c-dark);
    background: #fafafa;
    transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
    outline: none;
    resize: none;
    box-sizing: border-box;
}

.form-field input:focus,
.form-field textarea:focus {
    border-color: var(--c-gold);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(184,150,46,0.1);
}

.form-field input::placeholder,
.form-field textarea::placeholder {
    color: rgba(0,0,0,0.3);
}

/* Submit */
.form-submit-row {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding-top: 16px;
}

.btn-devis-submit {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 20px 44px;
    background: var(--c-dark);
    color: #fff;
    border: none;
    border-radius: 100px;
    font-family: var(--f-body);
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.04em;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-devis-submit::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--c-gold);
    transform: translateX(-100%);
    transition: transform 0.4s cubic-bezier(0.76,0,0.24,1);
    z-index: 0;
}

.btn-devis-submit:hover::before {
    transform: translateX(0);
}

.btn-devis-submit span,
.btn-devis-submit svg {
    position: relative;
    z-index: 1;
}

.btn-devis-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(184,150,46,0.35);
}

.form-note {
    font-size: 12px;
    color: rgba(0,0,0,0.35);
    letter-spacing: 0.03em;
    line-height: 1.6;
}

/* Confirmation */
.form-confirm {
    display: none;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 60px 0;
    gap: 16px;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.form-confirm.visible {
    display: flex;
    opacity: 1;
}

.form-confirm h3 {
    font-family: var(--f-title);
    font-size: 28px;
    color: var(--c-dark);
}

.form-confirm p {
    color: var(--c-gray);
    font-size: 16px;
}

/* ── Bande contact + carte ── */
.contact-strip {
    display: grid;
    grid-template-columns: 380px 1fr;
    border-top: 1px solid rgba(0,0,0,0.07);
}

.contact-strip-infos {
    padding: 56px 48px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    justify-content: center;
    background: #f7f5f0;
}

.cstrip-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: var(--c-dark);
    text-decoration: none;
    transition: color 0.2s ease;
}

.cstrip-item svg {
    color: var(--c-gold);
    flex-shrink: 0;
}

a.cstrip-item:hover {
    color: var(--c-gold);
}

.contact-strip-map {
    height: 340px;
    overflow: hidden;
}

.contact-strip-map .map-wrapper {
    width: 100%;
    height: 100%;
}

.contact-strip-map .contact-map {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

/* keep old geoloc button style */
.btn-geoloc {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border: 1.5px solid var(--c-gold);
    border-radius: 100px;
    background: transparent;
    color: var(--c-gold);
    font-family: var(--f-body);
    font-size: 13px;
    cursor: pointer;
    transition: background 0.3s ease, color 0.3s ease;
    align-self: flex-start;
}

.btn-geoloc:hover {
    background: var(--c-gold);
    color: #fff;
}

.geoloc-status {
    font-size: 12px;
    color: var(--c-gray);
    min-height: 16px;
}

/* =========================================================================
   8. FOOTER
   ========================================================================= */
footer {
    padding: 120px 40px 40px;
    text-align: center;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 8px;
}

.footer-brand-logo {
    width: auto;
    max-width: min(320px, 88vw);
    height: auto;
    max-height: 100px;
    object-fit: contain;
    opacity: 0.95;
}

.footer-top {
    margin-bottom: 80px;
    transform: scale(0.9);
    opacity: 0;
    transition: all 1.4s var(--ease-out-expo);
}
.footer-top.active {
    transform: scale(1);
    opacity: 1;
}

.footer-declaration {
    font-size: 16px;
    color: var(--c-gray);
}

.footer-networks {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 60px;
    font-size: 12px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.footer-networks a {
    opacity: 0.4;
    transition: opacity 0.3s;
}
.footer-networks a:hover { opacity: 1; }
.footer-networks .dot { opacity: 0.4; }

.footer-nav {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 60px;
    font-size: 14px;
}
.footer-nav a { opacity: 0.7; transition: opacity 0.3s; }
.footer-nav a:hover { opacity: 1; }

.footer-divider {
    height: 1px;
    background: rgba(255,255,255,0.1);
    max-width: 1000px;
    margin: 0 auto 40px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    max-width: 1000px;
    margin: 0 auto;
    font-size: 12px;
    color: var(--c-gray);
}

.footer-legal a {
    transition: color 0.3s;
}
.footer-legal a:hover {
    color: var(--c-white);
}


/* =========================================================================
   ANIMATION CLASSES (Reveals)
   ========================================================================= */
.reveal-fade {
    opacity: 0;
    transform: translateY(20px);
    transition: all 1s var(--ease-out-expo);
}
.reveal-fade.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-slide {
    opacity: 0;
    transform: translateY(40px);
    transition: all 1.2s var(--ease-out-expo);
}
.reveal-slide.active {
    opacity: 1;
    transform: translateY(0);
}

.observe-slide-right {
    opacity: 0;
    transform: translateX(-30px);
    transition: all 1s ease;
}
.observe-slide-right.active {
    opacity: 1;
    transform: translateX(0);
}

.observe-stagger {
    opacity: 0;
    transform: translateY(20px);
}
.observe-stagger.active {
    animation: fade-up 0.8s var(--ease-out-expo) forwards;
}

.observe-fade {
    opacity: 0;
    transition: opacity 1s ease;
}
.observe-fade.active { opacity: 1; }

@keyframes fade-up {
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .nav-links { display: none; }
    .burger { display: flex; flex-direction: column; gap: 6px; cursor: pointer; }
    .burger div { width: 30px; height: 1px; background: currentColor; }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
        padding-bottom: 80px;
    }
    .hero-right p { text-align: center; margin: 0 auto; }
    .hero-left p { text-align: center; margin: 0 auto; }
    
    .methode-container, .gamme-container {
        grid-template-columns: 1fr;
    }

    .contact-strip {
        grid-template-columns: 1fr;
    }
    .contact-strip-map {
        height: 280px;
    }
    .devis-form-wrap {
        padding: 56px 28px;
    }
    .form-row {
        grid-template-columns: 1fr;
    }

    /* Prestations — tablet */
    #prestations {
        padding: 80px 32px 100px;
    }
    .prest-panel {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    .panel-right {
        flex-direction: row;
        gap: 12px;
    }
    .panel-img-wrap {
        flex: 3;
    }
    .panel-img-mini {
        flex: 2;
        aspect-ratio: 1 / 1.2;
    }
}

@media (max-width: 900px) {
    .processus-steps {
        flex-wrap: wrap;
        justify-content: center;
        gap: 40px 20px;
        padding: 0 24px;
    }
    .proc-connector {
        display: none;
    }
    .proc-step {
        flex: 0 0 calc(33% - 20px);
        min-width: 140px;
    }
}

@media (max-width: 768px) {
    .processus-steps {
        gap: 36px 16px;
    }
    .proc-step {
        flex: 0 0 calc(50% - 16px);
    }
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }

    /* Prestations — mobile */
    #prestations {
        padding: 60px 20px 80px;
    }
    .prest-tabs {
        gap: 0;
        margin-bottom: 40px;
    }
    .prest-tab {
        margin-right: 24px;
        font-size: 12px;
    }
    .tab-label {
        display: none; /* mobile : affiche seulement les numéros */
    }
    .tab-num {
        font-size: 14px;
        opacity: 1;
    }
    .prest-intro h2 {
        font-size: clamp(36px, 10vw, 52px);
    }
    .panel-right {
        flex-direction: column;
    }
    .panel-img-mini {
        aspect-ratio: 16 / 6;
    }
    .panel-services li {
        grid-template-columns: 18px 1fr;
    }
    .ps-detail {
        display: none;
    }
}

/* =========================================================================
   CORRECTIFS LIVRAISON — nav mobile, a11y, robustesse
   (ajouté en fin de feuille : surcharge volontairement les règles ci-dessus)
   ========================================================================= */

/* --- Curseur : on ne masque le curseur système que si le curseur custom vit --- */
html { cursor: auto; }
html.has-custom-cursor { cursor: none; }
@media (hover: none), (pointer: coarse) {
    html.has-custom-cursor { cursor: auto; }
    #cursor-dot, #cursor-circle { display: none !important; }
}

/* --- Hero : visible par défaut. Masqué UNIQUEMENT si l'intro est réellement jouable --- */
body.intro-playing .hero-content { opacity: 0; }

/* --- Focus clavier visible partout --- */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
.chip input:focus-visible + span {
    outline: 2px solid var(--c-gold);
    outline-offset: 3px;
    border-radius: 2px;
}

/* --- Lien d'évitement --- */
.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 10000;
    background: var(--c-dark);
    color: var(--c-white);
    padding: 14px 22px;
    font-family: var(--f-body);
    font-size: 14px;
    text-decoration: none;
}
.skip-link:focus {
    left: 12px;
    top: 12px;
}

/* =========================================================================
   BURGER — cible tactile 44x44 conforme
   ========================================================================= */
.burger {
    display: none;
    width: 44px;
    height: 44px;
    padding: 0;
    margin: 0;
    border: 0;
    background: transparent;
    color: inherit;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 6px;
    -webkit-tap-highlight-color: transparent;
}
.burger span {
    display: block;
    width: 26px;
    height: 1.5px;
    background: currentColor;
    transition: transform 0.35s var(--ease-out-expo),
                opacity 0.2s ease;
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* =========================================================================
   MENU MOBILE PLEIN ÉCRAN
   ========================================================================= */
.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 4000;
    background: var(--c-dark);
    color: var(--c-white);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 48px;
    padding: 120px 32px 48px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition: opacity 0.4s var(--ease-out-expo),
                transform 0.4s var(--ease-out-expo),
                visibility 0s linear 0.4s;
    overflow-y: auto;
    overscroll-behavior: contain;
}
.mobile-menu.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition: opacity 0.4s var(--ease-out-expo),
                transform 0.4s var(--ease-out-expo),
                visibility 0s;
}
.mobile-menu-nav {
    display: flex;
    flex-direction: column;
}
.mobile-menu-nav a {
    display: flex;
    align-items: center;
    min-height: 56px;
    font-family: var(--f-title);
    font-weight: 700;
    font-size: clamp(26px, 8vw, 38px);
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--c-white);
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 10px 0;
    transition: color 0.25s ease, padding-left 0.25s ease;
}
.mobile-menu-nav a:hover,
.mobile-menu-nav a:focus-visible {
    color: var(--c-gold);
    padding-left: 10px;
}
.mobile-menu-contact {
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 15px;
}
.mobile-menu-contact a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    color: var(--c-gold);
    text-decoration: none;
    letter-spacing: 0.04em;
}
.mobile-menu-contact p {
    margin-top: 6px;
    font-size: 13px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.45);
}
body.menu-open { overflow: hidden; }

/* =========================================================================
   RESPONSIVE — surcharges de livraison
   ========================================================================= */
@media (max-width: 1024px) {
    .burger { display: flex; }

    /* cibles tactiles des icônes tél / mail */
    .nav-icons .icon {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 44px;
        min-height: 44px;
    }
}

@media (max-width: 768px) {
    /* Les onglets Prestations doivent rester lisibles : on garde le libellé */
    .tab-label {
        display: inline;
        font-size: 11px;
        letter-spacing: 0.08em;
    }
    .prest-tabs {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 8px;
    }
    .prest-tabs::-webkit-scrollbar { display: none; }
    .prest-tab {
        flex: 0 0 auto;
        min-height: 44px;
        white-space: nowrap;
    }
    /* le détail de prestation reste utile en mobile */
    .ps-detail {
        display: block;
        font-size: 12px;
        line-height: 1.6;
        opacity: 0.55;
    }
}

/* =========================================================================
   MOTION RÉDUITE — respect de la préférence système
   ========================================================================= */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }

    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }

    /* Rien ne doit rester invisible en attente d'une animation */
    body.intro-playing .hero-content { opacity: 1 !important; }
    .hero-content,
    .observe-stagger,
    .word-reveal span { opacity: 1 !important; transform: none !important; }
    #logo-hero-wrapper { display: none !important; }
    #cursor-dot, #cursor-circle { display: none !important; }
    html.has-custom-cursor { cursor: auto; }
}

/* --- Menu ouvert : la nav (donc la croix) reste au-dessus de l'overlay --- */
body.menu-open #navbar {
    z-index: 5000;
    color: var(--c-white);
    background: transparent;
    backdrop-filter: none;
}
body.menu-open #navbar .burger { color: var(--c-white); }
body.menu-open #navbar .nav-icons { opacity: 0; pointer-events: none; }
/* Le logo garde sa colorimétrie, comme sur toutes les sections sombres du site */

/* =========================================================================
   PAGES LÉGALES (mentions-legales.html / confidentialite.html)
   ========================================================================= */
.legal-page {
    background: var(--c-white);
    color: var(--c-dark);
}
.legal-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 40px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(18, 21, 26, 0.07);
}
.legal-nav img { height: 44px; width: auto; }
.legal-nav a.legal-back {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    font-family: var(--f-body);
    font-size: 12px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--c-dark);
    text-decoration: none;
    opacity: 0.6;
    transition: opacity var(--transition-fast), color var(--transition-fast);
}
.legal-nav a.legal-back:hover { opacity: 1; color: var(--c-gold); }

.legal-wrap {
    max-width: 800px;
    margin: 0 auto;
    padding: 80px 28px 120px;
}
.legal-wrap .legal-kicker {
    font-size: 11px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--c-gold);
    margin-bottom: 18px;
}
.legal-wrap h1 {
    font-family: var(--f-title);
    font-weight: 800;
    font-size: clamp(34px, 6vw, 58px);
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin-bottom: 14px;
}
.legal-updated {
    font-size: 13px;
    color: var(--c-gray);
    margin-bottom: 56px;
    padding-bottom: 28px;
    border-bottom: 1px solid rgba(18, 21, 26, 0.09);
}
.legal-wrap h2 {
    font-family: var(--f-title);
    font-weight: 700;
    font-size: 21px;
    letter-spacing: -0.01em;
    margin: 52px 0 16px;
    padding-top: 4px;
}
.legal-wrap h2:first-of-type { margin-top: 0; }
.legal-wrap h3 {
    font-family: var(--f-title);
    font-weight: 700;
    font-size: 15px;
    margin: 30px 0 10px;
}
.legal-wrap p,
.legal-wrap li {
    font-size: 15.5px;
    line-height: 1.75;
    color: #33383F;
    max-width: 68ch;
}
.legal-wrap p { margin-bottom: 16px; }
.legal-wrap ul {
    margin: 0 0 20px;
    padding-left: 20px;
}
.legal-wrap li { margin-bottom: 9px; }
.legal-wrap a {
    color: var(--c-blue);
    text-decoration: underline;
    text-underline-offset: 3px;
}
.legal-wrap a:hover { color: var(--c-gold); }

.legal-card {
    background: #F7F5F1;
    border-left: 2px solid var(--c-gold);
    padding: 26px 28px;
    margin: 0 0 20px;
}
.legal-card p:last-child { margin-bottom: 0; }
.legal-card strong { font-weight: 600; }

/* Champ que seul le client peut fournir — visible tant qu'il n'est pas rempli */
.legal-todo {
    display: inline-block;
    background: #FDF3D6;
    border-bottom: 1px dashed #B8962E;
    color: #7A6316;
    padding: 1px 7px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.02em;
}

.legal-footer {
    background: var(--c-dark);
    color: rgba(255, 255, 255, 0.55);
    padding: 44px 28px;
    text-align: center;
    font-size: 13px;
}
.legal-footer a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    margin: 0 10px;
    display: inline-block;
    min-height: 44px;
    line-height: 44px;
}
.legal-footer a:hover { color: var(--c-gold); }

@media (max-width: 640px) {
    .legal-nav { padding: 14px 20px; }
    .legal-wrap { padding: 52px 22px 88px; }
}

/* =========================================================================
   FORMULAIRE DEVIS — état de chargement, erreur, RGPD, anti-spam
   ========================================================================= */
.form-hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.btn-devis-submit[disabled] {
    opacity: 0.55;
    cursor: progress;
    pointer-events: none;
}

.form-error {
    margin-top: 14px;
    font-size: 14px;
    line-height: 1.6;
    color: #B4291F;
    background: #FDECEA;
    border-left: 2px solid #B4291F;
    padding: 12px 16px;
    max-width: 46ch;
}

.form-rgpd {
    margin-top: 14px;
    font-size: 12px;
    line-height: 1.65;
    color: var(--c-gray);
    max-width: 52ch;
}
.form-rgpd a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 2px;
}
.form-rgpd a:hover { color: var(--c-gold); }

/* =========================================================================
   CIBLES TACTILES — hauteur utile 44px sur mobile/tablette
   (les liens inline dans un paragraphe sont exemptés : WCAG 2.5.8)
   ========================================================================= */
@media (max-width: 1024px) {
    .panel-cta,
    .cstrip-item,
    .btn-geoloc,
    .footer-networks > a,
    .footer-legal a,
    .footer-nav a {
        display: inline-flex;
        align-items: center;
        min-height: 44px;
    }
    .footer-legal a,
    .footer-networks > a {
        padding: 0 4px;
    }
    .btn-geoloc {
        justify-content: center;
        padding-top: 0;
        padding-bottom: 0;
    }
}

/* =========================================================================
   NAVIGATION — lisibilité au-dessus du hero sombre
   -------------------------------------------------------------------------
   #navbar était en mix-blend-mode: multiply. Sur le dégradé sombre du hero,
   multiply assombrit le contenu de la barre : liens et logo devenaient
   quasi illisibles au chargement. On retire le blend et on assume une
   navigation claire tant qu'on survole le hero.
   ========================================================================= */
#navbar {
    mix-blend-mode: normal;
    color: var(--c-white);
}
#navbar:not(.scrolled) .nav-links a,
#navbar:not(.scrolled) .icon,
#navbar:not(.scrolled) .logo-text,
#navbar:not(.scrolled) .burger {
    color: var(--c-white);
}
#navbar:not(.scrolled) .nav-links a { opacity: 0.82; }
#navbar:not(.scrolled) .nav-links a:hover,
#navbar:not(.scrolled) .nav-links a:focus-visible { opacity: 1; }

/* Une fois la barre posée sur fond clair, on repasse en texte sombre */
#navbar.scrolled { color: var(--c-dark); }
#navbar.scrolled .nav-links a,
#navbar.scrolled .icon,
#navbar.scrolled .burger { color: var(--c-dark); }

/* …sauf au-dessus des sections sombres, où la règle existante reprend la main */
.dark-theme-visible #navbar.scrolled,
.dark-theme-visible #navbar.scrolled .nav-links a,
.dark-theme-visible #navbar.scrolled .icon,
.dark-theme-visible #navbar.scrolled .burger { color: var(--c-white); }

/* =========================================================================
   CONTRASTE — conformité WCAG AA sur les fonds clairs
   -------------------------------------------------------------------------
   L'or de marque #B8962E vaut 6,48:1 sur l'anthracite (parfait) mais
   seulement 2,82:1 sur blanc et 2,59:1 sur le crème : il échoue pour les
   petits textes sur fond clair. On introduit une déclinaison assombrie
   réservée à ce cas — l'or de marque reste inchangé partout ailleurs.
   ========================================================================= */
:root {
    --c-gold-text: #846C21;    /* 5,06:1 sur blanc · 4,65:1 sur crème — petits textes */
    --c-gold-display: #B0902C; /* 3,06:1 sur blanc — titres >= 24px */
}

/* Petits libellés or SUR FOND CLAIR uniquement.
   .devis-tag est volontairement absent de cette liste : il est posé sur
   l'anthracite, où l'or de marque atteint déjà 6,48:1. L'assombrir le
   ferait chuter à 3,61:1. */
.processus-tag,
.tab-num,
.ps-num,
.form-step-num,
.btn-geoloc {
    color: var(--c-gold-text);
    opacity: 1;
}

/* Grand format (seuil 3:1) : on garde un or plus proche de la marque */
.gold-text,
.word-inner .gold-text,
.gold-text .word-inner {
    color: var(--c-gold-display);
}

/* Note sous le bouton de devis : 2,46:1 → 4,81:1 */
.form-note {
    color: rgba(0, 0, 0, 0.55);
}

/* Liens légaux du footer sur anthracite : 3,43:1 → 4,57:1 */
.footer-legal a,
.footer-bottom {
    color: #7F7F7F;
}
.footer-legal a:hover { color: var(--c-gold); }


/* --- Footer : textes gris sur anthracite, sous le seuil AA --- */
.footer-declaration {
    color: #A8A8A8;      /* 3,43:1 → 7,3:1 */
}
.footer-networks a {
    opacity: 0.62;       /* 3,83:1 → 6,3:1 */
}
.footer-networks a:hover,
.footer-networks a:focus-visible {
    opacity: 1;
    color: var(--c-gold);
}

/* =========================================================================
   PRESTATIONS — le bandeau panoramique doit rester panoramique
   -------------------------------------------------------------------------
   Entre 769 et 1024 px, la règle héritée passait .panel-right en ligne et
   imposait aspect-ratio: 1/1.2 au bandeau. Une image en 16/6 s'y retrouvait
   rognée de 64 % de sa largeur : la flotte d'utilitaires se réduisait à
   l'arrière d'un seul véhicule, l'alignement de roll-ups à deux bannières.
   On rétablit l'empilement vertical, comme en desktop et comme en mobile.
   ========================================================================= */
@media (min-width: 769px) and (max-width: 1024px) {
    .panel-right {
        flex-direction: column;
        gap: 16px;
    }
    .panel-img-wrap { flex: initial; }
    .panel-img-mini {
        flex: initial;
        aspect-ratio: 16 / 6;
    }
}


/* =========================================================================
   LE FILM — pièce maîtresse de la section « Depuis 1965 »
   ========================================================================= */

/* La bande doit respirer autour d'un film large : on passe d'une hauteur
   figée à une hauteur pilotée par le contenu. */
.declaration-bg {
    height: auto;
    min-height: 0;
    padding: 72px 24px 64px;
}

/* Scène à anneaux : calibrée pour un logo de 200 px, sans objet ici.
   Conservée dans le DOM pour ne pas casser la timeline GSAP. */
.decl-logo-scene { display: none; }

.decl-film-stage {
    position: relative;
    z-index: 5;
    margin: 0;
    width: 100%;
    max-width: 1040px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.decl-film-eyebrow {
    margin: 0 0 14px;
    font-family: var(--f-body);
    font-size: 11px;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--c-gold-text);
}

.decl-film-titre {
    margin: 0 0 34px;
    font-family: var(--f-title);
    font-weight: 800;
    font-size: clamp(30px, 4.6vw, 54px);
    line-height: 1.03;
    letter-spacing: -0.035em;
    color: var(--c-dark);
    text-wrap: balance;
}
.decl-film-titre em {
    font-style: normal;
    color: var(--c-gold-display);
}

/* ── Le cadre ── */
.decl-film-frame {
    position: relative;
    width: 100%;
    border-radius: 6px;
    overflow: hidden;
    background: #0B0D10;
    box-shadow:
        0 2px 0 rgba(255, 255, 255, 0.5),
        0 30px 70px -18px rgba(18, 21, 26, 0.45),
        0 0 0 1px rgba(184, 150, 46, 0.35);
}

.decl-film {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    max-height: 62vh;
    object-fit: cover;
    /* .decl-logo-animated n'est plus appliquée : plus aucune dépendance à
       GSAP pour que le film soit visible et à sa taille. */
    opacity: 1;
    transform: none;
}

/* Barre de progression du plan en cours */
.decl-film-barre {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 2px;
    background: rgba(255, 255, 255, 0.16);
}
.decl-film-barre span {
    display: block;
    height: 100%;
    width: 0;
    background: var(--c-gold);
    transition: width 0.15s linear;
}

/* ── Chapitres + légende ── */
.decl-film-meta {
    width: 100%;
    margin-top: 26px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.decl-chapitres {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 28px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.decl-chapitres li {
    display: inline-flex;
    align-items: baseline;
    gap: 9px;
    font-family: var(--f-body);
    font-size: 12px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(18, 21, 26, 0.34);
    transition: color 0.4s ease;
}
.decl-chapitres li span {
    font-family: var(--f-title);
    font-weight: 700;
    font-size: 11px;
    letter-spacing: 0.05em;
    font-variant-numeric: tabular-nums;
    color: rgba(18, 21, 26, 0.22);
    transition: color 0.4s ease;
}
.decl-chapitres li.actif { color: var(--c-dark); }
.decl-chapitres li.actif span { color: var(--c-gold-text); }

.decl-film-legende {
    margin: 0;
    max-width: 54ch;
    font-size: 13.5px;
    line-height: 1.65;
    color: var(--c-gray);
}
.decl-film-mention {
    display: block;
    margin-top: 6px;
    font-size: 12px;
    font-style: italic;
}

@media (max-width: 900px) {
    .declaration-bg { padding: 52px 20px 48px; }
    .decl-film-titre { margin-bottom: 26px; }
    .decl-film-meta { margin-top: 20px; }
    .decl-chapitres { gap: 8px 18px; }
    .decl-chapitres li { font-size: 11px; letter-spacing: 0.12em; }
}

/* Motion réduite : le poster attend un clic, le curseur l'annonce. */
@media (prefers-reduced-motion: reduce) {
    .decl-film { cursor: pointer; }
}

/* Silhouettes décoratives : elles encadraient un logo de 200 px. Face à un
   film de 1040 px elles deviennent du bruit, en particulier derrière la
   ligne de chapitres. On les atténue et on les repousse vers les bords. */
.act-svg { opacity: 0; }
#declBg .act-svg { mix-blend-mode: multiply; }
#declBg .act-svg.active,
#declBg .act-svg[style*="opacity: 1"] { opacity: 0.28 !important; }

.act-van    { width: 190px; left: 1.5%; bottom: 6%; }
.act-sign   { width: 82px;  right: 2%;  top: 6%;    }
.act-card   { width: 124px; right: 1.5%; bottom: 7%; }
.act-banner { width: 190px; left: 2%;   top: 5%;    }

@media (max-width: 1280px) {
    /* Sous cette largeur le film occupe presque toute la bande :
       les silhouettes n'ont plus de place et se retrouveraient dessous. */
    #declBg .act-svg { display: none; }
}

/* =========================================================================
   HERO — accroche et signature
   ========================================================================= */
.hero-center h1 {
    /* le titre est court : on peut resserrer l'interlettrage et gagner en impact */
    letter-spacing: -0.035em;
    margin-bottom: 22px;
}

.hero-baseline {
    margin: 0 auto 34px;
    max-width: 30ch;
    font-family: var(--f-body);
    font-weight: 300;
    font-size: clamp(15px, 1.5vw, 19px);
    line-height: 1.45;
    letter-spacing: 0.01em;
    color: rgba(255, 255, 255, 0.82);
}

/* Les deux colonnes latérales soutiennent le centre au lieu de le concurrencer */
.hero-left p, .hero-right p {
    font-size: 13.5px;
    line-height: 1.7;
    opacity: 0.72;
    max-width: 270px;
}

@media (max-width: 1024px) {
    .hero-baseline {
        margin-bottom: 28px;
        max-width: 34ch;
    }
    .hero-left p, .hero-right p { font-size: 13px; }
}

/* =========================================================================
   HERO — séquence au scroll : de l'appel à la livraison
   -------------------------------------------------------------------------
   Le hero devient collant à l'intérieur d'un conteneur haut. Le scroll
   avance dans les quatre étapes du métier au lieu de faire défiler la page.
   L'animation d'ouverture du logo est inchangée : elle joue au chargement,
   par-dessus la première étape.
   ========================================================================= */
.hero-scroll {
    position: relative;
    /* Deux plans au lieu de quatre : la course est réduite d'autant.
       À 380vh pour deux plans, la séquence se terminait bien avant la
       fin du défilement et le hero restait figé sur rien — c'est la
       zone morte de 648 px relevée par l'audit client. */
    height: 210vh;
}
#hero.hero-cinematic {
    position: sticky;
    top: 0;
    height: 100vh;
}

/* ── Les quatre plans en fond ── */
.hero-etapes {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}
.hero-etape {
    position: absolute;
    inset: 0;
    opacity: 0;
    will-change: opacity, transform;
}
.hero-etape img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ── Voile : garantit la lisibilité du titre sur n'importe quelle photo ── */
.hero-particles {
    z-index: 1;
    /* Deux voiles superposés écrasaient complètement la photo. Un seul
       dégradé suffit : sombre en haut et en bas pour la nav et le fil,
       plus ouvert au centre là où la photo doit vivre. */
    background: linear-gradient(to bottom,
        rgba(18, 21, 26, 0.66) 0%,
        rgba(18, 21, 26, 0.38) 42%,
        rgba(18, 21, 26, 0.52) 68%,
        rgba(18, 21, 26, 0.80) 100%);
    animation: none;
    opacity: 1;
}

/* ── Fil des étapes ── */
.hero-fil {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    z-index: 3;
    padding: 0 32px 26px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    color: var(--c-white);
}
.hero-fil-recit {
    margin: 0;
    font-size: 13px;
    letter-spacing: 0.02em;
    color: rgba(255, 255, 255, 0.72);
    text-align: center;
    min-height: 1.4em;
    transition: opacity 0.35s ease;
}
.hero-fil-etapes {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px 30px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.hero-fil-etapes li {
    display: inline-flex;
    align-items: baseline;
    gap: 8px;
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.38);
    transition: color 0.45s ease;
}
.hero-fil-etapes li span {
    font-family: var(--f-title);
    font-weight: 700;
    font-size: 10px;
    letter-spacing: 0.04em;
    font-variant-numeric: tabular-nums;
    color: rgba(255, 255, 255, 0.28);
    transition: color 0.45s ease;
}
.hero-fil-etapes li.actif { color: var(--c-white); }
.hero-fil-etapes li.actif span { color: var(--c-gold); }

.hero-fil-rail {
    width: min(420px, 70vw);
    height: 1px;
    background: rgba(255, 255, 255, 0.18);
}
.hero-fil-rail span {
    display: block;
    height: 100%;
    width: 0;
    background: var(--c-gold);
}

/* On remonte le contenu pour laisser respirer le fil */
.hero-content { padding-bottom: 130px; }

@media (max-width: 900px) {
    .hero-scroll { height: 180vh; }
    .hero-content { padding-bottom: 152px; }
    .hero-fil { padding-bottom: 20px; gap: 11px; }
    .hero-fil-etapes { gap: 5px 16px; }
    .hero-fil-etapes li { font-size: 10px; letter-spacing: 0.12em; }
    .hero-fil-recit { font-size: 12px; }
}

/* ── Motion réduite : pas de scroll détourné, une seule image ── */
@media (prefers-reduced-motion: reduce) {
    .hero-scroll { height: auto; }
    #hero.hero-cinematic { position: relative; }
    .hero-etape { opacity: 0 !important; }
    .hero-etape[data-etape="3"] { opacity: 1 !important; }
    .hero-fil-rail { display: none; }
}

/* =========================================================================
   CARROUSELS MANIPULABLES — réalisations et avis
   -------------------------------------------------------------------------
   Les deux bandeaux étaient des marquees CSS dans un conteneur en
   overflow: hidden : le visiteur les subissait sans pouvoir les parcourir.
   Ils deviennent de vrais conteneurs défilables — swipe natif au doigt,
   glisser à la souris — l'auto-défilement n'étant plus qu'une invitation.
   ========================================================================= */
.rp-strip-wrap,
.avis-track-outer {
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    -ms-overflow-style: none;
    /* pan-y laisse le doigt faire défiler la page verticalement */
    touch-action: pan-x pan-y;
    scroll-behavior: auto;
}
.rp-strip-wrap::-webkit-scrollbar,
.avis-track-outer::-webkit-scrollbar { display: none; }

/* Le curseur annonce qu'on peut attraper (pointeur fin uniquement) */
@media (hover: hover) and (pointer: fine) {
    html.has-custom-cursor .rp-strip-wrap,
    html.has-custom-cursor .avis-track-outer { cursor: grab; }
    html.has-custom-cursor .rp-strip-wrap.attrape,
    html.has-custom-cursor .avis-track-outer.attrape { cursor: grabbing; }
    .rp-strip-wrap { cursor: grab; }
    .avis-track-outer { cursor: grab; }
    .rp-strip-wrap.attrape,
    .avis-track-outer.attrape { cursor: grabbing; }
}

/* Le défilement est repris par le JS : plus d'animation CSS */
.rp-strip,
.avis-track {
    animation: none !important;
    width: max-content;
}
.rp-strip.attrape,
.avis-track.attrape { user-select: none; }

/* Pendant le glisser, les cartes ne doivent pas se soulever ni se lier */
.rp-strip-wrap.attrape .rp-card:hover { transform: none; box-shadow: none; }
.rp-strip-wrap.attrape a,
.avis-track-outer.attrape a { pointer-events: none; }

/* Focus clavier : le bandeau se pilote aussi aux flèches */
.rp-strip-wrap:focus-visible,
.avis-track-outer:focus-visible {
    outline: 2px solid var(--c-gold);
    outline-offset: 4px;
}

/* =========================================================================
   NETTOYAGE — animations qui tournaient dans le vide
   ========================================================================= */

/* Le dégradé animé du hero tourne en boucle sous quatre images opaques qui
   couvrent 100 % de la surface et dont la somme des opacités vaut toujours 1 :
   il n'est jamais visible. Il déclenchait pourtant un repaint plein écran
   permanent sur un élément sticky. La règle voisine .hero-particles avait bien
   été neutralisée, celle-ci avait été oubliée. */
#hero.hero-cinematic {
    animation: none;
    background: var(--c-dark);
}

/* =========================================================================
   APPELER ET DEMANDER UN DEVIS — les deux actions doivent être évidentes
   ========================================================================= */

/* ── Le numéro écrit dans la barre, pas seulement un pictogramme ── */
.nav-tel {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 4px;
    color: inherit;
    text-decoration: none;
    opacity: 0.85;
    transition: opacity var(--transition-fast), color var(--transition-fast);
}
.nav-tel:hover,
.nav-tel:focus-visible { opacity: 1; color: var(--c-gold); }

.nav-tel-num {
    font-family: var(--f-body);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.04em;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

/* Sous 1024 px la barre n'a plus la place : on revient au pictogramme seul,
   le numéro reste accessible en un geste dans le menu. */
@media (max-width: 1024px) {
    .nav-tel-num { display: none; }
    .nav-tel { min-width: 44px; justify-content: center; }
}

/* La barre perdait 120 px en marges sur un écran de 375 px : il ne restait
   que 275 px utilisables, d'où l'obligation de tout réduire à des icônes. */
@media (max-width: 600px) {
    #navbar { padding-left: 18px; padding-right: 18px; }
    #navbar.scrolled { padding-left: 18px; padding-right: 18px; }
}

/* ── Les deux actions du hero, côte à côte ── */
.hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 14px;
}

.btn-appel {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-height: 57px;
    padding: 0 26px;
    border-radius: 100px;
    background: var(--c-gold);
    color: var(--c-dark);
    font-family: var(--f-body);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-decoration: none;
    font-variant-numeric: tabular-nums;
    transition: background var(--transition-fast), transform var(--transition-fast);
}
.btn-appel:hover,
.btn-appel:focus-visible {
    background: #d0ab36;
    transform: translateY(-2px);
}

@media (max-width: 600px) {
    .hero-actions { flex-direction: column; gap: 10px; width: 100%; }
    .hero-actions .btn-cta,
    .hero-actions .btn-appel { width: 100%; justify-content: center; text-align: center; }
}

/* ── Recours joignables sous la confirmation et sous l'erreur ── */
.form-recours {
    margin: 12px 0 0;
    font-size: 13.5px;
    line-height: 1.6;
}
.form-recours a {
    color: inherit;
    font-weight: 500;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.form-recours a:hover { color: var(--c-gold); }
.form-confirm .form-recours { color: var(--c-gray); }

/* ── Champs à 16 px : en dessous, Safari iOS zoome à chaque clic
       et ne dézoome jamais ensuite. ── */
.form-field input,
.form-field textarea { font-size: 16px; }

.form-field label em {
    font-style: normal;
    opacity: 0.6;
    font-size: 0.92em;
}

/* =========================================================================
   EMPILEMENT DES SECTIONS — chaque bloc se fige, le suivant glisse dessus
   -------------------------------------------------------------------------
   Prérequis : chaque section doit être opaque et ordonnée en profondeur,
   sinon on verrait à travers celle qui est figée dessous.
   ========================================================================= */
#declaration { background: var(--c-white); }

/* Échelle espacée de 10 : elle laisse de la place pour intercaler un
   élément entre deux sections. La marque de veille s'y loge à 35, entre
   « Ce que nous faisons » (30) et « Nos réalisations » (40), pour être
   recouverte par l'une comme par l'autre. */
#piliers      { position: relative; z-index: 10; }
#declaration  { position: relative; z-index: 20; }
#prestations  { position: relative; z-index: 30; }
#realisations { position: relative; z-index: 40; }
#avis         { position: relative; z-index: 50; }
#contact      { position: relative; z-index: 60; }
footer.dark-theme { position: relative; z-index: 70; }

/* Voile appliqué au bloc qui passe dessous : il recule au lieu de
   simplement disparaître. Piloté au scroll, valeur posée par le JS. */
.section-voile {
    position: absolute;
    inset: 0;
    z-index: 40;
    pointer-events: none;
    background: #0B0D10;
    opacity: 0;
}

/* Pas d'empilement quand l'utilisateur a demandé moins d'animation :
   la page redevient un simple enchaînement de sections. */
@media (prefers-reduced-motion: reduce) {
    .section-voile { display: none !important; }
}

/* =========================================================================
   ALIGNEMENT DES SECTIONS — gouttière unique
   -------------------------------------------------------------------------
   Avant ce bloc, le bord gauche du texte variait d'une section à l'autre :
   80 px (les étapes), 70 px (les domaines), 60 px (les réalisations),
   48 px (le bandeau contact) et 40 px (le pied de page) sur un écran de
   1440 px — et de 2 px à 60 px sur un mobile de 390 px, où « Nos
   réalisations » gardait ses 60 px codés en dur.

   Tout le contenu pleine largeur part désormais de la même gouttière.
   Motif employé : la largeur maximale inclut les gouttières, si bien que le
   bord du texte vaut exactement --gouttiere tant que l'écran n'est pas plus
   large que le contenu, puis se centre au-delà.
   ========================================================================= */
:root {
    --gouttiere: 60px;
    --contenu-max: 1320px;
    --contenu-boite: calc(var(--contenu-max) + 2 * var(--gouttiere));
}

@media (max-width: 1024px) { :root { --gouttiere: 32px; } }
@media (max-width: 600px)  { :root { --gouttiere: 20px; } }

/* Piliers / méthode */
.processus-steps {
    max-width: var(--contenu-boite);
    padding-left: var(--gouttiere);
    padding-right: var(--gouttiere);
}
/* Le filet s'aligne sur le contenu qu'il sépare plutôt que sur le bord de l'écran */
.references-separator {
    max-width: var(--contenu-max);
    margin-inline: var(--gouttiere);
}

/* Ce que nous faisons */
#prestations {
    padding-left: var(--gouttiere);
    padding-right: var(--gouttiere);
}
.prest-intro,
.prest-tabs,
.prest-panels { max-width: var(--contenu-max); }

/* Nos réalisations */
.rp-intro {
    padding-left: var(--gouttiere);
    padding-right: var(--gouttiere);
}

/* Bandeau contact */
.contact-strip-infos {
    padding-left: var(--gouttiere);
    padding-right: var(--gouttiere);
}

/* Pied de page */
footer { padding-left: var(--gouttiere); padding-right: var(--gouttiere); }

/* La section des avis n'avait aucun titre : elle n'apparaissait pas dans le
   plan du document (ni pour un lecteur d'écran, ni pour un moteur). */
.avis-titre {
    font-family: var(--f-title);
    font-size: clamp(26px, 3vw, 40px);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.02em;
    color: #fff;
    margin: 0 0 22px;
}

/* Un peu plus de respiration sous l'en-tête des réalisations : c'était
   l'écart le plus serré du site (36 px) et il bridait l'amplitude que le
   garde-fou de la parallaxe autorise pour toute la section. */
.rp-intro { margin-bottom: 56px; }

/* =========================================================================
   MARQUE DE VEILLE — logo et appel direct dans le vide de la transition
   -------------------------------------------------------------------------
   Pendant l'empilement, une section épinglée recule et laisse une bande
   sombre où plus rien n'est peint, le temps que la suivante la recouvre.
   Sur la traversée « Nos réalisations » → « Ce qu'en disent nos clients »,
   elle atteint 600 px de haut et dure 780 px de défilement. Plutôt que de
   la laisser vide, elle porte la marque et un appel direct à l'atelier.

   Le script mesure cette bande à chaque trame et y installe le bloc. Ce
   qui garantit qu'il ne recouvre jamais de contenu n'est pas l'ordre de
   peinture — il est au-dessus des sections — mais la géométrie : il n'est
   posé que dans un intervalle mesuré libre de tout bloc.
   ========================================================================= */
.veille-marque {
    position: fixed;
    left: 0;
    right: 0;
    top: 96px;
    height: 0;
    /* Au-dessus des sections (10 à 70). Placé en dessous, il disparaissait :
       selon la hauteur d'écran, le vide n'est pas une enveloppe nue mais le
       bas vide de la section qui recule, laquelle le masquait entièrement. */
    z-index: 65;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: clamp(12px, 2vh, 26px);

    /* Le conteneur ne capte rien : seul le bouton est cliquable, et la
       page continue de défiler normalement sous le bloc. */
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
}

.veille-marque.visible { visibility: visible; }

.veille-logo {
    width: min(34vw, 300px);
    max-height: 44%;
    height: auto;
    object-fit: contain;
    /* En retrait : c'est le bouton qui doit accrocher l'œil. */
    opacity: 0.5;
}

.veille-libelle {
    margin: 0;
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    /* 6,16:1 sur le fond sombre. */
    color: rgba(255, 255, 255, 0.55);
}

.veille-appel {
    pointer-events: auto;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    /* Cible tactile confortable (WCAG 2.5.8 demande 44 px). */
    min-height: 48px;
    padding: 0 28px;
    border-radius: 999px;
    /* 3,23:1 avec le fond : la bordure du bouton reste perceptible,
       comme l'exige le critère de contraste des éléments d'interface. */
    border: 1px solid rgba(184, 150, 46, 0.62);
    background: rgba(184, 150, 46, 0.10);
    /* 9,79:1 sur ce fond. */
    color: #E8C868;
    font-family: var(--f-body);
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.veille-appel:hover,
.veille-appel:focus-visible {
    /* 6,48:1 en inverse. */
    background: #B8962E;
    border-color: #B8962E;
    color: #12151a;
}

.veille-appel:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 3px;
}

@media (max-width: 768px) {
    .veille-logo { width: min(56vw, 240px); max-height: 38%; }
    .veille-libelle { font-size: 10px; }
    .veille-appel { font-size: 14px; padding: 0 22px; }
}

/* Sans animation, il n'y a pas d'empilement, donc pas de vide à combler. */
@media (prefers-reduced-motion: reduce) {
    .veille-marque { display: none; }
}

/* =========================================================================
   BARRE DE NAVIGATION — l'appel devient l'action principale
   -------------------------------------------------------------------------
   Le numéro était un lien discret à 85 % d'opacité, à côté d'une enveloppe
   du même poids : rien n'indiquait que c'est l'action la plus utile de la
   page. Il devient un bouton plein, taillé sur celui du hero, et l'enveloppe
   disparaît — l'email reste joignable dans le bandeau de contact et le pied
   de page, sans concurrencer l'appel.
   ========================================================================= */
.nav-tel {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-height: 44px;
    padding: 0 20px;
    border-radius: 100px;
    background: var(--c-gold);
    /* L'or de la marque ne ressort qu'à 2,82:1 sur la barre blanche de
       l'état défilé — sous les 3:1 qu'exige le contour d'un élément
       d'interface. Un filet d'or assombri le détache : 3,54:1 sur le blanc,
       et il se fond dans le bouton (1,25:1) au lieu de le cerner. */
    border: 1px solid #A5842A;
    /* 6,48:1 — le même couple que le bouton d'appel du hero. */
    color: var(--c-dark);
    font-family: var(--f-body);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-decoration: none;
    opacity: 1;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
    transition: background var(--transition-fast),
                transform var(--transition-fast),
                box-shadow var(--transition-fast);
}

.nav-tel:hover,
.nav-tel:focus-visible {
    background: #d0ab36;
    border-color: #b08f2b;
    color: var(--c-dark);
    opacity: 1;
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(184, 150, 46, 0.38);
}

.nav-tel:focus-visible {
    outline: 2px solid var(--c-white);
    outline-offset: 3px;
}

.nav-tel-num {
    font-family: var(--f-body);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.04em;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

/* ── L'animation ──
   Le combiné sonne brièvement toutes les cinq secondes, accompagné d'une
   onde qui s'échappe du bouton. Les deux partagent le même cycle : elles se
   lisent comme un seul geste, et le bouton reste au repos 88 % du temps —
   une animation continue serait vite fatigante sur une barre fixe. */
@keyframes nav-sonnerie {
    0%, 88%, 100% { transform: rotate(0deg); }
    90%  { transform: rotate(-15deg); }
    92%  { transform: rotate(13deg); }
    94%  { transform: rotate(-10deg); }
    96%  { transform: rotate(7deg); }
    98%  { transform: rotate(-3deg); }
}

@keyframes nav-onde {
    0%, 86%  { box-shadow: 0 0 0 0 rgba(184, 150, 46, 0.45); }
    93%      { box-shadow: 0 0 0 11px rgba(184, 150, 46, 0); }
    100%     { box-shadow: 0 0 0 0 rgba(184, 150, 46, 0); }
}

.nav-tel { animation: nav-onde 5s ease-out infinite; }

.nav-tel svg {
    transform-origin: 50% 65%;
    animation: nav-sonnerie 5s ease-in-out infinite;
}

/* Au survol, l'onde cède la place à l'ombre portée : deux effets en même
   temps se brouilleraient. */
.nav-tel:hover,
.nav-tel:focus-visible { animation: none; }

/* Le numéro reste affiché jusqu'en bas : c'est l'action principale, et la
   place existe — logo, bouton et menu tiennent dans 300 px sur un écran
   de 390. */
@media (max-width: 1024px) {
    .nav-tel { padding: 0 16px; }
    .nav-tel-num { display: inline; font-size: 13px; }
}

@media (max-width: 380px) {
    .nav-tel { padding: 0 12px; gap: 7px; }
    .nav-tel-num { font-size: 12px; }
}

@media (prefers-reduced-motion: reduce) {
    .nav-tel,
    .nav-tel svg { animation: none; }
}

/* Le menu du pied de page est passé de cinq à six entrées pour rester
   identique à celui du haut : sans retour à la ligne, il débordait de 56 px
   sur un écran de 390. */
.footer-nav {
    flex-wrap: wrap;
    row-gap: 16px;
    padding-left: var(--gouttiere);
    padding-right: var(--gouttiere);
}

@media (max-width: 600px) {
    .footer-nav { gap: 18px; row-gap: 14px; }
}

/* Sur mobile, la barre porte déjà un bouton d'appel or, fixe et toujours
   visible. Celui du hero, identique, faisait doublon dès l'ouverture. Il
   passe donc en second rôle : même geste, même cible tactile, mais un
   contour au lieu d'un aplat — l'œil ne voit plus qu'un seul appel plein.
   Sur les écrans plus larges les deux ne se superposent pas de la même
   façon et l'aplat garde son intérêt. */
@media (max-width: 900px) {
    .hero-actions .btn-appel {
        background: transparent;
        /* 5,22:1 sur le hero sombre : un contour franc, pas un fantôme. */
        border: 1px solid rgba(184, 150, 46, 0.85);
        /* 11,85:1 sur le fond du hero. */
        color: #E8C868;
    }
    .hero-actions .btn-appel:hover,
    .hero-actions .btn-appel:focus-visible {
        background: var(--c-gold);
        border-color: var(--c-gold);
        color: var(--c-dark);
    }
}

/* =========================================================================
   QUESTIONS FRÉQUENTES
   -------------------------------------------------------------------------
   En <details> natif : le contenu vit dans le document même replié, donc il
   reste lisible sans JavaScript et extractible par les moteurs de réponse.
   Un accordéon scripté aurait rendu ces réponses invisibles à qui n'exécute
   pas le JavaScript — c'est-à-dire à une bonne partie des robots.
   ========================================================================= */
.faq-bloc {
    background: var(--c-white);
    padding: 0 var(--gouttiere) clamp(70px, 9vw, 110px);
}

.faq-inner {
    max-width: 820px;
    margin-inline: auto;
}

.faq-bloc .tag {
    display: block;
    font-size: 11px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--c-gray);
    margin-bottom: 14px;
}

.faq-titre {
    font-family: var(--f-title);
    font-size: clamp(26px, 3.4vw, 40px);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.02em;
    color: var(--c-dark);
    margin: 0 0 34px;
}

.faq-item {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}
.faq-item:last-of-type { border-bottom: 1px solid rgba(0, 0, 0, 0.1); }

.faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    /* Cible confortable : 44 px minimum, marges comprises. */
    padding: 22px 2px;
    cursor: pointer;
    list-style: none;
    font-family: var(--f-body);
    font-size: clamp(15px, 1.7vw, 17px);
    font-weight: 500;
    color: var(--c-dark);
    transition: color var(--transition-fast);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--c-gold-text); }

.faq-item summary:focus-visible {
    outline: 2px solid var(--c-gold-text);
    outline-offset: 3px;
    border-radius: 3px;
}

/* Le chevron est dessiné en CSS : pas d'image à charger, et il pivote pour
   dire dans quel sens va le geste. */
.faq-item summary::after {
    content: '';
    flex: none;
    width: 10px;
    height: 10px;
    border-right: 1.5px solid var(--c-gold-text);
    border-bottom: 1.5px solid var(--c-gold-text);
    transform: rotate(45deg) translate(-2px, -2px);
    transition: transform var(--transition-fast);
}
.faq-item[open] summary::after {
    transform: rotate(-135deg) translate(-2px, -2px);
}

.faq-reponse {
    padding: 0 2px 24px;
}
.faq-reponse p {
    margin: 0;
    /* 5,06:1 sur blanc. */
    color: #4A4A4A;
    font-size: 15px;
    line-height: 1.72;
    max-width: 68ch;
}

@media (prefers-reduced-motion: reduce) {
    .faq-item summary,
    .faq-item summary::after { transition: none; }
}

/* =========================================================================
   HERO — réserver la barre de navigation
   -------------------------------------------------------------------------
   Le hero fait exactement la hauteur de l'écran : c'est la contrainte du
   position: sticky qui pilote la séquence des deux plans, on ne peut pas la
   lever. Son contenu était centré dans TOUTE cette hauteur, barre de
   navigation comprise. Tant que l'écran est haut, il reste 51 px de marge et
   rien ne se voit — mais dès qu'il raccourcit (navigateur intégré d'une
   application, mobile en paysage, petite tablette), le bloc remonte et passe
   sous la barre : le bouton d'appel recouvrait alors la première ligne
   « Du panneau de chantier à l'enseigne de façade ».

   On réserve donc la hauteur de la barre en haut du hero. Le centrage se fait
   dans ce qui reste, et le contenu ne peut plus passer dessous, quelle que
   soit la hauteur d'écran. Les enfants en position absolue — les plans du
   hero, le fil des étapes — sont calés sur la boîte de rembourrage : ils ne
   bougent pas et l'image reste plein cadre.
   ========================================================================= */
#hero.hero-cinematic {
    padding-top: 104px;
}

@media (max-width: 1024px) {
    #hero.hero-cinematic { padding-top: 92px; }
}

/* Sur un écran court, les 152 px de marge basse mangent le peu de place qui
   reste. On les rend proportionnés à la hauteur disponible. */
@media (max-height: 800px) {
    .hero-content { padding-bottom: 92px; }
}

/* Réserver la barre ne suffit pas toujours : à 670 px de haut, le contenu du
   hero mesure 508 px pour 487 px disponibles. Plutôt que de le laisser glisser
   sous la barre, on le comprime — le titre, les interlignes et la hauteur des
   boutons. Rien n'est masqué : la ligne des métiers reste lisible, c'est elle
   qui confirme au visiteur qu'il est au bon endroit. */
/* Le seuil combine hauteur ET largeur. Sur un écran étroit et court — un
   téléphone, ou un navigateur intégré d'application — le hero est empilé sur
   une colonne et manque de place. Sur une tablette large mais basse, il a
   trois colonnes et respire : y rapetisser le titre serait gratuit. */
@media (max-height: 820px) and (max-width: 900px) {
    #hero.hero-cinematic { padding-top: 86px; }

    .hero-content {
        gap: 18px;
        padding-bottom: 48px;
    }
    .hero-center h1 {
        font-size: clamp(34px, 11vw, 46px);
        margin-bottom: 14px;
    }
    .hero-baseline { margin-bottom: 16px; }
    .hero-actions { gap: 10px; }
    .hero-actions .btn-appel { min-height: 48px; }
    .hero-actions .btn-cta { padding: 15px 30px; }
    .hero-left p, .hero-right p { font-size: 12px; }
}

/* Téléphone en paysage, ou fenêtre très basse. Sous 520 px de haut, le
   contenu du hero mesure 382 px pour 207 px disponibles : aucune compression
   ne rattrape cet écart. Un hero plein écran à séquence défilante n'a de
   toute façon plus de sens à cette hauteur — c'est déjà le seuil auquel
   l'empilement des sections se désactive, pour la même raison.

   Le hero redevient donc un bloc ordinaire qui s'étire à son contenu. Le fil
   des étapes disparaît : sans course à parcourir, il n'indiquerait plus rien.
   Le !important est nécessaire — le séquenceur écrit l'opacité en style
   direct, et une rotation depuis le portrait laisserait sa dernière valeur. */
@media (max-height: 520px) {
    .hero-scroll { height: auto; }

    #hero.hero-cinematic {
        position: relative;
        height: auto;
        min-height: 0;
        /* 104 px pour la barre, 20 de plus pour que le texte ne l'affleure
           pas : à 104 tout juste, la première ligne touchait le bord. */
        padding: 124px 0 44px;
    }

    .hero-fil { display: none; }

    .hero-etape { opacity: 1 !important; transform: none !important; }
    .hero-etape:not(:first-child) { display: none !important; }

    .hero-content { padding-bottom: 0; gap: 14px; }
    .hero-center h1 { font-size: clamp(30px, 6vw, 42px); margin-bottom: 12px; }
    .hero-baseline { margin-bottom: 14px; }
}

/* =========================================================================
   SIGNATURE DE L'AGENCE
   -------------------------------------------------------------------------
   Une mention « réalisé par » en 10 px que personne ne lit ne sert à rien.
   Ce bandeau parle à qui lit cette page — un artisan, un commerçant du
   bassin de Montluçon, exactement la personne que RUB accompagne — et
   reprend donc la promesse de l'agence plutôt que son seul nom.

   Il reste à sa place : sous le trait du pied de page, après les mentions
   légales, en retrait tant qu'on ne s'y intéresse pas. C'est au survol
   qu'il s'anime, pas avant. Le site du client passe d'abord.

   Contrastes mesurés sur le fond rgb(18,21,26) du pied de page :
     wordmark crème #FFF8F2   17,39:1
     point piment #FF6B4F      6,51:1
     promesse blanc 70 %       9,31:1
     appel mandarine #FF9E2C   8,87:1
   ========================================================================= */
.signature-agence {
    margin-top: 44px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    justify-content: center;
}

.signature-lien {
    display: grid;
    justify-items: center;
    gap: 7px;
    /* Cible confortable : c'est tout le bloc qui se clique, pas un mot. */
    padding: 18px 26px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 14px;
    text-decoration: none;
    text-align: center;
    max-width: 460px;
    transition: border-color var(--transition-fast),
                background var(--transition-fast),
                transform var(--transition-fast);
}

.signature-lien:hover,
.signature-lien:focus-visible {
    border-color: rgba(255, 158, 44, 0.42);
    background: rgba(255, 158, 44, 0.055);
    transform: translateY(-2px);
}

.signature-lien:focus-visible {
    outline: 2px solid #FF9E2C;
    outline-offset: 4px;
}

.signature-label {
    font-size: 10px;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    /* 6,16:1 — discret mais lisible. */
    color: rgba(255, 255, 255, 0.55);
}

/* Le wordmark de RUB : « RUB » et un point piment. Purement typographique
   dans la charte de l'agence — aucune image à charger ici. */
.signature-marque {
    font-family: var(--f-title);
    font-size: 30px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.03em;
    color: #FFF8F2;
}

.signature-point {
    color: #FF6B4F;
    transition: color var(--transition-fast);
}
.signature-lien:hover .signature-point { color: #FF9E2C; }

.signature-promesse {
    font-size: 13.5px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.70);
    max-width: 34ch;
}

.signature-appel {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 4px;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #FF9E2C;
}

.signature-fleche {
    display: inline-block;
    /* Sans cela le conteneur en flex écrase le SVG à 4 px de large : ses
       attributs width/height ne sont qu'une taille de base, pas un plancher. */
    flex: none;
    transition: transform var(--transition-fast);
}
.signature-lien:hover .signature-fleche { transform: translate(3px, -3px); }

@media (max-width: 600px) {
    .signature-agence { margin-top: 34px; padding-top: 24px; }
    .signature-lien { padding: 16px 20px; }
    .signature-marque { font-size: 26px; }
    .signature-promesse { font-size: 13px; }
}

@media (prefers-reduced-motion: reduce) {
    .signature-lien,
    .signature-fleche,
    .signature-point { transition: none; }
    .signature-lien:hover { transform: none; }
    .signature-lien:hover .signature-fleche { transform: none; }
}

/* ── Consentement cookies (consentement.js) ──
   « Refuser » et « Accepter » ont exactement le même poids visuel :
   la CNIL demande que refuser soit aussi simple qu'accepter. */
.cookies-bandeau {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 10000;
    max-width: 640px;
    margin: 0 auto;
    padding: 18px 20px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px 20px;
    background: var(--c-dark);
    color: var(--c-white);
    border: 1px solid rgba(184, 150, 46, 0.45);
    border-radius: 14px;
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.35);
    font-family: var(--f-body);
}
.cookies-bandeau[hidden] { display: none; }
.cookies-texte {
    flex: 1 1 300px;
    margin: 0;
    font-size: 13.5px;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.86);
}
.cookies-texte a { color: var(--c-gold); text-decoration: underline; text-underline-offset: 2px; }
.cookies-actions { display: flex; gap: 10px; flex: 0 0 auto; }
.cookies-btn {
    min-width: 112px;
    min-height: 44px;
    padding: 10px 18px;
    border: 1.5px solid var(--c-gold);
    border-radius: 100px;
    background: transparent;
    color: var(--c-white);
    font-family: var(--f-body);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}
.cookies-btn:hover,
.cookies-btn:focus-visible { background: var(--c-gold); color: var(--c-dark); }
.cookies-btn:focus-visible { outline: 2px solid var(--c-white); outline-offset: 2px; }
@media (max-width: 520px) {
    .cookies-bandeau { left: 12px; right: 12px; bottom: 12px; }
    .cookies-actions { width: 100%; }
    .cookies-btn { flex: 1 1 0; }
}

/* Voile de la carte tant que Google Maps n'est pas autorisé */
.map-wrapper { position: relative; }
.carte-consentement {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 24px;
    text-align: center;
    background: #ECE9E2;
    color: var(--c-dark);
    font-size: 14px;
}
.carte-consentement[hidden] { display: none; }
.carte-consentement p { margin: 0; max-width: 320px; }
.carte-consentement a { color: var(--c-blue); font-size: 13px; }

/* Mentions légales discrètes : visuels générés et origine des avis */
.rp-card-mention { text-transform: none; letter-spacing: 0.02em; opacity: 0.85; }
.avis-mention { margin: 12px 0 0; font-size: 12px; line-height: 1.5; color: rgba(255,255,255,0.62); max-width: 60ch; }
