/* ═══════════════════════════════════════════════════════════
   ASSEKLA ÉCOLE — school.css
   Light theme with dark accents. White & near-white.
   ═══════════════════════════════════════════════════════════ */

/* ── Override body for school page ── */
.page-school {
  background: #F5F4F0;
  color: #0A0A0A;
}

.page-school .header {
  mix-blend-mode: normal;
  background: rgba(245,244,240,0.92);
  backdrop-filter: blur(20px);
  border-bottom: 0.5px solid rgba(0,0,0,0.06);
  pointer-events: all;
  z-index: 100;
}

.page-school .header__logo {
  color: #0A0A0A;
  opacity: 1;
  transform: none;
  pointer-events: all;
}

.page-school .logo-svg circle {
  stroke: #0A0A0A;
}

.page-school .logo-svg circle:last-child {
  fill: #0A0A0A;
  stroke: none;
}

.page-school .footer {
  border-top-color: rgba(0,0,0,0.08);
  color: #0A0A0A;
}

.page-school .footer__copy {
  color: rgba(0,0,0,0.3);
}

/* ── School nav ── */
.school-nav {
  display: flex;
  gap: 2.5rem;
  align-items: center;
  pointer-events: all;
}

.school-nav__link {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(0,0,0,0.45);
  transition: color 0.3s;
  text-decoration: none;
  pointer-events: all;
  cursor: pointer;
}

.school-nav__link:hover { color: #0A0A0A; }

.sep-sm { color: rgba(0,0,0,0.2); }

/* ── Main container ── */
.school-main {
  padding-top: 80px; /* header height */
}

/* ══ SCHOOL HERO ══════════════════════════════════════════ */
.school-hero {
  min-height: 90vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 6rem 4rem;
  gap: 4rem;
  max-width: 1300px;
  margin: 0 auto;
}

.school-hero__badge {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(0,0,0,0.3);
  margin-bottom: 2rem;
}

.school-hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #0A0A0A;
  margin-bottom: 0.5rem;
}

.school-hero__sub {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1rem, 2vw, 1.5rem);
  font-weight: 300;
  color: rgba(0,0,0,0.3);
  margin-bottom: 2rem;
}

.school-hero__desc {
  font-size: 0.95rem;
  line-height: 1.8;
  color: rgba(0,0,0,0.55);
  max-width: 480px;
  margin-bottom: 3rem;
}

.school-text-en {
  color: rgba(0,0,0,0.25);
  font-size: 0.85rem;
}

/* Animated orb for school hero */
.school-hero__visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.school-orb {
  width: clamp(200px, 30vw, 380px);
  height: clamp(200px, 30vw, 380px);
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%,
    rgba(255,255,255,0.9) 0%,
    rgba(220,218,210,0.6) 40%,
    rgba(180,178,170,0.3) 70%,
    transparent 100%
  );
  box-shadow:
    inset 0 0 60px rgba(255,255,255,0.5),
    0 0 100px rgba(0,0,0,0.05);
  animation: orbFloat 6s ease-in-out infinite;
  position: relative;
}

.school-orb::before {
  content: '';
  position: absolute;
  inset: 8px;
  border-radius: 50%;
  border: 0.5px solid rgba(0,0,0,0.06);
}

.school-orb::after {
  content: '';
  position: absolute;
  inset: 25%;
  border-radius: 50%;
  background: rgba(0,0,0,0.04);
}

@keyframes orbFloat {
  0%, 100% { transform: translateY(0) scale(1); }
  50%       { transform: translateY(-16px) scale(1.02); }
}

/* ── CTA buttons ── */
.btn--school {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2.5rem;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: #0A0A0A;
  color: #F5F4F0;
  transition: all 0.4s var(--ease-out);
  position: relative;
  overflow: hidden;
}

.btn--school::before {
  content: '';
  position: absolute;
  inset: 0;
  background: #2A2A2A;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-out);
}

.btn--school:hover::before { transform: scaleX(1); }
.btn--school span { position: relative; z-index: 1; }

.btn--full { width: 100%; justify-content: center; margin-top: 1.5rem; }

.btn--outline-sm {
  padding: 0.6rem 1.4rem;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border: 0.5px solid rgba(0,0,0,0.2);
  color: rgba(0,0,0,0.7);
  transition: all 0.3s;
  text-decoration: none;
  display: inline-block;
}

.btn--outline-sm:hover {
  background: #0A0A0A;
  color: #F5F4F0;
  border-color: #0A0A0A;
}

/* ══ PROGRAMMES ═══════════════════════════════════════════ */
.school-programmes {
  padding: 8rem 4rem;
  background: #0A0A0A;
  color: white;
}

.school-section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 300;
  letter-spacing: -0.01em;
  margin-bottom: 4rem;
  color: inherit;
}

.school-programmes .school-section-title { color: white; }
.school-programmes .sep { color: rgba(255,255,255,0.2); }

.programmes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.05);
}

.programme-card {
  background: #0A0A0A;
  padding: 3rem 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 0;
  transition: background 0.4s;
}

.programme-card:hover { background: #111; }

.programme-card__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.programme-level {
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
}

.programme-duration {
  font-size: 0.65rem;
  color: rgba(255,255,255,0.2);
  letter-spacing: 0.05em;
}

.programme-name {
  font-family: var(--font-display);
  font-size: clamp(2rem, 2.5vw, 2.5rem);
  font-weight: 300;
  color: white;
  margin-bottom: 0.2rem;
  line-height: 1;
}

.programme-name--en {
  font-style: italic;
  color: rgba(255,255,255,0.2);
  font-size: clamp(1rem, 1.5vw, 1.3rem);
  margin-bottom: 2rem;
}

.programme-desc {
  font-size: 0.85rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.45);
  margin-bottom: 0.4rem;
}

