/**
 * N-terre — Editorial Layer
 * Architecture premium scopee sous body.theme-editorial
 * Pas de !important — la specificite naturelle suffit.
 *
 * Build par sections :
 *   1. Tokens
 *   2. Motion foundations (scroll-reveal system)
 *   3. Hero (front-page)
 *
 * @package N-terre
 */

.theme-editorial {
  --e-out:    cubic-bezier(0.22, 1, 0.36, 1);
  --e-soft:   cubic-bezier(0.16, 1, 0.3, 1);
  --e-mask:   cubic-bezier(0.65, 0, 0.35, 1);
  --d-1: 600ms;
  --d-2: 900ms;
  --d-3: 1400ms;
  --d-mask: 1200ms;
  --gold-50:  #F4EBD8;
  --gold-100: #E5D2A6;
  --gold-200: #D7BC85;
  --gold-300: #C8A96E;
  --gold-400: #B08840;
  --gold-500: #8A6B2E;
  --gold-grad: linear-gradient(135deg, #C8A96E 0%, #B08840 50%, #8A6B2E 100%);
  --gold-grad-light: linear-gradient(135deg, #D7BC85 0%, #B08840 100%);
  --ink-100: #1C1F2A;
  --ink-90:  rgba(28, 31, 42, 0.92);
  --ink-60:  rgba(28, 31, 42, 0.6);
  --ink-30:  rgba(28, 31, 42, 0.3);
  --t-tight:  -0.025em;
  --t-snug:   -0.012em;
  --t-wide:   0.18em;
  --t-xwide:  0.32em;
}

.theme-editorial [data-reveal] {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  transition:
    opacity var(--d-2) var(--e-soft),
    transform var(--d-2) var(--e-soft);
  will-change: opacity, transform;
}
.theme-editorial [data-reveal="fade"] { transform: none; }
.theme-editorial [data-reveal="rise"] { transform: translate3d(0, 48px, 0); }
.theme-editorial [data-reveal="left"] { transform: translate3d(-32px, 0, 0); }
.theme-editorial [data-reveal].is-revealed {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.theme-editorial [data-reveal="mask"] {
  opacity: 1;
  clip-path: inset(100% 0 0 0);
  transition: clip-path var(--d-mask) var(--e-mask);
  will-change: clip-path;
}
.theme-editorial [data-reveal="mask"].is-revealed {clip-path: inset(0 0 0 0);}

.theme-editorial [data-reveal="mask-rise"] {
  opacity: 1;
  clip-path: inset(0 0 100% 0);
  transform: translate3d(0, 28px, 0);
  transition:
    clip-path 1.3s var(--e-mask),
    transform 1.3s var(--e-mask);
  will-change: clip-path, transform;
}
.theme-editorial [data-reveal="mask-rise"].is-revealed {
  clip-path: inset(0 0 0 0);
  transform: translate3d(0, 0, 0);
}

.theme-editorial [data-reveal="wipe"] {
  opacity: 1;
  clip-path: inset(0 100% 0 0);
  transition: clip-path 1.4s var(--e-mask);
  will-change: clip-path;
}
.theme-editorial [data-reveal="wipe"].is-revealed {clip-path: inset(0 0 0 0);}

.theme-editorial [data-reveal-group] > * {
  opacity: 0;
  transform: translate3d(0, 24px, 0);
  transition:
    opacity var(--d-2) var(--e-soft),
    transform var(--d-2) var(--e-soft);
}
.theme-editorial [data-reveal-group].is-revealed > * {opacity: 1;transform: translate3d(0, 0, 0);}
.theme-editorial [data-reveal-group].is-revealed > *:nth-child(1) { transition-delay: 0ms; }
.theme-editorial [data-reveal-group].is-revealed > *:nth-child(2) { transition-delay: 80ms; }
.theme-editorial [data-reveal-group].is-revealed > *:nth-child(3) { transition-delay: 160ms; }
.theme-editorial [data-reveal-group].is-revealed > *:nth-child(4) { transition-delay: 240ms; }
.theme-editorial [data-reveal-group].is-revealed > *:nth-child(5) { transition-delay: 320ms; }
.theme-editorial [data-reveal-group].is-revealed > *:nth-child(6) { transition-delay: 400ms; }
.theme-editorial [data-reveal-group].is-revealed > *:nth-child(7) { transition-delay: 480ms; }
.theme-editorial [data-reveal-group].is-revealed > *:nth-child(8) { transition-delay: 560ms; }

.theme-editorial .word-wrap {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  padding-block: 0.04em 0.08em;
  margin-block: -0.04em -0.08em;
  line-height: inherit;
}
.theme-editorial .word-wrap .word {
  display: inline-block;
  transform: translate3d(0, 110%, 0);
  transition: transform var(--d-mask) var(--e-mask);
  transition-delay: var(--word-delay, 0ms);
  will-change: transform;
}
.theme-editorial [data-split].is-revealed .word { transform: translate3d(0, 0, 0); }

.theme-editorial [data-split] em {
  background: none;
  -webkit-background-clip: border-box;
          background-clip: border-box;
  -webkit-text-fill-color: currentColor;
}
.theme-editorial [data-split] em .word {
  background: var(--gold-grad);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.theme-editorial .lp-cta-final h2[data-split] em .word {
  background: var(--gold-grad-light);
  -webkit-background-clip: text;
          background-clip: text;
}

@media (prefers-reduced-motion: reduce) {
  .theme-editorial [data-reveal],
  .theme-editorial [data-reveal-group] > *,
  .theme-editorial .word-wrap .word {
    opacity: 1;
    transform: none;
    clip-path: none;
    transition: none;
  }
}

.theme-editorial ::selection { background: var(--gold-400); color: #fff; }
.theme-editorial *:focus-visible {outline: 2px solid var(--gold-300);outline-offset: 4px;}

.theme-editorial .lp-header {
  background: rgba(247, 245, 240, 0.78);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid rgba(28, 31, 42, 0.06);
  transition: background 0.4s var(--e-out), box-shadow 0.4s var(--e-out);
}
.theme-editorial .lp-header.scrolled {
  background: rgba(247, 245, 240, 0.94);
  box-shadow: 0 1px 0 rgba(28, 31, 42, 0.04), 0 8px 32px rgba(28, 31, 42, 0.04);
}
.theme-editorial .lp-header__logo {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.18rem;
  letter-spacing: -0.012em;
}
.theme-editorial .lp-header__cta {
  position: relative;
  background: var(--ink-100);
  color: #fff;
  border: 1px solid var(--ink-100);
  padding: 0.78rem 1.5rem;
  border-radius: 999px;
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  overflow: hidden;
  isolation: isolate;
  transition: color 0.55s var(--e-out), border-color 0.55s var(--e-out);
}
.theme-editorial .lp-header__cta::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--gold-grad);
  transform: translate3d(0, 101%, 0);
  transition: transform 0.6s var(--e-out);
}
.theme-editorial .lp-header__cta:hover {
  border-color: var(--gold-400);
  transform: none;
}
.theme-editorial .lp-header__cta:hover::before {
  transform: translate3d(0, 0, 0);
}

.theme-editorial .lp-hero {
  position: relative;
  padding-top: calc(64px + 6rem);
  padding-bottom: 7rem;
  background: var(--color-bg);
  overflow: hidden;
  isolation: isolate;
}
.theme-editorial .lp-hero::before {
  content: '';
  position: absolute;
  top: -260px; right: -200px;
  width: 720px; height: 720px;
  background: radial-gradient(circle, rgba(200, 169, 110, 0.16) 0%, transparent 60%);
  pointer-events: none;
  z-index: -1;
}
.theme-editorial .lp-hero::after {
  content: '';
  position: absolute;
  bottom: -200px; left: -180px;
  width: 540px; height: 540px;
  background: radial-gradient(circle, rgba(176, 136, 64, 0.09) 0%, transparent 65%);
  pointer-events: none;
  z-index: -1;
}
@media (max-width: 768px) {
  .theme-editorial .lp-hero { padding-top: calc(64px + 3rem); padding-bottom: 4rem; }
}

.theme-editorial .lp-hero__grid {
  align-items: center;
  gap: 5rem;
}
@media (min-width: 900px) {
  .theme-editorial .lp-hero__grid { grid-template-columns: 1.05fr 440px; gap: 4.5rem; }
}

.theme-editorial .lp-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: var(--t-xwide);
  text-transform: uppercase;
  color: var(--gold-500);
  margin-bottom: 1.75rem;
}
.theme-editorial .lp-eyebrow::before {
  content: '';
  display: block;
  width: 56px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold-300), transparent);
}

