/* ============================================================
   EFFETS 3D — P&BEntreprise
   Tilt au survol, flottement, profondeur, parallaxe souris
   ============================================================ */

/* ================================================================
   HEADER — Glassmorphism au scroll (.primary-header.fixed)
   ================================================================ */

/* Fond glassmorphism remplace le blanc au scroll */
.header-3 .primary-header.fixed {
    background: rgba(18, 18, 18, 0.62) !important;
    -webkit-backdrop-filter: blur(26px) saturate(1.5);
    backdrop-filter: blur(26px) saturate(1.5);
    border-bottom: 1px solid rgba(255, 255, 255, 0.10);
    box-shadow: 0 6px 32px rgba(0, 0, 0, 0.28) !important;
}

/* Inner transparent (son propre fond blanc disparaît) */
.header-3 .primary-header.fixed .primary-header-inner {
    background: transparent !important;
    border-radius: 0 !important;
}

/* Liens nav → blanc */
.header-3 .primary-header.fixed .header-menu-wrap ul li>a {
    color: #ffffff !important;
}

.header-3 .primary-header.fixed .header-menu-wrap ul li>a:hover,
.header-3 .primary-header.fixed .header-menu-wrap ul li.active>a {
    color: #EC281C !important;
}

/* Dropdown — conteneur sombre */
.header-3 .primary-header.fixed .primary-header-inner .header-menu-wrap ul li ul {
    background: rgba(18, 18, 18, 0.92) !important;
    -webkit-backdrop-filter: blur(20px) saturate(1.4);
    backdrop-filter: blur(20px) saturate(1.4);
    border: 1px solid rgba(255, 255, 255, 0.10) !important;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45) !important;
}

/* Dropdown — items : fond transparent + texte blanc */
.header-3 .primary-header.fixed .primary-header-inner .header-menu-wrap ul li li a {
    background-color: transparent !important;
    color: rgba(255, 255, 255, 0.88) !important;
}

/* Dropdown — hover : fond rouge tenu + texte blanc */
.header-3 .primary-header.fixed .primary-header-inner .header-menu-wrap ul li li a:hover {
    background-color: rgba(236, 40, 28, 0.18) !important;
    color: #ffffff !important;
}

/* Dropdown — pseudo-element ::before (barre rouge survol) masqué */
.header-3 .primary-header.fixed .primary-header-inner .header-menu-wrap ul li li a:before {
    display: none !important;
}

/* Icônes hamburger → blanc */
.header-3 .primary-header.fixed .sidebar-icon-2 .sidebar-trigger span {
    background-color: #ffffff !important;
}

/* Fallback sans backdrop-filter */
@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
    .header-3 .primary-header.fixed {
        background: rgba(18, 18, 18, 0.94) !important;
    }
}

/* ---- Conteneurs perspective globaux ---- */

.team-section-3--card-3d {
    perspective: 1200px;
}

/* Background carte.png en filigrane sur la section */
.team-section-3--card-3d::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background-image: url('../img/cart.png');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    opacity: 0.18;
    pointer-events: none;
}

/* ================================================================
   DEMO CARDS — section team-section-3 (second fade-wrapper)
   Style : app icon + titre + desc + bouton outline
   ================================================================ */

.pb-demo-card {
    background: rgba(255, 255, 255, 0.94);
    -webkit-backdrop-filter: blur(10px) saturate(1.2);
    backdrop-filter: blur(10px) saturate(1.2);
    border: 1px solid rgba(255, 255, 255, 0.95);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 1);
    border-radius: 20px;
    padding: 22px 18px 18px;
    text-align: center;
    height: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 14px;
    transition: box-shadow 0.35s ease, background 0.35s ease, border-color 0.35s ease;
    cursor: default;
}

@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
    .pb-demo-card {
        background: rgba(255, 255, 255, 0.98);
    }
}

.pb-demo-card__icon {
    width: 76px;
    height: 76px;
    background: #00000041;
    border-radius: 22px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    margin-bottom: 6px;
    flex-shrink: 0;
    transition: transform 0.35s cubic-bezier(0.23, 1, 0.32, 1),
        background 0.3s ease;
}

.pb-demo-card__icon i {
    font-size: 32px;
    color: #ffffff;
}

.pb-demo-card__title {
    font-size: 18px;
    font-weight: 700;
    color: #111111;
    margin: 0;
    line-height: 1.3;
}

.pb-demo-card__desc {
    font-size: 14px;
    color: #6b7280;
    margin: 0;
    line-height: 1.65;
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
}

.pb-demo-card__btn {
    margin-top: 8px;
    display: inline-block;
    padding: 12px 30px;
    border: 2px solid #85858541;
    background: #85858541;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    color: #111111;
    text-decoration: none;
    transition: background 0.25s ease, color 0.25s ease,
        border-color 0.25s ease, transform 0.25s ease;
    flex-shrink: 0;
}

/* Hover global de la carte — glass plus prononcé */
.team-section-3--card-3d .row.fade-wrapper>[class*="col-"]:hover .pb-demo-card {
    background: rgba(255, 255, 255, 0.88);
    border-color: rgba(255, 255, 255, 1);
    box-shadow:
        0 20px 56px rgba(0, 0, 0, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 1);
}

/* Hover bouton */
.pb-demo-card:hover .pb-demo-card__btn,
.team-section-3--card-3d .row.fade-wrapper>[class*="col-"]:hover .pb-demo-card__btn {
    background: #111111d5;
    color: #ffffff;
    transform: translateY(-2px);
}

/* Hover icône */
.team-section-3--card-3d .row.fade-wrapper>[class*="col-"]:hover .pb-demo-card__icon {
    background: #ec261cd0;
    transform: translateY(-4px) scale(1.06);
}

/* Responsive */
@media (max-width: 991px) {
    .pb-demo-card {
        padding: 32px 22px 26px;
    }
}

@media (max-width: 575px) {
    .pb-demo-card {
        padding: 28px 18px 22px;
    }

    .pb-demo-card__icon {
        width: 64px;
        height: 64px;
        border-radius: 18px;
    }

    .pb-demo-card__icon i {
        font-size: 26px;
    }
}

.process-section-2 {
    perspective: 1200px;
}

