/* =========================================================
   BOLODI SERVICES — Feuille de style globale
   Design system + composants partagés + page Accueil
   ========================================================= */

/* ---------- 1. Variables (Design tokens) ---------- */
:root {
  /* Couleurs de marque */
  --green:        #1B5E20;   /* Pôle agro-pastoral */
  --green-dark:   #14471a;
  --navy:         #0F172A;   /* Transport / général */
  --navy-soft:    #1e293b;
  --gold:         #F59E0B;   /* Accents, CTA, survols */
  --gold-dark:    #b45309;   /* Texte/accents doré — contraste AA sur blanc */

  /* Neutres */
  --bg:           #F8FAFC;   /* Fond clair */
  --surface:      #ffffff;
  --text:         #334155;   /* Texte principal */
  --text-soft:    #64748b;
  --text-invert:  #f8fafc;
  --border:       #e2e8f0;

  /* Typo */
  --font-title: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-body:  "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Mesures */
  --container: 1180px;
  --radius:    16px;
  --radius-sm: 10px;
  /* Élévation Soft UI — ombres multi-couches douces */
  --shadow-xs: 0 1px 2px rgba(15, 23, 42, .06);
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .04), 0 2px 6px rgba(15, 23, 42, .05);
  --shadow:    0 2px 4px rgba(15, 23, 42, .04), 0 8px 20px rgba(15, 23, 42, .06);
  --shadow-md: 0 4px 8px rgba(15, 23, 42, .05), 0 14px 32px rgba(15, 23, 42, .09);
  --shadow-lg: 0 8px 16px rgba(15, 23, 42, .06), 0 28px 60px rgba(15, 23, 42, .14);
  --ring:      0 0 0 4px rgba(245, 158, 11, .28);
  --ease:      cubic-bezier(.22, .61, .36, 1);
}

/* ---------- 2. Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

h1, h2, h3, h4 {
  font-family: var(--font-title);
  color: var(--navy);
  line-height: 1.18;
  font-weight: 700;
  letter-spacing: -.015em;
  text-wrap: balance;
}

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ---------- 3. Layout utils ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 22px;
}

.section { padding-block: clamp(56px, 8vw, 104px); }

.section-head {
  max-width: 660px;
  margin: 0 auto clamp(36px, 5vw, 60px);
  text-align: center;
}
.eyebrow {
  display: inline-block;
  font-family: var(--font-title);
  font-weight: 600;
  font-size: .82rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 14px;
}
.section-head h2 { font-size: clamp(1.7rem, 3.4vw, 2.55rem); }
.section-head p { margin-top: 14px; color: var(--text-soft); font-size: 1.05rem; }

.text-center { text-align: center; }

/* ---------- 4. Boutons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-title);
  font-weight: 600;
  font-size: .98rem;
  padding: 13px 26px;
  border-radius: var(--radius-sm);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--gold);
  color: var(--navy);
  box-shadow: 0 6px 18px rgba(245, 158, 11, .32);
}
.btn-primary:hover { background: var(--gold-dark); box-shadow: 0 10px 26px rgba(245, 158, 11, .42); }

.btn-dark { background: var(--navy); color: var(--text-invert); }
.btn-dark:hover { background: var(--navy-soft); }

.btn-ghost {
  background: transparent;
  color: var(--text-invert);
  border: 1.6px solid rgba(255, 255, 255, .35);
}
.btn-ghost:hover { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .6); }

.btn-green { background: var(--green); color: #fff; }
.btn-green:hover { background: var(--green-dark); }

/* ---------- 5. En-tête / Navigation ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(248, 250, 252, .9);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .25s var(--ease);
}
.site-header.scrolled { box-shadow: 0 2px 16px rgba(15, 23, 42, .08); }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 1.32rem;
  color: var(--navy);
}
.brand-mark {
  width: 40px; height: 40px;
  border-radius: 11px;
  background: linear-gradient(135deg, var(--green), var(--navy));
  display: grid; place-items: center;
  color: var(--gold);
  font-weight: 800;
  font-size: 1.15rem;
  box-shadow: var(--shadow);
}
.brand b { color: var(--green); }

/* Menu desktop */
.nav-menu { display: flex; align-items: center; gap: 4px; }
.nav-menu > li > a,
.nav-menu .dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-title);
  font-weight: 500;
  font-size: .97rem;
  color: var(--navy);
  padding: 9px 14px;
  border-radius: 8px;
  transition: color .2s, background .2s;
}
.nav-menu > li > a:hover,
.nav-menu .dropdown-toggle:hover,
.nav-menu a.active { color: var(--gold-dark); background: rgba(245, 158, 11, .08); }