.theme-editorial .lp-hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5.5vw, 3.85rem);
  font-weight: 400;
  letter-spacing: var(--t-tight);
  line-height: 1.04;
  color: var(--ink-100);
  margin: 0 0 1.75rem;
  max-width: 16ch;
}
.theme-editorial .lp-hero__title em {
  font-style: italic;
  font-weight: 300;
  background: var(--gold-grad);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
  padding-bottom: 0.05em;
}

.theme-editorial .lp-hero__desc {
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.1vw, 1.08rem);
  font-weight: 400;
  line-height: 1.78;
  color: var(--ink-60);
  max-width: 52ch;
  margin: 0 0 2.5rem;
}

.theme-editorial .lp-hero__checks {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 0;
  padding: 0;
}
.theme-editorial .lp-hero__checks li {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-family: var(--font-body);
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--ink-100);
  letter-spacing: 0.005em;
}
.theme-editorial .lp-hero__checks svg {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  padding: 5px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(200, 169, 110, 0.16), rgba(176, 136, 64, 0.08));
  color: var(--gold-500);
  stroke-width: 2.2;
}

.theme-editorial .lp-form-card {
  position: relative;
  background: #fff;
  border: none;
  border-radius: 20px;
  padding: 2.75rem 2rem 2.25rem;
  overflow: hidden;
  box-shadow:
    0 1px 2px rgba(28, 31, 42, 0.04),
    0 8px 24px rgba(28, 31, 42, 0.06),
    0 32px 80px rgba(28, 31, 42, 0.08);
}
.theme-editorial .lp-form-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gold-grad);
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
}
@media (min-width: 900px) {.theme-editorial .lp-form-card { position: sticky; top: 88px; }}

