/* Bandeaux sur les visuels de concerts et cartouche de la fiche (feuille autonome, hors build Encore).
   Design choisi dans la configuration du site : .cb-etiquette, .cb-ruban ou .cb-traversant. */
.cbt-bleu { --cb: #00B0F0; }
.cbt-rose { --cb: #E6007E; }
.cbt-noir { --cb: #111111; }

.has-banner { position: relative; overflow: hidden; container-type: inline-size; }

.cb {
    position: absolute;
    z-index: 5;
    background: var(--cb);
    color: #fff;
    font-weight: 800;
    text-transform: uppercase;
    line-height: 1.2;
    pointer-events: none; /* le clic traverse vers le lien du visuel */
}

/* Étiquette (sobre) : en haut à gauche, coupée en fanion */
.cb-etiquette {
    top: 14px;
    left: 0;
    max-width: 85%;
    padding: 8px 16px 8px 14px;
    font-size: 13px;
    letter-spacing: .05em;
    clip-path: polygon(0 0, 100% 0, calc(100% - 10px) 50%, 100% 100%, 0 100%);
}
.cb-etiquette.cb-large { top: 22px; padding: 10px 24px 10px 18px; font-size: 16px; }

/* Ruban d'angle (classique) : diagonale sur le coin supérieur droit */
.cb-ruban {
    top: 62px;
    right: -96px;
    width: 340px;
    padding: 7px 0;
    text-align: center;
    font-size: 12px;
    letter-spacing: .06em;
    transform: rotate(45deg);
    box-shadow: 0 3px 10px rgba(0, 0, 0, .35);
}
.cb-ruban.cb-large { top: 86px; right: -122px; width: 460px; padding: 10px 0; font-size: 16px; }

/* Bandeau traversant (affiche) : bande diagonale sur tout le visuel */
.cb-traversant {
    left: -10%;
    right: -10%;
    top: 50%;
    padding: 10px 0;
    text-align: center;
    font-size: 19px;
    letter-spacing: .08em;
    opacity: .94;
    transform: translateY(-50%) rotate(-12deg);
    box-shadow: 0 6px 22px rgba(0, 0, 0, .4);
}
.cb-traversant.cb-large { padding: 14px 0; font-size: 28px; }

/* Visuels étroits (vignettes de la Programmation, fiche sur téléphone) : bandeaux réduits pour rester entiers */
@container (max-width: 480px) {
    .cb-etiquette, .cb-etiquette.cb-large { top: 10px; padding: 6px 14px 6px 10px; font-size: 11px; }
    .cb-ruban, .cb-ruban.cb-large { top: 50px; right: -82px; width: 290px; padding: 6px 0; font-size: 10px; }
    .cb-traversant, .cb-traversant.cb-large { padding: 7px 0; font-size: 13px; letter-spacing: .05em; }
}

/* Cartouche de la fiche : l'info mise en exergue sous le titre */
.cartouche-concert {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    max-width: 720px;
    margin: 0 auto 30px;
    padding: 14px 18px;
    border-left: 6px solid var(--cb);
    background: #f4f7f9; /* navigateurs sans color-mix */
    background: color-mix(in srgb, var(--cb) 9%, #fff);
    text-align: left;
}
.cartouche-icone {
    flex: none;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--cb);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}
.cartouche-icone { font-family: Arial, sans-serif; font-weight: bold; line-height: 1; }
.cartouche-concert strong { display: block; color: var(--cb); text-transform: uppercase; letter-spacing: .04em; }
.cartouche-concert div > span { display: block; margin-top: 4px; color: #333; line-height: 1.45; }

/* Vidéo du concert sur la fiche : première diapositive du carrousel des médias (miniature, puis lecteur au clic) */
.concert-video-titre { margin: 0 0 12px; font-size: 20px; font-weight: 800; text-transform: uppercase; }
.concert-video-player {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    padding: 0;
    border: 0;
    background: #000;
    cursor: pointer;
    overflow: hidden;
}
.concert-video-player img { width: 100%; height: 100%; object-fit: cover; display: block; transition: opacity .3s ease; }
.concert-video-player:hover img { opacity: .85; }
.concert-video-player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.concert-video-play {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 78px;
    height: 78px;
    margin: -39px 0 0 -39px;
    border-radius: 50%;
    background: #00B0F0;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .35);
    transition: transform .2s ease;
}
.concert-video-play::after {
    content: "";
    position: absolute;
    left: 31px;
    top: 24px;
    border-style: solid;
    border-width: 15px 0 15px 24px;
    border-color: transparent transparent transparent #fff;
}
.concert-video-player:hover .concert-video-play { transform: scale(1.08); }
.concert .detail-swiper .concert-video-legende { text-align: left; font-size: 14px; color: #5f6b73; }
.concert-video-legende a { color: #00B0F0; }

/* Points du carrousel avec vidéo : sous les médias, hors du carrousel, à la manière d'Apple */
.concert .detail-swiper.avec-video { margin-bottom: 0; }
.concert .detail-swiper-points { display: flex; justify-content: center; gap: 10px; margin: 12px 0 28px; }
.concert .detail-swiper-points .swiper-pagination-bullet {
    display: block;
    width: 10px;
    height: 10px;
    margin: 0;
    border-radius: 50%;
    background: #c7c7cc;
    opacity: 1;
    cursor: pointer;
    transition: background-color .2s ease, transform .2s ease;
}
.concert .detail-swiper-points .swiper-pagination-bullet:hover { background: #8e8e93; }
.concert .detail-swiper-points .swiper-pagination-bullet-active { background: #00B0F0; transform: scale(1.15); }

/* Concert passé : encadré bien visible en tête de fiche (rose « urgence » des bandeaux) */
.concert-passe {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px 20px;
    margin: 10px 0 30px;
    padding: 18px 22px;
    background: #E6007E;
    color: #fff;
    box-shadow: 0 10px 28px rgba(230, 0, 126, .28);
}
.concert-passe-icone {
    flex: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #fff;
    color: #E6007E;
    display: flex;
    align-items: center;
    justify-content: center;
    font: bold 22px/1 Arial, sans-serif;
}
.concert-passe-texte { flex: 1 1 260px; }
.concert-passe-texte strong { display: block; font-size: 20px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; line-height: 1.2; }
.concert-passe-texte span { display: block; margin-top: 3px; font-size: 15px; opacity: .95; }
.concert-passe-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.concert-passe-bt {
    display: inline-block;
    padding: 10px 16px;
    border: 2px solid #fff;
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .05em;
    text-transform: uppercase;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color .2s ease, color .2s ease;
}
.concert-passe-bt:hover, .concert-passe-bt-plein { background: #fff; color: #E6007E; }
.concert-passe-bt-plein:hover { background: transparent; color: #fff; }
#revivre { scroll-margin-top: 20px; }
@media (max-width: 600px) {
    .concert-passe { padding: 16px; }
    .concert-passe-texte strong { font-size: 17px; }
    .concert-passe-actions { width: 100%; }
}
