/* =========================
   SÉLECTEUR DE LANGUE
   ========================= */

.language-switcher {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-bottom: 35px;
}

.language-switcher button {
    border: none;
    background: none;
    padding: 0;

    font-family: "Libre Baskerville", Baskerville, Georgia, serif;
    font-size: 12px;

    color: #66685c;

    cursor: pointer;

    transition: color 0.2s ease;
}

.language-switcher button:hover,
.language-switcher button.active {
    color: #30352a;
}

.language-switcher button.active {
    text-decoration: underline;
    text-underline-offset: 3px;
}

@media (max-width: 700px) {

    .language-switcher {
        margin-bottom: 25px;
    }

}


/* =========================
   PAGE VIVALDI
   ========================= */

html,
body {
    margin: 0;
    padding: 0;
    min-height: 100%;
}

body {
    margin: 0;
    min-height: 100vh;

    background-color: #f5f0e6;
    background-image:
        linear-gradient(rgba(248, 245, 237, 0.8),
            rgba(248, 245, 237, 0.8)),
        url("../Ressources/images/vivaldi/fond\ Vivaldi\ 2.png");

    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    background-attachment: fixed;

    color: #35362d;
}

.vivaldi-page {
    width: min(100% - 40px, 1000px);
    min-height: 100vh;
    margin: 0 auto;
    padding: 100px 20px 120px;

    box-sizing: border-box;

    display: flex;
    flex-direction: column;
    align-items: center;
}


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

h1 {
    margin: 0 0 55px;

    font-family: "Libre Baskerville", Baskerville, Georgia, serif;
    font-size: clamp(38px, 5vw, 64px);
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: 0.03em;
    text-align: center;

    color: #30352a;
}


/* =========================
   IMAGE
   ========================= */

#image_intro {
    width: min(100%, 800px);
    margin-bottom: 60px;
}

#image_intro img {
    display: block;
    width: 100%;
    height: auto;

    border-radius: 3px;
}


/* =========================
   PRESENTATION
   ========================= */

.presentation {
    width: min(100%, 720px);

    font-family: "Libre Baskerville", Baskerville, Georgia, serif;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.9;
    text-align: center;

    color: #30352a;

    text-shadow: 0 0 12px rgba(248, 245, 237, 0.8);
}

.presentation p {
    margin: 0 0 24px;
}

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


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

@media (max-width: 700px) {

    .vivaldi-page {
        width: calc(100% - 30px);
        padding: 70px 15px 90px;
    }

    h1 {
        margin-bottom: 40px;
        font-size: clamp(32px, 10vw, 48px);
    }

    #image_intro {
        margin-bottom: 40px;
    }

    .presentation {
        font-size: 15px;
        line-height: 1.8;
    }
}


/* =========================
   MUSICIENS
   ========================= */

.musicians {
    width: min(100%, 850px);
    margin-top: 70px;

    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 55px 45px;
}

.musician {
    text-align: center;
}

.musician-photo {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    cursor: pointer;
    margin-bottom: 18px;
}

.musician-photo img {
    width: 100%;
    height: 100%;
    display: block;

    object-fit: cover;

    transition: transform 0.4s ease;
}

.musician h2 {
    font-family: "Libre Baskerville", Baskerville, Georgia, serif;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.4;
    color: #30352a;
}

.musician p {
    margin: 6px 0 0;
    font-family: "Libre Baskerville", Baskerville, Georgia, serif;
    font-size: 13px;
    font-style: italic;
    font-weight: 700;
    color: #66685c;
}

.musician:nth-child(4) .musician-photo img {
    object-position: center 20%;
}

.musician:nth-child(5) .musician-photo img {
    object-position: center 10%;
}

.musician:nth-child(6) .musician-photo img {
    object-position: center 15%;
}

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


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

@media (max-width: 700px) {

    .musicians {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px 20px;
        margin-top: 55px;
    }

    .musician h2 {
        font-size: 14px;
    }

    .musician p {
        font-size: 12px;
    }
}


/* =========================
   PAGE BIO MUSICIEN
   ========================= */

