/* ============================================================================
   EURO CAMPUS — Design System
   Premium, modern, professional · Light · Navy + Gold
   ============================================================================ */

:root {
  /* ---------- Brand palette ---------- */
  --c-navy-950: #050F2C;
  --c-navy-900: #0A1F44;
  --c-navy-800: #0E2A5C;
  --c-navy-700: #143C82;
  --c-navy-600: #1E54B7;
  --c-blue-500: #2E6BE6;
  --c-blue-400: #5B8DF2;
  --c-blue-300: #93B4F8;
  --c-blue-100: #DDE8FD;
  --c-blue-50:  #F0F5FE;

  --c-teal-700: #0F7882;
  --c-teal-600: #168F99;
  --c-teal-500: #1FB1BC;
  --c-teal-400: #4DC2CB;
  --c-teal-300: #82D5DC;
  --c-teal-100: #D7F1F3;
  --c-teal-50:  #ECF8FA;

  --c-gold-600: #B58634;
  --c-gold-500: #D4A047;
  --c-gold-400: #E6BC6A;
  --c-gold-100: #FBEFD4;

  --c-white:   #FFFFFF;
  --c-off:     #FAFBFD;
  --c-mist:    #F3F5FA;
  --c-cloud:   #E7ECF4;
  --c-line:    #D9DFEB;
  --c-muted:   #5C6B8C;
  --c-ink:     #0A1F44;
  --c-ink-2:   #1E2C4F;

  --c-success: #16A37A;
  --c-warning: #E08B1A;
  --c-danger:  #DC3545;

  /* ---------- Typography ---------- */
  --font-display: 'Montserrat', 'Arial Black', sans-serif;
  --font-body:    'Montserrat', 'Arial', sans-serif;
  --font-mono:    'JetBrains Mono', monospace;

  /* ---------- Category colors ---------- */
  --c-cat-commerce:      #2E6BE6;
  --c-cat-commerce-soft: #DEE9FD;
  --c-cat-ingenieur:     #7C3AED;
  --c-cat-ingenieur-soft:#EDE3FF;
  --c-cat-digital:       #EC4899;
  --c-cat-digital-soft:  #FBE4F1;
  --c-cat-communication: #F59E0B;
  --c-cat-communication-soft: #FDF1D6;
  --c-cat-arts:          #EF4444;
  --c-cat-arts-soft:     #FCE3E3;
  --c-cat-droit:         #06B6D4;
  --c-cat-droit-soft:    #D5F4F9;

  /* ---------- Spacing ---------- */
  --s-1: 4px;   --s-2: 8px;   --s-3: 12px;  --s-4: 16px;
  --s-5: 20px;  --s-6: 24px;  --s-7: 32px;  --s-8: 40px;
  --s-9: 56px;  --s-10: 72px; --s-11: 96px; --s-12: 128px;

  /* ---------- Radius ---------- */
  --r-xs: 6px;
  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-2xl: 36px;
  --r-full: 999px;

  /* ---------- Shadows ---------- */
  --sh-xs: 0 1px 2px rgba(10, 31, 68, 0.05);
  --sh-sm: 0 2px 8px rgba(10, 31, 68, 0.06), 0 1px 2px rgba(10, 31, 68, 0.04);
  --sh-md: 0 8px 24px rgba(10, 31, 68, 0.08), 0 2px 6px rgba(10, 31, 68, 0.04);
  --sh-lg: 0 18px 40px rgba(10, 31, 68, 0.12), 0 4px 10px rgba(10, 31, 68, 0.06);
  --sh-xl: 0 30px 70px rgba(10, 31, 68, 0.18);
  --sh-gold: 0 14px 30px rgba(212, 160, 71, 0.28);
  --sh-blue: 0 14px 30px rgba(46, 107, 230, 0.28);

  /* ---------- Gradients ---------- */
  --grad-navy: linear-gradient(135deg, #0A1F44 0%, #143C82 60%, #1E54B7 100%);
  --grad-blue: linear-gradient(135deg, #2E6BE6 0%, #5B8DF2 100%);
  --grad-teal: linear-gradient(135deg, #168F99 0%, #1FB1BC 60%, #4DC2CB 100%);
  --grad-teal-soft: linear-gradient(135deg, #ECF8FA 0%, #D7F1F3 100%);
  --grad-brand: linear-gradient(135deg, #0A1F44 0%, #168F99 100%);
  --grad-gold: linear-gradient(135deg, #D4A047 0%, #E6BC6A 100%);
  --grad-soft: linear-gradient(180deg, #FFFFFF 0%, #F0F5FE 100%);
  --grad-hero: radial-gradient(1200px 600px at 80% -10%, rgba(31, 177, 188, 0.18), transparent 60%),
               radial-gradient(900px 500px at 10% 20%, rgba(46, 107, 230, 0.12), transparent 60%),
               linear-gradient(180deg, #FFFFFF 0%, #F4FBFC 100%);

  /* ---------- Transitions ---------- */
  --ease: cubic-bezier(.2, .8, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --t-fast: 0.18s;
  --t-base: 0.32s;
  --t-slow: 0.55s;

  --container: 1200px;
  --container-wide: 1320px;
}

/* ============================================================================
   Reset & base
   ============================================================================ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--c-ink);
  background: var(--c-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
a { color: var(--c-navy-700); text-decoration: none; transition: color var(--t-fast) var(--ease); }
a:hover { color: var(--c-blue-500); }

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--c-ink);
  line-height: 1.06;
  letter-spacing: -0.015em;
  margin: 0;
}
h3, h4, h5 { font-family: var(--font-body); font-weight: 700; letter-spacing: -0.01em; line-height: 1.25; }
h1 em, h2 em { font-style: normal; font-weight: 700; color: var(--c-teal-600); }

p { margin: 0; }

::selection { background: var(--c-navy-700); color: white; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); border: 0;
}

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container--wide { max-width: var(--container-wide); }
.container--narrow { max-width: 880px; }

/* ============================================================================
   Topbar / Navigation
   ============================================================================ */
.topbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: all var(--t-base) var(--ease);
}
.topbar.is-scrolled {
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--c-cloud);
  box-shadow: 0 1px 0 rgba(10, 31, 68, 0.04), 0 6px 20px rgba(10, 31, 68, 0.06);
}
.topbar__row {
  display: flex; align-items: center; justify-content: space-between;
  height: 74px;
}
.topbar.is-scrolled .topbar__row { height: 62px; }

.brand { display: flex; align-items: center; gap: 12px; }
.brand__mark {
  width: 42px; height: 42px; border-radius: 11px;
  background: var(--grad-navy);
  display: grid; place-items: center;
  color: white;
  box-shadow: var(--sh-md);
  position: relative; overflow: hidden;
}
.brand__mark::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 20%, rgba(255,255,255,.35), transparent 60%);
}
.brand__mark svg { width: 22px; height: 22px; position: relative; z-index: 1; }
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--c-ink);
  letter-spacing: -0.01em;
}
.brand__tag {
  font-size: 0.72rem;
  color: var(--c-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 500;
}

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  position: relative;
  padding: 10px 14px;
  color: var(--c-ink-2);
  font-weight: 500;
  font-size: 0.94rem;
  border-radius: 8px;
  transition: all var(--t-fast) var(--ease);
}
.nav a:hover { color: var(--c-blue-500); background: var(--c-blue-50); }
.nav a.is-active { color: var(--c-blue-500); }
.nav a.is-active::after {
  content: ''; position: absolute; bottom: 4px; left: 50%; transform: translateX(-50%);
  width: 14px; height: 2px; border-radius: 999px;
  background: var(--c-blue-500);
}

.nav__cta {
  margin-left: 8px;
  padding: 11px 18px !important;
  background: var(--c-navy-900);
  color: white !important;
  border-radius: 999px !important;
  font-weight: 600 !important;
  font-size: 0.9rem !important;
  display: inline-flex; align-items: center; gap: 8px;
  box-shadow: var(--sh-sm);
  transition: all var(--t-base) var(--ease) !important;
}
.nav__cta:hover {
  background: var(--c-navy-700) !important;
  transform: translateY(-2px);
  box-shadow: var(--sh-md);
}
.nav__cta::after { display: none; }
.nav__cta svg { width: 14px; height: 14px; }

.menu-toggle {
  display: none;
  width: 44px; height: 44px;
  border-radius: 10px;
  align-items: center; justify-content: center;
  flex-direction: column; gap: 5px;
  background: var(--c-mist);
}
.menu-toggle span {
  display: block; width: 20px; height: 2px; border-radius: 2px;
  background: var(--c-ink);
  transition: transform var(--t-base) var(--ease), opacity var(--t-base) var(--ease);
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  position: fixed; top: 74px; left: 0; right: 0; bottom: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  padding: 24px;
  transform: translateY(-110%);
  transition: transform var(--t-base) var(--ease);
  z-index: 99;
  overflow-y: auto;
}
.mobile-nav.is-open { transform: translateY(0); }
.mobile-nav a {
  display: block;
  padding: 18px 16px;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--c-ink);
  border-bottom: 1px solid var(--c-cloud);
}
.mobile-nav .nav__cta {
  margin: 20px 0 0 !important;
  display: flex !important; justify-content: center;
  padding: 18px !important;
  font-size: 1.05rem !important;
}

/* ============================================================================
   Buttons
   ============================================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: -0.005em;
  transition: all var(--t-base) var(--ease);
  position: relative;
  overflow: hidden;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
}
.btn svg { width: 16px; height: 16px; transition: transform var(--t-fast) var(--ease); }
.btn:hover svg { transform: translateX(3px); }

.btn--primary {
  background: var(--c-navy-900);
  color: white;
  box-shadow: 0 8px 20px rgba(10, 31, 68, 0.22);
}
.btn--primary:hover {
  background: var(--c-navy-700);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(10, 31, 68, 0.28);
  color: white;
}

.btn--gold {
  background: var(--grad-gold);
  color: var(--c-navy-950);
  box-shadow: var(--sh-gold);
}
.btn--gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(212, 160, 71, 0.35);
  color: var(--c-navy-950);
}

.btn--blue {
  background: var(--grad-blue);
  color: white;
  box-shadow: var(--sh-blue);
}
.btn--blue:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(46, 107, 230, 0.35);
  color: white;
}

.btn--outline {
  background: transparent;
  color: var(--c-ink);
  border: 1.5px solid var(--c-cloud);
}
.btn--outline:hover {
  background: var(--c-ink);
  color: white;
  border-color: var(--c-ink);
}

.btn--ghost { background: var(--c-mist); color: var(--c-ink); }
.btn--ghost:hover { background: var(--c-cloud); }

.btn--light {
  background: rgba(255, 255, 255, 0.14);
  color: white;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.22);
}
.btn--light:hover { background: rgba(255, 255, 255, 0.24); color: white; }

.btn--lg { padding: 18px 32px; font-size: 1rem; }
.btn--sm { padding: 10px 18px; font-size: 0.85rem; }
.btn--block { width: 100%; }

.btn-chain {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--c-blue-500);
  font-weight: 600;
  font-size: 0.92rem;
}
.btn-chain svg { width: 14px; height: 14px; transition: transform var(--t-fast) var(--ease); }
.btn-chain:hover svg { transform: translateX(4px); }

/* ============================================================================
   Common chrome
   ============================================================================ */
main { padding-top: 74px; }

.section { padding: var(--s-11) 0; position: relative; }
.section--soft { background: var(--c-off); }
.section--mist { background: var(--c-mist); }
.section--dark { background: var(--c-navy-900); color: white; }
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4 { color: white; }

.section-head { text-align: center; max-width: 760px; margin: 0 auto var(--s-9); }
.section-head--left { text-align: left; margin-left: 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px 6px 8px;
  border-radius: 999px;
  background: var(--c-blue-50);
  color: var(--c-navy-700);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.eyebrow__dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--c-blue-500);
  box-shadow: 0 0 0 4px rgba(46, 107, 230, 0.18);
  animation: pulse 2s var(--ease) infinite;
}
.eyebrow--gold { background: var(--c-gold-100); color: var(--c-gold-600); }
.eyebrow--gold .eyebrow__dot { background: var(--c-gold-500); box-shadow: 0 0 0 4px rgba(212, 160, 71, 0.22); }
.eyebrow--light { background: rgba(255, 255, 255, 0.14); color: white; }
.eyebrow--light .eyebrow__dot { background: var(--c-gold-400); }

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.12); opacity: 0.7; }
}

.section-title {
  font-size: clamp(1.8rem, 3.6vw, 2.6rem);
  margin: 14px 0 14px;
}
.section-lede {
  font-size: 1.1rem;
  color: var(--c-muted);
  line-height: 1.6;
}

.divider-line {
  height: 1px; background: linear-gradient(90deg, transparent, var(--c-cloud), transparent);
  margin: var(--s-7) 0;
}

/* ============================================================================
   Hero (home)
   ============================================================================ */
.hero {
  position: relative;
  padding: 100px 0 80px;
  background: var(--grad-hero);
  overflow: hidden;
  min-height: 760px;
  display: flex; align-items: center;
}
.hero__bg { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.hero__bg .blob { position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.6; }
.hero__bg .blob--a {
  width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(46,107,230,0.45), transparent 60%);
  top: -180px; right: -120px;
  animation: float 18s ease-in-out infinite;
}
.hero__bg .blob--b {
  width: 460px; height: 460px;
  background: radial-gradient(circle, rgba(212,160,71,0.35), transparent 60%);
  bottom: -180px; left: -100px;
  animation: float 22s ease-in-out infinite reverse;
}
.hero__bg .grid-overlay {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(10,31,68,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10,31,68,0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(40px, 30px) scale(1.08); }
}

.hero__inner {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.15fr 1fr;
  gap: 72px; align-items: center;
}
.hero__left { max-width: 620px; }
.hero__title {
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1.04;
  margin: 22px 0 22px;
  letter-spacing: -0.025em;
  font-weight: 600;
}
.hero__title .accent {
  position: relative;
  background: var(--grad-blue);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-style: normal;
  font-weight: 500;
}
.hero__title .accent::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -8px;
  height: 8px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 12'><path d='M2 8 Q 50 2 100 8 T 198 8' stroke='%23D4A047' stroke-width='3' fill='none' stroke-linecap='round'/></svg>") no-repeat center / 100% 100%;
}
.hero__lede {
  font-size: 1.2rem;
  color: var(--c-ink-2);
  line-height: 1.55;
  margin-bottom: 36px;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 40px; }

.hero__stats {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px;
  padding-top: 28px;
  border-top: 1px solid var(--c-cloud);
}
.hero__stats li { display: flex; flex-direction: column; gap: 4px; }
.hero__stats strong {
  font-family: var(--font-display);
  font-size: 1.9rem; font-weight: 600;
  color: var(--c-navy-900);
  line-height: 1;
}
.hero__stats span {
  font-size: 0.78rem;
  color: var(--c-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 500;
}

.hero__visual { position: relative; height: 560px; perspective: 1200px; }
.hero__card {
  position: absolute;
  background: white;
  border-radius: var(--r-xl);
  box-shadow: var(--sh-lg);
  padding: 20px;
  transition: transform var(--t-slow) var(--ease-out);
}
.hero__card--main {
  top: 0; left: 0; right: 0; bottom: 80px;
  background: white;
  overflow: hidden;
  padding: 0;
  transform: rotateY(-6deg) rotateX(4deg);
}
.hero__card--main img { width: 100%; height: 100%; object-fit: cover; }
.hero__card--badge {
  position: absolute; left: -32px; top: 60px;
  background: white;
  padding: 14px 18px;
  border-radius: var(--r-lg);
  box-shadow: var(--sh-lg);
  display: flex; align-items: center; gap: 12px;
  z-index: 3;
  animation: floatY 6s ease-in-out infinite;
}
.hero__card--badge .badge-icn {
  width: 40px; height: 40px; border-radius: 12px;
  background: var(--c-blue-50);
  display: grid; place-items: center;
  color: var(--c-blue-500);
}
.hero__card--badge strong { display: block; font-size: 0.9rem; color: var(--c-ink); }
.hero__card--badge span { display: block; font-size: 0.74rem; color: var(--c-muted); }
.hero__card--rating {
  position: absolute; right: -28px; bottom: 100px;
  background: white;
  padding: 14px 18px;
  border-radius: var(--r-lg);
  box-shadow: var(--sh-lg);
  z-index: 3;
  animation: floatY 7s ease-in-out infinite reverse;
}
.hero__card--rating .stars { display: flex; gap: 2px; color: var(--c-gold-500); font-size: 0.9rem; margin-bottom: 2px; }
.hero__card--rating strong { font-size: 0.92rem; color: var(--c-ink); }
.hero__card--rating span { display: block; font-size: 0.74rem; color: var(--c-muted); }
.hero__card--stat {
  position: absolute; right: 24px; bottom: -10px;
  background: var(--c-navy-900);
  color: white;
  padding: 18px 22px;
  border-radius: var(--r-lg);
  box-shadow: var(--sh-lg);
  z-index: 3;
}
.hero__card--stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.6rem;
  background: var(--grad-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero__card--stat span { font-size: 0.78rem; opacity: 0.8; }

@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* ============================================================================
   Trust strip
   ============================================================================ */
.trust { padding: 48px 0; background: white; border-top: 1px solid var(--c-cloud); border-bottom: 1px solid var(--c-cloud); }
.trust__row { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 32px; }
.trust__label { font-size: 0.82rem; color: var(--c-muted); font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; }
.trust__logos { display: flex; flex-wrap: wrap; gap: 36px; align-items: center; opacity: 0.7; }
.trust__logos span { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; color: var(--c-ink-2); letter-spacing: -0.01em; }

/* ============================================================================
   Features / Why us
   ============================================================================ */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.feature-card {
  background: white;
  padding: 36px 28px;
  border-radius: var(--r-lg);
  border: 1px solid var(--c-cloud);
  transition: transform var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease), border-color var(--t-base) var(--ease);
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--grad-blue);
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--t-base) var(--ease);
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--sh-lg); border-color: transparent; }
.feature-card:hover::before { transform: scaleX(1); }
.feature-card__icon {
  width: 56px; height: 56px; border-radius: 16px;
  background: var(--c-blue-50);
  color: var(--c-blue-500);
  display: grid; place-items: center;
  margin-bottom: 22px;
  transition: transform var(--t-base) var(--ease);
}
.feature-card:hover .feature-card__icon { transform: rotate(-6deg) scale(1.06); background: var(--grad-blue); color: white; }
.feature-card__icon svg { width: 26px; height: 26px; }
.feature-card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.feature-card p { color: var(--c-muted); font-size: 0.96rem; line-height: 1.6; }

