:root {
  --bg: #fff8f1;
  --cream: #fff8f1;
  --peach: #f4c4a4;
  --muted: #a07860;
  --orange: #e56b35;
  --orange-deep: #c44e1c;
  --ink: #5a3a2a;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Nunito", sans-serif;
  --app-bg: linear-gradient(180deg, #fbe4cf 0%, #f3c9a3 55%, #e8b07a 100%);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; overflow: hidden; cursor: none; }
body {
  background: linear-gradient(180deg, #fff8f1 0%, #fbe4cf 48%, #f3c9a3 100%);
  color: var(--ink);
  font-family: var(--sans);
}
button { font-family: inherit; cursor: none; }
a:focus-visible, button:focus-visible { outline: 2px solid #6e3018; outline-offset: 3px; }
a, button, .scrub button,
.scrub a { cursor: none; }
.dust {
  position: fixed;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}
.grove {
  position: fixed;
  z-index: 4;
  left: 0;
  top: 0;
  bottom: 0;
  width: min(58vw, 820px);
  pointer-events: auto;
  background: url("img/arbre-carte.jpg") 32% 38% / cover no-repeat;
}
.grove::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, transparent 58%, rgba(255, 248, 241, 0.4) 82%, #fff8f1 100%);
}
.hot {
  position: absolute;
  width: 36px;
  height: 36px;
  margin: -18px 0 0 -18px;
  border: 0;
  background: transparent;
  z-index: 5;
  cursor: pointer;
}
.hot::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 11px;
  height: 16px;
  margin: -8px 0 0 -5.5px;
  background: #e8b07a;
  clip-path: polygon(50% 0%, 88% 32%, 50% 100%, 12% 32%);
  opacity: 0.45;
  filter: drop-shadow(0 0 4px rgba(229, 107, 53, 0.4));
  transition: opacity 0.2s ease, transform 0.2s ease, filter 0.2s ease, background 0.2s ease;
}
.hot:hover::before,
.hot.on::before {
  opacity: 1;
  background: #fff6ee;
  transform: scale(1.45);
  filter: drop-shadow(0 0 8px #e56b35) drop-shadow(0 0 18px #c44e1c);
}
.hot span {
  position: absolute;
  left: 50%;
  top: 118%;
  transform: translateX(-50%) translateY(4px);
  white-space: nowrap;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff8f1;
  background: rgba(90, 58, 42, 0.82);
  padding: 5px 10px;
  border-radius: 999px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
}
.hot:hover span,
.hot.on span {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.cursor {
  position: fixed;
  width: 22px;
  height: 32px;
  margin: -16px 0 0 -11px;
  pointer-events: none;
  z-index: 40;
  transform: translate3d(-100px, -100px, 0);
  background: none;
}
.cursor svg {
  display: block;
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 0 6px rgba(232, 196, 90, 0.7));
  transform-origin: 50% 30%;
  animation: glow 2.4s ease-in-out infinite;
}
.cursor::before {
  content: "";
  position: absolute;
  inset: -16px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 196, 90, 0.28) 0%, transparent 70%);
  animation: aura 2.2s ease-in-out infinite;
  z-index: -1;
}
.cursor::after { display: none; }
@keyframes glow {
  50% { transform: rotate(10deg) scale(1.06); }
}
@keyframes aura {
  50% { transform: scale(1.25); opacity: 0.75; }
}
.sweep {
  position: fixed;
  inset: 0;
  z-index: 7;
  pointer-events: none;
  background: linear-gradient(105deg, transparent 28%, rgba(255, 248, 241, 0.32) 50%, transparent 72%);
  transform: translateX(-70%);
  transition: transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
  mix-blend-mode: overlay;
}
.sweep.go { transform: translateX(70%); }
body.wind-l .sweep { transform: translateX(70%); }
body.wind-l .sweep.go { transform: translateX(-70%); }

.bar {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 22px 3vw 0 min(56vw, 800px);
  gap: 24px;
  overflow: visible;
  min-height: 118px;
}
.wordmark {
  width: auto;
  height: 44px;
  max-width: min(52vw, 280px);
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 10px 18px rgba(196, 78, 28, 0.12));
}
.wordmark path {
  stroke-dasharray: 900;
  stroke-dashoffset: 0;
}
.wordmark .slash {
  stroke: #e56b35;
  stroke-width: 3.5;
}
.wordmark .wm-a path { stroke: #c44e1c; }
.wordmark .wm-a .slash { stroke: #e56b35; }
.wordmark .wm-rest path { stroke: #5a3a2a; }
.bar-end {
  display: flex;
  align-items: center;
  gap: 12px;
}
.count {
  letter-spacing: 0.18em;
  font-size: 13px;
  color: var(--orange-deep);
  padding-bottom: 10px;
}
.sound-btn {
  width: 38px;
  height: 38px;
  margin-bottom: 4px;
  border: 0;
  border-radius: 50%;
  padding: 0;
  display: grid;
  place-items: center;
  cursor: pointer;
  color: #fff8f1;
  background: rgba(255, 248, 241, 0.16);
  box-shadow: 0 2px 12px rgba(18, 10, 8, 0.28);
  backdrop-filter: blur(8px);
}
.sound-btn svg { width: 18px; height: 18px; display: block; }
.sound-btn .ic-off { display: none; }
.sound-btn.is-off .ic-on { display: none; }
.sound-btn.is-off .ic-off { display: block; }
.sound-btn:hover { background: rgba(255, 248, 241, 0.32); }

.stage {
  position: relative;
  z-index: 1;
  height: calc(100% - 168px);
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(220px, 300px);
  gap: 2vw;
  align-items: center;
  padding: 0 2vw 0 min(56vw, 800px);
  pointer-events: none;
}
.copy, .device-col { pointer-events: auto; }
.copy { max-width: 380px; }
.kicker {
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 12px;
  color: var(--orange-deep);
}
.copy h1 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(32px, 4vw, 58px);
  line-height: 0.92;
  letter-spacing: -0.03em;
  margin: 10px 0 16px;
  color: var(--ink);
}
.lead { color: var(--ink); font-size: 17px; max-width: 42ch; }
.points { list-style: none; margin-top: 22px; }
.points li {
  padding: 10px 0;
  border-top: 1px solid rgba(196, 78, 28, 0.16);
  color: var(--muted);
  font-size: 15px;
}
.copy.is-out { animation: out 0.28s ease forwards; }
.copy.is-in { animation: inn 0.55s cubic-bezier(0.22, 1, 0.36, 1) both; }
@keyframes out { to { opacity: 0; transform: translateY(-12px); filter: blur(4px); } }
@keyframes inn { from { opacity: 0; transform: translateY(16px); filter: blur(6px); } }
@keyframes leaf-away { to { opacity: 0; transform: translateX(-52px) rotate(-5deg); filter: blur(8px); } }
@keyframes leaf-arrive { from { opacity: 0; transform: translateX(58px) rotate(5deg) scale(1.04); filter: blur(10px); } }
@keyframes leaf-away-l { to { opacity: 0; transform: translateX(52px) rotate(5deg); filter: blur(8px); } }
@keyframes leaf-arrive-l { from { opacity: 0; transform: translateX(-58px) rotate(-5deg) scale(1.04); filter: blur(10px); } }
@keyframes canopy-idle {
  0%, 100% { background-position: 46% 32%; }
  50% { background-position: 51% 28%; }
}
@keyframes canopy-gust {
  0% { background-position: 46% 32%; }
  38% { background-position: 58% 26%; }
  100% { background-position: 46% 32%; }
}
@keyframes canopy-gust-l {
  0% { background-position: 46% 32%; }
  38% { background-position: 34% 36%; }
  100% { background-position: 46% 32%; }
}
@keyframes card-gust {
  0% { transform: translateX(0) rotate(0deg); }
  30% { transform: translateX(20px) rotate(2.4deg); }
  100% { transform: translateX(0) rotate(0deg); }
}
@keyframes card-gust-l {
  0% { transform: translateX(0) rotate(0deg); }
  30% { transform: translateX(-20px) rotate(-2.4deg); }
  100% { transform: translateX(0) rotate(0deg); }
}

.device-col { perspective: 1400px; }
.device {
  position: relative;
  width: min(100%, 280px);
  margin-left: auto;
  background: #5a3a2a;
  border-radius: 38px;
  padding: 12px;
  transform-style: preserve-3d;
  transform: rotateY(-10deg) rotateX(6deg);
  will-change: transform;
  box-shadow:
    0 0 0 1px rgba(90, 58, 42, 0.2),
    0 28px 60px rgba(196, 78, 28, 0.28);
}
.device-glass {
  pointer-events: none;
  position: absolute;
  inset: 12px;
  border-radius: 28px;
  background: linear-gradient(115deg, rgba(255,255,255,0.28), transparent 32%);
  mix-blend-mode: soft-light;
  z-index: 2;
}
.screen {
  position: relative;
  height: 460px;
  border-radius: 28px;
  overflow: hidden;
  background: var(--app-bg);
  color: var(--ink);
  font-family: var(--sans);
}
.screen.is-out { animation: phone-out 0.28s ease forwards; }
.screen.is-in { animation: phone-in 0.55s cubic-bezier(0.22, 1, 0.36, 1) both; }
@keyframes phone-out { to { opacity: 0; transform: translateY(18px) scale(0.98); filter: blur(5px); } }
@keyframes phone-in { from { opacity: 0; transform: translateY(-18px) scale(1.02); filter: blur(6px); } }

.device.bare {
  background: transparent;
  padding: 0;
  box-shadow: none;
  transform: none;
  border-radius: 0;
  width: min(100%, 340px);
}
.device.bare .device-glass { display: none; }
.device.bare .screen {
  height: auto;
  background: transparent;
  overflow: visible;
  border-radius: 0;
}
.poster {
  text-align: center;
  color: #fff8f1;
  background: linear-gradient(165deg, rgba(28, 16, 12, 0.58), rgba(90, 58, 42, 0.36));
  backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 248, 241, 0.22);
  border-radius: 28px;
  padding: 26px 18px 30px;
  box-shadow: 0 24px 50px rgba(12, 6, 4, 0.38);
}
.poster-orbit {
  position: relative;
  width: 260px;
  height: 260px;
  margin: 0 auto;
}
.poster-orbit span {
  position: absolute;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
  color: #fff8f1;
  text-shadow: 0 6px 18px rgba(12, 6, 4, 0.55);
  letter-spacing: 0.04em;
}
.poster-orbit .a { left: 50%; top: 0; transform: translateX(-50%); }
.poster-orbit .b { right: 0; top: 46%; transform: translateY(-50%); }
.poster-orbit .c { left: 50%; bottom: 0; transform: translateX(-50%); }
.poster-orbit .d { left: 0; top: 46%; transform: translateY(-50%); }
.poster-core {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 148px;
  height: 148px;
  margin: -74px 0 0 -74px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at 40% 35%, rgba(255, 248, 241, 0.22), rgba(229, 107, 53, 0.42) 42%, rgba(90, 58, 42, 0.5) 78%);
  box-shadow:
    0 0 0 1px rgba(255, 248, 241, 0.28),
    0 0 40px rgba(229, 107, 53, 0.4);
}
.poster-core small {
  letter-spacing: 0.32em;
  text-transform: uppercase;
  font-size: 10px;
  color: #f4c4a4;
}
.poster-core b {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 600;
  line-height: 0.92;
  margin-top: 6px;
}
.poster-type { padding: 12px 8px; }
.hook {
  position: relative;
  text-align: center;
  max-width: min(94vw, 52em);
  margin: 0 auto;
  overflow: visible;
}
.hook-k {
  font-family: var(--serif);
  font-size: clamp(18px, 4.6vw, 26px);
  font-weight: 600;
  font-style: italic;
  letter-spacing: -0.01em;
  text-transform: none;
  color: #c44e1c;
  margin: 12px 0 0;
  text-shadow: 0 0 22px rgba(255, 248, 241, 0.65);
}
.hook h2 {
  font-family: var(--serif);
  font-size: clamp(26px, 6.4vw, 72px);
  font-weight: 600;
  line-height: 0.92;
  letter-spacing: -0.04em;
  color: #5a3a2a;
  white-space: nowrap;
  text-shadow: 0 0 28px rgba(255, 248, 241, 0.55);
}
.hook-lines {
  margin: 20px auto 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-width: 16em;
}
.hook-lines span {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 600;
  font-size: clamp(22px, 3.4vw, 40px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: #6b4030;
  text-shadow: 0 0 28px rgba(255, 248, 241, 0.95), 0 0 8px rgba(255, 248, 241, 0.8);
}
.hook-lines span:first-child { color: #c44e1c; }
.hook-acts {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}
.hook-go {
  display: inline-block;
  padding: 10px 16px;
  border-radius: 999px;
  background: #5a3a2a;
  color: #fff8f1;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.01em;
}
.hook-go.is-quiet {
  background: transparent;
  color: #5a3a2a;
  box-shadow: inset 0 0 0 1px rgba(90, 58, 42, 0.4);
}
.hook-cloud {
  margin: 22px auto 0;
  max-width: 36em;
  font-size: 14px;
  line-height: 1.85;
  letter-spacing: 0.02em;
  font-weight: 600;
  color: #5a3a2a;
  text-shadow: 0 0 16px rgba(255, 248, 241, 0.55);
}
.hook-foot {
  margin: 18px auto 0;
  max-width: 18em;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 600;
  font-size: clamp(16px, 2vw, 22px);
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: #5a3a2a;
  text-shadow: 0 0 22px rgba(255, 248, 241, 0.9);
}
body.is-hook .copy { display: none; }
body.is-hook .count { color: #5a3a2a; text-shadow: 0 1px 0 rgba(255, 248, 241, 0.4); }
body.is-hook .sound-btn {
  color: #5a3a2a;
  background: rgba(255, 248, 241, 0.5);
}
body.is-hook .grove::after {
  background:
    radial-gradient(ellipse at 50% 48%, rgba(255, 248, 241, 0.78) 0%, rgba(255, 248, 241, 0.32) 36%, transparent 68%),
    linear-gradient(180deg, rgba(28, 16, 12, 0.16) 0%, transparent 18%, transparent 64%, rgba(18, 10, 8, 0.5) 100%);
}
.device.bare:has(.hook),
.device.bare:has(.grove-act) {
  box-shadow: none;
  width: min(94vw, 920px);
}
.grove-act { width: min(94vw, 920px); margin: 0 auto; color: #5a3a2a; }
.salle .seats { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.salle .seat { margin: 0; text-align: center; }
.salle .seat b {
  font-family: var(--serif);
  font-weight: 600;
  font-style: italic;
  font-size: clamp(52px, 12vw, 96px);
  line-height: 0.86;
  letter-spacing: -0.04em;
  color: #5a3a2a;
  text-shadow: 0 0 28px rgba(255, 248, 241, 0.95), 0 0 8px rgba(255, 248, 241, 0.8);
}
.salle .seat i {
  display: block;
  margin-top: 2px;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 600;
  font-size: clamp(16px, 2vw, 22px);
  color: #c44e1c;
  text-shadow: 0 0 16px rgba(255, 248, 241, 0.8);
}
.carte .pair { display: flex; justify-content: center; align-items: flex-end; gap: clamp(24px, 6vw, 88px); }
.carte .pair p { margin: 0; }
.carte .pair b, .prix .sum, .heures .one, .heures .two, .carte .say {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 0.84;
  color: #5a3a2a;
  text-shadow: 0 0 32px rgba(255, 248, 241, 0.95), 0 0 10px rgba(255, 248, 241, 0.85);
}
.carte .pair b { display: block; font-size: clamp(72px, 12vw, 148px); }
.carte .pair small, .prix .vs, .prix .rule, .heures .code {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 600;
  color: #6b4030;
  text-shadow: 0 0 18px rgba(255, 248, 241, 0.9);
}
.carte .pair small { display: block; margin-top: 8px; font-size: clamp(16px, 2vw, 24px); }
.carte .say { font-size: clamp(36px, 5.4vw, 68px); font-style: italic; line-height: 1.05; margin: 0; }
.grove-act .pills { justify-content: center; margin-top: 28px; gap: 4px; }
.grove-act .pills button {
  flex: 0 0 auto;
  border: 0;
  border-radius: 0;
  background: none;
  padding: 6px 12px;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 600;
  font-size: clamp(16px, 2vw, 22px);
  color: rgba(90, 58, 42, 0.45);
}
.grove-act .pills button.on { background: none; color: #c44e1c; box-shadow: none; }
.heures .one { margin: 0; text-align: left; font-size: clamp(34px, 5vw, 64px); }
.heures .two {
  margin: 6px 0 0;
  text-align: right;
  font-style: italic;
  font-size: clamp(48px, 8vw, 112px);
  color: #c44e1c;
}
.heures .code { margin: 22px 0 0; text-align: left; font-size: clamp(16px, 2vw, 24px); }
.prix { text-align: center; }
.prix .sum { margin: 0; font-size: clamp(104px, 16vw, 188px); }
.prix .vs {
  display: flex;
  justify-content: center;
  gap: 28px;
  margin: 14px 0 0;
  font-size: clamp(18px, 2.2vw, 28px);
}
.prix .rule { margin: 16px auto 0; max-width: 16em; font-size: clamp(16px, 1.8vw, 22px); line-height: 1.35; }
.plan, .desk { width: min(92vw, 540px); text-align: left; }
.plan-eye {
  margin: 0 0 12px;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 600;
  font-size: clamp(18px, 2.2vw, 26px);
  color: #c44e1c;
  text-align: center;
  text-shadow: 0 0 18px rgba(255, 248, 241, 0.9);
}
.plan-days {
  display: flex;
  justify-content: center;
  gap: 6px;
}
.plan-days button {
  width: 48px;
  height: 54px;
  border: 0;
  border-radius: 16px;
  padding: 6px 0 8px;
  background: rgba(255, 248, 241, 0.42);
  color: #5a3a2a;
  cursor: pointer;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 16px rgba(18, 10, 8, 0.12);
}
.plan-days button b {
  display: block;
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  opacity: 0.7;
}
.plan-days button span {
  display: block;
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.1;
  margin-top: 2px;
}
.plan-days button.on {
  background: #5a3a2a;
  color: #fff8f1;
}
.plan-when {
  margin: 14px 0 8px;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 600;
  font-size: clamp(16px, 2vw, 22px);
  color: #5a3a2a;
  text-shadow: 0 0 16px rgba(255, 248, 241, 0.85);
}
.plan-card {
  margin-top: 8px;
  padding: 12px 14px 11px;
  border-radius: 18px;
  background: rgba(255, 248, 241, 0.62);
  backdrop-filter: blur(14px);
  box-shadow: 0 10px 28px rgba(18, 10, 8, 0.14);
}
.plan-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}
.plan-top b {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.plan-top em {
  font-style: normal;
  font-weight: 700;
  font-size: 14px;
  color: #3f6a4e;
}
.plan-card p {
  margin: 2px 0 10px;
  font-size: 13px;
  color: #6b4030;
}
.plan-ops { display: flex; align-items: center; gap: 6px; }
.plan-ops button {
  border: 0;
  border-radius: 999px;
  padding: 5px 12px;
  background: rgba(90, 58, 42, 0.08);
  color: #5a3a2a;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}
.plan-ops button.on { background: #c44e1c; color: #fff8f1; }
.plan-x {
  margin-left: auto;
  width: 28px;
  height: 28px;
  padding: 0 !important;
  border-radius: 50% !important;
  background: rgba(90, 58, 42, 0.1) !important;
  color: #5a3a2a !important;
  font-size: 18px !important;
  line-height: 1;
}
.desk-cash, .desk-done {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  margin: 0;
  padding: 14px 16px;
  border: 0;
  border-radius: 22px;
  background: rgba(255, 248, 241, 0.66);
  color: #5a3a2a;
  text-align: left;
  cursor: pointer;
  backdrop-filter: blur(14px);
  box-shadow: 0 10px 28px rgba(18, 10, 8, 0.14);
}
.desk-done {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 600;
  font-size: 22px;
  cursor: default;
}
.desk-ok {
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: #c44e1c;
  color: #fff8f1;
  font-weight: 700;
}
.desk-cash b, .desk-kpis b {
  display: block;
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: -0.03em;
}
.desk-cash b { font-size: 20px; }
.desk-cash small { display: block; margin-top: 2px; font-size: 12px; color: #6b4030; }
.desk-cash i {
  margin-left: auto;
  font-style: normal;
  font-weight: 700;
  font-size: 22px;
  color: #c44e1c;
}
.desk-kpis {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 22px;
}
.desk-kpis b {
  font-size: clamp(40px, 7vw, 56px);
  line-height: 0.9;
  text-shadow: 0 0 22px rgba(255, 248, 241, 0.9);
}
.desk-kpis span {
  display: block;
  margin-top: 6px;
  font-weight: 700;
  font-size: 14px;
}
.desk-kpis small { display: block; margin-top: 2px; font-size: 12px; color: #6b4030; }
.desk-exp { margin-top: 20px; }
.desk-exp p {
  margin: 0 0 8px;
  font-weight: 700;
  font-size: 15px;
}
.desk-exp ul { margin: 0; padding: 0; list-style: none; }
.desk-exp li {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 600;
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.45;
  text-shadow: 0 0 16px rgba(255, 248, 241, 0.85);
}
.poster-k {
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-size: 11px;
  color: #f4c4a4;
  margin-bottom: 10px;
}
.poster-hero {
  font-family: var(--serif);
  font-size: clamp(36px, 5vw, 52px);
  font-weight: 600;
  line-height: 0.9;
  letter-spacing: -0.03em;
  text-shadow: 0 10px 28px rgba(12, 6, 4, 0.55);
}
.poster-or {
  font-family: var(--serif);
  font-style: italic;
  font-size: 18px;
  color: #f4c4a4;
  margin: 10px 0;
}
.poster-line {
  margin-top: 18px;
  font-size: 15px;
  letter-spacing: 0.08em;
  color: rgba(255, 248, 241, 0.88);
}
.poster-foot {
  margin-top: 8px;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #f4c4a4;
}

.app { height: 100%; display: flex; flex-direction: column; padding: 22px 16px 8px; }
.app-top { display: flex; justify-content: space-between; align-items: center; font-size: 13px; }
.app-school { font-family: var(--serif); font-size: 26px; font-weight: 600; color: var(--orange-deep); }
.app-h { font-family: var(--serif); font-size: 28px; font-weight: 600; margin: 16px 0 4px; }
.app-sub { font-size: 13px; color: #a07860; margin-bottom: 12px; }
.app-input, .row, .fig, .note {
  background: rgba(255, 248, 241, 0.92);
  border: 1px solid rgba(229, 107, 53, 0.18);
  border-radius: 14px;
  padding: 12px 14px;
  margin-top: 8px;
  font-size: 14px;
  color: #a07860;
}
.app-btn {
  margin-top: 14px;
  border: 0;
  border-radius: 14px;
  padding: 13px;
  color: #fff;
  font-weight: 700;
  background: linear-gradient(135deg, #f08a4b, #e56b35 48%, #c44e1c);
}
.pills { display: flex; gap: 8px; margin-top: 12px; }
.pills button {
  flex: 1;
  border-radius: 999px;
  border: 1px solid rgba(229, 107, 53, 0.25);
  background: rgba(255, 248, 241, 0.7);
  color: var(--ink);
  padding: 8px 6px;
  font-size: 12px;
  font-weight: 700;
}
.pills button.on { background: var(--ink); color: #fff8f1; border-color: transparent; }
.pass {
  margin-top: 8px;
  background: rgba(255, 248, 241, 0.94);
  border-radius: 18px;
  padding: 14px;
  box-shadow: 0 12px 30px rgba(196, 78, 28, 0.14);
}
.pass-tag {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(229, 107, 53, 0.12);
  color: var(--orange-deep);
  border-radius: 999px;
  padding: 4px 8px;
}
.pass-kicker { float: right; font-size: 12px; color: #a07860; }
.pass-stats { display: flex; justify-content: space-between; margin-top: 14px; }
.pass-stats b { display: block; font-family: var(--serif); font-size: 32px; font-weight: 600; line-height: 1; }
.pass-stats span { font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: #a07860; }
.pass.is-tree {
  background:
    linear-gradient(135deg, rgba(90, 58, 42, 0.42) 0%, rgba(196, 78, 28, 0.38) 45%, rgba(229, 107, 53, 0.28) 100%),
    url("img/arbre-carte.jpg") center 40% / cover no-repeat;
  color: #fff;
  min-height: 168px;
}
.pass.is-tree .pass-tag {
  background: rgba(255, 248, 241, 0.16);
  color: #fff8f1;
}
.pass.is-tree .pass-kicker,
.pass.is-tree .pass-stats span { color: rgba(255, 248, 241, 0.85); }
.pass.is-tree .pass-stats b { color: #fff; }
.pass.is-tree .fire { background: rgba(255, 248, 241, 0.18); }
.login-hero {
  height: 92px;
  border-radius: 16px;
  margin: 8px 0 4px;
  background: url("img/arbre-login.jpg") center 55% / cover no-repeat;
  box-shadow: 0 8px 18px rgba(196, 78, 28, 0.22);
}
.bubble {
  background: rgba(255, 248, 241, 0.92);
  border: 1px solid rgba(229, 107, 53, 0.18);
  border-radius: 14px 14px 14px 4px;
  padding: 10px 12px;
  margin-top: 8px;
  font-size: 13px;
  color: var(--ink);
}
.bubble.me {
  border-radius: 14px 14px 4px 14px;
  background: linear-gradient(135deg, #f08a4b, #c44e1c);
  color: #fff;
  border: 0;
}
.bubble.pin { box-shadow: inset 3px 0 0 #e56b35; }
.fab {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #e56b35;
  box-shadow: 0 0 10px #e56b35;
  font-size: 0;
}
.fire i { display: block; height: 100%; width: 70%; background: linear-gradient(90deg, #e8b07a, #e56b35); }
.days { display: flex; gap: 6px; margin: 12px 0; }
.days span {
  flex: 1;
  text-align: center;
  font-size: 11px;
  padding: 8px 0;
  border-radius: 12px;
  background: rgba(255, 248, 241, 0.7);
}
.days .on { background: var(--ink); color: #fff8f1; }
.row { display: flex; justify-content: space-between; align-items: center; color: var(--ink); }
.row b { font-size: 15px; }
.row small { color: #a07860; }
.row .here { color: var(--orange-deep); font-weight: 700; font-size: 12px; }
.nav {
  margin-top: auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: rgba(255, 248, 241, 0.92);
  border-radius: 16px 16px 20px 20px;
  padding: 8px 4px 10px;
  text-align: center;
  font-size: 10px;
  color: #a07860;
}
.nav .on { color: var(--orange-deep); font-weight: 700; }
.checks { list-style: none; margin-top: 8px; }
.checks li {
  background: rgba(255, 248, 241, 0.92);
  border-radius: 12px;
  padding: 10px 12px;
  margin-top: 6px;
  font-size: 14px;
}
.checks .on { box-shadow: inset 3px 0 0 var(--orange); }
.figs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; }
.fig { margin: 0; min-height: 72px; color: var(--ink); font-weight: 700; }
.fig.ok { background: linear-gradient(145deg, #fff8f1, #f4c4a4); }
.fig.dim { opacity: 0.45; }
.nodes { position: relative; margin-top: 10px; }
.nodes svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.nodes .row { position: relative; z-index: 1; }

.scrub {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 8px;
  padding: 0 3vw 8px min(56vw, 800px);
  overflow: auto;
}
.scrub button,
.scrub a {
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.04em;
  padding: 8px 10px;
  border-radius: 999px;
  white-space: nowrap;
  text-decoration: none;
  font-family: inherit;
}
.scrub button i,
.scrub a i { font-style: normal; opacity: 0.5; margin-right: 4px; }
.scrub button.on {
  color: #fff8f1;
  background: var(--ink);
}
.hint {
  position: relative;
  z-index: 2;
  text-align: center;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  padding-bottom: 14px;
}
.hint-ph { display: none; }

.hot { display: none; }
.dust { z-index: 12; }
.grove {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
  z-index: 0;
  pointer-events: none;
  background-position: 46% 32%;
  background-size: cover;
  animation: canopy-idle 16s ease-in-out infinite;
}
.grove.gust { animation: canopy-gust 0.9s ease; }
body.wind-l .grove.gust { animation: canopy-gust-l 0.9s ease; }
.grove::after {
  background:
    linear-gradient(180deg, rgba(28, 16, 12, 0.42) 0%, transparent 28%, transparent 55%, rgba(18, 10, 8, 0.72) 100%),
    radial-gradient(ellipse at 50% 38%, transparent 22%, rgba(18, 10, 8, 0.4) 100%);
}
.bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 8;
  padding: 10px 16px 0;
  min-height: 0;
  align-items: center;
}
.wordmark {
  width: auto;
  height: 36px;
  max-width: min(70vw, 280px);
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 4px 14px rgba(255, 248, 241, 0.28));
}
.count {
  color: #fff8f1;
  padding-bottom: 0;
  font-size: 11px;
  text-shadow: 0 2px 10px rgba(18, 10, 8, 0.7);
}
.bar-end .count { padding-bottom: 0; }
.sound-btn {
  margin-bottom: 0;
  width: 34px;
  height: 34px;
  color: #fff8f1;
}
.stage {
  position: fixed;
  top: 76px;
  left: 0;
  right: 0;
  bottom: calc(92px + env(safe-area-inset-bottom));
  z-index: 6;
  height: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  grid-template-columns: none;
  padding: 0 20px;
  pointer-events: auto;
  overflow: hidden;
  background: none;
  box-shadow: none;
  border-radius: 0;
}
.stage::before { display: none; }
.device-col {
  display: flex;
  order: 0;
  perspective: none;
  flex: 0 0 auto;
  min-height: 0;
  width: auto;
  max-width: 100%;
  align-items: center;
  justify-content: center;
}
.device {
  width: min(78vw, 300px);
  height: auto;
  max-height: none;
  aspect-ratio: auto;
  margin: 0 auto;
  padding: 0;
  background: transparent;
  border-radius: 22px;
  transform: none;
  box-shadow:
    0 0 0 1px rgba(255, 248, 241, 0.22),
    0 22px 48px rgba(12, 6, 4, 0.55);
}
.stage.gust .device-col { animation: card-gust 0.9s cubic-bezier(0.22, 1, 0.36, 1); }
body.wind-l .stage.gust .device-col { animation-name: card-gust-l; }
.device-glass { display: none; }
.screen {
  height: auto;
  border-radius: 22px;
}
.screen .app { height: auto; padding: 16px 14px 16px; }
.screen .app-school { font-size: 22px; }
.screen .app-h,
.screen .app-sub,
.screen .nav { display: none; }
.screen .row, .screen .app-input, .screen .note { padding: 10px 12px; margin-top: 8px; font-size: 13px; }
.device.bare { width: min(86vw, 320px); }
body.is-hook .stage,
body.is-hook .device-col,
body.is-hook .device,
body.is-hook .device.bare,
body.is-hook .screen {
  overflow: visible !important;
  box-shadow: none !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  outline: none !important;
}
.poster { padding: 20px 14px 22px; }
.poster-hero { font-size: 36px; }
.copy {
  order: 1;
  max-width: 34ch;
  text-align: center;
  flex: 0 0 auto;
}
.kicker {
  color: #f4c4a4;
  text-shadow: 0 2px 10px rgba(18, 10, 8, 0.7);
}
.copy h1 {
  font-size: clamp(24px, 7vw, 34px);
  margin: 4px 0 6px;
  color: #fff8f1;
  text-shadow: 0 8px 28px rgba(12, 6, 4, 0.65);
}
.lead {
  font-size: 14px;
  color: rgba(255, 248, 241, 0.9);
  text-shadow: 0 2px 14px rgba(12, 6, 4, 0.75);
  margin: 0 auto;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.points, .hint-pc, .hint-ph, .hint { display: none; }
.copy.is-out, .screen.is-out { animation: leaf-away 0.4s ease forwards; }
.copy.is-in, .screen.is-in { animation: leaf-arrive 0.72s cubic-bezier(0.22, 1, 0.36, 1) both; }
body.wind-l .copy.is-out,
body.wind-l .screen.is-out { animation-name: leaf-away-l; }
body.wind-l .copy.is-in,
body.wind-l .screen.is-in { animation-name: leaf-arrive-l; }
.scrub {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9;
  padding: 8px 12px calc(10px + env(safe-area-inset-bottom));
  background: linear-gradient(180deg, transparent, rgba(18, 10, 8, 0.55));
  justify-content: flex-start;
  gap: 6px;
}
.scrub button,
.scrub a {
  color: rgba(255, 248, 241, 0.72);
  background: rgba(255, 248, 241, 0.1);
  border: 1px solid rgba(255, 248, 241, 0.16);
  backdrop-filter: blur(10px);
  font-size: 11px;
  padding: 7px 11px;
}
.scrub button i,
.scrub a i { display: none; }
.scrub button.on {
  color: #fff8f1;
  background: var(--orange);
  border-color: transparent;
  box-shadow: 0 0 18px rgba(229, 107, 53, 0.55);
}

@media (max-width: 860px) {
  html, body { overflow: hidden; height: 100%; height: 100dvh; cursor: auto; }
  .cursor { display: none; }
}
@media (min-width: 861px) {
  .stage {
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: clamp(48px, 6vw, 96px);
    top: 84px;
    padding: 0 8vw;
  }
  .copy {
    flex: 0 0 auto;
    width: min(28vw, 340px);
    max-width: 340px;
    text-align: left;
  }
  .device-col { flex: 0 0 auto; width: auto; }
  body.is-hook .stage { flex-direction: column; gap: 0; }
  .device { width: min(28vw, 300px); }
  body:not(.is-hook) .copy,
  body:not(.is-hook) .device-col,
  body:not(.is-hook) .device,
  body:not(.is-hook) .device.bare {
    width: min(24vw, 300px);
    max-width: 300px;
  }
  .device.bare { width: min(38vw, 420px); }
  .salle .seats {
    display: grid;
    grid-template-columns: 1fr 1.15fr 1fr;
    align-items: end;
    width: 100%;
  }
  .salle .seat.a { transform: translateY(36px); }
  .salle .seat.c { transform: translateY(58px); }
  .salle .seat.b b { font-size: clamp(80px, 8vw, 128px); color: #c44e1c; }
  .device.bare:has(.hook),
  .device.bare:has(.grove-act) { width: min(90vw, 920px); }
  .copy {
    text-align: left;
    max-width: 22em;
  }
  .copy h1 { font-size: clamp(36px, 4.2vw, 54px); }
  .lead { font-size: 17px; -webkit-line-clamp: 4; }
  .wordmark { height: 48px; width: auto; max-width: min(32vw, 280px); }
  .hook { max-width: min(90vw, 52em); }
  .hook h2 { font-size: clamp(44px, 5.4vw, 78px); white-space: nowrap; }
  .hook-k { font-size: clamp(26px, 2.8vw, 36px); }
  .hook-sub { font-size: 22px; }
  .hook-cloud { font-size: 16px; max-width: 46em; }
  .hook-foot { font-size: 20px; color: #5a3a2a; }
  .poster-hero { font-size: 52px; }
  .scrub { justify-content: center; padding: 12px 24px 20px; }
  .scrub button i,
  .scrub a i { display: inline; }
}
@media (max-width: 860px) and (max-height: 700px) {
  .copy h1 { font-size: 22px; }
  .lead { font-size: 13px; }
  .hook h2 { font-size: 28px; white-space: nowrap; }
  .hook-cloud { font-size: 11px; }
  .plan-card:nth-child(n+4) { display: none; }
  .plan-card { padding: 8px 12px 8px; margin-top: 6px; }
  .plan-top b { font-size: 16px; }
  .desk-kpis b { font-size: 36px; }
}
.legal-foot {
  top: auto;
  bottom: calc(54px + env(safe-area-inset-bottom));
  left: 0;
  right: 0;
  width: 100%;
  max-width: none;
  z-index: 10;
  text-align: center;
  padding: 0 12px;
  background: none;
}
.legal-foot nav { justify-content: center; }
.legal-foot a {
  color: rgba(255, 248, 241, 0.62);
  text-shadow: 0 1px 8px rgba(18, 10, 8, 0.55);
  font-size: 10px;
  letter-spacing: 0.06em;
  margin: 0 0.4rem;
}
.legal-foot a.to-journal,
.legal-foot a.to-door {
  font-family: inherit;
  font-size: 10px;
  letter-spacing: 0.06em;
  margin: 0 0.4rem;
}
.legal-foot .foot-gap {
  width: 1px;
  height: 8px;
  margin: 0 0.35rem;
  background: rgba(255, 248, 241, 0.28);
  align-self: center;
  flex: 0 0 auto;
}
#journalLayer {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: #1a1612;
}
#journalLayer[hidden] { display: none; }
#journalFrame {
  width: 100%;
  height: 100%;
  border: 0;
  background: transparent;
}
@media (prefers-reduced-motion: reduce) {
  .copy.is-out, .copy.is-in, .screen.is-out, .screen.is-in, .sweep, .wordmark path { animation: none; transition: none; }
  .wordmark path { stroke-dashoffset: 0; }
  .cursor, .dust { display: none; }
  html, body { cursor: auto; }
}
