/* =========================================================================
   MOOVIKO — feuille de style principale
   Direction A « Pure Groove » : rétro 70s × cartoon rubber hose
   ========================================================================= */

:root {
  /* Couleurs */
  --cream: #FEF1DC;
  --cream-2: #FFF8EC;
  --ink: #2B2140;
  --ink-soft: #5B4F6E;
  --tomato: #FF6B4A;
  --tang: #FFA53B;
  --butter: #FFD45C;
  --pink: #FF9EC4;
  --lilac: #8E7CFF;
  --teal: #3FBFA8;
  --white: #FFFFFF;

  /* Typo */
  --f-display: "Shrikhand", "Cooper Black", Georgia, serif;
  --f-body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-hand: "Gochi Hand", "Comic Sans MS", cursive;

  /* Échelle */
  --step--1: clamp(0.84rem, 0.8rem + 0.2vw, 0.95rem);
  --step-0: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --step-1: clamp(1.2rem, 1.1rem + 0.5vw, 1.45rem);
  --step-2: clamp(1.5rem, 1.25rem + 1.1vw, 2.1rem);
  --step-3: clamp(2rem, 1.5rem + 2.4vw, 3.4rem);
  --step-4: clamp(2.6rem, 1.6rem + 4.6vw, 5.6rem);
  --step-5: clamp(2.7rem, 1.2rem + 5.6vw, 6.2rem);

  --gutter: clamp(16px, 4vw, 48px);
  --maxw: 1240px;
  --radius: 26px;
  --stroke: 3px;
  --shadow-retro: 5px 5px 0 var(--ink);
  --ease-bounce: cubic-bezier(.34, 1.56, .64, 1);
  --header-h: 76px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: var(--step-0);
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream) url("../img/grain.png") repeat;
  background-size: 256px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.02; text-wrap: balance; font-weight: 400; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--butter); color: var(--ink); }
:focus-visible { outline: 3px solid var(--lilac); outline-offset: 3px; border-radius: 8px; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 300;
  background: var(--ink); color: var(--cream); padding: 10px 16px; border-radius: 99px; text-decoration: none; font-weight: 700;
}
.skip-link:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.display { font-family: var(--f-display); font-weight: 400; letter-spacing: -0.005em; }
.hand { font-family: var(--f-hand); }

/* ---------- Boutons ---------- */
.btn {
  --bg: var(--ink); --fg: var(--cream); --sh: var(--tomato);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 14px 26px; border-radius: 99px;
  background: var(--bg); color: var(--fg);
  border: var(--stroke) solid var(--ink);
  box-shadow: 4px 5px 0 var(--sh);
  font-weight: 800; font-size: 1.02rem; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .25s var(--ease-bounce), box-shadow .25s var(--ease-bounce), background .2s;
}
.btn:hover { transform: translate(-2px, -3px); box-shadow: 7px 9px 0 var(--sh); }
.btn:active { transform: translate(3px, 4px); box-shadow: 0 0 0 var(--sh); }
.btn--light { --bg: var(--cream-2); --fg: var(--ink); --sh: var(--ink); }
.btn--butter { --bg: var(--butter); --fg: var(--ink); --sh: var(--ink); }
.btn--small { min-height: 44px; padding: 9px 18px; font-size: .95rem; box-shadow: 3px 4px 0 var(--sh); }
.btn__arrow { display: inline-block; transition: transform .3s var(--ease-bounce); }
.btn:hover .btn__arrow { transform: translateX(5px) rotate(-8deg); }

.link-hand {
  font-family: var(--f-hand); font-size: 1.35rem; text-decoration: none; display: inline-flex; align-items: center; gap: 8px;
  background: linear-gradient(var(--butter), var(--butter)) 0 92% / 0 40% no-repeat; transition: background-size .35s ease;
}
.link-hand:hover { background-size: 100% 40%; }

/* ---------- Étiquettes ---------- */
.tag {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 99px;
  background: var(--cream-2); border: 2.5px solid var(--ink); font-weight: 800; font-size: .82rem;
  letter-spacing: .08em; text-transform: uppercase; line-height: 1.2;
}
.tag img { width: 18px; height: 18px; }
.tag--butter { background: var(--butter); }
.tag--pink { background: var(--pink); }
.tag--teal { background: var(--teal); }
.tag--lilac { background: var(--lilac); color: var(--white); }

/* =========================================================================
   LOGO — « mooviko », les deux o sont des yeux
   Couches empilées = extrusion rétro 70s. Les pupilles suivent la souris.
   ========================================================================= */
.logo {
  --size: 34px;
  position: relative; display: inline-grid; font-family: var(--f-display); font-size: var(--size);
  line-height: 1; text-decoration: none; color: var(--ink); isolation: isolate;
  padding: .06em .32em .26em .02em;
}
.logo__layer {
  grid-area: 1 / 1; display: inline-flex; align-items: baseline; white-space: nowrap;
  -webkit-text-stroke: .085em var(--ink); paint-order: stroke fill;
  color: var(--c, var(--cream-2));
  transform: translate(calc(var(--i, 0) * var(--depth, .055em)), calc(var(--i, 0) * var(--depth, .055em)));
  transition: transform .45s var(--ease-bounce);
}
.logo__layer--top { z-index: 5; }
.logo__layer--shadow { z-index: calc(5 - var(--i)); }
.logo:hover { --depth: .085em; }
.logo:hover .logo__layer--top { transform: translate(-.03em, -.05em); }

.logo__eye {
  position: relative; display: inline-block; width: .54em; height: .6em; margin: 0 .01em;
  border-radius: 50%; background: var(--c, var(--white)); border: .085em solid var(--ink);
  vertical-align: baseline; transform: translateY(.02em);
}
.logo__layer--top .logo__eye { background: var(--white); animation: blink 5.5s infinite; transform-origin: 50% 60%; }
.logo__layer--top .logo__eye + .logo__eye { animation-delay: .03s; }
.logo__pupil {
  position: absolute; left: 50%; top: 52%; width: .22em; height: .24em; margin: -.12em 0 0 -.11em;
  border-radius: 50%; background: var(--ink);
  transform: translate(var(--px, 0), var(--py, 0)); transition: transform .12s linear;
}
.logo__pupil::after { content: ""; position: absolute; width: 34%; height: 30%; border-radius: 50%; background: var(--white); top: 16%; left: 20%; }
.logo__layer--shadow .logo__pupil { display: none; }
.logo__spark {
  position: absolute; z-index: 6; right: -.02em; top: -.18em; width: .5em; height: .5em;
  animation: twinkle 2.4s ease-in-out infinite;
}
.logo--xl { --size: clamp(64px, 19vw, 300px); }
@keyframes blink { 0%, 44%, 48%, 100% { transform: translateY(.02em) scaleY(1); } 46% { transform: translateY(.02em) scaleY(.08); } }
@keyframes twinkle { 0%, 100% { transform: scale(1) rotate(0); } 50% { transform: scale(.6) rotate(45deg); } }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  padding-top: env(safe-area-inset-top, 0px);
  transition: transform .45s cubic-bezier(.7, 0, .3, 1), background .3s, box-shadow .3s;
}
.site-header.is-scrolled { background: rgba(254, 241, 220, .88); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 2px 0 rgba(43, 33, 64, .08); }
.site-header.is-hidden { transform: translateY(-110%); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: var(--header-h); }
.nav { display: flex; align-items: center; gap: clamp(14px, 2.2vw, 34px); }
.nav__link { position: relative; font-weight: 700; text-decoration: none; padding: 6px 2px; }
.nav__link::after {
  content: ""; position: absolute; left: -4px; right: -4px; bottom: 0; height: 10px; z-index: -1; border-radius: 99px;
  background: var(--butter); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease-bounce);
}
.nav__link:hover::after, .nav__link[aria-current="page"]::after { transform: scaleX(1); }
.burger {
  display: none; position: relative; width: 52px; height: 52px; border-radius: 50%; border: var(--stroke) solid var(--ink);
  background: var(--butter); box-shadow: 3px 3px 0 var(--ink); cursor: pointer; padding: 0; z-index: 120;
}
.burger span { position: absolute; left: 13px; right: 13px; height: 3px; border-radius: 3px; background: var(--ink); transition: transform .35s var(--ease-bounce), opacity .2s; }
.burger span:nth-child(1) { top: 17px; } .burger span:nth-child(2) { top: 24px; } .burger span:nth-child(3) { top: 31px; }
.menu-open .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-open .burger span:nth-child(2) { opacity: 0; }
.menu-open .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Menu mobile */
.mobile-menu {
  position: fixed; inset: 0; z-index: 110; background: var(--tang); display: flex; flex-direction: column;
  padding: calc(var(--header-h) + 24px + env(safe-area-inset-top, 0px)) var(--gutter) calc(32px + env(safe-area-inset-bottom, 0px));
  clip-path: circle(0% at calc(100% - 42px) 38px); visibility: hidden;
  transition: clip-path .7s cubic-bezier(.7, 0, .2, 1), visibility 0s .7s; overflow: hidden;
}
.menu-open .mobile-menu { clip-path: circle(150% at calc(100% - 42px) 38px); visibility: visible; transition: clip-path .7s cubic-bezier(.7, 0, .2, 1); }
.mobile-menu__links { display: grid; gap: 4px; position: relative; z-index: 2; }
.mobile-menu__links a {
  font-family: var(--f-display); font-size: clamp(2.6rem, 12vw, 4rem); line-height: 1.12; text-decoration: none; color: var(--cream-2);
  -webkit-text-stroke: 2.5px var(--ink); paint-order: stroke fill; text-shadow: 4px 4px 0 var(--ink);
  display: inline-block; transform: translateY(40px) rotate(4deg); opacity: 0; transition: transform .6s var(--ease-bounce), opacity .4s;
}
.menu-open .mobile-menu__links a { transform: none; opacity: 1; }
.menu-open .mobile-menu__links li:nth-child(1) a { transition-delay: .18s; }
.menu-open .mobile-menu__links li:nth-child(2) a { transition-delay: .24s; }
.menu-open .mobile-menu__links li:nth-child(3) a { transition-delay: .30s; }
.menu-open .mobile-menu__links li:nth-child(4) a { transition-delay: .36s; }
.menu-open .mobile-menu__links li:nth-child(5) a { transition-delay: .42s; }
.mobile-menu__foot { margin-top: auto; display: grid; gap: 14px; position: relative; z-index: 2; }
.mobile-menu__mascot { position: absolute; right: -30px; bottom: 90px; width: min(52vw, 260px); transform: translateY(60%) rotate(-12deg); transition: transform .8s var(--ease-bounce) .3s; }
.menu-open .mobile-menu__mascot { transform: translateY(0) rotate(-8deg); }
.mobile-menu__wave { position: absolute; left: -10%; right: -10%; bottom: -30px; width: 120%; opacity: .9; }
.menu-open { overflow: hidden; }

/* =========================================================================
   HERO
   ========================================================================= */
