* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html { scroll-behavior: smooth; }

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background: #1a1d23;
    color: #f1f5f9;
    line-height: 1.6;
}

/* Header */
header {
    background: #1a1d23;
    border-bottom: 4px solid #dc2626;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
    color: #f1f5f9;
}

.logo span {
    color: #dc2626;
}

.nav-links {
    display: flex;
    gap: 1.5rem;
    list-style: none;
}

.nav-links a {
    color: #f1f5f9;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #dc2626;
}

.btn-primary {
    background: #dc2626;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 2rem;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s;
    display: inline-block;
}

.btn-primary:hover {
    background: #b91c1c;
}

.btn-secondary {
    background: #374151;
    color: white;
    padding: 1rem 2rem;
    border-radius: 2rem;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s;
    display: inline-block;
}

.btn-secondary:hover {
    background: #4b5563;
}

/* Hero Section */
.main-hero {
    background-image: url("img-renault-trafic.webp");
    background-size: cover;
    /*background-position: center;*/
    position: relative;
    min-height: 85vh;
    display: flex;
    /*align-items: center;*/
    padding: 5rem 1rem;
}

.hero {
    background-image: url("img-renault-trafic.webp");
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    padding: 5rem 1rem;
}

.hero-content {
    margin-top: 2em;
    margin-left: 13em;
}

.hero::before, .main-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5); /* overlay */
}

.hero-content { position: relative; }

