/* ---------- Menu ouvert (téléphone et tablette), version A choisie par Khamis le 16/10/2026 (« Je voulais la version A »).
   Fond blanc, logo couleur + Fermer à la place exacte du bouton Menu, 3 solutions en cartes à icônes Phosphor avec sous-texte et rond rouge,
   Accueil / L'entreprise / Contact en pastilles (page active en bleu nuit), bloc contact bleu nuit en bas (numéro centré + bouton rouge).
   Animation : le fond blanc se déploie en cercle depuis le bouton Menu, les cartes montent en cascade, le bloc contact arrive en dernier (≈ 0,75 s) ;
   fermeture inverse (contenu qui s'efface, puis le cercle se referme vers le bouton). Aucune animation si « réduire les animations ».
   Origine du cercle (--ox, --oy, --or) calculée dans assets/v4.js. Header fermé et hero : non touchés.
   Version B (fond bleu nuit) archivée : 99-ARCHIVES/anciennes-versions/ebauche-menu-mobile-B-2026-10-16/. ---------- */

.ov.mA{padding:0 0 calc(18px + env(safe-area-inset-bottom));overflow-y:auto;overscroll-behavior:contain;background:#fff;color:#04163F;
  clip-path:circle(0px at var(--ox,calc(100% - 70px)) var(--oy,44px));
  transition:clip-path .42s cubic-bezier(.5,0,.4,1) .04s,visibility 0s linear .48s;visibility:hidden}
.ov.mA.open{clip-path:circle(var(--or,150%) at var(--ox,calc(100% - 70px)) var(--oy,44px));visibility:visible;
  transition:clip-path .6s cubic-bezier(.33,0,.2,1) 0s,visibility 0s linear 0s}