/* ============================================================================
   Destinations
   ============================================================================ */
.dest-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.dest-card {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--c-navy-900);
  cursor: pointer;
  transition: transform var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease);
  display: block; text-decoration: none; color: white;
}
.dest-card:hover { transform: translateY(-6px); box-shadow: var(--sh-xl); color: white; }
.dest-card__img { position: absolute; inset: 0; background-size: cover; background-position: center; transition: transform 0.8s var(--ease-out); }
.dest-card:hover .dest-card__img { transform: scale(1.08); }
.dest-card__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,31,68,0.1) 0%, rgba(10,31,68,0.85) 100%); }
.dest-card__body { position: absolute; inset: auto 0 0 0; padding: 28px; z-index: 2; }
.dest-card__flag {
  width: 36px; height: 36px; border-radius: 50%;
  font-size: 1.6rem; display: grid; place-items: center;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  margin-bottom: 16px;
}
.dest-card__name { font-family: var(--font-display); font-size: 1.65rem; font-weight: 600; margin-bottom: 6px; }
.dest-card__meta { display: flex; gap: 14px; font-size: 0.84rem; color: rgba(255,255,255,0.85); margin-bottom: 14px; }
.dest-card__meta span { display: inline-flex; align-items: center; gap: 4px; }
.dest-card__cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(10px);
  border-radius: 999px;
  font-size: 0.85rem; font-weight: 600;
  transition: all var(--t-base) var(--ease);
  color: white;
}
.dest-card:hover .dest-card__cta { background: var(--c-gold-500); color: var(--c-navy-900); }

.dest-chips { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.dest-chip {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 18px 10px 12px;
  background: white;
  border: 1px solid var(--c-cloud);
  border-radius: 999px;
  font-weight: 500; font-size: 0.92rem;
  transition: all var(--t-base) var(--ease);
}
.dest-chip:hover { border-color: var(--c-blue-500); transform: translateY(-2px); box-shadow: var(--sh-sm); }
.dest-chip__flag { width: 22px; height: 22px; border-radius: 50%; font-size: 0.95rem; display: grid; place-items: center; background: var(--c-mist); }

/* ============================================================================
   Domains
   ============================================================================ */
.domains-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.domain-card {
  position: relative;
  padding: 30px 26px;
  background: white;
  border-radius: var(--r-lg);
  border: 1px solid var(--c-cloud);
  text-decoration: none; color: inherit;
  transition: all var(--t-base) var(--ease);
  overflow: hidden;
}
.domain-card::after {
  content: ''; position: absolute; top: 0; right: 0;
  width: 80px; height: 80px;
  background: var(--grad-blue);
  opacity: 0.08;
  border-radius: 0 0 0 100%;
  transition: all var(--t-base) var(--ease);
}
.domain-card:hover { border-color: var(--c-navy-700); transform: translateY(-4px); box-shadow: var(--sh-md); color: inherit; }
.domain-card:hover::after { width: 140px; height: 140px; opacity: 0.12; }
.domain-card__icon { font-size: 2rem; margin-bottom: 16px; display: inline-block; position: relative; z-index: 1; }
.domain-card h3 { font-size: 1.15rem; margin-bottom: 6px; position: relative; z-index: 1; }
.domain-card__count { font-size: 0.85rem; color: var(--c-muted); font-weight: 500; }

/* ============================================================================
   Schools
   ============================================================================ */
.school-carousel {
  position: relative;
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) 46px;
  gap: 16px;
  align-items: center;
}
.school-carousel__viewport {
  min-width: 0;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  overscroll-behavior-inline: contain;
  padding: 12px 4px 20px;
}
.school-carousel__viewport::-webkit-scrollbar { display: none; }
.school-carousel__viewport:focus-visible { outline: 2px solid var(--c-teal-400); outline-offset: 4px; border-radius: var(--r-sm); }
.school-grid {
  display: flex;
  gap: 16px;
  width: max-content;
}
.school-tile {
  flex: 0 0 220px;
  min-height: 184px;
  scroll-snap-align: start;
  background: white;
  border: 1px solid var(--c-cloud);
  border-radius: var(--r-sm);
  padding: 24px 18px;
  text-align: center;
  transition: transform .35s var(--ease-out), border-color .35s var(--ease-out), box-shadow .35s var(--ease-out);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.school-tile:hover {
  border-color: var(--c-teal-300);
  transform: translateY(-5px);
  box-shadow: 0 18px 34px -24px rgba(10,31,68,.4);
}
.school-tile img {
  width: 100%;
  height: 68px;
  object-fit: contain;
  margin-bottom: 18px;
  filter: saturate(.88);
  transition: transform .35s var(--ease-out), filter .35s var(--ease-out);
}
.school-tile:hover img { transform: scale(1.06); filter: saturate(1); }
.school-tile strong { font-family: var(--font-display); font-size: .95rem; font-weight: 700; color: var(--c-ink); }
.school-tile span { display: block; font-size: .74rem; color: var(--c-muted); margin-top: 5px; }
.school-carousel__arrow {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid var(--c-line);
  border-radius: 50%;
  color: var(--c-navy-900);
  background: white;
  box-shadow: 0 8px 22px -16px rgba(10,31,68,.5);
  transition: color .25s var(--ease), background .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease), opacity .25s var(--ease);
}
.school-carousel__arrow svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.school-carousel__arrow:not(:disabled):hover { color: white; background: var(--c-navy-900); border-color: var(--c-navy-900); transform: scale(1.06); }
.school-carousel__arrow:focus-visible { outline: 3px solid var(--c-teal-300); outline-offset: 3px; }
.school-carousel__arrow:disabled { opacity: .28; cursor: default; box-shadow: none; }
@media (max-width: 680px) {
  .school-carousel { grid-template-columns: 38px minmax(0, 1fr) 38px; gap: 8px; }
  .school-carousel__arrow { width: 38px; height: 38px; }
  .school-tile { flex-basis: min(72vw, 220px); min-height: 172px; padding: 20px 14px; }
  .school-tile img { height: 58px; margin-bottom: 14px; }
}
.marquee {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent 0%, black 8%, black 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 8%, black 92%, transparent 100%);
}
.marquee__track { display: flex; gap: 56px; align-items: center; width: max-content; animation: marquee 50s linear infinite; }
.marquee__item {
  font-family: var(--font-display); font-size: 1.4rem; font-weight: 600;
  color: var(--c-ink-2); letter-spacing: -0.01em; white-space: nowrap;
  padding: 12px 0; opacity: 0.5;
  transition: opacity var(--t-base) var(--ease);
}
.marquee__item:hover { opacity: 1; }
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ============================================================================
   Process
   ============================================================================ */
.process__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.process__left { position: sticky; top: 100px; }
.steps { display: flex; flex-direction: column; position: relative; }
.steps::before {
  content: ''; position: absolute;
  top: 32px; bottom: 32px; left: 27px; width: 2px;
  background: linear-gradient(180deg, var(--c-blue-100), var(--c-cloud));
}
.step { display: flex; gap: 22px; padding: 18px 0; position: relative; }
.step__num {
  flex-shrink: 0;
  width: 56px; height: 56px; border-radius: 50%;
  background: white;
  border: 2px solid var(--c-cloud);
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 600; font-size: 1.15rem;
  color: var(--c-navy-700);
  position: relative; z-index: 1;
  transition: all var(--t-base) var(--ease);
}
.step:hover .step__num, .step.is-active .step__num {
  background: var(--c-navy-900); border-color: var(--c-navy-900); color: white; transform: scale(1.06);
}
.step__body { padding-top: 12px; }
.step h4 { font-size: 1.15rem; margin-bottom: 6px; }
.step p { color: var(--c-muted); font-size: 0.96rem; line-height: 1.55; }

/* ============================================================================
   Testimonials
   ============================================================================ */
.testi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.testi-card {
  background: white; padding: 32px;
  border-radius: var(--r-lg); border: 1px solid var(--c-cloud);
  position: relative;
  transition: all var(--t-base) var(--ease);
}
.testi-card:hover { transform: translateY(-4px); box-shadow: var(--sh-md); border-color: transparent; }
.testi-card__quote {
  position: absolute; top: 22px; right: 24px;
  font-family: var(--font-display); font-size: 4rem; line-height: 0.8;
  color: var(--c-blue-100);
}
.testi-card__stars { color: var(--c-gold-500); font-size: 0.95rem; margin-bottom: 14px; letter-spacing: 2px; }
.testi-card__text { font-size: 1rem; color: var(--c-ink-2); line-height: 1.65; margin-bottom: 22px; }
.testi-card__person {
  display: flex; align-items: center; gap: 14px;
  padding-top: 18px; border-top: 1px solid var(--c-cloud);
}
.testi-card__avatar {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--grad-blue); color: white;
  display: grid; place-items: center;
  font-weight: 600; font-size: 1rem;
}
.testi-card__person strong { display: block; font-size: 0.94rem; color: var(--c-ink); }
.testi-card__person span { display: block; font-size: 0.8rem; color: var(--c-muted); }

/* ============================================================================
   FAQ
   ============================================================================ */
.faq { max-width: 800px; margin: 0 auto; }
.faq__item {
  background: white;
  border: 1px solid var(--c-cloud);
  border-radius: var(--r-md);
  margin-bottom: 12px;
  overflow: hidden;
  transition: all var(--t-base) var(--ease);
}
.faq__item:hover { border-color: var(--c-blue-300); }
.faq__item[open] { border-color: var(--c-navy-700); box-shadow: var(--sh-sm); }
.faq__item summary {
  list-style: none;
  padding: 22px 24px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  font-weight: 600; font-size: 1rem; color: var(--c-ink);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: '+'; font-size: 1.4rem; font-weight: 300;
  color: var(--c-blue-500);
  transition: transform var(--t-base) var(--ease);
}
.faq__item[open] summary::after { content: '−'; }
.faq__body { padding: 0 24px 22px; color: var(--c-muted); line-height: 1.65; }

/* ============================================================================
   CTA banner
   ============================================================================ */
.cta-banner {
  position: relative;
  background: var(--grad-navy);
  color: white;
  border-radius: var(--r-2xl);
  padding: 64px 56px;
  overflow: hidden;
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: center;
}
.cta-banner::before {
  content: ''; position: absolute; top: -100px; right: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(212, 160, 71, 0.35), transparent 60%);
  border-radius: 50%;
}
.cta-banner::after {
  content: ''; position: absolute; bottom: -120px; left: -100px;
  width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(46, 107, 230, 0.25), transparent 60%);
  border-radius: 50%;
}
.cta-banner > * { position: relative; z-index: 1; }
.cta-banner h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); color: white; margin-bottom: 14px; }
.cta-banner p { color: rgba(255, 255, 255, 0.85); font-size: 1.05rem; line-height: 1.6; margin-bottom: 24px; }
.cta-banner__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.cta-banner__visual { text-align: center; position: relative; }
.cta-banner__big {
  font-family: var(--font-display); font-size: 5rem; font-weight: 600;
  background: var(--grad-gold); -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  line-height: 1;
}
.cta-banner__small { font-size: 0.92rem; color: rgba(255, 255, 255, 0.75); margin-top: 6px; }

/* ============================================================================
   Footer
   ============================================================================ */
.footer { background: var(--c-navy-950); color: rgba(255, 255, 255, 0.78); padding: 80px 0 32px; }
.footer__row { display: grid; grid-template-columns: 2fr 1fr 1fr 1.2fr; gap: 60px; margin-bottom: 56px; }
.footer .brand__name { color: white; }
.footer .brand__tag { color: rgba(255, 255, 255, 0.6); }
.footer .brand__mark { background: white; color: var(--c-navy-900); }
.footer__about { font-size: 0.92rem; line-height: 1.65; margin: 18px 0 22px; max-width: 360px; }
.footer__social { display: flex; gap: 12px; }
.footer__social a {
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: white;
  display: grid; place-items: center;
  transition: all var(--t-base) var(--ease);
}
.footer__social a:hover { background: var(--c-gold-500); color: var(--c-navy-900); transform: translateY(-2px); }
.footer__social svg { width: 16px; height: 16px; }

.footer h4 {
  font-family: var(--font-body);
  font-size: 0.78rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--c-gold-400);
  margin-bottom: 18px;
}
.footer__list { list-style: none; padding: 0; margin: 0; }
.footer__list li { margin-bottom: 10px; font-size: 0.92rem; }
.footer__list a { color: rgba(255, 255, 255, 0.78); }
.footer__list a:hover { color: white; }
.footer__bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  flex-wrap: wrap; gap: 12px;
}
.footer__bottom small { font-size: 0.82rem; color: rgba(255, 255, 255, 0.55); }
.footer__bottom-links { display: flex; gap: 22px; }
.footer__bottom-links a { color: rgba(255, 255, 255, 0.7); font-size: 0.82rem; }
.footer__bottom-links a:hover { color: white; }

/* ============================================================================
   Page header
   ============================================================================ */
.page-header { position: relative; padding: 96px 0 72px; background: var(--grad-hero); overflow: hidden; }
.page-header::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(10,31,68,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10,31,68,0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black 40%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black 40%, transparent 80%);
}
.page-header__inner { position: relative; z-index: 1; text-align: center; max-width: 760px; margin: 0 auto; }
.page-header h1 { font-size: clamp(2.2rem, 4.6vw, 3.4rem); margin: 18px 0 14px; letter-spacing: -0.02em; }
.page-header p { font-size: 1.1rem; color: var(--c-muted); line-height: 1.6; }
.breadcrumb { display: inline-flex; align-items: center; gap: 6px; font-size: 0.85rem; color: var(--c-muted); margin-bottom: 8px; }
.breadcrumb a { color: var(--c-muted); }
.breadcrumb a:hover { color: var(--c-navy-700); }
.breadcrumb svg { width: 12px; height: 12px; opacity: 0.6; }

/* ============================================================================
   Forms
   ============================================================================ */
.form-card { background: white; border-radius: var(--r-xl); padding: 40px; box-shadow: var(--sh-lg); border: 1px solid var(--c-cloud); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 22px; }
.form-grid--single { grid-template-columns: 1fr; }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field--full { grid-column: 1 / -1; }
.form-field label, .form-label { font-size: 0.86rem; font-weight: 600; color: var(--c-ink); }
.form-field label sup { color: var(--c-danger); font-weight: 700; }
.form-field .hint { font-size: 0.76rem; color: var(--c-muted); font-weight: 700; }

.input, .select, .textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--c-cloud);
  border-radius: var(--r-sm);
  background: white;
  font-family: inherit; font-size: 0.96rem; color: var(--c-ink);
  transition: all var(--t-fast) var(--ease);
}
.input:focus, .select:focus, .textarea:focus {
  outline: none;
  border-color: var(--c-blue-500);
  box-shadow: 0 0 0 4px rgba(46, 107, 230, 0.12);
}
.input::placeholder, .textarea::placeholder { color: #97A3BD; }
.textarea { min-height: 110px; resize: vertical; }

.select {
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' stroke='%235C6B8C' stroke-width='1.5' fill='none' stroke-linecap='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
}

.radio-cards { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
.radio-card {
  position: relative;
  background: white;
  border: 1.5px solid var(--c-cloud);
  border-radius: var(--r-md);
  padding: 18px 16px;
  cursor: pointer;
  transition: all var(--t-fast) var(--ease);
  display: flex; flex-direction: column; gap: 4px;
}
.radio-card input { position: absolute; opacity: 0; }
.radio-card:hover { border-color: var(--c-blue-300); }
.radio-card:has(input:checked) {
  border-color: var(--c-navy-900);
  background: var(--c-blue-50);
  box-shadow: 0 0 0 4px rgba(46, 107, 230, 0.1);
}
.radio-card__icon { width: 36px; height: 36px; border-radius: 10px; background: var(--c-mist); display: grid; place-items: center; font-size: 1.05rem; margin-bottom: 8px; }
.radio-card:has(input:checked) .radio-card__icon { background: var(--c-navy-900); color: white; }
.radio-card strong { font-size: 0.95rem; font-weight: 600; color: var(--c-ink); }
.radio-card span { font-size: 0.78rem; color: var(--c-muted); }

.check-row { display: flex; align-items: flex-start; gap: 12px; padding: 14px 0; }
.check-row input[type="checkbox"] { width: 20px; height: 20px; flex-shrink: 0; accent-color: var(--c-navy-900); margin-top: 2px; }
.check-row label { font-size: 0.9rem; color: var(--c-ink-2); line-height: 1.55; }
.check-row a { color: var(--c-blue-500); text-decoration: underline; }

.upload-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 14px; }
.upload-tile {
  position: relative;
  background: white;
  border: 1.5px dashed var(--c-line);
  border-radius: var(--r-md);
  padding: 18px;
  transition: all var(--t-fast) var(--ease);
  display: flex; gap: 14px; align-items: center;
}
.upload-tile:hover { border-color: var(--c-blue-500); background: var(--c-blue-50); }
.upload-tile.is-filled { border-style: solid; border-color: var(--c-success); background: rgba(22, 163, 122, 0.05); }
.upload-tile input[type="file"] { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.upload-tile__icon { width: 44px; height: 44px; border-radius: 12px; background: var(--c-mist); color: var(--c-navy-700); display: grid; place-items: center; flex-shrink: 0; }
.upload-tile.is-filled .upload-tile__icon { background: var(--c-success); color: white; }
.upload-tile__txt { flex: 1; min-width: 0; }
.upload-tile__txt strong { display: block; font-size: 0.92rem; color: var(--c-ink); font-weight: 600; }
.upload-tile__txt span { font-size: 0.78rem; color: var(--c-muted); }
.upload-tile__opt { font-size: 0.7rem; padding: 2px 6px; border-radius: 4px; background: var(--c-mist); color: var(--c-muted); margin-left: 6px; }

.form-actions {
  display: flex; justify-content: flex-end; gap: 12px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--c-cloud);
}

/* ============================================================================
   Wizard
   ============================================================================ */
.stepper { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 0 auto 36px; flex-wrap: wrap; max-width: 880px; }
.stepper__step {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 14px 8px 8px;
  border-radius: 999px;
  background: white;
  border: 1.5px solid var(--c-cloud);
  font-size: 0.85rem; color: var(--c-muted); font-weight: 500;
  transition: all var(--t-base) var(--ease);
}
.stepper__step.is-active { background: var(--c-navy-900); border-color: var(--c-navy-900); color: white; box-shadow: var(--sh-md); }
.stepper__step.is-done { background: var(--c-blue-50); border-color: var(--c-blue-300); color: var(--c-navy-700); }
.stepper__num {
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--c-mist);
  display: grid; place-items: center;
  font-size: 0.8rem; font-weight: 600;
}
.stepper__step.is-active .stepper__num { background: white; color: var(--c-navy-900); }
.stepper__step.is-done .stepper__num { background: var(--c-navy-700); color: white; }
.stepper__sep { width: 18px; height: 2px; background: var(--c-cloud); border-radius: 2px; }