.nav-menu .dropdown-toggle svg { width: 15px; height: 15px; transition: transform .25s; }

/* Dropdown Services */
.dropdown { position: relative; }
.dropdown-panel {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 268px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
}
.dropdown:hover .dropdown-panel,
.dropdown:focus-within .dropdown-panel {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.dropdown:hover .dropdown-toggle svg { transform: rotate(180deg); }

.dropdown-panel a {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 11px 12px;
  border-radius: var(--radius-sm);
  transition: background .18s;
}
.dropdown-panel a:hover { background: var(--bg); }
.dropdown-panel .dp-ico {
  width: 38px; height: 38px;
  border-radius: 9px;
  display: grid; place-items: center;
  flex-shrink: 0;
}
.dropdown-panel .dp-ico svg { width: 20px; height: 20px; }
.dp-ico.agro { background: rgba(27, 94, 32, .1); color: var(--green); }
.dp-ico.rh   { background: rgba(245, 158, 11, .12); color: var(--gold-dark); }
.dp-ico.tpt  { background: rgba(15, 23, 42, .08); color: var(--navy); }
.dropdown-panel strong { display: block; font-family: var(--font-title); font-size: .94rem; color: var(--navy); }
.dropdown-panel span { font-size: .8rem; color: var(--text-soft); }

.nav-actions { display: flex; align-items: center; gap: 12px; }

/* Burger */
.burger {
  display: none;
  width: 44px; height: 44px;
  border-radius: 10px;
  align-items: center; justify-content: center;
  flex-direction: column; gap: 5px;
}
.burger span {
  width: 24px; height: 2.4px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform .3s var(--ease), opacity .2s var(--ease);
}
.burger.open span:nth-child(1) { transform: translateY(7.4px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7.4px) rotate(-45deg); }

/* ---------- 6. Hero ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(245, 158, 11, .14), transparent 60%),
    linear-gradient(180deg, var(--bg), #eef2f7);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 48px;
  align-items: center;
  padding-block: clamp(48px, 7vw, 92px);
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(27, 94, 32, .08);
  color: var(--green);
  font-weight: 600; font-size: .85rem;
  font-family: var(--font-title);
  padding: 7px 15px; border-radius: 100px;
  margin-bottom: 22px;
}
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.hero h1 {
  font-size: clamp(2.1rem, 5vw, 3.5rem);
  letter-spacing: -.02em;
}
.hero h1 .hl { color: var(--green); }
.hero p.lead {
  margin-top: 20px;
  font-size: clamp(1.05rem, 1.5vw, 1.22rem);
  color: var(--text-soft);
  max-width: 540px;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 38px; }
.hero-trust div { display: flex; align-items: center; gap: 9px; font-size: .9rem; color: var(--text-soft); }
.hero-trust svg { width: 20px; height: 20px; color: var(--green); flex-shrink: 0; }

/* Visuel hero (composé en CSS, sans image lourde) */
.hero-visual { position: relative; min-height: 460px; }
.hero-card {
  position: absolute;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, .7);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 16px 18px;
  display: flex; align-items: center; gap: 13px;
  animation: card-in .7s var(--ease) backwards;
  animation-delay: var(--d);
}
.hero-card .hc-ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; flex-shrink: 0; }
.hero-card .hc-ico svg { width: 23px; height: 23px; }
.hero-card strong { font-family: var(--font-title); color: var(--navy); display: block; font-size: .98rem; }
.hero-card span { font-size: .8rem; color: var(--text-soft); }
.hero-card.c1 { top: 7%;  left: -2%;  --d: .2s; }
.hero-card.c2 { top: 44%; right: -3%; --d: .38s; }
.hero-card.c3 { bottom: 7%; left: 8%;  --d: .56s; }
@keyframes card-in { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* ---------- 6b. Bande de confiance (secteurs servis) ---------- */
.trust-strip { border-block: 1px solid var(--border); background: var(--surface); }
.trust-strip .container {
  display: flex; align-items: center; justify-content: center;
  flex-wrap: wrap; gap: 16px 30px;
  padding-block: 22px;
}
.trust-label {
  font-family: var(--font-title); font-weight: 600;
  font-size: .8rem; letter-spacing: .06em; text-transform: uppercase;
  color: var(--text-soft); margin-right: 6px;
}
.trust-items { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; }
.trust-items span {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-title); font-weight: 600;
  font-size: .95rem; color: var(--navy);
}
.trust-items svg { width: 19px; height: 19px; color: var(--green); flex-shrink: 0; }

