/* ================================================================
   BOGENTEC — styles.css v4  Industriel Élégant
   ================================================================ */

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

/* ── Variables ─────────────────────────────────────────────────── */
:root {
  --bg:       #0B1120;
  --bg2:      #111827;
  --blue:     #1D4ED8;
  --blue-v:   #3B82F6;
  --blue-lt:  #BFDBFE;
  --white:    #FFFFFF;
  --gray:     #94A3B8;
  --light:    #F1F5F9;
  --fh: 'Barlow Condensed', sans-serif;
  --fb: 'Inter', sans-serif;
  --r: 6px;
  --t: 0.3s ease;
}

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

/* ── Typography ───────────────────────────────────────────────── */
h1 { font-family: var(--fh); font-size: clamp(2.4rem, 4.5vw, 3.5rem); font-weight: 700; line-height: 1.1; }
h2 { font-family: var(--fh); font-size: clamp(1.8rem, 3vw, 2.2rem); font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
h3 { font-family: var(--fh); font-size: 1.35rem; font-weight: 600; }
p  { font-size: 1.05rem; line-height: 1.75; }

.section-label {
  display: inline-block;
  font-size: .73rem; font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--blue-v);
  margin-bottom: 1rem;
}
.section-title { margin-bottom: .5rem; }
.section-title::after {
  content: '';
  display: block;
  width: 60px; height: 3px;
  background: var(--blue-v);
  margin-top: .6rem;
}
.section-title.tc::after { margin: .6rem auto 0; }

/* ── Layout ───────────────────────────────────────────────────── */
.container { width: min(1200px, 92vw); margin: 0 auto; }
.section     { padding: 100px 0; }
.section-lt  { background: var(--light); color: var(--bg); }
.section-dk  { background: var(--bg);    color: var(--white); }
.section-dk2 { background: var(--bg2);   color: var(--white); }

/* ── Buttons ──────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .85rem 2rem;
  font-family: var(--fb); font-size: .88rem; font-weight: 600;
  letter-spacing: .07em; text-transform: uppercase;
  border-radius: var(--r);
  position: relative; overflow: hidden;
  transition: color var(--t), border-color var(--t), transform var(--t);
  white-space: nowrap; cursor: pointer;
}
.btn::before {
  content: '';
  position: absolute; left: 0; top: 0;
  width: 0; height: 100%;
  background: var(--blue-v);
  transition: width var(--t);
  z-index: 0;
}
.btn:hover::before { width: 100%; }
.btn:hover { transform: translateY(-2px); }
.btn span, .btn svg { position: relative; z-index: 1; }

.btn-primary { background: var(--blue); color: var(--white); border: 2px solid var(--blue); }
.btn-primary:hover { border-color: var(--blue-v); }
.btn-outline  { background: transparent; color: var(--white); border: 2px solid var(--blue-lt); }
.btn-outline:hover  { border-color: var(--blue-v); }

/* ── Progress bar ─────────────────────────────────────────────── */
#progress-bar {
  position: fixed; top: 0; left: 0; z-index: 9999;
  height: 3px; width: 0;
  background: var(--blue-v);
  transition: width .1s linear;
  pointer-events: none;
}

/* ── Navbar ───────────────────────────────────────────────────── */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(11,17,32,.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: background var(--t), box-shadow var(--t);
}
#navbar:not(.scrolled) {
  background: linear-gradient(
    180deg,
    rgba(11,17,32,.65) 0%,
    rgba(11,17,32,0) 100%
  ) !important;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
#navbar.scrolled {
  background: rgba(11,17,32,.97);
  box-shadow: 0 2px 20px rgba(29,78,216,.15);
}
/* Motif de points discret dans la navbar non scrollée */
#navbar::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 20px 20px;
  pointer-events: none;
  opacity: 0;
  transition: opacity .3s;
  z-index: 0;
}
#navbar:not(.scrolled)::before { opacity: 1; }
/* Ombre bleue sur logo quand scrollé */
#navbar.scrolled .nav-logo img {
  filter: brightness(1) drop-shadow(0 2px 8px rgba(29,78,216,.25));
}
.nav-container {
  display: flex; align-items: center; justify-content: space-between;
  height: 80px; padding: 0 clamp(1.5rem, 4vw, 3rem);
  max-width: 1400px; margin: 0 auto;
  position: relative; z-index: 1;
}