.theme-editorial .lp-form-card__header {
  margin-bottom: 2rem;
  text-align: left;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(28, 31, 42, 0.06);
}
.theme-editorial .lp-form-card__title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: var(--t-snug);
  line-height: 1.25;
  color: var(--ink-100);
  margin-bottom: 0.5rem;
}
.theme-editorial .lp-form-card__title em,.theme-editorial .lp-form-card__title strong {
  font-style: italic;
  font-weight: 400;
  color: var(--gold-400);
}
.theme-editorial .lp-form-card__sub {
  font-family: var(--font-body);
  font-size: 0.86rem;
  color: var(--ink-60);
  margin: 0;
  line-height: 1.6;
}

.theme-editorial .lp-form { display: flex; flex-direction: column; gap: 1.5rem; }

.theme-editorial .lp-field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  position: relative;
}
.theme-editorial .lp-field label {
  font-family: var(--font-body);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-60);
}
.theme-editorial .lp-field label span {
  color: var(--gold-400);
  margin-left: 0.15em;
}

.theme-editorial .lp-field input,.theme-editorial .lp-field select {
  width: 100%;
  padding: 0.65rem 0;
  font-family: var(--font-body);
  font-size: 0.96rem;
  font-weight: 400;
  color: var(--ink-100);
  background: transparent;
  border: none;
  border-bottom: 1.5px solid rgba(28, 31, 42, 0.12);
  border-radius: 0;
  transition: border-color 0.5s var(--e-out);
  outline: none;
  box-shadow: none;
}
.theme-editorial .lp-field input::placeholder {
  color: rgba(28, 31, 42, 0.32);
  font-weight: 300;
}
.theme-editorial .lp-field input:focus,.theme-editorial .lp-field select:focus {
  border-bottom-color: var(--gold-400);
  outline: none;
  box-shadow: none;
}
.theme-editorial .lp-field input.error,.theme-editorial .lp-field select.error {
  border-bottom-color: #C84040;
  box-shadow: none;
}
.theme-editorial .lp-field select {
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B08840' stroke-width='2'><path d='M6 9l6 6 6-6'/></svg>");
  background-repeat: no-repeat;
  background-position: right 0 center;
  background-size: 16px;
  padding-right: 24px;
}
.theme-editorial .lp-field__error {
  font-size: 0.74rem;
  color: #C84040;
  letter-spacing: 0.02em;
}

