/*
 Theme Name:     Divi Child
 Theme URI:      https://www.elegantthemes.com/gallery/divi/
 Description:    Divi Child Theme
 Author:         Elegant Themes
 Author URI:     https://www.elegantthemes.com
 Template:       Divi
 Version:        1.0.0
*/

@import 'assets/variables.css';

@font-face {
    font-family: 'Albert Sans';
    src: url('./assets/fonts/AlbertSans-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Albert Sans';
    src: url('./assets/fonts/AlbertSans-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Albert Sans';
    src: url('./assets/fonts/AlbertSans-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

html, body {
    overflow-x: hidden;
}

.admin-bar {
    #nav_header {
        margin-top: 30px;
    }

    #nav_header_mobile {
        margin-top: 46px;
    }
}

.et_pb_section{
    z-index: 1;
}

header{
    z-index: 1;
}

.et-db #et-boc #main-header{
    position: fixed;
    top: 0;
    left: 0;
    background: transparent;
    width: 100%;
    padding: 0;
    transition: 0.5s all;
    background: #fff;
    z-index: 999;

    .et_menu_container{
        position: unset;
    }

    #et-top-navigation{
        position: unset;
        padding: 0 !important;
        flex: auto;
        display: flex;
        justify-content: flex-end;
        ul#top-menu {

            li {
                position: unset;
                &.menu-item-has-children > a {

                    &:after{
                        top: 50% ; /* +7% pour compenser le padding top padding top au dessus*/
                        transform: translateY(-50%);
                    }
                }
                a{
                    font-family: Albert Sans;
                    font-size: 20px;
                    font-stretch: normal;
                    font-style: normal;
                    line-height: 1;
                    letter-spacing: normal;
                    text-align: left;
                    color: #1a3d49;
                    text-transform: uppercase;
                    padding: 30px 20px 30px 0;
                    transition: 0.5s padding;
                    @media screen and (max-width: 1500px) {
                        font-size: 17px;
                    }
                }

                .sub-menu-wrap{
                    position: absolute;
                    top: calc(100% - 1px);
                    width: 100vw;
                    opacity: 0;
                    visibility: hidden;
                    left: 0;
                    padding: 20px 0;
                    background: #fff;
                    border-top: 3px solid #95855C;
                    transition: 0.5s opacity;

                    .sub-menu-wrap-container{
                        display: flex;
                        width: 80%;
                        margin: 0 auto;
                        flex-direction: row-reverse;
                        ul.sub-menu {
                            position: relative;

                            width: 40%;
                            max-width: 1400px;
                            /*margin: 0 auto;*/
                            border-top: none;
                            background: none;
                            box-shadow: none;
                            display: flex;
                            flex-direction: column;
                            li{
                                a{
                                    display: inline-block;
                                    width: auto;
                                    padding: 10px 0;
                                }
                            }
                        }
                        .side-deco-menu{
                            /*width: 60%;*/
                            display: flex;
                            flex-direction: column;
                            justify-content: center;
                            align-items: center;
                            gap: 21px;
                            img{
                                width: 644.8px;
                                object-fit: cover;
                                object-position: top;
                                height: 364px;
                                clip-path: url(#ovale);
                                @media screen and (max-width: 1500px) {
                                    width: 462px;
                                    height: 261px;
                                }

                            }

                        }
                    }

                }
                &.et-hover{
                    .sub-menu-wrap, .sub-menu{
                        transition: 0.5s opacity;
                        opacity: 1;
                        visibility: visible;
                        a{
                            transition: 0.5s all;
                            &:hover{
                                font-weight: bold;
                            }
                        }
                    }
                }

            }
        }
       .mobile_nav{
            &.opened{
                .mobile_menu_bar:before{
                    content:"M";
                }
            }
            .mobile_menu_bar{
                padding: 12px 0 ;
                &:before{
                    color: #1a3d49;
                }
            }
            ul#mobile_menu{
                height: 100vh;
                overflow-y: scroll;
                background: #fff;
                border: none;
                padding: 5% 0 180px;
                & > li{
                    &.menu-item-has-children{
                        text-align: center;
                        & > .menu-item{
                            position: relative;
                            display: inline-block;

                            &:after{
                                content:"\33";
                                font-family: ETmodules;
                                position: absolute;
                                right: -20px;
                                font-size: 30px;
                                top: 50%;
                                transform: translateY(-50%);
                            }
                            &.dt-open{
                                &:after{
                                    transform: translateY(-50%) rotate(180deg);
                                }
                            }
                        }

                        .sub-menu-wrap{
                            position: relative;
                            &:before{
                                content:"";
                                width: 100%;
                                height: 100%;
                                position: absolute;
                                top: 0;
                                left: 0;
                                opacity: 0.2;
                                background-color: #1a3d49;
                                z-index: -1;
                            }
                            .sub-menu{
                                padding: 15px 0;
                                li{
                                    padding: 0;
                                    a{
                                        padding: 0 5%;
                                        text-transform: none;
                                    }
                                }
                            }
                        }
                    }

                    a, .menu-item{
                        padding: 10px 5%;
                        text-align: center;
                        border: none;
                        font-family: Albert Sans;
                        font-size: 20px;
                        font-weight: 300;
                        font-stretch: normal;
                        font-style: normal;
                        line-height: 2.55;
                        letter-spacing: normal;
                        color: #1a3d49;
                        text-transform: uppercase;
                    }
                    .side-deco-menu{
                        display: none;
                    }

                }

                .mobile_menu_footer{
                    margin-top: 50px;
                    display: flex;
                    flex-direction: column;
                    align-items: center;
                    width: 100%;
                    .socials{
                        display: flex;
                        width: 50%;
                        justify-content: center;
                        gap: 2.666%;
                        margin-bottom: 45px;
                        .et-social-icon{
                            width: 23%;
                            text-align: center;
                            a{
                                font-size: 33px;
                                color: #1a3d49;
                            }
                        }
                    }
                    .copyright{
                        width: 100%;
                        font-family: Albert Sans;
                        font-size: 18px;
                        font-weight: 300;
                        text-align: center;
                        color: #1a3d49;
                        margin-bottom: 21px;
                    }
                    .partenaires{
                        display: flex;
                        justify-content: center;
                        gap:25px;
                        margin-bottom: 90px;
                        img{
                            max-width: 88px;
                            height: auto;
                            object-fit: contain;
                        }
                    }
                }
            }
        }

    }

    &.et-fixed-header{
        ul#top-menu {
            & > li {
                & > a {
                    padding: 20px 20px 20px 0 !important;
                }
            }
        }
    }
        .additionnal__container{
            width: 45%;
            display: flex;
            justify-content: flex-end;
            align-items: center;
            gap: 20px;
            font-family: Termina;
            font-size: 16px;
            font-weight: 500;
            font-stretch: normal;
            font-style: normal;
            line-height: 1.38;
            letter-spacing: normal;
            text-align: center;
            color: #fff8f8;
            text-transform: uppercase;

            .et_pb_module{
                margin-bottom: 0;
            }

            button.button{
                background: transparent;
                border: none;
                font-family: Termina;
                font-size: 16px;
                font-weight: 500;
                font-stretch: normal;
                font-style: normal;
                line-height: 1.38;
                letter-spacing: normal;
                text-align: center;
                color: #fff8f8;
                text-transform: uppercase;
                cursor: pointer;
            }

            .social__icons{
                margin-bottom: 0;
                .et_pb_code_inner{
                    display: flex;
                    gap: 20px;
                    a{
                        img{
                            max-width: 22px;
                            max-height: 22px;
                            object-fit: contain;
                        }
                    }
                }
            }
        }
    }


