/* KRONO MENU — site vitrine.
   Une seule famille (Archivo, auto-hébergée), photographie réelle, sections sombres et claires alternées,
   animations au défilement (voir /static/js/site.js) avec repli complet sans JavaScript et en « réduire les animations ». */

@font-face { font-family: 'Archivo'; src: url('/fonts/archivo-400-normal.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Archivo'; src: url('/fonts/archivo-500-normal.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Archivo'; src: url('/fonts/archivo-600-normal.woff2') format('woff2'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Archivo'; src: url('/fonts/archivo-700-normal.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Archivo'; src: url('/fonts/archivo-800-normal.woff2') format('woff2'); font-weight: 800; font-style: normal; font-display: swap; }
@font-face { font-family: 'Archivo'; src: url('/fonts/archivo-400-italic.woff2') format('woff2'); font-weight: 400; font-style: italic; font-display: swap; }

:root {
  --ink: #1d1d1f;
  --ink-2: #6e6e73;
  --ink-3: #86868b;
  --bg: #ffffff;
  --gray: #f5f5f7;
  --warm: #f3eee6;
  --dark: #05070c;
  --dark-2: #0e131e;
  --dark-3: #171d2a;
  --on-dark: #f5f5f7;
  --on-dark-2: #a1a1a6;
  --navy: #14213d;
  --orange: #e8742c;
  --orange-soft: #f39a5b;
  --cta: #c2551a;
  --cta-hover: #a8460f;
  --line: rgba(0, 0, 0, .1);
  --line-dark: rgba(255, 255, 255, .12);
  --r-lg: 28px;
  --r-md: 18px;
  --r-sm: 10px;
  --ease: cubic-bezier(.2, .75, .15, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
  --font: 'Archivo', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --wrap: 1200px;
  --gutter: clamp(20px, 4.5vw, 44px);
  --header: 52px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header) + 16px); }
body {
  margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.5; color: var(--ink); background: var(--bg);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility;
  letter-spacing: -.011em; overflow-x: clip;
}
img, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; letter-spacing: -.03em; line-height: 1.08; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 4px; }
::selection { background: rgba(232, 116, 44, .28); }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: calc(780px + var(--gutter) * 2); }
.center { text-align: center; }
.center .lead, .center.lead { margin-left: auto; margin-right: auto; }
.muted { color: var(--ink-2); }
.small { font-size: 14px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: #fff; color: var(--ink); padding: 10px 16px; border-radius: 999px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 10px; }

/* ------------------------------------------------------------------ typographie */
.display { font-size: clamp(40px, 6.2vw, 84px); font-weight: 700; letter-spacing: -.038em; line-height: 1.02; }
.lead { margin-top: 22px; font-size: clamp(18px, 1.55vw, 22px); line-height: 1.45; color: var(--ink-2); max-width: 46ch; letter-spacing: -.015em; }
.soft { color: var(--ink-3); }
.eyebrow { font-size: 17px; font-weight: 600; color: var(--orange); letter-spacing: -.01em; margin-bottom: 14px; }

/* ------------------------------------------------------------------ boutons et liens */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 11px 22px;
  border-radius: 999px; border: 1px solid transparent; font-size: 16px; font-weight: 600; letter-spacing: -.01em; line-height: 1.2;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--cta); color: #fff; }
.btn-primary:hover { background: var(--cta-hover); }
.btn-outline, .btn-ghost { background: transparent; color: var(--ink); border-color: rgba(0, 0, 0, .22); }
.btn-outline:hover, .btn-ghost:hover { border-color: var(--ink); }
.btn-lg { min-height: 52px; padding: 14px 30px; font-size: 17px; }
.btn-sm { min-height: 32px; padding: 6px 14px; font-size: 13px; }
.btn-block { display: flex; width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; }
.link-arrow { display: inline-flex; align-items: center; gap: 4px; color: var(--cta); font-weight: 500; text-decoration: none; font-size: 17px; }
.link-arrow::after { content: '›'; font-size: 1.3em; line-height: 1; transform: translateY(-1px); transition: transform .3s var(--ease); }
.link-arrow:hover { text-decoration: underline; text-underline-offset: 3px; }
.link-arrow:hover::after { transform: translate(3px, -1px); }
.link-arrow.on-dark, .sec-dark .link-arrow { color: var(--orange-soft); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; margin-top: 34px; }
.actions.center { justify-content: center; }
.pill { display: inline-block; padding: 2px 8px; border-radius: 999px; background: rgba(232, 116, 44, .14); color: var(--cta); font-size: 12px; font-weight: 600; }

/* ------------------------------------------------------------------ en-tête */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header); color: var(--on-dark);
  background: rgba(12, 14, 20, .72); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent; transition: border-color .3s var(--ease), background-color .3s var(--ease);
}
.site-header.is-scrolled { border-bottom-color: rgba(255, 255, 255, .08); background: rgba(12, 14, 20, .8); }
.header-row { display: flex; align-items: center; justify-content: space-between; height: 100%; gap: 24px; }
.brand { display: inline-flex; text-decoration: none; color: inherit; }
.logo { display: inline-flex; align-items: center; gap: 10px; }
.logo-mark svg { display: block; border-radius: 7px; }
.logo-text { font-weight: 800; font-size: 15px; letter-spacing: .04em; }
.logo-text em { font-style: normal; font-weight: 500; color: var(--orange-soft); }
.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav ul { display: flex; gap: 26px; }
.main-nav ul a { font-size: 13px; color: rgba(245, 245, 247, .8); text-decoration: none; transition: color .2s; }
.main-nav ul a:hover, .main-nav ul a[aria-current="page"] { color: #fff; }
.nav-cta { display: flex; align-items: center; gap: 18px; }
.nav-login { font-size: 13px; color: rgba(245, 245, 247, .8); text-decoration: none; }
.nav-login:hover { color: #fff; }
.nav-toggle { display: none; width: 44px; height: 44px; margin-right: -12px; border: 0; background: transparent; color: inherit; cursor: pointer; position: relative; }
.nav-toggle span { position: absolute; left: 14px; right: 14px; height: 1.5px; background: currentColor; border-radius: 2px; transition: transform .35s var(--ease); }
.nav-toggle span:first-child { top: 18px; }
.nav-toggle span:last-child { top: 25px; }
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .main-nav {
    position: fixed; inset: var(--header) 0 auto 0; height: calc(100dvh - var(--header)); flex-direction: column; align-items: stretch; gap: 0;
    padding: 18px var(--gutter) 40px; background: rgba(8, 10, 15, .97); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
    visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity .35s var(--ease), transform .35s var(--ease), visibility 0s .35s; overflow-y: auto;
  }
  .main-nav.is-open { visibility: visible; opacity: 1; transform: none; transition: opacity .35s var(--ease), transform .35s var(--ease); }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav ul a { display: block; padding: 14px 0; font-size: 28px; font-weight: 600; letter-spacing: -.03em; color: #fff; border-bottom: 1px solid var(--line-dark); }
  .nav-cta { margin-top: 28px; justify-content: space-between; }
  .nav-login { font-size: 17px; }
  .nav-cta .btn-sm { min-height: 44px; padding: 10px 22px; font-size: 16px; }
}

/* ------------------------------------------------------------------ sections */
.sec-dark { background: var(--dark); color: var(--on-dark); }
.sec-dark .lead { color: var(--on-dark-2); }
.sec-dark .soft { color: #6e6e73; }
.sec-light { background: var(--bg); }
.sec-gray { background: var(--gray); }
.sec-warm { background: var(--warm); }
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section-tint { background: var(--gray); }
.section h2 { font-size: clamp(28px, 3.4vw, 44px); letter-spacing: -.035em; }

/* apparition au défilement : sans JavaScript tout est visible */
.js .rv { opacity: 0; transform: translateY(36px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); transition-delay: var(--d, 0s); }
.js .rv.in { opacity: 1; transform: none; }
@keyframes rise { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }
.hero .rv, .page-head .rv { opacity: 1; transform: none; animation: rise 1.1s var(--ease) both; animation-delay: calc(var(--d, 0s) + .1s); }

/* ------------------------------------------------------------------ en-tête de page (pages intérieures) */
.page-head { background: var(--dark); color: var(--on-dark); padding: clamp(90px, 13vw, 170px) 0 clamp(64px, 8vw, 110px); position: relative; overflow: hidden; }
.page-head::before { content: ''; position: absolute; inset: -40% -10% auto auto; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px; background: radial-gradient(closest-side, rgba(232, 116, 44, .2), transparent 70%); pointer-events: none; }
.page-head .wrap { position: relative; }
.page-head h1 { font-size: clamp(44px, 7vw, 96px); letter-spacing: -.042em; line-height: 1; max-width: 16ch; }
.page-head .lead { color: var(--on-dark-2); max-width: 52ch; }

/* ------------------------------------------------------------------ téléphone (vrai menu en iframe) */
.phone {
  --w: 300; position: relative; flex: none; width: calc(var(--w) * 1px); height: calc(var(--w) * 2.06px);
  padding: 10px; border-radius: calc(var(--w) * .165px); background: #0c0c0e;
  box-shadow: inset 0 0 0 1.5px #3a3a3e, inset 0 0 0 4px #121214, 0 50px 100px -30px rgba(0, 0, 0, .55), 0 30px 60px -40px rgba(0, 0, 0, .5);
}
.phone::before { content: ''; position: absolute; z-index: 3; top: 19px; left: 50%; width: 30%; height: calc(var(--w) * .085px); max-height: 28px; transform: translateX(-50%); background: #000; border-radius: 99px; }
.phone-screen { position: relative; width: 100%; height: 100%; overflow: hidden; border-radius: calc(var(--w) * .135px); background: #fff; isolation: isolate; }
.phone-screen iframe {
  position: absolute; top: 0; left: 0; border: 0; width: 390px; max-width: none;
  height: calc((var(--w) * 2.06 - 20) * 390 / (var(--w) - 20) * 1px);
  transform: scale(calc((var(--w) - 20) / 390)); transform-origin: 0 0; background: #fff;
}

/* ------------------------------------------------------------------ accueil : ouverture */
.is-home .site-header { background: rgba(12, 14, 20, .38); }
.is-home .site-header.is-scrolled { background: rgba(12, 14, 20, .8); }
.hero { position: relative; margin-top: calc(var(--header) * -1); min-height: max(680px, 100svh); color: #fff; background: #07080b; overflow: hidden; display: flex; }
.hero-media { position: absolute; inset: 0; animation: kenburns 16s var(--ease) both; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; transform: scale(calc(1 + var(--p, 0) * .12)); transform-origin: 50% 35%; will-change: transform; }
.hero-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5, 7, 12, .88) 0%, rgba(5, 7, 12, .62) 42%, rgba(5, 7, 12, .25) 75%, rgba(5, 7, 12, .45) 100%), linear-gradient(0deg, rgba(5, 7, 12, .95) 0%, rgba(5, 7, 12, 0) 38%); }
@keyframes kenburns { from { transform: scale(1.14); filter: brightness(.6); } to { transform: scale(1.02); filter: none; } }
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); align-items: center; gap: 40px; padding-top: calc(var(--header) + 48px); padding-bottom: 64px; opacity: calc(1 - var(--p, 0) * 1.6); transform: translateY(calc(var(--p, 0) * -80px)); }
.hero-name { font-size: 17px; font-weight: 600; color: var(--orange-soft); letter-spacing: .02em; }
.hero h1 { margin-top: 14px; font-size: clamp(54px, 8.2vw, 116px); font-weight: 700; letter-spacing: -.04em; word-spacing: .04em; line-height: .96; }
.hero-lead { margin-top: 26px; max-width: 36ch; font-size: clamp(18px, 1.5vw, 21px); line-height: 1.45; color: rgba(245, 245, 247, .82); }
.hero-note { margin-top: 22px; font-size: 13px; color: rgba(245, 245, 247, .6); }
.hero-device { justify-self: center; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.phone-hero { --w: 316; animation: float 7s ease-in-out 1.4s infinite; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.device-caption { font-size: 13px; color: rgba(245, 245, 247, .62); text-align: center; max-width: 30ch; }

/* manifeste */
.intro { padding: clamp(90px, 13vw, 180px) 0; }
.intro-text { font-size: clamp(28px, 3.7vw, 52px); font-weight: 600; line-height: 1.12; letter-spacing: -.035em; max-width: 24ch; }
.intro-text span { color: #6e6e73; }

/* ------------------------------------------------------------------ accueil : trois cuisines (section collante) */
.story { --n: 3; position: relative; height: calc(var(--n) * 90vh + 10vh); background: var(--story-bg, #1d1a16); color: var(--story-fg, #f5f5f7); transition: background-color .9s var(--ease), color .9s var(--ease); }
.story-sticky { position: sticky; top: 0; height: 100vh; display: flex; align-items: center; overflow: hidden; }
.story-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: clamp(32px, 6vw, 96px); }
.story-title { font-size: clamp(40px, 5.2vw, 72px); letter-spacing: -.045em; line-height: 1; }
.story-steps { display: grid; margin-top: clamp(28px, 4vh, 48px); }
.story-step { grid-area: 1 / 1; opacity: 0; transform: translateY(24px); transition: opacity .6s var(--ease), transform .8s var(--ease); pointer-events: none; }
.story-step.is-active { opacity: 1; transform: none; pointer-events: auto; transition-delay: .12s; }
.story-cover { width: min(100%, 460px); aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--r-md); margin-bottom: 26px; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .5); }
.story-kind { font-size: 15px; font-weight: 600; opacity: .62; }
.story-step h3 { margin-top: 6px; font-size: clamp(28px, 3vw, 40px); letter-spacing: -.035em; }
.story-step p:not(.story-kind) { margin-top: 12px; max-width: 42ch; font-size: 18px; line-height: 1.5; opacity: .8; }
.story-step .link-arrow { margin-top: 18px; color: inherit; font-weight: 600; }
.story-dots { display: flex; gap: 8px; margin-top: 34px; }
.story-dots span { width: 8px; height: 8px; border-radius: 99px; background: currentColor; opacity: .25; transition: width .5s var(--ease), opacity .5s; }
.story-dots span.is-active { width: 28px; opacity: .9; }
.phone-story { --w: 330; }
.phone-story iframe { opacity: 0; transition: opacity .7s var(--ease); }
.phone-story iframe.is-active { opacity: 1; z-index: 1; }

/* ------------------------------------------------------------------ accueil : bandeau de plats */
.reel-sec { padding: clamp(90px, 12vw, 160px) 0 clamp(70px, 9vw, 120px); overflow: hidden; }
.reel { margin-top: clamp(44px, 6vw, 72px); -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.reel-track { display: flex; gap: 20px; width: max-content; animation: marquee 70s linear infinite; }
.reel:hover .reel-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(calc(-50% - 10px)); } }
.dish { margin: 0; width: clamp(220px, 22vw, 290px); }
.dish img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r-md); background: var(--dark-3); transition: transform .8s var(--ease); }
.dish:hover img { transform: scale(1.03); }
.dish figcaption { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; margin-top: 14px; }
.dish-name { font-weight: 600; font-size: 16px; letter-spacing: -.015em; }
.dish-price { grid-row: 1 / span 2; grid-column: 2; font-weight: 600; font-size: 15px; color: var(--orange-soft); font-variant-numeric: tabular-nums; }
.dish-meta { font-size: 13px; color: var(--on-dark-2); }

