/* Ajustements mobiles — L'Onde Silencieuse
   Ces règles ne s'appliquent qu'en dessous de 900px.
   Le rendu desktop n'est pas modifié. */

@media (max-width: 900px) {
  /* En-tête : uniquement le bouton burger, à droite.
     Pas de logo, pas de bandeau horizontal, même après défilement. */
  .londe-sticky-header,
  .londe-sticky-header.scrolled {
    top: 10px;
    right: 10px;
    left: auto;
    width: auto;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    transform: none;
    justify-content: flex-end;
  }

  .londe-sticky-header .londe-sticky-logo {
    display: none !important;
  }

  .londe-sticky-header .londe-sticky-burger {
    margin-left: 0;
  }

  .londe-sticky-header .londe-sticky-nav {
    top: calc(100% + 10px);
    right: 0;
    left: auto;
    width: min(320px, calc(100vw - 20px));
    max-height: calc(100vh - 90px);
    overflow-y: auto;
  }

  /* Footer : tout centré et aligné, sans toucher au desktop. */
  footer.wp-block-template-part .wp-block-social-links.is-vertical {
    flex-direction: row !important;
    flex-wrap: wrap;
    align-items: center !important;
    justify-content: center !important;
    gap: 14px 22px !important;
  }

  footer.wp-block-template-part .wp-block-social-links.is-vertical li {
    width: auto !important;
    flex: 0 0 auto;
  }

  footer.wp-block-template-part .has-text-align-right {
    text-align: center !important;
  }

  footer.wp-block-template-part .wp-block-site-logo img.custom-logo {
    width: 120px;
    max-width: 120px;
    height: auto;
  }
}
