/*===================================
  GENERAL
===================================*/

*{
    font-family: 'Poppins', sans-serif; /* Police et style d'écriture */
    font-size: 18px;
}

body { 
    background-color: rgb(213, 220, 226); /* Couleur de fond de la page */
}

a {
    text-decoration: none; /* Supprime le soulignement des liens */
    color: black; /* Couleur des liens */
}

@media (max-width:480px) {

    a {
        text-decoration: none;
        color:black
    }

    .InformationsGrid .Information {
        text-decoration: none;
        color:black;
    }

    .Services .TitresServices {
        text-decoration: none;
        color:white;
    }

}

/*===================================
  HEADER
===================================*/

header { 
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: #141455;
    border: white 2px solid;
    border-radius: 10px;
    height: fit-content;
}

@media (max-width:480px) {
    header {
        width: 100%;
        max-width: 480px;
    }
}

header > div:first-child {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

@media (max-width: 768px) {
    header > div:first-child {
        padding: 8px 10px;
    }
}

@media (max-width: 480px) {
    header > div:first-child {
        padding: 5px;
    }
}

/*===================================
  LOGO CAF
===================================*/

.Accueil1 {
    padding: 10px 0 10px 10px; 
    height: 60px;
    width: 60px;
}
@media (max-width:768px) {
    .Accueil1 {
        height: 50px;
        width: 50px;
        padding: 10px 5px;
    }
}

@media (max-width:480px) {
    .Accueil1 {
        height: 35px;
        width: 35px;
        padding: 5px;
    }
}

/*===================================
  CAF.FR
===================================*/

.Accueil2 { 
    color: white;
    text-decoration: none;
    font-size: 32px;
    margin-left: 0; /* Collé au logo */
    padding-left: 8px; /* Juste un petit espace */
}
@media (max-width:768px) {
    .Accueil2 {
        font-size: 28px;
    }
}

@media (max-width:480px) {
    .Accueil2 {
        font-size: 24px;
    }
}

/*===================================
  BOUTON MALVOYANT
===================================*/

.BoutonMalvoyant { 
    background-color: #141455;
    border: none;
    padding: 8px; /* Réduit le padding */
    cursor: pointer;
    display: inline-flex; /* Important ! */
    align-items: center;
    justify-content: center;
}

.BoutonMalvoyant:hover {
    border: 2px solid white;
}

@media (max-width:768px) {
    .BoutonMalvoyant {
        padding: 6px;
    }
}

@media (max-width:480px) {
    .BoutonMalvoyant {
        padding: 5px;
    }
}

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

.ImgMalvoyant {
    height: 40px;
    width: 40px;
}

@media (max-width:768px) {
    .ImgMalvoyant {
        height: 35px;
        width: 35px;
    }
}

@media (max-width:480px) {
    .ImgMalvoyant {
        height: 30px;
        width: 30px;
    }
}

/*===================================
  BOUTON CONNEXION
===================================*/

.BoutonConnexion { 
    background-color: #141455;
    border: none;
    padding: 8px; /* Réduit le padding */
    cursor: pointer;
    display: inline-flex; /* Important ! */
    align-items: center;
    justify-content: center;
}

.BoutonConnexion:hover {
    border:2px solid white; 
}

@media (max-width:768px) {
    .BoutonConnexion {
        padding: 6px;
    }
}

@media (max-width:480px) {
    .BoutonConnexion {
        padding: 5px;
    }
}

.ImgConnexion {
    height: 40px;
    width: 40px;
}

@media (max-width:768px) {
    .ImgConnexion {
        height: 35px;
        width: 35px;
    }
}

@media (max-width:480px) {
    .ImgConnexion {
        height: 30px;
        width: 30px;
    }
}

/*===================================
  BOUTON RECHERCHE
===================================*/

.BoutonRecherche { 
    background-color: #141455;
    border: none;
    padding: 8px; /* Réduit le padding */
    cursor: pointer;
    display: inline-flex; /* Important ! */
    align-items: center;
    justify-content: center;
}

.BoutonRecherche:hover {
    border:2px solid white;
}

@media (max-width:768px) {
    .BoutonRecherche {
        padding: 6px;
    }
}

@media (max-width:480px) {
    .BoutonRecherche {
        padding: 5px;
    }
}

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

.ImgRecherche {
    height: 40px;
    width: 40px;
}

@media (max-width:768px) {
    .ImgRecherche {
        height: 35px;
        width: 35px;
    }
}

@media (max-width:480px) {
    .ImgRecherche {
        height: 30px;
        width: 30px;
    }
}

/*===================================
  NAV BAR
===================================*/

.BarreNavigation {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #e3e3f1;
    padding: 0.5em 1em;
    color: #141455;
    position: relative; /* Important pour position absolute des menus */
}

.SectionAllocataires, .SectionProfessionnels {
    padding: 15px;
    margin: 0 10px;
    border: none;
    background-color: #141455;
    color: white;
    
    font-size: 18px;
    cursor: pointer;
}

.SectionAllocataires:hover, .SectionProfessionnels:hover {
    border: 2px solid #141455;
    background-color: #e3e3f1;
    color: #141455;
}

/* NAVIGATION CACHÉE PAR DÉFAUT */
.LiensNavigation {
    list-style: none;
    display: none;
    flex-direction: row; /* ✅ En ligne sur desktop */
    gap: 1em;
    margin: 0;
    padding: 15px;
    background-color: #e3e3f1;
    position: absolute;
    top: 100%;
    left: 50%; /* Centre à partir de 50% */
    transform: translateX(-50%); /* Décale de -50% de sa propre largeur */
    width: fit-content;
    justify-content: center; /* Centre les liens */
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    z-index: 100;
    border: 3px solid #141455;
}

/* NAVIGATION ACTIVE = VISIBLE */
.LiensNavigation.active {
    display: flex; /* Affiche en flex quand active */
}

/* LIENS VISIBLES */
.LiensNavigation a {
    display: block;
    text-decoration: none;
    color: #141455;
    padding: 10px 15px;
    transition: all 0.3s;
    white-space: nowrap; /* Empêche le retour à la ligne */
    font-size: 18px;
}

.LiensNavigation a:hover {
    color: #000;
    background-color: rgba(20, 20, 85, 0.1);
}

.LiensNavigation img {
    height: 30px;
    width: 30px;
}

.Hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.Hamburger span {
    width: 25px;
    height: 3px;
    background-color: #141455;
}

/* RESPONSIVE TABLETTE */
@media (max-width: 768px) {
    .BarreNavigation {
        justify-content: center;
    }

    .SectionAllocataires, .SectionProfessionnels {
        padding: 10px;
        font-size: 18px;
    }
    
    .LiensNavigation {
        flex-direction: column; /* ✅ En colonne sur tablette */
        align-items: stretch;
        gap: 0.5em;
    }

    .LiensNavigation a {
        font-size: 18px;
    }
    
}

/* RESPONSIVE MOBILE */
@media (max-width: 480px) {
    .SectionAllocataires, .SectionProfessionnels {
        padding: 8px;
        margin: 0 5px;
        font-size: 18px;
    }

    .LiensNavigation {
        flex-direction: column; /* ✅ En colonne sur mobile */
        padding: 10px;
        gap: 0.3em;
    }

    .LiensNavigation a {
        font-size: 18px;
        padding: 8px;
    }

}

/*===================================
  POP UP CONNEXION
===================================*/

    /*===================================
    POP UP CONNEXION
    ===================================*/

.PopUpConnexion {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background-color: #141455;
    overflow-y: auto; /* Permet le scroll sur tout l'écran */
}

@media (max-width:769px){
 .PopUpConnection {
        top: 0;
    }
}
@media (max-width:480px) {
    .PopUpConnexion {
        background:scroll ;
        top: -35;
        width: 330px;
        margin: 10px;
        justify-content: center;
    }
}

    /*===================================
    CONTENU POP UP
    ===================================*/

.ContenuPopUpConnexion {
    background-color:#e3e3f1;
    margin: 1% auto;
    padding: 30px;
    border-radius: 10px;
    width: 90%;
    max-width: 500px;
    position: relative;
    box-shadow: 10px 10px 15px rgba(0, 0, 0, 0.3);
    overflow-y: auto; /* Permet le scroll sur tout l'écran */
    
    
}

@media (max-width:480px) {
    .ContenuPopUpConnexion {
        background-color:#e3e3f1;
        margin: 10% auto;
        padding: 20px;
        border: 2px solid black;
        border-radius: 10px;
        width: 95%;
        max-width: 330px;
        position: relative;
        box-shadow: 10px 10px 15px rgba(0, 0, 0, 0.3);
    }
}

    /*===================================
    TITRE POP UP
    ===================================*/

.TitrePopUpConnexion {
    background-color: #141455;
    color: white;
    padding: 15px;
    border-radius: 10px;
    margin: 15px;
}

@media (max-width:480px) {
    .TitrePopUpConnexion {
        margin: 30px 5px 5px 5px;
        padding: 15px;
        font-size: 22px;
    }
}

    /*===================================
    ICONE FERMER POP UP
    ===================================*/

.FermerConnexion {
    position: absolute;
    right: 25px;
    top: 5px;
    font-size: 30px;
    font-weight: bold;
    color: #aaa;
    cursor: pointer;
}

@media (max-width:480px) {
    .FermerConnexion {
        position: absolute;
        right: 20px;
        top: 5px;
    }
}

.FermerConnexion:hover {
    color:#000;
}

    /*===================================================
    POP UP TITRE CONNEXION ALLOCATAIRE + IDENTIFIANTS CAF
    ====================================================*/

.FormulaireTitre2Connexion {
    color: #141455;
}
    /*===================================
    POP UP MOT CHAMPS REQUIS
    ===================================*/

.FormulaireAttentionConnexion {
    color: red;
    text-align: center;
}

    /*===================================
    POP UP FORMULAIRE CONNEXION
    ===================================*/

.FormulaireConnexion label {
    display: block;
    margin-top: 15px;
    margin-bottom: 10px;
    font-size: 18px;
    color: #141455;
    text-align: center;
}

.FormulaireConnexion input {
    height: 30px;
    width: 200px;
    background-color: whitesmoke;
    border: 2px solid #141455;
    font-size: 18px;
    padding: 15px;
    text-align: center;
    display: block;
    margin: auto;
}

.BoutonSCConnexion {
    margin-top: 25px;
    display: flex;
    margin: auto;
    padding: 10px;
    font-size: 18px;
    color: #e3e3f1;
    background-color: #141455;
    border-radius: 10px;
    transition: background-color 0.3s ease; /* Transition douce */
}

.BoutonSCConnexion:hover {
    background-color: #e3e3f1;
    border: 2px solid #141455;
    color: #141455;
    cursor: pointer;
}

    /*===================================
    POP UP CONNEXION BOUTON FRANCE CONNECT
    ===================================*/

.BoutonFCConnexion {
    display: flex;
    margin: auto;
    border:none;
    background-color: #e3e3f1;
    transition: background-color 0.3s ease; /* Transition douce */
}

.BoutonFCConnexion:hover {
    border: 2px solid #141455;
    border-radius: 10px;
    cursor: pointer;
}

/*===================================
  BODY - DESCRIPTION
===================================*/
.divDescription {
    padding: 5px 15px 5px 15px; /* Espace autour de la div */
    background-color: #e3e3f1; /* Couleur de fond de la div */
    margin: 30px 180px 0 180px; /* Marge autour de la div */
    max-width: calc(100% - 40px); /* S'adapte à la largeur de l'écran */
    border: none; /* Pas de bordure */
    box-shadow: 10px 10px 20px grey; /* Ombre portée de la div */
    border-radius: 15px; /* Bords arrondis */
    box-sizing: border-box; /* Inclut padding et border dans la width */
}

@media (max-width:480px) {
    .divDescription {
        width:360px;
        max-width: 400px;
        margin: 10px 5px;
    }
}

.TitreDescription {
    background-color: #141455; /* Couleur de fond */
    color: white; /* Couleur du texte */
    text-align: center; /* Centre le texte */
    padding: 10px; /*Espace autour du titre*/
    font-size: 23px;
}

@media (max-width:480px) {
    .TitreDescription {
        text-align: left;
        padding: 15px;
        width:90%;
    }
}

.TexteDescription {
    background-color: whitesmoke; /* Couleur de fond */
    border: 3px solid #141455; /* Pas de bordure */
    padding: 15px;
    max-width: 50%;
    margin-left: 25%;
    margin-right: 25%;
    font-size: 18px;
}

@media (max-width:480px) {
    .TexteDescription {
        margin: 10px;
        max-width: 90%;
        padding: 20px;
        font-size: 18px;
    }
}

.Reponse {
    color: black;
    background-color: whitesmoke;
    padding: 15px;
}

/*===================================
  INFORMATIONS
===================================*/

.divInformations { 
    background-color: #e3e3f1; /* Couleur de fond des informations */
    margin: 30px 180px 0 180px; /* Marge autour de la div */
    max-width: calc(100% - 40px); /* S'adapte à la largeur de l'écran */
    border: none; /* Pas de bordure */
    box-shadow: 10px 10px 20px grey; /* Ombre portée des informations */
    border-radius: 15px; /* Bords arrondis */
    display: flex; /* Utilise Flexbox */
    flex-wrap: wrap; /* Permet le passage à la ligne sur petits écrans */
    box-sizing: border-box; /* Inclut padding et border dans la width */
    justify-content:center;
}

@media (max-width: 480px) {
    .divInformations {
        width:360px;
        max-width: 400px;
        margin: 10px 5px;
        flex-direction: column; /* Empile verticalement sur mobile */
        padding: 10px 10px; /* Padding réduit */
        display: flex;
    }
}

.divH1Image {
    text-align: center;
    padding: 5px;
}

@media (max-width:480px) {
    .divH1Image {
        margin-top: 0;
        margin-bottom: 0;
    }
}

.InfoGrandTitre {
    text-align: center; /* Centre le texte */
    width: 95%; /* Prend toute la largeur */
    border-radius: 20px; /* Bords arrondis */
    padding:15px;
    margin-top: 0;
    margin-bottom: 0;
    
}

.InfoPetitTitre { 
    margin: 10px;
    background-color: #141455;
    color: white;
    padding: 5px;
    font-size: 20px;   
}

.TexteInformation {
    font-size: 18px;
    color: #000;
}

@media (max-width:480px) {
    .InfoPetitTitre {
        margin-top: 0;
        margin-bottom: 0;
        text-align: center;
        padding: 15px;
        width:90%;
    }
}

.imageInformation {
    padding-top: 5px;
}

.InformationsGrid {
    text-align: center;
    padding-bottom: 15px;
}

@media (max-width: 480px) {
    .imageInformation {
        text-align: center; /* Centre l'image */
        max-width: 100%; /* L'image ne dépasse pas son conteneur */
        height: auto; /* Garde les proportions */
        margin-bottom: -35;
    }

    .InformationsGrid {
        padding-bottom:0;
    }
}

.Information1, .Information2, .Information3, .Information4 {
    font-size: 15px; /* Taille de la police */
    margin: 10px 5px 10px 5px; /* Marges autour de l'information */
    width: 95%; /* Prend toute la largeur disponible */
    max-width: 600px; /* Largeur maximale */
    border: 3px solid #141455; /* Pas de bordure */
    background-color: white;
    box-sizing: border-box; /* Inclut padding et border dans la width */
    transition: background-color 0.3s ease; /* Transition douce */   
}

@media (max-width:480px) {
    .Information1, .Information2, .Information3, .Information4 {
        width: 95%; /* 95% de la largeur sur mobiles */
        margin: 5px;
    }
}

.Information1:hover, .Information2:hover, .Information3:hover, .Information4:hover {
    color: #141455; /* Couleur du texte au survol */
    border: 3px solid #141455;
    background-color: #e3e3f1;
    cursor: pointer;
    
}

.Information1 p, .Information2 p, .Information3 p, .Information4 p {
    margin-top: 0;
    font-size: 20px;
    color: #000;
}

.Information1 p:hover, .Information2 p:hover, .Information3 p:hover, .Information4 p:hover {
    color: #141455;
}

.Information1 h2, .Information2 h2, .Information3 h2, .Information4 h2 {
    margin: 10px;
    background-color: #141455;
    color: white;
}

@media (max-width: 480px) {
    
    .Information1 h2, .Information2 h2, .Information3 h2, .Information4 h2 {
        font-size: 20px;
    }

    .Information1 p, .Information2 p, .Information3 p, .Information4 p {
        font-size: 18px;
        padding: 0 10px 10px 0;
    }
}

.ToutesLesActualites {
    padding:15px;
    width: fit-content;
    background-color: #141455;
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 20px;
    display: block; /* Affichage en bloc */
    margin: 0 auto 15px; /* Centre le bouton avec marge en haut */
    width: 250px; /* Largeur maximale */
    cursor: pointer; /* Change le curseur au survol */
    box-sizing: border-box; /* Inclut padding et border dans la width */
    transition: background-color 0.3s ease; /* Transition douce */

}

.ToutesLesActualites:hover {
    color: #141455;
    border: 2px solid #141455;
    background-color: #e3e3f1;
}

@media (max-width:480px) {
    .ToutesLesActualites {
        padding: 10px;
        font-size: 18px;
        margin: 10px auto 10px;
    }
}

/*===================================
  POP UP CONGE NAISSANCE
===================================*/

    /*===================================
    POP UP CONGE NAISSANCE
    ===================================*/

.PopUpCongeNaissance, .PopUpAides2026, .PopUpPrimeNoel2025, .PopUpCyberattaque {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    bottom: 0;
    width: 100%;
    height: 100%; /* Prend toute la hauteur */
    overflow-y: auto; /* Permet le scroll sur tout l'écran */
    background-color: rgba(0, 0, 0, 0.5); /* Fond semi-transparent */
}

    /*===================================
    CONTENU POP UP
    ===================================*/

.ContenuPopUpCongeNaissance, .ContenuPopUpAides2026, .ContenuPopUpPrimeNoel2025, .ContenuPopUpCyberattaque {
    background-color:#e3e3f1;
    margin: 30px auto;
    padding: 50px;
    border-radius: 10px;
    width: 90%;
    max-width: 1600px;
    position: relative;
    box-shadow: 10px 10px 15px rgba(0, 0, 0, 0.3);
    border: 3px solid #141455;
    font-size: 18px;
}

/* TABLETTE */
@media (max-width: 768px) {
    .ContenuPopUpCongeNaissance, .ContenuPopUpAides2026, .ContenuPopUpPrimeNoel2025, .ContenuPopUpCyberattaque {
        width: 95%;
        padding: 30px;
        margin: 20px auto;
        font-size: 16px;
    }
}

/*MOBILE*/
@media (max-width:480px) {
    .ContenuPopUpCongeNaissance, .ContenuPopUpAides2026, .ContenuPopUpPrimeNoel2025, .ContenuPopUpCyberattaque {
        background-color:#e3e3f1;
        margin: 10% auto;
        padding: 20px;
        border: 2px solid #141455;
        border-radius: 10px;
        width: 95%;
        max-width: 330px;
        position: relative;
        box-shadow: 10px 10px 15px rgba(0, 0, 0, 0.3);
        font-size: 14px;
    }
}

    /*===================================
    TITRE POP UP
    ===================================*/

.TitrePopUp {
    background-color: #141455;
    color: white;
    padding: 15px;
    border-radius: 10px;
    margin: 30px;
    text-align: center;
}

@media (max-width:480px) {
    .TitrePopUp {
        margin: 30px 5px 5px 5px;
        padding: 15px;
        font-size: 22px;
    }
}

    /*===================================
    ICONE FERMER POP UP
    ===================================*/

.FermerCongeNaissance, .FermerAides2026, .FermerPrimeNoel2025, .FermerCyberattaque {
    position: absolute;
    right: 30px;
    top: 5px;
    font-size: 30px;
    font-weight: bold;
    color: black;
    cursor: pointer;
}

@media (max-width:480px) {
    .FermerCongeNaissance, .FermerAides2026, .FermerPrimeNoel2025, .FermerCyberattaque {
        position: absolute;
        right: 15px;
        top: 5px;
    }
}

.FermerCongeNaissance:hover, .FermerAides2026:hover, .FermerPrimeNoel2025:hover, .FermerCyberattaque:hover {
    color:#000;
}

    /*===================================================
    POP UP TITRE CONNEXION ALLOCATAIRE + IDENTIFIANTS CAF
    ====================================================*/

.Question {
    color: #141455;
}

.Reponse {
    color: black;
    background-color: whitesmoke;
    padding: 15px;
}

    /*===================================================
    IMAGES 
    ===================================================*/

.conteneur {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px;
    gap:30px;
}

.divMontant {
    display: inline-block;
    border: 2px solid black;
    padding: 10px;
    background-color: whitesmoke;
    justify-content: center;
    text-align: center;
}

.MontantsMetropoleDOM, .MontantMayotte {
    margin:15px;
    border: 2px solid black;
    display: block;
    margin: 15px auto;
}

@media (max-width: 480px) {
    .MontantsMetropoleDOM, .MontantMayotte {
        width: 90%;
    }
}

/*===================================
  SERVICES
===================================*/

.divServices {
    padding: 15px;
    margin: 30px 180px 0 180px; /* Marge autour de la div */ /* Marge autour de la div */
    max-width: calc(100% - 40px); /* S'adapte à la largeur de l'écran */
    padding: 0px 20px 10px 20px; /* Espace interne */
    border: none; /* Pas de bordure */
    background-color: #e3e3f1; /* Couleur de fond */
    box-shadow: 10px 10px 20px grey; /* Ombre portée */
    border-radius: 15px; /* Bords arrondis */
    box-sizing: border-box; /* Inclut padding et border dans la width */
    text-align: center;
}

@media (max-width: 480px) {
    .divServices {
        width:360px;
        max-width: 400px;
        margin: 10px 5px;
        flex-direction: column; /* Empile verticalement sur mobile */
        padding: 10px 10px; /* Padding réduit */
        display: flex;
    }
}

.Servicesh1 {
    padding: 15px;
    margin-bottom: 0;
    
}

@media (max-width:480px) {
    .Servicesh1 {
        margin-top: 0;
        margin-bottom: 0;
        text-align: center;
        padding: 15px;
        width:90%;
    }
}

.divViePersonnelle, .divVieProfessionnelle, .divLogement, .divHandicap, .divAccident {
    text-align: center; /* Centre le texte */
    margin: 5px 15px 20px 15px;
    display: inline-block;
    width: 250px;
}

.divViePersonnelle:hover, .divVieProfessionnelle:hover, .divLogement:hover, .divHandicap:hover, .divAccident:hover {
    color: #141455;
    background-color: #e3e3f1;
    border:1px solid #141455;
}

@media (max-width:480px) {
    .divViePersonnelle, .divVieProfessionnelle, .divLogement, .divHandicap, .divAccident {
        text-align: center; /* Centre le texte */
        display: flex;
        flex-direction: column;
        width: 310px;
    }
}

.ImageViePersonnelle, .ImageVieProfessionnelle, .ImageLogement, .ImageHandicap, .ImageAccident {
    display: flex; /* Utilise Flexbox */
    flex-wrap: wrap; /* Permet au h2 de passer en dessous */
    align-items: center; /* Aligne verticalement les éléments */
    gap: 15px; /* Espace entre les éléments */
    justify-content: center; /* Centre les éléments horizontalement */
    padding-top: 15px; /* Espace en haut */
    padding-bottom: 15px; /* Espace en bas */
}

/* Responsive : Réduction du gap sur petits écrans */
@media (max-width: 768px) {
    .ImageViePersonnelle, .ImageVieProfessionnelle, .ImageLogement, .ImageHandicap, .ImageAccident {
        gap: 15px; /* Gap réduit pour tablettes */
    }
}

@media (max-width: 480px) {
    .ImageViePersonnelle, .ImageVieProfessionnelle, .ImageLogement, .ImageHandicap, .ImageAccident {
        gap: 10px; /* Gap réduit pour mobiles */
        flex-direction: column; /* Empile les éléments verticalement */
    }
    
    .ImageViePersonnelle img, .ImageVieProfessionnelle img, .ImageLogement img, .ImageHandicap img, .ImageAccident img {
        max-width: 100px; /* Réduit la taille des images sur mobile */
        height: auto; /* Garde les proportions */
    }
}

.TitresServices {
    background-color: #141455; /* Couleur de fond */
    color: white; /* Couleur du texte */
    flex-basis: 100%; /* Force le h2 à prendre 100% de la largeur */
    text-align: center; /* Centre le texte */
    margin: 0; /* Supprime les marges */
    padding: 10px;
    font-size: 20px;
}

/* Responsive : Réduction de la taille de police sur petits écrans */
@media (max-width: 480px) {
    .TitresServices {
        font-size: 18px; /* Taille réduite pour mobiles */
    }
}

.ImageViePersonnelle {
    background-color: lightpink; /* Couleur de fond */
    border: #141455 3px solid;
    transition: background-color 0.3s ease; /* Transition douce */
}

.ImageViePersonnelle:hover {
    background-color:#e3e3f1; /* Couleur de fond au survol */
    border: #141455 3px solid;
}

.ImageVieProfessionnelle {
    background-color: #62a0c7; /* Couleur de fond */
    border: #141455 3px solid;
    transition: background-color 0.3s ease; /* Transition douce */
}

.ImageVieProfessionnelle:hover {
    background-color: #e3e3f1; /* Couleur de fond au survol */
    border: #141455 3px solid;
}

.ImageLogement {
    background-color: #EFE3D3; /* Couleur de fond */
    border: #141455 3px solid;
    transition: background-color 0.3s ease; /* Transition douce */
}

.ImageLogement:hover {
    background-color: #e3e3f1; /* Couleur de fond au survol */
    border: #141455 3px solid;
}

.ImageHandicap {
    background-color: #e9e78a; /* Couleur de fond */
    border: #141455 3px solid;
    transition: background-color 0.3s ease; /* Transition douce */
}

.ImageHandicap:hover {
    background-color: #e3e3f1; /* Couleur de fond au survol */
    border: #141455 3px solid;
}

.ImageAccident {
    background-color: #2fc96f; /* Couleur de fond */
    border: #141455 3px solid;
    transition: background-color 0.3s ease; /* Transition douce */
}

.ImageAccident:hover {
    background-color: #e3e3f1; /* Couleur de fond au survol */
    border: #141455 3px solid;
}

/*===================================
  ACTIONS
===================================*/

.divActions {
    margin: 30px 180px 0 180px; /* Marge autour de la div */
    max-width: calc(100% - 40px); /* S'adapte à la largeur de l'écran */
    padding: 15px; /* Espace interne */
    border: none; /* Pas de bordure */
    background-color: #e3e3f1; /* Couleur de fond */
    box-shadow: 10px 10px 20px grey; /* Ombre portée */
    border-radius: 15px; /* Bords arrondis */
}

@media (max-width: 480px) {
    .divActions {
        margin: 15px 5px; /* Marges réduites pour mobiles */
        padding: 10px 20px 15px 20px; /* Padding réduit */
        width:320px;
        max-width: 400px;
        flex-direction: column; /* Empile verticalement sur mobile */
    }
}

.divActions h1 {
    margin-top: 0;
    text-align: center;
    padding: 15px;
    width:90%;
}

@media (max-width:480px) {
    .divActions h1 {
        margin-top: 0;
        margin-bottom: 0;
        text-align: center;
        padding: 15px;
        width:90%;
    }
}


.Actions {
    display: flex; /* Utilise Flexbox */
    gap: 35px; /* Espace entre les boutons */
    justify-content: center; /* Centre les boutons horizontalement */
    align-items: center; /* Aligne verticalement les boutons */
    flex-wrap: wrap; /* Permet le passage à la ligne sur petits écrans */
}

/* Responsive : Réduction du gap sur petits écrans */
@media (max-width: 480px) {
    .Actions {
        gap: 10px; /* Gap réduit pour mobiles */
        flex-direction: column; /* Empile les boutons verticalement */
        
    }
}

.ButtonsActions {
    padding: 15px 10px; /* Espace interne du bouton */
    width: 280px; /* Largeur du bouton */
    max-width: 100%; /* S'adapte à la largeur disponible */
    background-color: #141455; /* Couleur de fond */
    border: none; /* Pas de bordure */
    color: white; /* Couleur du texte */
    box-sizing: border-box; /* Inclut padding et border dans la width */
    cursor: pointer; /* Change le curseur au survol */
    transition: background-color 0.3s ease; /* Transition douce */
}

.TitresActions {
    font-size: 18px;
}

@media (max-width:480px) {
    .TitresActions {
        font-size: 18px;
    }
}

.ButtonsActions:hover {
    background-color: #e3e3f1; /* Couleur de fond au survol */
    color: #141455; /* Couleur du texte au survol */
    border: #141455 3px solid;
}

/* Responsive : Boutons prennent toute la largeur sur mobile */
@media (max-width: 480px) {
    .ButtonsActions {
        width: 90%; /* Prend toute la largeur disponible */
        padding:10px;
        margin:5px;
    }
}

/*===================================
  MAGASINE
===================================*/

.divMagasine {
    margin: 30px 180px 0 180px; /* Marge autour de la div */
    max-width: calc(100% - 40px); /* S'adapte à la largeur de l'écran */
    padding: 15px; /* Espace interne */
    border: none; /* Pas de bordure */
    background-color: #e3e3f1; /* Couleur de fond */
    box-shadow: 10px 10px 20px grey; /* Ombre portée */
    border-radius: 15px; /* Bords arrondis */
}

@media (max-width: 480px) {
    .divMagasine {
        margin: 15px 10px 0 5px; /* Marges réduites pour mobiles */
        padding: 8px 5px; /* Padding réduit */
        width: 350px;
        max-width: 400px;
    }
}

.divMagasine h1 {
    margin-top: 0;
    text-align: center;
}

@media (max-width:480px) {
    .divMagasine h1 {
        margin-top: 0;
        margin-bottom: 0;
        text-align: center;
        padding: 15px;
        width:90%;
    }
}

.PresentationMagasine {
    background-color: white; /* Couleur de fond */
    padding: 20px; /* Espace interne */
    margin:15px;
    border: 3px solid #141455;
}

/* Responsive : Réduction du padding sur petits écrans */
@media (max-width: 480px) {
    .PresentationMagasine {
        padding: 10px; /* Padding réduit pour mobiles */
    }
}

.CategorieMagasine {
    background-color: #141455; /* Couleur de fond */
    color: white; /* Couleur du texte */
    border: none; /* Pas de bordure */
    padding: 5px; /* Espace interne */
    width: 200px; /* Largeur du bouton */
    max-width: 100%; /* S'adapte à la largeur disponible */
    text-align: center; /* Centre le texte */
    display: block; /* Affichage en bloc */
    margin: 0 auto 20px; /* Centre le bouton et ajoute une marge en bas */
    box-sizing: border-box; /* Inclut padding et border dans la width */
}

/* Responsive : Bouton prend toute la largeur sur mobile */
@media (max-width: 480px) {
    .CategorieMagasine {
        width: 100%; /* Prend toute la largeur disponible */
    }
}

.ImageMagasine {
    margin: 0 auto; /* Centre l'image */
    display: block; /* Affichage en bloc */
    max-width: 100%; /* L'image ne dépasse pas son conteneur */
    height: auto; /* Garde les proportions */
}

.LogoArticle {
    display: flex;
    align-items: center;
    width: 150px;
    max-width: 100%;
    height: 40px;
    gap: 10px;
    padding: 10px;
    margin: 10 auto; /* Centre horizontalement */
}

/* Responsive : Ajustement sur petits écrans */
@media (max-width: 480px) {
    .LogoArticle {
        width: 120px; /* Largeur réduite pour mobiles */
        height: 40px; /* Hauteur réduite */
    }
}

/* Responsive : Réduction de la taille de l'image sur mobile */
@media (max-width: 480px) {
    .ImageLogoArticle {
        width: 30px; /* Largeur réduite pour mobiles */
        height: 30px; /* Hauteur réduite */
    }
}

.TitreArticle {
    background-color: #141455; /* Couleur de fond */
    color: white; /* Couleur du texte */
    border: none; /* Pas de bordure */
    padding: 10px; /* Espace interne */
    width:65%;
    text-align: center;
    margin: 0 auto;
}

/* Responsive : Réduction du padding sur petits écrans */
@media (max-width: 480px) {
    .TitreArticle {
        padding: 8px; /* Padding réduit pour mobiles */
        width:95%;
    }
}

.TexteArticle {
    background-color: #e3e3f1; /* Couleur de fond */
    border: none; /* Pas de bordure */
    padding: 10px;
    width:65%;
    text-align: center;
    margin: 10 auto;
    font-size: 18px;
}

@media (max-width:480px) {
    .TexteArticle {
        padding: 8px; /* Padding réduit pour mobiles */
        font-size: 18px; /* Taille de police réduite */
        width:95%;
    }
}

.DecouvrirMag { /* Police */
    font-weight: 500; /* Poids de la police */
    font-size: 20px; /* Taille de la police */
    padding: 15px; /* Espace interne */
    border: none; /* Pas de bordure */
    background-color: #141455; /* Couleur de fond */
    color: white; /* Couleur du texte */
    border-radius: 15px; /* Bords arrondis */
    display: block; /* Affichage en bloc */
    margin: 15px auto 0; /* Centre le bouton avec marge en haut */
    width: 250px; /* Largeur maximale */
    cursor: pointer; /* Change le curseur au survol */
    box-sizing: border-box; /* Inclut padding et border dans la width */
    transition: background-color 0.3s ease; /* Transition douce */
}

@media (max-width: 480px) {
    .DecouvrirMag {
        font-size: 18px; /* Taille réduite pour mobiles */
        padding: 10px; /* Padding réduit */
        max-width: 100%; /* Prend toute la largeur disponible */
        margin: 15px auto;
    }
}

.DecouvrirMag:hover {
    background-color: #e3e3f1; /* Couleur de fond au survol */
    color: #141455; /* Couleur du texte au survol */
    border: 2px solid #141455;
}

/*===================================
  QUESTIONS
===================================*/

.divQuestions {
    margin: 30px 180px 0 180px; /* Marge autour de la div */
    padding: 5px 20px 20px 20px; /* Espace interne */
    border: none; /* Pas de bordure */
    background-color: #e3e3f1; /* Couleur de fond */
    box-shadow: 10px 10px 20px grey; /* Ombre portée */
    border-radius: 15px; /* Bords arrondis */
}    

@media (max-width: 480px) {
    .divQuestions {
        margin: 15px 10px 0 5px; /* Marges réduites pour mobiles */
        padding: 8px 17px; /* Padding réduit */
        width: 90%;
    }
}

.divQuestions h1 {
    margin: 0;
    padding: 10px 0;
    text-align: center;
}

@media (max-width:480px) {
    .divQuestions h1 {
        margin-top: 0;
        margin-bottom: 0;
        text-align: center;
        padding: 15px;
        width:90%;
    }
}

.FaqQuestionDette, .FaqQuestionAides, .FaqQuestionDocument, .FaqQuestionDemarches {
    background-color: #141455; /* Couleur de fond */
    color:white; /* Couleur du texte */
    padding: 15px; /* Espace interne */
    cursor: pointer; /* Change le curseur au survol */
    transition: background-color 0.3s ease; /* Transition douce */
    margin:15px;
    text-align: center;
    width:70%;
    margin: 10 auto;
    font-size: 18px;
}

.FaqQuestionDette:hover, .FaqQuestionAides:hover, .FaqQuestionDocument:hover, .FaqQuestionDemarches:hover {
    background-color:#e3e3f1; /* Couleur de fond au survol */
    color: #141455; /* Couleur du texte au survol */
    border: 2px solid #141455;
}

/* Responsive : Réduction du padding sur petits écrans */
@media (max-width: 480px) {
    .FaqQuestionDette, .FaqQuestionAides, .FaqQuestionDocument, .FaqQuestionDemarches {
        padding: 10px; /* Padding réduit pour mobiles */
        font-size: 18px; /* Taille de police réduite */
        width: fit-content;
    }
}

.FaqReponseDette, .FaqReponseAides, .FaqReponseDocument, .FaqReponseDemarches {
    display: none; /* Cachée par défaut */
    background-color: whitesmoke; /* Couleur de fond */
    border: 3px solid #141455;
    color: black;
    padding: 15px; /* Espace interne */
    margin-top: 5px; /* Marge en haut */
    font-size: 18px;
}

/* Responsive : Réduction du padding sur petits écrans */
@media (max-width: 480px) {
    .FaqReponseDette, .FaqReponseAides, .FaqReponseDocument, .FaqReponseDemarches {
        padding: 10px; /* Padding réduit pour mobiles */
        font-size: 18px; /* Taille de police réduite */
    }
}

.BoutonQuestions { /* Police */
    font-weight: 500; /* Poids de la police */
    font-size: 20px; /* Taille de la police */
    padding: 10px; /* Espace interne */
    border: none; /* Pas de bordure */
    background-color: #141455; /* Couleur de fond */
    color: white; /* Couleur du texte */
    border-radius: 15px; /* Bords arrondis */
    display: block; /* Affichage en bloc */
    margin: 15px auto; /* Centre le bouton avec marge en haut */
    width: 270px; /* Largeur maximale */
    cursor: pointer; /* Change le curseur au survol */
    box-sizing: border-box; /* Inclut padding et border dans la width */
    transition: background-color 0.3s ease; /* Transition douce */
}

.BoutonQuestions:hover {
    background-color: #e3e3f1; /* Couleur de fond au survol */
    color: #141455; /* Couleur du texte au survol */
    border: 2px solid #141455;
}

@media (max-width: 480px) {
    .BoutonQuestions {
        font-size: 18px; /* Taille réduite pour mobiles */
        padding: 10px; /* Padding réduit */
        max-width: 100%; /* Prend toute la largeur disponible */
        margin: 15px auto;
    }
}

/*===================================
  FOOTER
===================================*/

    /*===================================
    DIV FOOTER
    ===================================*/

.divFooter {
    background-color: #141455;
    color: white;
    padding: 5px 15px 15px 15px;
    margin: 20px;
    justify-content: space-around;
    display: flex;
}

@media (max-width:768px) {
    .divFooter {
        display: inline-block;
        margin: 10px;
    }
}

@media (max-width:480px) {
    .divFooter {
        display: flex;
        flex-direction: column;
        margin: 5px;
    }
}

    /*===================================
    CONTACT - RESEAUX SOCIAUX
    ===================================*/

.TitreReseaux {
    color: white;
    text-align: center;
    padding: 10px;
    font-size: 16px;
}

.ReseauxSociaux {
    display: flex;
    align-items: center;
    gap: 5px;
    flex-wrap: wrap;
    margin: 10px;
}

.Facebook {
    background-color: white;
    padding: 8px; /* Réduit le padding */
    cursor: pointer;
    display: inline-flex; /* Important ! */
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    transition: background-color 0.3s ease; /* Transition douce */
}

.Facebook:hover {
    background-color: #b9b9dd;
}

.X {
    background-color: white;
    padding: 8px; /* Réduit le padding */
    cursor: pointer;
    display: inline-flex; /* Important ! */
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease; /* Transition douce */
}

.X:hover {
    background-color: #b9b9dd;
}

.NousContacter {
    background-color: white;
    color: black;
    border: none;
    padding: 20px 8px; /* Réduit le padding */
    cursor: pointer;
    display: inline-flex; /* Important ! */
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: background-color 0.3s ease; /* Transition douce */
    margin-left: 5px;
}

.NousContacter:hover {
    background-color: #b9b9dd;
    color: #141455;
}

    /*===================================
    INFORMATIONS GENERALES
    ===================================*/

.Liensfooter{
    font-size: 16px;
    border: none;
    background-color: #141455;
    color: white;
}

.LiensFooter:hover {
    text-decoration: underline;
    width: fit-content;
    cursor: pointer;
}

/*=====================AUTRES SITES===============*/

.LiensAutresSites {
    text-decoration: none;
    color: white;
    font-size: 16px;
}

.LiensAutresSites:hover {
    text-decoration: underline;
    width: fit-content;
    cursor: pointer;
}

