/* ═══════════════════════════════════════════════════
   WILDEN ACADÉMIE — Feuille de style principale
   ═══════════════════════════════════════════════════ */

/* ─── VARIABLES ─── */
:root {
  --vert:        #2D6A4F;
  --vert-fonce:  #1d4436;
  --vert-clair:  #52B788;
  --vert-pale:   #D8F3DC;
  --or:          #C9A84C;
  --or-pale:     #FFF8E7;
  --beige:       #FDFAF4;
  --sombre:      #1A2E22;
  --texte:       #3A3A3A;
  --gris-clair:  #F5F5F0;
  --blanc:       #ffffff;
  --ombre-douce: 0 2px 20px rgba(0,0,0,0.06);
  --ombre-card:  0 4px 30px rgba(45,106,79,0.10);
  --rayon-card:  20px;
  --rayon-pill:  50px;
  --transition:  all .25s ease;
}

/* ─── RESET & BASE ─── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Quicksand', sans-serif;
  color: var(--texte);
  background: var(--beige);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ─── BANNIÈRE OFFRE SPÉCIALE ─── */
.offre-speciale {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: linear-gradient(135deg, var(--vert) 0%, var(--vert-clair) 50%, var(--or) 100%);
  color: white;
  padding: 16px 20px;
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(45,106,79,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: slideDown 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.offre-close {
  position: absolute;
  top: 8px;
  right: 12px;
  background: rgba(255,255,255,0.2);
  color: white;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid rgba(255,255,255,0.3);
}

.offre-close:hover {
  background: rgba(255,255,255,0.3);
  transform: scale(1.1);
}

@keyframes slideDown {
  from { transform: translateY(-100%); }
  to { transform: translateY(0); }
}

@keyframes slideUp {
  from { transform: translateY(0); }
  to { transform: translateY(-100%); }
}

.offre-contenu {
  display: flex;
  align-items: center;
  gap: 20px;
  flex: 1;
  max-width: 1200px;
  text-align: center;
}

.offre-badge {
  background: rgba(255,255,255,0.2);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
  white-space: nowrap;
}

.offre-titre {
  font-family: 'Amiri', serif;
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.2;
}

.offre-dates {
  font-size: 0.9rem;
  font-weight: 600;
  opacity: 0.95;
}

.offre-texte {
  font-size: 0.9rem;
  line-height: 1.4;
  max-width: 400px;
}

.offre-texte strong {
  color: var(--or-pale);
  font-weight: 700;
}

.offre-btn {
  background: rgba(255,255,255,0.2);
  color: white;
  padding: 10px 20px;
  border-radius: 25px;
  font-weight: 600;
  font-size: 0.85rem;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.3);
  white-space: nowrap;
}

.offre-btn:hover {
  background: rgba(255,255,255,0.3);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Ajustement du header quand l'offre est visible - retiré car géré par top */

/* Responsive pour l'offre spéciale */
@media (max-width: 1024px) {
  .offre-contenu {
    flex-wrap: wrap;
    gap: 10px;
  }
  
  .offre-titre {
    font-size: 0.95rem;
  }
  
  .offre-texte {
    max-width: 280px;
    font-size: 0.8rem;
  }
}

@media (max-width: 768px) {
  .offre-speciale {
    padding: 10px 12px;
  }
  
  .offre-contenu {
    gap: 6px;
    text-align: center;
    flex-direction: column;
  }
  
  .offre-badge {
    font-size: 0.65rem;
    padding: 3px 8px;
  }
  
  .offre-titre {
    font-size: 0.75rem;
    line-height: 1.3;
  }
  
  .offre-dates {
    font-size: 0.7rem;
  }
  
  .offre-texte {
    font-size: 0.7rem;
    max-width: 100%;
    display: none; /* Masquer le texte détaillé sur mobile */
  }
  
  .offre-btn {
    padding: 6px 12px;
    font-size: 0.7rem;
  }
  
  header {
    top: 65px; /* Ajusté pour la hauteur de la bannière sur tablette */
  }
}

@media (max-width: 600px) {
  .offre-speciale {
    padding: 8px 10px;
  }
  
  .offre-contenu {
    flex-direction: column;
    gap: 4px;
  }
  
  .offre-badge {
    font-size: 0.6rem;
    padding: 2px 6px;
  }
  
  .offre-titre {
    font-size: 0.7rem;
    line-height: 1.2;
  }
  
  .offre-dates {
    font-size: 0.65rem;
  }
  
  .offre-texte {
    display: none;
  }
  
  .offre-btn {
    padding: 5px 10px;
    font-size: 0.65rem;
  }
  
  header {
    top: 55px; /* Ajusté pour la hauteur de la bannière sur mobile */
  }
}

@media (max-width: 480px) {
  .offre-speciale {
    padding: 6px 8px;
  }
  
  .offre-badge {
    font-size: 0.55rem;
    padding: 2px 5px;
  }
  
  .offre-titre {
    font-size: 0.65rem;
    line-height: 1.1;
  }
  
  .offre-dates {
    font-size: 0.6rem;
  }
  
  .offre-btn {
    padding: 4px 8px;
    font-size: 0.6rem;
  }
  
  header {
    top: 50px; /* Ajusté pour la hauteur de la bannière sur petit mobile */
  }
}

/* ─── TYPOGRAPHIE ─── */
h1 {
  font-family: 'Amiri', serif;
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  color: var(--sombre);
  line-height: 1.15;
  margin-bottom: 20px;
}
h1 em  { color: var(--vert);  font-style: normal; }
h1 span{ color: var(--or);    font-style: normal; }

h2 {
  font-family: 'Amiri', serif;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: var(--sombre);
  line-height: 1.2;
  margin-bottom: 14px;
}
h2 em { color: var(--vert); font-style: normal; }

h3 { font-family: 'Amiri', serif; color: var(--sombre); }

/* ─── UTILITAIRES ─── */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--or);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.section-tag::before { content: '◆'; }

.section-lead {
  font-size: 1.05rem;
  color: #666;
  max-width: 580px;
  line-height: 1.8;
  margin-bottom: 52px;
}

.badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: var(--rayon-pill);
  font-size: 0.72rem;
  font-weight: 700;
}
.badge-green { background: var(--vert-pale); color: var(--vert); }
.badge-or    { background: #FFF3CD; color: #856404; }

/* ─── BOUTONS ─── */
.btn-primary {
  background: var(--vert);
  color: var(--blanc);
  padding: 14px 32px;
  border-radius: var(--rayon-pill);
  font-weight: 700;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 20px rgba(45,106,79,0.30);
  position: relative;
  overflow: hidden;
}
.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s ease;
}
.btn-primary:hover {
  background: var(--sombre);
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 30px rgba(45,106,79,0.35);
}
.btn-primary:hover::before {
  left: 100%;
}

