/* ==========================================================================
   ALPSJAA — site.css
   Hero, bandeaux défilants, association, infos pratiques, festival,
   séparateurs et fonds des sections dynamiques.
   ========================================================================== */

/* ---------- HERO ---------- */
.hero {
  position: relative; isolation: isolate;
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  padding: calc(var(--nav-h) + clamp(24px, 5vh, 56px)) 0 clamp(110px, 14vh, 150px);
  background: var(--teal-900);
  color: var(--white);
  overflow: hidden;
}
.hero__media { position: absolute; inset: 0; z-index: -3; overflow: hidden; }
.hero__media-inner { position: absolute; inset: -10% 0; will-change: transform; }
.hero__media img, .hero__media picture { width: 100%; height: 100%; }
.hero__media img { object-fit: cover; object-position: 50% 40%; }
.hero__shade {
  position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(2, 42, 37, .9) 0%, rgba(3, 63, 56, .78) 30%, rgba(3, 63, 56, .35) 56%, rgba(3, 63, 56, .08) 80%),
    linear-gradient(180deg, rgba(2, 42, 37, .55) 0%, transparent 22%, transparent 70%, rgba(2, 42, 37, .7) 100%),
    radial-gradient(120% 90% at 70% 40%, transparent 50%, rgba(2, 42, 37, .45) 100%);
}
.hero__swoosh--desk { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.swoosh__disc { transform-box: fill-box; transform-origin: 50% 50%; }
.swoosh__disc image { filter: saturate(1.08) contrast(1.04); }
.swoosh__teal, .swoosh__yellow, .swoosh__line { stroke-linecap: butt; }

.hero__dice { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero__die { position: absolute; }
.hero__die--a { right: 5.5%; top: 17%; }
.hero__die--a .die { --s: 74px; }
.hero__die--b { left: 49%; bottom: 7%; }
.hero__die--b .die { --s: 54px; animation-duration: 21s; animation-direction: reverse; }
.hero__die--c { left: 41%; top: 13%; }
.hero__die--c .die { --s: 34px; animation-duration: 12s; }
.hero__die-float { perspective: 700px; filter: drop-shadow(0 22px 22px rgba(0, 0, 0, .35)); animation: die-float 6s var(--ease-in-out) infinite alternate; }
.hero__die--b .hero__die-float { animation-duration: 7.5s; animation-delay: -2s; }
.hero__die--c .hero__die-float { animation-duration: 5s; animation-delay: -1s; }
@keyframes die-float { from { transform: translateY(-10px) rotate(-4deg); } to { transform: translateY(12px) rotate(5deg); } }


.hero__content { position: relative; z-index: 1; }
.hero__brand { display: flex; align-items: center; gap: clamp(14px, 2vw, 30px); }
.hero__logo-wrap { flex: none; width: clamp(104px, 11.5vw, 196px); will-change: transform; }
.hero__logo { width: 100%; height: auto; filter: drop-shadow(0 20px 30px rgba(0, 0, 0, .35)); animation: logo-float 5.5s var(--ease-in-out) infinite alternate; }
@keyframes logo-float { from { transform: translateY(-6px) rotate(-2deg); } to { transform: translateY(8px) rotate(2deg); } }
.hero__title { display: flex; flex-direction: column; align-items: flex-start; }
.hero__kicker {
  font-family: var(--f-body); font-weight: 500;
  font-size: clamp(1rem, .55rem + 1.25vw, 1.85rem);
  letter-spacing: .035em; line-height: 1.1;
  color: var(--white);
  padding-left: .12em;
}
.hero__main {
  display: block;
  font-family: var(--f-display);
  font-size: clamp(4rem, 1rem + 7.6vw, 10.2rem);
  line-height: .84; letter-spacing: .005em;
  color: var(--yellow-500);
  text-transform: uppercase;
  margin-top: .04em;
  text-shadow: 0 .04em 0 rgba(2, 42, 37, .45), 0 .08em .25em rgba(2, 42, 37, .35);
  white-space: nowrap;
}
.hero__sub {
  display: block;
  font-family: var(--f-serif); font-style: italic; font-weight: 900;
  font-size: clamp(2.3rem, .9rem + 4.3vw, 5.6rem);
  line-height: 1; letter-spacing: -.005em;
  color: var(--white);
  margin-top: -.02em;
  padding-left: .55em;
  text-shadow:
    -2px -2px 0 var(--teal-700), 2px -2px 0 var(--teal-700), -2px 2px 0 var(--teal-700), 2px 2px 0 var(--teal-700),
    0 3px 0 var(--teal-700), 3px 0 0 var(--teal-700), -3px 0 0 var(--teal-700), 0 -3px 0 var(--teal-700),
    5px 6px 0 var(--teal-950), 0 18px 30px rgba(0, 0, 0, .35);
  white-space: nowrap;
}
.hero__text {
  max-width: 33rem;
  margin: clamp(22px, 3.4vh, 38px) 0 0;
  font-size: clamp(1rem, .92rem + .35vw, 1.2rem);
  color: rgba(255, 255, 255, .9);
  line-height: 1.6;
}
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: clamp(24px, 3.6vh, 40px); }
.hero__mob { display: none; }
.hero__scroll {
  position: absolute; left: var(--gutter); bottom: calc(clamp(150px, 17vw, 250px) * .42 + 22px); z-index: 2;
  display: inline-flex; align-items: center; gap: 14px;
  font-size: .72rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase;
  color: rgba(255, 255, 255, .8); text-decoration: none;
}
.hero__scroll-track { position: relative; width: 26px; height: 42px; border: 2px solid rgba(255, 255, 255, .6); border-radius: 14px; }
.hero__scroll-track i { position: absolute; left: 50%; top: 7px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--yellow-500); animation: scroll-cue 1.8s var(--ease-in-out) infinite; }
@keyframes scroll-cue { 0% { transform: translateY(0); opacity: 0; } 30% { opacity: 1; } 80% { transform: translateY(16px); opacity: 0; } 100% { opacity: 0; } }

