/*-----------------------------------*\
  #MODERN 2026 — style A « Épuré » (base)
  Chargée APRÈS site.css. Mêmes couleurs de marque, même contenu.
  Les styles B et C (x26-b.css / x26-c.css) se chargent par-dessus.
  Pour revenir en arrière : retirer les lignes modern-2026 du _Layout.
\*-----------------------------------*/

:root {
    --x26-font-body: "Inter", "IBM Plex Sans Arabic", system-ui, -apple-system, "Segoe UI", sans-serif;
    --x26-font-head: "Inter", "IBM Plex Sans Arabic", system-ui, -apple-system, "Segoe UI", sans-serif;

    --x26-radius-sm: 12px;
    --x26-radius: 20px;
    --x26-radius-lg: 28px;
    --x26-ease: cubic-bezier(0.22, 1, 0.36, 1);

    --x26-violet: hsl(226, 71%, 40%);
    --x26-violet-2: hsl(225, 81%, 55%);
    --x26-red: hsl(228, 69%, 49%);
    --x26-ink: hsl(240, 14%, 9%);
    --x26-text: hsl(240, 6%, 38%);
    --x26-muted: hsl(240, 5%, 50%);
    --x26-line: hsla(240, 12%, 10%, 0.08);

    --x26-shadow-sm: 0 1px 2px hsla(240, 20%, 10%, 0.05);
    --x26-shadow: 0 1px 2px hsla(240, 20%, 10%, 0.04), 0 8px 24px -12px hsla(240, 20%, 10%, 0.12);
    --x26-shadow-hover: 0 1px 2px hsla(240, 20%, 10%, 0.04), 0 18px 40px -16px hsla(221, 40%, 20%, 0.22);

    --bs-body-font-family: var(--x26-font-body);
}

/*===================================*\
  Base & typographie
\*===================================*/

html {
    font-family: var(--x26-font-body);
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    font-family: var(--x26-font-body);
    color: var(--x26-text);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

h1, h2, h3, h4,
.h1, .h2, .h3,
.section-title,
.hero-title,
.card-title {
    font-family: var(--x26-font-head);
    color: var(--x26-ink);
    letter-spacing: -0.012em;
    text-wrap: balance;
    text-shadow: none;
}

button :is(h1, h2, h3, h4, .h1, .h2, .h3) {
    color: inherit;
    font-family: inherit;
    letter-spacing: inherit;
}

p,
.section-text,
.card-text,
.hero-text {
    text-wrap: pretty;
}

.logo,
.logo span {
    font-family: var(--ff-league-spartan);
    letter-spacing: -0.01em;
}

::selection {
    background: hsla(225, 81%, 55%, 0.18);
    color: inherit;
}

:focus-visible {
    outline: 2px solid var(--x26-violet-2);
    outline-offset: 3px;
    border-radius: 8px;
}


/*===================================*\
  En-tête
\*===================================*/

.header {
    background-color: hsla(0, 0%, 100%, 0.82);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    backdrop-filter: saturate(180%) blur(14px);
    border-block-end: 1px solid var(--x26-line);
    box-shadow: none !important;
    filter: none !important;
    transition: box-shadow 0.25s ease, background-color 0.25s ease;
}

    .header.x26-scrolled {
        background-color: hsla(0, 0%, 100%, 0.92);
        box-shadow: 0 6px 24px -12px hsla(240, 20%, 10%, 0.18) !important;
    }

.navbar-link {
    font-family: var(--x26-font-body);
    font-size: 1.5rem;
    font-weight: 500;
    letter-spacing: -0.005em;
    transition: color 0.2s ease;
}

.dropdown-list {
    border: 1px solid var(--x26-line);
    border-radius: 14px;
    padding: 6px;
    box-shadow: var(--x26-shadow-hover);
}

    .dropdown-list li > a {
        border-radius: 8px;
        transition: background-color 0.15s ease;
    }

        .dropdown-list li > a:hover {
            background-color: hsla(240, 10%, 10%, 0.04);
        }

/*===================================*\
  Boutons
\*===================================*/

.btnCss,
.send-button {
    font-family: var(--x26-font-body);
    font-size: 1.45rem;
    font-weight: 600;
    letter-spacing: 0;
    border-radius: 999px;
    padding: 12px 26px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease, filter 0.2s ease;
}

    .btnCss:is(:hover, :focus-visible),
    .send-button:hover {
        transform: translateY(-1px);
        filter: brightness(1.06);
    }

    .btnCss:active,
    .send-button:active {
        transform: none;
    }

.btnCss-primary,
.send-button {
    box-shadow: 0 6px 16px -8px hsla(226, 90%, 40%, 0.6);
}

.send-button::after {
    display: none;
}

/* Les boutons « Explorer » restent ancrés en bas des cartes */
.fixed-btn-card {
    position: absolute;
}

@media (min-width: 992px) {
    .hero .btnCss:is(:hover, :focus-visible) {
        transform: scale(1.1);
    }
}

#showCompaniesBtn {
    border-radius: 999px !important;
}

/*===================================*\
  Boutons flottants
\*===================================*/

.go-top,
.go-assistance {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    box-shadow: 0 8px 20px -8px hsla(0, 0%, 0%, 0.4);
}

/*===================================*\
  Divers
\*===================================*/

.blog-image-container {
    border-radius: var(--x26-radius-sm);
}

@supports (scrollbar-color: auto) {
    html {
        scrollbar-color: hsla(240, 6%, 40%, 0.35) transparent;
        scrollbar-width: thin;
    }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }

    .service-card,
    .service-card .zoom-image,
    .btnCss,
    .header {
        transition: none;
    }
}



/*===================================*\
  Barre de navigation : l'originale, juste un peu plus moderne (ordinateur)
\*===================================*/
@media (min-width: 992px) {
    .navbar-list {
        gap: 30px !important;
    }

    .navbar-link {
        font-size: 1.55rem;
        font-weight: 500;
        letter-spacing: -0.005em;
    }

    /* Le trait dégradé d'origine, plus fin et arrondi */
    .navbar-link::after {
        background-image: linear-gradient(90deg, #1E40AF, #2F5BEA) !important;
        height: 2px !important;
        bottom: 2px !important;
        border-radius: 2px;
    }

    /* Bouton Téléchargements : même dégradé, forme plus actuelle */
    .navbar-list > li > .btnCss {
        padding: 12px 24px;
        font-size: 1.45rem;
        box-shadow: 0 8px 20px -10px rgba(17, 24, 39, 0.45);
    }
}


/* Séparation de l'en-tête : ombre douce au lieu de la ligne grise */
.header,
.header.x26-scrolled {
    border-block-end: 0 !important;
    box-shadow: 0 1px 0 hsla(240, 12%, 10%, 0.03), 0 8px 24px -12px hsla(221, 30%, 20%, 0.18) !important;
}

/* En haut de page : ombre minime ; elle s'affirme seulement au défilement */
.header {
    box-shadow: 0 1px 0 hsla(240, 12%, 10%, 0.025), 0 4px 12px -10px hsla(221, 30%, 20%, 0.12) !important;
    transition: box-shadow 0.3s ease, background-color 0.3s ease;
}

    .header.x26-scrolled {
        box-shadow: 0 1px 0 hsla(240, 12%, 10%, 0.03), 0 8px 24px -12px hsla(221, 30%, 20%, 0.18) !important;
    }

/* Police du menu : Space Grotesk (celle des titres du héros) */
@media (min-width: 992px) {
    .navbar-link,
    .navbar-list > li > .btnCss {
        font-family: var(--x26-font-body);
        letter-spacing: -0.01em;
    }

    .navbar-link {
        font-size: 1.6rem;
        font-weight: 500;
    }

    .navbar-list > li > .btnCss {
        font-weight: 600;
    }
}

/*===================================*\
  Panneau « Métiers » : grille sur 3 colonnes, sans ascenseur (ordinateur)
  (le sous-menu « Plus » a une largeur fixée en ligne : il n'est pas concerné)
\*===================================*/
@media (min-width: 992px) {
    .navbar-list > li.dropdown > .dropdown-list:not([style]) {
        display: none;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 2px 6px;
        width: 620px;
        max-height: none;
        overflow: visible;
        padding: 12px;
        margin-top: 10px;
        border: 1px solid hsla(240, 12%, 10%, 0.08);
        border-radius: 18px;
        background: #fff;
        box-shadow: 0 24px 60px -24px hsla(221, 40%, 20%, 0.35);
        text-align: start;
    }

        /* Zone invisible qui garde le panneau ouvert entre le lien et le panneau */
        .navbar-list > li.dropdown > .dropdown-list:not([style])::before {
            content: "";
            position: absolute;
            left: 0;
            right: 0;
            top: -14px;
            height: 14px;
        }

    .navbar-list > li.dropdown:hover > .dropdown-list:not([style]) {
        display: grid;
        animation: x26-fade 0.18s ease;
    }

        .navbar-list > li.dropdown > .dropdown-list:not([style]) > li {
            padding: 0;
        }

            .navbar-list > li.dropdown > .dropdown-list:not([style]) > li > a {
                display: block;
                padding: 9px 12px;
                border-radius: 10px;
                font-family: var(--x26-font-body);
                font-size: 1.4rem;
                font-weight: 500;
                line-height: 1.3;
                white-space: nowrap;
                overflow: hidden;
                text-overflow: ellipsis;
                color: hsl(240, 10%, 22%) !important;
                transition: background-color 0.15s ease, color 0.15s ease;
            }

                .navbar-list > li.dropdown > .dropdown-list:not([style]) > li > a:hover {
                    background: hsla(226, 90%, 50%, 0.07);
                    color: hsl(226, 71%, 40%) !important;
                }
}

/* Panneau « Métiers » : un peu plus large, les libellés longs passent à la ligne */
@media (min-width: 992px) {
    .navbar-list > li.dropdown > .dropdown-list:not([style]) {
        width: 680px;
    }

        .navbar-list > li.dropdown > .dropdown-list:not([style]) > li > a {
            white-space: normal;
            overflow: visible;
        }
}

/* Sous-menu « Plus » : même style que le panneau Métiers, sur une colonne */
@media (min-width: 992px) {
    .navbar-list > li.dropdown > .dropdown-list[style] {
        width: 200px !important;
        max-height: none;
        overflow: visible;
        padding: 8px;
        margin-top: 10px;
        border: 1px solid hsla(240, 12%, 10%, 0.08);
        border-radius: 16px;
        background: #fff;
        box-shadow: 0 24px 60px -24px hsla(221, 40%, 20%, 0.35);
        text-align: start;
    }

        .navbar-list > li.dropdown > .dropdown-list[style]::before {
            content: "";
            position: absolute;
            left: 0;
            right: 0;
            top: -14px;
            height: 14px;
        }

    .navbar-list > li.dropdown:hover > .dropdown-list[style] {
        animation: x26-fade 0.18s ease;
    }

        .navbar-list > li.dropdown > .dropdown-list[style] > li {
            padding: 0;
        }

            .navbar-list > li.dropdown > .dropdown-list[style] > li > a {
                display: block;
                padding: 9px 12px;
                border-radius: 10px;
                font-family: var(--x26-font-body);
                font-size: 1.4rem;
                font-weight: 500;
                line-height: 1.3;
                color: hsl(240, 10%, 22%) !important;
                transition: background-color 0.15s ease, color 0.15s ease;
            }

                .navbar-list > li.dropdown > .dropdown-list[style] > li > a::after {
                    display: none !important;
                }

                .navbar-list > li.dropdown > .dropdown-list[style] > li > a:hover {
                    background: hsla(226, 90%, 50%, 0.07);
                    color: hsl(226, 71%, 40%) !important;
                }
}



/*===================================*\
  Sélecteur de langue : un seul bouton sobre, chaque clic passe à la langue suivante
  (bouton créé par js/modern-2026.js à partir des liens existants)
\*===================================*/
@media (min-width: 992px) {
    .x26-lang-ready .navbar-list .dropdownLn > .fa-globe,
    .x26-lang-ready .navbar-list .dropdownLn .dropdown-listLn {
        display: none !important;
    }

    .x26-lang {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        height: 34px;
        min-width: 52px;
        padding: 0 12px;
        border: 1px solid hsla(240, 12%, 10%, 0.12);
        border-radius: 999px;
        background: transparent;
        font-family: var(--x26-font-body);
        font-size: 1.3rem;
        font-weight: 600;
        letter-spacing: 0.04em;
        color: hsl(240, 14%, 14%);
        cursor: pointer;
        transition: border-color 0.2s ease, color 0.2s ease;
    }

        .x26-lang:hover,
        .x26-lang:focus-visible {
            border-color: hsla(226, 90%, 50%, 0.45);
            color: hsl(226, 71%, 40%);
        }

        .x26-lang i {
            font-size: 1.2rem;
            opacity: 0.7;
        }

        .x26-lang .x26-lang__code[lang="ar"] {
            font-family: "IBM Plex Sans Arabic", sans-serif;
            letter-spacing: 0;
            font-size: 1.4rem;
        }
}

/* Bouton de langue plus petit */
@media (min-width: 992px) {
    .x26-lang {
        gap: 4px;
        height: 26px;
        min-width: 0;
        padding: 0 8px;
        font-size: 1.1rem;
    }

        .x26-lang i {
            font-size: 1rem;
        }

        .x26-lang .x26-lang__code[lang="ar"] {
            font-size: 1.2rem;
        }
}

/* Bouton de langue « cute » : pastille lavande douce, globe qui tourne au survol */
@media (min-width: 992px) {
    .x26-lang {
        border: 0;
        background: #EEF3FF;
        color: hsl(224, 80%, 42%);
        box-shadow: inset 0 0 0 1px hsla(226, 90%, 50%, 0.12);
        transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), background-color 0.2s ease, box-shadow 0.2s ease;
    }

        .x26-lang:hover,
        .x26-lang:focus-visible {
            background: #E1E9FF;
            color: hsl(224, 100%, 40%);
            transform: translateY(-1px) scale(1.06);
            box-shadow: inset 0 0 0 1px hsla(226, 90%, 50%, 0.2), 0 6px 14px -8px hsla(226, 90%, 45%, 0.6);
        }

        .x26-lang:active {
            transform: scale(0.94);
        }

        .x26-lang i {
            opacity: 1;
            color: hsl(225, 81%, 55%);
            transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
        }

        .x26-lang:hover i {
            transform: rotate(200deg);
        }
}

