/* ----------------------------
   RESET / BASE
----------------------------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    margin-top : 10px;
    margin-bottom: 50px;
}

/* ----------------------------
   HEADER
----------------------------- */
.div-header {
    margin-top: 20px;
}



/* ----------------------------
   CONTENEUR 2 COLONNES
----------------------------- */
.container {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;  /* autorise wrap sur petits écrans */
    gap: 20px;
    align-items: center;
    padding: 20px;

}

.container p {
    margin-bottom: 1rem;
}
@media screen and (max-width: 768px) {
    .container {
        margin: 30px;
    }
}

/* Colonne de gauche (image) */
.left-col {
    flex: 0 0 300px;
}
.left-col img {
    display: block;
    height: 600px;
    object-fit: cover;
}

/* Colonne de droite (contenu) */
.right-col {
    flex: 1;
   text-align: center;
}


.right-col h2 {
    margin-bottom: 0.5rem;
}
.right-col p {
    line-height: 1.5;
}


/* MEDIA QUERY pour < 768px
   => on empile les colonnes, l’image redevient flexible */
@media screen and (max-width: 768px) {

    .container {
        flex-direction: column;
    }



    .left-col {
        display: flex;
        justify-content: center;
    }


}


/* Le mot “BIENVENU!” dans différentes langues */
/* Le conteneur centre l’élément au milieu */
.animated-welcome-container {
    text-align: center;
    margin-bottom: 1.5rem;
    margin-top: 20px;
}

/* Texte “BIENVENU!” façon bouton magazine */
.animated-welcome {
    display: inline-block;
    font-family: "Playfair Display", serif;
    font-size: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;

    background-color: #fff;
    border: 2px solid #333;
    border-radius: 5px;
    padding: 8px 20px;
    color: #333;
    cursor: pointer;

    box-shadow: 0 4px 0 #ccc;
    transition: all 0.2s ease;

    /* Animation subtile : oscillation verticale sur 2.5s */
    animation: fadeFloat 2.5s ease-in-out infinite alternate;
}

/* Keyframes de l’animation fadeFloat */
@keyframes fadeFloat {
    0% {
        opacity: 0.8;
        transform: translateY(5px);
    }
    100% {
        opacity: 1;
        transform: translateY(-5px);
    }
}








/* Texte de présentation */
.intro-text {
    margin-bottom: 2rem;
    line-height: 1.6;
    text-align: justify;
    margin-top: 30px;
}

/* Bloc audio façon magazine */

/* Bloc audio façon magazine */
/* =========
   CASSETTE AUDIO BLOCK
   ========= */
.audio-cassette {
    /* Taille générale de la cassette */
    width: 400px;
    height: 250px;
    margin: 20px auto;
    position: relative;
    margin-top: 50px;

    background: #ffffff;
    border: 4px solid #333;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);

    /* Mise en page interne */
    padding: 1rem;
    box-sizing: border-box;

    font-family: "Playfair Display", serif;
}

/* Fenêtre transparente au milieu (où on voit les bobines) */
.cassette-window {
    position: absolute;
    top: 20px; left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 70px;
    background: #444;
    border: 2px solid #222;
    border-radius: 4px;
    box-shadow: inset 0 0 10px rgba(0,0,0,0.5);
}

/* Deux bobines (spools) */
.spool {
    position: absolute;
    top: 50%;
    width: 40px;
    height: 40px;
    transform: translateY(-50%);
    border-radius: 50%;
    background: radial-gradient(#999 10%, #555 40%, #222 100%);
    box-shadow: inset 0 0 5px rgba(0,0,0,0.6);
}
.spool-left {
    left: 25%;
}
.spool-right {
    right: 25%;
}

/* Étiquette “cassette-label” */
.cassette-label {
    text-align: center;
    background: #ccc;
    border: 2px solid #ccc;
    border-radius: 4px;
    padding: 6px;
    margin: 100px auto 10px;
    width: 60%;
    font-weight: bold;
    letter-spacing: 1px;
}

/* Le player audio natif */
audio {
    display: block;
    width: 100%;
    margin-top: 10px;
    outline: none;
}

/* Petites retouches : aligner le bouton, etc. (limités par la compatibilité) */
audio::-webkit-media-controls {
    background-color: #fdf3e7;
}


@media screen and (max-width: 768px) {
    .audio-cassette {
        width: 300px;
        height: 180px;
        margin: 20px auto;
        position: relative;

        background: #ffffff;
        border: 4px solid #333;
        border-radius: 8px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);

        /* moins de padding pour gagner de la place */
        padding: 0.5rem;
        box-sizing: border-box;

        font-family: "Playfair Display", serif;
    }

    /* Fenêtre réduite à 45px */
    .cassette-window {
        position: absolute;
        top: 15px;
        left: 50%;
        transform: translateX(-50%);
        width: 80%;
        height: 45px;
        background: #444;
        border: 2px solid #222;
        border-radius: 4px;
        box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.5);
    }

    /* Bobines réduites : 25×25 */
    .spool {
        position: absolute;
        top: 50%;
        width: 25px;
        height: 25px;
        transform: translateY(-50%);
        border-radius: 50%;
        background: radial-gradient(#999 10%, #555 40%, #222 100%);
        box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.6);
    }

    .spool-left {
        left: 24%;
    }

    .spool-right {
        right: 24%;
    }

    /* Étiquette plus proche : 65px sous le haut */
    .cassette-label {
        text-align: center;
        background: #ccc;
        border: 2px solid #ccc;
        border-radius: 4px;
        padding: 4px;
        margin: 55px auto 5px;
        width: 60%;
        font-weight: bold;
        letter-spacing: 1px;
        font-size: 0.9rem;
    }

    /* Player audio */
    audio {
        display: block;
        width: 100%;
        margin-top: 4px;
        outline: none;
    }
}








/* ----------------------------
   MEDIA QUERY : < 768px
----------------------------- */
@media screen and (max-width: 768px) {
    .container {
        flex-direction: column;
    }
    .left-col {
        flex: 0 0 auto;
        width: 100%;
    }
    .left-col img {
        height: auto;
        max-height: 400px;
    }
    .right-col {
        width: 100%;
    }
}





/* PHRASE VERTICAL EN BAS A GAUCHE */
.vertical-phrase {
    position: fixed;
    bottom: 20px;
    left: 30px;

    transform: rotate(-90deg);
    transform-origin: bottom left;
    font-family: "Playfair Display", serif;
    font-size: 13px;

}


@media screen and (min-width: 1000px) {
    .vertical-phrase {
        left: calc(50% - 500px + -10px);
    }
}


/* CONTENEUR MAGAZINE => 2 colonnes en grand écran */
.mag-container {
    max-width: 1000px;

    text-align: justify;

    margin: 0 auto;
    /* 2 colonnes + espace entre elles */
    column-count: 2;
    column-gap: 40px;
    /* Justification façon "magazine" */
    text-align: justify;
    padding-left: 15px;
    margin-bottom: 100px;
}

@media screen and (max-width: 800px) {
    .mag-container {
        margin: 30px;
    }
}




/* bouton sous cassette audio */
.btn-site-div2 {
    margin-top:30px;
}




.btn-site-div2 {
    display: flex;
    justify-content: center;
}

.btn-magazine2 {
    font-family: "Playfair Display", serif;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 2px;

    background-color: #fff;

    border: 2px solid #333;
    border-radius: 5px;
    padding: 8px 20px;
    cursor: pointer;

    box-shadow: 0 4px 0 #ccc;
    transition: all 0.2s ease;
}




