/* Footer partagé desktop ; mêmes réseaux dans le footer public mobile. */
.cf-site-footer {display:none}
:is(.cf-site-footer,.public-footer-mobile) .cf-footer-socials {display:flex;align-items:center;gap:12px;flex:none}
:is(.cf-site-footer,.public-footer-mobile) .cf-social {display:flex;align-items:center;justify-content:center;width:44px;min-height:44px;box-sizing:border-box;color:#456074;text-decoration:none}
:is(.cf-site-footer,.public-footer-mobile) .cf-social svg {fill:currentColor;width:22px;height:22px;display:block}
:is(.cf-site-footer,.public-footer-mobile) .cf-social:hover {color:#005956}
:is(.cf-site-footer,.public-footer-mobile) .cf-social:focus-visible {outline:3px solid #008f91;outline-offset:3px;border-radius:4px}
@media (max-width:1023px) {
  .public-footer-mobile .cf-footer-socials {justify-content:center;margin-top:20px}
}
@media (min-width:1024px) {
  :root:has(body:is(.public-site,.page-home,.page-battle,.page-election,.page-carnet,.page-espace,.page-partage)),
  html.cf-app :is(.scroll,#view,.sheet,.lxsheet) {scrollbar-width:none!important}
  :root:has(body:is(.public-site,.page-home,.page-battle,.page-election,.page-carnet,.page-espace,.page-partage)) {scrollbar-gutter:auto}
  :root:has(body:is(.public-site,.page-home,.page-battle,.page-election,.page-carnet,.page-espace,.page-partage))::-webkit-scrollbar,
  html.cf-app :is(.scroll,#view,.sheet,.lxsheet)::-webkit-scrollbar {display:none!important;width:0!important}
  .public-site > .public-footer {display:none}
  .cf-site-footer {
    position:relative;z-index:1;display:flex;align-items:center;justify-content:space-between;
    width:100%;max-width:1200px;grid-column:1/-1;flex:none;
    margin:38px auto 0;padding:26px 0 30px;gap:28px;
    border:0;border-top:1px solid #e5ded2;background:transparent;
    font:400 14px/1.55 system-ui,sans-serif;color:#082333;
    box-sizing:border-box;text-align:left;
  }
  .public-site > .cf-site-footer,.page-partage > .cf-site-footer {width:var(--cf-layout-width);margin-top:60px}
  .cf-site-footer * {box-sizing:border-box}
  .cf-site-footer a {color:#007b78;text-decoration:underline;text-underline-offset:3px}
  .cf-site-footer a:hover {color:#005956}
  .cf-site-footer a:focus-visible {outline:3px solid #008f91;outline-offset:5px}
  .cf-site-footer .cf-footer-brand {flex:0 0 var(--cf-logo-width);min-width:0}
  .cf-site-footer .cf-footer-brand a {display:block;width:100%}
  .cf-site-footer .cf-footer-brand img {display:block;width:100%;height:76px;object-fit:cover;max-width:none}
  .cf-site-footer .cf-footer-brand p {font:400 12px/1.5 system-ui,sans-serif;color:#456074;margin:0;white-space:normal}
  .cf-site-footer nav {display:flex;flex-wrap:wrap;align-content:center;gap:10px 24px;max-width:530px}
  .cf-site-footer nav a {font:400 14px/1.55 system-ui,sans-serif;min-height:32px;display:flex;align-items:center}
  .cf-site-footer .cf-social small {font:400 10px/1.3 system-ui,sans-serif}
  .page-carnet #view > .scroll > .cf-site-footer {margin-top:32px}
  .page-battle .shell[data-phase="intro"] > .cf-site-footer {margin-top:0}
  :is(.page-battle,.page-election):has(#view > .arena) .cf-site-footer {display:none}
  @media (max-width:1200px) {
    .cf-site-footer {gap:18px}
    .cf-site-footer nav {gap:8px 18px}
    .cf-site-footer nav a {font-size:13px}
  }
}
