/* ==================== VARIABLES & BASE ==================== */
:root {
  --rich-black: #0a0a0a;
  --dark-gold: #C8960C;
  --gold: #E5B830;
  --gold-light: #F4D06F;
  --cream: #F5F0E0;
  --cream-dark: #E8E1D1;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 15px;
}

body {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  background-color: #ffffff;
  color: var(--rich-black);
  line-height: 1.7;
  overflow-x: hidden;
}

/* ==================== TOP BAR ==================== */
.top-bar {
  background: #050505;
  border-bottom: 1px solid rgba(229, 184, 48, 0.1);
  padding: 0.6rem 0;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1001;
  transition: var(--transition);
}

/* ==================== NAVBAR ==================== */
.navbar {
  position: fixed;
  top: 36px; /* Hauteur de la top-bar */
  left: 0;
  right: 0;
  z-index: 1000;
  transition: var(--transition);
  padding: 0.75rem 0;
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(229, 184, 48, 0.2);
}

.navbar.scrolled {
  top: 0;
  padding: 0.6rem 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  border-top: none;
}

.nav-link {
  position: relative;
  font-weight: 600;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.9);
  transition: var(--transition);
  cursor: pointer;
  padding: 0.5rem 0;
}

.nav-link:hover,
.nav-link.active {
  color: var(--gold);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 70%;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: translateX(-50%) scaleX(1);
}

/* Dropdown Desktop */
.nav-dropdown { position: relative; }
.nav-dropdown .nav-link { display: flex; align-items: center; gap: 0.25rem; }

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  background: white;
  border-radius: 12px;
  padding: 0.5rem 0;
  box-shadow: 0 15px 40px -15px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(0, 0, 0, 0.08);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.25s ease;
  z-index: 100;
}

.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item {
  display: block;
  padding: 0.65rem 1.25rem;
  font-size: 0.85rem;
  color: var(--rich-black);
  text-decoration: none;
  transition: all 0.2s ease;
  font-weight: 500;
}

.dropdown-item:hover {
  background: var(--cream);
  color: var(--dark-gold);
  padding-left: 1.5rem;
}

/* Lang Toggle */
.lang-toggle {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(229, 184, 48, 0.3);
}

.lang-btn {
  font-weight: 700;
  font-size: 0.75rem;
  transition: var(--transition);
}

.lang-btn.active {
  background: var(--gold);
  color: var(--rich-black);
  box-shadow: 0 2px 10px rgba(229, 184, 48, 0.3);
}

.lang-btn:not(.active):hover {
  background: rgba(229, 184, 48, 0.2);
  color: var(--gold);
}

/* Mobile Menu */
#mobileMenu {
  background: var(--rich-black);
  border-top: 1px solid rgba(229, 184, 48, 0.2);
}

.nav-link-mobile {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-link-mobile:last-child {
  border-bottom: none;
}

/* Mobile Dropdowns */
.mobile-dropdown { border-bottom: 1px solid rgba(255,255,255,0.05); }

.mobile-dropdown-toggle {
  text-align: left;
  background: none;
  border: none;
  width: 100%;
  color: white;
  font-size: 0.95rem;
  font-weight: 500;
  padding: 1rem 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.mobile-dropdown-toggle i { transition: transform 0.3s ease; }
.mobile-dropdown-toggle.active i { transform: rotate(180deg); }

.mobile-dropdown-content {
  background: rgba(255,255,255,0.03);
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.mobile-dropdown-content a {
  display: block;
  padding: 0.75rem 1.25rem 0.75rem 2.5rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  transition: var(--transition);
}

.mobile-dropdown-content a:hover {
  color: var(--gold);
  background: rgba(229, 184, 48, 0.05);
}

/* ==================== HERO TECHNOLOGIQUE ==================== */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--rich-black);
  overflow: hidden;
  padding-top: 80px; /* Espace combiné topbar + navbar */
}

.tech-grid {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(229, 184, 48, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(229, 184, 48, 0.04) 1px, transparent 1px);
  background-size: 50px 50px;
  animation: gridMove 25s linear infinite;
  opacity: 0.6;
}

@keyframes gridMove {
  0% { transform: perspective(600px) rotateX(55deg) translateY(0); }
  100% { transform: perspective(600px) rotateX(55deg) translateY(50px); }
}

.tech-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.particle {
  position: absolute;
  width: 3px;
  height: 3px;
  background: var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 15px var(--gold), 0 0 30px var(--dark-gold);
  animation: float 18s infinite;
  opacity: 0;
}

.particle:nth-child(odd) { background: var(--dark-gold); }
.particle:nth-child(1) { left: 10%; animation-delay: 0s; animation-duration: 15s; }
.particle:nth-child(2) { left: 20%; animation-delay: 2s; animation-duration: 18s; }
.particle:nth-child(3) { left: 30%; animation-delay: 4s; animation-duration: 16s; }
.particle:nth-child(4) { left: 40%; animation-delay: 1s; animation-duration: 20s; }
.particle:nth-child(5) { left: 50%; animation-delay: 3s; animation-duration: 17s; }
.particle:nth-child(6) { left: 60%; animation-delay: 5s; animation-duration: 19s; }
.particle:nth-child(7) { left: 70%; animation-delay: 2s; animation-duration: 16s; }
.particle:nth-child(8) { left: 80%; animation-delay: 4s; animation-duration: 21s; }
.particle:nth-child(9) { left: 90%; animation-delay: 1s; animation-duration: 18s; }

@keyframes float {
  0%, 100% { transform: translateY(100vh) rotate(0deg) scale(0.8); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { transform: translateY(-100vh) rotate(720deg) scale(1.2); opacity: 0; }
}

.tech-lines {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse at 20% 80%, rgba(229, 184, 48, 0.12) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(200, 150, 12, 0.1) 0%, transparent 50%);
}

.circuit-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.08;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23E5B830' fill-opacity='0.3'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.25;
  animation: pulse-glow 10s ease-in-out infinite;
}

.hero-glow-1 {
  width: 500px;
  height: 500px;
  background: var(--dark-gold);
  top: 5%;
  left: 5%;
  animation-delay: 0s;
}

.hero-glow-2 {
  width: 400px;
  height: 400px;
  background: var(--gold);
  bottom: 10%;
  right: 5%;
  animation-delay: 5s;
}

@keyframes pulse-glow {
  0%, 100% { transform: scale(1); opacity: 0.2; }
  50% { transform: scale(1.3); opacity: 0.35; }
}

