/*
 * Pages refaites (accueil, équipe, dédicaces et suggestions, antennes, galerie photos), au-dessus de light.css.
 * Préfixe fm- : composants communs (sections, titres, boutons, cartes) puis un bloc par page.
 */

:root {
    --fm-bleu: #003cff;
    --fm-bleu-fonce: #0030cc;
    --fm-bleu-pale: #eef2ff;
    --fm-nuit: #06103a;
    --fm-nuit-2: #0b1b4d;
    --fm-texte: #16173a;
    --fm-doux: #5d6584;
    --fm-bord: #e6eaf4;
    --fm-fond: #f5f7fc;
    --fm-rayon: 22px;
    --fm-ombre: 0 1px 2px rgba(6, 16, 58, .04), 0 12px 32px rgba(6, 16, 58, .08);
    --fm-titres: 'BizmoBold', 'Bizmo', system-ui, sans-serif;
}

/* --- Communs --- */

.fm-section {
    padding: 88px 0;
}

.fm-section-grise {
    background: var(--fm-fond);
}

.fm-entete {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 40px;
}

.fm-surtitre {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 10px;
    color: var(--fm-bleu);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .12em;
    line-height: 1;
    text-transform: uppercase;
}

.fm-surtitre::before {
    content: '';
    width: 28px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
}

.fm-titre {
    margin: 0;
    color: var(--fm-texte);
    font-family: var(--fm-titres);
    font-size: clamp(28px, 3.4vw, 42px);
    line-height: 1.12;
}

.fm-intro {
    max-width: 680px;
    margin: 14px 0 0;
    color: var(--fm-doux);
    font-size: 17px;
    line-height: 1.65;
}

.fm-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 13px 24px;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(135deg, #003cff 0%, #4c63ff 100%);
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(0, 60, 255, .3);
    transition: transform .15s ease, box-shadow .15s ease;
}

.fm-btn:hover,
.fm-btn:focus {
    color: #fff;
    text-decoration: none;
    box-shadow: 0 14px 30px rgba(0, 60, 255, .4);
    transform: translateY(-1px);
}

.fm-btn-clair {
    background: #fff;
    color: var(--fm-bleu);
    box-shadow: 0 6px 18px rgba(6, 16, 58, .1);
}

.fm-btn-clair:hover,
.fm-btn-clair:focus {
    color: var(--fm-bleu-fonce);
    box-shadow: 0 10px 24px rgba(6, 16, 58, .16);
}

.fm-btn-contour {
    border: 1.5px solid #c9d5ff;
    background: transparent;
    color: var(--fm-bleu);
    box-shadow: none;
}

.fm-btn-contour:hover,
.fm-btn-contour:focus {
    border-color: var(--fm-bleu);
    background: var(--fm-bleu-pale);
    color: var(--fm-bleu);
    box-shadow: none;
}

.fm-btn-fantome {
    border: 1.5px solid rgba(255, 255, 255, .6);
    background: rgba(255, 255, 255, .08);
    color: #fff;
    box-shadow: none;
    backdrop-filter: blur(6px);
}

.fm-btn-fantome:hover,
.fm-btn-fantome:focus {
    border-color: #fff;
    background: rgba(255, 255, 255, .18);
    color: #fff;
    box-shadow: none;
}

.fm-lien-fleche {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--fm-bleu);
    font-weight: 600;
    text-decoration: none;
}

.fm-lien-fleche i {
    transition: transform .15s ease;
}

.fm-lien-fleche:hover {
    color: var(--fm-bleu-fonce);
    text-decoration: none;
}

.fm-lien-fleche:hover i {
    transform: translateX(3px);
}

.fm-pastille {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border-radius: 999px;
    background: var(--fm-bleu-pale);
    color: var(--fm-bleu);
    font-size: 12.5px;
    font-weight: 600;
    line-height: 1.2;
}

.fm-carte {
    border: 1px solid var(--fm-bord);
    border-radius: var(--fm-rayon);
    background: #fff;
    box-shadow: var(--fm-ombre);
}

.fm-direct {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    padding: 10px 14px;
    border-radius: 14px;
    background: var(--fm-fond);
    color: var(--fm-texte);
    font-size: 14px;
    line-height: 1.35;
}

.fm-direct-point {
    flex: none;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ff3b5c;
    animation: fm-pulsation 1.8s infinite;
}

.fm-direct-libelle {
    flex: none;
    color: var(--fm-doux);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.fm-direct-titre {
    overflow: hidden;
    font-weight: 600;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.fm-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

/* --- Accueil --- */

.fm-hero-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 26px;
}

.fm-apropos {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: clamp(32px, 5vw, 72px);
}

.fm-apropos-image {
    position: relative;
}

.fm-apropos-image img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: 28px;
    object-fit: cover;
    box-shadow: 0 30px 60px rgba(6, 16, 58, .18);
}

