/* ==========================================================================
   ONE MORE SKYDIVE — feuille de style commune
   Style aligné sur la page d'accueil d'origine (Squarespace) :
   sections noires (#000) et blanc cassé (#fafafa), titres en Gin avec
   coup de pinceau, texte Assistant léger, boutons à contour 2 px.
   Deux polices seulement : Gin (titres) + Assistant (tout le reste).
   Spécifique à l'accueil : accueil.css + accueil-grille.css.
   Pied de page commun : pied-de-page.css.
   ========================================================================== */

@font-face {
  font-family: "Gin";
  src: url("../fonts/Gin-Regular.ttf") format("truetype");
  font-display: swap;
}

/* ---------- Thèmes : chaque bloc définit ses couleurs ---------- */
:root {
  --black: #000;
  --white: #fafafa;
  --font-display: "Gin", "Assistant", sans-serif;
  --font-body: "Assistant", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --u: 1.2vw;                         /* unité de taille de texte (comme Squarespace) */
  --gutter: 4vw;
  --container: 1500px;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);
  --header-h: 110px;
  --sqs-site-gutter: 4vw;
  --sqs-mobile-site-gutter: 6vw;
  --sqs-site-max-width: 1500px;
}
@media (max-width: 767px) {
  :root { --u: min(1.2vh, 10.8px); --gutter: 6vw; --header-h: 86px; }
}
/* thème clair (par défaut) */
:root, .theme-light, .section, .drawer, .pmodal, .toast-light {
  --bg: #fafafa;
  --fg: #000;
  --fg-2: rgba(0, 0, 0, .74);
  --fg-3: rgba(0, 0, 0, .56);
  --line: rgba(0, 0, 0, .14);
  --line-strong: rgba(0, 0, 0, .4);
  --field: #fff;
  --danger: #c0262d;
  --ok: #1e7a4c;
}
/* thème sombre */
.theme-dark, .theme-black, .theme-image, .section--alt, .section--deep, .page-hero, .jump-cta, .thanks, .menu-panel, .lightbox, .site-foot {
  --bg: #000;
  --fg: #fafafa;
  --fg-2: rgba(250, 250, 250, .8);
  --fg-3: rgba(250, 250, 250, .6);
  --line: rgba(250, 250, 250, .16);
  --line-strong: rgba(250, 250, 250, .45);
  --field: #0c0c0c;
  --danger: #ff8f8a;
  --ok: #7fdca4;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 10px); }
body {
  margin: 0; background: var(--black); color: var(--fg);
  font-family: var(--font-body); font-weight: 300; font-size: calc(0.2264 * var(--u) + 1rem); line-height: 1.6; letter-spacing: .01em;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: hidden;
}
img, video, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; letter-spacing: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; text-wrap: balance; }
p { margin: 0 0 1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
strong, b { font-weight: 700; }
::selection { background: var(--fg); color: var(--bg); }
:focus-visible { outline: 1.5px solid currentColor; outline-offset: 3px; }
.num { font-variant-numeric: tabular-nums; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 300; padding: 10px 16px; background: #fafafa; color: #000; font-weight: 700; transform: translateY(-200%); }
.skip-link:focus { transform: none; }

/* ==========================================================================
   BASE « SQUARESPACE » (accueil et pied de page)
   ========================================================================== */
.page-section { position: relative; display: flex; overflow: hidden; background: var(--bg); color: var(--fg); }
.page-section .content-wrapper { position: relative; z-index: 1; width: 100%; padding: calc(var(--pad-n, 1) * 1vw) 0; }
@media (max-width: 767px) { .page-section .content-wrapper { padding: calc(var(--pad-n, 1) * 1vh) 0; } }
.theme-black { background: var(--black); }
.theme-white { background: var(--white); }
.theme-light { background: #fff; }
.theme-image { background: var(--black); }
.section-background { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.section-background video, .section-background img { width: 100%; height: 100%; object-fit: cover; }
.section-background-overlay { position: absolute; inset: 0; background: #000; opacity: .15; }
.fluid-engine > .fe-block { position: relative; min-width: 0; }
.fe-block .sqs-block { position: relative; display: flex; flex-direction: column; height: 100%; width: 100%; }
.sqs-block-content { width: 100%; }
.fluid-image-container { position: relative; width: 100%; height: 100%; overflow: hidden; }
.fluid-image-container img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: var(--image-component-object-fit, cover); object-position: var(--image-component-focal-point, 50% 50%); }
.fluid-image-container a { position: absolute; inset: 0; display: block; }
.sqs-html-content p { margin: 13px 0; font-weight: 300; font-size: calc(0.2264 * var(--u) + 1rem); line-height: 1.6; letter-spacing: .01em; }
.sqs-html-content p.sqsrte-small, .sqs-html-content .sqsrte-small { font-size: calc(0.0264 * var(--u) + 1rem); }
.sqs-html-content h1 { margin: 0; font-family: var(--font-display); font-weight: 400; font-size: calc(4.926 * var(--u) + 1rem); line-height: 1.1144; letter-spacing: -.02em; }
.sqs-html-content h4 { margin: 26px 0; font-family: var(--font-display); font-weight: 400; font-size: calc(0.4264 * var(--u) + 1rem); line-height: 1.3664; letter-spacing: -.02em; }
.sqs-html-content > :first-child { margin-top: 0; }
.sqs-html-content > :last-child { margin-bottom: 0; }
.sqs-html-content a { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 767px) {
  .sqs-html-content p { margin: 0; font-size: calc(0.0921 * var(--u) + 1rem); }
  .sqs-html-content p.sqsrte-small, .sqs-html-content .sqsrte-small { margin: 13px 0; font-size: calc(1rem - 0.1078 * var(--u)); }
  .sqs-html-content > p:first-child { margin-top: 0; }
  .sqs-html-content > p:last-child { margin-bottom: 0; }
  .sqs-html-content h1 { font-size: calc(4.792 * var(--u) + 1rem); }
  .sqs-html-content h4 { font-size: calc(0.2925 * var(--u) + 1rem); }
}
.sqs-block-button { justify-content: center; }
.sqs-button {
  display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; padding: 0 1em;
  border: 2px solid currentColor; background: transparent; color: inherit; text-align: center;
  font-family: var(--font-body); font-weight: 700; font-size: calc(0.0264 * 1.2vw + 1rem); line-height: 1.2; transition: opacity .15s ease;
}
.sqs-button:hover { opacity: .8; }
.sqs-button:active { transform: scale(.98); }
@media (max-width: 767px) { .sqs-button { font-size: calc(1rem - 0.1078 * min(1.2vh, 10.8px)); } }
.sqs-block-social { justify-content: center; }
.om-socials { display: flex; justify-content: var(--social-icons-justify-content, center); gap: var(--social-icons-gap, 12px); }
.om-socials a { display: grid; place-items: center; width: calc(var(--social-icons-dimension, 20px) + 12px); height: calc(var(--social-icons-dimension, 20px) + 12px); color: inherit; transition: opacity .15s ease; }
.om-socials a:hover { opacity: .7; }
.om-socials svg { width: var(--social-icons-dimension, 20px); height: var(--social-icons-dimension, 20px); }

/* ==========================================================================
   EN-TÊTE D'ORIGINE (identique sur toutes les pages)
   Couleurs « dynamiques » : elles suivent la section qui passe dessous.
   ========================================================================== */
.om-header { position: fixed; inset: 0 0 auto; z-index: 100; color: var(--white); transition: color .2s ease, background-color .2s ease; }
.om-header[data-header-theme="light"] { color: var(--black); }
/* une fois la page défilée, l'en-tête prend le fond de la section qui passe dessous */
.om-header.is-scrolled { background: var(--black); }
.om-header.is-scrolled[data-header-theme="light"] { background: var(--white); }
.om-header__inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 2vw; padding: 1vw var(--sqs-site-gutter); }
.om-nav { display: flex; align-items: center; gap: 1.4vw; }
.om-nav__link { font-family: var(--font-body); font-weight: 700; font-size: .9956rem; line-height: 1.6; letter-spacing: .01em; color: inherit; padding: 0; background: none; border: 0; cursor: pointer; }
.om-nav__link.is-current, .om-nav__link:hover { text-decoration: underline; text-underline-offset: .3em; text-decoration-thickness: 1px; }
.om-folder { position: relative; }
.om-folder__menu {
  position: absolute; left: -16px; top: 100%; min-width: 200px; padding: 8px 16px; background: var(--black); color: var(--white);
  opacity: 0; visibility: hidden; transform: translateY(4px); transition: opacity .15s ease, transform .2s ease, visibility .15s;
}
.om-header[data-header-theme="light"] .om-folder__menu { background: var(--white); color: var(--black); }
.om-folder:hover .om-folder__menu, .om-folder:focus-within .om-folder__menu, .om-folder.is-open .om-folder__menu { opacity: 1; visibility: visible; transform: none; }
.om-folder__menu a { display: block; padding: 7px 0; font-weight: 700; font-size: .9956rem; white-space: nowrap; }
.om-folder__menu a:hover, .om-folder__menu a[aria-current="page"] { text-decoration: underline; text-underline-offset: .3em; }
.om-logo { display: block; justify-self: center; }
.om-logo img { height: 80px; width: auto; transition: filter .2s ease; }
.om-header[data-header-theme="light"] .om-logo img { filter: invert(1); }
.om-actions { display: flex; align-items: center; justify-content: flex-end; gap: 2.2vw; }
.om-actions__social { display: flex; align-items: center; gap: 21px; }
.om-actions__social a { display: grid; place-items: center; transition: opacity .15s ease; }
.om-actions__social a:hover { opacity: .7; }
.om-actions__social svg { width: 20px; height: 20px; }
.om-cart { display: inline-flex; align-items: center; gap: 6px; padding: 10px 12px; border: 2px solid currentColor; font-weight: 700; font-size: 1.1rem; line-height: 1; }
.om-cart svg { width: 22px; height: 22px; }
.om-cart:hover { opacity: .8; }
.om-cart__count.has-items { font-weight: 800; }
.cart-count.bump { animation: bump .32s var(--ease-out); }
@keyframes bump { 45% { transform: scale(1.3); } }
.om-burger { display: none; }
@media (max-width: 767px) {
  .om-header__inner { grid-template-columns: auto 1fr auto; padding: 27px var(--sqs-mobile-site-gutter); }
  .om-nav, .om-actions__social { display: none; }
  .om-logo { justify-self: start; grid-column: 1; grid-row: 1; }
  .om-logo img { height: 32px; }
  .om-actions { grid-column: 3; gap: 14px; }
  .om-cart { padding: 4px 7px; font-size: .95rem; gap: 4px; }
  .om-cart svg { width: 18px; height: 18px; }
  .om-burger { display: grid; width: 32px; height: 32px; place-content: center; }
  .om-burger span { display: block; width: 26px; height: 1px; background: currentColor; transition: transform .25s var(--ease-out); }
  .om-burger span + span { margin-top: 7px; }
  .menu-open .om-burger span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
  .menu-open .om-burger span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }
}
/* menu mobile plein écran */
.menu-panel {
  position: fixed; inset: 0; z-index: 90; background: var(--black); color: var(--white); overflow-y: auto; text-align: center;
  display: flex; flex-direction: column; justify-content: center; padding: calc(var(--header-h) + 20px) var(--gutter) 40px;
  opacity: 0; visibility: hidden; transition: opacity .25s ease, visibility .25s;
}
.menu-open .menu-panel { opacity: 1; visibility: visible; }
.menu-panel__links a { display: block; padding: 10px 0; font-weight: 700; font-size: 1.6rem; line-height: 1.3; transform: translateY(10px); opacity: 0; transition: transform .35s var(--ease-out), opacity .25s ease; }
.menu-open .menu-panel__links a { transform: none; opacity: 1; }
.menu-panel__links a[aria-current="page"] { text-decoration: underline; text-underline-offset: .25em; text-decoration-thickness: 1px; }
.menu-panel__foot { margin-top: 30px; display: flex; justify-content: center; gap: 12px; }
.menu-open .om-header { color: var(--white); }
.menu-open .om-header .om-logo img { filter: none; }
body.menu-open { overflow: hidden; }
@media (min-width: 768px) { .menu-panel { display: none !important; } }

/* ==========================================================================
   PAGES INTÉRIEURES
   ========================================================================== */
.container { width: min(var(--container), 100% - 2 * var(--gutter)); margin-inline: auto; }
.container--narrow { width: min(860px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.section { position: relative; background: var(--bg); color: var(--fg); padding-block: clamp(64px, 6.6vw, 120px); }
.section--tight { padding-block: clamp(48px, 4.4vw, 84px); }
.section--alt, .section--deep { background: var(--black); }

/* ---------- Typographie ---------- */
.h1, .h2, .h3 { font-family: var(--font-display); font-weight: 400; letter-spacing: -.02em; }
.h1 { font-size: calc(4.926 * var(--u) + 1rem); line-height: 1.05; }
.h2 { font-size: calc(2.6 * var(--u) + 1rem); line-height: 1.05; }
.h3 { font-size: calc(1 * var(--u) + 1rem); line-height: 1.15; }
@media (max-width: 767px) { .h1 { font-size: calc(3.6 * var(--u) + 1rem); } }
.lead { font-size: calc(0.2264 * var(--u) + 1rem); line-height: 1.6; color: var(--fg-2); max-width: 62ch; }
.muted { color: var(--fg-2); }
.small { font-size: calc(0.0264 * var(--u) + 1rem); }
.label { font-weight: 700; }

/* titre de section : le coup de pinceau des titres animés d'origine */
.title { position: relative; display: inline-block; padding-bottom: .38em; }
.title .brush-svg { position: absolute; left: 10%; bottom: 0; width: 90%; height: .3em; overflow: visible; color: currentColor; pointer-events: none; }
.title .brush-svg path { fill: none; stroke: currentColor; stroke-width: 7; stroke-linecap: round; stroke-dasharray: 340; stroke-dashoffset: 340; transition: stroke-dashoffset .9s var(--ease-out) .15s; }
.title.is-in .brush-svg path { stroke-dashoffset: 0; }
.head { margin-bottom: clamp(36px, 4.4vw, 72px); max-width: 820px; }
.head .lead { margin-top: 24px; }
.head--split { max-width: none; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; }

/* ---------- Boutons (contour 2 px, comme l'accueil) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 58px; padding: 0 30px;
  border: 2px solid var(--fg); background: transparent; color: var(--fg);
  font-family: var(--font-body); font-weight: 700; font-size: calc(0.0264 * var(--u) + 1rem); line-height: 1.2; text-align: center;
  transition: background-color .15s ease, color .15s ease, transform .14s var(--ease-out);
}
.btn:hover { background: var(--fg); color: var(--bg); }
.btn:active { transform: scale(.98); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--ghost { border-width: 1px; }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: 1rem; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .4; pointer-events: none; }
.link { font-weight: 700; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; transition: opacity .15s ease; }
.link:hover { opacity: .7; }
.pill { display: inline-flex; align-items: center; padding: 4px 10px; border: 1px solid var(--line-strong); font-size: .85rem; font-weight: 700; color: var(--fg-2); }
.pill--solid { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.pill--full { color: var(--danger); border-color: currentColor; }

/* ---------- Bandeau de page (photo plein cadre, titre Gin comme « Dans le doute… ») ---------- */
.page-hero {
  position: relative; min-height: clamp(460px, 70vh, 760px); display: flex; align-items: flex-end; overflow: hidden; isolation: isolate;
  background: var(--black); color: var(--fg); padding: calc(var(--header-h) + 40px) 0 clamp(48px, 6vw, 96px);
}
.page-hero__bg { position: absolute; inset: 0; z-index: -2; }
.page-hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0, 0, 0, .4) 0%, rgba(0, 0, 0, .2) 35%, rgba(0, 0, 0, .72) 100%); }
.page-hero--short { min-height: clamp(400px, 56vh, 600px); }
.page-hero .h1 { max-width: 14ch; }
.page-hero .lead { margin-top: 22px; color: var(--fg); }
.page-hero__actions { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 16px 26px; align-items: center; }
.page-hero--plain { min-height: 0; padding-top: calc(var(--header-h) + 70px); }
.page-hero--plain::before { display: none; }

/* ---------- Mise en page ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 100px); align-items: center; }
.split--top { align-items: start; }
.split > *, .form-layout > *, .doc > *, .tv-grid > *, .event > * { min-width: 0; }
.split__media img { width: 100%; object-fit: cover; }
.split__media--tall img { aspect-ratio: 4 / 5; }
.prose p { color: var(--fg-2); max-width: 62ch; }
.prose .h2 + p { margin-top: 26px; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split--reverse .split__media { order: -1; } }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); counter-reset: step; border-top: 1px solid var(--line-strong); }
.steps li { padding: 26px 26px 6px 0; counter-increment: step; }
.steps li + li { padding-left: 26px; border-left: 1px solid var(--line); }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 40px; height: 40px; border: 2px solid var(--fg); font-weight: 700; margin-bottom: 18px; }
.steps h3 { font-family: var(--font-display); font-size: calc(0.4264 * var(--u) + 1rem); line-height: 1.3; letter-spacing: -.02em; margin-bottom: 10px; }
.steps p { color: var(--fg-2); font-size: calc(0.0264 * var(--u) + 1rem); }
@media (max-width: 1000px) { .steps { grid-template-columns: 1fr 1fr; } .steps li:nth-child(3) { padding-left: 0; border-left: 0; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } .steps li, .steps li + li { padding-left: 0; border-left: 0; } .steps li + li { border-top: 1px solid var(--line); } }

.points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px clamp(24px, 4vw, 60px); }
.points li { padding-top: 20px; border-top: 2px solid var(--fg); }
.points h3 { font-family: var(--font-display); font-size: calc(0.4264 * var(--u) + 1rem); line-height: 1.3; letter-spacing: -.02em; margin-bottom: 12px; }
.points p { color: var(--fg-2); font-size: calc(0.0264 * var(--u) + 1rem); }
@media (max-width: 900px) { .points { grid-template-columns: 1fr; } }

.prices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.price { display: flex; flex-direction: column; gap: 12px; padding: clamp(24px, 2.6vw, 38px); border: 1px solid var(--line-strong); }
.price--main { border: 2px solid var(--fg); }
.price h3 { font-family: var(--font-display); font-size: calc(0.4264 * var(--u) + 1rem); letter-spacing: -.02em; line-height: 1.3; }
.price__amount { font-family: var(--font-display); font-size: calc(1.8 * var(--u) + 1rem); line-height: 1; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.price__amount small { font-family: var(--font-body); font-size: 1rem; font-weight: 300; color: var(--fg-2); margin-left: 6px; letter-spacing: .01em; }
.price p, .price ul { color: var(--fg-2); font-size: calc(0.0264 * var(--u) + 1rem); }
.price ul { display: grid; gap: 6px; margin-bottom: 8px; }
.price li { display: flex; gap: 10px; }
.price li svg { width: 16px; height: 16px; flex: none; margin-top: 5px; color: var(--fg); }
.price .btn { margin-top: auto; }
.price .pill { align-self: flex-start; }
@media (max-width: 960px) { .prices { grid-template-columns: 1fr; } }

.table-wrap { overflow-x: auto; border: 1px solid var(--line-strong); }
table { width: 100%; border-collapse: collapse; min-width: 480px; font-size: calc(0.0264 * var(--u) + 1rem); font-variant-numeric: tabular-nums; }
th, td { text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--line); }
th { font-weight: 700; }
tr:last-child td { border-bottom: 0; }

.faq { border-top: 1px solid var(--line-strong); }
.faq details { border-bottom: 1px solid var(--line-strong); }
.faq summary { cursor: pointer; list-style: none; padding: 22px 0; display: flex; justify-content: space-between; align-items: center; gap: 20px; font-family: var(--font-display); font-size: calc(0.4264 * var(--u) + 1rem); letter-spacing: -.02em; line-height: 1.3; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { width: 22px; height: 22px; flex: none; transition: transform .2s var(--ease-out); }
.faq details[open] summary svg { transform: rotate(45deg); }
.faq .faq__a { padding: 0 0 24px; color: var(--fg-2); max-width: 66ch; }

.docs { border-top: 1px solid var(--line-strong); }
.docs li { display: flex; align-items: center; gap: 14px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: calc(0.0264 * var(--u) + 1rem); font-weight: 400; }
.docs svg { width: 18px; height: 18px; flex: none; }
.docs small { margin-left: auto; color: var(--fg-3); white-space: nowrap; font-size: .85rem; }

/* ---------- Événements ---------- */
.events { border-top: 1px solid var(--line-strong); }
.event { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px, 5vw, 70px); align-items: start; padding: clamp(48px, 5vw, 80px) 0; border-bottom: 1px solid var(--line-strong); }
.event:nth-child(even) .event__media { order: 2; }
.event__media img { width: 100%; }
.event__when { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-bottom: 14px; }
.event__when time { font-weight: 700; }
.event h2 { font-family: var(--font-display); font-size: calc(1.8 * var(--u) + 1rem); letter-spacing: -.02em; line-height: 1.05; margin-bottom: 18px; }
.event p { color: var(--fg-2); }
.facts { margin: 22px 0; display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); }
.facts div { padding: 12px 0; border-bottom: 1px solid var(--line); }
.facts div:nth-child(odd) { padding-right: 16px; }
.facts dt { font-size: .9rem; color: var(--fg-3); }
.facts dd { margin: 2px 0 0; font-weight: 700; }
.crew { display: grid; gap: 8px; margin-top: 8px; font-size: calc(0.0264 * var(--u) + 1rem); }
.crew li { color: var(--fg-2); }
.crew b { color: var(--fg); }
.event details { margin-top: 18px; }
.event summary { cursor: pointer; display: inline-flex; align-items: center; gap: 10px; list-style: none; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.event summary::-webkit-details-marker { display: none; }
.event summary svg { width: 16px; height: 16px; transition: transform .2s var(--ease-out); }
.event details[open] summary svg { transform: rotate(180deg); }
.event details > div { margin-top: 16px; }
@media (max-width: 880px) { .event { grid-template-columns: 1fr; } .event:nth-child(even) .event__media { order: 0; } .facts { grid-template-columns: 1fr; } .facts div:nth-child(odd) { padding-right: 0; } }

/* ---------- Boutique ---------- */
.shop-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 40px; padding-bottom: 18px; border-bottom: 1px solid var(--line-strong); }
.filters { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.filter { min-height: 40px; font-weight: 400; color: var(--fg-2); border-bottom: 2px solid transparent; transition: color .15s ease, border-color .15s ease; }
.filter span { margin-left: 4px; color: var(--fg-3); font-size: .85em; }
.filter.is-active { color: var(--fg); font-weight: 700; border-bottom-color: var(--fg); }
.filter:hover { color: var(--fg); }
.sort-wrap { display: flex; align-items: center; gap: 12px; font-weight: 700; }
.sort-wrap .input { min-height: 44px; width: auto; padding-top: 0; padding-bottom: 0; }
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 44px 18px; }
@media (max-width: 1100px) { .product-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) { .product-grid { grid-template-columns: repeat(2, 1fr); gap: 30px 12px; } .product-card__info { flex-direction: column; gap: 4px; } }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(230px, 1fr); gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 16px; }
.rail > * { scroll-snap-align: start; }
.product-card { display: flex; flex-direction: column; gap: 12px; text-align: left; width: 100%; color: inherit; }
.product-card__media { position: relative; aspect-ratio: 1; overflow: hidden; background: #efefef; }
.product-card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transition: opacity .3s ease; }
.product-card__media img.alt { opacity: 0; }
.product-card__badge { position: absolute; top: 10px; left: 10px; z-index: 2; }
.product-card__info { display: flex; justify-content: space-between; gap: 14px; align-items: flex-start; }
.product-card__title { font-weight: 700; font-size: 1rem; line-height: 1.35; }
.product-card__sub { font-size: .9rem; color: var(--fg-3); margin-top: 3px; display: flex; align-items: center; gap: 8px; }
.product-card__sub i { width: 11px; height: 11px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .3); }
.product-card__price { font-weight: 400; font-size: 1rem; white-space: nowrap; font-variant-numeric: tabular-nums; }
@media (hover: hover) {
  .product-card:hover .product-card__media img.alt { opacity: 1; }
  .product-card:hover .product-card__media img.main:not(:only-of-type) { opacity: 0; }
  .product-card:hover .product-card__title { text-decoration: underline; text-underline-offset: 4px; }
}

