/* =======================
   Base
   ======================= */
body {
    font-family: "Poppins", sans-serif;
    /* margin-left moved to .with-sidebar utility */
}

@media (max-width: 768px) {
    body {
        margin-left: 0;
        margin-top: 60px;
    }
}

/* =======================
   Séparateur horizontal
   ======================= */
.HRnormal {
    color: black;
    margin: 0;
    padding: 0;
    border: 1px solid rgb(0, 0, 0);
    background-color: black;
    /* width: 740px; */
}

/* =======================
   Présentation
   ======================= */
.Presentation {
    padding-top: 6%;
    padding-bottom: 4%;
    display: flex;
    flex-wrap: nowrap;
    align-content: center;
    flex-direction: row;
    justify-content: center;
    height: 100vh;
    background-image: linear-gradient(to bottom, #ffa117, #ffa117 40%, #e6e6e6);
}

#DescriptionFormation {
    text-align: center;
    font-size: xx-large;
    background-image: linear-gradient(144deg, #AF40FF, #5B42F3 50%, #00DDEB);
    border: none;
    padding: 20px;
    border-radius: 8px;
    box-shadow: rgba(151, 65, 252, 0.2) 0 15px 30px -5px;
    box-sizing: border-box;
    color: #e6e6e6;
    font-size: 20px;
}

.scroll_down {
    text-align: center;
}

.arrowProjet {
    position: absolute;
    top: 80vh;
}

/* =======================
   Projets
   ======================= */
.Projets {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    background-color: #e6e6e6;
}

.Ecole,
.Entreprise {
    display: block;
}

.Titre_pro {
    text-align: center;
    padding: 4%;
    line-height: 130%;
    font-size: xx-large;
}

/* =======================
   Cartes de projets
   ======================= */
.articles {
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
}

.card {
    margin: 10px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    width: 500px;
    max-height: 450px;
    margin-bottom: 50px;
    text-decoration: none;
}

.titre_card {
    padding-bottom: 10px;
}

.card-header img {
    width: 100%;
    height: 200px;
    object-fit: none;
}

.card-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 20px;
}

.card-body p {
    font-size: 16px;
    margin: 0 0 40px;
}

#liens {
    color: #000000;
    text-decoration: none;
}

/* =======================
   Chiffres clés
   ======================= */
.chiffres_clés {
    padding: 5%;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    min-height: 50vh;
    align-items: center;
    border: none;
    font-family: "Open Sans", sans-serif;
}

.data-card {
    display: flex;
    flex-direction: column;
    max-width: 20.75em;
    min-height: 30em;
    min-width: 20em;
    overflow: hidden;
    border-radius: 0.5em;
    text-decoration: none;
    background: white;
    margin: 1em;
    padding: 2.75em 2.5em;
    box-shadow: 0 1.5em 2.5em -0.5em rgba(0, 0, 0, 0.1);
    transition: transform 0.45s ease, 0.45s ease;
}

.data-card h3 {
    color: #2e3c40;
    font-size: 3.5em;
    font-weight: 600;
    line-height: 1;
    padding-bottom: 0.5em;
    margin: 0 0 0.142857143em;
    border-bottom: 2px solid #0066ff;
    transition: color 0.45s ease, border 0.45s ease;
}

.data-card h4 {
    color: #627084;
    text-transform: uppercase;
    font-size: 1.5em;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.1em;
    margin: 0 0 1.777777778em;
    transition: color 0.45s ease;
}

.data-card h5 {
    color: #627084;
    font-size: 1em;
    font-weight: 300;
    line-height: 1;
    letter-spacing: 0.03em;
    margin: 0 0 1.5em;
    transition: color 0.45s ease;
}

.data-card p {
    opacity: 0;
    color: #000000;
    font-weight: 600;
    line-height: 1.8;
    margin: 0 0 1.25em;
    transform: translateY(-1em);
    transition: opacity 0.45s ease, transform 0.5s ease;
}

.data-card .link-text {
    display: block;
    color: #0066ff;
    font-size: 1.125em;
    font-weight: 600;
    line-height: 1.2;
    margin: auto 0 0;
    transition: color 0.45s ease;
}

