/* ============================================================
   MIAMC — Pour l'emploi à l'International
   style.css — Feuille de style principale (CSS Vanilla)
   Charte : Rouge #C0272D | Bleu #4AABDB | Vert #2ECC71
   ============================================================ */

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

/* ── VARIABLES CSS ────────────────────────────────────────── */
:root {
  --red:        #C0272D;
  --red-dark:   #9B1F24;
  --red-light:  #fef2f2;
  --blue:       #4AABDB;
  --blue-dark:  #2d8ab8;
  --green:      #2ECC71;
  --dark:       #1A1A2E;
  --dark-2:     #16213E;
  --gray:       #6B7280;
  --gray-light: #F8F9FA;
  --gray-mid:   #E5E7EB;
  --white:      #FFFFFF;
  --shadow:     0 4px 20px rgba(192,39,45,0.15);
  --shadow-lg:  0 8px 40px rgba(192,39,45,0.2);
  --shadow-card:0 2px 12px rgba(0,0,0,0.08);
  --radius:     12px;
  --radius-lg:  20px;
  --transition: all 0.3s ease;
  --font-head:  'Montserrat', sans-serif;
  --font-body:  'Lato', sans-serif;
  --navbar-h:   72px;
}

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

/* ── SCROLLBAR PERSONNALISÉE ──────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--gray-light); }
::-webkit-scrollbar-thumb { background: var(--red); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--red-dark); }

/* ── TYPOGRAPHIE ──────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.25;
  color: var(--dark);
}
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.1rem; }
p  { color: var(--gray); line-height: 1.75; }

/* ── UTILITAIRES ──────────────────────────────────────────── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section-sm { padding: 48px 0; }
.section-bg { background: var(--gray-light); }
.section-dark { background: var(--dark); }
.text-center { text-align: center; }
.text-red { color: var(--red); }
.text-white { color: var(--white); }
.text-white p { color: rgba(255,255,255,0.8); }
.font-head { font-family: var(--font-head); }
.fw-700 { font-weight: 700; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-48 { margin-bottom: 48px; }
.mt-24 { margin-top: 24px; }
.mt-48 { margin-top: 48px; }

/* ── SECTION HEADER ──────────────────────────────────────── */
.section-header { margin-bottom: 48px; }
.section-header.text-center { text-align: center; }
.section-label {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--red);
  background: var(--red-light);
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 12px;
}
.section-header h2 { margin-bottom: 16px; }
.section-header p { max-width: 600px; font-size: 1.05rem; }
.section-header.text-center p { margin: 0 auto; }
.divider {
  width: 60px; height: 4px;
  background: var(--red);
  border-radius: 2px;
  margin: 16px 0 0;
}
.divider.center { margin: 16px auto 0; }

/* ── BOUTONS ──────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 0.03em;
  padding: 13px 28px;
  border-radius: var(--radius);
  transition: var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--red);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(192,39,45,0.3);
}
.btn-primary:hover {
  background: var(--red-dark);
  box-shadow: 0 6px 24px rgba(192,39,45,0.4);
  transform: translateY(-2px);
}
.btn-outline {
  background: transparent;
  color: var(--red);
  border: 2px solid var(--red);
}
.btn-outline:hover {
  background: var(--red);
  color: var(--white);
  transform: translateY(-2px);
}
.btn-ghost {
  background: rgba(255,255,255,0.15);
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.5);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover {
  background: var(--white);
  color: var(--red);
  border-color: var(--white);
  transform: translateY(-2px);
}
.btn-lg { padding: 16px 36px; font-size: 1rem; }
.btn-sm { padding: 9px 20px; font-size: 0.8rem; }

/* ── NAVBAR ───────────────────────────────────────────────── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--navbar-h);
  background: var(--dark);
  display: flex; align-items: center;
  transition: var(--transition);
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}
.navbar.scrolled {
  height: 60px;
  background: rgba(26,26,46,0.97);
  backdrop-filter: blur(10px);
}
.navbar .container {
  display: flex; align-items: center;
  justify-content: space-between;
  width: 100%;
}
.navbar-logo img {
  height: 44px; width: auto;
  transition: var(--transition);
}
.navbar.scrolled .navbar-logo img { height: 36px; }
.navbar-logo-text {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--white);
  letter-spacing: -0.02em;
}
.navbar-logo-text span { color: var(--red); }

/* Menu principal */
.navbar-nav {
  display: flex; align-items: center; gap: 4px;
}
.nav-item { position: relative; }
.nav-link {
  display: flex; align-items: center; gap: 5px;
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  padding: 8px 12px;
  border-radius: 8px;
  transition: var(--transition);
  white-space: nowrap;
}
.nav-link:hover,
.nav-link.active {
  color: var(--white);
  background: rgba(192,39,45,0.2);
}
.nav-link.active {
  border-bottom: 2px solid var(--red);
}
.nav-link svg { width: 14px; height: 14px; transition: var(--transition); }
.nav-item:hover .nav-link svg { transform: rotate(180deg); }

