:root {
    --color_blanc: rgb(255, 255, 255);
    --color_noir: #131313;
    --color_jaune: #FFC300;
    --color_bleu-acier: #4682B4;
    --color_bleu-marine: #0F2B3D;
    --color_gris-fonce: #333333;
    --color_gris-argente: #C9C9C9;
    --filter_noir: brightness(0) saturate(100%);
    --filter_jaune: brightness(0) saturate(100%) invert(66%) sepia(96%) saturate(1094%) hue-rotate(1deg) brightness(106%) contrast(104%);
    --padding_L: 5.3vw;
    --padding_LR: 9.3vw;
    --header_height: 80vh;
    --navbar_height: 80px;
    --swiper-theme-color: var(--color_jaune) !important;
    --swiper-pagination-bullet-inactive-color: var(--color_jaune) !important;
    --swiper-pagination-bullet-width: 13px;
    --swiper-pagination-bullet-height: 13px;
    --swiper-pagination-bullet-horizontal-gap: 12px;
    --font_title: 'Racing Sans One', 'Prompt', sans-serif;
    --font_main: 'Prompt', sans-serif;
}

body {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: var(--font_main);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-color: #797979;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

body.no-scroll {
    overflow: hidden;
}

body.page-accueil {
    background-image: url("/themes/jvflex/assets/images/background-accueil.webp");
}

body.page-partenaires {
    background-image: url("/themes/jvflex/assets/images/background-partenaires.webp");
}

body.page-contact {
    background-image: url("/themes/jvflex/assets/images/background-contact.webp");
}

* {
    box-sizing: border-box;
}

.jvflex {
    position: fixed;
    z-index: 9999;
    top: 70px;
    left: 16px;
}

.jvflex>a {
    border-radius: 24px;
    cursor: pointer;
    display: block;
    height: 48px;
    line-height: 48px;
    opacity: .9;
    position: absolute;
    text-align: center;
    font-size: 24px;
    font-style: normal;
    font-weight: 400;
    font-variant: normal;
    speak: none;
    text-transform: none;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    width: 48px;
    background: url("/themes/jvflex/assets/images/theme-preview.png"), #f8f6f5;
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    box-shadow: 0px 0px 3px 1px rgb(0 0 0 / 30%);
}

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

.img_fit {
    object-fit: cover;
    object-position: center;
}

h1 {
    margin: 0 0 1.25rem 0;
    font-style: normal;
    font-weight: 400;
    font-size: 96px;
    font-family: var(--font_title);
    line-height: 1;
    text-transform: uppercase;
    color: var(--color_blanc);
    text-align: center;
}

h2 {
    font-style: normal;
    font-weight: 400;
    font-size: 48px;
    text-transform: uppercase;
    margin: 0;
    color: var(--color_blanc);
    text-align: center;
}
.swiper-pagination#modele-pagination {
    margin-top: 1rem;
    position: unset;
}
.subtitle {
    font-style: normal;
    font-weight: 300;
    font-size: 24px;
    color: var(--color_jaune);
    text-align: center;
}

.paragraph {
    color: var(--color_blanc);
}

p {
    font-style: normal;
    font-weight: 400;
    font-size: 18px;
}

header {
    box-shadow: 0px 4px 30px rgba(0, 0, 0, 0.1);
}

header.home {
    background-image: url("/themes/jvflex/assets/images/header.webp");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

header #header-top {
    display: flex;
    justify-content: center;
    align-items: center;
    height: var(--navbar_height);
    background-color: rgba(0, 0, 0, 0.7);
    padding: 0.5rem 2rem;
}

header #navbar {
    justify-self: center;
}

header #navbar ul {
    display: flex;
    padding: 0;
    list-style: none;
    gap: 1.875rem;
    margin: 0;
}

header #navbar ul a.nav-link {
    color: var(--color_blanc);
    text-decoration: none;
    font-style: normal;
    font-weight: 400;
    font-size: 2rem;
    text-transform: uppercase;
}