.musician-page {
    width: min(100% - 40px, 780px);
    margin: 0 auto;
    padding: 70px 20px 120px;
}

.back-link {
    display: inline-block;
    margin-bottom: 55px;

    font-family: "Libre Baskerville", Baskerville, Georgia, serif;
    font-size: 14px;
    font-weight: 700;

    color: #30352a;
    text-decoration: none;

    text-shadow: 0 0 10px rgba(248, 245, 237, 0.9);
}

.back-link:hover {
    text-decoration: underline;
}

.musician-header {
    text-align: center;
    margin-bottom: 45px;
}

.musician-header h1 {
    margin: 0;

    font-family: "Libre Baskerville", Baskerville, Georgia, serif;
    font-size: clamp(34px, 5vw, 52px);
    font-weight: 400;
}

.instrument {
    margin-top: 12px;

    font-family: "Libre Baskerville", Baskerville, Georgia, serif;
    font-style: italic;
    font-size: 18px;
    color: #68695f;
}

.portrait {
    margin: 0 auto 60px;
    max-width: 520px;
}

.portrait img {
    width: 100%;
    display: block;
    height: auto;
}

.musician-bio {
    font-family: "Libre Baskerville", Baskerville, Georgia, serif;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.95;
    text-align: center;
    color: #30352a;
    text-shadow: 0 0 12px rgba(248, 245, 237, 0.8);
}

.musician-bio p {
    margin: 0 0 28px;
}

@media (max-width: 700px) {

    .musician-page {
        width: calc(100% - 30px);
        padding: 50px 15px 80px;
    }

    .portrait {
        margin-bottom: 40px;
    }

    .musician-bio {
        font-size: 15px;
        line-height: 1.85;
    }
}

.photos-link {
    margin-top: 80px;
    text-align: center;
}

.photos-link a {
    font-family: "Libre Baskerville", Baskerville, Georgia, serif;
    font-size: 16px;
    font-weight: 700;
    color: #30352a;
    text-decoration: none;
    text-shadow: 0 0 10px rgba(248, 245, 237, 0.9);
}

.photos-link a:hover {
    text-decoration: underline;
}


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

.photos-page {
    width: min(100% - 40px, 900px);
    min-height: 100vh;
    margin: 0 auto;
    padding: 70px 20px 120px;
    box-sizing: border-box;
}

.photos-header {
    text-align: center;
    margin-bottom: 60px;
}

.photos-header h1 {
    margin: 0;
    font-family: "Libre Baskerville", Baskerville, Georgia, serif;
    font-size: clamp(38px, 5vw, 58px);
    font-weight: 400;
    line-height: 1.2;
    color: #30352a;
    text-shadow: 0 0 12px rgba(248, 245, 237, 0.8);
}


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

.photo-gallery {
    width: 100%;
    margin-top: 60px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 55px 35px;
    align-items: start;
}

.photo-item {
    width: 100%;
    margin: 0;
    text-align: center;
}

.photo-item:first-child {
    grid-column: 1 / -1;
    width: min(100%, 800px);
    justify-self: center;
}

.photo-item img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 3px;
}

.photo-item a {
    display: inline-block;
    margin-top: 14px;

    font-family: "Libre Baskerville", Baskerville, Georgia, serif;
    font-size: 13px;
    font-weight: 700;

    color: #30352a;
    text-decoration: none;

    text-shadow: 0 0 10px rgba(248, 245, 237, 0.9);
}

.photo-item a:hover {
    text-decoration: underline;
}


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

@media (max-width: 700px) {

    .photo-gallery {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .photo-item:first-child {
        width: 100%;
    }

    .photo-item a {
        margin-top: 12px;
        font-size: 12px;
    }
}

#biographies,
#photos {
    scroll-margin-top: 40px;
}

