/* ============================================
   SMILEY SCHOOL INTERNATIONAL — main.css
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Inter:wght@300;400;500;600&display=swap');

/* ── Variables ── */
:root {
  --gold:       #F7941D;
  --blue:       #29ABE2;
  --orange:     #F7941D;
  --dark:       #0057B8;
  --dark-2:     #0a1628;
  --dark-3:     #0f1f35;
  --white:      #FFFFFF;
  --light:      #f4f7ff;
  --text:       #1a1a2e;
  --text-muted: rgba(255,255,255,0.65);
  --nav-h:      80px;
  --radius:     12px;
  --ease:       cubic-bezier(0.4, 0, 0.2, 1);
  --t:          0.3s var(--ease);
  --shadow:     0 4px 24px rgba(0,0,0,0.08);

  --blue-dark: #0057B8;
  --light-bg: #F0F8FF;
  --text-dark: #1A2E4A;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html  { scroll-behavior: smooth; font-size: 16px; }
body  { font-family: 'Inter', sans-serif; background: var(--white); color: var(--text); overflow-x: hidden; line-height: 1.6; }
img   { max-width: 100%; display: block; }
a     { text-decoration: none; color: inherit; }
ul    { list-style: none; }
button { cursor: pointer; font-family: inherit; }

h1, h2, h3, h4, h5 { font-family: 'Plus Jakarta Sans', sans-serif; line-height: 1.15; }

/* ════════════════════════════════════════════
   SCROLL PROGRESS BAR
   ════════════════════════════════════════════ */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--gold), var(--orange));
  z-index: 9999;
  transition: width 0.08s linear;
  border-radius: 0 2px 2px 0;
}

/* ════════════════════════════════════════════
   NAVBAR
   ════════════════════════════════════════════ */
.navbar {
  position: fixed;
  top: 3px; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 1000;
  transition: background var(--t), backdrop-filter var(--t), border-color var(--t), box-shadow var(--t);
}

.navbar.scrolled {
  background: rgba(0, 87, 184, 0.82);
  backdrop-filter: blur(22px) saturate(180%);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  border-bottom: 1px solid rgba(247, 148, 29, 0.18);
  box-shadow: 0 4px 40px rgba(0,0,0,0.35);
}

.nav-container {
  max-width: 1300px;
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0 2rem;
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--white);
  white-space: nowrap;
  flex-shrink: 0;
}

.logo-badge {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold) 0%, var(--orange) 100%);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.82rem; font-weight: 800;
  color: var(--dark);
  letter-spacing: 0.04em;
  flex-shrink: 0;
  box-shadow: 0 0 22px rgba(247, 148, 29,0.35);
  transition: box-shadow var(--t), transform var(--t);
}
.nav-logo:hover .logo-badge {
  transform: rotate(8deg) scale(1.05);
  box-shadow: 0 0 32px rgba(247, 148, 29,0.55);
}

.logo-text {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.92rem; font-weight: 700;
}

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin: 0 auto;
}

.nav-link {
  color: rgba(255,255,255,0.85);
  font-size: 0.88rem; font-weight: 500;
  padding: 0.45rem 1rem;
  border-radius: 8px;
  position: relative;
  transition: color var(--t);
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 2px; left: 50%;
  transform: translateX(-50%);
  width: 0; height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transition: width var(--t);
}
.nav-link:hover,
.nav-link.active { color: var(--gold); }
.nav-link:hover::after,
.nav-link.active::after { width: calc(100% - 2rem); }