header #navbar ul li.contact-link {
    display: none;
}

header #navbar ul a.nav-link:hover {
    color: var(--color_bleu-acier);
}

header #navbar ul a.nav-link.active {
    color: var(--color_bleu-acier);
    font-weight: 500;
}

header#layout-header>#header-top>#burger-menu {
    display: none;
}

header #header-bottom {
    height: calc(100% - var(--navbar_height));
    display: flex;
    justify-content: center;
    color: var(--color_blanc);
    padding: 2rem 0 2rem var(--padding_LR);
    gap: 1rem;
    flex-grow: 1;
}
header #header-bottom .header-bottom_left, header #header-bottom .header-bottom_right{
    display: flex;
    flex-direction: column;
    justify-content: center;
}
header #header-bottom .header-bottom_left {
    width: 75%;
}
header #header-bottom .header-bottom_right{
    width: 100%;
    overflow: hidden;
    position: relative;
}
header #header-bottom .header-bottom_left, header #header-bottom .header-bottom_right img{
    height: auto;
}
header #header-bottom .header-bottom_right img{
    width: 100%;
    position: absolute;
    right: -10px;
}
header #header-bottom .header-infos a {
    text-decoration: none;
    color: inherit;
}
header #header-bottom h1 {
    text-align: left;
}
header #header-bottom .subtitle {
    font-style: normal;
    font-weight: 300;
    font-size: 2rem;
    margin: 0;
    text-transform: uppercase;
    color: var(--color_jaune);
    text-align: left;
}

header #header-bottom .paragraph {
    font-style: normal;
    font-weight: 400;
    font-size: 2rem;
    margin: 0;
    color: var(--color_gris-argente);
    max-width: 750px;
}

header #header-bottom .button-container {
    margin: 1rem 0;
}
header #header-bottom .header-infos .header-info, .footer-info {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
}

header #header-bottom .header-infos{
    margin: 12px 0;
}

header #header-bottom .header-infos .header-info+.header-info {
    margin: 5px 0;
}

.button-container {
    display: flex;
    margin: 0;
}

.button-container.btn>a,
.button {
    appearance: none;
    border-radius: 5px;
    cursor: pointer;
    padding: 1.05rem 1.75rem;
    background-color: var(--color_bleu-acier);
    text-decoration: none;
    color: var(--color_blanc);
    font-style: normal;
    font-weight: 400;
    font-size: 1.25rem;
    text-transform: uppercase;
    display: flex;
    gap: 14px;
    align-items: center;
}

.button-container.btn>a:hover,
.button:hover {
    background-color: var(--color_blanc);
    color: var(--color_noir);
}

.button-container.btn>a:hover img,
.button:hover img {
    filter: var(--filter_noir);
}

main {
    padding: 0 var(--padding_LR);
}

main.default {
    padding: 130px var(--padding_LR);
}
.page-vehicules main , .page-accessoires main {
    padding-bottom: 0;
    padding-top: 0;
}
section.bcg {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
section.full {
    margin: 0 calc(-1 * var(--padding_LR)) 0;
    padding: 5vh var(--padding_LR);
}
section.fulla, .section-fulla {
    margin: 0 calc(-1 * var(--padding_LR)) 0;
}
section#entreprise {
    background-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0px 4px 40px rgba(0, 0, 0, 0.5);
    display: grid;
    grid-template-columns: 1fr 1fr;
    max-width: 1400px;
    margin: 10vh auto 12vh;
}
section#entreprise .entreprise_img {
    position: relative;
    min-height: 35vh;
}
section#entreprise .entreprise_img img {
    position: absolute;
    width: 100%;
    height: 100%;
}
section#entreprise .entreprise_content {
    padding: 70px;
}
section#partenaires {
    background: rgba(0, 0, 0, 0.8);
    padding-top: 12vh;
    padding-bottom: 15vh;
}
section#partenaires h2 {
    margin-bottom: 1rem;
}
section#partenaires .carousselPartenaires .swiper-slide{
    display: flex;
    align-items: center;
    width: 196px;
    height: 196px;
    border-radius: 196px;
    overflow: hidden;
}
section#partenaires .carousselPartenaires .swiper-slide img{
    height: auto;
}
footer {
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(12.5px);
    color: var(--color_gris-argente);
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    padding: 0 5vw;
}

