/* ==========================================================================
   Activation Ticket Officiel — Landing page redesign
   Design system : fond blanc, accents noir / violet sur sections ciblées.
   Mobile-first, premium, animations légères.
   (Les variables gardent le suffixe historique "red" pour limiter les
   changements de code ; leur valeur est désormais violet/magenta.)
   ========================================================================== */

:root {
  --color-bg: #ffffff;
  --color-bg-soft: #f6f6f8;
  --color-surface: #ffffff;
  --color-surface-alt: #fafafb;
  --color-border: #e8e8ec;
  --color-border-light: #dcdce3;

  --color-red: #8e1a68;
  --color-red-dark: #5c0f45;
  --color-red-light: #c23f95;
  --color-red-ink: #6d1350;
  --color-red-glow: rgba(142, 26, 104, 0.18);

  --color-black: #0d0d0d;
  --color-white: #ffffff;
  --color-text: #17171c;
  --color-text-muted: #5b5b66;
  --color-text-faint: #86868f;

  --color-success: #16a34a;
  --color-error: #d21329;

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-pill: 999px;

  --shadow-sm: 0 2px 10px rgba(20, 20, 30, 0.06);
  --shadow-md: 0 12px 32px rgba(20, 20, 30, 0.1);
  --shadow-lg: 0 24px 60px rgba(20, 20, 30, 0.14);
  --shadow-red: 0 10px 26px rgba(142, 26, 104, 0.3);

  --container-max: 1180px;
  --header-h: 76px;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* Sections sombres ciblées (footer, bande partenaires...) : on réinjecte la
   palette foncée localement, tous les composants enfants suivent via les
   tokens sans dupliquer leurs règles. */
.lp-dark-section {
  --color-bg: var(--color-black);
  --color-bg-soft: #111114;
  --color-surface: #17171c;
  --color-surface-alt: #1c1c22;
  --color-border: #2a2a32;
  --color-border-light: #34343d;
  --color-text: #f4f4f6;
  --color-text-muted: #a7a7b3;
  --color-text-faint: #75757f;
  background: var(--color-bg);
  color: var(--color-text);
}

/* ---------- Reset & base ---------- */
.lp * {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
}

.lp {
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-sans);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  max-width: 100%;
}

.lp img {
  max-width: 100%;
  display: block;
}

.lp a {
  color: inherit;
  text-decoration: none;
}

.lp ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.lp button {
  font-family: inherit;
}

.lp .container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: 20px;
}

.lp section {
  position: relative;
}

.lp .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-red-ink);
  margin-bottom: 14px;
}

.lp-dark-section .eyebrow {
  color: var(--color-red-light);
}

.lp .eyebrow::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-red);
  box-shadow: 0 0 0 4px var(--color-red-glow);
}

.lp h1, .lp h2, .lp h3, .lp h4 {
  font-weight: 700;
  line-height: 1.15;
  color: var(--color-text);
  margin: 0;
}

.lp .section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}

.lp .section-head h2 {
  font-size: clamp(28px, 4vw, 40px);
  margin-bottom: 14px;
}

.lp .section-head p {
  color: var(--color-text-muted);
  font-size: 17px;
}

.lp :focus-visible {
  outline: 2px solid var(--color-red);
  outline-offset: 3px;
}

.lp .skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  background: var(--color-red);
  color: #fff;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  z-index: 999;
  transition: top 0.2s var(--ease);
}

.lp .skip-link:focus {
  top: 12px;
}

/* ---------- Buttons ---------- */
.lp .btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease), border-color 0.25s var(--ease);
  white-space: nowrap;
}

.lp .btn-primary {
  background: linear-gradient(135deg, var(--color-red) 0%, var(--color-red-dark) 100%);
  color: #fff;
  box-shadow: var(--shadow-red);
}

.lp .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(142, 26, 104, 0.35);
}

.lp .btn-primary:active {
  transform: translateY(0);
}

.lp .btn-lg {
  padding: 18px 40px;
  font-size: 16px;
}

.lp .btn-ghost {
  background: transparent;
  color: var(--color-text);
  border-color: var(--color-border-light);
}

.lp .btn-ghost:hover {
  border-color: var(--color-red);
  color: var(--color-red-ink);
}

.lp-dark-section .btn-ghost:hover {
  color: var(--color-white);
}

.lp .btn-outline {
  background: transparent;
  color: var(--color-text);
  border-color: var(--color-border-light);
}

.lp .btn-outline:hover {
  border-color: var(--color-red);
  background: var(--color-red-glow);
}

/* Bouton "Remboursement" (header + hero) : bordure violette nette et
   contrastée, au lieu du liseré gris discret par défaut. */
.lp .btn-outline.lp-btn-refund {
  border: 2px solid var(--color-red);
  color: var(--color-red-ink);
  font-weight: 700;
}

.lp .btn-outline.lp-btn-refund:hover {
  border-color: var(--color-red-dark);
  background: var(--color-red-glow);
  color: var(--color-red-ink);
}

.lp .btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none !important;
}

.lp .btn.is-loading {
  color: transparent !important;
  pointer-events: none;
  transform: none !important;
}

.lp .btn.is-loading svg {
  visibility: hidden;
}

.lp .btn.is-loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 18px;
  height: 18px;
  margin: -9px 0 0 -9px;
  border: 2.5px solid rgba(255, 255, 255, 0.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: lp-spin 0.7s linear infinite;
}

.lp .btn-ghost.is-loading::after,
.lp .btn-outline.is-loading::after {
  border-color: rgba(23, 23, 28, 0.25);
  border-top-color: var(--color-text);
}

.lp .lp-icon-btn.is-loading {
  pointer-events: none;
}

.lp .lp-icon-btn.is-loading svg {
  visibility: hidden;
}

.lp .lp-icon-btn.is-loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 13px;
  height: 13px;
  margin: -6.5px 0 0 -6.5px;
  border: 2px solid rgba(23, 23, 28, 0.2);
  border-top-color: var(--color-text-muted);
  border-radius: 50%;
  animation: lp-spin 0.7s linear infinite;
}

@keyframes lp-spin {
  to { transform: rotate(360deg); }
}

/* ---------- Header ---------- */
.lp-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.lp #main-content {
  padding-top: var(--header-h);
}

.lp-header.is-scrolled {
  border-bottom-color: var(--color-border);
  box-shadow: var(--shadow-sm);
}

.lp-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

@media (min-width: 900px) {
  .lp-header .container {
    gap: 24px;
  }
}

.lp-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: clamp(13.5px, 3.6vw, 17px);
  color: var(--color-text);
  letter-spacing: -0.01em;
  min-width: 0;
  flex-shrink: 1;
}

.lp-brand span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ---------- Logo "ACTIVATION TICKET OFFICIEL" ----------
   Carte bancaire debout au début du logo, texte en majuscules sur une
   seule ligne, le "O" d'OFFICIEL remplacé par une pastille coche. */
