/* Fichier : assets/css/main.css */

/* -------------------------------------- */
/* 1. RÉINITIALISATION ET POLICE GLOBALE  */
/* -------------------------------------- */

*, *::before, *::after {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

body {
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    line-height: 1.6;
}

/* -------------------------------------- */
/* 2. MISE EN PAGE PRINCIPALE (FIXE)      */
/* -------------------------------------- */

#site-wrapper {
    min-height: 100vh;
}

#main-navigation {
    width: 250px;
    position: fixed;
    height: 100vh;
    top: 0;
    left: 20px;
    z-index: 100;
    display: flex;
    flex-direction: column;
    background-color: #ffffff;
    padding: 20px;
    font-size: 1rem;
    font-weight: 400;
}

#site-content {
    margin-left: 270px;
    flex-grow: 1;
    padding: 30px;
    overflow-x: hidden;
}

/* -------------------------------------- */
/* 3. STYLISATION DE L'EN-TÊTE DU MENU    */
/* -------------------------------------- */

.side-menu-header {
    text-align: center;
    margin-bottom: 30px;
}

.portfolio-name {
    text-transform: uppercase;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    margin-top: 0;
    margin-bottom: 5px;
}

.side-menu-header a[href^="mailto:"] {
    display: block;
    font-size: 0.85rem;
    color: #333;
    text-decoration: none;
    margin-bottom: 15px;
}

.profile-image-container {
    width: 100px;
    height: 100px;
    margin: 0 auto 15px auto;
    border-radius: 50%;
    overflow: hidden;
}

.profile-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* -------------------------------------- */
/* 4. STYLISATION DU MENU DE NAVIGATION   */
/* -------------------------------------- */

#main-navigation ul {
    list-style: none;
    padding: 0;
    margin: 0;
    margin-bottom: auto;
}

#main-navigation li a {
    display: block;
    padding: 5px 0;
    text-decoration: none;
    color: #333;
    transition: color 0.2s;
}

#main-navigation li a:hover {
    color: #5271ff;
}

#main-navigation li.current-menu-item a {
    color: #5271ff;
    font-weight: 600;
}

/* -------------------------------------- */
/* 5. STYLES DES TITRES                   */
/* -------------------------------------- */

h1 { font-size: 2.5rem; font-weight: 700; }
h2 { font-size: 1.8rem; font-weight: 600; }

/* -------------------------------------- */
/* 6. ICÔNES DES RÉSEAUX SOCIAUX          */
/* -------------------------------------- */

.social-links-container {
    text-align: center;
    padding-top: 20px;
    margin-top: 20px;
    border-top: 1px solid #ddd;
}

.social-links-container a {
    color: #333;
    font-size: 1.4rem;
    margin: 0 8px;
    display: inline-block;
    transition: color 0.2s ease-in-out;
}

