/* Menu et pied de page communs a toutes les pages publiques (01/11/2026). */
.menu-pc{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:0 6px;margin:0;padding:6px 12px;background:#0b1f33;font:500 .95rem/1.2 system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;position:relative;z-index:50}
.menu-pc a{display:inline-flex;align-items:center;min-height:44px;padding:0 10px;color:#e8f4f2;text-decoration:none;white-space:nowrap}
.menu-pc a:hover,.menu-pc a:focus-visible{color:#fff;text-decoration:underline}
.menu-pc a.menu-pc-cta{color:#0b1f33;background:#f2b134;border-radius:8px;min-height:40px;margin-left:4px;font-weight:700}
.menu-pc a.menu-pc-cta:hover{text-decoration:none;background:#ffc654;color:#0b1f33}
.pied-commun{margin:0;padding:18px 16px 24px;background:#0b1f33;color:#cfe3e0;text-align:center;font:400 .92rem/1.4 system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif}
.pied-commun nav{display:flex;flex-wrap:wrap;justify-content:center;gap:0 6px}
.pied-commun a{display:inline-flex;align-items:center;min-height:44px;padding:0 10px;color:#e8f4f2;text-decoration:underline}
.pied-commun p{margin:6px 0 0;opacity:.85}
@media (max-width:480px){.menu-pc{font-size:.9rem;padding:4px 6px}.menu-pc a{padding:0 8px}}
/* Neutralise les styles de nav des pages documents (pastilles bordees) */
nav.menu-pc,.pied-commun nav{display:flex!important;flex-wrap:wrap;grid-template-columns:none}
nav.menu-pc a,.pied-commun nav a{border:0!important;border-radius:0;background:none;box-shadow:none;margin:0;font-weight:500}
nav.menu-pc a.menu-pc-cta{background:#f2b134;color:#0b1f33;border-radius:8px;font-weight:700;margin-left:4px}
nav.menu-pc a:focus-visible,.pied-commun nav a:focus-visible{outline:3px solid #f2b134;outline-offset:2px}
body>.menu-pc,body>.pied-commun{flex:0 0 100%;width:100%;box-sizing:border-box}
.page>.menu-pc{margin:0}

/* ---- Corrections 05/11/2026 ---- */
/* Menu : liste en ligne sur grand ecran, bouton "Menu" sur telephone */
.menu-pc-bouton{display:none}
.menu-pc-liste{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:0 6px}
.menu-pc-bouton{align-items:center;gap:8px;min-height:44px;padding:0 14px;border:1px solid rgba(232,244,242,.45);border-radius:8px;background:transparent;color:#e8f4f2;font:inherit;font-weight:600;cursor:pointer}
.menu-pc-bouton::after{content:"";width:8px;height:8px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:translateY(-2px) rotate(45deg);transition:transform .15s}
.menu-pc-bouton[aria-expanded="true"]::after{transform:translateY(1px) rotate(-135deg)}
.menu-pc-bouton:focus-visible{outline:3px solid #f2b134;outline-offset:2px}
@media (max-width:600px){
  .menu-pc{flex-wrap:nowrap;justify-content:space-between;padding:6px 12px}
  nav.menu-pc{flex-wrap:nowrap}
  .menu-pc-bouton{display:inline-flex}
  .menu-pc.menu-js .menu-pc-liste{display:none}
  .menu-pc.menu-js .menu-pc-liste.ouvert{display:flex;flex-direction:column;align-items:stretch;position:absolute;top:100%;left:0;right:0;padding:6px 12px 12px;background:#0b1f33;border-top:1px solid rgba(232,244,242,.2);box-shadow:0 14px 30px rgba(0,0,0,.35)}
  .menu-pc.menu-js .menu-pc-liste a{min-height:48px;padding:0 6px;white-space:normal}
  .menu-pc:not(.menu-js) .menu-pc-bouton{display:none}
  .menu-pc:not(.menu-js){flex-wrap:wrap;justify-content:center}
  /* un seul bouton "Je m'inscris" en haut : celui du menu */
  body.pc-public .hero .nav-actions{display:none}
}
/* Pages secondaires : bandeau et pied en pleine largeur */
body:has(>main.page)>.menu-pc{margin:-24px -24px 24px;width:auto}
body:has(>main.page)>.pied-commun{margin:30px -24px -24px;width:auto}
@media (max-width:620px){
  body:has(>main.page)>.menu-pc{margin:-12px -12px 16px}
  body:has(>main.page)>.pied-commun{margin:24px -12px -12px}
}
/* Pied : contraste et liens simples (WCAG AA) */
.pied-commun p{color:#dbe9e6;opacity:1;margin:6px 0 0;font-size:.92rem}
.pied-commun p a{display:inline;min-height:0;padding:2px 2px;background:none;border-radius:0;color:#fff;font-weight:600;text-decoration:underline}
.pied-commun{border-top:0}
/* Accueil ordinateur : moins de vides a droite */
@media (min-width:900px){
  body.pc-public .identite-entreprise .wrap{display:grid;grid-template-columns:1fr 1fr;column-gap:48px;align-items:start}
  body.pc-public .identite-entreprise .badge-enregistree{grid-column:1/-1;justify-self:start}
  body.pc-public .identite-entreprise .identite-lignes{grid-column:1;grid-row:2/4}
  body.pc-public .identite-entreprise .identite-verif{grid-column:2;grid-row:2}
  body.pc-public .identite-entreprise .wa-bouton-ligne{grid-column:2;grid-row:3}
  body.pc-public .verifier{max-width:none}
  body.pc-public .verifier ul{grid-template-columns:1fr 1fr;column-gap:32px}
  body.pc-public .journee{max-width:none}
  body.pc-public .journee ol{grid-template-columns:1fr 1fr;column-gap:32px}
}
/* Page d'inscription : bandeau et pied en pleine largeur sur ordinateur */
@media (min-width:621px){
  body:has(main.carte)>.menu-pc,body:has(main.carte)>.pied-commun{margin-left:-24px;margin-right:-24px;width:calc(100% + 48px)}
  body:has(main.carte)>.menu-pc{margin-top:-24px}
}
/* Accueil ordinateur : la colonne de droite accompagne la lecture au lieu de laisser un grand vide */
@media (min-width:900px){
  body.pc-public .hero-v2 .hero-cote{position:sticky;top:16px;align-self:start}
}
@media (min-width:621px){
  body:has(main.carte)>.menu-pc,body:has(main.carte)>.pied-commun{margin-left:-24px!important;margin-right:-24px!important;flex:0 0 calc(100% + 48px)!important;width:calc(100% + 48px)!important;max-width:none!important}
}
/* ---- Serie 3 (05/11/2026) : bouton WhatsApp rond, telephone seulement ---- */
.wa-flottant{display:none}
@media (max-width:600px){
  .menu-pc{position:relative;z-index:50}
  .wa-flottant{display:flex;align-items:center;justify-content:center;position:fixed;right:max(14px,env(safe-area-inset-right));bottom:max(14px,env(safe-area-inset-bottom));width:52px;height:52px;border-radius:50%;background:#0a7a43;color:#fff;box-shadow:0 6px 18px rgba(0,0,0,.3);z-index:30;transition:opacity .15s,visibility .15s}
  .wa-flottant svg{width:28px;height:28px;display:block}
  .wa-flottant:focus-visible{outline:3px solid #f2b134;outline-offset:3px}
  .wa-flottant.wa-cache{opacity:0;visibility:hidden;pointer-events:none}
  body.avec-action-mobile .wa-flottant{bottom:calc(max(12px,env(safe-area-inset-bottom)) + 80px)}
  body.wa-actif .pied-commun{padding-bottom:calc(14px + 64px + env(safe-area-inset-bottom))}
}
/* TABLETTE-20261107 : de 621 a 999 px le corps de la page d inscription n a pas de marge laterale ; les marges negatives du bandeau et du pied faisaient deborder la page de 24 px */
@media (min-width:621px) and (max-width:999px){body:has(main.carte)>.menu-pc,body:has(main.carte)>.pied-commun{margin-left:0!important;margin-right:0!important;flex:0 0 100%!important;width:100%!important}}

/* ---- LOT-C-20261115 (point 62) : sur telephone, la bulle WhatsApp et la barre « Je m'inscris » ne cachent plus le texte ---- */
@media (max-width:600px){
  /* une seule action flottante a la fois : quand la barre « Je m'inscris » existe, la bulle se retire (WhatsApp reste dans la page) */
  body.avec-action-mobile .wa-flottant{display:none!important}
  /* place reservee en bas de page sous le dernier texte : hauteur de la barre (68 px) + marges + zone systeme */
  body.avec-action-mobile{padding-bottom:calc(104px + env(safe-area-inset-bottom))!important}
  /* bulle seule : un peu plus petite (zone tactile de 48 px gardee) */
  .wa-flottant{width:48px;height:48px}
  /* passe 2 : repliee pendant le defilement et tant qu'un texte se trouve dessous (menu-commun.js) */
  .wa-flottant.wa-repli{opacity:0;visibility:hidden;pointer-events:none}
}