.lp-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  white-space: nowrap;
  overflow: hidden;
  max-width: 70vw;
}

@media (min-width: 480px) {
  .lp-logo {
    max-width: none;
  }
}

.lp-logo-card {
  flex-shrink: 0;
  width: 0.6em;
  height: 0.95em;
  border-radius: 0.15em;
  background: linear-gradient(165deg, var(--color-red-light) 0%, var(--color-red) 55%, var(--color-red-dark) 100%);
  box-shadow: 0 1px 3px rgba(13, 13, 13, 0.25);
  position: relative;
}

.lp-logo-card::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 24%;
  height: 13%;
  background: rgba(13, 13, 13, 0.55);
}

.lp-logo-card::after {
  content: '';
  position: absolute;
  left: 16%;
  bottom: 16%;
  width: 32%;
  height: 18%;
  border-radius: 0.05em;
  background: rgba(255, 255, 255, 0.9);
}

.lp-logo-text {
  display: inline-flex;
  align-items: center;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--color-text);
}

@media (min-width: 480px) {
  .lp-logo-text { font-size: 14.5px; }
  .lp-logo-card { width: 0.62em; height: 1em; }
}

@media (min-width: 900px) {
  .lp-logo-text { font-size: 16.5px; }
}

.lp-logo-glyph {
  display: inline-block;
  flex-shrink: 0;
}

.lp-logo-glyph--check {
  width: 0.92em;
  height: 0.92em;
  border-radius: 50%;
  background: var(--color-red);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 0.03em;
}

.lp-logo-glyph--check svg {
  width: 58%;
  height: 58%;
  color: #fff;
}

.lp-nav-links {
  display: none;
  align-items: center;
  gap: 32px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--color-text-muted);
}

.lp-nav-links a {
  position: relative;
  padding: 6px 0;
  transition: color 0.2s var(--ease);
}

.lp-nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--color-red);
  transition: width 0.25s var(--ease);
}

.lp-nav-links a:hover {
  color: var(--color-text);
}

.lp-nav-links a:hover::after {
  width: 100%;
}

.lp-nav-links a.is-active {
  color: var(--color-red-ink);
  font-weight: 700;
}

.lp-nav-links a.is-active::after {
  width: 100%;
}

.lp-mobile-menu a.is-active {
  color: var(--color-red-ink);
}

.lp-header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

@media (min-width: 900px) {
  .lp-header-actions {
    gap: 14px;
  }
}

.lp-lang {
  position: relative;
  flex-shrink: 0;
}

@media (max-width: 479px) {
  .lp-lang-btn span,
  .lp-lang-btn svg {
    display: none;
  }

  .lp-lang-btn {
    padding: 7px;
  }
}

.lp-lang-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--color-bg-soft);
  border: 1px solid var(--color-border);
  color: var(--color-text);
  padding: 9px 12px;
  border-radius: var(--radius-pill);
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
}

.lp-lang-btn img {
  width: 18px;
  height: 13px;
  border-radius: 2px;
  object-fit: cover;
}

.lp-lang-btn svg {
  width: 12px;
  height: 12px;
  opacity: 0.7;
  transition: transform 0.2s var(--ease);
}

.lp-lang.is-open .lp-lang-btn svg {
  transform: rotate(180deg);
}

.lp-lang-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 6px;
  min-width: 170px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: all 0.2s var(--ease);
}

.lp-lang.is-open .lp-lang-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lp-lang-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  color: var(--color-text);
}

.lp-lang-menu a:hover {
  background: var(--color-red-glow);
  color: var(--color-red-ink);
}

.lp-lang-menu img {
  width: 18px;
  height: 13px;
  border-radius: 2px;
  object-fit: cover;
}

.lp-header .lp-cta-btn {
  display: none;
}

.lp-burger {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
  background: var(--color-bg-soft);
  color: var(--color-text);
  cursor: pointer;
}

.lp-burger svg {
  width: 20px;
  height: 20px;
}

.lp-mobile-menu {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  z-index: 99;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transform: translateY(-12px);
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s var(--ease);
}

.lp-mobile-menu.is-open {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.lp-mobile-menu a {
  padding: 16px 6px;
  font-size: 18px;
  font-weight: 600;
  color: var(--color-text);
  border-bottom: 1px solid var(--color-border);
}

.lp-mobile-menu .lp-cta-btn {
  margin-top: 18px;
  width: 100%;
}

@media (min-width: 900px) {
  .lp-nav-links {
    display: flex;
  }

  .lp-header .lp-cta-btn {
    display: inline-flex;
  }

  .lp-burger {
    display: none;
  }
}

/* ---------- Hero ---------- */
.lp-hero {
  padding: 56px 0 80px;
  background:
    radial-gradient(circle at 88% 0%, rgba(142, 26, 104, 0.07), transparent 55%),
    radial-gradient(circle at 0% 100%, rgba(142, 26, 104, 0.05), transparent 45%),
    var(--color-bg);
  overflow: hidden;
}

.lp-hero .container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
  align-items: center;
}

.lp-hero-content h1 {
  font-size: clamp(34px, 5.4vw, 54px);
  letter-spacing: -0.02em;
}

.lp-hero-content .lp-title-accent {
  display: block;
  background: linear-gradient(135deg, var(--color-red), var(--color-red-dark));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Petite touche rouge réutilisable sur les titres/paragraphes hors hero
   (contrairement à .lp-title-accent, pensé pour le grand H1 uniquement). */
.text-accent {
  color: var(--color-red-ink);
}

.lp-dark-section .text-accent {
  color: var(--color-red-light);
}

.lp-hero-content p.lp-hero-subtitle {
  margin-top: 20px;
  font-size: 17.5px;
  color: var(--color-text-muted);
  max-width: 540px;
}

.lp-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 40px;
}

.lp-hero-visual {
  display: none;
}

@media (min-width: 960px) {
  .lp-hero-visual {
    display: block;
    position: relative;
    height: 440px;
    justify-self: center;
    width: 100%;
    max-width: 380px;
  }
}

.lp-hero-photo {
  --rot: 0deg;
  --parallax: 0px;
  position: absolute;
  width: 260px;
  max-width: 74vw;
  border-radius: var(--radius-lg);
  padding: 14px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  will-change: transform;
  transition: opacity 0.8s var(--ease), transform 1s cubic-bezier(0.2, 1.4, 0.3, 1), box-shadow 0.3s var(--ease);
}

.lp-hero-photo img {
  border-radius: calc(var(--radius-lg) - 8px);
  width: 100%;
  height: auto;
}

.lp-hero-photo--back {
  --rot: -6deg;
  top: 0;
  left: 50%;
  margin-left: -130px;
  z-index: 1;
  transform: translate3d(0, -90px, 0) rotate(-22deg) scale(0.82);
}

.lp-hero-photo--front {
  --rot: 4deg;
  bottom: 0;
  left: 50%;
  z-index: 2;
  width: 230px;
  margin-left: -55px;
  transform: translate3d(0, 90px, 0) rotate(18deg) scale(0.82);
}

