/* =========================================================
   GENIEM — Couleurs et identité fidèles à l'original
   Palette extraite de l'archive :
     #0bdbe2 cyan (titres hero + Expertises)
     #2b87da → #29c4a9 gradient (overlay hero)
     #742CFD purple (titres Compétences, Secteurs)
     #474747 texte
     #ffffff fond
   ========================================================= */

:root {
  --cyan: #0bdbe2;
  --cyan-2: #0be8ce;
  --blue: #2b87da;
  --mint: #29c4a9;
  --purple: #742CFD;
  --purple-2: #5a18d6;

  --text: #474747;
  --text-2: #6a6a6a;
  --text-muted: #8a8a8a;
  --heading: #3f3f3f;

  --white: #ffffff;
  --bg: #ffffff;
  --bg-soft: #f2f5ff;
  --bg-alt: #fafbff;
  --border: rgba(15, 14, 40, 0.08);
  --border-strong: rgba(15, 14, 40, 0.14);

  --dark: #0c0a25;

  --grad-hero: linear-gradient(180deg, #2b87da 0%, #29c4a9 100%);
  --grad-hero-soft: linear-gradient(180deg, rgba(43,135,218,0.85) 0%, rgba(41,196,169,0.85) 100%);
  --grad-cyan: linear-gradient(135deg, #0bdbe2 0%, #29c4a9 100%);
  --grad-purple: linear-gradient(135deg, #742CFD 0%, #9c5dff 100%);

  --shadow-card: 0 12px 18px -6px rgba(0,0,0,0.3);
  --shadow: 0 12px 40px rgba(15, 14, 40, 0.08);
  --shadow-lg: 0 30px 80px rgba(43, 135, 218, 0.22);

  --radius: 16px;
  --radius-lg: 50px;
  --radius-pill: 999px;

  --container: 1240px;
  --header-h: 84px;

  --font: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  overflow-wrap: break-word;
  word-wrap: break-word;
}
p, h1, h2, h3, h4, h5, h6, li, span {
  overflow-wrap: break-word;
  word-wrap: break-word;
}
img, video { max-width: 100%; height: auto; }

img, svg, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--cyan); }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

/* =========================================================
   HEADER
   ========================================================= */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--header-h);
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: background .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.header.is-scrolled {
  border-bottom-color: var(--border);
  box-shadow: 0 4px 24px rgba(15,14,40,0.05);
}
.header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.brand img { height: 38px; width: auto; }
.brand--light img { filter: brightness(0) invert(1); }

.nav,
.nav--desktop {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav__link {
  position: relative;
  padding: 10px 16px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text);
  border-radius: var(--radius-pill);
  transition: color .2s var(--ease), background .2s var(--ease);
}
.nav__link:hover { color: var(--cyan); background: rgba(11,219,226,0.08); }
.nav__link.is-active { color: var(--purple); background: rgba(116,44,253,0.08); }

/* === Menu mobile (placé hors du header dans le DOM) === */
.nav-mobile {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  padding: calc(var(--header-h) + 20px) 24px 32px;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: stretch;
  z-index: 90;
  overflow-y: auto;
  transform: translateX(100%);
  visibility: hidden;
  transition: transform .35s var(--ease), visibility 0s linear .35s;
  -webkit-overflow-scrolling: touch;
}
.nav-mobile.is-open {
  transform: translateX(0);
  visibility: visible;
  transition: transform .35s var(--ease), visibility 0s linear 0s;
}
.nav-mobile .nav__link {
  padding: 18px 20px;
  font-size: 17px;
  font-weight: 600;
  color: var(--text);
  background: var(--bg-soft);
  border-radius: 14px;
  border: 1px solid var(--border);
  display: block;
}
.nav-mobile .nav__link:hover,
.nav-mobile .nav__link.is-active {
  background: rgba(116,44,253,0.08);
  color: var(--purple);
}
.nav-mobile .nav__link--phone {
  margin-top: 14px;
  background: var(--cyan);
  color: #fff;
  border-color: var(--cyan);
  text-align: center;
  font-weight: 700;
  font-size: 16px;
}
.nav-mobile .nav__link--phone:hover {
  background: #06c3ca;
  color: #fff;
}

.nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(12,10,37,0.45);
  z-index: 80;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s var(--ease), visibility 0s linear .3s;
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
}
.nav-backdrop.is-open {
  opacity: 1;
  visibility: visible;
  transition: opacity .3s var(--ease), visibility 0s linear 0s;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.header__phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text);
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--border-strong);
  transition: all .25s var(--ease);
}
.header__phone:hover {
  color: #fff;
  border-color: var(--cyan);
  background: var(--cyan);
  transform: translateY(-1px);
}

.burger {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1.5px solid var(--border-strong);
  position: relative;
}
.burger span {
  position: absolute;
  left: 12px; right: 12px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform .3s var(--ease), opacity .2s var(--ease), top .3s var(--ease);
}
.burger span:nth-child(1){ top: 15px; }
.burger span:nth-child(2){ top: 21px; }
.burger span:nth-child(3){ top: 27px; }
.burger.is-open span:nth-child(1){ top: 21px; transform: rotate(45deg); }
.burger.is-open span:nth-child(2){ opacity: 0; }
.burger.is-open span:nth-child(3){ top: 21px; transform: rotate(-45deg); }

/* =========================================================
   BUTTONS
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius-pill);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
  white-space: nowrap;
  cursor: pointer;
}
.btn svg { transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }

.btn--cyan {
  background: var(--cyan);
  color: #fff;
  box-shadow: 0 10px 24px rgba(11, 219, 226, 0.35);
}
.btn--cyan:hover {
  background: #06c3ca;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(11, 219, 226, 0.45);
}

.btn--white {
  background: #fff;
  color: var(--blue);
  box-shadow: 0 10px 24px rgba(0,0,0,0.12);
}
.btn--white:hover {
  color: var(--purple);
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(0,0,0,0.18);
}

.btn--purple {
  background: var(--purple);
  color: #fff;
  box-shadow: 0 10px 24px rgba(116, 44, 253, 0.35);
}
.btn--purple:hover {
  background: var(--purple-2);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(116, 44, 253, 0.45);
}

.btn--ghost-light {
  background: rgba(255,255,255,0.16);
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.4);
}
.btn--ghost-light:hover {
  background: #fff;
  color: var(--blue);
  border-color: #fff;
}

.btn--outline {
  border: 1.5px solid var(--border-strong);
  color: var(--text);
}
.btn--outline:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  background: rgba(11,219,226,0.04);
}

/* =========================================================
   HERO — Image bg + blue→mint gradient overlay (couleurs originales)
   ========================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  padding: calc(var(--header-h) + 80px) 0 100px;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: var(--grad-hero);
  opacity: 0.88;
  z-index: 1;
}
.hero__overlay--dark {
  background:
    linear-gradient(
      135deg,
      rgba(8, 8, 22, 0.88) 0%,
      rgba(12, 18, 50, 0.82) 40%,
      rgba(20, 60, 130, 0.72) 100%
    );
  opacity: 1;
}
.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero__inner--solo {
  display: block;
}
.hero--solo .hero__left { max-width: 720px; }
.hero--solo .hero__title { font-size: clamp(2rem, 7vw, 5rem); }
.hero--solo .hero__title-2 { font-size: clamp(0.95rem, 1.5vw, 1.2rem); max-width: 600px; }

.hero__kicker {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 18px;
}

.hero__title {
  margin-top: 28px;
  font-weight: 800;
  font-size: clamp(2rem, 6.5vw, 4.6rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--cyan);
  text-shadow: 0 4px 30px rgba(0,0,0,0.18);
}
.hero__title-2 {
  margin-top: 18px;
  font-weight: 600;
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  line-height: 1.55;
  letter-spacing: 0;
  color: #fff;
  max-width: 560px;
}
.hero__title-2 strong { font-weight: 700; }

.hero__cta {
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero__stats {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 48px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.25);
}
.hero__stats li { display: flex; flex-direction: column; }
.hero__stats strong {
  font-size: 38px;
  font-weight: 800;
  line-height: 1;
  color: #fff;
  letter-spacing: -0.025em;
}
.hero__stats span {
  margin-top: 8px;
  font-size: 13px;
  color: rgba(255,255,255,0.8);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Hero video showcase — montre la vidéo "office" originale */
