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

:root {
    --blue: #1a56db;
    --blue-dark: #1340a4;
    --blue-light: #e8efff;
    --green: #16a34a;
    --green-light: #dcfce7;
    --orange: #f59e0b;
    --red: #dc2626;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-400: #9ca3af;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    --radius: 12px;
    --shadow: 0 4px 24px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 40px rgba(0,0,0,0.12);
}

html { scroll-behavior: smooth; }

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--gray-800);
    line-height: 1.6;
    background: #fff;
}

/* ─── NAV ─── */
nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--gray-200);
    transition: box-shadow 0.3s;
}
nav.scrolled { box-shadow: var(--shadow); }
.nav-inner {
    max-width: 1120px; margin: 0 auto;
    display: flex; align-items: center; justify-content: space-between;
    padding: 0 24px; height: 64px;
}
.logo {
    font-size: 1.4rem; font-weight: 800; color: var(--blue);
    text-decoration: none; display: flex; align-items: center; gap: 8px;
}
.logo svg { width: 28px; height: 28px; }
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a {
    text-decoration: none; color: var(--gray-600); font-size: 0.95rem;
    font-weight: 500; transition: color 0.2s;
}
.nav-links a.btn-primary {
    color: #fff;
}
.nav-links a:hover { color: var(--blue); }
.btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 12px 28px; border-radius: 8px; font-size: 1rem;
    font-weight: 600; text-decoration: none; border: none;
    cursor: pointer; transition: all 0.2s;
}
.btn-primary {
    background: var(--blue); color: #fff;
}
.btn-primary:hover { background: var(--blue-dark); transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-outline {
    background: transparent; color: var(--blue); border: 2px solid var(--blue);
}
.btn-outline:hover { background: var(--blue-light); }
.btn-sm { padding: 8px 20px; font-size: 0.9rem; }
.hamburger { display: none; background: none; border: none; cursor: pointer; padding: 4px; }
.hamburger svg { width: 28px; height: 28px; color: var(--gray-700); }

/* ─── HERO ─── */
.hero {
    padding: 140px 24px 80px;
    background: linear-gradient(160deg, #f0f5ff 0%, #fff 50%, #f0fdf4 100%);
    text-align: center;
}
.hero-badge {
    display: inline-flex; align-items: center; gap: 6px;
    background: var(--green-light); color: var(--green);
    font-size: 0.85rem; font-weight: 600;
    padding: 6px 16px; border-radius: 50px; margin-bottom: 24px;
}
.hero h1 {
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 800; line-height: 1.15;
    color: var(--gray-900); max-width: 720px; margin: 0 auto 20px;
}
.hero h1 span { color: var(--blue); }
.hero p {
    font-size: 1.15rem; color: var(--gray-600);
    max-width: 560px; margin: 0 auto 36px;
}
.hero-cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.hero-stats {
    display: flex; gap: 48px; justify-content: center; margin-top: 60px;
    flex-wrap: wrap;
}
.hero-stats div { text-align: center; }
.hero-stats strong {
    display: block; font-size: 1.8rem; font-weight: 800; color: var(--gray-900);
}
.hero-stats small { color: var(--gray-400); font-size: 0.85rem; }

/* ─── SECTIONS ─── */
section { padding: 80px 24px; }
.container { max-width: 1120px; margin: 0 auto; }
.section-label {
    display: inline-block; color: var(--blue); font-weight: 700;
    font-size: 0.85rem; text-transform: uppercase; letter-spacing: 1px;
    margin-bottom: 8px;
}
.section-title {
    font-size: clamp(1.6rem, 3.5vw, 2.2rem);
    font-weight: 800; color: var(--gray-900); margin-bottom: 16px;
}
.section-subtitle {
    font-size: 1.05rem; color: var(--gray-600); max-width: 560px;
}
.section-subtitle.center { margin: 0 auto; text-align: center; }
.text-center { text-align: center; }

/* ─── PROBLÈME ─── */
.problem { background: var(--gray-50); }
.problem-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px; margin-top: 40px;
}
.problem-card {
    background: #fff; border: 1px solid var(--gray-200);
    border-radius: var(--radius); padding: 28px;
    transition: transform 0.2s, box-shadow 0.2s;
}
.problem-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.problem-icon {
    width: 48px; height: 48px; border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem; margin-bottom: 16px;
}
.problem-icon.red { background: #fef2f2; }
.problem-icon.orange { background: #fffbeb; }
.problem-icon.gray { background: var(--gray-100); }
.problem-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; }
.problem-card p { font-size: 0.92rem; color: var(--gray-600); }

/* ─── COMMENT ÇA MARCHE ─── */
.steps-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 32px; margin-top: 48px;
}
.step { text-align: center; position: relative; }
.step-number {
    width: 52px; height: 52px; border-radius: 50%;
    background: var(--blue); color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem; font-weight: 800; margin: 0 auto 16px;
}
.step h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; }
.step p { font-size: 0.9rem; color: var(--gray-600); }