@media (prefers-reduced-motion: reduce) {
    .x26-lang, .x26-lang i { transition: none; }
    .x26-lang:hover, .x26-lang:hover i { transform: none; }
}

/* Bouton de langue sans couleur : gris neutre (on garde le rebond et le globe qui tourne) */
@media (min-width: 992px) {
    .x26-lang,
    .x26-lang:hover,
    .x26-lang:focus-visible {
        background: hsla(240, 10%, 10%, 0.05);
        color: hsl(240, 14%, 14%);
        box-shadow: inset 0 0 0 1px hsla(240, 12%, 10%, 0.08);
    }

        .x26-lang:hover,
        .x26-lang:focus-visible {
            background: hsla(240, 10%, 10%, 0.08);
        }

        .x26-lang i {
            color: hsl(240, 8%, 35%);
        }
}

/* Bouton de langue : globe et code parfaitement centrés sur la même ligne */
@media (min-width: 992px) {
    .x26-lang {
        line-height: 1;
    }

        .x26-lang i,
        .x26-lang .x26-lang__code {
            display: inline-flex !important;
            align-items: center;
            height: 1em;
            line-height: 1;
            margin: 0;
        }

        .x26-lang i::before {
            display: block;
            line-height: 1;
        }

        /* Space Grotesk se place un peu haut : petit recalage optique */
        .x26-lang .x26-lang__code {
            position: relative;
            top: 0.5px;
        }
}

/* Logo : texte « IntelliX » en Space Grotesk, plus moderne */
.logo,
.logo span {
    font-family: var(--x26-font-body) !important;
    font-weight: 700;
    letter-spacing: -0.045em;
}

.logo span {
    font-size: 2.9rem;
    line-height: 1;
}

.logo img {
    margin-bottom: 0 !important;
}


/*===================================*\
  Bande de navigation pleine largeur, moderne (ordinateur)
  En haut : transparente, fondue dans le héros. Au défilement : verre dépoli compact.
\*===================================*/
@media (min-width: 992px) {
    .header {
        padding-block: 18px;
        background-color: hsla(0, 0%, 100%, 0.35) !important;
        -webkit-backdrop-filter: saturate(160%) blur(10px);
        backdrop-filter: saturate(160%) blur(10px);
        box-shadow: none !important;
        transition: padding 0.35s cubic-bezier(0.22, 1, 0.36, 1), background-color 0.35s ease, box-shadow 0.35s ease, backdrop-filter 0.35s ease;
    }

        .header.x26-scrolled {
            padding-block: 10px;
            background-color: hsla(0, 0%, 100%, 0.78) !important;
            -webkit-backdrop-filter: saturate(180%) blur(20px);
            backdrop-filter: saturate(180%) blur(20px);
            box-shadow:
                0 1px 0 hsla(240, 12%, 10%, 0.05),
                0 10px 30px -20px hsla(221, 30%, 20%, 0.3) !important;
        }

        /* Le logo se réduit légèrement au défilement */
        .header .logo span,
        .header .logo img {
            transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
            transform-origin: left center;
        }

        .header.x26-scrolled .logo span {
            transform: scale(0.92);
        }
}

/* Liens du menu plus gras */
@media (min-width: 992px) {
    .navbar-link {
        font-weight: 600 !important;
    }
}

/*===================================*\
  Police ronde partout : Nunito (logo, menu, titres, textes, maquette)
  Les icônes (<i> Font Awesome) gardent leur police. L'arabe retombe sur IBM Plex Sans Arabic.
\*===================================*/
:root {
    --x26-font-round: "Inter", "IBM Plex Sans Arabic", system-ui, -apple-system, "Segoe UI", sans-serif;
    --x26-font-body: var(--x26-font-round);
    --x26-font-head: var(--x26-font-round);
    --bs-body-font-family: var(--x26-font-round);
}

html,
body,
body *:not(i):not(.fa):not(.fas):not(.fab):not(.far):not(ion-icon):not(svg):not(svg *) {
    font-family: var(--x26-font-round) !important;
}

/* Nunito est plus étroite : on ajuste un peu les graisses et l'espacement */
.logo span {
    font-weight: 800 !important;
    letter-spacing: -0.02em !important;
}

.navbar-link {
    font-weight: 700 !important;
    letter-spacing: 0 !important;
}

h1, h2, h3, .h1, .h2, .h3,
.hx .h, .hx-title, .v26-head__title, .v26-card__title, .v26-cta__title {
    font-weight: 800;
    letter-spacing: -0.02em !important;
}

/*===================================*\
  Barre de navigation : tous les éléments centrés sur la même ligne (ordinateur)
\*===================================*/
@media (min-width: 992px) {
    .header > .container,
    .navbar,
    .navbar-list {
        display: flex !important;
        align-items: center !important;
    }

        .navbar-list > li {
            display: flex;
            align-items: center;
            margin: 0 !important;
            padding-block: 0 !important;
        }

    .navbar-link {
        display: inline-flex !important;
        align-items: center;
        line-height: 1 !important;
        padding-block: 10px !important;
    }

    /* Le bouton Téléchargements et le bouton de langue : pas de marge héritée */
    .header .btnCss,
    .navbar-list > li > .btnCss {
        display: inline-flex !important;
        align-items: center;
        margin-block: 0 !important;
        line-height: 1 !important;
    }

    .navbar-list .dropdownLn {
        height: auto;
    }

    .x26-lang {
        margin: 0;
        vertical-align: middle;
    }

    .logo {
        align-items: center !important;
        line-height: 1;
    }
}

/* Police un peu moins ronde : Outfit (géométrique, extrémités nettes) */
:root {
    --x26-font-round: "Inter", "IBM Plex Sans Arabic", system-ui, -apple-system, "Segoe UI", sans-serif;
}

