/* Base partagée — chaque site définit ses propres tokens */
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased}
html.lenis,html.lenis body{height:auto}
.lenis.lenis-smooth{scroll-behavior:auto!important}
.lenis.lenis-stopped{overflow:hidden}
html.is-loading{overflow:hidden}
body{margin:0;background:var(--bg);color:var(--fg);font-family:var(--body);font-size:clamp(16px,1.05vw,18px);line-height:1.6;overflow-x:hidden}
img{display:block;max-width:100%}
a{color:inherit;text-decoration:none}
button{font:inherit;color:inherit;background:none;border:0;cursor:pointer}
h1,h2,h3,h4,p,ul,ol,figure{margin:0}
ul,ol{list-style:none;padding:0}
:focus-visible{outline:2px solid var(--focus,currentColor);outline-offset:4px;border-radius:2px}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.wrap{width:min(100% - 32px,1440px);margin-inline:auto}
@media(min-width:760px){.wrap{width:min(100% - 80px,1440px)}}

/* Split text */
.sl{display:block}
.sl-mask,.sc-mask{padding:.14em 0 .12em;margin:-.14em 0 -.12em}
.sw,.sc{display:inline-block;will-change:transform}

/* Curseur */
.cursor{position:fixed;inset:0;pointer-events:none;z-index:9998;mix-blend-mode:difference}
.cursor__dot,.cursor__ring{position:fixed;top:0;left:0;border-radius:50%;translate:-50% -50%}
.cursor__dot{width:6px;height:6px;background:#fff}
.cursor__ring{width:38px;height:38px;border:1px solid #fff;display:grid;place-items:center;transition:width .45s cubic-bezier(.2,.8,.2,1),height .45s cubic-bezier(.2,.8,.2,1),background .3s}
.cursor.is-hover .cursor__ring{width:70px;height:70px}
.cursor.has-label .cursor__ring{width:96px;height:96px;background:#fff}
.cursor__label{font-style:normal;font-size:12px;font-weight:600;color:#000;letter-spacing:.02em;font-family:var(--body)}
@media(pointer:fine){html.js body,html.js a,html.js button{cursor:none}}

/* Transition de page */
.pt{position:fixed;inset:0;z-index:9997;display:grid;grid-template-columns:repeat(4,1fr);pointer-events:none}
.pt span{transform:scaleY(0);background:#111}

/* Barre de progression */
.progress{position:fixed;top:0;left:0;right:0;height:3px;transform-origin:left;transform:scaleX(0);z-index:200;background:var(--accent)}

/* Marquee */
[data-marquee]{overflow:hidden;white-space:nowrap}
[data-marquee]>*{display:inline-flex;will-change:transform}

/* État initial des éléments animés (seulement si JS) */
html.js [data-reveal]{clip-path:inset(100% 0 0 0)}
@media(prefers-reduced-motion:reduce){
  html.js [data-reveal]{clip-path:none}
  *,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}
}

/* Menu mobile ouvert : aucun filtre/transform sur la nav, sinon le menu fixe reste enfermé dans la barre */
.nav.is-open{backdrop-filter:none!important;-webkit-backdrop-filter:none!important;transform:none!important}