.wizard {
  background: white;
  border-radius: var(--r-xl);
  border: 1px solid var(--c-cloud);
  overflow: hidden;
  box-shadow: var(--sh-lg);
}
.wizard__step { padding: 40px; }
.wizard__step h2 { font-size: 1.6rem; margin-bottom: 8px; }
.wizard__step p.intro { color: var(--c-muted); margin-bottom: 28px; }
.wizard__nav {
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px 40px;
  background: var(--c-off);
  border-top: 1px solid var(--c-cloud);
}
.wizard__progress { height: 4px; background: var(--c-cloud); overflow: hidden; }
.wizard__progress-bar { height: 100%; background: var(--grad-blue); transition: width var(--t-slow) var(--ease); }

.pill-grid { display: flex; flex-wrap: wrap; gap: 10px; }
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px;
  background: white;
  border: 1.5px solid var(--c-cloud);
  border-radius: 999px;
  font-size: 0.9rem; font-weight: 500; color: var(--c-ink-2);
  cursor: pointer; transition: all var(--t-fast) var(--ease);
  user-select: none; position: relative;
}
.pill:hover { border-color: var(--c-blue-300); }
.pill input { position: absolute; opacity: 0; }
.pill:has(input:checked) { background: var(--c-navy-900); border-color: var(--c-navy-900); color: white; }

.range-row { display: flex; gap: 12px; align-items: center; }
.range-row input[type="range"] {
  flex: 1;
  -webkit-appearance: none; appearance: none;
  height: 6px;
  background: var(--c-cloud);
  border-radius: 999px;
  outline: none;
}
.range-row input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--c-navy-900);
  cursor: pointer;
  box-shadow: var(--sh-md);
}
.range-row .range-val { min-width: 90px; text-align: right; font-weight: 600; color: var(--c-navy-900); }

/* ============================================================================
   Results cards
   ============================================================================ */
.toolbar {
  position: sticky; top: 74px; z-index: 40;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--c-cloud);
  padding: 14px 0; margin-bottom: 32px;
}
.toolbar__row { display: flex; gap: 14px; align-items: center; }
.search-bar {
  flex: 1;
  display: flex; align-items: center; gap: 10px;
  background: white;
  border: 1.5px solid var(--c-cloud);
  border-radius: 999px;
  padding: 4px 4px 4px 16px;
  transition: all var(--t-fast) var(--ease);
}
.search-bar:focus-within { border-color: var(--c-blue-500); box-shadow: 0 0 0 4px rgba(46, 107, 230, 0.1); }
.search-bar svg { color: var(--c-muted); flex-shrink: 0; }
.search-bar input {
  flex: 1; border: none; outline: none;
  padding: 10px 0;
  font-family: inherit; font-size: 0.96rem; color: var(--c-ink); background: transparent;
}
.search-bar button {
  padding: 10px 18px; border-radius: 999px;
  background: var(--c-navy-900); color: white;
  font-weight: 600; font-size: 0.86rem;
  transition: background var(--t-fast) var(--ease);
}
.search-bar button:hover { background: var(--c-navy-700); }

.filter-bar { display: flex; gap: 10px; align-items: center; }
.filter-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 18px;
  border: 1.5px solid var(--c-cloud);
  background: white;
  border-radius: 999px;
  font-weight: 500; font-size: 0.88rem; color: var(--c-ink);
  cursor: pointer; transition: all var(--t-fast) var(--ease);
}
.filter-btn:hover { border-color: var(--c-navy-700); }
.filter-btn__count { background: var(--c-navy-900); color: white; font-size: 0.72rem; padding: 2px 7px; border-radius: 999px; font-weight: 700; }
.sort-select {
  border: 1.5px solid var(--c-cloud);
  background: white;
  padding: 10px 36px 10px 16px;
  border-radius: 999px;
  font-family: inherit; font-size: 0.88rem;
  cursor: pointer; color: var(--c-ink);
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' stroke='%235C6B8C' stroke-width='1.5' fill='none' stroke-linecap='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
}

.active-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 12px 0 0; }
.active-bar__label { font-size: 0.82rem; color: var(--c-muted); font-weight: 600; }
.active-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip-active {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 10px;
  background: var(--c-blue-50);
  color: var(--c-navy-700);
  border-radius: 999px;
  font-size: 0.8rem; font-weight: 500;
}
.chip-active button {
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--c-navy-700); color: white;
  font-size: 0.8rem;
  display: grid; place-items: center; line-height: 1;
}

.results-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(310px, 1fr)); gap: 22px; }
.results-count { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.results-count strong { color: var(--c-navy-900); font-weight: 700; }

.formation-card {
  background: white;
  border: 1px solid var(--c-cloud);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: all var(--t-base) var(--ease);
  position: relative;
}
.formation-card:hover { transform: translateY(-4px); box-shadow: var(--sh-lg); border-color: transparent; }
.formation-card__top { padding: 22px 22px 16px; border-bottom: 1px solid var(--c-cloud); }
.formation-card__group { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.formation-card__school { font-family: var(--font-display); font-size: 0.95rem; font-weight: 600; color: var(--c-navy-700); }
.formation-card__niveau {
  font-size: 0.72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.05em;
  padding: 3px 9px; border-radius: 999px;
  background: var(--c-gold-100); color: var(--c-gold-600);
}
.formation-card__title {
  font-family: var(--font-display);
  font-size: 1.18rem; font-weight: 600;
  color: var(--c-ink); line-height: 1.25;
  margin-bottom: 12px;
  min-height: 2.7em;
}
.formation-card__specs { display: flex; flex-wrap: wrap; gap: 6px; }
.spec-tag { font-size: 0.74rem; padding: 4px 9px; border-radius: 6px; background: var(--c-mist); color: var(--c-ink-2); font-weight: 500; }
.formation-card__body {
  padding: 18px 22px; flex: 1;
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px;
  font-size: 0.86rem;
}
.formation-card__body .label {
  font-size: 0.72rem; text-transform: uppercase;
  color: var(--c-muted);
  font-weight: 600; letter-spacing: 0.04em;
  margin-bottom: 2px;
}
.formation-card__body .value { color: var(--c-ink); font-weight: 600; }
.formation-card__footer { padding: 16px 22px; background: var(--c-off); display: flex; gap: 8px; }
.formation-card__footer .btn { padding: 10px 14px; font-size: 0.85rem; flex: 1; }

.empty-state { text-align: center; padding: 60px 20px; color: var(--c-muted); }
.empty-state svg { margin: 0 auto 20px; color: var(--c-cloud); }
.empty-state h3 { font-size: 1.3rem; color: var(--c-ink); margin-bottom: 8px; }
.empty-state p { max-width: 380px; margin: 0 auto 24px; }

.drawer-overlay {
  position: fixed; inset: 0;
  background: rgba(10, 31, 68, 0.5);
  backdrop-filter: blur(4px);
  z-index: 90; opacity: 0;
  transition: opacity var(--t-base) var(--ease);
}
.drawer-overlay[hidden] { display: block; opacity: 0; pointer-events: none; }
.drawer-overlay.is-open { opacity: 1; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: 420px; max-width: 100%;
  background: white;
  z-index: 91;
  display: flex; flex-direction: column;
  transform: translateX(100%);
  transition: transform var(--t-base) var(--ease);
  box-shadow: var(--sh-xl);
}
.drawer.is-open { transform: translateX(0); }
.drawer__head {
  padding: 22px 26px;
  border-bottom: 1px solid var(--c-cloud);
  display: flex; justify-content: space-between; align-items: center;
}
.drawer__head h2 { font-size: 1.3rem; }
.drawer__close {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--c-mist);
  font-size: 1.4rem; line-height: 1; color: var(--c-ink);
}
.drawer__body { flex: 1; overflow-y: auto; padding: 24px 26px; }
.drawer__filter { margin-bottom: 26px; border: none; padding: 0; }
.drawer__filter legend {
  font-size: 0.82rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--c-ink); margin-bottom: 12px;
  display: flex; justify-content: space-between; align-items: center; width: 100%;
}
.drawer__filter legend small { font-weight: 500; color: var(--c-muted); text-transform: none; letter-spacing: 0; font-size: 0.72rem; }
.drawer__foot { padding: 20px 26px; border-top: 1px solid var(--c-cloud); display: flex; gap: 12px; background: var(--c-off); }
.drawer__foot .btn { flex: 1; }

.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.check-list { max-height: 220px; overflow-y: auto; padding-right: 4px; }
.check-list label { display: flex; align-items: center; gap: 10px; padding: 8px 4px; font-size: 0.9rem; color: var(--c-ink-2); cursor: pointer; }
.check-list input[type="checkbox"] { accent-color: var(--c-navy-900); }
.combo-search { display: flex; align-items: center; gap: 8px; padding: 8px 12px; background: var(--c-mist); border-radius: var(--r-sm); margin-bottom: 8px; }
.combo-search input { flex: 1; background: transparent; border: none; outline: none; font-size: 0.88rem; }

/* ============================================================================
   Modal
   ============================================================================ */
.modal {
  border: none; padding: 0;
  border-radius: var(--r-xl);
  max-width: 720px; width: 92%;
  background: white;
  box-shadow: var(--sh-xl);
  margin: auto; max-height: 86vh;
}
.modal::backdrop { background: rgba(10, 31, 68, 0.6); backdrop-filter: blur(6px); }
.modal__close {
  position: absolute; top: 18px; right: 18px;
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--c-mist);
  font-size: 1.4rem; color: var(--c-ink); z-index: 1;
}
.modal__body { padding: 36px; }

/* ============================================================================
   Reveal & toasts
   ============================================================================ */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }
.reveal[data-delay="4"] { transition-delay: 0.32s; }
.reveal[data-delay="5"] { transition-delay: 0.4s; }

.toast {
  position: fixed; bottom: 24px; left: 50%;
  transform: translateX(-50%) translateY(120%);
  background: var(--c-navy-900); color: white;
  padding: 14px 22px; border-radius: 999px;
  box-shadow: var(--sh-lg);
  z-index: 200;
  font-weight: 500; font-size: 0.9rem;
  transition: transform var(--t-base) var(--ease);
  display: flex; align-items: center; gap: 10px;
}
.toast.is-visible { transform: translateX(-50%) translateY(0); }
.toast svg { width: 18px; height: 18px; color: var(--c-gold-400); }

/* ============================================================================
   Two-column page layout
   ============================================================================ */
.two-col { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: center; }
.two-col > * { min-width: 0; } /* prevent grid children from expanding beyond their column */
.two-col img {
  border-radius: var(--r-lg);
  box-shadow: var(--sh-md);
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center;
  display: block;
}
.two-col h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); margin-bottom: 18px; }
.two-col p { color: var(--c-muted); line-height: 1.7; margin-bottom: 16px; font-size: 1rem; }

.bullets { list-style: none; padding: 0; margin: 22px 0; }
.bullets li { display: flex; align-items: flex-start; gap: 12px; padding: 8px 0; color: var(--c-ink-2); }
.bullets svg { width: 22px; height: 22px; color: var(--c-success); flex-shrink: 0; margin-top: 2px; }

.service-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; }
.service-card {
  background: white;
  border-radius: var(--r-lg);
  border: 1px solid var(--c-cloud);
  padding: 32px 28px;
  transition: all var(--t-base) var(--ease);
  position: relative; overflow: hidden;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--sh-lg); border-color: transparent; }
.service-card__num {
  font-family: var(--font-display); font-size: 3rem; font-weight: 600;
  background: var(--grad-blue); -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  line-height: 1; margin-bottom: 14px; opacity: 0.4;
}
.service-card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.service-card p { color: var(--c-muted); font-size: 0.94rem; line-height: 1.6; margin-bottom: 16px; }
.service-card__features { list-style: none; padding: 0; margin: 0; }
.service-card__features li { display: flex; align-items: center; gap: 8px; font-size: 0.86rem; color: var(--c-ink-2); padding: 4px 0; }
.service-card__features li::before { content: '✓'; color: var(--c-success); font-weight: 700; }

.payment-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }
.payment-card {
  background: white;
  border: 2px solid var(--c-cloud);
  border-radius: var(--r-lg);
  padding: 28px 24px;
  text-align: center; cursor: pointer;
  transition: all var(--t-base) var(--ease);
  position: relative;
}
.payment-card:hover { border-color: var(--c-blue-300); transform: translateY(-3px); }
.payment-card.is-selected { border-color: var(--c-navy-900); background: var(--c-blue-50); }
.payment-card__icon {
  width: 60px; height: 60px; border-radius: 16px;
  background: var(--c-navy-900); color: white;
  display: grid; place-items: center;
  margin: 0 auto 16px;
  font-size: 1.6rem;
}
.payment-card h4 { font-size: 1.1rem; margin-bottom: 6px; }
.payment-card p { font-size: 0.85rem; color: var(--c-muted); }
.payment-card__badge {
  position: absolute; top: 12px; right: 12px;
  background: var(--c-gold-500); color: var(--c-navy-900);
  padding: 3px 8px; border-radius: 6px;
  font-size: 0.68rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.05em;
}

.channels-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.channel-card {
  background: white;
  border: 1px solid var(--c-cloud);
  border-radius: var(--r-md);
  padding: 22px;
  transition: all var(--t-base) var(--ease);
  text-decoration: none; color: inherit;
  display: flex; align-items: flex-start; gap: 14px;
}
.channel-card:hover { transform: translateY(-3px); box-shadow: var(--sh-md); border-color: transparent; color: inherit; }
.channel-card__icon { width: 44px; height: 44px; border-radius: 12px; background: var(--c-blue-50); color: var(--c-blue-500); display: grid; place-items: center; flex-shrink: 0; }
.channel-card strong { display: block; font-size: 0.92rem; color: var(--c-ink); margin-bottom: 2px; }
.channel-card span { display: block; font-size: 0.86rem; color: var(--c-muted); }

.legal-content { max-width: 780px; margin: 0 auto; }
.legal-content h2 { font-size: 1.4rem; margin: 36px 0 14px; }
.legal-content h3 { font-family: var(--font-body); font-size: 1.05rem; font-weight: 600; margin: 24px 0 10px; color: var(--c-ink); }
.legal-content p { color: var(--c-muted); line-height: 1.7; margin-bottom: 14px; }
.legal-content ul { margin: 0 0 16px 1.4em; color: var(--c-muted); }
.legal-content li { margin-bottom: 6px; line-height: 1.6; }

.float-cta {
  position: fixed;
  bottom: 24px; right: 24px;
  z-index: 80;
  padding: 14px 22px;
  background: var(--c-navy-900); color: white;
  border-radius: 999px;
  font-weight: 600; font-size: 0.92rem;
  box-shadow: var(--sh-xl);
  display: inline-flex; align-items: center; gap: 8px;
  transform: translateY(120%); opacity: 0;
  transition: all var(--t-base) var(--ease);
}
.float-cta.is-visible { transform: translateY(0); opacity: 1; }
.float-cta:hover { background: var(--c-gold-500); color: var(--c-navy-900); }
.float-cta svg { width: 16px; height: 16px; }

/* ============================================================================
   Responsive
   ============================================================================ */
@media (max-width: 980px) {
  .hero { padding: 80px 0 60px; min-height: auto; }
  .hero__inner { grid-template-columns: 1fr; gap: 56px; }
  .hero__visual { height: 420px; }
  .two-col { grid-template-columns: 1fr; gap: 36px; }
  .process__inner { grid-template-columns: 1fr; gap: 32px; }
  .process__left { position: static; }
  .footer__row { grid-template-columns: 1fr 1fr; gap: 36px; }
  .cta-banner { grid-template-columns: 1fr; padding: 44px 32px; }
  .cta-banner__visual { display: none; }
}