/* Dropdown */
.dropdown {
  position: absolute; top: calc(100% + 8px); left: 0;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 8px 40px rgba(0,0,0,0.15);
  min-width: 280px;
  opacity: 0; visibility: hidden; transform: translateY(-10px);
  transition: var(--transition);
  border-top: 3px solid var(--red);
  overflow: hidden;
  z-index: 200;
}
.nav-item:hover .dropdown {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.dropdown-item {
  display: block;
  padding: 12px 20px;
  border-left: 3px solid transparent;
  transition: var(--transition);
}
.dropdown-item:hover {
  background: var(--gray-light);
  border-left-color: var(--red);
}
.dropdown-item-name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--dark);
  display: block;
  margin-bottom: 2px;
}
.dropdown-item-desc {
  font-size: 0.75rem;
  color: var(--gray);
  display: block;
}

/* Bouton CTA Navbar */
.navbar-cta { margin-left: 12px; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column; gap: 5px;
  padding: 8px; cursor: pointer;
}
.hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── HERO SECTIONS ────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  background: var(--dark);
  position: relative;
  display: flex; align-items: center;
  padding-top: var(--navbar-h);
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 50%, #0d1b3e 100%);
  z-index: 0;
}
.hero-bg::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 70% 50%, rgba(192,39,45,0.18) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 20% 80%, rgba(74,171,219,0.1) 0%, transparent 60%);
}
.hero-pattern {
  position: absolute; inset: 0; z-index: 1;
  background-image:
    linear-gradient(rgba(192,39,45,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(192,39,45,0.05) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero .container { position: relative; z-index: 2; }
.hero-content { max-width: 680px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(192,39,45,0.2);
  border: 1px solid rgba(192,39,45,0.4);
  color: #ff8a8a;
  font-family: var(--font-head);
  font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 6px 16px; border-radius: 20px;
  margin-bottom: 24px;
}
.hero-badge-dot {
  width: 6px; height: 6px;
  background: var(--red); border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.5); }
}
.hero-title {
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 20px;
}
.hero-title .highlight { color: var(--red); }
.hero-title .line-blue { color: var(--blue); }
.hero-subtitle {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.75);
  margin-bottom: 36px;
  max-width: 520px;
  line-height: 1.7;
}
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 48px; }
.hero-stats {
  display: flex; gap: 32px; flex-wrap: wrap;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.hero-stat-value {
  font-family: var(--font-head);
  font-size: 1.8rem; font-weight: 900;
  color: var(--white);
  display: block;
}
.hero-stat-label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.55);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.hero-visual {
  position: absolute; right: 0; top: 50%;
  transform: translateY(-50%);
  width: 45%;
  display: flex; justify-content: flex-end;
  z-index: 2;
}

/* Hero page interne */
.page-hero {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 100%);
  padding: 120px 0 80px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 50% 80% at 80% 50%, rgba(192,39,45,0.15) 0%, transparent 70%);
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero-content { max-width: 680px; }
.page-hero h1 { color: var(--white); margin-bottom: 16px; }
.page-hero p { color: rgba(255,255,255,0.75); font-size: 1.1rem; margin-bottom: 28px; }
.breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.8rem; color: rgba(255,255,255,0.5);
  margin-bottom: 16px;
}
.breadcrumb a { color: rgba(255,255,255,0.6); transition: var(--transition); }
.breadcrumb a:hover { color: var(--red); }
.breadcrumb-sep { color: rgba(255,255,255,0.3); }

/* ── CHIFFRES CLÉS ────────────────────────────────────────── */
.stats-band {
  background: var(--dark);
  padding: 40px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.stat-item {
  text-align: center;
  padding: 24px 16px;
  border-right: 1px solid rgba(255,255,255,0.08);
  position: relative;
}
.stat-item:last-child { border-right: none; }
.stat-number {
  font-family: var(--font-head);
  font-size: 2.4rem; font-weight: 900;
  color: var(--red);
  display: block; line-height: 1;
}
.stat-label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 6px;
  display: block;
}