/* Inscription button */
.btn-inscription {
  background: var(--gold);
  color: var(--dark);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700; font-size: 0.83rem;
  padding: 0.55rem 1.25rem;
  border-radius: 50px;
  white-space: nowrap;
  border: none;
  transition: all var(--t);
  box-shadow: 0 0 20px rgba(247, 148, 29,0.3);
  flex-shrink: 0;
}
.btn-inscription:hover {
  background: #ffc933;
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(247, 148, 29,0.55);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none; border: none;
  padding: 0.5rem;
  flex-shrink: 0;
}
.hamburger span {
  width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  display: block;
  transition: all var(--t);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ════════════════════════════════════════════
   MOBILE OVERLAY
   ════════════════════════════════════════════ */
.mobile-overlay {
  position: fixed; inset: 0;
  background: var(--dark);
  z-index: 2000;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 2.5rem;
  opacity: 0; pointer-events: none;
  transition: opacity 0.35s var(--ease);
}
.mobile-overlay.active { opacity: 1; pointer-events: all; }

.overlay-close {
  position: absolute; top: 1.5rem; right: 1.5rem;
  background: none;
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--white);
  font-size: 1.1rem;
  width: 44px; height: 44px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: all var(--t);
}
.overlay-close:hover { border-color: var(--gold); color: var(--gold); background: rgba(247, 148, 29,0.08); }

.overlay-links {
  display: flex; flex-direction: column;
  align-items: center; gap: 1.75rem;
  text-align: center;
}
.overlay-links li { overflow: hidden; }
.overlay-links a {
  color: var(--white);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(1.5rem, 6vw, 2.2rem); font-weight: 700;
  transition: color var(--t);
  display: block;
}
.overlay-links a:hover { color: var(--gold); }
.overlay-btn { display: inline-block; }

/* ════════════════════════════════════════════
   HERO
   ════════════════════════════════════════════ */
.hero {
  position: relative;
  height: 100vh; min-height: 640px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  background: linear-gradient(135deg, #29ABE2, #0057B8);
}

#particleCanvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  display: block;
}

/* Subtle gradient overlay for text readability */
.hero::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 70% at 50% 60%, rgba(0, 87, 184,0.15) 0%, rgba(0, 87, 184,0.55) 100%);
  z-index: 1; pointer-events: none;
}

.hero-content {
  position: relative; z-index: 2;
  text-align: center;
  padding: 0 1.5rem;
  max-width: 860px;
  width: 100%;
}

/* Badge */
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(247, 148, 29,0.1);
  border: 1px solid rgba(247, 148, 29,0.38);
  color: var(--gold);
  font-size: 0.83rem; font-weight: 600;
  padding: 0.45rem 1.2rem;
  border-radius: 50px;
  margin-bottom: 2rem;
  backdrop-filter: blur(10px);
  letter-spacing: 0.02em;
}
.badge-pulse {
  display: inline-block;
  animation: pulse-star 1.6s ease-in-out infinite;
}
@keyframes pulse-star {
  0%, 100% { transform: scale(1) rotate(0deg); opacity: 1; }
  50%       { transform: scale(1.5) rotate(20deg); opacity: 0.7; }
}

/* Title + typewriter */
.hero-title {
  font-size: clamp(2.4rem, 6.5vw, 5rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 1.25rem;
  min-height: 1.25em;
  letter-spacing: -0.02em;
}
.cursor {
  color: var(--gold);
  font-weight: 200;
  animation: blink-cursor 1s step-end infinite;
}
@keyframes blink-cursor {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

.hero-subtitle {
  font-size: clamp(0.9rem, 2.2vw, 1.1rem);
  color: rgba(255,255,255,0.68);
  margin-bottom: 2.75rem;
  letter-spacing: 0.06em;
}

/* Buttons */
.hero-buttons {
  display: flex; align-items: center; justify-content: center;
  gap: 1rem; flex-wrap: wrap;
}
.btn-primary {
  background: var(--gold);
  color: var(--dark);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700; font-size: 1rem;
  padding: 0.9rem 2.25rem;
  border-radius: 50px; border: none;
  transition: all var(--t);
  box-shadow: 0 0 30px rgba(247, 148, 29,0.4);
  display: inline-block;
}
.btn-primary:hover {
  background: #ffc933;
  transform: translateY(-3px);
  box-shadow: 0 10px 40px rgba(247, 148, 29,0.6);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 600; font-size: 1rem;
  padding: 0.875rem 2.25rem;
  border-radius: 50px;
  border: 1.5px solid rgba(255,255,255,0.38);
  transition: all var(--t);
  display: inline-block;
}
.btn-outline:hover {
  border-color: rgba(255,255,255,0.85);
  background: rgba(255,255,255,0.08);
  transform: translateY(-3px);
}

/* Chevron */
.hero-chevron {
  position: absolute; bottom: 2rem; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  animation: bounce-y 2.2s ease-in-out infinite;
  cursor: pointer; opacity: 0.65;
  transition: opacity var(--t);
}
.hero-chevron:hover { opacity: 1; }
@keyframes bounce-y {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(12px); }
}

/* ════════════════════════════════════════════
   STATS SECTION
   ════════════════════════════════════════════ */
.stats-section {
  padding: 5rem 2rem 7rem;
  background: var(--light);
}

.stats-container {
  max-width: 960px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.75rem;
}

.stat-card {
  text-align: center;
  padding: 2.25rem 1rem 2rem;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid rgba(0,0,0,0.04);
  transition: transform var(--t), box-shadow var(--t);
  position: relative; overflow: hidden;
}
.stat-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--orange));
  border-radius: var(--radius) var(--radius) 0 0;
}
.stat-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.12);
}