/* ---------- 7. Cartes des pôles ---------- */
.poles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.pole-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 28px 26px;
  box-shadow: var(--shadow);
  transition: transform .28s var(--ease), box-shadow .28s var(--ease), border-color .28s;
  overflow: hidden;
}
.pole-card::before {
  content: "";
  position: absolute; inset: 0 0 auto 0; height: 4px;
  background: var(--accent, var(--gold));
  transform: scaleX(0); transform-origin: left;
  transition: transform .35s var(--ease);
}
.pole-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.pole-card:hover::before { transform: scaleX(1); }
.pole-card.agro { --accent: var(--green); }
.pole-card.rh   { --accent: var(--gold); }
.pole-card.rh .pole-link { color: var(--gold-dark); } /* lisibilité du lien doré */
.pole-card.tpt  { --accent: var(--navy); }

.pole-ico {
  width: 58px; height: 58px;
  border-radius: 15px;
  display: grid; place-items: center;
  margin-bottom: 20px;
  background: color-mix(in srgb, var(--accent) 12%, white);
  color: var(--accent);
}
.pole-ico svg { width: 30px; height: 30px; }
.pole-card h3 { font-size: 1.32rem; margin-bottom: 10px; }
.pole-card p { color: var(--text-soft); font-size: .98rem; margin-bottom: 18px; }
.pole-card .tags { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 22px; }
.pole-card .tags span {
  font-size: .76rem; font-weight: 500;
  background: var(--bg); color: var(--text-soft);
  padding: 4px 11px; border-radius: 100px;
}
.pole-link {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--font-title); font-weight: 600;
  color: var(--accent); font-size: .95rem;
}
.pole-link svg { width: 17px; height: 17px; transition: transform .2s; }
.pole-card:hover .pole-link svg { transform: translateX(4px); }

/* ---------- 8. Pourquoi nous choisir ---------- */
.why { background: var(--navy); color: var(--text-invert); }
.why h2, .why .section-head h2 { color: #fff; }
.why .section-head p { color: rgba(248, 250, 252, .7); }
.why .eyebrow { color: var(--gold); }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.why-card {
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: background .25s, transform .25s var(--ease);
}
.why-card:hover { background: rgba(255, 255, 255, .07); transform: translateY(-4px); }
.why-ico {
  width: 52px; height: 52px; border-radius: 13px;
  background: rgba(245, 158, 11, .15); color: var(--gold);
  display: grid; place-items: center; margin-bottom: 18px;
}
.why-ico svg { width: 27px; height: 27px; }
.why-card h3 { color: #fff; font-size: 1.12rem; margin-bottom: 8px; }
.why-card p { color: rgba(248, 250, 252, .68); font-size: .92rem; }

/* ---------- 9. Chiffres clés ---------- */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.stat {
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px 18px;
  box-shadow: var(--shadow);
}
.stat .num {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: clamp(2.2rem, 4vw, 3rem);
  color: var(--green);
  line-height: 1;
}
.stat .num span { color: var(--gold); }
.stat .label { margin-top: 10px; color: var(--text-soft); font-size: .95rem; font-weight: 500; }

/* ---------- 10. Processus 4 étapes ---------- */
.process { background: linear-gradient(180deg, #eef2f7, var(--bg)); }
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  position: relative;
}
.step { position: relative; text-align: center; }
.step-ico {
  width: 76px; height: 76px;
  margin: 0 auto 18px;
  border-radius: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  display: grid; place-items: center;
  color: var(--green);
  position: relative;
}
.step-ico svg { width: 34px; height: 34px; }
.step-num {
  position: absolute; top: -10px; right: -10px;
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--gold); color: var(--navy);
  font-family: var(--font-title); font-weight: 700; font-size: .9rem;
  display: grid; place-items: center;
  box-shadow: 0 4px 10px rgba(245, 158, 11, .4);
}
.step h3 { font-size: 1.12rem; margin-bottom: 7px; }
.step p { color: var(--text-soft); font-size: .92rem; max-width: 230px; margin-inline: auto; }
/* Connecteur */
.steps::before {
  content: "";
  position: absolute; top: 38px; left: 12.5%; right: 12.5%;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--border) 0 8px, transparent 8px 16px);
  z-index: 0;
}
.step-ico { z-index: 1; }

