/* =========================================================
   MATHIEU FOÏS — Digitalise ta compétence
   Design system
   ========================================================= */
:root {
  --bg: #07080a;
  --bg-2: #0d0f12;
  --bg-3: #14171c;
  --ink: #f3f1ea;
  --ink-2: #c9c7c0;
  --mute: #8a8d94;
  --line: rgba(255, 255, 255, 0.09);
  --line-2: rgba(255, 255, 255, 0.16);
  --acc: #e2b656;
  --acc-ink: #0b0906;
  --gold-grad: linear-gradient(135deg, #f7e1a0 0%, #e2b656 38%, #b8862f 70%, #f0d38a 100%);
  --acc-glow: rgba(226,182,86, 0.35);
  --red: #ff4d2e;

  --f-display: "Archivo", "Arial Black", system-ui, sans-serif;
  --f-body: "Inter", system-ui, -apple-system, sans-serif;
  --f-serif: "Instrument Serif", Georgia, serif;

  --gutter: clamp(16px, 4vw, 56px);
  --max: 1440px;
  --radius: 22px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after { box-sizing: border-box; margin: 0; padding: 0; }

html { -webkit-text-size-adjust: 100%; font-size: 16px; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: clamp(15px, 1.05vw, 17px);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.is-loading { overflow: hidden; }

img, video, iframe, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: var(--acc); color: var(--acc-ink); }

.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.section { position: relative; padding-block: clamp(90px, 13vw, 190px); }
.section--tight { padding-block: clamp(60px, 8vw, 110px); }

/* ---------- Typography ---------- */
.display {
  font-family: var(--f-display);
  font-weight: 900;
  font-stretch: 125%;
  font-variation-settings: "wdth" 125;
  text-transform: uppercase;
  line-height: 0.88;
  letter-spacing: -0.02em;
}
.h-xxl { font-size: clamp(3.1rem, 11.5vw, 12.5rem); }
.h-xl  { font-size: clamp(2.6rem, 7.6vw, 8rem); }
.h-l   { font-size: clamp(2.1rem, 5.2vw, 5.4rem); }
.h-m   { font-size: clamp(1.6rem, 3.2vw, 3.2rem); }
.h-s   { font-size: clamp(1.2rem, 1.8vw, 1.7rem); }
.serif { font-family: var(--f-serif); font-style: italic; font-weight: 400; text-transform: none; letter-spacing: -0.01em; font-stretch: 100%; font-variation-settings: normal; }
.acc { color: var(--acc); }
.mute { color: var(--mute); }
.outline { color: transparent; -webkit-text-stroke: 1.5px var(--ink); }
.outline.acc { -webkit-text-stroke-color: var(--acc); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--f-body); font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-2);
}
.eyebrow::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  background: var(--acc); box-shadow: 0 0 14px var(--acc-glow);
  animation: pulse 2.2s infinite;
}
@keyframes pulse { 0%,100% { transform: scale(1); opacity: 1 } 50% { transform: scale(1.6); opacity: .5 } }

.lead { font-size: clamp(1.08rem, 1.45vw, 1.4rem); line-height: 1.5; color: var(--ink-2); max-width: 46ch; }
.lead strong, p strong { color: var(--ink); font-weight: 600; }
p + p { margin-top: 1em; }

/* split text helpers */
.split-line { display: block; overflow: hidden; padding: 0.14em 0 0.06em; margin: -0.14em 0 -0.06em; }
.split-line > span { display: inline-block; will-change: transform; }
.word { display: inline-block; white-space: nowrap; }

/* ---------- Buttons ---------- */
.btn {
  --h: 62px;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  height: var(--h); padding: 0 30px; border-radius: 999px;
  font-weight: 700; font-size: 0.95rem; letter-spacing: 0.02em;
  overflow: hidden; isolation: isolate; white-space: nowrap;
  transition: color .5s var(--ease), border-color .5s var(--ease);
}
.btn .btn-fill {
  position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  transform: translateY(101%); transition: transform .6s var(--ease);
}
.btn:hover .btn-fill { transform: translateY(0); }
.btn .arrow { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; transition: transform .5s var(--ease), background .5s; }
.btn:hover .arrow { transform: rotate(-45deg); }

.btn--acc { background: var(--acc); color: var(--acc-ink); box-shadow: 0 0 0 0 var(--acc-glow), 0 20px 60px -20px var(--acc-glow); }
.btn--acc .btn-fill { background: var(--ink); }
.btn--acc .arrow { background: var(--acc-ink); color: var(--acc); }
.btn--ghost { border: 1px solid var(--line-2); color: var(--ink); }
.btn--ghost .btn-fill { background: var(--ink); }
.btn--ghost:hover { color: var(--bg); }
.btn--ghost .arrow { background: var(--ink); color: var(--bg); }
.btn--sm { --h: 46px; padding: 0 20px; font-size: 0.85rem; }
.btn--xl { --h: 78px; padding: 0 42px; font-size: 1.05rem; }

.link-u { position: relative; display: inline-block; }
.link-u::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.link-u:hover::after { transform: scaleX(1); transform-origin: left; }

/* ---------- Grain + cursor ---------- */
.grain {
  pointer-events: none; position: fixed; inset: -50%; z-index: 90; opacity: 0.06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1s steps(6) infinite;
}
@keyframes grain { 0%{transform:translate(0,0)} 20%{transform:translate(-5%,4%)} 40%{transform:translate(4%,-6%)} 60%{transform:translate(-3%,2%)} 80%{transform:translate(6%,5%)} 100%{transform:translate(0,0)} }

.cursor, .cursor-dot { position: fixed; top: 0; left: 0; z-index: 200; pointer-events: none; border-radius: 50%; }
.cursor {
  width: 44px; height: 44px; margin: -22px 0 0 -22px; border: 1px solid rgba(255,255,255,.5);
  transition: width .4s var(--ease), height .4s var(--ease), margin .4s var(--ease), background .4s, border-color .4s;
  display: grid; place-items: center; font-size: 11px; font-weight: 800; letter-spacing: .12em; color: var(--acc-ink); text-transform: uppercase;
}
.cursor-dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: var(--acc); }
.cursor.is-hover { width: 70px; height: 70px; margin: -35px 0 0 -35px; background: rgba(226,182,86,.12); border-color: var(--acc); }
.cursor.is-play { width: 96px; height: 96px; margin: -48px 0 0 -48px; background: var(--acc); border-color: var(--acc); }
@media (hover: none), (pointer: coarse) { .cursor, .cursor-dot { display: none; } }

/* ---------- Preloader ---------- */
.preloader {
  position: fixed; inset: 0; z-index: 300; background: var(--bg);
  display: flex; flex-direction: column; justify-content: space-between; padding: var(--gutter);
}
.preloader__top { display: flex; justify-content: space-between; font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; color: var(--mute); }
.preloader__mid { position: relative; overflow: hidden; height: clamp(2.4rem, 7.2vw, 7.4rem); }
.preloader__word { position: absolute; left: 0; top: 0; white-space: nowrap; font-size: clamp(2rem, 6.4vw, 6.6rem); }
.preloader__bottom { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }
.preloader__count { font-size: clamp(4.5rem, 17vw, 16rem); line-height: .8; color: var(--acc); font-variant-numeric: tabular-nums; }
.preloader__bar { position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: var(--acc); transform-origin: left; transform: scaleX(0); }

/* ---------- Page transition ---------- */
.transition {
  position: fixed; inset: 0; z-index: 250; pointer-events: none;
  display: grid; grid-template-columns: repeat(5, 1fr);
}
.transition span { background: var(--acc); transform: scaleY(0); transform-origin: top; }
.transition.is-in span { transform-origin: bottom; }

/* ---------- Header ---------- */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 18px var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  transition: transform .6s var(--ease), background .4s, backdrop-filter .4s, padding .4s;
}
.header.is-scrolled { background: rgba(7,8,10,.62); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); padding-block: 12px; border-bottom: 1px solid var(--line); }
.header.is-hidden { transform: translateY(-110%); }
.logo { display: flex; align-items: center; gap: 12px; font-weight: 800; letter-spacing: .08em; font-size: .86rem; text-transform: uppercase; }
.logo__mark {
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  background: var(--acc); color: var(--acc-ink);
  font-family: var(--f-display); font-stretch: 125%; font-variation-settings: "wdth" 125; font-weight: 900; font-size: 1rem; letter-spacing: -0.02em;
  transition: transform .6s var(--ease);
}
.logo:hover .logo__mark { transform: rotate(-12deg) scale(1.06); }
.logo small { display: block; font-weight: 500; letter-spacing: .14em; color: var(--mute); font-size: .66rem; }
.nav { display: flex; align-items: center; gap: 4px; padding: 6px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255,255,255,.03); }
.nav a { position: relative; padding: 9px 16px; border-radius: 999px; font-size: .85rem; font-weight: 500; color: var(--ink-2); transition: color .3s, background .3s; white-space: nowrap; }
.nav a:hover { color: var(--ink); background: rgba(255,255,255,.06); }
.nav a.is-active { color: var(--acc-ink); background: var(--acc); }
.burger { display: none; width: 50px; height: 50px; border-radius: 50%; border: 1px solid var(--line-2); position: relative; }
.burger span { position: absolute; left: 15px; right: 15px; height: 2px; background: var(--ink); transition: transform .5s var(--ease), top .5s var(--ease); }
.burger span:nth-child(1) { top: 20px; } .burger span:nth-child(2) { top: 28px; }
.menu-open .burger span:nth-child(1) { top: 24px; transform: rotate(45deg); }
.menu-open .burger span:nth-child(2) { top: 24px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 95; background: var(--bg); padding: 110px var(--gutter) 40px;
  display: flex; flex-direction: column; justify-content: space-between;
  clip-path: circle(0% at calc(100% - 45px) 45px); transition: clip-path .9s var(--ease);
  visibility: hidden;
}
.menu-open .mobile-menu { clip-path: circle(150% at calc(100% - 45px) 45px); visibility: visible; }
.mobile-menu nav a { display: block; font-size: clamp(2.2rem, 10vw, 4rem); padding: 4px 0; border-bottom: 1px solid var(--line); }
.mobile-menu nav a span { color: var(--acc); font-size: .9rem; font-family: var(--f-body); vertical-align: top; margin-right: 12px; letter-spacing: 0; font-weight: 600; }