.ov.mA .ov-top{flex:none;height:64px;margin:12px 16px 0;padding:0 14px;border-radius:999px}
.ov.mA .ov-top img{height:30px}
.ov.mA .ov-x{min-height:44px;padding:0 20px;font-size:15px;background:#04163F;color:#fff}
.ov.mA .mm{flex:1;display:flex;flex-direction:column;width:100%;max-width:520px;margin:0 auto;padding:28px 30px 0}
.ov.mA .mm-lbl{font-size:13px;font-weight:500;margin:0 0 12px;color:#556079}

/* cascade : fermeture rapide sans délai, ouverture avec délais */
.ov.mA .mm-in{opacity:0;transform:translateY(18px);transition:opacity .14s ease,transform .2s ease}
.ov.mA.open .mm-in{opacity:1;transform:none;transition:opacity .4s ease,transform .5s cubic-bezier(.2,.7,.2,1);transition-delay:calc(.16s + var(--i,0)*.035s)}
.ov.mA .mm-box.mm-in{transform:translateY(26px) scale(.98)}
.ov.mA.open .mm-box.mm-in{transform:none;transition:opacity .42s ease,transform .5s cubic-bezier(.2,.7,.2,1);transition-delay:.3s}

.ma-sv{display:flex;flex-direction:column;gap:10px}
.ma-sv a{display:flex;align-items:center;gap:16px;padding:16px 16px 16px 14px;background:#F3F5F9;border-radius:18px;color:#04163F}
.ov.mA .ma-sv a.mm-in{transition-property:opacity,transform,background-color}
.ma-sv a:active,.ma-sv a.on{background:#E9EEF6}@media (hover:hover){.ma-sv a:hover{background:#E9EEF6}}
.ma-ic{flex:none;width:54px;height:54px;border-radius:14px;background:#fff;color:#04163F;display:grid;place-items:center}
.ma-ic svg{width:30px;height:30px}
.ma-x{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
.ma-x b{font-family:var(--display);font-stretch:104%;font-size:18px;font-weight:700;letter-spacing:-.01em;line-height:1.2}
.ma-x span{font-size:14px;color:#556079;line-height:1.3}
.ma-ar{flex:none;width:30px;height:30px;border-radius:50%;background:#D7141E;color:#fff;display:grid;place-items:center;transition:transform .3s cubic-bezier(.2,.7,.2,1)}
.ma-ar svg{width:16px;height:16px}
@media (hover:hover){.ma-sv a:hover .ma-ar{transform:translateX(3px)}}
.ma-lk{display:flex;gap:8px;margin-top:28px}
.ma-lk a{flex:1;text-align:center;font-size:15px;font-weight:600;color:#04163F;background:#F3F5F9;border-radius:999px;padding:15px 6px;white-space:nowrap;transition:background-color .2s}
@media (hover:hover){.ma-lk a:hover{background:#E9EEF6}}
.ma-lk a.on{background:#04163F;color:#fff}
.ma-ct{margin-top:auto;padding-top:24px}
.ma-ct .mm-box{background:#04163F;border-radius:22px;padding:22px 18px 18px;text-align:center;display:flex;flex-direction:column;align-items:stretch;gap:6px}
.ma-ct p{font-size:15px;color:rgba(255,255,255,.72);margin:0}
.ma-tel{display:inline-flex;align-self:center;align-items:center;gap:10px;font-family:var(--display);font-stretch:104%;font-size:27px;font-weight:700;letter-spacing:-.01em;color:#fff;padding:4px 0 12px}
.ma-tel svg{width:24px;height:24px;color:#fff}
.ov.mA .ma-ct .btn{width:100%;justify-content:center;min-height:54px}

/* tablette (721 à 1000 px) : bandeau du menu calé sur le header fermé de cette taille */
@media (min-width:721px){
  .ov.mA .ov-top{height:76px;margin:16px 48px 0;padding:0 15px 0 30px}
  .ov.mA .ov-top img{height:36px}
  .ov.mA .ov-x{min-height:46px}
}
/* petits écrans (360 × 780 et moins) */
@media (max-height:800px){
  .ov.mA .mm{padding-top:20px}
  .ma-sv a{padding:11px 12px 11px 10px}.ma-ic{width:46px;height:46px}.ma-ic svg{width:26px;height:26px}
  .ma-lk{margin-top:18px}.ma-lk a{padding:13px 6px}
}

@media (prefers-reduced-motion:reduce){
  .ov.mA,.ov.mA.open{transition:none}
  .ov.mA .mm-in,.ov.mA.open .mm-in,.ov.mA .mm-box.mm-in,.ov.mA.open .mm-box.mm-in{transition:none;transform:none}
  .ov.mA .mm-in{opacity:0}.ov.mA.open .mm-in{opacity:1}
}

/* 17/10/2026 : pied de page, logo vertical entièrement blanc (Khamis : « passe le logo en full blanc pour le footer »).
   Le slogan est dans le logo : la ligne de slogan en texte en dessous est masquée pour ne pas le répéter. */
.home .ftr .brand img.logo-v{height:132px;width:auto;display:block}
.home .ftr .brand:has(img.logo-v){display:inline-block;margin-bottom:28px}
.home .ftr .brand:has(img.logo-v) + .slog{display:none}
@media (max-width:720px){.home .ftr .brand img.logo-v{height:112px}}

/* 18/10/2026 (retour iPhone de Khamis) : menu ouvert = panneau opaque plein écran, sans découpe, défilable, bas stable.
   Après l'ouverture, plus de clip-path (classe « done », v4.js) ; hauteur dynamique de l'écran ; le bloc contact reste en bas
   du panneau, sans transformation résiduelle ; le fond blanc couvre toute la hauteur même quand la barre de Safari bouge. */
.ov.mA{top:0;bottom:auto;height:100vh;height:100dvh;min-height:-webkit-fill-available;-webkit-overflow-scrolling:touch}
.ov.mA.open.done{clip-path:none}
.ov.mA .mm{min-height:calc(100dvh - 76px)}
.ov.mA.open .mm-box.mm-in{will-change:auto}
.ov.mA .ma-ct{position:relative;z-index:1;background:#fff}
.ov.mA .ma-ct .btn{flex:none;transform:none !important;border-radius:999px;white-space:nowrap}
