/* ============================================================
 * site-polish — Typographie et finitions globales
 * Inter (texte) + Plus Jakarta Sans (titres), rendu net,
 * titres en couleur pleine au lieu des dégradés flous.
 * ============================================================ */
:root {
  --fa-pink: #e93d8a;
  --fa-pink-dark: #c81e6e;
  --fa-green: #7aa61c;
  --fa-ink: #0f172a;
  --fa-text: #334155;
  --fa-muted: #5b6474;
  --fa-head: "Plus Jakarta Sans", Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --fa-body: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* ── Rendu du texte ── */
html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  font-family: var(--fa-body) !important;
  font-feature-settings: "cv11", "ss01", "ss03";
  font-optical-sizing: auto;
  color: var(--fa-text);
  letter-spacing: -0.003em;
}
button, input, select, textarea { font-family: inherit; }

/* ── Titres ── */
h1, h2, h3, h4,
.hm-head h2, .sv-hero h1, .pr-hero h1, .fq-hero h1 {
  font-family: var(--fa-head) !important;
  color: inherit;
  text-wrap: balance;
}
h1, h2 { letter-spacing: -0.025em !important; line-height: 1.12; }
h3, h4 { letter-spacing: -0.012em; line-height: 1.3; }
main h1, main h2 { font-weight: 800; }
main h3 { font-weight: 700; }
p, li { text-wrap: pretty; }

