/* ==========================================================================
   SVB Ride · maquette 2026–2027
   Archétype : affiche freeride brutaliste (noir, bleu glacier, hexagone)
   ========================================================================== */

/* ---------- Polices ---------- */
@font-face {
  font-family: "Filming";
  src: url("../fonts/Filming-Regular.ttf") format("truetype");
  font-weight: 400 600;
  font-display: swap;
}
@font-face {
  font-family: "Big Shoulders Display";
  src: url("../fonts/big-shoulders-display-latin-600-normal.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "DM Sans";
  src: url("../fonts/dm-sans-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 1000;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  /* couleur */
  --ink: #000;
  --ink-2: #0b0d10;
  --ink-3: #15191e;
  --snow: #fff;
  --snow-2: #c9d2dc;
  --ice: #3fa9f5;          /* bleu SVB, identique au logo */
  --ice-deep: #1b6fb0;
  --blush: #f888c0;        /* rose des visuels traités */
  --line: rgba(255, 255, 255, 0.22);
  --line-strong: #fff;

  /* typo */
  --f-display: "Filming", "Big Shoulders Display", "Arial Narrow", sans-serif;
  --f-text: "DM Sans", system-ui, sans-serif;
  --t-xs: 0.8125rem;
  --t-sm: 0.9375rem;
  --t-base: 1.0625rem;
  --t-lg: 1.25rem;
  --t-xl: clamp(1.5rem, 1.1rem + 1.6vw, 2.25rem);
  --t-h3: clamp(2rem, 1.4rem + 2.6vw, 3.5rem);
  --t-h2: clamp(2.75rem, 1.6rem + 5.2vw, 6rem);
  --t-h1: clamp(4rem, 1rem + 13vw, 13.5rem);
  --t-giant: clamp(6rem, 2rem + 19vw, 21rem);

  /* espace */
  --s-1: 0.25rem; --s-2: 0.5rem; --s-3: 0.75rem; --s-4: 1rem;
  --s-5: 1.5rem;  --s-6: 2rem;   --s-7: 3rem;    --s-8: 4.5rem;
  --s-9: clamp(4.5rem, 3rem + 7vw, 9rem);
  --gutter: clamp(1.25rem, 0.6rem + 3vw, 3.5rem);
  --max: 86rem;

  /* motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
  --d-fast: 180ms;
  --d-med: 420ms;
  --d-slow: 900ms;

  --hex: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%);
  --hex-tall: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--snow);
  font-family: var(--f-text);
  font-size: var(--t-base);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 var(--s-4); max-width: 62ch; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3 { margin: 0; font-family: var(--f-display); font-weight: 500; text-transform: uppercase; line-height: 0.9; letter-spacing: 0; }
:focus-visible { outline: 3px solid var(--blush); outline-offset: 3px; }
::selection { background: var(--ice); color: var(--ink); }

.skip {
  position: absolute; left: var(--s-4); top: -4rem; z-index: 100;
  background: var(--ice); color: var(--ink); padding: var(--s-3) var(--s-4); font-weight: 700;
  transition: top var(--d-fast) var(--ease-out);
}
.skip:focus { top: var(--s-4); }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--s-9); position: relative; }
.rule { border: 0; border-top: 2px solid var(--line-strong); margin: 0; }

.label {
  display: inline-flex; align-items: center; gap: var(--s-3);
  font-size: var(--t-xs); font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--snow-2);
}
.label::before { content: ""; width: 0.7rem; height: 0.62rem; background: var(--ice); clip-path: var(--hex); }
.h2 { font-size: var(--t-h2); color: var(--ice); }
.h3 { font-size: var(--t-h3); }
.lead { font-size: var(--t-xl); line-height: 1.3; font-weight: 400; max-width: 30ch; }
.muted { color: var(--snow-2); }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: var(--s-3);
  min-height: 3.25rem; padding: 0 var(--s-5);
  font-weight: 700; font-size: var(--t-sm); letter-spacing: 0.12em; text-transform: uppercase;
  border: 2px solid var(--ice); background: var(--ice); color: var(--ink);
  transition: background var(--d-fast) var(--ease-out), color var(--d-fast) var(--ease-out), border-color var(--d-fast) var(--ease-out);
}
.btn .arr { transition: transform var(--d-med) var(--ease-out); }
.btn:hover { background: var(--snow); border-color: var(--snow); }
.btn:hover .arr { transform: translateX(0.4rem); }
.btn--ghost { background: transparent; color: var(--snow); border-color: var(--snow); }
.btn--ghost:hover { background: var(--snow); color: var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--s-4); }

/* ---------- En-tête ---------- */
.site-head {
  position: sticky; top: 0; z-index: 50;
  background: rgba(0, 0, 0, 0.9);
  border-bottom: 1px solid var(--line);
}
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: var(--s-5); min-height: 4.5rem; }
.brand { display: flex; align-items: center; gap: var(--s-3); }
.brand img { width: 2.4rem; }
.brand span { font-family: var(--f-display); font-size: 1.6rem; line-height: 1; text-transform: uppercase; color: var(--ice); white-space: nowrap; }
.brand span b { font-weight: inherit; color: var(--snow); }
.nav { display: flex; align-items: center; gap: var(--s-6); }
.nav ul { display: flex; gap: var(--s-5); }
.nav a.nl {
  position: relative; display: inline-block; padding: var(--s-3) 0;
  font-size: var(--t-xs); font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
}
.nav a.nl::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0.35rem; height: 2px; background: var(--ice);
  transform: scaleX(0); transform-origin: left; transition: transform var(--d-med) var(--ease-out);
}
.nav a.nl:hover::after, .nav a.nl[aria-current="page"]::after { transform: scaleX(1); }
.nav a.nl[aria-current="page"] { color: var(--ice); }
.socials { display: flex; gap: var(--s-2); }
.socials a { display: block; width: 2.6rem; transition: transform var(--d-med) var(--ease-out); }
.socials a:hover { transform: rotate(-8deg) scale(1.08); }
.menu-btn {
  display: none; width: 3rem; height: 3rem; background: none; border: 2px solid var(--snow); color: var(--snow); cursor: pointer; padding: 0;
  align-items: center; justify-content: center; flex-direction: column; gap: 6px;
}
.menu-btn i { display: block; width: 1.3rem; height: 2px; background: currentColor; transition: transform var(--d-med) var(--ease-out); }
.menu-btn[aria-expanded="true"] i:first-child { transform: translateY(4px) rotate(45deg); }
.menu-btn[aria-expanded="true"] i:last-child { transform: translateY(-4px) rotate(-45deg); }

@media (max-width: 62rem) {
  .menu-btn { display: inline-flex; }
  .nav {
    position: fixed; inset: 4.5rem 0 0 0; background: var(--ink); flex-direction: column; align-items: flex-start; justify-content: space-between;
    padding: var(--s-6) var(--gutter) var(--s-7);
    opacity: 0; visibility: hidden; transform: translateY(-0.75rem);
    transition: opacity var(--d-med) var(--ease-out), transform var(--d-med) var(--ease-out), visibility 0s linear var(--d-med);
  }
  .nav.open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .nav ul { flex-direction: column; gap: 0; width: 100%; }
  .nav li { border-bottom: 1px solid var(--line); }
  .nav a.nl { display: block; font-family: var(--f-display); font-size: 3.25rem; letter-spacing: 0; line-height: 1; padding: var(--s-4) 0; font-weight: 500; }
  .nav a.nl::after { display: none; }
  .socials a { width: 3.4rem; }
}

/* ---------- Bandeau défilant ---------- */
.marquee { overflow: hidden; white-space: nowrap; user-select: none; }
.marquee__track { display: inline-flex; animation: slide 38s linear infinite; will-change: transform; }
.marquee--rev .marquee__track { animation-direction: reverse; }
.marquee span {
  font-family: var(--f-display); font-size: var(--t-giant); line-height: 0.82; text-transform: uppercase; padding-right: 0.22em;
}
.marquee--ice span { color: var(--ice); }
.marquee--ghost span { color: transparent; -webkit-text-stroke: 1.5px var(--line); }
.marquee--sm span { font-size: var(--t-h2); line-height: 1; }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- Hero accueil ---------- */
.hero { position: relative; padding-top: var(--s-7); overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: var(--gutter); align-items: end; position: relative; z-index: 2; }
.hero__title { font-size: clamp(4.25rem, 1rem + 10.2vw, 10.5rem); line-height: 0.8; margin: var(--s-5) 0 var(--s-5); }
.hero__title span { display: block; white-space: nowrap; }
.hero__title .l2 { color: var(--ice); }
.hero__meta { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-5); font-family: var(--f-display); font-size: var(--t-xl); text-transform: uppercase; line-height: 1; margin-bottom: var(--s-6); }
.hero__meta span + span::before { content: ""; display: inline-block; width: 0.55em; height: 0.5em; margin-right: var(--s-5); background: var(--blush); clip-path: var(--hex); }
.hero__copy { padding-bottom: var(--s-8); }
.hero__copy p { font-size: var(--t-lg); max-width: 34ch; margin-bottom: var(--s-6); }

