/* ============================================================
   EPPC — SITE INTERNET COMPLET
   Palette : bleu foncé #1a2e6e | bleu moyen #5b8ac7 | bleu clair #c5ddf0 | orange #f5a623
   ============================================================ */

:root {
  --bleu-fonce:   #1a2e6e;
  --bleu-moyen:   #5b8ac7;
  --bleu-clair:   #c5ddf0;
  --bleu-pale:    #eaf3fb;
  --bleu-mid:     #2e4fa0;
  --orange:       #f5a623;
  --orange-dark:  #c47d08;
  --blanc:        #ffffff;
  --gris-clair:   #f4f7fc;
  --gris-texte:   #4a5568;
  --gris-bord:    #d1ddef;
  --texte-sombre: #0d1a45;
  --font-titre:   'Barlow Condensed', sans-serif;
  --font-corps:   'Barlow', sans-serif;
  --radius:       8px;
  --radius-lg:    14px;
  --shadow:       0 4px 24px rgba(26,46,110,0.10);
  --shadow-hover: 0 8px 32px rgba(26,46,110,0.18);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-corps);
  color: var(--texte-sombre);
  background: var(--blanc);
  font-size: 15px;
  line-height: 1.7;
}

/* ── UTILITAIRES ────────────────────────────────── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 40px; }
.section    { padding: 80px 0; }
.section-alt { background: var(--gris-clair); }

h1,h2,h3,h4 { font-family: var(--font-titre); font-weight: 700; line-height: 1.2; }
h1 { font-size: 48px; }
h2 { font-size: 36px; color: var(--bleu-fonce); margin-bottom: 14px; }
h3 { font-size: 22px; color: var(--bleu-fonce); margin-bottom: 8px; }
h4 { font-size: 17px; color: var(--bleu-fonce); margin-bottom: 6px; }

.overline {
  font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--bleu-moyen); font-weight: 600; margin-bottom: 10px; display: block;
}
.section-intro {
  font-size: 16px; color: var(--gris-texte); max-width: 1200px; margin-bottom: 40px; line-height: 1.8;
}

/* ── BOUTONS ────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 28px; border-radius: var(--radius);
  font-family: var(--font-corps); font-weight: 600; font-size: 14px;
  cursor: pointer; border: none; transition: all .2s; text-decoration: none;
}
.btn-primary {
  background: var(--orange); color: var(--bleu-fonce);
}
.btn-primary:hover { background: var(--orange-dark); transform: translateY(-1px); box-shadow: var(--shadow-hover); }
.btn-secondary {
  background: transparent; color: var(--blanc);
  border: 1.5px solid rgba(255,255,255,0.45);
}
.btn-secondary:hover { background: rgba(255,255,255,0.12); }
.btn-outline {
  background: transparent; color: var(--bleu-fonce);
  border: 1.5px solid var(--bleu-moyen);
}
.btn-outline:hover { background: var(--bleu-pale); }

/* ── BOUTON PLAQUETTE ───────────────────────────── */
.btn-plaquette {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--radius);
  font-family: var(--font-corps);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  color: var(--bleu-fonce);
  background: #ffcc7a;
  border: none;
  transition: all .25s ease;
  white-space: nowrap;
  box-shadow: 0 3px 12px rgba(245, 166, 35, 0.22);
}
.btn-plaquette:hover {
  background: var(--orange);
  color: var(--bleu-fonce);
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

/* ── NAVIGATION ─────────────────────────────────── */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(26,46,110,0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: box-shadow .3s;
}
#navbar.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.25); }
.nav-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 40px;
  display: flex; align-items: center; justify-content: space-between;
  height: 70px; gap: 8px;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px; text-decoration: none;
  flex-shrink: 0;
}
.nav-logo img { height: 38px; width: auto; }
.nav-logo-text {
  font-family: var(--font-titre); font-size: 26px; font-weight: 700;
  color: #d0e4ff; line-height: 1;
}
.nav-logo-text sup { color: var(--orange); font-size: 11px; }
.nav-links {
  display: flex; align-items: center; gap: 0; list-style: none;
  flex-shrink: 1; min-width: 0;
}
.nav-links a {
  color: rgba(255,255,255,0.72); text-decoration: none;
  font-size: 12px; font-weight: 500;
  padding: 6px 6px; border-radius: 6px;
  transition: all .15s; white-space: nowrap;
}
.nav-links a:hover, .nav-links a.active {
  color: #fff; background: rgba(255,255,255,0.1);
}
.nav-cta-group {
  display: flex; gap: 6px; align-items: center; flex-shrink: 0;
}
.nav-cta {
  background: var(--orange); color: var(--bleu-fonce);
  padding: 8px 14px; border-radius: var(--radius);
  font-weight: 700; font-size: 12px; text-decoration: none;
  transition: all .2s; white-space: nowrap;
}
.nav-cta:hover { background: var(--orange-dark); }
.burger { display: none; }