.theme-editorial .lp-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  font-size: 0.78rem;
  color: var(--ink-60);
  line-height: 1.55;
  cursor: pointer;
}
.theme-editorial .lp-checkbox__box {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  border: 1.5px solid rgba(28, 31, 42, 0.18);
  border-radius: 1px;
  display: grid;
  place-items: center;
  transition: all 0.3s var(--e-out);
  flex-shrink: 0;
}
.theme-editorial .lp-checkbox input:checked ~ .lp-checkbox__box {
  background: var(--gold-grad);
  border-color: var(--gold-400);
}
.theme-editorial .lp-checkbox__label a {
  color: var(--gold-500);
  text-decoration: none;
  border-bottom: 1px solid var(--gold-300);
  transition: color 0.3s;
}
.theme-editorial .lp-checkbox__label a:hover { color: var(--gold-400); }

.theme-editorial .lp-submit {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  width: 100%;
  padding: 1.15rem 2rem;
  margin-top: 0.5rem;
  background: var(--ink-100);
  color: #fff;
  border: 1px solid var(--ink-100);
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  transition: color 0.55s var(--e-out), border-color 0.55s var(--e-out), transform 0.4s var(--e-out);
}
.theme-editorial .lp-submit::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--gold-grad);
  transform: translate3d(0, 101%, 0);
  transition: transform 0.7s var(--e-out);
}
.theme-editorial .lp-submit:hover::before {
  transform: translate3d(0, 0, 0);
}
.theme-editorial .lp-submit:hover {
  border-color: var(--gold-400);
}
.theme-editorial .lp-submit > * { position: relative; z-index: 1; }

.theme-editorial .lp-form__reassurance {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.74rem;
  color: var(--ink-60);
  text-align: center;
  letter-spacing: 0.04em;
  margin-top: 0.5rem;
}
.theme-editorial .lp-form__reassurance svg { color: var(--gold-400); }

.theme-editorial .lp-form-success__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.25rem;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(200, 169, 110, 0.16), rgba(176, 136, 64, 0.08));
  display: grid;
  place-items: center;
  color: var(--gold-400);
}
.theme-editorial .lp-form-success h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 500;
  letter-spacing: var(--t-snug);
  color: var(--ink-100);
}

.theme-editorial .lp-compare,.theme-editorial .lp-method,.theme-editorial .lp-projects,.theme-editorial .lp-faq {padding: 7rem 0;}
@media (max-width: 768px) {.theme-editorial .lp-compare,.theme-editorial .lp-method,.theme-editorial .lp-projects,.theme-editorial .lp-faq { padding: 5rem 0; }}

.theme-editorial .lp-section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  letter-spacing: var(--t-tight);
  line-height: 1.08;
  color: var(--ink-100);
  text-align: center;
  margin: 0 auto 1rem;
  max-width: 18ch;
}
.theme-editorial .lp-section-title em {
  font-style: italic;
  font-weight: 300;
  background: var(--gold-grad);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
}
.theme-editorial .lp-section-sub {
  font-family: var(--font-body);
  text-align: center;
  font-size: 1rem;
  color: var(--ink-60);
  max-width: 580px;
  margin: 0 auto 4rem;
  line-height: 1.78;
}

