/* Reset */
* { margin: 0; padding: 0; box-sizing: border-box; }
html, body {
  height: 100%;
  background: black;
  color: white;
  font-family: "Segoe UI", Helvetica, Arial, sans-serif;
}

/* Section hero (la page-note est gérée sous les mid-links via common.css si besoin) */
.hero {
  min-height: calc(100vh - 64px);
  padding-top: 64px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.page-note {
  color: #fff;
  opacity: .9;
  max-width: 800px;
  text-align: center;
  font-size: 14px;
  line-height: 1.5;
  padding: 0 16px;
}

/* ==============================
   GALERIE : 2 colonnes fixes, PAS DE TROUS
   - chaque rangée prend la hauteur du plus grand des 2 médias
   - les médias remplissent (crop possible) => pas d'espace vide
   - marge gauche/droite + petit gap central
   ============================== */
:root {
  --gallery-gap: 10px;          /* espace entre colonnes et lignes */
  --gallery-side-padding: 15px; /* marge gauche/droite de l'écran */
}
/* Galerie inchangée (flex 2 colonnes + gap) */
.gallery {
  display: flex;
  flex-wrap: wrap;
  gap: var(--gallery-gap);
  padding: 20px var(--gallery-side-padding) 60px;
}

/* Chaque item prend 50% de la largeur moins le gap */
.gallery .item {
  flex: 1 1 calc(50% - var(--gallery-gap) / 2);
  display: flex;
  justify-content: center;
  align-items: center;
  background: #000;
  border-radius: 4px;
  overflow: hidden;
}

/* Images et vidéos affichées en entier, sans rognage */
.gallery img,
.gallery video {
  width: 100%;
  height: auto;          /* hauteur libre */
  object-fit: contain;   /* pas de coupe */
  display: block;
  background: #000;
}

}

/* Vidéos en “gif” : autoplay, muet, boucle déjà dans le HTML */
.play-button { display: none; } /* non utilisé ici */