/* ---------- 11. Témoignages ---------- */
.testi-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.testi {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 30px;
  box-shadow: var(--shadow);
  position: relative;
}
.testi .quote-mark {
  font-family: var(--font-title);
  font-size: 4rem; line-height: 1;
  color: rgba(245, 158, 11, .25);
  position: absolute; top: 14px; right: 24px;
}
.testi .stars { display: flex; gap: 3px; color: var(--gold); margin-bottom: 14px; }
.testi .stars svg { width: 18px; height: 18px; }
.testi blockquote { font-size: 1.05rem; color: var(--text); font-style: italic; margin-bottom: 22px; }
.testi-author { display: flex; align-items: center; gap: 13px; }
.testi-avatar {
  width: 50px; height: 50px; border-radius: 50%;
  background: linear-gradient(135deg, var(--green), var(--navy));
  color: #fff; display: grid; place-items: center;
  font-family: var(--font-title); font-weight: 700; font-size: 1.1rem;
}
.testi-author strong { display: block; font-family: var(--font-title); color: var(--navy); }
.testi-author span { font-size: .85rem; color: var(--text-soft); }

/* ---------- 12. CTA final ---------- */
.cta-band {
  background:
    radial-gradient(700px 400px at 10% 0%, rgba(245, 158, 11, .18), transparent 55%),
    linear-gradient(135deg, var(--green), var(--green-dark));
  color: #fff;
  border-radius: 24px;
  padding: clamp(40px, 6vw, 64px);
  text-align: center;
  box-shadow: var(--shadow-lg);
}
.cta-band h2 { color: #fff; font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
.cta-band p { color: rgba(255, 255, 255, .85); max-width: 560px; margin: 16px auto 30px; font-size: 1.08rem; }
.cta-band .hero-cta { justify-content: center; }

/* ---------- 13. Pied de page ---------- */
.site-footer { background: var(--navy); color: rgba(248, 250, 252, .7); padding-block: 60px 28px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.footer-brand .brand { color: #fff; margin-bottom: 16px; }
.footer-brand .brand b { color: var(--gold); }
.footer-brand p { font-size: .92rem; max-width: 320px; }
.footer-socials { display: flex; gap: 10px; margin-top: 18px; }
.footer-socials a {
  width: 40px; height: 40px; border-radius: 10px;
  background: rgba(255, 255, 255, .07);
  display: grid; place-items: center; color: #fff;
  transition: background .2s, transform .2s;
}
.footer-socials a:hover { background: var(--gold); color: var(--navy); transform: translateY(-3px); }
.footer-socials svg { width: 19px; height: 19px; }
.footer-col h4 { color: #fff; font-size: 1rem; margin-bottom: 16px; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { font-size: .92rem; transition: color .2s; }
.footer-col a:hover { color: var(--gold); }
.footer-contact li { display: flex; gap: 11px; align-items: flex-start; font-size: .92rem; margin-bottom: 13px; }
.footer-contact svg { width: 18px; height: 18px; color: var(--gold); flex-shrink: 0; margin-top: 3px; }
.footer-bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  padding-top: 24px; font-size: .85rem;
}

/* ---------- 14. Bouton Devis sticky (mobile) ---------- */
.sticky-cta {
  position: fixed;
  left: 16px; right: 16px; bottom: 16px;
  z-index: 90;
  display: none;
  justify-content: center;
  box-shadow: var(--shadow-lg);
}
.sticky-cta .btn { width: 100%; justify-content: center; }

/* ---------- 15. Animations au scroll (reveal) ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }

/* ---------- 16. Responsive ---------- */
/* Tablette large : on passe les grilles 3-4 colonnes en 2 colonnes */
@media (max-width: 1024px) {
  .why-grid, .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .poles-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 36px; }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 44px; }
  .steps::before { display: none; }
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-visual { min-height: 340px; order: -1; }
}

/* Le menu mobile (off-canvas) reste masqué sur desktop */
.mobile-menu { display: none; }

@media (max-width: 880px) {
  .nav-menu, .nav-actions .btn { display: none; }
  .burger { display: flex; }
  .sticky-cta { display: flex; }
  body { padding-bottom: 76px; } /* place pour le sticky CTA */

  /* Menu mobile (off-canvas) */
  .mobile-menu {
    display: block;
    position: fixed; inset: 0;
    z-index: 200;
    background: rgba(15, 23, 42, .5);
    opacity: 0; visibility: hidden;
    transition: opacity .3s var(--ease), visibility .3s;
  }
  .mobile-menu.open { opacity: 1; visibility: visible; }
  .mobile-panel {
    position: absolute; top: 0; right: 0;
    width: min(320px, 86vw); height: 100%;
    background: var(--surface);
    box-shadow: var(--shadow-lg);
    padding: 26px 24px;
    display: flex; flex-direction: column;
    transform: translateX(100%);
    transition: transform .35s var(--ease);
    overflow-y: auto;
  }
  .mobile-menu.open .mobile-panel { transform: none; }
  .mobile-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 26px; }
  .mobile-close { width: 42px; height: 42px; border-radius: 10px; display: grid; place-items: center; color: var(--navy); }
  .mobile-close svg { width: 24px; height: 24px; }
  .mobile-nav a {
    display: flex; align-items: center; gap: 12px;
    font-family: var(--font-title); font-weight: 500; font-size: 1.05rem;
    color: var(--navy);
    padding: 14px 12px; border-radius: 10px;
    transition: background .2s, color .2s;
  }
  .mobile-nav a:hover, .mobile-nav a.active { background: var(--bg); color: var(--gold-dark); }
  .mobile-nav svg { width: 20px; height: 20px; color: var(--green); }
  .mobile-nav .sub { font-size: .76rem; text-transform: uppercase; letter-spacing: .1em; color: var(--text-soft); padding: 18px 12px 6px; font-weight: 600; }
  .mobile-panel .btn { margin-top: 22px; justify-content: center; }
}