@media (max-width: 1080px) {
  .nav, .header .btn { display: none; }
  .burger { display: block; }
}

/* ---------- Hero (home) ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; padding: 130px 0 60px; overflow: hidden; }
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; opacity: .8; }
.hero__glow { position: absolute; width: 60vw; height: 60vw; right: -10vw; top: -10vw; border-radius: 50%; background: radial-gradient(circle, rgba(226,182,86,.18), transparent 60%); filter: blur(40px); z-index: 0; pointer-events: none; }
.hero__inner { position: relative; z-index: 2; width: 100%; }
.hero__grid { display: grid; grid-template-columns: 1.55fr 0.45fr; gap: clamp(20px, 4vw, 60px); align-items: end; }
.hero__title { margin: 22px 0 30px; font-size: clamp(2.5rem, 5.4vw, 6.6rem); }
.hero__title .line-2 { padding-left: clamp(0px, 7vw, 120px); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero__portrait { position: relative; aspect-ratio: 4/5; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.hero__portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; transform: scale(1.15); filter: contrast(1.05); }
.hero__portrait::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(7,8,10,.85)); }
.hero__portrait-tag { position: absolute; left: 16px; bottom: 16px; right: 16px; z-index: 2; display: flex; justify-content: space-between; align-items: end; font-size: .78rem; }
.hero__portrait-tag b { display: block; font-size: 1.05rem; }
.float-badge {
  position: absolute; z-index: 3; padding: 12px 16px; border-radius: 16px;
  background: rgba(20,23,28,.72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--line-2); font-size: .78rem; line-height: 1.3; box-shadow: 0 20px 50px -20px rgba(0,0,0,.8);
}
.float-badge b { display: block; font-family: var(--f-display); font-stretch: 125%; font-variation-settings: "wdth" 125; font-size: 1.35rem; color: var(--acc); }
.float-badge--1 { top: -4%; left: -34%; }
.float-badge--2 { top: 46%; right: -10%; }
.hero__scroll { position: absolute; right: var(--gutter); bottom: 30px; z-index: 3; writing-mode: vertical-rl; font-size: .7rem; letter-spacing: .3em; text-transform: uppercase; color: var(--mute); display: flex; align-items: center; gap: 14px; }
.hero__scroll::after { content: ""; width: 1px; height: 70px; background: linear-gradient(var(--acc), transparent); animation: scrolly 2s infinite var(--ease); }
@keyframes scrolly { 0% { transform: scaleY(0); transform-origin: top } 50% { transform: scaleY(1); transform-origin: top } 51% { transform-origin: bottom } 100% { transform: scaleY(0); transform-origin: bottom } }
.hero__meta { display: flex; gap: 28px; flex-wrap: wrap; margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--line); font-size: .82rem; color: var(--mute); }
.hero__meta b { color: var(--ink); font-weight: 600; }

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__portrait { max-width: 420px; width: 80%; margin-top: 10px; }
  .float-badge--1 { left: auto; right: -12%; top: 6%; }
  .float-badge--2 { right: auto; left: -8%; top: auto; bottom: 22%; }
  .hero__scroll { display: none; }
}

/* ---------- Page hero (inner pages) ---------- */
.phero { position: relative; padding: 170px 0 80px; overflow: hidden; }
.phero__title { margin: 22px 0 30px; }
.phero__bg-word { position: absolute; right: -2vw; top: 90px; font-size: clamp(8rem, 26vw, 26rem); line-height: .8; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.06); pointer-events: none; white-space: nowrap; z-index: 0; }
.phero .container { position: relative; z-index: 2; }
.phero__row { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: end; }
@media (max-width: 900px) { .phero__row { grid-template-columns: 1fr; } }

/* ---------- Marquee ---------- */
.marquee { position: relative; overflow: hidden; padding: 26px 0; border-block: 1px solid var(--line); background: var(--bg); }
.marquee--acc { background: var(--acc); color: var(--acc-ink); border: 0; transform: rotate(-2deg) scale(1.04); margin-block: 40px; }
.marquee__track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.marquee--rev .marquee__track { animation-direction: reverse; }
.marquee__item { display: flex; align-items: center; gap: 36px; padding-right: 36px; font-size: clamp(1.4rem, 3.4vw, 3rem); white-space: nowrap; }
.marquee__item i { width: 14px; height: 14px; background: currentColor; border-radius: 50%; display: inline-block; opacity: .9; }
.marquee:not(.marquee--acc) .marquee__item i { background: var(--acc); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Reveal text (scroll highlight) ---------- */
.reveal-text { font-size: clamp(1.7rem, 4.1vw, 4.1rem); line-height: 1.12; font-weight: 600; letter-spacing: -0.02em; max-width: 22ch; }
.reveal-text .w { opacity: .5; transition: opacity .2s; }
.reveal-text .w.acc { color: var(--acc); }

/* ---------- Compare (avant / après) ---------- */
.compare { display: grid; grid-template-columns: 1fr auto 1fr; gap: clamp(14px, 2vw, 28px); align-items: stretch; margin-top: 70px; }
.ccard { position: relative; padding: clamp(26px, 3vw, 44px); border-radius: var(--radius); border: 1px solid var(--line); background: var(--bg-2); overflow: hidden; }
.ccard__label { display: inline-flex; padding: 7px 14px; border-radius: 999px; font-size: .74rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; border: 1px solid var(--line-2); margin-bottom: 28px; }
.ccard--before .ccard__label { color: var(--red); border-color: rgba(255,77,46,.4); }
.ccard--after { background: linear-gradient(160deg, rgba(226,182,86,.14), rgba(226,182,86,.02) 55%), var(--bg-2); border-color: rgba(226,182,86,.35); }
.ccard--after .ccard__label { background: var(--acc); color: var(--acc-ink); border-color: var(--acc); }
.ccard__row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 18px 0; border-top: 1px solid var(--line); }
.ccard__row span { color: var(--mute); font-size: .88rem; }
.ccard__row b { font-family: var(--f-display); font-stretch: 125%; font-variation-settings: "wdth" 125; font-size: clamp(1.8rem, 3.6vw, 3.2rem); line-height: 1; font-weight: 900; }
.ccard--before .ccard__row b { color: var(--ink-2); }
.ccard--after .ccard__row b { color: var(--acc); }
.ccard--before::after { content: ""; position: absolute; left: -10%; right: -10%; top: 50%; height: 2px; background: var(--red); transform: rotate(-8deg) scaleX(0); transform-origin: left; opacity: .7; transition: transform 1.2s var(--ease) .4s; }
.ccard--before.is-crossed::after { transform: rotate(-8deg) scaleX(1); }
.compare__vs { display: grid; place-items: center; }
.compare__vs div { width: 92px; height: 92px; border-radius: 50%; display: grid; place-items: center; text-align: center; background: var(--acc); color: var(--acc-ink); font-family: var(--f-display); font-stretch: 125%; font-variation-settings: "wdth" 125; font-weight: 900; font-size: 1.7rem; line-height: .9; box-shadow: 0 0 60px var(--acc-glow); }
.compare__vs small { display: block; font-size: .5rem; letter-spacing: .1em; font-family: var(--f-body); font-weight: 700; }
@media (max-width: 900px) { .compare { grid-template-columns: 1fr; } .compare__vs div { width: 76px; height: 76px; font-size: 1.4rem; } }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.stat { padding: 34px 24px 10px 0; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat + .stat { padding-left: 24px; }
.stat b { display: block; font-size: clamp(2.6rem, 6vw, 5.6rem); line-height: .9; }
.stat b sup { font-size: .45em; color: var(--acc); vertical-align: top; }
.stat span { display: block; margin-top: 12px; color: var(--mute); font-size: .88rem; max-width: 22ch; }
@media (max-width: 800px) { .stats { grid-template-columns: 1fr 1fr; } .stat:nth-child(2) { border-right: 0; } .stat:nth-child(3) { padding-left: 0; } .stat:nth-child(n+3) { border-top: 1px solid var(--line); } }

/* ---------- About teaser ---------- */
.about { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(30px, 6vw, 100px); align-items: center; }
.about__media { position: relative; }
.about__img { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/5; border: 1px solid var(--line); }
.about__img img { width: 100%; height: 120%; object-fit: cover; object-position: 50% 20%; }
.about__stamp { position: absolute; right: -40px; bottom: -40px; width: 150px; height: 150px; }
.about__stamp svg { width: 100%; height: 100%; animation: spin 18s linear infinite; }
.about__stamp text { font-family: var(--f-body); font-size: 10.5px; font-weight: 700; letter-spacing: 3.2px; fill: var(--ink); text-transform: uppercase; }
.about__stamp::after { content: "★"; position: absolute; inset: 0; display: grid; place-items: center; color: var(--acc); font-size: 1.6rem; }
@keyframes spin { to { transform: rotate(360deg); } }
.diplomas { display: flex; flex-wrap: wrap; gap: 10px; margin: 30px 0 36px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line-2); font-size: .82rem; font-weight: 600; background: rgba(255,255,255,.02); transition: background .3s, color .3s, border-color .3s; }
.chip:hover { background: var(--acc); color: var(--acc-ink); border-color: var(--acc); }
.chip b { color: var(--acc); font-weight: 800; }
.chip:hover b { color: var(--acc-ink); }
@media (max-width: 900px) { .about { grid-template-columns: 1fr; } .about__stamp { right: 10px; bottom: -50px; width: 120px; height: 120px; } }