.posters { position: relative; aspect-ratio: 10 / 11; }
.poster { position: absolute; width: 48%; aspect-ratio: 2 / 3; overflow: hidden; background: var(--ink-3); }
.poster img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--d-slow) var(--ease-out); }
.posters:hover .poster img { transform: scale(1.05); }
.poster--a { left: 0; bottom: 0; transform: rotate(-5deg); z-index: 1; }
.poster--b { left: 26%; top: 0; z-index: 2; }
.poster--c { right: 0; bottom: 6%; transform: rotate(4deg); z-index: 1; }
.posters__logo { position: absolute; z-index: 3; width: 30%; left: 35%; bottom: -3%; filter: drop-shadow(0 0.75rem 0 rgba(0, 0, 0, 0.55)); }
.hero__band { margin-top: calc(var(--s-7) * -1); position: relative; z-index: 1; }

@media (max-width: 62rem) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__copy { padding-bottom: var(--s-5); }
  .posters { max-width: 34rem; margin-inline: auto; width: 100%; }
  .hero__band { margin-top: var(--s-5); }
}

/* ---------- Faits clés ---------- */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 2px solid var(--snow); border-bottom: 2px solid var(--snow); }
.facts li { padding: var(--s-6) var(--s-5); border-left: 1px solid var(--line); }
.facts li:first-child { border-left: 0; padding-left: 0; }
.facts b { display: block; font-family: var(--f-display); font-weight: 500; font-size: var(--t-h2); line-height: 0.9; color: var(--ice); text-transform: uppercase; }
.facts span { font-size: var(--t-sm); color: var(--snow-2); }
@media (max-width: 48rem) {
  .facts { grid-template-columns: repeat(2, 1fr); }
  .facts li:nth-child(odd) { border-left: 0; padding-left: 0; }
  .facts li:nth-child(n + 3) { border-top: 1px solid var(--line); }
}

