/********** Template CSS **********/
:root {
    --primary: #06457B;
    --secondary: #00a0a7;
    --light: #EEF9FF;
    --dark: #091E3E;
}


/*** Spinner ***/
.spinner {
    width: 40px;
    height: 40px;
    background: var(--primary);
    margin: 100px auto;
    -webkit-animation: sk-rotateplane 1.2s infinite ease-in-out;
    animation: sk-rotateplane 1.2s infinite ease-in-out;
}

@-webkit-keyframes sk-rotateplane {
    0% {
        -webkit-transform: perspective(120px)
    }
    50% {
        -webkit-transform: perspective(120px) rotateY(180deg)
    }
    100% {
        -webkit-transform: perspective(120px) rotateY(180deg) rotateX(180deg)
    }
}

@keyframes sk-rotateplane {
    0% {
        transform: perspective(120px) rotateX(0deg) rotateY(0deg);
        -webkit-transform: perspective(120px) rotateX(0deg) rotateY(0deg)
    }
    50% {
        transform: perspective(120px) rotateX(-180.1deg) rotateY(0deg);
        -webkit-transform: perspective(120px) rotateX(-180.1deg) rotateY(0deg)
    }
    100% {
        transform: perspective(120px) rotateX(-180deg) rotateY(-179.9deg);
        -webkit-transform: perspective(120px) rotateX(-180deg) rotateY(-179.9deg);
    }
}

#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Heading ***/
h1,
h2,
.fw-bold {
    font-weight: 800 !important;
}

h3,
h4,
.fw-semi-bold {
    font-weight: 700 !important;
}

h5,
h6,
.fw-medium {
    font-weight: 600 !important;
}

.style-h5 {
    font-weight: 600 !important;
    font-size: 1.5rem;
}


/*** Button ***/
.btn {
    font-family: 'Nunito', sans-serif;
    font-weight: 600;
    transition: .5s;
}

.btn-primary,
.btn-secondary {
    color: #FFFFFF;
    box-shadow: inset 0 0 0 50px transparent;
}

.btn-primary:hover {
    box-shadow: inset 0 0 0 0 var(--primary);
}

.btn-secondary:hover {
    box-shadow: inset 0 0 0 0 var(--secondary);
}

.btn-square {
    width: 36px;
    height: 36px;
}

.btn-sm-square {
    width: 30px;
    height: 30px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding-left: 0;
    padding-right: 0;
    text-align: center;
}


/*** Navbar ***/
.navbar-dark .navbar-nav .nav-link {
    font-family: 'Nunito', sans-serif;
    position: relative;
    margin-left: 25px;
    padding: 35px 0;
    color: #FFFFFF;
    font-size: 18px;
    font-weight: 600;
    outline: none;
    transition: .5s;
}

.sticky-top.navbar-dark .navbar-nav .nav-link {
    padding: 20px 0;
    color: var(--secondary);
}

.navbar-nav a {
    color: #fff;
}

.sticky-top .navbar-nav a {
    color: var(--secondary);
}

.navbar-brand {
    display: none;
}

.navbar-brand-display {
    display: block;
}

.sticky-top .navbar-brand {
    display: block;
}

.number {
    color: #fff;
    font-size: 1.8rem;
    font-weight: bold;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
    /*color: var(--secondary);*/
}

.navbar-dark .navbar-brand h1 {
    color: #FFFFFF;
}

.navbar-dark .navbar-toggler {
    color: var(--primary) !important;
    border-color: var(--primary) !important;
}



@media (max-width: 991.98px) {
    .sticky-top.navbar-dark {
        position: relative;
        background: #FFFFFF;
    }

    .navbar-dark .navbar-nav .nav-link,
    .navbar-dark .navbar-nav .nav-link.show,
    .sticky-top.navbar-dark .navbar-nav .nav-link {
        padding: 10px 0;
        color: var(--dark);
    }

    .navbar-dark .navbar-brand h1 {
        color: var(--primary);
    }

    .white-back-mobile {
        background-color: #fff;
    }

    .navbar-brand {
        display: block !important;
    }

    .navbar-dark .navbar-nav .show>.nav-link, .navbar-dark .navbar-nav .nav-link.active {
        color: var(--secondary);
    }
}

@media (min-width: 992px) {
    .navbar-dark {
        position: absolute;
        width: 100%;
        top: 0;
        left: 0;
        /*border-bottom: 1px solid rgba(256, 256, 256, .1);*/
        z-index: 999;
    }
    
    .sticky-top.navbar-dark {
        position: fixed;
        background: #FFFFFF;
    }

    .navbar-dark .navbar-nav .nav-link::before {
        position: absolute;
        content: "";
        width: 0;
        height: 2px;
        bottom: -1px;
        left: 50%;
        background: var(--secondary);
        transition: .5s;
    }

    .navbar-dark .navbar-nav .nav-link:hover::before,
    .navbar-dark .navbar-nav .nav-link.active::before {
        width: 100%;
        left: 0;
    }

    .navbar-dark .navbar-nav .nav-link.nav-contact::before {
        display: none;
    }

    .sticky-top.navbar-dark .navbar-brand h1 {
        color: var(--primary);
    }

    .calendly-badge-widget {
        top: 150px !important;
    }
}

.contact-div {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}


/*** Carousel ***/
.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(9, 30, 62, .7);
    z-index: 1;
}