.hero__media {
  position: relative;
  border-radius: 27px 25px 0 25px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,0.35);
  aspect-ratio: 16/10;
  background: #000;
}
.hero__media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__media::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(43,135,218,0.4) 100%);
  z-index: 1;
  pointer-events: none;
}
.hero__media-tag {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 2;
  background: rgba(255,255,255,0.95);
  color: var(--blue);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}
.hero__media-dot {
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #ff4d4d;
  margin-right: 6px;
  animation: pulse-red 1.6s ease-in-out infinite;
  vertical-align: middle;
}
@keyframes pulse-red {
  50% { opacity: 0.4; }
}

.hero__scroll {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  width: 28px;
  height: 46px;
  border: 2px solid rgba(255,255,255,0.6);
  border-radius: 14px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
  z-index: 3;
}
.hero__scroll span {
  width: 4px;
  height: 8px;
  background: #fff;
  border-radius: 2px;
  animation: scrollDown 1.6s ease-in-out infinite;
}
@keyframes scrollDown {
  0% { transform: translateY(0); opacity: 0; }
  50% { opacity: 1; }
  100% { transform: translateY(18px); opacity: 0; }
}

/* =========================================================
   SECTIONS GÉNÉRIQUES
   ========================================================= */
.section {
  position: relative;
  padding: 110px 0;
  overflow: hidden;
}
.section--white { background: #fff; }
.section--soft { background: var(--bg-soft); }
.section--dark { background: var(--dark); color: #fff; }

/* Overlay gradient sombre subtil sur toute la section (haut → bas).
   Donne de la profondeur sans gêner le contenu (opacité basse,
   pointer-events: none, contenu reste au-dessus). */
.section--white,
.section--soft {
  position: relative;
  isolation: isolate;
}
.section--white::before,
.section--soft::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background: linear-gradient(
    180deg,
    rgba(8, 14, 40, 0.12) 0%,
    rgba(8, 14, 40, 0.04) 25%,
    transparent 50%,
    rgba(8, 14, 40, 0.04) 75%,
    rgba(8, 14, 40, 0.12) 100%);
}
/* Contenu toujours au-dessus de l'overlay */
.section--white > .container,
.section--soft > .container {
  position: relative;
  z-index: 1;
}

/* Section avec backdrop image + overlay */
.section--backdrop {
  position: relative;
  isolation: isolate;
}
.section--night {
  position: relative;
  isolation: isolate;
  color: #fff;
}
.section__backdrop {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
}
.section__backdrop img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.7);
}
.section__backdrop-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
}
/* Vignette : sombre haut/bas, clair au centre → la section reste lisible */
.section__backdrop-overlay--vignette {
  background:
    linear-gradient(180deg,
      rgba(8, 8, 22, 0.88) 0%,
      rgba(8, 8, 22, 0.20) 18%,
      rgba(255, 255, 255, 0.92) 38%,
      rgba(255, 255, 255, 0.92) 62%,
      rgba(8, 8, 22, 0.20) 82%,
      rgba(8, 8, 22, 0.88) 100%);
}
/* Night : full bleu nuit immersif */
.section__backdrop-overlay--night {
  background:
    linear-gradient(135deg,
      rgba(8, 8, 22, 0.86) 0%,
      rgba(16, 22, 60, 0.82) 50%,
      rgba(28, 38, 100, 0.76) 100%);
}

/* Light variants pour titre/lead sur fond sombre — specificité boostée pour
   gagner contre les règles de base définies plus bas dans le fichier */
