/* ================================================================
   ZEMORA — VISUAL UPGRADES  |  layered on top of home.css
   ================================================================ */

/* ── 1. Hero h1 — gradient shimmer animé ─────────────────────── */
.hero h1 {
  background: linear-gradient(
    120deg,
    #e8f4ff   0%,
    #86f0c7  36%,
    #ffc978  62%,
    #e8f4ff 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 260% auto;
  animation: textShimmer 7s linear infinite;
}

@keyframes textShimmer {
  0%   { background-position: 260% center; }
  100% { background-position: -260% center; }
}

/* ── 2. Section h2 — teinte vert très subtile ────────────────── */
.services-section h2,
.visuals-section h2,
.benefits-section h2 {
  background: linear-gradient(
    135deg,
    #f4f7fb 0%,
    rgba(134, 240, 199, 0.88) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── 3. Eyebrow — trait gradient animé en dessous ────────────── */
.eyebrow {
  position: relative;
  padding-bottom: 7px;
}

.eyebrow::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  border-radius: 99px;
  background: linear-gradient(90deg, #86f0c7, #ffc978, transparent);
  opacity: 0.65;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.is-visible .eyebrow::after {
  transform: scaleX(1);
}

/* ── 4. Brand mark — pulsation douce ────────────────────────── */
.brand-mark {
  animation: brandPulse 3.5s ease-in-out infinite;
}

@keyframes brandPulse {
  0%, 100% {
    box-shadow: 0 14px 35px rgba(134, 240, 199, 0.25);
  }
  50% {
    box-shadow:
      0 14px 35px rgba(134, 240, 199, 0.52),
      0 0 0 7px rgba(134, 240, 199, 0.07),
      0 0 32px rgba(255, 201, 120, 0.15);
  }
}

/* ── 5. Hero badge — flottement léger ───────────────────────── */
.hero-badge {
  animation: floatBadge 4.2s ease-in-out infinite;
}

@keyframes floatBadge {
  0%, 100% { transform: translateY(0);   }
  50%       { transform: translateY(-5px); }
}

/* ── 6. Bouton primary — sweep brillant au survol ────────────── */
.button-primary {
  position: relative;
  overflow: hidden;
}

.button-primary::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 55%;
  height: 100%;
  background: linear-gradient(
    105deg,
    transparent 20%,
    rgba(255, 255, 255, 0.3) 50%,
    transparent 80%
  );
  pointer-events: none;
  transition: left 0s;
}

.button-primary:hover::before {
  left: 160%;
  transition: left 0.5s ease;
}

/* ── 7. Cursor clignotant dans le terminal ───────────────────── */
.terminal-body p.terminal-response:last-of-type::after {
  content: "▋";
  display: inline-block;
  margin-left: 4px;
  color: #86f0c7;
  animation: cursorBlink 1.1s step-end infinite;
}

@keyframes cursorBlink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

/* ── 8. Terminal — scanlines (effet CRT subtil) ──────────────── */
.terminal-body {
  background-image: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 23px,
    rgba(255, 255, 255, 0.016) 23px,
    rgba(255, 255, 255, 0.016) 24px
  );
}

/* ── 9. Stats strip strong — gradient text ───────────────────── */
.stats-strip strong {
  background: linear-gradient(135deg, #86f0c7 25%, #ffc978 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── 10. Service card h3 — gradient text ─────────────────────── */
.service-card h3 {
  background: linear-gradient(135deg, #f4f7fb 0%, rgba(134, 240, 199, 0.92) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── 11. Hover cards — glow renforcé ────────────────────────── */
.service-card:hover,
.benefit-card:hover {
  box-shadow:
    0 34px 72px rgba(0, 0, 0, 0.44),
    0 0 0 1px rgba(134, 240, 199, 0.32),
    0 0 52px rgba(57, 193, 175, 0.24),
    0 0 90px rgba(255, 201, 120, 0.1);
}

/* ── 12. Showcase card featured — bordure premium ────────────── */
.showcase-card-featured {
  border-color: rgba(134, 240, 199, 0.24);
  box-shadow: var(--shadow), var(--glow-strong);
}

/* ── 13. Contact label — dorure ─────────────────────────────── */
.contact-label {
  background: linear-gradient(90deg, #ffc978, #f4a832);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── 14. Support bubble — anneau pulsant ─────────────────────── */
.support-bubble {
  position: relative;
}

.support-bubble::before {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 999px;
  border: 2px solid rgba(134, 240, 199, 0.38);
  pointer-events: none;
  animation: ringPulse 2.8s ease-out infinite;
}

@keyframes ringPulse {
  0%   { opacity: 0.85; transform: scale(1);    }
  100% { opacity: 0;    transform: scale(1.58); }
}

/* ── 15. Reveal — courbe plus élastique ─────────────────────── */
.reveal {
  transition-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
  transition-duration: 0.82s;
}

/* ── 16. Input focus — lueur accentuée ──────────────────────── */
.live-contact-form input:focus,
.live-contact-form textarea:focus,
.support-form input:focus,
.support-form textarea:focus {
  border-color: #86f0c7;
  box-shadow:
    0 0 0 3px rgba(134, 240, 199, 0.14),
    0 0 18px rgba(57, 193, 175, 0.18);
}

/* === Testimonial card inner glow === */
.testimonial-card::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  pointer-events: none;
  background:
    linear-gradient(135deg, rgba(143,245,212,0.12), transparent 26%, transparent 72%, rgba(255,201,120,0.14)),
    linear-gradient(180deg, rgba(255,255,255,0.04), transparent 26%);
  opacity: 0.75;
}

/* === Process step inner glow === */
.process-step::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  pointer-events: none;
  background:
    linear-gradient(135deg, rgba(143,245,212,0.1), transparent 30%, transparent 70%, rgba(255,201,120,0.12));
  opacity: 0.7;
}

/* === FAQ question hover === */
.faq-question:hover {
  color: var(--accent);
}

/* === Stats strip strong gradient from pimp === */
.stats-strip strong {
  font-family: "Instrument Serif", serif;
  font-size: 1.7rem;
  letter-spacing: -0.03em;
}

/* ================================================================
   ZEMORA — CUSTOM CURSOR
   ================================================================ */

@media (hover: hover) and (pointer: fine) {
  *, *::before, *::after {
    cursor: none !important;
  }

  .cursor-dot {
    position: fixed;
    top: 0;
    left: 0;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #86f0c7;
    pointer-events: none;
    z-index: 99999;
    transform: translate(-50%, -50%);
    transition: width 0.18s ease, height 0.18s ease, background 0.18s ease, opacity 0.18s ease;
    box-shadow: 0 0 8px rgba(134, 240, 199, 0.9), 0 0 20px rgba(134, 240, 199, 0.4);
    will-change: transform;
  }

  .cursor-ring {
    position: fixed;
    top: 0;
    left: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1.5px solid rgba(134, 240, 199, 0.6);
    pointer-events: none;
    z-index: 99998;
    transform: translate(-50%, -50%);
    transition: width 0.22s ease, height 0.22s ease, border-color 0.22s ease, opacity 0.22s ease, background 0.22s ease;
    box-shadow: 0 0 12px rgba(134, 240, 199, 0.15), inset 0 0 12px rgba(134, 240, 199, 0.04);
    will-change: transform;
  }

  /* Hover state sur éléments interactifs */
  body.cursor-hover .cursor-dot {
    width: 6px;
    height: 6px;
    background: #ffc978;
    box-shadow: 0 0 10px rgba(255, 201, 120, 0.9), 0 0 28px rgba(255, 201, 120, 0.4);
  }

  body.cursor-hover .cursor-ring {
    width: 52px;
    height: 52px;
    border-color: rgba(255, 201, 120, 0.5);
    background: rgba(255, 201, 120, 0.04);
    box-shadow: 0 0 18px rgba(255, 201, 120, 0.18);
  }

  /* Clic */
  body.cursor-click .cursor-dot {
    width: 12px;
    height: 12px;
    background: #fff;
    box-shadow: 0 0 18px rgba(255, 255, 255, 0.9);
  }

  body.cursor-click .cursor-ring {
    width: 20px;
    height: 20px;
    border-color: rgba(255, 255, 255, 0.7);
  }

  /* Hors fenêtre */
  body.cursor-out .cursor-dot,
  body.cursor-out .cursor-ring {
    opacity: 0;
  }
}