/* ---------- Paths (2 espaces) ---------- */
.paths { display: flex; gap: 14px; height: clamp(520px, 72vh, 760px); margin-top: 60px; }
.path {
  position: relative; flex: 1; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line);
  transition: flex 1s var(--ease); display: flex; flex-direction: column; justify-content: flex-end; padding: clamp(24px, 3vw, 44px);
  isolation: isolate; background: var(--bg-2);
}
.path:hover { flex: 1.6; }
.path__bg { position: absolute; inset: 0; z-index: -1; }
.path__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .32; transform: scale(1.08); transition: transform 1.4s var(--ease), opacity .8s; filter: grayscale(.4); }
.path:hover .path__bg img { transform: scale(1); opacity: .6; filter: grayscale(0); }
.path__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7,8,10,.1), rgba(7,8,10,.95) 75%); }
.path__num { position: absolute; top: clamp(24px, 3vw, 40px); left: clamp(24px, 3vw, 44px); font-size: .8rem; letter-spacing: .2em; color: var(--mute); }
.path__arrow { position: absolute; top: clamp(20px, 3vw, 36px); right: clamp(20px, 3vw, 36px); width: 64px; height: 64px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; transition: background .5s, color .5s, transform .6s var(--ease); }
.path:hover .path__arrow { background: var(--acc); color: var(--acc-ink); transform: rotate(-45deg); border-color: var(--acc); }
.path h3 { margin-bottom: 16px; }
.path p { color: var(--ink-2); max-width: 44ch; }
.path__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.path__tags span { font-size: .72rem; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--ink-2); }
@media (max-width: 900px) { .paths { flex-direction: column; height: auto; } .path { min-height: 460px; } .path:hover { flex: 1; } }

/* ---------- Pillars / features ---------- */
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 60px; }
.pillar {
  position: relative; padding: 30px 26px 30px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--bg-2);
  min-height: 330px; display: flex; flex-direction: column; overflow: hidden; transform-style: preserve-3d; will-change: transform;
}
.pillar::before { content: ""; position: absolute; inset: 0; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(226,182,86,.14), transparent 45%); opacity: 0; transition: opacity .4s; pointer-events: none; }
.pillar:hover::before { opacity: 1; }
.pillar__icon { width: 58px; height: 58px; border-radius: 16px; background: rgba(226,182,86,.1); border: 1px solid rgba(226,182,86,.3); display: grid; place-items: center; color: var(--acc); margin-bottom: auto; }
.pillar__icon svg { width: 26px; height: 26px; }
.pillar__big { font-family: var(--f-display); font-stretch: 125%; font-variation-settings: "wdth" 125; font-weight: 900; font-size: clamp(1.5rem, 2.1vw, 2.2rem); line-height: .95; text-transform: uppercase; margin: 40px 0 12px; overflow-wrap: anywhere; }
.pillar__big small { display: block; margin-top: 10px; font-family: var(--f-body); font-stretch: 100%; font-variation-settings: normal; font-weight: 700; text-transform: none; font-size: .9rem; line-height: 1.3; color: var(--acc); letter-spacing: 0; }
.pillar p { color: var(--mute); font-size: .92rem; }
@media (max-width: 1080px) { .pillars { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .pillars { grid-template-columns: 1fr; } .pillar { min-height: 260px; } }

/* ---------- Video (YouTube facade) ---------- */
.yt {
  position: relative; width: 100%; aspect-ratio: 16/9; border-radius: var(--radius); overflow: hidden; background: #000; cursor: pointer;
  border: 1px solid var(--line); isolation: isolate;
}
.yt--short { aspect-ratio: 9/16; }
.yt img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), opacity .5s; opacity: .82; }
.yt:hover img { transform: scale(1.05); opacity: 1; }
.yt::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.05) 40%, rgba(0,0,0,.75)); pointer-events: none; }
.yt__play {
  position: absolute; left: 50%; top: 50%; z-index: 2; width: clamp(70px, 8vw, 110px); height: clamp(70px, 8vw, 110px); margin: calc(clamp(70px, 8vw, 110px) / -2) 0 0 calc(clamp(70px, 8vw, 110px) / -2);
  border-radius: 50%; background: var(--acc); color: var(--acc-ink); display: grid; place-items: center; transition: transform .6s var(--ease);
  box-shadow: 0 0 0 0 var(--acc-glow);
  animation: ring 2.4s infinite;
}
.yt--short .yt__play { width: 60px; height: 60px; margin: 0 0 0 -30px; top: auto; bottom: 22px; }
.yt__play svg { width: 34%; height: 34%; margin-left: 6%; }
.yt:hover .yt__play { transform: scale(1.12); }
@keyframes ring { 0% { box-shadow: 0 0 0 0 rgba(226,182,86,.5) } 100% { box-shadow: 0 0 0 30px rgba(226,182,86,0) } }
.yt__label { position: absolute; left: 20px; right: 20px; bottom: 18px; z-index: 2; display: flex; justify-content: space-between; align-items: end; gap: 12px; font-size: .82rem; pointer-events: none; }
.yt__label b { font-size: clamp(1rem, 1.6vw, 1.35rem); display: block; line-height: 1.2; }
.yt__label .pill { flex-shrink: 0; padding: 6px 12px; border-radius: 999px; background: rgba(0,0,0,.55); border: 1px solid var(--line-2); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; z-index: 5; }
.yt.is-playing::after, .yt.is-playing .yt__play, .yt.is-playing .yt__label { display: none; }

.video-feature { position: relative; }
.video-feature .yt { box-shadow: 0 60px 140px -50px rgba(226,182,86,.25); }
.video-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 800px) { .video-grid-2 { grid-template-columns: 1fr; } }

