:root {
  --blue: #203646;
  --blue-mid: #29455f;
  --coral: #c95b47;
  --coral-dark: #a94633;
  --sky: #9db8cc;
  --gold: #d9a25f;
  --sand: #f5ebdd;
  --cream: #fff9ef;
  --paper: #fffdf9;
  --ink: #252a2e;
  --muted: #69757d;
  --line: #ded7cd;
  --display: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  --body: "Avenir Next", Avenir, "Segoe UI", system-ui, sans-serif;
  --hand: Noteworthy, "Bradley Hand", "Segoe Print", cursive;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; color: var(--ink); background: var(--cream); font-family: var(--body); }
button, input { font: inherit; }
main { overflow-x: clip; }
h1, h2, p { margin: 0; }

/* Contenu contenu à ~80 % : les fonds restent pleine largeur,
   le contenu respire dans une colonne centrée. */
:root { --gutter: max(clamp(18px, 5vw, 54px), calc((100vw - 1120px) / 2)); }

/* ---------------- entête ---------------- */
.site-head { display: flex; align-items: center; justify-content: space-between; padding: 18px var(--gutter); }
.brand { display: flex; align-items: center; gap: 9px; }
.brand-house {
  display: grid; place-items: center;
  width: 54px; height: 48px; flex: 0 0 auto;
  padding: 5px 4px 4px;
  color: var(--ink); background: var(--sand);
  clip-path: polygon(5% 28%, 47% 1%, 96% 25%, 94% 96%, 3% 100%);
  transform: rotate(2deg);
}
.brand-house svg { width: 100%; height: 100%; stroke-width: 11; overflow: visible; }
.brand-house .thin { stroke-width: 6; }
.brand-lockup { display: grid; align-content: center; line-height: .76; }
.brand-la { margin: 0 0 3px 4px; color: var(--coral); font-family: var(--hand); font-size: 15px; transform: rotate(-7deg); }
.brand-name { color: var(--blue); font-family: var(--display); font-size: 27px; text-transform: uppercase; }
.login-link { color: var(--coral-dark); font-family: var(--hand); font-size: 15px; font-weight: 900; text-decoration: none; border-bottom: 2px solid var(--coral); padding-bottom: 1px; }

/* ---------------- héros ---------------- */
.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
  padding: clamp(24px, 5vw, 60px) var(--gutter) clamp(56px, 8vw, 110px);
}
.eyebrow { margin-bottom: 8px; color: var(--coral-dark); font-family: var(--hand); font-size: clamp(16px, 2vw, 19px); font-weight: 900; }
h1 {
  margin-bottom: 16px;
  color: var(--blue);
  font-family: var(--display);
  font-size: clamp(46px, 7.2vw, 90px);
  font-weight: 950;
  line-height: .88;
  text-transform: uppercase;
}
.stamp-word {
  display: inline-block;
  padding: 0 10px 2px;
  color: var(--cream);
  background: var(--coral);
  clip-path: polygon(2% 6%, 100% 0, 98% 94%, 0 100%);
  transform: rotate(-2deg);
  animation: stamp-in .55s cubic-bezier(.2, 2.2, .4, 1) .35s backwards;
}
@keyframes stamp-in {
  from { opacity: 0; transform: rotate(6deg) scale(2.1); }
  to { opacity: 1; transform: rotate(-2deg) scale(1); }
}
.hero .intro { max-width: 560px; margin-bottom: 26px; color: var(--muted); font-size: clamp(15px, 1.6vw, 17px); line-height: 1.5; }
.hero-actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.cta {
  display: inline-block;
  padding: 15px 22px;
  color: var(--cream);
  background: var(--coral);
  font-family: var(--hand);
  font-size: 17px;
  font-weight: 900;
  text-decoration: none;
  clip-path: polygon(2% 0, 100% 6%, 97% 100%, 0 93%);
  transition: transform .18s ease, background .18s ease;
}
.cta:hover { background: var(--coral-dark); transform: rotate(-1.2deg) scale(1.03); }
.free-stamp {
  display: inline-block;
  padding: 7px 12px;
  color: var(--coral-dark);
  border: 3px solid var(--coral);
  font-family: var(--display);
  font-size: 13px;
  line-height: 1.05;
  letter-spacing: .1em;
  text-align: center;
  text-transform: uppercase;
  transform: rotate(-7deg);
  clip-path: polygon(3% 8%, 98% 0, 100% 92%, 0 100%);
  animation: stamp-in .5s cubic-bezier(.2, 2.2, .4, 1) .8s backwards;
}

