/* ==========================================================================
   HERO — titre avec mot qui change, boutons, puces, chiffres, vidéo
   ========================================================================== */

.hero { position: relative; padding: 84px 0 56px; overflow: hidden; }
.hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: 1.12fr 1fr; gap: 48px; align-items: center; }

/* Fond : grille animée, halo qui suit la souris, lueurs */
.hero .grid-bg {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: linear-gradient(rgba(38,52,73,.35) 1px, transparent 1px), linear-gradient(90deg, rgba(38,52,73,.35) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse at 30% 40%, #000 10%, transparent 65%);
  mask-image: radial-gradient(ellipse at 30% 40%, #000 10%, transparent 65%);
  animation: gridpan 30s linear infinite;
}
.hero .spot { position: absolute; inset: 0; z-index: 0; pointer-events: none; background: radial-gradient(600px circle at var(--mx,30%) var(--my,30%), rgba(25,211,162,.10), transparent 45%); transition: background .1s; }
.hero-glow-1 { width: 520px; height: 520px; background: rgba(25,211,162,.16); top: -160px; left: -120px; }
.hero-glow-2 { width: 420px; height: 420px; background: rgba(111,168,255,.08); bottom: -180px; right: -80px; }

/* Pastille */
.pill { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--acc); background: rgba(25,211,162,.08); border: 1px solid rgba(25,211,162,.25); padding: 7px 14px; border-radius: 999px; margin-bottom: 22px; }
.pill b { width: 7px; height: 7px; border-radius: 50%; background: var(--acc); box-shadow: 0 0 12px var(--acc); animation: pulse 2s infinite; }

/* Titre : "Lance ton business" + mot qui change + "Passe à l'action." souligné */
.hero-h1 { font-size: clamp(36px, 4.1vw, 58px); line-height: 1.04; letter-spacing: -.03em; }
.hero-h1 .h1-l { display: block; }
.hero-h1 .rot { display: block; position: relative; height: 1.12em; overflow: hidden; }
.hero-h1 .rot span {
  position: absolute; left: 0; top: 0; white-space: nowrap; color: transparent;
  -webkit-text-stroke: 1.6px rgba(245,247,250,.92); opacity: 0; transform: translateY(70%);
  transition: transform .6s cubic-bezier(.2,.8,.2,1), opacity .45s;
}
.hero-h1 .rot span.on { opacity: 1; transform: none; }
.hero-h1 .rot span.out { opacity: 0; transform: translateY(-70%); }
.hero-h1 em { display: inline-block; position: relative; margin-top: 2px; padding-bottom: .12em; }
.h1-swoosh { position: absolute; left: 0; bottom: -.06em; width: 100%; height: .32em; overflow: visible; }
.h1-swoosh path {
  fill: none; stroke: var(--acc); stroke-width: 5; stroke-linecap: round;
  stroke-dasharray: 320; stroke-dashoffset: 320; animation: swoosh 1.1s cubic-bezier(.6,0,.2,1) 1s forwards;
  filter: drop-shadow(0 0 8px rgba(25,211,162,.6));
}
.hero-lead { max-width: 540px; font-size: clamp(16px, 1.35vw, 18px); color: var(--mut); margin: 26px 0 30px; }
.hero-lead strong { color: var(--txt); font-weight: 700; }

/* Boutons */
.hero .cta { gap: 14px; align-items: center; }
.hbtn-main {
  padding: 8px 8px 8px 26px; gap: 16px; font-size: 15.5px; font-weight: 800;
  background: linear-gradient(135deg, #2BE3B4, var(--acc) 45%, #12B98E);
  box-shadow: 0 10px 34px -10px rgba(25,211,162,.7), inset 0 1px 0 rgba(255,255,255,.35);
  transition: transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s;
}
.hbtn-main:hover { transform: translateY(-3px); box-shadow: 0 18px 44px -12px rgba(25,211,162,.85), inset 0 1px 0 rgba(255,255,255,.35); }
.hb-arrow { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: #05150F; color: var(--acc); font-style: normal; transition: transform .35s cubic-bezier(.2,.8,.2,1); }
.hbtn-main:hover .hb-arrow { transform: translateX(4px) rotate(-45deg); }
.hbtn-coach { padding: 8px 24px 8px 8px; gap: 12px; font-size: 15.5px; font-weight: 700; background: rgba(255,255,255,.035); border: 1px solid var(--line); backdrop-filter: blur(8px); transition: border-color .3s, background .3s, transform .3s; }
.hbtn-coach:hover { border-color: rgba(25,211,162,.45); background: rgba(25,211,162,.06); transform: translateY(-3px); }
.hb-tg { position: relative; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(140deg, #2AABEE, #1E88C8); color: #fff; font-style: normal; box-shadow: 0 6px 18px -6px rgba(42,171,238,.7); }
.hb-tg svg { margin-left: -2px; }
.hb-tg b { position: absolute; right: -1px; top: -1px; width: 11px; height: 11px; border-radius: 50%; background: var(--acc); border: 2px solid var(--bg); box-shadow: 0 0 8px var(--acc); animation: pulse 2s infinite; }

/* Puces + chiffres */
.hchips { display: grid; grid-template-columns: repeat(2, minmax(0, max-content)); gap: 10px 12px; margin-top: 28px; }
.hchips span { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px 8px 8px; border-radius: 12px; background: rgba(255,255,255,.025); border: 1px solid var(--line); font-size: 14px; font-weight: 600; color: #C9D0DD; transition: border-color .3s, transform .3s; }
.hchips span:hover { border-color: rgba(25,211,162,.35); transform: translateY(-2px); }
.hchips i { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; background: rgba(25,211,162,.12); color: var(--acc); font-style: normal; flex: none; }
.hproof { display: flex; margin-top: 26px; padding-top: 22px; border-top: 1px solid rgba(38,52,73,.7); max-width: 520px; }
.hproof div { flex: 1; padding-right: 18px; }
.hproof div + div { padding-left: 18px; border-left: 1px solid rgba(38,52,73,.7); }
.hproof b { display: block; font-family: var(--display); font-weight: 800; font-size: 22px; background: linear-gradient(120deg, var(--acc), #8CF0D6); -webkit-background-clip: text; background-clip: text; color: transparent; white-space: nowrap; }
.hproof small { display: block; margin-top: 2px; font-size: 12.5px; color: var(--mut); font-weight: 600; }

/* Visuel (image) à droite du titre */
.duo { position: relative; justify-self: center; width: 100%; max-width: 680px; perspective: 900px; transition: translate .4s ease-out; opacity: 0; animation: duoin 1.1s cubic-bezier(.2,.8,.2,1) .35s forwards; }
.hero-vid-outer { display: flex; flex-direction: column; align-items: center; }
.hero-vid-wrap {
  position: relative; width: 100%; aspect-ratio: 1672/941; border-radius: 20px; overflow: hidden;
  background: #0a0f1a; border: 1px solid rgba(25,211,162,.22);
  box-shadow: 0 0 0 1px rgba(25,211,162,.06), 0 30px 90px -18px rgba(25,211,162,.4), 0 0 60px -15px rgba(25,211,162,.12);
  transition: transform .6s cubic-bezier(.2,.8,.2,1), box-shadow .6s;
  animation: float 7s ease-in-out infinite;
}
.duo:hover .hero-vid-wrap { transform: translateY(-6px) scale(1.015); box-shadow: 0 0 0 1px rgba(25,211,162,.12), 0 44px 110px -18px rgba(25,211,162,.5), 0 0 80px -10px rgba(25,211,162,.18); }
.hero-vid-wrap img { width: 100%; height: 100%; object-fit: cover; }
.hero-vid-glow { position: absolute; top: 50%; left: 50%; width: 140%; height: 140%; transform: translate(-50%,-50%); border-radius: 50%; background: radial-gradient(ellipse, rgba(25,211,162,.1) 0%, transparent 65%); pointer-events: none; z-index: -1; animation: vidGlow 4s ease-in-out infinite; }


/* ---------- Responsive */
@media (max-width: 900px) {
  .hero { padding: 56px 0 40px; }
  .hero .wrap { grid-template-columns: 1fr; }
  .duo { margin-top: 28px; }
}
@media (max-width: 700px) { .hero { padding: 40px 0 34px; } }
@media (max-width: 520px) {
  .hero .cta .btn { width: 100%; }
  .hbtn-main { justify-content: space-between; }
  .hbtn-coach { justify-content: center; }
  .hchips { grid-template-columns: 1fr 1fr; }
  .hchips span { font-size: 12.5px; padding: 7px 10px 7px 7px; gap: 8px; }
  .hchips i { width: 24px; height: 24px; }
  .hproof b { font-size: 18px; }
  .hproof div { padding-right: 10px; }
  .hproof div + div { padding-left: 10px; }
  .hero-h1 .rot span { -webkit-text-stroke: 1.2px rgba(245,247,250,.92); }
}