.hero {
  position: relative; overflow: hidden;
  padding-top: calc(var(--header-h) + clamp(28px, 6vw, 70px));
  padding-bottom: clamp(70px, 10vw, 140px);
  min-height: min(980px, 100svh);
}
.hero__rainbow { position: absolute; inset: auto 0 0 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.hero__rainbow path { fill: none; stroke-width: 34; stroke-linecap: round; }
.hero__rainbow .outline { stroke: var(--ink); stroke-width: 6; }
.hero__inner { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); align-items: center; gap: clamp(24px, 4vw, 60px); }
.hero__copy { display: grid; gap: clamp(18px, 2.2vw, 28px); justify-items: start; }
.hero__title { font-family: var(--f-display); font-size: var(--step-5); line-height: .98; letter-spacing: -.01em; }
.hero__title .line { display: block; overflow: hidden; padding: .04em .1em .12em 0; margin-bottom: -.12em; }
.hero__title .line > span { display: inline-block; }
.word-wiggle {
  display: inline-block; color: var(--tomato); -webkit-text-stroke: .045em var(--ink); paint-order: stroke fill;
  text-shadow: .05em .05em 0 var(--ink);
}
.word-wiggle .ch { display: inline-block; animation: wiggle-ch 2.2s ease-in-out infinite; transform-origin: 50% 90%; }
@keyframes wiggle-ch { 0%, 60%, 100% { transform: translateY(0) rotate(0); } 20% { transform: translateY(-.12em) rotate(-6deg); } 40% { transform: translateY(.02em) rotate(4deg); } }
.hero__sub { max-width: 34em; font-size: var(--step-1); line-height: 1.5; color: var(--ink-soft); }
.hero__sub strong { color: var(--ink); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px 18px; align-items: center; }
.hero__proof { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; font-weight: 700; font-size: .95rem; }
.hero__proof .platforms { display: inline-flex; gap: 8px; }
.platform { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 99px; background: var(--cream-2); border: 2px solid var(--ink); font-size: .85rem; }
.platform i { width: 10px; height: 10px; border-radius: 50%; background: var(--c); border: 1.5px solid var(--ink); }

/* Scène */
.hero__stage { position: relative; aspect-ratio: 1 / 1.08; width: 100%; max-width: 560px; justify-self: center; }
.hero__stage > * { position: absolute; }
.phone {
  left: 50%; top: 50%; width: 52%; aspect-ratio: 9 / 18.5; translate: -50% -50%;
  border-radius: 34px; background: var(--ink); padding: 9px; border: var(--stroke) solid var(--ink);
  box-shadow: 10px 12px 0 var(--lilac), 10px 12px 0 3px var(--ink); z-index: 3; rotate: 4deg;
}
.phone__screen { position: relative; width: 100%; height: 100%; border-radius: 26px; overflow: hidden; background: var(--butter); }
.phone__screen video, .phone__screen > img { width: 100%; height: 100%; object-fit: cover; }
.phone__notch { position: absolute; top: 9px; left: 50%; width: 34%; height: 18px; translate: -50% 0; background: var(--ink); border-radius: 0 0 14px 14px; z-index: 4; }
.phone__demo { position: absolute; inset: 0; display: grid; place-items: center; background: radial-gradient(circle at 50% 42%, var(--cream-2) 0 34%, var(--butter) 35% 100%); }
.phone__demo-rays { position: absolute; width: 190%; aspect-ratio: 1; left: -45%; top: -20%; background: repeating-conic-gradient(from 0deg, rgba(255,165,59,.45) 0 10deg, transparent 10deg 20deg); animation: spin 18s linear infinite; }
.phone__demo img { position: relative; width: 82%; margin-top: -14%; }
.phone__ui { position: absolute; inset: auto 10px 12px 10px; display: grid; gap: 6px; z-index: 3; color: var(--ink); }
.phone__ui .sponsor { font-size: .62rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; opacity: .7; }
.phone__ui .caption { font-weight: 800; font-size: .78rem; line-height: 1.25; }
.phone__ui .cta-bar { background: var(--ink); color: var(--cream-2); border-radius: 10px; font-weight: 800; font-size: .72rem; padding: 8px 10px; display: flex; justify-content: space-between; }
.phone__side { position: absolute; right: 8px; bottom: 96px; display: grid; gap: 12px; z-index: 3; justify-items: center; }
.phone__side span { width: 30px; height: 30px; border-radius: 50%; background: var(--cream-2); border: 2px solid var(--ink); display: grid; place-items: center; font-size: 13px; }
@keyframes spin { to { transform: rotate(360deg); } }

.stage-sun { width: 30%; right: 0; top: -4%; z-index: 1; }
.stage-sun img { animation: spin 40s linear infinite; }
.stage-cloud { width: 30%; left: -4%; top: 6%; z-index: 1; }
.stage-kiko { width: 30%; left: -6%; bottom: 4%; z-index: 4; }
.stage-plume { width: 22%; right: -3%; top: 30%; z-index: 4; }
.stage-bingo { width: 26%; right: 2%; bottom: -3%; z-index: 4; }
.stage-sticker-500 { width: 24%; left: 6%; top: 34%; z-index: 5; }
.stage-heart { width: 15%; right: 20%; top: 4%; z-index: 5; }
.stage-wow { width: 21%; left: 20%; bottom: -5%; z-index: 5; }
.stage-spark { width: 7%; z-index: 2; }
.stage-spark--1 { left: 14%; top: 4%; } .stage-spark--2 { right: 30%; bottom: 14%; width: 6%; } .stage-spark--3 { left: 0; top: 56%; width: 5%; }
.twinkle { animation: twinkle 2.6s ease-in-out infinite; }

.hero__scroll { position: absolute; left: 50%; bottom: 22px; translate: -50% 0; z-index: 3; display: grid; justify-items: center; gap: 2px; font-family: var(--f-hand); font-size: 1.15rem; }
.hero__scroll img { width: 26px; animation: bob 1.6s ease-in-out infinite; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(6px); } }

/* ---------- Bandeaux défilants ---------- */
.marquees { position: relative; height: clamp(190px, 22vw, 290px); margin-block: clamp(-40px, -3vw, -20px) 0; z-index: 3; overflow: hidden; }
.marquee {
  position: absolute; left: -5%; width: 110%; padding-block: clamp(10px, 1.4vw, 16px);
  border-block: var(--stroke) solid var(--ink); overflow: hidden; display: flex;
}
.marquee--1 { background: var(--tomato); color: var(--cream-2); top: 14%; rotate: -3deg; z-index: 2; }
.marquee--2 { background: var(--lilac); color: var(--cream-2); top: 52%; rotate: 2.5deg; z-index: 1; }
.marquee__track { display: flex; flex-shrink: 0; align-items: center; gap: clamp(18px, 2.4vw, 34px); padding-right: clamp(18px, 2.4vw, 34px); white-space: nowrap; animation: marquee 32s linear infinite; }
.marquee--2 .marquee__track { animation-direction: reverse; animation-duration: 38s; }
.marquee__track span { font-family: var(--f-display); font-size: clamp(1.4rem, 3vw, 2.4rem); -webkit-text-stroke: 1.5px var(--ink); paint-order: stroke fill; }
.marquee__track img { width: clamp(24px, 3vw, 38px); }
@keyframes marquee { to { transform: translateX(-100%); } }

/* ---------- Sections ---------- */
.section { position: relative; padding-block: clamp(80px, 11vw, 150px); }
.section-head { display: grid; gap: 16px; margin-bottom: clamp(36px, 5vw, 64px); max-width: 860px; justify-items: start; }
.section-head--center { margin-inline: auto; text-align: center; justify-items: center; }
.section-title { font-family: var(--f-display); font-size: var(--step-4); line-height: 1; }
.section-title em { font-style: normal; color: var(--tomato); -webkit-text-stroke: .04em var(--ink); paint-order: stroke fill; }
.section-title .hl { position: relative; display: inline-block; }
.section-title .hl img { position: absolute; left: -8%; width: 116%; max-width: none; bottom: -.18em; z-index: -1; }
.section-lead { font-size: var(--step-1); color: var(--ink-soft); max-width: 40em; }
.deco-abs { position: absolute; pointer-events: none; z-index: 0; }

.wave-sep { display: block; width: 100%; height: clamp(30px, 4vw, 60px); }

/* ---------- Réalisations (vidéos) ---------- */
.reels { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); align-items: start; }
.reel { position: relative; display: grid; gap: 14px; text-decoration: none; }
.reel:nth-child(even) { margin-top: clamp(20px, 4vw, 60px); }
.reel__frame {
  position: relative; aspect-ratio: 9 / 16; border-radius: 24px; overflow: hidden; border: var(--stroke) solid var(--ink);
  background: var(--bg, var(--pink)); box-shadow: 6px 7px 0 var(--ink); transition: transform .45s var(--ease-bounce), box-shadow .45s var(--ease-bounce);
  transform: rotate(var(--rot, -1.5deg));
}
.reel:hover .reel__frame { transform: rotate(0) translateY(-8px) scale(1.02); box-shadow: 10px 14px 0 var(--ink); }
.reel__frame video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.reel__placeholder { position: absolute; inset: 0; display: grid; place-items: center; }
.reel__placeholder::before { content: ""; position: absolute; inset: 0; background: url("../img/halftone.png"); background-size: 180px; opacity: .25; }
.reel__placeholder img { position: relative; width: 78%; transition: transform .5s var(--ease-bounce); }
.reel:hover .reel__placeholder img { transform: scale(1.06) rotate(-4deg); }
.reel__play {
  position: absolute; left: 50%; bottom: 18px; translate: -50% 0; z-index: 2; display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px 8px 10px; border-radius: 99px; background: var(--cream-2); border: 2.5px solid var(--ink); font-weight: 800; font-size: .8rem; white-space: nowrap;
}
.reel__play::before { content: ""; width: 0; height: 0; border-left: 11px solid var(--tomato); border-top: 7px solid transparent; border-bottom: 7px solid transparent; }
.reel__tape { position: absolute; top: -14px; left: 50%; width: 46%; translate: -50% 0; z-index: 3; rotate: -4deg; }
.reel__meta { display: grid; gap: 4px; padding-inline: 4px; }
.reel__meta h3 { font-family: var(--f-display); font-size: var(--step-1); }
.reel__meta p { font-size: .92rem; color: var(--ink-soft); }
.reels-more { display: flex; justify-content: center; margin-top: clamp(40px, 5vw, 64px); }

/* ---------- Pourquoi ---------- */
.why { background: var(--butter); }
.why-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 32px); position: relative; z-index: 1; }
.why-card {
  position: relative; background: var(--cream-2); border: var(--stroke) solid var(--ink); border-radius: var(--radius);
  padding: clamp(24px, 3vw, 36px); box-shadow: 6px 7px 0 var(--ink); display: grid; gap: 12px; align-content: start;
}
.why-card__sticker { width: 96px; height: 96px; object-fit: contain; margin-top: -64px; margin-bottom: 4px; }
.why-card h3 { font-family: var(--f-display); font-size: var(--step-2); }
.why-card p { color: var(--ink-soft); }
.why-card:nth-child(2) { rotate: 1.2deg; } .why-card:nth-child(1) { rotate: -1deg; } .why-card:nth-child(3) { rotate: -.6deg; }

