/* --- BASE --- */
:root {
    --brand-blue: #2B6EB4;
    /* Couleur principale de leur pancarte */
    --brand-dark: #121A22;
    /* Fond très sombre mais pro */
    --brand-black: #080D11;
    --brand-white: #FFFFFF;
    --brand-gray: #A0B0C4;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    background-color: var(--brand-dark);
    color: var(--brand-white);
    line-height: 1.6;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--brand-dark);
}

::-webkit-scrollbar-thumb {
    background: rgba(43, 110, 180, 0.5);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--brand-blue);
}

body {
    background-color: var(--brand-dark);
    color: var(--brand-white);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Typography */
h1,
h2,
h3 {
    font-weight: 800;
}

.highlight-blue {
    color: var(--brand-blue);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 80px 0;
}

.text-center {
    text-align: center;
}

.divider {
    width: 60px;
    height: 3px;
    background-color: var(--brand-blue);
    margin: 20px auto;
}

/* --- HEADER --- */
header {
    background-color: rgba(8, 13, 17, 0.95);
    padding: 15px 0;
    position: fixed;
    width: 100%;
    z-index: 100;
    backdrop-filter: blur(10px);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-nb {
    font-size: 30px;
    font-weight: 800;
    color: var(--brand-blue);
    font-style: italic;
    text-shadow: 2px 2px 0px rgba(255, 255, 255, 0.9);
}

.logo-cleaner {
    font-size: 20px;
    font-weight: 600;
    line-height: 1;
}

.logo-cleaner small {
    font-size: 10px;
    letter-spacing: 2px;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
    align-items: center;
}

nav ul li a {
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 600;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: var(--brand-blue);
}

.btn-phone {
    background-color: var(--brand-blue);
    padding: 10px 20px;
    border-radius: 4px;
    color: #fff !important;
}

.btn-phone:hover {
    background-color: #fff;
    color: var(--brand-blue) !important;
}

.hamburger {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--brand-blue);
    flex-shrink: 0;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.btn-tarifs-nav {
    display: inline-block;
    padding: 8px 16px;
    border: 2px solid var(--brand-blue);
    color: var(--brand-blue);
    border-radius: 4px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    transition: all 0.3s;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.btn-tarifs-nav:hover {
    background-color: var(--brand-blue);
    color: #fff;
}

.btn-tarifs-nav.active {
    background-color: var(--brand-blue);
    color: #fff;
}

/* --- HERO --- */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 0 20px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('images/hero_bg_bmw.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(8, 13, 17, 0.9) 0%, rgba(43, 110, 180, 0.3) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    margin-top: 50px;
}

.hero-content h1 {
    font-size: 55px;
    margin-bottom: 20px;
}

.hero-content .subtitle {
    font-size: 20px;
    color: var(--brand-gray);
    margin-bottom: 40px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.btn-primary,
.btn-secondary {
    padding: 15px 30px;
    border-radius: 4px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 1px;
    display: inline-block;
    transition: all 0.3s;
}

.btn-primary {
    background-color: var(--brand-blue);
    color: #fff;
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--brand-white);
    color: #fff;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(43, 110, 180, 0.4);
}

.btn-secondary:hover {
    background-color: var(--brand-white);
    color: var(--brand-dark);
    transform: translateY(-3px);
}

/* --- SERVICES CAROUSEL --- */
.services-carousel-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 50px;
    position: relative;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    overflow: hidden;
    padding: 20px 0;
}

.services-carousel {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 100%;
    height: 420px;
    perspective: 1000px;
}

.carousel-btn {
    background: transparent;
    border: none;
    color: var(--brand-white);
    font-size: 30px;
    cursor: pointer;
    z-index: 10;
    transition: color 0.3s;
    padding: 10px;
}

.carousel-btn:hover {
    color: var(--brand-blue);
}

.carousel-item {
    position: absolute;
    width: 320px;
    background-color: var(--brand-black);
    padding: 40px 20px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid rgba(43, 110, 180, 0.1);
    transition: all 0.5s ease;
    opacity: 0.5;
    transform: scale(0.85);
    /* Smaller when inactive */
    z-index: 1;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.carousel-item.active {
    opacity: 1;
    transform: scale(1.1);
    /* Larger when active */
    z-index: 3;
    border-color: var(--brand-blue);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
    cursor: default;
}

.carousel-item.prev {
    transform: translateX(-160px) scale(0.85);
    z-index: 2;
}

.carousel-item.next {
    transform: translateX(160px) scale(0.85);
    z-index: 2;
}

.carousel-item.hidden {
    opacity: 0;
    pointer-events: none;
    z-index: 0;
    transform: scale(0.6);
}

.service-icon {
    font-size: 40px;
    color: var(--brand-blue);
    margin-bottom: 20px;
}

.service-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-bottom: 5px;
    gap: 10px;
}

.carousel-item h3 {
    margin-bottom: 0;
    font-size: 19px;
    color: var(--brand-white);
    text-align: left;
    flex: 1;
}

.price-badge {
    font-size: 12px;
    font-weight: 700;
    color: var(--brand-blue);
    background: rgba(43, 110, 180, 0.1);
    padding: 4px 10px;
    border-radius: 20px;
    border: 1px solid rgba(43, 110, 180, 0.3);
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.price-orange {
    color: #FFA500;
    background: rgba(255, 165, 0, 0.1);
    border-color: rgba(255, 165, 0, 0.3);
}

.price-soon {
    color: var(--brand-gray);
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
}

.service-desc {
    color: var(--brand-gray);
    font-size: 13px;
    margin-bottom: 20px;
    display: none;
    /* Hide description on inactive items */
    transition: all 0.3s;
}

.carousel-item.active .service-desc {
    display: block;
    /* Show description only on active item */
}

.btn-discover {
    display: inline-block;
    padding: 10px 20px;
    background-color: transparent;
    border: 1px solid var(--brand-blue);
    color: var(--brand-white);
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s;
    opacity: 0;
    /* Hidden by default */
}

.carousel-item.active .btn-discover {
    opacity: 1;
}

.carousel-item.active:hover .btn-discover {
    background-color: var(--brand-blue);
    color: #fff;
    transform: translateY(-3px);
}

.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 10px;
}

.indicator {
    width: 12px;
    height: 12px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
}

.indicator:hover {
    transform: scale(1.2);
}

.indicator.active {
    background-color: var(--brand-blue);
    transform: scale(1.2);
}

/* Responsiveness for Carousel */
@media (max-width: 1024px) {
    .carousel-item {
        width: 280px;
    }

    .carousel-item.prev {
        transform: translateX(-120px) scale(0.85);
    }

    .carousel-item.next {
        transform: translateX(120px) scale(0.85);
    }
}

@media (max-width: 600px) {
    .services-carousel-container {
        padding: 10px 0;
    }

    .carousel-btn {
        display: flex;
        position: absolute;
        z-index: 20;
        font-size: 18px;
        background: rgba(8, 13, 17, 0.9);
        border: 1px solid rgba(43, 110, 180, 0.5);
        border-radius: 50%;
        width: 35px;
        height: 35px;
        align-items: center;
        justify-content: center;
    }

    .prev-btn {
        left: 2px;
    }

    .next-btn {
        right: 2px;
    }

    .services-carousel {
        height: 460px;
        /* Donne plus de hauteur pour le texte sur mobile */
    }

    .carousel-item {
        width: 270px;
        padding: 35px 20px;
        border-radius: 16px;
    }

    .carousel-item h3 {
        font-size: 18px;
    }

    .service-price {
        font-size: 16px;
    }

    .service-desc {
        font-size: 14px;
        line-height: 1.4;
    }

    .carousel-item.prev {
        opacity: 0.15;
        transform: translateX(-180px) scale(0.85);
        pointer-events: none;
    }

    .carousel-item.next {
        opacity: 0.15;
        transform: translateX(180px) scale(0.85);
        pointer-events: none;
    }

    .carousel-item.active {
        transform: scale(1.02);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
    }
}

/* --- ANIMATIONS --- */
.reveal-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal-up.active {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    transition-delay: 0.2s;
}

.delay-2 {
    transition-delay: 0.4s;
}

.delay-3 {
    transition-delay: 0.6s;
}

/* --- SLIDER AVANT / APRES --- */
.realisations {
    background-color: var(--brand-dark);
}

.sliders-container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: center;
    align-items: center;
    margin-top: 40px;
}

.ba-slider {
    position: relative;
    flex: 1 1 450px;
    max-width: 600px;
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
    background-color: #000;
    touch-action: pan-y;
    --slider-pos: 50%;
}

.ba-slider .after-img-wrap,
.ba-slider .before-img-wrap {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.ba-slider .after-img-wrap {
    z-index: 1;
}

.ba-slider .before-img-wrap {
    z-index: 2;
    clip-path: inset(0 calc(100% - var(--slider-pos)) 0 0);
}

.ba-slider img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
    user-select: none;
}

.ba-slider .after-img-wrap img {
    /* Centré classiquement */
    transform: none;
}

.ba-slider .before-img-wrap img {
    transform: none;
}

.ba-slider img.porsche-avant {
    transform: scale(1.15) translate(3%, 2.5%);
}

.ba-slider img.porsche-apres {
    transform: scale(1.15) translateY(-3%);
}

.ba-slider img.wheel-align {
    transform: scale(1.1) translateY(3%);
}

.slider-handle {
    position: absolute;
    top: 0;
    bottom: 0;
    left: var(--slider-pos);
    width: 2px;
    background-color: var(--brand-white);
    z-index: 3;
    transform: translateX(-50%);
    pointer-events: none;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.slider-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background-color: var(--brand-blue);
    border: 3px solid var(--brand-white);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    color: #fff;
    font-size: 18px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    transition: transform 0.2s;
}

.ba-slider:hover .slider-circle {
    transform: translate(-50%, -50%) scale(1.05);
}

.slider-labels span {
    position: absolute;
    top: 20px;
    color: #fff;
    font-weight: 800;
    font-size: 14px;
    letter-spacing: 2px;
    background: rgba(18, 26, 34, 0.7);
    padding: 8px 15px;
    border-radius: 4px;
    backdrop-filter: blur(5px);
    z-index: 3;
    pointer-events: none;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.label-before {
    left: 20px;
}

.label-after {
    right: 20px;
}

/* Range Input Overlay */
.slider-input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    z-index: 4;
    cursor: ew-resize;
    -webkit-appearance: none;
    appearance: none;
    background: transparent;
}

.slider-input::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 60px;
    height: 100vh;
    cursor: ew-resize;
}

