/* =========================================
   AGENCE GÉNÉRATION FUTURE — STYLE PREMIUM
   ========================================= */

:root {
  --navy: #1B2E6B;
  --navy-dark: #121f4a;
  --navy-light: #243680;
  --red: #E63946;
  --red-dark: #c62835;
  --white: #FFFFFF;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-400: #94a3b8;
  --gray-600: #475569;
  --gray-800: #1e293b;
  --dark-bg: #0f1929;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.12), 0 1px 2px rgba(0,0,0,.08);
  --shadow: 0 4px 6px rgba(0,0,0,.1), 0 2px 4px rgba(0,0,0,.06);
  --shadow-lg: 0 10px 25px rgba(0,0,0,.15), 0 4px 10px rgba(0,0,0,.1);
  --shadow-xl: 0 20px 40px rgba(0,0,0,.2);
  --radius: 12px;
  --radius-lg: 20px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ---- UTILS ---- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 5rem 0; }
.bg-dark { background: var(--dark-bg); }
.bg-light { background: var(--gray-50); }

/* ---- SECTION HEADER ---- */
.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-header.light .section-title,
.section-header.light .section-subtitle { color: var(--white); }

.section-tag {
  display: inline-block;
  background: rgba(27,46,107,.08);
  color: var(--navy);
  border: 1px solid rgba(27,46,107,.15);
  border-radius: 50px;
  padding: .35rem 1.1rem;
  font-size: .8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 1rem;
}
.section-tag.light {
  background: rgba(255,255,255,.1);
  color: var(--white);
  border-color: rgba(255,255,255,.2);
}

.section-title { font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 800; color: var(--gray-800); margin-bottom: .75rem; line-height: 1.2; }
.section-subtitle { font-size: 1.05rem; color: var(--gray-600); max-width: 600px; margin: 0 auto; }

