:root {
  --al-violet: #722785;
  --al-violet-ink: #4C1A5C;
  --al-cta: #70FFAE;
  --al-cta-ink: #0D1F16;
  --al-border: #E4D7EA;
}

html, body { margin: 0; padding: 0; }
* { box-sizing: border-box; }
html { scroll-padding-top: 80px; }
body {
  background: #FEFAFF;
  font-family: "Acumin Pro", system-ui, sans-serif;
  color: #222;
  line-height: 1.55;
  overflow-x: hidden;
}

@keyframes alFadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
@keyframes alSlideUp { from { transform: translateY(110%); } to { transform: translateY(0); } }

details > summary { list-style: none; }
details > summary::-webkit-details-marker { display: none; }

.skip-link {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 100;
  background: var(--al-cta);
  color: var(--al-cta-ink);
  font-weight: 700;
  text-decoration: none;
  padding: 10px 14px;
  border-radius: 8px;
}
.skip-link:focus { top: 12px; outline: 2px solid #fff; outline-offset: 2px; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.al-cta { transition: transform .15s ease, background .15s ease, box-shadow .15s ease; }
.al-cta:hover { transform: translateY(-1px); }
.al-cta:active { transform: translateY(0); }
.al-cta:focus {
  outline: 3px solid #02A7DC;
  outline-offset: 3px;
}
.al-cta:focus:not(:focus-visible) { outline: none; }
.al-cta:focus-visible {
  outline: 3px solid #02A7DC;
  outline-offset: 3px;
}

.al-input:focus { outline: 2px solid var(--al-violet); border-color: var(--al-violet); }

[hidden] { display: none !important; }

.al-overlay { position: fixed; inset: 0; z-index: 90; background: rgba(26,14,31,.55); display: flex; align-items: center; justify-content: center; padding: 20px; }
.al-modal { background: #FEFAFF; border-radius: 16px; box-shadow: 0 24px 64px rgba(26,14,31,.4); max-width: 440px; width: 100%; padding: clamp(26px,4vw,38px); position: relative; animation: alFadeUp .25s ease; }

#stripe-embedded { margin-top: 16px; }
#co-form { scroll-margin-top: 72px; }
#checkout { scroll-margin-top: 80px; }
#nd-landing { padding-bottom: 84px; }

.nd-video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #F1E9F3;
  overflow: hidden;
}
.nd-video-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  padding: 0;
  cursor: pointer;
  background: #F1E9F3;
}
.nd-video-poster:focus-visible {
  outline: 3px solid #02A7DC;
  outline-offset: -3px;
}
.nd-video-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.nd-video-play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  border-radius: 999px;
  background: rgba(114, 39, 133, 0.92);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  box-shadow: 0 8px 24px rgba(20, 8, 30, 0.35);
}

.nd-paid-check {
  width: 64px;
  height: 64px;
  border-radius: 999px;
  background: var(--al-cta);
  color: var(--al-cta-ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  font-weight: 800;
  margin: 0 auto 22px;
}
.nd-paid-msg {
  margin: 0 auto 28px;
  color: #222;
  font-size: clamp(16px, 2.4vw, 19px);
  line-height: 1.55;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}

@media (max-width: 768px) {
  .hero-grid { justify-content: center !important; }
  .hero-copy { flex-basis: 100% !important; min-width: 0 !important; }
  .hero-media { flex-basis: 100% !important; min-width: 0 !important; }
  .hero-badge {
    left: auto !important;
    right: 10px !important;
    top: 14px !important;
    transform: none !important;
    width: 92px !important;
    height: 92px !important;
  }
  .hero-badge span:first-child { font-size: 25px !important; }
  .checkout-grid { flex-direction: column !important; }
  .checkout-form,
  .checkout-recap { flex-basis: 100% !important; min-width: 0 !important; }
  .checkout-recap { position: static !important; top: auto !important; }
}

@media (max-width: 480px) {
  #co-form div[style*="grid-template-columns:1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }
  .hero-badge {
    width: 84px !important;
    height: 84px !important;
    right: 8px !important;
    top: 10px !important;
  }
  .hero-badge span:first-child { font-size: 22px !important; }
}

/* Bandeau de consentement cookies */
.nd-consent { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 100; max-width: 640px; margin: 0 auto; padding: 18px 20px; background: #fff; color: #222; border: 1px solid var(--al-border); border-radius: 12px; box-shadow: 0 12px 32px rgba(26,14,31,.18); font-family: 'Acumin Pro', system-ui, sans-serif; }
.nd-consent[hidden] { display: none; }
.nd-consent__text { margin: 0 0 14px; font-size: 14px; line-height: 1.5; }
.nd-consent__text a { color: var(--al-violet); text-decoration: underline; }
.nd-consent__actions { display: flex; gap: 10px; flex-wrap: wrap; }
.nd-consent__btn { flex: 1 1 140px; padding: 12px 16px; font: 700 15px 'Acumin Pro', system-ui, sans-serif; color: #fff; background: var(--al-violet); border: 0; border-radius: 8px; cursor: pointer; }
.nd-consent__btn:focus-visible { outline: 2px solid var(--al-violet-ink); outline-offset: 2px; }
.nd-consent-link { padding: 0; font: inherit; color: var(--al-violet); background: none; border: 0; text-decoration: underline; cursor: pointer; }