/* ================================================================
   CARTES SERVICES — bouton glassmorphism en pied de carte
   ================================================================ */
.service-item-3 {
    position: relative;
    padding-bottom: 28px;
    overflow: visible !important;
    background: rgba(255, 255, 255, 0.35) !important;
    border: 1px solid rgba(255, 255, 255, 0.55) !important;
    -webkit-backdrop-filter: blur(16px) saturate(1.3);
    backdrop-filter: blur(16px) saturate(1.3);
    box-shadow:
        0 4px 24px rgba(0, 0, 0, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.6) !important;
}

.service-section-3--card-3d .service-item-3::before {
    content: "" !important;
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    /* S’arrête au-dessus du bouton .pb-service-glass-btn (bottom: -22px, ~46px de haut) */
    bottom: 55px;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, #ffc9c4 0%, #f76962 50%, #cf3d38 100%);
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0 !important;
    transition: opacity 0.35s ease;
    pointer-events: none;
    z-index: 4;
}

.service-section-3--card-3d .service-item-3:hover::before {
    opacity: 1 !important;
}

.service-item-3 .service-content {
    background-color: transparent !important;
}

.service-item-3 .service-thumb {
    background: rgba(255, 255, 255, 0.18);
}

.service-item-3 .service-thumb .icon {
    background-color: transparent !important;
    background: rgba(255, 255, 255, 0.418) !important;
    -webkit-backdrop-filter: blur(16px) saturate(1.5);
    backdrop-filter: blur(16px) saturate(1.3);
    border-right: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.5),
        2px 0 12px rgba(0, 0, 0, 0.04);
}

@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
    .service-item-3 .service-thumb .icon {
        background: rgba(254, 239, 238, 0.85) !important;
    }
}

@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
    .service-item-3 {
        background: rgba(255, 255, 255, 0.82) !important;
    }
}

.pb-service-glass-btn {
    position: absolute;
    bottom: -22px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    display: inline-block;
    width: 65%;
    padding: 13px 0;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
    text-decoration: none;
    border-radius: 12px;
    background: rgba(28, 28, 28, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.15);
    -webkit-backdrop-filter: blur(22px) saturate(1.4);
    backdrop-filter: blur(22px) saturate(1.4);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.12);
    transition: background 0.3s ease, color 0.3s ease,
        border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.pb-service-glass-btn:hover {
    background: rgba(28, 28, 28, 0.72);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.30);
    box-shadow:
        0 12px 40px rgba(0, 0, 0, 0.45),
        inset 0 1px 0 rgba(255, 255, 255, 0.18);
    transform: translateX(-50%) translateY(-2px);
}

@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
    .pb-service-glass-btn {
        background: rgba(28, 28, 28, 0.88);
    }
}

/* ================================================================
   CARTES PROMO — profondeur 3D
   ================================================================ */
.promo-item {
    transform-style: preserve-3d;
    transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1),
        box-shadow 0.5s ease;
    will-change: transform;
    position: relative;
}

.promo-item:hover {
    box-shadow:
        -18px 30px 70px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(236, 40, 28, 0.2);
}

/* Image de fond zoome légèrement */
.promo-item .bg-img img {
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.promo-item:hover .bg-img img {
    transform: scale(1.08);
}

/* Titre flotte vers l'avant */
.promo-item .title {
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    transform-style: preserve-3d;
}

.promo-item:hover .title {
    transform: translateZ(30px);
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

/* Bouton flotte encore plus vers l'avant */
.promo-item .bz-primary-btn {
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1) !important;
    transform-style: preserve-3d;
}

.promo-item:hover .bz-primary-btn {
    transform: translateZ(50px) !important;
}

/* ================================================================
   PIÈCES SUZUKI (process-item) — tilt + révélation
   ================================================================ */
.process-item {
    transform-style: preserve-3d;
    transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1),
        box-shadow 0.5s ease;
    will-change: transform;
}

.process-item:hover {
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.22);
}

