/* ================================================================
   FLOREL AUTOMOBILES — Design System & Styles
   ================================================================
   Palette : Vert accent (#00D26A) · Noir profond · Blanc
   Typo    : Orbitron (display/logo) · Inter (body/taglines)
   Vibe    : Dark, premium, automotive, chaleureux
   ================================================================ */

/* ----------------------------------------------------------------
   0. CUSTOM PROPERTIES
   ---------------------------------------------------------------- */
:root {
    /* — Colors — */
    --color-accent: #388E3C;
    --color-accent-rgb: 56, 142, 60;
    --color-accent-glow: rgba(56, 142, 60, 0.25);
    --color-accent-subtle: rgba(56, 142, 60, 0.08);
    --color-accent-vivid: #4CAF50;

    --color-lbc: #ff6e14;
    --color-lbc-glow: rgba(255, 110, 20, 0.25);

    --color-bg-deep: #131513;
    --color-bg-alt: #1a1c1a;
    --color-bg-surface: #202220;
    --color-bg-elevated: #282a28;

    --color-text-primary: #FFFFFF;
    --color-text-body: #c8ccc8;
    --color-text-secondary: #8c918c;
    --color-text-muted: #545954;

    --color-star: #FFD700;
    --color-overlay: rgba(0, 0, 0, 0.75);
    --color-border: rgba(255, 255, 255, 0.08);
    --color-border-hover: rgba(255, 255, 255, 0.15);

    /* — Typography — */
    --font-display: 'Syncopate', sans-serif;
    --font-impact: 'Anton', sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* — Spacing — */
    --section-py: clamp(80px, 10vw, 140px);
    --container-max: 1200px;
    --container-px: clamp(20px, 5vw, 40px);

    /* — Radius — */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;

    /* — Easing — */
    --ease-out: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --t-fast: 0.2s var(--ease-out);
    --t-base: 0.4s var(--ease-out);
    --t-slow: 0.7s var(--ease-out-expo);
}

/* ----------------------------------------------------------------
   1. RESET
   ---------------------------------------------------------------- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-user-select: none !important;
    user-select: none !important;
    -webkit-tap-highlight-color: transparent;
}

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

body {
    font-family: var(--font-body);
    font-size: 16px;
    background-color: var(--color-bg-deep);
    color: var(--color-text-body);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-user-select: none;
    user-select: none;
}

/* Thin accent bar fixed at top */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent 5%, var(--color-accent) 50%, transparent 95%);
    z-index: 1000;
    pointer-events: none;
}

img {
    max-width: 100%;
    display: block;
}

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

button {
    cursor: pointer;
    border: none;
    background: none;
    font: inherit;
    color: inherit;
}

ul, ol {
    list-style: none;
}

/* ----------------------------------------------------------------
   2. LAYOUT
   ---------------------------------------------------------------- */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-px);
}

.section {
    padding: var(--section-py) 0;
    position: relative;
}

.section--alt {
    background-color: var(--color-bg-alt);
}

/* ----------------------------------------------------------------
   3. TYPOGRAPHY
   ---------------------------------------------------------------- */
.section__title {
    font-family: var(--font-body);
    font-size: clamp(1.75rem, 4vw, 2.8rem);
    font-weight: 700;
    color: var(--color-text-primary);
    line-height: 1.25;
    margin-bottom: 3.5rem;
    text-align: center;
}

.section__title--spaced {
    margin-bottom: 4rem;
}

.highlight {
    color: var(--color-accent);
}

strong {
    color: var(--color-text-primary);
    font-weight: 600;
}

em {
    font-style: italic;
    color: var(--color-text-secondary);
}

/* ----------------------------------------------------------------
   3.5 BRANDING MECHANICS (FLOREL & BMW)
   ---------------------------------------------------------------- */
.logo-florel {
    font-family: var(--font-display);
    font-weight: 700;
    text-transform: uppercase;
    background: linear-gradient(to right, var(--color-accent) 42%, #ffffff 42%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block; /* Important for gradient text to bound properly */
}

.titre-impact {
    font-family: var(--font-impact);
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.txt-vert {
    color: var(--color-accent);
}

.txt-blanc {
    color: var(--color-text-primary);
}

/* ----------------------------------------------------------------
   4. PLACEHOLDERS (for future images/video)
   ---------------------------------------------------------------- */
.placeholder {
    background: var(--color-bg-elevated);
    border: 1px dashed var(--color-border-hover);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.placeholder::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 20px,
        rgba(255, 255, 255, 0.012) 20px,
        rgba(255, 255, 255, 0.012) 40px
    );
    pointer-events: none;
}

.placeholder__label {
    font-family: var(--font-body);
    font-size: 0.75rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    z-index: 1;
}

.placeholder--portrait {
    aspect-ratio: 3 / 4;
    width: 100%;
}

.placeholder--cinematic {
    aspect-ratio: 21 / 9;
    width: 100%;
    min-height: 400px;
    border-radius: 0;
    border: none;
}

/* ----------------------------------------------------------------
   5. BUTTONS
   ---------------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-body);
    font-weight: 600;
    border-radius: var(--radius-sm);
    transition: all var(--t-base);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

/* -- Primary CTA (hero) -- */
.btn--primary {
    flex-direction: row;
    align-items: center;
    gap: 0.5rem;
    padding: 18px 40px;
    border: 1px solid rgba(56, 142, 60, 0.4);
    color: var(--color-text-primary);
    background: rgba(26, 28, 26, 0.65);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    font-size: 1rem;
    letter-spacing: 0.02em;
    border-radius: 100px;
}

.btn--primary:hover {
    background: var(--color-lbc);
    border-color: var(--color-lbc);
    color: #ffffff;
    box-shadow: 0 0 40px var(--color-lbc-glow),
                0 4px 20px rgba(0, 0, 0, 0.4);
    transform: translateY(-3px);
}

.btn__text {
    font-size: 1rem;
    font-weight: 600;
}

.btn__sub {
    font-size: 0.85rem;
    font-weight: 400;
    opacity: 0.7;
    color: #ffdbc2;
    transition: opacity var(--t-fast), color var(--t-fast);
}

.btn--primary:hover .btn__sub {
    opacity: 1;
    color: rgba(255, 255, 255, 0.9);
}

/* Shimmer sweep */
.btn__shimmer {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    transition: left 0.6s ease;
    pointer-events: none;
}

.btn--primary:hover .btn__shimmer {
    left: 100%;
}

/* -- Outline CTA -- */
.btn--outline {
    padding: 18px 40px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-text-primary);
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 100px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.btn--outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-3px);
}

