/* =========================================================
   CAMISOLE DE FRANCE STYLES GENERAUX
   ========================================================= */

/* -------------------- FONTS -------------------- */
@font-face {
    font-family: "Baskervvol";
    src:
        url("fonts/Baskervvol/BBBBaskervvol-Regular.woff2") format("woff2"),
        url("fonts/Baskervvol/BBBBaskervvol-Regular.woff") format("woff");
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: "Baskervvol";
    src:
        url("fonts/BBBBaskervvol-Italic.woff2") format("woff2"),
        url("fonts/BBBBaskervvol-Italic.woff") format("woff");
    font-weight: normal;
    font-style: italic;
}
@font-face {
    font-family: "Charrette";
    src: url("fonts/Charrette_Regular.ttf") format("truetype");
}
@font-face {
    font-family: "Interlope";
    src:
        url("fonts/Interlope/Interlope-Regular.woff2") format("woff2"),
        url("fonts/Interlope/Interlope-Regular.woff") format("woff");
}

/* -------------------- RESET -------------------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --accent-color: #8a2be1;
    --gray-bg: hsl(0, 0%, 85%);
}

/* =========================================================
   STRUCTURE GLOBALE
   ========================================================= */
html,
body {
    min-height: 100%;
    margin: 0;
    scroll-behavior: smooth;
    background: #fefefe url("images/") no-repeat center top;
    background-attachment: scroll;
    background-size: contain;
    color: #111;
    overflow-x: hidden;
}

@media (max-width: 900px) {
    body {
        background-image: none;
    }
}

.wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* =========================================================
   TYPOGRAPHIE
   ========================================================= */
h1,
h2,
h3 {
    font-family: "Baskervvol", serif;
    letter-spacing: 0.05em;
    color: #111;
    font-weight: normal;
}

h1 {
    font-family: "Charrette", serif;
    font-size: clamp(2rem, 4vw, 3rem);
    text-transform: uppercase;
}

h2 {
    font-weight: 700;
    font-size: 2rem;
    margin: 1rem 0 1rem;
    background-color: var(--gray-bg);
}

h3 {
    font-size: 1.5rem;
    margin-top: 1rem;
    font-weight: 700;
    letter-spacing: 0.1rem;
}

/* =========================================================
   HEADER
   ========================================================= */
.header {
    top: 0;
    background: rgba(255, 255, 255, 0);
    z-index: 10;
}

.header .inner {
    max-width: 500px;
    margin: 0 auto;
    padding: 2rem 1.5rem 1rem;
}

.header h1 {
    font-size: clamp(2rem, 2vw, 3.5rem);
    white-space: nowrap;
    background-color: var(--gray-bg);
    width: 100%;
    line-height: 1.1;
    overflow: hidden;
    text-overflow: ellipsis;
    text-transform: uppercase;
    text-align: left;
}

/* =========================================================
   CONTENU GLOBAL
   ========================================================= */
.content,
#introSection {
    max-width: 500px;
    margin: 0 auto;
    padding: 1.5rem 1.5rem;
}

.content {
    background: rgba(255, 255, 255, 0.8);
    font-variant-numeric: proportional-nums lining-nums;
    font-feature-settings:
        "pnum" 1,
        "lnum" 1;
}

.block {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease-out;
    margin-bottom: 2rem;
}

.block.visible {
    opacity: 1;
    transform: translateY(0);
}

/* =========================================================
   INTRODUCTION
   ========================================================= */
#introSection {
    padding: 1.5rem 1.5rem 0 1.5rem;
}

/* =========================================================
   TEXTES LONGS (intro, bio, sessions, etc.)
   ========================================================= */
.introduction,
.session-description,
.bio {
    font-family: "Baskervvol", serif;
    font-size: 1rem;
    line-height: 1.4;
    color: #111;
    text-align: justify;
    max-width: 650px;
    margin: 0 auto 2rem;
    overflow: visible !important;
    text-overflow: clip !important;
    white-space: normal !important;
    hyphens: auto;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    word-wrap: break-word;
}