.stat-number {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(2.6rem, 5.5vw, 3.75rem);
  font-weight: 800;
  background: linear-gradient(135deg, var(--gold) 0%, var(--orange) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 0.6rem;
  letter-spacing: -0.02em;
}
.stat-label {
  font-size: 0.82rem; font-weight: 700;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ════════════════════════════════════════════
   PAGE HERO (inner pages)
   ════════════════════════════════════════════ */
.page-hero {
  min-height: 44vh;
  background: linear-gradient(135deg, #29ABE2, #0057B8);
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  padding: calc(var(--nav-h) + 3rem) 2rem 4rem;
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 80% at 50% 50%, rgba(0,87,184,0.18) 0%, transparent 70%);
}
.page-hero-content { position: relative; z-index: 1; max-width: 700px; }
.page-hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800; color: var(--white);
  margin-bottom: 1rem;
}
.page-hero p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.65);
  max-width: 540px; margin: 0 auto;
}

/* ════════════════════════════════════════════
   SECTION GENERIC
   ════════════════════════════════════════════ */
.section { padding: 5rem 2rem; }
.section-inner { max-width: 1100px; margin: 0 auto; }

.section-tag {
  display: inline-block;
  font-size: 0.78rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--gold);
  margin-bottom: 0.75rem;
}
.section-title {
  font-size: clamp(1.75rem, 4vw, 2.6rem);
  font-weight: 800; color: var(--text);
  margin-bottom: 1rem;
}
.section-desc {
  font-size: 1rem; color: #666;
  max-width: 600px;
  margin-bottom: 3rem;
  line-height: 1.75;
}

/* ════════════════════════════════════════════
   ABOUT — VALUES
   ════════════════════════════════════════════ */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}
.value-card {
  padding: 2.25rem 1.75rem;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: var(--shadow);
  transition: transform var(--t), box-shadow var(--t);
}
.value-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 40px rgba(0,0,0,0.1);
}
.value-icon {
  width: 52px; height: 52px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; margin-bottom: 1.25rem;
  background: linear-gradient(135deg, rgba(247, 148, 29,0.12), rgba(247, 148, 29,0.12));
}
.value-card h3 {
  font-size: 1.1rem; font-weight: 700;
  margin-bottom: 0.6rem; color: var(--text);
}
.value-card p { font-size: 0.9rem; color: #666; line-height: 1.7; }

/* ════════════════════════════════════════════
   PROGRAMS
   ════════════════════════════════════════════ */
.programs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem; margin-top: 1rem;
}
.program-card {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: var(--shadow);
  transition: transform var(--t), box-shadow var(--t);
}
.program-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 55px rgba(0,0,0,0.13);
}
.program-header {
  padding: 2rem 1.75rem 1.5rem;
  background: var(--dark);
  position: relative; overflow: hidden;
}
.program-header::after {
  content: '';
  position: absolute; bottom: -20px; right: -20px;
  width: 100px; height: 100px; border-radius: 50%;
  background: rgba(255,255,255,0.04);
}
.program-age {
  font-size: 0.75rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--gold); margin-bottom: 0.5rem;
}
.program-header h3 {
  font-size: 1.5rem; font-weight: 800; color: var(--white);
}
.program-body { padding: 1.75rem; }
.program-body p { font-size: 0.9rem; color: #555; line-height: 1.7; margin-bottom: 1.25rem; }
.program-features { display: flex; flex-direction: column; gap: 0.6rem; }
.program-feature {
  display: flex; align-items: center; gap: 0.65rem;
  font-size: 0.85rem; color: #444;
}
.program-feature::before {
  content: '';
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--gold); flex-shrink: 0;
}

