/* ============================================================
   Capital Entreprise — Main Stylesheet
   ============================================================ */

/* ---- Google Fonts ---- */
@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@400;600;700;800&family=Inter:wght@300;400;500;600&display=swap');

/* ---- CSS Custom Properties ---- */
:root {
  --red:        #C8102E;
  --red-dark:   #A00D23;
  --red-light:  rgba(200,16,46,0.08);
  --dark:       #0A0A0A;
  --dark-2:     #111111;
  --dark-3:     #1A1A1A;
  --dark-card:  #141414;
  --gray-900:   #222222;
  --gray-700:   #444444;
  --gray-500:   #777777;
  --gray-300:   #BBBBBB;
  --gray-100:   #F4F4F4;
  --gray-50:    #FAFAFA;
  --white:      #FFFFFF;
  --border:     rgba(255,255,255,0.08);
  --border-light: #E5E5E5;

  --font-h:     'Barlow Condensed', sans-serif;
  --font-b:     'Inter', sans-serif;

  --max-w:      1200px;
  --r:          4px;
  --ease:       cubic-bezier(0.4,0,0.2,1);
  --t:          0.3s var(--ease);
}

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

/* ---- Utilities ---- */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 2rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

/* ---- Visibility / Reveal ---- */
.reveal { opacity: 0; transform: translateY(32px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal-left { opacity: 0; transform: translateX(-32px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal-left.in { opacity: 1; transform: none; }
.reveal-scale { opacity: 0; transform: scale(0.95); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.reveal-scale.in { opacity: 1; transform: none; }
.d1 { transition-delay: 0.1s; } .d2 { transition-delay: 0.2s; } .d3 { transition-delay: 0.3s; }
.d4 { transition-delay: 0.4s; } .d5 { transition-delay: 0.5s; } .d6 { transition-delay: 0.6s; }

/* ======================================================
   TOP BAR
   ====================================================== */
.topbar {
  background: var(--dark);
  color: var(--gray-300);
  font-size: 0.75rem;
  font-family: var(--font-b);
  border-bottom: 1px solid var(--border);
  position: relative;
  z-index: 100;
}
.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}
.topbar-left { display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap; }
.topbar-left span { display: flex; align-items: center; gap: 0.4rem; }
.topbar-left .urgency { color: var(--white); font-weight: 600; }
.topbar-right { display: flex; align-items: center; gap: 1.25rem; }
.topbar-right a { display: flex; align-items: center; gap: 0.4rem; color: var(--gray-300); transition: color var(--t); }
.topbar-right a:hover { color: var(--white); }
.lang-switcher { display: flex; gap: 0.5rem; }
.lang-switcher a { font-weight: 500; padding: 0.15rem 0; }
.lang-switcher a.active { color: var(--white); border-bottom: 1px solid var(--red); }

/* ======================================================
   NAVIGATION
   ====================================================== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 999;
  background: var(--white);
  border-bottom: 1px solid var(--border-light);
  transition: box-shadow var(--t), background var(--t);
}
.navbar.scrolled { box-shadow: 0 4px 24px rgba(0,0,0,0.12); }
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  gap: 2rem;
}
.navbar-logo img { height: 52px; width: auto; }
.navbar-logo:hover { opacity: 0.85; transition: opacity var(--t); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  flex: 1;
  justify-content: center;
}
.nav-links a {
  font-family: var(--font-b);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-700);
  padding: 0.5rem 0.75rem;
  border-radius: var(--r);
  position: relative;
  transition: color var(--t);
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0.75rem; right: 0.75rem;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transition: transform var(--t);
  transform-origin: left;
}
.nav-links a:hover { color: var(--red); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.nav-links a.active { color: var(--red); }

/* Nav dropdown */
.nav-links li { position: relative; list-style: none; }
.nav-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  min-width: 260px;
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--r);
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
  padding: 0.5rem 0;
  z-index: 1000;
}
.nav-links li.has-dropdown:hover .nav-dropdown { display: block; }
.nav-dropdown a {
  display: block;
  padding: 0.6rem 1rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--gray-700);
  border-radius: 0;
  white-space: nowrap;
}
.nav-dropdown a::after { display: none; }
.nav-dropdown a:hover { color: var(--red); background: #fafafa; }
.nav-links li.has-dropdown > a::after { display: none; }
.nav-links li.has-dropdown > a .dropdown-arrow {
  display: inline-block;
  margin-left: 4px;
  font-size: 0.65rem;
  transition: transform var(--t);
  vertical-align: middle;
}
.nav-links li.has-dropdown:hover > a .dropdown-arrow { transform: rotate(180deg); }

/* Projets institutionnels (homepage section) */
.projets-inst-section { padding: 5rem 0; background: var(--white); border-top: 1px solid var(--border-light); }
.pi-header { margin-bottom: 3rem; }
.pi-title {
  font-family: var(--font-h);
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  font-weight: 800;
  color: var(--dark);
  line-height: 1.1;
  margin: 0.75rem 0 1rem;
  max-width: 700px;
}
.pi-desc {
  font-size: 0.95rem;
  color: var(--gray-500);
  line-height: 1.75;
  max-width: 760px;
}
.pi-block {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 0;
  align-items: stretch;
  margin-bottom: 1.5rem;
  border: 1px solid var(--border-light);
  border-radius: var(--r);
  overflow: hidden;
}
.pi-block-reverse { grid-template-columns: 1fr 420px; }
.pi-photo {
  position: relative;
  min-height: 400px;
}
.pi-block-tall .pi-photo { min-height: 620px; }
.pi-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.pi-content { padding: 3rem 2.5rem; display: flex; flex-direction: column; justify-content: flex-start; }
.pi-badge {
  position: absolute;
  top: 0.75rem; left: 0.75rem;
  z-index: 2;
  background: var(--red);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.25rem 0.65rem;
  border-radius: 2px;
}
.pi-badge-right { left: auto; right: 0.75rem; }
.pi-project-title {
  font-family: var(--font-h);
  font-size: 2.6rem;
  font-weight: 900;
  color: var(--dark);
  letter-spacing: -0.01em;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}
.pi-project-sub {
  font-size: 0.925rem;
  font-weight: 700;
  color: var(--red);
  line-height: 1.55;
  margin-bottom: 1.25rem;
}
.pi-project-text {
  font-size: 0.9rem;
  color: var(--gray-700);
  line-height: 1.8;
  margin-bottom: 2rem;
}
.pi-levels {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--border-light);
  border-radius: var(--r);
  overflow: hidden;
  margin-bottom: 1.75rem;
}
.pi-level {
  padding: 0.75rem 0.6rem;
  border-right: 1px solid var(--border-light);
  text-align: center;
}
.pi-level:last-child { border-right: none; }
.pi-level strong {
  display: block;
  font-family: var(--font-h);
  font-size: 1rem;
  font-weight: 800;
  color: var(--dark);
  border-bottom: 2px solid var(--red);
  padding-bottom: 0.25rem;
  margin-bottom: 0.4rem;
}
.pi-level span { font-size: 0.72rem; color: var(--gray-500); line-height: 1.3; }
.pi-levers { font-size: 0.85rem; color: var(--gray-700); line-height: 1.7; margin-bottom: 1.75rem; }
.pi-levers strong { color: var(--dark); }
.pi-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.75rem 1rem;
  background: #F5F5F5;
  border-radius: var(--r);
}
.pi-brand-name { font-family: var(--font-h); font-size: 0.9rem; font-weight: 800; color: var(--dark); }
.pi-brand-tagline { font-size: 0.78rem; color: var(--gray-500); font-style: italic; }
.pi-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}
.pi-pill {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  padding: 0.3rem 0.8rem;
  font-size: 0.78rem;
  color: var(--gray-700);
}
.pi-footer {
  margin-top: 2.5rem;
  background: var(--dark);
  color: rgba(255,255,255,0.75);
  font-size: 0.875rem;
  line-height: 1.65;
  padding: 1.25rem 1.5rem;
  border-radius: var(--r);
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.pi-footer svg { flex-shrink: 0; color: rgba(255,255,255,0.4); margin-top: 2px; }

.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--red);
  color: var(--white);
  font-family: var(--font-b);
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.65rem 1.25rem;
  border-radius: var(--r);
  white-space: nowrap;
  transition: background var(--t), transform var(--t), box-shadow var(--t);
}
.btn-cta:hover {
  background: var(--red-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(200,16,46,0.35);
}

/* Mobile menu toggle */
.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 4px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--gray-900); border-radius: 2px; transition: var(--t); }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ======================================================
   BUTTONS
   ====================================================== */
