/* Style 2 : moderne et audacieux. Pleine largeur, couleurs franches, typographie condensée géante, diagonales. */

@font-face { font-family: "Anton"; src: url("/assets/fonts/anton-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Archivo"; src: url("/assets/fonts/archivo-var.woff2") format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; }

:root { --violet: #3a1cff; --rose: #ff5c8a; --citron: #ffe14d; --ink: #0a0a1f; --pad: clamp(16px, 3vw, 44px); }

body { background: #fff; color: var(--ink); font-family: "Archivo", Arial, sans-serif; font-size: 18px; line-height: 1.4; font-weight: 500; }
h1, h2 { font-family: "Anton", Impact, sans-serif; font-weight: 400; text-transform: uppercase; line-height: .94; }
:focus-visible { outline: 4px solid var(--rose); outline-offset: 2px; }

.top { position: sticky; top: 0; z-index: 20; display: flex; align-items: stretch; justify-content: space-between; flex-wrap: wrap; background: var(--ink); color: #fff; }
.brand { display: flex; align-items: center; padding: 10px var(--pad); background: var(--citron); color: var(--ink); font-family: "Anton", Impact, sans-serif; font-size: 30px; text-transform: uppercase; text-decoration: none; }
.nav { display: flex; }
.nav ul { display: flex; flex-wrap: wrap; }
.nav a { display: flex; align-items: center; height: 100%; min-height: 56px; padding: 0 18px; font-weight: 800; font-stretch: 80%; text-transform: uppercase; text-decoration: none; transition: background-color .12s, color .12s; }
.nav a:hover { background: var(--rose); color: var(--ink); }
.nav a[aria-current="page"] { background: var(--violet); color: #fff; }
.menu-toggle { margin: 6px var(--pad) 6px 0; border: 3px solid #fff; border-radius: 0; background: none; color: #fff; font-weight: 800; text-transform: uppercase; }

.hero { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 340px); gap: 24px; align-items: end; min-height: calc(100vh - 92px); padding: var(--pad); overflow: hidden; background: var(--violet); color: #fff; clip-path: polygon(0 0, 100% 0, 100% 92%, 0 100%); }
.ligne { display: block; }
.hero h1 { position: relative; font-size: clamp(110px, min(24vw, 33vh), 400px); line-height: .84; padding-bottom: 7vh; animation: slam .5s cubic-bezier(.2, 1.3, .4, 1); }
.hero-side { position: relative; z-index: 1; padding: 0 0 12vh; font-size: 22px; font-weight: 700; line-height: 1.2; }
.wall { position: absolute; inset: 0; }
.hold { position: absolute; transition: translate .25s ease-out; }
.punch, .demo-button { display: inline-block; margin-top: 18px; padding: 15px 22px; border: 0; background: var(--citron); color: var(--ink); box-shadow: 7px 7px 0 var(--ink); font-family: "Archivo", Arial, sans-serif; font-weight: 900; font-stretch: 85%; text-transform: uppercase; text-decoration: none; transition: transform .1s, box-shadow .1s; }
.punch:hover, .demo-button:hover { transform: translate(7px, 7px); box-shadow: 0 0 0 var(--ink); }

.marquee-clip { position: relative; z-index: 2; overflow-x: clip; overflow-y: visible; margin-top: -3vw; padding: 2.4vw 0; }
.marquee { padding: 12px 0; background: var(--rose); transform: rotate(-1.8deg) scale(1.04); overflow: hidden; }
.marquee-track { display: flex; width: max-content; animation: slide 26s linear infinite; }
.marquee span { padding: 0 26px; font-family: "Anton", Impact, sans-serif; font-size: clamp(30px, 4.6vw, 68px); text-transform: uppercase; white-space: nowrap; }
.marquee span:nth-child(even) { color: #fff; }

.stack { margin-top: clamp(24px, 4vw, 56px); }
.stack-flat { margin-top: 0; }
.stack-row { display: grid; grid-template-columns: minmax(0, auto) minmax(200px, 340px) minmax(100px, auto); justify-content: space-between; gap: 8px 32px; align-items: end; padding: clamp(24px, 3.4vw, 46px) var(--pad); color: var(--ink); text-decoration: none; transition: padding-left .18s ease-out, background-color .18s, color .18s; }
a.stack-row:hover { padding-left: calc(var(--pad) + 40px); background: var(--violet); color: #fff; }
.stack-row h2 { font-size: clamp(58px, 10.4vw, 170px); }
.stack-row span { font-family: "Anton", Impact, sans-serif; font-size: clamp(22px, 2.6vw, 38px); white-space: nowrap; text-align: right; }
.stack-0 { background: var(--citron); }
.stack-1 { background: var(--ink); color: #fff; }
.stack-2 { background: var(--rose); }

/* Le mur à grimper */
.climb { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 64px); padding: clamp(56px, 8vw, 120px) var(--pad); background: var(--ink); color: #fff; }
.climb h2 { font-size: clamp(64px, 9.6vw, 160px); color: var(--citron); }
.climb-copy > p { max-width: 24em; margin-top: 18px; font-size: 21px; font-weight: 600; line-height: 1.25; }
.climb-status { min-height: 2.6em; color: var(--rose); font-weight: 800; }
.climb-copy .punch { box-shadow: 7px 7px 0 var(--violet); }
.climb-copy .punch:hover { box-shadow: 0 0 0 var(--violet); }
.climb-wall { position: relative; aspect-ratio: 5 / 6; background: linear-gradient(115deg, var(--violet) 0 58%, #2a10cc 58% 100%); }
.climb-wall > svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.grip { position: absolute; display: grid; place-items: center; width: clamp(48px, 7vw, 92px); height: clamp(48px, 7vw, 92px); padding: 0; border: 0; background: none; translate: -50% -50%; transition: scale .12s; }
.grip svg { width: 100%; height: 100%; fill: rgba(255, 255, 255, .28); transition: fill .15s; }
.grip:hover { scale: 1.1; }
.grip.is-next svg { fill: var(--rose); animation: blink 1s steps(2, jump-none) infinite; }
.grip.is-held svg { fill: var(--citron); }
.is-topped .grip:last-of-type svg { animation: none; }
.is-topped .grip svg { fill: var(--citron); }

/* Le planning */
.week { padding: clamp(56px, 8vw, 120px) var(--pad); background: #fff; }
.week h2 { font-size: clamp(54px, 9vw, 150px); }
.week-days { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 26px; }
.week-days button { min-width: 72px; min-height: 52px; padding: 0 14px; border: 3px solid var(--ink); background: #fff; font-family: "Anton", Impact, sans-serif; font-size: 24px; text-transform: uppercase; transition: background-color .1s; }
.week-days button:hover { background: var(--citron); }
.week-days button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.week-list { margin-top: 26px; }
.week-list li { display: grid; grid-template-columns: clamp(110px, 16vw, 240px) minmax(0, 1fr); align-items: baseline; padding: 12px 0; border-top: 4px solid var(--ink); animation: drop .22s cubic-bezier(.2, 1.3, .4, 1) backwards; }
.week-list li:nth-child(2) { animation-delay: .05s; }
.week-list li:nth-child(3) { animation-delay: .1s; }
.week-list span, .week-list strong { font-family: "Anton", Impact, sans-serif; font-size: clamp(36px, 6vw, 96px); font-weight: 400; line-height: 1; text-transform: uppercase; }
.week-list span { color: var(--violet); }

.salle { padding: 0 var(--pad) clamp(56px, 8vw, 120px); background: #fff; }
.salle-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.salle-head h2 { font-size: clamp(54px, 9vw, 150px); }
.salle-head .punch { margin-top: 0; }

.final { padding: clamp(70px, 11vw, 170px) var(--pad); background: var(--rose); text-align: center; clip-path: polygon(0 6%, 100% 0, 100% 100%, 0 100%); }
.final h2 { font-size: clamp(66px, 15vw, 250px); }
.final .punch { margin-top: 26px; }

.claque { transition: transform .35s cubic-bezier(.2, 1.3, .4, 1), opacity .15s; }
.claque.attend { opacity: 0; transform: translateX(-60px) skewX(-8deg); }

.slab { padding: clamp(36px, 6vw, 80px) var(--pad) clamp(70px, 10vw, 140px); background: var(--citron); clip-path: polygon(0 0, 100% 0, 100% 100%, 0 82%); }
.slab h1 { font-size: clamp(66px, 15vw, 240px); }
.slab p { max-width: 26em; margin-top: 16px; font-size: clamp(20px, 2.4vw, 28px); font-weight: 700; line-height: 1.15; }
.slab-body { padding: clamp(32px, 5vw, 64px) var(--pad) clamp(60px, 8vw, 110px); }
.slab-body:has(> .stack) { padding: 0; }

.wipe { position: fixed; inset: 0 -25%; z-index: 60; background: var(--citron); box-shadow: -24px 0 0 var(--rose), 24px 0 0 var(--violet); transform: skewX(-10deg) translateX(-125%); pointer-events: none; }

/* Défilement : les trois lignes du titre glissent à des vitesses différentes, les blocs arrivent en biais. */
@supports (animation-timeline: scroll()) {
  @media (prefers-reduced-motion: no-preference) {
    .ligne-1 { animation: glisse-a linear both; animation-timeline: scroll(root); animation-range: 0 90vh; }
    .ligne-2 { animation: glisse-b linear both; animation-timeline: scroll(root); animation-range: 0 90vh; }
    .ligne-3 { animation: glisse-c linear both; animation-timeline: scroll(root); animation-range: 0 90vh; }
  }
}
@keyframes glisse-a { to { transform: translateX(14vw); } }
@keyframes glisse-b { to { transform: translateX(-9vw); } }
@keyframes glisse-c { to { transform: translateX(24vw); } }
.stack-row { transition: padding-left .18s ease-out, background-color .18s, color .18s, transform .45s cubic-bezier(.2, 1.1, .4, 1), opacity .25s; }
.stack-row.attend { opacity: 0; transform: translateX(-12%); }
.spot { transition: clip-path .55s cubic-bezier(.76, 0, .24, 1); clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); }
.spot.attend { clip-path: polygon(0 0, 0 0, 0 100%, 0 100%); }

.mosaic { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.spot { position: relative; grid-column: span 2; overflow: hidden; }
.spot:nth-child(1), .spot:nth-child(5) { grid-column: span 4; }
.spot svg { width: 100%; height: 100%; min-height: 280px; }
.spot figcaption { position: absolute; left: 0; bottom: 0; padding: 6px 12px; background: var(--ink); color: #fff; font-weight: 800; font-stretch: 80%; text-transform: uppercase; }
.spot svg { transition: transform .35s cubic-bezier(.2, 1.3, .4, 1); }
.spot:hover svg { transform: scale(1.12) rotate(-3deg); }
.spot figcaption { transition: background-color .15s, color .15s; }
.spot:hover figcaption { background: var(--citron); color: var(--ink); }
.spot-violet { background: var(--violet); }
.spot-rose { background: var(--rose); }
.spot-citron { background: var(--citron); }
.spot-blanc { background: #efeeff; }

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.filters button { min-height: 46px; padding: 0 18px; border: 3px solid var(--ink); background: #fff; font-weight: 800; text-transform: uppercase; }
.filters button[aria-pressed="true"] { background: var(--ink); color: #fff; }

.manifesto { font-family: "Anton", Impact, sans-serif; font-size: clamp(38px, 5.6vw, 84px); line-height: 1; text-transform: uppercase; }
.facts > div { padding: 12px 0; border-top: 4px solid var(--ink); }
.facts dt { font-weight: 800; font-stretch: 80%; text-transform: uppercase; }

.faq details { border-top: 4px solid var(--ink); }
.faq details:last-child { border-bottom: 4px solid var(--ink); }
.faq summary { padding: 18px 0; font-family: "Anton", Impact, sans-serif; font-size: clamp(26px, 3.6vw, 48px); line-height: 1.05; text-transform: uppercase; }
.faq details[open] summary { color: var(--violet); }
.faq details p { max-width: 36em; padding-bottom: 20px; }

.demo-form label, .demo-form legend { font-weight: 800; font-stretch: 80%; text-transform: uppercase; }
.demo-form input:not([type="radio"]), .demo-form select, .demo-form textarea { border: 3px solid var(--ink); border-radius: 0; background: #fff; font-weight: 500; text-transform: none; }
.demo-form .demo-button { background: var(--violet); color: #fff; }
.slot { border: 3px solid var(--ink); text-transform: none !important; }
.slot:hover { background: var(--citron); }
.slot:has(input:checked) { background: var(--violet); color: #fff; }
.slot:has(input:focus-visible) { outline: 4px solid var(--rose); outline-offset: 2px; }
.form-result { padding: 14px 16px; background: var(--citron); font-weight: 700; }
.form-error { background: var(--rose); }

.recap { background: var(--ink); color: #fff; box-shadow: 10px 10px 0 var(--rose); }
.recap h2 { font-size: 40px; color: var(--citron); }
.recap dl { margin-top: 12px; }
.recap dl > div { padding: 10px 0; border-top: 2px solid rgba(255, 255, 255, .35); }
.recap dt { font-size: 15px; text-transform: uppercase; font-stretch: 80%; }

.steps li { display: grid; grid-template-columns: clamp(60px, 11vw, 150px) minmax(0, 1fr); align-items: center; padding: 18px 0; border-top: 4px solid var(--ink); counter-increment: step; font-size: clamp(20px, 2.3vw, 28px); font-weight: 700; line-height: 1.2; }
.steps { counter-reset: step; }
.steps li::before { content: counter(step); font-family: "Anton", Impact, sans-serif; font-size: clamp(56px, 9vw, 120px); line-height: 1; color: var(--violet); }
.callout { margin-top: 24px; padding: 16px 18px; background: var(--ink); color: #fff; font-weight: 700; }

.account h2 { padding: 10px 14px; background: var(--violet); color: #fff; font-size: 36px; }
.account li { padding-left: 14px; padding-right: 14px; border-bottom: 3px solid var(--ink); }
.account li span:last-child { font-weight: 800; color: var(--violet); }

.foot { overflow: hidden; background: var(--ink); color: #fff; }
.foot-word { padding-top: 12px; font-family: "Anton", Impact, sans-serif; font-size: 25.5vw; line-height: .95; text-align: center; text-transform: uppercase; color: var(--violet); white-space: nowrap; }
.foot-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 32px; padding: 16px var(--pad); font-size: 16px; }

@keyframes slam { from { transform: translateY(40px) skewY(3deg); opacity: 0; } }
@keyframes slide { to { transform: translateX(-50%); } }
@keyframes blink { to { fill: var(--citron); } }
@keyframes drop { from { opacity: 0; transform: translateY(-14px); } }
@media (prefers-reduced-motion: reduce) { .marquee-track, .hero h1, .grip.is-next svg, .week-list li { animation: none; } }

@media (max-width: 860px) {
  .brand { font-size: 26px; }
  .nav { display: none; flex-basis: 100%; }
  .nav.is-open { display: block; }
  .nav ul { display: block; }
  .nav a { min-height: 52px; font-size: 22px; font-family: "Anton", Impact, sans-serif; font-weight: 400; }
  .hero { display: block; min-height: 0; padding-top: 26vw; padding-bottom: 96px; clip-path: polygon(0 0, 100% 0, 100% 96%, 0 100%); }
  .hero h1 { font-size: 33vw; padding-bottom: 28px; }
  .climb { grid-template-columns: minmax(0, 1fr); }
  .salle-head .punch { box-shadow: 5px 5px 0 var(--ink); }
  .hero-side { padding-bottom: 0; }
  .stack-row { grid-template-columns: minmax(0, 1fr); }
  .stack-row span { text-align: left; }
  .mosaic { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .spot, .spot:nth-child(1), .spot:nth-child(5) { grid-column: span 1; }
  .spot:nth-child(3n + 1) { grid-column: span 2; }
  .spot svg { min-height: 170px; }
  .spot figcaption { font-size: 15px; }
}
