:root {
    --primary: #0f172a;
    --primary-light: #1e293b;
    --accent: #d97706;
    --accent-hover: #b45309;
    --text-dark: #1e293b;
    --text-light: #f8fafc;
    --bg-light: #faf9f6;
    --bg-card: #ffffff;
    --border-color: #e2e8f0;
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Lora', Times, serif;
    --transition: all 0.3s ease;
}

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

body {
    font-family: var(--font-body);
    font-size: 18px;
    line-height: 1.65;
    color: var(--text-dark);
    background-color: var(--bg-light);
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--primary);
    font-weight: 700;
    line-height: 1.25;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; margin-bottom: 1.5rem; }
h3 { font-size: 1.5rem; margin-bottom: 1rem; }

p { margin-bottom: 1.2rem; }

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

a:hover, a:focus {
    color: var(--accent-hover);
    text-decoration: underline;
}

/* Accessibilité */
.skip-link {
    position: absolute;
    top: -100px;
    left: 0;
    background: var(--accent);
    color: var(--text-light);
    padding: 10px 20px;
    z-index: 9999;
    transition: top 0.2s;
}
.skip-link:focus {
    top: 0;
}

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

:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 2px;
}

/* En-tête */
header {
    background-color: var(--primary);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 2px solid var(--accent);
}

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

.logo-link {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-light);
    font-size: 1.6rem;
    font-weight: 700;
    font-family: var(--font-heading);
}

.logo-link img {
    height: 40px;
    width: 40px;
}

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

.nav-link {
    color: var(--text-light);
    font-size: 1rem;
    font-weight: 500;
}

.nav-link:hover {
    color: var(--accent);
    text-decoration: none;
}

.burger-menu {
    display: none;
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 1.8rem;
    cursor: pointer;
}

/* Hero Section */
.hero-section {
    position: relative;
    background-color: var(--primary);
    background-image: radial-gradient(rgba(217, 119, 6, 0.15) 1px, transparent 1px);
    background-size: 24px 24px;
    color: var(--text-light);
    padding: 6rem 2rem;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-section h1 {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.hero-lead {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
}

.btn-accent {
    display: inline-block;
    background-color: var(--accent);
    color: var(--primary);
    padding: 1rem 2rem;
    border-radius: 4px;
    font-weight: bold;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.btn-accent:hover {
    background-color: var(--accent-hover);
    color: var(--text-light);
    text-decoration: none;
    transform: translateY(-2px);
}

/* Statistiques */
.stats-section {
    background-color: var(--primary-light);
    color: var(--text-light);
    padding: 3rem 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.stats-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    text-align: center;
}

.stat-value {
    font-size: 2.5rem;
    font-family: var(--font-heading);
    color: var(--accent);
    font-weight: bold;
    display: block;
}

/* Étapes de travail */
.steps-section {
    padding: 5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.step-card {
    background: var(--bg-card);
    padding: 2.5rem;
    border-radius: 8px;
    border-top: 4px solid var(--accent);
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    transition: var(--transition);
}

.step-card:hover {
    transform: translateY(-5px);
}

.step-num {
    font-size: 3rem;
    color: var(--accent);
    font-family: var(--font-heading);
    opacity: 0.3;
    display: block;
    margin-bottom: 1rem;
}

/* Engagement de marque */
.trust-block {
    background-color: #f1f5f9;
    padding: 5rem 2rem;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.trust-container {
    max-width: 1000px;
    margin: 0 auto;
}

.trust-item {
    margin-bottom: 2.5rem;
}

/* Cartes Services / Présentation */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: var(--bg-card);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    border: 1px solid var(--border-color);
}

.service-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.service-body {
    padding: 2rem;
}

/* Section asymétrique */
.feature-section {
    padding: 5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.feature-img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 10px 15px rgba(0,0,0,0.1);
    object-fit: cover;
    height: 450px;
}

/* Prix */
.pricing-section {
    padding: 5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.pricing-card {
    background: var(--bg-card);
    border-radius: 8px;
    padding: 3rem 2rem;
    border: 1px solid var(--border-color);
    position: relative;
    text-align: center;
}

.pricing-card.popular {
    border: 3px solid var(--accent);
    transform: scale(1.03);
    box-shadow: 0 10px 20px rgba(217, 119, 6, 0.1);
}

.badge-popular {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: var(--primary);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: bold;
}

.price {
    font-size: 2.5rem;
    color: var(--primary);
    font-weight: bold;
    display: block;
    margin: 1.5rem 0;
}

/* Formulaire */
.form-section {
    background-color: var(--primary-light);
    color: var(--text-light);
    padding: 5rem 2rem;
}

.form-container {
    max-width: 700px;
    margin: 0 auto;
}

.form-container h2 {
    color: var(--text-light);
    text-align: center;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.form-control {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 1rem;
    background: #ffffff;
}

.form-control:focus {
    outline: 3px solid var(--accent);
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
}

.checkbox-label input {
    margin-top: 5px;
}

/* Accordéon FAQ */
.faq-container {
    max-width: 800px;
    margin: 3rem auto;
}

.faq-item {
    border-bottom: 1px solid var(--border-color);
    padding: 1.5rem 0;
}

.faq-btn {
    width: 100%;
    background: none;
    border: none;
    text-align: left;
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: bold;
    color: var(--primary);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-content.open {
    max-height: 500px;
}

/* Couche de confiance */
.trust-layer {
    background-color: #f1f5f9;
    border-top: 2px solid var(--accent);
    padding: 3rem 2rem;
    font-size: 0.95rem;
    color: #475569;
}

.trust-layer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
}

/* Pied de page */
footer {
    background-color: var(--primary);
    color: var(--text-light);
    padding: 3rem 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-nav {
    display: flex;
    gap: 1.5rem;
    list-style: none;
}

.footer-nav a {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Bannière de cookies */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--primary);
    color: var(--text-light);
    padding: 1.5rem;
    box-shadow: 0 -5px 15px rgba(0,0,0,0.2);
    z-index: 10000;
    display: none;
}

.cookie-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.cookie-actions {
    display: flex;
    gap: 10px;
}

.btn-secondary {
    background: transparent;
    border: 1px solid var(--text-light);
    color: var(--text-light);
    padding: 0.8rem 1.5rem;
    cursor: pointer;
    border-radius: 4px;
    transition: var(--transition);
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.1);
}

/* Media Queries */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--primary);
        padding: 2rem;
        border-bottom: 2px solid var(--accent);
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .burger-menu {
        display: block;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .feature-section {
        grid-template-columns: 1fr;
    }
    
    .feature-img {
        height: auto;
    }
    
    .trust-layer-container {
        grid-template-columns: 1fr;
    }
    
    .footer-container {
        flex-direction: column;
        text-align: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}