/* ═══════════════════════════════════════════════════════════════════
   CAPENIA.CSS — Feuille de style centralisée
   Utilisée par : index.html, cgv.html, mentions-legales.html,
                  politique-de-confidentialite.html,
                  capenia-success.php, quiz.php, thanks.php
   ═══════════════════════════════════════════════════════════════════ */

/* ──────────────────────────────────────────────────────────────────
   1. VARIABLES
   ────────────────────────────────────────────────────────────────── */
:root {
    --primary:       #1e3a5f;
    --primary-light: #2f5f86;
    --primary-dark:  #12263f;
    --accent:        #d97706;
    --accent-light:  #f59e0b;
    --accent-dark:   #b45309;
    --text:          #0f172a;
    --text-light:    #475569;
    --text-lighter:  #94a3b8;
    --bg:            #ffffff;
    --bg-alt:        #f8fafc;
    --bg-warm:       #fff7ed;
    --border:        #e2e8f0;
    --success:       #16a34a;
    --shadow-sm:  0 1px 2px rgba(15,23,42,0.06);
    --shadow-md:  0 6px 18px rgba(0,0,0,0.08);
    --shadow-lg:  0 14px 50px rgba(0,0,0,0.10);
    --radius:     14px;
    --radius-lg:  24px;
}

/* ──────────────────────────────────────────────────────────────────
   2. RESET & BASE
   ────────────────────────────────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text);
    line-height: 1.6;
    font-size: 16px;
    background: var(--bg);
    padding-top: 72px;
    -webkit-font-smoothing: antialiased;
}

/* ──────────────────────────────────────────────────────────────────
   3. TYPOGRAPHIE
   ────────────────────────────────────────────────────────────────── */
h1, h2, h3, h4 {
    font-family: 'Inter', -apple-system, sans-serif;
    font-weight: 700;
    line-height: 1.25;
    color: var(--primary);
    letter-spacing: -0.02em;
}
h1 { font-size: clamp(1.8rem, 4vw, 2.4rem); }
h2 { font-size: clamp(1.3rem, 3vw, 1.6rem); margin-bottom: 0.75rem; }
h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
p  { margin-bottom: 1rem; color: var(--text-light); }

/* ──────────────────────────────────────────────────────────────────
   4. LAYOUT
   ────────────────────────────────────────────────────────────────── */
.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
}
.container-narrow {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ──────────────────────────────────────────────────────────────────
   5. HEADER / NAV (pages landing + légales)
   ────────────────────────────────────────────────────────────────── */
header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    transition: all 0.3s ease;
}
header.scrolled { box-shadow: var(--shadow-md); }

nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
}

/* Header centré (pages PHP sans nav) */
header.header-centered {
    position: static;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo {
    font-family: 'Inter', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: -0.02em;
}
.logo-icon {
    width: 36px; height: 36px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    color: white;
}
.logo-icon svg {
    width: 22px; height: 22px;
    display: block;
    stroke: currentColor; fill: none;
    stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}
.nav-links a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s;
}
.nav-links a:hover { color: var(--primary); }
.nav-cta {
    background: var(--primary) !important;
    color: white !important;
    padding: 10px 24px;
    border-radius: var(--radius);
}
.nav-cta:hover { background: var(--primary-dark) !important; }
.mobile-menu-btn {
    display: none;
    background: none; border: none;
    font-size: 1.5rem; cursor: pointer;
    color: var(--primary);
}
@media (max-width: 768px) {
    .nav-links    { display: none; }
    .mobile-menu-btn { display: block; }
}

/* ──────────────────────────────────────────────────────────────────
   6. BOUTONS
   ────────────────────────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 32px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--radius);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
    border: none;
}
.btn-primary {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(217,119,6,0.3);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(217,119,6,0.4);
}
.btn-secondary {
    background: white;
    color: var(--primary);
    border: 2px solid var(--border);
}
.btn-secondary:hover {
    border-color: var(--primary);
    background: var(--bg-alt);
}
.btn-full { width: 100%; }
.btn svg {
    width: 18px; height: 18px;
    stroke: currentColor; fill: none;
    stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round;
}

/* ──────────────────────────────────────────────────────────────────
   7. FOOTER
   ────────────────────────────────────────────────────────────────── */
