/* ===== FICHIER CSS POUR PRAYERSTIMESLEARN.PHP ===== */

/* ===== VARIABLES CSS - MODE CLAIR ===== */
:root {
  /* Couleurs principales */
  --primary: #0097b2;
  --primary-dark: #007a8f;
  --primary-light: #00b4d8;
  --accent: #06d6a0;
  --bg-light: #f8fafc;
  --bg-card: #ffffff;
  --text-primary: #1e293b;
  --text-secondary: #64748b;
  --border: #e2e8f0;
  
  /* Ombres */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
  --shadow-md: 0 4px 6px rgba(0,0,0,0.07);
  --shadow-lg: 0 10px 25px rgba(0,0,0,0.1);
  --shadow-xl: 0 20px 40px rgba(0,0,0,0.15);
  
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #0097b2 0%, #007a8f 100%);
  --gradient-card: linear-gradient(135deg, rgba(0,151,178,0.05) 0%, rgba(0,180,216,0.08) 100%);
}

/* ===== VARIABLES CSS - DARK MODE ===== */
html.dark {
  --primary: #5fc48d;
  --primary-dark: #4aa674;
  --primary-light: #7dd4a7;
  --accent: #3d7a52;
  --bg-light: #0f172a;
  --bg-card: #1e293b;
  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --border: #334155;
  --gradient-primary: linear-gradient(135deg, #5fc48d 0%, #3d7a52 100%);
  --gradient-card: linear-gradient(135deg, rgba(61,122,82,0.15) 0%, rgba(95,196,141,0.2) 100%);
}

body {
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg-light);
  color: var(--text-primary);
  line-height: 1.5;
  padding-top:5rem;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* ===== RESET DE BASE ===== */
* {
  box-sizing: border-box;
}


/* ===== STYLES POUR PAGE POSITION DU SOLEIL ===== */

/* Conteneur principal pour isoler les styles */
.conteneur-page-apprentissage {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem;
  background: var(--bg-light);
}

.conteneur-page-apprentissage * {
  box-sizing: border-box;
}

/* ===== CARTE INTRODUCTION ===== */
.conteneur-page-apprentissage .carte-intro {
  background: var(--gradient-card);
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
  border: 2px solid var(--border);
  margin-bottom: 1rem;
}

.conteneur-page-apprentissage .icone-intro {
  font-size: 3rem;
  margin-bottom: 0.75rem;
}

.conteneur-page-apprentissage .texte-intro {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 800px;
  margin: 0 auto;
}

/* ===== SECTION SOLAIRE ===== */
.conteneur-page-apprentissage .section-solaire {
  margin-bottom: 2rem;
}

.conteneur-page-apprentissage .titre-solaire {
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 1.5rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-align: center;
}

/* ===== CARTES POSITION DE PRIÈRE ===== */
.conteneur-page-apprentissage .carte-position-priere {
  background: var(--gradient-card);
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  border: 2px solid var(--border);
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 1.5rem;
  transition: all 0.3s ease;
}

.conteneur-page-apprentissage .carte-position-priere:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 151, 178, 0.2);
  border-color: var(--primary);
}

html.dark .conteneur-page-apprentissage .carte-position-priere:hover {
  box-shadow: 0 8px 24px rgba(95, 196, 141, 0.3);
}

/* ===== VISUEL POSITION ===== */
.conteneur-page-apprentissage .visuel-position {
  display: flex;
  align-items: center;
  justify-content: center;
}

