:root {
    --primary: #c9a66b;
    --secondary: #1a2a3a;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --bg-light: #f3f4f6;
    --white: #ffffff;
}

* { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
}

section {
    scroll-margin-top: 40px; /* Ajuste selon la hauteur de ton header si tu en ajoutes un fixe plus tard */
}

body {
    font-family: 'Inter', sans-serif;
    margin: 0;
    background-color: var(--white);
    color: var(--text-dark);
    scroll-behavior: smooth;
    line-height: 1.6;
}

.container {
    max-width: 1100px;
    margin: auto;
    padding: 0 20px;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: white;
    padding: 120px 0 80px 0;
    text-align: center;
}

.badge {
    background: rgba(201, 166, 107, 0.2);
    color: var(--primary);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
}

.hero h1 {
    font-size: 3rem;
    margin: 20px 0;
}

.hero h1 span { color: var(--primary); }

.hero-btns { margin-top: 30px; }

/* Boutons */
.btn-primary, .btn-submit {
    background: var(--primary);
    color: white;
    padding: 16px 32px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: 0.3s;
}

.btn-primary:hover, .btn-submit:hover {
    background: #b59359;
    transform: translateY(-2px);
}

.btn-secondary {
    color: white;
    text-decoration: none;
    margin-left: 20px;
    border-bottom: 2px solid var(--primary);
}

/* Cards Piliers */
.benefits { padding: 80px 0 20px 0; }
.section-header { text-align: center; margin-bottom: 30px; }

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 25px;
}

.card {
    background: white;
    padding: 30px;
    border-radius: 16px;
    border: 1px solid #eee;
    text-align: center;
    transition: 0.4s;
}

.card i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.05);
}

/* Méthodologie - CORRECTION CHIFFRES */
.methodology { padding: 20px 0 80px 0; background: #fff; }

.method-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.step {
    background: var(--bg-light);
    padding: 30px;
    border-radius: 15px;
    text-align: left;
}

.step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: white;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 15px;
}

.step h4 { color: var(--secondary); margin-bottom: 10px; }
.step p { color: var(--text-light); font-size: 0.95rem; }

/* Formulaire */
.form-section { padding: 80px 0; background: var(--bg-light); }

.form-wrapper {
    display: flex;
    flex-wrap: wrap;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.form-info {
    flex: 1 1 400px;
    background: var(--secondary);
    color: white;
    padding: 50px;
}

.form-check-list { list-style: none; padding: 0; margin-top: 25px; }
.form-check-list li { margin-bottom: 12px; display: flex; align-items: center; }
.form-check-list i { color: var(--primary); margin-right: 10px; }

#leadForm { flex: 1 1 400px; padding: 50px; }

.input-group { margin-bottom: 15px; }

input, select {
    width: 100%;
    padding: 14px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #fdfdfd;
}

/* Correction Checkbox */
.consent {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    font-size: 0.85rem;
    color: var(--text-light);
}

.consent input { width: 18px; height: 18px; cursor: pointer; }

.free-mention {
    text-align: center;
    color: #27ae60;
    font-size: 0.85rem;
    margin-top: 15px;
}

/* ==========================================================================
   FOOTER & MENTIONS LÉGALES
   ========================================================================== */

footer {
    background: #0f172a;
    color: #ffffff;
    padding: 60px 0 30px;
}

.footer-grid {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-info strong {
    font-size: 1.2rem;
    color: var(--primary);
    display: block;
    margin-bottom: 10px;
}

.footer-contact p {
    margin: 5px 0;
    font-size: 0.9rem;
    color: #cbd5e1;
}

.footer-contact i {
    margin-right: 10px;
    color: var(--primary);
}

/* Style spécifique pour le bloc légal réglementé */
.footer-legal {
    border-top: 1px solid #1e293b;
    padding-top: 30px;
    color: #64748b; /* Gris pour ne pas attirer l'oeil inutilement */
    font-size: 0.75rem; /* Petit pour la conformité discrète */
    line-height: 1.6;
    text-align: justify;
}

.footer-legal strong {
    color: #94a3b8;
}

.footer-bottom {
    text-align: center;
    margin-top: 20px;
    padding-top: 20px;
    opacity: 0.5;
    font-size: 0.7rem;
}

.social-links {
    margin-top: 15px;
}

.social-links a {
    color: var(--primary);
    font-size: 1.4rem;
    transition: 0.3s;
}

.social-links a:hover {
    color: white;
}

@media (max-width: 768px) {
    .hero h1 { font-size: 2rem; }
    .form-info, #leadForm { padding: 30px; }
    .btn-secondary { display: block; margin: 20px 0 0 0; }
}