/* ============================================================================
   Socle partagé par les trois écrans (recherche, tarifs, compte).

   Il vit dans /statique/ pour être mis en cache une fois et servir les trois pages,
   plutôt que d'être recopié dans chacune — trois copies d'un jeu de couleurs finissent
   toujours par diverger.
   ============================================================================ */
:root{
  --fond:oklch(0.975 0.004 268);
  --surface:oklch(1 0 0);
  --surface-2:oklch(0.985 0.003 268);
  --bord:oklch(0.92 0.005 268);
  --bord-discret:oklch(0.94 0.005 268);
  --txt:oklch(0.24 0.02 268);
  --txt-2:oklch(0.46 0.015 268);
  --txt-3:oklch(0.58 0.015 268);
  --ds-accent:oklch(0.52 0.19 272);
  --accent-survol:oklch(0.42 0.19 272);
  --accent-fond:oklch(0.97 0.015 272);
  --accent-bord:oklch(0.88 0.03 272);
  --barre:oklch(0.72 0.09 272);
  --oui-fond:oklch(0.94 0.07 155); --oui-txt:oklch(0.36 0.12 155);
  --non-fond:oklch(0.95 0.05 30);  --non-txt:oklch(0.45 0.14 30);
  --alerte:oklch(0.72 0.16 65);
  --signal:oklch(0.72 0.16 155);
  --ds-row-pad:13px;
}
*{box-sizing:border-box}
/* `.b` pose `display:inline-flex`, ce qui l'emporte sur l'attribut `hidden` : sans
   cette règle, un bouton « masqué » reste visible. */
[hidden]{display:none!important}
html{scroll-behavior:smooth;scroll-padding-top:126px}
body{margin:0;background:var(--fond);color:var(--txt);
  font-family:Archivo,Helvetica,sans-serif;font-size:14px;-webkit-font-smoothing:antialiased}
a{color:var(--ds-accent);text-decoration:none} a:hover{color:var(--accent-survol)}
input,select,button,textarea{font-family:inherit;font-size:inherit;color:inherit}
::selection{background:oklch(0.90 0.06 272)}
.mono{font-family:"Chivo Mono",ui-monospace,monospace;font-variant-numeric:tabular-nums}
.mention{font-family:"Chivo Mono",monospace;font-size:10.5px;color:var(--txt-3)}
.scroll::-webkit-scrollbar{width:10px;height:10px}
.scroll::-webkit-scrollbar-thumb{background:oklch(0.88 0.01 268);border-radius:99px;border:3px solid var(--surface)}

/* ---------------- En-tête ---------------- */
header{position:sticky;top:0;z-index:70;height:60px;background:var(--surface);
  border-bottom:1px solid var(--bord);padding:0 18px;display:flex;align-items:center;gap:18px}
.marque{display:flex;align-items:center;gap:10px;background:none;border:0;padding:0;
  cursor:pointer;color:inherit;text-decoration:none}
.marque:hover{color:inherit}
.cible{width:30px;height:30px;border-radius:50%;background:var(--ds-accent);display:grid;place-items:center;flex:none}
.cible i{width:17px;height:17px;border-radius:50%;border:2px solid rgba(255,255,255,.55);display:grid;place-items:center}
.cible i b{width:6px;height:6px;border-radius:50%;background:#fff;display:block}
.logotype{font-family:Sora,sans-serif;font-weight:600;font-size:18px;letter-spacing:-0.04em;line-height:1.1}
.sous-marque{font-family:"Chivo Mono",monospace;font-size:9.5px;color:var(--txt-3);letter-spacing:.02em}
.h-actions{margin-left:auto;display:flex;align-items:center;gap:8px}
.avatar{width:30px;height:30px;border-radius:50%;background:var(--accent-fond);
  border:1px solid var(--accent-bord);color:var(--ds-accent);display:grid;place-items:center;
  font-size:11.5px;font-weight:700;flex:none;text-decoration:none}
.avatar:hover{background:var(--ds-accent);color:#fff;border-color:var(--ds-accent)}

/* ---------------- Boutons ---------------- */
.b{height:34px;padding:0 14px;border-radius:9px;border:1px solid transparent;background:none;
  cursor:pointer;font-weight:500;white-space:nowrap;display:inline-flex;align-items:center;
  justify-content:center;gap:7px;text-decoration:none}
.b.texte{color:var(--txt-2)} .b.texte:hover{color:var(--txt)}
.b.borde{border-color:var(--bord);background:var(--surface);color:var(--txt)}
.b.borde:hover{border-color:var(--ds-accent);color:var(--ds-accent)}
.b.plein{background:var(--ds-accent);color:#fff;font-weight:600}
.b.plein:hover{background:var(--accent-survol);color:#fff}
.b:disabled{opacity:.45;cursor:default}
.b.mini{height:28px;padding:0 10px;font-size:12.5px}
.b.grand{height:40px;padding:0 18px}
.b.form{height:44px;width:100%;font-size:15px}

/* ---------------- Blocs communs ---------------- */
.segmente{display:flex;background:oklch(0.96 0.005 268);border-radius:7px;padding:2px;gap:2px}
.segmente button{flex:1;height:26px;border:0;background:none;border-radius:5px;cursor:pointer;
  font-size:12px;color:var(--txt-2);white-space:nowrap}
.segmente button.on{background:var(--surface);color:var(--txt);font-weight:600;
  box-shadow:0 1px 2px oklch(0.24 0.02 268 / .12)}
.note{font-size:11.5px;color:var(--txt-2);background:var(--surface-2);border:1px solid var(--bord-discret);
  border-radius:11px;padding:10px 12px;line-height:1.5}
.erreur{background:var(--non-fond);color:var(--non-txt);border:0;border-radius:9px;
  padding:10px 12px;font-size:13px;line-height:1.5}
@media(prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important}}