footer {
    &.et-l--footer {
        &.fixed {
            position: fixed;
            width: 100%;
            bottom: 0;
            left: 0;
            z-index: 0;
        }
    }
}

h2{
    padding-bottom: 10px;
    line-height: 1em;
    font-family: 'Albert Sans', Arial, sans-serif !important;
    font-weight: 600;
    text-transform: uppercase;
    font-size: var(--gvid-xemqocnda4);
    text-align: center;
}

h3{
    font-family: 'Albert Sans', Arial, sans-serif !important;
}

/*CODE CSS POUR SPOTLIGHT LIGHT EFFECT SUR TEXTE*/

.spotlight-text {
    position: relative;
    display: inline-block;
    cursor: default;
    user-select: none;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    color: var(--synex-black) !important;
    font-size: clamp(3rem, 8vw, 8rem);
    --mouse-x: 50%;
    --mouse-y: 50%;
    z-index: 0;

    &::before {
        content: attr(data-text);
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: radial-gradient(
                circle 120px at var(--mouse-x, 50%) var(--mouse-y, 50%),
                var(--spotlight-color-primary) 0%,
                var(--synex-brown-alpha-70) 15%,
                var(--synex-brown-alpha-50) 35%,
                var(--synex-brown-alpha-20) 55%,
                transparent 75%
        );
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        opacity: 0;
        transition: all var(--transition-fast) ease-out;
        pointer-events: none;
        z-index: 1;
    }

    &::after {
        content: attr(data-text);
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: radial-gradient(
                circle 60px at var(--mouse-x, 50%) var(--mouse-y, 50%),
                var(--spotlight-color-primary) 0%,
                #98855ccc 20%,
                var(--synex-brown-alpha-50) 40%,
                transparent 70%
        );
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        opacity: 0;
        transition: opacity var(--transition-fast) ease;
        pointer-events: none;
        z-index: 2;
    }

    &:hover {
        &::before,
        &::after {
            opacity: 1;
        }
    }

    /* Responsive */
    @media (max-width: 768px) {
        font-size: clamp(2rem, 10vw, 4rem);

        &::before {
            background: radial-gradient(
                    circle 80px at var(--mouse-x, 50%) var(--mouse-y, 50%),
                    var(--spotlight-color-primary) 0%,
                    var(--synex-brown-alpha-70) 15%,
                    var(--synex-brown-alpha-50) 35%,
                    var(--synex-brown-alpha-20) 55%,
                    transparent 75%
            );
        }

        &::after {
            background: radial-gradient(
                    circle 40px at var(--mouse-x, 50%) var(--mouse-y, 50%),
                    var(--spotlight-color-primary) 0%,
                    #98855ccc 20%,
                    var(--synex-brown-alpha-50) 40%,
                    transparent 70%
            );
        }
    }

    @media (max-width: 480px) {
        &::before {
            background: radial-gradient(
                    circle 60px at var(--mouse-x, 50%) var(--mouse-y, 50%),
                    var(--spotlight-color-primary) 0%,
                    var(--synex-brown-alpha-70) 15%,
                    var(--synex-brown-alpha-50) 35%,
                    var(--synex-brown-alpha-20) 55%,
                    transparent 75%
            );
        }

        &::after {
            background: radial-gradient(
                    circle 30px at var(--mouse-x, 50%) var(--mouse-y, 50%),
                    var(--spotlight-color-primary) 0%,
                    #98855ccc 20%,
                    var(--synex-brown-alpha-50) 40%,
                    transparent 70%
            );
        }
    }

    /* Masque pour limiter l'effet aux contours du texte */
    overflow: visible; /* Permet au texte d'être visible */
}

