@media (max-width: 781px) {
  /* Overflow global */
  html, body {
    overflow-x: hidden !important;
    max-width: 100% !important;
  }
  /* Header mobile centré */
  .site-header {
    justify-content: center !important;
  }
  .header-content {
    position: relative !important;
    justify-content: center !important;
  }
  .header-content .wp-block-navigation__responsive-container-open {
    position: absolute !important;
    right: 0 !important;
  }
  .wp-block-site-logo,
  .wp-block-site-title {
    margin: 0 auto !important;
  }
  /* Masquer le bouton Comparer dans le header */
  .site-header .wp-block-button,
  .site-header .wp-block-buttons {
    display: none !important;
  }
  /* Padding global minimal */
  .wp-block-group,
  .wp-block-ainoblocks-grid-container {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }
  /* Réduction des espacements entre sections */
  .wp-block-group.alignfull {
    padding-top: 32px !important;
    padding-bottom: 32px !important;
  }
  /* Titres — taille uniforme */
  h1, h2, h3,
  .has-text-xxl-font-size,
  .has-text-xl-font-size,
  .has-text-l-font-size,
  .wp-block-heading {
    font-size: 20px !important;
    line-height: 1.2 !important;
  }
  /* Textes — taille uniforme */
  p, li,
  .has-text-m-font-size,
  .has-text-s-font-size {
    font-size: 14px !important;
    line-height: 1.6 !important;
  }
  /* Labels type "NOTRE MISSION" */
  .has-text-xxs-font-size,
  .has-text-xs-font-size {
    font-size: 10px !important;
  }
  /* Titre article blog */
  .wp-block-post-title {
    font-size: 14px !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
    hyphens: auto !important;
  }
  /* Catégorie article */
  .wp-block-post-terms { font-size: 11px !important; }
  /* Masquer extraits articles */
  .wp-block-post-excerpt { display: none !important; }
  /* Cacher les animations Notre mission, En quelques minutes, FAQ */
  .mn2-wrap,
  .cmp2-wrap,
  .faq3-wrap {
    display: none !important;
  }
  /* Animation hero gardée */
  .h1a-wrap {
    overflow: hidden;
    min-height: 220px !important;
    margin-bottom: calc(-480px * 0.55) !important;
  }
  .h1a-scene {
    width: 100% !important;
    transform: scale(0.45);
    transform-origin: top center;
  }
  /* Menu */
  .wp-block-navigation__responsive-container { display: none !important; }
  .wp-block-navigation__responsive-container.is-menu-open { display: flex !important; }
}

/* Shiny button */
.btn-shine {
  overflow: hidden !important;
  position: relative !important;
}
.btn-shine::after {
  content: '';
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.3), transparent);
  animation: btn-shimmer 3s ease-in-out infinite;
  pointer-events: none;
}
@keyframes btn-shimmer {
  0% { left: -75%; opacity: 0; }
  10% { opacity: 1; }
  50% { left: 125%; opacity: 1; }
  51% { opacity: 0; }
  100% { left: 125%; opacity: 0; }
}