/* Logo crop — PNG 4000×4000 avec ~75% espace transparent */
.nav-logo {
  display: block; overflow: hidden;
  width: 145px; height: 38px;
  flex-shrink: 0; position: relative;
  background: none; background-color: transparent;
}
.nav-logo img {
  position: absolute;
  height: 210px; width: auto; max-width: none;
  top: -90px; left: -36px;
  background: none; background-color: transparent;
}
/* Séparateur après le logo */
.nav-logo::after {
  content: '';
  display: inline-block;
  width: 1px; height: 24px;
  background: rgba(255,255,255,.2);
  margin-left: 1.25rem;
  vertical-align: middle;
  position: absolute; right: -1.25rem; top: 50%; transform: translateY(-50%);
}
#navbar.scrolled .nav-logo::after { background: rgba(29,78,216,.3); }

.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-links a {
  font-size: .79rem; font-weight: 500;
  color: rgba(255,255,255,.8);
  letter-spacing: .1em; text-transform: uppercase;
  transition: color var(--t); position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0; right: 0;
  height: 1px; background: var(--blue-v);
  transform: scaleX(0); transform-origin: left; transition: transform var(--t);
}
.nav-links a:hover,
.nav-links a.active { color: var(--white); }
.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); }
.burger { display: none; flex-direction: column; gap: 5px; padding: 4px; }
.burger span { display: block; width: 24px; height: 1.5px; background: var(--white); transition: var(--t); }

/* ── SPA page transition ──────────────────────────────────────── */
#page-content {
  transition: opacity .22s ease, transform .22s ease;
}

/* ── Sub-page hero banner ─────────────────────────────────────── */
.page-hero {
  background-color: var(--bg);
  background-size: cover;
  background-position: center;
  min-height: 320px;
  padding: 140px 0 80px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(255,255,255,.06);
  position: relative; overflow: hidden;
}
.page-hero .container { position: relative; z-index: 1; }
/* Overlay sombre sur la photo de fond */
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: rgba(11,17,32,.78);
  z-index: 0;
  pointer-events: none;
}
/* Ligne animée bas */
.page-hero::after {
  content: '';
  position: absolute; bottom: 0; left: 0;
  height: 2px; width: 0;
  background: linear-gradient(to right, var(--blue), var(--blue-v), transparent);
  animation: heroLineExpand .9s .25s ease forwards;
}
@keyframes heroOrbIn    { to { opacity: 1; } }
@keyframes heroLineExpand { to { width: 100%; } }

/* Entrée des textes */
.page-hero .section-label { margin-bottom: .75rem; animation: phSlideUp .5s .05s ease both; }
.page-hero h1 {
  font-size: clamp(2.2rem, 3.5vw, 3.2rem);
  font-weight: 700;
  margin-bottom: .75rem;
  animation: phSlideUp .55s .12s ease both;
}
.page-hero > .container > p { color: var(--gray); max-width: 580px; animation: phSlideUp .6s .2s ease both; }
.page-hero p { color: var(--gray); max-width: 580px; }
@keyframes phSlideUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Card link ────────────────────────────────────────────────── */
.card-link {
  display: inline-block;
  margin-top: 1.25rem;
  font-size: .8rem; font-weight: 600;
  letter-spacing: .07em; text-transform: uppercase;
  color: var(--blue-v);
  transition: color var(--t);
}
.card-link:hover { color: var(--blue); }

/* ── Hero ─────────────────────────────────────────────────────── */
.hero {
  position: relative; height: 100vh; min-height: 600px;
  display: flex; align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background: url('images/agro_alimentaire.png') center/cover no-repeat;
  transform: scale(1.1);
  will-change: transform;
}
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to right, rgba(11,17,32,.88) 0%, rgba(11,17,32,.55) 100%);
}
#particles-canvas {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
}
.hero-content {
  position: relative; z-index: 3;
  padding: 80px 0 0;
}
.hero-label {
  font-size: .78rem; font-weight: 600;
  letter-spacing: 3px; text-transform: uppercase;
  color: var(--blue-v); margin-bottom: 1.25rem;
}
.hero h1 { color: var(--white); margin-bottom: 1.25rem; }
.hero h1 em { font-style: italic; color: var(--blue-v); }
.hero-sub {
  color: var(--gray); font-size: 1.2rem;
  margin-bottom: 2.5rem; max-width: 560px;
}
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 4rem; }

