/* ==========================================================================
   Landing Page — La Terre Mère et le Tissage de Mes Racines
   Jean-Marie Dionne | Earth-tone ebook landing page
   Mobile-first | Breakpoints: 768px, 1024px
   ========================================================================== */

/* --------------------------------------------------------------------------
   0. CUSTOM PROPERTIES
   -------------------------------------------------------------------------- */

:root {
  /* Palette */
  --lp-earth-deep:   #2D1B0E;
  --lp-sage:         #7A8B6F;
  --lp-sand:         #E8DCC8;
  --lp-cream:        #FAF6F0;
  --lp-gold:         #C6993E;
  --lp-terracotta:   #C75B39;
  --lp-white:        #FFFFFF;
  --lp-text:         #3A2E25;
  --lp-text-light:   #6B5D52;

  /* Typography */
  --lp-font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --lp-font-body:    'Manrope', 'Segoe UI', system-ui, sans-serif;

  /* Fluid type scale */
  --lp-text-sm:   clamp(0.8rem,  1.5vw, 0.9rem);
  --lp-text-base: clamp(1rem,    1.8vw, 1.05rem);
  --lp-text-md:   clamp(1.1rem,  2vw,   1.25rem);
  --lp-text-lg:   clamp(1.25rem, 2.5vw, 1.5rem);
  --lp-text-xl:   clamp(1.5rem,  3.5vw, 2rem);
  --lp-text-2xl:  clamp(1.8rem,  4.5vw, 2.75rem);
  --lp-text-3xl:  clamp(2.2rem,  6vw,   3.75rem);

  /* Spacing */
  --lp-section-py: clamp(3rem, 8vw, 6rem);
  --lp-section-px: clamp(1.25rem, 5vw, 2rem);

  /* Radius */
  --lp-radius-sm:  6px;
  --lp-radius-md:  12px;
  --lp-radius-lg:  20px;
  --lp-radius-xl:  32px;
  --lp-radius-pill: 999px;

  /* Shadows */
  --lp-shadow-sm:  0 2px 8px rgba(45, 27, 14, 0.08);
  --lp-shadow-md:  0 6px 24px rgba(45, 27, 14, 0.12);
  --lp-shadow-lg:  0 16px 48px rgba(45, 27, 14, 0.18);
  --lp-shadow-xl:  0 24px 64px rgba(45, 27, 14, 0.24);

  /* Transitions */
  --lp-transition-fast:   150ms ease;
  --lp-transition-base:   300ms ease;
  --lp-transition-slow:   600ms ease;

  /* Header */
  --lp-header-height: 70px;

  /* Z-index layers */
  --lp-z-sticky-cta: 999;
  --lp-z-header:     1000;
}


/* --------------------------------------------------------------------------
   1. GLOBAL RESETS & BASE
   -------------------------------------------------------------------------- */

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

.lp-page *,
.lp-page *::before,
.lp-page *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.lp-page {
  font-family: var(--lp-font-body);
  font-size: var(--lp-text-base);
  color: var(--lp-text);
  background-color: var(--lp-cream);
  line-height: 1.7;
  overflow-x: hidden;
}

/* Headings */
.lp-heading {
  font-family: var(--lp-font-heading);
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: inherit;
}

/* Links */
.lp-page a {
  color: inherit;
  text-decoration: none;
  transition: color var(--lp-transition-base);
}

/* Images */
.lp-page img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Lists */
.lp-page ul,
.lp-page ol {
  list-style: none;
}


/* --------------------------------------------------------------------------
   2. LAYOUT HELPERS
   -------------------------------------------------------------------------- */

/* Section wrapper — applies consistent vertical + horizontal padding */
.lp-section {
  position: relative;
  padding-top:    var(--lp-section-py);
  padding-bottom: var(--lp-section-py);
  padding-left:   var(--lp-section-px);
  padding-right:  var(--lp-section-px);
}

/* Centered content container */
.lp-container {
  width: 100%;
  max-width: 1140px;
  margin-left:  auto;
  margin-right: auto;
}

/* Narrow container for text-heavy centred blocks */
.lp-container--narrow {
  max-width: 760px;
}

/* Section label above title */
.lp-eyebrow {
  display: inline-block;
  font-family: var(--lp-font-body);
  font-size: var(--lp-text-sm);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lp-gold);
  margin-bottom: 0.75rem;
}

/* Decorative gold rule below a section heading */
.lp-section-title-rule {
  width: 48px;
  height: 3px;
  background: var(--lp-gold);
  border-radius: var(--lp-radius-pill);
  margin: 1rem auto 0;
}

/* Text align helpers */
.lp-text-center { text-align: center; }
.lp-text-left   { text-align: left; }

/* Visually hidden (accessibility) */
.lp-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;
}


/* --------------------------------------------------------------------------
   3. SCROLL-REVEAL ANIMATION
   -------------------------------------------------------------------------- */

.lp-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity   var(--lp-transition-slow),
    transform var(--lp-transition-slow);
}

.lp-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered children */
.lp-reveal-group > *:nth-child(1) { transition-delay: 0ms; }
.lp-reveal-group > *:nth-child(2) { transition-delay: 100ms; }
.lp-reveal-group > *:nth-child(3) { transition-delay: 200ms; }
.lp-reveal-group > *:nth-child(4) { transition-delay: 300ms; }
.lp-reveal-group > *:nth-child(5) { transition-delay: 400ms; }
.lp-reveal-group > *:nth-child(6) { transition-delay: 500ms; }


/* --------------------------------------------------------------------------
   4. BUTTONS
   -------------------------------------------------------------------------- */