/* ── CARDS SERVICES ───────────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--gray-mid);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--red);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.35s ease;
}
.service-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px);
  border-color: transparent;
}
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
  width: 56px; height: 56px;
  background: var(--red-light);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  color: var(--red);
  font-size: 1.5rem;
  transition: var(--transition);
}
.service-card:hover .service-icon {
  background: var(--red);
  color: var(--white);
}
.service-card h3 { margin-bottom: 10px; font-size: 1.1rem; }
.service-card p { font-size: 0.9rem; margin-bottom: 20px; }
.service-link {
  font-family: var(--font-head);
  font-size: 0.8rem; font-weight: 700;
  color: var(--red);
  display: inline-flex; align-items: center; gap: 6px;
  transition: var(--transition);
}
.service-link:hover { gap: 10px; }

/* ── POURQUOI MIAMC ───────────────────────────────────────── */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.why-item {
  text-align: center; padding: 32px 24px;
}
.why-icon {
  width: 72px; height: 72px;
  background: var(--red);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.8rem;
  color: var(--white);
  box-shadow: 0 8px 24px rgba(192,39,45,0.3);
}
.why-item h3 { margin-bottom: 10px; }
.why-item p { font-size: 0.9rem; }

/* ── TÉMOIGNAGES ──────────────────────────────────────────── */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--gray-mid);
  transition: var(--transition);
  position: relative;
}
.testimonial-card::before {
  content: '"';
  position: absolute; top: 16px; right: 24px;
  font-size: 5rem; line-height: 1;
  color: var(--red); opacity: 0.1;
  font-family: Georgia, serif;
}
.testimonial-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.testimonial-stars {
  color: #F59E0B;
  font-size: 0.9rem; margin-bottom: 12px;
  letter-spacing: 2px;
}
.testimonial-text {
  font-style: italic; font-size: 0.9rem;
  color: var(--gray);
  margin-bottom: 20px; line-height: 1.7;
}
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
  width: 44px; height: 44px;
  border-radius: 50%; overflow: hidden;
  background: var(--gray-mid);
  flex-shrink: 0;
}
.testimonial-avatar img { width: 100%; height: 100%; object-fit: cover; }
.testimonial-name {
  font-family: var(--font-head);
  font-size: 0.9rem; font-weight: 700;
  display: block;
}
.testimonial-meta { font-size: 0.78rem; color: var(--gray); }

/* ── ACTUALITÉS / CARDS ───────────────────────────────────── */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.news-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--gray-mid);
  transition: var(--transition);
}
.news-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.news-card-image {
  height: 200px; overflow: hidden; background: var(--gray-mid);
  position: relative;
}
.news-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.news-card:hover .news-card-image img { transform: scale(1.05); }
.news-card-body { padding: 20px; }
.news-card-meta {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 10px;
}
.news-card-date { font-size: 0.75rem; color: var(--gray); }
.badge {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.65rem; font-weight: 700;
  letter-spacing: 0.05em; text-transform: uppercase;
  padding: 3px 10px; border-radius: 20px;
}
.badge-red { background: var(--red); color: var(--white); }
.badge-green { background: var(--green); color: var(--white); }
.badge-blue { background: var(--blue); color: var(--white); }
.badge-orange { background: #F59E0B; color: var(--white); }
.badge-gray { background: var(--gray-mid); color: var(--gray); }
.news-card h4 { font-size: 1rem; margin-bottom: 8px; }
.news-card p { font-size: 0.85rem; margin-bottom: 16px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ── OFFRES D'EMPLOI ──────────────────────────────────────── */
.job-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--gray-mid);
  transition: var(--transition);
  display: flex; flex-direction: column;
}
.job-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.job-card-image { height: 180px; overflow: hidden; background: var(--gray-mid); position: relative; }
.job-card-image img { width: 100%; height: 100%; object-fit: cover; }
.job-card-badge { position: absolute; top: 12px; left: 12px; }
.job-card-body { padding: 20px; flex: 1; }
.job-card-title { font-family: var(--font-head); font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.job-card-info { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; flex-wrap: wrap; }
.job-card-location { font-size: 0.8rem; color: var(--gray); }
.job-salary { font-family: var(--font-head); font-size: 0.9rem; font-weight: 700; color: var(--green); }
.job-card-desc { font-size: 0.85rem; color: var(--gray); margin-bottom: 16px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.job-card-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 16px; }
.job-card-footer { padding: 0 20px 20px; }

/* ── TIMELINE PROCESSUS ───────────────────────────────────── */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}
.process-steps::before {
  content: '';
  position: absolute;
  top: 36px; left: 12.5%; right: 12.5%;
  height: 2px;
  background: linear-gradient(90deg, var(--red), var(--blue));
  z-index: 0;
}
.step {
  text-align: center; padding: 0 16px;
  position: relative; z-index: 1;
}
.step-number {
  width: 72px; height: 72px;
  background: var(--white);
  border: 3px solid var(--red);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head);
  font-size: 1.3rem; font-weight: 900;
  color: var(--red);
  margin: 0 auto 20px;
  box-shadow: 0 0 0 6px var(--gray-light);
}
.step-active .step-number {
  background: var(--red);
  color: var(--white);
}
.step h4 { margin-bottom: 8px; font-size: 0.95rem; }
.step p { font-size: 0.82rem; }