.section .section__lead--light,
.section--night .section__lead,
.section--night .section__lead--light { color: rgba(255,255,255,0.82) !important; }
.section .section__kicker--light,
.section--night .section__kicker,
.section--night .section__kicker--light { color: var(--cyan) !important; }
.section .section__title--light,
.section--night .section__title,
.section--night .section__title--light { color: #fff !important; }
.section--night .section__head { position: relative; z-index: 2; }
.section--night .container { position: relative; z-index: 2; }

/* Gradient cyan inline pour titres sur sombre */
.text-grad-cyan {
  background: linear-gradient(135deg, #0bdbe2 0%, #9c5dff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Cards Expertises sur fond night : effet glass transparent + overlay,
   textes en blanc/clair. MOE conserve son tint violet pour le différencier. */
.section--night .exp-card {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 24px 50px -12px rgba(0, 0, 0, 0.55);
  color: #fff;
}
.section--night .exp-card--purple {
  background: linear-gradient(165deg, rgba(116, 44, 253, 0.22) 0%, rgba(28, 18, 80, 0.32) 100%);
  border-color: rgba(156, 93, 255, 0.3);
}
.section--night .exp-card__sub {
  color: rgba(255, 255, 255, 0.7);
}
.section--night .exp-card__list li {
  color: rgba(255, 255, 255, 0.92);
  border-top-color: rgba(255, 255, 255, 0.10);
}
.section--night .exp-card__list li:last-child {
  border-bottom-color: rgba(255, 255, 255, 0.10);
}
.section--night .exp-card__icon {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
/* Titres de cartes : ajustés pour rester lisibles sur dark */
.section--night .exp-card__title--purple { color: #b48bff; }
.section--night .exp-card__title--mint   { color: #4ddbb8; }
/* (cyan reste cyan, déjà très contrasté sur dark) */

/* Sur section night : bouton outline en blanc + ajustements */
.section--night .btn--outline {
  border-color: rgba(255,255,255,0.4);
  color: #fff;
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(8px);
}
.section--night .btn--outline:hover {
  background: #fff;
  color: var(--blue);
  border-color: #fff;
}
.section--night .job {
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.6);
}

.section__head {
  max-width: 760px;
  margin: 0 auto 64px;
  text-align: center;
}
.section__kicker {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 16px;
}
.section__kicker--purple { color: var(--purple); }
.section__kicker--light { color: var(--cyan); }

.section__title {
  font-weight: 800;
  font-size: clamp(1.5rem, 5vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--heading);
}
.section__title--cyan { color: var(--cyan); }
.section__title--purple { color: var(--purple); }
.section__title--light { color: #fff; }

.section__lead {
  margin-top: 20px;
  font-size: 17px;
  line-height: 1.65;
  color: var(--text-2);
}

/* =========================================================
   EXPERTISES — 3 cartes blanches arrondies 50px (comme l'original)
   ========================================================= */
.expertise-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 24px;
}

.exp-card {
  position: relative;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 40px 32px 36px;
  box-shadow: var(--shadow-card);
  min-height: 460px;
  display: flex;
  flex-direction: column;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
  overflow: hidden;
}
.exp-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 40px -6px rgba(0,0,0,0.25);
}
.exp-card__icon {
  width: 96px;
  height: 96px;
  margin: 0 auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.exp-card__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.exp-card__title {
  font-weight: 800;
  font-size: 28px;
  letter-spacing: -0.025em;
  text-align: center;
  margin-bottom: 6px;
}
.exp-card__title--cyan { color: var(--cyan); }
.exp-card__title--purple { color: var(--purple); }
.exp-card__title--mint { color: var(--mint); }
.exp-card__sub {
  text-align: center;
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 22px;
}
.exp-card__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: auto;
}
.exp-card__list li {
  position: relative;
  padding-left: 26px;
  font-size: 15px;
  color: var(--text);
  line-height: 1.4;
}
.exp-card__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan) 0%, var(--mint) 100%);
}
.exp-card--purple .exp-card__list li::before {
  background: linear-gradient(135deg, var(--purple) 0%, #9c5dff 100%);
}

/* =========================================================
   COMPÉTENCES NEW — Tabs cliquables + 2 col panels/vidéo
   ========================================================= */
.comp-new {
  margin-top: 56px;
}

/* === Rangée de tabs en haut === */
.comp-new__tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 40px;
}
.comp-tab {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 22px;
  background: #fff;
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius-lg);
  cursor: pointer;
  text-align: left;
  transition: all .35s var(--ease);
  position: relative;
  overflow: hidden;
  isolation: isolate;
  color: var(--text);
}
.comp-tab:hover {
  border-color: var(--cyan);
  transform: translateY(-3px);
  box-shadow: 0 16px 32px -10px rgba(43,135,218,0.25);
}
.comp-tab.is-active {
  background: linear-gradient(135deg, #0c0a25 0%, #15123a 60%, #2b1b6e 100%);
  border-color: transparent;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 20px 40px -10px rgba(116, 44, 253, 0.5);
}
.comp-tab__num {
  font-size: 28px;
  font-weight: 900;
  letter-spacing: -0.04em;
  background: linear-gradient(135deg, #0bdbe2 0%, #9c5dff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  flex-shrink: 0;
  line-height: 1;
}
.comp-tab.is-active .comp-tab__num {
  background: linear-gradient(135deg, #ffffff 0%, #0bdbe2 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.comp-tab__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.comp-tab__label {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.comp-tab__count {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
}
.comp-tab.is-active .comp-tab__count { color: rgba(255,255,255,0.65); }
.comp-tab__arrow {
  flex-shrink: 0;
  color: var(--text-muted);
  transform: rotate(0deg);
  transition: all .35s var(--ease);
}
.comp-tab.is-active .comp-tab__arrow {
  color: var(--cyan);
  transform: translateX(4px);
}

/* === Body : panels + média === */
.comp-new__body {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 36px;
  align-items: start;
}

/* === Panels === */
.comp-new__panels {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 36px 36px 28px;
  border: 1px solid var(--border);
  box-shadow: 0 8px 24px -8px rgba(15,14,40,0.06);
  min-height: 480px;
}
.comp-panel {
  display: none;
  animation: compFade .4s var(--ease);
}
.comp-panel.is-active { display: block; }
@keyframes compFade {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.comp-group { margin-bottom: 26px; }
.comp-group:last-child { margin-bottom: 0; }
.comp-group__title {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}
.comp-group__title--hot {
  color: var(--purple);
  border-bottom-color: rgba(116,44,253,0.25);
}

.comp-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.comp-tag {
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 500;
  border-radius: var(--radius-pill);
  background: var(--bg-soft);
  color: var(--text);
  border: 1px solid var(--border);
  transition: all .25s var(--ease);
  cursor: default;
}
.comp-tag:hover {
  background: #fff;
  border-color: var(--cyan);
  color: var(--cyan);
  transform: translateY(-2px);
  box-shadow: 0 6px 14px -6px rgba(11,219,226,0.4);
}
.comp-tag--hot {
  background: linear-gradient(135deg, #0bdbe2 0%, #9c5dff 100%);
  color: #fff;
  border-color: transparent;
  font-weight: 700;
  box-shadow: 0 6px 18px -6px rgba(116,44,253,0.45);
}
.comp-tag--hot:hover {
  color: #fff;
  background: linear-gradient(135deg, #9c5dff 0%, #0bdbe2 100%);
  border-color: transparent;
  transform: translateY(-3px);
  box-shadow: 0 12px 24px -8px rgba(116,44,253,0.55);
}

/* === Média droite === */
.comp-new__media {
  position: sticky;
  top: calc(var(--header-h) + 20px);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.comp-new__media-caption {
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-2);
  padding: 0 6px;
}

/* =========================================================
   COMPÉTENCES — section blanche, titre violet, vidéo "code matrix" (ANCIEN, conservé pour compat)
   ========================================================= */
.competences {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-top: 56px;
}
.competences__lead {
  font-size: 17px;
  color: var(--text-2);
  margin-bottom: 32px;
  max-width: 520px;
}

.competences__media {
  position: relative;
  border-radius: 27px 25px 0 25px;
  overflow: hidden;
  aspect-ratio: 16/10;
  box-shadow: var(--shadow);
  background: #000;
}
.competences__media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.competences__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(116,44,253,0.45) 0%, rgba(11,219,226,0.3) 100%);
  mix-blend-mode: multiply;
  pointer-events: none;
}
.competences__media-tag {
  position: absolute;
  bottom: 18px;
  left: 18px;
  z-index: 2;
  background: rgba(0,0,0,0.6);
  color: #fff;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

.competences__group {
  margin-bottom: 28px;
}
.competences__group h3 {
  display: inline-block;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--purple);
  margin-bottom: 12px;
  padding-bottom: 6px;
  border-bottom: 2px solid var(--cyan);
}
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tag {
  padding: 7px 14px;
  font-size: 13px;
  font-weight: 500;
  border-radius: var(--radius-pill);
  background: var(--bg-soft);
  color: var(--text);
  border: 1px solid var(--border);
  transition: all .2s var(--ease);
}
.tag:hover {
  background: var(--cyan);
  color: #fff;
  border-color: var(--cyan);
}
.tag--hot {
  background: linear-gradient(135deg, var(--cyan), var(--mint));
  color: #fff;
  border-color: transparent;
}
.tag--hot:hover {
  background: linear-gradient(135deg, var(--purple), var(--cyan));
  border-color: transparent;
}

/* Benefits */
.benefits {
  margin-top: 90px;
  padding-top: 70px;
  border-top: 1px solid var(--border);
  text-align: center;
}
.benefits__title {
  font-size: 22px;
  font-weight: 600;
  color: var(--heading);
  margin-bottom: 40px;
}
.benefits__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.benefit {
  position: relative;
  isolation: isolate;
  border-radius: var(--radius-lg);
  padding: 36px 30px 32px;
  text-align: left;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
  box-shadow: 0 18px 40px -10px rgba(8, 8, 22, 0.55);
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.08);
}
.benefit__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  transition: transform .6s var(--ease);
}
.benefit::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg,
      rgba(8, 8, 22, 0.30) 0%,
      rgba(12, 18, 50, 0.78) 55%,
      rgba(16, 26, 70, 0.96) 100%);
  transition: opacity .35s var(--ease);
}
.benefit:hover {
  transform: translateY(-8px);
  box-shadow: 0 32px 60px -14px rgba(8, 8, 22, 0.7);
}
.benefit:hover .benefit__img {
  transform: scale(1.08);
}
.benefit__num {
  font-size: 56px;
  font-weight: 900;
  background: linear-gradient(135deg, #ffffff 0%, #0bdbe2 60%, #9c5dff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  margin-bottom: 18px;
  letter-spacing: -0.04em;
  text-shadow: 0 4px 20px rgba(0,0,0,0.4);
}
.benefit p {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.5;
  font-weight: 500;
}
.benefit strong {
  color: var(--cyan);
  font-weight: 800;
}
.benefits__foot {
  margin-top: 36px;
  font-size: 18px;
  font-weight: 600;
  color: var(--purple);
}

/* =========================================================
   SECTEURS — Cards photo + overlay (comme le snapshot 2023)
   ========================================================= */
.sectors {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}
.sector {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: default;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
  isolation: isolate;
  background: #1a1a2e;
}
.sector__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  transition: transform .5s var(--ease);
}
.sector:hover .sector__img { transform: scale(1.06); }
.sector::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(12,10,37,0.25) 0%, rgba(12,10,37,0.6) 100%);
  z-index: 1;
  transition: background .4s var(--ease);
}
.sector:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 50px rgba(43,135,218,0.4);
}
.sector:hover::before {
  background:
    linear-gradient(180deg, rgba(43,135,218,0.55) 0%, rgba(116,44,253,0.65) 100%);
}
.sector__inner {
  position: relative;
  z-index: 2;
  height: 100%;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  text-align: center;
}
.sector h4 {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.01em;
  line-height: 1.2;
  text-shadow: 0 2px 14px rgba(0,0,0,0.35);
  transform: translateY(0);
  transition: transform .4s var(--ease);
}
.sector:hover h4 { transform: translateY(-3px); }

