/* ============================================================
   CDF Theme — fiche chant BlueStar (maquette 13, validée le 2026-11-05)
   Chargée uniquement sur is_singular('chant'), après bluestar.css.
   Tout est préfixé .cdf-fc pour ne rien changer ailleurs.
   ============================================================ */

.cdf-fc {
    --cdf-fc-neutre: #f2efe5;
    --cdf-fc-neutre-2: #ebe5dc;
    --cdf-fc-filet: #e4dfd2;
    --cdf-fc-gris: #6f5b55;
    --cdf-fc-jaune: var(--cdf-yellow, #fbd770);
    --cdf-fc-jaune-2: #f8cc4a;
    --cdf-fc-jaune-3: #fde9b1;
    --cdf-fc-vert: #2c6446;
    --cdf-fc-rouge: var(--cdf-red, #bf381d);
    --cdf-fc-rouge-2: var(--cdf-red-hover, #9f2c17);
    --cdf-fc-encre: var(--cdf-dark, #240804);
    --cdf-fc-creme: var(--cdf-ivory, #fffcf2);
    --cdf-fc-dsp: var(--cdf-display, "social-gothic-soft", "Arial Narrow", Arial, sans-serif);
    --cdf-fc-txt: var(--cdf-ui, "Inter", Arial, sans-serif);
    --cdf-fc-r-xs: 8px;
    --cdf-fc-r: 16px;
    --cdf-fc-r-lg: 24px;
    --cdf-fc-max: 1500px;
    --cdf-fc-gut: 40px;

    display: block;
    color: var(--cdf-fc-encre);
    font-family: var(--cdf-fc-txt);
    font-size: 16px;
    line-height: 1.55;
}

html:has(body.cdf-view-chant) {
    scroll-padding-top: 96px;
}

@media (prefers-reduced-motion: no-preference) {
    html:has(body.cdf-view-chant) {
        scroll-behavior: smooth;
    }
}

.cdf-fc *,
.cdf-fc *::before,
.cdf-fc *::after {
    box-sizing: border-box;
}

.cdf-fc img {
    max-width: 100%;
    display: block;
}

.cdf-fc a {
    color: var(--cdf-fc-rouge);
}

.cdf-fc button {
    font: inherit;
}

.cdf-fc :focus-visible {
    outline: 3px solid var(--cdf-fc-rouge);
    outline-offset: 3px;
    border-radius: 4px;
}

.cdf-fc h1,
.cdf-fc h2,
.cdf-fc h3 {
    margin: 0;
    font-family: var(--cdf-fc-dsp);
    font-weight: 800;
    line-height: .92;
    letter-spacing: .005em;
    text-transform: uppercase;
}

/* Petits titres sur plusieurs lignes : interligne sûr même si la police
   d'affichage ne charge pas, et mots longs coupés plutôt que débordants. */
.cdf-fc h3 {
    line-height: 1;
    overflow-wrap: anywhere;
    hyphens: auto;
}

.cdf-fc-sprite {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
}

.cdf-fc-i {
    display: block;
    width: 1em;
    height: 1em;
    flex: none;
    fill: currentColor;
}

.cdf-fc-wrap {
    max-width: var(--cdf-fc-max);
    margin: 0 auto;
    padding: 0 var(--cdf-fc-gut);
}

/* Le catalogue partagé et les articles liés suivent la même largeur. */
body.cdf-view-chant .cdf-related-articles {
    max-width: var(--cdf-fc-max, 1500px);
    margin-right: auto;
    margin-left: auto;
}

/* ---------- Boutons ---------- */
.cdf-fc-b {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 44px;
    padding: 12px 22px;
    border: 0;
    border-radius: var(--cdf-fc-r-xs);
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
    transition: background .15s, color .15s, border-color .15s;
}

.cdf-fc-b .cdf-fc-i {
    width: 17px;
    height: 17px;
    transition: transform .2s ease;
}

.cdf-fc .cdf-fc-b--rouge {
    background: var(--cdf-fc-rouge);
    color: #fff;
}

.cdf-fc .cdf-fc-b--rouge:hover {
    background: var(--cdf-fc-rouge-2);
    color: #fff;
}

.cdf-fc .cdf-fc-b--encre {
    background: var(--cdf-fc-encre);
    color: var(--cdf-fc-creme);
}

.cdf-fc .cdf-fc-b--encre:hover {
    background: #3a140c;
    color: var(--cdf-fc-creme);
}

.cdf-fc .cdf-fc-b--jaune {
    background: var(--cdf-fc-jaune);
    color: var(--cdf-fc-encre);
}

.cdf-fc .cdf-fc-b--jaune:hover {
    background: var(--cdf-fc-jaune-2);
}

.cdf-fc .cdf-fc-b--clair {
    border: 1px solid var(--cdf-fc-filet);
    background: #fff;
    color: var(--cdf-fc-encre);
}

.cdf-fc .cdf-fc-b--clair:hover,
.cdf-fc .cdf-fc-b--clair[aria-pressed="true"] {
    background: var(--cdf-fc-neutre);
}

.cdf-fc-b--plein {
    width: 100%;
}

.cdf-fc-b--rouge:hover .cdf-fc-i,
.cdf-fc-b--encre:hover .cdf-fc-i {
    transform: translateX(3px);
}

/* ---------- Hero ---------- */
.cdf-fc-hero {
    position: relative;
    overflow: hidden;
    padding: 34px 0 20px;
}

.cdf-fc-filigrane {
    position: absolute;
    top: 360px;
    left: -30px;
    z-index: 0;
    color: #f4f0e2;
    font-family: var(--cdf-fc-dsp);
    font-size: 300px;
    font-weight: 900;
    line-height: .7;
    pointer-events: none;
    transform: rotate(-4deg);
    user-select: none;
}

.cdf-fc-hero .cdf-fc-wrap {
    position: relative;
    z-index: 1;
}

.cdf-fc-hero .cdf-breadcrumbs {
    margin: 0 0 22px;
}

.cdf-fc-hero__grille {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
}

@media (min-width: 1040px) {
    .cdf-fc-hero__grille {
        grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
        gap: 70px;
        align-items: start;
    }

    .cdf-fc-hero__grille--seule {
        grid-template-columns: minmax(0, 1fr);
        max-width: 1000px;
    }
}

.cdf-fc-surtitre {
    display: flex;
    flex-wrap: wrap;
    gap: 0 .4em;
    margin: 0 0 14px;
    color: var(--cdf-fc-rouge);
    font-size: 15px;
    font-weight: 600;
}

.cdf-fc-titre {
    margin-bottom: 22px !important;
    font-size: clamp(44px, 6.2vw, 96px);
    overflow-wrap: anywhere;
    hyphens: auto;
}

.cdf-fc-chapo {
    max-width: 52ch;
    margin: 0;
    color: var(--cdf-fc-encre);
    font-size: 17px;
}

/* Évaluations : seul endroit où l'on vote. */
.cdf-fc-eval {
    margin-top: 26px;
    overflow: hidden;
    border: 1px solid var(--cdf-fc-filet);
    border-radius: var(--cdf-fc-r);
    background: #fff;
    scroll-margin-top: 110px;
}

.cdf-fc .cdf-fc-eval__haut {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    align-items: stretch;
}

@media (min-width: 620px) {
    .cdf-fc .cdf-fc-eval__haut {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
    }
}

.cdf-fc-eval__haut--repli {
    padding: 16px 20px;
}

.cdf-fc-case {
    padding: 16px 20px;
}

.cdf-fc-case + .cdf-fc-case {
    border-top: 1px solid var(--cdf-fc-filet);
}

@media (min-width: 620px) {
    .cdf-fc-case + .cdf-fc-case {
        border-top: 0;
        border-left: 1px solid var(--cdf-fc-filet);
    }
}

.cdf-fc .ncdf-qual-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    min-height: 0;
}

.cdf-fc .ncdf-qual-label {
    min-width: 0;
    color: var(--cdf-fc-gris);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.cdf-fc .ncdf-qual-buttons {
    gap: 5px;
}

.cdf-fc .ncdf-qualification .ncdf-qual-btn,
.cdf-fc .ncdf-qualification .ncdf-qual-btn--difficulty {
    flex: 0 0 32px;
    width: 32px !important;
    min-width: 32px !important;
    max-width: 32px !important;
    height: 32px !important;
    min-height: 32px !important;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: var(--cdf-fc-filet);
    font-size: 25px;
    transition: color .16s ease, transform .16s ease;
}

.cdf-fc .ncdf-qualification .ncdf-qual-btn:hover {
    color: var(--cdf-fc-rouge);
    transform: translateY(-2px);
}

.cdf-fc .ncdf-qualification .ncdf-qual-btn.is-on {
    background: transparent;
    color: var(--cdf-fc-rouge);
}

.cdf-fc .ncdf-qualification .ncdf-qual-btn--difficulty {
    align-items: flex-end;
    padding-bottom: 4px !important;
}

.cdf-fc .ncdf-difficulty-bars {
    height: 22px;
    gap: 3px;
}

.cdf-fc .ncdf-difficulty-bars span {
    width: 5px;
    border-radius: 2px;
}

.cdf-fc .ncdf-difficulty-bars span:first-child { height: 8px; }
.cdf-fc .ncdf-difficulty-bars span:nth-child(2) { height: 14px; }
.cdf-fc .ncdf-difficulty-bars span:nth-child(n+3) { height: 22px; }

/* Échelle au-delà de 3 (lue par le plugin, jamais supposée ici) : barres
   réparties sur la même hauteur. Sans :has(), les barres 3+ restent pleines. */
.cdf-fc .ncdf-qual-buttons:has(.ncdf-qual-btn:nth-child(4)) .ncdf-difficulty-bars span:nth-child(1) { height: 6px; }
.cdf-fc .ncdf-qual-buttons:has(.ncdf-qual-btn:nth-child(4)) .ncdf-difficulty-bars span:nth-child(2) { height: 10px; }
.cdf-fc .ncdf-qual-buttons:has(.ncdf-qual-btn:nth-child(4)) .ncdf-difficulty-bars span:nth-child(3) { height: 14px; }
.cdf-fc .ncdf-qual-buttons:has(.ncdf-qual-btn:nth-child(4)) .ncdf-difficulty-bars span:nth-child(4) { height: 18px; }
.cdf-fc .ncdf-qual-buttons:has(.ncdf-qual-btn:nth-child(4)) .ncdf-difficulty-bars span:nth-child(n+5) { height: 22px; }

@keyframes cdf-fc-pop {
    0% { transform: scale(1); }
    38% { transform: scale(1.3); }
    100% { transform: scale(1); }
}

.cdf-fc .ncdf-qual-btn.cdf-fc-pop > * ,
.cdf-fc .ncdf-qual-btn.cdf-fc-pop {
    animation: cdf-fc-pop .34s cubic-bezier(.3, 1.4, .5, 1);
}

.cdf-fc .ncdf-qual-meta {
    color: var(--cdf-fc-gris);
    font-size: 14px;
    white-space: normal;
}

.cdf-fc .ncdf-qual-feedback:empty {
    display: none;
}

.cdf-fc-compteurs {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    min-width: 170px;
    background: var(--cdf-fc-neutre);
}

.cdf-fc-compteur {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--cdf-fc-gris);
    font-size: 14px;
    line-height: 1.2;
}

.cdf-fc-compteur .cdf-fc-i {
    width: 18px;
    height: 18px;
    color: var(--cdf-fc-encre);
}

.cdf-fc-compteur b {
    display: block;
    color: var(--cdf-fc-encre);
    font-family: var(--cdf-fc-dsp);
    font-size: 20px;
    font-weight: 900;
}

.cdf-fc-eval__bas {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    border-top: 1px solid var(--cdf-fc-filet);
}

.cdf-fc-sep {
    flex: 1;
}

.cdf-fc-chante {
    position: relative;
    display: inline-flex;
}

.cdf-fc .ncdf-sang {
    gap: 8px;
}

.cdf-fc .ncdf-sang-btn {
    min-height: 46px;
    gap: 9px;
    padding: 12px 18px;
    border: 0;
    border-radius: var(--cdf-fc-r-xs);
    background: var(--cdf-fc-jaune);
    color: var(--cdf-fc-encre);
    font-size: 15px;
    font-weight: 600;
}

.cdf-fc .ncdf-sang-btn:hover {
    background: var(--cdf-fc-jaune-2);
}

.cdf-fc .ncdf-sang.is-marked .ncdf-sang-btn,
.cdf-fc .ncdf-sang.is-marked .ncdf-sang-btn:hover {
    background: var(--cdf-fc-vert);
    color: #fff;
}

.cdf-fc .ncdf-sang-count {
    padding: 1px 11px;
    border-radius: 999px;
    background: rgba(36, 8, 4, .12);
    color: var(--cdf-fc-encre);
    font-family: var(--cdf-fc-dsp);
    font-size: 17px;
    font-weight: 900;
    line-height: 1.35;
}

.cdf-fc .ncdf-sang.is-marked .ncdf-sang-count {
    background: rgba(44, 100, 70, .14);
    color: var(--cdf-fc-vert);
}

.cdf-fc-plusun {
    position: absolute;
    top: 0;
    left: 50%;
    color: var(--cdf-fc-vert);
    font-family: var(--cdf-fc-dsp);
    font-size: 22px;
    font-weight: 900;
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, 0);
}

@keyframes cdf-fc-monte {
    0% { opacity: 0; transform: translate(-50%, 0) scale(.7); }
    25% { opacity: 1; }
    100% { opacity: 0; transform: translate(-50%, -42px) scale(1.1); }
}

.cdf-fc-plusun.go {
    animation: cdf-fc-monte .9s ease-out forwards;
}

/* Favori « Ma playlist » et ajout à un carnet (markup du plugin). */
.cdf-fc .cdf-fc-eval__bas .cdf-fav-btn,
.cdf-fc .cdf-fc-eval__bas .cdf-pl-toggle,
.cdf-fc .cdf-fc-eval__bas .cdf-pl-login {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 46px;
    min-height: 46px;
    margin: 0;
    padding: 10px 14px;
    border: 1px solid var(--cdf-fc-filet);
    border-radius: var(--cdf-fc-r-xs);
    background: #fff;
    box-shadow: none;
    color: var(--cdf-fc-encre);
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
}

.cdf-fc .cdf-fc-eval__bas .cdf-fav-btn:hover,
.cdf-fc .cdf-fc-eval__bas .cdf-pl-toggle:hover,
.cdf-fc .cdf-fc-eval__bas .cdf-pl-login:hover {
    border-color: var(--cdf-fc-encre);
}

.cdf-fc .cdf-fc-eval__bas .cdf-fav-btn[aria-pressed="true"] {
    border-color: var(--cdf-fc-rouge);
    background: var(--cdf-fc-rouge);
    color: #fff;
}

.cdf-fc .cdf-fc-eval__bas .cdf-pl-add-to {
    position: relative;
    display: inline-flex;
}

@media (max-width: 620px) {
    .cdf-fc-eval__bas > .cdf-fc-b,
    .cdf-fc-eval__bas > .cdf-fc-chante {
        flex: 1 1 100%;
        justify-content: center;
    }

    .cdf-fc-eval__bas > .cdf-fc-chante .ncdf-sang,
    .cdf-fc-eval__bas > .cdf-fc-chante .ncdf-sang-btn {
        width: 100%;
        justify-content: center;
    }

    .cdf-fc-sep {
        display: none;
    }
}

/* Visuel d'univers */
.cdf-fc-univers {
    position: relative;
    aspect-ratio: 16 / 9;
    margin-top: 26px;
    overflow: hidden;
    border-radius: var(--cdf-fc-r-lg);
    background: #1a1a1a;
}

.cdf-fc .cdf-fc-univers > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cdf-fc-univers__voile {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 4, 2, .88) 0%, rgba(10, 4, 2, .45) 42%, rgba(10, 4, 2, 0) 72%);
}

.cdf-fc-univers__txt {
    position: absolute;
    bottom: 24px;
    left: 28px;
    max-width: 62%;
    color: #fff;
}

.cdf-fc-univers__k {
    display: block;
    margin-bottom: 4px;
    font-size: 14px;
    opacity: .9;
}

.cdf-fc .cdf-fc-univers__titre {
    color: #fff;
    font-size: clamp(26px, 3.1vw, 40px);
}

.cdf-fc .cdf-fc-univers__titre a {
    color: inherit;
    text-decoration: none;
}

.cdf-fc .cdf-fc-univers__titre a:hover {
    text-decoration: underline;
    text-underline-offset: 4px;
}

.cdf-fc-univers__o {
    display: block;
    margin-top: 8px;
    color: var(--cdf-fc-jaune);
    font-family: var(--cdf-fc-dsp);
    font-size: 19px;
    font-weight: 800;
    text-transform: uppercase;
}

.cdf-fc-diff-pill {
    position: absolute;
    right: 26px;
    bottom: 26px;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 11px 16px;
    border-radius: var(--cdf-fc-r-xs);
    background: #fff;
    font-size: 15px;
    font-weight: 500;
}

.cdf-fc-crans {
    display: flex;
    align-items: flex-end;
    gap: 4px;
}

/* Hauteurs calculées depuis l'échelle réelle (--cdf-fc-crans), jamais codée en dur. */
.cdf-fc-crans i {
    display: block;
    width: 9px;
    height: calc(8px + 15px * var(--cdf-fc-cran, 1) / var(--cdf-fc-crans, 5));
    border-radius: 3px;
    background: var(--cdf-fc-neutre-2);
}

.cdf-fc-crans i.on {
    background: var(--cdf-fc-rouge);
}

/* Carte produit */
.cdf-fc-produit {
    overflow: hidden;
    border-radius: var(--cdf-fc-r-lg);
    background: #fff;
    box-shadow: 0 2px 22px rgba(36, 8, 4, .07);
}

.cdf-fc-produit__bandeau {
    margin: 0;
    padding: 16px 26px;
    background: var(--cdf-fc-jaune-2);
    color: var(--cdf-fc-encre);
    font-size: 15px;
    font-weight: 600;
}

.cdf-fc .cdf-fc-produit__vis {
    position: relative;
    display: block;
    overflow: hidden;
    padding: 30px 26px 10px;
    background: #fff;
}

.cdf-fc .cdf-fc-produit__vis img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    transition: opacity .28s ease, transform .5s ease;
}