/* ---- BUTTONS ---- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  background: var(--red);
  color: var(--white);
  padding: .85rem 1.8rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: .95rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(230,57,70,.35);
}
.btn-primary:hover { background: var(--red-dark); transform: translateY(-2px); box-shadow: 0 8px 25px rgba(230,57,70,.45); }
.btn-primary svg { width: 20px; height: 20px; flex-shrink: 0; }
.btn-primary.large { padding: 1.1rem 2.2rem; font-size: 1.05rem; }
.btn-primary.full-width { width: 100%; justify-content: center; border-radius: var(--radius); }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(255,255,255,.12);
  color: var(--white);
  padding: .85rem 1.8rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: .95rem;
  text-decoration: none;
  border: 2px solid rgba(255,255,255,.3);
  cursor: pointer;
  transition: var(--transition);
  backdrop-filter: blur(8px);
}
.btn-secondary:hover { background: rgba(255,255,255,.2); border-color: rgba(255,255,255,.5); transform: translateY(-2px); }

/* ==============================
   NAVBAR
   ============================== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 1rem 0;
  transition: var(--transition);
  background: transparent;
}
.navbar.scrolled {
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow);
  padding: .6rem 0;
}
.navbar.scrolled .nav-link { color: var(--gray-800); }
.navbar.scrolled .logo-main { color: var(--navy); }
.navbar.scrolled .logo-sub { color: var(--gray-600); }
.navbar.scrolled .nav-toggle span { background: var(--gray-800); }

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: .75rem;
  text-decoration: none;
}
.logo-icon svg { width: 40px; height: 40px; }
.logo-text { display: flex; flex-direction: column; }
.logo-main { font-size: 1rem; font-weight: 800; color: var(--white); line-height: 1.2; }
.logo-sub { font-size: .7rem; color: rgba(255,255,255,.7); }

.nav-links {
  display: flex;
  align-items: center;
  gap: .25rem;
  list-style: none;
}
.nav-link {
  text-decoration: none;
  color: rgba(255,255,255,.9);
  font-weight: 500;
  font-size: .9rem;
  padding: .5rem .85rem;
  border-radius: 50px;
  transition: var(--transition);
}
.nav-link:hover { background: rgba(255,255,255,.12); color: var(--white); }
.nav-cta {
  background: var(--red) !important;
  color: var(--white) !important;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(230,57,70,.35);
}
.nav-cta:hover { background: var(--red-dark) !important; transform: translateY(-1px); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: .5rem;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

/* ==============================
   HERO
   ============================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 50%, #2d4a9e 100%);
  overflow: hidden;
}

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

.hero-overlay {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 60% 50%, rgba(230,57,70,.15) 0%, transparent 60%),
              radial-gradient(ellipse at 20% 80%, rgba(45,74,158,.4) 0%, transparent 50%);
}

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

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 8rem 1.5rem 4rem;
  max-width: 800px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  color: rgba(255,255,255,.9);
  border-radius: 50px;
  padding: .4rem 1.2rem;
  font-size: .82rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(8px);
  animation: fadeInDown .8s ease both;
}
.badge-dot {
  width: 8px; height: 8px;
  background: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 0 2px rgba(34,197,94,.3);
  animation: pulse 2s infinite;
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 1.25rem;
  animation: fadeInUp .8s .1s ease both;
}
.title-line { display: block; }
.title-highlight {
  display: block;
  background: linear-gradient(135deg, #f87171, var(--red), #fb923c);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: rgba(255,255,255,.8);
  max-width: 580px;
  margin: 0 auto 2rem;
  line-height: 1.7;
  animation: fadeInUp .8s .2s ease both;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
  animation: fadeInUp .8s .3s ease both;
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius-lg);
  padding: 1.25rem 2rem;
  animation: fadeInUp .8s .4s ease both;
}
.stat-item { text-align: center; padding: 0 1.5rem; }
.stat-number { display: block; font-size: 1.75rem; font-weight: 900; color: var(--white); line-height: 1; }
.stat-label { font-size: .78rem; color: rgba(255,255,255,.6); text-transform: uppercase; letter-spacing: .05em; margin-top: .25rem; display: block; }
.stat-divider { width: 1px; height: 40px; background: rgba(255,255,255,.2); }

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .4rem;
  color: rgba(255,255,255,.5);
  font-size: .75rem;
  animation: fadeIn 1s 1s ease both;
}
.scroll-indicator {
  width: 24px; height: 40px;
  border: 2px solid rgba(255,255,255,.3);
  border-radius: 12px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 6px;
}
.scroll-dot {
  width: 4px; height: 8px;
  background: var(--white);
  border-radius: 2px;
  animation: scrollAnim 2s infinite;
}

/* ==============================
   TICKER
   ============================== */
.ticker-wrapper {
  background: var(--red);
  overflow: hidden;
  padding: .7rem 0;
  position: relative;
}
.ticker-content {
  display: inline-flex;
  gap: 0;
  animation: ticker 30s linear infinite;
  white-space: nowrap;
}
.ticker-content span {
  color: var(--white);
  font-weight: 600;
  font-size: .875rem;
  padding: 0 2.5rem;
  border-right: 1px solid rgba(255,255,255,.3);
}