.hero-stats {
  display: flex; align-items: stretch; gap: 0;
  border: 1px solid rgba(29,78,216,.35);
  border-radius: var(--r);
  background: rgba(11,17,32,.6);
  backdrop-filter: blur(8px);
  max-width: 680px; overflow: hidden;
}
.stat { flex: 1; padding: 1.25rem 1rem; text-align: center; }
.stat-n {
  display: block;
  font-family: var(--fh); font-size: 1.75rem; font-weight: 700;
  color: var(--white); line-height: 1;
}
.stat-l {
  display: block; font-size: .7rem;
  color: var(--gray); margin-top: .3rem; letter-spacing: .04em;
}
.stat-sep { width: 1px; background: rgba(29,78,216,.6); flex-shrink: 0; }

/* ── Services cards ───────────────────────────────────────────── */
.section-intro { max-width: 560px; margin-top: 1rem; margin-bottom: 0; }
.section-lt .section-intro { color: #475569; }

.cards-grid {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 2rem; margin-top: 3.5rem;
}
.card {
  background: var(--white); border-radius: 8px;
  box-shadow: 0 4px 24px rgba(29,78,216,.07);
  overflow: hidden; position: relative;
  transition: transform var(--t), box-shadow var(--t);
  display: flex; flex-direction: column;
}
.card::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  height: 3px; width: 0;
  background: var(--blue-v);
  transition: width .4s ease;
}
.card:hover { transform: translateY(-8px); box-shadow: 0 12px 40px rgba(29,78,216,.15); }
.card:hover::after { width: 100%; }
.card-img { height: 220px; overflow: hidden; flex-shrink: 0; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.card:hover .card-img img { transform: scale(1.05); }
.card-body { padding: 1.75rem; flex: 1; display: flex; flex-direction: column; }
.card-body h3 { color: var(--bg); margin-bottom: .75rem; font-size: 1.1rem; }
.card-body > p { color: #475569; font-size: .95rem; }
/* Listes dans les cartes */
.card-list { margin: .85rem 0 1rem; display: flex; flex-direction: column; gap: .45rem; }
.card-list li {
  display: flex; align-items: flex-start; gap: .55rem;
  font-size: .88rem; color: #475569; line-height: 1.5;
}
.card-list li::before {
  content: '';
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--blue); flex-shrink: 0; margin-top: .38em;
}
/* Encart chiffre */
.card-encart {
  background: #EFF6FF; border-left: 3px solid #1D4ED8;
  padding: .85rem 1rem; margin-top: auto; padding-top: .85rem;
  border-radius: 0 4px 4px 0;
  font-style: italic; font-size: .84rem; color: #1e40af;
  display: flex; gap: .5rem; align-items: flex-start; line-height: 1.6;
}
.card-encart .info-icon { flex-shrink: 0; font-style: normal; font-size: 1rem; margin-top: -.05rem; }

/* ── Chiffres clés ────────────────────────────────────────────── */
.chiffres-grid {
  display: grid; grid-template-columns: repeat(3,1fr);
  border: 1px solid rgba(29,78,216,.2);
  border-radius: 8px; overflow: hidden;
  margin-top: 3rem;
}
.chiffre-item {
  padding: 2.5rem 1.5rem; text-align: center;
  border-right: 1px solid rgba(29,78,216,.2);
  opacity: 0; transform: scale(.82) translateY(12px);
  transition: opacity .5s ease-out, transform .5s ease-out;
}
.chiffre-item:last-child { border-right: none; }
.chiffre-item.visible   { opacity: 1; transform: scale(1) translateY(0); }
.chiffre-item.d1 { transition-delay: 0s; }
.chiffre-item.d2 { transition-delay: .15s; }
.chiffre-item.d3 { transition-delay: .30s; }
.chiffre-item.d4 { transition-delay: .45s; }
.chiffre-n {
  display: block; font-family: var(--fh);
  font-size: 3.2rem; font-weight: 700;
  color: var(--blue-v); line-height: 1; margin-bottom: .5rem;
}
.chiffre-label  { display: block; color: var(--white); font-size: .95rem; font-weight: 500; margin-bottom: .35rem; }
.chiffre-detail,
.chiffre-desc   { color: var(--gray); font-size: .8rem; line-height: 1.6; }

/* ── Process ──────────────────────────────────────────────────── */
.process-wrap {
  position: relative; margin-top: 3.5rem;
}
.process-connector {
  position: absolute; top: 32px; left: 0; right: 0;
  height: 2px; background: rgba(29,78,216,.3);
  overflow: hidden;
}
.process-connector::after {
  content: '';
  display: block; height: 100%;
  background: var(--blue-v);
  width: 0;
  transition: width 1.4s cubic-bezier(.4,0,.2,1);
}
.process-connector.animate::after { width: 100%; }

.process-grid {
  display: grid; grid-template-columns: repeat(4,1fr); gap: 2rem;
  position: relative; z-index: 1;
}
.process-step { }
.step-num {
  font-family: var(--fh); font-size: 4.5rem; font-weight: 700;
  color: var(--blue); opacity: .3; line-height: 1;
  margin-bottom: -1.2rem;
}
.step-dot {
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--blue-v);
  box-shadow: 0 0 14px rgba(59,130,246,.5);
  margin-bottom: 1.25rem;
}
.process-step h3 { color: var(--white); margin-bottom: .5rem; font-size: 1.05rem; }
.process-step p  { color: var(--gray); font-size: .9rem; }