/* Override des styles Divi qui pourraient interférer */
.et_pb_text_inner .spotlight-text {
    color: var(--synex-black) !important;
    opacity: 1 !important;
}

.et_pb_text .spotlight-text {
    color: var(--synex-black) !important;
}

/*FIN DU CODE CSS POUR SPOTLIGHT LIGHT EFFECT SUR TEXTE*/

/*CODE CSS POUR TESTIMONIALS BLOC SUR PAGE ACCUEIL*/

.synex-testimonials {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-xl);
    padding: var(--spacing-xxl) var(--spacing-lg);
    max-width: var(--bp-large);
    margin: 0 auto;
}

.synex-testimonial {
    background: var(--synex-white);
    padding: var(--spacing-xl);
    box-shadow: var(--synex-shadow-medium);
    position: relative;
}

.synex-testimonial-content {
    margin-bottom: 25px;

    p {
        font-size: var(--font-lg);
        line-height: 1.6;
        color: var(--synex-dark-gray);
        font-style: italic;
        margin: 0;
        position: relative;

        &::before {
            content: '"';
            font-size: 3rem;
            color: var(--synex-brown);
            position: absolute;
            top: -20px;
            left: -20px;
        }

        &::after {
            content: '"';
            font-size: 3rem;
            color: var(--synex-brown);
            position: absolute;
            bottom: -50px;
            right: -15px;
        }
    }
}

.synex-testimonial-author-info {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    margin-top: 25px;
}

.synex-testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-round);
    background-size: cover;
    background-position: center;
    border: 1px solid var(--synex-brown);
    flex-shrnk: 0;
}

.synex-testimonial-details {
    flex: 1;
}

.synex-testimonial-name {
    font-weight: bold;
    color: var(--synex-blue);
    font-size: var(--font-lg);
    margin-bottom: var(--spacing-xs);
}

.synex-testimonial-company {
    color: var(--synex-gray);
    font-size: var(--font-sm);
    line-height: 1.4;
}

/* Version responsive */
@media (max-width: 768px) {
    .synex-testimonials {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
        padding: var(--spacing-lg) var(--spacing-sm);
    }

    .synex-testimonial {
        padding: 25px;

        .synex-testimonial-content p {
            font-size: var(--font-base);
        }
    }

    .synex-testimonial-avatar {
        width: 50px;
        height: 50px;
    }
}

/*FIN DU CODE CSS POUR TESTIMONIALS BLOC SUR PAGE ACCUEIL*/

/* CODE CSS POUR PRESENTATION MISSIONS BLOC SUR PAGE ACCUEIL*/

.synex-services-container {
    display: flex !important;
    justify-content: center;
    gap: 30px !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
    flex-wrap: wrap;
}

.synex-service-item {
    text-align: center;
    cursor: pointer;
    text-decoration: none !important;
    color: inherit !important;
    flex: 1;
    min-width: 180px;
    max-width: 220px;
    background: transparent !important;
    box-shadow: none;
    border: none;
    padding: 0 !important;
    display: block !important;
}

.synex-service-icon {
    width: 140px !important;
    height: 140px !important;
    margin: 0 auto 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.4s ease;
    border: 1px solid var(--synex-white);

    &::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 80px;
        height: 80px;
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
        transition: all 0.4s ease;
        z-index: 2;
    }
}

#service-comptabilite .synex-service-icon::before {
    background-image: url('https://synex.defacto.ovh/wp-content/uploads/2025/08/synex-comptabilite-picto-blanc.png');
}

#service-juridique .synex-service-icon::before {
    background-image: url('https://synex.defacto.ovh/wp-content/uploads/2025/08/synex-juridique-fiscalite-picto-blanc.png');
}

#service-conseil .synex-service-icon::before {
    background-image: url('https://synex.defacto.ovh/wp-content/uploads/2025/08/synex-conseil-gestion-picto-blanc.png');
}

#service-social .synex-service-icon::before {
    background-image: url('https://synex.defacto.ovh/wp-content/uploads/2025/08/synex-social-picto-blanc.png');
}

#service-informatique .synex-service-icon::before {
    background-image: url('https://synex.defacto.ovh/wp-content/uploads/2025/08/synex-informatique-picto-blanc.png');
}

#service-comptabilite {
    &:hover .synex-service-icon {
        transform: scale(1.05);
        background: radial-gradient(circle at center, var(--synex-brown) 0%, var(--synex-brown-dark) 35%, var(--synex-blue) 70%, var(--synex-blue-light) 100%);
    }
}

#service-juridique {
    &:hover .synex-service-icon {
        transform: scale(1.05);
        background: radial-gradient(circle at 30% 30%, var(--synex-blue-light) 0%, var(--synex-blue) 40%, var(--synex-brown) 75%, var(--synex-brown-dark) 100%);
        box-shadow: 0 0 20px rgba(152, 133, 92, 0.5);
    }
}

