/* =============================================
   LAMBDA-X SOLUTION — Feuille de styles principale
   ============================================= */

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

:root {
  --navy:   #002147;
  --green:  #00b388;
  --white:  #ffffff;
  --light:  #f4f7fa;
  --text:   #1a1a2e;
  --muted:  #5a6478;
  --border: #e0e6ef;
  --header-h: 72px;
  --font:      'Outfit', 'Segoe UI', Arial, sans-serif;
  --font-logo: 'Outfit', 'Segoe UI', Arial, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  padding-top: var(--header-h);
}

/* ── HEADER ──────────────────────────────────── */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  background: var(--white);
  z-index: 1000;
  box-shadow: 0 2px 12px rgba(0,33,71,.06);
}

.header-inner {
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  padding: 0 24px 0 52px;
}

/* ── LOGO ─────────────────────────────────────── */
.logo {
  text-decoration: none;
  display: flex;
  align-items: center;
  flex-shrink: 0;
  overflow: hidden;
  height: 62px;
  width: 300px;
}

.logo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

.logo-mark {
  display: flex;
  align-items: baseline;
}

.logo-lambda {
  font-family: var(--font-logo);
  font-size: 23px;
  font-weight: 500;
  letter-spacing: 2px;
  color: var(--navy);
  text-transform: uppercase;
}

.logo-x {
  color: var(--green);
  font-weight: 600;
}

.logo-sub {
  font-family: var(--font-logo);
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 5px;
  color: var(--muted);
  text-transform: uppercase;
}

/* ── NAV ──────────────────────────────────────── */
.nav {
  display: flex;
  justify-content: center;
  margin-right: 80px;
}

.nav-list {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-item { position: relative; }

.nav-link {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.6px;
  color: var(--navy);
  text-decoration: none;
  background: none;
  border: none;
  cursor: pointer;
  border-radius: 6px;
  white-space: nowrap;
  transition: background .18s, color .18s;
}

.nav-link:hover {
  background: var(--light);
  color: var(--green);
}

.chevron {
  display: inline-block;
  flex-shrink: 0;
  transition: transform .25s cubic-bezier(.4,0,.2,1);
  vertical-align: middle;
  margin-top: -1px;
}

.has-dropdown.open .chevron {
  transform: rotate(180deg);
}

/* Dropdown — desktop */
.dropdown {
  position: absolute;
  top: 100%;           /* collé au bouton, pas de gap */
  left: 0;
  min-width: 230px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 12px 40px rgba(0,33,71,.14);
  list-style: none;
  padding: 14px 0 8px; /* padding-top = espace visuel sans créer de gap */
  z-index: 300;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .22s ease, transform .22s ease, visibility .22s;
  pointer-events: none;
}

/* Pont invisible qui comble l'espace entre bouton et menu */
.dropdown::before {
  content: '';
  position: absolute;
  top: -12px;
  left: 0; right: 0;
  height: 12px;
}

/* Ouverture au survol (desktop) */
.has-dropdown:hover > .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.has-dropdown:hover .chevron {
  transform: rotate(180deg);
}

/* Ouverture au clic (mobile / fallback) */
.has-dropdown.open > .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.has-dropdown.open .chevron {
  transform: rotate(180deg);
}

.dropdown li {
  list-style: none;
}

.dropdown li a {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 500;
  color: var(--navy);
  text-decoration: none;
  transition: background .15s, color .15s, padding-left .15s;
  border-radius: 0;
}

.dropdown li a::before {
  content: '';
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--green);
  opacity: 0;
  flex-shrink: 0;
  transition: opacity .15s;
}

.dropdown li a:hover {
  background: var(--light);
  color: var(--green);
  padding-left: 24px;
}

.dropdown li a:hover::before {
  opacity: 1;
}

.dropdown li:first-child a { border-radius: 12px 12px 0 0; }
.dropdown li:last-child  a { border-radius: 0 0 12px 12px; }

/* ── HEADER ACTIONS ───────────────────────────── */
.header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-shrink: 0;
}

.btn-search {
  width: 38px; height: 38px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  transition: background .18s, color .18s;
}
.btn-search:hover { background: var(--light); color: var(--green); }
.btn-search.active { background: var(--light); color: var(--green); }

