:root {
  --ab-bg: #050508;
  --ab-bg-mid: #0a0812;
  --ab-panel: rgba(16, 16, 24, 0.72);
  --ab-panel-2: rgba(22, 22, 32, 0.85);
  --ab-stroke: rgba(255, 255, 255, 0.08);
  --ab-stroke-strong: rgba(255, 255, 255, 0.14);
  --ab-text: #f4f4f5;
  --ab-muted: #a1a1aa;
  --ab-orange: #fb923c;
  --ab-red: #f43f5e;
  --ab-violet: #a78bfa;
  --ab-blue: #38bdf8;
  --ab-green: #4ade80;
  --ab-radius: 18px;
  --ab-radius-sm: 12px;
  --ab-glow-featured: 0 0 0 1px rgba(251, 146, 60, 0.25), 0 0 60px -12px rgba(244, 63, 94, 0.35),
    0 0 80px -20px rgba(251, 146, 60, 0.25);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, system-ui, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--ab-text);
  background: var(--ab-bg);
  -webkit-font-smoothing: antialiased;
}

/* Page pleine hauteur : ambiance derrière le contenu */
.dsc-ab-page {
  position: relative;
  min-height: 100vh;
  padding: 28px 18px 56px;
  overflow-x: clip;
}

.dsc-ab-page__base {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(120% 90% at 50% 0%, #12081f 0%, var(--ab-bg) 45%, #030306 100%);
}

.dsc-ab-page__blob {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(72px);
  opacity: 0.85;
  mix-blend-mode: screen;
}

.dsc-ab-page__blob--1 {
  width: min(72vw, 520px);
  height: min(72vw, 520px);
  top: -12%;
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle at 40% 40%, rgba(167, 139, 250, 0.55) 0%, rgba(99, 102, 241, 0.2) 42%, transparent 68%);
  animation: dsc-ab-float-1 22s ease-in-out infinite alternate;
}

.dsc-ab-page__blob--2 {
  width: min(55vw, 420px);
  height: min(55vw, 420px);
  bottom: -8%;
  right: -8%;
  background: radial-gradient(circle at 30% 50%, rgba(251, 146, 60, 0.45) 0%, rgba(244, 63, 94, 0.2) 50%, transparent 70%);
  animation: dsc-ab-float-2 18s ease-in-out infinite alternate;
}

.dsc-ab-page__blob--3 {
  width: min(48vw, 360px);
  height: min(48vw, 360px);
  top: 38%;
  left: -12%;
  background: radial-gradient(circle at 60% 40%, rgba(56, 189, 248, 0.28) 0%, rgba(99, 102, 241, 0.12) 55%, transparent 72%);
  animation: dsc-ab-float-3 26s ease-in-out infinite alternate;
}

.dsc-ab-page__shine {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(
    125deg,
    transparent 0%,
    rgba(255, 255, 255, 0.03) 38%,
    transparent 42%,
    transparent 58%,
    rgba(255, 255, 255, 0.02) 62%,
    transparent 100%
  );
  background-size: 200% 200%;
  animation: dsc-ab-shine 14s ease-in-out infinite;
}

