/* ------------------------------ FONT ------------------------------ */
@font-face {
    font-family: 'Sorts Mill Goudy';
    src: url('font/SortsMillGoudy-Italic.ttf') format('truetype');
}
@font-face {
    font-family: 'Pinyon Script';
    src: url('font/PinyonScript-Regular.ttf') format('truetype');
}

/* ------------------------------ BASE ------------------------------ */
* {
    box-sizing: border-box;
}

body {
    background-color: white;
    margin: 0;
    padding: 0;
}

h1 {
    color: #000000;
    font-size: 70px;
    font-family: 'Sorts Mill Goudy';
    font-weight: normal;
}

h2 {
    font-family: 'Pinyon Script';
    font-size: 40px;
    color: black;
    margin: 0;
}

p {
    margin: 0;
    font-family: 'Sorts Mill Goudy';
    font-size: 20px;
    line-height: 1.6;
}

/* ------------------------------ LIENS ------------------------------ */
a {
    color: #000000;
    font-family: 'Sorts Mill Goudy';
    font-size: 20px;
    text-decoration: underline;
    transition: opacity 0.3s ease;
}

a:hover {
    opacity: 0.6;
}

a:visited {
    color: #000000;
}

/* ------------------------------ HEADER BAND ------------------------------ */
.header-section {
    margin-bottom: 40px;
}

.header-band {
    width: 100%;
    height: auto;
    min-height: 50px;
    background-image: url('testfond3.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    padding: 10px 30px;
}

.logo-header {
    width: 25%;
    height: auto;
    max-width: 350px;
    object-fit: contain;
}

/* ------------------------------ LAYOUT RESPONSIVE ------------------------------ */
/* ------------------------------ LAYOUT RESPONSIVE ------------------------------ */
.content-wrapper {
    display: flex;
    gap: 40px;
    align-items: flex-start;  /* Garde cette ligne */
    padding: 0 30px;
    margin-bottom: 80px;
}

.text-column {
    flex: 0 0 33.333%;
    text-align: left;
    display: flex;
    flex-direction: column;
}

.text-column h2 {
    margin: 0;
    margin-bottom: 20px;  /* Ajoute de l'espace sous le titre */
}

.media-column {
    flex: 0 0 66.666%;
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding-right: 30px;
    margin-top: 92px;  /* Décale la colonne média vers le bas - ajustez cette valeur selon vos titres */
}

.text-column h2 {
    margin: 0;
}

.text-column p {
    margin: 0;
}

/* Style pour les vidéos */
.video-container {
    width: 100%;
    overflow: hidden;
}

.video-container video {
    width: 100%;
    height: auto;
    display: block;
}

/* Style pour les images principales */
.image-container {
    width: 100%;
    overflow: hidden;
}

.image-container img {
    width: 100%;
    height: auto;
    display: block;
}

/* Style pour les deux images supplémentaires */
.extra-images {
    display: flex;
    gap: 20px;
    width: 100%;
}

.extra-image-container {
    flex: 1;
    overflow: hidden;
}

.extra-image-container img {
    width: 100%;
    height: auto;
    display: block;
}

/* ------------------------------ RESPONSIVE TABLETTE ------------------------------ */
@media screen and (max-width: 1024px) {
    .content-wrapper {
        flex-direction: column;
        padding: 0 30px;
        margin-bottom: 60px;
        gap: 30px;
    }

    .text-column,
    .media-column {
        flex: 0 0 100%;
        width: 100%;
    }

    .media-column {
        padding-right: 0;
    }

    .header-band {
        min-height: 100px;
        padding: 20px 25px;
    }

    .logo-header {
        width: 30%;
        max-width: 300px;
    }
}

/* ------------------------------ RESPONSIVE MOBILE ------------------------------ */
@media screen and (max-width: 768px) {
    .content-wrapper {
        padding: 0 20px;
        margin-bottom: 50px;
        gap: 25px;
    }

    .media-column {
        padding-right: 0;
    }

    h2 {
        font-size: 35px;
    }

    p {
        font-size: 18px;
    }

    .header-band {
        min-height: 90px;
        padding: 15px 20px;
    }

    .logo-header {
        width: 35%;
        max-width: 250px;
    }

    .extra-images {
        flex-direction: column;
        gap: 15px;
    }
}

@media screen and (max-width: 480px) {
    h2 {
        font-size: 30px;
    }

    p {
        font-size: 16px;
    }

    .content-wrapper {
        padding: 0 15px;
        margin-bottom: 40px;
        gap: 20px;
    }

    .media-column {
        padding-right: 0;
    }

    .header-band {
        min-height: 80px;
        padding: 15px;
    }

    .logo-header {
        width: 45%;
        max-width: 200px;
    }

    .extra-images {
        gap: 10px;
    }
}}