.programme-desc--en {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.18);
  margin-bottom: 2rem;
}

.programme-modules {
  list-style: none;
  flex: 1;
  margin-bottom: 2.5rem;
}

.programme-modules li {
  padding: 0.8rem 0;
  border-bottom: 0.5px solid rgba(255,255,255,0.06);
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.programme-modules li [lang="en"] {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.18);
  font-style: italic;
}

.programme-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 2rem;
  border-top: 0.5px solid rgba(255,255,255,0.06);
}

.programme-price {
  font-size: 0.65rem;
  color: rgba(255,255,255,0.2);
  letter-spacing: 0.08em;
}

.programme-price--sacred {
  font-size: 1.4rem;
  color: rgba(255,255,255,0.3);
}

/* Level 3 — special styling */
.programme-card--level-3 {
  background: #0d0d0d;
  border: 0.5px solid rgba(255,255,255,0.06);
}

.programme-card--level-3 .programme-name:first-of-type {
  background: linear-gradient(135deg, rgba(255,255,255,0.9), rgba(255,255,255,0.4));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ══ ABOUT ════════════════════════════════════════════════ */
.school-about {
  padding: 8rem 4rem;
  background: #F5F4F0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}

.school-about .school-section-title { color: #0A0A0A; }
.school-about .sep { color: rgba(0,0,0,0.2); }

.about-p {
  font-size: 1rem;
  line-height: 1.8;
  color: rgba(0,0,0,0.6);
  margin-bottom: 0.8rem;
}

.about-p--en {
  font-size: 0.85rem;
  color: rgba(0,0,0,0.25);
  margin-bottom: 3rem;
}

.about-pillars {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.pillar {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.pillar__icon {
  font-size: 1.2rem;
  color: rgba(0,0,0,0.2);
  margin-top: 0.15rem;
  flex-shrink: 0;
  width: 20px;
}

.pillar h4 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 400;
  color: #0A0A0A;
  margin-bottom: 0.3rem;
}

.pillar__en {
  font-style: italic;
  color: rgba(0,0,0,0.3);
  font-size: 0.9rem !important;
  margin-bottom: 0.5rem !important;
}

.pillar p {
  font-size: 0.85rem;
  color: rgba(0,0,0,0.45);
  line-height: 1.6;
}

/* Animated circles visual */
.about-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-circles {
  position: relative;
  width: 320px;
  height: 320px;
}

.about-circle {
  position: absolute;
  border-radius: 50%;
  border: 0.5px solid rgba(0,0,0,0.12);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}

.about-circle--1 {
  width: 280px; height: 280px;
  animation: rotateCW 25s linear infinite;
}

.about-circle--2 {
  width: 190px; height: 190px;
  animation: rotateCCW 18s linear infinite;
  border-color: rgba(0,0,0,0.08);
}

.about-circle--3 {
  width: 100px; height: 100px;
  animation: rotateCW 12s linear infinite;
  border-color: rgba(0,0,0,0.15);
}

.about-dot {
  position: absolute;
  width: 10px; height: 10px;
  background: #0A0A0A;
  border-radius: 50%;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}

@keyframes rotateCW  { to { transform: translate(-50%, -50%) rotate(360deg); } }
@keyframes rotateCCW { to { transform: translate(-50%, -50%) rotate(-360deg); } }

/* ══ INSCRIPTION ══════════════════════════════════════════ */
.school-inscription {
  padding: 8rem 4rem;
  background: #EDECE8;
}

.school-inscription .school-section-title { color: #0A0A0A; }
.school-inscription .sep { color: rgba(0,0,0,0.2); }

.inscription-desc {
  font-size: 0.9rem;
  color: rgba(0,0,0,0.45);
  line-height: 1.8;
  margin-bottom: 3rem;
  max-width: 550px;
  margin-left: auto;
  margin-right: auto;
}

.inscription-form {
  max-width: 560px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.form__label {
  display: block;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(0,0,0,0.35);
  margin-bottom: 0.6rem;
}

.inscription-form input,
.inscription-form select,
.inscription-form textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 0.5px solid rgba(0,0,0,0.15);
  padding: 0.8rem 0;
  color: #0A0A0A;
  font-size: 0.9rem;
  font-weight: 300;
  outline: none;
  transition: border-color 0.3s;
  border-radius: 0;
  appearance: none;
}

.inscription-form input::placeholder,
.inscription-form textarea::placeholder { color: rgba(0,0,0,0.2); }

.inscription-form input:focus,
.inscription-form select:focus,
.inscription-form textarea:focus { border-bottom-color: #0A0A0A; }

.inscription-form textarea { resize: none; }

.form__select {
  cursor: pointer;
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .school-hero { grid-template-columns: 1fr; padding: 4rem 2rem; }
  .school-hero__visual { order: -1; }
  .school-hero__desc { max-width: 100%; }
  .programmes-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 3rem; }
  .about-visual { order: -1; }
  .school-programmes,
  .school-about,
  .school-inscription { padding: 5rem 2rem; }
  .form__row { grid-template-columns: 1fr; }
  .school-nav { gap: 1.2rem; }
}