/* ── SEARCH BAR ──────────────────────────────── */
.search-bar {
  position: fixed;
  top: var(--header-h);
  left: 0; right: 0;
  background: #fff;
  z-index: 999;
  max-height: 0;
  overflow: hidden;
  transition: max-height .32s cubic-bezier(.4,0,.2,1), box-shadow .32s ease;
  border-bottom: 2px solid transparent;
}
.search-bar.open {
  max-height: 420px;
  box-shadow: 0 6px 24px rgba(0,33,71,.10);
  border-bottom-color: var(--green);
}
.search-bar-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 7%;
  border-bottom: 1px solid #eee;
  max-width: 680px;
  margin: 0 auto;
}
.search-input {
  flex: 1;
  border: none;
  border-bottom: 2px solid #ccc;
  background: transparent;
  font-size: 18px;
  font-family: inherit;
  color: var(--navy);
  padding: 6px 0;
  outline: none;
  transition: border-color .2s;
}
.search-input:focus { border-bottom-color: var(--green); }
.search-input::placeholder { color: #bbb; font-style: italic; }
.search-go {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--navy);
  display: flex;
  align-items: center;
  padding: 6px;
  transition: color .2s, transform .2s;
}
.search-go:hover { color: var(--green); transform: translateX(3px); }
.search-results {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 0 12px;
  max-height: 300px;
  overflow-y: auto;
}
.search-result-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid #f2f2f2;
  text-decoration: none;
  cursor: pointer;
  transition: background .15s;
}
.search-result-item:last-child { border-bottom: none; }
.search-result-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 3px;
  transition: color .2s;
}
.search-result-item:hover .search-result-title { color: var(--green); }
.search-result-meta {
  font-size: 12px;
  color: var(--muted);
}
.search-result-arrow { color: var(--green); flex-shrink: 0; margin-left: 12px; }
.search-empty {
  padding: 24px 0;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}

.btn-contact {
  padding: 9px 22px;
  border: 2px solid var(--navy);
  border-radius: 50px;
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  text-decoration: none;
  transition: background .18s, color .18s, border-color .18s;
  white-space: nowrap;
  margin-left: 8px;
}
.btn-contact:hover {
  background: var(--navy);
  color: var(--white);
}

/* Lang toggle */
.lang-toggle {
  display: flex;
  align-items: center;
  gap: 2px;
  font-size: 13px;
  font-weight: 700;
}

.lang-sep { color: var(--border); }

.lang {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  padding: 6px 8px;
  border-radius: 6px;
  transition: background .18s, color .18s;
}

.lang.active {
  background: var(--navy);
  color: var(--white);
  border-radius: 6px;
}

.lang:not(.active):hover { color: var(--navy); }

/* Burger (mobile) */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
  padding: 8px 10px;
  min-width: 42px;
  align-items: center;
  justify-content: center;
}
.burger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform .25s, opacity .25s;
}
.burger.open { border-color: var(--green); }
.burger.open span { background: var(--green); }
.burger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ── HERO ─────────────────────────────────────── */
.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

/* Images en fondu croisé */
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 2s ease-in-out;
  animation: heroZoom 30s ease-in-out infinite alternate;
  will-change: opacity, transform;
}

.hero-bg.active { opacity: 1; }

@keyframes heroZoom {
  from { transform: scale(1.00); }
  to   { transform: scale(1.06); }
}

/* Dégradé sombre — couvre tout comme dans la référence */
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(0,0,0,.82) 0%, rgba(0,0,0,.50) 55%, rgba(0,0,0,.25) 100%),
    linear-gradient(to top,   rgba(0,0,0,.65) 0%, transparent 45%);
}

/* Contenu texte */
.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 60px 48px 100px;
}

/* Accroche — 2 lignes, grand, gauche */
.hero-eyebrow {
  font-family: var(--font-logo);
  font-size: clamp(22px, 3.8vw, 58px);
  font-weight: 700;
  line-height: 1.08;
  color: var(--white);
  text-transform: uppercase;
  margin-bottom: 40px;
  opacity: 0;
  transform: translateY(16px);
  animation: fadeUp 1s ease .3s forwards;
}

@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

/* Expertise animée */
.hero-expertise {
  position: relative;
  height: calc(clamp(22px, 4.2vw, 68px) * 1.3);
  margin-bottom: 48px;
  overflow: hidden;
}

