*{
    margin: 0;
    padding: 0;
    font-family: "Poppins", sans-serif;
}

body{
    overflow-x: hidden;
}

/* =================== HEADER =================== */
.header{
    min-height: 100vh;
    width: 100%;
    background-image: linear-gradient(rgba(4,9,30,0.7),rgba(4,9,30,0.7)), url(images/banner.png);
    background-position: center;
    background-size: cover;
    position: relative;
}

nav {
    position: fixed;
    display: flex;
    padding: 2% 6%;
    justify-content: space-between;
    align-items: center;
    width: 95%;
    z-index: 1000;
    top: 0;
    transition: background-color 0.3s;
    background-color: transparent;
    color: white;
}
nav.scrolled {
    background-color: rgba(0, 0, 0, 0.7);
    height: 30px;
}
nav img{ width: 100px; z-index: 999; }
.nav-links{ flex: 1; z-index: 998; text-align: right; }
.nav-links ul li{
    font-size: 16px;
    list-style: none;
    display: inline-block;
    padding: 8px 36px;
    position: relative;
}
.nav-links ul li a{
    color: #fff;
    text-decoration: none;
    transition: 0.7s;
}
.nav-links ul li::after{
    content: '';
    width: 0%;
    height: 2px;
    background: #ff8400;
    display: block;
    margin: auto;
    transition: 0.7s;
}
.nav-links ul li:hover::after{ width: 100%; }
.nav-links ul li a:hover{ color: #ff8400; }
nav .fa{ display: none; }

.text-box{
    width: 50%;
    color: #fff;
    position: absolute;
    top: 50%;
    left: 30%;
    transform: translate(-50%, -50%);
    text-align: left;
}
.text-box h1{ font-size: 62px; }
.text-box h1 span{ color: #ff8400; }
.text-box p{ margin: 10px 0 40px; font-size: 18px; }

.hero-btn{
    display: inline-block;
    text-decoration: none;
    color: #fff;
    border: 2px solid #ff8400;
    border-radius: 50px;
    padding: 12px 34px;
    font-size: 13px;
    letter-spacing: 3px;
    background: #ff8400;
    position: relative;
    transition: 0.7s;
}
.hero-btn:hover{
    border: 2px solid #fff;
    background: transparent;
    color: #fff;
    box-shadow: 0px 0px 10px #ff8400;
}

.text-box2{
    width: 100%;
    color: #fff;
    text-align: center;
    margin: 38px;
}

/* =================== SECTION LEBONCOIN OCCASIONS =================== */
.lbc-section{
    width: 100%;
    background: #0b0f1a;
    color: #fff;
    padding: 60px 0;
}

.lbc-inner{
    width: min(1200px, 92%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.4fr);
    gap: 32px;
    align-items: flex-start;
}

.lbc-text h2{
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 10px;
    color: #ff8400;
    letter-spacing: 1px;
}

.lbc-text p{
    font-size: 14px;
    line-height: 1.6;
    padding: 0;
    margin-bottom: 12px;
}

.lbc-note{
    font-size: 13px;
    opacity: 0.9;
}

/* Bouton principal Leboncoin */
.lbc-btn{
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 10px 0 16px;
    padding: 10px 22px;
    border-radius: 999px;
    border: 2px solid #ff8400;
    background: #ff8400;
    color: #fff;
    text-decoration: none;
    font-size: 13px;
    letter-spacing: 2px;
    font-weight: 600;
    text-transform: uppercase;
    transition: 0.3s;
}

.lbc-btn i{
    font-size: 16px;
}

.lbc-btn:hover{
    background: transparent;
    color: #ff8400;
    box-shadow: 0 0 12px #ff8400;
}

/* Bloc iframe Leboncoin */
.lbc-frame-wrapper{
    background:#111827;
    border-radius:18px;
    padding:14px 16px 18px;
    border:1px solid rgba(255,255,255,0.08);
    box-shadow:0 10px 30px rgba(0,0,0,0.5);
}

.lbc-frame-wrapper iframe{
    width:100%;
    min-height:520px;
    border:none;
    border-radius:12px;
    overflow:hidden;
}

.lbc-warning{
    font-size:12px;
    margin:8px 0 6px;
    opacity:0.8;
}

.lbc-link-btn{
    display:inline-flex;
    align-items:center;
    gap:6px;
    font-size:13px;
    text-decoration:none;
    color:#ff8400;
    font-weight:600;
}

.lbc-link-btn::after{
    content:"↗";
    font-size:11px;
}

/* Responsive section occasions */
@media (max-width: 900px){
    .lbc-inner{
        grid-template-columns: 1fr;
    }
    .lbc-frame-wrapper iframe{
        min-height:480px;
    }
}


.contactContainer { display: flex; justify-content: space-between; align-items: center; }
.scrollBt { display: flex; height: 100%; gap: 2rem; padding-right: 3rem; }
.scrollBt button{ background: none; color: white; }

/* =================== NAV MOBILE =================== */
@media(max-width:700px){
    .text-box h1{ font-size: 26px; }
    .hero-btn{ padding: 10px 15px; margin: 5px; }

    /* === MENU MOBILE : 1/2 ÉCRAN === */
    .nav-links{
    position: fixed;
    background: #ff8400;
    height: 100vh;
    width: 50vw;      /* 1/2 écran */
    top: 0;
    right: -50vw;     /* caché par défaut */
    text-align: left;
    z-index: 999;
    transition: 0.4s ease;
    padding: 70px 22px 24px;
    box-sizing: border-box;
}


    .nav-links ul{
        margin: 0;
        padding: 0;
    }

    .nav-links ul li{
        display: block;
        font-size: 15px;
        padding: 10px 0;      /* espace entre les éléments */
    }

    .nav-links ul li a{
        display: block;
        color: #fff;
        text-decoration: none;
        padding-left: 6px;    /* petit retrait du texte */
    }

    nav .fa{
        display: block;
        color: #fff;
        margin: 20px;
        font-size: 25px;
        cursor: pointer;
        z-index: 1000;
    }

    nav img{ width: 66px; z-index: 1000; }
}


/* =================== À PROPOS =================== */
.apropos{
    width: 100%;
    margin: auto;
    padding-top: 100px;
    background-image: url(images/man.jpg);
    background-size: cover;
    height: 700px;
}
.apropos h1{
    font-size: 60px;
    font-weight: 900;
    color: #ff8400;
    letter-spacing: 2px;
    word-spacing: 4px;
    margin-left: 5%;
}
p{
    font-size: 14px;
    font-weight: 300;
    line-height: 22px;
    padding: 10px;
}
.icons{
    width: 80px; height: 80px; border-radius: 10px;
    background: linear-gradient(0deg, rgba(187,101,0,1) 0%, rgba(255,167,0,1) 100%);
    display: flex; justify-content: center; align-items: center;
}
.icons i{ font-size: 30px; }
.box{ display: flex; margin-left: 5%; margin-top: 2%; margin-bottom: 4%; }
.apropos p{ padding: 0; }
.apropos .parag{ margin-left: 5%; }
.box .dvtext{ margin-left: 2%; margin-top: -1px; }

/* =================== SLIDER / PROJECTS =================== */
.title{
    display: flex; justify-content: center; color: #3a6cf4;
    font-size: 2.2em; font-weight: 800; margin-bottom: 30px;
}
.content{
    display: flex; justify-content: center; flex-direction: column; align-items: center;
    background-image: linear-gradient(rgba(4,9,30,0.7),rgba(4,9,30,0.7)), url(images/sliderbg.jpg);
    background-position: center; background-size: cover; position: relative;
}
.projects .content{ margin-top: 30px; }

.project-card{
    background-color: #fff; border: 1px solid #fff; min-height: 14em; width: 18em;
    overflow: hidden; border-radius: 10px; margin: 20px; transition: .7s ease; flex: 0 0 18em;
}
.project-card:hover{ opacity: .9; }

.project-img{ padding: 0.4rem; }
.project-img img{ width: 94%; border-radius: 15px; }
.project-info{ padding: 1em; }
.project-categ{ font-size: 0.8em; color: #000; }
.project-title{
    display: flex; justify-content: space-between; text-transform: uppercase;
    font-weight: 800; margin-top: 10px;
}

.slider-container{
    position: relative; width:90vw; overflow: hidden; margin-top: 20px; margin: auto;
}
.slider{ display: flex; transition: transform 0.5s ease; }

/* =================== RESPONSIVE LAYOUT =================== */
@media(max-width:1023px){
    .title{ font-size: 1.8em; }
    section{ padding: 80px 20px; }
    .content{ flex-direction: column; align-items: center; }
}
@media(max-width:641px){
    body{ font-size: 12px; }
}
@media(max-width:300px){
    body{ font-size: 10px; }
}
@media(max-width:440px){
    .project-categ{ font-size: .8em; color: #000; }
    .project-title{ display:flex; justify-content:space-between; text-transform:uppercase; font-weight:800; font-size:.8em; margin-top:10px; }
    .projects .content{ margin-top: 20px; }
    .content{ display:flex; justify-content:center; flex-direction:row; flex-wrap:wrap; }
    .project-card{
        background:#fff; border:1px solid #fff; min-height:19em; width:50%; overflow:hidden; border-radius:10px; margin:auto; transition:.7s ease;
    }
}
@media(max-width:800px){
    .project-categ{ font-size: .8em; color:#000; }
    .project-title{ display:flex; justify-content:space-between; text-transform:uppercase; font-weight:800; font-size:.8em; margin-top:10px; }
    .projects .content{ margin-top:20px; }
    .content{ display:flex; justify-content:center; flex-direction:row; flex-wrap:wrap; }
    .content .card .icon{ font-size:60px; }
    .project-card{ min-height:19em; width:50%; }
    .owl-nav{ display:none; }
}


/* =================== SECTION LEBONCOIN OCCASIONS =================== */
.lbc-section{
    width: 100%;
    background: #0b0f1a;
    color: #fff;
    padding: 60px 0;
}

.lbc-inner{
    width: min(1200px, 92%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.4fr);
    gap: 32px;
    align-items: flex-start;
}

.lbc-text h2{
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 10px;
    color: #ff8400;
    letter-spacing: 1px;
}

.lbc-text p{
    font-size: 14px;
    line-height: 1.6;
    padding: 0;
    margin-bottom: 12px;
}

.lbc-note{
    font-size: 13px;
    opacity: 0.9;
}

/* Bouton principal Leboncoin */
.lbc-btn{
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 10px 0 16px;
    padding: 10px 22px;
    border-radius: 999px;
    border: 2px solid #ff8400;
    background: #ff8400;
    color: #fff;
    text-decoration: none;
    font-size: 13px;
    letter-spacing: 2px;
    font-weight: 600;
    text-transform: uppercase;
    transition: 0.3s;
}

.lbc-btn i{
    font-size: 16px;
}

.lbc-btn:hover{
    background: transparent;
    color: #ff8400;
    box-shadow: 0 0 12px #ff8400;
}

/* Cartes véhicules */
.lbc-cars{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 18px;
}

.lbc-card{
    background: #111827;
    border-radius: 18px;
    padding: 14px 16px;
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.lbc-card h3{
    font-size: 16px;
    margin-bottom: 6px;
}

.lbc-price{
    font-size: 15px;
    font-weight: 700;
    color: #ffb366;
    margin-bottom: 6px;
}

.lbc-tags{
    font-size: 13px;
    line-height: 1.5;
    color: #e5ecff;
    margin-bottom: 6px;
}

.lbc-location{
    font-size: 13px;
    color: #9ca3af;
    margin-bottom: 10px;
}

.lbc-link{
    display: inline-flex;
    align-items: center;
    font-size: 13px;
    text-decoration: none;
    color: #ff8400;
    font-weight: 600;
}

.lbc-link::after{
    content: "↗";
    margin-left: 6px;
    font-size: 12px;
}

.lbc-link:hover{
    text-decoration: underline;
}

/* Responsive section occasions */
@media (max-width: 900px){
    .lbc-inner{
        grid-template-columns: 1fr;
    }
}


.projects .content{
    text-align: center;
    display: block;
    width: 100%;
}
.projects h2{
   color: #fff; padding: 2%; font-size: 50px; letter-spacing: 2px; word-spacing: 4px;
}
.slider-section__line{
    height: 10px; width: 20%; background-color: #ff8400; border-radius: 5px;
    margin-left: auto; margin-right: auto; margin-bottom: 32px;
}
.slider{ display: flex; transition: transform 0.5s ease; width: calc(18em * 4); }

.scroll-btn{
    top: 50%; transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.5);
    border: none; cursor: pointer; font-size: 30px; z-index: 2; margin: 3%;
    border-radius: 7px; width: 20px;
}
.left-btn{ left: 0; }
.right-btn{ right: 0; }

/* =================== LAST SECTION =================== */
.container-last{ display: flex; flex-direction: column; align-items: center; }
.section-last{
    display: flex; justify-content: space-between; align-items: center;
    width: 80%; flex-wrap: wrap; margin-top: 4rem;
}
.content-last{ flex: 1; }
.title-last{
    font-size: 1.5em; font-weight: bold; margin-bottom: 10px; margin-top: 40px; color: orange;
}
.subtitle-last{ font-size: 1em; font-weight: bold; margin-bottom: 5px; }
.subtitle-last .icon-last{ color: orange; font-size: 1.3em; }
.paragraph-last{ font-size: 0.9em; margin-bottom: 20px; }

.imageContainer{ width: 453px; height: 300px; margin-right: 4rem; margin-top: 5rem; }
.image-last{ height: 100%; width: 100%; margin-right: 20px; border-radius: 20px 70px; }

strong.project-title span{ text-align: center; margin: auto; }
.services{ width: 50%; }

/* =================== SECTION AVIS GOOGLE (NOUVELLES CLASSES) =================== */
/* 1) Section compacte, sans min-height forcé */
.avis-section{
    width: 100%;
    background-image:
        linear-gradient(rgba(4,9,30,0.7),rgba(4,9,30,0.7)),
        url(images/calltoaction2.jpg);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
    color: #fff;
    padding: 24px 0 20px; /* petit espace haut/bas */
    text-align: center;
}

/* 2) Conteneur interne */
.avis-inner{
    width: min(900px, 92%);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px; /* petit espace entre texte et boutons */
}

/* 3) Texte compact */
.avis-text{
    font-size: 14px;
    font-weight: 300;
    line-height: 22px;
    padding: 0;
    width: 100%;
    max-width: 720px;
    margin: 0;
    color: #eef3ff;
}

/* 4) Lien */
.avis-link{
    color: #ffb366;
    text-decoration: underline;
    font-weight: 500;
    transition: color 0.3s ease;
}
.avis-link:hover{
    color: #ff8400;
    text-decoration: none;
}

/* 5) Boutons */
.avis-buttons{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin: 6px 0 0;
}
.avis-btn{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    text-decoration: none;
    color: #fff;
    border: 2px solid #ff8400;
    border-radius: 50px;
    padding: 12px 24px;
    font-size: 13px;
    letter-spacing: 2px;
    background: #ff8400;
    transition: 0.7s;
    min-width: 150px;
    line-height: 1;
}
.avis-btn:hover{
    border: 2px solid #fff;
    background: transparent;
    color: #fff;
    box-shadow: 0px 0px 10px #ff8400;
}

/* 6) Responsive AVIS */
@media(max-width:700px){
    .avis-section{ padding: 20px 0 18px; }
    .avis-text{ font-size: 13px; line-height: 20px; max-width: 95%; }
    .avis-btn{ min-width: 140px; padding: 10px 20px; }
}


/* Bouton WhatsApp dans le menu */
.nav-links ul li a.whatsapp-link{
    background: #25D366;
    border-radius: 50px;
    padding: 8px 18px;
    border: 1px solid #25D366;
    font-weight: 600;
}

.nav-links ul li a.whatsapp-link i{
    margin-right: 6px;
}

.nav-links ul li a.whatsapp-link:hover{
    background: transparent;
    color: #25D366;
    box-shadow: 0 0 10px #25D366;
}

/* =================== FOOTER =================== */
.footer{
    width: 100%;
    background-color: #000016;
    color: #fff;
    display: flex;
    justify-content: space-between;
}
.footer-title{ font-size: 1em; font-weight: 600; }
.footer-title span{ color: #ff8400; }
.footer .social-icons a{ font-size: 1.3em; }
.social-icons a{ padding: 10px; }

/* =================== AUTRES RESPONSIVE =================== */
@media(max-width:611px){
    .imageContainer{ height: 100%; width: 100%; margin: auto; }
    .social-icons{ display: flex; }

    .text-box{
        width: 100%; color: #fff; position: absolute;
        top: 50%; left: 50%; transform: translate(-50%, -50%);
        text-align: left;
    }
    .text-box p{ font-size: 13px; }
    .projects h2{ font-size: 44px; }
    .text-box{ width: 90%; text-align: center; }
    .apropos h1{ font-size: 41px; }
    .icons{ width: 179px; height: 52px; }
    .icons i{ font-size: 23px; }
    .projects .content{ margin-top: 4rem; padding-bottom: 4rem; }
    section{ padding: 0; }

    .text-box2{ text-align: center; width: 100%; margin:4rem auto; order: 1; }
    .services{ width: 100%; }
    .contactContainer{
        display: flex; justify-content: space-between; align-items: center; flex-direction: column;
    }
    .scrollBt{ display: flex; height: 100%; gap: 2rem; padding-right: 0; margin-top: 2rem; }

    .knownSlider{ gap: -2rem; animation: carouselAnim 40s infinite linear; }
    .container .carousel-items{ animation: carouselAnim 30s infinite alternate linear; }

    @keyframes carouselAnim {
        from { transform: translate(0, 0); }
        to   { transform: translate(calc(-200% + (18*100px))); }
    }
}

/* Utilitaire spécifique (gardé) */
.carousel-focus.flex.items-center.justify-center.flex-col.relative.bg-white.mx-5.my-10.h-64.w-48.rounded-lg.shadow-lg {
    height: 100%;
    width: 200%;
}
@media(max-width:395px){
    .image-last{ height: 100%; width: 100%; }
}

/* =================== ANIMATIONS DIVERS =================== */
@keyframes carouselAnim {
    from { transform: translate(0, 0); }
    to   { transform: translate(calc(-100% + (18*100px))); }
}
.carousel-focus:hover{
    transition: all 0.8s;
    /* transform: scale(1.1); */
}