/* =========================================================
   CTA BANNER — bg-cta.jpg avec overlay bleu→mint
   ========================================================= */
.cta-banner {
  position: relative;
  padding: 90px 0;
  overflow: hidden;
  color: #fff;
}
.cta-banner__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.cta-banner__bg img,
.cta-banner__bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cta-banner__overlay {
  position: absolute;
  inset: 0;
  background: var(--grad-hero);
  opacity: 0.85;
  z-index: 1;
}
.cta-banner--video .cta-banner__overlay {
  background:
    linear-gradient(135deg,
      rgba(43,135,218,0.85) 0%,
      rgba(41,196,169,0.78) 100%);
}
.cta-banner__tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px;
  background: rgba(255,255,255,0.18);
  color: #fff;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid rgba(255,255,255,0.3);
  margin-bottom: 16px;
}
.cta-banner__tag-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #ff4d4d;
  animation: pulse-red 1.6s ease-in-out infinite;
}
.cta-banner__inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.cta-banner__title {
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.15;
  color: #fff;
}
.cta-banner__sub {
  margin-top: 14px;
  font-size: 17px;
  color: rgba(255,255,255,0.92);
  max-width: 600px;
}

/* =========================================================
   RÉALISATIONS — Mur de logos clients
   ========================================================= */
.clients {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 24px;
}
.client {
  position: relative;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 26px;
  transition: all .35s var(--ease);
  overflow: hidden;
  box-shadow: 0 6px 14px -8px rgba(15,14,40,0.08);
}
.client:hover {
  transform: translateY(-8px);
  border-color: rgba(11,219,226,0.45);
  box-shadow: 0 28px 50px -10px rgba(43,135,218,0.3);
}
.client img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  opacity: 1;
  transition: transform .4s var(--ease);
}
.client:hover img {
  transform: scale(1.06);
}
.client__name {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
  line-height: 1;
}
.client__sub {
  margin-top: 4px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* KPI strip below logo wall */
.realisations__kpis--bottom {
  margin-top: 64px;
  padding-top: 56px;
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  list-style: none;
  text-align: center;
}
.realisations__kpis--bottom li {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.realisations__kpis--bottom strong {
  font-size: 42px;
  font-weight: 800;
  background: var(--grad-cyan);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.03em;
  line-height: 1;
}
.realisations__kpis--bottom span {
  margin-top: 10px;
  font-size: 14px;
  color: var(--text-2);
  letter-spacing: 0.03em;
}

/* =========================================================
   PAGE-HERO (sous-pages : offres, etc.)
   ========================================================= */
.page-hero {
  position: relative;
  padding: calc(var(--header-h) + 90px) 0 90px;
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.page-hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.page-hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(135deg, rgba(43,135,218,0.92) 0%, rgba(41,196,169,0.88) 100%);
}
.page-hero__inner { max-width: 920px; }
.page-hero__title {
  margin-top: 14px;
  font-size: clamp(1.75rem, 6vw, 3.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: #fff;
}
.page-hero__sub {
  margin-top: 18px;
  font-size: clamp(0.95rem, 1.5vw, 1.125rem);
  color: rgba(255,255,255,0.92);
  max-width: 640px;
  line-height: 1.6;
}
.page-hero__sub a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.page-hero__sub a:hover { color: var(--cyan); }

.breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.92);
}
.breadcrumb a { color: rgba(255,255,255,0.92); }
.breadcrumb a:hover { color: var(--cyan); }
.breadcrumb__sep { opacity: .5; }

/* =========================================================
   FILTERS (page offres)
   ========================================================= */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}