#service-conseil {
    &:hover .synex-service-icon {
        transform: scale(1.05);
        background: radial-gradient(circle at 70% 70%, var(--synex-brown-light) 0%, var(--synex-brown) 30%, var(--synex-blue) 65%, var(--synex-blue-dark) 100%);
    }
}

#service-social {
    &:hover .synex-service-icon {
        transform: scale(1.05);
        background: radial-gradient(circle at 60% 20%, var(--synex-blue) 0%, var(--synex-blue-light) 25%, var(--synex-brown) 60%, var(--synex-brown-light) 100%);
    }
}

#service-informatique {
    &:hover .synex-service-icon {
        transform: scale(1.05);
        background: radial-gradient(circle at 20% 80%, var(--synex-brown-dark) 0%, var(--synex-brown) 35%, var(--synex-blue-light) 70%, var(--synex-blue) 100%);
    }
}

.synex-service-content {
    position: relative;
    z-index: 2;
}

.synex-service-title {
    font-size: 1.2rem !important;
    font-weight: bold !important;
    color: var(--synex-white) !important;
    margin-bottom: 12px !important;
    transition: color 0.3s ease;
}

.synex-service-description {
    font-size: 0.9rem !important;
    color: var(--synex-white);
    line-height: 1.5 !important;
}

@media (max-width: 1200px) {
    .synex-services-container {
        gap: 20px;
    }

    .synex-service-item {
        min-width: 160px;
        max-width: 200px;
    }

    .synex-service-icon {
        width: 80px;
        height: 80px;
    }

    .synex-service-icon::before {
        width: 50px;
        height: 50px;
    }
}

@media (max-width: 992px) {
    .synex-services-container {
        justify-content: center;
    }

    .synex-service-item {
        flex: 0 0 calc(33.333% - 20px);
        min-width: 140px;
        max-width: 180px;
    }
}

