/* DigiSchool — Styles site vitrine public */

:root {
  --pub-primary: #1a3a5c;
  --pub-accent:  #f59e0b;
}

/* Hero section */
.hero {
  background: linear-gradient(135deg, var(--pub-primary) 0%, #2d6a9f 100%);
  color: #fff;
  padding: 6rem 0 5rem;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 800; line-height: 1.1; }

/* Cartes statistiques */
.stat-card {
  text-align: center;
  padding: 2rem 1rem;
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 .25rem 1rem rgba(0,0,0,.08);
  transition: transform .2s;
}
.stat-card:hover { transform: translateY(-4px); }
.stat-number { font-size: 2.5rem; font-weight: 800; color: var(--pub-primary); line-height: 1; }

/* Cartes résultats */
.result-card {
  border: none;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 .25rem 1rem rgba(0,0,0,.08);
}
.result-badge {
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, #059669, #10b981);
  padding: .5rem 1rem;
  border-radius: .75rem;
  display: inline-block;
}

/* Galerie */
.gallery-item {
  overflow: hidden;
  border-radius: .75rem;
  cursor: pointer;
}
.gallery-item img {
  transition: transform .3s;
  width: 100%; height: 200px; object-fit: cover;
}
.gallery-item:hover img { transform: scale(1.05); }

/* Carte enseignant */
.teacher-card {
  border: none;
  border-radius: 1rem;
  text-align: center;
  padding: 1.5rem 1rem;
  box-shadow: 0 .25rem 1rem rgba(0,0,0,.07);
  transition: transform .2s;
}
.teacher-card:hover { transform: translateY(-4px); }
.teacher-avatar {
  width: 80px; height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #e5e7eb;
}
.teacher-avatar-placeholder {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--pub-primary), #2d6a9f);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem; font-weight: 700;
  margin: 0 auto;
}

/* Section CTA */
.cta-section {
  background: linear-gradient(135deg, var(--pub-accent) 0%, #d97706 100%);
  color: #fff;
  border-radius: 1.5rem;
  padding: 3rem 2rem;
}

/* Formulaire préinscription */
.prereg-steps .step {
  width: 2rem; height: 2rem;
  border-radius: 50%;
  background: #e5e7eb;
  color: #6b7280;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: .85rem;
}
.prereg-steps .step.active {
  background: var(--pub-primary);
  color: #fff;
}