.cdf-fc .cdf-fc-produit__vis img.sort {
    opacity: 0;
}

.cdf-fc-produit:hover .cdf-fc-produit__vis img {
    transform: scale(1.04);
}

.cdf-fc-points {
    display: flex;
    justify-content: center;
    gap: 2px;
    padding: 0 0 12px;
}

/* Zone de clic de 32px autour d'une pastille visuelle de 9px. */
.cdf-fc .cdf-fc-points button {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: transparent;
    cursor: pointer;
}

.cdf-fc-points button span {
    display: block;
    width: 9px;
    height: 9px;
    border-radius: 999px;
    background: var(--cdf-fc-neutre-2);
    transition: background .2s ease, width .2s ease, transform .2s ease;
}

.cdf-fc-points button:hover span {
    transform: scale(1.3);
}

.cdf-fc-points button.on span {
    width: 24px;
    background: var(--cdf-fc-rouge);
}

.cdf-fc-points button.on {
    width: 40px;
}

.cdf-fc-produit__bas {
    padding: 0 26px 28px;
}

.cdf-fc .cdf-fc-produit h2 {
    margin-bottom: 12px;
    font-size: clamp(26px, 2.2vw, 33px);
}

.cdf-fc-produit__d {
    margin: 0;
    color: var(--cdf-fc-gris);
    font-size: 15px;
}