/* ------------------------------------------------------------------ accueil : carte en direct */
.live { padding: clamp(90px, 12vw, 160px) 0; }
.live-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(24px, 4vw, 56px); margin-top: clamp(44px, 6vw, 72px); align-items: stretch; }
.live-card { background: #fff; border-radius: var(--r-lg); padding: 28px; box-shadow: 0 1px 0 var(--line), 0 40px 80px -40px rgba(20, 33, 61, .28), 0 0 0 1px var(--line); }
.live-head { display: flex; justify-content: space-between; align-items: center; font-size: 14px; font-weight: 600; color: var(--ink-2); padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.live-dot { display: inline-flex; align-items: center; gap: 7px; color: #1f8a4c; }
.live-dot::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: #22a55a; box-shadow: 0 0 0 0 rgba(34, 165, 90, .5); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(34, 165, 90, 0); } 100% { box-shadow: 0 0 0 0 rgba(34, 165, 90, 0); } }
.live-row { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; align-items: center; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); transition: opacity .6s var(--ease); }
.live-row img { width: 64px; height: 64px; object-fit: cover; border-radius: 14px; }
.live-info { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.live-info strong { font-size: 17px; font-weight: 600; letter-spacing: -.015em; }
.live-price { font-size: 15px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.flip { position: relative; display: inline-grid; height: 1.5em; overflow: hidden; vertical-align: bottom; }
.flip span { grid-area: 1 / 1; transition: transform .7s var(--ease), opacity .7s var(--ease); }
.flip span:last-child { transform: translateY(100%); opacity: 0; color: var(--cta); font-weight: 600; }
.live-card.in .flip span:first-child { transform: translateY(-100%); opacity: 0; transition-delay: 1.3s; }
.live-card.in .flip span:last-child { transform: none; opacity: 1; transition-delay: 1.3s; }
.sold { display: inline-block; width: fit-content; max-height: 0; opacity: 0; overflow: hidden; font-size: 12px; font-weight: 600; color: #b42318; background: #fde8e6; border-radius: 99px; padding: 0 9px; transition: max-height .6s var(--ease) 2.4s, opacity .6s var(--ease) 2.4s, padding .6s var(--ease) 2.4s, margin .6s var(--ease) 2.4s; }
.live-card.in .sold { max-height: 24px; opacity: 1; padding: 2px 9px; margin: 3px 0; }
.switch { position: relative; width: 46px; height: 28px; border-radius: 99px; background: #34c759; transition: background-color .4s var(--ease); }
.switch span { position: absolute; top: 2px; left: 20px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 2px 4px rgba(0, 0, 0, .2); transition: left .4s var(--ease); }
.live-card.in .will-off { background: #d1d1d6; transition-delay: 2.2s; }
.live-card.in .will-off span { left: 2px; transition-delay: 2.2s; }
.live-card.in .live-row-1 img, .live-card.in .live-row-1 strong { opacity: .45; transition: opacity .6s var(--ease) 2.3s; }
.live-foot { margin-top: 16px; font-size: 13px; color: var(--ink-3); }

.tent-stage { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px; padding: 44px 24px 32px; border-radius: var(--r-lg); background: radial-gradient(120% 80% at 50% 0%, #2a2018 0%, #17120d 70%); overflow: hidden; }
.tent-stage::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 34%; background: linear-gradient(180deg, #5a3d29, #3b2819); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1); }
.tent { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 14px; width: min(250px, 80%); padding: 26px 22px 22px; border-radius: 14px 14px 6px 6px; background: linear-gradient(180deg, #16243f, #0e1830); color: #f3e6c8; box-shadow: 0 40px 50px -20px rgba(0, 0, 0, .7), inset 0 1px 0 rgba(255, 255, 255, .08); transform: perspective(900px) rotateX(8deg); }
.tent-table { font-size: 13px; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: #d6b878; }
.tent-qr { width: 100%; padding: 12px; background: #fff; border-radius: 12px; }
.tent-qr svg { width: 100%; height: auto; }
.tent-hint { font-size: 12px; color: rgba(243, 230, 200, .75); text-align: center; }
.tent-caption { position: relative; z-index: 1; font-size: 13px; color: rgba(255, 255, 255, .78); text-align: center; max-width: 34ch; }

/* ------------------------------------------------------------------ accueil : tuiles */
.bento-sec { padding: clamp(90px, 12vw, 160px) 0; }
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px; margin-top: clamp(44px, 6vw, 72px); }
.tile {
  --mx: 50%; --my: 0%; position: relative; grid-column: span 2; display: flex; flex-direction: column; gap: 12px; min-height: 340px; padding: 34px;
  border-radius: var(--r-lg); background: #fff; overflow: hidden; isolation: isolate;
}
.tile::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(500px circle at var(--mx) var(--my), rgba(232, 116, 44, .08), transparent 45%); opacity: 0; transition: opacity .4s; }
.tile:hover::before { opacity: 1; }
.tile h3 { font-size: clamp(24px, 2.3vw, 32px); letter-spacing: -.035em; line-height: 1.08; }
.tile p { color: var(--ink-2); font-size: 16px; max-width: 40ch; }
.tile-wide { grid-column: span 4; }
.tile-dark { background: var(--dark-2); color: var(--on-dark); }
.tile-dark p { color: var(--on-dark-2); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 20px; }
.chips li { padding: 8px 14px; border-radius: 99px; font-size: 14px; font-weight: 500; background: var(--gray); color: var(--ink-2); transition: background-color .5s var(--ease), color .5s var(--ease), transform .5s var(--ease); transition-delay: calc(var(--i) * 70ms + .3s); }
.tile-allergens.in .chips li { background: var(--navy); color: #fff; }
.tile-allergens.in .chips li:nth-child(3n + 2) { background: #fde7d8; color: #8a3a0e; }

.cycle { position: relative; display: grid; margin-top: auto; min-height: 120px; align-items: end; }
.cycle li { grid-area: 1 / 1; font-size: clamp(26px, 2.4vw, 34px); font-weight: 600; letter-spacing: -.03em; line-height: 1.1; opacity: 0; transform: translateY(20px); filter: blur(6px); transition: opacity .6s var(--ease), transform .7s var(--ease), filter .6s var(--ease); }
.cycle li.is-on { opacity: 1; transform: none; filter: none; }
.cycle-lang { display: block; margin-bottom: 8px; font-size: 13px; font-weight: 700; letter-spacing: .14em; color: var(--orange-soft); }

.bars { display: flex; align-items: flex-end; gap: 10px; height: 120px; margin-top: auto; }
.bars span { flex: 1; height: var(--h); border-radius: 8px 8px 3px 3px; background: linear-gradient(180deg, var(--orange), #f6b383); transform: scaleY(.04); transform-origin: bottom; transition: transform 1s var(--ease); transition-delay: calc(var(--i) * 80ms + .2s); }
.bars span:nth-last-child(2) { background: linear-gradient(180deg, var(--navy), #4a5b80); }
.tile-stats.in .bars span { transform: none; }
.bars-legend { display: flex; justify-content: space-between; font-size: 12px; color: var(--ink-3); }

.tile-photo { padding: 0; min-height: 380px; background: #000; color: #fff; }
.tile-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.tile-photo:hover img { transform: scale(1.04); }
.tile-order { grid-column: span 4; }
.tile-over { position: relative; margin-top: auto; padding: 34px; background: linear-gradient(0deg, rgba(0, 0, 0, .78), transparent); }
.tile-over p { color: rgba(255, 255, 255, .82); margin-top: 8px; }

.stamps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin: auto 0 4px; max-width: 280px; }
.stamps span { aspect-ratio: 1; border-radius: 50%; border: 2px dashed #d2d2d7; }
.stamps span.on { border: 0; background: var(--orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 56% no-repeat; transform: scale(0); transition: transform .5s cubic-bezier(.3, 1.6, .5, 1); transition-delay: calc(var(--i) * 110ms + .3s); }
.tile-loyalty.in .stamps span.on { transform: none; }

.slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: auto; }
.slots li { padding: 10px 0; text-align: center; border-radius: 12px; font-size: 15px; font-weight: 600; background: var(--gray); font-variant-numeric: tabular-nums; }
.slots li.is-full { color: #b0b0b5; text-decoration: line-through; background: transparent; box-shadow: inset 0 0 0 1px var(--line); }
.slots li.is-pick { transition: background-color .5s var(--ease) .9s, color .5s var(--ease) .9s; }
.tile-resa.in .slots li.is-pick { background: var(--cta); color: #fff; }

.swatches { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-top: auto; }
.swatches span { aspect-ratio: 1; border-radius: 14px; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .08); transform: translateY(14px) scale(.9); opacity: 0; transition: transform .7s var(--ease), opacity .7s var(--ease); transition-delay: calc(var(--i) * 60ms + .2s); }
.tile-themes.in .swatches span { transform: none; opacity: 1; }

/* ------------------------------------------------------------------ accueil : espace restaurateur */
.app-show { padding: clamp(90px, 12vw, 160px) 0; overflow: hidden; }
.app-head { text-align: center; }
.app-head .lead { margin-left: auto; margin-right: auto; }
.app-frame-wrap { margin-top: clamp(44px, 6vw, 80px); padding: 0 var(--gutter); perspective: 1600px; }
.app-frame {
  margin: 0 auto; max-width: 1180px; padding: 10px; border-radius: 22px; background: linear-gradient(180deg, #2a2d34, #15171c);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .08), 0 80px 140px -50px rgba(232, 116, 44, .35), 0 60px 100px -40px rgba(0, 0, 0, .8);
  transform: rotateX(calc(14deg - min(var(--p, 0) * 2.4, 1) * 14deg)) scale(calc(.86 + min(var(--p, 0) * 2.4, 1) * .14)); transform-origin: 50% 0;
}
.app-frame img { width: 100%; border-radius: 13px; background: #0e1015; }
.app-points { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; margin-top: clamp(44px, 6vw, 72px); }
.app-points li { font-size: 15px; color: var(--on-dark-2); line-height: 1.5; }
.app-points strong { display: block; margin-bottom: 6px; color: #fff; font-size: 17px; font-weight: 600; }

/* ------------------------------------------------------------------ accueil : photos du service */
.mosaic-sec { padding: clamp(90px, 12vw, 160px) 0; }
.mosaic { display: grid; grid-template-columns: 1.25fr 1fr; grid-template-rows: auto auto; gap: 20px; margin-top: clamp(44px, 6vw, 72px); }
.mosaic figure { margin: 0; }
.mosaic .m1 { grid-row: span 2; }
.mosaic figure { display: flex; flex-direction: column; }
.m-img { position: relative; flex: 1; min-height: 0; overflow: hidden; border-radius: var(--r-lg); transform: translateZ(0); }
.mosaic .m1 .m-img { aspect-ratio: 4 / 5; }
.mosaic .m2 .m-img, .mosaic .m3 .m-img { aspect-ratio: 16 / 10; }
.m-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: translateY(calc((var(--p, .5) - .5) * -40px)) scale(1.12); transition: transform .2s linear; }
.mosaic figcaption { margin-top: 14px; font-size: 15px; color: var(--ink-2); max-width: 46ch; }
.mosaic .m1 figcaption { margin-top: 16px; }

/* ------------------------------------------------------------------ accueil : supports imprimés */
.print-sec { padding: clamp(90px, 12vw, 160px) 0; overflow: hidden; }
.print-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.print-copy .link-arrow { margin-top: 26px; }
.print-stage { position: relative; height: clamp(420px, 44vw, 560px); border-radius: var(--r-lg); background: radial-gradient(110% 90% at 30% 10%, #f6efe3, #e3d6c2); overflow: hidden; }
.print-stage::before { content: ''; position: absolute; inset: auto 0 0 0; height: 30%; background: linear-gradient(180deg, rgba(110, 76, 48, .0), rgba(110, 76, 48, .16)); }
.support { position: absolute; display: flex; flex-direction: column; align-items: center; gap: 12px; transition: transform .2s linear; }
.s-qr { background: #fff; border-radius: 10px; padding: 9px; }
.s-qr svg { width: 100%; height: auto; }
.s-plaque { left: 7%; top: 14%; width: 38%; padding: 26px 20px 22px; border-radius: 16px; background: linear-gradient(160deg, #23463a, #142c24); color: #e6cf98; box-shadow: 0 40px 60px -26px rgba(20, 44, 36, .7), inset 0 0 0 2px rgba(230, 207, 152, .35), inset 0 0 0 7px #1a362c, inset 0 0 0 8px rgba(230, 207, 152, .3); transform: translateY(calc((var(--p, .5) - .5) * 50px)) rotate(-5deg); }
.s-label { font-size: 12px; font-weight: 700; letter-spacing: .3em; text-transform: uppercase; }
.s-num { font-size: clamp(40px, 4.4vw, 60px); font-weight: 800; line-height: .9; letter-spacing: -.04em; }
.s-plaque .s-qr { width: 70%; }
.s-card { right: 8%; top: 9%; width: 36%; padding: 26px 18px 20px; border-radius: 6px; background: #fbf6ec; color: #2b1d16; box-shadow: 0 34px 50px -24px rgba(60, 40, 20, .45), 0 0 0 1px rgba(60, 40, 20, .06); transform: translateY(calc((var(--p, .5) - .5) * -60px)) rotate(4deg); }
.s-brand { font-size: clamp(15px, 1.4vw, 19px); font-weight: 700; letter-spacing: -.02em; color: #a4161a; }
.s-card .s-qr { width: 76%; padding: 4px; }
.s-hint { font-size: 11px; letter-spacing: .04em; color: #7d6b5d; text-align: center; }
.s-sticker { left: 41%; bottom: 7%; width: 24%; aspect-ratio: 1; justify-content: center; gap: 4px; border-radius: 50%; background: #fff; box-shadow: 0 24px 40px -18px rgba(0, 0, 0, .35), inset 0 0 0 6px var(--orange); transform: translateY(calc((var(--p, .5) - .5) * 30px)) rotate(-10deg); }
.s-sticker .s-qr { width: 58%; padding: 0; }
.s-sticker span { font-size: 11px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--cta); }

/* ------------------------------------------------------------------ accueil : offres */
.price-sec { padding: clamp(90px, 12vw, 160px) 0; }
.price-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: clamp(44px, 6vw, 72px); }
.price-col { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 34px 30px 30px; border-radius: var(--r-lg); background: #fff; }
.price-col.is-featured { background: var(--dark-2); color: var(--on-dark); }
.price-flag { position: absolute; top: 20px; right: 20px; padding: 4px 10px; border-radius: 99px; background: var(--orange); color: #1d0e04; font-size: 12px; font-weight: 700; }
.price-col h3 { font-size: 26px; }
.price-amount { font-size: 44px; font-weight: 700; letter-spacing: -.045em; line-height: 1.05; margin-top: 6px; }
.price-amount small { margin-left: 6px; font-size: 15px; font-weight: 500; letter-spacing: -.01em; color: var(--ink-3); }
.price-tag { color: var(--ink-2); font-size: 15px; }
.is-featured .price-tag, .is-featured .price-amount small { color: var(--on-dark-2); }
.price-col ul { display: grid; gap: 10px; margin: 14px 0 24px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 15px; }
.is-featured ul { border-top-color: var(--line-dark); }
.price-col li { position: relative; padding-left: 26px; }
.price-col li::before { content: ''; position: absolute; left: 2px; top: .42em; width: 12px; height: 7px; border-left: 2px solid var(--orange); border-bottom: 2px solid var(--orange); transform: rotate(-45deg); }
.price-col .btn { margin-top: auto; }
.is-featured .btn-outline { color: #fff; border-color: rgba(255, 255, 255, .3); }
.price-note { margin-top: 36px; text-align: center; }

/* ------------------------------------------------------------------ appel final */
.cta-final { position: relative; overflow: hidden; color: #fff; background: #000; padding: clamp(120px, 16vw, 220px) 0; text-align: center; }
.cta-media { position: absolute; inset: 0; }
.cta-media img { width: 100%; height: 120%; object-fit: cover; transform: translateY(calc(var(--p, .5) * -16%)); }
.cta-media::after { content: ''; position: absolute; inset: 0; background: radial-gradient(80% 90% at 50% 50%, rgba(5, 7, 12, .55), rgba(5, 7, 12, .9)); }
.cta-inner { position: relative; }
.cta-final .lead { color: rgba(245, 245, 247, .8); margin-left: auto; margin-right: auto; }
.cta-final .actions { justify-content: center; }

/* ------------------------------------------------------------------ démonstrations */
.demo-sec { padding: clamp(56px, 8vw, 110px) 0; background: var(--gray); }
.demo-list { display: grid; gap: clamp(28px, 4vw, 48px); }
.demo-card { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); border-radius: var(--r-lg); background: #fff; overflow: hidden; }
.demo-media { position: relative; min-height: 560px; background: #111; color: #fff; }
.demo-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.demo-over { position: absolute; inset: auto 0 0 0; padding: 40px; background: linear-gradient(0deg, rgba(0, 0, 0, .85), rgba(0, 0, 0, 0)); }
.demo-kind { font-size: 15px; font-weight: 600; color: rgba(255, 255, 255, .75); }
.demo-over h2 { margin-top: 6px; font-size: clamp(32px, 3.6vw, 52px); letter-spacing: -.045em; }
.demo-over p:last-child { margin-top: 10px; max-width: 44ch; color: rgba(255, 255, 255, .85); }
.demo-side { display: flex; gap: 28px; align-items: center; padding: 36px; }
.phone-demo { --w: 232; }
.demo-info { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tags li { padding: 5px 11px; border-radius: 99px; background: var(--gray); font-size: 13px; color: var(--ink-2); }
.demo-qr { display: flex; flex-direction: column; gap: 10px; }
.demo-qr svg { width: 128px; height: 128px; border-radius: 10px; box-shadow: 0 0 0 1px var(--line); }
.demo-qr p { font-size: 13px; color: var(--ink-3); max-width: 22ch; }
.demo-info .btn { align-self: flex-start; }
.try-sec { padding: clamp(100px, 13vw, 170px) 0; }

/* ------------------------------------------------------------------ fonctionnalités */
.feature-blocks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; padding-top: clamp(56px, 8vw, 100px); padding-bottom: clamp(56px, 8vw, 100px); }
.feature-block { padding: 36px; border-radius: var(--r-lg); background: var(--gray); scroll-margin-top: 80px; }
.feature-block-head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.feature-ico { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: #fff; color: var(--cta); flex: none; }
.feature-block h2 { font-size: clamp(22px, 2.2vw, 28px); letter-spacing: -.03em; }
.feature-block > p { color: var(--ink-2); margin-bottom: 14px; }
.checklist { display: grid; gap: 11px; }
.checklist li { display: flex; gap: 10px; align-items: flex-start; font-size: 16px; line-height: 1.45; }
.checklist .ico { flex: none; margin-top: 2px; color: var(--orange); }

/* ------------------------------------------------------------------ tarifs */
.billing-toggle { display: flex; width: fit-content; margin: 0 auto 44px; padding: 4px; border-radius: 99px; background: var(--gray); }
.billing-toggle button { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 8px 22px; border: 0; border-radius: 99px; background: transparent; color: var(--ink-2); font-size: 15px; font-weight: 600; cursor: pointer; transition: background-color .3s var(--ease), color .3s var(--ease), box-shadow .3s; }
.billing-toggle button[aria-checked="true"] { background: #fff; color: var(--ink); box-shadow: 0 2px 8px rgba(0, 0, 0, .08); }
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; align-items: stretch; margin-bottom: 28px; }
.plan { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 36px 30px 30px; border-radius: var(--r-lg); background: var(--gray); }
.plan.is-featured { background: var(--dark-2); color: var(--on-dark); }
.plan-flag { position: absolute; top: 20px; right: 20px; padding: 4px 10px; border-radius: 99px; background: var(--orange); color: #1d0e04; font-size: 12px; font-weight: 700; }
.plan h2 { font-size: 26px; }
.plan-tagline { color: var(--ink-2); font-size: 15px; min-height: 3em; }
.plan.is-featured .plan-tagline, .plan.is-featured .plan-price small, .plan.is-featured .plan-year-note { color: var(--on-dark-2); }
.plan-price { font-size: 46px; font-weight: 700; letter-spacing: -.045em; line-height: 1.05; }
.plan-price small { margin-left: 6px; font-size: 15px; font-weight: 500; letter-spacing: -.01em; color: var(--ink-3); }
.plan-year-note { font-size: 14px; color: var(--ink-2); }
.plans[data-interval="month"] .per-year, .plans[data-interval="year"] .per-month { display: none; }
.plan .checklist { margin: 18px 0 26px; padding-top: 20px; border-top: 1px solid var(--line); }
.plan.is-featured .checklist { border-top-color: var(--line-dark); }
.plan .btn { margin-top: auto; }
.plan.is-featured .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .3); }
.table-scroll { margin-top: 36px; overflow-x: auto; border-radius: var(--r-md); background: #fff; -webkit-overflow-scrolling: touch; }
.compare-table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 15px; }
.compare-table th, .compare-table td { padding: 14px 18px; text-align: center; border-bottom: 1px solid var(--line); }
.compare-table th[scope="row"], .compare-table thead th:first-child { text-align: left; font-weight: 500; }
.compare-table thead th { position: sticky; top: 0; background: #fff; font-size: 16px; font-weight: 700; }
.compare-table tbody tr:last-child > * { border-bottom: 0; }
.yes { color: #1f8a4c; font-weight: 700; }
.no { color: #c7c7cc; }

/* ------------------------------------------------------------------ questions (FAQ et tarifs) */
details { border-bottom: 1px solid var(--line); }
details:first-of-type { border-top: 1px solid var(--line); }
summary { position: relative; padding: 22px 44px 22px 0; font-size: 19px; font-weight: 600; letter-spacing: -.02em; cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: ''; position: absolute; right: 6px; top: 50%; width: 11px; height: 11px; border-right: 2px solid var(--ink-2); border-bottom: 2px solid var(--ink-2); transform: translateY(-70%) rotate(45deg); transition: transform .35s var(--ease); }
details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
details p { padding: 0 0 24px; color: var(--ink-2); max-width: 64ch; }
.section h2 + details { margin-top: 28px; }
.faq .center { margin-top: 40px; }

/* ------------------------------------------------------------------ contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.form { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form label { display: grid; gap: 8px; font-size: 14px; font-weight: 600; }
.form input:not([type="checkbox"]), .form textarea {
  width: 100%; padding: 14px 16px; border: 1px solid #d2d2d7; border-radius: 12px; background: #fff; color: var(--ink);
  font: inherit; font-size: 16px; font-weight: 400; transition: border-color .2s, box-shadow .2s;
}
.form input:focus, .form textarea:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 4px rgba(232, 116, 44, .18); }
.form [aria-invalid="true"] { border-color: #d92d20; }
.form .check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; color: var(--ink-2); }
.form .check input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--cta); flex: none; }
.form .btn { justify-self: start; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.form-msg { min-height: 1.5em; font-size: 15px; }
.form-msg.is-error { color: #b42318; }
.form-msg.is-ok { color: #1f8a4c; }
.contact-aside { padding: 32px; border-radius: var(--r-lg); background: var(--gray); display: grid; gap: 12px; }
.contact-aside h2 { font-size: 24px; }
.contact-aside a { color: var(--cta); }

/* ------------------------------------------------------------------ pages légales et crédits */
.legal h2 { margin-top: 44px; margin-bottom: 12px; font-size: 24px; }
.legal h2:first-child { margin-top: 0; }
.legal p { color: #3a3a3c; margin-bottom: 12px; }
.credits h2 { margin: 48px 0 12px; font-size: 24px; }
.credits h2:first-child { margin-top: 0; }
.credits li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.credit-what { text-transform: capitalize; color: var(--ink-2); }
.credit-who { font-weight: 600; }
.credits a { color: var(--cta); text-decoration: none; }
.credits a:hover { text-decoration: underline; }

/* ------------------------------------------------------------------ pied de page */
.site-footer { background: var(--gray); color: var(--ink-2); font-size: 13px; padding: 56px 0 30px; }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.footer-top .brand { color: var(--ink); }
.footer-top p { max-width: 52ch; }
.footer-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; padding: 30px 0; border-bottom: 1px solid var(--line); }
.footer-grid h2 { font-size: 13px; font-weight: 700; letter-spacing: 0; color: var(--ink); margin-bottom: 12px; }
.footer-grid ul { display: grid; gap: 9px; }
.footer-grid a, .footer-bottom a { text-decoration: none; }
.footer-grid a:hover, .footer-bottom a:hover { text-decoration: underline; color: var(--ink); }
.footer-bottom { padding-top: 20px; }

/* ------------------------------------------------------------------ page d'erreur (server/app.js) */
.error-page { min-height: 100vh; display: grid; place-items: center; background: var(--dark); color: var(--on-dark); }
.error-wrap { width: 100%; max-width: 640px; padding: 48px var(--gutter); text-align: center; }
.error-wrap h1 { font-size: clamp(40px, 6vw, 72px); letter-spacing: -.05em; }
.error-wrap p { color: var(--on-dark-2); margin-top: 14px; }
.error-wrap .btn { margin-top: 30px; }

/* ------------------------------------------------------------------ tablettes et téléphones */
@media (max-width: 1080px) {
  .hero-inner { grid-template-columns: minmax(0, 1fr) auto; }
  .phone-hero { --w: 280; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tile, .tile-wide, .tile-order { grid-column: span 1; }
  .tile-wide, .tile-order { grid-column: span 2; }
  .app-points { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .demo-card { grid-template-columns: 1fr; }
  .demo-media { min-height: 420px; }
}

@media (max-width: 860px) {
  body { font-size: 16px; }
  .hero { min-height: auto; }
  .hero-inner { grid-template-columns: 1fr; padding-top: calc(var(--header) + 40px); padding-bottom: 56px; gap: 48px; opacity: 1; transform: none; }
  .hero-media::after { background: linear-gradient(180deg, rgba(5, 7, 12, .55) 0%, rgba(5, 7, 12, .78) 45%, rgba(5, 7, 12, .96) 100%); }
  .hero h1 { font-size: clamp(50px, 14vw, 72px); }
  .hero-device { justify-self: center; }
  .phone-hero { --w: 260; animation: none; }
  .phone-hero iframe { pointer-events: none; }

  .story { height: auto; }
  .story-sticky { position: static; height: auto; padding: 90px 0 70px; }
  .story-grid { grid-template-columns: 1fr; }
  .story-device, .story-dots { display: none; }
  .story-steps { gap: 44px; }
  .story-step { grid-area: auto; opacity: 1; transform: none; pointer-events: auto; }
  .story-cover { width: 100%; }

  .live-grid, .print-grid, .contact-grid, .feature-blocks, .price-cols { grid-template-columns: 1fr; }
  .tent-stage { padding-top: 36px; }
  .bento { grid-template-columns: 1fr; gap: 14px; }
  .tile, .tile-wide, .tile-order { grid-column: auto; min-height: 0; padding: 28px; }
  .tile-photo { min-height: 360px; padding: 0; }
  .tile-over { padding: 28px; }
  .cycle { min-height: 110px; }
  .app-points { grid-template-columns: 1fr; gap: 20px; }
  .app-frame { padding: 5px; border-radius: 14px; }
  .app-frame img { border-radius: 10px; }
  .mosaic { grid-template-columns: 1fr; }
  .mosaic .m1 { grid-row: auto; }
  .mosaic .m1 .m-img { aspect-ratio: 4 / 3; }
  .print-stage { height: 420px; }
  .s-plaque { width: 46%; }
  .s-card { width: 44%; }
  .s-sticker { width: 30%; left: 36%; }
  .form-row { grid-template-columns: 1fr; }
  .demo-side { flex-direction: column; align-items: stretch; padding: 28px; }
  .demo-side .phone { display: none; }
  .demo-media { min-height: 380px; }
  .demo-over { padding: 28px; }
  .credits li { grid-template-columns: 1fr auto; }
  .credit-what { grid-column: 1 / -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .phone-hero { --w: 240; }
  .actions { gap: 14px 22px; }
  .footer-grid { grid-template-columns: 1fr; }
  .price-amount, .plan-price { font-size: 40px; }
}

/* ------------------------------------------------------------------ réduire les animations */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
  .js .rv { opacity: 1; transform: none; }
  .hero-media img, .hero-inner, .app-frame, .m-img img, .cta-media img, .support { transform: none !important; }
  .hero-inner { opacity: 1 !important; }
  .s-plaque { transform: rotate(-5deg) !important; }
  .s-card { transform: rotate(4deg) !important; }
  .s-sticker { transform: rotate(-10deg) !important; }
  .reel { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
  .reel-track { animation: none; padding: 0 var(--gutter); }
  .story-step { transition: none; }
}

/* titres : retours à la ligne voulus sur grand écran seulement */
@media (max-width: 600px) {
  .display br, .story-title br, .page-head h1 br { display: none; }
}