@media (max-width: 768px) {
    .synex-services-container {
        gap: 15px;
    }

    .synex-service-item {
        flex: 0 0 calc(50% - 15px);
        min-width: 120px;
        max-width: 160px;
    }

    .synex-service-icon {
        width: 70px;
        height: 70px;
    }

    .synex-service-icon::before {
        width: 40px;
        height: 40px;
    }

    .synex-service-title {
        font-size: 1rem;
    }

    .synex-service-description {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .synex-services-container {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }

    .synex-service-item {
        flex: none;
        width: 100%;
        max-width: 200px;
    }

    .synex-service-icon {
        width: 80px;
        height: 80px;
    }

    .synex-service-icon::before {
        width: 50px;
        height: 50px;
    }
}

/*FIN CODE CSS POUR PRESENTATION MISSIONS BLOC SUR PAGE ACCUEIL*/

/*CODE CSS POUR IMAGE TAILLE FIXE AVEC OVERFLOW - BLOC CHOISIR SYNEX*/

.choisir-synex {
    .et_pb_main_blurb_image {
        width: 400px;
        height: 225px;
        overflow: hidden;
        position: relative;
        margin: 0 auto 20px;

        @media (max-width: 768px) {
            width: 100%;
            height: 250px;
            max-width: 350px;
        }

        @media (max-width: 480px) {
            height: 200px;
            max-width: 300px;
        }

        .et_pb_image_wrap {
            width: 100%;
            height: 100%;
            display: block;

            img {
                width: 100%;
                height: 100%;
                object-fit: cover;
                object-position: center;
                display: block;
                transition: transform 0.3s ease;
            }
        }
    }
}

/*FIN DU CODE CSS POUR IMAGE TAILLE FIXE AVEC OVERFLOW*/

/*CODE CSS POUR PARALLAX LOGO SYNEX*/

/* Container parallax avec overlay pour le logo */
.parallax-synex {
    position: relative;
    overflow: hidden;

    /* Container du logo en background à gauche */
    .synex-logo-parallax {
        position: absolute;
        bottom: 0px;
        left: 80px;
        width: 525px;
        height: 525px;
        z-index: 0;
        pointer-events: none;
        opacity: 0.4;
        transition: transform 0.1s linear;

        @media (max-width: 768px) {
            left: 15px;
            width: 300px;
            height: 300px;
            opacity: 0.3;
            bottom: -60px;
        }

        @media (max-width: 480px) {
            left: 8px;
            width: 225px;
            height: 225px;
            opacity: 0.2;
            bottom: -45px;
        }
    }

    /* Éléments du logo avec vraies images */
    .logo-piece {
        position: absolute;
        opacity: 0;
        transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;

        &.bar-1 {
            width: 93px;
            height: 243px;
            background-image: url('https://synex.defacto.ovh/wp-content/uploads/2025/08/synex-logo-barre1.png');
            left: 98px;
            top: 159px;
            transform: translateY(100px);
        }

        &.bar-2 {
            width: 105px;
            height: 315px;
            background-image: url('https://synex.defacto.ovh/wp-content/uploads/2025/08/synex-logo-barre2.png');
            left: 198px;
            top: 105px;
            transform: translateY(100px);
        }

        &.bar-3 {
            width: 105px;
            height: 368px;
            background-image: url('https://synex.defacto.ovh/wp-content/uploads/2025/08/synex-logo-barre3.png');
            left: 303px;
            top: 53px;
            transform: translateY(100px);
        }

        &.circle {
            width: 473px;
            height: 473px;
            background-image: url('https://synex.defacto.ovh/wp-content/uploads/2025/08/synex-logo-cercle.png');
            left: -39px;
            top: 27px;
            transform: scale(0.8);
        }

        /* États animés */
        &.animate-1 {
            opacity: 1;
            transform: translateY(0);
        }

        &.animate-2 {
            opacity: 1;
            transform: translateY(0);
            transition-delay: 0.1s;
        }

        &.animate-3 {
            opacity: 1;
            transform: translateY(0);
            transition-delay: 0.2s;
        }

        &.animate-circle {
            opacity: 1;
            transform: rotate(0deg) scale(1);
            transition-delay: 0.5s;
            transition-duration: 0.5s;
        }
    }

    /* S'assurer que le contenu reste au-dessus */
    .et_pb_row {
        position: relative;
        z-index: 2;
    }
}

/*FIN DU CODE CSS POUR PARALLAX LOGO SYNEX*/

/*CODE CSS POUR PARALLAX BARRES DROITE*/

.synex-parallax-2 {
    position: relative;
    overflow: visible;

    .synex-bars-parallax {
        position: absolute;
        bottom: -100px;
        right: 150px;
        width: 350px;
        height: 300px;
        z-index: 0;
        pointer-events: none;
        opacity: 0.6;

        @media (max-width: 768px) {
            right: 20px;
            width: 250px;
            height: 220px;
            opacity: 0.4;
        }

        @media (max-width: 480px) {
            right: 10px;
            width: 180px;
            height: 160px;
            opacity: 0.3;
        }
    }

    .bar-piece {
        position: absolute;
        bottom: 0;
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center bottom;
        transition: transform 0.1s linear;

        &.bar-right-1 {
            width: 120px;
            height: 300px;
            background-image: url('https://synex.defacto.ovh/wp-content/uploads/2025/08/synex-logo-barre1.png');
            left: 30px;
        }

        &.bar-right-2 {
            width: 135px;
            height: 375px;
            background-image: url('https://synex.defacto.ovh/wp-content/uploads/2025/08/synex-logo-barre2.png');
            left: 185px;
        }

        &.bar-right-3 {
            width: 135px;
            height: 450px;
            background-image: url('https://synex.defacto.ovh/wp-content/uploads/2025/08/synex-logo-barre3.png');
            left: 345px;
        }
    }

    .et_pb_row {
        position: relative;
        z-index: 2;
    }
}

/*FIN DU CODE CSS POUR PARALLAX BARRES DROITE*/

/*CODE CSS FOOTER SYNEX*/
footer{
    .synex-footer-bloc {
        color: var(--synex-white);
    }

    .synex-footer-title {
        font-size: var(--font-lg);
        font-weight: bold;
        color: var(--synex-white) !important;
        margin-bottom: var(--spacing-lg);
        padding-bottom: var(--spacing-sm);
        border-bottom: 2px solid var(--synex-brown);
        position: relative;
    }

    .synex-footer-links {
        list-style: none;
        padding: 0;
        margin: 0;

        li {
            margin-bottom: var(--spacing-sm);
            list-style-type: none;

            a {
                color: var(--synex-white) !important;
                text-decoration: none;
                transition: color var(--transition-fast);
                font-size: var(--font-base);

                &:hover {
                    color: var(--synex-brown) !important;
                }
            }
        }
    }

    .synex-footer-follow {
        .synex-footer-logo {
            margin-bottom: var(--spacing-lg);

            img {
                width: 220px;
                height: auto;
            }
        }

        .synex-footer-social {
            display: flex;
            gap: var(--spacing-md);
            margin-bottom: var(--spacing-lg);

            .social-link {
                width: 40px;
                height: 40px;
                background: var(--synex-brown);
                border-radius: var(--radius-small);
                display: flex;
                align-items: center;
                justify-content: center;
                color: var(--synex-white) !important;
                text-decoration: none;
                transition: all var(--transition-fast);

                &:hover {
                    background: var(--synex-brown-light);
                    color: var(--synex-brown) !important;
                    transform: translateY(-2px);
                }

                svg {
                    width: 20px;
                    height: 20px;
                }
            }
        }

        .synex-footer-newsletter{
            display: flex;
            flex-direction: column;
            gap: var(--spacing-sm);

            .newsletter-input {
                padding: var(--spacing-sm) var(--spacing-md);
                border: 1px solid var(--synex-brown);
                border-radius: var(--radius-small);
                background: transparent;
                color: var(--synex-white);
                font-size: var(--font-base);

                &::placeholder {
                    color: var(--synex-gray-light);
                }

                &:focus {
                    outline: none;
                    border-color: var(--synex-brown-light);
                }
            }

            .newsletter-btn {
                padding: var(--spacing-sm) var(--spacing-lg);
                background: var(--synex-brown);
                color: var(--synex-white);
                border: none;
                border-radius: var(--radius-small);
                cursor: pointer;
                font-weight: bold;
                transition: background var(--transition-fast);

                &:hover {
                    background: var(--synex-brown-light);
                    color: var(--synex-brown);
                }
            }

            .tnp.tnp-subscription{
                .tnp-field {
                    &.tnp-field-email {
                        label{
                            display: none;
                        }
                        .tnp-email{
                            padding: var(--spacing-sm) var(--spacing-md);
                            border: 1px solid var(--synex-brown);
                            border-radius: var(--radius-small);
                            background: transparent;
                            color: var(--synex-white);
                            font-size: var(--font-base);

                            &::placeholder {
                                color: var(--synex-gray-light);
                            }

                            &:focus {
                                outline: none;
                                border-color: var(--synex-brown-light);
                            }
                        }
                    }
                    &.tnp-field-button .tnp-submit{
                        padding: var(--spacing-sm) var(--spacing-lg);
                        background: var(--synex-brown);
                        color: var(--synex-white);
                        border: none;
                        border-radius: var(--radius-small);
                        cursor: pointer;
                        width: 100%;
                        font-weight: bold;
                        transition: background var(--transition-fast);

                        &:hover {
                            background: var(--synex-brown-light);
                            color: var(--synex-brown);
                        }
                    }
                }
            }
        }
    }

    @media (max-width: 768px) {
        .synex-footer-newsletter {
            .newsletter-input,
            .newsletter-btn {
                font-size: var(--font-sm);
                padding: var(--spacing-xs) var(--spacing-sm);
            }
        }

        .synex-footer-social {
            .social-link {
                width: 35px;
                height: 35px;

                svg {
                    width: 18px;
                    height: 18px;
                }
            }
        }
    }

    .bloc-footer {
        display: flex;
        justify-content: space-between;
        align-items: center;
        color: var(--synex-white);
        flex-wrap: wrap;
        gap: var(--spacing-md);
    }

    .bloc-footer span {
        color: var(--synex-white);
    }

    .bloc-footer a {
        color: var(--synex-white) !important;
        text-decoration: none;
        transition: color var(--transition-fast);

        &:hover {
            color: var(--synex-brown) !important;
        }
    }

    /* Responsive */
    @media (max-width: 768px) {
        .bloc-footer {
            flex-direction: column;
            text-align: center;
            gap: var(--spacing-sm);
        }
    }

}

/*FIN CODE CSS FOOTER SYNEX*/

/* CSS PLAN DU SITE SYNEX */

.section-sitemap .wsp-container {
    max-width: var(--bp-large);
    margin: 0 auto;
    padding: var(--spacing-xl);
}

/* Titres des sections */
.wsp-pages-title,
.wsp-posts-title,
.wsp-agencess-title {
    color: var(--synex-blue);
    font-size: var(--font-xl);
    margin-bottom: var(--spacing-lg);
    padding-bottom: var(--spacing-sm);
    border-bottom: 2px solid var(--synex-brown);
    font-weight: bold;
}

/* Listes principales */
.wsp-pages-list,
.wsp-posts-list,
.wsp-agencess-list {
    list-style-type: none !important;
    padding: 0;
    margin: 0 0 var(--spacing-xxl) 0;
}

/* Items de liste */
.wsp-pages-list li,
.wsp-agencess-list li {
    margin-bottom: var(--spacing-sm);
}

.wsp-posts-list > li {
    margin-bottom: var(--spacing-lg);
}

/* Liens */
.wsp-container a {
    color: var(--synex-dark-gray);
    text-decoration: none;
    font-size: var(--font-base);
    transition: color var(--transition-fast);
    display: inline-block;
    padding: var(--spacing-xs) 0;
}

.wsp-container a:hover {
    color: var(--synex-brown);
}

/* Titre de catégorie */
.wsp-category-title {
    color: var(--synex-blue);
    font-size: var(--font-lg);
    margin-bottom: var(--spacing-md);
    display: block;
}

.wsp-category-title a {
    color: var(--synex-blue);
    font-weight: bold;
}

.wsp-category-title a:hover {
    color: var(--synex-brown);
}

/* Sous-listes d'articles */
.wsp-posts-list .wsp-posts-list {
    margin-left: var(--spacing-lg);
    margin-top: var(--spacing-md);
    margin-bottom: 0;
}

.wsp-posts-list .wsp-posts-list li {
    margin-bottom: var(--spacing-xs);
    position: relative;
}

/* Page actuelle */
.current_page_item a {
    color: var(--synex-brown);
    font-weight: bold;
}

/* Responsive */
@media (max-width: 768px) {
    .section-sitemap .wsp-container {
        padding: var(--spacing-lg) var(--spacing-sm);
    }

    .wsp-pages-title,
    .wsp-posts-title,
    .wsp-agencess-title {
        font-size: var(--font-lg);
    }

    .wsp-posts-list .wsp-posts-list {
        margin-left: var(--spacing-md);
    }
}

/* FIN DU CODE CSS PLAN DU SITE SYNEX */

/* CODE CSS POUR FORMULAIRE DE CONTACT SYNEX - VERSION MODIFIÉE */

/* Container principal */
.wpcf7 {
    max-width: 800px;
    margin: 0 auto;
    padding: var(--spacing-sm) var(--spacing-xxl);
}

/* Formulaire */
.wpcf7-form {
    display: flex;
    flex-direction: column;
}

/* NOUVELLE SECTION - Ligne avec 2 colonnes 50/50 */
.synex-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    width: 100%;
}

