﻿/* =====================================================================
   BEXBID — Hero original + globe (cobe)
   Le globe est GRAND (900 px) et coupe a la moitie comme la reference :
   on ne voit que la moitie haute, posee en bas du hero.
   ===================================================================== */

.bxb-hero-globe .banner-content-area {
    height: auto;
    padding: 30px 0 0;
    overflow: visible;
}

/* les 2 lignes dotted du haut : courtes */
.bxb-hero-globe .banner-content-area .top-shape {
    height: 100px;
}

/* --- globe : grande sphere, moitie haute visible --- */
.bxb-hero-globe .bxb-globe-wrap {
    position: relative;
    width: 100%;
    height: 450px;              /* moitie de la sphere 900 */
    margin: 10px auto 0;
    overflow: hidden;
    z-index: 1;
    pointer-events: none;
}

.bxb-hero-globe .bxb-globe-halo {
    position: absolute;
    left: 50%;
    top: 0;
    width: 1000px;
    height: 1000px;
    transform: translateX(-50%);
    background: radial-gradient(closest-side, rgba(0, 209, 99, .18), rgba(0, 209, 99, .06) 55%, rgba(0, 209, 99, 0) 72%);
    pointer-events: none;
}

.bxb-hero-globe .bxb-globe-box {
    position: absolute;
    left: 50%;
    top: -54px;                 /* le haut de la sphere colle au haut du wrap */
    width: 900px;
    height: 900px;
    transform: translateX(-50%);
    pointer-events: none;
}

.bxb-hero-globe .bxb-globe-box canvas {
    width: 100%;
    height: 100%;
    display: block;
}

/* --- labels des leads --- */
.bxb-hero-globe .bxb-lead-label {
    position: absolute;
    left: anchor(center);
    bottom: anchor(top);
    transform: translate(-50%, -10px);
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: 9px;
    background: rgba(255, 255, 255, .95);
    border: 1px solid #E5E9EF;
    color: #0D1520;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .02em;
    box-shadow: 0 6px 16px rgba(15, 24, 38, .12);
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    transition: opacity .18s linear;
    z-index: 5;
}

.bxb-hero-globe .bxb-lead-label .dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #00D163;
    box-shadow: 0 0 0 3px rgba(0, 209, 99, .18);
}

.bxb-hero-globe .bxb-lead-label .typ {
    color: #00A34D;
}

/* --- responsive --- */
@media (max-width: 1199px) {
    .bxb-hero-globe .banner-content-area { padding-top: 26px; }
    .bxb-hero-globe .banner-content-area .top-shape { height: 90px; }
    .bxb-hero-globe .bxb-globe-wrap { height: 400px; }
    .bxb-hero-globe .bxb-globe-box { width: 800px; height: 800px; top: -44px; }
    .bxb-hero-globe .bxb-globe-halo { width: 900px; height: 900px; }
}

@media (max-width: 991px) {
    .bxb-hero-globe .banner-content-area { padding-top: 24px; }
    .bxb-hero-globe .banner-content-area .top-shape { height: 80px; }
    .bxb-hero-globe .bxb-globe-wrap { height: 380px; }
    .bxb-hero-globe .bxb-globe-box { width: 760px; height: 760px; top: -40px; }
    .bxb-hero-globe .bxb-globe-halo { width: 840px; height: 840px; }
}

@media (max-width: 767px) {
    /* mobile : PAS de globe */
    .bxb-hero-globe .bxb-globe-wrap { display: none; }

    .bxb-hero-globe .banner-content-area {
        height: auto;
        padding: 20px 0 40px;
    }
    .bxb-hero-globe .banner-content-area .top-shape { display: none; }

    /* meme grille SVG que le desktop, remplie sur la hauteur du hero */
    .bxb-hero-globe .banner-content-area .bg-shape {
        display: block;
        inset: 0;
        width: auto;
        height: auto;
    }

    /* logo central + titre sur 2 lignes */
    .bxb-hero-globe .banner-content-area .section-title {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 4px;
        font-size: 28px;
        line-height: 1.1;
    }
    .bxb-hero-globe .banner-content-area .section-title .mid-icon {
        display: block;
        order: 0;
        margin: 0 auto 8px;
        max-width: none;
    }
    .bxb-hero-globe .banner-content-area .section-title .mid-icon img {
        width: 160px;
        height: auto;
        display: block;
    }
    .bxb-hero-globe .banner-content-area .section-title .left-area,
    .bxb-hero-globe .banner-content-area .section-title .right-area {
        order: 1;
        display: block;
        width: 100%;
        padding: 0;
        border: 0;
        background: transparent;
        text-align: center;
    }
    .bxb-hero-globe .banner-content-area .section-title .right-area { order: 2; }
    /* les <br> du desktop sont retires : 1 ligne par zone = 2 lignes au total */
    .bxb-hero-globe .banner-content-area .section-title .text br { display: none; }
    .bxb-hero-globe .banner-content-area .section-title .arrow-track,
    .bxb-hero-globe .banner-content-area .section-title .square-shape { display: none; }

    /* sous-titre + boutons l'un sous l'autre */
    .bxb-hero-globe .banner-content-area .text-area {
        text-align: center;
        margin-top: 16px;
    }
    .bxb-hero-globe .banner-content-area .text-area .button-area {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    .bxb-hero-globe .banner-content-area .text-area .button-area .wpr-btn {
        width: auto;
        min-width: 240px;
        min-height: 65px;
        align-items: center;
        justify-content: center;
        font-size: 15px;
    }
    /* le bouton sans icone garde un padding compact ; celui avec icone garde le style HOW IT WORKS */
    .bxb-hero-globe .banner-content-area .text-area .button-area .wpr-btn:not(.with-icon) {
        padding: 14px 20px;
    }
}

/* --- boutons du hero : taille IDENTIQUE (See how it works / Request access) ---
   Le blanc avait padding 26/28 (h=72) et le sombre 24/26 (h=68) : 4 px d'ecart.
   On aligne le blanc sur le sombre et on force la meme largeur mini (224 px). */
@media (min-width: 768px) {
    #hero .button-area .wpr-btn {
        min-width: 224px;
    }
    #hero .button-area .btn-white {
        padding: 24px 24px 26px;
        justify-content: center;
    }
}