/* ── SECTION 1 : HERO ───────────────────────────── */
#accueil {
  background: linear-gradient(135deg, var(--bleu-fonce) 0%, var(--bleu-mid) 50%, #1e5080 100%);
  min-height: 100vh; display: flex; align-items: center;
  padding-top: 80px; position: relative; overflow: hidden;
}
/* Téléphone en mode paysage : 100vh est trop contraignant sur un écran
   très court et écrase le contenu. On laisse la hauteur s'adapter au
   contenu plutôt que de forcer le plein écran. */
@media (max-height: 500px) and (orientation: landscape) {
  #accueil {
    min-height: auto;
    padding-top: 70px;
    padding-bottom: 30px;
  }
}
.hero-bg-deco {
  position: absolute; inset: 0; pointer-events: none;
}
.hero-bg-deco::before {
  content: ''; position: absolute;
  width: 600px; height: 600px; border-radius: 50%;
  background: rgba(91,138,199,0.12);
  top: -150px; right: -100px;
}
.hero-bg-deco::after {
  content: ''; position: absolute;
  width: 300px; height: 300px; border-radius: 50%;
  background: rgba(245,166,35,0.08);
  bottom: 80px; left: 60px;
}
.hero-grid {
  display: grid; grid-template-columns: 1fr 420px;
  gap: 60px; align-items: start;
  padding: 80px 40px;
  max-width: 1200px; margin: 0 auto; width: 100%;
}
.hero h1 {
  color: #fff; font-size: 52px; font-weight: 700; line-height: 1.15;
  margin-bottom: 20px;
}
.hero h1 span { color: var(--orange); }
.hero-sub {
  color: rgba(255,255,255,0.72); font-size: 16px; line-height: 1.8;
  margin-bottom: 80px; max-width: 540px; padding-top: 10px;
}

/* HERO CTAs */
.hero-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: nowrap;
  margin-bottom: 48px;
  align-items: center;
}
.hero-ctas .btn {
  padding: 13px 26px;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.hero-ctas .btn:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-hover);
}

@media (max-width: 1100px) {
  .hero-ctas { flex-wrap: wrap; }
}

.hero-stats {
  display: flex; gap: 32px;
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 28px;
}
.hero-stat-num {
  font-family: var(--font-titre); font-size: 34px; font-weight: 700;
  color: var(--orange); line-height: 1;
}
.hero-stat-label {
  font-size: 12px; color: rgba(255,255,255,0.55); margin-top: 3px; line-height: 1.4;
}
.hero-right-col {
  display: flex; flex-direction: column; gap: 20px;
}
.hero-logo-box {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg); padding: 36px;
}
.hero-logo-box img { width: 140px; height: auto; filter: drop-shadow(0 8px 24px rgba(0,0,0,0.3)); }
.hero-logo-box p {
  color: rgba(255,255,255,0.5); font-size: 11px; text-align: center;
  margin-top: 16px; letter-spacing: 0.04em;
}

.reassurance-bar {
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.10);
  border-radius: var(--radius-lg); margin-top: 28px;
}
.reassurance-inner {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 0;
}
.rea-item {
  display: flex; align-items: center; gap: 12px; padding: 14px 16px;
  border-right: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.rea-item:nth-child(2) { border-right: none; }
.rea-item:nth-child(4) { border-bottom: none; border-right: none; }
.rea-icon {
  width: 26px; height: 26px; border-radius: 8px;
  background: rgba(245,166,35,0.15); display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.rea-icon svg { width: 18px; height: 18px; }
.rea-label { font-size: 13px; color: rgba(255,255,255,0.85); font-weight: 500; text-align: left; }
.rea-sub { font-size: 11px; color: rgba(255,255,255,0.45); margin-top: 1px; text-align: left; }

/* ── SECTION 2 : LA PLATEFORME ──────────────────── */
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: start;
}
.about-feature {
  display: flex; gap: 14px; margin-bottom: 28px;
}
.about-feature-icon {
  width: 40px; height: 40px; border-radius: 10px;
  background: var(--bleu-pale); display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; margin-top: 2px;
}
.about-feature-icon svg { width: 20px; height: 20px; }
.schema-steps {
  background: var(--gris-clair); border-radius: var(--radius-lg); padding: 28px;
  border: 1px solid var(--gris-bord);
}
.schema-step {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 14px 0; border-bottom: 1px solid var(--gris-bord);
}
.schema-step:last-child { border-bottom: none; padding-bottom: 0; }
.schema-num {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--bleu-fonce); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 13px; flex-shrink: 0;
}
.labs-cards {
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 40px;
}
.lab-card {
  background: var(--blanc); border: 1px solid var(--gris-bord);
  border-radius: var(--radius-lg); padding: 24px;
  border-top: 4px solid var(--bleu-moyen);
  transition: box-shadow .2s;
}
.lab-card:hover { box-shadow: var(--shadow-hover); }
.lab-card.lpmt { border-top-color: var(--bleu-fonce); }
.lab-tag {
  display: inline-block; background: var(--bleu-pale); color: var(--bleu-fonce);
  font-size: 10px; font-weight: 700; border-radius: 4px;
  padding: 3px 10px; margin-bottom: 10px; letter-spacing: 0.06em;
}
.lab-tag.lpmt { background: #e6edf8; }
.lab-full { font-size: 11px; color: var(--gris-texte); margin-bottom: 10px; line-height: 1.4; }
.lab-desc { font-size: 13px; color: var(--gris-texte); line-height: 1.6; }

/* ── SECTION 3 : EXPERTISES ─────────────────────── */
.domains-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.domain-card {
  background: var(--blanc); border: 1px solid var(--gris-bord);
  border-radius: var(--radius-lg); padding: 28px;
  transition: all .2s; position: relative; overflow: hidden;
}
.domain-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
}
.domain-card.d1::before,
.domain-card.d2::before,
.domain-card.d3::before,
.domain-card.d4::before,
.domain-card.d5::before,
.domain-card.d6::before { background: var(--bleu-moyen); }
.domain-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-3px); }
.domain-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--bleu-pale); display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.domain-icon svg { width: 24px; height: 24px; }
.domain-tags { display: flex; flex-wrap: wrap; gap: 2px; margin-top: 14px; }
.domain-tag {
  font-size: 10px; background: var(--gris-clair); color: var(--gris-texte);
  border-radius: 4px; padding: 3px 8px; border: 1px solid var(--gris-bord);
}
.sectors-section { margin-top: 56px; }
.sectors-title { font-size: 20px; color: var(--bleu-fonce); margin-bottom: 20px; font-family: var(--font-titre); font-weight: 600; }
.sectors-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
}
.sector-card {
  background: var(--blanc); border: 1px solid var(--gris-bord);
  border-radius: var(--radius); padding: 16px;
  text-align: center; transition: all .2s; cursor: default;
}
.sector-card:hover { border-color: var(--bleu-moyen); background: var(--bleu-pale); box-shadow: var(--shadow); }
.sector-icon { font-size: 24px; margin-bottom: 8px; display: flex; align-items: center; justify-content: center; height: 44px; }
.sector-name { font-size: 12px; font-weight: 600; color: var(--bleu-fonce); }
.sector-desc { font-size: 11px; color: var(--gris-texte); margin-top: 3px; line-height: 1.4; }