.btn-secondary {
  background: transparent;
  color: var(--vert);
  padding: 14px 32px;
  border-radius: var(--rayon-pill);
  font-weight: 700;
  font-size: 1rem;
  border: 2px solid var(--vert);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}
.btn-secondary:hover {
  background: var(--vert-pale);
  transform: translateY(-2px);
}

/* ─── FLOATING SOCIAL BUTTONS ─── */
.floating-social {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 1000;
}

.float-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
  transition: all 0.3s ease;
  text-decoration: none;
}

.float-btn:hover {
  transform: translateY(-3px) scale(1.1);
  box-shadow: 0 6px 25px rgba(0,0,0,0.4);
}

.float-whatsapp {
  background: #25D366;
}

.float-tiktok {
  background: #000000;
}

/* Mobile responsive for floating buttons */
@media (max-width: 768px) {
  .floating-social {
    bottom: 16px;
    right: 16px;
  }
  
  .float-btn {
    width: 48px;
    height: 48px;
  }
  
  .float-btn svg {
    width: 20px;
    height: 20px;
  }
}

@media (max-width: 480px) {
  .floating-social {
    bottom: 12px;
    right: 12px;
  }
  
  .float-btn {
    width: 44px;
    height: 44px;
  }
  
  .float-btn svg {
    width: 18px;
    height: 18px;
  }
}

/* ─── HEADER / MENU ───
   Déplacé vers wilden-menu.css, partagé par toutes les pages.
   Voir ce fichier pour header, .logo-wrap, nav, .btn-nav, .burger, .mobile-nav. */

/* ─── HERO ─── */
#hero {
  min-height: 100vh;
  background: 
    radial-gradient(circle at 20% 80%, rgba(45,106,79,0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(201,168,76,0.12) 0%, transparent 50%),
    radial-gradient(circle at 60% 60%, rgba(82,183,136,0.08) 0%, transparent 40%),
    linear-gradient(135deg, 
      rgba(45,106,79,0.03) 0%, 
      rgba(82,183,136,0.05) 25%, 
      rgba(201,168,76,0.04) 50%, 
      rgba(45,106,79,0.06) 75%, 
      rgba(82,183,136,0.03) 100%),
    linear-gradient(145deg, #f8f9f3 0%, #f0f7f2 50%, #f7f5e8 100%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 100px 5% 60px;
  position: relative;
  overflow: hidden;
}

/* Déco fond - éléments de verdure */
#hero::before {
  content: '';
  position: absolute; top: -100px; right: -100px;
  width: 600px; height: 600px;
  background: 
    radial-gradient(circle, rgba(45,106,79,0.08) 0%, rgba(82,183,136,0.12) 30%, transparent 70%),
    radial-gradient(circle at 30% 70%, rgba(201,168,76,0.06) 0%, transparent 50%);
  border-radius: 50%;
  pointer-events: none;
  animation: float 20s ease-in-out infinite;
}
#hero::after {
  content: '';
  position: absolute; bottom: -100px; left: -100px;
  width: 500px; height: 500px;
  background: 
    radial-gradient(circle, rgba(82,183,136,0.10) 0%, rgba(45,106,79,0.08) 40%, transparent 70%),
    radial-gradient(circle at 70% 30%, rgba(201,168,76,0.04) 0%, transparent 60%);
  border-radius: 50%;
  pointer-events: none;
  animation: float 18s ease-in-out infinite reverse;
}