.introduction,
.session-description,
.bio,
.image-description {
    font-family: "Baskervvol", serif;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.bio {
    margin-bottom: 3rem;
}

/* =========================================================
   BLOCS & SECTIONS SPEeCIFIQUES
   ========================================================= */
section:not(#introSection) {
    min-height: 100vh;
    border-top: 0.5px solid var(--gray-bg);
    padding-bottom: 1rem;
}

/* Artistes */
.artists {
    font-family: "Baskervvol", serif;
    font-size: 2rem;
    font-weight: normal;
    text-align: center;
    color: var(--accent-color);
    line-height: 1.1;
    margin: 1rem 0 2rem;
    transition: color 0.5s ease;
}

.artists-title {
    font-family: "Baskervvol", serif;
    font-weight: bold;
    font-size: 0.7rem;
}

/* Titres et textes d'intervention */
.intervention-title {
    font-style: italic;
    font-weight: 400;
    font-size: 2rem;
    text-align: left;
    margin: 1.5rem auto 1rem;
    max-width: 700px;
    line-height: 1.3;
}

/* Images */
.session-image {
    text-align: center;
    margin: 2rem auto;
    max-width: 700px;
}
.session-image img {
    width: 100%;
    height: auto;
    display: block;
    margin-bottom: 0.5rem;
}

.image-description {
    font-style: normal;
    font-size: 0.9rem;
    text-align: center;
    color: #222;
    max-width: 650px;
    margin: 0 auto 1.5rem;
}
.image-description span {
    font-style: italic;
    color: var(--accent-color);
}

/* Infos pratiques */
.infos {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
    font-family: "Baskervvol", serif;
    font-size: 0.9rem;
    margin: 2rem auto 4rem;
    padding: 0 1.5rem;
    max-width: 500px;
    line-height: 1.5;
}

.info-block {
    flex: 1;
}

.info-block strong {
    display: block;
    font-weight: 600;
    text-transform: uppercase;
    background-color: var(--gray-bg);
}

.info-block a {
    color: #111;
    text-decoration-line: underline;
    text-decoration-color: #111;
    text-decoration-thickness: 0.5px;
    text-underline-offset: 2pt;
    transition: all 0.3s ease;
}

.info-block a:hover {
    text-decoration-color: var(--accent-color);
    color: var(--accent-color);
}

/* Texte centre */
.center-text {
    text-align: center;
    font-family: "Baskervvol", serif;
    font-size: 1rem;
    line-height: 1.3;
    max-width: 600px;
    margin: 1rem auto;
    padding: 0 5rem;
    color: #111;
}

/* =========================================================
   BROCHURE + MENU DEROULANT
   ========================================================= */
.brochure-title {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 1000;
    cursor: pointer;
}

.brochure-title h1 {
    font-family: "Interlope", sans-serif;
    font-size: clamp(2rem, 10vw, 6rem);
    font-weight: normal;
    color: white;
    -webkit-text-stroke: 1pt var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 0;
    line-height: 1;
    filter: drop-shadow(0 0 2px #999) drop-shadow(0 0 2px #999);
    transition: all 0.3s ease;
}

/* Menu dropdown */
.dropdown {
    display: none;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    background: var(--accent-color);
    padding: 0.8rem 1.5rem;
    margin-top: 1.2rem;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    width: max-content;
    margin-inline: auto;
    animation: fadeIn 0.3s ease;
}

.dropdown a {
    font-family: "Baskervvol", serif;
    color: white;
    text-decoration: none;
    font-size: 1rem;
    transition: opacity 0.2s;
}
.dropdown a:hover {
    opacity: 0.6;
}

.brochure-title.active .dropdown {
    display: flex;
}

.dropdown span {
    color: white;
    font-weight: 600;
}

.dropdown-separator {
    color: white;
    font-family: "Baskervvol", serif;
    font-size: 1.2rem;
}

/* Aper�u PDF */
#hoverPreview {
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    display: none;
    width: 300px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    transition: transform 0.1s ease;
}

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
    display: flex;
    justify-content: flex-start;
    gap: 50px;
    padding: 1rem;
    background: #f5f5f5;
    color: #666;
}

.footer-col {
    display: flex;
    flex-direction: column;
    flex: 0 0 45%;
}

.footer-col p {
    letter-spacing: 0.05em;
    font-size: 0.9rem;
    font-variant-numeric: proportional-nums lining-nums;
    font-feature-settings:
        "pnum" 1,
        "lnum" 1;
}

.footer a {
    color: #666;
    text-decoration: none;
}
.footer a:hover {
    opacity: 0.6;
}

@media (max-width: 900px) {
    .footer {
        flex-direction: column;
        gap: 20px;
        font-size: 0.8rem;
        line-height: 1.3;
    }
    .footer-col {
        max-width: 100%;
        font-size: 0.8rem;
    }
}
/* =========================================================
   AJUSTEMENTS SPECIFIQUES MOBILE (<900px)
   ========================================================= */
@media (max-width: 900px) {
    /* ================================
       1. TYPOGRAPHIES GENERALES
       ================================ */
    .introduction,
    .session-description,
    .bio,
    .image-description,
    .infos,
    .footer,
    .footer p,
    .footer a {
        font-family: "Baskervvol", serif;
        font-weight: 600;
        line-height: 1.5;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
        color: #111;

        letter-spacing: 0.03em;
    }

    .introduction,
    .session-description,
    .bio,
    .image-description {
        font-size: 0.95rem;
    }

    .image-description span {
        font-style: italic;
        font-weight: 500;
        color: var(--accent-color);
    }

    .footer p {
        opacity: 0.5;
    }

    .info-block {
        font-weight: 600;
    }

    /* ================================
       2. TITRES ET STRUCTURE
       ================================ */

    .header h1 {
        font-size: clamp(1.2rem, 6vw, 2rem);
        line-height: 1.2;
        text-align: center;
        white-space: normal;
    }

    #introSection h2 {
        font-size: clamp(1.3rem, 5vw, 1.6rem);
        text-align: left;
        white-space: normal;
        background-color: var(--gray-bg); 
    }

    .brochure h3 {
        font-size: clamp(1.1rem, 4vw, 1.5rem);
        line-height: 1.3;
        text-align: left;
        white-space: normal;
        max-width: 90%;
        word-break: keep-all;
        display: block;
    }

    /* ================================
       3. BLOCS LIEU/ACCES
       ================================ */
    .infos {
        flex-direction: column;
        gap: 1rem;
        padding: 0;
        margin: 1rem auto 2rem;
        width: 100%;
        max-width: 100%;
    }

    .info-block {
        width: 100%;
        padding: 0 1rem;
    }

    .info-block strong {
        display: block;
        width: 100%;
        background-color: var(--gray-bg);
    }
}

/* =========================================================
   ANIMATIONS
   ========================================================= */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}