footer {
    background: var(--primary-dark);
    color: rgba(255,255,255,0.7);
    padding: 60px 0 30px;
}
.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}
@media (max-width: 768px) { .footer-content { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-content { grid-template-columns: 1fr; text-align: center; } }

.footer-brand .logo  { color: white; margin-bottom: 16px; }
.footer-brand .logo-icon { background: rgba(255,255,255,0.1); }
.footer-brand p      { font-size: 0.9rem; color: rgba(255,255,255,0.6); }

.footer-col h4 {
    color: white;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem; font-weight: 600;
    margin-bottom: 20px;
}
.footer-col ul  { list-style: none; }
.footer-col li  { margin-bottom: 12px; }
.footer-col a   { color: rgba(255,255,255,0.6); text-decoration: none; font-size: 0.9rem; transition: color 0.2s; }
.footer-col a:hover { color: white; }

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    display: flex; justify-content: space-between; align-items: center;
    flex-wrap: wrap; gap: 16px; font-size: 0.85rem;
}
@media (max-width: 480px) { .footer-bottom { justify-content: center; text-align: center; } }

.footer-legal       { display: flex; gap: 24px; }
.footer-legal a     { color: rgba(255,255,255,0.5); text-decoration: none; }
.footer-legal a:hover { color: white; }

/* ──────────────────────────────────────────────────────────────────
   8. PAGES LÉGALES (cgv, mentions-legales, politique-confidentialite)
   ────────────────────────────────────────────────────────────────── */
.legal-hero {
    padding: 140px 0 40px;
    background: linear-gradient(180deg, var(--bg-alt) 0%, var(--bg) 100%);
    text-align: center;
}
.legal-hero .overline {
    color: var(--accent);
    font-weight: 600; font-size: 0.85rem;
    text-transform: uppercase; letter-spacing: 1.5px;
    margin-bottom: 12px;
}
.legal-hero h1   { margin-bottom: 16px; }
.legal-hero .subtitle { color: var(--text-lighter); font-size: 0.95rem; }

.legal-nav {
    display: flex;
    justify-content: center;
    gap: 12px; margin-top: 32px;
    flex-wrap: wrap;
}
.legal-nav a {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 10px 20px; border-radius: var(--radius);
    font-size: 0.9rem; font-weight: 500;
    text-decoration: none;
    border: 1px solid var(--border);
    color: var(--text-light); background: white;
    transition: all 0.2s ease;
}
.legal-nav a:hover {
    border-color: var(--primary); color: var(--primary);
    transform: translateY(-1px); box-shadow: var(--shadow-sm);
}
.legal-nav a.active { background: var(--primary); color: white; border-color: var(--primary); }

.legal-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 60px 24px 100px;
}
.legal-content h2 {
    margin-top: 48px; padding-top: 32px;
    border-top: 1px solid var(--border);
    color: var(--primary);
}
.legal-content h2:first-of-type { margin-top: 0; padding-top: 0; border-top: none; }
.legal-content h3  { margin-top: 24px; color: var(--primary-light); }
.legal-content p   { font-size: 0.95rem; line-height: 1.75; }

.legal-content ul  { list-style: none; padding: 0; margin-bottom: 1rem; }
.legal-content ul li {
    position: relative; padding-left: 20px;
    margin-bottom: 8px; font-size: 0.95rem;
    color: var(--text-light); line-height: 1.65;
}
.legal-content ul li::before {
    content: ''; position: absolute;
    left: 0; top: 10px;
    width: 6px; height: 6px;
    border-radius: 50%; background: var(--accent);
}

.legal-content ol  { list-style: none; counter-reset: steps; padding-left: 0; margin-bottom: 1rem; }
.legal-content ol li {
    position: relative; padding-left: 36px;
    margin-bottom: 10px; font-size: 0.95rem;
    color: var(--text-light); line-height: 1.65;
    counter-increment: steps;
}
.legal-content ol li::before {
    content: counter(steps); position: absolute;
    left: 0; top: 0; width: 24px; height: 24px;
    background: var(--bg-alt); border: 1px solid var(--border);
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.78rem; font-weight: 700; color: var(--primary);
}

