/*
Theme Name: Rush School
Theme URI: https://rush-school.com
Author: Rush School
Description: Thème officiel Rush School — Àcole de Commerce et de Management
Version: 3.1.0
Text Domain: rush-school
*/

/* ============================================================
   FONTS
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800;900&display=swap');

/* ============================================================
   CSS VARIABLES — Rush Design System
   ============================================================ */
:root {
  --rush-primary: #A89FE5;
  --rush-deep: #8E83DF;
  --rush-light: #C3B7EE;
  --rush-iris: #CFE8FF;
  --rush-mist: #F4F3F8;
  --rush-graphite: #2B2B35;
  --rush-night: #151520;

  --gradient-rush: linear-gradient(135deg, #A89FE5 0%, #8E83DF 100%);
  --gradient-rush-soft: linear-gradient(135deg, #C3B7EE 0%, #CFE8FF 100%);
  --gradient-hero: linear-gradient(135deg, #11111c 0%, #1e1933 50%, #171525 100%);

  --shadow-soft: 0 8px 30px -10px rgba(142, 131, 223, 0.25);
  --shadow-glow: 0 20px 60px -20px rgba(142, 131, 223, 0.45);
  --shadow-card: 0 4px 20px -8px rgba(43, 43, 53, 0.08);

  --radius: 1rem;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Montserrat', system-ui, -apple-system, sans-serif;
  background: #ffffff;
  color: var(--rush-graphite);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  letter-spacing: -0.025em;
  line-height: 1.1;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

.container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ============================================================
   UTILITY CLASSES
   ============================================================ */
.gradient-rush { background: var(--gradient-rush); }
.gradient-rush-soft { background: var(--gradient-rush-soft); }
.gradient-hero { background: var(--gradient-hero); }

.text-gradient-rush {
  background: var(--gradient-rush);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.shadow-soft { box-shadow: var(--shadow-soft); }
.shadow-glow { box-shadow: var(--shadow-glow); }
.shadow-card { box-shadow: var(--shadow-card); }
.rounded-3xl { border-radius: 1.5rem; }

.glow-orb {
  background: radial-gradient(circle at 30% 20%, rgba(142, 131, 223, 0.35), transparent 60%);
  filter: blur(60px);
  position: absolute;
  border-radius: 9999px;
  pointer-events: none;
}

.bg-rush-night { background-color: var(--rush-night); }
.bg-rush-mist { background-color: var(--rush-mist); }
.text-rush-light { color: var(--rush-light); }
.text-rush-primary { color: var(--rush-primary); }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-rush {
  background: var(--gradient-rush);
  color: #fff;
  padding: 0.875rem 2rem;
  border-radius: 9999px;
  font-size: 0.875rem;
}
.btn-rush:hover { opacity: 0.9; transform: translateY(-1px); box-shadow: var(--shadow-glow); }

.btn-rush-outline {
  background: transparent;
  color: var(--rush-deep);
  padding: 0.875rem 2rem;
  border-radius: 9999px;
  border: 2px solid var(--rush-deep);
  font-size: 0.875rem;
}
.btn-rush-outline:hover { background: var(--rush-deep); color: #fff; }

.btn-rush-light {
  background: rgba(255,255,255,0.2);
  backdrop-filter: blur(8px);
  color: #fff;
  padding: 0.875rem 2rem;
  border-radius: 9999px;
  border: 1px solid rgba(255,255,255,0.3);
  font-size: 0.875rem;
}
.btn-rush-light:hover { background: rgba(255,255,255,0.3); }

.btn-lg { padding: 1rem 2.5rem; font-size: 1rem; }
.btn-xl { padding: 1.25rem 3rem; font-size: 1rem; }
.btn-sm { padding: 0.625rem 1.25rem; font-size: 0.75rem; }

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.animate-marquee { animation: marquee 30s linear infinite; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
.animate-float { animation: float 6s ease-in-out infinite; }

@keyframes fade-up {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.animate-fade-up { animation: fade-up 0.7s ease-out both; }

@keyframes hero-reveal {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}
.animate-hero-reveal { animation: hero-reveal 1s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both; }

@keyframes ken-burns {
  0%   { transform: scale(1.08) translate3d(0, 0, 0); }
  50%  { transform: scale(1.18) translate3d(-2%, -1.2%, 0); }
  100% { transform: scale(1.08) translate3d(0, 0, 0); }
}

/* ============================================================
   HERO SLIDESHOW
   ============================================================ */
.hero-slide {
  position: absolute;
  inset: 0;
  overflow: hidden;
  opacity: 0;
  transition: opacity 1200ms cubic-bezier(0.4, 0, 0.2, 1);
  will-change: opacity;
}
.hero-slide.is-active { opacity: 1; z-index: 2; }
.hero-slide.is-prev { opacity: 1; z-index: 1; }
.hero-slide img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  animation: ken-burns 22s ease-in-out infinite;
  will-change: transform;
  opacity: 0.85;
}

/* grain overlay */
.hero-grain {
  position: absolute; inset: 0;
  pointer-events: none; opacity: 0.06;
  mix-blend-mode: overlay; z-index: 3;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.6 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

/* ============================================================
   HEADER
   ============================================================ */
.rush-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 1rem;
}



.header-inner {
  max-width: 1600px;
  margin: 0 auto;
}

.header-bar {
  display: flex;
  align-items: stretch;
  height: 4rem;
  background: var(--rush-night);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}



.header-logo {
  display: flex;
  align-items: center;
  background: #fff;
  padding: 0 1.25rem;
  flex-shrink: 0;
  transition: background 0.2s;
}
.header-logo:hover { background: var(--rush-mist); }
.header-logo img { height: 2rem; width: auto; }



.header-nav {
  display: none;
  align-items: center;
  flex: 1;
  padding: 0 1.5rem;
}



.header-nav ul {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  width: 100%;
}

.header-nav a {
  padding: 0.5rem 0.75rem;
  font-size: 0.8125rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #fff;
  transition: color 0.2s;
  white-space: nowrap;
}
.header-nav a:hover { color: var(--rush-light); }
.header-nav .current-menu-item a,
.header-nav a.current { color: var(--rush-light); }
/* .header-nav-lang — supprimé (bouton FR retiré) */

.header-burger {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--rush-graphite);
  width: 4rem;
  flex-shrink: 0;
  cursor: pointer;
  border: none;
  transition: background 0.2s;
}
.header-burger:hover { background: rgba(0,0,0,0.4); }
.burger-line {
  display: block; height: 3px; width: 1.75rem;
  background: #fff; border-radius: 9999px;
  transition: transform 0.2s;
}
.burger-line-top { transform-origin: center; }
.burger-line-bottom { transform-origin: center; }
.header-burger:hover .burger-line-top { transform: translateX(0.125rem); }
.header-burger:hover .burger-line-bottom { transform: translateX(-0.125rem); }
.burger-lines { display: flex; flex-direction: column; gap: 5px; }



.header-cta {
  display: flex;  /* visible dès mobile */
  align-items: center;
  justify-content: center;
  background: var(--gradient-rush);
  color: #fff;
  padding: 0 0.875rem;
  font-weight: 800;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  flex-shrink: 0;
  transition: opacity 0.2s;
}
.header-cta:hover { opacity: 0.9; color: #fff; }



/* Mega menu */
.mega-menu {
  position: fixed;
  inset: 0;
  z-index: 60;
  visibility: hidden;
  opacity: 0;
  background: var(--rush-night);
  transition: opacity 0.4s, visibility 0.4s;
  overflow-y: auto;
}
.mega-menu.is-open { visibility: visible; opacity: 1; }

.mega-menu-bg {
  position: absolute;
  inset: 0;
  background: var(--rush-night);
  transform: translateY(-100%);
  transition: transform 0.7s cubic-bezier(0.83,0,0.17,1);
}
.mega-menu.is-open .mega-menu-bg { transform: translateY(0); }

.mega-menu-inner {
  position: relative;
  padding: 2rem 1.5rem 4rem;
  max-width: 1400px;
  margin: 0 auto;
}

.mega-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4rem;
}
.mega-menu-logo { background: #fff; border-radius: 1rem; padding: 0.75rem 1.25rem; }
.mega-menu-logo img { height: 2.25rem; width: auto; }

.mega-menu-close {
  display: flex; align-items: center; justify-content: center;
  width: 3.5rem; height: 3.5rem;
  border-radius: 1rem;
  background: rgba(255,255,255,0.1);
  color: #fff; border: none; cursor: pointer;
  transition: background 0.2s;
}
.mega-menu-close:hover { background: rgba(255,255,255,0.2); }
.mega-menu-close svg { width: 1.5rem; height: 1.5rem; }

.mega-menu-nav {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem 3rem;
  max-width: 64rem;
}



.mega-menu-link {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding-bottom: 1rem;
  text-decoration: none;
  transition: color 0.2s;
}
.mega-menu-link:hover { color: var(--rush-light); }
.mega-menu-link .num {
  color: rgba(195,183,238,0.6);
  font-size: 0.875rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.mega-menu-link .label {
  font-size: 1.75rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  display: flex;
  align-items: center;
  gap: 1rem;
}



.mega-menu-link .label::after {
  content: "—";
  display: inline-block;
  opacity: 0;
  transform: translateX(-1rem);
  transition: all 0.2s;
}
.mega-menu-link:hover .label::after {
  opacity: 1;
  transform: translateX(0);
}

.mega-menu-info {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 4rem;
  color: rgba(255,255,255,0.7);
  font-size: 0.875rem;
  max-width: 48rem;
}


.mega-menu-info-label {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--rush-light);
  margin-bottom: 0.5rem;
}

@keyframes fade-up {
  from { opacity: 0; transform: translateY(1rem); }
  to { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   MARQUEE BANNER
   ============================================================ */
.rush-banner {
  background: var(--rush-night);
  color: #fff;
  border-top: 1px solid rgba(255,255,255,0.1);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.rush-banner .container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.rush-banner-content {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.875rem;
}

.rush-banner-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  background: rgba(195, 183, 238, 0.15);
  color: var(--rush-light);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  white-space: nowrap;
}

.rush-banner-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.25rem;
  border-radius: 9999px;
  background: var(--gradient-rush);
  color: #fff;
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
  flex-shrink: 0;
  transition: opacity 0.2s;
}
.rush-banner-cta:hover { opacity: 0.9; color: #fff; }

/* ============================================================
   HERO SECTION
   ============================================================ */
.rush-hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  background: var(--rush-night);
  display: flex;
  align-items: center;
}

.hero-stage {
  position: absolute;
  inset: 0;
}

.hero-overlay-lr {
  position: absolute; inset: 0; z-index: 3;
  background: linear-gradient(to right, #151520 0%, rgba(21,21,32,0.85) 50%, rgba(21,21,32,0.3) 100%);
}
.hero-overlay-tb {
  position: absolute; inset: 0; z-index: 3;
  background: linear-gradient(to bottom, rgba(21,21,32,0.4) 0%, transparent 50%, #151520 100%);
}

.hero-glow-1 {
  position: absolute;
  top: 25%; left: -5rem;
  width: 25rem; height: 25rem;
  background: radial-gradient(circle, rgba(142,131,223,0.35), transparent 60%);
  filter: blur(60px);
  z-index: 4;
  pointer-events: none;
}
.hero-glow-2 {
  position: absolute;
  bottom: 25%; right: 25%;
  width: 18rem; height: 18rem;
  background: radial-gradient(circle, rgba(142,131,223,0.25), transparent 60%);
  filter: blur(60px);
  z-index: 4;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 5;
  width: 100%;
  padding: 10rem 0 5rem;
}

.hero-eyebrow-1 {
  color: rgba(255,255,255,0.9);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  font-size: 0.75rem;
  margin-bottom: 2rem;
}
.hero-eyebrow-2 {
  color: var(--rush-light);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.75rem;
  margin-bottom: 1.5rem;
}

.hero-title {
  color: #fff;
  font-weight: 900;
  line-height: 0.95;
  font-size: clamp(3rem, 8vw, 6rem);
  margin-bottom: 2rem;
}

.hero-desc {
  color: rgba(255,255,255,0.8);
  font-size: 1.125rem;
  max-width: 36rem;
  line-height: 1.6;
  margin-bottom: 2.5rem;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
}

/* Slide indicators */
.hero-dots {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  z-index: 10;
}
.hero-dot {
  height: 4px;
  border-radius: 9999px;
  background: rgba(255,255,255,0.3);
  width: 1rem;
  border: none;
  cursor: pointer;
  transition: all 0.5s;
  padding: 0;
}
.hero-dot.is-active {
  width: 2.5rem;
  background: var(--rush-light);
}

/* ============================================================
   FEATURES SECTION
   ============================================================ */
.rush-features {
  padding: 6rem 0 8rem;
  background: var(--rush-mist);
}

.section-eyebrow {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--rush-deep);
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 900;
  margin-bottom: 1.5rem;
  color: var(--rush-graphite);
}

.section-desc {
  font-size: 1.125rem;
  color: #6b6b80;
  line-height: 1.7;
}

.section-header-center { text-align: center; max-width: 40rem; margin: 0 auto 4rem; }
.section-header-left { max-width: 40rem; margin-bottom: 4rem; }

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

.feature-card {
  background: #fff;
  border-radius: 1.5rem;
  padding: 2rem;
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.3s;
}
.feature-card:hover { box-shadow: var(--shadow-glow); }

.feature-icon {
  width: 3.5rem; height: 3.5rem;
  border-radius: 1rem;
  background: var(--gradient-rush);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  box-shadow: var(--shadow-soft);
}
.feature-icon svg { width: 1.5rem; height: 1.5rem; color: #fff; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.feature-title { font-size: 1.125rem; font-weight: 700; margin-bottom: 0.75rem; }
.feature-desc { color: #6b6b80; line-height: 1.6; font-size: 0.9375rem; }

/* ============================================================
   FORMATIONS SECTION
   ============================================================ */
.rush-formations {
  padding: 6rem 0 8rem;
  background: #fff;
  position: relative;
  overflow: hidden;
}

.formations-glow {
  position: absolute;
  top: -10rem; right: 0;
  width: 31rem; height: 31rem;
}

.formations-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
  margin-bottom: 4rem;
}

.formation-card {
  background: #fff;
  border: 1px solid #e8e6f0;
  border-radius: 1.5rem;
  padding: 2rem 2.5rem;
  transition: all 0.3s;
  position: relative;
}
.formation-card:hover {
  border-color: rgba(142,131,223,0.4);
  box-shadow: var(--shadow-glow);
}

.formation-badges {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  align-items: flex-start;
  justify-content: space-between;
}

.badge {
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.7rem;
  font-weight: 700;
}
.badge-level { background: var(--rush-mist); color: var(--rush-deep); }
.badge-duration { background: rgba(207,232,255,0.4); color: var(--rush-graphite); }

.formation-arrow {
  width: 1.5rem; height: 1.5rem;
  color: #9999aa;
  transition: transform 0.3s, color 0.3s;
  flex-shrink: 0;
}
.formation-card:hover .formation-arrow { color: var(--rush-primary); transform: rotate(12deg); }

.formation-code {
  font-size: 1.75rem;
  font-weight: 900;
  background: var(--gradient-rush);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 0.5rem;
}
.formation-name { font-size: 1.125rem; font-weight: 600; margin-bottom: 1rem; }
.formation-desc { color: #6b6b80; line-height: 1.6; margin-bottom: 2rem; font-size: 0.9375rem; }

.formations-center { text-align: center; }

/* ============================================================
   STATS SECTION
   ============================================================ */
.rush-stats {
  padding: 5rem 0 7rem;
  background: #fff;
}

.stats-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

.stat-card {
  background: #fff;
  border: 1px solid #e8e6f0;
  border-radius: 1.5rem;
  padding: 1.75rem;
  transition: all 0.3s;
}
.stat-card:hover { border-color: rgba(142,131,223,0.4); box-shadow: var(--shadow-soft); }

.stat-icon {
  width: 2.75rem; height: 2.75rem;
  border-radius: 0.875rem;
  background: var(--gradient-rush);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem;
  box-shadow: var(--shadow-soft);
}
.stat-icon svg { width: 1.25rem; height: 1.25rem; stroke: #fff; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.stat-value {
  font-size: 3rem;
  font-weight: 900;
  background: var(--gradient-rush);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
  margin-bottom: 0.5rem;
}
.stat-label { font-size: 0.875rem; font-weight: 700; margin-bottom: 0.25rem; }
.stat-note { font-size: 0.75rem; color: #9999aa; line-height: 1.4; }

/* ============================================================
   AMBASSADORS SECTION
   ============================================================ */
.rush-ambassadors {
  padding: 6rem 0 8rem;
  background: var(--rush-mist);
}

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

.ambassador-card {
  background: #fff;
  border: 1px solid #e8e6f0;
  border-radius: 1.5rem;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.3s;
}
.ambassador-card:hover { box-shadow: var(--shadow-soft); }

.ambassador-photo {
  width: 6rem; height: 6rem;
  border-radius: 1rem;
  object-fit: cover;
  margin-bottom: 1.25rem;
  box-shadow: var(--shadow-soft);
}
.ambassador-name { font-size: 1.125rem; font-weight: 700; margin-bottom: 0.25rem; }
.ambassador-role {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--rush-deep);
  margin-bottom: 0.25rem;
}
.ambassador-tag { font-size: 0.75rem; color: #9999aa; margin-bottom: 1rem; }
.ambassador-quote { font-size: 0.875rem; color: #6b6b80; line-height: 1.6; flex: 1; }

/* ============================================================
   PARCOURSUP SECTION
   ============================================================ */
.rush-parcoursup {
  padding: 6rem 0 8rem;
  background: #fff;
}

.parcoursup-inner {
  border-radius: 2.5rem;
  background: var(--gradient-rush);
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
  color: #fff;
}

.parcoursup-blob1 {
  position: absolute;
  top: -5rem; right: -5rem;
  width: 24rem; height: 24rem;
  background: rgba(255,255,255,0.2);
  border-radius: 9999px;
  filter: blur(3rem);
  pointer-events: none;
}
.parcoursup-blob2 {
  position: absolute;
  bottom: -5rem; left: -5rem;
  width: 24rem; height: 24rem;
  background: rgba(207,232,255,0.3);
  border-radius: 9999px;
  filter: blur(3rem);
  pointer-events: none;
}

.parcoursup-content { position: relative; }

.parcoursup-eyebrow {
  font-size: 0.7rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.2em;
  color: var(--rush-iris);
  margin-bottom: 1rem;
}
.parcoursup-title {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 900;
  margin-bottom: 1.5rem;
}
.parcoursup-desc {
  color: rgba(255,255,255,0.9);
  font-size: 1.125rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  max-width: 28rem;
}

.parcoursup-steps { display: flex; flex-direction: column; gap: 1rem; margin-top: 2rem; }

.parcoursup-step {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(8px);
  border-radius: 1rem;
  padding: 1.25rem;
  border: 1px solid rgba(255,255,255,0.15);
}
.step-num {
  font-size: 2rem;
  font-weight: 900;
  color: var(--rush-iris);
  flex-shrink: 0;
  line-height: 1;
}
.step-title { font-weight: 700; font-size: 1rem; margin-bottom: 0.25rem; }
.step-desc { font-size: 0.875rem; color: rgba(255,255,255,0.8); }

/* ============================================================
   PARTNERS SECTION
   ============================================================ */
.rush-partners {
  padding: 3rem 0 3.5rem;
  background: #fff;
  overflow: hidden;
}

.partners-header {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}
.partners-subtitle { font-size: 0.875rem; color: #9999aa; }

.partners-track-wrap {
  position: relative;
}
.partners-fade-left, .partners-fade-right {
  position: absolute;
  top: 0; bottom: 0;
  width: 6rem;
  z-index: 10;
  pointer-events: none;
}
.partners-fade-left { left: 0; background: linear-gradient(to right, #fff, transparent); }
.partners-fade-right { right: 0; background: linear-gradient(to left, #fff, transparent); }

.partners-track {
  display: flex;
  white-space: nowrap;
  padding: 0.5rem 0;
}

.partner-card {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 4rem;
  width: 8rem;
  border-radius: 0.5rem;
  background: var(--rush-mist);
  border: 1px solid #e8e6f0;
  padding: 0 1rem;
  margin: 0 0.5rem;
  flex-shrink: 0;
  transition: all 0.3s;
}
.partner-card:hover { border-color: rgba(142,131,223,0.4); box-shadow: 0 2px 10px rgba(0,0,0,0.06); }
.partner-card img { max-height: 1.75rem; width: auto; object-fit: contain; }

/* ============================================================
   TESTIMONIALS SECTION
   ============================================================ */
.rush-testimonials {
  padding: 6rem 0 8rem;
  background: var(--rush-night);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.testimonials-glow1 {
  position: absolute; top: 0; left: 25%;
  width: 31rem; height: 31rem;
}
.testimonials-glow2 {
  position: absolute; bottom: 0; right: 0;
  width: 25rem; height: 25rem;
}

.testimonials-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
  position: relative;
}

.testimonial-card {
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 1.5rem;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  transition: border-color 0.3s;
}
.testimonial-card:hover { border-color: rgba(168,159,229,0.4); }

.testimonial-quote-icon {
  width: 2.5rem; height: 2.5rem;
  margin-bottom: 1.5rem;
  color: var(--rush-primary);
}
.testimonial-text {
  color: rgba(255,255,255,0.9);
  font-size: 1.0625rem;
  line-height: 1.7;
  margin-bottom: 2rem;
  flex: 1;
}

.testimonial-footer {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.testimonial-avatar {
  width: 3.5rem; height: 3.5rem;
  border-radius: 9999px;
  background: var(--gradient-rush);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 1.125rem; color: #fff;
  flex-shrink: 0;
}
.testimonial-name { font-weight: 700; }
.testimonial-role {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--rush-light);
}
.testimonial-current { font-size: 0.875rem; color: rgba(255,255,255,0.7); margin-top: 0.125rem; }

/* ============================================================
   CTA SECTION
   ============================================================ */
.rush-cta {
  padding: 6rem 0 8rem;
  background: var(--rush-mist);
}

.cta-inner { max-width: 48rem; margin: 0 auto; text-align: center; }
.cta-title {
  font-size: clamp(2.25rem, 5vw, 4rem);
  font-weight: 900;
  margin-bottom: 1.5rem;
  line-height: 1.05;
}
.cta-desc {
  font-size: 1.125rem;
  color: #6b6b80;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}
.cta-actions { display: flex; flex-direction: column; gap: 1rem; align-items: center; }

/* ============================================================
   FOOTER
   ============================================================ */
.rush-footer { background: var(--rush-night); color: #fff; }

.footer-grid {
  padding: 4rem 0;
  display: grid;
  gap: 3rem;
  grid-template-columns: 1fr;
}

.footer-logo-wrap {
  display: inline-flex;
  align-items: center;
  background: #fff;
  padding: 1rem 1.25rem;
  border-radius: 1rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}
.footer-logo-wrap img { height: 3rem; width: auto; }

.footer-tagline { font-size: 0.875rem; color: rgba(255,255,255,0.7); line-height: 1.6; }

.footer-social { display: flex; gap: 0.75rem; margin-top: 1.5rem; }
.social-btn {
  width: 2.5rem; height: 2.5rem;
  display: flex; align-items: center; justify-content: center;
  border-radius: 9999px;
  background: rgba(255,255,255,0.1);
  color: #fff;
  transition: background 0.2s;
}
.social-btn:hover { background: var(--rush-primary); color: #fff; }
.social-btn svg { width: 1rem; height: 1rem; }

.footer-qualiopi {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
  padding: 0.375rem 0.75rem;
  border-radius: 9999px;
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.9);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: background 0.2s;
}
.footer-qualiopi:hover { background: rgba(255,255,255,0.15); color: #fff; }

.footer-col-title { font-weight: 700; margin-bottom: 1.25rem; }
.footer-links { display: flex; flex-direction: column; gap: 0.75rem; font-size: 0.875rem; }
.footer-links a { color: rgba(255,255,255,0.7); transition: color 0.2s; }
.footer-links a:hover { color: var(--rush-light); }

.footer-contact-item { display: flex; gap: 0.75rem; align-items: flex-start; font-size: 0.875rem; color: rgba(255,255,255,0.7); }
.footer-contact-icon { width: 1rem; height: 1rem; flex-shrink: 0; margin-top: 0.125rem; color: var(--rush-primary); stroke: var(--rush-primary); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.footer-contact-item a:hover { color: var(--rush-light); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 1.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.5);
}
.footer-bottom-links { display: flex; flex-wrap: wrap; gap: 1.5rem; justify-content: center; }
.footer-bottom-links a:hover { color: #fff; }



/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.page-hero {
  position: relative;
  padding: 10rem 0 5rem;
  color: #fff;
  overflow: hidden;
}
.page-hero-glow-1 {
  position: absolute;
  top: 25%;
  left: 25%;
  width: 31rem;
  height: 31rem;
  opacity: 0.5;
}
.page-hero-glow-2 {
  position: absolute;
  bottom: 0;
  right: 25%;
  width: 25rem;
  height: 25rem;
  opacity: 0.4;
}
.page-hero-eyebrow {
  color: var(--rush-light);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.75rem;
  margin-bottom: 1rem;
}
.page-hero-title {
  font-size: 3rem;
  font-weight: 900;
  margin-bottom: 1.5rem;
  max-width: 48rem;
  line-height: 0.95;
}

.page-hero-desc {
  color: rgba(255,255,255,0.8);
  font-size: 1.125rem;
  line-height: 1.6;
  max-width: 32rem;
}

.page-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  background: rgba(255,255,255,0.1);
  color: var(--rush-light);
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 1rem;
}
.page-hero-split {
  display: grid;
  gap: 3rem;
  align-items: center;
}

.page-hero-image img {
  width: 100%;
  border-radius: 1.5rem;
  box-shadow: var(--shadow-glow);
}

/* ============================================================
   PAGE SECTION
   ============================================================ */
.page-section {
  padding: 5rem 0;
}

.page-section-top {
  padding-top: 8rem;
}
.bg-mist { background: var(--rush-mist); }
.bg-white { background: #fff; }

/* ============================================================
   TEACHERS GRID
   ============================================================ */
.teachers-grid {
  display: grid;
  gap: 1.5rem;
}


.teacher-card {
  background: #fff;
  border: 1px solid #e5e5ec;
  border-radius: 1.5rem;
  padding: 2rem;
  text-align: center;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.teacher-card:hover {
  border-color: var(--rush-primary);
  box-shadow: var(--shadow-soft);
}
.teacher-avatar {
  width: 5rem; height: 5rem;
  margin: 0 auto 1.25rem;
  border-radius: 1rem;
  background: linear-gradient(135deg, var(--rush-mist), rgba(207,232,255,0.4), rgba(195,183,238,0.3));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  font-weight: 800;
  color: rgba(43,43,53,0.3);
}
.teacher-name {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}
.teacher-role {
  font-size: 0.8125rem;
  color: var(--rush-deep);
  font-weight: 600;
  margin-bottom: 0.75rem;
}
.teacher-bio {
  font-size: 0.875rem;
  color: #6b6b7a;
  line-height: 1.6;
}

/* ============================================================
   EVENTS GRID
   ============================================================ */
.events-grid {
  display: grid;
  gap: 1.5rem;
}


.event-card {
  position: relative;
  border-radius: 1.5rem;
  padding: 2rem;
  aspect-ratio: 4 / 3;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  transition: transform 0.3s;
  cursor: default;
}
.event-card:hover { transform: scale(1.03); }
.event-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(21,21,32,0.8), rgba(21,21,32,0.05));
  opacity: 0;
  transition: opacity 0.3s;
}
.event-card:hover::after { opacity: 1; }
.event-date {
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(4px);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--rush-graphite);
  z-index: 1;
}
.event-title {
  position: relative;
  z-index: 1;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--rush-night);
  transition: color 0.3s;
}
.event-card:hover .event-title { color: #fff; }

/* ============================================================
   ADVANTAGES GRID
   ============================================================ */
.advantages-grid {
  display: grid;
  gap: 1.5rem;
}


.advantage-card {
  background: #fff;
  border: 1px solid #e5e5ec;
  border-radius: 1.5rem;
  padding: 2rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.advantage-card:hover {
  border-color: var(--rush-primary);
  box-shadow: var(--shadow-soft);
}
.advantage-icon {
  width: 3rem; height: 3rem;
  border-radius: 1rem;
  background: var(--gradient-rush);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  box-shadow: 0 4px 20px rgba(168, 159, 229, 0.25);
}
.advantage-icon svg {
  width: 1.25rem; height: 1.25rem;
  color: #fff;
  stroke: #fff;
}
.advantage-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.advantage-desc {
  font-size: 0.9375rem;
  color: #6b6b7a;
  line-height: 1.6;
}

/* ============================================================
   STEPS
   ============================================================ */
.steps-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 48rem;
}

.step-card {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  background: #fff;
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: var(--shadow-card);
}


.step-number {
  font-size: 2.25rem;
  font-weight: 800;
  background: var(--gradient-rush);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  flex-shrink: 0;
  line-height: 1;
}

.step-title {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}
.step-desc {
  font-size: 0.9375rem;
  color: #6b6b7a;
  line-height: 1.6;
}

/* ============================================================
   BLOG GRID
   ============================================================ */
.blog-grid {
  display: grid;
  gap: 1.5rem;
}


.blog-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #e5e5ec;
  border-radius: 1.5rem;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.blog-card:hover {
  border-color: var(--rush-primary);
  box-shadow: var(--shadow-soft);
}
.blog-card-image {
  aspect-ratio: 16 / 9;
  overflow: hidden;
}
.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.blog-card:hover .blog-card-image img { transform: scale(1.05); }
.blog-card-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--rush-mist), rgba(207,232,255,0.4), rgba(195,183,238,0.3));
}
.blog-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.blog-card-date {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #8b8b9a;
  margin-bottom: 0.5rem;
}
.blog-card-title {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  transition: color 0.2s;
}
.blog-card:hover .blog-card-title { color: var(--rush-deep); }
.blog-card-excerpt {
  font-size: 0.875rem;
  color: #6b6b7a;
  line-height: 1.6;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.blog-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  margin-top: 1rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--rush-deep);
}
.blog-card-link svg { transition: transform 0.2s; }
.blog-card:hover .blog-card-link svg { transform: translate(2px, -2px); }
.blog-empty {
  text-align: center;
  color: #8b8b9a;
  padding: 4rem 0;
}

/* ============================================================
   JPO PAGE
   ============================================================ */
.jpo-layout {
  display: grid;
  gap: 2.5rem;
}


.jpo-dates-title {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
}
.jpo-date-card {
  border: 1px solid #e5e5ec;
  border-radius: 1rem;
  padding: 1.25rem;
  margin-bottom: 1rem;
  transition: border-color 0.2s;
}
.jpo-date-card:hover { border-color: var(--rush-primary); }
.jpo-date-day {
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 0.25rem;
}
.jpo-date-info {
  font-size: 0.875rem;
  color: #8b8b9a;
}

.jpo-form-wrap {
  background: #fff;
  border: 1px solid #e5e5ec;
  border-radius: 1.5rem;
  padding: 2rem;
  box-shadow: var(--shadow-card);
}
@media (min-width: 1024px) {
  .jpo-form-wrap { padding: 3rem; }
}
.jpo-form-title {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
}

/* ============================================================
   FORMS
   ============================================================ */
.jpo-form,
.assistance-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.jpo-form label,
.assistance-form label {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--rush-graphite);
}

.jpo-form input,
.jpo-form select,
.jpo-form textarea,
.assistance-form input,
.assistance-form select,
.assistance-form textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #d0d0d8;
  border-radius: 0.75rem;
  font: inherit;
  font-size: 0.9375rem;
  color: var(--rush-graphite);
  background: #fff;
  transition: border-color 0.2s;
}
.jpo-form input:focus,
.jpo-form select:focus,
.jpo-form textarea:focus,
.assistance-form input:focus,
.assistance-form select:focus,
.assistance-form textarea:focus {
  outline: none;
  border-color: var(--rush-primary);
  box-shadow: 0 0 0 3px rgba(168,159,229,0.15);
}
.jpo-form textarea,
.assistance-form textarea { resize: vertical; min-height: 6rem; }

.form-grid-2 {
  display: grid;
  gap: 1rem;
}


.form-success {
  text-align: center;
  padding: 3rem 1rem;
}
.form-success-icon {
  width: 4rem; height: 4rem;
  margin: 0 auto 1.5rem;
  border-radius: 9999px;
  background: var(--gradient-rush);
  display: flex;
  align-items: center;
  justify-content: center;
}
.form-success-icon svg {
  width: 2rem; height: 2rem;
  color: #fff;
}
.form-success h3 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
}
.form-success p {
  color: #6b6b7a;
  font-size: 1rem;
  line-height: 1.6;
  max-width: 28rem;
  margin: 0 auto;
}
.form-error {
  padding: 1rem 1.25rem;
  border-radius: 0.75rem;
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #b91c1c;
  font-size: 0.9375rem;
}

/* ============================================================
   PARTNERS (shared section)
   ============================================================ */
.partners-section {
  padding: 4rem 0;
  background: var(--rush-mist);
}
.partners-header-centered {
  text-align: center;
  max-width: 32rem;
  margin: 0 auto 2rem;
}
.partners-subtitle-centered {
  font-size: 0.9375rem;
  color: #6b6b7a;
  margin-top: 0.5rem;
}



/* Print styles moved to responsive.css */

/* ============================================================
   CHAT POPUP
   ============================================================ */
#rush-chat-popup {
  position: fixed;
  bottom: 1.25rem;
  right: 1.25rem;
  z-index: 70;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.75rem;
}
.chat-card {
  width: 20rem;
  border-radius: 1.5rem;
  background: #fff;
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.05);
  transform-origin: bottom right;
  transition: transform 0.3s ease, opacity 0.3s ease;
  transform: scale(0.9) translateY(1rem);
  opacity: 0;
  pointer-events: none;
}
.chat-card.is-open { transform: scale(1) translateY(0); opacity: 1; pointer-events: auto; }
.chat-card-header {
  background: var(--gradient-rush);
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.chat-card-brand { display: flex; align-items: center; gap: 0.75rem; }
.chat-logo-wrap {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.chat-logo-wrap img { width: 1.5rem; height: 1.5rem; object-fit: contain; }
.chat-brand-name { color: #fff; font-weight: 800; font-size: 0.875rem; }
.chat-status { color: rgba(255,255,255,0.8); font-size: 0.6875rem; display: flex; align-items: center; gap: 0.4rem; margin-top: 1px; }
.chat-online-dot { width: 0.5rem; height: 0.5rem; border-radius: 50%; background: #34d399; animation: pulse 2s infinite; }
.chat-close {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: rgba(21,21,32,0.35);
  border: none;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: background 0.2s;
}
.chat-close:hover { background: var(--rush-night); }
.chat-body { padding: 1.25rem; background: rgba(244,243,248,0.4); }
.chat-bubble {
  background: #fff;
  border-radius: 1rem;
  border-top-left-radius: 0.25rem;
  padding: 1rem;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--rush-night);
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.chat-footer { padding: 0 1.25rem 1.25rem; background: rgba(244,243,248,0.4); }
.chat-cta-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: var(--gradient-rush);
  color: #fff;
  font-weight: 800;
  font-size: 0.875rem;
  padding: 0.75rem 1.25rem;
  border-radius: 9999px;
  box-shadow: var(--shadow-soft);
  transition: box-shadow 0.2s;
  text-decoration: none;
}
.chat-cta-btn:hover { box-shadow: var(--shadow-glow); }
.chat-cta-icon {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  transition: background 0.2s;
}
.chat-cta-btn:hover .chat-cta-icon { background: rgba(255,255,255,0.3); }
.chat-powered { text-align: center; font-size: 0.625rem; color: rgba(43,43,53,0.5); font-weight: 800; text-transform: uppercase; letter-spacing: 0.15em; margin-top: 0.75rem; }

.chat-teaser {
  position: relative;
  animation: fade-up 0.4s ease-out both;
}
.chat-teaser-close {
  position: absolute;
  top: -0.5rem;
  left: -0.5rem;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  background: var(--rush-night);
  color: #fff;
  border: none;
  font-size: 0.625rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}
.chat-teaser-btn {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.05);
  border-radius: 1rem;
  border-bottom-right-radius: 0.25rem;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--rush-night);
  cursor: pointer;
  box-shadow: 0 10px 40px rgba(0,0,0,0.15);
  transition: box-shadow 0.2s;
  max-width: 15rem;
  text-align: left;
}
.chat-teaser-btn:hover { box-shadow: 0 20px 60px rgba(0,0,0,0.2); }
.chat-teaser-brand { display: block; font-size: 0.6875rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.15em; color: var(--rush-primary); margin-bottom: 0.25rem; }

.chat-fab {
  position: relative;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: var(--gradient-rush);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.375rem;
  box-shadow: 0 20px 40px rgba(142,131,223,0.5);
  transition: transform 0.2s;
}
.chat-fab:hover { transform: scale(1.05); }
.chat-fab:active { transform: scale(0.95); }
.chat-fab-badge {
  position: absolute;
  top: -0.25rem;
  right: -0.25rem;
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  background: var(--rush-light);
  color: var(--rush-night);
  font-size: 0.625rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #fff;
}
.chat-fab-ping {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--gradient-rush);
  opacity: 0.5;
  animation: ping 2s cubic-bezier(0,0,0.2,1) infinite;
  z-index: -1;
}

@keyframes ping {
  75%, 100% { transform: scale(2); opacity: 0; }
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.5; }
}

/* ================================================================
   ADDITIONS — alignement avec rush-glow-up (React)
   ================================================================ */

/* ---- Formulaires génériques ---- */
.rush-form {
  background: var(--card, #fff);
  border: 1px solid var(--border, #e5e7eb);
  border-radius: 1.5rem;
  padding: 2rem;
  box-shadow: var(--shadow-card, 0 2px 16px rgba(0,0,0,.06));
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}


.form-field { display: flex; flex-direction: column; gap: .4rem; }
.form-field label { font-size: .875rem; font-weight: 600; }
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: .6rem .75rem;
  border: 1px solid var(--border, #e5e7eb);
  border-radius: .5rem;
  font-size: .9rem;
  background: var(--background, #fff);
  transition: border-color .2s;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--rush-primary, #6366f1);
}
.form-heading    { font-size: 1.5rem; font-weight: 800; }
.form-subheading { font-size: .875rem; color: var(--rush-muted, #6b7280); margin-top: -.5rem; }

/* ---- Steps (variante narrow) ---- */
.steps-list--narrow { max-width: 48rem; margin-left: auto; margin-right: auto; }

/* ---- Avantage icône ---- */
/* Consolidated - see line 1473 for definition */

/* ---- Ambassadeur ---- */
.ambassador-photo {
  width: 6rem; height: 6rem;
  border-radius: 1rem;
  object-fit: cover;
  margin-bottom: 1.25rem;
  box-shadow: var(--shadow-soft);
}
.ambassador-tag { font-size: .75rem; color: var(--rush-muted, #6b7280); margin-bottom: 1rem; }

/* ---- Teachers (nouveau style proche du React) ---- */
.teachers-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}
.teacher-avatar-placeholder {
  aspect-ratio: 4/5;
  width: 100%;
  border-radius: 1rem;
  background: linear-gradient(135deg, var(--rush-mist), rgba(195,183,238,.4));
  display: flex; align-items: center; justify-content: center;
  font-size: 2.5rem; font-weight: 800;
  color: rgba(30,30,60,.2);
  margin-bottom: 1.25rem;
}
.teacher-linkedin {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.25rem; height: 2.25rem;
  border-radius: 50%;
  background: var(--rush-mist);
  color: var(--rush-graphite, #374151);
  transition: background .2s, color .2s;
}
.teacher-linkedin:hover { background: var(--rush-primary, #6366f1); color: #fff; }

/* ---- Àvénements ---- */
.event-date-badge {
  position: absolute; top: 1rem; right: 1rem;
  padding: .25rem .75rem;
  border-radius: 9999px;
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(4px);
  font-size: .75rem; font-weight: 700;
  color: var(--rush-graphite, #374151);
  transition: opacity .3s;
}
.event-card:hover .event-date-badge { opacity: 0; }

/* ---- JPO dates sidebar ---- */
.jpo-date-label {
  display: flex; align-items: center; gap: .4rem;
  color: var(--rush-primary, #6366f1);
  font-weight: 700; font-size: .875rem;
  margin-bottom: .4rem;
}
.jpo-date-meta { display: flex; flex-direction: column; gap: .25rem; }
.jpo-date-meta span {
  display: flex; align-items: center; gap: .35rem;
  font-size: .8rem; color: var(--rush-muted, #6b7280);
}

/* ---- Page hero badge ---- */
.page-hero-badge {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .25rem .75rem;
  border-radius: 9999px;
  background: rgba(255,255,255,.12);
  color: var(--rush-light, #c7d2fe);
  font-size: .75rem; font-weight: 700;
  letter-spacing: .05em; text-transform: uppercase;
  margin-bottom: 1.5rem;
}

/* ---- Formations page ---- */
.formations-list { display: flex; flex-direction: column; gap: 2.5rem; }

.formation-card {
  background: var(--card, #fff);
  border: 1px solid var(--border, #e5e7eb);
  border-radius: 1.5rem;
  padding: 2rem;
  transition: border-color .2s, box-shadow .2s;
}

.formation-card:hover {
  border-color: rgba(99,102,241,.4);
  box-shadow: 0 0 40px rgba(99,102,241,.12);
}

.formation-header {
  display: grid;
  gap: 2rem;
  margin-bottom: 2rem;
}


.formation-header-right {
  display: flex; flex-direction: column; gap: .75rem;
}


.formation-badges { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1rem; }

.badge { display: inline-flex; align-items: center; gap: .3rem; padding: .25rem .75rem; border-radius: 9999px; font-size: .75rem; font-weight: 700; }
.badge-level    { background: var(--rush-mist); color: var(--rush-deep, #1e1e3c); }
.badge-duration { background: rgba(207,232,255,.4); color: var(--rush-graphite, #374151); }

.formation-code { font-size: 2rem; font-weight: 800; margin-bottom: .25rem; }

.formation-full { font-size: 1.1rem; font-weight: 600; margin-bottom: 1rem; }

.formation-skills { display: flex; flex-wrap: wrap; gap: .5rem; }
.skill-tag {
  padding: .375rem .75rem;
  border-radius: 9999px;
  background: var(--rush-mist);
  font-size: .875rem;
}

/* CSS-only tabs for formations */
.formation-tabs { position: relative; }
.formation-tabs input[type="radio"] { position: absolute; opacity: 0; width: 0; height: 0; }

.formation-tabs-nav {
  display: flex; flex-wrap: wrap; gap: .25rem;
  background: var(--rush-mist);
  border-radius: .75rem; padding: .25rem;
  margin-bottom: 1.5rem;
}
.formation-tab-label {
  padding: .45rem 1rem;
  border-radius: .5rem;
  font-size: .875rem; font-weight: 600;
  cursor: pointer;
  transition: background .15s, color .15s;
  color: var(--rush-graphite, #374151);
}

.formation-tab-panel { display: none; }

/* Show panel when its radio is checked */
#tab-bachelor-rdc-presentation:checked ~ .formation-tabs-nav ~ [data-tab="presentation"],
#tab-bts-ndrc-presentation:checked  ~ .formation-tabs-nav ~ [data-tab="presentation"],
#tab-bts-mco-presentation:checked   ~ .formation-tabs-nav ~ [data-tab="presentation"],
#tab-tp-ntc-presentation:checked    ~ .formation-tabs-nav ~ [data-tab="presentation"],
#tab-bachelor-rdc-admission:checked ~ .formation-tabs-nav ~ [data-tab="admission"],
#tab-bts-ndrc-admission:checked     ~ .formation-tabs-nav ~ [data-tab="admission"],
#tab-bts-mco-admission:checked      ~ .formation-tabs-nav ~ [data-tab="admission"],
#tab-tp-ntc-admission:checked       ~ .formation-tabs-nav ~ [data-tab="admission"],
#tab-bachelor-rdc-alternance:checked ~ .formation-tabs-nav ~ [data-tab="alternance"],
#tab-bts-ndrc-alternance:checked    ~ .formation-tabs-nav ~ [data-tab="alternance"],
#tab-bts-mco-alternance:checked     ~ .formation-tabs-nav ~ [data-tab="alternance"],
#tab-tp-ntc-alternance:checked      ~ .formation-tabs-nav ~ [data-tab="alternance"],
#tab-bachelor-rdc-initial:checked   ~ .formation-tabs-nav ~ [data-tab="initial"],
#tab-bts-ndrc-initial:checked       ~ .formation-tabs-nav ~ [data-tab="initial"],
#tab-bts-mco-initial:checked        ~ .formation-tabs-nav ~ [data-tab="initial"],
#tab-tp-ntc-initial:checked         ~ .formation-tabs-nav ~ [data-tab="initial"]
{ display: block; }

/* Active label highlight */
#tab-bachelor-rdc-presentation:checked ~ .formation-tabs-nav label[for="tab-bachelor-rdc-presentation"],
#tab-bts-ndrc-presentation:checked  ~ .formation-tabs-nav label[for="tab-bts-ndrc-presentation"],
#tab-bts-mco-presentation:checked   ~ .formation-tabs-nav label[for="tab-bts-mco-presentation"],
#tab-tp-ntc-presentation:checked    ~ .formation-tabs-nav label[for="tab-tp-ntc-presentation"],
#tab-bachelor-rdc-admission:checked ~ .formation-tabs-nav label[for="tab-bachelor-rdc-admission"],
#tab-bts-ndrc-admission:checked     ~ .formation-tabs-nav label[for="tab-bts-ndrc-admission"],
#tab-bts-mco-admission:checked      ~ .formation-tabs-nav label[for="tab-bts-mco-admission"],
#tab-tp-ntc-admission:checked       ~ .formation-tabs-nav label[for="tab-tp-ntc-admission"],
#tab-bachelor-rdc-alternance:checked ~ .formation-tabs-nav label[for="tab-bachelor-rdc-alternance"],
#tab-bts-ndrc-alternance:checked    ~ .formation-tabs-nav label[for="tab-bts-ndrc-alternance"],
#tab-bts-mco-alternance:checked     ~ .formation-tabs-nav label[for="tab-bts-mco-alternance"],
#tab-tp-ntc-alternance:checked      ~ .formation-tabs-nav label[for="tab-tp-ntc-alternance"],
#tab-bachelor-rdc-initial:checked   ~ .formation-tabs-nav label[for="tab-bachelor-rdc-initial"],
#tab-bts-ndrc-initial:checked       ~ .formation-tabs-nav label[for="tab-bts-ndrc-initial"],
#tab-bts-mco-initial:checked        ~ .formation-tabs-nav label[for="tab-bts-mco-initial"],
#tab-tp-ntc-initial:checked         ~ .formation-tabs-nav label[for="tab-tp-ntc-initial"]
{ background: #fff; color: var(--rush-primary, #6366f1); }

.tab-presentation { color: var(--rush-muted, #6b7280); line-height: 1.7; }

.tab-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .6rem; }
.tab-list li { display: flex; gap: .75rem; color: var(--rush-muted, #6b7280); }
.tab-list-arrow { color: var(--rush-primary, #6366f1); font-weight: 700; flex-shrink: 0; margin-top: .1rem; }

.alternance-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}
.alternance-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.4s ease;
}
.alternance-item:hover img {
    transform: scale(1.08);
}
.alternance-item::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.25);
    opacity: 0;
    transition: opacity 0.3s ease;
}
.alternance-item:hover::after {
    opacity: 1;
}

/* ============================================================
   RENTRÀE 2026 — Bandeau
   ============================================================ */
.rush-rentre-banner {
  background: var(--rush-night);
  border-top: 1px solid rgba(255,255,255,0.07);
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.rentre-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 0.9rem 0;
}
.rentre-banner-left {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.rentre-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  background: rgba(195,183,238,0.15);
  color: var(--rush-light);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  white-space: nowrap;
}
.rentre-text {
  color: rgba(255,255,255,0.8);
  font-size: 0.85rem;
  font-weight: 500;
}
.rentre-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 1.2rem;
  border-radius: 9999px;
  background: var(--gradient-rush);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  white-space: nowrap;
  transition: opacity 0.2s;
  text-decoration: none;
}
.rentre-cta:hover { opacity: 0.88; }

/* ============================================================
   PAGE TRANSITIONS — Rideau fluide style Ascencia
   ============================================================ */
#rush-page-transition {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  display: none;
  visibility: hidden;
}
#rush-page-transition.is-active {
  display: block;
  visibility: visible;
  pointer-events: all;
}

/* 3 bandes verticales jointives */
.pt-panels {
  position: absolute;
  inset: 0;
  display: flex;
}
.pt-panel {
  flex: 1;
  background: var(--rush-night);
  transform-origin: bottom center;
  transform: scaleY(0);
  will-change: transform;
}

/* COVER : bandes montent du bas, légèrement décalées */
#rush-page-transition.phase-cover .pt-panel {
  animation: ptBandCover 0.6s cubic-bezier(0.87, 0, 0.13, 1) var(--pt-delay, 0ms) both;
}
/* REVEAL : bandes sortent vers le haut */
#rush-page-transition.phase-reveal .pt-panel {
  transform-origin: top center;
  animation: ptBandReveal 0.6s cubic-bezier(0.87, 0, 0.13, 1) var(--pt-delay, 0ms) both;
}

@keyframes ptBandCover {
  from { transform: scaleY(0); }
  to   { transform: scaleY(1); }
}
@keyframes ptBandReveal {
  from { transform: scaleY(1); }
  to   { transform: scaleY(0); }
}

/* Label : fondu doux pendant le cover */
.pt-label {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  color: #fff;
  opacity: 0;
  pointer-events: none;
}
#rush-page-transition.phase-cover .pt-label {
  animation: ptLabelFadeIn 0.4s ease-out 0.32s both;
}
#rush-page-transition.phase-reveal .pt-label {
  animation: ptLabelFadeOut 0.2s ease-in both;
}
@keyframes ptLabelFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes ptLabelFadeOut {
  from { opacity: 1; }
  to   { opacity: 0; }
}

.pt-label-eyebrow {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.6rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5em;
  color: rgba(255,255,255,0.45);
}
.pt-dot {
  display: block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--rush-light);
}
.pt-label-word {
  font-size: clamp(1.6rem, 4vw, 2.8rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  background: var(--gradient-rush);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}


/* ============================================================
   PAGE CONTACT
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  max-width: 1100px;
  margin: 0 auto;
}


/* Formulaire */
.contact-form {
  background: #fff;
  border: 1px solid rgba(142,131,223,0.15);
  border-radius: 1.5rem;
  padding: 2.5rem;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}


.contact-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}


.contact-field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.contact-field label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--rush-graphite);
}
.contact-field input,
.contact-field select,
.contact-field textarea {
  width: 100%;
  padding: 0.7rem 1rem;
  border: 1px solid #ddd;
  border-radius: 0.75rem;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.9rem;
  color: var(--rush-graphite);
  background: #fafafa;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}
.contact-field input:focus,
.contact-field select:focus,
.contact-field textarea:focus {
  border-color: var(--rush-primary);
  box-shadow: 0 0 0 3px rgba(168,159,229,0.15);
  background: #fff;
}
.contact-field textarea { resize: vertical; }

.contact-upload-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.2rem;
  border: 1px dashed var(--rush-primary);
  border-radius: 0.75rem;
  color: var(--rush-primary);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
  width: fit-content;
}
.contact-upload-label:hover { background: rgba(168,159,229,0.08); }
.contact-upload-name {
  font-size: 0.8rem;
  color: #666;
  margin-top: 0.25rem;
}

.contact-submit {
  width: 100%;
  justify-content: center;
  gap: 0.5rem;
}

.contact-success {
  padding: 1rem 1.5rem;
  background: #f0fdf4;
  border: 1px solid #86efac;
  border-radius: 0.75rem;
  color: #166534;
  font-size: 0.9rem;
  font-weight: 600;
}

/* Infos sidebar */
.contact-infos {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-info-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: var(--rush-mist);
  border-radius: 1rem;
  padding: 1.25rem 1.5rem;
}
.contact-info-icon {
  width: 44px;
  height: 44px;
  border-radius: 0.75rem;
  background: var(--gradient-rush);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  color: #fff;
}
.contact-info-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--rush-primary);
  margin-bottom: 0.25rem;
}
.contact-info-value {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--rush-graphite);
  line-height: 1.5;
}
a.contact-info-value:hover { color: var(--rush-primary); }

/* Rentrée card */
.contact-rentre-card {
  background: var(--rush-night);
  color: #fff;
  border-radius: 1.5rem;
  padding: 2rem;
  margin-top: 0.5rem;
}
.contact-rentre-eyebrow {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--rush-light);
  margin-bottom: 0.5rem;
}
.contact-rentre-title {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
}
.contact-rentre-desc {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}
.contact-rentre-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--rush-light);
}

/* ============================================================
   INTRO OVERLAY — Rideau d'ouverture
   Reproduit fidèlement l'IntroOverlay du site React Rush School
   ============================================================ */
#rush-intro-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--rush-night, #0a0a0f);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 900ms cubic-bezier(0.83, 0, 0.17, 1);
  transform: translateY(0);
}
#rush-intro-overlay.is-lifting {
  transform: translateY(-100%);
}
.intro-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--rush-primary-rgb, 139, 92, 246), 0.18) 0%, transparent 70%);
  pointer-events: none;
}
.intro-content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}
.intro-logo {
  height: 4rem;
  width: auto;
  opacity: 0;
  animation: introLogo 900ms ease-out 200ms forwards;
}

@keyframes introLogo {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}
.intro-bar-wrap {
  position: relative;
  height: 2px;
  width: 12rem;
  background: rgba(255,255,255,0.1);
  overflow: hidden;
  border-radius: 9999px;
}
.intro-bar {
  position: absolute;
  inset-block: 0;
  left: 0;
  width: 100%;
  transform-origin: left;
  transform: scaleX(0);
  background: linear-gradient(90deg, var(--rush-primary, #8b5cf6), var(--rush-light, #c4b5fd));
  animation: introBar 1100ms ease-out 400ms forwards;
}
@keyframes introBar {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}

/* ================================================================
   RUSH SCHOOL — RESPONSIVE CSS v1.0
   Mobile-first approach
   Breakpoints :
     xs  : 0–479px      (petits mobiles)
     sm  : 480–767px    (mobiles normaux / grands)
     md  : 768–1023px   (tablette portrait)
     lg  : 1024–1279px  (tablette paysage / petit desktop)
     xl  : 1280px+      (desktop)
   ================================================================ */

/* ================================================================
   1. BASE MOBILE — ajustements généraux
   ================================================================ */

/* Container padding serré sur mobile */
.container {
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

/* Titres : taille minimale garantie */
h1, h2, h3 { overflow-wrap: break-word; }

/* Images responsives */
img { max-width: 100%; height: auto; }

/* ================================================================
   2. HEADER — mobile first
   ================================================================ */

/* Mobile : logo petit, burger visible, nav cachée, CTA visible mais compact */
.header-bar {
  height: 3.75rem;
  border-radius: 0.875rem;
}
.header-logo { padding: 0 1rem; }
.header-logo img { height: 1.75rem; }
.header-nav { display: none; }
.header-burger { display: flex; width: 3.75rem; }
.header-cta {
  display: flex;
  padding: 0 1rem;
  font-size: 0.75rem;
  letter-spacing: 0.03em;
}

/* Tablette ≥ 768px */
@media (min-width: 768px) {
  .header-bar { height: 4.5rem; border-radius: 1rem; }
  .header-logo { padding: 0 1.5rem; }
  .header-logo img { height: 2.25rem; }
  .header-burger { width: 4.5rem; }
  .header-cta { padding: 0 2rem; font-size: 0.8125rem; }
}

/* Desktop ≥ 1024px : nav visible, burger caché */
@media (min-width: 1024px) {
  .header-bar { height: 5rem; }
  .header-nav { display: flex; }
  .header-burger { display: none !important; }
  .header-logo { padding: 0 1.75rem; }
  .header-logo img { height: 2.5rem; }
  .header-cta { padding: 0 2.5rem; font-size: 0.875rem; }
}

/* Header scroll shrink */
.rush-header.is-scrolled .header-bar {
  box-shadow: 0 4px 24px rgba(0,0,0,0.18);
}

/* ================================================================
   3. MEGA MENU — mobile first
   ================================================================ */
.mega-menu-inner { padding: 1.5rem 1.25rem 3rem; }
.mega-menu-header { margin-bottom: 2.5rem; }
.mega-menu-logo img { height: 1.875rem; }

.mega-menu-nav {
  grid-template-columns: 1fr;
  gap: 0.75rem;
}
.mega-menu-link .label { font-size: 1.5rem; }
.mega-menu-info {
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-top: 2.5rem;
}

/* Tablette ≥ 768px */
@media (min-width: 768px) {
  .mega-menu-inner { padding: 2rem 2rem 4rem; }
  .mega-menu-header { margin-bottom: 3rem; }
  .mega-menu-nav { grid-template-columns: repeat(2, 1fr); gap: 1rem 2.5rem; }
  .mega-menu-link .label { font-size: 2rem; }
  .mega-menu-info { grid-template-columns: repeat(3, 1fr); margin-top: 3rem; }
}

/* Desktop ≥ 1024px */
@media (min-width: 1024px) {
  .mega-menu-inner { padding: 2.5rem 3rem 5rem; }
  .mega-menu-header { margin-bottom: 4rem; }
  .mega-menu-link .label { font-size: 2.5rem; }
}

/* ================================================================
   4. HERO — mobile first
   ================================================================ */
.rush-hero { min-height: 100svh; }

.hero-content {
  padding: 8rem 0 4rem;
}

.hero-eyebrow-1,
.hero-eyebrow-2 {
  font-size: 0.65rem;
  letter-spacing: 0.18em;
}
.hero-eyebrow-1 { margin-bottom: 1.25rem; }
.hero-eyebrow-2 { margin-bottom: 1rem; }

.hero-title {
  font-size: clamp(2.5rem, 10vw, 4rem);
  margin-bottom: 1.25rem;
}

.hero-desc {
  font-size: 1rem;
  margin-bottom: 2rem;
  max-width: 28rem;
}

.hero-actions {
  flex-direction: column;
  align-items: flex-start;
  gap: 0.875rem;
}
.hero-actions .btn { width: 100%; justify-content: center; }

/* Tablette ≥ 640px : boutons côte à côte */
@media (min-width: 640px) {
  .hero-actions { flex-direction: row; }
  .hero-actions .btn { width: auto; }
  .hero-title { font-size: clamp(3rem, 8vw, 5rem); }
  .hero-desc { font-size: 1.0625rem; }
}

/* Tablette ≥ 768px */
@media (min-width: 768px) {
  .hero-content { padding: 10rem 0 5rem; }
  .hero-title { font-size: clamp(3.5rem, 7vw, 5.5rem); }
  .hero-desc { font-size: 1.125rem; max-width: 34rem; }
}

/* Desktop ≥ 1024px */
@media (min-width: 1024px) {
  .hero-content { padding: 12rem 0 6rem; }
  .hero-title { font-size: clamp(4rem, 6vw, 6rem); }
  .hero-desc { font-size: 1.25rem; max-width: 38rem; }
}

/* ================================================================
   5. BANDEAU RENTRÉE 2026 — mobile first
   ================================================================ */
.rentre-banner-inner {
  flex-direction: column;
  align-items: flex-start;
  gap: 0.875rem;
  padding: 1rem 0;
}
.rentre-text { font-size: 0.8rem; }
.rentre-cta { font-size: 0.75rem; padding: 0.45rem 1rem; }

/* ≥ 640px : tout sur une ligne */
@media (min-width: 640px) {
  .rentre-banner-inner {
    flex-direction: row;
    align-items: center;
    padding: 0.9rem 0;
  }
  .rentre-text { font-size: 0.85rem; }
}

/* ================================================================
   6. FORMATIONS — mobile first
   ================================================================ */
.rush-formations { padding: 4rem 0 5rem; }

.formations-grid {
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}
.formation-card { padding: 1.5rem; }
.formation-code { font-size: 1.5rem; }
.formation-name { font-size: 1rem; }

/* Tablette ≥ 640px : 2 colonnes */
@media (min-width: 640px) {
  .formations-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .formation-card { padding: 2rem; }
}

/* Desktop ≥ 1024px */
@media (min-width: 1024px) {
  .rush-formations { padding: 6rem 0 8rem; }
  .formations-grid { gap: 2rem; margin-bottom: 4rem; }
  .formation-card { padding: 2.5rem; }
  .formation-code { font-size: 1.75rem; }
}

/* ================================================================
   7. TÉMOIGNAGES — mobile first
   ================================================================ */
.rush-testimonials { padding: 4rem 0 5rem; }

.testimonials-grid {
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
.testimonial-card { padding: 1.5rem; }
.testimonial-text { font-size: 1rem; }

/* Tablette ≥ 768px : 2 colonnes */
@media (min-width: 768px) {
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
}

/* Desktop ≥ 1024px : 3 colonnes */
@media (min-width: 1024px) {
  .rush-testimonials { padding: 6rem 0 8rem; }
  .testimonials-grid { grid-template-columns: repeat(3, 1fr); gap: 2rem; }
  .testimonial-card { padding: 2rem; }
}

/* ================================================================
   8. FEATURES — mobile first
   ================================================================ */
.rush-features { padding: 4rem 0 5rem; }

.features-grid {
  grid-template-columns: 1fr;
  gap: 1rem;
}
.feature-card { padding: 1.5rem; }
.feature-title { font-size: 1rem; }

/* Tablette ≥ 580px : 2 colonnes */
@media (min-width: 580px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
}

/* Desktop ≥ 1024px : 3 colonnes */
@media (min-width: 1024px) {
  .rush-features { padding: 6rem 0 8rem; }
  .features-grid { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
  .feature-card { padding: 2rem; }
  .feature-title { font-size: 1.125rem; }
}

/* ================================================================
   9. PARTENAIRES — mobile first
   ================================================================ */
.rush-partners { padding: 2.5rem 0 3rem; }
.partners-header {
  flex-direction: column;
  gap: 0.25rem;
  margin-bottom: 1.25rem;
}
.partner-card { width: 7rem; height: 3.5rem; }

@media (min-width: 640px) {
  .partners-header {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .rush-partners { padding: 3rem 0 3.5rem; }
  .partner-card { width: 8rem; height: 4rem; }
}

/* ================================================================
   10. CTA SECTION — mobile first
   ================================================================ */
.rush-cta { padding: 4rem 0 5rem; }

.cta-title { font-size: clamp(1.875rem, 6vw, 3rem); }
.cta-desc { font-size: 1rem; }

.cta-actions {
  flex-direction: column;
  align-items: center;
  gap: 0.875rem;
}
.cta-actions .btn { width: 100%; max-width: 20rem; justify-content: center; }

@media (min-width: 480px) {
  .cta-actions {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }
  .cta-actions .btn { width: auto; max-width: none; }
}

@media (min-width: 1024px) {
  .rush-cta { padding: 6rem 0 8rem; }
  .cta-title { font-size: clamp(2.25rem, 5vw, 4rem); }
  .cta-desc { font-size: 1.125rem; }
}

/* ================================================================
   11. FOOTER — mobile first
   ================================================================ */
.rush-footer { }

.footer-grid {
  grid-template-columns: 1fr;
  gap: 2rem;
  padding: 3rem 0;
}
.footer-logo-wrap img { height: 2.5rem; }

.footer-bottom {
  flex-direction: column;
  text-align: center;
  gap: 0.75rem;
  padding: 1.25rem 0;
}
.footer-bottom-links { gap: 1rem; }

/* Tablette ≥ 640px : 2 colonnes */
@media (min-width: 640px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 2.5rem; }
  .footer-bottom { flex-direction: row; justify-content: space-between; text-align: left; }
}

/* Desktop ≥ 1024px : 4 colonnes */
@media (min-width: 1024px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; padding: 4rem 0; }
  .footer-logo-wrap img { height: 3rem; }
}

/* ================================================================
   12. SECTIONS GÉNÉRALES (inner pages) — mobile first
   ================================================================ */
.page-section { padding: 4rem 0; }
.page-hero { padding: 8rem 0 4rem; }

.page-hero-title {
  font-size: clamp(2rem, 7vw, 3.5rem);
  max-width: 100%;
}
.page-hero-desc { font-size: 1rem; }

.section-title { font-size: clamp(1.75rem, 5vw, 3rem); }
.section-desc { font-size: 1rem; }
.section-header-center { margin-bottom: 2.5rem; }
.section-header-left { margin-bottom: 2.5rem; }

@media (min-width: 768px) {
  .page-section { padding: 5rem 0; }
  .page-hero { padding: 10rem 0 5rem; }
  .page-hero-title { font-size: clamp(2.5rem, 6vw, 4.5rem); }
  .page-hero-desc { font-size: 1.125rem; }
  .section-title { font-size: clamp(2rem, 4.5vw, 3.5rem); }
  .section-desc { font-size: 1.0625rem; }
  .section-header-center { margin-bottom: 3.5rem; }
  .section-header-left { margin-bottom: 3.5rem; }
}

@media (min-width: 1024px) {
  .page-section { padding: 7rem 0; }
  .page-hero { padding: 12rem 0 6rem; }
  .page-hero-split { grid-template-columns: 1fr 1fr; }
  .section-desc { font-size: 1.125rem; }
  .section-header-center { margin-bottom: 4.5rem; }
  .section-header-left { margin-bottom: 4rem; }
}

/* ================================================================
   13. GRILLES INNER PAGES — mobile first
   ================================================================ */

/* Grilles communes */
.teachers-grid,
.events-grid,
.advantages-grid,
.blog-grid,
.ambassadors-grid,
.stats-grid {
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

/* ≥ 480px : 2 colonnes pour cartes compactes */
@media (min-width: 480px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ≥ 580px : 2 colonnes pour grilles moyennes */
@media (min-width: 580px) {
  .advantages-grid { grid-template-columns: repeat(2, 1fr); }
  .ambassadors-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .teachers-grid { grid-template-columns: repeat(2, 1fr); }
  .events-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ≥ 1024px : 3 ou 4 colonnes */
@media (min-width: 1024px) {
  .stats-grid { grid-template-columns: repeat(4, 1fr); }
  .advantages-grid { grid-template-columns: repeat(3, 1fr); }
  .ambassadors-grid { grid-template-columns: repeat(3, 1fr); }
  .blog-grid { grid-template-columns: repeat(3, 1fr); }
  .teachers-grid { grid-template-columns: repeat(4, 1fr); }
  .events-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ================================================================
   14. ALTERNANCE PAGE
   ================================================================ */
.alternance-split {
  display: grid;
  gap: 2.5rem;
}
@media (min-width: 1024px) {
  .alternance-split { grid-template-columns: 1fr 1fr; align-items: center; }
}

/* ================================================================
   15. JPO PAGE
   ================================================================ */
.jpo-layout {
  grid-template-columns: 1fr;
  gap: 2rem;
}
.jpo-form-wrap { padding: 1.5rem; }

@media (min-width: 768px) {
  .jpo-form-wrap { padding: 2rem; }
}
@media (min-width: 1024px) {
  .jpo-layout { grid-template-columns: 1fr 2fr; gap: 3rem; }
  .jpo-form-wrap { padding: 3rem; }
}

/* ================================================================
   16. CONTACT PAGE
   ================================================================ */
.contact-grid {
  grid-template-columns: 1fr;
  gap: 2rem;
}
.contact-form { padding: 1.5rem; gap: 1.25rem; }
.contact-form-row { grid-template-columns: 1fr; gap: 1rem; }

@media (min-width: 480px) {
  .contact-form-row { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 768px) {
  .contact-form { padding: 2rem; }
}
@media (min-width: 1024px) {
  .contact-grid { grid-template-columns: 1fr 380px; gap: 3rem; }
  .contact-form { padding: 2.5rem; gap: 1.5rem; }
}

/* ================================================================
   17. ASSISTANCE PAGE
   ================================================================ */
.assistance-split {
  display: grid;
  gap: 2rem;
}
@media (min-width: 1024px) {
  .assistance-split { grid-template-columns: 1fr 1fr; gap: 3rem; }
}

/* ================================================================
   18. BOUTONS — mobile ajustements
   ================================================================ */

/* Sur mobile XS, boutons full-width dans les actions */
@media (max-width: 479px) {
  .hero-actions .btn,
  .cta-actions .btn {
    width: 100%;
    justify-content: center;
  }
  .btn-xl { padding: 1rem 2rem; font-size: 0.9375rem; }
  .btn-lg { padding: 0.875rem 1.75rem; font-size: 0.9375rem; }
}

/* ================================================================
   19. PARCOURSUP — mobile first
   ================================================================ */
.parcoursup-inner { padding: 2rem; }
.parcoursup-title { font-size: clamp(1.75rem, 5vw, 3rem); }
.parcoursup-desc { font-size: 1rem; max-width: 100%; }

@media (min-width: 768px) {
  .parcoursup-inner { padding: 3rem; }
}
@media (min-width: 1024px) {
  .parcoursup-inner { padding: 5rem; }
  .parcoursup-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
  }
  .parcoursup-steps { margin-top: 0; }
}

/* ================================================================
   20. FORMULAIRES GÉNÉRIQUES — mobile
   ================================================================ */
.form-grid-2 { grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 480px) {
  .form-grid-2 { grid-template-columns: repeat(2, 1fr); }
}

/* ================================================================
   21. STEPS — mobile first
   ================================================================ */
.step-card { padding: 1.25rem; gap: 1rem; }
.step-number { font-size: 2rem; }

@media (min-width: 768px) {
  .step-card { padding: 1.5rem; }
  .step-number { font-size: 2.5rem; }
}
@media (min-width: 1024px) {
  .step-card { padding: 2rem; gap: 1.5rem; }
  .step-number { font-size: 3rem; }
}

/* ================================================================
   22. CHAT POPUP — mobile
   ================================================================ */
#rush-chat-popup { bottom: 1rem; right: 1rem; }
.chat-card { width: min(18rem, calc(100vw - 2rem)); }

@media (min-width: 480px) {
  #rush-chat-popup { bottom: 1.25rem; right: 1.25rem; }
  .chat-card { width: 20rem; }
}

/* ================================================================
   23. PAGE HERO — sections intérieures
   ================================================================ */
.page-hero-split {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

/* ================================================================
   24. FORMATIONS PAGE (liste détaillée)
   ================================================================ */
.formation-card { padding: 1.5rem; }
.formation-header { grid-template-columns: 1fr; gap: 1.25rem; margin-bottom: 1.5rem; }
.formation-header-right { align-items: flex-start; }
.formation-code { font-size: 1.75rem; }
.formation-tabs-nav { gap: 0.2rem; }
.formation-tab-label { padding: 0.4rem 0.75rem; font-size: 0.8rem; }

@media (min-width: 640px) {
  .formation-card { padding: 2rem; }
  .formation-code { font-size: 2rem; }
}
@media (min-width: 1024px) {
  .formation-card { padding: 3rem; }
  .formation-header { grid-template-columns: 7fr 5fr; }
  .formation-header-right { align-items: flex-end; }
  .formation-code { font-size: 2.5rem; }
  .formation-tab-label { padding: 0.45rem 1rem; font-size: 0.875rem; }
}

/* ================================================================
   25. 404 PAGE
   ================================================================ */
.error-404 .rush-hero { min-height: 100svh; }

/* ================================================================
   26. TRANSITIONS — page
   ================================================================ */
/* Les panneaux restent full-screen sur tous les devices — pas de changement */

/* ================================================================
   27. SCROLL REVEAL — ajout class JS
   ================================================================ */
@keyframes fade-up-in {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ================================================================
   28. PRINT
   ================================================================ */
@media print {
  .rush-header,
  .mega-menu,
  #rush-page-transition,
  #rush-intro-overlay,
  #rush-chat-popup { display: none !important; }
  .rush-hero { min-height: 40vh; }
  body { font-size: 12pt; }
}

/* ================================================================
   29. AJUSTEMENTS PRÉCIS MOBILE XS (< 400px)
   ================================================================ */
@media (max-width: 399px) {
  .container { padding-left: 1rem; padding-right: 1rem; }
  .header-cta { padding: 0 0.75rem; font-size: 0.7rem; }
  .rentre-badge { display: none; } /* Simplifie le bandeau sur très petit écran */
  .mega-menu-link .label { font-size: 1.25rem; }
  .formation-code { font-size: 1.25rem; }
}

/* ================================================================
   30. TOUCH — amélioration zones cliquables
   ================================================================ */
@media (hover: none) and (pointer: coarse) {
  .btn { min-height: 44px; }
  .header-burger { min-width: 44px; }
  .hero-dot { min-width: 24px; min-height: 24px; }
  .mega-menu-link { padding: 0.5rem 0; }
  .footer-links a { padding: 0.25rem 0; display: inline-block; }
  .nav a { padding: 0.5rem 0.75rem; }
}

