/*
 * BAID Landing Page — landing.css
 * Style de la page d'accueil marketing (front-page.php)
 * Mobile-first. Variables reprises de l'identité BAID.
 */

/* ═══════════════════════════════════════════════════════════
   1. VARIABLES & BASE
═══════════════════════════════════════════════════════════ */
:root {
    --baid-primary:   #8b5cf6;
    --baid-secondary: #ec4899;
    --baid-accent:    #06b6d4;
    --baid-purple:    #7c3aed;
    --baid-dark:      #1e1b4b;

    --text-primary:   #1e1b4b;
    --text-secondary: #4a4580;
    --text-muted:     #6b7280;

    --glass-bg:     rgba(255, 255, 255, .72);
    --glass-blur:   blur(20px) saturate(1.5);
    --glass-border: 1px solid rgba(255, 255, 255, .78);

    --shadow-sm:  0 2px 16px rgba(109, 40, 217, .07);
    --shadow-md:  0 8px 32px rgba(109, 40, 217, .12);
    --shadow-lg:  0 20px 56px rgba(109, 40, 217, .18);

    --section-py:    5rem;
    --container-px:  1.25rem;
    --container-max: 1200px;
    --radius:        1rem;
    --radius-sm:     .625rem;
}

body.landing-page {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: linear-gradient(145deg,
        #f0edff 0%,
        #fce7f3 28%,
        #e0f2fe 60%,
        #d1fae5 100%
    );
    background-attachment: fixed;
    min-height: 100vh;
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.65;
    margin: 0;
    padding: 0;
}

/* Supprime le header WordPress standard s'il est chargé */
body.landing-page .main_h { display: none !important; }

/* ── Orbes d'ambiance (réutilisés depuis accueil.css) ─────── */
.baid-bg-canvas {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}
.baid-bg-canvas span {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    opacity: .45;
}
.baid-bg-canvas span:nth-child(1) {
    width: 560px; height: 560px;
    background: radial-gradient(circle, #c4b5fd 0%, #a78bfa 60%, transparent 100%);
    top: -140px; left: -120px;
    animation: orb-drift-1 14s ease-in-out infinite;
}
.baid-bg-canvas span:nth-child(2) {
    width: 440px; height: 440px;
    background: radial-gradient(circle, #fbcfe8 0%, #f9a8d4 55%, transparent 100%);
    top: 20%; right: -80px;
    animation: orb-drift-2 17s ease-in-out infinite;
}
.baid-bg-canvas span:nth-child(3) {
    width: 400px; height: 400px;
    background: radial-gradient(circle, #bae6fd 0%, #7dd3fc 55%, transparent 100%);
    bottom: 20%; left: 5%;
    animation: orb-drift-3 19s ease-in-out infinite;
}
.baid-bg-canvas span:nth-child(4) {
    width: 380px; height: 380px;
    background: radial-gradient(circle, #a7f3d0 0%, #6ee7b7 55%, transparent 100%);
    bottom: -60px; right: 10%;
    animation: orb-drift-4 15s ease-in-out infinite;
}
@keyframes orb-drift-1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    40%       { transform: translate(30px, -40px) scale(1.06); }
    70%       { transform: translate(-20px, 25px) scale(.95); }
}
@keyframes orb-drift-2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    35%       { transform: translate(-25px, 30px) scale(1.08); }
    65%       { transform: translate(18px, -20px) scale(.94); }
}
@keyframes orb-drift-3 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    45%       { transform: translate(20px, -25px) scale(1.05); }
    75%       { transform: translate(-15px, 30px) scale(.97); }
}
@keyframes orb-drift-4 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    30%       { transform: translate(-30px, -20px) scale(1.07); }
    60%       { transform: translate(25px, 15px) scale(.93); }
}

/* Accessibilité : respecter le réglage utilisateur "réduire les animations".
   Désactive les animations décoratives (orbes, pulse, etc.) pour les personnes
   sensibles au mouvement, à la vestibulaire, ou aux migraines. */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Tout le contenu visible au-dessus des orbes */
.landing-nav,
#main-content,
.landing-footer { position: relative; z-index: 1; }

/* ═══════════════════════════════════════════════════════════
   2. CONTENEUR & LAYOUT COMMUNS
═══════════════════════════════════════════════════════════ */
.landing-container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-px);
}
.landing-container--narrow {
    max-width: 780px;
}

.landing-section {
    padding: var(--section-py) 0;
}
@media (max-width: 767.98px) {
    .landing-section {
        padding: 3rem 0;
    }
}
.landing-section--light {
    background: rgba(255, 255, 255, .42);
    backdrop-filter: blur(12px);
}

.section-titre {
    font-size: clamp(1.5rem, 4vw, 2.25rem);
    font-weight: 700;
    line-height: 1.25;
    color: var(--text-primary);
    margin-bottom: 2rem;
}
.section-titre--center { text-align: center; }
.section-titre--light  { color: #fff; }

.section-surtitre {
    font-size: .85rem;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .75);
    margin-bottom: .75rem;
}

.section-cta-center {
    text-align: center;
    margin-top: 3rem;
    padding: 0 1rem;
}
/* Mobile : CTA centré en pleine largeur (les libellés longs ne débordent plus) */
@media (max-width: 767.98px) {
    .section-cta-center .btn-cta-primary,
    .section-cta-center .btn-cta-ghost,
    .section-cta-center .btn-cta-white {
        display: block;
        width: 100%;
        max-width: 480px;
        margin-left: auto;
        margin-right: auto;
    }
}

/* ═══════════════════════════════════════════════════════════
   3. BOUTONS
═══════════════════════════════════════════════════════════ */
.btn-cta-primary {
    display: inline-block;
    padding: .9rem 1.75rem;
    background: linear-gradient(135deg, var(--baid-primary) 0%, var(--baid-secondary) 100%);
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 50px;
    text-decoration: none;
    transition: transform .2s, box-shadow .2s;
    box-shadow: 0 4px 20px rgba(139, 92, 246, .35);
    white-space: normal;
    text-align: center;
    line-height: 1.3;
    max-width: 100%;
    overflow-wrap: break-word;
    word-break: normal;
    hyphens: auto;
}
.btn-cta-primary:hover,
.btn-cta-primary:focus {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(139, 92, 246, .45);
    color: #fff;
    text-decoration: none;
}
.btn-cta-primary:focus-visible {
    outline: 3px solid var(--baid-primary);
    outline-offset: 3px;
}

