/* ================================================
   LV PRESTIGE - Premium Automotive Excellence
   ================================================ */

/* -------------------- Variables CSS -------------------- */
:root {
    /* Couleurs */
    --color-primary: #0a0a14;
    --color-secondary: #1a1a2e;
    --color-gold: #c9a227;
    --color-gold-light: #e8c547;
    --color-accent: #e94560;
    --color-white: #ffffff;
    --color-gray: #a0a0a0;
    --color-gray-dark: #2a2a3e;
    
    /* Typographie */
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    
    /* Espacements */
    --section-padding: 120px;
    --container-max: 1400px;
    
    /* Transitions */
    --transition-fast: 0.3s ease;
    --transition-smooth: 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-bounce: 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* -------------------- Reset & Base -------------------- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    background: var(--color-primary);
    color: var(--color-white);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

/* -------------------- Typography -------------------- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-white);
}

h1 { font-size: clamp(2.5rem, 6vw, 5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: clamp(1.2rem, 2vw, 1.5rem); }

p {
    color: var(--color-gray);
    margin-bottom: 1rem;
}

/* -------------------- Utility Classes -------------------- */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    position: relative;
    display: inline-block;
    padding-bottom: 20px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--color-gold), var(--color-accent));
}

.section-title p {
    margin-top: 20px;
    font-size: 1.1rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.text-gold { color: var(--color-gold); }

.gold-text {
    color: var(--color-gold);
    display: inline-block;
}

.hero h1 .gold-text {
    background: none;
    -webkit-text-fill-color: var(--color-gold);
    color: var(--color-gold);
}
.text-accent { color: var(--color-accent); }

/* -------------------- Scroll to Top -------------------- */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--color-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-fast);
    z-index: 999;
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(201, 162, 39, 0.4);
}

.scroll-top svg {
    width: 20px;
    height: 20px;
    fill: var(--color-primary);
}

/* -------------------- Preloader -------------------- */
.preloader {
    position: fixed;
    inset: 0;
    background: #02030f;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.preloader-logo {
    width: 312px;
    max-width: 80vw;
    height: auto;
    object-fit: contain;
    animation: preloadFade 1.8s ease-in-out infinite alternate;
}

@keyframes preloadFade {
    from {
        opacity: 0.6;
        transform: scale(0.96);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* -------------------- Header & Navigation -------------------- */
.header {
    position: relative;
    z-index: 1000;
    padding: 12px 0;
    background: #ffffff;
    backdrop-filter: blur(20px);
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.3);
    transition: var(--transition-fast);
}

.header.scrolled {
    background: #ffffff;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.4);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 72px;
    width: auto;
    object-fit: contain;
    display: block;
}

@media (max-width: 768px) {
    .logo img {
        height: 56px;
    }
}

.nav-menu {
    display: flex;
    gap: 40px;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    position: relative;
    padding: 5px 0;
    color: #1a1a2e;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-gold);
    transition: var(--transition-fast);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover {
    color: var(--color-gold);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1001;
}

.menu-toggle span {
    width: 30px;
    height: 2px;
    background: #1a1a2e;
    transition: var(--transition-fast);
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* -------------------- Hero Section -------------------- */
.hero {
    position: relative;
    min-height: 70vh;
    min-height: 70dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 60px 0;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #0a0a14;
    background-image: 
        linear-gradient(180deg, rgba(10, 10, 20, 0.4) 0%, rgba(10, 10, 20, 0.7) 50%, rgba(10, 10, 20, 0.95) 100%),
        url('../assets/voiture_hero.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transform: scale(1.1);
    animation: heroZoom 20s ease-in-out infinite alternate;
}

@keyframes heroZoom {
    0% { transform: scale(1.1); }
    100% { transform: scale(1.2); }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        180deg,
        rgba(10, 10, 20, 0.3) 0%,
        rgba(10, 10, 20, 0.6) 50%,
        rgba(10, 10, 20, 0.95) 100%
    );
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--color-gold);
    border-radius: 50%;
    opacity: 0;
    animation: float 15s infinite;
    will-change: transform, opacity;
}

@keyframes float {
    0% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
    10% { opacity: 0.3; }
    90% { opacity: 0.3; }
    100% { transform: translateY(-100vh) rotate(720deg); opacity: 0; }
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 900px;
    padding: 0 20px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 25px;
    background: rgba(201, 162, 39, 0.15);
    border: 1px solid rgba(201, 162, 39, 0.3);
    border-radius: 50px;
    margin-bottom: 30px;
    font-size: 0.85rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--color-gold);
    animation: fadeInDown 1s ease forwards;
}

.hero h1 {
    margin-bottom: 25px;
    animation: fadeInUp 1s ease 0.3s forwards;
    opacity: 0;
}

.hero h1 span {
    background: linear-gradient(135deg, var(--color-gold), var(--color-gold-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--color-gray);
    max-width: 650px;
    margin: 0 auto 40px;
    animation: fadeInUp 1s ease 0.6s forwards;
    opacity: 0;
}

.hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 0.9s forwards;
    opacity: 0;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* -------------------- Buttons -------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 35px;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: var(--transition-fast);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-gold), var(--color-gold-light));
    color: var(--color-primary);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(201, 162, 39, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--color-white);
    border: 2px solid var(--color-white);
}