@media (max-width: 400px) {

    .musicians {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .musician-photo {
        width: min(100%, 240px);
        margin-left: auto;
        margin-right: auto;
    }

    .musician h2 {
        font-size: 16px;
    }

    .musician-header h1.long-name {
        font-size: 25px;
        line-height: 1.3;
    }
}

@media (max-width: 280px) {

    .musician-header h1.long-name {
        font-size: 21px;
        line-height: 1.3;
    }
}


/* =========================
   PROGRAMME
   ========================= */

.programme {
    width: min(100%, 720px);
    margin-top: 75px;

    font-family: "Libre Baskerville", Baskerville, Georgia, serif;
    text-align: center;
    color: #30352a;

    text-shadow: 0 0 12px rgba(248, 245, 237, 0.8);
}

.programme h2 {
    margin: 0 0 30px;

    font-family: "Libre Baskerville", Baskerville, Georgia, serif;
    font-size: 28px;
    font-weight: 400;
    letter-spacing: 0.03em;
}

.programme .composer {
    margin: 0 0 2rem;

    font-size: 17px;
    font-weight: 700;
}

.programme-list {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.programme-item {
    display: flex;
    flex-direction: column;
    align-items: center;

    font-size: 15px;
    line-height: 1.6;
}

.programme-item .work {
    font-weight: 700;
}

.programme-item .reference {
    font-size: 13px;
    font-style: italic;
    color: #66685c;
}

.programme-item .duration {
    margin-top: 3px;

    font-size: 12px;
    font-style: italic;
    font-weight: 400;
    color: #66685c;
}

.programme-item.programme-main {
    margin-top: 15px;
    padding-top: 28px;

    border-top: 1px solid rgba(48, 53, 42, 0.25);
}

.programme-item.programme-main .work {
    font-size: 19px;
}

.programme-item.programme-main .duration {
    font-size: 13px;
}


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

@media (max-width: 700px) {

    .programme {
        width: min(100%, 600px);
        margin-top: 55px;
    }

    .programme h2 {
        font-size: 24px;
        margin-bottom: 25px;
    }

    .programme .composer {
        font-size: 15px;
        margin-bottom: 2rem;
    }

    .programme-list {
        gap: 24px;
    }

    .programme-item {
        font-size: 14px;
    }

    .programme-item.programme-main {
        margin-top: 10px;
        padding-top: 24px;
    }

    .programme-item.programme-main .work {
        font-size: 17px;
    }
}


/* =========================
   ANCRES
   ========================= */

#programme,
#biographies,
#photos {
    scroll-margin-top: 40px;
}

/* =========================
   PAGE VIVALDI
   ========================= */

html,
body {
    margin: 0;
    padding: 0;
    min-height: 100%;
}

body {
    margin: 0;
    min-height: 100vh;

    background-color: #f5f0e6;
    background-image:
        linear-gradient(rgba(248, 245, 237, 0.8),
            rgba(248, 245, 237, 0.8)),
        url("../Ressources/images/vivaldi/fond\ Vivaldi\ 2.png");

    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    background-attachment: fixed;

    color: #35362d;
}

.vivaldi-page {
    width: min(100% - 40px, 1000px);
    min-height: 100vh;
    margin: 0 auto;
    padding: 100px 20px 120px;

    box-sizing: border-box;

    display: flex;
    flex-direction: column;
    align-items: center;
}


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

h1 {
    margin: 0 0 55px;

    font-family: "Libre Baskerville", Baskerville, Georgia, serif;
    font-size: clamp(38px, 5vw, 64px);
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: 0.03em;
    text-align: center;

    color: #30352a;
}


/* =========================
   IMAGE
   ========================= */

#image_intro {
    width: min(100%, 800px);
    margin-bottom: 60px;
}

#image_intro img {
    display: block;
    width: 100%;
    height: auto;

    border-radius: 3px;
}


/* =========================
   PRESENTATION
   ========================= */

.presentation {
    width: min(100%, 720px);

    font-family: "Libre Baskerville", Baskerville, Georgia, serif;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.9;
    text-align: center;

    color: #30352a;

    text-shadow: 0 0 12px rgba(248, 245, 237, 0.8);
}

.presentation p {
    margin: 0 0 24px;
}

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


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