.data-card:hover {
    background-image: linear-gradient(144deg, #ff3c00, #ffffff 50%, #000000);
    transform: scale(1.02);
}

.data-card:hover h3 {
    color: #000000;
    border-bottom-color: #0066ff;
}

.data-card:hover h4 {
    color: #000000;
}

.data-card:hover h5 {
    visibility: hidden;
}

.data-card:hover p {
    opacity: 1;
    transform: none;
}

@-webkit-keyframes point {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(0.125em);
    }
}

@keyframes point {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(0.125em);
    }
}

/* =======================
   Pages projets
   ======================= */
.Titre_projets {
    background-color: white;
    text-align: center;
    padding: 2% 10px 0 10px;
    line-height: 130%;
    font-size: xx-large;
    /* text-decoration: underline; */
}

.En_Savoir_plus {
    font-size: x-large;
    padding: 20px;
    text-align: justify;
    padding-left: 10%;
    /* text-align: center; */
}

#Equipement {
    background-image: url('../images/Réalisation_Pro/illustration_projet.html');
    background-size: contain;
    background-position: 0 0;
    background-repeat: no-repeat;
    font-size: x-large;
    text-align: center;
}

@media (max-width: 1555px) {
    #Equipement {
        background-position: 0 60px;
    }
}
@media (max-width: 850px) {
    #Equipement {
        background-position: 0 100px;
    }
}
@media (max-width: 750px) {
    #Equipement {
        background-image: none;
    }
    .detailles {
        padding-top: 10% 20px 0 20px;
    }
    .Titre_projets {
        padding-top: 25px;
        background-color: #ebebeb;
    }
}

.detailles {
    position: relative;
    display: flex;
    justify-content: center;
    padding: 32.5% 20px 0 20px;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: stretch;
    padding-bottom: 2%;
}

.detailles_img {
    padding-top: 20px;
    justify-content: center;
    align-items: center;
    justify-content: flex-start;
    font-size: 1.75em;
}

.detailles_card {
    background-color: #81a7b9;
    color: white;
    position: static;
    border-radius: 30px;
    overflow: hidden;
    margin: 20px;
    height: 200px;
    width: 250px;
}

.detailles_titre {
    text-align: center;
    padding: 5px;
    font-size: 90%;
}

.detailles_text {
    text-align: center;
    font-weight: bold;
    padding: 5px;
    font-size: 90%;
}

@media (max-width: 900px) {
    .detailles_titre {
        font-size: 70%;
        padding-top: 17px;
    }
    .detailles_img {
        display: none;
    }
    .detailles_card {
        height: 100px;
        width: 250px;
    }
}

/* =======================
   Palo Alto
   ======================= */
.palo_Alto_titre {
    text-align: center;
}

.img_pro {
    padding: 4%;
}

.Palo_Alto_Presentation {
    padding-left: 10%;
    font-size: x-large;
}

/* =======================
   Boutons projets
   ======================= */
.Button {
    background-color: white;
    font-weight: 700;
    text-transform: uppercase;
    padding: 12px 18px;
    margin-top: 10px;
    border-radius: 4px;
    border: solid 2px #121212;
    box-shadow: 4px 4px #121212;
    transition: transform 0.5s, box-shadow 50ms;
}
.Button:hover {
    transform: translate(2px, 2px);
    box-shadow: 2px 2px #121212;
}

/* =======================
   Outils
   ======================= */
.deploiement {
    font-size: x-large;
    text-align: center;
}

.outil {
    text-align: center;
    font-size: x-large;
}

/* =======================
   Icônes
   ======================= */
.icon img {
    display: inline-block;
    vertical-align: middle;
}

.icon-home img           { width: 33px; height: 28px; }
.icon-entreprise img     { width: 37px; height: 32px; }
.icon-realisationpro img { width: 37px; height: 35px; }
.icon-veilletechno img   { width: 37px; height: 36px; }
.icon-skills img         { width: 37px; height: 35px; }
.icon-outils img         { width: 40px; height: 37px; }

