/* Lead-gen sales page: additions on top of the homepage styles it reuses. */
/* Anchor decorative halos inside their section so they cannot widen the mobile viewport. */
.lg-levels,.lg-budget,.lg-race{position:relative;isolation:isolate}
.lg-sr{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}

/* Centered hero (user-approved first version), heavier title. .site-wrap already pads 107px for the nav. */
.lg-hero{position:relative;isolation:isolate;overflow:hidden;padding:clamp(40px,6vw,88px) 24px clamp(64px,7vw,96px);text-align:center}
.lg-kicker{display:flex;align-items:center;justify-content:center;gap:10px;max-width:720px;margin:0 auto 28px;color:#8a7898;font-size:13px;font-weight:600;letter-spacing:.08em;line-height:1.5;text-transform:uppercase}
.lg-kicker .fuchsia-mark{width:16px;height:16px;color:var(--pink)}
.lg-hero h1{max-width:1040px;margin:0 auto;font:700 clamp(36px,5.2vw,68px)/1.08 Inter,Arial,sans-serif;letter-spacing:-.045em;color:#302937;text-wrap:balance}
.lg-hero h1 em{color:var(--pink);font-style:normal}
.lg-hero .lg-hero-note{margin:21px auto 0;color:#7a7089;font-size:14px;line-height:1.5;text-align:center;text-wrap:balance}
.lg-lead{max-width:640px;margin:28px auto 36px;font-size:clamp(18px,1.7vw,22px);line-height:1.5;letter-spacing:-.02em;color:#5d5066}
.lg-lead strong{font-weight:500}
.lg-hero .actions{justify-content:center;justify-items:center;width:100%;max-width:none;margin:0}
/* iPad and desktop: both buttons on one line (the homepage stacks them in a one-column grid up to 1200px). */
@media(min-width:761px){[data-page=lead-gen-locale] .lg-hero .actions{display:flex;flex-wrap:wrap;gap:13px}}
.lg-halo{position:absolute;z-index:-1;width:min(560px,70vw);aspect-ratio:1;border-radius:50%;pointer-events:none;filter:blur(8px)}
.lg-halo-left{top:12%;right:calc(50% + 260px);background:radial-gradient(circle closest-side,#dbd7f9b3,#dbd7f900)}
.lg-halo-right{bottom:0;left:calc(50% + 260px);background:radial-gradient(circle closest-side,#f7d5e9cc,#f7d5e900)}

/* Video slot under the hero: no URL yet, so it is a labelled placeholder. */
.lg-video{position:relative;padding:8px 24px 89px}
.lg-video-frame{position:relative;isolation:isolate;overflow:hidden;display:grid;place-items:center;align-content:center;gap:18px;width:min(100%,1080px);aspect-ratio:16/9;margin:0 auto;border:1px solid #eae1f2;border-radius:24px;background:linear-gradient(125deg,#f5efff,#fff 48%,#fceff6);box-shadow:0 24px 60px -30px #5d427838}
/* Thumbnail illustration fills the frame; play button and label sit on top. */
.lg-video-art{position:absolute;inset:0;z-index:-1}
.lg-video-art img{display:block;width:100%;height:100%;object-fit:cover}
.lg-video-play{display:grid;place-items:center;width:84px;height:84px;border-radius:50%;background:#fff;box-shadow:0 12px 30px #695ee633,inset 0 0 0 1px #ece6f5}
.lg-video-play svg{width:30px;height:30px;margin-left:4px;fill:var(--violet)}
.lg-video-label{color:#6f5f7c;font-size:13px;font-weight:600;letter-spacing:.08em;text-transform:uppercase}

/* Flash statement and three-step path share one section; its tint fades to white behind the diagram. */
/* Spacing in this stretch follows the Fibonacci scale (13, 21, 34, 55, 89). */
[data-page=lead-gen-locale] .after-hero-challenge{padding-bottom:51px;background:
  linear-gradient(180deg,#fff 0,rgba(255,255,255,.96) 34px,rgba(255,255,255,.72) 89px,rgba(255,255,255,.22) 144px,transparent 233px),
  linear-gradient(0deg,#fff 0,#fff 34%,rgba(255,255,255,.8) 46%,rgba(255,255,255,0) 64%),
  radial-gradient(ellipse at 15% 3%,#dbd7f9 0,transparent 63%),
  radial-gradient(ellipse at 95% 20%,#f7d5e9 0,transparent 58%),#f3eef8}
[data-page=lead-gen-locale] .after-hero-challenge:before{-webkit-mask-image:linear-gradient(180deg,#0000 0,#0000 34px,#000 178px,#000 45%,#0000 66%);mask-image:linear-gradient(180deg,#0000 0,#0000 34px,#000 178px,#000 45%,#0000 66%)}
.lg-figure-steps{width:min(100%,960px);margin:8px auto 0} /* the SVG already reserves ~30px above the panels for shadows and float */
.lg-figure-steps img{display:block;width:100%;height:auto}

/* Problem, part 2: copy beside the homepage agenda, then the 3-step illustration. */
/* Dedicated agenda section: tinted band, centered title, agenda first. */
/* Tinted bands with a hairline edge, as on fuchsia.biz (.lp-system): agenda, Machine à Conversion and contact. */
[data-page=lead-gen-locale] :is(.lg-race,.lg-machine,.lp-contact){background:linear-gradient(140deg,#fbf9fe,#f6f3fb 55%,#fff8fc);border-top:1px solid #ece5f6;border-bottom:1px solid #ece5f6}
/* Section title on the Fibonacci scale: 55px type (desktop), 89px space before the content. */
[data-page=lead-gen-locale] .lg-race h2{max-width:1000px;margin:0 auto 89px;text-align:center;font-weight:600;font-size:clamp(34px,4.6vw,55px);line-height:1.13;letter-spacing:-.04em}
.lg-race-grid{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:55px;align-items:center}
.lg-race-copy>p:first-child{font-size:19px}
/* Every section break shows the same visible gap: 178px desktop, 110px mobile, split evenly around the band edge.
   The 3-step SVG above ends with ~38px of transparent shadow room (51 + 38 = 89 above the edge, 89 below). Below, the agenda (height ~42vw, max 591px) is taller than the
   ~420px copy on wide screens and overhangs it by half the difference, so the bottom padding subtracts that overhang. */
[data-page=lead-gen-locale] .lg-race{padding:89px 0 max(0px,calc(89px - max(0px,(min(591px,42vw) - 420px) / 2)))}
.lg-race-copy>p{margin:0;font-size:18px;line-height:1.7;color:#5d5066}
.lg-race-question{display:grid;grid-template-columns:auto 1fr;gap:21px;align-items:start;margin:34px 0}
.lg-race-question p{margin:0;font-size:28px;line-height:1.35;letter-spacing:-.025em;color:#302937}
.lg-race-question strong{color:var(--pink);font-weight:600}
/* Agenda-style floating chip (used by the phone chip in the agenda section). */
.lg-chip{display:grid;place-items:center;width:68px;height:68px;border-radius:22px;background:#fff;box-shadow:0 18px 40px -14px #ba6fa585,0 2px 6px #b574a81a;transform:rotate(-6deg)}
.lg-chip svg{width:30px;height:30px}
.lg-chip-call{width:56px;height:56px;border-radius:18px;color:#f361aa;transform:rotate(-6deg)}
.lg-chip-call svg{width:24px;height:24px}
.lg-race-note{display:flex;align-items:center;gap:18px;padding:20px 24px;border-radius:20px;background:#fff;box-shadow:0 18px 44px -20px #ba6fa585,0 2px 6px #b574a812}
.lg-race-note p{margin:0;font-size:17px;line-height:1.55;color:#4b4458}
.lg-race-note strong{color:#302937;font-weight:600}
.lg-price-tag{flex:none;display:grid;place-items:center;width:48px;height:34px;padding-left:8px;border-radius:8px;background:linear-gradient(135deg,#f361aa,#e2378b);color:#fff;font-weight:700;font-size:18px;clip-path:polygon(22% 0,100% 0,100% 100%,22% 100%,0 50%);box-shadow:0 10px 22px -8px #e2378b99}
.lg-race .activity-scene{margin:0 auto}
/* Tablet portrait: two columns leave the copy ~360px wide, so stack like mobile (agenda, then copy). */
@media(min-width:761px) and (max-width:960px){
  .lg-race-grid{grid-template-columns:1fr;gap:0} /* the agenda scene already carries its own shadow room */
  .lg-race .activity-scene{grid-column:auto;grid-row:auto}
  [data-page=lead-gen-locale] .lg-race .activity-scene{width:min(540px,72vw);max-width:none;height:auto}
  [data-page=lead-gen-locale] .lg-race h2{margin-bottom:34px}
  .lg-race-copy{max-width:680px;margin:0 auto}
}




@media(max-width:760px){
  [data-page=lead-gen-locale] .actions .primary{font-size:14px} /* same size as the WhatsApp button beside it */
  [data-page=lead-gen-locale] .nav-cta{display:none} /* long CTA label would widen the mobile header; the menu keeps it */
  .lg-hero{padding:32px 20px 56px}
  .lg-kicker{font-size:11px;letter-spacing:.06em;text-align:left}
  .lg-hero h1{font-size:clamp(30px,8.6vw,40px)}
  .lg-halo-left{right:auto;left:-45%}
  .lg-halo-right{left:auto;right:-45%}
  .lg-race-grid{grid-template-columns:1fr;gap:32px}
  .lg-race-copy>p{font-size:17px}
  .lg-race-question{gap:13px;margin:21px 0}
  .lg-race-question p{font-size:21px}
  .lg-chip-call{width:46px;height:46px;border-radius:15px}
  [data-page=lead-gen-locale] .lg-race{padding:55px 0}
  [data-page=lead-gen-locale] .lg-race h2{margin-bottom:55px;font-size:34px}
  [data-page=lead-gen-locale] .after-hero-challenge{padding-bottom:0} /* the mobile 3-step SVG ends with ~60px of shadow room */
  .lg-figure-steps{margin-top:0}
  .lg-video{padding:0 16px 55px}
  .lg-video-frame{border-radius:18px}
  .lg-video-play{width:64px;height:64px}
}
/* SVG text stays >= 13px at 320px */
@media(max-width:400px){.lg-figure-steps{width:calc(100% + 24px);margin-inline:-12px}}

/* Reveal: diagram SVGs animate themselves once loaded (the page script loads each one when it scrolls into view);
   cards and video frames rise in. Deferred pictures keep their box (desktop/mobile ratios) and hide alt text while loading. */
html:not(.lg-js) picture[data-defer]{display:none}
picture[data-defer] img{aspect-ratio:var(--ar);color:transparent}
/* No src until it scrolls into view: hide the browser's broken-image icon, keep the reserved space. */
picture[data-defer] img:not([src]){visibility:hidden}
@media(max-width:700px){picture[data-defer] img{aspect-ratio:var(--ar-m)}}
.lg-reveal-on [data-reveal]:not([data-reveal=svg]){transition:opacity .8s cubic-bezier(.2,.75,.2,1),transform .8s cubic-bezier(.2,.75,.2,1)}
.lg-reveal-on [data-reveal=rise]:not(.is-in){opacity:0;transform:translateY(34px)}
.lg-reveal-on .lg-machine-item:nth-child(2){transition-delay:.13s}
.lg-reveal-on .lg-machine-item:nth-child(3){transition-delay:.21s}
.video-bubble.whatsapp-bubble{--chat-scale:1.08;--chat-border:#cdbedb;--chat-paper:#fff;transform:scale(var(--chat-scale))}
.whatsapp-bubble .video-launcher{gap:14px;text-decoration:none}
.whatsapp-bubble .video-orb img{width:100%;height:100%;object-fit:cover}
.v4 .whatsapp-bubble .video-label,.whatsapp-bubble .video-label{position:relative;display:block;padding:8px 31px 8px 12px;border:1px solid var(--chat-border);background:var(--chat-paper);font-size:13px}
.whatsapp-bubble .video-label::before{content:"";position:absolute;left:-5px;top:50%;width:8px;height:8px;transform:translateY(-50%) rotate(45deg);background:var(--chat-paper);border-left:1px solid var(--chat-border);border-bottom:1px solid var(--chat-border)}
.whatsapp-bubble-toggle{position:absolute;right:4px;top:50%;width:25px;height:25px;transform:translateY(-50%);padding:0;border:0;border-radius:50%;background:transparent;color:#685371;font:600 17px/1 Arial,sans-serif;cursor:pointer}
.whatsapp-bubble-toggle:hover{background:#f3edf8}
.video-bubble.whatsapp-bubble.is-collapsed{--chat-scale:.8}
.whatsapp-bubble.is-collapsed .video-label{display:none}
.whatsapp-bubble.is-collapsed .whatsapp-bubble-toggle{right:-13px;top:5px;border:1px solid var(--chat-border);background:var(--chat-paper)}
/* Arrival after the first scroll: portrait first, then the bubble and its toggle. */
.whatsapp-bubble .video-orb{transition:opacity .34s ease-out,transform .55s cubic-bezier(.2,.75,.2,1)}
.whatsapp-bubble .video-label,.whatsapp-bubble-toggle{transition:opacity .34s ease-out .42s,translate .55s cubic-bezier(.2,.75,.2,1) .42s}
.whatsapp-bubble.is-waiting{visibility:hidden}
.whatsapp-bubble.is-waiting .video-orb{opacity:0;transform:scale(.55)}
.whatsapp-bubble.is-waiting :is(.video-label,.whatsapp-bubble-toggle){opacity:0;translate:-13px 0}
@media(prefers-reduced-motion:reduce){.whatsapp-bubble :is(.video-orb,.video-label),.whatsapp-bubble-toggle{transition:none}}
/* Scroll performance: no per-frame filters or layout-driven animations. */
[data-page=lead-gen-locale] .after-hero-statement .motion-word .shine-copy{filter:none}
[data-page=lead-gen-locale] .lg-halo{filter:none}
[data-page=lead-gen-locale] .site-nav{-webkit-backdrop-filter:none;backdrop-filter:none;background:linear-gradient(115deg,#fffffff2,#fffbfdf0 58%,#faf6fff2)}
[data-page=lead-gen-locale] .button-gleam:after{animation-name:lg-gleam} /* same sweep as home-button-shine, but composited (translate, not left) */
@keyframes lg-gleam{0%,14%{translate:0}55%,100%{translate:390% 0}}