/* ---------- En-têtes de section ---------- */
.sec-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--s-5); align-items: end; margin-bottom: var(--s-7); }
.sec-head .h2 { margin-top: var(--s-4); }
@media (max-width: 48rem) { .sec-head { grid-template-columns: 1fr; } }

/* ---------- Sponsors ---------- */
.tiers { border-top: 2px solid var(--snow); }
.tier { display: grid; grid-template-columns: 14rem minmax(0, 1fr); gap: var(--s-6); padding-block: var(--s-6); border-bottom: 1px solid var(--line); align-items: start; }
.tier:last-child { border-bottom: 2px solid var(--snow); }
.tier__name { display: flex; align-items: center; gap: var(--s-4); }
.tier__name h3 { font-size: var(--t-h3); }
.hexbadge { width: 3.4rem; aspect-ratio: 1 / 1.1; flex: none; clip-path: var(--hex-tall); display: grid; place-items: center; color: var(--ink); font-family: var(--f-display); font-size: 1.7rem; line-height: 1; }
.hexbadge--or { background: var(--ice); }
.hexbadge--argent { background: var(--snow); }
.hexbadge--bronze { background: var(--blush); }
.tier ul { display: flex; flex-wrap: wrap; gap: var(--s-3); }
.tier li a {
  display: inline-flex; align-items: center; min-height: 3rem; padding: 0 var(--s-4);
  border: 1px solid var(--line); font-weight: 500;
  transition: background var(--d-fast) var(--ease-out), color var(--d-fast) var(--ease-out), border-color var(--d-fast) var(--ease-out);
}
.tier li a:hover { background: var(--ice); color: var(--ink); border-color: var(--ice); }
.tier--or li a { font-family: var(--f-display); font-size: var(--t-h3); text-transform: uppercase; line-height: 1; min-height: 5.5rem; padding: 0 var(--s-5); border: 2px solid var(--snow); }
.tier--argent li a { font-size: var(--t-lg); min-height: 3.5rem; }
@media (max-width: 48rem) { .tier { grid-template-columns: 1fr; gap: var(--s-4); } }