/* ─── VÉRIFICATIONS ─── */
.checks { background: var(--gray-50); }
.checks-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px; margin-top: 40px;
}
.check-item {
    display: flex; gap: 14px; align-items: flex-start;
    background: #fff; padding: 20px 24px; border-radius: var(--radius);
    border: 1px solid var(--gray-200);
}
.check-icon {
    flex-shrink: 0; width: 36px; height: 36px;
    background: var(--green-light); color: var(--green);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 1.1rem;
}
.check-item h4 { font-size: 0.95rem; font-weight: 700; margin-bottom: 2px; }
.check-item p { font-size: 0.85rem; color: var(--gray-600); }

/* ─── BADGE ─── */
.badge-section { text-align: center; }
.badge-demo {
    display: inline-flex; flex-direction: column; align-items: center;
    background: #fff; border: 2px solid var(--green);
    border-radius: 16px; padding: 32px 48px; margin-top: 40px;
    box-shadow: var(--shadow);
}
.badge-shield {
    width: 80px; height: 80px; margin-bottom: 16px;
}
.badge-demo h3 { color: var(--green); font-size: 1.1rem; font-weight: 800; }
.badge-demo .badge-code {
    font-family: monospace; background: var(--gray-100);
    padding: 6px 16px; border-radius: 6px; margin-top: 8px;
    font-size: 0.85rem; color: var(--gray-600);
}
.badge-demo .badge-date { font-size: 0.8rem; color: var(--gray-400); margin-top: 6px; }

/* ─── TARIFS ─── */
.pricing { background: var(--gray-50); }
.pricing-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px; margin-top: 48px; max-width: 900px; margin-left: auto; margin-right: auto;
}
.price-card {
    background: #fff; border: 2px solid var(--gray-200);
    border-radius: var(--radius); padding: 36px 32px;
    text-align: center; transition: transform 0.2s, box-shadow 0.2s;
}
.price-card.popular {
    border-color: var(--blue); position: relative;
}
.price-card.popular::before {
    content: '★ Populaire';
    position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
    background: var(--blue); color: #fff; font-size: 0.75rem;
    font-weight: 700; padding: 4px 16px; border-radius: 50px;
}
.price-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.price-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 4px; }
.price-card .price-desc { font-size: 0.85rem; color: var(--gray-400); margin-bottom: 20px; }
.price-card .price {
    font-size: 2.4rem; font-weight: 800; color: var(--gray-900);
}
.price-card .price span { font-size: 1rem; font-weight: 500; color: var(--gray-400); }
.price-card ul {
    list-style: none; margin: 24px 0; text-align: left;
}
.price-card ul li {
    padding: 8px 0; font-size: 0.9rem; color: var(--gray-600);
    display: flex; gap: 8px; align-items: center;
}
.price-card ul li::before {
    content: '✓'; color: var(--green); font-weight: 700;
}

/* ─── TÉMOIGNAGES ─── */
.testimonials-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px; margin-top: 40px;
}
.testimonial {
    background: var(--gray-50); border-radius: var(--radius);
    padding: 28px; border: 1px solid var(--gray-200);
}
.testimonial .stars { color: var(--orange); margin-bottom: 12px; font-size: 1rem; }
.testimonial p { font-size: 0.95rem; color: var(--gray-700); margin-bottom: 16px; font-style: italic; }
.testimonial .author { display: flex; align-items: center; gap: 12px; }
.testimonial .avatar {
    width: 40px; height: 40px; border-radius: 50%;
    background: var(--blue-light); color: var(--blue);
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 0.9rem;
}
.testimonial .author-info strong { font-size: 0.9rem; display: block; }
.testimonial .author-info small { color: var(--gray-400); font-size: 0.8rem; }