footer a,
footer p,
footer address {
    color: inherit;
    font-style: inherit;
    text-decoration: none;
    font-size: 18px;
}
footer .title {
    font-style: normal;
font-weight: 500;
font-size: 24px;
text-transform: uppercase;
color: var(--color_jaune);
}

footer .footer-links {
    text-align: center;
}

footer .footer-hours {
    text-align: right;
}
footer .footer-socials {
    display: flex;
    gap: 20px;
    justify-content: center;
}
footer .footer-socials a:hover img {
    filter: var(--filter_jaune);
}
footer .footer-legals p {
    margin: 0.5rem;
}
footer .footer-info+.footer-info{
    margin-top: 0.5rem;
}
.partenaires {
    margin-top: 2rem;
    display: grid;
    gap: 50px;
    justify-items: center;
    grid-template-columns: repeat(auto-fill, minmax(675px, 1fr));
}
.partenaires .partenaire {
    display: flex;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.35);
    border-radius: 5px;
    padding: 11px 11px 11px 2rem;
    gap:1rem;
    max-width: 700px;
}

.partenaires .partenaire:nth-child(even) {
    background-color: rgba(0, 0, 0, 0.35);
}
.partenaires .partenaire .partenaire_infos .button-container {
    white-space: nowrap;
}
.partenaires .partenaire .partenaire_infos h2 {
    font-style: normal;
    font-weight: 400;
    font-size: 40px;
}
.partenaires .partenaire .partenaire_logo {
    background-color: var(--color_blanc);
    display: flex;
    max-width: 340px;
    height: 300px;
    align-items: center;
    border-radius: 5px;
    overflow: hidden;
    aspect-ratio: 1/1;
}
.partenaires .partenaire .partenaire_logo img {
    height: auto;
}