.cta-band { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: var(--gutter); align-items: end; margin-top: var(--s-8); padding: var(--s-7) var(--s-6); border: 2px solid var(--snow); position: relative; background: var(--ink); }
.cta-band h3 { font-size: var(--t-h2); color: var(--ice); }
.cta-band p { margin-top: var(--s-4); }
@media (max-width: 48rem) { .cta-band { grid-template-columns: 1fr; padding: var(--s-6) var(--s-5); } }

/* ---------- Résultats ---------- */
.results { border-top: 2px solid var(--snow); }
.result { display: grid; grid-template-columns: minmax(7rem, 14rem) minmax(0, 1fr) auto; gap: var(--s-5); align-items: center; padding-block: var(--s-5); border-bottom: 1px solid var(--line); transition: background var(--d-fast) var(--ease-out); }
.result:hover { background: var(--ink-2); }
.result__rank { font-family: var(--f-display); font-size: var(--t-h1); line-height: 0.8; color: var(--ice); font-size: clamp(4.5rem, 2rem + 9vw, 10rem); }
.result__rank sup { font-size: 0.32em; vertical-align: top; position: relative; top: 0.15em; color: var(--snow); text-transform: lowercase; }
.result__name { font-family: var(--f-display); font-size: var(--t-h3); text-transform: uppercase; line-height: 0.95; }
.result__lvl { display: flex; gap: 0.3rem; align-items: center; }
.result__lvl i { width: 1.1rem; height: 1rem; background: var(--blush); clip-path: var(--hex); }
.result__lvl span { margin-left: var(--s-3); font-size: var(--t-xs); letter-spacing: 0.14em; text-transform: uppercase; color: var(--snow-2); white-space: nowrap; }
@media (max-width: 40rem) {
  .result { grid-template-columns: 6rem minmax(0, 1fr); }
  .result__lvl { grid-column: 2; }
}

/* ---------- Teaser à propos ---------- */
.split { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: var(--gutter); align-items: center; }
.split--flip { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); }
.frame { position: relative; }
.frame img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.frame::after { content: ""; position: absolute; inset: var(--s-4) calc(var(--s-4) * -1) calc(var(--s-4) * -1) var(--s-4); border: 2px solid var(--ice); z-index: -1; }
.frame figcaption { position: absolute; left: 0; bottom: 0; background: var(--ink); padding: var(--s-2) var(--s-4) 0 0; font-size: var(--t-xs); letter-spacing: 0.14em; text-transform: uppercase; color: var(--snow-2); }
.split .h2 { margin: var(--s-4) 0 var(--s-5); }
@media (max-width: 56rem) { .split, .split--flip { grid-template-columns: 1fr; } .frame { max-width: 30rem; } }

/* ---------- Follow ---------- */
.follow { text-align: left; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding-block: var(--s-7); overflow: hidden; }
.follow__links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-5); margin-top: var(--s-6); }
.follow__links a { display: flex; align-items: center; gap: var(--s-5); padding: var(--s-5); border: 2px solid var(--snow); transition: background var(--d-fast) var(--ease-out), color var(--d-fast) var(--ease-out); }
.follow__links a:hover { background: var(--snow); color: var(--ink); }
.follow__links img { width: 5rem; flex: none; }
.follow__links b { display: block; font-family: var(--f-display); font-weight: 500; font-size: var(--t-h3); text-transform: uppercase; line-height: 1; }
.follow__links span { font-size: var(--t-sm); }
@media (max-width: 48rem) { .follow__links { grid-template-columns: 1fr; } .follow__links img { width: 3.75rem; } }

