:root {
    --primary: #c5a059; /* Doré Premium */
    --dark-bg: #0a0a0a;
    --card-bg: #1a1a1a;
    --text-light: #f4f4f4;
    --text-muted: #a0a0a0;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Lora', serif;
    background-color: var(--dark-bg);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, .nav-links a, .btn-reserve, .synergy-title, .car-brand, .about-stats span, .modal-title, .faq-question, .testimonial-name {
    font-family: 'Cinzel', serif;
    letter-spacing: 2px;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 0.8rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(197, 160, 89, 0.2);
    transition: var(--transition);
}

.logo-container {
    display: flex;
    align-items: center;
    text-decoration: none;
    z-index: 1100;
}

.logo-img {
    height: 60px;
    width: auto;
    transition: var(--transition);
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-light);
    font-size: 0.8rem;
    text-transform: uppercase;
    font-weight: 700;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    z-index: 1100;
}

.btn-reserve {
    background: var(--primary);
    color: #000;
    padding: 0.8rem 1.8rem;
    border-radius: 2px;
    text-decoration: none;
    font-weight: 900;
    transition: var(--transition);
    font-size: 0.85rem;
    display: inline-block;
    text-align: center;
    text-transform: uppercase;
}

.btn-reserve:hover {
    background: #fff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(197, 160, 89, 0.3);
}

/* Menu Mobile UI */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--primary);
    cursor: pointer;
    padding: 5px;
    z-index: 1200;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    /*background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.85)), url('../images/IMG_0120-scaled.jpg?auto=format&fit=crop&q=80&w=1920') center/cover no-repeat;*/
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.30)), url('../images/FLOTTE.webp?auto=format&fit=crop&q=80&w=1920') center/cover no-repeat;
    padding: 0 10%;
}

.hero h1 {
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    margin-bottom: 1.5rem;
    color: #fff;
    line-height: 1.3;
    font-weight: 700;
    text-shadow: 0 10px 30px rgba(0,0,0,0.5);
    text-transform: uppercase;
}

.hero h1 span {
    color: var(--primary);
    display: block;
    font-weight: 900;
    letter-spacing: 4px;
}

.hero p {
    font-size: 1.1rem;
    max-width: 700px;
    margin-bottom: 3.5rem;
    color: var(--text-light);
    font-weight: 400;
    font-style: italic;
    opacity: 0.9;
}

/* Sections Générales */
section {
    padding: 100px 10%;
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title h2 {
    font-size: 2.2rem;
    color: var(--primary);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.underline {
    width: 40px;
    height: 1px;
    background: var(--primary);
    margin: 0 auto;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--card-bg);
    padding: 3rem 1.5rem;
    text-align: center;
    border: 1px solid rgba(197, 160, 89, 0.1);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    background: #222;
}

.service-card i {
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.service-card h3 {
    text-transform: uppercase;
    font-size: 1rem;
    margin-bottom: 1.2rem;
    color: var(--primary);
    min-height: 2.4em;
    display: flex;
    align-items: center;
}

.service-card p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.5;
}

/* Notre flotte - Liste */
.fleet-container {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.car-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    background: rgba(255,255,255,0.02);
    padding: 2rem;
    border-radius: 4px;
}

.car-row:nth-child(even) {
    direction: rtl;
}

.car-row:nth-child(even) .car-details {
    direction: ltr;
}

.car-visual {
    width: 100%;
    display: flex;
    justify-content: center;
}

.car-visual img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 2px;
    filter: brightness(0.8);
    transition: var(--transition);
}

.car-row:hover .car-visual img {
    filter: brightness(1.1);
}

.car-details h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.car-details .car-brand {
    display: block;
    margin-bottom: 1.5rem;
    color: var(--primary);
    font-size: 0.9rem;
}

.car-features {
    list-style: none;
    margin-bottom: 2rem;
}

.car-features li {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.car-features i {
    color: var(--primary);
}

.usage-tag {
    display: inline-block;
    background: rgba(197, 160, 89, 0.1);
    color: var(--primary);
    padding: 0.5rem 1rem;
    border: 1px solid var(--primary);
    font-size: 0.75rem;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    font-weight: bold;
}

/* Avis Clients */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: var(--card-bg);
    padding: 2.5rem;
    border: 1px solid rgba(197, 160, 89, 0.1);
    position: relative;
}

.stars {
    color: var(--primary);
    margin-bottom: 1rem;
    display: flex;
    gap: 5px;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 1.5rem;
    color: var(--text-light);
    font-size: 0.95rem;
}

.testimonial-name {
    color: var(--primary);
    font-size: 0.8rem;
    text-transform: uppercase;
}

/* FAQ */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1rem;
    border-bottom: 1px solid rgba(197, 160, 89, 0.1);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    color: var(--text-light);
    text-align: left;
    padding: 1.5rem 0;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1rem;
    transition: var(--transition);
}

.faq-question:hover {
    color: var(--primary);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s ease;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding-bottom: 1.5rem;
}

.faq-item.active i {
    transform: rotate(180deg);
    color: var(--primary);
}