.contact_form form {
    margin: 0 auto;
    width: 100%;
    max-width: 485px;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact_form form .form-block {
    display: flex;
    flex-direction: column;
    row-gap: 7px;
    width: 100%;
}

.contact_form form .form-identity {
    display: flex;
    gap: 25px;
}

.contact_form form label,
.contact_form form .form-input {
    font-family: var(--font_main);
    font-style: normal;
    font-weight: 400;
    font-size: 0.95rem;
    color: var(--color_gris-argente);
    border-radius: 5px;
    width: 100%;
}

.contact_form form label {
    text-transform: uppercase;
}

.contact_form form .form-input {
    background-color: rgba(0, 0, 0, 0.5);
    border: 1px solid var(--color_bleu-acier);
    padding: 19px 20px;
    color: var(--color_gris-argente);
    resize: none;
}

.contact_form form .form-submit input{
    border: none;
    font-family: var(--font_main);
    font-style: normal;
    font-weight: 400;
    font-size: 0.95rem;
}

.page-vehicules h2, .page-accessoires h2 {
    margin-bottom: 4rem;
}
.page-vehicules .subtitle{
    color: var(--color_gris-argente);
}
.page-vehicules section#types {
    min-height: 90vh;
    padding-top: 130px;
    background-image: linear-gradient(90deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.5) 100%), url("/themes/jvflex/assets/images/background-vehicules_first.webp");
}
.page-vehicules section#marques, .page-accessoires section#marques {
    min-height: 60vh;
    color: var(--color_blanc);
    display: flex;
    align-items: center;
    justify-content: space-between;
    /* gap: 2rem; */
}
.page-vehicules section#modeles, .page-accessoires section#modeles {
    background-color: var(--color_gris-fonce);
    min-height: 90vh;
    color:var(--color_blanc);
}
.page-vehicules section#marques {
    background-image: linear-gradient(90deg, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.35) 100%), url("/storage/app/media/vehicules/background_marques_moto.webp");
    background-color: var(--color_gris-argente);
    justify-content: center;
    padding: 5vh 0;
    display: grid;
    grid-template-columns: 0.8fr 1fr;
    position: relative;
    overflow: hidden;
}
.page-vehicules section#modeles {
    background-image: linear-gradient(90deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.5) 100%), url("/themes/jvflex/assets/images/background-vehicules_vehicules.webp");
}
.page-vehicules .title-brand, .page-accessoires .title-brand {
    color: var(--color_jaune);
}
.vehicules_list {
    padding: 0;
    margin: 0;
    list-style: none;
    display: flex;
    gap:1rem;
    justify-content: center;
    flex-wrap: wrap;
}
.vehicules_list.types_list {
    flex-wrap: nowrap;
}
.vehicules_list .vehicules_item {
    display: flex;
    justify-content: center;
    position: relative;
    background-color: var(--color_blanc);
}
.vehicules_list .types_item {
    width: 370px;
    border-radius: 25px;
    padding: 20px;
    height: 300px;
    color: var(--color_blanc);
    background-color: var(--color_gris-fonce);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: width 0.3s;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    overflow: hidden;
    box-shadow: 0px 0px 20px rgb(255 255 255 / 10%);
}
.vehicules_list .types_item:hover {
    box-shadow: inset 0px 0px 10px 0px #ffffff45;
}
.type_vehicule_container span {
    display: block;
    width: 45vw;
    background: linear-gradient(90deg, rgba(0, 0, 0, 1) 0%, gray 100%);
    position: absolute;
    top: -15px;
    bottom: -15px;
    left: -25%;
    border-radius: 1000px;
}
/* .type_vehicule_container {
    width: 25vw;
    height: 100%;
    position: absolute;
    left: -100px;
    display: flex;
    align-items: center;
} */
.page-vehicules .marques_list {
    padding: 0 var(--padding_LR);
}
.page-vehicules .type_vehicule {
    width: 100%;
    height: auto;
    transform: translateX(calc(-1 * var(--padding_LR)));
}
.page-vehicules .types_item .type_vehicule {
    position: absolute;
    left: -95px;
    max-height: 270px;
    width: auto;
    transition: all 2s, left 0.8s 0.1s;
}
.vehicules_list .types_item p {
    margin: 0;
    font-style: normal;
    font-weight: 500;
    text-transform: uppercase;
    font-size: 2rem;
    margin-left: 3rem;
    flex-shrink: 0;
}
.vehicules_list .vehicules_item input{
    width: 100%;
    height: 100%;
    z-index: 3;
    position: absolute;
    display: flex;
    padding: 0;
    margin: 0;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0;
    cursor: pointer;
}
.page-vehicules .brand_list {
    flex-wrap: wrap;
    align-items: center;
}
.vehicules_list .brand_item {
    width: 170px;
    height: 170px;
    align-items: center;
    border-radius: 170px;
    overflow: hidden;
    aspect-ratio: 1/1;
    background-color: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(12.5px);
    border: 2px solid var(--color_blanc);
    transition: all 0.3s;
    text-align: center;
}
.vehicules_list .brand_item:hover, .vehicules_list .brand_item.active {
    border-width: 5px;
    background-color: rgba(255, 255, 255, 0.3);
}
.vehicules_list .brand_item .logo {
    height: auto;
}
.vehicules_list .brand_item label>span {
    visibility: hidden;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.card-container.section-fulla {
    overflow: hidden;
    padding:0 5vw;
}
.card_list .card_item {
    border: 1px solid var(--color_bleu-marine);
    border-radius: 5px;
    max-width: 425px;
    background-color: var(--color_noir);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.card_list .card_item .card_item-img {
    background: linear-gradient(180deg, var(--color_bleu-marine) 0%, var(--color_noir) 100%);
    height: 320px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 12px;
}
.card_list .card_item .card_item-img img {
    height: auto;
    width: auto;
}
.card_list .card_item .card_item-content {
    color: var(--color_blanc);
    padding: 15px 45px 22px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-top-left-radius: 25px;
    border-top-right-radius: 25px;
    background-color: var(--color_noir);
    transition: height 0.3s ease, padding 0.3s ease; /* Ajoutez la transition pour la taille */
}

.card_list .card_item.active .card_item-content {
    height: unset;
    position: absolute;
    bottom: 0;
    width: 100%;
    min-height: 80%;
    padding: 24px 45px 22px;
}
.card_list .card_item .card_item-content .close {
    display: none;
}
.card_list .card_item.active .card_item-content .close {
    display: block;
    width: 25px;
    height: 25px;
    background: var(--color_gris-argente);
    position: absolute;
    top: 15px;
    right: 15px;
    border: 0;
    border-radius: 15px;
    color: var(--color_noir);
    cursor: pointer;
}
.card_list .card_item .card_item-content h3 {
    font-family: var(--font_title);
    font-style: normal;
    font-weight: 400;
    font-size: 2.5rem;
    margin: 0;
}
.card_list .card_item .card_item-content .price, .card_list .card_item .card_item-content .brand {
    font-style: normal;
    margin: 0;
}
.card_list .card_item .card_item-content .price {
    font-weight: 700;
    font-size: 1.6rem;
    color:var(--color_jaune);
}
.card_list .card_item .card_item-content .brand {
    font-weight: 400;
    font-size: 1.4rem;
    color:var(--color_gris-argente);
}
.card_list .card_item .card_item-content .description {
    font-style: normal;
    font-weight: 500;
    margin:20px 0;
    text-align: justify;
    max-height: 52px;
    overflow: hidden;
    transition: max-height 0.5s ease, overflow 0.5s ease; /* Ajoutez une transition pour max-height et overflow */
    transition-delay:0.2s;
}
.card_list .card_item.active .card_item-content .description{
    max-height: 1000px;
    overflow: visible;
    animation-name: expandHeight;
    animation-duration: 0.5s;
    animation-timing-function: ease;
}
@keyframes expandHeight {
    from {
        max-height: 52px;
    }
    to {
        max-height: 1000px;
    }
}
.card_list .card_item .card_item-content .button-container {
    margin-top: 20px;
    justify-content: center;
}

.page-accessoires section#first {
    background-image: linear-gradient(90deg, rgba(0, 0, 0, 0.65) 0%, rgba(0, 0, 0, 0.65) 100%), url("/themes/jvflex/assets/images/background-accessoires_first.webp");
    background-color: var(--color_gris-argente);
    min-height: calc(50vh - var(--navbar_height));
    padding-top:130px ;
}
.paragraph-first {
    max-width: 900px;
    margin: 1rem auto;
}
.page-accessoires section#marques {
    background-image: linear-gradient(90deg, rgba(0, 0, 0, 0.65) 0%, rgba(0, 0, 0, 0.65) 100%), url("/themes/jvflex/assets/images/background-accessoires_marques.webp");
    background-color: var(--color_gris-argente);
    flex-direction: column;
    justify-content: unset;
}
.page-accessoires section#modeles {
    background-image:  linear-gradient(90deg, rgba(0, 0, 0, 0.65) 0%, rgba(0, 0, 0, 0.65) 100%), url("/themes/jvflex/assets/images/background-accessoires_modeles.webp");
    background-color: var(--color_gris-argente);
}
@media all and (max-width: 1025px) {
    :root{
        --padding_LR: 5vw;
    }
    h1 {
    font-size: 2.5rem;
}
h2 {
    font-size: 2rem;
}
header.home {
    min-height: unset;
}
    header #header-top #navbar {
        display: none;
    }