.social-links-container a:hover { color: #5271ff; }

/* -------------------------------------- */
/* 7. PAGE ACCES PRO                      */
/* -------------------------------------- */

.post-password-form {
    max-width: 400px;
    margin: 60px auto;
    padding: 40px;
    text-align: center;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border: 1px solid #f0f0f0;
}

.post-password-form::before {
    content: "";
    display: block;
    width: 80px;
    height: 80px;
    margin: 0 auto 20px auto;
    background-image: url('https://eve-sion.com/wp-content/uploads/2026/01/password_icon.gif');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.post-password-form input[type="password"] {
    width: 100%;
    padding: 12px 15px;
    margin-top: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    outline: none;
    box-sizing: border-box;
    background-color: #f9f9f9;
}

.post-password-form input[type="submit"] {
    width: 100%;
    margin-top: 20px;
    background-color: #5271ff !important;
    color: #fff !important;
    border: none;
    padding: 14px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
}

/* -------------------------------------- */
/* 8. STYLE MOBILE (BURGER & HEADER)      */
/* -------------------------------------- */

.mobile-header-bar { display: none; }

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1100;
}

.menu-toggle .bar {
    width: 100%;
    height: 3px;
    background-color: #333;
    border-radius: 10px;
    transition: all 0.3s ease;
}

@media (max-width: 992px) {
    .mobile-header-bar {
        display: flex;
        justify-content: space-between;
        align-items: center;
        position: fixed;
        top: 0; left: 0;
        width: 100%; height: 70px;
        background: #ffffff;
        padding: 0 15px;
        z-index: 1001;
        box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    }

    .mobile-logo { display: flex; align-items: center; }
    .mobile-logo img { width: 45px; height: 45px; border-radius: 50%; object-fit: cover; margin-right: 15px !important; }
    .mobile-logo span { font-weight: 700; text-transform: uppercase; font-size: 1.1rem; color: #333; }
    
    .menu-toggle { display: flex; }

    #main-navigation {
        position: fixed;
        left: -300px;
        top: 0;
        width: 280px;
        height: 100vh;
        background: #ffffff;
        z-index: 1002;
        transition: left 0.4s ease;
        padding: 40px 20px;
        display: flex;
        flex-direction: column;
        overflow-y: auto;
    }

    #main-navigation.is-open { left: 0; }

    .social-links-container {
        margin-top: 30px !important;
        padding-bottom: 40px !important;
        display: block !important;
        border-top: 1px solid #eee;
    }

    #site-content {
        margin-left: 0 !important;
        padding: 90px 15px 10px 15px !important;
    }

    /* Ajustements images Elementor Mobile */
    .elementor-widget-image { width: 100% !important; max-width: 100% !important; margin-bottom: 5px !important; }
    .elementor-widget-image img { width: 100% !important; min-width: 100% !important; height: auto !important; display: block !important; margin: 0 auto 5px auto !important; }
    .elementor-element { --widgets-spacing: 5px !important; }
    .e-con, .e-con-inner { max-width: 100% !important; width: 100% !important; gap: 5px !important; }

    .menu-toggle.active .bar:nth-child(1) { transform: translateY(9px) rotate(45deg); }
    .menu-toggle.active .bar:nth-child(2) { opacity: 0; }
    .menu-toggle.active .bar:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }
}




/* -------------------------------------- */
/* 9. STYLISATION DU FOOTER (INTÉGRÉ)     */
/* -------------------------------------- */

#site-footer {
    border-top: 1px solid #f9f9f9;
    margin-left: 270px;
    padding: 100px 60px 40px 60px;
    background: #ffffff;
    font-family: 'Poppins', sans-serif;
}

.footer-main {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 80px;
}

/* Conteneur pour empiler EVE SION et le dessin */
.footer-brand-container {
    display: flex;
    flex-direction: column;
    gap: 30px; /* Espace entre le texte et le dessin */
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-logo {
    width: 35px;
    height: 35px;
    border-radius: 50%;
}

.footer-logo-text {
    font-weight: 700;
    font-size: 0.95rem;
    color: #333;
    letter-spacing: 1px;
}

/* Style de ton nouveau dessin */
.footer-illustration img {
    max-width: 180px; /* Ajuste la taille ici */
    height: auto;
    display: block;
}

.footer-nav-groups {
    display: flex;
    gap: 100px;
}

.group-title {
    font-weight: 700;
    font-size: 0.8rem;
    margin: 0 0 25px 0;
    color: #222;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-group a {
    display: block;
    text-decoration: none;
    color: #999;
    font-size: 0.8rem;
    margin-bottom: 12px;
    transition: color 0.2s;
}

.footer-group a:hover {
    color: #5271ff;
}

.footer-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
}

.copyright {
    font-size: 0.75rem;
    color: #bbb;
    margin: 0;
}

.footer-social-icons {
    display: flex;
    gap: 20px;
}

.footer-social-icons a {
    color: #ccc;
    font-size: 1rem;
    text-decoration: none;
    transition: color 0.2s, transform 0.2s;
}

.footer-social-icons a:hover {
    color: #5271ff;
    transform: translateY(-2px);
}

@media (max-width: 992px) {
    #site-footer {
        margin-left: 0 !important;
        padding: 60px 20px !important;
        border-top: 1px solid #eee;
    }

    .footer-main {
        flex-direction: column;
        gap: 60px;
    }

    .footer-brand-container {
        align-items: center; /* Centre le dessin en mobile */
    }

    .footer-nav-groups {
        width: 100%;
        justify-content: space-between;
        gap: 20px;
    }

    .footer-bar {
        flex-direction: column-reverse;
        gap: 25px;
        text-align: center;
    }
}