.cdf-fc-produit__d + .cdf-fc-produit__d {
    margin-top: 6px;
}

.cdf-fc-produit__ligne {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 22px;
}

.cdf-fc-prix {
    color: var(--cdf-fc-rouge);
    font-family: var(--cdf-fc-dsp);
    font-size: 40px;
    font-weight: 900;
    line-height: 1;
    transition: opacity .28s ease;
}

.cdf-fc-prix.sort {
    opacity: 0;
}

.cdf-fc-prix del {
    color: var(--cdf-fc-gris);
    font-size: .55em;
}

.cdf-fc-prix ins {
    text-decoration: none;
}

/* ---------- Sommaire ---------- */
.cdf-fc-sommaire {
    position: sticky;
    top: 0;
    z-index: 25;
    padding: 26px 0 10px;
    background: var(--cdf-fc-creme);
}

.cdf-fc-sommaire__in {
    display: inline-flex;
    gap: 4px;
    max-width: 100%;
    overflow-x: auto;
    padding: 6px;
    border-radius: var(--cdf-fc-r);
    background: var(--cdf-fc-neutre);
    scrollbar-width: none;
}

.cdf-fc-sommaire__in::-webkit-scrollbar {
    display: none;
}

.cdf-fc .cdf-fc-sommaire a {
    padding: 12px 20px;
    border-radius: 10px;
    color: var(--cdf-fc-encre);
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
}

