*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#080808 url('../img/logo_fond.jpg') top center/cover fixed no-repeat;color:#eee;font-family:Arial,Helvetica,sans-serif;line-height:1.5}img{max-width:100%;height:auto;border:0}a{color:#ddd;text-decoration:none}a:hover{color:#fff}.site{width:min(1180px,100%);margin:auto;background:rgba(0,0,0,.90);min-height:100vh;box-shadow:0 0 30px #000}.header{padding:18px 22px 0}.brand{text-align:center}.brand img{max-height:165px;width:auto}.commercial-links{display:flex;align-items:center;justify-content:center;gap:70px;margin:18px 0 10px}.commercial-links a{display:flex;align-items:center;justify-content:center;padding:7px;border-radius:8px;transition:.2s}.commercial-links a:hover{transform:scale(1.035);background:rgba(255,255,255,.05)}.commercial-links img{width:auto;max-width:230px;max-height:92px}.brand-links{display:flex;align-items:center;justify-content:center;gap:95px;margin:6px 0 14px}.brand-links img{max-height:62px;width:auto}.main-nav{display:grid;grid-template-columns:repeat(5,1fr);gap:8px;padding:10px 0 18px}.nav-item{background:#171717;border:1px solid #333;border-radius:8px;overflow:hidden;text-align:center;transition:.2s}.nav-item:hover{transform:translateY(-2px);border-color:#777}.nav-item img{width:100%;height:92px;object-fit:cover;display:block}.nav-item span{display:block;padding:8px 5px;font-size:14px;font-weight:700}.layout{display:grid;grid-template-columns:205px 1fr;gap:28px;padding:20px 24px 35px}.sidebar{display:flex;flex-direction:column;gap:10px}.mobile-gallery-title{display:none}.sidebar img{width:100%;border-radius:7px}.content{min-width:0}.page-title{font-size:30px;margin:0 0 22px;color:#fff}.cards-home{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:22px}.cards-home.has-pubs{grid-template-columns:minmax(0,1fr) minmax(0,1fr) 105px}.card{background:#252525;border:1px solid #3b3b3b;border-radius:10px;padding:18px;text-align:center;overflow:hidden}.card h2{margin:0 0 15px;font-size:24px}.card-main-img{width:100%;max-width:340px;max-height:270px;object-fit:contain;border-radius:6px}.thumbs{display:flex;flex-wrap:wrap;justify-content:center;gap:7px;margin-bottom:12px}.thumbs img{width:72px;height:55px;object-fit:cover;border-radius:4px}.price{font-size:30px;font-weight:700;margin:18px 0}.promo-price{color:#ff5757;font-size:20px;font-weight:700}.pubs{padding:10px}.pubs img{width:82px;margin:4px 0}.text-block{background:#202020;border:1px solid #333;border-radius:10px;padding:24px;font-size:16px}.presentation-img{display:block;max-width:560px;margin:0 auto 22px;border-radius:8px}.promo-list{display:grid;gap:16px}.promo-card{display:grid;grid-template-columns:minmax(240px,42%) 1fr;background:#202020;border:1px solid #3a3a3a;border-radius:10px;overflow:hidden}.promo-card img{width:100%;height:100%;min-height:210px;object-fit:cover}.promo-text{padding:22px}.promo-text h2{margin-top:0;font-size:23px}.loan-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px}.loan-card{background:#202020;border:1px solid #333;border-radius:10px;padding:18px}.loan-card img{width:100%;border-radius:7px}.vehicle-toolbar{display:flex;justify-content:flex-end;margin-bottom:16px}.vehicle-toolbar select,.vehicle-toolbar input{font-size:15px;padding:8px 10px;border-radius:5px;border:1px solid #555}.vehicle-list{display:grid;gap:10px}.vehicle{display:grid;grid-template-columns:190px 1fr 1.5fr 130px 110px 130px;align-items:center;gap:12px;background:#181818;border:1px solid #303030;border-radius:8px;overflow:hidden;padding:10px}.vehicle img{width:180px;height:125px;object-fit:cover;border-radius:5px}.vehicle .strong{font-weight:700;font-size:17px}.vehicle .vprice{text-align:right;font-size:20px;font-weight:700}.category-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.category-card{background:#202020;border:1px solid #333;border-radius:10px;padding:18px;text-align:center;font-size:22px;font-weight:700}.category-card img{border-radius:7px;margin-bottom:10px}.footer{border-top:1px solid #333;padding:22px;text-align:center;font-size:14px}.footer-links{display:flex;justify-content:center;gap:25px;flex-wrap:wrap}.legacy-note{font-size:12px;color:#aaa;margin-top:15px}
@media(max-width:850px){body{background:#080808}.site{box-shadow:none}.header{padding:12px}.brand img{max-height:120px}.commercial-links{gap:35px}.commercial-links img{max-width:200px;max-height:78px}.brand-links{gap:65px}.brand-links img{max-height:52px}.main-nav{grid-template-columns:repeat(2,1fr)}.nav-item img{height:76px}.layout{display:block;padding:15px}.sidebar{display:grid;grid-template-columns:repeat(3,1fr);margin-bottom:22px}.cards-home,.cards-home.has-pubs{grid-template-columns:1fr 1fr}.pubs{grid-column:1/-1;display:flex;flex-wrap:wrap;justify-content:center}.promo-card{grid-template-columns:1fr}.promo-card img{max-height:330px}.vehicle{grid-template-columns:150px 1fr 1fr}.vehicle img{width:140px;height:100px}.vehicle .vprice{text-align:left}.category-grid{grid-template-columns:1fr 1fr}}
@media(max-width:560px){.header{padding:8px}.brand img{max-height:105px}.commercial-links{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:12px 4px 8px}.commercial-links a{padding:4px}.commercial-links img{width:100%;max-width:178px;max-height:none}.brand-links{gap:52px;margin:8px 0 16px}.brand-links img{max-height:45px;max-width:58px}.main-nav{grid-template-columns:1fr 1fr;gap:6px}.nav-item img{height:88px}.nav-item span{font-size:12px}.layout{padding:10px}.sidebar{grid-template-columns:repeat(2,1fr);gap:10px;margin:8px 0 20px}.sidebar .sidebar-service,.sidebar .sidebar-extra{display:none}.sidebar .mobile-gallery-title{display:block;grid-column:1/-1;text-align:center;font-size:18px;font-weight:700;margin:8px 0 4px}.sidebar a,.sidebar .garage-photo{min-width:0}.sidebar img{width:100%;height:112px;object-fit:cover}.sidebar .garage-photo:nth-of-type(n+4){display:none}.page-title{font-size:25px}.cards-home,.loan-grid,.category-grid{grid-template-columns:1fr}.card{padding:14px}.cards-home .pubs{grid-column:auto}.promo-text{padding:16px}.vehicle-toolbar{justify-content:stretch}.vehicle-toolbar form{width:100%;display:flex;gap:6px}.vehicle-toolbar select{flex:1}.vehicle{grid-template-columns:110px 1fr;padding:8px}.vehicle img{width:105px;height:82px;grid-row:span 3}.vehicle .model,.vehicle .mec,.vehicle .km,.vehicle .vprice{grid-column:2}.vehicle .vprice{font-size:19px}.footer{padding:18px 10px}}

/* ============================================================
   V4 - EN-TETE : LIENS COMMERCIAUX + LOGOS
   ============================================================ */

@media (min-width: 851px) {
    .header-links-row {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 42px;
        width: 100%;
        margin: 24px auto 24px;
    }

    .header-links-row .commercial-links {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 28px;
        margin: 0;
    }

    .header-links-row .commercial-links img {
        width: 240px;
        max-width: none;
        max-height: none;
        height: auto;
    }

    .header-links-row .brand-links {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 38px;
        margin: 0;
    }

    .header-links-row .brand-links img {
        width: auto;
        max-width: 76px;
        max-height: 72px;
        height: auto;
    }
}

@media (max-width: 850px) {
    .header-links-row {
        display: block;
        width: 100%;
    }
}