/* ── SECTION 4 : ÉQUIPEMENTS ────────────────────── */
.equip-grid { display: flex; flex-direction: column; gap: 0; }

.equip-family {
  border: none;
  border-radius: 0;
  overflow: visible;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.equip-family:first-child { border-radius: 12px 12px 0 0; overflow: hidden; }
.equip-family:last-child  { border-radius: 0 0 12px 12px; overflow: hidden; border-bottom: none; }

.equip-family-header {
  background: var(--bleu-fonce);
  padding: 18px 24px;
  display: flex; align-items: center;
  justify-content: space-between;
  cursor: pointer;
  user-select: none;
  transition: background .2s;
}
.equip-family-header:hover { background: var(--bleu-mid); }

.equip-family-header-left {
  display: flex; align-items: center; gap: 12px;
}
.equip-family-header h4 { color: #fff; margin: 0; font-size: 16px; }
.equip-family-header-left svg { width: 18px; height: 18px; flex-shrink: 0; }

.equip-accordion-icon {
  width: 28px; height: 28px; border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.35);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; transition: transform .3s;
  color: #fff; font-size: 16px; line-height: 1;
  font-family: var(--font-corps);
}
.equip-family.open .equip-family-header-left svg { transform: rotate(90deg); transition: transform .3s; }

.equip-list {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease;
  background: var(--blanc);
}
.equip-family.open .equip-list { max-height: 2000px; }

.equip-item {
  display: flex; gap: 12px; padding: 14px 20px;
  border-bottom: 1px solid var(--gris-bord); align-items: flex-start;
}
.equip-item:last-child { border-bottom: none; }
.equip-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--bleu-moyen); margin-top: 6px; flex-shrink: 0;
}
.equip-name { font-size: 13px; font-weight: 600; color: var(--bleu-fonce); }
.equip-desc { font-size: 12px; color: var(--gris-texte); margin-top: 2px; line-height: 1.5; }
.equip-note {
  background: var(--bleu-pale); border: 1px solid var(--bleu-clair);
  border-radius: var(--radius); padding: 18px 22px; margin-top: 32px;
  display: flex; gap: 12px; align-items: flex-start;
}
.equip-note svg { width: 20px; height: 20px; flex-shrink: 0; margin-top: 1px; }
.equip-note p { font-size: 13px; color: var(--bleu-fonce); line-height: 1.6; }
.equip-note strong { font-weight: 600; }

/* ── SECTION 5 : PRESTATIONS ────────────────────── */
.prestations-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-bottom: 48px;
}
.prestation-card {
  background: var(--blanc); border: 1px solid var(--gris-bord);
  border-radius: var(--radius-lg); padding: 28px;
  transition: all .2s;
}
.prestation-card:hover { box-shadow: var(--shadow-hover); }
.prestation-num {
  font-family: var(--font-titre); font-size: 40px; font-weight: 700;
  color: var(--bleu-clair); line-height: 1; margin-bottom: 12px;
}
.prestation-card h3 { font-size: 19px; margin-bottom: 10px; }
.prestation-card p { font-size: 13px; color: var(--gris-texte); line-height: 1.7; }
.prestation-tags { display: flex; flex-wrap: wrap; gap: 2px; margin-top: 14px; }
.prestation-tag {
  font-size: 10px; background: var(--bleu-pale); color: var(--bleu-fonce);
  border-radius: 4px; padding: 3px 8px; font-weight: 600;
}
.process-section {
  background: var(--bleu-fonce); border-radius: var(--radius-lg);
  padding: 40px; margin-top: 16px;
}
.process-title { font-size: 22px; color: #fff; margin-bottom: 28px; font-family: var(--font-titre); }
.process-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  position: relative;
}

