/* Overlay plein écran */
.b07-popup-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.55);
    justify-content: center;
    align-items: center;
    z-index: 9999;
    padding: 1.5rem;
}

/* Classe activée quand la popup doit être visible */
.b07-popup-overlay.b07-popup-visible {
    display: flex;
}

/* Carte popup */
.b07-popup {
    position: relative;
    background: #ffffff;
    border-radius: 16px;
    padding: 24px 32px 26px;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.35);
    max-width: 560px;
    width: min(560px, calc(100% - 32px));
    overflow: hidden;
    outline: none;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: #111827;
    display: flex;
    flex-direction: column;
    gap: 12px;
    text-align: center;
}

/* Corps de la popup */
.b07-popup-body {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
}

/* Texte "Un nouvel article vient de paraître" */
.b07-popup-kicker {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    color: #2563eb;
    letter-spacing: 0.02em;
}

/* Titre de l'article */
.b07-popup-title {
    margin: 0;
    font-size: 1.25rem;
    line-height: 1.35;
    font-weight: 700;
    color: #111827;
}

/* Bouton "Découvrir l'article" - flat design, arrondi 7px */
.b07-popup a,
.b07-popup-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 8px;
    padding: 0.55rem 1.4rem;
    border-radius: 7px;
    background: #fc7301;
    color: #ffffff !important;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    box-shadow: none;
    transition: background-color 0.15s ease-out, transform 0.12s ease-out;
}

.b07-popup a:hover,
.b07-popup a:focus-visible,
.b07-popup-button:hover,
.b07-popup-button:focus-visible {
    background: #e25f00;
    transform: translateY(-1px);
    outline: none;
}

.b07-popup a:active,
.b07-popup-button:active {
    transform: translateY(0);
}

/* Bouton de fermeture - petit cercle blanc avec croix centrée */
.b07-popup-close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: 1px solid rgba(15, 23, 42, 0.18);
    background: #ffffff !important;
    color: #111827 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    padding: 0;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.16);
    transition: background-color 0.15s ease-out, transform 0.12s ease-out, box-shadow 0.12s ease-out;
    z-index: 1;
}

.b07-popup-close:hover,
.b07-popup-close:focus-visible {
    background: #f3f4f6 !important;
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.22);
    transform: translateY(-1px);
    outline: none;
}

.b07-popup-close:active {
    transform: translateY(0);
    box-shadow: none;
}

/* Respo*
