
.bases-salut {
    display: flex;
    flex-direction: column;
    gap: 40px;
    padding: 20px;
}

.salut-card {
    background: #f7f7f7;
    border-left: 6px solid #b30000;
    padding: 20px;
    border-radius: 6px;
}

.salut-card h2 {
    font-family: "Noto Serif JP", serif;
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.salut-content {
    display: flex;
    justify-content: center;
    gap: 40px; /* espace entre les deux blocs */
    align-items: flex-start;
}
.salut-block {
    display: flex;
    flex-direction: column; /* empile titre + image */
    align-items: center;
    width: 100%;
    max-width: 450px; /* même largeur que tes images */
}

.salut-title {
    margin-bottom: 10px;
    text-align: center;
}

.salut-img {
    width: 220px;
    border-radius: 6px;
    cursor: pointer;
    transition: transform 0.2s;
}

.salut-img:hover {
    transform: scale(1.03);
}
.salut-card.vertical {
    background: #f7f7f7;
    border-left: 6px solid #b30000;
    padding: 20px;
    border-radius: 6px;
    text-align: center; /* important */
}

.salut-img-large {
    width: 100%;
    max-width: 450px; /* image plus grande */
    margin: 0 auto 20px auto;
    border-radius: 6px;
    cursor: pointer;
    transition: transform 0.2s;
}

.salut-img-large:hover {
    transform: scale(1.03);
}

.salut-card.vertical p {
    text-align: left; /* texte lisible */
    margin: 10px auto;
    max-width: 600px; /* pour éviter les lignes trop longues */
}
.image-popup {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.85);
  justify-content: center;
  align-items: center;
  z-index: 9999;
}
.image-popup img {
  max-width: 90%;
  max-height: 90%;
  border: 3px solid white;
  border-radius: 8px;
}
.zoomable:hover {
  cursor: pointer;
  opacity: 0.8;
}
.video-hint {
  text-align: center;
  font-size: 0.7rem;     /* plus petit */
  margin-bottom: 5px;    /* rapproche du visuel */
  color: #555;           /* gris élégant */
  font-style: italic;    /* optionnel, donne un effet discret */
}
.planche-overlay .video-hint {
  position: absolute;
  top: 20px;              /* place le texte en haut du popup */
  width: 100%;
  text-align: center;
  font-size: 0.9rem;
  color: #ddd;            /* gris clair pour fond sombre */
  font-style: italic;
  pointer-events: none;   /* évite que le texte bloque le clic sur l’image */
}

.popup {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  justify-content: center;
  align-items: center;
  z-index: 9999;
  padding: 10px;
}

.popup-content {
  background: #fff;
  padding: 25px;
  border-radius: 12px;
  max-width: 90vw;
  max-height: 90vh;
  overflow-y: auto;
  font-family: "Noto Serif JP", serif;
}

.popup-title {
  text-align: center;
  margin-bottom: 8px;
  font-size: 1.6rem;
  color: #b30000;
}

.popup-image {
  display: block;
  margin: 0 auto 15px auto;
  max-width: 100%;
  max-height: 40vh;
  object-fit: contain;
  border-radius: 8px;
}

.popup-intro {
  font-size: 1rem;
  margin-bottom: 14px;
  line-height: 1.2;
}

.popup-section-title {
  font-size: 1.2rem;
  margin-top: 8px;
  margin-bottom: 3px;
  color: #333;
  font-weight: bold;
}

.popup-list {
  list-style: disc;
  padding-left: 30px;
  margin-top: 5px;
  margin-bottom: 8px;
  line-height: 1.3;
}
.popup-subtitle-secondary {
  text-align: center;
  margin-top: -10px;   /* rapproche du titre */
  margin-bottom: 15px;
  font-size: 1.1rem;
  color: #555;
  font-style: italic;
}
/* Onglets */
.kata-levels {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    justify-content: center;
}
.level {
    padding: 10px 20px;
    background: #eee;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.2s;
}
.level:hover {
    background: #ddd;
}

/* Bloc de katas */
.kata-block {
    margin-bottom: 30px;
}

/* Liste des katas */
.kata-list {
    list-style: none;
    padding: 0;
}
.kata-list li {
    padding: 6px 0;
    cursor: pointer;
    font-size: 18px;
    transition: 0.2s;
}
.kata-list li:hover {
    color: #d00;
    text-decoration: underline;
}

/* Overlay planche plein écran */
.planche-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.85);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}
.planche-overlay img {
    max-width: 90%;
    max-height: 90%;
    border: 3px solid white;
    cursor: pointer;
}

/* Vidéo plein écran */
.kata-player {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.95);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 99999;
}
.kata-player video {
    max-width: 90%;
    max-height: 90%;
}