/* -- Giant CTA (showcase) -- */
.btn--giant {
    padding: 24px 56px;
    font-size: 1.1rem;
    font-weight: 700;
    background: var(--color-accent);
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    border-radius: 100px;
    animation: pulse-glow-accent 3s ease-in-out infinite;
    transition: background 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.btn--giant:hover {
    transform: scale(1.04);
    background: var(--color-lbc);
    box-shadow: 0 0 60px var(--color-lbc-glow),
                0 0 120px rgba(255, 110, 20, 0.12);
    animation: none;
}

@keyframes pulse-glow-lbc {
    0% { box-shadow: 0 0 0 0 rgba(255, 110, 20, 0.4); }
    70% { box-shadow: 0 0 0 20px rgba(255, 110, 20, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 110, 20, 0); }
}

@keyframes pulse-glow-accent {
    0% { box-shadow: 0 0 0 0 rgba(56, 142, 60, 0.4); }
    70% { box-shadow: 0 0 0 20px rgba(56, 142, 60, 0); }
    100% { box-shadow: 0 0 0 0 rgba(56, 142, 60, 0); }
}

.btn__chevron {
    transition: transform var(--t-fast);
}

.btn--giant:hover .btn__chevron {
    transform: translateX(5px);
}

/* Leboncoin Orange Car Hover Animation */
.btn::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: -50px;
    width: 32px;
    height: 16px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-12 0 44 18' fill='%23388E3C'%3E%3Cpath d='M-8,7 L-2,7 M-11,10 L-3,10 M-7,12 L-1,12' stroke='%23388E3C' stroke-width='1.2' stroke-linecap='round' opacity='0.8'/%3E%3Cpath d='M2.5,9.5 L5.8,5.7 C6.5,4.9 7.5,4.5 8.5,4.5 L19.5,4.5 C20.5,4.5 21.5,4.9 22.2,5.7 L25.5,9.5 L30,9.5 C31.1,9.5 32,10.4 32,11.5 L32,14.5 C32,15.1 31.6,15.5 31,15.5 L27.8,15.5 C27.4,13.5 25.6,12 23.5,12 C21.4,12 19.6,13.5 19.2,15.5 L12.8,15.5 C12.4,13.5 10.6,12 8.5,12 C6.4,12 4.6,13.5 4.2,15.5 L1,15.5 C0.4,15.5 0,15.1 0,14.5 L0,11.5 C0,10.4 0.9,9.5 2,9.5 L2.5,9.5 Z'/%3E%3Ccircle cx='8.5' cy='15' r='2.5' fill='%23131513'/%3E%3Ccircle cx='23.5' cy='15' r='2.5' fill='%23131513'/%3E%3Ccircle cx='8.5' cy='15' r='1' fill='%23ffffff'/%3E%3Ccircle cx='23.5' cy='15' r='1' fill='%23ffffff'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    pointer-events: none;
    z-index: 10;
    opacity: 0;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.4));
}

.btn:hover::after {
    animation: drive-across 1.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes drive-across {
    0% {
        left: -40px;
        opacity: 0;
        transform: translateY(0) scale(0.95) skewX(-2deg);
    }
    10% {
        opacity: 1;
        transform: translateY(-0.5px) scale(1) skewX(-4deg);
    }
    90% {
        opacity: 1;
        transform: translateY(0) scale(1) skewX(-4deg);
    }
    100% {
        left: calc(100% + 10px);
        opacity: 0;
        transform: translateY(0.5px) scale(1.05) skewX(0deg);
    }
}


/* ----------------------------------------------------------------
   6. SCROLL REVEAL (base states — JS adds .revealed)
   ---------------------------------------------------------------- */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity var(--t-slow), transform var(--t-slow);
    transition-delay: calc(var(--delay, 0) * 120ms);
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-60px);
    transition: opacity var(--t-slow), transform var(--t-slow);
}

.reveal-left.revealed {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(60px);
    transition: opacity var(--t-slow), transform var(--t-slow);
}

.reveal-right.revealed {
    opacity: 1;
    transform: translateX(0);
}

/* ----------------------------------------------------------------
   7. SPLASH SCREEN (Cinematic Headlights)
   ---------------------------------------------------------------- */
.splash-screen {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background-color: #0b0c0b;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: opacity 0.8s ease-in-out, visibility 0.8s;
}

.splash-screen.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.splash-text {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
    font-family: var(--font-display);
    opacity: 0;
    transform: scale(0.95);
    animation: text-reveal 2s ease-out 0.5s forwards;
}