.lp-hero-visual.is-visible .lp-hero-photo--back {
  opacity: 1;
  transform: translate3d(0, var(--parallax), 0) rotate(var(--rot)) scale(1);
  transition-delay: 0.05s;
}

.lp-hero-visual.is-visible .lp-hero-photo--front {
  opacity: 1;
  transform: translate3d(0, var(--parallax), 0) rotate(var(--rot)) scale(1);
  transition-delay: 0.24s;
}

.lp-hero-photo.lp-breathe {
  animation: lp-breathe 5.5s ease-in-out infinite;
}

@keyframes lp-breathe {
  0%, 100% { transform: translate3d(0, var(--parallax), 0) rotate(var(--rot)) scale(1); }
  50% { transform: translate3d(0, calc(var(--parallax) - 8px), 0) rotate(calc(var(--rot) * 1.4)) scale(1.015); }
}

.lp-hero-photo:hover {
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
  transform: translate3d(0, calc(var(--parallax) - 10px), 0) rotate(0deg) scale(1.04) !important;
  box-shadow: 0 30px 60px rgba(142, 26, 104, 0.22);
  animation-play-state: paused;
  z-index: 3;
}

@media (prefers-reduced-motion: reduce) {
  .lp-hero-photo {
    transition: opacity 0.5s var(--ease) !important;
  }

  .lp-hero-photo.lp-breathe {
    animation: none !important;
  }

  .lp-hero-visual.is-visible .lp-hero-photo--back,
  .lp-hero-visual.is-visible .lp-hero-photo--front {
    transform: none;
  }
}

@media (min-width: 960px) {
  .lp-hero .container {
    grid-template-columns: 1.05fr 0.95fr;
  }

  .lp-hero-visual {
    justify-self: end;
  }
}

/* ---------- Reveal utility ---------- */
.lp-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.lp-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.lp-stagger .lp-reveal:nth-child(1) { transition-delay: 0.05s; }
.lp-stagger .lp-reveal:nth-child(2) { transition-delay: 0.15s; }
.lp-stagger .lp-reveal:nth-child(3) { transition-delay: 0.25s; }
.lp-stagger .lp-reveal:nth-child(4) { transition-delay: 0.35s; }

/* ---------- Partenaires (bande dégradée dédiée + slide) ---------- */
.lp-partners {
  position: relative;
  padding: 96px 0 104px;
  overflow: hidden;
  background: linear-gradient(-25deg, #0d0d0d 0%, #1d0716 32%, #4a0f34 66%, #6d1350 100%);
}

.lp-partners::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 560px 480px at 4% 100%, rgba(210, 90, 160, 0.4), transparent 62%),
    radial-gradient(ellipse 420px 380px at 22% 92%, rgba(194, 63, 149, 0.28), transparent 60%);
  pointer-events: none;
}

.lp-partners-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(50px);
  pointer-events: none;
}

.lp-partners-orb--a {
  width: 180px;
  height: 180px;
  top: -50px;
  right: 8%;
  background: radial-gradient(circle, rgba(194, 63, 149, 0.35), transparent 70%);
}

.lp-partners-orb--b {
  width: 220px;
  height: 220px;
  bottom: -80px;
  left: -60px;
  background: radial-gradient(circle, rgba(142, 26, 104, 0.3), transparent 70%);
}

.lp-partners .container {
  position: relative;
  z-index: 2;
}

.lp-partners .section-head p {
  color: rgba(244, 244, 246, 0.72);
}

.lp-partners-slider {
  margin-top: 48px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.lp-partners-track {
  display: flex;
  align-items: center;
  gap: 32px;
  width: max-content;
  animation: lp-marquee 30s linear infinite;
}

.lp-partners-slider:hover .lp-partners-track {
  animation-play-state: paused;
}

@keyframes lp-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.lp-partner-badge {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 30px 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 152px;
  width: 270px;
  flex-shrink: 0;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.6);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.lp-partner-badge:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 24px 50px rgba(194, 63, 149, 0.4);
}

.lp-partner-badge img {
  max-height: 64px;
  max-width: 100%;
  width: auto;
  object-fit: contain;
}

@media (prefers-reduced-motion: reduce) {
  .lp-partners-track {
    animation: none;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
  }
}

/* ---------- Comment ça marche : fond dégradé noir/violet ---------- */
.lp-how {
  position: relative;
  padding: 100px 0 112px;
  overflow: hidden;
  background: linear-gradient(155deg, #0d0d0d 0%, #1d0716 38%, #4a0f34 70%, #6d1350 100%);
}

.lp-how::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 640px 520px at 100% 0%, rgba(210, 90, 160, 0.5), transparent 62%),
    radial-gradient(ellipse 460px 420px at 76% 6%, rgba(194, 63, 149, 0.32), transparent 60%);
  pointer-events: none;
}

.lp-how-fold {
  position: absolute;
  top: 0;
  right: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 72px 72px 0;
  border-color: transparent rgba(255, 255, 255, 0.14) transparent transparent;
  z-index: 1;
}

.lp-how .container {
  position: relative;
  z-index: 2;
}

.lp-steps {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 46px;
}

.lp-steps-line {
  display: none;
}

.lp-step-card {
  text-align: center;
  padding: 0 12px;
}

.lp-step-icon {
  position: relative;
  width: 84px;
  height: 84px;
  margin: 0 auto 22px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.04);
  transition: transform 0.35s var(--ease), background 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.lp-step-icon svg {
  width: 32px;
  height: 32px;
  color: #fff;
  position: relative;
  z-index: 1;
}

.lp-step-icon .lp-step-num {
  position: absolute;
  top: -6px;
  right: -6px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-red-light), var(--color-red));
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.35);
}

.lp-step-card:hover .lp-step-icon {
  transform: translateY(-6px) scale(1.05);
  background: linear-gradient(135deg, var(--color-red), var(--color-red-dark));
  border-color: transparent;
  box-shadow: 0 16px 34px rgba(194, 63, 149, 0.45);
}

.lp-step-card h3 {
  font-size: 17px;
  letter-spacing: 0.01em;
  margin-bottom: 8px;
  color: #fff;
}

.lp-step-card p {
  color: rgba(244, 244, 246, 0.72);
  font-size: 14px;
  line-height: 1.6;
  margin: 0 auto;
  max-width: 230px;
}

.lp-how-cta {
  display: flex;
  justify-content: center;
  margin-top: 58px;
}

@media (min-width: 700px) {
  .lp-steps {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 50px;
  }
}

@media (min-width: 1024px) {
  .lp-steps {
    grid-template-columns: repeat(4, 1fr);
  }

  .lp-steps-line {
    display: block;
    position: absolute;
    top: 42px;
    left: 12.5%;
    right: 12.5%;
    height: 1px;
    background: rgba(255, 255, 255, 0.14);
    z-index: 0;
  }

  .lp-steps-line-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--color-red-light), var(--color-red));
    transition: width 1.4s cubic-bezier(0.16, 1, 0.3, 1) 0.3s;
  }

  .lp-steps.is-visible .lp-steps-line-fill {
    width: 100%;
  }
}

