/* LocMe Luxury - Version Haut de Gamme */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Montserrat:wght@300;400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Palette Noir & Or */
    --black: #0a0a0a;
    --black-light: #141414;
    --black-medium: #1a1a1a;
    --charcoal: #2a2a2a;
    --charcoal-light: #3a3a3a;
    --gold: #c9a961;
    --gold-light: #d4b872;
    --gold-dark: #b8944d;
    --champagne: #f5ecd7;
    --ivory: #f8f6f0;
    --white: #ffffff;
    --gray-300: #d1d1d1;
    --gray-400: #a0a0a0;
    --gray-500: #6b6b6b;
    --green-luxury: #1d7a5f;
    --green-hover: #166b52;
}

body {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.7;
    color: var(--charcoal);
    background: var(--ivory);
    min-height: 100vh;
    scroll-behavior: smooth;
    letter-spacing: 0.02em;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ================================
   HEADER - Luxe & Élégant
   ================================ */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background: rgba(10, 10, 10, 0.97);
    backdrop-filter: blur(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-bottom: 1px solid rgba(201, 169, 97, 0.15);
}

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

nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.55rem 0;
}

.logo-section {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-svg {
    height: 4.5rem;
    width: auto;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-links button,
.nav-links a {
    font-family: 'Montserrat', sans-serif;
    color: var(--gray-300);
    font-weight: 400;
    font-size: 0.8rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    background: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    padding: 0.5rem 0;
    position: relative;
}

.nav-links button::after,
.nav-links a:not(.btn)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gold);
    transition: width 0.3s ease;
}

.nav-links button:hover::after,
.nav-links a:not(.btn):hover::after {
    width: 100%;
}

.nav-links button:hover,
.nav-links a:hover {
    color: var(--gold);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 1.5rem;
    border-radius: 0;
    font-weight: 500;
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: none;
    text-decoration: none;
}

.btn-green {
    background: var(--green-luxury);
    color: white;
    border: 1px solid var(--green-luxury);
}

.btn-green:hover {
    background: var(--green-hover);
    border-color: var(--green-hover);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--gold);
    cursor: pointer;
}

/* ================================
   HERO - Cinématique
   ================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding-top: 5rem;
}

.hero-video-container {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-video-fallback {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-video-fallback img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-video-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(10, 10, 10, 0.92) 0%,
        rgba(20, 20, 20, 0.85) 50%,
        rgba(10, 10, 10, 0.92) 100%
    );
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: var(--black);
}

.hero-blur-1,
.hero-blur-2 {
    display: none;
}

.hero-content {
    position: relative;
    z-index: 10;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-text {
    color: white;
}

.stars {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 2rem;
}

.star {
    width: 1rem;
    height: 1rem;
    fill: var(--gold);
    color: var(--gold);
}

.stars span {
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    margin-left: 0.75rem;
    font-weight: 500;
}

.hero-text h1 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 4.5rem;
    font-weight: 400;
    margin-bottom: 2rem;
    line-height: 1.1;
    letter-spacing: 0.02em;
}

.gradient-text {
    display: block;
    background: linear-gradient(135deg, var(--gold) 0%, var(--champagne) 50%, var(--gold) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-style: italic;
}

.hero-text > p {
    font-size: 1.1rem;
    color: var(--gray-400);
    margin-bottom: 3rem;
    line-height: 1.8;
    font-weight: 300;
    max-width: 480px;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.btn-large {
    padding: 1.125rem 2.5rem;
    font-size: 0.8rem;
}

.btn-white {
    background: var(--gold);
    color: var(--black);
    border: 1px solid var(--gold);
}

.btn-white:hover {
    background: transparent;
    color: var(--gold);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--black);
    border-color: var(--white);
}

.hero-image {
    position: relative;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 0;
}

.stats-card {
    display: none;
}

.stats-card p:first-child {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3rem;
    font-weight: 600;
    color: var(--gold);
}

.stats-card p:last-child {
    font-size: 0.75rem;
    color: var(--gray-400);
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

/* ================================
   CATALOG - Galerie Premium
   ================================ */
.catalog {
    padding: 8rem 0;
    background: var(--ivory);
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-header h2 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 3.5rem;
    font-weight: 400;
    color: var(--black);
    margin-bottom: 1.5rem;
    letter-spacing: 0.05em;
}

.section-header p {
    font-size: 1rem;
    color: var(--gray-500);
    max-width: 600px;
    margin: 0 auto;
    font-weight: 300;
    line-height: 1.8;
}

.car-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(480px, 1fr));
    gap: 3rem;
}

.car-card {
    background: var(--white);
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: 1px solid transparent;
}

.car-card:hover {
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.15);
    transform: translateY(-8px);
    border-color: var(--gold);
}

.car-image {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    background: var(--black-light);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.car-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.car-badge {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: var(--black);
    color: var(--gold);
    padding: 0.5rem 1.25rem;
    border-radius: 0;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    border: 1px solid rgba(201, 169, 97, 0.3);
}

.car-info {
    padding: 2rem;
}

.car-info h3 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.75rem;
    font-weight: 500;
    color: var(--black);
    margin-bottom: 1.25rem;
    letter-spacing: 0.03em;
}

