/* Pharma Dream — feuille commune du site vitrine. Valeurs de la charte V2. */
:root {
  --bleu: #2296F3; --bleu-action: #0B6FD1; --lagon: #4FC3E8; --ciel: #DCEEFD;
  --nuit: #0E1E36; --encre: #1B2638; --gris: #5B6577; --brume: #F3F7FB; --nuage: #E3EAF3; --neige: #FFFFFF;
  --soleil: #FFC94D; --wa: #25D366; --on-wa: #0B3B24;
  --ok: #17784E; --ok-bg: #E4F5EC; --rx: #8A5A00; --rx-bg: #FFF4D6; --ko: #B42318; --ko-bg: #FDECEA;
  --font: "Poppins", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --r-s: 12px; --r-m: 20px; --r-l: 28px;
  --ombre-1: 0 1px 2px rgba(14,30,54,.05), 0 4px 14px rgba(14,30,54,.05);
  --ombre-2: 0 2px 6px rgba(14,30,54,.06), 0 18px 40px -12px rgba(14,30,54,.16);
  --ombre-3: 0 30px 80px -20px rgba(11,111,209,.35);
  --aube: radial-gradient(60% 80% at 15% 0%, rgba(79,195,232,.5), transparent 70%), radial-gradient(70% 90% at 90% 0%, rgba(34,150,243,.45), transparent 70%), radial-gradient(80% 70% at 50% 100%, rgba(220,238,253,.9), transparent 70%), #F7FBFF;
}
* { box-sizing: border-box; }
body { margin: 0; }
.pd { font-family: var(--font); color: var(--encre); background: var(--neige); font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; min-height: 100%; }
.pd h1, .pd h2, .pd h3, .pd p { margin: 0; }
.pd h1, .pd h2, .pd h3 { color: var(--nuit); font-weight: 600; text-wrap: balance; }
.pd a { color: var(--bleu-action); }
.pd a:hover { color: #0857A6; }
.pd :focus-visible { outline: 2px solid var(--bleu-action); outline-offset: 3px; }
.num { font-variant-numeric: tabular-nums; }
.wrap { max-width: 1160px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.ico { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.ico-s { width: 16px; height: 16px; }
.eyebrow { font-size: 13px; line-height: 16px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--bleu-action); }
.muted { color: var(--gris); }
.grad { background: linear-gradient(100deg, var(--bleu-action) 0%, var(--bleu) 45%, var(--lagon) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Titres */
.t-hero { font-size: clamp(38px, 6vw, 64px); line-height: 1.04; letter-spacing: -0.04em; }
.t-1 { font-size: clamp(30px, 4.2vw, 44px); line-height: 1.1; letter-spacing: -0.03em; }
.t-2 { font-size: clamp(24px, 3vw, 32px); line-height: 1.2; letter-spacing: -0.02em; }
.t-3 { font-size: clamp(18px, 2vw, 21px); line-height: 1.3; letter-spacing: -0.01em; }
.lead { font-size: clamp(17px, 1.9vw, 20px); line-height: 1.55; color: var(--gris); }
.small { font-size: 14px; line-height: 1.45; color: var(--gris); }

/* En-tête */
.hdr { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.78); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid rgba(227,234,243,.9); }
.hdr .wrap { display: flex; align-items: center; gap: 24px; height: 64px; }
.hdr .logo img { height: 40px; width: auto; display: block; }
.hdr nav { display: flex; gap: 4px; margin-left: 8px; flex: 1; }
.navlink { padding: 8px 12px; border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--encre) !important; text-decoration: none; }
.navlink:hover { background: var(--brume); }
.navlink.on { background: var(--ciel); color: var(--bleu-action) !important; }
.pays { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 999px; border: 1px solid var(--nuage); background: var(--neige); font: 500 14px/1 var(--font); color: var(--encre); }
.burger { display: none; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--brume); color: var(--nuit); align-items: center; justify-content: center; margin-left: auto; }

/* Boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 28px; border-radius: 999px; border: 0; font: 600 16px/1 var(--font); text-align: center; cursor: pointer; text-decoration: none; white-space: nowrap; }
.btn-sm { height: 40px; padding: 0 20px; font-size: 14px; }
.btn-primary { background: var(--bleu-action); color: #fff !important; box-shadow: 0 8px 20px -8px rgba(11,111,209,.6); }
.btn-wa { background: var(--wa); color: var(--on-wa) !important; box-shadow: 0 10px 24px -10px rgba(37,211,102,.7); }
.btn-soft { background: var(--ciel); color: var(--bleu-action) !important; }
.btn-line { background: var(--neige); color: var(--nuit) !important; box-shadow: inset 0 0 0 1px var(--nuage); }
.btn-dark { background: var(--nuit); color: #fff !important; }
.btn-block { width: 100%; padding: 0 16px; }
/* Dans une colonne étroite, le texte rétrécit (16 → 14 px) au lieu de grossir le bouton. */
.side, .sticky-wa { container-type: inline-size; }
.side .btn-block, .sticky-wa .btn-block { font-size: clamp(14px, 4.6cqi, 16px); }

/* Recherche */
.search { width: 100%; display: flex; align-items: center; gap: 10px; background: rgba(255,255,255,.92); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-radius: 999px; padding: 6px 6px 6px 20px; box-shadow: var(--ombre-2); border: 1px solid rgba(255,255,255,.95); }
.search .ico { color: var(--bleu); }
.search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: 400 17px/24px var(--font); color: var(--encre); }
.search input::placeholder { color: var(--gris); }
.search-flat { box-shadow: none; border: 1px solid var(--nuage); background: var(--neige); }
.seg { display: inline-flex; padding: 4px; border-radius: 999px; background: rgba(255,255,255,.7); box-shadow: var(--ombre-1); gap: 2px; }
.seg a { padding: 8px 18px; border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--gris) !important; text-decoration: none; }
.seg a.on { background: var(--nuit); color: #fff !important; }

/* Puces, badges */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 6px; min-height: 38px; padding: 0 14px; border-radius: 999px; background: var(--neige); font-size: 14px; font-weight: 500; color: var(--encre) !important; text-decoration: none; box-shadow: inset 0 0 0 1px var(--nuage); white-space: nowrap; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
.chip.on { background: var(--nuit); color: #fff !important; box-shadow: none; }
.chip-glass { background: rgba(255,255,255,.75); box-shadow: var(--ombre-1); }
.badge { display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: 999px; font-size: 12px; line-height: 16px; font-weight: 600; white-space: nowrap; }
.badge .ico { width: 14px; height: 14px; stroke-width: 2; }
.b-garde { background: var(--soleil); color: var(--nuit); }
.b-ok { background: var(--ok-bg); color: var(--ok); }
.b-ko { background: var(--ko-bg); color: var(--ko); }
.b-rx { background: var(--rx-bg); color: var(--rx); }
.b-info { background: var(--ciel); color: var(--bleu-action); }

/* Sections */
.sec { padding-top: clamp(56px, 8vw, 104px); padding-bottom: clamp(56px, 8vw, 104px); }
.sec-alt { background: var(--brume); }
.sec-dark { background: var(--nuit); color: #C9D6E8; }
.sec-dark h2, .sec-dark h3 { color: #fff; }
.sec-dark .lead { color: #9FB3CC; }
.sec-dark .eyebrow { color: var(--lagon); }
.sec-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 32px; margin-bottom: 32px; }
.sec-head > div { display: flex; flex-direction: column; gap: 10px; max-width: 680px; }
.aube { background: var(--aube); }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: 13px; color: var(--gris); padding-top: 20px; }
.crumbs a { color: var(--gris) !important; text-decoration: none; }
.crumbs span[aria-hidden] { opacity: .5; }

/* Grilles */
.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.grid-wide { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }
.split { display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-start; }
.split > .main { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.split > .side { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }

/* Cartes */
.card { background: var(--neige); border-radius: var(--r-m); box-shadow: var(--ombre-1); }
.card-lift { box-shadow: var(--ombre-2); }
.pad { padding: 20px; }
.pad-l { padding: clamp(22px, 3vw, 32px); }
.drug { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 16px; padding: 16px; text-decoration: none; color: inherit !important; align-items: center; }
.drug:hover { box-shadow: var(--ombre-2); }
.drug-img { width: 76px; height: 76px; border-radius: 16px; display: grid; place-items: center; background: radial-gradient(80% 90% at 80% 10%, rgba(79,195,232,.45), transparent 70%), var(--ciel); color: var(--bleu-action); }
.drug-img .ico { width: 30px; height: 30px; stroke-width: 1.5; }
.drug-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.drug-name { font-weight: 600; font-size: 17px; line-height: 1.35; color: var(--nuit); letter-spacing: -0.01em; }
.drug-meta { font-size: 14px; color: var(--gris); line-height: 1.45; }
.drug-foot { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: space-between; margin-top: 6px; }
.price { font-weight: 600; font-size: 18px; letter-spacing: -0.01em; color: var(--nuit); font-variant-numeric: tabular-nums; }
.price small { font-size: 13px; font-weight: 500; color: var(--gris); letter-spacing: 0; }
.ph { display: flex; flex-direction: column; gap: 10px; padding: 18px; text-decoration: none; color: inherit !important; }
.ph-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.ph-name { font-weight: 600; font-size: 17px; line-height: 1.3; color: var(--nuit); letter-spacing: -0.01em; }
.ph-meta { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 14px; color: var(--gris); }
.ph-meta span { display: inline-flex; align-items: center; gap: 6px; }
.ph-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 4px; }
.row { display: flex; align-items: center; gap: 12px; }
.list-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--nuage); }
.list-row:last-child { border-bottom: 0; }
.dl { display: grid; grid-template-columns: minmax(120px, 200px) minmax(0, 1fr); gap: 0; }
.dl > div { padding: 14px 0; border-bottom: 1px solid var(--nuage); }
.dl > div:nth-last-child(-n+2) { border-bottom: 0; }
.dl dt, .dl .k { color: var(--gris); font-size: 15px; }
.dl .v { color: var(--nuit); font-weight: 500; font-size: 15px; }
.icon-tile { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--ciel); color: var(--bleu-action); flex: none; }
.step-n { font-size: 14px; font-weight: 600; color: var(--bleu-action); font-variant-numeric: tabular-nums; }