/* ── Split — Pourquoi Bogentec ─────────────────────────────────── */
.split-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 5rem; align-items: center;
}
.split-photo img {
  width: 100%; border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0,0,0,.15), 0 8px 25px rgba(0,0,0,.10);
  object-fit: cover;
  background-color: #f8fafc;
  border: 1px solid #e2e8f0;
}
.split-photo figcaption {
  font-style: italic; font-size: .84rem;
  color: #64748B; margin-top: .75rem; text-align: center;
}
.section-lt .split-text h2 { }
.section-lt .split-text p  { color: #475569; }
.features-list { display: flex; flex-direction: column; gap: 1.25rem; margin-top: 2rem; }
.feature-item { display: flex; align-items: flex-start; gap: 1rem; }
.feature-icon {
  width: 36px; height: 36px;
  background: rgba(29,78,216,.12); border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; color: var(--blue); margin-top: .1rem;
}
.feature-text { flex: 1; }
.feature-text strong { display: block; color: #1e293b; font-size: .95rem; font-weight: 600; margin-bottom: .25rem; }
.feature-text span   { color: #64748B; font-size: .88rem; line-height: 1.6; }
/* Bloc "Sans intermédiaire" */
.no-sub {
  background: #EFF6FF; border-left: 3px solid var(--blue);
  padding: 1rem 1.25rem; margin-top: 1.75rem;
  border-radius: 0 6px 6px 0;
}
.no-sub strong { display: block; color: #1D4ED8; font-size: .88rem; font-weight: 600; margin-bottom: .35rem; letter-spacing: .05em; text-transform: uppercase; }
.no-sub p { color: #1e40af; font-size: .9rem; line-height: 1.7; margin: 0; }

/* ── Sectors grid ─────────────────────────────────────────────── */
.sectors-grid {
  display: grid; grid-template-columns: repeat(2,1fr);
  gap: 1.5rem; margin-top: 3.5rem;
}
.sector-tile {
  position: relative; height: 300px;
  border-radius: 8px; overflow: hidden;
  border: 1px solid transparent;
  box-shadow: 0 4px 20px rgba(0,0,0,.2);
  transition: border-color var(--t), transform var(--t), box-shadow var(--t);
  cursor: default;
}
.sector-tile:hover {
  border-color: var(--blue-v);
  transform: translateY(-5px);
  box-shadow: 0 16px 44px rgba(29,78,216,.28);
}
.tile-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transition: transform .5s ease;
}
.sector-tile:hover .tile-bg { transform: scale(1.08); }
/* Glow border interne au survol */
.sector-tile::after {
  content: '';
  position: absolute; inset: 0;
  border-radius: 8px;
  box-shadow: inset 0 0 0 2px var(--blue-v);
  opacity: 0;
  transition: opacity var(--t);
  pointer-events: none; z-index: 5;
}
.sector-tile:hover::after { opacity: 1; }
.tile-bg-solid { position: absolute; inset: 0; background: var(--bg2); }
.tile-overlay {
  position: absolute; inset: 0;
  background: rgba(11,17,32,.62);
  transition: background var(--t);
}
.sector-tile:hover .tile-overlay { background: rgba(11,17,32,.38); }
.tile-content {
  position: absolute; inset: 0; z-index: 2;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 1rem;
}
.tile-icon {
  width: 56px; height: 56px;
  background: rgba(29,78,216,.2);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--blue-v);
  border: 1px solid rgba(59,130,246,.3);
}
.tile-content h3 { color: var(--white); font-size: 1.2rem; text-align: center; }
.tile-desc {
  font-size: .82rem; color: rgba(255,255,255,.8);
  text-align: center; max-width: 82%; line-height: 1.6;
  opacity: 0; transform: translateY(18px);
  transition: opacity .3s ease, transform .3s ease;
}
.sector-tile:hover .tile-desc { opacity: 1; transform: translateY(0); }

/* ── Zone d'intervention ──────────────────────────────────────── */
.zone-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 4rem; align-items: center;
}
.zone-map iframe { border-radius: 8px; display: block; }
.zone-badges { display: flex; flex-direction: column; gap: 1rem; margin-top: 2rem; }
.zone-badge {
  display: flex; align-items: flex-start; gap: .75rem;
  padding: 1rem 1.25rem;
  background-color: #1e3a5f;
  border: 1px solid #3B82F6;
  border-radius: 8px;
  color: #ffffff;
}
.badge-dot {
  width: 10px; height: 10px; min-width: 10px; border-radius: 50%;
  background-color: #3B82F6; flex-shrink: 0; margin-top: 4px;
}
.zone-badge strong { color: #ffffff; font-size: 1rem; display: block; margin-bottom: .2rem; }
.zone-badge span   { color: #93c5fd; font-size: .85rem; }

/* ── Contact ──────────────────────────────────────────────────── */
.contact-grid {
  display: grid; grid-template-columns: 1.4fr 1fr;
  gap: 5rem; align-items: start;
}
.form { display: flex; flex-direction: column; gap: 1rem; margin-top: 2rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: .4rem; }
.form-group label {
  font-size: .76rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase; color: var(--gray);
}
.form-group input,
.form-group select,
.form-group textarea {
  background: var(--bg2);
  border: 1px solid rgba(29,78,216,.3);
  border-radius: var(--r);
  padding: .75rem 1rem;
  color: var(--white);
  font-family: var(--fb); font-size: .95rem;
  outline: none;
  transition: border-color var(--t), box-shadow var(--t);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: #4B5563; }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(29,78,216,.15);
}
.form-group select option { background: var(--bg2); }

.btn-submit {
  display: inline-flex; align-items: center; gap: .6rem;
  background: var(--blue); color: var(--white);
  border: 2px solid var(--blue); border-radius: var(--r);
  padding: .85rem 2rem;
  font-family: var(--fb); font-size: .88rem; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase;
  cursor: pointer;
  position: relative; overflow: hidden;
  transition: border-color var(--t), transform var(--t);
}
.btn-submit::before {
  content: '';
  position: absolute; left: 0; top: 0;
  width: 0; height: 100%;
  background: var(--blue-v);
  transition: width var(--t); z-index: 0;
}
.btn-submit:hover::before { width: 100%; }
.btn-submit:hover { border-color: var(--blue-v); transform: translateY(-2px); }
.btn-submit span, .btn-submit svg { position: relative; z-index: 1; }
.form-note { font-size: .8rem; color: var(--gray); margin-top: .5rem; }

.form-success {
  display: none;
  flex-direction: column; align-items: center; text-align: center;
  padding: 3rem 2rem;
  background: var(--bg2);
  border: 1px solid rgba(29,78,216,.3);
  border-radius: 8px;
}
.form-success h3 { color: var(--white); margin: .75rem 0 .5rem; }
.form-success p  { color: var(--gray); }

.contact-info { padding-top: .5rem; }
.contact-info > h3 { color: var(--white); margin-bottom: 1.75rem; font-size: 1.3rem; }
.contact-card {
  display: flex; gap: 1rem;
  padding: 1.25rem;
  background: var(--bg2);
  border-radius: 8px; border: 1px solid rgba(29,78,216,.2);
  margin-bottom: 1rem;
}
.cc-icon {
  width: 40px; height: 40px;
  background: rgba(29,78,216,.15); border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  color: var(--blue-v); flex-shrink: 0;
}
.cc-body strong { color: var(--white); display: block; font-size: .88rem; margin-bottom: .4rem; }
.cc-body a { color: var(--gray); font-size: .86rem; display: block; transition: color var(--t); }
.cc-body a:hover { color: var(--blue-v); }

.astreinte-badge {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .6rem 1rem;
  background: rgba(29,78,216,.1);
  border: 1px solid rgba(29,78,216,.3);
  border-radius: 20px;
  font-size: .82rem; font-weight: 600;
  color: var(--blue-lt); margin-top: 1rem;
}
.green-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #22C55E;
  animation: blink 1.5s infinite;
}
@keyframes blink {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .5; transform: scale(.8); }
}

/* ── Effets dynamiques pages intérieures ─────────────────────── */

/* Cards services — image zoom plus prononcé */
.card:hover .card-img img { transform: scale(1.08); }

/* Team cards */
.team-card {
  transition: transform .3s ease, box-shadow .3s ease,
              border-color .3s ease, background .3s ease;
}
.team-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 18px 44px rgba(29,78,216,.22);
  border-color: rgba(59,130,246,.35);
  background: rgba(255,255,255,.08);
}
.team-avatar { transition: transform .3s ease, background .3s ease; }
.team-card:hover .team-avatar {
  transform: scale(1.12);
  background: rgba(29,78,216,.35);
}

/* Value cards */
.value-card { transition: transform .3s ease, box-shadow .3s ease; }
.value-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 36px rgba(29,78,216,.13);
}
.value-icon { transition: transform .3s ease, background .3s ease; }
.value-card:hover .value-icon {
  transform: scale(1.12) rotate(-6deg);
  background: #DBEAFE;
}