@media (max-height: 780px) { .hero__scroll { display: none; } }
/* Le titre tient toujours à gauche de la bande, même sur écrans larges et bas */
@media (min-width: 701px) and (max-aspect-ratio: 4/3) {
  .hero__swoosh--desk { opacity: .9; }
}
@media (min-width: 701px) and (max-width: 1100px) {
  .hero__shade {
    background:
      linear-gradient(90deg, rgba(2, 42, 37, .9) 0%, rgba(3, 63, 56, .8) 45%, rgba(3, 63, 56, .3) 80%),
      linear-gradient(180deg, rgba(2, 42, 37, .55) 0%, transparent 22%, transparent 70%, rgba(2, 42, 37, .7) 100%);
  }
  .hero__die--b { left: auto; right: 38%; }
  .hero__die--c { display: none; }
}
@media (max-width: 700px) {
  .hero { justify-content: flex-start; padding-bottom: 96px; min-height: 0; }
  .hero__swoosh--desk { display: none; }
  .hero__shade {
    background:
      linear-gradient(180deg, rgba(2, 42, 37, .7) 0%, rgba(3, 63, 56, .55) 40%, rgba(3, 63, 56, .7) 70%, var(--teal-900) 100%);
  }
  .hero__brand { flex-direction: column; align-items: flex-start; gap: 18px; }
  .hero__logo-wrap { width: 92px; }
  .hero__main { font-size: clamp(3.6rem, 19.5vw, 5.4rem); }
  .hero__sub { font-size: clamp(2.2rem, 11.4vw, 3.4rem); padding-left: .25em; }
  .hero__kicker { font-size: clamp(.95rem, 4.4vw, 1.15rem); }
  .hero__ctas .btn { flex: 1 1 100%; justify-content: space-between; }
  .hero__mob { display: block; position: relative; z-index: 0; margin-top: 18px; margin-bottom: -40px; }
  .hero__swoosh--mob { width: 100%; height: auto; overflow: visible; }
  .hero__die--a { right: 6%; top: 104px; }
  .hero__die--a .die { --s: 50px; }
  .hero__die--b { left: auto; right: 34%; top: 150px; bottom: auto; }
  .hero__die--b .die { --s: 34px; }
  .hero__die--c { display: none; }
  .hero__scroll { display: none; }
}