.btn-secondary:hover {
    background: var(--color-white);
    color: var(--color-primary);
}

.btn-outline {
    background: transparent;
    color: var(--color-gold);
    border: 2px solid var(--color-gold);
}

.btn-outline:hover {
    background: var(--color-gold);
    color: var(--color-primary);
}

/* -------------------- Commitment Memo -------------------- */
.commitment-memo {
    padding: 30px 0;
    background: var(--color-secondary);
    position: relative;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.commitment-memo::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
}

.memo-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 14px 20px;
    background: linear-gradient(135deg, rgba(201, 162, 39, 0.08), rgba(201, 162, 39, 0.15));
    border: 1px solid rgba(201, 162, 39, 0.25);
    border-left: 3px solid var(--color-gold);
    border-radius: 0 8px 8px 0;
    position: relative;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    animation: memoSlide 0.8s ease forwards;
    opacity: 0;
    transform: translateY(10px);
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

@keyframes memoSlide {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.memo-pin {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: var(--color-gold);
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    box-shadow: 0 3px 10px rgba(201, 162, 39, 0.4);
}

.memo-pin svg {
    transform: rotate(45deg);
    color: var(--color-primary);
}

.memo-content p {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--color-white);
    letter-spacing: 0.3px;
}

@media (max-width: 768px) {
    .commitment-memo {
        padding: 25px 15px;
    }
    
    .memo-content {
        flex-direction: column;
        text-align: center;
        padding: 16px;
        gap: 12px;
    }
    
    .memo-content p {
        font-size: 0.9rem;
    }
    
    .memo-pin {
        transform: rotate(-45deg);
    }
    
    .memo-content p {
        font-size: 0.95rem;
    }
}

/* -------------------- Stats Section -------------------- */
.stats {
    padding: 80px 0;
    background: var(--color-secondary);
    position: relative;
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
    overflow-y: hidden;
    box-sizing: border-box;
}

.stats::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.stat-item {
    text-align: center;
    padding: 20px 8px;
    position: relative;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
}

.stat-item::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 60%;
    background: linear-gradient(180deg, transparent, var(--color-gold), transparent);
}

.stat-item:last-child::after {
    display: none;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 700;
    color: var(--color-gold);
    line-height: 1;
    margin-bottom: 10px;
    max-width: 100%;
}

.stat-label {
    font-size: 0.95rem;
    color: var(--color-gray);
    text-transform: uppercase;
    letter-spacing: 2px;
    max-width: 100%;
}

