* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

:root {
    --rouge-sevre: #E31E24;
    --noir-sevre: #1a1a1a;
    --gris-fonce: #2a2a2a;
    --blanc: #ffffff;
    --gris-clair: #f5f5f5;
}

body {
    background: var(--blanc);
    min-height: 100vh;
    overflow-x: hidden;
}

/* ===== NAVIGATION ===== */
.nav {
    background: linear-gradient(135deg, var(--noir-sevre) 0%, var(--gris-fonce) 100%);
    width: 100%;
    height: 90px;
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.buttun {
    display: flex;
    gap: 35px;
    align-items: center;
}

.buttun div {
    position: relative;
}

.buttun div a {
    color: var(--blanc);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    padding: 12px 20px;
    display: block;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.buttun div a:hover {
    color: var(--rouge-sevre);
    transform: translateY(-2px);
}

.buttun div::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 3px;
    background: var(--rouge-sevre);
    transition: width 0.3s ease;
}

.buttun div:hover::after {
    width: 100%;
}

/* ===== HERO SECTION ===== */
.hero-banner {
    width: 100%;
    height: 600px;
    background: url('img/background.webp') center/cover no-repeat;
    position: relative;
    margin-top: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-banner::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.7) 0%, rgba(227, 30, 36, 0.3) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--blanc);
    padding: 40px;
}

.hero-content h1 {
    font-size: 4em;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 8px;
    text-shadow: 3px 3px 10px rgba(0, 0, 0, 0.8);
}

.hero-content .tagline {
    font-size: 1.5em;
    margin-bottom: 30px;
    font-weight: 300;
}

.hero-content .cta-hero {
    display: inline-block;
    background: var(--rouge-sevre);
    color: var(--blanc);
    padding: 18px 45px;
    text-decoration: none;
    font-size: 1.1em;
    font-weight: bold;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 2px;
    box-shadow: 0 5px 20px rgba(227, 30, 36, 0.4);
}

.hero-content .cta-hero:hover {
    background: var(--blanc);
    color: var(--rouge-sevre);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(227, 30, 36, 0.6);
}

/* ===== CONTENU PRINCIPAL ===== */
.content {
    max-width: 1400px;
    margin: 40px auto;
    padding: 0 30px 60px;
}

/* ===== SECTIONS AVEC IMAGES ===== */
.section-with-image {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin: 80px 0;
    align-items: center;
}

.section-with-image.reverse {
    direction: rtl;
}

.section-with-image.reverse > * {
    direction: ltr;
}

.section-image {
    width: 100%;
    height: 400px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    position: relative;
}

.section-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.section-image:hover img {
    transform: scale(1.08);
}

.section-text h2 {
    font-size: 2.5em;
    color: var(--noir-sevre);
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
}

.section-text h2::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 80px;
    height: 4px;
    background: var(--rouge-sevre);
}

.section-text p {
    font-size: 1.1em;
    line-height: 1.9;
    color: #444;
    margin-bottom: 15px;
}

/* ===== GRILLE DE SERVICES ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 35px;
    margin: 60px 0;
}

.service-card {
    background: var(--blanc);
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 45px rgba(227, 30, 36, 0.2);
    border-color: var(--rouge-sevre);
}

.service-card h3 {
    font-size: 1.8em;
    color: var(--noir-sevre);
    margin-bottom: 20px;
}

.service-card p {
    font-size: 1.05em;
    line-height: 1.7;
    color: #555;
}

.service-card ul {
    list-style: none;
    margin-top: 20px;
}

.service-card ul li {
    padding: 10px 0;
    padding-left: 30px;
    position: relative;
    color: #444;
}

.service-card ul li::before {
    content: "-";
    position: absolute;
    left: 0;
    color: var(--rouge-sevre);
    font-size: 1.3em;
    font-weight: bold;
}

/* ===== GALERIE PHOTOS ===== */
.photo-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 25px;
    margin: 60px 0;
}

.gallery-item {
    height: 300px;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.15);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(26, 26, 26, 0.9), transparent);
    padding: 25px;
    color: var(--blanc);
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay h3 {
    font-size: 1.3em;
    margin-bottom: 8px;
}

/* ===== OCCASIONS ===== */
.occasions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 35px;
    margin: 60px 0;
}

.moto-card {
    background: var(--blanc);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.moto-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 50px rgba(227, 30, 36, 0.2);
    border-color: var(--rouge-sevre);
}

.moto-card-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    background: var(--gris-clair);
}

