/* Mascotte+ : feuille de style unique. Charte reprise de l'ancien site (bleu #124dab, rose #e5367d, police Bilo).
   ⛔ Thème clair uniquement (règle du Groupe) : pas de prefers-color-scheme. */

@font-face { font-family: "Bilo"; font-weight: 400; font-style: normal; font-display: swap; src: url("fonts/bilo-regular.woff") format("woff"); }
@font-face { font-family: "Bilo"; font-weight: 800; font-style: normal; font-display: swap; src: url("fonts/bilo-extrabold.woff") format("woff"); }

:root {
  color-scheme: only light;
  --blue: #124dab;
  --blue-d: #0b3784;
  --sky: #2bb6ff;
  --cyan: #40c9ff;
  --pink: #e5367d;
  --pink-d: #c8216a;
  --navy: #1c2448;
  --night: #121833;
  --ink: #1c2448;
  --muted: #5d6685;
  --paper: #f3f6fc;
  --line: #e1e7f3;
  --white: #fff;
  --r-xl: 48px;
  --r-lg: 32px;
  --r: 22px;
  --r-sm: 14px;
  --font: "Bilo", "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --out: cubic-bezier(.16, 1, .3, 1);
  --pop: cubic-bezier(.34, 1.56, .64, 1);
  --gut: clamp(16px, 4vw, 40px);
  --hd: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--hd) + 12px); }
body { margin: 0; background: var(--white); color: var(--ink); font: 400 17px/1.6 var(--font); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 800; line-height: 1.1; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
strong, b { font-weight: 800; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--white); color: var(--blue); padding: 10px 16px; border-radius: 10px; font-weight: 800; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: var(--gut); }
.wrap--narrow { max-width: 860px; }