.logo span {
    font-weight: 700 !important;
    letter-spacing: -0.03em !important;
}

.navbar-link {
    font-weight: 500 !important;
}

h1, h2, h3, .h1, .h2, .h3,
.hx .h, .hx-title, .v26-head__title, .v26-card__title, .v26-cta__title {
    font-weight: 700;
    letter-spacing: -0.025em !important;
}

/* Boutons flottants (partager / haut de page) : ronds et plus petits */
.go-top,
.go-assistance {
    width: 38px !important;
    height: 38px !important;
    padding: 0 !important;
    border-radius: 50% !important;
    right: 18px !important;
    box-shadow: 0 6px 16px -6px hsla(0, 0%, 0%, 0.4) !important;
}

    .go-top ion-icon,
    .go-assistance ion-icon {
        font-size: 18px !important;
    }

.go-assistance {
    bottom: 64px !important;
}

/*===================================*\
  Cartes produits d'origine : mêmes couleurs que l'ancienne UI, juste arrondies et modernes
\*===================================*/
.service-card {
    background-color: var(--white-1);
    border: 1px solid var(--platinum);
    border-radius: 24px;
}

    .service-card .zoom-image {
        transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    }

    .service-card:hover .zoom-image {
        transform: scale(1.04);
    }

/*===================================*\
  Pages de l'ancienne UI (ex. Nous Sommes) : héros avec tablette vidéo
\*===================================*/

/* Vidéo nette : plus de voile sombre ni d'inclinaison 3D */
.screen-content::before {
    display: none;
}

.tablet,
.tablet:hover {
    transform: none !important;
    perspective: none;
    transform-style: flat;
}

.tablet-body {
    transform-style: flat;
    border-radius: 22px;
    box-shadow: 0 1px 2px hsla(240, 20%, 10%, 0.1), 0 30px 60px -30px hsla(221, 40%, 20%, 0.45);
}

.screen-content {
    border-radius: 14px;
}

/* Chiffres : libellés lisibles sur une seule ligne */
.stat-label {
    font-size: 1.15rem !important;
    font-weight: 500;
    letter-spacing: 0.02em !important;
    text-transform: none;
    color: hsl(240, 6%, 46%);
    white-space: nowrap;
}

.stat-number {
    font-weight: 700;
}

@media (min-width: 992px) {
    .stats-wrapper > div {
        min-width: 0;
        padding-inline: 4px;
    }
}

/* Sections de cartes sans marge en haut (pt-0) : les cartes ne collent plus au bord */
.section.service.pt-0 {
    padding-top: clamp(48px, 4vw, 72px) !important;
}

/*===================================*\
  Toutes les pages : UI d'origine, juste des bords arrondis modernes
\*===================================*/
.contact-form,
.contact-card,
.blog-content,
.card:not(section),
.carousel-container,
.video-container,
.tags-container .tag {
    border-radius: 20px;
}

.input-field,
.input-field-silwane,
.form-control,
.form-select {
    border-radius: 12px;
}

.contact-card .card-icon {
    border-radius: 14px;
}

.zoom-image,
.blog-image-container,
.img-rounded {
    border-radius: 16px;
}

/* Pas de défilement horizontal (supprime aussi la bande blanche à droite) */
html,
body {
    overflow-x: clip;
    max-width: 100%;
}

/* Moins d'espace entre le haut de page et la section de cartes qui suit (pt-0) */
.section.service.pt-0 {
    padding-top: 8px !important;
}

/*===================================*\
  Nos Références : logos sobres et alignés
  - logos en gris, couleur au survol ; même hauteur, espacement régulier
  - bords fondus, lignes alternées (sens et vitesse), pause au survol
  - le tout dans un panneau doux arrondi ; bouton en pilule
\*===================================*/
#references .continuous-scroll {
    position: relative;
    padding-block: 10px;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

#references .row {
    margin: 0;
    padding: 18px 0;
    border-radius: 28px;
    background: hsl(240, 14%, 97.5%);
    border: 1px solid hsla(240, 12%, 10%, 0.05);
}

    #references .row > [class*="col"] {
        padding-inline: 0;
    }

#references .scroll-wrapper {
    align-items: center;
    gap: 44px;
    padding-inline: 22px;
}

    #references .scroll-wrapper img {
        height: 56px;
        width: auto;
        max-width: 150px;
        object-fit: contain;
        filter: grayscale(1);
        opacity: 0.6;
        transition: filter 0.3s ease, opacity 0.3s ease, transform 0.3s ease;
    }

        #references .scroll-wrapper img:hover {
            filter: none;
            opacity: 1;
            transform: scale(1.08);
        }

/* Une ligne sur deux défile dans l'autre sens, à une vitesse légèrement différente */
#references .continuous-scroll:nth-of-type(2n) .scroll-wrapper,
#references [class*="col"]:nth-child(2n) .scroll-wrapper {
    animation-direction: reverse;
    animation-duration: 48s;
}

#references .continuous-scroll:hover .scroll-wrapper {
    animation-play-state: paused;
}

/* Bouton « Autre Références » : pilule sobre */
#showCompaniesBtn {
    padding: 12px 26px !important;
    border-radius: 999px !important;
    background: hsl(240, 14%, 9%) !important;
    box-shadow: 0 10px 24px -12px hsla(240, 20%, 10%, 0.6) !important;
}

    #showCompaniesBtn .btn-text {
        margin: 0 !important;
        padding: 0 !important;
        font-size: 1.45rem;
        font-weight: 600;
    }

@media (prefers-reduced-motion: reduce) {
    #references .scroll-wrapper { animation: none; }
}

/* Les 4 lignes de logos forment un seul panneau doux (chaque ligne est un .row séparé) */
#references .row {
    padding: 6px 0;
    border: 0;
    border-radius: 0;
    background: hsl(240, 14%, 97.5%);
}

    #references .row:first-of-type {
        padding-top: 22px;
        border-radius: 28px 28px 0 0;
    }

    #references .row:last-of-type {
        padding-bottom: 22px;
        border-radius: 0 0 28px 28px;
    }

    /* Alternance du sens de défilement, ligne par ligne */
    #references .row:nth-of-type(2n) .scroll-wrapper {
        animation-direction: reverse;
        animation-duration: 48s;
    }

    #references .row:nth-of-type(2n+1) .scroll-wrapper {
        animation-direction: normal;
        animation-duration: 40s;
    }

/* Chaque image regroupe plusieurs logos : on garde leur largeur naturelle */
#references .scroll-wrapper {
    gap: 28px;
}

    #references .scroll-wrapper img {
        height: 80px;
        max-width: none;
        opacity: 0.75;
    }

/* Arrondi du bas sur la dernière ligne de logos */
#references .row:last-of-type {
    border-radius: 0;
    padding-bottom: 6px;
}

#references .row:not(:has(~ .row)) {
    padding-bottom: 22px;
    border-radius: 0 0 28px 28px;
}

/* Le fond blanc des images de logos se fond dans le panneau */
#references .scroll-wrapper img {
    mix-blend-mode: multiply;
}

/* Bouton « Autre Références » : texte centré (l'icône n'apparaît qu'une fois ouvert) */
#showCompaniesBtn {
    justify-content: center;
    gap: 8px;
}

    #showCompaniesBtn:not(.expanded) .btn-icon {
        display: none;
    }

/* Panneau des références en blanc (le fond blanc des images de logos disparaît), fine bordure + ombre douce */
#references .row {
    background: #FFFFFF;
    border-inline: 1px solid hsla(240, 12%, 10%, 0.07);
}

    #references .row:first-of-type {
        border-top: 1px solid hsla(240, 12%, 10%, 0.07);
    }

    #references .row:not(:has(~ .row)) {
        border-bottom: 1px solid hsla(240, 12%, 10%, 0.07);
        box-shadow: 0 30px 50px -40px hsla(240, 20%, 15%, 0.35);
    }

#references .scroll-wrapper img {
    mix-blend-mode: normal;
}

/*===================================*\
  Nos Références : bande pleine largeur (d'un bord à l'autre de l'écran)
  Pas de panneau : fines lignes en haut et en bas, bords fondus, logos gris → couleur au survol.
\*===================================*/
#references .row,
#references .row:first-of-type,
#references .row:not(:has(~ .row)) {
    margin-inline: calc(50% - 50vw);
    width: 100vw;
    max-width: none;
    padding: 4px 0;
    border: 0;
    border-radius: 0;
    background: #FFFFFF;
    box-shadow: none;
}

    #references .row:first-of-type {
        margin-top: 12px;
        padding-top: 26px;
        border-top: 1px solid hsla(240, 12%, 10%, 0.07);
    }

    #references .row:not(:has(~ .row)) {
        padding-bottom: 26px;
        border-bottom: 1px solid hsla(240, 12%, 10%, 0.07);
    }

#references .continuous-scroll {
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}

#references .action-container {
    margin-top: 36px;
}

/* Logos de la bande : en couleur */
#references .scroll-wrapper img,
#references .scroll-wrapper img:hover {
    filter: none;
    opacity: 1;
}

/*===================================*\
  Autres références : bouton + explorateur (js/references.js)
\*===================================*/
.xr-cta {
    display: flex;
    justify-content: center;
    margin-top: 36px;
}

.xr-toggle {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px 12px 24px;
    border: 0;
    border-radius: 999px;
    background: hsl(240, 14%, 9%);
    color: #fff;
    font-size: 1.5rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 12px 28px -14px hsla(240, 20%, 10%, 0.7);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

    .xr-toggle:hover {
        transform: translateY(-1px);
        box-shadow: 0 16px 32px -14px hsla(240, 20%, 10%, 0.75);
    }

.xr-toggle__count {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 999px;
    background: hsla(0, 0%, 100%, 0.14);
    font-size: 1.25rem;
    font-weight: 600;
}

    .xr-toggle__count[hidden] {
        display: none;
    }

.xr-toggle__chev {
    flex: none;
    transition: transform 0.3s ease;
}

.xr-toggle.is-open .xr-toggle__chev {
    transform: rotate(180deg);
}

/* Panneau */
.xr-panel {
    margin-top: 28px;
    padding: 22px;
    border-radius: 24px;
    background: #fff;
    border: 1px solid hsla(240, 12%, 10%, 0.08);
    box-shadow: 0 30px 60px -40px hsla(240, 20%, 15%, 0.4);
    text-align: start;
    animation: xr-in 0.3s ease;
}

    .xr-panel[hidden] {
        display: none;
    }

@keyframes xr-in {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: none; }
}