/* ---------- Comment ça marche — variante claire (thème inversable) ---------- */
.lp-how-light {
  background: linear-gradient(180deg, var(--color-bg-soft) 0%, var(--color-bg) 100%);
  border-top: 1px solid var(--color-border);
}

.lp-how-light::after {
  background:
    radial-gradient(ellipse 640px 460px at 0% 0%, var(--color-red-glow), transparent 62%),
    radial-gradient(ellipse 420px 380px at 100% 100%, rgba(142, 26, 104, 0.08), transparent 60%);
}

.lp-how-light .lp-how-fold {
  border-color: transparent var(--color-border-light) transparent transparent;
}

.lp-how-light .lp-step-icon {
  border-color: var(--color-border-light);
  background: var(--color-surface);
  box-shadow: var(--shadow-sm);
}

.lp-how-light .lp-step-icon svg {
  color: var(--color-red);
  transition: color 0.35s var(--ease);
}

.lp-how-light .lp-step-card:hover .lp-step-icon {
  background: linear-gradient(135deg, var(--color-red-light), var(--color-red));
  border-color: transparent;
  box-shadow: 0 16px 34px var(--color-red-glow);
}

.lp-how-light .lp-step-card:hover .lp-step-icon svg {
  color: #fff;
}

.lp-how-light .lp-step-card p {
  color: var(--color-text-muted);
}

/* Variante à 3 étapes (remboursement) : indépendante du thème clair/sombre */
.lp-steps--3 {
  max-width: 940px;
  margin: 0 auto;
}

.lp-steps--3 .lp-step-card p {
  max-width: 270px;
  font-size: 14.5px;
}

@media (min-width: 1024px) {
  .lp-steps--3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .lp-steps--3 .lp-steps-line {
    left: 16.6%;
    right: 16.6%;
  }
}

/* ---------- Activation form section ---------- */
.lp-form-section {
  padding: 70px 0 110px;
  background:
    radial-gradient(circle at 12% 0%, rgba(142, 26, 104, 0.07), transparent 40%),
    radial-gradient(circle at 100% 15%, rgba(142, 26, 104, 0.05), transparent 45%),
    var(--color-bg);
}

.lp-form-wrapper {
  width: 92%;
  max-width: 1600px;
  margin: 0 auto;
}

.lp-form-card form {
  max-width: 680px;
  margin: 0 auto;
}

@media (max-width: 639px) {
  .lp-form-section .container {
    padding-inline: 0;
  }

  .lp-form-section .section-head,
  .lp-form-help {
    padding-inline: 20px;
  }

  .lp-form-wrapper {
    width: 100%;
    max-width: 100%;
  }

  .lp-stepper {
    padding-inline: 20px;
  }

  .lp-form-card {
    width: 100%;
    border-radius: 0;
    border-left: none;
    border-right: none;
    padding: 26px 16px;
  }

  .lp-form-card form {
    max-width: 100%;
  }
}

/* ---------- Note d'aide sous le formulaire ---------- */
.lp-form-help {
  margin-top: 28px;
  text-align: center;
  font-size: 14px;
  color: var(--color-text-muted);
}

.lp-form-help a {
  color: var(--color-red-ink);
  font-weight: 700;
}

.lp-form-help a:hover {
  text-decoration: underline;
}

.lp-stepper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 36px;
}

.lp-stepper-item {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  max-width: 220px;
}

.lp-stepper-dot {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  background: var(--color-bg-soft);
  border: 2px solid var(--color-border-light);
  color: var(--color-text-muted);
  flex-shrink: 0;
  transition: all 0.3s var(--ease);
}

.lp-stepper-item.is-active .lp-stepper-dot,
.lp-stepper-item.is-done .lp-stepper-dot {
  border-color: var(--color-red);
  background: linear-gradient(135deg, var(--color-red), var(--color-red-dark));
  color: #fff;
  box-shadow: var(--shadow-red);
}

.lp-stepper-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text-faint);
  display: none;
}

.lp-stepper-item.is-active .lp-stepper-label {
  color: var(--color-text);
}

.lp-stepper-line {
  flex: 1;
  height: 2px;
  background: var(--color-border-light);
  margin: 0 4px;
  position: relative;
  overflow: hidden;
}

.lp-stepper-line::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--color-red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}

.lp-stepper.is-step-2 .lp-stepper-line::after {
  transform: scaleX(1);
}

@media (min-width: 560px) {
  .lp-stepper-label {
    display: block;
  }
}

.lp-form-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 32px 22px;
  box-shadow: var(--shadow-lg);
}

@media (min-width: 640px) {
  .lp-form-card {
    padding: 44px 48px;
  }
}

.lp-form-step {
  display: none;
}

.lp-form-step.is-active {
  display: block;
  animation: lp-step-in 0.45s var(--ease);
}

@keyframes lp-step-in {
  from { opacity: 0; transform: translateX(16px); }
  to { opacity: 1; transform: translateX(0); }
}

.lp-form-step h3 {
  font-size: 21px;
  margin-bottom: 26px;
}

.lp-field-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 640px) {
  .lp-field-grid {
    grid-template-columns: 1fr 1fr;
  }

  .lp-field-grid .lp-field-full {
    grid-column: 1 / -1;
  }
}

.lp-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.lp-field label {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--color-text);
}

.lp-field label .req {
  color: var(--color-red);
}

.lp-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.lp-input-wrap svg.lp-input-icon {
  position: absolute;
  left: 14px;
  width: 17px;
  height: 17px;
  color: var(--color-text-faint);
  pointer-events: none;
}

.lp-field input[type="text"],
.lp-field input[type="email"],
.lp-field input[type="date"],
.lp-field input[type="tel"],
.lp-field input[type="password"] {
  width: 100%;
  background: var(--color-bg-soft);
  border: 1px solid var(--color-border-light);
  color: var(--color-text);
  border-radius: var(--radius-sm);
  padding: 13px 14px 13px 42px;
  font-size: 14.5px;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.lp-field input:focus {
  outline: none;
  border-color: var(--color-red);
  box-shadow: 0 0 0 3px var(--color-red-glow);
}

.lp-field input.is-invalid {
  border-color: var(--color-error);
}

.lp-field input::placeholder {
  color: var(--color-text-faint);
}

.lp-error-text {
  font-size: 12.5px;
  color: var(--color-error);
  min-height: 1px;
}

.lp-choice-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

@media (min-width: 640px) {
  .lp-choice-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.lp-choice-grid.lp-choice-grid--2col {
  grid-template-columns: repeat(2, 1fr);
}

.lp-choice-card {
  position: relative;
  display: block;
  cursor: pointer;
}

.lp-choice-card input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}

.lp-choice-card .lp-choice-body {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1.5px solid var(--color-border-light);
  background: var(--color-bg-soft);
  border-radius: var(--radius-sm);
  padding: 13px 14px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--color-text-muted);
  transition: all 0.2s var(--ease);
}