.expertise-item {
  display: block;
  position: absolute;
  left: 0;
  top: 0;
  font-family: var(--font-logo);
  font-size: clamp(22px, 4.2vw, 68px);
  font-weight: 400;
  line-height: 1.15;
  color: var(--white);
  text-transform: uppercase;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.65s ease, transform 0.65s ease;
  pointer-events: none;
  user-select: none;
  will-change: opacity, transform;
}

.expertise-item.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.expertise-item.leaving {
  opacity: 0;
  transform: translateY(-14px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  pointer-events: none;
}

/* CTA */
.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 1s ease .8s forwards;
}

.btn-primary {
  padding: 14px 32px;
  background: #006644;
  color: var(--white);
  font-size: 15px;
  font-weight: 700;
  border-radius: 50px;
  text-decoration: none;
  transition: background .2s, transform .15s;
}
.btn-primary:hover { background: #004d33; transform: translateY(-2px); }

.btn-ghost {
  padding: 14px 32px;
  border: 2px solid rgba(255,255,255,.5);
  color: var(--white);
  font-size: 15px;
  font-weight: 700;
  border-radius: 50px;
  text-decoration: none;
  transition: border-color .2s, background .2s;
}
.btn-ghost:hover {
  border-color: var(--white);
  background: rgba(255,255,255,.1);
}

/* ── SECTION PILIERS ──────────────────────────── */
.piliers {
  background: #002f45;
  color: var(--white);
  padding: 90px 7% 110px;
  position: relative;
  overflow: hidden;
}

/* Lueur verte décorative en arrière-plan */
.piliers-bg-shape {
  position: absolute;
  top: -120px;
  right: -80px;
  width: 540px;
  height: 540px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,179,136,.09) 0%, transparent 68%);
  pointer-events: none;
}

/* Trait décoratif + label */
.piliers-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 80px;
}

.piliers-line {
  flex: 1;
  height: 1px;
  background: rgba(255,255,255,.2);
}

.piliers-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
  white-space: nowrap;
}

/* Grille côte à côte */
.piliers-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: start;
}

/* Pilier commun */
.pilier {
  display: flex;
  flex-direction: column;
}

.pilier-number {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--green);
  margin-bottom: 14px;
}

.pilier-word {
  font-family: var(--font-logo);
  font-size: clamp(48px, 6.5vw, 110px);
  font-weight: 800;
  line-height: .92;
  letter-spacing: -2px;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 32px;
}

.pilier-body {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.pilier-text {
  font-size: clamp(14px, 1.15vw, 16px);
  line-height: 1.8;
  color: rgba(255,255,255,.7);
  max-width: 480px;
}

.pilier-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .5px;
  color: var(--green);
  text-decoration: none;
  transition: gap .2s ease;
}
.pilier-link:hover { gap: 14px; }

/* Chiffres clés (pilier IMPACT) */
.pilier-stats {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}

.pilier-stat {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.stat-number {
  font-family: var(--font-logo);
  font-size: clamp(30px, 3vw, 48px);
  font-weight: 800;
  line-height: 1;
  color: var(--white);
}

.stat-number sup {
  font-size: 50%;
  color: var(--green);
  font-weight: 700;
  vertical-align: super;
}

.stat-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,.45);
}

/* Séparateur vertical */
.pilier-sep {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 4px 60px;
}

.pilier-sep-line {
  flex: 1;
  width: 1px;
  background: rgba(255,255,255,.15);
}

.pilier-sep-icon {
  font-size: 18px;
  color: rgba(255,255,255,.2);
  flex-shrink: 0;
  line-height: 1;
}

/* Responsive — tablette */
@media (max-width: 900px) {
  .piliers-grid {
    grid-template-columns: 1fr;
  }

  .pilier-sep {
    flex-direction: row;
    padding: 52px 0;
  }

  .pilier-sep-line {
    flex: 1;
    width: auto;
    height: 1px;
  }
}

@media (max-width: 768px) {
  .piliers { padding: 60px 6% 80px; }
  .pilier-stats { gap: 28px; }
}

/* ── SECTION PARTENAIRES ─────────────────────── */
.partenaires {
  background: #C9A030;
  color: var(--white);
  padding: 90px 7% 110px;
  position: relative;
  overflow: hidden;
}