.btn-cta-ghost {
    display: inline-block;
    padding: .9rem 1.75rem;
    border: 2px solid rgba(139, 92, 246, .4);
    color: var(--baid-primary);
    font-weight: 600;
    font-size: 1rem;
    border-radius: 50px;
    text-decoration: none;
    transition: background .2s, border-color .2s;
    background: rgba(255, 255, 255, .6);
    backdrop-filter: blur(10px);
    white-space: normal;
    text-align: center;
    line-height: 1.3;
    max-width: 100%;
    overflow-wrap: break-word;
    word-break: normal;
    hyphens: auto;
}
.btn-cta-ghost:hover,
.btn-cta-ghost:focus {
    background: rgba(139, 92, 246, .08);
    border-color: var(--baid-primary);
    color: var(--baid-primary);
    text-decoration: none;
}

.btn-cta-white {
    display: inline-block;
    padding: .9rem 1.75rem;
    background: #fff;
    color: var(--baid-primary);
    font-weight: 700;
    font-size: 1rem;
    border-radius: 50px;
    text-decoration: none;
    transition: transform .2s, box-shadow .2s;
    box-shadow: 0 4px 20px rgba(0, 0, 0, .15);
    white-space: normal;
    text-align: center;
    line-height: 1.3;
    max-width: 100%;
    overflow-wrap: break-word;
    word-break: normal;
    hyphens: auto;
}
.btn-cta-white:hover,
.btn-cta-white:focus {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(0, 0, 0, .2);
    color: var(--baid-purple);
    text-decoration: none;
}
.btn-cta-xl {
    padding: 1.1rem 2.5rem;
    font-size: 1.125rem;
}
@media (max-width: 575.98px) {
    .btn-cta-xl {
        padding: 1rem 1.5rem;
        font-size: 1rem;
        white-space: normal;
        max-width: 100%;
    }
}

.btn-full { display: block; width: 100%; text-align: center; }

/* ── Boutons nav ─────────────────────────────────────────── */
.btn-nav-primary {
    display: inline-block;
    padding: .5rem 1.25rem;
    background: linear-gradient(135deg, var(--baid-primary), var(--baid-secondary));
    color: #fff;
    font-weight: 600;
    font-size: .875rem;
    border-radius: 50px;
    text-decoration: none;
    transition: opacity .2s;
    white-space: nowrap;
}
.btn-nav-primary:hover { opacity: .88; color: #fff; text-decoration: none; }

.btn-nav-ghost {
    display: inline-block;
    padding: .5rem 1.25rem;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: .875rem;
    text-decoration: none;
    border-radius: 50px;
    border: 1.5px solid rgba(139, 92, 246, .25);
    transition: border-color .2s, color .2s;
    white-space: nowrap;
}
.btn-nav-ghost:hover { border-color: var(--baid-primary); color: var(--baid-primary); text-decoration: none; }

/* ═══════════════════════════════════════════════════════════
   4. NAVIGATION
═══════════════════════════════════════════════════════════ */
.landing-nav {
    position: sticky;
    top: 0;
    z-index: 999;
    background: transparent;
    transition: background .3s, backdrop-filter .3s, box-shadow .3s;
}
.landing-nav--scrolled {
    background: rgba(255, 255, 255, .88);
    backdrop-filter: blur(20px) saturate(1.6);
    box-shadow: 0 2px 24px rgba(109, 40, 217, .08);
}

.landing-nav__container {
    display: flex;
    align-items: center;
    gap: 1rem;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: .875rem var(--container-px);
    flex-wrap: nowrap;
}

.landing-nav__logo {
    display: flex;
    align-items: center;
    gap: .6rem;
    text-decoration: none;
    flex-shrink: 0;
}
.landing-nav__logo img { height: 36px; width: auto; flex-shrink: 0; }
.landing-nav__wordmark {
    font-family: 'Inter', -apple-system, sans-serif;
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    background: linear-gradient(135deg, #8b5cf6, #ec4899);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.landing-nav__links {
    display: none;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: .25rem;
    flex: 1;
    justify-content: center;
}
.landing-nav__links a {
    color: var(--text-secondary);
    font-size: .9rem;
    font-weight: 500;
    text-decoration: none;
    padding: .4rem .85rem;
    border-radius: .5rem;
    transition: color .2s, background .2s;
    display: block;
}
.landing-nav__links a:hover { color: var(--baid-primary); background: rgba(139, 92, 246, .07); }

.landing-nav__cta {
    display: none;
    align-items: center;
    gap: .75rem;
    flex-shrink: 0;
}

/* ── Burger mobile ───────────────────────────────────────── */
.landing-nav__burger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    margin-left: auto;
    border-radius: .5rem;
    transition: background .2s;
}
.landing-nav__burger:hover { background: rgba(139, 92, 246, .08); }
.landing-nav__burger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: transform .3s, opacity .3s;
}
.landing-nav__burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.landing-nav__burger.is-open span:nth-child(2) { opacity: 0; }
.landing-nav__burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Menu mobile déroulant ───────────────────────────────── */
.landing-nav__mobile {
    display: none;
    padding: 1.25rem var(--container-px) 1.5rem;
    background: rgba(255, 255, 255, .95);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(139, 92, 246, .1);
    flex-direction: column;
    gap: .5rem;
}
.landing-nav__mobile.is-open { display: flex; }
.landing-nav__mobile ul {
    list-style: none;
    margin: 0 0 1rem;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: .25rem;
}
.landing-nav__mobile a {
    display: block;
    padding: .7rem 1rem;
    color: var(--text-primary);
    font-weight: 500;
    text-decoration: none;
    border-radius: .6rem;
    transition: background .2s;
}
.landing-nav__mobile a:hover { background: rgba(139, 92, 246, .08); color: var(--baid-primary); }
.landing-nav__mobile .btn-cta-primary,
.landing-nav__mobile .btn-nav-ghost { margin-top: .25rem; }

@media (min-width: 768px) {
    .landing-nav__burger  { display: none; }
    .landing-nav__links   { display: flex; }
    .landing-nav__cta     { display: flex; }
    .landing-nav__mobile  { display: none !important; }
}

/* ═══════════════════════════════════════════════════════════
   5. HERO
═══════════════════════════════════════════════════════════ */
.landing-hero {
    min-height: auto;
    display: flex;
    align-items: center;
    padding: 3rem 0 2.5rem;
}
@media (min-width: 768px) {
    .landing-hero {
        min-height: calc(100vh - 64px);
        padding: 4rem 0 3rem;
    }
}

.landing-hero__inner {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-px);
    display: flex;
    flex-direction: column;
    gap: 3rem;
    align-items: center;
}

.landing-hero__text {
    max-width: 640px;
    text-align: center;
}