/* ---------- BANDEAUX DÉFILANTS ---------- */
.marquee {
  position: relative; z-index: 3;
  height: clamp(150px, 17vw, 250px);
  margin-top: calc(clamp(150px, 17vw, 250px) * -0.42);
  background: linear-gradient(180deg, transparent 0 42%, var(--cream) 42% 100%);
  overflow: hidden;
  pointer-events: none;
}
.marquee__band {
  position: absolute; left: -6%; right: -6%; top: 50%;
  padding: clamp(10px, 1.2vw, 18px) 0;
  overflow: hidden;
  box-shadow: 0 18px 40px -18px rgba(2, 42, 37, .5);
}
.marquee__band--yellow { z-index: 2; background: var(--yellow-500); color: var(--teal-900); transform: translateY(-50%) rotate(-3.2deg); }
.marquee__band--teal { z-index: 1; background: var(--teal-700); color: var(--yellow-500); transform: translateY(-50%) rotate(2.6deg); }
.marquee__track { display: flex; width: max-content; will-change: transform; }
.marquee__group {
  display: flex; align-items: center; flex: none;
  gap: clamp(16px, 1.8vw, 30px); padding-right: clamp(16px, 1.8vw, 30px);
  font-family: var(--f-display); font-size: clamp(2rem, 1.2rem + 3vw, 4.2rem); line-height: 1; letter-spacing: .02em;
  text-transform: uppercase; white-space: nowrap;
}
.marquee__group span { padding-top: .08em; }
.marquee__group .icon { width: .62em; height: .62em; }
.marquee__band--teal .marquee__group { font-size: clamp(1.6rem, 1rem + 2.2vw, 3.2rem); }
.marquee__band--teal .marquee__group .icon { width: .7em; height: .7em; color: var(--white); }

/* ---------- L'ASSOCIATION ---------- */
.about { background: var(--cream); padding-top: clamp(48px, 7vw, 110px); padding-bottom: clamp(64px, 9vw, 130px); overflow: hidden; }
.about__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(40px, 6vw, 110px); align-items: center; }
.about__title { font-size: clamp(3rem, 1.6rem + 4.6vw, 6.6rem); }
.about__text { margin-top: clamp(24px, 3vw, 36px); max-width: 56ch; font-size: clamp(1rem, .95rem + .25vw, 1.15rem); color: var(--ink-soft); }
.about__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 30px; margin-top: clamp(28px, 3.4vw, 44px); }
.about__actions .link-arrow { color: var(--teal-800); }

.about__visual { position: relative; width: 100%; max-width: 620px; justify-self: center; aspect-ratio: 1 / 1.02; }
.about__blob {
  position: absolute; left: 30%; top: 28%; width: 64%; aspect-ratio: 1; border-radius: 50%;
  background: var(--yellow-500);
}
.about__photo {
  position: absolute; border-radius: 50%; overflow: hidden;
  border: clamp(6px, .8vw, 11px) solid var(--white);
  box-shadow: 0 0 0 clamp(6px, .8vw, 11px) var(--teal-700), var(--shadow-lg);
  background: var(--teal-200);
}
.about__photo img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 1; transition: transform 1.2s var(--ease-out); }
.about__photo:hover img { transform: scale(1.07); }
.about__photo--main { width: 66%; left: 6%; top: 7%; }
.about__photo--small { width: 38%; right: 2%; bottom: 3%; }
.about__photo--tiny { width: 24%; left: 2%; bottom: 8%; }
.about__badge {
  position: absolute; right: 0; top: 0;
  width: 34%; aspect-ratio: 1; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--teal-900);
  box-shadow: var(--shadow);
}
.about__ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: ring-spin 22s linear infinite; }
.about__ring text { font-family: var(--f-body); font-weight: 600; font-size: 15px; letter-spacing: 2px; fill: var(--yellow-500); }
@keyframes ring-spin { to { transform: rotate(360deg); } }
.about__badge-logo { width: 46%; height: auto; }
.about__meeple { position: absolute; left: 50%; top: -2%; width: 13%; color: var(--leaf-500); filter: drop-shadow(0 10px 12px rgba(2, 42, 37, .25)); }
.about__meeple .icon { width: 100%; height: auto; aspect-ratio: 1; transform: rotate(-14deg); }