.process-item .process-thumb img {
    transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.process-item:hover .process-thumb img {
    transform: scale(1.06) translateZ(0);
}

.process-item .process-thumb span {
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    transform-style: preserve-3d;
}

.process-item:hover .process-thumb span {
    transform: translateZ(30px) scale(1.08);
}

/* ================================================================
   ÉQUIPE — flip 3D au survol
   ================================================================ */
.team-section-3--card-3d .team-card {
    transform-style: preserve-3d;
    transition: transform 0.55s cubic-bezier(0.23, 1, 0.32, 1),
        box-shadow 0.55s ease;
    will-change: transform;
    overflow: hidden;
}

.team-section-3--card-3d .team-card:hover {
    box-shadow:
        -10px 30px 60px rgba(0, 0, 0, 0.45),
        0 0 0 2px rgba(236, 40, 28, 0.25);
}

.team-card .team-content,
.team-card .hover-content-wrap {
    transform-style: preserve-3d;
}

.team-card:hover .hover-content {
    transform: translateZ(20px);
}

/* ================================================================
   COMPTEURS — 3D tilt + profondeur
   ================================================================ */
.team-counter {
    transform-style: preserve-3d;
    transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    will-change: transform;
    cursor: default;
}

.team-counter:hover {
    transform: perspective(600px) rotateY(12deg) rotateX(-5deg) translateZ(15px) scale(1.04);
}

.team-counter .icon {
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    transform-style: preserve-3d;
}

.team-counter:hover .icon {
    transform: translateZ(25px) rotateY(-10deg);
}

.team-counter .content h3 {
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    transform-style: preserve-3d;
}

.team-counter:hover .content h3 {
    transform: translateZ(20px);
}

/* ================================================================
   IMAGE ABOUT — animations retirées
   ================================================================ */
.about-img-3d-scroll,
.about-img-3d-scroll:hover,
.about-img-3.about-img-3d-scroll,
.about-img-3.about-img-3d-scroll.is-inview {
    transform: none !important;
    box-shadow: none !important;
    transition: none !important;
    will-change: auto;
}

.about-img-3d-scroll .about-img-zoom,
.about-img-3d-scroll:hover .about-img-zoom,
.about-img-3.is-inview .about-img-zoom:hover {
    transform: none !important;
    transition: none !important;
}

/* ================================================================
   CTA SECTION LOCATION — perspective tilt
   ================================================================ */
.cta-section-3 .cta-wrap-3 {
    transform-style: preserve-3d;
    will-change: transform;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.cta-section-3 .cta-wrap-3 .shape-2 img {
    transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    transform-style: preserve-3d;
}

.cta-section-3 .cta-wrap-3:hover .shape-2 img {
    transform: translateZ(45px) scale(1.06) rotateY(-5deg);
}

.cta-section-3 .cta-wrap-3 .title {
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    transform-style: preserve-3d;
}

.cta-section-3 .cta-wrap-3:hover .title {
    transform: translateZ(25px);
    text-shadow: 0 5px 20px rgba(0, 0, 0, 0.25);
}

/* ================================================================
   BOUTONS — effet pression 3D
   ================================================================ */
.bz-primary-btn {
    transition: transform 0.2s ease, box-shadow 0.2s ease !important;
    will-change: transform;
}

.bz-primary-btn:hover {
    transform: translateY(-4px) translateZ(8px) !important;
    box-shadow: 0 12px 30px rgba(236, 40, 28, 0.4) !important;
}

.bz-primary-btn:active {
    transform: translateY(1px) translateZ(0px) !important;
    box-shadow: 0 3px 10px rgba(236, 40, 28, 0.3) !important;
}

/* ================================================================
   HERO — formes flottantes 3D
   ================================================================ */
@keyframes float3D-a {
    0% {
        transform: translateY(0px) translateZ(0px) rotateX(0deg) rotateZ(0deg);
    }

    25% {
        transform: translateY(-18px) translateZ(12px) rotateX(6deg) rotateZ(2deg);
    }

    50% {
        transform: translateY(-10px) translateZ(20px) rotateX(3deg) rotateZ(-1deg);
    }

    75% {
        transform: translateY(-22px) translateZ(8px) rotateX(8deg) rotateZ(3deg);
    }

    100% {
        transform: translateY(0px) translateZ(0px) rotateX(0deg) rotateZ(0deg);
    }
}

@keyframes float3D-b {
    0% {
        transform: translateY(0px) translateZ(0px) rotateY(0deg) rotateZ(0deg);
    }

    33% {
        transform: translateY(-25px) translateZ(18px) rotateY(10deg) rotateZ(-3deg);
    }

    66% {
        transform: translateY(-12px) translateZ(10px) rotateY(-5deg) rotateZ(2deg);
    }

    100% {
        transform: translateY(0px) translateZ(0px) rotateY(0deg) rotateZ(0deg);
    }
}

/* ================================================================
   HERO — titre principal : entrée en profondeur 3D
   ================================================================ */
@keyframes heroTitle3D {
    from {
        opacity: 0;
        transform: perspective(800px) rotateX(30deg) translateZ(-60px) translateY(20px);
    }

    to {
        opacity: 1;
        transform: perspective(800px) rotateX(0deg) translateZ(0px) translateY(0px);
    }
}

@keyframes heroSub3D {
    from {
        opacity: 0;
        transform: perspective(600px) rotateX(20deg) translateZ(-30px);
    }

    to {
        opacity: 1;
        transform: perspective(600px) rotateX(0deg) translateZ(0px);
    }
}

/* ================================================================
   SECTION HEADINGS — ombre de profondeur au survol
   ================================================================ */
.section-heading h2.section-title {
    transition: text-shadow 0.4s ease;
}

.section-heading:hover h2.section-title {
    text-shadow:
        3px 3px 0px rgba(236, 40, 28, 0.15),
        6px 6px 0px rgba(236, 40, 28, 0.08),
        9px 9px 0px rgba(0, 0, 0, 0.04);
}

/* ================================================================
   TÉMOIGNAGES CUBE — laisser Swiper gérer tout le 3D
   Ne pas ajouter perspective / transform-style ici :
   ça crée un contexte imbriqué qui casse le cube.
   ================================================================ */

/* ================================================================
   SCROLL REVEAL 3D — @keyframes utilisées par JS
   ================================================================ */
@keyframes reveal3D {
    from {
        opacity: 0;
        transform: perspective(700px) rotateX(18deg) translateY(35px) translateZ(-20px);
    }

    to {
        opacity: 1;
        transform: perspective(700px) rotateX(0deg) translateY(0px) translateZ(0px);
    }
}

/* ================================================================
   STRENGTH SECTION — image de fond 3D
   ================================================================ */
.strength-mask-img {
    transform-style: preserve-3d;
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    will-change: transform;
}

.strength-mask-img:hover {
    transform: perspective(900px) rotateY(6deg) rotateX(-3deg) scale(1.02);
    box-shadow: 20px 25px 60px rgba(0, 0, 0, 0.4);
}

/* ================================================================
   SIDE-MENU SOCIAL — alignement & espacement
   ================================================================ */
.side-menu-social {
    padding: 0 !important;
    /* supprime le padding-left natif du ul */
    margin-top: 30px !important;
    list-style: none !important;
    display: flex !important;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.side-menu-social li {
    display: flex !important;
    margin-right: 0 !important;
    /* remplacé par gap */
}

.side-menu-social li a {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background-color: var(--bz-color-theme-primary);
    color: #fff;
    font-size: 16px;
    border: 2px solid transparent;
    transition: transform 0.3s cubic-bezier(0.23, 1, 0.32, 1),
        background-color 0.3s ease,
        border-color 0.3s ease !important;
}

.side-menu-social li a:hover {
    background-color: #fff !important;
    color: #EC281C !important;
    border-color: #EC281C;
    transform: translateY(-4px) scale(1.12) !important;
}

/* ================================================================
   SOCIAL LINKS — rebond 3D (équipe & listes génériques)
   ================================================================ */
.team-social li a,
.social-list li a {
    transition: transform 0.3s cubic-bezier(0.23, 1, 0.32, 1) !important;
    display: inline-block;
}

.team-social li a:hover,
.side-menu-social li a:hover,
.social-list li a:hover {
    transform: translateY(-5px) translateZ(10px) scale(1.15) !important;
}

/* ================================================================
   LOGO HEADER — légère profondeur au survol
   ================================================================ */
.header-logo a {
    display: inline-block;
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    transform-style: preserve-3d;
}

.header-logo a:hover {
    transform: perspective(400px) rotateY(-8deg) rotateX(3deg) translateZ(5px) scale(1.04);
}

/* Même taille que .header .primary-header-inner .header-logo img (main.css, 100px) */
.header .primary-header-inner .header-logo img,
.sidebar-area .side-menu-logo img {
    max-width: 100px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

/* main.css fixait .side-menu-logo à 150px — aligné sur le header */
.sidebar-area .side-menu-logo {
    max-width: 100px;
}

.sidebar-area .side-menu-logo a {
    display: inline-block;
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    transform-style: preserve-3d;
}

.sidebar-area .side-menu-logo a:hover {
    transform: perspective(400px) rotateY(-8deg) rotateX(3deg) translateZ(5px) scale(1.04);
}

/* ================================================================
   FOOTER LOGO — idem
   ================================================================ */
.footer-logo a {
    display: inline-block;
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    transform-style: preserve-3d;
}

.footer-logo a:hover {
    transform: perspective(400px) rotateY(6deg) scale(1.05);
}

/* ================================================================
   PARTICLES CUBE — profondeur visuelle
   ================================================================ */
.testi-cube-particles {
    perspective: 800px;
    transform-style: preserve-3d;
}

/* ================================================================
   CURSEUR PREMIUM — P&BEntreprise
   Dot précis + anneau élastique + états contextuels
   Actif uniquement sur desktop (≥ 992px)
   ================================================================ */
@media (min-width: 992px) {

    /* Masque le curseur natif et l'ancien curseur */
    html,
    body,
    * {
        cursor: none !important;
    }

    .mt-cursor {
        display: none !important;
    }

    /* ---- Wrapper ---- */
    .pb-cursor {
        position: fixed;
        inset: 0;
        pointer-events: none;
        z-index: 999999;
        visibility: hidden;
        /* hidden until first mousemove */
    }

    /* ---- Point central (suit la souris exactement) ---- */
    .pb-cursor__dot {
        position: fixed;
        width: 7px;
        height: 7px;
        background: #EC281C;
        border-radius: 50%;
        transform: translate(-50%, -50%);
        will-change: left, top;
        transition:
            width 0.25s cubic-bezier(0.23, 1, 0.32, 1),
            height 0.25s cubic-bezier(0.23, 1, 0.32, 1),
            opacity 0.25s ease,
            background 0.25s ease;
        box-shadow: 0 0 0 0 rgba(236, 40, 28, 0);
    }

    /* ---- Anneau extérieur (suit avec lerp élastique) ---- */
    .pb-cursor__ring {
        position: fixed;
        width: 44px;
        height: 44px;
        border: 1.5px solid rgba(236, 40, 28, 0.60);
        border-radius: 50%;
        transform: translate(-50%, -50%);
        will-change: left, top;
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: hidden;
        transition:
            width 0.4s cubic-bezier(0.23, 1, 0.32, 1),
            height 0.4s cubic-bezier(0.23, 1, 0.32, 1),
            border-color 0.35s ease,
            border-radius 0.35s ease,
            background 0.35s ease,
            border-width 0.35s ease,
            opacity 0.35s ease;
        background: rgba(236, 40, 28, 0.04);
    }

    /* Label texte à l'intérieur de l'anneau */
    .pb-cursor__label {
        font-family: 'Outfit', sans-serif;
        font-size: 10px;
        font-weight: 700;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        color: #fff;
        opacity: 0;
        transform: scale(0.7);
        white-space: nowrap;
        transition:
            opacity 0.25s ease,
            transform 0.25s cubic-bezier(0.23, 1, 0.32, 1);
        pointer-events: none;
        user-select: none;
    }

    /* ============================================================
       ÉTAT : lien standard
       ============================================================ */
    .pb-cursor--link .pb-cursor__ring {
        width: 58px;
        height: 58px;
        border-color: rgba(236, 40, 28, 0.85);
        background: rgba(236, 40, 28, 0.10);
    }

    .pb-cursor--link .pb-cursor__dot {
        width: 5px;
        height: 5px;
        opacity: 0.7;
    }

    /* ============================================================
       ÉTAT : bouton CTA (bz-primary-btn)
       ============================================================ */
    .pb-cursor--button .pb-cursor__ring {
        width: 52px;
        height: 52px;
        border-color: #EC281C;
        border-width: 2px;
        background: rgba(236, 40, 28, 0.16);
    }

    .pb-cursor--button .pb-cursor__dot {
        background: #fff;
        width: 5px;
        height: 5px;
    }

    /* ============================================================
       ÉTAT : carte interactive (service, promo, équipe…)
       Label "Voir" visible
       ============================================================ */
    .pb-cursor--card .pb-cursor__ring {
        width: 78px;
        height: 78px;
        border-color: rgba(255, 255, 255, 0.70);
        background: rgba(236, 40, 28, 0.18);
    }

    .pb-cursor--card .pb-cursor__dot {
        opacity: 0;
        width: 0;
        height: 0;
    }

    .pb-cursor--card .pb-cursor__label {
        opacity: 1;
        transform: scale(1);
    }

    /* ============================================================
       ÉTAT : image (about, strength…)
       Label "Zoom"
       ============================================================ */
    .pb-cursor--zoom .pb-cursor__ring {
        width: 72px;
        height: 72px;
        border-color: rgba(255, 255, 255, 0.65);
        background: rgba(0, 0, 0, 0.22);
        border-radius: 50%;
    }

    .pb-cursor--zoom .pb-cursor__dot {
        opacity: 0;
        width: 0;
        height: 0;
    }

    .pb-cursor--zoom .pb-cursor__label {
        opacity: 1;
        transform: scale(1);
    }

    /* ============================================================
       ÉTAT : drag / swiper
       ============================================================ */
    .pb-cursor--drag .pb-cursor__ring {
        width: 48px;
        height: 48px;
        border-color: rgba(255, 255, 255, 0.55);
        background: rgba(236, 40, 28, 0.14);
    }

    .pb-cursor--drag .pb-cursor__label {
        opacity: 1;
        transform: scale(1);
    }

    .pb-cursor--drag .pb-cursor__dot {
        opacity: 0;
        width: 0;
        height: 0;
    }

    /* ============================================================
       ÉTAT : clic (flash)
       ============================================================ */
    .pb-cursor--click .pb-cursor__ring {
        animation: pbCursorClick 0.45s cubic-bezier(0.23, 1, 0.32, 1) forwards;
    }

    .pb-cursor--click .pb-cursor__dot {
        animation: pbDotClick 0.3s ease forwards;
    }

    @keyframes pbCursorClick {
        0% {
            transform: translate(-50%, -50%) scale(1);
            opacity: 1;
        }

        40% {
            transform: translate(-50%, -50%) scale(1.55);
            opacity: 0.5;
        }

        100% {
            transform: translate(-50%, -50%) scale(1);
            opacity: 1;
        }
    }

    @keyframes pbDotClick {
        0% {
            transform: translate(-50%, -50%) scale(1);
        }

        50% {
            transform: translate(-50%, -50%) scale(2.2);
        }

        100% {
            transform: translate(-50%, -50%) scale(1);
        }
    }

    /* ============================================================
       ÉTAT : hidden (curseur sort de la fenêtre)
       ============================================================ */
    .pb-cursor--hidden .pb-cursor__dot,
    .pb-cursor--hidden .pb-cursor__ring {
        opacity: 0;
    }

    /* ============================================================
       Animation de rotation permanente de l'anneau (subtile)
       ============================================================ */
    @keyframes pbRingRotate {
        to {
            --pb-ring-angle: 360deg;
        }
    }

    /* Reflet tournant discret sur l'anneau */
    .pb-cursor__ring::before {
        content: '';
        position: absolute;
        inset: -1px;
        border-radius: 50%;
        background: conic-gradient(rgba(255, 255, 255, 0.25) 0deg,
                transparent 60deg,
                transparent 360deg);
        animation: pbRingRotate 3s linear infinite;
        animation-name: pbRingGlow;
        pointer-events: none;
        opacity: 0.6;
        transition: opacity 0.3s ease;
    }

    @keyframes pbRingGlow {
        from {
            transform: rotate(0deg);
        }

        to {
            transform: rotate(360deg);
        }
    }

    /* Dot pulse au repos */
    .pb-cursor__dot::after {
        content: '';
        position: absolute;
        inset: -3px;
        border-radius: 50%;
        background: rgba(236, 40, 28, 0.25);
        animation: pbDotPulse 2.5s ease-out infinite;
        pointer-events: none;
    }

    @keyframes pbDotPulse {
        0% {
            transform: scale(1);
            opacity: 0.7;
        }

        70% {
            transform: scale(2.8);
            opacity: 0;
        }

        100% {
            transform: scale(1);
            opacity: 0;
        }
    }

}

/* ================================================================
   CUBE 3D CUSTOM — P&BEntreprise Témoignages
   Cube CSSpur : 4 faces, rotation Y automatique, drag/swipe
   ================================================================ */

/* Wrapper global */
.pb-cube-3d {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Stage : contient la scène + l'ombre */
.pb-cube-3d__stage {
    position: relative;
}

/* Ombre portée sous le cube */
.pb-cube-3d__shadow {
    position: absolute;
    bottom: -18px;
    left: 50%;
    transform: translateX(-50%);
    width: 72%;
    height: 28px;
    background: radial-gradient(ellipse at center,
            rgba(0, 0, 0, 0.38) 0%,
            transparent 70%);
    border-radius: 50%;
    filter: blur(8px);
    pointer-events: none;
    z-index: 0;
}

/* Scène : définit la perspective */
.pb-cube-3d__scene {
    width: 420px;
    height: 420px;
    perspective: 980px;
    perspective-origin: 50% 38%;
    position: relative;
    z-index: 1;
}

/* Cube : conteneur 3D en rotation */
.pb-cube-3d__cube {
    width: 420px;
    height: 420px;
    position: relative;
    transform-style: preserve-3d;
    transform: rotateX(-14deg) rotateY(-22deg);
    transition: transform 0.85s cubic-bezier(0.23, 1, 0.32, 1);
    will-change: transform;
    cursor: grab;
}

.pb-cube-3d__cube:active {
    cursor: grabbing;
}

/* Face générique */
.pb-cube-3d__face {
    position: absolute;
    width: 420px;
    height: 420px;
    overflow: hidden;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: #0d1224;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

/* Image de fond de chaque face */
.pb-cube-3d__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    display: block;
}

/* Positionnement des 6 faces (demi-côté = 210px) */
.pb-cube-3d__face--f0 {
    transform: translateZ(210px);
}

.pb-cube-3d__face--f1 {
    transform: rotateY(90deg) translateZ(210px);
}

.pb-cube-3d__face--f2 {
    transform: rotateY(180deg) translateZ(210px);
}

.pb-cube-3d__face--f3 {
    transform: rotateY(-90deg) translateZ(210px);
}

.pb-cube-3d__face--top {
    transform: rotateX(90deg) translateZ(210px);
    background: linear-gradient(135deg,
            rgba(255, 255, 255, 0.07) 0%,
            rgba(255, 255, 255, 0.02) 100%);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.pb-cube-3d__face--bottom {
    transform: rotateX(-90deg) translateZ(210px);
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

/* Voile de profondeur sur les faces latérales */
.pb-cube-3d__face--f1::after,
.pb-cube-3d__face--f2::after,
.pb-cube-3d__face--f3::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.28);
    border-radius: 20px;
    pointer-events: none;
}

/* ---- Pagination dots ---- */
.pb-cube-3d__pagination {
    display: flex;
    gap: 10px;
    justify-content: center;
    align-items: center;
    margin-top: 52px;
}

.pb-cube-3d__dot {
    width: 10px;
    height: 10px;
    border-radius: 5px;
    border: none;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    padding: 0;
    transition: background 0.3s ease,
        box-shadow 0.3s ease,
        width 0.35s cubic-bezier(0.34, 1.2, 0.64, 1);
}

.pb-cube-3d__dot--active {
    width: 26px;
    background: #fff;
    box-shadow: 0 0 0 2px rgba(236, 40, 28, 0.5);
}

.pb-cube-3d__dot:hover:not(.pb-cube-3d__dot--active) {
    background: rgba(255, 255, 255, 0.65);
}

/* ---- Responsive ---- */
@media only screen and (max-width: 1050px) {

    .pb-cube-3d__scene,
    .pb-cube-3d__cube,
    .pb-cube-3d__face {
        width: 360px;
        height: 360px;
    }

    .pb-cube-3d__face--f0 {
        transform: translateZ(180px);
    }

    .pb-cube-3d__face--f1 {
        transform: rotateY(90deg) translateZ(180px);
    }

    .pb-cube-3d__face--f2 {
        transform: rotateY(180deg) translateZ(180px);
    }

    .pb-cube-3d__face--f3 {
        transform: rotateY(-90deg) translateZ(180px);
    }

    .pb-cube-3d__face--top {
        transform: rotateX(90deg) translateZ(180px);
    }

    .pb-cube-3d__face--bottom {
        transform: rotateX(-90deg) translateZ(180px);
    }
}

@media only screen and (max-width: 470px) {

    .pb-cube-3d__scene,
    .pb-cube-3d__cube,
    .pb-cube-3d__face {
        width: 290px;
        height: 290px;
    }

    .pb-cube-3d__face--f0 {
        transform: translateZ(145px);
    }

    .pb-cube-3d__face--f1 {
        transform: rotateY(90deg) translateZ(145px);
    }

    .pb-cube-3d__face--f2 {
        transform: rotateY(180deg) translateZ(145px);
    }

    .pb-cube-3d__face--f3 {
        transform: rotateY(-90deg) translateZ(145px);
    }

    .pb-cube-3d__face--top {
        transform: rotateX(90deg) translateZ(145px);
    }

    .pb-cube-3d__face--bottom {
        transform: rotateX(-90deg) translateZ(145px);
    }
}

/* ================================================================
   ANIMATIONS 3D ICÔNES — index-3
   Flottement, rotation, flip et glissement en perspective
   ================================================================ */

/* ----------------------------------------------------------------
   1. COMPTEURS (.team-counter .icon) — flottement 3D continu
---------------------------------------------------------------- */
.team-counter .icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    animation: icon3DFloat 3.8s ease-in-out infinite;
    will-change: transform, filter;
}

@keyframes icon3DFloat {

    0%,
    100% {
        transform: perspective(280px) rotateX(0deg) rotateY(0deg) translateY(0px);
        filter: drop-shadow(0 4px 10px rgba(236, 40, 28, 0.28));
    }

    25% {
        transform: perspective(280px) rotateX(-10deg) rotateY(14deg) translateY(-9px);
        filter: drop-shadow(0 14px 22px rgba(236, 40, 28, 0.48));
    }

    50% {
        transform: perspective(280px) rotateX(6deg) rotateY(-10deg) translateY(-14px);
        filter: drop-shadow(0 18px 28px rgba(236, 40, 28, 0.38));
    }

    75% {
        transform: perspective(280px) rotateX(-4deg) rotateY(16deg) translateY(-7px);
        filter: drop-shadow(0 12px 20px rgba(236, 40, 28, 0.42));
    }
}

/* Décalage en cascade par colonne */
.col-lg-4:nth-child(1) .team-counter .icon {
    animation-delay: 0s;
}

.col-lg-4:nth-child(2) .team-counter .icon {
    animation-delay: 0.65s;
}

.col-lg-4:nth-child(3) .team-counter .icon {
    animation-delay: 1.3s;
}

/* ----------------------------------------------------------------
   2. ICÔNES ENGRENAGE (process-meta) — rotation 3D lente
---------------------------------------------------------------- */
.process-meta li i {
    display: inline-block;
    animation: gear3DSpin 5s linear infinite;
    transform-origin: center;
}

@keyframes gear3DSpin {
    0% {
        transform: perspective(120px) rotateZ(0deg) rotateY(0deg);
    }

    25% {
        transform: perspective(120px) rotateZ(90deg) rotateY(22deg);
    }

    50% {
        transform: perspective(120px) rotateZ(180deg) rotateY(0deg);
    }

    75% {
        transform: perspective(120px) rotateZ(270deg) rotateY(-22deg);
    }

    100% {
        transform: perspective(120px) rotateZ(360deg) rotateY(0deg);
    }
}

/* Bob 3D icônes service — retiré */

/* ----------------------------------------------------------------
   4. ICÔNES SOCIALES — flip Y 3D au survol
---------------------------------------------------------------- */
.social-list li a i,
.team-social li a i,
.side-menu-social li a i,
.footer-social li a i {
    display: inline-block;
    transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.social-list li a:hover i,
.team-social li a:hover i,
.side-menu-social li a:hover i,
.footer-social li a:hover i {
    transform: perspective(180px) rotateY(360deg) scale(1.22);
}

/* ----------------------------------------------------------------
   5. FLÈCHES BOUTONS — glissement 3D au survol
---------------------------------------------------------------- */
.bz-primary-btn .fa-arrow-right,
.process-cta i.fa-arrow-right,
.blog-btn i.fa-arrow-right {
    display: inline-block;
    transition: transform 0.35s cubic-bezier(0.23, 1, 0.32, 1);
}

.bz-primary-btn:hover .fa-arrow-right {
    transform: perspective(100px) translateZ(7px) translateX(5px);
}

.process-cta:hover i.fa-arrow-right {
    transform: perspective(100px) translateZ(5px) translateX(4px);
}

.blog-btn:hover i.fa-arrow-right {
    transform: perspective(100px) rotateY(-18deg) translateZ(4px) translateX(4px);
}

/* ----------------------------------------------------------------
   6. ICÔNE PLAY — rebond 3D permanent
---------------------------------------------------------------- */
.bz-primary-btn .fa-play,
.cta-glass-rent .fa-play {
    display: inline-block;
    animation: playPop3D 1.9s ease-in-out infinite;
}

@keyframes playPop3D {

    0%,
    100% {
        transform: perspective(100px) translateZ(0px) scale(1);
    }

    50% {
        transform: perspective(100px) translateZ(7px) scale(1.22);
    }
}

/* ----------------------------------------------------------------
   7. ICÔNES TOP-BAR CONTACT — bascule 3D au survol
---------------------------------------------------------------- */
.top-bar-list li i {
    display: inline-block;
    transition: transform 0.35s cubic-bezier(0.23, 1, 0.32, 1),
        color 0.3s ease;
}

.top-bar-list li:hover i {
    transform: perspective(100px) rotateY(28deg) translateZ(4px) scale(1.15);
    color: #EC281C;
}

/* ----------------------------------------------------------------
   8. ICÔNES CONTACT SIDEBAR — profondeur 3D au survol
---------------------------------------------------------------- */
.side-menu-list li i {
    display: inline-block;
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.side-menu-list li:hover i {
    transform: perspective(140px) rotateY(-22deg) translateZ(8px) scale(1.2);
}

/* ----------------------------------------------------------------
   8.b ICÔNES PAGE CONTACT — même animation que sidebar contact
---------------------------------------------------------------- */
.contact-content .contact-list .list-item .icon {
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.contact-content .contact-list .list-item:hover .icon {
    transform: perspective(140px) rotateY(-22deg) translateZ(8px) scale(1.2);
}

/* ----------------------------------------------------------------
   9. ICÔNES BLOG-BTN — spin 3D discret
---------------------------------------------------------------- */
.blog-btn i {
    display: inline-block;
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

/* ----------------------------------------------------------------
   10. ICÔNE SPINNER PRELOADER INTERACTION (optionnel)
       + réduction des animations si prefers-reduced-motion
---------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {

    .team-counter .icon,
    .process-meta li i,
    .bz-primary-btn .fa-play,
    .cta-glass-rent .fa-play {
        animation: none;
    }
}

/* ================================================================
   BLOG SECTION — SLIDE-IN AU SCROLL
   Les styles sont appliqués en inline par JS pour éviter
   tout conflit de spécificité avec main.css
   ================================================================ */
/* Aucune règle CSS ici — tout géré par effects-3d.js */

/* ================================================================
   PAGE HEADER — ZOOM D'ENTRÉE + PARALLAXE 3D SOURIS
   ================================================================ */

/* 1. Le parent clippe l'image zoomée */
.page-header {
    overflow: hidden;
}

/* 2. État initial : bg scale(1.35) invisible — JS déclenche le zoom
      après que main.js ait appliqué background-image */
.page-header .bg-img {
    transform: scale(1.35);
    opacity: 0;
    transition: none;
    /* désactivé jusqu'à ph-zoom-ready */
    will-change: transform, opacity;
    transform-origin: center center;
}

/* 3. Classe ajoutée par JS dès que l'image est chargée → zoom fluide */
.page-header .bg-img.ph-zoom-ready {
    transform: scale(1.14);
    opacity: 1;
    transition: transform 1.7s cubic-bezier(0.23, 1, 0.32, 1),
        opacity 1.1s ease;
}

/* 4. Après le zoom : mode parallaxe — pas de transition CSS,
      le lerp JS (requestAnimationFrame) gère le smooth */
.page-header .bg-img.ph-parallax-active {
    /* transform & opacity gérés uniquement par JS (inline style) */
    transition: none;
}

/* 5. Les shapes bougent légèrement (profondeur multicouche) */
.page-header .shape {
    will-change: transform;
    transition: transform 0.12s linear;
}

/* ================================================================
   DÉCOR GLASSMORPHISM — sections index-3 (plaques « glace » flottantes)
   ================================================================ */
.pb-glass-section {
    position: relative;
    overflow: hidden;
}

.pb-glass-section>.container-2,
.pb-glass-section>.container {
    position: relative;
    z-index: 2;
}

.pb-glass-decor {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.pb-glass-decor__shard {
    position: absolute;
    display: block;
    box-sizing: border-box;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.32);
    box-shadow:
        0 3px 14px rgba(31, 38, 135, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.28);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    transform: translate3d(0, 0, 0) rotate(0deg);
    transform-origin: center center;
    will-change: transform;
}

/* Variante sur fond coloré (CTA rouge) */
.pb-glass-decor--on-dark .pb-glass-decor__shard {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.38);
    box-shadow:
        0 4px 16px rgba(0, 0, 0, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

/* Position / taille : définies par JS (chaque section = disposition distincte) */

@media only screen and (max-width: 575px) {
    .pb-glass-decor__shard:nth-child(2) {
        opacity: 0.42;
    }
}

@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
    .pb-glass-decor__shard {
        background: rgba(255, 255, 255, 0.28);
    }

    .pb-glass-decor--on-dark .pb-glass-decor__shard {
        background: rgba(255, 255, 255, 0.22);
    }
}

@media (prefers-reduced-motion: reduce) {
    .pb-glass-decor__shard {
        animation: none !important;
    }
}

/* Rectangle décoratif de la section "Qui sommes-nous" */
/* Bande diagonale type mockup (grand rectangle rouge à droite, semi-transparent) */
.pb-about-right-shape {
    position: absolute;
    top: 73%;
    right: clamp(-100px, -20vw, -80px);
    z-index: 3;
    width: clamp(350px, 42vw, 640px);
    pointer-events: none;
    transform: translateY(-50%) rotate(18deg);
    transform-origin: 88% 50%;
    opacity: 0.38;
}

.pb-about-right-shape img {
    display: block;
    width: 100%;
    height: 1000px;
}

@media only screen and (max-width: 991px) {
    .pb-about-right-shape {
        width: clamp(-190px, 48vw, 420px);
        right: clamp(-160px, -10vw, -50px);
        transform: translateY(-48%) rotate(50deg);
        transform-origin: 90% 50%;
        opacity: 0.34;
    }
}

@media only screen and (max-width: 767px) {
    .pb-about-right-shape {
        display: none;
    }
}

/* Override pour la page Chauffeurs : image carrée à la taille du cadre rouge */
.carriere-page section.about-cta {
    position: relative;
}

.carriere-page .pb-about-right-shape {
    top: 50%;
    right: clamp(-40px, -2vw, 0px);
    width: clamp(320px, 38vw, 480px);
    transform: translateY(-50%);
    transform-origin: center center;
}

.carriere-page .pb-about-right-shape img {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

@media only screen and (max-width: 991px) {
    .carriere-page .pb-about-right-shape {
        width: clamp(240px, 42vw, 380px);
        right: clamp(-30px, -2vw, 0px);
        transform: translateY(-50%);
    }
}

/* Chauffeurs : élargir l'image service-bg-shape (about-img img-1) */
.carriere-page .about-img-wrap-4 {
    max-width: 100%;
    width: 100%;
}

.carriere-page .about-img-wrap-4 .about-img.img-1 {
    max-width: none;
    width: 130%;
    left: auto;
    right: -30%;
}

@media only screen and (max-width: 1199px) {
    .carriere-page .about-img-wrap-4 .about-img.img-1 {
        width: 120%;
        right: -20%;
    }
}

@media only screen and (max-width: 991px) {
    .carriere-page .about-img-wrap-4 .about-img.img-1 {
        width: 100%;
        right: 0;
    }
}

@media only screen and (max-width: 767px) {
    .carriere-page .about-img-wrap-4 .about-img.img-1 {
        display: block;
        max-width: 100%;
    }
}

/* Forme décorative bas-gauche — section « Nos articles » (index-3) */
.process-section-2--green-cards.pb-glass-section .pb-process-bottom-left-shape {
    position: absolute;
    left: clamp(-28px, -3vw, 0px);
    bottom: clamp(-24px, -2vw, 0px);
    z-index: 3;
    width: clamp(280px, 36vw, 800px);
    pointer-events: none;
    opacity: 0.42;
    line-height: 0;
}

.process-section-2--green-cards.pb-glass-section .pb-process-bottom-left-shape img {
    display: block;
    width: 100%;
    height: 1000px;
}

@media only screen and (max-width: 991px) {
    .process-section-2--green-cards.pb-glass-section .pb-process-bottom-left-shape {
        width: clamp(200px, 44vw, 400px);
        left: clamp(-36px, -2vw, 0px);
        bottom: clamp(-16px, -1vw, 0px);
        opacity: 0.36;
    }
}

@media only screen and (max-width: 767px) {
    .process-section-2--green-cards.pb-glass-section .pb-process-bottom-left-shape {
        display: none;
    }
}

/* ================================================================
   SÉLECTEUR DE LANGUE — dropdown au survol
   ================================================================ */
.pb-lang-switch {
    position: relative;
}

.pb-lang-switch>a {
    cursor: pointer;
    color: #ffffff !important;
    font-size: 14px !important;
    font-weight: 500;
}

.pb-lang-switch>a i {
    margin-right: 4px;
}

.pb-lang-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    min-width: 140px;
    padding: 8px 0;
    margin: 0;
    list-style: none;
    background: rgba(255, 255, 255, 0.95);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 10px;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.16);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
    z-index: 9999;
}

.pb-lang-switch:hover .pb-lang-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.pb-lang-dropdown li {
    display: block !important;
    margin: 0 !important;
    line-height: normal !important;
}

.pb-lang-dropdown li a {
    display: block;
    padding: 9px 20px;
    font-size: 13px;
    font-weight: 500;
    color: #333 !important;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
    white-space: nowrap;
}

.pb-lang-dropdown li a:hover {
    color: #EC281C !important;
}

.pb-lang-dropdown li:not(:last-child) {
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

/* ================================================================
   BARRE FIXE BAS D'ÉCRAN — « Téléchargez l'appli »
   ================================================================ */
.pb-bottom-bar {
    position: fixed;
    bottom: 16px;
    left: 0;
    right: 0;
    z-index: 9999;
    display: flex;
    justify-content: center;
    pointer-events: none;
    transform: translateY(calc(100% + 20px));
    transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.pb-bottom-bar.is-visible {
    transform: translateY(0);
}

.pb-bottom-bar__inner {
    pointer-events: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    background: rgba(28, 28, 28, 0.55);
    -webkit-backdrop-filter: blur(22px) saturate(1.4);
    backdrop-filter: blur(22px) saturate(1.4);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.12);
    border-radius: 22px;
    padding: 20px 32px 18px;
}

@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
    .pb-bottom-bar__inner {
        background: rgba(28, 28, 28, 0.88);
    }
}

.pb-bottom-bar__text {
    color: #ffffff;
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
}

.pb-bottom-bar__btns {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

.pb-bottom-bar__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 22px;
    border-radius: 28px;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.25s ease, color 0.25s ease,
        border-color 0.25s ease, transform 0.25s ease;
}

.pb-bottom-bar__btn--primary {
    background: #EC281C;
    color: #ffffff;
    border: 2px solid #EC281C;
}

.pb-bottom-bar__btn--primary:hover {
    background: #c01f14;
    border-color: #c01f14;
    color: #ffffff;
    transform: scale(1.04);
}

.pb-bottom-bar__btn--outline {
    background: transparent;
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.pb-bottom-bar__btn--outline:hover {
    background: #ffffff;
    color: #111111;
    border-color: #ffffff;
    transform: scale(1.04);
}

/* Hero index-3 : panneau glassmorphism (même effet que pb-bottom-bar__inner) */
.pb-hero-glass-panel {
    position: absolute;
    right: max(24px, calc((100vw - 1350px) / 2 + 24px));
    top: 54%;
    transform: translateY(-50%) scale(0.82);
    width: clamp(280px, 26vw, 420px);
    height: clamp(390px, 62vh, 490px);
    z-index: 3;
    pointer-events: none;
    background: rgba(28, 28, 28, 0.55);
    -webkit-backdrop-filter: blur(22px) saturate(1.4);
    backdrop-filter: blur(22px) saturate(1.4);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.55s cubic-bezier(0.23, 1, 0.32, 1),
        transform 0.55s cubic-bezier(0.23, 1, 0.32, 1),
        visibility 0.55s ease;
}

.pb-hero-glass-panel.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) scale(1);
}

@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
    .pb-hero-glass-panel {
        background: rgba(28, 28, 28, 0.88);
    }
}

@media only screen and (max-width: 991px) {
    .pb-hero-glass-panel {
        right: 24px;
        width: clamp(170px, 26vw, 220px);
        height: clamp(190px, 28vh, 260px);
        top: 56%;
    }
}

@media only screen and (max-width: 767px) {
    .pb-hero-glass-panel {
        display: none;
    }
}

@media only screen and (max-width: 480px) {
    .pb-bottom-bar__inner {
        padding: 16px 20px 14px;
        border-radius: 18px;
    }

    .pb-bottom-bar__text {
        font-size: 12px;
        white-space: normal;
        text-align: center;
    }

    .pb-bottom-bar__btn {
        padding: 8px 16px;
        font-size: 11px;
    }
}