@charset "UTF-8";
/* ---------------------------------------------------------------------------------------------
   credits.css — brique « credits » (JulienWeb, 08/10/2026).

   Mise en file sur /credits/ seulement, après style.css et commun.css.
   Écrite pour 320 px, élargie par min-width. Variables de commun.css (--jws-*).
   L'ouverture est celle de la page « Mentions légales » (briques/mentions-legales) : même bande
   indigo, même pastille, même titre. Aucune graisse écrite.

   1. Ouverture
   2. Rubriques
   3. Les cartes (un artiste, ses photographes)
   4. Le tableau des remerciements
   5. Fin de page
   --------------------------------------------------------------------------------------------- */

.jws-credits {
    --jws-credits-voile: #f7f7fb;
    --jws-credits-trait: #ebecf2;
    color: var(--jws-encre);
    line-height: 1.6;
}


/* -- 1. Ouverture ----------------------------------------------------------------------------- */

.jws-credits__ouverture {
    padding: 2.25em 0 2em;
    border-bottom: 4px solid var(--jws-orange);
    background-color: var(--jws-indigo);
    color: var(--jws-sur-indigo);
    text-align: center;
}

.jws-credits__badge {
    display: inline-flex;
    align-items: center;
    margin: 0 0 1.1rem;
    padding: .3em 1em;
    border: 1px solid var(--jws-orange);
    border-radius: var(--jws-rayon-pilule);
    color: var(--jws-orange);          /* 5,10:1 sur l'indigo */
    font-size: .78rem;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.jws-credits__titre {
    margin: 0 auto .9rem;
    color: var(--jws-sur-indigo);
    font-family: var(--jws-police-titre);
    font-size: clamp(1.6rem, 5vw, 2.6rem);
    line-height: 1.2;
}

.jws-credits__presentation {
    max-width: 40em;
    margin: 0 auto;
    font-size: 1.03rem;
    text-wrap: balance;
}

.jws-credits__compte {
    margin: 1.1rem 0 0;
    color: var(--jws-orange);
    font-family: var(--jws-police-titre);
    font-size: .95rem;
}

@media (min-width: 768px) {
    .jws-credits__ouverture {
        padding: 3.25em 0 3em;
    }
}


/* -- 2. Rubriques ----------------------------------------------------------------------------- */

/* [10/10/2026] Le titre de la rubrique est le composant « titre de section » (commun.css § 6), qui porte son air :
   plus de marge haute ici. */
.jws-credits__rubrique {
    padding: 0 0 1.5em;
}

.jws-credits__rubrique:nth-of-type(even) {
    border-block: 1px solid var(--jws-credits-trait);
    background-color: var(--jws-credits-voile);
}

.jws-credits__soustitre {
    display: flex;
    align-items: center;
    margin: 0 0 1.1rem;
    color: var(--jws-indigo);
    font-family: var(--jws-police-titre);
    font-size: clamp(1.3rem, 3.4vw, 1.75rem);
    line-height: 1.2;
}

.jws-credits__libre {
    max-width: 46em;
}

@media (min-width: 992px) {
    .jws-credits__rubrique {
        padding: 0 0 2.25em;   /* 3em en haut jusqu'au 10/10 : l'air au-dessus du titre vient du composant */
    }
}


/* -- 3. Les cartes ---------------------------------------------------------------------------- */

.jws-credits__cartes {
    display: grid;
    gap: 12px;
    margin: 0 0 1em;
    padding: 0;
    list-style: none;
}

.jws-credits__carte {
    min-width: 0;
    padding: 14px 16px 12px;
    border: 1px solid var(--jws-trait);
    border-top: 3px solid var(--jws-orange);
    border-radius: var(--jws-rayon);
    background-color: var(--jws-fond);
}

.jws-credits__artiste {
    display: flex;
    align-items: center;
    min-height: 28px;
    margin: 0 0 .5rem;
    color: var(--jws-indigo);
    font-family: var(--jws-police-titre);
    font-size: 1.05rem;
    line-height: 1.3;
    overflow-wrap: anywhere;
}

.jws-credits__artiste a {
    color: var(--jws-indigo);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.jws-credits__artiste a:hover,
.jws-credits__artiste a:focus-visible {
    color: var(--jws-indigo-fonce);     /* le thème pose a:hover en orange : 2,35:1 sur blanc */
    text-decoration-thickness: 2px;
}

.jws-credits__artiste a:focus-visible,
.jws-credits__fiche a:focus-visible,
.jws-credits__fin a:focus-visible {
    outline: 3px solid var(--jws-orange);
    outline-offset: 2px;
}

.jws-credits__noms {
    margin: 0;
    padding: 0;
    list-style: none;
    color: var(--jws-encre-2);
    font-size: .95rem;
    line-height: 1.55;
}

@media (min-width: 576px) {
    .jws-credits__cartes {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 992px) {
    .jws-credits__cartes {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 1200px) {
    .jws-credits__cartes {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}


/* -- 4. Le tableau des remerciements ---------------------------------------------------------- */

.jws-credits__fiche {
    max-width: 900px;
    margin: 0 0 1em;
    border: 1px solid var(--jws-trait);
    background-color: var(--jws-fond);
    font-size: .95rem;
    line-height: 1.5;
}

.jws-credits__fiche > div + div {
    border-top: 1px solid var(--jws-trait-clair);
}

.jws-credits__fiche dt {
    padding: 10px 14px 0;
    color: var(--jws-gris);
    font-size: .85rem;
    font-weight: inherit;
}

.jws-credits__fiche dd {
    margin: 0;
    padding: 0 14px 10px;
    color: var(--jws-indigo);
    overflow-wrap: anywhere;
}

.jws-credits__fiche a {
    color: var(--jws-indigo);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.jws-credits__fiche a:hover,
.jws-credits__fiche a:focus-visible {
    color: var(--jws-indigo-fonce);
}

@media (min-width: 576px) {
    .jws-credits__fiche > div {
        display: grid;
        grid-template-columns: minmax(0, 38%) minmax(0, 1fr);
    }

    .jws-credits__fiche dt,
    .jws-credits__fiche dd {
        padding: 10px 14px;
    }

    .jws-credits__fiche dt {
        border-right: 1px solid var(--jws-trait-clair);
        background-color: var(--jws-fond-doux);
        font-size: inherit;
    }
}


/* -- 5. Fin de page --------------------------------------------------------------------------- */

/* Le crédit de JulienWeb, sous les rubriques : la taille d'une ligne du tableau, derrière un filet. */
.jws-credits__site {
    margin: 2em 0 0;
    padding: 1em 0 0;
    border-top: 1px dashed var(--jws-orange);
    color: var(--jws-encre-2);
    font-size: .95rem;
    line-height: 1.55;
}

.jws-credits__site-quoi {
    color: var(--jws-indigo);
    font-weight: 700;
}

.jws-credits__site a {
    color: var(--jws-indigo);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.jws-credits__site a:focus-visible {
    outline: 3px solid var(--jws-orange);
    outline-offset: 2px;
}

.jws-credits__fin {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 4px 20px;
    margin: 1.25em 0 2em;
    font-size: .8em;
}

.jws-credits__fin a {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    color: var(--jws-gris);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.jws-credits__fin a:hover,
.jws-credits__fin a:focus-visible {
    color: var(--jws-indigo);
}