/* Acronyme */
.acronym { margin-top: clamp(80px, 11vw, 170px); }
.acronym__q {
  margin: 0 0 clamp(20px, 3vw, 40px);
  text-align: center;
  font-family: var(--f-serif); font-style: italic; font-weight: 700;
  font-size: clamp(1.3rem, 1rem + 1.2vw, 2.1rem);
  color: var(--teal-800);
}
.acronym__list {
  list-style: none;
  display: grid; grid-template-columns: repeat(7, minmax(0, 1fr));
  border-top: 2px solid rgba(5, 102, 90, .18); border-bottom: 2px solid rgba(5, 102, 90, .18);
}
.acronym__item {
  position: relative; text-align: center;
  padding: clamp(18px, 2.4vw, 34px) 4px clamp(20px, 2.6vw, 36px);
}
.acronym__item + .acronym__item { border-left: 2px solid rgba(5, 102, 90, .1); }
.acronym__letter {
  display: block;
  font-family: var(--f-display);
  font-size: clamp(4rem, 1rem + 10vw, 12.5rem);
  line-height: .82;
  color: var(--teal-700);
  transition: color .4s, translate .6s var(--ease-back), rotate .6s var(--ease-back), -webkit-text-stroke-color .4s;
}
.acronym__item--accent .acronym__letter { color: var(--yellow-500); -webkit-text-stroke: 2px var(--teal-800); }
.acronym__word {
  display: block; margin-top: clamp(10px, 1.2vw, 18px);
  font-size: clamp(.62rem, .45rem + .4vw, .9rem); font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--ink-soft);
}
.acronym__item::after {
  content: ""; position: absolute; left: 50%; bottom: -2px; width: 0; height: 4px; background: var(--yellow-500);
  transform: translateX(-50%); transition: width .5s var(--ease-out);
}
.acronym__item:hover .acronym__letter { translate: 0 -10px; rotate: -5deg; color: var(--yellow-500); -webkit-text-stroke: 2px var(--teal-800); }
.acronym__item--accent:hover .acronym__letter { color: var(--teal-700); -webkit-text-stroke-color: transparent; }
.acronym__item:hover .acronym__word { color: var(--teal-800); }
.acronym__item:hover::after { width: 60%; }

@media (max-width: 960px) {
  .about__grid { grid-template-columns: 1fr; }
  .about__visual { max-width: 520px; }
}
@media (max-width: 720px) {
  .acronym__list { grid-template-columns: 1fr; border: 0; }
  .acronym__item { display: flex; align-items: baseline; gap: 16px; text-align: left; padding: 6px 0; border-bottom: 1px solid rgba(5, 102, 90, .14); }
  .acronym__item + .acronym__item { border-left: 0; }
  .acronym__letter { width: .62em; flex: none; font-size: 4.2rem; text-align: center; }
  .acronym__word { margin: 0; font-family: var(--f-serif); font-style: italic; font-weight: 700; font-size: 1.7rem; letter-spacing: 0; text-transform: none; color: var(--teal-800); }
  .acronym__item::after { display: none; }
}