/* ------------------------------------------------------------------ Typographie */
.h1 { font-size: clamp(2.3rem, 5.4vw, 4.4rem); line-height: 1; letter-spacing: -.01em; text-transform: uppercase; }
.h1--dark { color: var(--blue); margin-bottom: .5em; }
.h2 { font-size: clamp(1.85rem, 3.6vw, 3rem); line-height: 1.04; letter-spacing: -.01em; text-transform: uppercase; color: var(--blue); }
.h2--light { color: var(--white); }
.h3 { font-size: clamp(1.25rem, 1.8vw, 1.5rem); color: var(--navy); }
.h4 { font-size: 1.12rem; color: var(--navy); }
.eyebrow { display: inline-block; margin-bottom: 14px; color: var(--pink); font-weight: 800; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow--light { color: #ffd2e4; }
.lead { font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--muted); max-width: 62ch; }
.lead--light { color: rgba(255, 255, 255, .82); }

/* ------------------------------------------------------------------ Boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55em; padding: .95em 1.55em; border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 800; font-size: .98rem; line-height: 1.1; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .25s var(--ease), background-color .25s, color .25s, box-shadow .25s, border-color .25s; }
.btn:hover { transform: translateY(-3px); }
.btn:active { transform: translateY(0) scale(.96); transition-duration: .08s; }
.btn .ico { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover .ico { transform: translateX(3px); }
.btn-pink { background: var(--pink); color: var(--white); box-shadow: 0 12px 26px -12px rgba(229, 54, 125, .8); }
.btn-pink:hover { background: var(--pink-d); box-shadow: 0 18px 30px -12px rgba(229, 54, 125, .9); }
.btn-ghost { border-color: rgba(255, 255, 255, .55); color: var(--white); background: rgba(255, 255, 255, .06); }
.btn-ghost:hover { background: rgba(255, 255, 255, .16); border-color: var(--white); }
.btn-ghost .ico-play { width: 14px; height: 14px; }
.btn-ghost:hover .ico-play { transform: none; }
.btn-white { background: var(--white); color: var(--blue); }
.btn-white:hover { background: #eaf1ff; }
.btn-line { border-color: var(--blue); color: var(--blue); background: transparent; }
.btn-line:hover { background: var(--blue); color: var(--white); }

/* Animations (MP4 sur fond blanc) : « multiply » fait disparaître le blanc sur les fonds clairs. */
video.anim { height: auto; mix-blend-mode: multiply; background: transparent; filter: brightness(1.03); }

/* ------------------------------------------------------------------ Logo (mot-symbole recoloré par masque) */
.wordmark { display: block; width: 172px; aspect-ratio: 9.48; background-color: currentColor;
  -webkit-mask: url("img/brand/wordmark.webp") center / contain no-repeat; mask: url("img/brand/wordmark.webp") center / contain no-repeat; }

/* ------------------------------------------------------------------ En-tête */
.hd { position: fixed; inset: 0 0 auto; z-index: 50; color: var(--white); transition: background-color .3s, box-shadow .3s, color .3s; }
.hd-in { display: flex; align-items: center; gap: 24px; height: var(--hd); max-width: 1240px; margin-inline: auto; padding-inline: var(--gut); }
.hd-logo { color: inherit; flex: none; }
.hd-nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.hd-link { position: relative; z-index: 0; isolation: isolate; white-space: nowrap; padding: 10px 14px; border-radius: 999px; text-decoration: none; font-weight: 800; font-size: .95rem; }
/* Surlignage rose : se trace de gauche à droite derrière le bas du mot, reste affiché sur la page en cours */
.hd-link::before { content: ""; position: absolute; left: 12px; right: 12px; bottom: 8px; height: 4px; z-index: -1; border-radius: 4px; background: var(--pink); opacity: .9;
  transform: scaleX(0); transform-origin: left center; transition: transform .5s var(--out); }
.hd-link:hover::before, .hd-link:focus-visible::before, .hd-link[aria-current="page"]::before { transform: scaleX(1); }
.hd-link:not(:hover)::before { transform-origin: right center; }
.hd-link[aria-current="page"]:not(:hover)::before { transform-origin: left center; }
.hd-lang { margin: 0 0 0 10px; padding: 6px 10px; border: 1.5px solid currentColor; border-radius: 10px; font-weight: 800; font-size: .78rem; letter-spacing: .08em; text-decoration: none; opacity: .85; }
.hd-lang:hover { opacity: 1; }
.hd-cta { padding: .78em 1.25em; font-size: .92rem; }
.is-solid .hd, .hd.is-scrolled { color: var(--navy); background: rgba(255, 255, 255, .86); -webkit-backdrop-filter: blur(14px) saturate(1.4); backdrop-filter: blur(14px) saturate(1.4); box-shadow: 0 1px 0 rgba(28, 36, 72, .08), 0 10px 30px -18px rgba(28, 36, 72, .35); }
.is-solid .hd .hd-logo, .hd.is-scrolled .hd-logo { color: var(--blue); }
.is-solid .hd .hd-link::before, .hd.is-scrolled .hd-link::before { opacity: .32; }

.burger { display: none; margin-left: auto; width: 46px; height: 46px; border: 0; border-radius: 14px; background: rgba(255, 255, 255, .14); cursor: pointer; position: relative; }
.is-solid .burger, .hd.is-scrolled .burger { background: var(--paper); }
.burger span { position: absolute; left: 13px; right: 13px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .3s var(--ease), top .3s var(--ease); }
.burger span:first-child { top: 18px; }
.burger span:last-child { top: 26px; }
.burger[aria-expanded="true"] span:first-child { top: 22px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 22px; transform: rotate(-45deg); }

@media (max-width: 1140px) {
  .burger { display: block; }
  .hd-nav { position: fixed; inset: var(--hd) 0 auto; flex-direction: column; align-items: stretch; gap: 4px; margin: 0; padding: 18px var(--gut) 28px;
    background: var(--white); color: var(--navy); box-shadow: 0 30px 50px -30px rgba(28, 36, 72, .5);
    opacity: 0; visibility: hidden; transform: translateY(-10px); transition: opacity .25s, transform .25s var(--ease), visibility 0s .25s; }
  .nav-open .hd-nav { opacity: 1; visibility: visible; transform: none; transition: opacity .25s, transform .25s var(--ease); }
  .nav-open .hd { color: var(--navy); background: var(--white); }
  .nav-open .hd .hd-logo { color: var(--blue); }
  .hd-link { align-self: flex-start; width: 100%; padding: 14px 12px; font-size: 1.15rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .hd-link::before, .nav-open .hd .hd-link::before { left: 12px; right: auto; width: 9em; max-width: calc(100% - 24px); bottom: 15px; opacity: .3; }
  .hd-cta { margin-top: 16px; }
  .hd-lang { align-self: flex-start; margin: 14px 0 0; }
}

/* ------------------------------------------------------------------ Bandeau d'ouverture */
.hero { position: relative; overflow: hidden; color: var(--white); padding: calc(var(--hd) + clamp(32px, 6vw, 72px)) 0 clamp(48px, 7vw, 96px);
  border-radius: 0 0 var(--r-xl) var(--r-xl);
  background: radial-gradient(120% 90% at 85% 10%, #2a8dff 0%, rgba(42, 141, 255, 0) 55%), linear-gradient(140deg, var(--blue-d) 0%, var(--blue) 48%, #1d74e6 100%); }
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; animation: drift 18s ease-in-out infinite alternate; }
.b1 { width: 420px; height: 420px; right: -80px; top: -60px; background: var(--cyan); animation: roam-back 56s ease-in-out infinite; }
@keyframes roam-back {
  0%   { transform: translate(0, 0) scale(1); }
  25%  { transform: translate(-16vw, 10vh) scale(1.08); }
  50%  { transform: translate(-32vw, 4vh) scale(.95); }
  75%  { transform: translate(-21vw, 20vh) scale(1.05); }
  100% { transform: translate(0, 0) scale(1); }
}
.b2 { width: 380px; height: 380px; left: -120px; bottom: -160px; background: var(--pink); opacity: .42; animation: roam 48s ease-in-out infinite; }
@keyframes roam {
  0%   { transform: translate(0, 0) scale(1); }
  20%  { transform: translate(18vw, -12vh) scale(1.1); }
  40%  { transform: translate(36vw, -5vh) scale(.95); }
  60%  { transform: translate(28vw, -24vh) scale(1.08); }
  80%  { transform: translate(9vw, -20vh) scale(.97); }
  100% { transform: translate(0, 0) scale(1); }
}
.b3 { width: 220px; height: 220px; left: 42%; top: 30%; background: #7f5cff; opacity: .25; animation-duration: 26s; }
@keyframes drift { to { transform: translate3d(40px, 30px, 0) scale(1.12); } }
.hero-in { position: relative; display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(24px, 4vw, 64px); align-items: center; }
.hero-lead { font-size: clamp(1.08rem, 1.5vw, 1.28rem); color: rgba(255, 255, 255, .88); max-width: 34em; margin: 22px 0 30px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-art { display: grid; place-items: center; }
.hero-cut { width: 100%; max-height: min(560px, 62vh); object-fit: contain; filter: drop-shadow(0 30px 40px rgba(6, 22, 70, .45)); }
.hero-photo { width: min(100%, 460px); aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r-lg); border: 6px solid rgba(255, 255, 255, .9);
  box-shadow: 0 40px 60px -30px rgba(6, 22, 70, .7); transform: rotate(2.5deg); }
@keyframes rise { from { opacity: 0; transform: translateY(44px); } to { opacity: 1; transform: none; } }
@keyframes pop-in { from { opacity: 0; transform: translateY(90px) scale(.88); } to { opacity: 1; transform: none; } }
@keyframes drop { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }
.js .hero-txt > * { animation: rise .9s var(--out) both; }
.js .hero-txt > :nth-child(2) { animation-delay: .08s; }
.js .hero-txt > :nth-child(3) { animation-delay: .16s; }
.js .hero-txt > :nth-child(4) { animation-delay: .24s; }
.js .hero-txt > :nth-child(5) { animation-delay: .32s; }
.js .hero-art { animation: pop-in 1.1s var(--out) .2s both; }
.hero--ground { padding-bottom: 0; }
.hero--ground .hero-in { align-items: end; }
.hero--ground .hero-txt { align-self: center; padding-bottom: clamp(48px, 7vw, 96px); }
.hero--ground .hero-cut { max-height: min(600px, 72vh); animation: none; transform-origin: 50% 100%; filter: drop-shadow(0 20px 40px rgba(6, 22, 70, .35)); }
/* Personnage du bandeau : miroir, descente et agrandissement se combinent (variables), toujours depuis le bas */
.hero-cut { --sink: 0%; --zoom: 1; --flip: 1; --shift: 0%; --lift: 0%; transform: translate(var(--shift), calc(var(--sink) - var(--lift))) scale(var(--zoom)) scaleX(var(--flip)); transform-origin: 50% 100%; }
/* Personnage remonté : l'image s'arrête aux jambes, on fond le bas dans le bleu pour qu'aucune coupe ne se voie */
.hero-cut--lifted { -webkit-mask-image: linear-gradient(to bottom, #000 88%, transparent); mask-image: linear-gradient(to bottom, #000 88%, transparent); }
.hero .hero-cut--lifted { filter: none; }   /* l'ombre portée, coupée par le masque, dessinait un rectangle */
.hero-cut--flip { --flip: -1; }
.hero-cut--big { --zoom: 1.2; }
/* Personnage en pied : plus grand et descendu, le bas des pieds est coupé par le cadre (il « entre » dans l'image) */
.hero-cut--sink { --sink: 11%; }
.hero--ground .hero-cut--sink { max-height: min(720px, 82vh); }
/* Accueil : la fenêtre du film dépasse du bas du bandeau et donne de petits coups pour sortir */
.hero--film { padding-top: calc(var(--hd) + clamp(20px, 3.5vw, 44px) + 25px); }
.hero--film .hero-txt { padding-bottom: 150px; }
.film-peek { position: absolute; left: var(--gut); bottom: 0; z-index: 2; width: min(380px, 40vw); padding: 0; border: 0; background: none; color: var(--white); text-align: left; cursor: pointer;
  transform: translateY(52%) rotate(-2deg); transform-origin: 50% 100%; transition: transform .6s var(--pop); animation: peek 5s var(--out) 2.4s infinite; }
@keyframes peek { 0%, 70%, 100% { transform: translateY(52%) rotate(-2deg); } 78% { transform: translateY(40%) rotate(-3.5deg); } 87% { transform: translateY(50%) rotate(-1.2deg); } }
.film-peek:hover, .film-peek:focus-visible { animation: none; transform: translateY(14%) rotate(-1deg); }
.film-peek-bar { display: flex; align-items: center; gap: 10px; padding: 11px 14px; border-radius: 16px 16px 0 0; background: #0f1534; font-weight: 800; font-size: .88rem; box-shadow: 0 -18px 44px -18px rgba(0, 0, 0, .6); }
.film-peek-dots { display: flex; gap: 6px; flex: none; }
.film-peek-dots i { width: 10px; height: 10px; border-radius: 50%; background: #ff5f57; }
.film-peek-dots i:nth-child(2) { background: #febc2e; }
.film-peek-dots i:nth-child(3) { background: #28c840; }
.film-peek-t { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.film-peek-screen { position: relative; display: block; overflow: hidden; background: #000; }
[data-count] { font-variant-numeric: tabular-nums; }
.film-peek-screen img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .7s var(--out); }
.film-peek:hover .film-peek-screen img { transform: scale(1.04); }
.film-peek-play { position: absolute; left: 50%; top: 18%; display: grid; place-items: center; width: 56px; height: 56px; margin-left: -28px; border-radius: 50%; background: var(--pink); color: var(--white); animation: pulse 2s ease-out infinite; }
.film-peek-play .ico { width: 24px; height: 24px; max-width: none; margin-left: 3px; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(229, 54, 125, .65); } 100% { box-shadow: 0 0 0 20px rgba(229, 54, 125, 0); } }
@media (max-width: 860px) {
  .hero-in { grid-template-columns: 1fr; text-align: center; }
  .hero-txt { order: 2; }
  .hero-lead { margin-inline: auto; }
  .hero-cta { justify-content: center; }
  .hero-cut { max-height: 260px; }
  .hero-in { gap: 8px; }
  .hero--ground .hero-txt { order: 0; padding-bottom: 8px; }
  .film-peek { position: relative; left: auto; bottom: auto; width: 100%; max-width: 420px; margin: 18px auto 6px; transform: none; animation: none; }
  .film-peek:hover, .film-peek:focus-visible { transform: none; }
  .film-peek-screen { border-radius: 0 0 16px 16px; overflow: hidden; }
  .film-peek-play { top: 50%; margin-top: -28px; }
  .hero--ground .hero-cut { max-height: 300px; }
  .hero--ground .hero-cut--sink { max-height: 380px; }
  .hero-photo { width: min(78%, 360px); }
}

/* ------------------------------------------------------------------ Logos clients */
.logos { padding: 18px 0 40px; }
.logos-t { text-align: center; color: var(--muted); font-weight: 800; font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 20px; opacity: .8; }
.marquee { overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: clamp(28px, 3.6vw, 52px); width: max-content; animation: marquee 48s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(calc(-50% - clamp(14px, 1.8vw, 26px))); } }
.logo { display: flex; align-items: center; height: 48px; }
.logo img { width: auto; height: 100%; max-width: 125px; max-height: 38px; object-fit: contain; filter: grayscale(1) contrast(.9); opacity: .55; transition: filter .4s, opacity .4s, transform .4s var(--pop); }
.logo:hover img { filter: none; opacity: 1; transform: scale(1.1); }

/* ------------------------------------------------------------------ Sections */
.sec { padding-block: clamp(64px, 9vw, 120px); }
.sec-head { text-align: center; max-width: 820px; margin: 0 auto clamp(36px, 5vw, 60px); }
.sec-head .lead { margin: 18px auto 0; }
.sec-head--left { text-align: left; margin-left: 0; }
.sec-head--left .lead { margin-left: 0; }
.sec-head--light .h2 { color: var(--white); }
.sec-head--light .lead { color: rgba(255, 255, 255, .78); }
.sec-head--light .eyebrow { color: #ff8fbd; }
.sec-more { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 40px; }

/* Lignes de produits (accueil) */
.lines { background: var(--paper); }
.lines-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 28px); }
.line a { display: flex; flex-direction: column; height: 100%; border-radius: var(--r-lg); overflow: hidden; background: var(--white); text-decoration: none;
  box-shadow: 0 1px 0 var(--line), 0 24px 40px -32px rgba(28, 36, 72, .45); transition: transform .35s var(--ease), box-shadow .35s; }
.line a:hover { transform: translateY(-12px); box-shadow: 0 1px 0 var(--line), 0 44px 60px -30px rgba(18, 77, 171, .55); }
.line-art { position: relative; display: grid; place-items: center; aspect-ratio: 4 / 3; overflow: hidden; }
.line--digital .line-art { background: linear-gradient(150deg, #e6f3ff, #bfe4ff); }
.line--costumes .line-art { background: linear-gradient(150deg, #fff0f6, #ffd0e3); }
.line--plush .line-art { background: #f1e9e1; }
.line-art img { width: 82%; height: 92%; object-fit: contain; transition: transform .6s var(--out); }
.line--plush .line-art img { width: 100%; height: 100%; object-fit: cover; }
.line a:hover .line-art img { transform: scale(1.1); }
.line-txt { display: flex; flex-direction: column; gap: 8px; padding: 26px 28px 30px; flex: 1; }
.line-p { color: var(--muted); }
.line-go { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 10px; color: var(--pink); font-weight: 800; }
.line-go .ico { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.line a:hover .line-go .ico { transform: translateX(8px); }

/* Chiffre 50 % */
.bigstat-in { display: grid; grid-template-columns: auto 1fr; gap: clamp(24px, 5vw, 72px); align-items: center; max-width: 1040px; }
.bigstat-n { margin: 0; font-weight: 800; font-size: clamp(5rem, 15vw, 11.5rem); line-height: .85; letter-spacing: -.04em;
  background: linear-gradient(120deg, var(--blue), var(--sky)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.bigstat-t { font-size: clamp(1.4rem, 2.4vw, 2rem); font-weight: 800; color: var(--navy); line-height: 1.2; }
.bigstat-vs { color: var(--pink); font-weight: 800; font-size: 1.15rem; }
.bigstat-note { color: var(--muted); font-size: .82rem; max-width: 60ch; }

/* Bénéfices (animations 2D) */
.benefits, .why { background: var(--paper); }
.ben-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 28px); }
.ben-grid--4 { grid-template-columns: repeat(4, 1fr); }
.ben { background: var(--white); border-radius: var(--r-lg); padding: 24px 26px 30px; box-shadow: 0 1px 0 var(--line); transition: transform .45s var(--out), box-shadow .45s; }
.ben:hover { transform: translateY(-10px); box-shadow: 0 1px 0 var(--line), 0 36px 50px -34px rgba(18, 77, 171, .5); }
.ben-art { display: flex; align-items: center; justify-content: center; height: 190px; margin-bottom: 14px; }
.ben-art img { max-height: 100%; width: auto; object-fit: contain; }
.ben-art video { width: 100%; height: 100%; object-fit: contain; }
.ben:first-child { overflow: hidden; }
.ben:first-child .ben-art video { transform: scale(1.2); transform-origin: 50% 100%; }
.benefits .ben:first-child .ben-art video { transform: scale(1.38); }
.ben-n { display: inline-block; color: var(--pink); font-weight: 800; font-size: .9rem; letter-spacing: .06em; margin-bottom: 6px; }
.ben .h3 { margin-bottom: 10px; }
.ben p { color: var(--muted); font-size: .98rem; }

/* Bandeau « plus de 200 mascottes » */
.count { margin: 0 clamp(8px, 2vw, 24px); border-radius: var(--r-xl); color: var(--white); overflow: hidden;
  background: radial-gradient(90% 120% at 90% 50%, #2aa6ff 0%, rgba(42, 166, 255, 0) 60%), linear-gradient(140deg, var(--blue-d), var(--blue)); }
.count-in { display: grid; grid-template-columns: 1.1fr .9fr; gap: 32px; align-items: end; padding-top: clamp(48px, 7vw, 80px); }
.count-txt { align-self: center; padding-bottom: clamp(48px, 7vw, 80px); }
.count-txt .lead { margin: 16px 0 28px; }
.count-art img { display: block; width: auto; max-height: 540px; margin-inline: auto; transform: translateY(11%); filter: drop-shadow(0 30px 40px rgba(6, 22, 70, .45)); }

/* Portfolio (animations) */
.pf { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(10px, 1.6vw, 20px); }
.pf-item { display: flex; align-items: center; justify-content: center; aspect-ratio: 1; border-radius: var(--r); background: var(--paper); overflow: hidden; transition: background-color .3s, transform .35s var(--ease); }
.pf-item { transition: background-color .3s, transform .45s var(--pop); }
.pf-item:hover { background: #e3edff; transform: translateY(-8px) scale(1.04); }
.pf-item img { width: 86%; height: 86%; object-fit: contain; }
.pf-item video { width: 100%; height: 100%; object-fit: cover; }

/* Équipe (accueil) */
.team-teaser { background: var(--paper); }
.tt-head { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 4vw, 64px); align-items: end; margin-bottom: clamp(28px, 4vw, 48px); }
.tt-head .lead { margin: 0; }
.tt-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: clamp(10px, 1.4vw, 18px); }
.tt-photo { position: relative; display: block; aspect-ratio: 4 / 5; border-radius: var(--r); overflow: hidden; background: var(--blue); color: var(--white); text-decoration: none;
  transition: transform .6s var(--pop), box-shadow .45s; will-change: transform; backface-visibility: hidden; outline: 1px solid transparent; }
.tt-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--out); }
.tt-photo:hover { transform: translateY(-10px) rotate(var(--tilt, -3deg)); box-shadow: 0 36px 50px -30px rgba(18, 77, 171, .6); }
.tt-photo:hover img { transform: scale(1.08); }
.tt-name { position: absolute; inset: auto 0 0; display: flex; flex-direction: column; padding: 40px 14px 12px; line-height: 1.25; background: linear-gradient(rgba(10, 14, 35, 0), rgba(10, 14, 35, .82)); }
.tt-name strong { font-size: .95rem; }
.tt-name span { font-size: .78rem; opacity: .82; }

/* Services digitaux */
.svc-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: clamp(12px, 1.6vw, 22px); }
.svc { text-align: center; padding: 20px 16px 26px; border-radius: var(--r-lg); border: 1px solid var(--line); transition: border-color .3s, transform .35s var(--ease); }
.svc { transition: border-color .3s, transform .45s var(--out), box-shadow .45s; }
.svc:hover { border-color: var(--blue); transform: translateY(-10px); box-shadow: 0 30px 44px -32px rgba(18, 77, 171, .55); }
.svc-art { display: flex; align-items: center; justify-content: center; height: 150px; margin-bottom: 10px; }
.svc-art img { max-height: 100%; width: auto; }
.svc-art video { width: 100%; height: 100%; object-fit: contain; }
.svc .h3 { font-size: 1.15rem; margin-bottom: 6px; }
.svc p { color: var(--muted); font-size: .95rem; }

/* Bande sombre */
.band { margin: 0 clamp(8px, 2vw, 24px); border-radius: var(--r-xl); color: var(--white); background: radial-gradient(80% 90% at 0% 0%, #23366f 0%, rgba(35, 54, 111, 0) 60%), var(--navy); }

/* Cartes à icône */
.icards { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(12px, 1.6vw, 22px); }
.icards--2 { grid-template-columns: repeat(2, 1fr); }
.icard { padding: 26px; border-radius: var(--r); background: var(--white); border: 1px solid var(--line); transition: transform .35s var(--ease), box-shadow .35s; }
.icard { transition: transform .45s var(--out), box-shadow .45s; }
.icard:hover { transform: translateY(-10px); box-shadow: 0 34px 50px -30px rgba(18, 77, 171, .55); }
.icard-ico { transition: transform .45s var(--pop); }
.icard:hover .icard-ico, .tstep:hover .icard-ico { transform: scale(1.18) translateY(-3px); }
.icard-ico { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; margin-bottom: 18px; color: var(--white); background: linear-gradient(140deg, var(--blue), var(--sky)); }
.icard-ico .ico { width: 26px; height: 26px; }
.icard .h4 { margin-bottom: 8px; }
.icard p { color: var(--muted); font-size: .96rem; }
.icards--dark .icard { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .12); }
.icards--dark .h4 { color: var(--white); }
.icards--dark p { color: rgba(255, 255, 255, .72); }

/* Comparateur avant / après */
.projects, .pairs { background: var(--white); }
.cmp-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(16px, 2.4vw, 32px); }
.cmp-grid--3 { grid-template-columns: repeat(3, 1fr); }
.cmp { margin: 0; }
.cmp-box { position: relative; aspect-ratio: 4 / 3; border-radius: var(--r-lg); overflow: hidden; background: var(--white); box-shadow: 0 0 0 1px var(--line), 0 24px 40px -32px rgba(28, 36, 72, .5); user-select: none; }
.cmp-box img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cmp-a { clip-path: inset(0 calc(100% - var(--pos)) 0 0); background: var(--white); }
.cmp-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px; background: var(--white); box-shadow: 0 0 12px rgba(0, 0, 0, .3); pointer-events: none; }
.cmp-handle .ico { position: absolute; top: 50%; left: 50%; width: 44px; height: 44px; max-width: none; padding: 10px; margin: -22px 0 0 -22px; border-radius: 50%; background: var(--pink); color: var(--white); box-shadow: 0 8px 20px -6px rgba(229, 54, 125, .8); }
.cmp-tag { position: absolute; top: 14px; padding: 6px 12px; border-radius: 999px; font-size: .78rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; background: rgba(255, 255, 255, .92); color: var(--navy); pointer-events: none; }
.cmp-tag-a { left: 14px; }
.cmp-tag-b { right: 14px; background: var(--blue); color: var(--white); }
.cmp-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; -webkit-appearance: none; appearance: none; }
.cmp-box:has(.cmp-range:focus-visible) { outline: 3px solid var(--cyan); outline-offset: 3px; }
.cmp figcaption { margin-top: 12px; font-weight: 800; color: var(--navy); }

/* Étapes costume (4 vignettes reliées) */
.steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 2vw, 28px); counter-reset: s; }
.step { position: relative; text-align: center; }
.step-art { display: block; aspect-ratio: 1; border-radius: var(--r-lg); overflow: hidden; background: var(--paper); margin-bottom: -22px; }
.step-art img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--out); }
.step:hover .step-art img { transform: scale(1.1); }
.step-n { transition: transform .4s var(--pop); }
.step:hover .step-n { transform: scale(1.2); }
.step-n { position: relative; display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--pink); color: var(--white); font-weight: 800; border: 4px solid var(--white); margin-bottom: 12px; }
.step p { font-weight: 800; color: var(--navy); font-size: 1.05rem; line-height: 1.35; max-width: 18em; margin-inline: auto; }

/* Conçues pour durer */
.built { background: var(--paper); }
.built-in { display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.built-art img { margin-inline: auto; max-height: 560px; width: auto; }
.built-art video { display: block; width: 100%; max-width: 440px; height: auto; margin-inline: auto; }
.built-art img { filter: drop-shadow(0 30px 40px rgba(28, 36, 72, .25)); }
.built-art--photo img { width: 100%; max-height: none; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r-lg); filter: none; box-shadow: 0 40px 60px -40px rgba(28, 36, 72, .6); }

/* Onglets */
.tabs-list { display: flex; justify-content: center; gap: 6px; width: max-content; max-width: 100%; margin: 0 auto 32px; padding: 6px; border-radius: 999px; background: var(--paper); }
.tabs-list button { border: 0; padding: 10px 22px; border-radius: 999px; background: none; font-weight: 800; cursor: pointer; color: var(--muted); transition: background-color .25s, color .25s; }
.tabs-list button[aria-selected="true"] { background: var(--white); color: var(--blue); box-shadow: 0 6px 16px -8px rgba(28, 36, 72, .35); }
.tabs-n { display: inline-grid; place-items: center; min-width: 22px; height: 22px; margin-left: 4px; padding: 0 6px; border-radius: 999px; background: var(--pink); color: var(--white); font-size: .75rem; }

/* Galeries */
.gal { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(8px, 1.4vw, 16px); }
.gal--3 { grid-template-columns: repeat(3, 1fr); }
.gal-item a { position: relative; display: block; aspect-ratio: 1; border-radius: var(--r); overflow: hidden; background: var(--paper); }
.gal--3 .gal-item a { aspect-ratio: 4 / 3; }
.gal-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--out), clip-path 1.1s var(--out) calc(var(--d, 0ms) + 100ms); }
.gal-item a:hover img { transform: scale(1.12); }
.gal--video { grid-template-columns: repeat(3, 1fr); }
.gal--video .gal-item a { aspect-ratio: 16 / 10; }
.gal-play { position: absolute; top: 50%; left: 50%; display: grid; place-items: center; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%;
  background: rgba(255, 255, 255, .92); color: var(--pink); box-shadow: 0 10px 30px -8px rgba(0, 0, 0, .45); transition: transform .3s var(--ease); }
.gal-play .ico { width: 26px; height: 26px; margin-left: 4px; }
.gal-play { transition: transform .4s var(--pop); }
.gal-item a:hover .gal-play { transform: scale(1.22); }
.gal-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 16px 12px; color: var(--white); font-weight: 800; background: linear-gradient(transparent, rgba(10, 14, 35, .7)); }
.gal--masonry { display: block; columns: 4 220px; column-gap: clamp(8px, 1.4vw, 16px); }
.gal--masonry .gal-item { break-inside: avoid; margin-bottom: clamp(8px, 1.4vw, 16px); }
.gal--masonry .gal-item a { aspect-ratio: auto; }
.gal--masonry .gal-item img { height: auto; }

/* Processus en zigzag */
.process { background: var(--paper); }
.proc { display: grid; gap: clamp(40px, 6vw, 88px); }
.proc-step { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: center; }
.proc-step:nth-child(even) .proc-img { order: 2; }
.proc-img { aspect-ratio: 1; border-radius: var(--r-lg); overflow: hidden; background: var(--white); max-width: 480px; width: 100%; justify-self: center; box-shadow: 0 30px 50px -40px rgba(28, 36, 72, .6); }
.proc-img img { width: 100%; height: 100%; object-fit: cover; }
.why ~ .process .proc-img img, .services ~ .process .proc-img img { object-fit: contain; padding: 6%; }
.proc-n { display: block; font-weight: 800; font-size: clamp(3.4rem, 6vw, 5rem); line-height: 1; color: transparent; -webkit-text-stroke: 2px var(--blue); margin-bottom: 8px; }
.proc-txt .h3 { margin-bottom: 14px; font-size: clamp(1.4rem, 2.2vw, 1.9rem); }
.proc-txt p { color: var(--muted); }

/* Étapes peluche */
.tsteps { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(12px, 1.6vw, 22px); }
.tstep { padding: 26px; border-radius: var(--r); background: var(--paper); }
.tstep-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 4px; }
.tstep-top .icard-ico { margin-bottom: 14px; }
.tstep-n { font-weight: 800; font-size: 2.2rem; color: transparent; -webkit-text-stroke: 1.5px var(--blue); }
.tstep .h4 { margin-bottom: 8px; }
.tstep p { color: var(--muted); font-size: .96rem; }

/* Tailles */
.sizes { background: var(--paper); }
.size-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(12px, 1.6vw, 22px); }
.size { padding: 26px 24px 30px; border-radius: var(--r-lg); background: var(--white); text-align: center; }
.size-art { display: flex; align-items: flex-end; justify-content: center; height: 150px; margin-bottom: 16px; }
.teddy { width: calc(120px * var(--s)); fill: #c99a6e; transition: transform .5s var(--pop); transform-origin: 50% 100%; }
.teddy-snout { fill: #f1dcc6; }
.size:hover .teddy { transform: scale(1.16) translateY(-6px); }
.size-dim { color: var(--pink); font-weight: 800; margin: 4px 0 10px; }
.size p:last-child { color: var(--muted); font-size: .95rem; }

/* Chiffres */
.stats { margin: 0 clamp(8px, 2vw, 24px); padding-block: clamp(56px, 7vw, 88px); border-radius: var(--r-xl); color: var(--white);
  background: radial-gradient(70% 120% at 100% 0%, #2aa6ff 0%, rgba(42, 166, 255, 0) 55%), linear-gradient(140deg, var(--blue-d), var(--blue)); }
.stats-head { text-align: center; max-width: 820px; margin: 0 auto 40px; }
.stats-head .lead { margin: 14px auto 0; }
.stats-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; text-align: center; }
.stat-n { display: block; font-weight: 800; font-size: clamp(3.4rem, 7vw, 5.6rem); line-height: 1; letter-spacing: -.03em; transition: transform .5s var(--pop); }
.stat:hover .stat-n { transform: scale(1.1); }
.stat-plus { display: inline-block; color: #ff8fbd; transition: transform .6s var(--pop), opacity .3s; }
.js .stat-plus { opacity: 0; transform: scale(0) translateY(12px); }
.js .stat.is-done .stat-plus { opacity: 1; transform: none; }
.stat-bar { display: block; width: 56px; height: 4px; margin: 18px auto 0; border-radius: 2px; background: var(--pink); transition: transform .9s var(--out) .15s, width .45s var(--out); }
.js .stat-bar { transform: scaleX(0); }
.js .stat.is-in .stat-bar { transform: none; }
.stat:hover .stat-bar { width: 104px; }
.stat-l { display: block; max-width: 18em; margin: 10px auto 0; color: rgba(255, 255, 255, .82); }
.stats-note { margin-top: 36px; text-align: center; color: rgba(255, 255, 255, .7); }

/* Avis */
.testi-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: clamp(14px, 2vw, 24px); }
.testi-card { position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 22px; padding: 34px 30px 28px; border-radius: var(--r-lg); background: var(--paper); transition: transform .45s var(--out), background-color .3s, box-shadow .45s; }
.testi-card:hover { transform: translateY(-10px); background: var(--white); box-shadow: 0 0 0 1px var(--line), 0 36px 50px -34px rgba(18, 77, 171, .5); }
.testi-card::before { content: "“"; position: absolute; top: 4px; right: 22px; font-size: 6rem; line-height: 1; font-weight: 800; color: var(--pink); opacity: .22; }
.testi-card blockquote { margin: 0; font-size: 1.02rem; color: var(--navy); }
.testi-who { display: flex; align-items: center; gap: 14px; }
.testi-av { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; background: var(--white); flex: none; mix-blend-mode: normal; }
.testi-who p { display: flex; flex-direction: column; line-height: 1.3; }
.testi-who span { color: var(--muted); font-size: .88rem; }

/* FAQ (une seule icône, le marqueur natif est masqué) */
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 22px 4px; cursor: pointer; list-style: none; font-weight: 800; font-size: 1.1rem; color: var(--navy); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::marker { content: ""; }
.faq-ico { flex: none; width: 34px; height: 34px; padding: 7px; border-radius: 50%; background: var(--paper); color: var(--blue); transition: transform .3s var(--ease), background-color .3s, color .3s; }
.faq-item[open] .faq-ico { transform: rotate(45deg); background: var(--blue); color: var(--white); }
.faq-a { padding: 0 4px 24px; color: var(--muted); max-width: 70ch; }
.faq-item[open] .faq-a { animation: drop .45s var(--out); }

/* Le studio */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 80px); }
.about-block .h2 { margin-bottom: 22px; }
.about-block .h3 { margin: 0 0 12px; color: var(--blue); }
.about-block p { color: var(--muted); }
.about-block p + .h3 { margin-top: 32px; }
.workshop { background: var(--paper); }
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 2vw, 28px); }
.member-photo { display: block; aspect-ratio: 1; border-radius: var(--r-lg); overflow: hidden; background: var(--blue); margin-bottom: 14px;
  transition: transform .6s var(--pop), box-shadow .45s; will-change: transform; backface-visibility: hidden; outline: 1px solid transparent; }
