/* --- Styles Généraux --- */
.Body {
    color: #000000;
    background-color: #dbdcdc;
}

.Page {
    width: 95%;
    min-height: 99%;
    border-style: dotted;
    border-width: 1px;
    border-color: #000000;
    background-color: #FFFFFF;
    position: relative;
    left: 50%;
    transform: perspective(1px) translateX(-50%);
    border-radius: 10px;
    overflow: hidden;
    margin-top: 80px; /* Espace pour le header fixed-top */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* --- Couleurs de fond --- */
.BackBleuCiel {
    background-color: #6ca6cc;
}

.BackVioletClair {
    background-color: #835e80;
}

.BackRougeClair {
    background-color: #b86a79;
}

.BackOrangeClair {
    background-color: #eba58c;
}

.BackVertClair {
    background-color: #8fc5a6;
}

.BackBleuMarine {
    background-color: #5558be;
}

.BackRoseClair {
    background-color: #f6d6f4;
}

.BackgroundColored {
    background-color: #b2c6c5;
}

.BackgroundWhite {
    background-color: #ffffff;
}

.BackgroundGray {
    background-color: #dbdcdc;
}

/* --- Header Principal (PageMainHeader) --- */
.PageMainHeader {
    width: 99%;
    height: 340px;
    border-radius: 10px;
    margin: 0 auto;
    position: relative;
    display: flex;
    align-items: center; /* Centre verticalement le logo */
    justify-content: space-between; /* Espace le logo et le portrait */
    overflow: hidden;
}

.LogoWrapper {
    flex-grow: 1;
    display: flex;
    justify-content: center; /* Centre le logo dans l'espace restant */
    padding-left: 50px; /* Evite que le logo colle trop au bord gauche sur PC */
}

.LogoImg {
    width: 333px;
    height: auto;
    flex-shrink: 0;
}

.PortraitImg {
    align-self: flex-end; /* Colle l'image au bas du bandeau */
    max-width: 380px;
    height: auto;
    flex-shrink: 0;
    z-index: 2;
}

/* --- Typographie et Titres --- */
.MainHeaderText {
    font-family: 'Segoe UI', 'Roboto', 'Helvetica Neue', 'Arial', sans-serif;
    font-size: clamp(14px, 2vw, 18px);
    font-weight: 300;
    color: #FFFFFF;
    padding: 10px;
    text-align: justify;
    line-height: 1;
}

.MainText {
    font-family: 'Segoe UI', 'Roboto', 'Helvetica Neue', 'Arial', sans-serif;
    font-size: clamp(14px, 2vw, 18px);
    font-weight: 300;
    padding-left: 10px;
    padding-right: 10px;
    text-align: justify;
}

.Titre1 {
    font-family: 'Segoe UI', 'Roboto', 'Helvetica Neue', 'Arial', sans-serif;
    font-size: clamp(24px, 4vw, 36px);
    font-weight: 700;
    color: #000000;
    margin: 4px 20px 0 20px;
}

.Titre2 {
    font-family: 'Segoe UI', 'Roboto', 'Helvetica Neue', 'Arial', sans-serif;
    font-size: clamp(14px, 2vw, 18px);
    font-weight: 700;
    color: #721e75;
    margin: 20px 20px 0 20px;
    line-height: 1.2;
}

.Titre3 {
    font-family: 'Segoe UI', 'Roboto', 'Helvetica Neue', 'Arial', sans-serif;
    font-size: clamp(12px, 2vw, 14px);
    font-weight: 500;
    color: #000000;
    margin: 18px 18px 0 18px;
    line-height: 1.2;
}

.Ville {
    color: #98289c;
    font-size: 16px;
}

.Jour {
    color: #721e75;
    font-size: 20px;
    font-weight: bold;
}

/* --- Liens et Eléments Spéciaux --- */
.LinkHome {
    color: #721e75;
    text-decoration: none;
    font-weight: 400;
}

    .LinkHome:hover {
        color: #721e75;
        text-decoration: underline;
        background-color: #e0d5e0;
        border-radius: 4px;
    }

.importantText {
    color: #721e75;
    background-color: #e0d5e0;
    border-radius: 4px;
    border: solid 1px #721e75;
    padding: 2px;
}

.center-div-Horizontal {
    position: relative;
    text-align: center;
}

/* pour repeater des recommandations */
.container-recommandation {
    border: 1px solid #C2C2C2;
    border-radius: 8px;
    padding: 4px;
    margin-bottom: 10px;
    display: flex;
    flex-direction: column;
}

.header-rec {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 5px;
}

.icone-ronde {
    width: 30px;
    height: 30px;
    background-color: blue;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
}

.nom-rec {
    font-weight: bold;
    color: black;
}

.date-rec {
    color: black;
}

.site-rec {
    color: gray;
    font-size: 0.9em;
}

.texte-rec {
    width: 100%;
    text-align: justify;
    font-size: 14px;
    line-height: 1.4;
}



/* --- Media Query Smartphone --- */
@media (max-width: 768px) {
    .Page {
        margin-top: 60px;
    }

    .PageMainHeader {
        height: auto; /* Permet au bloc de s'agrandir verticalement */
        flex-direction: column; /* Empile le logo et le portrait */
        padding: 20px 0 0 0;
    }

    .LogoWrapper {
        padding-left: 0;
        margin-bottom: 10px;
    }

    .LogoImg {
        width: 250px; /* Plus petit sur mobile */
    }

    .PortraitImg {
        position: static !important;
        align-self: center; /* Centre le portrait sous le logo */
        max-width: 280px;
    }
}