.moto-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.moto-card:hover .moto-card-image img {
    transform: scale(1.1);
}

.moto-card-content {
    padding: 30px;
}

.moto-badge {
    display: inline-block;
    background: var(--rouge-sevre);
    color: var(--blanc);
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.85em;
    font-weight: bold;
    margin-bottom: 15px;
}

.moto-badge.reserve {
    background: #888;
}

.moto-card h3 {
    font-size: 1.7em;
    color: var(--noir-sevre);
    margin-bottom: 20px;
}

.moto-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin: 20px 0;
    padding: 20px;
    background: var(--gris-clair);
    border-radius: 10px;
}

.moto-details p {
    font-size: 0.95em;
    color: #444;
}

.moto-price {
    font-size: 1.8em;
    color: var(--rouge-sevre);
    font-weight: bold;
    margin: 20px 0;
}

.moto-description {
    color: #666;
    line-height: 1.7;
    font-size: 0.95em;
}

/* ===== ACTUALITÉS ===== */
.news-container {
    max-width: 900px;
    margin: 0 auto;
}

.news-article {
    background: var(--blanc);
    padding: 40px;
    margin-bottom: 35px;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    border-left: 5px solid var(--rouge-sevre);
    transition: all 0.3s ease;
}

.news-article:hover {
    box-shadow: 0 10px 40px rgba(227, 30, 36, 0.15);
    transform: translateX(5px);
}