.synex-form-col-50 {
    width: 100%;

    label {
        display: block;
        width: 100%;
    }

    .wpcf7-form-control {
        width: 100% !important;
    }
}

/* Labels */
.wpcf7-form label {
    display: block;
    font-weight: bold;
    color: var(--synex-blue);
    font-size: var(--font-base);
}

/* Champs de saisie */
.wpcf7-form-control.wpcf7-text,
.wpcf7-form-control.wpcf7-email,
.wpcf7-form-control.wpcf7-textarea,
.wpcf7-form-control.wpcf7-select {
    width: 100%;
    padding: var(--spacing-xs);
    border: 2px solid var(--synex-border-gray);
    border-radius: var(--radius-small);
    font-size: var(--font-base);
    color: var(--synex-dark-gray);
    background: var(--synex-white);
    transition: all var(--transition-fast);
    font-family: inherit;
    box-sizing: border-box;
}

/* Focus states */
.wpcf7-form-control.wpcf7-text:focus,
.wpcf7-form-control.wpcf7-email:focus,
.wpcf7-form-control.wpcf7-textarea:focus,
.wpcf7-form-control.wpcf7-select:focus {
    outline: none;
    border-color: var(--synex-brown);
    box-shadow: 0 0 0 3px var(--synex-brown-alpha-20);
}