/* Mobile : tout passe en 1 colonne */
@media (max-width: 640px) {
  .poles-grid, .testi-grid, .why-grid, .stats-grid, .steps,
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid { gap: 30px; }
  .hero-cta .btn { width: 100%; justify-content: center; }
}

/* =========================================================
   18. PAGES INTERNES — En-tête de page (page hero)
   ========================================================= */
.page-hero {
  position: relative;
  background:
    radial-gradient(700px 400px at 80% -20%, rgba(245, 158, 11, .12), transparent 60%),
    linear-gradient(135deg, var(--navy), var(--navy-soft));
  color: var(--text-invert);
  padding-block: clamp(48px, 7vw, 88px);
  overflow: hidden;
}
.page-hero.agro { background: radial-gradient(700px 400px at 80% -20%, rgba(245, 158, 11, .14), transparent 60%), linear-gradient(135deg, var(--green), var(--green-dark)); }
.page-hero.rh   { background: radial-gradient(700px 400px at 80% -20%, rgba(27, 94, 32, .25), transparent 60%), linear-gradient(135deg, #b45309, #92400e); }
.page-hero.tpt  { background: radial-gradient(700px 400px at 80% -20%, rgba(245, 158, 11, .14), transparent 60%), linear-gradient(135deg, var(--navy), #0b1120); }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4.4vw, 3.1rem); max-width: 760px; }
.page-hero p { color: rgba(255, 255, 255, .82); max-width: 620px; margin-top: 16px; font-size: 1.12rem; }
.page-hero .hero-cta { margin-top: 30px; }

/* Fil d'Ariane */
.breadcrumb { display: flex; align-items: center; gap: 9px; font-size: .88rem; margin-bottom: 18px; color: rgba(255, 255, 255, .65); }
.breadcrumb a { color: rgba(255, 255, 255, .8); transition: color .2s; }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb svg { width: 14px; height: 14px; opacity: .6; }

/* En-tête de pôle : pastille d'icône */
.page-hero .pole-badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .18);
  padding: 8px 16px; border-radius: 100px;
  font-family: var(--font-title); font-weight: 600; font-size: .9rem;
  margin-bottom: 20px;
}
.page-hero .pole-badge svg { width: 18px; height: 18px; color: var(--gold); }

/* =========================================================
   19. À PROPOS
   ========================================================= */
.about-story { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.about-story .media {
  aspect-ratio: 4/3;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--green), var(--navy));
  position: relative; overflow: hidden;
  box-shadow: var(--shadow-lg);
  display: grid; place-items: center; color: rgba(255,255,255,.4);
}
.about-story .media svg { width: 90px; height: 90px; }
.about-story h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); margin-bottom: 18px; }
.about-story p { color: var(--text-soft); margin-bottom: 16px; }