.theme-editorial .lp-compare .lp-section-title::after,.theme-editorial .lp-method .lp-section-title::after,.theme-editorial .lp-projects .lp-section-title::after,.theme-editorial .lp-faq .lp-section-title::after {
  content: '';
  display: block;
  width: 56px;
  height: 1px;
  background: var(--gold-grad);
  margin: 1.75rem auto 0;
}
.theme-editorial .lp-section-sub { padding-top: 0.5rem; }

.theme-editorial .lp-trust {
  background: #fff;
  padding: 3.5rem 0;
  border-top: 1px solid rgba(28, 31, 42, 0.06);
  border-bottom: 1px solid rgba(28, 31, 42, 0.06);
}
.theme-editorial .lp-trust__grid {gap: 1.5rem;align-items: center;}
@media (min-width: 640px) {.theme-editorial .lp-trust__grid { gap: 0; }}
.theme-editorial .lp-trust__item {
  position: relative;
  padding: 0.5rem 1.5rem;
}
@media (min-width: 640px) {
  .theme-editorial .lp-trust__item + .lp-trust__item::before {
    content: '';
    position: absolute;
    left: 0; top: 25%; bottom: 25%;
    width: 1px;
    background: linear-gradient(180deg, transparent, rgba(176, 136, 64, 0.32), transparent);
  }
}
.theme-editorial .lp-trust__value {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.6vw, 2.85rem);
  font-weight: 300;
  letter-spacing: -0.025em;
  line-height: 1;
  background: var(--gold-grad);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
  font-feature-settings: "lnum";
  margin-bottom: 0.55rem;
  display: block;
}
.theme-editorial .lp-trust__label {
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: var(--t-wide);
  text-transform: uppercase;
  color: var(--ink-60);
}

.theme-editorial .lp-compare {
  position: relative;
  background-color: var(--ink-100);
  overflow: hidden;
  isolation: isolate;
}
.theme-editorial .lp-compare-bg {
  position: absolute;
  inset: -10% 0;
  z-index: -3;
  background-image: url('../photos/service-renovation.webp');
  background-size: cover;
  background-position: center;
  transform: translate3d(0, var(--parallax-y, 0), 0) scale(1.04);
  will-change: transform;
}
.theme-editorial .lp-compare::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(135deg, rgba(20, 22, 30, 0.92) 0%, rgba(28, 31, 42, 0.85) 50%, rgba(20, 22, 30, 0.94) 100%),
    radial-gradient(ellipse 60% 60% at 25% 50%, rgba(176, 136, 64, 0.22), transparent 60%),
    radial-gradient(ellipse 50% 50% at 80% 60%, rgba(200, 169, 110, 0.14), transparent 60%);
}
.theme-editorial .lp-compare::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.05;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.92' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.6 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

.theme-editorial .lp-compare .lp-section-title { color: #fff; margin-bottom: 4rem; }
.theme-editorial .lp-compare__grid { gap: 2rem; position: relative; z-index: 1; }
.theme-editorial .lp-compare__col {
  position: relative;
  background: #fff;
  border: none;
  border-radius: 20px;
  padding: 2.75rem 2.25rem;
  overflow: hidden;
  box-shadow:
    0 12px 32px rgba(0, 0, 0, 0.18),
    0 32px 80px rgba(0, 0, 0, 0.22);
}
.theme-editorial .lp-compare__col--good {
  border: none;
  box-shadow:
    0 12px 32px rgba(176, 136, 64, 0.18),
    0 32px 80px rgba(0, 0, 0, 0.25),
    inset 0 0 0 1px rgba(176, 136, 64, 0.22);
}
.theme-editorial .lp-compare__col--good::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--gold-grad);
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
}