.lp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--lp-font-body);
  font-weight: 700;
  font-size: var(--lp-text-md);
  line-height: 1;
  padding: 1rem 2rem;
  border-radius: var(--lp-radius-pill);
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition:
    background-color var(--lp-transition-base),
    border-color     var(--lp-transition-base),
    color            var(--lp-transition-base),
    transform        var(--lp-transition-fast),
    box-shadow       var(--lp-transition-base);
}

.lp-btn:hover,
.lp-btn:focus-visible {
  outline: none;
}

.lp-btn:active {
  transform: scale(0.97);
}

/* Primary — terracotta / gold on hover */
.lp-btn-primary {
  background-color: var(--lp-terracotta);
  border-color: var(--lp-terracotta);
  color: var(--lp-white);
  box-shadow: 0 4px 20px rgba(199, 91, 57, 0.35);
}

.lp-btn-primary:hover,
.lp-btn-primary:focus-visible {
  background-color: var(--lp-gold);
  border-color: var(--lp-gold);
  color: var(--lp-white);
  box-shadow: 0 6px 28px rgba(198, 153, 62, 0.4);
  transform: translateY(-2px);
}

/* Secondary — transparent with white border */
.lp-btn-secondary {
  background-color: transparent;
  border-color: var(--lp-white);
  color: var(--lp-white);
}

.lp-btn-secondary:hover,
.lp-btn-secondary:focus-visible {
  background-color: var(--lp-white);
  color: var(--lp-earth-deep);
  transform: translateY(-2px);
}

/* Large variant */
.lp-btn--lg {
  font-size: var(--lp-text-lg);
  padding: 1.2rem 2.75rem;
}

/* Full width on mobile */
.lp-btn--full-mobile {
  width: 100%;
}

@media (min-width: 768px) {
  .lp-btn--full-mobile {
    width: auto;
  }
}

/* EDD override — match terracotta style */
.edd-submit.button,
.edd-submit.button:link,
.edd-submit.button:visited {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-family: var(--lp-font-body) !important;
  font-weight: 700 !important;
  font-size: var(--lp-text-md) !important;
  line-height: 1 !important;
  padding: 1rem 2rem !important;
  border-radius: var(--lp-radius-pill) !important;
  border: 2px solid var(--lp-terracotta) !important;
  background-color: var(--lp-terracotta) !important;
  color: var(--lp-white) !important;
  box-shadow: 0 4px 20px rgba(199, 91, 57, 0.35) !important;
  cursor: pointer !important;
  text-decoration: none !important;
  transition:
    background-color var(--lp-transition-base),
    border-color     var(--lp-transition-base),
    transform        var(--lp-transition-fast) !important;
}

.edd-submit.button:hover,
.edd-submit.button:focus {
  background-color: var(--lp-gold) !important;
  border-color: var(--lp-gold) !important;
  transform: translateY(-2px) !important;
}


/* --------------------------------------------------------------------------
   5. WAVE SEPARATORS — reusable mixin-like utility
   -------------------------------------------------------------------------- */

/* Class applied to the section that OWNS the wave on its bottom edge */
.lp-wave-bottom {
  position: relative;
  overflow: visible;
}

.lp-wave-bottom::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: clamp(40px, 6vw, 80px);
  background-repeat: no-repeat;
  background-size: 100% 100%;
  pointer-events: none;
}

/* Wave pointing down (cream/sand fill) */
.lp-wave-bottom--cream::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80' preserveAspectRatio='none'%3E%3Cpath d='M0,40 C240,80 480,0 720,40 C960,80 1200,0 1440,40 L1440,80 L0,80 Z' fill='%23FAF6F0'/%3E%3C/svg%3E");
}

.lp-wave-bottom--sand::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80' preserveAspectRatio='none'%3E%3Cpath d='M0,40 C240,80 480,0 720,40 C960,80 1200,0 1440,40 L1440,80 L0,80 Z' fill='%23E8DCC8'/%3E%3C/svg%3E");
}

.lp-wave-bottom--white::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80' preserveAspectRatio='none'%3E%3Cpath d='M0,40 C240,80 480,0 720,40 C960,80 1200,0 1440,40 L1440,80 L0,80 Z' fill='%23FFFFFF'/%3E%3C/svg%3E");
}

.lp-wave-bottom--dark::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80' preserveAspectRatio='none'%3E%3Cpath d='M0,40 C240,80 480,0 720,40 C960,80 1200,0 1440,40 L1440,80 L0,80 Z' fill='%232D1B0E'/%3E%3C/svg%3E");
}

/* Wave on top edge */
.lp-wave-top {
  position: relative;
}

.lp-wave-top::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  width: 100%;
  height: clamp(40px, 6vw, 80px);
  background-repeat: no-repeat;
  background-size: 100% 100%;
  pointer-events: none;
  z-index: 1;
}

.lp-wave-top--cream::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80' preserveAspectRatio='none'%3E%3Cpath d='M0,40 C240,0 480,80 720,40 C960,0 1200,80 1440,40 L1440,0 L0,0 Z' fill='%23FAF6F0'/%3E%3C/svg%3E");
}

.lp-wave-top--dark::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80' preserveAspectRatio='none'%3E%3Cpath d='M0,40 C240,0 480,80 720,40 C960,0 1200,80 1440,40 L1440,0 L0,0 Z' fill='%232D1B0E'/%3E%3C/svg%3E");
}


/* --------------------------------------------------------------------------
   6. HEADER
   -------------------------------------------------------------------------- */

.lp-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--lp-header-height);
  z-index: var(--lp-z-header);
  background-color: transparent;
  transition:
    background-color var(--lp-transition-base),
    box-shadow       var(--lp-transition-base),
    backdrop-filter  var(--lp-transition-base);
}

.lp-header.is-scrolled {
  background-color: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(45, 27, 14, 0.1);
}

.lp-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 var(--lp-section-px);
}