/* shorts carousel */
.shorts { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
@media (max-width: 1080px) {
  .shorts { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 14px; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scrollbar-width: none; }
  .shorts::-webkit-scrollbar { display: none; }
  .shorts .yt { flex: 0 0 62%; max-width: 280px; scroll-snap-align: start; }
}

/* ---------- WhatsApp wall ---------- */
.wall { position: relative; height: clamp(640px, 95vh, 980px); overflow: hidden; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 60px;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 14%, #000 86%, transparent);
          mask-image: linear-gradient(180deg, transparent, #000 14%, #000 86%, transparent); }
.wall__col { display: flex; flex-direction: column; gap: 16px; animation: wallUp 60s linear infinite; will-change: transform; }
.wall__col:nth-child(2) { animation-name: wallDown; animation-duration: 70s; }
.wall__col:nth-child(3) { animation-duration: 54s; }
.wall__col:nth-child(4) { animation-name: wallDown; animation-duration: 64s; }
.wall:hover .wall__col { animation-play-state: paused; }
@keyframes wallUp { from { transform: translateY(0) } to { transform: translateY(-50%) } }
@keyframes wallDown { from { transform: translateY(-50%) } to { transform: translateY(0) } }
.wa { position: relative; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); background: #efeae2; cursor: zoom-in; transition: transform .5s var(--ease), box-shadow .5s; flex-shrink: 0; }
.wa img { width: 100%; height: auto; }
.wa:hover { transform: scale(1.03) rotate(-.6deg); box-shadow: 0 30px 80px -20px rgba(226,182,86,.35); z-index: 2; }
.wa__tag { position: absolute; top: 10px; right: 10px; padding: 5px 10px; border-radius: 999px; background: var(--acc); color: var(--acc-ink); font-size: .68rem; font-weight: 800; letter-spacing: .06em; }
@media (max-width: 1080px) { .wall { grid-template-columns: repeat(3, 1fr); } .wall__col:nth-child(4) { display: none; } }
@media (max-width: 700px) { .wall { grid-template-columns: repeat(2, 1fr); height: 720px; gap: 10px; } .wall__col { gap: 10px; } .wall__col:nth-child(3) { display: none; } }

/* ---------- Lightbox / modal ---------- */
.lightbox { position: fixed; inset: 0; z-index: 400; background: rgba(4,5,6,.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); display: grid; place-items: center; padding: 70px 16px 30px; opacity: 0; visibility: hidden; transition: opacity .4s, visibility .4s; }
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox img { max-height: 86vh; width: auto; max-width: min(620px, 100%); border-radius: 18px; transform: scale(.92); transition: transform .6s var(--ease); }
.lightbox.is-open img { transform: scale(1); }
.lightbox__close { position: absolute; top: 18px; right: 18px; width: 54px; height: 54px; border-radius: 50%; background: var(--acc); color: var(--acc-ink); font-size: 1.5rem; display: grid; place-items: center; }
.lightbox__nav { position: absolute; top: 50%; width: 54px; height: 54px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; transform: translateY(-50%); background: rgba(0,0,0,.4); }
.lightbox__nav--prev { left: 18px; } .lightbox__nav--next { right: 18px; }
@media (max-width: 700px) { .lightbox__nav { top: auto; bottom: 20px; transform: none; } }

/* ---------- Horizontal timeline (story) ---------- */
.hscroll { position: relative; overflow: hidden; }
.hscroll__track { display: flex; gap: 18px; width: max-content; padding-inline: var(--gutter); }
.chapter {
  position: relative; flex: 0 0 auto; width: clamp(300px, 36vw, 520px); min-height: clamp(440px, 64vh, 600px);
  border-radius: var(--radius); border: 1px solid var(--line); background: var(--bg-2); padding: clamp(26px, 3vw, 42px);
  display: flex; flex-direction: column; overflow: hidden;
}
.chapter__n { font-family: var(--f-display); font-stretch: 125%; font-variation-settings: "wdth" 125; font-weight: 900; font-size: clamp(4rem, 8vw, 7.5rem); line-height: .8; color: transparent; -webkit-text-stroke: 1px var(--line-2); }
.chapter__when { margin-top: 24px; font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; color: var(--acc); font-weight: 700; }
.chapter h3 { margin: 10px 0 16px; }
.chapter p { color: var(--ink-2); font-size: .98rem; }
.chapter__foot { margin-top: auto; padding-top: 24px; display: flex; gap: 10px; flex-wrap: wrap; }
.chapter--dark { background: #120807; border-color: rgba(255,77,46,.35); }
.chapter--dark .chapter__when { color: var(--red); }
.chapter--acc { background: var(--acc); color: var(--acc-ink); border-color: var(--acc); }
.chapter--acc .chapter__when { color: var(--acc-ink); }
.chapter--acc p { color: rgba(10,11,7,.8); }
.chapter--acc .chapter__n { -webkit-text-stroke-color: rgba(10,11,7,.3); }
.chapter--img { padding: 0; }
.chapter--img img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.chapter--img .chapter__cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 24px; background: linear-gradient(transparent, rgba(0,0,0,.85)); font-size: .85rem; }
.progress-line { height: 2px; background: var(--line); margin: 40px var(--gutter) 0; position: relative; }
.progress-line span { position: absolute; inset: 0; background: var(--acc); transform-origin: left; transform: scaleX(0); }
@media (max-width: 900px) {
  .hscroll__track { flex-direction: column; width: auto; }
  .chapter { width: 100%; min-height: 0; }
  .chapter--img { min-height: 380px; }
  .progress-line { display: none; }
}

/* ---------- Roles grid ---------- */
.roles { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); margin-top: 60px; }
.role { position: relative; padding: 34px 28px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; min-height: 200px; display: flex; flex-direction: column; justify-content: space-between; gap: 30px; transition: color .5s; }
.role::before { content: ""; position: absolute; inset: 0; background: var(--acc); transform: translateY(101%); transition: transform .6s var(--ease); z-index: -1; }
.role { isolation: isolate; }
.role:hover { color: var(--acc-ink); }
.role:hover::before { transform: translateY(0); }
.role__n { font-size: .75rem; letter-spacing: .2em; color: var(--mute); transition: color .5s; }
.role:hover .role__n, .role:hover p { color: rgba(10,11,7,.75); }
.role h3 { font-size: clamp(1.3rem, 2vw, 1.9rem); }
.role p { font-size: .9rem; color: var(--mute); transition: color .5s; }
@media (max-width: 900px) { .roles { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .roles { grid-template-columns: 1fr; } .role { min-height: 150px; } }

/* ---------- Pain / gain lists ---------- */
.split-2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 100px); align-items: start; }
@media (max-width: 900px) { .split-2 { grid-template-columns: 1fr; } }
.list-x { list-style: none; margin-top: 30px; }
.list-x li { display: grid; grid-template-columns: 34px 1fr; gap: 14px; padding: 18px 0; border-top: 1px solid var(--line); font-size: 1.02rem; color: var(--ink-2); }
.list-x li::before { content: "✕"; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-size: .75rem; color: var(--red); border: 1px solid rgba(255,77,46,.4); }
.list-x--ok li::before { content: "✓"; color: var(--acc-ink); background: var(--acc); border-color: var(--acc); font-weight: 900; }
.sticky { position: sticky; top: 120px; }

/* ---------- Offers ---------- */
.offers { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 60px; }
.offer { position: relative; padding: clamp(28px, 3.4vw, 50px); border-radius: 28px; border: 1px solid var(--line); background: var(--bg-2); overflow: hidden; display: flex; flex-direction: column; }
.offer--feat { background: radial-gradient(120% 80% at 100% 0%, rgba(226,182,86,.2), transparent 55%), var(--bg-2); border-color: rgba(226,182,86,.4); }
.offer__badge { position: absolute; top: 24px; right: 24px; padding: 8px 14px; border-radius: 999px; background: var(--acc); color: var(--acc-ink); font-size: .7rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.offer__kicker { font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; color: var(--mute); }
.offer h3 { margin: 16px 0 14px; }
.offer > p { color: var(--ink-2); max-width: 48ch; }
.offer ul { list-style: none; margin: 30px 0 36px; }
.offer li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; padding: 13px 0; border-top: 1px solid var(--line); font-size: .96rem; }
.offer li::before { content: ""; width: 18px; height: 18px; margin-top: 3px; border-radius: 50%; background: var(--acc) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a0b07' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 11px no-repeat; }
.offer .btn { margin-top: auto; align-self: flex-start; }
@media (max-width: 900px) { .offers { grid-template-columns: 1fr; } }

/* ---------- Steps (months) ---------- */
.steps { position: relative; margin-top: 70px; }
.steps__line { position: absolute; left: 27px; top: 0; bottom: 0; width: 2px; background: var(--line); }
.steps__line span { position: absolute; inset: 0; background: var(--acc); transform-origin: top; transform: scaleY(0); }
.step { position: relative; display: grid; grid-template-columns: 56px 1fr 1.2fr; gap: clamp(20px, 4vw, 60px); padding: 36px 0; border-bottom: 1px solid var(--line); }
.step__dot { width: 56px; height: 56px; border-radius: 50%; background: var(--bg); border: 2px solid var(--line-2); display: grid; place-items: center; font-weight: 800; font-size: .85rem; position: relative; z-index: 1; transition: background .5s, border-color .5s, color .5s; }
.step.is-on .step__dot { background: var(--acc); border-color: var(--acc); color: var(--acc-ink); box-shadow: 0 0 40px var(--acc-glow); }
.step h3 { font-size: clamp(1.5rem, 2.8vw, 2.6rem); }
.step h3 small { display: block; font-family: var(--f-body); font-size: .8rem; letter-spacing: .2em; color: var(--acc); font-weight: 700; margin-bottom: 8px; font-stretch: 100%; font-variation-settings: normal; }
.step p { color: var(--ink-2); }
@media (max-width: 800px) { .step { grid-template-columns: 56px 1fr; } .step p { grid-column: 2; } }

/* ---------- FAQ ---------- */
.faq { margin-top: 50px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 28px 0; font-size: clamp(1.05rem, 1.6vw, 1.4rem); font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { flex-shrink: 0; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-2); position: relative; transition: background .4s, transform .5s var(--ease); }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 2px; margin: -1px 0 0 -7px; background: currentColor; transition: transform .5s var(--ease); }
.faq summary i::after { transform: rotate(90deg); }
.faq details[open] summary i { background: var(--acc); color: var(--acc-ink); border-color: var(--acc); transform: rotate(180deg); }
.faq details[open] summary i::after { transform: rotate(0); }
.faq .faq__a { padding: 0 60px 30px 0; color: var(--ink-2); max-width: 75ch; }

/* ---------- Quote ---------- */
.bigquote { font-size: clamp(1.8rem, 4.4vw, 4.4rem); line-height: 1.08; letter-spacing: -0.02em; font-weight: 600; max-width: 20ch; }
.bigquote .serif { color: var(--acc); }
.bigquote-cite { margin-top: 30px; display: flex; align-items: center; gap: 14px; color: var(--mute); font-size: .9rem; }
.bigquote-cite img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; object-position: 50% 20%; }

/* ---------- CTA final ---------- */
.cta-final { position: relative; overflow: hidden; text-align: center; padding-block: clamp(110px, 16vw, 240px); }
.cta-final__bg { position: absolute; inset: 0; background: radial-gradient(60% 60% at 50% 50%, rgba(226,182,86,.16), transparent 70%); pointer-events: none; }
.cta-final .display { margin: 26px auto 30px; }
.cta-final p { margin: 0 auto 44px; }
.cta-final__row { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; }
.cta-final__small { margin-top: 28px; font-size: .82rem; color: var(--mute); }

/* ---------- Footer ---------- */
.footer { position: relative; border-top: 1px solid var(--line); padding: 80px 0 30px; overflow: hidden; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer h4 { font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; color: var(--mute); margin-bottom: 18px; font-weight: 600; }
.footer ul { list-style: none; }
.footer li { padding: 5px 0; }
.footer li a { color: var(--ink-2); transition: color .3s; }
.footer li a:hover { color: var(--acc); }
.footer__big { margin-top: 80px; font-size: clamp(3rem, 13.5vw, 15rem); line-height: .8; white-space: nowrap; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.14); text-align: center; }
.footer__big span { color: var(--acc); -webkit-text-stroke: 0; }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); font-size: .78rem; color: var(--mute); }
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; } .footer__grid > :first-child { grid-column: 1 / -1; } }

/* ---------- Misc ---------- */
.sec-head { display: flex; justify-content: space-between; align-items: end; gap: 30px; flex-wrap: wrap; }
.sec-head .lead { margin-top: 0; }
.mt-s { margin-top: 20px; } .mt-m { margin-top: 40px; } .mt-l { margin-top: 70px; }
.center { text-align: center; }
.disclaimer { font-size: .75rem; color: var(--mute); max-width: 70ch; margin-top: 30px; }
.divider-word { display: flex; align-items: center; gap: 20px; color: var(--mute); font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; }
.divider-word::before, .divider-word::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.ticks { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 26px; color: var(--ink-2); font-size: .88rem; }
.ticks span::before { content: "✓"; color: var(--acc); margin-right: 8px; font-weight: 900; }

.bg-panel { background: var(--bg-2); border-block: 1px solid var(--line); }

/* photo band */
.photo-band { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16/8; border: 1px solid var(--line); }
.photo-band img { width: 100%; height: 125%; object-fit: cover; }
.photo-band__cap { position: absolute; left: 24px; bottom: 22px; right: 24px; display: flex; justify-content: space-between; gap: 12px; align-items: end; font-size: .85rem; z-index: 2; }
.photo-band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,.8)); }
@media (max-width: 700px) { .photo-band { aspect-ratio: 4/3; } }

/* Values */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 50px; }
.value { padding: 32px 28px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--bg-2); }
.value b { display: block; font-size: clamp(1.4rem, 2.2vw, 2rem); margin-bottom: 12px; }
.value p { color: var(--mute); font-size: .94rem; }
@media (max-width: 800px) { .values { grid-template-columns: 1fr; } }

/* Reveal-on-scroll base (JS toggles) */
[data-fade] { opacity: 0; transform: translateY(40px); }
.no-js [data-fade], .reduced [data-fade] { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .marquee__track, .wall__col { animation: none !important; }
}