.filter {
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-2);
  background: #fff;
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius-pill);
  transition: all .25s var(--ease);
}
.filter:hover {
  color: var(--cyan);
  border-color: var(--cyan);
}
.filter.is-active {
  background: var(--grad-hero);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 10px 24px rgba(43,135,218,0.3);
}
.filters__count {
  font-size: 13px;
  color: var(--text-muted);
  letter-spacing: 0.03em;
}
.filters__count span {
  font-weight: 700;
  color: var(--purple);
}

/* =========================================================
   OFFRES
   ========================================================= */
.jobs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.jobs--grid {
  grid-template-columns: repeat(3, 1fr);
}
.job {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 0 0 32px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-card);
  transition: all .35s var(--ease);
  position: relative;
  overflow: hidden;
}
.job > .job__head,
.job > .job__title,
.job > .job__meta,
.job > .job__desc,
.job > .job__more { margin-left: 28px; margin-right: 28px; }

.job__media {
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  position: relative;
  margin-bottom: 26px;
  background: var(--bg-soft);
}
.job__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .55s var(--ease);
}
.job:hover .job__media img { transform: scale(1.04); }
.job__media::after {
  content: '';
  position: absolute;
  inset: auto 0 0 0;
  height: 50%;
  background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.18) 100%);
  pointer-events: none;
}
.job:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 40px -6px rgba(43,135,218,0.25);
}
.job__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}
.job__tag {
  padding: 5px 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--bg-soft);
  color: var(--purple);
  border-radius: 6px;
}
.job__city {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
}
.job__title {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--heading);
  min-height: 56px;
}
.job__meta {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}
.job__meta li { font-size: 13px; color: var(--text); }
.job__meta span {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 2px;
}
.job__desc {
  margin-top: 20px;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--text-2);
  flex: 1;
}
.job__more {
  margin-top: 24px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--cyan);
  align-self: flex-start;
}
.job__more svg { transition: transform .25s var(--ease); }
.job__more:hover { color: var(--purple); }
.job__more:hover svg { transform: translateX(4px); }
.jobs__foot {
  margin-top: 48px;
  text-align: center;
}

/* =========================================================
   CONTACT — section claire avec carte sombre côté form
   ========================================================= */
.contact {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 32px;
}
.contact__form-wrap {
  background: var(--grad-hero);
  border-radius: var(--radius-lg);
  padding: 48px;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.contact__form-wrap::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
}
.contact__form-wrap::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(11,219,226,0.18);
}
.contact__form-wrap > * { position: relative; z-index: 1; }

.contact__title {
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 24px;
}
.contact__title--white { color: #fff; }
.contact__title--purple { color: var(--purple); }

.contact__form { display: flex; flex-direction: column; gap: 18px; }

/* Alerte succès / erreur du formulaire (Brevo) — design renforcé */
.form-alert {
  display: none;
  padding: 18px 22px;
  border-radius: 14px;
  font-size: 15.5px;
  font-weight: 600;
  margin-bottom: 22px;
  border: 1.5px solid transparent;
  line-height: 1.5;
  align-items: flex-start;
  gap: 14px;
  position: relative;
}
.form-alert.is-success,
.form-alert.is-error {
  display: flex;
  animation: alertIn .5s cubic-bezier(0.16, 1, 0.3, 1);
}
.form-alert.is-success {
  background: linear-gradient(135deg, rgba(41,196,169,0.95), rgba(11,219,226,0.95));
  border-color: #fff;
  color: #fff;
  box-shadow: 0 12px 30px -8px rgba(41,196,169,0.6);
}
.form-alert.is-error {
  background: linear-gradient(135deg, rgba(220,60,80,0.95), rgba(180,40,60,0.95));
  border-color: #fff;
  color: #fff;
  box-shadow: 0 12px 30px -8px rgba(220,60,80,0.6);
}
.form-alert::before {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,0.95);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 18px;
}
.form-alert.is-success::before {
  content: '✓';
  color: #1f8a76;
}
.form-alert.is-error::before {
  content: '!';
  color: #b22a3c;
}
.form-alert__close {
  position: absolute;
  top: 10px;
  right: 12px;
  background: none;
  border: 0;
  color: #fff;
  font-size: 18px;
  opacity: .7;
  cursor: pointer;
  padding: 4px 6px;
  line-height: 1;
}
.form-alert__close:hover { opacity: 1; }
@keyframes alertIn {
  from {
    opacity: 0;
    transform: translateY(-16px) scale(.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
.field { display: flex; flex-direction: column; }
.field label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  margin-bottom: 8px;
}
.field input,
.field textarea {
  width: 100%;
  padding: 14px 18px;
  font-family: inherit;
  font-size: 15px;
  color: #fff;
  background: rgba(255,255,255,0.12);
  border: 1.5px solid rgba(255,255,255,0.22);
  border-radius: 12px;
  resize: vertical;
  transition: all .25s var(--ease);
}
.field input::placeholder, .field textarea::placeholder { color: rgba(255,255,255,0.6); }
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: #fff;
  background: rgba(255,255,255,0.18);
  box-shadow: 0 0 0 4px rgba(255,255,255,0.15);
}
.contact__form .btn { align-self: flex-start; margin-top: 8px; }

/* =========================================================
   CONTACT — NEW BENTO (bg image + overlay + map XL + form)
   ========================================================= */
.contact-section {
  position: relative;
  padding: 120px 0 130px;
  overflow: hidden;
  isolation: isolate;
  color: #fff;
}
.contact-section__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.contact-section__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.contact-section__overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(135deg, rgba(8,8,22,0.94) 0%, rgba(16,20,55,0.88) 50%, rgba(43,52,120,0.82) 100%);
}
.contact-section__inner {
  position: relative;
}
.contact-section .section__head { margin-bottom: 56px; }
.contact-section .section__lead { color: rgba(255,255,255,0.85); }

.contact-bento {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  gap: 24px;
  align-items: start;
}

/* === Wrap qui contient map + info-card en siblings === */
.contact-bento__map-wrap {
  position: relative;
  display: flex;
  flex-direction: column;
}