@media (max-width: 720px) {
  .container { padding: 0 18px; }
  .section { padding: 64px 0; }
  .nav { display: none; }
  .menu-toggle { display: flex; }
  .hero__stats { grid-template-columns: 1fr 1fr; }
  .hero__cta { flex-direction: column; }
  .hero__cta .btn { width: 100%; }
  .footer__row { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; text-align: center; }
  .form-card { padding: 24px 20px; }
  .form-grid { grid-template-columns: 1fr; }
  .wizard__step { padding: 28px 24px; }
  .wizard__nav { padding: 16px 24px; flex-direction: column-reverse; gap: 12px; }
  .wizard__nav .btn { width: 100%; }
  .toolbar__row { flex-direction: column; }
  .search-bar { width: 100%; }
  .filter-bar { width: 100%; justify-content: space-between; }
  .results-grid { grid-template-columns: 1fr; }
  .float-cta { bottom: 14px; right: 14px; padding: 12px 18px; font-size: 0.84rem; }
  .hero__card--badge { left: 8px; padding: 10px 14px; }
  .hero__card--badge strong { font-size: 0.8rem; }
  .hero__card--rating { right: 8px; }
  .stepper__sep { display: none; }
}

@media (max-width: 480px) {
  .section-title { font-size: 1.6rem; }
  .hero__title { font-size: 2rem; }
}

@media print {
  .topbar, .footer, .float-cta, .cta-banner { display: none; }
}

/* ============================================================================
   EURO CAMPUS — Enhancements pack
   Logo image, school logo marquee, tilt cards, scroll progress,
   premium hero photo, micro-interactions
   ============================================================================ */

/* Scroll progress bar */
.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0;
  height: 3px;
  background: transparent;
  z-index: 999;
  pointer-events: none;
}
.scroll-progress__bar {
  height: 100%;
  width: 0%;
  background: var(--grad-teal);
  box-shadow: 0 1px 8px rgba(31, 177, 188, 0.5);
  transition: width 0.08s linear;
}

/* Brand using image logo */
.brand-img {
  display: flex; align-items: center; gap: 12px;
  text-decoration: none;
  transition: transform var(--t-fast) var(--ease);
  flex-shrink: 0;
}
.brand-img:hover { transform: translateY(-1px); }
.brand-img img {
  height: 38px; width: auto; max-width: 170px;
  object-fit: contain;
  display: block;
}
.topbar.is-scrolled .brand-img img { height: 32px; }
.footer .brand-img img { height: 56px; max-width: 220px; filter: brightness(0) invert(1); opacity: 0.95; }
.nav { flex-shrink: 0; gap: 2px; }
.nav a { padding: 9px 11px; font-size: 0.88rem; }
.nav__cta { padding: 10px 16px !important; font-size: 0.86rem !important; margin-left: 6px; }
@media (max-width: 1180px) {
  .nav a { padding: 8px 8px; font-size: 0.82rem; }
  .brand-img img { height: 32px; max-width: 150px; }
}

/* Buttons updated palette — primary becomes brand */
.btn--primary {
  background: var(--c-navy-900);
}
.btn--brand {
  background: var(--grad-teal);
  color: white;
  box-shadow: 0 8px 22px rgba(31, 177, 188, 0.35);
}
.btn--brand:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(31, 177, 188, 0.45);
  color: white;
}
.btn--accent-teal {
  background: white;
  color: var(--c-teal-700);
  border: 1.5px solid var(--c-teal-100);
}
.btn--accent-teal:hover { background: var(--c-teal-50); border-color: var(--c-teal-500); color: var(--c-teal-700); }

/* Update topbar / navbar with new accent */
.topbar.is-scrolled {
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--c-cloud);
  box-shadow: 0 1px 0 rgba(10, 31, 68, 0.04), 0 6px 24px rgba(10, 31, 68, 0.07);
}
.nav a:hover { color: var(--c-teal-600); background: var(--c-teal-50); }
.nav a.is-active { color: var(--c-teal-600); }
.nav a.is-active::after { background: var(--c-teal-500); }

.nav__cta {
  background: var(--grad-teal) !important;
  box-shadow: 0 6px 18px rgba(31, 177, 188, 0.35);
}
.nav__cta:hover { background: var(--c-teal-700) !important; box-shadow: 0 12px 24px rgba(31, 177, 188, 0.45); }

/* Eyebrow teal variant */
.eyebrow--teal {
  background: var(--c-teal-50);
  color: var(--c-teal-700);
}
.eyebrow--teal .eyebrow__dot {
  background: var(--c-teal-500);
  box-shadow: 0 0 0 4px rgba(31, 177, 188, 0.22);
}

/* Hero accent text uses teal gradient */
.hero__title .accent {
  background: linear-gradient(135deg, #168F99 0%, #1FB1BC 60%, #4DC2CB 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Hero photo with premium framing */
.hero__photo-frame {
  position: relative;
  height: 100%;
  min-height: 540px;
  border-radius: var(--r-2xl);
  overflow: hidden;
  background: var(--grad-brand);
  box-shadow: var(--sh-xl);
  isolation: isolate;
  transition: transform 0.6s var(--ease-out);
}
.hero__photo-frame img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 1.4s var(--ease-out);
}
.hero__photo-frame:hover img { transform: scale(1.04); }
.hero__photo-frame::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,31,68,0) 50%, rgba(10,31,68,0.55) 100%);
  pointer-events: none;
}
.hero__photo-frame .hero__photo-tag {
  position: absolute;
  bottom: 22px; left: 22px;
  color: white;
  z-index: 2;
}
.hero__photo-tag strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin-bottom: 2px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.4);
}
.hero__photo-tag span {
  font-size: 0.84rem;
  opacity: 0.92;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

/* Hero floating cards refined */
.hero__chip {
  position: absolute;
  background: white;
  border-radius: var(--r-lg);
  padding: 14px 18px;
  box-shadow: 0 16px 36px rgba(10,31,68,0.16);
  display: flex; align-items: center; gap: 12px;
  z-index: 3;
  border: 1px solid rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(6px);
}
.hero__chip--top { top: 40px; left: -28px; animation: floatY 6s ease-in-out infinite; }
.hero__chip--right { right: -22px; top: 200px; animation: floatY 7.5s ease-in-out infinite reverse; }
.hero__chip--bottom { bottom: 30px; right: 36px; animation: floatY 8.5s ease-in-out infinite; padding: 16px 20px; background: var(--c-navy-900); color: white; }
.hero__chip-icon {
  width: 38px; height: 38px; border-radius: 11px;
  background: var(--c-teal-50);
  color: var(--c-teal-600);
  display: grid; place-items: center;
  flex-shrink: 0;
}
.hero__chip--bottom .hero__chip-icon { background: rgba(255,255,255,0.12); color: var(--c-gold-400); }
.hero__chip strong { display: block; font-size: 0.92rem; color: var(--c-ink); font-weight: 700; }
.hero__chip--bottom strong {
  color: white;
  font-family: var(--font-display);
  font-size: 1.3rem;
  background: var(--grad-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero__chip span { display: block; font-size: 0.76rem; color: var(--c-muted); }
.hero__chip--bottom span { color: rgba(255,255,255,0.85); }
.hero__chip .stars { color: var(--c-gold-500); font-size: 0.92rem; line-height: 1; }

/* School logo marquee */
.logo-marquee {
  position: relative;
  padding: 36px 0;
  background: white;
  border-top: 1px solid var(--c-cloud);
  border-bottom: 1px solid var(--c-cloud);
  overflow: hidden;
}
.logo-marquee__head {
  text-align: center;
  margin-bottom: 24px;
}
.logo-marquee__label {
  font-size: 0.82rem;
  color: var(--c-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  display: inline-flex; align-items: center; gap: 10px;
}
.logo-marquee__label::before,
.logo-marquee__label::after {
  content: '';
  width: 36px; height: 1px;
  background: var(--c-cloud);
}
.logo-marquee__row {
  position: relative;
  overflow: hidden;
}
.logo-marquee__row::before,
.logo-marquee__row::after {
  content: '';
  position: absolute; top: 0; bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}
.logo-marquee__row::before { left: 0; background: linear-gradient(90deg, white, rgba(255,255,255,0)); }
.logo-marquee__row::after { right: 0; background: linear-gradient(-90deg, white, rgba(255,255,255,0)); }

.logo-marquee__track {
  display: flex; align-items: center; gap: 56px;
  width: max-content;
  animation: marquee-scroll 60s linear infinite;
}
.logo-marquee:hover .logo-marquee__track { animation-play-state: paused; }
.logo-marquee__row--reverse .logo-marquee__track { animation-direction: reverse; animation-duration: 75s; }
@keyframes marquee-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.logo-marquee__item {
  flex-shrink: 0;
  display: grid; place-items: center;
  height: 72px;
  width: 160px;
  padding: 8px 14px;
  transition: all var(--t-base) var(--ease);
  filter: grayscale(35%);
  opacity: 0.78;
}
.logo-marquee__item img {
  max-height: 56px;
  max-width: 100%;
  object-fit: contain;
  display: block;
}
.logo-marquee__item:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.1);
}

/* Soft section divider with logo accent (between sections) */
.section--brandstrip {
  background: var(--grad-teal-soft);
  padding: 28px 0;
  position: relative;
  overflow: hidden;
}
.section--brandstrip::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 50%, rgba(31, 177, 188, 0.18), transparent 60%);
}

/* Tilt cards */
.tilt-card {
  transform-style: preserve-3d;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
  will-change: transform;
}

/* Section big number */
.bignum {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 4.6rem);
  font-weight: 600;
  background: var(--grad-teal);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  letter-spacing: -0.03em;
}

/* Photo gallery (about, team, etc) */
.photo-mosaic {
  display: grid;
  gap: 16px;
  grid-template-columns: 1.2fr 1fr;
  grid-template-rows: 220px 220px;
  grid-template-areas: "a b" "a c";
}
.photo-mosaic > * {
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--sh-md);
  position: relative;
}
.photo-mosaic > *:nth-child(1) { grid-area: a; }
.photo-mosaic > *:nth-child(2) { grid-area: b; }
.photo-mosaic > *:nth-child(3) { grid-area: c; }
.photo-mosaic img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease-out);
}
.photo-mosaic > *:hover img { transform: scale(1.08); }
.photo-mosaic__label {
  position: absolute; bottom: 12px; left: 12px;
  background: rgba(10, 31, 68, 0.78);
  backdrop-filter: blur(6px);
  color: white;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
}

/* Avatar trust group (used near hero / sections) */
.avatar-group {
  display: flex; align-items: center; gap: 14px;
  margin-top: 22px;
}
.avatar-group__pile {
  display: flex;
}
.avatar-group__pile img,
.avatar-group__pile span {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 2.5px solid white;
  background: var(--grad-teal);
  color: white;
  display: grid; place-items: center;
  font-size: 0.82rem; font-weight: 700;
  object-fit: cover;
  margin-left: -10px;
  box-shadow: 0 4px 10px rgba(10,31,68,0.12);
}
.avatar-group__pile > :first-child { margin-left: 0; }
.avatar-group__text strong {
  display: block;
  font-size: 0.94rem;
  color: var(--c-ink);
  font-weight: 700;
}
.avatar-group__text span {
  font-size: 0.78rem;
  color: var(--c-muted);
}

/* Photo card with overlay (destinations updated) */
.photo-card {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: var(--sh-md);
  cursor: pointer;
}
.photo-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease-out);
}
.photo-card:hover img { transform: scale(1.06); }
.photo-card__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(10,31,68,0.78) 100%);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 22px;
  color: white;
}
.photo-card__overlay strong {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 4px;
}
.photo-card__overlay span {
  font-size: 0.86rem;
  opacity: 0.9;
}

/* Magnetic button (added via JS) */
.btn-magnetic {
  position: relative;
  overflow: visible;
  transition: transform var(--t-base) var(--ease-out);
}
.btn-magnetic::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: inherit;
  opacity: 0;
  transition: opacity var(--t-fast) var(--ease);
  z-index: -1;
}

/* Refined feature card with teal accent */
.feature-card::before { background: var(--grad-teal); }
.feature-card:hover .feature-card__icon {
  background: var(--grad-teal);
  color: white;
}
.feature-card__icon { background: var(--c-teal-50); color: var(--c-teal-600); }

/* Domain card teal accent on hover */
.domain-card::after { background: var(--grad-teal); }
.domain-card:hover { border-color: var(--c-teal-500); }

/* Step active state with teal */
.step:hover .step__num,
.step.is-active .step__num {
  background: var(--grad-teal);
  border-color: var(--c-teal-600);
}

/* Form inputs focus uses teal */
.input:focus, .select:focus, .textarea:focus {
  border-color: var(--c-teal-500);
  box-shadow: 0 0 0 4px rgba(31, 177, 188, 0.15);
}
.search-bar:focus-within { border-color: var(--c-teal-500); box-shadow: 0 0 0 4px rgba(31, 177, 188, 0.12); }
.search-bar button { background: var(--grad-teal); }
.search-bar button:hover { background: var(--c-teal-700); }

/* Filter chip active = teal */
.chip-active { background: var(--c-teal-50); color: var(--c-teal-700); }
.chip-active button { background: var(--c-teal-600); }

.pill:has(input:checked) { background: var(--c-navy-900); border-color: var(--c-navy-900); color: white; }
.radio-card:has(input:checked) {
  border-color: var(--c-teal-500);
  background: var(--c-teal-50);
  box-shadow: 0 0 0 4px rgba(31, 177, 188, 0.15);
}
.radio-card:has(input:checked) .radio-card__icon { background: var(--grad-teal); color: white; }

/* Floating CTA with teal */
.float-cta {
  background: var(--grad-teal);
  box-shadow: 0 14px 40px rgba(31, 177, 188, 0.5), 0 4px 12px rgba(10, 31, 68, 0.15);
}
.float-cta:hover { background: var(--c-navy-900); color: white; }

/* Trust quote area */
.trust-quote {
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  font-style: normal;
  font-weight: 500;
  color: var(--c-ink);
  line-height: 1.4;
}
.trust-quote .quote-mark {
  font-size: 3rem;
  line-height: 0;
  color: var(--c-teal-500);
  display: inline-block;
  vertical-align: -0.4em;
  margin-right: 6px;
}

/* Section dark with teal subtle accent */
.section--dark { background: var(--c-navy-900); position: relative; overflow: hidden; }
.section--dark::before {
  content: '';
  position: absolute;
  top: -150px; right: -150px;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(31, 177, 188, 0.2), transparent 60%);
}
.section--dark::after {
  content: '';
  position: absolute;
  bottom: -150px; left: -150px;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 160, 71, 0.12), transparent 60%);
}
.section--dark > * { position: relative; z-index: 1; }