.btn { display: inline-flex; align-items: center; gap: 0.5rem; font-family: var(--font-b); font-weight: 600; font-size: 0.9rem; padding: 0.75rem 1.5rem; border-radius: var(--r); transition: all var(--t); cursor: pointer; }
.btn-primary { background: var(--red); color: var(--white); }
.btn-primary:hover { background: var(--red-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(200,16,46,0.35); }
.btn-outline { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,0.6); }
.btn-outline:hover { background: rgba(255,255,255,0.1); border-color: var(--white); transform: translateY(-2px); }
.btn-outline-dark { background: transparent; color: var(--gray-900); border: 2px solid var(--gray-300); }
.btn-outline-dark:hover { border-color: var(--gray-900); background: var(--gray-100); }
.btn-sm { padding: 0.5rem 1rem; font-size: 0.8rem; }
.btn-lg { padding: 0.9rem 2rem; font-size: 1rem; }

/* ======================================================
   SECTION LABELS / CHIPS
   ====================================================== */
.section-tag {
  display: inline-block;
  font-family: var(--font-b);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.75rem;
}
.section-tag-pill {
  display: inline-block;
  background: var(--red);
  color: var(--white);
  font-family: var(--font-b);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  border-radius: 2px;
  margin-bottom: 1rem;
}
.section-tag-pill.dark { background: rgba(255,255,255,0.12); color: var(--white); }

/* ======================================================
   HERO
   ====================================================== */
.hero {
  background: url('../images/slide1.png') center/cover no-repeat;
  color: var(--white);
  padding: 5rem 0 4rem;
  overflow: hidden;
  position: relative;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10,10,10,0.88) 0%, rgba(10,10,10,0.6) 55%, rgba(10,10,10,0.25) 100%);
  pointer-events: none;
}
.hero .container { display: grid; grid-template-columns: 1.3fr 1fr; gap: 3rem; align-items: center; }
.hero-content { position: relative; z-index: 1; }
.hero-title {
  font-family: var(--font-h);
  font-size: clamp(2.4rem, 4vw, 4rem);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -0.01em;
  margin-bottom: 1.25rem;
}
.hero-subtitle { font-size: 1.05rem; color: rgba(255,255,255,0.7); line-height: 1.65; margin-bottom: 2rem; max-width: 460px; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-visual { position: relative; }
.hero-image {
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  aspect-ratio: 1/1;
  max-width: 560px;
}
.hero-image img { width: 100%; height: 100%; object-fit: cover; }
.hero-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(200,16,46,0.15) 0%, transparent 60%);
  pointer-events: none;
}
.hero-event-badge {
  position: absolute;
  bottom: 0; left: 0;
  background: var(--red);
  color: var(--white);
  padding: 0.65rem 1rem;
  font-family: var(--font-b);
  font-size: 0.8rem;
  border-radius: 0;
}
.hero-event-badge strong { display: block; font-size: 0.9rem; font-weight: 700; }

/* ======================================================
   TICKER BANNER
   ====================================================== */