.member-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--out); }
.member:hover .member-photo { transform: translateY(-10px) rotate(var(--tilt, -3deg)); box-shadow: 0 36px 50px -30px rgba(18, 77, 171, .6); }
.member:hover .member-photo img { transform: scale(1.1); }
.member p { color: var(--muted); }

/* Contact */
.contact { padding: clamp(64px, 8vw, 104px) 0 clamp(48px, 6vw, 80px); color: var(--white); background: var(--navy); border-radius: var(--r-xl) var(--r-xl) 0 0; }
.stats + .contact { margin-top: clamp(64px, 9vw, 120px); }
.contact-in { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.contact-side .lead { margin: 16px 0 30px; }
.contact-person { display: flex; align-items: center; gap: 16px; margin-bottom: 22px; }
.contact-av { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; border: 3px solid rgba(255, 255, 255, .25); }
.contact-person p { display: flex; flex-direction: column; line-height: 1.35; }
.contact-person span { color: rgba(255, 255, 255, .7); font-size: .92rem; }
.contact-links { display: grid; gap: 10px; }
.contact-links a { display: inline-flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: var(--r-sm); background: rgba(255, 255, 255, .06); text-decoration: none; font-weight: 800; transition: background-color .25s; word-break: break-word; }
.contact-links a:hover { background: rgba(255, 255, 255, .14); }
.contact-links .ico { width: 20px; height: 20px; color: var(--cyan); flex: none; }
.form { padding: clamp(24px, 3vw, 40px); border-radius: var(--r-lg); background: var(--white); color: var(--ink); box-shadow: 0 40px 70px -40px rgba(0, 0, 0, .6); }
.form-msg { padding: 12px 16px; margin-bottom: 18px; border-radius: var(--r-sm); background: #fde8f0; color: #9b1450; font-weight: 800; }
.form-choices { border: 0; padding: 0; margin: 0 0 18px; display: flex; flex-wrap: wrap; gap: 8px; }
.form-choices legend { padding: 0; margin-bottom: 10px; font-weight: 800; font-size: .9rem; }
.chip input { position: absolute; opacity: 0; }
.chip span { display: inline-block; padding: 9px 15px; border-radius: 999px; border: 1.5px solid var(--line); font-size: .9rem; font-weight: 800; color: var(--muted); cursor: pointer; transition: all .2s; }
.chip input:checked + span { border-color: var(--blue); background: var(--blue); color: var(--white); }
.chip input:focus-visible + span { outline: 3px solid var(--cyan); outline-offset: 2px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: block; margin-bottom: 14px; }
.field > span { display: block; margin-bottom: 6px; font-weight: 800; font-size: .9rem; }
.field em { font-style: normal; font-weight: 400; color: var(--muted); }
.field input, .field textarea { width: 100%; padding: 13px 15px; border: 1.5px solid var(--line); border-radius: var(--r-sm); background: var(--paper); font: inherit; color: var(--ink); transition: border-color .2s, box-shadow .2s, background-color .2s; }
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue); background: var(--white); box-shadow: 0 0 0 4px rgba(18, 77, 171, .14); }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-top: 6px; }
.form-note { color: var(--muted); font-size: .85rem; margin: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.offices { margin-top: clamp(56px, 7vw, 88px); }
.offices-t { font-size: 1rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .6); margin-bottom: 20px; }
.offices-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(12px, 2vw, 24px); }
.office { position: relative; border-radius: var(--r); overflow: hidden; aspect-ratio: 16 / 10;
  transition: transform .6s var(--pop), box-shadow .45s; will-change: transform; backface-visibility: hidden; outline: 1px solid transparent; }