/* ════════════════════════════════════════════
   ACTIVITIES
   ════════════════════════════════════════════ */
.activities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem; margin-top: 1rem;
}
.activity-card {
  padding: 1.75rem;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: var(--shadow);
  transition: all var(--t);
  display: flex; flex-direction: column; gap: 0.75rem;
}
.activity-card:hover { transform: translateY(-4px); box-shadow: 0 12px 36px rgba(0,0,0,0.1); }
.activity-icon {
  font-size: 2rem; line-height: 1;
}
.activity-card h3 { font-size: 1rem; font-weight: 700; color: var(--text); }
.activity-card p  { font-size: 0.87rem; color: #666; line-height: 1.65; }

/* ════════════════════════════════════════════
   CONTACT
   ════════════════════════════════════════════ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem; align-items: start;
}
.contact-info-block { display: flex; flex-direction: column; gap: 1.75rem; }
.contact-info-item {
  display: flex; gap: 1rem; align-items: flex-start;
}
.contact-info-icon {
  width: 46px; height: 46px; border-radius: 12px;
  background: linear-gradient(135deg, rgba(247, 148, 29,0.15), rgba(247, 148, 29,0.1));
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; color: var(--gold);
}
.contact-info-text h4 { font-size: 0.88rem; font-weight: 700; margin-bottom: 0.25rem; color: var(--text); }
.contact-info-text p  { font-size: 0.88rem; color: #666; }

.contact-form {
  background: var(--white);
  border-radius: 16px; padding: 2.5rem;
  box-shadow: 0 8px 40px rgba(0,0,0,0.08);
  border: 1px solid rgba(0,0,0,0.05);
}
.contact-form h3 {
  font-size: 1.35rem; font-weight: 800;
  margin-bottom: 1.75rem;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: 0.45rem; margin-bottom: 1.1rem; }
.form-group label { font-size: 0.82rem; font-weight: 600; color: #444; }
.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.75rem 1rem;
  border: 1.5px solid rgba(0,0,0,0.1);
  border-radius: 10px;
  font-family: inherit; font-size: 0.9rem; color: var(--text);
  background: var(--light);
  outline: none;
  transition: border-color var(--t), box-shadow var(--t);
  width: 100%;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(247, 148, 29,0.12);
  background: var(--white);
}
.form-group textarea { resize: vertical; min-height: 110px; }
.form-submit {
  width: 100%;
  background: var(--gold);
  color: var(--dark);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700; font-size: 0.95rem;
  padding: 0.9rem;
  border-radius: 50px; border: none;
  cursor: pointer;
  transition: all var(--t);
  box-shadow: 0 0 24px rgba(247, 148, 29,0.3);
  margin-top: 0.5rem;
}
.form-submit:hover {
  background: #ffc933;
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(247, 148, 29,0.5);
}

/* ════════════════════════════════════════════
   FOOTER
   ════════════════════════════════════════════ */
.footer {
  background: var(--dark);
  color: var(--white);
  position: relative;
}

.footer-wave {
  position: absolute;
  top: -68px; left: 0; right: 0;
  height: 70px;
  overflow: hidden;
  pointer-events: none;
}
.footer-wave svg {
  position: absolute; bottom: 0; left: 0;
  width: 200%; height: 100%;
  animation: wave-slide 14s linear infinite;
}
@keyframes wave-slide {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 5rem 2rem 3rem;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.5fr;
  gap: 3rem;
}

.footer-logo {
  display: flex; align-items: center; gap: 0.75rem;
  margin-bottom: 1rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700; font-size: 0.92rem;
}
.footer-tagline {
  color: rgba(255,255,255,0.55);
  font-size: 0.88rem; line-height: 1.75;
  margin-bottom: 1.75rem;
  max-width: 300px;
}
.social-links { display: flex; gap: 0.75rem; }
.social-link {
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.18);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.6);
  transition: all var(--t);
}
.social-link:hover {
  border-color: var(--gold); color: var(--gold);
  background: rgba(247, 148, 29,0.1); transform: translateY(-2px);
}