/* Textarea spécifique */
.wpcf7-form-control.wpcf7-textarea {
    min-height: 120px;
    resize: vertical;
    height: 160px;
}

/* Select */
.wpcf7-form-control.wpcf7-select {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%23767776' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
    background-position: right var(--spacing-sm) center;
    background-repeat: no-repeat;
    background-size: 16px;
    padding-right: var(--spacing-xxl);
    appearance: none;
}

/* Bouton submit */
.wpcf7-form-control.wpcf7-submit {
    align-self: flex-start;
    background: var(--synex-blue);
    color: var(--synex-white);
    border: 1px solid var(--synex-white);
    padding: var(--spacing-lg) var(--spacing-xxl);
    border-radius: var(--radius-small);
    font-size: var(--font-lg);
    font-weight: bold;
    cursor: pointer;
    transition: all var(--transition-fast);
    position: relative;
    overflow: hidden;

    &:hover {
        color: var(--synex-blue-dark);
        background: var(--synex-white);
        border: 1px solid var(--synex-blue);
    }

    &:active {
        transform: translateY(0);
    }
}

/* Spinner de chargement */
.wpcf7-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    margin-left: var(--spacing-sm);
    border: 2px solid var(--synex-white);
    border-top: 2px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    opacity: 0;
    transition: opacity var(--transition-fast);
}

.wpcf7-form.submitting .wpcf7-spinner {
    opacity: 1;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Messages de validation */
.wpcf7-response-output {
    padding: var(--spacing-lg);
    border-radius: var(--radius-small);
    font-weight: bold;
    margin-top: var(--spacing-lg);
}

/* Message de succès */
.wpcf7-mail-sent-ok {
    background: var(--synex-success-light);
    color: var(--synex-success);
    border: 1px solid var(--synex-success);
}

/* Message d'erreur */
.wpcf7-validation-errors,
.wpcf7-mail-sent-ng {
    background: var(--synex-danger-light);
    color: var(--synex-danger);
    border: 1px solid var(--synex-danger);
}

/* Message de spam */
.wpcf7-spam-blocked {
    background: var(--synex-warning-light);
    color: var(--synex-warning);
    border: 1px solid var(--synex-warning);
}

/* Champs invalides */
.wpcf7-form-control.wpcf7-not-valid {
    border-color: var(--synex-danger);
    box-shadow: 0 0 0 3px var(--synex-danger-light);
}

/* Messages d'erreur individuels */
.wpcf7-not-valid-tip {
    color: var(--synex-danger);
    font-size: var(--font-sm);
    margin-top: var(--spacing-xs);
    display: block;
}

/* Wrapper des champs */
.wpcf7-form-control-wrap {
    display: block;
    position: relative;

    &::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 2px;
        background: linear-gradient(90deg, var(--synex-blue) 0%, var(--synex-brown) 100%);
        opacity: 0;
        transition: opacity var(--transition-fast);
        border-radius: var(--radius-small) var(--radius-small) 0 0;
    }
}

.wpcf7-form-control:focus + .wpcf7-form-control-wrap::before {
    opacity: 1;
}

/* Paragraphes du formulaire */
.wpcf7-form p {
    margin: 0;
    padding: 0;
    animation: fadeInUp 0.6s ease-out forwards;
    opacity: 0;
    transform: translateY(20px);

    &:nth-child(1) { animation-delay: 0.1s; }
    &:nth-child(2) { animation-delay: 0.2s; }
    &:nth-child(3) { animation-delay: 0.3s; }
    &:nth-child(4) { animation-delay: 0.4s; }
    &:nth-child(5) { animation-delay: 0.5s; }
    &:nth-child(6) { animation-delay: 0.6s; }
}

/* États disabled */
.wpcf7-form-control:disabled {
    background: var(--synex-light-gray);
    color: var(--synex-gray);
    cursor: not-allowed;
    opacity: 0.6;
}

/* Animation d'apparition */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .wpcf7 {
        padding: var(--spacing-xl) var(--spacing-lg);
        margin: var(--spacing-lg);
    }

    .wpcf7-form {
        gap: var(--spacing-lg);
    }

    /* Passage en colonne sur mobile */
    .synex-form-row {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }

    .wpcf7-form-control.wpcf7-submit {
        width: 100%;
        padding: var(--spacing-lg);
        font-size: var(--font-base);
    }
}