.scan-line {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  animation: scan 8s linear infinite;
  opacity: 0.3;
}

@keyframes scan {
  0% { top: -10%; }
  100% { top: 110%; }
}

/* Hero Carousel */
.hero-carousel-container {
  position: relative;
  width: 100%;
  height: 450px;
  border-radius: 2rem;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  border: 2px solid rgba(229, 184, 48, 0.3);
}

.carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
  z-index: 1;
}

.carousel-slide.active {
  opacity: 1;
  z-index: 2;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 8s ease;
}

.carousel-slide.active img {
  transform: scale(1.05);
}

.carousel-indicators {
  position: absolute;
  bottom: 1.5rem;
  right: 1.5rem;
  display: flex;
  gap: 0.5rem;
  z-index: 3;
}

.indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: var(--transition);
}

.indicator.active {
  background: var(--gold);
  width: 28px;
  border-radius: 4px;
}

/* ==================== MISSION & VISION CARDS ==================== */
.mission-vision-card {
  background: white;
  border-radius: 1.5rem;
  padding: 2rem;
  border: 1px solid rgba(0, 0, 0, 0.04);
  box-shadow: 0 10px 40px -15px rgba(0, 0, 0, 0.08);
  position: relative;
  transition: var(--transition);
}

.mission-vision-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px -15px rgba(0, 0, 0, 0.15);
}

.mv-icon-wrapper {
  width: 60px;
  height: 60px;
  border-radius: 1rem;
  background: linear-gradient(135deg, var(--gold), var(--dark-gold));
  color: var(--rich-black);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}

.mv-label {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--dark-gold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
}

.mv-text {
  color: #444;
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ==================== CORE PILLARS ==================== */
.pillar-card {
  background: white;
  border-radius: 1.25rem;
  padding: 2rem 1.5rem;
  text-align: center;
  border: 1px solid rgba(0, 0, 0, 0.04);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  transition: var(--transition);
}

.pillar-card:hover {
  transform: translateY(-6px);
  border-color: rgba(229, 184, 48, 0.3);
  box-shadow: 0 15px 40px -10px rgba(200, 150, 12, 0.2);
}

.pillar-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(229, 184, 48, 0.15), rgba(200, 150, 12, 0.08));
  color: var(--dark-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.pillar-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--rich-black);
  margin-bottom: 0.4rem;
}

.pillar-desc {
  color: #666;
  font-size: 0.85rem;
  line-height: 1.5;
}

/* ==================== WHY CAIST ==================== */
.why-card {
  display: flex;
  gap: 1rem;
  padding: 1.25rem;
  background: white;
  border-radius: 1rem;
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition: var(--transition);
}

.why-card:hover {
  border-color: var(--gold);
  box-shadow: 0 10px 30px -10px rgba(200, 150, 12, 0.2);
  transform: translateX(4px);
}

.why-number {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--dark-gold));
  color: var(--rich-black);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.9rem;
  font-family: 'JetBrains Mono', monospace;
}

.why-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--rich-black);
  margin-bottom: 0.35rem;
}

.why-desc {
  color: #666;
  font-size: 0.85rem;
  line-height: 1.5;
}

/* ==================== PROGRAM LEVEL CARDS ==================== */
.program-level-card {
  background: white;
  border-radius: 1.25rem;
  padding: 2rem;
  border: 1px solid rgba(0, 0, 0, 0.04);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  transition: var(--transition);
  border-top: 4px solid var(--gold);
}

.program-level-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px -15px rgba(0, 0, 0, 0.15);
}

.plc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.plc-icon {
  width: 50px;
  height: 50px;
  border-radius: 0.75rem;
  background: linear-gradient(135deg, rgba(229, 184, 48, 0.15), rgba(200, 150, 12, 0.08));
  color: var(--dark-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

.plc-range {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--dark-gold);
  background: rgba(229, 184, 48, 0.1);
  padding: 0.3rem 0.75rem;
  border-radius: 9999px;
}

.plc-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--rich-black);
  margin-bottom: 0.5rem;
}

.plc-desc {
  color: #666;
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.plc-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.plc-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: #555;
}

.plc-list li i {
  color: var(--gold);
  font-size: 0.7rem;
}

/* ==================== ENRICHMENT BOX ==================== */
.enrichment-box {
  background: white;
  border-radius: 1.5rem;
  padding: 2.5rem;
  border: 1px solid rgba(0, 0, 0, 0.04);
  box-shadow: 0 10px 40px -15px rgba(0, 0, 0, 0.08);
}

.enrichment-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.75rem 1rem;
  background: var(--cream);
  border-radius: 0.75rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--rich-black);
  transition: var(--transition);
}

.enrichment-item:hover {
  background: rgba(229, 184, 48, 0.15);
}

.free-english-box {
  background: linear-gradient(135deg, rgba(229, 184, 48, 0.12), rgba(200, 150, 12, 0.05));
  border: 2px solid var(--gold);
  border-radius: 1.25rem;
  padding: 2rem;
  position: relative;
}

.free-badge {
  position: absolute;
  top: -12px;
  right: 20px;
  background: #10b981;
  color: white;
  padding: 0.3rem 1rem;
  border-radius: 9999px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

/* ==================== BRIDGE DETAILS CARD ==================== */
.bridge-details-card {
  background: white;
  border-radius: 1.5rem;
  padding: 2rem;
  border: 1px solid rgba(0, 0, 0, 0.04);
  box-shadow: 0 10px 40px -15px rgba(0, 0, 0, 0.08);
}

.bridge-card-title {
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--dark-gold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.75rem;
}

.bridge-feature {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.65rem;
  background: var(--cream);
  border-radius: 0.6rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--rich-black);
}

.bridge-feature.optional {
  background: rgba(229, 184, 48, 0.08);
  border: 1px solid rgba(229, 184, 48, 0.2);
}

.bridge-feature i {
  color: var(--dark-gold);
}

.schedule-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  font-size: 0.85rem;
}

.schedule-row:last-child { border-bottom: none; }

.schedule-row.highlight {
  background: rgba(229, 184, 48, 0.08);
  padding: 0.75rem;
  border-radius: 0.5rem;
  margin-top: 0.5rem;
  border-bottom: none;
}

.schedule-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #555;
  font-weight: 500;
}

.schedule-time {
  font-weight: 700;
  color: var(--rich-black);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8rem;
}

/* ==================== ALA FEATURES ==================== */
.ala-feature {
  display: flex;
  gap: 1rem;
  padding: 1.25rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1rem;
  transition: var(--transition);
}

