﻿/* =====================================================================
   BEXBID â€” THEME V3
   Base : design ORIGINAL (index.html) + nouveaux logos.
   Changements :
     - vert neon #98FF03 -> #00D163 (partout)
     - noir plat -> noir mat + texture (BUYER ACCESS, hovers, tags)
   ===================================================================== */

:root {
    --color-primary: #00D163;
}

/* ---------- Boutons neon -> #00D163 ---------- */
.wpr-btn.btn-neon {
    color: #02120A;
    background:
        radial-gradient(62.56% 62.56% at 28.14% -10.42%, rgba(255, 255, 255, 0.35) 0%, rgba(255, 255, 255, 0) 100%),
        linear-gradient(178.82deg, #33E08A 1.01%, #00D163 105.12%);
    box-shadow:
        0px 3px 3px rgba(0, 0, 0, 0.1),
        inset 0px 1px 0px rgba(255, 255, 255, 0.55),
        inset 0px -3px 0px #00A34D,
        inset 0px -4px 0px 1px rgba(255, 255, 255, 0.25);
}

.wpr-btn.btn-neon:hover {
    box-shadow:
        0px 4px 6px rgba(0, 0, 0, 0.18),
        inset 0px 1px 0px rgba(255, 255, 255, 0.65),
        inset 0px -4px 0px #00A34D,
        inset 0px 0px 0px 1px rgba(255, 255, 255, 0.35);
}

.wpr-btn.btn-neon:focus {
    box-shadow:
        0px 3px 3px rgba(0, 0, 0, 0.1),
        inset 0px 1px 0px rgba(255, 255, 255, 0.55),
        inset 0px -3px 0px #00A34D,
        inset 0px -4px 0px 1px rgba(255, 255, 255, 0.25);
}

/* Icone des boutons with-icon (CTA) */
.wpr-btn.with-icon .icon {
    background: linear-gradient(178.82deg, #33E08A 1.01%, #00D163 105.12%);
    box-shadow: 4px 8px 2px rgba(0, 0, 0, 0.08), inset 0px -2px 0.5px #00A34D, inset 0px 1px 0px #FFFFFF;
}

/* Barre de stats */
.wpr-delay-stats-area .section-inner .delay-stats-fill {
    background: #00D163;
}

.wpr-delay-stats-area .section-inner .delay-stats-fill::after {
    background: #00D163;
    box-shadow: 0 0 0 1.5px #00D163;
}

/* Accents inline des cartes offers */
.offer-card:hover .offer-vert {
    background: #00D163;
    color: #02120A;
}

.offer-card:hover .offer-metrics strong {
    color: #00D163;
}

.offer-card:hover .offer-link {
    color: #00D163;
    border-color: #00D163;
}

/* ---------- NOIR MAT + TEXTURE ---------- */
/* BUYER ACCESS */
.wpr-contact-area .section-inner {
    position: relative;
    background: radial-gradient(120% 120% at 50% 0%, #1D1D1D 0%, #141414 62%) !important;
    overflow: hidden;
}

.wpr-contact-area .section-inner::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.22;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='140' height='140'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

.wpr-contact-area .section-inner > * {
    position: relative;
    z-index: 1;
}

/* Autres noirs plats */
.offer-card:hover {
    background: #141414 !important;
}

.offer-vert {
    background: #141414;
}

.wpr-cta-area .section-inner .section-bottom-shape .tag {
    background: #141414;
}

.bx-pixel-cell {
    background: #141414;
}

/* =====================================================================
   ANIMATIONS : unifier le vert sur #00D163
   1. Convoyeur de leads (bxb-belt)
   2. Figure hairline "hub" (publishers)
   3. Figure hairline "settle" (WHO WE ARE)
   (l'animation AVAILABLE LEADS est traitee dans js/auction-anim-v3.js)
   ===================================================================== */

/* 1. Convoyeur de leads */
.bxb-lead {
    border-color: #00D163;
    color: #0D1520;
    box-shadow: 0 2px 0 rgba(0, 209, 99, 0.12);
}

/* 2 & 3. Figures hairline */
.bxb-fig {
    --hairline-hi: #00D163;
}

/* ---------- WHO WE ARE : "24 h" ---------- */
/* Le "h" etait plus bas que les chiffres (ligne de base differente). */
.wpr-about-area .title {
    align-items: baseline;
}

.wpr-about-area .title .prefix {
    font-family: var(--font-secondary);
    font-weight: 600;
    position: relative;
    top: 0.05em;
}

/* ---------- WHO WE ARE : logo flottant = photo ---------- */
/* Remplace l'ancien SVG par images/animation2.png (croquis du B).
   L'image a ~9 % de marge interne : on elargit le cadre pour garder
   la meme taille visuelle que l'ancien logo.
   Le logo est remonte pour passer AU-DESSUS du fil pointille
   (le fil garde sa longueur d'origine). */
.bxb-float {
    width: 40%;
    top: -18%;
}

.bxb-float img {
    display: block;
    width: 100%;
    height: auto;
}

/* Sur mobile la figure passe sous les stats : on lui laisse de l'air
   pour que le logo remonte sans toucher le dernier chiffre. */
@media (max-width: 767px) {
    .bxb-scene-about {
        margin-top: 28px;
    }
}

/* ---------- NAV : moins chargee sur les laptops ---------- */
/* CONTACT retire du menu desktop (reste dans le menu mobile + footer).
   On resserre l'espacement pour les ecrans <= 1440 px. */
@media (max-width: 1440px) and (min-width: 992px) {
    .main-nav-area ul {
        gap: 24px;
    }
}

@media (max-width: 1199px) and (min-width: 992px) {
    .main-nav-area {
        margin-right: 16px;
    }

    .main-nav-area ul {
        gap: 16px;
    }

    .main-nav-area ul li a {
        font-size: 13px;
    }
}

/* ---------- NAV : hamburger sous 1200px, nav normale a partir de 1200px ---------- */
@media (max-width: 1199px) {
    .main-nav-area { display: none !important; }
    .button-area-start .menu-btn { display: flex !important; }
}
@media (min-width: 1080px) and (max-width: 1199px) {
    .button-area-start > .wpr-btn { display: inline-flex !important; }
}
@media (max-width: 1079px) {
    .button-area-start > .wpr-btn { display: none !important; }
}
@media (min-width: 1200px) {
    .main-nav-area { display: block; }
    .button-area-start > .wpr-btn { display: inline-flex; }
    .button-area-start .menu-btn { display: none !important; }
}

/* le menu mobile passe au-dessus du hero */
.side-bar { z-index: 9999 !important; }

/* le menu du hamburger doit exister jusqu'a 1199px */
@media (max-width: 1199px) {
    #side-bar .mobile-menu-main { display: block !important; }
}
/* l'overlay du loader ne doit jamais bloquer les clics */
.bx-pixel-cover { pointer-events: none !important; }