.splash-text span:first-child {
    display: block;
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 900;
    letter-spacing: 0.1em;
    background: linear-gradient(180deg, #ffffff 0%, #aaaaaa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.2));
}

.splash-text .splash-sub {
    display: block;
    font-size: clamp(1rem, 2.5vw, 1.75rem);
    letter-spacing: 0.4em;
    color: var(--color-accent);
    margin-top: -0.5rem;
    font-weight: 400;
}

.headlights {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100vw;
    display: flex;
    justify-content: center;
    gap: 30vw;
    z-index: 1;
    pointer-events: none;
}

.headlight {
    width: 4px;
    height: 4px;
    background: #fff;
    border-radius: 50%;
    opacity: 0;
    box-shadow: 0 0 0px 0px rgba(255, 255, 255, 0);
    animation: headlights-on 2.5s ease-in-out forwards;
}

@keyframes headlights-on {
    0% {
        opacity: 0;
        box-shadow: 0 0 0px 0px rgba(255, 255, 255, 0);
        transform: scale(1) translateY(0);
    }
    10% {
        opacity: 1;
        box-shadow: 0 0 20px 10px rgba(255, 255, 255, 0.8),
                    0 0 150px 80px rgba(255, 255, 255, 0.4),
                    0 0 300px 150px rgba(0, 210, 106, 0.2);
        transform: scale(1) translateY(0);
    }
    20% {
        opacity: 0.5;
        box-shadow: 0 0 10px 5px rgba(255, 255, 255, 0.5),
                    0 0 50px 30px rgba(255, 255, 255, 0.2);
        transform: scale(1) translateY(0);
    }
    30%, 65% {
        opacity: 1;
        box-shadow: 0 0 30px 15px rgba(255, 255, 255, 0.9),
                    0 0 200px 100px rgba(255, 255, 255, 0.5),
                    0 0 400px 200px rgba(0, 210, 106, 0.15);
        transform: scale(1) translateY(0);
    }
    85% {
        transform: scale(4) translateY(10px);
        opacity: 1;
        box-shadow: 0 0 50px 25px rgba(255, 255, 255, 1),
                    0 0 400px 200px rgba(255, 255, 255, 0.8),
                    0 0 800px 400px rgba(0, 210, 106, 0.4);
    }
    100% {
        transform: scale(15) translateY(40px);
        opacity: 0;
    }
}

@keyframes text-reveal {
    0% {
        opacity: 0;
        transform: scale(0.95);
        filter: blur(10px);
    }
    30%, 75% {
        opacity: 1;
        transform: scale(1);
        filter: blur(0px);
    }
    100% {
        opacity: 0;
        transform: scale(1.05);
        filter: blur(5px);
    }
}

/* ================================================================
   SECTIONS
   ================================================================ */

/* ----------------------------------------------------------------
   HEADER
   ---------------------------------------------------------------- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 0;
    transition: background-color var(--t-base), padding var(--t-base), backdrop-filter var(--t-base);
}

.header.scrolled {
    background-color: rgba(19, 21, 19, 0.85);
    backdrop-filter: blur(12px);
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--color-border);
}

.header__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header__logo img {
    height: 48px;
    width: auto;
    border-radius: var(--radius-sm);
    transition: transform var(--t-base), opacity var(--t-base);
}

.header__logo:hover img {
    transform: scale(1.05);
    opacity: 0.9;
}

.header__nav {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.header__link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-text-body);
    transition: color var(--t-fast);
    position: relative;
}

.header__link:hover {
    color: var(--color-text-primary);
}

.header__link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: var(--color-accent);
    transition: width var(--t-base);
}

.header__link:hover::after {
    width: 100%;
}

.btn--nav {
    padding: 10px 20px;
    font-size: 0.85rem;
    font-weight: 600;
    background-color: rgba(56, 142, 60, 0.1);
    color: var(--color-accent);
    border: 1px solid rgba(56, 142, 60, 0.3);
    border-radius: var(--radius-sm);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all var(--t-fast);
}

.btn--nav:hover {
    background-color: var(--color-lbc);
    color: #ffffff;
    border-color: var(--color-lbc);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px var(--color-lbc-glow);
}

/* BURGER MENU ICON */
.header__burger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 32px;
    height: 22px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001; /* Above mobile nav */
    padding: 0;
}

.header__burger span {
    width: 100%;
    height: 2.5px;
    background: var(--color-text-primary);
    border-radius: 10px;
    transition: all var(--t-base);
    transform-origin: left center;
}

@media (max-width: 768px) {
    .header__burger {
        display: flex;
    }
    .header__burger.open span:first-child {
        transform: rotate(45deg);
        width: 105%;
    }
    .header__burger.open span:nth-child(2) {
        opacity: 0;
        transform: translateX(20px);
    }
    .header__burger.open span:nth-child(3) {
        transform: rotate(-45deg);
        width: 105%;
    }

    .header__nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        height: 100dvh;
        background-color: rgba(19, 21, 19, 0.98);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2.5rem;
        transition: right var(--t-base);
        z-index: 999;
    }

    .header__nav.open {
        right: 0;
    }

    .header__link {
        font-size: 1.5rem;
    }

    .btn--nav {
        font-size: 1.1rem;
        padding: 16px 32px;
        margin-top: 1rem;
    }
}

/* ----------------------------------------------------------------
   HERO
   ---------------------------------------------------------------- */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    inset: 0;
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(5, 5, 5, 0.35)  0%,
        rgba(5, 5, 5, 0.6) 50%,
        var(--color-bg-deep) 100%
    );
}

.hero__content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 820px;
    padding: 0 var(--container-px);
}

.hero__accent-line {
    width: 48px;
    height: 3px;
    background: var(--color-accent);
    margin: 0 auto 2.5rem;
    border-radius: 2px;
    animation: hero-line 0.6s var(--ease-out-expo) 0.3s both;
}

.hero__title {
    font-family: var(--font-body);
    font-size: clamp(2rem, 5.5vw, 3.8rem);
    font-weight: 700;
    color: var(--color-text-primary);
    line-height: 1.12;
    margin-bottom: 1.5rem;
    letter-spacing: -0.025em;
    animation: hero-fade-up 0.9s var(--ease-out-expo) 0.5s both;
}

.hero__subtitle {
    font-size: clamp(0.95rem, 2vw, 1.15rem);
    color: var(--color-text-secondary);
    font-style: italic;
    font-weight: 300;
    max-width: 540px;
    margin: 0 auto 1.5rem;
    animation: hero-fade-up 0.9s var(--ease-out-expo) 0.7s both;
}

.hero__tag {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--color-text-primary);
    background: rgba(255, 255, 255, 0.1);
    padding: 6px 16px;
    border-radius: 100px;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    animation: hero-fade-up 0.9s var(--ease-out-expo) 0.4s both;
}

.hero__trust-badges {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    font-size: 0.85rem;
    color: var(--color-text-secondary);
    margin-bottom: 2.5rem;
    animation: hero-fade-up 0.9s var(--ease-out-expo) 0.8s both;
}

.hero__trust-badges span {
    display: flex;
    align-items: center;
}

.hero__trust-badges .separator {
    color: rgba(255, 255, 255, 0.2);
}