.ala-feature:hover {
  background: rgba(229, 184, 48, 0.05);
  border-color: rgba(229, 184, 48, 0.3);
}

.ala-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 0.75rem;
  background: linear-gradient(135deg, var(--gold), var(--dark-gold));
  color: var(--rich-black);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

/* ==================== APPLY STEPS (CORRIGÉ) ==================== */
.apply-steps {
  display: grid;
  /* Utilisation de auto-fit pour éviter l'écrasement sur tablette */
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  position: relative;
}

.apply-step {
  background: white;
  border-radius: 1.25rem;
  padding: 2rem 1.5rem;
  text-align: center;
  position: relative;
  border: 1px solid rgba(0, 0, 0, 0.04);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  transition: var(--transition);
}

.apply-step:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 40px -10px rgba(200, 150, 12, 0.2);
}

.apply-step-number {
  width: 50px;
  height: 50px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--dark-gold));
  color: var(--rich-black);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.2rem;
  font-family: 'JetBrains Mono', monospace;
}

.apply-step-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--rich-black);
  margin-bottom: 0.5rem;
}

.apply-step-desc {
  color: #666;
  font-size: 0.85rem;
  line-height: 1.5;
}

/* ==================== WHO CAN APPLY ==================== */
.who-apply-item {
  display: flex;
  gap: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.who-apply-item:last-child { border-bottom: none; padding-bottom: 0; }

.wai-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 0.75rem;
  background: linear-gradient(135deg, rgba(229, 184, 48, 0.15), rgba(200, 150, 12, 0.08));
  color: var(--dark-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.wai-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--rich-black);
  margin-bottom: 0.25rem;
}

.wai-desc {
  color: #666;
  font-size: 0.85rem;
  line-height: 1.5;
}

/* ==================== ENROLLMENT OPTIONS ==================== */
.enrollment-option {
  padding: 1.25rem;
  background: var(--cream);
  border-radius: 0.85rem;
  transition: var(--transition);
}

.enrollment-option:hover {
  background: rgba(229, 184, 48, 0.1);
  transform: translateX(3px);
}

.eo-header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.5rem;
}

.eo-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--rich-black);
}

.eo-desc {
  color: #666;
  font-size: 0.8rem;
  line-height: 1.5;
  margin-bottom: 0.75rem;
}

.eo-price {
  font-size: 0.85rem;
  color: var(--rich-black);
  padding-top: 0.5rem;
  border-top: 1px dashed rgba(0, 0, 0, 0.1);
}

.eo-price b {
  color: var(--dark-gold);
  font-family: 'JetBrains Mono', monospace;
}

/* ==================== PAYMENT ITEMS ==================== */
.payment-item {
  text-align: center;
  padding: 1.5rem 1rem;
  background: var(--cream);
  border-radius: 1rem;
  transition: var(--transition);
}

.payment-item:hover {
  background: rgba(229, 184, 48, 0.1);
}

.payment-item i {
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
}

.payment-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--rich-black);
  margin-bottom: 0.4rem;
}

.payment-desc {
  color: #666;
  font-size: 0.8rem;
  line-height: 1.5;
}

/* ==================== PARTNER CARDS ==================== */
.partner-card {
  background: white;
  border-radius: 1.5rem;
  padding: 2rem;
  border: 1px solid rgba(0, 0, 0, 0.04);
  box-shadow: 0 10px 40px -15px rgba(0, 0, 0, 0.08);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.partner-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px -15px rgba(0, 0, 0, 0.15);
  border-color: rgba(229, 184, 48, 0.3);
}

.partner-header {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.partner-icon {
  width: 56px;
  height: 56px;
  border-radius: 1rem;
  background: linear-gradient(135deg, var(--gold), var(--dark-gold));
  color: var(--rich-black);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.partner-name {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--rich-black);
  margin-bottom: 0.25rem;
}

.partner-location {
  font-size: 0.8rem;
  color: #666;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.partner-location i { color: var(--gold); font-size: 0.7rem; }

.partner-desc {
  color: #555;
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.partner-accreditations {
  margin-bottom: 1.25rem;
}

.partner-acc-title {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--dark-gold);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.6rem;
}

.partner-acc-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.partner-acc-grid span {
  padding: 0.25rem 0.65rem;
  background: rgba(229, 184, 48, 0.1);
  color: var(--dark-gold);
  border-radius: 9999px;
  font-size: 0.7rem;
  font-weight: 700;
  border: 1px solid rgba(229, 184, 48, 0.2);
}

.partner-features {
  margin-bottom: 1.25rem;
}

.pf-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 0;
  font-size: 0.85rem;
  color: #555;
}

.partner-link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  background: var(--rich-black);
  color: var(--gold);
  border-radius: 9999px;
  font-weight: 700;
  font-size: 0.85rem;
  text-decoration: none;
  transition: var(--transition);
}

.partner-link:hover {
  background: var(--gold);
  color: var(--rich-black);
}

/* ==================== FACULTY STATS ==================== */
.faculty-stat {
  background: var(--cream);
  border-radius: 0.85rem;
  padding: 1.25rem 1rem;
  text-align: center;
  transition: var(--transition);
}

.faculty-stat:hover {
  background: rgba(229, 184, 48, 0.15);
}

.faculty-stat-num {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--dark-gold);
  font-family: 'JetBrains Mono', monospace;
  margin-bottom: 0.25rem;
}

.faculty-stat-label {
  font-size: 0.75rem;
  color: #666;
  font-weight: 500;
}

/* ==================== CONTACT CARDS ==================== */
.contact-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(229, 184, 48, 0.2);
  border-radius: 1.25rem;
  padding: 2rem 1.5rem;
  text-align: center;
  transition: var(--transition);
}

.contact-card:hover {
  background: rgba(229, 184, 48, 0.08);
  transform: translateY(-4px);
}

.contact-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--dark-gold));
  color: var(--rich-black);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.contact-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: white;
  margin-bottom: 0.5rem;
}

.contact-text {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  line-height: 1.6;
}

.contact-text a {
  color: var(--gold);
  text-decoration: none;
}

/* ==================== UTILITIES ==================== */
.gold-gradient {
  background: linear-gradient(135deg, var(--gold) 0%, var(--dark-gold) 100%);
}