/* ---------- En-tête de page intérieure ---------- */
.page-head { padding-top: var(--s-8); position: relative; overflow: hidden; }
.page-head h1 { font-size: var(--t-h1); line-height: 0.8; margin: var(--s-5) 0 var(--s-6); }
.page-head h1 em { font-style: normal; color: var(--ice); display: block; }
.page-head .lead { margin-bottom: var(--s-7); }

/* ---------- Parcours ---------- */
.timeline { border-top: 2px solid var(--snow); }
.step { display: grid; grid-template-columns: minmax(8rem, 16rem) minmax(0, 1fr); gap: var(--s-6); padding-block: var(--s-6); border-bottom: 1px solid var(--line); }
.step__when { font-family: var(--f-display); font-size: var(--t-h2); line-height: 0.85; color: var(--ice); text-transform: uppercase; }
.step__when small { display: block; font-family: var(--f-text); font-size: var(--t-xs); letter-spacing: 0.14em; color: var(--snow-2); margin-top: var(--s-3); font-weight: 600; }
.step h3 { font-size: var(--t-h3); margin-bottom: var(--s-4); }
.step p { font-size: var(--t-lg); line-height: 1.55; }
@media (max-width: 48rem) { .step { grid-template-columns: 1fr; gap: var(--s-4); } }

.goal { background: var(--ice); color: var(--ink); }
.goal .label { color: var(--ink); }
.goal .label::before { background: var(--ink); }
.goal h2 { font-size: var(--t-h1); line-height: 0.82; margin: var(--s-5) 0 var(--s-6); font-size: clamp(3.5rem, 1rem + 10.5vw, 11rem); }
.goal p { font-size: var(--t-lg); font-weight: 500; }
.goal .btn { background: var(--ink); border-color: var(--ink); color: var(--snow); }
.goal .btn:hover { background: var(--snow); border-color: var(--snow); color: var(--ink); }
.goal__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gutter); }
.goal :focus-visible { outline-color: var(--ink); }
@media (max-width: 48rem) { .goal__grid { grid-template-columns: 1fr; } }

/* ---------- Galerie ---------- */
.gallery { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--s-4); }
.gallery a { position: relative; overflow: hidden; display: block; background: var(--ink-3); grid-column: span 4; aspect-ratio: 2 / 3; }
.gallery a.w { grid-column: span 8; aspect-ratio: 3 / 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--d-slow) var(--ease-out); }
.gallery a:hover img { transform: scale(1.06); }
.gallery a::after { content: attr(data-n); position: absolute; left: var(--s-3); top: var(--s-3); font-family: var(--f-display); font-size: 1.6rem; line-height: 1; background: var(--ink); color: var(--snow); padding: 0.2rem 0.5rem 0.1rem; }
@media (max-width: 48rem) { .gallery a, .gallery a.w { grid-column: span 6; aspect-ratio: 2 / 3; } .gallery a.w { grid-column: span 12; aspect-ratio: 3 / 2; } }

.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
.lightbox::backdrop { background: rgba(0, 0, 0, 0.94); }
.lightbox[open] { display: grid; place-items: center; animation: lb var(--d-med) var(--ease-out); }
.lightbox img { max-width: 92vw; max-height: 86vh; object-fit: contain; }
.lightbox button { position: fixed; top: var(--s-4); right: var(--s-4); }
@keyframes lb { from { opacity: 0; transform: scale(0.97); } }

