/**
 * N-Terre Rénovation — Landing Page
 * Design ultra premium : or principal + vert olive secondaire,
 * blanc cassé / beige pierre, typographies impactantes, sections aérées,
 * animations légères au scroll, photos avant / après, avis clients.
 *
 * Le formulaire 5 étapes utilise les classes & comportement du devis
 * (.progress-bar / .step / .choice-card / .btn-next / etc.) — devis.css
 * est chargé en plus de ce fichier sur la landing.
 *
 * @package N-terre
 */

/* ══════════════════════════════════════
   TOKENS LANDING (scopés)
══════════════════════════════════════ */
.landing-page {
  --color-olive:        #5C6B4F;
  --color-olive-dark:   #455239;
  --color-olive-light:  #8FA178;
  --color-olive-soft:   rgba(92, 107, 79, 0.08);
  --color-stone:        #EFECE5;
  --color-stone-deep:   #E5E0D5;
  --shadow-elev-1: 0 4px 18px rgba(0, 0, 0, 0.05);
  --shadow-elev-2: 0 10px 32px rgba(0, 0, 0, 0.07);
  --shadow-elev-3: 0 18px 56px rgba(0, 0, 0, 0.08);
}

/* Cacher le header / footer site */
.landing-page .navbar,
.landing-page .footer,
.landing-page .mobile-menu,
.landing-page .mobile-menu__backdrop { display: none !important; }

/* Smooth scroll global */
.landing-page { scroll-behavior: smooth; }

/* Empeche le scroll horizontal pendant les animations latérales (translateX)
   tout en preservant le sticky positioning des elements internes (overflow-x: clip). */
.landing-page,
.landing-page #main-content {
  overflow-x: hidden;
  overflow-x: clip;
}

/* ══════════════════════════════════════
   LAYOUT
══════════════════════════════════════ */
.lp-container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 1.25rem;
}
@media (min-width: 768px)  { .lp-container { padding-inline: 2rem; } }
@media (min-width: 1024px) { .lp-container { padding-inline: 3rem; } }

/* ══════════════════════════════════════
   EYEBROW (libellé de section premium)
══════════════════════════════════════ */
.lp-eyebrow {
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--color-gold);
  display: inline-flex; align-items: center; gap: 0.6rem;
  margin-bottom: 1rem;
}
.lp-eyebrow::before {
  content: ''; width: 28px; height: 1px; background: currentColor;
}
.lp-eyebrow--center {
  display: flex; justify-content: center;
  margin-left: auto; margin-right: auto;
}
.lp-eyebrow--olive { color: var(--color-olive); }
.lp-eyebrow--gold-on-dark { color: var(--color-gold-light); }

/* STARS (composant réutilisable) */
.lp-stars {
  display: inline-flex; align-items: center; gap: 1px;
  color: #f5b400;
}
.lp-stars svg { color: #f5b400; }

/* ════════════ HEADER STICKY ═════ */
.lp-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(247, 245, 240, 0.05);
  backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: border-color 0.4s, background 0.4s, backdrop-filter 0.4s, box-shadow 0.4s;
}
.lp-header.scrolled {
  background: rgba(247, 245, 240, 0.38);
  backdrop-filter: blur(24px) saturate(160%); -webkit-backdrop-filter: blur(24px) saturate(160%);
  border-bottom-color: rgba(0, 0, 0, 0.05);
  box-shadow: 0 2px 24px rgba(0,0,0,0.03);
}

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

.lp-header__logo {
  display: flex; align-items: center; gap: 0.55rem;
  font-family: var(--font-display); font-size: 1.5rem; font-weight: 700;
  color: var(--color-text); text-decoration: none;
  letter-spacing: -0.005em;
  white-space: nowrap;
  flex-shrink: 1;
  min-width: 0;
}
.lp-header__logo img { border-radius: 4px; flex-shrink: 0; }
.lp-gold { color: var(--color-gold); }

.lp-header__cta {
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: var(--color-gold); color: #fff;
  font-size: 0.82rem; font-weight: 600; letter-spacing: 0.03em;
  padding: 0.62rem 1.15rem; border-radius: var(--radius-sm);
  text-decoration: none; transition: all 0.25s var(--ease-out);
  white-space: nowrap;
  flex-shrink: 0;
}
.lp-header__cta:hover { background: var(--color-gold-dark); transform: translateY(-1px); }