.cdf-fc .cdf-fc-sommaire a:hover {
    background: rgba(255, 255, 255, .7);
}

.cdf-fc .cdf-fc-sommaire a.actif {
    background: #fff;
    color: var(--cdf-fc-rouge);
    font-weight: 600;
}

/* ---------- Feuille ---------- */
.cdf-fc-section {
    padding: 34px 0;
}

.cdf-fc-feuille {
    position: relative;
    padding: clamp(24px, 3.4vw, 54px);
    border: 1px solid var(--cdf-fc-filet);
    border-radius: var(--cdf-fc-r-lg);
    background: #fff;
}

.cdf-fc-veillee-btn {
    position: absolute;
    top: clamp(24px, 3.4vw, 46px);
    left: clamp(24px, 3.4vw, 54px);
}

/* Correctif maquette : sous 1100px le bouton ne chevauche plus le surtitre. */
@media (max-width: 1100px) {
    .cdf-fc-veillee-btn {
        position: static;
        display: flex;
        margin: 0 auto 18px;
    }
}

.cdf-fc-f-tete {
    max-width: 720px;
    margin: 0 auto 10px;
    padding: 14px 0 0;
    text-align: center;
}

.cdf-fc-f-tete__k {
    display: block;
    margin-bottom: 12px;
    color: var(--cdf-fc-rouge);
    font-size: 15px;
    font-weight: 600;
}

.cdf-fc .cdf-fc-f-tete h2 {
    font-size: clamp(34px, 4.4vw, 62px);
    overflow-wrap: anywhere;
}

.cdf-fc-f-tete__note {
    width: 28px;
    height: 28px;
    margin: 22px auto 0;
    color: #ded8c8;
}

.cdf-fc-filet {
    max-width: 900px;
    height: 4px;
    margin: 12px auto 34px;
    border-radius: 999px;
    background: #f2f2f2;
}

.cdf-fc .cdf-fc-paroles {
    max-width: none;
    font-size: 16.5px;
    line-height: 1.5;
}

.cdf-fc .cdf-fc-paroles--structure {
    white-space: normal;
}

/* Repli the_content() : feuille centrée, lisible. */
.cdf-fc .cdf-fc-paroles:not(.cdf-fc-paroles--structure) {
    max-width: 720px;
    margin: 0 auto;
}

.cdf-fc-couplets {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0 60px;
}

.cdf-fc-col-filet {
    display: none;
}

@media (min-width: 900px) {
    .cdf-fc-couplets:not(.cdf-fc-couplets--une) {
        grid-template-columns: minmax(0, 1fr) 1px minmax(0, 1fr);
    }

    .cdf-fc-col-filet {
        display: block;
        width: 1px;
        background: var(--cdf-fc-filet);
    }

    .cdf-fc-couplets--une {
        max-width: 760px;
        margin: 0 auto;
    }
}