/* ─── FAQ ─── */
.faq { background: var(--gray-50); }
.faq-list { max-width: 720px; margin: 40px auto 0; }
.faq-item {
    border-bottom: 1px solid var(--gray-200); overflow: hidden;
}
.faq-question {
    width: 100%; background: none; border: none;
    padding: 20px 0; text-align: left;
    font-size: 1rem; font-weight: 600; color: var(--gray-800);
    cursor: pointer; display: flex; justify-content: space-between;
    align-items: center; gap: 16px;
}
.faq-question:hover { color: var(--blue); }
.faq-question .arrow {
    transition: transform 0.3s; font-size: 1.2rem; flex-shrink: 0;
}
.faq-item.open .arrow { transform: rotate(180deg); }
.faq-answer {
    max-height: 0; overflow: hidden; transition: max-height 0.3s ease;
}
.faq-answer p {
    padding: 0 0 20px; font-size: 0.92rem; color: var(--gray-600); line-height: 1.7;
}

/* ─── CTA ─── */
.cta-section {
    background: linear-gradient(135deg, var(--blue) 0%, #2563eb 100%);
    color: #fff; text-align: center; padding: 80px 24px;
}
.cta-section h2 {
    font-size: clamp(1.6rem, 3.5vw, 2.2rem);
    font-weight: 800; margin-bottom: 16px;
}
.cta-section p { opacity: 0.85; max-width: 480px; margin: 0 auto 32px; }
.btn-white { background: #fff; color: var(--blue); font-weight: 700; }
.btn-white:hover { background: var(--gray-100); transform: translateY(-1px); box-shadow: var(--shadow); }

/* ─── FORM ─── */
.form-section { background: var(--gray-50); }
.form-card {
    max-width: 600px; margin: 40px auto 0;
    background: #fff; border-radius: var(--radius);
    padding: 40px; box-shadow: var(--shadow);
}
.form-group { margin-bottom: 20px; }
.form-group label {
    display: block; font-size: 0.9rem; font-weight: 600;
    margin-bottom: 6px; color: var(--gray-700);
}
.form-group input, .form-group select, .form-group textarea {
    width: 100%; padding: 12px 16px; border: 1.5px solid var(--gray-200);
    border-radius: 8px; font-size: 0.95rem; font-family: inherit;
    transition: border-color 0.2s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none; border-color: var(--blue);
}
.form-group textarea { resize: vertical; min-height: 100px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-submit { width: 100%; padding: 14px; font-size: 1rem; }

/* ─── FOOTER ─── */
footer {
    background: var(--gray-900); color: var(--gray-400);
    padding: 48px 24px 24px; font-size: 0.85rem;
}
.footer-inner {
    max-width: 1120px; margin: 0 auto;
    display: flex; justify-content: space-between; align-items: center;
    flex-wrap: wrap; gap: 16px;
}
.footer-links { display: flex; gap: 24px; }
.footer-links a { color: var(--gray-400); text-decoration: none; }
.footer-links a:hover { color: #fff; }

/* ─── MOBILE ─── */
@media (max-width: 768px) {
    .nav-links { display: none; }
    .nav-links.open {
        display: flex; flex-direction: column;
        position: absolute; top: 64px; left: 0; right: 0;
        background: #fff; padding: 24px; gap: 16px;
        border-bottom: 1px solid var(--gray-200);
        box-shadow: var(--shadow);
    }
    .hamburger { display: block; }
    .hero { padding: 120px 20px 60px; }
    .hero-stats { gap: 24px; }
    .form-row { grid-template-columns: 1fr; }
    .pricing-grid { margin-top: 40px; }
}

/* ─── ANIMATIONS ─── */
.fade-up {
    opacity: 0; transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }