/* ========================================
   PAGE À PROPOS
======================================== */


/* ========================================
   CONTENEUR
======================================== */

.about-content {
    width: min(
        var(--content-width),
        calc(100% - 80px)
    );

    min-width: 600px;

    display: flex;
    flex-direction: column;

    gap: 72px;

    padding:
        20px 0
        70px;
}


/* ========================================
   PETITS INDEX
======================================== */

.about-index {
    color:
        rgba(255, 255, 255, 0.38);

    font-size: 13px;
    line-height: 1;

    font-weight: 700;

    letter-spacing: 0.06em;
}


/* ========================================
   INTRO
======================================== */

.about-intro {
    width: 100%;

    display: grid;

    grid-template-columns:
        minmax(180px, 0.32fr)
        minmax(0, 1fr);

    column-gap: 34px;

    align-items: start;
}


/* ========================================
   TITRE INTRO
======================================== */

.about-intro-heading {
    display: flex;
    flex-direction: column;

    gap: 9px;

    position: sticky;

    top: 90px;
}


.bio-title {
    margin: 0;

    max-width: 220px;

    color: #fff;

    font-size:
        clamp(30px, 3.2vw, 48px);

    line-height: 0.91;

    font-weight: 700;

    letter-spacing: -0.025em;
}


/* ========================================
   PHOTOS
======================================== */

.about-photo {
    margin: 0;
}


.about-photo img {
    display: block;

    width: 100%;
    height: auto;
}


.about-photo figcaption {
    margin-top: 8px;

    color:
        rgba(255, 255, 255, 0.72);

    font-size: 14px;
    line-height: 1;

    text-align: right;
}


/* ========================================
   PHOTO PRINCIPALE

   Même largeur que la seconde photo,
   centrée dans sa colonne.
======================================== */

.about-photo-main {
    width: 62%;

    justify-self: center;
}


/* ========================================
   SECTIONS DE TEXTE
======================================== */

.about-section {
    width: 100%;

    display: grid;

    grid-template-columns:
        minmax(180px, 0.32fr)
        minmax(0, 1fr);

    column-gap: 34px;

    align-items: start;
}


/* ========================================
   PETITE MARGE ÉDITORIALE
======================================== */

.about-section-marker {
    display: flex;
    flex-direction: column;

    gap: 4px;

    padding-top: 4px;

    color:
        rgba(255, 255, 255, 0.42);

    font-size: 13px;
    line-height: 1.05;

    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: 0.045em;
}


/* ========================================
   TEXTE
======================================== */

.about-text {
    width: 100%;

    max-width: 780px;
}


.about-text p {
    margin:
        0 0
        22px;

    color:
        rgba(255, 255, 255, 0.88);

    font-size:
        clamp(19px, 1.45vw, 23px);

    line-height: 1.12;

    font-weight: 700;
}


.about-text p:last-child {
    margin-bottom: 0;
}


.about-text strong {
    color: #fff;

    font-weight: 700;
}


.about-text em {
    font-style: italic;
}


/* ========================================
   PREMIER TEXTE

   Un peu plus présent.
======================================== */

.about-text-lead p:first-child {
    color: #fff;

    font-size:
        clamp(22px, 1.75vw, 27px);

    line-height: 1.08;
}


/* ========================================
   PHOTO SECONDAIRE
======================================== */

.about-photo-secondary {
    width: 62%;

    align-self: flex-end;

    margin-right: 4%;
}


/* ========================================
   DEUXIÈME CHAPITRE
======================================== */

.about-section-heading {
    display: flex;
    flex-direction: column;

    gap: 9px;

    padding-top: 2px;
}


.about-section-heading h2 {
    margin: 0;

    max-width: 210px;

    color: #fff;

    font-size:
        clamp(26px, 2.5vw, 38px);

    line-height: 0.94;

    font-weight: 700;

    letter-spacing: -0.02em;
}


/* ========================================
   CRÉDIT BIO
======================================== */

.bio-credit {
    width: 68%;

    align-self: flex-end;

    margin:
        -38px 0
        0;

    color:
        rgba(255, 255, 255, 0.52);

    font-size: 14px;
    line-height: 1;

    text-align: right;
}


/* ========================================
   DISCOGRAPHIE
======================================== */

.discography {
    width: 100%;

    display: flex;
    flex-direction: column;

    gap: 24px;

    padding-top: 12px;

    border-top:
        1px solid
        rgba(255, 255, 255, 0.45);
}


/* ========================================
   TITRE DISCOGRAPHIE
======================================== */

.discography-heading {
    display: flex;
    align-items: baseline;

    gap: 10px;
}


.discography-title {
    margin: 0;

    color: #fff;

    font-size:
        clamp(29px, 2.7vw, 42px);

    line-height: 1;

    font-weight: 700;

    letter-spacing: -0.02em;
}


/* ========================================
   GRILLE DISCOGRAPHIE
======================================== */

.discography-grid {
    width: 100%;

    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 18px;

    align-items: start;
}


/* ========================================
   ITEM DISCO
======================================== */

.discography-item {
    min-width: 0;

    display: flex;
    flex-direction: column;
}


/* ========================================
   POCHETTE
======================================== */

.discography-cover {
    display: block;

    width: 100%;
    height: auto;

    aspect-ratio: 1;

    object-fit: cover;
}


/* ========================================
   INFOS DISCO
======================================== */

.discography-info {
    padding-top: 9px;
}


.discography-year {
    margin-bottom: 5px;

    color:
        rgba(255, 255, 255, 0.45);

    font-size: 13px;
    line-height: 1;

    font-weight: 700;
}


.discography-name {
    margin: 0;

    color: #fff;

    font-size:
        clamp(19px, 1.55vw, 24px);

    line-height: 1;

    font-weight: 700;
}


.discography-label {
    margin-top: 5px;

    color:
        rgba(255, 255, 255, 0.55);

    font-size: 13px;
    line-height: 1.1;

    font-weight: 700;
}


/* ========================================
   HOVER DISCO
======================================== */

@media (hover: hover) and (pointer: fine) {

    .discography-item {
        transition:
            transform 0.25s ease;
    }


    .discography-item:hover {
        transform:
            translateY(-3px);
    }

}


/* ========================================
   TABLETTE / ÉCRANS ÉTROITS
======================================== */

@media (max-width: 900px) {

    .about-content {
        gap: 58px;
    }


    .about-intro,
    .about-section {
        grid-template-columns:
            minmax(135px, 0.28fr)
            minmax(0, 1fr);

        column-gap: 24px;
    }


    .bio-title {
        font-size: 34px;
    }


    .about-section-heading h2 {
        font-size: 30px;
    }


    /*
       Les deux photos gardent
       la même largeur sur tablette.
    */

    .about-photo-main,
    .about-photo-secondary {
        width: 70%;
    }


    /*
       La première reste centrée
       dans sa colonne.
    */

    .about-photo-main {
        justify-self: center;
    }


    .about-photo-secondary {
        margin-right: 0;
    }

}


/* ========================================
   MOBILE
======================================== */

@media (max-width: 700px) {

    .about-content {
        width:
            calc(100% - 36px);

        min-width: 0;

        gap: 44px;

        padding:
            15px 0
            38px;
    }


    /* ----------------------------------------
       PLUS D'ASYMÉTRIE FORCÉE
    ---------------------------------------- */

    .about-intro,
    .about-section {
        grid-template-columns: 1fr;

        gap: 18px;
    }


    /* ----------------------------------------
       TITRES
    ---------------------------------------- */

    .about-intro-heading {
        position: static;

        gap: 6px;
    }


    .bio-title {
        max-width: none;

        font-size: 32px;
    }


    .about-section-heading {
        gap: 6px;
    }


    .about-section-heading h2 {
        max-width: none;

        font-size: 29px;
    }


    /* ----------------------------------------
       MARQUEUR
    ---------------------------------------- */

    .about-section-marker {
        display: none;
    }


    /* ----------------------------------------
       TEXTE
    ---------------------------------------- */

    .about-text {
        max-width: none;
    }


    .about-text p,
    .about-text-lead p:first-child {
        font-size: 19px;

        line-height: 1.12;

        margin-bottom: 19px;
    }


    /* ----------------------------------------
       PHOTOS
    ---------------------------------------- */

    .about-photo-main,
    .about-photo-secondary {
        width: 78%;
    }


    /*
       Photo 1 centrée dans toute
       la largeur disponible.
    */

    .about-photo-main {
        justify-self: center;
    }


    /*
       Photo 2 conserve son placement
       asymétrique à droite.
    */

    .about-photo-secondary {
        align-self: flex-end;

        margin: 0;
    }


    .about-photo figcaption {
        font-size: 12px;
    }


    /* ----------------------------------------
       CRÉDIT BIO
    ---------------------------------------- */

    .bio-credit {
        width: 100%;

        margin-top: -18px;

        font-size: 12px;
    }


    /* ----------------------------------------
       DISCOGRAPHIE
    ---------------------------------------- */

    .discography {
        gap: 18px;
    }


    .discography-title {
        font-size: 30px;
    }


    .discography-grid {
        grid-template-columns: 1fr;

        gap: 28px;
    }


    .discography-item {
        width: 100%;
    }


    .discography-cover {
        width: 100%;
    }


    .discography-name {
        font-size: 21px;
    }

}