.car-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    margin-bottom: 1.5rem;
    color: var(--gray-500);
}

.car-spec {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    font-weight: 400;
}

.car-spec svg {
    width: 1rem;
    height: 1rem;
    flex-shrink: 0;
    color: var(--gold);
    opacity: 0.8;
}

.car-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.car-price p:first-child {
    font-size: 0.7rem;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.25rem;
}

.car-price p:last-child {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    font-weight: 600;
    color: var(--black);
}

.car-price span {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    color: var(--gray-500);
    font-weight: 400;
}

.btn-dark {
    background: var(--black);
    color: var(--gold);
    border: 1px solid var(--black);
}

.btn-dark:hover {
    background: var(--gold);
    color: var(--black);
    border-color: var(--gold);
}

/* ================================
   FEATURES - Services Exclusifs
   ================================ */
.features {
    padding: 8rem 0;
    background: var(--black);
}

.features .section-header h2 {
    color: var(--white);
}

.features .section-header p {
    color: var(--gray-400);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--black-light);
    padding: 3rem 2rem;
    border-radius: 0;
    border: 1px solid rgba(201, 169, 97, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
}

.feature-card:hover {
    border-color: rgba(201, 169, 97, 0.4);
    transform: translateY(-5px);
}

.feature-icon {
    width: 4rem;
    height: 4rem;
    background: transparent;
    border: 1px solid var(--gold);
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    transition: all 0.3s;
}

.feature-card:hover .feature-icon {
    background: var(--gold);
}

.feature-icon svg {
    width: 1.5rem;
    height: 1.5rem;
    color: var(--gold);
    transition: all 0.3s;
}

.feature-card:hover .feature-icon svg {
    color: var(--black);
}

.feature-card h3 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--white);
    margin-bottom: 1rem;
    letter-spacing: 0.03em;
}

.feature-card p {
    color: var(--gray-400);
    line-height: 1.8;
    font-weight: 300;
    font-size: 0.95rem;
}

/* ================================
   FOOTER - Signature
   ================================ */
footer {
    background: var(--black);
    color: white;
    padding: 5rem 0 3rem;
    border-top: 1px solid rgba(201, 169, 97, 0.2);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand {
    margin-bottom: 2rem;
}

.logo-svg-footer {
    height: 3rem;
    width: auto;
}

.footer-section h4 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--gold);
    margin-bottom: 1.5rem;
    letter-spacing: 0.1em;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-links a {
    color: var(--gray-400);
    text-decoration: none;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9rem;
    font-weight: 300;
}

.footer-links a:hover {
    color: var(--gold);
}

.footer-links a svg {
    color: var(--gold);
    opacity: 0.7;
}

.footer-bottom {
    border-top: 1px solid rgba(201, 169, 97, 0.15);
    padding-top: 2rem;
    text-align: center;
    color: var(--gray-500);
    font-size: 0.85rem;
    letter-spacing: 0.05em;
}

.footer-bottom a:hover {
    opacity: 1 !important;
    transform: translateY(-2px);
}

.footer-bottom img {
    transition: all 0.3s ease;
}

/* ================================
   RESPONSIVE
   ================================ */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: fixed;
        top: 85px;
        left: 0;
        right: 0;
        width: 100%;
        background: var(--black);
        flex-direction: column;
        padding: 2rem;
        gap: 0.5rem;
        border-top: 1px solid rgba(201, 169, 97, 0.2);
        box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
        z-index: 100;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-links a,
    .nav-links button {
        color: var(--gray-300);
        padding: 1.25rem;
        transition: all 0.3s;
        width: 100%;
        text-align: center;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }
    
    .nav-links a:hover,
    .nav-links button:hover {
        background: rgba(201, 169, 97, 0.1);
        color: var(--gold);
    }
    
    .nav-links .btn-whatsapp {
        background: var(--green-luxury);
        color: white;
        margin-top: 1rem;
        border: none;
    }
    
    .menu-toggle {
        display: block;
    }
    
    nav {
        position: relative;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        margin-top: 80px;
    }
    
    .hero-text h1 {
        font-size: 2.75rem;
    }
    
    .hero-text > p {
        margin: 0 auto 3rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .stars {
        justify-content: center;
    }
    
    .car-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .footer-brand {
        display: flex;
        justify-content: center;
    }
    
    .footer-section {
        text-align: center;
    }
    
    .footer-links {
        align-items: center;
    }
    
    .footer-links a {
        justify-content: center;
    }
    
    .footer-social > div {
        justify-content: center !important;
    }
    
    /* Feature cards centrées sur mobile */
    .feature-card {
        text-align: center;
    }

    .hero-image {
        margin-bottom:3rem;
    }
    
    .feature-card .feature-icon {
        margin-left: auto;
        margin-right: auto;
    }
    
    .stats-card {
        position: static;
        margin-top: 2rem;
    }
    
    .section-header h2 {
        font-size: 2.5rem;
    }
}