.ticker-band {
  background: var(--red);
  color: var(--white);
  padding: 0.65rem 0;
  overflow: hidden;
}
.ticker-band .container { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.ticker-text { font-family: var(--font-b); font-size: 0.85rem; font-weight: 500; }
.ticker-location { font-family: var(--font-b); font-size: 0.85rem; font-weight: 600; white-space: nowrap; }

/* ======================================================
   STATS
   ====================================================== */
.stats { padding: 4rem 0; background: var(--white); border-bottom: 1px solid var(--border-light); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.stat-item { text-align: left; }
.stat-number {
  font-family: var(--font-h);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 800;
  color: var(--red);
  line-height: 1;
  display: block;
}
.stat-label { font-size: 0.85rem; color: var(--gray-500); margin-top: 0.4rem; line-height: 1.4; }

/* ======================================================
   SERVICES
   ====================================================== */
.services-section { padding: 5rem 0; background: var(--white); }
.section-header { margin-bottom: 3rem; }
.section-title {
  font-family: var(--font-h);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 800;
  color: var(--dark);
  line-height: 1.1;
}
.section-title.white { color: var(--white); }
.services-intro { display: grid; grid-template-columns: 1.35fr 1fr; gap: 2.5rem; align-items: stretch; margin-bottom: 3rem; }
.services-why-box {
  background: var(--red);
  color: var(--white);
  padding: 1.75rem 2rem;
  border-radius: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.services-why-box h4 { font-family: var(--font-h); font-size: 1.15rem; font-weight: 800; margin-bottom: 0.75rem; line-height: 1.2; }
.services-why-box p { font-size: 0.875rem; line-height: 1.65; opacity: 0.93; }

.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.75rem; }
.service-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: 0;
  overflow: hidden;
  transition: transform var(--t), box-shadow var(--t);
  display: flex;
  flex-direction: column;
}
.service-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(0,0,0,0.10); }
.card-image { height: 220px; overflow: hidden; position: relative; }
.card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.service-card:hover .card-image img { transform: scale(1.05); }
.card-workflow-panel { background: var(--dark); display: flex; flex-direction: column; justify-content: space-between; padding: 1.5rem 1.25rem 0; }
.workflow-tabs { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.wf-tab { padding: 0.4rem 0.8rem; font-size: 0.72rem; font-weight: 600; font-family: var(--font-b); color: rgba(255,255,255,0.55); border: 1px solid rgba(255,255,255,0.2); letter-spacing: 0.03em; }
.wf-tab.wf-active { background: var(--red); color: var(--white); border-color: var(--red); }
.card-badge {
  position: absolute;
  bottom: 0; left: 0;
  background: var(--red);
  color: var(--white);
  font-family: var(--font-b);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.28rem 0.65rem;
}
.card-body { padding: 1.25rem 1.4rem 1.4rem; flex: 1; display: flex; flex-direction: column; }
.card-title { font-family: var(--font-h); font-size: 1.3rem; font-weight: 800; color: var(--dark); margin-bottom: 0.5rem; line-height: 1.15; }
.card-text { font-size: 0.84rem; color: var(--gray-500); line-height: 1.65; flex: 1; }
.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--red);
  font-size: 0.84rem;
  font-weight: 700;
  margin-top: 1.1rem;
  transition: gap var(--t), color var(--t);
  text-decoration: none;
}
.card-link:hover { gap: 0.55rem; color: var(--red-dark); }

/* ======================================================
   QUI SOMMES-NOUS
   ====================================================== */
.about-section { padding: 6rem 0; background: #FAFAFA; }
.about-header { margin-bottom: 2.5rem; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.about-left {}
.about-video-wrap video { box-shadow: 0 10px 30px rgba(0,0,0,0.12); }
.about-title {
  font-family: var(--font-h);
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  font-weight: 800;
  color: var(--dark);
  line-height: 1.1;
  margin-bottom: 0;
}
.about-right p { color: var(--gray-700); line-height: 1.75; margin-bottom: 1rem; font-size: 0.95rem; }
.about-vismis { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 3rem; }
.vm-box { background: var(--white); border: 1px solid var(--border-light); border-top: 3px solid var(--red); padding: 1.5rem 1.75rem; }
.vm-box-label { font-family: var(--font-b); font-size: 0.65rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--red); margin-bottom: 0.75rem; }
.vm-box p { font-size: 0.875rem; color: var(--gray-700); line-height: 1.65; }

/* ======================================================
   PILLARS BAR
   ====================================================== */
.pillars-bar { background: var(--dark); color: var(--white); padding: 2.5rem 0; }
.pillars-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.pillar { display: flex; align-items: flex-start; gap: 0.75rem; }
.pillar-check { color: var(--red); flex-shrink: 0; margin-top: 2px; font-size: 1.1rem; }
.pillar-title { font-family: var(--font-b); font-size: 0.9rem; font-weight: 600; color: var(--white); margin-bottom: 0.25rem; }
.pillar-desc { font-size: 0.8rem; color: rgba(255,255,255,0.5); line-height: 1.5; }

/* ======================================================
   AGRÉMENTS
   ====================================================== */
.agrements-section { padding: 5rem 0; background: var(--white); }
.agrements-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 4rem; align-items: start; margin-top: 2.5rem; }
.agrements-left .cert-list { margin-top: 1.25rem; display: flex; flex-direction: column; gap: 0.75rem; }
.cert-item { display: flex; align-items: flex-start; gap: 0.6rem; font-size: 0.875rem; color: var(--gray-700); line-height: 1.5; }
.cert-icon { color: var(--red); flex-shrink: 0; margin-top: 2px; }
.agrements-table { width: 100%; border-collapse: collapse; }
.agrements-table th { text-align: left; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--white); background: var(--dark); padding: 0.75rem 1rem; }
.agrements-table td { padding: 0.9rem 1rem; border-bottom: 1px solid var(--border-light); font-size: 0.875rem; color: var(--gray-700); }
.agrements-table td:first-child { font-weight: 700; color: var(--dark); white-space: nowrap; }
.agrements-table tr:hover td { background: var(--gray-50); }

/* ======================================================
   RÉFÉRENCES
   ====================================================== */
