@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

:root {
    --black-color: #11101d;
    --white-color: #fff;
    --sky-color: #E4E9F7;
    --light-black: #1d1b31;
}

body {
    position: relative;
    min-height: 100vh;
    width: 100%;
    background: rgb(23, 23, 26);
}

::selection {
    color: var(--white-color);
    background: var(--black-color);
}

.table-100 {
    width: 100%;
    width: -webkit-fill-available;
}

.tr-100 {
    width: 100%;
}

.crpto-iframe {
    min-height: 550px;
}

.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 78px;
    background: linear-gradient(90deg, #0c2658 0%, #071127 100%);
    padding: 6px 14px;
    z-index: 99;
    transition: all 0.5s ease;
}

.sidebar.active {
    width: 240px;
}

.sidebar .logo_content .logo {
    color: var(--white-color);
    display: flex;
    height: 50px;
    width: 100%;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: all 0.5s ease;
}

.sidebar.active .logo_content .logo {
    opacity: 1;
    pointer-events: none;
}

.logo_content .logo .logo_name {
    font-size: 20px;
    font-weight: 400;
}

.sidebar #btn {
    position: absolute;
    color: var(--white-color);
    top: -10px;
    left: 50%;
    font-size: 22px;
    height: 50px;
    width: 50px;
    text-align: center;
    line-height: 50px;
    transform: translateX(-50%);
    cursor: pointer;
}

.sidebar.active #btn {
    left: 90%;
}

.sidebar ul {
    margin-top: 20px;
}

.sidebar ul li {
    position: relative;
    height: 50px;
    width: 100%;
    margin: 5px 0;
    list-style: none;
    line-height: 50px;
}

.sidebar ul li .tooltip {
    position: absolute;
    left: 125px;
    top: 0;
    transform: translate(-50%, -50%);
    border-radius: 6px;
    height: 35px;
    background: var(--white-color);
    padding-left: 10px;
    padding-right: 10px;
    line-height: 35px;
    text-align: center;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    transition: 0s;
    opacity: 0;
    pointer-events: none;
    display: block;
}

.sidebar ul li .tooltip::before {
    content: '';
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-right: 10px solid var(--white-color);
    position: absolute;
    left: -8px;
    top: 7px;
}

.sidebar.active ul li .tooltip {
    display: none;
}

.sidebar ul li:hover .tooltip {
    transition: all 0.5s ease;
    opacity: 1;
    top: 50%;
    height: auto;
}

.sidebar ul li input {
    position: absolute;
    height: 100%;
    width: 100%;
    left: 0;
    top: 0;
    border-radius: 12px;
    outline: none;
    border: none;
    background: #1d1b31;
    padding-left: 50px;
    font-size: 18px;
    color: var(--white-color);
}

.sidebar ul li .bx-search {
    position: relative;
    z-index: 99;
    color: var(--white-color);
    font-size: 22px;
    transition: all 0.5s ease;
}

.sidebar ul li .bx-search:hover {
    background: var(--white-color);
    color: #1d1b31;
}

.sidebar ul li a {
    color: var(--white-color);
    display: flex;
    align-items: center;
    text-decoration: none;
    border-radius: 12px;
    white-space: nowrap;
    transition: all 0.4s ease;
}

.sidebar ul li a:hover {
    color: var(--black-color);
    background: var(--white-color);
}

.sidebar ul li i {
    font-size: 18px;
    font-weight: 400;
    height: 50px;
    min-width: 50px;
    border-radius: 12px;
    line-height: 50px;
    text-align: center;
}

.sidebar .links_name {
    font-size: 15px;
    font-weight: 400;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
}

.sidebar.active .links_name {
    transition: 0s;
    opacity: 1;
    pointer-events: auto;
}

.sidebar .content {
    position: absolute;
    color: var(--white-color);
    bottom: 0;
    left: 0;
    width: 100%;
}

.sidebar .content .user {
    position: relative;
    padding: 10px 6px;
    height: 60px;
    background: none;
    transition: all 0.4s ease;
}

.sidebar.active .content .user {
    background: var(--light-black);
}

.content .user .user_details {
    display: flex;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    white-space: nowrap;
    transition: all 0.4s ease;
}

.sidebar.active .user .user_details {
    opacity: 1;
    pointer-events: auto;
}

.content .user .user_details img {
    height: 45px;
    width: 45px;
    object-fit: cover;
    border-radius: 12px;
}

.name_job {
    margin-left: 10px;
}

.user_details .name {
    font-size: 15px;
    font-weight: 400;
}

.user_details .job {
    font-size: 12px;
}