/* Timeline verticale */
.timeline { position: relative; padding-left: 32px; }
.timeline::before {
  content: '';
  position: absolute; left: 11px; top: 0; bottom: 0;
  width: 2px; background: var(--gray-mid);
}
.timeline-item { position: relative; margin-bottom: 32px; }
.timeline-dot {
  position: absolute; left: -32px; top: 4px;
  width: 22px; height: 22px;
  background: var(--red);
  border-radius: 50%;
  border: 3px solid var(--white);
  box-shadow: 0 0 0 3px var(--red);
}
.timeline-item h4 { margin-bottom: 6px; }
.timeline-item p { font-size: 0.9rem; }

/* ── ACCORDION FAQ ────────────────────────────────────────── */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  border: 1px solid var(--gray-mid);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
  transition: var(--transition);
}
.faq-item.open { border-color: var(--red); }
.faq-question {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 22px;
  font-family: var(--font-head);
  font-size: 0.95rem; font-weight: 700;
  color: var(--dark);
  text-align: left;
  background: var(--white);
  transition: var(--transition);
}
.faq-question:hover { background: var(--gray-light); }
.faq-item.open .faq-question { background: var(--red-light); color: var(--red); }
.faq-icon {
  width: 24px; height: 24px; flex-shrink: 0;
  background: var(--gray-mid); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
  font-size: 1.1rem; line-height: 1;
}
.faq-item.open .faq-icon { background: var(--red); color: var(--white); transform: rotate(45deg); }
.faq-answer {
  max-height: 0; overflow: hidden;
  transition: max-height 0.35s ease;
}
.faq-answer-inner { padding: 0 22px 18px; }
.faq-answer-inner p { font-size: 0.9rem; }

/* ── FILTRES ──────────────────────────────────────────────── */
.filters {
  display: flex; gap: 10px; flex-wrap: wrap;
  margin-bottom: 32px;
}
.filter-btn {
  font-family: var(--font-head);
  font-size: 0.8rem; font-weight: 700;
  padding: 8px 20px;
  border-radius: 30px;
  border: 2px solid var(--gray-mid);
  color: var(--gray);
  background: var(--white);
  transition: var(--transition);
  cursor: pointer;
}
.filter-btn:hover { border-color: var(--red); color: var(--red); }
.filter-btn.active {
  background: var(--red); color: var(--white);
  border-color: var(--red);
}

/* ── FORMULAIRE CONTACT ───────────────────────────────────── */
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-family: var(--font-head);
  font-size: 0.82rem; font-weight: 700;
  color: var(--dark);
  margin-bottom: 6px;
}
.form-control {
  width: 100%;
  padding: 13px 16px;
  border: 2px solid var(--gray-mid);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--dark);
  background: var(--white);
  transition: var(--transition);
  outline: none;
}
.form-control:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 4px rgba(192,39,45,0.08);
}
.form-control::placeholder { color: #9CA3AF; }
textarea.form-control { resize: vertical; min-height: 130px; }
select.form-control { appearance: none; cursor: pointer; }
.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 20px;
}