/* Numbers banner (premium) */
.stats-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: var(--grad-brand);
  border-radius: var(--r-xl);
  padding: 40px 24px;
  color: white;
  position: relative;
  overflow: hidden;
}
.stats-band::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}
.stats-band__item {
  text-align: center;
  position: relative;
  padding: 0 16px;
  z-index: 1;
}
.stats-band__item + .stats-band__item::before {
  content: '';
  position: absolute;
  left: 0; top: 20%; bottom: 20%;
  width: 1px;
  background: rgba(255,255,255,0.18);
}
.stats-band__value {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 600;
  line-height: 1;
  background: var(--grad-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stats-band__label {
  font-size: 0.84rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.88;
  margin-top: 10px;
}

@media (max-width: 720px) {
  .stats-band { grid-template-columns: 1fr 1fr; gap: 24px 0; padding: 32px 16px; }
  .stats-band__item + .stats-band__item::before { display: none; }
  .stats-band__item:nth-child(3),
  .stats-band__item:nth-child(4) { border-top: 1px solid rgba(255,255,255,0.18); padding-top: 24px; }
  .photo-mosaic { grid-template-columns: 1fr; grid-template-rows: 200px 200px 200px; grid-template-areas: "a" "b" "c"; }
  .hero__chip--top, .hero__chip--right, .hero__chip--bottom { left: auto; right: auto; }
  .hero__chip--top { left: 8px; top: 8px; }
  .hero__chip--right { right: 8px; top: 40%; }
  .hero__chip--bottom { right: 8px; bottom: 8px; }
}

/* ============================================================================
   EURO CAMPUS — Catalog redesign (v3)
   Editorial type, sidebar filters with school logos, category accents
   ============================================================================ */

/* --- Display heading refinement --- */
.hero__title {
  font-weight: 700;
  letter-spacing: -0.02em;
  font-size: clamp(2.6rem, 5.2vw, 4.4rem);
  line-height: 0.98;
}
.hero__title .accent {
  font-style: normal;
  font-weight: 700;
}
.section-title { font-weight: 700; }

/* Override h3 inside cards using display look */
.formation-card__title,
.dest-card__name,
.testi-card h3 {
  font-family: var(--font-body);
  font-weight: 700;
}

/* --- Category colored chip --- */
.cat-chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px 4px 8px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.cat-chip::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
}
.cat-chip[data-cat="Commerce"] { background: var(--c-cat-commerce-soft); color: var(--c-cat-commerce); }
.cat-chip[data-cat="Commerce"]::before { background: var(--c-cat-commerce); }
.cat-chip[data-cat="Ingénieur"] { background: var(--c-cat-ingenieur-soft); color: var(--c-cat-ingenieur); }
.cat-chip[data-cat="Ingénieur"]::before { background: var(--c-cat-ingenieur); }
.cat-chip[data-cat="Digital"] { background: var(--c-cat-digital-soft); color: var(--c-cat-digital); }
.cat-chip[data-cat="Digital"]::before { background: var(--c-cat-digital); }
.cat-chip[data-cat="Communication"] { background: var(--c-cat-communication-soft); color: var(--c-cat-communication); }
.cat-chip[data-cat="Communication"]::before { background: var(--c-cat-communication); }
.cat-chip[data-cat="Arts & Design"] { background: var(--c-cat-arts-soft); color: var(--c-cat-arts); }
.cat-chip[data-cat="Arts & Design"]::before { background: var(--c-cat-arts); }
.cat-chip[data-cat="Droit"] { background: var(--c-cat-droit-soft); color: var(--c-cat-droit); }
.cat-chip[data-cat="Droit"]::before { background: var(--c-cat-droit); }

/* --- Catalog layout: top filter bar + full-width results --- */
.catalog-shell { padding: 16px 0 64px; }
.results-grid--wide {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 20px;
}

/* Top toolbar — unified line, slim & aligned */
.catalog-toolbar {
  position: sticky; top: 78px;
  z-index: 30;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border: 1px solid var(--c-cloud);
  border-radius: 12px;
  padding: 5px;
  margin-bottom: 18px;
  display: flex; align-items: center; gap: 0;
  box-shadow: 0 1px 2px rgba(10,31,68,0.04), 0 10px 32px -8px rgba(10,31,68,0.08);
}

.catalog-toolbar__search {
  flex-shrink: 0;
  width: 240px;
  height: 32px;
  display: flex; align-items: center; gap: 8px;
  background: rgba(245, 247, 251, 0.55);
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 0 11px;
  transition: background var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
}
.catalog-toolbar__search:hover { background: var(--c-mist); }
.catalog-toolbar__search:focus-within {
  background: white;
  border-color: var(--c-teal-500);
  box-shadow: 0 0 0 3px rgba(31,177,188,0.12);
}
.catalog-toolbar__search svg {
  width: 15px; height: 15px;
  color: var(--c-muted); flex-shrink: 0;
  transition: color var(--t-fast) var(--ease);
}
.catalog-toolbar__search:focus-within svg { color: var(--c-teal-600); }
.catalog-toolbar__search input {
  flex: 1; min-width: 0;
  border: none; outline: none; background: transparent;
  font-family: inherit; font-size: 0.82rem; color: var(--c-ink);
  line-height: 1;
}
.catalog-toolbar__search input::placeholder { color: #8B96B0; }

.filter-bar-v3 {
  flex: 1; min-width: 0;
  display: flex; flex-wrap: wrap; gap: 1px;
  align-items: center;
  padding: 0 6px;
  margin: 0 6px;
  border-left: 1px solid var(--c-mist);
  border-right: 1px solid var(--c-mist);
}

.catalog-toolbar__divider {
  width: 1px; height: 18px;
  background: var(--c-mist);
  margin: 0 4px;
  flex-shrink: 0;
}

.catalog-toolbar__sort {
  flex-shrink: 0;
  height: 32px;
  appearance: none;
  border: 1px solid transparent;
  background: transparent;
  padding: 0 28px 0 11px;
  border-radius: 8px;
  font-family: inherit; font-size: 0.8rem; font-weight: 600;
  color: var(--c-ink-2);
  cursor: pointer;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' stroke='%235C6B8C' stroke-width='1.6' fill='none' stroke-linecap='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right 9px center;
  transition: all var(--t-fast) var(--ease);
}
.catalog-toolbar__sort:hover { background-color: var(--c-mist); color: var(--c-ink); }
.catalog-toolbar__sort:focus { outline: none; background-color: white; border-color: var(--c-teal-500); box-shadow: 0 0 0 3px rgba(31,177,188,0.12); }

/* Filter trigger button — refined, fully aligned */
.filter-pop { position: relative; flex-shrink: 0; }
.filter-trigger {
  display: inline-flex; align-items: center; gap: 6px;
  height: 32px;
  padding: 0 11px;
  border: 1px solid transparent;
  background: transparent;
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.8rem; font-weight: 600;
  color: var(--c-ink-2);
  cursor: pointer;
  transition: all 0.16s var(--ease);
  white-space: nowrap;
  position: relative;
  line-height: 1;
}
.filter-trigger:hover { background: var(--c-mist); color: var(--c-ink); }
.filter-trigger svg {
  width: 9px; height: 7px;
  transition: transform var(--t-fast) var(--ease);
  opacity: 0.5;
  margin-left: 1px;
}
.filter-pop.is-open .filter-trigger {
  background: var(--c-navy-900); color: white;
  box-shadow: 0 2px 8px rgba(10,31,68,0.18);
}
.filter-pop.is-open .filter-trigger svg { transform: rotate(180deg); opacity: 1; }
.filter-pop.has-active .filter-trigger {
  border-color: var(--c-teal-200, var(--c-teal-300));
  color: var(--c-teal-700);
  background: var(--c-teal-50);
}
.filter-pop.has-active.is-open .filter-trigger {
  background: var(--c-teal-600); color: white; border-color: var(--c-teal-600);
}
.filter-trigger__count {
  background: var(--c-teal-500); color: white;
  font-size: 0.64rem; font-weight: 700;
  padding: 0 5px;
  height: 15px;
  line-height: 15px;
  border-radius: 999px;
  min-width: 15px; text-align: center;
  display: inline-block;
}
.filter-pop.is-open:not(.has-active) .filter-trigger__count {
  background: white; color: var(--c-navy-900);
}

/* Popover panel — refined */
.filter-panel {
  position: absolute; top: calc(100% + 10px); left: 0;
  z-index: 40;
  background: white;
  border: 1px solid var(--c-cloud);
  border-radius: 14px;
  box-shadow: 0 24px 48px -8px rgba(10,31,68,0.18), 0 4px 12px rgba(10,31,68,0.06), 0 0 0 1px rgba(10,31,68,0.02);
  min-width: 260px;
  max-width: 320px;
  padding: 12px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px) scale(0.98);
  transform-origin: top left;
  transition: opacity 0.18s var(--ease-out), transform 0.18s var(--ease-out), visibility 0.18s;
}
.filter-panel--wide { min-width: 320px; max-width: 360px; }
.filter-pop.is-open .filter-panel {
  opacity: 1; visibility: visible;
  transform: translateY(0) scale(1);
}
.filter-panel--right { left: auto; right: 0; transform-origin: top right; }

.filter-panel__title {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--c-muted);
  margin-bottom: 10px;
  padding: 4px 4px 8px;
  border-bottom: 1px solid var(--c-mist);
}

/* Mobile compact - hide some filter labels */
@media (max-width: 780px) {
  .catalog-toolbar { flex-direction: column; align-items: stretch; padding: 10px; }
  .catalog-toolbar__search { width: 100%; }
  .filter-bar-v3 { width: 100%; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 4px; }
  .filter-trigger { flex-shrink: 0; }
  .catalog-toolbar__sort { width: 100%; }
  .filter-panel { left: 0; right: 0; min-width: auto; max-width: none; width: 100%; }
}

/* Clear-all link */
.btn-link-ghost {
  background: none; border: none;
  color: var(--c-muted);
  font-size: 0.82rem; font-weight: 600;
  cursor: pointer;
  padding: 6px 12px;
  border-radius: 999px;
  transition: all var(--t-fast) var(--ease);
}
.btn-link-ghost:hover { background: var(--c-mist); color: var(--c-ink); }

/* Search header (sticky inside main col) */
.catalog-search {
  position: sticky;
  top: 90px;
  z-index: 5;
  background: white;
  border: 1.5px solid var(--c-cloud);
  border-radius: var(--r-lg);
  padding: 6px 6px 6px 18px;
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 18px;
  transition: all var(--t-base) var(--ease);
  box-shadow: var(--sh-sm);
}
.catalog-search:focus-within {
  border-color: var(--c-teal-500);
  box-shadow: 0 0 0 4px rgba(31,177,188,0.15), var(--sh-md);
}
.catalog-search svg { color: var(--c-muted); flex-shrink: 0; }
.catalog-search input {
  flex: 1; min-width: 0;
  border: none; outline: none;
  padding: 13px 0;
  font-family: inherit; font-size: 1rem; color: var(--c-ink); background: transparent;
}
.catalog-search input::placeholder { color: #97A3BD; }
.catalog-search .filter-mobile {
  display: none;
  padding: 10px 14px;
  background: var(--c-mist); color: var(--c-ink);
  border-radius: 999px; font-weight: 600; font-size: 0.84rem;
  align-items: center; gap: 8px;
}
.catalog-search .sort-select {
  border: none; background: var(--c-mist);
  padding: 10px 32px 10px 16px;
  font-weight: 600; font-size: 0.84rem;
  color: var(--c-ink); flex-shrink: 0;
}

/* Sidebar */
.filters-sidebar {
  position: sticky; top: 90px;
  max-height: calc(100vh - 110px);
  overflow-y: auto;
  background: white;
  border: 1px solid var(--c-cloud);
  border-radius: var(--r-lg);
  padding: 4px 4px;
  box-shadow: var(--sh-sm);
  scrollbar-width: thin; scrollbar-color: var(--c-cloud) transparent;
  font-size: 0.92rem;
}
.filters-sidebar::-webkit-scrollbar { width: 6px; }
.filters-sidebar::-webkit-scrollbar-thumb { background: var(--c-cloud); border-radius: 6px; }

.filter-block {
  border: none;
  padding: 0;
  margin: 0;
  border-radius: var(--r-md);
  transition: background var(--t-fast) var(--ease);
}
.filter-block + .filter-block { border-top: 1px solid var(--c-cloud); }
.filter-block summary {
  list-style: none;
  cursor: pointer;
  padding: 13px 12px;
  display: flex; align-items: center; justify-content: space-between;
  font-weight: 700;
  font-size: 0.78rem;
  color: var(--c-ink);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  user-select: none;
  border-radius: var(--r-sm);
  transition: all var(--t-fast) var(--ease);
}
.filter-block summary::-webkit-details-marker { display: none; }
.filter-block summary:hover { background: var(--c-mist); }
.filter-block summary::after {
  content: '';
  width: 10px; height: 10px;
  border-right: 2px solid var(--c-muted);
  border-bottom: 2px solid var(--c-muted);
  transform: rotate(45deg);
  transition: transform var(--t-base) var(--ease);
  margin-bottom: 4px;
}
.filter-block[open] summary::after { transform: rotate(-135deg); margin-bottom: -4px; }
.filter-block__body {
  padding: 2px 12px 14px;
  animation: filter-open 0.4s var(--ease-out);
}
@keyframes filter-open {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

.filter-block__count {
  background: var(--c-teal-500); color: white;
  font-size: 0.7rem; font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
  margin-left: 8px;
  min-width: 22px; text-align: center;
}

/* Filter chip pills (niveau, durée) */
.f-pills { display: flex; flex-wrap: wrap; gap: 6px; }
.f-pill {
  position: relative;
  display: inline-flex; align-items: center; gap: 4px;
  padding: 6px 12px;
  border: 1px solid var(--c-cloud);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--c-ink-2);
  cursor: pointer;
  transition: all var(--t-fast) var(--ease);
  background: white;
}
.f-pill input { position: absolute; opacity: 0; pointer-events: none; }
.f-pill:hover { border-color: var(--c-teal-300); transform: translateY(-1px); }
.f-pill:has(input:checked) {
  background: var(--c-navy-900); border-color: var(--c-navy-900); color: white;
  box-shadow: 0 4px 12px rgba(10, 31, 68, 0.18);
}
.f-pill:has(input:checked)::before {
  content: '✓'; font-weight: 800; color: var(--c-teal-400);
}

/* Category filter — colored pills */
.f-cats { display: grid; grid-template-columns: 1fr; gap: 6px; }
.f-cat {
  position: relative;
  display: flex; align-items: center; gap: 10px;
  padding: 8px 10px;
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--c-ink);
  transition: all var(--t-fast) var(--ease);
  background: transparent;
}
.f-cat:hover { background: var(--c-mist); transform: none; }
.f-cat input { position: absolute; opacity: 0; }
.f-cat__dot {
  width: 10px; height: 10px; border-radius: 50%;
  flex-shrink: 0;
  transition: transform var(--t-base) var(--ease);
}
.f-cat__count {
  margin-left: auto;
  font-size: 0.78rem;
  color: var(--c-muted);
  font-weight: 500;
}
.f-cat:hover { border-color: var(--c-teal-300); transform: translateX(3px); }
.f-cat:has(input:checked) .f-cat__dot { transform: scale(1.8); }
.f-cat[data-cat="Commerce"] .f-cat__dot { background: var(--c-cat-commerce); }
.f-cat[data-cat="Commerce"]:has(input:checked) { border-color: var(--c-cat-commerce); background: var(--c-cat-commerce-soft); color: var(--c-cat-commerce); }
.f-cat[data-cat="Ingénieur"] .f-cat__dot { background: var(--c-cat-ingenieur); }
.f-cat[data-cat="Ingénieur"]:has(input:checked) { border-color: var(--c-cat-ingenieur); background: var(--c-cat-ingenieur-soft); color: var(--c-cat-ingenieur); }
.f-cat[data-cat="Digital"] .f-cat__dot { background: var(--c-cat-digital); }
.f-cat[data-cat="Digital"]:has(input:checked) { border-color: var(--c-cat-digital); background: var(--c-cat-digital-soft); color: var(--c-cat-digital); }
.f-cat[data-cat="Communication"] .f-cat__dot { background: var(--c-cat-communication); }
.f-cat[data-cat="Communication"]:has(input:checked) { border-color: var(--c-cat-communication); background: var(--c-cat-communication-soft); color: var(--c-cat-communication); }
.f-cat[data-cat="Arts & Design"] .f-cat__dot { background: var(--c-cat-arts); }
.f-cat[data-cat="Arts & Design"]:has(input:checked) { border-color: var(--c-cat-arts); background: var(--c-cat-arts-soft); color: var(--c-cat-arts); }
.f-cat[data-cat="Droit"] .f-cat__dot { background: var(--c-cat-droit); }
.f-cat[data-cat="Droit"]:has(input:checked) { border-color: var(--c-cat-droit); background: var(--c-cat-droit-soft); color: var(--c-cat-droit); }

/* School filter with logos */
.f-search {
  display: flex; align-items: center; gap: 8px;
  background: var(--c-mist);
  border-radius: var(--r-sm);
  padding: 8px 12px;
  margin-bottom: 10px;
  transition: all var(--t-fast) var(--ease);
}
.f-search:focus-within { background: var(--c-teal-50); }
.f-search svg { color: var(--c-muted); }
.f-search input {
  flex: 1; background: transparent; border: none; outline: none;
  font-family: inherit; font-size: 0.85rem;
}

.f-schools {
  max-height: 220px;
  overflow-y: auto;
  display: flex; flex-direction: column; gap: 3px;
  scrollbar-width: thin; scrollbar-color: var(--c-cloud) transparent;
}
.f-schools::-webkit-scrollbar { width: 6px; }
.f-schools::-webkit-scrollbar-thumb { background: var(--c-cloud); border-radius: 6px; }
.f-school {
  position: relative;
  display: flex; align-items: center; gap: 8px;
  padding: 6px 8px;
  border-radius: var(--r-sm);
  cursor: pointer;
  transition: background var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
  user-select: none;
}
.f-school input { position: absolute; opacity: 0; pointer-events: none; }
.f-school:hover { background: var(--c-mist); transform: translateX(2px); }
.f-school:has(input:checked) {
  background: var(--c-teal-50);
  box-shadow: inset 3px 0 0 var(--c-teal-500);
}
.f-school__logo {
  width: 26px; height: 26px;
  display: grid; place-items: center;
  flex-shrink: 0;
  border-radius: 5px;
  background: white;
  border: 1px solid var(--c-cloud);
  overflow: hidden;
  padding: 2px;
}
.f-school__logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.f-school__logo--placeholder {
  background: var(--grad-teal);
  color: white;
  border: none;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  font-style: normal;
}
.f-school__name {
  flex: 1;
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--c-ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.f-school:has(input:checked) .f-school__name { color: var(--c-teal-700); font-weight: 600; }
.f-school__count {
  font-size: 0.72rem;
  color: var(--c-muted);
  background: var(--c-mist);
  padding: 1px 7px;
  border-radius: 999px;
  font-weight: 600;
  flex-shrink: 0;
}
.f-school:has(input:checked) .f-school__count { background: var(--c-teal-500); color: white; }
.f-school__check {
  width: 18px; height: 18px;
  border-radius: 5px;
  border: 1.5px solid var(--c-line);
  display: grid; place-items: center;
  color: white;
  flex-shrink: 0;
  transition: all var(--t-fast) var(--ease);
}
.f-school:has(input:checked) .f-school__check {
  background: var(--c-teal-500); border-color: var(--c-teal-500);
}
.f-school__check svg { opacity: 0; transition: opacity var(--t-fast) var(--ease); }
.f-school:has(input:checked) .f-school__check svg { opacity: 1; }

/* Range slider premium */
.f-range {
  padding: 6px 4px;
}
.f-range__bar {
  position: relative; height: 6px;
  background: var(--c-cloud);
  border-radius: 999px;
  margin: 14px 0 10px;
}
.f-range__fill {
  position: absolute; top: 0; left: 0; height: 100%;
  background: var(--grad-teal);
  border-radius: 999px;
}
.f-range input[type="range"] {
  width: 100%;
  -webkit-appearance: none; appearance: none;
  background: transparent;
  position: relative; z-index: 1;
  margin: 0;
  height: 6px;
}
.f-range input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: white;
  border: 3px solid var(--c-teal-500);
  cursor: pointer;
  box-shadow: 0 3px 10px rgba(31,177,188,0.4);
  transition: transform var(--t-fast) var(--ease);
}
.f-range input[type="range"]::-webkit-slider-thumb:hover { transform: scale(1.18); }
.f-range__caption {
  display: flex; justify-content: space-between;
  font-size: 0.78rem;
  color: var(--c-muted);
}
.f-range__caption strong { color: var(--c-teal-700); font-size: 0.92rem; }