/* ---------- SÉPARATEURS "SWOOSH" ---------- */
.divider { position: relative; z-index: 2; height: clamp(46px, 8vw, 130px); margin-block: -1px; line-height: 0; }
.divider svg { width: 100%; height: 100%; display: block; overflow: visible; }
.divider__stripe { fill: none; stroke: var(--yellow-500); stroke-width: 7px; }
.divider--cream-teal900 { background: var(--cream); }
.divider--cream-teal900 .divider__fill { fill: var(--teal-900); }
.divider--teal-paper { background: var(--teal-700); }
.divider--teal-paper .divider__fill { fill: var(--paper); }
.divider--paper-teal900 { background: var(--paper); }
.divider--paper-teal900 .divider__fill { fill: var(--teal-900); }
.divider--teal900-cream { background: var(--teal-900); }
.divider--teal900-cream .divider__fill { fill: var(--cream); }
@media (max-width: 600px) { .divider__stripe { stroke-width: 5px; } }

/* ---------- Fonds des sections dynamiques (contenu stylé dans sections.css) ---------- */
.section--activities { background: var(--teal-900); color: var(--white); padding-top: clamp(48px, 7vw, 110px); }
.section--agenda { background: var(--paper); color: var(--ink); padding-top: clamp(48px, 7vw, 110px); }
.section--contact { background: var(--cream); color: var(--ink); padding-top: clamp(48px, 7vw, 110px); }
.section-head__lead { margin-top: clamp(18px, 2vw, 28px); }

/* ---------- INFOS PRATIQUES ---------- */
.infos {
  background: linear-gradient(180deg, var(--teal-900) 0%, var(--teal-700) 38%, var(--teal-700) 100%);
  color: var(--white);
  overflow: hidden;
}
.infos__deco {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(40% 50% at 10% 70%, rgba(255, 204, 0, .14), transparent 70%),
    radial-gradient(40% 40% at 92% 30%, rgba(61, 168, 15, .2), transparent 70%);
}
.infos .section-head { margin-bottom: clamp(70px, 8vw, 110px); }
.infos__panel {
  position: relative;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: 0 clamp(10px, 1.6vw, 28px) clamp(36px, 3.6vw, 52px);
  border-radius: clamp(26px, 3vw, 44px);
  background: var(--yellow-500);
  color: var(--teal-950);
  box-shadow: 0 50px 90px -40px rgba(0, 0, 0, .55), inset 0 -8px 0 rgba(2, 42, 37, .08);
  transform-style: preserve-3d;
  will-change: transform;
}
.infos__col {
  --rule: 1;
  position: relative;
  display: flex; flex-direction: column; align-items: center;
  padding: 0 clamp(10px, 1.6vw, 26px);
  text-align: center;
  letter-spacing: .03em;
}
.infos__col + .infos__col::before {
  content: ""; position: absolute; left: -1.5px; top: 104px; bottom: 4px; width: 3px; border-radius: 3px;
  background: var(--teal-950);
  transform: scaleY(var(--rule)); transform-origin: 50% 0;
}
.infos__icon {
  display: grid; place-items: center;
  flex: none; width: clamp(76px, 7vw, 96px); height: clamp(76px, 7vw, 96px); border-radius: 50%;
  margin-top: calc(clamp(76px, 7vw, 96px) / -2);
  background: var(--teal-700); color: var(--white);
  box-shadow: 0 0 0 7px var(--yellow-500), 0 14px 26px -8px rgba(2, 42, 37, .6);
  transition: translate .6s var(--ease-back), rotate .6s var(--ease-back), scale .6s var(--ease-back), background-color .3s;
}
.infos__icon .icon { width: 48%; height: 48%; }
.infos__col:hover .infos__icon { translate: 0 -6px; rotate: -12deg; scale: 1.06; background: var(--teal-900); }
.infos__title {
  margin: clamp(14px, 1.6vw, 22px) 0 clamp(10px, 1.2vw, 16px);
  font-family: var(--f-display); font-size: clamp(2rem, 1.3rem + 1.4vw, 2.9rem); line-height: 1; letter-spacing: .03em;
  color: var(--teal-800);
}
.infos__schedule { list-style: none; display: grid; gap: 8px; width: 100%; }
.infos__schedule li { display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: 0 .45em; font-size: 1rem; line-height: 1.35; }
.infos__schedule strong { font-weight: 700; }
.infos__schedule span::before { content: "— "; opacity: .55; }
.infos__schedule small { flex-basis: 100%; font-size: .82rem; opacity: .75; }
.infos__address { display: grid; gap: 2px; font-size: .98rem; line-height: 1.45; }
.infos__address strong { font-weight: 700; }
.infos__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 16px; }
.infos__link {
  display: inline-flex; align-items: center; gap: .45em;
  padding: .5rem .95rem; border-radius: var(--radius-pill);
  background: var(--teal-900); color: var(--white);
  font-size: .84rem; font-weight: 600; letter-spacing: .02em; text-decoration: none; white-space: nowrap;
  transition: background-color .3s, transform .4s var(--ease-back);
}
.infos__link .icon { width: 1.05em; height: 1.05em; color: var(--yellow-500); }
.infos__link:hover { background: var(--teal-700); transform: translateY(-2px); }
.infos__big {
  margin: 0;
  font-family: var(--f-display); font-size: clamp(4.2rem, 2.6rem + 3.4vw, 6.8rem); line-height: .86;
  color: var(--teal-900);
  font-variant-numeric: tabular-nums;
}
.infos__big small { font-size: .36em; letter-spacing: .06em; vertical-align: .55em; }
.infos__note { margin-top: 10px; font-size: .95rem; line-height: 1.45; max-width: 22ch; }
.infos__cta {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 18px 32px;
  margin-top: clamp(44px, 5vw, 72px);
  text-align: center;
}
.infos__cta p { margin: 0; font-weight: 600; font-size: 1.1rem; }
.infos__cta p span { display: block; font-weight: 400; font-size: .95rem; opacity: .82; }