.footer-heading {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.88rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--gold);
  margin-bottom: 1.25rem;
}
.footer-links { display: flex; flex-direction: column; gap: 0.8rem; }
.footer-links a {
  color: rgba(255,255,255,0.6);
  font-size: 0.88rem;
  transition: color var(--t), padding-left var(--t);
  display: flex; align-items: center; gap: 0.4rem;
}
.footer-links a::before {
  content: '›';
  color: var(--gold); opacity: 0;
  transition: opacity var(--t);
}
.footer-links a:hover { color: var(--white); padding-left: 4px; }
.footer-links a:hover::before { opacity: 1; }

.footer-contact-list { display: flex; flex-direction: column; gap: 1.1rem; }
.footer-contact-item {
  display: flex; align-items: flex-start; gap: 0.85rem;
  color: rgba(255,255,255,0.6);
  font-size: 0.88rem; line-height: 1.55;
}
.footer-contact-item svg { flex-shrink: 0; margin-top: 1px; color: var(--gold); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 1.5rem 2rem;
  text-align: center;
  color: rgba(255,255,255,0.35);
  font-size: 0.82rem;
}

/* ════════════════════════════════════════════
   WHATSAPP BUTTON
   ════════════════════════════════════════════ */
.whatsapp-btn {
  position: fixed;
  bottom: 2rem; right: 2rem;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25D366;
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  z-index: 998;
  transition: all var(--t);
  animation: wa-pulse 2.8s ease-in-out infinite;
}
.whatsapp-btn:hover {
  transform: scale(1.12);
  box-shadow: 0 8px 36px rgba(37,211,102,0.65) !important;
  animation: none;
}
@keyframes wa-pulse {
  0%, 100% { box-shadow: 0 4px 18px rgba(37,211,102,0.4); }
  50%       { box-shadow: 0 4px 18px rgba(37,211,102,0.4), 0 0 0 12px rgba(37,211,102,0.1); }
}

/* ════════════════════════════════════════════
   UTILITIES
   ════════════════════════════════════════════ */
.light-bg { background: var(--light); }

/* ════════════════════════════════════════════
   REVEAL ANIMATIONS (IntersectionObserver)
   ════════════════════════════════════════════ */
.reveal-up {
  opacity: 0;
  transform: translateY(42px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ════════════════════════════════════════════
   SECTION 1 — NOS PROGRAMMES
   ════════════════════════════════════════════ */
.prog-section { background: var(--white); }

.prog-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 1rem;
}

.prog-card-3d {
  perspective: 900px;
  cursor: pointer;
}

.prog-card-inner {
  background: var(--white);
  border-radius: 18px;
  border: 1.5px solid rgba(0,0,0,0.07);
  box-shadow: 0 6px 28px rgba(0,0,0,0.07);
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transform-style: preserve-3d;
  transition: transform 0.14s ease, box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
  will-change: transform;
}
.prog-card-3d:hover .prog-card-inner {
  box-shadow: 0 20px 58px rgba(247, 148, 29,0.22), 0 0 0 2px var(--gold);
  border-color: var(--gold);
}

.prog-card-icon {
  font-size: 2.8rem;
  line-height: 1;
  margin-bottom: 0.25rem;
}
.prog-card-age {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold);
}
.prog-card-title {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--text);
}
.prog-card-desc {
  font-size: 0.92rem;
  color: #666;
  line-height: 1.72;
  flex: 1;
}
.prog-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--blue);
  transition: color var(--t), gap var(--t);
  margin-top: 0.5rem;
}
.prog-card-link:hover { color: var(--gold); gap: 0.62rem; }

