/* ============================================================
   landing-premium.css — Rappel Malin Landing Page
   Design System : SaaS Premium
   ============================================================ */

/* ── Scroll global ───────────────────────────────────────────── */
html {
  scroll-behavior: smooth !important;
  scroll-padding-top: 90px; /* hauteur navbar fixe - !important ecrase la regle du layout */
}

/* ── Variables ──────────────────────────────────────────────── */
:root {
  --lp-primary:       #757bff;
  --lp-secondary:     #cc66f9;
  --lp-gradient:      linear-gradient(135deg, #757bff 0%, #cc66f9 100%);
  --lp-gradient-soft: linear-gradient(135deg, rgba(117,123,255,.08) 0%, rgba(204,102,249,.08) 100%);
  --lp-radius:        16px;
  --lp-radius-lg:     20px;
}

/* ── Section 1 : Hero (Mission 2 - respiration sous la navbar) ─ */
.lp-hero {
  background: linear-gradient(160deg, #f8f7ff 0%, #fdf4ff 55%, #f5f0ff 100%);
  padding-top: 10rem;
}
.lp-hero-title {
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 1.15;
  color: #2e2b4e;
}
.lp-gradient-text {
  background: var(--lp-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Video hero — fond dégradé = placeholder pendant le chargement */
.lp-video-wrapper {
  background: var(--lp-gradient);
  border-radius: var(--lp-radius-lg);
  overflow: hidden;
  box-shadow:
    0 24px 64px rgba(117, 123, 255, .30),
    0 4px 16px rgba(0, 0, 0, .08);
  aspect-ratio: 16 / 9;
  position: relative;
}
.lp-video-wrapper video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  position: absolute;
  top: 0; left: 0;
}

/* ── Section 2 : Social Proof ───────────────────────────────── */
.lp-social-proof {
  background: #faf3ff;

  border-bottom: 1px solid rgba(117, 123, 255, .10);
}
.lp-stat-number {
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 1;
  background: var(--lp-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.lp-stat-divider {
  width: 1px;
  align-self: stretch;
  background: rgba(117, 123, 255, .15);
}

/* ── Section 3 : Benefit Cards ──────────────────────────────── */
.lp-benefit-card {
  border: none !important;
  border-radius: var(--lp-radius) !important;
  box-shadow: 0 2px 16px rgba(117, 123, 255, .08) !important;
  transition: transform .22s ease, box-shadow .22s ease;
  overflow: hidden;
  position: relative;
}
.lp-benefit-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
}
.lp-benefit-card.bc-blue::before   { background: linear-gradient(90deg, #757bff, #a389f4); }
.lp-benefit-card.bc-green::before  { background: linear-gradient(90deg, #28c76f, #71d8a0); }
.lp-benefit-card.bc-orange::before { background: linear-gradient(90deg, #ff9f43, #ffc069); }
.lp-benefit-card.bc-pink::before   { background: linear-gradient(90deg, #cc66f9, #e8a4ff); }
.lp-benefit-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(117, 123, 255, .18) !important;
}
.lp-icon-box {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.lp-icon-box i { font-size: 1.35rem; }

/* ── Section 4 : Metier Pills ───────────────────────────────── */
.lp-metier-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 20px;
  border-radius: 50px;
  font-size: .88rem;
  font-weight: 600;
  text-decoration: none;
  cursor: default;
  transition: transform .15s ease, box-shadow .15s ease;
  white-space: nowrap;
}
a.lp-metier-pill { cursor: pointer; }
.lp-metier-pill:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, .12) !important;
  text-decoration: none;
}
/* Pill active : niche courante */
.lp-metier-pill.lp-pill-active {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, .14) !important;
  font-weight: 700;
  outline: 2px solid currentColor;
  outline-offset: 2px;
}

/* ── Section eyebrow générique ──────────────────────────────── */
.lp-section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--lp-primary);
  background: rgba(117, 123, 255, .1);
  padding: 5px 14px;
  border-radius: 50px;
  margin-bottom: 1rem;
}

/* ── Section 5 : Témoignages — Mission 4 ───────────────────── */
.lp-review-card {
  border: none !important;
  border-radius: var(--lp-radius) !important;
  box-shadow: 0 2px 14px rgba(117, 123, 255, .08) !important;
  transition: transform .2s ease, box-shadow .2s ease;
}
.lp-review-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(117, 123, 255, .14) !important;
}
.lp-review-avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
  background: var(--lp-gradient);
}
.lp-review-stars {
  display: flex;
  align-items: center;
  gap: 2px;
  color: #f6c90e;
  font-size: .85rem;
}
.lp-review-quote {
  font-size: .92rem;
  line-height: 1.75;
  color: #4a4768;
  font-style: italic;
  margin: 0;
}
.lp-review-name {
  font-weight: 700;
  font-size: .88rem;
  color: #2e2b4e;
  margin-bottom: 2px;
}
.lp-review-role {
  font-size: .78rem;
  color: #a0a0b0;
}

/* ── Section 6 : Tarifs — Mission 4 ────────────────────────── */
.lp-plan-card {
  border: 1.5px solid rgba(117, 123, 255, .14) !important;
  border-radius: var(--lp-radius) !important;
  box-shadow: 0 4px 20px rgba(117, 123, 255, .07) !important;
  transition: box-shadow .22s ease, transform .22s ease;
}
.lp-plan-card:hover {
  box-shadow: 0 12px 36px rgba(117, 123, 255, .14) !important;
  transform: translateY(-3px);
}
/* Carte Pro : bordure dégradée via padding-box / border-box */
.lp-plan-pro {
  border: none !important;
  background:
    linear-gradient(#fff, #fff) padding-box,
    var(--lp-gradient) border-box !important;
  border: 1.5px solid transparent !important;
  box-shadow: 0 8px 32px rgba(117, 123, 255, .16) !important;
}
.lp-plan-pro:hover {
  box-shadow: 0 18px 50px rgba(117, 123, 255, .22) !important;
  transform: translateY(-4px);
}
.lp-plan-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: .71rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  padding: 4px 14px;
  border-radius: 50px;
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
}
.lp-feature-check {
  width: 20px; height: 20px;
  border-radius: 50%;
  background: rgba(40, 199, 111, .12);
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: .72rem;
  color: #28c76f;
}

/* ── Section 7 : FAQ - cartes flottantes ────────────────────── */
.lp-accordion .accordion-item {
  background: #fff !important;
  border: none !important;
  border-radius: 16px !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .06) !important;
  margin-bottom: .75rem;
  overflow: hidden;
}
.lp-accordion .accordion-button {
  font-weight: 600;
  font-size: .95rem;
  color: #2e2b4e;
  background: #fff;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 1rem 1.25rem;
  transition: background .2s ease, color .2s ease;
}
.lp-accordion .accordion-button:not(.collapsed) {
  color: var(--lp-primary);
  background: rgba(117, 123, 255, .06);
  border-radius: 0 !important;
}
/* Fleche personnalisee animee */
.lp-accordion .accordion-button::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23757bff' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-size: 16px;
  transition: transform .25s ease;
}
.lp-accordion .accordion-button:not(.collapsed)::after {
  transform: rotate(-180deg);
}
.lp-accordion .accordion-body {
  padding: .75rem 1.25rem 1.25rem;
  font-size: .92rem;
  line-height: 1.75;
  color: #6e6b7b;
  background: rgba(117, 123, 255, .04);
  border-radius: 0;
}

/* ── Section 8 : CTA Final — Mission 5 ─────────────────────── */
.lp-cta-section {
  background: var(--lp-gradient);
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(117, 123, 255, .28);
}
.lp-cta-btn {
  background: rgba(255, 255, 255, .95);
  color: var(--lp-primary);
  border: none;
  font-weight: 700;
  letter-spacing: .01em;
  transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
}
.lp-cta-btn:hover {
  background: #fff;
  color: var(--lp-primary);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .15);
}
.lp-cta-args {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  font-size: .82rem;
  color: #a0a0b0;
}

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 991.98px) {
  .lp-stat-number  { font-size: 1.8rem; }
  .lp-stat-divider { display: none !important; }
  html { scroll-padding-top: 75px; }
}
@media (max-width: 575.98px) {
  .lp-hero       { padding-top: 3.5rem; }
  .lp-hero-title { font-size: 1.75rem; }
}