/* Lueur décorative (miroir de PILIERS) */
.partenaires-bg-shape {
  position: absolute;
  bottom: -100px;
  left: -60px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.08) 0%, transparent 68%);
  pointer-events: none;
}

/* Header identique à PILIERS */
.partenaires-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 80px;
}

.partenaires-line {
  flex: 1;
  height: 1px;
  background: rgba(255,255,255,.25);
}

.partenaires-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,.65);
  white-space: nowrap;
}

/* Grille de logos */
.partenaires-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 56px 88px;
}

.partner-logo {
  display: flex;
  align-items: center;
  opacity: .8;
  transition: opacity .2s ease;
}

.partner-logo:hover { opacity: 1; }

.partner-logo svg {
  height: 38px;
  width: auto;
  display: block;
}

@media (max-width: 768px) {
  .partenaires { padding: 60px 6% 80px; }
  .partenaires-logos { gap: 36px 52px; }
  .partner-logo svg { height: 30px; }
}

@media (max-width: 480px) {
  .partenaires-logos { gap: 28px 36px; }
  .partner-logo svg { height: 24px; }
}

/* ── SECTION INDUSTRIES CLÉS ─────────────────── */
.industries {
  background: var(--white);
  padding: 100px 7% 110px;
}

.industries-title {
  font-family: var(--font-logo);
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 800;
  letter-spacing: -1px;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 88px;
}

/* Ligne industrie */
.industrie {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: stretch;
  margin-bottom: 100px;
}

.industrie:last-child { margin-bottom: 0; }

/* Image — ne pilote pas la hauteur, suit le texte */
.industrie-img {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
}

.industrie-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
  transition: transform .5s ease;
}

.industrie-img:hover img { transform: scale(1.03); }

/* Contenu texte */
.industrie-content {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.industrie-name {
  font-family: var(--font-logo);
  font-size: clamp(24px, 2.8vw, 40px);
  font-weight: 800;
  letter-spacing: -0.5px;
  text-transform: uppercase;
  color: var(--navy);
  line-height: 1.1;
}

.industrie-text {
  font-size: clamp(14px, 1.1vw, 15px);
  line-height: 1.78;
  color: var(--muted);
}

/* Responsive — tablette */
@media (max-width: 900px) {
  .industrie {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .industrie--img-right .industrie-img { order: -1; }

  .industrie-img { min-height: 220px; }
}

@media (max-width: 640px) {
  .industries { padding: 60px 6% 70px; }
  .industries-title { margin-bottom: 52px; }
  .industrie { margin-bottom: 60px; }
  .industrie-img { min-height: 180px; }
}

/* ── FLÈCHE SCROLL */
/* Flèche scroll */
.scroll-hint {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
}
.scroll-hint span {
  display: block;
  width: 24px; height: 24px;
  border-right: 2px solid rgba(255,255,255,.6);
  border-bottom: 2px solid rgba(255,255,255,.6);
  transform: rotate(45deg);
  animation: scrollBounce 1.6s infinite;
}
@keyframes scrollBounce {
  0%,100% { transform: rotate(45deg) translateY(0); }
  50%      { transform: rotate(45deg) translateY(8px); }
}

/* ── RESPONSIVE ───────────────────────────────── */
@media (max-width: 960px) {
  .nav { display: none; }
  .burger { display: flex; }

  .nav.mobile-open {
    display: block;
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0; bottom: 0;
    background: var(--white);
    overflow-y: auto;
    padding: 16px 0;
    border-top: 1px solid var(--border);
    z-index: 999;
  }

  .nav.mobile-open .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .nav.mobile-open .nav-link {
    padding: 14px 24px;
    font-size: 15px;
    border-radius: 0;
    border-bottom: 1px solid var(--border);
    width: 100%;
  }

  .nav.mobile-open .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: none;
    box-shadow: none;
    border: none;
    border-top: 1px solid var(--border);
    border-radius: 0;
    padding: 0;
    background: var(--light);
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s ease, opacity .25s ease;
  }

  .nav.mobile-open .has-dropdown.open .dropdown {
    max-height: 400px;
    pointer-events: auto;
  }

  .nav.mobile-open .dropdown li a {
    min-height: 48px;
    padding: 14px 20px 14px 36px;
    font-size: 15px;
    border-bottom: 1px solid var(--border);
    border-radius: 0;
  }

  .nav.mobile-open .dropdown li a::before {
    opacity: 1;
  }

  .nav.mobile-open .dropdown li a:hover {
    padding-left: 40px;
  }

  .nav.mobile-open .dropdown li:first-child a { border-radius: 0; }
  .nav.mobile-open .dropdown li:last-child  a { border-radius: 0; }

  /* Hero tablette */
  .hero-content {
    padding: 48px 32px 80px;
  }

  .hero-expertise {
    height: calc(clamp(22px, 5.5vw, 52px) * 3.6);
  }

  .expertise-item {
    font-size: clamp(22px, 5.5vw, 52px);
    white-space: normal;
    word-break: break-word;
  }

}

@media (max-width: 640px) {
  :root { --header-h: 60px; }

  .header-inner { gap: 12px; padding: 0 24px 0 16px; }
  .logo { width: 140px; }
  .btn-contact  { display: none; }
  .btn-search   { display: none; }

  /* Hero mobile */
  .hero { min-height: 100svh; }

  .hero-content {
    padding: 36px 20px 72px;
  }

  .hero-eyebrow { margin-bottom: 28px; }

  .expertise-item {
    font-size: clamp(18px, 6.5vw, 38px);
    white-space: normal;
    word-break: break-word;
    line-height: 1.2;
  }

  .hero-expertise {
    height: auto;
    min-height: 160px;
  }


  .hero-cta { flex-direction: column; }
  .btn-primary, .btn-ghost { text-align: center; }

  .scroll-hint { display: none; }
}

@media (max-width: 380px) {
  .logo-lambda { font-size: 18px; }
  .logo-sub    { font-size: 8px; letter-spacing: 2px; }
}

/* ══════════════════════════════════════════════
   ZONE SOMBRE — fond dégradé commun
   ══════════════════════════════════════════════ */
.dark-zone {
  background: linear-gradient(150deg, #002f45 0%, #003d30 40%, #006040 75%, #00a06a 100%);
}

/* ── PALMARES ─────────────────────────────────── */
.palmares {
  padding: 90px 7% 80px;
}

.palmares-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 72px;
}

.palmares-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
  white-space: nowrap;
}