/* ── Dégradés de texte → couleur pleine, nette ── */
.bg-clip-text.text-transparent,
.hm-head h2 span {
  background-image: none !important;
  -webkit-background-clip: border-box !important;
  background-clip: border-box !important;
  color: var(--fa-pink) !important;
  -webkit-text-fill-color: currentColor;
}
/* sur fond photo sombre (bannière) : rose clair lisible */
section.relative.overflow-hidden h1 .bg-clip-text.text-transparent { color: #ffb3d4 !important; }

/* ── Bannière : lisibilité du texte sur photo ── */
section.relative.overflow-hidden h1 {
  text-shadow: 0 2px 24px rgba(0, 0, 0, .25);
  font-size: clamp(2.2rem, 5vw, 3.6rem) !important;
  line-height: 1.08 !important;
}
section.relative.overflow-hidden h1 + p { color: rgba(255, 255, 255, .88) !important; font-size: clamp(1rem, 1.6vw, 1.2rem); line-height: 1.65; }

/* ── Textes secondaires un peu plus contrastés (lisibilité) ── */
main .text-gray-500 { color: var(--fa-muted) !important; }
main .text-gray-600 { color: #475467 !important; }
.hm-head p, .sv-head p, .hm-act p, .pr-name, .hs-d { color: var(--fa-muted); }
.hm-eye, .sv-eyebrow, .pr-eyebrow, .fq-eyebrow { letter-spacing: .01em; font-weight: 600; }

/* ── Navigation ── */
nav a, nav button { font-weight: 500; letter-spacing: -0.005em; }

/* ── Prix et chiffres : chiffres tabulaires, alignés ── */
.pr-price, .pr-mprice, .hm-status small, .hm-info { font-variant-numeric: tabular-nums; }
.pr-price, .pr-mprice { font-family: var(--fa-head); letter-spacing: -0.01em; }

/* ── Boutons : texte net ── */
.hm-btn, .sv-btn, .pr-btn, .fq-btn, .pr-add { letter-spacing: -0.005em; }

/* ── Sélection et focus ── */
::selection { background: rgba(233, 61, 138, .18); color: var(--fa-ink); }
:focus-visible { outline-color: rgba(233, 61, 138, .55); }

/* ── Accueil : rythme des sections (alternance blanc / gris doux) ── */
main > div:has(.hb-slide) > section:not(:first-of-type) { background-color: #fff !important; border-top: 0 !important; }
main > div:has(.hb-slide) > section:nth-of-type(even) { background-color: #f6f7f9 !important; }

/* ── Espacement vertical régulier ── */
main > div:has(.hb-slide) > section.hm-sec, main > div:has(.hb-slide) > section.py-6, main > div:has(.hb-slide) > section.py-8, main > div:has(.hb-slide) > section.py-4 { padding-top: clamp(44px, 5.5vw, 72px) !important; padding-bottom: clamp(44px, 5.5vw, 72px) !important; }

/* ── Cartes : même arrondi, même ombre ── */
.hm-act, .hs-card, .pr-card, .hm-band, .hm-feat, main article.group, main .group.rounded-2xl { border-radius: 20px; }
.hm-act, .hs-card, .pr-card, .hm-band { border-color: #eceef2 !important; box-shadow: 0 1px 2px rgba(16, 24, 40, .04); }
.hm-act:hover, .hs-card:hover, .pr-card:hover { box-shadow: 0 18px 40px -22px rgba(16, 24, 40, .32) !important; }
.hm-feat { background: #fff !important; border-color: #eceef2 !important; }
main > div:has(.hb-slide) > section:nth-of-type(even) .hm-feat { background: #fff !important; }

/* ── Boutons : hauteur et rendu identiques ── */
.hm-btn, .sv-btn, .pr-btn { min-height: 48px; border-radius: 14px; font-weight: 700; }

/* ── Étiquettes de section ── */
.hm-eye, .sv-eyebrow, .pr-eyebrow, .fq-eyebrow { font-size: .78rem !important; padding: 6px 12px !important; text-transform: none; }

/* ── Titres de section : largeur de lecture ── */
.hm-head h2 { max-width: 18ch; }
.hm-head.c h2 { max-width: none; }
.hm-head p { font-size: 1.04rem; }

/* ── Photo « Pourquoi nous choisir » : même hauteur que le texte ── */
.hm-why { align-items: stretch !important; }
.hm-why-img { display: flex; align-items: center; }

@media (max-width: 640px) {
  body { font-size: 16px; }
  .hm-head h2 { max-width: none; }
}
/* ── Bannière mobile : voile plus dense pour la lisibilité ── */
@media (max-width: 768px) {
  section.relative.overflow-hidden .bg-gradient-to-r.from-gray-900\/90 {
    background-image: linear-gradient(180deg, rgba(15, 23, 42, .78) 0%, rgba(15, 23, 42, .72) 55%, rgba(15, 23, 42, .85) 100%) !important;
  }
}
section.relative.overflow-hidden .backdrop-blur-sm.border-white\/20,
section.relative.overflow-hidden [class*="bg-white/10"] { background-color: rgba(15, 23, 42, .45) !important; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
/* ── Bouton « retour en haut » ── */
.st-btn {
  position: fixed; right: 26px; bottom: 94px; z-index: 50;
  width: 52px; height: 52px; padding: 0; border: 0; border-radius: 999px; cursor: pointer;
  background: rgba(255, 255, 255, .86);
  -webkit-backdrop-filter: blur(12px) saturate(1.4); backdrop-filter: blur(12px) saturate(1.4);
  box-shadow: 0 10px 30px -10px rgba(15, 23, 42, .35), 0 0 0 1px rgba(15, 23, 42, .06);
  display: grid; place-items: center;
  opacity: 0; visibility: hidden; transform: translateY(14px) scale(.85);
  transition: opacity .35s ease, transform .45s cubic-bezier(.34, 1.56, .64, 1), visibility 0s linear .35s, box-shadow .25s ease;
}
.st-btn.is-on { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.st-ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.st-ring circle { fill: none; stroke-width: 3; }
.st-track { stroke: rgba(233, 61, 138, .12); }
.st-prog {
  stroke: url(#stGrad); stroke-linecap: round;
  stroke-dasharray: 157.08;
  stroke-dashoffset: 157.08;
  transition: stroke-dashoffset .12s linear;
}
.st-core {
  width: 38px; height: 38px; border-radius: 999px; display: grid; place-items: center;
  background: #fff; color: var(--fa-pink, #e93d8a);
  box-shadow: inset 0 0 0 1px rgba(233, 61, 138, .14);
  transition: background .25s ease, color .25s ease, transform .25s ease;
}
.st-arrow { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s cubic-bezier(.34, 1.56, .64, 1); }
.st-btn:hover { box-shadow: 0 16px 36px -12px rgba(233, 61, 138, .55), 0 0 0 1px rgba(233, 61, 138, .12); transform: translateY(-3px); }
.st-btn:hover .st-core { background: linear-gradient(135deg, #ff5590, #e93d8a); color: #fff; }
.st-btn:hover .st-arrow { transform: translateY(-2px); }
.st-btn:active { transform: scale(.93); transition-duration: .1s; }
.st-btn:focus-visible { outline: 3px solid rgba(233, 61, 138, .5); outline-offset: 3px; }
@media (max-width: 640px) { .st-btn { right: 18px; bottom: 90px; width: 48px; height: 48px; } .st-core { width: 35px; height: 35px; } }
@media (prefers-reduced-motion: reduce) { .st-btn, .st-arrow, .st-core { transition: opacity .2s ease, visibility 0s; transform: none !important; } }
/* ── En-têtes photo : Produits, Nos services, FAQ ── */
.pr-hero, .sv-hero, .fq-hero {
  position: relative; isolation: isolate; color: #fff;
  background-color: #3b0d24 !important;
  background-size: cover !important; background-position: center 45% !important;
  border-bottom: 0 !important;
  padding-top: clamp(56px, 8vw, 96px) !important; padding-bottom: clamp(44px, 6vw, 72px) !important;
}
.pr-hero { background-image: url(/hero-produits.webp) !important; }
.sv-hero { background-image: url(/hero-services.webp) !important; background-position: center 35% !important; }
.fq-hero { background-image: url(/hero-faq.webp) !important; background-position: center 50% !important; }
.pr-hero::before, .sv-hero::before, .fq-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(135deg, rgba(112, 18, 64, .86) 0%, rgba(150, 30, 90, .72) 50%, rgba(92, 128, 22, .72) 100%),
    linear-gradient(180deg, rgba(15, 23, 42, .15), rgba(15, 23, 42, .35));
}
.pr-hero h1, .sv-hero h1, .fq-hero h1 { color: #fff !important; text-shadow: 0 2px 24px rgba(0, 0, 0, .25); }
.pr-hero h1 span, .sv-hero h1 span, .fq-hero h1 span { color: #ffc2dc !important; }
.pr-hero > p, .sv-hero > div > p, .fq-hero > p { color: rgba(255, 255, 255, .88) !important; }
.pr-eyebrow, .sv-eyebrow, .fq-eyebrow {
  background: rgba(255, 255, 255, .14) !important; color: #fff !important;
  border: 1px solid rgba(255, 255, 255, .25);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.pr-search input, .fq-search input { border-color: transparent !important; box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .55) !important; }
.pr-trust, .sv-facts, .fq-tags { color: rgba(255, 255, 255, .9) !important; }
.pr-trust .pr-i, .sv-facts .sv-i { color: #c9ec6f !important; }
.fq-tags button { background: rgba(255, 255, 255, .14) !important; border-color: rgba(255, 255, 255, .28) !important; color: #fff !important; }
.fq-tags button:hover { background: #fff !important; color: var(--fa-pink) !important; }
.fq-tabs { background: rgba(255, 255, 255, .16) !important; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.fq-tabs button { color: rgba(255, 255, 255, .85) !important; }
.fq-tabs button.on { color: var(--fa-ink) !important; }
.sv-hero .sv-btn.ghost { background: rgba(255, 255, 255, .12) !important; color: #fff !important; border-color: rgba(255, 255, 255, .35) !important; }
.sv-hero .sv-btn.ghost:hover { background: #fff !important; color: var(--fa-pink) !important; }
/* ── Bouton WhatsApp ── */
.wa-wrap { position: fixed; right: 22px; bottom: 22px; z-index: 50; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; pointer-events: none; }
.wa-btn {
  pointer-events: auto; position: relative; width: 60px; height: 60px; border-radius: 999px;
  display: grid; place-items: center; color: #fff; text-decoration: none;
  background: linear-gradient(145deg, #3ee07a 0%, #25d366 45%, #1aa851 100%);
  box-shadow: 0 14px 30px -10px rgba(18, 140, 70, .6), inset 0 1px 0 rgba(255, 255, 255, .35), inset 0 -2px 6px rgba(0, 0, 0, .12);
  transition: transform .3s cubic-bezier(.34, 1.56, .64, 1), box-shadow .3s ease;
}
.wa-btn svg { width: 30px; height: 30px; fill: currentColor; filter: drop-shadow(0 1px 1px rgba(0, 0, 0, .15)); position: relative; z-index: 1; }
.wa-btn:hover { transform: translateY(-3px) scale(1.05); box-shadow: 0 20px 36px -12px rgba(18, 140, 70, .7), inset 0 1px 0 rgba(255, 255, 255, .35); }
.wa-btn:active { transform: scale(.94); transition-duration: .1s; }
.wa-btn:focus-visible { outline: 3px solid rgba(37, 211, 102, .55); outline-offset: 3px; }
.wa-pulse { position: absolute; inset: 0; border-radius: inherit; background: #25d366; z-index: 0; animation: waPulse 2.6s cubic-bezier(.22, 1, .36, 1) infinite; }
@keyframes waPulse { 0% { transform: scale(1); opacity: .45; } 70%, 100% { transform: scale(1.55); opacity: 0; } }
.wa-dot { position: absolute; top: 3px; right: 3px; width: 14px; height: 14px; border-radius: 99px; background: #9ca3af; border: 2.5px solid #fff; z-index: 2; }
.wa-dot.on { background: #a3e635; }
.wa-tip {
  pointer-events: none; position: relative; width: 268px; max-width: calc(100vw - 40px);
  background: #fff; border-radius: 18px; box-shadow: 0 24px 50px -18px rgba(15, 23, 42, .4), 0 0 0 1px rgba(15, 23, 42, .06);
  opacity: 0; transform: translateY(10px) scale(.96); transform-origin: bottom right;
  transition: opacity .3s ease, transform .4s cubic-bezier(.34, 1.56, .64, 1);
}
.wa-tip::after { content: ""; position: absolute; right: 24px; bottom: -6px; width: 14px; height: 14px; background: #fff; transform: rotate(45deg); border-radius: 0 0 3px 0; box-shadow: 3px 3px 6px -3px rgba(15, 23, 42, .12); }
.wa-wrap.tip-on .wa-tip, .wa-wrap:hover .wa-tip { opacity: 1; transform: none; pointer-events: auto; }
.wa-tip-in { display: flex; gap: 12px; align-items: flex-start; padding: 14px 34px 14px 14px; text-decoration: none; color: #0f172a; }
.wa-tip-in b { display: block; font-family: var(--fa-head, inherit); font-size: .95rem; margin-bottom: 2px; }
.wa-tip-in span span { display: block; font-size: .85rem; color: #475467; line-height: 1.4; }
.wa-tip-in small { display: block; margin-top: 6px; font-size: .74rem; font-weight: 600; color: #16a34a; }
.wa-av { position: relative; flex: none; width: 40px; height: 40px; border-radius: 999px; display: grid; place-items: center; font-weight: 800; font-size: .82rem; color: #fff; background: linear-gradient(135deg, #ff5590, #e0257a); }
.wa-av i { position: absolute; right: -1px; bottom: -1px; width: 12px; height: 12px; border-radius: 99px; background: #9ca3af; border: 2px solid #fff; }
.wa-av i.on { background: #22c55e; }
.wa-x { position: absolute; top: 6px; right: 6px; z-index: 1; width: 26px; height: 26px; border: 0; border-radius: 99px; background: transparent; color: #98a2b3; font-size: 18px; line-height: 1; cursor: pointer; }
.wa-x:hover { background: #f2f4f7; color: #344054; }
@media (max-width: 640px) {
  .wa-wrap { right: 16px; bottom: 16px; }
  .wa-btn { width: 56px; height: 56px; }
  .wa-btn svg { width: 28px; height: 28px; }
  .st-btn { right: 20px !important; bottom: 84px !important; }
}
@media (hover: none) { .wa-wrap:hover .wa-tip { opacity: 0; transform: translateY(10px) scale(.96); pointer-events: none; } .wa-wrap.tip-on .wa-tip { opacity: 1; transform: none; pointer-events: auto; } }
@media (prefers-reduced-motion: reduce) { .wa-pulse { animation: none; opacity: 0; } .wa-btn, .wa-tip { transition: opacity .2s ease; } }
/* ── Accueil : « Pourquoi nous choisir » ── */
.wy-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 80px); align-items: center; }
.wy-media { position: relative; isolation: isolate; padding: 28px 56px 64px 0; }
.wy-main { position: relative; border-radius: 28px; overflow: hidden; aspect-ratio: 1.08 / 1; box-shadow: 0 40px 70px -40px rgba(15, 23, 42, .55); }
.wy-main img { width: 100%; height: 100%; object-fit: cover; display: block; }
.wy-main::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(15, 23, 42, .25)); }
.wy-media::before { content: ""; position: absolute; left: -22px; top: 0; width: 46%; height: 62%; border-radius: 28px; background: radial-gradient(circle at 30% 30%, #fde3ef, #fdf2f8 60%, transparent 61%), #fdf2f8; z-index: -1; }
.wy-media::after { content: ""; position: absolute; right: 16px; bottom: 28px; width: 120px; height: 120px; z-index: -1; opacity: .55;
  background-image: radial-gradient(#97c42a 1.6px, transparent 1.7px); background-size: 14px 14px; }
.wy-second { position: absolute; right: 0; bottom: 0; width: 44%; aspect-ratio: 1 / 1; border-radius: 22px; overflow: hidden; border: 6px solid #fff; box-shadow: 0 24px 50px -24px rgba(15, 23, 42, .5); }
.wy-second img { width: 100%; height: 100%; object-fit: cover; display: block; }
.wy-title { margin: 0; font-size: clamp(1.8rem, 3.6vw, 2.6rem); font-weight: 800; color: #0f172a; }
.wy-title span { color: var(--fa-pink); }
.wy-lead { margin: 14px 0 26px; color: #475467; font-size: 1.06rem; line-height: 1.65; max-width: 52ch; }
.wy-feats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.wy-feat { display: flex; gap: 12px; align-items: flex-start; padding: 16px; border-radius: 18px; background: #fff; border: 1px solid #eceef2; transition: border-color .25s, box-shadow .25s, transform .3s cubic-bezier(.22, 1, .36, 1); }
.wy-feat:hover { border-color: #fbcfe8; transform: translateY(-2px); box-shadow: 0 18px 34px -24px rgba(15, 23, 42, .35); }
.wy-feat .hm-ic { width: 42px; height: 42px; border-radius: 12px; }
.wy-feat .hm-ic svg { width: 21px; height: 21px; }
.wy-feat h3 { margin: 0 0 2px; font-size: .97rem; font-weight: 700; color: #0f172a; }
.wy-feat p { margin: 0; font-size: .86rem; color: #5b6474; line-height: 1.45; }
.wy-quote { margin: 24px 0 26px; padding: 4px 0 4px 18px; border-left: 3px solid var(--fa-pink); }
.wy-quote p { margin: 0; font-family: var(--fa-head); font-size: 1.12rem; font-weight: 600; color: #0f172a; font-style: italic; }
.wy-quote footer { margin-top: 6px; font-size: .84rem; color: #5b6474; }
@media (max-width: 960px) {
  .wy-grid { grid-template-columns: minmax(0, 1fr); }
  .wy-media { max-width: 560px; margin: 0 auto; width: 100%; order: 2; }
}
@media (max-width: 560px) {
  .wy-media { padding: 18px 28px 44px 0; }
  .wy-feats { grid-template-columns: minmax(0, 1fr); }
  .wy-second { border-width: 4px; }
}
/* ── Badge « Depuis 2015 » ⇄ statut de la pharmacie (carte qui se retourne) ── */
.wy-since { position: absolute; left: -14px; bottom: 40px; width: 276px; height: 96px; perspective: 900px; z-index: 2; }
.wy-flip { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; animation: wyFlip 10s cubic-bezier(.65, 0, .35, 1) infinite; }
.wy-since:hover .wy-flip { animation-play-state: paused; }
.wy-face {
  position: absolute; inset: 0; border-radius: 20px; padding: 14px 18px 12px; color: #fff;
  display: flex; flex-direction: column; justify-content: center;
  -webkit-backface-visibility: hidden; backface-visibility: hidden;
}
.wy-face small { display: flex; align-items: center; gap: 7px; font-size: .7rem; font-weight: 600; opacity: .9; text-transform: uppercase; letter-spacing: .08em; }
.wy-face b { display: block; font-family: var(--fa-head); font-size: 2.05rem; line-height: 1; font-weight: 800; letter-spacing: -.02em; margin: 4px 0 5px; }
.wy-face span { display: block; font-size: .78rem; font-weight: 600; opacity: .92; }
.wy-front { background: linear-gradient(145deg, #ff5590, #d81b6f); box-shadow: 0 20px 40px -18px rgba(216, 27, 111, .7); }
.wy-back { transform: rotateY(180deg); }
.wy-back b { font-size: 1.75rem; }
.wy-back.is-open { background: linear-gradient(145deg, #8fd136, #4d9a10); box-shadow: 0 20px 40px -18px rgba(77, 154, 16, .7); }
.wy-back.is-closed { background: linear-gradient(145deg, #8fd136, #4d9a10); box-shadow: 0 20px 40px -18px rgba(77, 154, 16, .7); }
.wy-pulse { position: relative; width: 8px; height: 8px; border-radius: 99px; background: #fff; flex: none; }
.is-open .wy-pulse::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: #fff; animation: wyPing 1.6s ease-out infinite; }
.is-closed .wy-pulse { background: #ffe1e1; box-shadow: 0 0 0 3px rgba(255, 255, 255, .25); }
@keyframes wyFlip {
  0%, 40%   { transform: rotateY(0deg); }
  50%, 90%  { transform: rotateY(180deg); }
  100%      { transform: rotateY(360deg); }
}
@keyframes wyPing { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(2.8); opacity: 0; } }
@media (max-width: 560px) {
  .wy-since { left: -6px; bottom: 26px; width: 156px; height: 88px; }
  .wy-face { padding: 10px 14px; border-radius: 16px; }
  .wy-face b { font-size: 1.6rem; }
  .wy-back b { font-size: 1.4rem; }
  .wy-face small { font-size: .62rem; }
}
/* Mouvement réduit : simple fondu entre les deux faces */
@media (prefers-reduced-motion: reduce) {
  .wy-flip { animation: none; }
  .wy-back { transform: none; animation: wyFade 10s steps(1) infinite; }
  .wy-front { animation: wyFade 10s steps(1) infinite reverse; }
  @keyframes wyFade { 0%, 49% { opacity: 0; } 50%, 100% { opacity: 1; } }
}
.wy-back small { white-space: nowrap; letter-spacing: .03em; font-size: .64rem; }
@media (max-width: 560px) { .wy-back small { font-size: .56rem; letter-spacing: .02em; } }
.wy-line { display: flex; align-items: center; gap: 9px; margin: 0 0 6px; white-space: nowrap; font-family: var(--fa-head); font-size: 1.06rem; font-weight: 600; line-height: 1.2; letter-spacing: -.01em; }
.wy-line span { display: inline; font-size: inherit; opacity: 1; font-weight: 600; }
.wy-line strong { font-weight: 800; text-transform: none; }
.wy-back > span { font-size: .82rem; opacity: .95; }
@media (max-width: 560px) {
  .wy-since { width: 232px; height: 82px; }
  .wy-line { font-size: .9rem; gap: 7px; }
  .wy-back > span { font-size: .74rem; }
}
/* ── Menu mobile : voile cliquable pour fermer ── */
.mn-backdrop { position: fixed; inset: 0; z-index: 45; background: rgba(15, 23, 42, .38); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); animation: mnFade .2s ease both; cursor: pointer; }
@keyframes mnFade { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .mn-backdrop { animation: none; } }
/* ============================================================
 * Barre de menus (nouvelle version)
 * ============================================================ */
.nv-i { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.nv-wrap { max-width: 1280px; margin: 0 auto; padding: 0 20px; }

/* Bandeau d'infos */
.nv-top { background: #0f172a; color: #cbd5e1; font-size: .8rem; }
.nv-top-in { height: 38px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.nv-top-item { display: inline-flex; align-items: center; gap: 8px; color: inherit; text-decoration: none; white-space: nowrap; }
.nv-top-item .nv-i { width: 15px; height: 15px; color: #f472b6; }
a.nv-top-item:hover { color: #fff; }
.nv-top-tel { color: #fff; font-weight: 600; }
.nv-muted { color: #94a3b8; }
.nv-dot { width: 8px; height: 8px; border-radius: 99px; background: #f87171; flex: none; }
.nv-dot.on { background: #a3e635; box-shadow: 0 0 0 4px rgba(163, 230, 53, .2); }

/* Barre principale */
.nv { background: rgba(255, 255, 255, .88) !important; -webkit-backdrop-filter: saturate(1.6) blur(14px); backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid transparent; transition: box-shadow .3s ease, border-color .3s ease, background-color .3s ease; }
.nv.is-scrolled { background: rgba(255, 255, 255, .94) !important; border-bottom-color: #eef0f3; box-shadow: 0 10px 30px -18px rgba(15, 23, 42, .25); }
.nv-bar { height: 76px; display: flex; align-items: center; gap: 20px; transition: height .3s ease; }
.nv.is-scrolled .nv-bar { height: 64px; }
.nv-brand { display: flex; align-items: center; gap: 12px; border: 0; background: none; padding: 0; cursor: pointer; flex: none; }
.nv-logo { height: 50px; width: auto; transition: height .3s ease, transform .3s ease; }
.nv.is-scrolled .nv-logo { height: 42px; }
.nv-brand:hover .nv-logo { transform: rotate(-4deg) scale(1.04); }
.nv-name { display: flex; flex-direction: column; text-align: left; line-height: 1.1; }
.nv-name b { font-family: var(--fa-head); font-size: 1.08rem; font-weight: 800; color: #e93d8a; letter-spacing: -.01em; }
.nv-name small { font-size: .82rem; font-weight: 600; color: #7aa61c; }

.nv-links { margin: 0 auto; align-items: center; gap: 2px; padding: 5px; border-radius: 999px; background: #f4f5f8; }
.nv-link { position: relative; border: 0; background: none; padding: 8px 13px; border-radius: 999px; font: inherit; font-size: .88rem; font-weight: 500 !important; color: #344054; cursor: pointer; white-space: nowrap; transition: color .2s ease, background-color .2s ease; }
.nv-link:hover { color: #e93d8a; background: rgba(255, 255, 255, .7); }
.nv-link.on { color: #e93d8a; background: #fff; font-weight: 700 !important; box-shadow: 0 4px 12px -6px rgba(233, 61, 138, .45), 0 0 0 1px rgba(233, 61, 138, .12); }

.nv-actions { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.nv-links + .nv-actions { margin-left: 0; }
.nv-ibtn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 42px; height: 42px; padding: 0 10px; border: 0; border-radius: 12px; background: transparent; color: #344054; cursor: pointer; font: inherit; transition: background-color .2s ease, color .2s ease; }
.nv-ibtn:hover, .nv-ibtn.on { background: #fdf2f8; color: #e93d8a; }
.nv-user { align-items: center; gap: 2px; }
.nv-avatar { width: 30px; height: 30px; border-radius: 99px; display: grid; place-items: center; background: linear-gradient(135deg, #ff5590, #e0257a); color: #fff; font-size: .78rem; font-weight: 800; flex: none; }
.nv-uname { font-size: .88rem; font-weight: 600; }
.nv-logout:hover { background: #fef2f2; color: #dc2626; }
.nv-badge { position: absolute; top: 4px; right: 3px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 99px; background: #e93d8a; color: #fff; font-size: .68rem; font-weight: 800; display: grid; place-items: center; border: 2px solid #fff; }
.nv-cart.bump .nv-i { animation: nvBump .6s cubic-bezier(.34, 1.56, .64, 1); }
@keyframes nvBump { 30% { transform: scale(1.3) rotate(-8deg); } 60% { transform: scale(.92); } }
.nv-cta { align-items: center; gap: 8px; height: 42px; padding: 0 16px; margin-left: 4px; border-radius: 12px; background: #0f172a; color: #fff; font-size: .86rem; font-weight: 700; text-decoration: none; white-space: nowrap; transition: background-color .2s ease, transform .15s ease; }
.nv-cta .nv-i { width: 17px; height: 17px; color: #4ade80; }
.nv-cta:hover { background: #e93d8a; }
.nv-cta:hover .nv-i { color: #fff; }

/* Bouton hamburger animé */
.nv-burger { position: relative; width: 44px; height: 44px; border: 0; border-radius: 12px; background: #f4f5f8; cursor: pointer; margin-left: 2px; }
.nv-burger span { position: absolute; left: 13px; right: 13px; height: 2px; border-radius: 2px; background: #0f172a; transition: transform .3s cubic-bezier(.65, 0, .35, 1), opacity .2s ease, top .3s cubic-bezier(.65, 0, .35, 1); }
.nv-burger span:nth-child(1) { top: 15px; } .nv-burger span:nth-child(2) { top: 21px; } .nv-burger span:nth-child(3) { top: 27px; }
.nv-burger.open { background: #fdf2f8; }
.nv-burger.open span { background: #e93d8a; }
.nv-burger.open span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.nv-burger.open span:nth-child(2) { opacity: 0; transform: scaleX(.2); }
.nv-burger.open span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

/* Tiroir mobile */
.nv-drawer { position: fixed; top: 0; right: 0; bottom: 0; z-index: 60; width: min(360px, 88vw); background: #fff; display: flex; flex-direction: column; box-shadow: -24px 0 60px -20px rgba(15, 23, 42, .35); transform: translateX(105%); visibility: hidden; transition: transform .38s cubic-bezier(.22, 1, .36, 1), visibility 0s linear .38s; border-radius: 24px 0 0 24px; }
.nv-drawer.open { transform: none; visibility: visible; transition-delay: 0s; }
.nv-drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 16px 10px 20px; }
.nv-status { display: inline-flex; align-items: center; gap: 8px; font-size: .8rem; font-weight: 700; color: #b42318; background: #fef3f2; padding: 6px 12px; border-radius: 99px; }
.nv-status.on { color: #3f6212; background: #f4f9e8; }
.nv-drawer-links { flex: 1; overflow-y: auto; padding: 6px 12px; }
.nv-dlink { width: 100%; display: flex; align-items: center; gap: 14px; padding: 12px; border: 0; border-radius: 14px; background: none; font: inherit; font-size: 1rem; font-weight: 600; color: #1d2939; text-align: left; cursor: pointer; opacity: 0; transform: translateX(16px); transition: background-color .2s ease, color .2s ease; }
.nv-drawer.open .nv-dlink { animation: nvIn .45s cubic-bezier(.22, 1, .36, 1) var(--d) both; }
@keyframes nvIn { from { opacity: 0; transform: translateX(16px); } to { opacity: 1; transform: none; } }
.nv-dlink:hover { background: #f8f9fb; }
.nv-dlink.on { background: #fdf2f8; color: #e93d8a; }
.nv-dic { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: #f4f5f8; color: #475467; flex: none; }
.nv-dlink.on .nv-dic { background: #e93d8a; color: #fff; }
.nv-dgo { margin-left: auto; color: #d0d5dd; display: flex; }
.nv-dgo .nv-i { width: 16px; height: 16px; }
.nv-dlink.on .nv-dgo { color: #e93d8a; }
.nv-drawer-foot { padding: 14px 16px 22px; border-top: 1px solid #f2f4f7; display: grid; gap: 10px; }
.nv-dgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.nv-dbtn { display: flex; align-items: center; justify-content: center; gap: 9px; height: 48px; border: 0; border-radius: 14px; font: inherit; font-size: .92rem; font-weight: 700; cursor: pointer; text-decoration: none; }
.nv-dbtn .nv-i { width: 18px; height: 18px; }
.nv-dbtn.ghost { background: #f4f5f8; color: #1d2939; }
.nv-dbtn.danger { background: #fef3f2; color: #b42318; }
.nv-dbtn.wa { background: #25d366; color: #fff; }
.nv-dbtn.pink { background: #e93d8a; color: #fff; }
.nv-dinfo { display: flex; align-items: center; justify-content: center; gap: 7px; margin: 2px 0 0; font-size: .78rem; color: #667085; }
.nv-dinfo .nv-i { width: 14px; height: 14px; }
.mn-backdrop { z-index: 55 !important; }

.nv-link:focus-visible, .nv-ibtn:focus-visible, .nv-burger:focus-visible, .nv-cta:focus-visible, .nv-dlink:focus-visible, .nv-brand:focus-visible { outline: 3px solid rgba(233, 61, 138, .45); outline-offset: 2px; }

@media (max-width: 1180px) { .nv-link { padding: 8px 10px; font-size: .84rem; } .nv-bar { gap: 14px; } }
@media (max-width: 1080px) { .nv-name { display: none; } }
@media (max-width: 1023px) { .nv-name { display: flex; } }
@media (max-width: 640px) {
  .nv-wrap { padding: 0 14px; }
  .nv-hide-sm { display: none !important; }
  .nv-top-in { height: 34px; font-size: .76rem; }
  .nv-bar { height: 64px; gap: 10px; }
  .nv.is-scrolled .nv-bar { height: 58px; }
  .nv-logo { height: 42px; } .nv.is-scrolled .nv-logo { height: 38px; }
  .nv-name b { font-size: .98rem; } .nv-name small { font-size: .74rem; }
  .nv-ibtn { min-width: 40px; height: 40px; padding: 0 8px; }
}
@media (max-width: 360px) { .nv-name { display: none; } }
@media (prefers-reduced-motion: reduce) { .nv-bar, .nv-logo, .nv-drawer, .nv-burger span { transition: none; } .nv-drawer.open .nv-dlink { animation: none; opacity: 1; transform: none; } .nv-cart.bump .nv-i { animation: none; } }
@media (min-width: 1024px) { .nv-drawer, .nv-burger { display: none !important; } }

/* Pied de page : l'e-mail long passe à la ligne au lieu de déborder */
footer li span, footer li a { overflow-wrap: anywhere; min-width: 0; }

/* Barres collantes des pages : alignées sur la hauteur réduite du menu */
.pr, .fq { --pr-top: 64px !important; --fq-top: 64px !important; }
@media (max-width: 640px) { .pr, .fq { --pr-top: 58px !important; --fq-top: 58px !important; } }
/* ============================================================
 * Accueil : « Que souhaitez-vous faire ? »
 * ============================================================ */
.qa-search { position: relative; display: flex; align-items: center; max-width: 760px; margin: 0 auto 28px; background: #fff; border: 1.5px solid #eceef2; border-radius: 18px; padding: 6px 6px 6px 54px; box-shadow: 0 18px 40px -26px rgba(15, 23, 42, .35); transition: border-color .2s, box-shadow .2s; }
.qa-search:focus-within { border-color: #f9a8d4; box-shadow: 0 0 0 5px rgba(233, 61, 138, .1), 0 18px 40px -26px rgba(15, 23, 42, .35); }
.qa-search-ic { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); color: #98a2b3; display: flex; }
.qa-search-ic svg { width: 22px; height: 22px; }
.qa-search input { flex: 1; min-width: 0; height: 48px; border: 0; outline: none; background: transparent; font: inherit; font-size: 1rem; color: #0f172a; }
.qa-search input::placeholder { color: #98a2b3; }
.qa-search-btn { flex: none; display: inline-flex; align-items: center; gap: 8px; height: 48px; padding: 0 20px; border: 0; border-radius: 13px; background: #e93d8a; color: #fff; font: inherit; font-weight: 700; cursor: pointer; transition: background .2s; }
.qa-search-btn:hover { background: #c81e6e; }
.qa-search-btn svg { width: 18px; height: 18px; }

.qa-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 16px; }
.qa-hero { grid-column: span 2; grid-row: span 2; position: relative; overflow: hidden; isolation: isolate; border-radius: 26px; padding: 32px; color: #fff; display: flex; flex-direction: column; background: radial-gradient(120% 120% at 100% 0%, #ff7aa8 0%, #e93d8a 42%, #b0145c 100%); box-shadow: 0 30px 60px -34px rgba(176, 20, 92, .8); }
.qa-hero-bg { position: absolute; right: -40px; bottom: -50px; z-index: -1; color: rgba(255, 255, 255, .12); transform: rotate(-12deg); }
.qa-hero-bg svg { width: 280px; height: 280px; stroke-width: 1.2; }
.qa-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(rgba(255, 255, 255, .18) 1.2px, transparent 1.3px); background-size: 18px 18px; -webkit-mask-image: linear-gradient(135deg, #000, transparent 55%); mask-image: linear-gradient(135deg, #000, transparent 55%); }
.qa-chip { align-self: flex-start; font-size: .74rem; font-weight: 700; letter-spacing: .02em; padding: 6px 12px; border-radius: 99px; background: rgba(255, 255, 255, .18); border: 1px solid rgba(255, 255, 255, .3); }
.qa-hero h3 { margin: 18px 0 10px; font-size: clamp(1.6rem, 2.6vw, 2.15rem); font-weight: 800; color: #fff; line-height: 1.1; }
.qa-hero > p { margin: 0; max-width: 42ch; color: rgba(255, 255, 255, .9); line-height: 1.6; }
.qa-steps { list-style: none; margin: 22px 0 auto; padding: 0; display: grid; gap: 10px; }
.qa-steps li { display: flex; align-items: center; gap: 12px; font-size: .94rem; font-weight: 600; }
.qa-steps b { width: 30px; height: 30px; border-radius: 99px; display: grid; place-items: center; flex: none; background: #fff; color: #c81e6e; font-size: .85rem; font-weight: 800; }
.qa-hero-btns { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-top: 26px; }
.qa-btn { display: inline-flex; align-items: center; gap: 9px; height: 50px; padding: 0 22px; border: 0; border-radius: 14px; font: inherit; font-weight: 700; cursor: pointer; transition: transform .15s, box-shadow .25s; }
.qa-btn svg { width: 19px; height: 19px; }
.qa-btn.light { background: #fff; color: #c81e6e; box-shadow: 0 14px 28px -14px rgba(0, 0, 0, .45); }
.qa-btn.light:hover { transform: translateY(-2px); }
.qa-hero-note { font-size: .78rem; color: rgba(255, 255, 255, .8); }

.qa-tile { position: relative; display: flex; flex-direction: column; align-items: flex-start; text-align: left; padding: 22px; border-radius: 22px; background: #fff; border: 1px solid #eceef2; font: inherit; color: inherit; cursor: pointer; overflow: hidden; transition: transform .35s cubic-bezier(.22, 1, .36, 1), box-shadow .35s, border-color .25s; }
.qa-tile::before { content: ""; position: absolute; width: 160px; height: 160px; right: -60px; top: -60px; border-radius: 99px; background: var(--qa-soft); opacity: .7; transition: transform .5s cubic-bezier(.22, 1, .36, 1); }
.qa-tile:hover { transform: translateY(-4px); border-color: transparent; box-shadow: 0 24px 44px -26px rgba(15, 23, 42, .4); }
.qa-tile:hover::before { transform: scale(1.35); }
.qa-ic { position: relative; width: 50px; height: 50px; border-radius: 15px; display: grid; place-items: center; background: var(--qa-c); color: #fff; box-shadow: 0 12px 22px -12px var(--qa-c); }
.qa-ic svg { width: 24px; height: 24px; }
.qa-tile h3 { position: relative; margin: 18px 0 6px; font-size: 1.05rem; font-weight: 700; color: #0f172a; }
.qa-tile p { position: relative; margin: 0 0 18px; font-size: .88rem; color: #5b6474; line-height: 1.5; }
.qa-go { position: relative; margin-top: auto; width: 36px; height: 36px; border-radius: 99px; display: grid; place-items: center; background: #f4f5f8; color: #475467; transition: background .25s, color .25s, transform .3s cubic-bezier(.34, 1.56, .64, 1); }
.qa-go svg { width: 17px; height: 17px; }
.qa-tile:hover .qa-go { background: var(--qa-c); color: #fff; transform: translateX(4px); }
.qa-tag { position: absolute; top: 22px; right: 20px; display: inline-flex; align-items: center; gap: 6px; font-size: .72rem; font-weight: 700; color: #667085; background: #f2f4f7; padding: 4px 9px; border-radius: 99px; }
.qa-tag i { width: 7px; height: 7px; border-radius: 99px; background: #98a2b3; }
.qa-tag.on { color: #15803d; background: #dcfce7; }
.qa-tag.on i { background: #22c55e; box-shadow: 0 0 0 3px rgba(34, 197, 94, .25); }
.qa-wa    { --qa-c: #22c55e; --qa-soft: #dcfce7; }
.qa-garde { --qa-c: #6366f1; --qa-soft: #e0e7ff; }
.qa-map   { --qa-c: #e93d8a; --qa-soft: #fce7f3; }
.qa-info  { --qa-c: #7aa61c; --qa-soft: #ecf5d8; }
.qa .hm-band { margin-top: 20px; }

@media (max-width: 1024px) {
  .qa-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: none; }
  .qa-hero { grid-column: span 2; grid-row: auto; }
}
@media (max-width: 640px) {
  .qa-search { padding-left: 46px; margin-bottom: 18px; }
  .qa-search-ic { left: 14px; }
  .qa-search-btn span { display: none; }
  .qa-search-btn { padding: 0 15px; }
  .qa-grid { gap: 10px; }
  .qa-hero { padding: 24px; border-radius: 22px; }
  .qa-hero-bg svg { width: 200px; height: 200px; }
  .qa-btn { width: 100%; justify-content: center; }
  .qa-tile { padding: 16px; border-radius: 18px; }
  .qa-tile p, .qa-tag { display: none; }
  .qa-tile h3 { margin: 12px 0 10px; font-size: .94rem; }
  .qa-ic { width: 44px; height: 44px; border-radius: 13px; }
  .qa-go { width: 30px; height: 30px; }
}
@media (prefers-reduced-motion: reduce) { .qa-tile, .qa-tile::before, .qa-go, .qa-btn { transition: none; } }
/* ============================================================
 * Accueil : « Que souhaitez-vous faire ? » — version panneau + liste
 * ============================================================ */
.qb-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 20px; align-items: stretch; }
.qb-panel { position: relative; overflow: hidden; isolation: isolate; border-radius: 28px; padding: 36px; color: #e2e8f0; background: linear-gradient(160deg, #111827 0%, #1e1b3a 55%, #3b0f2a 100%); display: flex; flex-direction: column; }
.qb-panel::before { content: ""; position: absolute; width: 420px; height: 420px; right: -160px; top: -160px; z-index: -1; border-radius: 99px; background: radial-gradient(circle, rgba(233, 61, 138, .45), transparent 65%); }
.qb-panel::after { content: ""; position: absolute; width: 360px; height: 360px; left: -140px; bottom: -160px; z-index: -1; border-radius: 99px; background: radial-gradient(circle, rgba(151, 196, 42, .3), transparent 65%); }
.qb-eye { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: 700; padding: 6px 12px; border-radius: 99px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .12); color: #fff; }
.qb-dot { width: 8px; height: 8px; border-radius: 99px; background: #f87171; }
.qb-dot.on { background: #a3e635; box-shadow: 0 0 0 4px rgba(163, 230, 53, .22); }
.qb-title { margin: 18px 0 12px; font-size: clamp(2rem, 3.6vw, 2.8rem) !important; font-weight: 800; color: #fff !important; line-height: 1.08; }
.qb-title span { color: #ff8fbb; }
.qb-lead { margin: 0 0 24px; color: #cbd5e1; line-height: 1.6; max-width: 40ch; }
.qb-search { display: flex; align-items: center; gap: 10px; background: #fff; border-radius: 16px; padding: 6px 6px 6px 16px; color: #667085; }
.qb-search > svg { width: 20px; height: 20px; flex: none; }
.qb-search input { flex: 1; min-width: 0; height: 44px; border: 0; outline: none; background: transparent; font: inherit; color: #0f172a; }
.qb-search button { flex: none; width: 44px; height: 44px; border: 0; border-radius: 12px; background: #e93d8a; color: #fff; display: grid; place-items: center; cursor: pointer; transition: background .2s; }
.qb-search button:hover { background: #c81e6e; }
.qb-search button svg { width: 18px; height: 18px; }
.qb-contact { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.qb-cbtn { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .1); color: #fff; text-decoration: none; font-weight: 700; font-size: .9rem; transition: background .2s, border-color .2s; }
.qb-cbtn:hover { background: rgba(255, 255, 255, .13); border-color: rgba(255, 255, 255, .22); }
.qb-cbtn > svg { width: 20px; height: 20px; color: #ff8fbb; flex: none; }
.qb-cbtn.wa > svg { color: #4ade80; }
.qb-cbtn span { white-space: nowrap; }
.qb-cbtn small { display: block; font-size: .7rem; font-weight: 500; color: #94a3b8; }
.qb-hours { margin-top: auto; padding-top: 22px; display: grid; gap: 8px; font-size: .86rem; }
.qb-hours div { display: flex; justify-content: space-between; padding-bottom: 8px; border-bottom: 1px dashed rgba(255, 255, 255, .12); }
.qb-hours div:last-child { border-bottom: 0; padding-bottom: 0; }
.qb-hours span { color: #94a3b8; }
.qb-hours b { color: #fff; font-weight: 600; font-variant-numeric: tabular-nums; }

.qb-list { display: grid; gap: 10px; }
.qb-row { position: relative; display: flex; align-items: center; gap: 16px; width: 100%; padding: 16px 18px; border-radius: 20px; background: #fff; border: 1px solid #eceef2; font: inherit; color: inherit; text-align: left; cursor: pointer; overflow: hidden; transition: transform .3s cubic-bezier(.22, 1, .36, 1), box-shadow .3s, border-color .25s; }
.qb-row::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--c); transform: scaleY(0); transform-origin: center; transition: transform .3s cubic-bezier(.22, 1, .36, 1); }
.qb-row:hover { transform: translateX(6px); border-color: transparent; box-shadow: 0 18px 36px -24px rgba(15, 23, 42, .4); }
.qb-row:hover::before { transform: scaleY(1); }
.qb-num { font-family: var(--fa-head); font-size: .82rem; font-weight: 800; color: #d0d5dd; width: 22px; flex: none; font-variant-numeric: tabular-nums; }
.qb-ic { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; flex: none; background: var(--soft); color: var(--c); transition: background .25s, color .25s, transform .3s cubic-bezier(.34, 1.56, .64, 1); }
.qb-ic svg { width: 24px; height: 24px; }
.qb-row:hover .qb-ic { background: var(--c); color: #fff; transform: rotate(-6deg) scale(1.05); }
.qb-txt { flex: 1; min-width: 0; }
.qb-txt b { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; font-family: var(--fa-head); font-size: 1.04rem; font-weight: 700; color: #0f172a; }
.qb-txt em { font-style: normal; font-family: var(--fa-body); font-size: .68rem; font-weight: 700; color: #c81e6e; background: #fdf2f8; padding: 3px 8px; border-radius: 99px; }
.qb-txt small { display: block; margin-top: 3px; font-size: .87rem; color: #5b6474; line-height: 1.45; }
.qb-go { width: 38px; height: 38px; border-radius: 99px; display: grid; place-items: center; flex: none; border: 1.5px solid #eaecf0; color: #98a2b3; transition: all .25s ease; }
.qb-go svg { width: 17px; height: 17px; }
.qb-row:hover .qb-go { background: var(--c); border-color: var(--c); color: #fff; }
.qb-row.featured { border-color: #fbcfe8; background: linear-gradient(90deg, #fff6fa, #fff 60%); }
.qb .hm-band { margin-top: 20px; }

@media (max-width: 960px) { .qb-grid { grid-template-columns: minmax(0, 1fr); } .qb-hours { margin-top: 22px; } }
@media (max-width: 640px) {
  .qb-panel { padding: 24px; border-radius: 22px; }
  .qb-contact { grid-template-columns: minmax(0, 1fr); }
  .qb-cbtn { padding: 10px 12px; font-size: .82rem; gap: 9px; }
  .qb-row { padding: 14px; gap: 12px; }
  .qb-num { display: none; }
  .qb-ic { width: 46px; height: 46px; border-radius: 14px; }
  .qb-txt b { font-size: .97rem; }
  .qb-txt small { font-size: .82rem; }
  .qb-go { width: 32px; height: 32px; }
  .qb-row:hover { transform: none; }
}
@media (prefers-reduced-motion: reduce) { .qb-row, .qb-row::before, .qb-ic, .qb-go { transition: none; } }
/* ============================================================
 * Accueil : « Que souhaitez-vous faire ? » — design d'origine modernisé
 * ============================================================ */
.q1-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.q1-card { position: relative; display: flex; flex-direction: column; align-items: flex-start; text-align: left; padding: 26px; border-radius: 22px; background: #fff; border: 1px solid #eceef2; font: inherit; color: inherit; cursor: pointer; overflow: hidden; transition: transform .35s cubic-bezier(.22, 1, .36, 1), box-shadow .35s ease, border-color .25s ease; }
.q1-card::after { content: ""; position: absolute; inset: auto 0 0 0; height: 3px; background: var(--c); transform: scaleX(0); transform-origin: left; transition: transform .45s cubic-bezier(.22, 1, .36, 1); }
.q1-card:hover { transform: translateY(-6px); border-color: transparent; box-shadow: 0 26px 46px -28px rgba(15, 23, 42, .38); }
.q1-card:hover::after { transform: scaleX(1); }
.q1-card:focus-visible { outline: 3px solid rgba(233, 61, 138, .4); outline-offset: 2px; }
.q1-ic { width: 58px; height: 58px; border-radius: 18px; display: grid; place-items: center; background: var(--soft); color: var(--c); margin-bottom: 20px; transition: transform .35s cubic-bezier(.34, 1.56, .64, 1), background .25s, color .25s; }
.q1-ic svg { width: 28px; height: 28px; }
.q1-card:hover .q1-ic { transform: scale(1.1) rotate(-5deg); background: var(--c); color: #fff; }
.q1-card h3 { margin: 0 0 8px; font-size: 1.12rem; font-weight: 700; color: #0f172a; transition: color .2s; }
.q1-card:hover h3 { color: var(--c); }
.q1-card p { margin: 0; color: #5b6474; font-size: .92rem; line-height: 1.6; }
.q1-badge { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-size: .74rem; font-weight: 700; color: #4d7c0f; background: #f1f7e3; padding: 5px 10px; border-radius: 99px; }
.q1-badge svg { width: 13px; height: 13px; }
.q1-more { position: absolute; top: 30px; right: 26px; display: inline-flex; align-items: center; gap: 6px; font-size: .86rem; font-weight: 700; color: var(--c); opacity: 0; transform: translateX(-6px); transition: opacity .25s ease, transform .3s ease; }
.q1-more svg { width: 16px; height: 16px; }
.q1-card:hover .q1-more { opacity: 1; transform: none; }

.q1-band { position: relative; margin-top: 36px; border-radius: 26px; overflow: hidden; min-height: 300px; display: flex; align-items: center; isolation: isolate; }
.q1-band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s cubic-bezier(.22, 1, .36, 1); }
.q1-band:hover img { transform: scale(1.04); }
.q1-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(190, 24, 93, .94) 0%, rgba(233, 61, 138, .82) 40%, rgba(122, 166, 28, .55) 80%, rgba(122, 166, 28, .25) 100%); }
.q1-band-in { padding: 44px 48px; max-width: 560px; color: #fff; }
.q1-band-eye { display: inline-block; font-size: .76rem; font-weight: 700; padding: 6px 12px; border-radius: 99px; background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .3); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.q1-band h3 { margin: 16px 0 10px; font-size: clamp(1.7rem, 3vw, 2.3rem); font-weight: 800; color: #fff; }
.q1-band p { margin: 0; color: rgba(255, 255, 255, .92); line-height: 1.6; font-size: 1.02rem; }
.q1-band-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.q1-bbtn { display: inline-flex; align-items: center; gap: 9px; height: 50px; padding: 0 22px; border-radius: 14px; font: inherit; font-weight: 700; cursor: pointer; transition: transform .15s, background .2s, color .2s; }
.q1-bbtn svg { width: 18px; height: 18px; }
.q1-bbtn.white { border: 0; background: #fff; color: #c81e6e; box-shadow: 0 14px 28px -14px rgba(0, 0, 0, .45); }
.q1-bbtn.white:hover { transform: translateY(-2px); }
.q1-bbtn.ghost { background: transparent; color: #fff; border: 1.5px solid rgba(255, 255, 255, .55); }
.q1-bbtn.ghost:hover { background: rgba(255, 255, 255, .14); }

@media (max-width: 1024px) { .q1-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .q1-grid { gap: 12px; }
  .q1-card { padding: 16px; align-items: center; text-align: center; border-radius: 18px; }
  .q1-ic { width: 50px; height: 50px; border-radius: 15px; margin-bottom: 12px; }
  .q1-ic svg { width: 25px; height: 25px; }
  .q1-card h3 { font-size: .95rem; margin: 0; }
  .q1-card p, .q1-badge, .q1-more { display: none; }
  .q1-band { margin-top: 24px; min-height: 0; border-radius: 22px; }
  .q1-band::before { background: linear-gradient(180deg, rgba(190, 24, 93, .9), rgba(233, 61, 138, .82) 60%, rgba(122, 166, 28, .75)); }
  .q1-band-in { padding: 28px 22px; }
  .q1-bbtn { flex: 1 1 100%; justify-content: center; }
}
@media (hover: none) { .q1-more { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .q1-card, .q1-card::after, .q1-ic, .q1-more, .q1-band img { transition: none; } }
/* ============================================================
 * Accueil : Assurances partenaires
 * ============================================================ */
.as-grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(36px, 5vw, 72px); align-items: center; }
.as-title { margin: 14px 0 12px; font-size: clamp(1.8rem, 3.4vw, 2.5rem); font-weight: 800; color: #0f172a; }
.as-title span { color: var(--fa-pink); }
.as-lead { margin: 0 0 26px; color: #475467; font-size: 1.04rem; line-height: 1.65; max-width: 50ch; }
.as-steps { list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 4px; position: relative; }
.as-steps li { position: relative; display: flex; gap: 16px; align-items: flex-start; padding: 10px 0; }
.as-steps li:not(:last-child)::after { content: ""; position: absolute; left: 17px; top: 48px; bottom: -6px; width: 2px; background: repeating-linear-gradient(180deg, #f9a8d4 0 4px, transparent 4px 8px); }
.as-steps b { width: 36px; height: 36px; border-radius: 99px; display: grid; place-items: center; flex: none; background: #fdf2f8; color: #e93d8a; font-family: var(--fa-head); font-weight: 800; border: 2px solid #fbcfe8; }
.as-steps strong { display: block; font-family: var(--fa-head); font-size: 1rem; font-weight: 700; color: #0f172a; }
.as-steps span { display: block; margin-top: 2px; font-size: .9rem; color: #5b6474; }
.as-ask { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 18px; background: #f6fbec; border: 1px solid #dcebb8; text-decoration: none; color: inherit; transition: transform .25s ease, box-shadow .25s ease; }
.as-ask:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -22px rgba(77, 124, 15, .6); }
.as-ask-ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: #22c55e; color: #fff; flex: none; }
.as-ask-ic svg { width: 21px; height: 21px; }
.as-ask strong { display: block; font-size: .95rem; color: #1a2e05; }
.as-ask small { display: block; font-size: .84rem; color: #4d7c0f; font-weight: 600; }
.as-ask-go { margin-left: auto; width: 20px; height: 20px; color: #4d7c0f; flex: none; }

.as-wall { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; padding: 22px; border-radius: 28px; background: linear-gradient(160deg, #fdf2f8 0%, #f8fafc 50%, #f4f9e8 100%); border: 1px solid #f1f2f5; }
.as-count { grid-column: span 1; display: flex; flex-direction: column; justify-content: center; padding: 18px; border-radius: 20px; color: #fff; background: radial-gradient(120% 120% at 0% 0%, #ff7aa8, #e93d8a 50%, #b0145c); box-shadow: 0 20px 36px -22px rgba(176, 20, 92, .8); }
.as-count b { font-family: var(--fa-head); font-size: 2.8rem; line-height: 1; font-weight: 800; }
.as-count span { margin-top: 6px; font-size: .86rem; font-weight: 600; line-height: 1.3; opacity: .92; }
.as-logo { margin: 0; display: flex; flex-direction: column; align-items: stretch; gap: 8px; }
.as-logo-img { aspect-ratio: 16 / 10; border-radius: 18px; background: #fff; border: 1px solid #eceef2; display: grid; place-items: center; padding: 10px 12px; transition: transform .35s cubic-bezier(.22, 1, .36, 1), box-shadow .35s ease, border-color .25s; }
.as-logo-img img { max-width: 100%; max-height: 78px; min-height: 46px; width: auto; height: auto; object-fit: contain; filter: saturate(.85); transition: filter .3s ease, transform .35s ease; }
.as-logo figcaption { text-align: center; font-size: .76rem; font-weight: 600; color: #667085; }
.as-logo:hover .as-logo-img { transform: translateY(-4px); border-color: #fbcfe8; box-shadow: 0 18px 32px -22px rgba(15, 23, 42, .4); }
.as-logo:hover img { filter: none; transform: scale(1.05); }

@media (max-width: 960px) { .as-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) {
  .as-wall { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 14px; gap: 10px; border-radius: 22px; }
  .as-count { grid-column: span 2; flex-direction: row; align-items: center; gap: 12px; padding: 14px 18px; }
  .as-count b { font-size: 2.2rem; }
  .as-count span { margin: 0; }
  .as-count span br { display: none; }
  .as-logo-img { padding: 10px 12px; border-radius: 14px; }
  .as-logo-img img { max-height: 60px; min-height: 38px; }
}
@media (prefers-reduced-motion: reduce) { .as-logo-img, .as-logo-img img, .as-ask { transition: none; } }
/* ============================================================
 * Page : Pharmacies de garde
 * ============================================================ */
.gd { background: #f6f7f9; min-height: 70vh; color: #0f172a; }
.gd-i { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.gd-wrap { max-width: 1240px; margin: 0 auto; padding: 0 20px; }
.gd-hero { position: relative; isolation: isolate; color: #fff; text-align: center; padding: clamp(56px, 8vw, 96px) 0 clamp(40px, 6vw, 64px); background: #0b1220 url(/hero-garde.webp) center 40% / cover no-repeat; }
.gd-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(8, 14, 30, .72), rgba(8, 14, 30, .55) 50%, rgba(8, 14, 30, .85)), radial-gradient(60% 80% at 50% 0%, rgba(151, 196, 42, .25), transparent 70%); }
.gd-eye { display: inline-flex; align-items: center; gap: 8px; font-size: .8rem; font-weight: 700; padding: 7px 14px; border-radius: 99px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.gd-eye i { width: 8px; height: 8px; border-radius: 99px; background: #b5dc52; box-shadow: 0 0 0 4px rgba(151, 196, 42, .25); animation: gdPing 2s ease-in-out infinite; }
@keyframes gdPing { 50% { box-shadow: 0 0 0 7px rgba(151, 196, 42, 0); } }
.gd-hero h1 { margin: 16px 0 10px; font-size: clamp(2.1rem, 5vw, 3.4rem); font-weight: 800; color: #fff !important; text-shadow: 0 2px 24px rgba(0, 0, 0, .35); }
.gd-hero h1 span { color: #b5dc52; }
.gd-hero > .gd-wrap > p { margin: 0; color: rgba(255, 255, 255, .85); font-size: 1.08rem; }
.gd-hero p b { color: #fff; }
.gd-stats { display: inline-flex; gap: 10px; margin-top: 26px; flex-wrap: wrap; justify-content: center; }
.gd-stats > div { display: flex; align-items: center; gap: 10px; padding: 10px 18px; border-radius: 16px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.gd-stats b { font-family: var(--fa-head); font-size: 1.6rem; font-weight: 800; color: #fff; }
.gd-stats span { font-size: .85rem; color: rgba(255, 255, 255, .8); text-align: left; }

.gd-bar { position: sticky; top: 64px; z-index: 20; background: rgba(246, 247, 249, .92); -webkit-backdrop-filter: saturate(1.4) blur(10px); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid #eaecf0; }
.gd-bar-in { display: flex; align-items: center; gap: 10px; padding-top: 12px; padding-bottom: 12px; }
.gd-search { flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; height: 48px; padding: 0 12px 0 16px; border-radius: 14px; background: #fff; border: 1.5px solid #eaecf0; color: #98a2b3; transition: border-color .2s, box-shadow .2s; }
.gd-search:focus-within { border-color: #cfe79a; box-shadow: 0 0 0 4px rgba(151, 196, 42, .12); }
.gd-search input { flex: 1; min-width: 0; border: 0; outline: none; background: transparent; font: inherit; color: #0f172a; height: 100%; }
.gd-search button { border: 0; background: #f2f4f7; color: #667085; width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; cursor: pointer; }
.gd-geo { display: inline-flex; align-items: center; gap: 8px; height: 48px; padding: 0 18px; border: 0; border-radius: 14px; background: #7aa61c; color: #fff; font: inherit; font-weight: 700; cursor: pointer; white-space: nowrap; box-shadow: 0 12px 24px -14px rgba(122, 166, 28, .8); transition: background .2s; }
.gd-geo:hover { background: #5f8a12; }
.gd-geo:disabled { opacity: .7; cursor: wait; }
.gd-geo-ok { display: flex; align-items: center; gap: 8px; }
.gd-geo-pill { display: inline-flex; align-items: center; gap: 8px; height: 48px; padding: 0 14px; border-radius: 14px; background: #f1f7e3; color: #4d7c0f; font-weight: 700; font-size: .88rem; white-space: nowrap; }
.gd-geo-pill i { width: 8px; height: 8px; border-radius: 99px; background: #97c42a; }
.gd-geo-ok select { height: 48px; border: 1.5px solid #eaecf0; border-radius: 14px; background: #fff; padding: 0 12px; font: inherit; font-weight: 600; color: #344054; }
.gd-ico-btn { width: 48px; height: 48px; border: 0; border-radius: 14px; background: #fff; border: 1.5px solid #eaecf0; color: #667085; display: grid; place-items: center; cursor: pointer; }
.gd-toggle { display: none; }

.gd-body { padding-top: 22px; padding-bottom: 64px; }
.gd-alert { margin-bottom: 16px; padding: 14px 16px; border-radius: 14px; background: #fff7ed; border: 1px solid #fed7aa; color: #9a3412; font-size: .92rem; }
.gd-alert b { margin-right: 6px; }
.gd-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 20px; align-items: start; }
.gd-list { display: grid; gap: 10px; }
.gd-count { margin: 0 0 4px; color: #5b6474; font-size: .92rem; }
.gd-count b { color: #0f172a; }
.gd-card { padding: 16px 18px; border-radius: 18px; background: #fff; border: 1.5px solid #eef0f3; cursor: pointer; transition: border-color .2s, box-shadow .25s, transform .25s; scroll-margin: 140px; }
.gd-card:hover { border-color: #dcebb8; box-shadow: 0 16px 30px -24px rgba(15, 23, 42, .4); }
.gd-card.sel { border-color: #97c42a; box-shadow: 0 0 0 4px rgba(151, 196, 42, .12); }
.gd-card.near { border-color: #e93d8a; background: linear-gradient(90deg, #fff5f9, #fff 55%); }
.gd-card-top { display: flex; gap: 14px; align-items: flex-start; }
.gd-cross { flex: none; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: #f1f7e3; color: #7aa61c; font-family: var(--fa-head); font-size: 1.6rem; font-weight: 800; line-height: 1; }
.gd-card.near .gd-cross { background: #e93d8a; color: #fff; }
.gd-card-h { flex: 1; min-width: 0; }
.gd-near { display: inline-block; margin-bottom: 4px; font-size: .7rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: #c81e6e; }
.gd-card h3 { margin: 0 0 4px; font-size: 1.04rem; font-weight: 700; color: #0f172a; }
.gd-card-h p { margin: 0; display: flex; gap: 6px; align-items: flex-start; font-size: .87rem; color: #5b6474; line-height: 1.45; }
.gd-card-h p .gd-i { width: 15px; height: 15px; margin-top: 2px; color: #98a2b3; }
.gd-dist { flex: none; font-size: .8rem; font-weight: 800; color: #4d7c0f; background: #f1f7e3; padding: 5px 10px; border-radius: 99px; font-variant-numeric: tabular-nums; }
.gd-card-act { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; padding-left: 56px; }
.gd-btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; height: 38px; padding: 0 14px; border-radius: 11px; font: inherit; font-size: .86rem; font-weight: 700; text-decoration: none; cursor: pointer; border: 0; white-space: nowrap; font-variant-numeric: tabular-nums; }
.gd-btn .gd-i { width: 16px; height: 16px; }
.gd-btn.call { background: #7aa61c; color: #fff; }
.gd-btn.call:hover { background: #5f8a12; }
.gd-card.near .gd-btn.call { background: #e93d8a; }
.gd-btn.ghost { background: #f4f5f8; color: #344054; }
.gd-btn.ghost:hover { background: #e9ebf0; }
.gd-skel { height: 118px; border-radius: 18px; background: linear-gradient(90deg, #eef0f3 25%, #e4e7ec 37%, #eef0f3 63%); background-size: 400% 100%; animation: prShim 1.4s ease infinite; }
.gd-empty { display: grid; gap: 8px; justify-items: center; text-align: center; padding: 40px 20px; border-radius: 18px; background: #fff; border: 1.5px dashed #e4e7ec; color: #667085; }
.gd-empty b { color: #0f172a; font-size: 1.05rem; }
.gd-map-wrap { position: sticky; top: 148px; }
.gd-map { height: calc(100vh - 190px); min-height: 420px; max-height: 760px; border-radius: 22px; overflow: hidden; border: 1px solid #e4e7ec; background: #e8eef3; box-shadow: 0 24px 50px -32px rgba(15, 23, 42, .4); z-index: 0; }
.gd-map-note { margin: 8px 4px 0; font-size: .8rem; color: #98a2b3; text-align: center; }
.gd-pin { background: none; border: 0; }
.gd-pin span { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: #7aa61c; color: #fff; font: 800 18px/1 var(--fa-head, sans-serif); box-shadow: 0 6px 14px -4px rgba(0, 0, 0, .45); border: 2px solid #fff; }
.gd-pin b { display: block; transform: rotate(45deg); font: inherit; }
.gd-pin.near span { background: #e93d8a; width: 36px; height: 36px; }
.gd .leaflet-popup-content { font-family: var(--fa-body); font-size: .86rem; line-height: 1.45; }
.gd .leaflet-popup-content b { font-family: var(--fa-head); font-size: .95rem; }

.gd-info { margin-top: 40px; }
.gd-info h2 { margin: 0 0 14px; font-size: 1.4rem; font-weight: 800; }
.gd-info-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.gd-info-card { display: flex; gap: 12px; padding: 16px; border-radius: 18px; background: #fff; border: 1px solid #eef0f3; }
.gd-info-card > span { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: #f4f9e8; color: #4d7c0f; }
.gd-info-card b { display: block; font-size: .95rem; margin-bottom: 2px; }
.gd-info-card p { margin: 0; font-size: .85rem; color: #5b6474; line-height: 1.45; }

@media (max-width: 1024px) { .gd-info-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) {
  .gd-bar-in { flex-wrap: wrap; }
  .gd-search { flex-basis: 100%; }
  .gd-geo, .gd-geo-ok { flex: 1; }
  .gd-geo-ok select { flex: 1; min-width: 0; }
  .gd-toggle { display: inline-flex; background: #e9ebf0; padding: 4px; border-radius: 14px; gap: 2px; }
  .gd-toggle button { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 12px; border: 0; border-radius: 11px; background: transparent; font: inherit; font-weight: 700; font-size: .86rem; color: #475467; cursor: pointer; }
  .gd-toggle button.on { background: #fff; color: #0f172a; box-shadow: 0 4px 12px -6px rgba(15, 23, 42, .35); }
  .gd-layout { grid-template-columns: minmax(0, 1fr); }
  .gd-layout.view-list .gd-map-wrap { display: none; }
  .gd-layout.view-map .gd-list { display: none; }
  .gd-map-wrap { position: static; }
  .gd-map { height: 68vh; min-height: 360px; }
  .gd-map-note { display: none; }
}
@media (max-width: 560px) {
  .gd-wrap { padding: 0 14px; }
  .gd-bar { top: 58px; }
  .gd-stats > div { padding: 8px 12px; }
  .gd-stats b { font-size: 1.3rem; }
  .gd-card { padding: 14px; }
  .gd-card-act { padding-left: 0; }
  .gd-card-act .gd-btn { flex: 1 1 auto; }
  .gd-info-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) { .gd-eye i { animation: none; } .gd-skel { animation: none; } }

/* ============================================================
 * Pied de page
 * ============================================================ */
.ft { background: #0f172a; color: #cbd5e1; position: relative; overflow: hidden; isolation: isolate; }
.ft::before { content: ""; position: absolute; width: 520px; height: 520px; right: -200px; top: -260px; z-index: -1; border-radius: 99px; background: radial-gradient(circle, rgba(233, 61, 138, .22), transparent 65%); }
.ft-wrap { max-width: 1240px; margin: 0 auto; padding: 0 20px; }
.ft-top { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 48px 0 32px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.ft-brand { max-width: 460px; }
.ft-logo { display: flex; align-items: center; gap: 12px; border: 0; background: none; padding: 0; cursor: pointer; text-align: left; }
.ft-logo img { height: 48px; width: auto; background: #fff; border-radius: 14px; padding: 4px 6px; }
.ft-logo b { display: block; font-family: var(--fa-head); font-size: 1.15rem; font-weight: 800; color: #fff; }
.ft-logo small { display: block; font-size: .85rem; font-weight: 600; color: #b5dc52; }
.ft-brand p { margin: 14px 0 16px; font-size: .92rem; line-height: 1.6; color: #94a3b8; }
.ft-soc { display: flex; gap: 10px; }
.ft-soc a { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: rgba(255, 255, 255, .07); color: #e2e8f0; transition: background .2s, color .2s, transform .2s; }
.ft-soc a:hover { background: #e93d8a; color: #fff; transform: translateY(-2px); }
.ft-soc svg { width: 19px; height: 19px; }
.ft-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; flex: none; }
.ft-cbtn { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-radius: 16px; text-decoration: none; color: #fff; font-weight: 700; font-size: .95rem; white-space: nowrap; transition: transform .2s, filter .2s; }
.ft-cbtn:hover { transform: translateY(-2px); filter: brightness(1.06); }
.ft-cbtn svg { width: 22px; height: 22px; flex: none; }
.ft-cbtn small { display: block; font-size: .72rem; font-weight: 500; opacity: .85; }
.ft-cbtn.call { background: #e93d8a; }
.ft-cbtn.wa { background: #22a855; }
.ft-grid { display: grid; grid-template-columns: 1fr 1.2fr 1.2fr 1fr; gap: 32px; padding: 36px 0 40px; }
.ft-col h4 { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; font-family: var(--fa-head); font-size: 1rem; font-weight: 700; color: #fff; }
.ft-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.ft-links button { border: 0; background: none; padding: 5px 0; font: inherit; font-size: .9rem; color: #94a3b8; cursor: pointer; text-align: left; transition: color .2s, transform .2s; }
.ft-links button:hover { color: #f9a8d4; transform: translateX(3px); }
.ft-tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.ft-tags li { font-size: .82rem; color: #cbd5e1; padding: 6px 11px; border-radius: 99px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .08); }
.ft-contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.ft-contact a { display: flex; gap: 10px; align-items: flex-start; color: #cbd5e1; text-decoration: none; font-size: .9rem; line-height: 1.5; transition: color .2s; }
.ft-contact a:hover { color: #fff; }
.ft-contact svg { width: 18px; height: 18px; color: #f472b6; flex: none; margin-top: 2px; }
.ft-contact span { overflow-wrap: anywhere; min-width: 0; }
.ft-open { display: inline-flex; align-items: center; gap: 6px; font-family: var(--fa-body); font-size: .72rem; font-weight: 700; padding: 3px 9px; border-radius: 99px; background: rgba(248, 113, 113, .14); color: #fca5a5; }
.ft-open i { width: 7px; height: 7px; border-radius: 99px; background: #f87171; }
.ft-open.on { background: rgba(151, 196, 42, .16); color: #c9ec6f; }
.ft-open.on i { background: #97c42a; }
.ft-hours { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; font-size: .88rem; }
.ft-hours li { display: flex; justify-content: space-between; gap: 12px; padding: 7px 10px; border-radius: 10px; }
.ft-hours li span { color: #94a3b8; }
.ft-hours li b { color: #e2e8f0; font-weight: 600; font-variant-numeric: tabular-nums; }
.ft-hours li.today { background: rgba(255, 255, 255, .06); }
.ft-hours li.today span { color: #fff; font-weight: 600; }
.ft-bottom { border-top: 1px solid rgba(255, 255, 255, .08); }
.ft-bottom-in { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 18px; padding-bottom: 18px; font-size: .82rem; color: #64748b; }
.ft-bottom p { margin: 0; }
.ft-made { display: inline-flex; align-items: center; gap: 5px; }
.ft-made svg { width: 14px; height: 14px; color: #e93d8a; fill: #e93d8a; }
.ft button:focus-visible, .ft a:focus-visible { outline: 2px solid #f472b6; outline-offset: 2px; border-radius: 8px; }

@media (max-width: 1024px) { .ft-grid { grid-template-columns: 1fr 1fr; } .ft-top { flex-direction: column; align-items: stretch; } .ft-brand { max-width: none; } }
@media (max-width: 640px) {
  .ft-wrap { padding: 0 16px; }
  .ft-top { padding: 36px 0 24px; gap: 20px; }
  .ft-cta { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
  .ft-cbtn { padding: 12px 14px; gap: 10px; font-size: .92rem; }
  .ft-cbtn small { font-size: .68rem; }
  .ft-brand p { margin: 12px 0 14px; font-size: .88rem; }
  .ft-top { padding: 30px 0 22px; }
  .ft-grid { grid-template-columns: minmax(0, 1fr); gap: 26px; padding: 26px 0 28px; }
  .ft-links { grid-template-columns: 1fr 1fr; gap: 2px 12px; }
  .ft-bottom-in { flex-direction: column; text-align: center; gap: 6px; padding-bottom: 18px; }
}
/* Mobile : on masque « Liens rapides » et « Nos services » */
@media (max-width: 640px) { .ft-grid > .ft-col:nth-child(1), .ft-grid > .ft-col:nth-child(2) { display: none; } }

/* Bannière d'accueil : 10 px de moins en haut et en bas */
section:has(.hb-slide) > .relative.max-w-7xl { padding-top: 86px !important; padding-bottom: 86px !important; }
@media (min-width: 1024px) { section:has(.hb-slide) > .relative.max-w-7xl { padding-top: 134px !important; padding-bottom: 134px !important; } }
/* ============================================================
 * Pied de page ordinateur (≥ 1025 px) — « étiquette de pharmacie »
 * Le pied de page mobile/tablette (.ft) reste inchangé.
 * ============================================================ */
.ftd { display: none; }
@media (min-width: 1025px) {
  .ft { display: none; }
  .ftd {
    --ink: #f1f5f9; --muted: #94a3b8; --rule: rgba(255, 255, 255, .14); --paper: #0f172a; --pink: #ff6fa8; --green: #b5dc52;
    display: block; position: relative; background: var(--paper); color: var(--ink); font-family: var(--fa-body);
  }
  .ftd-ribbon { height: 18px; border-bottom: 1px solid var(--rule);
    background-image:
      url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='36' height='18'%3E%3Cpath d='M7 5h4v2h2v4h-2v2H7v-2H5V7h2z' fill='%23ff6fa8'/%3E%3Cpath d='M25 5h4v2h2v4h-2v2h-4v-2h-2V7h2z' fill='%23b5dc52'/%3E%3C/svg%3E");
    background-repeat: repeat-x; background-position: center; }
  .ftd-wrap { max-width: 1240px; margin: 0 auto; padding: 0 40px; }

  .ftd-main { position: relative; display: grid; grid-template-columns: minmax(0, 1.25fr) 170px minmax(0, 1fr); gap: 48px; align-items: start; padding: 68px 0 56px; }
  .ftd-kicker { margin: 0 0 18px; font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
  .ftd-motto { margin: 0; font-family: var(--fa-head); font-size: clamp(2.4rem, 3.6vw, 3.4rem) !important; font-weight: 800; line-height: 1.04 !important; letter-spacing: -.035em !important; color: var(--ink) !important; max-width: 13ch; text-wrap: balance; }
  .ftd-motto em { font-style: normal; color: var(--pink); }
  .ftd-calls { display: flex; gap: 36px; margin-top: 34px; }
  .ftd-calls a { display: flex; flex-direction: column; gap: 4px; text-decoration: none; color: var(--ink); }
  .ftd-calls small { font-size: .74rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
  .ftd-calls span { font-family: var(--fa-head); font-size: 1.35rem; font-weight: 700; letter-spacing: -.01em; padding-bottom: 4px; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 2px no-repeat; transition: background-size .3s ease, color .2s; }
  .ftd-calls a:hover span { color: var(--pink); background-size: 0 2px; }

  .ftd-stamp { position: relative; width: 170px; height: 170px; margin-top: 30px; transform: rotate(-9deg); color: var(--pink); }
  .ftd-stamp svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: ftdSpin 60s linear infinite; }
  .ftd-stamp circle { fill: none; stroke: currentColor; }
  .ftd-stamp .o { stroke-width: 1.5; }
  .ftd-stamp .i { stroke-width: 1; stroke-dasharray: 2 4; }
  .ftd-stamp text { fill: currentColor; font-family: var(--fa-head); font-size: 12.6px; font-weight: 800; }
  .ftd-stamp img { position: absolute; left: 50%; top: 50%; width: 74px; height: 74px; margin: -37px 0 0 -37px; border-radius: 50%; transform: rotate(9deg); }
  @keyframes ftdSpin { to { transform: rotate(360deg); } }

  .ftd-label { margin: 0; border-top: 2px solid var(--ink); }
  .ftd-label > div { display: flex; align-items: baseline; gap: 12px; padding: 12px 0; border-bottom: 1px dashed var(--rule); font-size: .92rem; }
  .ftd-label dt { flex: none; width: 92px; font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
  .ftd-label dd { margin: 0; flex: 1; display: flex; justify-content: space-between; gap: 12px; font-variant-numeric: tabular-nums; }
  .ftd-label dd a { color: var(--ink); text-decoration: none; border-bottom: 1px solid transparent; transition: border-color .2s, color .2s; }
  .ftd-label dd a:hover { color: var(--pink); border-bottom-color: currentColor; }
  .ftd-label dd b { font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--pink); }
  .ftd-label .today dd { font-weight: 700; }
  .ftd-label .ftd-status { justify-content: flex-start; gap: 10px; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #fca5a5; }
  .ftd-status i { width: 9px; height: 9px; border-radius: 99px; background: currentColor; }
  .ftd-status.on { color: var(--green); }

  .ftd-nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 22px 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
  .ftd-nav nav { display: flex; flex-wrap: wrap; }
  .ftd-nav nav button { border: 0; background: none; padding: 0; font: inherit; font-size: .92rem; font-weight: 600; color: var(--ink); cursor: pointer; }
  .ftd-nav nav button + button::before { content: "/"; margin: 0 12px; color: var(--rule); font-weight: 400; }
  .ftd-nav nav button:hover { color: var(--pink); }
  .ftd-soc { display: flex; gap: 22px; }
  .ftd-soc a { font-size: .92rem; font-weight: 600; color: var(--ink); text-decoration: none; }
  .ftd-soc a:hover { color: var(--pink); }
  .ftd-soc span { color: var(--muted); }
  .ftd-legal { display: flex; justify-content: space-between; padding: 18px 0 26px; font-size: .8rem; color: var(--muted); font-variant-numeric: tabular-nums; }
  .ftd button:focus-visible, .ftd a:focus-visible { outline: 2px solid var(--pink); outline-offset: 3px; }
}
@media (min-width: 1025px) and (max-width: 1199px) {
  .ftd-main { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .ftd-stamp { position: absolute; left: calc(50% - 150px); top: 128px; width: 124px; height: 124px; margin: 0; }
  .ftd-stamp img { width: 52px; height: 52px; margin: -26px 0 0 -26px; }
  .ftd-nav { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) { .ftd-stamp svg { animation: none; } }
/* Pied de page ordinateur : liens de menu retirés (réseaux sociaux conservés) */
@media (min-width: 1025px) { .ftd-nav nav { display: none; } .ftd-nav { justify-content: flex-start; } }

/* Crédit Askodi : seul le mot ASKODI est un lien */
.ft-credit { opacity: .85; }
.ft-credit a { color: inherit; font-weight: 700; letter-spacing: .04em; text-decoration: none; border-bottom: 1px solid transparent; transition: color .2s, border-color .2s; }
.ft-credit a:hover { color: #f472b6; border-bottom-color: currentColor; }
.ftd-legal .ft-credit a:hover { color: var(--pink); }

/* Pied de page ordinateur : logos des réseaux sociaux */
@media (min-width: 1025px) {
  .ftd-soc { align-items: center; gap: 12px; }
  .ftd-soc-l { margin-right: 6px; font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
  .ftd-soc a { width: 42px; height: 42px; border-radius: 99px; display: grid; place-items: center; border: 1px solid var(--rule); color: var(--ink); transition: background .2s, border-color .2s, color .2s, transform .2s; }
  .ftd-soc a svg { width: 19px; height: 19px; }
  .ftd-soc a:hover { background: var(--pink); border-color: var(--pink); color: #0f172a; transform: translateY(-2px); }
}
/* ============================================================
 * Pied de page ordinateur — v3 : fiche pratique « ticket »
 * ============================================================ */
@media (min-width: 1025px) {
  .ftd { overflow: hidden; }
  .ftd-main { grid-template-columns: minmax(0, 1fr) 430px; gap: 72px; padding: 84px 0 72px; align-items: center; }
  .ftd-main::before { content: ""; position: absolute; left: -90px; top: 40px; width: 300px; height: 300px; z-index: 0; opacity: .05; pointer-events: none;
    background: linear-gradient(#fff, #fff) center / 33% 100% no-repeat, linear-gradient(#fff, #fff) center / 100% 33% no-repeat; border-radius: 14px; }
  .ftd-lead { position: relative; z-index: 1; }
  .ftd-motto { font-size: clamp(2.8rem, 4.2vw, 4rem) !important; max-width: 12ch; }
  .ftd-motto em { position: relative; display: inline-block; }
  .ftd-scrib { position: absolute; left: -2%; bottom: -.12em; width: 104%; height: .32em; overflow: visible; }
  .ftd-scrib path { fill: none; stroke: var(--pink); stroke-width: 3.2; stroke-linecap: round; opacity: .9; }
  .ftd-calls { gap: 18px; margin-top: 40px; }
  .ftd-calls a { flex-direction: row; align-items: center; gap: 14px; padding: 12px 22px 12px 12px; border-radius: 99px; border: 1px solid var(--rule); transition: border-color .25s, background .25s, transform .25s; }
  .ftd-calls a:hover { border-color: var(--pink); background: rgba(255, 111, 168, .08); transform: translateY(-2px); }
  .ftd-calls a > div { display: flex; flex-direction: column; gap: 2px; }
  .ftd-calls span { font-size: 1.15rem; background: none; padding: 0; }
  .ftd-calls a:hover span { color: var(--ink); }
  .ftd-ci { width: 46px; height: 46px; border-radius: 99px; display: grid; place-items: center; background: var(--pink); color: #0f172a; flex: none; }
  .ftd-ci.wa { background: #25d366; color: #fff; }
  .ftd-ci svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

  /* Ticket */
  .ftd-label {
    --ink: #221c18; --muted: #7a7068; --rule: #ddd3c5; --green: #5f8a12;
    position: relative; z-index: 1; color: var(--ink); background: #f8f4ec; border-top: 0;
    padding: 26px 30px 22px; border-radius: 6px 6px 0 0; transform: rotate(1.4deg);
    box-shadow: 0 40px 70px -40px rgba(0, 0, 0, .8);
  }
  .ftd-label::after { content: ""; position: absolute; left: 0; right: 0; bottom: -12px; height: 12px;
    background: linear-gradient(135deg, #f8f4ec 50%, transparent 50%) 0 0 / 14px 12px repeat-x, linear-gradient(225deg, #f8f4ec 50%, transparent 50%) 0 0 / 14px 12px repeat-x; }
  .ftd-label::before { content: ""; position: absolute; top: 14px; left: 50%; width: 46px; height: 7px; margin-left: -23px; border-radius: 99px; background: #0f172a; opacity: .9; }
  .ftd-tk-head { display: flex !important; justify-content: space-between; align-items: baseline; padding: 14px 0 14px !important; border-bottom: 2px solid var(--ink) !important; }
  .ftd-tk-head b { font-family: var(--fa-head); font-size: 1.25rem; font-weight: 800; letter-spacing: -.02em; }
  .ftd-tk-head span { font-size: .72rem; font-weight: 700; letter-spacing: .12em; color: var(--muted); font-variant-numeric: tabular-nums; }
  .ftd-label > div { border-bottom-color: var(--rule); }
  .ftd-label dd a { color: var(--ink); }
  .ftd-label dd a:hover { color: #c81e6e; }
  .ftd-label dd b { color: #c81e6e; }
  .ftd-label .ftd-status { color: #b42318; }
  .ftd-label .ftd-status.on { color: var(--green); }
  .ftd-tk-bar { display: flex !important; flex-direction: column; align-items: center; gap: 6px; padding: 18px 0 2px !important; border-bottom: 0 !important; }
  .ftd-tk-bar i { display: block; width: 78%; height: 34px; background: repeating-linear-gradient(90deg, var(--ink) 0 2px, transparent 2px 4px, var(--ink) 4px 5px, transparent 5px 8px, var(--ink) 8px 11px, transparent 11px 12px); opacity: .85; }
  .ftd-tk-bar span { font-size: .66rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }

  /* Tampon posé sur le ticket */
  .ftd-stamp { position: absolute; right: 360px; top: 54px; width: 150px; height: 150px; margin: 0; z-index: 2; transform: rotate(-12deg); }
  .ftd-stamp svg { filter: drop-shadow(0 8px 14px rgba(0, 0, 0, .35)); }
  .ftd-stamp::before { content: ""; position: absolute; inset: 6px; border-radius: 99px; background: #0f172a; }
  .ftd-stamp img { width: 64px; height: 64px; margin: -32px 0 0 -32px; }

  .ftd-nav { border-top-color: var(--rule); }
  .ftd-legal { padding: 20px 0 28px; }
}
@media (min-width: 1025px) and (max-width: 1199px) {
  .ftd-main { grid-template-columns: minmax(0, 1fr) 380px; gap: 40px; }
  .ftd-stamp { right: 320px; top: 40px; width: 120px; height: 120px; left: auto; }
  .ftd-stamp img { width: 50px; height: 50px; margin: -25px 0 0 -25px; }
  .ftd-calls { flex-direction: column; align-items: flex-start; }
}@media (min-width: 1025px) {
  .ftd-nw { white-space: nowrap; }
  .ftd-main::before { top: 96px; }
  .ftd-stamp { right: 452px; top: auto; bottom: 64px; }
}
@media (min-width: 1025px) and (max-width: 1199px) {
  .ftd-stamp { right: 396px; bottom: 56px; top: auto; }
  .ftd-label { padding: 24px 22px 20px; }
  .ftd-label dt { width: 74px; font-size: .66rem; }
  .ftd-label > div { font-size: .85rem; gap: 10px; }
}@media (min-width: 1025px) {
  .ftd-label::after { bottom: -9px; height: 9px;
    background: linear-gradient(135deg, #f8f4ec 6.5px, transparent 0) 0 0 / 13px 13px repeat-x,
                linear-gradient(-135deg, #f8f4ec 6.5px, transparent 0) 0 0 / 13px 13px repeat-x; }
  .ftd-main::before { opacity: .035; }
}@media (min-width: 1025px) { .ftd-label::after { bottom: -8px; height: 10px; background-position: 0 -1px, 0 -1px; } }

/* Pied de page ordinateur : informations directement en blanc (sans ticket) */
@media (min-width: 1025px) {
  .ftd-label { --ink: #f1f5f9; --muted: #94a3b8; --rule: rgba(255, 255, 255, .14); --green: #b5dc52;
    background: none; padding: 0; border-radius: 0; transform: none; box-shadow: none; border-top: 2px solid var(--ink); }
  .ftd-label::before, .ftd-label::after { display: none; }
  .ftd-tk-head, .ftd-tk-bar { display: none !important; }
  .ftd-label dd a { color: var(--ink); }
  .ftd-label dd a:hover, .ftd-label dd b { color: #ff6fa8; }
  .ftd-label .ftd-status { color: #fca5a5; }
  .ftd-label .ftd-status.on { color: var(--green); }
}
/* ============================================================
 * Accueil : « Retrouvez-nous à la pharmacie »
 * ============================================================ */
.vz-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 28px; flex-wrap: wrap; }
.vz-title { margin: 12px 0 10px; font-size: clamp(1.8rem, 3.4vw, 2.5rem); font-weight: 800; color: #0f172a; }
.vz-title span { color: var(--fa-pink); }
.vz-lead { margin: 0; max-width: 52ch; color: #475467; font-size: 1.04rem; line-height: 1.6; }
.vz-status { display: flex; align-items: center; gap: 12px; padding: 12px 18px; border-radius: 16px; background: #fef3f2; border: 1px solid #fecdca; }
.vz-status i { width: 10px; height: 10px; border-radius: 99px; background: #f04438; flex: none; }
.vz-status b { display: block; font-size: .95rem; color: #b42318; }
.vz-status span { display: block; font-size: .8rem; color: #667085; font-variant-numeric: tabular-nums; }
.vz-status.on { background: #f4f9e8; border-color: #dcebb8; }
.vz-status.on i { background: #7aa61c; box-shadow: 0 0 0 5px rgba(151, 196, 42, .22); }
.vz-status.on b { color: #4d7c0f; }

.vz-grid { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: 16px; min-height: 460px; }
.vz-photo { position: relative; margin: 0; border-radius: 24px; overflow: hidden; background: #0f172a; }
.vz-photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1.2s cubic-bezier(.22, 1, .36, 1); }
.vz-photo:hover img { transform: scale(1.04); }
.vz-photo figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 60px 22px 20px; color: #fff; background: linear-gradient(180deg, transparent, rgba(15, 23, 42, .85)); }
.vz-photo figcaption b { display: block; font-family: var(--fa-head); font-size: 1.1rem; }
.vz-photo figcaption span { font-size: .86rem; opacity: .85; }
.vz-map { position: relative; border-radius: 24px; overflow: hidden; background: #e8eef3; border: 1px solid #eceef2; }
.vz-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.vz-card { position: absolute; left: 16px; right: 16px; bottom: 16px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 16px 18px; border-radius: 18px; background: rgba(255, 255, 255, .96); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 20px 40px -20px rgba(15, 23, 42, .45); }
.vz-addr { display: flex; align-items: center; gap: 12px; min-width: 0; }
.vz-pin { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; flex: none; background: var(--fa-pink); color: #fff; }
.vz-pin svg { width: 22px; height: 22px; }
.vz-addr small { display: block; font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #98a2b3; }
.vz-addr b { display: block; font-size: .96rem; color: #0f172a; }
.vz-addr span { display: block; font-size: .84rem; color: #667085; }
.vz-acts { display: flex; gap: 8px; }
.vz-btn { display: inline-flex; align-items: center; gap: 7px; height: 42px; padding: 0 14px; border-radius: 12px; background: #f2f4f7; color: #1d2939; font-weight: 700; font-size: .88rem; text-decoration: none; transition: background .2s, transform .15s; }
.vz-btn svg { width: 17px; height: 17px; }
.vz-btn:hover { background: #e4e7ec; transform: translateY(-1px); }
.vz-btn.pink { background: var(--fa-pink); color: #fff; }
.vz-btn.pink:hover { background: #c81e6e; }
.vz-btn.wa { background: #25d366; color: #fff; }
.vz-btn.wa:hover { background: #1ebe5b; }

.vz-marks { list-style: none; margin: 16px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.vz-marks li { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 18px; background: #f6f7f9; border: 1px solid #eef0f3; }
.vz-marks b { width: 34px; height: 34px; border-radius: 99px; display: grid; place-items: center; flex: none; background: #fff; border: 2px solid #fbcfe8; color: var(--fa-pink); font-family: var(--fa-head); font-weight: 800; }
.vz-marks strong { display: block; font-size: .95rem; color: #0f172a; }
.vz-marks span { display: block; font-size: .84rem; color: #667085; }

@media (max-width: 960px) {
  .vz-grid { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .vz-photo { aspect-ratio: 16 / 10; }
  .vz-map { height: 460px; }
  .vz-marks { grid-template-columns: minmax(0, 1fr); gap: 10px; }
}
@media (max-width: 560px) {
  .vz-head { margin-bottom: 20px; }
  .vz-status { width: 100%; }
  .vz-map { height: 440px; border-radius: 20px; }
  .vz-photo { border-radius: 20px; }
  .vz-card { left: 10px; right: 10px; bottom: 10px; padding: 14px; }
  .vz-acts { width: 100%; }
  .vz-btn { flex: 1; justify-content: center; padding: 0 8px; }
}.vz-grid { grid-template-rows: 470px auto; min-height: 0; }
.vz-marks { grid-column: 1 / -1; margin-top: 0; }
.vz-pin svg { color: #fff !important; stroke: #fff !important; }
@media (max-width: 960px) { .vz-grid { grid-template-rows: none; } }@media (min-width: 961px) { .vz-card { right: auto; max-width: calc(100% - 32px); } }
.vz-grid { grid-template-rows: 470px; }
@media (max-width: 960px) { .vz-grid { grid-template-rows: none; } }

/* ============================================================
 * Pharmacies de garde — version mobile (≤ 640 px)
 * ============================================================ */
.gd-chips, .gd-letter { display: none; }
@media (max-width: 640px) {
  /* Barre d'outils sur une seule ligne */
  .gd-bar-in { flex-wrap: nowrap !important; gap: 8px; padding-top: 10px; padding-bottom: 10px; }
  .gd-search { flex: 1 1 auto !important; flex-basis: auto !important; height: 46px; padding: 0 8px 0 12px; border-radius: 14px; }
  .gd-search input { font-size: .95rem; }
  .gd-geo { flex: none !important; width: 46px; height: 46px; padding: 0; justify-content: center; border-radius: 14px; }
  .gd-geo span, .gd-toggle span, .gd-geo-pill { display: none !important; }
  .gd-geo .gd-i { width: 21px; height: 21px; }
  .gd-geo-ok { flex: none !important; gap: 6px; }
  .gd-geo-ok select { flex: none !important; width: 96px; height: 46px; padding: 0 6px; font-size: .82rem; border-radius: 14px; }
  .gd-ico-btn { width: 46px; height: 46px; }
  .gd-toggle { flex: none; padding: 3px; border-radius: 14px; }
  .gd-toggle button { width: 40px; height: 40px; padding: 0; justify-content: center; }

  /* Quartiers */
  .gd-chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 -14px 12px; padding: 2px 14px 4px; }
  .gd-chips::-webkit-scrollbar { display: none; }
  .gd-chips button { flex: none; height: 36px; padding: 0 14px; border-radius: 99px; border: 1.5px solid #e4e7ec; background: #fff; font: inherit; font-size: .85rem; font-weight: 600; color: #344054; cursor: pointer; }
  .gd-chips button.on { background: #7aa61c; border-color: #7aa61c; color: #fff; }
  .gd-body { padding-top: 14px; }
  .gd-count { margin-bottom: 2px; font-size: .86rem; }

  /* Lettres de l'alphabet */
  .gd-letter { display: block; margin: 10px 2px 2px; font-family: var(--fa-head); font-size: .82rem; font-weight: 800; letter-spacing: .08em; color: #7aa61c; }
  .gd-list { gap: 8px; }

  /* Cartes compactes : appel principal en gros bouton rond */
  .gd-card { position: relative; padding: 14px 76px 12px 14px; border-radius: 16px; }
  .gd-cross { width: 34px; height: 34px; border-radius: 10px; font-size: 1.3rem; }
  .gd-card-top { gap: 12px; }
  .gd-card h3 { font-size: .98rem; margin-bottom: 3px; padding-right: 4px; }
  .gd-card-h p { font-size: .82rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .gd-card-h p .gd-i { display: none; }
  .gd-dist { position: absolute; top: 12px; right: 14px; font-size: .72rem; padding: 3px 8px; }
  .gd-card-act { margin-top: 8px; padding-left: 46px !important; gap: 4px 14px; }
  .gd-card-act .gd-btn { flex: none !important; height: auto; padding: 4px 0; background: none !important; color: #4d7c0f; font-size: .8rem; border-radius: 0; }
  .gd-card-act .gd-btn .gd-i { width: 14px; height: 14px; }
  .gd-card-act .gd-btn.ghost { color: #475467; }
  .gd-card-act .gd-btn.call:first-child { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); width: 50px; height: 50px; padding: 0; border-radius: 99px; background: #7aa61c !important; color: #fff; font-size: 0; box-shadow: 0 10px 20px -10px rgba(122, 166, 28, .9); }
  .gd-card-act .gd-btn.call:first-child .gd-i { width: 22px; height: 22px; }
  .gd-card.near .gd-card-act .gd-btn.call:first-child { background: #e93d8a !important; box-shadow: 0 10px 20px -10px rgba(233, 61, 138, .9); }
  .gd-card:has(.gd-dist) .gd-card-act .gd-btn.call:first-child { top: calc(50% + 10px); }
  .gd-near { font-size: .64rem; }

  /* Bon à savoir plus compact */
  .gd-info { margin-top: 28px; }
  .gd-info h2 { font-size: 1.2rem; }
  .gd-info-card { padding: 12px 14px; }
}@media (max-width: 640px) { .gd-geo-ok select { width: 74px; font-size: .78rem; padding: 0 4px; } .gd-geo-ok .gd-ico-btn { width: 40px; } .gd-bar-in { gap: 6px; } .gd-search { min-width: 0; } }

/* Pharmacies de garde mobile : localisation automatique + zone de recherche */
.gd-radius, .gd-locating { display: none; }
.gd-widen { margin-left: 8px; border: 0; background: none; padding: 0; font: inherit; font-weight: 700; color: #7aa61c; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 640px) {
  .gd-geo-ok select { display: none !important; }
  .gd-locating { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; padding: 12px 14px; border-radius: 14px; background: #f1f7e3; color: #3f6212; font-size: .88rem; font-weight: 600; }
  .gd-locating i { width: 16px; height: 16px; border-radius: 99px; border: 2.5px solid #b5dc52; border-top-color: #4d7c0f; animation: gdSpin .8s linear infinite; flex: none; }
  @keyframes gdSpin { to { transform: rotate(360deg); } }
  .gd-radius { display: block; margin-bottom: 14px; padding: 14px 16px 12px; border-radius: 18px; background: #fff; border: 1px solid #e4e7ec; box-shadow: 0 10px 24px -20px rgba(15, 23, 42, .4); }
  .gd-radius-top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; }
  .gd-radius-top span { font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #667085; }
  .gd-radius-top b { font-family: var(--fa-head); font-size: 1.02rem; color: #0f172a; }
  .gd-radius input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 8px; border-radius: 99px; outline: none; margin: 4px 0 12px;
    background: linear-gradient(90deg, #7aa61c var(--p), #e9ebf0 var(--p)); }
  .gd-radius input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; border-radius: 99px; background: #fff; border: 3px solid #7aa61c; box-shadow: 0 4px 10px -2px rgba(0, 0, 0, .25); }
  .gd-radius input[type=range]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 99px; background: #fff; border: 3px solid #7aa61c; }
  .gd-radius-q { display: flex; gap: 6px; }
  .gd-radius-q button { flex: 1; height: 34px; border-radius: 10px; border: 1.5px solid #e4e7ec; background: #fff; font: inherit; font-size: .8rem; font-weight: 700; color: #475467; cursor: pointer; }
  .gd-radius-q button.on { background: #7aa61c; border-color: #7aa61c; color: #fff; }
}
/* Pharmacies de garde : bouton/lien « Itinéraire » en rose */
.gd-card-act a.gd-btn[href*="google.com/maps"] { background: #fdf2f8; color: #e93d8a; }
.gd-card-act a.gd-btn[href*="google.com/maps"]:hover { background: #fce7f3; color: #c81e6e; }
@media (max-width: 640px) { .gd-card-act a.gd-btn[href*="google.com/maps"] { background: none !important; color: #e93d8a !important; } }

/* ============================================================
 * À propos : horaires d'ouverture (carte centrée, version embellie)
 * ============================================================ */
.ah2 { padding: clamp(56px, 7vw, 88px) 0; background: #fff; }
.ah2-card { position: relative; max-width: 680px; margin: 0 auto; padding: 44px 48px 36px; border-radius: 30px; text-align: center; overflow: hidden; isolation: isolate;
  background: linear-gradient(#fff, #fff) padding-box, linear-gradient(135deg, #f9a8d4, #fde7f1 40%, #e7f3c8 70%, #b5dc52) border-box; border: 2px solid transparent;
  box-shadow: 0 40px 80px -48px rgba(233, 61, 138, .45); }
.ah2-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 160px; z-index: -1; background: radial-gradient(60% 100% at 50% 0%, #fdf2f8, transparent 70%); }
.ah2-ic { width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 20px; display: grid; place-items: center; background: #fff; color: #e93d8a; box-shadow: 0 12px 28px -14px rgba(233, 61, 138, .6), inset 0 0 0 1px #fce7f3; }
.ah2-ic svg { width: 30px; height: 30px; }
.ah2-title { margin: 0 0 6px; font-size: clamp(1.8rem, 3.2vw, 2.3rem) !important; font-weight: 800; color: #0f172a; }
.ah2-sub { margin: 0; color: #667085; }
.ah2-live { display: inline-flex; align-items: center; gap: 8px; margin: 20px 0 26px; padding: 8px 16px; border-radius: 99px; background: #fef3f2; color: #b42318; font-size: .88rem; }
.ah2-live i { width: 8px; height: 8px; border-radius: 99px; background: currentColor; flex: none; }
.ah2-live b { font-weight: 700; }
.ah2-live span { color: #667085; font-variant-numeric: tabular-nums; }
.ah2-live.on { background: #f1f7e3; color: #4d7c0f; }
.ah2-live.on i { box-shadow: 0 0 0 4px rgba(122, 166, 28, .2); animation: ah2P 2s ease-in-out infinite; }
@keyframes ah2P { 50% { box-shadow: 0 0 0 7px rgba(122, 166, 28, 0); } }
.ah2-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; text-align: left; }
.ah2-list li { display: flex; align-items: center; gap: 14px; padding: 16px 20px; border-radius: 18px; background: #f8faf3; border: 1px solid #ecf3dc; transition: transform .25s ease, box-shadow .25s ease; }
.ah2-list li:hover { transform: translateX(4px); }
.ah2-day b { display: block; font-family: var(--fa-head); font-size: 1.02rem; color: #0f172a; }
.ah2-day small { display: block; font-size: .76rem; color: #98a2b3; }
.ah2-dots { flex: 1; align-self: center; height: 0; border-bottom: 2px dotted #d6e4b3; margin: 0 4px; }
.ah2-list strong { font-family: var(--fa-head); font-size: 1.08rem; font-weight: 800; color: #5f8a12; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ah2-list em { font-style: normal; font-size: .66rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 3px 8px; border-radius: 99px; background: #e93d8a; color: #fff; }
.ah2-list li.off { background: #fafafa; border-color: #f0f0f0; }
.ah2-list li.off strong { color: #98a2b3; }
.ah2-list li.off .ah2-dots { border-color: #e4e7ec; }
.ah2-list li.today { background: #fff; border-color: #f9a8d4; box-shadow: 0 16px 30px -22px rgba(233, 61, 138, .7); }
.ah2-list li.today .ah2-dots { border-color: #fbcfe8; }
.ah2-foot { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px; margin-top: 28px; }
.ah2-call { display: inline-flex; align-items: center; gap: 12px; padding: 8px 20px 8px 8px; border-radius: 99px; background: #fdf2f8; color: #0f172a; text-decoration: none; text-align: left; transition: background .2s, transform .15s; }
.ah2-call:hover { background: #fce7f3; transform: translateY(-2px); }
.ah2-call > span { width: 40px; height: 40px; border-radius: 99px; display: grid; place-items: center; background: #e93d8a; color: #fff; }
.ah2-call > span svg { width: 18px; height: 18px; }
.ah2-call small { display: block; font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #c81e6e; }
.ah2-call b { display: block; font-family: var(--fa-head); font-size: 1rem; }
.ah2-garde { display: inline-flex; align-items: center; gap: 8px; font-size: .88rem; font-weight: 700; color: #4d7c0f; text-decoration: none; }
.ah2-garde svg { width: 17px; height: 17px; }
.ah2-garde:hover { text-decoration: underline; }
@media (max-width: 560px) {
  .ah2-card { padding: 32px 18px 26px; border-radius: 24px; }
  .ah2-live { flex-wrap: wrap; justify-content: center; }
  .ah2-list li { padding: 14px; gap: 10px; flex-wrap: wrap; }
  .ah2-dots { display: none; }
  .ah2-list strong { margin-left: auto; font-size: 1rem; }
  .ah2-list em { order: 3; }
}
@media (prefers-reduced-motion: reduce) { .ah2-live.on i { animation: none; } }
/* Pied de page ordinateur : frise de croix retirée */
@media (min-width: 1025px) { .ftd-ribbon { display: none; } }

/* ============================================================
 * Espace admin : comptes utilisateurs
 * ============================================================ */
.au { color: #0f172a; }
.au-i { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.au-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.au-top h2 { margin: 0; font-size: 1.35rem !important; font-weight: 800; }
.au-top p { margin: 4px 0 0; color: #667085; font-size: .9rem; }
.au-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 42px; padding: 0 16px; border-radius: 12px; border: 0; font: inherit; font-size: .9rem; font-weight: 700; cursor: pointer; text-decoration: none; transition: background .2s, transform .15s; }
.au-btn:active { transform: scale(.97); }
.au-btn:disabled { opacity: .6; cursor: wait; }
.au-btn.pink { background: #e93d8a; color: #fff; } .au-btn.pink:hover { background: #c81e6e; }
.au-btn.ghost { background: #f2f4f7; color: #1d2939; } .au-btn.ghost:hover { background: #e4e7ec; }
.au-btn.danger { background: #d92d20; color: #fff; } .au-btn.danger:hover { background: #b42318; }
.au-bar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.au-tabs { display: inline-flex; gap: 4px; padding: 4px; border-radius: 14px; background: #f2f4f7; }
.au-tabs button { display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 14px; border: 0; border-radius: 10px; background: none; font: inherit; font-size: .86rem; font-weight: 600; color: #475467; cursor: pointer; }
.au-tabs button span { font-size: .72rem; font-weight: 700; padding: 1px 7px; border-radius: 99px; background: #e4e7ec; color: #475467; }
.au-tabs button.on { background: #fff; color: #0f172a; box-shadow: 0 2px 8px -4px rgba(15, 23, 42, .3); }
.au-tabs button.on span { background: #fce7f3; color: #c81e6e; }
.au-filters { display: flex; gap: 8px; flex-wrap: wrap; }
.au-search { display: flex; align-items: center; gap: 8px; height: 44px; padding: 0 12px; border-radius: 12px; border: 1.5px solid #e4e7ec; background: #fff; color: #98a2b3; min-width: 260px; }
.au-search:focus-within { border-color: #f9a8d4; }
.au-search input { border: 0; outline: none; background: none; font: inherit; font-size: .9rem; color: #0f172a; flex: 1; min-width: 0; }
.au-filters select { height: 44px; padding: 0 10px; border-radius: 12px; border: 1.5px solid #e4e7ec; background: #fff; font: inherit; font-size: .88rem; color: #344054; }
.au-toast { margin-bottom: 12px; padding: 11px 14px; border-radius: 12px; background: #ecfdf3; color: #067647; font-size: .9rem; font-weight: 600; border: 1px solid #abefc6; }
.au-toast.bad { background: #fef3f2; color: #b42318; border-color: #fecdca; }
.au-list { display: grid; gap: 8px; }
.au-row { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, .9fr) 130px 128px; align-items: center; gap: 14px; padding: 12px 16px; border-radius: 16px; background: #fff; border: 1px solid #eef0f3; transition: border-color .2s, box-shadow .2s; }
.au-row:hover { border-color: #fbcfe8; box-shadow: 0 10px 24px -20px rgba(15, 23, 42, .4); }
.au-row.off { background: #fcfcfd; }
.au-row.off .au-who b { color: #667085; }
.au-who { display: flex; align-items: center; gap: 12px; min-width: 0; }
.au-av { width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; flex: none; font-weight: 800; font-size: .86rem; color: #fff; background: #98a2b3; }
.au-av.r-admin { background: linear-gradient(135deg, #ff5590, #c81e6e); }
.au-av.r-manager { background: linear-gradient(135deg, #9bcb2d, #5f8a12); }
.au-av.r-client { background: linear-gradient(135deg, #7dd3fc, #0284c7); }
.au-who > div { min-width: 0; }
.au-who b { display: flex; align-items: center; gap: 8px; font-size: .95rem; }
.au-who b em { font-style: normal; font-size: .66rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; padding: 2px 7px; border-radius: 99px; background: #0f172a; color: #fff; }
.au-who small { display: block; font-size: .8rem; color: #667085; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.au-meta { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.au-meta small { font-size: .74rem; color: #98a2b3; }
.au-role { display: inline-flex; align-items: center; gap: 5px; font-size: .74rem; font-weight: 700; padding: 4px 9px; border-radius: 99px; }
.au-role .au-i { width: 13px; height: 13px; }
.au-role.r-admin { background: #fdf2f8; color: #c81e6e; }
.au-role.r-manager { background: #f1f7e3; color: #4d7c0f; }
.au-role.r-client { background: #e0f2fe; color: #0369a1; }
.au-role.r-other { background: #f2f4f7; color: #475467; }
.au-st select { width: 100%; height: 36px; padding: 0 8px; border-radius: 10px; border: 1.5px solid #e4e7ec; font: inherit; font-size: .82rem; font-weight: 700; background: #fff; cursor: pointer; }
.au-st select.st-active { color: #067647; border-color: #abefc6; background: #f6fef9; }
.au-st select.st-suspended { color: #b54708; border-color: #fedf89; background: #fffcf5; }
.au-st select.st-blocked { color: #b42318; border-color: #fecdca; background: #fffbfa; }
.au-st select:disabled { cursor: not-allowed; opacity: .7; }
.au-acts { display: flex; justify-content: flex-end; gap: 6px; }
.au-acts button { width: 36px; height: 36px; border-radius: 10px; border: 0; background: #f2f4f7; color: #475467; display: grid; place-items: center; cursor: pointer; transition: background .2s, color .2s; }
.au-acts button:hover { background: #fce7f3; color: #c81e6e; }
.au-acts button.del:hover { background: #fef3f2; color: #d92d20; }
.au-acts button:disabled { opacity: .35; cursor: not-allowed; }
.au-empty { display: grid; gap: 4px; justify-items: center; padding: 40px 20px; border-radius: 16px; border: 1.5px dashed #e4e7ec; color: #667085; background: #fff; }
.au-empty b { color: #0f172a; }

.au-modal { position: fixed; inset: 0; z-index: 80; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(15, 23, 42, .5); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); animation: prFade .2s ease both; }
.au-sheet { width: 100%; max-width: 560px; max-height: 92vh; overflow: auto; padding: 24px; border-radius: 22px; background: #fff; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .5); animation: prUp .3s cubic-bezier(.22, 1, .36, 1) both; }
.au-sheet-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.au-sheet-head h3 { margin: 0; font-size: 1.2rem; font-weight: 800; }
.au-x { width: 36px; height: 36px; border: 0; border-radius: 10px; background: #f2f4f7; display: grid; place-items: center; cursor: pointer; color: #475467; }
.au-sheet form { display: grid; gap: 14px; }
.au-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.au-field { display: grid; gap: 6px; }
.au-field > span { font-size: .78rem; font-weight: 700; color: #344054; }
.au-field input { height: 44px; padding: 0 12px; border-radius: 12px; border: 1.5px solid #e4e7ec; font: inherit; font-size: .92rem; outline: none; transition: border-color .2s, box-shadow .2s; }
.au-field input:focus { border-color: #f472b6; box-shadow: 0 0 0 4px rgba(233, 61, 138, .1); }
.au-hint { font-size: .78rem; color: #667085; }
.au-roles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.au-rcard { display: grid; gap: 4px; justify-items: start; text-align: left; padding: 12px; border-radius: 14px; border: 1.5px solid #e4e7ec; background: #fff; font: inherit; cursor: pointer; transition: border-color .2s, background .2s; }
.au-rcard b { font-size: .88rem; }
.au-rcard small { font-size: .72rem; color: #667085; line-height: 1.35; }
.au-rcard-ic { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: #f2f4f7; color: #475467; }
.au-rcard-ic .au-i { width: 16px; height: 16px; }
.au-rcard.on.r-admin { border-color: #e93d8a; background: #fdf2f8; } .au-rcard.on.r-admin .au-rcard-ic { background: #e93d8a; color: #fff; }
.au-rcard.on.r-manager { border-color: #7aa61c; background: #f6faee; } .au-rcard.on.r-manager .au-rcard-ic { background: #7aa61c; color: #fff; }
.au-rcard.on.r-client { border-color: #0284c7; background: #f0f9ff; } .au-rcard.on.r-client .au-rcard-ic { background: #0284c7; color: #fff; }
.au-rcard:disabled { cursor: not-allowed; opacity: .55; }
.au-seg { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border-radius: 12px; background: #f2f4f7; }
.au-seg button { height: 34px; border: 0; border-radius: 9px; background: none; font: inherit; font-size: .82rem; font-weight: 600; color: #475467; cursor: pointer; }
.au-seg button.on { background: #fff; color: #0f172a; box-shadow: 0 2px 8px -4px rgba(15, 23, 42, .3); }
.au-err { padding: 10px 12px; border-radius: 10px; background: #fef3f2; color: #b42318; font-size: .86rem; font-weight: 600; }
.au-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 4px; }
.au-confirm { margin: 0; line-height: 1.55; color: #344054; }
.au-done { display: grid; gap: 12px; justify-items: center; text-align: center; }
.au-done-ic { width: 54px; height: 54px; border-radius: 99px; display: grid; place-items: center; background: #ecfdf3; color: #067647; }
.au-done-ic .au-i { width: 26px; height: 26px; }
.au-done p { margin: 0; color: #475467; }
.au-pw { display: flex; align-items: center; gap: 8px; padding: 6px 6px 6px 14px; border-radius: 12px; background: #0f172a; }
.au-pw code { font-size: 1.15rem; font-weight: 700; letter-spacing: .08em; color: #fff; }
.au-pw button { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 12px; border: 0; border-radius: 9px; background: #e93d8a; color: #fff; font: inherit; font-size: .82rem; font-weight: 700; cursor: pointer; }
.au-warn { font-size: .82rem; color: #b54708 !important; }
.au-done .au-actions { justify-content: center; }

@media (max-width: 900px) {
  .au-row { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "who acts" "meta st"; row-gap: 10px; }
  .au-who { grid-area: who; } .au-acts { grid-area: acts; } .au-meta { grid-area: meta; flex-direction: row; align-items: center; gap: 8px; } .au-st { grid-area: st; width: 128px; }
}
@media (max-width: 560px) {
  .au-search { min-width: 0; flex: 1; }
  .au-filters { width: 100%; }
  .au-tabs { width: 100%; overflow-x: auto; }
  .au-grid2, .au-roles { grid-template-columns: minmax(0, 1fr); }
  .au-meta small { display: none; }
  .au-modal { align-items: flex-end; padding: 0; }
  .au-sheet { border-radius: 22px 22px 0 0; }
}
.au-roles.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 560px) { .au-roles.two { grid-template-columns: minmax(0, 1fr); } }

/* Mon mot de passe : jauge de solidité */
.au-strength { display: grid; grid-template-columns: repeat(4, 1fr) auto; align-items: center; gap: 4px; margin-top: -6px; }
.au-strength i { height: 5px; border-radius: 99px; background: #e4e7ec; }
.au-strength span { margin-left: 8px; font-size: .74rem; font-weight: 700; color: #667085; }
.au-strength.s1 i:nth-child(-n+1) { background: #f04438; } .au-strength.s1 span { color: #d92d20; }
.au-strength.s2 i:nth-child(-n+2) { background: #f79009; } .au-strength.s2 span { color: #b54708; }
.au-strength.s3 i:nth-child(-n+3) { background: #97c42a; } .au-strength.s3 span { color: #4d7c0f; }
.au-strength.s4 i { background: #12b76a; } .au-strength.s4 span { color: #067647; }
.au-check { display: flex; align-items: center; gap: 8px; font-size: .84rem; color: #475467; cursor: pointer; }
.au-check input { width: 16px; height: 16px; accent-color: #e93d8a; }
/* ============================================================
 * Admin : rôles personnalisés
 * ============================================================ */
.au-av.r-custom { background: linear-gradient(135deg, #c4b5fd, #7c3aed); }
.au-role.r-custom { background: #f5f3ff; color: #6d28d9; }
.au-rcard.on.r-custom { border-color: #7c3aed; background: #faf8ff; } .au-rcard.on.r-custom .au-rcard-ic { background: #7c3aed; color: #fff; }
.au-roles { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)) !important; }
.rl-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 14px; }
.rl-card { display: flex; flex-direction: column; gap: 14px; padding: 18px; border-radius: 18px; background: #fff; border: 1px solid #eef0f3; }
.rl-card.super { background: linear-gradient(160deg, #f6faee, #fff 60%); border-color: #dcebb8; }
.rl-head { display: flex; justify-content: space-between; gap: 10px; }
.rl-head b { display: block; font-family: var(--fa-head); font-size: 1.05rem; }
.rl-head small { display: block; color: #667085; font-size: .82rem; margin-top: 2px; }
.rl-count { flex: none; align-self: flex-start; font-size: .74rem; font-weight: 700; padding: 3px 9px; border-radius: 99px; background: #f2f4f7; color: #475467; }
.rl-perms { display: flex; flex-wrap: wrap; gap: 6px; }
.rl-p { display: inline-flex; align-items: center; gap: 5px; font-size: .74rem; font-weight: 600; padding: 4px 9px; border-radius: 99px; background: #f9fafb; color: #98a2b3; text-decoration: line-through; }
.rl-p .au-i { width: 12px; height: 12px; }
.rl-p.on { background: #ecfdf3; color: #067647; text-decoration: none; }
.rl-all { font-size: .84rem; font-weight: 600; color: #4d7c0f; }
.rl-none { font-size: .84rem; color: #98a2b3; }
.rl-acts { display: flex; gap: 8px; margin-top: auto; }
.rl-acts .au-btn { height: 38px; font-size: .84rem; }
.rl-del { width: 38px; padding: 0 !important; color: #d92d20 !important; }
.rl-checks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.rl-check { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; border: 1.5px solid #e4e7ec; font-size: .88rem; font-weight: 600; color: #344054; cursor: pointer; }
.rl-check input { width: 17px; height: 17px; accent-color: #e93d8a; }
.rl-check.on { border-color: #f9a8d4; background: #fdf2f8; }
.rl-quick { display: flex; gap: 12px; }
.rl-quick button { border: 0; background: none; padding: 0; font: inherit; font-size: .8rem; font-weight: 700; color: #c81e6e; cursor: pointer; }

/* ============================================================
 * Admin : contenus du site
 * ============================================================ */
.cm-tabs { display: flex; flex-wrap: wrap; width: 100%; margin-bottom: 14px; }
.cm-card { display: grid; gap: 16px; padding: 22px; border-radius: 18px; background: #fff; border: 1px solid #eef0f3; }
.cm-help { margin: 0; padding: 12px 14px; border-radius: 12px; background: #f0f9ff; color: #0369a1; font-size: .86rem; }
.cm-f > span { font-size: .82rem !important; }
.cm textarea, .cm .cm-row input, .cm-img-side input, .cm-hours input { width: 100%; padding: 10px 12px; border-radius: 12px; border: 1.5px solid #e4e7ec; font: inherit; font-size: .92rem; outline: none; resize: vertical; }
.cm textarea:focus, .cm input:focus { border-color: #f472b6; box-shadow: 0 0 0 4px rgba(233, 61, 138, .1); }
.cm-strings { display: grid; gap: 8px; }
.cm-row { display: flex; gap: 6px; }
.cm-mini { flex: none; width: 34px; height: 34px; border: 0; border-radius: 9px; background: #f2f4f7; color: #475467; font-weight: 800; cursor: pointer; }
.cm-mini:disabled { opacity: .35; cursor: default; }
.cm-mini.del:hover { background: #fef3f2; color: #d92d20; }
.cm-add { justify-self: start; border: 1.5px dashed #f9a8d4; background: #fff; color: #c81e6e; font: inherit; font-size: .86rem; font-weight: 700; padding: 8px 14px; border-radius: 10px; cursor: pointer; }
.cm-add:hover { background: #fdf2f8; }
.cm-list { display: grid; gap: 12px; }
.cm-item { display: grid; gap: 12px; padding: 14px; border-radius: 14px; background: #f9fafb; border: 1px solid #eef0f3; }
.cm-item-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.cm-item-head b { font-size: .9rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cm-item-head > div { display: flex; gap: 4px; flex: none; }
.cm-img { display: flex; gap: 12px; align-items: center; }
.cm-img img, .cm-img-empty { width: 96px; height: 72px; border-radius: 12px; object-fit: cover; flex: none; background: #f2f4f7; border: 1px solid #e4e7ec; }
.cm-img-empty { display: grid; place-items: center; font-size: .7rem; color: #98a2b3; text-align: center; }
.cm-img-side { flex: 1; display: grid; gap: 8px; min-width: 0; }
.cm-img-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.cm-img-btns .au-btn { height: 36px; font-size: .82rem; cursor: pointer; }
.cm-hours { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.cm-hours label { display: flex; align-items: center; gap: 8px; font-size: .86rem; color: #475467; }
.cm-hours input[type=time] { width: auto; }
.cm-bar { position: sticky; bottom: 0; z-index: 5; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-top: 14px; padding: 12px 16px; border-radius: 16px; background: rgba(255, 255, 255, .95); border: 1px solid #eef0f3; box-shadow: 0 -10px 30px -20px rgba(15, 23, 42, .3); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.cm-bar > span:first-child { font-size: .84rem; color: #98a2b3; }
.cm-bar.dirty > span:first-child { color: #b54708; font-weight: 700; }
.cm-bar > div { display: flex; gap: 8px; margin-left: auto; }
.cm-ok { font-size: .84rem; font-weight: 600; color: #067647; }
.cm-bad { font-size: .84rem; font-weight: 600; color: #b42318; }
@media (max-width: 560px) { .rl-checks { grid-template-columns: minmax(0, 1fr); } .cm-img { flex-direction: column; align-items: stretch; } .cm-img img, .cm-img-empty { width: 100%; height: 140px; } .cm-card { padding: 14px; } }
/* ============================================================
 * Administration — mise en page (menu groupé, en-tête, tableau de bord)
 * ============================================================ */
.ad { --ad-pink: #e93d8a; --ad-navy: #0f172a; display: flex; height: 100vh; height: 100dvh; overflow: hidden; background: #f4f6fa; color: #0f172a; }
.ad-i { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.ad-side { width: 264px; flex-shrink: 0; display: flex; flex-direction: column; background: var(--ad-navy); color: #cbd5e1; z-index: 50; }
.ad-brand { display: flex; align-items: center; gap: 12px; padding: 20px 18px 18px; border-bottom: 1px solid rgba(255, 255, 255, .07); }
.ad-brand img { width: 44px; height: 44px; object-fit: contain; background: #fff; border-radius: 12px; padding: 4px; flex-shrink: 0; }
.ad-brand b { display: block; font-family: var(--fa-head); font-size: .98rem; font-weight: 800; color: #fff; line-height: 1.2; }
.ad-brand small { display: block; margin-top: 2px; font-size: .74rem; font-weight: 600; color: #b5dc52; }
.ad-x, .ad-burger { display: none; place-items: center; width: 38px; height: 38px; padding: 0; border: 0; border-radius: 10px; background: none; cursor: pointer; flex-shrink: 0; }
.ad-x { margin-left: auto; color: #94a3b8; }
.ad-x:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.ad-nav { flex: 1; overflow-y: auto; padding: 6px 12px 16px; scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, .15) transparent; }
.ad-grp { margin-top: 16px; }
.ad-grp p { margin: 0 0 6px; padding: 0 12px; font-size: .67rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: #64748b; }
.ad-link { position: relative; width: 100%; display: flex; align-items: center; gap: 12px; padding: 9px 12px; margin: 1px 0; border: 0; border-radius: 10px; background: none; color: #cbd5e1; font: inherit; font-size: .9rem; font-weight: 500; text-align: left; text-decoration: none; cursor: pointer; transition: background .15s, color .15s; }
.ad-link:hover { background: rgba(255, 255, 255, .06); color: #fff; }
.ad-link.on { background: rgba(233, 61, 138, .17); color: #fff; font-weight: 600; }
.ad-link.on::before { content: ""; position: absolute; left: -12px; top: 8px; bottom: 8px; width: 3px; border-radius: 0 3px 3px 0; background: var(--ad-pink); }
.ad-link.on .ad-i { color: #ff8fc0; }
.ad-link span { flex: 1; min-width: 0; }
.ad-link em { font-style: normal; font-size: .72rem; font-weight: 700; min-width: 22px; padding: 2px 7px; border-radius: 999px; background: var(--ad-pink); color: #fff; text-align: center; }
.ad-foot { padding: 12px; border-top: 1px solid rgba(255, 255, 255, .07); }
.ad-user { display: flex; align-items: center; gap: 8px; margin-top: 8px; padding: 10px; border-radius: 12px; background: rgba(255, 255, 255, .05); }
.ad-av { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0; background: linear-gradient(135deg, #f472b6, #db2777); color: #fff; font-weight: 700; font-size: .9rem; }
.ad-user > div { flex: 1; min-width: 0; }
.ad-user b { display: block; font-size: .84rem; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ad-user small { display: block; font-size: .74rem; color: #94a3b8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ad-user > button { width: 32px; height: 32px; display: grid; place-items: center; padding: 0 !important; border: 0; border-radius: 8px !important; background: none; color: #94a3b8; cursor: pointer; flex-shrink: 0; }
.ad-user > button:hover { background: rgba(255, 255, 255, .08) !important; color: #fff !important; }
.ad-user > .ad-out:hover { background: rgba(239, 68, 68, .16) !important; color: #fca5a5 !important; }
.ad-user > button svg { width: 16px !important; height: 16px !important; }
.ad-veil { display: none; }
.ad-body { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.ad-head { display: flex; align-items: center; gap: 16px; padding: 14px 32px; background: #fff; border-bottom: 1px solid #e8ecf2; flex-shrink: 0; }
.ad-burger { color: #334155; border: 1px solid #e2e8f0; }
.ad-burger:hover { background: #f8fafc; }
.ad-title { flex: 1; min-width: 0; }
.ad-title small { display: block; font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ad-pink); }
.ad-title h1 { margin: 1px 0 0; font-family: var(--fa-head); font-size: 1.3rem; font-weight: 800; color: #0f172a; line-height: 1.25; }
.ad-title p { margin: 2px 0 0; font-size: .85rem; color: #64748b; }
.ad-tools { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.ad-role { font-size: .75rem; font-weight: 700; padding: 5px 11px; border-radius: 999px; background: #eef2ff; color: #4338ca; white-space: nowrap; }
.ad-role.r-super { background: #fdf2f8; color: #be185d; }
.ad-role.r-custom { background: #ecfdf3; color: #067647; }
.ad-btn { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 10px; border: 1px solid #e2e8f0; background: #fff; color: #334155; font-size: .84rem; font-weight: 600; text-decoration: none; white-space: nowrap; transition: background .15s, border-color .15s; }
.ad-btn:hover { border-color: #cbd5e1; background: #f8fafc; }
.ad-btn .ad-i { width: 16px; height: 16px; }
.ad-link:focus-visible, .ad-btn:focus-visible, .ad-burger:focus-visible, .ad-x:focus-visible, .ad-user > button:focus-visible, .adb button:focus-visible { outline: 2px solid #f472b6; outline-offset: 2px; }
.ad-main { flex: 1; overflow-y: auto; padding: 28px 32px 48px; }
.ad-wrap { max-width: 1280px; margin: 0 auto; animation: adIn .25s ease; }
@keyframes adIn { from { opacity: 0; } to { opacity: 1; } }
/* les rubriques internes reprenaient le titre déjà affiché dans l'en-tête */
.ad-main .au-top h2 { display: none; }
.ad-main .au-top p { margin-top: 0; }

/* Tableau de bord */
.adb { display: flex; flex-direction: column; gap: 26px; }
.adb-hello { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 26px 28px; border-radius: 20px; background: linear-gradient(120deg, #0f172a 0%, #1e293b 55%, #4a1d3a 100%); color: #fff; }
.adb-hello small { display: block; font-size: .8rem; font-weight: 600; color: #b5dc52; }
.adb-hello small::first-letter { text-transform: uppercase; }
.adb-hello h2 { margin: 4px 0 6px; font-family: var(--fa-head); font-size: 1.55rem; font-weight: 800; color: #fff; }
.adb-hello p { margin: 0; font-size: .95rem; color: #cbd5e1; }
.adb-hello img { width: 76px; height: 76px; object-fit: contain; background: #fff; border-radius: 18px; padding: 8px; flex-shrink: 0; }
.adb-todo { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; }
.adb-t { display: flex; align-items: center; gap: 14px; padding: 18px; border-radius: 16px; border: 1px solid #e8ecf2; background: #fff; font: inherit; color: inherit; text-align: left; cursor: pointer; transition: border-color .15s, box-shadow .15s, transform .15s; }
.adb-t:hover { border-color: #f9a8d4; box-shadow: 0 10px 26px -14px rgba(233, 61, 138, .45); transform: translateY(-1px); }
.adb-ti { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: #f1f5f9; color: #64748b; flex-shrink: 0; }
.adb-t.hot .adb-ti { background: #fdf2f8; color: #e93d8a; }
.adb-t > div { flex: 1; min-width: 0; }
.adb-t b { display: block; font-family: var(--fa-head); font-size: 1.6rem; font-weight: 800; line-height: 1; color: #0f172a; }
.adb-t > div span { display: block; margin-top: 5px; font-size: .85rem; font-weight: 500; color: #475569; }
.adb-t i { display: inline-flex; align-items: center; gap: 4px; font-style: normal; font-size: .78rem; font-weight: 700; color: #16a34a; white-space: nowrap; }
.adb-t.hot i { color: #e93d8a; }
.adb-t i .ad-i { width: 14px; height: 14px; }
.adb-h { margin: 0 0 12px; font-size: .76rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #64748b; }
.adb-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; }
.adb-s { display: flex; flex-direction: column; align-items: flex-start; padding: 18px; border-radius: 16px; border: 1px solid #e8ecf2; background: #fff; font: inherit; color: inherit; text-align: left; }
button.adb-s { cursor: pointer; transition: border-color .15s, box-shadow .15s; }
button.adb-s:hover { border-color: #cbd5e1; box-shadow: 0 8px 20px -12px rgba(15, 23, 42, .3); }
.adb-sk { min-height: 132px; background: linear-gradient(90deg, #fff 0%, #f1f5f9 50%, #fff 100%); background-size: 200% 100%; animation: adSk 1.2s linear infinite; }
@keyframes adSk { from { background-position: 100% 0; } to { background-position: -100% 0; } }
.adb-si { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; margin-bottom: 12px; }
.c-pink .adb-si { background: #fdf2f8; color: #db2777; }
.c-blue .adb-si { background: #eff6ff; color: #2563eb; }
.c-green .adb-si { background: #f0fdf4; color: #16a34a; }
.c-amber .adb-si { background: #fffbeb; color: #d97706; }
.c-violet .adb-si { background: #f5f3ff; color: #7c3aed; }
.adb-s b { font-family: var(--fa-head); font-size: 1.6rem; font-weight: 800; line-height: 1.1; color: #0f172a; }
.adb-s span { margin-top: 2px; font-size: .88rem; font-weight: 600; color: #334155; }
.adb-s small { margin-top: 2px; font-size: .78rem; color: #94a3b8; }
.adb-cols { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 18px; align-items: start; }
.adb-cols.one { grid-template-columns: 1fr; }
.adb-card { background: #fff; border: 1px solid #e8ecf2; border-radius: 18px; overflow: hidden; }
.adb-ch { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 16px 20px; border-bottom: 1px solid #eef1f5; }
.adb-ch h3 { margin: 0; font-size: 1rem; font-weight: 700; color: #0f172a; }
.adb-ch button { display: inline-flex; align-items: center; gap: 4px; padding: 0; border: 0; background: none; color: #e93d8a; font: inherit; font-size: .82rem; font-weight: 700; cursor: pointer; }
.adb-ch .ad-i { width: 14px; height: 14px; }
.adb-msgs { list-style: none; margin: 0; padding: 0; }
.adb-msgs li { display: flex; align-items: flex-start; gap: 12px; padding: 14px 20px; border-top: 1px solid #f1f5f9; }
.adb-msgs li:first-child { border-top: 0; }
.ad-av.sm { width: 32px; height: 32px; font-size: .8rem; background: linear-gradient(135deg, #94a3b8, #64748b); }
.adb-msgs div { flex: 1; min-width: 0; }
.adb-msgs b { font-size: .88rem; color: #0f172a; }
.adb-msgs p { margin: 2px 0 0; font-size: .85rem; color: #64748b; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.adb-msgs small { font-size: .75rem; color: #94a3b8; white-space: nowrap; }
.adb-empty, .adb-err { margin: 0; padding: 22px 20px; font-size: .9rem; color: #94a3b8; }
.adb-err { color: #b42318; background: #fef3f2; border: 1px solid #fecdca; border-radius: 14px; }
.adb-quick { display: flex; flex-direction: column; padding: 8px; }
.adb-quick button { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 0; border-radius: 12px; background: none; font: inherit; font-size: .88rem; font-weight: 600; color: #334155; text-align: left; cursor: pointer; }
.adb-quick button:hover { background: #f8fafc; color: #0f172a; }
.adb-quick button > span { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: #f1f5f9; color: #475569; flex-shrink: 0; }
.adb-quick button:hover > span { background: #fdf2f8; color: #e93d8a; }
.adb-quick button > .ad-i:last-child { margin-left: auto; width: 15px; height: 15px; color: #cbd5e1; }

@media (max-width: 1100px) { .adb-cols { grid-template-columns: 1fr; } }
@media (max-width: 1023px) {
  .ad-side { position: fixed; top: 0; bottom: 0; left: -290px; width: 280px; max-width: 86vw; transition: left .25s ease, box-shadow .25s; }
  .ad-open .ad-side { left: 0; box-shadow: 0 20px 60px rgba(0, 0, 0, .35); }
  .ad-veil { display: block; position: fixed; inset: 0; z-index: 45; background: rgba(15, 23, 42, .45); opacity: 0; pointer-events: none; transition: opacity .25s; }
  .ad-open .ad-veil { opacity: 1; pointer-events: auto; }
  .ad-x, .ad-burger { display: grid; }
  .ad-head { padding: 12px 16px; gap: 12px; }
  .ad-title p, .ad-btn span { display: none; }
  .ad-btn { padding: 9px; }
  .ad-main { padding: 18px 16px 40px; }
}
@media (max-width: 640px) {
  .ad-role { display: none; }
  .ad-title h1 { font-size: 1.1rem; }
  .adb { gap: 20px; }
  .adb-hello { padding: 20px; }
  .adb-hello img { display: none; }
  .adb-hello h2 { font-size: 1.25rem; }
  .adb-stats { grid-template-columns: 1fr 1fr; gap: 10px; }
  .adb-s { padding: 14px; }
  .adb-s b, .adb-t b { font-size: 1.35rem; }
}
.ad-main .ad-dup { display: none; }
.ad-grp:first-child { margin-top: 10px; }

/* ============================================================
 * Administration : aucune animation, texte net et contrasté
 * ============================================================ */
.ad *, .ad *::before, .ad *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
.ad .animate-spin { animation: spin 1s linear infinite !important; }   /* seul indicateur conservé : « chargement en cours » */
.ad :hover, .ad :active { transform: none !important; }
.ad .-translate-y-1\/2:hover, .ad .-translate-y-1\/2:active { transform: translateY(-50%) !important; }
.ad [class*="backdrop-blur"], .ad .au-modal { -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
.ad [data-sa], .ad [data-sa-img] { opacity: 1 !important; transform: none !important; filter: none !important; clip-path: none !important; }
.sa-admin #sa-read, .sa-admin #sa-nav { display: none !important; }

/* Rendu du texte : pas d'interlettrage négatif, lissage natif (plus net sur fond clair) */
.ad { -webkit-font-smoothing: auto; -moz-osx-font-smoothing: auto; text-rendering: optimizeLegibility; letter-spacing: 0; font-feature-settings: "cv11"; }
.ad h1, .ad h2, .ad h3, .ad b, .ad strong { letter-spacing: -.005em; }
.ad-side { -webkit-font-smoothing: antialiased; }
/* Gris trop pâles : remontés pour la lisibilité */
.ad .text-gray-300 { color: #94a3b8 !important; }
.ad .text-gray-400 { color: #64748b !important; }
.ad .text-gray-500 { color: #475569 !important; }
.ad .text-gray-600 { color: #334155 !important; }
.ad .text-gray-700 { color: #1e293b !important; }
.ad .text-\[10px\] { font-size: 11px !important; }
.ad ::placeholder { color: #94a3b8; opacity: 1; }
.ad-grp p { color: #94a3b8; }
.ad-link { color: #e2e8f0; }
.ad-user small { color: #cbd5e1; }
.ad-title p { color: #475569; }
.adb-hello p { color: #e2e8f0; }
.adb-t > div span, .adb-s span { color: #1e293b; }
.adb-s small, .adb-msgs small { color: #64748b; }
.adb-msgs p { color: #475569; }
.adb-h { color: #475569; }.ad .adb-h { letter-spacing: .08em; }

/* ============================================================
 * Administration — Commandes (liste + fiche détaillée)
 * ============================================================ */
.co { display: flex; flex-direction: column; gap: 18px; }
.co-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.co-kpi { display: flex; flex-direction: column; padding: 16px 18px; background: #fff; border: 1px solid #e3e8ef; border-radius: 14px; border-left: 4px solid var(--k, #cbd5e1); }
.co-kpi span { font-size: .8rem; font-weight: 700; color: #334155; }
.co-kpi b { margin-top: 4px; font-family: var(--fa-head); font-size: 1.5rem; font-weight: 800; line-height: 1.15; color: #0f172a; }
.co-kpi small { margin-top: 2px; font-size: .78rem; color: #475569; }
.co-kpi.c-amber { --k: #f79009; } .co-kpi.c-blue { --k: #2e90fa; } .co-kpi.c-pink { --k: #e93d8a; } .co-kpi.c-green { --k: #12b76a; }

.co-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.co-tabs { display: flex; gap: 4px; padding: 4px; background: #e9edf3; border-radius: 12px; overflow-x: auto; max-width: 100%; scrollbar-width: none; }
.co-tabs::-webkit-scrollbar { display: none; }
.co-tabs button { display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px; border: 0; border-radius: 9px; background: none; font: inherit; font-size: .85rem; font-weight: 600; color: #334155; white-space: nowrap; cursor: pointer; }
.co-tabs button:hover { color: #0f172a; background: rgba(255, 255, 255, .6); }
.co-tabs button.on { background: #fff; color: #0f172a; box-shadow: 0 1px 2px rgba(15, 23, 42, .12); }
.co-tabs em { font-style: normal; font-size: .72rem; font-weight: 700; min-width: 20px; padding: 1px 6px; border-radius: 999px; background: #d5dbe4; color: #1e293b; text-align: center; }
.co-tabs button.on em { background: #e93d8a; color: #fff; }
.co-tools { display: flex; align-items: center; gap: 8px; flex: 1; justify-content: flex-end; min-width: 240px; }
.co-search { display: flex; align-items: center; gap: 8px; flex: 1; max-width: 340px; height: 40px; padding: 0 12px; background: #fff; border: 1px solid #d5dbe4; border-radius: 10px; color: #64748b; }
.co-search:focus-within { border-color: #e93d8a; box-shadow: 0 0 0 3px rgba(233, 61, 138, .15); }
.co-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font: inherit; font-size: .88rem; color: #0f172a; }
.co-ibtn { width: 40px; height: 40px; display: grid; place-items: center; flex-shrink: 0; border: 1px solid #d5dbe4; border-radius: 10px; background: #fff; color: #334155; cursor: pointer; }
.co-ibtn:hover { background: #f8fafc; }

.co-list { background: #fff; border: 1px solid #e3e8ef; border-radius: 14px; overflow: hidden; }
.co-row { width: 100%; display: grid; grid-template-columns: 96px minmax(0, 1.5fr) minmax(0, 1.1fr) 116px 130px 140px; align-items: center; gap: 14px; padding: 12px 18px; border: 0; border-top: 1px solid #edf0f4; background: #fff; font: inherit; color: #0f172a; text-align: left; cursor: pointer; }
.co-row:first-child { border-top: 0; }
.co-row:not(.co-head):hover { background: #f8fafc; }
.co-row.new { box-shadow: inset 3px 0 0 #f79009; }
.co-row.sel { background: #fdf2f8; box-shadow: inset 3px 0 0 #e93d8a; }
.co-head { cursor: default; padding-top: 10px; padding-bottom: 10px; background: #f8fafc; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #475569; }
.co-row .r { text-align: right; }
.co-id { font-weight: 800; font-size: .92rem; }
.co-id small, .co-cl small { display: block; margin-top: 1px; font-size: .78rem; font-weight: 500; color: #475569; }
.co-cl { min-width: 0; }
.co-cl b { display: block; font-size: .92rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.co-dt, .co-pay { font-size: .86rem; color: #334155; }
.co-tot { font-weight: 700; font-size: .92rem; white-space: nowrap; }
.co-pill { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font-size: .78rem; font-weight: 700; white-space: nowrap; background: var(--pb); color: var(--pc); }
.co-pill i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.co-pill.c-amber { --pb: #fffaeb; --pc: #b54708; } .co-pill.c-blue { --pb: #eff8ff; --pc: #175cd3; } .co-pill.c-violet { --pb: #f4f3ff; --pc: #5925dc; }
.co-pill.c-green { --pb: #ecfdf3; --pc: #067647; } .co-pill.c-red { --pb: #fef3f2; --pc: #b42318; } .co-pill.c-gray { --pb: #f2f4f7; --pc: #344054; }
.co-empty, .co-err { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 48px 20px; background: #fff; border: 1px dashed #d5dbe4; border-radius: 14px; text-align: center; color: #475569; font-size: .9rem; }
.co-empty .ad-i { width: 34px; height: 34px; color: #94a3b8; margin-bottom: 6px; }
.co-empty b { color: #0f172a; font-size: 1rem; }
.co-err { border-style: solid; border-color: #fecdca; background: #fef3f2; color: #b42318; }
.co-upd { margin: 10px 2px 0; font-size: .78rem; color: #475569; }
.co-listwrap > nav, .co-listwrap > div + div { margin-top: 14px; }

.co-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 0 14px; border: 1px solid #d5dbe4; border-radius: 10px; background: #fff; color: #1e293b; font: inherit; font-size: .86rem; font-weight: 600; text-decoration: none; white-space: nowrap; cursor: pointer; }
.co-btn:hover { background: #f8fafc; border-color: #c3cad5; }
.co-btn:disabled { opacity: .55; cursor: default; }
.co-btn .ad-i { width: 16px; height: 16px; }
.co-btn.pri { flex: 1; border-color: #e93d8a; background: #e93d8a; color: #fff; font-weight: 700; }
.co-btn.pri:hover { background: #d42a78; border-color: #d42a78; }
.co-btn.danger { color: #b42318; }
.co-btn.danger:hover { background: #fef3f2; border-color: #fecdca; }
.co-btn.wa { border-color: #12b76a; background: #ecfdf3; color: #067647; }
.co-btn.icon { width: 40px; padding: 0; }
.co-btn:focus-visible, .co-tabs button:focus-visible, .co-row:focus-visible, .co-x:focus-visible, .co-ibtn:focus-visible { outline: 2px solid #e93d8a; outline-offset: 2px; }

/* Fiche détaillée : panneau à droite */
.co-veil { position: fixed; inset: 0; z-index: 60; background: rgba(15, 23, 42, .32); }
.co-det { position: fixed; top: 0; right: 0; bottom: 0; z-index: 61; width: 460px; max-width: 100%; display: flex; flex-direction: column; overflow-y: auto; background: #fff; box-shadow: -18px 0 50px -20px rgba(15, 23, 42, .45); }
.co-dh { position: sticky; top: 0; z-index: 1; display: flex; align-items: flex-start; gap: 10px; padding: 18px 20px 14px; background: #fff; border-bottom: 1px solid #edf0f4; }
.co-dh > div { flex: 1; min-width: 0; }
.co-dh small { display: block; font-size: .78rem; font-weight: 600; color: #475569; }
.co-dh small::first-letter { text-transform: uppercase; }
.co-dh h2 { margin: 2px 0 0; font-family: var(--fa-head); font-size: 1.3rem; font-weight: 800; color: #0f172a; }
.co-dh .co-pill { margin-top: 4px; }
.co-x { width: 34px; height: 34px; display: grid; place-items: center; flex-shrink: 0; border: 0; border-radius: 9px; background: #f2f4f7; color: #334155; cursor: pointer; }
.co-x:hover { background: #e4e7ec; }
.co-dempty { position: relative; padding: 70px 20px; text-align: center; color: #475569; }
.co-dempty .co-x { position: absolute; top: 16px; right: 16px; }
.co-steps { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; padding: 18px 20px 6px; list-style: none; }
.co-steps li { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; }
.co-steps li::before { content: ""; position: absolute; top: 13px; right: 50%; width: 100%; height: 2px; background: #e3e8ef; z-index: 0; }
.co-steps li:first-child::before { display: none; }
.co-steps li.done::before, .co-steps li.cur::before { background: #e93d8a; }
.co-steps span { position: relative; z-index: 1; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; border: 2px solid #d5dbe4; background: #fff; font-size: .78rem; font-weight: 700; color: #475569; }
.co-steps .done span { border-color: #e93d8a; background: #e93d8a; color: #fff; }
.co-steps .done span .ad-i { width: 14px; height: 14px; stroke-width: 2.6; }
.co-steps .cur span { border-color: #e93d8a; color: #e93d8a; box-shadow: 0 0 0 4px #fce7f3; }
.co-steps em { font-style: normal; font-size: .74rem; font-weight: 600; color: #475569; line-height: 1.25; }
.co-steps .cur em { color: #0f172a; font-weight: 700; }
.co-acts { display: flex; gap: 8px; padding: 14px 20px 16px; border-bottom: 1px solid #edf0f4; }
.co-done { display: flex; align-items: center; gap: 8px; flex: 1; margin: 0; padding: 10px 12px; border-radius: 10px; background: #ecfdf3; color: #067647; font-size: .88rem; font-weight: 600; }
.co-done .ad-i { width: 16px; height: 16px; }
.co-cancel { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 16px 20px; padding: 12px 14px; border-radius: 10px; background: #fef3f2; color: #b42318; font-size: .88rem; font-weight: 600; }
.co-sec { padding: 16px 20px; border-bottom: 1px solid #edf0f4; }
.co-sec h3 { margin: 0 0 8px; font-size: .72rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: #475569; }
.co-sec p { margin: 0; font-size: .9rem; color: #1e293b; line-height: 1.5; }
.co-sec .co-big { font-size: 1.02rem; font-weight: 700; color: #0f172a; }
.co-sec .co-sub { margin-top: 4px; font-size: .84rem; color: #475569; }
.co-sub b { color: #1e293b; }
.co-contact { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.co-contact .co-btn { flex: 1; }
.co-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; font-size: .86rem; font-weight: 600; color: #175cd3; text-decoration: none; }
.co-link:hover { text-decoration: underline; }
.co-link .ad-i { width: 16px; height: 16px; }
.co-note { padding: 10px 12px; border-radius: 10px; background: #fffaeb; color: #7a2e0e !important; }
.co-items { margin: 0; padding: 0; list-style: none; }
.co-items li { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid #f1f4f7; }
.co-items li:first-child { border-top: 0; padding-top: 2px; }
.co-items b { display: block; font-size: .88rem; font-weight: 600; color: #0f172a; line-height: 1.35; }
.co-items small { display: block; margin-top: 2px; font-size: .8rem; color: #475569; }
.co-items li > span { font-size: .88rem; font-weight: 700; white-space: nowrap; color: #0f172a; }
.co-total { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; padding: 12px 14px; border-radius: 10px; background: #f8fafc; }
.co-total span { font-size: .86rem; font-weight: 600; color: #334155; }
.co-total b { font-family: var(--fa-head); font-size: 1.15rem; font-weight: 800; color: #0f172a; }
.co-foot { display: flex; align-items: center; gap: 8px; margin-top: auto; padding: 16px 20px; background: #f8fafc; border-top: 1px solid #edf0f4; position: sticky; bottom: 0; }
.co-sel { display: flex; align-items: center; gap: 8px; flex: 1; justify-content: flex-end; font-size: .8rem; font-weight: 600; color: #475569; }
.co-sel select { height: 40px; padding: 0 10px; border: 1px solid #d5dbe4; border-radius: 10px; background: #fff; font: inherit; font-size: .86rem; font-weight: 600; color: #0f172a; cursor: pointer; }
.co-toast { position: fixed; left: 50%; bottom: 24px; z-index: 70; transform: translateX(-50%); padding: 11px 18px; border-radius: 10px; background: #0f172a; color: #fff; font-size: .88rem; font-weight: 600; box-shadow: 0 12px 30px -10px rgba(15, 23, 42, .5); max-width: calc(100% - 32px); }
.co-toast.bad { background: #b42318; }

@media (max-width: 1180px) {
  .co-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .co-row { grid-template-columns: 90px minmax(0, 1.4fr) 120px 130px; }
  .co-row .co-dt, .co-row .co-pay { display: none; }
}
@media (max-width: 700px) {
  .co-tools { min-width: 0; width: 100%; }
  .co-search { max-width: none; }
  .co-head { display: none; }
  .co-row { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "cl tot" "id st"; gap: 6px 12px; padding: 14px 16px; }
  .co-row .co-cl { grid-area: cl; } .co-row .co-tot { grid-area: tot; } .co-row .co-id { grid-area: id; font-size: .82rem; font-weight: 700; color: #475569; } .co-row .co-st { grid-area: st; justify-self: end; }
  .co-id small { display: inline; margin-left: 6px; }
  .co-kpi { padding: 12px 14px; }
  .co-kpi b { font-size: 1.2rem; }
  .co-det { width: 100%; }
  .co-foot { flex-wrap: wrap; }
  .co-sel { order: -1; width: 100%; justify-content: space-between; }
  .co-sel select { flex: 1; }
  .co-foot > .co-btn:not(.icon) { flex: 1; }
}.co-head > span { font-size: inherit !important; color: inherit !important; font-weight: inherit; }
@media (max-width: 700px) { .co-toast { bottom: auto; top: 14px; } }

/* ============================================================
 * Administration — Commandes (cartes + fenêtre de détail)
 * ============================================================ */
.cv { display: flex; flex-direction: column; gap: 16px; }
.cv .c-amber { --pb: #fffaeb; --pc: #b54708; --pd: #fedf89; }
.cv .c-blue { --pb: #eff8ff; --pc: #175cd3; --pd: #b2ddff; }
.cv .c-violet { --pb: #f4f3ff; --pc: #5925dc; --pd: #d9d6fe; }
.cv .c-green { --pb: #ecfdf3; --pc: #067647; --pd: #abefc6; }
.cv .c-red { --pb: #fef3f2; --pc: #b42318; --pd: #fecdca; }
.cv .c-gray { --pb: #f2f4f7; --pc: #344054; --pd: #e4e7ec; }
.cv-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.cv-top > p { margin: 0; font-size: .92rem; color: #475569; }
.cv-top > p b { font-family: var(--fa-head); font-size: 1.25rem; font-weight: 800; color: #0f172a; margin-right: 2px; }
.cv-tools { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.cv-tools .co-search { width: 260px; flex: none; }
.cv-wait-chip { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 14px; border-radius: 999px; background: #fffaeb; border: 1px solid #fedf89; color: #b54708; font-size: .86rem; font-weight: 700; }
.cv-wait-chip .ad-i { width: 16px; height: 16px; }
.cv-tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.cv-tabs button { display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 14px; border: 1px solid #e3e8ef; border-radius: 999px; background: #fff; font: inherit; font-size: .86rem; font-weight: 600; color: #334155; cursor: pointer; }
.cv-tabs button:hover { border-color: #f9a8d4; color: #be185d; }
.cv-tabs button.on { border-color: #e93d8a; background: #e93d8a; color: #fff; }
.cv-tabs em { font-style: normal; font-size: .72rem; font-weight: 700; min-width: 20px; padding: 1px 6px; border-radius: 999px; background: #f1f5f9; color: #334155; text-align: center; }
.cv-tabs button.on em { background: #fff; color: #be185d; }

.cv-list { display: flex; flex-direction: column; gap: 10px; }
.cv-card { width: 100%; display: grid; grid-template-columns: 48px minmax(0, 1fr) auto 20px; align-items: center; gap: 16px; padding: 16px 18px; border: 1px solid #e3e8ef; border-radius: 16px; background: #fff; font: inherit; color: inherit; text-align: left; cursor: pointer; box-shadow: 0 1px 2px rgba(15, 23, 42, .04); }
.cv-card:hover { border-color: #f9a8d4; box-shadow: 0 6px 18px -10px rgba(233, 61, 138, .35); }
.cv-card.new { border-color: #fedf89; background: linear-gradient(90deg, #fffcf2, #fff 40%); }
.cv-card.new:hover { border-color: #fdb022; }
.cv-ghost { height: 82px; background: #f1f5f9; border-color: #f1f5f9; box-shadow: none; cursor: default; }
.cv-ic { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 14px; background: var(--pb); color: var(--pc); }
.cv-ic .ad-i { width: 22px; height: 22px; }
.cv-main { min-width: 0; }
.cv-title { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.cv-title b { font-size: 1rem; font-weight: 700; color: #0f172a; }
.cv-pill { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: 999px; background: var(--pb); color: var(--pc); font-size: .76rem; font-weight: 700; white-space: nowrap; }
.cv-pill .ad-i { width: 13px; height: 13px; stroke-width: 2.2; }
.cv-meta { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-top: 6px; font-size: .86rem; color: #475569; }
.cv-meta span { display: inline-flex; align-items: center; gap: 6px; }
.cv-meta .ad-i { width: 15px; height: 15px; color: #64748b; }
.cv-amt { text-align: right; }
.cv-amt b { display: block; font-family: var(--fa-head); font-size: 1.08rem; font-weight: 800; color: #d42a78; white-space: nowrap; }
.cv-amt small { display: block; margin-top: 2px; font-size: .78rem; color: #475569; }
.cv-chev { color: #94a3b8; display: grid; place-items: center; }
.cv-card:hover .cv-chev { color: #e93d8a; }

/* Fenêtre de détail */
.cv-modal { position: fixed; inset: 0; z-index: 60; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(15, 23, 42, .5); }
.cv-sheet { width: 100%; max-width: 620px; max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); display: flex; flex-direction: column; overflow: hidden; border-radius: 20px; background: #fff; box-shadow: 0 30px 70px -20px rgba(15, 23, 42, .5); }
.cv-head { display: flex; align-items: flex-start; gap: 12px; padding: 20px 22px; background: linear-gradient(120deg, #ec4f97, #d42a78); color: #fff; flex-shrink: 0; }
.cv-head > div { flex: 1; min-width: 0; }
.cv-head small { display: block; font-size: .8rem; font-weight: 600; color: rgba(255, 255, 255, .92); }
.cv-head small::first-letter { text-transform: uppercase; }
.cv-head h2 { margin: 3px 0 0; font-family: var(--fa-head); font-size: 1.4rem; font-weight: 800; color: #fff; }
.cv-head p { margin: 1px 0 0; font-size: .95rem; font-weight: 500; color: #fff; }
.cv-x { width: 36px; height: 36px; display: grid; place-items: center; flex-shrink: 0; border: 0; border-radius: 10px; background: rgba(255, 255, 255, .18); color: #fff; cursor: pointer; }
.cv-x:hover { background: rgba(255, 255, 255, .3); }
.cv-wait { padding: 60px 20px; text-align: center; color: #475569; }
.cv-body { overflow-y: auto; padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 18px; }
.cv-now { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--pd); border-radius: 14px; background: var(--pb); }
.cv-now-ic { width: 40px; height: 40px; display: grid; place-items: center; flex-shrink: 0; border-radius: 50%; background: #fff; color: var(--pc); }
.cv-now > div { flex: 1; min-width: 0; }
.cv-now small { display: block; font-size: .74rem; font-weight: 600; color: #475569; }
.cv-now b { display: block; font-size: 1rem; font-weight: 800; color: var(--pc); }
.cv-next { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 14px; border: 0; border-radius: 10px; background: #e93d8a; color: #fff; font: inherit; font-size: .86rem; font-weight: 700; white-space: nowrap; cursor: pointer; }
.cv-next:hover { background: #d42a78; }
.cv-next:disabled { opacity: .6; cursor: default; }
.cv-next .ad-i { width: 16px; height: 16px; }
.cv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cv-tile { display: flex; flex-direction: column; gap: 3px; padding: 12px 14px; border-radius: 12px; background: #f8fafc; border: 1px solid #eef1f5; min-width: 0; }
.cv-tile.wide { grid-column: 1 / -1; }
.cv-tile small { display: flex; align-items: center; gap: 6px; font-size: .74rem; font-weight: 600; color: #475569; }
.cv-tile small .ad-i { width: 14px; height: 14px; }
.cv-tile b { font-size: .94rem; font-weight: 700; color: #0f172a; overflow-wrap: anywhere; }
.cv-tile > span { font-size: .82rem; color: #475569; overflow-wrap: anywhere; }
.cv-tile.tot { background: #fdf2f8; border-color: #fbcfe8; }
.cv-tile.tot b { font-family: var(--fa-head); font-size: 1.2rem; font-weight: 800; color: #d42a78; }
.cv-mini { display: flex; gap: 6px; margin-top: 4px; }
.cv-mini a { padding: 3px 10px; border-radius: 999px; background: #fff; border: 1px solid #e3e8ef; font-size: .76rem; font-weight: 700; color: #334155; text-decoration: none; }
.cv-mini a:hover { border-color: #e93d8a; color: #be185d; }
.cv-maplink { display: inline-flex; align-items: center; gap: 2px; margin-top: 4px; font-size: .84rem; font-weight: 600; color: #175cd3; text-decoration: none; }
.cv-maplink:hover { text-decoration: underline; }
.cv-maplink .ad-i { width: 14px; height: 14px; }
.cv-note { padding: 12px 14px; border-radius: 12px; background: #fffaeb; border: 1px solid #fedf89; }
.cv-note small { display: flex; align-items: center; gap: 6px; font-size: .74rem; font-weight: 700; color: #b54708; }
.cv-note small .ad-i { width: 14px; height: 14px; }
.cv-note p { margin: 4px 0 0; font-size: .9rem; color: #1e293b; line-height: 1.5; }
.cv-sec h3 { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; font-size: .8rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: #334155; }
.cv-sec h3 em { font-style: normal; padding: 1px 8px; border-radius: 999px; background: #f1f5f9; font-size: .72rem; color: #334155; letter-spacing: 0; }
.cv-items { margin: 0; padding: 0; list-style: none; border: 1px solid #eef1f5; border-radius: 12px; overflow: hidden; }
.cv-items li { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-top: 1px solid #eef1f5; }
.cv-items li:first-child { border-top: 0; }
.cv-qty { min-width: 34px; height: 28px; display: grid; place-items: center; border-radius: 8px; background: #fdf2f8; color: #be185d; font-size: .82rem; font-weight: 800; }
.cv-items li > div { flex: 1; min-width: 0; }
.cv-items b { display: block; font-size: .9rem; font-weight: 600; color: #0f172a; line-height: 1.35; }
.cv-items small { display: block; font-size: .78rem; color: #475569; }
.cv-items strong { font-size: .9rem; font-weight: 700; color: #0f172a; white-space: nowrap; }
.cv-empty-s { margin: 0; font-size: .88rem; color: #475569; }
.cv-stgrid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.cv-stgrid button { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 4px 10px; border: 1.5px solid #e3e8ef; border-radius: 12px; background: #fff; font: inherit; font-size: .76rem; font-weight: 700; color: #334155; text-align: center; line-height: 1.2; cursor: pointer; }
.cv-stgrid button .ad-i { width: 20px; height: 20px; color: var(--pc); }
.cv-stgrid button:hover:not(:disabled) { border-color: var(--pc); background: var(--pb); }
.cv-stgrid button.on { border-color: var(--pc); background: var(--pb); color: var(--pc); cursor: default; }
.cv-stgrid button:disabled:not(.on) { opacity: .5; cursor: default; }
.cv-stgrid em { font-style: normal; font-size: .66rem; font-weight: 700; opacity: .85; }
.cv-actions { display: flex; flex-direction: column; gap: 8px; padding-top: 4px; }
.cv-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; padding: 0 16px; border: 1px solid #d5dbe4; border-radius: 12px; background: #fff; color: #1e293b; font: inherit; font-size: .9rem; font-weight: 700; text-decoration: none; cursor: pointer; }
.cv-btn:hover { background: #f8fafc; }
.cv-btn .ad-i { width: 18px; height: 18px; }
.cv-btn.wa { border-color: #15803d; background: #15803d; color: #fff; }
.cv-btn.wa:hover { background: #166534; }
.cv-btn.blue { border-color: #2563eb; background: #2563eb; color: #fff; }
.cv-btn.blue:hover { background: #1d4ed8; }
.cv-btn.danger { color: #b42318; }
.cv-btn.danger:hover { background: #fef3f2; border-color: #fecdca; }
.cv-btn:disabled { opacity: .55; cursor: default; }
.cv-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.cv-card:focus-visible, .cv-tabs button:focus-visible, .cv-btn:focus-visible, .cv-next:focus-visible, .cv-x:focus-visible, .cv-stgrid button:focus-visible, .cv-mini a:focus-visible { outline: 2px solid #e93d8a; outline-offset: 2px; }

@media (max-width: 760px) {
  .cv-tools { width: 100%; }
  .cv-tools .co-search { flex: 1; width: auto; }
  .cv-tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 -16px; padding: 0 16px 2px; }
  .cv-tabs::-webkit-scrollbar { display: none; }
  .cv-tabs button { flex-shrink: 0; }
  .cv-card { grid-template-columns: 40px minmax(0, 1fr) auto; gap: 12px; padding: 14px; align-items: start; }
  .cv-ic { width: 40px; height: 40px; border-radius: 12px; }
  .cv-ic .ad-i { width: 19px; height: 19px; }
  .cv-chev { display: none; }
  .cv-title { gap: 6px; }
  .cv-title b { font-size: .94rem; width: 100%; }
  .cv-meta { flex-direction: column; gap: 3px; font-size: .82rem; }
  .cv-modal { padding: 0; align-items: flex-end; }
  .cv-sheet { max-width: none; max-height: 94vh; max-height: 94dvh; border-radius: 20px 20px 0 0; }
  .cv-head { padding: 18px 16px; }
  .cv-body { padding: 16px; }
  .cv-now { flex-wrap: wrap; }
  .cv-next { width: 100%; justify-content: center; }
  .cv-grid { grid-template-columns: 1fr; }
  .cv-stgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
/* ============================================================
 * Administration — grandes listes : filtres, pagination, densité
 * ============================================================ */
.fl-bar { display: flex; align-items: flex-end; gap: 10px; flex-wrap: wrap; }
.fl-sel { display: flex; flex-direction: column; gap: 4px; min-width: 150px; }
.fl-sel > span { font-size: .72rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: #475569; }
.fl-sel select { height: 40px; padding: 0 32px 0 12px; border: 1px solid #d5dbe4; border-radius: 10px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23475569' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center; -webkit-appearance: none; appearance: none; font: inherit; font-size: .88rem; font-weight: 600; color: #0f172a; cursor: pointer; }
.fl-sel select:focus, .pg-size:focus, .pg-jump input:focus { outline: 0; border-color: #e93d8a; box-shadow: 0 0 0 3px rgba(233, 61, 138, .15); }
.cv-tools .fl-sel { flex-direction: row; align-items: center; min-width: 0; }
.cv-tools .fl-sel > span { display: none; }
.fl-search { display: flex; align-items: center; gap: 8px; flex: 1; min-width: 220px; max-width: 520px; height: 42px; padding: 0 14px; background: #fff; border: 1px solid #d5dbe4; border-radius: 10px; color: #64748b; }
.fl-search:focus-within { border-color: #e93d8a; box-shadow: 0 0 0 3px rgba(233, 61, 138, .15); }
.fl-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font: inherit; font-size: .9rem; color: #0f172a; }
.fl-reset { height: 40px; padding: 0 12px; border: 0; border-radius: 10px; background: none; color: #be185d; font: inherit; font-size: .86rem; font-weight: 700; cursor: pointer; }
.fl-reset:hover { background: #fdf2f8; }
.fl-count { margin-left: auto; align-self: center; font-size: .86rem; font-weight: 600; color: #334155; white-space: nowrap; }
.fl-count.busy { color: #94a3b8; }
.fa-busy { opacity: .55; pointer-events: none; }
.fa-empty-td { padding: 40px 16px !important; text-align: center; color: #475569; font-size: .9rem; }

/* Pagination */
.pg { display: flex; align-items: center; justify-content: space-between; gap: 12px 16px; flex-wrap: wrap; margin-top: 16px; padding: 12px 14px; background: #fff; border: 1px solid #e3e8ef; border-radius: 12px; }
.pg-info { font-size: .86rem; color: #475569; }
.pg-info b { color: #0f172a; font-weight: 700; }
.pg-nav { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.pg-nav button { min-width: 36px; height: 36px; padding: 0 8px; border: 1px solid transparent; border-radius: 9px; background: none; font: inherit; font-size: .88rem; font-weight: 600; color: #334155; cursor: pointer; }
.pg-nav button:hover:not(:disabled) { background: #f1f5f9; }
.pg-nav button.on { background: #e93d8a; color: #fff; cursor: default; }
.pg-nav button:disabled { color: #cbd5e1; cursor: default; }
.pg-nav button:first-child, .pg-nav button:last-child { font-size: 1.15rem; border-color: #e3e8ef; }
.pg-gap { min-width: 24px; text-align: center; color: #94a3b8; }
.pg-tools { display: flex; align-items: center; gap: 10px; }
.pg-jump label { display: flex; align-items: center; gap: 6px; font-size: .82rem; font-weight: 600; color: #475569; white-space: nowrap; }
.pg-jump input { width: 64px; height: 36px; padding: 0 8px; border: 1px solid #d5dbe4; border-radius: 9px; font: inherit; font-size: .88rem; text-align: center; }
.pg-size { height: 36px; padding: 0 10px; border: 1px solid #d5dbe4; border-radius: 9px; background: #fff; font: inherit; font-size: .84rem; font-weight: 600; color: #0f172a; cursor: pointer; }
.pg-nav button:focus-visible, .fl-reset:focus-visible { outline: 2px solid #e93d8a; outline-offset: 2px; }
.px-4.pb-4 > .pg { margin-top: 12px; border: 0; padding: 4px 0 0; }

/* Tableau Produits plus dense : plus de lignes visibles à l'écran */
.pr-table th { padding-top: 10px !important; padding-bottom: 10px !important; }
.pr-table td { padding-top: 8px !important; padding-bottom: 8px !important; }
.pr-table td img, .pr-table td > div.w-12 { width: 40px !important; height: 40px !important; border-radius: 10px !important; }
.pr-table tbody tr:nth-child(even) { background: #fbfcfd; }

@media (max-width: 760px) {
  .fl-sel { flex: 1 1 calc(50% - 10px); min-width: 0; }
  .fl-search { min-width: 0; max-width: none; flex-basis: 100%; }
  .fl-count { margin-left: 0; }
  .pg { justify-content: center; }
  .pg-info { width: 100%; text-align: center; }
}
/* ============================================================
 * Administration — Ressources humaines
 * ============================================================ */
.rh { display: flex; flex-direction: column; gap: 18px; }
.rh .c-pink { --pb: #fdf2f8; --pc: #be185d; } .rh .c-blue { --pb: #eff8ff; --pc: #175cd3; } .rh .c-amber { --pb: #fffaeb; --pc: #b54708; }
.rh .c-violet { --pb: #f4f3ff; --pc: #5925dc; } .rh .c-green { --pb: #ecfdf3; --pc: #067647; } .rh .c-red { --pb: #fef3f2; --pc: #b42318; } .rh .c-gray { --pb: #f2f4f7; --pc: #344054; }
.rh-tabs { display: flex; gap: 4px; padding: 4px; background: #e9edf3; border-radius: 14px; overflow-x: auto; scrollbar-width: none; }
.rh-tabs::-webkit-scrollbar { display: none; }
.rh-tabs button { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: max-content; height: 42px; padding: 0 16px; border: 0; border-radius: 11px; background: none; font: inherit; font-size: .9rem; font-weight: 600; color: #334155; cursor: pointer; }
.rh-tabs button:hover { color: #0f172a; background: rgba(255, 255, 255, .55); }
.rh-tabs button.on { background: #fff; color: #be185d; box-shadow: 0 1px 3px rgba(15, 23, 42, .12); }
.rh-tabs .ad-i { width: 17px; height: 17px; }
.rh-btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; height: 40px; padding: 0 14px; border: 1px solid #d5dbe4; border-radius: 10px; background: #fff; color: #1e293b; font: inherit; font-size: .86rem; font-weight: 700; white-space: nowrap; cursor: pointer; }
.rh-btn:hover:not(:disabled) { background: #f8fafc; }
.rh-btn:disabled { opacity: .55; cursor: default; }
.rh-btn .ad-i { width: 16px; height: 16px; }
.rh-btn.pri { border-color: #e93d8a; background: #e93d8a; color: #fff; }
.rh-btn.pri:hover:not(:disabled) { background: #d42a78; }
.rh-btn.ok { border-color: #abefc6; background: #ecfdf3; color: #067647; }
.rh-btn.ok:hover:not(:disabled) { background: #dcfae6; }
.rh-btn.danger { color: #b42318; }
.rh-btn.danger:hover:not(:disabled) { background: #fef3f2; border-color: #fecdca; }
.rh-btn.warn { border-color: #f79009; background: #f79009; color: #fff; }
.rh-link { padding: 0; border: 0; background: none; color: #be185d; font: inherit; font-weight: 700; cursor: pointer; }
.rh-link:hover { text-decoration: underline; }
.rh-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.rh-sp { flex: 1; }
.rh-av { width: 42px; height: 42px; flex-shrink: 0; display: grid; place-items: center; border-radius: 50%; color: #fff; font-size: .88rem; font-weight: 800; letter-spacing: .02em; }
.rh-av.sm { width: 34px; height: 34px; font-size: .74rem; }
.rh-av.xs { width: 24px; height: 24px; font-size: .62rem; }
.rh-pill { display: inline-flex; align-items: center; padding: 2px 9px; border-radius: 999px; background: var(--pb); color: var(--pc); font-size: .74rem; font-weight: 700; white-space: nowrap; }
.rh-chip { display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px; border-radius: 999px; background: color-mix(in srgb, var(--c) 12%, #fff); color: var(--c); font-size: .76rem; font-weight: 700; white-space: nowrap; }
.rh-empty { margin: 0; padding: 18px; color: #475569; font-size: .88rem; }
.rh-info, .rh-conf { display: flex; align-items: flex-start; gap: 8px; padding: 10px 12px; border-radius: 10px; font-size: .86rem; }
.rh-info { background: #fdf2f8; color: #9d174d; }
.rh-conf { background: #fffaeb; border: 1px solid #fedf89; color: #93370d; }
.rh-info .ad-i, .rh-conf .ad-i { width: 17px; height: 17px; flex-shrink: 0; margin-top: 1px; }

/* Vue d'ensemble */
.rh-hero { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 56px 24px; background: #fff; border: 1px dashed #d5dbe4; border-radius: 18px; text-align: center; }
.rh-hero-ic { width: 64px; height: 64px; display: grid; place-items: center; border-radius: 20px; background: #fdf2f8; color: #e93d8a; }
.rh-hero-ic .ad-i { width: 30px; height: 30px; }
.rh-hero h2 { margin: 6px 0 0; font-family: var(--fa-head); font-size: 1.35rem; font-weight: 800; color: #0f172a; }
.rh-hero p { max-width: 520px; margin: 0 0 8px; color: #475569; }
.rh-over { display: flex; flex-direction: column; gap: 18px; }
.rh-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.rh-kpi { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 12px; align-items: center; padding: 16px; border: 1px solid #e3e8ef; border-radius: 14px; background: #fff; font: inherit; text-align: left; cursor: pointer; }
.rh-kpi:hover { border-color: #cbd5e1; }
.rh-kpi > span { grid-row: span 2; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; background: var(--pb); color: var(--pc); }
.rh-kpi b { font-family: var(--fa-head); font-size: 1.5rem; font-weight: 800; line-height: 1.1; color: #0f172a; }
.rh-kpi small { font-size: .82rem; font-weight: 600; color: #475569; }
.rh-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; align-items: start; }
.rh-card { background: #fff; border: 1px solid #e3e8ef; border-radius: 16px; overflow: hidden; }
.rh-ch { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 14px 16px; border-bottom: 1px solid #eef1f5; }
.rh-ch h3 { margin: 0; font-size: .98rem; font-weight: 700; color: #0f172a; }
.rh-ch button { display: inline-flex; align-items: center; gap: 4px; padding: 0; border: 0; background: none; color: #be185d; font: inherit; font-size: .82rem; font-weight: 700; cursor: pointer; }
.rh-ch .ad-i { width: 14px; height: 14px; }
.rh-sub { margin: 0; padding: 10px 16px 0; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #475569; }
.rh-ul { margin: 0; padding: 4px 0; list-style: none; }
.rh-ul li { display: flex; align-items: center; gap: 10px; padding: 9px 16px; }
.rh-ul li > div { flex: 1; min-width: 0; }
.rh-ul b { display: block; font-size: .88rem; font-weight: 600; color: #0f172a; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rh-ul small { display: block; font-size: .78rem; color: #475569; }
.rh-days { font-size: .8rem; font-weight: 700; color: #334155; white-space: nowrap; }
.rh-ai { width: 34px; height: 34px; flex-shrink: 0; display: grid; place-items: center; border-radius: 10px; background: #fffaeb; color: #b54708; }
.rh-ai .ad-i { width: 17px; height: 17px; }
.rh-ai.cake { background: #fdf2f8; color: #be185d; }
.rh-alert.late .rh-ai { background: #fef3f2; color: #b42318; }

/* Employés */
.rh-emps, .rh-leaves, .rh-plan { display: flex; flex-direction: column; gap: 14px; }
.rh-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 12px; }
.rh-emp { display: flex; flex-direction: column; gap: 10px; padding: 16px; border: 1px solid #e3e8ef; border-radius: 16px; background: #fff; font: inherit; color: inherit; text-align: left; cursor: pointer; }
.rh-emp:hover { border-color: #f9a8d4; box-shadow: 0 6px 18px -10px rgba(233, 61, 138, .35); }
.rh-emp-top { display: flex; align-items: center; gap: 12px; }
.rh-emp-top > div { flex: 1; min-width: 0; }
.rh-emp-top b { display: block; font-size: .98rem; font-weight: 700; color: #0f172a; }
.rh-emp-top small { display: block; font-size: .82rem; color: #475569; }
.rh-emp-meta { display: flex; flex-direction: column; gap: 4px; font-size: .82rem; color: #334155; }
.rh-emp-meta span { display: flex; align-items: center; gap: 6px; }
.rh-emp-meta .ad-i { width: 14px; height: 14px; color: #64748b; }
.rh-emp-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; padding-top: 10px; border-top: 1px solid #f1f4f7; }
.rh-bal { font-size: .8rem; color: #475569; }
.rh-bal b { color: #067647; font-size: .9rem; }
.rh-warn { display: inline-flex; align-items: center; gap: 4px; font-size: .76rem; font-weight: 700; color: #b54708; }
.rh-warn .ad-i { width: 14px; height: 14px; }

/* Fenêtres */
.rh-modal { position: fixed; inset: 0; z-index: 60; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(15, 23, 42, .5); }
.rh-sheet { width: 100%; max-width: 560px; max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); display: flex; flex-direction: column; overflow: hidden; border-radius: 18px; background: #fff; box-shadow: 0 30px 70px -20px rgba(15, 23, 42, .5); }
.rh-sheet.wide { max-width: 780px; }
.rh-mh { display: flex; align-items: flex-start; gap: 12px; padding: 18px 20px; border-bottom: 1px solid #eef1f5; }
.rh-mh > div { flex: 1; min-width: 0; }
.rh-mh h3 { margin: 0; font-family: var(--fa-head); font-size: 1.15rem; font-weight: 800; color: #0f172a; }
.rh-mh p { margin: 2px 0 0; font-size: .84rem; color: #475569; }
.rh-mh p::first-letter { text-transform: uppercase; }
.rh-x { width: 34px; height: 34px; display: grid; place-items: center; flex-shrink: 0; border: 0; border-radius: 9px; background: #f2f4f7; color: #334155; cursor: pointer; }
.rh-x:hover { background: #e4e7ec; }
.rh-mb { overflow-y: auto; padding: 18px 20px; }
.rh-mf { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 14px 20px; background: #f8fafc; border-top: 1px solid #eef1f5; }
.rh-form { display: flex; flex-direction: column; gap: 14px; }
.rh-form fieldset { margin: 0; padding: 0; border: 0; }
.rh-form legend { padding: 0; margin-bottom: 10px; font-size: .74rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: #be185d; }
.rh-g2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.rh-g3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.rh-f { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.rh-f.span2 { grid-column: 1 / -1; }
.rh-f > span { font-size: .8rem; font-weight: 700; color: #334155; }
.rh-f small { font-size: .76rem; color: #475569; }
.rh-f input, .rh-f select, .rh-f textarea { width: 100%; min-height: 42px; padding: 9px 12px; border: 1px solid #d5dbe4; border-radius: 10px; background: #fff; font: inherit; font-size: .9rem; color: #0f172a; }
.rh-f textarea { resize: vertical; }
.rh-f input:focus, .rh-f select:focus, .rh-f textarea:focus { outline: 0; border-color: #e93d8a; box-shadow: 0 0 0 3px rgba(233, 61, 138, .15); }
.rh-f select:disabled { background: #f8fafc; color: #475569; }
.rh-colors { display: flex; gap: 8px; flex-wrap: wrap; min-height: 42px; align-items: center; }
.rh-colors button { width: 28px; height: 28px; border: 3px solid #fff; border-radius: 50%; box-shadow: 0 0 0 1px #d5dbe4; cursor: pointer; }
.rh-colors button.on { box-shadow: 0 0 0 2px #0f172a; }
.rh-bal-box { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.rh-bal-box > div { padding: 10px 12px; border-radius: 10px; background: #f8fafc; border: 1px solid #eef1f5; }
.rh-bal-box small { display: block; font-size: .74rem; font-weight: 600; color: #475569; }
.rh-bal-box b { display: block; margin-top: 2px; font-size: 1rem; font-weight: 800; color: #0f172a; }
.rh-bal-box > div.neg b { color: #b42318; }
.rh-types { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.rh-types button { display: grid; grid-template-columns: auto 1fr; column-gap: 8px; align-items: center; padding: 10px 12px; border: 1.5px solid #e3e8ef; border-radius: 12px; background: #fff; font: inherit; text-align: left; cursor: pointer; }
.rh-types button i { grid-row: span 2; width: 10px; height: 10px; border-radius: 50%; background: var(--c); }
.rh-types b { font-size: .84rem; font-weight: 700; color: #0f172a; }
.rh-types small { font-size: .74rem; color: #475569; }
.rh-types button.on { border-color: var(--c); background: color-mix(in srgb, var(--c) 8%, #fff); }
.rh-checks { display: flex; flex-wrap: wrap; gap: 8px; }
.rh-checks label { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; border: 1.5px solid #e3e8ef; border-radius: 999px; font-size: .84rem; font-weight: 600; color: #334155; cursor: pointer; }
.rh-checks label.on { border-color: #e93d8a; background: #fdf2f8; color: #9d174d; }
.rh-checks input { position: absolute; opacity: 0; pointer-events: none; }
.rh-checks label:focus-within { outline: 2px solid #e93d8a; outline-offset: 2px; }
.rh-prev { display: flex; flex-direction: column; margin: 0; padding: 0; list-style: none; max-height: 260px; overflow-y: auto; border: 1px solid #eef1f5; border-radius: 12px; }
.rh-prev li { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 8px 12px; border-top: 1px solid #f1f4f7; }
.rh-prev li:first-child { border-top: 0; }
.rh-prev b { min-width: 110px; font-size: .84rem; color: #0f172a; }
.rh-prev b::first-letter { text-transform: uppercase; }
.rh-prev em { font-style: normal; font-size: .82rem; font-weight: 600; color: #b42318; }

/* Planning */
.rh-week { display: flex; align-items: center; gap: 10px; }
.rh-week > div { display: flex; flex-direction: column; align-items: center; min-width: 250px; }
.rh-week b { font-size: .98rem; color: #0f172a; }
.rh-week .rh-link { font-size: .8rem; }
.rh-acts { display: flex; gap: 8px; flex-wrap: wrap; }
.rh-legend { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: .78rem; font-weight: 600; color: #334155; }
.rh-legend span { display: inline-flex; align-items: center; gap: 6px; }
.rh-legend i { width: 10px; height: 10px; border-radius: 3px; background: var(--c); }
.rh-legend .rh-lv i { background: repeating-linear-gradient(45deg, #cbd5e1 0 3px, #f1f5f9 3px 6px); }
.rh-legend .rh-gd i { background: #fce7f3; box-shadow: inset 0 0 0 1px #f9a8d4; }
.rh-tablewrap { overflow-x: auto; background: #fff; border: 1px solid #e3e8ef; border-radius: 14px; }
.rh-table { width: 100%; min-width: 980px; border-collapse: separate; border-spacing: 0; table-layout: fixed; }
.rh-table th, .rh-table td { border-bottom: 1px solid #eef1f5; border-left: 1px solid #f1f4f7; padding: 6px; vertical-align: top; }
.rh-table thead th { position: sticky; top: 0; z-index: 2; background: #f8fafc; padding: 10px 6px; text-align: center; font-weight: 600; }
.rh-table thead th span { display: block; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: #475569; }
.rh-table thead th b { display: block; font-family: var(--fa-head); font-size: 1.1rem; font-weight: 800; color: #0f172a; }
.rh-table thead th em { display: inline-block; margin-top: 2px; padding: 1px 7px; border-radius: 999px; background: #e93d8a; color: #fff; font-style: normal; font-size: .66rem; font-weight: 700; }
.rh-table thead th.today b { width: 32px; height: 32px; margin: 0 auto; display: grid; place-items: center; border-radius: 50%; background: #0f172a; color: #fff; font-size: 1rem; }
.rh-table .garde { background: #fdf2f8; }
.rh-table thead th.garde { background: #fce7f3; }
.rh-table td.today { background: #f8fbff; }
.rh-table td.today.garde { background: #fbeaf3; }
.rh-emp-col { position: sticky; left: 0; z-index: 1; width: 210px; background: #fff; border-left: 0 !important; text-align: left !important; }
thead .rh-emp-col { z-index: 3; background: #f8fafc; font-size: .78rem; font-weight: 700; color: #334155; vertical-align: middle !important; padding-left: 14px !important; }
tbody .rh-emp-col { padding: 10px 12px !important; vertical-align: middle !important; }
.rh-ec { display: flex; align-items: center; gap: 10px; min-width: 0; }
.rh-ec > div { min-width: 0; }
tbody .rh-emp-col b { display: block; font-size: .86rem; font-weight: 700; color: #0f172a; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
tbody .rh-emp-col small { display: block; font-size: .74rem; font-weight: 500; color: #475569; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rh-cell { display: flex; flex-direction: column; gap: 4px; min-height: 58px; }
.rh-shift { display: flex; flex-direction: column; align-items: flex-start; width: 100%; padding: 5px 7px; border: 0; border-left: 3px solid var(--c); border-radius: 7px; background: color-mix(in srgb, var(--c) 11%, #fff); font: inherit; text-align: left; cursor: pointer; }
.rh-shift:hover { background: color-mix(in srgb, var(--c) 18%, #fff); }
.rh-shift b { font-size: .74rem; font-weight: 800; color: var(--c); }
.rh-shift small { font-size: .74rem; font-weight: 600; color: #1e293b; }
.rh-leave { display: block; padding: 5px 7px; border-radius: 7px; background: repeating-linear-gradient(45deg, #e2e8f0 0 4px, #f1f5f9 4px 8px); font-size: .74rem; font-weight: 700; color: #334155; }
.rh-leave.pend { background: #fff; border: 1.5px dashed #cbd5e1; color: #475569; }
.rh-add { display: grid; place-items: center; width: 100%; height: 26px; margin-top: auto; border: 1px dashed transparent; border-radius: 7px; background: none; color: transparent; cursor: pointer; }
.rh-table td:hover .rh-add, .rh-add:focus-visible { border-color: #cbd5e1; color: #64748b; }
.rh-add:hover { border-color: #e93d8a !important; color: #e93d8a !important; background: #fdf2f8; }
.rh-add .ad-i { width: 15px; height: 15px; }
.rh-table tfoot th, .rh-table tfoot td { position: static; background: #f8fafc; border-bottom: 0; padding: 9px 6px; text-align: center; font-size: .82rem; font-weight: 700; color: #0f172a; }
.rh-table tfoot th { font-size: .78rem; color: #334155; padding-left: 14px; }
.rh-table tfoot td.zero { color: #b42318; }

/* Congés */
.rh-llist { display: flex; flex-direction: column; gap: 10px; }
.rh-lrow { display: flex; align-items: center; gap: 14px; padding: 14px 16px; background: #fff; border: 1px solid #e3e8ef; border-radius: 14px; }
.rh-lrow.new { border-color: #fedf89; background: linear-gradient(90deg, #fffcf2, #fff 40%); }
.rh-lmain { flex: 1; min-width: 0; }
.rh-ltop { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.rh-ltop b { font-size: .95rem; font-weight: 700; color: #0f172a; }
.rh-ltype { font-size: .82rem; font-weight: 600; color: #be185d; }
.rh-lmain p { margin: 3px 0 0; font-size: .86rem; color: #334155; }
.rh-lmain p::first-letter { text-transform: uppercase; }
.rh-lmain small { display: block; margin-top: 2px; font-size: .8rem; color: #475569; }
.rh-dec { font-style: italic; }
.rh-lacts { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.rh-ib { width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid #e3e8ef; border-radius: 9px; background: #fff; color: #334155; cursor: pointer; }
.rh-ib:hover { background: #f8fafc; }
.rh-ib.del:hover { color: #b42318; border-color: #fecdca; background: #fef3f2; }
.rh-ib .ad-i { width: 16px; height: 16px; }
.rh-tabs button:focus-visible, .rh-btn:focus-visible, .rh-emp:focus-visible, .rh-kpi:focus-visible, .rh-shift:focus-visible, .rh-ib:focus-visible, .rh-types button:focus-visible, .rh-x:focus-visible, .rh-link:focus-visible, .rh-colors button:focus-visible { outline: 2px solid #e93d8a; outline-offset: 2px; }

@media (max-width: 1180px) { .rh-cols { grid-template-columns: 1fr 1fr; } .rh-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) {
  .rh-cols, .rh-g2, .rh-g3 { grid-template-columns: 1fr; }
  .rh-types { grid-template-columns: 1fr 1fr; }
  .rh-tabs button { flex: none; }
  .rh-tabs button span { font-size: .84rem; }
  .rh-week { width: 100%; justify-content: space-between; }
  .rh-week > div { min-width: 0; text-align: center; }
  .rh-acts { width: 100%; }
  .rh-acts .rh-btn { flex: 1; }
  .rh-emp-col { width: 150px; }
  .rh-table { min-width: 860px; }
  .rh-lrow { flex-wrap: wrap; }
  .rh-lacts { width: 100%; justify-content: flex-start; }
  .rh-modal { padding: 0; align-items: flex-end; }
  .rh-sheet, .rh-sheet.wide { max-width: none; max-height: 94vh; max-height: 94dvh; border-radius: 18px 18px 0 0; }
  .rh-bal-box { grid-template-columns: 1fr 1fr; }
}
.rh-ul.sh li { flex-wrap: wrap; row-gap: 4px; }
.rh-ul.sh li > div { flex: 1 1 calc(100% - 50px); }
.rh-ul.sh b { white-space: normal; }
.rh-ul.sh li > .rh-chip { margin-left: 44px; }

/* RH — pointage, documents, accès employé, espace employé */
.rh-okmsg { padding: 10px 12px; border-radius: 10px; background: #ecfdf3; border: 1px solid #abefc6; color: #067647; font-size: .86rem; font-weight: 600; }
.rh-note { display: block; font-size: .78rem; color: #475569; }
.rh-docs { display: flex; flex-direction: column; gap: 8px; margin: 0 0 12px; padding: 0; list-style: none; }
.rh-docs li { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid #e3e8ef; border-radius: 12px; background: #fff; }
.rh-docs li > div { flex: 1; min-width: 0; }
.rh-docs b { display: block; font-size: .9rem; color: #0f172a; overflow-wrap: anywhere; }
.rh-docs small { display: block; font-size: .78rem; color: #475569; }
.rh-doc-ic { width: 40px; height: 40px; flex-shrink: 0; display: grid; place-items: center; border-radius: 10px; background: #eff8ff; color: #175cd3; font-size: .68rem; font-weight: 800; letter-spacing: .04em; }
.rh-doc-ic.pdf { background: #fef3f2; color: #b42318; }
.rh-exp { font-weight: 700; color: #067647 !important; }
.rh-exp.soon { color: #b54708 !important; }
.rh-exp.late { color: #b42318 !important; }
.rh-upload { display: flex; flex-direction: column; gap: 10px; padding: 12px; border: 1px dashed #d5dbe4; border-radius: 12px; background: #f8fafc; margin-bottom: 6px; }
.rh-upload input[type=file] { padding: 7px 8px; min-height: 42px; background: #fff; }
.rh-up-row { display: flex; gap: 8px; flex-wrap: wrap; }
.rh-up-row input { flex: 1; min-width: 200px; min-height: 40px; padding: 8px 12px; border: 1px solid #d5dbe4; border-radius: 10px; background: #fff; font: inherit; font-size: .9rem; }
.rh-up-row input:focus { outline: 0; border-color: #e93d8a; box-shadow: 0 0 0 3px rgba(233, 61, 138, .15); }
.rh-acc { display: flex; flex-direction: column; gap: 10px; padding: 12px 14px; border: 1px solid #e3e8ef; border-radius: 12px; background: #f8fafc; }
.rh-acc.on { flex-direction: row; align-items: center; background: #ecfdf3; border-color: #abefc6; }
.rh-acc > div { flex: 1; min-width: 0; }
.rh-acc b { display: block; font-size: .9rem; color: #0f172a; overflow-wrap: anywhere; }
.rh-acc small { display: block; margin-top: 2px; font-size: .8rem; color: #475569; }
.rh-acc-ic { width: 34px; height: 34px; flex-shrink: 0; display: grid; place-items: center; border-radius: 50%; background: #12b76a; color: #fff; }
.rh-acc-ic .ad-i { width: 17px; height: 17px; stroke-width: 2.4; }
.rh-pw { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; margin-top: 10px; padding: 12px 14px; border-radius: 12px; background: #fffaeb; border: 1px solid #fedf89; }
.rh-pw small { font-size: .8rem; color: #93370d; }
.rh-pw code { padding: 6px 12px; border-radius: 8px; background: #fff; border: 1px solid #fedf89; font-size: 1.05rem; font-weight: 700; letter-spacing: .06em; color: #0f172a; }
.rh-tags { display: inline-flex; gap: 6px; }
.rh-tags i { display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border-radius: 999px; background: #f1f5f9; color: #334155; font-style: normal; font-size: .74rem; font-weight: 700; }
.rh-tags .ad-i { width: 13px; height: 13px; }
.rh-src { font-size: .74rem; font-weight: 700; color: #175cd3; background: #eff8ff; padding: 2px 8px; border-radius: 999px; }
.rh-in { margin-left: 44px; font-size: .76rem; font-weight: 600; color: #067647; }
.rh-att { display: flex; flex-direction: column; gap: 14px; }
.rh-month { height: 40px; padding: 0 12px; border: 1px solid #d5dbe4; border-radius: 10px; background: #fff; font: inherit; font-size: .88rem; font-weight: 600; color: #0f172a; }
.rh-attlist { display: flex; flex-direction: column; background: #fff; border: 1px solid #e3e8ef; border-radius: 14px; overflow: hidden; }
.rh-attrow { display: grid; grid-template-columns: minmax(0, 1.6fr) 170px minmax(0, 1.2fr) auto; align-items: center; gap: 14px; padding: 12px 16px; border-top: 1px solid #eef1f5; }
.rh-attrow:first-child { border-top: 0; }
.rh-attrow .rh-ec b { display: block; font-size: .9rem; color: #0f172a; }
.rh-attrow .rh-ec small { display: block; font-size: .78rem; color: #475569; }
.rh-times { display: flex; gap: 18px; }
.rh-times small { display: block; font-size: .7rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: #475569; }
.rh-times b { font-family: var(--fa-head); font-size: 1.05rem; font-weight: 800; color: #0f172a; }
.rh-st { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; }
.rh-st small { font-size: .78rem; color: #475569; }
.rh-rep { width: 100%; border-collapse: collapse; }
.rh-rep th, .rh-rep td { padding: 10px 14px; border-bottom: 1px solid #eef1f5; text-align: center; font-size: .88rem; color: #0f172a; }
.rh-rep th { background: #f8fafc; font-size: .72rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: #475569; }
.rh-rep th:first-child, .rh-rep td:first-child { text-align: left; }
.rh-rep td b { display: block; font-size: .88rem; } .rh-rep td small { display: block; font-size: .76rem; color: #475569; }
.rh-rep td.warn { color: #b54708; font-weight: 800; } .rh-rep td.bad { color: #b42318; font-weight: 800; }
.rhs { padding: 28px 0 0; background: #fff; }
.rhs-wrap { max-width: 80rem; margin: 0 auto; padding: 0 16px; display: flex; flex-direction: column; gap: 14px; }
@media (min-width: 640px) { .rhs-wrap { padding: 0 24px; } }
@media (min-width: 1024px) { .rhs-wrap { padding: 0 32px; } }
.rhs-head { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding: 18px 20px; border-radius: 18px; background: linear-gradient(120deg, #0f172a, #1e293b 60%, #4a1d3a); color: #fff; }
.rhs-head > div { flex: 1; min-width: 200px; }
.rhs-head small { font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #b5dc52; }
.rhs-head h2 { margin: 2px 0 0; font-family: var(--fa-head); font-size: 1.3rem; font-weight: 800; color: #fff; }
.rhs-head p { margin: 2px 0 0; font-size: .88rem; color: #e2e8f0; }
.rhs-head .rh-av { width: 52px; height: 52px; font-size: 1rem; box-shadow: 0 0 0 3px rgba(255, 255, 255, .25); }
.rhs-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.rhs-kpis > div { padding: 14px 16px; border: 1px solid #e3e8ef; border-radius: 14px; background: #fff; }
.rhs-kpis small { display: block; font-size: .76rem; font-weight: 700; color: #475569; }
.rhs-kpis b { display: block; margin: 3px 0 1px; font-family: var(--fa-head); font-size: 1.35rem; font-weight: 800; color: #0f172a; }
.rhs-kpis b::first-letter { text-transform: uppercase; }
.rhs-kpis span { display: block; font-size: .8rem; color: #475569; }
.rhs-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 12px; align-items: start; }
.rhs-plan { margin: 0; padding: 4px 0; list-style: none; }
.rhs-plan li { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; padding: 9px 16px; border-top: 1px solid #f1f4f7; }
.rhs-plan li:first-child { border-top: 0; }
.rhs-plan li b { font-size: .86rem; color: #0f172a; }
.rhs-plan li b::first-letter { text-transform: uppercase; }
.rhs-plan li div { display: flex; gap: 6px; flex-wrap: wrap; }
.rhs-plan li.today { background: #fdf2f8; }
.rhs .rh-ul li { flex-wrap: wrap; }
@media (max-width: 900px) {
  .rh-attrow { grid-template-columns: minmax(0, 1fr) auto; }
  .rh-attrow .rh-st { grid-column: 1; }
  .rh-attrow .rh-lacts { grid-column: 1 / -1; justify-content: flex-start; }
}
@media (max-width: 640px) { .rhs-kpis { grid-template-columns: 1fr; } .rh-acc.on { flex-direction: column; align-items: flex-start; } }