.lp-header__logo {
  font-family: var(--lp-font-heading);
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 700;
  color: var(--lp-white);
  letter-spacing: 0.02em;
  transition: color var(--lp-transition-base);
  text-decoration: none;
}

.lp-header.is-scrolled .lp-header__logo {
  color: var(--lp-earth-deep);
}

.lp-header__logo img {
  height: 40px;
  width: auto;
}

.lp-header__nav {
  display: none;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .lp-header__nav {
    display: flex;
  }
}

.lp-header__nav a {
  font-size: var(--lp-text-sm);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  transition: color var(--lp-transition-base);
}

.lp-header__nav a:hover {
  color: var(--lp-gold);
}

.lp-header.is-scrolled .lp-header__nav a {
  color: var(--lp-text);
}

.lp-header.is-scrolled .lp-header__nav a:hover {
  color: var(--lp-terracotta);
}

.lp-header__actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.lp-header__actions .lp-btn {
  display: none;
}

@media (min-width: 768px) {
  .lp-header__actions .lp-btn {
    display: inline-flex;
  }
}

.lp-header__cta {
  font-size: var(--lp-text-sm);
  padding: 0.6rem 1.4rem;
}

.lp-header.is-scrolled .lp-header__cta {
  background-color: var(--lp-terracotta);
  border-color: var(--lp-terracotta);
  color: var(--lp-white);
}

/* Language switcher (Polylang) */
.lp-lang-switcher {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.lp-lang-switcher .lang-item {
  display: block;
  list-style: none;
  margin: 0;
  padding: 0;
}

.lp-lang-switcher .lang-item a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.1);
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  transition: background var(--lp-transition-base), border-color var(--lp-transition-base), transform var(--lp-transition-base);
}

.lp-lang-switcher .lang-item a:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
  transform: scale(1.08);
}

.lp-lang-switcher .current-lang a {
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.6);
}

/* Scrolled state */
.lp-header.is-scrolled .lp-lang-switcher .lang-item a {
  background: rgba(0, 0, 0, 0.04);
  border-color: rgba(0, 0, 0, 0.12);
}

.lp-header.is-scrolled .lp-lang-switcher .lang-item a:hover {
  background: rgba(0, 0, 0, 0.08);
  border-color: var(--lp-terracotta);
}

.lp-header.is-scrolled .lp-lang-switcher .current-lang a {
  background: rgba(0, 0, 0, 0.07);
  border-color: var(--lp-earth-deep);
}

.lp-lang-switcher img {
  width: 17px;
  height: 11px;
  display: block;
}

/* Mobile menu toggle */
.lp-mobile-menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

@media (min-width: 768px) {
  .lp-mobile-menu-toggle {
    display: none;
  }
}

.lp-mobile-menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--lp-white);
  border-radius: 2px;
  transition: background-color var(--lp-transition-base);
}

.lp-header.is-scrolled .lp-mobile-menu-toggle span {
  background-color: var(--lp-earth-deep);
}

/* Compact secondary button in header when transparent */
.lp-header .lp-btn-secondary {
  border-color: rgba(255, 255, 255, 0.7);
}

/* Switch to terracotta outline on scrolled */
.lp-header.is-scrolled .lp-btn-secondary {
  border-color: var(--lp-terracotta);
  color: var(--lp-terracotta);
}

.lp-header.is-scrolled .lp-btn-secondary:hover {
  background-color: var(--lp-terracotta);
  color: var(--lp-white);
}


/* --------------------------------------------------------------------------
   7. HERO
   -------------------------------------------------------------------------- */

.lp-hero {
  position: relative;
  min-height: 100svh;
  min-height: 100vh; /* fallback */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: calc(var(--lp-header-height) + 2rem);
  padding-bottom: clamp(5rem, 12vw, 9rem); /* space for wave */
  padding-left:  var(--lp-section-px);
  padding-right: var(--lp-section-px);
  overflow: hidden;
  background-color: var(--lp-earth-deep); /* fallback if no bg image */
}

/* Background image layer */
.lp-hero__bg {
  position: absolute;
  inset: 0;
  background-image: var(--lp-hero-image, none);
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
}

/* Dark overlay gradient */
.lp-hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(45, 27, 14, 0.78) 0%,
    rgba(45, 27, 14, 0.55) 55%,
    rgba(45, 27, 14, 0.72) 100%
  );
}

/* SVG wave at the bottom of hero */
.lp-hero::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: clamp(50px, 8vw, 100px);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 100' preserveAspectRatio='none'%3E%3Cpath d='M0,60 C180,20 360,100 540,60 C720,20 900,90 1080,55 C1200,30 1320,70 1440,50 L1440,100 L0,100 Z' fill='%23FAF6F0'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: 100% 100%;
  pointer-events: none;
  z-index: 2;
}

/* Content layer above overlay */
.lp-hero__content {
  position: relative;
  z-index: 1;
  color: var(--lp-white);
  max-width: 860px;
  margin: 0 auto;
}

.lp-hero__eyebrow {
  display: inline-block;
  font-size: var(--lp-text-sm);
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--lp-gold);
  margin-bottom: 1rem;
  padding: 0.35rem 1rem;
  border: 1px solid rgba(198, 153, 62, 0.5);
  border-radius: var(--lp-radius-pill);
  background-color: rgba(198, 153, 62, 0.12);
  backdrop-filter: blur(4px);
}