.references-section { padding: 5rem 0; background: var(--gray-50); }
.clients-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; border: 1px solid var(--border-light); margin-top: 2.5rem; background: var(--border-light); }
.client-cell { background: var(--white); padding: 1.5rem 1rem; display: flex; align-items: center; justify-content: center; transition: background var(--t); }
.client-cell:hover { background: var(--gray-50); }
.client-cell span { font-family: var(--font-b); font-size: 0.8rem; font-weight: 700; color: var(--gray-700); text-align: center; line-height: 1.3; }

.ref-bottom { margin-top: 3rem; display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.why-choose { background: var(--white); border: 1px solid var(--border-light); padding: 2rem; border-radius: 0; }
.why-choose h3 { font-family: var(--font-h); font-size: 1.3rem; font-weight: 700; margin-bottom: 1.25rem; color: var(--dark); }
.why-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.why-item { display: flex; align-items: flex-start; gap: 0.5rem; font-size: 0.8rem; color: var(--gray-700); line-height: 1.5; }
.why-item svg { color: var(--red); flex-shrink: 0; margin-top: 2px; }
.gpmaci-box { background: var(--white); border: 1px solid var(--border-light); padding: 2rem; border-radius: 0; }
.gpmaci-tag { font-size: 0.65rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--red); margin-bottom: 0.5rem; }
.gpmaci-box h3 { font-family: var(--font-h); font-size: 1.5rem; font-weight: 800; color: var(--dark); margin-bottom: 0.4rem; }
.gpmaci-box .sub { font-size: 0.8rem; font-weight: 600; color: var(--gray-700); margin-bottom: 0.75rem; }
.gpmaci-box p { font-size: 0.85rem; color: var(--gray-500); line-height: 1.6; }

.cases-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.75rem; margin-top: 3rem; }
.case-card { background: var(--dark); color: var(--white); padding: 1.5rem; border-radius: 0; transition: transform var(--t), background var(--t); }
.case-card:hover { transform: translateY(-3px); background: var(--dark-3); }
.case-category { font-size: 0.6rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--red); margin-bottom: 0.6rem; }
.case-title { font-family: var(--font-h); font-size: 1rem; font-weight: 700; line-height: 1.3; color: var(--white); }

/* ======================================================
   CTA BAND
   ====================================================== */
.cta-band { background: var(--red); padding: 4rem 0; }
.cta-band .container { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 3rem; }
.cta-band h2 { font-family: var(--font-h); font-size: clamp(1.8rem, 3vw, 2.5rem); font-weight: 800; color: var(--white); line-height: 1.1; }
.cta-band p { color: rgba(255,255,255,0.8); margin-top: 0.5rem; font-size: 0.95rem; }
.cta-actions { display: flex; gap: 1rem; align-items: center; }
.btn-white { background: var(--white); color: var(--red); font-weight: 700; }
.btn-white:hover { background: var(--gray-100); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.2); }
.btn-outline-white { border: 2px solid rgba(255,255,255,0.7); color: var(--white); background: transparent; }
.btn-outline-white:hover { background: rgba(255,255,255,0.1); border-color: var(--white); }

/* ======================================================
   FOOTER
   ====================================================== */
.footer { background: var(--dark); color: var(--white); padding: 4rem 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1.5fr 1fr; gap: 3rem; padding-bottom: 3rem; border-bottom: 1px solid var(--border); }
.footer-brand .footer-logo { margin-bottom: 1.25rem; }
.footer-brand .footer-logo img { height: 48px; width: auto; background: white; padding: 3px 10px; }
.footer-brand p { font-size: 0.85rem; color: rgba(255,255,255,0.5); line-height: 1.65; }
.footer-col-title { font-family: var(--font-b); font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--white); margin-bottom: 1.25rem; }
.footer-links { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-links a { font-size: 0.875rem; color: rgba(255,255,255,0.55); transition: color var(--t); }
.footer-links a:hover { color: var(--white); }
.footer-contact-list { display: flex; flex-direction: column; gap: 0.75rem; }
.footer-contact-item { display: flex; align-items: flex-start; gap: 0.6rem; font-size: 0.875rem; color: rgba(255,255,255,0.55); line-height: 1.5; }
.footer-contact-item a { color: var(--red); }
.footer-contact-item a:hover { text-decoration: underline; }
.footer-social { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-social a { display: flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; color: rgba(255,255,255,0.55); transition: color var(--t); }
.footer-social a:hover { color: var(--white); }
.footer-bottom {
  padding: 1.25rem 0;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  font-size: 0.775rem; color: rgba(255,255,255,0.3);
}
.footer-bottom a { color: rgba(255,255,255,0.4); transition: color var(--t); }
.footer-bottom a:hover { color: rgba(255,255,255,0.7); }
.footer-legal-links { display: flex; gap: 1.25rem; }

/* ======================================================
   WHATSAPP FLOAT
   ====================================================== */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 998;
  width: 54px; height: 54px;
  background: #25D366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  transition: transform var(--t), box-shadow var(--t);
  animation: whatsapp-pulse 2.5s infinite;
}
.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 8px 30px rgba(37,211,102,0.5); animation: none; }
.whatsapp-float svg { width: 28px; height: 28px; fill: white; }
@keyframes whatsapp-pulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,0.4); }
  50% { box-shadow: 0 4px 30px rgba(37,211,102,0.65), 0 0 0 8px rgba(37,211,102,0.08); }
}

/* ======================================================
   PAGE INTRO SECTION (no photo hero — projets-miniers, etc.)
   ====================================================== */
.page-intro-section { background: var(--white); padding: 3.5rem 0 1.5rem; border-bottom: 1px solid var(--border-light); }
.page-intro-title { font-family: var(--font-h); font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; color: var(--dark); line-height: 1.1; margin: 1rem 0 1.25rem; max-width: 780px; }
.page-intro-desc { font-size: 1rem; color: var(--gray-500); line-height: 1.75; max-width: 820px; }

/* ======================================================
   PAGE HERO (inner pages)
   ====================================================== */