/* ==============================
   SERVICES
   ============================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 2rem;
  position: relative;
  transition: var(--transition);
  animation: fadeInUp .6s ease both;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-xl); border-color: transparent; }
.service-card.featured {
  border-color: var(--red);
  background: linear-gradient(135deg, #fff5f5 0%, var(--white) 100%);
  box-shadow: 0 0 0 1px var(--red), var(--shadow-lg);
}

.card-badge {
  position: absolute;
  top: -12px; right: 1.5rem;
  background: var(--red);
  color: var(--white);
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  padding: .3rem .8rem;
  border-radius: 50px;
}

.card-icon-wrap {
  width: 56px; height: 56px;
  background: color-mix(in srgb, var(--color) 12%, transparent);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--color);
}
.card-icon-wrap svg { width: 26px; height: 26px; }

.service-card h3 { font-size: 1.15rem; font-weight: 700; color: var(--gray-800); margin-bottom: .5rem; }
.service-card p { font-size: .9rem; color: var(--gray-600); margin-bottom: 1rem; line-height: 1.6; }

.service-list { list-style: none; margin-bottom: 1.25rem; }
.service-list li {
  font-size: .875rem;
  color: var(--gray-600);
  padding: .3rem 0;
  padding-left: 1.25rem;
  position: relative;
}
.service-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--red);
  font-weight: 700;
  font-size: .8rem;
}

.card-btn {
  display: inline-flex;
  align-items: center;
  color: var(--navy);
  font-weight: 700;
  font-size: .875rem;
  text-decoration: none;
  transition: var(--transition);
  gap: .25rem;
}
.card-btn:hover { color: var(--red); gap: .5rem; }

/* ==============================
   BOURSES
   ============================== */
.bourses-featured { margin-bottom: 3rem; }

.bourse-highlight {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.bourse-flag { font-size: 4rem; flex-shrink: 0; }

.bourse-info { flex: 1; min-width: 200px; }
.bourse-info h3 { font-size: 1.5rem; font-weight: 700; color: var(--white); margin-bottom: .5rem; }
.bourse-info p { color: rgba(255,255,255,.7); line-height: 1.6; margin-bottom: 1rem; }

.bourse-tags { display: flex; flex-wrap: wrap; gap: .5rem; }
.tag {
  background: rgba(230,57,70,.2);
  color: #fca5a5;
  border: 1px solid rgba(230,57,70,.3);
  border-radius: 50px;
  padding: .25rem .75rem;
  font-size: .8rem;
  font-weight: 500;
}

.calendrier-section { margin-bottom: 3rem; }
.calendrier-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1.5rem;
  text-align: center;
}
.calendrier-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
}
.cal-item {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius);
  padding: 1.25rem 1rem;
  text-align: center;
  transition: var(--transition);
}
.cal-item.active {
  background: rgba(230,57,70,.15);
  border-color: rgba(230,57,70,.4);
}
.cal-month { font-size: 1rem; font-weight: 700; color: var(--white); }
.cal-year { font-size: .75rem; color: rgba(255,255,255,.5); margin-bottom: .5rem; }
.cal-desc { font-size: .75rem; color: rgba(255,255,255,.65); margin-bottom: .75rem; line-height: 1.4; }
.cal-badge {
  display: inline-block;
  background: rgba(255,255,255,.1);
  color: rgba(255,255,255,.6);
  border-radius: 50px;
  padding: .2rem .6rem;
  font-size: .7rem;
  font-weight: 600;
}
.cal-badge.open {
  background: rgba(34,197,94,.2);
  color: #86efac;
}

.bourse-steps { margin-bottom: 2.5rem; }
.bourse-steps h3 { font-size: 1.3rem; font-weight: 700; color: var(--white); margin-bottom: 1.5rem; text-align: center; }

.steps-row {
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
  justify-content: center;
}
.step {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
  flex: 1;
  min-width: 160px;
  max-width: 220px;
}
.step-num {
  font-size: 2rem;
  font-weight: 900;
  color: var(--red);
  opacity: .7;
  line-height: 1;
  margin-bottom: .5rem;
}
.step h4 { font-size: .9rem; font-weight: 700; color: var(--white); margin-bottom: .4rem; }
.step p { font-size: .8rem; color: rgba(255,255,255,.6); line-height: 1.5; }
.step-arrow { font-size: 1.5rem; color: rgba(255,255,255,.3); padding: 0 .75rem; flex-shrink: 0; }

.bourse-cta { text-align: center; }

/* ==============================
   À PROPOS
   ============================== */
.apropos-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
  align-items: center;
}

.apropos-visual {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 1rem;
}
.ap-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.ap-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.main-card {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  border: none;
  color: var(--white);
  text-align: center;
  padding: 2rem;
}
.ap-icon { font-size: 2.5rem; margin-bottom: .75rem; }
.main-card h3 { font-size: 1.2rem; font-weight: 700; color: var(--white); }
.main-card p { color: rgba(255,255,255,.7); font-size: .875rem; }

