/*!
 * EASY ACADEMY — Lecteur de cours, panier et tunnel d'achat (Phase 7)
 * Complète app.css : aucune règle du design system n'est redéfinie ici.
 */

/* ==================================================================
   1. LECTEUR DE DIAPOSITIVES
   ================================================================== */

.ea-player {
    background: var(--ea-navy);
    border-radius: var(--ea-radius-lg);
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(10, 31, 68, .35);
    position: relative;
}

.ea-player:fullscreen {
    border-radius: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.ea-player:fullscreen .ea-player-stage { flex: 1; }

/* --- Scène --------------------------------------------------------- */

.ea-player-stage {
    position: relative;
    aspect-ratio: 16 / 9;
    min-height: 320px;
    background:
        radial-gradient(1000px 500px at 12% -10%, rgba(30, 94, 255, .38), transparent 60%),
        radial-gradient(800px 460px at 105% 110%, rgba(18, 155, 138, .30), transparent 62%),
        linear-gradient(160deg, #081936 0%, #0A1F44 55%, #102a5c 100%);
    overflow: hidden;
}

.ea-player-slides {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(1.5rem, 4vw, 3.5rem);
}

/* --- Diapositive --------------------------------------------------- */

.ea-slide {
    width: 100%;
    max-width: 900px;
    color: #fff;
    opacity: 0;
    transform: translateY(18px) scale(.985);
    transition: opacity .45s ease, transform .55s cubic-bezier(.2, .8, .2, 1);
}

.ea-slide.is-in {
    opacity: 1;
    transform: none;
}

.ea-slide-eyebrow {
    text-transform: uppercase;
    letter-spacing: .14em;
    font-size: .72rem;
    font-weight: 700;
    color: var(--ea-gold-light);
    margin-bottom: .5rem;
}

.ea-slide-title {
    font-size: clamp(1.45rem, 3.4vw, 2.5rem);
    font-weight: 800;
    line-height: 1.18;
    margin-bottom: 1rem;
    text-wrap: balance;
}

.ea-slide-goal {
    font-size: clamp(.95rem, 1.6vw, 1.15rem);
    color: rgba(255, 255, 255, .82);
    max-width: 46ch;
    margin: 0 auto;
}

.ea-slide-goal .bi { color: var(--ea-emerald-light); margin-inline-end: .4rem; }

.ea-slide-prompt {
    color: var(--ea-emerald-light);
    font-weight: 600;
    margin-bottom: 1rem;
}

/* Couverture et fin : composition centrée */
.ea-slide-cover { text-align: center; }

.ea-slide-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 74px;
    height: 74px;
    border-radius: 50%;
    font-size: 2rem;
    margin-bottom: 1.1rem;
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .22);
    color: #fff;
    animation: ea-slide-pulse 3.2s ease-in-out infinite;
}

.ea-slide-icon.sm {
    width: 48px;
    height: 48px;
    font-size: 1.25rem;
    margin-bottom: .75rem;
}

@keyframes ea-slide-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, .16); }
    50%      { box-shadow: 0 0 0 16px rgba(255, 255, 255, 0); }
}

/* Puces */
.ea-slide-bullets,
.ea-slide-checklist,
.ea-slide-dialogue {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: .7rem;
}

.ea-slide-bullets li,
.ea-slide-checklist li,
.ea-slide-dialogue li {
    display: flex;
    align-items: flex-start;
    gap: .75rem;
    font-size: clamp(.95rem, 1.55vw, 1.2rem);
    line-height: 1.5;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 12px;
    padding: .7rem .95rem;
}

.ea-slide-bullets .bi {
    color: var(--ea-emerald-light);
    font-size: 1.15rem;
    flex-shrink: 0;
    margin-top: .1rem;
}

.ea-slide-dialogue li {
    font-family: 'Georgia', 'Times New Roman', serif;
    background: rgba(233, 168, 32, .1);
    border-color: rgba(233, 168, 32, .28);
}