/* Stats responsive adjustments */
@media (max-width: 768px) {
    .stats {
        width: 100%;
        max-width: 100vw;
        overflow-x: hidden;
        box-sizing: border-box;
    }
    
    .stats .container {
        padding: 0 10px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .stat-item::after {
        display: none;
    }
    
    .stat-number {
        font-size: clamp(44px, 16vw, 72px);
        line-height: 0.9;
        max-width: 100%;
        overflow-wrap: normal;
    }
    
    .stat-label {
        font-size: clamp(12px, 3vw, 16px);
        letter-spacing: 0.16em;
        line-height: 1.5;
        max-width: 100%;
        overflow-wrap: break-word;
    }
}

@media (max-width: 360px) {
    .stat-label {
        letter-spacing: 0.10em;
    }
}

@media (max-width: 340px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    
    .stats .container {
        padding: 0 10px;
    }
    
    .preloader-logo {
        width: 200px;
    }
    
    .hero-badge {
        flex-wrap: wrap;
        justify-content: center;
        text-align: center;
    }
    
    .page-header {
        padding: 160px 0 40px;
    }
    
    .page-header h1 {
        font-size: 1.75rem;
    }
    
    .btn {
        padding: 14px 25px;
        font-size: 0.85rem;
    }
    
    .section-title {
        margin-bottom: 40px;
    }
    
    .portfolio-filters {
        gap: 10px;
    }
    
    .filter-btn {
        padding: 10px 20px;
        font-size: 0.8rem;
    }
    
    .map-container {
        height: 320px;
        margin: 40px auto 60px auto;
    }
    
    .faq-section {
        padding-top: 60px;
    }
}

/* -------------------- Print Styles -------------------- */
@media print {
    .header,
    .footer,
    .scroll-top,
    .preloader {
        display: none !important;
    }
    
    body {
        background: white;
        color: black;
    }
    
    .hero {
        min-height: auto;
        padding: 50px 0;
    }
}

/* -------------------- Réalisations grid override -------------------- */
#realisations .portfolio-grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 28px !important;
    width: 100% !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
}

#realisations .portfolio-item {
    width: 100% !important;
    aspect-ratio: 1 / 1 !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    position: relative !important;
}

#realisations .portfolio-item.is-hidden {
    display: none !important;
}

#realisations .portfolio-item img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

@media (max-width: 1024px) {
    #realisations .portfolio-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 640px) {
    #realisations .portfolio-grid {
        grid-template-columns: 1fr !important;
    }
}

/* -------------------- Portfolio Section Styles */
.portfolio {
    padding: var(--section-padding) 0;
    background: var(--color-primary);
}

.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 12px 30px;
    background: transparent;
    border: 2px solid var(--color-gray-dark);
    color: var(--color-gray);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition-fast);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--color-gold);
    border-color: var(--color-gold);
    color: var(--color-primary);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.portfolio-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, transparent 0%, rgba(10, 10, 20, 0.9) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
    opacity: 0;
    transition: var(--transition-fast);
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-item:hover img {
    transform: scale(1.1);
}

.portfolio-category {
    font-size: 0.8rem;
    color: var(--color-gold);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 8px;
}

.portfolio-title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--color-white);
    margin-bottom: 10px;
}

.portfolio-desc {
    font-size: 0.9rem;
    color: var(--color-gray);
}

/* -------------------- Carousel Styles -------------------- */
.services-carousel-wrapper,
.testimonials-carousel-wrapper {
    display: none;
}

.services-original-grid,
.testimonials-original {
    display: grid;
}