.palmares-line {
  flex: 1;
  height: 1px;
  background: rgba(255,255,255,.2);
}

.palmares-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  text-align: center;
}

.palmares-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 0 32px;
}

.palmares-stat + .palmares-stat {
  border-left: 1px solid rgba(255,255,255,.15);
}

.palmares-number {
  font-family: var(--font-logo);
  font-size: clamp(48px, 6.5vw, 96px);
  font-weight: 800;
  line-height: 1;
  color: var(--white);
  letter-spacing: -4px;
}

.palmares-number sup {
  font-size: 38%;
  color: var(--green);
  font-weight: 700;
  vertical-align: super;
  letter-spacing: 0;
}

.palmares-desc {
  font-size: clamp(13px, 1.2vw, 16px);
  font-weight: 600;
  color: var(--green);
  letter-spacing: .5px;
}

/* ── FOOTER ───────────────────────────────────── */
.footer {
  padding: 56px 7% 0;
}

.footer-main {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

/* Logo footer */
.footer-logo {
  text-decoration: none;
  display: flex;
  align-items: center;
  flex-shrink: 0;
  margin-right: 20px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  margin-right: 32px;
}

.footer-brand-name {
  font-family: var(--font-logo);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--white);
  text-transform: uppercase;
  line-height: 1;
}

.footer-brand-sub {
  font-family: var(--font-logo);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 6.5px;
  color: rgba(255,255,255,.55);
  text-transform: uppercase;
  margin-top: 4px;
}

.footer-logo-name {
  font-family: var(--font-logo);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 2px;
  color: var(--white);
  text-transform: uppercase;
}

.footer-logo-x { color: var(--green); font-weight: 600; }

.footer-logo-sub {
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 5px;
  color: rgba(255,255,255,.5);
  text-transform: uppercase;
}

/* Nav footer */
.footer-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-nav-link {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .6px;
  color: rgba(255,255,255,.75);
  text-decoration: none;
  padding: 6px 12px;
  border-radius: 6px;
  transition: color .18s, background .18s;
  white-space: nowrap;
}

.footer-nav-link:hover {
  color: var(--white);
  background: rgba(255,255,255,.1);
}