header #header-top {
    justify-content: flex-end;
}

    header#layout-header>#header-top>#burger-menu {
        display: block;
        justify-self: flex-end;
        width: 2.25rem;
        height: 2.5rem;
        cursor: pointer;
        position: relative;
        appearance: none;
        border: none;
        background: none;
        box-sizing: border-box;
        padding: 0;
        flex-shrink: 0;
    }

    header#layout-header>#header-top>#burger-menu span {
        width: 100%;
        height: 5px;
        background-color: var(--color_bleu-acier);
        display: block;
        transition: background-color 0.5s ease-in-out;
        margin: 0 0 0 auto;
        border-radius: 5px;
    }

    header#layout-header>#header-top>#burger-menu span:nth-child(1) {
        transform: translateY(-10px);
    }

    header#layout-header>#header-top>#burger-menu span:nth-child(3) {
        transform: translateY(10px);
    }

    header#layout-header>#header-top>nav>ul>li.nav-item>a.nav-link {
        width: 100%;
        display: flex;
        gap: 10px;
        align-items: center;
        font-size: 1.5rem;
        text-align: left;
        color: var(--color_blanc);
    }
    header#layout-header>#header-top>nav>ul>li.nav-item>a.nav-link.active {
        color: var(--color_bleu-acier);
    }

    header #header-top #navbar ul a.nav-link img {
        display: block;
    }

    header#layout-header>#header-top>#burger-menu.active~nav {
        position: absolute;
        display: flex;
        top: var(--navbar_height);
        flex-direction: column;
        width: 100%;
        background-color: var(--color_noir);
        border: 1px solid var(--color_bleu-acier);
        left: 0;
        padding: var(--padding_LR) calc(var(--padding_LR) + 1rem);
        box-sizing: border-box;
        z-index: 999;
    }

    header#layout-header>#header-top>#burger-menu.active~nav>ul {
        height: 100%;
        flex-direction: column;
        justify-content: center;
    }
    /* header #header-bottom .header-bottom_right img{
        display: none;
    } */
    footer {
        display: flex;
        flex-direction: column;
    }
    footer .footer-infos {
            display: flex;
    flex-direction: column;
    align-items: center;
    }
