/* Tassyir Food — feuille de style
   Palette : navy #0B2359, navy profond #071840, orange #F97316,
   orange texte #B93C07, brume #F3F4F7, papier ticket #FFFDF6 */

@font-face {
  font-family: "Schibsted Grotesk";
  src: url("/assets/fonts/schibsted-grotesk-latin-wght-normal.woff2") format("woff2");
  font-weight: 400 900;
  font-display: swap;
}
@font-face {
  font-family: "Spline Sans Mono";
  src: url("/assets/fonts/spline-sans-mono-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Spline Sans Mono";
  src: url("/assets/fonts/spline-sans-mono-latin-600-normal.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}

:root {
  --navy: #0B2359;
  --navy-deep: #071840;
  --navy-soft: #1C3672;
  --orange: #F97316;
  --orange-ink: #B93C07;
  --orange-tint: #FFF1E5;
  --mist: #F3F4F7;
  --line: #DFE3EC;
  --text: #071840;
  --text-soft: #46527A;
  --paper: #FFFDF6;
  --white: #FFFFFF;

  --font: "Schibsted Grotesk", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  --mono: "Spline Sans Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;

  --r-panel: 28px;
  --r-card: 18px;
  --r-ctl: 12px;

  --wrap: 1180px;
  --gutter: clamp(20px, 4vw, 40px);
  --section: clamp(72px, 10vw, 136px);

  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }

:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 6px; }

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--navy); color: var(--white); padding: 10px 16px; border-radius: 10px;
}
.skip:focus { top: 16px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.icon { width: 22px; height: 22px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.icon-brand { width: 20px; height: 20px; flex: none; fill: currentColor; }

/* ---------- Typographie ---------- */
.h-display { font-size: clamp(2.05rem, 5.6vw, 4.1rem); line-height: 1.02; letter-spacing: -0.035em; font-weight: 750; }
.h-section { font-size: clamp(1.9rem, 4vw, 3rem); line-height: 1.08; letter-spacing: -0.028em; font-weight: 720; max-width: 20ch; }
.h-card { font-size: 1.25rem; line-height: 1.25; letter-spacing: -0.012em; font-weight: 680; }
.lede { font-size: clamp(1.08rem, 1.6vw, 1.3rem); line-height: 1.55; color: var(--text-soft); max-width: 56ch; }
.body { color: var(--text-soft); max-width: 62ch; }
.on-navy { color: var(--white); }
.on-navy .lede, .on-navy .body { color: #C6CFE6; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px; border-radius: 999px; border: 0;
  font-weight: 650; font-size: 1rem; text-decoration: none; white-space: nowrap;
  transition: background-color .2s var(--ease), color .2s var(--ease), box-shadow .2s var(--ease);
}
.btn-primary { background: var(--orange); color: var(--navy-deep); }
.btn-primary:hover { background: #FF8A3A; }
.btn-ghost { background: transparent; color: var(--navy); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--navy); }
.on-navy .btn-ghost { color: var(--white); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.28); }
.on-navy .btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--white); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; z-index: 50; top: 14px; left: 0; right: 0;
  padding-inline: var(--gutter); pointer-events: none;
}
.nav-bar {
  pointer-events: auto;
  max-width: var(--wrap); margin-inline: auto;
  display: flex; align-items: center; gap: 20px;
  padding: 8px 8px 8px 18px; border-radius: 999px;
  background: rgba(255,255,255,.78);
  -webkit-backdrop-filter: saturate(180%) blur(18px); backdrop-filter: saturate(180%) blur(18px);
  box-shadow: 0 0 0 1px rgba(7,24,64,.08), 0 10px 30px -12px rgba(7,24,64,.25);
}
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 760; font-size: 1.12rem; letter-spacing: -0.02em; color: var(--navy); }
.brand svg { width: 34px; height: 34px; }
.brand b { font-weight: inherit; color: var(--orange-ink); }
.nav-links { display: flex; gap: 4px; margin-left: auto; }
.nav-links a { text-decoration: none; padding: 10px 14px; border-radius: 999px; font-size: .97rem; font-weight: 560; color: var(--text-soft); transition: color .2s, background-color .2s; }
.nav-links a:hover { color: var(--navy); background: rgba(11,35,89,.06); }
.nav-links a[aria-current="page"] { color: var(--navy); background: rgba(11,35,89,.08); }
.nav .btn { min-height: 44px; padding: 0 18px; font-size: .95rem; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 0; border-radius: 999px; background: var(--mist); align-items: center; justify-content: center; }
.nav-toggle .i-close { display: none; }
.nav-toggle[aria-expanded="true"] .i-open { display: none; }
.nav-toggle[aria-expanded="true"] .i-close { display: block; }