/* ---------- Processus (usine à pubs) ---------- */
.process { background: var(--ink); color: var(--cream-2); overflow: hidden; }
.process::before { content: ""; position: absolute; inset: 0; background: url("../img/halftone.png"); background-size: 220px; opacity: .08; filter: invert(1); pointer-events: none; }
.process .section-title { color: var(--cream-2); }
.process .section-title em { color: var(--butter); -webkit-text-stroke: 0; }
.process .section-lead { color: #CFC6DC; }
.machine { position: relative; z-index: 1; margin: 0 auto clamp(30px, 5vw, 60px); max-width: 1100px; }
.machine img { width: 100%; filter: drop-shadow(0 18px 0 rgba(0, 0, 0, .25)); }
.process__pin { position: relative; z-index: 1; }
.process__track { display: flex; gap: clamp(20px, 3vw, 40px); padding-inline: var(--gutter); width: max-content; }
.step {
  position: relative; width: min(420px, 78vw); flex-shrink: 0; background: var(--cream-2); color: var(--ink);
  border: var(--stroke) solid var(--ink); border-radius: 30px; padding: 26px 26px 30px; display: grid; gap: 10px; align-content: start;
  box-shadow: 8px 9px 0 var(--c);
}
.step__num { position: absolute; top: 18px; right: 20px; font-family: var(--f-display); font-size: 3.4rem; line-height: 1; color: var(--c); -webkit-text-stroke: 2.5px var(--ink); paint-order: stroke fill; }
.step__art { height: 230px; display: flex; align-items: flex-end; justify-content: center; margin-bottom: 6px; }
.step__art img { height: 100%; width: auto; max-width: 100%; object-fit: contain; }
.step__who { font-family: var(--f-hand); font-size: 1.35rem; color: var(--tomato); line-height: 1; }
.step h3 { font-family: var(--f-display); font-size: var(--step-2); }
.step p { color: var(--ink-soft); }
.pipe { position: relative; height: 34px; margin: 0 var(--gutter) 30px; border-radius: 99px; border: var(--stroke) solid var(--cream-2); overflow: hidden; background: rgba(255, 255, 255, .06); }
.pipe__fill { position: absolute; inset: 0; transform-origin: left; transform: scaleX(0);
  background: linear-gradient(var(--lilac) 0 20%, var(--teal) 20% 40%, var(--butter) 40% 60%, var(--tang) 60% 80%, var(--tomato) 80% 100%); }
.pipe__label { position: absolute; right: 14px; top: 50%; translate: 0 -50%; font-family: var(--f-hand); font-size: 1.1rem; color: var(--cream-2); z-index: 2; text-shadow: 0 1px 2px var(--ink); }

/* ---------- Offres ---------- */
.offers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 30px); align-items: stretch; }
.offer {
  position: relative; display: flex; flex-direction: column; gap: 16px; padding: clamp(24px, 3vw, 34px); padding-top: 30px;
  background: var(--cream-2); border: var(--stroke) solid var(--ink); border-radius: 32px; box-shadow: 7px 8px 0 var(--ink);
  transition: transform .45s var(--ease-bounce), box-shadow .45s var(--ease-bounce);
}
.offer:hover { transform: translateY(-8px) rotate(-.6deg); box-shadow: 11px 14px 0 var(--ink); }
.offer--featured { background: var(--tang); }
.offer__icon { width: 128px; height: 118px; object-fit: contain; margin: -70px 0 0 -8px; transition: transform .5s var(--ease-bounce); }
.offer:hover .offer__icon { transform: rotate(-8deg) scale(1.08); }
.offer__badge { position: absolute; top: -26px; right: -14px; width: 108px; rotate: 12deg; }
.offer h3 { font-family: var(--f-display); font-size: var(--step-2); }
.offer__price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.offer__price strong { font-family: var(--f-display); font-weight: 400; font-size: var(--step-3); line-height: 1; -webkit-text-stroke: .03em var(--ink); }
.offer__price span { font-weight: 700; color: var(--ink-soft); }
.offer--featured .offer__price span { color: var(--ink); }
.offer__desc { color: var(--ink-soft); }
.offer--featured .offer__desc { color: var(--ink); }
.offer__list { display: grid; gap: 10px; margin-block: 4px 8px; }
.offer__list li { display: grid; grid-template-columns: 24px 1fr; gap: 10px; align-items: start; font-weight: 600; }
.offer__list li::before {
  content: ""; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%; border: 2px solid var(--ink); background: var(--butter)
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' fill='none' stroke='%232B2140' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/70% no-repeat;
}
.offer--featured .offer__list li::before { background-color: var(--cream-2); }
.offer .btn { margin-top: auto; align-self: stretch; }
.offers-note { margin-top: 28px; text-align: center; color: var(--ink-soft); font-size: .95rem; }

/* ---------- Comparatif ---------- */
.compare { background: var(--pink); }
.compare__scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; padding: 6px 8px 18px; margin-inline: -8px; }
.compare table { width: 100%; min-width: 760px; border-collapse: separate; border-spacing: 0; background: var(--cream-2); border: var(--stroke) solid var(--ink); border-radius: 28px; overflow: hidden; box-shadow: 7px 8px 0 var(--ink); }
.compare th, .compare td { padding: 16px 18px; text-align: center; border-bottom: 2px solid rgba(43, 33, 64, .12); }
.compare tr:last-child td, .compare tr:last-child th { border-bottom: 0; }
.compare thead th { font-weight: 800; font-size: .95rem; background: var(--cream); border-bottom: var(--stroke) solid var(--ink); }
.compare tbody th { text-align: left; font-weight: 700; position: sticky; left: 0; background: var(--cream-2); z-index: 1; }
.compare .us { background: var(--butter) !important; }
.compare thead .us { font-family: var(--f-display); font-weight: 400; font-size: 1.4rem; }
.mark { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; border: 2.5px solid var(--ink); font-weight: 900; line-height: 1; }
.mark--yes { background: var(--teal); color: var(--white); }
.mark--no { background: var(--cream); color: var(--tomato); }
.mark--mid { background: var(--cream); color: var(--tang); }

/* ---------- FAQ ---------- */
.faq-layout { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.faq-aside { position: sticky; top: calc(var(--header-h) + 30px); display: grid; gap: 18px; }
.faq-face { position: relative; width: min(300px, 70%); aspect-ratio: 1; }
.faq-face img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transition: opacity .3s, transform .5s var(--ease-bounce); }
.faq-face img:not(.is-active) { opacity: 0; transform: scale(.6) rotate(-14deg); }
.faq-list { display: grid; gap: 14px; }
.faq-item { background: var(--cream-2); border: var(--stroke) solid var(--ink); border-radius: 24px; box-shadow: 4px 5px 0 var(--ink); overflow: hidden; transition: background .3s; }
.faq-item.is-open { background: var(--white); }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 22px; background: none; border: 0; cursor: pointer; text-align: left; font-weight: 800; font-size: var(--step-1); line-height: 1.3; }
.faq-q__icon { flex-shrink: 0; width: 38px; height: 38px; border-radius: 50%; border: 2.5px solid var(--ink); background: var(--butter); display: grid; place-items: center; transition: transform .45s var(--ease-bounce), background .3s; }
.faq-q__icon::before { content: "+"; font-size: 1.5rem; font-weight: 800; line-height: 1; margin-top: -2px; }
.faq-item.is-open .faq-q__icon { transform: rotate(135deg); background: var(--tomato); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s cubic-bezier(.6, 0, .2, 1); }
.faq-item.is-open .faq-a { grid-template-rows: 1fr; }
.faq-a > div { overflow: hidden; }
.faq-a p { padding: 0 22px 22px; color: var(--ink-soft); max-width: 62ch; }

/* ---------- CTA final ---------- */
.cta-final { padding-block: clamp(60px, 9vw, 120px); }
.cta-card {
  position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: center; gap: clamp(20px, 4vw, 50px);
  background: var(--tomato); color: var(--cream-2); border: var(--stroke) solid var(--ink); border-radius: clamp(28px, 4vw, 48px);
  padding: clamp(30px, 5vw, 70px); box-shadow: 10px 12px 0 var(--ink); overflow: hidden;
}
.cta-card::before { content: ""; position: absolute; inset: 0; background: url("../img/halftone.png"); background-size: 200px; opacity: .14; pointer-events: none; }
.cta-card h2 { font-family: var(--f-display); font-size: var(--step-4); -webkit-text-stroke: .035em var(--ink); paint-order: stroke fill; text-shadow: .05em .06em 0 var(--ink); }
.cta-card p { font-size: var(--step-1); max-width: 30em; }
.cta-card__copy { display: grid; gap: 22px; justify-items: start; position: relative; z-index: 1; }
.cta-card__art { position: relative; z-index: 1; }
.cta-card__art img { width: 100%; }
.cta-card .note { font-family: var(--f-hand); font-size: 1.3rem; display: inline-flex; align-items: center; gap: 8px; }
.cta-card .note img { width: 44px; filter: invert(1) brightness(2); rotate: 160deg; }

/* ---------- Footer ---------- */
.site-footer { position: relative; padding-top: clamp(40px, 6vw, 80px); overflow: hidden; }
.footer-top { display: grid; grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr)); gap: clamp(24px, 4vw, 50px); position: relative; z-index: 2; }
.footer-top h3 { font-weight: 800; font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 12px; color: var(--ink-soft); }
.footer-top ul { display: grid; gap: 8px; }
.footer-top a { text-decoration: none; font-weight: 600; }
.footer-top a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.footer-top .pitch { font-size: var(--step-1); max-width: 22em; }
.footer-logo { position: relative; z-index: 2; display: flex; justify-content: center; margin-top: clamp(30px, 5vw, 60px); }
.footer-hills { position: relative; margin-top: clamp(-90px, -8vw, -40px); z-index: 1; }
.footer-hills__bg { width: 100%; min-height: 180px; object-fit: cover; object-position: top; }
.footer-bottom {
  position: absolute; z-index: 3; left: 0; right: 0; bottom: 0; padding-block: 18px calc(18px + env(safe-area-inset-bottom, 0px));
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; color: var(--cream-2); font-size: .9rem; font-weight: 600;
}
.footer-bottom a { color: inherit; }
.footer-mascot { position: absolute; z-index: 2; width: clamp(80px, 11vw, 160px); bottom: 38%; }
.footer-mascot--1 { left: 8%; } .footer-mascot--2 { right: 10%; bottom: 46%; }

/* =========================================================================
   PAGES INTÉRIEURES
   ========================================================================= */
.page-hero { position: relative; padding-top: calc(var(--header-h) + clamp(40px, 7vw, 90px)); padding-bottom: clamp(40px, 6vw, 80px); overflow: hidden; }
.page-hero__inner { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 30px; align-items: center; }
.page-hero h1 { font-family: var(--f-display); font-size: var(--step-5); line-height: .98; }
.page-hero p { font-size: var(--step-1); color: var(--ink-soft); max-width: 34em; margin-top: 20px; }
.page-hero__art { justify-self: center; width: min(360px, 80%); }
.page-hero__wave { position: absolute; right: -8%; bottom: 0; width: min(660px, 46%); opacity: .95; z-index: 0; }
@media (max-width: 900px) { .page-hero__wave { width: min(520px, 80%); bottom: auto; top: 46%; } }

.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.filter { padding: 10px 18px; border-radius: 99px; border: 2.5px solid var(--ink); background: var(--cream-2); font-weight: 800; cursor: pointer; box-shadow: 3px 3px 0 var(--ink); transition: transform .3s var(--ease-bounce), background .2s; }
.filter:hover { transform: translateY(-2px); }
.filter[aria-pressed="true"] { background: var(--ink); color: var(--cream-2); }
.reels--page { grid-template-columns: repeat(auto-fill, minmax(min(240px, 100%), 1fr)); }
.reel.is-hidden { display: none; }

.contact-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(28px, 5vw, 70px); align-items: start; }
.form { background: var(--cream-2); border: var(--stroke) solid var(--ink); border-radius: 32px; padding: clamp(22px, 4vw, 40px); box-shadow: 8px 9px 0 var(--ink); display: grid; gap: 18px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 8px; }
.field label, .field legend { font-weight: 800; font-size: .95rem; }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px; border-radius: 16px; border: 2.5px solid var(--ink); background: var(--white); font: inherit; color: var(--ink);
  transition: box-shadow .2s, transform .2s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; box-shadow: 4px 4px 0 var(--lilac); transform: translate(-1px, -1px); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--tomato); box-shadow: 4px 4px 0 var(--tomato); }
