/* ============================================================
   Paid-search landing pages (/free-consultation/, /consultation-gratuite/)
   Loaded after styles.css, which supplies the tokens, buttons and form styles.

   Rule for this file: nothing above the fold may depend on JavaScript to become
   visible. The sitewide .reveal pattern is opacity:0 until an IntersectionObserver
   adds .in — fine on an organic page, unacceptable on one costing $10-20 a click.
   ============================================================ */

.lp { background: var(--linen); }

/* ---------- stripped header: logo + phone only, no nav ---------- */
.lp-head { position: sticky; top: 0; z-index: 60; background: rgba(251,248,243,.92);
  backdrop-filter: saturate(180%) blur(14px); border-bottom: 1px solid var(--line); }
.lp-head__in { display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding-top: .7rem; padding-bottom: .7rem; }
.lp-head .brand { display: flex; align-items: center; gap: .55rem; color: var(--ink); }
.lp-head .brand__mark { width: 30px; height: 30px; display: block; color: var(--brass-dk); }
.lp-head .brand__mark svg { width: 100%; height: 100%; }
.lp-head .brand__name { font-family: var(--font-serif); font-size: 1.16rem; font-weight: 500; }
.lp-head .brand__name em { font-style: italic; color: var(--brass-dk); }
.lp-head__cta { display: flex; align-items: center; gap: .7rem; }
.lp-phone { font-weight: 700; font-size: .95rem; color: var(--ink); white-space: nowrap; }
.lp-phone:hover { color: var(--brass-dk); }
.lp-lang { display: inline-block; padding: .3rem .65rem; border: 1px solid var(--line); border-radius: 999px;
  font-size: .78rem; font-weight: 700; color: var(--muted); }
.lp-lang:hover { border-color: var(--brass); color: var(--ink); }

/* ---------- hero: copy left, scheduler right ---------- */
.lp-hero { position: relative; color: var(--cream); overflow: hidden; }
.lp-hero__media { position: absolute; inset: 0; z-index: 0; }
.lp-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.lp-hero__scrim { position: absolute; inset: 0; z-index: 1; background:
  linear-gradient(180deg, rgba(20,16,12,.72) 0%, rgba(20,16,12,.58) 45%, rgba(20,16,12,.82) 100%),
  radial-gradient(120% 90% at 10% 40%, rgba(20,16,12,.6), transparent 65%); }
.lp-hero__in { position: relative; z-index: 2; display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: clamp(1.5rem, 3vw, 3rem);
  align-items: start; padding-top: clamp(1.6rem, 3vh, 2.6rem); padding-bottom: clamp(1.6rem, 3vh, 2.6rem); }

.lp-h1 { font-family: var(--font-serif); font-weight: 300; line-height: 1.06; letter-spacing: -.015em;
  font-size: clamp(1.85rem, 3.3vw, 2.85rem); margin: 0 0 .8rem; max-width: 19ch;
  text-shadow: 0 2px 26px rgba(0,0,0,.3); }
.lp-h1 em { font-style: italic; color: var(--brass); }
.lp-sub { max-width: 46ch; font-size: clamp(.95rem, 1.15vw, 1.06rem); line-height: 1.55;
  color: rgba(255,255,255,.88); margin: 0; }