.lp-hero__title {
  font-size: var(--lp-text-3xl);
  color: var(--lp-white);
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

.lp-hero__title em {
  font-style: italic;
  color: var(--lp-gold);
}

.lp-hero__subtitle {
  font-size: var(--lp-text-lg);
  color: rgba(255, 255, 255, 0.88);
  max-width: 600px;
  margin: 0 auto 2rem;
  line-height: 1.6;
}

/* CTA group */
.lp-hero__ctas {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

@media (min-width: 480px) {
  .lp-hero__ctas {
    flex-direction: row;
    justify-content: center;
  }
}

/* Social proof nudge */
.lp-hero__social-proof {
  font-size: var(--lp-text-sm);
  color: rgba(255, 255, 255, 0.65);
  letter-spacing: 0.04em;
}

.lp-hero__social-proof strong {
  color: var(--lp-gold);
}

/* ---- CSS Book Mockup ---- */
.lp-book-mockup {
  display: none; /* hidden on mobile to keep hero clean */
  position: relative;
  width: 160px;
  height: 220px;
  perspective: 900px;
  margin: 0 auto 2rem;
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .lp-book-mockup {
    display: block;
  }
  /* Side-by-side on tablet: book left, text right */
  .lp-hero__content {
    display: flex;
    align-items: center;
    gap: 3rem;
    text-align: left;
    max-width: 960px;
  }
  .lp-hero__text {
    flex: 1;
  }
  .lp-hero__ctas {
    justify-content: flex-start;
  }
  .lp-hero__social-proof {
    text-align: left;
  }
}

.lp-book-mockup__cover {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--lp-sage) 0%, #4a5e40 50%, var(--lp-earth-deep) 100%);
  border-radius: 2px 6px 6px 2px;
  transform: rotateY(-20deg);
  transform-origin: left center;
  transform-style: preserve-3d;
  box-shadow:
    6px 6px 20px rgba(0, 0, 0, 0.45),
    -2px 0 8px rgba(0, 0, 0, 0.2),
    inset -3px 0 6px rgba(0, 0, 0, 0.15);
}

/* Book cover surface design */
.lp-book-mockup__cover::before {
  content: '';
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(198, 153, 62, 0.5);
  border-radius: 2px;
}

.lp-book-mockup__cover::after {
  content: 'La Terre Mère et le Tissage de mes Racines';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--lp-font-heading);
  font-size: 0.75rem;
  color: var(--lp-gold);
  text-align: center;
  line-height: 1.4;
  width: 80%;
}

/* Book spine */
.lp-book-mockup__spine {
  position: absolute;
  top: 0;
  left: -18px;
  width: 18px;
  height: 100%;
  background: linear-gradient(to right, #2a3e26, var(--lp-sage));
  transform: rotateY(70deg);
  transform-origin: right center;
  border-radius: 4px 0 0 4px;
  box-shadow: -4px 4px 12px rgba(0, 0, 0, 0.4);
}

/* Book pages (right edge) */
.lp-book-mockup__pages {
  position: absolute;
  top: 2px;
  right: -6px;
  width: 8px;
  height: calc(100% - 4px);
  background: repeating-linear-gradient(
    to bottom,
    #f5efe6 0px,
    #f5efe6 2px,
    #e8dcc8 2px,
    #e8dcc8 3px
  );
  border-radius: 0 2px 2px 0;
  box-shadow: 2px 0 4px rgba(0, 0, 0, 0.15);
}


/* --------------------------------------------------------------------------
   8. POUR QUI (3-column grid)
   -------------------------------------------------------------------------- */

.lp-pour-qui {
  background-color: var(--lp-cream);
}

.lp-pour-qui__header {
  text-align: center;
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
}

.lp-pour-qui__title {
  font-size: var(--lp-text-2xl);
  color: var(--lp-earth-deep);
  margin-bottom: 0.75rem;
}

.lp-pour-qui__subtitle {
  color: var(--lp-text-light);
  font-size: var(--lp-text-md);
  max-width: 600px;
  margin: 0 auto;
}

.lp-pour-qui__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .lp-pour-qui__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .lp-pour-qui__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Individual card */
.lp-pour-qui__card {
  background-color: var(--lp-white);
  border-radius: var(--lp-radius-md);
  padding: 2rem 1.75rem;
  box-shadow: var(--lp-shadow-sm);
  border: 1px solid rgba(122, 139, 111, 0.15);
  transition:
    transform  var(--lp-transition-base),
    box-shadow var(--lp-transition-base);
}

.lp-pour-qui__card:hover {
  transform: translateY(-4px);
  box-shadow: var(--lp-shadow-md);
}

/* Icon circle */
.lp-pour-qui__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: var(--lp-sage);
  color: var(--lp-white);
  margin-bottom: 1.25rem;
  font-size: 1.5rem;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(122, 139, 111, 0.3);
}

.lp-pour-qui__icon .lp-icon {
  width: 28px;
  height: 28px;
}

.lp-pour-qui__card-title {
  font-family: var(--lp-font-heading);
  font-size: var(--lp-text-lg);
  color: var(--lp-earth-deep);
  margin-bottom: 0.6rem;
  font-weight: 700;
}

.lp-pour-qui__card-desc {
  color: var(--lp-text-light);
  font-size: var(--lp-text-base);
  line-height: 1.65;
}


/* --------------------------------------------------------------------------
   9. BENEFITS (2-column checklist)
   -------------------------------------------------------------------------- */

.lp-benefits {
  background-color: var(--lp-white);
}

.lp-benefits__header {
  text-align: center;
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
}

.lp-benefits__title {
  font-size: var(--lp-text-2xl);
  color: var(--lp-earth-deep);
  margin-bottom: 0.75rem;
}

.lp-benefits__subtitle {
  color: var(--lp-text-light);
  font-size: var(--lp-text-md);
  max-width: 600px;
  margin: 0 auto;
}

.lp-benefits__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem 2.5rem;
}

@media (min-width: 768px) {
  .lp-benefits__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.lp-benefits__item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem;
  border-radius: var(--lp-radius-sm);
  transition: background-color var(--lp-transition-base);
}