.lp-header__actions {
  display: flex; align-items: center; gap: 0.5rem;
  flex-shrink: 0;
}
.lp-header__whatsapp {
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: #25D366; color: #fff;
  font-size: 0.82rem; font-weight: 700; letter-spacing: 0.02em;
  padding: 0.62rem 1rem; border-radius: var(--radius-sm);
  text-decoration: none; transition: all 0.25s var(--ease-out);
  box-shadow: 0 2px 12px rgba(37,211,102,0.35);
  white-space: nowrap;
  flex-shrink: 0;
}
.lp-header__whatsapp:hover { background: #1ebe5d; transform: translateY(-1px); box-shadow: 0 4px 18px rgba(37,211,102,0.45); }

/* Tablette : on cache le label "WhatsApp" */
@media (max-width: 720px) {
  .lp-header__whatsapp span { display: none; }
  .lp-header__whatsapp { padding: 0.55rem 0.7rem; }
}

/* "Devis gratuit" → "Devis" sur mobile (libère de l'espace pour le logo) */
@media (max-width: 480px) {
  .lp-header__cta-extra { display: none; }
}

/* Mobile : on resserre boutons + logo pour que "N-Terre Rénovation" tienne sur une ligne */
@media (max-width: 480px) {
  .lp-header .lp-container { height: 60px; gap: 0.5rem; }
  .lp-header__logo { font-size: 0.95rem; gap: 0.4rem; }
  .lp-header__logo img { width: 26px; height: 26px; }
  .lp-header__cta {
    font-size: 0.7rem;
    padding: 0.5rem 0.75rem;
    gap: 0.3rem;
    line-height: 1.15;
  }
  .lp-header__cta svg { width: 12px; height: 12px; }
  .lp-header__whatsapp { padding: 0.5rem 0.6rem; }
  .lp-header__whatsapp svg { width: 16px; height: 16px; }
  .lp-header__actions { gap: 0.4rem; }
}

/* Très petits écrans : le bouton devis tient sur 2 mots empilés au besoin */
@media (max-width: 360px) {
  .lp-header__logo { font-size: 0.9rem; }
  .lp-header__cta { padding: 0.45rem 0.65rem; font-size: 0.66rem; }
}

/* ══════════════════════════════════════
   BOUTONS RÉUTILISABLES
══════════════════════════════════════ */
.lp-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 1rem 1.6rem;
  font-family: var(--font-body); font-size: 0.95rem; font-weight: 700;
  letter-spacing: 0.03em; border-radius: var(--radius-md);
  text-decoration: none; cursor: pointer; border: none;
  transition: all 0.3s var(--ease-out);
  position: relative;
  overflow: hidden;
}
.lp-btn--gold { background: var(--color-gold); color: #fff; }
.lp-btn--gold:hover {
  background: var(--color-gold-dark); transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(176,136,64,0.32);
}
.lp-btn--gold svg { transition: transform 0.3s var(--ease-out); }
.lp-btn--gold:hover svg { transform: translateX(3px); }

.lp-btn--whatsapp { background: #25D366; color: #fff; }
.lp-btn--whatsapp:hover {
  background: #1ebe5d; transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(37,211,102,0.35);
}
.lp-btn--whatsapp-on-dark { box-shadow: 0 4px 18px rgba(37,211,102,0.4); }

.lp-btn--phone {background: rgba(255, 255, 255, 0.1); backdrop-filter: blur(10px); border: 2px solid #5C6B4F; color: black;}

.lp-btn--phone:hover {
  background: rgba(92, 107, 79, 0.15);
  backdrop-filter: blur(10px);
  border: 2px solid #5C6B4F;
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(92, 107, 79, 0.25);
}

.lp-btn--phone-on-dark {box-shadow: 0 4px 18px rgba(92, 107, 79, 0.3);}
/* ══════════════════════════════════════
   HERO PREMIUM — fullscreen feel, large headlines
══════════════════════════════════════ */
.lp-hero {
  padding-top: calc(68px + 4rem);
  padding-bottom: 5rem;
  background:
    radial-gradient(ellipse at 78% 10%, rgba(176,136,64,0.10) 0%, transparent 55%),
    radial-gradient(ellipse at 12% 92%, rgba(92,107,79,0.09) 0%, transparent 55%),
    var(--color-bg);
  position: relative;
  overflow: hidden;
}
.lp-hero::before,
.lp-hero::after {
  content: ''; position: absolute; pointer-events: none; z-index: 0;
}
.lp-hero::before {
  top: -20%; right: -10%; width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(200,169,110,0.08) 0%, transparent 60%);
  filter: blur(40px);
}
.lp-hero::after {
  bottom: -30%; left: -10%; width: 540px; height: 540px;
  background: radial-gradient(circle, rgba(92,107,79,0.06) 0%, transparent 60%);
  filter: blur(40px);
}
@media (min-width: 768px) { .lp-hero { padding-top: calc(68px + 1.5rem); padding-bottom: 7rem; } }

/* Slideshow background : 15 photos après-travaux qui se suivent en cross-fade
   avec un effet Ken Burns (zoom arrière progressif pendant l'affichage). */
.lp-hero__bg {
  position: absolute; inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.lp-hero-bg__slide {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.6s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}
.lp-hero-bg__slide.is-active {
  opacity: 1;
  animation: lp-bg-kenburns 6.5s ease-out forwards;
}
@keyframes lp-bg-kenburns {
  from { transform: scale(1.14); }
  to   { transform: scale(1); }
}
@media (prefers-reduced-motion: reduce) {
  .lp-hero-bg__slide.is-active { animation: none; }
}

/* Overlay cream très allégé : photos clairement visibles, texte reste lisible */
.lp-hero__overlay {
  position: absolute; inset: 0;
  z-index: 1;
  background:
    linear-gradient(135deg, rgba(247,245,240,0.62) 0%, rgba(247,245,240,0.45) 40%, rgba(247,245,240,0.70) 100%);
  pointer-events: none;
}

.lp-hero__grid {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1fr;
  gap: 3rem; align-items: start;
}
@media (min-width: 960px) {
  .lp-hero__grid { grid-template-columns: 1.15fr 0.85fr; gap: 4.5rem; }
}

/* Trust badge (3 mentions) */
.lp-trust-badge {
  display: inline-flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 0.85rem;
  background: rgba(255,255,255,0.7);
  border: 1px solid rgba(176,136,64,0.18);
  border-radius: 99px;
  padding: 0.6rem 1.15rem;
  font-size: 0.78rem; font-weight: 600; color: var(--color-text);
  margin-bottom: 1.75rem;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 2px 14px rgba(0,0,0,0.04);
}
.lp-trust-badge > span:not(.lp-trust-badge__sep) {
  display: inline-flex; align-items: center; gap: 0.4rem;
}
.lp-trust-badge svg { color: var(--color-gold); flex-shrink: 0; }
.lp-trust-badge__sep {
  width: 4px; height: 4px;
  background: var(--color-gold); border-radius: 50%; opacity: 0.4;
}

.lp-hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 5vw, 3.6rem);
  font-weight: 700; line-height: 1.08;
  color: var(--color-text); margin-bottom: 1.2rem;
  letter-spacing: -0.02em;
  text-shadow: 0 1px 14px rgba(255, 255, 255, 0.45);
}
.lp-hero__title em {
  font-style: italic; color: var(--color-gold);
  font-weight: 600;
}
.lp-hero__br { display: none; }
@media (min-width: 1100px) { .lp-hero__br { display: inline; } }

.lp-hero__subtitle {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  font-style: italic; color: var(--color-olive);
  font-weight: 500; line-height: 1.4;
  margin-bottom: 2rem;
  max-width: 560px;
  position: relative;
  padding-left: 1.1rem;
}
.lp-hero__subtitle::before {
  content: ''; position: absolute;
  left: 0; top: 0.4em; bottom: 0.4em;
  width: 3px; background: var(--color-olive);
  border-radius: 2px;
}

.lp-hero__intro {
  font-size: 0.95rem; font-weight: 700;
  color: var(--color-text);
  text-transform: uppercase; letter-spacing: 0.06em;
  margin-bottom: 0.9rem;
}

.lp-hero__pains {
  display: grid; grid-template-columns: 1fr;
  gap: 0.6rem;
  margin-bottom: 2rem;
  list-style: none; padding: 0;
}
@media (min-width: 480px) { .lp-hero__pains { grid-template-columns: 1fr 1fr; column-gap: 1.5rem; } }

.lp-hero__pains li {
  display: flex; align-items: center; gap: 0.6rem;
  font-size: 0.93rem; color: var(--color-text-muted);
  line-height: 1.4;
}
.lp-hero__pains li svg {
  flex-shrink: 0;
  width: 18px; height: 18px;
  padding: 3px;
  background: rgba(217,64,64,0.10);
  border-radius: 50%;
  color: #c93a3a;
  box-sizing: border-box;
}

.lp-hero__desc {
  font-size: 1rem; color: var(--color-text-muted);
  line-height: 1.8; max-width: 580px;
}
.lp-hero__desc strong { color: var(--color-text); font-weight: 700; }
.lp-hero__desc em { font-style: italic; color: var(--color-olive); font-weight: 500; }

/* Carte CTA droite */
.lp-hero__cta-card { position: relative; }
@media (min-width: 960px) { .lp-hero__cta-card { position: sticky; top: 96px; } }

.lp-hero__cta-card__inner {
  background: #e6e2d97d;
  border: 1px solid var(--color-border-faint);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  box-shadow:
    var(--shadow-elev-3),
    0 0 0 1px rgba(176,136,64,0.08),
    inset 0 1px 0 rgba(255,255,255,0.85);
  position: relative;
  overflow: hidden;
}
.lp-hero__cta-card__inner::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--color-gold) 0%, var(--color-olive) 100%);
}
.lp-hero__cta-card .lp-eyebrow { margin-bottom: 0.6rem; }

