/* Bottom of the lead-gen page: Machine à Conversion, budget, final structure. Owned by the bottom-section subagent.
   One rhythm for all three sections, on the Fibonacci scale: 89px section padding (55 on mobile), 34px under titles,
   34px between blocks, 13–21px inside them. Centered titles, 680px prose, 1040px content, 960px figures. */

/* Discreet corner halos, same recipe as the hero (no central blobs). */
.lg-corner-halo{position:absolute;z-index:-1;width:min(560px,70vw);aspect-ratio:1;border-radius:50%;pointer-events:none;filter:blur(8px)}
.lg-corner-halo-violet{background:radial-gradient(circle closest-side,#dbd7f9b3,#dbd7f900)}
.lg-corner-halo-pink{background:radial-gradient(circle closest-side,#f7d5e9cc,#f7d5e900)}

/* Shared section frame. */
[data-page=lead-gen-locale] .lg-machine,[data-page=lead-gen-locale] .lg-budget{position:relative;isolation:isolate;overflow:clip;padding:89px 0;border:0}
/* One text system for every section below the agenda (same H2 as the agenda title):
   H2 55/34px 600 centered; .lg-intro 21px ink, centered; .lg-prose 18px body in a centered 680px column,
   left-aligned unless .lg-prose-center (short lines only); .lg-key = the one sentence to remember. */
[data-page=lead-gen-locale] :is(.lg-levels,.lg-machine,.lg-budget,.lg-proof,.lp-contact) h2{max-width:900px;margin:0 auto 34px;text-align:center;font-size:clamp(34px,4.6vw,55px);font-weight:600;line-height:1.13;letter-spacing:-.04em;text-wrap:balance}
[data-page=lead-gen-locale] .lg-intro{max-width:680px;margin:0 auto;color:#302937;font-size:21px;line-height:1.5;letter-spacing:-.015em;text-align:center;text-wrap:balance}
.lg-prose{max-width:680px;margin-inline:auto}
.lg-intro+.lg-prose{margin-top:13px}
[data-page=lead-gen-locale] .lg-prose p{margin:0;color:#5d5066;font-size:18px;line-height:1.7;text-wrap:pretty}
[data-page=lead-gen-locale] .lg-prose p+p{margin-top:13px}
.lg-prose-center{text-align:center}
.lg-prose strong{color:#302937;font-weight:600}
[data-page=lead-gen-locale] .lg-prose .lg-key{color:#302937;font-size:21px;font-weight:600;line-height:1.4;letter-spacing:-.015em}

/* 1. Machine à Conversion: white, violet halo top-right and pink bottom-left (continues the levels section's zigzag). */
.lg-machine .lg-corner-halo-violet{top:55px;left:calc(50% + 300px)}
.lg-machine .lg-corner-halo-pink{bottom:144px;right:calc(50% + 300px)}
/* The SVG keeps ~36px of air above the discs and ~60px of shadow room below. */
.lg-machine-figure{width:min(100%,640px);margin:21px auto 0}
.lg-machine-figure img{display:block;width:100%;height:auto}

/* The three systems: one numbered card each, stacked in a column (no side column), header = number + name + emoji. */
.lg-machine-list{display:grid;gap:21px;max-width:760px;margin:21px auto 0;padding:0;list-style:none}
.lg-machine-item{padding:34px;border:5px solid #fff;border-radius:21px;background:linear-gradient(160deg,#fff 40%,#fcf7fc);box-shadow:0 21px 55px -21px #ba6fa580,0 2px 8px #b574a812}
.lg-machine-item h3{display:flex;align-items:center;gap:13px;margin:0 0 21px;color:#302937;font-size:21px;font-weight:600;line-height:1.25;letter-spacing:-.03em}
.lg-machine-num{flex:none;display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:linear-gradient(135deg,#a79dfb,#645ce4);color:#fff;font-size:16px;font-weight:600;letter-spacing:0;box-shadow:0 8px 21px -8px #645ce48c}
.lg-machine-item p{margin:13px 0 0;color:#5d5066;font-size:17px;line-height:1.7;text-wrap:pretty}
.lg-machine-item .lg-machine-lead{margin:0;color:#302937;font-size:18px;font-weight:500;line-height:1.55;letter-spacing:-.01em}
/* Card 3 ends on its key sentence, set off by a hairline instead of a nested box. */
.lg-machine-item .lg-key{margin-top:21px;padding-top:21px;border-top:1px solid #f0e8f3;color:#302937;font-weight:600}
/* Homepage script hook only: it observes .lp-system-stage for its tab animation, so it stays hidden here. */
.lg-machine .lp-system-stage{display:none}

/* 2. Budget: the tinted band of the agenda section, no halos. */
[data-page=lead-gen-locale] .lg-budget{background:linear-gradient(180deg,#fff,#fbf9fe 21%,#fbf9fe 79%,#fff)}
.lg-budget-figure{width:min(100%,960px);margin:21px auto 13px} /* the SVG reserves ~30px above and ~45px below for labels and shadows */
.lg-budget-figure img{display:block;width:100%;height:auto}

/* Testimonial: same H2/intro system, the video in the hero video's frame style; sits right before the contact form. */
[data-page=lead-gen-locale] .lg-proof{position:relative;padding:89px 0;background:#fff}
.lg-proof-frame{width:min(100%,880px);aspect-ratio:16/9;margin:34px auto 0;overflow:hidden;border:5px solid #fff;border-radius:21px;background:#f5efff;box-shadow:0 21px 55px -21px #ba6fa580,0 2px 8px #b574a812}
.lg-proof-frame iframe{display:block;width:100%;height:100%;border:0}

/* Section kickers (homepage component), centered like the titles they introduce. */
[data-page=lead-gen-locale] .lp .lp-kicker{justify-content:center;margin:0 0 21px}
[data-page=lead-gen-locale] .after-hero-eyebrow{margin-bottom:21px}

/* Extra CTAs reuse the homepage button; data-demo scrolls to the form. */
[data-page=lead-gen-locale] .lg-cta{justify-content:center;margin-top:55px}

/* Roadmap: the homepage .lp-steps list, at this page's text sizes; steps 3–6 sit in a dashed loop zone
   (same language as the zone de chalandise diagram). */
[data-page=lead-gen-locale] .lg-roadmap{position:relative;padding:89px 0;background:#fff}
/* Method: framed two-column box borrowed from fuchsia.biz (.lp-process-panel): intro on the left, steps on the right. */
/* The homepage wrapper .lp is overflow:hidden, which disables sticky; clip keeps the halos cut without a scroll container. */
[data-page=lead-gen-locale] .lp{overflow:clip}
.lg-roadmap .lp-process-panel{gap:55px 89px;padding:55px 55px 55px;overflow:clip} /* clip, not hidden: hidden would make the panel the sticky scrollport */
.lg-roadmap .lp-process-intro{position:sticky;top:120px;align-self:start}
[data-page=lead-gen-locale] .lg-roadmap .lp-kicker{justify-content:flex-start}
[data-page=lead-gen-locale] .lg-roadmap .lp-process-intro h2{max-width:420px;margin:0 0 21px;text-align:left;font-size:clamp(34px,3.4vw,44px);font-weight:600;line-height:1.13;letter-spacing:-.04em}
[data-page=lead-gen-locale] .lg-roadmap .lp-process-intro h2 em{color:var(--pink);font-style:normal}
[data-page=lead-gen-locale] .lg-roadmap .lp-process-intro>p{max-width:400px;margin:0;color:#5d5066;font-size:18px;line-height:1.7}
[data-page=lead-gen-locale] .lg-roadmap .lp-process-intro .lp-actions{margin-top:34px;justify-content:flex-start}
[data-page=lead-gen-locale] .lg-roadmap .lp-process-intro>.lp-caption{margin-top:13px;font-size:14px;line-height:1.6}
.lg-roadmap-steps{max-width:none;margin:0!important}
@media(max-width:960px){
  .lg-roadmap .lp-process-panel{grid-template-columns:1fr;gap:34px;padding:34px 21px 55px}
  .lg-roadmap .lp-process-intro{position:static}
}
.lg-roadmap .lp-steps li .lp-step-num{width:34px;height:34px;border:0;background:linear-gradient(135deg,#a79dfb,#645ce4);color:#fff;font-size:13px;font-weight:600;box-shadow:0 8px 21px -8px #645ce48c}
.lg-roadmap .lp-steps li{grid-template-columns:34px 1fr;gap:21px;padding-bottom:34px}
.lg-roadmap .lp-steps li:not(:last-child):before{left:17px;top:42px;bottom:8px;width:2px;background:linear-gradient(#ada4ea,#ffc5e3)}
.lg-roadmap .lp-steps h3{margin:4px 0 8px;color:#302937;font-size:21px;font-weight:600;letter-spacing:-.02em}
[data-page=lead-gen-locale] .lg-roadmap .lp-steps p{margin:0;color:#5d5066;font-size:17px;line-height:1.65}
.lg-roadmap .lp-steps>li.lg-loop{display:block;margin:0 0 0 -21px;padding:55px 21px 55px;border:2px dashed #d6cdf5;border-radius:21px;background:linear-gradient(160deg,#fbf9fe,#fdf6fb)}
.lg-roadmap .lp-steps>li.lg-loop:before{display:none}
.lg-loop>.lp-steps li:last-child{padding-bottom:0}
.lg-loop-chip{position:absolute;top:-19px;left:21px;display:inline-flex;align-items:center;gap:8px;padding:8px 13px;border-radius:999px;background:#fff;color:#302937;font-size:14px;font-weight:600;box-shadow:0 8px 21px -8px #ba6fa599,0 2px 6px #b574a812}
.lg-loop-chip svg{width:18px;height:18px;color:var(--pink)}
.lg-loop{position:relative}
/* Two chevrons slowly travel the dashed border, upward on the right: steps 3→6 then back to 3. The track sits on the
   middle of the 2px border; pills stay above it. Hidden without offset-path support or with reduced motion. */
.lg-loop-chip{z-index:1}
.lg-loop-track{display:none}
@supports (offset-path:inset(0 round 1px)){@media (prefers-reduced-motion:no-preference){
  .lg-loop-track{position:absolute;inset:-1px;display:block;pointer-events:none}
  .lg-loop-track i{position:absolute;top:0;left:0;width:18px;height:18px;
    offset-path:inset(0 round 21px);offset-anchor:center;offset-rotate:reverse;animation:lg-loop-travel 40s linear infinite}
  .lg-loop-track i:before{content:"";position:absolute;top:4px;left:1.5px;width:9px;height:9px;border-top:2.5px solid #d6cdf5;border-right:2.5px solid #d6cdf5;border-radius:1px;transform:rotate(45deg)}
  .lg-loop-track i+i{animation-delay:-20s}
  @keyframes lg-loop-travel{from{offset-distance:100%}to{offset-distance:0%}}
}}
/* Goal pill closes the loop on the bottom border, mirroring the "On recommence" pill on top. */
[data-page=lead-gen-locale] .lg-roadmap .lg-loop>.lg-loop-goal{top:auto;bottom:-19px;margin:0;max-width:calc(100% - 42px);color:#302937;font-size:14px;line-height:1.4}
/* Narrow screens: the pill wraps, so it sits in flow at the end of the loop instead of on the border. */
@media(max-width:700px){.lg-roadmap .lp-steps>li.lg-loop{padding-bottom:21px}[data-page=lead-gen-locale] .lg-roadmap .lg-loop>.lg-loop-goal{position:static;display:flex;max-width:none;margin-top:34px}}

/* Testimonial band tinted like the budget so white and tinted sections keep alternating. */

/* 3. Contact: the hero's halos mirrored, so the page ends the way it starts. */
[data-page=lead-gen-locale] .lp-contact{padding:89px 21px}
.lp-contact .lg-corner-halo-violet{top:34px;right:calc(50% + 260px)}
.lp-contact .lg-corner-halo-pink{bottom:-55px;left:calc(50% + 260px)}
[data-page=lead-gen-locale] .lp-contact .lp-contact-mark{margin-bottom:34px}
[data-page=lead-gen-locale] .lp-contact>p:not(.contact-feedback){max-width:620px;margin:0 auto;color:#5d5066;font-size:18px;line-height:1.7;text-wrap:pretty}
[data-page=lead-gen-locale] .lp-contact>p.lg-intro{max-width:680px;margin-bottom:13px;color:#302937;font-size:21px;line-height:1.5;text-wrap:balance}
[data-page=lead-gen-locale] .lp-contact .contact-form{margin-top:34px}
/* Submit and WhatsApp side by side, like the hero; they stack on phones. */
[data-page=lead-gen-locale] .contact-form .lg-form-actions{display:flex;flex-wrap:wrap;justify-content:center;gap:13px;width:100%;max-width:none;margin:8px 0 0}
[data-page=lead-gen-locale] .contact-form .contact-note{text-align:center}

@media(max-width:700px){
  [data-page=lead-gen-locale] .lg-roadmap{padding:55px 0}
  .lg-roadmap-steps{margin-top:34px!important}
  .lg-roadmap .lp-steps li{gap:13px;padding-bottom:21px}
  .lg-roadmap .lp-steps h3{font-size:18px}
  [data-page=lead-gen-locale] .lg-roadmap .lp-steps p{font-size:16px}
  .lg-roadmap .lp-steps>li.lg-loop{margin-left:-13px;padding:55px 13px 13px}
  .lg-loop-chip{left:13px;right:13px;font-size:13px}
  [data-page=lead-gen-locale] .lg-cta{margin-top:34px}
  [data-page=lead-gen-locale] .lg-proof{padding:55px 0}
  .lg-proof-frame{margin-top:21px;border-width:3px;border-radius:13px}
  [data-page=lead-gen-locale] .lg-machine,[data-page=lead-gen-locale] .lg-budget{padding:55px 0}
  [data-page=lead-gen-locale] .lp-contact{padding:55px 21px}
  [data-page=lead-gen-locale] :is(.lg-levels,.lg-machine,.lg-budget,.lg-proof,.lp-contact) h2{margin-bottom:21px;font-size:34px}
  [data-page=lead-gen-locale] .lg-intro,[data-page=lead-gen-locale] .lp-contact>p.lg-intro{font-size:18px;text-align:left;text-wrap:pretty}
  [data-page=lead-gen-locale] .lg-prose p,[data-page=lead-gen-locale] .lp-contact>p:not(.contact-feedback){font-size:17px;text-align:left} /* paragraphs read better ragged-right on phones */
  [data-page=lead-gen-locale] .lg-prose .lg-key{font-size:18px}
  .lg-corner-halo{width:min(420px,90vw)}
  .lg-machine .lg-corner-halo-violet,.lp-contact .lg-corner-halo-pink{left:auto;right:-45%}
  .lg-machine .lg-corner-halo-pink,.lp-contact .lg-corner-halo-violet{right:auto;left:-45%}
  .lg-machine-figure,.lg-budget-figure{margin-top:13px}
  .lg-machine-list{gap:21px}
  .lg-machine-item{padding:21px}
  .lg-machine-item h3{margin-bottom:13px;font-size:21px}
  .lg-machine-item .lg-machine-lead{font-size:17px}
  .lg-machine-item p{font-size:16px}
}
/* Mobile SVG text stays >= 13 CSS px at 320 px: let the figures use the container padding (same as the levels figure). */
@media(max-width:400px){.lg-machine-figure,.lg-budget-figure{width:calc(100% + 34px);margin-inline:-17px}}

/* Section separator only where the tint changes abruptly (a visible cut); soft fades and white-to-white stay lineless.
   One line per boundary, carried by the top of the incoming section. */
[data-page=lead-gen-locale] :is(.lg-race,.lg-levels,.lg-machine,.lg-budget,.lp-contact){border-top:1px solid #ece5f6}
[data-page=lead-gen-locale] .lg-race{border-bottom:0}
