@media (max-width: 768px) {
  /* Centrage général */
  body, main, header, footer, nav, section, article, div, p, h1, h2, h3, h4, h5, h6 {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }

@media (max-width: 768px) {
  .has-text-align-left {
    text-align: center !important;
  }
}

@media (max-width: 768px) {
  /* Centrer tous les boutons */
  .wp-block-button, .wp-block-buttons {
    display: flex;
    justify-content: center;
  }

  .wp-block-button__link {
    text-align: center;
    padding: 12px 24px;
    font-size: 16px;
    margin: 15px auto;
    display: inline-block;
  }
}

  /* Titres */
  h1, h2, h3 {
    font-size: 6vw;
    line-height: 1.2;
  }

  /* Paragraphes */
  p {
    font-size: 4.5vw;
    line-height: 1.5;
  }

  /* Images */
  img {
    max-width: 100%;
    height: auto;
    display: block;
    margin-left: auto;
    margin-right: auto;
  }

  /* Boutons */
  .wp-block-button__link, button, .button {
    padding: 12px 20px;
    font-size: 16px;
    display: inline-block;
    margin: 10px auto;
    text-align: center;
  }

  /* Liens du menu */
  nav a, .menu a, .mobile-menu a, .offcanvas-menu a, .menu-modal a, .menu-wrapper a {
    color: #ffffff !important;
    font-size: 24px;
    font-weight: 600;
    margin: 15px 0;
    text-decoration: none;
    display: block;
  }

  /* Survol des liens */
  nav a:hover, .menu a:hover, .mobile-menu a:hover, .offcanvas-menu a:hover, .menu-modal a:hover, .menu-wrapper a:hover {
    color: #a3c8ff !important;
  }

  /* Croix de fermeture du menu (si bouton ajouté manuellement) */
  .close-menu-button {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 36px;
    color: #ffffff;
    background: none;
    border: none;
    z-index: 9999;
    cursor: pointer;
  }
}

@media (max-width: 768px) {
  /* Centrer tous les boutons */
  .wp-block-button, .wp-block-buttons {
    display: flex;
    justify-content: center;
  }

  .wp-block-button__link {
    text-align: center;
    padding: 12px 24px;
    font-size: 16px;
    margin: 15px auto;
    display: inline-block;
  }
}