.hero__cta-group {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    animation: hero-fade-up 0.9s var(--ease-out-expo) 0.9s both;
}

@media (max-width: 768px) {
    .hero__title {
        font-size: clamp(2.2rem, 8vw, 3.8rem);
    }
    .hero__cta-group {
        flex-direction: column;
        gap: 1.25rem;
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
    }
    .hero__cta-group .btn {
        width: 100%;
        justify-content: center;
        padding: 18px 20px;
    }
    .hero__trust-badges {
        flex-direction: column;
        gap: 0.5rem;
    }
    .hero__trust-badges .separator {
        display: none;
    }
}

#hero-cta {
    animation: hero-fade-up 0.9s var(--ease-out-expo) 0.9s both;
}

/* Scroll indicator — uses margin auto for centering to avoid full-width click zone */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 0;
    right: 0;
    margin: 0 auto;
    width: fit-content;
    z-index: 1;
    animation: hero-fade-up 0.9s var(--ease-out-expo) 1.3s both;
}

.scroll-indicator__circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--color-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-bg-deep);
    transition: all var(--t-base);
    animation: bounce 2.5s ease-in-out infinite 2s;
}

.scroll-indicator:hover .scroll-indicator__circle {
    box-shadow: 0 0 30px var(--color-accent-glow);
    transform: scale(1.12);
}

/* ----------------------------------------------------------------
   ABOUT
   ---------------------------------------------------------------- */
.about__grid {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 4rem;
}

.about__photos {
    display: flex;
    gap: 1.5rem;
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    user-select: none;
}

.about__photo {
    width: 220px;
    aspect-ratio: 3 / 4;
    transition: transform var(--t-base), border-color var(--t-base);
    position: relative;
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
    overflow: hidden;
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    user-select: none;
}

.about__photo img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity var(--t-base), transform var(--t-slow);
}

.about__photo-default {
    z-index: 1;
    opacity: 1;
}

.about__photo-hover {
    z-index: 2;
    opacity: 0;
    pointer-events: none;
}

@media (hover: hover) {
    .about__photo:hover {
        transform: translateY(-5px);
        border-color: rgba(var(--color-accent-rgb), 0.4);
    }

    .about__photo:hover .about__photo-default {
        opacity: 0;
        transform: scale(1.05);
    }

    .about__photo:hover .about__photo-hover {
        opacity: 1;
        transform: scale(1.05);
    }
}

.about__photo-name {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--font-display);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--color-text-primary);
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(8px);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    border: 1px solid rgba(var(--color-accent-rgb), 0.2);
}

.about__photo:nth-child(2) {
    margin-top: 2.5rem;
}

.about__text {
    font-size: 1.1rem;
    line-height: 1.85;
}

.about__text p {
    max-width: 540px;
}

.about__text-sub {
    margin-top: 1rem;
    font-size: 0.95rem;
    color: var(--color-text-secondary);
}

/* Quote block */
.about__quote {
    position: relative;
    background: var(--color-bg-surface);
    border-left: 3px solid var(--color-accent);
    border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
    padding: 3rem 3rem 3rem 4rem;
    max-width: 800px;
    margin: 0 auto;
}

.about__quote-mark {
    position: absolute;
    top: -0.3rem;
    left: 1.2rem;
    font-size: 6rem;
    font-family: Georgia, 'Times New Roman', serif;
    color: var(--color-accent);
    opacity: 0.15;
    line-height: 1;
    pointer-events: none;
    user-select: none;
}

.about__quote p {
    font-style: italic;
    font-weight: 300;
    font-size: 1.15rem;
    color: var(--color-text-primary);
    line-height: 1.85;
    margin-bottom: 1rem;
}

.about__quote cite {
    display: block;
    font-style: normal;
    font-weight: 600;
    color: var(--color-accent);
    font-size: 0.95rem;
}

/* ----------------------------------------------------------------
   SERVICES
   ---------------------------------------------------------------- */
.services__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.service-card {
    background: var(--color-bg-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 2.5rem 1.75rem;
    text-align: center;
    transition: all var(--t-base);
    position: relative;
    overflow: hidden;
}

/* Top accent bar */
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background: var(--color-accent);
    border-radius: 0 0 2px 2px;
    transition: width var(--t-base);
}

.service-card:hover,
.service-card.is-active {
    transform: translateY(-8px);
    border-color: rgba(var(--color-accent-rgb), 0.25);
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.35),
                0 0 40px var(--color-accent-subtle);
}

.service-card:hover::before,
.service-card.is-active::before {
    width: 64px;
}

.service-card__icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 1.5rem;
    color: var(--color-accent);
}

.service-card__icon svg {
    width: 100%;
    height: 100%;
}

.service-card__title {
    font-family: var(--font-display);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--color-text-primary);
    letter-spacing: 0.12em;
    margin-bottom: 1rem;
}

.service-card__text {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    line-height: 1.75;
}

/* Custom Service Card Effects */
.service-card > * {
    position: relative;
    z-index: 1;
}

.service-card--vente::after {
    content: '';
    position: absolute;
    inset: 0;
    box-shadow: inset 0 0 0 0 var(--color-accent);
    transition: box-shadow 0.4s ease;
    z-index: 0;
    pointer-events: none;
    border-radius: inherit;
}
.service-card--vente:hover::after,
.service-card--vente.is-active::after {
    box-shadow: inset 0 0 0 2px var(--color-accent);
}
.service-card--vente:hover .achat-car,
.service-card--vente.is-active .achat-car {
    animation: car-unlock 2s ease-in-out infinite;
}
.service-card--vente:hover .achat-beam,
.service-card--vente.is-active .achat-beam {
    animation: flash-beam 2s infinite;
}

@keyframes car-unlock {
    0%, 100% { transform: translateY(0); }
    10%, 30% { transform: translateY(-2px); }
    40% { transform: translateY(0); }
}

@keyframes flash-beam {
    0%, 5%   { opacity: 0; filter: blur(0); }
    10%, 15% { opacity: 0.8; filter: blur(2px); }
    18%, 22% { opacity: 0; filter: blur(0); }
    25%, 30% { opacity: 0.8; filter: blur(2px); }
    35%, 100%{ opacity: 0; filter: blur(0); }
}