/* ---------- Mobile refinements ---------- */
.hero__grid > *, .phero__row > *, .split-2 > *, .about > *, .sec-head > * { min-width: 0; }
@media (max-width: 600px) {
  .btn--xl { --h: 62px; padding: 0 22px; font-size: .95rem; }
  .hero__cta .btn, .cta-final__row .btn, .phero__row .btn { width: 100%; white-space: normal; text-align: center; }
  .hero { padding-top: 110px; }
  .hero__portrait { width: 72%; margin-inline: auto 0; }
  .float-badge { padding: 9px 12px; font-size: .7rem; }
  .float-badge b { font-size: 1.05rem; }
  .float-badge--1 { left: 0; right: auto; top: 8%; }
  .float-badge--2 { left: 0; bottom: 14%; }
  .hero__portrait-wrap { display: flex; flex-direction: column; }
  .hero__meta { gap: 12px; flex-direction: column; }
  .eyebrow { font-size: .7rem; letter-spacing: .16em; }
  .footer__big { font-size: 13vw; }
  .ccard__row b { font-size: 2rem; }
  .phero { padding-top: 130px; }
  .hero__canvas { opacity: .35; }
}
.yt:not(.yt--short) .yt__label > span:first-child { visibility: hidden; }

/* ---------- Charte AltaSkill (noir & or) ---------- */
.display .acc, .serif.acc, .bigquote .acc, .reveal-text .w.acc, .h-xl .acc, .h-l .acc, .h-m .acc {
  background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.btn--acc, .nav a.is-active, .chapter--acc, .compare__vs div, .ccard--after .ccard__label, .offer__badge, .wa__tag, .yt__play, .lightbox__close, .offer li::before {
  background-image: var(--gold-grad);
}
.offer li::before { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b0906' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 11px no-repeat, var(--gold-grad); }
.role::before { background: var(--gold-grad); }
.marquee--acc { background: var(--gold-grad); }

/* Logo */
.logo__mark { background: #000; overflow: hidden; position: relative; border: 1px solid rgba(226,182,86,.35); }
.logo__mark img { position: absolute; width: 260%; max-width: none; height: auto; left: 50%; top: 50%; transform: translate(-50.3%, -37.9%); }
.logo__word { font-family: "Poppins", var(--f-body); font-size: 1.15rem; letter-spacing: 0; text-transform: none; line-height: 1; }
.logo__word b { font-weight: 700; } .logo__word span { font-weight: 400; }
.logo small { margin-top: 4px; letter-spacing: .16em; }
.logo small em { font-style: normal; color: var(--acc); }

/* Photos */
.chapter--img .chapter__cap b { color: var(--acc); }
.photo-duo { display: grid; grid-template-columns: 1.2fr .8fr; gap: 14px; margin-top: 60px; }
.photo-duo figure { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); min-height: 420px; }
.photo-duo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(.9); transition: transform 1.4s var(--ease); }
.photo-duo figure:hover img { transform: scale(1.05); }
.photo-duo figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px; background: linear-gradient(transparent, rgba(0,0,0,.85)); font-size: .85rem; color: var(--ink-2); z-index: 2; }
.photo-duo figcaption b { display: block; color: var(--acc); font-size: .95rem; }
@media (max-width: 800px) { .photo-duo { grid-template-columns: 1fr; } .photo-duo figure { min-height: 320px; } }
.bw img { filter: grayscale(1) contrast(1.05); }
@media (min-width: 901px) and (max-width: 1280px) {
  .hero__grid { grid-template-columns: 1.25fr .75fr; }
  .float-badge--1 { left: -22%; top: -6%; }
  .float-badge--2 { right: -6%; }
}

/* =========================================================
   EFFETS CINÉMATIQUES (scroll)
   ========================================================= */
/* --- Plongée d'intro (accueil) --- */
.cine { position: relative; height: 100svh; background: #000; }
.cine__stage { position: relative; height: 100svh; overflow: hidden; }
.cine__layer { position: absolute; inset: 0; will-change: transform, opacity; }
.cine__layer img { width: 100%; height: 100%; object-fit: cover; }
.cine__layer[data-l="1"], .cine__layer[data-l="2"] { opacity: 0; }
.cine__shade { position: absolute; inset: 0; pointer-events: none; background:
  radial-gradient(120% 90% at 50% 50%, transparent 30%, rgba(0,0,0,.75) 100%),
  linear-gradient(180deg, rgba(7,8,10,.55), rgba(7,8,10,.15) 40%, rgba(7,8,10,.85)); }
.cine__tint { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(226,182,86,.18), transparent 50%); mix-blend-mode: overlay; pointer-events: none; }
.maskword { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; will-change: transform, opacity; transform-origin: 50% 50%; }
.maskword text { font-family: var(--f-display); font-weight: 900; font-stretch: 125%; font-variation-settings: "wdth" 125; text-transform: uppercase; }
.cine__kicker, .cine__sub { position: absolute; left: 0; right: 0; text-align: center; z-index: 3; color: var(--ink-2); font-size: .8rem; letter-spacing: .32em; text-transform: uppercase; }
.cine__kicker { top: calc(50% - min(13vw, 190px)); }
.cine__sub { top: calc(50% + min(11vw, 160px)); }
.cine__sub b { color: var(--acc); font-weight: 700; }
.cine__txt { position: absolute; z-index: 4; left: var(--gutter); right: var(--gutter); bottom: clamp(110px, 20vh, 200px); opacity: 0; pointer-events: none; }
.cine__txt .display { font-size: clamp(2.4rem, 7vw, 7.4rem); text-shadow: 0 10px 60px rgba(0,0,0,.6); }
.cine__txt .eyebrow { margin-bottom: 18px; }
.cine__txt--end { pointer-events: auto; }
.cine__txt--end .btn { margin-top: 30px; }
.cine__hud { position: absolute; z-index: 5; left: var(--gutter); right: var(--gutter); bottom: 28px; display: flex; justify-content: space-between; align-items: center; gap: 20px; font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-2); }
.cine__bar { flex: 1; max-width: 360px; height: 2px; background: rgba(255,255,255,.15); position: relative; overflow: hidden; }
.cine__bar span { position: absolute; inset: 0; background: var(--gold-grad); transform-origin: left; transform: scaleX(0); }
.cine__steps { display: flex; gap: 18px; }
.cine__steps span { opacity: .35; transition: opacity .4s, color .4s; }
.cine__steps span.is-on { opacity: 1; color: var(--acc); }
@media (max-width: 700px) { .cine__steps { display: none; } .cine__kicker { top: calc(50% - 30vw); } .cine__sub { top: calc(50% + 22vw); letter-spacing: .2em; font-size: .7rem; } }

/* --- Mot-masque qui zoome (sections) --- */
.zoomword { position: relative; height: 100svh; background: #000; }
.zoomword__stage { position: relative; height: 100svh; overflow: hidden; }
.zoomword__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; will-change: transform; }
.zoomword__stage::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(7,8,10,.35), rgba(7,8,10,.1) 45%, rgba(7,8,10,.9)); z-index: 1; }
.zoomword .maskword { z-index: 2; }
.zoomword__cap { position: absolute; z-index: 3; left: var(--gutter); right: var(--gutter); bottom: clamp(60px, 12vh, 130px); opacity: 0; }
.zoomword__cap .display { font-size: clamp(2rem, 5.4vw, 5.6rem); }
.zoomword__cap p { max-width: 48ch; margin-top: 18px; color: var(--ink-2); font-size: clamp(1rem, 1.3vw, 1.25rem); }
.zoomword__hint { position: absolute; z-index: 3; left: 50%; bottom: 30px; transform: translateX(-50%); font-size: .7rem; letter-spacing: .3em; text-transform: uppercase; color: var(--ink-2); }

/* --- Média qui s'agrandit en plein écran --- */
.bleed { position: relative; width: 100vw; margin-left: calc(50% - 50vw); }
.bleed .yt { border-radius: 0; border: 0; aspect-ratio: auto; height: min(100svh, 56.25vw); min-height: 320px; will-change: clip-path; }
.bleed .yt img { opacity: .9; }

/* Crédit photo */
.credit { font-size: .7rem; color: var(--mute); }
.credit a { text-decoration: underline; }
.cine__intro, .cine__labels { position: absolute; inset: 0; z-index: 3; pointer-events: none; }

/* =========================================================
   PAGE OUTILS
   ========================================================= */
.tools-jump { display: grid; gap: 10px; }
.tools-jump__item { display: flex; align-items: center; gap: 16px; padding: 18px 22px; border-radius: 18px; border: 1px solid var(--line-2); background: rgba(255,255,255,.02); font-weight: 600; transition: background .4s, border-color .4s, transform .5s var(--ease); }
.tools-jump__item span { font-family: var(--f-display); font-stretch: 125%; font-variation-settings: "wdth" 125; font-weight: 900; color: var(--acc); }
.tools-jump__item:hover { border-color: var(--acc); background: rgba(226,182,86,.08); transform: translateX(8px); }