.ea-slide-dialogue .bi { color: var(--ea-gold-light); flex-shrink: 0; }

.ea-slide-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--ea-gold);
    color: var(--ea-navy);
    font-weight: 800;
    font-size: .85rem;
}

.ea-slide-quote { text-align: center; }
.ea-quote-mark { font-size: 2.5rem; color: var(--ea-gold-light); }
.ea-slide-quote blockquote {
    font-size: clamp(1.2rem, 2.6vw, 1.9rem);
    font-weight: 600;
    line-height: 1.35;
}
.ea-slide-quote cite { color: rgba(255, 255, 255, .7); font-style: normal; }

.ea-slide-stat {
    font-size: clamp(2.4rem, 8vw, 5rem);
    font-weight: 800;
    color: var(--ea-gold-light);
    line-height: 1;
    margin-bottom: 1rem;
}

/* Accents par diapositive */
.ea-slide.accent-emerald .ea-slide-icon { background: rgba(18, 155, 138, .22); border-color: rgba(127, 216, 200, .4); }
.ea-slide.accent-gold    .ea-slide-icon { background: rgba(233, 168, 32, .22); border-color: rgba(246, 199, 94, .45); }
.ea-slide.accent-royal   .ea-slide-icon { background: rgba(30, 94, 255, .28); border-color: rgba(120, 160, 255, .45); }

/* Révélation progressive, au rythme exact de la narration */
.ea-reveal {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity .4s ease, transform .45s cubic-bezier(.2, .8, .2, 1);
}

.ea-reveal.is-visible {
    opacity: 1;
    transform: none;
}

/* --- Voile de démarrage -------------------------------------------- */

.ea-player-curtain {
    position: absolute;
    inset: 0;
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .35rem;
    border: 0;
    background: rgba(8, 25, 54, .72);
    backdrop-filter: blur(3px);
    color: #fff;
    cursor: pointer;
    transition: opacity .35s ease, visibility .35s;
}

.ea-player-curtain.is-hidden {
    opacity: 0;
    visibility: hidden;
}

.ea-curtain-play {
    width: 84px;
    height: 84px;
    border-radius: 50%;
    background: var(--ea-royal);
    display: grid;
    place-items: center;
    font-size: 2.4rem;
    box-shadow: 0 12px 40px rgba(30, 94, 255, .5);
    transition: transform .25s ease;
}

.ea-player-curtain:hover .ea-curtain-play { transform: scale(1.08); }
.ea-curtain-label { font-weight: 700; font-size: 1.05rem; margin-top: .6rem; }
.ea-curtain-hint  { font-size: .82rem; color: rgba(255, 255, 255, .65); }

/* --- Barre de progression de la diapositive ------------------------ */

.ea-player-slidebar {
    position: absolute;
    inset-inline: 0;
    bottom: 0;
    height: 3px;
    background: rgba(255, 255, 255, .12);
}

.ea-player-slidebar span {
    display: block;
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, var(--ea-emerald), var(--ea-gold));
    transition: width .18s linear;
}

/* --- Contrôles ----------------------------------------------------- */

.ea-player-controls {
    display: flex;
    align-items: center;
    gap: .4rem;
    padding: .6rem .8rem;
    background: #061530;
    flex-wrap: wrap;
}

.ea-pbtn {
    border: 0;
    background: transparent;
    color: rgba(255, 255, 255, .8);
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    font-size: 1.05rem;
    cursor: pointer;
    transition: background .2s ease, color .2s ease;
}