@media (max-width: 768px), (max-height: 500px) and (orientation: landscape) {
  .process-steps {
    grid-template-columns: 1fr !important;
    gap: 24px 0;
  }
  .process-steps::before {
    display: none;
  }
}

.process-steps::before {
  content: ''; position: absolute;
  top: 20px; left: 10%; right: 10%; height: 1px;
  background: rgba(255,255,255,0.15); z-index: 0;
}
.process-step { text-align: center; display:flex; flex-direction:column; align-items:center; position: relative; z-index: 1; padding: 0 8px; }
.process-step-num {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--orange); color: var(--bleu-fonce);
  font-weight: 700; font-size: 16px; font-family: var(--font-titre);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 12px;
}
.process-step-label { font-size: 12px; color: rgba(255,255,255,0.75); line-height: 1.5; }
.process-step-title { font-size: 13px; font-weight: 600; color: #fff; margin-bottom: 4px; }
.cadre-section {
  background: var(--gris-clair); border-radius: var(--radius-lg); padding: 28px;
  border: 1px solid var(--gris-bord); margin-top: 32px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 32px;
}
.cadre-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 32px; }
.cadre-item { display: flex; gap: 8px; align-items: flex-start; }
.cadre-check {
  width: 16px; height: 16px; border-radius: 50%;
  background: #dff0e8; display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; margin-top: 2px;
}
.cadre-check svg { width: 12px; height: 12px; }
.cadre-text h4 { font-size: 14px; margin-bottom: 3px; }
.cadre-text p { font-size: 12px; color: var(--gris-texte); line-height: 1.6; text-align: left; }

@media (max-width: 768px), (max-height: 500px) and (orientation: landscape) {
  .reassurance-inner { grid-template-columns: 1fr; }
  .rea-item {
    gap: 12px;
    padding: 12px 16px;
    align-items: center;
    border-right: none;
  }
  .rea-icon { width: 20px; height: 20px; flex-shrink: 0; }
  .rea-icon svg { width: 14px; height: 14px; }

  .prestation-05-mobile {
    box-shadow: none !important;
    border-left: none !important;
    border: 1px solid var(--gris-bord) !important;
    border-radius: var(--radius-lg) !important;
    padding: 28px !important;
  }
  .prestation-05-mobile > div {
    flex-direction: column !important;
    gap: 12px !important;
  }

  .cadre-section { grid-template-columns: 1fr !important; gap: 16px; }
  .cadre-grid { grid-template-columns: 1fr !important; gap: 12px; }
  .cadre-item { display: flex; align-items: center; gap: 8px; }
  .cadre-check { width: 16px; height: 16px; flex-shrink: 0; }
  .cadre-check svg { width: 12px; height: 12px; }
}

/* ── SECTION 6 : ÉQUIPE ─────────────────────────── */
.team-members-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}
/* Ligne 1 : 2 cartes centrées (quinconce) */
.team-card:nth-child(1) { grid-column: 2 / 4; }
.team-card:nth-child(2) { grid-column: 4 / 6; }
/* Ligne 2 : 3 cartes (colonnes 1-2, 3-4, 5-6) */
.team-card:nth-child(3) { grid-column: 1 / 3; }
.team-card:nth-child(4) { grid-column: 3 / 5; }
.team-card:nth-child(5) { grid-column: 5 / 7; }
/* Ligne 3 : 2 cartes centrées (quinconce) */
.team-card:nth-child(6) { grid-column: 2 / 4; }
.team-card:nth-child(7) { grid-column: 4 / 6; }
.team-card {
  background: var(--blanc); border: 1px solid var(--gris-bord);
  border-radius: var(--radius-lg); padding: 24px; text-align: center;
  transition: all .2s;
}
.team-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-2px); }
.team-avatar {
  width: 64px; height: 64px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-titre); font-size: 22px; font-weight: 700;
  color: #fff; margin: 0 auto 14px;
}
.team-name { font-size: 15px; font-weight: 600; color: var(--bleu-fonce); margin-bottom: 3px; }
.team-role { font-size: 12px; font-weight: 600; color: var(--orange); margin-bottom: 4px; letter-spacing: 0.04em; }
.team-title { font-size: 12px; color: var(--gris-texte); margin-bottom: 10px; }
.team-domains { display: flex; flex-wrap: wrap; gap: 5px; justify-content: center; }
.team-lab-badge {
  font-size: 10px; font-weight: 700; letter-spacing: 0.05em;
  padding: 2px 8px; border-radius: 4px; margin-bottom: 6px; display: inline-block;
}
.badge-lpim { background: var(--bleu-pale); color: var(--bleu-moyen); }
.badge-lpmt { background: var(--bleu-pale); color: var(--bleu-moyen); }