.xr-panel__head {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 18px;
}

.xr-search {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 16px;
    height: 52px;
    border-radius: 14px;
    background: hsl(240, 14%, 97%);
    border: 1px solid transparent;
    color: hsl(240, 6%, 45%);
    transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

    .xr-search:focus-within {
        background: #fff;
        border-color: hsla(226, 90%, 50%, 0.4);
        box-shadow: 0 0 0 4px hsla(226, 90%, 50%, 0.1);
    }

    .xr-search input {
        flex: 1;
        min-width: 0;
        border: 0;
        outline: 0;
        background: transparent;
        font-size: 1.55rem;
        color: hsl(240, 14%, 12%);
    }

.xr-search__result {
    flex: none;
    font-size: 1.25rem;
    font-weight: 500;
    color: hsl(240, 6%, 52%);
}

.xr-letters {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.xr-letter {
    min-width: 32px;
    height: 32px;
    padding: 0 8px;
    border: 0;
    border-radius: 9px;
    background: transparent;
    font-size: 1.3rem;
    font-weight: 600;
    color: hsl(240, 8%, 40%);
    cursor: pointer;
    transition: background-color 0.15s ease, color 0.15s ease;
}

    .xr-letter:hover {
        background: hsl(240, 14%, 95%);
        color: hsl(240, 14%, 12%);
    }

    .xr-letter.is-on {
        background: hsl(240, 14%, 9%);
        color: #fff;
    }

/* Grille des références */
.xr-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 8px;
    max-height: 460px;
    margin: 0;
    padding: 2px 4px 2px 0;
    list-style: none;
    overflow-y: auto;
    scrollbar-width: thin;
}

.xr-item {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    padding: 9px 12px;
    border-radius: 12px;
    border: 1px solid hsla(240, 12%, 10%, 0.06);
    background: #fff;
    animation: xr-item-in 0.3s ease both;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

    .xr-item:hover {
        border-color: hsla(var(--h), 70%, 50%, 0.35);
        box-shadow: 0 6px 16px -10px hsla(var(--h), 60%, 40%, 0.5);
    }

@keyframes xr-item-in {
    from { opacity: 0; transform: translateY(4px); }
    to   { opacity: 1; transform: none; }
}

.xr-item__av {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: none;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: hsla(var(--h), 80%, 55%, 0.12);
    color: hsl(var(--h), 55%, 38%);
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.xr-item__name {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 1.4rem;
    font-weight: 500;
    color: hsl(240, 14%, 14%);
}

.xr-empty {
    grid-column: 1 / -1;
    padding: 28px;
    text-align: center;
    color: hsl(240, 6%, 50%);
    font-size: 1.45rem;
}

.xr-more {
    display: flex;
    justify-content: center;
    margin-top: 16px;
}

.xr-more__btn {
    padding: 10px 20px;
    border-radius: 999px;
    border: 1px solid hsla(240, 12%, 10%, 0.12);
    background: #fff;
    font-size: 1.35rem;
    font-weight: 600;
    color: hsl(240, 14%, 14%);
    cursor: pointer;
    transition: background-color 0.15s ease;
}

    .xr-more__btn:hover {
        background: hsl(240, 14%, 96%);
    }

    .xr-more__btn[hidden] {
        display: none;
    }

@media (prefers-reduced-motion: reduce) {
    .xr-panel, .xr-item { animation: none; }
}

/* Références : uniquement la bande qui défile (titre et texte masqués à l'écran, gardés pour les lecteurs d'écran) */
#references .section-title,
#references .section-text {
    position: absolute !important;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

#references {
    padding-top: clamp(32px, 3vw, 56px) !important;
}

    #references .row:first-of-type {
        margin-top: 0;
    }

/* Bande des références sans traits en haut et en bas */
#references .row,
#references .row:first-of-type,
#references .row:not(:has(~ .row)) {
    border-top: 0 !important;
    border-bottom: 0 !important;
}

/* Bouton « Autre Références » discret : lien-pilule fin, sans fond noir */
.xr-cta {
    margin-top: 20px;
}

.xr-toggle {
    padding: 8px 10px 8px 16px;
    background: transparent;
    color: hsl(240, 8%, 30%);
    border: 1px solid hsla(240, 12%, 10%, 0.12);
    font-size: 1.35rem;
    font-weight: 500;
    box-shadow: none;
}

    .xr-toggle:hover {
        transform: none;
        background: hsla(240, 10%, 10%, 0.04);
        color: hsl(240, 14%, 12%);
        box-shadow: none;
    }

.xr-toggle__count {
    padding: 2px 8px;
    background: hsla(240, 10%, 10%, 0.06);
    color: hsl(240, 8%, 35%);
    font-size: 1.15rem;
}

#showCompaniesBtn.xr-toggle {
    padding: 8px 10px 8px 16px !important;
    background: transparent !important;
    color: hsl(240, 8%, 30%);
    box-shadow: none !important;
}

    #showCompaniesBtn.xr-toggle:hover {
        background: hsla(240, 10%, 10%, 0.04) !important;
        color: hsl(240, 14%, 12%);
    }

/*===================================*\
  Références : bande plus basse + bouton en verre posé AU CENTRE de la bande
  (les logos défilent derrière lui). Grille : les 4 lignes en lignes 1→4,
  le bouton chevauche les 4 lignes, le panneau en dessous.
\*===================================*/
#references .container {
    display: grid;
    grid-template-columns: 100%;
}

    #references .container > .row:nth-child(3) { grid-row: 1; }
    #references .container > .row:nth-child(4) { grid-row: 2; }
    #references .container > .row:nth-child(5) { grid-row: 3; }
    #references .container > .row:nth-child(6) { grid-row: 4; }

    #references .container > .row {
        grid-column: 1;
    }

#references .row,
#references .row:first-of-type,
#references .row:not(:has(~ .row)) {
    padding: 0 !important;
}

#references .continuous-scroll {
    padding-block: 4px;
}

#references .scroll-wrapper img {
    height: 54px;
}

/* Le bouton, au centre de la bande */
#references .xr-cta {
    grid-row: 1 / 5;
    grid-column: 1;
    align-self: center;
    justify-self: center;
    z-index: 3;
    margin: 0;
}

#showCompaniesBtn.xr-toggle {
    padding: 12px 14px 12px 22px !important;
    border: 1px solid hsla(0, 0%, 100%, 0.7);
    background: hsla(0, 0%, 100%, 0.72) !important;
    -webkit-backdrop-filter: blur(14px) saturate(160%);
    backdrop-filter: blur(14px) saturate(160%);
    color: hsl(240, 14%, 12%);
    font-size: 1.45rem;
    font-weight: 600;
    box-shadow: 0 0 0 1px hsla(240, 12%, 10%, 0.06), 0 18px 40px -16px hsla(221, 40%, 20%, 0.35) !important;
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s ease, background-color 0.25s ease;
}

    #showCompaniesBtn.xr-toggle:hover {
        transform: scale(1.05);
        background: hsla(0, 0%, 100%, 0.9) !important;
        box-shadow: 0 0 0 1px hsla(240, 12%, 10%, 0.08), 0 24px 48px -16px hsla(221, 40%, 20%, 0.45) !important;
    }

    #showCompaniesBtn.xr-toggle .xr-toggle__count {
        background: hsl(240, 14%, 9%);
        color: #fff;
    }

/* Le panneau s'ouvre sous la bande */
#references .xr-panel {
    grid-row: 5;
    grid-column: 1;
}

/* Références : moins d'espace au-dessus et en dessous de la bande */
#references {
    padding-top: 28px !important;
    padding-bottom: 28px !important;
}

/* Explorateur des références : version simple et neutre (pas de pastilles colorées) */
.xr-item__av {
    display: none;
}

.xr-grid {
    gap: 0 24px;
}

.xr-item {
    padding: 10px 4px;
    border: 0;
    border-bottom: 1px solid hsla(240, 12%, 10%, 0.06);
    border-radius: 0;
    background: transparent;
    animation: none;
}

    .xr-item:hover {
        border-color: hsla(240, 12%, 10%, 0.06);
        box-shadow: none;
    }

        .xr-item:hover .xr-item__name {
            color: hsl(240, 14%, 9%);
        }

.xr-item__name {
    font-size: 1.4rem;
    font-weight: 400;
    color: hsl(240, 6%, 38%);
    transition: color 0.15s ease;
}

.xr-search,
.xr-search:focus-within {
    border-color: hsla(240, 12%, 10%, 0.1);
    box-shadow: none;
}

/*===================================*\
  Explorateur des références : annuaire moderne par lettre, tout affiché, bouton Fermer
\*===================================*/
.xr-panel {
    position: relative;
    padding: 26px 26px 20px;
}

.xr-close {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 50%;
    background: hsla(240, 10%, 10%, 0.05);
    color: hsl(240, 10%, 25%);
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.25s ease;
}

    .xr-close:hover {
        background: hsl(240, 14%, 9%);
        color: #fff;
        transform: rotate(90deg);
    }

.xr-panel__head {
    padding-right: 52px;
}

.xr-more {
    display: none;
}

/* Liste : groupes de lettres, défilement interne */
.xr-grid {
    display: block;
    max-height: 560px;
    padding: 0 6px 0 0;
}

.xr-group {
    display: block;
    padding-bottom: 18px;
}

.xr-group__letter {
    position: sticky;
    top: 0;
    z-index: 2;
    display: flex;
    align-items: baseline;
    gap: 10px;
    padding: 10px 0 8px;
    margin-bottom: 6px;
    background: hsla(0, 0%, 100%, 0.94);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid hsla(240, 12%, 10%, 0.08);
    font-family: var(--x26-font-body);
    font-size: 2.6rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.02em;
    color: hsl(240, 14%, 9%);
}