.mvv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.mvv-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 30px 28px;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--accent, var(--green));
}
.mvv-card .mvv-ico {
  width: 54px; height: 54px; border-radius: 14px;
  background: color-mix(in srgb, var(--accent, var(--green)) 12%, white);
  color: var(--accent, var(--green));
  display: grid; place-items: center; margin-bottom: 18px;
}
.mvv-card .mvv-ico svg { width: 28px; height: 28px; }
.mvv-card:nth-child(1) { --accent: var(--green); }
.mvv-card:nth-child(2) { --accent: var(--gold); }
.mvv-card:nth-child(3) { --accent: var(--navy); }
.mvv-card h3 { font-size: 1.25rem; margin-bottom: 10px; }
.mvv-card p { color: var(--text-soft); font-size: .97rem; }

/* Équipe */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.team-card { text-align: center; }
.team-photo {
  aspect-ratio: 1; border-radius: 18px; margin-bottom: 16px;
  background: linear-gradient(135deg, var(--green), var(--navy));
  display: grid; place-items: center; color: #fff;
  font-family: var(--font-title); font-weight: 700; font-size: 2rem;
  box-shadow: var(--shadow);
}
.team-card h3 { font-size: 1.12rem; margin-bottom: 4px; }
.team-card span { color: var(--gold-dark); font-weight: 500; font-size: .92rem; }

/* Engagements / certifications */
.commit-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.commit-item {
  display: flex; gap: 16px; align-items: flex-start;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 22px 24px;
}
.commit-item .ci-ico {
  width: 44px; height: 44px; border-radius: 11px; flex-shrink: 0;
  background: rgba(27, 94, 32, .1); color: var(--green);
  display: grid; place-items: center;
}
.commit-item .ci-ico svg { width: 23px; height: 23px; }
.commit-item h3 { font-size: 1.08rem; margin-bottom: 5px; }
.commit-item p { color: var(--text-soft); font-size: .92rem; }

/* =========================================================
   20. PAGES DE PÔLE — liste des services
   ========================================================= */