/* Pattern de verdure organique */
.geo-pattern {
  position: absolute; right: 0; top: 0; bottom: 0;
  width: 52%;
  opacity: 0.04;
  background:
    radial-gradient(circle at 20% 80%, rgba(82,183,136,0.03) 0%, transparent 30%),
    radial-gradient(circle at 60% 20%, rgba(201,168,76,0.02) 0%, transparent 25%),
    radial-gradient(circle at 80% 60%, rgba(45,106,79,0.03) 0%, transparent 35%),
    repeating-linear-gradient(45deg,  rgba(82,183,136,0.02) 0%, rgba(82,183,136,0.02) 1px, transparent 0, transparent 50%),
    repeating-linear-gradient(-45deg, rgba(45,106,79,0.015) 0%, rgba(45,106,79,0.015) 1px, transparent 0, transparent 50%);
  background-size: 40px 40px, 35px 35px;
  pointer-events: none;
}

.hero-content {
  max-width: 560px;
  width: 45%;
  z-index: 2;
  position: relative;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--vert-pale);
  color: var(--vert);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: var(--rayon-pill);
  margin-bottom: 24px;
}
/* .hero-tag::before { content: '☾'; font-size: 1rem; } */

.hero-desc {
  font-size: 1.08rem;
  color: #555;
  line-height: 1.8;
  margin-bottom: 36px;
  font-weight: 400;
}

.hero-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 36px;
  margin-top: 48px;
  padding-top: 36px;
  border-top: 1px solid rgba(45,106,79,0.12);
}
.stat .num {
  font-family: 'Amiri', serif;
  font-size: 2rem;
  color: var(--vert);
  font-weight: 700;
  line-height: 1;
}
.stat .lbl {
  font-size: 0.78rem;
  color: #888;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 4px;
}

/* ─── CARROUSEL HERO ─── */
.hero-carousel {
  position: relative;
  width: 50%;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.carousel-track {
  position: relative;
  width: 100%;
  aspect-ratio: 3/2;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(0,0,0,0.12);
}

.carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}
.carousel-slide.active { opacity: 1; }

.carousel-slide img {
  width: 100%; height: 100%;
  object-fit: cover;
}

/* Overlay léger en bas pour lisibilité */
.carousel-slide::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.08) 0%, transparent 40%);
}

/* Dots */
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 18px;
}
.dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(45,106,79,0.18);
  transition: var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
}
.dot:hover {
  background: rgba(45,106,79,0.35);
}
.dot.active {
  background: var(--vert);
  width: 28px;
  border-radius: 6px;
}

/* Cadre décoratif discret */
.carousel-deco-top,
.carousel-deco-bot {
  display: none;
}

/* ─── CITATION ─── */
.citation-band {
  background: linear-gradient(135deg, var(--sombre) 0%, #163d2a 100%);
  padding: 60px 5%;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.citation-band::before {
  content: '"';
  position: absolute; left: 4%; top: -30px;
  font-family: 'Amiri', serif;
  font-size: 18rem;
  color: rgba(82,183,136,0.06);
  line-height: 1;
  pointer-events: none;
}
.arabic-text {
  font-family: 'Amiri', serif;
  font-size: 2.2rem;
  color: var(--or);
  margin-bottom: 12px;
  direction: rtl;
  letter-spacing: 0.04em;
}
.citation-fr  { font-size: 1rem; color: rgba(255,255,255,0.72); font-style: italic; }
.citation-ref { font-size: 0.8rem; color: var(--vert-clair); margin-top: 6px; font-weight: 700; }

/* ─── BANDE PUBLIC ─── */
.public-band {
  background: linear-gradient(90deg, var(--vert-pale) 0%, var(--or-pale) 100%);
  padding: 40px 5%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
}
.pub-stat       { text-align: center; }
.pub-stat .big  { font-family: 'Amiri', serif; font-size: 2.8rem; line-height: 1; }
.pub-stat .sm   { font-size: 0.82rem; color: #666; font-weight: 600; margin-top: 4px; }

/* ─── SECTIONS GÉNÉRIQUES ─── */
section { padding: 84px 5%; }

/* ─── ENSEIGNEMENTS ─── */
#enseignements { background: var(--beige); }

.enseignements-viewport {
  overflow: hidden;
  width: 100%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
}

.enseignements-grid {
  display: flex;
  width: max-content;
  gap: 20px;
  animation: ens-scroll 36s linear infinite;
}
/* Défilement continu, jamais interrompu (ni survol ni clic) */

@media (prefers-reduced-motion: reduce) {
  .enseignements-grid { animation: none; }
}

@keyframes ens-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.ens-card {
  background: var(--blanc);
  border-radius: var(--rayon-card);
  padding: 28px;
  border: 1px solid rgba(45,106,79,0.08);
  box-shadow: var(--ombre-douce);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 300px;
  flex-shrink: 0;
}
.ens-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--vert), var(--vert-clair));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s ease;
}
.ens-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--ombre-card);
}
.ens-card:hover::before { transform: scaleX(1); }
.ens-card:hover .ens-icon {
  transform: scale(1.1) rotate(5deg);
}

.ens-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--vert-pale), var(--vert-clair));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 16px;
  box-shadow: 0 4px 12px rgba(45,106,79,0.15);
  transition: transform 0.3s ease;
}