.legal-content strong { color: var(--text); font-weight: 600; }
.legal-content a      { color: var(--primary-light); text-decoration: underline; text-underline-offset: 3px; }
.legal-content a:hover { color: var(--accent); }

.info-card {
    background: var(--bg-alt); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 24px 28px; margin: 20px 0;
}
.info-card p           { margin-bottom: 6px; font-size: 0.92rem; }
.info-card p:last-child { margin-bottom: 0; }

.legal-update {
    display: inline-flex; align-items: center; gap: 6px;
    background: var(--bg-warm); color: var(--accent-dark);
    padding: 6px 14px; border-radius: 8px;
    font-size: 0.82rem; font-weight: 500; margin-bottom: 24px;
}

/* Tables légales */
.pricing-table,
.data-table {
    width: 100%; border-collapse: collapse;
    margin: 20px 0; border-radius: var(--radius);
    overflow: hidden; border: 1px solid var(--border);
}
.pricing-table th,
.data-table th {
    background: var(--primary); color: white;
    padding: 14px 20px; text-align: left;
    font-size: 0.88rem; font-weight: 600;
}
.pricing-table td,
.data-table td {
    padding: 12px 20px; font-size: 0.92rem;
    color: var(--text-light); border-bottom: 1px solid var(--border);
    vertical-align: top;
}
.pricing-table tr:last-child td,
.data-table tr:last-child td    { border-bottom: none; }
.pricing-table tr:nth-child(even) td,
.data-table tr:nth-child(even) td { background: var(--bg-alt); }

