/* =====================================================================
   BEXBID - base CSS (extrait du <style> inline du <head>)
   Preloader, boutons neon, header, petites retouches de la home.
   Charge au meme endroit que l'ancien bloc inline (apres style.css,
   avant bexbid-theme-v3.css) pour conserver le cascade.
   ===================================================================== */

.brand-word { font-weight: 700; letter-spacing: -.03em; font-size: 26px; line-height: 1; color: #0d1520; display: inline-block; }
        .wpr-footer-area .brand-word { font-size: 52px; }
        .wpr-cta-area .logo .brand-word { font-size: 44px; color: #0d1520; }
        .wrapper-header .logo .brand-word { font-size: 22px; }
        .bxb-logo-inline { display: inline-block; }
        .why-choose-wrapper .bxb-logo-inline { height: 60px; width: auto; max-width: none; }
        .wpr-cta-area .bxb-logo-inline { height: 66px; width: auto !important; max-width: none !important; }
        /* WHY US: centrer le logo dans son header, annuler le padding asymetrique du theme */
        .why-choose-wrapper .wrapper-header.two { padding: 0 24px !important; justify-content: center; }
        /* CTA: centrer le logo aussi */
        .wpr-cta-area .section-title-area .logo { text-align: center; }
        .wpr-brand-area .brand-wrapper { padding: 0 22px; }
        .wpr-brand-area .brand-wrapper .vlabel { font-size: 14px; font-weight: 600; letter-spacing: .16em; white-space: nowrap; color: #0d1520; }

        /* Neon Login button — same 3D structure as .wpr-btn (drop shadow +
           inset highlight / bottom edge), brand neon (#00D163) instead of
           the dark gradient. Text is near-black (#030712) on neon. */
        .wpr-btn.btn-neon {
            color: #030712;
            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.6), 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.7), 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.6), inset 0px -3px 0px #00A34D, inset 0px -4px 0px 1px rgba(255, 255, 255, 0.25);
        }
        /* Same hover depth for the dark Sign Up button */
        .wpr-btn.btn-primary:not(.btn-neon):hover {
            box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.18), inset 0px 1px 0px rgba(255, 255, 255, 0.6), inset 0px -6px 0px #1A1A1A, inset 0px -4px 0px 1px rgba(255, 255, 255, 0.1);
        }

        /* ---------- pixel loader ---------- */
        .preloader {
            background: #1F1F25;
        }
        .site-name.bx-pixel-loader {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            gap: 10px;
            background: transparent;
            text-align: center;
        }
        .bx-loader-logo {
            width: min(420px, 85vw);
            height: auto;
            display: block;
            image-rendering: pixelated;
            animation: bxLogoIn 0.9s cubic-bezier(0.16, 0.84, 0.44, 1) 0.05s backwards;
        }
        @keyframes bxLogoIn {
            from { opacity: 0; transform: scale(0.93) translateY(10px); filter: blur(8px); }
            to   { opacity: 1; transform: scale(1) translateY(0); filter: blur(0); }
        }
        .bx-loader-bar {
            /* Same width as the logo box, so the line ends under the "D". */
            width: min(420px, 85vw);
            height: 3px;
            margin-top: 6px;
            background: rgba(255, 255, 255, 0.14);
            overflow: hidden;
            animation: bxLogoIn 0.7s cubic-bezier(0.16, 0.84, 0.44, 1) 0.2s backwards;
        }
        .bx-loader-bar span {
            display: block;
            width: 0;
            height: 100%;
            background: #ffffff;
        }
        @media only screen and (max-width: 767px) {
            .site-name.bx-pixel-loader { gap: 8px; }
            .bx-loader-logo { width: min(240px, 80vw); }
            .bx-loader-bar { width: min(240px, 80vw); margin-top: 4px; }
        }
        /* Pixel-dissolve exit grid (built by js/main.js preloader).
           Lives INSIDE the preloader so it always matches the exact
           viewport area, whatever transform an ancestor may carry. */
        .bx-pixel-cover {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: 3;
            display: grid;
            grid-template-columns: repeat(20, 1fr);
            grid-template-rows: repeat(12, 1fr);
            overflow: hidden;
        }
        .bx-pixel-cell { background: #1F1F25; }
        /* verticals: marquee sans fin — translation -50% (le contenu duplique x2 boucle sans vide) */
        @keyframes bxb-marquee {
            0% { transform: translateX(0); }
            100% { transform: translateX(-50%); }
        }
        #verticals .brand-inner { animation: bxb-marquee 20s linear infinite; }
        /* icones Soft 3D monochromes (withicons-soft3d recolorees en gris/encre) */
        #verticals .vitem { display: inline-flex; flex-direction: column; align-items: center; gap: 12px; vertical-align: middle; line-height: 1.4; }
        #verticals .vicon3d { width: 64px; height: 64px; display: block; flex: 0 0 auto; }

        /* services: keep the value proposition visible without hover */
        .wpr-services-area .service-wrapper .content .top .desc { opacity: 1 !important; color: rgba(3,7,18,.62) !important; margin-top: 12px; max-width: 30ch; line-height: 1.5; }
        .wpr-services-area .service-wrapper:hover .content .top .desc { color: #D1D5DB !important; }

        /* offers grid */
        .wpr-project-area .section-inner .space { display: none !important; }
        .wpr-project-area .section-inner .floating-content { position: static !important; top: auto !important; z-index: 1; padding: 80px 40px 0; margin-bottom: 0 !important; }
        .wpr-project-area .section-inner .floating-content .section-title-area .section-title { margin-bottom: 0 !important; }
        .wpr-project-area .offers-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(3,7,18,.1); margin-top: 0; }
        .offer-card { display: flex; flex-direction: column; gap: 16px; padding: 40px 34px 38px; border-right: 1px solid rgba(3,7,18,.1); background: #fff; transition: background .3s ease; }
        .offer-card:last-child { border-right: 0; }
        .offer-card:hover { background: #030712; }
        .offer-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
        .offer-vert { font-size: 12px; font-weight: 600; letter-spacing: .16em; padding: 6px 10px; background: #030712; color: #F9FAFB; }
        .offer-card:hover .offer-vert { background: #00D163; color: #030712; }
        .offer-tag { font-size: 11px; letter-spacing: .14em; color: rgba(3,7,18,.45); }
        .offer-title { font-size: 26px; line-height: 1.15; font-weight: 600; margin: 6px 0 0; color: #030712; }
        .offer-desc { font-size: 15px; line-height: 1.55; color: rgba(3,7,18,.6); margin: 0; min-height: 70px; }
        .offer-metrics { display: flex; gap: 28px; list-style: none; padding: 22px 0 0; margin: 0; border-top: 1px solid rgba(3,7,18,.1); }
        .offer-metrics li { display: flex; flex-direction: column; gap: 6px; }
        .offer-metrics strong { font-size: 26px; line-height: 1; font-weight: 600; color: #030712; }
        .offer-metrics span { font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: rgba(3,7,18,.5); }
        .offer-card:hover .offer-title { color: #F9FAFB; }
        .offer-card:hover .offer-desc, .offer-card:hover .offer-tag, .offer-card:hover .offer-metrics span { color: rgba(249,250,251,.6); }
        .offer-card:hover .offer-metrics strong { color: #00D163; }
        .offer-card:hover .offer-metrics { border-color: rgba(249,250,251,.15); }
        .offer-link { margin-top: 10px; align-self: flex-start; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: #030712; border-bottom: 1px solid #030712; padding-bottom: 3px; }
        .offer-card:hover .offer-link { color: #00D163; border-color: #00D163; }

        /* compact process steps (photo-free, compact) */
        .wpr-working-process .working-process-left { position: sticky !important; top: 100px; gap: 20px !important; align-self: flex-start; height: auto !important; justify-content: flex-start !important; }
        .wpr-working-process .working-process-wrapper { padding: 20px 0 !important; gap: 24px !important; }

        /* testimonials: quote panel full width */
        .wpr-testimonials-area .section-inner { display: block !important; }
        .wpr-testimonials-area .testimonials-content-slider { width: 100% !important; max-width: none !important; }

        @media (max-width: 991px) {
            #verticals .brand-wrapper { height: 120px !important; line-height: 120px !important; }
            .wpr-project-area .offers-grid { grid-template-columns: 1fr; }
            .offer-card { border-right: 0; border-bottom: 1px solid rgba(3,7,18,.1); padding: 32px 24px; }
            .offer-desc { min-height: 0; }
            .offer-metrics { gap: 22px; }
        }

        /* testimonials: static quote grid */
        .wpr-testimonials-area .testi-inner { background: #030712; padding: 76px 56px 84px; }
        .wpr-testimonials-area .testi-inner .section-title { color: #F9FAFB; }
        .testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; margin-top: 56px; }
        .testi-card { margin: 0; border-top: 1px solid rgba(249,250,251,.22); padding-top: 28px; display: flex; flex-direction: column; gap: 26px; }
        .testi-card blockquote { margin: 0; font-size: 17px; line-height: 1.65; color: #F9FAFB; }
        .testi-card figcaption strong { display: block; font-size: 15px; font-weight: 600; color: #F9FAFB; }
        .testi-card figcaption span { font-size: 12px; letter-spacing: .06em; color: rgba(249,250,251,.5); }
        .wpr-working-process .section-inner .row { align-items: center; }
        @media (max-width: 991px) {
            .wpr-testimonials-area .testi-inner { padding: 56px 24px 60px; }
            .testi-grid { grid-template-columns: 1fr; gap: 32px; margin-top: 36px; }
            .wpr-working-process .section-inner .row { align-items: stretch; }
        }