.fm-apropos-image::after {
    content: '';
    position: absolute;
    right: -18px;
    bottom: -18px;
    z-index: -1;
    width: 55%;
    height: 55%;
    border-radius: 28px;
    background: linear-gradient(135deg, #003cff, #6b5bff);
    opacity: .15;
}

.fm-apropos-texte p {
    color: var(--fm-doux);
    font-size: 16.5px;
    line-height: 1.75;
}

.fm-chiffres {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin: 26px 0 28px;
}

.fm-chiffre {
    padding: 16px;
    border: 1px solid var(--fm-bord);
    border-radius: 18px;
    background: #fff;
}

.fm-chiffre strong {
    display: block;
    color: var(--fm-bleu);
    font-family: var(--fm-titres);
    font-size: 28px;
    line-height: 1;
}

.fm-chiffre span {
    display: block;
    margin-top: 6px;
    color: var(--fm-doux);
    font-size: 13.5px;
    line-height: 1.3;
}

.fm-radios {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.fm-radio {
    display: flex;
    gap: 22px;
    padding: 24px;
}

.fm-radio-logo {
    flex: none;
    width: 112px;
    height: 112px;
    border-radius: 20px;
    object-fit: cover;
    box-shadow: 0 10px 24px rgba(6, 16, 58, .15);
}

.fm-radio-corps {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 12px;
    min-width: 0;
}

.fm-radio-corps h3 {
    margin: 0;
    color: var(--fm-texte);
    font-family: var(--fm-titres);
    font-size: 22px;
    line-height: 1.2;
}

.fm-radio-corps p {
    margin: 0;
    color: var(--fm-doux);
    font-size: 15px;
    line-height: 1.55;
}

.fm-actus {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.fm-actu {
    display: flex;
    overflow: hidden;
    flex-direction: column;
    color: inherit;
    text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease;
}

.fm-actu:hover {
    color: inherit;
    text-decoration: none;
    box-shadow: 0 20px 44px rgba(6, 16, 58, .14);
    transform: translateY(-4px);
}

.fm-actu-image {
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: var(--fm-bleu-pale);
}

.fm-actu-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}

.fm-actu:hover .fm-actu-image img {
    transform: scale(1.05);
}

.fm-actu-corps {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 10px;
    padding: 18px 20px 20px;
}

.fm-actu-date {
    color: var(--fm-doux);
    font-size: 13px;
}

.fm-actu h3 {
    display: -webkit-box;
    overflow: hidden;
    margin: 0;
    color: var(--fm-texte);
    font-family: var(--fm-titres);
    font-size: 18px;
    line-height: 1.35;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.fm-actu .fm-lien-fleche {
    margin-top: auto;
    font-size: 14px;
}

/* Nos activités */
.fm-activites {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.fm-activite {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 24px;
    color: inherit;
    text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease;
}

.fm-activite:hover {
    color: inherit;
    text-decoration: none;
    box-shadow: 0 20px 44px rgba(6, 16, 58, .12);
    transform: translateY(-4px);
}

.fm-activite-icone {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    margin-bottom: 4px;
    border-radius: 14px;
    background: var(--fm-bleu-pale);
    color: var(--fm-bleu);
    font-size: 19px;
}

.fm-activite h3 {
    margin: 0;
    color: var(--fm-texte);
    font-family: var(--fm-titres);
    font-size: 20px;
}

.fm-activite p {
    margin: 0;
    color: var(--fm-doux);
    font-size: 15px;
    line-height: 1.55;
}

.fm-activite .fm-lien-fleche {
    margin-top: auto;
    padding-top: 6px;
    font-size: 14.5px;
}

.fm-activite-rejoindre {
    border: 2px dashed #c9d5ff;
    border-radius: var(--fm-rayon);
    background: var(--fm-bleu-pale);
}

.fm-activite-rejoindre .fm-activite-icone {
    background: #fff;
}

/* --- Équipe --- */

.fm-equipe {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 24px;
}

.fm-membre {
    display: flex;
    overflow: hidden;
    flex-direction: column;
    transition: transform .2s ease, box-shadow .2s ease;
}

.fm-membre:hover {
    box-shadow: 0 20px 44px rgba(6, 16, 58, .14);
    transform: translateY(-4px);
}

/* Cadre identique pour toutes les photos (format des détourés 180×210) ; les autres sont recadrées */
.fm-membre-photo {
    position: relative;
    display: grid;
    overflow: hidden;
    place-items: center;
    aspect-ratio: 6 / 7;
    background: linear-gradient(160deg, #eef2ff 0%, #dde5ff 100%);
}

.fm-membre-photo img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.fm-initiales {
    display: grid;
    place-items: center;
    width: 46%;
    aspect-ratio: 1;
    border-radius: 50%;
    background: linear-gradient(135deg, #003cff, #6b5bff);
    color: #fff;
    font-family: var(--fm-titres);
    font-size: clamp(28px, 4vw, 42px);
    box-shadow: 0 14px 30px rgba(0, 60, 255, .3);
}

.fm-membre-corps {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 6px;
    padding: 18px 20px 20px;
}

.fm-membre h3 {
    margin: 0;
    color: var(--fm-texte);
    font-family: var(--fm-titres);
    font-size: 20px;
    line-height: 1.2;
}

.fm-membre-role {
    margin: 0;
    color: var(--fm-doux);
    font-size: 14.5px;
    line-height: 1.45;
}

.fm-membre .fm-pastille {
    align-self: flex-start;
    margin-top: auto;
}

.fm-membre-rejoindre {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 12px;
    padding: 28px 24px;
    border: 2px dashed #c9d5ff;
    border-radius: var(--fm-rayon);
    background: var(--fm-bleu-pale);
}

.fm-membre-rejoindre i.fm-grande-icone {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: #fff;
    color: var(--fm-bleu);
    font-size: 22px;
}

.fm-membre-rejoindre h3 {
    margin: 0;
    color: var(--fm-texte);
    font-family: var(--fm-titres);
    font-size: 20px;
}

.fm-membre-rejoindre p {
    margin: 0;
    color: var(--fm-doux);
    font-size: 14.5px;
    line-height: 1.5;
}

/* --- Dédicaces et suggestions --- */

.fm-participer {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    align-items: start;
    gap: 28px;
}

.fm-participer-info {
    position: relative;
    overflow: hidden;
    padding: 32px;
    border-radius: var(--fm-rayon);
    background: linear-gradient(160deg, var(--fm-nuit-2) 0%, #0a2bd6 140%);
    color: rgba(255, 255, 255, .86);
}

.fm-participer-info::after {
    content: '';
    position: absolute;
    top: -80px;
    right: -80px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(107, 91, 255, .45), transparent 70%);
}

.fm-participer-icone {
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    margin-bottom: 18px;
    border-radius: 18px;
    background: rgba(255, 255, 255, .12);
    color: #fff;
    font-size: 24px;
}

.fm-participer-info h2 {
    margin: 0 0 12px;
    color: #fff;
    font-family: var(--fm-titres);
    font-size: 26px;
    line-height: 1.2;
}

.fm-participer-info p {
    color: rgba(255, 255, 255, .8);
    font-size: 15.5px;
    line-height: 1.65;
}

.fm-etapes {
    margin: 22px 0;
    padding: 0;
    list-style: none;
    counter-reset: etape;
}

.fm-etapes li {
    position: relative;
    margin: 0 0 12px;
    padding-left: 42px;
    color: #fff;
    font-size: 15px;
    line-height: 1.45;
    counter-increment: etape;
}

.fm-etapes li::before {
    content: counter(etape);
    position: absolute;
    top: -3px;
    left: 0;
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #fff;
    color: var(--fm-bleu);
    font-size: 13px;
    font-weight: 700;
}

.fm-participer-info .fm-direct {
    background: rgba(255, 255, 255, .1);
    color: #fff;
}

.fm-participer-info .fm-direct-libelle {
    color: rgba(255, 255, 255, .65);
}

.fm-participer-info .fm-direct + .fm-direct {
    margin-top: 8px;
}

.fm-participer-autre {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    color: #fff;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.fm-participer-autre:hover {
    color: #fff;
}

.fm-formulaire {
    padding: 32px;
}

.fm-formulaire h2 {
    margin: 0 0 6px;
    color: var(--fm-texte);
    font-family: var(--fm-titres);
    font-size: 24px;
}

.fm-formulaire > p {
    margin: 0 0 22px;
    color: var(--fm-doux);
    font-size: 15px;
}

.fm-champ {
    margin-bottom: 18px;
}

.fm-champ label {
    display: block;
    margin-bottom: 7px;
    color: var(--fm-texte);
    font-size: 14px;
    font-weight: 600;
}

.fm-champ input,
.fm-champ textarea {
    display: block;
    width: 100%;
    padding: 13px 16px;
    border: 1.5px solid #dbe1ee;
    border-radius: 14px;
    background: #fbfcff;
    color: var(--fm-texte);
    font: inherit;
    font-size: 15.5px;
    line-height: 1.5;
    transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease;
}

.fm-champ textarea {
    min-height: 150px;
    resize: vertical;
}

.fm-champ input:focus,
.fm-champ textarea:focus {
    border-color: #7a98ff;
    outline: none;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(0, 60, 255, .12);
}

.fm-champ-aide {
    margin-top: 6px;
    color: var(--fm-doux);
    font-size: 13px;
}

.fm-formulaire .fm-btn {
    width: 100%;
    margin-top: 6px;
    padding: 15px 24px;
    font-size: 16px;
}

.fm-formulaire-note {
    margin: 16px 0 0;
    color: var(--fm-doux);
    font-size: 13px;
    line-height: 1.55;
}

.fm-formulaire-note a {
    color: var(--fm-bleu);
    text-decoration: underline;
}

.fm-alerte.alert {
    display: flex;
    gap: 12px;
    margin-bottom: 22px;
    padding: 16px 18px;
    border: 1px solid transparent;
    border-left-width: 4px;
    border-radius: 16px;
    font-size: 15px;
    line-height: 1.5;
}

.fm-alerte.alert-success { border-color: #bfe6d1; border-left-color: #1f9d5c; background: #f0fbf5; color: #135c37; }
.fm-alerte.alert-danger { border-color: #f6c9d0; border-left-color: #dc3545; background: #fff4f5; color: #8f1d2c; }

/* Champs supplémentaires (page Contact) */
.fm-champs-2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 16px;
}

.fm-champ select {
    display: block;
    width: 100%;
    padding: 13px 44px 13px 16px;
    border: 1.5px solid #dbe1ee;
    border-radius: 14px;
    background: #fbfcff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%235d6584' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 16px center;
    color: var(--fm-texte);
    font: inherit;
    font-size: 15.5px;
    line-height: 1.5;
    appearance: none;
    cursor: pointer;
}

.fm-champ select:focus {
    border-color: #7a98ff;
    outline: none;
    background-color: #fff;
    box-shadow: 0 0 0 4px rgba(0, 60, 255, .12);
}

.fm-facultatif {
    color: var(--fm-doux);
    font-weight: 400;
}

/* Pot de miel anti-robots : hors de l'écran, ignoré par les lecteurs d'écran */
.fm-pot {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.fm-contact-discord {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    margin: 22px 0;
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 18px;
    background: rgba(88, 101, 242, .28);
}

.fm-contact-discord-icone {
    display: grid;
    flex: none;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: #5865f2;
    color: #fff;
    font-size: 20px;
}

.fm-contact-discord strong,
.fm-contact-discord span {
    display: block;
}

.fm-contact-discord strong {
    color: #fff;
    font-size: 15px;
}

.fm-contact-discord span {
    color: rgba(255, 255, 255, .75);
    font-size: 13.5px;
    line-height: 1.4;
}

.fm-contact-discord > div {
    flex: 1;
    min-width: 0;
}

.fm-contact-discord .fm-btn {
    width: 100%;
    padding: 11px 16px;
    font-size: 14.5px;
}

.fm-contact-liste {
    position: relative;
    z-index: 1;
    margin: 0;
    padding: 0;
    list-style: none;
}

.fm-contact-liste li {
    display: flex;
    gap: 14px;
    padding: 12px 0;
    border-top: 1px solid rgba(255, 255, 255, .1);
    color: #fff;
    font-size: 15px;
    line-height: 1.5;
}

.fm-contact-liste small {
    display: block;
    color: rgba(255, 255, 255, .6);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.fm-contact-liste a {
    color: #fff;
}

.fm-contact-liste-icone {
    display: grid;
    flex: none;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 12px;
    background: rgba(255, 255, 255, .1);
    color: #fff;
    font-size: 14px;
}

.fm-contact-reseaux {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
}

.fm-contact-reseaux a {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: rgba(255, 255, 255, .1);
    color: #fff;
    transition: background-color .15s ease;
}

.fm-contact-reseaux a:hover {
    background: rgba(255, 255, 255, .22);
    color: #fff;
}

/* --- Antennes --- */

.fm-antennes {
    display: grid;
    gap: 28px;
}

.fm-antenne {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 32px;
    align-items: center;
    padding: 28px;
}

.fm-antenne-logo {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 24px;
    object-fit: cover;
    box-shadow: 0 18px 40px rgba(6, 16, 58, .18);
}

.fm-antenne-corps {
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-width: 0;
}

.fm-antenne-corps h2 {
    margin: 0;
    color: var(--fm-texte);
    font-family: var(--fm-titres);
    font-size: clamp(26px, 3vw, 34px);
    line-height: 1.15;
}

.fm-antenne-corps > p {
    margin: 0;
    color: var(--fm-doux);
    font-size: 16.5px;
    line-height: 1.65;
}

.fm-antenne-infos {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

/* --- Galerie photos --- */

/* Grille régulière (vignettes 4:3, photo entière dans la visionneuse) : rien ne bouge pendant le chargement */
.fm-galerie {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 16px;
}

.fm-photo {
    display: block;
    overflow: hidden;
    width: 100%;
    aspect-ratio: 4 / 3;
    padding: 0;
    border: 0;
    border-radius: 18px;
    background: var(--fm-bleu-pale);
    cursor: zoom-in;
    box-shadow: 0 6px 18px rgba(6, 16, 58, .08);
}

.fm-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease, filter .3s ease;
}

.fm-photo:hover img {
    filter: brightness(1.05);
    transform: scale(1.04);
}

.fm-photo:focus-visible {
    outline: 3px solid #9db4ff;
    outline-offset: 3px;
}

.fm-visionneuse {
    width: 100vw;
    max-width: none;
    height: 100vh;
    max-height: none;
    margin: 0;
    padding: 0;
    border: 0;
    background: rgba(4, 9, 32, .94);
    color: #fff;
}

.fm-visionneuse::backdrop {
    background: rgba(4, 9, 32, .94);
}

.fm-visionneuse-scene {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    padding: 64px 72px;
}

.fm-visionneuse img {
    max-width: calc(100vw - 144px);
    max-height: calc(100vh - 128px);
    border-radius: 12px;
    object-fit: contain;
    box-shadow: 0 30px 80px rgba(0, 0, 0, .5);
}

.fm-visionneuse-bouton {
    position: absolute;
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .12);
    color: #fff;
    font-size: 18px;
    cursor: pointer;
}

.fm-visionneuse-bouton:hover {
    background: rgba(255, 255, 255, .22);
}

.fm-visionneuse-fermer { top: 16px; right: 16px; }
.fm-visionneuse-precedent { top: 50%; left: 16px; transform: translateY(-50%); }
.fm-visionneuse-suivant { top: 50%; right: 16px; transform: translateY(-50%); }

.fm-visionneuse-compteur {
    position: absolute;
    top: 26px;
    left: 24px;
    color: rgba(255, 255, 255, .75);
    font-size: 14px;
}

/* --- Programme (émissions) --- */

.fm-jours {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 8px;
    margin-bottom: 28px;
    padding-bottom: 4px;
    overflow-x: auto;
    scrollbar-width: none;
}

.fm-jours::-webkit-scrollbar {
    display: none;
}

.fm-jour {
    display: inline-flex;
    flex: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 108px;
    padding: 12px 18px;
    border: 1px solid var(--fm-bord);
    border-radius: 16px;
    background: #fff;
    color: var(--fm-texte);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
    transition: background .15s ease, border-color .15s ease, color .15s ease;
}

.fm-jour small {
    margin-top: 3px;
    color: var(--fm-bleu);
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.fm-jour:hover,
.fm-jour:focus {
    border-color: #c9d3f5;
    color: var(--fm-bleu);
    text-decoration: none;
}

.fm-jour.active {
    border-color: transparent;
    background: linear-gradient(135deg, #003cff 0%, #4c63ff 100%);
    color: #fff;
    box-shadow: 0 10px 24px rgba(0, 60, 255, .25);
}

.fm-jour.active small {
    color: rgba(255, 255, 255, .85);
}

.fm-planning {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
    align-items: start;
}

.fm-planning-antenne {
    padding: 8px 8px 12px;
}

.fm-planning-antenne header {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 14px 16px;
    border-bottom: 1px solid var(--fm-bord);
}

.fm-planning-antenne header img {
    flex: none;
    width: 48px;
    height: 48px;
    border-radius: 12px;
}

.fm-planning-antenne h3 {
    flex: 1;
    margin: 0;
    color: var(--fm-texte);
    font-family: var(--fm-titres);
    font-size: 19px;
    line-height: 1.2;
}

.fm-planning-antenne .fm-btn {
    padding: 9px 16px;
    font-size: 14px;
}

.fm-grille {
    display: block;
    margin: 0;
    padding: 8px 0 0;
    list-style: none;
}

.fm-grille li {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    padding: 13px 14px;
    border-radius: 14px;
    color: var(--fm-texte);
    font-size: 15px;
    line-height: 1.35;
}

.fm-grille li + li {
    margin-top: 2px;
}

.fm-grille li.en-cours {
    background: var(--fm-bleu-pale);
}

.fm-grille-heure {
    color: var(--fm-doux);
    font-size: 14px;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.fm-grille-nom {
    font-weight: 600;
}

.fm-grille-direct {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #e11d48;
    font-size: 12.5px;
    font-weight: 600;
    white-space: nowrap;
}

.fm-planning-vide {
    margin: 0;
    padding: 18px 14px 8px;
    color: var(--fm-doux);
}

/* --- Association : fiche d'identité, partenaire, encart recrutement --- */

.fm-chiffres-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.fm-deux-cartes {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.fm-fiche {
    display: flex;
    flex-direction: column;
    padding: 32px;
}

.fm-fiche h2 {
    margin: 0 0 20px;
    color: var(--fm-texte);
    font-family: var(--fm-titres);
    font-size: 24px;
    line-height: 1.2;
}

.fm-fiche dl {
    margin: 0 0 24px;
}

.fm-fiche dl div {
    display: grid;
    grid-template-columns: 170px minmax(0, 1fr);
    gap: 12px;
    padding: 12px 0;
    border-top: 1px solid var(--fm-bord);
}

.fm-fiche dt {
    color: var(--fm-doux);
    font-size: 14px;
    font-weight: 500;
}

.fm-fiche dd {
    margin: 0;
    color: var(--fm-texte);
    font-size: 15px;
    font-weight: 600;
}

.fm-fiche .fm-lien-fleche {
    margin-top: auto;
}

.fm-partenaire-principal {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 24px;
    padding: 18px;
    border: 1px solid var(--fm-bord);
    border-radius: 18px;
    color: var(--fm-texte);
    text-decoration: none;
    transition: border-color .15s ease, box-shadow .15s ease;
}

.fm-partenaire-principal:hover,
.fm-partenaire-principal:focus {
    border-color: #c9d3f5;
    color: var(--fm-texte);
    text-decoration: none;
    box-shadow: var(--fm-ombre);
}

.fm-partenaire-principal img {
    flex: none;
    width: 96px;
    height: 96px;
    padding: 10px;
    border-radius: 14px;
    background: var(--fm-nuit);
    object-fit: contain;
}

.fm-partenaire-principal span {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.fm-partenaire-principal strong {
    font-family: var(--fm-titres);
    font-size: 18px;
    line-height: 1.25;
}

.fm-partenaire-principal small {
    color: var(--fm-doux);
    font-size: 14px;
}

.fm-partenaire-principal > i {
    color: var(--fm-doux);
}

.fm-section-appel {
    padding-top: 0;
}

.fm-appel {
    display: flex;
    align-items: center;
    gap: 28px;
    padding: 40px 44px;
    border-radius: 28px;
    background: linear-gradient(135deg, #0030cc 0%, #003cff 55%, #4c63ff 100%);
    color: #fff;
    box-shadow: 0 24px 48px rgba(0, 60, 255, .25);
}

.fm-appel-icone {
    display: grid;
    flex: none;
    place-items: center;
    width: 72px;
    height: 72px;
    border-radius: 22px;
    background: rgba(255, 255, 255, .14);
    font-size: 28px;
}

.fm-appel-texte {
    flex: 1;
}

.fm-appel h2 {
    margin: 0 0 6px;
    color: #fff;
    font-family: var(--fm-titres);
    font-size: clamp(22px, 2.4vw, 28px);
    line-height: 1.2;
}

.fm-appel p {
    margin: 0;
    color: rgba(255, 255, 255, .85);
    font-size: 16px;
    line-height: 1.55;
}

.fm-appel .fm-btn {
    flex: none;
}

/* --- Documents (mentions légales, CGU, confidentialité, cookies, jeux concours, application) --- */

.fm-document-grille {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    align-items: start;
    gap: 28px;
}

.fm-sommaire {
    position: sticky;
    top: 110px;
    padding: 24px 22px;
}

.fm-sommaire ol {
    display: block;
    margin: 6px 0 0;
    padding: 0;
    list-style: none;
    counter-reset: none;
}

.fm-sommaire li + li {
    margin-top: 2px;
}

.fm-sommaire a {
    display: block;
    padding: 7px 10px;
    border-radius: 10px;
    color: var(--fm-doux);
    font-size: 14px;
    line-height: 1.4;
    text-decoration: none;
}

.fm-sommaire a:hover,
.fm-sommaire a:focus {
    background: var(--fm-bleu-pale);
    color: var(--fm-bleu);
    text-decoration: none;
}

.fm-document {
    padding: clamp(24px, 4vw, 48px);
    color: var(--fm-texte);
    font-size: 16px;
    line-height: 1.75;
}

.fm-document-maj {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 8px;
    padding: 6px 14px;
    border-radius: 999px;
    background: var(--fm-fond);
    color: var(--fm-doux);
    font-size: 13.5px;
}

.fm-document h2 {
    margin: 40px 0 14px;
    color: var(--fm-texte);
    font-family: var(--fm-titres);
    font-size: 22px;
    line-height: 1.3;
    scroll-margin-top: 110px;
}

.fm-document h3 {
    margin: 26px 0 10px;
    color: var(--fm-texte);
    font-size: 17px;
    font-weight: 700;
    line-height: 1.4;
}

.fm-document p,
.fm-document li {
    color: #2b2f52;
    line-height: 1.75;
}

.fm-document p {
    margin: 0 0 14px;
}

.fm-document ul,
.fm-document ol {
    display: block;
    margin: 0 0 16px;
    padding-left: 1.3rem;
}

.fm-document li {
    margin-bottom: 6px;
    list-style: disc;
}

.fm-document ol li {
    list-style: decimal;
}

.fm-document li p {
    margin: 0;
}

.fm-document a {
    color: var(--fm-bleu);
    text-decoration: underline;
    text-underline-offset: 2px;
    overflow-wrap: anywhere;
}

.fm-document strong,
.fm-document b {
    color: var(--fm-texte);
}

.fm-document .encadre {
    margin: 18px 0;
    padding: 16px 20px;
    border-left: 4px solid var(--fm-bleu);
    border-radius: 0 14px 14px 0;
    background: var(--fm-bleu-pale);
}

.fm-document .encadre p:last-child {
    margin-bottom: 0;
}

.fm-document .table-responsive {
    margin: 16px 0 20px;
    border: 1px solid var(--fm-bord);
    border-radius: 14px;
}

.fm-document .table {
    margin: 0;
    color: var(--fm-texte);
    font-size: 14px;
}

.fm-document .table th {
    border-top: 0;
    background: var(--fm-fond);
    color: var(--fm-texte);
    font-weight: 600;
}

.fm-document .table th,
.fm-document .table td {
    padding: 12px 14px;
    border-color: var(--fm-bord);
    vertical-align: top;
}

.fm-document-signature {
    margin-top: 32px;
    color: var(--fm-doux);
    text-align: right;
}

.fm-documents-lies {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 28px;
}

.fm-documents-lies a {
    padding: 9px 16px;
    border: 1px solid var(--fm-bord);
    border-radius: 999px;
    background: #fff;
    color: var(--fm-texte);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
}

.fm-documents-lies a:hover,
.fm-documents-lies a:focus {
    border-color: #c9d3f5;
    color: var(--fm-bleu);
    text-decoration: none;
}

.fm-documents-lies a[aria-current] {
    border-color: transparent;
    background: var(--fm-bleu);
    color: #fff;
}

/* --- Applications mobiles --- */

.fm-avantages {
    display: grid;
    gap: 12px;
    margin: 24px 0 28px;
    padding: 0;
    list-style: none;
}

.fm-avantages li {
    display: flex;
    align-items: center;
    gap: 14px;
    color: var(--fm-texte);
    font-size: 15.5px;
    font-weight: 500;
}

.fm-avantages li span {
    display: grid;
    flex: none;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: var(--fm-bleu-pale);
    color: var(--fm-bleu);
    font-size: 15px;
}

.fm-stores {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.fm-stores a {
    display: block;
    border-radius: 12px;
    transition: transform .15s ease;
}

.fm-stores a:hover,
.fm-stores a:focus {
    transform: translateY(-2px);
}

.fm-stores img {
    display: block;
    width: 160px;
    height: auto;
}

.fm-telephone {
    justify-self: center;
    width: min(320px, 100%);
    padding: 14px;
    border-radius: 48px;
    background: #0a0f2c;
    box-shadow: 0 40px 80px rgba(6, 16, 58, .28), inset 0 0 0 2px #2a3366;
}

.fm-telephone-ecran {
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-height: 540px;
    padding: 48px 18px 24px;
    border-radius: 36px;
    background: radial-gradient(120% 70% at 50% 0%, #1d3bff 0%, #0b1b4d 55%, #06103a 100%);
}

.fm-telephone-logo {
    width: 150px;
    margin: 0 auto 18px;
}

.fm-telephone-antenne {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-radius: 18px;
    background: rgba(255, 255, 255, .08);
    color: #fff;
}

.fm-telephone-antenne.active {
    background: rgba(255, 255, 255, .16);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25);
}

.fm-telephone-antenne img {
    width: 48px;
    height: 48px;
    border-radius: 12px;
}

.fm-telephone-antenne span {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 2px;
}

.fm-telephone-antenne strong {
    color: #fff;
    font-size: 14px;
}

.fm-telephone-antenne small {
    color: rgba(255, 255, 255, .7);
    font-size: 12px;
}

.fm-telephone-antenne i {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #fff;
    color: var(--fm-bleu);
    font-size: 12px;
}

.fm-telephone-onde {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 4px;
    height: 70px;
    margin-top: auto;
}

.fm-telephone-onde span {
    width: 5px;
    height: var(--h);
    border-radius: 3px;
    background: linear-gradient(180deg, #8fa2ff, #fff);
    opacity: .85;
}

.fm-document-seul {
    max-width: 900px;
}

/* --- Discord --- */

.fm-discord-visuel {
    display: grid;
    place-items: center;
    aspect-ratio: 4 / 3;
    border-radius: 28px;
    background: radial-gradient(120% 90% at 30% 20%, #8c95ff 0%, #5865f2 45%, #3c45c5 100%);
    color: #fff;
    font-size: clamp(110px, 14vw, 180px);
    box-shadow: 0 30px 60px rgba(88, 101, 242, .3);
}

.fm-btn-discord {
    background: #5865f2;
    box-shadow: 0 10px 24px rgba(88, 101, 242, .35);
}

.fm-btn-discord:hover,
.fm-btn-discord:focus {
    background: #4752c4;
    color: #fff;
}

.fm-discord-invitation:not(:empty) {
    margin-top: 24px;
}

/* --- Ils parlent de nous --- */

.fm-medias {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.fm-media {
    overflow: hidden;
}

.fm-media-corps {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 20px 24px 24px;
}

.fm-media h3 {
    margin: 0;
    color: var(--fm-texte);
    font-family: var(--fm-titres);
    font-size: 18px;
    line-height: 1.3;
}

.fm-media p {
    margin: 0;
    color: var(--fm-doux);
}

.fm-media audio {
    width: 100%;
    margin-top: 6px;
}

.fm-revue-mois {
    margin: 32px 0 14px;
    color: var(--fm-texte);
    font-family: var(--fm-titres);
    font-size: 20px;
}

.fm-revue-mois:first-of-type {
    margin-top: 0;
}

.fm-revue {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.fm-revue-article {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 4px 16px;
    align-items: center;
    padding: 18px 20px;
    color: var(--fm-texte);
    text-decoration: none;
    transition: border-color .15s ease, transform .15s ease;
}

.fm-revue-article:hover,
.fm-revue-article:focus {
    border-color: #c9d3f5;
    color: var(--fm-texte);
    text-decoration: none;
    transform: translateY(-2px);
}

.fm-revue-media {
    color: var(--fm-bleu);
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.fm-revue-titre {
    grid-column: 1;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.45;
}

.fm-revue-article > i {
    grid-row: 1 / 3;
    grid-column: 2;
    color: var(--fm-doux);
}

/* --- C'était quoi ? (titres diffusés) --- */

.fm-titres-diffuses {
    display: block;
    margin: 0;
    padding: 8px 0 0;
    list-style: none;
}

.fm-titres-diffuses li {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px 14px;
    border-radius: 14px;
}

.fm-titres-diffuses li:first-child {
    background: var(--fm-bleu-pale);
}

.fm-titres-diffuses img {
    flex: none;
    width: 56px;
    height: 56px;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 4px 12px rgba(6, 16, 58, .12);
}

.fm-titre-diffuse {
    display: flex;
    flex: 1;
    flex-direction: column;
    min-width: 0;
    line-height: 1.35;
}

.fm-titre-diffuse strong,
.fm-titre-diffuse > span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.fm-titre-diffuse strong {
    color: var(--fm-texte);
    font-size: 15px;
}

.fm-titre-diffuse > span {
    color: var(--fm-texte);
    font-size: 14.5px;
}

.fm-titre-diffuse small {
    margin-top: 3px;
    color: var(--fm-doux);
    font-size: 12.5px;
}

.fm-extrait {
    display: grid;
    flex: none;
    place-items: center;
    width: 40px;
    height: 40px;
    border: 1px solid #c9d3f5;
    border-radius: 50%;
    background: #fff;
    color: var(--fm-bleu);
    font-size: 13px;
    cursor: pointer;
    transition: background .15s ease, color .15s ease;
}

.fm-extrait:hover,
.fm-extrait:focus,
.fm-extrait.en-lecture {
    border-color: transparent;
    background: var(--fm-bleu);
    color: #fff;
}

.fm-titres-vide {
    color: var(--fm-doux);
}

/* --- Artistes, fiche artiste, partenaires --- */

.fm-artistes {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 24px;
}

.fm-artiste {
    display: flex;
    overflow: hidden;
    flex-direction: column;
    transition: transform .2s ease, box-shadow .2s ease;
}

.fm-artiste:hover {
    box-shadow: 0 20px 44px rgba(6, 16, 58, .14);
    transform: translateY(-4px);
}

.fm-artiste-photo {
    display: block;
    aspect-ratio: 1;
    overflow: hidden;
    background: var(--fm-fond);
}

.fm-artiste-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}

.fm-artiste:hover .fm-artiste-photo img {
    transform: scale(1.04);
}

.fm-artiste-corps {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 6px;
    padding: 18px 20px 20px;
}

.fm-artiste h3 {
    margin: 0;
    font-family: var(--fm-titres);
    font-size: 19px;
    line-height: 1.25;
}

.fm-artiste h3 a {
    color: var(--fm-texte);
    text-decoration: none;
}

.fm-artiste h3 a::after {
    content: '';
    position: absolute;
    inset: 0;
}

.fm-artiste {
    position: relative;
}

.fm-artiste-corps p {
    margin: 0;
    color: var(--fm-doux);
    font-size: 14px;
    line-height: 1.45;
}

.fm-artiste-liens {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: auto 0 0;
    padding: 10px 0 0;
    list-style: none;
}

.fm-artiste-liens-icones a {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--fm-bleu-pale);
    color: var(--fm-bleu);
    font-size: 14px;
    text-decoration: none;
    transition: background .15s ease, color .15s ease;
}

.fm-artiste-liens-icones a:hover,
.fm-artiste-liens-icones a:focus {
    background: var(--fm-bleu);
    color: #fff;
}

.fm-retour {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
    color: var(--fm-doux);
    font-size: 14.5px;
    font-weight: 500;
    text-decoration: none;
}

.fm-retour:hover,
.fm-retour:focus {
    color: var(--fm-bleu);
    text-decoration: none;
}

.fm-fiche-artiste {
    display: grid;
    grid-template-columns: 340px minmax(0, 1fr);
    align-items: start;
    gap: 32px;
}

.fm-fiche-artiste-cote {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.fm-fiche-artiste-photo img {
    display: block;
    width: 100%;
    aspect-ratio: 1;
    border-radius: 24px;
    object-fit: cover;
    box-shadow: 0 24px 48px rgba(6, 16, 58, .18);
}

.fm-fiche-artiste-suivre {
    padding: 22px;
}

.fm-fiche-artiste-suivre h2 {
    margin: 0 0 14px;
    color: var(--fm-texte);
    font-family: var(--fm-titres);
    font-size: 18px;
}

.fm-artiste-liens-boutons {
    margin: 0;
    padding: 0;
}

.fm-artiste-liens-boutons a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 14px;
    border: 1px solid var(--fm-bord);
    border-radius: 999px;
    color: var(--fm-texte);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
}

.fm-artiste-liens-boutons a i {
    color: var(--fm-bleu);
}

.fm-artiste-liens-boutons a:hover,
.fm-artiste-liens-boutons a:focus {
    border-color: #c9d3f5;
    color: var(--fm-bleu);
    text-decoration: none;
}

.fm-fiche-artiste-texte {
    padding: clamp(24px, 4vw, 44px);
}

.fm-fiche-artiste-texte h2 {
    margin: 14px 0 18px;
    color: var(--fm-texte);
    font-family: var(--fm-titres);
    font-size: clamp(26px, 3vw, 36px);
    line-height: 1.15;
}

.fm-fiche-artiste-description p {
    color: #2b2f52;
    font-size: 16px;
    line-height: 1.8;
}

.fm-fiche-artiste-ecoute {
    margin-top: 28px;
    padding: 14px 16px;
}

.fm-fiche-artiste-ecoute img {
    flex: none;
    border-radius: 10px;
}

.fm-fiche-artiste-ecoute .fm-direct-titre {
    flex: 1;
    white-space: normal;
}

.fm-fiche-artiste-ecoute .fm-btn {
    flex: none;
    padding: 10px 18px;
}

.fm-partenaires {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.fm-partenaire {
    display: flex;
    overflow: hidden;
    flex-direction: column;
    color: var(--fm-texte);
    text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease;
}

.fm-partenaire:hover,
.fm-partenaire:focus {
    color: var(--fm-texte);
    text-decoration: none;
    box-shadow: 0 20px 44px rgba(6, 16, 58, .14);
    transform: translateY(-4px);
}

.fm-partenaire-logo {
    display: grid;
    place-items: center;
    aspect-ratio: 16 / 10;
    padding: 28px;
    background: var(--fm-fond);
}

.fm-partenaire-logo img {
    max-width: 70%;
    max-height: 100%;
    border-radius: 16px;
    object-fit: contain;
}

.fm-partenaire-corps {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 20px 22px 22px;
}

.fm-partenaire-corps strong {
    font-family: var(--fm-titres);
    font-size: 20px;
    line-height: 1.25;
}

.fm-partenaire-corps > span:not(.fm-pastille):not(.fm-lien-fleche) {
    color: var(--fm-doux);
    font-size: 15px;
}

.fm-partenaire-corps .fm-lien-fleche {
    margin-top: auto;
    padding-top: 8px;
}

/* --- Studio Montpellier, prestations --- */

.fm-mosaique {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: repeat(2, 220px);
    gap: 14px;
    margin-bottom: 56px;
}

.fm-mosaique img {
    width: 100%;
    height: 100%;
    border-radius: 20px;
    object-fit: cover;
}

.fm-mosaique img:first-child {
    grid-row: 1 / 3;
}

.fm-lab {
    align-items: start;
}

.fm-espaces {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 14px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.fm-espaces li {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    color: var(--fm-texte);
    font-size: 15px;
    font-weight: 600;
}

.fm-espaces li span {
    display: grid;
    flex: none;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: var(--fm-bleu-pale);
    color: var(--fm-bleu);
}

.fm-prestations {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.fm-prestation {
    overflow: hidden;
}

.fm-prestation-image {
    position: relative;
    aspect-ratio: 16 / 10;
}

.fm-prestation-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fm-prestation-image .fm-activite-icone {
    position: absolute;
    bottom: -22px;
    left: 22px;
    margin: 0;
    background: var(--fm-bleu);
    color: #fff;
    box-shadow: 0 10px 24px rgba(0, 60, 255, .3);
}

.fm-prestation-corps {
    padding: 34px 24px 26px;
}

.fm-prestation h3 {
    margin: 0 0 10px;
    color: var(--fm-texte);
    font-family: var(--fm-titres);
    font-size: 20px;
}

.fm-prestation p {
    margin: 0;
    color: var(--fm-doux);
    font-size: 15px;
    line-height: 1.65;
}

/* --- Blog : liste, filtres, pagination, article --- */

.fm-filtres {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 32px;
}

.fm-filtre {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 16px;
    border: 1px solid var(--fm-bord);
    border-radius: 999px;
    background: #fff;
    color: var(--fm-texte);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

.fm-filtre span {
    padding: 1px 8px;
    border-radius: 999px;
    background: var(--fm-fond);
    color: var(--fm-doux);
    font-size: 12px;
}

.fm-filtre:hover,
.fm-filtre:focus {
    border-color: #c9d3f5;
    color: var(--fm-bleu);
    text-decoration: none;
}

.fm-filtre[aria-current] {
    border-color: transparent;
    background: var(--fm-bleu);
    color: #fff;
}

.fm-filtre[aria-current] span {
    background: rgba(255, 255, 255, .2);
    color: #fff;
}

.fm-actu-date .fm-pastille {
    margin-right: 6px;
    padding: 3px 10px;
    font-size: 11.5px;
}

.fm-vide {
    padding: 40px 0;
    color: var(--fm-doux);
    text-align: center;
}

.fm-pagination {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    margin-top: 44px;
}

.fm-pagination a,
.fm-pagination span {
    display: grid;
    place-items: center;
    min-width: 42px;
    height: 42px;
    padding: 0 10px;
    border-radius: 12px;
    color: var(--fm-texte);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
}

.fm-pagination a {
    border: 1px solid var(--fm-bord);
    background: #fff;
}

.fm-pagination a:hover,
.fm-pagination a:focus {
    border-color: #c9d3f5;
    color: var(--fm-bleu);
    text-decoration: none;
}

.fm-pagination span[aria-current] {
    background: var(--fm-bleu);
    color: #fff;
    box-shadow: 0 8px 20px rgba(0, 60, 255, .25);
}

.fm-pagination-ellipse {
    color: var(--fm-doux);
}

.fm-article-entete {
    position: relative;
    margin-top: -28px;
    padding: 110px 0 150px;
    background: linear-gradient(180deg, rgba(6, 16, 58, .55) 0%, rgba(6, 16, 58, .88) 100%), var(--image) center / cover no-repeat, var(--fm-nuit);
    color: #fff;
}

.fm-article-entete h1 {
    max-width: 900px;
    margin: 14px 0 18px;
    color: #fff;
    font-family: var(--fm-titres);
    font-size: clamp(28px, 4vw, 46px);
    line-height: 1.15;
    text-transform: none;
}

.fm-article-fil {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}

.fm-article-fil a {
    color: rgba(255, 255, 255, .85);
    text-decoration: none;
}

.fm-article-fil a:hover,
.fm-article-fil a:focus {
    color: #fff;
    text-decoration: underline;
}

.fm-article-fil i {
    color: rgba(255, 255, 255, .5);
    font-size: 10px;
}

.fm-article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 22px;
    margin: 0;
    color: rgba(255, 255, 255, .85);
    font-size: 15px;
}

.fm-article-meta i {
    margin-right: 6px;
}

.fm-section-article {
    padding-top: 0;
}

.fm-article {
    position: relative;
    max-width: 880px;
    margin: -100px auto 0;
    padding: clamp(22px, 4vw, 48px);
}

.fm-article-image {
    margin: 0 0 32px;
}

.fm-article-image img {
    display: block;
    width: 100%;
    max-height: 520px;
    border-radius: 18px;
    object-fit: cover;
}

.fm-article-image figcaption {
    margin-top: 10px;
    color: var(--fm-doux);
    font-size: 13.5px;
    text-align: center;
}

/* Contenu HTML des articles (éditeur de l'admin ou anciens articles rédigés pour un fond sombre) */
.fm-contenu {
    color: #2b2f52;
    font-size: 17px;
    line-height: 1.8;
    overflow-wrap: break-word;
}

.fm-contenu p {
    margin: 0 0 18px;
}

.fm-contenu h2,
.fm-contenu h3,
.fm-contenu h4 {
    margin: 36px 0 14px;
    color: var(--fm-texte);
    font-family: var(--fm-titres);
    line-height: 1.3;
}

.fm-contenu h2 { font-size: 26px; }
.fm-contenu h3 { font-size: 21px; }
.fm-contenu h4 { font-size: 18px; }

.fm-contenu ul,
.fm-contenu ol {
    display: block;
    margin: 0 0 18px;
    padding-left: 1.4rem;
}

.fm-contenu li {
    margin-bottom: 8px;
    list-style: disc;
}

.fm-contenu ol li {
    list-style: decimal;
}

.fm-contenu a {
    color: var(--fm-bleu);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.fm-contenu img,
.fm-contenu iframe,
.fm-contenu video {
    max-width: 100%;
    border-radius: 14px;
}

.fm-contenu img {
    height: auto;
}

.fm-contenu blockquote {
    margin: 24px 0;
    padding: 16px 22px;
    border-left: 4px solid var(--fm-bleu);
    border-radius: 0 14px 14px 0;
    background: var(--fm-bleu-pale);
    color: var(--fm-texte);
}

.fm-contenu table {
    width: 100%;
    margin: 0 0 18px;
    font-size: 15px;
}

.fm-contenu th,
.fm-contenu td {
    padding: 8px 10px;
    border: 1px solid var(--fm-bord);
}

/* Textes prévus pour l'ancien fond sombre : lisibles sur fond clair */
.fm-contenu .text-light,
.fm-contenu .text-white,
.fm-contenu [style*="color"] {
    color: inherit !important;
}

.fm-contenu strong,
.fm-contenu b {
    color: var(--fm-texte) !important;
}

.fm-article-pied {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 36px;
    padding-top: 26px;
    border-top: 1px solid var(--fm-bord);
}

.fm-article-auteur {
    display: flex;
    align-items: center;
    gap: 14px;
}

.fm-article-auteur img {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--fm-bleu-pale);
    object-fit: cover;
    object-position: top;
}

.fm-article-auteur div {
    display: flex;
    flex-direction: column;
    line-height: 1.4;
}

.fm-article-auteur strong {
    color: var(--fm-texte);
    font-size: 15px;
}

.fm-article-auteur span {
    color: var(--fm-doux);
    font-size: 13.5px;
}

.fm-partage {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.fm-partage > span {
    margin-right: 4px;
    color: var(--fm-doux);
    font-size: 14px;
    font-weight: 600;
}

.fm-partage a,
.fm-partage button {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--fm-bleu-pale);
    color: var(--fm-bleu);
    text-decoration: none;
    transition: background .15s ease, color .15s ease;
}

.fm-partage button {
    border: 0;
    cursor: pointer;
}

.fm-partage a:hover,
.fm-partage a:focus,
.fm-partage button:hover,
.fm-partage button:focus {
    background: var(--fm-bleu);
    color: #fff;
}

/* --- Actualités importées (RSS) --- */

.fm-source {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 14px 20px;
    margin-top: 28px;
    padding: 18px 22px;
    border-radius: 16px;
    background: var(--fm-fond);
}

.fm-source p {
    margin: 0;
    color: var(--fm-doux);
    font-size: 15px;
}

.fm-source p a {
    color: var(--fm-bleu);
    font-weight: 600;
}

.fm-vide-carte {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    max-width: 560px;
    margin: 0 auto;
    padding: 44px 28px;
    text-align: center;
}

.fm-vide-carte h3 {
    margin: 6px 0 0;
    color: var(--fm-texte);
    font-family: var(--fm-titres);
    font-size: 22px;
}

.fm-vide-carte p {
    margin: 0 0 10px;
    color: var(--fm-doux);
}

/* --- Classement musical, flux RSS --- */

.fm-snep {
    flex: none;
    padding: 14px 18px;
    border: 1px solid var(--fm-bord);
    border-radius: 18px;
    background: #fff;
}

.fm-snep img {
    display: block;
    height: 56px;
}

.fm-classement {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.fm-classement > li {
    display: grid;
    grid-template-columns: 64px 64px minmax(0, 1fr) auto;
    align-items: center;
    gap: 18px;
    padding: 12px 20px 12px 14px;
}

.fm-classement-rang {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: var(--fm-texte);
    font-family: var(--fm-titres);
    font-size: 24px;
}

.fm-classement-rang i {
    font-size: 18px;
}

.fm-classement img,
.fm-classement-sans-pochette {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    background: var(--fm-fond);
    object-fit: cover;
}

.fm-classement-sans-pochette {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--fm-doux);
    font-size: 22px;
}

.fm-classement-titre {
    display: flex;
    flex-direction: column;
    min-width: 0;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.fm-classement-titre strong {
    overflow: hidden;
    color: var(--fm-texte);
    font-size: 16px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.fm-classement-titre span {
    color: var(--fm-texte);
    font-size: 15px;
}

.fm-classement-titre small {
    color: var(--fm-doux);
    font-size: 12.5px;
}

.fm-classement-evolution {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
    text-align: right;
}

.fm-classement-evolution small {
    color: var(--fm-doux);
    font-size: 12px;
}

.fm-evolution {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 999px;
    background: var(--fm-fond);
    color: var(--fm-doux);
    font-size: 13px;
    font-weight: 600;
}

.fm-evolution-hausse { background: #e7f8ee; color: #15803d; }
.fm-evolution-baisse { background: #fdecef; color: #be123c; }
.fm-evolution-nouveau { background: var(--fm-bleu-pale); color: var(--fm-bleu); }

.fm-podium-1 .fm-classement-rang { color: #b8901f; }
.fm-podium-2 .fm-classement-rang { color: #8a8a93; }
.fm-podium-3 .fm-classement-rang { color: #a26a3f; }

.fm-podium-1 {
    border-color: #f1dc9a;
    background: linear-gradient(90deg, #fffaf0 0%, #fff 60%);
}

.fm-flux {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
}

.fm-flux-ligne {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 18px;
}

.fm-flux-ligne .fm-activite-icone {
    flex: none;
    margin: 0;
}

.fm-flux-principal .fm-activite-icone {
    background: var(--fm-bleu);
    color: #fff;
}

.fm-flux-nom {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.fm-flux-nom strong {
    color: var(--fm-texte);
    font-size: 16px;
}

.fm-flux-nom code {
    display: block;
    overflow: hidden;
    color: var(--fm-doux);
    font-size: 13px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.fm-flux-ligne .fm-btn {
    flex: none;
    padding: 9px 16px;
    font-size: 14px;
}

.fm-flux-aide {
    margin: 24px 0 0;
    color: var(--fm-doux);
}

.fm-flux-aide a {
    color: var(--fm-bleu);
    font-weight: 600;
}

/* --- Recrutement : bannière, offres, fiche d'une offre, formulaire de candidature --- */

.recrutement-hero .single-banner-oly {
    padding: 90px 0 80px;
    background: linear-gradient(120deg, rgba(6, 16, 58, .88) 0%, rgba(0, 60, 255, .6) 100%);
}

.recrutement-hero h1 {
    font-family: 'BizmoBlack', var(--fm-titres);
    line-height: 1.1;
}

.recrutement-hero .lead {
    max-width: 760px;
    margin: 18px auto 0;
    color: rgba(255, 255, 255, .9);
    font-size: 19px;
    line-height: 1.6;
}

.recrutement-hero .breadcrumb {
    justify-content: center;
    margin-bottom: 14px;
    padding: 0;
    background: none;
    font-size: 15px;
}

.recrutement-hero .breadcrumb a {
    color: rgba(255, 255, 255, .85);
}

.recrutement-hero .breadcrumb-item.active,
.recrutement-hero .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, .65);
}

.recrutement-hero .badges span {
    display: inline-block;
    margin: 4px;
    padding: 5px 14px;
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 999px;
    background: rgba(255, 255, 255, .12);
    color: #fff;
    font-size: 14px;
}

.fm-pastille-douce {
    background: var(--fm-fond);
    color: var(--fm-doux);
}

.fm-atout p {
    margin: 0;
    color: var(--fm-doux);
    font-size: 15px;
    line-height: 1.6;
}

.fm-offres {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.offre-carte {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 26px;
    transition: transform .2s ease, box-shadow .2s ease;
}

.offre-carte:hover {
    box-shadow: 0 20px 44px rgba(6, 16, 58, .14);
    transform: translateY(-4px);
}

.offre-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.offre-carte h3 {
    margin: 16px 0 8px;
    font-family: var(--fm-titres);
    font-size: 20px;
    line-height: 1.3;
}

.offre-carte h3 a {
    color: var(--fm-texte);
    text-decoration: none;
}

.offre-carte h3 a:hover,
.offre-carte h3 a:focus {
    color: var(--fm-bleu);
    text-decoration: none;
}

.offre-carte p {
    margin: 0;
    color: var(--fm-doux);
    font-size: 15px;
    line-height: 1.6;
}

.offre-meta {
    display: block;
    margin: 16px 0 20px;
    padding: 0;
    list-style: none;
}

.offre-meta li {
    margin-bottom: 4px;
    color: var(--fm-texte);
    font-size: 14px;
}

.offre-meta i {
    width: 22px;
    color: var(--fm-bleu);
}

.offre-carte .fm-lien-fleche {
    margin-top: auto;
}

.offre-spontanee {
    border: 2px dashed #b9c6f2;
    background: var(--fm-bleu-pale);
    box-shadow: none;
}

.fm-liste-check {
    display: block;
    margin: 0;
    padding: 0;
    list-style: none;
}

.fm-liste-check li {
    position: relative;
    margin-bottom: 12px;
    padding-left: 32px;
    color: #2b2f52;
    font-size: 15.5px;
    line-height: 1.6;
}

.fm-liste-check li i {
    position: absolute;
    top: 5px;
    left: 0;
    color: var(--fm-bleu);
}

.fm-parcours {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.fm-parcours li {
    padding: 28px 26px;
}

.fm-parcours-numero {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    margin-bottom: 18px;
    border-radius: 16px;
    background: linear-gradient(135deg, #003cff 0%, #4c63ff 100%);
    color: #fff;
    font-family: var(--fm-titres);
    font-size: 22px;
    box-shadow: 0 10px 24px rgba(0, 60, 255, .25);
}

.fm-parcours h3 {
    margin: 0 0 8px;
    color: var(--fm-texte);
    font-family: var(--fm-titres);
    font-size: 20px;
}

.fm-parcours p {
    margin: 0;
    color: var(--fm-doux);
    font-size: 15px;
    line-height: 1.6;
}

.fm-faq {
    display: grid;
    gap: 12px;
    max-width: 900px;
}

.fm-faq details {
    border: 1px solid var(--fm-bord);
    border-radius: 18px;
    background: #fff;
    box-shadow: var(--fm-ombre);
}

.fm-faq summary {
    position: relative;
    padding: 18px 56px 18px 22px;
    color: var(--fm-texte);
    font-size: 16.5px;
    font-weight: 600;
    list-style: none;
    cursor: pointer;
}

.fm-faq summary::-webkit-details-marker {
    display: none;
}

.fm-faq summary::after {
    content: '+';
    position: absolute;
    top: 50%;
    right: 20px;
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--fm-bleu-pale);
    color: var(--fm-bleu);
    font-size: 20px;
    line-height: 1;
    transform: translateY(-50%);
    transition: transform .2s ease;
}

.fm-faq details[open] summary::after {
    transform: translateY(-50%) rotate(45deg);
}

.fm-faq details p {
    margin: 0;
    padding: 0 22px 20px;
    color: #2b2f52;
    line-height: 1.7;
}

.fm-appel-boutons {
    display: flex;
    flex: none;
    flex-wrap: wrap;
    gap: 10px;
}

.fm-fiche-offre {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    align-items: start;
    gap: 28px;
}

.fm-fiche-offre-texte {
    padding: clamp(24px, 4vw, 44px);
}

.fm-fiche-offre-texte h2 {
    margin: 32px 0 14px;
    color: var(--fm-texte);
    font-family: var(--fm-titres);
    font-size: 24px;
}

.fm-fiche-offre-texte h2:first-child {
    margin-top: 0;
}

.fm-fiche-offre-texte > p {
    color: #2b2f52;
    font-size: 16px;
    line-height: 1.75;
}

.fm-encadre {
    margin-top: 28px;
    padding: 20px 22px;
    border-left: 4px solid var(--fm-bleu);
    border-radius: 0 16px 16px 0;
    background: var(--fm-bleu-pale);
}

.fm-encadre h3 {
    margin: 0 0 8px;
    color: var(--fm-bleu);
    font-size: 17px;
    font-weight: 700;
}

.fm-encadre p {
    margin: 0;
    color: #2b2f52;
}

.fm-resume-offre {
    position: sticky;
    top: 110px;
}

.fm-resume-offre .fm-btn {
    width: 100%;
}

.fm-resume-offre dl div {
    grid-template-columns: minmax(0, 1fr);
    gap: 2px;
}

.fm-offres-liens {
    display: block;
    margin: 6px 0 16px;
    padding: 0;
    list-style: none;
}

.fm-offres-liens a {
    display: block;
    padding: 10px 0;
    border-top: 1px solid var(--fm-bord);
    color: var(--fm-texte);
    font-weight: 600;
    text-decoration: none;
}

.fm-offres-liens a:hover,
.fm-offres-liens a:focus {
    color: var(--fm-bleu);
    text-decoration: none;
}

.fm-offres-liens i {
    margin-right: 6px;
    color: var(--fm-bleu);
}

.fm-resume-note {
    margin: 0;
    color: var(--fm-doux);
    font-size: 14px;
}

.fm-candidature {
    max-width: 900px;
    margin: 0 auto;
    padding: clamp(24px, 4vw, 44px);
}

.fm-candidature fieldset {
    margin: 0 0 10px;
    padding: 0;
    border: 0;
}

.fm-candidature legend {
    width: 100%;
    margin: 20px 0 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--fm-bord);
    color: var(--fm-texte);
    font-family: var(--fm-titres);
    font-size: 19px;
}

.fm-champs-age {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
    gap: 0 16px;
}

.fm-champ label.required::after {
    content: ' *';
    color: var(--fm-bleu);
}

.fm-champ input[type=file] {
    padding: 12px;
    border-style: dashed;
    background: var(--fm-fond);
}

.fm-champ-case {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.fm-champ-case input[type=checkbox] {
    flex: none;
    width: 20px;
    height: 20px;
    margin-top: 2px;
    padding: 0;
    accent-color: var(--fm-bleu);
}

.fm-champ-case label {
    margin: 0;
    font-weight: 500;
    line-height: 1.5;
}

.fm-champ-aide a {
    color: var(--fm-bleu);
    text-decoration: underline;
}

.fm-champ-erreurs p {
    margin: 6px 0 0;
    color: #be123c;
    font-size: 13.5px;
}

.fm-champ.a-erreur input,
.fm-champ.a-erreur select,
.fm-champ.a-erreur textarea {
    border-color: #f19aab;
}

.fm-candidature .fm-btn {
    width: 100%;
}

.fm-merci {
    max-width: 760px;
    margin: 0 auto;
    padding: 48px 32px;
    text-align: center;
}

.fm-merci-icone {
    display: block;
    margin-bottom: 14px;
    color: #16a34a;
    font-size: 56px;
}

.fm-merci h2 {
    margin: 0 0 14px;
    color: var(--fm-texte);
    font-family: var(--fm-titres);
    font-size: 26px;
}

.fm-merci p {
    color: #2b2f52;
}

.fm-merci .fm-actions {
    justify-content: center;
}

/* --- Pages d'erreur --- */

.fm-erreur {
    max-width: 760px;
    margin: 0 auto;
    padding: clamp(32px, 5vw, 56px) clamp(22px, 5vw, 56px);
    text-align: center;
}

.fm-erreur-code {
    margin: 0;
    background: linear-gradient(135deg, #003cff 0%, #6b5bff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-family: 'BizmoBlack', var(--fm-titres);
    font-size: clamp(88px, 14vw, 150px);
    line-height: 1;
}

.fm-erreur h2 {
    margin: 10px 0 12px;
    color: var(--fm-texte);
    font-family: var(--fm-titres);
    font-size: clamp(24px, 3vw, 30px);
}

.fm-erreur-message {
    max-width: 520px;
    margin: 0 auto 26px;
    color: var(--fm-doux);
    font-size: 16.5px;
    line-height: 1.65;
}

.fm-erreur-message strong {
    display: block;
    margin-bottom: 4px;
    color: var(--fm-texte);
}

.fm-erreur .fm-actions {
    justify-content: center;
}

.fm-erreur-liens {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-top: 30px;
    padding-top: 26px;
    border-top: 1px solid var(--fm-bord);
}

.fm-erreur-liens a {
    padding: 8px 14px;
    border-radius: 999px;
    background: var(--fm-fond);
    color: var(--fm-texte);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
}

.fm-erreur-liens a:hover,
.fm-erreur-liens a:focus {
    background: var(--fm-bleu-pale);
    color: var(--fm-bleu);
    text-decoration: none;
}

/* --- Newsletter (inscription, désinscription) --- */

.fm-newsletter {
    max-width: 640px;
    margin: 0 auto;
    padding: clamp(28px, 5vw, 48px);
    text-align: center;
}

.fm-newsletter-icone {
    display: inline-grid;
    place-items: center;
    width: 72px;
    height: 72px;
    margin-bottom: 16px;
    border-radius: 22px;
    background: linear-gradient(135deg, #003cff 0%, #6b5bff 100%);
    color: #fff;
    font-size: 30px;
    box-shadow: 0 14px 30px rgba(0, 60, 255, .3);
}

.fm-newsletter h2 {
    margin: 0 0 10px;
    color: var(--fm-texte);
    font-family: var(--fm-titres);
    font-size: clamp(24px, 3vw, 30px);
}

.fm-newsletter-intro {
    margin: 0 auto 24px;
    color: var(--fm-doux);
    font-size: 16px;
    line-height: 1.6;
}

.fm-newsletter .fm-alerte {
    text-align: left;
}

.fm-newsletter-garanties {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 20px;
    margin: 0 0 24px;
    padding: 0;
    list-style: none;
}

.fm-newsletter-garanties li {
    color: var(--fm-texte);
    font-size: 14.5px;
    font-weight: 600;
}

.fm-newsletter-garanties i {
    margin-right: 6px;
    color: #16a34a;
}

.fm-newsletter .fm-actions {
    justify-content: center;
}

.fm-newsletter-formulaire {
    text-align: left;
}

.fm-newsletter-formulaire .fm-btn {
    width: 100%;
}

/* --- Accueil : direct Twitch, encart Discord --- */

.fm-section-live {
    padding-bottom: 0;
}

.fm-live {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    align-items: center;
    gap: clamp(24px, 4vw, 48px);
    padding: clamp(22px, 3vw, 36px);
    border-radius: 28px;
    background: radial-gradient(120% 120% at 0% 0%, #3b1d7a 0%, #1a1145 45%, var(--fm-nuit) 100%);
    color: #fff;
    box-shadow: 0 24px 48px rgba(26, 17, 69, .3);
}

.fm-live-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .12);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.fm-live h2 {
    margin: 16px 0 10px;
    color: #fff;
    font-family: var(--fm-titres);
    font-size: clamp(26px, 3vw, 34px);
    line-height: 1.15;
}

.fm-live p {
    margin: 0 0 22px;
    color: rgba(255, 255, 255, .85);
    font-size: 16px;
}

.fm-btn-twitch {
    background: #9146ff;
    box-shadow: 0 10px 24px rgba(145, 70, 255, .4);
}

.fm-btn-twitch:hover,
.fm-btn-twitch:focus {
    background: #772ce8;
    color: #fff;
}

.fm-live-lecteur {
    overflow: hidden;
    border-radius: 18px;
}

.discord-encart {
    border-radius: 28px;
}

/* --- Petits écrans --- */

@media (max-width: 991.98px) {
    .fm-section {
        padding: 64px 0;
    }

    .fm-apropos,
    .fm-participer {
        grid-template-columns: 1fr;
    }

    .fm-antenne {
        grid-template-columns: 180px minmax(0, 1fr);
        gap: 24px;
    }

    .fm-deux-cartes,
    .fm-live,
    .fm-fiche-artiste,
    .fm-fiche-offre,
    .fm-parcours,
    .fm-prestations,
    .fm-document-grille,
    .fm-medias,
    .fm-revue {
        grid-template-columns: minmax(0, 1fr);
    }

    .fm-sommaire {
        display: none;
    }

    .fm-appel {
        flex-wrap: wrap;
        padding: 32px;
    }

    .fm-appel-texte {
        flex-basis: calc(100% - 100px);
    }

    .fm-resume-offre {
        position: static;
    }
}

@media (max-width: 575.98px) {
    .fm-section {
        padding: 52px 0;
    }

    .fm-planning {
        grid-template-columns: minmax(0, 1fr);
    }

    .fm-chiffres-4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .fm-artistes {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }

    .fm-filtres {
        flex-wrap: nowrap;
        margin-right: -15px;
        padding-right: 15px;
        overflow-x: auto;
        scrollbar-width: none;
    }

    .fm-filtre {
        flex: none;
    }

    .fm-article-entete {
        padding: 70px 0 120px;
    }

    .fm-article {
        margin-top: -80px;
    }

    .fm-contenu {
        font-size: 16px;
    }

    .recrutement-hero .single-banner-oly {
        padding: 60px 0;
    }

    .recrutement-hero .lead {
        font-size: 16.5px;
    }

    .fm-champs-age {
        grid-template-columns: minmax(0, 1fr);
    }

    .fm-appel-boutons,
    .fm-appel-boutons .fm-btn {
        width: 100%;
    }

    .fm-classement > li {
        grid-template-columns: 34px 52px minmax(0, 1fr);
        gap: 12px;
        padding: 12px;
    }

    .fm-classement img,
    .fm-classement-sans-pochette {
        width: 52px;
        height: 52px;
    }

    .fm-classement-rang {
        font-size: 18px;
    }

    .fm-classement-rang i {
        display: none;
    }

    .fm-classement-evolution {
        grid-column: 3;
        flex-direction: row;
        align-items: center;
        text-align: left;
    }

    .fm-flux-ligne {
        flex-wrap: wrap;
    }

    .fm-flux-nom {
        flex-basis: calc(100% - 66px);
    }

    .fm-mosaique {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-rows: 200px repeat(2, 120px);
        gap: 10px;
        margin-bottom: 40px;
    }

    .fm-mosaique img:first-child {
        grid-row: auto;
        grid-column: 1 / 3;
    }


    .fm-artiste-corps {
        padding: 14px;
    }

    .fm-artiste h3 {
        font-size: 16px;
    }

    .fm-fiche-artiste-ecoute {
        flex-wrap: wrap;
    }

    .fm-fiche {
        padding: 24px 20px;
    }

    .fm-fiche dl div {
        grid-template-columns: minmax(0, 1fr);
        gap: 2px;
    }

    .fm-appel {
        padding: 28px 22px;
    }

    .fm-appel-icone {
        display: none;
    }

    .fm-telephone {
        width: min(280px, 100%);
    }

    .fm-telephone-ecran {
        min-height: 420px;
    }

    .fm-appel-texte {
        flex-basis: 100%;
    }

    /* Tableaux des documents : chaque ligne devient une fiche (libellé de colonne au-dessus de chaque valeur) */
    .fm-document .table thead {
        display: none;
    }

    .fm-document .table,
    .fm-document .table tbody,
    .fm-document .table tr,
    .fm-document .table td {
        display: block;
        width: 100%;
    }

    .fm-document .table tr + tr {
        border-top: 1px solid var(--fm-bord);
    }

    .fm-document .table td {
        padding: 6px 14px;
        border: 0;
    }

    .fm-document .table td::before {
        content: attr(data-label);
        display: block;
        color: var(--fm-doux);
        font-size: 11.5px;
        font-weight: 600;
        letter-spacing: .04em;
        text-transform: uppercase;
    }

    .fm-grille li {
        grid-template-columns: 92px minmax(0, 1fr);
        padding: 12px 10px;
    }

    .fm-grille-direct {
        grid-column: 2;
    }

    .fm-jour {
        min-width: 92px;
        padding: 10px 14px;
    }

    /* Bouton Écouter réduit à l'icône : le nom de l'antenne garde la place */
    .fm-planning-antenne .fm-btn {
        width: 42px;
        height: 42px;
        padding: 0;
    }

    .fm-planning-antenne .fm-btn span {
        display: none;
    }

    .fm-entete {
        margin-bottom: 28px;
    }

    /* Décor derrière la photo : ne dépasse pas de l'écran */
    .fm-apropos-image::after {
        right: -10px;
        bottom: -10px;
    }

    .fm-radio {
        flex-direction: column;
        padding: 20px;
    }

    .fm-radio-logo {
        width: 84px;
        height: 84px;
    }

    .fm-chiffres {
        gap: 8px;
    }

    .fm-chiffre {
        padding: 12px;
    }

    .fm-chiffre strong {
        font-size: 22px;
    }

    .fm-equipe {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }

    .fm-membre-corps {
        padding: 14px;
    }

    .fm-membre h3 {
        font-size: 17px;
    }

    .fm-membre-role {
        font-size: 13.5px;
    }

    .fm-membre-rejoindre {
        grid-column: 1 / -1;
    }

    .fm-participer-info,
    .fm-formulaire {
        padding: 22px;
    }

    .fm-antenne {
        grid-template-columns: 1fr;
        padding: 20px;
    }

    .fm-champs-2 {
        grid-template-columns: 1fr;
    }


    .fm-antenne-logo {
        width: 160px;
    }

    .fm-galerie {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .fm-photo {
        border-radius: 12px;
    }

    .fm-visionneuse-scene {
        padding: 70px 12px;
    }

    .fm-visionneuse img {
        max-width: calc(100vw - 24px);
        max-height: calc(100vh - 160px);
    }

    .fm-visionneuse-precedent,
    .fm-visionneuse-suivant {
        top: auto;
        bottom: 16px;
        transform: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .fm-section *,
    .fm-visionneuse * {
        animation: none !important;
        transition: none !important;
    }
}

@keyframes fm-pulsation {
    0% { box-shadow: 0 0 0 0 rgba(255, 59, 92, .6); }
    70% { box-shadow: 0 0 0 8px rgba(255, 59, 92, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 59, 92, 0); }
}