.service-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-item {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px 26px;
  box-shadow: var(--shadow);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.service-item:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.service-item .si-ico {
  width: 54px; height: 54px; border-radius: 14px;
  background: color-mix(in srgb, var(--accent, var(--green)) 12%, white);
  color: var(--accent, var(--green));
  display: grid; place-items: center; margin-bottom: 18px;
}
.service-item .si-ico svg { width: 28px; height: 28px; }
.service-item h3 { font-size: 1.18rem; margin-bottom: 9px; }
.service-item p { color: var(--text-soft); font-size: .95rem; }

/* Bandeau avantages */
.adv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.adv-item { display: flex; gap: 15px; align-items: flex-start; }
.adv-item .adv-ico {
  width: 46px; height: 46px; border-radius: 12px; flex-shrink: 0;
  background: rgba(245, 158, 11, .12); color: var(--gold-dark);
  display: grid; place-items: center;
}
.adv-item .adv-ico svg { width: 24px; height: 24px; }
.adv-item h3 { font-size: 1.08rem; margin-bottom: 5px; }
.adv-item p { color: var(--text-soft); font-size: .92rem; }

/* Liste à puces (types de postes / véhicules) */
.check-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 28px; }
.check-list li { display: flex; gap: 11px; align-items: flex-start; color: var(--text); }
.check-list svg { width: 21px; height: 21px; color: var(--green); flex-shrink: 0; margin-top: 2px; }
.bg-soft { background: linear-gradient(180deg, #eef2f7, var(--bg)); }

/* =========================================================
   21. RÉALISATIONS — filtres + grille + modale
   ========================================================= */
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 40px; }
.filter-btn {
  font-family: var(--font-title); font-weight: 500; font-size: .92rem;
  padding: 9px 20px; border-radius: 100px;
  background: var(--surface); border: 1px solid var(--border);
  color: var(--text); transition: all .2s var(--ease);
}
.filter-btn:hover { border-color: var(--gold); color: var(--gold-dark); }
.filter-btn.active { background: var(--navy); border-color: var(--navy); color: #fff; }

.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.work-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), opacity .3s, transform .3s;
  text-align: left; width: 100%;
}
.work-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.work-card.hide { display: none; }
.work-media {
  aspect-ratio: 16/10; position: relative;
  display: grid; place-items: center; color: rgba(255,255,255,.5);
}
.work-media svg { width: 60px; height: 60px; }
.work-media.agro { background: linear-gradient(135deg, var(--green), var(--green-dark)); }
.work-media.rh   { background: linear-gradient(135deg, #b45309, #92400e); }
.work-media.tpt  { background: linear-gradient(135deg, var(--navy), var(--navy-soft)); }
.work-tag {
  position: absolute; top: 12px; left: 12px;
  background: rgba(255, 255, 255, .92); color: var(--navy);
  font-family: var(--font-title); font-weight: 600; font-size: .74rem;
  padding: 5px 12px; border-radius: 100px;
}
.work-body { padding: 22px 24px; }
.work-body h3 { font-size: 1.15rem; margin-bottom: 7px; }
.work-body p { color: var(--text-soft); font-size: .93rem; }
.work-more { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; color: var(--gold-dark); font-family: var(--font-title); font-weight: 600; font-size: .9rem; }
.work-more svg { width: 16px; height: 16px; }

/* Modale */
.modal {
  position: fixed; inset: 0; z-index: 300;
  display: grid; place-items: center; padding: 22px;
  background: rgba(15, 23, 42, .6);
  opacity: 0; visibility: hidden;
  transition: opacity .25s var(--ease), visibility .25s;
}
.modal.open { opacity: 1; visibility: visible; }
.modal-box {
  background: var(--surface); border-radius: var(--radius);
  max-width: 560px; width: 100%; max-height: 90vh; overflow-y: auto;
  box-shadow: var(--shadow-lg);
  transform: translateY(16px) scale(.98); transition: transform .25s var(--ease);
}
.modal.open .modal-box { transform: none; }
.modal-media { aspect-ratio: 16/9; display: grid; place-items: center; color: rgba(255,255,255,.5); border-radius: var(--radius) var(--radius) 0 0; }
.modal-media svg { width: 70px; height: 70px; }
.modal-content { padding: 28px 30px 32px; }
.modal-content .work-tag { position: static; display: inline-block; margin-bottom: 14px; background: var(--bg); }
.modal-content h3 { font-size: 1.5rem; margin-bottom: 12px; }
.modal-content p { color: var(--text-soft); margin-bottom: 16px; }
.modal-quote { border-left: 3px solid var(--gold); padding-left: 16px; font-style: italic; color: var(--text); }
.modal-quote cite { display: block; margin-top: 8px; font-style: normal; font-weight: 600; color: var(--navy); font-size: .9rem; }
.modal-close {
  position: absolute; top: 16px; right: 16px;
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255, 255, 255, .9); color: var(--navy);
  display: grid; place-items: center; box-shadow: var(--shadow);
}
.modal-close svg { width: 22px; height: 22px; }
.modal-box { position: relative; }

/* =========================================================
   22. CONTACT — formulaire + infos + carte
   ========================================================= */
.contact-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: start; }
.contact-form {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 34px 32px;
  box-shadow: var(--shadow);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-family: var(--font-title); font-weight: 500; font-size: .9rem; color: var(--navy); margin-bottom: 7px; }
