/* Palette de couleurs de prestige */
:root {
    --primary: #1c1a17;
    --secondary: #dca34b;
    --accent: #8c5e38;
    --light-bg: #fcfaf7;
    --text: #3a3530;
    --white: #ffffff;
    --border: #e5dec9;
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Montserrat', Arial, sans-serif;
}

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

body {
    font-family: var(--font-body);
    color: var(--text);
    background-color: var(--light-bg);
    line-height: 1.6;
}

.skip-link {
    position: absolute;
    top: -100px;
    left: 0;
    background: var(--secondary);
    color: var(--primary);
    padding: 15px;
    z-index: 10000;
    transition: top 0.2s;
    font-weight: bold;
    text-decoration: none;
}

.skip-link:focus {
    top: 0;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Nav */
header {
    background-color: var(--primary);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 2px solid var(--secondary);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--secondary);
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: bold;
}

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

.nav-links {
    display: flex;
    list-style: none;
    gap: 20px;
    align-items: center;
}

.nav-links a {
    color: var(--white);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover, .nav-links a:focus {
    color: var(--secondary);
    outline: none;
}

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

/* Focus Visible */
*:focus-visible {
    outline: 3px solid var(--secondary);
    outline-offset: 2px;
}

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

/* Hero */
.hero {
    background: linear-gradient(rgba(28, 26, 23, 0.85), rgba(28, 26, 23, 0.95)), url('images/hero.jpg') no-repeat center center/cover;
    color: var(--white);
    padding: 120px 0;
    text-align: center;
    position: relative;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='none'%3E%3Cpath d='M0,0V46.29c47.79,22.2,103.59,32.17,158,28,70.36-5.37,136.33-33.31,206.8-37.5C438.64,32.43,512.34,53.67,583,72.05c69.27,18,138.3,24.88,209.4,13.08,36.15-6,69.85-17.84,104.45-29.34C989.49,25,1113-14.29,1200,42.4V0Z' fill='%23fcfaf7'/%3E%3C/svg%3E");
    background-size: cover;
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--secondary);
    line-height: 1.2;
}

.hero p {
    font-size: 1.25rem;
    max-width: 800px;
    margin: 0 auto 40px auto;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 4px;
    font-weight: bold;
    text-decoration: none;
    transition: background 0.3s, transform 0.2s;
    cursor: pointer;
    border: none;
}

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

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

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

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

/* Stats */
.stats {
    background-color: var(--white);
    padding: 60px 0;
    border-bottom: 1px solid var(--border);
}

.stats-grid {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 30px;
    text-align: center;
}

.stat-item h3 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 10px;
}

/* How It Works */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.step-card {
    background: var(--white);
    padding: 30px;
    border-radius: 6px;
    border: 1px solid var(--border);
    position: relative;
}

.step-number {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--secondary);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.step-card h3 {
    font-family: var(--font-heading);
    margin-bottom: 15px;
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.service-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border);
    transition: transform 0.3s;
}

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

.service-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.service-content {
    padding: 25px;
}

.service-content h3 {
    font-family: var(--font-heading);
    margin-bottom: 15px;
    color: var(--primary);
}

/* Features */
.features-block {
    display: flex;
    align-items: center;
    gap: 50px;
    flex-wrap: wrap;
}

.features-image {
    flex: 1;
    min-width: 300px;
}

.features-image img {
    width: 100%;
    border-radius: 8px;
    border: 4px solid var(--border);
}

.features-text {
    flex: 1.2;
    min-width: 300px;
}

.features-text h2 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.features-list {
    list-style: none;
    margin-top: 20px;
}

.features-list li {
    margin-bottom: 15px;
    position: relative;
    padding-left: 30px;
}

.features-list li::before {
    content: "\f058";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: var(--secondary);
    position: absolute;
    left: 0;
    top: 2px;
}

/* Pricing */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.pricing-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 40px 30px;
    text-align: center;
    position: relative;
    transition: transform 0.3s;
}

.pricing-card.popular {
    border: 2px solid var(--secondary);
    box-shadow: 0 10px 30px rgba(220,163,75,0.15);
    transform: scale(1.03);
}

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