.field__error { color: #C93A1E; font-weight: 700; font-size: .88rem; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; border: 0; padding: 0; margin: 0; }
.chips legend { margin-bottom: 8px; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-block; padding: 9px 16px; border-radius: 99px; border: 2.5px solid var(--ink); background: var(--white); font-weight: 700; cursor: pointer; transition: background .2s, transform .3s var(--ease-bounce); }
.chip input:checked + span { background: var(--butter); transform: rotate(-2deg); }
.chip input:focus-visible + span { outline: 3px solid var(--lilac); outline-offset: 2px; }
.form__success { display: grid; gap: 14px; justify-items: center; text-align: center; padding: 20px 0; }
.form__success img { width: 180px; }
.form__success h2 { font-family: var(--f-display); font-size: var(--step-3); }
.contact-aside { display: grid; gap: 22px; }
.contact-aside img { width: 100%; }
.contact-card { background: var(--butter); border: var(--stroke) solid var(--ink); border-radius: 26px; padding: 22px; display: grid; gap: 10px; box-shadow: 5px 6px 0 var(--ink); }
.contact-card strong { font-size: 1.15rem; word-break: break-word; }

.notfound { min-height: 100svh; display: grid; place-items: center; text-align: center; padding: calc(var(--header-h) + 30px) var(--gutter) 60px; }
.notfound__inner { display: grid; gap: 20px; justify-items: center; }
.notfound img { width: min(340px, 70vw); }
.notfound h1 { font-family: var(--f-display); font-size: var(--step-5); line-height: 1; }

/* =========================================================================
   TRANSITION ENTRE LES PAGES — vagues arc-en-ciel + clin d'œil du logo
   ========================================================================= */
.transition { position: fixed; inset: 0; z-index: 500; pointer-events: none; visibility: hidden; }
.transition.is-active { pointer-events: all; visibility: visible; }
.transition__band {
  position: absolute; left: 0; right: 0; top: -60px; height: calc(100% + 120px); background: var(--c);
  transform: translateY(105%); will-change: transform;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 40' preserveAspectRatio='none'%3E%3Cpath d='M0 20 Q50 0 100 20 T200 20 V40 H0Z'/%3E%3C/svg%3E") top / 260px 60px repeat-x,
                linear-gradient(#000 0 0) center / 100% calc(100% - 118px) no-repeat,
                url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 40' preserveAspectRatio='none'%3E%3Cpath d='M0 0 H200 V20 Q150 40 100 20 T0 20Z'/%3E%3C/svg%3E") bottom / 260px 60px repeat-x;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 40' preserveAspectRatio='none'%3E%3Cpath d='M0 20 Q50 0 100 20 T200 20 V40 H0Z'/%3E%3C/svg%3E") top / 260px 60px repeat-x,
                linear-gradient(#000 0 0) center / 100% calc(100% - 118px) no-repeat,
                url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 40' preserveAspectRatio='none'%3E%3Cpath d='M0 0 H200 V20 Q150 40 100 20 T0 20Z'/%3E%3C/svg%3E") bottom / 260px 60px repeat-x;
}
.transition__band:nth-child(1) { --c: var(--lilac); }
.transition__band:nth-child(2) { --c: var(--teal); }
.transition__band:nth-child(3) { --c: var(--butter); }
.transition__band:nth-child(4) { --c: var(--tang); }
.transition__band:nth-child(5) { --c: var(--tomato); }
.transition__band:nth-child(6) { --c: var(--cream); background-image: url("../img/grain.png"); background-size: 256px; }
.transition__center { position: absolute; inset: 0; display: grid; place-items: center; z-index: 10; opacity: 0; }
.transition__center .logo { --size: clamp(54px, 13vw, 150px); }
.transition__label { position: absolute; left: 50%; top: calc(50% + clamp(50px, 9vw, 110px)); translate: -50% 0; font-family: var(--f-hand); font-size: 1.4rem; white-space: nowrap; }

/* Page qui arrive : couverte d'emblée (posé par le script dans <head>) */
.is-entering .transition { visibility: visible; pointer-events: all; }
.is-entering .transition__band { transform: translateY(0); }
.is-entering .transition__center { opacity: 1; }

/* ---------- Animations d'apparition (seulement avec JS) ---------- */
.js [data-reveal] { will-change: transform, opacity; }

/* =========================================================================
   RESPONSIVE
   ========================================================================= */
@media (max-width: 1080px) {
  .reels { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .reel:nth-child(even) { margin-top: 40px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  :root { --header-h: 68px; }
  .nav { display: none; }
  .burger { display: block; }
  .site-header .btn--header { display: none; }
  .hero { min-height: 0; padding-bottom: 60px; }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__stage { max-width: 440px; width: 92%; margin-top: 10px; }
  .hero__scroll { display: none; }
  .why-grid { grid-template-columns: 1fr; gap: 64px; max-width: 520px; margin-inline: auto; }
  .offers { grid-template-columns: 1fr; gap: 70px; max-width: 520px; margin-inline: auto; }
  .faq-layout { grid-template-columns: 1fr; }
  .faq-aside { position: static; grid-template-columns: 110px 1fr; align-items: center; }
  .faq-face { width: 110px; }
  .cta-card { grid-template-columns: 1fr; }
  .cta-card__art { max-width: 420px; justify-self: center; }
  .page-hero__inner { grid-template-columns: 1fr; }
  .page-hero__art { width: min(260px, 70%); }
  .contact-grid { grid-template-columns: 1fr; }
  /* Processus en vertical sur mobile */
  .process__track { flex-direction: column; width: auto; padding-inline: var(--gutter); padding-left: calc(var(--gutter) + 34px); }
  .step { width: 100%; }
  .pipe { position: absolute; left: calc(var(--gutter) - 4px); top: 0; bottom: 0; width: 22px; height: auto; margin: 0; }
  .pipe__fill { transform-origin: top; transform: scaleY(0); background: linear-gradient(90deg, var(--lilac) 0 20%, var(--teal) 20% 40%, var(--butter) 40% 60%, var(--tang) 60% 80%, var(--tomato) 80% 100%); }
  .pipe__label { display: none; }
  .step__art { height: 190px; }
}
@media (max-width: 560px) {
  .btn { min-height: 52px; padding: 13px 22px; }
  .hero__ctas { width: 100%; }
  .hero__ctas .btn { flex: 1 1 100%; }
  .reels { gap: 14px; }
  .reel__meta h3 { font-size: 1.05rem; }
  .reel__play { font-size: .7rem; bottom: 12px; padding: 6px 10px 6px 8px; }
  .form__row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-top > :first-child { grid-column: 1 / -1; }
  .footer-mascot { display: none; }
  .footer-bottom { justify-content: center; text-align: center; font-size: .8rem; }
  .faq-q { padding: 16px 16px; }
  .faq-a p { padding: 0 16px 18px; }
  .offer__badge { width: 88px; right: -6px; }
}

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

/* Vidéos chargées : on masque les visuels d'attente */
.has-video .reel__placeholder, .has-video .reel__play, .has-video .phone__demo, .has-video .phone__ui, .has-video .phone__side { display: none; }
.faq-aside .section-title { font-size: var(--step-3); }

/* =========================================================================
   MENU RESSOURCES
   ========================================================================= */
.nav__drop { position: relative; }
.nav__drop-btn { background: none; border: 0; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; font: inherit; font-weight: 700; }
.nav__chev { display: inline-block; font-size: .8em; transition: transform .35s var(--ease-bounce); }
.nav__drop.is-open .nav__chev { transform: rotate(180deg); }
.drop {
  position: absolute; top: calc(100% + 16px); left: 50%; width: min(760px, calc(100vw - 40px));
  display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 18px; padding: 18px;
  background: var(--cream-2); border: var(--stroke) solid var(--ink); border-radius: 28px; box-shadow: 8px 9px 0 var(--ink);
  opacity: 0; visibility: hidden; transform: translate(-46%, -10px) scale(.96) rotate(-1deg); transform-origin: 40% 0;
  transition: opacity .25s, transform .4s var(--ease-bounce), visibility 0s .25s;
}
.drop::before { content: ""; position: absolute; left: 0; right: 0; top: -20px; height: 20px; }
.nav__drop.is-open .drop { opacity: 1; visibility: visible; transform: translate(-46%, 0) scale(1) rotate(0); transition: opacity .2s, transform .45s var(--ease-bounce); }
.drop__links { display: grid; gap: 6px; align-content: start; }
.drop__link { display: grid; grid-template-columns: 44px 1fr; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 18px; text-decoration: none; transition: background .2s, transform .3s var(--ease-bounce); }
.drop__link:hover { background: var(--butter); transform: translateX(4px); }
.drop__link img { width: 44px; height: 44px; object-fit: contain; transition: transform .4s var(--ease-bounce); }
.drop__link:hover img { transform: rotate(-10deg) scale(1.12); }
.drop__link strong { display: block; font-weight: 800; }
.drop__link small { display: block; color: var(--ink-soft); font-size: .84rem; line-height: 1.3; }
.drop__posts { display: grid; gap: 8px; align-content: start; padding-left: 18px; border-left: 2px dashed rgba(43, 33, 64, .2); }
.drop__title { font-size: .76rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); }
.drop__post { display: grid; grid-template-columns: 74px 1fr; gap: 12px; align-items: center; text-decoration: none; padding: 6px; border-radius: 16px; transition: background .2s; }
.drop__post:hover { background: var(--cream); }
.drop__thumb { display: grid; place-items: center; aspect-ratio: 4 / 3; border-radius: 12px; border: 2px solid var(--ink); background: var(--bg); overflow: hidden; }
.drop__thumb img { width: 72%; height: 72%; object-fit: contain; }
.drop__tag { display: block; font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--tomato); }
.drop__post strong { display: block; font-size: .9rem; line-height: 1.3; font-weight: 700; }

/* =========================================================================
   BLOG
   ========================================================================= */
.blog-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px 30px; margin-bottom: clamp(36px, 5vw, 60px); }
.posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 32px); }
.posts--two { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 860px; }
.post { display: grid; gap: 12px; align-content: start; }
.post__cover {
  position: relative; display: grid; place-items: center; aspect-ratio: 4 / 3; border-radius: 26px; overflow: hidden;
  background: var(--bg); border: var(--stroke) solid var(--ink); box-shadow: 6px 7px 0 var(--ink);
  transition: transform .45s var(--ease-bounce), box-shadow .45s var(--ease-bounce);
}
.post__cover::before { content: ""; position: absolute; inset: 0; background: url("../img/halftone.png"); background-size: 180px; opacity: .25; }
.post__cover img { position: relative; width: 62%; height: 78%; object-fit: contain; transition: transform .5s var(--ease-bounce); }
.post:hover .post__cover { transform: translateY(-6px) rotate(-1deg); box-shadow: 9px 12px 0 var(--ink); }
.post:hover .post__cover img { transform: scale(1.08) rotate(-5deg); }
.post__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; font-weight: 700; font-size: .9rem; color: var(--ink-soft); margin-top: 6px; }
.post__title { font-family: var(--f-display); font-size: var(--step-1); line-height: 1.15; }
.post__title a { text-decoration: none; background: linear-gradient(var(--butter), var(--butter)) 0 92% / 0 38% no-repeat; transition: background-size .4s ease; }
.post:hover .post__title a { background-size: 100% 38%; }
.post__by { font-size: .86rem; color: var(--ink-soft); }

/* Article */
.article-hero { padding-bottom: 20px; }
.article-wrap { max-width: 860px; display: grid; gap: 18px; justify-items: start; }
.article-wrap--wide { max-width: 1040px; margin-top: 30px; justify-items: stretch; }
.article-title { font-family: var(--f-display); font-size: var(--step-3); line-height: 1.04; }
.article-title .line { display: block; overflow: hidden; padding-bottom: .1em; }
.article-title .line > span { display: inline-block; }
.post__cover--hero { aspect-ratio: 21 / 9; border-radius: 34px; }
.post__cover--hero img { width: 40%; height: 82%; }
.prose { padding-block: 30px 10px; }
.prose > * + * { margin-top: 1.1em; }
.prose .lead { font-size: var(--step-1); color: var(--ink); font-weight: 500; }
.prose h2 { font-family: var(--f-display); font-size: var(--step-2); margin-top: 1.8em; }
.prose p { color: var(--ink-soft); max-width: 68ch; }
.prose strong { color: var(--ink); }
.callout { margin-top: 2em; padding: 22px 24px; border-radius: 24px; background: var(--butter); border: var(--stroke) solid var(--ink); box-shadow: 5px 6px 0 var(--ink); display: grid; gap: 8px; }
.callout strong { font-family: var(--f-display); font-weight: 400; font-size: var(--step-1); }
.callout p { color: var(--ink); }