/* Bouton contact footer */
.footer-contact-btn {
  padding: 10px 26px;
  border: 2px solid rgba(255,255,255,.5);
  border-radius: 50px;
  font-size: 13px;
  font-weight: 700;
  color: var(--white);
  text-decoration: none;
  white-space: nowrap;
  transition: border-color .2s, background .2s;
  flex-shrink: 0;
}

.footer-contact-btn:hover {
  border-color: var(--white);
  background: rgba(255,255,255,.1);
}

/* Séparateur */
.footer-divider {
  height: 1px;
  background: rgba(255,255,255,.15);
  margin: 40px 0 0;
}

/* Barre inférieure */
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0 36px;
  flex-wrap: wrap;
}

.footer-copy {
  font-size: 13px;
  color: rgba(255,255,255,.5);
}

.footer-legal {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-legal a {
  font-size: 13px;
  color: rgba(255,255,255,.5);
  text-decoration: none;
  transition: color .18s;
}

.footer-legal a:hover { color: var(--white); }

/* Icônes sociales */
.footer-social {
  display: flex;
  gap: 10px;
}

.social-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  text-decoration: none;
  transition: background .18s, border-color .18s;
}

.social-btn:hover {
  background: rgba(255,255,255,.15);
  border-color: rgba(255,255,255,.6);
}

/* Responsive palmares + footer */
@media (max-width: 768px) {
  .palmares { padding: 60px 6% 52px; }
  .palmares-grid { grid-template-columns: 1fr; gap: 48px; }
  .palmares-stat + .palmares-stat { border-left: none; border-top: 1px solid rgba(255,255,255,.15); padding-top: 48px; }
  .palmares-number { letter-spacing: -2px; }

  .footer-main { flex-direction: column; align-items: flex-start; gap: 28px; }
  .footer-nav { justify-content: flex-start; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 16px; }
}

/* ══════════════════════════════════════════════
   RESPONSIVE GLOBAL — corrections mobile
   ══════════════════════════════════════════════ */

/* ── Tablette (960px) ─── */
@media (max-width: 960px) {
  /* Hero expertise — hauteur auto pour texte qui wrap */
  .hero-expertise {
    height: auto !important;
    min-height: calc(clamp(22px, 5.5vw, 52px) * 2.6);
  }
}

/* ── Mobile (640px) ─── */
@media (max-width: 640px) {
  /* Header — logo plus compact */
  .logo { width: 180px; height: 48px; }

  /* Hero expertise — entièrement auto */
  .hero-expertise {
    height: auto !important;
    min-height: 120px;
    margin-bottom: 32px;
  }

  .expertise-item {
    font-size: clamp(17px, 6vw, 32px) !important;
    white-space: normal !important;
    word-break: break-word;
    line-height: 1.25;
  }

  /* Boutons hero — pleine largeur */
  .hero-cta {
    flex-direction: column;
    gap: 12px;
  }
  .btn-primary, .btn-ghost {
    text-align: center;
    width: 100%;
    justify-content: center;
  }

  /* Industries — espacement réduit */
  .industries { padding: 56px 5% 64px; }
  .industrie { margin-bottom: 56px; }
  .industrie-img { min-height: 200px; }

  /* Footer — centré sur mobile */
  .footer { padding: 40px 5% 0; }
  .footer-main { align-items: center; text-align: center; }
  .footer-brand { align-items: center; }
  .footer-nav { justify-content: center; }
  .footer-contact-btn { width: 100%; text-align: center; }
  .footer-bottom { align-items: center; text-align: center; }
  .footer-legal { justify-content: center; }
  .footer-social { justify-content: center; }
  .footer-copy { text-align: center; }

  /* Partenaires */
  .partenaires { padding: 48px 5% 60px; }
  .partenaires-header { flex-direction: column; gap: 12px; text-align: center; }
  .partenaires-line { width: 60px; height: 1px; flex: none; }

  /* Palmares */
  .palmares-header { flex-direction: column; gap: 12px; text-align: center; }
}

/* ── Très petit (380px) ─── */
@media (max-width: 380px) {
  .hero-content { padding: 28px 16px 60px; }
  .expertise-item { font-size: clamp(15px, 5.5vw, 28px) !important; }
  .hero-eyebrow { font-size: 9px; }
  .footer-nav-link { font-size: 11px; padding: 5px 8px; }
}