.gold-gradient-text {
  background: linear-gradient(135deg, var(--gold) 0%, var(--dark-gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ==================== SECTIONS ==================== */
section {
  padding: 5rem 0;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 4rem;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(229, 184, 48, 0.12);
  color: var(--dark-gold);
  padding: 0.5rem 1.25rem;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.section-title {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--rich-black);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.section-desc {
  color: #555;
  font-size: 1.05rem;
  line-height: 1.7;
}

/* ==================== CARDS ANIMÉES ==================== */
.feature-card {
  position: relative;
  background: white;
  border-radius: 1.5rem;
  padding: 2rem;
  box-shadow: 0 10px 40px -15px rgba(0, 0, 0, 0.12);
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition: var(--transition);
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--dark-gold), var(--gold), var(--dark-gold));
  background-size: 200% 100%;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(229, 184, 48, 0.2);
}

.feature-card:hover::before {
  transform: scaleX(1);
  animation: shimmer 2.5s linear infinite;
}

@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.card-icon-wrapper {
  width: 72px;
  height: 72px;
  border-radius: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, rgba(229, 184, 48, 0.12), rgba(200, 150, 12, 0.08));
  color: var(--dark-gold);
  font-size: 1.75rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card:hover .card-icon-wrapper {
  background: linear-gradient(135deg, var(--dark-gold), var(--gold));
  color: var(--rich-black);
  transform: rotateY(360deg) scale(1.05);
  box-shadow: 0 15px 35px -10px rgba(200, 150, 12, 0.4);
}

.card-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.card-desc {
  font-size: 0.9rem;
  color: #555;
  line-height: 1.6;
}

/* ==================== ACCREDITATION BADGES ==================== */
.accreditation-badge {
  text-align: center;
  padding: 1rem;
  border-radius: 12px;
  background: var(--cream);
  transition: var(--transition);
}

.accreditation-badge:hover {
  transform: translateY(-4px);
  background: white;
  box-shadow: 0 10px 30px -10px rgba(0,0,0,0.1);
}

/* ==================== FEE TABS & TABLES ==================== */
.fee-tabs {
  display: inline-flex;
  background: white;
  border-radius: 9999px;
  padding: 0.25rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.fee-tab {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.25rem;
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #666;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  font-family: inherit;
}

.fee-tab i { font-size: 0.75rem; }
.fee-tab:hover { color: var(--dark-gold); }

.fee-tab.active {
  background: linear-gradient(135deg, var(--gold), var(--dark-gold));
  color: var(--rich-black);
  box-shadow: 0 4px 12px rgba(200, 150, 12, 0.3);
}

.fee-content { display: none; animation: fadeIn 0.4s ease; }
.fee-content.active { display: block; }

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Correction pour les tableaux sur mobile */
.fee-table-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.fee-table {
  width: 100%;
  min-width: 600px; /* Force le scroll horizontal sur très petits écrans au lieu de casser */
  border-collapse: separate;
  border-spacing: 0;
  background: white;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
}

.fee-table thead {
  background: linear-gradient(135deg, var(--rich-black), #1a1a1a);
}

.fee-table thead th {
  padding: 1rem 1.25rem;
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-align: left;
}

.fee-table tbody tr {
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  transition: var(--transition);
}

.fee-table tbody tr:last-child { border-bottom: none; }
.fee-table tbody tr:hover { background: rgba(229, 184, 48, 0.04); }
.fee-table tbody tr.highlight { background: rgba(229, 184, 48, 0.03); }
.fee-table tbody tr.highlight:hover { background: rgba(229, 184, 48, 0.08); }

.fee-table tbody td {
  padding: 1rem 1.25rem;
  font-size: 0.9rem;
  color: var(--rich-black);
  vertical-align: middle;
}

.fee-table tbody td.text-right { white-space: nowrap; }

.badge-optional {
  display: inline-block;
  padding: 0.15rem 0.6rem;
  background: rgba(229, 184, 48, 0.15);
  color: var(--dark-gold);
  border-radius: 9999px;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-left: 0.5rem;
  border: 1px solid rgba(229, 184, 48, 0.3);
}

/* ==================== GALERIE VIE SCOLAIRE ==================== */
.school-life-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 220px);
  gap: 1.25rem;
}

.gallery-item {
  position: relative;
  border-radius: 1.25rem;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 15px 35px -10px rgba(0, 0, 0, 0.15);
  transition: var(--transition);
}

.gallery-item:hover {
  transform: scale(1.02);
  box-shadow: 0 25px 50px -15px rgba(0, 0, 0, 0.25);
}

/* Correction des spans sur mobile pour éviter les trous dans la grille */
.gallery-item:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.gallery-item:nth-child(4) { grid-column: span 2; }

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.gallery-item:hover img { transform: scale(1.08); }

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 10, 10, 0.95), transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.gallery-item:hover .gallery-overlay { opacity: 1; }

.gallery-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.gallery-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: white;
  line-height: 1.3;
}

/* ==================== TESTIMONIAL SLIDER ==================== */
.testimonial-slider {
  position: relative;
  overflow: hidden;
  padding: 0 1rem;
}

.testimonial-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-slide { min-width: 100%; padding: 0 0.5rem; }

.testimonial-card {
  background: white;
  border-radius: 2rem;
  padding: 2.5rem;
  box-shadow: 0 25px 50px -15px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(0, 0, 0, 0.06);
  position: relative;
  height: 100%;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 1.5rem;
  left: 2rem;
  font-size: 9rem;
  font-weight: 800;
  color: rgba(229, 184, 48, 0.08);
  font-family: Georgia, serif;
  line-height: 1;
  z-index: 0;
}

.testimonial-content {
  position: relative;
  z-index: 1;
  font-size: 1.1rem;
  font-style: italic;
  color: var(--rich-black);
  margin-bottom: 2rem;
  line-height: 1.8;
}

.testimonial-author { display: flex; align-items: center; gap: 1rem; }

.author-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--dark-gold));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--rich-black);
  font-weight: 700;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.author-name { font-weight: 700; color: var(--rich-black); font-size: 1rem; display: block; }
.author-role { color: var(--dark-gold); font-weight: 600; font-size: 0.85rem; }

.testimonial-nav { display: flex; justify-content: center; gap: 1rem; margin-top: 2rem; }

.testimonial-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  background: white;
  color: var(--dark-gold);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  font-size: 1.1rem;
  box-shadow: 0 4px 15px rgba(200, 150, 12, 0.2);
}

.testimonial-btn:hover {
  background: var(--gold);
  color: var(--rich-black);
  transform: scale(1.1) translateY(-2px);
  box-shadow: 0 8px 25px rgba(200, 150, 12, 0.35);
}

.testimonial-dots { display: flex; justify-content: center; gap: 0.6rem; margin-top: 1.5rem; }

