/* bandeau.css : le bandeau de l'offre spéciale, au-dessus du menu de la page d'accueil et de la page
 * des formations. Il mène à la page de l'offre (/offre-speciale/pack-complet). Le bloc Razor qui le
 * rend est en haut de index.html et de formations.html. */

a.os-bandeau {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px 20px;
    width: 100%;
    padding: 10px 20px;
    background: linear-gradient(90deg, #0b1400 0%, #1a2b06 50%, #0b1400 100%);
    border-bottom: 1px dashed rgba(127, 221, 0, 0.65);
    color: #ffffff;
    font-size: 15.5px;
    line-height: 1.4;
    text-decoration: none;
}

a.os-bandeau:hover {
    background: linear-gradient(90deg, #0f1b00 0%, #213609 50%, #0f1b00 100%);
    color: #ffffff;
}

.os-bandeau-bulle {
    display: inline-flex;
    align-items: center;
    padding: 3px 12px;
    border-radius: 999px;
    background: var(--accent-color);
    color: #000000;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1px;
    line-height: 1.5;
    text-transform: uppercase;
    white-space: nowrap;
}

.os-bandeau-texte {
    display: inline;
    line-height: 1.4;
}

.os-bandeau-texte strong {
    font-weight: 700;
}

.os-bandeau-detail,
.os-bandeau-fin {
    display: inline;
    color: #c5c8d3;
    line-height: 1.4;
}

.os-bandeau-fin {
    white-space: nowrap;
}

.os-bandeau-prix {
    display: inline-flex;
    align-items: baseline;
    gap: 10px;
    white-space: nowrap;
}

.os-bandeau-prix b {
    font-size: 19px;
    font-weight: 800;
    line-height: 1.2;
    color: var(--accent-color);
}

/* Prix rayé en diagonale, comme sur la page de l'offre. */
.os-bandeau-raye {
    position: relative;
    display: inline-block;
    color: #8b90a0;
    line-height: 1.2;
}

.os-bandeau-raye::after {
    content: "";
    position: absolute;
    left: -6%;
    right: -6%;
    top: 50%;
    height: 2px;
    background: #ff5c5c;
    transform: translateY(-50%) rotate(-16deg);
}

.os-bandeau-lien {
    display: inline;
    font-weight: 700;
    line-height: 1.4;
    color: var(--accent-color);
    white-space: nowrap;
}

@media (max-width: 784px) {
    a.os-bandeau {
        gap: 6px 12px;
        padding: 9px 14px;
        font-size: 14.5px;
    }

    .os-bandeau-detail,
    .os-bandeau-fin {
        display: none;
    }
}