.ens-card h3  { font-size: 1.4rem; margin-bottom: 12px; color: var(--sombre); font-weight: 700; }
.ens-card p   { font-size: 0.9rem; color: #555; line-height: 1.6; margin-bottom: 16px; flex-grow: 1; }
.ens-tag {
  display: inline-block;
  background: linear-gradient(135deg, var(--vert-pale), rgba(82,183,136,0.2));
  color: var(--vert);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: var(--rayon-pill);
  margin-top: auto;
  border: 1px solid rgba(45,106,79,0.1);
  letter-spacing: 0.5px;
}

/* ─── SERVICES ─── */
#services { background: var(--gris-clair); }

.services-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.services-list { display: flex; flex-direction: column; gap: 14px; }

.service-item {
  background: var(--blanc);
  border-radius: 14px;
  padding: 20px 22px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  border: 1px solid rgba(45,106,79,0.07);
  box-shadow: var(--ombre-douce);
  transition: var(--transition);
}
.service-item:hover {
  border-color: var(--vert-clair);
  transform: translateX(4px);
}
.service-ico  { font-size: 1.6rem; flex-shrink: 0; margin-top: 1px; }
.service-item h4 { font-weight: 700; color: var(--sombre); margin-bottom: 4px; font-size: 0.94rem; }
.service-item p  { font-size: 0.84rem; color: #777; line-height: 1.65; }

.services-visual {
  background: linear-gradient(145deg, var(--sombre), var(--vert-fonce));
  border-radius: 24px;
  padding: 40px;
  color: var(--blanc);
}
.services-visual h3 { font-size: 1.7rem; color: var(--or); margin-bottom: 8px; }
.services-visual > p { font-size: 0.9rem; color: rgba(255,255,255,0.70); margin-bottom: 24px; line-height: 1.7; }

.pub-list { list-style: none; }
.pub-list li {
  padding: 11px 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  font-size: 0.9rem;
  color: rgba(255,255,255,0.82);
  display: flex;
  align-items: center;
  gap: 10px;
}
.pub-list li:last-child { border-bottom: none; }
.pub-list li::before { content: '✦'; color: var(--or); font-size: 0.65rem; flex-shrink: 0; }

/* ─── PROGRAMME ─── */
#programme { background: var(--beige); }

/* Version mobile simplifiée : masquée par défaut (desktop montre les onglets) */
.prog-mobile-list { display: none; }

@media (max-width: 900px) {
  /* Sous 900px : on cache tout le système d'onglets/panels desktop... */
  .prog-desktop { display: none; }
  /* ...et on montre une simple liste de cartes-liens, sans interaction cachée */
  .prog-mobile-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  .prog-mcard {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #fff;
    border: 1.5px solid rgba(0,0,0,.07);
    border-left: 4px solid var(--vert, #2D6A4F);
    border-radius: 16px;
    padding: 16px 18px;
    text-decoration: none;
    box-shadow: 0 2px 10px rgba(0,0,0,.04);
    transition: transform .15s, box-shadow .15s;
    position: relative;
  }
  .pmc-stretched-link { position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
  .prog-mcard:active { transform: scale(0.98); }
  .pmc-gold   { border-left-color: var(--or, #C9A84C); }
  .pmc-violet { border-left-color: #6B5FA0; }
  .pmc-teal   { border-left-color: #1B6B72; }
  .pmc-neutral{ border-left-color: #999; }
  .pmc-icon { font-size: 1.6rem; flex-shrink: 0; width: 32px; text-align: center; }
  .pmc-text { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
  .pmc-title {
    font-family: 'Quicksand', sans-serif; font-weight: 800; font-size: .96rem; color: #1A2E22;
    display: flex; align-items: center; gap: 6px; flex-wrap: wrap;
  }
  .pmc-desc { font-size: .78rem; color: #777; }
  .pmc-arrow { font-size: 1.2rem; color: #ccc; flex-shrink: 0; }
  .pmc-prof { position: relative; z-index: 2; margin-top: 4px; align-self: flex-start; }
  .prog-mcard.pmc-soon { cursor: default; }
  .pmc-badge-soon {
    font-size: .68rem; font-weight: 800; color: #666; background: #ececec;
    padding: 4px 10px; border-radius: 20px; flex-shrink: 0; white-space: nowrap;
  }
}

.prog-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.prog-tab {
  padding: 10px 22px;
  border-radius: var(--rayon-pill);
  font-weight: 700;
  font-size: 0.84rem;
  background: var(--gris-clair);
  color: var(--texte);
  border: 2px solid transparent;
  transition: var(--transition);
}
.prog-tab.active,
.prog-tab:hover {
  background: var(--vert);
  color: var(--blanc);
  border-color: var(--vert);
}
/* Variantes couleur des onglets, par programme */
.prog-tab.pt-gold.active,   .prog-tab.pt-gold:hover   { background: var(--or);  color:#1A2E22; border-color: var(--or); }
.prog-tab.pt-violet.active, .prog-tab.pt-violet:hover { background: #6B5FA0;   border-color: #6B5FA0; }
.prog-tab.pt-teal.active,   .prog-tab.pt-teal:hover   { background: #1B6B72;   border-color: #1B6B72; }
.prog-tab.pt-neutral.active,.prog-tab.pt-neutral:hover{ background: #6b6b6b;  border-color: #6b6b6b; }
.prog-tab-badge {
  display: inline-block; background: #E63946; color: #fff; font-size: .6rem; font-weight: 800;
  padding: 2px 8px; border-radius: 20px; margin-left: 6px; letter-spacing: .03em; vertical-align: 1px;
}

.prog-panel { display: none; }
.prog-panel.active {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  animation: fadeIn .35s ease;
}

@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

/* En-tête de panel : icône + titre + accroche */
.prog-head { grid-column: 1 / -1; display: flex; align-items: center; gap: 16px; margin-bottom: 4px; }
.prog-head-icon {
  font-size: 1.8rem; flex-shrink: 0; width: 54px; height: 54px; border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  background: var(--vert-pale); color: var(--vert);
}
.prog-head h3 { font-family: 'Amiri', serif; font-size: 1.5rem; color: var(--sombre); margin: 0 0 3px; }
.prog-head p { font-size: .86rem; color: #777; margin: 0; line-height: 1.6; }

/* Ligne de repères rapides (stats) */
.prog-stats { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 4px; }
.prog-stat-pill {
  display: inline-flex; align-items: center; gap: 6px;
  background: #fff; border: 1px solid rgba(0,0,0,.08); color: #555;
  font-size: .76rem; font-weight: 700; padding: 6px 14px; border-radius: 50px;
}

.prog-item {
  background: var(--blanc);
  border-radius: 14px;
  padding: 22px;
  border-left: 4px solid var(--vert-clair);
  box-shadow: var(--ombre-douce);
  transition: var(--transition);
}
.prog-item:hover { transform: translateY(-3px); box-shadow: var(--ombre-card); }
.prog-item h4 {
  font-weight: 700;
  color: var(--sombre);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.96rem;
}
.prog-item h4::before { content: '●'; color: var(--vert-clair); font-size: 0.55rem; }
.prog-item p { font-size: 0.875rem; color: #666; line-height: 1.7; }

/* Variantes couleur des cartes .prog-item et du bloc d'icône, par programme */
.prog-item.pi-gold   { border-left-color: var(--or); }
.prog-item.pi-violet { border-left-color: #6B5FA0; }
.prog-item.pi-teal   { border-left-color: #1B6B72; }
.prog-item.pi-neutral { border-left-color: #6b6b6b; }
.prog-item.pi-gold h4::before   { color: var(--or); }
.prog-item.pi-violet h4::before { color: #6B5FA0; }
.prog-item.pi-teal h4::before   { color: #1B6B72; }
.prog-item.pi-neutral h4::before { color: #6b6b6b; }
.prog-head-icon.ph-gold   { background: var(--or-pale); color: var(--or); }
.prog-head-icon.ph-violet { background: #EDE8F7; color: #6B5FA0; }
.prog-head-icon.ph-teal   { background: #E1F1F2; color: #1B6B72; }
.prog-head-icon.ph-neutral { background: #ececec; color: #6b6b6b; }

/* ─── ORGANISATION ─── */
#organisation {
  background: linear-gradient(135deg, var(--sombre) 0%, #163d2a 100%);
  color: var(--blanc);
}
#organisation .section-tag  { color: var(--vert-clair); }
#organisation h2            { color: var(--blanc); }
#organisation .section-lead { color: rgba(255,255,255,0.65); }

.orga-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.orga-card {
  background: rgba(255,255,255,0.06);
  border-radius: 18px;
  padding: 28px;
  border: 1px solid rgba(255,255,255,0.09);
  text-align: center;
  transition: var(--transition);
}
.orga-card:hover {
  background: rgba(255,255,255,0.10);
  transform: translateY(-4px);
}
.orga-card .ico { font-size: 2.4rem; margin-bottom: 14px; }
.orga-card h4   { font-family: 'Amiri', serif; font-size: 1.1rem; color: var(--or); margin-bottom: 8px; }
.orga-card p    { font-size: 0.84rem; color: rgba(255,255,255,0.72); line-height: 1.7; }

/* ─── HORAIRES ─── */
#horaires { background: var(--or-pale); }

.horaires-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: start;
}

.schedule-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--blanc);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--ombre-card);
}
.schedule-table th {
  background: var(--vert);
  color: var(--blanc);
  padding: 14px 20px;
  font-size: 0.84rem;
  text-align: left;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.schedule-table td {
  padding: 14px 20px;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  font-size: 0.88rem;
  color: var(--texte);
}
.schedule-table tr:last-child td { border-bottom: none; }
.schedule-table tr:hover td { background: var(--vert-pale); transition: background .2s; }

.horaires-info { display: flex; flex-direction: column; gap: 14px; }

.info-box {
  background: var(--blanc);
  border-radius: 14px;
  padding: 20px 22px;
  border: 1px solid rgba(45,106,79,0.10);
  box-shadow: var(--ombre-douce);
  transition: var(--transition);
}
.info-box:hover { transform: translateX(4px); border-color: var(--vert-clair); }
.info-box h4 {
  color: var(--vert);
  font-weight: 700;
  margin-bottom: 6px;
  display: flex; align-items: center; gap: 8px;
  font-size: 0.94rem;
}
.info-box p { font-size: 0.86rem; color: #666; line-height: 1.65; }

/* ─── CONTACT ─── */
#contact { background: var(--beige); }

.contact-layout {
  display: flex;
  flex-direction: column;
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto;
}

.contact-form {
  background: var(--blanc);
  border-radius: var(--rayon-card);
  padding: 48px;
  box-shadow: var(--ombre-card);
  position: relative;
  overflow: hidden;
}
.contact-form::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--vert), var(--vert-clair), var(--or));
}
.contact-form h3 { 
  font-size: 1.8rem; 
  color: var(--sombre); 
  margin-bottom: 24px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 12px;
}
.contact-form h3::before {
  content: '📝';
  font-size: 1.5rem;
}

.form-group        { margin-bottom: 18px; }
.form-group label  { display: block; font-size: 0.84rem; font-weight: 700; color: var(--sombre); margin-bottom: 6px; }

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border-radius: 10px;
  border: 2px solid #e8e8e0;
  font-family: 'Quicksand', sans-serif;
  font-size: 0.9rem;
  transition: border-color .2s;
  background: #fafaf7;
  color: var(--texte);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--vert);
  background: var(--blanc);
}
.form-group textarea { resize: vertical; min-height: 100px; }

.btn-submit {
  width: 100%;
  padding: 16px;
  background: linear-gradient(135deg, var(--vert), var(--vert-clair));
  color: var(--blanc);
  border-radius: var(--rayon-pill);
  font-size: 1.1rem;
  font-weight: 700;
  transition: all 0.3s ease;
  box-shadow: 0 6px 20px rgba(45,106,79,0.3);
  margin-top: 12px;
  position: relative;
  overflow: hidden;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}
.btn-submit::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s ease;
}
.btn-submit:hover {
  background: linear-gradient(135deg, var(--sombre), var(--vert));
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(45,106,79,0.4);
}
.btn-submit:hover::before {
  left: 100%;
}

.contact-info { 
  background: var(--blanc);
  border-radius: var(--rayon-card);
  padding: 40px;
  box-shadow: var(--ombre-card);
  position: relative;
  overflow: hidden;
}
.contact-info::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--or), var(--vert-clair), var(--vert));
}
.contact-info h3  { 
  font-size: 1.6rem; 
  color: var(--sombre);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
.contact-info h3::before {
  content: '🤝';
  font-size: 1.4rem;
}
.contact-info > p { 
  font-size: 1rem; 
  color: #555; 
  line-height: 1.7;
  margin-bottom: 24px;
}

.social-links { 
  display: flex; 
  gap: 20px;
  margin-top: 8px;
  flex-wrap: wrap;
}

.social-link {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--blanc);
  border-radius: 14px;
  padding: 16px 20px;
  border: 1px solid rgba(45,106,79,0.08);
  box-shadow: 0 3px 15px rgba(45,106,79,0.06);
  transition: all 0.3s ease;
  font-weight: 600;
  position: relative;
  overflow: hidden;
  flex: 1;
  min-width: 280px;
}
.social-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--vert), var(--vert-clair));
  transform: scaleY(0);
  transition: transform 0.3s ease;
}
.social-link:hover { 
  border-color: var(--vert-clair); 
  transform: translateX(6px);
  box-shadow: 0 8px 30px rgba(45,106,79,0.15);
}
.social-link:hover::before {
  transform: scaleY(1);
}
.social-link .ico      { 
  font-size: 1.6rem; 
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--vert-pale), rgba(82,183,136,0.1));
  border-radius: 10px;
}
.social-link .platform { 
  font-size: 0.82rem; 
  color: #666; 
  margin-top: 4px;
  font-weight: 500;
}

.tarifs-card {
  background: linear-gradient(135deg, var(--sombre), var(--vert-fonce));
  border-radius: 18px;
  padding: 28px;
  color: var(--blanc);
}
.tarifs-card h4 { font-family: 'Amiri', serif; font-size: 1.3rem; color: var(--or); margin-bottom: 10px; }
.tarifs-card p  { font-size: 0.88rem; color: rgba(255,255,255,0.78); line-height: 1.7; }
.tarifs-badge {
  display: inline-block;
  background: rgba(201,168,76,0.18);
  color: var(--or);
  padding: 6px 18px;
  border-radius: var(--rayon-pill);
  font-size: 0.78rem;
  font-weight: 700;
  margin-top: 12px;
  border: 1px solid rgba(201,168,76,0.30);
}

.avantages-box {
  background: var(--vert-pale);
  border-radius: 14px;
  padding: 22px;
}
.avantages-box h4 {
  color: var(--vert);
  font-weight: 700;
  margin-bottom: 10px;
  font-size: 0.95rem;
}
.avantages-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.avantages-list li { font-size: 0.875rem; color: #444; display: flex; align-items: center; gap: 8px; }
.avantages-list li::before { content: '✅'; font-size: 0.85rem; }

/* ─── FOOTER ─── */
footer {
  background: var(--sombre);
  color: rgba(255,255,255,0.65);
  padding: 52px 5% 28px;
  text-align: center;
}
.footer-logo { font-family: 'Amiri', serif; font-size: 1.9rem; color: var(--blanc); margin-bottom: 4px; }
.footer-sub  { font-size: 0.75rem; color: var(--vert-clair); letter-spacing: 0.14em; text-transform: uppercase; font-weight: 700; margin-bottom: 26px; }
.footer-links { display: flex; justify-content: center; gap: 24px; flex-wrap: wrap; margin-bottom: 24px; }
.footer-links a { color: rgba(255,255,255,0.55); font-size: 0.85rem; transition: color .2s; }
.footer-links a:hover { color: var(--blanc); }
.footer-sep   { width: 60px; height: 1px; background: rgba(255,255,255,0.12); margin: 0 auto 20px; }
.footer-copy  { font-size: 0.76rem; color: rgba(255,255,255,0.30); }
.footer-credit { font-size: 0.72rem; color: rgba(255,255,255,0.28); margin-top: 6px; }
.footer-credit a { color: rgba(255,255,255,0.45); text-decoration: none; transition: color .2s; }
.footer-credit a:hover { color: var(--or, #C9A84C); }

/* ─── ANIMATIONS ─── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-up          { animation: fadeUp .7s ease-out both; }
.delay-1          { animation-delay: .1s; }
.delay-2          { animation-delay: .2s; }
.delay-3          { animation-delay: .35s; }

/* ─── RESPONSIVE ─── */
@media (min-width: 1200px) {
  .contact-layout {
    gap: 40px;
  }
  .contact-form {
    padding: 56px;
  }
  .contact-info {
    padding: 48px;
  }
  .social-link {
    padding: 18px 24px;
    min-width: 300px;
  }
  .social-link .ico {
    width: 44px;
    height: 44px;
    font-size: 1.8rem;
  }
}

@media (max-width: 1024px) {
  .hero-carousel { width: 48%; }
}

@media (max-width: 900px) {
  /* nav/.burger : voir wilden-menu.css */
  /* Carrousel visible sur tablette en colonne sous le texte */
  #hero { flex-direction: column; align-items: center; text-align: center; padding: 100px 5% 48px; }
  .hero-carousel { width: 100%; max-width: 540px; margin: 32px auto 0; }
  .hero-content  { width: 100%; max-width: 100%; }
  .hero-btns { justify-content: center; }
  .hero-stats { justify-content: center; }
  .services-layout,
  .horaires-layout,
  .contact-layout { grid-template-columns: 1fr; }
  .orga-grid      { grid-template-columns: 1fr 1fr; }
  .prog-panel.active { grid-template-columns: 1fr; }
  #hero { text-align: center; justify-content: center; }
  .hero-stats   { justify-content: center; flex-wrap: wrap; gap: 24px; }
  .hero-btns    { justify-content: center; }
  .section-lead { max-width: 100%; }
}

@media (max-width: 600px) {
  .orga-grid            { grid-template-columns: 1fr; }
  .enseignements-grid   { 
    gap: 14px;
    animation-duration: 26s;
  }
  .ens-card {
    padding: 24px 20px;
    width: 240px;
  }
  .ens-icon {
    width: 56px;
    height: 56px;
    font-size: 1.6rem;
  }
  .ens-card h3 {
    font-size: 1.25rem;
  }
  .ens-card p {
    font-size: 0.85rem;
  }
  .public-band          { gap: 28px; }
  section               { padding: 60px 5%; }
  .contact-form         { padding: 28px 22px; }

  /* Ancien système d'onglets/accordéon : désormais masqué sous 900px via .prog-desktop,
     remplacé par .prog-mobile-list (voir règle @media(max-width:900px) plus haut) */
}


/* ═══════════════════════════════════
   BOUTONS "EN SAVOIR PLUS" — Panels programme
   ═══════════════════════════════════ */
/* ═══════════════════════════════════
   BADGE PROFESSEUR — réutilisable sur toutes les pages de classe
   ═══════════════════════════════════ */
.prof-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border: 1.5px solid rgba(0,0,0,.07);
  border-radius: 50px;
  padding: 8px 18px 8px 8px;
  margin-bottom: 24px;
  text-decoration: none;
  box-shadow: 0 3px 14px rgba(0,0,0,.06);
  transition: transform .2s, box-shadow .2s;
}
.prof-badge:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,.10); }
.prof-badge img {
  width: 42px; height: 42px; border-radius: 50%; object-fit: cover; flex-shrink: 0;
}
.prof-badge-text { display: flex; flex-direction: column; line-height: 1.25; }
.prof-badge-role {
  font-size: .62rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #737373;
}
.prof-badge-name {
  font-family: 'Quicksand', sans-serif; font-size: .88rem; font-weight: 800; color: #1A2E22;
}

/* Variante : badge aligné sur la même ligne qu'un titre de classe */
.title-with-badge {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap; margin-bottom: 4px;
}
.prof-badge.prof-badge-inline { margin-bottom: 0; flex-shrink: 0; }

/* Variante mini : pour glisser le prof dans une ligne de repères (prog-stats, cartes mobiles) */
.prof-badge-mini {
  padding: 4px 12px 4px 4px;
  gap: 7px;
  margin-bottom: 0;
}
.prof-badge-mini img { width: 26px; height: 26px; }
.prof-badge-mini .prof-badge-role { display: none; }
.prof-badge-mini .prof-badge-name { font-size: .74rem; }

.prog-panel-cta {
  grid-column: 1 / -1;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(45,106,79,0.12);
  text-align: center;
  display: flex;
  justify-content: center;
}

.btn-prog-detail {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--vert, #2D6A4F);
  color: #fff;
  font-family: 'Quicksand', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  padding: 16px 36px;
  border-radius: 50px;
  text-decoration: none;
  transition: background 0.25s, transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 14px rgba(45,106,79,0.25);
  width: 100%;
  max-width: 400px;
}

.btn-prog-detail:hover {
  background: #1e4d38;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(45,106,79,0.35);
}

.btn-prog-soon {
  background: transparent;
  color: #666;
  border: 1.5px dashed #ccc;
  box-shadow: none;
  cursor: default;
  font-style: italic;
}

.btn-prog-soon:hover {
  background: transparent;
  transform: none;
  box-shadow: none;
}


/* ═══════════════════════════════════════════════
   NOUVEAU PLANNING — Emploi du temps décoré
   ═══════════════════════════════════════════════ */

/* Légende */
.planning-legende {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.legende-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 7px 18px;
  border-radius: 50px;
  letter-spacing: 0.02em;
}
.legende-debutant {
  background: #e8f5ee;
  color: #1e5c38;
  border: 1.5px solid #a8d5b8;
}
.legende-ancien {
  background: #fef8e7;
  color: #7a5c00;
  border: 1.5px solid #e8cf80;
}

/* Grille des jours */
.planning-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 44px;
}

/* Carte par jour */
.jour-card {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  transition: transform 0.25s, box-shadow 0.25s;
}
.jour-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.13);
}

/* En-tête coloré du jour */
.jour-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  font-family: 'Amiri', serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
}
.jour-icon { font-size: 1.5rem; }

.jour-mardi    { background: linear-gradient(135deg, #B5541E, #8a3d14); }   /* Terracotta — intensif */
.jour-vendredi { background: linear-gradient(135deg, #6B5FA0, #4d4278); }   /* Violet — Refka/avancé */
.jour-samedi   { background: linear-gradient(135deg, #2D6A4F, #1e4d38); }   /* Vert — Wilden/débutant */
.jour-dimanche { background: linear-gradient(135deg, #C9A84C, #a07830); }   /* Or — Fitya/intermédiaire */
.jour-lundi    { background: linear-gradient(135deg, #1B6B72, #124a4f); }   /* Teal — Éducation Islamique Arabe */
.jour-mercredi { background: linear-gradient(135deg, #3D5A80, #293e5c); }   /* Ardoise — Coran */
.jour-jeudi    { background: linear-gradient(135deg, #8B3A62, #642944); }   /* Bordeaux */

/* Bloc cours */
.cours-item {
  padding: 16px 20px;
  border-bottom: 1px solid #f0f0f0;
  position: relative;
}
.cours-item:last-child { border-bottom: none; }

/* Couleurs par programme */
.cours-wilden { border-left: 4px solid #2D6A4F; }
.cours-fitya  { border-left: 4px solid #C9A84C; }
.cours-refka  { border-left: 4px solid #6B5FA0; }

.badge-wilden {
  background: #e8f5ee;
  color: #1e5c38;
  border: 1px solid #a8d5b8;
}
.badge-fitya {
  background: #fef8e7;
  color: #7a5c00;
  border: 1px solid #e8cf80;
}
.badge-refka {
  background: #f0edf8;
  color: #4d4278;
  border: 1px solid #c4b8e8;
}

.cours-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 8px;
}

.cours-heure {
  font-size: 0.82rem;
  font-weight: 800;
  color: #444;
  background: #f5f5f5;
  padding: 3px 10px;
  border-radius: 20px;
  font-family: 'Quicksand', sans-serif;
  letter-spacing: 0.03em;
}

.cours-badge {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
}
.badge-debutant {
  background: #e8f5ee;
  color: #1e5c38;
  border: 1px solid #a8d5b8;
}
.badge-ancien {
  background: #fef8e7;
  color: #7a5c00;
  border: 1px solid #e8cf80;
}

.cours-nom {
  font-family: 'Amiri', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #1a2e22;
  margin-bottom: 4px;
}
.cours-public {
  font-size: 0.82rem;
  color: #555;
  margin-bottom: 3px;
}
.cours-detail {
  font-size: 0.78rem;
  color: #888;
  font-style: italic;
}

/* Bande infos en bas */
.planning-infos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}
.pinfo-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: #fff;
  border-radius: 14px;
  padding: 18px 20px;
  border: 1px solid rgba(45,106,79,0.10);
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.pinfo-ico {
  font-size: 1.6rem;
  flex-shrink: 0;
  margin-top: 2px;
}
.pinfo-card strong {
  display: block;
  font-size: 0.88rem;
  color: #1a2e22;
  margin-bottom: 4px;
}
.pinfo-card p {
  font-size: 0.80rem;
  color: #666;
  margin: 0;
  line-height: 1.5;
}

/* Responsive planning */
@media (max-width: 860px) {
  .planning-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
}
@media (max-width: 640px) {
  .planning-grid { grid-template-columns: 1fr; }
  .planning-legende { flex-direction: column; align-items: center; }
}