.lp-benefits__item:hover {
  background-color: var(--lp-cream);
}

/* Checkmark icon */
.lp-benefits__check {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: rgba(199, 91, 57, 0.12);
  color: var(--lp-terracotta);
  font-size: 0.9rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
  font-weight: 700;
}

.lp-benefits__check::before {
  content: '✓';
}

.lp-benefits__item-title {
  font-family: var(--lp-font-heading);
  font-size: var(--lp-text-md);
  color: var(--lp-earth-deep);
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.lp-benefits__item-text {
  color: var(--lp-text-light);
  font-size: var(--lp-text-base);
  line-height: 1.6;
}


/* --------------------------------------------------------------------------
   10. EXTRAIT (blockquote)
   -------------------------------------------------------------------------- */

.lp-extrait {
  background-color: var(--lp-sand);
  text-align: center;
  position: relative;
}

/* Decorative top/bottom borders */
.lp-extrait::before,
.lp-extrait::after {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: min(80%, 400px);
  height: 2px;
  background: linear-gradient(
    to right,
    transparent,
    var(--lp-gold),
    transparent
  );
}

.lp-extrait::before { top: 0; }
.lp-extrait::after  { bottom: 0; }

.lp-extrait__label {
  font-size: var(--lp-text-sm);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lp-gold);
  margin-bottom: 2rem;
}

.lp-extrait blockquote {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
}

/* Giant decorative opening quotation mark */
.lp-extrait blockquote::before {
  content: '\201C'; /* left double quotation mark */
  position: absolute;
  top: -0.6em;
  left: -0.3em;
  font-family: var(--lp-font-heading);
  font-size: clamp(5rem, 12vw, 9rem);
  line-height: 1;
  color: var(--lp-gold);
  opacity: 0.25;
  pointer-events: none;
  user-select: none;
}

.lp-extrait__text {
  font-family: var(--lp-font-heading);
  font-style: italic;
  font-size: var(--lp-text-xl);
  color: var(--lp-earth-deep);
  line-height: 1.55;
  margin-bottom: 1.5rem;
}

.lp-extrait__attribution {
  font-size: var(--lp-text-sm);
  color: var(--lp-text-light);
  font-style: normal;
  letter-spacing: 0.06em;
}

.lp-extrait__attribution::before {
  content: '— ';
}


/* --------------------------------------------------------------------------
   11. TESTIMONIALS
   -------------------------------------------------------------------------- */

.lp-testimonials {
  background-color: var(--lp-cream);
}

.lp-testimonials__header {
  text-align: center;
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
}

.lp-testimonials__title {
  font-size: var(--lp-text-2xl);
  color: var(--lp-earth-deep);
  margin-bottom: 0.75rem;
}

.lp-testimonials__subtitle {
  color: var(--lp-text-light);
  font-size: var(--lp-text-md);
}

.lp-testimonials__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .lp-testimonials__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .lp-testimonials__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Individual testimonial card */
.lp-testimonial-card {
  background-color: var(--lp-white);
  border-radius: var(--lp-radius-md);
  padding: 2rem 1.75rem;
  box-shadow: var(--lp-shadow-sm);
  border: 1px solid rgba(232, 220, 200, 0.8);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition:
    transform  var(--lp-transition-base),
    box-shadow var(--lp-transition-base);
}

.lp-testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--lp-shadow-md);
}

/* Stars — gold using Unicode */
.lp-testimonial-card__stars {
  display: flex;
  gap: 2px;
  color: var(--lp-gold);
  font-size: 1.1rem;
  letter-spacing: 0.05em;
}

/* Each star is rendered via CSS */
.lp-star::before {
  content: '★';
}

.lp-testimonial-card__quote {
  font-family: var(--lp-font-heading);
  font-style: italic;
  font-size: var(--lp-text-md);
  color: var(--lp-text);
  line-height: 1.6;
  flex: 1;
}

.lp-testimonial-card__quote::before {
  content: '\201C';
  color: var(--lp-gold);
  font-size: 1.4em;
  line-height: 0;
  vertical-align: -0.3em;
  margin-right: 0.1em;
}

.lp-testimonial-card__quote::after {
  content: '\201D';
  color: var(--lp-gold);
  font-size: 1.4em;
  line-height: 0;
  vertical-align: -0.3em;
  margin-left: 0.1em;
}

.lp-testimonial-card__author {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

/* Avatar placeholder circle */
.lp-testimonial-card__avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--lp-sand) 0%, var(--lp-sage) 100%);
  flex-shrink: 0;
  overflow: hidden;
  border: 2px solid var(--lp-sand);
}

.lp-testimonial-card__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lp-testimonial-card__name {
  font-weight: 700;
  font-size: var(--lp-text-base);
  color: var(--lp-earth-deep);
  line-height: 1.2;
}

.lp-testimonial-card__role {
  font-size: var(--lp-text-sm);
  color: var(--lp-text-light);
  line-height: 1.3;
}


/* --------------------------------------------------------------------------
   12. AUTHOR
   -------------------------------------------------------------------------- */

.lp-author {
  background-color: var(--lp-cream);
}