.service-card--achat::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0%;
    background: linear-gradient(to top, rgba(0, 210, 106, 0.1), transparent);
    z-index: 0;
    transition: height 0.4s ease;
    pointer-events: none;
}
.service-card--achat:hover::after,
.service-card--achat.is-active::after {
    height: 100%;
}
.service-card--achat:hover .service-card__icon,
.service-card--achat.is-active .service-card__icon {
    animation: float-up 0.8s ease-in-out infinite alternate;
}
@keyframes float-up {
    0% { transform: translateY(0); }
    100% { transform: translateY(-8px); }
}

.banknote {
    transform-origin: 12px 18px;
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.service-card--achat:hover .banknote--bg1,
.service-card--achat.is-active .banknote--bg1 {
    transform: rotate(-30deg) translateY(-8px) translateX(-8px);
}
.service-card--achat:hover .banknote--bg2,
.service-card--achat.is-active .banknote--bg2 {
    transform: rotate(30deg) translateY(-8px) translateX(8px);
}
.service-card--achat:hover .banknote--front,
.service-card--achat.is-active .banknote--front {
    transform: scale(1.15) translateY(2px);
}

.service-card--detailing::after {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
    transform: skewX(-20deg);
    z-index: 10;
    pointer-events: none;
}
.service-card--detailing:hover::after,
.service-card--detailing.is-active::after {
    animation: polish-shine 0.8s ease-in-out;
}
@keyframes polish-shine {
    0% { left: -150%; }
    100% { left: 150%; }
}

.sparkle-main {
    transform-origin: 12px 12px;
    transition: transform var(--t-base);
}
.service-card--detailing:hover .sparkle-main,
.service-card--detailing.is-active .sparkle-main {
    animation: twinkle-main 1.5s ease-in-out infinite alternate;
}

.service-card--detailing:hover .sparkle-star,
.service-card--detailing.is-active .sparkle-star {
    animation: twinkle 0.6s ease-in-out infinite alternate;
}
.service-card--detailing:hover .sparkle-star:nth-of-type(2),
.service-card--detailing.is-active .sparkle-star:nth-of-type(2) { animation-delay: 0.1s; }
.service-card--detailing:hover .sparkle-star:nth-of-type(3),
.service-card--detailing.is-active .sparkle-star:nth-of-type(3) { animation-delay: 0.3s; }
.service-card--detailing:hover .sparkle-star:nth-of-type(4),
.service-card--detailing.is-active .sparkle-star:nth-of-type(4) { animation-delay: 0.2s; }
.service-card--detailing:hover .sparkle-star:nth-of-type(5),
.service-card--detailing.is-active .sparkle-star:nth-of-type(5) { animation-delay: 0.4s; }

@keyframes twinkle {
    0% { transform: scale(0.8) rotate(0deg); opacity: 0.5; }
    100% { transform: scale(1.3) rotate(45deg); opacity: 1; }
}

@keyframes twinkle-main {
    0% { transform: scale(1); }
    100% { transform: scale(1.1); }
}

.service-card--conseil::after {
    content: '';
    position: absolute;
    top: 60px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    background: var(--color-accent);
    border-radius: 50%;
    filter: blur(35px);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 0;
    pointer-events: none;
}
.service-card--conseil:hover::after,
.service-card--conseil.is-active::after {
    animation: breathe-glow 2s ease-in-out infinite alternate;
}
.service-card--conseil:hover .service-card__icon,
.service-card--conseil.is-active .service-card__icon {
    color: #fff;
    animation: breathe-icon 2s ease-in-out infinite alternate;
}

@keyframes breathe-glow {
    0% { opacity: 0.2; transform: translateX(-50%) scale(0.9); }
    100% { opacity: 0.5; transform: translateX(-50%) scale(1.2); }
}

@keyframes breathe-icon {
    0% {
        transform: scale(1.05);
        filter: drop-shadow(0 0 4px rgba(0, 210, 106, 0.4));
    }
    100% {
        transform: scale(1.15);
        filter: drop-shadow(0 0 12px rgba(0, 210, 106, 1));
    }
}


/* ----------------------------------------------------------------
   SOCIAL PROOF
   ---------------------------------------------------------------- */
.proof__counter {
    text-align: center;
    margin-bottom: 3rem;
}

.proof__number-wrapper {
    display: inline-flex;
    align-items: baseline;
    gap: 0.1em;
    cursor: pointer;
    transition: transform 0.1s cubic-bezier(0.4, 0, 0.2, 1);
    -webkit-tap-highlight-color: transparent;
}

.proof__number-wrapper:active {
    transform: scale(0.95);
}

.proof__number {
    font-family: var(--font-display);
    font-size: clamp(4rem, 12vw, 9rem);
    font-weight: 900;
    color: var(--color-accent);
    line-height: 1;
}

.proof__plus {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 700;
    color: var(--color-accent);
}

.proof__label {
    font-size: 1rem;
    color: var(--color-text-secondary);
    margin-top: 0.75rem;
    font-weight: 400;
}

/* Testimonial carousel */
.proof__carousel {
    max-width: 620px;
    margin: 0 auto;
    position: relative;
}

.proof__track {
    position: relative;
    overflow: hidden;
    display: grid;
}

.proof__slide {
    grid-area: 1 / 1 / 2 / 2;
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    pointer-events: none;
    z-index: 0;
}

.proof__slide.active {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
    z-index: 1;
}

.testimonial-card {
    background: var(--color-bg-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
    text-align: center;
}

.testimonial-card__stars {
    font-size: 1.3rem;
    color: var(--color-star);
    margin-bottom: 1.25rem;
    letter-spacing: 0.2em;
}

.testimonial-card__text {
    font-size: 1.05rem;
    font-style: italic;
    font-weight: 300;
    color: var(--color-text-primary);
    line-height: 1.85;
    margin-bottom: 1.25rem;
}

.testimonial-card__author {
    display: block;
    font-style: normal;
    font-weight: 600;
    color: var(--color-text-secondary);
    font-size: 0.9rem;
}

/* Dot navigation */
.proof__nav {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 2rem;
}

.proof__dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--color-text-muted);
    transition: all var(--t-fast);
    padding: 0;
}