@media (max-width: 920px) {
  .nav-bar { flex-wrap: wrap; border-radius: 26px; padding: 8px 8px 8px 16px; }
  .nav-toggle { display: inline-flex; margin-left: auto; }
  .nav-cta { display: none; }
  .nav-links { display: none; order: 3; width: 100%; flex-direction: column; margin: 4px 0 6px; gap: 2px; }
  .nav-links a { padding: 13px 12px; font-size: 1.05rem; }
  .nav-bar.is-open .nav-links { display: flex; }
  .nav-bar.is-open .nav-cta { display: inline-flex; order: 4; width: 100%; margin-bottom: 6px; }
}

/* ---------- Sections ---------- */
main { display: block; }
.section { padding-block: var(--section); }
.section-mist { background: var(--mist); }
.section-navy { background: var(--navy-deep); }
.section-head { display: grid; gap: 18px; margin-bottom: clamp(36px, 5vw, 64px); }

/* ---------- Hero ---------- */
.hero { padding-top: clamp(120px, 14vw, 170px); padding-bottom: clamp(56px, 8vw, 100px); background: linear-gradient(180deg, var(--mist) 0%, var(--white) 78%); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-copy { display: grid; gap: 26px; }
.hero-facts { display: grid; grid-template-columns: repeat(2, minmax(0, max-content)); gap: 10px 28px; margin-top: 6px; font-size: .95rem; color: var(--text-soft); }
.hero-facts li { display: flex; align-items: center; gap: 9px; }
.hero-facts .icon { width: 18px; height: 18px; color: var(--navy); }

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 480px) {
  .hero-facts { grid-template-columns: minmax(0, 1fr); }
  .hero .btn { width: 100%; }
}

/* ---------- Caisse 3D (démo) ---------- */
.stage { perspective: 1500px; perspective-origin: 50% 40%; padding-bottom: 8px; }
.pos-rig { --rx: 5deg; --ry: -13deg; position: relative; transform-style: preserve-3d; transform: rotateX(var(--rx)) rotateY(var(--ry)); transition: transform .5s var(--ease); }
.pos {
  position: relative; border-radius: 22px; background: var(--navy-deep); padding: 12px;
  box-shadow:
    1px 1px 0 #142a5e, 2px 2px 0 #142a5e, 3px 3px 0 #122655, 4px 4px 0 #122655,
    5px 5px 0 #0f214c, 6px 6px 0 #0f214c, 7px 7px 0 #0c1b40, 8px 8px 0 #0c1b40,
    30px 50px 70px -20px rgba(7,24,64,.45);
}
.pos-screen { border-radius: 12px; background: var(--mist); overflow: hidden; display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); min-height: 380px; }
.pos-left { padding: 14px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.pos-tabs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.pos-tabs::-webkit-scrollbar { display: none; }
.pos-tab { border: 0; border-radius: 999px; padding: 8px 14px; min-height: 36px; font-size: .84rem; font-weight: 620; background: var(--white); color: var(--text-soft); white-space: nowrap; box-shadow: inset 0 0 0 1px var(--line); transition: background-color .15s, color .15s; }
.pos-tab[aria-selected="true"] { background: var(--navy); color: var(--white); box-shadow: none; }
.pos-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; align-content: start; }
.pos-item { border: 0; text-align: left; border-radius: var(--r-ctl); background: var(--white); padding: 10px 10px 9px; min-height: 66px; display: flex; flex-direction: column; justify-content: space-between; gap: 6px; box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .15s, background-color .15s; }
.pos-item:hover { box-shadow: inset 0 0 0 1.5px var(--navy); }
.pos-item:active, .pos-item.is-hit { background: var(--orange-tint); box-shadow: inset 0 0 0 1.5px var(--orange); }
.pos-item span { font-size: .82rem; font-weight: 620; line-height: 1.2; }
.pos-item small { font-family: var(--mono); font-size: .74rem; color: var(--text-soft); }