.price {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    color: var(--primary);
    margin: 20px 0;
}

.pricing-features {
    list-style: none;
    margin: 30px 0;
    text-align: left;
}

.pricing-features li {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
}

.pricing-features li::before {
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: var(--accent);
    position: absolute;
    left: 0;
}

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

.section-form h2 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    color: var(--secondary);
    text-align: center;
    margin-bottom: 10px;
}

.section-form p {
    text-align: center;
    margin-bottom: 40px;
}

#lead-form {
    max-width: 700px;
    margin: 0 auto;
    background: rgba(255,255,255,0.03);
    padding: 40px;
    border-radius: 8px;
    border: 1px solid rgba(220,163,75,0.2);
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.form-group {
    flex: 1;
    min-width: 280px;
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: var(--secondary);
}

.form-group input, .form-group textarea {
    padding: 12px;
    border: 1px solid var(--border);
    background: transparent;
    color: var(--white);
    border-radius: 4px;
    font-family: var(--font-body);
}

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

.form-checkbox {
    margin: 20px 0;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.form-checkbox input {
    margin-top: 4px;
}

.form-checkbox a {
    color: var(--secondary);
}

/* FAQ Accordion */
.faq-container {
    max-width: 800px;
    margin: 40px auto 0 auto;
}

details {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 4px;
    margin-bottom: 15px;
    padding: 15px;
}

summary {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: bold;
    cursor: pointer;
    list-style: none;
    position: relative;
    padding-right: 30px;
}

summary::after {
    content: "\f078";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    right: 0;
    transition: transform 0.3s;
}

details[open] summary::after {
    transform: rotate(180deg);
}

details p {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid var(--border);
}

/* Trust Layer */
.trust-layer {
    background-color: var(--white);
    border-top: 1px solid var(--border);
    border-bottom: 2px solid var(--secondary);
    padding: 40px 0;
    text-align: center;
}

.trust-layer h3 {
    font-family: var(--font-heading);
    margin-bottom: 15px;
}

.trust-layer p {
    max-width: 900px;
    margin: 0 auto 15px auto;
    font-size: 0.9rem;
}

.trust-layer .disclaimer {
    font-size: 0.8rem;
    color: var(--accent);
}

/* Footer */
footer {
    background-color: var(--primary);
    color: var(--white);
    padding: 60px 0 20px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 40px;
}

.footer-info h4, .footer-links h4, .footer-legal h4 {
    color: var(--secondary);
    font-family: var(--font-heading);
    margin-bottom: 20px;
}

.footer-links ul, .footer-legal ul {
    list-style: none;
}

.footer-links li, .footer-legal li {
    margin-bottom: 10px;
}

.footer-links a, .footer-legal a {
    color: var(--white);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.footer-links a:hover, .footer-legal a:hover {
    color: var(--secondary);
}

.footer-bottom {
    padding-top: 20px;
    text-align: center;
    font-size: 0.8rem;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    max-width: 450px;
    background: var(--primary);
    border: 2px solid var(--secondary);
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.4);
    z-index: 10000;
    color: var(--white);
    display: none;
}

.cookie-banner p {
    font-size: 0.85rem;
    margin-bottom: 15px;
    line-height: 1.4;
}

.cookie-banner a {
    color: var(--secondary);
}

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

.cookie-banner .btn {
    padding: 8px 15px;
    font-size: 0.8rem;
}

/* 404 & Thank-You template */
.full-screen-message {
    text-align: center;
    padding: 100px 20px;
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.full-screen-message h1 {
    font-family: var(--font-heading);
    font-size: 3rem;
    color: var(--accent);
    margin-bottom: 20px;
}

.full-screen-message p {
    font-size: 1.2rem;
    max-width: 600px;
    margin-bottom: 40px;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        background-color: var(--primary);
        position: absolute;
        top: 70px;
        left: 0;
        padding: 20px;
        border-bottom: 2px solid var(--secondary);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .burger {
        display: block;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
    }
}