.lp-choice-card .lp-choice-body svg {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  color: var(--color-text-faint);
  transition: color 0.2s var(--ease);
}

.lp-choice-card input:checked + .lp-choice-body {
  border-color: var(--color-red);
  background: var(--color-red-glow);
  color: var(--color-red-ink);
  box-shadow: 0 0 0 3px var(--color-red-glow);
}

.lp-choice-card input:checked + .lp-choice-body svg {
  color: var(--color-red);
}

.lp-choice-card input:focus-visible + .lp-choice-body {
  outline: 2px solid var(--color-red);
  outline-offset: 2px;
}

.lp-conditional {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height 0.35s var(--ease), opacity 0.3s var(--ease), margin-top 0.35s var(--ease);
}

.lp-conditional.is-open {
  max-height: 200px;
  opacity: 1;
  margin-top: 16px;
}

.lp-form-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 36px;
  flex-wrap: wrap;
}

.lp-form-nav .lp-spacer {
  flex: 1;
}

.lp-recap {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  background: var(--color-bg-soft);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 28px;
}

@media (min-width: 560px) {
  .lp-recap {
    grid-template-columns: 1fr 1fr;
  }
}

.lp-recap-item dt {
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-text-faint);
  margin-bottom: 3px;
}

.lp-recap-item dd {
  margin: 0;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--color-text);
  word-break: break-word;
}

/* ==========================================================================
   Page d'activation — habillage "billet" (isolé sous .lp-ticket-page pour ne
   pas impacter les autres pages qui réutilisent les classes .lp-field,
   .lp-choice-card, .lp-recap, .lp-stepper, etc.)
   ========================================================================== */

.lp-act-intro {
  position: relative;
  overflow: hidden;
  padding: 96px 0 60px;
  background: linear-gradient(155deg, #0d0d0d 0%, #1d0716 38%, #4a0f34 70%, #6d1350 100%);
}

.lp-act-intro-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.lp-act-intro-orb--a {
  width: 420px;
  height: 420px;
  top: -180px;
  left: -140px;
  background: radial-gradient(circle, rgba(194, 63, 149, 0.35), transparent 70%);
}

.lp-act-intro-orb--b {
  width: 360px;
  height: 360px;
  bottom: -200px;
  right: -120px;
  background: radial-gradient(circle, rgba(142, 26, 104, 0.28), transparent 70%);
}

.lp-act-intro .container {
  position: relative;
  z-index: 1;
}

.lp-act-intro-inner {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.lp-act-intro-inner h1 {
  font-size: clamp(30px, 4.6vw, 46px);
  margin: 6px 0 14px;
}

.lp-act-intro-inner p {
  font-size: 16.5px;
  color: var(--color-text-muted);
}

.lp-ticket-page .lp-form-section.lp-act-section {
  padding: 64px 0 120px;
  background: var(--color-bg);
}

.lp-ticket-page .lp-form-wrapper.lp-act-wrapper {
  width: 94%;
  max-width: 1040px;
  margin: 0 auto;
}

.lp-act-ticket {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  border-radius: 28px;
  overflow: hidden;
  background: var(--color-surface);
  box-shadow: var(--shadow-lg);
}

@media (min-width: 900px) {
  .lp-act-ticket {
    grid-template-columns: 300px 1fr;
  }
}

.lp-act-aside {
  position: relative;
  overflow: hidden;
  background: linear-gradient(165deg, #6d1350 0%, #3a0a24 55%, #14060e 100%);
  padding: 40px 32px 36px;
}

@media (min-width: 900px) {
  .lp-act-aside {
    display: flex;
    flex-direction: column;
    padding: 46px 34px;
    border-bottom: none;
  }
}

@media (max-width: 899px) {
  /* Sur mobile, le formulaire passe en premier : le client n'est pas bloqué
     par le panneau "Pourquoi activer ici ?" avant de pouvoir le remplir. Seul
     le lien d'aide reste visible, sous forme de bandeau compact après le
     formulaire. */
  .lp-act-main {
    order: 1;
  }

  .lp-act-aside {
    order: 2;
    padding: 20px 24px;
    border-top: 2px dashed rgba(255, 255, 255, 0.25);
    border-bottom: none;
  }

  .lp-act-aside-icon,
  .lp-act-aside > h2,
  .lp-act-aside-lead,
  .lp-act-trust,
  .lp-act-note {
    display: none;
  }

  .lp-act-help {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
    text-align: center;
  }
}

.lp-act-aside::after {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.14), transparent 70%);
  pointer-events: none;
}

.lp-act-aside-icon {
  position: relative;
  z-index: 1;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.lp-act-aside-icon svg {
  width: 24px;
  height: 24px;
}

.lp-act-aside h2 {
  position: relative;
  z-index: 1;
  font-size: 20px;
  margin-bottom: 10px;
  color: #fff;
}

.lp-act-aside p {
  position: relative;
  z-index: 1;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.78);
  margin: 0 0 24px;
}

.lp-act-trust {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 26px;
}

.lp-act-trust li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  font-weight: 600;
  color: #fff;
}

.lp-act-trust-icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
}

.lp-act-trust-icon svg {
  width: 14px;
  height: 14px;
}

.lp-act-help {
  position: relative;
  z-index: 1;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px dashed rgba(255, 255, 255, 0.25);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
}

.lp-act-help a {
  display: inline-block;
  margin-top: 4px;
  color: #fff;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.lp-act-perforation,
.lp-act-notch {
  display: none;
}

@media (min-width: 900px) {
  .lp-act-perforation {
    display: block;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 300px;
    border-left: 2px dashed rgba(13, 13, 13, 0.14);
    z-index: 3;
    pointer-events: none;
  }

  .lp-act-notch {
    display: block;
    position: absolute;
    left: 300px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--color-bg);
    transform: translateX(-50%);
    z-index: 4;
    pointer-events: none;
  }

  .lp-act-notch--top {
    top: -13px;
  }

  .lp-act-notch--bottom {
    bottom: -13px;
  }
}

.lp-ticket-page .lp-form-card.lp-act-main {
  background: var(--color-surface);
  border: none;
  border-radius: 0;
  box-shadow: none;
  padding: 40px 26px 44px;
}

@media (min-width: 640px) {
  .lp-ticket-page .lp-form-card.lp-act-main {
    padding: 48px 46px 52px;
  }
}

.lp-ticket-page .lp-act-main form {
  max-width: 100%;
  margin: 0;
}

.lp-ticket-page .lp-stepper {
  justify-content: flex-start;
  margin-bottom: 40px;
  padding-bottom: 22px;
  border-bottom: 1px dashed var(--color-border);
}