/* ---------- Offres sponsoring ---------- */
.offers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-4); align-items: stretch; }
.offer { border: 2px solid var(--snow); padding: var(--s-6) var(--s-5); display: flex; flex-direction: column; gap: var(--s-5); position: relative; transition: transform var(--d-med) var(--ease-out); }
.offer:hover { transform: translateY(-0.4rem); }
.offer--or { background: var(--ice); color: var(--ink); border-color: var(--ice); }
.offer h3 { font-size: var(--t-h2); }
.offer__price { font-family: var(--f-display); font-size: var(--t-h3); line-height: 1; text-transform: uppercase; }
.offer__price small { font-family: var(--f-text); font-size: var(--t-xs); letter-spacing: 0.14em; font-weight: 600; display: block; margin-bottom: var(--s-2); }
.offer ul { border-top: 1px solid currentColor; margin-top: auto; }
.offer li { padding: var(--s-3) 0; border-bottom: 1px solid currentColor; font-weight: 500; display: flex; gap: var(--s-3); align-items: center; }
.offer li::before { content: ""; width: 0.7rem; height: 0.62rem; background: currentColor; clip-path: var(--hex); flex: none; }
.offer li.off { opacity: 0.4; text-decoration: line-through; }
.offer--or :focus-visible { outline-color: var(--ink); }
@media (max-width: 56rem) { .offers { grid-template-columns: 1fr; } }

/* ---------- Budget ---------- */
.budget { border-top: 2px solid var(--snow); }
.budget__row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--s-2) var(--s-5); padding-block: var(--s-4); border-bottom: 1px solid var(--line); align-items: baseline; }
.budget__row dt { font-size: var(--t-lg); font-weight: 500; }
.budget__row dd { margin: 0; font-family: var(--f-display); font-size: var(--t-xl); line-height: 1; text-transform: uppercase; }
.bar { grid-column: 1 / -1; height: 0.6rem; background: var(--ink-3); }
.bar i { display: block; height: 100%; width: calc(var(--v) * 1%); background: var(--ice); transform-origin: left; transform: scaleX(0); transition: transform var(--d-slow) var(--ease-out); }
.in .bar i, .no-js .bar i { transform: none; }
.budget__total { display: flex; justify-content: space-between; align-items: end; gap: var(--s-5); padding-top: var(--s-6); flex-wrap: wrap; }
.budget__total b { font-family: var(--f-display); font-weight: 500; font-size: var(--t-h1); line-height: 0.8; color: var(--ice); text-transform: uppercase; font-size: clamp(4rem, 1rem + 11vw, 11rem); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: var(--gutter); align-items: start; }
@media (max-width: 56rem) { .contact-grid { grid-template-columns: 1fr; } }
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-5); border: 2px solid var(--snow); padding: var(--s-6); }
.field { display: flex; flex-direction: column; gap: var(--s-2); }
.field--full { grid-column: 1 / -1; }
.field label { font-size: var(--t-xs); font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; }
.field label i { color: var(--blush); font-style: normal; }
.field input, .field textarea {
  font: inherit; color: var(--snow); background: var(--ink-2); border: 0; border-bottom: 2px solid var(--snow); padding: var(--s-3) var(--s-3); min-height: 3.25rem; border-radius: 0;
  transition: border-color var(--d-fast) var(--ease-out), background var(--d-fast) var(--ease-out);
}
.field textarea { min-height: 10rem; resize: vertical; }
.field input:hover, .field textarea:hover { background: var(--ink-3); }
.field input:focus-visible, .field textarea:focus-visible { outline: 0; border-color: var(--ice); background: var(--ink-3); box-shadow: 0 0 0 2px var(--ice); }
.form__note { grid-column: 1 / -1; font-size: var(--t-sm); color: var(--snow-2); margin: 0; }
@media (max-width: 40rem) { .form { grid-template-columns: 1fr; padding: var(--s-5); } }
.direct { display: grid; gap: var(--s-4); margin-top: var(--s-6); }
.direct a { display: flex; align-items: center; gap: var(--s-4); font-size: var(--t-lg); font-weight: 500; }
.direct a:hover { color: var(--ice); }
.direct img { width: 3.5rem; flex: none; }