.theme-editorial .lp-compare__heading {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: var(--t-snug);
  margin-bottom: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(28, 31, 42, 0.06);
}
.theme-editorial .lp-compare__heading--bad svg { color: #C84040; }
.theme-editorial .lp-compare__heading--good svg { color: var(--gold-400); }
.theme-editorial .lp-compare__col ul { display: flex; flex-direction: column; gap: 0.95rem; padding: 0; }
.theme-editorial .lp-compare__col li {
  font-family: var(--font-body);
  font-size: 0.94rem;
  font-weight: 400;
  line-height: 1.75;
  color: var(--ink-60);
  padding-left: 1.85rem;
  position: relative;
}
.theme-editorial .lp-compare__col--bad li::before {
  content: '';
  position: absolute;
  left: 0; top: 0.7em;
  width: 12px; height: 1px;
  background: #C84040;
}
.theme-editorial .lp-compare__col--good li::before {
  content: '';
  position: absolute;
  left: 0; top: 0.7em;
  width: 12px; height: 1px;
  background: var(--gold-400);
}

.theme-editorial .lp-method {
  position: relative;
  background: var(--color-bg-alt);
  overflow: hidden;
  isolation: isolate;
}
.theme-editorial .lp-method::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: url('../photos/service-optimisation.jpg');
  background-size: cover;
  background-position: center 30%;
  opacity: 0.08;
  filter: grayscale(0.4) blur(1px);
}
.theme-editorial .lp-method::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, var(--color-bg-alt) 0%, rgba(239, 236, 229, 0.7) 50%, var(--color-bg-alt) 100%);
}
.theme-editorial .lp-method .lp-container { position: relative; z-index: 1; }
.theme-editorial .lp-method__grid { gap: 3rem 2.5rem; }
@media (min-width: 900px) {
  .theme-editorial .lp-method__grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    position: relative;
  }
  .theme-editorial .lp-method__grid::before {
    content: '';
    position: absolute;
    top: 1.85rem; left: 5%; right: 5%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(176, 136, 64, 0.28) 15%, rgba(176, 136, 64, 0.28) 85%, transparent);
    pointer-events: none;
    z-index: 0;
  }
}
.theme-editorial .lp-method__step {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  text-align: left;
  position: relative;
  transition: none;
  z-index: 1;
}
.theme-editorial .lp-method__step:hover {
  transform: none;
  box-shadow: none;
}
.theme-editorial .lp-method__num {
  width: 60px;
  height: 60px;
  margin: 0 0 1.5rem;
  background: var(--color-bg-alt);
  color: var(--gold-400);
  border: 1px solid rgba(176, 136, 64, 0.32);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 400;
  font-style: italic;
  letter-spacing: 0;
  line-height: 1;
  position: relative;
  z-index: 1;
  transition: background 0.5s var(--e-out), color 0.5s var(--e-out), border-color 0.5s var(--e-out);
}
.theme-editorial .lp-method__step:hover .lp-method__num {
  background: var(--gold-grad);
  color: #fff;
  border-color: var(--gold-400);
}
.theme-editorial .lp-method__step h3 {
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 500;
  letter-spacing: var(--t-snug);
  color: var(--ink-100);
  margin-bottom: 0.65rem;
  line-height: 1.3;
}
.theme-editorial .lp-method__step p {
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 400;
  line-height: 1.78;
  color: var(--ink-60);
}

.theme-editorial .lp-projects {
  position: relative;
  background-color: var(--ink-100);
  overflow: hidden;
  isolation: isolate;
}
.theme-editorial .lp-projects-bg {
  position: absolute;
  inset: -10% 0;
  z-index: -3;
  background-image: url('../photos/service-optimisation.jpg');
  background-size: cover;
  background-position: center 40%;
  transform: translate3d(0, var(--parallax-y, 0), 0) scale(1.04);
  will-change: transform;
}
.theme-editorial .lp-projects::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(135deg, rgba(20, 22, 30, 0.93) 0%, rgba(28, 31, 42, 0.86) 50%, rgba(20, 22, 30, 0.94) 100%),
    radial-gradient(ellipse 50% 60% at 75% 30%, rgba(176, 136, 64, 0.18), transparent 60%),
    radial-gradient(ellipse 60% 60% at 20% 70%, rgba(200, 169, 110, 0.14), transparent 60%);
}
.theme-editorial .lp-projects::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.05;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.92' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.6 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