.highlight-box {
    background: linear-gradient(135deg, var(--bg-warm) 0%, #fff3e0 100%);
    border: 1px solid #fde68a;
    border-radius: var(--radius);
    padding: 20px 24px; margin: 20px 0;
}
.highlight-box p { margin-bottom: 0; color: var(--accent-dark); font-size: 0.92rem; }

/* ──────────────────────────────────────────────────────────────────
   9. PAGES CARD PHP (capenia-success, quiz, thanks)
   ────────────────────────────────────────────────────────────────── */

/* Mise en page générale */
.page-card {
    background: var(--bg-alt);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
.page-card-main {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px 24px 64px;
}

/* La carte */
.card {
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    max-width: 620px;
    width: 100%;
    overflow: hidden;
    animation: fadeUp 0.5s ease 0.05s both;
}

/* Bannière */
.card-banner {
    padding: 44px 40px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.card-banner.navy   { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%); }
.card-banner.slate  { background: linear-gradient(135deg, #64748b 0%, #475569 100%); }
.card-banner.red    { background: linear-gradient(135deg, #991b1b 0%, #dc2626 100%); }

.card-banner::before {
    content: '';
    position: absolute; top: -50%; right: -15%;
    width: 280px; height: 280px;
    background: radial-gradient(circle, rgba(255,255,255,0.07) 0%, transparent 70%);
    pointer-events: none;
}

.card-banner h1 {
    font-size: 1.45rem; font-weight: 700;
    color: white; letter-spacing: -0.02em;
    margin-bottom: 8px;
}
.card-banner p { color: rgba(255,255,255,0.72); font-size: 0.93rem; margin: 0; }

.card-banner .status-pill {
    display: inline-block; margin-top: 14px;
    background: rgba(255,255,255,0.15); color: white;
    font-size: 0.8rem; font-weight: 600;
    padding: 5px 14px; border-radius: 20px;
}

/* Icône animée */
.icon-ring {
    width: 72px; height: 72px;
    background: rgba(255,255,255,0.15);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 20px;
    animation: popIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}
.icon-ring svg {
    width: 32px; height: 32px;
    stroke: white; fill: none;
    stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round;
}

/* Corps de la carte */
.card-body { padding: 36px 40px 40px; }

/* Blocs d'alerte */
.alert-block {
    border-radius: var(--radius);
    padding: 16px 20px;
    display: flex; align-items: flex-start; gap: 14px;
    margin-bottom: 24px;
}
.alert-block.info   { background: #eff6ff; border: 1px solid #bfdbfe; }
.alert-block.warn   { background: #fffbeb; border: 1px solid #fde68a; }
.alert-block.green  { background: #f0fdf4; border: 1px solid #bbf7d0; }
.alert-block.danger { background: #fef2f2; border: 1px solid #fecaca; }
.alert-block.info   p { color: #1d4ed8; }
.alert-block.warn   p { color: #92400e; }
.alert-block.green  p { color: #15803d; }
.alert-block.danger p { color: #991b1b; }
.alert-block p { font-size: 0.88rem; margin: 0; line-height: 1.55; }
.alert-icon { font-size: 1.15rem; flex-shrink: 0; margin-top: 1px; }

/* Steps */
.steps-label {
    font-size: 0.75rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.09em;
    color: var(--text-lighter); margin-bottom: 20px;
}
.card .steps { display: flex; flex-direction: column; margin-bottom: 32px; }
.card .step  { display: flex; gap: 16px; align-items: flex-start; position: relative; }
.card .step:not(:last-child)::after {
    content: ''; position: absolute;
    left: 19px; top: 40px;
    width: 2px; height: calc(100% - 12px);
    background: var(--border);
}
.card .step-num {
    width: 40px; height: 40px; min-width: 40px;
    border-radius: 50%;
    background: var(--bg-alt); border: 2px solid var(--border);
    display: flex; align-items: center; justify-content: center;
    font-size: 0.82rem; font-weight: 700; color: var(--text-lighter);
    position: relative; z-index: 1;
}
.card .step.active .step-num { background: var(--primary); border-color: var(--primary); color: white; }
.card .step-content { padding: 8px 0 26px; }
.card .step-content h3 {
    font-size: 0.93rem; font-weight: 600;
    letter-spacing: -0.01em; color: var(--text); margin-bottom: 3px;
}
.card .step.active .step-content h3 { color: var(--primary); }
.card .step-content p { font-size: 0.86rem; color: var(--text-light); margin: 0; line-height: 1.5; }

/* Lignes de récap */
.detail-row {
    display: flex; justify-content: space-between; align-items: center;
    padding: 11px 0; border-bottom: 1px solid var(--border);
    font-size: 0.88rem;
}
.detail-row:last-child { border-bottom: none; }
.detail-label  { color: var(--text-light); }
.detail-value  { font-weight: 600; color: var(--text); }

/* Badges */
.badge-ok {
    background: #dcfce7; color: #15803d;
    font-size: 0.76rem; font-weight: 700;
    padding: 4px 11px; border-radius: 20px;
}
.badge-warn {
    background: #fff7ed; color: var(--accent-dark);
    font-size: 0.82rem; font-weight: 600;
    padding: 5px 12px; border-radius: 20px;
}

/* Référence */
.ref-block {
    background: var(--bg-warm); border: 1px solid #fed7aa;
    border-radius: var(--radius); padding: 16px 20px;
    display: flex; align-items: center; justify-content: space-between;
    gap: 12px; margin-bottom: 28px;
}
.ref-label { font-size: 0.8rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.07em; color: var(--accent-dark); }
.ref-code  { font-size: 0.9rem; font-weight: 700; color: var(--primary); font-family: 'Courier New', monospace; background: white; padding: 6px 14px; border-radius: 8px; border: 1px solid var(--border); }

/* Separateur */
.separator { border: none; border-top: 1px solid var(--border); margin: 24px 0; }

/* Bouton grande taille pour les PHP */
.btn-card {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    width: 100%; padding: 18px 32px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    color: white; text-decoration: none; border-radius: var(--radius);
    font-weight: 600; font-size: 1rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 15px rgba(217,119,6,0.3);
    margin-bottom: 14px;
}
.btn-card:hover { transform: translateY(-2px); box-shadow: 0 6px 25px rgba(217,119,6,0.4); }
.btn-card svg { width: 18px; height: 18px; stroke: white; fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

/* Note discrète */
.muted-note {
    text-align: center; font-size: 0.82rem; color: var(--text-lighter);
    display: flex; align-items: center; justify-content: center; gap: 6px;
}
.muted-note a { color: var(--primary); font-weight: 600; text-decoration: none; margin-left: 4px; }

/* Pied de carte */
.card-footer {
    background: var(--bg-alt); border-top: 1px solid var(--border);
    padding: 18px 40px;
    display: flex; align-items: center; justify-content: space-between;
    gap: 16px; flex-wrap: wrap;
}
.card-footer p, .card-footer a {
    font-size: 0.81rem; color: var(--text-lighter);
    text-decoration: none; margin: 0;
}
.card-footer a:hover { color: var(--primary); }
.card-footer-links  { display: flex; gap: 16px; }

/* Next steps (thanks.php) */
.next-steps { display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; }
.next-step  {
    display: flex; align-items: center; gap: 14px;
    padding: 14px 16px; background: var(--bg-alt);
    border-radius: var(--radius); border: 1px solid var(--border);
}
.next-step-icon { font-size: 1.15rem; flex-shrink: 0; }
.next-step-text { font-size: 0.88rem; color: var(--text-light); line-height: 1.4; }
.next-step-text strong { color: var(--text); display: block; font-weight: 600; margin-bottom: 2px; }

/* Formule pill (capenia-success) */
.formule-pill {
    display: inline-block; margin-top: 14px;
    background: rgba(255,255,255,0.15); color: white;
    font-size: 0.82rem; font-weight: 600;
    padding: 5px 14px; border-radius: 20px;
}

/* ──────────────────────────────────────────────────────────────────
   10. ANIMATIONS
   ────────────────────────────────────────────────────────────────── */
@keyframes popIn {
    from { transform: scale(0.4); opacity: 0; }
    to   { transform: scale(1);   opacity: 1; }
}
@keyframes fadeUp {
    from { transform: translateY(18px); opacity: 0; }
    to   { transform: translateY(0);    opacity: 1; }
}
@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Reveal (utilisé par landing) */
.reveal {
    opacity: 0; transform: translateY(30px);
    transition: all 0.6s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ──────────────────────────────────────────────────────────────────
   11. RESPONSIVE CARTE
   ────────────────────────────────────────────────────────────────── */
@media (max-width: 480px) {
    .card-banner, .card-body { padding: 28px 24px; }
    .card-footer { padding: 16px 24px; flex-direction: column; align-items: flex-start; }
    .ref-block   { flex-direction: column; align-items: flex-start; }
}


/* ══════════════════════════════════════════════════════════════════
   LANDING PAGE — SECTIONS SPÉCIFIQUES
   (hero, problem, solution, features, sample, testimonials,
    pricing, faq, final-cta)
   ══════════════════════════════════════════════════════════════════ */
   HERO SECTION
   ═══════════════════════════════════════════════════════════ */
.hero {
    padding: 80px 0 100px;
    background: linear-gradient(180deg, var(--bg-alt) 0%, var(--bg) 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 70%;
    height: 150%;
    background: radial-gradient(ellipse, rgba(230, 126, 34, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

@media (max-width: 968px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

.hero-text {
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--bg-warm);
    color: var(--accent-dark);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 24px;
}

.hero h1 {
    margin-bottom: 24px;
}

.hero h1 span {
    color: var(--accent);
}

.hero .lead {
    color: var(--text-light);
    margin-bottom: 32px;
    max-width: 520px;
}

@media (max-width: 968px) {
    .hero .lead { margin: 0 auto 32px; }
}

.hero-ctas {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

@media (max-width: 968px) {
    .hero-ctas { justify-content: center; }
}

.hero-trust {
    margin-top: 40px;
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

@media (max-width: 968px) {
    .hero-trust { justify-content: center; }
}

.hero-trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-light);
    font-size: 0.9rem;
}

.hero-trust-item svg {
    color: var(--success);
}

.hero-visual {
    position: relative;
}

.hero-image {
    width: 100%;
    max-width: 500px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.hero-float-card {
    position: absolute;
    background: white;
    padding: 16px 20px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9rem;
    animation: float 3s ease-in-out infinite;
}

.hero-float-card.card-1 {
    top: 10%;
    right: -20px;
}

.hero-float-card.card-2 {
    bottom: 15%;
    left: -30px;
    animation-delay: -1.5s;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.float-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.float-icon.blue { background: #e8f4fd; }
.float-icon.green { background: #e8f8f0; }

@media (max-width: 968px) {
    .hero-visual { display: none; }
}

/* ═══════════════════════════════════════════════════════════
   PROBLEM SECTION
   ═══════════════════════════════════════════════════════════ */
.problem {
    background: var(--bg);
    padding: 100px 0;
}

.problem-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

@media (max-width: 768px) {
    .problem-grid { grid-template-columns: 1fr; }
}

.problem-card {
    background: var(--bg-alt);
    padding: 32px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.problem-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.problem-icon {
    width: 56px;
    height: 56px;
    background: var(--bg-warm);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.problem-card h3 {
    color: var(--primary);
    margin-bottom: 12px;
}

.problem-card p {
    font-size: 0.95rem;
    margin: 0;
}

/* ═══════════════════════════════════════════════════════════
   SOLUTION SECTION
   ═══════════════════════════════════════════════════════════ */
.solution {
    background: linear-gradient(180deg, var(--bg-alt) 0%, var(--bg) 100%);
    padding: 100px 0;
}

.solution-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.solution-header .overline {
    color: var(--accent);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    position: relative;
}

@media (max-width: 768px) {
    .steps { grid-template-columns: 1fr; }
}

.step {
    text-align: center;
    position: relative;
}

.step-number {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 24px;
    position: relative;
    z-index: 1;
}

.step-content {
    background: white;
    padding: 32px 24px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
}

.step h3 {
    margin-bottom: 12px;
}

.step p {
    font-size: 0.95rem;
    margin: 0;
}

.step-detail {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
    font-size: 0.85rem;
    color: var(--text-lighter);
}

/* ── Encart différenciateur (section comment ça marche) ── */
.differentiator {
    margin-top: 48px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: var(--radius-lg);
    padding: 40px 48px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.differentiator-left h3 {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 12px;
    line-height: 1.35;
}

.differentiator-left p {
    color: rgba(255,255,255,0.68);
    font-size: 0.92rem;
    line-height: 1.75;
    margin: 0;
}

.differentiator-right {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.diff-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.diff-dot {
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.12);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.diff-text strong {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 3px;
}

.diff-text span {
    font-size: 0.83rem;
    color: rgba(255,255,255,0.60);
    line-height: 1.55;
}

@media (max-width: 768px) {
    .differentiator {
        grid-template-columns: 1fr;
        gap: 28px;
        padding: 28px 24px;
    }
}

/* ═══════════════════════════════════════════════════════════
   WHAT YOU GET SECTION
   ═══════════════════════════════════════════════════════════ */
.whatyouget {
    background: var(--primary);
    color: white;
    position: relative;
    overflow: hidden;
    padding: 100px 0;
}

.whatyouget::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: radial-gradient(ellipse at right, rgba(255,255,255,0.05) 0%, transparent 70%);
}

.whatyouget h2 {
    color: white;
    text-align: center;
    margin-bottom: 16px;
}

.whatyouget .section-subtitle {
    text-align: center;
    color: rgba(255,255,255,0.7);
    max-width: 600px;
    margin: 0 auto 50px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

@media (max-width: 768px) {
    .features-grid { grid-template-columns: 1fr; }
}

.feature-card {
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(10px);
    padding: 28px;
    border-radius: var(--radius);
    border: 1px solid rgba(255,255,255,0.1);
    display: flex;
    gap: 20px;
    transition: all 0.3s ease;
}

.feature-card:hover {
    background: rgba(255,255,255,0.12);
    transform: translateY(-2px);
}

.feature-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: rgba(230, 126, 34, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}

.feature-card h4 {
    color: white;
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.feature-card p {
    color: rgba(255,255,255,0.7);
    font-size: 0.95rem;
    margin: 0;
}

/* ═══════════════════════════════════════════════════════════
   SAMPLE REPORT SECTION
   ═══════════════════════════════════════════════════════════ */
.sample {
    background: var(--bg-warm);
    padding: 100px 0;
}

.sample-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

@media (max-width: 868px) {
    .sample-content { 
        grid-template-columns: 1fr;
        text-align: center;
    }
}

.sample-text .overline {
    color: var(--accent);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.sample-features {
    margin: 32px 0;
}

.sample-feature {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 20px;
}

@media (max-width: 868px) {
    .sample-feature { 
        text-align: left;
    }
}

.sample-feature-icon {
    width: 32px;
    height: 32px;
    min-width: 32px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    margin-top: 2px;
}

.sample-feature h4 {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--text);
}

.sample-feature p {
    font-size: 0.9rem;
    margin: 0;
}

.sample-visual {
    position: relative;
}

.sample-mockup {
    width: 100%;
    max-width: 450px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
}

@media (max-width: 868px) {
    .sample-mockup { margin: 0 auto; }
}

/* ═══════════════════════════════════════════════════════════
   TESTIMONIALS
   ═══════════════════════════════════════════════════════════ */
.testimonials {
    background: var(--bg);
    padding: 100px 0;
}

.testimonials h2 {
    text-align: center;
    margin-bottom: 64px;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

@media (max-width: 868px) {
    .testimonials-grid { grid-template-columns: 1fr; }
}

.testimonial-card {
    background: var(--bg-alt);
    padding: 32px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 24px;
    font-size: 4rem;
    font-family: Georgia, serif;
    color: var(--accent);
    opacity: 0.2;
    line-height: 1;
}

.testimonial-stars {
    color: var(--accent);
    font-size: 1rem;
    margin-bottom: 16px;
}

.testimonial-text {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text);
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
}

.testimonial-name {
    font-weight: 600;
    color: var(--text);
}

.testimonial-role {
    font-size: 0.85rem;
    color: var(--text-light);
}

/* ═══════════════════════════════════════════════════════════
   PRICING SECTION
   ═══════════════════════════════════════════════════════════ */
.pricing {
    background: var(--bg-alt);
    padding: 100px 0;
}

.pricing-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 50px;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: start;
}

@media (max-width: 868px) {
    .pricing-grid { 
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }
}

.pricing-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 36px;
    border: 2px solid var(--border);
    position: relative;
    transition: all 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.pricing-card.featured {
    border-color: var(--accent);
    transform: scale(1.02);
}

.pricing-card.featured:hover {
    transform: scale(1.02) translateY(-4px);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: white;
    padding: 6px 20px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
}

.pricing-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
}

.pricing-desc {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 24px;
}

.pricing-price {
    margin-bottom: 24px;
}

.pricing-amount {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary);
}

.pricing-currency {
    font-size: 1.5rem;
    font-weight: 600;
    vertical-align: super;
}

.pricing-features {
    list-style: none;
    margin-bottom: 32px;
}

.pricing-features li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.95rem;
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features svg {
    color: var(--success);
    min-width: 20px;
    margin-top: 2px;
}

.pricing-card .btn {
    width: 100%;
}

.pricing-guarantee {
    text-align: center;
    margin-top: 40px;
    padding: 24px;
    background: white;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.guarantee-icon {
    width: 48px;
    height: 48px;
    background: var(--bg-warm);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.guarantee-text h4 {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    margin-bottom: 4px;
}

.guarantee-text p {
    font-size: 0.9rem;
    margin: 0;
}

/* ═══════════════════════════════════════════════════════════
   FAQ SECTION
   ═══════════════════════════════════════════════════════════ */
.faq {
    background: var(--bg);
    padding: 100px 0;
}

.faq h2 {
    text-align: center;
    margin-bottom: 64px;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

@media (max-width: 768px) {
    .faq-grid { grid-template-columns: 1fr; }
}

.faq-item {
    background: var(--bg-alt);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
    transition: all 0.2s;
}

.faq-question:hover {
    color: var(--primary);
}

.faq-icon {
    width: 28px;
    height: 28px;
    min-width: 28px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: transform 0.3s;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 24px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 24px 24px;
    max-height: 500px;
}

.faq-answer p {
    font-size: 0.95rem;
}

/* ═══════════════════════════════════════════════════════════
   FINAL CTA
   ═══════════════════════════════════════════════════════════ */
.final-cta {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    text-align: center;
    padding: 100px 24px;
    position: relative;
    overflow: hidden;
}

.final-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.final-cta h2 {
    color: white;
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    margin-bottom: 20px;
    position: relative;
}

.final-cta p {
    color: rgba(255,255,255,0.8);
    font-size: 1.15rem;
    max-width: 600px;
    margin: 0 auto 32px;
    position: relative;
}

.final-cta .btn {
    position: relative;
}

.final-cta-note {
    margin-top: 24px;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.6);
    position: relative;
}

/* ═══════════════════════════════════════════════════════════

/* Utilitaires landing */
.text-center { text-align: center; }
.mb-0 { margin-bottom: 0 !important; }
.mt-4 { margin-top: 2rem; }
.lead { font-size: 1.12rem; line-height: 1.7; }


/* ═══════════════════════════════════════════════════════════
   MOBILE MENU (overlay)
/* ═══════════════════════════════════════════════════════════

.no-scroll {
  overflow: hidden;
}

/* Desktop default: hide mobile UI */
.mobile-menu-btn,
.mobile-nav {
  display: none;
}

@media (max-width: 900px) {
  /* Hide desktop links on mobile */
  .nav-links {
    display: none;
  }

  /* Show hamburger on mobile */
  .mobile-menu-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(0,0,0,.12);
    border-radius: 12px;
    background: rgba(255,255,255,.9);
    cursor: pointer;
    font-size: 20px;
  }

  /* Overlay */
  .mobile-nav {
    display: flex;
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0,0,0,.45);
    opacity: 0;
    visibility: hidden;
    transition: opacity .2s ease, visibility .2s ease;
    justify-content: flex-end;
  }

  .mobile-nav.is-open {
    opacity: 1;
    visibility: visible;
  }

  .mobile-nav__panel {
    height: 100%;
    width: min(86vw, 360px);
    background: #fff;
    padding: 18px;
    transform: translateX(100%);
    transition: transform .22s ease;
    box-shadow: -12px 0 30px rgba(0,0,0,.18);
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .mobile-nav.is-open .mobile-nav__panel {
    transform: translateX(0);
  }

  .mobile-nav__close {
    align-self: flex-end;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    border: 1px solid rgba(0,0,0,.12);
    background: rgba(255,255,255,.9);
    cursor: pointer;
    font-size: 26px;
    line-height: 1;
  }

  .mobile-nav__links {
    list-style: none;
    margin: 0;
    padding: 6px 0 0 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .mobile-nav__links a {
    display: block;
    padding: 12px 12px;
    border-radius: 12px;
    text-decoration: none;
  }

  .mobile-nav__links a:hover {
    background: rgba(0,0,0,.05);
  }

  .mobile-nav__cta {
    margin-top: 6px;
    text-align: center;
    font-weight: 600;
    border: 1px solid rgba(0,0,0,.12);
  }
}

.report-card{
  position: relative;
  display: inline-block;
  border-radius: 24px;
  overflow: hidden;
  text-decoration: none;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
  box-shadow: 0 18px 45px rgba(0,0,0,.12);
}

.report-card img{
  display:block;
  width: min(560px, 92vw);
  height: auto;
  transform: translateZ(0);
}

/* Badge */
.report-badge{
  position:absolute;
  left: 16px;
  bottom: 16px;
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .2px;
  background: rgba(16, 24, 40, .78);
  color: #fff;
  backdrop-filter: blur(6px);
  box-shadow: 0 10px 24px rgba(0,0,0,.22);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

/* Petit “pulse” discret pour attirer l’œil */
.report-badge::after{
  content:"";
  width: 10px; height: 10px;
  border-radius: 999px;
  background: #ffffff;
  opacity: .75;
  box-shadow: 0 0 0 0 rgba(255,255,255,.65);
  animation: pulse 1.8s infinite;
}

@keyframes pulse{
  0%   { box-shadow: 0 0 0 0 rgba(255,255,255,.55); }
  70%  { box-shadow: 0 0 0 12px rgba(255,255,255,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); }
}

/* Hover = “c’est cliquable” */
.report-card:hover{
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 26px 70px rgba(0,0,0,.18);
  filter: saturate(1.02);
}

.report-card:focus-visible{
  outline: 3px solid rgba(59, 130, 246, .75);
  outline-offset: 6px;
}