@media (max-width: 768px) {
    .services-carousel-wrapper,
    .testimonials-carousel-wrapper {
        display: block;
        position: relative;
        overflow: hidden;
    }
    
    .services-original-grid,
    .testimonials-original {
        display: none;
    }
    
    .carousel-track {
        display: flex;
        transition: transform 0.5s ease;
    }
    
    .carousel-slide {
        flex: 0 0 100%;
        padding: 0 10px;
        box-sizing: border-box;
    }
    
    .carousel-btn {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        width: auto;
        height: auto;
        background: transparent;
        border: none;
        cursor: pointer;
        z-index: 10;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: var(--transition-fast);
        padding: 10px;
    }
    
    .carousel-btn:hover {
        transform: translateY(-50%) scale(1.1);
    }
    
    .carousel-btn:hover svg {
        fill: var(--color-gold-light);
    }
    
    .carousel-btn svg {
        width: 30px;
        height: 30px;
        fill: var(--color-gold);
        transition: var(--transition-fast);
    }
    
    .carousel-btn.prev {
        left: 10px;
    }
    
    .carousel-btn.next {
        right: 10px;
    }
    
    .carousel-dots {
        display: flex;
        justify-content: center;
        gap: 8px;
        margin-top: 20px;
    }
    
    .carousel-dot {
        width: 10px;
        height: 10px;
        border-radius: 50%;
        background: var(--color-gray-dark);
        border: none;
        cursor: pointer;
        transition: var(--transition-fast);
    }
    
    .carousel-dot.active {
        background: var(--color-gold);
    }
}

@media (min-width: 769px) {
    .services-carousel-wrapper,
    .testimonials-carousel-wrapper {
        display: none !important;
    }
}

/* -------------------- Services Section -------------------- */
.services {
    padding: var(--section-padding) 0;
    background: var(--color-primary);
    position: relative;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background: linear-gradient(145deg, var(--color-secondary), var(--color-primary));
    border: 1px solid rgba(201, 162, 39, 0.1);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(201, 162, 39, 0.1), transparent);
    opacity: 0;
    transition: var(--transition-fast);
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: rgba(201, 162, 39, 0.3);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}

.service-card:hover::before {
    opacity: 1;
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-gold), var(--color-gold-light));
    border-radius: 50%;
    position: relative;
}

.service-icon svg {
    width: 40px;
    height: 40px;
    fill: var(--color-primary);
}

.service-card h3 {
    margin-bottom: 15px;
    color: var(--color-white);
}

.service-card p {
    font-size: 0.95rem;
    line-height: 1.8;
}

/* -------------------- About Section Styles (missing) -------------------- */
.about {
    padding: var(--section-padding) 0;
    background: var(--color-secondary);
    position: relative;
    overflow: hidden;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image img {
    border-radius: 20px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.about-image::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--color-gold);
    border-radius: 20px;
    z-index: -1;
}

.about-badge {
    position: absolute;
    bottom: -30px;
    right: -30px;
    background: var(--color-gold);
    color: var(--color-primary);
    padding: 25px 35px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 20px 50px rgba(201, 162, 39, 0.3);
    max-width: calc(100% - 20px);
}

.about-badge span {
    display: block;
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    line-height: 1;
}

.about-badge small {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.about-content h2 {
    margin-bottom: 25px;
}

.about-content h2 span {
    color: var(--color-gold);
}

.about-text {
    margin-bottom: 30px;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 35px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.feature-item i {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(201, 162, 39, 0.2);
    border-radius: 50%;
    color: var(--color-gold);
    font-size: 0.75rem;
}

/* -------------------- Testimonials Section Styles (missing) -------------------- */
.testimonials {
    padding: var(--section-padding) 0;
    background: var(--color-secondary);
    position: relative;
}

.testimonials-slider {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.testimonial-item {
    text-align: center;
    padding: 20px;
}

.testimonial-quote {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-style: italic;
    color: var(--color-white);
    margin-bottom: 15px;
    line-height: 1.5;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.testimonial-author img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--color-gold);
}

.author-info h4 {
    color: var(--color-white);
    font-size: 0.9rem;
    margin-bottom: 3px;
}

.author-info p {
    font-size: 0.75rem;
    color: var(--color-gold);
    margin: 0;
}

/* -------------------- Timeline Section Styles (missing) -------------------- */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: linear-gradient(180deg, var(--color-gold), var(--color-accent));
}

.timeline-item {
    position: relative;
    width: 50%;
    padding: 30px;
}

.timeline-item:nth-child(odd) {
    left: 0;
    padding-right: 60px;
    text-align: right;
}

.timeline-item:nth-child(even) {
    left: 50%;
    padding-left: 60px;
}

.timeline-dot {
    position: absolute;
    width: 20px;
    height: 20px;
    background: var(--color-gold);
    border-radius: 50%;
    top: 35px;
}

.timeline-item:nth-child(odd) .timeline-dot {
    right: -10px;
}

.timeline-item:nth-child(even) .timeline-dot {
    left: -10px;
}

.timeline-year {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--color-gold);
    margin-bottom: 10px;
}