@media (max-width: 1080px) {
  .infos__panel { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 70px; padding-top: 0; }
  .infos__col:nth-child(3)::before { display: none; }
  .infos__col:nth-child(n+3) .infos__icon { margin-top: 0; }
  .infos__col:nth-child(n+3)::before { top: 30px; }
  .infos__col:nth-child(n+3) { padding-top: 0; }
}
@media (max-width: 640px) {
  .infos__panel { grid-template-columns: 1fr; row-gap: 0; padding-inline: 20px; }
  .infos__col, .infos__col:nth-child(n+3) { padding: 26px 0 30px; }
  .infos__col:first-child { padding-top: 0; }
  .infos__col + .infos__col::before, .infos__col:nth-child(3)::before {
    display: block; left: 18%; right: 18%; top: 0; bottom: auto; width: auto; height: 3px;
    transform: scaleX(var(--rule)); transform-origin: 50% 50%;
  }
  .infos__col:nth-child(n+2) .infos__icon { margin-top: 0; }
  .infos__note { max-width: 30ch; }
}

/* ---------- FESTIVAL ---------- */
.festival {
  background:
    radial-gradient(60% 70% at 25% 50%, rgba(10, 122, 107, .55), transparent 70%),
    var(--teal-900);
  color: var(--white);
  overflow: hidden;
  padding-top: clamp(56px, 8vw, 120px);
}
.festival__confetti { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.confetti { position: absolute; left: 0; top: 0; will-change: transform; }
.confetti .icon { width: 100%; height: 100%; display: block; }
.confetti--card { border-radius: 4px; }
.festival__glow {
  position: absolute; z-index: 0; left: 8%; top: 50%; width: min(60vw, 720px); aspect-ratio: 1; border-radius: 50%;
  transform: translateY(-50%);
  background: radial-gradient(circle, rgba(255, 204, 0, .22), transparent 65%);
  pointer-events: none;
}
.festival__grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(48px, 7vw, 120px); align-items: center;
}
.festival__visual { position: relative; max-width: 520px; width: 100%; justify-self: center; }
.festival__sticker {
  position: relative;
  padding: clamp(18px, 2.4vw, 32px);
  border-radius: clamp(22px, 2.4vw, 34px);
  background: var(--paper);
  box-shadow: 0 40px 70px -30px rgba(0, 0, 0, .6), 0 0 0 10px rgba(255, 255, 255, .06);
  transform: rotate(-4deg);
  transition: transform .8s var(--ease-back);
}
.festival__sticker::before, .festival__sticker::after {
  content: ""; position: absolute; top: -16px; width: 110px; height: 34px;
  background: rgba(255, 214, 51, .82);
  box-shadow: 0 4px 10px rgba(0, 0, 0, .12);
}
.festival__sticker::before { left: 14%; transform: rotate(-8deg); }
.festival__sticker::after { right: 14%; transform: rotate(7deg); }
.festival__sticker:hover { transform: rotate(-1deg) scale(1.02); }
.festival__sticker img { width: 100%; height: auto; }
.festival__stamp {
  position: absolute; right: -14px; bottom: -34px;
  width: clamp(104px, 11vw, 138px); aspect-ratio: 1; border-radius: 50%;
  display: grid; place-items: center; text-align: center;
  padding: 18px;
  background: var(--red-600); color: var(--white);
  font-family: var(--f-display); font-size: clamp(1.05rem, .8rem + .6vw, 1.4rem); line-height: 1; letter-spacing: .06em;
  box-shadow: 0 0 0 6px var(--teal-900), 0 0 0 8px rgba(255, 255, 255, .5), var(--shadow);
  transform: rotate(12deg);
}
.festival__title {
  font-family: var(--f-display);
  font-size: clamp(3.4rem, 1.6rem + 5.8vw, 8.6rem);
  line-height: .86; letter-spacing: .005em;
  text-transform: uppercase;
  color: var(--yellow-500);
}
.festival__text { margin-top: clamp(22px, 2.6vw, 34px); max-width: 52ch; color: rgba(255, 255, 255, .86); font-size: clamp(1rem, .95rem + .25vw, 1.15rem); }
.festival__text strong { color: var(--yellow-300); }
.festival__text a { color: var(--yellow-300); }
.festival__actions { margin-top: clamp(28px, 3.4vw, 44px); }
@media (max-width: 900px) {
  .festival__grid { grid-template-columns: 1fr; }
  .festival__visual { max-width: 420px; }
  .festival__copy { order: -1; }
}