.lp-hero__cta-card__title {
  font-family: var(--font-display);
  font-size: 1.55rem; font-weight: 700; color: var(--color-text);
  line-height: 1.2;
  margin-bottom: 1.4rem;
  letter-spacing: -0.005em;
}
.lp-hero__cta-card__checks {
  display: flex; flex-direction: column; gap: 0.75rem;
  padding-bottom: 1.4rem;
  border-bottom: 1px solid var(--color-border-faint);
  margin-bottom: 1.4rem;
  list-style: none; padding-left: 0;
}
.lp-hero__cta-card__checks li {
  display: flex; align-items: center; gap: 0.65rem;
  font-size: 0.92rem; font-weight: 500; color: var(--color-text);
}
.lp-hero__cta-card__checks svg { flex-shrink: 0; color: var(--color-olive); }

.lp-hero__cta-card__buttons {
  display: flex; flex-direction: column; gap: 0.65rem;
  margin-bottom: 1.25rem;
}
.lp-hero__cta-card__buttons .lp-btn { width: 100%; padding: 0.95rem 1.25rem; }

.lp-hero__cta-card__rating {
  display: flex; flex-direction: column; align-items: center;
  gap: 0.35rem;
  text-align: center;
}
.lp-hero__cta-card__rating-text {
  font-size: 0.8rem; color: var(--color-text-muted);
}
.lp-hero__cta-card__rating-text strong { color: var(--color-text); font-weight: 700; }

/* ══════════════════════════════════════
   SECTION TITLES (partagés)
══════════════════════════════════════ */
.lp-section-title {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4vw, 2.85rem);
  font-weight: 700; color: var(--color-text);
  text-align: center; line-height: 1.15;
  margin-bottom: 0.75rem;
  letter-spacing: -0.015em;
}
.lp-section-title em {
  font-style: italic; color: var(--color-gold);
  font-weight: 600;
}
.lp-section-title--small { font-size: clamp(1.4rem, 2.8vw, 1.85rem); }

.lp-section-sub {
  text-align: center; font-size: 1.02rem; color: var(--color-text-muted);
  max-width: 640px; margin: 0 auto 3.5rem; line-height: 1.7;
}

/* ══════════════════════════════════════
   BADGES TRUST (4 stamps après hero)
══════════════════════════════════════ */
.lp-badges {
  padding: 3.5rem 0;
  background: var(--color-bg);
  border-top: 1px solid var(--color-border-faint);
  border-bottom: 1px solid var(--color-border-faint);
}
.lp-badges__grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
@media (min-width: 720px) { .lp-badges__grid { grid-template-columns: repeat(4, 1fr); gap: 1.25rem; } }

.lp-badge-card {
  display: flex; align-items: center; gap: 0.85rem;
  padding: 1.1rem 1.25rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border-faint);
  border-radius: var(--radius-md);
  transition: all 0.3s var(--ease-out);
  position: relative;
  overflow: hidden;
}
.lp-badge-card::before {
  content: '';
  position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: linear-gradient(180deg, var(--color-gold) 0%, var(--color-olive) 100%);
  transform: scaleY(0); transform-origin: top;
  transition: transform 0.4s var(--ease-out);
}
.lp-badge-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-elev-2);
  border-color: rgba(176,136,64,0.22);
}
.lp-badge-card:hover::before { transform: scaleY(1); }

.lp-badge-card__icon {
  flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  background: linear-gradient(135deg, rgba(176,136,64,0.14) 0%, rgba(92,107,79,0.10) 100%);
  border-radius: 12px;
  color: var(--color-gold);
}
.lp-badge-card__label {
  font-family: var(--font-display); font-size: 0.95rem; font-weight: 700;
  color: var(--color-text); line-height: 1.25;
  margin-bottom: 0.15rem;
}
.lp-badge-card__sub {
  font-size: 0.78rem; color: var(--color-text-faint);
  line-height: 1.35;
}

/* Pill récap (déplacé du hero) au pied de la section badges */
.lp-badges__pill {
  display: flex; justify-content: center;
  margin-top: 2.5rem;
}
.lp-badges__pill .lp-trust-badge {
  margin-bottom: 0;
}