footer .footer-infos .title, footer .footer-hours {
    text-align:center;
}
    .partenaires {
        grid-template-columns: 1fr;
    }
    .partenaires .partenaire {
        flex-wrap: wrap-reverse;
        justify-content: center;
        padding: 4vw;
    }
    .partenaires .partenaire .partenaire_logo {
        height: unset;
    }
    .partenaires .partenaire .partenaire_infos h2 {
        font-size: 2rem;
    }
    .partenaires .partenaire .partenaire_infos .button-container {
        white-space: unset;
    }
    .button-container.btn>a, .button {
        padding: 0.95rem 1.45rem
    }
    .contact_form form .form-identity {
        flex-direction: column;
    }
}
@media all and (min-width: 825px) {
    .card_list .card_item:hover .card_item-content .description{
        max-height: 1000px;
        overflow: visible;
        animation-name: expandHeight;
        animation-duration: 0.5s;
        animation-timing-function: ease;
    }

    .card_list .card_item:hover .card_item-content {
        height: unset;
        position: absolute;
        bottom: 0;
        width: 100%;
        min-height: 80%;
        padding: 24px 45px 22px;
    }
}
@media all and (max-width: 825px) {
    header #header-bottom {
        padding: 0.5rem var(--padding_LR);
    }
    header #header-bottom .header-bottom_left {
        width: 100%;
    }
    header #header-bottom .header-bottom_right{
        display: none;
    }
    section#entreprise {
        grid-template-columns: 1fr;
    }
    .page-vehicules section#marques {
        grid-template-columns: 1fr;
    }
    .type_vehicule_container {
        display: none;
    }
    .page-vehicules section#marques {
        justify-content: center;
    }
    .vehicules_list.types_list, .page-vehicules section#marques {
        flex-direction: column;
    }
    .vehicules_list .types_item {
        width: 100%;
    }
    .vehicules_list .types_item {
        height: 25vh;
    }
    .vehicules_list .types_item p {
        font-size: 1.5rem;
    }
    .page-vehicules .types_item .type_vehicule {
        left: -115px;
        max-height: 24vh;
    }
    .card_list .card_item .card_item-content {
        padding: 3vh 6vw;
    }
    .card_list .card_item .card_item-img {
        height: 35vh;
    }
    .card_list .card_item .card_item-content .description {
        text-align: center;
    }
}
@media all and (max-width: 765px) {
header #header-bottom .subtitle, header #header-bottom .paragraph {
    font-size: 1.5rem;
}
section#entreprise .entreprise_content {
    padding: 12vw;
}
section#entreprise .entreprise_content .paragraph {
    text-align: center;
}
section#partenaires .carousselPartenaires .swiper-slide {
    width: 150px;
    height: 150px;
}
section#partenaires {
    padding-top: 6vh;
    padding-bottom: 7vh;
}
footer {
    padding: 5vh;
}
}