/* ---------- Pied de page ---------- */
.site-foot { border-top: 2px solid var(--snow); padding-top: var(--s-8); overflow: hidden; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 0.6fr)); gap: var(--gutter); padding-bottom: var(--s-8); }
.foot-grid h2 { font-size: var(--t-h3); color: var(--ice); margin-bottom: var(--s-4); }
.foot-grid h3 { font-family: var(--f-text); font-size: var(--t-xs); letter-spacing: 0.16em; font-weight: 600; color: var(--snow-2); margin-bottom: var(--s-4); line-height: 1.4; }
.foot-grid li a { display: inline-block; padding: var(--s-2) 0; font-weight: 500; }
.foot-grid li a:hover { color: var(--ice); }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: var(--s-4); padding-block: var(--s-5); border-top: 1px solid var(--line); font-size: var(--t-sm); color: var(--snow-2); }
.foot-base a { display: inline-flex; align-items: center; gap: var(--s-3); }
.foot-base img { height: 1.5rem; width: auto; }
@media (max-width: 48rem) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-grid > div:first-child { grid-column: 1 / -1; } }

/* ---------- Apparition au scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(2rem); transition: opacity var(--d-slow) var(--ease-out), transform var(--d-slow) var(--ease-out); transition-delay: calc(var(--i, 0) * 70ms); }
.js .reveal.in { opacity: 1; transform: none; }
.js .hero__title span { clip-path: inset(0 0 100% 0); transform: translateY(0.25em); animation: rise var(--d-slow) var(--ease-out) forwards; }
.js .hero__title .l2 { animation-delay: 110ms; }
.js .poster, .js .posters__logo { animation: drop var(--d-slow) var(--ease-out) backwards; }
.js .poster--b { animation-delay: 120ms; } .js .poster--c { animation-delay: 220ms; } .js .posters__logo { animation-delay: 380ms; }
@keyframes rise { to { clip-path: inset(0); transform: none; } }
@keyframes drop { from { opacity: 0; translate: 0 3rem; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .js .hero__title span { clip-path: none; transform: none; }
  .bar i { transform: none; }
}

/* ---------- Ajustements de recette ---------- */
.page-head h1 { font-size: clamp(4.25rem, 1rem + 10.2vw, 10.5rem); }
.page-head h1 em { white-space: nowrap; }
.gallery { grid-auto-flow: dense; }
.direct a { overflow-wrap: anywhere; min-width: 0; }
@media (max-width: 30rem) {
  .brand span b { display: none; }
  .brand span { font-size: 1.45rem; }
  .direct a { font-size: var(--t-base); }
  .direct img { width: 3rem; }
}

/* ---------- Mentions légales ---------- */
.legal { max-width: 52rem; }
.legal h2 { font-family: var(--f-text); text-transform: none; font-size: var(--t-lg); font-weight: 700; line-height: 1.3; margin: var(--s-7) 0 var(--s-3); padding-top: var(--s-5); border-top: 1px solid var(--line); color: var(--ice); }
.legal a { text-decoration: underline; text-underline-offset: 0.2em; }
.legal a:hover { color: var(--ice); }
.offer__price, .budget__row dd, .budget__total b { white-space: nowrap; }

/* ---------- Finitions ---------- */
.nw { white-space: nowrap; }
[id] { scroll-margin-top: 6rem; }
.offer li.off { opacity: 0.6; }
.label { flex-wrap: wrap; row-gap: var(--s-1); }
.legal p { font-size: var(--t-base); max-width: 68ch; }
.site-head { backdrop-filter: none; }
@media (max-width: 30rem) {
  .label { letter-spacing: 0.12em; }
  .hero__meta { font-size: 1.35rem; gap: var(--s-2) var(--s-4); }
  .hero__meta span + span::before { margin-right: var(--s-4); }
  .facts li { padding: var(--s-5) var(--s-4); }
}
@media (min-width: 62rem) and (max-width: 75rem) {
  .nav { gap: var(--s-4); }
  .nav ul { gap: var(--s-4); }
  .brand span b { display: none; }
}
.label { display: inline-block; }
.label::before { display: inline-block; margin-right: var(--s-3); }
.hero__title { font-size: clamp(4.25rem, 1rem + 9.4vw, 9.5rem); }
.offer li.off { opacity: 0.72; }
.legal h3 { font-family: var(--f-text); text-transform: none; font-size: var(--t-base); font-weight: 700; line-height: 1.4; margin: var(--s-5) 0 var(--s-2); }
.page-head h1 { line-height: 0.92; }