/* --- scène héros : la tournée se joue --- */
.hero-demo { position: relative; z-index: 3; justify-self: center; width: min(370px, 100%); margin-bottom: -74px; }
.demo-card {
  padding: 20px 20px 18px;
  background: var(--paper);
  clip-path: polygon(1% 2%, 99.4% 0, 100% 98%, 0 100%);
  transform: rotate(1.6deg);
  box-shadow: 0 1px 0 var(--line);
}
.demo-kicker { color: var(--coral-dark); font-family: var(--hand); font-size: 12px; font-weight: 900; }
.demo-title { display: block; margin: 3px 0 8px; color: var(--blue); font-family: var(--hand); font-size: 19px; }
.count-swap { position: relative; display: block; min-height: 1.2em; }
.count-swap span { position: absolute; inset: 0; }
.count-swap .c2 { opacity: 0; }
.demo-track { height: 7px; background: var(--sand); }
.demo-bar { display: block; width: 33%; height: 100%; background: var(--blue); }
.demo-list { margin: 14px 0 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.demo-list li { position: relative; display: flex; align-items: center; gap: 9px; padding-bottom: 11px; border-bottom: 1px solid var(--line); font-size: 13.5px; }
.demo-list li:last-child { border-bottom: 0; }
.demo-box { position: relative; width: 19px; height: 19px; flex: 0 0 auto; border: 2px solid var(--blue-mid); background: var(--paper); transform: rotate(-2deg); }
.demo-box i { position: absolute; inset: -4px 0 0 1px; color: var(--blue); font-size: 15px; font-style: normal; font-weight: 900; opacity: 0; }
.demo-check { display: grid; place-items: center; width: 19px; height: 19px; flex: 0 0 auto; color: var(--cream); background: var(--blue); font-size: 12px; transform: rotate(2deg); }
.demo-list .done { color: var(--muted); }
.task-label { position: relative; }
.task-label:after { content: ""; position: absolute; top: 55%; left: -2px; width: 0; border-top: 2px solid var(--muted); transform: rotate(-1deg); }
.demo-go { margin-left: auto; padding: 4px 9px; color: var(--cream); background: var(--blue); font-family: var(--hand); font-size: 11px; font-weight: 900; clip-path: polygon(3% 0, 100% 8%, 96% 100%, 0 92%); transform: rotate(-1deg); }
.demo-stamp {
  position: absolute; right: -8px; top: -9px;
  padding: 2px 7px;
  color: var(--coral);
  border: 2.5px solid var(--coral);
  font-family: var(--display);
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  background: rgba(255, 249, 239, .88);
  opacity: 0;
  transform: rotate(-8deg) scale(2);
}
.demo-note {
  width: 82%;
  margin: -6px 0 0 auto;
  padding: 11px 14px;
  color: var(--blue);
  background: var(--sand);
  font-family: var(--hand);
  font-size: 13px;
  font-weight: 900;
  clip-path: polygon(0 8%, 99% 0, 100% 92%, 2% 100%);
  transform: rotate(-2deg) translateY(8px);
  opacity: 0;
}
.demo-note small { display: block; margin-top: 3px; color: var(--muted); font-weight: 400; font-family: var(--body); font-size: 10.5px; }

/* la scène ne joue que lorsqu'elle est visible */
.scene.play .demo-box i { animation: pop-in .3s ease 1.4s forwards; }
.scene.play .task-label:after { animation: strike 0.45s ease-out 1.7s forwards; }
.scene.play .autoplay .demo-stamp { animation: stamp-live .5s cubic-bezier(.2, 2.2, .4, 1) 2.1s forwards; }
.scene.play .demo-bar { animation: bar-up .6s ease 2.5s forwards; }
.scene.play .count-swap .c1 { animation: fade-out .4s ease 2.6s forwards; }
.scene.play .count-swap .c2 { animation: fade-in .4s ease 2.7s forwards; }
.scene.play .demo-note { animation: note-in .55s ease 3.4s forwards; }
@keyframes pop-in { from { opacity: 0; transform: scale(2.4) rotate(14deg); } to { opacity: 1; transform: scale(1) rotate(0); } }
@keyframes strike { from { width: 0; } to { width: 103%; } }
@keyframes stamp-live { from { opacity: 0; transform: rotate(4deg) scale(2); } to { opacity: 1; transform: rotate(-8deg) scale(1); } }
@keyframes bar-up { from { width: 33%; } to { width: 66%; } }
@keyframes fade-out { to { opacity: 0; } }
@keyframes fade-in { to { opacity: 1; } }
@keyframes note-in { to { opacity: 1; transform: rotate(-2deg) translateY(0); } }

/* ---------------- bande promesse défilante ---------------- */
.promise-band {
  position: relative;
  z-index: 1;
  display: flex;
  overflow: hidden;
  width: 104%;
  margin-left: -2%;
  padding: 15px 0 17px;
  background: var(--coral);
  transform: rotate(-1.2deg);
  white-space: nowrap;
}
.band-track { display: flex; flex: 0 0 auto; gap: 52px; padding-right: 52px; animation: band-scroll 24s linear infinite; }
.band-track span { color: var(--cream); font-family: var(--hand); font-size: 17px; font-weight: 900; }
.band-track span:before { content: "✳ "; opacity: .6; }
@keyframes band-scroll { to { transform: translateX(-100%); } }
@media (prefers-reduced-motion: reduce) { .band-track { animation: none; } }

/* ---------------- titres de sections ---------------- */
.sec-number { color: var(--coral); font-family: var(--display); font-size: clamp(30px, 3.4vw, 44px); font-weight: 950; opacity: .55; }
h2 { font-family: var(--display); font-size: clamp(34px, 4.8vw, 58px); font-weight: 950; line-height: .9; text-transform: uppercase; margin: 4px 0 16px; }
.under-coral, .under-gold, .under-sky { box-shadow: inset 0 -0.28em 0 var(--coral); }
.under-gold { box-shadow: inset 0 -0.28em 0 var(--gold); }
.under-sky { box-shadow: inset 0 -0.28em 0 var(--sky); }
.hand-note { margin-top: 14px; color: inherit; font-family: var(--hand); font-size: 14px; font-weight: 900; opacity: .75; transform: rotate(-1.4deg); display: inline-block; }

/* ---------------- section calendrier (bleu) ---------------- */
.cal-section {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .9fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
  padding: clamp(70px, 9vw, 120px) var(--gutter) clamp(60px, 8vw, 96px);
  color: var(--cream);
  background: var(--blue);
}
.cal-copy h2 { color: var(--cream); }
.cal-copy p { max-width: 480px; color: #bdd0d9; font-size: 15px; line-height: 1.55; }
.cal-copy .hand-note { color: var(--sky); }

.cal-demo { position: relative; padding-top: 30px; }
.cal-card {
  padding: 18px 16px 16px;
  background: var(--paper);
  color: var(--ink);
  clip-path: polygon(.8% 2%, 99.4% 0, 100% 98%, 0 100%);
  transform: rotate(-1.3deg);
}
.cal-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 12px; }
.cal-head span { color: var(--coral-dark); font-family: var(--hand); font-size: 12px; font-weight: 900; }
.cal-head b { color: var(--blue); font-family: var(--display); font-size: 16px; text-transform: uppercase; letter-spacing: .04em; }
.cal-days { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; }
.cal-day { position: relative; min-height: 118px; padding: 6px; background: var(--cream); border: 1px solid var(--line); }
.cal-day i { display: block; margin-bottom: 6px; color: var(--muted); font-size: 9px; font-style: normal; font-weight: 800; text-transform: uppercase; }
.cal-day.away { background: rgba(201, 91, 71, .07); }
.cal-day.away:after { content: "absent"; position: absolute; right: 4px; top: 6px; color: var(--coral); font-size: 7.5px; font-weight: 900; text-transform: uppercase; }
.chip { display: block; margin-bottom: 5px; padding: 5px 6px; color: var(--cream); font-family: var(--hand); font-size: 10.5px; font-weight: 900; clip-path: polygon(2% 4%, 100% 0, 98% 96%, 0 100%); }
.chip-m { background: var(--blue-mid); }
.chip-c { background: var(--coral); }
.chip-l { background: var(--sky); color: var(--blue); }
.badge {
  position: absolute; left: 4px; bottom: 7px;
  padding: 3px 6px;
  font-family: var(--hand); font-size: 9px; font-weight: 900;
  opacity: 0; transform: scale(1.8) rotate(5deg);
}
.badge-move { color: var(--blue); background: var(--sand); }
.badge-give { color: var(--cream); background: var(--coral-dark); }
.badge-skip { color: var(--coral-dark); border: 2px solid var(--coral); background: var(--cream); }
.event-card {
  position: absolute;
  top: 0; left: -18px;
  z-index: 2;
  padding: 12px 16px;
  color: var(--cream);
  background: var(--coral);
  clip-path: polygon(1% 6%, 100% 0, 99% 94%, 0 100%);
  transform: rotate(-3deg) translateY(-46px);
  opacity: 0;
}
.event-card b { display: block; font-family: var(--hand); font-size: 14px; }
.event-card small { font-size: 10px; opacity: .85; }
.cal-verdict {
  width: fit-content;
  margin: 12px 0 0 22px;
  padding: 9px 13px;
  color: var(--blue);
  background: var(--sand);
  font-family: var(--hand);
  font-size: 13px;
  font-weight: 900;
  clip-path: polygon(0 10%, 99% 0, 100% 90%, 2% 100%);
  transform: rotate(1.2deg);
  opacity: 0;
}
.cal-verdict b { color: var(--coral-dark); }

.scene.play .event-card { animation: event-land .6s cubic-bezier(.25, 1.6, .45, 1) .5s forwards; }
.scene.play .shake-1 { animation: chip-shake .5s ease 1.3s; }
.scene.play .shake-2 { animation: chip-shake .5s ease 1.45s; }
.scene.play .shake-3 { animation: chip-shake .5s ease 1.6s; }
.scene.play .shake-4 { animation: chip-shake .5s ease 1.75s; }
.scene.play .badge-move { animation: badge-pop .4s cubic-bezier(.2, 2, .4, 1) 2.3s forwards; }
.scene.play .badge-give { animation: badge-pop .4s cubic-bezier(.2, 2, .4, 1) 3s forwards; }
.scene.play .badge-skip { animation: badge-pop .4s cubic-bezier(.2, 2, .4, 1) 3.7s forwards; }
.scene.play .cancels { animation: chip-cancel .4s ease 3.75s forwards; }
.scene.play .cal-verdict { animation: note-pop .5s ease 4.4s forwards; }
@keyframes event-land { from { opacity: 0; transform: rotate(4deg) translateY(-90px); } to { opacity: 1; transform: rotate(-3deg) translateY(-46px); } }
@keyframes chip-shake { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(-2.5deg) translateX(-2px); } 65% { transform: rotate(2deg) translateX(2px); } }
@keyframes badge-pop { from { opacity: 0; transform: scale(1.8) rotate(5deg); } to { opacity: 1; transform: scale(1) rotate(-2deg); } }
@keyframes chip-cancel { to { opacity: .45; text-decoration: line-through; } }
@keyframes note-pop { from { opacity: 0; transform: rotate(1.2deg) translateY(10px); } to { opacity: 1; transform: rotate(1.2deg) translateY(0); } }