/* ══════════════════════════════════════
   PROBLÈMES DU MARCHÉ
══════════════════════════════════════ */
.lp-problems {
  padding: 6rem 0;
  background-color: var(--color-bg-alt);
  background-image: url('../photos/Renovation-maison-ancienne.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  position: relative;
  isolation: isolate;
}
.lp-problems::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(239,236,229,0.74) 0%, rgba(239,236,229,0.58) 50%, rgba(239,236,229,0.78) 100%);
  z-index: -1;
}
/* L'effet parallax (background-attachment: fixed) est conserve sur mobile pour un rendu coherent */

.lp-problems > .lp-container { position: relative; }

.lp-problems__grid {
  display: grid; grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 640px)  { .lp-problems__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .lp-problems__grid { grid-template-columns: repeat(3, 1fr); } }

.lp-problem-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border-faint);
  border-radius: var(--radius-lg);
  padding: 2rem 1.6rem;
  transition: all 0.35s var(--ease-out);
  position: relative;
}
.lp-problem-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-elev-2);
  border-color: rgba(217,64,64,0.18);
}
.lp-problem-card__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px;
  background: rgba(217,64,64,0.08);
  border-radius: 12px;
  color: #c93a3a;
  margin-bottom: 1.1rem;
}
.lp-problem-card h3 {
  font-family: var(--font-display); font-size: 1.12rem; font-weight: 700;
  color: var(--color-text); line-height: 1.3;
  margin-bottom: 0.55rem;
}
.lp-problem-card p {
  font-size: 0.92rem; color: var(--color-text-muted);
  line-height: 1.65;
}

/* ══════════════════════════════════════
   SOLUTION + DIFFÉRENCE
══════════════════════════════════════ */
.lp-solution {
  padding: 6rem 0;
  background: var(--color-bg);
  position: relative;
}

.lp-solution__list {
  display: grid; grid-template-columns: 1fr;
  gap: 0.85rem;
  max-width: 800px; margin: 0 auto 4rem;
}
@media (min-width: 600px) { .lp-solution__list { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .lp-solution__list { grid-template-columns: 1fr 1fr 1fr; } }

.lp-solution__item {
  display: flex; align-items: center; gap: 0.85rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border-faint);
  border-radius: var(--radius-md);
  padding: 1rem 1.15rem;
  font-size: 0.95rem; font-weight: 600; color: var(--color-text);
  line-height: 1.4;
  transition: all 0.3s var(--ease-out);
}
.lp-solution__item:hover {
  border-color: var(--color-olive);
  background: var(--color-olive-soft);
  transform: translateX(3px);
}

.lp-solution__check {
  flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  width: 26px; height: 26px;
  background: var(--color-olive);
  color: #fff;
  border-radius: 50%;
}

.lp-solution__divider {
  width: 80px; height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--color-olive) 50%, transparent 100%);
  margin: 0 auto 2.75rem;
}

.lp-solution__sub-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  font-weight: 700; color: var(--color-text);
  text-align: center;
  margin-bottom: 2.25rem;
  letter-spacing: -0.005em;
}
.lp-solution__sub-title em {
  font-style: italic; color: var(--color-olive); font-weight: 600;
}

.lp-difference__grid {
  display: grid; grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 640px)  { .lp-difference__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .lp-difference__grid { grid-template-columns: repeat(4, 1fr); } }

.lp-diff-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border-faint);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  text-align: left;
  transition: all 0.35s var(--ease-out);
  position: relative;
  overflow: hidden;
}
.lp-diff-card::before {
  content: '';
  position: absolute; top: 0; left: 0; bottom: 0; width: 3px;
  background: linear-gradient(180deg, var(--color-gold) 0%, var(--color-olive) 100%);
  opacity: 0; transition: opacity 0.35s;
}
.lp-diff-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-elev-2);
  border-color: rgba(176,136,64,0.2);
}
.lp-diff-card:hover::before { opacity: 1; }

.lp-diff-card__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 50px; height: 50px;
  background: linear-gradient(135deg, rgba(176,136,64,0.13) 0%, rgba(92,107,79,0.10) 100%);
  border-radius: 12px;
  color: var(--color-gold);
  margin-bottom: 1.1rem;
}
.lp-diff-card h4 {
  font-family: var(--font-display); font-size: 1.08rem; font-weight: 700;
  color: var(--color-text); line-height: 1.3;
  margin-bottom: 0.55rem;
}
.lp-diff-card p {
  font-size: 0.9rem; color: var(--color-text-muted);
  line-height: 1.65;
}

/* ══════════════════════════════════════
   PROJETS / RÉALISATIONS
══════════════════════════════════════ */
.lp-projects {
  padding: 6rem 0;
  background-color: var(--color-bg-alt);
  background-image: url('../photos/service-optimisation.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  position: relative;
  isolation: isolate;
}
.lp-projects::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(239,236,229,0.72) 0%, rgba(239,236,229,0.55) 50%, rgba(239,236,229,0.78) 100%);
  z-index: -1;
}
/* L'effet parallax est applique a tous les viewports, mobile inclus */
.lp-projects > .lp-container { position: relative; }

.lp-projects__grid {
  display: grid; grid-template-columns: 1fr; gap: 1.75rem;
}
@media (min-width: 700px) { .lp-projects__grid { grid-template-columns: repeat(3, 1fr); } }

.lp-project-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--color-border-faint);
  transition: all 0.35s var(--ease-out);
}
.lp-project-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-elev-3);
}
.lp-project-card__img {
  display: block;
  height: 240px; overflow: hidden;
}
.lp-project-card__img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease-out);
}
.lp-project-card:hover .lp-project-card__img img { transform: scale(1.05); }