.cdf-fc-couplet {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 10px;
    align-items: start;
    margin-bottom: 26px;
}

.cdf-fc-couplet__no {
    color: var(--cdf-fc-encre);
    font-family: var(--cdf-fc-dsp);
    font-size: 50px;
    font-weight: 900;
    line-height: .84;
}

.cdf-fc .cdf-fc-paroles p {
    margin: 0;
    font-size: 16.5px;
    line-height: 1.5;
    transition: font-size .3s ease;
}

.cdf-fc-bis {
    margin-left: 4px;
    color: var(--cdf-fc-rouge);
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: .09em;
    vertical-align: super;
}

.cdf-fc-refrain {
    position: relative;
    margin: 0 0 26px 62px;
}

.cdf-fc-refrain__t,
.cdf-fc .cdf-fc-paroles .cdf-fc-rappel {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--cdf-fc-rouge);
    font-size: 15px;
    font-weight: 700;
}

.cdf-fc-refrain__t {
    margin-bottom: 10px;
}

.cdf-fc-refrain__t::before,
.cdf-fc-rappel::before {
    content: "";
    display: block;
    width: 2px;
    height: 15px;
    background: currentColor;
}

.cdf-fc-refrain__c {
    padding-left: 16px;
    border-left: 2px solid var(--cdf-fc-rouge);
}

.cdf-fc-refrain--fin .cdf-fc-refrain__t {
    color: #8a6d0f;
}

.cdf-fc-refrain--fin .cdf-fc-refrain__c {
    border-color: var(--cdf-fc-jaune-2);
}

.cdf-fc .cdf-fc-paroles .cdf-fc-rappel {
    margin: -14px 0 24px 62px;
}

.cdf-fc-texte {
    margin: 0 0 26px 62px;
}

/* Le vers imprimé : passerelle vers la boutique */
.cdf-fc mark.cdf-fc-imprime {
    padding: 0 2px;
    background-color: transparent;
    background-image: linear-gradient(var(--cdf-fc-jaune), var(--cdf-fc-jaune));
    background-position: 0 100%;
    background-repeat: no-repeat;
    background-size: 0 38%;
    color: inherit;
    transition: background-size .75s cubic-bezier(.4, 0, .2, 1);
}

.cdf-fc mark.cdf-fc-imprime.trace {
    background-size: 100% 38%;
}

.cdf-fc .cdf-fc-puce {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 24px;
    margin-left: 8px;
    padding: 3px 11px;
    border-radius: 999px;
    background: var(--cdf-fc-jaune);
    color: var(--cdf-fc-encre);
    font-size: 12px;
    font-weight: 600;
    opacity: 0;
    text-decoration: none;
    transform: translateX(-8px);
    transition: opacity .35s ease .55s, transform .35s ease .55s, background .15s, color .15s;
    vertical-align: 1px;
    white-space: nowrap;
}

.cdf-fc .cdf-fc-puce.trace,
.cdf-fc .cdf-fc-puce:focus-visible {
    opacity: 1;
    transform: none;
}

.cdf-fc .cdf-fc-puce .cdf-fc-i {
    width: 12px;
    height: 12px;
    transition: transform .2s ease;
}

.cdf-fc .cdf-fc-puce:hover {
    background: var(--cdf-fc-encre);
    color: var(--cdf-fc-jaune);
}

.cdf-fc .cdf-fc-puce:hover .cdf-fc-i {
    transform: rotate(-8deg) scale(1.1);
}

/* Pendant la copie des paroles, l'interface n'est pas lue. */
.cdf-fc-copie [data-cdf-fc-nocopy],
.cdf-fc-copie .cdf-partition-cta-wrap {
    display: none !important;
}

/* Sans JavaScript, tout reste visible. */
html:not(.cdf-fc-js) .cdf-fc mark.cdf-fc-imprime {
    background-size: 100% 38%;
}

html:not(.cdf-fc-js) .cdf-fc .cdf-fc-puce {
    opacity: 1;
    transform: none;
}

.cdf-fc-f-pied {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 16px;
    padding-top: 26px;
    border-top: 1px solid var(--cdf-fc-filet);
}

.cdf-fc-f-pied__note {
    max-width: 64ch;
    margin: 0;
    color: var(--cdf-fc-gris);
    font-size: 15px;
}

.cdf-fc .cdfcc-content-edit {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 12px 22px;
    border-radius: var(--cdf-fc-r-xs);
    background: var(--cdf-fc-encre);
    color: var(--cdf-fc-creme);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
}

.cdf-fc .cdfcc-content-edit:hover {
    background: #3a140c;
    color: var(--cdf-fc-creme);
}

.cdf-fc-contribution {
    margin-top: 18px;
    color: var(--cdf-fc-gris);
    font-size: 15px;
}

.cdf-fc .cdf-fc-contribution h2 {
    display: inline;
    margin-right: .4em;
    color: var(--cdf-fc-encre);
    font-family: var(--cdf-fc-txt);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0;
    line-height: inherit;
    text-transform: none;
}

.cdf-fc .cdf-fc-contribution h2::after {
    content: " :";
}

.cdf-fc-contribution p {
    display: inline;
    margin: 0;
}

.cdf-fc-f-outils {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 22px;
}

.cdf-fc-f-outils:not(:has(button:not([hidden]))) {
    display: none;
}

.cdf-fc-f-outils .cdf-fc-ok {
    background: var(--cdf-fc-vert);
}

/* ---------- Partition ---------- */
.cdf-fc-partition {
    margin-top: 26px;
    overflow: hidden;
    border: 1px solid var(--cdf-fc-filet);
    border-radius: var(--cdf-fc-r-lg);
    background: #fff;
    scroll-margin-top: 110px;
}

.cdf-fc-partition__tete {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    padding: 22px 30px;
    border-bottom: 1px solid var(--cdf-fc-filet);
}

.cdf-fc-partition__ico {
    width: 26px;
    height: 26px;
    color: var(--cdf-fc-rouge);
}

.cdf-fc .cdf-fc-partition__tete h2 {
    font-size: clamp(26px, 2.4vw, 34px);
}

