/*
 * Page vitrine publique (resources/views/pages/accueil.blade.php).
 * Couleur de marque = --edu-color-secondary (design tokens + /theme.css),
 * donc configurable par le Super Admin comme les pages d'authentification.
 */
/* Jetons de la page : posés sur body (et non :root) pour suivre le mode sombre de educom-ui.css (body[data-theme="dark"]).
   Valeurs de repli = rendu clair d'origine quand educom-ui.css n'est pas chargé (page d'accueil). */
:root {
    --lp-radius: var(--edu-radius-lg, 18px);
    --lp-shadow: var(--edu-shadow-2, 0 1px 2px rgba(22, 19, 43, .05), 0 12px 32px -12px rgba(22, 19, 43, .14));
}
body {
    --lp-brand: var(--edu-color-primary, var(--edu-color-primary));
    --lp-brand-2: var(--edu-color-secondary, var(--edu-color-secondary));
    --lp-on-brand: #ffffff;
    --lp-ink: var(--edu-text, color-mix(in srgb, var(--edu-color-primary) 72%, #000));
    --lp-muted: var(--edu-text-muted, #5d5a72);
    --lp-line: var(--edu-border-strong, color-mix(in srgb, var(--edu-color-primary) 10%, #fff));
    --lp-bg: var(--edu-surface, #ffffff);
    --lp-card: var(--edu-surface, #ffffff);
    --lp-tint: var(--edu-surface-2, #f7f5fc);
    --lp-soft: color-mix(in srgb, var(--lp-brand) 10%, var(--lp-card));
    --lp-footer-bg: color-mix(in srgb, var(--edu-color-primary) 72%, #000);
    --lp-footer-text: var(--edu-color-primary);
    --lp-warning: var(--edu-color-warning, var(--edu-color-accent));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
    margin: 0;
    font-family: 'Plus Jakarta Sans', var(--edu-font-family, system-ui), sans-serif;
    color: var(--lp-ink);
    background: var(--lp-bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { line-height: 1.15; margin: 0; letter-spacing: -.02em; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }

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

/* Boutons */
.lp-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
    padding: .6rem 1.1rem; border-radius: 999px; font-weight: 600; font-size: .95rem;
    border: 1.5px solid transparent; transition: transform .15s, background .15s, box-shadow .15s;
    white-space: nowrap; cursor: pointer;
}
.lp-btn:hover { transform: translateY(-1px); }
.lp-btn-lg { padding: .85rem 1.45rem; font-size: 1rem; }
.lp-btn-block { width: 100%; }
.lp-btn-primary { background: var(--lp-brand); color: var(--lp-on-brand); box-shadow: 0 8px 20px -8px var(--lp-brand); }
.lp-btn-primary:hover { background: color-mix(in srgb, var(--lp-brand) 88%, #000); }
.lp-btn-ghost { background: var(--lp-card); border-color: var(--lp-line); color: var(--lp-ink); }
.lp-btn-ghost:hover { border-color: var(--lp-brand); color: var(--lp-brand); }
.lp-btn-light { background: var(--lp-on-brand); color: var(--lp-brand); }
.lp-btn-outline-light { border-color: color-mix(in srgb, var(--lp-on-brand) 60%, transparent); color: var(--lp-on-brand); }
.lp-btn-outline-light:hover { background: color-mix(in srgb, var(--lp-on-brand) 12%, transparent); }

/* Navigation */
.lp-nav {
    position: sticky; top: 0; z-index: 50;
    background: color-mix(in srgb, var(--lp-bg) 85%, transparent); backdrop-filter: saturate(160%) blur(12px);
    border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s;
}
.lp-nav.scrolled { border-color: var(--lp-line); box-shadow: var(--edu-shadow-1, 0 4px 20px -12px rgba(22, 19, 43, .2)); }
.lp-nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 1rem; }
.lp-brand { display: inline-flex; align-items: center; gap: .6rem; font-weight: 800; font-size: 1.1rem; }
.lp-brand img { height: 36px; width: 36px; object-fit: contain; border-radius: 8px; }
.lp-brand-mark {
    display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px;
    background: var(--lp-brand); color: var(--lp-on-brand); font-size: 1.2rem;
}
.lp-links { display: flex; gap: 1.75rem; font-weight: 500; color: var(--lp-muted); font-size: .95rem; }
.lp-links a:hover { color: var(--lp-brand); }
.lp-nav-cta { display: flex; align-items: center; gap: .5rem; }
.lp-burger { display: none; background: none; border: 0; font-size: 1.5rem; color: var(--lp-ink); cursor: pointer; padding: .25rem; }

/* Hero */
.lp-hero {
    padding: 64px 0 40px;
    background:
        radial-gradient(900px 420px at 85% -10%, color-mix(in srgb, var(--lp-brand) 16%, transparent), transparent 70%),
        radial-gradient(600px 300px at -10% 30%, color-mix(in srgb, var(--lp-brand-2) 10%, transparent), transparent 70%);
}
.lp-hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.lp-eyebrow {
    display: inline-flex; align-items: center; gap: .4rem;
    font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
    color: var(--lp-brand); background: var(--lp-soft); padding: .35rem .75rem; border-radius: 999px;
}
.lp-hero h1 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); font-weight: 800; margin: 1.1rem 0 1.1rem; }
.lp-hero h1 em { font-style: normal; color: var(--lp-brand); }
.lp-lead { font-size: 1.1rem; color: var(--lp-muted); max-width: 560px; }
.lp-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }
.lp-proof { display: flex; flex-wrap: wrap; gap: 1.25rem; list-style: none; padding: 0; margin: 1.75rem 0 0; color: var(--lp-muted); font-size: .92rem; font-weight: 500; }
.lp-proof i { color: var(--edu-color-success, var(--edu-color-success)); }

/* Maquette tableau de bord */
.lp-mock {
    position: relative; background: var(--lp-card); border-radius: var(--edu-radius-xl, 22px); border: 1px solid var(--lp-line);
    box-shadow: var(--edu-shadow-3, 0 30px 60px -20px rgba(22, 19, 43, .25)); overflow: visible;
}
.lp-mock-bar { display: flex; align-items: center; gap: 6px; padding: 12px 16px; border-bottom: 1px solid var(--lp-line); font-size: .8rem; color: var(--lp-muted); }
.lp-mock-bar span { width: 10px; height: 10px; border-radius: 50%; background: var(--lp-line); }
.lp-mock-bar b { margin-left: 8px; font-weight: 600; }
.lp-mock-body { padding: 18px; display: grid; gap: 14px; }
.lp-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.lp-kpis div { background: var(--lp-tint); border-radius: 12px; padding: 10px 12px; display: grid; }
.lp-kpis small { font-size: .7rem; color: var(--lp-muted); }
.lp-kpis strong { font-size: 1.25rem; font-weight: 800; }
.lp-kpis span { font-size: .7rem; color: var(--lp-muted); font-weight: 600; }
.lp-kpis span.up { color: var(--edu-color-success, var(--edu-color-success)); }
.lp-chart { border: 1px solid var(--lp-line); border-radius: 12px; padding: 12px; }
.lp-chart-head { display: flex; justify-content: space-between; font-size: .8rem; margin-bottom: 10px; }
.lp-chart-head small { color: var(--lp-muted); }
.lp-bars { display: flex; align-items: flex-end; gap: 8px; height: 110px; }
.lp-bars span {
    flex: 1; height: var(--h); border-radius: 6px 6px 3px 3px;
    background: linear-gradient(180deg, var(--lp-brand), color-mix(in srgb, var(--lp-brand) 45%, var(--lp-card)));
    transform-origin: bottom; animation: lp-grow .9s cubic-bezier(.2, .8, .2, 1) both;
}
.lp-bars span:nth-child(n) { animation-delay: calc(var(--h) * 4ms); }
@keyframes lp-grow { from { transform: scaleY(0); } }
.lp-feed { display: grid; gap: 8px; }
.lp-feed div { display: flex; align-items: center; gap: 10px; font-size: .8rem; color: var(--lp-muted); }
.lp-feed b { color: var(--lp-ink); font-weight: 600; }
.lp-feed i { display: grid; place-items: center; width: 30px; height: 30px; flex: none; border-radius: 9px; background: var(--lp-soft); color: var(--lp-brand); font-size: 1rem; }
.lp-float {
    position: absolute; display: inline-flex; align-items: center; gap: .45rem;
    background: var(--lp-card); border: 1px solid var(--lp-line); border-radius: var(--edu-radius-md, 12px); padding: .55rem .8rem;
    font-size: .8rem; font-weight: 600; box-shadow: var(--lp-shadow);
    animation: lp-float 5s ease-in-out infinite;
}
.lp-float i { color: var(--lp-brand); font-size: 1.1rem; }
.lp-float-a { top: 44%; left: -38px; }
.lp-float-b { bottom: -18px; right: 24px; animation-delay: -2.5s; }
@keyframes lp-float { 50% { transform: translateY(-6px); } }

.lp-values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 56px; }
.lp-values > div { display: flex; gap: 12px; background: var(--lp-card); border: 1px solid var(--lp-line); border-radius: var(--lp-radius); padding: 18px; }
.lp-values i { font-size: 1.5rem; color: var(--lp-brand); }
.lp-values b { display: block; margin-bottom: 2px; }
.lp-values p { font-size: .9rem; color: var(--lp-muted); }

/* Sections */
.lp-section { padding: 88px 0; }
.lp-section-tint { background: var(--lp-tint); }
.lp-head { text-align: center; max-width: 680px; margin: 0 auto 44px; }
.lp-head-left { text-align: left; margin: 0; }
.lp-head h2, .lp-why h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 800; margin: .9rem 0 .7rem; }
.lp-head p, .lp-why > div > p { color: var(--lp-muted); font-size: 1.05rem; }

.lp-profiles { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.lp-profiles article {
    border: 1px solid var(--lp-line); border-radius: var(--lp-radius); padding: 22px 18px; background: var(--lp-card);
    transition: border-color .2s, transform .2s, box-shadow .2s;
}
.lp-profiles article:hover { border-color: var(--lp-brand); transform: translateY(-3px); box-shadow: var(--lp-shadow); }
.lp-profiles i { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--lp-soft); color: var(--lp-brand); font-size: 1.4rem; margin-bottom: 14px; }
.lp-profiles h3 { font-size: 1.02rem; margin-bottom: 6px; }
.lp-profiles p { font-size: .88rem; color: var(--lp-muted); }

.lp-tabs { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.lp-tabs button {
    font: inherit; font-weight: 600; font-size: .9rem; padding: .5rem 1rem; border-radius: 999px;
    border: 1px solid var(--lp-line); background: var(--lp-card); color: var(--lp-muted); cursor: pointer;
}
.lp-tabs button.active { background: var(--lp-ink); border-color: var(--lp-ink); color: var(--lp-bg); }
.lp-modules { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.lp-module { background: var(--lp-card); border-radius: var(--lp-radius); padding: 24px; border: 1px solid var(--lp-line); transition: box-shadow .2s, transform .2s; }
.lp-module[hidden] { display: none; }
.lp-module:hover { box-shadow: var(--lp-shadow); transform: translateY(-3px); }
.lp-module h3 { font-size: 1.08rem; margin: 14px 0 6px; }
.lp-module p { font-size: .92rem; color: var(--lp-muted); }
.lp-module-icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 13px; font-size: 1.4rem; }
.cat-pedagogie { background: color-mix(in srgb, var(--edu-color-info, var(--edu-color-primary)) 14%, var(--lp-card)); color: var(--edu-info-text, var(--edu-color-info, var(--edu-color-primary))); }
.cat-vie { background: color-mix(in srgb, var(--edu-color-success, color-mix(in srgb, var(--edu-color-success) 72%, #000)) 14%, var(--lp-card)); color: var(--edu-success-text, var(--edu-color-success, color-mix(in srgb, var(--edu-color-success) 72%, #000))); }
.cat-finance { background: color-mix(in srgb, var(--edu-color-warning, var(--edu-color-accent)) 14%, var(--lp-card)); color: var(--edu-warning-text, var(--edu-color-warning, var(--edu-color-accent))); }
.cat-services { background: color-mix(in srgb, var(--edu-color-secondary, var(--edu-color-danger)) 14%, var(--lp-card)); color: var(--edu-primary-text, var(--edu-color-secondary, var(--edu-color-danger))); }

.lp-why { display: grid; grid-template-columns: 1fr 1.2fr; gap: 56px; align-items: start; }
.lp-why-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.lp-why-list li { display: flex; gap: 12px; padding: 20px; border-radius: var(--lp-radius); background: var(--lp-tint); }
.lp-why-list i { font-size: 1.5rem; color: var(--lp-brand); }
.lp-why-list b { display: block; margin-bottom: 4px; }
.lp-why-list p { font-size: .9rem; color: var(--lp-muted); }

.lp-plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.lp-plan { position: relative; display: flex; flex-direction: column; background: var(--lp-card); border: 1px solid var(--lp-line); border-radius: var(--edu-radius-xl, 22px); padding: 28px; }
.lp-plan h3 { display: flex; align-items: center; gap: .5rem; font-size: 1.25rem; }
.lp-plan h3 i { color: var(--lp-brand); }
.lp-plan-sub { color: var(--lp-muted); font-size: .92rem; margin: 6px 0 18px; }
.lp-plan ul { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 10px; flex: 1; }
.lp-plan li { position: relative; padding-left: 28px; font-size: .93rem; }
.lp-plan li::before {
    content: ""; position: absolute; left: 0; top: .2em; width: 18px; height: 18px; border-radius: 50%;
    background: var(--lp-soft);
}
.lp-plan li::after {
    content: ""; position: absolute; left: 3.5px; top: calc(.2em + 3.5px); width: 11px; height: 11px; background: var(--lp-brand);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / contain no-repeat;
}
.lp-plan-featured { border: 2px solid var(--lp-brand); box-shadow: 0 24px 48px -24px var(--lp-brand); }
.lp-badge { position: absolute; top: -12px; right: 24px; background: var(--lp-brand); color: var(--lp-on-brand); font-size: .75rem; font-weight: 700; padding: .25rem .7rem; border-radius: 999px; }

.lp-faq { display: grid; grid-template-columns: 1fr 1.6fr; gap: 56px; }
.lp-faq details { border-bottom: 1px solid var(--lp-line); padding: 18px 0; }
.lp-faq summary { cursor: pointer; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq summary::after { content: "+"; color: var(--lp-brand); font-size: 1.3rem; line-height: 1; transition: transform .2s; }
.lp-faq details[open] summary::after { transform: rotate(45deg); }
.lp-faq details p { color: var(--lp-muted); margin-top: 10px; }

.lp-cta {
    display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
    margin: 0 0 88px; padding: 44px 48px; border-radius: 26px; color: var(--lp-on-brand);
    background: linear-gradient(120deg, var(--lp-brand), color-mix(in srgb, var(--lp-brand) 60%, var(--lp-brand-2)));
}
.lp-cta h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 800; }
.lp-cta p { opacity: .85; margin-top: 6px; }
.lp-cta .lp-actions { margin-top: 0; }

.lp-footer { background: var(--lp-footer-bg); color: var(--lp-footer-text); padding: 64px 0 24px; font-size: .92rem; }
.lp-footer .lp-brand { color: var(--lp-on-brand); }
.lp-footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.lp-footer h4 { color: var(--lp-on-brand); font-size: .95rem; margin-bottom: 14px; }
.lp-footer-grid > div > a { display: block; padding: 4px 0; }
.lp-footer a:hover { color: var(--lp-on-brand); }
.lp-footer-desc { margin: 14px 0; max-width: 340px; }
.lp-contact { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.lp-social { display: flex; gap: 10px; margin-top: 14px; font-size: 1.25rem; }
.lp-footer-bottom { border-top: 1px solid color-mix(in srgb, var(--lp-on-brand) 10%, transparent); margin-top: 44px; padding-top: 20px; font-size: .85rem; }

/* Educom School : bandeau d'inscription permanent (resources/views/pages/accueil.blade.php) */
.es-bandeau {
    position: relative; overflow: hidden; display: grid; grid-template-columns: 1.1fr .9fr; gap: 32px; align-items: center;
    padding: 48px 52px; border-radius: 28px; color: var(--lp-on-brand);
    background: linear-gradient(120deg, var(--lp-brand-2), color-mix(in srgb, var(--lp-brand-2) 55%, var(--lp-brand)));
}
.es-bandeau-eyebrow {
    display: inline-flex; align-items: center; gap: .4rem; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
    background: color-mix(in srgb, var(--lp-on-brand) 18%, transparent); padding: .35rem .75rem; border-radius: 999px; margin-bottom: 14px;
}
.es-bandeau h2 { font-size: clamp(1.5rem, 2.8vw, 2.1rem); font-weight: 800; margin-bottom: 10px; }
.es-bandeau p { opacity: .92; max-width: 480px; }
.es-bandeau-points { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-wrap: wrap; gap: 10px 20px; font-size: .88rem; font-weight: 600; }
.es-bandeau-points li { display: flex; align-items: center; gap: .4rem; }
.es-bandeau .lp-actions { margin-top: 24px; }
.es-bandeau-visuel { position: relative; display: flex; justify-content: center; align-items: center; min-height: 200px; }
.es-bandeau-halo { position: absolute; width: 230px; height: 230px; border-radius: 50%; background: color-mix(in srgb, var(--lp-on-brand) 16%, transparent); }
.es-bandeau-badge {
    position: absolute; bottom: 6px; right: 0; background: var(--lp-card); color: var(--lp-ink); border-radius: 999px;
    padding: .45rem .9rem; font-size: .8rem; font-weight: 700; box-shadow: var(--lp-shadow); display: inline-flex; align-items: center; gap: .4rem;
}
.es-bandeau-badge i { color: var(--lp-brand); }
@media (max-width: 1100px) {
    .es-bandeau { grid-template-columns: 1fr; padding: 36px 28px; text-align: center; }
    .es-bandeau-points { justify-content: center; }
    .es-bandeau .lp-actions { justify-content: center; }
    .es-bandeau-visuel { order: -1; }
}

/* Responsive */
@media (max-width: 1080px) {
    .lp-profiles { grid-template-columns: repeat(3, 1fr); }
    .lp-float-a { left: 12px; top: -18px; }
}
@media (max-width: 1100px) {
    .lp-hero-grid, .lp-why, .lp-faq { grid-template-columns: 1fr; gap: 40px; }
    .lp-modules, .lp-plans { grid-template-columns: repeat(2, 1fr); }
    .lp-values { grid-template-columns: 1fr; }
    .lp-footer-grid { grid-template-columns: 1fr 1fr; }
    .lp-links {
        display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; gap: 0;
        background: var(--lp-bg); border-bottom: 1px solid var(--lp-line); padding: 8px 20px 16px;
    }
    .lp-links.open { display: flex; }
    .lp-links a { padding: 12px 0; border-bottom: 1px solid var(--lp-line); }
    .lp-burger { display: block; }
}
@media (max-width: 640px) {
    .lp-container { padding: 0 16px; }
    .lp-hide-sm { display: none; }
    .lp-hero { padding-top: 40px; }
    .lp-section { padding: 64px 0; }
    .lp-modules, .lp-plans, .lp-profiles, .lp-why-list, .lp-footer-grid { grid-template-columns: 1fr; }
    .lp-kpis { grid-template-columns: 1fr 1fr; }
    .lp-kpis div:last-child { display: none; }
    .lp-float-b { display: none; }
    .lp-cta { padding: 32px 24px; margin-bottom: 64px; }
    .lp-actions .lp-btn { flex: 1; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
    html { scroll-behavior: auto; }
}

/* Section « Découvrir » : accès publics */
.lp-profiles-4 { grid-template-columns: repeat(4, 1fr); }
.lp-profiles article > a { display: inline-block; margin-top: 10px; font-weight: 700; font-size: .9rem; color: var(--lp-brand); text-decoration: none; }
.lp-profiles article > a:hover { text-decoration: underline; }
@media (max-width: 1020px) { .lp-profiles-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .lp-profiles-4 { grid-template-columns: 1fr; } }

/* Menu principal : une seule ligne, sans retour à la ligne des libellés */
.lp-brand span:last-child, .lp-links a, .lp-nav-cta .lp-btn { white-space: nowrap; }
.lp-links { gap: clamp(.7rem, 1.4vw, 1.4rem); font-size: .92rem; }
.lp-nav .lp-container { max-width: 1340px; }
@media (max-width: 1100px) { .lp-nav-cta .lp-btn-primary { display: none; } }
@media (max-width: 1100px) {
    .lp-links {
        display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; gap: 0;
        background: var(--lp-bg); border-bottom: 1px solid var(--lp-line); padding: 8px 20px 16px;
    }
    .lp-links.open { display: flex; }
    .lp-links a { padding: 12px 0; border-bottom: 1px solid var(--lp-line); }
    .lp-burger { display: block; }
}

/* Lot design 10/11/2026 : page plus simple, animée, adaptée aux petits écrans (couleurs = jetons du thème) */
.lp-reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease var(--d, 0ms), transform .6s ease var(--d, 0ms); }
.lp-reveal.lp-in { opacity: 1; transform: none; }
.lp-more { display: flex; justify-content: center; margin-top: 1.5rem; }
.lp-more[hidden], .lp-more button[hidden] { display: none; }
.lp-section { padding-block: clamp(2.5rem, 6vw, 5rem); }
.lp-profiles article, .lp-module, .lp-why-list li, .lp-steps li { transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.lp-profiles article:hover, .lp-module:hover, .lp-steps li:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(var(--edu-color-primary-rgb, 10, 132, 255), .14); border-color: rgba(var(--edu-color-primary-rgb, 10, 132, 255), .35); }
.lp-module-icon { transition: transform .3s ease; }
.lp-module:hover .lp-module-icon { transform: scale(1.12) rotate(-4deg); }
.lp-bars span { transform-origin: bottom; animation: lp-grow 1s ease both; }
.lp-bars span:nth-child(2) { animation-delay: .08s; } .lp-bars span:nth-child(3) { animation-delay: .16s; } .lp-bars span:nth-child(4) { animation-delay: .24s; }
.lp-bars span:nth-child(5) { animation-delay: .32s; } .lp-bars span:nth-child(6) { animation-delay: .4s; } .lp-bars span:nth-child(7) { animation-delay: .48s; } .lp-bars span:nth-child(8) { animation-delay: .56s; }
@keyframes lp-grow { from { transform: scaleY(0); } to { transform: scaleY(1); } }
.lp-float-a { animation: lp-flotte 5s ease-in-out infinite; } .lp-float-b { animation: lp-flotte 6s ease-in-out infinite reverse; }
@keyframes lp-flotte { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.lp-tabs { display: flex; gap: .5rem; overflow-x: auto; scrollbar-width: none; justify-content: center; padding-bottom: .25rem; }
.lp-tabs::-webkit-scrollbar { display: none; }
.lp-tabs button { white-space: nowrap; }
@media (max-width: 640px) {
    .lp-tabs { justify-content: flex-start; }
    .lp-actions { flex-direction: column; align-items: stretch; }
    .lp-actions .lp-btn { justify-content: center; }
    .lp-values { gap: 1rem; }
}
@media (prefers-reduced-motion: reduce) {
    .lp-reveal { opacity: 1; transform: none; transition: none; }
    .lp-bars span, .lp-float-a, .lp-float-b { animation: none; }
    .lp-profiles article:hover, .lp-module:hover, .lp-steps li:hover { transform: none; }
}

/* Menu du haut regroupé : Modules, Marketplace, Découvrir (liste), Offres, Contact */
.lp-links { align-items: center; }
.lp-drop { position: relative; }
.lp-drop-btn { background: none; border: 0; font: inherit; color: inherit; cursor: pointer; display: inline-flex; align-items: center; gap: .25rem; padding: 0; white-space: nowrap; }
.lp-drop-btn:hover, .lp-drop.ouvert .lp-drop-btn { color: var(--lp-brand); }
.lp-drop-btn i { transition: transform .2s ease; }
.lp-drop.ouvert .lp-drop-btn i { transform: rotate(180deg); }
.lp-drop-menu { display: none; position: absolute; top: calc(100% + .6rem); left: -.75rem; min-width: 220px; padding: .4rem; background: #fff; border: 1px solid var(--lp-line, #e5e7eb); border-radius: var(--edu-radius-md, 12px); box-shadow: 0 14px 30px rgba(0,0,0,.12); z-index: 50; }
.lp-drop.ouvert .lp-drop-menu { display: block; animation: lp-in-menu .18s ease; }
.lp-drop-menu a { display: block; padding: .55rem .75rem; border-radius: 8px; border: 0 !important; }
.lp-drop-menu a:hover { background: rgba(var(--edu-color-primary-rgb, 10, 132, 255), .08); }
@keyframes lp-in-menu { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
@media (max-width: 1100px) {
    .lp-drop-menu { position: static; display: none; box-shadow: none; border: 0; padding: 0 0 0 .75rem; }
    .lp-drop-btn { padding: 12px 0; width: 100%; justify-content: space-between; border-bottom: 1px solid var(--lp-line); }
}

/* Mise en avant créateur / marketplace (menu + accueil) */
.lp-links a.lp-star { display: inline-flex; align-items: center; gap: .35rem; padding: .35rem .8rem; border-radius: var(--edu-radius-pill, 999px); background: rgba(var(--edu-color-primary-rgb, 10, 132, 255), .09); color: var(--lp-brand); font-weight: 600; }
.lp-links a.lp-star:hover, .lp-links a.est-actif.lp-star { background: rgba(var(--edu-color-primary-rgb, 10, 132, 255), .18); }
.lp-links a.lp-star-plein { background: var(--lp-brand); color: #fff; }
.lp-links a.lp-star-plein:hover { background: var(--lp-brand); filter: brightness(1.08); color: #fff; }
.lp-portes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.lp-porte { position: relative; display: flex; flex-direction: column; gap: .5rem; padding: 1.6rem; border-radius: var(--edu-radius-xl, 24px); background: #fff; border: 1px solid var(--lp-line, #e5e7eb); text-decoration: none; color: inherit; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.lp-porte:hover { transform: translateY(-6px); box-shadow: 0 18px 36px rgba(var(--edu-color-primary-rgb, 10, 132, 255), .18); border-color: rgba(var(--edu-color-primary-rgb, 10, 132, 255), .4); }
.lp-porte-ico { display: grid; place-items: center; width: 3.2rem; height: 3.2rem; border-radius: var(--edu-radius-lg, 16px); background: rgba(var(--edu-color-primary-rgb, 10, 132, 255), .1); color: var(--lp-brand); font-size: 1.6rem; transition: transform .3s ease; }
.lp-porte:hover .lp-porte-ico { transform: scale(1.1) rotate(-5deg); }
.lp-porte h3 { margin: .3rem 0 0; font-size: 1.2rem; font-weight: 800; }
.lp-porte p { margin: 0; color: var(--lp-muted); flex: 1; }
.lp-porte b { color: var(--lp-brand); display: inline-flex; align-items: center; gap: .35rem; }
.lp-porte-vedette { background: linear-gradient(160deg, var(--lp-brand), rgba(var(--edu-color-primary-rgb, 10, 132, 255), .75)); color: #fff; border-color: transparent; }
.lp-porte-vedette p, .lp-porte-vedette b { color: #fff; }
.lp-porte-vedette .lp-porte-ico { background: rgba(255,255,255,.2); color: #fff; }
.lp-porte-badge { position: absolute; top: 1rem; right: 1rem; font-size: .72rem; font-weight: 800; padding: .2rem .6rem; border-radius: var(--edu-radius-pill, 999px); background: #fff; color: var(--lp-brand); }
@media (max-width: 900px) { .lp-portes { grid-template-columns: 1fr; } }
@media (max-width: 1100px) { .lp-links a.lp-star { padding: 12px 0; border-radius: 0; background: none; color: inherit; } .lp-links a.lp-star-plein { color: var(--lp-brand); background: none; } }

/* Bandeau bonus/promotions plateforme (lot B3, docs/refonte/41-BONUS-PROMOTIONS.md) */
.lp-bonus-bar { background: var(--lp-brand); color: var(--lp-on-brand); }
.lp-bonus-bar-inner { display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; align-items: center; justify-content: center; padding: .55rem 20px; font-size: .9rem; }
.lp-bonus-chip { display: inline-flex; align-items: center; gap: .4rem; }
.lp-bonus-chip code { background: color-mix(in srgb, var(--lp-on-brand) 20%, transparent); padding: .1rem .5rem; border-radius: 999px; font-weight: 700; letter-spacing: .03em; }
@media (prefers-reduced-motion: reduce) { .lp-porte:hover { transform: none; } }