@media all and (max-width: 325px){
    .page-vehicules .types_item .type_vehicule {
        left: -70px;
        max-height: 24vh;
    }
}




/* =========================
   PACK STABILITÉ CARTES (inchangé)
   ========================= */
.card-container { overflow: hidden; width: 100%; }
.card-container .swiper-wrapper { align-items: stretch; }
.card-container .swiper-slide{
  width:360px !important; height:auto !important;
  box-sizing:border-box; backface-visibility:hidden; transform:translateZ(0);
}
.card_item{
  height:560px !important; display:flex; flex-direction:column;
  border:1px solid transparent; box-sizing:border-box; contain:layout paint;
}
.card_item:hover{ border-color:transparent; }
.card_item-img{ flex:0 0 240px; height:240px; overflow:hidden; }
.card_item-img img,
.brand_item .logo,
.card_item-img img{ width:100%; height:100%; object-fit:cover; display:block; transform:none !important; }
.card_item-content{
  flex:1 1 auto; min-height:0; display:flex; flex-direction:column; overflow:visible !important;
}
.card_item-content_header{ flex:0 0 92px; display:grid; grid-template-rows:auto auto auto; row-gap:6px; }
.desc-wrap{ flex:0 0 auto; position:relative; margin-top:.5rem; border-top:1px solid rgba(255,255,255,.08); padding-top:.5rem; }
.desc-scroll{
  max-height:220px; overflow-y:auto; padding-right:10px; line-height:1.35;
  scrollbar-gutter:stable both-edges; -webkit-overflow-scrolling:touch;
  overscroll-behavior:contain; touch-action:pan-y; pointer-events:auto;
}
.desc-scroll::-webkit-scrollbar{width:6px}
.desc-scroll::-webkit-scrollbar-track{background:rgba(255,255,255,.06);border-radius:6px}
.desc-scroll::-webkit-scrollbar-thumb{background:rgba(255,255,255,.35);border-radius:6px}
.desc-scroll::-webkit-scrollbar-thumb:hover{background:rgba(255,255,255,.55)}
.desc-scroll{scrollbar-color:rgba(255,255,255,.35) rgba(255,255,255,.06);scrollbar-width:thin}
.desc-wrap::after{
  content:""; position:relative; display:block; height:22px; margin-top:-22px; pointer-events:none;
  background:linear-gradient(to bottom,rgba(0,0,0,0),rgba(0,0,0,.35));
}
.card_actions{ flex:0 0 44px; display:flex; align-items:center; gap:8px; margin-top:8px; }
.card_item *, .swiper-slide *{ transition-property:color, background-color, opacity, box-shadow, transform; }
.card_item, .card_item-img, .card_item img, .swiper-slide{ backface-visibility:hidden; transform:translateZ(0); }
html, body{ overflow-x:hidden; }
.swiper-slide.is-hidden{ display:none !important; }
.load-more-wrap{ text-align:center; margin:1rem 0 0; }
.load-more-btn{
  padding:.6rem 1rem; border-radius:8px; border:1px solid rgba(255,255,255,.25);
  background:transparent; color:#fff; cursor:pointer;
}
.load-more-btn:hover{ background:rgba(255,255,255,.08); }