@media (max-width: 700px) {

    .vivaldi-page {
        width: calc(100% - 30px);
        padding: 70px 15px 90px;
    }

    h1 {
        margin-bottom: 40px;
        font-size: clamp(32px, 10vw, 48px);
    }

    #image_intro {
        margin-bottom: 40px;
    }

    .presentation {
        font-size: 15px;
        line-height: 1.8;
    }
}

/* =========================
   MUSICIENS
   ========================= */

.musicians {
    width: min(100%, 850px);
    margin-top: 70px;

    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 55px 45px;
}

.musician {
    text-align: center;
}

.musician-photo {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    cursor: pointer;
    margin-bottom: 18px;
}

.musician-photo img {
    width: 100%;
    height: 100%;
    display: block;

    object-fit: cover;

    transition: transform 0.4s ease;
}

.musician h2 {
    font-family: "Libre Baskerville", Baskerville, Georgia, serif;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.4;
    color: #30352a;
}

.musician p {
    margin: 6px 0 0;
    font-family: "Libre Baskerville", Baskerville, Georgia, serif;
    font-size: 13px;
    font-style: italic;
    font-weight: 700;
    color: #66685c;
}

.musician:nth-child(4) .musician-photo img {
    object-position: center 20%;
}

.musician:nth-child(5) .musician-photo img {
    object-position: center 10%;
}

.musician:nth-child(6) .musician-photo img {
    object-position: center 15%;
}

/* Effet au survol */

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


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

@media (max-width: 700px) {

    .musicians {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px 20px;
        margin-top: 55px;
    }

    .musician h2 {
        font-size: 14px;
    }

    .musician p {
        font-size: 12px;
    }
}

/* =========================
   PAGE BIO MUSICIEN
   ========================= */

.musician-page {
    width: min(100% - 40px, 780px);
    margin: 0 auto;
    padding: 70px 20px 120px;
}

.back-link {
    display: inline-block;
    margin-bottom: 55px;

    font-family: "Libre Baskerville", Baskerville, Georgia, serif;
    font-size: 14px;
    font-weight: 700;

    color: #30352a;
    text-decoration: none;

    text-shadow: 0 0 10px rgba(248, 245, 237, 0.9);
}

.back-link:hover {
    text-decoration: underline;
}

.musician-header {
    text-align: center;
    margin-bottom: 45px;
}

.musician-header h1 {
    margin: 0;

    font-family: "Libre Baskerville", Baskerville, Georgia, serif;
    font-size: clamp(34px, 5vw, 52px);
    font-weight: 400;
}

.instrument {
    margin-top: 12px;

    font-family: "Libre Baskerville", Baskerville, Georgia, serif;
    font-style: italic;
    font-size: 18px;
    color: #68695f;
}

.portrait {
    margin: 0 auto 60px;
    max-width: 520px;
}

.portrait img {
    width: 100%;
    display: block;
    height: auto;
}

.musician-bio {
    font-family: "Libre Baskerville", Baskerville, Georgia, serif;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.95;
    text-align: center;
    color: #30352a;
    text-shadow: 0 0 12px rgba(248, 245, 237, 0.8);
}

.musician-bio p {
    margin: 0 0 28px;
}

@media (max-width: 700px) {

    .musician-page {
        width: calc(100% - 30px);
        padding: 50px 15px 80px;
    }

    .portrait {
        margin-bottom: 40px;
    }

    .musician-bio {
        font-size: 15px;
        line-height: 1.85;
    }
}


.photos-link {
    margin-top: 80px;
    text-align: center;
}

.photos-link a {
    font-family: "Libre Baskerville", Baskerville, Georgia, serif;
    font-size: 16px;
    font-weight: 700;
    color: #30352a;
    text-decoration: none;
    text-shadow: 0 0 10px rgba(248, 245, 237, 0.9);
}

.photos-link a:hover {
    text-decoration: underline;
}

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

.photos-page {
    width: min(100% - 40px, 900px);
    min-height: 100vh;
    margin: 0 auto;
    padding: 70px 20px 120px;
    box-sizing: border-box;
}