#log_out {
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
    min-width: 50px;
    line-height: 50px;
    font-size: 20px;
    border-radius: 12px;
    text-align: center;
    transition: all 0.4s ease;
}

.sidebar.active .user #log_out {
    left: 80%;
    background: none;
}

.sidebar.active~.home_content {
    z-index: 100;
    width: calc(100% - 240px);
    left: 240px;
}


/* ------------------------------------------------Home Page------------------------------------------------ */

.home_content {
    position: absolute;
    width: calc(100% - 78px);
    left: 78px;
    transition: all 0.5s ease;
}

.home_content .text {
    font-size: 25px;
    font-weight: 600;
    color: var(--light-black);
    margin-bottom: 15px;
}

.logo_name {
    padding: 25px;
    padding-top: 45px;
}

.img {
    background: url(Media/Img/Accueil_Fond.jpg) no-repeat top center;
    background-size: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    min-height: 550px;
}

.home_content .rechercher {
    max-width: 30%;
    min-width: 350px;
    padding: 30px 30px 30px 30px;
    margin: 100px 0 55px;
    color: rgb(238, 238, 238);
    background: linear-gradient(90deg, #0c2658 0%, #071127 100%);
    position: relative;
    left: 3.3%;
    margin-top: -500px;
    border-radius: 0.6rem;
}

fieldset {
    border: none;
    margin-bottom: 15px;
}

.form-recherche-home select {
    width: 100%;
    height: 46px;
    padding: 0 40px 0 10px;
    border: none;
    font-family: "Open Sans";
    border-radius: 0.6rem;
}

#RechercherTuto {
    width: 84%;
    height: 46px;
    padding: 0 40px 0 10px;
    border: none;
    font-family: "Open Sans";
    border-top-left-radius: 0.6rem;
    border-bottom-left-radius: 0.6rem;
}

#divBtnRechercher {
    width: 16%;
    height: 46px;
    border: none;
    font-family: "Open Sans";
    position: relative;
    float: right;
    border: 1px solid #fff;
    border-top-right-radius: 0.6rem;
    border-bottom-right-radius: 0.6rem;
}

.form-recherche-home .de-rechercher-home .btn-rechercher {
    width: 46px;
    height: 46px;
    text-align: center;
    color: #002227;
}

#home_search {
    font-size: 35pt;
    align-items: flex-end;
    color: rgb(255, 255, 255);
    margin: auto;
    display: flex;
}

.bx-search-alt-2:before {
    margin: auto !important;
}



/* ------------------------------------------------footer------------------------------------------------ */

.footer {
    background: #222531;
    color: rgb(255, 255, 255);
    width: 100%;
    margin-top: 0px;
    min-height: 45px;
    bottom: 0px;
}

.footer .container {
    /* position: relative; */
    /* width: 10%; */
    margin: auto;
    display: table;
}

.footer .footer-hotline {
    color: rgb(255, 255, 255);
    box-sizing: border-box;
    font-weight: 300;
    padding: 0 16px;
}

.footer .footer-hotline .footer-text {
    margin-bottom: 14px;
    line-height: 1.4;
    color: rgb(255, 255, 255);
    font-size: 13px;
}

.footer .footer-hotline h4 {
    font-size: 18px;
    margin-bottom: 14px;
    font-weight: 400;
    padding-top: 10px;
    color: rgb(255, 255, 255);
    width: 300px;
    box-sizing: border-box;
}

.footer img {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-5%);
    display: block;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    width: 150px;
}

a {
    text-decoration: none;
    color: #fff;
}

.page-content {
    width: 60%;
    max-width: 1200px;
    margin: auto;
}

.float-left-formulaire-dynamique {
    float: left;
}

.float-right-formulaire-dynamique {
    float: right;
}

#btn_Previsu_HTML {
    padding: 10px 15px 10px 15px;
    color: #000000;
    background-color: #fff;
    border-color: #000000;
}

#btn_Previsu_HTML:hover {
    padding: 10px 15px 10px 15px;
    color: #00fafa;
    background-color: #fff;
}


/* ------------------------------------------------Specif------------------------------------------------ */

@media only screen and (max-width: 1020px) {
    .flip-item-wrap {
        min-width: 10%;
        max-width: 90%;
        height: auto;
        position: relative;
        -webkit-perspective: 800px;
        -moz-perspective: 800px;
        -ms-perspective: 800px;
        -o-perspective: 800px;
        perspective: 800px;
        display: table;
        margin: auto;
        margin-bottom: 15px;
    }

    .flip-menu {
        width: 100%;
        margin: auto;
        margin-left: 0px;
        display: table;
    }
}

