:root {
    --bg-color: #fdfbf7;
    --text-color: #1c2d27;
    --primary: #d27d2d;
    --primary-hover: #b8651f;
    --secondary: #3b5b4f;
    --light-sage: #f2f6f3;
    --white: #ffffff;
    --border-color: #e5e9e6;
    --font-family: 'Inter', sans-serif;
    --font-title: 'Merriweather', serif;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-family);
    font-size: 1.125rem; /* 18px pour une meilleure lisibilité 45-65+ */
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: var(--font-title);
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--secondary);
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover, a:focus {
    color: var(--primary-hover);
    outline: 2px solid var(--primary);
}

.skip-link {
    position: absolute;
    top: -100px;
    left: 0;
    background: var(--primary);
    color: var(--white);
    padding: 1rem;
    z-index: 1000;
    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;
}

/* En-tête / Navigation */
header {
    background-color: var(--white);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 999;
}

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

.logo-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-title);
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--secondary);
}

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

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

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

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

.btn-cta-nav {
    background-color: var(--primary);
    color: var(--white) !important;
    padding: 0.5rem 1.25rem;
    border-radius: 4px;
    font-weight: 600;
}

.btn-cta-nav:hover {
    background-color: var(--primary-hover);
}

.burger {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--secondary);
}

/* Sections */
section {
    padding: 5rem 2rem;
}

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

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #fdfbf7 0%, #f2f6f3 100%);
    display: flex;
    align-items: center;
    min-height: 80vh;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content h1 {
    font-size: 3rem;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: #4a5a54;
}

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

.btn-primary {
    background-color: var(--primary);
    color: var(--white) !important;
    padding: 1rem 2rem;
    border-radius: 4px;
    font-weight: bold;
    display: inline-block;
}

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

.btn-secondary {
    border: 2px solid var(--secondary);
    color: var(--secondary);
    padding: 1rem 2rem;
    border-radius: 4px;
    font-weight: bold;
    display: inline-block;
}

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

.hero-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

/* Statistiques */
.stats {
    background-color: var(--secondary);
    color: var(--white);
    text-align: center;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.stat-item h3 {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

/* Comment ça marche */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.step-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 6px;
    border-top: 4px solid var(--primary);
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
}

.step-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary);
    opacity: 0.3;
    margin-bottom: 1rem;
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    margin-top: 3rem;
}

.service-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.03);
}

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

.service-body {
    padding: 2rem;
}

/* Features */
.feature-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.feature-block img {
    width: 100%;
    border-radius: 8px;
}

.feature-list {
    list-style: none;
    margin-top: 1.5rem;
}

.feature-list li {
    margin-bottom: 1rem;
    position: relative;
    padding-left: 2rem;
}

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

/* Pricing */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

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

.pricing-card.popular {
    border: 2px solid var(--primary);
    box-shadow: 0 10px 25px rgba(210,125,45,0.15);
}

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

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

/* Form Section */
.form-section {
    background-color: var(--light-sage);
}

.form-wrapper {
    max-width: 600px;
    margin: 0 auto;
    background: var(--white);
    padding: 3rem;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

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

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
    color: var(--secondary);
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
}

input:focus, textarea:focus {
    outline: 2px solid var(--primary);
}

.checkbox-group {
    display: flex;
    gap: 0.5rem;
    align-items: flex-start;
}

.checkbox-group input {
    margin-top: 0.25rem;
}

.btn-submit {
    background-color: var(--primary);
    color: var(--white);
    border: none;
    padding: 1rem 2rem;
    font-size: 1.125rem;
    font-weight: bold;
    border-radius: 4px;
    cursor: pointer;
    width: 100%;
    transition: background-color 0.3s;
}

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

/* FAQ Accordion */
.faq-list {
    max-width: 800px;
    margin: 3rem auto 0;
}

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

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

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    padding-right: 2rem;
}

.faq-answer p {
    padding-top: 1rem;
}

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

.faq-icon::before {
    content: "+";
    font-size: 1.5rem;
}

.faq-item.active .faq-icon::before {
    content: "-";
}

/* Trust Layer & Footer */
.trust-layer {
    background-color: #eaebe6;
    border-top: 1px solid var(--border-color);
    font-size: 0.875rem;
    color: #555;
}

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

footer {
    background-color: var(--secondary);
    color: var(--white);
    padding: 3rem 2rem;
    font-size: 0.95rem;
}

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

.footer-nav {
    list-style: none;
}

.footer-nav li {
    margin-bottom: 0.75rem;
}

.footer-nav a {
    color: #a3bdae;
}

.footer-nav a:hover {
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 2rem;
    text-align: center;
    font-size: 0.875rem;
    color: #a3bdae;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: 0 -5px 25px rgba(0,0,0,0.1);
    padding: 1.5rem 2rem;
    z-index: 1000;
    transform: translateY(100%);
    transition: transform 0.4s ease-out;
}

.cookie-banner.show {
    transform: translateY(0);
}

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

.cookie-buttons {
    display: flex;
    gap: 1rem;
}

.btn-cookie-accept {
    background-color: var(--secondary);
    color: var(--white);
    border: none;
    padding: 0.75rem 1.5rem;
    cursor: pointer;
    font-weight: bold;
    border-radius: 4px;
}

.btn-cookie-decline {
    background: none;
    border: 1px solid var(--secondary);
    color: var(--secondary);
    padding: 0.75rem 1.5rem;
    cursor: pointer;
    font-weight: bold;
    border-radius: 4px;
}

/* Responsiveness */
@media (max-width: 968px) {
    .hero-grid, .services-grid, .pricing-grid, .trust-grid, .footer-grid, .feature-block {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .burger {
        display: block;
    }

    .nav-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        border-bottom: 1px solid var(--border-color);
        padding: 2rem;
        gap: 1.5rem;
    }

    .nav-menu.active {
        display: flex;
    }
    
    .cookie-container {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .steps-grid {
        grid-template-columns: 1fr;
    }
    .hero-content h1 {
        font-size: 2.25rem;
    }
}

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