.lp-ticket-page .lp-stepper-dot {
  width: 42px;
  height: 42px;
  font-size: 16px;
  border-width: 2px;
}

.lp-ticket-page .lp-stepper-label {
  font-size: 11.5px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.lp-ticket-page .lp-form-step h3 {
  font-size: 19px;
  letter-spacing: -0.01em;
}

.lp-ticket-page .lp-field label {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-text-faint);
}

.lp-ticket-page .lp-field input[type="text"],
.lp-ticket-page .lp-field input[type="email"],
.lp-ticket-page .lp-field input[type="date"],
.lp-ticket-page .lp-field input[type="tel"] {
  background: transparent;
  border: none;
  border-bottom: 2px solid var(--color-border-light);
  border-radius: 0;
  padding: 10px 2px;
  font-size: 15.5px;
  font-weight: 600;
}

.lp-ticket-page .lp-field input:focus {
  border-bottom-color: var(--color-red);
  box-shadow: none;
}

.lp-ticket-page .lp-field input.is-invalid {
  border-bottom-color: var(--color-error);
}

.lp-ticket-page .lp-choice-grid {
  gap: 10px;
}

.lp-ticket-page .lp-choice-card .lp-choice-body {
  border-radius: var(--radius-pill);
  border: 2px solid var(--color-border-light);
  background: transparent;
  justify-content: center;
  text-align: center;
  padding: 11px 16px;
}

.lp-ticket-page .lp-choice-card input:checked + .lp-choice-body {
  border-color: transparent;
  background: linear-gradient(135deg, var(--color-red-light), var(--color-red));
  color: #fff;
  box-shadow: 0 8px 20px var(--color-red-glow);
}

.lp-ticket-page .lp-act-recap-title {
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-faint);
  margin: 6px 0 14px;
}

.lp-ticket-page .lp-recap {
  background: var(--color-bg-soft);
  border: 2px dashed var(--color-border-light);
}

.lp-ticket-page .lp-form-nav .btn-primary,
.lp-ticket-page .lp-form-nav .btn-ghost {
  border-radius: var(--radius-sm);
}

/* ---------- Remboursement : variantes du billet (page à une seule étape) ---------- */
.lp-act-form-lead {
  font-size: 13.5px;
  color: var(--color-text-muted);
  margin: -8px 0 24px;
}

.lp-act-divider {
  border: none;
  border-top: 2px dashed var(--color-border);
  margin: 34px 0 26px;
}

.lp-act-section-title {
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-faint);
  margin: 0 0 22px;
}

.lp-field-help {
  font-size: 12px;
  color: var(--color-text-faint);
  margin-top: 3px;
}

.lp-ticket-page .lp-choice-card.is-readonly {
  cursor: default;
}

.lp-ticket-page .lp-choice-card.is-readonly .lp-choice-body {
  cursor: default;
  opacity: 0.75;
}

.lp-ticket-page #total_amount {
  font-weight: 800;
  font-size: 17px;
  color: var(--color-red-ink);
}

.lp-act-trust-icon {
  font-size: 12.5px;
  font-weight: 800;
}

.lp-act-note {
  position: relative;
  z-index: 1;
  margin-bottom: 24px;
  padding: 12px 14px;
  border: 1px dashed rgba(255, 255, 255, 0.3);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.06);
  font-size: 12.5px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.82);
}

/* ---------- Contact ---------- */
.lp-contact {
  position: relative;
  padding: 104px 0;
  overflow: hidden;
  background: var(--color-bg-soft);
  border-top: 1px solid var(--color-border);
}

.lp-contact::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 520px 420px at 8% 0%, rgba(142, 26, 104, 0.07), transparent 55%),
    radial-gradient(ellipse 480px 420px at 100% 100%, rgba(194, 63, 149, 0.06), transparent 55%);
  pointer-events: none;
}

.lp-contact .container {
  position: relative;
  z-index: 1;
}


.lp-contact-info {
  position: relative;
  overflow: hidden;
  background: linear-gradient(165deg, #6d1350 0%, #3a0a24 55%, #14060e 100%);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  box-shadow: 0 20px 44px rgba(94, 15, 69, 0.35);
}

.lp-contact-info::after {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.14), transparent 70%);
  pointer-events: none;
}

.lp-contact-info h3 {
  font-size: 21px;
  margin-bottom: 10px;
  color: #fff;
}

.lp-contact-info p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 14.5px;
  margin: 0 0 28px;
}

.lp-contact-info ul {
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
}

.lp-contact-info li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
}

.lp-contact-info .lp-contact-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
}

.lp-contact-info svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.lp-contact-info li span {
  word-break: break-word;
}

.lp-contact-form {
  position: relative;
  overflow: hidden;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 30px 24px;
  box-shadow: var(--shadow-md);
}

.lp-contact-form::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-red-light), var(--color-red), var(--color-black));
}

@media (min-width: 640px) {
  .lp-contact-form {
    padding: 38px;
  }
}

.lp-contact-form textarea {
  width: 100%;
  background: var(--color-bg-soft);
  border: 1px solid var(--color-border-light);
  color: var(--color-text);
  border-radius: var(--radius-sm);
  padding: 13px 14px;
  font-size: 14.5px;
  font-family: inherit;
  resize: vertical;
  min-height: 120px;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.lp-contact-form textarea:focus {
  outline: none;
  border-color: var(--color-red);
  box-shadow: 0 0 0 3px var(--color-red-glow);
}

.lp-contact-form .lp-btn-row {
  margin-top: 22px;
}

/* ---------- Contact v2 : cartes asymétriques superposées ---------- */
.lp-contact--v2 {
  padding: 112px 0 128px;
}

.lp-contact-shell {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  max-width: 1040px;
  margin: 0 auto;
}

@media (min-width: 860px) {
  .lp-contact-shell {
    grid-template-columns: 0.82fr 1.18fr;
    align-items: stretch;
  }
}

.lp-contact--v2 .lp-contact-info {
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, #6d1350 0%, #3a0a24 55%, #14060e 100%);
  border-radius: 32px 32px 0 0;
  padding: 40px 32px 64px;
  box-shadow: 0 20px 44px rgba(94, 15, 69, 0.35);
  clip-path: polygon(0 0, 100% 0, 100% 86%, 88% 100%, 0 100%);
}

@media (min-width: 860px) {
  .lp-contact--v2 .lp-contact-info {
    border-radius: 32px 0 0 32px;
    padding: 44px 34px;
    clip-path: polygon(0 0, 100% 0, 100% 92%, 78% 100%, 0 100%);
  }
}

.lp-contact-info-inner {
  position: relative;
  z-index: 1;
}

.lp-contact--v2 .lp-contact-chips {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 8px;
}

.lp-contact-chip {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 13.5px;
  font-weight: 600;
  color: #fff;
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease);
}

.lp-contact-chip:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.3);
}

.lp-contact-chip .lp-contact-icon {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
}