.slider-input::-moz-range-thumb {
    width: 60px;
    height: 100vh;
    cursor: ew-resize;
    background: transparent;
    border: none;
}



.ba-slider.service-header {
    aspect-ratio: 16 / 10;
}

/* --- GALERIE SECTION --- */
.galerie {
    background-color: var(--brand-black);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-top: 40px;
}

.gallery-grid.moto-gallery {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 600px;
    margin-inline: auto;
}

.gallery-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(43, 110, 180, 0.6) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item:hover::after {
    opacity: 1;
}

/* --- B2B PARTNERS --- */
.b2b-partners {
    overflow: hidden;
    position: relative;
    padding: 40px 0;
    background-color: var(--brand-black);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.partners-title {
    color: var(--brand-gray);
    font-size: 0.9em;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 30px;
    font-weight: 600;
}

.partners-logo-container {
    display: flex;
    white-space: nowrap;
    overflow: hidden;
    position: relative;
    width: 100%;
}

.partners-track {
    display: flex;
    gap: 80px;
    padding-right: 80px;
    align-items: center;
    animation: scroll-partners 20s linear infinite;
    animation-play-state: paused;
    will-change: transform;
    backface-visibility: hidden;
    transform: translateZ(0);
}

.partners-track.visible {
    animation-play-state: running;
}

.partner-logo img {
    height: 35px;
    width: auto;
    max-width: 80px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: 1;
    transition: opacity 0.4s ease, filter 0.4s ease, transform 0.4s ease;
}

.partner-logo img:hover {
    opacity: 1;
    filter: brightness(0) invert(1);
    transform: scale(1.05);
}

@keyframes scroll-partners {
    0% {
        transform: translateZ(0) translateX(0);
    }

    100% {
        transform: translateZ(0) translateX(-50%);
    }
}

.partner-logo {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    min-width: 90px;
    gap: 15px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5em;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.25);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: color 0.3s ease, transform 0.3s ease, text-shadow 0.3s ease;
    cursor: default;
}