.landing-hero__h1 {
    font-size: clamp(1.75rem, 6vw, 3.75rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -.03em;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    overflow-wrap: break-word;
    word-wrap: break-word;
    hyphens: auto;
}

.text-gradient {
    background: linear-gradient(135deg, var(--baid-primary) 0%, var(--baid-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.landing-hero__sub {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.landing-hero__ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 1.75rem;
    width: 100%;
}
/* Mobile + tablette portrait : CTAs empilés en pleine largeur (jusqu'à 767px) */
@media (max-width: 767.98px) {
    .landing-hero__ctas {
        flex-direction: column;
        align-items: stretch;
        gap: .75rem;
    }
    .landing-hero__ctas .btn-cta-primary,
    .landing-hero__ctas .btn-cta-ghost,
    .landing-hero__ctas .btn-cta-white {
        flex: 1 1 100%;
        width: 100%;
        text-align: center;
        white-space: normal;
        max-width: 480px;
        margin-left: auto;
        margin-right: auto;
    }
}

.landing-hero__proof {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    font-size: .85rem;
    color: var(--text-muted);
}
.proof-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--baid-accent);
    flex-shrink: 0;
    animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
    0%, 100% { transform: scale(1); opacity: 1; }
    50%       { transform: scale(1.4); opacity: .7; }
}

/* ── Visuel hero ─────────────────────────────────────────── */
.landing-hero__visual { width: 100%; max-width: 580px; }

.hero-screenshot-frame {
    position: relative;
    background: var(--glass-bg);
    border: var(--glass-border);
    backdrop-filter: var(--glass-blur);
    border-radius: 1.25rem;
    padding: 1rem;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}
.hero-screenshot {
    width: 100%;
    height: auto;
    border-radius: .75rem;
    display: block;
}
/* Placeholder visible si pas encore de capture */
.hero-screenshot-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    min-height: 240px;
    color: rgba(139, 92, 246, .4);
    background: rgba(139, 92, 246, .04);
    border-radius: .75rem;
    border: 2px dashed rgba(139, 92, 246, .2);
}
/* Masquer le placeholder quand l'image est chargée */
.hero-screenshot-frame:has(.hero-screenshot[src]:not([src="[CAPTURE_HERO]"])) .hero-screenshot-placeholder {
    display: none;
}

@media (min-width: 900px) {
    .landing-hero__inner {
        flex-direction: row;
        align-items: center;
        gap: 4rem;
        text-align: left;
    }
    .landing-hero__text { text-align: left; flex: 1; }
    .landing-hero__ctas { justify-content: flex-start; }
    .landing-hero__proof { justify-content: flex-start; }
    .landing-hero__visual { flex: 1; }
}

/* ═══════════════════════════════════════════════════════════
   6. STATS (SECTION 2)
═══════════════════════════════════════════════════════════ */
.landing-stats {
    padding: 3rem 0;
    background: rgba(255, 255, 255, .5);
    backdrop-filter: blur(16px);
    border-top: 1px solid rgba(255, 255, 255, .6);
    border-bottom: 1px solid rgba(255, 255, 255, .6);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}
@media (max-width: 359px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
}

.stat-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.5rem 1rem;
    background: var(--glass-bg);
    border: var(--glass-border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}
.stat-number {
    font-size: clamp(2rem, 5vw, 2.75rem);
    font-weight: 800;
    letter-spacing: -.03em;
    background: linear-gradient(135deg, var(--baid-primary), var(--baid-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: .5rem;
}
.stat-label {
    font-size: .85rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

@media (min-width: 640px) {
    .stats-grid { grid-template-columns: repeat(4, 1fr); }
}

/* ═══════════════════════════════════════════════════════════
   7. PROBLÈME (SECTION 3)
═══════════════════════════════════════════════════════════ */
.probleme-body {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.75;
}
.probleme-liste {
    padding-left: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: .75rem;
}
.probleme-liste li { line-height: 1.6; }
.probleme-conclusion {
    font-size: 1.2rem;
    color: var(--text-primary);
    border-left: 4px solid var(--baid-primary);
    padding-left: 1.25rem;
    margin-top: .5rem;
}

/* ═══════════════════════════════════════════════════════════
   8. MODULES / SOLUTION (SECTION 4)
═══════════════════════════════════════════════════════════ */
.modules-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.module-card {
    background: var(--glass-bg);
    border: var(--glass-border);
    backdrop-filter: var(--glass-blur);
    border-radius: var(--radius);
    padding: 1.5rem 1.25rem;
    box-shadow: var(--shadow-md);
    transition: transform .25s, box-shadow .25s;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
@media (min-width: 768px) {
    .module-card {
        padding: 2rem 1.75rem;
    }
}
.module-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.module-card__icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: #fff;
    flex-shrink: 0;
}
.module-card__icon--purple { background: linear-gradient(135deg, #8b5cf6, #7c3aed); }
.module-card__icon--pink   { background: linear-gradient(135deg, #ec4899, #db2777); }
.module-card__icon--cyan   { background: linear-gradient(135deg, #06b6d4, #0891b2); }

.module-card__titre {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}
.module-card__desc {
    color: var(--text-secondary);
    line-height: 1.65;
    font-size: .97rem;
    margin: 0;
}
.module-card__exemple {
    background: rgba(139, 92, 246, .06);
    border-left: 3px solid var(--baid-primary);
    border-radius: 0 .5rem .5rem 0;
    padding: .875rem 1rem;
    display: flex;
    gap: .75rem;
    align-items: flex-start;
}
.module-card__exemple .fa-quote-left {
    color: var(--baid-primary);
    opacity: .5;
    flex-shrink: 0;
    margin-top: 2px;
}
.module-card__exemple p {
    font-size: .875rem;
    color: var(--text-secondary);
    line-height: 1.55;
    margin: 0;
    font-style: italic;
}
.module-card__screenshot {
    border-radius: .625rem;
    overflow: hidden;
    border: 1px solid rgba(139, 92, 246, .12);
}
.module-card__screenshot img {
    width: 100%;
    height: auto;
    display: block;
    /* Masquer si placeholder */
}

@media (min-width: 768px) {
    .modules-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ═══════════════════════════════════════════════════════════
   9. POUR QUI (SECTION 5)
═══════════════════════════════════════════════════════════ */
.pour-qui-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.pour-qui-card {
    background: var(--glass-bg);
    border: var(--glass-border);
    backdrop-filter: var(--glass-blur);
    border-radius: var(--radius);
    padding: 1.5rem 1.25rem;
    box-shadow: var(--shadow-sm);
}
@media (min-width: 768px) {
    .pour-qui-card {
        padding: 2rem 1.75rem;
    }
}
.pour-qui-card__titre {
    display: flex;
    align-items: center;
    gap: .75rem;
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0 0 1.25rem;
}
.pour-qui-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 1rem;
    font-weight: 800;
    flex-shrink: 0;
}
.pour-qui-card--oui .pour-qui-icon {
    background: rgba(16, 185, 129, .12);
    color: #059669;
}
.pour-qui-card--non .pour-qui-icon {
    background: rgba(239, 68, 68, .1);
    color: #dc2626;
}
.pour-qui-card--oui .pour-qui-card__titre { color: #065f46; }
.pour-qui-card--non .pour-qui-card__titre { color: #991b1b; }

.pour-qui-liste {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: .75rem;
}
.pour-qui-liste li {
    padding-left: 1.5rem;
    position: relative;
    font-size: .97rem;
    color: var(--text-secondary);
    line-height: 1.55;
}
.pour-qui-card--oui .pour-qui-liste li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #059669;
    font-weight: 700;
}
.pour-qui-card--non .pour-qui-liste li::before {
    content: '✗';
    position: absolute;
    left: 0;
    color: #dc2626;
    font-weight: 700;
}

@media (min-width: 768px) {
    .pour-qui-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ═══════════════════════════════════════════════════════════
   10. TABLEAU COMPARATIF (SECTION 6)
═══════════════════════════════════════════════════════════ */
.comparatif-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-top: 2.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    /* Indicateur visuel de scroll horizontal sur petits écrans :
       dégradé fade à droite qui suggère du contenu coupé. */
    position: relative;
    background:
        linear-gradient(to right, transparent calc(100% - 30px), rgba(139, 92, 246, .08) 100%);
}
/* Hint texte uniquement sur mobile pour signaler le scroll */
@media (max-width: 767px) {
    .comparatif-wrapper::before {
        content: "← Faites défiler pour voir tout le tableau →";
        display: block;
        text-align: center;
        font-size: .75rem;
        color: var(--text-muted);
        font-style: italic;
        padding: .5rem .75rem;
        background: rgba(139, 92, 246, .04);
        border-bottom: 1px dashed rgba(139, 92, 246, .15);
    }
}

.comparatif-table {
    width: 100%;
    min-width: 600px;
    border-collapse: separate;
    border-spacing: 0;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: var(--glass-border);
    border-radius: var(--radius);
    overflow: hidden;
    font-size: .9rem;
}
.comparatif-table thead tr {
    background: linear-gradient(135deg, var(--baid-primary), var(--baid-secondary));
}
.comparatif-table thead th {
    padding: 1rem 1.25rem;
    color: #fff;
    font-weight: 600;
    text-align: left;
    font-size: .875rem;
}
.comparatif-table thead th:first-child { color: rgba(255,255,255,.7); }
.comparatif-table thead th.col-baid { background: rgba(0,0,0,.12); }

.comparatif-table tbody tr {
    border-bottom: 1px solid rgba(139, 92, 246, .08);
    transition: background .15s;
}
.comparatif-table tbody tr:hover { background: rgba(139, 92, 246, .04); }
.comparatif-table tbody tr:last-child { border-bottom: none; }

.comparatif-table tbody th,
.comparatif-table tbody td {
    padding: .875rem 1.25rem;
    vertical-align: middle;
}
.comparatif-table tbody th {
    font-weight: 500;
    color: var(--text-secondary);
    font-size: .85rem;
    background: rgba(139, 92, 246, .03);
    white-space: nowrap;
}
.col-baid {
    background: rgba(139, 92, 246, .06) !important;
    color: var(--baid-primary);
}

.comparatif-note {
    font-size: .78rem;
    color: var(--text-muted);
    margin-top: 1rem;
    text-align: right;
}

/* ═══════════════════════════════════════════════════════════
   10.5 RECONNAISSANCE — La roue (SECTION 6.5)
═══════════════════════════════════════════════════════════ */
.reconnaissance-accroche {
    text-align: center;
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--text-muted);
    max-width: 720px;
    margin: 1rem auto 2.5rem;
}

.reconnaissance-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    margin-bottom: 2rem;
}
@media (min-width: 768px) {
    .reconnaissance-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
}

.reconnaissance-card {
    background: var(--glass-bg);
    border: var(--glass-border);
    backdrop-filter: var(--glass-blur);
    border-radius: var(--radius);
    padding: 1.75rem 1.25rem;
    box-shadow: var(--shadow-md);
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: .75rem;
    transition: transform .25s, box-shadow .25s;
}
.reconnaissance-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.reconnaissance-card__emoji {
    font-size: 2.25rem;
    line-height: 1;
}

.reconnaissance-card__titre {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--brand-violet, #7c3aed);
    margin: 0;
}

.reconnaissance-card__texte {
    font-size: .95rem;
    line-height: 1.55;
    color: var(--text-muted);
    margin: 0;
}

.reconnaissance-statut {
    text-align: center;
    font-size: .9rem;
    line-height: 1.6;
    color: var(--text-muted);
    max-width: 720px;
    margin: 1.5rem auto 0;
    padding: 1rem 1.25rem;
    background: rgba(139, 92, 246, .06);
    border: 1px dashed rgba(139, 92, 246, .3);
    border-radius: var(--radius-sm);
}

.reconnaissance-badge {
    display: inline-block;
    background: linear-gradient(135deg, #8b5cf6, #ec4899);
    color: #fff;
    font-weight: 700;
    font-size: .82rem;
    padding: .25rem .75rem;
    border-radius: 999px;
    margin-right: .5rem;
    white-space: nowrap;
}

.reconnaissance-lien {
    display: inline-block;
    margin-top: .5rem;
    color: #7c3aed;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color .2s;
}
.reconnaissance-lien:hover {
    border-bottom-color: #7c3aed;
}

/* ═══════════════════════════════════════════════════════════
   11. FOUNDING PARTNERS (SECTION 7)
═══════════════════════════════════════════════════════════ */
.landing-section--founding {
    background: linear-gradient(135deg, var(--baid-purple) 0%, #4f46e5 50%, #0891b2 100%);
    padding: var(--section-py) 0;
    position: relative;
    overflow: hidden;
}
.landing-section--founding::before {
    content: '';
    position: absolute;
    inset: 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.04'%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");
    pointer-events: none;
}

.landing-section--founding .landing-container { position: relative; }

.founding-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-top: 2.5rem;
}

.founding-intro {
    color: rgba(255, 255, 255, .85);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 1.75rem;
}

.founding-liste {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}
.founding-liste li {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    color: rgba(255, 255, 255, .9);
    font-size: .97rem;
    line-height: 1.6;
}
.founding-liste li i,
.founding-liste li .founding-icon {
    color: rgba(255, 255, 255, .9);
    flex-shrink: 0;
    margin-top: 3px;
    width: 1.4em;
    text-align: center;
    font-size: 1.1em;
    line-height: 1;
}
.founding-liste li strong { color: #fff; }

/* Icônes emoji dans les listes (remplacement FontAwesome) */
.li-icon {
    display: inline-block;
    width: 1.1em;
    flex-shrink: 0;
    color: var(--baid-primary);
    font-weight: 700;
    text-align: center;
}
.li-icon--star { color: #f59e0b; }
.quote-mark {
    color: var(--baid-primary);
    font-size: 1.1em;
    margin-right: .25em;
    opacity: .7;
}
.hero-emoji {
    font-size: 1.2em;
    line-height: 1;
}

/* Tableau tarifs FP */
.founding-table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: var(--radius-sm);
}
.founding-table {
    width: 100%;
    min-width: 420px;
    border-collapse: collapse;
    background: rgba(255, 255, 255, .12);
    backdrop-filter: blur(16px);
    border-radius: var(--radius-sm);
    overflow: hidden;
    font-size: .9rem;
    color: rgba(255, 255, 255, .9);
}
.founding-table thead th {
    padding: .875rem 1rem;
    font-size: .8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: rgba(255, 255, 255, .6);
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, .15);
}
.founding-table tbody td {
    padding: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.founding-table tbody tr:last-child td { border-bottom: none; }
.row-recommended { background: rgba(255, 255, 255, .12); }
.row-recommended td { color: #fff; }

.badge-recommended {
    display: inline-block;
    padding: .15rem .6rem;
    background: rgba(255, 255, 255, .2);
    border-radius: 50px;
    font-size: .72rem;
    font-weight: 600;
    margin-left: .5rem;
    vertical-align: middle;
}

.founding-callout {
    margin-top: 1.5rem;
    padding: 1.25rem 1.5rem;
    background: rgba(255, 255, 255, .12);
    border-left: 4px solid rgba(255, 255, 255, .5);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    color: rgba(255, 255, 255, .9);
    font-size: .95rem;
    line-height: 1.65;
}
.founding-callout strong { color: #fff; }

@media (min-width: 900px) {
    .founding-content { grid-template-columns: 1fr 1fr; }
}

/* ═══════════════════════════════════════════════════════════
   12. TARIFS (SECTION 8)
═══════════════════════════════════════════════════════════ */
.tarifs-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 2.5rem;
    align-items: stretch;
}

.tarif-card {
    background: var(--glass-bg);
    border: var(--glass-border);
    backdrop-filter: var(--glass-blur);
    border-radius: var(--radius);
    padding: 1.75rem 1.25rem;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    position: relative;
    transition: transform .25s, box-shadow .25s;
}
@media (min-width: 768px) {
    .tarif-card {
        padding: 2rem 1.75rem;
        gap: 1.5rem;
    }
}
.tarif-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.tarif-card--featured {
    border-color: rgba(139, 92, 246, .35);
    box-shadow: 0 0 0 2px rgba(139, 92, 246, .2), var(--shadow-md);
}
.tarif-card--founding {
    border-color: rgba(6, 182, 212, .3);
}

.tarif-card__badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: .25rem 1rem;
    background: linear-gradient(135deg, var(--baid-primary), var(--baid-secondary));
    color: #fff;
    font-size: .75rem;
    font-weight: 700;
    border-radius: 50px;
    white-space: nowrap;
    letter-spacing: .04em;
}
.tarif-card__badge--founding {
    background: linear-gradient(135deg, var(--baid-accent), var(--baid-primary));
}

.tarif-card__header { text-align: center; }
.tarif-card__nom {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 .75rem;
}
.tarif-card__prix {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .2rem;
    margin-bottom: .5rem;
}
.prix-montant {
    font-size: 1.6rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--baid-primary), var(--baid-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -.02em;
    line-height: 1.1;
    text-align: center;
    overflow-wrap: break-word;
}
@media (min-width: 768px) {
    .prix-montant {
        font-size: 1.75rem;
    }
}
.prix-unite {
    font-size: .8rem;
    color: var(--text-muted);
}
.tarif-card__sous {
    font-size: .82rem;
    color: var(--text-muted);
    margin: 0;
}

.tarif-card__features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: .75rem;
    flex: 1;
}
.tarif-card__features li {
    display: flex;
    align-items: flex-start;
    gap: .6rem;
    font-size: .9rem;
    color: var(--text-secondary);
    line-height: 1.45;
}
.tarif-card__features .fa-check { color: #059669; flex-shrink: 0; margin-top: 2px; }
.tarif-card__features .fa-star  { color: var(--baid-primary); flex-shrink: 0; margin-top: 2px; }

/* Boutons tarifs */
.btn-tarif-secondary,
.btn-tarif-primary,
.btn-tarif-founding {
    display: block;
    text-align: center;
    padding: .875rem;
    border-radius: .75rem;
    font-weight: 600;
    font-size: .95rem;
    text-decoration: none;
    transition: transform .2s, box-shadow .2s, background .2s;
    overflow-wrap: break-word;
    line-height: 1.3;
    /* CTAs cliquables (button + a) — cursor pointer explicite car les
       <button> n'héritent pas du curseur natif comme les <a>. */
    cursor: pointer;
    /* Reset default <button> styles si l'élément est rendu en button */
    font-family: inherit;
    width: 100%;
}
.btn-tarif-secondary {
    border: 2px solid rgba(139, 92, 246, .3);
    color: var(--baid-primary);
    background: transparent;
}
.btn-tarif-secondary:hover { background: rgba(139, 92, 246, .06); color: var(--baid-primary); }

.btn-tarif-primary {
    background: linear-gradient(135deg, var(--baid-primary), var(--baid-secondary));
    color: #fff;
    box-shadow: 0 4px 16px rgba(139, 92, 246, .3);
}
.btn-tarif-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(139, 92, 246, .4); color: #fff; }

.btn-tarif-founding {
    background: linear-gradient(135deg, var(--baid-accent), var(--baid-primary));
    color: #fff;
    box-shadow: 0 4px 16px rgba(6, 182, 212, .3);
}
.btn-tarif-founding:hover { transform: translateY(-2px); color: #fff; }

@media (min-width: 768px) {
    .tarifs-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ═══════════════════════════════════════════════════════════
   13. JÉRÔME / À PROPOS (SECTION 9)
═══════════════════════════════════════════════════════════ */
.jerome-wrapper {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    align-items: flex-start;
}

.jerome-photo {
    position: relative;
    flex-shrink: 0;
    align-self: center;
    /* Cercle de fond brand qui apparait sous les bords flous du mask radial.
       Sans ça, les bords transparents de l'image laisseraient voir le fond
       blanc de la section — moins joli. Le glow violet/rose donne un halo
       cohérent avec la charte BAID. */
    background: radial-gradient(circle at center,
        rgba(139, 92, 246, .18) 0%,
        rgba(236, 72, 153, .12) 60%,
        transparent 100%);
    border-radius: 50%;
    padding: 6px;
    /* Halo brand subtil derrière la photo */
    box-shadow:
        0 0 0 2px rgba(139, 92, 246, .22),
        0 14px 36px -10px rgba(139, 92, 246, .35),
        0 4px 12px rgba(0, 0, 0, .08);
}
.jerome-img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    /* Visage en haut-droite dans la photo brute → on cadre dessus.
       (Ajustable : 50% 50% = centre parfait, 65% 25% = haut-droite) */
    object-position: 60% 28%;
    display: block;
    /* Mask radial : net au centre (visage), fade vers transparent au bord
       (le fond visible de la photo s'estompe dans le glow brand du container).
       Subtil — on garde l'image bien lisible. */
    -webkit-mask-image: radial-gradient(circle at center,
        black 60%,
        rgba(0, 0, 0, .9) 78%,
        transparent 100%);
    mask-image: radial-gradient(circle at center,
        black 60%,
        rgba(0, 0, 0, .9) 78%,
        transparent 100%);
    border: 4px solid rgba(139, 92, 246, .25);
    box-shadow: var(--shadow-md);
}

.jerome-texte {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.75;
}

.jerome-liste {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.jerome-liste li {
    padding-left: 1.25rem;
    border-left: 3px solid rgba(139, 92, 246, .25);
    line-height: 1.65;
}

.jerome-signature {
    font-size: .95rem;
    color: var(--text-secondary);
    font-style: italic;
    border-top: 1px solid rgba(139, 92, 246, .12);
    padding-top: 1rem;
}
.jerome-email {
    color: var(--baid-primary);
    font-weight: 500;
    text-decoration: none;
}
.jerome-email:hover { text-decoration: underline; }

/* CTA Jérôme : pleine largeur mobile */
.jerome-cta { width: 100%; }
@media (max-width: 767.98px) {
    .jerome-cta .btn-cta-primary,
    .jerome-cta .btn-cta-ghost,
    .jerome-cta .btn-cta-white {
        display: block;
        width: 100%;
        max-width: 480px;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (min-width: 768px) {
    .jerome-wrapper {
        flex-direction: row;
        gap: 3.5rem;
        align-items: flex-start;
    }
    .jerome-img { width: 240px; height: 240px; }
}

/* ═══════════════════════════════════════════════════════════
   14. FAQ (SECTION 10)
═══════════════════════════════════════════════════════════ */
.faq-accordion {
    margin-top: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: .75rem;
}

.faq-item {
    background: var(--glass-bg);
    border: var(--glass-border) !important;
    backdrop-filter: var(--glass-blur);
    border-radius: var(--radius) !important;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.faq-btn {
    font-weight: 600;
    font-size: .94rem;
    color: var(--text-primary);
    background: transparent;
    padding: 1rem 1.1rem;
    border: none;
    line-height: 1.4;
    text-align: left;
    cursor: pointer;
    list-style: none; /* retire le marqueur natif Webkit/Blink */
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: .75rem;
}
.faq-btn::-webkit-details-marker { display: none; } /* Safari/Chrome */
@media (min-width: 768px) {
    .faq-btn {
        font-size: .97rem;
        padding: 1.25rem 1.5rem;
    }
}
/* Chevron CSS pur — rotation à l'ouverture */
.faq-btn::after {
    content: "";
    width: .6em;
    height: .6em;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    transition: transform .2s ease;
    flex-shrink: 0;
    margin-left: .5rem;
}
details[open] > .faq-btn { color: var(--baid-primary); }
details[open] > .faq-btn::after { transform: rotate(-135deg); }

.faq-body {
    padding: 0 1.1rem 1.1rem;
    color: var(--text-secondary);
    font-size: .9rem;
    line-height: 1.65;
    background: transparent;
}
@media (min-width: 768px) {
    .faq-body {
        padding: 0 1.5rem 1.25rem;
        font-size: .95rem;
        line-height: 1.7;
    }
}

.faq-contact {
    text-align: center;
    margin-top: 2rem;
    color: var(--text-muted);
    font-size: .92rem;
}
.faq-contact a {
    color: var(--baid-primary);
    font-weight: 500;
    text-decoration: none;
}
.faq-contact a:hover { text-decoration: underline; }

/* ═══════════════════════════════════════════════════════════
   15. CTA FINAL (SECTION 11)
═══════════════════════════════════════════════════════════ */
.landing-cta-final {
    background: linear-gradient(135deg, var(--baid-primary) 0%, var(--baid-secondary) 100%);
    padding: 3rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}
@media (min-width: 768px) {
    .landing-cta-final {
        padding: 5rem 0;
    }
}
.landing-cta-final::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 0%, rgba(255,255,255,.12) 0%, transparent 60%);
    pointer-events: none;
}
.landing-cta-final .landing-container { position: relative; }

.cta-final__titre {
    font-size: clamp(1.75rem, 5vw, 2.75rem);
    font-weight: 800;
    color: #fff;
    margin-bottom: 1.25rem;
    letter-spacing: -.03em;
}
.cta-final__body {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, .85);
    margin-bottom: 2.5rem;
    line-height: 1.65;
}
.cta-final__body strong { color: #fff; }

.cta-final__note {
    margin-top: 1.75rem;
    font-size: .88rem;
    color: rgba(255, 255, 255, .6);
    font-style: italic;
}

/* CTA final : pleine largeur mobile (libellé long ne déborde plus) */
@media (max-width: 767.98px) {
    .landing-cta-final .btn-cta-white,
    .landing-cta-final .btn-cta-xl {
        display: block;
        width: 100%;
        max-width: 480px;
        margin-left: auto;
        margin-right: auto;
        padding: .95rem 1.25rem;
    }
    .cta-final__body { font-size: 1rem; padding: 0 .75rem; }
}

/* ═══════════════════════════════════════════════════════════
   16. FOOTER (SECTION 12)
═══════════════════════════════════════════════════════════ */
.landing-footer {
    background: var(--baid-dark);
    color: rgba(255, 255, 255, .75);
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    margin-bottom: 3rem;
}
.footer-col { display: flex; flex-direction: column; gap: .5rem; }
.footer-col--brand { gap: 1rem; }

/* Logo footer : version mono-blanc avec points sombres (SVG natif déjà blanc,
   on ne force pas le filter sinon les points deviendraient invisibles). */
.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    text-decoration: none;
}
.footer-logo {
    width: 36px;
    height: 40px;
    flex-shrink: 0;
}
.footer-wordmark {
    font-family: 'Inter', -apple-system, sans-serif;
    font-size: 1.35rem;
    font-weight: 800; /* Inter ExtraBold — match le header */
    letter-spacing: -.04em;
    color: #fff;
    line-height: 1;
}

.footer-tagline {
    font-size: .9rem;
    color: rgba(255, 255, 255, .6);
    line-height: 1.5;
    margin: 0;
}
.footer-legal-line {
    font-size: .78rem;
    color: rgba(255, 255, 255, .65); /* WCAG AA : ratio ≥ 4.5:1 sur fond gradient brand */
    line-height: 1.65;
    margin: 0;
}

.footer-col__titre {
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .5);
    margin: 0 0 .5rem;
}
.footer-col__liste {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: .5rem;
}
.footer-col__liste a {
    color: rgba(255, 255, 255, .65);
    font-size: .88rem;
    text-decoration: none;
    transition: color .2s;
    line-height: 1.4;
    display: inline-block;
    padding: .35rem 0;
    min-height: 40px;
}
.footer-col__liste a:hover { color: #fff; }
/* Bouton LinkedIn circulaire — surcharge la règle générique
   `.footer-col__liste a` (sélecteur ↑ spécificité) qui appliquait
   padding/min-height/inline-block et cassait le cercle. */
.footer-col__liste a.footer-linkedin {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    min-height: 36px;
    padding: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .08);
    color: rgba(255, 255, 255, .85);
    transition: background .2s, color .2s, transform .2s;
}
.footer-col__liste a.footer-linkedin:hover,
.footer-col__liste a.footer-linkedin:focus-visible {
    background: rgba(255, 255, 255, .18);
    color: #fff;
    transform: translateY(-2px);
}
.footer-linkedin__svg { flex-shrink: 0; }
.footer-heart {
    color: #ec4899;
    font-size: 1em;
    margin: 0 .15em;
    display: inline-block;
    animation: footer-heart-pulse 2.5s ease-in-out infinite;
}
@keyframes footer-heart-pulse {
    0%, 100% { transform: scale(1); }
    50%       { transform: scale(1.15); }
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .08);
    padding-top: 1.75rem;
    text-align: center;
    font-size: .82rem;
    color: rgba(255, 255, 255, .65); /* WCAG AA : ratio ≥ 4.5:1 */
}

@media (min-width: 576px) {
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 992px) {
    .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
}

/* ═══════════════════════════════════════════════════════════
   17. ANIMATIONS (SCROLL REVEAL)
═══════════════════════════════════════════════════════════ */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .5s ease, transform .5s ease;
}
.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Décalage en cascade pour les grilles */
.stat-card:nth-child(2)   { transition-delay: .08s; }
.stat-card:nth-child(3)   { transition-delay: .16s; }
.stat-card:nth-child(4)   { transition-delay: .24s; }
.module-card:nth-child(2) { transition-delay: .1s; }
.module-card:nth-child(3) { transition-delay: .2s; }
.tarif-card:nth-child(2)  { transition-delay: .1s; }
.tarif-card:nth-child(3)  { transition-delay: .2s; }

/* ═══════════════════════════════════════════════════════════
   18. ACCESSIBILITÉ
═══════════════════════════════════════════════════════════ */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Focus visible sur tous les éléments interactifs */
a:focus-visible,
button:focus-visible {
    outline: 3px solid var(--baid-primary);
    outline-offset: 3px;
    border-radius: 4px;
}

/* ═══════════════════════════════════════════════════════════
   19. PAGE LÉGALE (template page-legal.php)
═══════════════════════════════════════════════════════════ */
.legal-main {
    padding: 6rem 0 4rem;
    min-height: 60vh;
}

.legal-card {
    background: var(--glass-bg);
    border: var(--glass-border);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-radius: var(--radius);
    padding: 3rem 2.5rem;
    box-shadow: var(--shadow-md);
}

.legal-breadcrumb {
    display: flex;
    gap: .4rem;
    align-items: center;
    font-size: .85rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}
.legal-breadcrumb a {
    color: var(--baid-primary);
    text-decoration: none;
}
.legal-breadcrumb a:hover { text-decoration: underline; }

.legal-titre {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 2rem;
    line-height: 1.2;
}

.legal-content {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 1rem;
}
.legal-content h2 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 2.5rem 0 .75rem;
    padding-bottom: .4rem;
    border-bottom: 1px solid rgba(139,92,246,.2);
}
.legal-content h3 {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 1.5rem 0 .5rem;
}
.legal-content p { margin-bottom: 1rem; }
.legal-content ul,
.legal-content ol {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}
.legal-content li { margin-bottom: .35rem; }
.legal-content a {
    color: var(--baid-primary);
    text-decoration: underline;
}
.legal-content strong { color: var(--text-primary); }

/* Tableau RGPD */
.legal-content table {
    width: 100%;
    border-collapse: collapse;
    font-size: .9rem;
    margin: 1.25rem 0;
    overflow-x: auto;
    display: block;
}
.legal-content th,
.legal-content td {
    padding: .6rem .9rem;
    border: 1px solid rgba(139,92,246,.2);
    text-align: left;
    vertical-align: top;
}
.legal-content th {
    background: rgba(139,92,246,.08);
    font-weight: 600;
    color: var(--text-primary);
}

/* Footer minimaliste sur page légale */
.legal-footer {
    padding: 1.5rem 0;
}
.legal-footer .footer-bottom {
    text-align: center;
    font-size: .85rem;
    color: var(--text-muted);
}
.legal-footer .footer-bottom a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color .2s;
}
.legal-footer .footer-bottom a:hover { color: var(--baid-primary); }

@media (max-width: 767.98px) {
    .legal-card { padding: 1.75rem 1.1rem; }
    .legal-main { padding: 4rem 0 2.5rem; }
    .legal-content { font-size: .94rem; line-height: 1.7; }
    .legal-content h2 { font-size: 1.15rem; margin: 2rem 0 .5rem; }
    .legal-content table { font-size: .82rem; }
    .legal-content th,
    .legal-content td { padding: .45rem .55rem; }
    .legal-breadcrumb { font-size: .8rem; flex-wrap: wrap; }
}

/* ────────────────────────────────────────────────────────────────────────────
   Modal "Demander mon accès gratuit" (CTA Starter)
   Scopé .baid-demande-acces-* pour éviter tout conflit avec le reste du thème.
   Palette brand : --baid-primary (#8b5cf6) / --baid-secondary (#ec4899).
   ──────────────────────────────────────────────────────────────────────────── */

.baid-demande-acces-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, .7);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    animation: bdaFadeIn .18s ease-out;
}
.baid-demande-acces-overlay[hidden] { display: none; }

@keyframes bdaFadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}
@keyframes bdaCardIn {
    from { opacity: 0; transform: translateY(12px) scale(.97); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

.baid-demande-acces-card {
    position: relative;
    width: 100%;
    max-width: 560px;
    max-height: 92vh;
    overflow-y: auto;
    background: #fff;
    border-radius: 24px;
    padding: 36px 32px;
    box-shadow: 0 24px 64px rgba(124, 58, 237, .25);
    animation: bdaCardIn .22s cubic-bezier(.16,1,.3,1);
}

/* Croix de fermeture */
.baid-demande-acces-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: rgba(15, 23, 42, .06);
    color: #475569;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .18s, color .18s, transform .18s;
}
.baid-demande-acces-close:hover {
    background: rgba(236, 72, 153, .12);
    color: var(--baid-secondary);
    transform: rotate(90deg);
}
.baid-demande-acces-close:focus-visible {
    outline: 2px solid var(--baid-primary);
    outline-offset: 2px;
}

/* Header */
.baid-demande-acces-header {
    text-align: center;
    margin-bottom: 24px;
}
.baid-demande-acces-icon {
    font-size: 48px;
    line-height: 1;
    margin-bottom: 12px;
}
.baid-demande-acces-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 8px;
    background: linear-gradient(135deg, var(--baid-primary), var(--baid-secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.baid-demande-acces-sub {
    font-size: .95rem;
    color: #64748b;
    margin: 0;
    line-height: 1.5;
}

/* Form */
.baid-demande-acces-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.baid-demande-acces-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.baid-demande-acces-field label {
    font-size: .85rem;
    font-weight: 700;
    color: #1f2937;
}
.baid-demande-acces-field label span { color: var(--baid-secondary); }

.baid-demande-acces-field input,
.baid-demande-acces-field textarea {
    width: 100%;
    border: 1.5px solid #e5e7eb;
    border-radius: 10px;
    padding: .75rem 1rem;
    font-size: .95rem;
    font-family: inherit;
    color: #0f172a;
    background: #fff;
    transition: border-color .18s, box-shadow .18s;
    box-sizing: border-box;
}
.baid-demande-acces-field textarea {
    resize: vertical;
    min-height: 96px;
    line-height: 1.5;
}
.baid-demande-acces-field input:focus,
.baid-demande-acces-field textarea:focus {
    outline: none;
    border-color: var(--baid-primary);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, .15);
}
.baid-demande-acces-field input::placeholder,
.baid-demande-acces-field textarea::placeholder { color: #94a3b8; }

.baid-demande-acces-counter {
    font-size: .75rem;
    color: #94a3b8;
    text-align: right;
    margin-top: 2px;
}

/* Honeypot — caché aux humains, visible aux bots */
.baid-demande-acces-honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
    pointer-events: none;
}

/* Actions */
.baid-demande-acces-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 8px;
}
.baid-demande-acces-submit {
    width: 100%;
    background: linear-gradient(135deg, var(--baid-primary), var(--baid-secondary));
    color: #fff;
    border: none;
    border-radius: 12px;
    padding: .9rem 1.5rem;
    font-size: 1rem;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(124, 58, 237, .3);
    transition: transform .18s, box-shadow .18s, opacity .18s;
}
.baid-demande-acces-submit:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 12px 26px rgba(124, 58, 237, .38);
}
.baid-demande-acces-submit:active:not(:disabled) { transform: translateY(0); }
.baid-demande-acces-submit:disabled {
    opacity: .65;
    cursor: not-allowed;
    box-shadow: none;
}
.baid-demande-acces-submit:focus-visible {
    outline: 3px solid #fff;
    outline-offset: -5px;
}

.baid-demande-acces-rgpd {
    font-size: .75rem;
    color: #94a3b8;
    text-align: center;
    margin: 4px 0 0;
    line-height: 1.4;
}

/* Feedback erreur */
.baid-demande-acces-feedback {
    min-height: 0;
    font-size: .85rem;
    text-align: center;
    padding: 0;
}
.baid-demande-acces-feedback[data-tone="error"] {
    color: #b91c1c;
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 8px;
    padding: 10px 14px;
    margin-top: 4px;
}

/* Écran de succès */
.baid-demande-acces-success {
    text-align: center;
    padding: 12px 0 4px;
}
.baid-demande-acces-success[hidden] { display: none; }
.baid-demande-acces-success-icon {
    font-size: 56px;
    line-height: 1;
    margin-bottom: 14px;
}
.baid-demande-acces-success h3 {
    font-size: 1.35rem;
    font-weight: 800;
    color: #15803d;
    margin: 0 0 10px;
}
.baid-demande-acces-success p {
    color: #475569;
    font-size: .95rem;
    line-height: 1.55;
    margin: 0 0 8px;
}
.baid-demande-acces-success-sub {
    font-weight: 600;
    color: #0f172a !important;
    margin-top: 14px !important;
}
.baid-demande-acces-close-secondary {
    margin-top: 22px;
    background: transparent;
    color: var(--baid-primary);
    border: 1.5px solid var(--baid-primary);
    border-radius: 10px;
    padding: .65rem 1.5rem;
    font-size: .9rem;
    font-weight: 700;
    cursor: pointer;
    transition: background .18s, color .18s;
}
.baid-demande-acces-close-secondary:hover {
    background: var(--baid-primary);
    color: #fff;
}

/* Responsive < 576px */
@media (max-width: 575.98px) {
    .baid-demande-acces-card {
        padding: 28px 20px;
        border-radius: 18px;
        max-height: 96vh;
    }
    .baid-demande-acces-icon { font-size: 40px; }
    .baid-demande-acces-title { font-size: 1.25rem; }
    .baid-demande-acces-sub { font-size: .9rem; }
    .baid-demande-acces-field input,
    .baid-demande-acces-field textarea {
        padding: .65rem .85rem;
        font-size: .92rem;
    }
    .baid-demande-acces-submit {
        padding: .85rem 1.2rem;
        font-size: .95rem;
    }
}

/* Préférences réduites de mouvement */
@media (prefers-reduced-motion: reduce) {
    .baid-demande-acces-overlay,
    .baid-demande-acces-card { animation: none; }
    .baid-demande-acces-close:hover { transform: none; }
    .baid-demande-acces-submit:hover:not(:disabled) { transform: none; }
}
