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

:root {
    --primary-dark: #000814;
    --primary-gold: #FFC300;
    --secondary-gold: #FFD60A;
    --text-dark: #2c2c2c;
    --text-gray: #666666;
    --text-light: #ffffff;
    --bg-white: #ffffff;
    --bg-light: #f8f9fa;
    --bg-cream: #fefdf7;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
}

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 195, 0, 0.3);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--primary-dark);
    text-decoration: none;
}

.logo svg {
    width: 40px;
    height: 40px;
    margin-right: 10px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: var(--primary-gold);
}

/* Menu burger */
.burger-menu {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
    padding: 8px;
    background: none;
    border: none;
}

.burger-line {
    width: 25px;
    height: 3px;
    background-color: var(--text-dark);
    transition: all 0.3s ease;
    border-radius: 2px;
}

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

.burger-menu.active .burger-line:nth-child(2) {
    opacity: 0;
}

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

/* Sections */
section {
    padding: 80px 0;
}

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

h2 {
    font-size: 2.5rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-dark);
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--bg-cream) 0%, var(--bg-light) 100%);
    padding-top: 160px; /* Ajout d'espace pour le header fixe */
    padding-bottom: 80px;
    text-align: center;
    color: var(--text-dark);
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: var(--text-gray);
}

.cta-button {
    display: inline-block;
    padding: 15px 30px;
    background: linear-gradient(135deg, var(--primary-gold), var(--secondary-gold));
    color: var(--primary-dark);
    text-decoration: none;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
    margin: 2rem 0;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255, 195, 0, 0.4);
}

.section-alt {
    background: var(--bg-cream);
}

.features-grid, .timeline, .testimonials {
    display: grid;
    gap: 2rem;
    margin-top: 2rem;
}

.features-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

/* Classe .card générique */
.card {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 195, 0, 0.3);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-gold);
    box-shadow: 0 15px 40px rgba(255, 195, 0, 0.2);
}

.feature-card h3 {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.feature-card i {
    font-size: 1.5rem;
    color: var(--primary-gold);
}

.feature-card ul {
    list-style: none;
}

.feature-card li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.feature-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-gold);
    font-weight: bold;
}

.timeline {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.timeline-item {
    padding: 1.5rem;
    text-align: center;
}

.timeline-item .step-number {
    background: var(--primary-gold);
    color: var(--primary-dark);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin: 0 auto 1rem;
}

.testimonials {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.testimonial-card {
    border-left: 4px solid var(--primary-gold);
}

.testimonial-card:hover {
    transform: translateY(-3px);
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.testimonial-author {
    color: var(--primary-gold);
    font-weight: 600;
}

/* Formulaire de contact */
.contact-section {
    background: var(--bg-light);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.contact-form {
    background: rgba(255, 255, 255, 0.9);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 195, 0, 0.3);
    box-shadow: var(--shadow);
}

.contact-info {
    padding: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    padding: 1rem;
    background: rgba(255, 195, 0, 0.1);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: rgba(255, 195, 0, 0.2);
}

.contact-item i {
    color: var(--primary-gold);
    font-size: 1.2rem;
    min-width: 20px;
}

.contact-item a {
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: var(--primary-gold);
}

/* Footer */
footer {
    background: var(--primary-dark);
    text-align: center;
    padding: 2rem 0;
    border-top: 1px solid rgba(255, 195, 0, 0.3);
    color: var(--text-light);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}


/* Responsive */
@media (max-width: 768px) {
    nav {
        padding: 0 1rem;
    }

    .burger-menu {
        display: flex;
        z-index: 1001; /* Pour être au-dessus du menu */
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.3s ease-in-out;
        gap: 2rem;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu a {
        font-size: 1.5rem;
    }

    .hero {
        padding-top: 120px;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .contact-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

    .container {
        padding: 0 1rem;
    }
}