/* ---------- OneMoreTV ---------- */
.yt { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; background: #000; }
.yt img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .75; transition: opacity .25s ease; }
.yt iframe, .yt video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.yt__play { position: absolute; left: 50%; top: 50%; width: 84px; height: 84px; margin: -42px 0 0 -42px; border-radius: 50%; border: 2px solid #fafafa; color: #fafafa; display: grid; place-items: center; transition: background-color .2s ease, color .2s ease; }
.yt__play svg { width: 28px; height: 28px; margin-left: 4px; }
.yt__label { position: absolute; left: 22px; bottom: 18px; right: 22px; text-align: left; color: #fafafa; font-weight: 700; text-shadow: 0 2px 12px rgba(0, 0, 0, .6); }
.yt:hover img { opacity: 1; }
.yt:hover .yt__play { background: #fafafa; color: #000; }
.tv-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 22px; align-items: start; }
.tv-grid h3 { margin: 16px 0 4px; font-family: var(--font-display); font-size: calc(0.4264 * var(--u) + 1rem); letter-spacing: -.02em; }
@media (max-width: 900px) { .tv-grid { grid-template-columns: 1fr; } }
.gallery { columns: 3 300px; column-gap: 12px; }
.gallery a { display: block; margin-bottom: 12px; overflow: hidden; break-inside: avoid; }
.gallery img { width: 100%; transition: transform .5s var(--ease-out); }
.gallery a:hover img { transform: scale(1.03); }
.lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(0, 0, 0, .95); color: var(--fg); display: grid; place-items: center; padding: 64px 72px; opacity: 0; visibility: hidden; transition: opacity .2s ease, visibility .2s; }
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox img { max-height: 84vh; max-width: 100%; }
.lightbox .icon-btn { position: absolute; }
.lightbox__close { top: 16px; right: 16px; }
.lightbox__prev { left: 16px; top: 50%; margin-top: -22px; }
.lightbox__next { right: 16px; top: 50%; margin-top: -22px; }
.lightbox__count { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); font-weight: 700; color: var(--fg-2); }
@media (max-width: 640px) { .lightbox { padding: 64px 8px 80px; } .lightbox__prev, .lightbox__next { top: auto; bottom: 12px; margin: 0; } }
.icon-btn { position: relative; width: 44px; height: 44px; display: grid; place-items: center; border: 2px solid currentColor; color: var(--fg); background: var(--bg); transition: opacity .15s ease; }
.icon-btn:hover { opacity: .75; }
.icon-btn svg { width: 19px; height: 19px; }