/* ════════════════════════════════════════════
   SECTION 2 — POURQUOI SMILEY SCHOOL
   ════════════════════════════════════════════ */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 1rem;
}

.why-tile {
  background: var(--white);
  border-radius: 16px;
  padding: 2rem 1.5rem;
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  cursor: default;
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease),
              background 0.32s var(--ease), box-shadow 0.32s var(--ease);
}
.why-tile.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.why-tile:hover {
  background: var(--blue);
  transform: translateY(-5px);
  box-shadow: 0 14px 44px rgba(0,87,184,0.28);
}
.why-tile:hover h3,
.why-tile:hover p,
.why-tile:hover .why-tile-icon { color: var(--white); }

.why-tile-icon {
  font-size: 2.2rem;
  display: block;
  margin-bottom: 0.9rem;
  transition: color var(--t);
}
.why-tile h3 {
  font-size: 1rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 0.5rem;
  transition: color var(--t);
}
.why-tile p {
  font-size: 0.88rem;
  color: #666;
  line-height: 1.65;
  transition: color var(--t);
}

/* ════════════════════════════════════════════
   SECTION 3 — ACTIVITÉS (scroll horizontal)
   ════════════════════════════════════════════ */
.act-scroll-section { overflow: hidden; background: var(--white); }

.act-scroll-wrapper {
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  cursor: grab;
  padding: 0.5rem 2rem 2.5rem;
  scrollbar-width: thin;
  scrollbar-color: var(--gold) rgba(0,0,0,0.06);
}
.act-scroll-wrapper:active     { cursor: grabbing; }
.act-scroll-wrapper.is-dragging { user-select: none; }

.act-scroll-track {
  display: flex;
  gap: 1.5rem;
  width: max-content;
  padding: 0.75rem 0;
}

.act-scroll-card {
  scroll-snap-align: start;
  flex-shrink: 0;
  width: 270px;
  background: var(--white);
  border-radius: 18px;
  border: 1.5px solid rgba(0,0,0,0.07);
  box-shadow: 0 6px 28px rgba(0,0,0,0.07);
  padding: 2.25rem 1.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.75rem;
  transition: transform var(--t), box-shadow var(--t);
}
.act-scroll-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 18px 52px rgba(0,0,0,0.12);
}
.act-scroll-icon {
  font-size: 3rem;
  line-height: 1;
  display: block;
}
.act-scroll-card h3 { font-size: 1.15rem; font-weight: 800; color: var(--text); }
.act-scroll-card p  { font-size: 0.9rem; color: #666; line-height: 1.65; }

@keyframes float-icon {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-11px); }
}
.float-anim { animation: float-icon 3.2s ease-in-out infinite; }

/* ════════════════════════════════════════════
   SECTION 4 — CTA INSCRIPTIONS
   ════════════════════════════════════════════ */
.cta-section {
  background: var(--dark);
  padding: 7rem 2rem 6rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 65% 70% at 50% 50%, rgba(0,87,184,0.22) 0%, transparent 68%);
  pointer-events: none;
}