/* Qui sommes-nous */
.about-story { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(20px, 5vw, 70px); align-items: start; }
.about-story .prose { padding-top: 0; }
.gang { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 30px); }
.buddy { position: relative; display: grid; gap: 8px; justify-items: center; text-align: center; padding: 22px 22px 26px; background: var(--cream-2); border: var(--stroke) solid var(--ink); border-radius: 28px; box-shadow: 6px 7px 0 var(--c); transition: transform .4s var(--ease-bounce); }
.buddy:hover { transform: translateY(-6px) rotate(-1deg); }
.buddy__art { height: 200px; display: flex; align-items: flex-end; justify-content: center; }
.buddy__art img { height: 100%; width: auto; object-fit: contain; }
.buddy h3 { font-family: var(--f-display); font-size: var(--step-2); }
.buddy p { color: var(--ink-soft); max-width: 28ch; }

@media (max-width: 900px) {
  .posts { grid-template-columns: 1fr; max-width: 520px; }
  .posts--two { grid-template-columns: 1fr; }
  .about-story { grid-template-columns: 1fr; }
  .gang { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .post__cover--hero { aspect-ratio: 4 / 3; }
  .post__cover--hero img { width: 62%; }
}
@media (max-width: 560px) {
  .gang { grid-template-columns: 1fr; max-width: 360px; margin-inline: auto; }
}

/* =========================================================================
   CARTES VIDÉO CLIQUABLES + ÉTUDE DE CAS
   ========================================================================= */
.reel__link { display: grid; gap: 14px; text-decoration: none; color: inherit; }
.reel__placeholder--poster::before { display: none; }
.reel__placeholder--poster img { width: 100%; height: 100%; object-fit: cover; }
.reel:hover .reel__placeholder--poster img { transform: none; }

.case-hero__stack { position: relative; justify-self: center; width: min(420px, 90%); aspect-ratio: 1 / 1; }
.case-hero__stack img {
  position: absolute; top: 50%; left: 50%; width: 46%; height: auto; aspect-ratio: 9 / 16; object-fit: cover;
  border-radius: 22px; border: var(--stroke) solid var(--ink); box-shadow: 6px 7px 0 var(--ink);
}
.case-hero__stack img:nth-child(1) { transform: translate(-108%, -46%) rotate(-9deg); }
.case-hero__stack img:nth-child(2) { transform: translate(-50%, -54%); z-index: 2; }
.case-hero__stack img:nth-child(3) { transform: translate(8%, -46%) rotate(9deg); }

.case-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 0; }
.case-facts > div { background: var(--cream-2); border: var(--stroke) solid var(--ink); border-radius: 22px; padding: 16px 18px; box-shadow: 4px 5px 0 var(--ink); }
.case-facts dt { font-size: .76rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); }
.case-facts dd { margin: 4px 0 0; font-weight: 700; }