/* ---------------- section durées (sable) ---------------- */
.time-section {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .85fr);
  gap: clamp(24px, 5vw, 60px);
  align-items: center;
  padding: clamp(56px, 8vw, 96px) var(--gutter) clamp(64px, 9vw, 110px);
  background: var(--sand);
}
.time-copy h2 { color: var(--blue); }
.time-copy p { max-width: 500px; color: var(--ink); font-size: 15px; line-height: 1.55; }
.time-copy b { color: var(--coral-dark); }
.time-demo { position: relative; justify-self: center; width: min(330px, 100%); }
.timer-card {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 2px;
  width: 78%;
  padding: 16px 18px;
  color: var(--cream);
  background: var(--blue);
  clip-path: polygon(1% 3%, 99% 0, 100% 96%, 0 100%);
  transform: rotate(-2deg) translateY(-30px);
}
.timer-label { font-family: var(--hand); font-size: 13px; font-weight: 900; color: var(--sky); }
.timer-value { font-family: var(--display); font-size: 44px; letter-spacing: .05em; line-height: 1; }
.timer-live { position: absolute; right: 13px; top: 13px; width: 9px; height: 9px; background: var(--coral); clip-path: polygon(10% 0, 100% 15%, 90% 100%, 0 85%); }
.scene.play .timer-live { animation: blink 1s steps(2, start) infinite; }
@keyframes blink { to { visibility: hidden; } }
.suggest-card {
  width: 88%;
  margin: -12px 0 0 auto;
  padding: 14px 16px;
  background: var(--paper);
  clip-path: polygon(0 4%, 99.4% 0, 100% 97%, 1% 100%);
  transform: rotate(1.6deg) translateY(12px);
  opacity: 0;
}
.suggest-card p { font-size: 13.5px; color: var(--ink); }
.suggest-card p b { color: var(--coral-dark); }
.suggest-actions { display: flex; gap: 12px; align-items: center; margin-top: 10px; }
.suggest-actions .yes { padding: 7px 12px; color: var(--cream); background: var(--coral); font-family: var(--hand); font-size: 12px; font-weight: 900; clip-path: polygon(2% 0, 100% 8%, 97% 100%, 0 92%); }
.suggest-actions i { color: var(--muted); font-family: var(--hand); font-size: 11px; font-weight: 900; font-style: normal; }
.scene.play .suggest-card { animation: note-in .6s ease 2.4s forwards; }
.scene.play .suggest-actions .yes { animation: pulse 2.4s ease 3.4s infinite; }
@keyframes pulse { 0%, 100% { transform: scale(1); } 8% { transform: scale(1.06) rotate(-1deg); } 16% { transform: scale(1); } }