.lp-author__inner {
  display: flex;
  flex-direction: column;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

@media (min-width: 768px) {
  .lp-author__inner {
    flex-direction: row;
    align-items: flex-start;
  }
}

/* Photo side */
.lp-author__photo-wrap {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.lp-author__photo {
  width: clamp(180px, 30vw, 260px);
  height: clamp(180px, 30vw, 260px);
  border-radius: 50%;
  background: linear-gradient(135deg, var(--lp-sand) 0%, var(--lp-sage) 100%);
  border: 4px solid var(--lp-sage);
  box-shadow:
    0 0 0 8px rgba(122, 139, 111, 0.15),
    var(--lp-shadow-md);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lp-author__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Placeholder initials if no image */
.lp-author__photo-initials {
  font-family: var(--lp-font-heading);
  font-size: clamp(2.5rem, 8vw, 4rem);
  font-weight: 700;
  color: var(--lp-white);
  opacity: 0.8;
}

.lp-author__name-tag {
  font-family: var(--lp-font-heading);
  font-size: var(--lp-text-md);
  font-weight: 700;
  color: var(--lp-earth-deep);
  text-align: center;
}

/* Bio side */
.lp-author__bio {
  flex: 1;
}

.lp-author__eyebrow {
  font-size: var(--lp-text-sm);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lp-gold);
  margin-bottom: 0.75rem;
}

.lp-author__title {
  font-size: var(--lp-text-2xl);
  color: var(--lp-earth-deep);
  margin-bottom: 1.25rem;
}

.lp-author__text {
  color: var(--lp-text-light);
  font-size: var(--lp-text-base);
  line-height: 1.75;
  margin-bottom: 1rem;
}

.lp-author__signature {
  font-family: var(--lp-font-heading);
  font-style: italic;
  font-size: var(--lp-text-lg);
  color: var(--lp-earth-deep);
  margin-top: 1.25rem;
}


/* --------------------------------------------------------------------------
   13. TABLE OF CONTENTS
   -------------------------------------------------------------------------- */

.lp-toc {
  background-color: var(--lp-earth-deep);
  color: var(--lp-cream);
  position: relative;
}

.lp-toc__header {
  text-align: center;
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
}

.lp-toc__eyebrow {
  font-size: var(--lp-text-sm);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lp-gold);
  margin-bottom: 0.75rem;
}

.lp-toc__title {
  font-size: var(--lp-text-2xl);
  color: var(--lp-white);
  margin-bottom: 0.5rem;
}

.lp-toc__subtitle {
  color: rgba(250, 246, 240, 0.6);
  font-size: var(--lp-text-md);
}

.lp-toc__list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  counter-reset: toc-counter;
}

@media (min-width: 768px) {
  .lp-toc__list {
    grid-template-columns: repeat(2, 1fr);
  }
}

.lp-toc__item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  border-radius: var(--lp-radius-sm);
  background-color: rgba(250, 246, 240, 0.05);
  border: 1px solid rgba(198, 153, 62, 0.15);
  transition:
    background-color var(--lp-transition-base),
    border-color     var(--lp-transition-base);
  counter-increment: toc-counter;
}

.lp-toc__item:hover {
  background-color: rgba(250, 246, 240, 0.08);
  border-color: rgba(198, 153, 62, 0.4);
}

/* Gold numbered circle */
.lp-toc__number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  min-width: 34px;
  border-radius: 50%;
  background-color: var(--lp-gold);
  color: var(--lp-earth-deep);
  font-weight: 800;
  font-size: var(--lp-text-sm);
  box-shadow: 0 2px 8px rgba(198, 153, 62, 0.4);
}

.lp-toc__item-title {
  font-family: var(--lp-font-heading);
  font-size: var(--lp-text-md);
  color: var(--lp-white);
  margin-bottom: 0.2rem;
  font-weight: 700;
  line-height: 1.3;
}

.lp-toc__item-desc {
  font-size: var(--lp-text-sm);
  color: rgba(250, 246, 240, 0.55);
  line-height: 1.5;
}


/* --------------------------------------------------------------------------
   14. PRICING
   -------------------------------------------------------------------------- */

.lp-pricing {
  background-color: var(--lp-earth-deep);
  text-align: center;
  position: relative;
}

.lp-pricing__header {
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
}

.lp-pricing__eyebrow {
  font-size: var(--lp-text-sm);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lp-gold);
  margin-bottom: 0.75rem;
}

.lp-pricing__title {
  font-size: var(--lp-text-2xl);
  color: var(--lp-white);
  margin-bottom: 0.5rem;
}

.lp-pricing__subtitle {
  color: rgba(250, 246, 240, 0.65);
  font-size: var(--lp-text-md);
}

