/* Style pour toute la présentation de index.php */

/* **** ToDo simplifier et enlever les doublons */
.presentation.container { /* priorité + importante, surcharge container  */
  border-radius: 20px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
  padding: 4em 1.5em;
  text-align: center;
  border-bottom: 2px solid #8c1c13;
}
/*
  Ceci cible tous les h1 qui sont à l'intérieur d'un élément
  ayant les deux classes 'container' et 'presentation'.

*/
.presentation.container h1 {
  margin-top: -0.2em;
}
.hero {
background: linear-gradient(135deg, #f1ead5 0%, #cec5b9 100%);}

.hero h1 {
  font-size: 2.2em;
  color: #8c1c13;
  font-family: "Noto Serif JP", serif;
  margin-bottom: 0.8em;
  line-height: 1.4;
}

.hero .subtitle {
  background-color: rgba(255, 255, 255, 0.4);
  padding: 1.2em;
  border-radius: 1.5em;
  font-size: 1.1em;
  font-weight: 500;
  color: #333;
  max-width: 600px;
  margin: 0 auto 2em auto;
  line-height: 1.6;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.kanji-demo {
  background-color: rgba(255, 255, 255, 0.7); /* fond blanc semi-transparent */
  border: 1px solid #d3c6aa; /* bordure beige douce */
  border-radius: 12px;
  padding: 1em 1.5em;
  margin: 1.5em 0;
  font-size: 2em;
  text-align: center;
  box-shadow: 0 0 15px rgba(0,0,0,0.05);
  font-family: 'Noto Serif JP', serif;

  /* Ajout d’une texture légère */
  background-image: url('images/washi_texture.png'); /* à placer dans ton dossier images */
  background-repeat: repeat;
  background-size: cover;
  backdrop-filter: blur(1px);
}

.hero .cta-button {
  background: linear-gradient(135deg, #8c1c13, #a73626);
  color: white;
  padding: 1em 2em;
  font-size: 1.1em;
  border: none;
  border-radius: 2em;
  text-decoration: none;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  transition: background 0.3s ease;
}

.hero .cta-button:hover {
  background: linear-gradient(135deg, #a73626, #c1402f);
}
/* style presentation personnage */

.characters {
  padding: 4em 1em;
  background: #fff7fa;
  text-align: center;
}

.character-cards {
  display: flex;
  flex-direction: column;
  gap: 2em;
  margin-top: 2em;
}

.character-card {
  border-radius: 20px;
  padding: 1.5em;
  box-shadow: 0 5px 12px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s;
  background: #fff;
}

.character-card:hover {
  transform: scale(1.02);
}

.character-emoji {
  font-size: 2.4em;
  display: block;
  margin-bottom: 0.5em;
}

/* Couleurs spécifiques */
.character-card.kenta {
  background: #e6f0ff;
  border: 2px solid #66aaff;
}

.character-card.mari {
  background: #fff0f5;
  border: 2px solid #ff99c8;
}

.character-card.yuko {
  background: #ffeaea;
  border: 2px solid #ffaaaa;
}

.character-card h3 {
  font-size: 1.4em;
  margin-bottom: 0.5em;
  color: #cc3366;
}

.character-card p {
  font-size: 1.05em;
  line-height: 1.6;
}

@media (min-width: 768px) {
  .character-cards {
    flex-direction: row;
    justify-content: space-around;
  }

  .character-card {
    width: 30%;
  }
}

@media (min-width: 768px) {
  .character-cards {
    flex-direction: row;
    justify-content: space-around;
  }

  .character-card {
    width: 30%;
  }
}

/* style methode */

#pourquoi-unique {
  background-color: #fffdf9;
  text-align: left;
  margin: 0 auto;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}

#pourquoi-unique .notes-title {
  font-size: 2em;
  text-align: center;
  margin-bottom: 1em;
  color: #cc3366;
}

#pourquoi-unique .japanese-name {
  position: relative;
  display: inline-block;
  font-weight: bold;
}

#pourquoi-unique .japanese-name .translation {
  position: absolute;
  bottom: -1.4em;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.7em;
  color: #666;
  opacity: 0.85;
  font-style: italic;
}

#pourquoi-unique p {
  font-size: 1.15em;
  line-height: 1.8;
  margin-bottom: 1.5em;
}

#pourquoi-unique ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 1.5em;
}

#pourquoi-unique ul li {
  background: #f9f3ff;
  border-left: 6px solid #cc99ff;
  border-radius: 8px;
  padding: 1em;
  margin-bottom: 1em;
  font-size: 1.05em;
  line-height: 1.6;
  display: flex;
  align-items: center;
  gap: 0.8em;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