.proof__dot.active {
    background: var(--color-accent);
    box-shadow: 0 0 12px var(--color-accent-glow);
}

.proof__dot:hover:not(.active) {
    background: var(--color-text-secondary);
}

/* ----------------------------------------------------------------
   GALLERY (Vehicle Showcase — Horizontal Scroll Hijack)
   ---------------------------------------------------------------- */
.gallery {
    position: relative;
    /* height is set dynamically by JS: 100vh + scrollable track width */
}

.gallery__sticky {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    padding: 2rem 0;
}

.gallery__subtitle {
    text-align: center;
    color: var(--color-text-secondary);
    font-size: 1.05rem;
    max-width: 540px;
    margin: -1rem auto 2.5rem;
}

.gallery__track {
    display: flex;
    gap: 24px;
    padding: 0 var(--container-px);
    will-change: transform;
}

.gallery__card {
    flex: 0 0 340px;
    background: var(--color-bg-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: border-color var(--t-base), box-shadow var(--t-base);
}

.gallery__card:hover {
    border-color: rgba(var(--color-accent-rgb), 0.25);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35),
                0 0 30px var(--color-accent-subtle);
}

.gallery__card-img {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 5;
}

.gallery__card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease-out-expo);
}

.gallery__card:hover .gallery__card-img img {
    transform: scale(1.04);
}

.gallery__card-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    font-family: var(--font-display);
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: var(--color-text-primary);
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    padding: 0.35rem 0.85rem;
    border-radius: 20px;
    border: 1px solid var(--color-border-hover);
}

.gallery__card-badge--sold {
    background: rgba(var(--color-accent-rgb), 0.2);
    border-color: rgba(var(--color-accent-rgb), 0.4);
    color: var(--color-accent);
}

.gallery__card-info {
    padding: 1.25rem 1.5rem 1.5rem;
}

.gallery__card-model {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-text-primary);
    margin-bottom: 0.3rem;
}

.gallery__card-specs {
    font-size: 0.82rem;
    color: var(--color-text-secondary);
    letter-spacing: 0.01em;
}

/* ----------------------------------------------------------------
   SHOWCASE (Final CTA)
   ---------------------------------------------------------------- */
.showcase {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: var(--section-py) 0;
}

.showcase__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.showcase__bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    inset: 0;
    animation: kenburns 18s ease-in-out infinite alternate;
    will-change: transform;
}

.showcase__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(5, 5, 5, 0.88) 0%,
        rgba(5, 5, 5, 0.65) 40%,
        rgba(5, 5, 5, 0.88) 100%
    );
}

.showcase__content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.showcase__title {
    font-family: var(--font-body);
    font-size: clamp(1.8rem, 4.5vw, 3.2rem);
    font-weight: 700;
    color: var(--color-text-primary);
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.showcase__text {
    font-size: 1.1rem;
    color: var(--color-text-secondary);
    max-width: 540px;
    margin: 0 auto 3rem;
    line-height: 1.75;
}

/* ----------------------------------------------------------------
   FOOTER
   ---------------------------------------------------------------- */
.footer {
    position: relative;
    background: var(--color-bg-deep);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 5rem 0 2rem;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 1000px;
    height: 1000px;
    background: radial-gradient(circle, rgba(var(--color-accent-rgb), 0.04) 0%, transparent 60%);
    z-index: 0;
    pointer-events: none;
}

.footer .container {
    position: relative;
    z-index: 1;
}

.footer__top {
    display: grid;
    grid-template-columns: 2fr 1.2fr 1.5fr 1.2fr;
    gap: 3rem;
    margin-bottom: 4rem;
    text-align: left;
}

.footer__col--brand img {
    border-radius: var(--radius-sm);
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.5));
}

.footer__description {
    font-size: 0.95rem;
    color: var(--color-text-secondary);
    line-height: 1.7;
    max-width: 320px;
}

.footer__col-title {
    font-family: var(--font-display);
    font-size: 1.15rem;
    color: var(--color-text-primary);
    margin-bottom: 1.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    position: relative;
    display: inline-block;
}

.footer__col-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 32px;
    height: 2px;
    background: var(--color-accent);
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(var(--color-accent-rgb), 0.5);
}

.footer__list {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
}

.footer__list li {
    display: flex;
    align-items: center;
    color: var(--color-text-secondary);
    font-size: 0.95rem;
}

.footer__link {
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
    color: var(--color-text-secondary);
    font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
}

.footer__link:hover {
    color: #fff;
    transform: translateX(6px);
}

.footer__link:hover .footer__icon {
    /* No color/filter change for emojis here */
}

.footer__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    color: var(--color-text-muted);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.footer__divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    margin: 3rem 0;
}

.footer__bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
    text-align: center;
}

.footer__easter-egg {
    font-size: 0.9rem;
    font-style: italic;
    color: rgba(255, 255, 255, 0.4);
    transition: color var(--t-base);
}

.footer__easter-egg:hover {
    color: var(--color-text-secondary);
}

.footer__copy {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.3);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* --- Footer Micro-Animations --- */
.anim-phone:hover .footer__icon {
    animation: ring-phone 0.5s ease-in-out infinite alternate;
}
.anim-pin:hover .footer__icon {
    animation: drop-pin 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}
.anim-camera:hover .footer__icon {
    animation: flash-camera 0.4s ease-out;
}
.anim-car:hover .footer__icon {
    animation: flash-headlight 0.5s ease-in-out;
}
.anim-building:hover .footer__icon {
    animation: build-up 0.5s ease-out forwards;
}
.anim-rocket:hover .footer__icon {
    animation: rocket-prep 0.4s ease-in-out forwards, rocket-fly 0.1s linear 0.4s infinite alternate;
}

@keyframes ring-phone {
    0% { transform: rotate(-15deg) scale(1.1); }
    100% { transform: rotate(15deg) scale(1.1); }
}