.stat-card {
  background: linear-gradient(135deg, var(--red), #f97316);
  border: none;
  color: var(--white);
  text-align: center;
}
.big-num { display: block; font-size: 2.25rem; font-weight: 900; line-height: 1; color: var(--white); }
.big-label { font-size: .78rem; color: rgba(255,255,255,.8); margin-top: .25rem; display: block; }

.trust-card { text-align: center; }
.stars { font-size: 1.25rem; color: #f59e0b; margin-bottom: .4rem; }
.trust-card p { font-size: .8rem; color: var(--gray-600); font-weight: 500; }

.apropos-content .section-tag { display: block; width: fit-content; }
.apropos-content h2 { font-size: 2rem; font-weight: 800; color: var(--gray-800); margin: .75rem 0 1rem; line-height: 1.25; }
.ap-intro { font-size: 1.05rem; color: var(--gray-700, #374151); font-weight: 500; margin-bottom: 1rem; line-height: 1.7; }
.apropos-content > p { color: var(--gray-600); line-height: 1.7; margin-bottom: 1.5rem; }

.ap-values { display: flex; flex-direction: column; gap: .75rem; margin-bottom: 1.75rem; }
.value-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem;
  background: var(--gray-50);
  border-radius: var(--radius);
}
.value-icon { font-size: 1.4rem; flex-shrink: 0; }
.value-item h4 { font-size: .95rem; font-weight: 700; color: var(--gray-800); margin-bottom: .2rem; }
.value-item p { font-size: .85rem; color: var(--gray-600); }

.ap-adresses h4 { font-size: 1rem; font-weight: 700; color: var(--gray-800); margin-bottom: .75rem; }
.adresse-item {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  padding: .75rem 0;
  border-bottom: 1px solid var(--gray-100);
  font-size: .9rem;
  color: var(--gray-600);
}
.adresse-item:last-child { border-bottom: none; }
.addr-pin { font-size: 1.1rem; flex-shrink: 0; margin-top: .1rem; }
.adresse-item strong { color: var(--gray-800); }

/* ==============================
   TÉMOIGNAGES
   ============================== */
.temoignages-slider { overflow: hidden; border-radius: var(--radius-lg); }
.temoignages-track {
  display: flex;
  gap: 1.5rem;
  transition: transform .5s cubic-bezier(0.4, 0, 0.2, 1);
}

.temoignage-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 2rem;
  min-width: calc(33.333% - 1rem);
  box-shadow: var(--shadow);
  flex-shrink: 0;
}
.temo-stars { color: #f59e0b; font-size: 1.1rem; margin-bottom: .75rem; }
.temoignage-card p { font-size: .95rem; color: var(--gray-600); line-height: 1.7; margin-bottom: 1.25rem; font-style: italic; }
.temo-author { display: flex; align-items: center; gap: .75rem; }
.temo-avatar {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-size: .85rem;
  flex-shrink: 0;
}
.temo-author strong { display: block; font-size: .9rem; color: var(--gray-800); }
.temo-author span { font-size: .78rem; color: var(--gray-400); }

.slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}
.slider-btn {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 2px solid var(--gray-200);
  background: var(--white);
  color: var(--gray-800);
  font-size: 1.5rem;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.slider-btn:hover { background: var(--navy); color: var(--white); border-color: var(--navy); }
.slider-dots { display: flex; gap: .5rem; }
.slider-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gray-200);
  cursor: pointer;
  transition: var(--transition);
}
.slider-dot.active { background: var(--navy); width: 24px; border-radius: 4px; }

/* ==============================
   CONTACT
   ============================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 3rem;
  align-items: start;
}

.contact-card {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  margin-bottom: .75rem;
}
.contact-icon { font-size: 1.5rem; margin-bottom: .4rem; }
.contact-card h4 { font-size: .9rem; font-weight: 700; color: var(--gray-800); margin-bottom: .4rem; }
.contact-card p { font-size: .875rem; color: var(--gray-600); line-height: 1.5; }
.contact-card a {
  display: block;
  color: var(--navy);
  font-weight: 600;
  font-size: .9rem;
  text-decoration: none;
  padding: .2rem 0;
  transition: var(--transition);
}
.contact-card a:hover { color: var(--red); }

.contact-social { padding: 1rem 0; }
.contact-social h4 { font-size: .9rem; font-weight: 700; color: var(--gray-800); margin-bottom: .75rem; }
.social-links { display: flex; gap: .75rem; }
.social-btn {
  width: 40px; height: 40px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: var(--transition);
  color: var(--white);
}
.social-btn svg { width: 18px; height: 18px; }
.social-btn.facebook { background: #1877f2; }
.social-btn.instagram { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.social-btn.tiktok { background: #000; }
.social-btn.youtube { background: #ff0000; }
.social-btn:hover { transform: translateY(-3px); box-shadow: var(--shadow); }

.contact-form-wrap {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow);
}
.contact-form h3 { font-size: 1.3rem; font-weight: 700; color: var(--gray-800); margin-bottom: .25rem; }
.form-note { font-size: .82rem; color: var(--gray-400); margin-bottom: 1.5rem; }
.form-group { margin-bottom: 1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group label { display: block; font-size: .85rem; font-weight: 600; color: var(--gray-700, #374151); margin-bottom: .35rem; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: .75rem 1rem;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius);
  font-size: .9rem;
  font-family: inherit;
  color: var(--gray-800);
  background: var(--white);
  transition: var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(27,46,107,.1);
}
.form-group textarea { resize: vertical; min-height: 120px; }

/* ==============================
   FOOTER
   ============================== */
.footer { background: var(--dark-bg); color: rgba(255,255,255,.7); }
.footer-top { padding: 4rem 0 2rem; }

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 2.5rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: .75rem;
}
.footer-logo svg { width: 36px; height: 36px; }
.footer-logo span { font-size: 1rem; font-weight: 700; color: var(--white); }
.footer-slogan { font-style: italic; color: rgba(255,255,255,.5); font-size: .875rem; margin-bottom: .5rem; }
.footer-desc { font-size: .85rem; line-height: 1.6; color: rgba(255,255,255,.5); }