/* ── BANNIÈRE CTA ─────────────────────────────────────────── */
.cta-banner {
  background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 80% 50%, rgba(255,255,255,0.08) 0%, transparent 50%),
    radial-gradient(circle at 20% 80%, rgba(0,0,0,0.1) 0%, transparent 50%);
}
.cta-banner .container {
  position: relative; z-index: 2;
  display: flex; align-items: center; justify-content: space-between;
  gap: 32px; flex-wrap: wrap;
}
.cta-banner h2 { color: var(--white); margin-bottom: 8px; }
.cta-banner p { color: rgba(255,255,255,0.85); max-width: 520px; }

/* ── CARDS FORFAITS / TARIFS ──────────────────────────────── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.pricing-card {
  background: var(--white);
  border: 2px solid var(--gray-mid);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  transition: var(--transition);
  position: relative;
}
.pricing-card.featured {
  border-color: var(--red);
  transform: scale(1.04);
  box-shadow: var(--shadow-lg);
}
.pricing-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--red); color: var(--white);
  font-family: var(--font-head);
  font-size: 0.7rem; font-weight: 700;
  padding: 4px 16px; border-radius: 20px;
  white-space: nowrap;
}
.pricing-card:hover { border-color: var(--red); box-shadow: var(--shadow); }
.pricing-name {
  font-family: var(--font-head);
  font-size: 0.8rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--gray); margin-bottom: 12px;
}
.pricing-price {
  font-family: var(--font-head);
  font-size: 2.4rem; font-weight: 900;
  color: var(--dark); margin-bottom: 4px;
}
.pricing-price span { font-size: 1rem; color: var(--gray); font-weight: 400; }
.pricing-desc { font-size: 0.85rem; margin-bottom: 24px; }
.pricing-features { text-align: left; margin-bottom: 28px; }
.pricing-feature {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 0.85rem; padding: 6px 0;
  border-bottom: 1px solid var(--gray-light);
  color: var(--dark);
}
.pricing-feature::before {
  content: '✓';
  color: var(--green); font-weight: 700; flex-shrink: 0; margin-top: 1px;
}

/* ── IMAGE PLACEHOLDER ────────────────────────────────────── */
.img-placeholder { border-radius: var(--radius); overflow: hidden; }
.img-placeholder img { width: 100%; height: 100%; object-fit: cover; }
.img-placeholder.img-missing {
  background: var(--gray-light);
  border: 2px dashed var(--gray-mid);
  display: flex; align-items: center; justify-content: center;
  min-height: 200px; border-radius: var(--radius);
}
.img-placeholder.img-missing::after {
  content: "📷 Insérez votre image ici";
  color: var(--gray);
  font-family: var(--font-head);
  font-size: 0.85rem; font-weight: 600;
  text-align: center; padding: 20px;
}

/* ── VALEURS / BLOCS ICÔNES ───────────────────────────────── */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.value-card {
  background: var(--dark);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  border: 1px solid rgba(255,255,255,0.06);
  transition: var(--transition);
}
.value-card:hover { border-color: var(--red); transform: translateY(-4px); }
.value-icon {
  font-size: 2.4rem; margin-bottom: 16px;
}
.value-card h3 { color: var(--white); margin-bottom: 10px; }
.value-card p { color: rgba(255,255,255,0.65); font-size: 0.9rem; }

/* ── PAYS COUVERTS ────────────────────────────────────────── */
.countries-grid {
  display: flex; gap: 16px; flex-wrap: wrap;
}
.country-chip {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--white);
  border: 1px solid var(--gray-mid);
  border-radius: 30px;
  padding: 8px 18px;
  font-family: var(--font-head);
  font-size: 0.82rem; font-weight: 700;
  transition: var(--transition);
}
.country-chip:hover { border-color: var(--red); color: var(--red); }
.country-flag { font-size: 1.1rem; }

/* ── NEWSLETTER ───────────────────────────────────────────── */
.newsletter-form {
  display: flex; gap: 12px; max-width: 480px;
  flex-wrap: wrap;
}
.newsletter-form .form-control { flex: 1; min-width: 200px; }

/* ── ÉQUIPE ───────────────────────────────────────────────── */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.team-card {
  text-align: center;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px 20px;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--gray-mid);
  transition: var(--transition);
}
.team-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.team-avatar {
  width: 80px; height: 80px;
  border-radius: 50%;
  margin: 0 auto 16px;
  overflow: hidden; background: var(--gray-mid);
  border: 3px solid var(--red);
}
.team-avatar img { width: 100%; height: 100%; object-fit: cover; }
.team-name {
  font-family: var(--font-head);
  font-size: 0.95rem; font-weight: 700;
  margin-bottom: 4px;
}
.team-role { font-size: 0.8rem; color: var(--gray); }