@keyframes drop-pin {
    0% { transform: translateY(0); }
    30% { transform: translateY(-12px) scaleY(1.1); }
    60% { transform: translateY(0) scaleY(0.85); }
    80% { transform: translateY(-3px) scaleY(1.05); }
    100% { transform: translateY(0) scale(1); }
}

@keyframes flash-camera {
    0% { transform: scale(1); text-shadow: none; }
    20% { transform: scale(1.2); text-shadow: 0 0 15px #fff, 0 0 30px #fff; }
    100% { transform: scale(1); text-shadow: none; }
}

@keyframes flash-headlight {
    0% { text-shadow: none; transform: scale(1); }
    20% { text-shadow: 0 0 15px rgba(255,255,255,1), 0 0 30px rgba(0, 210, 106, 0.8); transform: scale(1.1); }
    100% { text-shadow: none; transform: scale(1); }
}

@keyframes build-up {
    0% { transform: scaleY(1) translateY(0); transform-origin: bottom; }
    30% { transform: scaleY(0.6) translateY(4px); transform-origin: bottom; }
    60% { transform: scaleY(1.2) translateY(-2px); transform-origin: bottom; }
    100% { transform: scaleY(1) translateY(0); transform-origin: bottom; }
}

@keyframes rocket-prep {
    0% { transform: translateY(0) rotate(0); }
    25% { transform: translate(-1px, 2px) rotate(-5deg); }
    50% { transform: translate(1px, -1px) rotate(5deg); }
    75% { transform: translate(-1px, 1px) rotate(-5deg); }
    100% { transform: translate(0, -10px) rotate(0); }
}

@keyframes rocket-fly {
    0% { transform: translate(0, -10px) rotate(-1deg); }
    100% { transform: translate(0, -12px) rotate(1deg); }
}

@media (max-width: 1024px) {
    .footer__top {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .footer {
        padding: 4rem 0 2rem;
    }

    .footer__top {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2.5rem;
    }
    
    .footer__col--brand img {
        margin-left: auto;
        margin-right: auto;
    }

    .footer__description {
        margin: 0 auto;
    }
    
    .footer__list {
        display: inline-flex;
        align-items: flex-start;
        text-align: left;
        margin: 0 auto;
    }

    .footer__list--hours li {
        width: 100%;
        max-width: 250px;
    }
    
    .footer__link:hover {
        transform: translateY(-2px);
    }
}

/* ================================================================
   KEYFRAMES
   ================================================================ */
@keyframes hero-line {
    from {
        width: 0;
        opacity: 0;
    }
    to {
        width: 48px;
        opacity: 1;
    }
}

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

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(var(--color-accent-rgb), 0.2),
                    0 4px 16px rgba(0, 0, 0, 0.3);
    }
    50% {
        box-shadow: 0 0 50px rgba(var(--color-accent-rgb), 0.35),
                    0 4px 24px rgba(0, 0, 0, 0.4);
    }
}

@keyframes kenburns {
    0% {
        transform: scale(1) translate(0, 0);
    }
    100% {
        transform: scale(1.12) translate(-2%, -1%);
    }
}

/* ================================================================
   RESPONSIVE
   ================================================================ */

/* Tablet landscape */
@media (max-width: 1024px) {
    .services__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .about__grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about__photos {
        justify-content: center;
    }

    .about__text {
        text-align: center;
    }

    .about__text p {
        max-width: 600px;
        margin: 0 auto;
    }

    .gallery__card {
        flex: 0 0 300px;
    }
}

/* Tablet portrait / large phones */
@media (max-width: 768px) {
    .services__grid {
        grid-template-columns: 1fr;
        max-width: 420px;
        margin: 0 auto;
    }

    .about__photos {
        gap: 1rem;
    }

    .about__photo {
        width: 170px;
    }

    .about__text {
        text-align: left;
    }

    .about__photo:nth-child(2) {
        margin-top: 1.5rem;
    }

    .about__quote {
        padding: 2rem 1.5rem 2rem 2.5rem;
    }

    .about__quote-mark {
        font-size: 4rem;
        left: 0.6rem;
        top: -0.1rem;
    }

    .about__quote p {
        font-size: 1.05rem;
    }

    .btn--giant {
        padding: 20px 36px;
        font-size: 0.95rem;
    }

    .showcase {
        min-height: 60vh;
    }

    .proof__carousel {
        max-width: 100%;
    }

    .testimonial-card {
        padding: 2rem 1.5rem;
    }
}

/* Mobile */
@media (max-width: 480px) {
    .hero__title {
        font-size: clamp(1.6rem, 7vw, 2.4rem);
    }

    .hero__subtitle {
        font-size: 0.9rem;
    }

    .about__photos {
        flex-direction: column;
        align-items: center;
    }

    .about__photo {
        width: 200px;
    }

    .about__photo:nth-child(2) {
        margin-top: 0;
    }

    .about__text {
        font-size: 0.95rem;
        line-height: 1.6;
    }

    .about__text p {
        margin-bottom: 0.75rem;
    }

    .about__text-sub {
        font-size: 0.85rem;
        margin-top: 0.5rem;
    }

    .about__quote {
        padding: 1.5rem 1.25rem 1.5rem 2rem;
    }

    .about__quote p {
        font-size: 0.95rem;
        line-height: 1.6;
    }

    .about__quote-mark {
        font-size: 3.5rem;
        left: 0.2rem;
        top: -0.2rem;
    }

    .btn--primary {
        padding: 16px 32px;
    }

    .btn--giant {
        padding: 18px 28px;
        font-size: 0.85rem;
        letter-spacing: 0.04em;
    }

    .section__title {
        font-size: clamp(1.4rem, 5vw, 2rem);
    }

    .section__title br {
        display: none;
    }

    .proof__number {
        font-size: clamp(3.5rem, 15vw, 6rem);
    }

    .proof__label {
        font-size: 0.9rem;
        line-height: 1.4;
        padding: 0 1rem;
    }

    .testimonial-card {
        padding: 1.5rem 1rem;
    }

    .testimonial-card__text {
        font-size: 0.95rem;
        line-height: 1.6;
    }

    .showcase__title {
        font-size: clamp(1.5rem, 6vw, 2.2rem);
        line-height: 1.3;
        margin-bottom: 1rem;
    }

    .showcase__title br {
        display: none;
    }

    .showcase__text {
        font-size: 0.95rem;
        line-height: 1.6;
        margin-bottom: 2rem;
    }

    .scroll-indicator__circle {
        width: 42px;
        height: 42px;
    }

    .gallery__card {
        flex: 0 0 280px;
    }

    .gallery__card-img {
        aspect-ratio: 3 / 4;
    }

    .footer {
        padding: 3rem 0 1.5rem;
    }

    .footer__top {
        gap: 2rem;
    }

    .footer__col-title {
        margin-bottom: 1.2rem;
    }

    .footer__bottom {
        gap: 0.75rem;
    }
}

