/* DÉNICHE — styles de la partie publique. Les couleurs de marque viennent de data/site.json (--dn-*). */

:root {
  --dn-main: #0B7D73;
  --dn-deep: #064E45;
  --dn-accent: #FFA726;
  --dn-accent2: color-mix(in srgb, var(--dn-accent) 70%, #7a3a00);
  --dn-bg: #F8F9F6;
  --tint: color-mix(in srgb, var(--dn-main) 6%, #ffffff);
  --tint2: color-mix(in srgb, var(--dn-main) 14%, #ffffff);
  --line: rgba(6, 78, 69, 0.1);
  --muted: #55625f;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { color-scheme: light; }
body { margin: 0; background: var(--dn-bg); color: #064E45; font-family: 'Inter', 'Noto Sans Arabic', sans-serif; font-size: 15px; line-height: 1.5; }
a { color: #064E45; text-underline-offset: 3px; }
a:hover { color: #064E45; }
input, select, button, textarea { font-family: inherit; }
h1, h2, h3 { font-family: 'Poppins', 'Noto Sans Arabic', sans-serif; }
:focus { outline: none; }
:focus-visible { outline: 2px solid #064E45; outline-offset: 2px; }
::selection { background: rgba(255, 167, 38, .4); }
img { max-width: 100%; }
.leaflet-container { font-family: 'Inter', 'Noto Sans Arabic', sans-serif; background: #e7e7ea; }
.leaflet-popup-content-wrapper { border-radius: 12px; box-shadow: 0 3px 10px rgba(43, 43, 45, .18); }

@keyframes yqUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes yqFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes yqIn { from { opacity: 0; transform: scale(.96) translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes yqPop { from { opacity: 0; transform: scale(.2) translateY(-14px); } to { opacity: 1; transform: none; } }
@keyframes yqBlink { 50% { opacity: 0; } }
@keyframes yqFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes yqDrift { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(30px, -24px) scale(1.06); } }
@keyframes yqRay { 0%, 100% { opacity: .35; transform: scaleX(.6); } 50% { opacity: 1; transform: scaleX(1); } }
@keyframes yqSpin { to { transform: rotate(360deg); } }
[data-motion="soft"] [data-deco] { animation: none !important; }
[data-motion="off"] *, [data-motion="off"] *::before, [data-motion="off"] *::after { animation: none !important; transition: none !important; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

.app { min-height: 100vh; display: flex; flex-direction: column; }
.view { flex: 1; display: flex; flex-direction: column; }
.ic-sm { flex: none; }
.dot { flex: none; width: 7px; height: 7px; border-radius: 50%; }
.thumb-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- En-tête ---------- */

.hd { position: sticky; top: 0; z-index: 1100; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 32px; min-height: 68px; padding: 12px clamp(16px, 3vw, 40px); background: rgba(255, 255, 255, .9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid rgba(6, 78, 69, .06); }
.hd-logo { display: flex; align-items: center; gap: 8px; background: none; border: 0; padding: 0; cursor: pointer; white-space: nowrap; text-decoration: none; }
.hd-logo img { height: 38px; width: auto; display: block; animation: yqFloat 5s ease-in-out infinite; }
.hd-logo span { font-family: 'Poppins', sans-serif; font-weight: 800; font-size: 22px; letter-spacing: -.01em; color: var(--dn-deep); }
.hd-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 24px; }
.hd-nav a { padding: 4px 0; font-size: 14px; font-weight: 600; color: var(--dn-deep); text-decoration: none; transition: color .2s; }
.hd-search { display: flex; flex: 1 1 260px; max-width: 560px; min-width: 0; height: 42px; border: 1px solid rgba(6, 78, 69, .12); background: #fff; border-radius: 999px; overflow: hidden; }
.hd-search .lens { display: flex; align-items: center; padding: 0 6px 0 14px; color: var(--muted); }
.hd-search input { flex: 1; min-width: 0; border: 0; background: transparent; font-size: 15px; color: var(--dn-deep); }
.hd-search select { border: 0; border-inline-start: 1px solid var(--line); background: transparent; padding: 0 12px; font-size: 14px; color: var(--dn-deep); flex: 0 1 auto; min-width: 0; max-width: 150px; cursor: pointer; }
.hd-right { margin-inline-start: auto; display: flex; align-items: center; gap: 14px; }
.btn-cta { height: 40px; padding: 0 20px; background: var(--dn-main); color: #fff; border: 0; border-radius: 999px; cursor: pointer; font-weight: 700; font-size: 14px; white-space: nowrap; transition: background .2s, transform .2s; box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .14); }
.btn-cta:hover { background: color-mix(in srgb, var(--dn-main) 85%, #000); transform: translateY(-1px); }
.lang { position: relative; }
.lang-btn { width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--dn-deep); color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: background .2s; }
.menu { position: absolute; top: calc(100% + 10px); inset-inline-end: 0; z-index: 5; width: 220px; padding: 6px; background: #fff; border: 1px solid rgba(6, 78, 69, .08); border-radius: 16px; box-shadow: 0 18px 44px rgba(6, 78, 69, .16); display: flex; flex-direction: column; gap: 2px; animation: yqIn .18s var(--ease) backwards; }
.menu-title { padding: 6px 10px; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.menu-item { display: flex; align-items: center; gap: 10px; width: 100%; padding: 7px 8px; border: 0; border-radius: 10px; background: transparent; cursor: pointer; text-align: start; color: var(--dn-deep); }
.menu-item:hover, .menu-item.on { background: var(--tint); }
.menu-badge { flex: none; width: 32px; height: 32px; border-radius: 50%; background: #eaf0ec; color: #34423f; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; }
.menu-item.on .menu-badge { background: var(--dn-deep); color: #fff; }
.menu-name { flex: 1; font-size: 14px; font-weight: 600; }

/* ---------- Éléments communs ---------- */

.chip { display: inline-flex; align-items: center; gap: 7px; height: 34px; padding: 0 14px; border-radius: 999px; border: 1px solid rgba(6, 78, 69, .14); background: #fff; color: var(--dn-deep); font-size: 13px; font-weight: 700; cursor: pointer; }
.chip.on { background: var(--dn-deep); color: #fff; border-color: var(--dn-deep); }
.chip svg { flex: none; }
.btn-call { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; background: var(--dn-main); color: #fff; border-radius: 10px; text-decoration: none; font-weight: 600; font-size: 15px; box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .14); }
.btn-call:hover { background: color-mix(in srgb, var(--dn-main) 85%, #000); color: #fff; }
.btn-ghost { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; border: 1px solid var(--line); color: var(--dn-deep); border-radius: 10px; text-decoration: none; font-weight: 600; font-size: 15px; background: transparent; cursor: pointer; }
.btn-ghost:hover { background: rgba(6, 78, 69, .07); color: var(--dn-deep); }
.btn-text { display: inline-flex; align-items: center; height: 34px; padding: 0 8px; background: none; border: 0; border-radius: 10px; cursor: pointer; color: var(--dn-deep); font-weight: 600; font-size: 15px; text-decoration: none; }
.btn-text:hover { background: rgba(89, 128, 166, .1); }
.btn-solid { height: 42px; padding: 0 18px; background: var(--dn-main); color: #fff; border: 0; border-radius: 10px; cursor: pointer; font-weight: 700; font-size: 14px; box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .14); text-decoration: none; display: inline-flex; align-items: center; }
.stk { display: inline-flex; align-items: center; gap: 6px; border-radius: 999px; font-weight: 700; }
.stk .dot { width: 6px; height: 6px; }
.stk-dispo { background: color-mix(in srgb, var(--dn-main) 12%, #fff); color: var(--dn-deep); }
.stk-dispo .dot { background: var(--dn-main); }
.stk-commande { background: color-mix(in srgb, var(--dn-accent) 20%, #fff); color: #8a4b00; }
.stk-commande .dot { background: var(--dn-accent); }
.stk-rupture { background: #ffe2e0; color: #9b2c1c; }
.stk-rupture .dot { background: #d64545; }
.sec-title { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; font-family: 'Poppins', sans-serif; font-size: 15px; font-weight: 600; color: var(--dn-deep); }
.sec-title::before { content: ''; width: 22px; height: 4px; border-radius: 2px; background: var(--dn-accent); }

/* ---------- Accueil ---------- */

.home { position: relative; isolation: isolate; overflow-x: clip; width: 100%; max-width: 1240px; margin: 0 auto; padding: clamp(40px, 8vh, 96px) clamp(16px, 3vw, 40px) 72px; animation: yqFade .4s ease backwards; }
.blobs { position: absolute; inset: 0; overflow: hidden; z-index: -1; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; }
.blob-1 { right: -120px; top: -140px; width: 520px; height: 520px; background: var(--dn-main); opacity: .14; filter: blur(60px); animation: yqDrift 16s ease-in-out infinite; }
.blob-2 { left: -160px; top: 260px; width: 420px; height: 420px; background: var(--dn-accent); opacity: .18; filter: blur(70px); animation: yqDrift 20s ease-in-out -6s infinite; }
.blob-3 { right: 20%; top: 720px; width: 360px; height: 360px; background: var(--dn-accent); opacity: .12; filter: blur(70px); animation: yqDrift 18s ease-in-out -3s infinite; }
.banner { display: flex; align-items: center; gap: 12px; padding: 12px 18px; margin: -12px 0 32px; border-radius: 16px; background: var(--dn-deep); color: #fff; font-size: 15px; font-weight: 600; animation: yqUp .5s var(--ease) backwards; }
.banner .dot { width: 8px; height: 8px; background: var(--dn-main); }
.hero { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr)); gap: clamp(40px, 5vw, 80px); align-items: center; }
.hero-l { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.kicker { display: flex; align-items: center; gap: 10px; font-family: 'Poppins', sans-serif; font-size: 14px; font-weight: 600; color: var(--dn-main); animation: yqUp .6s var(--ease) backwards; }
.rays { display: flex; gap: 4px; }
.ray { width: 10px; height: 4px; border-radius: 2px; background: var(--dn-accent); transform-origin: left; animation: yqRay 2.4s ease-in-out infinite; }
.ray:nth-child(2) { width: 18px; animation-delay: .3s; }
.ray:nth-child(3) { animation-delay: .6s; }
.hero-t { margin: 0; font-weight: 700; line-height: 1.22; letter-spacing: -.02em; text-wrap: balance; color: var(--dn-deep); font-size: clamp(32px, 4vw, 52px); animation: yqUp .7s var(--ease) backwards; }
.hero-t span { color: var(--dn-main); }
.hero-sub { margin: 0; max-width: 480px; font-size: 16px; line-height: 1.5; color: var(--muted); text-wrap: pretty; animation: yqUp .7s var(--ease) .08s backwards; }
.hero-form { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; max-width: 560px; padding: 6px 6px 6px 20px; background: #fff; border: 1.5px solid rgba(6, 78, 69, .12); border-radius: 999px; box-shadow: 0 14px 36px rgba(6, 78, 69, .07); animation: yqUp .7s var(--ease) .14s backwards; }
.hero-form input { flex: 1 1 160px; min-width: 0; height: 48px; border: 0; background: transparent; font-size: 16px; color: var(--dn-deep); }
.hero-form select { flex: 0 1 auto; height: 48px; min-width: 0; max-width: 150px; padding: 0 10px; border: 0; border-inline-start: 1px solid var(--line); background: transparent; font-size: 14px; font-weight: 600; color: var(--dn-deep); cursor: pointer; }
.hero-form button { flex: none; height: 48px; padding: 0 24px; background: var(--dn-main); color: #fff; border: 0; border-radius: 999px; cursor: pointer; font-weight: 700; font-size: 15px; box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .14); }
.hero-form button:hover { background: color-mix(in srgb, var(--dn-main) 85%, #000); }
.quick { display: flex; flex-wrap: wrap; gap: 8px; animation: yqUp .7s var(--ease) .2s backwards; }
.qchip { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid rgba(6, 78, 69, .12); background: #fff; font-weight: 600; font-size: 13px; color: var(--dn-deep); cursor: pointer; text-decoration: none; }
.qchip:hover { border-color: var(--dn-deep); }

.demo { position: relative; min-width: 0; animation: yqIn .9s var(--ease) .15s backwards; }
.demo-bg { position: absolute; inset: 8% -4% -6% 10%; border-radius: 40px; background: color-mix(in srgb, var(--dn-main) 12%, #fff); transform: rotate(-4deg); }
.demo-float { position: relative; animation: yqFloat 7s ease-in-out infinite; }
.demo-card { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 12px; padding: 18px; border-radius: 28px; background: #fff; color: var(--dn-deep); text-align: start; border: 1px solid rgba(6, 78, 69, .06); box-shadow: 0 40px 90px rgba(6, 78, 69, .18); }
.demo-q { display: flex; align-items: center; gap: 10px; height: 54px; padding: 0 16px; border: 2px solid var(--dn-deep); border-radius: 999px; }
.demo-typed { flex: 1; min-width: 0; display: flex; align-items: center; font-size: 16px; font-weight: 600; white-space: nowrap; overflow: hidden; }
.caret { flex: none; width: 2px; height: 22px; margin-inline-start: 2px; background: var(--dn-deep); animation: yqBlink 1s steps(1) infinite; }
.demo-count { display: flex; justify-content: space-between; gap: 10px; padding: 0 6px; font-size: 13px; color: var(--muted); }
.demo-count b { font-weight: 700; color: var(--dn-deep); }
.demo-rows { display: flex; flex-direction: column; gap: 8px; min-height: 236px; }
.demo-row { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 16px; background: #eef3ef; cursor: pointer; text-align: start; color: var(--dn-deep); text-decoration: none; opacity: 0; transform: translateY(12px); transition: opacity .45s ease, transform .45s var(--ease); }
.demo-row.show { opacity: 1; transform: none; }
.thumb54 { position: relative; flex: none; width: 54px; height: 54px; border-radius: 16px; overflow: hidden; background: var(--tint2); color: var(--dn-deep); display: flex; align-items: center; justify-content: center; font-weight: 700; }
.demo-row-t { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.demo-row-t b { font-weight: 700; font-size: 15px; }
.demo-row-t span { font-size: 13px; color: var(--muted); }
.demo-call { flex: none; height: 34px; padding: 0 14px; border-radius: 999px; background: var(--dn-main); color: #fff; display: flex; align-items: center; font-weight: 700; font-size: 13px; }

.home-feat { margin-top: clamp(56px, 8vw, 96px); }
.home-cats { margin-top: clamp(64px, 9vw, 112px); }
.feat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 14px; }
.feat { display: flex; flex-direction: column; background: #fff; border: 1px solid rgba(6, 78, 69, .08); border-radius: 16px; overflow: hidden; cursor: pointer; text-align: start; color: var(--dn-deep); text-decoration: none; transition: transform .2s, box-shadow .2s; animation: yqUp .6s var(--ease) backwards; }
.feat:hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(6, 78, 69, .1); color: var(--dn-deep); }
.feat-img { position: relative; display: flex; align-items: center; justify-content: center; width: 100%; aspect-ratio: 16 / 10; overflow: hidden; background: var(--tint2); color: var(--dn-deep); font-weight: 700; font-size: 19px; }
.feat-img img { transition: transform .5s var(--ease); }
.feat:hover .feat-img img { transform: scale(1.06); }
.feat-pill { position: absolute; left: 12px; top: 12px; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; background: var(--dn-main); color: #fff; }
.feat-pill.alt { background: var(--dn-accent); color: var(--dn-deep); }
.feat-t { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px 14px; }
.feat-t b { font-weight: 700; font-size: 16px; }
.feat-t span { font-size: 13px; color: var(--muted); }
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 10px; }
.cat { display: flex; align-items: center; gap: 12px; padding: 12px 14px; background: #fff; border: 1px solid rgba(6, 78, 69, .08); border-radius: 16px; cursor: pointer; text-align: start; color: var(--dn-deep); text-decoration: none; transition: border-color .2s, transform .2s; }
.cat:hover { border-color: var(--dn-deep); transform: translateY(-2px); color: var(--dn-deep); }
.cat-ic { flex: none; width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--tint2); color: var(--dn-deep); font-weight: 700; font-size: 16px; }
.cat-ic.amb { background: color-mix(in srgb, var(--dn-accent) 22%, #fff); color: var(--dn-accent2); }
.cat-t { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.cat-t b { font-weight: 700; font-size: 15px; line-height: 1.25; }
.cat-t span { font-size: 12px; color: var(--muted); }

/* ---------- Résultats ---------- */

.res { display: flex; flex-wrap: wrap; align-items: flex-start; flex: 1; animation: yqFade .4s ease backwards; }
.res-aside { flex: 0 0 250px; max-width: 100%; padding: 22px 24px 40px; border-inline-end: 1px solid var(--line); align-self: stretch; }
.res-aside[hidden] { display: none; }
.fa-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 18px; }
.fa-head b { font-weight: 700; font-size: 18px; }
.fa-head button { background: none; border: 0; padding: 0; cursor: pointer; font-size: 13px; color: var(--dn-deep); }
.fg { margin-bottom: 22px; }
.fg-l { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.fg-o { display: flex; flex-direction: column; gap: 2px; }
.fo { display: flex; align-items: center; gap: 9px; width: 100%; background: none; border: 0; padding: 4px 0; cursor: pointer; font-size: 14px; color: var(--dn-deep); text-align: start; }
.fo.sub { padding-inline-start: 18px; }
.fo.empty { opacity: .45; }
.fo-box { width: 16px; height: 16px; flex: none; border-radius: 5px; border: 1px solid rgba(6, 78, 69, .4); background: transparent; box-shadow: inset 0 0 0 2px var(--dn-bg); }
.fo.on .fo-box { border-color: var(--dn-deep); background: var(--dn-deep); }
.fo-l { flex: 1; }
.fo-n { font-size: 12px; color: #6b7774; }
.res-main { flex: 1 1 600px; min-width: 0; display: flex; flex-direction: column; align-self: stretch; }
.res-bar { padding: 18px 24px 12px; border-bottom: 1px solid var(--line); }
.res-bar-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 6px; }
.res-count-w { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.res-count { font-weight: 700; font-size: 17px; }
.res-sub { font-size: 13px; color: var(--muted); }
.res-tools { display: flex; flex-wrap: wrap; gap: 8px; }
.sel-sort { height: 34px; padding: 0 10px; border: 1px solid rgba(6, 78, 69, .12); border-radius: 10px; background: #fff; font-size: 13px; font-weight: 600; color: var(--dn-deep); cursor: pointer; }
.seg { display: flex; gap: 2px; padding: 3px; background: #eaf0ec; border-radius: 999px; }
.seg button { border: 0; padding: 6px 14px; font-size: 13px; font-weight: 600; border-radius: 999px; cursor: pointer; background: transparent; color: var(--muted); }
.seg button.on { background: #fff; color: var(--dn-deep); }
.res-body { display: flex; flex-wrap: wrap; align-items: flex-start; flex: 1; }
.res-list { flex: 1 1 420px; min-width: 0; padding: 22px 24px 48px; }
.res-map { flex: 1 1 420px; min-width: 0; position: sticky; top: var(--hdr-h, 68px); height: calc(100vh - var(--hdr-h, 68px)); min-height: 420px; border-inline-start: 1px solid var(--line); }
.res-map > div { width: 100%; height: 100%; }
.ans { margin-bottom: 14px; padding: 16px 18px; border-radius: 16px; background: var(--dn-deep); color: #fff; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; animation: yqUp .4s ease backwards; }
.ans-l { flex: 1 1 200px; min-width: 0; }
.ans-k { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--dn-accent); }
.ans-q { font-weight: 700; font-size: 18px; }
.ans-stats { display: flex; flex-wrap: wrap; gap: 8px; }
.ans-st { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .1); font-size: 13px; font-weight: 700; }
.ans-st .dot { width: 8px; height: 8px; }
.rchips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.nores { padding: 28px 0; max-width: 520px; }
.nores b { display: block; font-weight: 700; font-size: 19px; margin-bottom: 6px; }
.nores p { margin: 0 0 14px; color: var(--muted); font-size: 15px; }
.nores-cats { display: flex; flex-wrap: wrap; gap: 8px; }
.nores-cats button { padding: 6px 14px; background: #fff; border: 1px solid var(--line); border-radius: 999px; cursor: pointer; font-size: 13px; font-weight: 600; color: var(--dn-deep); }
.nores-cats button:hover { border-color: var(--dn-deep); }
.rlist { display: flex; flex-direction: column; gap: 18px; }
.rcard { position: relative; padding: 16px; border-radius: 16px; border: 1px solid var(--line); background: #fff; cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s, border-color .2s; animation: yqUp .5s var(--ease) backwards; }
.rcard:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(43, 43, 45, .12); }
.rcard.sel { border-color: var(--dn-deep); background: var(--tint); }
.rc-top { display: flex; gap: 16px; align-items: flex-start; }
.rc-img { position: relative; flex: none; width: 112px; height: 112px; border-radius: 12px; overflow: hidden; background: var(--tint2); display: flex; align-items: center; justify-content: center; color: var(--dn-deep); font-weight: 700; font-size: 24px; }
.rc-n { position: absolute; top: 6px; inset-inline-start: 6px; min-width: 24px; height: 24px; padding: 0 6px; border-radius: 8px; display: flex; align-items: center; justify-content: center; background: var(--dn-main); color: #fff; font-weight: 700; font-size: 12px; box-shadow: 0 2px 6px rgba(0, 0, 0, .2); }
.rc-body { flex: 1; min-width: 0; }
.rc-h { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.rc-h h3 { margin: 0; font-weight: 700; font-size: 16px; line-height: 1.25; }
.rc-dist { font-size: 13px; color: var(--muted); white-space: nowrap; }
.rc-meta { font-size: 14px; color: var(--muted); margin-top: 2px; }
.rc-meta b { color: var(--dn-deep); font-weight: 600; }
.rc-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 9px; }
.tag { padding: 2px 8px; font-size: 12px; border-radius: 999px; background: #eaf0ec; color: #34423f; }
.tag.hit { background: var(--tint2); color: var(--dn-deep); }
.rc-st { display: flex; flex-wrap: wrap; gap: 4px 18px; margin-top: 10px; font-size: 13px; }
.st { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); }
.st .dot { background: #b4c0bc; }
.st.open { color: var(--dn-deep); }
.st.open .dot { background: var(--dn-deep); }
.ver { display: inline-flex; align-items: center; gap: 5px; color: #6b7774; }
.ver.yes { color: var(--dn-deep); }
.rc-st .stk { padding: 1px 9px; font-size: 12px; }
.rc-st .stk .dot { width: 7px; height: 7px; }
.rc-act { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); }
.rc-phone { font-weight: 700; font-size: 16px; color: var(--dn-deep); text-decoration: none; margin-inline-end: auto; }

/* ---------- Fiche ---------- */

.fiche { width: 100%; max-width: 1160px; margin: 0 auto; padding: 22px 24px 88px; animation: yqFade .4s ease backwards; }
.fi-back { display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; padding: 0; cursor: pointer; font-size: 14px; color: var(--dn-deep); margin-bottom: 18px; margin-inline-end: 12px; text-decoration: none; }
[dir="rtl"] .fi-back svg { transform: scaleX(-1); }
.fi-fictive { display: inline-flex; vertical-align: top; padding: 3px 10px; border-radius: 999px; background: color-mix(in srgb, var(--dn-accent) 20%, #fff); color: #8a4b00; font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.fi-kicker { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; font-weight: 700; color: var(--dn-deep); }
.fi-meta { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 14px; color: var(--muted); }
.fi-meta .st, .fi-meta .ver { font-size: 14px; }
.fi-meta .ver { color: var(--muted); }
.fi-meta .ver.yes { color: var(--dn-deep); }
.fi-cover { position: relative; height: clamp(180px, 26vw, 280px); border-radius: 16px; overflow: hidden; background: var(--tint2); animation: yqFade .6s ease backwards; }
.fi-head { display: flex; flex-wrap: wrap; gap: 18px; align-items: flex-start; margin-top: -44px; padding: 0 20px; position: relative; z-index: 1; }
.fi-logo { width: 96px; height: 96px; flex: none; display: flex; align-items: center; justify-content: center; background: var(--dn-main); border: 4px solid #fff; border-radius: 16px; box-shadow: 0 10px 30px rgba(6, 78, 69, .16); animation: yqIn .5s var(--ease) .1s backwards; font-weight: 700; font-size: 26px; color: #fff; }
.fi-head-t { flex: 1 1 300px; min-width: 0; padding-top: 54px; }
.fi-head-t h1 { margin: 2px 0; font-weight: 700; font-size: clamp(26px, 3.2vw, 34px); line-height: 1.1; letter-spacing: -.03em; }
.fi-vitrine { position: relative; height: clamp(300px, 44vw, 480px); border-radius: 24px; overflow: hidden; background: var(--tint2); animation: yqFade .6s ease backwards; }
.fi-vitrine-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 10, 10, 0) 35%, rgba(10, 10, 10, .82) 100%); }
.fi-vitrine-t { position: absolute; inset: auto 0 0 0; padding: 28px 32px; color: #fff; animation: yqUp .6s var(--ease) .1s backwards; }
.fi-vitrine-t .pill { display: inline-block; padding: 4px 12px; border-radius: 999px; background: var(--dn-main); font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.fi-vitrine-t h1 { margin: 10px 0 6px; font-weight: 700; font-size: clamp(28px, 3.8vw, 44px); line-height: 1.12; letter-spacing: -.03em; }
.fi-vitrine-t .fi-meta, .fi-vitrine-t .st, .fi-vitrine-t .ver, .fi-vitrine-t .ver.yes { color: #e4ebe8; }
.fi-vitrine-t .st.open .dot { background: var(--dn-deep); }
.fi-strip { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 10px; margin-top: 10px; }
.ph-btn { position: relative; aspect-ratio: 4 / 3; padding: 0; border: 0; border-radius: 12px; overflow: hidden; cursor: pointer; background: var(--tint2); }
.ph-btn img { transition: transform .3s; }
.ph-btn:hover img { transform: scale(1.05); }
.fi-compact { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; padding: 20px; background: #fff; border: 1px solid rgba(6, 78, 69, .08); border-top: 4px solid var(--dn-main); border-radius: 16px; box-shadow: 0 10px 30px rgba(6, 78, 69, .05); animation: yqIn .5s var(--ease) backwards; }
.fi-compact-img { position: relative; width: 140px; height: 105px; flex: none; border-radius: 16px; overflow: hidden; background: var(--tint2); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 24px; color: var(--dn-deep); }
.fi-compact-t { flex: 1 1 280px; min-width: 0; }
.fi-compact-t h1 { margin: 2px 0 4px; font-weight: 700; font-size: clamp(22px, 2.8vw, 28px); line-height: 1.1; letter-spacing: -.02em; }
.fi-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); animation: yqUp .5s var(--ease) .12s backwards; }
.fa-btn { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 16px; border: 1px solid var(--line); border-radius: 10px; color: var(--dn-deep); background: transparent; text-decoration: none; font-weight: 600; font-size: 16px; cursor: pointer; }
.fa-btn:hover { background: rgba(6, 78, 69, .07); color: var(--dn-deep); }
.fa-btn.main { padding: 0 18px; border: 0; background: var(--dn-main); color: #fff; font-weight: 700; }
.fa-btn.main:hover { background: var(--dn-deep); color: #fff; }
.fi-secnav { position: sticky; top: var(--hdr-h, 68px); z-index: 5; display: flex; gap: 6px; overflow-x: auto; margin-top: 16px; padding: 8px 0; background: var(--dn-bg); }
.fi-secnav button { flex: none; height: 34px; padding: 0 14px; border-radius: 999px; border: 1px solid rgba(6, 78, 69, .12); background: #fff; font-size: 13px; font-weight: 600; color: var(--dn-deep); cursor: pointer; transition: border-color .2s, color .2s; }
.fi-secnav button:hover { border-color: var(--dn-main); color: var(--dn-main); }
.fi-cols { display: flex; flex-wrap: wrap; gap: 40px; margin-top: 32px; }
.fi-main { flex: 1.5 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 36px; animation: yqUp .55s var(--ease) .18s backwards; }
.fi-main section { scroll-margin-top: calc(var(--hdr-h, 68px) + 62px); }
.fi-main h2 { margin: 0 0 10px; font-weight: 700; font-size: 18px; }
.fi-badges { display: flex; flex-wrap: wrap; gap: 8px; }
.fi-badge { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border-radius: 999px; background: var(--tint2); color: var(--dn-deep); font-size: 13px; font-weight: 700; }
.fi-desc { margin: 0; font-size: 16px; max-width: 620px; text-wrap: pretty; white-space: pre-line; }
.pv-bar { position: sticky; top: var(--hdr-h, 68px); z-index: 50; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 16px; margin: -22px -24px 18px; padding: 10px 24px; background: var(--dn-deep); color: #fff; font-size: 14px; }
.pv-bar .pv-st { padding: 2px 10px; border-radius: 999px; background: color-mix(in srgb, var(--dn-accent) 25%, #fff); color: #8a4b00; font-size: 12px; font-weight: 700; }
.pv-bar a { height: 32px; padding: 0 14px; display: inline-flex; align-items: center; background: #fff; color: var(--dn-deep); border-radius: 10px; font-weight: 700; font-size: 13px; text-decoration: none; }
.offers { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 10px; }
.offer { padding: 14px 16px; background: #fff; border: 1px solid rgba(6, 78, 69, .08); border-top: 3px solid var(--dn-main); border-radius: 16px; }
.offer b { display: block; font-weight: 700; font-size: 15px; }
.offer-brand { font-size: 12px; font-weight: 600; color: var(--dn-deep); margin-top: 2px; }
.offer-desc { font-size: 13px; color: var(--muted); margin-top: 4px; }
.offer .stk { margin-top: 8px; padding: 2px 9px; font-size: 11px; }
.cat-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px; margin-bottom: 12px; }
.cat-head h2 { margin: 0; }
.cat-head span { font-size: 13px; color: var(--muted); }
.cat-files { display: flex; flex-direction: column; gap: 8px; margin-bottom: 14px; }
.cfile { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 12px 14px; background: #fff; border: 1px solid rgba(6, 78, 69, .08); border-radius: 16px; }
.cfile-ext { flex: none; width: 42px; height: 42px; border-radius: 10px; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; }
.cfile-t { flex: 1 1 180px; min-width: 0; display: flex; flex-direction: column; }
.cfile-t b { font-weight: 700; font-size: 15px; }
.cfile-t span { font-size: 12px; color: #6b7774; }
.cfile-open { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px; border-radius: 10px; background: var(--dn-main); color: #fff; text-decoration: none; font-size: 13px; font-weight: 700; }
.cfile-open:hover { color: #fff; background: var(--dn-deep); }
.cfile-dl { display: inline-flex; align-items: center; height: 36px; padding: 0 12px; border-radius: 10px; border: 1px solid rgba(6, 78, 69, .14); color: var(--dn-deep); text-decoration: none; font-size: 13px; font-weight: 700; }
.cat-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 14px; }
.cat-q { display: flex; align-items: center; gap: 8px; flex: 1 1 200px; min-width: 0; max-width: 280px; height: 38px; padding: 0 12px; border: 1px solid rgba(6, 78, 69, .14); border-radius: 999px; background: #fff; color: var(--muted); }
.cat-q input { flex: 1; min-width: 0; border: 0; background: transparent; font-size: 14px; color: var(--dn-deep); }
.cat-tools .chip { font-weight: 600; gap: 6px; }
.cat-tools .chip span { opacity: .7; }
.cat-tools .chip.dispo { padding: 0 12px; }
.cat-items { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; }
.citem { display: flex; flex-direction: column; background: #fff; border: 1px solid rgba(6, 78, 69, .08); border-radius: 16px; overflow: hidden; animation: yqIn .3s var(--ease) backwards; }
.citem-img { position: relative; aspect-ratio: 4 / 3; background: var(--tint2); }
.citem-t { padding: 10px 12px 12px; display: flex; flex-direction: column; gap: 4px; }
.citem-g { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--dn-deep); }
.citem-t b { font-weight: 700; font-size: 15px; line-height: 1.25; }
.citem-p { font-weight: 700; font-size: 15px; }
.citem .stk { align-self: flex-start; padding: 2px 9px; font-size: 11px; }
.cat-empty { padding: 20px; border: 1px dashed rgba(6, 78, 69, .2); border-radius: 12px; font-size: 14px; color: var(--muted); }
.frows { border-top: 1px solid var(--line); }
.frow { display: flex; flex-wrap: wrap; gap: 4px 20px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.frow span:first-child { flex: 0 0 200px; color: var(--muted); }
.frow span:last-child { flex: 1 1 220px; overflow-wrap: anywhere; }
.frow a { color: var(--dn-deep); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.rub { display: flex; flex-direction: column; gap: 6px; }
.rub div { display: flex; gap: 10px; align-items: baseline; font-size: 15px; }
.rub i { flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--dn-main); transform: translateY(-2px); }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
.gallery .ph-btn { border-radius: 16px; }
.fi-aside { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 18px; animation: yqUp .55s var(--ease) .26s backwards; }
.box { background: #fff; border: 1px solid rgba(6, 78, 69, .08); border-radius: 16px; padding: 20px; }
.box.shadow { box-shadow: 0 10px 30px rgba(6, 78, 69, .05); }
.box h2 { margin: 0 0 12px; font-weight: 700; font-size: 17px; }
.box dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; font-size: 15px; }
.box dt { color: var(--muted); }
.box dd { margin: 0; }
.box dd a { color: var(--dn-deep); }
.links { display: flex; flex-direction: column; gap: 6px; margin-top: 14px; padding-top: 14px; border-top: 1px solid rgba(6, 78, 69, .08); }
.links a { display: flex; align-items: center; gap: 10px; height: 40px; padding: 0 12px; border-radius: 10px; background: color-mix(in srgb, var(--dn-main) 7%, #fff); color: var(--dn-deep); text-decoration: none; font-size: 14px; font-weight: 600; }
.links a:hover { background: var(--tint2); }
.links a span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fi-map { height: 220px; margin-top: 16px; border-radius: 12px; overflow: hidden; border: 1px solid rgba(6, 78, 69, .08); }
.hours-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 10px; }
.box .hours-head h2 { margin: 0; }
.open-pill { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; background: #eef1ef; color: var(--muted); font-size: 12px; font-weight: 700; }
.open-pill .dot { background: #b4c0bc; }
.open-pill.open { background: color-mix(in srgb, var(--dn-main) 12%, #fff); color: var(--dn-deep); }
.open-pill.open .dot { background: var(--dn-deep); }
.hrow { display: flex; justify-content: space-between; gap: 12px; padding: 7px 10px; border-radius: 8px; font-size: 14px; }
.hrow.today { background: var(--tint2); font-weight: 600; }
.hnote { margin: 10px 0 0; font-size: 13px; color: var(--muted); }
.box h2.v { margin-bottom: 8px; }
.verif { margin: 0 0 6px; font-size: 15px; color: var(--muted); }
.verif.yes { color: var(--dn-deep); }
.verif-note { margin: 0 0 10px; font-size: 13px; color: var(--muted); }
.report { background: none; border: 0; padding: 0; cursor: pointer; font-size: 14px; color: var(--dn-deep); text-decoration: underline; text-underline-offset: 3px; text-align: start; }
.report:disabled { cursor: default; text-decoration: none; }
.sep { height: 1px; background: rgba(6, 78, 69, .08); margin: 16px 0; }
.qr-row { display: flex; gap: 14px; align-items: center; }
.qr { width: 96px; height: 96px; flex: none; border-radius: 16px; border: 1px solid var(--line); background: repeating-linear-gradient(135deg, #fff 0 6px, var(--tint2) 6px 12px); display: flex; align-items: center; justify-content: center; font-family: ui-monospace, Menlo, monospace; font-size: 10px; color: var(--muted); overflow: hidden; }
.qr.ready { background: #fff; padding: 6px; }
.qr svg { width: 100%; height: 100%; display: block; }
.slug { min-width: 0; font-family: ui-monospace, Menlo, monospace; font-size: 13px; word-break: break-all; }
.hidden-msg { width: 100%; max-width: 720px; margin: 0 auto; padding: 80px 24px; text-align: center; }
.hidden-msg b { display: block; font-weight: 700; font-size: 22px; margin-bottom: 6px; }
.hidden-msg p { margin: 0 0 20px; color: var(--muted); }

.callbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1200; display: flex; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .96); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-top: 1px solid rgba(6, 78, 69, .08); box-shadow: 0 -8px 24px rgba(6, 78, 69, .08); }
.callbar a { flex: 1; height: 50px; border-radius: 12px; background: var(--dn-main); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 16px; text-decoration: none; }
.callbar a.dir { flex: none; width: 50px; background: transparent; border: 1px solid rgba(6, 78, 69, .14); color: var(--dn-deep); }

.lightbox { position: fixed; inset: 0; z-index: 2000; background: rgba(10, 10, 10, .9); display: flex; align-items: center; justify-content: center; padding: 24px 24px 90px; animation: yqFade .2s ease backwards; }
.lightbox img { max-width: min(1100px, 100%); max-height: 78vh; border-radius: 16px; box-shadow: 0 20px 60px rgba(0, 0, 0, .5); animation: yqIn .3s var(--ease) backwards; }
.lb-bar { position: absolute; bottom: 24px; left: 0; right: 0; display: flex; justify-content: center; align-items: center; gap: 10px; }
.lb-bar button { width: 42px; height: 42px; border-radius: 50%; border: 0; background: #fff; cursor: pointer; font-size: 18px; font-weight: 700; color: #064E45; }
.lb-bar span { color: #fff; font-size: 14px; min-width: 60px; text-align: center; }
.lb-bar .lb-close { width: auto; height: 42px; padding: 0 16px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .4); background: transparent; color: #fff; font-weight: 600; font-size: 14px; margin-left: 12px; }

/* ---------- À propos ---------- */

.about { width: 100%; color: var(--dn-deep); overflow: hidden; animation: yqFade .4s ease backwards; }
.wrap { max-width: 1240px; margin: 0 auto; padding-left: clamp(16px, 3vw, 40px); padding-right: clamp(16px, 3vw, 40px); }
.ab-hero { padding-top: clamp(48px, 9vh, 112px); padding-bottom: clamp(56px, 8vw, 104px); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: clamp(28px, 5vw, 72px); align-items: end; }
.ab-hero h1 { margin: 0; font-weight: 700; line-height: 1.12; letter-spacing: -.02em; text-wrap: balance; color: var(--dn-deep); font-size: clamp(34px, 4.6vw, 60px); animation: yqUp .7s var(--ease) backwards; }
.ab-hero h1 span { color: var(--dn-main); }
.ab-hero-t { display: flex; flex-direction: column; gap: 16px; animation: yqUp .7s var(--ease) .1s backwards; }
.ab-p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--muted); text-wrap: pretty; }
.ab-links { display: flex; flex-wrap: wrap; gap: 10px 28px; }
.ab-links a, .ab-links button { background: none; border: 0; padding: 0; cursor: pointer; font-size: 16px; font-weight: 700; color: var(--dn-deep); text-decoration: none; }
.ab-verif { background: #eef3ef; padding: clamp(64px, 8vw, 104px) 0; }
.ab-verif .wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: clamp(36px, 6vw, 72px); align-items: center; }
.ring-w { position: relative; display: flex; justify-content: center; padding: 48px 0; }
.ring { width: 240px; height: 240px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.ring-in { width: 186px; height: 186px; border-radius: 50%; background: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.ring-in b { font-weight: 700; font-size: 38px; letter-spacing: -.03em; color: var(--dn-deep); }
.ring-in span { font-size: 13px; color: var(--muted); }
.vcard { position: absolute; display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 999px; background: #fff; box-shadow: 0 14px 34px rgba(6, 78, 69, .1); animation: yqFloat 6s ease-in-out infinite; }
.vcard.a { left: 0; top: 24px; }
.vcard.b { right: 0; bottom: 24px; animation-duration: 7s; }
.vcard-ic { flex: none; width: 22px; height: 22px; border-radius: 50%; background: color-mix(in srgb, var(--dn-main) 12%, #fff); color: var(--dn-deep); display: flex; align-items: center; justify-content: center; }
.vcard-t { display: flex; flex-direction: column; }
.vcard-t b { font-weight: 700; font-size: 12px; }
.vcard-t span { font-size: 11px; color: var(--muted); }
.ab-h2 { margin: 0; font-weight: 700; font-size: clamp(24px, 2.8vw, 34px); line-height: 1.12; letter-spacing: -.02em; text-wrap: balance; }
.ab-col { display: flex; flex-direction: column; gap: 16px; }
.ab-feats { padding-top: clamp(64px, 8vw, 104px); padding-bottom: clamp(64px, 8vw, 104px); }
.ab-feats .ab-h2 { line-height: 1; text-transform: uppercase; margin-bottom: 44px; }
.feat-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 40px 48px; }
.fitem { display: flex; flex-direction: column; gap: 10px; }
.fitem-ic { width: 44px; height: 44px; border-radius: 50%; background: color-mix(in srgb, var(--dn-main) 12%, #fff); color: var(--dn-deep); display: flex; align-items: center; justify-content: center; }
.fitem h3 { margin: 6px 0 0; font-weight: 700; font-size: 16px; }
.fitem p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--muted); text-wrap: pretty; }
.ref { position: relative; overflow: hidden; background: var(--dn-deep); color: #fff; }
.ref-glow { position: absolute; right: -180px; top: -220px; width: 620px; height: 620px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 167, 38, .16), rgba(255, 167, 38, 0) 70%); }
.ref .wrap { position: relative; padding-top: clamp(56px, 8vw, 104px); padding-bottom: clamp(56px, 8vw, 104px); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: clamp(32px, 5vw, 64px); align-items: center; }
.ref-l { display: flex; flex-direction: column; gap: 22px; }
.ref-tag { align-self: flex-start; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .16); font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--dn-accent); }
.ref-l h2 { margin: 0; font-weight: 700; font-size: clamp(28px, 3.6vw, 48px); line-height: 1.12; letter-spacing: -.02em; text-wrap: balance; }
.ref-l h2 span { color: var(--dn-accent); }
.ref-l p { margin: 0; font-size: 16px; line-height: 1.55; color: #c3ccc9; max-width: 520px; text-wrap: pretty; }
.bullets { display: flex; flex-direction: column; gap: 10px; }
.bullets div { display: flex; gap: 12px; align-items: center; font-size: 16px; font-weight: 600; }
.bullets i { flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--dn-main); display: flex; align-items: center; justify-content: center; }
.ref-card { padding: clamp(22px, 3vw, 32px); background: #fff; color: var(--dn-deep); border-radius: 26px; box-shadow: 0 40px 90px rgba(0, 0, 0, .4); }
.ref-form { display: flex; flex-direction: column; gap: 14px; }
.ref-form .ttl, .ref-done .ttl { font-weight: 700; font-size: 20px; letter-spacing: -.02em; }
.ref-form label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 600; color: #34423f; }
.ref-form input, .ref-form select { height: 50px; padding: 0 14px; background: var(--dn-bg); border: 1px solid rgba(6, 78, 69, .12); border-radius: 12px; font-size: 16px; color: var(--dn-deep); }
.ref-form select { padding: 0 12px; }
.ref-err { font-size: 13px; font-weight: 600; color: #b42318; }
.ref-send { height: 56px; margin-top: 4px; background: var(--dn-main); color: #fff; border: 0; border-radius: 16px; cursor: pointer; font-weight: 700; font-size: 16px; box-shadow: 0 14px 30px rgba(255, 167, 38, .4); transition: transform .2s, background .2s; }
.ref-send:hover { background: color-mix(in srgb, var(--dn-main) 85%, #000); transform: translateY(-2px); }
.ref-send:disabled { opacity: .7; cursor: progress; transform: none; }
.ref-foot { display: flex; justify-content: center; padding-top: 12px; border-top: 1px solid rgba(6, 78, 69, .08); }
.ref-foot a { font-size: 13px; color: var(--dn-deep); font-weight: 600; text-decoration: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ref-done { display: flex; flex-direction: column; gap: 14px; animation: yqIn .4s var(--ease) backwards; }
.ref-done-ic { width: 52px; height: 52px; border-radius: 50%; background: color-mix(in srgb, var(--dn-main) 12%, #fff); color: var(--dn-deep); display: flex; align-items: center; justify-content: center; }
.ref-done p { margin: 0; font-size: 15px; line-height: 1.55; color: #34423f; text-wrap: pretty; }
.ref-done p b { font-weight: 700; color: var(--dn-deep); }
.ref-again { align-self: flex-start; height: 44px; padding: 0 18px; background: #fff; color: var(--dn-deep); border: 1px solid rgba(6, 78, 69, .14); border-radius: 12px; cursor: pointer; font-weight: 700; font-size: 14px; }
.ref-again:hover { border-color: var(--dn-deep); }
.faq-w { max-width: 900px; margin: 0 auto; padding: clamp(56px, 7vw, 88px) clamp(16px, 3vw, 40px); }
.faq-w .ab-h2 { line-height: 1; text-transform: uppercase; margin-bottom: 24px; }
.faq { display: flex; flex-direction: column; gap: 10px; }
.fq { border: 1px solid var(--line); border-radius: 16px; background: #fff; overflow: hidden; }
.fq.on { border-color: var(--dn-deep); }
.fq button { display: flex; justify-content: space-between; align-items: center; gap: 16px; width: 100%; padding: 18px 20px; background: none; border: 0; cursor: pointer; text-align: start; font-weight: 700; font-size: 16px; color: var(--dn-deep); }
.fq button i { flex: none; width: 28px; height: 28px; border-radius: 50%; background: #eaf0ec; color: var(--dn-deep); display: flex; align-items: center; justify-content: center; font-size: 16px; font-style: normal; transition: transform .2s; }
.fq.on button i { background: var(--dn-deep); color: #fff; transform: rotate(45deg); }
.fq-a { padding: 0 20px 18px; font-size: 15px; line-height: 1.55; color: #34423f; animation: yqFade .25s ease backwards; }
.ab-contact { padding-bottom: clamp(56px, 7vw, 88px); }
.ab-contact div { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 32px; padding-top: 28px; border-top: 1px solid var(--line); font-size: 15px; }
.ab-contact .lbl { font-weight: 700; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.ab-contact a, .ab-contact b { font-weight: 700; }
.ab-mail { display: flex; flex-direction: column; gap: 2px; }
.ab-mail small { font-size: 12px; font-weight: 600; color: var(--muted); }
.ref-foot + .ref-foot { border-top: 0; padding-top: 0; font-size: 13px; color: var(--muted); gap: 4px; flex-wrap: wrap; }

/* ---------- Bandeau de la démonstration (réglage du serveur) ---------- */

.envbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px 10px; padding: 7px 16px; background: var(--dn-deep); color: #fff; font-size: 13px; font-weight: 600; text-align: center; }
.envbar[hidden] { display: none; }
.envbar a { color: #fff; font-weight: 700; text-underline-offset: 3px; }

/* ---------- Pied de page, chargement ---------- */

.ft { margin-top: auto; border-top: 1px solid rgba(6, 78, 69, .08); background: #fff; }
.ft-in { max-width: 1200px; margin: 0 auto; padding: 20px 24px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px; font-size: 13px; color: var(--muted); }
.ft-l { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; }
.ft-l b { font-family: 'Poppins', sans-serif; font-weight: 700; color: var(--dn-deep); }
.ft-nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.ft-nav a { font-size: 13px; color: #34423f; text-decoration: none; }
.ft-nav a:hover { color: var(--dn-deep); }
.loading { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 96px 24px; color: var(--muted); text-align: center; }
.spinner { width: 28px; height: 28px; border-radius: 50%; border: 3px solid var(--tint2); border-top-color: var(--dn-main); animation: yqSpin .8s linear infinite; }
.has-callbar .ft { padding-bottom: 72px; }

/* ---------- Application installable (PWA) ---------- */
.btn-install, .pwa-btn { height: 40px; padding: 0 16px 0 12px; display: inline-flex; align-items: center; gap: 6px; border-radius: 999px; border: 1px solid rgba(6, 78, 69, .16); background: #fff; color: var(--dn-deep); font-family: inherit; font-weight: 700; font-size: 14px; white-space: nowrap; cursor: pointer; transition: background .2s, border-color .2s; }
.btn-install:hover, .pwa-btn:hover { background: var(--tint2); border-color: rgba(6, 78, 69, .3); }
@media (max-width: 640px) {
  .btn-install { width: 40px; padding: 0; justify-content: center; }
  .btn-install span { display: none; }
}
.pwa-tip { position: fixed; z-index: 3000; width: min(300px, calc(100vw - 24px)); box-sizing: border-box; padding: 14px 16px; background: #fff; color: var(--dn-deep); border: 1px solid rgba(6, 78, 69, .1); border-radius: 14px; box-shadow: 0 12px 32px rgba(6, 78, 69, .22); font-size: 14px; line-height: 1.45; }
.pwa-tip p { margin: 0 0 10px; }
.pwa-tip button { height: 34px; padding: 0 14px; border: 0; border-radius: 999px; background: var(--dn-main); color: #fff; font-family: inherit; font-weight: 700; cursor: pointer; }
.offbar { position: sticky; top: var(--hdr-h, 68px); z-index: 1090; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 12px; padding: 8px 16px; background: #FFF4E0; color: #5b3a00; border-bottom: 1px solid rgba(255, 167, 38, .35); font-size: 13px; font-weight: 600; text-align: center; }
.offbar[hidden] { display: none; }
.offbar .dot { width: 8px; height: 8px; flex: none; border-radius: 50%; background: var(--dn-accent); }
.offbar button { height: 28px; padding: 0 12px; border: 1px solid rgba(91, 58, 0, .25); border-radius: 999px; background: #fff; color: #5b3a00; font-family: inherit; font-weight: 700; font-size: 12px; cursor: pointer; }
.map-off { height: 100%; min-height: 160px; display: flex; align-items: center; justify-content: center; padding: 16px; box-sizing: border-box; background: repeating-linear-gradient(45deg, #EEF2EF 0 10px, #E6ECE8 10px 20px); color: var(--muted); font-size: 14px; font-weight: 600; text-align: center; }
/* ---------- Pages d'information (CMS) ---------- */
.cms-page { flex: 1; padding: 40px 0 64px; }
.cms-w { max-width: 760px; margin-inline: auto; }
.cms-w h1 { margin: 0 0 20px; font-family: 'Poppins', 'Noto Sans Arabic', sans-serif; font-size: clamp(28px, 4vw, 40px); line-height: 1.15; color: var(--dn-deep); }
.cms-w h2 { margin: 32px 0 10px; font-family: 'Poppins', 'Noto Sans Arabic', sans-serif; font-size: 22px; line-height: 1.25; color: var(--dn-deep); }
.cms-w p, .cms-w li { font-size: 16px; line-height: 1.7; color: #34423f; }
.cms-w p { margin: 0 0 14px; }
.cms-w ul { margin: 0 0 16px; padding-inline-start: 22px; }
.cms-w a:not(.cms-btn) { color: var(--dn-main); font-weight: 600; }
.cms-w figure { margin: 22px 0; }
.cms-w figure img { display: block; width: 100%; height: auto; border-radius: 16px; }
.cms-w figcaption { margin-top: 8px; font-size: 13px; color: var(--muted); text-align: center; }
.cms-note { margin: 18px 0; padding: 16px 18px; background: var(--tint); border-inline-start: 4px solid var(--dn-main); border-radius: 12px; }
.cms-note p:last-child { margin-bottom: 0; }
.cms-btn { display: inline-flex; align-items: center; height: 46px; padding: 0 22px; border-radius: 999px; background: var(--dn-main); color: #fff; font-weight: 700; text-decoration: none; }
.cms-btn:hover { background: color-mix(in srgb, var(--dn-main) 85%, #000); }
.cms-faq { border-bottom: 1px solid rgba(6, 78, 69, .1); }
.cms-faq summary { padding: 14px 0; cursor: pointer; font-weight: 700; color: var(--dn-deep); }
.cms-faq p { margin: 0 0 14px; }
.cms-w hr { margin: 28px 0; border: 0; border-top: 1px solid rgba(6, 78, 69, .12); }
.cms-prev { margin-bottom: 18px; padding: 10px 14px; border-radius: 12px; background: #FFF4E0; color: #5b3a00; font-size: 14px; font-weight: 600; }