/* =======================
   Navigation Améliorée
   ======================= */
.enhanced-nav {
    background: linear-gradient(90deg, #67B3E4 0%, #ffa117 100%);
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    padding: 8px 0;
    margin: 0 auto 24px auto;
    max-width: 400px;
}
.enhanced-nav ul {
    display: flex;
    justify-content: center;
    gap: 32px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.enhanced-nav li a {
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 8px;
    transition: background 0.2s, color 0.2s;
    display: flex;
    align-items: center;
}
.enhanced-nav li a:hover {
    background: rgba(255,255,255,0.18);
    color: #333;
}

.cloud-nav {
    display: flex;
    justify-content: center;
    margin-bottom: 24px;
}
.cloud {
    background: #fff;
    border-radius: 50px 50px 60px 60px/40px 40px 80px 80px;
    box-shadow: 0 8px 32px rgba(100,100,255,0.15);
    padding: 32px 40px 24px 40px;
    position: relative;
    min-width: 320px;
    text-align: center;
}
.cloud img {
    display: block;
    margin: 0 auto 8px auto;
}
.cloud ul {
    display: flex;
    justify-content: center;
    gap: 32px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.cloud li a {
    color: #67B3E4;
    font-weight: 600;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 8px;
    transition: background 0.2s, color 0.2s;
    display: flex;
    align-items: center;
    background: rgba(103,179,228,0.08);
}
.cloud li a:hover {
    background: #67B3E4;
    color: #fff;
}
.rain {
    position: absolute;
    left: 0; right: 0;
    top: 100%;
    height: 120px;
    pointer-events: none;
    z-index: 2;
}
.rain-drop {
    position: absolute;
    font-family: monospace;
    font-size: 22px;
    color: #2196f3;
    opacity: 0.8;
    animation: rain-fall 1.2s linear forwards;
}
@keyframes rain-fall {
    0% { top: 0; opacity: 1; }
    80% { opacity: 1; }
    100% { top: 100px; opacity: 0; }
}

.full-width-img {
    width: 100vw;
    max-width: 100vw;
    height: auto;
    display: block;
    margin: 0;
    border-radius: 0;
    object-fit: cover;
}
.image-ajoutee {
    width: 100vw;
    max-width: 100vw;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-sizing: border-box;
    margin-top: 0;
    padding-top: 0;
    margin-bottom: 0px;
}


.container_rectangle {
    display: flex;
    height: 400px;
    flex-wrap: nowrap;
    justify-content: space-around;
    align-items: stretch;
    background-color: #0099ff;
    background-image: url(../images/Realisation_Pro/terre.png);
    background-size: 50%;
    /* background-repeat: no-repeat; */
    background-position: center;
    /* Pour déplacer l'image, modifiez background-position, par exemple : */
    background-position: 104% 56% 
}

.rectangle {
    max-width: 500px;
    min-width: 75%;
    min-height: 400px;
    height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: center;
    padding: 35px;
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 20px;
    background-color: rgba(255, 255, 255, 0.25);
    box-shadow: 0 0 10px 1px rgba(0, 0, 0, 0.25);
}

#rect1 {
    background-position: center;
    background-image: url("../images/Realisation_Pro/BTSsio.png");
    background-size: 50%;
    background-repeat: no-repeat;
}

#rect2 {
    background-position: center;
    background-image: url("../images/Realisation_Pro/BACHhexa.png");
    background-size: 50%;
    background-repeat: no-repeat;
}

#rect1:hover,
#rect2:hover,
#rect3:hover {
    background-color: rgba(0, 0, 0, 0.3);
}

.transition_vers_etudes {
    width: 100%;
    vertical-align: bottom;
}

.Titre_autres_entreprises {
    background-color: #0099ff;
    font-size: xx-large;
    padding-bottom: 5%;
}

.container_rectangle a {
    display: inline-flex;
    width: 50%;
    height: 100%;
    text-decoration: none;
    align-items: stretch;
    justify-content: space-around;
}

.image-ajoutee {
    margin-top: 0;
    padding-top: 0;
}