.lp-chips { list-style: none; margin: 1.3rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 1.6rem; }
.lp-chips li { display: flex; flex-direction: column; }
.lp-chips strong { font-family: var(--font-serif); font-size: 1.3rem; font-weight: 500; color: #fff; line-height: 1; }
.lp-chips span { font-size: .7rem; letter-spacing: .09em; text-transform: uppercase;
  color: rgba(255,255,255,.72); margin-top: .3rem; }

.lp-jump { margin-top: 1.5rem; display: none; }

/* ---------- the scheduler ---------- */
.lp-book { background: var(--cream); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  overflow: hidden; }
.lp-book__tag { display: block; background: var(--ink); color: var(--cream); font-size: .74rem;
  letter-spacing: .1em; text-transform: uppercase; font-weight: 700; padding: .6rem 1rem; text-align: center; }
/* Height is reserved here so the page cannot shift when Calendly injects its
   iframe, and it is viewport-relative so the widget still fits at 768px tall. */
.lp-book__frame { position: relative; height: clamp(480px, calc(100vh - 200px), 620px); background: var(--cream); }
.lp-book__loading { position: absolute; inset: 0; z-index: 0; display: flex; align-items: center;
  justify-content: center; margin: 0; color: var(--muted); font-size: .9rem; }
.lp-book__loading::before { content: ""; width: 15px; height: 15px; margin-right: .6rem; border-radius: 50%;
  border: 2px solid var(--line); border-top-color: var(--brass-dk); animation: lpSpin .8s linear infinite; }
@keyframes lpSpin { to { transform: rotate(360deg); } }
.lp-book__frame .calendly-inline-widget { position: relative; z-index: 1; }
@media (prefers-reduced-motion: reduce) { .lp-book__loading::before { animation: none; } }

/* ---------- shared section furniture ---------- */
.lp-sec { padding: clamp(2.6rem, 5vw, 4.2rem) 0; }
.lp-sec--tint { background: var(--linen-2); }
.lp-h2 { font-family: var(--font-serif); font-weight: 500; line-height: 1.15;
  font-size: clamp(1.5rem, 2.6vw, 2.05rem); margin: 0 0 .6rem; }
.lp-h3 { font-family: var(--font-serif); font-weight: 500; font-size: clamp(1.3rem, 2vw, 1.6rem); margin: 0 0 .4rem; }
.lp-lede { color: var(--muted); margin: 0 0 1.6rem; max-width: 60ch; }

/* ---------- three steps ---------- */
.lp-steps__list { list-style: none; margin: 1.6rem 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.lp-steps__list li { display: flex; gap: .9rem; }
.lp-step__n { flex: none; width: 2rem; height: 2rem; display: grid; place-items: center; border-radius: 50%;
  background: var(--ink); color: var(--cream); font-weight: 700; font-size: .85rem; }
.lp-steps__list h3 { font-size: 1.02rem; font-weight: 700; margin: .2rem 0 .3rem; line-height: 1.25; }
.lp-steps__list p { color: var(--muted); font-size: .93rem; margin: 0; line-height: 1.55; }

/* ---------- reviews ---------- */
.lp-reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.lp-review { margin: 0; background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.2rem 1.3rem 1.1rem; display: flex; flex-direction: column; }
.lp-review__stars { color: var(--brass-dk); letter-spacing: .1em; font-size: .9rem; }
.lp-review p { margin: .5rem 0 .9rem; font-size: .94rem; line-height: 1.6; }
.lp-review footer { margin-top: auto; display: flex; align-items: center; gap: .5rem;
  font-size: .84rem; font-weight: 600; }
.lp-review__av { width: 26px; height: 26px; flex: none; border-radius: 50%; display: grid; place-items: center;
  background: var(--sand); color: var(--ink); font-size: .78rem; font-weight: 700; }
.lp-review em { font-style: normal; color: var(--muted); font-weight: 400; margin-left: auto; font-size: .78rem; }

/* ---------- gallery ---------- */
.lp-gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: .8rem; margin-top: 1.4rem; }
.lp-gallery figure { margin: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 1; background: var(--linen-2); }
.lp-gallery img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---------- service area ---------- */
.lp-area { max-width: 66ch; }
.lp-area p { margin: 0 0 .9rem; line-height: 1.65; }

/* ---------- fallback contact: deliberately secondary to the scheduler ---------- */
.lp-fallback .container { max-width: 640px; }
.lp-fallback__actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-bottom: 1.6rem; }
.lp-form { border-top: 1px solid var(--line); padding-top: 1.6rem; }

/* ---------- closing CTA ---------- */
.lp-close { background: var(--ink); color: var(--cream); padding: clamp(2.4rem, 4vw, 3.4rem) 0; }
.lp-close__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.4rem; }
.lp-close p { margin: .3rem 0 0; color: rgba(255,255,255,.75); }

/* ---------- minimal footer, no sitewide nav ---------- */
.lp-foot { background: var(--ink); color: rgba(255,255,255,.62); border-top: 1px solid rgba(255,255,255,.12);
  padding: 1.1rem 0; font-size: .84rem; }
.lp-foot__in { display: flex; flex-wrap: wrap; gap: .6rem 1.2rem; justify-content: space-between; }
.lp-foot a { color: rgba(255,255,255,.82); }
.lp-foot a:hover { color: #fff; }

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .lp-hero__in { grid-template-columns: 1fr; }
  .lp-steps__list { grid-template-columns: 1fr; gap: 1.1rem; }
  .lp-reviews { grid-template-columns: repeat(2, 1fr); }
  /* Below the two-column breakpoint the scheduler drops under the hero copy, so
     the hero needs its own visible route to it. */
  .lp-jump { display: inline-flex; }
  .lp-hero__book { margin-top: .4rem; }
  .lp-book__frame { height: 620px; }
}
@media (max-width: 620px) {
  .lp-head .brand__name { font-size: 1.02rem; }
  .lp-phone { font-size: .88rem; }
  .lp-chips { gap: 1.1rem; }
  .lp-chips strong { font-size: 1.12rem; }
  .lp-reviews { grid-template-columns: 1fr; }
  .lp-gallery { grid-template-columns: repeat(2, 1fr); }
  .lp-close__in { flex-direction: column; align-items: flex-start; }
  .lp-book__frame { height: 580px; }
}