/* À Propos (L'Esprit du Club) */
.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h3 {
    color: var(--primary);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.about-text p {
    margin-bottom: 1.5rem;
    color: var(--text-light);
    font-size: 1.05rem;
}

.about-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.stat-item span {
    display: block;
    font-size: 2rem;
    color: var(--primary);
    font-weight: 700;
}

.stat-item p {
    font-size: 0.8rem;
    text-transform: uppercase;
    color: var(--text-muted);
    margin: 0;
}

.about-image img {
    width: 100%;
    border: 1px solid var(--primary);
    padding: 10px;
    filter: grayscale(20%);
}

/* Synergie Section */
.synergy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.synergy-item {
    background: var(--card-bg);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(197, 160, 89, 0.05);
    height: 100%;
    overflow: hidden;
}

.synergy-item:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
}

.synergy-image {
    width: 100%;
    height: 200px;
    background-size: cover;
    background-position: center;
    filter: grayscale(10%);
    transition: var(--transition);
}

.synergy-item:hover .synergy-image {
    filter: grayscale(0%);
}

.synergy-content {
    padding: 2rem;
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

.synergy-title {
    color: var(--primary);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    line-height: 1.4;
}

.synergy-actions {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.social-link-icon {
    color: var(--text-light);
    background: rgba(255,255,255,0.05);
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
    border: 1px solid rgba(197, 160, 89, 0.2);
    text-decoration: none;
}

.social-link-icon:hover {
    color: #000;
    background: var(--primary);
    transform: scale(1.1);
    border-color: #fff;
}

.social-link-icon svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

/* Contact & Maps */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.map-wrapper {
    margin-top: 2rem;
    border: 1px solid rgba(197, 160, 89, 0.2);
    height: 300px;
    overflow: hidden;
}

.hp-field {
    display: none; /* Champ invisible pour les humains */
    visibility: hidden;
}

input, textarea {
    width: 100%;
    padding: 1.2rem;
    background: #111;
    border: 1px solid #222;
    color: #fff;
    margin-bottom: 1.5rem;
}

input:focus, textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.btn-submit {
    background: var(--primary);
    border: none;
    padding: 1.2rem;
    font-weight: 900;
    font-family: 'Cinzel', serif;
    cursor: pointer;
    width: 100%;
    text-transform: uppercase;
    transition: var(--transition);
}

.btn-submit:hover {
    background: #fff;
}

.btn-submit:disabled {
    background: var(--text-muted);
    cursor: not-allowed;
    opacity: 0.5;
}

/* Protection du contact par JS */
.secure-link {
    cursor: pointer;
    color: var(--text-light);
    text-decoration: underline;
    text-decoration-color: rgba(197, 160, 89, 0.3);
    transition: var(--transition);
}
.secure-link:hover {
    color: var(--primary);
}

/* Modal Légales */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.9);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: var(--card-bg);
    margin: 5% auto;
    padding: 3rem;
    border: 1px solid var(--primary);
    width: 80%;
    max-width: 900px;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    color: var(--text-light);
}

.close-modal {
    position: absolute;
    right: 20px;
    top: 15px;
    color: var(--primary);
    font-size: 2rem;
    cursor: pointer;
    transition: var(--transition);
}

.close-modal:hover { color: #fff; }

.modal-title {
    color: var(--primary);
    margin-bottom: 2rem;
    text-align: center;
}

.legal-section {
    margin-bottom: 2rem;
}

.legal-section h4 {
    color: var(--primary);
    margin-bottom: 0.8rem;
    font-family: 'Cinzel', serif;
    font-size: 0.9rem;
}

.legal-section p, .legal-section li {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

/* Footer */
footer {
    background: #000;
    padding: 60px 10%;
    text-align: center;
    border-top: 1px solid #1a1a1a;
}

.footer-logo-img {
    height: 80px;
    margin-bottom: 2rem;
}

.footer-links {
    margin-bottom: 1.5rem;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.75rem;
    margin: 0 1rem;
    text-transform: uppercase;
    transition: var(--transition);
}

.footer-links a:hover { color: var(--primary); }

.copyright {
    color: var(--text-muted);
    font-size: 0.7rem;
    text-transform: uppercase;
}

/* --- RESPONSIVE / MENU MOBILE --- */
@media (max-width: 1024px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: var(--dark-bg);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2.5rem;
        transition: 0.5s cubic-bezier(0.77,0.2,0.05,1.0);
        z-index: 1000;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        font-size: 1.5rem;
    }

    .menu-toggle {
        display: block;
    }

    .about-container, .car-row, .contact-container {
        grid-template-columns: 1fr;
    }

    .car-row:nth-child(even) {
        direction: ltr;
    }

    /* Flotte Mobile : Images à 110% de largeur */
    .car-visual img {
        width: 110%;
        height: auto;
        aspect-ratio: 16/9;
        margin: 0 auto;
    }

    /* Titres légèrement diminués pour tablettes/mobiles */
    .hero h1 {
        font-size: 1.8rem;
    }
    .section-title h2 {
        font-size: 1.8rem;
    }
    .car-details h3 {
        font-size: 1.5rem;
        text-align: center;
    }
    .car-details .car-brand {
        text-align: center;
    }
    .car-details p {
        text-align: center;
    }
    .car-details .btn-reserve {
        display: block;
        max-width: 300px;
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    /* Forcer l'affichage du bouton de réservation sur téléphone */
    .nav-actions .btn-reserve {
        display: inline-block;
        padding: 0.6rem 1rem;
        font-size: 0.7rem;
    }
    
    .logo-img {
        height: 40px;
    }

    .hero h1 {
        font-size: 1.5rem;
    }
}