.cdf-fc-partition__meta {
    margin-left: auto;
    color: var(--cdf-fc-gris);
    font-size: 14.5px;
}

.cdf-fc-partition__corps {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 26px;
    padding: 30px;
}

@media (min-width: 760px) {
    .cdf-fc-partition__corps:not(.cdf-fc-partition__corps--seul) {
        grid-template-columns: 230px minmax(0, 1fr);
        gap: 40px;
        align-items: center;
    }
}

.cdf-fc-apercu {
    aspect-ratio: 1 / 1.414;
    overflow: hidden;
    border: 1px solid var(--cdf-fc-filet);
    border-radius: var(--cdf-fc-r);
    background: var(--cdf-fc-neutre);
}

.cdf-fc .cdf-fc-apercu__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

.cdf-fc-partition__texte {
    max-width: 58ch;
    margin: 0 0 20px;
    font-size: 16px;
}

.cdf-fc-p-liens {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.cdf-fc .cdf-partition-cta-wrap {
    margin: 0;
}

.cdf-fc .cdf-partition-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 12px 22px;
    border: 0;
    border-radius: var(--cdf-fc-r-xs);
    background: var(--cdf-fc-rouge);
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
}

.cdf-fc .cdf-partition-cta:hover {
    background: var(--cdf-fc-rouge-2);
    color: #fff;
}

.cdf-fc .cdf-fc-paroles .cdf-partition-cta-wrap {
    margin: 0 0 28px;
    text-align: center;
}

.cdf-fc-p-detail {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 34px;
    margin: 24px 0 0;
    padding-top: 20px;
    border-top: 1px solid var(--cdf-fc-filet);
    font-size: 15px;
}