.news-date {
    color: var(--rouge-sevre);
    font-size: 0.9em;
    font-weight: bold;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.news-article h2 {
    font-size: 1.9em;
    color: var(--noir-sevre);
    margin-bottom: 20px;
}

.news-article p {
    color: #444;
    line-height: 1.8;
    margin-bottom: 12px;
}

.news-article ul {
    margin: 20px 0;
    padding-left: 25px;
}

.news-article ul li {
    color: #444;
    margin: 10px 0;
    line-height: 1.6;
}

/* ===== FORMULAIRE CONTACT ===== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
    margin: 60px 0;
}

.contact-info {
    background: var(--noir-sevre);
    color: var(--blanc);
    padding: 45px;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.contact-info h2 {
    color: var(--rouge-sevre);
    font-size: 2em;
    margin-bottom: 30px;
}

.info-item {
    margin: 30px 0;
}

.info-item h3 {
    color: var(--rouge-sevre);
    font-size: 1.2em;
    margin-bottom: 12px;
}

.info-item p {
    line-height: 1.8;
    color: #ddd;
}

.contact-form {
    background: var(--blanc);
    padding: 45px;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
}

.contact-form h2 {
    color: var(--noir-sevre);
    font-size: 2em;
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    color: var(--noir-sevre);
    font-weight: 600;
    margin-bottom: 10px;
    font-size: 1.05em;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 1em;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--rouge-sevre);
    box-shadow: 0 0 10px rgba(227, 30, 36, 0.2);
}

.submit-btn {
    background: var(--rouge-sevre);
    color: var(--blanc);
    padding: 16px 50px;
    border: none;
    border-radius: 50px;
    font-size: 1.1em;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.submit-btn:hover {
    background: var(--noir-sevre);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(227, 30, 36, 0.3);
}

/* ===== PAGE HEADER ===== */
.page-header {
    background: linear-gradient(135deg, var(--noir-sevre) 0%, var(--gris-fonce) 100%);
    color: var(--blanc);
    padding: 80px 40px;
    text-align: center;
    margin-top: 90px;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: var(--rouge-sevre);
    opacity: 0.1;
    border-radius: 50%;
}

.page-header h1 {
    font-size: 3.5em;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
    text-transform: uppercase;
    letter-spacing: 4px;
}

.page-header p {
    font-size: 1.3em;
    opacity: 0.9;
    position: relative;
    z-index: 2;
}

/* ===== SECTION TITLE ===== */
.section-title {
    text-align: center;
    margin: 80px 0 50px;
}

.section-title h2 {
    font-size: 3em;
    color: var(--noir-sevre);
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.section-title p {
    font-size: 1.2em;
    color: #666;
}

.section-title::after {
    content: "";
    display: block;
    width: 100px;
    height: 4px;
    background: var(--rouge-sevre);
    margin: 25px auto 0;
}

/* ===== FOOTER ===== */
footer {
    background: var(--noir-sevre);
    color: var(--blanc);
    padding: 60px 0 30px;
    margin-top: 100px;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 50px;
}

.footer-column h3 {
    color: var(--rouge-sevre);
    font-size: 1.3em;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.footer-column a {
    display: block;
    color: #ddd;
    text-decoration: none;
    margin: 12px 0;
    transition: all 0.3s ease;
    padding-left: 0;
}

.footer-column a:hover {
    color: var(--rouge-sevre);
    padding-left: 10px;
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    margin-top: 40px;
    border-top: 1px solid #333;
    color: #999;
}
.iconpng{
    transition: all 0.3s ease;
}

.iconpng:hover{
    transform: scale(1.2)
}
/* ===== CTA SECTION ===== */
.cta-section {
    background: linear-gradient(135deg, var(--rouge-sevre) 0%, #c01820 100%);
    color: var(--blanc);
    padding: 80px 40px;
    text-align: center;
    border-radius: 20px;
    margin: 80px 0;
    box-shadow: 0 15px 50px rgba(227, 30, 36, 0.3);
}

.cta-section h2 {
    font-size: 2.8em;
    margin-bottom: 25px;
}

.cta-section p {
    font-size: 1.3em;
    margin-bottom: 35px;
    opacity: 0.95;
}

.cta-button {
    display: inline-block;
    background: var(--blanc);
    color: var(--rouge-sevre);
    padding: 18px 50px;
    text-decoration: none;
    font-size: 1.2em;
    font-weight: bold;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.cta-button:hover {
    background: var(--noir-sevre);
    color: var(--blanc);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* ===== GRILLE 2 COLONNES (repliable sur mobile) ===== */
.two-col-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

/* Logos concessionnaires (Macbor / Kove) : largeur fluide, hauteur auto */
.brand-logo {
    width: 100%;
    max-width: 430px;
    height: auto;
    border-radius: 10px;
}

/* ===== RESPONSIVE ===== */
@media screen and (max-width: 1024px) {
    .section-with-image {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .section-with-image.reverse {
        direction: ltr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 768px) {
    /* Cartes concessionnaires plus compactes sur mobile */
    .brand-card {
        padding: 20px 15px 25px !important;
    }

    .brand-logo {
        max-width: 260px;
    }

    /* La nav n'est plus fixe sur mobile : le menu empilé
       recouvrait le contenu. Elle défile avec la page. */
    .nav {
        position: static;
        height: auto;
        padding: 12px 8px;
    }

    .buttun {
        flex-wrap: wrap;
        justify-content: center;
        gap: 4px;
    }

    .buttun div a {
        font-size: 13px;
        padding: 8px 10px;
        letter-spacing: 0.5px;
    }

    .hero-banner,
    .page-header {
        margin-top: 0;
    }

    .hero-banner {
        height: 420px;
    }

    .hero-content h1 {
        font-size: 2.3em;
        letter-spacing: 3px;
    }

    .hero-content .tagline {
        font-size: 1.2em;
    }

    .hero-content .cta-hero {
        padding: 15px 30px;
        font-size: 1em;
    }

    .page-header {
        padding: 50px 20px;
    }

    .page-header h1 {
        font-size: 2em;
        letter-spacing: 2px;
    }

    .content {
        padding: 0 15px 40px;
        margin-top: 20px;
    }

    .services-grid,
    .photo-gallery,
    .occasions-grid,
    .two-col-grid,
    .moto-details {
        grid-template-columns: 1fr;
    }

    .two-col-grid {
        gap: 25px;
    }

    .section-title {
        margin: 50px 0 30px;
    }

    .section-title h2 {
        font-size: 1.8em;
        letter-spacing: 1px;
    }

    .section-with-image {
        margin: 40px 0;
    }

    .section-image {
        height: 250px;
    }

    .section-text h2 {
        font-size: 1.8em;
    }

    .service-card {
        padding: 25px 20px;
    }

    .contact-info,
    .contact-form {
        padding: 30px 20px;
    }

    .cta-section {
        padding: 50px 20px;
        margin: 50px 0;
    }

    .cta-section h2 {
        font-size: 1.9em;
    }

    .cta-section p {
        font-size: 1.1em;
    }

    .news-article {
        padding: 25px 20px;
    }

    .footer-container {
        gap: 30px;
        text-align: center;
    }

    footer {
        margin-top: 50px;
    }
}

@media screen and (max-width: 400px) {
    .hero-content h1 {
        font-size: 1.9em;
    }

    .buttun div a {
        font-size: 12px;
        padding: 7px 8px;
    }
}