/* Bloc aux couleurs de la cliente */
.case-brief { background: #F8F5F2; }
.case-brief .section-title em { color: #A04D30; -webkit-text-stroke: 0; }
.case-palette { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-bottom: clamp(40px, 5vw, 60px); }
.case-palette > div { display: grid; gap: 4px; width: 120px; font-size: .85rem; color: var(--ink-soft); }
.case-palette i { display: block; height: 70px; border-radius: 18px; background: var(--c); border: 2.5px solid var(--ink); }
.case-palette b { color: var(--ink); }
.case-principles .why-card { box-shadow: 6px 7px 0 #A04D30; }

.case-ads { display: grid; gap: clamp(60px, 8vw, 110px); }
.case-ad { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); gap: clamp(28px, 5vw, 70px); align-items: center; }
.case-ad--flip .case-ad__video { order: 2; }
.case-ad__video { justify-self: center; width: min(340px, 100%); border-radius: 30px; overflow: hidden; border: var(--stroke) solid var(--ink); box-shadow: 9px 10px 0 #A04D30; background: var(--ink); }
.case-ad__video video { width: 100%; height: auto; aspect-ratio: 9 / 16; display: block; object-fit: cover; }
.case-ad__text { display: grid; gap: 14px; justify-items: start; }
.case-ad__num { font-family: var(--f-hand); font-size: 1.5rem; color: var(--tomato); line-height: 1; }
.case-ad__text h3 { font-family: var(--f-display); font-size: var(--step-3); }
.case-ad__meta { display: flex; flex-wrap: wrap; gap: 8px; }
.case-ad__meta span { padding: 5px 12px; border-radius: 99px; border: 2px solid var(--ink); background: var(--cream-2); font-weight: 800; font-size: .82rem; }
.case-ad__text p { color: var(--ink-soft); max-width: 60ch; }
.case-ad__text blockquote { margin: 4px 0; padding: 14px 18px; border-left: 6px solid #A04D30; background: #F8F5F2; border-radius: 0 18px 18px 0; font-family: var(--f-display); font-size: var(--step-1); line-height: 1.3; color: #A04D30; }

.case-steps { counter-reset: step; display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; }
.case-steps li { counter-increment: step; position: relative; padding: 18px 20px 18px 74px; background: var(--cream-2); border: var(--stroke) solid var(--ink); border-radius: 22px; box-shadow: 4px 5px 0 var(--ink); color: var(--ink-soft); }
.case-steps li::before { content: counter(step); position: absolute; left: 18px; top: 16px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--butter); border: 2.5px solid var(--ink); font-weight: 900; color: var(--ink); }
.case-steps strong { color: var(--ink); }

@media (max-width: 900px) {
  .case-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .case-ad, .case-ad--flip { grid-template-columns: 1fr; }
  .case-ad--flip .case-ad__video { order: 0; }
  .case-hero__stack { margin-top: 20px; }
}
@media (max-width: 560px) {
  .case-facts { grid-template-columns: 1fr; }
}
.case-hero .link-hand { display: flex; width: max-content; margin-bottom: 4px; }

/* =========================================================================
   L'USINE À PUBS — scène 1600 × 820 mise à l'échelle par le JS
   ========================================================================= */
.factory { position: relative; z-index: 1; padding-top: 10px; }
.factory__viewport {
  position: relative; overflow: hidden; margin-inline: auto; width: min(1400px, calc(100% - 2 * var(--gutter))); aspect-ratio: 1600 / 820;
  border-radius: clamp(20px, 3vw, 36px); border: var(--stroke) solid var(--cream-2); box-shadow: 10px 12px 0 rgba(0, 0, 0, .3);
  background: var(--cream);
}
.factory__stage { position: absolute; left: 0; top: 0; width: 1600px; height: 820px; transform-origin: 0 0; }
.factory__stage img { max-width: none; }
.f-part, .f-module, .f-mascot, .f-tube, .f-gauge, .f-smoke, .f-bulbs, .f-waves, .f-hearts { position: absolute; }
.f-part { height: auto; }
.f-module > img:first-child, .f-mascot > img:first-child, .f-gauge > img:first-child { display: block; width: 100%; height: auto; }

/* Décor */
.f-wall { position: absolute; left: 0; top: 0; width: 1600px; height: 600px;
  background: repeating-linear-gradient(90deg, rgba(43, 33, 64, .035) 0 2px, transparent 2px 120px), var(--cream); }
.f-floor { position: absolute; left: 0; top: 600px; width: 1600px; height: 220px; background: #F6DDB8; border-top: 4px solid var(--ink); }

/* Fumée */
.f-smoke img { position: absolute; width: 90px; left: -45px; top: -40px; opacity: 0; animation: f-smoke 4.5s ease-out infinite; animation-delay: calc(var(--i) * -0.9s); }
@keyframes f-smoke { 0% { transform: translate(0, 30px) scale(.3); opacity: 0; } 15% { opacity: 1; } 100% { transform: translate(70px, -230px) scale(1.35); opacity: 0; } }

/* Pistons */
.f-piston { animation: f-pump .7s ease-in-out infinite alternate; animation-delay: var(--d, 0s); }
@keyframes f-pump { to { transform: translateY(-30px); } }

/* Tuyaux en verre et liquide */
.f-tube__glass { position: absolute; inset: 0; width: 100%; height: 100%; }
.f-tube__flow { position: absolute; left: 9%; right: 9%; top: 30%; bottom: 30%; overflow: hidden; z-index: 1; }
.f-drop { position: absolute; top: 0; height: 100%; width: auto; left: -15%; animation: f-flow 3s linear infinite; animation-delay: calc(var(--i) * -0.5s); }
@keyframes f-flow { to { left: 110%; } }

/* Cadrans */
.f-needle { position: absolute; transform-origin: 50% 90%; animation: f-needle 2.2s ease-in-out infinite alternate; }
@keyframes f-needle { from { rotate: -55deg; } to { rotate: 60deg; } }

/* Ampoules qui tombent dans l'entonnoir */
.f-bulbs { left: 152px; top: 0; }
.f-bulbs img { position: absolute; width: 40px; left: 0; top: -60px; opacity: 0; animation: f-drop 3s cubic-bezier(.5, 0, .8, .4) infinite; animation-delay: calc(var(--i) * -1s); }
@keyframes f-drop { 0% { transform: translateY(0) rotate(-20deg); opacity: 0; } 10% { opacity: 1; } 80% { transform: translateY(300px) rotate(15deg); opacity: 1; } 100% { transform: translateY(330px) scale(.4); opacity: 0; } }

/* Machine à écrire */
.f-paper { animation: f-paper 1.2s ease-in-out infinite alternate; }
@keyframes f-paper { from { transform: translateY(14px); } to { transform: translateY(-18px); } }

/* Écran du storyboard */
.f-screen { position: absolute; left: 30%; top: 42%; width: 51%; height: 37%; overflow: hidden; border-radius: 8px; background: #FFF6E6; }
.f-screen img { position: absolute; left: 50%; top: 50%; height: 82%; width: auto; translate: -50% -50%; opacity: 0; animation: f-slide 6s steps(1) infinite; animation-delay: calc(var(--i) * 1s); }
@keyframes f-slide { 0% { opacity: 1; } 16.66% { opacity: 0; } }
.f-screen__scan { position: absolute; inset: 0; background: repeating-linear-gradient(0deg, rgba(43, 33, 64, .07) 0 2px, transparent 2px 5px); }

/* Levier */
.f-lever { transform-origin: 50% 100%; animation: f-lever 2.4s ease-in-out infinite alternate; }
@keyframes f-lever { from { rotate: -32deg; } to { rotate: 32deg; } }

/* Engrenages, hélice, roues */
.f-gear { position: absolute; width: 21%; top: 55%; translate: -50% -50%; animation: f-spin 4s linear infinite; }
.f-gear:nth-child(3) { animation-direction: reverse; animation-duration: 3s; }
.f-fan { position: absolute; width: 27%; left: 52%; top: 38%; translate: -50% -50%; animation: f-spin .9s linear infinite; }
.f-wheel { position: absolute; top: 588px; width: 46px; animation: f-spin 1.8s linear infinite; }
@keyframes f-spin { to { transform: rotate(360deg); } }

/* Voyants */
.f-light { position: absolute; top: 71%; width: 8%; translate: -50% -50%; }
.f-light img { display: block; width: 100%; height: auto; }
.f-light .on { position: absolute; width: 190%; left: -45%; top: -45%; opacity: 0; animation: f-blink 1.6s steps(1) infinite; animation-delay: calc(var(--i) * .4s); }
@keyframes f-blink { 0% { opacity: 1; } 50% { opacity: 0; } }

/* Antenne : ondes */
.f-waves img { position: absolute; left: 0; opacity: 0; animation: f-wave 1.5s ease-out infinite; animation-delay: calc(var(--i) * .25s); }
.f-waves img:nth-child(1) { width: 46px; top: 0; }
.f-waves img:nth-child(2) { width: 74px; top: -20px; }
.f-waves img:nth-child(3) { width: 102px; top: -42px; }
@keyframes f-wave { 0% { opacity: 0; transform: translate(-50%, 10px) scale(.7); } 40% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%, -16px) scale(1.08); } }

/* Smartphone et cœurs */
.f-phone__play { position: absolute; width: 44%; left: 50%; top: 42%; translate: -50% -50%; animation: f-pulse 1.4s ease-in-out infinite; }
@keyframes f-pulse { 50% { transform: scale(1.12) rotate(-4deg); } }
.f-hearts { width: 0; height: 0; opacity: 0; transition: opacity .5s; z-index: 4; }
.factory__stage[data-active="5"] .f-hearts { opacity: 1; }
.f-hearts img { position: absolute; width: 34px; left: -17px; opacity: 0; animation: f-heart 3s ease-out infinite; animation-delay: calc(var(--i) * -.5s); }
.f-hearts img:nth-child(odd) { --x: -60px; } .f-hearts img:nth-child(even) { --x: 55px; } .f-hearts img:nth-child(3n) { --x: 10px; }
@keyframes f-heart { 0% { opacity: 0; transform: translate(0, 0) scale(.4); } 15% { opacity: 1; } 100% { opacity: 0; transform: translate(var(--x), -220px) scale(1.15) rotate(15deg); } }

/* Tapis roulant */
.f-belt { position: absolute; left: 30px; top: 556px; width: 1540px; z-index: 3; }
.f-belt__top { display: block; height: 30px; border: 3px solid var(--ink); border-radius: 16px;
  background: repeating-linear-gradient(-45deg, var(--ink) 0 14px, var(--cream-2) 14px 28px); background-size: 40px 40px; animation: f-belt .6s linear infinite; }
.f-belt__frame { display: block; height: 26px; margin: -3px 14px 0; background: var(--tang); border: 3px solid var(--ink); border-radius: 0 0 14px 14px; }
@keyframes f-belt { to { background-position: 40px 0; } }
.f-wheel { z-index: 3; }

/* Objet qui voyage */
.f-traveler { position: absolute; left: 0; top: 488px; width: 68px; height: 68px; margin-left: -34px; z-index: 5; }
.f-traveler img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; opacity: 0; transform: scale(.5); transition: opacity .25s, transform .45s var(--ease-bounce); }
.f-traveler img.is-on { opacity: 1; transform: scale(1); }

/* Modules actifs et mascottes */
.f-zone { transition: filter .4s; }
.f-zone.is-active { filter: drop-shadow(0 0 22px rgba(255, 212, 92, .95)); }
.f-mascot { z-index: 6; transform-origin: 50% 100%; animation: f-idle 2.4s ease-in-out infinite alternate; }
.f-mascot.is-active { animation: f-hop .45s ease-in-out infinite alternate; }
@keyframes f-idle { to { transform: translateY(-5px); } }
@keyframes f-hop { from { transform: translateY(0) scale(1, 1); } to { transform: translateY(-16px) scale(.97, 1.04); } }
.f-bingo span { position: absolute; left: 16%; right: 14%; top: 9%; height: 22%; display: grid; place-items: center; text-align: center;
  font-family: var(--f-display); font-size: 13.5px; line-height: 1.05; color: var(--tomato); rotate: -5deg; }
.f-throw { z-index: 7; animation: f-throw 2.2s ease-in-out infinite; }
@keyframes f-throw { 0% { transform: translate(0, 0) scale(1); opacity: 0; } 10% { opacity: 1; } 60% { transform: translate(30px, -270px) scale(.85); } 100% { transform: translate(45px, -295px) scale(.3); opacity: 0; } }

/* Panneau des étapes sous l'usine */
.factory__panel { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 18px 30px;
  width: min(1400px, calc(100% - 2 * var(--gutter))); margin: 22px auto 0; }
.factory__steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.f-step { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 16px; align-items: center; color: var(--cream-2); }
.f-step img { width: 64px; height: 64px; object-fit: contain; }
.f-step__n { font-family: var(--f-hand); font-size: 1.25rem; color: var(--c); line-height: 1; }
.f-step h3 { font-family: var(--f-display); font-size: var(--step-2); margin: 4px 0 4px; }
.f-step p { color: #CFC6DC; max-width: 62ch; }
.factory__dots { display: flex; gap: 10px; }
.f-dot { width: 16px; height: 16px; padding: 0; border-radius: 50%; border: 2.5px solid var(--cream-2); background: transparent; cursor: pointer; transition: transform .3s var(--ease-bounce), background .2s; }
.f-dot.is-current { background: var(--butter); transform: scale(1.3); }

/* Avec le JS : une seule étape visible à la fois */
.is-live .factory__steps { grid-template-areas: "s"; }
.is-live .f-step { grid-area: s; opacity: 0; transform: translateY(14px); transition: opacity .35s, transform .45s var(--ease-bounce); pointer-events: none; }
.is-live .f-step.is-current { opacity: 1; transform: none; pointer-events: auto; }
.factory:not(.is-live) .factory__dots { display: none; }

@media (max-width: 900px) {
  .factory__viewport { border-radius: 0; border-inline: 0; box-shadow: none; }
  .factory__panel { grid-template-columns: 1fr; margin-top: 16px; }
  .f-step { grid-template-columns: 52px minmax(0, 1fr); }
  .f-step img { width: 52px; height: 52px; }
  .f-step p { font-size: .95rem; }
}

/* --- Usine : seule l'étape en cours s'anime --- */
.factory__stage [data-z], .factory__stage [data-z] * { animation-play-state: paused; }
.factory__stage .f-fx { opacity: 0; transition: opacity .4s; }
.factory__stage[data-active="0"] [data-z="0"], .factory__stage[data-active="0"] [data-z="0"] *,
.factory__stage[data-active="1"] [data-z="1"], .factory__stage[data-active="1"] [data-z="1"] *,
.factory__stage[data-active="2"] [data-z="2"], .factory__stage[data-active="2"] [data-z="2"] *,
.factory__stage[data-active="3"] [data-z="3"], .factory__stage[data-active="3"] [data-z="3"] *,
.factory__stage[data-active="4"] [data-z="4"], .factory__stage[data-active="4"] [data-z="4"] *,
.factory__stage[data-active="5"] [data-z="5"], .factory__stage[data-active="5"] [data-z="5"] * { animation-play-state: running; }
.factory__stage[data-active="0"] .f-fx[data-z="0"], .factory__stage[data-active="1"] .f-fx[data-z="1"],
.factory__stage[data-active="3"] .f-fx[data-z="3"], .factory__stage[data-active="4"] .f-fx[data-z="4"],
.factory__stage[data-active="5"] .f-fx[data-z="5"] { opacity: 1; }
.f-piston--b { --d: .35s; }
.f-mascot { animation: none; }
.f-mascot.is-active { animation: f-hop .45s ease-in-out infinite alternate; }

/* Tapis : piste crème, remplie d'arc-en-ciel au fil des étapes ; roues pilotées par le défilement */
.f-belt__top { position: relative; overflow: hidden; animation: none;
  background: repeating-linear-gradient(90deg, rgba(43, 33, 64, .18) 0 3px, transparent 3px 34px), var(--cream-2);
  background-position: var(--belt-x, 0) 0; }
.f-belt__fill { position: absolute; left: 0; top: 0; bottom: 0; width: var(--fill, 0px);
  background: linear-gradient(var(--lilac) 0 20%, var(--teal) 20% 40%, var(--butter) 40% 60%, var(--tang) 60% 80%, var(--tomato) 80% 100%);
  border-right: 3px solid var(--ink); }
.f-wheel { animation: none; transform: rotate(var(--wheel, 0deg)); }


/* --- Usine v3 : positions mesurées + apparition étape par étape --- */
.f-gears { position: absolute; left: 0; top: 0; }
.f-gears .f-gear { position: absolute; translate: none; animation: f-spin 4s linear infinite; animation-direction: normal; }
.f-gears .f-gear:nth-child(2) { animation-direction: reverse; animation-duration: 3s; }
.f-fan { width: 21%; left: 50%; top: 42.4%; }
.f-light { top: 68.6%; width: 6.6%; }
.f-screen { left: 31.2%; top: 48.6%; width: 37.1%; height: 31%; border-radius: 10px; }

.factory__stage [data-at] { opacity: 0; translate: 0 46px; scale: .7;
  transition: opacity .25s ease, translate .65s var(--ease-bounce), scale .65s var(--ease-bounce); }
.factory__stage[data-active="0"] [data-at="0"],
.factory__stage[data-active="1"] [data-at="0"],
.factory__stage[data-active="1"] [data-at="1"],
.factory__stage[data-active="2"] [data-at="0"],
.factory__stage[data-active="2"] [data-at="1"],
.factory__stage[data-active="2"] [data-at="2"],
.factory__stage[data-active="3"] [data-at="0"],
.factory__stage[data-active="3"] [data-at="1"],
.factory__stage[data-active="3"] [data-at="2"],
.factory__stage[data-active="3"] [data-at="3"],
.factory__stage[data-active="4"] [data-at="0"],
.factory__stage[data-active="4"] [data-at="1"],
.factory__stage[data-active="4"] [data-at="2"],
.factory__stage[data-active="4"] [data-at="3"],
.factory__stage[data-active="4"] [data-at="4"],
.factory__stage[data-active="5"] [data-at="0"],
.factory__stage[data-active="5"] [data-at="1"],
.factory__stage[data-active="5"] [data-at="2"],
.factory__stage[data-active="5"] [data-at="3"],
.factory__stage[data-active="5"] [data-at="4"],
.factory__stage[data-active="5"] [data-at="5"] { opacity: 1; translate: 0 0; scale: 1; }

/* Panneau de Bingo : texte aligné sur l'inclinaison mesurée du panneau (+8,7°) */
.f-bingo span { left: 51.7%; top: 22.2%; right: auto; width: 72%; height: auto; translate: -50% -50%; rotate: 8.7deg; font-size: 14px; }

/* Téléphone qui tombe de l'usine vers la section des prix */
.phone-drop { position: fixed; left: 0; top: 0; z-index: 90; pointer-events: none; height: auto; max-width: none; visibility: hidden;
  will-change: transform; filter: drop-shadow(6px 8px 0 rgba(43, 33, 64, .35)); }

/* ===== Animations GSAP en plus ===== */
.scroll-progress { position: fixed; left: 0; top: 0; width: 100%; height: 5px; z-index: 120; transform-origin: 0 50%; transform: scaleX(0); pointer-events: none;
  background: linear-gradient(90deg, var(--tomato), var(--tang), var(--butter), var(--teal), var(--lilac), var(--pink)); }
.section-title .wd, .cta-card h2 .wd, .pitch .wd { display: inline-block; will-change: transform; }
.btn { translate: calc(var(--mx, 0) * 1px) calc(var(--my, 0) * 1px); }
.cursor { position: fixed; left: 0; top: 0; z-index: 130; width: 18px; height: 18px; border-radius: 50%; background: var(--tomato); border: 2px solid var(--ink);
  pointer-events: none; display: grid; place-items: center; transition: background .25s; }
.cursor.is-link { background: var(--butter); }
.cursor.is-view { background: var(--butter); }
.cursor__label { font: 800 4px/1 var(--f-body); color: var(--ink); text-transform: uppercase; letter-spacing: .04em; opacity: 0; transition: opacity .2s; }
.cursor.is-view .cursor__label { opacity: 1; }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* ===== Usine verticale (mobile) ===== */
.factory__stage--v { display: none; }
@media (max-width: 899px) {
  .factory__stage--h { display: none; }
  .factory__stage--v { display: block; }
}
/* Le tapis et l'objet passent derrière les machines */
.factory__stage--v > * { z-index: 2; }
.factory__stage--v .f-wall { z-index: 0; }
.factory__stage--v .f-belt--v, .factory__stage--v .f-wheel, .factory__stage--v .f-traveler { z-index: 1; }
.factory__stage--v .f-hearts { z-index: 4; }
.factory__stage--v .f-mascot { z-index: 6; }
.factory__stage--v .f-wall { background: repeating-linear-gradient(0deg, rgba(43, 33, 64, .035) 0 2px, transparent 2px 120px), var(--cream); }
.f-belt--v { width: 30px; }
.f-belt--v .f-belt__top { width: 30px; height: 100%;
  background: repeating-linear-gradient(0deg, rgba(43, 33, 64, .18) 0 3px, transparent 3px 34px), var(--cream-2);
  background-position: 0 var(--belt-y, 0); }
.f-belt--v .f-belt__fill { right: 0; bottom: auto; width: auto; height: var(--fill, 0px); border-right: 0; border-bottom: 3px solid var(--ink);
  background: linear-gradient(90deg, var(--lilac) 0 20%, var(--teal) 20% 40%, var(--butter) 40% 60%, var(--tang) 60% 80%, var(--tomato) 80% 100%); }
.factory__stage--v .f-traveler { left: 300px; top: 0; }

/* ===== En-tête : bulle flottante quand on remonte ===== */
.site-header { transition: transform .5s cubic-bezier(.7, 0, .3, 1), background .3s, box-shadow .3s; }
.site-header.is-hidden { transform: translateY(-130%); }
.site-header.is-bubble { background: transparent; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; pointer-events: none; padding-top: calc(10px + env(safe-area-inset-top, 0px)); }
.site-header__inner { transition: height .45s cubic-bezier(.7, 0, .3, 1), padding .45s cubic-bezier(.7, 0, .3, 1), max-width .45s cubic-bezier(.7, 0, .3, 1), border-radius .45s, background .3s, box-shadow .3s; }
.site-header.is-bubble .site-header__inner {
  pointer-events: auto; max-width: 1080px; height: 64px; padding-inline: 14px 10px;
  background: rgba(255, 249, 238, .94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: var(--stroke) solid var(--ink); border-radius: 99px; box-shadow: 5px 6px 0 var(--ink);
}
.site-header .logo { transition: font-size .45s cubic-bezier(.7, 0, .3, 1); }
.site-header.is-bubble .logo { --size: 29px; font-size: var(--size); margin-left: 6px; }
.site-header.is-bubble .btn--header { min-height: 44px; }
@media (max-width: 900px) {
  .site-header.is-bubble .site-header__inner { width: calc(100% - 20px); height: 60px; padding-inline: 16px 6px; }
  .site-header.is-bubble .logo { --size: 27px; margin-left: 2px; }
  .site-header.is-bubble .burger { width: 44px; height: 44px; box-shadow: none; }
  .site-header.is-bubble .burger span { left: 10px; right: 10px; }
  .site-header.is-bubble .burger span:nth-child(1) { top: 13px; } .site-header.is-bubble .burger span:nth-child(2) { top: 19.5px; } .site-header.is-bubble .burger span:nth-child(3) { top: 26px; }
}
/* Menu mobile ouvert : barre normale */
.menu-open .site-header.is-bubble .site-header__inner { background: transparent; border-color: transparent; box-shadow: none; backdrop-filter: none; }

/* ===== Hero : vidéo de présentation 16:9 ===== */
.hero { min-height: 0; padding-bottom: clamp(90px, 11vw, 160px); }
.hero__inner { grid-template-columns: 1fr; align-items: start; gap: clamp(40px, 5vw, 70px); }
.hero__copy { grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); align-items: end; gap: 22px clamp(28px, 4vw, 70px); justify-items: stretch; }
.hero__head { display: grid; gap: clamp(16px, 2vw, 24px); justify-items: start; }
.hero__side { display: grid; gap: clamp(16px, 2vw, 22px); justify-items: start; padding-bottom: .5em; }
.hero__stage { aspect-ratio: auto; max-width: 1080px; width: calc(100% - clamp(60px, 10vw, 170px)); justify-self: center; }
.hero__stage > .screen { position: relative; z-index: 3; margin: 0; }
.screen { border: var(--stroke) solid var(--ink); border-radius: clamp(18px, 2.4vw, 30px); overflow: hidden; background: var(--cream-2);
  box-shadow: 12px 14px 0 var(--lilac), 12px 14px 0 3px var(--ink); rotate: -1deg; }
.screen__bar { display: flex; align-items: center; gap: 8px; padding: 10px 16px; border-bottom: var(--stroke) solid var(--ink); background: var(--cream-2); }
.screen__bar i { width: 13px; height: 13px; border-radius: 50%; border: 2px solid var(--ink); background: var(--tomato); }
.screen__bar i:nth-child(2) { background: var(--butter); } .screen__bar i:nth-child(3) { background: var(--teal); }
.screen__bar span { flex: 1; text-align: center; font-family: var(--f-hand); font-size: 1.1rem; margin-right: 50px; }
.screen__video { position: relative; aspect-ratio: 16 / 9; background: var(--butter); overflow: hidden; }
.screen__video video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.screen__placeholder { position: absolute; inset: 0; display: grid; place-items: center; overflow: hidden;
  background: radial-gradient(circle at 50% 50%, var(--cream-2) 0 26%, var(--butter) 26.5% 100%); }
.screen__rays { position: absolute; left: 50%; top: 50%; width: 140%; aspect-ratio: 1; translate: -50% -50%;
  background: repeating-conic-gradient(from 0deg, rgba(255, 165, 59, .4) 0 9deg, transparent 9deg 18deg); animation: spin 26s linear infinite; }
.screen__placeholder img { position: relative; width: 74%; margin-top: -4%; }
.screen__soon { position: absolute; left: 50%; bottom: 7%; translate: -50% 0; rotate: -2deg; white-space: nowrap;
  background: var(--ink); color: var(--cream-2); font-family: var(--f-hand); font-size: clamp(.95rem, 1.6vw, 1.3rem); padding: 6px 16px; border-radius: 99px; }
.screen__video.has-video .screen__placeholder { display: none; }
.screen__sound { position: absolute; right: 14px; bottom: 14px; z-index: 3; display: none; }
.screen__video.has-video .screen__sound { display: inline-flex; }
/* Décor autour de l'écran */
.stage-cloud { width: 15%; left: -9%; top: -13%; z-index: 1; }
.stage-sun { width: 14%; left: auto; right: -7%; top: -17%; z-index: 1; }
.stage-kiko { width: 17%; left: -10%; bottom: -13%; z-index: 5; }
.stage-plume { width: 12%; right: -9%; top: 24%; z-index: 5; }
.stage-bingo { width: 15%; right: -7%; bottom: -15%; z-index: 5; }
.stage-sticker-500 { width: 12%; left: -7%; top: 20%; z-index: 6; }
.stage-heart { width: 8%; right: 18%; top: -9%; z-index: 6; }
.stage-wow { width: 11%; left: 26%; bottom: -11%; z-index: 6; }
.stage-spark--1 { left: 12%; top: -9%; width: 4%; } .stage-spark--2 { right: 34%; bottom: -10%; width: 3.5%; } .stage-spark--3 { left: -4%; top: 64%; width: 3%; }
@media (max-width: 900px) {
  .hero__copy { grid-template-columns: 1fr; }
  .hero__stage { max-width: none; width: 84%; margin-top: 10px; }
  .screen__bar { padding: 7px 12px; } .screen__bar i { width: 10px; height: 10px; }
  .screen__bar span { font-size: .9rem; margin-right: 30px; }
  .screen__sound { right: 8px; bottom: 8px; min-height: 36px; padding: 6px 12px; font-size: .8rem; }
}
.hero__scroll { display: none; }

/* Image de couverture de la vidéo de présentation */
.screen__poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* Bandeaux : plus larges que l'écran et inclinés dans le même sens pour ne plus se croiser */
.marquee { left: -10%; width: 120%; }
.marquee--1 { top: 12%; rotate: -3deg; }
.marquee--2 { top: 56%; rotate: -1.2deg; }

/* Accueil : 3 pubs (grille de 3, carrousel horizontal sur mobile) */
.reels:not(.reels--page) { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 1000px; margin-inline: auto; }
.reels:not(.reels--page) .reel:nth-child(even) { margin-top: clamp(20px, 4vw, 60px); }
@media (max-width: 700px) {
  .reels:not(.reels--page) { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 16px;
    margin-inline: calc(-1 * var(--gutter)); padding: 18px var(--gutter) 24px; scrollbar-width: none; }
  .reels:not(.reels--page)::-webkit-scrollbar { display: none; }
  .reels:not(.reels--page) .reel { flex: 0 0 66%; scroll-snap-align: center; }
  .reels:not(.reels--page) .reel:nth-child(even) { margin-top: 0; }
}

/* ===== Articles : sommaire, astuce, promo, FAQ, tableau ===== */
.prose ol, .prose ul { color: var(--ink-soft); max-width: 68ch; padding-left: 1.3em; display: grid; gap: .5em; }
.prose li::marker { color: var(--tomato); font-weight: 800; }
.prose h2 { scroll-margin-top: calc(var(--header-h) + 30px); }
.toc { margin-top: 1.6em; padding: 20px 24px; border: var(--stroke) dashed var(--ink); border-radius: 22px; background: var(--cream-2); max-width: 68ch; width: 100%; }
.toc__title { font-family: var(--f-hand); font-size: 1.3rem; color: var(--ink) !important; }
.toc ol { margin-top: 8px; gap: 6px; }
.toc a { color: var(--ink); font-weight: 700; text-decoration: none; background: linear-gradient(var(--butter), var(--butter)) 0 100% / 0 40% no-repeat; transition: background-size .3s; }
.toc a:hover { background-size: 100% 40%; }

.tip { position: relative; display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: start; margin-block: 2.2em; padding: 22px 24px 22px 20px;
  background: var(--teal); border: var(--stroke) solid var(--ink); border-radius: 26px; box-shadow: 6px 7px 0 var(--ink); rotate: -.6deg; max-width: 72ch; width: 100%; }
.tip__icon { width: 60px; height: 60px; object-fit: contain; animation: bob 2.4s ease-in-out infinite; }
.tip__body { display: grid; gap: 6px; }
.tip__label { justify-self: start; font-family: var(--f-hand); font-size: 1.15rem; background: var(--cream-2); border: 2px solid var(--ink); border-radius: 99px; padding: 2px 14px; rotate: -3deg; }
.prose .tip__title { font-family: var(--f-display); font-size: var(--step-1); color: var(--ink); line-height: 1.1; }
.prose .tip p { color: var(--ink); }

.promo { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: center; gap: clamp(16px, 3vw, 34px); margin-block: 2.6em;
  padding: clamp(20px, 3vw, 34px); background: var(--ink); color: var(--cream-2); border-radius: 30px; box-shadow: 8px 9px 0 var(--c, var(--tang)), 8px 9px 0 3px var(--ink); width: 100%; max-width: 820px; }
.promo__art { display: grid; place-items: center; background: var(--c, var(--tang)); border-radius: 24px; border: var(--stroke) solid var(--cream-2); aspect-ratio: 1; padding: 10%; }
.promo__art img { width: 100%; }
.promo__body { display: grid; gap: 10px; justify-items: start; }
.promo__kicker { font-family: var(--f-hand); font-size: 1.2rem; color: var(--butter); }
.prose .promo__title { font-family: var(--f-display); font-size: var(--step-2); line-height: 1.05; color: var(--cream-2); }
.prose .promo__price { color: var(--cream-2); display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.promo__price strong { font-family: var(--f-display); font-weight: 400; font-size: var(--step-2); color: var(--butter) !important; }
.prose .promo__list { list-style: none; padding: 0; gap: 6px; color: var(--cream-2); }
.promo__list li { display: flex; gap: 10px; align-items: baseline; font-weight: 600; }
.promo__list li::before { content: "✓"; display: inline-grid; place-items: center; flex: 0 0 22px; height: 22px; border-radius: 50%; background: var(--c, var(--tang)); color: var(--ink); font-size: .75rem; font-weight: 900; }
.promo__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; margin-top: 6px; }
.promo .link-hand { color: var(--cream-2); }

.art-faq { display: grid; gap: 12px; max-width: 72ch; width: 100%; }
.art-faq__item { background: var(--cream-2); border: var(--stroke) solid var(--ink); border-radius: 20px; box-shadow: 4px 5px 0 var(--ink); overflow: hidden; }
.art-faq__item summary { cursor: pointer; list-style: none; padding: 16px 52px 16px 20px; font-weight: 800; position: relative; }
.art-faq__item summary::-webkit-details-marker { display: none; }
.art-faq__item summary::after { content: "+"; position: absolute; right: 16px; top: 50%; translate: 0 -50%; width: 28px; height: 28px; border-radius: 50%; border: 2.5px solid var(--ink); background: var(--butter); display: grid; place-items: center; font-weight: 900; transition: rotate .3s var(--ease-bounce); }
.art-faq__item[open] summary::after { rotate: 135deg; background: var(--tomato); }
.art-faq__item p { padding: 0 20px 18px; }

.table-scroll { overflow-x: auto; width: 100%; padding: 4px 8px 14px 0; }
.art-table { width: 100%; min-width: 560px; border-collapse: separate; border-spacing: 0; background: var(--cream-2); border: var(--stroke) solid var(--ink); border-radius: 20px; overflow: hidden; box-shadow: 5px 6px 0 var(--ink); }
.art-table th, .art-table td { padding: 12px 14px; text-align: left; border-bottom: 2px solid rgba(43, 33, 64, .12); vertical-align: top; color: var(--ink); }
.art-table thead th { background: var(--butter); border-bottom: var(--stroke) solid var(--ink); font-weight: 800; }
.art-table tbody tr:last-child > * { border-bottom: 0; }
@media (max-width: 700px) {
  .promo { grid-template-columns: 1fr; }
  .promo__art { width: 46%; justify-self: center; }
  .tip { grid-template-columns: 1fr; rotate: 0deg; }
  .tip__icon { width: 48px; height: 48px; }
}
.prose ul:not(.promo__list) { list-style: disc; } .prose ol { list-style: decimal; }

/* ===== Contact : onglets, agenda Cal.com, consentement ===== */
.page-hero__wave { bottom: clamp(16px, 3vw, 40px); width: min(560px, 40%); }
@media (max-width: 900px) { .page-hero__wave { display: none; } }
.contact-main { display: grid; gap: 18px; min-width: 0; }
.contact-tabs { display: flex; flex-wrap: wrap; gap: 10px; }
.contact-tab { font: 800 1rem var(--f-body); color: var(--ink); background: var(--cream-2); border: var(--stroke) solid var(--ink); border-radius: 99px;
  padding: 11px 20px; cursor: pointer; box-shadow: 3px 4px 0 var(--ink); transition: transform .3s var(--ease-bounce), background .2s; }
.contact-tab:hover { transform: translateY(-2px); }
.contact-tab[aria-selected="true"] { background: var(--butter); transform: rotate(-1.5deg); }
.booking { display: grid; gap: 10px; }
.booking__frame { min-height: 560px; background: var(--white); border: var(--stroke) solid var(--ink); border-radius: 28px; box-shadow: 6px 7px 0 var(--ink); overflow: hidden; padding: 8px; }
.booking__loading { display: grid; place-items: center; min-height: 540px; font-family: var(--f-hand); font-size: 1.3rem; color: var(--ink-soft); }
.booking__fallback { font-size: .95rem; color: var(--ink-soft); }
.consent { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; font-size: .92rem; color: var(--ink-soft); cursor: pointer; }
.consent input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--tomato); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
[hidden] { display: none !important; }
.booking__frame:has(iframe) .booking__loading { display: none; } .booking__frame:has(iframe) { min-height: 0; }

/* Contact : l'agenda prend toute la largeur pour s'afficher à l'horizontale */
.contact-grid { grid-template-columns: 1fr; }
.contact-main { max-width: 1100px; width: 100%; justify-self: center; }
#panel-msg .form { max-width: 760px; }
.contact-aside { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center; max-width: 1000px; width: 100%; justify-self: center; }
@media (max-width: 700px) { .contact-aside { grid-template-columns: 1fr; } }

/* Contact v2 : bandeau au-dessus de l'agenda, formulaire + mascottes côte à côte */
.booking-intro { display: grid; grid-template-columns: auto 1fr; gap: clamp(16px, 3vw, 32px); align-items: center; margin-bottom: 18px;
  padding: clamp(16px, 2.4vw, 26px); background: var(--butter); border: var(--stroke) solid var(--ink); border-radius: 28px; box-shadow: 6px 7px 0 var(--ink); }
.booking-intro__art { width: clamp(90px, 12vw, 150px); }
.booking-intro__text { display: grid; gap: 10px; }
.booking-intro__title { font-family: var(--f-display); font-size: var(--step-2); line-height: 1.05; }
.booking-intro__chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; }
.booking-intro__chips li { background: var(--cream-2); border: 2.5px solid var(--ink); border-radius: 99px; padding: 5px 14px; font-weight: 800; font-size: .92rem; }
.contact-msg { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(24px, 4vw, 60px); align-items: start; }
#panel-msg .form { max-width: none; }
.contact-msg .contact-aside { grid-template-columns: 1fr; max-width: none; }
@media (max-width: 800px) {
  .contact-msg { grid-template-columns: 1fr; }
  .booking-intro { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .booking-intro__chips { justify-content: center; }
}

/* Onglets contact : pastille animée */
.contact-tabs { position: relative; }
.contact-tabs__pill { position: absolute; left: 0; top: 0; z-index: 0; border-radius: 99px; background: var(--butter); border: var(--stroke) solid var(--ink); box-shadow: 3px 4px 0 var(--ink); pointer-events: none; }
.contact-tabs.has-pill .contact-tab { position: relative; z-index: 1; }
.contact-tabs.has-pill .contact-tab[aria-selected="true"] { background: transparent; border-color: transparent; box-shadow: none; transform: none; }

/* ===== Page 404 ===== */
.notfound { position: relative; overflow: hidden; min-height: 100svh; padding: calc(var(--header-h) + 40px) var(--gutter) 80px;
  background: radial-gradient(circle at 50% 38%, var(--cream-2) 0 22%, transparent 22.5%), repeating-conic-gradient(from 0deg at 50% 38%, rgba(255, 212, 92, .28) 0 8deg, transparent 8deg 16deg), var(--cream); }
.notfound__inner { position: relative; z-index: 2; display: grid; gap: clamp(14px, 2vw, 22px); justify-items: center; text-align: center; max-width: 900px; margin-inline: auto; }
.logo--404 { --size: clamp(120px, 24vw, 280px); margin-block: -10px -20px; }
.nf-kiko { position: relative; width: min(260px, 60vw); margin-top: -10px; }
.nf-kiko img { width: 100%; }
.nf-bubble { position: absolute; top: 2%; right: -36%; background: var(--white); border: var(--stroke) solid var(--ink); border-radius: 22px 22px 22px 4px;
  padding: 8px 14px; font-family: var(--f-hand); font-size: 1.25rem; white-space: nowrap; box-shadow: 3px 4px 0 var(--ink); rotate: 6deg; animation: bob 2.2s ease-in-out infinite; }
.notfound__title { font-family: var(--f-display); font-size: var(--step-4); line-height: 1.02; }
.notfound .section-lead { max-width: 36em; }
.nf-links { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; width: 100%; margin-block: 6px 8px; }
.nf-link { display: grid; grid-template-columns: 52px 1fr; gap: 10px; align-items: center; text-align: left; text-decoration: none; padding: 12px 14px;
  background: var(--c); border: var(--stroke) solid var(--ink); border-radius: 20px; box-shadow: 4px 5px 0 var(--ink); transition: transform .35s var(--ease-bounce), box-shadow .35s; }
.nf-link:nth-child(odd) { rotate: -1.5deg; } .nf-link:nth-child(even) { rotate: 1.2deg; }
.nf-link:hover { transform: translateY(-5px) rotate(-2deg); box-shadow: 7px 9px 0 var(--ink); }
.nf-link img { width: 52px; height: 52px; object-fit: contain; transition: transform .4s var(--ease-bounce); }
.nf-link:hover img { transform: rotate(-12deg) scale(1.12); }
.nf-link strong { display: block; font-weight: 800; }
.nf-link small { color: var(--ink); opacity: .75; font-weight: 600; }
.nf-deco { position: absolute; z-index: 1; pointer-events: none; }
.nf-deco--1 { width: clamp(90px, 12vw, 170px); left: 5%; top: 18%; }
.nf-deco--2 { width: clamp(80px, 10vw, 150px); right: 6%; top: 22%; }
.nf-deco--3 { width: 46px; left: 18%; bottom: 20%; animation: twinkle 2.4s ease-in-out infinite; }
.nf-deco--4 { width: 38px; right: 16%; bottom: 30%; animation: twinkle 2.8s ease-in-out infinite .6s; }
.nf-deco--5 { width: clamp(80px, 9vw, 130px); right: 9%; bottom: 10%; }
@media (max-width: 800px) {
  .nf-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nf-bubble { right: -20%; font-size: 1.05rem; }
  .nf-deco--1, .nf-deco--2, .nf-deco--3, .nf-deco--4, .nf-deco--5 { display: none; }
}
@media (max-width: 420px) { .nf-links { grid-template-columns: 1fr; } }
.nf-deco--3, .nf-deco--4 { height: auto; max-width: 46px; }
.logo--404 .logo__layer--shadow .logo__eye { visibility: hidden; }
.nf-deco--5 { right: auto; left: 5%; bottom: 6%; }

/* Hero mobile : la vidéo prend toute la largeur, décor allégé, bouton son compact */
.screen__sound { gap: 8px; align-items: center; }
@media (max-width: 700px) {
  .hero__stage { width: 100%; max-width: none; margin-top: 18px; justify-self: stretch; }
  .screen { rotate: 0deg; border-radius: 18px; box-shadow: 6px 7px 0 var(--lilac), 6px 7px 0 3px var(--ink); }
  .screen__bar { padding: 6px 10px; } .screen__bar span { font-size: .8rem; }
  .stage-cloud, .stage-sun, .stage-plume, .stage-sticker-500, .stage-heart, .stage-spark { display: none; }
  .stage-kiko { width: 20%; left: -3%; bottom: -16%; }
  .stage-bingo { width: 18%; right: -2%; bottom: -17%; }
  .stage-wow { width: 15%; left: 40%; bottom: -14%; }
  .screen__sound { right: 8px; bottom: 8px; width: 42px; height: 42px; min-height: 0; padding: 0; justify-content: center; border-radius: 50%; font-size: 1.1rem; box-shadow: 2px 3px 0 var(--ink); }
  .screen__sound-txt { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .hero { padding-bottom: 90px; }
}