@media (max-width: 576px) {
    .carousel-caption h5 {
        font-size: 14px;
        font-weight: 500 !important;
    }

    .carousel-caption h1 {
        font-size: 30px;
        font-weight: 600 !important;
    }

    .calendly-badge-widget {
        top: 100px !important;
        right: 10px !important;
        bottom: inherit !important;
    }

    .white-back-mobile {
        background-color: #fff;
    }

    #myVideo {
        display: none;
    }

    .home {
        background-image: url(../img/wallsweb_pc-tel-scan.jpg);
        background-repeat: no-repeat;
        background-position: center;
        height: 90vh !important;
        margin-top: 5rem !important;
    }

    .home_opacity {
        height: 100% !important;
        padding-right: 1rem !important;
        padding-left: 1rem !important;
        padding-bottom: 1rem !important;
    }

    .home_opacity p, .home_opacity h1 {
        line-height: 3rem !important;
    }

    .navbar-brand {
        display: block !important;
    }

    .navbar {
        position: fixed  !important;
        z-index: 9999 !important;
        left: 0 !important;
        right: 0 !important;
        top: 0 !important;
    }

    .navbar-dark .navbar-nav .show>.nav-link, .navbar-dark .navbar-nav .nav-link.active {
        color: var(--secondary);
    }

    .bg-header-technologies, .bg-header-packs, .bg-header-financement {
        height: 90vh;
        display: flex;
        align-items: center;
        margin-top: 3rem;
    }

}

.carousel-control-prev,
.carousel-control-next {
    width: 10%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
}

.white-back {
    background-color: #fff;
}

#myVideo {
    position: fixed;
    right: 0;
    top: 0;
    min-width: 100%;
    min-height: 100%;
    z-index: -1;
}

.home {
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: end;
    align-items: start;
    flex-direction: column;
    font-family: "Nunito", sans-serif;
    line-height: 1.2;
}

.home_opacity {
    opacity: 0.7;
    background-color: #06457B;
    width: 100%;
    height: 18rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding-right: 1rem;
    padding-left: 5rem;
    padding-bottom: 1rem;
}

.home_opacity p, .home_opacity h1 {
    width: 100% !important;
    justify-content: start !important;
    text-align: start !important;
    line-height: 4rem;
}

.home_opacity p {
    margin-bottom: -3rem !important;
}