/* ── CONTACT INFO ─────────────────────────────────────────── */
.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.contact-info-card {
  display: flex; align-items: flex-start; gap: 16px;
  background: var(--white);
  border: 1px solid var(--gray-mid);
  border-radius: var(--radius);
  padding: 20px;
  transition: var(--transition);
}
.contact-info-card:hover { border-color: var(--red); }
.contact-info-icon {
  width: 44px; height: 44px; flex-shrink: 0;
  background: var(--red-light);
  color: var(--red);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
}
.contact-info-label {
  font-family: var(--font-head);
  font-size: 0.75rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--gray); margin-bottom: 4px;
}
.contact-info-value {
  font-size: 0.9rem; color: var(--dark);
}

/* ── FOOTER ───────────────────────────────────────────────── */
.footer {
  background: var(--dark);
  padding: 64px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand p { color: rgba(255,255,255,0.55); font-size: 0.88rem; margin: 16px 0 24px; max-width: 280px; }
.footer-logo {
  font-family: var(--font-head);
  font-size: 1.4rem; font-weight: 800;
  color: var(--white);
}
.footer-logo span { color: var(--red); }
.footer-socials { display: flex; gap: 10px; }
.social-btn {
  width: 38px; height: 38px;
  border-radius: 8px;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.6);
  font-size: 0.95rem;
  transition: var(--transition);
}
.social-btn:hover { background: var(--red); color: var(--white); }
.footer-col h4 {
  font-family: var(--font-head);
  font-size: 0.85rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: rgba(255,255,255,0.4);
  margin-bottom: 20px;
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
  color: rgba(255,255,255,0.6);
  font-size: 0.88rem;
  transition: var(--transition);
}
.footer-col ul li a:hover { color: var(--white); padding-left: 4px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 20px 0;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
}
.footer-bottom p { color: rgba(255,255,255,0.35); font-size: 0.8rem; }
.footer-bottom a { color: rgba(255,255,255,0.5); font-size: 0.8rem; }
.footer-bottom a:hover { color: var(--red); }

/* ── ANIMATIONS ───────────────────────────────────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-up:nth-child(2) { transition-delay: 0.1s; }
.fade-up:nth-child(3) { transition-delay: 0.2s; }
.fade-up:nth-child(4) { transition-delay: 0.3s; }

/* ── ACCORDÉON FORMATIONS ─────────────────────────────────── */
.formation-section {
  padding: 60px 0;
  border-bottom: 1px solid var(--gray-mid);
}
.formation-section:last-child { border-bottom: none; }
.formation-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.formation-info h3 { font-size: 1.8rem; margin-bottom: 12px; }
.formation-info p { margin-bottom: 20px; }
.formation-meta {
  display: flex; gap: 20px; flex-wrap: wrap;
  margin-bottom: 24px;
}
.formation-meta-item {
  display: flex; align-items: center; gap: 6px;
  font-family: var(--font-head);
  font-size: 0.82rem; font-weight: 700;
  color: var(--dark);
}
.formation-meta-item .icon { color: var(--red); }
.formation-programme { }
.programme-title {
  font-family: var(--font-head);
  font-size: 0.85rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--gray);
  margin-bottom: 12px;
}
.programme-acc { }
.prog-item {
  border: 1px solid var(--gray-mid);
  border-radius: 8px;
  margin-bottom: 8px; overflow: hidden;
}
.prog-question {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 16px;
  font-size: 0.85rem; font-weight: 700;
  color: var(--dark); text-align: left;
  background: var(--white); cursor: pointer;
  transition: var(--transition);
}
.prog-question:hover { background: var(--gray-light); }
.prog-item.open .prog-question { background: var(--red-light); color: var(--red); }
.prog-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.prog-answer-inner { padding: 8px 16px 14px; font-size: 0.82rem; color: var(--gray); }

/* ── RESPONSIVE ───────────────────────────────────────────── */
@media (max-width: 1024px) {
  .services-grid, .why-grid, .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .stat-item { border-bottom: 1px solid rgba(255,255,255,0.08); }
  .team-grid { grid-template-columns: repeat(3, 1fr); }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .process-steps::before { display: none; }
  .formation-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr 1fr; }
  .pricing-card.featured { transform: none; }
}