@media (max-width: 1024px) {
    .hero-text h1 {
        font-size: 3.5rem;
    }
}

/* ================================
   MODAL - Élégance
   ================================ */
.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 100;
    background: rgba(0, 0, 0, 0.9);
    animation: fadeIn 0.3s ease;
}

.modal-dialog {
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 101;
    width: 35%;
    max-width: 50rem;
    max-height: 90vh;
    background: var(--white);
    border-radius: 0;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: modalFadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes modalFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-image-container {
    position: relative;
    flex-shrink: 0;
}

.modal-car-image {
    width: 100%;
    object-fit: cover;
}

.modal-close-top {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    width: 3rem;
    height: 3rem;
    background: var(--black);
    color: var(--gold);
    border: 1px solid rgba(201, 169, 97, 0.3);
    border-radius: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    z-index: 20;
}

.modal-close-top:hover {
    background: var(--gold);
    color: var(--black);
}

.modal-close-top svg {
    width: 1rem;
    height: 1rem;
}

.modal-content {
    flex-grow: 1;
    overflow-y: auto;
    padding: 2rem;
}

.modal-header h2 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 2rem;
    font-weight: 500;
    color: var(--black);
    margin-bottom: 0.25rem;
    letter-spacing: 0.03em;
}

.modal-car-type {
    font-size: 0.8rem;
    color: var(--gray-500);
    margin-bottom: 0.5rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.modal-description {
    font-size: 1rem;
    color: var(--charcoal);
    font-style: italic;
    font-weight: 400;
    margin: 1rem 0 1.5rem;
    line-height: 1.7;
}

.modal-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    margin: 1.5rem 0;
    color: var(--gray-500);
    font-size: 0.85rem;
}

.modal-info-box {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    margin: 1.5rem 0;
    background: rgba(201, 169, 97, 0.08);
    border-left: 3px solid var(--gold);
    color: var(--charcoal);
    font-size: 0.9rem;
    font-weight: 500;
}

.modal-info-box svg {
    width: 1.25rem;
    height: 1.25rem;
    flex-shrink: 0;
    color: var(--gold);
}

.modal-section {
    margin: 2rem 0;
}

.modal-section-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--black);
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    letter-spacing: 0.03em;
}

.modal-section-title svg {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--gold);
}

/* KM Options */
.km-options {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.km-option {
    display: flex;
    align-items: center;
    padding: 1rem 1.25rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: all 0.3s;
}

.km-option:hover {
    border-color: var(--gold);
    background: rgba(201, 169, 97, 0.05);
}

.km-option input[type="radio"] {
    display: none;
}

.km-radio {
    width: 1.25rem;
    height: 1.25rem;
    border: 2px solid var(--gold);
    border-radius: 50%;
    margin-right: 0.75rem;
    position: relative;
    flex-shrink: 0;
}

.km-option input[type="radio"]:checked + .km-radio::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0.625rem;
    height: 0.625rem;
    background: var(--gold);
    border-radius: 50%;
}

.km-label {
    flex-grow: 1;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--charcoal);
}

.km-price {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--black);
}

/* Form Styles */
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group-full {
    grid-column: 1 / -1;
}

.form-group label {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--gray-500);
    margin-bottom: 0.5rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.form-input {
    height: 3rem;
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 0;
    font-size: 0.95rem;
    font-family: 'Montserrat', sans-serif;
    transition: all 0.3s;
    background: var(--white);
}

.form-input:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(201, 169, 97, 0.1);
}

/* Submit Button */
.modal-submit-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1.25rem 2rem;
    margin-top: 2rem;
    background: var(--green-luxury);
    color: white;
    border: none;
    border-radius: 0;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.4s;
    font-family: 'Montserrat', sans-serif;
}

.modal-submit-btn:hover {
    background: var(--green-hover);
}

.modal-submit-btn svg {
    width: 1.25rem;
    height: 1.25rem;
}

/* Responsive Modal */
@media (max-width: 768px) {
    .modal-dialog {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        transform: none;
        width: 100%;
        max-width: 100%;
        max-height: 100%;
        overflow-y: auto;
    }
    
    .modal-car-image {
        height: 21rem;
    }
    
    .modal-content {
        padding: 1.5rem;
        overflow-y: visible;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .modal-header h2 {
        font-size: 1.75rem;
    }
}

/* ================================
   Social Icons
   ================================ */
.social-icon-link {
    transform: translateY(0);
    background: var(--charcoal) !important;
    border: 1px solid rgba(201, 169, 97, 0.2) !important;
}

.social-icon-link:hover {
    transform: translateY(-4px);
    background: var(--gold) !important;
    border-color: var(--gold) !important;
    box-shadow: 0 10px 30px rgba(201, 169, 97, 0.3) !important;
}

.social-icon-link:hover svg {
    color: var(--black) !important;
    fill: var(--black) !important;
}

.footer-social h4 {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold) !important;
}
