/* Déclaration des typos Bye Bye Binary */

/* Webfont: Enby-Gertrude */@font-face {
    font-family: 'Enby-Gertrude';
    src: url('polices/Enby_Gertrude_roman.woff2') format('woff2'), /* Modern Browsers */
         url('polices/Enby_Gertrude_roman_2025.otf') format('opentype'); /* Safari, Android, iOS */
             font-style: normal;
    font-weight: normal;
    text-rendering: optimizeLegibility;
}

/* Application globale de la police et activation des ligatures */
body {
    font-family: 'Enby-Gertrude', ;
    font-feature-settings: "liga" 1;
    -webkit-font-feature-settings: "liga" 1;
}

/* Webfont:  */@font-face {
    font-family: 'Publifluor';
    src: url('polices/PubliFluorNormale.woff') format('woff'), /* Modern Browsers */
         url('polices/PubliFluorNormale.otf') format('opentype'); /* Safari, Android, iOS */
             font-style: normal;
    font-weight: normal;
    text-rendering: optimizeLegibility;
}

/* Application globale de la police et activation des ligatures */
body {
    font-family: 'Publifluor', ;
    font-feature-settings: "liga" 1;
    -webkit-font-feature-settings: "liga" 1;
}


/* Réinitialisation de base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Eviter les liens violets moches une fois la page visitée */
a, a:visited {
    color: inherit;
    text-decoration: none;
}


body {
    min-height: 100vh; /* hauteur de la fenêtre */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    font-family: 'Enby-Gertrude', sans-serif;
    color: #000000;
    
    /* Image en arrière-plan */
    background-image: linear-gradient(rgba(255, 255, 255, 0.203), rgba(155, 1, 1, 0.316)),url('images/imghome-2.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-color: #ffffff; 


}
    

/* En-tête : Logo à gauche, Hamburger à droite */
.site-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 40px;
}

/* Logo (image) */
.logo img {
    height: 80px; /* Ajuste la hauteur selon la taille de ton PNG */
    width: auto;
    display: block;
}


.image-fond-modifiée {
    background-image : linear-gradient(rgba(255, 255, 255, 0), rgba(155, 1, 1, 0)), url('images/imgrubri.jpg');
    background-size: cover;
    background-position: center;
}


/* Bouton Hamburger */
.hamburger {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 9px;
    padding: 5px;
    position: relative;
    z-index: 101; /* Place le bouton au-dessus du menu ouvert */
}

.hamburger span {
    display: block;
    width: 45px;
    height: 6px;
    background-color:   #000000;
    border-radius: 3px;
}

/* Zone centrale */
.content {
    flex: 1;
    padding: 60px 45px;
    font-size: 2rem;
    overflow-y: auto; /* Active le défilement uniquement à l'intérieur du contenu */
    max-height: calc(100vh - 190px); /* Empêche le bloc de dépasser de la hauteur de l'écran */
}


.content2 {
    flex: 1;
    padding: 5px 0px;
    font-family: Publifluor, sans-serif;
    font-size: 3.8rem;
    color: #850000;
    font-weight: 100;
}

.content3 {
    flex: 1;
    text-align: center;
    padding-top: 100px;
    box-sizing: border-box; /* Empêche l'agrandissement du bloc */
    font-family: 'Enby-Gertrude', sans-serif;
    font-size: 1.3rem;
    color: #000000;
    font-weight: 100;
    text-decoration-style: dashed;
}

.content3 a:hover {
    opacity: 0.95;
    color: #124914b0;
    transition: color 0.35s ease;

}

/* Titre principal */
.titre-principal {
    font-size: 3rem;
    color: #000000;
    padding-bottom: 20px;
    font-feature-settings: "liga" 1;
}

/* Sous-titres */
.sous-titre {
    font-size: 1.5rem;
    color: #000000;
    padding-top: 45px;
    padding-bottom: 10px;
    font-feature-settings: "liga" 1;

}

/* Listes de phrases */
.bloc-texte {
    list-style: none;
    padding-left: 0;
    font-size: 1.25rem;

}

.bloc-texte a:hover {
    opacity: 0.9;
    color: #124914b0;
    transition: color 0.35s ease;
}

.bloc-texte li {
    font-size: 1.25rem;
    color: #000000;
    padding-top: 15px;
    font-feature-settings: "liga" 1;

}

.CR-AG {
    list-style: none;
    font-size: 1.25rem;
    padding-top : 5px;
    font-feature-settings: "liga" 1;

}

.CR-AG a:hover {
    opacity: 1;
    color: #124914b0;
    transition: color 0.35s ease;
}

.mail {
    font-size: 1.75rem;
    color: #000000;
    padding: 40px 40px;
    font-feature-settings: "liga" 1;
    text-align: center;

}

.crédits {
    font-size: 1rem;
    color: #000000;
    padding: 200px 40px;
    box-sizing: border-box;
    font-feature-settings: "liga" 1;
    text-align: center;
}



/* Pied de page : Crédits en bas au centre */
.site-footer {
    text-align: center;
    padding: 20px;
    font-size: 1.25rem;
    opacity: 0.8;
}

.site-footer-crédits {
    text-align: center;
    padding: 20px;
    font-size: 1rem;
    opacity: 0.8;
}
.site-footer a:hover {
    opacity: 1;
    color: #124914b0;
    transition: color 0.35s ease;
}


/* Style du menu overlay plein écran */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.2);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 100;
}

/* Classe ajoutée en JS pour afficher le menu */
.menu-overlay.is-active {
    opacity: 1;
    visibility: visible;
}

.menu-overlay ul {
    list-style: none;
    text-align: left;
}

.menu-overlay li {
    margin: 20px 0;
}

.menu-overlay a {
    color: #000000;
    text-decoration: none;
    font-size: 3rem;
    font-feature-settings: "liga" 1;
}

.menu-overlay a:hover {
    opacity: 0.9;
    color: #124914b0;
    transition: color 0.35s ease;
}

.content.is-hidden {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}





/* --- RESPONSIVE (Téléphones et petits écrans) --- */
@media (max-width: 768px) {
    .site-header {
        padding: 15px 20px;
    }

    .logo img {
        height: 65px;
    }

    .hamburger span {
        width: 32px;
        height: 4.5px;
    }

    .titre-principal {
        font-size: 2.5rem;
    }

    .content {
        padding: 75px 20px;
        font-size: 1.05rem;
    }

    .content2 {
        font-size: 2rem;
    }

    .content3 {
        font-size: 1.1rem;
    }

    .menu-overlay a {
        gap: 6px;
        font-size: 1.90rem;
        padding-left: 10px;
    }

    .site-footer {
        font-size: 0.95rem;
        padding: 15px;
    }
}