/* ============================================================
   RéFEB · ajustements WordPress
   (le design principal reste dans style.css)
   ============================================================ */

/* Barre d'administration WordPress */
body.admin-bar .header { top: 32px; }
@media (max-width: 782px) {
  body.admin-bar .header { top: 46px; }
}

/* Éviter le débordement des images insérées dans l'éditeur */
.entry-content img { max-width: 100%; height: auto; }

/* Section vidéo */
.video-feature {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.video-feature__txt p {
  color: rgba(250, 246, 236, .78);
  margin-block: 1rem 1.8rem;
  max-width: 46ch;
}
.video-feature__media { min-width: 0; }
.video-embed {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  padding: 0;
  border: 0;
  border-radius: 20px;
  overflow: hidden;
  cursor: pointer;
  background: #04150e;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .65);
}
.video-embed img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .82;
  transition: transform .5s ease, opacity .3s ease;
}
.video-embed:hover img { transform: scale(1.03); opacity: .9; }
.video-embed__play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  pointer-events: none;
}
.video-embed__play svg {
  width: 82px;
  height: auto;
  filter: drop-shadow(0 10px 24px rgba(0, 0, 0, .45));
}
.video-embed__bg { fill: #c8452f; }
.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
@media (max-width: 900px) {
  .video-feature { grid-template-columns: 1fr; }
}

/* Formulaire d'adhésion WordPress */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form__msg.is-error { color: #b23c2a; }
.form__msg.is-ok { color: var(--emerald); }

/* Petites corrections d'alignement */
.footer__bottom { flex-wrap: wrap; gap: .6rem 1.6rem; }