.photos-header {
    text-align: center;
    margin-bottom: 60px;
}

.photos-header h1 {
    margin: 0;
    font-family: "Libre Baskerville", Baskerville, Georgia, serif;
    font-size: clamp(38px, 5vw, 58px);
    font-weight: 400;
    line-height: 1.2;
    color: #30352a;
    text-shadow: 0 0 12px rgba(248, 245, 237, 0.8);
}

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

.photo-gallery {
    width: 100%;
    margin-top: 60px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 55px 35px;
    align-items: start;
}

.photo-item {
    width: 100%;
    margin: 0;
    text-align: center;
}

.photo-item:first-child {
    grid-column: 1 / -1;
    width: min(100%, 800px);
    justify-self: center;
}

.photo-item img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 3px;
}

.photo-item a {
    display: inline-block;
    margin-top: 14px;

    font-family: "Libre Baskerville", Baskerville, Georgia, serif;
    font-size: 13px;
    font-weight: 700;

    color: #30352a;
    text-decoration: none;

    text-shadow: 0 0 10px rgba(248, 245, 237, 0.9);
}

.photo-item a:hover {
    text-decoration: underline;
}


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

@media (max-width: 700px) {

    .photo-gallery {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .photo-item:first-child {
        width: 100%;
    }

    .photo-item a {
        margin-top: 12px;
        font-size: 12px;
    }
}

#biographies,
#photos {
    scroll-margin-top: 40px;
}

@media (max-width: 400px) {

    .musicians {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .musician-photo {
        width: min(100%, 240px);
        margin-left: auto;
        margin-right: auto;
    }

    .musician h2 {
        font-size: 16px;
    }

    .musician-header h1.long-name {
        font-size: 25px;
        line-height: 1.3;
    }
}

@media (max-width: 280px) {

    .musician-header h1.long-name {
        font-size: 21px;
        line-height: 1.3;
    }
}

/* =========================
   PROGRAMME
   ========================= */

.programme {
    width: min(100%, 720px);
    margin-top: 75px;

    font-family: "Libre Baskerville", Baskerville, Georgia, serif;
    text-align: center;
    color: #30352a;

    text-shadow: 0 0 12px rgba(248, 245, 237, 0.8);
}

.programme h2 {
    margin: 0 0 30px;

    font-family: "Libre Baskerville", Baskerville, Georgia, serif;
    font-size: 28px;
    font-weight: 400;
    letter-spacing: 0.03em;
}

.programme .composer {
    margin: 0 0 2rem;

    font-size: 17px;
    font-weight: 700;
}

.programme-list {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.programme-item {
    display: flex;
    flex-direction: column;
    align-items: center;

    font-size: 15px;
    line-height: 1.6;
}

.programme-item .work {
    font-weight: 700;
}

.programme-item .reference {
    font-size: 13px;
    font-style: italic;
    color: #66685c;
}

.programme-item .duration {
    margin-top: 3px;

    font-size: 12px;
    font-style: italic;
    font-weight: 400;
    color: #66685c;
}

/* Les Quatre Saisons */

.programme-item.programme-main {
    margin-top: 15px;
    padding-top: 28px;

    border-top: 1px solid rgba(48, 53, 42, 0.25);
}

.programme-item.programme-main .work {
    font-size: 19px;
}

.programme-item.programme-main .duration {
    font-size: 13px;
}


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

@media (max-width: 700px) {

    .programme {
        width: min(100%, 600px);
        margin-top: 55px;
    }

    .programme h2 {
        font-size: 24px;
        margin-bottom: 25px;
    }

    .programme .composer {
        font-size: 15px;
        margin-bottom: 2rem;
    }

    .programme-list {
        gap: 24px;
    }

    .programme-item {
        font-size: 14px;
    }

    .programme-item.programme-main {
        margin-top: 10px;
        padding-top: 24px;
    }

    .programme-item.programme-main .work {
        font-size: 17px;
    }
}


/* =========================
   ANCRES
   ========================= */

#programme,
#biographies,
#photos {
    scroll-margin-top: 40px;
}