.theme-editorial .lp-projects .lp-section-title { color: #fff; }
.theme-editorial .lp-projects .lp-section-sub { color: rgba(255, 255, 255, 0.72); }
.theme-editorial .lp-projects__grid { gap: 2.5rem; position: relative; z-index: 1; }
.theme-editorial .lp-project-card {
  background: transparent;
  border: none;
  border-radius: 16px;
  overflow: visible;
  box-shadow: none;
  transition: transform 0.6s var(--e-out);
}
.theme-editorial .lp-project-card:hover {transform: translate3d(0, -6px, 0);box-shadow: none;}
.theme-editorial .lp-project-card__img {
  height: 340px;
  margin-bottom: 1.5rem;
  overflow: hidden;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
}
.theme-editorial .lp-project-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.4s var(--e-out);
  will-change: transform;
}
.theme-editorial .lp-project-card:hover .lp-project-card__img img {transform: scale(1.06);}
.theme-editorial .lp-project-card__body { padding: 0; }
.theme-editorial .lp-project-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: var(--t-snug);
  color: #fff;
  margin-bottom: 0.55rem;
  line-height: 1.3;
}
.theme-editorial .lp-project-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1rem;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 0.85rem;
}
.theme-editorial .lp-project-card__desc {
  font-family: var(--font-body);
  font-size: 0.92rem;
  line-height: 1.78;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 1.25rem;
}
.theme-editorial .lp-project-card__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding-bottom: 6px;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-200);
}
.theme-editorial .lp-project-card__link::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--gold-400);
  transform: scaleX(0.35);
  transform-origin: left;
  transition: transform 0.6s var(--e-out);
}
.theme-editorial .lp-project-card__link:hover::after { transform: scaleX(1); }
.theme-editorial .lp-project-card__link svg { transition: transform 0.5s var(--e-out); }
.theme-editorial .lp-project-card__link:hover svg { transform: translateX(4px); }
.theme-editorial .lp-faq { background: var(--color-bg-alt); }
.theme-editorial .lp-faq .lp-section-title { margin-bottom: 4rem; }
.theme-editorial .lp-faq__list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}
.theme-editorial .lp-faq__item {border-bottom: 1px solid rgba(28, 31, 42, 0.08);position: relative;}
.theme-editorial .lp-faq__item:first-child {border-top: 1px solid rgba(28, 31, 42, 0.08);}
.theme-editorial .lp-faq__item::after {
  content: '';
  position: absolute;
  left: 0; bottom: -1px;
  height: 1px;
  width: 0;
  background: var(--gold-grad);
  transition: width 0.6s var(--e-out);
  pointer-events: none;
}
.theme-editorial .lp-faq__item[open]::after { width: 100%; }
.theme-editorial .lp-faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.65rem 0;
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 500;
  letter-spacing: -0.005em;
  color: var(--ink-100);
  cursor: pointer;
  list-style: none;
  transition: color 0.4s var(--e-out), padding-left 0.5s var(--e-out);
}
.theme-editorial .lp-faq__item summary::-webkit-details-marker { display: none; }
.theme-editorial .lp-faq__item summary::after {
  content: '';
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  background:
    linear-gradient(currentColor, currentColor) no-repeat center / 14px 1.5px,
    linear-gradient(currentColor, currentColor) no-repeat center / 1.5px 14px;
  color: var(--gold-400);
  transition: transform 0.5s var(--e-mask), background-size 0.5s var(--e-out);
}
.theme-editorial .lp-faq__item[open] summary::after {
  transform: rotate(135deg);
  background:
    linear-gradient(currentColor, currentColor) no-repeat center / 14px 1.5px,
    linear-gradient(currentColor, currentColor) no-repeat center / 0 1.5px;
}
.theme-editorial .lp-faq__item[open] summary { padding-left: 0.5rem; color: var(--gold-500); }
.theme-editorial .lp-faq__item summary:hover { color: var(--gold-500); }