/* ── SECTION 7 : ACTIVITÉS ─────────────────────── */
.news-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.news-card {
  background: var(--blanc); border: 1px solid var(--gris-bord);
  border-radius: var(--radius-lg); overflow: hidden;
  transition: all .2s;
}
.news-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-2px); }
.news-img {
  height: 140px; background: linear-gradient(135deg, var(--bleu-fonce), var(--bleu-moyen));
  display: flex; align-items: center; justify-content: center;
}
.news-img svg { width: 48px; height: 48px; opacity: 0.3; }
.news-body { padding: 20px; }
.news-tag-wrap { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.news-cat {
  font-size: 10px; font-weight: 700; border-radius: 4px; padding: 3px 8px; letter-spacing: 0.04em;
}
.cat-event { background: #faeeda; color: #854f0b; }
.news-date { font-size: 11px; color: var(--gris-texte); }
.news-title { font-size: 14px; font-weight: 600; color: var(--bleu-fonce); line-height: 1.4; margin-bottom: 8px; }
.news-excerpt { font-size: 12px; color: var(--gris-texte); line-height: 1.6; }
.news-read {
  display: inline-flex; align-items: center; gap: 4px;
  color: var(--bleu-moyen); font-size: 12px; font-weight: 600;
  text-decoration: none; margin-top: 12px;
}
.news-read:hover { color: var(--bleu-fonce); }

/* ── SECTION 8 : CLIENTS ─────────────────────── */
.clients-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 50px 60px;
  margin-bottom: 70px;
  filter: grayscale(70%);
  opacity: 0.9;
}
.clients-logos img {
  height: 52px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  transition: all 0.3s ease;
}
.clients-logos img:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.05);
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}
.testimonial-card {
  background: var(--blanc);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  box-shadow: var(--shadow);
  transition: all .25s ease;
}
.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}
.testimonial-text {
  font-size: 15px;
  line-height: 1.7;
  color: var(--texte-sombre);
  margin-bottom: 22px;
  font-style: italic;
}
.testimonial-author {
  font-size: 13.5px;
  color: var(--gris-texte);
  line-height: 1.5;
}
.testimonial-author strong {
  color: var(--bleu-fonce);
  font-weight: 600;
}
.testimonial-card img {
  max-width: 140px;
  height: 36px;
  object-fit: contain;
  filter: grayscale(60%);
  display: block;
  margin: 0 auto 16px auto;
}
.testimonial-card img:hover { filter: grayscale(0%); }

/* ── SECTION 9 : CONTACT ────────────────────────── */
#contact {
  padding-top: 110px;
  padding-bottom: 110px;
}
.contact-grid {
  display: grid; grid-template-columns: 1fr 1.2fr; gap: 56px; align-items: stretch;
}
.contact-info-block {
  display: flex; gap: 14px; align-items: flex-start; margin-bottom: 24px;
}
.contact-info-block:has(+ .contact-irjbd-photo) {
  margin-bottom: 10px;
}
.contact-info-icon {
  width: 40px; height: 40px; border-radius: 10px;
  background: var(--bleu-pale); display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-info-icon svg { width: 20px; height: 20px; }
.contact-info-label { font-size: 11px; color: var(--gris-texte); text-transform: uppercase; letter-spacing: 0.06em; font-weight: 600; margin-bottom: 3px; }
.contact-info-val { font-size: 14px; color: var(--bleu-fonce); font-weight: 500; }
.contact-info-val a.contact-link {
  color: var(--bleu-moyen); font-weight: 600; text-decoration: underline;
  text-underline-offset: 2px; transition: color .15s;
}
.contact-info-val a.contact-link:hover { color: var(--bleu-fonce); }
.form-group { margin-bottom: 18px; }
.form-label {
  display: block; font-size: 13px; font-weight: 600;
  color: var(--bleu-fonce); margin-bottom: 6px;
}
.form-req { color: var(--orange); margin-left: 2px; }
.form-input, .form-textarea {
  width: 100%; padding: 11px 14px;
  border: 1.5px solid var(--gris-bord); border-radius: var(--radius);
  font-family: var(--font-corps); font-size: 14px; color: var(--texte-sombre);
  background: var(--blanc); transition: border-color .15s;
  outline: none;
}
.form-input:focus, .form-textarea:focus {
  border-color: var(--bleu-moyen);
  box-shadow: 0 0 0 3px rgba(91,138,199,0.12);
}
.form-textarea { resize: vertical; min-height: 150px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-submit {
  background: var(--orange); color: var(--bleu-fonce);
  border: none; padding: 13px 32px; border-radius: var(--radius);
  font-family: var(--font-corps); font-weight: 700; font-size: 15px;
  cursor: pointer; transition: all .2s; width: 100%;
}
.form-submit:hover { background: var(--orange-dark); }
.faq-section { margin-top: 56px; }
.faq-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 24px; }
.faq-item {
  background: var(--gris-clair); border-radius: var(--radius);
  padding: 18px 20px; border: 1px solid var(--gris-bord);
}
.faq-q { font-size: 13px; font-weight: 600; color: var(--bleu-fonce); margin-bottom: 6px; }
.faq-a { font-size: 12px; color: var(--gris-texte); line-height: 1.6; }

/* ── CARTE GOOGLE MAPS ──────────────────────────── */
.map-container {
  margin-bottom: 24px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--gris-bord);
  box-shadow: var(--shadow);
}