.lp-contact-chip .lp-contact-icon svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.lp-contact-chip span:last-child {
  word-break: break-word;
}

.lp-contact--v2 .lp-contact-form {
  position: relative;
  border-radius: 0 0 32px 32px;
  border-top: none;
  margin-top: -1px;
  padding: 32px 24px 30px;
}

.lp-contact--v2 .lp-contact-form::before {
  top: auto;
  bottom: 0;
  height: 4px;
}

@media (min-width: 860px) {
  .lp-contact--v2 .lp-contact-form {
    border-radius: 0 32px 32px 0;
    margin-top: 0;
    margin-left: -1px;
    padding: 44px 40px;
    box-shadow: -12px 0 30px -20px rgba(20, 20, 30, 0.25), var(--shadow-md);
  }

  .lp-contact--v2 .lp-contact-form::before {
    top: 0;
    bottom: 0;
    left: 0;
    right: auto;
    width: 4px;
    height: auto;
    background: linear-gradient(180deg, var(--color-red-light), var(--color-red), var(--color-black));
  }
}

/* ---------- Footer (toujours sombre) ---------- */
.lp-footer {
  position: relative;
  padding: 72px 0 28px;
  overflow: hidden;
  border-top: 3px solid transparent;
  border-image: linear-gradient(90deg, var(--color-red-light), var(--color-red), var(--color-black)) 1;
}

.lp-footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 700px 380px at 50% -10%, rgba(142, 26, 104, 0.22), transparent 65%);
  pointer-events: none;
}

.lp-footer .container {
  position: relative;
  z-index: 1;
}

.lp-footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

@media (min-width: 720px) {
  .lp-footer-grid {
    grid-template-columns: 1.3fr 1fr 1fr;
  }
}

.lp-footer-brand .lp-brand-text-only span {
  font-size: 19px;
}

.lp-footer-brand p {
  color: var(--color-text-muted);
  font-size: 14px;
  margin-top: 14px;
  max-width: 320px;
}

.lp-footer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.lp-footer-badges span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--color-text-muted);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--color-border);
  padding: 6px 12px;
  border-radius: var(--radius-pill);
}

.lp-footer-badges svg {
  width: 14px;
  height: 14px;
  color: var(--color-red-light);
}

.lp-footer h4 {
  position: relative;
  font-size: 14.5px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-text);
  margin-bottom: 20px;
  padding-bottom: 12px;
}

.lp-footer h4::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 28px;
  height: 2px;
  background: linear-gradient(90deg, var(--color-red-light), var(--color-red));
  border-radius: 2px;
}

.lp-footer-links {
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.lp-footer-links a {
  font-size: 14px;
  color: var(--color-text-muted);
  transition: color 0.2s var(--ease);
}

.lp-footer-links a:hover {
  color: var(--color-red-light);
}

.lp-footer-legal p {
  font-size: 13.5px;
  color: var(--color-text-muted);
  margin: 0;
}

.lp-footer-bottom {
  border-top: 1px solid var(--color-border);
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.lp-footer-bottom p {
  font-size: 13px;
  color: var(--color-text-faint);
  margin: 0;
}

.lp-footer-lang {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.lp-footer-lang a {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--color-text-faint);
  padding: 5px 10px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--color-border-light);
}

.lp-footer-lang a:hover,
.lp-footer-lang a.is-active {
  color: var(--color-text);
  border-color: var(--color-red);
}

.lp-footer-totop {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--color-border-light);
  background: rgba(255, 255, 255, 0.04);
  color: var(--color-text-muted);
  cursor: pointer;
  transition: all 0.25s var(--ease);
}

.lp-footer-totop:hover {
  border-color: var(--color-red);
  color: #fff;
  background: linear-gradient(135deg, var(--color-red), var(--color-red-dark));
  transform: translateY(-3px);
}

.lp-footer-totop svg {
  width: 16px;
  height: 16px;
}

/* ---------- Pages admin (tableau des coupons, code d'accès) ---------- */
.lp-admin-main {
  padding: 40px 0 80px;
}

.lp-admin-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 26px;
}

.lp-admin-head h1 {
  font-size: 24px;
}

.lp-admin-count {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text-muted);
  background: var(--color-bg-soft);
  border: 1px solid var(--color-border);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  margin-top: 6px;
}

.lp-admin-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

.lp-admin-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--color-text-muted);
  padding: 7px 13px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--color-border);
  background: var(--color-bg-soft);
  white-space: nowrap;
  transition: all 0.2s var(--ease);
}

.lp-admin-link:hover {
  border-color: var(--color-red);
  color: var(--color-red-ink);
}

.lp-admin-link--nav {
  color: var(--color-red-ink);
  border-color: var(--color-red-glow);
  background: var(--color-red-glow);
}

.lp-admin-link--nav:hover {
  background: var(--color-red);
  color: #fff;
  border-color: var(--color-red);
}

.lp-admin-search {
  position: relative;
  max-width: 320px;
  width: 100%;
}

.lp-admin-search svg {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  color: var(--color-text-faint);
}

.lp-admin-search input {
  width: 100%;
  background: var(--color-bg-soft);
  border: 1px solid var(--color-border-light);
  color: var(--color-text);
  border-radius: var(--radius-pill);
  padding: 11px 16px 11px 40px;
  font-size: 14px;
}

.lp-admin-search input:focus {
  outline: none;
  border-color: var(--color-red);
  box-shadow: 0 0 0 3px var(--color-red-glow);
}

.lp-table-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.lp-table-scroll {
  overflow-x: auto;
}

.lp-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 780px;
}

.lp-table th {
  text-align: left;
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-faint);
  font-weight: 700;
  padding: 16px 18px;
  background: var(--color-bg-soft);
  border-bottom: 1px solid var(--color-border);
  white-space: nowrap;
}

.lp-table td {
  padding: 15px 18px;
  font-size: 14px;
  color: var(--color-text);
  border-bottom: 1px solid var(--color-border);
  vertical-align: middle;
}

.lp-table tbody tr {
  transition: background 0.15s var(--ease);
}

.lp-table tbody tr:hover {
  background: var(--color-bg-soft);
}

.lp-table tbody tr:last-child td {
  border-bottom: none;
}

.lp-table tbody tr[hidden] {
  display: none;
}

.lp-table-name {
  font-weight: 600;
}

.lp-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 700;
  background: var(--color-red-glow);
  color: var(--color-red-ink);
  white-space: nowrap;
}

.lp-code-cell {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.lp-code-chip {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12.5px;
  background: var(--color-bg-soft);
  border: 1px solid var(--color-border-light);
  padding: 4px 9px;
  border-radius: 6px;
  color: var(--color-text-muted);
}

.lp-copy-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  border-radius: 6px;
  border: 1px solid var(--color-border-light);
  background: var(--color-surface);
  color: var(--color-text-faint);
  cursor: pointer;
  transition: all 0.2s var(--ease);
}

.lp-copy-btn svg {
  width: 13px;
  height: 13px;
}