.page-hero {
  position: relative;
  color: var(--white);
  overflow: hidden;
  height: 320px;
  display: flex;
  align-items: flex-end;
}
.page-hero-img {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
}
.page-hero-img::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,10,10,0.92) 0%, rgba(10,10,10,0.35) 50%, rgba(10,10,10,0.1) 100%);
}
.page-hero-content {
  position: relative; z-index: 1;
  padding: 0 0 2rem;
  width: 100%;
}
.page-hero-badge {
  display: inline-block;
  background: var(--red);
  color: var(--white);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.28rem 0.65rem;
  border-radius: 0;
  margin-bottom: 0.65rem;
}
.page-hero-title {
  font-family: var(--font-h);
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 800;
  line-height: 1.0;
}
.page-hero-desc { font-size: 1rem; color: rgba(255,255,255,0.75); max-width: 580px; line-height: 1.65; margin-top: 0.75rem; }

/* Breadcrumb */
.breadcrumb { padding: 0.75rem 0; font-size: 0.8rem; color: var(--gray-500); }
.breadcrumb a { color: var(--gray-500); transition: color var(--t); }
.breadcrumb a:hover { color: var(--red); }
.breadcrumb span { margin: 0 0.4rem; }

/* ======================================================
   SERVICE DETAIL PAGE
   ====================================================== */
.service-detail { padding: 4rem 0; }
.service-detail-layout { display: grid; grid-template-columns: 1fr 320px; gap: 3rem; align-items: start; }
.service-main { }
.service-intro { font-size: 1rem; color: var(--gray-700); line-height: 1.75; margin-bottom: 3rem; }

.service-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-bottom: 2.5rem; }
.service-col-box { border: 1px solid var(--border-light); border-radius: 0; padding: 1.5rem; }
.service-col-box h3 { font-family: var(--font-h); font-size: 1.1rem; font-weight: 700; color: var(--dark); margin-bottom: 1rem; border-bottom: 2px solid var(--red); padding-bottom: 0.6rem; }
.service-col-box ul { display: flex; flex-direction: column; gap: 0.6rem; }
.service-col-box li { display: flex; align-items: flex-start; gap: 0.5rem; font-size: 0.875rem; color: var(--gray-700); line-height: 1.5; }
.service-col-box li::before { content: '■'; color: var(--red); font-size: 0.5rem; margin-top: 0.3rem; flex-shrink: 0; }
.service-spec-item strong { color: var(--red); font-size: 0.95rem; display: block; margin-bottom: 0.2rem; }

.service-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-bottom: 2.5rem; }
.metric-box { border-top: 2px solid var(--border-light); padding-top: 1rem; }
.metric-box h4 { font-family: var(--font-b); font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--dark); margin-bottom: 0.4rem; }
.metric-box p { font-size: 0.875rem; color: var(--gray-500); line-height: 1.5; }

.service-dark-box { background: var(--dark); color: var(--white); padding: 2rem; border-radius: 0; margin-bottom: 2.5rem; display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.service-dark-box-section h4 { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--red); margin-bottom: 0.75rem; }
.service-dark-box-section ul { display: flex; flex-direction: column; gap: 0.5rem; }
.service-dark-box-section li { font-size: 0.875rem; color: rgba(255,255,255,0.7); line-height: 1.5; }

/* FAQ */
.faq-section { margin-top: 3rem; }
.faq-title { font-family: var(--font-h); font-size: 1.75rem; font-weight: 800; margin-bottom: 1.5rem; }
.faq-item { border-bottom: 1px solid var(--border-light); }
.faq-question {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1rem 0;
  font-size: 0.95rem; font-weight: 500; color: var(--dark); cursor: pointer;
  transition: color var(--t);
}
.faq-question:hover { color: var(--red); }
.faq-icon { flex-shrink: 0; color: var(--red); font-size: 1.25rem; transition: transform var(--t); }
.faq-answer { font-size: 0.875rem; color: var(--gray-700); line-height: 1.65; padding-bottom: 1rem; display: none; }
.faq-item.open .faq-answer { display: block; }
.faq-item.open .faq-icon { transform: rotate(45deg); }

/* Sidebar */
.service-sidebar { }
.sidebar-cta {
  background: var(--red);
  color: var(--white);
  padding: 1.75rem;
  border-radius: 0;
  margin-bottom: 1.5rem;
  text-align: center;
}
.sidebar-cta h3 { font-family: var(--font-h); font-size: 1.1rem; font-weight: 700; margin-bottom: 0.4rem; }
.sidebar-cta p { font-size: 0.8rem; opacity: 0.85; margin-bottom: 1.25rem; }
.sidebar-cta .btn { width: 100%; justify-content: center; }
.sidebar-cta .wa-link { display: inline-flex; align-items: center; gap: 0.4rem; color: rgba(255,255,255,0.8); font-size: 0.8rem; margin-top: 0.6rem; transition: color var(--t); }
.sidebar-cta .wa-link:hover { color: var(--white); }

.sidebar-box { border: 1px solid var(--border-light); padding: 1.5rem; border-radius: 0; margin-bottom: 1.5rem; }
.sidebar-box h4 { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--gray-500); margin-bottom: 1rem; }
.sidebar-services { display: flex; flex-direction: column; gap: 0.5rem; }
.sidebar-services a { display: flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; color: var(--gray-700); padding: 0.4rem 0; border-bottom: 1px solid transparent; transition: color var(--t), border-color var(--t); }
.sidebar-services a:hover { color: var(--red); }
.sidebar-services a span { font-size: 0.75rem; color: var(--red); font-weight: 700; }
.sidebar-download { display: flex; align-items: center; gap: 0.75rem; padding: 1rem; background: var(--gray-50); border-radius: 0; font-size: 0.85rem; color: var(--gray-700); transition: background var(--t); }
.sidebar-download:hover { background: var(--gray-100); }
.sidebar-download svg { color: var(--red); flex-shrink: 0; }

