/* Razox Hero V3 — CSS externe + @font-face local (Barlow latin)
 * Hébergement cible : /wp-content/uploads/razox-hero/razox-hero-v3.css
 * Fonts cible      : /wp-content/uploads/razox-hero/fonts/
 * Cache-control    : public, max-age=31536000, immutable (déjà configuré .htaccess)
 */

/* ========== Barlow Condensed (hero fonts) ========== */
@font-face{font-family:'Barlow';src:url('./fonts/barlow-400.woff2') format('woff2');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:'Barlow';src:url('./fonts/barlow-500.woff2') format('woff2');font-weight:500;font-style:normal;font-display:swap}
@font-face{font-family:'Barlow';src:url('./fonts/barlow-600.woff2') format('woff2');font-weight:600;font-style:normal;font-display:swap}
@font-face{font-family:'Barlow';src:url('./fonts/barlow-700.woff2') format('woff2');font-weight:700;font-style:normal;font-display:swap}
@font-face{font-family:'Barlow Condensed';src:url('./fonts/barlow-cond-500.woff2') format('woff2');font-weight:500;font-style:normal;font-display:swap}
@font-face{font-family:'Barlow Condensed';src:url('./fonts/barlow-cond-600.woff2') format('woff2');font-weight:600;font-style:normal;font-display:swap}
@font-face{font-family:'Barlow Condensed';src:url('./fonts/barlow-cond-700.woff2') format('woff2');font-weight:700;font-style:normal;font-display:swap}
@font-face{font-family:'Barlow Condensed';src:url('./fonts/barlow-cond-800.woff2') format('woff2');font-weight:800;font-style:normal;font-display:swap}
@font-face{font-family:'Barlow Condensed';src:url('./fonts/barlow-cond-900.woff2') format('woff2');font-weight:900;font-style:normal;font-display:swap}