.lp-copy-btn:hover {
  border-color: var(--color-red);
  color: var(--color-red);
}

.lp-copy-btn.is-copied {
  border-color: var(--color-success);
  color: var(--color-success);
}

.lp-copy-btn .icon-check {
  display: none;
}

.lp-copy-btn.is-copied .icon-copy {
  display: none;
}

.lp-copy-btn.is-copied .icon-check {
  display: block;
}

.lp-table-actions {
  display: flex;
  gap: 6px;
  flex-wrap: nowrap;
}

.lp-icon-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border-light);
  background: var(--color-surface);
  color: var(--color-text-muted);
  cursor: pointer;
  transition: all 0.2s var(--ease);
  flex-shrink: 0;
}

.lp-icon-btn svg {
  width: 15px;
  height: 15px;
}

.lp-icon-btn:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

.lp-icon-btn--success:hover { border-color: var(--color-success); color: var(--color-success); }
.lp-icon-btn--danger:hover { border-color: var(--color-error); color: var(--color-error); }
.lp-icon-btn--warning:hover { border-color: #b45309; color: #b45309; }
.lp-icon-btn--delete { color: var(--color-error); border-color: rgba(210, 19, 41, 0.25); }
.lp-icon-btn--delete:hover { background: var(--color-error); color: #fff; }

.lp-table-empty {
  padding: 60px 20px;
  text-align: center;
  color: var(--color-text-muted);
}

.lp-table-empty svg {
  width: 40px;
  height: 40px;
  color: var(--color-text-faint);
  margin-bottom: 14px;
}

/* ---------- Cartes coupons (mobile) ---------- */
.lp-coupon-cards {
  display: none;
}

.lp-coupon-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 18px;
  margin-bottom: 14px;
  box-shadow: var(--shadow-sm);
}

.lp-coupon-card[hidden] {
  display: none;
}

.lp-coupon-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--color-border);
}

.lp-coupon-card-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0 0 16px;
}

.lp-coupon-card-body > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.lp-coupon-card-body dt {
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-text-faint);
  flex-shrink: 0;
}

.lp-coupon-card-body dd {
  margin: 0;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--color-text);
  text-align: right;
  word-break: break-word;
}

.lp-coupon-card .lp-table-actions {
  justify-content: flex-start;
  flex-wrap: wrap;
}

.lp-table-empty-card {
  display: none;
}

@media (max-width: 767px) {
  .lp-table-card--desktop {
    display: none;
  }

  .lp-coupon-cards {
    display: block;
  }

  .lp-table-empty-card {
    display: block;
  }
}

/* ---------- Page code d'accès ---------- */
.lp-gate {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background:
    radial-gradient(circle at 15% 15%, rgba(142, 26, 104, 0.08), transparent 45%),
    radial-gradient(circle at 85% 85%, rgba(142, 26, 104, 0.06), transparent 45%),
    var(--color-bg);
}

.lp-gate-card {
  width: 100%;
  max-width: 420px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 40px 32px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.lp-gate-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--color-red), var(--color-black) 130%);
}

.lp-gate-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-red), var(--color-red-dark));
  color: #fff;
  box-shadow: var(--shadow-red);
}

.lp-gate-icon svg {
  width: 26px;
  height: 26px;
}

.lp-gate-card h1 {
  font-size: 21px;
  margin-bottom: 8px;
}

.lp-gate-card p.lp-gate-subtitle {
  color: var(--color-text-muted);
  font-size: 14px;
  margin: 0 0 26px;
}

.lp-gate-alert {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(210, 19, 41, 0.08);
  border: 1px solid rgba(210, 19, 41, 0.25);
  color: var(--color-red-ink);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-size: 13.5px;
  font-weight: 600;
  margin-bottom: 20px;
  text-align: left;
}

.lp-gate-alert svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.lp-gate-alert--success {
  background: rgba(22, 163, 74, 0.08);
  border-color: rgba(22, 163, 74, 0.25);
  color: #15803d;
}

.lp-gate-links {
  margin-top: 22px;
  font-size: 13.5px;
  color: var(--color-text-muted);
}

.lp-gate-links a {
  color: var(--color-red-ink);
  font-weight: 700;
}

.lp-gate-links a:hover {
  text-decoration: underline;
}

.lp-gate-card .lp-field {
  text-align: left;
  margin-bottom: 22px;
}

.lp-gate-card .btn {
  width: 100%;
}

/* ---------- Toast (fallback léger, en plus de SweetAlert) ---------- */
.lp-toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--color-black);
  border: 1px solid #2a2a32;
  color: #fff;
  padding: 14px 22px;
  border-radius: var(--radius-pill);
  font-size: 13.5px;
  font-weight: 600;
  box-shadow: var(--shadow-lg);
  z-index: 200;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s var(--ease);
}

.lp-toast.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* ---------- Pages d'erreur (404, 403, 500...) ---------- */
.lp-error-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 12%, rgba(142, 26, 104, 0.1), transparent 45%),
    radial-gradient(circle at 88% 88%, rgba(142, 26, 104, 0.07), transparent 45%),
    var(--color-bg);
}

.lp-error-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.5;
  pointer-events: none;
}

.lp-error-blob--a {
  width: 320px;
  height: 320px;
  top: -80px;
  left: -80px;
  background: radial-gradient(circle, rgba(142, 26, 104, 0.16), transparent 70%);
}

.lp-error-blob--b {
  width: 380px;
  height: 380px;
  bottom: -120px;
  right: -100px;
  background: radial-gradient(circle, rgba(10, 10, 13, 0.08), transparent 70%);
}

.lp-error-card {
  position: relative;
  z-index: 1;
  max-width: 480px;
  width: 100%;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 44px 32px 40px;
  animation: lp-error-in 0.6s var(--ease);
}

@keyframes lp-error-in {
  from { opacity: 0; transform: translateY(24px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (prefers-reduced-motion: reduce) {
  .lp-error-card { animation: none; }
}

.lp-error-code {
  font-size: clamp(58px, 15vw, 88px);
  font-weight: 800;
  line-height: 1;
  margin: 0 0 4px;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, var(--color-red-light), var(--color-red) 55%, var(--color-black));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lp-error-icon {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  margin: 0 auto 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-red), var(--color-red-dark));
  color: #fff;
  box-shadow: var(--shadow-red);
}

.lp-error-icon svg {
  width: 30px;
  height: 30px;
}

.lp-error-card h1 {
  font-size: clamp(19px, 3.6vw, 24px);
  margin: 0 0 12px;
}

.lp-error-card p.lp-error-message {
  color: var(--color-text-muted);
  font-size: 14.5px;
  line-height: 1.65;
  margin: 0 0 30px;
}

.lp-error-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.lp-error-actions .btn {
  flex: 1 1 auto;
  min-width: 160px;
}

@media (max-width: 380px) {
  .lp-error-card {
    padding: 36px 22px 32px;
  }
}