/* Suspension dans l'air : oscillation verticale légère, désynchronisée par carte */
.lp-project-card__body {
  padding: 1.5rem 1.65rem 1.75rem;
  animation: lp-float 5s ease-in-out infinite;
  will-change: transform;
}
.lp-projects__grid > .lp-project-card:nth-child(1) .lp-project-card__body {
  animation-duration: 4.6s;
  animation-delay: 0s;
}
.lp-projects__grid > .lp-project-card:nth-child(2) .lp-project-card__body {
  animation-duration: 5.4s;
  animation-delay: -1.2s;
}
.lp-projects__grid > .lp-project-card:nth-child(3) .lp-project-card__body {
  animation-duration: 5s;
  animation-delay: -2.4s;
}
@keyframes lp-float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}
@media (prefers-reduced-motion: reduce) {
  .lp-project-card__body { animation: none; }
}
.lp-project-card h3 {
  font-family: var(--font-display); font-size: 1.15rem; font-weight: 700;
  color: var(--color-text); margin-bottom: 0.55rem;
  line-height: 1.3;
}
.lp-project-card h3 a { color: inherit; text-decoration: none; transition: color 0.2s; }
.lp-project-card h3 a:hover { color: var(--color-gold); }
.lp-project-card__meta {
  display: flex; flex-wrap: wrap; gap: 0.25rem 0.85rem;
  font-size: 0.78rem; color: var(--color-text-faint); margin-bottom: 0.85rem;
}
.lp-project-card__meta span { white-space: nowrap; }
.lp-project-card__desc {
  font-size: 0.92rem; color: var(--color-text-muted); line-height: 1.65;
  margin-bottom: 1.1rem;
}
.lp-project-card__link {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 0.85rem; font-weight: 700; color: var(--color-gold);
  text-decoration: none;
  transition: gap 0.3s var(--ease-out);
}
.lp-project-card__link:hover { gap: 0.7rem; }

/* ══════════════════════════════════════
   AVANT / APRÈS PREMIUM
══════════════════════════════════════ */
.lp-beforeafter {
  padding: 6rem 0;
  background: var(--color-bg);
  position: relative;
}

.lp-beforeafter__grid {
  display: grid; grid-template-columns: 1fr; gap: 2rem;
}
@media (min-width: 720px)  { .lp-beforeafter__grid { grid-template-columns: repeat(2, 1fr); } }

.lp-ba-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border-faint);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.35s var(--ease-out);
}
.lp-ba-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-elev-3);
}

.lp-ba-card__pair {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: var(--color-border-faint);
}
.lp-ba-card__media {
  position: relative;
  margin: 0;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--color-bg-alt);
}
.lp-ba-card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease-out);
}
.lp-ba-card:hover .lp-ba-card__media img { transform: scale(1.04); }

.lp-ba-card__tag {
  position: absolute; top: 0.85rem; left: 0.85rem;
  font-size: 0.66rem; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.35rem 0.7rem;
  border-radius: 99px;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.lp-ba-card__tag--before {
  background: rgba(28, 31, 42, 0.85); color: #fff;
}
.lp-ba-card__tag--after {
  background: rgba(176, 136, 64, 0.95); color: #fff;
}

.lp-ba-card__body {
  padding: 1.4rem 1.5rem 1.5rem;
}
.lp-ba-card__body h3 {
  font-family: var(--font-display); font-size: 1.1rem; font-weight: 700;
  color: var(--color-text); margin-bottom: 0.45rem; line-height: 1.3;
}
.lp-ba-card__body p {
  font-size: 0.88rem; color: var(--color-text-muted); line-height: 1.6;
}

/* ══════════════════════════════════════
   PROCESS / MÉTHODE
══════════════════════════════════════ */
.lp-method {
  padding: 6rem 0;
  background: var(--color-bg-alt);
}
.lp-method__grid {
  display: grid; grid-template-columns: 1fr; gap: 1.5rem;
  max-width: 1100px; margin: 0 auto;
}
@media (min-width: 640px) { .lp-method__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .lp-method__grid { grid-template-columns: repeat(4, 1fr); } }

.lp-method__step {
  background: var(--color-surface);
  border: 1px solid var(--color-border-faint);
  border-radius: var(--radius-lg);
  padding: 2.25rem 1.5rem 1.85rem; text-align: center;
  position: relative;
  transition: all 0.35s var(--ease-out);
}
.lp-method__step:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-elev-2);
}
.lp-method__num {
  width: 48px; height: 48px; margin: 0 auto 1.1rem;
  display: grid; place-items: center;
  background: var(--color-olive-soft);
  border: 1px solid rgba(92,107,79,0.2);
  color: var(--color-olive);
  font-family: var(--font-display); font-size: 1.2rem; font-weight: 700;
  border-radius: 50%;
  position: relative;
}
.lp-method__num::after {
  content: ''; position: absolute; inset: -6px;
  border: 1px dashed rgba(92,107,79,0.18);
  border-radius: 50%;
}
.lp-method__step h3 {
  font-family: var(--font-display); font-size: 1.08rem; font-weight: 700;
  color: var(--color-text); margin-bottom: 0.55rem;
  line-height: 1.3;
}
.lp-method__step p {
  font-size: 0.9rem; color: var(--color-text-muted); line-height: 1.65;
}

/* ══════════════════════════════════════
   FORMULAIRE 5 ÉTAPES — SHELL D'ACCUEIL
   (le contenu utilise les classes du devis)
══════════════════════════════════════ */
.lp-form-section {
  padding: 6rem 0;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(176,136,64,0.08) 0%, transparent 50%),
    var(--color-bg);
  scroll-margin-top: 80px;
  position: relative;
}

.lp-form-shell {
  max-width: 880px; margin: 0 auto;
  background: var(--color-surface);
  border: 1px solid var(--color-border-faint);
  border-radius: var(--radius-lg);
  box-shadow:
    var(--shadow-elev-3),
    0 0 0 1px rgba(176,136,64,0.06);
  position: relative;
  overflow: hidden;
}
.lp-form-shell::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--color-gold) 0%, var(--color-olive) 100%);
  z-index: 2;
}

/* Padding interne du form-area dans le shell — override du padding devis
   pour que le rendu reste cohérent dans le contexte landing */
.lp-form-shell .progress-bar { padding: 2rem 1.5rem 0; }
.lp-form-shell .form-area    { padding: 2rem 1.5rem 2rem; }
@media (min-width: 768px) {
  .lp-form-shell .progress-bar { padding: 2.25rem 2.5rem 0; }
  .lp-form-shell .form-area    { padding: 2.5rem 2.5rem 2.5rem; }
}