.conteneur-page-apprentissage .gradient-ciel {
  width: 100%;
  height: 200px;
  border-radius: 8px;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Couleurs du ciel pour chaque prière - MODE CLAIR */
.conteneur-page-apprentissage .ciel-fajr {
  background: linear-gradient(to bottom, #0c1e47 0%, #1a2847 50%, #2a3f5f 100%);
}

.conteneur-page-apprentissage .ciel-sobh {
  background: linear-gradient(to bottom, #ff6b6b 0%, #ffa500 30%, #ffd700 60%, #87ceeb 100%);
}

.conteneur-page-apprentissage .ciel-mediane {
  background: linear-gradient(to bottom, #87ceeb 0%, #ffd700 40%, #87ceeb 100%);
}

.conteneur-page-apprentissage .ciel-dohr {
  background: linear-gradient(to bottom, #87ceeb 0%, #87ceeb 50%, #a8dadc 100%);
}

.conteneur-page-apprentissage .ciel-asr {
  background: linear-gradient(to bottom, #ffd700 0%, #f4a460 50%, #d2691e 100%);
}

.conteneur-page-apprentissage .ciel-maghrib {
  background: linear-gradient(to bottom, #ff6b6b 0%, #ff8c42 30%, #ffa500 60%, #2a3f5f 100%);
}

.conteneur-page-apprentissage .ciel-isha {
  background: linear-gradient(to bottom, #0c1e47 0%, #1a1a2e 100%);
}

/* Couleurs du ciel pour chaque prière - DARK MODE */
html.dark .conteneur-page-apprentissage .ciel-fajr {
  background: linear-gradient(to bottom, #050b1f 0%, #0f1a35 50%, #1a2847 100%);
  box-shadow: inset 0 4px 12px rgba(0, 0, 0, 0.5);
}

html.dark .conteneur-page-apprentissage .ciel-sobh {
  background: linear-gradient(to bottom, #cc5555 0%, #d88500 30%, #ccaa00 60%, #5a9bb5 100%);
}

html.dark .conteneur-page-apprentissage .ciel-mediane {
  background: linear-gradient(to bottom, #5a9bb5 0%, #ccaa00 40%, #5a9bb5 100%);
}

html.dark .conteneur-page-apprentissage .ciel-dohr {
  background: linear-gradient(to bottom, #5a9bb5 0%, #5a9bb5 50%, #7fadb5 100%);
}

html.dark .conteneur-page-apprentissage .ciel-asr {
  background: linear-gradient(to bottom, #ccaa00 0%, #c28350 50%, #a55519 100%);
}

html.dark .conteneur-page-apprentissage .ciel-maghrib {
  background: linear-gradient(to bottom, #cc5555 0%, #d87035 30%, #d88500 60%, #1a2847 100%);
}

html.dark .conteneur-page-apprentissage .ciel-isha {
  background: linear-gradient(to bottom, #050b1f 0%, #0f0f1a 100%);
  box-shadow: inset 0 4px 12px rgba(0, 0, 0, 0.5);
}

/* Position du soleil */
.conteneur-page-apprentissage .position-soleil {
  position: absolute;
  font-size: 2.5rem;
  filter: drop-shadow(0 0 20px rgba(255, 215, 0, 0.8));
  animation: lueurSoleil 3s infinite;
}

@keyframes lueurSoleil {
  0%, 100% { filter: drop-shadow(0 0 20px rgba(255, 215, 0, 0.8)); }
  50% { filter: drop-shadow(0 0 30px rgba(255, 215, 0, 1)); }
}

.conteneur-page-apprentissage .soleil-fajr {
  left: 10%;
  top: 60%;
  opacity: 0.5;
}

.conteneur-page-apprentissage .soleil-sobh {
  left: 15%;
  bottom: -10px;
}

.conteneur-page-apprentissage .soleil-mediane {
  left: 35%;
  top: 25%;
}

.conteneur-page-apprentissage .soleil-dohr {
  left: 50%;
  top: 10px;
  transform: translateX(-50%);
}

.conteneur-page-apprentissage .soleil-asr {
  right: 20%;
  top: 30%;
}

.conteneur-page-apprentissage .soleil-maghrib {
  right: 10%;
  bottom: -10px;
}

.conteneur-page-apprentissage .soleil-isha {
  right: 15%;
  top: 70%;
  opacity: 0.3;
}

.conteneur-page-apprentissage .ligne-horizon {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: rgba(255, 255, 255, 0.3);
}

html.dark .conteneur-page-apprentissage .ligne-horizon {
  background: rgba(255, 255, 255, 0.15);
}

/* ===== CONTENU POSITION ===== */
.conteneur-page-apprentissage .contenu-position {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.conteneur-page-apprentissage .entete-position {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--border);
}

.conteneur-page-apprentissage .icone-position {
  font-size: 2rem;
}

.conteneur-page-apprentissage .nom-position {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary);
  margin: 0;
}

.conteneur-page-apprentissage .badge-pole-islam {
  display: inline-block;
  font-size: 0.75rem;
  padding: 0.25rem 0.5rem;
  background: linear-gradient(135deg, #ff6b6b, #ffa500);
  color: white;
  border-radius: 4px;
  margin-left: 0.5rem;
  font-weight: 600;
}

html.dark .conteneur-page-apprentissage .badge-pole-islam {
  background: linear-gradient(135deg, #cc5555, #d88500);
}

.conteneur-page-apprentissage .description-position h4 {
  font-size: 1rem;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
  font-weight: 600;
  text-align: center;
}

.conteneur-page-apprentissage .description-position ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem 0;
  text-align: center;
}

.conteneur-page-apprentissage .description-position li {
  padding: 0.5rem 0;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
  border-bottom: 1px solid var(--border);
  text-align: center;
}

.conteneur-page-apprentissage .description-position li:last-child {
  border-bottom: none;
}

.conteneur-page-apprentissage .description-position strong {
  color: var(--primary);
  font-weight: 600;
}

.conteneur-page-apprentissage .indicateur-temps-position {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem;
  background: var(--gradient-primary);
  color: white;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(0, 151, 178, 0.3);
  text-align: center;
}

html.dark .conteneur-page-apprentissage .indicateur-temps-position {
  box-shadow: 0 4px 12px rgba(95, 196, 141, 0.3);
}

.conteneur-page-apprentissage .indicateur-temps-position i {
  font-size: 1.2rem;
}

/* ===== CARTE MÉTHODE (BÂTON/GNOMON) ===== */
.conteneur-page-apprentissage .carte-methode {
  background: var(--gradient-card);
  border-radius: 12px;
  padding: 1.5rem;
  border: 2px solid var(--border);
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 2rem;
}

.conteneur-page-apprentissage .visuel-methode {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.conteneur-page-apprentissage .illustration-baton {
  width: 100%;
  height: 250px;
  background: linear-gradient(to bottom, #87ceeb 0%, #e8f4f8 100%);
  border-radius: 12px;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 4px 12px rgba(0, 0, 0, 0.1);
}

html.dark .conteneur-page-apprentissage .illustration-baton {
  background: linear-gradient(to bottom, #1e3a5f 0%, #2a4a6a 100%);
  box-shadow: inset 0 4px 12px rgba(0, 0, 0, 0.4);
}

.conteneur-page-apprentissage .baton {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  width: 8px;
  height: 120px;
  background: linear-gradient(to bottom, #8b4513 0%, #654321 100%);
  border-radius: 4px;
  box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
}

html.dark .conteneur-page-apprentissage .baton {
  background: linear-gradient(to bottom, #a0522d 0%, #7a4a28 100%);
  box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6);
}

.conteneur-page-apprentissage .baton::before {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 10px;
  background: #654321;
  border-radius: 50%;
}

html.dark .conteneur-page-apprentissage .baton::before {
  background: #7a4a28;
}

.conteneur-page-apprentissage .ombre {
  position: absolute;
  bottom: 30px;
  left: calc(50% + 4px);
  width: 80px;
  height: 4px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 2px;
  transform-origin: left center;
  transition: all 1s ease;
}

html.dark .conteneur-page-apprentissage .ombre {
  background: rgba(0, 0, 0, 0.6);
}

.conteneur-page-apprentissage .lignes-mesure {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  width: 150px;
  height: 2px;
  background: repeating-linear-gradient(
    to right,
    var(--primary) 0px,
    var(--primary) 10px,
    transparent 10px,
    transparent 20px
  );
  opacity: 0.5;
}

.conteneur-page-apprentissage .contenu-methode h3 {
  font-size: 1.3rem;
  color: var(--primary);
  margin-bottom: 1rem;
  font-weight: 700;
  text-align: center;
}

.conteneur-page-apprentissage .etapes-methode {
  list-style: none;
  counter-reset: compteur-etape;
  padding: 0;
  margin: 0 0 1.5rem 0;
}

.conteneur-page-apprentissage .etapes-methode li {
  counter-increment: compteur-etape;
  padding: 1rem;
  padding-left: 3rem;
  margin-bottom: 0.75rem;
  background: var(--bg-card);
  border-radius: 8px;
  border-left: 4px solid var(--primary);
  position: relative;
  color: var(--text-secondary);
  line-height: 1.6;
  text-align: center;
}

.conteneur-page-apprentissage .etapes-methode li::before {
  content: counter(compteur-etape);
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  background: var(--gradient-primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(0, 151, 178, 0.3);
}

html.dark .conteneur-page-apprentissage .etapes-methode li::before {
  box-shadow: 0 4px 12px rgba(95, 196, 141, 0.3);
}

.conteneur-page-apprentissage .etapes-methode strong {
  color: var(--primary);
  font-weight: 600;
}

.conteneur-page-apprentissage .astuce-methode {
  display: flex;
  gap: 1rem;
  padding: 1rem;
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.1) 0%, rgba(255, 165, 0, 0.1) 100%);
  border-radius: 8px;
  border: 2px solid rgba(255, 215, 0, 0.3);
}

html.dark .conteneur-page-apprentissage .astuce-methode {
  background: linear-gradient(135deg, rgba(204, 170, 0, 0.15) 0%, rgba(204, 133, 0, 0.15) 100%);
  border: 2px solid rgba(204, 170, 0, 0.4);
}

.conteneur-page-apprentissage .astuce-methode i {
  font-size: 1.5rem;
  color: #ffa500;
  flex-shrink: 0;
}

html.dark .conteneur-page-apprentissage .astuce-methode i {
  color: #ffb733;
}

.conteneur-page-apprentissage .astuce-methode p {
  margin: 0;
  color: var(--text-secondary);
  line-height: 1.6;
  text-align: center;
}

.conteneur-page-apprentissage .astuce-methode strong {
  color: var(--text-primary);
}

/* ===== GRILLE ASTUCES ===== */
.conteneur-page-apprentissage .grille-astuces {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
}

.conteneur-page-apprentissage .carte-astuce {
  background: var(--gradient-card);
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
  border: 2px solid var(--border);
  transition: all 0.3s ease;
}

.conteneur-page-apprentissage .carte-astuce:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0, 151, 178, 0.2);
  border-color: var(--primary);
}

html.dark .conteneur-page-apprentissage .carte-astuce:hover {
  box-shadow: 0 8px 24px rgba(95, 196, 141, 0.3);
}

.conteneur-page-apprentissage .icone-astuce {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
}

.conteneur-page-apprentissage .carte-astuce h4 {
  font-size: 1rem;
  color: var(--primary);
  margin-bottom: 0.75rem;
  font-weight: 700;
}

.conteneur-page-apprentissage .carte-astuce p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}

/* ===== SIMULATION INTERACTIVE ===== */
.conteneur-page-apprentissage .carte-simulation {
  background: var(--gradient-card);
  border-radius: 12px;
  padding: 1.5rem;
  border: 2px solid var(--border);
}

.conteneur-page-apprentissage .entete-simulation {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--border);
}

.conteneur-page-apprentissage .entete-simulation h3 {
  font-size: 1.2rem;
  color: var(--primary);
  margin: 0;
  font-weight: 700;
}

.conteneur-page-apprentissage .angle-actuel {
  font-size: 1rem;
  color: var(--text-secondary);
  font-weight: 600;
  font-family: 'Courier New', monospace;
}

.conteneur-page-apprentissage .angle-actuel span {
  color: var(--primary);
  font-weight: 700;
  font-size: 1.1rem;
}

.conteneur-page-apprentissage .toile-simulation {
  margin-bottom: 1.5rem;
}

.conteneur-page-apprentissage .ciel-sim {
  width: 100%;
  height: 300px;
  border-radius: 12px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(to bottom, #87ceeb, #ffffff);
  box-shadow: inset 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: background 0.5s ease;
}

html.dark .conteneur-page-apprentissage .ciel-sim {
  box-shadow: inset 0 4px 12px rgba(0, 0, 0, 0.5);
}

.conteneur-page-apprentissage .soleil-sim {
  position: absolute;
  font-size: 3rem;
  transition: all 0.3s ease;
  filter: drop-shadow(0 0 20px rgba(255, 215, 0, 0.8));
  cursor: pointer;
  transform: translate(-50%, -50%);
}

.conteneur-page-apprentissage .horizon-sim {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: rgba(139, 69, 19, 0.5);
  box-shadow: 0 -2px 10px rgba(139, 69, 19, 0.3);
}

html.dark .conteneur-page-apprentissage .horizon-sim {
  background: rgba(160, 82, 45, 0.6);
  box-shadow: 0 -2px 10px rgba(160, 82, 45, 0.4);
}

.conteneur-page-apprentissage .baton-sim {
  position: absolute;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%);
}

.conteneur-page-apprentissage .barre-baton-sim {
  width: 6px;
  height: 80px;
  background: linear-gradient(to bottom, #8b4513 0%, #654321 100%);
  border-radius: 3px;
  box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.4);
  position: relative;
  z-index: 2;
}

html.dark .conteneur-page-apprentissage .barre-baton-sim {
  background: linear-gradient(to bottom, #a0522d 0%, #7a4a28 100%);
  box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.6);
}

.conteneur-page-apprentissage .ombre-sim {
  position: absolute;
  bottom: 0;
  left: 20px;
  width: 60px;
  height: 3px;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 2px;
  transition: all 0.3s ease;
}

html.dark .conteneur-page-apprentissage .ombre-sim {
  background: rgba(0, 0, 0, 0.7);
}

.conteneur-page-apprentissage .controles-simulation {
  margin-bottom: 1.5rem;
}

.conteneur-page-apprentissage .controles-simulation label {
  display: block;
  font-size: 1rem;
  color: var(--text-primary);
  font-weight: 600;
  margin-bottom: 0.75rem;
  text-align: center;
}

.conteneur-page-apprentissage #curseurSoleilApprentissage {
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: var(--border);
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
}

.conteneur-page-apprentissage #curseurSoleilApprentissage::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--gradient-primary);
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 151, 178, 0.4);
  transition: all 0.3s ease;
}

.conteneur-page-apprentissage #curseurSoleilApprentissage::-moz-range-thumb {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--gradient-primary);
  cursor: pointer;
  border: none;
  box-shadow: 0 4px 12px rgba(0, 151, 178, 0.4);
  transition: all 0.3s ease;
}

.conteneur-page-apprentissage #curseurSoleilApprentissage::-webkit-slider-thumb:hover {
  transform: scale(1.2);
  box-shadow: 0 6px 16px rgba(0, 151, 178, 0.6);
}

.conteneur-page-apprentissage #curseurSoleilApprentissage::-moz-range-thumb:hover {
  transform: scale(1.2);
  box-shadow: 0 6px 16px rgba(0, 151, 178, 0.6);
}

html.dark .conteneur-page-apprentissage #curseurSoleilApprentissage::-webkit-slider-thumb {
  box-shadow: 0 4px 12px rgba(95, 196, 141, 0.4);
}

html.dark .conteneur-page-apprentissage #curseurSoleilApprentissage::-moz-range-thumb {
  box-shadow: 0 4px 12px rgba(95, 196, 141, 0.4);
}

html.dark .conteneur-page-apprentissage #curseurSoleilApprentissage::-webkit-slider-thumb:hover {
  box-shadow: 0 6px 16px rgba(95, 196, 141, 0.6);
}

html.dark .conteneur-page-apprentissage #curseurSoleilApprentissage::-moz-range-thumb:hover {
  box-shadow: 0 6px 16px rgba(95, 196, 141, 0.6);
}

.conteneur-page-apprentissage .etiquettes-curseur {
  display: flex;
  justify-content: space-between;
  margin-top: 0.5rem;
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.conteneur-page-apprentissage .resultat-simulation {
  text-align: center;
  padding: 1.5rem;
  background: var(--bg-card);
  border-radius: 12px;
  border: 2px solid var(--primary);
}

.conteneur-page-apprentissage .icone-resultat {
  font-size: 3rem;
  margin-bottom: 0.75rem;
  animation: pulsationResultat 2s infinite;
}

@keyframes pulsationResultat {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

.conteneur-page-apprentissage .priere-resultat {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.conteneur-page-apprentissage .description-resultat {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ===== ANIMATIONS SUPPLÉMENTAIRES ===== */
@keyframes apparitionProgressive {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.conteneur-page-apprentissage .carte-position-priere,
.conteneur-page-apprentissage .carte-astuce,
.conteneur-page-apprentissage .carte-methode {
  animation: apparitionProgressive 0.5s ease-out;
}

/* ===== RESPONSIVE - TABLETTES ===== */
@media (max-width: 1024px) {
  .conteneur-page-apprentissage .carte-position-priere {
    grid-template-columns: 1fr;
  }

  .conteneur-page-apprentissage .carte-methode {
    grid-template-columns: 1fr;
  }

  .conteneur-page-apprentissage .grille-astuces {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  }
}

/* ===== RESPONSIVE - MOBILE ===== */
@media (max-width: 768px) {
  .conteneur-page-apprentissage {
    padding: 1rem 0.5rem;
  }

  .conteneur-page-apprentissage .carte-position-priere {
    padding: 1rem;
  }

  .conteneur-page-apprentissage .gradient-ciel {
    height: 150px;
  }

  .conteneur-page-apprentissage .position-soleil {
    font-size: 2rem;
  }

  .conteneur-page-apprentissage .nom-position {
    font-size: 1.1rem;
  }

  .conteneur-page-apprentissage .carte-methode {
    padding: 1rem;
  }

  .conteneur-page-apprentissage .illustration-baton {
    height: 200px;
  }

  .conteneur-page-apprentissage .baton {
    height: 100px;
  }

  .conteneur-page-apprentissage .etapes-methode li {
    padding-left: 1rem;
  }

  .conteneur-page-apprentissage .etapes-methode li::before {
    position: static;
    display: inline-flex;
    margin-right: 0.75rem;
    width: 28px;
    height: 28px;
    font-size: 0.9rem;
  }

  .conteneur-page-apprentissage .ciel-sim {
    height: 250px;
  }

  .conteneur-page-apprentissage .soleil-sim {
    font-size: 2.5rem;
  }
}

@media (max-width: 640px) {
  .conteneur-page-apprentissage .carte-intro {
    padding: 1rem;
  }

  .conteneur-page-apprentissage .icone-intro {
    font-size: 2.5rem;
  }

  .conteneur-page-apprentissage .texte-intro {
    font-size: 0.9rem;
  }

  .conteneur-page-apprentissage .carte-position-priere {
    padding: 0.875rem;
    margin-bottom: 1rem;
  }

  .conteneur-page-apprentissage .gradient-ciel {
    height: 120px;
  }

  .conteneur-page-apprentissage .icone-position {
    font-size: 1.5rem;
  }

  .conteneur-page-apprentissage .nom-position {
    font-size: 1rem;
  }

  .conteneur-page-apprentissage .description-position h4 {
    font-size: 0.9rem;
  }

  .conteneur-page-apprentissage .description-position li {
    font-size: 0.85rem;
    padding: 0.4rem 0;
  }

  .conteneur-page-apprentissage .grille-astuces {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .conteneur-page-apprentissage .carte-astuce {
    padding: 1rem;
  }

  .conteneur-page-apprentissage .icone-astuce {
    font-size: 2rem;
  }

  .conteneur-page-apprentissage .carte-astuce h4 {
    font-size: 0.9rem;
  }

  .conteneur-page-apprentissage .carte-astuce p {
    font-size: 0.85rem;
  }

  .conteneur-page-apprentissage .carte-simulation {
    padding: 1rem;
  }

  .conteneur-page-apprentissage .entete-simulation {
    flex-direction: column;
    gap: 0.75rem;
    align-items: flex-start;
  }

  .conteneur-page-apprentissage .entete-simulation h3 {
    font-size: 1rem;
  }

  .conteneur-page-apprentissage .ciel-sim {
    height: 200px;
  }

  .conteneur-page-apprentissage .soleil-sim {
    font-size: 2rem;
  }

  .conteneur-page-apprentissage .icone-resultat {
    font-size: 2.5rem;
  }

  .conteneur-page-apprentissage .priere-resultat {
    font-size: 1.1rem;
  }

  .conteneur-page-apprentissage .description-resultat {
    font-size: 0.85rem;
  }
}

@media (max-width: 480px) {
  .conteneur-page-apprentissage .description-position ul {
    padding-left: 0;
  }

  .conteneur-page-apprentissage .astuce-methode {
    flex-direction: column;
    gap: 0.75rem;
  }

  .conteneur-page-apprentissage .astuce-methode i {
    font-size: 1.3rem;
  }

  .conteneur-page-apprentissage .illustration-baton {
    height: 180px;
  }

  .conteneur-page-apprentissage .ciel-sim {
    height: 180px;
  }

  .conteneur-page-apprentissage .etiquettes-curseur {
    font-size: 0.7rem;
  }
}

/* ===== FIN DU FICHIER CSS ===== */