.partner-logo:hover {
    color: var(--brand-white);
    transform: scale(1.1);
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
}

/* Pause scroll on hover */
.partners-track:hover {
    animation-play-state: paused;
}

/* Gradient fades on the edges for the marquee effect */
.partners-logo-container::before,
.partners-logo-container::after {
    content: '';
    position: absolute;
    top: 0;
    width: 150px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.partners-logo-container::before {
    left: 0;
    background: linear-gradient(to right, var(--brand-black) 0%, transparent 100%);
}

.partners-logo-container::after {
    right: 0;
    background: linear-gradient(to left, var(--brand-black) 0%, transparent 100%);
}

/* --- DELIVERY BANNER --- */
.delivery-banner {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(43, 110, 180, 0.1);
    border: 1px solid rgba(43, 110, 180, 0.3);
    border-radius: 8px;
    padding: 15px 30px;
    max-width: 800px;
    margin: 0 auto 40px auto;
    text-align: left;
}

.delivery-text {
    line-height: 1.5;
}

.delivery-text strong {
    color: var(--brand-blue);
    font-size: 1.1em;
}

/* --- CONTACT SECTION --- */
.mt-30 {
    margin-top: 30px;
}

.contact {
    background-color: var(--brand-black);
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(43, 110, 180, 0.05) 0%, transparent 70%);
    z-index: 0;
}