.testimonial-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--cream-dark);
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
}

.testimonial-dot.active {
  background: var(--gold);
  width: 36px;
  border-radius: 6px;
  border-color: var(--dark-gold);
}

/* ==================== CHATBOX ==================== */
.chat-container { position: fixed; bottom: 2rem; right: 2rem; z-index: 1000; }

.chat-toggle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--dark-gold));
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(200, 150, 12, 0.4);
  transition: var(--transition);
  border: none;
  color: var(--rich-black);
  font-size: 1.5rem;
}

.chat-toggle:hover {
  transform: scale(1.08) rotate(5deg);
  box-shadow: 0 15px 40px rgba(200, 150, 12, 0.5);
}

.chat-toggle.active { transform: rotate(90deg); }

.chat-window {
  position: absolute;
  bottom: 80px;
  right: 0;
  width: 400px;
  max-width: 90vw;
  background: white;
  border-radius: 1.5rem;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  display: none;
  flex-direction: column;
  border: 1px solid rgba(0, 0, 0, 0.1);
  animation: slideUp 0.4s ease-out;
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(25px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.chat-header {
  background: linear-gradient(135deg, var(--rich-black), #1a1a1a);
  color: var(--gold);
  padding: 1.25rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid var(--gold);
}

.chat-header h3 { font-size: 1.05rem; font-weight: 700; display: flex; align-items: center; gap: 0.6rem; }

.chat-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  color: var(--cream);
}

.chat-close:hover { background: rgba(255, 255, 255, 0.1); transform: rotate(90deg); }

.chat-search { padding: 1rem 1.25rem; background: var(--cream); border-bottom: 1px solid rgba(0, 0, 0, 0.06); }

.chat-search input {
  width: 100%;
  padding: 0.85rem 1.25rem;
  border: 2px solid var(--cream-dark);
  border-radius: 0.875rem;
  font-size: 0.9rem;
  outline: none;
  transition: var(--transition);
  background: white;
}

.chat-search input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(229, 184, 48, 0.15);
}

.chat-search input::placeholder { color: #999; }

.chat-body {
  max-height: 420px;
  overflow-y: auto;
  padding: 1rem 1.25rem;
  background: var(--cream);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  background: white;
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.06);
  transition: var(--transition);
}

.faq-item:hover {
  border-color: rgba(229, 184, 48, 0.3);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.faq-question {
  padding: 1rem 1.25rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  transition: var(--transition);
  border-left: 4px solid var(--gold);
  font-size: 0.95rem;
  color: var(--rich-black);
}

.faq-question:hover { background: rgba(229, 184, 48, 0.06); }
.faq-question i { color: var(--dark-gold); transition: transform 0.3s ease; font-size: 0.85rem; }
.faq-question.active { background: rgba(229, 184, 48, 0.1); }
.faq-question.active i { transform: rotate(180deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: all 0.35s ease;
  padding: 0 1.25rem;
  background: rgba(245, 240, 224, 0.6);
  font-size: 0.9rem;
  color: var(--rich-black);
  line-height: 1.65;
}

.faq-answer.show {
  /* Assez haut pour la plus longue réponse, y compris en français, plus
     verbeux d'environ 15 %. Une valeur trop basse tronquerait le texte. */
  max-height: 900px;
  padding: 1rem 1.25rem;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.faq-answer p { margin: 0; }

/* La question est un <button> pour rester accessible au clavier et aux
   lecteurs d'écran ; ces règles annulent l'apparence native du bouton. */
button.faq-question {
  width: 100%;
  background: none;
  border: none;
  border-left: 4px solid var(--gold);
  font-family: inherit;
  text-align: left;
  color: var(--rich-black);
}

button.faq-question:focus-visible {
  outline: 2px solid var(--dark-gold);
  outline-offset: -2px;
}

.chat-footer {
  padding: 1rem 1.25rem;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  text-align: center;
  font-size: 0.85rem;
  color: var(--rich-black);
  background: white;
  font-weight: 500;
}

/* ==================== FOOTER ÉPURÉ ==================== */
footer {
  background: var(--rich-black);
  color: rgba(255, 255, 255, 0.85);
  padding-top: 4rem;
  border-top: 1px solid rgba(229, 184, 48, 0.2);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer-wordmark { font-weight: 800; font-size: 1.4rem; color: white; }
.footer-tagline { color: var(--dark-gold); font-weight: 600; font-size: 0.8rem; }
.footer-desc { margin: 1rem 0 1.5rem; line-height: 1.6; font-size: 0.9rem; }

.footer-col-title {
  color: white;
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--gold);
}

.footer-links { list-style: none; }
.footer-links li { margin-bottom: 0.75rem; }

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 500;
  font-size: 0.9rem;
}

.footer-links a:hover { color: var(--gold); transform: translateX(5px); }
.footer-links a i { font-size: 0.7rem; opacity: 0.8; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.5rem 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 0.9rem;
}

.footer-bottom-text { color: rgba(255, 255, 255, 0.7); }
.footer-bottom-links { display: flex; gap: 1.5rem; }
.footer-bottom-links a { color: rgba(255, 255, 255, 0.7); text-decoration: none; transition: var(--transition); }
.footer-bottom-links a:hover { color: var(--gold); }

/* ==================== BACK TO TOP ==================== */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--dark-gold));
  color: var(--rich-black);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  box-shadow: 0 8px 25px rgba(200, 150, 12, 0.35);
  transition: var(--transition);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
}

.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { transform: translateY(-5px); box-shadow: 0 12px 35px rgba(200, 150, 12, 0.5); }

/* ==================== SCROLL INDICATOR ==================== */
.scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  color: rgba(255, 255, 255, 0.7);
  animation: bounce 2.5s infinite;
  z-index: 2;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
  40% { transform: translateX(-50%) translateY(-18px); }
  60% { transform: translateX(-50%) translateY(-10px); }
}

.scroll-mouse {
  width: 30px;
  height: 50px;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 20px;
  position: relative;
}

.scroll-wheel {
  width: 4px;
  height: 10px;
  background: var(--gold);
  border-radius: 2px;
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  animation: scroll-wheel 2s infinite;
}

@keyframes scroll-wheel {
  0% { opacity: 1; top: 10px; }
  100% { opacity: 0; top: 24px; }
}

.scroll-label { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; }

/* ==================== WELCOME MODAL ==================== */
.welcome-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
}

.welcome-modal-overlay.show { opacity: 1; visibility: visible; }

