/* garag public landing pages (docs/PLAN.md 11.1): plain CSS, no build step, French and Arabic (RTL). */
@font-face { font-family: 'Plex'; src: url('fonts/plex-latin-400.woff2') format('woff2'); font-weight: 400; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212; }
@font-face { font-family: 'Plex'; src: url('fonts/plex-latin-700.woff2') format('woff2'); font-weight: 700; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212; }
@font-face { font-family: 'Plex'; src: url('fonts/plex-arabic-400.woff2') format('woff2'); font-weight: 400; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0898-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }
@font-face { font-family: 'Plex'; src: url('fonts/plex-arabic-700.woff2') format('woff2'); font-weight: 700; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0898-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }

:root {
  --accent: #334155; --accent-dark: #0f172a; --accent-soft: #f1f5f9;
  --vehicle: #0c1282; --phone: #6d28d9; --appliance: #0f766e; --general: #334155;
  --ink: #0f172a; --muted: #475569; --line: #e2e8f0; --page: #f8fafc; --card: #ffffff;
  --radius: 18px;
  font-family: 'Plex', 'Segoe UI', Tahoma, system-ui, sans-serif;
  color: var(--ink); background: var(--page);
  line-height: 1.6;
}
body[data-type='vehicle'] { --accent: #0c1282; --accent-dark: #060a4f; --accent-soft: #eef0fb; } /* GARAG navy */
body[data-type='phone'] { --accent: #6d28d9; --accent-dark: #2e1065; --accent-soft: #f5f3ff; }
body[data-type='appliance'] { --accent: #0f766e; --accent-dark: #042f2e; --accent-soft: #f0fdfa; }

* { box-sizing: border-box; }
body { margin: 0; background: var(--page); }
img, svg { max-width: 100%; display: block; }
a { color: var(--accent); }
h1, h2, h3 { line-height: 1.25; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.5rem, 3.4vw, 2.2rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
.skip { position: absolute; inset-inline-start: -999px; top: 8px; background: #fff; padding: 8px 14px; border-radius: 8px; z-index: 10; }
.skip:focus { inset-inline-start: 8px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 6px; }

/* Header */
.top { position: sticky; top: 0; z-index: 5; background: rgba(255,255,255,.94); backdrop-filter: blur(6px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 16px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--accent); font-weight: 700; font-size: 1.35rem; }
.brand img { width: 38px; height: 38px; }
.brand img.lockup { width: auto; height: 46px; }
@media (max-width: 420px) { .brand img.lockup { height: 38px; } }
.brand img.lockup.wordmark { height: 44px; }
@media (max-width: 420px) { .brand img.lockup.wordmark { height: 36px; } }
.nav { display: flex; gap: 18px; margin-inline-start: auto; align-items: center; }
.nav a { color: var(--muted); text-decoration: none; font-weight: 700; font-size: .95rem; }
.nav a:hover { color: var(--accent); }
.nav .lang { border: 1px solid var(--line); border-radius: 10px; padding: 6px 12px; }
.links { display: flex; gap: 18px; }
@media (max-width: 760px) { .links { display: none; } .nav { gap: 10px; } .nav .login { display: none; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 14px; font-weight: 700; text-decoration: none; font-size: 1rem; }
.btn-primary, .nav a.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 8px 20px -10px var(--accent); }
.btn-primary:hover { background: var(--accent-dark); }
.btn-ghost { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-small { white-space: nowrap; min-height: 40px; padding: 0 14px; font-size: .92rem; border-radius: 12px; }

/* Hero */
.hero { background: linear-gradient(160deg, var(--accent-soft), #fff 60%); border-bottom: 1px solid var(--line); }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; padding-block: 64px; }
.eyebrow { display: inline-block; font-weight: 700; color: var(--accent); background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 4px 14px; font-size: .9rem; margin-bottom: 16px; }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 40ch; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.note { font-size: .9rem; color: var(--muted); margin-top: 12px; }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: 1fr; padding-block: 40px; gap: 32px; } }

/* Product mockups (drawn in HTML so they follow the language and the type) */
.mock { background: var(--card); border: 1px solid var(--line); border-radius: 22px; box-shadow: 0 30px 60px -30px rgba(15,23,42,.35); padding: 20px; }
.mock-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.mock-title { font-weight: 700; }
.mock-sub { color: var(--muted); font-size: .9rem; }
.chip { display: inline-block; border-radius: 999px; padding: 2px 10px; font-size: .8rem; font-weight: 700; background: var(--accent-soft); color: var(--accent); }
.chip-green { background: #dcfce7; color: #166534; }
.plate { flex: none; display: inline-flex; border: 2px solid var(--ink); border-radius: 6px; font-weight: 700; overflow: hidden; direction: ltr; font-size: .95rem; }
.plate span { padding: 2px 6px; }
.plate span + span { border-inline-start: 2px solid var(--ink); }
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; margin: 16px 0; }
.steps i { height: 8px; border-radius: 8px; background: var(--line); }
.steps i.on { background: var(--accent); }
.lines { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.lines li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.lines b { white-space: nowrap; }
.total { display: flex; justify-content: space-between; font-weight: 700; padding-top: 12px; font-size: 1.05rem; }
.wa svg { width: 22px; height: 22px; flex: none; }
.wa { margin-top: 14px; display: flex; align-items: center; gap: 8px; background: #15803d; color: #fff; border-radius: 12px; padding: 10px 14px; font-weight: 700; font-size: .95rem; }
.track li { display: flex; align-items: center; gap: 12px; padding: 9px 0; }
.track .dot { width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--line); flex: none; display: grid; place-items: center; font-size: .8rem; font-weight: 700; color: var(--muted); }
.track .done .dot { background: var(--accent); border-color: var(--accent); color: #fff; }
.track .now .dot { border-color: var(--accent); color: var(--accent); }
.track .now span { font-weight: 700; }
.track ol { list-style: none; padding: 0; margin: 0; }

/* Sections */
section { padding-block: 64px; }
.center { text-align: center; max-width: 720px; margin-inline: auto; margin-bottom: 36px; }
.center p { color: var(--muted); font-size: 1.1rem; }
.process { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; counter-reset: step; }
.process li { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; counter-increment: step; }
.process li::before { content: counter(step); display: grid; place-items: center; width: 36px; height: 36px; border-radius: 12px; background: var(--accent); color: #fff; font-weight: 700; margin-bottom: 10px; }
.process p { color: var(--muted); font-size: .95rem; margin: 0; }
@media (max-width: 900px) { .process { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .process { grid-template-columns: 1fr; } }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.feature svg { width: 40px; height: 40px; padding: 8px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); margin-bottom: 12px; }
.feature p { color: var(--muted); margin: 0; font-size: .97rem; }
@media (max-width: 900px) { .grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .grid { grid-template-columns: 1fr; } }

.alt { background: #fff; border-block: 1px solid var(--line); }

/* Trade blocks on the main page */
.trades { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.trade { --c: var(--general); display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden; background: var(--card); border: 1px solid var(--line); text-decoration: none; color: var(--ink); transition: transform .15s, box-shadow .15s; }
.trade:hover { transform: translateY(-3px); box-shadow: 0 20px 40px -24px var(--c); }
.trade-art { background: linear-gradient(150deg, var(--c), color-mix(in srgb, var(--c) 55%, #000)); padding: 28px; display: grid; place-items: center; }
.trade-art img { width: 96px; height: 96px; }
.trade-body { padding: 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.trade-body p { color: var(--muted); margin: 0; font-size: .95rem; flex: 1; }
.trade-go { font-weight: 700; color: var(--c); margin-top: 8px; }
.trade[data-t='vehicle'] { --c: var(--vehicle); }
.trade[data-t='phone'] { --c: var(--phone); }
.trade[data-t='appliance'] { --c: var(--appliance); }
@media (max-width: 960px) { .trades { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .trades { grid-template-columns: 1fr; } }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.split ul { padding-inline-start: 1.2em; margin: 0; }
.split li { margin-bottom: .6em; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

.band { background: linear-gradient(150deg, var(--accent), var(--accent-dark)); color: #fff; border-radius: 26px; padding: 48px 32px; text-align: center; }
.band h2 { color: #fff; }
.band p { color: rgba(255,255,255,.88); font-size: 1.1rem; }
.band .btn-primary { background: #fff; color: var(--accent-dark); }
.band .btn-primary:hover { background: var(--accent-soft); }
.band .cta { justify-content: center; }

footer { border-top: 1px solid var(--line); background: #fff; padding-block: 28px; color: var(--muted); font-size: .92rem; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; justify-content: space-between; }
footer nav { display: flex; flex-wrap: wrap; gap: 18px; }
footer a { color: var(--muted); }
footer .maker { flex-basis: 100%; display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; padding-top: 12px; border-top: 1px solid var(--line); font-size: .8rem; text-decoration: none; }
footer .maker img { height: 14px; width: auto; opacity: .8; }
footer .maker:hover img { opacity: 1; }

[dir='rtl'] .ltr { direction: ltr; unicode-bidi: isolate; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* ---------- Main page (/ and /ar): GARAG navy, the brochure's problems and solutions ---------- */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.btn svg { width: 20px; height: 20px; }
.kicker { display: inline-block; font-weight: 700; font-size: .9rem; color: var(--accent); background: var(--accent-soft); border-radius: 999px; padding: 3px 14px; margin-bottom: 12px; }
.btn-wa { background: #15803d; color: #fff; }
.btn-wa:hover { background: #166534; }

/* Hero: GARAG's deep navy, the app on a tablet and a phone, three live alerts */
.hhero { position: relative; overflow: hidden; color: #fff; padding-block: 0; background:
  radial-gradient(900px 500px at 85% -10%, rgba(139,145,242,.32), transparent 60%),
  radial-gradient(700px 500px at -10% 110%, rgba(12,18,130,.6), transparent 60%),
  linear-gradient(160deg, #161c9e, #050840 70%); }
[dir='rtl'] .hhero { background:
  radial-gradient(900px 500px at 15% -10%, rgba(139,145,242,.32), transparent 60%),
  radial-gradient(700px 500px at 110% 110%, rgba(12,18,130,.6), transparent 60%),
  linear-gradient(200deg, #161c9e, #050840 70%); }
.hhero::after { content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: radial-gradient(rgba(255,255,255,.12) 1px, transparent 1px); background-size: 22px 22px;
  mask-image: linear-gradient(to bottom, #000, transparent 85%); }
.hhero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: center; padding-block: 88px 104px; }
@media (min-width: 1200px) { .hhero .wrap { width: min(1240px, 100% - 32px); } }
.hhero .eyebrow { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.25); color: #e0e2fb; }
.hhero h1 { color: #fff; font-size: clamp(2.3rem, 5.4vw, 3.9rem); }
.hhero h1 .hl { background: linear-gradient(90deg, #b4b8f7, #fff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hhero .lead { color: #e0e2fb; max-width: 46ch; }
.hhero .btn-primary { background: #fff; color: #0c1282; box-shadow: 0 14px 30px -12px rgba(0,0,0,.5); }
.hhero .btn-primary:hover { background: #e0e2fb; }
.hhero .btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.hhero .btn-ghost:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,.08); }
.ribbon { display: inline-flex; align-items: center; gap: 14px; margin-top: 28px; padding: 12px 18px; border-radius: 16px; background: linear-gradient(135deg, #f59e0b, #ea580c); color: #fff; box-shadow: 0 16px 30px -16px rgba(234,88,12,.8); }
.ribbon svg { width: 34px; height: 34px; flex: none; }
.ribbon b { display: block; font-size: 1.2rem; line-height: 1.2; }
.ribbon span { font-size: .9rem; opacity: .95; }
.hhero-art { position: relative; padding-block: 20px 40px; padding-inline-end: 70px; }
.device { background: #0b1220; border-radius: 22px; padding: 10px; box-shadow: 0 40px 80px -30px rgba(0,0,0,.7), 0 0 0 1px rgba(255,255,255,.12) inset; }
.device img { border-radius: 13px; width: 100%; height: auto; background: #fff; }
.device.phone { border-radius: 30px; padding: 8px; }
.device.phone img { border-radius: 23px; }
.hhero-art .tablet { transform: perspective(1600px) rotateY(-8deg) rotateX(3deg); transform-origin: center; }
[dir='rtl'] .hhero-art .tablet { transform: perspective(1600px) rotateY(8deg) rotateX(3deg); }
.hhero-art .phone { position: absolute; inset-inline-end: 0; bottom: 0; width: 30%; max-width: 170px; aspect-ratio: 9 / 18.5; overflow: hidden; }
.hhero-art .phone img { height: 100%; object-fit: cover; object-position: top; }
.toasts { list-style: none; margin: 0; padding: 0; }
.toast { position: absolute; display: flex; align-items: center; gap: 10px; background: #fff; color: var(--ink); border-radius: 14px; padding: 10px 14px; box-shadow: 0 18px 40px -16px rgba(0,0,0,.55); font-size: .85rem; line-height: 1.3; max-width: 250px; animation: float 6s ease-in-out infinite; }
.toast svg { width: 34px; height: 34px; padding: 7px; border-radius: 10px; flex: none; color: var(--c); background: color-mix(in srgb, var(--c) 12%, #fff); }
.toast b { display: block; }
.toast span { color: var(--muted); }
.toast.t1 { top: -6px; inset-inline-start: -28px; }
.toast.t2 { top: 42%; inset-inline-start: -44px; animation-delay: -2s; }
.toast.t3 { bottom: 4px; inset-inline-start: 18%; animation-delay: -4s; }
@keyframes float { 50% { transform: translateY(-8px); } }
@media (max-width: 960px) {
  .hhero .wrap { grid-template-columns: 1fr; padding-block: 36px 56px; gap: 36px; }
  .hhero-art { padding-inline-end: 50px; }
  .toast.t1, .toast.t2 { inset-inline-start: -6px; }
}
@media (max-width: 520px) { .toast { font-size: .78rem; max-width: 210px; padding: 8px 10px; } .toast.t2 { display: none; } .hhero-art { padding-inline-end: 34px; } }

.strip { background: #fff; border-bottom: 1px solid var(--line); }
.strip .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; padding-block: 22px; }
.strip .wrap > div { display: flex; gap: 12px; align-items: center; }
.strip svg { width: 42px; height: 42px; padding: 9px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); flex: none; }
.strip p { margin: 0; line-height: 1.35; }
.strip b { display: block; }
.strip span { color: var(--muted); font-size: .9rem; }
@media (max-width: 900px) { .strip .wrap { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .strip .wrap { grid-template-columns: 1fr; } }

/* The eight problems */
.probs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.prob { position: relative; display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; overflow: hidden; transition: transform .15s, box-shadow .15s; scroll-margin-top: 90px; }
.prob::before { content: ''; position: absolute; inset-inline: 0; top: 0; height: 4px; background: var(--c); }
.prob:hover { transform: translateY(-3px); box-shadow: 0 22px 40px -28px var(--c); }
.prob-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.prob-ic svg { width: 46px; height: 46px; padding: 10px; border-radius: 14px; color: var(--c); background: color-mix(in srgb, var(--c) 11%, #fff); }
.prob-n { font-weight: 700; font-size: 1.6rem; color: color-mix(in srgb, var(--c) 30%, #fff); }
.prob h3 { margin-bottom: 8px; }
.story { color: var(--ink); font-size: .97rem; flex: 1; }
.cost { display: flex; gap: 8px; align-items: flex-start; color: var(--c); font-weight: 700; font-size: .9rem; margin-bottom: 14px; }
.cost svg { width: 18px; height: 18px; flex: none; margin-top: 2px; }
.prob-go { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: .9rem; color: var(--accent); text-decoration: none; padding-top: 12px; border-top: 1px dashed var(--line); }
.prob-go svg { width: 16px; height: 16px; flex: none; }
@media (max-width: 1020px) { .probs { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .probs { grid-template-columns: 1fr; } }

/* Where they come from: the steps, then "Tracer, c'est répondre" */
.lost { background: linear-gradient(180deg, var(--page), var(--accent-soft)); }
.flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.flow > li { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.flow > li:not(:last-child)::after { content: ''; position: absolute; top: 34px; inset-inline-end: -12px; width: 10px; height: 10px; border-top: 2px solid var(--accent); border-inline-end: 2px solid var(--accent); transform: rotate(45deg); z-index: 1; }
[dir='rtl'] .flow > li:not(:last-child)::after { transform: rotate(-45deg); }
.flow-n { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 700; margin-bottom: 10px; }
.flow h3 { font-size: 1.02rem; }
.flow ul { list-style: none; padding: 0; margin: 0; }
.flow ul li { font-size: .9rem; color: var(--muted); padding: 6px 0; border-top: 1px dashed var(--line); }
.trace { margin-top: 28px; display: grid; grid-template-columns: .8fr 1.2fr; gap: 28px; align-items: center; background: linear-gradient(150deg, var(--accent), var(--accent-dark)); color: #fff; border-radius: 26px; padding: 32px; }
.trace h3 { font-size: 1.7rem; color: #fff; }
.trace-head p { color: #e0e2fb; margin: 0; }
.qa { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.qa li { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 16px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15); border-radius: 14px; padding: 10px 14px; }
.qa .q { font-weight: 700; }
.qa .a { display: inline-flex; align-items: center; gap: 6px; background: #fff; color: var(--c); border-radius: 999px; padding: 3px 12px 3px 6px; font-weight: 700; font-size: .85rem; }
[dir='rtl'] .qa .a { padding: 3px 6px 3px 12px; }
.qa .a svg { width: 18px; height: 18px; }
@media (max-width: 1020px) { .flow { grid-template-columns: 1fr 1fr; } .flow > li::after { display: none; } .trace { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .flow { grid-template-columns: 1fr; } .trace { padding: 22px; } }

/* The solution in pictures */
.shows { display: grid; gap: 56px; }
.show { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.show.rev figure { order: 2; }
.show figure { margin: 0; position: relative; }
.show figure::before { content: ''; position: absolute; inset: 8% -4% -6% 6%; background: var(--accent-soft); border-radius: 30px; z-index: 0; }
.show.rev figure::before { inset: 8% 6% -6% -4%; }
.show .device { position: relative; z-index: 1; }
.show.is-phone { grid-template-columns: .85fr 1.15fr; }
.show.is-phone .device { width: min(280px, 70%); margin-inline: auto; }
.show-text h3 { font-size: 1.6rem; }
.show-text > p { color: var(--muted); font-size: 1.05rem; }
.solves { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-bottom: 12px; font-size: .85rem; color: var(--muted); font-weight: 700; }
.pchip { display: inline-flex; align-items: center; gap: 5px; border-radius: 999px; padding: 3px 10px 3px 6px; font-size: .8rem; font-weight: 700; text-decoration: none; color: var(--c); background: color-mix(in srgb, var(--c) 10%, #fff); border: 1px solid color-mix(in srgb, var(--c) 25%, #fff); }
[dir='rtl'] .pchip { padding: 3px 6px 3px 10px; }
.pchip svg { width: 16px; height: 16px; }
/* Nouveautés: a feature card ends with the problems it solves. */
.news .feature { display: flex; flex-direction: column; }
.news .feature h3 { margin: 0 0 6px; }
.news .feature .solves { margin: auto 0 0; padding-top: 14px; }
.news .feature .pchip svg { width: 16px; height: 16px; padding: 0; margin: 0; border-radius: 0; background: none; color: inherit; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.checks li { display: flex; gap: 8px; align-items: flex-start; }
.checks svg { width: 20px; height: 20px; color: #16a34a; flex: none; margin-top: 3px; }
@media (max-width: 900px) { .show, .show.is-phone { grid-template-columns: 1fr; gap: 24px; } .show.rev figure { order: 0; } }

/* One module per problem */
.mods { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.mod { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; scroll-margin-top: 90px; }
.mod:target { outline: 3px solid var(--c); }
.mod-top { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; margin-bottom: 12px; }
.mod-ic svg { width: 44px; height: 44px; padding: 10px; border-radius: 14px; background: var(--accent); color: #fff; }
.mod p { color: var(--muted); font-size: .94rem; margin: 0; }
@media (max-width: 1020px) { .mods { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .mods { grid-template-columns: 1fr; } }

/* Why QaBo: the same screen in French and Arabic */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 36px; }
.duo figure { margin: 0; }
.duo figcaption { text-align: center; color: var(--muted); font-weight: 700; margin-top: 10px; font-size: .95rem; }
@media (max-width: 700px) { .duo { grid-template-columns: 1fr; } }

/* Guided start */
.onb { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.onb li { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; text-align: center; }
.onb-ic { position: relative; display: inline-block; margin-bottom: 12px; }
.onb-ic svg { width: 58px; height: 58px; padding: 14px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); }
.onb-ic i { position: absolute; top: -4px; inset-inline-end: -6px; width: 24px; height: 24px; border-radius: 50%; background: var(--accent); color: #fff; font-style: normal; font-weight: 700; font-size: .8rem; display: grid; place-items: center; }
.onb li:last-child .onb-ic svg { background: linear-gradient(135deg, #f59e0b, #ea580c); color: #fff; }
.onb p { color: var(--muted); font-size: .94rem; margin: 0; }
@media (max-width: 900px) { .onb { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .onb { grid-template-columns: 1fr; } }

/* Plans */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: 28px 24px; }
.plan.best { border: 2px solid var(--accent); box-shadow: 0 30px 60px -34px var(--accent); }
.plan-best { position: absolute; top: -14px; inset-inline-start: 24px; background: var(--accent); color: #fff; font-weight: 700; font-size: .8rem; border-radius: 999px; padding: 4px 12px; }
.plan h3 { font-size: 1.4rem; margin-bottom: 2px; }
.who { color: var(--muted); font-size: .92rem; min-height: 2.8em; }
.price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; font-size: 3rem; font-weight: 700; color: var(--accent-dark); line-height: 1; margin: 6px 0 18px; }
.price span { font-size: .9rem; color: var(--muted); font-weight: 400; }
.plan .checks { flex: 1; margin-bottom: 22px; font-size: .95rem; }
.compare { margin-top: 22px; background: #fff; border: 1px solid var(--line); border-radius: 18px; }
.compare summary { cursor: pointer; font-weight: 700; color: var(--accent); padding: 14px 20px; min-height: 48px; }
.table-wrap { overflow-x: auto; padding: 0 12px 12px; }
.compare table { width: 100%; border-collapse: collapse; font-size: .93rem; min-width: 560px; }
.compare th, .compare td { padding: 10px 12px; border-top: 1px solid var(--line); text-align: center; }
.compare tbody th { text-align: start; font-weight: 400; }
.compare thead th { font-size: 1rem; }
.compare thead small { display: block; font-weight: 400; color: var(--muted); font-size: .8rem; }
.compare .yes svg { width: 20px; height: 20px; color: #16a34a; margin-inline: auto; }
.compare .no { color: #94a3b8; }
.fine { color: var(--muted); font-size: .85rem; text-align: center; margin-top: 16px; }
@media (max-width: 900px) { .plans { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; } .who { min-height: 0; } }

/* « Négocier » (landing/negotiate.mjs): the fourth plan, across the row, a slider for the price the visitor proposes */
.plan.nego { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 28px 40px; align-items: start; border: 2px dashed #f59e0b;
  background: linear-gradient(135deg, #fffbeb, #fff 55%); }
.nego-tag { display: inline-flex; align-items: center; gap: 6px; background: #fef3c7; color: #92400e; font-weight: 700; font-size: .85rem; border-radius: 999px; padding: 4px 12px; margin-bottom: 10px; }
.nego-tag svg { width: 18px; height: 18px; }
.nego .checks { margin: 8px 0 0; }
.nego-form { display: grid; gap: 14px; }
.nego-price { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 16px 18px 14px; }
.nego-price > label { font-weight: 700; font-size: .95rem; color: var(--muted); }
.nego-price .price { margin: 4px 0 10px; color: #b45309; }
.nego input[type='range'] { -webkit-appearance: none; appearance: none; width: 100%; height: 44px; background: transparent; cursor: pointer; margin: 0; }
.nego input[type='range']::-webkit-slider-runnable-track { height: 10px; border-radius: 999px; background: linear-gradient(to right, #f59e0b var(--fill), var(--line) var(--fill)); }
[dir='rtl'] .nego input[type='range']::-webkit-slider-runnable-track { background: linear-gradient(to left, #f59e0b var(--fill), var(--line) var(--fill)); }
.nego input[type='range']::-moz-range-track { height: 10px; border-radius: 999px; background: var(--line); }
.nego input[type='range']::-moz-range-progress { height: 10px; border-radius: 999px; background: #f59e0b; }
.nego input[type='range']::-webkit-slider-thumb { -webkit-appearance: none; width: 32px; height: 32px; margin-top: -11px; border-radius: 50%; background: #fff; border: 4px solid #f59e0b; box-shadow: 0 4px 12px -4px rgba(180,83,9,.6); }
.nego input[type='range']::-moz-range-thumb { width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 4px solid #f59e0b; }
.nego-marks { position: relative; list-style: none; margin: 0 16px; padding: 0; height: 38px; }
.nego-marks li { position: absolute; top: 0; transform: translateX(-50%); display: grid; justify-items: center; font-size: .78rem; line-height: 1.2; color: var(--muted); white-space: nowrap; }
[dir='rtl'] .nego-marks li { transform: translateX(50%); }
.nego-marks li::before { content: ''; width: 2px; height: 8px; background: #cbd5e1; margin-bottom: 2px; }
.nego-marks li:last-child { transform: translateX(-85%); }
[dir='rtl'] .nego-marks li:last-child { transform: translateX(85%); }
.nego-marks b { color: var(--ink); }
.nego-hint { margin: 6px 0 0; font-size: .9rem; color: #92400e; min-height: 1.4em; }
.nego-form > label { display: grid; gap: 6px; font-weight: 700; font-size: .95rem; }
.nego-form input:not([type='range']), .nego-form textarea { font: inherit; font-size: 16px; min-height: 50px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); width: 100%; }
.nego-form textarea { resize: vertical; min-height: 64px; }
.nego-form input:focus, .nego-form textarea:focus { outline: 3px solid #fde68a; border-color: #f59e0b; }
.nego-form input[aria-invalid='true'] { border-color: #dc2626; }
[dir='rtl'] .nego-form input[type='tel'] { text-align: right; }
.nego-form .btn { width: 100%; min-height: 54px; border: 0; cursor: pointer; font-family: inherit; font-size: 1.05rem; background: linear-gradient(180deg, #f59e0b, #d97706); box-shadow: 0 8px 20px -10px #b45309; }
.nego-form .btn:hover { background: #b45309; }
.nego-form .btn:disabled { opacity: .7; cursor: wait; }
.nego-form .hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.nego .interest-done { grid-column: 2; align-self: center; padding: 24px 0; }
@media (min-width: 901px) { .nego-form { grid-template-columns: 1fr 1fr; } .nego-form > :not(.half) { grid-column: 1 / -1; } }
.nego-jump { display: inline-flex; align-items: center; gap: 8px; margin-top: 4px; padding: 8px 16px; border-radius: 999px; background: #fef3c7; color: #92400e; text-decoration: none; font-size: .95rem; min-height: 44px; }
.nego-jump:hover { background: #fde68a; }
.nego-jump svg { width: 20px; height: 20px; flex: none; }
.nego-jump b { text-decoration: underline; }
/* The negotiated plan alone (SHOW_PLANS false): one centred card, not stretched across the whole row. */
.plan.nego.solo { max-width: 1000px; width: 100%; margin-inline: auto; }
@media (max-width: 900px) { .plan.nego { grid-template-columns: 1fr; gap: 20px; padding: 24px 18px; } .nego .interest-done { grid-column: 1; } }

/* Closing band with contact */
.hband { display: grid; grid-template-columns: 1.2fr .8fr; gap: 32px; align-items: center; text-align: start; }
.hband .cta { justify-content: flex-start; }
.hband .btn-wa { box-shadow: none; }
.contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.contact li { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 10px; background: rgba(255,255,255,.1); border-radius: 14px; padding: 10px 14px; min-height: 48px; }
.contact svg { width: 22px; height: 22px; flex: none; }
.contact span { color: rgba(255,255,255,.8); font-size: .9rem; }
.contact a { color: #fff; font-weight: 700; }
@media (max-width: 860px) { .hband { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .toast { animation: none; } }
main { overflow-x: clip; } /* the screenshots' tinted backdrops reach past the page edge on tablets */

/* ---------- « Je suis intéressé » (landing/interest.mjs): one big button, then the name and phone, then thanks ---------- */
.interest-sec { padding-block: 40px 64px; }
.interest { display: grid; grid-template-columns: 1.1fr .9fr; gap: 36px; align-items: center; border-radius: 26px; padding: 44px 40px; color: #fff;
  background: radial-gradient(600px 320px at 100% 0, rgba(251,191,36,.22), transparent 60%), linear-gradient(150deg, var(--accent), var(--accent-dark)); }
[dir='rtl'] .interest { background: radial-gradient(600px 320px at 0 0, rgba(251,191,36,.22), transparent 60%), linear-gradient(210deg, var(--accent), var(--accent-dark)); }
.interest h2 { color: #fff; }
.interest-text p { color: rgba(255,255,255,.88); font-size: 1.1rem; }
.interest .kicker { background: rgba(255,255,255,.14); color: #fff; }
.interest-points { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; }
.interest-points li { display: flex; align-items: center; gap: 6px; font-weight: 700; font-size: .95rem; }
.interest-points svg { width: 20px; height: 20px; color: #fbbf24; flex: none; }
.interest-box { background: #fff; color: var(--ink); border-radius: 20px; padding: 28px; box-shadow: 0 24px 50px -24px rgba(0,0,0,.5); min-height: 180px; display: grid; align-content: center; }
.btn-interest { position: relative; width: 100%; min-height: 72px; font-size: 1.3rem; border: 0; cursor: pointer; border-radius: 18px; font-family: inherit;
  background: linear-gradient(180deg, #fcd34d, #f59e0b); color: #1c1917; box-shadow: 0 14px 30px -12px rgba(245,158,11,.9); }
.btn-interest svg { width: 28px; height: 28px; }
.btn-interest::after { content: ''; position: absolute; inset: -6px; border-radius: 22px; border: 3px solid rgba(245,158,11,.55); animation: interest-pulse 2.2s ease-out infinite; pointer-events: none; }
.btn-interest:hover { background: linear-gradient(180deg, #fde68a, #fbbf24); }
@keyframes interest-pulse { 0% { opacity: 1; transform: scale(.96); } 70%, 100% { opacity: 0; transform: scale(1.06); } }
@media (prefers-reduced-motion: reduce) { .btn-interest::after { animation: none; opacity: .6; } }
.interest-form { display: grid; gap: 14px; }
.interest-form label { display: grid; gap: 6px; font-weight: 700; font-size: .95rem; }
.interest-form input { font: inherit; font-size: 16px; min-height: 50px; padding: 0 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--page); color: var(--ink); width: 100%; }
.interest-form input:focus { outline: 3px solid var(--accent-soft); border-color: var(--accent); background: #fff; }
.interest-form input[aria-invalid='true'] { border-color: #dc2626; }
[dir='rtl'] .interest-form input[type='tel'] { text-align: right; }
.interest-form .btn { width: 100%; min-height: 54px; border: 0; cursor: pointer; font-family: inherit; font-size: 1.05rem; }
.interest-form .btn:disabled { opacity: .7; cursor: wait; }
.interest-form .hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.interest-error { margin: 0; color: #b91c1c; background: #fef2f2; border-radius: 10px; padding: 8px 12px; font-size: .92rem; }
.interest-fine { margin: 0; display: flex; gap: 6px; align-items: flex-start; color: var(--muted); font-size: .85rem; }
.interest-fine svg { width: 16px; height: 16px; flex: none; margin-top: 3px; }
.interest-done { text-align: center; outline: none; }
.interest-done svg { width: 56px; height: 56px; color: #16a34a; margin: 0 auto 10px; }
.interest-done p { color: var(--muted); margin: 0; }
[hidden] { display: none !important; }
@media (max-width: 860px) { .interest { grid-template-columns: 1fr; padding: 32px 20px; gap: 24px; } .interest-box { padding: 20px; } }

/* ---------- QaBo MOBILE (/mobile, /ar/mobile): the same page in the phone purple ---------- */
body[data-type='phone'] .hhero { background:
  radial-gradient(900px 500px at 85% -10%, rgba(196,181,253,.35), transparent 60%),
  radial-gradient(700px 500px at -10% 110%, rgba(109,40,217,.55), transparent 60%),
  linear-gradient(160deg, #4c1d95, #2e1065 70%); }
[dir='rtl'] body[data-type='phone'] .hhero, body[data-type='phone'][dir='rtl'] .hhero { background:
  radial-gradient(900px 500px at 15% -10%, rgba(196,181,253,.35), transparent 60%),
  radial-gradient(700px 500px at 110% 110%, rgba(109,40,217,.55), transparent 60%),
  linear-gradient(200deg, #4c1d95, #2e1065 70%); }
body[data-type='phone'] .hhero .eyebrow, body[data-type='phone'] .hhero .lead, body[data-type='phone'] .trace-head p { color: #ede9fe; }
body[data-type='phone'] .hhero h1 .hl { background: linear-gradient(90deg, #c4b5fd, #fff); -webkit-background-clip: text; background-clip: text; }
body[data-type='phone'] .hhero .btn-primary { color: #4c1d95; }
body[data-type='phone'] .hhero .btn-primary:hover { background: #ede9fe; }

/* ---------- QaBo ÉLECTRO (/electro, /ar/electro): the same page in the appliance teal ---------- */
body[data-type='appliance'] .hhero { background:
  radial-gradient(900px 500px at 85% -10%, rgba(94,234,212,.3), transparent 60%),
  radial-gradient(700px 500px at -10% 110%, rgba(15,118,110,.6), transparent 60%),
  linear-gradient(160deg, #115e59, #042f2e 70%); }
[dir='rtl'] body[data-type='appliance'] .hhero, body[data-type='appliance'][dir='rtl'] .hhero { background:
  radial-gradient(900px 500px at 15% -10%, rgba(94,234,212,.3), transparent 60%),
  radial-gradient(700px 500px at 110% 110%, rgba(15,118,110,.6), transparent 60%),
  linear-gradient(200deg, #115e59, #042f2e 70%); }
body[data-type='appliance'] .hhero .eyebrow, body[data-type='appliance'] .hhero .lead, body[data-type='appliance'] .trace-head p { color: #ccfbf1; }
body[data-type='appliance'] .hhero h1 .hl { background: linear-gradient(90deg, #5eead4, #fff); -webkit-background-clip: text; background-clip: text; }
body[data-type='appliance'] .hhero .btn-primary { color: #115e59; }
body[data-type='appliance'] .hhero .btn-primary:hover { background: #ccfbf1; }

/* Options under the tarifs: the tablet app to activate and the manager's phone app, included. */
.addons { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 28px; }
.addons-h { grid-column: 1 / -1; display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; font-size: 1.35rem; margin: 0; }
.addon { border: 2px solid var(--accent); }
.addon.free { border: 2px dashed #16a34a; }
.addon-tag { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; background: var(--accent-soft); color: var(--accent); font-weight: 700; font-size: .85rem; border-radius: 999px; padding: 4px 12px; margin-bottom: 10px; }
.addon.free .addon-tag { background: #dcfce7; color: #15803d; }
.addon-tag svg { width: 18px; height: 18px; }
.addon .checks { flex: 1; align-content: start; }
.addon-soon { font-style: normal; font-size: .75rem; font-weight: 700; color: #92400e; background: #fef3c7; border-radius: 999px; padding: 1px 8px; margin-inline-start: 6px; white-space: nowrap; align-self: center; }
@media (max-width: 1100px) { .addons { grid-template-columns: 1fr 1fr; } .addon.free { grid-column: 1 / -1; } }
@media (max-width: 700px) { .addon.free { grid-column: auto; } .addons { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; } }
