/* Choufoni · en-tête maquette D (logo · famille en texte sur PC · ع · Connexion · ☰ sur téléphone) + menu ☰. Dima Ultra, étape 2.
   Chargé automatiquement par cf-fen.js sur toutes les pages. */
.barre.hd{position:fixed;top:16px;left:16px;right:16px;z-index:20;display:flex;align-items:center;gap:12px;justify-content:flex-start;pointer-events:none;font-family:Montserrat,system-ui,sans-serif}
.barre.hd>*{pointer-events:auto}
.barre.hd .logo{background:#fff;border-radius:18px;padding:10px 14px;height:auto;box-shadow:0 6px 20px rgba(59,42,32,.10);display:flex;align-items:center}
.barre.hd .logo img{height:32px;width:auto;display:block}
.famt{margin:0 auto;display:flex;align-items:center;gap:10px;background:rgba(255,253,249,.92);border-radius:999px;padding:10px 22px;box-shadow:0 4px 16px rgba(59,42,32,.06)}
.famt a{font-size:13px;font-weight:600;color:#8C6A4F;text-decoration:none;letter-spacing:.01em;white-space:nowrap}
.famt a:hover,.famt a:focus-visible{color:#3B2A20}
.famt .pt{font-style:normal;color:#CDB9A5}
.famt .trait{width:1px;height:16px;background:#D9C6B2;margin:0 6px}
.barre.hd .dr{display:flex;gap:10px;margin-left:auto;align-items:center}
.barre.hd .famt+.dr{margin-left:0}
.barre.hd .lgb,.barre.hd .menu-b,.barre.hd .cfc-btn{height:46px;min-width:46px;padding:0 16px;background:#fff;border:0;border-radius:16px;box-shadow:0 6px 20px rgba(59,42,32,.10);display:flex;align-items:center;justify-content:center;gap:8px;font:700 15px Montserrat,sans-serif;color:#3B2A20;cursor:pointer}
.barre.hd .lgb[data-l=ar]{font-family:'Noto Kufi Arabic',sans-serif;font-size:17px;width:auto;padding:0 16px}
.barre.hd .cfc-droite{display:flex;gap:10px}
.barre.hd .menu-b{display:none;padding:0}
.barre.hd .menu-b svg{width:22px;height:22px}
@media (max-width:1100px){.famt{padding:9px 14px;gap:7px}.famt a{font-size:12px}}
@media (max-width:980px){.famt{display:none}.barre.hd .dr{margin-left:auto}}
@media (max-width:700px){
 .barre.hd{top:12px;left:12px;right:12px}
 .barre.hd .logo{padding:8px 12px;border-radius:16px}.barre.hd .logo img{height:28px}
 .barre.hd .lgb,.barre.hd .menu-b{height:44px;min-width:44px;padding:0 12px;border-radius:14px}
 .barre.hd .cfc-btn{display:none}
 .barre.hd .menu-b{display:flex}
}
/* menu ☰ (téléphone) */
.mvoile{position:fixed;inset:0;background:rgba(59,42,32,.28);z-index:80;opacity:0;transition:opacity .2s}
.mpan{position:fixed;top:0;right:0;bottom:0;width:340px;max-width:88vw;background:#FFFDF9;z-index:90;border-radius:28px 0 0 28px;box-shadow:-10px 0 40px rgba(59,42,32,.18);overflow:auto;transform:translateX(100%);transition:transform .25s;font-family:Montserrat,system-ui,sans-serif;color:#3B2A20}
.mouvert .mvoile{opacity:1}.mouvert .mpan{transform:none}
[dir=rtl] .mpan,.mpan[dir=rtl]{right:auto;left:0;border-radius:0 28px 28px 0;transform:translateX(-100%)}
.mouvert .mpan[dir=rtl]{transform:none}
.mpan .mh{height:58px;display:grid;grid-template-columns:56px 1fr 56px;align-items:center;padding:0 10px;border-bottom:1px solid #F1EFEC;font-weight:800;font-size:16px;text-align:center}
.mpan .mh button{width:40px;height:40px;border:0;background:none;border-radius:50%;display:grid;place-items:center;cursor:pointer;color:#3B2A20}
.mpan .mb{padding:18px}
.ml{display:flex;align-items:center;gap:12px;padding:13px 4px;font-size:15px;font-weight:700;color:#3B2A20;text-decoration:none;border:0;border-bottom:1px solid #EEE5DA;background:none;width:100%;text-align:inherit;cursor:pointer;font-family:inherit}
.ml svg{width:20px;height:20px;stroke:currentColor;fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex:none}
.ml .ar{width:20px;text-align:center;font-weight:700}
.mt{font-size:12px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:#A99A8E;margin:22px 0 12px}
.mpan .fgr{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.mpan .fg{display:flex;flex-direction:column;align-items:center;text-align:center;gap:6px;padding:12px 2px;border:1px solid #EEE5DA;border-radius:18px;background:#fff;text-decoration:none;color:#3B2A20;min-width:0}
.mpan .fg img{width:44px;height:44px;border-radius:12px;display:block}
.mpan .fg b{font-size:12.5px;white-space:nowrap}
.mpan .fg small{font-size:11px;color:#7D6B5F;font-weight:600;line-height:1.25;white-space:nowrap}
@media (max-width:360px){.mpan .fg small{font-size:10px}.mpan .fg b{font-size:11.5px}}
.barre.hd svg.i,.mpan svg.i{width:20px;height:20px;stroke:currentColor;fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex:none}
.barre.hd .menu-b svg.i{width:22px;height:22px}
@media (max-width:700px){.barre.hd{position:absolute}} /* sur téléphone, l’en-tête défile avec la page (il ne passe plus sur le texte) */