/* Cartes empilées */
.stack { position: relative; margin-top: 60px; display: grid; gap: 40px; }
.stack__card {
  position: sticky; top: 100px; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(24px, 4vw, 60px); align-items: center;
  min-height: min(680px, calc(100svh - 140px)); padding: clamp(26px, 4vw, 56px); border-radius: 32px; overflow: hidden;
  border: 1px solid var(--line-2); background: radial-gradient(90% 80% at 0% 0%, rgba(226,182,86,.12), transparent 55%), var(--bg-2);
  box-shadow: 0 -30px 80px -40px rgba(0,0,0,.9); transform-origin: 50% 0; will-change: transform;
}
.stack__card--gold { background: radial-gradient(90% 80% at 100% 0%, rgba(226,182,86,.22), transparent 55%), #100e0a; border-color: rgba(226,182,86,.4); }
.stack__num { position: absolute; right: 0; top: -0.25em; font-size: clamp(4rem, 9vw, 8rem); line-height: .8; color: transparent; -webkit-text-stroke: 1px rgba(226,182,86,.18); pointer-events: none; }
.stack__body { position: relative; z-index: 2; }
.stack__body h3 { margin: 14px 0 18px; }
.stack__body > p { color: var(--ink-2); max-width: 50ch; }
.stack__cta { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 30px; }
.price { font-size: .82rem; color: var(--ink-2); line-height: 1.3; }
.price small { display: block; color: var(--acc); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; font-size: .68rem; }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 26px; }
.kpis div { padding: 14px 12px; border-radius: 16px; border: 1px solid var(--line); background: rgba(255,255,255,.02); }
.kpis b { display: block; font-size: clamp(1.5rem, 2.4vw, 2.3rem); line-height: 1; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.kpis span { font-size: .74rem; color: var(--mute); }
.stack__list { list-style: none; margin-top: 22px; display: grid; gap: 10px; }
.stack__list li { padding: 12px 16px 12px 44px; border-radius: 14px; border: 1px solid var(--line); background: rgba(255,255,255,.02); font-size: .92rem; color: var(--ink-2); position: relative; }
.stack__list li::before { content: "✓"; position: absolute; left: 14px; top: 12px; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-size: .7rem; font-weight: 900; color: var(--acc-ink); background: var(--gold-grad); }
.stack__list b { color: var(--ink); }
@media (max-width: 900px) {
  .stack__card { grid-template-columns: 1fr; position: relative; top: 0; min-height: 0; }
  .kpis { grid-template-columns: repeat(2, 1fr); }
}

/* Éventail des modules */
.fan { position: relative; height: 440px; perspective: 1200px; }
.fan__card {
  position: absolute; left: 50%; top: 50%; width: min(300px, 70vw); height: 190px; margin: -95px 0 0 calc(min(300px, 70vw) / -2);
  padding: 22px; border-radius: 20px; background: linear-gradient(160deg, #1b1914, #0c0b09); border: 1px solid rgba(226,182,86,.35);
  display: flex; flex-direction: column; justify-content: flex-end; gap: 4px; box-shadow: 0 30px 60px -20px rgba(0,0,0,.9);
  transform: translate(calc((var(--i) - 3) * 26px), calc((var(--i) - 3) * -18px)) rotate(calc((var(--i) - 3) * 5deg));
  transition: transform .8s var(--ease);
}
.fan__card em { font-style: normal; font-size: .7rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--acc); }
.fan__card b { font-family: var(--f-display); font-stretch: 125%; font-variation-settings: "wdth" 125; font-weight: 900; text-transform: uppercase; font-size: 1.25rem; line-height: 1; }
.fan__card small { color: var(--mute); font-size: .78rem; }
.fan__card--top { background: var(--gold-grad); border: 0; }
.fan__card--top em, .fan__card--top b, .fan__card--top small { color: var(--acc-ink); }
.fan:hover .fan__card { transform: translate(calc((var(--i) - 3) * 58px), calc((var(--i) - 3) * -8px)) rotate(calc((var(--i) - 3) * 9deg)); }
@media (max-width: 600px) { .fan { height: 340px; } .fan:hover .fan__card { transform: translate(calc((var(--i) - 3) * 26px), calc((var(--i) - 3) * -18px)) rotate(calc((var(--i) - 3) * 5deg)); } }

/* Maquette écran */
.device { position: relative; border-radius: 22px; border: 1px solid var(--line-2); background: #0a0a0b; overflow: hidden; box-shadow: 0 50px 100px -40px rgba(226,182,86,.35); transform: perspective(1200px) rotateY(-10deg) rotateX(4deg); transition: transform 1s var(--ease); }
.device:hover { transform: perspective(1200px) rotateY(0) rotateX(0); }
.device__bar { display: flex; align-items: center; gap: 6px; padding: 12px 14px; border-bottom: 1px solid var(--line); font-size: .7rem; color: var(--mute); }
.device__bar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.18); }
.device__bar span { margin-left: 10px; }
.device__tabs { display: flex; gap: 6px; padding: 12px 14px 0; }
.device__tabs span { font-size: .72rem; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line); color: var(--mute); transition: all .4s; }
.device__tabs span.is-on { background: var(--gold-grad); color: var(--acc-ink); border-color: transparent; font-weight: 700; }
.device__screen { padding: 16px 14px 20px; display: grid; gap: 14px; }
.mini-pitch { border-radius: 14px; background: linear-gradient(180deg, #123524, #0b2418); padding: 8px; }
.mini-pitch svg { width: 100%; height: auto; }
.mp-dots circle { fill: #f3f1ea; }
.mp-dots circle:nth-child(odd) { fill: #e2b656; }
.mp-path { animation: dash 2.4s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -36; } }
.device__rows { display: grid; gap: 8px; }
.device__rows span { height: 9px; width: var(--w); border-radius: 6px; background: linear-gradient(90deg, rgba(255,255,255,.14), rgba(255,255,255,.04)); }

/* Scroll collant des 3 outils */
.toolscroll { display: grid; grid-template-columns: .7fr 1.3fr; gap: clamp(30px, 6vw, 90px); margin-top: 60px; align-items: start; }
.toolscroll__sticky { position: sticky; top: 140px; }
.toolscroll__counter { font-size: clamp(5rem, 11vw, 10rem); line-height: .85; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.toolscroll__counter small { font-size: .3em; -webkit-text-fill-color: var(--mute); }
.toolscroll__labels { margin-top: 24px; display: grid; gap: 6px; }
.toolscroll__labels p { font-family: var(--f-display); font-stretch: 125%; font-variation-settings: "wdth" 125; font-weight: 900; text-transform: uppercase; font-size: clamp(1.3rem, 2.4vw, 2.2rem); line-height: 1.05; color: rgba(255,255,255,.14); transition: color .5s, transform .6s var(--ease); margin: 0; }
.toolscroll__labels p.is-on { color: var(--ink); transform: translateX(14px); }
.toolscroll__bar { margin-top: 30px; height: 2px; background: var(--line); position: relative; max-width: 260px; }
.toolscroll__bar span { position: absolute; inset: 0; background: var(--gold-grad); transform-origin: left; transform: scaleX(0); }
.toolscroll__panels { display: grid; gap: clamp(60px, 10vh, 120px); }
.tool { min-height: 70vh; display: flex; flex-direction: column; justify-content: center; }
.tool__tag { display: inline-block; align-self: flex-start; margin: 30px 0 14px; padding: 7px 14px; border-radius: 999px; border: 1px solid rgba(226,182,86,.4); color: var(--acc); font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.tool h3 { margin-bottom: 16px; }
.tool > p { color: var(--ink-2); max-width: 52ch; }
.tool__stop { margin-top: 16px; padding: 14px 18px; border-left: 2px solid var(--red); background: rgba(255,77,46,.06); border-radius: 0 12px 12px 0; font-size: .92rem; }
.tool__stop b { color: var(--red); }
.tool__mock { border-radius: 24px; border: 1px solid var(--line-2); background: var(--bg-2); padding: clamp(18px, 2.4vw, 28px); box-shadow: 0 40px 90px -40px rgba(0,0,0,.9); }
@media (max-width: 900px) { .toolscroll { grid-template-columns: 1fr; } .toolscroll__sticky { display: none; } .tool { min-height: 0; } }

/* Fiche séance */
.sheet__head { display: flex; justify-content: space-between; padding-bottom: 14px; border-bottom: 1px solid var(--line); margin-bottom: 8px; }
.sheet__head span { color: var(--acc); font-weight: 700; font-size: .85rem; }
.sheet__row { display: grid; grid-template-columns: 14px 1fr auto; align-items: center; gap: 14px; padding: 13px 0; border-bottom: 1px dashed var(--line); font-size: .95rem; }
.sheet__row i { width: 12px; height: 12px; border-radius: 4px; background: var(--c); }
.sheet__row em { font-style: normal; color: var(--mute); font-variant-numeric: tabular-nums; }
.sheet__foot { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-top: 14px; font-size: .78rem; color: var(--mute); }
.sheet__foot b { color: var(--acc); }
/* Saison */
.season__months { display: grid; grid-template-columns: repeat(10, 1fr); font-size: .66rem; letter-spacing: .08em; text-transform: uppercase; color: var(--mute); margin-bottom: 14px; }
.season__bars { display: grid; gap: 10px; }
.season__bars span { margin-left: calc(var(--s) * 10%); width: calc((var(--e) - var(--s)) * 10%); padding: 12px 14px; border-radius: 12px; font-size: .76rem; font-weight: 700; color: var(--acc-ink); background: var(--gold-grad); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transform-origin: left; }
.season__bars span:nth-child(even) { background: #f3f1ea; }
/* Détection */
.scout { display: grid; gap: 12px; }
.scout__card { display: grid; grid-template-columns: 50px 1fr auto; align-items: center; gap: 14px; padding: 14px; border-radius: 16px; border: 1px solid var(--line); background: rgba(255,255,255,.02); }
.scout__av { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; font-family: var(--f-display); font-weight: 900; font-stretch: 125%; background: var(--gold-grad); color: var(--acc-ink); }
.scout__card b { display: block; font-size: .95rem; }
.scout__card small { color: var(--mute); font-size: .78rem; }
.scout__card em { font-style: normal; color: var(--acc); letter-spacing: 2px; font-size: .85rem; }
@media (max-width: 500px) { .scout__card { grid-template-columns: 44px 1fr; } .scout__card em { grid-column: 2; } }
@media (max-width: 1240px) and (min-width: 1081px) { .nav a { padding: 9px 11px; font-size: .8rem; } }

/* Réseaux sociaux */
.socials { display: flex; flex-wrap: wrap; gap: 8px; }
.socials a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-2); color: var(--ink); background: rgba(255,255,255,.02); transition: transform .5s var(--ease), color .3s, border-color .3s, background .3s; }
.socials a:hover { transform: translateY(-4px) rotate(-8deg); color: var(--acc-ink); border-color: transparent; background: var(--gold-grad); }
.socials svg { width: 17px; height: 17px; }
.mobile-menu__foot { display: grid; gap: 18px; justify-items: start; }
.footer .socials { gap: 6px; flex-wrap: nowrap; }
.footer .socials a { width: 36px; height: 36px; flex-shrink: 0; }
.footer .socials svg { width: 15px; height: 15px; }

/* =========================================================
   ACCESSIBILITÉ & CONFORMITÉ
   ========================================================= */
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 500; padding: 14px 22px; border-radius: 12px; background: var(--acc); color: var(--acc-ink); font-weight: 800; transition: top .3s; }
.skip-link:focus { top: 16px; }
main:focus { outline: none; }
:focus-visible { outline: 3px solid var(--acc); outline-offset: 3px; border-radius: 6px; }
.btn:focus-visible, .socials a:focus-visible, .burger:focus-visible { outline-offset: 4px; border-radius: 999px; }
.wa:focus-visible, .yt:focus-visible, .path:focus-visible, .stack__card a:focus-visible { outline-offset: 4px; border-radius: 18px; }
/* contraste renforcé des libellés inactifs */
.toolscroll__labels p { color: rgba(255,255,255,.4); }
.cine__steps span { opacity: .6; }

/* Mention sous les boutons de réservation */
.form-note { max-width: 60ch; margin: 22px auto 0; font-size: .8rem; line-height: 1.5; color: var(--mute); }
.form-note b { color: var(--ink-2); font-weight: 600; }
.form-note a { color: var(--acc); text-decoration: underline; text-underline-offset: 3px; }

/* Consentement vidéo YouTube */
.yt-consent { position: absolute; inset: 0; z-index: 8; display: flex; flex-direction: column; justify-content: center; gap: 16px; padding: clamp(16px, 3vw, 36px); background: rgba(7,8,10,.93); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); cursor: default; text-align: left; }
.yt-consent p { font-size: clamp(.8rem, 1.1vw, .95rem); color: var(--ink-2); max-width: 56ch; }
.yt-consent p b { color: var(--ink); display: block; margin-bottom: 4px; }
.yt-consent a:not(.btn) { color: var(--acc); text-decoration: underline; }
.yt-consent__row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.yt-consent .btn { white-space: normal; height: auto; min-height: 44px; padding: 10px 18px; }
.yt-consent__x { position: absolute; top: 10px; right: 10px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-2); color: var(--ink); }
.yt--short .yt-consent { padding: 14px; gap: 10px; }
.yt--short .yt-consent p { font-size: .72rem; }
.yt--short .yt-consent .btn { font-size: .72rem; padding: 8px 12px; }

/* Liens légaux du pied de page */
.legal-links { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.legal-links a { color: var(--ink-2); }

/* Pages légales */
.legal { padding: 150px 0 100px; }
.legal__inner { max-width: 860px; }
.legal h1 { font-size: clamp(2.2rem, 5.5vw, 4.4rem); margin: 18px 0 14px; }
.legal__updated { color: var(--mute); font-size: .88rem; margin-bottom: 30px; }
.legal__toc { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 40px; padding: 0; list-style: none; }
.legal__toc a { display: inline-block; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-2); font-size: .82rem; color: var(--ink-2); }
.legal__toc a:hover { border-color: var(--acc); color: var(--acc); }
.legal h2 { font-family: var(--f-display); font-stretch: 125%; font-variation-settings: "wdth" 125; font-weight: 900; text-transform: uppercase; font-size: clamp(1.2rem, 2.2vw, 1.6rem); line-height: 1.1; margin: 46px 0 14px; padding-top: 24px; border-top: 1px solid var(--line); scroll-margin-top: 110px; }
.legal h3 { font-size: 1.05rem; margin: 24px 0 8px; color: var(--ink); }
.legal p, .legal li { color: var(--ink-2); font-size: 1rem; line-height: 1.7; }
.legal ul, .legal ol { padding-left: 1.3em; margin: 10px 0; }
.legal li + li { margin-top: 6px; }
.legal a { color: var(--acc); text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.legal strong { color: var(--ink); }
.legal table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: .92rem; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 12px 10px; border-bottom: 1px solid var(--line); color: var(--ink-2); }
.legal th { color: var(--ink); font-weight: 700; }
.legal .table-wrap { overflow-x: auto; }
.legal .box { margin: 22px 0; padding: 20px 22px; border-radius: 16px; border: 1px solid rgba(226,182,86,.35); background: rgba(226,182,86,.06); }
.legal .box p:last-child { margin-bottom: 0; }
.todo { background: rgba(255,77,46,.18); color: #ffb3a6; padding: 1px 6px; border-radius: 6px; font-weight: 600; }
.legal .btn { margin-top: 10px; }
.lightbox.is-open { transition: opacity .4s, visibility 0s; }
.legal .legal__toc { padding-left: 0; }
.legal .legal__toc li + li { margin-top: 0; }
.stack__body h3.h-m { font-size: clamp(1.45rem, 2.9vw, 3rem); }
.stack__card > * { min-width: 0; }
.zoomword__cap.container { width: auto; padding-inline: 0; }
@media (max-width: 600px) { .stack__body h3.h-m { font-size: clamp(1.1rem, 5.2vw, 1.45rem); } }
.tool, .phero { overflow-x: clip; }
@media (max-width: 600px) { .btn { max-width: 100%; white-space: normal; text-align: center; height: auto; min-height: var(--h); padding-block: 12px; } }

/* =========================================================
   ASSISTANT (chatbot)
   ========================================================= */
.chat { position: fixed; right: clamp(14px, 2.4vw, 28px); bottom: clamp(14px, 2.4vw, 28px); z-index: 150; font-family: var(--f-body); }
.chat__bubble { position: relative; width: 66px; height: 66px; border-radius: 50%; padding: 3px; background: var(--gold-grad); box-shadow: 0 16px 40px -10px rgba(0,0,0,.8), 0 0 0 0 rgba(226,182,86,.5); transition: transform .5s var(--ease); animation: chatRing 3s infinite; }
.chat__bubble img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; object-position: 50% 30%; filter: grayscale(1) contrast(1.05); border: 2px solid #0b0906; }
.chat__bubble:hover { transform: scale(1.07) rotate(-4deg); }
.chat__ping { position: absolute; top: 2px; right: 2px; width: 14px; height: 14px; border-radius: 50%; background: var(--acc); border: 2px solid #0b0906; }
.chat.is-open .chat__bubble { animation: none; }
.chat.is-open .chat__ping { display: none; }
@keyframes chatRing { 0% { box-shadow: 0 16px 40px -10px rgba(0,0,0,.8), 0 0 0 0 rgba(226,182,86,.55); } 70%,100% { box-shadow: 0 16px 40px -10px rgba(0,0,0,.8), 0 0 0 18px rgba(226,182,86,0); } }

.chat__teaser { position: absolute; right: 0; bottom: 80px; width: min(290px, calc(100vw - 32px)); padding: 16px 38px 16px 16px; border-radius: 18px 18px 4px 18px; background: #14171c; border: 1px solid rgba(226,182,86,.4); box-shadow: 0 24px 60px -20px rgba(0,0,0,.9); cursor: pointer; animation: chatIn .6s var(--ease); }
.chat__teaser p { font-size: .9rem; line-height: 1.45; color: var(--ink-2); margin: 0; }
.chat__teaser b { color: var(--ink); }
.chat__teaser-x { position: absolute; top: 6px; right: 6px; width: 30px; height: 30px; border-radius: 50%; color: var(--mute); font-size: .8rem; }
.chat__teaser-x:hover { color: var(--ink); background: rgba(255,255,255,.06); }

.chat__panel { position: absolute; right: 0; bottom: 82px; width: min(390px, calc(100vw - 28px)); height: min(620px, calc(100svh - 120px)); display: flex; flex-direction: column; border-radius: 24px; overflow: hidden; background: rgba(13,15,18,.97); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); border: 1px solid rgba(226,182,86,.35); box-shadow: 0 40px 100px -30px rgba(0,0,0,.95); transform-origin: 100% 100%; opacity: 0; transform: translateY(16px) scale(.96); transition: opacity .25s var(--ease), transform .35s var(--ease); }
.chat.is-open .chat__panel { opacity: 1; transform: none; }
.chat__panel[hidden] { display: none; }
.chat:not(.is-open) .chat__panel { pointer-events: none; }
@keyframes chatIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.chat__head { display: flex; align-items: center; gap: 12px; padding: 14px 12px 14px 16px; background: linear-gradient(135deg, rgba(226,182,86,.2), rgba(226,182,86,.03)); border-bottom: 1px solid var(--line); }
.chat__head img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; object-position: 50% 30%; filter: grayscale(1); border: 2px solid var(--acc); }
.chat__head div { flex: 1; min-width: 0; line-height: 1.25; }
.chat__head b { display: block; font-size: .98rem; }
.chat__head small { display: block; font-size: .72rem; color: var(--mute); }
.chat__close, .chat__restart { width: 38px; height: 38px; border-radius: 50%; color: var(--ink-2); flex-shrink: 0; font-size: 1rem; }
.chat__close:hover, .chat__restart:hover { background: rgba(255,255,255,.07); color: var(--ink); }
.chat__progress { height: 3px; background: rgba(255,255,255,.06); }
.chat__progress span { display: block; height: 100%; background: var(--gold-grad); transform-origin: left; transform: scaleX(0); transition: transform .6s var(--ease); }

.chat__log { flex: 1; overflow-y: auto; padding: 18px 14px 10px; display: flex; flex-direction: column; gap: 10px; overscroll-behavior: contain; scrollbar-width: thin; }
.msg { max-width: 86%; padding: 11px 14px; border-radius: 16px; font-size: .9rem; line-height: 1.5; animation: chatIn .35s var(--ease); overflow-wrap: anywhere; }
.msg--bot { align-self: flex-start; background: #1a1d23; color: var(--ink-2); border-bottom-left-radius: 4px; }
.msg--bot b { color: var(--ink); }
.msg--me { align-self: flex-end; background: var(--gold-grad); color: var(--acc-ink); font-weight: 600; border-bottom-right-radius: 4px; }
.msg--typing { display: flex; gap: 4px; padding: 14px 16px; }
.msg--typing span { width: 7px; height: 7px; border-radius: 50%; background: var(--mute); animation: dots 1s infinite; }
.msg--typing span:nth-child(2) { animation-delay: .15s; } .msg--typing span:nth-child(3) { animation-delay: .3s; }
@keyframes dots { 0%, 60%, 100% { transform: translateY(0); opacity: .5; } 30% { transform: translateY(-5px); opacity: 1; } }

.chat__choices { display: flex; flex-wrap: wrap; gap: 8px; padding: 10px 14px 14px; max-height: 46%; overflow-y: auto; border-top: 1px solid var(--line); }
.chat__choices:empty { display: none; }
.chip-btn { display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; border-radius: 14px; border: 1px solid rgba(226,182,86,.45); color: var(--ink); font-size: .85rem; font-weight: 600; line-height: 1.3; text-align: left; background: rgba(226,182,86,.06); transition: background .25s, border-color .25s, transform .3s var(--ease); cursor: pointer; }
.chip-btn:hover { background: rgba(226,182,86,.16); transform: translateY(-2px); }
.chip-btn--primary { background: var(--gold-grad); color: var(--acc-ink); border-color: transparent; }
.chip-btn--primary:hover { background: var(--gold-grad); filter: brightness(1.08); }
.chat__note { flex-basis: 100%; margin: 4px 2px 0; font-size: .74rem; color: var(--mute); line-height: 1.4; }
.chat__foot { padding: 9px 14px; font-size: .7rem; color: var(--mute); border-top: 1px solid var(--line); text-align: center; }
.chat__foot a { color: var(--ink-2); text-decoration: underline; }

@media (max-width: 600px) {
  .chat__bubble { width: 58px; height: 58px; }
  .chat__panel { position: fixed; left: 10px; right: 10px; bottom: 80px; width: auto; height: calc(100svh - 100px); }
  .chat__teaser { bottom: 70px; }
}
@media (prefers-reduced-motion: reduce) { .chat__bubble { animation: none; } }
.msg__legal { display: block; margin-top: 8px; font-size: .74rem; color: var(--mute); }

/* =========================================================
   SÉLECTEUR DE LANGUE
   ========================================================= */
.i18n-wait body { opacity: 0; }
.header__right { display: flex; align-items: center; gap: 12px; }
.lang { position: relative; }
.lang__list { list-style: none; display: flex; gap: 6px; padding: 0; margin: 0; }
.lang__btn { width: 30px; height: 30px; border-radius: 50%; overflow: hidden; padding: 0; border: 2px solid transparent; display: grid; place-items: center; opacity: .6; filter: saturate(.7); transition: opacity .3s, transform .4s var(--ease), border-color .3s, filter .3s; background: #000; }
.lang__btn svg { width: 150%; height: 100%; max-width: none; flex-shrink: 0; }
.lang__btn:hover { opacity: 1; filter: none; transform: translateY(-2px) scale(1.08); }
.lang__btn[aria-pressed="true"] { opacity: 1; filter: none; border-color: var(--acc); box-shadow: 0 0 0 2px rgba(226,182,86,.25); }
.lang__name { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.lang__current { display: none; align-items: center; gap: 6px; height: 40px; padding: 0 10px 0 6px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255,255,255,.03); }
.lang__flag { width: 26px; height: 26px; border-radius: 50%; overflow: hidden; display: grid; place-items: center; }
.lang__flag svg { width: 150%; height: 100%; max-width: none; }
.lang__chev { font-size: .7rem; color: var(--mute); }

/* écrans moyens et mobiles : drapeau actuel + liste déroulante */
@media (max-width: 339px) {
  .header .lang__current { display: inline-flex; }
  .header .lang__list { position: absolute; top: calc(100% + 10px); right: 0; flex-direction: column; gap: 4px; padding: 8px; border-radius: 16px; background: #14171c; border: 1px solid var(--line-2); box-shadow: 0 20px 50px -15px rgba(0,0,0,.9); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .25s, transform .3s var(--ease), visibility 0s .3s; z-index: 5; }
  .header .lang.is-open .lang__list { opacity: 1; visibility: visible; transform: none; transition: opacity .25s, transform .3s var(--ease), visibility 0s; }
  .header .lang__btn { width: auto; height: auto; border-radius: 10px; padding: 7px 12px 7px 7px; display: flex; gap: 10px; background: transparent; opacity: .85; filter: none; }
  .header .lang__btn svg { width: 26px; height: 17px; border-radius: 3px; }
  .header .lang__btn[aria-pressed="true"] { background: rgba(226,182,86,.12); border-color: transparent; box-shadow: none; }
  .header .lang__name { position: static !important; width: auto; height: auto; clip: auto; font-size: .85rem; font-weight: 600; color: var(--ink); }
  .header .lang__btn:hover { transform: none; background: rgba(255,255,255,.06); }
}
@media (max-width: 1080px) {
  .header__right .btn { display: none; }
  .header__right { margin-left: auto; margin-right: 10px; }
}
/* menu mobile : 5 drapeaux bien visibles */
.lang--menu .lang__current { display: none !important; }
.lang--menu .lang__list { position: static; flex-direction: row; opacity: 1; visibility: visible; transform: none; background: none; border: 0; box-shadow: none; padding: 0; gap: 10px; }
.lang--menu .lang__btn { width: 42px; height: 42px; }
.header .logo small { white-space: nowrap; }
.header .logo { flex-shrink: 0; }
@media (max-width: 1320px) and (min-width: 1081px) { .nav a { padding: 9px 8px; font-size: .78rem; } }
@media (max-width: 1180px) and (min-width: 1081px) { .header .logo small { display: none; } .nav a { padding: 8px 7px; } }
/* 5 drapeaux toujours visibles dans l'en-tête */
@media (max-width: 1480px) and (min-width: 340px) {
  .header .lang__list { gap: 4px; }
  .header .lang__btn { width: 26px; height: 26px; }
}
@media (max-width: 1080px) and (min-width: 340px) {
  .header .lang__btn { width: 24px; height: 24px; opacity: .75; }
  .header__right { gap: 8px; }
}
@media (max-width: 520px) and (min-width: 340px) {
  .header .logo small { display: none; }
  .header .lang__list { gap: 3px; }
  .header .lang__btn { width: 22px; height: 22px; border-width: 1.5px; }
}
@media (max-width: 1440px) and (min-width: 1321px) { .nav a { padding: 9px 12px; } }
@media (max-width: 1180px) and (min-width: 1081px) { .header__right { gap: 8px; } .header .lang__list { gap: 3px; } .header .lang__btn { width: 24px; height: 24px; } }
/* FLAGS:START */
.lang__btn[data-lang="fr"], .lang__flag[data-flag="fr"] { background: #000 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 20'%3E%3Crect width='10' height='20' fill='%23002654'/%3E%3Crect x='10' width='10' height='20' fill='%23fff'/%3E%3Crect x='20' width='10' height='20' fill='%23ce1126'/%3E%3C/svg%3E") center / cover no-repeat; }
.lang__btn[data-lang="en"], .lang__flag[data-flag="en"] { background: #000 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 30'%3E%3CclipPath id='s'%3E%3Cpath d='M0,0v30h60V0z'/%3E%3C/clipPath%3E%3CclipPath id='t'%3E%3Cpath d='M30,15h30v15zv15H0zH0V0zV0h30z'/%3E%3C/clipPath%3E%3Cg clip-path='url(%23s)'%3E%3Cpath d='M0,0v30h60V0z' fill='%23012169'/%3E%3Cpath d='M0,0 60,30M60,0 0,30' stroke='%23fff' stroke-width='6'/%3E%3Cpath d='M0,0 60,30M60,0 0,30' clip-path='url(%23t)' stroke='%23C8102E' stroke-width='4'/%3E%3Cpath d='M30,0v30M0,15h60' stroke='%23fff' stroke-width='10'/%3E%3Cpath d='M30,0v30M0,15h60' stroke='%23C8102E' stroke-width='6'/%3E%3C/g%3E%3C/svg%3E") center / cover no-repeat; }
.lang__btn[data-lang="es"], .lang__flag[data-flag="es"] { background: #000 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 20'%3E%3Crect width='30' height='20' fill='%23aa151b'/%3E%3Crect y='5' width='30' height='10' fill='%23f1bf00'/%3E%3C/svg%3E") center / cover no-repeat; }
.lang__btn[data-lang="de"], .lang__flag[data-flag="de"] { background: #000 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 20'%3E%3Crect width='30' height='7' fill='%23000'/%3E%3Crect y='6.66' width='30' height='6.68' fill='%23dd0000'/%3E%3Crect y='13.33' width='30' height='6.67' fill='%23ffce00'/%3E%3C/svg%3E") center / cover no-repeat; }
.lang__btn[data-lang="it"], .lang__flag[data-flag="it"] { background: #000 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 20'%3E%3Crect width='10' height='20' fill='%23009246'/%3E%3Crect x='10' width='10' height='20' fill='%23fff'/%3E%3Crect x='20' width='10' height='20' fill='%23ce2b37'/%3E%3C/svg%3E") center / cover no-repeat; }
/* FLAGS:END */
@media (max-width: 339px) { .header .lang__btn { width: 26px; height: 26px; padding: 0; } }
.cine__hud { right: calc(var(--gutter) + 88px); }
/* --- Affichage sans JavaScript (ex. éditeur qui n'exécute pas les scripts) : page statique lisible --- */
html:not(.js) .preloader, html:not(.js) .transition { display: none !important; }
html:not(.js) .i18n-wait body, html:not(.js) body { opacity: 1 !important; }
html:not(.js) [data-fade] { opacity: 1; transform: none; }
html:not(.js) .cine, html:not(.js) .cine__stage { height: 100svh; }
html:not(.js) .cine__txt, html:not(.js) .cine__hud { display: none; }
html:not(.js) .cine__layer[data-l="1"], html:not(.js) .cine__layer[data-l="2"] { display: none; }
html:not(.js) .zoomword__cap { opacity: 1; }
html:not(.js) .chat { display: none; }
/* Bouton « Réserver » de l'en-tête : libellé court sur écran moyen, jamais coupé */
.header__cta .cta-short { display: none; }
@media (max-width: 1640px) and (min-width: 1081px) {
  .header__cta .cta-long { display: none; }
  .header__cta .cta-short { display: inline; }
  .header__cta { padding-left: 16px; gap: 8px; }
}
.header__right { flex-shrink: 0; }
.header .nav { min-width: 0; overflow: hidden; }
.header .logo { min-width: 0; }
