/* Minisite landing /l/{slug} — coque centrale distincte + formulaire 2 étapes */

*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --lbn-landing-purple: #5b2d8e;
  --lbn-landing-purple-dark: #2a1540;
  --lbn-landing-shell: #3a1f55;
  --lbn-landing-gold: #ffd54f;
  --lbn-landing-bg: #1f0f30;
  --lbn-landing-text: #2d2d3a;
  --lbn-landing-muted: rgba(255, 255, 255, 0.72);
  --lbn-font: "Nunito", system-ui, sans-serif;
  --lbn-text: #2d2d3a;
  --lbn-white: #ffffff;
  --lbn-grey: #6b6b7b;
  --lbn-purple: #5b2d8e;
  --lbn-purple-light: #7e57c2;
  --lbn-purple-dark: #2a1540;
}

.lbn-landing-body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--lbn-font);
  color: #fff;
  background: var(--lbn-landing-bg);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lbn-landing-shell {
  width: 100%;
  max-width: 750px;
  margin: 16px 12px 0;
  background: var(--lbn-landing-shell);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.28);
}

.lbn-landing-hero {
  background-color: var(--lbn-landing-shell);
}

.lbn-landing-hero__media {
  width: 100%;
  aspect-ratio: 750 / 350;
  background: #1a0f2e;
}

.lbn-landing-hero__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.lbn-landing-carousel-section {
  margin-top: 8px;
  padding: 0 0 8px;
}

.lbn-landing-carousel {
  position: relative;
  width: 100%;
}

.lbn-landing-carousel__track {
  position: relative;
  width: 100%;
  aspect-ratio: 1024 / 1536;
  overflow: hidden;
}

.lbn-landing-carousel__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.45s ease;
  pointer-events: none;
}

.lbn-landing-carousel__slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.lbn-landing-carousel__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.lbn-landing-carousel__dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 10px;
  display: flex;
  justify-content: center;
  gap: 8px;
  pointer-events: none;
}

.lbn-landing-carousel__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  transition: background 0.2s, transform 0.2s;
}

.lbn-landing-carousel__dot.is-active {
  background: var(--lbn-landing-gold);
  transform: scale(1.15);
}

.lbn-landing-hero__inner {
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  padding: 16px 16px 8px;
  color: #fff;
  text-align: center;
}

.lbn-landing-hero__brand {
  margin: 0 0 6px;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  opacity: 0.85;
}

.lbn-landing-hero__accroche {
  margin: 0 auto;
  font-size: clamp(1.2rem, 3.2vw, 1.55rem);
  font-weight: 800;
  line-height: 1.25;
}

.lbn-landing-main {
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  padding: 8px 16px 22px;
}

.lbn-landing-form-wrap {
  padding: 0;
  background: transparent;
}

.lbn-landing-form-wrap__title {
  margin: 0 0 14px;
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
  text-align: center;
}

.lbn-landing-form-wrap__footer {
  margin: 14px 0 0;
  text-align: center;
  font-size: 0.88rem;
  color: var(--lbn-landing-muted);
}

.lbn-landing-form-wrap__footer a {
  color: var(--lbn-landing-gold);
  font-weight: 700;
}

.lbn-landing-form .lbn-field {
  margin-bottom: 10px;
}

.lbn-landing-form .lbn-label {
  color: rgba(255, 255, 255, 0.9);
}

.lbn-landing-form .lbn-field-help {
  color: var(--lbn-landing-muted);
}

.lbn-landing-form .lbn-input {
  width: 100%;
  max-width: 100%;
  background: #fff;
  color: var(--lbn-landing-text);
}

.lbn-landing-form .lbn-checkbox__text {
  color: rgba(255, 255, 255, 0.9);
}

.lbn-landing-form .lbn-checkbox__text a {
  color: var(--lbn-landing-gold);
  font-weight: 700;
}

.lbn-landing-form .lbn-field-errors {
  color: #ffcdd2;
}

.lbn-landing-form .lbn-civility__content {
  background: #fff;
  color: #6b6b7b;
  border-color: #d0d0d8;
}

.lbn-landing-form .lbn-civility__btn:has(.lbn-civility__input:checked) .lbn-civility__content {
  background: #fff9e6;
  border-color: var(--lbn-landing-gold);
  color: var(--lbn-landing-purple-dark);
  box-shadow: 0 0 0 3px rgba(255, 213, 79, 0.45), 0 4px 14px rgba(0, 0, 0, 0.22);
}

.lbn-landing-form .lbn-civility__btn:has(.lbn-civility__input:checked) .lbn-civility__icon {
  color: var(--lbn-landing-purple-dark);
}

.lbn-landing-form__name-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  align-items: start;
}

.lbn-landing-form__name-grid > .lbn-field {
  min-width: 0;
  margin-bottom: 10px;
}

.lbn-landing-form__continue,
.lbn-landing-form__submit {
  width: 100%;
  margin-top: 6px;
  background: var(--lbn-landing-gold) !important;
  color: var(--lbn-landing-purple-dark) !important;
  border: none;
  font-weight: 800;
  font-size: 1.05rem;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}

.lbn-landing-form__continue:hover,
.lbn-landing-form__submit:hover {
  filter: brightness(1.05);
}

.lbn-landing-form__nav {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-top: 6px;
}

.lbn-landing-form__nav .lbn-landing-form__submit {
  flex: 1;
  margin-top: 0;
}

.lbn-landing-form__back {
  border: 2px solid rgba(255, 255, 255, 0.35);
  background: transparent;
  color: #fff;
  font-family: inherit;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 12px 16px;
  border-radius: 12px;
  cursor: pointer;
}

.lbn-landing-form__back:hover {
  border-color: var(--lbn-landing-gold);
  color: var(--lbn-landing-gold);
}

.lbn-landing-footer {
  width: 100%;
  max-width: 750px;
  padding: 16px 20px 24px;
  text-align: center;
  font-size: 0.72rem;
  line-height: 1.45;
  color: var(--lbn-landing-muted);
}

.lbn-landing-legal {
  max-width: 640px;
  margin: 0 auto 12px;
}

.lbn-landing-legal__line {
  margin: 0 0 8px;
}

.lbn-landing-legal__line:last-child {
  margin-bottom: 0;
}

.lbn-landing-footer__links {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  justify-content: center;
  align-items: center;
  font-size: 0.75rem;
}

.lbn-landing-footer a {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 700;
  text-decoration: none;
}

.lbn-landing-footer a:hover {
  text-decoration: underline;
}

.lbn-flash {
  width: 100%;
  max-width: 750px;
  margin: 12px 12px 0;
  padding: 12px 16px;
  font-weight: 700;
  font-size: 0.9rem;
  text-align: center;
  border-radius: 10px;
}

.lbn-flash--success {
  background: #e8f5e9;
  color: #1b5e20;
}

.lbn-flash--warning {
  background: #fff3e0;
  color: #e65100;
}

.lbn-flash--danger {
  background: #ffebee;
  color: #b71c1c;
}

@media (max-width: 420px) {
  .lbn-landing-form__name-grid {
    grid-template-columns: 1fr;
  }

  .lbn-landing-shell {
    margin: 10px 8px 0;
    border-radius: 12px;
  }
}