.xr-group__count {
    font-size: 1.2rem;
    font-weight: 500;
    letter-spacing: 0;
    color: hsl(240, 6%, 55%);
}

.xr-group__list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 0 28px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.xr-item {
    padding: 7px 0;
    border: 0;
}

.xr-item__name {
    position: relative;
    display: inline-block;
    max-width: 100%;
    padding-left: 14px;
    font-size: 1.4rem;
    color: hsl(240, 6%, 36%);
}

    .xr-item__name::before {
        content: "";
        position: absolute;
        left: 0;
        top: 50%;
        width: 5px;
        height: 5px;
        margin-top: -2.5px;
        border-radius: 50%;
        background: hsla(240, 10%, 10%, 0.18);
        transition: background-color 0.15s ease;
    }

.xr-item:hover .xr-item__name::before {
    background: hsl(240, 14%, 9%);
}

/*===================================*\
  Tous les formulaires du site : même style de champ que le formulaire de contact
  (fond gris clair, fine bordure, coins arrondis 12px, contour au focus)
\*===================================*/
.input-field,
.form-control,
.form-select,
textarea.input-field,
select.input-field {
    border: 1px solid hsla(240, 12%, 10%, 0.10) !important;
    border-radius: 12px !important;
    background-color: hsl(0, 0%, 95%);
    padding: 15px 16px;
    font-size: 1.5rem;
    color: hsl(240, 14%, 14%);
    box-shadow: none;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

    .input-field:focus,
    .form-control:focus,
    .form-select:focus {
        outline: none;
        background-color: #FFFFFF;
        border-color: hsl(228, 69%, 49%) !important;
        box-shadow: 0 0 0 4px hsla(228, 69%, 49%, 0.10);
    }

/* Les champs que le HTML veut sans bordure (border-0) gardent quand même l'arrondi */
.input-field.border-0 {
    border: 1px solid hsla(240, 12%, 10%, 0.10) !important;
}

/* Cases à cocher : coins légèrement arrondis */
.form-check-input {
    border-radius: 5px;
}

/* Cadres de formulaire : même carte blanche arrondie partout */
form.contact-form,
.contact-form {
    border-radius: 24px;
}

/*===================================*\
  Page « Nous Sommes » (Views/Home/Company.cshtml)
\*===================================*/

/* Moins d'espace sous le héros */
.cp-hero {
    padding-bottom: 40px !important;
}

/* --- Vidéo : lecteur unique + miniatures --- */
.cp-video {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.cp-video__player {
    position: relative;
    aspect-ratio: 16 / 9;
    border-radius: 20px;
    overflow: hidden;
    background: #0B0C10;
    box-shadow: 0 1px 2px hsla(240, 20%, 10%, 0.1), 0 30px 60px -30px hsla(221, 40%, 20%, 0.5);
}

    .cp-video__player iframe {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        border: 0;
        transition: opacity 0.2s ease;
    }

        .cp-video__player iframe.is-fading {
            opacity: 0;
        }

.cp-video__thumbs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.cp-thumb {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 6px;
    border: 1px solid hsla(240, 12%, 10%, 0.08);
    border-radius: 14px;
    background: #fff;
    cursor: pointer;
    text-align: start;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

    .cp-thumb img {
        width: 100%;
        aspect-ratio: 16 / 9;
        object-fit: cover;
        border-radius: 9px;
        opacity: 0.75;
        transition: opacity 0.2s ease;
    }

    .cp-thumb span {
        padding: 0 4px 2px;
        font-size: 1.3rem;
        font-weight: 600;
        color: hsl(240, 8%, 35%);
    }

    .cp-thumb:hover {
        transform: translateY(-2px);
        box-shadow: 0 10px 24px -14px hsla(240, 20%, 15%, 0.4);
    }

        .cp-thumb:hover img,
        .cp-thumb.is-on img {
            opacity: 1;
        }

    .cp-thumb.is-on {
        border-color: hsl(228, 69%, 49%);
        box-shadow: 0 0 0 3px hsla(228, 69%, 49%, 0.12);
    }

        .cp-thumb.is-on span {
            color: hsl(240, 14%, 9%);
        }

/* --- Chiffres plus visibles --- */
.cp-hero .stats-wrapper {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid hsla(240, 12%, 10%, 0.08);
}

    .cp-hero .stats-wrapper > div + div {
        border-inline-start: 1px solid hsla(240, 12%, 10%, 0.08);
    }

.cp-hero .stat-number {
    font-size: clamp(3rem, 1.5rem + 1.4vw, 3rem) !important;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: hsl(240, 14%, 9%);
    margin-bottom: 4px;
}

.cp-hero .stat-label {
    font-size: 1.3rem !important;
    white-space: normal;
}

/* --- 4 cartes : parcours numéroté 01 → 04, relié par un pointillé --- */
.cp-steps .grid-list {
    position: relative;
    counter-reset: cp-step;
}

@media (min-width: 992px) {
    .cp-steps .grid-list::before {
        content: "";
        position: absolute;
        left: 12%;
        right: 12%;
        top: 60px;
        border-top: 2px dashed hsla(240, 12%, 10%, 0.12);
        z-index: 0;
    }
}

.cp-steps .service-card {
    position: relative;
    z-index: 1;
    counter-increment: cp-step;
    padding-top: 30px;
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease;
}

    .cp-steps .service-card::before {
        content: counter(cp-step, decimal-leading-zero);
        position: absolute;
        top: 16px;
        left: 20px;
        font-family: var(--x26-font-body);
        font-size: 1.4rem;
        font-weight: 700;
        letter-spacing: 0.04em;
        color: hsla(240, 10%, 10%, 0.25);
    }

    .cp-steps .service-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 24px 48px -24px hsla(240, 20%, 15%, 0.35);
    }

        .cp-steps .service-card:hover .card-icon {
            transform: scale(1.08) rotate(-6deg);
        }

    .cp-steps .service-card .card-icon {
        transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
        box-shadow: 0 10px 22px -10px currentColor;
    }

/* --- Bande d'appel à l'action --- */
.cp-cta {
    padding: 0 0 72px;
    background: var(--white-2);
}

.cp-cta__box {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 24px 40px;
    padding: clamp(28px, 4vw, 48px);
    border-radius: 28px;
    background:
        radial-gradient(60% 120% at 100% 0%, hsla(224, 64%, 55%, 0.35), transparent 60%),
        radial-gradient(50% 120% at 0% 100%, hsla(224, 64%, 55%, 0.25), transparent 60%),
        linear-gradient(120deg, hsl(226, 71%, 40%), hsl(225, 81%, 55%));
    color: #fff;
    box-shadow: 0 30px 60px -30px hsla(226, 90%, 40%, 0.6);
}

.cp-cta__title {
    margin: 0;
    font-size: clamp(2.6rem, 1.8rem + 1.4vw, 3.6rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #fff !important;
}

.cp-cta__text {
    margin: 8px 0 0;
    font-size: 1.6rem;
    color: hsla(0, 0%, 100%, 0.85);
}

.cp-cta__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.cp-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 24px;
    border-radius: 999px;
    font-size: 1.5rem;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

    .cp-btn:hover {
        transform: translateY(-2px);
    }

.cp-btn--primary {
    background: #fff;
    color: hsl(224, 100%, 40%) !important;
}

.cp-btn--ghost {
    border: 1px solid hsla(0, 0%, 100%, 0.45);
    color: #fff !important;
}

    .cp-btn--ghost:hover {
        background: hsla(0, 0%, 100%, 0.12);
    }

@media (prefers-reduced-motion: reduce) {
    .cp-steps .service-card, .cp-thumb, .cp-btn { transition: none; }
}

/* Nous Sommes : la vidéo dans un écran d'ordinateur portable moderne */
.cp-screen {
    position: relative;
    padding-bottom: 6px;
}

.cp-screen__bezel {
    position: relative;
    padding: 14px 14px 14px;
    border-radius: 18px 18px 10px 10px;
    background: linear-gradient(180deg, #1C1D24, #0E0F14);
    box-shadow:
        inset 0 0 0 1px hsla(0, 0%, 100%, 0.06),
        0 40px 70px -40px hsla(221, 40%, 15%, 0.6);
}

.cp-screen__cam {
    position: absolute;
    top: 5px;
    left: 50%;
    width: 5px;
    height: 5px;
    margin-left: -2.5px;
    border-radius: 50%;
    background: #3A3D48;
    box-shadow: 0 0 0 1px hsla(0, 0%, 100%, 0.05);
}

.cp-screen .cp-video__player {
    border-radius: 6px;
    box-shadow: none;
}

/* Base du portable : large, fine, avec une encoche */
.cp-screen__base {
    position: relative;
    height: 14px;
    margin: 0 -5%;
    border-radius: 2px 2px 14px 14px;
    background: linear-gradient(180deg, #D9DBE1 0%, #C4C7CF 55%, #A9ADB7 100%);
    box-shadow: 0 18px 30px -16px hsla(240, 20%, 15%, 0.5);
}

    .cp-screen__base::before {
        content: "";
        position: absolute;
        top: 0;
        left: 50%;
        width: 18%;
        height: 6px;
        transform: translateX(-50%);
        border-radius: 0 0 8px 8px;
        background: #B3B7C0;
    }

.cp-video__thumbs {
    margin-top: 12px;
}

/*===================================*\
  Nous Sommes : les 4 étapes sans cartes — frise horizontale
  grand numéro, pastille-icône posée sur une ligne qui relie les étapes, titre, texte
\*===================================*/
.cp-steps .grid-list {
    gap: 32px;
}

    .cp-steps .grid-list::before {
        display: none;
    }

.cp-steps .service-card,
.cp-steps .service-card:hover {
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    transform: none;
    text-align: start;
    align-items: flex-start;
}

    /* Grand numéro en filigrane */
    .cp-steps .service-card::before {
        position: static;
        display: block;
        margin-bottom: 14px;
        font-size: 5.6rem;
        font-weight: 800;
        line-height: 1;
        letter-spacing: -0.04em;
        color: transparent;
        -webkit-text-stroke: 1.5px hsla(240, 12%, 10%, 0.18);
        transition: color 0.3s ease, -webkit-text-stroke-color 0.3s ease;
    }

    .cp-steps .service-card:hover::before {
        color: hsl(240, 14%, 9%);
        -webkit-text-stroke-color: transparent;
    }

    /* Ligne de liaison + pastille-icône */
    .cp-steps .service-card .card-icon {
        position: relative;
        margin: 0 0 22px !important;
        width: 52px;
        height: 52px;
        padding: 0;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-size: 2.2rem;
        border-radius: 16px;
        box-shadow: 0 10px 22px -10px currentColor;
    }

@media (min-width: 992px) {
    .cp-steps .service-card {
        position: relative;
    }

        .cp-steps .service-card:not(:last-child)::after {
            content: "";
            position: absolute;
            top: calc(5.6rem + 14px + 26px);
            left: 68px;
            right: -20px;
            height: 2px;
            background: linear-gradient(90deg, hsla(240, 12%, 10%, 0.14), hsla(240, 12%, 10%, 0.04));
        }
}

.cp-steps .service-card .h3 {
    margin-bottom: 10px;
    font-size: 2.2rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.cp-steps .service-card .card-text {
    font-size: 1.5rem;
    line-height: 1.7;
    color: hsl(240, 6%, 42%);
}

.cp-steps .service-card .card-icon {
    width: 52px !important;
    min-width: 52px;
    max-width: 52px !important;
    height: 52px !important;
    flex: none;
    margin-inline: 0 !important;
}

    .cp-steps .service-card .card-icon ion-icon {
        font-size: 2.4rem;
    }

/* Nous Sommes : numéros des étapes pleins et nets (plus de contour cassé) */
.cp-steps .service-card::before {
    -webkit-text-stroke: 0 !important;
    color: hsla(240, 12%, 10%, 0.12);
    font-size: 4.8rem;
    font-variant-numeric: tabular-nums;
}

.cp-steps .service-card:hover::before {
    color: hsl(228, 69%, 49%);
}

/* Nous Sommes : flèches et points pour changer de vidéo */
.cp-screen .cp-nav {
    position: absolute;
    top: calc(50% - 22px);
    z-index: 3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 50%;
    background: #fff;
    color: hsl(240, 14%, 12%);
    cursor: pointer;
    box-shadow: 0 8px 20px -8px hsla(240, 20%, 10%, 0.5);
    transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

    .cp-screen .cp-nav:hover {
        background: hsl(240, 14%, 9%);
        color: #fff;
        transform: scale(1.08);
    }

.cp-nav--prev { left: -20px; }
.cp-nav--next { right: -20px; }

.cp-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 18px;
}

.cp-dot {
    width: 8px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: hsla(240, 10%, 10%, 0.2);
    cursor: pointer;
    transition: width 0.3s ease, background-color 0.3s ease;
}

    .cp-dot.is-on {
        width: 26px;
        background: hsl(228, 69%, 49%);
    }

/*===================================*\
  Toutes les pages produits : la tablette devient le même ordinateur portable
  (cadre noir fin, caméra, socle argenté) + transitions en fondu (plus de vidéos coupées en deux)
\*===================================*/
.tablet {
    position: relative;
    padding-bottom: 20px;
}

    .tablet .tablet-button,
    .tablet .home-indicator {
        display: none;
    }

    .tablet .tablet-body {
        padding: 6px;
        border-radius: 18px 18px 10px 10px;
        background: linear-gradient(180deg, #1C1D24, #0E0F14);
        box-shadow: inset 0 0 0 1px hsla(0, 0%, 100%, 0.06), 0 40px 70px -40px hsla(221, 40%, 15%, 0.6);
    }

    .tablet .screen-content {
        margin: 8px;
        border-radius: 6px;
    }

    .tablet .tablet-camera {
        top: 5px;
        width: 5px;
        height: 5px;
        background: #3A3D48;
    }

    /* Socle du portable */
    .tablet .tablet-depth {
        top: auto;
        bottom: 6px;
        left: -5%;
        width: 110%;
        height: 14px;
        transform: none;
        border-radius: 2px 2px 14px 14px;
        background: linear-gradient(180deg, #D9DBE1 0%, #C4C7CF 55%, #A9ADB7 100%);
        box-shadow: 0 18px 30px -16px hsla(240, 20%, 15%, 0.5);
    }

        .tablet .tablet-depth::before {
            content: "";
            position: absolute;
            top: 0;
            left: 50%;
            width: 18%;
            height: 6px;
            transform: translateX(-50%);
            border-radius: 0 0 8px 8px;
            background: #B3B7C0;
        }

    /* Carrousel en fondu */
    .tablet .carousel-item {
        transition: opacity 0.5s ease !important;
        transform: none !important;
        opacity: 0;
    }

        .tablet .carousel-item.active,
        .tablet .carousel-item-next.carousel-item-start,
        .tablet .carousel-item-prev.carousel-item-end {
            opacity: 1;
            z-index: 1;
        }

    .tablet .active.carousel-item-start,
    .tablet .active.carousel-item-end {
        opacity: 0;
        z-index: 0;
        transition: opacity 0s 0.5s !important;
    }

    /* Flèches et points du carrousel, comme sur Nous Sommes */
    .tablet .carousel-control-prev,
    .tablet .carousel-control-next {
        top: 50%;
        bottom: auto;
        width: 40px;
        height: 40px;
        margin-top: -20px;
        border-radius: 50%;
        background: #fff;
        opacity: 0.9;
        box-shadow: 0 8px 20px -8px hsla(240, 20%, 10%, 0.5);
    }

    .tablet .carousel-control-prev { left: 12px; }
    .tablet .carousel-control-next { right: 12px; }

        .tablet .carousel-control-prev-icon,
        .tablet .carousel-control-next-icon {
            width: 16px;
            height: 16px;
            filter: invert(1);
        }

    .tablet .carousel-indicators [data-bs-target] {
        width: 8px;
        height: 8px;
        border: 0;
        border-radius: 999px;
        transition: width 0.3s ease, background-color 0.3s ease;
    }

    .tablet .carousel-indicators .active {
        width: 24px;
        background-color: hsl(228, 69%, 49%);
    }

/* Numéros des étapes plus visibles, noir au survol */
.cp-steps .service-card::before {
    color: hsla(240, 12%, 10%, 0.28) !important;
}

.cp-steps .service-card:hover::before {
    color: hsl(240, 14%, 9%) !important;
}

/* Flèches de la vidéo à l'intérieur de l'écran */
.cp-nav--prev { left: 28px; }
.cp-nav--next { right: 28px; }

.cp-screen .cp-nav {
    top: calc(50% - 26px);
    width: 38px;
    height: 38px;
    background: hsla(0, 0%, 100%, 0.85);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
}

/* Nous Sommes : plus d'espace entre le haut de page et les étapes 01 → 04 */
.cp-steps.section.service.pt-0 {
    padding-top: 64px !important;
}

/* Écran du portable plus petit (Nous Sommes + pages produits) */
@media (min-width: 992px) {
    .cp-video,
    .tablet {
        width: 86%;
        margin-inline-start: auto;
        margin-inline-end: 4%;
    }
}

/* Nous Sommes : les 4 étapes réparties sur toute la largeur (04 aligné sur le bord droit) */
@media (min-width: 992px) {
    .cp-steps .grid-list {
        display: grid !important;
        grid-template-columns: repeat(4, minmax(0, 300px));
        justify-content: space-between;
        gap: 32px;
    }

        .cp-steps .service-card:not(:last-child)::after {
            right: -56px;
        }
}

/* Barre de navigation : légère ombre en dessous */
.header {
    box-shadow: 0 1px 0 hsla(240, 12%, 10%, 0.04), 0 6px 18px -10px hsla(221, 30%, 20%, 0.22) !important;
}

    .header.x26-scrolled {
        box-shadow: 0 1px 0 hsla(240, 12%, 10%, 0.05), 0 10px 28px -12px hsla(221, 30%, 20%, 0.3) !important;
    }

/*===================================*\
  Panneau « Métiers » : même UI que la Nouvelle UI
  titre en petites capitales, 3 colonnes de texte simple, panneau verre blanc
\*===================================*/
@media (min-width: 992px) {
    .navbar-list > li.dropdown > .dropdown-list:not([style]) {
        width: 640px;
        padding: 26px 26px 22px;
        gap: 6px 28px;
        border-radius: 20px;
        border: 1px solid hsla(240, 12%, 10%, 0.06);
        background: hsla(0, 0%, 100%, 0.96);
        -webkit-backdrop-filter: blur(16px);
        backdrop-filter: blur(16px);
        box-shadow: 0 30px 60px -24px hsla(221, 30%, 20%, 0.3);
    }

        /* Titre du panneau */
        .navbar-list > li.dropdown > .dropdown-list:not([style])::after {
            content: "Une solution pour chaque métier";
            grid-column: 1 / -1;
            order: -1;
            margin-bottom: 8px;
            font-size: 1.2rem;
            font-weight: 600;
            letter-spacing: 0.12em;
            text-transform: uppercase;
            color: hsl(240, 6%, 60%);
        }

    html[lang="en"] .navbar-list > li.dropdown > .dropdown-list:not([style])::after {
        content: "A solution for every business";
    }

    html[lang="ar"] .navbar-list > li.dropdown > .dropdown-list:not([style])::after {
        content: "حل لكل مهنة";
        letter-spacing: 0;
    }

            /* Liens : texte simple, pas de pastille */
            .navbar-list > li.dropdown > .dropdown-list:not([style]) > li > a {
                padding: 7px 0;
                border-radius: 0;
                background: none !important;
                font-size: 1.5rem;
                font-weight: 400;
                line-height: 1.35;
                color: hsl(240, 12%, 20%) !important;
            }

                .navbar-list > li.dropdown > .dropdown-list:not([style]) > li > a:hover {
                    background: none !important;
                    color: hsl(240, 14%, 6%) !important;
                    text-decoration: underline !important;
                    text-underline-offset: 4px;
                    text-decoration-thickness: 1px;
                }
}

/* Panneau « Métiers » : survol bien visible (fond gris doux + texte rouge IntelliX + petite flèche) */
@media (min-width: 992px) {
    .navbar-list > li.dropdown > .dropdown-list:not([style]) > li > a {
        position: relative;
        margin-inline: -10px;
        padding: 7px 10px !important;
        border-radius: 8px !important;
        transition: background-color 0.15s ease, color 0.15s ease, padding 0.2s ease !important;
    }

        .navbar-list > li.dropdown > .dropdown-list:not([style]) > li > a:hover {
            padding-inline-start: 16px !important;
            background: hsl(240, 14%, 96%) !important;
            color: hsl(228, 69%, 45%) !important;
            text-decoration: none !important;
        }
}

/*===================================*\
  Menus « Logiciels » et « Métiers » : même UI que la Nouvelle UI
\*===================================*/
.xn-drop {
    position: relative;
}

.xn-trigger::after {
    display: none !important;
}

.xn-trigger::before {
    content: "";
    order: 2;
    display: inline-block;
    width: 6px;
    height: 6px;
    margin-inline-start: 7px;
    margin-top: -3px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg);
    opacity: 0.55;
    transition: transform 0.2s ease;
}

.xn-drop:hover > .xn-trigger::before,
.xn-drop:focus-within > .xn-trigger::before {
    transform: translateY(3px) rotate(225deg);
}

.xn-panel {
    display: none;
    text-align: start;
}

@media (min-width: 992px) {
    .xn-panel {
        position: absolute;
        top: calc(100% + 14px);
        left: 50%;
        z-index: 20;
        display: block;
        padding: 14px;
        border-radius: 20px;
        border: 1px solid hsla(240, 12%, 10%, 0.07);
        background: #fff;
        box-shadow: 0 40px 70px -30px hsla(240, 20%, 8%, 0.35);
        opacity: 0;
        visibility: hidden;
        transform: translate(-50%, 8px);
        transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
    }

        /* Zone invisible entre le lien et le panneau */
        .xn-panel::before {
            content: "";
            position: absolute;
            left: 0;
            right: 0;
            top: -16px;
            height: 16px;
        }

    .xn-drop:hover > .xn-panel,
    .xn-drop:focus-within > .xn-panel {
        opacity: 1;
        visibility: visible;
        transform: translate(-50%, 0);
    }

    .xn-panel--soft { width: 720px; }
    .xn-panel--jobs { width: 600px; }
}

.xn-title {
    padding: 4px 8px 10px;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #9AA0AC;
}

/* Logiciels : icône colorée + titre + description */
.xn-soft-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2px 6px;
}

.xn-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 8px;
    border-radius: 12px;
    text-decoration: none;
    transition: background-color 0.15s ease;
}

    .xn-item:hover,
    .xn-item:focus-visible {
        background: #F7F8FA;
    }

.xn-ic {
    display: flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 9px;
    color: var(--c);
    background: color-mix(in srgb, var(--c) 12%, #FFFFFF);
    transition: transform 0.25s ease;
}

.xn-item:hover .xn-ic {
    transform: scale(1.08) rotate(-4deg);
}

.xn-item em {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    font-style: normal;
}

.xn-item strong {
    font-size: 1.35rem;
    font-weight: 600;
    color: #07080C;
    transition: color 0.15s ease;
}

.xn-item small {
    font-size: 1.15rem;
    line-height: 1.35;
    color: #5B616E;
}

.xn-item:hover strong {
    color: #2F5BEA;
}

.xn-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 8px;
    padding: 10px 12px;
    border-radius: 12px;
    background: #F7F8FA;
}

    .xn-foot small {
        font-size: 1.25rem;
        color: #5B616E;
    }

    .xn-foot a {
        display: inline-flex;
        gap: 6px;
        font-size: 1.25rem;
        font-weight: 600;
        color: #2F5BEA !important;
        white-space: nowrap;
        text-decoration: none;
    }

        .xn-foot a:hover {
            text-decoration: underline;
            text-underline-offset: 4px;
        }

/* Métiers : liste simple en 3 colonnes */
.xn-jobs-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2px 6px;
}

    .xn-jobs-grid a {
        padding: 7px 10px;
        border-radius: 8px;
        font-size: 1.35rem;
        color: #07080C;
        text-decoration: none;
        transition: background-color 0.15s ease, color 0.15s ease;
    }

        .xn-jobs-grid a:hover {
            background: #F7F8FA;
            color: #2F5BEA;
        }

/* Mobile : le panneau s'affiche sous le lien quand on le touche */
@media (max-width: 991.98px) {
    .xn-drop:focus-within > .xn-panel,
    .xn-drop:hover > .xn-panel {
        display: block;
        padding: 6px 0 10px;
    }

    .xn-soft-grid,
    .xn-jobs-grid {
        grid-template-columns: 1fr;
    }

    .xn-foot {
        display: none;
    }
}

/* « Logiciels » et « Métiers » : même couleur que les autres liens du menu */
.navbar-link.xn-trigger {
    color: hsl(240, 6%, 10%) !important;
    display: inline-flex !important;
    align-items: center;
}

/* Pied du menu Logiciels : seulement le lien, aligné à droite */
.xn-foot {
    justify-content: flex-end;
}

/* Pied du menu Logiciels : sans fond gris */
.xn-foot {
    background: transparent;
    padding: 8px 8px 2px;
}

/* « Logiciels » et « Métiers » : même soulignement dégradé au survol que les autres liens */
@media (min-width: 992px) {
    .navbar-link.xn-trigger {
        position: relative;
    }

        .navbar-link.xn-trigger::after {
            content: "" !important;
            display: block !important;
            position: absolute;
            left: 0;
            bottom: 2px;
            width: 100%;
            height: 2px;
            border-radius: 2px;
            background-image: var(--gradient);
            transform: scaleX(0);
            transform-origin: left;
            transition: transform 0.5s ease;
        }

    .xn-drop:hover > .navbar-link.xn-trigger::after,
    .navbar-link.xn-trigger:focus-visible::after {
        transform: scaleX(1);
    }
}

/* Page d'accueil : pas d'ombre sous le menu (le héros commence directement) */
body:has(.hx-main-hero) .header:not(.x26-scrolled) {
    box-shadow: none !important;
}

/* Survol des menus Logiciels / Métiers : simple (fond gris doux, texte rouge IntelliX) */
.xn-item:hover,
.xn-item:focus-visible,
.xn-jobs-grid a:hover {
    background: #F5F6F8 !important;
}

    .xn-item:hover strong,
    .xn-jobs-grid a:hover {
        color: #2F5BEA !important;
    }

/* Sous-menu « Plus » : même style que Logiciels / Métiers */
@media (min-width: 992px) {
    .navbar-list > li.dropdown > .dropdown-list[style] {
        width: 210px !important;
        padding: 10px !important;
        border-radius: 20px;
        border: 1px solid hsla(240, 12%, 10%, 0.07);
        background: #fff;
        box-shadow: 0 40px 70px -30px hsla(240, 20%, 8%, 0.35);
    }

        .navbar-list > li.dropdown > .dropdown-list[style] > li > a {
            padding: 8px 12px !important;
            border-radius: 10px;
            font-size: 1.4rem;
            font-weight: 500;
            color: #07080C !important;
            background: transparent !important;
        }

            .navbar-list > li.dropdown > .dropdown-list[style] > li > a:hover {
                background: #F5F6F8 !important;
                color: #2F5BEA !important;
            }
}

/* Ombre sous le menu plus légère (autres pages) */
.header {
    box-shadow: 0 1px 0 hsla(240, 12%, 10%, 0.025), 0 4px 12px -10px hsla(221, 30%, 20%, 0.14) !important;
}

    .header.x26-scrolled {
        box-shadow: 0 1px 0 hsla(240, 12%, 10%, 0.03), 0 8px 22px -14px hsla(221, 30%, 20%, 0.2) !important;
    }

body:has(.hx-main-hero) .header:not(.x26-scrolled) {
    box-shadow: none !important;
}

/*===================================*\
  Boutons flottants (partager / haut de page) : pastilles blanches espacées, bulle au survol
\*===================================*/
.go-top,
.go-assistance {
    right: 24px !important;
    width: 46px !important;
    height: 46px !important;
    padding: 0 !important;
    border: 1px solid hsla(240, 12%, 10%, 0.08) !important;
    border-radius: 50% !important;
    background: hsla(0, 0%, 100%, 0.9) !important;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    color: hsl(240, 14%, 12%) !important;
    box-shadow: 0 10px 24px -12px hsla(240, 20%, 10%, 0.35) !important;
    animation: none !important;
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), background-color 0.2s ease, color 0.2s ease !important;
}

    .go-top ion-icon,
    .go-assistance ion-icon {
        font-size: 20px !important;
        color: inherit;
    }

.go-top {
    bottom: 24px !important;
}

.go-assistance {
    bottom: 84px !important;
}

    .go-top:hover,
    .go-assistance:hover {
        transform: translateY(-2px) scale(1.06);
        background: hsl(240, 14%, 9%) !important;
        color: #fff !important;
    }

    /* Bulle avec le libellé (attribut title) à gauche du bouton */
    .go-top::after,
    .go-assistance::after {
        content: attr(title);
        position: absolute;
        right: calc(100% + 12px);
        top: 50%;
        padding: 6px 10px;
        border-radius: 8px;
        background: hsl(240, 14%, 9%);
        color: #fff;
        font-size: 1.25rem;
        font-weight: 500;
        white-space: nowrap;
        opacity: 0;
        pointer-events: none;
        transform: translate(6px, -50%);
        transition: opacity 0.2s ease, transform 0.2s ease;
    }

    .go-top:hover::after,
    .go-assistance:hover::after {
        opacity: 1;
        transform: translate(0, -50%);
    }

[dir="rtl"] .go-top,
[dir="rtl"] .go-assistance {
    right: auto !important;
    left: 24px !important;
}

    [dir="rtl"] .go-top::after,
    [dir="rtl"] .go-assistance::after {
        right: auto;
        left: calc(100% + 12px);
    }

/* Boutons flottants : noirs et un peu plus petits (espacement conservé) */
.go-top,
.go-assistance {
    width: 40px !important;
    height: 40px !important;
    border: 0 !important;
    background: hsl(240, 14%, 9%) !important;
    color: #fff !important;
    box-shadow: 0 8px 20px -8px hsla(240, 20%, 10%, 0.5) !important;
}

    .go-top ion-icon,
    .go-assistance ion-icon {
        font-size: 17px !important;
    }

.go-top { bottom: 24px !important; }
.go-assistance { bottom: 78px !important; }

    .go-top:hover,
    .go-assistance:hover {
        background: hsl(240, 14%, 18%) !important;
    }

/* Nous Sommes : les 4 étapes centrées (numéro, icône, titre, texte), lignes reliant les icônes */
.cp-steps .service-card,
.cp-steps .service-card:hover {
    align-items: center;
    text-align: center;
}

    .cp-steps .service-card .card-icon {
        margin-inline: auto !important;
    }

    .cp-steps .service-card .card-text {
        max-width: 290px;
        margin-inline: auto;
    }

@media (min-width: 992px) {
    .cp-steps .grid-list {
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
        justify-content: stretch;
        gap: 32px;
    }

        .cp-steps .service-card:not(:last-child)::after {
            left: calc(50% + 40px);
            right: calc(-50% - 32px + 40px);
        }
}

/*===================================*\
  Page Politique de confidentialité
\*===================================*/
/* Titre lisible sur le fond sombre */
.privacy-hero h1 {
    color: #fff !important;
}

/* La carte de contenu ne reprend pas l'ancien style « .card » du site (gros espace en haut, flottement) */
.privacy-card {
    padding: 0 !important;
    animation: none !important;
    border: 1px solid hsla(240, 12%, 10%, 0.06) !important;
    border-radius: 20px !important;
    box-shadow: 0 10px 30px -20px hsla(240, 20%, 15%, 0.25) !important;
}

/* Puces des listes visibles */
.privacy-page .card-body ul:not(.list-unstyled) {
    padding-inline-start: 22px;
    list-style: disc;
}

.privacy-toc-inner {
    border-radius: 18px !important;
}

.privacy-page .card-body ul:not(.list-unstyled) > li {
    display: list-item;
    list-style: disc;
}

    .privacy-page .card-body ul:not(.list-unstyled) > li::marker {
        color: hsl(228, 69%, 49%);
    }

/* Sur la page de confidentialité, le menu est blanc opaque (pas grisé par le bandeau sombre) */
body:has(.privacy-hero) .header {
    background-color: #FFFFFF !important;
}

/* Nous Sommes : la frise continue avant l'étape 01 et après l'étape 04 (ligne qui s'estompe) */
@media (min-width: 992px) {
    .cp-steps .grid-list {
        position: relative;
    }

        .cp-steps .grid-list::before,
        .cp-steps .grid-list::after {
            content: "";
            display: block !important;
            position: absolute;
            top: calc(4.8rem + 14px + 26px);
            width: calc(12.5% - 40px + 48px);
            height: 2px;
            border: 0 !important;
            pointer-events: none;
        }

        .cp-steps .grid-list::before {
            left: -48px;
            background: linear-gradient(90deg, hsla(240, 12%, 10%, 0), hsla(240, 12%, 10%, 0.14));
        }

        .cp-steps .grid-list::after {
            right: -48px;
            background: linear-gradient(90deg, hsla(240, 12%, 10%, 0.14), hsla(240, 12%, 10%, 0));
        }
}

/* Extrémités de la frise : vert avant 01 (couleur de l'icône), rose après 04 */
@media (min-width: 992px) {
    .cp-steps .grid-list::before {
        background: linear-gradient(90deg, rgba(19, 196, 161, 0), #13C4A1) !important;
    }

    .cp-steps .grid-list::after {
        background: linear-gradient(90deg, #FC3549, rgba(252, 53, 73, 0)) !important;
    }
}

/* Bandeau de la page de confidentialité : même dégradé violet que le bandeau « Essayez nos produits » */
.privacy-hero {
    background: var(--gradient-2) !important;
}

    .privacy-hero .privacy-eyebrow {
        color: rgba(255, 255, 255, 0.75);
    }

    .privacy-hero .privacy-hero-text {
        color: rgba(255, 255, 255, 0.88);
    }

    .privacy-hero .privacy-badge {
        background: rgba(255, 255, 255, 0.14);
        border-color: rgba(255, 255, 255, 0.28);
    }


/*===================================*\
  Blog : cartes d'origine conservées — seules les catégories et le bouton changent
\*===================================*/

/* Catégories : pastilles grises sobres avec un petit point rouge, au lieu de l'étiquette violette */
.blogCard .left-section > p[style*="font-weight"] {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

    .blogCard .left-section > p[style*="font-weight"] > a {
        display: inline-flex;
        align-items: center;
        gap: 7px;
        margin: 0 !important;
        padding: 5px 12px;
        border-radius: 999px;
        border: 1px solid hsla(240, 12%, 10%, 0.10);
        background: #fff;
        font-size: 1.3rem;
        font-weight: 500;
        color: hsl(240, 10%, 25%) !important;
        transition: border-color 0.2s ease, background-color 0.2s ease;
    }

        .blogCard .left-section > p[style*="font-weight"] > a .fa-tag {
            display: none;
        }

        .blogCard .left-section > p[style*="font-weight"] > a::before {
            content: "";
            width: 6px;
            height: 6px;
            border-radius: 50%;
            background: hsl(228, 69%, 49%);
        }

        .blogCard .left-section > p[style*="font-weight"] > a:hover {
            border-color: hsla(240, 12%, 10%, 0.25);
            background: hsl(240, 14%, 97%);
            color: hsl(240, 14%, 9%) !important;
        }

/* Bouton « Lire la suite » : pilule noire avec flèche, au lieu du dégradé violet */
.blogCard .show-more .btnCss {
    display: inline-flex !important;
    align-items: center;
    gap: 10px;
    padding: 11px 20px !important;
    border-radius: 999px !important;
    background: hsl(240, 14%, 9%) !important;
    box-shadow: 0 8px 20px -10px hsla(240, 20%, 10%, 0.6) !important;
    color: #fff !important;
    font-size: 1.4rem;
    font-weight: 600;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

    .blogCard .show-more .btnCss::after {
        content: "\2192";
        transition: transform 0.2s ease;
    }

    .blogCard .show-more .btnCss:hover {
        background: hsl(228, 69%, 45%) !important;
        transform: translateY(-1px);
    }

        .blogCard .show-more .btnCss:hover::after {
            transform: translateX(3px);
        }

/* Blog : cartes aux coins arrondis (image comprise) */
.blogCard {
    border-radius: 20px !important;
    overflow: hidden;
}

    .blogCard .blog-image-container {
        border-radius: 0 !important;
    }


/*===================================*\
  Page article du blog : mise en page d'origine, juste plus propre
\*===================================*/
.bd-classic > .container > .container {
    max-width: 860px;
}

/* Grande image : arrondie, ombre douce */
.bd-classic img.img-fluid:first-of-type {
    border-radius: 16px !important;
    box-shadow: 0 20px 40px -28px hsla(240, 20%, 15%, 0.4);
    object-fit: cover;
}

/* Catégories : pastilles sobres au lieu de l'étiquette violette */
.bd-classic .container .container > p[style*="font-weight: 500"] > a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 4px 11px;
    border-radius: 999px;
    border: 1px solid hsla(240, 12%, 10%, 0.1);
    background: #fff;
    font-size: 1.3rem;
}

    .bd-classic .container .container > p[style*="font-weight: 500"] > a .fa-tag {
        display: none;
    }

    .bd-classic .container .container > p[style*="font-weight: 500"] > a::before {
        content: "";
        width: 6px;
        height: 6px;
        border-radius: 50%;
        background: hsl(228, 69%, 49%);
    }

/* Titre et séparateur plus fins */
.bd-classic h1 {
    margin-top: 6px;
    font-size: clamp(2.6rem, 2rem + 1vw, 3.4rem) !important;
    letter-spacing: -0.01em;
}

.bd-classic hr {
    border: 0 !important;
    border-top: 1px solid hsla(240, 12%, 10%, 0.1) !important;
    opacity: 1;
    margin: 16px 0 24px;
}

/* Contenu : lecture confortable */
.bd-classic h2 {
    margin-top: 30px;
    font-size: 2.2rem !important;
}

.bd-classic p,
.bd-classic li {
    font-size: 1.6rem;
    line-height: 1.8;
    color: hsl(240, 6%, 32%);
}

.bd-classic .container .container ul:not([style]) > li {
    display: list-item;
    list-style: disc;
}

    .bd-classic .container .container ul:not([style]) > li::marker {
        color: hsl(228, 69%, 49%);
    }

/* Images de section arrondies */
.bd-classic img.mt-5.mb-4 {
    border-radius: 14px !important;
}

/* Articles liés : titre et flèches sans violet */
.bd-classic .related-blogs h4 {
    color: hsl(240, 14%, 9%) !important;
}

.bd-classic .related-blogs li > span {
    color: hsl(228, 69%, 49%) !important;
}

/* Articles liés : flèche alignée sur la ligne du titre */
.bd-classic .related-blogs li {
    display: flex !important;
    align-items: center;
    gap: 10px;
    padding-left: 0 !important;
}

    .bd-classic .related-blogs li > span {
        position: static !important;
        font-size: 1.6rem !important;
        line-height: 1 !important;
    }

/* Séparateur sous le titre de l'article : fin, gris clair, qui s'estompe vers la droite */
.bd-classic hr.bd-sep {
    height: 1px;
    margin: 18px 0 28px;
    border: 0 !important;
    background: linear-gradient(90deg, hsla(240, 12%, 10%, 0.14), hsla(240, 12%, 10%, 0));
    opacity: 1;
}