.welcome-modal {
  background: white;
  border-radius: 2rem;
  max-width: 520px;
  width: 100%;
  max-height: 92vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(229, 184, 48, 0.2);
  transform: scale(0.9) translateY(30px);
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.welcome-modal-overlay.show .welcome-modal { transform: scale(1) translateY(0); }

.welcome-modal::-webkit-scrollbar { width: 6px; }
.welcome-modal::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 3px; }

.welcome-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  border: none;
  color: var(--rich-black);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  z-index: 10;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.welcome-close:hover {
  background: var(--gold);
  color: var(--rich-black);
  transform: rotate(90deg) scale(1.1);
}

.welcome-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: linear-gradient(135deg, var(--gold), var(--dark-gold));
  color: var(--rich-black);
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  z-index: 5;
  box-shadow: 0 4px 15px rgba(229, 184, 48, 0.4);
  animation: pulse-badge 2s infinite;
}

@keyframes pulse-badge {
  0%, 100% { box-shadow: 0 4px 15px rgba(229, 184, 48, 0.4); }
  50% { box-shadow: 0 4px 25px rgba(229, 184, 48, 0.7); }
}

.welcome-image {
  position: relative;
  width: 100%;
  height: 240px;
  overflow: hidden;
  border-radius: 2rem 2rem 0 0;
}

.welcome-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.welcome-modal:hover .welcome-image img { transform: scale(1.05); }

.welcome-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 10, 10, 0.7) 0%, transparent 60%);
}

.welcome-content { padding: 2rem 2rem 1.5rem; text-align: center; }

.welcome-title {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--rich-black);
  margin-bottom: 0.75rem;
  line-height: 1.2;
}

.welcome-text { color: #555; font-size: 0.95rem; line-height: 1.6; margin-bottom: 1.5rem; }

.welcome-features {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  text-align: left;
  background: var(--cream);
  padding: 1.25rem;
  border-radius: 1rem;
  border: 1px solid rgba(229, 184, 48, 0.2);
}

.welcome-features li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  color: var(--rich-black);
  font-weight: 500;
  padding: 0.4rem 0;
}

.welcome-features li + li {
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  margin-top: 0.4rem;
  padding-top: 0.8rem;
}

.welcome-features i { color: var(--gold); font-size: 1rem; flex-shrink: 0; }

.welcome-actions { display: flex; flex-direction: column; gap: 0.75rem; margin-bottom: 1.25rem; }

.welcome-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.95rem 1.5rem;
  background: linear-gradient(135deg, var(--gold), var(--dark-gold));
  color: var(--rich-black);
  border-radius: 9999px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition: var(--transition);
  box-shadow: 0 8px 25px rgba(200, 150, 12, 0.35);
  border: none;
  cursor: pointer;
}

.welcome-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(200, 150, 12, 0.5);
}

.welcome-btn-primary i { transition: transform 0.3s ease; }
.welcome-btn-primary:hover i { transform: translateX(4px); }

.welcome-btn-secondary {
  padding: 0.75rem;
  background: transparent;
  color: #666;
  border: 2px solid rgba(0, 0, 0, 0.08);
  border-radius: 9999px;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: var(--transition);
  font-family: inherit;
}

.welcome-btn-secondary:hover { border-color: var(--gold); color: var(--dark-gold); }

.welcome-contact {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: #888;
  padding-top: 1rem;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  flex-wrap: wrap;
}

.welcome-contact i { color: var(--gold); font-size: 0.7rem; }
.welcome-contact .separator { color: #ddd; }

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1024px) {
  .school-life-gallery {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, 200px);
  }
  .gallery-item:nth-child(1) { grid-column: span 2; grid-row: span 1; }
  .gallery-item:nth-child(4) { grid-column: span 2; }
  
  .hero-carousel-container { height: 380px; }
}

@media (max-width: 768px) {
  html { font-size: 14.5px; }
  .section-title { font-size: 1.85rem; }
  
  .school-life-gallery {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(4, 220px);
  }
  /* Correction cruciale : annuler les spans sur mobile pour éviter les trous */
  .gallery-item:nth-child(1), .gallery-item:nth-child(4) { grid-column: span 1; grid-row: span 1; }
  
  .chat-window { width: calc(100vw - 2rem); right: -1rem; }
  
  .hero-carousel-container { height: 300px; }
  
  .fee-table thead th, .fee-table tbody td { padding: 0.75rem 0.85rem; font-size: 0.8rem; }
  .fee-tab { padding: 0.4rem 0.9rem; font-size: 0.75rem; }
  .fee-tab span { display: none; }
  .fee-tab i { font-size: 0.9rem; }
}

@media (max-width: 480px) {
  html { font-size: 14px; }
  .hero-title { font-size: 2rem; }
  
  .welcome-modal { border-radius: 1.5rem; max-height: 95vh; }
  .welcome-image { height: 180px; border-radius: 1.5rem 1.5rem 0 0; }
  .welcome-content { padding: 1.5rem; }
  .welcome-title { font-size: 1.4rem; }
  .welcome-text { font-size: 0.9rem; }
  .welcome-badge { font-size: 0.6rem; padding: 0.4rem 0.75rem; }
  .welcome-close { width: 36px; height: 36px; top: 0.75rem; right: 0.75rem; }
}

/* ==================== SCROLLBAR ==================== */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--cream); }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: var(--dark-gold); }

/* ==================== ANIMATIONS ==================== */
.animate-fade-in { animation: fadeIn 0.6s ease-out forwards; }
.animate-fade-in-up { animation: fadeInUp 0.7s ease-out forwards; }
.animation-delay-200 { animation-delay: 0.2s; }
.animation-delay-400 { animation-delay: 0.4s; }
.animation-delay-600 { animation-delay: 0.6s; }

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }

[data-aos] { will-change: transform, opacity; }
[data-aos].aos-animate { transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); }

@keyframes bounce-slow { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.animate-bounce-slow { animation: bounce-slow 3s ease-in-out infinite; }


/* ==================== PROGRAM TIMELINE ==================== */
.program-timeline {
  position: relative;
  padding-left: 2rem;
  max-width: 800px;
  margin: 0 auto;
}

.program-timeline::before {
  content: '';
  position: absolute;
  left: 23px; /* Centre la ligne avec le marqueur de 48px */
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--gold), var(--dark-gold), transparent);
  border-radius: 2px;
}