.theme-editorial .lp-faq__item p {
  font-family: var(--font-body);
  font-size: 0.96rem;
  font-weight: 400;
  line-height: 1.85;
  color: var(--ink-60);
  margin: 0;
  max-width: 90%;
  height: 0;
  opacity: 0;
  overflow: hidden;
  padding: 0;
  transform: translate3d(0, -8px, 0);
  transition:
    height 0.55s var(--e-mask),
    opacity 0.45s var(--e-out),
    padding 0.55s var(--e-mask),
    transform 0.55s var(--e-mask);
  will-change: height, opacity, transform;
}
.theme-editorial .lp-faq__item.is-opening p,.theme-editorial .lp-faq__item[open]:not(.is-closing) p {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  padding: 0.25rem 0 1.65rem;
}

.theme-editorial .lp-cta-final {
  position: relative;
  padding: 8rem 0;
  background-color: var(--ink-100);
  overflow: hidden;
  isolation: isolate;
}
.theme-editorial .lp-cta-final-bg {
  position: absolute;
  inset: -10% 0 -10% 0;
  z-index: -3;
  background-image: url('../photos/Renovation-maison-ancienne.jpg');
  background-size: cover;
  background-position: center;
  transform: translate3d(0, var(--parallax-y, 0), 0) scale(1.05);
  will-change: transform;
}
.theme-editorial .lp-cta-final::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(135deg, rgba(20, 22, 30, 0.88) 0%, rgba(28, 31, 42, 0.78) 50%, rgba(20, 22, 30, 0.92) 100%),
    radial-gradient(ellipse 60% 60% at 25% 50%, rgba(176, 136, 64, 0.32), transparent 60%),
    radial-gradient(ellipse 50% 50% at 80% 60%, rgba(200, 169, 110, 0.22), transparent 60%);
}
.theme-editorial .lp-cta-final::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.06;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.92' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.6 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}
.theme-editorial .lp-cta-final__inner {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.theme-editorial .lp-cta-final h2 {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 4.5vw, 3.5rem);
  font-weight: 400;
  letter-spacing: var(--t-tight);
  line-height: 1.08;
  color: #fff;
  margin-bottom: 1.25rem;
}
.theme-editorial .lp-cta-final h2 em {
  font-style: italic;
  font-weight: 300;
  background: var(--gold-grad-light);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
}
.theme-editorial .lp-cta-final p {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.78;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 2.75rem;
}

.theme-editorial .lp-cta-final__btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1.2rem 2.5rem;
  background: #fff;
  color: var(--ink-100);
  border: 1px solid #fff;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-decoration: none;
  overflow: hidden;
  isolation: isolate;
  transition: color 0.55s var(--e-out), border-color 0.55s var(--e-out), transform 0.4s var(--e-out);
  will-change: transform;
}
.theme-editorial .lp-cta-final__btn::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--gold-grad);
  transform: translate3d(0, 101%, 0);
  transition: transform 0.7s var(--e-out);
}
.theme-editorial .lp-cta-final__btn:hover {
  color: #fff;
  border-color: var(--gold-400);
  transform: none;
}
.theme-editorial .lp-cta-final__btn:hover::before {transform: translate3d(0, 0, 0);}
.theme-editorial .lp-cta-final__btn svg {
  position: relative;
  z-index: 1;
  transition: transform 0.5s var(--e-out);
}
.theme-editorial .lp-cta-final__btn:hover svg { transform: translateX(5px); }

.theme-editorial .lp-footer {
  padding: 2.25rem 0;
  background: var(--color-bg);
  border-top: 1px solid rgba(28, 31, 42, 0.06);
}
.theme-editorial .lp-footer__inner {
  font-family: var(--font-body);
  font-size: 0.76rem;
  letter-spacing: 0.04em;
  color: rgba(28, 31, 42, 0.45);
}
.theme-editorial .lp-footer__links a {
  position: relative;
  font-size: 0.76rem;
  letter-spacing: 0.06em;
  color: rgba(28, 31, 42, 0.45);
  transition: color 0.3s var(--e-out);
}
.theme-editorial .lp-footer__links a:hover { color: var(--gold-500); }