/* Professionnels de santé */
.av { width: 64px; height: 64px; border-radius: 20px; flex: none; display: grid; place-items: center; font-weight: 600; font-size: 22px; letter-spacing: -0.02em; color: var(--bleu-action); background: radial-gradient(90% 90% at 80% 10%, rgba(79,195,232,.45), transparent 70%), var(--ciel); box-shadow: inset 0 0 0 3px rgba(255,255,255,.9), 0 0 0 1px var(--nuage); }
.av-2 { color: #167C9C; background: radial-gradient(90% 90% at 80% 10%, rgba(34,150,243,.25), transparent 70%), #E2F6FB; }
.av-3 { color: #8A5A00; background: radial-gradient(90% 90% at 80% 10%, rgba(255,201,77,.55), transparent 70%), #FFF4D6; }
.av-lg { width: 128px; height: 128px; border-radius: 36px; font-size: 44px; box-shadow: inset 0 0 0 4px rgba(255,255,255,.9), var(--ombre-2); }
.av-sm { width: 44px; height: 44px; border-radius: 14px; font-size: 15px; }
.doc { display: flex; gap: 16px; padding: 18px; text-decoration: none; color: inherit !important; align-items: flex-start; }
.doc:hover { box-shadow: var(--ombre-2); }
.doc-body { display: flex; flex-direction: column; gap: 4px; min-width: 0; flex: 1; }
.doc-name { font-weight: 600; font-size: 17px; line-height: 1.3; color: var(--nuit); letter-spacing: -0.01em; }
.doc-spec { font-size: 14px; font-weight: 500; color: var(--bleu-action); }
.b-verif { background: var(--ciel); color: var(--bleu-action); }
.steps { display: flex; flex-direction: column; gap: 0; }
.step { display: flex; gap: 14px; align-items: flex-start; padding-bottom: 18px; position: relative; }
.step:not(:last-child)::after { content: ""; position: absolute; left: 15px; top: 34px; bottom: 4px; width: 2px; background: var(--nuage); }
.step-dot { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; flex: none; background: var(--brume); color: var(--gris); font-size: 13px; font-weight: 600; box-shadow: inset 0 0 0 1px var(--nuage); }
.step-dot.done { background: var(--ok); color: #fff; box-shadow: none; }
.step-dot.now { background: var(--bleu-action); color: #fff; box-shadow: 0 0 0 6px rgba(11,111,209,.15); }

/* Carte (plan) */
.map { position: relative; border-radius: var(--r-l); overflow: hidden; min-height: 420px; background:
  linear-gradient(90deg, rgba(255,255,255,.9) 2px, transparent 2px) 0 0 / 120px 120px,
  linear-gradient(0deg, rgba(255,255,255,.9) 2px, transparent 2px) 0 0 / 120px 120px,
  linear-gradient(35deg, transparent 48%, rgba(255,255,255,.95) 48%, rgba(255,255,255,.95) 52%, transparent 52%) 0 0 / 100% 100%,
  radial-gradient(40% 50% at 70% 30%, rgba(79,195,232,.35), transparent 70%),
  #E6EFF8; }
.pin { position: absolute; transform: translate(-50%, -100%); display: flex; flex-direction: column; align-items: center; }
.pin b { display: inline-flex; align-items: center; gap: 6px; background: var(--neige); color: var(--nuit); font-size: 12px; font-weight: 600; padding: 6px 10px; border-radius: 999px; box-shadow: var(--ombre-2); white-space: nowrap; }
.pin i { width: 14px; height: 14px; border-radius: 50%; background: var(--bleu); border: 3px solid #fff; box-shadow: 0 0 0 6px rgba(34,150,243,.2); margin-top: 6px; }
.pin.garde b { background: var(--soleil); }
.me { position: absolute; width: 18px; height: 18px; border-radius: 50%; background: var(--bleu-action); border: 3px solid #fff; box-shadow: 0 0 0 10px rgba(11,111,209,.18); transform: translate(-50%, -50%); }

/* Chat WhatsApp */
.chat { background: #EFE8DF; border-radius: var(--r-l); padding: 18px; display: flex; flex-direction: column; gap: 10px; max-width: 420px; width: 100%; box-shadow: 0 40px 90px -30px rgba(0,0,0,.6); }
.chat-top { display: flex; align-items: center; gap: 10px; padding-bottom: 8px; }
.chat-top .av-chat { width: 36px; height: 36px; border-radius: 50%; background: var(--bleu); color: #fff; display: grid; place-items: center; font-weight: 600; font-size: 14px; }
.chat-top b { color: #111B21; font-size: 15px; display: block; }
.chat-top span { color: #54656F; font-size: 12px; }
.msg { max-width: 85%; padding: 8px 12px; border-radius: 12px; font-size: 14px; line-height: 1.45; color: #111B21; box-shadow: 0 1px 1px rgba(0,0,0,.08); }
.msg.in { background: #fff; align-self: flex-start; border-top-left-radius: 4px; }
.msg.out { background: #D9FDD3; align-self: flex-end; border-top-right-radius: 4px; }
.msg ul { margin: 6px 0 0; padding-left: 18px; }
.msg b { font-weight: 600; }
.msg-btns { display: flex; flex-direction: column; gap: 4px; align-self: flex-start; width: 85%; }
.msg-btns span { display: block; text-align: center; background: #fff; color: #027EB5; font-size: 14px; font-weight: 500; padding: 9px 12px; border-radius: 10px; box-shadow: 0 1px 1px rgba(0,0,0,.08); }
.msg-btns.out { align-self: flex-end; }
.msg .time { display: block; text-align: right; font-size: 11px; color: #667781; margin-top: 2px; }
.chat-sys { align-self: center; background: #FFF3C4; color: #54656F; font-size: 12px; padding: 5px 10px; border-radius: 8px; text-align: center; max-width: 90%; }

/* Formulaires */
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 14px; font-weight: 500; color: var(--nuit); }
.field input, .field select, .field textarea { font: 400 16px/24px var(--font); color: var(--encre); padding: 12px 16px; border-radius: 14px; border: 1px solid #A9B4C4; background: var(--neige); width: 100%; }
.field textarea { min-height: 140px; resize: vertical; }
.field .hint { font-size: 13px; color: var(--gris); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--bleu-action); }

/* Texte long */
.prose { max-width: 70ch; display: flex; flex-direction: column; gap: 14px; font-size: 16px; line-height: 1.75; }
.prose h2 { font-size: 22px; letter-spacing: -0.015em; margin-top: 20px; }
.prose ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; }

/* Pied de page */
.ftr { background: var(--nuit); color: #9FB3CC; padding-top: 64px; padding-bottom: 40px; font-size: 14px; }
.ftr-grid { display: flex; flex-wrap: wrap; gap: 40px 56px; }
.ftr-grid > div { display: flex; flex-direction: column; gap: 10px; min-width: 160px; }
.ftr-grid > div:first-child { flex: 1 1 300px; max-width: 360px; }
.ftr b { color: #fff; font-weight: 600; font-size: 14px; }
.ftr a { color: #C9D6E8 !important; text-decoration: none; }
.ftr a:hover { color: #fff !important; }
.ftr-logo { background: #fff; border-radius: 14px; padding: 6px 10px; align-self: flex-start; }
.ftr-logo img { height: 36px; display: block; }
.store { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border-radius: 14px; background: #fff; color: var(--nuit) !important; min-height: 48px; }
.store small { display: block; font-size: 11px; color: var(--gris); line-height: 1.2; }
.store b { color: var(--nuit) !important; font-size: 15px; line-height: 1.2; }
.ftr-bottom { margin-top: 48px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.1); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: 13px; }

/* Barre WhatsApp collée en bas (mobile) */
.show-m { display: none !important; }
.sticky-wa { display: none; position: sticky; bottom: 0; z-index: 15; padding: 12px 16px 16px; background: linear-gradient(180deg, rgba(255,255,255,0), #fff 24px); }

@media (max-width: 860px) {
  .hdr nav, .hdr .pays, .hdr .btn { display: none; }
  .burger { display: inline-flex; }
  .wrap { padding-left: 16px; padding-right: 16px; }
  .sticky-wa { display: block; }
  .hide-m { display: none !important; }
  .show-m { display: flex !important; }
  .dl { grid-template-columns: minmax(0, 1fr); }
  .dl > div:nth-child(odd) { border-bottom: 0; padding-bottom: 0; }
  .search-stack { flex-wrap: wrap; border-radius: 24px; padding: 8px 8px 8px 16px; }
  .search-stack .btn { width: 100%; }
  .map { min-height: 320px; }
}
@media (max-width: 420px) { .seg a { padding: 8px 13px; } }

/* Conseils santé : cartes d'article, article à la une, page d'article */
.tipc { display: flex; flex-direction: column; overflow: hidden; color: inherit !important; text-decoration: none; }
.tipc .cv { aspect-ratio: 16 / 9; display: grid; place-items: center; color: rgba(255,255,255,.85); }
.tipc .cv .ico { width: 34px; height: 34px; }
.tipc .bd { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.tipc .ttl { font-size: 17px; line-height: 1.35; font-weight: 600; color: var(--nuit); letter-spacing: -0.01em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tipc .ex { font-size: 14px; line-height: 1.5; color: var(--gris); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tip-by { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--gris); margin-top: auto; }
.tip-by b { color: var(--nuit); font-weight: 500; }
.tip-feat { display: flex; flex-wrap: wrap; overflow: hidden; color: inherit !important; text-decoration: none; }
.tip-feat .cv { flex: 1 1 420px; min-height: 280px; display: grid; place-items: center; color: rgba(255,255,255,.85); }
.tip-feat .cv .ico { width: 48px; height: 48px; }
.tip-feat .bd { flex: 1 1 360px; padding: clamp(22px, 3vw, 36px); display: flex; flex-direction: column; gap: 14px; justify-content: center; }
.cv-1 { background: radial-gradient(80% 90% at 85% 10%, rgba(79,195,232,.85), transparent 70%), linear-gradient(135deg, #0B6FD1, #2E3F9C); }
.cv-2 { background: radial-gradient(80% 90% at 15% 10%, rgba(255,201,77,.75), transparent 70%), linear-gradient(135deg, #17784E, #4FC3E8); }
.cv-3 { background: radial-gradient(80% 90% at 80% 20%, rgba(255,255,255,.3), transparent 70%), linear-gradient(135deg, #8E44AD, #E86A92); }
.cv-4 { background: radial-gradient(80% 90% at 20% 80%, rgba(255,201,77,.55), transparent 70%), linear-gradient(135deg, #0E1E36, #2296F3); }
.art-cover { aspect-ratio: 16 / 9; border-radius: var(--r-l); display: grid; place-items: center; color: rgba(255,255,255,.85); }
.art-cover .ico { width: 56px; height: 56px; }
.prose blockquote { margin: 6px 0; padding: 14px 18px; border-left: 3px solid var(--bleu-action); background: var(--ciel); border-radius: 0 var(--r-s) var(--r-s) 0; color: var(--nuit); }
.prose ol { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 6px; }
.prose a { text-decoration: underline; }

/* Ajouts du site : menu mobile, pagination, carte intégrée, état vide */
.navlink { white-space: nowrap; }
.hdr .pays { white-space: nowrap; }
@media (max-width: 1320px) { .hdr .wrap { gap: 14px; } .navlink { padding: 8px 10px; } }
/* Long chips (drug names) never widen the page; photos keep the square of the avatar */
.chips { max-width: 100%; min-width: 0; }
.av { position: relative; overflow: hidden; }
.av img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* Real covers of the health tips, cropped to the 16:9 of the mockup */
.tipc .cv, .tip-feat .cv, .art-cover { position: relative; overflow: hidden; }
.tip-feat .cv { aspect-ratio: 16 / 9; min-height: 0; align-self: center; }
.tipc .cv img, .tip-feat .cv img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hdr .menu-m, .menu-m { display: none; }
.hdr .menu-m.open, .menu-m.open { display: flex; flex-direction: column; gap: 4px; padding: 8px 16px 16px; border-bottom: 1px solid var(--nuage); background: var(--neige); }
.menu-m a { padding: 12px 8px; font-weight: 500; color: var(--encre) !important; text-decoration: none; border-radius: 12px; }
.menu-m a:hover { background: var(--brume); }
.pager { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 12px; }
.map-frame { width: 100%; min-height: 300px; border: 0; border-radius: var(--r-l); display: block; background: #E6EFF8; }
.empty { padding: 32px 20px; text-align: center; color: var(--gris); }
.pays-menu { position: relative; }
.pays-menu ul { display: none; position: absolute; right: 0; top: calc(100% + 6px); list-style: none; margin: 0; padding: 6px; background: var(--neige); border-radius: 14px; box-shadow: var(--ombre-2); min-width: 180px; z-index: 30; }
.pays-menu:focus-within ul, .pays-menu.open ul { display: block; }
.pays-menu ul a { display: block; padding: 10px 12px; border-radius: 10px; color: var(--encre) !important; text-decoration: none; font-size: 14px; }
.pays-menu ul a:hover { background: var(--brume); }
.alert { padding: 14px 18px; border-radius: var(--r-s); font-size: 15px; }
.alert-ok { background: var(--ok-bg); color: var(--ok); }
.alert-ko { background: var(--ko-bg); color: var(--ko); }
.field .error { font-size: 13px; color: var(--ko); }

/* Index of the drug categories (338 classes in the old base) */
.cat-index { columns: 3 260px; column-gap: 40px; }
.cat-group { break-inside: avoid; margin-bottom: 24px; }
.cat-group h2 { color: var(--bleu-action); margin-bottom: 6px; }
.cat-group ul { list-style: none; margin: 0; padding: 0; }
.cat-group li { padding: 5px 0; border-bottom: 1px solid var(--nuage); display: flex; justify-content: space-between; gap: 12px; }
.cat-group a { color: var(--encre); text-decoration: none; }
.cat-group a:hover { color: var(--bleu-action); }

/* Leaflets imported as HTML */
.prose p, .prose ol { margin: 0; }
.prose ol { padding-left: 20px; display: flex; flex-direction: column; gap: 6px; }
.prose h3, .prose h4 { font-size: 18px; margin-top: 8px; color: var(--nuit); }
/* « Sources » block of the imported tips */
.prose-legacy h3:has(+ ul:last-child) { font-size: 14px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--nuage); color: var(--gris); }
.prose-legacy h3 + ul:last-child { font-size: 13px; line-height: 1.6; color: var(--gris); overflow-wrap: anywhere; }