.timeline-content h4 {
    color: var(--color-white);
    margin-bottom: 10px;
}

/* -------------------- Contact Section Styles (missing) -------------------- */
.contact {
    padding: var(--section-padding) 0;
    background: var(--color-primary);
}

.map-container {
    width: 100%;
    max-width: 900px;
    height: 420px;
    margin: 60px auto 80px;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.faq-section {
    position: relative;
    z-index: 2;
    padding-top: 80px;
    clear: both;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info h3 {
    margin-bottom: 30px;
    color: var(--color-gold);
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 25px;
    padding: 20px;
    background: var(--color-secondary);
    border-radius: 15px;
    border: 1px solid rgba(201, 162, 39, 0.1);
}

.info-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-gold), var(--color-gold-light));
    border-radius: 12px;
    flex-shrink: 0;
}

.info-icon svg {
    width: 24px;
    height: 24px;
    fill: var(--color-primary);
}

.info-content h4 {
    color: var(--color-white);
    margin-bottom: 8px;
}

.info-content p {
    margin: 0;
    font-size: 0.95rem;
}

.contact-map {
    border-radius: 20px;
    overflow: hidden;
    height: 100%;
    min-height: 400px;
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* -------------------- FAQ Section Styles (missing) -------------------- */
.faq {
    padding: 80px 0;
    background: var(--color-secondary);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 15px;
    border-radius: 15px;
    overflow: hidden;
    background: var(--color-primary);
    border: 1px solid rgba(201, 162, 39, 0.1);
}

.faq-question {
    width: 100%;
    padding: 25px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: transparent;
    border: none;
    color: var(--color-white);
    font-size: 1.05rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    transition: var(--transition-fast);
}

.faq-question:hover {
    color: var(--color-gold);
}

.faq-icon {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(201, 162, 39, 0.1);
    border-radius: 50%;
    transition: var(--transition-fast);
}

.faq-icon svg {
    width: 16px;
    height: 16px;
    fill: var(--color-gold);
    transition: var(--transition-fast);
}

.faq-item.active .faq-icon {
    background: var(--color-gold);
}

.faq-item.active .faq-icon svg {
    fill: var(--color-primary);
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.faq-answer-content {
    padding: 0 30px 25px;
    color: var(--color-gray);
    line-height: 1.8;
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

/* -------------------- CTA Section Styles (missing) -------------------- */
.cta {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-primary) 100%);
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="%23c9a227" stroke-width="0.5" opacity="0.1"/></svg>') center/200px repeat;
    animation: rotate 60s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.cta-content {
    position: relative;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta h2 {
    margin-bottom: 20px;
}

.cta p {
    font-size: 1.2rem;
    margin-bottom: 35px;
}

/* -------------------- Footer Styles (missing) -------------------- */
.footer {
    padding: 50px 0 25px;
    background: var(--color-primary);
    border-top: 1px solid rgba(201, 162, 39, 0.1);
}

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

.footer-brand p {
    margin-top: 15px;
    font-size: 0.9rem;
}

.footer-brand .logo {
    margin-bottom: 10px;
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 15px;
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-secondary);
    border-radius: 10px;
    transition: var(--transition-fast);
}

.social-link:hover {
    background: var(--color-gold);
    transform: translateY(-2px);
}

.social-link svg {
    width: 18px;
    height: 18px;
    fill: var(--color-white);
    transition: var(--transition-fast);
}

.social-link:hover svg {
    fill: var(--color-primary);
}

.footer-column h4 {
    color: var(--color-white);
    margin-bottom: 15px;
    font-size: 1rem;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: var(--color-gray);
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--color-gold);
    padding-left: 3px;
}

.footer-bottom {
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-bottom p {
    font-size: 0.85rem;
    color: var(--color-gray);
    margin: 0;
}

.footer-bottom a {
    color: var(--color-gold);
    text-decoration: underline;
    transition: var(--transition-fast);
}

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

/* -------------------- Page Header Styles -------------------- */
.page-header {
    padding: 100px 0 80px;
    background: var(--color-secondary);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%230a0a14" d="M0,192L48,197.3C96,203,192,213,288,229.3C384,245,480,267,576,250.7C672,235,768,181,864,181.3C960,181,1056,235,1152,234.7C1248,235,1344,181,1392,154.7L1440,128L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
}

.page-header h1 {
    position: relative;
    margin-bottom: 15px;
}

.page-header p {
    position: relative;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 25px;
    font-size: 0.9rem;
}

.breadcrumb a {
    color: var(--color-gold);
}

.breadcrumb span {
    color: var(--color-gray);
}

/* -------------------- Responsive Design (missing sections) -------------------- */
@media (max-width: 1024px) {
    :root {
        --section-padding: 80px;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-grid {
        gap: 50px;
    }
    
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 400px;
        height: 100vh;
        background: #1a1a2e;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        gap: 30px;
        padding-top: 120px;
        transition: var(--transition-smooth);
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.5);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-link {
        color: #ffffff;
        font-size: 1.2rem;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .hero-content {
        padding: 0 10px;
    }
    
    .hero-bg {
        background: 
            linear-gradient(180deg, rgba(10, 10, 20, 0.4) 0%, rgba(10, 10, 20, 0.7) 50%, rgba(10, 10, 20, 0.95) 100%),
            url('../assets/images/Accueil/Ferrari MODENA.webp') center/cover no-repeat;
    }
    
    .hero-badge {
        font-size: 0.65rem;
        padding: 6px 15px;
        margin-bottom: 20px;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-image {
        order: -1;
    }
    
    .about-badge {
        right: 20px;
        bottom: -20px;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    .timeline::before {
        left: 20px;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 60px !important;
        padding-right: 20px !important;
        text-align: left !important;
    }
    
    .timeline-item:nth-child(even) {
        left: 0;
    }
    
    .timeline-dot {
        left: 10px !important;
        right: auto !important;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 25px;
        margin-bottom: 25px;
    }
    
    .footer-social {
        justify-content: center;
        margin-top: 15px;
    }
    
    .footer-bottom {
        justify-content: center;
        text-align: center;
        padding-top: 15px;
        gap: 10px;
    }
    
    .footer-bottom p {
        font-size: 0.8rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .page-header {
        padding: 80px 0 50px;
    }
    
    .about-features {
        grid-template-columns: 1fr;
    }
    
    .about-badge {
        position: relative;
        bottom: auto;
        right: auto;
        margin: 20px auto 0;
        display: inline-block;
    }
    
    .about-image::before {
        display: none;
    }
    
    .scroll-top {
        width: 56px;
        height: 56px;
        right: 20px;
        bottom: 24px;
    }
}

/* -------------------- Form Styles -------------------- */
.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 500;
    color: var(--color-white);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 15px 20px;
    background: var(--color-secondary);
    border: 2px solid rgba(201, 162, 39, 0.1);
    border-radius: 10px;
    color: var(--color-white);
    font-size: 1rem;
    font-family: var(--font-body);
    transition: var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--color-gold);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* -------------------- Animations -------------------- */
.aos-init {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.aos-init.aos-animate {
    opacity: 1;
    transform: translateY(0);
}