@media (max-width: 768px) {
  :root { --navbar-h: 60px; }
  .section { padding: 56px 0; }

  /* Navbar mobile */
  .navbar-nav {
    display: none;
    position: fixed;
    top: var(--navbar-h); left: 0; right: 0;
    background: var(--dark-2);
    flex-direction: column;
    align-items: stretch;
    padding: 16px 0 24px;
    overflow-y: auto;
    max-height: calc(100vh - var(--navbar-h));
    border-top: 2px solid var(--red);
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
    gap: 0;
    z-index: 999;
  }
  .navbar-nav.open { display: flex; }
  .nav-item { border-bottom: 1px solid rgba(255,255,255,0.05); }
  .nav-link { padding: 14px 20px; border-radius: 0; font-size: 0.9rem; }
  .dropdown {
    position: static;
    opacity: 1; visibility: visible; transform: none;
    border-radius: 0; box-shadow: none;
    border: none; border-top: 1px solid rgba(255,255,255,0.05);
    background: rgba(0,0,0,0.2);
    display: none;
  }
  .nav-item.dropdown-open .dropdown { display: block; }
  .dropdown-item { padding: 10px 32px; }
  .dropdown-item-name { color: rgba(255,255,255,0.8); }
  .dropdown-item-desc { color: rgba(255,255,255,0.4); }
  .navbar-cta { margin: 12px 20px 0; }
  .hamburger { display: flex; }

  /* Grids */
  .services-grid, .why-grid, .testimonials-grid,
  .news-grid, .values-grid, .pricing-grid,
  .contact-info-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .form-grid-2 { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr 1fr; gap: 24px; }
  .cta-banner .container { flex-direction: column; text-align: center; }
  .hero-cta { justify-content: center; }
  .hero-visual { display: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .hero-stats { gap: 20px; }
  .process-steps { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .newsletter-form { flex-direction: column; }
  .pricing-grid { grid-template-columns: 1fr; }
  .filters { gap: 8px; }
  .filter-btn { font-size: 0.75rem; padding: 6px 14px; }
}

/* ── MENTIONS LÉGALES ─────────────────────────────────────── */
.legal-content { max-width: 800px; margin: 0 auto; }
.legal-content h2 { font-size: 1.3rem; margin: 36px 0 12px; padding-top: 24px; border-top: 1px solid var(--gray-mid); }
.legal-content h2:first-child { border-top: none; padding-top: 0; }
.legal-content p, .legal-content li { font-size: 0.92rem; color: var(--gray); line-height: 1.8; }
.legal-content ul { list-style: disc; padding-left: 24px; margin: 10px 0; }

/* ── CARTE GOOGLE MAPS ────────────────────────────────────── */
.map-placeholder {
  width: 100%; height: 300px;
  background: var(--gray-mid);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  color: var(--gray);
  font-family: var(--font-head);
  font-size: 0.9rem;
}

/* ── SECTION SPLIT (image + texte) ──────────────────────────*/
.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.split-section.reverse { direction: rtl; }
.split-section.reverse > * { direction: ltr; }
@media (max-width: 768px) {
  .split-section { grid-template-columns: 1fr; gap: 32px; }
  .split-section.reverse { direction: ltr; }
}
.split-image { border-radius: var(--radius-lg); overflow: hidden; }
.split-image img { width: 100%; height: 100%; object-fit: cover; min-height: 320px; }

/* ── TAGS ─────────────────────────────────────────────────── */
.tag {
  display: inline-block;
  font-size: 0.72rem; font-weight: 700;
  font-family: var(--font-head);
  padding: 3px 10px; border-radius: 4px;
  background: var(--gray-light); color: var(--gray);
}
.tag-red { background: rgba(192,39,45,0.1); color: var(--red); }
.tag-blue { background: rgba(74,171,219,0.1); color: var(--blue-dark); }
.tag-green { background: rgba(46,204,113,0.1); color: #27ae60; }

/* ── HORAIRES ─────────────────────────────────────────────── */
.hours-table { width: 100%; }
.hours-table tr { border-bottom: 1px solid var(--gray-mid); }
.hours-table td { padding: 10px 0; font-size: 0.88rem; color: var(--gray); }
.hours-table td:first-child { font-weight: 700; color: var(--dark); width: 50%; }
