.table-etapes-canal {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.95rem;
}

.table-etapes-canal th,
.table-etapes-canal td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #e0e0e0;
  text-align: left;
}

.table-etapes-canal thead th {
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
}

.table-etapes-canal tbody tr:nth-child(even) {
  background-color: #f8f8f8;
}

/* Bouton OpenRunner */
.btn-openrunner {
  display: inline-block;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  background-color: #008f5a;
  color: #ffffff;
  transition: transform 0.1s ease, box-shadow 0.1s ease, background-color 0.15s ease;
}

.btn-openrunner:hover,
.btn-openrunner:focus {
  background-color: #006f46;
  box-shadow: 0 0.15rem 0.4rem rgba(0, 0, 0, 0.18);
  transform: translateY(-1px);
}
.table-etapes-canal {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.95rem;
}

.table-etapes-canal th,
.table-etapes-canal td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #e0e0e0;
  text-align: left;
}

.table-etapes-canal thead th {
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
}

.table-etapes-canal tbody tr:nth-child(even) {
  background-color: #f8f8f8;
}

/* Bouton OpenRunner */
.btn-openrunner {
  display: inline-block;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  background-color: #008f5a;
  color: #ffffff;
  transition: transform 0.1s ease, box-shadow 0.1s ease, background-color 0.15s ease;
}

.btn-openrunner:hover,
.btn-openrunner:focus {
  background-color: #006f46;
  box-shadow: 0 0.15rem 0.4rem rgba(0, 0, 0, 0.18);
  transform: translateY(-1px);
}

/* --- Corrections footer mobile : logo + 3 boutons --- */
@media (max-width: 768px) {

  /* Remettre le texte des boutons à l’horizontale */
  footer .wp-block-button a,
  footer .wp-block-button__link,
  footer .footer-button a {
    writing-mode: horizontal-tb !important;
    transform: none !important;
    white-space: normal !important;
    display: inline-block;
  }

  /* Éviter que le bouton soit trop étroit */
  footer .wp-block-button,
  footer .footer-button {
    width: auto;
    min-width: 30%;
    text-align: center;
  }

  /* Forcer l’affichage du logo en version mobile */
  footer img {
    display: block !important;
    max-width: 120px;
    height: auto;
    margin: 0 auto 12px;
  }

  /* Mise en forme du bloc logo + boutons si tout est dans un même groupe */
  footer .wp-block-group,
  footer .footer-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  footer .wp-block-group .wp-block-buttons,
  footer .footer-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: nowrap;
  }
}
/* =====================================================
   LOGO HEADER : BLANC SUR IMAGE / VERT AU SCROLL
   ===================================================== */

.logo-switch {
  filter: brightness(0) invert(1);
  transition: filter 0.2s ease;
}

.header-scrolled .logo-switch {
  filter: none;
}