.footer-links h5 { font-size: .95rem; font-weight: 700; color: var(--white); margin-bottom: 1rem; }
.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: .5rem; }
.footer-links a {
  font-size: .875rem;
  color: rgba(255,255,255,.55);
  text-decoration: none;
  transition: var(--transition);
}
.footer-links a:hover { color: var(--white); padding-left: .35rem; }

.footer-contact h5 { font-size: .95rem; font-weight: 700; color: var(--white); margin-bottom: 1rem; }
.footer-wa { display: flex; flex-direction: column; gap: .5rem; margin-bottom: 1.25rem; }
.wa-link {
  display: flex;
  align-items: center;
  gap: .6rem;
  color: rgba(255,255,255,.7);
  text-decoration: none;
  font-size: .875rem;
  font-weight: 500;
  transition: var(--transition);
}
.wa-link svg { width: 18px; height: 18px; color: #22c55e; flex-shrink: 0; }
.wa-link:hover { color: var(--white); }

.footer-social { display: flex; gap: .6rem; }
.footer-social a {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: rgba(255,255,255,.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.6);
  text-decoration: none;
  transition: var(--transition);
}
.footer-social a svg { width: 16px; height: 16px; }
.footer-social a:hover { background: var(--red); color: var(--white); transform: translateY(-2px); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 1.25rem 0;
  text-align: center;
}
.footer-bottom p { font-size: .8rem; color: rgba(255,255,255,.35); }

/* ==============================
   WHATSAPP FLOTTANT
   ============================== */
.whatsapp-float {
  position: fixed;
  bottom: 1.75rem;
  right: 1.75rem;
  z-index: 999;
  background: #25d366;
  color: var(--white);
  border-radius: 50px;
  padding: .8rem 1.4rem;
  display: flex;
  align-items: center;
  gap: .6rem;
  text-decoration: none;
  font-weight: 700;
  font-size: .875rem;
  box-shadow: 0 4px 20px rgba(37,211,102,.5);
  transition: var(--transition);
  animation: floatIn .8s 1.5s ease both;
}
.whatsapp-float svg { width: 24px; height: 24px; flex-shrink: 0; }
.whatsapp-float:hover { transform: translateY(-4px) scale(1.03); box-shadow: 0 8px 30px rgba(37,211,102,.6); }
.wa-float-label { white-space: nowrap; }

/* ==============================
   BACK TO TOP
   ============================== */
.back-to-top {
  position: fixed;
  bottom: 1.75rem;
  left: 1.75rem;
  z-index: 999;
  background: var(--navy);
  color: var(--white);
  width: 44px; height: 44px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
}
.back-to-top.visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.back-to-top:hover { background: var(--red); transform: translateY(-3px); }

/* ==============================
   ANIMATIONS
   ============================== */
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes floatIn {
  from { opacity: 0; transform: translateY(30px) scale(.9); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 2px rgba(34,197,94,.3); }
  50% { box-shadow: 0 0 0 6px rgba(34,197,94,.1); }
}
@keyframes scrollAnim {
  0% { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(12px); opacity: 0; }
}
@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@keyframes particleFloat {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: .3; }
  33% { transform: translate(30px, -40px) scale(1.1); opacity: .6; }
  66% { transform: translate(-20px, 20px) scale(.9); opacity: .2; }
}

