/* « Créez votre club en moins de 5 vraies minutes. » turns into the onboarding's first question as the visitor scrolls
   (club-start.js): the words rise in big, then fly into a small heading over « 1 → Ouvrons votre club. », which types
   itself, and the business search under it is the real one. Without the script, or with reduced motion, the heading
   simply sits over the question. The question's look mirrors onboarding.css. */
/* The homepage and /onboarding share the night sky: crossing from one to the other fades, nothing jumps. */
@media(prefers-reduced-motion:no-preference){@view-transition{navigation:auto}}
.club-start{--faint:#8c85ae;--error:#ffb3a1;--gut:28px;position:relative;z-index:2}
.start-stage{position:relative;box-sizing:border-box;max-width:1060px;margin:0 auto;padding:40px var(--gut) 72px}
.start-pitch{max-width:660px;margin:0 auto 34px;font:900 clamp(34px,5vw,56px)/.98 var(--display);letter-spacing:-.045em;text-wrap:balance}
.start-pitch .start-line:first-child,.start-slot .start-line:first-child{color:var(--ink)}
.start-pitch .start-line:last-child,.start-slot .start-line:last-child{color:#b8a4ff;text-shadow:0 0 44px #8c70ff66}
.start-word{display:inline-block;transform-origin:0 0}
.start-slot{display:none}
.start-step{max-width:660px;margin:0 auto}
.start-step .start-typed,.start-step .caret{display:none}

/* The first question, as /onboarding draws it. */
.start-step .q-num{display:flex;align-items:center;gap:8px;margin:0 0 12px;color:var(--violet-hi);font:600 14px/1 var(--mono)}
.start-step .q-title{min-height:1.15em;margin:0 0 14px;font:850 clamp(30px,4.6vw,48px)/1.06 var(--display);font-stretch:110%;letter-spacing:-.03em;overflow-wrap:anywhere}
.start-step .caret{width:3px;height:.85em;margin-left:5px;vertical-align:-.06em;border-radius:2px;background:var(--tang);animation:start-blink 1s steps(1) infinite}
.start-step .q-ask{display:block;margin:0 0 26px;color:var(--muted);font-size:clamp(18px,2.2vw,21px);line-height:1.45}
.start-step .air{position:relative}
.start-step .air::after{content:'';position:absolute;left:0;bottom:0;width:56px;height:2px;border-radius:2px;background:var(--violet-hi);opacity:.9;transform:scaleX(var(--bar,1));transform-origin:0 0;transition:width .5s cubic-bezier(.2,.8,.2,1),opacity .3s}
.start-step .air:focus-within::after{width:100%;opacity:.45}
.start-step .air-input{display:block;box-sizing:border-box;width:100%;padding:6px 0 14px;border:0;border-radius:0;outline:0;background:transparent;color:var(--ink);font:500 clamp(26px,4.4vw,40px)/1.25 var(--body);letter-spacing:-.01em;caret-color:var(--tang)}
.start-step .air-input::placeholder{color:rgba(255,255,255,.26)}
.start-step .results{display:grid;gap:4px;margin:16px -14px 0}
.start-step .result{display:flex;align-items:flex-start;gap:14px;width:100%;padding:12px 14px;border:1px solid transparent;border-radius:14px;background:transparent;color:inherit;font:inherit;text-align:left;cursor:pointer;animation:start-rise .35s cubic-bezier(.2,.8,.2,1) both;animation-delay:calc(var(--i,0) * 45ms)}
.start-step .result:hover,.start-step .result:focus-visible{border-color:var(--line);background:var(--violet-soft);outline:0}
.start-step .result[aria-busy=true]{opacity:.6}
.start-step .pin{flex:0 0 auto;display:grid;place-items:center;width:30px;height:30px;margin-top:1px;border-radius:50%;background:var(--violet-soft);color:var(--violet-hi);font-size:14px}
.start-step .r-name{display:block;font-size:18px;font-weight:600;line-height:1.35}
.start-step .r-sub{display:block;margin-top:2px;color:var(--muted);font-size:14px;line-height:1.4}
.start-step .empty{margin:4px 0 0;color:var(--muted);font-size:15px;line-height:1.5}
.start-step .attribution{margin:10px 0 0;color:var(--faint);font-size:12px;white-space:nowrap}
.start-step .picked{display:flex;align-items:flex-start;gap:14px;margin-top:22px;animation:start-rise .4s cubic-bezier(.2,.8,.2,1) both}
.start-step .picked[hidden]{display:none}
.start-step .picked strong{display:block;font-size:20px}
.start-step .picked small{display:block;margin-top:3px;color:var(--muted);font-size:15px;line-height:1.4}
.start-step .tick{flex:0 0 auto;display:grid;place-items:center;width:32px;height:32px;border-radius:50%;background:var(--violet);color:#fff;font-weight:700;animation:start-pop .45s cubic-bezier(.34,1.56,.64,1) both}
.start-step .q-error{margin:16px 0 0;color:var(--error);font-size:15px;line-height:1.5}
.start-step .q-actions{display:flex;flex-wrap:wrap;align-items:center;gap:12px 18px;margin-top:28px}
.start-step .link{min-height:44px;padding:0;border:0;background:none;color:var(--muted);font:500 15px/1.4 var(--body);text-decoration:underline;text-decoration-color:rgba(255,255,255,.3);text-underline-offset:5px;cursor:pointer}
.start-step .link:hover{color:var(--ink)}
.start-fine{margin:22px 0 0;color:var(--muted);font-size:15px;line-height:1.5}
.start-more{margin:6px 0 0;color:var(--faint);font-size:14px;line-height:1.6}
.start-more a{color:var(--violet-hi);font-weight:650;text-decoration:none;white-space:nowrap}
.start-more a[href^="mailto:"]{color:inherit;font-weight:inherit;text-decoration:underline;text-underline-offset:3px;overflow-wrap:anywhere;white-space:normal}
.start-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@keyframes start-rise{from{opacity:0;transform:translateY(12px)}}
@keyframes start-pop{from{transform:scale(0)}}
@keyframes start-blink{50%{opacity:0}}

/* Moving (script on, motion welcome): tall from the first paint, like the phone story, so a reload restores the scroll.
   The big heading floats over the stage; the slot (a small copy of it) holds the place its words fly to. */
@media(scripting:enabled) and (prefers-reduced-motion:no-preference){
 .club-start{height:calc(100svh + 150svh)}
 .start-sticky{position:sticky;top:0;min-height:100svh;overflow-anchor:none}
 .start-stage{min-height:100svh;padding-top:max(36px, 22svh)}
 .start-pitch{position:absolute;left:var(--gut);right:var(--gut);top:50%;max-width:1000px;margin:0 auto;transform:translateY(-55%);font-size:clamp(40px,7.4vw,104px);text-align:center;pointer-events:none;z-index:1}
 .start-slot{display:block;visibility:hidden;margin:0 0 28px;font:900 clamp(22px,2.8vw,34px)/.98 var(--display);letter-spacing:-.045em;text-wrap:balance}
 .start-step .start-sr{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
 .start-step .start-typed{display:inline}
 .start-step .caret{display:inline-block}
}

@media(max-width:640px){
 .club-start{--gut:20px}
 .start-stage{padding-bottom:48px}
 .start-step .q-num{margin-bottom:8px}
 .start-step .q-ask{margin-bottom:20px}
 .start-step .air-input{font-size:clamp(21px,6.2vw,26px)}
}
@media(max-width:640px) and (scripting:enabled) and (prefers-reduced-motion:no-preference){
 .start-stage{padding-top:max(28px, 8svh)}
 .start-pitch{font-size:clamp(34px,11vw,56px)}
 .start-slot{font-size:20px;margin-bottom:20px}
}