.contact-box {
    background-color: rgba(18, 26, 34, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(43, 110, 180, 0.2);
    border-radius: 12px;
    padding: 60px;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
}

.contact-details {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin: 40px 0;
    flex-wrap: wrap;
}

.contact-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 15px;
}

.contact-item.highlight {
    transform: scale(1.1);
}

.contact-item i {
    font-size: 30px;
    color: var(--brand-blue);
    background: rgba(43, 110, 180, 0.1);
    width: 70px;
    height: 70px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    border: 1px solid rgba(43, 110, 180, 0.3);
}

.contact-item.highlight i {
    background: var(--brand-blue);
    color: #fff;
    box-shadow: 0 0 15px rgba(43, 110, 180, 0.5);
}

.contact-item h4 {
    font-size: 14px;
    color: var(--brand-gray);
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.phone-number {
    font-size: 24px !important;
    font-weight: 800;
    color: #fff !important;
}

/* Nouvelles icônes de contact réseaux (Snapchat, Mail, FB) */
.social-contact-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: white;
    text-decoration: none;
    transition: transform 0.3s;
}

.social-contact-link:hover {
    transform: scale(1.1);
}

.social-contact-link span {
    font-size: 14px;
    color: var(--brand-gray);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* --- FOOTER --- */
footer {
    background-color: #05080a;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 60px 20px 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto 40px;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-socials {
    display: flex;
    gap: 15px;
}

.footer-socials a {
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    transition: all 0.3s;
    font-size: 18px;
}

.footer-socials a:hover {
    background-color: var(--brand-blue);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--brand-gray);
    font-size: 12px;
}