/* ======================================================
   AGRÉMENTS PAGE
   ====================================================== */
.agrements-page { padding: 5rem 0; }
.agrements-intro { max-width: 680px; font-size: 0.95rem; color: var(--gray-700); line-height: 1.75; margin-bottom: 3rem; }
.agrements-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; margin-bottom: 4rem; }
.agrement-card { border: 1px solid var(--border-light); border-top: 3px solid var(--red); padding: 1.75rem; transition: box-shadow var(--t), transform var(--t); }
.agrement-card:hover { box-shadow: 0 10px 30px rgba(0,0,0,0.08); transform: translateY(-3px); }
.agrement-num { font-family: var(--font-h); font-size: 0.95rem; font-weight: 800; color: var(--red); margin-bottom: 0.5rem; }
.agrement-domain { font-family: var(--font-h); font-size: 1.25rem; font-weight: 700; color: var(--dark); margin-bottom: 0.6rem; }
.agrement-desc { font-size: 0.875rem; color: var(--gray-500); line-height: 1.6; }

/* ======================================================
   PROJETS MINIERS PAGE
   ====================================================== */
.projets-page { padding: 1rem 0 5rem; }
.projet-block { margin-bottom: 5rem; }
.projet-block-inner { display: grid; grid-template-columns: 1fr 1.3fr; gap: 4rem; align-items: center; }
.projet-block.reverse .projet-block-inner { direction: rtl; }
.projet-block.reverse .projet-block-inner > * { direction: ltr; }
.projet-image { border-radius: 0; overflow: hidden; height: 420px; position: relative; }
.projet-image img { width: 100%; height: 100%; object-fit: cover; }
.projet-image .projet-badge { position: absolute; bottom: 0; left: 0; background: var(--red); color: var(--white); font-size: 0.6rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; padding: 0.28rem 0.65rem; border-radius: 0; }
.projet-block.reverse .projet-image .projet-badge { bottom: auto; left: auto; top: 1rem; right: 1rem; }
.projet-content {}
.projet-title { font-family: var(--font-h); font-size: 2rem; font-weight: 800; color: var(--dark); margin-bottom: 0.5rem; text-transform: uppercase; }
.projet-subtitle { font-size: 0.9rem; font-weight: 600; color: var(--red); margin-bottom: 1rem; }
.projet-desc { font-size: 0.9rem; color: var(--gray-700); line-height: 1.7; margin-bottom: 1.5rem; }
.projet-levels { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; border-top: 1px solid var(--border-light); padding-top: 1.25rem; margin-bottom: 1.25rem; }
.level-item { }
.level-code { font-family: var(--font-h); font-size: 1.3rem; font-weight: 800; color: var(--dark); margin-bottom: 0.2rem; }
.level-label { font-size: 0.75rem; color: var(--gray-500); line-height: 1.3; border-top: 2px solid var(--border-light); padding-top: 0.4rem; margin-top: 0.3rem; }
.projet-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.projet-tag { background: var(--gray-100); color: var(--gray-700); font-size: 0.775rem; font-weight: 500; padding: 0.3rem 0.75rem; border-radius: 2px; }
.projet-levier { font-size: 0.85rem; color: var(--gray-700); line-height: 1.6; margin-bottom: 1.25rem; }
.projet-levier strong { color: var(--dark); }
.projets-cta-band { background: var(--dark); color: var(--white); padding: 2rem; border-radius: 0; display: flex; align-items: center; gap: 1rem; }
.projets-cta-band svg { color: var(--red); font-size: 1.5rem; flex-shrink: 0; }
.projets-cta-band p { font-size: 0.875rem; color: rgba(255,255,255,0.7); line-height: 1.6; }

/* ======================================================
   QUI SOMMES-NOUS PAGE
   ====================================================== */
.qsn-page { padding: 5rem 0; }
.qsn-intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; margin-bottom: 5rem; }
.qsn-intro-left .big-title { font-family: var(--font-h); font-size: clamp(1.9rem,3vw,2.8rem); font-weight: 800; color: var(--dark); line-height: 1.1; margin-bottom: 1.5rem; }
.qsn-intro-left p { font-size: 0.95rem; color: var(--gray-700); line-height: 1.75; margin-bottom: 1rem; }
.qsn-intro-right p { font-size: 0.95rem; color: var(--gray-700); line-height: 1.75; margin-bottom: 1rem; }
.qsn-video-wrap { position: relative; border-radius: var(--r); overflow: hidden; background: var(--dark); aspect-ratio: 16/9; }
.qsn-video-wrap video { width: 100%; height: 100%; object-fit: cover; border-radius: var(--r); }
.qsn-team { margin-bottom: 4rem; }
.qsn-team-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.5rem; margin-top: 2rem; }
.team-card { text-align: center; }
.team-photo { width: 100%; aspect-ratio: 1; border-radius: 6px; overflow: hidden; background: var(--gray-100); margin-bottom: 0.75rem; }
.team-photo img { width:100%;height:100%;object-fit:cover; }
.team-name { font-family: var(--font-h); font-size:1.1rem; font-weight:700; color:var(--dark); }
.team-role { font-size:0.8rem; color:var(--gray-500); margin-top:0.2rem; }

/* ======================================================
   RÉFÉRENCES PAGE
   ====================================================== */
.references-page { padding: 0.5rem 0; }

/* ======================================================
   CONTACT PAGE
   ====================================================== */
.contact-page { padding: 2.5rem 0 4rem; }
.contact-layout { display: grid; grid-template-columns: 1fr 320px; gap: 3rem; align-items: start; }
.contact-form-title { font-family: var(--font-h); font-size: 2rem; font-weight: 800; color: var(--dark); margin-bottom: 0.5rem; }
.contact-form-desc { font-size: 0.9rem; color: var(--gray-500); margin-bottom: 2rem; line-height: 1.65; }