/* ---------------- section maisonnée (crème, éparpillée) ---------------- */
.home-section {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(24px, 4vw, 50px);
  align-items: center;
  padding: clamp(46px, 7vw, 80px) var(--gutter) clamp(60px, 8vw, 100px);
}
.home-copy h2 { color: var(--blue); }
.home-copy p { max-width: 440px; color: var(--muted); font-size: 15px; line-height: 1.55; }
.home-demo { position: relative; min-height: 330px; }
.member {
  position: absolute;
  display: grid;
  place-items: center;
  width: 64px; height: 66px;
  color: var(--cream);
  font-family: var(--hand); font-size: 24px; font-weight: 900;
  clip-path: polygon(5% 0, 100% 8%, 94% 100%, 0 90%);
  opacity: 0;
  transform: scale(.6);
}
.member small { position: absolute; top: 103%; left: 50%; width: max-content; transform: translateX(-50%) rotate(-2deg); color: var(--muted); font-size: 9.5px; font-weight: 700; font-family: var(--body); }
.member-m { top: 8%; left: 6%; background: var(--blue-mid); rotate: -4deg; }
.member-c { top: 2%; left: 40%; background: var(--coral); rotate: 3deg; }
.member-l { top: 14%; right: 18%; background: var(--sky); color: var(--blue); rotate: -2deg; }
.member-e { top: 46%; left: 20%; background: var(--gold); rotate: 5deg; }
.tile {
  position: absolute;
  display: grid;
  justify-items: center;
  gap: 5px;
  padding: 13px 12px 9px;
  background: var(--sand);
  color: var(--blue);
  clip-path: polygon(2% 4%, 98% 0, 100% 96%, 0 100%);
  opacity: 0;
  transform: translateY(14px);
}
.tile svg { width: 34px; height: 34px; }
.tile small { max-width: 110px; font-family: var(--hand); font-size: 10.5px; font-weight: 900; text-align: center; }
.tile-1 { top: 42%; right: 4%; rotate: 2.5deg; }
.tile-2 { bottom: 2%; left: 42%; rotate: -3deg; }
.tile-3 { bottom: 6%; left: 4%; rotate: 1.5deg; }
.scene.play .member-m { animation: member-in .45s cubic-bezier(.2, 1.8, .4, 1) .3s forwards; }
.scene.play .member-c { animation: member-in .45s cubic-bezier(.2, 1.8, .4, 1) .55s forwards; }
.scene.play .member-l { animation: member-in .45s cubic-bezier(.2, 1.8, .4, 1) .8s forwards; }
.scene.play .member-e { animation: member-in .45s cubic-bezier(.2, 1.8, .4, 1) 1.05s forwards; }
.scene.play .tile-1 { animation: tile-in .5s ease 1.5s forwards; }
.scene.play .tile-2 { animation: tile-in .5s ease 1.75s forwards; }
.scene.play .tile-3 { animation: tile-in .5s ease 2s forwards; }
@keyframes member-in { from { opacity: 0; transform: scale(.6); } to { opacity: 1; transform: scale(1); } }
@keyframes tile-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }

/* ---------------- beta (bleu) ---------------- */
.beta {
  position: relative;
  margin-top: -14px;
  padding: clamp(50px, 7vw, 90px) var(--gutter) clamp(56px, 8vw, 96px);
  background: var(--blue);
  clip-path: polygon(0 24px, 100% 0, 100% 100%, 0 100%);
}
.beta-card-wrap { position: relative; max-width: 600px; margin: 0 auto; }
.beta-card {
  padding: clamp(24px, 4vw, 40px);
  color: var(--blue);
  background: var(--cream);
  clip-path: polygon(.8% 2%, 99.4% 0, 100% 97%, 0 100%);
  transform: rotate(-.6deg);
}
.beta-stamp {
  position: absolute;
  z-index: 2;
  top: -26px; right: 14px;
  padding: 8px 14px;
  color: var(--coral);
  border: 3.5px solid var(--coral);
  background: rgba(255, 249, 239, .9);
  font-family: var(--display);
  font-size: 20px;
  letter-spacing: .12em;
  text-transform: uppercase;
  opacity: 0;
  transform: rotate(8deg) scale(2);
}
.scene.play .beta-stamp { animation: stamp-live .5s cubic-bezier(.2, 2.2, .4, 1) .6s forwards; }
.beta-card .eyebrow { color: var(--coral-dark); }
.beta-title { color: var(--blue); margin-bottom: 10px; font-size: clamp(30px, 4vw, 44px); }
.beta-intro { margin-bottom: 20px; color: var(--muted); font-size: 14px; line-height: 1.55; }
.beta-card form { display: grid; gap: 6px; }
.beta-card label { font-family: var(--hand); font-size: 13px; font-weight: 900; }
.beta-card label small { color: var(--muted); font-family: var(--body); font-weight: 400; }
.beta-card input:not(.hp) {
  min-height: 45px;
  margin-bottom: 8px;
  padding: 0 11px;
  border: 0;
  border-bottom: 3px solid var(--blue);
  background: var(--paper);
  color: var(--ink);
}
.beta-card input:focus { outline: 3px solid rgba(201, 91, 71, .55); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.beta-card button {
  min-height: 50px;
  margin-top: 8px;
  border: 0;
  color: var(--cream);
  background: var(--coral);
  font-family: var(--hand);
  font-size: 16px;
  font-weight: 900;
  cursor: pointer;
  clip-path: polygon(2% 0, 100% 5%, 97% 100%, 0 94%);
  transition: transform .18s ease, background .18s ease;
}
.beta-card button:hover { background: var(--coral-dark); transform: rotate(-.8deg) scale(1.02); }
.beta-small { margin-top: 10px; color: var(--muted); font-size: 11px; }
.beta-done { padding: 16px 18px; color: var(--blue); background: var(--sand); font-size: 15px; clip-path: polygon(1% 5%, 100% 0, 99% 95%, 0 100%); }
.beta-done span { display: block; margin-top: 4px; color: var(--coral-dark); font-family: var(--hand); font-size: 13px; font-weight: 900; transform: rotate(-1deg); }
.beta-error {
  margin-bottom: 14px;
  padding: 10px 13px;
  color: var(--cream);
  background: var(--coral);
  font-family: var(--hand);
  font-size: 13px;
  font-weight: 900;
  clip-path: polygon(1% 8%, 100% 0, 99% 92%, 0 100%);
}

/* --- vie de la section beta --- */
.beta { overflow: hidden; }
.beta-doodle { position: absolute; pointer-events: none; }
.beta-doodle-house { left: -36px; bottom: -34px; width: 230px; color: rgba(245, 235, 221, .08); transform: rotate(-9deg); }
.beta-doodle-house svg { width: 100%; fill: none; stroke: currentColor; stroke-width: 11; stroke-linecap: round; stroke-linejoin: round; }
.beta-doodle-house .thin { stroke-width: 6; }
.beta-doodle-scribble { top: 14%; right: 6%; width: 96px; border-top: 5px solid rgba(201, 91, 71, .5); transform: rotate(-9deg); }
.beta-doodle-scribble2 { bottom: 18%; right: 12%; width: 60px; border-top: 4px solid rgba(157, 184, 204, .4); transform: rotate(6deg); }
.beta-chips { position: absolute; top: 74px; right: calc(var(--gutter) * .45); display: grid; gap: 12px; }
.beta-chips i {
  display: grid; place-items: center;
  width: 44px; height: 46px;
  color: var(--cream);
  font-family: var(--hand); font-size: 17px; font-weight: 900; font-style: normal;
  clip-path: polygon(5% 0, 100% 8%, 94% 100%, 0 90%);
  animation: bob 3.4s ease-in-out infinite alternate;
}
.beta-chips .bc-m { background: var(--blue-mid); rotate: -4deg; }
.beta-chips .bc-c { background: var(--coral); rotate: 3deg; animation-delay: .5s; }
.beta-chips .bc-l { background: var(--sky); color: var(--blue); rotate: -2deg; animation-delay: 1s; }
.beta-chips .bc-e { background: var(--gold); rotate: 5deg; animation-delay: 1.5s; }
@keyframes bob { from { transform: translateY(-3px); } to { transform: translateY(4px); } }
.beta-hook {
  position: absolute;
  top: 34%;
  left: calc(50% - 560px);
  max-width: 200px;
  color: var(--sky);
  font-family: var(--hand);
  font-size: 17px;
  font-weight: 900;
  line-height: 1.3;
  text-align: right;
  transform: rotate(-3deg);
}
.beta-arrow { display: block; width: 86px; margin: 12px 0 0 auto; color: var(--coral); }
.beta-arrow path { stroke-dasharray: 130; stroke-dashoffset: 130; }
.beta:has(.scene.play) .beta-arrow .arrow-line { animation: draw 0.9s ease 1s forwards; }
.beta:has(.scene.play) .beta-arrow .arrow-head { animation: draw 0.4s ease 1.8s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@media (max-width: 1180px) { .beta-hook, .beta-chips { display: none; } }

/* ---------------- pied ---------------- */
.site-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  padding: 20px var(--gutter) 26px;
  color: var(--muted);
  font-size: 12px;
}
.foot-brand { display: flex; align-items: center; gap: 8px; color: var(--blue); font-family: var(--display); font-size: 15px; text-transform: uppercase; }
.foot-brand .brand-house { width: 34px; height: 30px; }
.foot-line { font-family: var(--hand); transform: rotate(-1deg); }
.site-foot a { color: var(--coral-dark); font-family: var(--hand); font-weight: 900; text-decoration: none; }

/* ---------------- mouvement réduit ---------------- */
@media (prefers-reduced-motion: reduce) {
  .stamp-word, .free-stamp, .promise-band span { animation: none !important; }
  .scene .demo-box i, .scene .demo-stamp, .scene .demo-note, .scene .event-card,
  .scene .badge, .scene .cal-verdict, .scene .suggest-card, .scene .member, .scene .tile,
  .scene .beta-stamp { opacity: 1 !important; transform: none !important; animation: none !important; }
  .scene .count-swap .c1 { opacity: 0; }
  .scene .count-swap .c2 { opacity: 1; }
  .scene .demo-bar { width: 66%; }
  .scene .task-label:after { width: 103%; }
}

/* ---------------- mobile ---------------- */
@media (max-width: 820px) {
  .hero { grid-template-columns: 1fr; padding-bottom: 30px; }
  .hero-demo { justify-self: start; margin: 8px 0 -46px 4px; }
  .cal-section, .time-section, .home-section { grid-template-columns: 1fr; }
  .cal-demo { order: 2; margin-top: 6px; }
  .cal-copy { order: 1; }
  .event-card { left: auto; right: -6px; }
  .time-demo { justify-self: start; }
  .timer-card { transform: rotate(-2deg) translateY(-18px); }
  .home-demo { min-height: 0; margin-top: 10px; display: flex; flex-wrap: wrap; gap: 26px 34px; align-items: flex-start; }
  .member, .tile { position: relative; }
  .member { margin-bottom: 20px; }
  .site-foot { justify-content: center; text-align: center; }
}
