/* ============================================================
   iPos — site vitrine. Palette du logo : aubergine #200830 · jaune #F0E840 · rouge #C82020
   Typo : Inter (Tajawal en arabe). Minimaliste, espaces généreux, ombres douces.
   ============================================================ */
* { box-sizing: border-box; margin: 0; }
:root {
  --ink:      #200830;
  --ink-2:    #2C1442;
  --ink-3:    #3A1F55;
  --yellow:   #F0E840;
  --yellow-d: #D9D02A;
  --accent-rgb: 240,232,64;
  --on-accent: #200830;
  --accent-on-ink: #F0E840;
  --glow-alpha: .55;
  --red:      #C82020;
  --primary:  #200830;
  --accent:   #6D3FA8;               /* violet doux pour les accents sur fond clair */
  --bg:       #ffffff;
  --bg-soft:  #F7F4EE;
  --cream:    #FBF8F2;
  --border:   #E8E2D9;
  --text:     #1C1626;
  --muted:    #6B657A;
  --ok:       #1E8E5A;
  --radius:   18px;
  --shadow-s: 0 1px 2px rgba(32,8,48,.05), 0 4px 12px rgba(32,8,48,.05);
  --shadow-m: 0 2px 4px rgba(32,8,48,.04), 0 12px 32px rgba(32,8,48,.09);
  --shadow-l: 0 24px 64px rgba(32,8,48,.2);
  --ease: cubic-bezier(.22,.68,.36,1);
}
html { scroll-behavior: smooth; }
html, body { overflow-x: hidden; }
body {
  font-family: 'Inter', -apple-system, 'Segoe UI', Roboto, sans-serif;
  color: var(--text); background: var(--bg); font-size: 16px; line-height: 1.65;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
[dir="rtl"] body, html[dir="rtl"] { font-family: 'Tajawal', 'Inter', sans-serif; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
.muted { color: var(--muted); }
.center { text-align: center; }
.lnk { color: var(--accent); font-weight: 600; }
.lnk:hover { text-decoration: underline; }
.nowrap { white-space: nowrap; }
.small { font-size: 12.5px; }
::selection { background: var(--yellow); color: var(--on-accent); }
:focus-visible { outline: 3px solid rgba(109,63,168,.35); outline-offset: 2px; border-radius: 6px; }
h1, h2, h3 { letter-spacing: -0.022em; }
.ico { width: 22px; height: 22px; flex: none; }

/* ── Navigation ─────────────────────────────────────────── */
.nav {
  display: flex; align-items: center; gap: 22px;
  padding: 12px max(5vw, calc((100% - 1180px) / 2));
  position: sticky; top: 0; z-index: 40;
  background: rgba(255,255,255,.86); backdrop-filter: blur(14px) saturate(1.5);
  border-bottom: 1px solid rgba(232,229,238,.9);
}
.brand { display: inline-flex; align-items: center; flex: none; }
.logo { height: 40px; width: auto; max-width: none; flex: none; display: block; }
.nav-links { display: flex; gap: 20px; flex: 1; font-size: 14.5px; font-weight: 550; color: var(--muted); }
.nav-links a { position: relative; padding: 4px 0; transition: color .18s; white-space: nowrap; }
.nav-links a::after { content: ""; position: absolute; inset-inline: 0 100%; bottom: -2px; height: 2px; background: var(--yellow-d); border-radius: 2px; transition: inset .22s var(--ease); }
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { inset-inline: 0 0; }
.nav-links .only-mobile { display: none; }
.nav-selects { display: flex; align-items: center; gap: 6px; }
.flag { display: inline-flex; width: 26px; height: 18px; border-radius: 4px; overflow: hidden; border: 2px solid transparent; opacity: .45; box-shadow: var(--shadow-s); transition: opacity .18s, border-color .18s, transform .18s var(--ease); }
.flag svg { width: 100%; height: 100%; display: block; }
.flag:hover { opacity: 1; transform: translateY(-1px); }
.flag.on { opacity: 1; border-color: var(--ink); }
.cur-pills { display: inline-flex; border: 1px solid var(--border); border-radius: 9px; overflow: hidden; background: #fff; box-shadow: var(--shadow-s); }
.cur-pills a { padding: 6px 12px; font-size: 12px; font-weight: 700; color: var(--muted); transition: background .15s, color .15s; }
.cur-pills a:hover { background: var(--bg-soft); color: var(--text); }
.cur-pills a.on { background: var(--ink); color: #fff; }
.nav .btn { white-space: nowrap; }
.burger { display: none; background: none; border: 0; color: var(--ink); width: 40px; height: 40px; cursor: pointer; padding: 6px; }
.burger svg { width: 100%; height: 100%; }

/* ── Boutons ────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 1px solid var(--border); background: #fff; color: var(--text);
  border-radius: 12px; padding: 11px 22px; font-size: 14.5px; font-weight: 650; cursor: pointer;
  font-family: inherit; box-shadow: var(--shadow-s); line-height: 1.3;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), background .18s, border-color .18s;
}
.btn .ico { width: 18px; height: 18px; }
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-m); border-color: #D9D4E2; }
.btn:active { transform: translateY(0); }
.btn-primary { background: linear-gradient(180deg, var(--ink-2), var(--ink)); border-color: transparent; color: #fff; box-shadow: 0 1px 2px rgba(32,8,48,.1), 0 6px 18px rgba(32,8,48,.28); }
.btn-primary:hover { background: linear-gradient(180deg, var(--ink-3), var(--ink)); box-shadow: 0 4px 10px rgba(32,8,48,.12), 0 10px 28px rgba(32,8,48,.34); }
.btn-yellow { background: var(--yellow); border-color: transparent; color: var(--on-accent); box-shadow: 0 6px 20px rgba(var(--accent-rgb),.35); }
.btn-yellow:hover { background: var(--yellow-d); }
.btn-soft { background: var(--bg-soft); border-color: transparent; box-shadow: none; }
.btn-ghost { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.3); color: #fff; box-shadow: none; backdrop-filter: blur(4px); }
.btn-ghost:hover { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.55); }
.btn-lg { padding: 15px 30px; font-size: 15.5px; border-radius: 14px; }
.btn-full { width: 100%; }

/* ── Héros ──────────────────────────────────────────────── */
.hero {
  position: relative; overflow: hidden; color: var(--ink);
  background: radial-gradient(760px 420px at 12% -10%, rgba(var(--accent-rgb),var(--glow-alpha)), transparent 62%),
              radial-gradient(640px 380px at 96% 18%, rgba(200,32,32,.10), transparent 60%),
              var(--cream);
  padding: 84px 5vw 96px;
}
.hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(32,8,48,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(32,8,48,.05) 1px, transparent 1px); background-size: 44px 44px; mask-image: radial-gradient(900px 560px at 50% 0%, #000 30%, transparent 100%); }
.hero-in { position: relative; max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.hero-in.one { grid-template-columns: 1fr; }
.hero-txt.center { text-align: center; max-width: 820px; margin: 0 auto; }
.hero-txt.center p, .hero-txt.center .hero-cta { margin-inline: auto; justify-content: center; }
.hero-sm { padding: 64px 5vw 72px; }
.hero-sm h1 { font-size: clamp(30px, 4.2vw, 46px); }
.kicker { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--red); margin-bottom: 20px; }
.kicker .ico { width: 16px; height: 16px; }
.hero h1 { font-size: clamp(36px, 5.2vw, 62px); line-height: 1.06; font-weight: 800; }
.hero h1 span { color: var(--yellow); }
.hl { position: relative; display: inline-block; }
.hl .swoosh { position: absolute; left: 0; right: 0; bottom: -.14em; width: 100%; height: .3em; overflow: visible; pointer-events: none; }
.hl .swoosh path { fill: none; stroke: var(--yellow); stroke-width: 8; stroke-linecap: round; stroke-dasharray: 420; stroke-dashoffset: 420; animation: swoosh 1.1s .35s var(--ease) forwards; opacity: .85; }
@keyframes swoosh { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) { .hl .swoosh path { animation: none; stroke-dashoffset: 0; } }
.hero p { margin: 24px 0 0; color: var(--muted); font-size: clamp(16px, 1.5vw, 18.5px); max-width: 560px; }
.hero-cta { margin-top: 34px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero-note { margin-top: 20px; font-size: 13px; color: var(--muted); }
.hero .btn-ghost { background: #fff; border-color: var(--border); color: var(--ink); box-shadow: var(--shadow-s); backdrop-filter: none; }
.hero .btn-ghost:hover { border-color: var(--ink); background: #fff; }

/* Maquette de caisse */
.mock { background: #fff; color: var(--text); border-radius: 20px; box-shadow: var(--shadow-l), 0 0 0 1px rgba(32,8,48,.06); overflow: hidden; transform: perspective(1400px) rotateY(-6deg) rotateX(2deg); transition: transform .5s var(--ease); font-size: 12.5px; }
.mock:hover { transform: perspective(1400px) rotateY(-2deg) rotateX(0); }
.mock-top { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #F1EFF5; border-bottom: 1px solid var(--border); }
.mock-dot { width: 9px; height: 9px; border-radius: 50%; background: #D5D0DD; }
.mock-dot.r { background: #FCA5A5; } .mock-dot.y { background: #FDE68A; } .mock-dot.g { background: #86EFAC; }
.mock-badge { margin-inline-start: auto; display: inline-flex; align-items: center; gap: 6px; background: #FFF4D6; color: #8A5A00; font-weight: 700; font-size: 11px; padding: 4px 10px; border-radius: 999px; }
.mock-badge .ico { width: 13px; height: 13px; }
.mock-body { display: grid; grid-template-columns: 1.25fr 1fr; }
.mock-grid { padding: 12px; border-inline-end: 1px solid var(--border); }
.mock-search { display: flex; align-items: center; gap: 8px; border: 1px solid var(--border); border-radius: 10px; padding: 8px 10px; color: var(--muted); margin-bottom: 10px; background: var(--bg-soft); }
.mock-search .ico { width: 16px; height: 16px; }
.mock-items { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.mock-item { border: 1px solid var(--border); border-radius: 12px; padding: 9px 9px 8px; background: #fff; cursor: pointer; text-align: start; font-family: inherit; display: grid; gap: 4px; transition: transform .15s var(--ease), box-shadow .15s; }
.mock-item:hover { transform: translateY(-2px); box-shadow: var(--shadow-s); }
.mock-item:active { transform: scale(.97); }
.mock-item i { display: block; height: 30px; border-radius: 8px; }
.mock-item span { font-weight: 600; font-size: 11.5px; line-height: 1.2; }
.mock-item b { font-size: 11px; color: var(--muted); font-weight: 600; }
.mock-ticket { padding: 12px; display: flex; flex-direction: column; background: #FBFAFD; }
.mock-th { font-weight: 700; font-size: 11.5px; color: var(--muted); letter-spacing: .04em; margin-bottom: 8px; }
.mock-lines { display: grid; gap: 6px; flex: 1; align-content: start; min-height: 120px; }
.ml { display: flex; justify-content: space-between; gap: 8px; font-size: 12px; padding: 5px 0; border-bottom: 1px dashed var(--border); transition: background .3s; }
.ml.new { background: #FFFBD1; }
.ml b { font-variant-numeric: tabular-nums; }
.mock-total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 10px; padding-top: 8px; border-top: 2px solid var(--ink); }
.mock-total b { font-size: 19px; font-weight: 800; font-variant-numeric: tabular-nums; }
.mock-pays { display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; margin-top: 10px; }
.mock-pays span { text-align: center; border: 1px solid var(--border); border-radius: 8px; padding: 5px 2px; font-size: 10.5px; font-weight: 600; background: #fff; }
.mock-pay { margin-top: 8px; background: var(--ink); color: var(--accent-on-ink); text-align: center; border-radius: 10px; padding: 10px; font-weight: 800; font-size: 13px; }

/* ── Bandeau de confiance ───────────────────────────────── */
.trust { background: var(--ink); }
.trust-in { max-width: 1180px; margin: 0 auto; padding: 16px 5vw; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 34px; font-size: 13.5px; font-weight: 600; color: #fff; }
.trust-in span { display: inline-flex; align-items: center; gap: 8px; }
.trust-in .ico { width: 18px; height: 18px; color: var(--accent-on-ink); }

/* ── Sections ───────────────────────────────────────────── */
.section { padding: 96px 5vw; max-width: 1180px; margin: 0 auto; }
.section.narrow { max-width: 680px; }
.section h2 { font-size: clamp(26px, 3.4vw, 40px); font-weight: 800; text-align: center; line-height: 1.16; }
.section-sub { text-align: center; color: var(--muted); margin: 14px auto 52px; font-size: 16.5px; max-width: 640px; }
.section.dark, .section.soft { max-width: none; }
.section.dark { background: radial-gradient(800px 400px at 50% 0%, rgba(var(--accent-rgb),.1), transparent 60%), radial-gradient(600px 300px at 100% 100%, rgba(200,32,32,.18), transparent 60%), var(--ink); color: #fff; }
.section.dark .section-sub { color: rgba(255,255,255,.6); }
.section.soft { background: var(--bg-soft); }
.wrap { max-width: 1180px; margin: 0 auto; }
.page-head { margin: 0 auto; padding: 64px 5vw 40px; text-align: center; background: radial-gradient(700px 320px at 15% -20%, rgba(var(--accent-rgb),.45), transparent 62%), var(--cream); border-bottom: 1px solid var(--border); }
.page-head + .section { padding-top: 56px; }
.page-head h1 { font-size: clamp(28px, 4vw, 46px); font-weight: 800; line-height: 1.12; }
.page-head p { color: var(--muted); font-size: 17px; max-width: 640px; margin: 14px auto 0; }
.page-head .cur-pills { margin-top: 22px; }
.anchors { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 26px; }
.anchors a { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 600; border: 1px solid var(--border); border-radius: 999px; padding: 7px 14px; background: #fff; transition: border-color .15s, background .15s; }
.anchors a:hover { border-color: var(--ink); background: var(--bg-soft); }
.anchors .ico { width: 16px; height: 16px; color: var(--accent); }

/* Apparition */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } .mock { transform: none; } }

/* Tuiles */
.tile { width: 46px; height: 46px; border-radius: 13px; flex: none; background: rgba(255,255,255,.08); color: var(--accent-on-ink); display: inline-flex; align-items: center; justify-content: center; }
.tile.light { background: var(--yellow); color: var(--on-accent); box-shadow: 0 6px 16px rgba(var(--accent-rgb),.35); }
.tile .ico { width: 22px; height: 22px; }

/* ── Onglets profils ────────────────────────────────────── */
.tab-bar { display: flex; justify-content: center; gap: 8px; margin-bottom: 36px; }
.tab { display: inline-flex; align-items: center; gap: 9px; border: 1px solid var(--border); background: #fff; border-radius: 999px; padding: 11px 22px; font-family: inherit; font-size: 14.5px; font-weight: 650; cursor: pointer; color: var(--muted); transition: all .18s; }
.tab .ico { width: 18px; height: 18px; }
.tab.on { background: var(--ink); color: #fff; border-color: var(--ink); box-shadow: var(--shadow-m); }
.pane { display: none; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.pane.on { display: grid; }
.pane-txt h3 { font-size: 26px; font-weight: 750; line-height: 1.2; }
.pane-txt > p { color: var(--muted); margin: 12px 0 20px; font-size: 15.5px; }
.pane-txt .btn { margin-top: 24px; }
.checks { list-style: none; padding: 0; display: grid; gap: 10px; font-size: 14.5px; }
.checks li { padding-inline-start: 28px; position: relative; }
.checks li::before { content: ""; position: absolute; inset-inline-start: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%; background: var(--yellow); }
.checks li::after { content: ""; position: absolute; inset-inline-start: 6.5px; top: 7px; width: 4px; height: 8px; border: solid var(--on-accent); border-width: 0 2.2px 2.2px 0; transform: rotate(45deg); }
.pane-art { display: grid; gap: 14px; }
.art-super { grid-template-columns: 1fr 1fr; }
.art-card { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 18px 18px 16px; box-shadow: var(--shadow-s); display: grid; gap: 4px; transition: transform .25s var(--ease), box-shadow .25s; }
.art-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-m); }
.art-card .ico { color: var(--red); margin-bottom: 6px; }
.art-card b { font-size: 16px; font-variant-numeric: tabular-nums; }
.art-card span { font-size: 12.5px; color: var(--muted); }
.art-card.kitchen { grid-column: 1 / -1; }
.tables { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.tbl { aspect-ratio: 1; border-radius: 16px; background: #fff; border: 1px solid var(--border); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; box-shadow: var(--shadow-s); font-size: 15px; }
.tbl i { width: 10px; height: 10px; border-radius: 50%; background: #CFCAD8; }
.tbl.busy { background: var(--ink); color: #fff; border-color: var(--ink); } .tbl.busy i { background: var(--accent-on-ink); }
.tbl.ready i { background: var(--ok); }

/* ── Capacités & chiffres (fond sombre) ─────────────────── */
.cap-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; }
.cap { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.09); border-radius: 18px; padding: 28px 26px; transition: background .2s, transform .2s var(--ease); }
.cap:hover { background: rgba(255,255,255,.09); transform: translateY(-3px); }
.cap b { display: block; font-size: 16.5px; margin: 18px 0 8px; font-weight: 700; }
.cap p { font-size: 14px; color: rgba(255,255,255,.64); }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 18px; margin-top: 56px; padding-top: 44px; border-top: 1px solid rgba(255,255,255,.1); text-align: center; }
.stat b { display: block; font-size: 40px; font-weight: 800; color: var(--accent-on-ink); line-height: 1; letter-spacing: -0.03em; }
.stat span { display: block; margin-top: 10px; font-size: 13.5px; color: rgba(255,255,255,.62); }

/* ── Étapes ─────────────────────────────────────────────── */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; counter-reset: s; }
.step { position: relative; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 34px 28px 30px; box-shadow: var(--shadow-s); transition: transform .25s var(--ease), box-shadow .25s; }
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow-m); }
.step-n { position: absolute; top: -14px; inset-inline-start: 24px; background: var(--ink); color: var(--accent-on-ink); font-weight: 800; font-size: 13px; width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-s); }
.step b { display: block; font-size: 17px; margin: 18px 0 8px; }
.step p { font-size: 14.5px; color: var(--muted); }

/* ── Matériel ───────────────────────────────────────────── */
.hw-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 18px; }
.hw { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 24px 22px; box-shadow: var(--shadow-s); }
.hw .ico { width: 28px; height: 28px; color: var(--accent); }
.hw b { display: block; margin: 14px 0 6px; font-size: 15.5px; }
.hw p { font-size: 13.5px; color: var(--muted); }

/* ── FAQ ────────────────────────────────────────────────── */
.faq { display: grid; gap: 12px; }
.faq-item { border: 1px solid var(--border); border-radius: 14px; padding: 0 22px; background: #fff; box-shadow: var(--shadow-s); transition: box-shadow .2s, border-color .2s; }
.faq-item[open] { box-shadow: var(--shadow-m); border-color: rgba(109,63,168,.4); }
.faq-item summary { cursor: pointer; font-weight: 650; font-size: 15px; padding: 18px 0; padding-inline-end: 28px; list-style: none; position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; inset-inline-end: 0; top: 50%; transform: translateY(-50%); color: var(--accent); font-size: 22px; font-weight: 700; }
.faq-item[open] summary::after { content: "–"; }
.faq-item p { padding: 0 0 18px; font-size: 14.5px; color: var(--muted); }

/* ── Bande CTA ──────────────────────────────────────────── */
.cta-band { background: radial-gradient(700px 360px at 85% 100%, rgba(255,255,255,.35), transparent 60%), var(--yellow); color: var(--on-accent); padding: 84px 5vw; text-align: center; }
.cta-band .btn-yellow { background: var(--ink); color: #fff; box-shadow: 0 8px 22px rgba(32,8,48,.28); }
.cta-band .btn-yellow:hover { background: var(--ink-2); }
.cta-band .btn-ghost { background: rgba(255,255,255,.18); border-color: rgba(255,255,255,.6); color: var(--on-accent); backdrop-filter: none; }
.cta-band .btn-ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }
.cta-in h2 { font-size: clamp(26px, 3.4vw, 40px); font-weight: 800; }
.cta-in p { color: var(--on-accent); opacity: .78; margin: 14px auto 0; max-width: 560px; font-size: 16.5px; }
.cta-in .hero-cta { justify-content: center; }

/* ── Fonctionnalités ────────────────────────────────────── */
.feat-group { padding: 64px 5vw; }
.feat-head { display: flex; align-items: center; gap: 16px; margin-bottom: 28px; }
.feat-head h2 { text-align: start; font-size: 26px; }
.feat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 16px; }
.feat { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 22px 22px 20px; box-shadow: var(--shadow-s); transition: transform .2s var(--ease), box-shadow .2s; }
.feat:hover { transform: translateY(-3px); box-shadow: var(--shadow-m); }
.feat .ico { color: var(--accent); width: 24px; height: 24px; }
.feat b { display: block; margin: 12px 0 6px; font-size: 15.5px; }
.feat p { font-size: 13.8px; color: var(--muted); }

/* ── Plateforme (tuiles) + badge « Bientôt » ───────────── */
.plat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.plat { display: grid; gap: 8px; justify-items: center; text-align: center; background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 26px 18px 22px; box-shadow: var(--shadow-s); transition: transform .2s var(--ease), box-shadow .2s, border-color .2s; }
.plat:hover { transform: translateY(-4px); box-shadow: var(--shadow-m); border-color: var(--ink); }
.plat b { font-size: 15px; margin-top: 6px; }
.plat p { font-size: 13px; color: var(--muted); }
.soon-tag { display: inline-block; vertical-align: middle; background: var(--yellow); color: var(--on-accent); font-size: 10px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; border-radius: 999px; padding: 2px 8px; margin-inline-start: 6px; }
.anchors .soon-tag { font-size: 9px; padding: 1px 6px; }
.feat-head .soon-tag { font-size: 11px; padding: 3px 10px; }
.soon-long { font-size: 13px; margin-inline-start: 4px; }

/* ── Pages métier ───────────────────────────────────────── */
.zig { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 40px; }
.zig-item { display: flex; gap: 18px; align-items: flex-start; padding: 26px; border: 1px solid var(--border); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-s); }
.zig-item h3 { font-size: 18px; font-weight: 750; margin-bottom: 6px; }
.zig-item p { font-size: 14.5px; color: var(--muted); }

/* ── Tarifs ─────────────────────────────────────────────── */
.tab-bar.wrap-tabs { flex-wrap: wrap; gap: 8px; }
.tab-bar.wrap-tabs .tab { padding: 9px 16px; font-size: 13.5px; }
.pane.block { display: none; }
.pane.block.on { display: block; }
.price-grid.three { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); max-width: 1000px; margin: 0 auto; }
.mods-title { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-top: 4px; }
.price-card.custom { background: var(--bg-soft); border-style: dashed; }
.price-card li .soon-tag { font-size: 9px; padding: 1px 6px; vertical-align: 1px; }
.price-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(236px, 1fr)); gap: 18px; align-items: stretch; }
.price-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 30px 22px; position: relative; display: flex; flex-direction: column; gap: 14px; box-shadow: var(--shadow-s); transition: transform .25s var(--ease), box-shadow .25s; }
.price-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-m); }
.price-card.featured { border-color: var(--ink); box-shadow: 0 2px 4px rgba(32,8,48,.04), 0 18px 48px rgba(32,8,48,.16); }
.pop { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--yellow); color: var(--on-accent); font-size: 11px; font-weight: 800; border-radius: 999px; padding: 5px 16px; white-space: nowrap; box-shadow: var(--shadow-s); letter-spacing: .03em; }
.price-card h3 { font-size: 19px; text-align: center; font-weight: 750; }
.price-card > .muted { text-align: center; font-size: 13.5px; min-height: 42px; }
.price { text-align: center; font-size: clamp(20px, 1.7vw, 24px); font-weight: 800; color: var(--ink); font-variant-numeric: tabular-nums; line-height: 1.1; white-space: nowrap; }
.price small { font-size: 13px; color: var(--muted); font-weight: 600; margin-inline-start: 4px; }
.price .quote { font-size: 1em; }
.price-sub { text-align: center; font-size: 12.5px; color: var(--muted); margin-top: -8px; }
.price-card ul { list-style: none; padding: 0; display: grid; gap: 9px; font-size: 14px; margin-top: 6px; }
.price-card li { padding-inline-start: 26px; position: relative; }
.price-card li::before { content: "✓"; position: absolute; inset-inline-start: 2px; color: var(--accent); font-weight: 800; }
.price-card li.strong { font-weight: 700; }
.price-card .btn { margin-top: auto; }
.incl { margin-top: 48px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 28px 32px; box-shadow: var(--shadow-s); }
.incl h3 { font-size: 16px; font-weight: 700; margin-bottom: 18px; text-align: center; }
.incl-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.incl-grid div { display: flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 600; }
.incl-grid .ico { color: var(--accent); }

/* ── Suppléments + configuration ───────────────────────── */
.sup-table { width: 100%; border-collapse: collapse; }
.sup-table td { padding: 12px 8px; border-top: 1px solid #F0EEF4; font-size: 14.5px; vertical-align: middle; }
.sup-table tr:first-child td { border-top: 0; }
.sup-ico { width: 34px; color: var(--accent); }
.sup-price { text-align: end; font-weight: 700; color: var(--ink); white-space: nowrap; font-variant-numeric: tabular-nums; }
.card.soft.cfg { background: var(--bg-soft); padding: 22px 22px 18px; display: grid; gap: 10px; }
.cfg-t { font-size: 15.5px; }
.cfg .pline { border-top: 0; padding: 4px 0; }
.extra-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 2px 14px; }
.check { display: flex; align-items: flex-start; gap: 9px; padding: 6px 0; font-size: 13.5px; cursor: pointer; line-height: 1.35; }
.check input { accent-color: var(--ink); width: 16px; height: 16px; margin-top: 2px; flex: none; }
.field .check { display: flex; margin-bottom: 0; font-weight: 500; font-size: 13.5px; }
.field .check input { width: 16px; padding: 0; border-radius: 4px; box-shadow: none; }
.total-box { background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 14px 18px; font-size: 15px; text-align: center; }
.total-box b { color: var(--ink); font-size: 20px; font-variant-numeric: tabular-nums; }

/* ── Formulaires ────────────────────────────────────────── */
.form { display: grid; gap: 18px; }
.card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 30px 30px; box-shadow: var(--shadow-s); }
.field label { display: block; font-size: 13px; font-weight: 650; margin-bottom: 7px; }
.field input, .field select, .field textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--border); border-radius: 12px; font-size: 15px; font-family: inherit; background: #fff; color: var(--text); transition: border-color .18s, box-shadow .18s; }
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(109,63,168,.12); }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.choice { position: relative; border: 1px solid var(--border); border-radius: 14px; padding: 14px 16px; padding-inline-start: 62px; cursor: pointer; display: grid; gap: 2px; background: #fff; transition: border-color .18s, background .18s, box-shadow .18s; }
.choice:hover { box-shadow: var(--shadow-s); }
.choice input { display: none; }
.choice b { font-size: 15px; display: block; }
.choice > span:not(.choice-ico) { font-size: 12.5px; color: var(--muted); display: block; }
.choice.sel { border-color: var(--ink); background: #FAF8FD; box-shadow: 0 0 0 4px rgba(32,8,48,.08); }
.choice-ico { position: absolute; inset-inline-start: 14px; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; border-radius: 10px; background: var(--ink); color: var(--accent-on-ink); display: flex; align-items: center; justify-content: center; }
.choice-ico .ico { width: 19px; height: 19px; }
.alert { background: #FDECEC; color: #B42318; border-radius: 12px; padding: 13px 17px; font-size: 14px; font-weight: 550; }
.flash-ok { background: #E7F7EE; color: #147A46; border-radius: 12px; padding: 13px 17px; font-size: 14px; font-weight: 600; margin-bottom: 18px; }
.split-form { display: grid; grid-template-columns: 1.4fr 1fr; gap: 28px; align-items: start; }
.side { display: grid; gap: 18px; }
.side-card { background: var(--bg-soft); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.side-card > b { display: block; font-size: 15.5px; margin-bottom: 12px; }
.contactbox a { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid var(--border); font-weight: 600; font-size: 14.5px; }
.contactbox a .ico { color: var(--accent); }
.contactbox.big a { padding: 14px 0; }
.contactbox.big a > span { display: grid; }
.contactbox small { font-size: 11.5px; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .05em; }

/* ── Espace client / admin ──────────────────────────────── */
.auth { padding-top: 60px; }
.auth .card { max-width: 520px; margin: 0 auto; }
.auth-head { text-align: center; margin-bottom: 26px; display: grid; justify-items: center; gap: 12px; }
.auth-head h2 { font-size: 28px; }
.portal-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 26px; flex-wrap: wrap; }
.portal-head h2 { text-align: start; }
.portal-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.pcard { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 26px 28px; box-shadow: var(--shadow-s); }
.pcard.wide { grid-column: 1 / -1; }
.pcard h3 { font-size: 16px; margin-bottom: 14px; font-weight: 700; display: flex; align-items: center; gap: 10px; }
.pcard h3 .ico { color: var(--accent); width: 20px; height: 20px; }
.pcard-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.pline { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid #F0EEF4; font-size: 14.5px; }
.pline span { color: var(--muted); }
.pstatus.ok { color: var(--ok); } .pstatus.wait { color: #B45309; } .pstatus.bad { color: #B42318; }
.ptable { width: 100%; border-collapse: collapse; font-size: 14px; }
.ptable th { text-align: start; font-size: 11px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); padding: 8px 6px; border-bottom: 1px solid var(--border); }
.ptable td { padding: 11px 6px; border-bottom: 1px solid #F0EEF4; vertical-align: top; }
.tscroll { overflow-x: auto; }
.badge { display: inline-block; border-radius: 999px; padding: 4px 11px; font-size: 12px; font-weight: 700; white-space: nowrap; }
.badge.ouvert { background: #FFF4D6; color: #8A5A00; } .badge.repondu { background: #E7F7EE; color: #147A46; } .badge.ferme { background: var(--bg-soft); color: var(--muted); }
.dl-list { display: grid; gap: 8px; }
.dl { display: flex; align-items: center; gap: 10px; border: 1px solid var(--border); border-radius: 12px; padding: 11px 14px; font-weight: 600; font-size: 14px; transition: border-color .15s, background .15s; }
.dl:hover { border-color: var(--ink); background: var(--bg-soft); }
.dl .ico { color: var(--accent); width: 18px; height: 18px; }
.helpbox { display: flex; justify-content: space-between; align-items: center; gap: 18px; flex-wrap: wrap; background: var(--bg-soft); }
.thread { display: grid; gap: 12px; }
.msg { border-radius: 14px; padding: 14px 16px; border: 1px solid var(--border); background: #fff; max-width: 88%; }
.msg.me { margin-inline-start: auto; background: #FAF8FD; border-color: #E4DCF0; }
.msg-meta { font-size: 12px; color: var(--muted); margin-bottom: 6px; }
.msg-body { font-size: 14.5px; }
.admin .field select, .admin .field input { padding: 9px 12px; font-size: 14px; }
.ptable select { padding: 6px 8px; border-radius: 8px; border: 1px solid var(--border); font-family: inherit; font-size: 13px; }

/* ── Appareils (téléphone / tablette en CSS) ────────────── */
.kicker.dark { color: var(--red); }
.devices-duo { display: grid; grid-template-columns: 1fr 1.8fr; gap: 40px; align-items: end; }
.devices-duo.compact { gap: 18px; align-items: end; grid-template-columns: 1.7fr 1fr; }
.dv-col { text-align: center; }
.dv-col h3 { font-size: 20px; font-weight: 750; margin-top: 24px; }
.dv-col p { font-size: 14.5px; max-width: 420px; margin: 8px auto 0; }
.device { margin: 0 auto; background: #14081F; border-radius: 34px; padding: 14px 10px; box-shadow: var(--shadow-l), inset 0 0 0 2px rgba(255,255,255,.08); color: var(--text); text-align: start; font-size: 11px; }
.device.phone { width: 240px; border-radius: 34px; padding: 16px 9px; }
.device.tablet { width: 100%; max-width: 520px; border-radius: 22px; padding: 12px; }
.dv-screen { background: #FBFAFD; border-radius: 22px; overflow: hidden; display: flex; flex-direction: column; }
.device.tablet .dv-screen { border-radius: 12px; }
.dv-top { display: flex; justify-content: space-between; align-items: center; padding: 8px 12px; background: #F1EFF5; border-bottom: 1px solid var(--border); font-size: 10px; font-weight: 700; }
.dv-badge { display: inline-flex; align-items: center; gap: 5px; background: #FFF4D6; color: #8A5A00; border-radius: 999px; padding: 3px 8px; }
.dv-badge .ico { width: 11px; height: 11px; }
.dv-time { color: var(--muted); }
.dv-body { display: grid; grid-template-columns: 1.3fr 1fr; }
.dv-body > div:first-child { padding: 10px; border-inline-end: 1px solid var(--border); }
.dv-search { display: flex; align-items: center; gap: 6px; border: 1px solid var(--border); border-radius: 8px; padding: 6px 8px; color: var(--muted); background: #fff; margin: 10px 10px 8px; font-size: 10.5px; }
.dv-body .dv-search { margin: 0 0 8px; }
.dv-search .ico { width: 13px; height: 13px; }
.dv-grid { display: grid; gap: 6px; padding: 0 10px; }
.dv-body .dv-grid { padding: 0; }
.dv-grid.cols2 { grid-template-columns: repeat(2, 1fr); }
.dv-grid.cols3 { grid-template-columns: repeat(3, 1fr); }
.dv-item { background: #fff; border: 1px solid var(--border); border-radius: 9px; padding: 6px; display: grid; gap: 3px; }
.dv-item i { display: block; height: 22px; border-radius: 6px; }
.dv-item span { font-weight: 600; font-size: 10px; line-height: 1.15; }
.dv-item b { font-size: 9.5px; color: var(--muted); font-weight: 600; }
.dv-ticket { padding: 10px; display: flex; flex-direction: column; gap: 4px; background: #fff; border-top: 1px solid var(--border); margin-top: 10px; }
.dv-body .dv-ticket { border-top: 0; margin-top: 0; background: #FBFAFD; }
.dv-th { font-weight: 700; font-size: 10px; color: var(--muted); letter-spacing: .04em; margin-bottom: 4px; }
.dv-ml { display: flex; justify-content: space-between; font-size: 10.5px; padding: 3px 0; border-bottom: 1px dashed var(--border); }
.dv-total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 6px; padding-top: 6px; border-top: 2px solid var(--ink); }
.dv-total b { font-size: 15px; font-weight: 800; white-space: nowrap; }
.dv-pay { margin-top: 6px; background: var(--ink); color: var(--accent-on-ink); text-align: center; border-radius: 8px; padding: 8px; font-weight: 800; font-size: 11px; }
.split-mob { display: grid; grid-template-columns: 1fr 1.25fr; gap: 48px; align-items: center; }
.split-mob-txt h2 { font-size: clamp(24px, 3vw, 34px); margin: 10px 0 12px; }
.split-mob-txt .checks { margin: 18px 0 24px; }
.store-row { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 36px; }
.store-badge { display: inline-flex; align-items: center; gap: 11px; background: var(--ink); color: #fff; border-radius: 13px; padding: 11px 20px 11px 15px; font-weight: 650; font-size: 14px; box-shadow: var(--shadow-s); transition: transform .18s var(--ease); }
.store-badge:hover { transform: translateY(-2px); }
.store-badge.soon { opacity: .75; }
.store-ico svg, .store-ico .ico { width: 22px; height: 22px; display: block; color: var(--accent-on-ink); }
@media (max-width: 900px) {
  .devices-duo, .split-mob { grid-template-columns: 1fr; }
  .devices-duo.compact { grid-template-columns: 1fr; }
  .devices-duo .dv-col.wide { order: -1; }
}

/* ── Merci / 404 / prose ────────────────────────────────── */
.thanks-tile { width: 74px; height: 74px; border-radius: 19px; background: var(--ink); color: var(--accent-on-ink); display: flex; align-items: center; justify-content: center; margin: 0 auto 26px; box-shadow: var(--shadow-m); font-weight: 800; font-size: 20px; }
.thanks-tile .ico { width: 34px; height: 34px; }
.prose h3 { font-size: 18px; margin: 26px 0 8px; }
.prose p { color: var(--muted); font-size: 15px; }

/* ── Footer + WhatsApp ──────────────────────────────────── */
.footer { background: var(--ink); color: #fff; }
.footer-in { max-width: 1180px; margin: 0 auto; padding: 60px 5vw; display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; font-size: 14.5px; }
.footer .logo { background: #fff; border-radius: 12px; padding: 5px 10px; }
.footer .muted { color: rgba(255,255,255,.55); margin-top: 10px; line-height: 1.9; }
.footer b { color: #fff; }
.footer a:hover { color: var(--accent-on-ink); }
.footer-bar { border-top: 1px solid rgba(255,255,255,.08); text-align: center; padding: 18px; font-size: 12.5px; color: rgba(255,255,255,.42); }
.wa-float { position: fixed; bottom: 22px; inset-inline-end: 22px; width: 54px; height: 54px; border-radius: 50%; background: #25D366; color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 24px rgba(37,211,102,.4); z-index: 30; transition: transform .2s var(--ease); }
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 28px; height: 28px; }
.page-admin .wa-float { display: none; }

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 1180px) {
  .nav { gap: 14px; }
  .nav-links { gap: 14px; font-size: 13.5px; }
  .nav-portal { display: none; }
}
@media (max-width: 1040px) {
  .nav-links { display: none; }
  .burger { display: block; }
  body.nav-open .nav-links { display: flex; flex-direction: column; position: fixed; top: 65px; left: 0; right: 0; background: #fff; padding: 16px 20px 22px; gap: 4px; border-bottom: 1px solid var(--border); box-shadow: var(--shadow-m); z-index: 39; font-size: 16px; }
  body.nav-open .nav-links a { padding: 10px 0; border-bottom: 1px solid #F0EEF4; }
  body.nav-open .nav-links .only-mobile { display: block; font-weight: 700; color: var(--ink); }
  .footer-in { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .hero-in { grid-template-columns: 1fr; gap: 40px; }
  .mock { transform: none; max-width: 560px; }
  .pane { grid-template-columns: 1fr; gap: 32px; }
  .zig { grid-template-columns: 1fr; }
  .split-form { grid-template-columns: 1fr; }
  .portal-grid { grid-template-columns: 1fr; }
  .grid4 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .nav { padding: 10px 16px; gap: 10px; }
  .nav-selects { margin-inline-start: auto; }
  .nav-cta { display: none; }
  body.nav-open .nav-links { top: 61px; }
  .hero { padding: 44px 16px 56px; }
  .hero h1 { font-size: 34px; }
  .hero-cta .btn { width: 100%; }
  .section { padding: 64px 16px; }
  .page-head { padding: 44px 16px 10px; }
  .feat-group { padding: 44px 16px; }
  .cta-band { padding: 60px 16px; }
  .trust-in { padding: 14px 16px; gap: 10px 18px; font-size: 12.5px; }
  .grid2, .grid4 { grid-template-columns: 1fr; }
  .card { padding: 22px 18px; }
  .mock-items { grid-template-columns: repeat(2, 1fr); }
  .mock-body { grid-template-columns: 1fr; }
  .mock-grid { border-inline-end: 0; border-bottom: 1px solid var(--border); }
  .footer-in { grid-template-columns: 1fr; padding: 44px 16px; }
  .art-super { grid-template-columns: 1fr; }
  .tables { grid-template-columns: repeat(4, 1fr); gap: 8px; }
  .stat b { font-size: 32px; }
  .msg { max-width: 100%; }
  .wa-float { bottom: 16px; inset-inline-end: 16px; width: 50px; height: 50px; }
}