/* Feat items (services page) */
.feat-item { transition: transform .3s ease, background .3s ease, border-color .3s ease; }
.feat-item:hover {
  transform: translateX(6px);
  background: rgba(255,255,255,.07);
  border-color: rgba(59,130,246,.28);
}
.feat-icon { transition: transform .3s ease; }
.feat-item:hover .feat-icon { transform: scale(1.15); }

/* ── Feat grid (services page) ───────────────────────────────── */
.feat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.feat-item {
  display: flex; gap: 1.25rem; align-items: flex-start;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 8px;
  padding: 1.5rem 1.75rem;
}
.feat-icon {
  width: 44px; height: 44px; flex-shrink: 0;
  background: rgba(29,78,216,.18);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: var(--blue-v);
}
.feat-item strong { display: block; font-size: 1rem; font-weight: 600; margin-bottom: .4rem; }
.feat-item p { color: var(--gray); font-size: .9rem; line-height: 1.65; margin: 0; }

/* ── Team grid (a-propos page) ───────────────────────────────── */
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 820px; margin: 0 auto;
}
.team-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 10px;
  padding: 2rem;
  text-align: center;
}
.team-avatar {
  width: 70px; height: 70px;
  background: rgba(29,78,216,.2);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--blue-v);
  margin: 0 auto 1.25rem;
}
.team-card h3 { font-size: 1.3rem; margin-bottom: .3rem; }
.team-role { color: var(--blue-v); font-size: .82rem; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; display: block; margin-bottom: 1rem; }
.team-bio { color: var(--gray); font-size: .9rem; line-height: 1.65; margin-bottom: 1.25rem; }
.team-contacts { display: flex; flex-direction: column; gap: .4rem; }
.team-contacts a { color: var(--blue-lt); font-size: .88rem; transition: color var(--t); }
.team-contacts a:hover { color: var(--white); }