@media (max-width: 480px) {
    .wpcf7 {
        padding: var(--spacing-lg);
        margin: var(--spacing-sm);
        border-radius: var(--radius-small);
    }

    .synex-form-row {
        gap: var(--spacing-sm);
    }

    .wpcf7-form-control.wpcf7-text,
    .wpcf7-form-control.wpcf7-email,
    .wpcf7-form-control.wpcf7-textarea,
    .wpcf7-form-control.wpcf7-select {
        padding: var(--spacing-sm);
        font-size: var(--font-sm);
    }

    .wpcf7-form-control.wpcf7-textarea {
        min-height: 100px;
    }
}

/* FIN DU CODE CSS POUR FORMULAIRE DE CONTACT SYNEX */

/* CODE CSS POUR BLOC AGENCES DE PAGE CONTACT */

.synex-contact-agences {
    background: transparent;
    padding: var(--spacing-lg);
    border-radius: var(--radius-small);
}

.agence-item {
    margin-bottom: var(--spacing-lg);
}

.agence-nom {
    color: var(--synex-blue);
    font-size: var(--font-lg);
    font-weight: bold;
    text-align: center;
}

.agence-contacts {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    align-items: center;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-size: var(--font-sm);
}

.contact-icon {
    color: var(--synex-brown);
    flex-shrink: 0;
}

.contact-item a {
    color: var(--synex-dark-gray);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.contact-item a:hover {
    color: var(--synex-blue);
}

.agence-separator {
    height: 1px;
    background: var(--synex-brown-alpha-30);
    margin: var(--spacing-lg) 0;
    width: 60%;
    margin-left: auto;
    margin-right: auto;
}

/* Responsive*/
@media (max-width: 480px) {
    .synex-contact-agences {
        padding: var(--spacing-md);
    }

    .agence-nom {
        font-size: var(--font-base);
    }

    .contact-item {
        font-size: var(--font-xs);
    }

    .contact-icon {
        width: 14px;
        height: 14px;
    }
}


.ourworks__container{
    display: flex;
    width: 100%;
    @media screen and (max-width: 980px){
        flex-direction: column;
    }
    .ourwork{
        width: 20%;
        height: 500px;
        background-size: cover;
        background-position:center;
        position: relative;
        transition: 0.5s all;
        @media screen and (max-width: 980px){
            width: 100%;
            height: 150px;
        }
        &.active{
            width: 40%;
            @media screen and (max-width: 980px){
                width: 100%;
                height: 150px;
            }
        }

        .text{
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            position: absolute;
            font-family: "Albert Sans";
            font-weight: 700;
            text-transform: uppercase;
            color: #e8e8e8 !important;
            font-size: 20px;
            line-height: 1.1;
            text-align: center;
            text-shadow: 0em 0em 0.3em rgba(0, 0, 0, 0.4);
        }
    }
}

/*
Single post
*/
.single-post{
    #main-content{
        .container{
            &:before{
                display: none;
            }
        }
    }
}


/*
404 Error
 */
#main-content:has(.not_found){
    position: relative;
    z-index: 1;
    background: transparent;
    .not_found{
        min-height: 90svh;
        text-align: center;
        background-color: #fff;
        align-content: center;
        margin-bottom: 0 !important;
        h1.not-found-title{
            font-size: 40px ;
        }
    }
}

/*
Tarte au citron
 */
html body #tarteaucitronRoot.tarteaucitronBeforeVisible{
    z-index: 999999;
    &:before {
        content: "";
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 9998;
    }
    #tarteaucitronAlertBig {
        display: flex !important;
        flex-direction: column;
        max-width: 285px !important;
        @media screen and (max-width: 980px){
            max-width: 100% !important;
        }
        @media screen and (max-width: 600px) {
            width: 85%;
            padding: 20px 15px;
        }
        &:before{
            font-size: 26px !important;
            font-weight: 700 !important;
            padding-top: 20px !important;
            @media screen and (max-width: 600px) {
                font-size: 24px;
            }
        }
        #tarteaucitronPersonalize, #tarteaucitronPersonalize2,.tarteaucitronCTAButton,.tarteaucitronAllow {
            font-size: 18px !important;
            height: 40px !important;
            border-radius: 10px !important;
            border: 1px solid #F1F0F2;
        }

        #tarteaucitronPersonalize2 {
            order: 1;
            border-color: transparent;
            &:hover {
                opacity: 0.8;
            }
        }
        #tarteaucitronCloseAlert {
            order: 2;
            font-size: 18px !important;
            height: 40px !important;
            border-radius: 10px !important;
        }

        #tarteaucitronAllDenied2 {
            order: 3;
            border-color: #d9dce0;
        }

        #tarteaucitronPrivacyUrl{
            color: #ADADAD !important;
            text-decoration: underline;
            padding-top: 10px;
            order: 4;
            background: none;
            font-weight: 400;
            font-size: 12px !important;
            margin-top: 5px;
            width: auto;
            &:hover {
                opacity: 0.8;
            }
        }
        #tarteaucitronDisclaimerAlert {
            font-size: 17px !important;
            font-weight: 500 !important;
            margin-top: 20px !important;

            @media screen and (max-width: 600px) {
                font-size: 16px;
            }
        }
        #tarteaucitronCloseCross{
            font-size: 1rem !important;
            right: 6px !important;
        }
    }
}