/* Pricing card */
.lp-pricing__card {
  background: linear-gradient(160deg, #3d2814 0%, #2a1a0d 100%);
  border: 2px solid var(--lp-gold);
  border-radius: var(--lp-radius-lg);
  padding: clamp(2rem, 6vw, 3.5rem) clamp(1.5rem, 5vw, 3rem);
  max-width: 560px;
  margin: 0 auto;
  box-shadow:
    0 0 0 1px rgba(198, 153, 62, 0.2),
    0 24px 60px rgba(0, 0, 0, 0.45),
    0 0 60px rgba(198, 153, 62, 0.08);
  position: relative;
  overflow: hidden;
}

/* Subtle glow shimmer in card corner */
.lp-pricing__card::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(198, 153, 62, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

/* Popular badge */
.lp-pricing__badge {
  display: inline-block;
  font-size: var(--lp-text-sm);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--lp-earth-deep);
  background-color: var(--lp-gold);
  padding: 0.35rem 1.25rem;
  border-radius: var(--lp-radius-pill);
  margin-bottom: 1.75rem;
}

/* Book title in card */
.lp-pricing__book-title {
  font-family: var(--lp-font-heading);
  font-style: italic;
  font-size: var(--lp-text-lg);
  color: rgba(250, 246, 240, 0.85);
  margin-bottom: 1.5rem;
}

/* Price display */
.lp-pricing__price-row {
  margin-bottom: 1.75rem;
}

.lp-pricing__original {
  font-size: var(--lp-text-md);
  color: rgba(250, 246, 240, 0.4);
  text-decoration: line-through;
  text-decoration-color: var(--lp-terracotta);
  margin-bottom: 0.25rem;
}

.lp-pricing__current {
  font-family: var(--lp-font-heading);
  font-size: clamp(2.5rem, 8vw, 4rem);
  font-weight: 700;
  color: var(--lp-gold);
  line-height: 1;
}

.lp-pricing__currency {
  font-size: 1.5rem;
  vertical-align: super;
  margin-right: 0.1em;
}

.lp-pricing__note {
  font-size: var(--lp-text-sm);
  color: rgba(250, 246, 240, 0.5);
  margin-top: 0.4rem;
}

/* Feature list in card */
.lp-pricing__features {
  text-align: left;
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.lp-pricing__feature {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: var(--lp-text-base);
  color: rgba(250, 246, 240, 0.85);
}

.lp-pricing__feature-check {
  color: var(--lp-gold);
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 0.1em;
}

.lp-pricing__feature-check::before {
  content: '✓';
}

/* CTA */
.lp-pricing__cta {
  width: 100%;
  font-size: var(--lp-text-lg);
  padding: 1.2rem 2rem;
  margin-bottom: 1.25rem;
}

/* Security row */
.lp-pricing__security {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  font-size: var(--lp-text-sm);
  color: rgba(250, 246, 240, 0.5);
  margin-bottom: 1.5rem;
}

.lp-pricing__security-item {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.lp-pricing__security-icon {
  font-size: 0.95rem;
  color: var(--lp-sage);
}

/* Guarantee badge */
.lp-pricing__guarantee {
  display: flex;
  align-items: center;
  gap: 1rem;
  background-color: rgba(122, 139, 111, 0.1);
  border: 1px solid rgba(122, 139, 111, 0.3);
  border-radius: var(--lp-radius-md);
  padding: 1rem 1.25rem;
  text-align: left;
}

.lp-pricing__guarantee-icon {
  font-size: 2.5rem;
  flex-shrink: 0;
}

.lp-pricing__guarantee-title {
  font-weight: 700;
  color: var(--lp-white);
  font-size: var(--lp-text-base);
  margin-bottom: 0.2rem;
}

.lp-pricing__guarantee-text {
  font-size: var(--lp-text-sm);
  color: rgba(250, 246, 240, 0.55);
  line-height: 1.5;
}


/* --------------------------------------------------------------------------
   15. FAQ ACCORDION
   -------------------------------------------------------------------------- */

.lp-faq {
  background-color: var(--lp-cream);
}

.lp-faq__header {
  text-align: center;
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
}

.lp-faq__title {
  font-size: var(--lp-text-2xl);
  color: var(--lp-earth-deep);
  margin-bottom: 0.75rem;
}

.lp-faq__subtitle {
  color: var(--lp-text-light);
  font-size: var(--lp-text-md);
}

.lp-faq__list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 800px;
  margin: 0 auto;
}

/* Accordion item */
.lp-faq__item {
  background-color: var(--lp-white);
  border-radius: var(--lp-radius-md);
  border: 1px solid rgba(122, 139, 111, 0.2);
  overflow: hidden;
  box-shadow: var(--lp-shadow-sm);
  transition: box-shadow var(--lp-transition-base);
}

.lp-faq__item:hover,
.lp-faq__item.is-open {
  box-shadow: var(--lp-shadow-md);
}

/* Question button */
.lp-faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 1.25rem 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--lp-font-heading);
  font-size: var(--lp-text-md);
  font-weight: 700;
  color: var(--lp-earth-deep);
  text-align: left;
  gap: 1rem;
  transition: color var(--lp-transition-base);
}

.lp-faq__question:hover {
  color: var(--lp-terracotta);
}

.lp-faq__item.is-open .lp-faq__question {
  color: var(--lp-terracotta);
}

/* + / × icon */
.lp-faq__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  min-width: 28px;
  border-radius: 50%;
  border: 2px solid currentColor;
  font-size: 1.1rem;
  font-weight: 400;
  line-height: 1;
  transition:
    transform var(--lp-transition-base),
    background-color var(--lp-transition-base),
    color var(--lp-transition-base);
  color: var(--lp-sage);
}

.lp-faq__icon::before {
  content: '+';
}

.lp-faq__item.is-open .lp-faq__icon {
  background-color: var(--lp-terracotta);
  border-color: var(--lp-terracotta);
  color: var(--lp-white);
  transform: rotate(45deg); /* + rotates to × */
}

/* Answer — slide via max-height */
.lp-faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 400ms cubic-bezier(0.4, 0, 0.2, 1);
}

.lp-faq__item.is-open .lp-faq__answer {
  max-height: 600px; /* large enough for any answer */
}

.lp-faq__answer-inner {
  padding: 0 1.5rem 1.5rem;
  color: var(--lp-text-light);
  font-size: var(--lp-text-base);
  line-height: 1.7;
  border-top: 1px solid rgba(122, 139, 111, 0.12);
  padding-top: 1rem;
}


/* --------------------------------------------------------------------------
   16. FINAL CTA
   -------------------------------------------------------------------------- */