.home p, .home h1 {
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.calendly-badge-content {
    background: #fff !important;
    color: #00a0a7 !important;
    border: 2px solid #00a0a7 !important;
}

/*** Section Title ***/
.section-title::before {
    position: absolute;
    content: "";
    width: 150px;
    height: 5px;
    left: 0;
    bottom: 0;
    background: var(--primary);
    border-radius: 2px;
}

.section-title.text-center::before {
    left: 50%;
    margin-left: -75px;
}

.section-title.section-title-sm::before {
    width: 90px;
    height: 3px;
}

.section-title::after {
    position: absolute;
    content: "";
    width: 6px;
    height: 5px;
    bottom: 0px;
    background: #FFFFFF;
    -webkit-animation: section-title-run 5s infinite linear;
    animation: section-title-run 5s infinite linear;
}

.section-title.section-title-sm::after {
    width: 4px;
    height: 3px;
}

.section-title.text-center::after {
    -webkit-animation: section-title-run-center 5s infinite linear;
    animation: section-title-run-center 5s infinite linear;
}

.section-title.section-title-sm::after {
    -webkit-animation: section-title-run-sm 5s infinite linear;
    animation: section-title-run-sm 5s infinite linear;
}

@-webkit-keyframes section-title-run {
    0% {left: 0; } 50% { left : 145px; } 100% { left: 0; }
}

@-webkit-keyframes section-title-run-center {
    0% { left: 50%; margin-left: -75px; } 50% { left : 50%; margin-left: 45px; } 100% { left: 50%; margin-left: -75px; }
}

@-webkit-keyframes section-title-run-sm {
    0% {left: 0; } 50% { left : 85px; } 100% { left: 0; }
}


/*** Service ***/
.service-item {
    position: relative;
    height: 300px;
    padding: 0 30px;
    transition: .5s;
}

.service-item .service-icon {
    margin-bottom: 30px;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    border-radius: 2px;
    transform: rotate(-45deg);
}

.service-item .service-icon i {
    transform: rotate(45deg);
}

.service-item a.btn {
    position: absolute;
    width: 60px;
    bottom: -48px;
    left: 50%;
    margin-left: -30px;
    opacity: 0;
}

.service-item:hover a.btn {
    bottom: -24px;
    opacity: 1;
}

.icocar {
    width: 60px !important;
    max-height: 80px !important;
}

/*** Testimonial ***/
.testimonial-carousel .owl-dots {
    margin-top: 15px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 15px;
    height: 15px;
    background: #DDDDDD;
    border-radius: 2px;
    transition: .5s;
}

.testimonial-carousel .owl-dot.active {
    width: 30px;
    background: var(--primary);
}

.testimonial-carousel .owl-item.center {
    position: relative;
    z-index: 1;
}

.testimonial-carousel .owl-item .testimonial-item {
    transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-item {
    background: #FFFFFF !important;
    box-shadow: 0 0 30px #DDDDDD;
}


/*** Team ***/
.team-item {
    transition: .5s;
}

.team-social {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .5s;
}

.team-social a.btn {
    position: relative;
    margin: 0 3px;
    margin-top: 100px;
    opacity: 0;
}

.team-item:hover {
    box-shadow: 0 0 30px #DDDDDD;
}

.team-item:hover .team-social {
    background: rgba(9, 30, 62, .7);
}

.team-item:hover .team-social a.btn:first-child {
    opacity: 1;
    margin-top: 0;
    transition: .3s 0s;
}

.team-item:hover .team-social a.btn:nth-child(2) {
    opacity: 1;
    margin-top: 0;
    transition: .3s .05s;
}

.team-item:hover .team-social a.btn:nth-child(3) {
    opacity: 1;
    margin-top: 0;
    transition: .3s .1s;
}

.team-item:hover .team-social a.btn:nth-child(4) {
    opacity: 1;
    margin-top: 0;
    transition: .3s .15s;
}

.team-item .team-img img,
.blog-item .blog-img img  {
    transition: .5s;
}

.team-item:hover .team-img img,
.blog-item:hover .blog-img img {
    transform: scale(1.15);
}


/*** Miscellaneous ***/
@media (min-width: 991.98px) {
    .facts {
        position: relative;
        margin-top: -75px;
        z-index: 1;
    }
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}

.bg-header {
    background: linear-gradient(rgba(9, 30, 62, .7), rgba(9, 30, 62, .7)), url(../img/carousel-1.webp) center center no-repeat;
    background-size: cover;
}

.bg-header-technologies {
    background: linear-gradient(rgba(9, 30, 62, .7), rgba(9, 30, 62, .7)), url(../img/technologies_wallsweb.webp) center center no-repeat;
    background-size: cover;
}

.bg-header-financement {
    background: linear-gradient(rgba(9, 30, 62, .7), rgba(9, 30, 62, .7)), url(../img/financement_wallsweb.webp) center center no-repeat;
    background-size: cover;
}

.bg-header-packs {
    background: linear-gradient(rgba(9, 30, 62, .7), rgba(9, 30, 62, .7)), url(../img/pack-pro-wallsweb.webp) center center no-repeat;
    background-size: cover;
}

.bg-header-site-vitrine {
    background: linear-gradient(rgba(9, 30, 62, .7), rgba(9, 30, 62, .7)), url(../img/votre-site-vitrine.webp) center center no-repeat;
    background-size: cover;
}

.bg-header-site-e-commerce {
    background: linear-gradient(rgba(9, 30, 62, .7), rgba(9, 30, 62, .7)), url(../img/vendre-objet-en-ligne.webp) center center no-repeat;
    background-size: cover;
}

.bg-header-site-vitrine-dynamique {
    background: linear-gradient(rgba(9, 30, 62, .7), rgba(9, 30, 62, .7)), url(../img/site-web-dynamique.webp) center center no-repeat;
    background-size: cover;
}

.bg-header-404 {
    background: linear-gradient(rgba(9, 30, 62, .7), rgba(9, 30, 62, .7)), url(../img/erreur-404.webp) center center no-repeat;
    background-size: cover;
}
.link-animated a {
    transition: .5s;
}

.link-animated a:hover {
    padding-left: 10px;
}

@media (min-width: 767.98px) {
    .footer-about {
        margin-bottom: -75px;
    }

}

/* Technologies Page */
.tech-categories {
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.tech-category {
    margin-bottom: 3rem;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.tech-card {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.tech-card:hover {
    transform: translateY(-5px);
}

.tech-card img {
    width: 60px;
    height: 60px;
    margin-bottom: 1rem;
}

/* Wallsweb updates */
.blog-item .blog-img {
    height: 220px;
}

.blog-item .blog-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.navbar-dark .navbar-nav .dropdown-menu .dropdown-item {
    color: #091E3E;
}

.navbar-dark .navbar-nav .dropdown-menu .dropdown-item:hover {
    color: var(--primary);
}

/* Ecosystème numérique accueil */
.light-back {
    background: linear-gradient(180deg, #ffffff 0%, #eef9ff 100%);
}

.brick-wall {
    position: relative;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 18px;
    padding: 26px;
    border-radius: 28px;
    background:
        linear-gradient(135deg, rgba(6, 163, 218, .08), rgba(9, 30, 62, .03)),
        repeating-linear-gradient(0deg, transparent 0 92px, rgba(6, 163, 218, .10) 92px 94px),
        repeating-linear-gradient(90deg, transparent 0 118px, rgba(6, 163, 218, .10) 118px 120px);
    box-shadow: inset 0 0 0 1px rgba(6, 163, 218, .10);
}

.brick-wall::before {
    content: "";
    position: absolute;
    inset: 18px;
    border: 2px dashed rgba(6, 163, 218, .22);
    border-radius: 22px;
    pointer-events: none;
}

.brick-main,
.brick-service {
    position: relative;
    z-index: 1;
    display: block;
    min-height: 210px;
    padding: 24px;
    background: #ffffff;
    color: #555;
    text-decoration: none;
    border-radius: 8px 22px 8px 22px;
    border: 1px solid rgba(6, 69, 123, .10);
    box-shadow: 0 12px 32px rgba(9, 30, 62, .10);
    transition: .35s ease;
}

.brick-main {
    grid-column: 2 / 6;
    min-height: 240px;
    text-align: center;
    border: 4px solid var(--secondary);
    box-shadow: 0 20px 50px rgba(6, 69, 123, .18);
}

.brick-service:hover {
    color: #555;
    transform: translateY(-7px);
    box-shadow: 0 20px 48px rgba(9, 30, 62, .15);
}

.brick-material,
.brick-communication {
    grid-column: 1 / 4;
}

.brick-visibility,
.brick-innovation {
    grid-column: 4 / 7;
}

.brick-communication {
    margin-left: 34px;
}

.brick-visibility {
    margin-right: 34px;
}

.brick-label {
    display: inline-block;
    margin-bottom: 10px;
    padding: 5px 12px;
    background: rgba(6, 163, 218, .12);
    color: var(--secondary);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .4px;
}

.brick-main-logo {
    width: 135px;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px auto;
}

.brick-main-logo img {
    max-width: 100%;
    height: auto;
}

.brick-main h3,
.brick-service h4 {
    color: var(--primary);
    margin-bottom: 12px;
}

.brick-main p,
.brick-service p {
    margin-bottom: 0;
    line-height: 1.55;
}

.brick-icon {
    width: 56px;
    height: 56px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: #ffffff;
    border-radius: 8px 16px 8px 16px;
    font-size: 23px;
    margin-right: 12px;
    margin-bottom: 14px;
    vertical-align: middle;
}

@media (max-width: 1199.98px) {
    .brick-wall {
        grid-template-columns: 1fr 1fr;
        padding: 20px;
    }

    .brick-main,
    .brick-material,
    .brick-visibility,
    .brick-communication,
    .brick-innovation {
        grid-column: auto;
        margin: 0;
    }

    .brick-main {
        grid-column: 1 / 3;
    }
}

@media (max-width: 991.98px) {
    .brick-wall {
        grid-template-columns: 1fr;
        gap: 14px;
        padding: 16px;
    }

    .brick-main,
    .brick-material,
    .brick-visibility,
    .brick-communication,
    .brick-innovation {
        grid-column: 1;
        min-height: auto;
    }

    .brick-service:nth-child(even) {
        margin-left: 18px;
    }

    .brick-service:nth-child(odd) {
        margin-right: 18px;
    }

    .brick-main {
        border-width: 3px;
    }
}

@media (max-width: 575.98px) {
    .brick-wall {
        padding: 12px;
    }

    .brick-main,
    .brick-service {
        padding: 20px;
        border-radius: 8px 18px 8px 18px;
    }

    .brick-service:nth-child(even),
    .brick-service:nth-child(odd) {
        margin-left: 0;
        margin-right: 0;
    }
}


/* SEO conversion sections - added without altering existing layout */
.seo-enhance-section{padding:80px 0;background:#fff;}
.seo-enhance-section.alt{background:#f6fbfd;}
.seo-card{height:100%;background:#fff;border-radius:18px;padding:28px;box-shadow:0 10px 30px rgba(0,0,0,.06);border:1px solid rgba(6,163,218,.12);transition:.25s;}
.seo-card:hover{transform:translateY(-5px);box-shadow:0 16px 40px rgba(0,0,0,.09);}
.seo-card .icon{width:58px;height:58px;border-radius:14px;background:#06A3DA;color:#fff;display:flex;align-items:center;justify-content:center;font-size:24px;margin-bottom:18px;}
.seo-proof-strip{background:linear-gradient(135deg,#061429,#123e64);color:#fff;border-radius:24px;padding:38px;}
.seo-proof-number{font-size:34px;font-weight:800;color:#06A3DA;}
.seo-faq .faq-item{background:#fff;border-radius:14px;padding:24px;margin-bottom:16px;box-shadow:0 8px 24px rgba(0,0,0,.05);}
.blog-seo-content h2{margin-top:34px;margin-bottom:16px;color:#091E3E;font-weight:800;}
.blog-seo-content h3{margin-top:24px;color:#091E3E;font-weight:700;}
.blog-seo-content p{font-size:1.05rem;line-height:1.85;color:#5b6370;}
.blog-seo-content ul{font-size:1.05rem;line-height:1.85;color:#5b6370;}
.blog-seo-highlight{background:#eef9fd;border-left:5px solid #06A3DA;border-radius:12px;padding:24px;margin:28px 0;}
.blog-seo-cta{background:linear-gradient(135deg,#06A3DA,#091E3E);color:#fff;border-radius:20px;padding:30px;margin-top:35px;}
.blog-seo-cta p{color:#fff;margin-bottom:18px;}
@media(max-width:767px){.seo-enhance-section{padding:55px 0}.seo-proof-strip{padding:26px}.seo-card{padding:22px}}


/* Corrections V7 : état actif du menu, bouton retour haut, image article CII */
.navbar-dark .navbar-nav .nav-link.active,
.navbar-dark .navbar-nav .show > .nav-link {
    color: var(--secondary) !important;
}

.navbar-dark .navbar-nav .dropdown-menu .dropdown-item.active,
.navbar-dark .navbar-nav .dropdown-menu .dropdown-item:active {
    background: #eef7f9;
    color: var(--secondary) !important;
    font-weight: 700;
}

.back-to-top {
    cursor: pointer;
    pointer-events: auto;
    z-index: 9999;
}

.article-featured-img {
    max-width: 520px;
    width: 100%;
    height: auto;
    max-height: 520px;
    object-fit: contain;
    background: #ffffff;
}

@media (max-width: 767.98px) {
    .article-featured-img {
        max-width: 320px;
        max-height: 320px;
    }
}


/* V8 corrections Wallsweb */
.seo-card .icon,
.problem-card .icon,
.problem-icon {
    background: var(--primary) !important;
    color: #fff !important;
}
.btn[href^="tel:"],
.phone-nowrap,
.blog-contact-box a[href^="tel:"],
.sidebar-contact a[href^="tel:"],
.blog-seo-cta a[href^="tel:"] {
    white-space: nowrap !important;
}
.blog-seo-cta .btn,
.bg-light.text-center .btn,
.contact-action-card .btn {
    white-space: nowrap !important;
}
.navbar-dark .navbar-nav .nav-link.active::after {
    width: 100%;
}
.tech-card {
    height: 100%;
    background: #fff;
    border-radius: 18px;
    padding: 28px;
    box-shadow: 0 10px 30px rgba(0,0,0,.06);
    border: 1px solid rgba(6,163,218,.12);
    transition: .25s;
}
.tech-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 40px rgba(0,0,0,.09);
}
.tech-card img {
    width: 100%;
    height: 210px;
    object-fit: cover;
    border-radius: 14px;
    margin-bottom: 20px;
}


/* V8.1 corrections layout */
.navbar .navbar-nav .dropdown-toggle.active::after,
.navbar .navbar-nav .nav-link.dropdown-toggle.active::after {
    width: auto !important;
    border-top-color: inherit !important;
}

.navbar .navbar-nav .dropdown-toggle.active:before,
.navbar .navbar-nav .nav-link.dropdown-toggle.active:before,
.navbar .navbar-nav .dropdown-toggle.active::before,
.navbar .navbar-nav .nav-link.dropdown-toggle.active::before {
    display: none !important;
    width: 0 !important;
}

.navbar .navbar-nav .nav-link.dropdown-toggle.active {
    border-bottom: none !important;
}

/* Le vrai soulignement reste uniquement sur les liens simples actifs */
.navbar .navbar-nav > a.nav-link.active {
    border-bottom: 2px solid var(--primary) !important;
}

/* Contact + sidebar d'article : éviter que le bloc contact pleine largeur casse la colonne */
.article-contact-inline {
    margin-top: 25px;
    padding: 24px;
    background: #eef7fb;
    border: 1px solid rgba(6, 163, 218, .12);
    border-radius: 10px;
    text-align: center;
}

.article-contact-inline h4,
.article-contact-inline h5 {
    margin-bottom: 12px;
}

.article-contact-inline .contact-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.article-contact-inline .btn,
.article-contact-inline a {
    white-space: nowrap !important;
}

.article-contact-inline .btn {
    width: 100%;
    display: block;
    padding: 10px 12px;
}

.blog-contact-wide {
    margin-top: 45px;
    padding: 40px 30px;
    background: #eef7fb;
    border-radius: 12px;
    text-align: center;
}

.blog-contact-wide .contact-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
}

.blog-contact-wide .btn {
    min-width: 190px;
    white-space: nowrap !important;
}

@media (max-width: 767px) {
    .blog-contact-wide .contact-actions {
        flex-direction: column;
    }
    .blog-contact-wide .btn {
        width: 100%;
    }
}


/* V8.2 optimisation Tech + CTA blog */
.blog-contact-wide .contact-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
}

.blog-contact-wide .cta-action {
    min-width: 210px;
    height: 54px;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 700;
    border-radius: 0;
    white-space: nowrap !important;
}

.blog-contact-wide .btn-primary {
    background: var(--primary) !important;
    border-color: var(--primary) !important;
    color: #fff !important;
}

.blog-contact-wide .btn-secondary {
    background: var(--secondary) !important;
    border-color: var(--secondary) !important;
    color: #fff !important;
}

.blog-contact-wide .btn-outline-primary {
    background: #fff !important;
    color: var(--primary) !important;
    border: 1px solid var(--primary) !important;
}

.blog-contact-wide .btn-outline-primary:hover {
    background: var(--primary) !important;
    color: #fff !important;
}

.home-tech-preview {
    background: #f3f9fc;
}

.home-tech-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    height: 100%;
    box-shadow: 0 10px 30px rgba(0,0,0,.06);
    transition: .25s;
}

.home-tech-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 45px rgba(0,0,0,.10);
}

.home-tech-card img {
    width: 100%;
    height: 190px;
    object-fit: cover;
}

.home-tech-card-body {
    padding: 24px;
}

.home-tech-card-body h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.navbar .dropdown-toggle[href="tech.html"] {
    cursor: pointer;
}

@media (max-width: 767px) {
    .blog-contact-wide .contact-actions {
        flex-direction: column;
    }
    .blog-contact-wide .cta-action {
        width: 100%;
        min-width: 0;
    }
}


/* V8.3 corrections menu + articles tech */
.navbar .nav-item.dropdown > .nav-link[href="tech.html"] {
    cursor: pointer;
}

.navbar .nav-item.dropdown > .nav-link[href="tech.html"]::after {
    margin-left: .35rem;
}

.navbar .nav-item.dropdown > .nav-link[href="tech.html"].active {
    border-bottom: 2px solid var(--primary);
}

.navbar .nav-item.dropdown > .nav-link[href="tech.html"].active::before {
    display: none !important;
}

.article-sidebar-card .d-flex a {
    min-height: 100px;
}

.blog-contact-wide {
    margin-top: 45px;
    padding: 38px 28px;
    background: #eef7fb;
    border-radius: 12px;
    text-align: center;
}

.blog-contact-wide .contact-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
}

.blog-contact-wide .cta-action {
    min-width: 220px;
    height: 54px;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    white-space: nowrap !important;
}

.blog-contact-wide .btn-primary {
    background: var(--primary) !important;
    border-color: var(--primary) !important;
    color: #fff !important;
}

.blog-contact-wide .btn-secondary {
    background: var(--secondary) !important;
    border-color: var(--secondary) !important;
    color: #fff !important;
}

.blog-contact-wide .btn-outline-primary {
    background: #fff !important;
    color: var(--primary) !important;
    border-color: var(--primary) !important;
}

.blog-contact-wide .btn-outline-primary:hover {
    background: var(--primary) !important;
    color: #fff !important;
}

@media (max-width: 991px) {
    .navbar .nav-item.dropdown > .nav-link[href="tech.html"] {
        display: inline-block;
    }
}

@media (max-width: 767px) {
    .blog-contact-wide .contact-actions {
        flex-direction: column;
    }
    .blog-contact-wide .cta-action {
        width: 100%;
        min-width: 0;
    }
}


/* V8.4 corrections finales */
.home-tech-preview .btn-secondary,
.home-tech-preview a.btn-secondary[href="tech.html"],
.home-tech-preview a[href="tech.html"].btn-secondary {
    background: var(--primary) !important;
    border-color: var(--primary) !important;
    color: #fff !important;
}

.home-tech-preview .btn-secondary:hover,
.home-tech-preview a.btn-secondary[href="tech.html"]:hover,
.home-tech-preview a[href="tech.html"].btn-secondary:hover {
    background: var(--secondary) !important;
    border-color: var(--secondary) !important;
    color: #fff !important;
}

body.tech-article-page .footer-wide-fix,
body.tech-article-page .footer-wide-fix .container-fluid {
    max-width: none !important;
    width: 100% !important;
}

body.tech-article-page .footer-wide-fix {
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
}

body.tech-article-page .footer-wide-fix .container,
body.tech-article-page .footer-wide-fix .container-lg,
body.tech-article-page .footer-wide-fix .container-md,
body.tech-article-page .footer-wide-fix .container-sm,
body.tech-article-page .footer-wide-fix .container-xl,
body.tech-article-page .footer-wide-fix .container-xxl {
    max-width: 1320px !important;
}

.tech-card img[src*="simon_taisne"],
.home-tech-card img[src*="simon_taisne"],
.blog-seo-content img[src*="simon_taisne"],
img[src*="simon_taisne"] {
    object-fit: cover;
}


/* V8.5 corrections finales : footer articles, Calendly, Mont Blanc */
body.tech-article-page .blog-contact-wide .cta-action {
    min-width: 220px;
    height: 54px;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    white-space: nowrap !important;
}

body.tech-article-page .blog-contact-wide .btn-primary {
    background: var(--primary) !important;
    border-color: var(--primary) !important;
    color: #fff !important;
}

body.tech-article-page .blog-contact-wide .btn-secondary {
    background: var(--secondary) !important;
    border-color: var(--secondary) !important;
    color: #fff !important;
}

body.tech-article-page .blog-contact-wide .btn-outline-primary {
    background: #fff !important;
    color: var(--primary) !important;
    border-color: var(--primary) !important;
}

body.tech-article-page .blog-contact-wide .btn-outline-primary:hover {
    background: var(--primary) !important;
    color: #fff !important;
}

body.tech-article-page .article-main-section {
    width: 100%;
}

body.tech-article-page #footer,
body.tech-article-page #footer + .container-fluid {
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
}

.navbar .nav-item.dropdown > .nav-link[href="tech.html"] {
    cursor: pointer;
}

@media (max-width: 767px) {
    body.tech-article-page .blog-contact-wide .contact-actions {
        flex-direction: column;
    }
    body.tech-article-page .blog-contact-wide .cta-action {
        width: 100%;
        min-width: 0;
    }
}


/* V8.6 correction scroll horizontal + nouvelle image Mont Blanc */
html, body {
    max-width: 100%;
    overflow-x: hidden;
}

body.tech-article-page #footer,
body.tech-article-page #footer + .container-fluid,
body.tech-article-page .footer-wide-fix,
body.tech-article-page .footer-wide-fix .container-fluid {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

body.tech-article-page .container-fluid {
    overflow-x: hidden;
}

img[src*="mont-blanc_wallsweb"] {
    object-fit: cover;
}

.tech-card img[src*="mont-blanc_wallsweb"],
.home-tech-card img[src*="mont-blanc_wallsweb"] {
    height: 210px;
    object-fit: cover;
    object-position: center center;
}

.article-main-section img[src*="mont-blanc_wallsweb"],
.blog-seo-content img[src*="mont-blanc_wallsweb"] {
    max-height: 520px;
    object-fit: cover;
    object-position: center center;
}


/* V8.7 vérification finale : suppression double scroll + sidebar propre */
html,
body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden !important;
}

/* Le footer doit rester dans le flux normal, sans 100vw ni marges négatives */
body.tech-article-page #footer,
body.tech-article-page #footer + .container-fluid,
body.tech-article-page .footer-wide-fix,
body.tech-article-page .footer-wide-fix .container-fluid,
body.tech-article-page .footer-wide-fix .container {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    overflow-x: hidden !important;
}

/* Neutralise les anciennes règles ayant pu créer un scroll horizontal */
body.tech-article-page .footer-wide-fix {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

body.tech-article-page .container-fluid,
body.tech-article-page .container,
body.tech-article-page .row {
    max-width: 100%;
}

/* Cartes Nos expertises : le fond bleu clair remplit toute la largeur restante */
.article-sidebar-card .d-flex {
    width: 100%;
}

.article-sidebar-card .d-flex img {
    flex: 0 0 100px;
}

.article-sidebar-card .d-flex a {
    flex: 1 1 auto !important;
    width: 100% !important;
    min-height: 100px;
    background: #eef7fb !important;
}

/* Images articles */
.tech-card img[src*="clowns-espoir_wallsweb"],
.home-tech-card img[src*="clowns-espoir_wallsweb"],
.article-main-section img[src*="clowns-espoir_wallsweb"] {
    object-fit: cover;
    object-position: center center;
}

.article-main-section img[src*="clowns-espoir_wallsweb"] {
    max-height: 520px;
}


/* V8.8 corrections : sidebars services + suppression double scroll vertical */
html,
body {
    width: 100%;
    min-height: 100%;
    overflow-x: hidden !important;
}

/* Supprime le petit ascenseur interne du footer */
.footer,
.footer *,
#footer,
#footer *,
.footer-wide-fix,
.footer-wide-fix *,
.container-fluid.bg-primary,
.container-fluid.bg-primary *,
.container-fluid.bg-dark,
.container-fluid.bg-dark * {
    overflow-y: visible !important;
    max-height: none !important;
}

body.tech-article-page,
body.tech-article-page .footer,
body.tech-article-page #footer,
body.tech-article-page .container-fluid,
body.tech-article-page .container,
body.tech-article-page .row {
    overflow-y: visible !important;
}

/* Cartes 'Nos expertises' : fond bleu clair sur toute la largeur restante */
.article-sidebar-card .d-flex,
.sidebar-expertises .d-flex,
.mb-5 .d-flex.rounded.overflow-hidden {
    width: 100%;
}

.article-sidebar-card .d-flex img,
.sidebar-expertises .d-flex img,
.mb-5 .d-flex.rounded.overflow-hidden img {
    flex: 0 0 100px;
}

.article-sidebar-card .d-flex a,
.sidebar-expertises .d-flex a,
.mb-5 .d-flex.rounded.overflow-hidden a.h5 {
    flex: 1 1 auto !important;
    width: 100% !important;
    min-height: 100px;
    background: #eef7fb !important;
}

/* Image JOWA */
img[src*="jowa-maillot-wallsweb"] {
    object-fit: cover;
    object-position: center center;
}

.tech-card img[src*="jowa-maillot-wallsweb"],
.home-tech-card img[src*="jowa-maillot-wallsweb"] {
    height: 210px;
    object-fit: cover;
    object-position: center center;
}

.article-main-section img[src*="jowa-maillot-wallsweb"] {
    max-height: 520px;
    object-fit: cover;
    object-position: center center;
}


/* V8.9 correction définitive du scroll interne footer + image BFM */
.footer,
.footer *,
.footer .container,
.footer .container-fluid,
.footer .row,
.footer .col-lg-4,
.footer .col-lg-8,
.footer .col-md-6,
.footer .d-flex,
.footer .position-relative,
.footer .bg-primary,
.footer .bg-secondary,
.container-fluid.bg-primary,
.container-fluid.bg-primary *,
.container-fluid.bg-dark,
.container-fluid.bg-dark *,
#footer,
#footer * {
    overflow: visible !important;
    overflow-y: visible !important;
    overflow-x: hidden !important;
    max-height: none !important;
}

.footer .container-fluid,
.footer .container,
.container-fluid.bg-primary,
.container-fluid.bg-dark {
    height: auto !important;
    min-height: 0 !important;
}

/* Cache explicitement toute scrollbar interne éventuelle dans le footer */
.footer *::-webkit-scrollbar,
.container-fluid.bg-primary *::-webkit-scrollbar,
.container-fluid.bg-dark *::-webkit-scrollbar,
#footer *::-webkit-scrollbar {
    width: 0 !important;
    height: 0 !important;
    display: none !important;
}

.footer *,
.container-fluid.bg-primary *,
.container-fluid.bg-dark *,
#footer * {
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
}

/* Évite les débordements horizontaux sans créer de scroll interne */
html, body {
    overflow-x: hidden !important;
}

img[src*="bfm-business-wallsweb"] {
    object-fit: cover;
    object-position: center center;
}

.tech-card img[src*="bfm-business-wallsweb"],
.home-tech-card img[src*="bfm-business-wallsweb"] {
    height: 210px;
    object-fit: cover;
    object-position: center center;
}

.article-main-section img[src*="bfm-business-wallsweb"] {
    max-height: 520px;
    object-fit: cover;
    object-position: center center;
}


/* V8.10 corrections JOWA + menu Articles Tech compact */
.article-sidebar-card .tech-list,
.sidebar-tech-list {
    padding: 12px !important;
    background: #eef7fb !important;
}

.article-sidebar-card .tech-list a,
.sidebar-tech-list a,
.article-sidebar-card a.tech-sidebar-link,
.sidebar-tech-link {
    display: block !important;
    min-height: auto !important;
    height: auto !important;
    padding: 8px 10px !important;
    margin: 0 0 6px 0 !important;
    background: transparent !important;
    line-height: 1.25 !important;
    font-size: 15px !important;
    font-weight: 600 !important;
}

/* La règle de largeur totale reste uniquement pour Nos expertises, pas pour Articles Tech */
.sidebar-expertises .d-flex a.h5,
.article-sidebar-card.sidebar-expertises .d-flex a.h5 {
    min-height: 100px !important;
    background: #eef7fb !important;
}

/* Image JOWA : forcer le sweat jaune, jamais BFM */
img[src*="jowa-maillot-wallsweb"] {
    object-fit: cover;
    object-position: center center;
}

.tech-card img[src*="jowa-maillot-wallsweb"],
.home-tech-card img[src*="jowa-maillot-wallsweb"] {
    height: 210px;
    object-fit: cover;
    object-position: center center;
}

.article-main-section img[src*="jowa-maillot-wallsweb"] {
    max-height: 520px;
    object-fit: cover;
    object-position: center center;
}


/* V8.10b : Articles Tech sidebar compacte */
.sidebar-tech-list {
    padding: 12px !important;
    background: #eef7fb !important;
}

.sidebar-tech-list .tech-sidebar-link,
.sidebar-tech-list a {
    display: block !important;
    min-height: 0 !important;
    height: auto !important;
    padding: 7px 10px !important;
    margin-bottom: 4px !important;
    background: transparent !important;
    line-height: 1.25 !important;
    font-size: 15px !important;
    font-weight: 600 !important;
}


/* V9 images officielles JOWA + Roparun */
img[src*="jowa-officiel"],
img[src*="roparun-officiel"]{
    object-fit:cover;
    object-position:center center;
}

.tech-card img[src*="jowa-officiel"],
.tech-card img[src*="roparun-officiel"],
.home-tech-card img[src*="jowa-officiel"],
.home-tech-card img[src*="roparun-officiel"]{
    height:220px;
    width:100%;
    object-fit:cover;
}

.article-main-section img[src*="jowa-officiel"],
.article-main-section img[src*="roparun-officiel"]{
    width:100%;
    max-height:650px;
    object-fit:cover;
}


/* V10 corrections footer non-scrollable + Roparun + page services */
.footer,
.footer *,
#footer,
#footer *,
.container-fluid.bg-primary,
.container-fluid.bg-primary *,
.container-fluid.bg-dark,
.container-fluid.bg-dark * {
    overflow: hidden !important;
    overflow-y: hidden !important;
    overflow-x: hidden !important;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
}

.footer *::-webkit-scrollbar,
#footer *::-webkit-scrollbar,
.container-fluid.bg-primary *::-webkit-scrollbar,
.container-fluid.bg-dark *::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
}

.footer,
#footer,
.container-fluid.bg-primary,
.container-fluid.bg-dark {
    height: auto !important;
    max-height: none !important;
}

/* Autorise le contenu du footer à grandir au lieu de créer un scroll interne */
.footer .row,
#footer .row,
.container-fluid.bg-primary .row {
    height: auto !important;
    max-height: none !important;
}

.tech-card img[src*="roparun-officiel"],
.home-tech-card img[src*="roparun-officiel"] {
    height: 220px;
    width: 100%;
    object-fit: cover;
    object-position: center center;
}

.service-list-card {
    height: 100%;
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,.06);
    transition: .25s;
}

.service-list-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 45px rgba(0,0,0,.10);
}

.service-list-card img {
    width: 100%;
    height: 230px;
    object-fit: cover;
}

.service-list-card-body {
    padding: 28px;
}

.service-list-card-body h3 {
    font-size: 1.35rem;
    margin-bottom: 12px;
}

.me-2 {
    padding-top: 0.5rem !important;
}



/* Page 404 */
.ww-404-section{position:relative;padding:190px 0 90px;overflow:hidden;background:radial-gradient(circle at 25% 20%,rgba(0,160,167,.24),transparent 32%),radial-gradient(circle at 78% 18%,rgba(6,69,123,.42),transparent 28%),linear-gradient(135deg,#07142d 0%,#091E3E 48%,#061429 100%);color:#fff}
.ww-404-section:before{content:"";position:absolute;inset:0;background-image:radial-gradient(circle,rgba(255,255,255,.72) 1px,transparent 1px),radial-gradient(circle,rgba(255,255,255,.35) 1px,transparent 1px);background-size:90px 90px,130px 130px;background-position:0 0,35px 45px;opacity:.35;pointer-events:none}
.ww-404-wrap{position:relative;z-index:1}
.ww-404-visual{position:relative;min-height:430px;display:flex;align-items:center;justify-content:center}
.ww-404-planet{position:absolute;bottom:15px;width:420px;height:120px;border-radius:50% 50% 0 0;background:linear-gradient(135deg,rgba(6,69,123,.95),rgba(0,160,167,.55));box-shadow:0 -20px 70px rgba(0,160,167,.22)}
.ww-404-robot{position:relative;width:170px;height:230px;margin-top:20px;animation:wwFloat 3.2s ease-in-out infinite}
.ww-404-helmet{width:140px;height:120px;margin:0 auto;border:8px solid #fff;border-radius:46px;background:#e9f7fb;box-shadow:0 18px 40px rgba(0,0,0,.24)}
.ww-404-face{position:relative;width:102px;height:70px;margin:18px auto 0;border-radius:28px;background:#091E3E}
.ww-404-face:before,.ww-404-face:after{content:"";position:absolute;top:24px;width:10px;height:10px;border-radius:50%;background:#fff}
.ww-404-face:before{left:26px}.ww-404-face:after{right:26px}
.ww-404-smile{position:absolute;left:50%;bottom:16px;width:34px;height:16px;margin-left:-17px;border-bottom:4px solid #fff;border-radius:0 0 30px 30px}
.ww-404-body{width:110px;height:90px;margin:-4px auto 0;border:7px solid #fff;border-radius:28px;background:linear-gradient(180deg,#eef9ff,#bfeaf0)}
.ww-404-body:before{content:"";display:block;width:34px;height:34px;margin:22px auto;border-radius:50%;background:var(--secondary);box-shadow:inset 0 0 0 8px rgba(255,255,255,.45)}
.ww-404-bubble{position:absolute;top:30px;right:0;padding:10px 14px;border:3px solid #fff;border-radius:22px;font-weight:800;color:#fff;background:rgba(255,255,255,.08)}
.ww-404-sign{position:absolute;left:10px;bottom:110px;display:grid;gap:9px;transform:rotate(-4deg)}
.ww-404-sign a{display:block;min-width:145px;padding:10px 16px;color:#fff;font-weight:800;text-align:center;text-transform:uppercase;background:var(--secondary);border-radius:8px;box-shadow:0 10px 24px rgba(0,0,0,.2)}
.ww-404-sign a:hover{color:#fff;background:var(--primary)}
.ww-404-code{font-size:clamp(6rem,13vw,10rem);line-height:.85;font-weight:900;color:var(--secondary);text-shadow:0 12px 35px rgba(0,0,0,.25)}
.ww-404-title{font-size:clamp(2rem,5vw,3.6rem);font-weight:900;color:#fff}
.ww-404-text{max-width:660px;font-size:1.2rem;line-height:1.8;color:rgba(255,255,255,.88)}
.ww-404-actions{display:flex;flex-wrap:wrap;gap:16px;margin-top:30px}
.ww-404-actions .btn{border-radius:999px;padding:15px 28px}
.ww-404-help{position:relative;z-index:1;margin-top:40px;padding:26px 32px;border:1px solid rgba(255,255,255,.12);border-radius:22px;background:rgba(255,255,255,.08);backdrop-filter:blur(10px)}
.ww-404-help p{margin:0;color:rgba(255,255,255,.9)}
@keyframes wwFloat{0%,100%{transform:translateY(0)}50%{transform:translateY(-16px)}}
@media(max-width:991.98px){.ww-404-section{padding:135px 0 70px}.ww-404-visual{min-height:340px;margin-bottom:20px}.ww-404-sign{left:50%;bottom:0;transform:translateX(-50%);grid-template-columns:repeat(3,auto)}.ww-404-sign a{min-width:auto;font-size:.85rem;padding:9px 12px}}
@media(max-width:575.98px){.ww-404-actions{flex-direction:column}.ww-404-actions .btn{width:100%}.ww-404-sign{display:none}}