/* Petit titre de bloc (remplace les <p style="..."> inline du devis) */
.lp-form-block-label {
  font-size: 0.78rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--color-text-muted);
  margin-bottom: 0.85rem;
}

/* Léger override esthétique des choice-cards pour alignement landing */
.lp-form-shell .choice-card {
  border-radius: var(--radius-md);
  transition: border-color 0.25s, background 0.25s, transform 0.25s var(--ease-out), box-shadow 0.25s;
}
.lp-form-shell .choice-card.selected {
  box-shadow: 0 0 0 3px rgba(176,136,64,0.12);
}

/* ══════════════════════════════════════
   PREUVES & RASSURANCE
══════════════════════════════════════ */
.lp-proofs {
  padding: 6rem 0;
  background: var(--color-bg-alt);
}
.lp-proofs__grid {
  display: grid; grid-template-columns: 1fr; gap: 1rem;
  max-width: 940px; margin: 0 auto;
}
@media (min-width: 640px) { .lp-proofs__grid { grid-template-columns: 1fr 1fr; } }

.lp-proof {
  display: flex; align-items: flex-start; gap: 0.95rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border-faint);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.4rem;
  transition: all 0.3s var(--ease-out);
}
.lp-proof:hover {
  border-color: rgba(92,107,79,0.28);
  box-shadow: var(--shadow-elev-1);
  transform: translateX(3px);
}
.lp-proof__check {
  flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px;
  background: var(--color-olive);
  color: #fff;
  border-radius: 50%;
  margin-top: 2px;
}
.lp-proof h3 {
  font-family: var(--font-display); font-size: 1.05rem; font-weight: 700;
  color: var(--color-text); margin-bottom: 0.3rem;
  line-height: 1.3;
}
.lp-proof p {
  font-size: 0.9rem; color: var(--color-text-muted); line-height: 1.55;
}

/* ══════════════════════════════════════
   AVIS CLIENTS (Google-style)
══════════════════════════════════════ */
.lp-reviews {
  padding: 6rem 0;
  background: var(--color-bg);
  position: relative;
}

.lp-reviews__rating {
  display: flex; flex-direction: column; align-items: center;
  gap: 0.6rem;
  margin-bottom: 3rem;
}
.lp-reviews__google {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px;
  background: var(--color-surface);
  border: 1px solid var(--color-border-faint);
  border-radius: 12px;
  box-shadow: var(--shadow-elev-1);
}
.lp-reviews__rating-text {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-size: 0.95rem; color: var(--color-text-muted);
}
.lp-reviews__rating-text strong {
  font-family: var(--font-display); font-size: 1.6rem;
  color: var(--color-text); font-weight: 700; line-height: 1;
}
.lp-reviews__rating-text em {
  font-style: italic; color: var(--color-text-faint); font-size: 0.85rem;
}

.lp-reviews__grid {
  display: grid; grid-template-columns: 1fr; gap: 1.5rem;
}
@media (min-width: 720px) { .lp-reviews__grid { grid-template-columns: repeat(3, 1fr); } }

.lp-review-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border-faint);
  border-radius: var(--radius-lg);
  padding: 1.85rem 1.65rem;
  display: flex; flex-direction: column; gap: 1rem;
  transition: all 0.35s var(--ease-out);
  position: relative;
}
.lp-review-card::before {
  content: '"'; position: absolute;
  top: -10px; right: 1.25rem;
  font-family: var(--font-display); font-size: 4.5rem;
  color: var(--color-gold); opacity: 0.18;
  line-height: 1; pointer-events: none;
}
.lp-review-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-elev-2);
  border-color: rgba(176,136,64,0.18);
}

.lp-review-card blockquote {
  font-size: 0.93rem; color: var(--color-text); line-height: 1.7;
  font-style: italic; margin: 0;
  flex: 1;
}
.lp-review-card footer {
  display: flex; align-items: center; gap: 0.75rem;
  margin-top: 0.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--color-border-faint);
}
.lp-review-card__avatar {
  flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px;
  background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-olive) 100%);
  color: #fff;
  border-radius: 50%;
  font-family: var(--font-display); font-size: 0.85rem; font-weight: 700;
  letter-spacing: 0.05em;
}
.lp-review-card footer strong {
  display: block;
  font-family: var(--font-display); font-size: 0.95rem; font-weight: 700;
  color: var(--color-text); line-height: 1.2;
}
.lp-review-card footer em {
  font-style: normal; font-size: 0.78rem;
  color: var(--color-text-faint);
}

