/* Accueil, premiere diapo : fond sombre a effets CSS + rond vert derriere la mascotte.
   D'apres zp-fonds.css livre le 26/11/2026 (zappeur-fonds-sombres.zip), avec deux ecarts :
   - les regles de texte du modele (police Inter, tailles du H1/H2, bouton) sont retirees : le H1, le H2,
     la ligne Boites | Depots et le bouton gardent les classes et le style du site ;
   - les ondes utilisent :nth-of-type (avec :nth-child, les 4 ondes partaient en meme temps).
   L'effet se choisit dans index.php ($zpFx). */
/* ================= Première diapo : base commune ================= */
.zp-hero{position:relative;overflow:hidden;isolation:isolate;min-height:min(100vh,860px);display:grid;grid-template-columns:1.05fr .95fr;align-items:center;gap:clamp(24px,5vw,72px);padding:32px clamp(20px,6vw,96px) 48px;background:#0b0f1a;color:#fff}
.zp-hero__fx,.zp-hero__fx2,.zp-hero__vignette{position:absolute;inset:0;z-index:-1;pointer-events:none}
.zp-hero__vignette{background:radial-gradient(110% 90% at 50% 50%,transparent 45%,rgba(11,15,26,.9) 100%),linear-gradient(90deg,rgba(11,15,26,.6) 0%,rgba(11,15,26,.2) 40%,rgba(11,15,26,0) 60%)}
@media (prefers-reduced-motion:reduce){.zp-hero *{animation:none!important}}


/* mascotte + rond vert */
.zp-hero__scene{position:relative;width:min(100%,520px,calc((100vh - 200px) * .669));aspect-ratio:400/598;margin:0 auto}
.zp-hero__scene::before{content:"";position:absolute;inset:8% -4% 2% -6%;border-radius:50%;background:#60ff00;box-shadow:0 0 140px rgba(96,255,0,.28);z-index:0}
.zp-hero__scene svg{position:relative;z-index:1;width:100%;height:auto;display:block;overflow:visible;--ink:#141417;--paper:#fff;--zap:#ffd21f;--flash:#fff}
.zp-hero__scene .ink{fill:var(--ink)}.zp-hero__scene .paper{fill:var(--paper)}.zp-hero__scene .zap{fill:var(--zap)}.zp-hero__scene .flash{fill:var(--flash)}
.zp-hero__scene .glow{fill:none;stroke:var(--zap);stroke-linejoin:round}.zp-hero__scene .ring{fill:none;stroke:var(--zap);stroke-linecap:round}
.zp-hero__scene .shadow{fill:#000;opacity:.25}.zp-hero__scene .lid{fill:none;stroke:var(--ink);stroke-width:2.6;stroke-linecap:round}
.zp-hero__scene .speed{fill:none;stroke:#fff;stroke-width:5;stroke-linecap:round}.zp-hero__scene .dust{fill:#fff}
@media (max-width:900px){.zp-hero{grid-template-columns:1fr;text-align:center;min-height:0;padding-top:16px}.zp-hero__copy{order:2}.zp-hero__scene{width:min(100%,340px)}}

.zp-fx-trame .zp-hero__fx{background:radial-gradient(circle,#60ff00 0 2.2px,transparent 2.6px) 0 0/16px 16px;opacity:.32;
  -webkit-mask-image:radial-gradient(60% 80% at 72% 50%,#000 20%,transparent 75%);mask-image:radial-gradient(60% 80% at 72% 50%,#000 20%,transparent 75%);animation:zpBreathe 9s ease-in-out infinite}
.zp-fx-trame .zp-hero__fx2{background:radial-gradient(circle,#fff 0 1px,transparent 1.4px) 8px 8px/16px 16px;opacity:.06}
@keyframes zpBreathe{0%,100%{transform:scale(1);opacity:.32}50%{transform:scale(1.06);opacity:.42}}

.zp-fx-rayons .zp-hero__fx{inset:-60% -30%;background:repeating-conic-gradient(from 0deg at 50% 50%,rgba(96,255,0,.16) 0 7deg,transparent 7deg 18deg);
  -webkit-mask-image:radial-gradient(circle at 50% 50%,#000 10%,transparent 48%);mask-image:radial-gradient(circle at 50% 50%,#000 10%,transparent 48%);
  left:30%;animation:zpSpin 90s linear infinite}
@keyframes zpSpin{to{transform:rotate(360deg)}}
.zp-fx-rayons .zp-hero__fx2{background:radial-gradient(60% 70% at 72% 50%,rgba(96,255,0,.14),transparent 70%)}

.zp-fx-particules .zp-hero__fx{background:
  radial-gradient(circle,rgba(96,255,0,.9) 0 1.5px,transparent 2px) 0 0/170px 190px,
  radial-gradient(circle,rgba(255,255,255,.7) 0 1px,transparent 1.5px) 60px 90px/230px 260px,
  radial-gradient(circle,rgba(96,255,0,.6) 0 2.5px,transparent 3px) 120px 40px/310px 350px;
  animation:zpRise 40s linear infinite}
.zp-fx-particules .zp-hero__fx2{background:
  radial-gradient(circle,rgba(96,255,0,.45) 0 3.5px,transparent 4.5px) 40px 120px/420px 460px,
  radial-gradient(circle,rgba(255,255,255,.35) 0 2px,transparent 2.6px) 200px 20px/360px 400px;
  filter:blur(1.5px);animation:zpRise 70s linear infinite}
@keyframes zpRise{to{background-position:0 -1140px,60px -1470px,120px -1360px,40px -1260px,200px -1580px}}

.zp-fx-ondes .zp-hero__fx{background:radial-gradient(55% 65% at 72% 50%,rgba(96,255,0,.12),transparent 70%)}
.zp-fx-ondes .zp-onde{position:absolute;left:72%;top:50%;width:40vmin;height:40vmin;margin:-20vmin 0 0 -20vmin;border-radius:50%;border:2px solid rgba(96,255,0,.7);opacity:0;z-index:-1;pointer-events:none;animation:zpOnde 7s cubic-bezier(.2,.6,.3,1) 2.3s infinite}
.zp-fx-ondes .zp-onde:nth-of-type(2){animation-delay:3.55s}.zp-fx-ondes .zp-onde:nth-of-type(3){animation-delay:4.85s}.zp-fx-ondes .zp-onde:nth-of-type(4){animation-delay:7.55s}
@keyframes zpOnde{0%{transform:scale(.6);opacity:.8;border-width:3px}30%{opacity:0;transform:scale(4);border-width:1px}100%{opacity:0;transform:scale(4)}}

.zp-fx-grille .zp-hero__fx{top:52%;height:70%;transform-origin:50% 0;transform:perspective(600px) rotateX(62deg);
  background:linear-gradient(90deg,rgba(96,255,0,.35) 1px,transparent 1px) 0 0/80px 80px,linear-gradient(0deg,rgba(96,255,0,.35) 1px,transparent 1px) 0 0/80px 80px;
  -webkit-mask-image:linear-gradient(180deg,transparent 0,#000 25%,#000 100%);mask-image:linear-gradient(180deg,transparent 0,#000 25%,#000 100%);
  animation:zpGrid 3s linear infinite}
@keyframes zpGrid{to{background-position:0 80px,0 80px}}
.zp-fx-grille .zp-hero__fx2{background:linear-gradient(180deg,transparent 40%,rgba(96,255,0,.22) 52%,transparent 60%)}

.zp-fx-bandes .zp-hero__fx{inset:-20%;background:repeating-linear-gradient(115deg,#111726 0 140px,#0b0f1a 140px 280px)}
.zp-fx-bandes .zp-hero__fx2{inset:-20%;background:linear-gradient(115deg,transparent 0 44%,rgba(96,255,0,.16) 44% 52%,transparent 52%);animation:zpSlide 14s ease-in-out infinite alternate}
@keyframes zpSlide{to{transform:translateX(18%)}}

/* ================= Integration dans le diaporama de l'accueil ================= */
.home-slide > .zp-hero{box-sizing:border-box;width:100%;min-height:100vh;padding:120px clamp(20px,6vw,96px) 110px}
.home-slide > .zp-hero .zp-hero__scene{width:min(100%,520px,calc((100vh - 240px) * .669))}
.zp-hero__copy{position:relative;z-index:1;min-width:0}
.zp-hero__scene img{position:relative;z-index:1;display:block;width:100%;height:auto}
.zp-hero__fixe{display:none!important}
@media (prefers-reduced-motion:reduce){.zp-hero__anime{display:none!important}.zp-hero__fixe{display:block!important;margin-top:12.5%}}
@media (max-width:900px){
  .home-slide > .zp-hero{gap:20px;padding:100px 20px 120px;text-align:left}
  .home-slide > .zp-hero .zp-hero__scene{width:min(300px,100%)}
}
/* trop etroite pour une mascotte d'au moins 220 px : on la masque plutot que de la reduire */
@media (max-width:259px){.home-slide > .zp-hero .zp-hero__scene{display:none}}