.cdf-fc-p-detail dt {
    margin-bottom: 2px;
    color: var(--cdf-fc-gris);
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.cdf-fc-p-detail dd {
    margin: 0;
}

/* ---------- Trois cartes ---------- */
.cdf-fc-trio {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
    margin-top: 34px;
}

@media (min-width: 900px) {
    .cdf-fc-trio {
        grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
    }
}

.cdf-fc-carte-g {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 26px;
    border-radius: var(--cdf-fc-r);
    background: var(--cdf-fc-neutre);
}

.cdf-fc .cdf-fc-carte-g h3 {
    margin-bottom: 10px;
    font-size: 25px;
}

.cdf-fc-carte-g > p {
    margin: 0 0 18px;
    color: var(--cdf-fc-gris);
    font-size: 15px;
}

.cdf-fc-carte-g > .cdf-fc-b,
.cdf-fc-carte-g > .cdf-fc-liens-ecoute {
    margin-top: auto;
}

.cdf-fc-correction {
    display: block;
    margin-bottom: 12px;
}

.cdf-fc-correction .cdfcc-content-edit {
    width: 100%;
    justify-content: center;
}

.cdf-fc-liens-ecoute {
    display: grid;
    gap: 10px;
}

.cdf-fc .cdf-fc-liens-ecoute a {
    display: flex;
    align-items: center;
    gap: 13px;
    min-height: 44px;
    padding: 11px 14px;
    border: 1px solid var(--cdf-fc-filet);
    border-radius: var(--cdf-fc-r-xs);
    background: #fff;
    color: var(--cdf-fc-encre);
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
}

.cdf-fc .cdf-fc-liens-ecoute a:hover {
    border-color: var(--cdf-fc-encre);
}

.cdf-fc-g {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    flex: none;
    border-radius: 999px;
    color: #fff;
}

.cdf-fc-g .cdf-fc-i {
    width: 15px;
    height: 15px;
}

.cdf-fc-g--yt { background: var(--cdf-fc-rouge); }
.cdf-fc-g--sp { background: #1e7a4c; }
.cdf-fc-g--dz { background: #241f3f; }

.cdf-fc-ch {
    margin-left: auto;
    color: var(--cdf-fc-gris);
}

.cdf-fc-ch .cdf-fc-i {
    width: 15px;
    height: 15px;
}

/* ---------- Boutique ---------- */
.cdf-fc-boutique {
    margin: 40px 0;
    padding: 56px 40px 60px;
    border-radius: var(--cdf-fc-r-lg);
    background: var(--cdf-fc-jaune);
    scroll-margin-top: 110px;
}

.cdf-fc-b-tete {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 26px;
    margin-bottom: 38px;
}

.cdf-fc .cdf-fc-b-tete h2 {
    margin-bottom: 14px;
    font-size: clamp(36px, 5vw, 66px);
}

.cdf-fc-b-tete p {
    max-width: 52ch;
    margin: 0;
    font-size: 16px;
}

.cdf-fc-produits {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

@media (min-width: 880px) {
    .cdf-fc-produits {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 24px;
    }
}

.cdf-fc .cdf-fc-p-carte {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 16px;
    border-radius: var(--cdf-fc-r);
    background: var(--cdf-fc-jaune-3);
    color: inherit;
    text-decoration: none;
    transition: transform .15s;
}

.cdf-fc .cdf-fc-p-carte:hover {
    transform: translateY(-3px);
}

.cdf-fc-p-carte__vis {
    display: grid;
    place-items: center;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    padding: 10px;
    border-radius: 12px;
    background: #fff;
}

.cdf-fc .cdf-fc-p-carte__vis img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.cdf-fc-etq {
    position: absolute;
    top: -12px;
    left: 4px;
    z-index: 1;
    padding: 7px 14px;
    border-radius: var(--cdf-fc-r-xs);
    font-size: 13px;
    font-weight: 600;
}

.cdf-fc-etq--v {
    background: var(--cdf-fc-rouge);
    color: #fff;
}

.cdf-fc-etq--c {
    background: var(--cdf-fc-encre);
    color: var(--cdf-fc-jaune);
}

.cdf-fc .cdf-fc-p-carte h3 {
    margin: 18px 0 2px;
    font-family: var(--cdf-fc-txt);
    font-size: 17px;
    font-weight: 600;
    line-height: 1.25;
    text-transform: none;
}

.cdf-fc-p-carte__s {
    color: var(--cdf-fc-gris);
    font-size: 13px;
    font-style: italic;
}

.cdf-fc-p-carte__prix {
    margin-top: auto;
    padding-top: 18px;
    font-family: var(--cdf-fc-dsp);
    font-size: 34px;
    font-weight: 900;
    line-height: 1;
}

.cdf-fc-rassure {
    margin-top: 30px;
    font-size: 15px;
}

/* ---------- Écouter ---------- */
.cdf-fc .cdf-fc-ecouter h2 {
    max-width: 14ch;
    margin-bottom: 16px;
    font-size: clamp(36px, 4.6vw, 62px);
}

.cdf-fc-ecouter__intro {
    max-width: 58ch;
    margin: 0 0 36px;
    font-size: 16px;
}

.cdf-fc-ec-grille {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 34px;
}

@media (min-width: 940px) {
    .cdf-fc-ec-grille:not(.cdf-fc-ec-grille--seule) {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 56px;
        align-items: start;
    }

    .cdf-fc-ec-grille--seule {
        max-width: 900px;
    }
}

.cdf-fc-lecteur {
    overflow: hidden;
    border-radius: var(--cdf-fc-r-lg);
    background: var(--cdf-fc-neutre);
}

.cdf-fc-lecteur > .cdf-fc-b {
    margin: 24px;
}

.cdf-fc-versions {
    margin: 0;
    padding: 0;
    list-style: none;
}

.cdf-fc-version {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 3px solid var(--cdf-fc-neutre);
}

.cdf-fc-version:first-child {
    padding-top: 0;
}

.cdf-fc .cdf-fc-version h3 {
    font-size: 25px;
}

.cdf-fc-version p {
    margin: 5px 0 0;
    color: var(--cdf-fc-gris);
    font-size: 15px;
}

.cdf-fc-version .cdf-fc-b {
    margin-left: auto;
}

/* ---------- Histoire ---------- */
.cdf-fc-histoire {
    margin: 40px 0;
    padding: clamp(26px, 4vw, 60px);
    border: 1px solid var(--cdf-fc-filet);
    border-radius: var(--cdf-fc-r-lg);
    background: #fff;
    scroll-margin-top: 110px;
}

.cdf-fc-histoire__corps {
    max-width: 900px;
    margin: 0 auto;
}

.cdf-fc .cdf-fc-histoire .cdf-chant-about,
.cdf-fc .cdf-fc-histoire .cdf-chant-histoire {
    margin: 0;
}

.cdf-fc .cdf-fc-histoire .cdf-chant-about + .cdf-chant-histoire {
    margin-top: 40px;
}

.cdf-fc .cdf-chant-about h2,
.cdf-fc .cdf-chant-histoire__title {
    margin-bottom: 30px;
    color: var(--cdf-fc-rouge);
    font-family: var(--cdf-fc-dsp);
    font-size: clamp(34px, 4.4vw, 58px);
    text-align: center;
}

.cdf-fc .cdf-fc-histoire p {
    margin: 0 0 20px;
    font-size: 16.5px;
}

/* ---------- Carnets ---------- */
.cdf-fc .cdf-fc-t-section {
    margin-bottom: 34px;
    font-size: clamp(34px, 4.6vw, 62px);
}

.cdf-fc-carnets {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
}

@media (min-width: 800px) {
    .cdf-fc-carnets {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 26px;
    }
}

.cdf-fc .cdf-fc-carnet {
    position: relative;
    display: block;
    aspect-ratio: 4 / 3.1;
    overflow: hidden;
    border-radius: var(--cdf-fc-r-lg);
    background: #1a1a1a;
    color: #fff;
    text-decoration: none;
}

.cdf-fc .cdf-fc-carnet > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .7s cubic-bezier(.2, .6, .2, 1);
}

.cdf-fc .cdf-fc-carnet:hover > img {
    transform: scale(1.05);
}

.cdf-fc-carnet__voile,
.cdf-fc-proche__voile {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(8, 4, 2, .93) 8%, rgba(8, 4, 2, .55) 48%, rgba(8, 4, 2, .12) 85%);
}

.cdf-fc-chip {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 1;
    padding: 8px 15px;
    border-radius: var(--cdf-fc-r-xs);
    background: var(--cdf-fc-jaune);
    color: var(--cdf-fc-encre);
    font-size: 14px;
    font-weight: 600;
}

.cdf-fc-carnet__txt {
    position: absolute;
    right: 24px;
    bottom: 22px;
    left: 24px;
}

.cdf-fc .cdf-fc-carnet__txt h3 {
    color: #fff;
    font-size: clamp(24px, 2.4vw, 32px);
}

.cdf-fc-carnet__txt p {
    max-width: 34ch;
    margin: 10px 0 0;
    color: rgba(255, 255, 255, .88);
    font-size: 14.5px;
}

.cdf-fc-carnet__m {
    display: block;
    margin-top: 16px;
    color: var(--cdf-fc-jaune);
    font-family: var(--cdf-fc-dsp);
    font-size: 17px;
    font-weight: 800;
    text-transform: uppercase;
}

/* ---------- Chants proches ---------- */
.cdf-fc-tete-ligne {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 26px;
    margin-bottom: 34px;
}

.cdf-fc .cdf-fc-tete-ligne h2 {
    margin: 0;
}

.cdf-fc-proches {
    display: grid;
    grid-auto-columns: minmax(230px, 1fr);
    grid-auto-flow: column;
    gap: 20px;
    margin: 0;
    padding: 0 0 10px;
    overflow-x: auto;
    list-style: none;
    scrollbar-width: thin;
}

.cdf-fc .cdf-fc-proche {
    position: relative;
    display: block;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    border-radius: var(--cdf-fc-r-lg);
    background: radial-gradient(120% 90% at 50% 20%, #4a4440 0%, #1b1613 70%);
    color: #fff;
    text-decoration: none;
}

.cdf-fc .cdf-fc-proche > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cdf-fc-proche .cdf-fc-chip {
    top: 18px;
    left: 18px;
    padding: 7px 14px;
    font-size: 13.5px;
}

.cdf-fc-proche__txt {
    position: absolute;
    right: 20px;
    bottom: 20px;
    left: 20px;
}

.cdf-fc-proche__titre {
    display: block;
    color: #fff;
    font-family: var(--cdf-fc-dsp);
    font-size: 25px;
    font-weight: 800;
    line-height: 1;
    overflow-wrap: anywhere;
    hyphens: auto;
    text-transform: uppercase;
}

/* ---------- Barre d'achat mobile ---------- */
.cdf-fc-barre-mob {
    position: fixed;
    right: 12px;
    bottom: 12px;
    left: 12px;
    z-index: 60;
    display: none;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: var(--cdf-fc-r);
    background: #fff;
    box-shadow: 0 8px 30px rgba(36, 8, 4, .22);
    transform: translateY(140%);
    transition: transform .22s;
}

.cdf-fc-barre-mob.on {
    transform: none;
}

.cdf-fc .cdf-fc-barre-mob img {
    width: 46px;
    height: 46px;
    flex: none;
    border-radius: 10px;
    background: var(--cdf-fc-neutre);
    object-fit: contain;
}

.cdf-fc-barre-mob__t {
    flex: 1;
    min-width: 0;
    line-height: 1.2;
}

.cdf-fc-barre-mob__t b {
    display: block;
    overflow: hidden;
    font-size: 14px;
    font-weight: 600;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cdf-fc-barre-mob__t span {
    color: var(--cdf-fc-rouge);
    font-size: 14px;
    font-weight: 600;
}

/* ---------- Mode veillée ---------- */
body.cdf-fc-veillee .cdf-fc-couplets:not(.cdf-fc-couplets--une) {
    grid-template-columns: minmax(0, 1fr);
}

body.cdf-fc-veillee .cdf-fc-col-filet {
    display: none;
}

body.cdf-fc-veillee .cdf-fc .cdf-fc-paroles p {
    font-size: 25px;
    line-height: 1.45;
}

body.cdf-fc-veillee .cdf-fc-couplet {
    grid-template-columns: 64px minmax(0, 1fr);
}

body.cdf-fc-veillee .cdf-fc-couplet__no {
    font-size: 62px;
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
    .cdf-fc {
        --cdf-fc-gut: 22px;
    }

    .cdf-fc-filigrane {
        display: none;
    }
}

@media (max-width: 860px) {
    .cdf-fc-boutique {
        padding: 40px 22px 44px;
        border-radius: var(--cdf-fc-r);
    }

    .cdf-fc-barre-mob {
        display: flex;
    }

    body.cdf-view-chant {
        padding-bottom: 84px;
    }

    .cdf-fc-refrain,
    .cdf-fc .cdf-fc-paroles .cdf-fc-rappel,
    .cdf-fc-texte {
        margin-left: 0;
    }

    .cdf-fc-univers__txt {
        right: 20px;
        bottom: 20px;
        left: 20px;
        max-width: 100%;
    }

    .cdf-fc-diff-pill {
        top: 20px;
        right: auto;
        bottom: auto;
        left: 20px;
    }
}

@media (max-width: 620px) {
    /* Correctif maquette : numéro de couplet plus étroit sur mobile. */
    .cdf-fc-couplet,
    body.cdf-fc-veillee .cdf-fc-couplet {
        grid-template-columns: 34px minmax(0, 1fr);
        gap: 8px;
    }

    .cdf-fc-couplet__no,
    body.cdf-fc-veillee .cdf-fc-couplet__no {
        font-size: 38px;
    }

    body.cdf-fc-veillee .cdf-fc .cdf-fc-paroles p {
        font-size: 21px;
    }

    .cdf-fc-partition__tete,
    .cdf-fc-partition__corps {
        padding-right: 20px;
        padding-left: 20px;
    }

    .cdf-fc-partition__meta {
        margin-left: 0;
    }

    .cdf-fc-version .cdf-fc-b {
        margin-left: 0;
    }

    .cdf-fc-p-carte__prix {
        font-size: 28px;
    }
}

/* Correctif maquette : à 320px la pastille de difficulté ne recouvre plus le titre d'univers. */
@media (max-width: 480px) {
    .cdf-fc-univers {
        display: flex;
        flex-direction: column;
        aspect-ratio: auto;
    }

    .cdf-fc .cdf-fc-univers > img {
        aspect-ratio: 16 / 9;
        height: auto;
    }

    .cdf-fc-univers__voile {
        display: none;
    }

    .cdf-fc-univers__txt {
        position: static;
        max-width: none;
        padding: 18px 20px 20px;
    }

    .cdf-fc-diff-pill {
        top: 14px;
        left: 14px;
        gap: 10px;
        padding: 8px 12px;
        font-size: 14px;
    }

    .cdf-fc .cdf-fc-sommaire a {
        padding: 12px 14px;
    }

    .cdf-fc-produits {
        gap: 14px;
    }

    .cdf-fc .cdf-fc-p-carte {
        padding: 12px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .cdf-fc *,
    .cdf-fc *::before,
    .cdf-fc *::after {
        animation: none !important;
        transition: none !important;
    }
}

/* ---------- Impression : la feuille seule ---------- */
@media print {
    body.cdf-view-chant .cdf-site-header,
    body.cdf-view-chant .cdf-shop-discovery,
    body.cdf-view-chant .cdf-newsletter,
    body.cdf-view-chant .cdf-site-footer,
    body.cdf-view-chant .cdf-related-articles,
    .cdf-fc-hero,
    .cdf-fc-sommaire,
    .cdf-fc-veillee-btn,
    .cdf-fc-f-pied,
    .cdf-fc-f-outils,
    .cdf-fc-puce,
    .cdf-fc-trio,
    .cdf-fc-boutique,
    .cdf-fc-partition,
    .cdf-fc-ecouter,
    .cdf-fc-histoire,
    #carnets,
    #proches,
    .cdf-fc-barre-mob {
        display: none !important;
    }

    .cdf-fc-feuille {
        border: 0;
        padding: 0;
    }

    .cdf-fc mark.cdf-fc-imprime {
        background: none;
    }
}