.office:hover { transform: translateY(-10px) rotate(var(--tilt, -3deg)); box-shadow: 0 40px 60px -30px rgba(0, 0, 0, .6); }
.office img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--out); }
.office:hover img { transform: scale(1.12); }
.office-txt { position: absolute; inset: auto 0 0; padding: 56px 20px 16px; background: linear-gradient(rgba(10, 14, 35, 0), rgba(10, 14, 35, .62) 40%, rgba(10, 14, 35, .92)); text-shadow: 0 1px 8px rgba(0, 0, 0, .35); }
.office h3 { font-size: 1.3rem; text-transform: uppercase; }
.office p { font-size: .88rem; color: rgba(255, 255, 255, .82); line-height: 1.45; margin-top: 4px; }

/* Pied de page */
.ft { background: var(--night); color: rgba(255, 255, 255, .7); padding: 56px 0 28px; font-size: .95rem; }
.ft-in { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.ft-logo { display: inline-block; color: var(--white); margin-bottom: 14px; }
.ft-h { color: var(--white); font-weight: 800; margin-bottom: 12px; }
.ft ul { display: grid; gap: 8px; }
.ft a { text-decoration: none; transition: color .2s; }
.ft-col a, .ft-bot a { position: relative; display: inline-block; }
.ft-col a::after, .ft-bot a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 3px; border-radius: 2px; background: var(--pink);
  transform: scaleX(0); transform-origin: right center; transition: transform .45s var(--out); }