/* ---------- Bandeau photo d'appel à l'action ---------- */
.jump-cta { position: relative; overflow: hidden; isolation: isolate; padding: clamp(100px, 14vw, 200px) 0; background: var(--black); color: var(--fg); }
.jump-cta__bg { position: absolute; inset: 0; z-index: -2; }
.jump-cta__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.jump-cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: #000; opacity: .3; }
.jump-cta .h2 { max-width: 14ch; }
.jump-cta p { margin-top: 20px; max-width: 44ch; }
.jump-cta__actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 16px 26px; align-items: center; }

/* ---------- Formulaires ---------- */
.panel { padding: clamp(24px, 3.4vw, 50px); border: 2px solid var(--fg); background: var(--bg); }
.form { display: grid; gap: 22px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }
.form fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 22px; min-width: 0; }
.form fieldset + fieldset { padding-top: 30px; border-top: 1px solid var(--line-strong); }
.form legend { font-family: var(--font-display); font-size: calc(1 * var(--u) + 1rem); letter-spacing: -.02em; line-height: 1.1; padding: 0 14px 0 0; margin-bottom: 4px; }
.field { display: grid; gap: 8px; }
.field__label { font-weight: 700; font-size: 1rem; line-height: 1.45; }
.field__label .req { color: var(--fg-3); }
.field__label a { text-decoration: underline; text-underline-offset: 3px; }
.field__hint { font-size: .9rem; color: var(--fg-3); }
.field__error { display: none; font-size: .95rem; color: var(--danger); font-weight: 700; }
.field.is-invalid .field__error { display: block; }
.input { width: 100%; min-height: 52px; padding: 12px 14px; background: var(--field); border: 1px solid var(--line-strong); color: var(--fg); outline: none; font-weight: 400; transition: border-color .15s ease; }
.input::placeholder { color: var(--fg-3); opacity: 1; }
.input:focus { border-color: var(--fg); box-shadow: inset 0 0 0 1px var(--fg); }
.field.is-invalid .input { border-color: var(--danger); }
textarea.input { min-height: 150px; resize: vertical; line-height: 1.5; }
select.input { appearance: none; padding-right: 44px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23777' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 15px; border: 1px solid var(--line-strong); font-weight: 700; font-size: .95rem; cursor: pointer; user-select: none; transition: background-color .15s ease, color .15s ease, border-color .15s ease; }
.chip span:hover { border-color: var(--fg); }
.chip input:checked + span { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.chip input:focus-visible + span { outline: 1.5px solid var(--fg); outline-offset: 3px; }
.choices { display: grid; gap: 8px; }
.choice { position: relative; display: flex; gap: 14px; align-items: flex-start; padding: 14px 16px; border: 1px solid var(--line-strong); cursor: pointer; transition: border-color .15s ease; }
.choice:hover { border-color: var(--fg); }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice__dot { width: 20px; height: 20px; flex: none; border-radius: 50%; border: 1.5px solid var(--fg); position: relative; margin-top: 2px; }
.choice__dot::after { content: ""; position: absolute; inset: 4px; border-radius: 50%; background: var(--fg); opacity: 0; transform: scale(.5); transition: opacity .15s ease, transform .2s var(--ease-out); }
.choice input:checked ~ .choice__dot::after { opacity: 1; transform: none; }
.choice:has(input:checked) { border-color: var(--fg); box-shadow: inset 0 0 0 1px var(--fg); }
.choice input:focus-visible ~ .choice__dot { outline: 1.5px solid var(--fg); outline-offset: 3px; }
.choice__text { font-weight: 400; line-height: 1.45; font-size: 1rem; }
.choice__text small { display: block; color: var(--fg-3); font-size: .9rem; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.form-note { font-size: .9rem; color: var(--fg-3); line-height: 1.55; }
.form-status { display: none; padding: 14px 16px; font-weight: 700; line-height: 1.5; font-size: 1rem; }
.form-status.is-ok { display: block; color: var(--ok); border: 1px solid currentColor; }
.form-status.is-error { display: block; color: var(--danger); border: 1px solid currentColor; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; }
.form-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(30px, 5vw, 80px); align-items: start; }
.form-aside { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 30px; }
@media (max-width: 960px) { .form-layout { grid-template-columns: 1fr; } .form-aside { position: static; } }

/* ---------- Statuts ---------- */
.doc { display: grid; grid-template-columns: 270px 1fr; gap: clamp(30px, 5vw, 80px); align-items: start; }
.doc__toc { position: sticky; top: calc(var(--header-h) + 20px); max-height: calc(100vh - var(--header-h) - 40px); overflow: auto; padding-right: 8px; }
.doc__toc h2 { font-family: var(--font-display); font-size: calc(0.4264 * var(--u) + 1rem); letter-spacing: -.02em; margin-bottom: 12px; }
.doc__toc a { display: block; padding: 6px 12px; font-size: .95rem; color: var(--fg-3); border-left: 2px solid var(--line); line-height: 1.35; }
.doc__toc a:hover { color: var(--fg); }
.doc__toc a.is-current { color: var(--fg); font-weight: 700; border-left-color: var(--fg); }
.doc__body { max-width: 74ch; }
.doc__body h2 { font-family: var(--font-display); font-size: calc(1 * var(--u) + 1rem); letter-spacing: -.02em; line-height: 1.15; margin: 56px 0 16px; padding-top: 24px; border-top: 1px solid var(--line-strong); }
.doc__body h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.doc__body h2 small { display: block; font-family: var(--font-body); font-size: .95rem; font-weight: 700; color: var(--fg-3); letter-spacing: .01em; margin-bottom: 6px; }
.doc__body h3 { font-weight: 700; font-size: 1.05rem; margin: 24px 0 8px; }
.doc__body p, .doc__body li { color: var(--fg-2); font-size: calc(0.0264 * var(--u) + 1rem); }
.doc__body ul { margin: 0 0 1em; display: grid; gap: 6px; }
.doc__body li { position: relative; padding-left: 18px; }
.doc__body li::before { content: ""; position: absolute; left: 0; top: .78em; width: 8px; height: 1px; background: var(--fg); }
@media (max-width: 960px) { .doc { grid-template-columns: 1fr; } .doc__toc { position: static; max-height: 280px; padding: 16px; border: 1px solid var(--line-strong); } }

/* ---------- Merci ---------- */
.thanks { min-height: 90vh; display: grid; place-items: center; text-align: center; background: var(--black); color: var(--fg); padding: calc(var(--header-h) + 40px) var(--gutter) 80px; }
.thanks img { width: 200px; margin: 0 auto 26px; }
.thanks .h1 { max-width: 14ch; margin-inline: auto; }
.thanks .lead { margin: 20px auto 30px; color: var(--fg); }
.thanks .flex { justify-content: center; }

/* ==========================================================================
   PANIER, FICHE PRODUIT, NOTIFICATION (thème clair, comme la boutique d'origine)
   ========================================================================== */
.overlay { position: fixed; inset: 0; z-index: 150; background: rgba(0, 0, 0, .6); opacity: 0; visibility: hidden; transition: opacity .25s ease, visibility .25s; }
.overlay.is-open { opacity: 1; visibility: visible; }
.pmodal {
  position: fixed; z-index: 160; left: 50%; top: 50%; width: min(1060px, 100% - 32px); max-height: calc(100vh - 40px); overflow: auto;
  transform: translate(-50%, -48%) scale(.98); opacity: 0; visibility: hidden; transition: transform .3s var(--ease-out), opacity .2s ease, visibility .2s;
  background: var(--bg); color: var(--fg); display: grid; grid-template-columns: 1.05fr 1fr;
}
.pmodal.is-open { transform: translate(-50%, -50%); opacity: 1; visibility: visible; }
.pmodal__close { position: absolute; top: 14px; right: 14px; z-index: 3; }
.pmodal__gallery { padding: 16px; display: grid; gap: 10px; align-content: start; }
.pmodal__main { aspect-ratio: 1; overflow: hidden; background: #efefef; }
.pmodal__main img { width: 100%; height: 100%; object-fit: contain; }
.pmodal__thumbs { display: flex; gap: 8px; overflow-x: auto; padding: 3px 3px 6px; }
.pmodal__thumbs button { width: 64px; height: 64px; flex: none; overflow: hidden; background: #efefef; outline: 2px solid transparent; outline-offset: 2px; }
.pmodal__thumbs button img { width: 100%; height: 100%; object-fit: contain; }
.pmodal__thumbs button.is-active { outline-color: var(--fg); }
.pmodal__info { padding: 38px 32px 30px 14px; display: flex; flex-direction: column; gap: 18px; }
.pmodal__cat { font-size: .95rem; color: var(--fg-3); }
.pmodal__info h2 { font-family: var(--font-display); font-size: calc(1.2 * var(--u) + 1rem); letter-spacing: -.02em; line-height: 1.05; padding-right: 44px; }
.pmodal__price { font-size: 1.3rem; font-weight: 400; font-variant-numeric: tabular-nums; }
.pmodal__desc { color: var(--fg-2); font-size: 1rem; }
.pmodal__desc ul { display: grid; gap: 4px; margin-top: 10px; }
.pmodal__desc li { padding-left: 16px; position: relative; font-size: .95rem; }
.pmodal__desc li::before { content: ""; position: absolute; left: 0; top: .78em; width: 7px; height: 1px; background: var(--fg); }
.opt { display: grid; gap: 10px; border: 0; padding: 0; margin: 0; }
.opt__label { font-weight: 700; padding: 0; font-size: 1rem; }
.opt__label span { color: var(--fg-2); font-weight: 400; margin-left: 4px; }
.qty { display: inline-flex; align-items: center; border: 2px solid var(--fg); height: 58px; }
.qty button { width: 44px; height: 100%; font-size: 1.2rem; font-weight: 700; }
.qty output { min-width: 26px; text-align: center; font-weight: 700; font-variant-numeric: tabular-nums; }
.pmodal__buy { display: flex; gap: 10px; align-items: center; }
.pmodal__buy .btn { flex: 1; }
.pmodal__note { font-size: .9rem; color: var(--fg-3); }
@media (max-width: 860px) {
  .pmodal { grid-template-columns: 1fr; top: auto; bottom: 0; left: 0; width: 100%; max-height: 92vh; transform: translateY(40px); transition: transform .4s var(--ease-drawer), opacity .2s ease, visibility .2s; }
  .pmodal.is-open { transform: none; }
  .pmodal__info { padding: 8px 18px 28px; }
}
.drawer {
  position: fixed; z-index: 170; top: 0; right: 0; height: 100%; width: min(430px, 100%); background: var(--bg); color: var(--fg);
  transform: translateX(100%); transition: transform .45s var(--ease-drawer), visibility .45s; display: flex; flex-direction: column; visibility: hidden;
}
.drawer.is-open { transform: none; visibility: visible; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 20px 22px; border-bottom: 1px solid var(--line-strong); }
.drawer__head h2 { font-family: var(--font-display); font-size: 2rem; letter-spacing: -.02em; line-height: 1; }
.drawer__body { flex: 1; overflow: auto; padding: 6px 22px; }
.drawer__foot { padding: 18px 22px 24px; border-top: 1px solid var(--line-strong); display: grid; gap: 14px; }
.drawer__total { display: flex; justify-content: space-between; align-items: baseline; font-weight: 700; }
.drawer__total b { font-size: 1.4rem; font-variant-numeric: tabular-nums; }
.cart-line { display: grid; grid-template-columns: 72px 1fr auto; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); align-items: center; }
.cart-line img { width: 72px; height: 72px; object-fit: contain; background: #efefef; }
.cart-line__title { font-weight: 700; font-size: 1rem; line-height: 1.3; }
.cart-line__opts { font-size: .9rem; color: var(--fg-3); }
.cart-line__qty { display: inline-flex; align-items: center; margin-top: 8px; border: 1px solid var(--line-strong); }
.cart-line__qty button { width: 30px; height: 30px; font-weight: 700; }
.cart-line__qty span { min-width: 16px; text-align: center; font-weight: 700; font-size: .92rem; }
.cart-line__right { text-align: right; display: grid; gap: 8px; justify-items: end; font-size: 1rem; }
.cart-line__price { font-weight: 700; font-variant-numeric: tabular-nums; }
.cart-line__remove { font-size: .85rem; color: var(--fg-3); text-decoration: underline; text-underline-offset: 3px; }
.cart-line__remove:hover { color: var(--danger); }
.cart-empty { text-align: center; padding: 56px 10px; color: var(--fg-2); font-size: 1rem; }
.cart-empty img { width: 60px; margin: 0 auto 18px; filter: invert(1); opacity: .5; }
.checkout { display: none; gap: 12px; }
.checkout.is-open { display: grid; }
.toast {
  position: fixed; z-index: 400; left: 50%; bottom: 22px; transform: translate(-50%, 150%); padding: 13px 20px; background: #000; color: #fafafa;
  font-weight: 700; font-size: 1rem; display: flex; align-items: center; gap: 10px; transition: transform .4s var(--ease-out); max-width: calc(100% - 32px);
}
.toast.is-on { transform: translate(-50%, 0); }
.toast svg { width: 16px; height: 16px; flex: none; }

/* ---------- Utilitaires ---------- */
.mt-s { margin-top: 16px; } .mt-m { margin-top: 32px; } .mt-l { margin-top: 56px; }
.flex { display: flex; flex-wrap: wrap; gap: 16px 26px; align-items: center; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .title .brush-svg path { stroke-dashoffset: 0; }
}