.dsc-ab-page__grain {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.055;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

@keyframes dsc-ab-float-1 {
  0% {
    transform: translateX(-50%) translate(0, 0) scale(1);
  }
  100% {
    transform: translateX(-50%) translate(4%, 6%) scale(1.08);
  }
}

@keyframes dsc-ab-float-2 {
  0% {
    transform: translate(0, 0) scale(1);
  }
  100% {
    transform: translate(-6%, -4%) scale(1.12);
  }
}

@keyframes dsc-ab-float-3 {
  0% {
    transform: translate(0, 0) scale(1);
  }
  100% {
    transform: translate(8%, -3%) scale(1.06);
  }
}

@keyframes dsc-ab-shine {
  0%,
  100% {
    background-position: 0% 40%;
  }
  50% {
    background-position: 100% 60%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .dsc-ab-page__blob--1,
  .dsc-ab-page__blob--2,
  .dsc-ab-page__blob--3,
  .dsc-ab-page__shine {
    animation: none;
  }

  .dsc-ab-page__blob--1 {
    transform: translateX(-50%);
  }

  .dsc-ab-plan:hover,
  .dsc-abonnement-actions a:hover,
  .dsc-abonnement-actions a.dsc-ab-btn--primary:hover {
    transform: none;
  }
}

.dsc-abonnement-root {
  position: relative;
  z-index: 1;
  max-width: 1120px;
  margin: 0 auto;
}

.dsc-abonnement-header {
  text-align: center;
  margin-bottom: 32px;
  padding: 32px 26px 28px;
  border-radius: calc(var(--ab-radius) + 4px);
  border: 1px solid var(--ab-stroke);
  background: linear-gradient(165deg, rgba(20, 18, 32, 0.75) 0%, rgba(12, 12, 20, 0.55) 100%);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 4px 48px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.dsc-abonnement-header .logo-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}

.dsc-abonnement-header .brand-logo {
  height: 56px;
  width: auto;
  max-width: min(220px, 85vw);
  object-fit: contain;
}

.dsc-abonnement-header .logo {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.dsc-abonnement-header .logo .accent {
  background: linear-gradient(90deg, var(--ab-red), var(--ab-orange));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.dsc-abonnement-header h1 {
  margin: 0 0 12px;
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  background: linear-gradient(135deg, #ffffff 0%, #e4e4e7 42%, rgba(253, 186, 116, 0.95) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.dsc-abonnement-header .lead {
  margin: 0 auto;
  max-width: 620px;
  color: var(--ab-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.dsc-abonnement-header--hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.dsc-abonnement-header--hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  background-image: var(--dsc-ab-hero);
  background-size: cover;
  background-position: center;
  opacity: 0.2;
  filter: saturate(1.15) brightness(0.85);
  pointer-events: none;
}

.dsc-abonnement-header--hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(8, 8, 14, 0.2) 0%, rgba(8, 8, 14, 0.88) 100%);
  pointer-events: none;
}

.dsc-abonnement-header--hero .logo-wrap,
.dsc-abonnement-header--hero h1,
.dsc-abonnement-header--hero .lead,
.dsc-abonnement-header--hero .dsc-ab-intro,
.dsc-abonnement-header--hero .dsc-abonnement-actions {
  position: relative;
  z-index: 1;
}

.dsc-ab-intro {
  margin: 0 auto 4px;
  max-width: 680px;
  text-align: center;
  color: var(--ab-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

.dsc-ab-intro--blocks > *:first-child,
.dsc-ab-intro--simple > *:first-child {
  margin-top: 0;
}

.dsc-ab-intro--blocks > *:last-child,
.dsc-ab-intro--simple > *:last-child {
  margin-bottom: 0;
}

.dsc-ab-intro--blocks p,
.dsc-ab-intro--simple p {
  margin: 0.65em 0;
}

.dsc-ab-intro--blocks a,
.dsc-ab-intro--simple a {
  color: #fdba74;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.dsc-ab-intro--blocks a:hover,
.dsc-ab-intro--simple a:hover {
  color: #fff;
}

.dsc-ab-intro--blocks ul,
.dsc-ab-intro--blocks ol {
  margin: 0.65em auto;
  padding-left: 1.35em;
  text-align: left;
  display: inline-block;
  max-width: 100%;
}

.dsc-ab-intro--blocks img {
  max-width: 100%;
  height: auto;
  border-radius: var(--ab-radius-sm);
}

.dsc-ab-intro--blocks .wp-block-image {
  margin: 1em 0;
}

.dsc-ab-intro--blocks h2,
.dsc-ab-intro--blocks h3 {
  color: var(--ab-text);
  font-weight: 800;
  margin: 1em 0 0.5em;
  font-size: 1.05rem;
}

.dsc-abonnement-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 18px;
}

.dsc-abonnement-actions a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 18px;
  border-radius: 999px;
  border: 1px solid var(--ab-stroke-strong);
  color: var(--ab-text);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  background: rgba(255, 255, 255, 0.04);
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.15s ease;
}

.dsc-abonnement-actions a:hover {
  border-color: rgba(251, 146, 60, 0.45);
  background: rgba(251, 146, 60, 0.1);
  transform: translateY(-1px);
}

.dsc-abonnement-actions a.dsc-ab-btn--primary {
  border: none;
  color: #fff;
  background: linear-gradient(120deg, #e11d48, #ea580c, #f59e0b);
  box-shadow: 0 8px 28px rgba(244, 63, 94, 0.35);
}

.dsc-abonnement-actions a.dsc-ab-btn--primary:hover {
  box-shadow: 0 10px 36px rgba(244, 63, 94, 0.45);
  transform: translateY(-2px);
}

.dsc-abonnement-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(248px, 1fr));
  gap: 20px;
  align-items: stretch;
}

.dsc-ab-plan {
  position: relative;
  background: linear-gradient(165deg, rgba(28, 27, 40, 0.82) 0%, rgba(14, 14, 22, 0.75) 100%);
  border: 1px solid var(--ab-stroke);
  border-radius: var(--ab-radius);
  padding: 24px 20px 20px;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.2s ease;
}

.dsc-ab-plan:hover {
  border-color: rgba(255, 255, 255, 0.12);
  transform: translateY(-3px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.dsc-ab-plan--featured {
  border-color: rgba(251, 146, 60, 0.35);
  box-shadow: var(--ab-glow-featured);
}

.dsc-ab-plan--featured:hover {
  border-color: rgba(251, 146, 60, 0.5);
}

.dsc-ab-plan__ribbon {
  position: absolute;
  top: 14px;
  right: -4px;
  background: linear-gradient(115deg, #f43f5e, #fb923c, #fbbf24);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 7px 14px;
  border-radius: 8px 8px 8px 2px;
  text-transform: uppercase;
  box-shadow: 0 4px 16px rgba(244, 63, 94, 0.4);
}

.dsc-ab-plan__name {
  margin: 0 0 6px;
  font-size: 1.1rem;
  font-weight: 800;
}

.dsc-ab-plan__tag {
  margin: 0 0 14px;
  font-size: 12px;
  color: var(--ab-muted);
  line-height: 1.4;
}

.dsc-ab-plan__price {
  margin: 0 0 4px;
  font-size: 1.65rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #fafafa 20%, #fdba74 95%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.dsc-ab-plan--featured .dsc-ab-plan__price {
  background: linear-gradient(135deg, #fff 0%, #fecdd3 35%, #fdba74 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.dsc-ab-plan__period {
  margin: 0 0 16px;
  font-size: 13px;
  color: var(--ab-muted);
}

.dsc-ab-plan__rules-title {
  margin: 0 0 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ab-muted);
}

.dsc-ab-plan__list {
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
  flex: 1;
}

.dsc-ab-plan__list li {
  position: relative;
  padding: 6px 0 6px 22px;
  font-size: 13px;
  line-height: 1.45;
  color: #d4d4d8;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.dsc-ab-plan__list li:first-child {
  border-top: 0;
}

.dsc-ab-plan__list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 6px;
  color: var(--ab-green);
  font-weight: 800;
  font-size: 12px;
}

.dsc-ab-plan__cta {
  display: block;
  width: 100%;
  text-align: center;
  padding: 13px 16px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  border: 1px solid var(--ab-stroke-strong);
  color: var(--ab-text);
  background: rgba(255, 255, 255, 0.06);
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.dsc-ab-plan__cta:hover {
  border-color: rgba(251, 146, 60, 0.5);
  background: rgba(251, 146, 60, 0.12);
  box-shadow: 0 0 24px rgba(251, 146, 60, 0.12);
}

button.dsc-ab-plan__cta {
  cursor: pointer;
  font: inherit;
  font-weight: 700;
}

.dsc-ab-plan--featured .dsc-ab-plan__cta {
  border: none;
  color: #fff;
  background: linear-gradient(120deg, #e11d48, #ea580c, #f59e0b);
  box-shadow: 0 10px 32px rgba(244, 63, 94, 0.35);
}

.dsc-ab-plan--featured .dsc-ab-plan__cta:hover {
  box-shadow: 0 12px 40px rgba(244, 63, 94, 0.45);
}

.dsc-ab-plan__note {
  margin: 10px 0 0;
  font-size: 11px;
  color: var(--ab-muted);
  text-align: center;
  line-height: 1.35;
}

.dsc-abonnement-footnote {
  margin-top: 36px;
  padding: 20px 22px;
  border-radius: var(--ab-radius);
  border: 1px solid var(--ab-stroke);
  background: linear-gradient(165deg, rgba(22, 20, 34, 0.7) 0%, rgba(10, 10, 16, 0.65) 100%);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font-size: 12px;
  line-height: 1.6;
  color: var(--ab-muted);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.dsc-abonnement-footnote code {
  font-size: 11px;
  word-break: break-all;
  color: #e5e7eb;
}

@media (min-width: 900px) {
  .dsc-abonnement-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

body.dsc-pay-modal-open {
  overflow: hidden;
}

.dsc-pay-hidden {
  display: none !important;
}

.dsc-pay-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;
}

.dsc-pay-modal {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 16px;
}

.dsc-pay-modal[hidden] {
  display: none;
}

.dsc-pay-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 3, 8, 0.78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  cursor: pointer;
}

.dsc-pay-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(440px, 100%);
  max-height: min(90vh, 640px);
  overflow: auto;
  padding: 24px 22px 22px;
  border-radius: var(--ab-radius);
  border: 1px solid var(--ab-stroke-strong);
  background: linear-gradient(165deg, rgba(30, 28, 42, 0.95) 0%, rgba(14, 14, 22, 0.92) 100%);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.04) inset;
}

.dsc-pay-modal__dialog h2 {
  margin: 0 32px 12px 0;
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.3;
  background: linear-gradient(135deg, #fff 0%, #e7e7ea 50%, #fdba74 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.dsc-pay-modal__x {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border: 1px solid var(--ab-stroke);
  border-radius: 10px;
  background: rgba(24, 24, 30, 0.9);
  color: var(--ab-text);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.dsc-pay-modal__x:hover {
  border-color: rgba(249, 115, 22, 0.45);
}

.dsc-pay-lead {
  margin: 0 0 14px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--ab-muted);
}

.dsc-pay-fieldset {
  border: 0;
  margin: 0 0 16px;
  padding: 0;
}

.dsc-pay-radio {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 10px;
  padding: 10px 12px;
  border-radius: var(--ab-radius-sm);
  border: 1px solid var(--ab-stroke);
  cursor: pointer;
  font-size: 13px;
  line-height: 1.45;
}

.dsc-pay-radio:has(input:focus-visible) {
  outline: 2px solid rgba(249, 115, 22, 0.65);
  outline-offset: 2px;
}

.dsc-pay-radio input {
  margin-top: 3px;
  flex-shrink: 0;
}

.dsc-pay-next {
  width: 100%;
}

.dsc-pay-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 14px;
}

.dsc-pay-link-btn {
  display: block;
  text-align: center;
  padding: 12px 16px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  border: 1px solid var(--ab-stroke-strong);
  color: var(--ab-text);
  background: rgba(255, 255, 255, 0.06);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.dsc-pay-link-btn:hover {
  border-color: rgba(251, 146, 60, 0.45);
  background: rgba(251, 146, 60, 0.1);
}

.dsc-pay-link-btn--primary {
  border: none;
  color: #fff;
  background: linear-gradient(120deg, #e11d48, #ea580c, #f59e0b);
  box-shadow: 0 8px 24px rgba(244, 63, 94, 0.3);
}

.dsc-pay-link-btn--ghost {
  font-weight: 600;
  font-size: 13px;
  opacity: 0.92;
}

.dsc-pay-empty {
  margin: 0;
  font-size: 13px;
  color: var(--ab-muted);
}

.dsc-pay-back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 10px 14px;
  border-radius: var(--ab-radius-sm);
  border: 1px solid var(--ab-stroke);
  background: transparent;
  color: var(--ab-text);
  font: inherit;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
}

.dsc-pay-back:hover {
  border-color: rgba(249, 115, 22, 0.45);
  background: rgba(249, 115, 22, 0.08);
}