.pos-right { background: var(--white); border-left: 1px solid var(--line); display: flex; flex-direction: column; min-width: 0; }
.pos-order-head { padding: 12px 14px 10px; border-bottom: 1px solid var(--line); display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.pos-order-head strong { font-size: .9rem; }
.pos-order-head span { font-family: var(--mono); font-weight: 600; font-size: .82rem; color: var(--orange-ink); }
.pos-type { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 4px; margin: 10px 12px 0; padding: 3px; border-radius: 10px; background: var(--mist); }
.pos-type button { border: 0; background: transparent; border-radius: 8px; min-height: 32px; font-size: .76rem; font-weight: 620; color: var(--text-soft); }
.pos-type button[aria-pressed="true"] { background: var(--white); color: var(--navy); box-shadow: 0 1px 3px rgba(7,24,64,.16); }
.pos-lines { flex: 1; padding: 10px 14px; display: flex; flex-direction: column; gap: 7px; font-size: .8rem; min-height: 120px; max-height: 170px; overflow-y: auto; }
.pos-lines li { display: grid; grid-template-columns: 22px 1fr auto; gap: 6px; align-items: baseline; }
.pos-lines .q { font-family: var(--mono); color: var(--text-soft); }
.pos-lines .p { font-family: var(--mono); }
.pos-lines li.pos-empty { display: block; color: var(--text-soft); font-size: .8rem; }
.pos-total { padding: 10px 14px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: baseline; font-weight: 700; }
.pos-total output { font-family: var(--mono); font-size: 1.05rem; color: var(--orange-ink); }
.pos-actions { padding: 0 12px 12px; display: grid; grid-template-columns: auto 1fr; gap: 8px; }
.pos-clear { border: 0; border-radius: 10px; min-height: 44px; padding: 0 12px; background: var(--mist); color: var(--text-soft); font-size: .8rem; font-weight: 620; }
.pos-pay { border: 0; border-radius: 10px; min-height: 44px; background: var(--orange); color: var(--navy-deep); font-weight: 700; font-size: .92rem; transition: background-color .15s; }
.pos-pay:hover { background: #FF8A3A; }
.pos-pay:disabled { background: var(--line); color: var(--text-soft); cursor: not-allowed; }

/* Sortie du ticket, sous l'écran */
.under { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 46%); gap: 20px; align-items: start; padding-right: 5%; transform: translateZ(40px); }
.printer-slot { height: 12px; border-radius: 0 0 10px 10px; background: linear-gradient(180deg, #0c1b40, #142a5e); position: relative; z-index: 2; box-shadow: 0 10px 18px -8px rgba(7,24,64,.5); }
.ticket-clip { overflow: hidden; margin: -4px 8% 0; padding-bottom: 4px; pointer-events: none; }
.ticket {
  background: var(--paper); color: #1d1d1b; font-family: var(--mono); font-size: .7rem; line-height: 1.45;
  padding: 16px 12px 20px; transform: translateY(-102%);
  -webkit-mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / 10px 51% repeat-x, linear-gradient(#000 0 0) top / 100% 51% no-repeat;
          mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / 10px 51% repeat-x, linear-gradient(#000 0 0) top / 100% 51% no-repeat;
}
.ticket.is-out { transform: translateY(0); transition: transform 1.5s steps(24, end); }
.ticket-shop { text-align: center; font-weight: 600; font-size: .74rem; }
.ticket-no { text-align: center; font-family: var(--font); font-weight: 800; font-size: 2rem; line-height: 1.1; letter-spacing: -0.03em; margin: 4px 0 2px; }
.ticket-meta { text-align: center; color: #55544f; }
.ticket-rule { border: 0; border-top: 1px dashed #b9b6aa; margin: 7px 0; }
.ticket-lines li { display: flex; justify-content: space-between; gap: 8px; }
.ticket-sum { display: flex; justify-content: space-between; font-weight: 600; font-size: .8rem; }
.ticket-bye { text-align: center; margin-top: 6px; color: #55544f; }

.stage-hint { padding-top: 22px; font-size: .95rem; color: var(--text-soft); display: grid; grid-template-columns: 20px 1fr; gap: 10px; }
.stage-hint .icon { width: 20px; height: 20px; color: var(--orange-ink); margin-top: 3px; }

@media (max-width: 980px) {
  .pos-rig { --rx: 3deg; --ry: -6deg; }
}
@media (max-width: 640px) {
  .stage { perspective: none; }
  .pos-rig { transform: none; }
  .pos { padding: 8px; border-radius: 18px; box-shadow: 0 24px 50px -22px rgba(7,24,64,.45); }
  .pos-screen { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .pos-right { border-left: 0; border-top: 1px solid var(--line); }
  .pos-lines { max-height: 130px; min-height: 84px; }
  .under { grid-template-columns: minmax(0, 1fr); padding-right: 0; transform: none; }
  .under .printer { order: -1; width: 74%; max-width: 270px; margin-inline: auto; }
  .stage-hint { padding-top: 4px; }
}

/* ---------- Trois promesses ---------- */
.promises { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 4vw, 56px); }
.promise { display: grid; gap: 14px; align-content: start; padding-top: 22px; border-top: 2px solid var(--navy); }
.promise .icon { width: 28px; height: 28px; color: var(--orange-ink); }
@media (max-width: 820px) { .promises { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Tickets côte à côte ---------- */
.tickets-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.tickets-pair { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; align-items: start; }
.slip {
  background: var(--paper); color: #1d1d1b; font-family: var(--mono); font-size: .78rem; line-height: 1.5; padding: 22px 16px 26px;
  box-shadow: 0 30px 50px -28px rgba(7,24,64,.5), 0 0 0 1px rgba(7,24,64,.06);
  -webkit-mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / 12px 51% repeat-x, linear-gradient(#000 0 0) top / 100% 51% no-repeat;
          mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / 12px 51% repeat-x, linear-gradient(#000 0 0) top / 100% 51% no-repeat;
}
.slip:nth-child(1) { transform: rotate(-2deg); }
.slip:nth-child(2) { transform: rotate(1.5deg) translateY(28px); }
.slip-kind { font-family: var(--font); font-size: .74rem; font-weight: 650; color: #6a685f; text-align: center; }
.slip-no { font-family: var(--font); font-weight: 820; font-size: clamp(2.4rem, 5vw, 3.4rem); line-height: 1; letter-spacing: -0.04em; text-align: center; margin: 6px 0; }
.slip-type { text-align: center; font-weight: 600; }
.slip hr { border: 0; border-top: 1px dashed #b9b6aa; margin: 10px 0; }
.slip li { display: flex; justify-content: space-between; gap: 8px; }
.slip .extra { display: block; padding-left: 14px; color: #55544f; }
.slip-kitchen li { font-size: .95rem; font-weight: 600; }
.slip-kitchen .extra { font-size: .86rem; font-weight: 600; color: #1d1d1b; text-transform: uppercase; }
.slip-total { display: flex; justify-content: space-between; font-weight: 600; font-size: .95rem; }
.check-list { display: grid; gap: 14px; margin-top: 26px; }
.check-list li { display: grid; grid-template-columns: 24px 1fr; gap: 12px; color: var(--text-soft); }
.check-list .icon { color: var(--orange-ink); margin-top: 3px; }
.check-list strong { color: var(--text); font-weight: 650; }
@media (max-width: 900px) { .tickets-grid { grid-template-columns: minmax(0, 1fr); } .tickets-pair { max-width: 520px; } }
@media (max-width: 460px) { .slip { font-size: .68rem; padding: 16px 10px 22px; } .slip-kitchen li { font-size: .8rem; } .slip-kitchen .extra { font-size: .72rem; } }

/* ---------- Modèles de menu ---------- */
.kinds { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.kind-tabs { display: grid; gap: 6px; }
.kind-tab { border: 0; background: transparent; text-align: left; display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: var(--r-card); font-size: 1.12rem; font-weight: 640; color: var(--text-soft); transition: background-color .2s, color .2s; }
.kind-tab .icon { width: 24px; height: 24px; }
.kind-tab:hover { color: var(--navy); }
.kind-tab[aria-selected="true"] { background: var(--white); color: var(--navy); box-shadow: 0 0 0 1px var(--line), 0 14px 30px -20px rgba(7,24,64,.4); }
.kind-tab[aria-selected="true"] .icon { color: var(--orange-ink); }
.kind-panel { background: var(--white); border-radius: var(--r-panel); padding: clamp(22px, 3vw, 36px); box-shadow: 0 0 0 1px var(--line); }
.kind-panel p { color: var(--text-soft); margin-bottom: 20px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 9px 15px; border-radius: 999px; background: var(--mist); font-size: .95rem; font-weight: 580; color: var(--navy); }
.kind-note { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); font-size: .95rem; color: var(--text-soft); }
@media (max-width: 860px) {
  .kinds { grid-template-columns: minmax(0, 1fr); }
  .kind-tabs { grid-auto-flow: column; grid-auto-columns: max-content; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; }
  .kind-tabs::-webkit-scrollbar { display: none; }
  .kind-tab { font-size: 1rem; padding: 12px 16px; }
}

/* ---------- Modules (interrupteurs) ---------- */
.modules { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.switches { display: grid; border-radius: var(--r-panel); background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); overflow: hidden; }
.switch-row { display: flex; align-items: center; gap: 14px; padding: 16px 20px; min-height: 64px; }
.switch-row + .switch-row { border-top: 1px solid rgba(255,255,255,.1); }
.switch-row .icon { color: #9FB0DA; }
.switch-row label { flex: 1; font-weight: 600; color: var(--white); cursor: pointer; }
.switch { appearance: none; -webkit-appearance: none; width: 52px; height: 32px; border-radius: 999px; background: rgba(255,255,255,.2); position: relative; cursor: pointer; transition: background-color .25s var(--ease); flex: none; margin: 0; }
.switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 26px; height: 26px; border-radius: 50%; background: var(--white); box-shadow: 0 2px 5px rgba(0,0,0,.3); transition: transform .25s var(--ease); }
.switch:checked { background: var(--orange); }
.switch:checked::after { transform: translateX(20px); }
.modules-status { margin-top: 18px; font-size: .95rem; color: #C6CFE6; min-height: 1.6em; }
@media (max-width: 860px) { .modules { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Données ---------- */
.data-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line); border-radius: var(--r-panel); overflow: hidden; box-shadow: 0 0 0 1px var(--line); }
.data-cell { background: var(--white); padding: clamp(24px, 3.4vw, 40px); display: grid; gap: 12px; align-content: start; }
.data-cell .icon { width: 26px; height: 26px; color: var(--navy); }
@media (max-width: 720px) { .data-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Étapes ---------- */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 40px); counter-reset: step; }
.step { counter-increment: step; display: grid; gap: 12px; align-content: start; }
.step::before { content: counter(step); width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: var(--white); font-weight: 720; font-size: 1.05rem; }
@media (max-width: 820px) { .steps { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Appel final ---------- */
.cta-panel { border-radius: var(--r-panel); background: var(--navy-deep); padding: clamp(36px, 6vw, 80px); display: grid; gap: 24px; position: relative; overflow: hidden; }
.cta-panel::after { content: ""; position: absolute; right: -80px; bottom: -120px; width: 380px; height: 380px; border-radius: 50%; background: radial-gradient(closest-side, rgba(249,115,22,.34), rgba(249,115,22,0)); pointer-events: none; }
.cta-panel > * { position: relative; z-index: 1; }

/* ---------- Pages intérieures ---------- */
.page-head { padding-top: clamp(130px, 15vw, 190px); padding-bottom: clamp(40px, 6vw, 72px); background: linear-gradient(180deg, var(--mist) 0%, var(--white) 100%); }
.page-head .wrap { display: grid; gap: 20px; }
.page-head .h-display { font-size: clamp(2.3rem, 5.4vw, 4rem); max-width: 18ch; }

.feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 6vw, 88px); align-items: center; padding-block: clamp(48px, 7vw, 88px); }
.feature + .feature { border-top: 1px solid var(--line); }
.feature:nth-child(even) .feature-visual { order: -1; }
.feature-copy { display: grid; gap: 16px; }
.feature-copy .h-section { font-size: clamp(1.6rem, 3vw, 2.2rem); max-width: 22ch; }
.feature-list { display: grid; gap: 10px; margin-top: 6px; }
.feature-list li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; color: var(--text-soft); }
.feature-list .icon { width: 20px; height: 20px; color: var(--orange-ink); margin-top: 3px; }
@media (max-width: 860px) { .feature { grid-template-columns: minmax(0, 1fr); } .feature:nth-child(even) .feature-visual { order: 0; } }

/* Petits écrans du logiciel */
.screen { border-radius: var(--r-card); background: var(--white); box-shadow: 0 0 0 1px var(--line), 0 34px 60px -34px rgba(7,24,64,.4); overflow: hidden; font-size: .88rem; }
.screen-bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 16px; background: var(--navy-deep); color: var(--white); font-weight: 620; font-size: .86rem; }
.screen-bar span:last-child { color: #9FB0DA; font-weight: 500; }
.screen-body { padding: 16px; display: grid; gap: 10px; }
.row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 14px; border-radius: var(--r-ctl); background: var(--mist); }
.row b { font-weight: 640; }
.row .num { font-family: var(--mono); font-size: .86rem; }
.row .tag { font-size: .76rem; font-weight: 640; padding: 4px 10px; border-radius: 999px; background: var(--orange-tint); color: var(--orange-ink); }
.row .tag-ok { background: #E6F4EC; color: #1B6B3F; }
.row .tag-off { background: var(--line); color: var(--text-soft); }
.bars { display: grid; gap: 9px; }
.bar { display: grid; grid-template-columns: 110px 1fr 74px; gap: 10px; align-items: center; font-size: .82rem; }
.bar i { display: block; height: 10px; border-radius: 999px; background: var(--navy); }
.bar:first-child i { background: var(--orange); }
.bar .num { text-align: right; font-family: var(--mono); }
.w-100 { width: 100%; } .w-78 { width: 78%; } .w-61 { width: 61%; } .w-44 { width: 44%; } .w-30 { width: 30%; }
.kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.kpi { padding: 12px; border-radius: var(--r-ctl); background: var(--mist); display: grid; gap: 2px; }
.kpi span { font-size: .74rem; color: var(--text-soft); }
.kpi b { font-family: var(--mono); font-size: .98rem; font-weight: 600; }
.pin { display: grid; grid-template-columns: repeat(4, 44px); gap: 10px; justify-content: center; padding: 8px 0 4px; }
.pin i { height: 52px; border-radius: 12px; background: var(--mist); display: grid; place-items: center; font-style: normal; font-size: 1.4rem; }
.pin i::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--navy); }
.pin i.empty::after { background: var(--line); }
.screen-note { text-align: center; color: var(--text-soft); font-size: .84rem; }

/* V2 */
.soon { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.soon li { padding: 18px 20px; border-radius: var(--r-card); background: var(--white); box-shadow: 0 0 0 1px var(--line); font-weight: 600; display: flex; gap: 12px; align-items: center; }
.soon .icon { color: var(--text-soft); }
@media (max-width: 820px) { .soon { grid-template-columns: minmax(0, 1fr); } }

/* Tarifs */
.plan-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 20px; align-items: stretch; }
.plan { border-radius: var(--r-panel); padding: clamp(28px, 4vw, 48px); display: grid; gap: 20px; align-content: start; }
.plan-main { background: var(--navy-deep); color: var(--white); }
.plan-main .body, .plan-main li { color: #C6CFE6; }
.plan-side { background: var(--mist); }
.plan ul { display: grid; gap: 12px; }
.plan li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; }
.plan-main .icon { color: var(--orange); margin-top: 3px; width: 20px; height: 20px; }
.plan-side .icon { color: var(--navy); margin-top: 3px; width: 20px; height: 20px; }
.plan-side li { color: var(--text-soft); }
.fineprint { margin-top: 28px; padding: 22px 26px; border-radius: var(--r-card); box-shadow: inset 0 0 0 1px var(--line); color: var(--text-soft); max-width: none; }
.fineprint strong { color: var(--text); }
@media (max-width: 860px) { .plan-grid { grid-template-columns: minmax(0, 1fr); } }

/* FAQ */
.faq { display: grid; gap: 0; max-width: 860px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 4px; font-size: 1.15rem; font-weight: 650; letter-spacing: -0.01em; min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { color: var(--text-soft); transition: transform .25s var(--ease); }
.faq details[open] summary .icon { transform: rotate(180deg); color: var(--orange-ink); }
.faq .answer { padding: 0 4px 26px; color: var(--text-soft); max-width: 68ch; }
.faq-group { margin-top: clamp(40px, 6vw, 72px); }
.faq-group:first-child { margin-top: 0; }
.faq-group > h2 { margin-bottom: 18px; font-size: 1.5rem; letter-spacing: -0.02em; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.form { display: grid; gap: 18px; padding: clamp(24px, 3.4vw, 40px); border-radius: var(--r-panel); background: var(--mist); }
.field { display: grid; gap: 7px; }
.field label { font-weight: 620; font-size: .95rem; }
.field input, .field select, .field textarea {
  font: inherit; color: var(--text); width: 100%; min-height: 52px; padding: 12px 16px; border-radius: var(--r-ctl);
  border: 1.5px solid var(--line); background: var(--white); transition: border-color .2s;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(11,35,89,.12); }
.field .err { color: #B42318; font-size: .88rem; min-height: 1.2em; }
.field input[aria-invalid="true"], .field select[aria-invalid="true"] { border-color: #B42318; }
.form-note { font-size: .9rem; color: var(--text-soft); display: flex; gap: 10px; }
.form-note .icon { width: 18px; height: 18px; margin-top: 3px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.channels { display: grid; gap: 10px; }
.channel { display: grid; grid-template-columns: 48px 1fr; gap: 16px; align-items: center; padding: 16px 18px; border-radius: var(--r-card); text-decoration: none; box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .2s, background-color .2s; }
.channel:hover { box-shadow: inset 0 0 0 1.5px var(--navy); background: var(--mist); }
.channel-ic { width: 48px; height: 48px; border-radius: 14px; background: var(--navy); color: var(--white); display: grid; place-items: center; }
.channel small { display: block; color: var(--text-soft); font-size: .88rem; }
.channel b { font-weight: 650; word-break: break-word; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: minmax(0, 1fr); } }

/* À propos / légal */
.prose { display: grid; gap: 18px; max-width: 70ch; }
.prose h2 { font-size: 1.6rem; letter-spacing: -0.02em; margin-top: 28px; line-height: 1.2; }
.prose p, .prose li { color: var(--text-soft); }
.prose ul { display: grid; gap: 8px; list-style: disc; padding-left: 22px; }
.prose a { color: var(--navy); font-weight: 600; text-underline-offset: 3px; }
.legal-table { display: grid; gap: 0; border-top: 1px solid var(--line); }
.legal-table div { display: grid; grid-template-columns: 200px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.legal-table dt { font-weight: 640; }
.legal-table dd { color: var(--text-soft); word-break: break-word; }
@media (max-width: 560px) { .legal-table div { grid-template-columns: minmax(0, 1fr); gap: 2px; } }

/* 404 */
.lost { min-height: 78vh; display: grid; place-items: center; text-align: center; padding-top: 120px; }
.lost .wrap { display: grid; gap: 20px; justify-items: center; }

/* ---------- Pied de page ---------- */
.footer { background: var(--navy-deep); color: #C6CFE6; padding-block: clamp(48px, 7vw, 80px) 32px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: clamp(28px, 5vw, 64px); }
.footer .brand { color: var(--white); }
.footer .brand b { color: var(--orange); }
.footer p { margin-top: 14px; max-width: 38ch; font-size: .97rem; }
.footer h2 { font-size: .95rem; font-weight: 650; color: var(--white); margin-bottom: 14px; }
.footer-links { display: grid; gap: 4px; }
.footer-links a { display: inline-flex; align-items: center; gap: 10px; min-height: 40px; text-decoration: none; color: #C6CFE6; transition: color .2s; }
.footer-links a:hover { color: var(--white); }
.footer-base { margin-top: clamp(36px, 5vw, 56px); padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-size: .9rem; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: minmax(0, 1fr); } }

/* WhatsApp flottant */
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 40; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: #1FAF54; color: var(--white); box-shadow: 0 14px 30px -10px rgba(7,24,64,.5); transition: background-color .2s; }
.wa-float:hover { background: #178F44; }
.wa-float .icon-brand { width: 28px; height: 28px; }

/* ---------- Animations d'apparition (type AOS) ---------- */
[data-aos] { opacity: 0; transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--aos-delay, 0ms); will-change: opacity, transform; }
[data-aos="fade-up"] { transform: translateY(26px); }
[data-aos="fade-left"] { transform: translateX(34px); }
[data-aos="fade-right"] { transform: translateX(-34px); }
[data-aos="zoom-in"] { transform: scale(.96); }
[data-aos].aos-animate { opacity: 1; transform: none; }
.no-js [data-aos] { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-aos] { opacity: 1; transform: none; transition: none; }
  .pos-rig { transition: none; }
  .ticket, .ticket.is-out { transform: none; transition: none; }
  * { animation-duration: .01ms !important; }
}

@media print {
  .nav, .wa-float, .footer { display: none; }
}

/* Finitions */
.h-display, .h-section, .h-card { text-wrap: balance; }
.printer { filter: drop-shadow(0 14px 18px rgba(7,24,64,.2)); }
.stack { display: grid; gap: 18px; align-content: start; }
.stack .check-list { margin-top: 10px; }
.tickets-pair { filter: drop-shadow(0 22px 26px rgba(7,24,64,.16)); }
.field .err:empty { display: none; }
.pos-item span { overflow-wrap: anywhere; }
.nav-bar.is-open { background: rgba(255,255,255,.98); }

/* =====================================================================
   Responsive : téléphone, tablette, grand écran
   ===================================================================== */
html { overflow-x: clip; }
.brand { min-height: 44px; }
.wrap > *, .hero-grid > *, .tickets-grid > *, .kinds > *, .modules > *, .contact-grid > *, .plan-grid > *, .feature > * { min-width: 0; }
p, h1, h2, h3, li, dd, b, span { overflow-wrap: break-word; }

/* Écrans tactiles : zones de toucher de 44 px minimum */
@media (pointer: coarse) {
  .pos-tab { min-height: 44px; padding-inline: 16px; }
  .pos-type button { min-height: 44px; }
  .pos-item { min-height: 72px; }
  .pos-clear, .pos-pay { min-height: 48px; }
  .switch-row { min-height: 68px; }
  .footer-links a { min-height: 44px; }
}

/* Tablette et téléphone : pas de glissement latéral avant l'apparition */
@media (max-width: 980px) {
  [data-aos="fade-left"], [data-aos="fade-right"] { transform: translateY(26px); }
  .hero-copy { max-width: 640px; }
  .stage { max-width: 720px; margin-inline: auto; }
}

/* Tablette (641 à 980 px) */
@media (min-width: 641px) and (max-width: 980px) {
  .hero-facts { grid-template-columns: repeat(2, minmax(0, max-content)); }
  .feature-visual, .kind-panel { max-width: 640px; }
  .tickets-pair { margin-inline: auto; }
  .promises { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
  .soon { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}
@media (min-width: 641px) and (max-width: 820px) {
  .promises, .steps { grid-template-columns: minmax(0, 1fr); }
}

/* Onglets de commerce qui défilent : accroche et bord estompé */
@media (max-width: 860px) {
  .kind-tabs { scroll-snap-type: x proximity; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); }
  .kind-tab { scroll-snap-align: start; white-space: nowrap; background: var(--mist); }
}

/* Téléphone */
@media (max-width: 640px) {
  body { font-size: 16px; }
  .btn { min-height: 54px; white-space: normal; text-align: center; }
  .btn-row { display: grid; grid-template-columns: minmax(0, 1fr); }
  .page-head .btn-row, .cta-panel .btn-row, .plan .btn-row, .lost .btn-row { width: 100%; }
  .slip:nth-child(2) { transform: rotate(1.5deg) translateY(16px); }
  .tickets-pair { gap: 10px; }
  .bar { grid-template-columns: 92px minmax(0, 1fr) 40px; gap: 8px; font-size: .78rem; }
  .row { flex-wrap: wrap; row-gap: 4px; padding: 10px 12px; }
  .kpis { gap: 6px; } .kpi { padding: 10px 8px; } .kpi b { font-size: .86rem; }
  .pin { grid-template-columns: repeat(4, 40px); }
  .faq summary { font-size: 1.05rem; padding: 20px 2px; }
  .cta-panel::after { width: 240px; height: 240px; right: -80px; bottom: -100px; }
  .footer { padding-bottom: 96px; }
  .footer-base { flex-direction: column; }
  .wa-float { width: 54px; height: 54px; right: max(14px, env(safe-area-inset-right)); bottom: max(14px, env(safe-area-inset-bottom)); }
}

/* Très petit téléphone (320 px) */
@media (max-width: 360px) {
  :root { --gutter: 16px; }
  .brand { font-size: 1rem; gap: 8px; } .brand svg { width: 30px; height: 30px; }
  .pos-left { padding: 10px; } .pos-grid { gap: 6px; }
  .pos-item { padding: 8px; } .pos-item span { font-size: .76rem; } .pos-item small { font-size: .68rem; }
  .slip { font-size: .62rem; padding: 14px 8px 20px; } .slip-no { font-size: 2rem; }
  .slip-kitchen li { font-size: .72rem; } .slip-kitchen .extra { font-size: .66rem; }
  .switch-row { padding-inline: 14px; gap: 10px; }
  .channel { grid-template-columns: 44px minmax(0, 1fr); gap: 12px; padding: 14px; } .channel-ic { width: 44px; height: 44px; }
}

/* Téléphone à l'horizontale : le menu ouvert doit pouvoir défiler */
@media (max-height: 520px) and (max-width: 920px) {
  .nav-bar.is-open { max-height: calc(100vh - 28px); overflow-y: auto; }
  .hero { padding-top: 96px; } .page-head { padding-top: 104px; }
}

/* Encoche iPhone */
.nav { padding-left: max(var(--gutter), env(safe-area-inset-left)); padding-right: max(var(--gutter), env(safe-area-inset-right)); }

/* Grand écran */
@media (min-width: 1600px) {
  :root { --wrap: 1280px; }
  body { font-size: 18px; }
}
@media (max-width: 980px) { .stage { padding-right: 14px; } }
@media (max-width: 640px) { .stage { padding-right: 0; } }

/* SEO : liens internes et fil d'Ariane */
.text-link { color: var(--navy); font-weight: 620; text-underline-offset: 4px; text-decoration-thickness: 1.5px; }
.text-link:hover { color: var(--orange-ink); }
.on-navy .text-link { color: var(--white); }
.on-navy .text-link:hover { color: var(--orange); }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: .92rem; color: var(--text-soft); }
.crumbs a { color: var(--text-soft); text-underline-offset: 3px; min-height: 0; }
.crumbs a:hover { color: var(--navy); }
.crumbs [aria-current] { color: var(--navy); font-weight: 600; }
.crumbs { align-items: center; }
.crumbs a { display: inline-flex; align-items: center; min-height: 44px; }

/* Pied de page : copyright centré */
.footer-base { justify-content: center; text-align: center; }
@media (max-width: 640px) { .footer-base { align-items: center; } }