.ea-pbtn:hover:not(:disabled) { background: rgba(255, 255, 255, .12); color: #fff; }
.ea-pbtn:disabled { opacity: .3; cursor: not-allowed; }
.ea-pbtn.is-active { color: var(--ea-gold-light); background: rgba(233, 168, 32, .16); }

.ea-pbtn-main {
    background: var(--ea-royal);
    color: #fff;
    width: 44px;
    height: 44px;
    font-size: 1.3rem;
}

.ea-pbtn-main:hover:not(:disabled) { background: var(--ea-royal-dark); color: #fff; }

.ea-pbtn-text {
    width: auto;
    padding-inline: .6rem;
    font-size: .85rem;
    font-weight: 700;
}

.ea-player-counter {
    color: rgba(255, 255, 255, .6);
    font-size: .8rem;
    font-variant-numeric: tabular-nums;
    margin-inline: .5rem;
    white-space: nowrap;
}

.ea-player-track {
    flex: 1;
    min-width: 90px;
    height: 5px;
    border-radius: 99px;
    background: rgba(255, 255, 255, .14);
    overflow: hidden;
}

.ea-player-track span {
    display: block;
    height: 100%;
    background: var(--ea-emerald);
    transition: width .3s ease;
}

.ea-player-time { color: rgba(255, 255, 255, .5); font-size: .78rem; }

.ea-player-voice {
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .16);
    color: #fff;
    border-radius: 8px;
    font-size: .78rem;
    padding: .3rem .4rem;
    max-width: 130px;
}

.ea-player-voice option { color: #1B2437; }

/* --- Transcription -------------------------------------------------- */

.ea-player-transcript {
    background: #0A1F44;
    color: rgba(255, 255, 255, .88);
    padding: 1rem 1.2rem;
    font-size: .92rem;
    line-height: 1.65;
    border-top: 1px solid rgba(255, 255, 255, .08);
    max-height: 190px;
    overflow-y: auto;
}

.ea-player-transcript strong { color: var(--ea-gold-light); display: block; margin-bottom: .3rem; }
.ea-player-transcript p { margin: 0; }

/* --- Pastilles ------------------------------------------------------ */

.ea-player-dots {
    display: flex;
    gap: 5px;
    padding: .55rem .8rem;
    background: #061530;
    flex-wrap: wrap;
}

.ea-player-dot {
    flex: 1;
    min-width: 12px;
    height: 5px;
    border: 0;
    border-radius: 99px;
    background: rgba(255, 255, 255, .16);
    cursor: pointer;
    transition: background .2s ease;
    padding: 0;
}

.ea-player-dot.is-seen { background: rgba(127, 216, 200, .55); }
.ea-player-dot.is-current { background: var(--ea-gold); }
.ea-player-dot:hover { background: rgba(255, 255, 255, .45); }

/* ==================================================================
   2. PAGE DU LECTEUR (mise en page complète)
   ================================================================== */

.ea-learn-body { background: #071731; color: #fff; }

.ea-learn-topbar {
    background: #061530;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    padding: .55rem 0;
    position: sticky;
    top: 0;
    z-index: 1030;
}

.ea-learn-topbar a { color: rgba(255, 255, 255, .85); text-decoration: none; }
.ea-learn-topbar a:hover { color: #fff; }

.ea-learn-progress {
    width: 120px;
    height: 6px;
    border-radius: 99px;
    background: rgba(255, 255, 255, .16);
    overflow: hidden;
}

.ea-learn-progress span { display: block; height: 100%; background: var(--ea-emerald); }

.ea-learn-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 1.25rem;
    align-items: start;
    padding: 1.25rem 0 3rem;
}

@media (max-width: 991.98px) {
    .ea-learn-layout { grid-template-columns: minmax(0, 1fr); }
}

.ea-learn-sidebar {
    background: #0A1F44;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: var(--ea-radius);
    overflow: hidden;
    position: sticky;
    top: 70px;
    max-height: calc(100vh - 90px);
    display: flex;
    flex-direction: column;
}

.ea-learn-sidebar-head {
    padding: .9rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.ea-learn-sidebar-body { overflow-y: auto; }

.ea-learn-section {
    border-bottom: 1px solid rgba(255, 255, 255, .06);
}

.ea-learn-section-head {
    width: 100%;
    text-align: start;
    background: transparent;
    border: 0;
    color: #fff;
    padding: .75rem 1rem;
    font-size: .9rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: .5rem;
    cursor: pointer;
}

.ea-learn-section-head:hover { background: rgba(255, 255, 255, .05); }
.ea-learn-section-head small { color: rgba(255, 255, 255, .5); font-weight: 400; }

.ea-learn-lesson {
    display: flex;
    align-items: flex-start;
    gap: .6rem;
    padding: .6rem 1rem .6rem 1.15rem;
    color: rgba(255, 255, 255, .78);
    text-decoration: none;
    font-size: .86rem;
    border-inline-start: 3px solid transparent;
    transition: background .18s ease;
}

.ea-learn-lesson:hover { background: rgba(255, 255, 255, .06); color: #fff; }
.ea-learn-lesson.is-current {
    background: rgba(30, 94, 255, .2);
    border-inline-start-color: var(--ea-gold);
    color: #fff;
}
.ea-learn-lesson.is-locked { opacity: .5; cursor: not-allowed; }
.ea-learn-lesson .bi { flex-shrink: 0; margin-top: .15rem; }
.ea-learn-lesson.is-done .bi-check-circle-fill { color: var(--ea-emerald-light); }
.ea-learn-lesson-meta { color: rgba(255, 255, 255, .45); font-size: .74rem; }

.ea-learn-main-card {
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: var(--ea-radius);
    padding: 1.1rem 1.25rem;
    color: rgba(255, 255, 255, .85);
}

.ea-learn-main-card h2 { color: #fff; font-size: 1.05rem; font-weight: 700; }

.ea-learn-tabs .nav-link {
    color: rgba(255, 255, 255, .65);
    border: 0;
    border-bottom: 2px solid transparent;
    border-radius: 0;
}
.ea-learn-tabs .nav-link.active {
    color: #fff;
    background: transparent;
    border-bottom-color: var(--ea-gold);
}

.ea-learn-upsell {
    background: linear-gradient(135deg, rgba(30, 94, 255, .28), rgba(18, 155, 138, .22));
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: var(--ea-radius);
    padding: 1.25rem;
}

/* ==================================================================
   3. FICHE FORMATION — aperçu et achat
   ================================================================== */

.ea-preview-trigger {
    position: relative;
    display: block;
    width: 100%;
    border: 0;
    padding: 0;
    background: transparent;
    cursor: pointer;
    overflow: hidden;
}

.ea-preview-trigger img { width: 100%; display: block; }

.ea-preview-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .4rem;
    background: linear-gradient(180deg, rgba(10, 31, 68, .18), rgba(10, 31, 68, .74));
    color: #fff;
    font-weight: 600;
    font-size: .9rem;
    transition: background .25s ease;
}

.ea-preview-trigger:hover .ea-preview-overlay { background: rgba(10, 31, 68, .62); }

.ea-preview-overlay i {
    font-size: 2.6rem;
    filter: drop-shadow(0 6px 18px rgba(0, 0, 0, .45));
}

.ea-lesson-preview-btn {
    border: 0;
    background: transparent;
    color: var(--ea-royal);
    font-weight: 600;
    font-size: .8rem;
    padding: .1rem .5rem;
    border-radius: 99px;
    cursor: pointer;
}

.ea-lesson-preview-btn:hover { background: rgba(30, 94, 255, .1); }

.ea-rating-bars { display: grid; gap: .35rem; }
.ea-rating-bar-row { display: flex; align-items: center; gap: .5rem; font-size: .82rem; }
.ea-rating-bar {
    flex: 1;
    height: 8px;
    background: var(--ea-border);
    border-radius: 99px;
    overflow: hidden;
}
.ea-rating-bar span { display: block; height: 100%; background: var(--ea-gold); }

.ea-sticky-buy { position: sticky; top: 90px; }

.ea-price-block { display: flex; align-items: baseline; gap: .6rem; flex-wrap: wrap; }
.ea-price-now { font-size: 2rem; font-weight: 800; color: var(--ea-navy); line-height: 1; }
.ea-price-old { color: var(--ea-text-muted); text-decoration: line-through; }
.ea-price-off {
    background: rgba(233, 168, 32, .16);
    color: #8a6100;
    font-weight: 700;
    font-size: .78rem;
    padding: .15rem .5rem;
    border-radius: 99px;
}

.ea-countdown {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    color: #c0392b;
    font-weight: 600;
    font-size: .85rem;
}

/* Barre d'achat mobile fixée en bas */
.ea-buybar {
    position: fixed;
    inset-inline: 0;
    bottom: 0;
    z-index: 1040;
    background: #fff;
    border-top: 1px solid var(--ea-border);
    box-shadow: 0 -6px 22px rgba(10, 31, 68, .12);
    padding: .6rem .9rem;
    display: none;
    align-items: center;
    gap: .75rem;
}

@media (max-width: 991.98px) {
    .ea-buybar { display: flex; }
    body.has-buybar { padding-bottom: 76px; }
}

/* ==================================================================
   4. PANIER ET TUNNEL D'ACHAT
   ================================================================== */

.ea-steps {
    display: flex;
    align-items: center;
    gap: .5rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.ea-step {
    display: flex;
    align-items: center;
    gap: .5rem;
    color: var(--ea-text-muted);
    font-size: .88rem;
    font-weight: 600;
}

.ea-step-num {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--ea-border);
    color: var(--ea-text-muted);
    font-size: .85rem;
    font-weight: 700;
}

.ea-step.is-active { color: var(--ea-navy); }
.ea-step.is-active .ea-step-num { background: var(--ea-royal); color: #fff; }
.ea-step.is-done .ea-step-num { background: var(--ea-emerald); color: #fff; }
.ea-step-sep { flex: 1; height: 2px; background: var(--ea-border); min-width: 20px; max-width: 60px; }

.ea-cart-item {
    display: flex;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--ea-border);
}

.ea-cart-item:last-child { border-bottom: 0; }
.ea-cart-thumb { width: 130px; flex-shrink: 0; border-radius: 10px; overflow: hidden; }
.ea-cart-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }

@media (max-width: 575.98px) {
    .ea-cart-thumb { width: 92px; }
}

.ea-summary { position: sticky; top: 90px; }

.ea-summary-row {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: .35rem 0;
    font-size: .92rem;
}

.ea-summary-total {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    border-top: 1px solid var(--ea-border);
    margin-top: .6rem;
    padding-top: .7rem;
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--ea-navy);
}

/* Moyens de paiement */
.ea-pay-option {
    display: flex;
    align-items: center;
    gap: .9rem;
    border: 2px solid var(--ea-border);
    border-radius: var(--ea-radius);
    padding: .9rem 1rem;
    cursor: pointer;
    transition: border-color .2s ease, background .2s ease, transform .2s ease;
    background: #fff;
    margin-bottom: .7rem;
}

.ea-pay-option:hover { border-color: rgba(30, 94, 255, .45); transform: translateY(-1px); }

.ea-pay-option input { margin: 0; flex-shrink: 0; }

.ea-pay-option.is-selected {
    border-color: var(--ea-royal);
    background: rgba(30, 94, 255, .04);
    box-shadow: 0 6px 20px rgba(30, 94, 255, .12);
}

.ea-pay-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    font-size: 1.35rem;
    color: #fff;
    flex-shrink: 0;
}

.ea-pay-orange_money { background: linear-gradient(135deg, #ff7900, #ff9f45); }
.ea-pay-wave         { background: linear-gradient(135deg, #1dc4e9, #4fd8f5); }
.ea-pay-moov_money   { background: linear-gradient(135deg, #0057b8, #3b86e0); }
.ea-pay-card         { background: linear-gradient(135deg, #1a1f71, #4d54b8); }
.ea-pay-bank         { background: linear-gradient(135deg, var(--ea-navy), #26497f); }

.ea-pay-phone { display: none; padding: .25rem 0 0 4.1rem; }
.ea-pay-option.is-selected + .ea-pay-phone { display: block; }

.ea-demo-banner {
    background: rgba(233, 168, 32, .12);
    border: 1px dashed var(--ea-gold);
    color: #7a5600;
    border-radius: var(--ea-radius);
    padding: .8rem 1rem;
    font-size: .88rem;
}

.ea-success-check {
    width: 92px;
    height: 92px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(18, 155, 138, .12);
    color: var(--ea-emerald);
    font-size: 3rem;
    margin: 0 auto 1.2rem;
    animation: ea-pop .5s cubic-bezier(.2, 1.4, .4, 1);
}

@keyframes ea-pop {
    from { transform: scale(.5); opacity: 0; }
    to   { transform: scale(1); opacity: 1; }
}

.ea-spinner-dots span {
    display: inline-block;
    width: 9px;
    height: 9px;
    margin: 0 3px;
    border-radius: 50%;
    background: var(--ea-royal);
    animation: ea-bounce 1.2s infinite ease-in-out;
}
.ea-spinner-dots span:nth-child(2) { animation-delay: .15s; }
.ea-spinner-dots span:nth-child(3) { animation-delay: .3s; }

@keyframes ea-bounce {
    0%, 80%, 100% { transform: scale(.6); opacity: .5; }
    40%           { transform: scale(1); opacity: 1; }
}

/* Badge panier de l'en-tête */
.ea-cart-badge {
    position: absolute;
    top: -4px;
    inset-inline-end: -6px;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    border-radius: 99px;
    background: var(--ea-gold);
    color: var(--ea-navy);
    font-size: .68rem;
    font-weight: 800;
    display: grid;
    place-items: center;
}

.ea-cart-link { position: relative; }

/* ==================================================================
   5. ESPACE MEMBRE
   ================================================================== */

.ea-progress-ring { --ea-p: 0; position: relative; width: 46px; height: 46px; flex-shrink: 0; }

.ea-progress-ring::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: conic-gradient(var(--ea-emerald) calc(var(--ea-p) * 1%), var(--ea-border) 0);
}

.ea-progress-ring::after {
    content: attr(data-label);
    position: absolute;
    inset: 5px;
    border-radius: 50%;
    background: #fff;
    display: grid;
    place-items: center;
    font-size: .66rem;
    font-weight: 800;
    color: var(--ea-navy);
}

.ea-order-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: .9rem 0;
    border-bottom: 1px solid var(--ea-border);
    flex-wrap: wrap;
}

.ea-order-row:last-child { border-bottom: 0; }

.ea-plan-card {
    border: 2px solid var(--ea-border);
    border-radius: var(--ea-radius-lg);
    padding: 1.4rem;
    height: 100%;
    background: #fff;
    transition: border-color .2s ease, transform .2s ease;
}

.ea-plan-card:hover { border-color: rgba(30, 94, 255, .4); transform: translateY(-2px); }
.ea-plan-card.is-current { border-color: var(--ea-emerald); }

.ea-plan-price { font-size: 1.9rem; font-weight: 800; color: var(--ea-navy); }

/* ==================================================================
   6. FORMULAIRE DE CRÉATION DE COMPTE
   ================================================================== */

.ea-form-legend {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--ea-navy);
    margin: 0 0 .75rem;
    text-align: start;
}

.ea-form-legend span {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--ea-royal);
    color: #fff;
    display: grid;
    place-items: center;
    font-size: .72rem;
    flex-shrink: 0;
}

.ea-form-legend::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--ea-border);
}

.ea-field-hint {
    display: flex;
    align-items: flex-start;
    gap: .35rem;
    font-size: .76rem;
    line-height: 1.45;
    color: var(--ea-text-muted);
    margin: .3rem 0 0;
    text-align: start;
}

.ea-field-hint .bi { color: var(--ea-emerald); margin-top: .1rem; flex-shrink: 0; }
.ea-field-hint.is-error { color: #c0392b; }
.ea-field-hint.is-error .bi { color: #c0392b; }
.ea-field-hint.is-ok { color: #157347; }

.ea-field-state { background: #fff; }
.ea-field-state.is-ok    { color: var(--ea-emerald); }
.ea-field-state.is-error { color: #c0392b; }
.ea-field-state.is-busy  { color: var(--ea-text-muted); }

/* Robustesse du mot de passe */
.ea-strength { display: flex; align-items: center; gap: .6rem; }

.ea-strength-bar {
    flex: 1;
    height: 6px;
    border-radius: 99px;
    background: var(--ea-border);
    overflow: hidden;
}

.ea-strength-bar span {
    display: block;
    height: 100%;
    width: 0;
    border-radius: 99px;
    transition: width .3s ease, background .3s ease;
}

.ea-strength-label { font-size: .74rem; font-weight: 700; min-width: 5.5rem; text-align: end; }

.ea-strength[data-level="1"] .ea-strength-bar span { width: 25%;  background: #d9534f; }
.ea-strength[data-level="2"] .ea-strength-bar span { width: 50%;  background: #e9a820; }
.ea-strength[data-level="3"] .ea-strength-bar span { width: 78%;  background: #3fa66b; }
.ea-strength[data-level="4"] .ea-strength-bar span { width: 100%; background: var(--ea-emerald); }

.ea-strength[data-level="1"] .ea-strength-label { color: #d9534f; }
.ea-strength[data-level="2"] .ea-strength-label { color: #b07d10; }
.ea-strength[data-level="3"] .ea-strength-label,
.ea-strength[data-level="4"] .ea-strength-label { color: #157347; }

.ea-password-rules {
    list-style: none;
    padding: 0;
    margin: .6rem 0 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: .15rem .7rem;
    text-align: start;
}

.ea-password-rules li {
    display: flex;
    align-items: center;
    gap: .35rem;
    font-size: .74rem;
    color: var(--ea-text-muted);
    transition: color .2s ease;
}

.ea-password-rules li .bi { font-size: .7rem; }
.ea-password-rules li.is-met { color: #157347; }
.ea-password-rules li.is-met .bi::before { content: "\F26E"; } /* bi-check-circle-fill */

/* Écran « vérifiez votre boîte de réception » */
.ea-verify-icon {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    margin: 0 auto 1.2rem;
    font-size: 2.4rem;
    color: var(--ea-royal);
    background: rgba(30, 94, 255, .1);
    position: relative;
}

.ea-verify-icon::after {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 2px solid rgba(30, 94, 255, .28);
    animation: ea-halo 2.4s ease-out infinite;
}

@keyframes ea-halo {
    0%   { transform: scale(.9); opacity: .9; }
    100% { transform: scale(1.25); opacity: 0; }
}

.ea-verify-steps {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: start;
    counter-reset: step;
}

.ea-verify-steps li {
    display: flex;
    gap: .7rem;
    padding: .5rem 0;
    font-size: .88rem;
    color: var(--ea-text);
}

.ea-verify-steps li::before {
    counter-increment: step;
    content: counter(step);
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--ea-navy);
    color: #fff;
    display: grid;
    place-items: center;
    font-size: .74rem;
    font-weight: 700;
}

@media print {
    .ea-no-print, .ea-navbar, .ea-topbar, footer { display: none !important; }
    body { background: #fff; }
}

@media (prefers-reduced-motion: reduce) {
    .ea-slide, .ea-reveal, .ea-slide-icon, .ea-success-check, .ea-spinner-dots span {
        animation: none !important;
        transition: none !important;
        transform: none !important;
        opacity: 1 !important;
    }
}