.field label .req { color: #dc2626; }
.field input, .field select, .field textarea {
  width: 100%; font-family: var(--font-body); font-size: .97rem;
  color: var(--text); background: var(--bg);
  border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  padding: 12px 14px; transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(27, 94, 32, .12);
}
.field-check { display: flex; gap: 11px; align-items: flex-start; font-size: .88rem; color: var(--text-soft); }
.field-check input { width: auto; margin-top: 3px; flex-shrink: 0; }
.form-success {
  display: none; align-items: center; gap: 11px;
  background: rgba(27, 94, 32, .1); color: var(--green-dark);
  border: 1px solid rgba(27, 94, 32, .25); border-radius: var(--radius-sm);
  padding: 14px 18px; margin-top: 18px; font-weight: 500;
}
.form-success.show { display: flex; }
.form-success svg { width: 22px; height: 22px; flex-shrink: 0; }

/* Carte coordonnées */
.contact-info { display: flex; flex-direction: column; gap: 16px; }
.info-card {
  display: flex; gap: 15px; align-items: flex-start;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 20px 22px;
  transition: border-color .2s, transform .2s;
}
.info-card:hover { border-color: var(--gold); transform: translateY(-2px); }
.info-card .info-ico {
  width: 46px; height: 46px; border-radius: 12px; flex-shrink: 0;
  display: grid; place-items: center;
  background: rgba(27, 94, 32, .1); color: var(--green);
}
.info-card.wa .info-ico { background: rgba(37, 211, 102, .14); color: #1da851; }
.info-card .info-ico svg { width: 23px; height: 23px; }
.info-card strong { display: block; font-family: var(--font-title); color: var(--navy); margin-bottom: 3px; }
.info-card a, .info-card span { color: var(--text-soft); font-size: .95rem; }
.info-card a:hover { color: var(--gold-dark); }

/* Carte (map) lazy */
.map-wrap {
  margin-top: 16px; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--border); box-shadow: var(--shadow);
}
.map-placeholder {
  aspect-ratio: 16/9; width: 100%;
  background: linear-gradient(135deg, #dbe4ee, #c7d4e3);
  display: grid; place-items: center; gap: 12px; cursor: pointer;
  color: var(--navy); text-align: center; padding: 20px;
}
.map-placeholder svg { width: 46px; height: 46px; color: var(--green); }
.map-placeholder span { font-family: var(--font-title); font-weight: 600; }
.map-placeholder small { color: var(--text-soft); }
.map-wrap iframe { display: block; width: 100%; aspect-ratio: 16/9; border: 0; }

/* =========================================================
   23. Responsive pages internes
   ========================================================= */
@media (max-width: 1024px) {
  .about-story, .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .mvv-grid, .service-list, .adv-grid, .work-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .mvv-grid, .service-list, .adv-grid, .work-grid,
  .commit-grid, .check-list, .team-grid { grid-template-columns: 1fr; }
}

/* =========================================================
   24. IMAGES — intégration dans les composants
   ========================================================= */
/* Hero : photo réelle derrière les cartes flottantes */
.hero-photo {
  position: absolute; inset: 3% 5%;
  border-radius: 22px; overflow: hidden;
  box-shadow: var(--shadow-lg);
  animation: card-in .8s var(--ease) backwards;
}
.hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(160deg, transparent 40%, rgba(15,23,42,.18)); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }

/* En-tête de pôle avec image de fond + voile pour la lisibilité */
.page-hero.has-img { background: var(--navy); }
.page-hero.has-img > .ph-bg { position: absolute; inset: 0; z-index: 0; }
.page-hero.has-img > .ph-bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero.has-img.agro > .ph-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(20,71,26,.92), rgba(20,71,26,.62)); }
.page-hero.has-img.rh   > .ph-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(146,64,14,.92), rgba(146,64,14,.6)); }
.page-hero.has-img.tpt  > .ph-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(15,23,42,.94), rgba(15,23,42,.66)); }
.page-hero.has-img > .container { position: relative; z-index: 1; }

/* About : photo dans le cadre média */
.about-story .media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.about-story .media.has-img { background: none; }

/* Équipe : portraits réels */
.team-photo.has-img { background: none; }
.team-photo img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }

/* Témoignages : portraits réels */
.testi-avatar.has-img { background: none; }
.testi-avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }

/* Réalisations : photos dans les vignettes */
.work-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.work-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(15,23,42,.25)); }
.modal-media img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }

/* ---------- 17. Préférences d'accessibilité ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