.timeline-item {
  position: relative;
  margin-bottom: 2rem;
  display: flex;
  gap: 1.5rem;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-marker {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--dark-gold));
  color: var(--rich-black);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  z-index: 2;
  box-shadow: 0 0 0 6px var(--cream); /* Crée un espace propre autour de la ligne */
  transition: var(--transition);
}

.timeline-item:hover .timeline-marker {
  transform: scale(1.1);
  box-shadow: 0 0 0 6px var(--cream), 0 10px 20px rgba(229, 184, 48, 0.3);
}

.timeline-content {
  flex: 1;
  background: white;
  padding: 1.5rem;
  border-radius: 1rem;
  border: 1px solid rgba(0, 0, 0, 0.04);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  transition: var(--transition);
}

.timeline-item:hover .timeline-content {
  transform: translateX(8px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  border-color: rgba(229, 184, 48, 0.2);
}

.timeline-badge {
  display: inline-block;
  background: rgba(229, 184, 48, 0.1);
  color: var(--dark-gold);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.timeline-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--rich-black);
  margin-bottom: 0.5rem;
}

.timeline-desc {
  color: #555;
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ==================== ENRICHMENT CARDS ==================== */
.enrichment-card {
  background: white;
  padding: 1.5rem;
  border-radius: 1rem;
  border: 1px solid rgba(0, 0, 0, 0.04);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
  transition: var(--transition);
  text-align: center;
}

.enrichment-card:hover {
  transform: translateY(-6px);
  border-color: rgba(229, 184, 48, 0.3);
  box-shadow: 0 15px 30px rgba(200, 150, 12, 0.15);
}

.enrichment-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1rem;
  border-radius: 1rem;
  background: linear-gradient(135deg, rgba(229, 184, 48, 0.15), rgba(200, 150, 12, 0.08));
  color: var(--dark-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  transition: var(--transition);
}

.enrichment-card:hover .enrichment-icon {
  background: linear-gradient(135deg, var(--gold), var(--dark-gold));
  color: var(--rich-black);
  transform: scale(1.1) rotate(5deg);
}

.enrichment-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--rich-black);
  margin-bottom: 0.5rem;
}

.enrichment-desc {
  color: #666;
  font-size: 0.85rem;
  line-height: 1.5;
}

/* ==================== FREE ENGLISH BANNER ==================== */
.free-english-banner {
  background: linear-gradient(135deg, var(--rich-black) 0%, #1a1a1a 100%);
  border: 1px solid rgba(229, 184, 48, 0.3);
  border-radius: 1.5rem;
  padding: 2rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.free-english-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(229, 184, 48, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.banner-icon {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--dark-gold));
  color: var(--rich-black);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  box-shadow: 0 10px 25px rgba(229, 184, 48, 0.3);
  z-index: 2;
}

.banner-content {
  flex: 1;
  z-index: 2;
}

.banner-label {
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.25rem;
}

.banner-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: white;
  margin-bottom: 0.5rem;
}

.banner-desc {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
  line-height: 1.6;
}

.banner-desc strong {
  color: var(--gold);
}

.banner-badge {
  flex-shrink: 0;
  background: #10b981;
  color: white;
  padding: 0.5rem 1.25rem;
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
  z-index: 2;
  animation: pulse-badge 2s infinite;
}

/* ==================== RESPONSIVE TIMELINE & BANNER ==================== */
@media (max-width: 768px) {
  .program-timeline {
    padding-left: 1.5rem;
  }
  .program-timeline::before {
    left: 15px;
  }
  .timeline-marker {
    width: 32px;
    height: 32px;
    font-size: 0.85rem;
    box-shadow: 0 0 0 4px var(--cream);
  }
  .timeline-content {
    padding: 1.25rem;
  }
  
  .free-english-banner {
    flex-direction: column;
    text-align: center;
    padding: 2rem 1.5rem;
    gap: 1rem;
  }
  .banner-badge {
    margin-top: 0.5rem;
  }
}

/* ==================== DIFFERENCE GRID ==================== */
.difference-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .difference-grid {
    grid-template-columns: 1fr;
  }
}

/* ==================== DIFFERENCE CARD ==================== */
.difference-card {
  background: white;
  border-radius: 1.5rem;
  padding: 2rem;
  border: 1px solid rgba(0, 0, 0, 0.04);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* Ligne dorée animée en haut */
.difference-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--dark-gold), var(--gold), var(--dark-gold));
  background-size: 200% 100%;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s ease;
}

/* Halo doré en arrière-plan au hover */
.difference-card::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(229, 184, 48, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.difference-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px -15px rgba(200, 150, 12, 0.25);
  border-color: rgba(229, 184, 48, 0.3);
}

.difference-card:hover::before {
  transform: scaleX(1);
  animation: shimmer 2.5s linear infinite;
}

.difference-card:hover::after {
  opacity: 1;
}

@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* Header de la carte */
.diff-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
  position: relative;
  z-index: 2;
}

.diff-number {
  font-family: 'JetBrains Mono', monospace;
  font-size: 2.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--gold) 0%, var(--dark-gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  opacity: 0.9;
  transition: var(--transition);
}

.difference-card:hover .diff-number {
  opacity: 1;
  transform: scale(1.05);
}

.diff-icon-wrapper {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 1rem;
  background: linear-gradient(135deg, rgba(229, 184, 48, 0.15), rgba(200, 150, 12, 0.08));
  color: var(--dark-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  transition: var(--transition);
}

.difference-card:hover .diff-icon-wrapper {
  background: linear-gradient(135deg, var(--gold), var(--dark-gold));
  color: var(--rich-black);
  transform: rotate(5deg) scale(1.1);
  box-shadow: 0 10px 25px rgba(200, 150, 12, 0.3);
}

/* Titre */
.diff-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--rich-black);
  margin-bottom: 0.75rem;
  line-height: 1.3;
  position: relative;
  z-index: 2;
}

/* Description */
.diff-desc {
  color: #555;
  font-size: 0.9rem;
  line-height: 1.65;
  margin-bottom: 1.25rem;
  flex: 1;
  position: relative;
  z-index: 2;
}

/* Footer avec tags */
.diff-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  position: relative;
  z-index: 2;
}

.diff-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.75rem;
  background: rgba(229, 184, 48, 0.1);
  color: var(--dark-gold);
  border-radius: 9999px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  border: 1px solid rgba(229, 184, 48, 0.2);
  transition: var(--transition);
}

.diff-tag i {
  font-size: 0.6rem;
}

