/* ==========================================================================
   Tarif early-bird EMBA : bandeau, mention dans la box d'inscription, pop-up
   Retiré automatiquement après le 31 janvier 2027 (voir assets/js/early-bird.js)
   ========================================================================== */

/* ---------- Bandeau en haut de page ---------- */
.eb-banner {
    position: relative;
    background-color: #0e2c44;
    color: #fff;
    font-family: Sofia Pro, sans-serif;
    font-size: 17px;
    line-height: 1.3;
    padding: 10px 64px;
}

.eb-banner__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px 16px;
}

.eb-tag {
    display: inline-block;
    background-color: #c7f35e;
    color: #0e2c44;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 6px;
}

.eb-banner strong {
    color: #c7f35e;
    font-weight: 700;
}

.eb-link-btn {
    background: none;
    border: 0;
    padding: 0;
    font: inherit;
    font-weight: 500;
    color: #c7f35e;
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
}

.eb-link-btn:hover,
.eb-link-btn:focus {
    color: #fff;
}

.eb-banner__close {
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #fff;
    cursor: pointer;
}

@media (max-width: 767.98px) {
    .eb-banner {
        font-size: 15px;
        padding: 8px 48px 8px 16px;
    }

    .eb-banner__inner {
        justify-content: flex-start;
    }

    .eb-tag {
        font-size: 11px;
        padding: 3px 8px;
    }

    .eb-banner__close {
        right: 2px;
    }
}

/* ---------- Mention dans la box « Processus d'inscription » ---------- */
.eb-mention {
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, .25);
}

.eb-mention p {
    margin: 0;
    color: #c7f35e;
    font-size: 20px;
    font-weight: 500;
    line-height: 26px;
}

.eb-mention .eb-link-btn {
    margin-top: 6px;
    color: #fff;
    font-size: 16px;
    font-weight: 400;
}

.eb-mention .eb-link-btn:hover,
.eb-mention .eb-link-btn:focus {
    color: #c7f35e;
}

/* ---------- Pop-up ---------- */
.eb-modal .modal-dialog {
    max-width: 640px;
}

.eb-modal .modal-content {
    border: 0;
    border-radius: 16px;
    padding: 44px 48px 40px;
    font-family: Sofia Pro, sans-serif;
    color: #0e2c44;
}

.eb-modal .close {
    position: absolute;
    top: 12px;
    right: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    background: transparent;
    opacity: 1;
}

.eb-modal__title {
    margin: 10px 0 24px;
    font-size: 36px;
    font-weight: 700;
    line-height: 1.1;
}

.eb-price {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 6px 14px;
    margin-bottom: 24px;
    padding: 20px 24px;
    border-radius: 12px;
    background-color: #f7f1ea;
}

.eb-price__amount {
    font-size: 40px;
    font-weight: 700;
    line-height: 1.05;
}

.eb-price__detail {
    font-size: 18px;
    color: #4a5560;
}

.eb-conditions-title {
    margin: 0 0 12px;
    font-size: 18px;
    font-weight: 500;
}

.eb-conditions {
    margin: 0 0 20px;
    padding: 0;
    list-style: none;
}

.eb-conditions li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 10px;
    font-size: 17px;
    line-height: 1.4;
    color: #212529;
}

.eb-conditions svg {
    flex: none;
    margin-top: 1px;
}

.eb-note {
    margin: 0 0 24px;
    font-size: 14px;
    line-height: 1.4;
    color: #4a5560;
}

.eb-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px 24px;
}

.eb-actions__link {
    color: #0e2c44;
    font-size: 18px;
    font-weight: 500;
    text-decoration: underline;
    text-underline-offset: 3px;
}

@media (max-width: 575.98px) {
    .eb-modal .modal-content {
        padding: 48px 20px 28px;
    }

    .eb-modal__title {
        font-size: 30px;
    }

    .eb-price {
        padding: 16px;
    }

    .eb-price__amount {
        font-size: 30px;
    }
}