/* ══════════════════════════════════════
   CTA FINAL — premium dark
══════════════════════════════════════ */
.lp-cta-final {
  padding: 6rem 0;
  background: linear-gradient(135deg, #1C1F2A 0%, #252834 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.lp-cta-final::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(255,255,255,0.06) 1px, transparent 0);
  background-size: 28px 28px;
  pointer-events: none;
  opacity: 0.4;
  z-index: 1;
}

/* Blobs colorés animés : trainent dans tous les sens en background */
.lp-cta-final__blobs {
  position: absolute; inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.lp-cta-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  pointer-events: none;
  will-change: transform;
}
.lp-cta-blob--gold-1 {
  width: 460px; height: 460px;
  background: rgba(176, 136, 64, 0.55);
  top: -10%; left: -5%;
  animation: lp-blob-a 22s ease-in-out infinite alternate;
}
.lp-cta-blob--olive-1 {
  width: 420px; height: 420px;
  background: rgba(92, 107, 79, 0.55);
  top: 40%; left: 55%;
  animation: lp-blob-b 28s ease-in-out infinite alternate;
}
.lp-cta-blob--gold-2 {
  width: 360px; height: 360px;
  background: rgba(200, 169, 110, 0.45);
  top: 65%; left: 10%;
  animation: lp-blob-c 25s ease-in-out infinite alternate;
}
.lp-cta-blob--olive-2 {
  width: 400px; height: 400px;
  background: rgba(143, 161, 120, 0.45);
  top: -15%; left: 60%;
  animation: lp-blob-d 30s ease-in-out infinite alternate;
}
.lp-cta-blob--cream {
  width: 320px; height: 320px;
  background: rgba(247, 245, 240, 0.10);
  top: 30%; left: 30%;
  animation: lp-blob-e 35s ease-in-out infinite alternate;
}

@keyframes lp-blob-a {
  0%   { transform: translate(0, 0)        scale(1);    }
  25%  { transform: translate(40%, 30%)    scale(1.2);  }
  50%  { transform: translate(-30%, 60%)   scale(0.85); }
  75%  { transform: translate(60%, -20%)   scale(1.1);  }
  100% { transform: translate(20%, 40%)    scale(0.95); }
}
@keyframes lp-blob-b {
  0%   { transform: translate(0, 0)        scale(1);    }
  20%  { transform: translate(-50%, -30%)  scale(1.15); }
  45%  { transform: translate(30%, 40%)    scale(0.9);  }
  70%  { transform: translate(-40%, 20%)   scale(1.25); }
  100% { transform: translate(20%, -40%)   scale(1);    }
}
@keyframes lp-blob-c {
  0%   { transform: translate(0, 0)        scale(1);    }
  30%  { transform: translate(60%, -40%)   scale(1.3);  }
  55%  { transform: translate(-30%, -20%)  scale(0.85); }
  80%  { transform: translate(40%, 30%)    scale(1.15); }
  100% { transform: translate(-20%, 50%)   scale(0.95); }
}
@keyframes lp-blob-d {
  0%   { transform: translate(0, 0)        scale(1);    }
  25%  { transform: translate(-40%, 50%)   scale(0.9);  }
  50%  { transform: translate(30%, 30%)    scale(1.2);  }
  75%  { transform: translate(-20%, -30%)  scale(1.1);  }
  100% { transform: translate(40%, 20%)    scale(0.95); }
}
@keyframes lp-blob-e {
  0%   { transform: translate(0, 0)        scale(1);    }
  33%  { transform: translate(-50%, -40%)  scale(1.4);  }
  66%  { transform: translate(50%, 50%)    scale(0.7);  }
  100% { transform: translate(-30%, 30%)   scale(1.15); }
}

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

.lp-cta-final__inner {
  text-align: center; max-width: 760px; margin: 0 auto;
  position: relative; z-index: 2;
}
.lp-cta-final h2 {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4.5vw, 2.85rem);
  font-weight: 700; color: #fff; margin-bottom: 1.1rem;
  line-height: 1.18;
  letter-spacing: -0.015em;
}
.lp-cta-final h2 em {
  font-style: italic; color: var(--color-gold-light);
  font-weight: 600;
}
.lp-cta-final p {
  font-size: 1.05rem; color: rgba(255,255,255,0.74);
  margin-bottom: 2.25rem; line-height: 1.7;
}
.lp-cta-final__buttons {
  display: flex; flex-wrap: wrap; gap: 0.85rem; justify-content: center;
}
.lp-cta-final__buttons .lp-btn { padding: 1.05rem 2rem; font-size: 1rem; }
@media (max-width: 479px) {
  .lp-cta-final__buttons { flex-direction: column; }
  .lp-cta-final__buttons .lp-btn { width: 100%; }
}

/* ══════════════════════════════════════
   RÉSEAUX SOCIAUX
══════════════════════════════════════ */
.lp-social {
  padding: 5rem 0;
  background: var(--color-bg);
}
.lp-social__grid {
  display: grid; grid-template-columns: 1fr;
  gap: 1rem;
  max-width: 940px; margin: 0 auto;
}
@media (min-width: 640px) { .lp-social__grid { grid-template-columns: repeat(3, 1fr); } }