/* ---------- Mouvement réduit ---------- */
@media (prefers-reduced-motion: reduce) {
  .hero__logo, .hero__die-float, .about__ring, .hero__scroll-track i { animation: none; }
}

/* ---------- PAGE 404 ---------- */
.page-404 { background: var(--teal-700); }
.lost {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 100vh; min-height: 100svh;
  display: grid; place-items: center;
  padding: 120px var(--gutter) 140px;
  background: radial-gradient(80% 70% at 50% 35%, var(--teal-600), var(--teal-800));
  color: var(--white); text-align: center;
}
.lost__swoosh { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; }
.lost__brand {
  position: absolute; left: var(--gutter); top: 22px;
  display: flex; align-items: center; gap: 10px;
  color: var(--white); text-decoration: none;
  font-family: var(--f-display); font-size: 1.6rem; letter-spacing: .08em;
}
.lost__brand img { width: 50px; height: auto; }
.lost__inner { max-width: 720px; }
.lost__code {
  display: flex; align-items: center; justify-content: center; gap: clamp(10px, 2vw, 26px);
  margin: 0 0 clamp(28px, 4vw, 44px);
  font-family: var(--f-display); font-size: clamp(8rem, 26vw, 17rem); line-height: .8;
  color: var(--yellow-500);
  text-shadow: 0 .04em 0 var(--teal-900);
}
.lost__die { display: inline-block; perspective: 900px; filter: drop-shadow(0 26px 24px rgba(0, 0, 0, .35)); animation: lost-roll 3.4s var(--ease-in-out) infinite; }
.lost__die .die { --s: clamp(80px, 13vw, 136px); animation-duration: 9s; }
@keyframes lost-roll {
  0%, 100% { transform: translate(0, 0) rotate(0); }
  35% { transform: translate(14px, -26px) rotate(8deg); }
  60% { transform: translate(-10px, 6px) rotate(-6deg); }
}
.lost__title {
  font-family: var(--f-display); text-transform: uppercase;
  font-size: clamp(2.4rem, 1.4rem + 4vw, 4.6rem); line-height: .95;
}
.lost__title em { display: block; font-family: var(--f-serif); font-style: italic; font-weight: 900; text-transform: none; color: var(--yellow-300); font-size: .9em; }
.lost__text { margin: 18px auto 0; max-width: 44ch; color: rgba(255, 255, 255, .86); font-size: 1.08rem; }
.lost__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 32px; }
@media (prefers-reduced-motion: reduce) { .lost__die { animation: none; } }