/* Intersection observer animations */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==============================
   RESPONSIVE
   ============================== */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .calendrier-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .apropos-grid { grid-template-columns: 1fr; }
  .apropos-visual { max-width: 500px; margin: 0 auto; }
}

@media (max-width: 768px) {
  .section { padding: 3.5rem 0; }
  .nav-links {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(15,25,41,.97);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 2rem;
    z-index: 999;
  }
  .nav-links.open { display: flex; }
  .nav-links .nav-link { font-size: 1.2rem; color: var(--white); padding: .75rem 2rem; }
  .nav-toggle { display: flex; z-index: 1000; }

  .hero-stats { flex-direction: column; gap: .75rem; padding: 1.25rem 1.5rem; }
  .stat-divider { width: 60px; height: 1px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn-primary,
  .hero-actions .btn-secondary { justify-content: center; }

  .services-grid { grid-template-columns: 1fr; }
  .calendrier-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .steps-row { flex-direction: column; align-items: stretch; }
  .step-arrow { transform: rotate(90deg); text-align: center; }
  .step { max-width: 100%; }
  .form-row { grid-template-columns: 1fr; }
  .bourse-highlight { flex-direction: column; text-align: center; }
  .temoignage-card { min-width: calc(100% - 0px); }
  .whatsapp-float .wa-float-label { display: none; }
  .whatsapp-float { padding: 1rem; border-radius: 50%; }
}

@media (max-width: 480px) {
  .calendrier-grid { grid-template-columns: 1fr 1fr; }
  .hero-title { font-size: 2.2rem; }
}

/* ==============================
   COMPOSANTS DYNAMIQUES (API)
   ============================== */

/* Grilles */
.dyn-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.dyn-grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

/* Cards dynamiques */
.dyn-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  position: relative;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  gap: .75rem;
}
.dyn-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.opacity-card { opacity: .65; }

/* Badges statut */
.new-badge {
  position: absolute;
  top: -10px; left: 1rem;
  background: var(--red);
  color: white;
  font-size: .68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  padding: .25rem .65rem;
  border-radius: 20px;
  box-shadow: 0 2px 8px rgba(230,57,70,.4);
  animation: pulse 2s infinite;
}
.closed-badge {
  position: absolute;
  top: -10px; right: 1rem;
  background: #94a3b8;
  color: white;
  font-size: .68rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: .25rem .65rem;
  border-radius: 20px;
}