/* Toggle row premium (Rythme) */
.f-toggle {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  padding: 4px;
  background: var(--c-mist);
  border-radius: var(--r-sm);
}
.f-toggle label {
  position: relative;
  text-align: center;
  padding: 8px 6px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--c-muted);
  border-radius: 8px;
  cursor: pointer;
  transition: all var(--t-fast) var(--ease);
}
.f-toggle input { position: absolute; opacity: 0; }
.f-toggle label:has(input:checked) {
  background: white;
  color: var(--c-navy-900);
  box-shadow: var(--sh-sm);
}

/* Filter actions footer */
.filter-actions {
  display: flex; gap: 6px;
  padding: 10px;
  border-top: 1px solid var(--c-cloud);
  position: sticky; bottom: 0;
  background: white;
  border-radius: 0 0 var(--r-lg) var(--r-lg);
}
.filter-actions .btn { flex: 1; padding: 9px 10px; font-size: 0.78rem; }

/* === Formation card v3 === */
.formation-card-v3 {
  position: relative;
  background: white;
  border: 1px solid var(--c-cloud);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: all var(--t-base) var(--ease);
  cursor: pointer;
}
.formation-card-v3::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  z-index: 2;
  transition: height var(--t-base) var(--ease);
}
.formation-card-v3[data-cat="Commerce"]::before { background: var(--c-cat-commerce); }
.formation-card-v3[data-cat="Ingénieur"]::before { background: var(--c-cat-ingenieur); }
.formation-card-v3[data-cat="Digital"]::before { background: var(--c-cat-digital); }
.formation-card-v3[data-cat="Communication"]::before { background: var(--c-cat-communication); }
.formation-card-v3[data-cat="Arts & Design"]::before { background: var(--c-cat-arts); }
.formation-card-v3[data-cat="Droit"]::before { background: var(--c-cat-droit); }
.formation-card-v3:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 50px rgba(10, 31, 68, 0.12), 0 6px 16px rgba(10, 31, 68, 0.06);
  border-color: transparent;
}
.formation-card-v3:hover::before { height: 6px; }

.fc-v3__head {
  padding: 18px 18px 0;
  display: flex; gap: 12px; align-items: center;
}
.fc-v3__logo {
  width: 44px; height: 44px;
  flex-shrink: 0;
  display: grid; place-items: center;
  background: white;
  border: 1px solid var(--c-cloud);
  border-radius: 10px;
  overflow: hidden;
  padding: 5px;
}
.fc-v3__logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.fc-v3__logo--placeholder {
  background: var(--grad-brand);
  border: none;
  color: white;
  font-family: var(--font-display);
  font-style: normal;
  font-size: 1.1rem;
  font-weight: 600;
}
.fc-v3__school-name {
  display: block;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--c-ink);
  letter-spacing: -0.01em;
}
.fc-v3__school-loc {
  display: block;
  font-size: 0.74rem;
  color: var(--c-muted);
  margin-top: 2px;
}
.fc-v3__body {
  padding: 14px 18px 0;
  flex: 1;
}
.fc-v3__title {
  font-family: var(--font-body);
  font-size: 1.04rem;
  font-weight: 700;
  color: var(--c-ink);
  line-height: 1.3;
  letter-spacing: -0.015em;
  margin-bottom: 10px;
  min-height: 2.6em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.fc-v3__tags {
  display: flex; flex-wrap: wrap; gap: 6px;
  margin-bottom: 14px;
}
.fc-v3__tag {
  font-size: 0.74rem;
  padding: 4px 9px;
  border-radius: 6px;
  background: var(--c-mist);
  color: var(--c-ink-2);
  font-weight: 500;
}
.fc-v3__meta {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 8px 14px;
  padding: 12px 18px;
  border-top: 1px dashed var(--c-cloud);
  margin-top: 6px;
  font-size: 0.82rem;
}
.fc-v3__meta-item span {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--c-muted);
  font-weight: 600;
  display: block;
}
.fc-v3__meta-item strong {
  font-size: 0.9rem;
  color: var(--c-ink);
  font-weight: 600;
  display: block;
  margin-top: 2px;
}
.fc-v3__niveau {
  position: absolute; top: 14px; right: 14px;
  font-size: 0.66rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.05em;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--c-navy-900);
  color: white;
  z-index: 2;
}
.fc-v3__footer {
  padding: 12px 18px 14px;
  background: linear-gradient(180deg, transparent, var(--c-off));
  display: flex; gap: 6px;
}
.fc-v3__footer .btn { padding: 9px 10px; font-size: 0.8rem; flex: 1; }

/* Results header */
.catalog-header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 22px;
  gap: 14px;
  flex-wrap: wrap;
}
.catalog-header__count {
  font-size: 1.05rem;
  color: var(--c-muted);
}
.catalog-header__count strong {
  color: var(--c-navy-900);
  font-weight: 700;
  font-family: var(--font-display);
  font-size: 1.6rem;
  margin-right: 6px;
  font-style: normal;
}

/* Active filter chips bar */
.active-bar-v3 {
  display: flex; flex-wrap: wrap; gap: 8px; align-items: center;
  margin-bottom: 22px;
  padding-bottom: 16px;
  border-bottom: 1px dashed var(--c-cloud);
}
.active-bar-v3__label {
  font-size: 0.78rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--c-muted);
}
.active-chip-v3 {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 10px 6px 12px;
  background: var(--c-teal-50);
  color: var(--c-teal-700);
  border: 1px solid var(--c-teal-100);
  border-radius: 999px;
  font-size: 0.82rem; font-weight: 600;
  transition: all var(--t-fast) var(--ease);
}
.active-chip-v3 button {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--c-teal-500);
  color: white;
  font-size: 0.9rem; font-weight: 600;
  display: grid; place-items: center;
  line-height: 1;
  cursor: pointer;
  transition: transform var(--t-fast) var(--ease);
}
.active-chip-v3 button:hover { transform: rotate(90deg) scale(1.1); }

/* Drawer for mobile filter access */
@media (max-width: 980px) {
  .catalog-grid { grid-template-columns: 1fr; }
  .filters-sidebar {
    position: fixed;
    top: 0; bottom: 0; right: 0;
    width: 88%; max-width: 380px;
    border-radius: 0;
    z-index: 100;
    transform: translateX(100%);
    transition: transform var(--t-base) var(--ease);
    max-height: 100vh;
  }
  .filters-sidebar.is-open { transform: translateX(0); }
  .filter-mobile-overlay {
    position: fixed; inset: 0;
    background: rgba(10, 31, 68, 0.45);
    backdrop-filter: blur(4px);
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--t-base) var(--ease), visibility var(--t-base) var(--ease);
  }
  .filter-mobile-overlay.is-open { opacity: 1; visibility: visible; }
  .catalog-search .filter-mobile { display: inline-flex; align-items: center; gap: 8px; }
}

/* --- Italic accent in eyebrow --- */
.eyebrow { font-family: var(--font-body); }

/* --- Better section-title with italic --- */
.section-title em { font-style: normal; color: var(--c-teal-600); font-weight: 700; }

/* ============================================================================
   COUNTRY PICKER (step 1 of formations.html)
   ============================================================================ */
.country-picker {
  padding: 96px 0 80px;
  background:
    radial-gradient(circle at 12% 8%, rgba(31, 177, 188, 0.10), transparent 55%),
    radial-gradient(circle at 92% 95%, rgba(46, 107, 230, 0.10), transparent 55%),
    var(--c-off);
}
.country-picker .breadcrumb { margin-bottom: 28px; }
.country-picker__title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.6vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: -0.015em;
  margin: 8px 0 14px;
  color: var(--c-ink);
}
.country-picker__title em { font-style: normal; color: var(--c-teal-600); font-weight: 700; }
.country-picker__lead {
  font-size: 1.08rem;
  color: var(--c-muted);
  max-width: 720px;
  line-height: 1.6;
  margin-bottom: 44px;
}
.country-picker__hint {
  display: inline-flex; gap: 10px; align-items: flex-start;
  margin-top: 36px;
  padding: 14px 18px;
  background: var(--c-blue-50);
  border-radius: var(--r-md);
  font-size: 0.93rem;
  color: var(--c-ink-2);
  line-height: 1.55;
  max-width: 820px;
}
.country-picker__hint svg { color: var(--c-navy-700); flex-shrink: 0; margin-top: 2px; }

.country-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}
.country-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--c-white);
  border: 1px solid var(--c-cloud);
  border-radius: var(--r-lg);
  cursor: pointer;
  text-align: left;
  text-decoration: none;
  color: inherit;
  font-family: inherit;
  overflow: hidden;
  transition: transform var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
}
.country-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 28px 56px -22px rgba(10, 31, 68, 0.32);
  border-color: var(--c-teal-300);
}

/* ---- MEDIA HERO (image + overlay + flag chip + country name) ---- */
.country-card__media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--c-mist);
}
.country-card__hero {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.country-card:hover .country-card__hero { transform: scale(1.08); }
.country-card__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10, 31, 68, 0) 35%, rgba(10, 31, 68, 0.72) 100%);
  pointer-events: none;
}
/* country-specific gradient accents */
.country-card[data-c="France"] .country-card__overlay      { background: linear-gradient(180deg, rgba(0, 33, 113, 0) 30%, rgba(0, 33, 113, 0.82) 100%); }
.country-card[data-c="Italie"] .country-card__overlay      { background: linear-gradient(180deg, rgba(0, 109, 76, 0) 30%, rgba(0, 84, 56, 0.82) 100%); }
.country-card[data-c="Espagne"] .country-card__overlay     { background: linear-gradient(180deg, rgba(170, 21, 27, 0) 30%, rgba(120, 12, 18, 0.82) 100%); }
.country-card[data-c="Turquie"] .country-card__overlay     { background: linear-gradient(180deg, rgba(227, 10, 23, 0) 30%, rgba(140, 10, 20, 0.85) 100%); }
.country-card[data-c="\\00C9tats-Unis"] .country-card__overlay,
.country-card[data-c*="tats-Unis"] .country-card__overlay  { background: linear-gradient(180deg, rgba(60, 59, 110, 0) 30%, rgba(40, 39, 90, 0.85) 100%); }
.country-card[data-c="Canada"] .country-card__overlay      { background: linear-gradient(180deg, rgba(213, 43, 30, 0) 30%, rgba(140, 18, 12, 0.85) 100%); }

.country-card__chip {
  position: absolute;
  top: 14px; left: 14px;
  width: 52px; height: 36px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.30), 0 8px 20px -6px rgba(0,0,0,0.40);
  background: white;
}
.country-card__chip img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}
.country-card__chip--text {
  display: grid; place-items: center;
  font-weight: 800; color: var(--c-navy-900);
  font-family: var(--font-body);
  font-size: 0.95rem; letter-spacing: 0.04em;
}

.country-card__badge {
  position: absolute;
  top: 14px; right: 14px;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 800;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
  color: #B11F15;
  box-shadow: 0 4px 14px -4px rgba(0,0,0,0.25);
  backdrop-filter: blur(6px);
}

.country-card__media-bottom {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 18px 22px 16px;
  z-index: 1;
}
.country-card__name {
  font-family: var(--font-display);
  font-size: 2rem;
  letter-spacing: -0.015em;
  line-height: 1.05;
  margin: 0;
  color: white;
  text-shadow: 0 2px 16px rgba(0,0,0,0.25);
}

/* ---- BODY (description + footer) ---- */
.country-card__body {
  padding: 22px 22px 20px;
  display: flex; flex-direction: column;
  gap: 16px;
  flex: 1;
}
.country-card__desc {
  font-size: 0.94rem;
  color: var(--c-muted);
  line-height: 1.55;
  margin: 0;
}
.country-card__footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px dashed var(--c-cloud);
}
.country-card__count {
  font-size: 0.86rem;
  color: var(--c-ink-2);
  font-weight: 600;
}
.country-card__count strong { color: var(--c-teal-600); font-weight: 800; font-size: 1.08rem; }
.country-card__arrow {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--c-blue-50);
  display: grid; place-items: center;
  color: var(--c-navy-700);
  transition: background var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
}
.country-card:hover .country-card__arrow {
  background: var(--c-teal-500);
  color: white;
  transform: translateX(4px);
}