/* ---------- MENTIONS LÉGALES ---------- */
.page-legal { background: var(--paper); }
.legal__hero {
  position: relative; overflow: hidden;
  padding: clamp(64px, 9vw, 120px) 0 clamp(56px, 7vw, 96px);
  background: var(--teal-800); color: var(--white);
}
.legal__hero::after {
  content: ""; position: absolute; left: -10%; right: -10%; bottom: -60px; height: 90px;
  background: var(--paper); border-top: 8px solid var(--yellow-500);
  transform: rotate(-2.2deg);
}
.legal__updated { margin-top: 18px; font-size: .9rem; color: rgba(255, 255, 255, .7); }
.legal__body {
  display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(32px, 5vw, 80px);
  padding-top: clamp(40px, 5vw, 72px); padding-bottom: clamp(72px, 9vw, 130px);
}
.legal__toc { position: sticky; top: 96px; align-self: start; font-size: .92rem; }
.legal__toc-title { margin: 0 0 12px; font-family: var(--f-display); font-size: 1.4rem; letter-spacing: .06em; color: var(--teal-700); }
.legal__toc ol { list-style: none; display: grid; gap: 4px; border-left: 2px solid var(--teal-100); }
.legal__toc a { display: block; padding: 6px 0 6px 16px; margin-left: -2px; border-left: 2px solid transparent; color: var(--ink-soft); text-decoration: none; transition: color .3s, border-color .3s; }
.legal__toc a:hover { color: var(--teal-800); border-left-color: var(--yellow-500); }
.legal__content { max-width: 74ch; color: var(--ink-soft); }
.legal__content section { padding-bottom: 28px; margin-bottom: 36px; border-bottom: 1px solid var(--teal-100); scroll-margin-top: 100px; }
.legal__content section:last-child { border-bottom: 0; }
.legal__content h2 { margin: 0 0 18px; font-family: var(--f-display); font-size: clamp(2rem, 1.6rem + 1.4vw, 2.8rem); line-height: 1; color: var(--teal-900); }
.legal__content h3 { margin: 22px 0 8px; font-family: var(--f-body); font-size: 1.02rem; font-weight: 700; line-height: 1.3; color: var(--teal-800); }
.legal__content ul { padding-left: 1.2em; }
.legal__content li { margin-bottom: .35em; }
.footer--simple { padding-top: 0; }
.footer--simple .footer__bottom { border-top: 0; }
.footer--simple .footer__bottom ul { margin-right: 0; }
@media (max-width: 860px) {
  .legal__body { grid-template-columns: 1fr; }
  .legal__toc { position: static; }
}
@media (max-width: 520px) {
  .simple-header .btn__label { font-size: .82rem; }
  .simple-header .nav__name { display: none; }
}