/* === Carte XL === */
.contact-bento__map {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #eef0f6;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.5);
  height: 560px;
  flex-shrink: 0;
}
.contact-bento__map .contact__map-canvas {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* === Bande info horizontale sous le bento (4 colonnes) === */
.contact-strip {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  background: linear-gradient(140deg, rgba(12, 10, 37, 0.96) 0%, rgba(28, 18, 80, 0.94) 100%);
  border-radius: 22px;
  padding: 26px 14px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.contact-strip::before {
  content: '';
  position: absolute;
  top: -60%;
  right: -10%;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(11, 219, 226, 0.22), transparent 70%);
  pointer-events: none;
  z-index: -1;
}
.contact-strip::after {
  content: '';
  position: absolute;
  bottom: -60%;
  left: -8%;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(116, 44, 253, 0.2), transparent 70%);
  pointer-events: none;
  z-index: -1;
}
.contact-strip__item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 4px 22px;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}
.contact-strip__item:last-child { border-right: 0; }
.contact-strip__icon {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(11, 219, 226, 0.14);
  border: 1px solid rgba(11, 219, 226, 0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan);
}
.contact-strip__body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.contact-strip__label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}
.contact-strip__value {
  font-size: 14.5px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.4;
  text-decoration: none;
  word-break: break-word;
  transition: color .2s var(--ease);
}
a.contact-strip__value:hover { color: var(--cyan); }

/* === Toast notification (succès/erreur formulaire) === */
.toast {
  position: fixed;
  top: calc(var(--header-h) + 18px);
  left: 50%;
  z-index: 1000;
  min-width: 320px;
  max-width: 520px;
  padding: 20px 60px 20px 24px;
  border-radius: 18px;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  box-shadow:
    0 30px 70px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(255, 255, 255, 0.3);
  border: 2px solid rgba(255, 255, 255, 0.5);
  transform: translate(-50%, -200px);
  opacity: 0;
  pointer-events: none;
  transition: transform .6s cubic-bezier(0.16, 1, 0.3, 1), opacity .4s var(--ease);
  will-change: transform, opacity;
}
.toast.is-show {
  animation: toastPulse 1.2s ease-out 0.6s 1;
}
@keyframes toastPulse {
  0%, 100% { box-shadow: 0 30px 70px rgba(0,0,0,0.45), 0 0 0 1px rgba(255,255,255,0.3); }
  50%      { box-shadow: 0 30px 70px rgba(0,0,0,0.55), 0 0 0 6px rgba(11,219,226,0.4); }
}
.toast.is-show {
  transform: translate(-50%, 0);
  opacity: 1;
  pointer-events: auto;
}
.toast.is-success {
  background: linear-gradient(135deg, #29c4a9, #0bdbe2);
}
.toast.is-error {
  background: linear-gradient(135deg, #dc3c50, #b4283c);
}
.toast__icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 20px;
}
.toast.is-success .toast__icon { color: #1f8a76; }
.toast.is-error .toast__icon { color: #b4283c; }
.toast__body { flex: 1; line-height: 1.45; }
.toast__title { font-size: 16px; font-weight: 800; display: block; margin-bottom: 2px; }
.toast__msg { font-weight: 500; opacity: .95; }
.toast__msg a { color: #fff; text-decoration: underline; }
.toast__close {
  position: absolute;
  top: 8px;
  right: 10px;
  background: transparent;
  border: 0;
  color: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  opacity: .7;
  padding: 6px 10px;
}
.toast__close:hover { opacity: 1; }

/* Card coordonnées ANCIENNE — gardée pour compat (élément retiré du HTML mais styles
   conservés au cas où) */
.contact-bento__info-card {
  position: relative;
  margin-top: 18px;
  background: linear-gradient(140deg, rgba(12, 10, 37, 0.96) 0%, rgba(28, 18, 80, 0.94) 100%);
  border-radius: 22px;
  padding: 30px 34px 28px;
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.10);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
/* Halo cyan subtil en coin */
.contact-bento__info-card::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -20%;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(11, 219, 226, 0.3), transparent 70%);
  pointer-events: none;
  z-index: -1;
}
.contact-bento__info-card::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(116, 44, 253, 0.25), transparent 70%);
  pointer-events: none;
  z-index: -1;
}
.contact-bento__info-head {
  padding-bottom: 14px;
  margin-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.contact-bento__info-kicker {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 4px;
}
.contact-bento__info-head h3 {
  font-size: 22px;
  font-weight: 800;
  background: linear-gradient(135deg, #ffffff 0%, #0bdbe2 60%, #9c5dff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.02em;
}
.contact-bento__info-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 13.5px;
  line-height: 1.5;
}
.contact-bento__info-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: rgba(255, 255, 255, 0.92);
}
.contact-bento__info-list svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--cyan);
}
.contact-bento__info-list a {
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
  transition: color .2s var(--ease);
}
.contact-bento__info-list a:hover { color: var(--cyan); }

/* === Formulaire à droite (gradient bleu→mint) === */
.contact-bento__form {
  background: var(--grad-hero);
  border-radius: var(--radius-lg);
  padding: 44px 40px;
  color: #fff;
  position: relative;
  overflow: hidden;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.5);
}
.contact-bento__form::before {
  content: '';
  position: absolute;
  top: -40%; right: -20%;
  width: 360px; height: 360px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  pointer-events: none;
}
.contact-bento__form::after {
  content: '';
  position: absolute;
  bottom: -30%; left: -15%;
  width: 280px; height: 280px;
  border-radius: 50%;
  background: rgba(11,219,226,0.16);
  pointer-events: none;
}
.contact-bento__form > * { position: relative; z-index: 1; }

.contact-bento__form-title {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 24px;
}
.contact-bento__form-sub {
  font-size: 14px;
  color: rgba(255,255,255,0.85);
  margin-bottom: 24px;
}

/* ANCIEN LAYOUT (gardé pour compat éventuelle) -------------- */
.contact__side {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 20px;
  min-height: 0;
}
.contact__info {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 36px 32px;
  box-shadow: var(--shadow-card);
}

/* Bloc carte interactive */
.contact__map {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #eef0f6;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border);
  min-height: 280px;
  isolation: isolate;
}
.contact__map-canvas {
  width: 100%;
  height: 100%;
  min-height: 280px;
  z-index: 1;
  border: 0;
  display: block;
}
iframe.contact__map-canvas {
  background: #eef0f6;
}
.contact__map-link {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 1000;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: #fff;
  color: var(--purple);
  border-radius: var(--radius-pill);
  font-size: 12.5px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 6px 16px rgba(15,14,40,0.18);
  transition: all .25s var(--ease);
  border: 1px solid rgba(0,0,0,0.06);
}
.contact__map-link:hover {
  color: #fff;
  background: var(--purple);
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(116,44,253,0.4);
}