/* Responsive */
@media(max-width: 1024px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-content h1 {
        font-size: 40px;
    }
    .hero {
        height: 100vh;
        align-items: flex-end;
        padding-bottom: 60px;
    }

    .hero-bg {
        background-size: 120% auto;
        background-position: top center;
    }

    .hero-overlay {
        background: linear-gradient(to bottom, transparent 0%, rgba(8, 13, 17, 0.5) 25%, rgba(8, 13, 17, 1) 45%, rgba(8, 13, 17, 1) 100%);
    }

    .hero-content {
        margin-top: 0;
        width: 100%;
    }

    .hamburger {
        display: block;
    }

    nav ul {
        display: flex;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: rgba(8, 13, 17, 0.98);
        flex-direction: column;
        padding: 40px 20px;
        text-align: center;
        gap: 20px;
        box-sizing: border-box;

        /* Animation properties */
        opacity: 0;
        visibility: hidden;
        transform: translateY(-20px);
        transition: all 0.4s ease-in-out;
    }

    nav ul.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    nav ul li a {
        font-size: 18px;
    }

    .btn-phone {
        display: inline-block;
        padding: 15px 30px;
        font-size: 18px;
        margin-top: 10px;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .section-padding {
        padding: 50px 0;
        /* Less padding on mobile to keep content dense */
    }

    .delivery-banner {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .delivery-banner i {
        margin-right: 0 !important;
    }

    .partners-track {
        gap: 40px;
        padding-right: 40px;
        animation-duration: 12s;
    }

    .partner-logo {
        min-width: 70px;
    }

    .partner-logo img {
        height: 25px;
        max-width: 60px;
    }

    .partners-logo-container::before,
    .partners-logo-container::after {
        width: 50px;
    }

    .contact-info h2 {
        font-size: 26px;
    }

    .phone-number {
        font-size: 20px !important;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .sliders-container {
        gap: 30px;
    }

    .ba-slider {
        margin-top: 0;
    }

    .slider-labels span {
        font-size: 10px;
        padding: 5px 10px;
        top: 10px;
    }

    .slider-circle {
        width: 40px;
        height: 40px;
        font-size: 14px;
        gap: 5px;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
}

/* Extra small devices (like iPhone 12/13/14 regular, max-width: 480px) */
@media(max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr;
        /* 1 column for full screen impact on small phones */
    }

    .hero-content h1 {
        font-size: 32px;
    }

    .hero-content .subtitle {
        font-size: 16px;
        margin-bottom: 25px;
    }

    .btn-primary,
    .btn-secondary {
        padding: 12px 20px;
        font-size: 12px;
    }
}

/* --- Bandeau cookies / confidentialité (RGPD) --- */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    padding: 16px 20px;
    background: var(--brand-black);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.35s ease, opacity 0.35s ease;
}

.cookie-banner.hidden {
    transform: translateY(100%);
    opacity: 0;
    pointer-events: none;
}

.cookie-banner-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.cookie-banner p {
    margin: 0;
    color: var(--brand-gray);
    font-size: 14px;
    line-height: 1.5;
    flex: 1;
    min-width: 260px;
}

.cookie-banner a {
    color: var(--brand-blue);
    text-decoration: underline;
}

.cookie-banner a:hover {
    color: var(--brand-white);
}

.cookie-banner-btn {
    flex-shrink: 0;
    padding: 12px 24px;
    background: var(--brand-blue);
    color: var(--brand-white);
    border: none;
    border-radius: 8px;
    font-family: inherit;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
}

.cookie-banner-btn:hover {
    background: #234a7a;
}

.cookie-banner-btn:active {
    transform: scale(0.98);
}

@media (max-width: 600px) {
    .cookie-banner-inner {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }

    .cookie-banner p {
        min-width: 0;
    }
}

/* --- Square 'Et d’autres' Card --- */
.etc-card {
    flex: 1 1 450px;
    max-width: 600px;
    width: 100%;
    aspect-ratio: 4 / 3;
    background: linear-gradient(135deg, rgba(43, 110, 180, 0.05) 0%, rgba(43, 110, 180, 0.15) 100%);
    border: 2px dashed rgba(43, 110, 180, 0.3);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--brand-white);
    font-weight: 700;
    font-size: 22px;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.etc-card:hover {
    background: linear-gradient(135deg, rgba(43, 110, 180, 0.15) 0%, rgba(43, 110, 180, 0.25) 100%);
    border-color: var(--brand-blue);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(43, 110, 180, 0.2);
}

.etc-card i {
    display: block;
    font-size: 30px;
    margin-bottom: 15px;
    color: var(--brand-blue);
}

@media (max-width: 1024px) {
    .etc-card {
        flex: 1 1 100%;
        max-width: 600px;
    }
}

/* --- TESTIMONIALS SECTION --- */
.testimonials {
    background-color: var(--brand-dark);
}

.reviews-grid {
    display: flex;
    overflow-x: auto;
    gap: 20px;
    padding: 20px 10px 40px 10px;
    scroll-snap-type: x mandatory;
}

.review-card {
    background-color: var(--brand-black);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 25px;
    min-width: 350px;
    max-width: 350px;
    flex-shrink: 0;
    scroll-snap-align: start;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
}

.review-card:hover {
    transform: translateY(-5px);
    border-color: rgba(43, 110, 180, 0.3);
}

.review-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.review-avatar {
    width: 45px;
    height: 45px;
    background-color: var(--brand-blue);
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 800;
    font-size: 18px;
    box-shadow: 0 4px 10px rgba(43, 110, 180, 0.4);
}

.review-author {
    font-weight: 600;
    font-size: 16px;
    color: var(--brand-white);
}

.review-date {
    font-size: 12px;
    color: var(--brand-gray);
}

.review-stars {
    color: #FFD700;
    margin-bottom: 15px;
    font-size: 14px;
}

.review-text {
    font-size: 14px;
    color: #ddd;
    font-style: italic;
    line-height: 1.6;
    flex-grow: 1;
}

/* Fix mobile scaling for reviews */
@media (max-width: 600px) {
    .review-card {
        min-width: 280px;
        max-width: 280px;
    }
}

/* --- TRUST INDICATORS & STATS --- */
.hero-badges {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-bottom: 25px;
}

.trust-badge {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--brand-gray);
    display: flex;
    align-items: center;
    gap: 8px;
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

.trust-badge i {
    color: var(--brand-blue);
    font-size: 13px;
    opacity: 0.8;
}

.stats-section {
    background-color: var(--brand-dark);
    padding: 60px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.stats-grid {
    display: flex;
    justify-content: space-around;
    align-items: center;
    max-width: 900px;
    margin: 0 auto;
    gap: 20px;
}

.stat-item {
    text-align: center;
    flex: 1;
    position: relative;
}

.stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -10px;
    top: 50%;
    transform: translateY(-50%);
    height: 30px;
    width: 1px;
    background: rgba(255, 255, 255, 0.1);
}

.stat-icon {
    font-size: 20px;
    color: var(--brand-blue);
    margin-bottom: 10px;
    opacity: 0.7;
}

.stat-number {
    display: block;
    font-size: 32px;
    font-weight: 700;
    color: var(--brand-white);
    margin-bottom: 5px;
    line-height: 1;
}

.stat-label {
    display: block;
    font-size: 10px;
    font-weight: 600;
    color: var(--brand-gray);
    text-transform: uppercase;
    letter-spacing: 2px;
}

@media (max-width: 768px) {
    .stats-grid {
        flex-direction: column;
        gap: 40px;
    }
    .stat-item:not(:last-child)::after {
        display: none;
    }
}