.cta-inner {
  position: relative; z-index: 1;
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.cta-title {
  font-size: clamp(1.9rem, 4.5vw, 3.1rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
}

.cta-promo {
  background: rgba(247, 148, 29,0.1);
  border: 1px solid rgba(247, 148, 29,0.3);
  color: var(--gold);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.65rem 1.6rem;
  border-radius: 50px;
}

/* Countdown */
.countdown {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  justify-content: center;
}
.countdown-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
}
.flip-box {
  width: 92px; height: 92px;
  background: rgba(255,255,255,0.06);
  border: 1.5px solid rgba(255,255,255,0.13);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  perspective: 400px;
}
.flip-num {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  display: block;
  transform-origin: center;
}
.flip-box.flipping .flip-num {
  animation: flip-digit 0.44s cubic-bezier(0.4, 0, 0.2, 1);
}
@keyframes flip-digit {
  0%   { transform: scaleY(1);   opacity: 1; }
  25%  { transform: scaleY(0.4); opacity: 0.4; }
  50%  { transform: scaleY(0);   opacity: 0; }
  75%  { transform: scaleY(0.4); opacity: 0.4; }
  100% { transform: scaleY(1);   opacity: 1; }
}

.countdown-sep {
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
  align-self: flex-start;
  margin-top: 0.55rem;
}
.countdown-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  color: rgba(255,255,255,0.45);
}

/* Shimmer button */
.btn-shimmer {
  display: inline-block;
  background: var(--gold);
  color: var(--dark);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  padding: 1rem 2.75rem;
  border-radius: 50px;
  border: none;
  position: relative;
  overflow: hidden;
  transition: all var(--t);
  box-shadow: 0 0 32px rgba(247, 148, 29,0.4);
}
.btn-shimmer::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 55%; height: 100%;
  background: linear-gradient(
    120deg,
    transparent 0%,
    rgba(255,255,255,0.48) 50%,
    transparent 100%
  );
  animation: shimmer-slide 2.4s ease-in-out infinite;
}
@keyframes shimmer-slide {
  0%   { left: -100%; }
  100% { left: 160%; }
}
.btn-shimmer:hover {
  background: #ffc933;
  transform: translateY(-3px);
  box-shadow: 0 12px 46px rgba(247, 148, 29,0.62);
}

/* ════════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .nav-links        { display: none; }
  .btn-inscription  { display: none; }
  .hamburger        { display: flex; }
  .stats-container  { grid-template-columns: repeat(2, 1fr); }
  .footer-container { grid-template-columns: 1fr 1fr; }
  .footer-container > .footer-col:first-child { grid-column: 1 / -1; }
  .footer-tagline   { max-width: 100%; }
  .contact-grid     { grid-template-columns: 1fr; gap: 2rem; }
  .programs-grid    { grid-template-columns: 1fr; }
  .values-grid      { grid-template-columns: 1fr; }
  /* New sections */
  .prog-cards-grid  { grid-template-columns: 1fr; }
  .why-grid         { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .activities-grid  { grid-template-columns: 1fr 1fr; }
  .form-row         { grid-template-columns: 1fr; }
  .hero-buttons     { flex-direction: column; align-items: stretch; text-align: center; }
  .btn-primary, .btn-outline { text-align: center; }
  /* New sections */
  .flip-box         { width: 72px; height: 72px; }
  .flip-num         { font-size: 1.9rem; }
  .countdown-sep    { font-size: 2rem; margin-top: 0.45rem; }
  .act-scroll-card  { width: 240px; }
}

@media (max-width: 600px) {
  .stats-container  { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .footer-container { grid-template-columns: 1fr; }
  .footer-container > .footer-col:first-child { grid-column: auto; }
  .activities-grid  { grid-template-columns: 1fr; }
  .whatsapp-btn     { bottom: 1.25rem; right: 1.25rem; width: 52px; height: 52px; }
  /* New sections */
  .why-grid         { grid-template-columns: 1fr; }
  .flip-box         { width: 60px; height: 60px; }
  .flip-num         { font-size: 1.55rem; }
  .countdown        { gap: 0.65rem; }
  .countdown-sep    { font-size: 1.6rem; }
  .act-scroll-card  { width: 210px; }
}