#pourquoi-unique ul li::before {
  content: '🌟';
  font-size: 1.2em;
}

#pourquoi-unique ul li strong {
  color: #cc3366;
}
.notes-title {
  font-size: 2em;
  text-align: center;
  margin-bottom: 1em;
  color: #cc3366;
  line-height: 1.3;
}

.notes-title .kanji-logo {
  font-weight: bold;
}

.notes-title .subtitle-furigana {
  font-size: 1em;
  color: #666;
  font-style: italic;
  display: block;
  margin-top: 0.2em;
}

.kanjiyomou-slogan {
  font-size: 1.25em;
  text-align: center;
  margin: 2em 0 0;
  padding: 1em;
  background: #fff8f5;
  border-left: 6px solid #ff7e5f;
  border-radius: 8px;
  line-height: 1.6;
  color: #333;
  font-weight: 500;
}

.kanjiyomou-slogan .chemin {
  color: #e85a4f;
  font-weight: bold;
}

.citation-manifeste {
  margin: 2em auto;
  padding: 1.2em 1.5em;
  border-left: 6px solid #b54872;
  background: #fff3f8;
  border-radius: 8px;
  font-size: 1.15em;
  line-height: 1.6;
  color: #333;
  text-align: center;
  max-width: 600px;

  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1.5s ease-out, transform 1.5s ease-out;
}

.citation-manifeste.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-in-on-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1.5s ease-out, transform 1.5s ease-out;
}

.fade-in-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ====== Étapes KanjiYomou ====== */
#etapes-kanjiyomou {
  padding: 2em 1em;
  background: #f8f4fc;
}

.etapes-title {
  font-size: 1.8em;
  text-align: center;
  margin-bottom: 0.3em;
  font-weight: bold;
  color: #4b2c5e;
}

.etapes-desc {
  text-align: center;
  font-size: 1.1em;
  margin-bottom: 2em;
  color: #444;
}

.etapes-container {
  display: flex;
  flex-direction: column;
  gap: 1.5em;
}

.etape-card {
  background: white;
  border-left: 6px solid #b54872;
  padding: 1.2em;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
}

.etape-card:hover {
  transform: translateY(-4px);
}

.etape-emoji {
  font-size: 2em;
  margin-bottom: 0.5em;
  text-align: center;
}

.etape-card h3 {
  font-size: 1.2em;
  margin-bottom: 0.5em;
  text-align: center;
  color: #222;
}

.etape-card p {
  font-size: 1em;
  line-height: 1.6;
  color: #555;
  text-align: center;
}

/* Effets et Bouton audio */
.audio-player-simple {
  text-align: center;
  margin-top: 1em;
}

.audio-player-simple button {
  background-color: #0074c7;
  color: white;
  border: none;
  padding: 0.4em 0.8em;
  border-radius: 6px;
  font-size: 1em;
  cursor: pointer;
  margin-right: 0.5em;
  transition: all 0.3s ease;
  min-width: 8em;
  min-height: 2.5em;

}
/*
.audio-player-simple select {
  font-size: 1em;
  padding: 0.4em 0.8em;
  border-radius: 6px;
} */
/* Effet de clignotement du casque */
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* On applique l'animation au bouton quand la classe is-playing est active */
.audio-player-simple button.is-playing {
  animation: blink 1s infinite;
}


/* Optionnel : style du bouton au survol
.audio-player-simple button:hover {
  background-color: #e0e0e0;
}
*/

.exemple-lecture {
  background: linear-gradient(135deg, #fffcea, #e0f7fa);
  border-radius: 12px;
  padding: 2em 1em;
  margin: 2em 0;
  font-size: 1em;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}
.exemple-titre {
  text-align: center;
  margin-bottom: 1.5em;
  font-size: 1.3em;
  color: #333;
}
.etape-lecture {
  background: #fff;
  border-left: 6px solid #ccc;
  border-radius: 8px;
  padding: 1em;
  margin-bottom: 1em;
  font-size: 1em;
}
.etape1 { border-color: #27ae60; }
.etape2 { border-color: #f39c12; }
.etape3 { border-color: #e74c3c; }
.etape4 { border-color: #2b0501; }

.furigana {
  color: #c0392b;
  font-size: 0.9em;
  letter-spacing: 0.2em;
  display: block;
  margin-bottom: 0.5em;
}
.toggle-furigana-container {
  text-align: right;
  margin-bottom: 0.5em;
}
.toggle-furigana-container button {
  font-size: 0.9em;
  padding: 0.4em 1em;
  margin-left: 0.5em;
  background: #0074c7;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}
.exemple-conclusion {
  text-align: center;
  margin-top: 2em;
  font-size: 0.95em;
  line-height: 1.6;
}