@media (max-width:1023px){
  .card-container.swiper-container{ overflow:visible; }
  .card-container .swiper-slide{ width:86vw !important; max-width:420px; }
  .card_item{ height:520px !important; }
  .card_list{ padding-bottom:8px; }
}
@media (max-width:360px){
  .card-container .swiper-slide{ width:90vw !important; }
}
/* =========================
   SECTION MARQUES (full width)
   ========================= */
.page-vehicules section#marques{
  /* section en pleine largeur mais contrôlée */
  margin: 0 !important;
  margin-left: calc(-1 * var(--padding_LR));
  margin-right: calc(-1 * var(--padding_LR));
  padding: 5vh var(--padding_LR) !important;

  display: grid;
  grid-template-columns: 1fr;
  align-items: center;

  /* rien ne masque nav/pagination */
  overflow: visible !important;
  position: relative;
}
.page-vehicules section#marques .marques_list{
  padding: 0;
  width: 100%;
  overflow: visible;
}

/* Décor gauche ne capte pas les clics et passe derrière */
.page-vehicules section#marques .type_vehicule_container{
  position: absolute; inset: 0 auto 0 0; width: 40vw;
  pointer-events: none; z-index: 0;
}

/* =========================
   SWIPER #brands-swiper
   ========================= */
#brands-swiper{
  width: 100%;
  position: relative;
  z-index: 1;              /* au-dessus du décor */
  /* on réserve un peu d'espace pour la pagination */
  padding-bottom: 56px;
}
#brands-swiper .swiper-wrapper{ display: flex; }
#brands-swiper .swiper-slide{
  width: auto !important;
  flex: 0 0 auto !important;
  margin-right: 16px;
}

/* ---- Pagination (petits ronds) plus basse et centrée ---- */
#brands-swiper .swiper-pagination{
  position: absolute !important;
  left: 0; right: 0; bottom: 12px !important;
  width: auto; z-index: 35; pointer-events: auto;
  display: flex; justify-content: center; align-items: center; gap: 12px;
}

/* ---- Flèches visibles et centrées verticalement ---- */
#brands-swiper .swiper-button-prev,
#brands-swiper .swiper-button-next{
  position: absolute !important;
  top: 50% !important; transform: translateY(-50%) !important;
  z-index: 50 !important; pointer-events: auto;
  width: 44px; height: 44px;
  color: #fff;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,.55));
}
#brands-swiper .swiper-button-prev{ left: 8px !important; }
#brands-swiper .swiper-button-next{ right: 8px !important; }

/* Icônes (au cas où le reset CSS aurait viré le contenu) */
#brands-swiper .swiper-button-prev::after{ content: '‹' !important; }
#brands-swiper .swiper-button-next::after{ content: '›' !important; }
#brands-swiper .swiper-button-prev::after,
#brands-swiper .swiper-button-next::after{
  font-size: var(--swiper-navigation-size, 28px) !important;
  color: #fff !important; text-shadow: 0 2px 6px rgba(0,0,0,.55);
}

/* Thème des bullets (tu l’avais déjà) */
:root{
  --swiper-theme-color: var(--color_jaune) !important;
  --swiper-pagination-bullet-width: 13px;
  --swiper-pagination-bullet-height: 13px;
  --swiper-pagination-bullet-horizontal-gap: 12px;
}
