/* ZEA Elite Performance — theme chrome & responsive helpers
   These rules reproduce the responsive behaviour that lived in each
   Design-Component <helmet> block. Layout itself stays inline. */

html { scroll-behavior: smooth; }
body { background: #000; color: #F8F8F8; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; }

/* ---- Site header ---- */
.zea-site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: var(--z-header, 100);
  height: var(--header-h, 76px);
  background: rgba(0, 0, 0, 0.86);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-subtle);
  font-family: var(--font-body);
}
.zea-site-header__inner {
  max-width: 1240px; margin: 0 auto; height: 100%;
  padding: 0 clamp(20px, 5vw, 48px);
  display: flex; align-items: center; justify-content: space-between;
}
/* push page content below the fixed header */
.zea-site-main { padding-top: 0; }

/* ---- Responsive helpers (were per-page @media in <helmet>) ---- */
@media (max-width: 920px) { .zea-split { grid-template-columns: 1fr !important; } }
@media (max-width: 900px) {
  .zea-desktop-nav { display: none !important; }
  .zea-mobile-toggle { display: inline-flex !important; }
}
@media (min-width: 901px) { .zea-mobile-toggle { display: none !important; } }
@media (max-width: 760px) {
  .zea-footer-grid { grid-template-columns: 1fr 1fr !important; }
  .zea-step-arrow { display: none !important; }
}
@media (max-width: 560px) {
  .zea-footer-grid { grid-template-columns: 1fr !important; }
  .zea-info-grid { grid-template-columns: 1fr !important; }
}

/* ---- Mobile menu ---- */
.zea-mobile-menu { display: none; }
.zea-mobile-menu.is-open { display: flex; }

/* reserve buttons get a pointer cursor */
[data-zea-reserve] { cursor: pointer; }

/* ---- Elementor global kit override ----
   Elementor injecte « .elementor-kit-N h1..h6 { color: var(--e-global-color-…) } »
   sur tout le site, ce qui rend les titres noirs sur fond noir. Cette règle,
   plus spécifique (body.classe + élément), redonne aux titres la couleur
   du design sans toucher aux réglages globaux d'Elementor. */
body.wp-theme-zea-elite-performance h1,
body.wp-theme-zea-elite-performance h2,
body.wp-theme-zea-elite-performance h3,
body.wp-theme-zea-elite-performance h4,
body.wp-theme-zea-elite-performance h5,
body.wp-theme-zea-elite-performance h6 {
  color: var(--text-primary);
}

/* ===== Apparitions au défilement =====
   Les classes sont posées par theme.js (donc rien n'est masqué sans JS),
   et uniquement si l'utilisateur n'a pas demandé de réduire les animations.
   Animation (et non transition) : une fois jouée, elle ne laisse aucun délai
   résiduel qui ralentirait les effets de survol des cartes. */
@media (prefers-reduced-motion: no-preference) {
  .zea-anim { opacity: 0; }
  .zea-anim.zea-anim--in {
    opacity: 1;
    animation: zeaReveal .7s cubic-bezier(0.22, 1, 0.36, 1) backwards;
    animation-delay: var(--zea-anim-delay, 0s);
  }
  @keyframes zeaReveal {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: none; }
  }
}

/* ===== Survol des cartes (maquette : translateY(-5px) + bord or + ombre) =====
   La transition est déjà portée par le style inline des cartes concernées. */
.zea-lift:hover {
  transform: translateY(-5px);
  border-color: var(--gold-40) !important;
  box-shadow: var(--shadow-lg);
}


/* ZEA boutons fantômes restylés (design 2026-07-11) : survol or plein + lift/halo */
@media (hover:hover){
  a[style*="background:var(--gold-08)"][style*="color:var(--zea-gold-light)"]:hover,
  button[style*="background:var(--gold-08)"][style*="color:var(--zea-gold-light)"]:hover{
    background:var(--zea-gold)!important; color:var(--text-on-gold)!important; border-color:var(--zea-gold)!important;
    transform:translateY(-2px); box-shadow:var(--glow-gold-sm);
  }
}


/* ===== ZEA anim library v4 (design 2026-07-12) ===== */
@keyframes zeaShimmer { 0% { background-position: 200% center; } 100% { background-position: -200% center; } }
@keyframes zeaRise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes zeaMarquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes zeaSheen { 0%, 55% { transform: translateX(-140%) skewX(-18deg); } 100% { transform: translateX(260%) skewX(-18deg); } }
@keyframes zeaPop { 0% { transform: scale(0.6); opacity: 0; } 60% { transform: scale(1.08); } 100% { transform: scale(1); opacity: 1; } }
@keyframes zeaBeam { from { opacity: .45; transform: rotate(22deg) translateX(-4%); } to { opacity: 1; transform: rotate(22deg) translateX(6%); } }
@keyframes zeaFloat { from { transform: translateY(-50%) translateX(0) scale(1); opacity: .05; } to { transform: translateY(-46%) translateX(1.5%) scale(1.04); opacity: .09; } }
@keyframes zeaGlint { 0%, 62%, 100% { filter: brightness(1); } 64% { filter: brightness(1.9) drop-shadow(0 0 30px rgba(200,170,127,0.55)); } 65.5% { filter: brightness(1.05); } 67% { filter: brightness(2.2) drop-shadow(0 0 44px rgba(200,170,127,0.7)); } 68.5% { filter: brightness(1.1) drop-shadow(0 0 16px rgba(200,170,127,0.3)); } 70% { filter: brightness(1.6) drop-shadow(0 0 30px rgba(200,170,127,0.45)); } 73% { filter: brightness(1); } 88% { filter: brightness(1); } 89% { filter: brightness(1.35) drop-shadow(0 0 20px rgba(200,170,127,0.35)); } 90.5% { filter: brightness(1); } }
.zea-marquee { animation: zeaMarquee 32s linear infinite; }
.zea-reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease-premium), transform .9s var(--ease-premium); }
.zea-reveal.is-in { opacity: 1; transform: none; }
.zea-shine { position: relative; overflow: hidden; }
.zea-shine::after { content: ""; position: absolute; top: -4px; bottom: -4px; width: 42%; left: 0; background: linear-gradient(105deg, transparent, rgba(255,255,255,0.5), transparent); transform: translateX(-140%) skewX(-18deg); animation: zeaSheen 4.2s var(--ease-in-out) infinite; pointer-events: none; }
@media (prefers-reduced-motion: reduce) {
  .zea-marquee, .zea-shine::after { animation: none !important; }
  [style*="zeaBeam"], [style*="zeaFloat"], [style*="zeaGlint"] { animation: none !important; }
  .zea-reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
}


/* ZEA arrow button + zeaHeroIn (design v5 2026-07-12) */
.zea-arrow-btn { display:inline-flex; align-items:center; justify-content:center; }
.zea-arrow-btn .zea-arr { display:inline-block; width:0; opacity:0; overflow:hidden; transform:translateX(-6px); transition:width .28s var(--ease-premium), opacity .28s, margin .28s, transform .28s; margin-left:0; }
.zea-arrow-btn:hover .zea-arr { width:16px; opacity:1; margin-left:8px; transform:none; }
@keyframes zeaHeroIn { from { opacity: 0; transform: translateY(48px) scale(.96); } to { opacity: 1; transform: none; } }