/* Badge statut inline */
.dyn-badge {
  display: inline-block;
  padding: .25rem .75rem;
  border-radius: 20px;
  font-size: .75rem;
  font-weight: 700;
  flex-shrink: 0;
}
.dyn-badge.open { background: rgba(16,185,129,.1); color: #059669; border: 1px solid rgba(16,185,129,.3); }
.dyn-badge.soon { background: rgba(245,158,11,.1); color: #d97706; border: 1px solid rgba(245,158,11,.3); }
.dyn-badge.closed { background: rgba(100,116,139,.1); color: #64748b; border: 1px solid rgba(100,116,139,.3); }

/* Card header */
.dyn-card-header {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: .25rem;
}
.dyn-flag { font-size: 2rem; flex-shrink: 0; }
.dyn-pays { font-size: 1rem; font-weight: 800; color: var(--gray-800); margin: 0; }
.dyn-org { font-size: .78rem; color: var(--gray-400); font-weight: 500; }
.dyn-titre { font-size: .95rem; font-weight: 700; color: var(--navy); line-height: 1.3; }
.dyn-desc { font-size: .875rem; color: var(--gray-600); line-height: 1.6; }
.dyn-date { font-size: .82rem; color: var(--gray-600); }
.dyn-date strong { color: var(--red); }

/* Tags domaines */
.dyn-tags { display: flex; flex-wrap: wrap; gap: .4rem; }
.dyn-tags .tag {
  background: rgba(27,46,107,.08);
  color: var(--navy);
  border: 1px solid rgba(27,46,107,.15);
  border-radius: 20px;
  padding: .2rem .65rem;
  font-size: .72rem;
  font-weight: 600;
}

/* Avantages */
.dyn-avantages {
  list-style: none;
  font-size: .82rem;
  color: var(--gray-600);
}
.dyn-avantages li { padding: .2rem 0; }

/* Bouton action */
.dyn-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--navy);
  color: white;
  padding: .65rem 1.25rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: .85rem;
  text-decoration: none;
  margin-top: auto;
  transition: var(--transition);
}
.dyn-btn:hover { background: var(--navy-light); transform: translateY(-1px); }

/* Voyage cards */
.voyage-card { border-left: 3px solid var(--navy); }
.voyage-prix-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .5rem;
  background: var(--gray-50);
  border-radius: var(--radius);
  padding: .75rem;
}
.voyage-prix { text-align: center; }
.voyage-prix.highlight { background: rgba(27,46,107,.08); border-radius: 8px; padding: .5rem; }
.prix-label { display: block; font-size: .7rem; color: var(--gray-400); text-transform: uppercase; letter-spacing: .05em; margin-bottom: .2rem; }
.prix-val { display: block; font-size: 1rem; font-weight: 800; color: var(--navy); }
.voyage-alerte {
  background: rgba(245,158,11,.08);
  border: 1px solid rgba(245,158,11,.25);
  border-radius: 8px;
  padding: .6rem .85rem;
  font-size: .82rem;
  color: #92400e;
  line-height: 1.5;
}
.voyage-cond {
  font-size: .82rem;
  color: var(--gray-600);
  cursor: pointer;
}
.voyage-cond summary { font-weight: 600; color: var(--navy); padding: .4rem 0; }
.voyage-cond ul { list-style: none; margin-top: .5rem; padding-left: .5rem; }
.voyage-cond li { padding: .2rem 0; }

/* Spinner */
@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Responsive dynamique */
@media (max-width: 1024px) {
  .dyn-grid { grid-template-columns: repeat(2, 1fr); }
  .dyn-grid-2 { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .dyn-grid { grid-template-columns: 1fr; }
  .voyage-prix-row { grid-template-columns: 1fr 1fr; }
}