/* Marker brandé : cercle dégradé + halo pulsé */
.geniem-pin { position: relative; }
.geniem-pin__pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--purple);
  opacity: .35;
  animation: pinPulse 2s ease-out infinite;
}
.geniem-pin__dot {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 30px; height: 30px;
  border-radius: 50%;
  background: linear-gradient(135deg, #742CFD 0%, #0bdbe2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 900;
  font-size: 13px;
  border: 3px solid #fff;
  box-shadow: 0 4px 14px rgba(116,44,253,0.6);
  font-family: var(--font);
  letter-spacing: 0;
}
@keyframes pinPulse {
  0%   { transform: scale(.6); opacity: .6; }
  100% { transform: scale(1.4); opacity: 0; }
}

/* Popup Leaflet — restyle */
.leaflet-popup-content-wrapper {
  border-radius: 12px !important;
  box-shadow: 0 14px 30px rgba(15,14,40,0.18) !important;
  border: 1px solid var(--border) !important;
}
.leaflet-popup-content {
  margin: 14px 18px !important;
  font-family: var(--font) !important;
  font-size: 13.5px !important;
  line-height: 1.55 !important;
  color: var(--text) !important;
}
.leaflet-popup-tip { box-shadow: 0 4px 8px rgba(15,14,40,0.08) !important; }
.geniem-popup strong {
  display: inline-block;
  margin-bottom: 6px;
  font-size: 15px;
  background: var(--grad-purple);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.geniem-popup a {
  color: var(--cyan);
  font-weight: 600;
  text-decoration: none;
}
.geniem-popup a:hover { color: var(--purple); }

/* Leaflet controls : adapter à la charte */
.leaflet-control-zoom a {
  background: #fff !important;
  color: var(--text) !important;
  border: 1px solid var(--border) !important;
  font-weight: 700 !important;
}
.leaflet-control-zoom a:hover { color: var(--cyan) !important; }
.leaflet-control-attribution {
  background: rgba(255,255,255,0.85) !important;
  font-size: 10px !important;
  padding: 3px 8px !important;
}
.contact__list { display: flex; flex-direction: column; gap: 24px; margin-top: 8px; }
.contact__list li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  font-size: 15px;
  color: var(--text);
  line-height: 1.55;
}
.contact__list a { color: var(--text); }
.contact__list a:hover { color: var(--cyan); }
.contact__ico {
  flex-shrink: 0;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(11,219,226,0.16), rgba(41,196,169,0.12));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
}
.contact__ico svg { width: 20px; height: 20px; }

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,0.7);
  padding: 80px 0 0;
}
.footer__inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.2fr;
  gap: 60px;
  padding-bottom: 56px;
}
.footer__logo {
  display: inline-block;
  text-decoration: none;
}
.footer__logo-text {
  font-size: 38px;
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
  color: #fff;
}
.footer__logo-m {
  background: linear-gradient(135deg, #9c5dff 0%, #742CFD 60%, #0bdbe2 130%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.footer__tag {
  margin-top: 16px;
  font-size: 15px;
  color: rgba(255,255,255,0.55);
  max-width: 320px;
  line-height: 1.5;
}
.footer h4 {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #fff;
  margin-bottom: 20px;
}
.footer__nav { display: flex; flex-direction: column; gap: 10px; }
.footer__nav a { font-size: 15px; color: rgba(255,255,255,0.6); }
.footer__nav a:hover { color: var(--cyan); }
.footer__contact p { font-size: 14.5px; line-height: 1.7; margin-bottom: 4px; }
.footer__contact a { color: rgba(255,255,255,0.7); }
.footer__contact a:hover { color: var(--cyan); }
.footer__bottom {
  padding: 22px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: rgba(255,255,255,0.45);
}
.footer__credit {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  font-weight: 600;
  background: linear-gradient(135deg, #0bdbe2, #9c5dff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: opacity .2s var(--ease);
}
.footer__credit:hover { opacity: .8; }

/* =========================================================
   ANIMATIONS
   ========================================================= */
:root {
  --ease-soft: cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reveal au scroll — fade doux discret */
.reveal {
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity 0.7s var(--ease-soft),
    transform 0.7s var(--ease-soft);
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Helper screenshot */
.no-anim .hero { min-height: auto !important; padding-bottom: 80px; }
.no-anim .hero__scroll { display: none; }

/* =========================================================
   RESPONSIVE — Desktop > Laptop > Tablet > Mobile
   ========================================================= */

/* --- Grand laptop : 1280→1100 px : juste resserrer un peu --- */
@media (max-width: 1280px) {
  :root { --container: 1100px; }
  .section { padding: 100px 0; }
}

/* --- Laptop : 1100→960 px : compétences et réalisations 1-col --- */
@media (max-width: 1100px) {
  .container { padding: 0 24px; }
  .competences { grid-template-columns: 1fr; gap: 48px; }
  .clients { grid-template-columns: repeat(4, 1fr); }
  .realisations__kpis--bottom { grid-template-columns: repeat(4, 1fr); }
  .sectors { grid-template-columns: repeat(5, 1fr); }
  .footer__inner { grid-template-columns: 1.4fr 1fr 1.1fr; gap: 48px; }
  .hero--solo .hero__left { max-width: 100%; }
}

/* --- Tablet : 960→900 px : preview avant burger --- */
@media (max-width: 960px) {
  .nav { gap: 0; }
  .nav__link { padding: 9px 10px; font-size: 13.5px; }
  .header__phone { padding: 8px 12px; font-size: 13px; }
  .sectors { grid-template-columns: repeat(4, 1fr); gap: 14px; }
  .clients { grid-template-columns: repeat(4, 1fr); }
  /* Expertise : on garde 3 colonnes égales tant qu'il y a de la place, sinon 1 col */
  .expertise-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  .jobs { grid-template-columns: repeat(2, 1fr); }
  .footer__inner { grid-template-columns: 1fr 1fr; gap: 40px; }
}

/* Empêcher tout débordement horizontal au niveau racine sans casser position:fixed */
@media (max-width: 900px) {
  body { max-width: 100vw; overflow-x: clip; }
  .hero, .section, .cta-banner, .page-hero, .footer { max-width: 100vw; overflow-x: clip; }
  .container { max-width: 100%; }
}

/* --- Tablet/Mobile large : ≤900 px : nav devient burger --- */
@media (max-width: 900px) {
  :root { --header-h: 68px; }
  .container { padding: 0 20px; }

  /* Header */
  .nav--desktop { display: none; }
  .burger { display: block; }
  .header__phone span { display: none; }
  .header__phone {
    padding: 0;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    justify-content: center;
  }
  .brand img { height: 32px; }

  /* Sections */
  .section { padding: 64px 0; }
  .section__head { margin-bottom: 36px; }
  .section__lead { font-size: 15px; }

  /* Hero */
  .hero { min-height: auto; padding: calc(var(--header-h) + 56px) 0 60px; }
  .hero__scroll { display: none; }
  .hero__kicker { font-size: 12px; letter-spacing: 0.14em; margin-bottom: 14px; }
  .hero__title { margin-top: 18px; }
  .hero__title-2 { margin-top: 14px; }
  .hero__cta { margin-top: 26px; gap: 10px; }

  /* Expertises */
  .expertise-grid { grid-template-columns: 1fr; gap: 20px; }
  .expertise-grid .exp-card:last-child { max-width: 100%; }
  .exp-card { min-height: auto; padding: 32px 24px 28px; }

  /* Compétences */
  .tags { gap: 6px; }
  .tag { padding: 7px 12px; font-size: 12.5px; }
  .competences__group h3 { font-size: 12px; }
  .competences__media { aspect-ratio: 16/10; }

  /* Compétences NEW responsive */
  .comp-new__tabs { grid-template-columns: 1fr; gap: 10px; margin-bottom: 28px; }
  .comp-tab { padding: 14px 16px; gap: 12px; }
  .comp-tab__num { font-size: 24px; }
  .comp-tab__label { font-size: 15px; }
  .comp-tab__count { font-size: 11.5px; }
  .comp-new__body { grid-template-columns: 1fr; gap: 24px; }
  .comp-new__panels { padding: 26px 22px; min-height: 0; }
  .comp-new__media { position: static; }
  .comp-group__title { font-size: 10.5px; }
  .comp-tag { padding: 7px 12px; font-size: 12.5px; }

  /* Benefits */
  .benefits { margin-top: 56px; padding-top: 40px; }
  .benefits__grid { grid-template-columns: 1fr; gap: 14px; }
  .benefit { padding: 24px 22px; }
  .benefit__num { font-size: 36px; margin-bottom: 10px; }
  .benefits__title { font-size: 18px; margin-bottom: 24px; }
  .benefits__foot { font-size: 16px; }

  /* Sectors */
  .sectors {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .sector { aspect-ratio: 5/4; }
  .sector h4 { font-size: 13px; line-height: 1.25; }

  /* CTA banner */
  .cta-banner { padding: 60px 0; }
  .cta-banner__inner { flex-direction: column; align-items: flex-start; text-align: left; gap: 20px; }
  .cta-banner__sub { font-size: 15px; }
  .cta-banner__tag { font-size: 11px; padding: 5px 12px; }

  /* Clients */
  .clients {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
  }
  .client { padding: 14px; aspect-ratio: 4/3; }
  .realisations__kpis--bottom {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px 16px;
    margin-top: 44px;
    padding-top: 40px;
  }
  .realisations__kpis--bottom strong { font-size: 32px; }
  .realisations__kpis--bottom span { font-size: 13px; }

  /* Jobs */
  .jobs { grid-template-columns: 1fr; gap: 18px; }
  .job { padding: 28px 24px; }
  .job__title { font-size: 19px; min-height: 0; }

  /* Filtres (page offres) */
  .filters { gap: 8px; }
  .filter { padding: 8px 14px; font-size: 13px; }

  /* Contact */
  .contact { grid-template-columns: 1fr; gap: 20px; }
  .contact__form-wrap,
  .contact__info { padding: 28px 22px; }
  .contact__title { font-size: 22px; margin-bottom: 18px; }
  .contact__side { gap: 16px; }
  .contact__map { min-height: 240px; }
  .contact__map-canvas { min-height: 240px; }
  .contact__map-link { top: 10px; right: 10px; padding: 6px 11px; font-size: 11.5px; }

  /* Nouveau bento contact */
  .contact-section { padding: 70px 0 80px; }
  .contact-bento { grid-template-columns: 1fr; gap: 20px; }
  .contact-bento__map { height: 320px; }

  /* Contact strip : 2 cols sur tablette */
  .contact-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 0; padding: 22px 10px; margin-top: 24px; }
  .contact-strip__item { padding: 12px 18px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .contact-strip__item:nth-last-child(-n+2) { border-bottom: 0; }
  .contact-strip__item:nth-child(odd) { border-right: 1px solid rgba(255,255,255,0.08); }

  /* Toast plus compact */
  .toast { top: 16px; min-width: 280px; max-width: calc(100vw - 32px); padding: 14px 50px 14px 18px; font-size: 14px; }
  .toast__icon { width: 30px; height: 30px; font-size: 17px; }
  .toast__title { font-size: 14.5px; }
  .contact-bento__info-card {
    position: static;
    margin-top: 16px;
    max-width: none;
    padding: 22px 22px 20px;
    border-radius: var(--radius-lg);
  }
  .contact-bento__info-head h3 { font-size: 19px; }
  .contact-bento__info-list { font-size: 13px; gap: 9px; }
  .contact-bento__form { padding: 32px 26px; }
  .contact-bento__form-title { font-size: 24px; }

  /* Cards Expertises : hauteur égale sur mobile single-column */
  .exp-card { min-height: 420px; }

  /* Logos clients plus grands sur tablet */
  .clients { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
  .client { padding: 20px; }

  /* Page hero (offres) */
  .page-hero { padding: calc(var(--header-h) + 56px) 0 60px; }
  .page-hero__sub { font-size: 15px; }

  /* Footer */
  .footer { padding: 60px 0 0; }
  .footer__inner { grid-template-columns: 1fr; gap: 32px; padding-bottom: 40px; }
  .footer__bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
    padding: 18px 0;
  }
  .footer__logo-text { font-size: 32px; }
  .footer h4 { margin-bottom: 14px; }
}

/* --- Mobile : 520→400 px : encore plus compact, boutons full-width --- */
@media (max-width: 520px) {
  .container { padding: 0 16px; }

  .hero__title { line-height: 1.08; }
  .hero__cta { flex-direction: column; align-items: stretch; }
  .hero__cta .btn { width: 100%; padding: 14px 22px; }

  .btn--lg { padding: 14px 24px; font-size: 15px; }

  .exp-card__title { font-size: 24px; }
  .exp-card__list li { font-size: 14px; }

  .job__head { flex-wrap: wrap; gap: 8px; }

  .cta-banner__inner .btn { width: 100%; }

  .clients { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .client { padding: 18px; }
  .realisations__kpis--bottom strong { font-size: 28px; }
  .sector h4 { font-size: 12px; }

  /* Contact bento très petit mobile : map encore plus compacte */
  .contact-bento__map { height: 260px; }

  /* Contact strip : 1 col empilée */
  .contact-strip { grid-template-columns: 1fr; padding: 18px 6px; }
  .contact-strip__item { border-right: 0 !important; border-bottom: 1px solid rgba(255,255,255,0.08); padding: 12px 16px; }
  .contact-strip__item:last-child { border-bottom: 0; }
  .contact-bento__info-card {
    margin-top: 14px;
    padding: 18px 20px 16px;
    border-radius: 16px;
  }
  .contact-bento__info-head h3 { font-size: 18px; }
  .contact-bento__info-list { font-size: 12.5px; gap: 8px; }
  .exp-card { min-height: 380px; }
  .contact-bento__form { padding: 26px 20px; }
}

/* --- Très petit : <380 px : safety --- */
@media (max-width: 380px) {
  .container { padding: 0 14px; }
  .sectors { gap: 10px; }
  .clients { gap: 10px; }
  .nav.is-open { padding: 20px 16px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}