/* ========== SCOPE ========== */
#razox-hero{position:relative;width:100%;max-width:1400px;margin:24px auto 28px;aspect-ratio:1000/380;min-height:420px;border-radius:18px;overflow:hidden;isolation:isolate;background:#05020f linear-gradient(135deg,#0a0a20 0%,#1a0a2e 50%,#0a0a20 100%);font-family:'Barlow',system-ui,sans-serif;box-shadow:0 30px 90px -30px rgba(123,53,255,.55),0 12px 40px -20px rgba(0,0,0,.8)}
#razox-hero::before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,transparent,rgba(123,53,255,.08),transparent);animation:rzxSkeleton 2s ease-in-out infinite;pointer-events:none;z-index:0}
#razox-hero.rzx-ready::before{display:none}
@keyframes rzxSkeleton{0%,100%{transform:translateX(-100%)}50%{transform:translateX(100%)}}
#razox-hero *{box-sizing:border-box;margin:0;padding:0}
#razox-hero .rzx-slides{position:absolute;inset:0}
#razox-hero .rzx-slide{position:absolute;inset:0;opacity:0;visibility:hidden;transition:opacity .7s ease,visibility .7s ease;will-change:opacity}
#razox-hero .rzx-slide.active{opacity:1;visibility:visible}
#razox-hero .rzx-bg{position:absolute;inset:-6%;background-size:cover;background-position:center;transform:scale(1.08);transition:transform 8s ease-out;filter:saturate(1.1)}
#razox-hero .rzx-slide.active .rzx-bg{animation:rzxPan 9s ease-out forwards}
@keyframes rzxPan{0%{transform:scale(1.15) translate3d(-1.5%,0,0)}100%{transform:scale(1.08) translate3d(1.5%,0,0)}}
#razox-hero .rzx-bg-1{background-image:url('https://www.razox.ch/wp-content/uploads/2026/04/btqxzp.webp')}
#razox-hero .rzx-bg-2{background-image:url('https://www.razox.ch/wp-content/uploads/2026/04/9ih4ez.webp')}
#razox-hero .rzx-bg-3{background-image:url('https://www.razox.ch/wp-content/uploads/2026/04/hikqu5.webp')}
#razox-hero .rzx-ov{position:absolute;inset:0;pointer-events:none}
#razox-hero .rzx-s1 .rzx-ov{background:radial-gradient(ellipse 60% 80% at 80% 50%,rgba(5,5,25,.65) 0%,rgba(5,5,25,0) 60%),linear-gradient(90deg,rgba(10,10,30,0) 35%,rgba(10,10,30,.55) 100%),linear-gradient(180deg,rgba(0,0,0,.25) 0%,rgba(0,0,0,0) 40%,rgba(0,0,0,.4) 100%)}
#razox-hero .rzx-s2 .rzx-ov{background:radial-gradient(ellipse 60% 80% at 20% 50%,rgba(5,5,25,.7) 0%,rgba(5,5,25,0) 60%),linear-gradient(270deg,rgba(10,10,30,0) 35%,rgba(10,10,30,.55) 100%),linear-gradient(180deg,rgba(0,0,0,.25) 0%,rgba(0,0,0,0) 40%,rgba(0,0,0,.4) 100%)}
#razox-hero .rzx-s3 .rzx-ov{background:radial-gradient(ellipse 60% 80% at 80% 50%,rgba(5,5,25,.7) 0%,rgba(5,5,25,0) 60%),linear-gradient(90deg,rgba(10,10,30,0) 35%,rgba(10,10,30,.55) 100%),linear-gradient(180deg,rgba(0,0,0,.25) 0%,rgba(0,0,0,0) 40%,rgba(0,0,0,.4) 100%)}
#razox-hero .rzx-fx{position:absolute;inset:0;pointer-events:none;overflow:hidden}
#razox-hero .rzx-fx .beam{position:absolute;top:-20%;left:35%;width:6px;height:140%;background:linear-gradient(to bottom,rgba(45,212,212,0) 0%,rgba(45,212,212,.7) 40%,rgba(120,230,255,1) 50%,rgba(45,212,212,.7) 60%,rgba(45,212,212,0) 100%);filter:blur(2px);transform-origin:center top;transform:rotate(8deg) translateX(-50%);mix-blend-mode:screen;opacity:0}
#razox-hero .rzx-s1.active .rzx-fx .beam{animation:rzxBeam 4.2s ease-in-out infinite}
#razox-hero .rzx-s1.active .rzx-fx .beam.b2{left:28%;animation-delay:1.4s;width:3px}
#razox-hero .rzx-s1.active .rzx-fx .beam.b3{left:42%;animation-delay:2.6s;width:4px}
@keyframes rzxBeam{0%{opacity:0;transform:rotate(-12deg) translateX(-160px)}20%{opacity:.9}60%{opacity:.9}100%{opacity:0;transform:rotate(14deg) translateX(160px)}}
#razox-hero .rzx-fx .ring{position:absolute;left:26%;top:50%;width:320px;height:320px;border-radius:50%;border:1.5px solid rgba(45,212,212,.55);transform:translate(-50%,-50%) scale(.6);opacity:0;mix-blend-mode:screen;box-shadow:0 0 30px rgba(45,212,212,.35),inset 0 0 20px rgba(45,212,212,.2)}
#razox-hero .rzx-s1.active .rzx-fx .ring{animation:rzxRing 3.6s ease-out infinite}
#razox-hero .rzx-s1.active .rzx-fx .ring.r2{animation-delay:1.2s}
#razox-hero .rzx-s1.active .rzx-fx .ring.r3{animation-delay:2.4s;border-color:rgba(255,60,180,.5);box-shadow:0 0 30px rgba(255,60,180,.35),inset 0 0 20px rgba(255,60,180,.2)}
@keyframes rzxRing{0%{transform:translate(-50%,-50%) scale(.4);opacity:0}25%{opacity:.9}100%{transform:translate(-50%,-50%) scale(1.6);opacity:0}}
#razox-hero .rzx-fx .burst{position:absolute;left:26%;top:50%;width:520px;height:520px;transform:translate(-50%,-50%);background:radial-gradient(circle,rgba(120,230,255,.55) 0%,rgba(45,212,212,.25) 20%,transparent 55%);filter:blur(20px);mix-blend-mode:screen;opacity:0}
#razox-hero .rzx-s1.active .rzx-fx .burst{animation:rzxBurst 5s ease-in-out infinite}
@keyframes rzxBurst{0%,100%{opacity:.45;transform:translate(-50%,-50%) scale(1)}50%{opacity:.85;transform:translate(-50%,-50%) scale(1.1)}}
#razox-hero .rzx-fx .scanlines{position:absolute;inset:0;background:repeating-linear-gradient(to bottom,rgba(45,212,212,.04) 0,rgba(45,212,212,.04) 1px,transparent 1px,transparent 3px);mix-blend-mode:screen;opacity:0}
#razox-hero .rzx-s1.active .rzx-fx .scanlines{animation:rzxScan 6s linear infinite}
@keyframes rzxScan{0%{opacity:.6;background-position:0 0}100%{opacity:.6;background-position:0 60px}}
#razox-hero .rzx-fx .flare{position:absolute;top:18%;right:22%;width:160px;height:160px;background:radial-gradient(circle,rgba(255,255,255,.9) 0%,rgba(45,212,212,.5) 20%,rgba(45,212,212,0) 60%);border-radius:50%;filter:blur(2px);mix-blend-mode:screen;opacity:0}
#razox-hero .rzx-s1.active .rzx-fx .flare{animation:rzxFlare 4s ease-in-out infinite}
@keyframes rzxFlare{0%,100%{opacity:.25;transform:scale(1)}30%{opacity:.9;transform:scale(1.15)}55%{opacity:.35;transform:scale(.95)}}
#razox-hero .rzx-fx .bolt{position:absolute;width:140px;height:2px;background:linear-gradient(90deg,transparent 0%,rgba(120,230,255,.9) 50%,transparent 100%);filter:blur(.5px) drop-shadow(0 0 6px rgba(120,230,255,.9));opacity:0;mix-blend-mode:screen;animation:rzxBolt var(--bolt-dur,2.2s) ease-out infinite;animation-delay:var(--bolt-delay,0s)}
@keyframes rzxBolt{0%{opacity:0;transform:translateX(-60px) scaleX(.3)}30%{opacity:1}100%{opacity:0;transform:translateX(120px) scaleX(1.3)}}
#razox-hero .rzx-parts{position:absolute;inset:0;pointer-events:none}
#razox-hero .rzx-parts .p{position:absolute;width:3px;height:3px;border-radius:50%;background:#fff;opacity:0;box-shadow:0 0 8px rgba(255,255,255,.9);animation:rzxRise var(--dur,7s) linear infinite;animation-delay:var(--delay,0s)}
@keyframes rzxRise{0%{transform:translateY(0);opacity:0}10%{opacity:.9}90%{opacity:.9}100%{transform:translateY(-240px);opacity:0}}
#razox-hero .rzx-content{position:absolute;inset:0;display:grid;grid-template-columns:1fr 1fr;align-items:center;padding:0 72px;z-index:2;gap:20px}
#razox-hero .rzx-text{display:flex;flex-direction:column;gap:18px;opacity:0;transform:translateX(-30px);transition:opacity .9s ease .25s,transform .9s ease .25s}
#razox-hero .rzx-slide.active .rzx-text{opacity:1;transform:translateX(0)}
#razox-hero .rzx-s1 .rzx-text{order:2;padding-left:20px}
#razox-hero .rzx-s1 .rzx-product{order:1}
#razox-hero .rzx-s2 .rzx-text{order:1;padding-left:20px}
#razox-hero .rzx-s2 .rzx-product{order:2}
#razox-hero .rzx-s3 .rzx-text{order:2;padding-left:20px}
#razox-hero .rzx-s3 .rzx-product{order:1}
#razox-hero .rzx-eyebrow{font-family:'Barlow Condensed',sans-serif;font-weight:600;font-size:14px;letter-spacing:.35em;text-transform:uppercase;display:inline-flex;align-items:center;gap:10px}
#razox-hero .rzx-eyebrow::before{content:"";width:28px;height:2px;background:currentColor}
#razox-hero .rzx-s1 .rzx-eyebrow{color:#2dd4d4}
#razox-hero .rzx-s2 .rzx-eyebrow{color:#ff6ab0}
#razox-hero .rzx-s3 .rzx-eyebrow{color:#ffb347}
#razox-hero .rzx-title{font-family:'Barlow Condensed',sans-serif;font-weight:900;font-size:82px;line-height:.95;letter-spacing:.02em;text-transform:uppercase;color:#fff;white-space:nowrap;text-shadow:0 0 30px rgba(120,180,255,.4),0 4px 24px rgba(0,0,0,.75);margin:0}
#razox-hero .rzx-title br{white-space:normal}
#razox-hero .rzx-sub{font-family:'Barlow Condensed',sans-serif;font-weight:600;font-size:17px;letter-spacing:.18em;color:#e4eaff;text-transform:uppercase;max-width:440px;text-shadow:0 2px 10px rgba(0,0,0,.6)}
#razox-hero .rzx-specs{display:flex;flex-direction:column;gap:6px;margin-top:4px;font-family:'Barlow Condensed',sans-serif;font-weight:600;font-size:21px;letter-spacing:.1em;color:#e4eaff;text-transform:uppercase;text-shadow:0 2px 10px rgba(0,0,0,.6)}
#razox-hero .rzx-specs span{white-space:nowrap}
#razox-hero .rzx-cta{margin-top:12px;align-self:flex-start;display:inline-flex;align-items:center;gap:12px;background:#fff;color:#0b0622;border:none;padding:14px 28px;border-radius:999px;font-family:'Barlow',sans-serif;font-weight:600;font-size:14px;letter-spacing:.05em;cursor:pointer;white-space:nowrap;transition:transform .25s ease,box-shadow .25s ease;box-shadow:0 6px 24px rgba(255,255,255,.18);text-decoration:none}
#razox-hero .rzx-cta::after{content:"›";color:#ff2c7a;font-weight:800;font-size:18px;line-height:1;transition:transform .25s ease}
#razox-hero .rzx-cta:hover{transform:translateY(-2px);box-shadow:0 14px 40px rgba(255,60,140,.45);color:#0b0622;text-decoration:none}
#razox-hero .rzx-cta:hover::after{transform:translateX(4px)}
#razox-hero .rzx-product{position:relative;width:100%;height:100%;display:flex;align-items:center;justify-content:center;opacity:0;transform:scale(.92) translateY(20px);transition:opacity 1s ease .2s,transform 1.1s cubic-bezier(.2,.9,.3,1) .2s}
#razox-hero .rzx-slide.active .rzx-product{opacity:1;transform:scale(1) translateY(0)}
#razox-hero .rzx-pi{width:100%;height:90%;position:relative;animation:rzxFloat 5s ease-in-out infinite}
#razox-hero .rzx-pi img{width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 30px 40px rgba(0,0,0,.55))}
#razox-hero .rzx-s1 .rzx-pi{transform:translateY(-18px)}
#razox-hero .rzx-s1 .rzx-pi img{filter:drop-shadow(0 20px 40px rgba(45,212,212,.45)) drop-shadow(0 30px 50px rgba(0,0,0,.6))}
#razox-hero .rzx-s2 .rzx-pi img{filter:drop-shadow(0 20px 40px rgba(255,70,150,.4)) drop-shadow(0 30px 50px rgba(0,0,0,.6))}
#razox-hero .rzx-s3 .rzx-pi img{filter:drop-shadow(0 20px 40px rgba(255,140,60,.4)) drop-shadow(0 30px 50px rgba(0,0,0,.6))}
#razox-hero .rzx-s3 .rzx-pi{transform:scale(1.2);transform-origin:center center}
#razox-hero .rzx-s3.active .rzx-pi{animation:rzxFloatS3 5s ease-in-out infinite}
@keyframes rzxFloatS3{0%,100%{transform:scale(1.2) translateY(0)}50%{transform:scale(1.2) translateY(-10px)}}
@media (max-width:768px){
 #razox-hero .rzx-s3 .rzx-pi{transform:scale(1.15);transform-origin:center center}
 #razox-hero .rzx-s3.active .rzx-pi{animation:rzxFloatS3Mobile 5s ease-in-out infinite}
 @keyframes rzxFloatS3Mobile{0%,100%{transform:scale(1.15) translateY(0)}50%{transform:scale(1.15) translateY(-8px)}}
}
@keyframes rzxFloat{0%,100%{transform:translateY(0) rotate(0deg)}50%{transform:translateY(-14px) rotate(-.5deg)}}
#razox-hero .rzx-product::after{content:"";position:absolute;bottom:10%;left:50%;transform:translateX(-50%);width:55%;height:22px;border-radius:50%;filter:blur(14px);opacity:.7;z-index:-1}
#razox-hero .rzx-s1 .rzx-product::after{background:radial-gradient(ellipse,rgba(45,212,212,.7),transparent 70%)}
#razox-hero .rzx-s2 .rzx-product::after{background:radial-gradient(ellipse,rgba(255,60,150,.6),transparent 70%)}
#razox-hero .rzx-s3 .rzx-product::after{background:radial-gradient(ellipse,rgba(255,140,60,.55),transparent 70%)}
#razox-hero .rzx-arrow{position:absolute;top:50%;transform:translateY(-50%);width:46px;height:46px;border-radius:50%;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.2);color:#fff;display:grid;place-items:center;cursor:pointer;backdrop-filter:blur(8px);z-index:10;transition:background .2s ease,transform .2s ease}
#razox-hero .rzx-arrow:hover{background:rgba(255,255,255,.18);transform:translateY(-50%) scale(1.05)}
#razox-hero .rzx-prev{left:20px}
#razox-hero .rzx-next{right:20px}
#razox-hero .rzx-arrow svg{width:18px;height:18px}
#razox-hero .rzx-dots{position:absolute;left:50%;transform:translateX(-50%);bottom:22px;display:flex;gap:10px;z-index:10}
#razox-hero .rzx-dot{position:relative;width:40px;height:4px;border-radius:2px;background:rgba(255,255,255,.22);border:none;cursor:pointer;overflow:hidden;padding:0;transition:background .25s ease}
#razox-hero .rzx-dot::after{content:"";position:absolute;inset:0;width:0;background:linear-gradient(90deg,#ff2c7a,#2dd4d4);border-radius:2px;transition:width 0s linear}
#razox-hero .rzx-dot.active::after{width:100%;transition:width var(--auto-ms,6000ms) linear}
#razox-hero .rzx-counter{position:absolute;top:22px;right:26px;font-family:'Barlow Condensed',sans-serif;font-weight:700;letter-spacing:.3em;font-size:14px;color:rgba(255,255,255,.75);z-index:10}
#razox-hero .rzx-counter b{color:#fff;font-size:18px}
@media (max-width:1200px){#razox-hero .rzx-title{font-size:72px}#razox-hero .rzx-content{padding:0 48px}}
@media (max-width:1024px){#razox-hero{aspect-ratio:auto;min-height:520px}#razox-hero .rzx-title{font-size:64px}#razox-hero .rzx-specs{font-size:19px}#razox-hero .rzx-content{padding:0 40px}}
@media (max-width:900px){#razox-hero .rzx-content{grid-template-columns:1fr;padding:0 32px}#razox-hero .rzx-s1 .rzx-text,#razox-hero .rzx-s2 .rzx-text,#razox-hero .rzx-s3 .rzx-text{order:1;padding-left:0}#razox-hero .rzx-s1 .rzx-product,#razox-hero .rzx-s2 .rzx-product,#razox-hero .rzx-s3 .rzx-product{order:2}#razox-hero .rzx-title{font-size:56px}#razox-hero{min-height:560px}}
@media (max-width:768px){#razox-hero{border-radius:14px;min-height:680px;aspect-ratio:auto;margin:14px 12px 20px;width:calc(100% - 24px)}#razox-hero .rzx-content{grid-template-columns:1fr;grid-template-rows:1fr 1fr;padding:32px 28px;gap:0}#razox-hero .rzx-s1 .rzx-text,#razox-hero .rzx-s1 .rzx-product,#razox-hero .rzx-s2 .rzx-text,#razox-hero .rzx-s2 .rzx-product,#razox-hero .rzx-s3 .rzx-text,#razox-hero .rzx-s3 .rzx-product{padding-left:0}#razox-hero .rzx-slide .rzx-text{grid-row:2;align-items:flex-start;text-align:left}#razox-hero .rzx-slide .rzx-product{grid-row:1;height:100%}#razox-hero .rzx-pi{max-height:280px}#razox-hero .rzx-title{font-size:48px;white-space:normal}#razox-hero .rzx-sub{font-size:14px;letter-spacing:.12em}#razox-hero .rzx-specs{font-size:17px}#razox-hero .rzx-eyebrow{font-size:12px;letter-spacing:.28em}#razox-hero .rzx-arrow{width:38px;height:38px}#razox-hero .rzx-prev{left:10px}#razox-hero .rzx-next{right:10px}#razox-hero .rzx-counter{top:14px;right:16px;font-size:12px}#razox-hero .rzx-cta{padding:12px 22px;font-size:13px}#razox-hero .rzx-fx .ring{width:220px;height:220px;left:50%;top:40%}#razox-hero .rzx-fx .burst{width:360px;height:360px;left:50%;top:40%}#razox-hero .rzx-fx .flare{width:110px;height:110px;top:10%;right:12%}}
@media (max-width:480px){#razox-hero{min-height:600px;border-radius:10px}#razox-hero .rzx-title{font-size:40px}#razox-hero .rzx-specs{font-size:15px}#razox-hero .rzx-pi{max-height:230px}#razox-hero .rzx-content{padding:24px 20px}#razox-hero .rzx-dots{bottom:16px}#razox-hero .rzx-dot{width:30px}}
@media (prefers-reduced-motion:reduce){#razox-hero .rzx-bg,#razox-hero .rzx-pi,#razox-hero .rzx-fx *{animation:none!important;transition:none!important}}