.hero h1, .main-hero h1 {
    font-size: 3.5rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero p, .main-hero p {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #cbd5e1;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

/* Sections */
section { padding: 4rem 1rem; }

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-gray { background: #363A3F; }

strong {
    color: #f1f5f9;
    font-weight: 600;
}

.section-red {
    background: #dc2626;
    text-align: center;
}

.content-section {
    max-width: 900px;
    margin: 0 auto;
}

h2 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 2rem;
    text-align: center;
}

h3 {
    font-size: 1.75rem;
    font-weight: bold;
    /*margin: 2rem 0 1rem;*/
    /*color: #dc2626;*/
}

p {
    font-size: 1.125rem;
    color: #cbd5e1;
    margin-bottom: 1rem;
}

/*h4 {*/
/*    font-size: 1.25rem;*/
/*    font-weight: 600;*/
/*    margin-bottom: 0.75rem;*/
/*}*/

.red-text { color: #dc2626; }

/* Grid */
.grid {
    display: grid;
    gap: 2rem;
    margin-top: 2rem;
}

.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }

.grid-3 { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }

.grid-4 { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }

/* Cards */
.card {
    /*background: #1a1d23;*/
    border: solid 2px white;
    padding: 1.2rem;
    border-radius: 0.5rem;
    transition: transform 0.3s, background 0.3s;
    text-align: center;
    /*cursor: pointer;*/
}

.card:hover {
    transform: translateY(-5px);
    /*background: #4b5563;*/
}

.card h3, .card h4 {
    /*color: #dc2626;*/
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.card p {
    color: #cbd5e1;
    font-size: 1rem;
}

.card-link {
    color: #dc2626;
    font-weight: 600;
    margin-top: 1rem;
    display: inline-block;
}


.card h4 {
    color: #f1f5f9;
    margin-bottom: 0.5rem;
}

.card p {
    font-size: 1rem;
    color: #9ca3af;
}


/* List */
ul {
    list-style: none;
    margin: 1rem 0;
}

li {
    padding: 0.5rem 0;
    color: #cbd5e1;
}

.checkmark {
    color: #dc2626;
    font-size: 1.5rem;
    margin-right: 0.5rem;
}

/* Footer */
footer {
    background: #1f2937;
    padding: 3rem 1rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

footer h4 {
    /*color: #dc2626;*/
    margin-bottom: 1rem;
    font-size: 1.125rem;
}

footer ul {
    list-style: none;
}

footer a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.3s;
}

footer a:hover {
    color: #f1f5f9;
}

.footer-bottom {
    border-top: 1px solid #374151;
    margin-top: 2rem;
    padding-top: 2rem;
    text-align: center;
    color: #6b7280;
}

/* Responsive */
@media (max-width: 874px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.25rem;
    }

    .nav-links {
        display: none;
    }

    h2 {
        font-size: 2rem;
    }

    h3 {
        font-size: 1.25rem;
    }
}

/* Text Styles */
.text-xl {
    font-size: 1.25rem;
    line-height: 1.75rem;
}

.text-center {
    text-align: center;
}

.max-w-4xl {
    max-width: 56rem;
    margin-left: auto;
    margin-right: auto;
}

.space-y-8 > * + * {
    margin-top: 2rem;
}

.space-y-4 > * + * {
    margin-top: 1rem;
}

.mb-8 {
    margin-bottom: 2rem;
}

.mb-6 {
    margin-bottom: 1.5rem;
}

.mt-12 {
    margin-top: 3rem;
}






















.text-xl {
    font-size: 1.25rem;
}

ul {
    list-style: none;
    margin: 1.5rem 0;
}

li {
    padding: 0.75rem 0;
    color: #cbd5e1;
    display: flex;
    align-items: flex-start;
}

.checkmark {
    color: #dc2626;
    font-size: 1.5rem;
    margin-right: 1rem;
    flex-shrink: 0;
}

.grid {
    display: grid;
    gap: 1.5rem;
    margin: 2rem 0;
}

.grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}


.highlight-box {
    background: #1f2937;
    padding: 2rem;
    border-radius: 0.5rem;
    margin: 2rem 0;
}









/* Vehicle section */
.vehicle-grid {
    align-items: center;
}

.vehicle-image img {
    width: 100%;
    border-radius: 0.75rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

.vehicle-content h3 {
    margin-top: 0;
}

.vehicle-content ul {
    margin: 1.5rem 0;
}


@media (max-width: 874px) {
    .hero-content {
        margin: 0;
        text-align: center;
    }

    .hero-buttons {
        justify-content: center;
    }
}


.icon {
    width: 6em;
    margin: auto
}


/* Vehicle gallery */
/*.vehicle-gallery {*/
/*    display: grid;*/
/*    grid-template-columns: repeat(2, 1fr);*/
/*    gap: 1rem;*/
/*}*/

/*.vehicle-gallery img {*/
/*    width: 100%;*/
/*    height: 180px;*/
/*    object-fit: cover;*/
/*    border-radius: 0.75rem;*/
/*    box-shadow: 0 8px 20px rgba(0,0,0,0.35);*/
/*}*/

/*!* Mobile *!*/
/*@media (max-width: 768px) {*/
/*    .vehicle-gallery {*/
/*        grid-template-columns: 1fr;*/
/*    }*/

/*    .vehicle-gallery img {*/
/*        height: 220px;*/
/*    }*/
/*}*/



.vehicle-gallery {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.vehicle-main img {
    width: 100%;
    /*height: 360px;*/
    object-fit: cover;
    border-radius: 1rem;
    box-shadow: 0 15px 35px rgba(0,0,0,0.45);
}

.vehicle-thumbs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
}

.vehicle-thumbs img {
    width: 100%;
    height: 90px;
    object-fit: cover;
    border-radius: 0.5rem;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.3s, transform 0.3s;
}

.vehicle-thumbs img:hover {
    opacity: 1;
    transform: scale(1.05);
}

/* Mobile */
@media (max-width: 768px) {
    .vehicle-main img {
        height: 260px;
    }

    .vehicle-thumbs {
        grid-template-columns: repeat(2, 1fr);
    }
}


/* Bouton hamburger */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 2rem;
    color: #f1f5f9;
    cursor: pointer;
}

/* Menu mobile */
.mobile-menu {
    display: none;
    flex-direction: column;
    background: #1a1d23;
    border-top: 2px solid #dc2626;
    padding: 1rem;
}

.mobile-menu a {
    padding: 0.75rem 0;
    color: #f1f5f9;
    text-decoration: none;
    font-size: 1.1rem;
    border-bottom: 1px solid #374151;
}

.mobile-menu a:last-child {
    border-bottom: none;
}

.mobile-cta {
    margin-top: 1rem;
    background: #dc2626;
    text-align: center;
    padding: 0.75rem;
    border-radius: 2rem;
    font-weight: bold;
}

/* Mobile only */
@media (max-width: 874px) {
    .menu-toggle {
        display: block;
    }

    .nav-links {
        display: none;
    }
}