.ft-col a:hover::after, .ft-bot a:hover::after, .ft-col a:focus-visible::after, .ft-bot a:focus-visible::after { transform: scaleX(1); transform-origin: left center; }
.ft a:hover { color: var(--white); }
.ft-bot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .85rem; }

/* Pages de texte */
.page-text { padding-top: calc(var(--hd) + 56px); }
.page-text .h3 { margin: 36px 0 10px; color: var(--blue); }
.page-text p { color: var(--muted); }
.thanks { padding-top: calc(var(--hd) + 56px); min-height: 70vh; }
.thanks-in { display: grid; grid-template-columns: .7fr 1.3fr; gap: 48px; align-items: center; max-width: 980px; }
.thanks-in img { width: auto; max-height: 360px; margin-inline: auto; }
.thanks .lead { margin: 0 0 28px; }

/* Visionneuse */
.lb { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: transparent; color: var(--white); }
.lb[open] { display: grid; place-items: center; }
.lb::backdrop { background: rgba(8, 11, 28, .93); }
.lb-stage { display: grid; place-items: center; width: min(92vw, 1280px); height: 86vh; }
.lb[open] .lb-stage { animation: pop-in .55s var(--out); }
.lb-stage img, .lb-stage video { max-width: 100%; max-height: 86vh; border-radius: 16px; background: #000; }
.lb-stage iframe { width: min(92vw, 1280px); aspect-ratio: 16 / 9; height: auto; max-height: 86vh; border: 0; border-radius: 16px; background: #000; }
.lb-close, .lb-nav { position: fixed; display: grid; place-items: center; width: 52px; height: 52px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .12); color: var(--white); cursor: pointer; transition: background-color .2s; }
.lb-close:hover, .lb-nav:hover { background: rgba(255, 255, 255, .24); }
.lb-close { top: 18px; right: 18px; }
.lb-nav { top: 50%; margin-top: -26px; }
.lb-prev { left: 18px; }
.lb-next { right: 18px; }
.lb-close .ico, .lb-nav .ico { width: 24px; height: 24px; }
.lb.is-single .lb-nav { display: none; }

/* Onglets « appeler » / « écrire », collés au bord droit de l'écran */
.fab { position: fixed; right: 0; top: 30vh; z-index: 55; display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.fab-btn { display: flex; align-items: center; height: 54px; padding: 0 20px 0 22px; border-radius: 27px 0 0 27px; background: var(--pink); color: var(--white); text-decoration: none; font-weight: 800; font-size: .95rem; white-space: nowrap;
  box-shadow: 0 10px 24px -10px rgba(229, 54, 125, .85); transform: translateX(8px); transition: transform .4s var(--pop), background-color .2s; }
.fab-btn:hover, .fab-btn:focus-visible { transform: none; background: var(--pink-d); }
.fab-btn .ico { flex: none; width: 24px; height: 24px; stroke-width: 2; }
.fab-label { max-width: 0; overflow: hidden; opacity: 0; transition: max-width .45s var(--out), margin .45s var(--out), opacity .25s; }
.fab-btn:hover .fab-label, .fab-btn:focus-visible .fab-label { max-width: 170px; margin-right: 12px; opacity: 1; }
@media (max-width: 560px) { .fab-btn { height: 46px; padding: 0 16px 0 18px; } .fab-btn .ico { width: 21px; height: 21px; } }

/* Pastille d'aperçu */
.apercu { position: fixed; right: 14px; bottom: 14px; z-index: 60; margin: 0; padding: 7px 14px; border-radius: 999px; background: var(--navy); color: var(--white); font-size: .78rem; font-weight: 800; box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .5); }

/* ------------------------------------------------------------------ Apparitions au défilement */
.js [data-reveal] { opacity: 0; transform: translateY(64px) scale(.96); transition: opacity .55s ease var(--d, 0ms), transform 1s var(--out) var(--d, 0ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js .gal-item[data-reveal] img, .js .proc-step[data-reveal] .proc-img img { clip-path: inset(100% 0 0 0); }
.js .gal-item[data-reveal].is-in img, .js .proc-step[data-reveal].is-in .proc-img img { clip-path: inset(0); }
.proc-img img { transition: clip-path 1.1s var(--out) .15s, transform .7s var(--out); }
.proc-img { transition: transform .6s var(--pop), box-shadow .45s; will-change: transform; backface-visibility: hidden; outline: 1px solid transparent; }
.proc-img:hover { transform: translateY(-10px) rotate(var(--tilt, -3deg)); box-shadow: 0 44px 60px -36px rgba(18, 77, 171, .6); }
.proc-img:hover img { transform: scale(1.06); }
@property --pos { syntax: "<percentage>"; inherits: true; initial-value: 50%; }
@keyframes cmp-hint { 0% { --pos: 50%; } 35% { --pos: 78%; } 70% { --pos: 24%; } 100% { --pos: 50%; } }
.js .cmp[data-reveal].is-in .cmp-box { animation: cmp-hint 1.6s var(--out) calc(var(--d, 0ms) + .5s) 1; }

/* Bouton « Accessibilité » du Groupe : « arrêt des animations » pose .a11y-calme sur <html> */
.a11y-calme .marquee { -webkit-mask: none; mask: none; }
.a11y-calme .marquee-track { flex-wrap: wrap; justify-content: center; width: auto; }
.a11y-calme .marquee-track [aria-hidden="true"] { display: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .marquee { -webkit-mask: none; mask: none; }
  .marquee-track { flex-wrap: wrap; justify-content: center; width: auto; animation: none; }
  .marquee-track [aria-hidden="true"] { display: none; }
}

/* ------------------------------------------------------------------ Tailles d'écran */
@media (max-width: 1100px) {
  .tt-grid { grid-template-columns: repeat(3, 1fr); }
  .svc-grid { grid-template-columns: repeat(3, 1fr); }
  .ben-grid--4, .icards, .tsteps, .size-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .lines-grid, .ben-grid { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
  .cmp-grid--3 { grid-template-columns: repeat(2, 1fr); }
  .count-in, .built-in, .contact-in, .about-grid, .thanks-in { grid-template-columns: 1fr; }
  .count-in { text-align: center; }
  .count-art img { max-height: 380px; }
  .built-art { order: -1; }
  .built-art img { max-height: 360px; }
  .built-art--photo img { max-width: 420px; margin-inline: auto; }
  .bigstat-in { grid-template-columns: 1fr; text-align: center; }
  .bigstat-note { margin-inline: auto; }
  .tt-head { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 36px; }
  .gal { grid-template-columns: repeat(3, 1fr); }
  .gal--video { grid-template-columns: repeat(2, 1fr); }
  .proc-step { grid-template-columns: 1fr; text-align: center; }
  .proc-step:nth-child(even) .proc-img { order: 0; }
  .proc-img { max-width: 420px; }
  .offices-list { grid-template-columns: 1fr; max-width: 520px; }
  .ft-in { grid-template-columns: 1fr 1fr; }
  .ft-brand { grid-column: 1 / -1; }
  .thanks-in { text-align: center; }
  .thanks-in img { max-height: 240px; }
}
@media (max-width: 760px) {
  .cmp-grid, .cmp-grid--3 { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .pf { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .svc-grid, .icards, .icards--2, .tsteps, .size-grid, .ben-grid--4 { grid-template-columns: 1fr; }
  .gal, .gal--3, .tt-grid { grid-template-columns: repeat(2, 1fr); }
  .gal--video { grid-template-columns: 1fr; }
  .gal--masonry { columns: 2; }
  .pf { grid-template-columns: repeat(2, 1fr); }
  .stats-list { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero-cta .btn { flex: 1 1 100%; }
  .count, .band, .stats { margin-inline: 8px; border-radius: var(--r-lg); }
  .hero { border-radius: 0 0 var(--r-lg) var(--r-lg); }
  .ft-in { grid-template-columns: 1fr; }
  .wordmark { width: 150px; }
  .lb-nav { top: auto; bottom: 18px; margin: 0; }
}