.difference-card:hover .diff-tag {
  background: rgba(229, 184, 48, 0.15);
  border-color: rgba(229, 184, 48, 0.4);
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 640px) {
  .difference-card {
    padding: 1.5rem;
  }
  .diff-number {
    font-size: 2rem;
  }
  .diff-icon-wrapper {
    width: 48px;
    height: 48px;
    font-size: 1.2rem;
  }
  .diff-title {
    font-size: 1.05rem;
  }
  .diff-desc {
    font-size: 0.85rem;
  }
}

/* ==================== PARTNERSHIPS CTA ==================== */
.partnerships-cta {
  position: relative;
  background: linear-gradient(135deg, var(--rich-black) 0%, #1a1a1a 100%);
  border-radius: 2rem;
  padding: 4rem 2rem;
  margin-top: 4rem;
  overflow: hidden;
  border: 1px solid rgba(229, 184, 48, 0.3);
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.4);
}

/* Grille technologique animée */
.cta-bg-grid {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(229, 184, 48, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(229, 184, 48, 0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: 0.6;
  pointer-events: none;
}

/* Circuit pattern */
.cta-bg-circuit {
  position: absolute;
  inset: 0;
  opacity: 0.06;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23E5B830' fill-opacity='0.4'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

/* Lueurs dorées animées */
.cta-bg-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.25;
  animation: cta-glow-pulse 8s ease-in-out infinite;
  pointer-events: none;
}

.cta-glow-1 {
  width: 400px;
  height: 400px;
  background: var(--dark-gold);
  top: -100px;
  left: -100px;
  animation-delay: 0s;
}

.cta-glow-2 {
  width: 350px;
  height: 350px;
  background: var(--gold);
  bottom: -100px;
  right: -100px;
  animation-delay: 4s;
}

@keyframes cta-glow-pulse {
  0%, 100% { transform: scale(1); opacity: 0.2; }
  50% { transform: scale(1.2); opacity: 0.35; }
}

/* Contenu */
.cta-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

/* Icône de citation */
.cta-quote-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--dark-gold));
  color: var(--rich-black);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  box-shadow: 0 15px 40px rgba(229, 184, 48, 0.4);
  position: relative;
}

.cta-quote-icon::after {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 2px dashed rgba(229, 184, 48, 0.4);
  animation: rotate 20s linear infinite;
}

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Texte de la citation */
.cta-text {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.8;
  margin-bottom: 2rem;
  font-style: italic;
}

.cta-text strong {
  color: var(--gold);
  font-weight: 800;
  font-style: normal;
}

/* Badges d'accréditation */
.cta-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.cta-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.85rem;
  background: rgba(229, 184, 48, 0.1);
  color: var(--gold);
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  border: 1px solid rgba(229, 184, 48, 0.3);
  transition: var(--transition);
}

.cta-badge i {
  font-size: 0.7rem;
}

.cta-badge:hover {
  background: rgba(229, 184, 48, 0.2);
  transform: translateY(-2px);
}

/* Bouton CTA */
.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1rem 2rem;
  background: linear-gradient(135deg, var(--gold), var(--dark-gold));
  color: var(--rich-black);
  border-radius: 9999px;
  font-weight: 800;
  font-size: 1rem;
  text-decoration: none;
  transition: var(--transition);
  box-shadow: 0 10px 30px rgba(229, 184, 48, 0.4);
  position: relative;
  overflow: hidden;
}

.cta-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.6s ease;
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(229, 184, 48, 0.6);
  background: white;
}

.cta-button:hover::before {
  left: 100%;
}

.cta-button i {
  transition: transform 0.3s ease;
}

.cta-button:hover i {
  transform: translateX(5px);
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 768px) {
  .partnerships-cta {
    padding: 3rem 1.5rem;
    border-radius: 1.5rem;
    margin-top: 3rem;
  }
  
  .cta-quote-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }
  
  .cta-text {
    font-size: 1rem;
  }
  
  .cta-badges {
    gap: 0.4rem;
  }
  
  .cta-badge {
    font-size: 0.7rem;
    padding: 0.35rem 0.7rem;
  }
  
  .cta-button {
    padding: 0.85rem 1.75rem;
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .partnerships-cta {
    padding: 2.5rem 1.25rem;
  }
  
  .cta-text {
    font-size: 0.95rem;
  }
  
  .cta-badges {
    flex-direction: column;
    align-items: center;
  }
  
  .cta-badge {
    width: 100%;
    max-width: 200px;
    justify-content: center;
  }
}

/* ==================== CHATBOX CONTACT & DOWNLOAD ==================== */
.contact-chat-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 0.75rem;
  background: var(--cream);
  border-radius: 0.75rem;
  transition: var(--transition);
  text-decoration: none;
}

.contact-item:hover {
  background: rgba(229, 184, 48, 0.15);
  transform: translateX(4px);
}

.contact-item-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--dark-gold));
  color: var(--rich-black);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.contact-item-info {
  display: flex;
  flex-direction: column;
}

.contact-label {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--dark-gold);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.15rem;
}

.contact-value {
  font-size: 0.85rem;
  color: var(--rich-black);
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
  word-break: break-word;
}

.contact-value:hover {
  color: var(--dark-gold);
}

.chat-divider {
  border: none;
  border-top: 1px dashed rgba(0, 0, 0, 0.15);
  margin: 0.25rem 0;
}

.download-section {
  text-align: center;
  padding: 1.25rem 1rem;
  background: linear-gradient(135deg, rgba(229, 184, 48, 0.08), rgba(200, 150, 12, 0.04));
  border-radius: 1rem;
  border: 1px solid rgba(229, 184, 48, 0.25);
}

.download-text {
  font-size: 0.9rem;
  color: var(--rich-black);
  font-weight: 700;
  margin-bottom: 0.85rem;
}

.download-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  width: 100%;
  padding: 0.85rem;
  background: linear-gradient(135deg, var(--rich-black), #1a1a1a);
  color: var(--gold);
  border: 1px solid var(--gold);
  border-radius: 0.75rem;
  font-weight: 700;
  font-size: 0.85rem;
  text-decoration: none;
  transition: var(--transition);
  margin-bottom: 0.6rem;
}

.download-btn:hover {
  background: var(--gold);
  color: var(--rich-black);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(200, 150, 12, 0.3);
}

.download-btn i.fa-download {
  margin-left: auto;
}

.download-note {
  font-size: 0.7rem;
  color: #666;
  line-height: 1.4;
}

.chat-footer {
  padding: 0.85rem 1.25rem;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  text-align: center;
  font-size: 0.75rem;
  color: #666;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

.chat-footer i {
  color: var(--gold);
}