/* Service toggle pills */
.service-pills { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 2rem; }
.service-pill {
  background: var(--white);
  border: 1.5px solid var(--border-light);
  color: var(--gray-700);
  font-size: 0.8rem; font-weight: 500;
  padding: 0.4rem 0.9rem;
  border-radius: 2px;
  cursor: pointer;
  transition: all var(--t);
}
.service-pill:hover { border-color: var(--red); color: var(--red); }
.service-pill.active { background: var(--red); border-color: var(--red); color: var(--white); }

/* Form */
.form-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 1rem; margin-bottom: 1rem; }
.form-group { display: flex; flex-direction: column; gap: 0.3rem; }
.form-group.full { grid-column: 1 / -1; }
.form-group.span2 { grid-column: span 2; }
.form-label { font-size: 0.8rem; font-weight: 600; color: var(--gray-700); }
.form-input, .form-textarea {
  border: 1.5px solid var(--border-light);
  border-radius: var(--r);
  padding: 0.65rem 0.9rem;
  font-family: var(--font-b); font-size: 0.875rem;
  color: var(--dark);
  background: var(--white);
  transition: border-color var(--t), box-shadow var(--t);
  width: 100%;
}
.form-input:focus, .form-textarea:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(200,16,46,0.08); }
.form-textarea { resize: vertical; min-height: 120px; }
.form-input::placeholder, .form-textarea::placeholder { color: var(--gray-300); }
.form-file-label {
  display: flex; align-items: center; gap: 0.75rem;
  border: 1.5px dashed var(--border-light); border-radius: var(--r);
  padding: 0.75rem 1rem; font-size: 0.85rem; color: var(--gray-500);
  cursor: pointer; transition: border-color var(--t), background var(--t);
}
.form-file-label:hover { border-color: var(--red); background: var(--red-light); }
.form-file-input { display: none; }
.form-hint { font-size: 0.75rem; color: var(--gray-300); }
.form-consent { display: flex; align-items: flex-start; gap: 0.6rem; font-size: 0.8rem; color: var(--gray-500); line-height: 1.5; margin-top: 1rem; }
.form-consent input { margin-top: 2px; accent-color: var(--red); }
.form-consent a { color: var(--red); }
.form-submit { margin-top: 1.25rem; }
.form-message { padding: 0.75rem 1rem; border-radius: var(--r); font-size: 0.875rem; display: none; }
.form-message.success { background: #d4edda; color: #155724; border: 1px solid #c3e6cb; display: block; }
.form-message.error { background: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; display: block; }

.contact-sidebar { }
.contact-sidebar-block { border: 1px solid var(--border-light); border-radius: 0; overflow: hidden; margin-bottom: 1.25rem; }
.csb-wa { background: #25D366; color: var(--white); padding: 1.5rem; }
.csb-wa h3 { font-family: var(--font-h); font-size: 1.15rem; font-weight: 800; margin-bottom: 0.4rem; }
.csb-wa a { font-size: 1rem; color: var(--white); font-weight: 700; display: block; }
.csb-coords { padding: 1.5rem; }
.csb-coords h4 { font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--gray-500); margin-bottom: 1rem; }
.csb-coord-item { display: flex; align-items: flex-start; gap: 0.6rem; font-size: 0.875rem; color: var(--gray-700); margin-bottom: 0.65rem; line-height: 1.5; }
.csb-coord-item a { color: var(--red); font-weight: 600; }
.csb-urgence { padding: 1.25rem; background: var(--dark); color: var(--white); }
.csb-urgence h4 { font-family: var(--font-h); font-size: 1rem; font-weight: 700; margin-bottom: 0.4rem; }
.csb-urgence p { font-size: 0.8rem; color: rgba(255,255,255,0.65); }
.csb-map { height: 180px; overflow: hidden; }
.csb-map iframe { width: 100%; height: 100%; border: 0; display: block; }
.csb-map-link { text-decoration: none; display: block; }
.csb-map-static { background: #f0f1f2; padding: 1.5rem; display: flex; flex-direction: column; gap: 0.5rem; min-height: 140px; justify-content: center; }
.csb-map-static svg { color: var(--red); flex-shrink: 0; }
.csb-map-static strong { display: block; font-size: 0.875rem; font-weight: 700; color: var(--dark); }
.csb-map-static span { font-size: 0.8rem; color: var(--gray-500); }
.csb-map-cta { font-size: 0.75rem !important; font-weight: 600; color: var(--red) !important; margin-top: 0.5rem; }

/* ======================================================
   RESPONSIVE
   ====================================================== */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .hero .container { gap: 2.5rem; }
  .service-detail-layout { grid-template-columns: 1fr; }
  .service-sidebar { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .contact-layout { grid-template-columns: 1fr; }
  .contact-sidebar { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
  .about-grid { gap: 3rem; }
  .cases-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .topbar .container { flex-wrap: wrap; gap: 0.5rem; }
  .topbar-left { gap: 0.75rem; font-size: 0.7rem; }
  .topbar-right { font-size: 0.7rem; }

  .nav-links, .btn-cta { display: none; }
  .nav-toggle { display: flex; }
  .navbar.menu-open .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--white);
    padding: 1rem;
    border-top: 1px solid var(--border-light);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    gap: 0.25rem;
  }
  .navbar.menu-open .btn-cta { display: flex; margin: 0.5rem 1rem; justify-content: center; }
  .navbar { position: relative; }

  .hero .container { grid-template-columns: 1fr; gap: 2rem; }
  .hero-visual { order: -1; }
  .hero-title { font-size: clamp(2rem, 7vw, 2.8rem); }

  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .services-grid { grid-template-columns: 1fr; }
  .services-intro { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-vismis { grid-template-columns: 1fr; }
  .pillars-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .agrements-grid { grid-template-columns: 1fr; }
  .clients-grid { grid-template-columns: repeat(3, 1fr); }
  .ref-bottom { grid-template-columns: 1fr; }
  .cta-band .container { grid-template-columns: 1fr; gap: 1.5rem; }
  .cta-actions { flex-wrap: wrap; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .service-cols { grid-template-columns: 1fr; }
  .service-metrics { grid-template-columns: 1fr 1fr; }
  .service-dark-box { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .form-group.span2 { grid-column: span 1; }
  .contact-sidebar { grid-template-columns: 1fr; }
  .agrements-cards { grid-template-columns: 1fr; }
  .projet-block-inner { grid-template-columns: 1fr; }
  .projet-block.reverse .projet-block-inner { direction: ltr; }
  .projet-levels { grid-template-columns: repeat(2, 1fr); }
  .qsn-intro-grid { grid-template-columns: 1fr; }
  .qsn-team-grid { grid-template-columns: repeat(2, 1fr); }
  .cases-grid { grid-template-columns: 1fr; }
  .ticker-band .container { flex-direction: column; gap: 0.25rem; text-align: center; }
  .service-sidebar { grid-template-columns: 1fr; }
  .why-list { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .container { padding: 0 1rem; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .clients-grid { grid-template-columns: repeat(2, 1fr); }
  .pillars-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; gap: 0.75rem; }
  .hero-actions .btn { justify-content: center; }
  .service-metrics { grid-template-columns: 1fr; }
  .projet-levels { grid-template-columns: repeat(2, 1fr); }
  .pi-block { grid-template-columns: 1fr; }
  .pi-block-reverse { grid-template-columns: 1fr; }
  .pi-block-reverse .pi-photo { order: -1; }
  .pi-levels { grid-template-columns: repeat(2, 1fr); }
}

/* Nav dropdown on mobile (inside open menu) */
@media (max-width: 768px) {
  .nav-dropdown {
    position: static;
    display: none;
    box-shadow: none;
    border: none;
    border-left: 2px solid var(--border-light);
    border-radius: 0;
    padding: 0.25rem 0 0.25rem 0.75rem;
    margin: 0.25rem 0 0.25rem 0.75rem;
    min-width: 0;
  }
  .nav-links li.has-dropdown.open .nav-dropdown { display: block; }
  .nav-links li.has-dropdown > a { width: 100%; }
}

/* ======================================================
   SCROLL PROGRESS BAR
   ====================================================== */
.progress-bar {
  position: fixed; top: 0; left: 0; z-index: 9999;
  height: 3px; background: var(--red);
  transform-origin: left; transform: scaleX(0);
  transition: transform 0.1s linear;
}

/* ======================================================
   MINE PRO CI — DÉTAIL TEXTE + VIDÉO
   ====================================================== */
.minepro-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: start;
  margin: 2.5rem 0 3rem;
  padding: 2.5rem 2.5rem;
  background: #FAFAFA;
  border: 1px solid var(--border-light);
  border-radius: var(--r);
}

.minepro-title {
  font-family: var(--font-h);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--dark);
  line-height: 1.3;
  margin: 0 0 1.25rem;
}

.minepro-text p {
  font-size: 0.875rem;
  color: var(--gray-700);
  line-height: 1.8;
  margin: 0 0 0.9rem;
}
.minepro-text p:last-child { margin-bottom: 0; }

.minepro-video { position: relative; }

@media (max-width: 900px) {
  .minepro-detail { grid-template-columns: 1fr; gap: 2rem; }
}

/* ======================================================
   CATALOGUES À TÉLÉCHARGER
   ====================================================== */
.catalog-section { padding: 5rem 0; background: var(--gray-50); }

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.catalog-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--r);
  overflow: hidden;
  cursor: pointer;
  text-align: left;
  padding: 0;
  transition: transform var(--t), box-shadow var(--t);
  width: 100%;
}
.catalog-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(0,0,0,.10); }
.catalog-card:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }

.catalog-card__img-wrap {
  position: relative;
  height: 190px;
  overflow: hidden;
}
.catalog-card__img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform var(--t);
}
.catalog-card:hover .catalog-card__img-wrap img { transform: scale(1.03); }

.catalog-card__overlay {
  position: absolute; inset: 0;
  background: rgba(0,0,0,.38);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity var(--t);
  color: #fff;
}
.catalog-card:hover .catalog-card__overlay { opacity: 1; }

.catalog-card__body { padding: 1rem 1rem 1.25rem; }

.catalog-badge {
  display: inline-block;
  font-size: .625rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--red); border: 1px solid var(--red);
  border-radius: 2px; padding: 2px 6px;
  margin-bottom: .5rem;
}

.catalog-card__title {
  font-family: var(--font-h);
  font-size: 1rem; font-weight: 800;
  color: var(--dark); margin-bottom: .35rem; line-height: 1.3;
}
.catalog-card__desc { font-size: .8rem; color: var(--gray-500); line-height: 1.6; margin: 0; }

/* ---- Modale catalogue ---- */
.catalog-modal {
  position: fixed; inset: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: center;
  padding: 1rem;
}
.catalog-modal[hidden] { display: none; }

.catalog-modal__overlay {
  position: absolute; inset: 0;
  background: rgba(0,0,0,.55);
}

.catalog-modal__panel {
  position: relative; z-index: 1;
  background: var(--white);
  border-radius: var(--r);
  padding: 2rem;
  width: 100%; max-width: 440px;
  max-height: 90vh; overflow-y: auto;
  box-shadow: 0 24px 60px rgba(0,0,0,.18);
}

.catalog-modal__close {
  position: absolute; top: 1rem; right: 1rem;
  background: none; border: none;
  font-size: 1.5rem; line-height: 1;
  color: var(--gray-500); cursor: pointer;
  transition: color var(--t);
}
.catalog-modal__close:hover { color: var(--dark); }

.catalog-modal__doc {
  font-size: .75rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .06em; color: var(--red);
  margin-bottom: .25rem;
}
.catalog-modal__hint { font-size: .875rem; color: var(--gray-500); margin-bottom: 1.5rem; }

@media (max-width: 900px) {
  .catalog-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
  .catalog-grid { grid-template-columns: 1fr; }
}