.lp-cta-final {
  background-color: var(--lp-earth-deep);
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Radial background glow */
.lp-cta-final::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(600px, 90vw);
  height: min(600px, 90vw);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(198, 153, 62, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.lp-cta-final__inner {
  position: relative;
  z-index: 1;
}

.lp-cta-final__eyebrow {
  font-size: var(--lp-text-sm);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lp-gold);
  margin-bottom: 1rem;
}

.lp-cta-final__title {
  font-size: var(--lp-text-2xl);
  color: var(--lp-white);
  margin-bottom: 1rem;
}

.lp-cta-final__title em {
  font-style: italic;
  color: var(--lp-gold);
}

.lp-cta-final__text {
  color: rgba(250, 246, 240, 0.7);
  font-size: var(--lp-text-lg);
  max-width: 600px;
  margin: 0 auto 2.5rem;
  line-height: 1.65;
}

.lp-cta-final__cta {
  margin-bottom: 1rem;
}

.lp-cta-final__sub {
  font-size: var(--lp-text-sm);
  color: rgba(250, 246, 240, 0.45);
}

/* Gold accent divider */
.lp-cta-final__divider {
  width: 64px;
  height: 2px;
  background: var(--lp-gold);
  border-radius: var(--lp-radius-pill);
  margin: 0 auto 2rem;
  opacity: 0.6;
}


/* --------------------------------------------------------------------------
   17. FOOTER
   -------------------------------------------------------------------------- */

.lp-footer {
  background-color: #1a0f07;
  color: rgba(250, 246, 240, 0.45);
  padding: 2.5rem var(--lp-section-px);
  text-align: center;
}

.lp-footer__inner {
  max-width: 1140px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

@media (min-width: 768px) {
  .lp-footer__inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.lp-footer__copy {
  font-size: var(--lp-text-sm);
  line-height: 1.6;
}

.lp-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.25rem;
  justify-content: center;
}

@media (min-width: 768px) {
  .lp-footer__links {
    justify-content: flex-end;
  }
}

.lp-footer__link {
  font-size: var(--lp-text-sm);
  color: rgba(250, 246, 240, 0.45);
  text-decoration: none;
  transition: color var(--lp-transition-base);
}

.lp-footer__link:hover {
  color: var(--lp-gold);
}

.lp-footer__logo-text {
  font-family: var(--lp-font-heading);
  font-style: italic;
  font-size: var(--lp-text-base);
  color: rgba(250, 246, 240, 0.6);
}


/* --------------------------------------------------------------------------
   18. STICKY CTA BAR (mobile only, slide-up)
   -------------------------------------------------------------------------- */

.lp-sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: var(--lp-terracotta);
  z-index: var(--lp-z-sticky-cta);
  transform: translateY(100%);
  transition: transform 400ms cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 -4px 20px rgba(45, 27, 14, 0.2);
}

.lp-sticky-cta.is-visible {
  transform: translateY(0);
}

/* Hide on tablet+ */
@media (min-width: 768px) {
  .lp-sticky-cta {
    display: none;
  }
}

.lp-sticky-cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1.25rem;
  max-width: 1140px;
  margin: 0 auto;
}

.lp-sticky-cta__text {
  font-size: var(--lp-text-sm);
  font-weight: 700;
  color: var(--lp-white);
  line-height: 1.3;
  flex: 1;
}

.lp-sticky-cta__sub {
  font-size: 0.7rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.75);
  display: block;
}

.lp-sticky-cta__btn {
  font-size: var(--lp-text-sm);
  padding: 0.65rem 1.25rem;
  background-color: var(--lp-white);
  color: var(--lp-terracotta);
  border-color: var(--lp-white);
  white-space: nowrap;
}

.lp-sticky-cta__btn:hover {
  background-color: var(--lp-gold);
  border-color: var(--lp-gold);
  color: var(--lp-white);
}


/* --------------------------------------------------------------------------
   19. UTILITY MODIFIERS & MISC
   -------------------------------------------------------------------------- */

/* Separator line */
.lp-sep {
  width: 64px;
  height: 3px;
  background: linear-gradient(to right, var(--lp-gold), var(--lp-terracotta));
  border-radius: var(--lp-radius-pill);
  margin: 1.25rem auto;
}

.lp-sep--left {
  margin-left: 0;
  margin-right: 0;
}

/* Gold highlighted text */
.lp-gold-text {
  color: var(--lp-gold);
}

/* Terracotta highlighted text */
.lp-accent-text {
  color: var(--lp-terracotta);
}

/* Large italic decorative text */
.lp-display-quote {
  font-family: var(--lp-font-heading);
  font-style: italic;
  font-size: var(--lp-text-2xl);
  color: var(--lp-earth-deep);
  line-height: 1.4;
}

/* Badge / pill label */
.lp-badge {
  display: inline-block;
  font-size: var(--lp-text-sm);
  font-weight: 700;
  padding: 0.3rem 0.85rem;
  border-radius: var(--lp-radius-pill);
}

.lp-badge--gold {
  background-color: rgba(198, 153, 62, 0.15);
  color: var(--lp-gold);
  border: 1px solid rgba(198, 153, 62, 0.35);
}

.lp-badge--sage {
  background-color: rgba(122, 139, 111, 0.15);
  color: var(--lp-sage);
  border: 1px solid rgba(122, 139, 111, 0.35);
}

/* Number stat display (e.g., "500+ lecteurs") */
.lp-stat {
  text-align: center;
}

.lp-stat__value {
  font-family: var(--lp-font-heading);
  font-size: var(--lp-text-2xl);
  color: var(--lp-gold);
  font-weight: 700;
  display: block;
  line-height: 1;
}

.lp-stat__label {
  font-size: var(--lp-text-sm);
  color: var(--lp-text-light);
  margin-top: 0.35rem;
}

/* Responsive grid for stats */
.lp-stats-row {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}

/* Divider between sections that share same bg */
.lp-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(122, 139, 111, 0.3), transparent);
  margin: 0;
}


/* --------------------------------------------------------------------------
   20. PRINT / REDUCED MOTION
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  .lp-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .lp-btn,
  .lp-pour-qui__card,
  .lp-testimonial-card,
  .lp-faq__answer,
  .lp-sticky-cta,
  .lp-header {
    transition: none;
  }
}

@media print {
  .lp-header,
  .lp-sticky-cta,
  .lp-hero__ctas,
  .lp-cta-final {
    display: none !important;
  }

  .lp-page {
    color: #000;
    background: #fff;
  }
}