/* ---- Canada variant ---- */
.country-card--canada { border-color: #FFD1D1; }
.country-card--canada .country-card__count strong { color: #B11F15; }


/* Country switch button inside catalog header */
.country-switch { margin-top: 18px; }
.btn--sm {
  padding: 7px 14px;
  font-size: 0.86rem;
  border-radius: var(--r-sm);
}

/* ============================================================================
   CANADA ELIGIBILITY MODULE
   ============================================================================ */
.canada-module {
  padding: 64px 0 96px;
  background: var(--c-off);
}
.canada-module .breadcrumb { margin-bottom: 28px; }
.canada-module .breadcrumb a { color: var(--c-muted); }
.canada-hero {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 28px;
  align-items: center;
  padding: 32px;
  background: linear-gradient(135deg, #FFF7F7 0%, #FFFFFF 70%);
  border: 1px solid #FFD1D1;
  border-radius: var(--r-lg);
  margin-bottom: 40px;
}
.canada-hero__flag {
  font-size: 5.5rem;
  line-height: 1;
  text-align: center;
}
.canada-hero__flag img {
  width: 100%;
  max-width: 120px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 0 0 1px rgba(177, 31, 21, 0.20), 0 8px 24px -10px rgba(177, 31, 21, 0.45);
}
.canada-hero__txt h1 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  letter-spacing: -0.01em;
  line-height: 1.15;
  margin: 12px 0 10px;
  color: var(--c-ink);
}
.canada-hero__txt h1 em { font-style: normal; color: #B11F15; font-weight: 700; }
.canada-hero__txt p { color: var(--c-ink-2); line-height: 1.55; margin: 0; }
@media (max-width: 680px) {
  .canada-hero { grid-template-columns: 1fr; text-align: center; padding: 24px; }
  .canada-hero__flag { font-size: 4rem; }
}

.canada-levels__title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  letter-spacing: -0.01em;
  margin: 0 0 8px;
}
.canada-levels__lead { color: var(--c-muted); margin: 0 0 22px; }
.canada-levels__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 14px;
}
.canada-level {
  position: relative;
  padding: 18px 18px 18px 18px;
  background: var(--c-white);
  border: 1px solid var(--c-cloud);
  border-radius: var(--r-md);
  cursor: pointer;
  transition: all var(--t-fast) var(--ease);
  user-select: none;
  display: block;
}
.canada-level input { position: absolute; opacity: 0; pointer-events: none; }
.canada-level:hover { border-color: #FFB4AE; transform: translateY(-2px); box-shadow: 0 8px 24px -14px rgba(177, 31, 21, 0.30); }
.canada-level:has(input:checked) {
  border-color: #B11F15;
  background: #FFF7F7;
  box-shadow: 0 0 0 3px rgba(213, 43, 30, 0.10);
}
.canada-level__code {
  display: inline-block;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: #B11F15;
  background: #FFE2DC;
  padding: 3px 8px;
  border-radius: 6px;
  margin-bottom: 8px;
}
.canada-level__name {
  font-weight: 700;
  font-size: 0.98rem;
  line-height: 1.3;
  color: var(--c-ink);
  margin-bottom: 8px;
}
.canada-level__meta {
  font-size: 0.82rem;
  color: var(--c-muted);
  line-height: 1.45;
}
.canada-level__meta strong { color: var(--c-ink-2); font-weight: 600; }

.canada-cta {
  margin-top: 40px;
  padding: 32px;
  background: var(--c-white);
  border: 1px solid var(--c-cloud);
  border-radius: var(--r-lg);
  text-align: center;
}
.canada-cta h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin: 0 0 8px;
}
.canada-cta p { color: var(--c-muted); margin: 0 0 22px; }
.canada-cta__actions {
  display: flex; gap: 12px; justify-content: center; flex-wrap: wrap;
}

/* Country chip in catalog header */
.page-header--country h1 em { color: var(--c-teal-600); }



/* Formation grids: staggered column entrance and richer card motion */
.country-card--enter,
.formation-card-v3--enter {
  opacity: 0;
  transform: translate3d(0, 30px, 0) scale(0.975);
  animation: formation-column-enter 0.72s var(--ease-out) forwards;
  will-change: transform, opacity;
}

@keyframes formation-column-enter {
  0% { opacity: 0; transform: translate3d(0, 30px, 0) scale(0.975); }
  62% { opacity: 1; transform: translate3d(0, -4px, 0) scale(1.006); }
  100% { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
}

.country-card--enter:hover { transform: translateY(-8px) scale(1.008); }
.formation-card-v3--enter:hover { transform: translateY(-7px) scale(1.006); }

.formation-card-v3 .fc-v3__logo,
.formation-card-v3 .fc-v3__body,
.formation-card-v3 .fc-v3__meta,
.country-card .country-card__chip,
.country-card .country-card__body {
  transition: transform 0.42s var(--ease-out), opacity 0.42s var(--ease-out);
}
.formation-card-v3:hover .fc-v3__logo { transform: translateY(-2px) rotate(-2deg) scale(1.06); }
.formation-card-v3:hover .fc-v3__body { transform: translateY(-2px); }
.formation-card-v3:hover .fc-v3__meta { transform: translateY(-1px); }
.country-card:hover .country-card__chip { transform: translateY(-2px) rotate(-2deg) scale(1.05); }
.country-card:hover .country-card__body { transform: translateY(-2px); }

@media (prefers-reduced-motion: reduce) {
  .country-card--enter,
  .formation-card-v3--enter {
    opacity: 1;
    transform: none;
    animation: none;
    will-change: auto;
  }
  .country-card,
  .formation-card-v3,
  .country-card *,
  .formation-card-v3 * { transition-duration: 0.01ms !important; }
}
/* Destination cards: true 3D flip, information revealed on hover */
.country-card--flip {
  min-height: 410px;
  perspective: 1300px;
  background: transparent;
  border: 0;
  overflow: visible;
  box-shadow: none;
}
.country-card--flip:hover {
  border-color: transparent;
  box-shadow: none;
}
.country-card__inner {
  position: relative;
  display: block;
  width: 100%;
  min-height: 410px;
  transform-style: preserve-3d;
  transition: transform 0.82s cubic-bezier(.2,.78,.18,1);
}
.country-card--flip:hover .country-card__inner,
.country-card--flip:focus-visible .country-card__inner {
  transform: rotateY(180deg);
}
.country-card__face {
  position: absolute;
  inset: 0;
  display: block;
  overflow: hidden;
  border: 1px solid var(--c-cloud);
  border-radius: var(--r-lg);
  background: var(--c-white);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  box-shadow: 0 14px 34px -22px rgba(10,31,68,.36);
}
.country-card__front .country-card__media {
  display: block;
  height: 100%;
  aspect-ratio: auto;
}
.country-card__front .country-card__hero { transition: transform 1s var(--ease-out); }
.country-card--flip:hover .country-card__front .country-card__hero { transform: scale(1.08); }
.country-card__front .country-card__overlay {
  background: linear-gradient(180deg, rgba(10,31,68,.05), rgba(10,31,68,.44));
}
.country-card__back {
  transform: rotateY(180deg);
  color: white;
  background: linear-gradient(145deg, var(--c-navy-950), var(--c-navy-700) 68%, var(--c-teal-700));
  border-color: rgba(255,255,255,.12);
}
.country-card__back::after {
  content: '';
  position: absolute;
  inset: auto -70px -90px auto;
  width: 220px;
  height: 220px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 50%;
}
.country-card__back .country-card__chip { z-index: 2; }
.country-card__back-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 88px 28px 26px;
}
.country-card__kicker {
  color: var(--c-teal-300);
  font-size: .72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.country-card__back .country-card__name {
  position: static;
  margin: 8px 0 0;
  color: white;
  font-size: 2.15rem;
  text-shadow: none;
}
.country-card__divider {
  width: 44px;
  height: 3px;
  margin: 18px 0;
  border-radius: 3px;
  background: var(--c-teal-400);
}
.country-card__back .country-card__desc {
  color: rgba(255,255,255,.82);
  font-size: .92rem;
  line-height: 1.65;
}
.country-card__back .country-card__footer {
  margin-top: auto;
  border-top-color: rgba(255,255,255,.2);
}
.country-card__back .country-card__count { color: rgba(255,255,255,.88); }
.country-card__back .country-card__count strong { color: white; }
.country-card__back .country-card__arrow {
  color: white;
  background: var(--c-teal-500);
}
.country-card--flip:focus-visible { outline: 3px solid var(--c-teal-400); outline-offset: 5px; }

@media (hover: none), (max-width: 780px) {
  .country-card--flip { min-height: 0; perspective: none; background: white; }
  .country-card__inner { min-height: 0; transform: none !important; }
  .country-card__face { position: relative; inset: auto; border: 0; border-radius: 0; box-shadow: none; }
  .country-card__front { height: 220px; border-radius: var(--r-lg) var(--r-lg) 0 0; }
  .country-card__back { transform: none; border-radius: 0 0 var(--r-lg) var(--r-lg); }
  .country-card__back .country-card__chip { display: none; }
  .country-card__back-content { min-height: 250px; padding: 24px 22px 20px; }
  .country-card__back .country-card__name { font-size: 1.65rem; }
}

@media (prefers-reduced-motion: reduce) {
  .country-card__inner { transition: none; }
}
/* Schools directory: manual logo carousel and logo-rich category cards */
main .section .school-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); width: auto; gap: 14px; }
.school-carousel .school-grid { display: flex; width: max-content; gap: 16px; }
main .section .school-tile { flex: initial; min-height: 190px; }
.school-logo-visual { width: 100%; height: 64px; display: grid; place-items: center; margin-bottom: 16px; }
.school-logo-visual img { width: 100%; height: 100%; object-fit: contain; margin: 0; filter: none; }
.school-logo-visual--fallback { width: 58px; height: 58px; border-radius: 8px; color: white; background: var(--grad-brand); font-size: 1.05rem; font-weight: 800; }
.school-directory-carousel { padding: 34px 0 42px; background: white; border-block: 1px solid var(--c-cloud); }
.school-directory-carousel__head { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 18px; }
.school-directory-carousel__controls { display: flex; gap: 10px; }
.school-directory-carousel__viewport { overflow-x: auto; scroll-behavior: smooth; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 8px 2px 18px; }
.school-directory-carousel__viewport::-webkit-scrollbar { display: none; }
.school-directory-carousel__viewport:focus-visible { outline: 2px solid var(--c-teal-400); outline-offset: 4px; }
.school-directory-carousel__track { display: flex; width: max-content; gap: 14px; }
.school-directory-card { flex: 0 0 210px; min-height: 176px; scroll-snap-align: start; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 22px 16px; text-align: center; background: white; border: 1px solid var(--c-cloud); border-radius: var(--r-sm); transition: transform .3s var(--ease-out), border-color .3s var(--ease-out), box-shadow .3s var(--ease-out); }
.school-directory-card:hover { transform: translateY(-4px); border-color: var(--c-teal-300); box-shadow: 0 16px 32px -24px rgba(10,31,68,.5); }
.school-directory-card strong { font-size: .9rem; color: var(--c-ink); }
.school-directory-card > span:last-child { margin-top: 5px; color: var(--c-muted); font-size: .72rem; }
.school-logo-visual--large { height: 62px; }
@media (max-width: 680px) {
  main .section .school-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  main .section .school-tile { min-height: 172px; padding: 18px 12px; }
  .school-directory-card { flex-basis: 180px; }
}
/* Compact, refined school directory */
.school-directory-carousel { padding: 24px 0 28px; background: var(--c-off); }
.school-directory-carousel__head { margin-bottom: 10px; }
.school-directory-carousel__head .eyebrow { font-size: .7rem; }
.school-directory-carousel__controls { gap: 7px; }
.school-directory-carousel__controls .school-carousel__arrow { width: 36px; height: 36px; box-shadow: none; }
.school-directory-carousel__controls .school-carousel__arrow svg { width: 17px; height: 17px; }
.school-directory-carousel__viewport {
  position: relative;
  padding: 7px 2px 12px;
  mask-image: linear-gradient(90deg, transparent 0, #000 18px, #000 calc(100% - 18px), transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 18px, #000 calc(100% - 18px), transparent 100%);
}
.school-directory-carousel__track { gap: 10px; padding-inline: 18px; }
.school-directory-card {
  position: relative;
  flex-basis: 158px;
  min-height: 128px;
  padding: 15px 12px 13px;
  overflow: hidden;
  border-radius: 6px;
  border-color: #E2E7F0;
  box-shadow: 0 5px 16px -14px rgba(10,31,68,.6);
}
.school-directory-card::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--c-navy-700), var(--c-teal-500));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease-out);
}
.school-directory-card:hover { transform: translateY(-3px); box-shadow: 0 14px 26px -20px rgba(10,31,68,.5); }
.school-directory-card:hover::before { transform: scaleX(1); }
.school-directory-card .school-logo-visual { height: 44px; margin-bottom: 10px; }
.school-directory-card .school-logo-visual--fallback { width: 44px; height: 44px; font-size: .82rem; }
.school-directory-card strong { max-width: 100%; font-size: .76rem; line-height: 1.2; }
.school-directory-card > span:last-child { margin-top: 4px; font-size: .63rem; line-height: 1.25; }

main .section .school-grid { grid-template-columns: repeat(auto-fill, minmax(155px, 1fr)); gap: 10px; }
main .section .school-tile {
  position: relative;
  min-height: 154px;
  padding: 17px 13px 14px;
  overflow: hidden;
  border-radius: 6px;
}
main .section .school-tile::after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  height: 3px;
  background: var(--c-teal-500);
  transform: scaleX(0);
  transition: transform .3s var(--ease-out);
}
main .section .school-tile:hover::after { transform: scaleX(1); }
main .section .school-tile .school-logo-visual { height: 48px; margin-bottom: 11px; }
main .section .school-tile .school-logo-visual--fallback { width: 46px; height: 46px; font-size: .85rem; }
main .section .school-tile strong { font-size: .8rem; line-height: 1.2; }
main .section .school-tile > span:last-child { font-size: .66rem; line-height: 1.3; }
@media (max-width: 680px) {
  .school-directory-card { flex-basis: 142px; min-height: 122px; }
  main .section .school-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  main .section .school-tile { min-height: 145px; padding: 15px 10px 12px; }
}
/* Contact page: refined consultation window */
.contact-page { background: var(--c-off); }
.contact-hero {
  padding-bottom: 66px;
  background:
    linear-gradient(180deg, rgba(236,248,250,.92), rgba(255,255,255,.96)),
    var(--c-white);
}
.contact-hero .page-header__inner { max-width: 820px; }
.contact-hero h1 { max-width: 720px; }
.contact-section { padding-top: 0; margin-top: -24px; position: relative; z-index: 2; }
.contact-page .channels-grid {
  position: relative;
  z-index: 3;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 24px !important;
}
.contact-page .channel-card {
  min-width: 0;
  padding: 15px;
  gap: 11px;
  align-items: center;
  border-radius: 6px;
  border-color: #E1E7F0;
  box-shadow: 0 10px 22px -22px rgba(10,31,68,.7);
}
.contact-page .channel-card::after {
  content: '›';
  margin-left: auto;
  color: var(--c-line);
  font-size: 1.25rem;
  transition: transform .25s var(--ease), color .25s var(--ease);
}
.contact-page .channel-card:hover { transform: translateY(-2px); border-color: var(--c-teal-300); box-shadow: 0 14px 28px -22px rgba(10,31,68,.45); }
.contact-page .channel-card:hover::after { transform: translateX(3px); color: var(--c-teal-600); }
.contact-page .channel-card__icon { width: 38px; height: 38px; border-radius: 6px; background: var(--c-teal-50); color: var(--c-teal-700); }
.contact-page .channel-card strong { font-size: .78rem; }
.contact-page .channel-card span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .69rem; }