/* ── PHOTO IRJBD (Contact) ──────────────────────── */
.contact-irjbd-photo {
  position: relative;
  margin: 0 0 10px;
  border-radius: 14px;
  border: 1px solid var(--gris-bord);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.contact-irjbd-photo img {
  display: block;
  width: 100%;
  height: 140px;
  max-width: 100%;
  object-fit: cover;
  object-position: center 38%;
  border-radius: 14px;
  filter: blur(0px); /* force la création d'un nouveau contexte de rendu pour un clip net du border-radius */
}
/* Vignette douce sur les bords (effet "flouté" léger, sans flouter la photo elle-même) */
.contact-irjbd-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: 14px;
  box-shadow: inset 0 0 22px 6px rgba(13,26,69,0.25);
}

/* ── FOOTER ─────────────────────────────────────── */
footer {
  background: #0d1a45;
  padding: 56px 0 0;
}
.footer-grid {
  display: grid; grid-template-columns: 2.2fr 1fr 1fr 1.4fr;
  gap: 40px; padding-bottom: 40px;
}
.footer-logo-wrap { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-logo-wrap img { height: 52px; }
.footer-brand { font-family: var(--font-titre); font-size: 24px; font-weight: 700; color: #fff; }
.footer-brand sup { color: var(--orange); font-size: 14px; }
.footer-tagline { font-size: 13px; color: rgba(255,255,255,0.70); line-height: 1.7; margin-bottom: 20px; }
.footer-col-title {
  font-size: 10px; text-transform: uppercase; letter-spacing: 0.1em;
  color: rgba(255,255,255,0.60); margin-bottom: 14px; font-weight: 600;
}
.footer-link {
  display: block; font-size: 13px; color: rgba(255,255,255,0.78);
  text-decoration: none; margin-bottom: 8px; transition: color .15s; cursor: pointer;
}
.footer-link:hover { color: #fff; }
.footer-contact-item {
  display: flex; gap: 8px; align-items: flex-start; margin-bottom: 10px;
}
.footer-contact-item svg { width: 14px; height: 14px; margin-top: 2px; flex-shrink: 0; opacity: 0.75; }
.footer-contact-item span { font-size: 13px; color: rgba(255,255,255,0.78); }
.footer-clickable-link {
  color: #7ec8f7; font-weight: 600; text-decoration: underline;
  text-underline-offset: 2px; transition: color .15s;
}
.footer-clickable-link:hover { color: #b8e0fc; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding: 18px 0; display: flex; justify-content: space-between; align-items: center;
}
.footer-legal { font-size: 11px; color: rgba(255,255,255,0.50); }
.footer-legal a { color: rgba(255,255,255,0.60); text-decoration: none; }
.footer-legal a:hover { color: rgba(255,255,255,0.85); }
.footer-partners { display: flex; align-items: center; gap: 12px; }
.footer-partners span { font-size: 11px; color: rgba(255,255,255,0.50); margin-right: 4px; }
.footer-partner-badge {
  font-size: 10px; font-weight: 700; letter-spacing: 0.06em;
  padding: 3px 10px; border-radius: 4px;
  background: rgba(255,255,255,0.12); color: rgba(255,255,255,0.70);
  text-decoration: none; transition: background .15s, color .15s;
}
a.footer-partner-badge:hover {
  background: rgba(255,255,255,0.25); color: #fff;
}

/* ── ANIMATIONS ─────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero h1 { animation: fadeUp .7s ease both; }
.hero-sub { animation: fadeUp .7s .15s ease both; }
.hero-ctas { animation: fadeUp .7s .28s ease both; }
.hero-stats { animation: fadeUp .7s .4s ease both; }
.hero-logo-box { animation: fadeUp .7s .2s ease both; }

/* ── RESPONSIVE ─────────────────────────────────── */
img { max-width: 100%; height: auto; }
section { scroll-margin-top: 90px; }

/* Tablet */
@media (max-width: 1024px) {
  .container { padding: 0 20px; }

  [class*="grid"] {
    grid-template-columns: 1fr 1fr !important;
  }

  /* Le hero a une colonne droite de largeur fixe (420px) qui ne doit
     jamais passer en grille 2 colonnes égales : sur tablette cela
     pousse la colonne droite hors écran et casse le centrage. */
  .hero-grid {
    grid-template-columns: 1fr !important;
    gap: 40px;
  }
}

/* Mobile */
@media (max-width: 768px), (max-height: 500px) and (orientation: landscape) {

  body, html { overflow-x: hidden; }

  h1 { font-size: 32px; }
  h2 { font-size: 26px; }

  .container { padding: 0 16px; }

  .hero-grid {
    grid-template-columns: 1fr !important;
    gap: 30px;
    padding: 40px 16px;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
  }

  .hero-content,
  .hero-right-col {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .hero {
    min-height: 100vh;
    padding-top: 80px;
  }

  .hero h1 {
    font-size: 34px !important;
    line-height: 1.2;
    text-align: center;
  }

  .hero-sub,
  .hero-ctas {
    text-align: center;
  }

  .hero-sub { margin-bottom: 40px; max-width: 100%; }

  .hero-ctas {
    flex-direction: column !important;
    align-items: center;
    gap: 12px;
  }

  .hero-ctas .btn {
    width: 100%;
    text-align: center;
  }

  /* Les 4 statistiques du Hero étaient en ligne (flex, sans wrap) :
     sur mobile elles débordent horizontalement et poussent toute la
     colonne, ce qui provoque la coupure de la partie droite du Hero. */
  .hero-stats {
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
  }
  .hero-stats > div {
    flex: 1 1 calc(50% - 12px);
    min-width: 130px;
  }

  [class*="grid"] {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }

  .equip-grid { gap: 0 !important; }

  .hero-grid,
  .about-grid,
  .contact-grid,
  .cadre-section {
    grid-template-columns: 1fr !important;
    gap: 32px;
  }

  .labs-cards,
  .domains-grid,
  .sectors-grid,
  .equip-grid,
  .prestations-grid,
  .news-grid,
  .team-members-grid {
    grid-template-columns: 1fr !important;
    gap: 20px;
  }
  .team-members-grid .team-card:nth-child(n) {
    grid-column: 1 !important;
  }

  .process-steps {
    grid-template-columns: 1fr !important;
    gap: 24px;
  }

  .process-steps::before { display: none; }

  .cadre-section {
    flex-direction: column !important;
    gap: 24px;
    text-align: center;
  }

  .cadre-section .btn {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }

  .nav-cta-group { display: none !important; }

  .nav-links {
    display: none !important;
    flex-direction: column;
    background: #0B1F3A;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    padding: 20px 16px;
    gap: 12px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
    z-index: 999;
  }

  .nav-links.active { display: flex !important; }

  .burger {
    display: block !important;
    font-size: 28px;
    color: white;
    cursor: pointer;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  /* Menu mobile en mode paysage : écran court → on rend le menu
     défilable pour qu'aucun lien ne soit coupé/inaccessible. */
  @media (max-height: 500px) and (orientation: landscape) {
    .nav-links {
      max-height: calc(100vh - 70px);
      overflow-y: auto;
    }
  }


  /* ── TYPOGRAPHIE MOBILE : LISIBILITÉ AMÉLIORÉE ──
     Règle générale : jamais en-dessous de la valeur desktop.
     !important nécessaire pour surcharger les styles inline dans le HTML.
  ── */

  /* Titres h3/h4 (desktop: 22px / 17px) */
  h3 { font-size: 21px !important; }
  h4 { font-size: 18px !important; }

  /* Overline (desktop: 11px) */
  .overline { font-size: 13px !important; }

  /* Intro de section (desktop: 16px) */
  .section-intro { font-size: 17px !important; }

  /* ── HERO ── */
  .hero-sub     { font-size: 16px !important; }  /* desktop: 16px */
  .hero-stat-label { font-size: 14px !important; } /* desktop: 12px */
  .rea-label    { font-size: 15px !important; }  /* desktop: 13px */
  .rea-sub      { font-size: 13px !important; }  /* desktop: 11px */

  /* ── NAV MOBILE (menu ouvert, desktop: 12px) ── */
  .nav-links a  { font-size: 16px !important; }

  /* ── PLATEFORME : paragraphes inline 13px / 12px ── */
  .about-feature p,
  .about-feature p span     { font-size: 15px !important; }
  .schema-step strong       { font-size: 15px !important; } /* desktop: 13px */
  .schema-step p,
  .schema-step p span       { font-size: 14px !important; } /* desktop: 12px */

  /* Labs (desktop: 11px / 13px) */
  .lab-full     { font-size: 14px !important; }
  .lab-desc     { font-size: 15px !important; }
  /* Titres lab inline (desktop: 17px) */
  .lab-card h3  { font-size: 18px !important; }
  /* Texte sous logo dans hero-logo-box (desktop: 11px) */
  .hero-logo-box p { font-size: 14px !important; }

  /* ── EXPERTISES (Domaines d'intervention) ──
     Paragraphes en inline style 13px → 15px
     Tags doivent RESTER sous le texte des §  */
  .domain-card p  { font-size: 15px !important; } /* desktop inline: 13px */
  .domain-tag     { font-size: 12px !important; } /* desktop: 10px — reste sous §  */
  .sector-name    { font-size: 14px !important; } /* desktop: 12px */
  .sector-desc    { font-size: 13px !important; } /* desktop: 11px */

  /* ── ÉQUIPEMENTS ── */
  .equip-name   { font-size: 15px !important; }  /* desktop: 13px */
  .equip-desc   { font-size: 14px !important; }  /* desktop: 12px */
  .equip-note p { font-size: 15px !important; }  /* desktop: 13px */

  /* ── PRESTATIONS ── */
  .prestation-card p  { font-size: 15px !important; } /* desktop: 13px */
  .prestation-tag     { font-size: 12px !important; } /* desktop: 10px — tag */
  .process-step-label { font-size: 14px !important; }

  /* ── ÉQUIPE ── */
  .team-name      { font-size: 16px !important; } /* desktop: 15px */
  .team-role      { font-size: 14px !important; } /* desktop: 12px */
  .team-title     { font-size: 14px !important; } /* desktop: 12px */
  .team-lab-badge { font-size: 12px !important; } /* desktop: 10px — badge */

  /* ── ACTUALITÉS ── */
  .news-title   { font-size: 16px !important; }  /* desktop: 14px */
  .news-excerpt { font-size: 15px !important; }  /* desktop: 12px */
  .news-date    { font-size: 13px !important; }  /* desktop: 11px */
  .news-cat     { font-size: 12px !important; }  /* desktop: 10px — badge */
  .news-read    { font-size: 14px !important; }  /* desktop: 12px */

  /* ── TÉMOIGNAGES ── */
  .testimonial-text   { font-size: 16px !important; } /* desktop: 15px */
  .testimonial-author { font-size: 15px !important; } /* desktop: 13.5px */

  /* ── CONTACT & FAQ ── */
  .contact-info-label            { font-size: 13px !important; } /* desktop: 11px */
  .contact-info-val              { font-size: 16px !important; } /* desktop: 14px */
  .form-label                    { font-size: 15px !important; } /* desktop: 13px */

  /* "Email professionnel *" est légèrement trop long sur mobile et
     passe à la ligne, désalignant la case avec "Téléphone" juste à
     côté. On réduit uniquement ce libellé pour qu'il tienne sur une
     seule ligne, sans toucher aux autres champs. */
  #label-email { font-size: 13px !important; white-space: nowrap; }
  .form-input,
  .form-textarea                 { font-size: 16px !important; } /* desktop: 14px */
  .faq-q                         { font-size: 15px !important; } /* desktop: 13px */
  .faq-a                         { font-size: 14px !important; } /* desktop: 12px */

  /* ── FOOTER ── */
  .footer-tagline          { font-size: 15px !important; } /* desktop: 13px */
  .footer-link             { font-size: 15px !important; } /* desktop: 13px */
  .footer-col-title        { font-size: 13px !important; } /* desktop: 10px */
  .footer-contact-item span { font-size: 15px !important; } /* desktop: 13px */
  .footer-legal            { font-size: 13px !important; } /* desktop: 11px */
  .footer-partner-badge    { font-size: 12px !important; } /* desktop: 10px */

  /* ── BOUTONS ── */
  .btn          { font-size: 16px !important; }  /* desktop: 14px */
  .btn-plaquette { font-size: 16px !important; } /* desktop: 14px */

  /* Photo IRJBD (Contact) : légèrement réduite sur mobile */
  .contact-irjbd-photo img { height: 120px; }

  /* ── PRESTATIONS : "5. Projets collaboratifs" (carte autonome avec style inline) ── */
  .prestation-05-mobile p { font-size: 15px !important; } /* desktop: 13px */

  /* ── PRESTATIONS : cadre "Cadre contractuel & propriété intellectuelle" (pas de classe, sélecteurs de balise) ── */
  .cadre-text h4 { font-size: 16px !important; } /* desktop: 14px */
  .cadre-text p  { font-size: 15px !important; } /* desktop: 12px */

  /* ── ÉQUIPE : encart "Vous souhaitez identifier l'expert…" (style inline, pas de classe) ── */
  #equipe div[style*="border-radius:var(--radius-lg)"] h4 { font-size: 18px !important; }
  #equipe div[style*="border-radius:var(--radius-lg)"] p  { font-size: 15px !important; }

  /* ── CONTACT : encart "Réponse garantie" (style inline, pas de classe) ── */
  #contact div[style*="bleu-pale"] p:first-child { font-size: 15px !important; }
  #contact div[style*="bleu-pale"] p:last-child   { font-size: 14px !important; }
}

/* ── SÉLECTEUR DE LANGUE (DRAPEAUX) ─────────────────────── */
.lang-flags {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}

.flag-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  border-radius: 4px;
  padding: 3px 4px;
  cursor: pointer;
  opacity: 0.45;
  transition: opacity 0.2s, transform 0.15s;
}

.flag-btn:hover {
  opacity: 0.85;
  transform: scale(1.08);
}

.flag-btn.active {
  opacity: 1;
  border-color: var(--orange)
}

/* ── BOUTON LINKEDIN NAVBAR ─────────────────────────────── */
.linkedin-btn {
  display: none !important; /* temporaire : LinkedIn pas encore créé */
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  background: transparent;
  border: none;
  color: rgba(210,225,255,0.65);
  text-decoration: none;
  flex-shrink: 0;
  transition: color 0.2s, transform 0.15s;
}

.linkedin-btn:hover {
  color: #fff;
  transform: scale(1.12);
}

/* ── BOUTON LINKEDIN FOOTER ─────────────────────────────── */
.footer-linkedin-btn {
  display: none !important; /* temporaire : LinkedIn pas encore créé */
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  color: rgba(190,210,240,0.6);
  text-decoration: none;
  transition: color 0.2s, transform 0.15s;
}

.footer-linkedin-btn:hover {
  color: #c8deff;
  transform: scale(1.12);
}