@media only screen and (max-width: 680px) {
    #div_PersoActualite {
        padding: 0px;
        margin: auto;
    }

    .flip-menu {
        width: 100%;
        margin: auto;
        margin-left: 0px;
        display: grid;
    }

    .flip-item-wrap {
        min-width: 10%;
        max-width: 90%;
        height: auto;
        float: left;
        position: relative;
        -webkit-perspective: 800px;
        -moz-perspective: 800px;
        -ms-perspective: 800px;
        -o-perspective: 800px;
        perspective: 800px;
        margin: auto;
        margin-bottom: 15px;
    }

    #col-support {
        border-top-left-radius: 20%;
    }

    .home_content .rechercher {
        max-width: 30%;
        min-width: 282px;
        padding: 30px 30px 30px 30px;
        margin: 100px 0 62px;
        color: rgb(238, 238, 238);
        position: relative;
        margin-top: -400px;
    }

    #divBtnRechercher {
        width: 25%;
        height: 46px;
        padding: 0 20px 0 20px;
        border: none;
        font-family: "Open Sans";
        position: relative;
        float: right;
    }

    #RechercherTuto {
        width: 75%;
        height: 46px;
        padding: 0 40px 0 10px;
        border: none;
        font-family: "Open Sans";
    }

    .footer .footer-hotline .footer-text {
        margin-bottom: 14px;
        line-height: 1.4;
        color: rgb(255, 255, 255);
        font-size: 10px;
    }

    .footer img {
        position: absolute;
        top: 50%;
        right: 0;
        transform: translateY(150%);
        display: block;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
        width: 125px;
    }

    .ProduitCat_Vignette {
        display: none;
    }

    .ProduitCat_Voir {
        display: none;
    }

    .ProduitCat_Devis {
        display: none;
    }

    #col-vignette {
        display: none;
    }

    #col-voir {
        display: none;
    }

    #col-devis {
        display: none;
    }
}

/* === CV Styles === */
:root {
    --bg-dark: #121212;
    --bg-light: #1e1e2f;
    --accent: #00fafa;
    --text-main: #e0e0e0;
    --text-muted: #999;
    --card-radius: 12px;
}

.cv-header {
    padding: 40px 0;
    color: var(--text-main);
}

.cv-header h1 {
    font-size: 36px;
    color: var(--accent);
    margin-bottom: 10px;
}

.cv-header p {
    font-size: 18px;
    color: var(--text-muted);
}

.cv-section {
    margin-bottom: 60px;
}

.cv-section h2 {
    color: var(--accent);
    margin-bottom: 20px;
}

.cv-block {
    background: var(--bg-light);
    padding: 20px;
    border-radius: var(--card-radius);
    margin-bottom: 30px;
}

.cv-block ul {
    padding-left: 20px;
    margin: 10px 0;
}

.cv-block ul li {
    list-style-type: disc;
    color: var(--text-main);
    line-height: 1.6;
}

.cv-block p,
.cv-block h3 {
    color: var(--text-main);
}

.cv-block span {
    color: var(--text-muted);
}

.hero {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 80vh;
    padding: 40px 20px;
    background: linear-gradient(135deg, #0c2658, #071127);
    color: var(--text-main);
    text-align: center;
}

.hero-inner {
    max-width: 800px;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 10px;
    font-weight: 600;
}

.hero .accent {
    color: var(--accent);
}

.hero .subtitle {
    font-size: 24px;
    color: var(--text-muted);
    margin-bottom: 15px;
}

.hero .desc {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 30px;
    color: var(--text-main);
}

.btn-linkedin {
    display: inline-block;
    padding: 12px 24px;
    background-color: #0077b5;
    color: #fff;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.3s ease;
}

.btn-linkedin:hover {
    background-color: #005582;
}

.site-footer {
    background-color: var(--bg-light);
    color: var(--text-muted);
    text-align: center;
    padding: 20px;
    padding-left: 78px;
    /* valeur de base de la sidebar */
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar.active~.site-footer {
    padding-left: 240px;
}

.home_content {
    position: absolute;
    width: calc(100% - 78px);
    left: 78px;
    min-height: 100vh;
    padding-bottom: 80px;
    /* pour le footer */
    transition: all 0.5s ease;
}

.sidebar.active~.home_content {
    width: calc(100% - 240px);
    left: 240px;
}

.site-footer {
    background-color: var(--bg-light);
    color: var(--text-muted);
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-left: 78px;
}

.sidebar.active~.site-footer {
    padding-left: 240px;
}