/* ================================================================
   COMPACT 100VH MOBILE LAYOUT (Refonte)
   ================================================================ */
@media (max-width: 768px) {
    /* Global 100vh for sections (except gallery and footer) */
    #hero, #about, #services, #social-proof, #showcase {
        min-height: 100vh !important;
        min-height: 100svh !important;
        height: auto !important;
        overflow: hidden;
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding-top: 70px !important; /* Space for header */
        padding-bottom: 20px !important;
    }

    #hero {
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }

    /* --- ABOUT (Le Garage) --- */
    #about .container {
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: space-evenly;
    }
    .about__grid {
        gap: 1.5rem;
        margin: 0;
    }
    .about__text-sub, .about__quote {
        display: none !important;
    }
    .about__text {
        text-align: center;
        font-size: 1rem;
    }
    .about__photos {
        position: relative;
        height: 50vh;
        width: 100%;
        display: block; /* Remove flex */
        margin: 0 auto;
        cursor: pointer;
    }
    .about__photo {
        position: absolute;
        width: 65%;
        height: 85%;
        margin-top: 0 !important;
        border-radius: var(--radius-md);
        box-shadow: 0 15px 35px rgba(0,0,0,0.4);
        transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1), z-index 0.5s, filter 0.5s;
    }
    /* États par défaut si le JS n'a pas encore appliqué les classes */
    .about__photo:nth-child(1) { top: 0; left: 5%; z-index: 2; transform: rotate(-4deg); }
    .about__photo:nth-child(2) { bottom: 0; right: 5%; z-index: 1; transform: rotate(5deg); filter: brightness(0.6); }
    
    /* Classes appliquées par le JS */
    .about__photo.is-front {
        z-index: 2;
        transform: scale(1.05) rotate(0deg) !important;
        filter: brightness(1) !important;
        box-shadow: 0 20px 40px rgba(0,0,0,0.6);
    }
    .about__photo.is-back {
        z-index: 1;
        transform: scale(0.9) rotate(5deg) !important;
        filter: brightness(0.5) !important;
    }
    .about__photo.is-back:nth-child(1) { transform: scale(0.9) rotate(-5deg) translate(-20px, -20px) !important; }
    .about__photo.is-back:nth-child(2) { transform: scale(0.9) rotate(5deg) translate(20px, 20px) !important; }

    .about__photo img {
        height: 100%;
        width: 100%;
        object-fit: cover;
        border-radius: var(--radius-md);
    }
    .about__photo-hover {
        display: none !important;
    }

    /* --- SERVICES (Grille 2x2 Plein Écran) --- */
    #services {
        min-height: 100vh !important;
        min-height: 100svh !important;
        height: auto !important;
        overflow: hidden;
    }
    #services .container {
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: flex-start; /* Commence par le haut */
        padding-top: 10px; /* Ajusté pour remonter le titre sans double padding */
        padding-bottom: 60px; /* Augmenté pour décoller du bas */
    }
    .services__grid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        grid-template-rows: repeat(2, 1fr) !important;
        gap: 16px;
        width: 100%;
        flex-grow: 1; /* Prend tout l'espace disponible */
        margin: 0; /* Plus de margin top ici, on réduit l'espace */
    }
    #services .section__title {
        margin-bottom: 2.5rem; /* Un espace généreux mais équilibré */
    }
    .service-card {
        padding: 1.5rem 0.75rem !important;
        display: flex !important;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        border-radius: var(--radius-lg);
        height: 100%; /* S'assure que la carte s'étire */
    }
    .service-card__icon {
        width: 48px !important;
        height: 48px !important;
        margin-bottom: 0.75rem !important;
        flex-shrink: 0;
    }
    .service-card__title {
        font-size: 1.1rem !important;
        margin-bottom: 0.5rem !important;
    }
    .service-card__text {
        font-size: 0.8rem !important;
        line-height: 1.35 !important;
        display: block !important;
        margin: 0 !important;
        color: var(--color-text-muted);
    }



    /* --- SOCIAL PROOF (Avis) --- */
    #social-proof .container {
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: space-evenly;
    }
    .proof__counter {
        margin-bottom: 0;
        transform: scale(0.85);
        transform-origin: center top;
    }
    .section__title--spaced {
        margin-bottom: 0.5rem;
        font-size: clamp(1.2rem, 4vw, 1.5rem);
    }
    .proof__carousel {
        flex-grow: 1;
        display: flex;
        flex-direction: column;
        justify-content: center;
        min-height: 0;
    }
    .testimonial-card {
        padding: 1.25rem 1rem;
    }
    .testimonial-card__text {
        font-size: 0.9rem;
    }

    /* --- SHOWCASE (Le Bon Coin) --- */
    #showcase {
        justify-content: flex-end !important;
        padding-bottom: 2rem !important;
        padding-top: 0 !important;
    }
    .showcase__bg-img {
        object-position: center 30%;
    }
    .showcase__text {
        display: none !important;
    }
    .showcase__content {
        background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.5) 70%, transparent 100%);
        padding-top: 6rem;
        margin-bottom: 0;
        width: 100%;
        max-width: 100%;
        padding-bottom: 2rem;
    }
    .showcase__title {
        margin-bottom: 1.5rem;
    }
}

/* ================================================================
   ACCESSIBILITY — Reduced Motion
   ================================================================ */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .reveal,
    .reveal-left,
    .reveal-right {
        opacity: 1;
        transform: none;
    }
}