.lp-social-card {
  display: flex; align-items: center; gap: 0.95rem;
  padding: 1.2rem 1.4rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border-faint);
  border-radius: var(--radius-md);
  text-decoration: none;
  color: var(--color-text);
  transition: all 0.3s var(--ease-out);
}
.lp-social-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-elev-2);
  border-color: var(--color-gold);
}
.lp-social-card__icon {
  flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px;
  border-radius: 12px;
  color: #fff;
}
.lp-social-card--facebook  .lp-social-card__icon { background: #1877F2; }
.lp-social-card--instagram .lp-social-card__icon {
  background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}
.lp-social-card--whatsapp  .lp-social-card__icon { background: #25D366; }

.lp-social-card__text { flex: 1; display: flex; flex-direction: column; }
.lp-social-card__text strong {
  font-family: var(--font-display); font-size: 1rem; font-weight: 700;
  color: var(--color-text);
}
.lp-social-card__text em {
  font-style: normal; font-size: 0.82rem;
  color: var(--color-text-faint);
}
.lp-social-card__arrow {
  color: var(--color-text-faint);
  transition: transform 0.3s var(--ease-out), color 0.3s;
}
.lp-social-card:hover .lp-social-card__arrow {
  color: var(--color-gold);
  transform: translate(3px, -3px);
}

/* ══════════════════════════════════════
   FOOTER MINIMALISTE
══════════════════════════════════════ */
.lp-footer {
  background: var(--color-bg);
  border-top: 1px solid var(--color-border-faint);
  padding: 1.75rem 0;
}
.lp-footer__inner {
  display: flex; flex-wrap: wrap; align-items: center;
  justify-content: space-between; gap: 0.75rem;
  font-size: 0.78rem; color: var(--color-text-faint);
}
.lp-footer__inner a { color: var(--color-text-faint); transition: color 0.2s; text-decoration: none; }
.lp-footer__inner a:hover { color: var(--color-gold); }
.lp-footer__links { display: flex; flex-wrap: wrap; gap: 1.25rem; }

/* ══════════════════════════════════════
   ANIMATIONS / REVEAL ON SCROLL
══════════════════════════════════════ */
@media (prefers-reduced-motion: no-preference) {
  /* Fade-in initial du hero — entrée latérale (gauche / droite) */
  .lp-hero__content {
    opacity: 0;
    animation: lp-fromLeft 1s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  }
  .lp-hero__cta-card {
    opacity: 0;
    animation: lp-fromRight 1s cubic-bezier(0.22, 1, 0.36, 1) 0.18s forwards;
  }

  @keyframes lp-fromLeft {
    from { opacity: 0; transform: translateX(-28px); }
    to   { opacity: 1; transform: translateX(0); }
  }
  @keyframes lp-fromRight {
    from { opacity: 0; transform: translateX(28px); }
    to   { opacity: 1; transform: translateX(0); }
  }
  @keyframes lp-fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
  }

  /* Sur mobile (1 colonne) on reste sur du vertical pour éviter
     les overflows horizontaux liés aux translations latérales. */
  @media (max-width: 959px) {
    .lp-hero__content,
    .lp-hero__cta-card {
      animation-name: lp-fadeUp;
    }
  }

  /* Reveal on scroll — courbe éditoriale, motion subtile */
  .lp-reveal {
    opacity: 0;
    transform: translateY(18px);
    transition:
      opacity 0.95s cubic-bezier(0.22, 1, 0.36, 1),
      transform 0.95s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: opacity, transform;
  }
  .lp-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
    will-change: auto;
  }

  /* Variant doux : images / médias — fade + dézoom léger éditorial */
  .lp-reveal--img {
    opacity: 0;
    transform: scale(1.045);
    transition:
      opacity 1.1s cubic-bezier(0.22, 1, 0.36, 1),
      transform 1.3s cubic-bezier(0.22, 1, 0.36, 1);
  }
  .lp-reveal--img.is-visible { opacity: 1; transform: scale(1); }

  /* Variant minimal : seulement fade (pour titres/eyebrows discrets) */
  .lp-reveal--fade {
    opacity: 0;
    transform: none;
    transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1);
  }
  .lp-reveal--fade.is-visible { opacity: 1; }

  /* Variant horizontal : entrée par la gauche */
  .lp-reveal--left {
    opacity: 0;
    transform: translateX(-26px);
    transition:
      opacity 0.95s cubic-bezier(0.22, 1, 0.36, 1),
      transform 0.95s cubic-bezier(0.22, 1, 0.36, 1);
  }
  .lp-reveal--left.is-visible { opacity: 1; transform: translateX(0); }

  /* Variant horizontal : entrée par la droite */
  .lp-reveal--right {
    opacity: 0;
    transform: translateX(26px);
    transition:
      opacity 0.95s cubic-bezier(0.22, 1, 0.36, 1),
      transform 0.95s cubic-bezier(0.22, 1, 0.36, 1);
  }
  .lp-reveal--right.is-visible { opacity: 1; transform: translateX(0); }

  /* Stagger pour les enfants reveal d'une même grille */
  .lp-problems__grid .lp-reveal:nth-child(1)  { transition-delay: 0.05s; }
  .lp-problems__grid .lp-reveal:nth-child(2)  { transition-delay: 0.10s; }
  .lp-problems__grid .lp-reveal:nth-child(3)  { transition-delay: 0.15s; }
  .lp-problems__grid .lp-reveal:nth-child(4)  { transition-delay: 0.20s; }
  .lp-problems__grid .lp-reveal:nth-child(5)  { transition-delay: 0.25s; }
  .lp-difference__grid .lp-reveal:nth-child(1) { transition-delay: 0.05s; }
  .lp-difference__grid .lp-reveal:nth-child(2) { transition-delay: 0.12s; }
  .lp-difference__grid .lp-reveal:nth-child(3) { transition-delay: 0.20s; }
  .lp-difference__grid .lp-reveal:nth-child(4) { transition-delay: 0.28s; }
  .lp-method__grid .lp-reveal:nth-child(1) { transition-delay: 0.05s; }
  .lp-method__grid .lp-reveal:nth-child(2) { transition-delay: 0.12s; }
  .lp-method__grid .lp-reveal:nth-child(3) { transition-delay: 0.20s; }
  .lp-method__grid .lp-reveal:nth-child(4) { transition-delay: 0.28s; }
  .lp-badges__grid .lp-reveal:nth-child(1) { transition-delay: 0.05s; }
  .lp-badges__grid .lp-reveal:nth-child(2) { transition-delay: 0.12s; }
  .lp-badges__grid .lp-reveal:nth-child(3) { transition-delay: 0.20s; }
  .lp-badges__grid .lp-reveal:nth-child(4) { transition-delay: 0.28s; }
  .lp-reviews__grid .lp-reveal:nth-child(1) { transition-delay: 0.05s; }
  .lp-reviews__grid .lp-reveal:nth-child(2) { transition-delay: 0.15s; }
  .lp-reviews__grid .lp-reveal:nth-child(3) { transition-delay: 0.25s; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ══════════════════════════════════════
   RESPONSIVE FINETUNE
══════════════════════════════════════ */

/* Mobile / tablette : la carte CTA du hero se reduit aux 2 boutons.
   Le card visuel (fond, bordure, titre, eyebrow, checks, rating) est masque,
   seuls "Demander mon devis" + "Échanger sur WhatsApp" restent. */
@media (max-width: 959px) {
  .lp-hero__cta-card { position: static; }
  .lp-hero__cta-card__inner {
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
    overflow: visible;
  }
  .lp-hero__cta-card__inner::before { display: none; }
  .lp-hero__cta-card__inner > .lp-eyebrow,
  .lp-hero__cta-card__title,
  .lp-hero__cta-card__checks,
  .lp-hero__cta-card__rating { display: none; }
  .lp-hero__cta-card__buttons { margin-bottom: 0; }
}

@media (max-width: 479px) {
  .lp-hero { padding-top: calc(68px + 2rem); padding-bottom: 3rem; }
  .lp-hero__title { font-size: 2rem; }
  .lp-hero__subtitle { font-size: 1.05rem; }
  .lp-trust-badge { font-size: 0.7rem; padding: 0.45rem 0.85rem; }

  .lp-problems, .lp-solution, .lp-projects,
  .lp-beforeafter, .lp-method, .lp-form-section,
  .lp-proofs, .lp-reviews, .lp-cta-final, .lp-social { padding: 4rem 0; }

  .lp-form-shell .progress-bar { padding: 1.5rem 1rem 0; }
  .lp-form-shell .form-area    { padding: 1.5rem 1rem 1.5rem; }
  .lp-ba-card__pair { grid-template-columns: 1fr; }
  .lp-ba-card__media { aspect-ratio: 16 / 10; }
}
