/* Page d'accueil — hub des deux pôles */

.hero { padding: clamp(46px, 7vw, 92px) 0 clamp(40px, 6vw, 76px); }
.hero h1 { max-width: 15ch; }
.hero-grid { display: grid; gap: clamp(28px, 4vw, 54px); grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: center; }
@media (max-width: 940px) { .hero-grid { grid-template-columns: minmax(0, 1fr); } }

/* Bannière animée */
.hero-visuel { margin: 0; position: relative; }
.hero-visuel::before {          /* halo qui respire derrière l'image */
  content: ""; position: absolute; inset: 6% 4%;
  border-radius: 40px; z-index: 0;
  background: radial-gradient(closest-side, var(--halo), transparent 75%);
  filter: blur(26px);
  animation: banniere-halo 6s ease-in-out infinite alternate;
}
.hero-visuel .cadre {
  display: block; position: relative; z-index: 1; overflow: hidden;
  isolation: isolate;
  border-radius: var(--radius-lg);
  border: 1px solid color-mix(in srgb, var(--accent) 30%, var(--line));
  box-shadow: 0 30px 70px -30px rgba(15, 30, 50, .35), 0 0 0 1px rgba(15, 30, 50, .04) inset;
  animation: banniere-entree 1s cubic-bezier(.22, 1, .36, 1) .15s both;
}
.hero-visuel img, .hero-visuel video {
  display: block; width: 100%; height: auto;
  transform-origin: 60% 45%;
  animation: banniere-zoom 18s ease-in-out infinite alternate;
}
.hero-visuel video { object-fit: cover; aspect-ratio: 851 / 315; background: var(--bg-2); }
.hero-visuel .cadre::after {    /* reflet qui traverse la bannière */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(105deg,
    transparent 38%, rgba(255,255,255,.28) 48%, rgba(255,255,255,.06) 54%, transparent 62%);
  background-size: 260% 100%; background-position: 130% 0;
  animation: banniere-reflet 9s ease-in-out 1.6s infinite;
}
.hero-visuel .cadre:hover img { animation-play-state: paused; }

@keyframes banniere-entree {
  from { opacity: 0; transform: translateY(22px) scale(.97); }
  to   { opacity: 1; transform: none; }
}
@keyframes banniere-zoom {
  from { transform: scale(1); }
  to   { transform: scale(1.06); }
}
@keyframes banniere-reflet {
  0%, 70% { background-position: 130% 0; }
  95%, 100% { background-position: -50% 0; }
}
@keyframes banniere-halo {
  from { opacity: .5; transform: scale(.96); }
  to   { opacity: 1; transform: scale(1.04); }
}
.hero-visuel figcaption {
  margin-top: 12px; font-size: .78rem; letter-spacing: .06em; text-transform: uppercase;
  color: var(--muted); text-align: center;
}

.grad-dj  { background: linear-gradient(120deg, #f59b2e, #ffc978); -webkit-background-clip: text; background-clip: text; color: transparent; }
.grad-loc { background: linear-gradient(120deg, #0d8bf2, #6fd0ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: clamp(1rem, 1.6vw, 1.13rem); max-width: 60ch; color: var(--text-2); }

.hero-points { list-style: none; padding: 0; margin: 34px 0 0; display: flex; flex-wrap: wrap; gap: 10px 26px; }
.hero-points li { font-size: .88rem; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.hero-points li::before { content: ""; width: 6px; height: 6px; border-radius: 999px; background: var(--accent); }
.hero-points b { color: var(--text); font-weight: 700; }

/* Cartes de pôle */
.poles { gap: 22px; }
.pole-card {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column;
  padding: clamp(24px, 3vw, 36px);
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: linear-gradient(165deg, var(--surface), var(--bg-2));
  color: var(--text); text-decoration: none !important;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.pole-card::after {
  content: ""; position: absolute; inset: -40% -20% auto auto; width: 320px; height: 320px;
  background: radial-gradient(circle, var(--halo), transparent 70%); pointer-events: none;
}
.pole-card:hover { transform: translateY(-4px); border-color: var(--accent); box-shadow: var(--shadow); }
.pole-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.pole-num { font-size: .8rem; font-weight: 800; letter-spacing: .2em; color: var(--muted); }
.pole-card h2 { margin-bottom: .35em; }
.pole-list { list-style: none; padding: 0; margin: 6px 0 22px; }
.pole-list li { position: relative; padding-left: 22px; font-size: .92rem; color: var(--text-2); margin-bottom: 7px; }
.pole-list li::before {
  content: ""; position: absolute; left: 0; top: .55em; width: 9px; height: 9px;
  border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg) translateY(-2px);
}
.pole-foot {
  margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line-soft);
  display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap;
  font-size: .92rem; color: var(--text-2);
}
.pole-foot b { color: var(--accent); font-size: 1.15rem; }
.pole-foot .arrow { color: var(--accent); font-weight: 650; }

/* Étapes */
.step-card { position: relative; padding-top: 26px; }
.step-card .n {
  position: absolute; top: -14px; left: 22px;
  width: 30px; height: 30px; border-radius: 999px; display: grid; place-items: center;
  background: var(--accent); color: var(--accent-ink); font-weight: 800; font-size: .9rem;
}
.step-card h3 { font-size: 1rem; margin-bottom: .3em; }
.step-card p { font-size: .88rem; margin: 0; }

/* Mini cartes formules */
.mini-formule {
  display: block; text-decoration: none !important; color: var(--text);
  border-color: color-mix(in srgb, var(--teinte) 30%, var(--line));
  transition: transform .2s ease, border-color .2s ease;
}
.mini-formule:hover { transform: translateY(-3px); border-color: var(--teinte); }
.mini-formule .pastille {
  display: block; width: 34px; height: 4px; border-radius: 999px;
  background: var(--teinte); margin-bottom: 14px;
}
.mini-formule h3 { margin-bottom: .3em; }
.mini-formule p { font-size: .86rem; min-height: 3.4em; }
.mini-prix { font-size: 1.35rem; font-weight: 800; color: var(--teinte); letter-spacing: -.02em; }
.mini-prix small { font-size: .72rem; font-weight: 600; letter-spacing: .04em; }

/* Bandeau final */
.cta-band {
  display: flex; align-items: center; justify-content: space-between; gap: 22px; flex-wrap: wrap;
  padding: clamp(24px, 3vw, 38px);
  border-radius: var(--radius-lg);
  border: 1px solid color-mix(in srgb, var(--accent) 34%, var(--line));
  background:
    radial-gradient(600px 200px at 10% 0%, var(--halo), transparent 70%),
    linear-gradient(120deg, var(--surface), var(--bg-2));
}
.cta-band p { margin: 6px 0 0; }