.contact-page .contact-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, .72fr) !important;
  gap: 0 !important;
  align-items: stretch !important;
  overflow: hidden;
  border: 1px solid #DEE5EF;
  border-radius: 8px;
  background: white;
  box-shadow: 0 28px 64px -44px rgba(10,31,68,.48);
}
.contact-window {
  position: relative;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  padding: 62px 42px 38px;
}
.contact-window::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 38px;
  background:
    radial-gradient(circle at 20px 19px, #FF6B6B 0 4px, transparent 4.5px),
    radial-gradient(circle at 38px 19px, #F4C95D 0 4px, transparent 4.5px),
    radial-gradient(circle at 56px 19px, #4DC2A1 0 4px, transparent 4.5px),
    #F5F7FA;
  border-bottom: 1px solid #E5E9F0;
}
.contact-window h2 { font-size: 1.45rem !important; color: var(--c-navy-900); }
.contact-window > p { max-width: 620px; font-size: .86rem; line-height: 1.6; }
.contact-window .form-grid { gap: 15px 16px; }
.contact-window .form-field { gap: 5px; }
.contact-window .form-field label { font-size: .72rem; color: var(--c-ink-2); }
.contact-window .input,
.contact-window .select,
.contact-window .textarea {
  min-height: 46px;
  padding: 11px 13px;
  border: 1px solid #DCE3ED;
  border-radius: 6px;
  background: #FCFDFE;
  font-size: .83rem;
  box-shadow: inset 0 1px 2px rgba(10,31,68,.025);
}
.contact-window .textarea { min-height: 118px; }
.contact-window .input:hover,
.contact-window .select:hover,
.contact-window .textarea:hover { border-color: #BFCBDD; }
.contact-window .input:focus,
.contact-window .select:focus,
.contact-window .textarea:focus { background: white; border-color: var(--c-teal-500); box-shadow: 0 0 0 3px rgba(31,177,188,.11); }
.contact-window .check-row { padding: 10px 12px; border-radius: 6px; background: var(--c-teal-50); }
.contact-window .check-row label { font-size: .68rem; line-height: 1.45; }
.contact-window .form-actions { margin-top: 20px; }
.contact-window .form-actions .btn { min-width: 210px; border-radius: 6px; }

.contact-office { display: flex; }
.contact-office > div {
  position: relative;
  width: 100%;
  border-radius: 0 !important;
  padding: 64px 30px 34px !important;
  background: linear-gradient(155deg, var(--c-navy-950), var(--c-navy-800) 68%, var(--c-teal-700)) !important;
  overflow: hidden;
}
.contact-office > div::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--grad-teal);
}
.contact-office > div::after {
  content: '';
  position: absolute;
  width: 180px; height: 180px;
  right: -100px; bottom: -100px;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 50%;
}
.contact-office h3 { font-size: 1.08rem !important; }
.contact-office .btn { position: relative; z-index: 1; border-radius: 6px; }

@media (max-width: 980px) {
  .contact-page .channels-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-page .contact-grid { grid-template-columns: 1fr !important; }
  .contact-window { padding: 58px 28px 30px; }
  .contact-office > div { padding: 30px 28px !important; }
}
@media (max-width: 560px) {
  .contact-hero { padding-bottom: 46px; }
  .contact-section { margin-top: -14px; }
  .contact-page .channels-grid { grid-template-columns: 1fr; }
  .contact-window { padding: 56px 18px 24px; }
  .contact-window .form-grid { grid-template-columns: 1fr; }
  .contact-window .form-actions .btn { width: 100%; min-width: 0; }
}
/* Eligibility: structured application window */
.eligibility-page { background: var(--c-off); }
.eligibility-hero { padding-bottom: 76px; background: linear-gradient(180deg, var(--c-teal-50), rgba(255,255,255,.98)); }
.eligibility-hero .page-header__inner { max-width: 860px; }
.eligibility-section { position: relative; z-index: 2; margin-top: -38px; padding: 0 0 84px; }
.eligibility-container { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.eligibility-progress { display: grid; grid-template-columns: auto 1fr auto 1fr auto 1fr auto; align-items: center; gap: 12px; margin: 0 auto 16px; padding: 14px 18px; border: 1px solid var(--c-cloud); border-radius: 7px; background: rgba(255,255,255,.96); box-shadow: 0 12px 30px -28px rgba(10,31,68,.6); }
.eligibility-progress span { display: flex; align-items: center; gap: 8px; color: var(--c-muted); font-size: .7rem; font-weight: 700; white-space: nowrap; }
.eligibility-progress b { width: 25px; height: 25px; display: grid; place-items: center; border-radius: 50%; background: var(--c-mist); color: var(--c-muted); font-size: .68rem; }
.eligibility-progress span.is-active { color: var(--c-navy-900); }
.eligibility-progress span.is-active b { color: white; background: var(--c-teal-600); }
.eligibility-progress i { height: 1px; background: var(--c-cloud); }
.eligibility-window { position: relative; overflow: hidden; padding: 0; border: 1px solid #DDE4EE; border-radius: 8px; box-shadow: 0 30px 70px -48px rgba(10,31,68,.52); }
.eligibility-window::before { content: ''; display: block; height: 5px; background: linear-gradient(90deg, var(--c-navy-800), var(--c-teal-500)); }
.eligibility-context { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; padding: 0; background: var(--c-cloud); border-bottom: 1px solid var(--c-cloud); }
.eligibility-context[hidden] { display: none; }
.eligibility-context span { min-width: 0; padding: 15px 20px; background: var(--c-off); }
.eligibility-context small { display: block; margin-bottom: 3px; color: var(--c-muted); font-size: .62rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.eligibility-context strong { display: block; overflow: hidden; color: var(--c-ink); font-size: .78rem; text-overflow: ellipsis; white-space: nowrap; }
.eligibility-window form { padding: 34px 38px 38px; }
.eligibility-title { display: flex; align-items: center; gap: 11px; margin: 0 0 7px !important; font-size: 1.25rem !important; color: var(--c-navy-900); }
.eligibility-title > span, .eligibility-subhead > span { width: 32px; height: 32px; display: grid; place-items: center; flex-shrink: 0; border-radius: 6px; color: white; background: var(--c-navy-900); font-size: .68rem; font-weight: 800; }
.eligibility-window .form-grid { gap: 14px 16px; }
.eligibility-window .form-field { gap: 5px; }
.eligibility-window .form-field label { font-size: .72rem; }
.eligibility-window .input, .eligibility-window .select, .eligibility-window .textarea { min-height: 45px; padding: 10px 13px; border: 1px solid #DCE3ED; border-radius: 6px; background: #FCFDFE; font-size: .82rem; }
.eligibility-window .input:focus, .eligibility-window .select:focus, .eligibility-window .textarea:focus { background: white; border-color: var(--c-teal-500); box-shadow: 0 0 0 3px rgba(31,177,188,.11); }
.eligibility-window .hint { font-size: .65rem; }
.eligibility-subhead { grid-column: 1 / -1; display: flex; align-items: center; gap: 11px; margin: 22px -38px 2px; padding: 20px 38px 14px; border-top: 1px solid var(--c-cloud); }
.eligibility-subhead strong { display: block; color: var(--c-navy-900); font-size: 1rem; }
.eligibility-subhead small { display: block; margin-top: 2px; color: var(--c-muted); font-size: .67rem; }
.eligibility-window .divider-line { margin: 30px -38px 26px; background: var(--c-cloud); }
.eligibility-title--documents > span { background: var(--c-teal-600); }
.eligibility-window .upload-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.eligibility-window .upload-tile { min-height: 92px; padding: 14px; gap: 11px; border-width: 1px; border-radius: 6px; background: #FCFDFE; }
.eligibility-window .upload-tile:hover { transform: translateY(-2px); border-color: var(--c-teal-500); background: var(--c-teal-50); }
.eligibility-window .upload-tile__icon { width: 38px; height: 38px; border-radius: 6px; font-size: 1rem; }
.eligibility-window .upload-tile__txt strong { font-size: .74rem; }
.eligibility-window .upload-tile__txt span { font-size: .65rem; }
.eligibility-window .upload-tile__opt { display: inline-block; margin: 4px 0 0; }
.eligibility-window .check-row { padding: 11px 13px; margin-top: 8px !important; border-radius: 6px; background: var(--c-off); }
.eligibility-window .check-row label { font-size: .7rem; }
.eligibility-window .form-actions { position: sticky; bottom: 0; z-index: 3; margin: 22px -38px -38px; padding: 16px 38px; background: rgba(255,255,255,.96); backdrop-filter: blur(12px); }
.eligibility-window .form-actions .btn { border-radius: 6px; }
@media (max-width: 820px) {
  .eligibility-progress { grid-template-columns: repeat(4, 1fr); gap: 5px; }
  .eligibility-progress i { display: none; }
  .eligibility-progress span { justify-content: center; font-size: .62rem; }
  .eligibility-context { grid-template-columns: 1fr; }
  .eligibility-window form { padding: 28px 22px 30px; }
  .eligibility-subhead { margin-inline: -22px; padding-inline: 22px; }
  .eligibility-window .divider-line { margin-inline: -22px; }
  .eligibility-window .upload-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .eligibility-window .form-actions { margin: 20px -22px -30px; padding: 15px 22px; }
}
@media (max-width: 560px) {
  .eligibility-container { padding-inline: 14px; }
  .eligibility-progress span { flex-direction: column; gap: 4px; text-align: center; }
  .eligibility-window .upload-grid { grid-template-columns: 1fr; }
  .eligibility-window .form-actions { flex-direction: column-reverse; }
  .eligibility-window .form-actions .btn { width: 100%; }
}
/* Eligibility progressive wizard */
.eligibility-window form.is-enhanced { padding: 0; }
.eligibility-step-panel { min-height: 520px; padding: 36px 40px 40px; animation: eligibility-panel-in .42s var(--ease-out); }
@keyframes eligibility-panel-in { from { opacity: 0; transform: translateX(18px); } to { opacity: 1; transform: translateX(0); } }
.eligibility-step-panel[hidden] { display: none; }
.eligibility-step-header { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 28px; padding-bottom: 20px; border-bottom: 1px solid var(--c-cloud); }
.eligibility-step-header > span { width: 38px; height: 38px; display: grid; place-items: center; flex-shrink: 0; border-radius: 7px; color: white; background: linear-gradient(145deg, var(--c-navy-900), var(--c-teal-600)); font-size: .72rem; font-weight: 800; }
.eligibility-step-header h2 { margin: 0 0 5px; color: var(--c-navy-900); font-size: 1.35rem; }
.eligibility-step-header p { max-width: 650px; color: var(--c-muted); font-size: .78rem; line-height: 1.5; }
.eligibility-step-grid { align-content: start; }
.eligibility-step-grid .eligibility-subhead { display: none; }
.eligibility-step-panel .upload-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.eligibility-review { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-bottom: 24px; }
.eligibility-review > div { min-width: 0; padding: 14px 15px; border: 1px solid var(--c-cloud); border-radius: 6px; background: var(--c-off); }
.eligibility-review span { display: block; margin-bottom: 4px; color: var(--c-muted); font-size: .62rem; font-weight: 700; text-transform: uppercase; }
.eligibility-review strong { display: block; overflow: hidden; color: var(--c-ink); font-size: .78rem; text-overflow: ellipsis; white-space: nowrap; }
.eligibility-wizard-nav { min-height: 74px; display: flex; align-items: center; justify-content: flex-end; gap: 10px; padding: 14px 40px; border-top: 1px solid var(--c-cloud); background: #FAFBFD; }
.eligibility-wizard-nav > a:first-child { margin-right: auto; }
.eligibility-wizard-nav .btn { border-radius: 6px; }
.eligibility-progress span.is-done { color: var(--c-teal-700); }
.eligibility-progress span.is-done b { color: white; background: var(--c-teal-600); }
.eligibility-progress span.is-done b::before { content: '✓'; }
.eligibility-progress span.is-done b { font-size: 0; }
@media (max-width: 820px) {
  .eligibility-step-panel { min-height: 0; padding: 28px 22px 30px; }
  .eligibility-step-panel .upload-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .eligibility-wizard-nav { padding: 14px 22px; }
}
@media (max-width: 560px) {
  .eligibility-step-panel .upload-grid, .eligibility-review { grid-template-columns: 1fr; }
  .eligibility-wizard-nav { flex-wrap: wrap; }
  .eligibility-wizard-nav .btn { flex: 1; min-width: 130px; }
}
@media (prefers-reduced-motion: reduce) { .eligibility-step-panel { animation: none; } }
/* Eligibility wizard aligned with the Trouver une formation experience */
.eligibility-page .eligibility-progress.stepper { display: flex; grid-template-columns: none; margin-bottom: 22px; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.eligibility-page .eligibility-progress .stepper__step { padding: 7px 13px 7px 7px; font-size: .76rem; }
.eligibility-page .eligibility-progress .stepper__num { width: 25px; height: 25px; font-size: .7rem; }
.eligibility-page .eligibility-progress .stepper__sep { display: block; flex: 0 0 24px; }
.eligibility-page .eligibility-progress .stepper__step.is-active { color: white; background: var(--c-navy-900); border-color: var(--c-navy-900); }
.eligibility-page .eligibility-progress .stepper__step.is-done { color: var(--c-teal-700); background: var(--c-teal-50); border-color: var(--c-teal-300); }
.eligibility-window.wizard { padding: 0; border-radius: var(--r-xl); }
.eligibility-window .wizard__progress { display: block; height: 5px; }
.eligibility-window .wizard__progress-bar { background: var(--grad-teal); }
.eligibility-window .wizard__step { padding: 36px 40px 40px; }
.eligibility-window .wizard__nav { margin: 0; padding: 18px 40px; }
@media (max-width: 700px) {
  .eligibility-page .eligibility-progress.stepper { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
  .eligibility-page .eligibility-progress .stepper__sep { display: none; }
  .eligibility-page .eligibility-progress .stepper__step { justify-content: center; padding: 6px; }
  .eligibility-page .eligibility-progress .stepper__step > span:last-child { display: none; }
  .eligibility-window .wizard__step { padding: 28px 22px 30px; }
  .eligibility-window .wizard__nav { padding: 14px 22px; }
}
/* Exact layout alignment with recherche.html */
.eligibility-page { background: var(--c-white); }
.eligibility-page .eligibility-hero { padding-bottom: 72px; background: var(--grad-soft); }
.eligibility-page .eligibility-section { margin-top: 0; padding: 72px 0 96px; }
.eligibility-page .eligibility-container { max-width: var(--container); padding: 0 24px; }
.eligibility-page .eligibility-progress.stepper { max-width: 880px; margin: 0 auto 36px; }
.eligibility-page .eligibility-window.wizard { max-width: 100%; margin: 0 auto; border: 1px solid var(--c-cloud); border-radius: var(--r-xl); box-shadow: var(--sh-lg); }
.eligibility-page .eligibility-window::before { display: none; }
.eligibility-page .eligibility-window .wizard__progress { height: 4px; background: var(--c-cloud); }
.eligibility-page .eligibility-window .wizard__step { min-height: 540px; padding: 40px; }
.eligibility-page .eligibility-step-header { margin-bottom: 28px; padding-bottom: 0; border-bottom: 0; }
.eligibility-page .eligibility-step-header > span { display: none; }
.eligibility-page .eligibility-step-header h2 { font-size: 1.6rem; }
.eligibility-page .eligibility-step-header p { font-size: .88rem; }
.eligibility-page .eligibility-window .wizard__nav { padding: 20px 40px; background: var(--c-off); }
@media (max-width: 700px) {
  .eligibility-page .eligibility-section { padding: 48px 0 72px; }
  .eligibility-page .eligibility-window .wizard__step { min-height: 0; padding: 28px 24px; }
  .eligibility-page .eligibility-window .wizard__nav { padding: 16px 24px; }
}
/* Recherche wizard: compact, refined navigation */
.search-page .wizard__nav--refined {
  min-height: 68px;
  padding: 13px 24px;
  background: white;
  border-top: 1px solid var(--c-cloud);
}
.search-page .wizard__nav--refined .btn {
  min-height: 40px;
  padding: 8px 10px 8px 14px;
  gap: 9px;
  border-radius: 6px;
  font-size: .78rem;
  font-weight: 700;
  box-shadow: none;
}
.search-page .wizard__nav--refined .btn--ghost {
  padding: 8px 14px 8px 10px;
  color: var(--c-muted);
  border: 1px solid transparent;
}
.search-page .wizard__nav--refined .btn--ghost:hover {
  color: var(--c-navy-900);
  border-color: var(--c-cloud);
  background: var(--c-off);
}
.search-page .wizard-nav__icon {
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.14);
  transition: transform .25s var(--ease-out), background .25s var(--ease-out);
}
.search-page .btn--ghost .wizard-nav__icon { background: var(--c-mist); }
.search-page .wizard-nav__icon svg {
  width: 14px !important;
  height: 14px !important;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transform: none !important;
}
.search-page .wizard__nav--refined .btn:hover .wizard-nav__icon { transform: translateX(2px); }
.search-page .wizard__nav--refined .btn--ghost:hover .wizard-nav__icon { transform: translateX(-2px); }
@media (max-width: 700px) {
  .search-page .wizard__nav--refined { flex-direction: row; padding: 12px 14px; }
  .search-page .wizard__nav--refined .btn { width: auto; flex: 1; justify-content: center; }
}
/* Homepage schools: automatic, logo-only floating ribbon */
.home-logo-flow {
  padding: 30px 0 34px;
  background: #fff;
  border-block: 1px solid var(--c-cloud);
  overflow: hidden;
}
.home-logo-flow .logo-marquee__head { margin-bottom: 20px; }
.home-logo-flow .logo-marquee__label { color: var(--c-navy-700); font-size: .72rem; letter-spacing: .08em; }
.home-logo-flow .logo-marquee__row { padding: 10px 0; }
.home-logo-flow .logo-marquee__track { gap: 22px; animation-duration: 42s; will-change: transform; }
.home-logo-flow .logo-marquee__item {
  width: 148px;
  height: 78px;
  padding: 12px 18px;
  background: #fff;
  border: 1px solid #E4EAF1;
  border-radius: 7px;
  box-shadow: 0 10px 26px -22px rgba(10,31,68,.45);
  filter: none;
  opacity: 1;
  animation: home-logo-float 4.2s ease-in-out infinite;
}
.home-logo-flow .logo-marquee__item:nth-child(3n + 2) { animation-delay: -1.4s; }
.home-logo-flow .logo-marquee__item:nth-child(3n) { animation-delay: -2.8s; }
.home-logo-flow .logo-marquee__item img { max-width: 112px; max-height: 48px; }
.home-logo-flow .logo-marquee__item:hover { transform: translateY(-4px) scale(1.035); box-shadow: 0 16px 30px -22px rgba(10,31,68,.55); }
@keyframes home-logo-float {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -4px; }
}
@media (max-width: 680px) {
  .home-logo-flow { padding: 24px 0 28px; }
  .home-logo-flow .logo-marquee__track { gap: 14px; animation-duration: 34s; }
  .home-logo-flow .logo-marquee__item { width: 124px; height: 66px; padding: 10px 14px; }
  .home-logo-flow .logo-marquee__item img { max-width: 96px; max-height: 40px; }
  .home-logo-flow .logo-marquee__row::before,
  .home-logo-flow .logo-marquee__row::after { width: 42px; }
}
@media (prefers-reduced-motion: reduce) {
  .home-logo-flow .logo-marquee__track,
  .home-logo-flow .logo-marquee__item { animation-play-state: paused; }
}
/* Homepage destination titles stay legible over photography */
.dest-grid .dest-card .dest-card__name,
.dest-grid .dest-card:hover .dest-card__name,
.dest-grid .dest-card:focus-visible .dest-card__name {
  color: #fff !important;
  text-shadow: 0 2px 14px rgba(4, 15, 34, .42);
}
/* ============================================================================
   PLANETA integration — badges bourse / online / english + prix barré (2026-07-20)
   ============================================================================ */
.fc-v3__badges {
  display: flex; flex-wrap: wrap; gap: 6px;
  margin: 10px 0 4px;
}
.fc-v3__badge {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.02em;
  padding: 4px 9px; border-radius: 999px;
  line-height: 1;
  border: 1px solid transparent;
}
.fc-v3__badge svg { flex-shrink: 0; }
.fc-v3__badge--scholarship {
  background: linear-gradient(135deg, #FFF5D6 0%, #FFEAB0 100%);
  color: #7A5A00;
  border-color: #F0D48A;
  box-shadow: 0 2px 6px -2px rgba(240, 190, 60, 0.35);
}
.fc-v3__badge--fullpay {
  background: #EBF9F1;
  color: #1A6B47;
  border-color: #B7E4C7;
}
.fc-v3__badge--online {
  background: #EEF0FF;
  color: #3B4AC6;
  border-color: #C8CFF7;
}
.fc-v3__badge--hybrid {
  background: #FFF3E6;
  color: #B85818;
  border-color: #FFD6B8;
}
.fc-v3__badge--english {
  background: #E9F1FF;
  color: #1E4CA0;
  border-color: #B7CDF2;
}

/* Prix : final en gras, tarif initial barré à côté */
.fc-v3__meta-item--price strong { line-height: 1.15; }
.fc-v3__price-final {
  color: var(--c-teal-600, #1FB1BC);
  font-weight: 800;
  font-size: 1.02em;
}
.fc-v3__price-old {
  color: var(--c-muted, #64748b);
  font-weight: 500;
  font-size: 0.82em;
  text-decoration: line-through;
  margin-left: 4px;
  white-space: nowrap;
}

/* ============================================================================
   PLANETA — ventilation tarifaire dans le modal fiche formation (2026-07-20)
   ============================================================================ */
.det-block--price {
  background: linear-gradient(135deg, #FFFDF5 0%, #FFF7E0 100%);
  border-left: 3px solid #E5B84A;
  padding: 20px 22px;
  border-radius: var(--r-md);
  margin-top: 22px;
}
.det-block--price .det-block__title {
  color: #7A5A00;
  margin-bottom: 12px;
}
.det-price {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}
.det-price td {
  padding: 10px 4px;
  border-bottom: 1px dashed rgba(0,0,0,0.08);
  vertical-align: top;
}
.det-price td:last-child { text-align: right; white-space: nowrap; }
.det-price em { font-style: italic; }
.det-price__val { font-family: var(--font-display); font-weight: 600; color: var(--c-ink); }
.det-price__val--neg { color: #1FB1BC; font-weight: 700; }
.det-price__val--savings { color: #B85818; font-weight: 800; font-size: 1.06em; }
.det-price__discount td { color: var(--c-ink-2); }
.det-price__subtotal td { font-weight: 700; background: rgba(255,255,255,0.5); border-bottom-color: rgba(0,0,0,0.15); }
.det-price__final td { font-weight: 800; font-size: 1.08em; padding-top: 14px; padding-bottom: 14px; background: #FFEFC7; border-bottom-color: transparent; }
.det-price__final .det-price__val { color: var(--c-teal-600, #1FB1BC); font-size: 1.14em; }
.det-price__savings td { padding-top: 14px; border-bottom: none; }
.det-price__note {
  font-size: 0.85rem; color: var(--c-muted, #64748b);
  margin: 10px 0 0; line-height: 1.5;
  padding: 8px 12px; background: rgba(255,255,255,0.5); border-radius: 6px;
}

/* ============================================================================
   Filtres Bourses / Early Bird — styles utilitaires (2026-07-20)
   ============================================================================ */
.filter-panel__hint {
  font-size: 0.82rem;
  color: var(--c-muted, #64748b);
  line-height: 1.5;
  margin: 4px 0 12px;
}
.filter-panel__sep {
  height: 1px;
  background: var(--c-cloud, #E5E9F0);
  margin: 14px 0 12px;
}
.f-check-line {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 6px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.92rem;
  color: var(--c-ink-2);
  transition: background 0.15s;
}
.f-check-line:hover { background: var(--c-blue-50, #EEF2FA); }
.f-check-line input[type="checkbox"] { margin-top: 3px; flex-shrink: 0; accent-color: var(--c-teal-500, #1FB1BC); }
.f-check-line strong { color: var(--c-ink); font-weight: 700; }

/* Badge "pays d'origine" pour les formations en ligne (2026-07-20) */
.fc-v3__badge--origin {
  background: #F4F5F7;
  color: var(--c-ink-2, #33425b);
  border-color: var(--c-cloud, #E5E9F0);
  gap: 4px;
}

/* ============================================================================
   Écoles partenaires — logo avec fallback initials en fond (2026-07-20)
   ============================================================================ */
.school-logo-visual { position: relative; }
.school-logo-visual__initials {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--c-navy-900, #0A1F44);
  background: var(--c-mist, #F2F5FA);
  border-radius: 8px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  z-index: 1;
}
.school-logo-visual__img {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: white;
  border-radius: 8px;
}
/* Fallback-only (no image): remove absolute so initials fill the visible box */
.school-logo-visual--fallback .school-logo-visual__initials {
  position: static;
  color: white;
  background: var(--grad-brand);
}