/* ── Values grid (a-propos page) ─────────────────────────────── */
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.value-card {
  background: #fff;
  border-radius: 10px;
  padding: 2rem 1.5rem;
  border-top: 3px solid var(--blue);
}
.value-icon {
  width: 48px; height: 48px;
  background: #EFF6FF;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: var(--blue);
  margin-bottom: 1.25rem;
}
.value-card h3 { color: var(--bg); font-size: 1.1rem; margin-bottom: .6rem; }
.value-card p { color: #475569; font-size: .9rem; line-height: 1.65; margin: 0; }

/* ── Hero entrance animations ─────────────────────────────────── */
.hero-underline {
  display: block; height: 3px;
  background: var(--blue-v);
  width: 0; border-radius: 2px;
  margin-top: .6rem; margin-bottom: 1.25rem;
  transition: width .9s cubic-bezier(.25,.46,.45,.94);
}
.hero-underline.expand { width: 80px; }

.typing-cursor {
  display: inline-block;
  color: var(--blue-v); font-weight: 300;
  animation: cursorBlink .7s step-end infinite;
  margin-left: 1px;
}
@keyframes cursorBlink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

@keyframes statPulse {
  0%, 100% { transform: scale(1); }
  50%       { transform: scale(1.03); }
}
.hero-stats .stat:nth-child(1) { animation: statPulse 3s 0s   ease-in-out infinite; }
.hero-stats .stat:nth-child(3) { animation: statPulse 3s 1s   ease-in-out infinite; }
.hero-stats .stat:nth-child(5) { animation: statPulse 3s 2s   ease-in-out infinite; }

/* ── Footer ───────────────────────────────────────────────────── */
footer {
  background: #080D18;
  padding: 60px 0 30px;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr;
  gap: 4rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.footer-brand .nav-logo { margin-bottom: 1.25rem; }
.footer-brand p { color: var(--gray); font-size: .88rem; max-width: 280px; }
.footer-col h5 {
  color: var(--white); font-size: .78rem; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.footer-col li { margin-bottom: .6rem; }
.footer-col a { color: var(--gray); font-size: .87rem; transition: color var(--t); }
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 1.5rem;
  font-size: .78rem; color: #4B5563;
}

/* ── Animations ───────────────────────────────────────────────── */
.reveal {
  opacity: 0; transform: translateY(30px);
  transition: opacity .6s ease-out, transform .6s ease-out;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal.d1 { transition-delay: .15s; }
.reveal.d2 { transition-delay: .30s; }
.reveal.d3 { transition-delay: .45s; }
.reveal.d4 { transition-delay: .60s; }

.slide-l {
  opacity: 0; transform: translateX(-40px);
  transition: opacity .7s ease-out, transform .7s ease-out;
}
.slide-r {
  opacity: 0; transform: translateX(40px);
  transition: opacity .7s ease-out, transform .7s ease-out;
}
.slide-l.visible,
.slide-r.visible { opacity: 1; transform: translateX(0); }

/* Préserver le hover translateY quand slide-l/r est déjà visible */
.card.slide-l.visible:hover,
.card.slide-r.visible:hover { transform: translateY(-8px); }

/* Delays pour slide-l/r comme pour reveal */
.slide-l.d1, .slide-r.d1 { transition-delay: .15s; }
.slide-l.d2, .slide-r.d2 { transition-delay: .30s; }
.slide-l.d3, .slide-r.d3 { transition-delay: .45s; }
.slide-l.d4, .slide-r.d4 { transition-delay: .60s; }

/* ── Secteur cards (secteurs page) ───────────────────────────── */
.secteurs-list { display: flex; flex-direction: column; gap: 2.5rem; margin-top: 3rem; }
.secteur-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-radius: 12px; overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,.07);
  background: #ffffff;
}
.secteur-card:nth-child(even) .secteur-img { order: 2; }
.secteur-img img {
  width: 100%; height: 300px;
  object-fit: cover; display: block;
}
.secteur-body {
  padding: 2.5rem 2rem;
  display: flex; flex-direction: column; justify-content: center;
}
.secteur-body h3 { color: var(--bg); font-size: 1.4rem; margin-bottom: .75rem; }
.secteur-body p  { color: #475569; font-size: .95rem; line-height: 1.75; margin: 0; }

/* ── Réalisations gallery (services page) ─────────────────────── */
.realisations-grid {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 1rem;
  margin-top: 2.5rem;
}
.realisation-item {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 16/10;
  box-shadow: 0 4px 20px rgba(0,0,0,.12);
}
.realisation-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}
.realisation-item:hover img { transform: scale(1.05); }

/* ── Camionnette — effet intégré ─────────────────────────────── */
.camion-section {
  position: relative;
  align-items: center;
  overflow: visible !important;
  padding-bottom: 60px !important;
}
.camion-photo {
  position: relative;
  z-index: 10;
  margin-right: -100px;
  margin-left: -250px;
  margin-bottom: -40px;
}
.camion-photo img {
  width: 130%;
  max-width: 750px;
  display: block;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  background: transparent !important;
  background-color: transparent !important;
  filter:
    drop-shadow(12px 20px 35px rgba(0,0,0,.35))
    drop-shadow(6px 10px 15px rgba(0,0,0,.20))
    drop-shadow(0px 4px 8px rgba(0,0,0,.15));
  /* Position initiale — JS prend le relai au scroll */
  transform: perspective(900px) translateX(280px) rotateY(-5deg) rotateX(1deg);
  transition: filter .3s ease;
  will-change: transform;
}
/* Texte passe derrière la camionnette */
.split-text.slide-r { position: relative; z-index: 1; }

/* ── Responsive ───────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .cards-grid    { grid-template-columns: repeat(2,1fr); }
  .feat-grid     { grid-template-columns: 1fr; }
  .values-grid   { grid-template-columns: repeat(2,1fr); }
  .process-grid  { grid-template-columns: repeat(2,1fr); }
  .process-connector { display: none; }
}

@media (max-width: 768px) {
  .section { padding: 60px 0; }
  .nav-container { height: 70px; }
  .nav-logo { width: 153px; height: 40px; }
  .nav-logo img { height: 222px; top: -95px; left: -38px; }

  /* ── Menu mobile plein écran ── */
  .nav-links {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background-color: #0B1120 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 2.5rem !important;
    z-index: 9998 !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transition: opacity .3s ease, visibility .3s ease !important;
  }
  .nav-links.open {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: all !important;
  }
  .nav-links a {
    color: #ffffff !important;
    font-size: 1.5rem !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    letter-spacing: .05em !important;
  }
  .burger {
    display: flex;
    position: relative !important;
    z-index: 9999 !important;
  }

  /* ── Stats hero mobile ── */
  .hero-stats {
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 2rem !important;
    width: 100% !important;
    padding: 0 !important;
    overflow: visible !important;
    flex-wrap: nowrap !important;
  }
  .stat {
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    min-width: 0 !important;
    overflow: visible !important;
  }
  .stat-n {
    font-size: 2.4rem !important;
    line-height: 1.1 !important;
    white-space: nowrap !important;
  }
  .stat-l {
    font-size: .85rem !important;
    white-space: normal !important;
    text-align: center !important;
    max-width: 220px !important;
    line-height: 1.4 !important;
    overflow: visible !important;
  }
  .stat-sep { display: none !important; }

  /* ── Hero mobile ── */
  .hero-label { display: none !important; }
  .hero-content {
    padding-top: 260px !important;
    padding-bottom: 60px !important;
  }

  /* ── Remove overflow clipping on hero parents ── */
  .hero         { overflow: visible !important; }
  .hero-stats   { overflow: visible !important; }

  .hero-btns { flex-direction: column; align-items: center; }

  /* ── Camion mobile ── */
  .camion-section {
    flex-direction: column !important;
    padding-bottom: 1rem !important;
    overflow: visible !important;
    gap: 0.5rem !important;
  }
  .camion-photo {
    order: 1 !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
    margin-bottom: 0 !important;
    z-index: 1 !important;
  }
  .camion-photo img {
    width: 90% !important;
    max-width: 90% !important;
    transform: none !important;
    margin: 0 auto !important;
    display: block !important;
    filter:
      drop-shadow(0px 12px 20px rgba(0,0,0,.25))
      drop-shadow(0px 4px 8px rgba(0,0,0,.15)) !important;
  }
  .split-text.slide-r {
    order: 2 !important;
    margin-top: 0 !important;
    padding-top: .5rem !important;
  }

  .cards-grid   { grid-template-columns: 1fr; }
  .chiffres-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .split-grid   { grid-template-columns: 1fr; gap: 3rem; }
  .sectors-grid { grid-template-columns: 1fr; }
  .secteur-card { grid-template-columns: 1fr !important; }
  .secteur-card:nth-child(even) .secteur-img { order: 0 !important; }
  .zone-grid    { grid-template-columns: 1fr; gap: 2.5rem; }
  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
  .form-row     { grid-template-columns: 1fr; }
  .footer-grid  { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-bottom { flex-direction: column; gap: .5rem; text-align: center; }
  .team-grid    { grid-template-columns: 1fr; }
  .values-grid  { grid-template-columns: 1fr; }
  .realisations-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .section   { padding: 70px 0; }
  .hero-sub  { font-size: 1rem; }
}
