/* ==========================================================
   LMG – Laboratoire de Métrologie Gabonais — feuille de style (charte Mbolo)
   Palette : couleurs du drapeau gabonais — vert #009E60 · jaune #FCD116 · bleu #3A75C4
   ========================================================== */

:root {
  --navy: #0E2F5E;
  --navy-2: #15407A;
  --navy-3: #22528F;
  --orange: #009E60;
  --orange-2: #00B870;
  --orange-soft: #E5F6EE;
  --ink: #0E2F5E;
  --text: #3D4560;
  --muted: #6B7390;
  --line: #E4E7EF;
  --bg: #FFFFFF;
  --bg-soft: #F6F7FA;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 10px 30px rgba(14, 47, 94, .08);
  --shadow-lg: 0 24px 60px rgba(14, 47, 94, .16);
  --container: 1180px;
  --font: "Inter", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }

a { color: var(--orange); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 {
  color: var(--ink);
  line-height: 1.2;
  margin: 0 0 .6em;
  letter-spacing: -.01em;
}
h1 { font-size: clamp(2.1rem, 4.6vw, 3.5rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }

.container { width: min(100% - 40px, var(--container)); margin-inline: auto; }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--orange); color: #fff; padding: 10px 16px; z-index: 1000;
}
.skip-link:focus { left: 10px; top: 10px; }

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

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 700; font-size: 1rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, background .2s ease, box-shadow .2s ease, color .2s ease;
  text-decoration: none !important;
  font-family: inherit;
  line-height: 1.2;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-primary { background: var(--orange); color: #fff; box-shadow: 0 8px 20px rgba(0, 158, 96, .28); }
.btn-primary:hover { background: var(--orange-2); transform: translateY(-2px); }
.btn-ghost { border-color: rgba(255, 255, 255, .5); color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, .1); border-color: #fff; }
.btn-outline { border-color: var(--navy); color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-whatsapp { background: #1FAF54; color: #fff; }
.btn-whatsapp:hover { background: #179447; transform: translateY(-2px); }

/* ---------- En-tête ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 20px; }

.brand { display: flex; align-items: center; gap: 12px; color: var(--navy); text-decoration: none !important; }

.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font-weight: 900; font-size: 1.12rem; letter-spacing: .04em; }
.brand-name span { color: var(--orange); }
.brand-tag { font-size: .7rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

.nav { display: flex; align-items: center; gap: 6px; }
.nav a {
  color: var(--navy); font-weight: 600; font-size: .96rem;
  padding: 9px 14px; border-radius: 999px;
}
.nav a:hover { background: var(--bg-soft); text-decoration: none; }
.nav a[aria-current="page"] { color: var(--orange); }
.nav .btn { margin-left: 10px; padding: 11px 20px; color: #fff; }
.nav .btn:hover { background: var(--orange-2); }

.nav-toggle {
  display: none;
  background: none; border: 0; padding: 10px; cursor: pointer; color: var(--navy);
}
.nav-toggle svg { width: 28px; height: 28px; }

@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed; inset: 76px 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; padding: 10px 20px 24px;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    transform: translateY(-120%);
    visibility: hidden;
    transition: transform .25s ease, visibility .25s;
  }
  .nav.is-open { transform: none; visibility: visible; }
  .nav a { padding: 14px 6px; border-radius: 0; border-bottom: 1px solid var(--line); }
  .nav .btn { margin: 16px 0 0; justify-content: center; border-radius: 999px; border-bottom: 0; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(900px 480px at 88% -10%, rgba(252, 209, 22, .22), transparent 60%),
    radial-gradient(800px 500px at 0% 110%, rgba(0, 158, 96, .35), transparent 60%),
    linear-gradient(160deg, var(--navy) 0%, #0A2347 100%);
  color: #D9DEEC;
  overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
  pointer-events: none;
}
.hero-inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center;
  padding: 96px 0 104px;
}
.hero h1 { color: #fff; }
.hero h1 em { font-style: normal; color: var(--orange-2); }
.hero-lead { font-size: 1.16rem; max-width: 620px; color: #C9D0E3; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero-flag { display: inline-flex; gap: 4px; margin-right: 8px; vertical-align: middle; }
.hero-flag i { display: block; width: 6px; height: 16px; border-radius: 2px; }
.hero-flag i:nth-child(1) { background: #3A9D23; }
.hero-flag i:nth-child(2) { background: #FCD116; }
.hero-flag i:nth-child(3) { background: #3A75C4; }

.eyebrow {
  display: inline-flex; align-items: center;
  font-size: .8rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 16px;
}
.hero .eyebrow { color: #FCD116; background: rgba(0, 158, 96, .14); padding: 8px 14px; border-radius: 999px; }

/* Tableau SQCD décoratif */
.board {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: var(--shadow-lg);
}
.board-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.board-title { color: #fff; font-weight: 800; font-size: 1.05rem; }
.board-chip { font-size: .72rem; font-weight: 700; color: #fff; background: var(--orange); padding: 5px 10px; border-radius: 999px; letter-spacing: .06em; }
.board-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.kpi {
  background: rgba(255, 255, 255, .95);
  border-radius: var(--radius);
  padding: 16px;
  color: var(--navy);
}
.kpi-letter {
  display: inline-grid; place-items: center;
  width: 34px; height: 34px; border-radius: 10px;
  background: var(--navy); color: #fff; font-weight: 900; margin-bottom: 8px;
}
.kpi-name { font-weight: 800; font-size: .95rem; }
.kpi-desc { font-size: .8rem; color: var(--muted); line-height: 1.35; }
.kpi-bar { height: 6px; border-radius: 6px; background: var(--line); margin-top: 10px; overflow: hidden; }
.kpi-bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--orange), var(--orange-2)); border-radius: 6px; }
.kpi-bar .w-90 { width: 90%; }
.kpi-bar .w-75 { width: 75%; }
.kpi-bar .w-65 { width: 65%; }
.kpi-bar .w-80 { width: 80%; }
.board-foot { display: flex; gap: 10px; margin-top: 16px; flex-wrap: wrap; }
.board-foot span { font-size: .75rem; color: #C9D0E3; border: 1px solid rgba(255, 255, 255, .18); padding: 5px 10px; border-radius: 999px; }

/* ---------- Page hero (pages internes) ---------- */
.page-hero {
  background: linear-gradient(160deg, var(--navy) 0%, #0A2347 100%);
  color: #C9D0E3;
  padding: 80px 0 72px;
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: ""; position: absolute; right: -120px; top: -120px;
  width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 158, 96, .35), transparent 70%);
}
.page-hero .container { position: relative; }
.page-hero h1 { color: #fff; max-width: 860px; }
.page-hero p { max-width: 720px; font-size: 1.12rem; margin: 0; }
.breadcrumb { font-size: .85rem; margin-bottom: 18px; color: #9AA3BF; }
.breadcrumb a { color: #FCD116; }

/* ---------- Bandeau chiffres ---------- */
.stats { background: #fff; border-bottom: 1px solid var(--line); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 34px 24px; text-align: center; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat-value { font-size: 2.2rem; font-weight: 900; color: var(--navy); line-height: 1; }
.stat-value span { color: var(--orange); }
.stat-label { font-size: .92rem; color: var(--muted); margin-top: 8px; }

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section-soft { background: var(--bg-soft); }
.section-navy { background: var(--navy); color: #C9D0E3; }
.section-navy h2, .section-navy h3 { color: #fff; }
.section-head { max-width: 760px; margin-bottom: 52px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head p { font-size: 1.08rem; color: var(--muted); }
.section-navy .section-head p { color: #AEB6CF; }

.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- Cartes ---------- */
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.card p { color: var(--text); }
.card .more { margin-top: auto; font-weight: 700; display: inline-flex; align-items: center; gap: 6px; }

.icon {
  width: 54px; height: 54px; border-radius: 16px;
  display: grid; place-items: center;
  background: var(--orange-soft); color: var(--orange);
  margin-bottom: 20px; flex: none;
}
.icon svg { width: 28px; height: 28px; }
.icon-navy { background: var(--navy); color: #fff; }

.card-number {
  font-size: .8rem; font-weight: 800; letter-spacing: .12em; color: var(--orange); margin-bottom: 6px;
}

.sector {
  display: flex; align-items: flex-start; gap: 16px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px;
}
.sector .icon { width: 46px; height: 46px; margin: 0; border-radius: 12px; }
.sector .icon svg { width: 24px; height: 24px; }
.sector h3 { font-size: 1.05rem; margin-bottom: 4px; }
.sector p { font-size: .92rem; color: var(--muted); margin: 0; }

/* ---------- Méthode ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.step { position: relative; padding: 30px 26px; border-radius: var(--radius-lg); background: var(--navy-2); border: 1px solid var(--navy-3); }
.step::before {
  counter-increment: step; content: "0" counter(step);
  display: block; font-size: 2.4rem; font-weight: 900; color: var(--orange); line-height: 1; margin-bottom: 14px;
}
.step h3 { color: #fff; }
.step p { color: #AEB6CF; font-size: .95rem; margin: 0; }

/* ---------- Listes ---------- */
.checklist { list-style: none; padding: 0; margin: 0 0 1em; }
.checklist li { position: relative; padding-left: 30px; margin-bottom: 10px; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .42em;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--orange-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23009E60' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.tags li { font-size: .8rem; font-weight: 600; color: var(--navy); background: var(--bg-soft); border: 1px solid var(--line); padding: 5px 12px; border-radius: 999px; }

/* ---------- Pourquoi ---------- */
.why { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: center; }
.why-points { display: grid; gap: 20px; }
.why-point { display: flex; gap: 18px; align-items: flex-start; }
.why-point .icon { margin: 0; }
.why-point h3 { margin-bottom: 4px; }
.why-point p { margin: 0; color: var(--muted); }
.quote-card {
  background: var(--navy); color: #D9DEEC; border-radius: var(--radius-lg); padding: 40px;
  position: relative; box-shadow: var(--shadow-lg);
}
.quote-card::before {
  content: "“"; position: absolute; top: -10px; left: 28px;
  font-size: 7rem; line-height: 1; color: var(--orange); font-family: Georgia, serif;
}
.quote-card blockquote { margin: 30px 0 22px; font-size: 1.25rem; line-height: 1.55; color: #fff; font-weight: 600; }
.quote-card .who { font-weight: 800; color: #fff; }
.quote-card .role { font-size: .9rem; color: #AEB6CF; }

/* ---------- Service détaillé ---------- */
.service-block {
  display: grid; grid-template-columns: 300px 1fr; gap: 48px;
  padding: 56px 0; border-bottom: 1px solid var(--line);
  scroll-margin-top: 100px;
}
.service-block:last-child { border-bottom: 0; }
.service-side .icon { width: 68px; height: 68px; border-radius: 20px; }
.service-side .icon svg { width: 34px; height: 34px; }
.service-side h2 { font-size: 1.7rem; }
.service-side p { color: var(--muted); }
.service-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.service-box { background: var(--bg-soft); border-radius: var(--radius); padding: 26px; }
.service-box h3 { font-size: 1rem; text-transform: uppercase; letter-spacing: .08em; color: var(--orange); margin-bottom: 14px; }
.service-box .checklist li { font-size: .97rem; }
.service-for { margin-top: 22px; }
.service-for strong { color: var(--navy); }

/* ---------- Réalisations ---------- */
.project {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; display: flex; flex-direction: column;
}
.project-top { background: var(--navy); color: #fff; padding: 24px 28px; position: relative; }
.project-top .status {
  display: inline-block; font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  background: var(--orange); color: #fff; padding: 4px 10px; border-radius: 999px; margin-bottom: 10px;
}
.project-top h3 { color: #fff; margin: 0; }
.project-body { padding: 26px 28px; display: flex; flex-direction: column; flex: 1; }
.project-body p { font-size: .97rem; }
.project-body .tags { margin-top: auto; padding-top: 10px; }

.timeline { position: relative; display: grid; gap: 22px; }
.timeline::before { content: ""; position: absolute; left: 21px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
.mission { position: relative; display: grid; grid-template-columns: 44px 1fr; gap: 22px; }
.mission-dot {
  width: 44px; height: 44px; border-radius: 50%; background: #fff; border: 2px solid var(--orange);
  display: grid; place-items: center; color: var(--orange); z-index: 1;
}
.mission-dot svg { width: 20px; height: 20px; }
.mission-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px 28px; }
.mission-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 18px; align-items: baseline; margin-bottom: 6px; }
.mission-head h3 { margin: 0; }
.mission-period { font-size: .85rem; font-weight: 700; color: var(--orange); white-space: nowrap; }
.mission-role { font-weight: 700; color: var(--navy); margin-bottom: 10px; font-size: .97rem; }
.mission-card .checklist li { font-size: .96rem; margin-bottom: 7px; }
.mission-card .apport { font-size: .93rem; background: var(--orange-soft); border-radius: 10px; padding: 12px 16px; margin: 10px 0 0; color: var(--navy); }
.mission-card .apport strong { color: var(--orange); }

.tool { padding: 26px; }
.tool .icon { width: 48px; height: 48px; border-radius: 14px; margin-bottom: 16px; }
.tool .icon svg { width: 24px; height: 24px; }
.tool h3 { font-size: 1.05rem; }
.tool p { font-size: .94rem; color: var(--muted); margin: 0; }

/* ---------- À propos ---------- */
.about { display: grid; grid-template-columns: 380px 1fr; gap: 60px; align-items: start; }
.profile-card {
  background: var(--navy); border-radius: var(--radius-lg); padding: 34px; color: #C9D0E3;
  position: sticky; top: 100px; box-shadow: var(--shadow-lg);
}
.avatar {
  width: 112px; height: 112px; border-radius: 28px;
  background: linear-gradient(135deg, var(--orange), #007A4A);
  display: grid; place-items: center; color: #fff; font-weight: 900; font-size: 2.4rem; letter-spacing: .02em;
  margin-bottom: 22px;
}
.profile-card h2 { color: #fff; font-size: 1.5rem; margin-bottom: 4px; }
.profile-card .role { color: #FCD116; font-weight: 700; margin-bottom: 20px; }
.profile-card ul { list-style: none; margin: 0 0 24px; padding: 0; }
.profile-card li { display: flex; gap: 10px; padding: 10px 0; border-top: 1px solid var(--navy-3); font-size: .94rem; }
.profile-card li svg { width: 18px; height: 18px; color: var(--orange); flex: none; margin-top: 4px; }
.profile-card .btn { width: 100%; justify-content: center; }
.profile-card .btn + .btn { margin-top: 10px; }

.values { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin: 30px 0 10px; }
.value { border-left: 4px solid var(--orange); background: var(--bg-soft); border-radius: 0 var(--radius) var(--radius) 0; padding: 18px 20px; }
.value h3 { font-size: 1.02rem; margin-bottom: 4px; }
.value p { font-size: .93rem; margin: 0; color: var(--muted); }

.mini-timeline { list-style: none; padding: 0; margin: 20px 0 0; }
.mini-timeline li { display: grid; grid-template-columns: 120px 1fr; gap: 18px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.mini-timeline .yr { font-weight: 800; color: var(--orange); font-size: .95rem; }
.mini-timeline strong { color: var(--navy); }
.mini-timeline span.d { display: block; font-size: .93rem; color: var(--muted); }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: 1fr 1.2fr; gap: 56px; align-items: start; }
.contact-info .info-item { display: flex; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.contact-info .info-item .icon { margin: 0; width: 48px; height: 48px; }
.contact-info .info-item .icon svg { width: 22px; height: 22px; }
.contact-info h3 { font-size: 1rem; margin-bottom: 2px; }
.contact-info p { margin: 0; color: var(--muted); font-size: .96rem; }

.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 36px; box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 700; color: var(--navy); font-size: .92rem; margin-bottom: 6px; }
.field label .req { color: var(--orange); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  padding: 13px 15px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 4px rgba(0, 158, 96, .12); }
.field .hint { font-size: .82rem; color: var(--muted); margin-top: 5px; }
.field-error { border-color: #D93025 !important; }
.form-note { font-size: .85rem; color: var(--muted); margin: 14px 0 0; }
.form-card .btn { width: 100%; justify-content: center; }
.form-status { display: none; margin-top: 14px; padding: 12px 16px; border-radius: 10px; background: #E9F7EF; color: #17663A; font-size: .93rem; }
.form-status.show { display: block; }

/* ---------- CTA ---------- */
.cta {
  background: linear-gradient(120deg, var(--orange) 0%, #007A4A 100%);
  border-radius: var(--radius-lg);
  padding: 56px;
  display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: center;
  color: #E5F6EE;
  position: relative; overflow: hidden;
}
.cta::after {
  content: ""; position: absolute; right: -80px; bottom: -120px; width: 320px; height: 320px; border-radius: 50%;
  border: 50px solid rgba(255, 255, 255, .1);
}
.cta h2 { color: #fff; margin-bottom: 8px; }
.cta p { margin: 0; font-size: 1.08rem; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; position: relative; z-index: 1; }
.cta .btn-light { background: #fff; color: var(--orange); }
.cta .btn-light:hover { transform: translateY(-2px); }
.cta .btn-ghost:hover { background: rgba(255, 255, 255, .15); }

/* ---------- Pages légales ---------- */
.legal { max-width: 820px; }
.legal h2 { font-size: 1.4rem; margin-top: 2em; }
.legal h2:first-child { margin-top: 0; }
.legal ul { padding-left: 1.2em; }
.legal li { margin-bottom: .4em; }

/* ---------- Pied de page ---------- */
.site-footer { background: #0A2347; color: #9AA3BF; padding: 72px 0 28px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; }
.site-footer .brand { color: #fff; margin-bottom: 16px; }
.site-footer .brand-tag { color: #9AA3BF; }
.site-footer h3 { color: #fff; font-size: .9rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 16px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 10px; }
.site-footer a { color: #C9D0E3; }
.site-footer a:hover { color: var(--orange-2); }
.footer-bottom {
  border-top: 1px solid var(--navy-3); margin-top: 48px; padding-top: 24px;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .86rem;
}

/* Bouton WhatsApp flottant */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  width: 60px; height: 60px; border-radius: 50%;
  background: #1FAF54; color: #fff; display: grid; place-items: center;
  box-shadow: 0 10px 30px rgba(31, 175, 84, .4);
  transition: transform .2s;
}
.wa-float:hover { transform: scale(1.07); }
.wa-float svg { width: 32px; height: 32px; }

/* ---------- 404 ---------- */
.notfound { text-align: center; padding: 120px 0; }
.notfound .code { font-size: clamp(5rem, 14vw, 9rem); font-weight: 900; color: var(--orange); line-height: 1; }

/* ---------- Animations ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .card, .btn, .wa-float { transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; padding: 64px 0 72px; gap: 40px; }
  .why, .about, .contact { grid-template-columns: 1fr; gap: 40px; }
  .profile-card { position: static; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .service-block { grid-template-columns: 1fr; gap: 24px; }
  .cta { grid-template-columns: 1fr; padding: 40px 32px; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .section { padding: 68px 0; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat { border-bottom: 1px solid var(--line); }
  .stat:nth-child(2) { border-right: 0; }
  .grid-2, .grid-3, .grid-4, .steps, .values, .service-cols, .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-card { padding: 26px 20px; }
  .mini-timeline li { grid-template-columns: 1fr; gap: 2px; }
  .brand-tag { display: none; }
  .board { padding: 18px; }
}

/* ---------- Utilitaires ---------- */
.mt { margin-top: 2em; }
.center-link { text-align: center; margin: 44px 0 0; }
.inline-ic { display: inline-block; width: 15px; height: 15px; vertical-align: -2px; margin-right: 4px; }
.card-navy { background: var(--navy); border-color: var(--navy); color: #C9D0E3; }
.card-navy h3 { color: #fff; }
.card-navy p { color: #AEB6CF; }
.card-navy .icon { background: var(--orange); color: #fff; }
.card-navy .more { color: #FCD116; }
.icon-wa { background: #E8F7EE; color: #1FAF54; }
.icon-wa svg { width: 24px; height: 24px; }
.profile-card .btn-ghost { color: #fff; }
.more svg { width: 18px; height: 18px; flex: none; transition: transform .2s; }
.card:hover .more svg { transform: translateX(3px); }

/* ---------- Logo officiel Mbolo Lean ---------- */
.brand-logo { height: 52px; width: auto; max-width: none; flex: none; }
.brand .brand-text { border-left: 2px solid var(--line); padding-left: 12px; }
.brand .brand-name { font-size: .74rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; line-height: 1.2; color: var(--navy); }
.brand .brand-tag { display: inline-flex; align-items: center; gap: 6px; margin-top: 3px; font-size: .68rem; color: var(--orange); font-weight: 800; }
.brand .brand-tag::before { content: ""; width: 14px; height: 9px; border-radius: 2px; background: linear-gradient(#3A9D23 0 33%, #FCD116 33% 66%, #3A75C4 66%); }
.site-footer .brand .brand-text { border-left-color: var(--navy-3); }
.site-footer .brand .brand-name { color: #fff; }
.site-footer .brand .brand-tag { color: var(--orange-2); }
@media (max-width: 720px) { .brand .brand-tag { display: inline-flex; } }
@media (max-width: 400px) { .brand-logo { height: 42px; } .brand .brand-name { font-size: .66rem; } }
.form-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-actions .btn { width: 100%; justify-content: center; padding-inline: 16px; }
.contact-direct { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 520px) { .form-actions { grid-template-columns: 1fr; } }
.nav .btn[aria-current="page"] { color: #fff; background: var(--navy); box-shadow: none; }

/* ---------- Qui sommes-nous ---------- */
.who { display: grid; grid-template-columns: 1.25fr .75fr; gap: 56px; align-items: start; }
.who .lead { font-size: 1.15rem; color: var(--navy); font-weight: 600; border-left: 4px solid var(--orange); padding-left: 16px; }
.mvv { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 28px; }
.mvv-item { background: var(--bg-soft); border-radius: var(--radius); padding: 20px; border-top: 4px solid var(--orange); }
.mvv-item h3 { font-size: 1rem; margin-bottom: 6px; }
.mvv-item p { font-size: .92rem; margin: 0; color: var(--muted); }
.facts { background: var(--navy); color: #C9D0E3; border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow-lg); position: sticky; top: 100px; }
.facts h3 { color: #fff; font-size: 1.15rem; margin-bottom: 14px; }
.facts dl { margin: 0 0 24px; }
.facts dl div { padding: 12px 0; border-top: 1px solid var(--navy-3); }
.facts dt { font-size: .75rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #FCD116; margin-bottom: 2px; }
.facts dd { margin: 0; font-size: .95rem; color: #fff; }
.facts .btn { width: 100%; justify-content: center; }
@media (max-width: 960px) { .who { grid-template-columns: 1fr; gap: 36px; } .facts { position: static; } }
@media (max-width: 720px) { .mvv { grid-template-columns: 1fr; } }

/* ---------- Qui sommes-nous (page) ---------- */
.values-4 { grid-template-columns: repeat(3, 1fr); }
.contact-person {
  display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center;
  background: var(--bg-soft); border-radius: var(--radius-lg); padding: 32px;
}
.contact-person .avatar { width: 80px; height: 80px; border-radius: 22px; margin: 0; }
.contact-person .avatar svg { width: 38px; height: 38px; }
.contact-person h3 { font-size: 1.3rem; margin-bottom: 4px; }
.contact-person p { margin: 0; color: var(--muted); }
.contact-person .eyebrow { margin-bottom: 6px; }
.contact-person-actions { display: flex; flex-direction: column; gap: 10px; }
@media (max-width: 960px) { .contact-person { grid-template-columns: 1fr; } .contact-person-actions { flex-direction: row; flex-wrap: wrap; } .values-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 720px) { .values-4 { grid-template-columns: 1fr; } }

/* ==========================================================
   ANIMATIONS
   ========================================================== */

/* Barre de progression de lecture */
.progress-bar {
  position: fixed; top: 0; left: 0; height: 3px; width: 100%; z-index: 200;
  background: linear-gradient(90deg, var(--orange), #FCD116);
  transform-origin: 0 50%; transform: scaleX(0);
}

/* En-tête qui se compacte au défilement */
.site-header { transition: box-shadow .3s ease, background .3s ease; }
.header-inner { transition: height .3s ease; }
.brand-logo { transition: height .3s ease; }
.site-header.is-scrolled { box-shadow: 0 8px 30px rgba(14, 47, 94, .1); }
.site-header.is-scrolled .header-inner { height: 64px; }
.site-header.is-scrolled .brand-logo { height: 44px; }

/* Texte qui s'écrit */
.typed-wrap { white-space: nowrap; }
.caret {
  display: inline-block; width: 4px; height: .9em; margin-left: 4px; vertical-align: -.08em;
  background: var(--orange-2); border-radius: 2px; animation: blink 1s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }

/* Entrée du hero */
.hero .eyebrow, .hero h1, .hero-lead, .hero-actions, .page-hero .breadcrumb, .page-hero .eyebrow, .page-hero h1, .page-hero p {
  animation: rise .9s cubic-bezier(.2, .7, .2, 1) both;
}
.hero h1, .page-hero h1 { animation-delay: .12s; }
.hero-lead, .page-hero p { animation-delay: .28s; }
.hero-actions { animation-delay: .42s; }
.hero .board { animation: rise-board 1.1s .3s cubic-bezier(.2, .7, .2, 1) both, float 7s 1.4s ease-in-out infinite; }
@keyframes rise { from { opacity: 0; transform: translateY(26px); filter: blur(4px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes rise-board { from { opacity: 0; transform: translateY(40px) rotate(2deg) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* Tableau SQCD : barres qui se remplissent, lettres qui pulsent */
.kpi-bar span { animation: fill 1.6s cubic-bezier(.2, .7, .2, 1) both; }
.kpi:nth-child(1) .kpi-bar span { animation-delay: .9s; }
.kpi:nth-child(2) .kpi-bar span { animation-delay: 1.05s; }
.kpi:nth-child(3) .kpi-bar span { animation-delay: 1.2s; }
.kpi:nth-child(4) .kpi-bar span { animation-delay: 1.35s; }
@keyframes fill { from { width: 0; } }
.kpi { transition: transform .25s ease; }
.kpi:hover { transform: translateY(-3px) scale(1.02); }
.kpi-letter { animation: pulse-letter 3.2s ease-in-out infinite; }
.kpi:nth-child(2) .kpi-letter { animation-delay: .8s; }
.kpi:nth-child(3) .kpi-letter { animation-delay: 1.6s; }
.kpi:nth-child(4) .kpi-letter { animation-delay: 2.4s; }
@keyframes pulse-letter { 0%, 70%, 100% { background: var(--navy); transform: none; } 80% { background: var(--orange); transform: scale(1.12) rotate(-6deg); } }
.board-chip { animation: chip 2.4s ease-in-out infinite; }
@keyframes chip { 0%, 100% { box-shadow: 0 0 0 0 rgba(0, 158, 96, .55); } 50% { box-shadow: 0 0 0 8px rgba(0, 158, 96, 0); } }
.board-foot span { animation: tag-in .5s both; }
.board-foot span:nth-child(1) { animation-delay: 1.5s; } .board-foot span:nth-child(2) { animation-delay: 1.6s; }
.board-foot span:nth-child(3) { animation-delay: 1.7s; } .board-foot span:nth-child(4) { animation-delay: 1.8s; }
.board-foot span:nth-child(5) { animation-delay: 1.9s; } .board-foot span:nth-child(6) { animation-delay: 2s; }
@keyframes tag-in { from { opacity: 0; transform: translateY(8px) scale(.9); } }

/* Formes animées */
.shapes { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.page-hero .shapes { z-index: 0; }
.page-hero .container { z-index: 1; }
.sh { position: absolute; display: block; }
.sh-ring { width: 160px; height: 160px; border: 3px solid rgba(0, 158, 96, .45); border-radius: 50%; top: 12%; right: 6%; animation: spin-float 18s linear infinite; }
.sh-ring::after { content: ""; position: absolute; top: -7px; left: 50%; width: 12px; height: 12px; border-radius: 50%; background: var(--orange); }
.sh-ring2 { width: 90px; height: 90px; border: 2px dashed rgba(255, 255, 255, .25); border-radius: 50%; bottom: 14%; left: 4%; animation: spin 22s linear infinite reverse; }
.sh-dot { width: 18px; height: 18px; border-radius: 50%; background: var(--orange); top: 22%; left: 46%; animation: bob 5s ease-in-out infinite; box-shadow: 0 0 24px rgba(0, 158, 96, .8); }
.sh-square { width: 46px; height: 46px; border: 3px solid rgba(255, 255, 255, .22); border-radius: 10px; bottom: 18%; right: 38%; animation: spin-bob 12s ease-in-out infinite; }
.sh-tri { width: 54px; height: 48px; background: linear-gradient(135deg, var(--orange), #FCD116); clip-path: polygon(50% 0, 100% 100%, 0 100%); opacity: .55; top: 64%; right: 8%; animation: spin-bob 14s ease-in-out infinite reverse; }
.sh-plus { width: 28px; height: 28px; top: 10%; left: 6%; animation: spin 10s linear infinite; }
.sh-plus::before, .sh-plus::after { content: ""; position: absolute; background: rgba(255, 178, 127, .7); border-radius: 3px; }
.sh-plus::before { left: 11px; top: 0; width: 6px; height: 28px; }
.sh-plus::after { top: 11px; left: 0; width: 28px; height: 6px; }
.sh-dots { width: 120px; height: 80px; bottom: 8%; left: 40%; background-image: radial-gradient(rgba(255, 255, 255, .35) 2px, transparent 2.5px); background-size: 16px 16px; animation: drift 9s ease-in-out infinite; }
.sh-blob { width: 420px; height: 420px; border-radius: 50%; top: -160px; left: -140px; background: radial-gradient(circle, rgba(0, 158, 96, .22), transparent 65%); animation: blob 16s ease-in-out infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes spin-float { 0% { transform: rotate(0) translateY(0); } 50% { transform: rotate(180deg) translateY(16px); } 100% { transform: rotate(360deg) translateY(0); } }
@keyframes bob { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(14px, -22px); } }
@keyframes spin-bob { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-24px) rotate(90deg); } }
@keyframes drift { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(30px); } }
@keyframes blob { 0%, 100% { transform: translate(0, 0) scale(1); } 33% { transform: translate(80px, 40px) scale(1.15); } 66% { transform: translate(30px, 90px) scale(.9); } }
@media (max-width: 720px) { .sh-ring { width: 100px; height: 100px; } .sh-dots, .sh-square { display: none; } }

/* Bandeau défilant */
.marquee { overflow: hidden; background: var(--navy); padding: 18px 0; position: relative; }
.marquee::before, .marquee::after { content: ""; position: absolute; top: 0; bottom: 0; width: 80px; z-index: 1; }
.marquee::before { left: 0; background: linear-gradient(90deg, var(--navy), transparent); }
.marquee::after { right: 0; background: linear-gradient(-90deg, var(--navy), transparent); }
.marquee-track { display: flex; align-items: center; gap: 28px; width: max-content; animation: marquee 38s linear infinite; }
.marquee-track span { color: #fff; font-weight: 800; font-size: 1.05rem; letter-spacing: .04em; white-space: nowrap; text-transform: uppercase; }
.marquee-track i { color: var(--orange); font-style: normal; font-size: .9rem; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Révélations au défilement : variantes */
.reveal { transition: opacity .7s cubic-bezier(.2, .7, .2, 1), transform .7s cubic-bezier(.2, .7, .2, 1); }
.reveal.from-left { transform: translateX(-36px); }
.reveal.from-right { transform: translateX(36px); }
.reveal.zoom { transform: scale(.92); }
.reveal.is-visible { transform: none; }

/* Soulignement animé des sur-titres */
.section-head .eyebrow, .who .eyebrow, .why .eyebrow, .contact-info .eyebrow { position: relative; padding-bottom: 8px; }
.section-head .eyebrow::after, .who .eyebrow::after, .why .eyebrow::after, .contact-info .eyebrow::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 0; border-radius: 3px;
  background: var(--orange); transition: width .9s .2s cubic-bezier(.2, .7, .2, 1);
}
.section-head.center .eyebrow::after { left: 50%; transform: translateX(-50%); }
.in-view .eyebrow::after { width: 48px; }

/* Cartes : icône qui bouge, lueur au survol */
.card { position: relative; overflow: hidden; }
.card::before {
  content: ""; position: absolute; inset: auto -40% -60% auto; width: 220px; height: 220px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 158, 96, .14), transparent 70%);
  transform: scale(0); transition: transform .5s ease;
}
.card:hover::before { transform: scale(1.4); }
.card:hover .icon, .why-point:hover .icon, .sector:hover .icon, .info-item:hover .icon { animation: wiggle .6s ease; }
@keyframes wiggle { 0%, 100% { transform: none; } 25% { transform: rotate(-10deg) scale(1.08); } 50% { transform: rotate(8deg) scale(1.1); } 75% { transform: rotate(-4deg); } }
.icon { transition: background .3s ease, color .3s ease; }
.card:hover .icon:not(.icon-navy) { background: var(--orange); color: #fff; }
.sector { transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.sector:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(0, 158, 96, .35); }
.project { transition: transform .25s ease, box-shadow .25s ease; }
.project:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.project-top { overflow: hidden; }
.project-top::after { content: ""; position: absolute; right: -30px; top: -30px; width: 110px; height: 110px; border: 14px solid rgba(0, 158, 96, .25); border-radius: 50%; transition: transform .6s ease; }
.project:hover .project-top::after { transform: scale(1.3) rotate(30deg); }
.mission-card { transition: transform .25s ease, box-shadow .25s ease; }
.mission:hover .mission-card { transform: translateX(6px); box-shadow: var(--shadow); }
.mission:hover .mission-dot { background: var(--orange); color: #fff; }
.mission-dot { transition: background .3s, color .3s; }
.mvv-item, .value { transition: transform .25s ease, box-shadow .25s ease; }
.mvv-item:hover, .value:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

/* Étapes : numéro lumineux */
.step { transition: transform .3s ease, border-color .3s ease, background .3s ease; }
.step:hover { transform: translateY(-6px); border-color: var(--orange); background: #1B4A88; }
.step::before { transition: text-shadow .3s ease, transform .3s ease; display: inline-block; }
.step:hover::before { text-shadow: 0 0 24px rgba(0, 158, 96, .9); transform: scale(1.12); }

/* Boutons : reflet qui traverse */
.btn { position: relative; overflow: hidden; }
.btn-primary::after, .btn-whatsapp::after, .btn-light::after {
  content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .45), transparent);
  transform: skewX(-20deg); animation: shine 4.5s ease-in-out infinite;
}
@keyframes shine { 0%, 70% { left: -60%; } 100% { left: 130%; } }
.btn svg { transition: transform .25s ease; }
.btn:hover svg { transform: translateX(4px); }

/* CTA : anneau en rotation */
.cta::after { animation: spin 26s linear infinite; border-style: dashed; }
.cta::before { content: ""; position: absolute; left: -60px; top: -60px; width: 160px; height: 160px; border-radius: 50%; background: rgba(255, 255, 255, .08); animation: bob 8s ease-in-out infinite; }
.cta > div { position: relative; z-index: 1; }

/* Carte de citation */
.quote-card::before { animation: bob 6s ease-in-out infinite; }

/* Bouton WhatsApp flottant : onde */
.wa-float::before, .wa-float::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #1FAF54;
  animation: ripple 2.6s ease-out infinite;
}
.wa-float::after { animation-delay: 1.3s; }
@keyframes ripple { from { transform: scale(1); opacity: .8; } to { transform: scale(1.8); opacity: 0; } }

/* Carte « en bref » : bordure lumineuse */
.facts { position: relative; overflow: hidden; }
.facts::before {
  content: ""; position: absolute; width: 250%; height: 250%; left: -75%; top: -75%; z-index: 0;
  background: conic-gradient(from 0deg, transparent 0 70%, rgba(0, 158, 96, .9) 85%, transparent 100%);
  animation: spin 6s linear infinite;
}
.facts::after { content: ""; position: absolute; inset: 2px; border-radius: 20px; background: var(--navy); z-index: 0; }
.facts > * { position: relative; z-index: 1; }

/* Mouvement réduit : on coupe tout */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
  .marquee-track { transform: none; }
  .progress-bar { display: none; }
}
.stat-value .num { color: var(--navy); }

/* Offre sur mesure */
.custom-offer {
  margin-top: 24px; display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: center;
  background: var(--navy); color: #C9D0E3; border-radius: var(--radius-lg); padding: 28px 32px; position: relative; overflow: hidden;
}
.custom-offer::after { content: ""; position: absolute; right: -50px; top: -50px; width: 160px; height: 160px; border-radius: 50%; border: 24px solid rgba(0, 158, 96, .18); animation: spin 20s linear infinite; }
.custom-offer .icon { background: var(--orange); color: #fff; margin: 0; }
.custom-offer h3 { color: #fff; margin-bottom: 4px; }
.custom-offer p { margin: 0; color: #AEB6CF; }
.custom-offer .btn { position: relative; z-index: 1; }
@media (max-width: 720px) { .custom-offer { grid-template-columns: 1fr; } }

/* ---------- Bénéfices ---------- */
.hero-lead strong { color: #fff; font-weight: 700; }
.benefits-section { background: linear-gradient(180deg, #fff 0%, var(--bg-soft) 100%); }
.benefit {
  position: relative; text-align: center; padding: 40px 30px 34px;
  background: #fff; border-radius: var(--radius-lg); border: 1px solid var(--line);
  transition: transform .3s ease, box-shadow .3s ease;
  overflow: hidden;
}
.benefit::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: linear-gradient(90deg, var(--orange), #FCD116); transform: scaleX(0); transition: transform .4s ease; }
.benefit:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.benefit:hover::after { transform: scaleX(1); }
.benefit-icon {
  width: 76px; height: 76px; margin: 0 auto 20px; border-radius: 50%;
  display: grid; place-items: center; color: #fff;
  background: linear-gradient(135deg, var(--orange), #007A4A);
  box-shadow: 0 12px 26px rgba(0, 158, 96, .35);
  animation: bob 5s ease-in-out infinite;
}
.benefit:nth-child(2) .benefit-icon { animation-delay: .8s; }
.benefit:nth-child(3) .benefit-icon { animation-delay: 1.6s; }
.benefit-icon svg { width: 36px; height: 36px; }
.benefit h3 { font-size: 1.15rem; }
.benefit p { color: var(--muted); margin: 0; }

.together {
  margin-top: 30px; display: grid; grid-template-columns: auto 1fr; gap: 26px; align-items: center;
  background: var(--navy); border-radius: var(--radius-lg); padding: 34px 38px; color: #C9D0E3;
  position: relative; overflow: hidden;
}
.together::after { content: ""; position: absolute; right: -60px; bottom: -80px; width: 220px; height: 220px; border-radius: 50%; border: 30px solid rgba(0, 158, 96, .18); animation: spin 24s linear infinite; }
.together-mark { width: 74px; height: 74px; border-radius: 22px; background: var(--orange); color: #fff; display: grid; place-items: center; animation: pulse-letter 3.5s ease-in-out infinite; }
.together-mark svg { width: 36px; height: 36px; }
.together h3 { color: #fff; font-size: clamp(1.3rem, 2.4vw, 1.75rem); margin-bottom: 6px; }
.together h3 span { color: var(--orange-2); }
.together p { margin: 0; max-width: 820px; position: relative; z-index: 1; }

/* ---------- Changement culturel ---------- */
.culture { display: grid; grid-template-columns: 1.1fr .9fr; gap: 60px; align-items: center; }
.culture .lead { font-size: 1.1rem; color: var(--navy); font-weight: 600; }
.culture-goal { margin-top: 18px; background: var(--orange-soft); border-left: 4px solid var(--orange); border-radius: 0 12px 12px 0; padding: 16px 20px; color: var(--navy); }
.culture-goal strong { color: var(--orange); }
.pillars { text-align: center; }
.pillars-roof {
  position: relative; background: var(--navy); color: #fff; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; font-size: .9rem;
  padding: 46px 20px 18px; clip-path: polygon(50% 0, 100% 70%, 100% 100%, 0 100%, 0 70%);
}
.pillars-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; padding: 12px 10px; background: var(--bg-soft); }
.pillar {
  display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 22px 10px; border-radius: 12px;
  background: #fff; border: 1px solid var(--line); min-height: 210px; justify-content: center;
  transition: transform .3s ease;
}
.pillar:hover { transform: translateY(-6px); }
.pillar span { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--orange-soft); color: var(--orange); }
.pillar span svg { width: 24px; height: 24px; }
.pillar strong { color: var(--navy); font-size: .95rem; line-height: 1.25; }
.pillar em { font-style: normal; font-size: .8rem; color: var(--muted); line-height: 1.35; }
.pillar-main { background: var(--orange); border-color: var(--orange); transform: translateY(-10px); box-shadow: 0 16px 30px rgba(0, 158, 96, .35); }
.pillar-main:hover { transform: translateY(-16px); }
.pillar-main span { background: rgba(255, 255, 255, .2); color: #fff; animation: heartbeat 1.8s ease-in-out infinite; }
.pillar-main strong, .pillar-main em { color: #fff; }
@keyframes heartbeat { 0%, 100% { transform: scale(1); } 15% { transform: scale(1.15); } 30% { transform: scale(1); } 45% { transform: scale(1.1); } }
.pillars-base { background: var(--navy); color: #FCD116; font-weight: 800; padding: 14px; border-radius: 0 0 14px 14px; font-size: .9rem; letter-spacing: .04em; }
@media (max-width: 960px) { .culture { grid-template-columns: 1fr; gap: 40px; } }
@media (max-width: 520px) { .pillar { min-height: 0; padding: 16px 6px; } .pillar em { display: none; } .together { grid-template-columns: 1fr; padding: 28px 24px; } }

/* ==========================================================
   LMG – compléments métrologie
   ========================================================== */
.lmg-logo { color: var(--navy); width: auto; }
.lmg-logo text { font-family: var(--font); }
.lmg-needle { transform-origin: 26px 42px; animation: needle 6s ease-in-out infinite; }
@keyframes needle { 0%, 100% { transform: rotate(-38deg); } 40% { transform: rotate(12deg); } 55% { transform: rotate(4deg); } 70% { transform: rotate(8deg); } }
.site-footer .lmg-logo { color: #fff; }

.card .tags { margin: 4px 0 20px; }
.note-line { display: flex; gap: 12px; align-items: flex-start; margin: 30px 0 0; color: var(--muted); font-size: .96rem; }
.note-line svg { width: 22px; height: 22px; color: var(--orange); flex: none; margin-top: 2px; }

/* Calcul d'échéance */
.calc { display: grid; grid-template-columns: 1.1fr .9fr; gap: 32px; align-items: start; }
.calc > * { min-width: 0; }
.calc-form h3 { font-size: 1.3rem; margin-bottom: 18px; }
.calc-result { display: none; margin-top: 20px; padding: 20px 22px; border-radius: var(--radius); background: var(--bg-soft); border-left: 4px solid var(--orange); }
.calc-result.show { display: block; }
.calc-label { font-size: .88rem; color: var(--muted); }
.calc-date { font-size: 1.6rem; font-weight: 900; color: var(--navy); line-height: 1.2; margin: 2px 0 10px; }
.badge { display: inline-flex; align-items: center; gap: 6px; font-size: .84rem; font-weight: 700; padding: 6px 12px; border-radius: 999px; }
.badge::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.badge-ok { background: #E9F7EF; color: #17663A; }
.badge-warn { background: #FFF4D6; color: #8A5A00; }
.badge-late { background: #FDE8E6; color: #B3261E; }
.calc-cta { margin: 14px 0 0; font-weight: 700; }
.facts.period { position: relative; top: 0; }
.facts.period dl div { display: flex; justify-content: space-between; gap: 16px; align-items: baseline; }
.facts.period dt { margin: 0; font-size: .72rem; }
.facts.period dd { font-weight: 700; white-space: nowrap; }
.period-note { font-size: .84rem; color: #AEB6CF; margin: 0; }
@media (max-width: 960px) { .calc { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .facts.period dl div { flex-direction: column; gap: 2px; } .facts.period dd { white-space: normal; } }

/* Liste d'instruments du devis */
.instr-head, .instr-row { display: grid; grid-template-columns: 1fr 170px 72px 44px; gap: 8px; align-items: center; }
.instr-head { font-size: .74rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.instr-list { display: grid; gap: 8px; }
.instr-row input, .instr-row select { width: 100%; font: inherit; font-size: .95rem; color: var(--ink); padding: 11px 12px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; }
.instr-row input:focus, .instr-row select:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 4px rgba(0, 158, 96, .12); }
.row-del { width: 44px; height: 44px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; color: var(--muted); font-size: 1.3rem; line-height: 1; cursor: pointer; }
.row-del:hover { border-color: #F3B4B4; color: #B3261E; }
.add-row { width: 100%; margin-top: 10px; padding: 12px; border-radius: 12px; border: 1.5px dashed #B9C0D4; background: none; font: inherit; font-weight: 700; color: var(--navy); cursor: pointer; }
.add-row:hover { border-color: var(--orange); color: var(--orange); }
@media (max-width: 620px) {
  .instr-head { display: none; }
  .instr-row { grid-template-columns: 1fr 72px 44px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
  .instr-row input.instr-desc { grid-column: 1 / -1; }
}

/* Encart Mbolo Lean */
.lean-offer { background: #fff; color: var(--text); border: 1px solid var(--line); box-shadow: var(--shadow); }
.lean-offer h3 { color: var(--navy); }
.lean-offer p { color: var(--muted); }
.lean-mark { line-height: .95; padding-right: 24px; border-right: 2px solid var(--line); }
.lean-mark b { display: block; color: #F05A00; font-size: 2rem; font-weight: 900; letter-spacing: -.02em; }
.lean-mark span { display: block; color: var(--navy); font-size: .9rem; font-weight: 800; letter-spacing: .38em; text-align: center; }
@media (max-width: 720px) { .lean-mark { border-right: 0; padding-right: 0; } }

/* ==========================================================
   Accents drapeau gabonais (vert · jaune · bleu)
   ========================================================== */
:root { --gab-green: #009E60; --gab-yellow: #FCD116; --gab-blue: #3A75C4; }
.hero h1 em, .typed-wrap { color: var(--gab-yellow); }
.caret { background: var(--gab-yellow); }
.hero .eyebrow { background: rgba(252, 209, 22, .14); }
.step::before { color: var(--gab-yellow); }
.step:hover::before { text-shadow: 0 0 24px rgba(252, 209, 22, .8); }
.step:hover { border-color: var(--gab-yellow); }
.marquee-track i { color: var(--gab-yellow); }
.board-chip { background: var(--gab-green); }
@keyframes pulse-letter { 0%, 70%, 100% { background: var(--navy); transform: none; } 80% { background: var(--gab-green); transform: scale(1.12) rotate(-6deg); } }
.kpi:nth-child(2) .kpi-bar span { background: linear-gradient(90deg, #E2B800, var(--gab-yellow)); }
.kpi:nth-child(3) .kpi-bar span { background: linear-gradient(90deg, var(--gab-blue), #6C9BDB); }
.kpi:nth-child(4) .kpi-bar span { background: linear-gradient(90deg, var(--gab-green), var(--gab-yellow), var(--gab-blue)); }
.progress-bar { background: linear-gradient(90deg, var(--gab-green) 0 33.3%, var(--gab-yellow) 33.3% 66.6%, var(--gab-blue) 66.6%); }
.sh-dot { background: var(--gab-yellow); box-shadow: 0 0 24px rgba(252, 209, 22, .8); }
.sh-ring { border-color: rgba(252, 209, 22, .5); }
.sh-ring::after { background: var(--gab-yellow); }
.sh-tri { background: linear-gradient(135deg, var(--gab-green), var(--gab-yellow)); }
.sh-blob { background: radial-gradient(circle, rgba(58, 117, 196, .35), transparent 65%); }
.page-hero::before { background: radial-gradient(circle, rgba(252, 209, 22, .28), transparent 70%); }
.hero, .page-hero, .site-footer { position: relative; }
.hero::before, .page-hero::after, .site-footer::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; z-index: 2;
  background: linear-gradient(90deg, var(--gab-green) 0 33.3%, var(--gab-yellow) 33.3% 66.6%, var(--gab-blue) 66.6%);
}
.site-footer::before { top: 0; bottom: auto; }
.section-navy { background: linear-gradient(160deg, var(--navy) 0%, #0A2347 100%); }
.cta { background: linear-gradient(120deg, var(--gab-green) 0%, #007A4A 55%, var(--navy) 100%); }
.cta .btn-light { color: var(--navy); }
.cta .btn-light:hover { background: var(--gab-yellow); }
.facts::before { background: conic-gradient(from 0deg, transparent 0 55%, var(--gab-green) 70%, var(--gab-yellow) 82%, var(--gab-blue) 94%, transparent 100%); }
.facts dt { color: var(--gab-yellow); }
.pillars-base { color: var(--gab-yellow); }
.pillars-roof { border-bottom: 4px solid var(--gab-yellow); }
.pillar:nth-child(1) span { background: #E5F6EE; color: var(--gab-green); }
.pillar:nth-child(3) span { background: #E8F0FA; color: var(--gab-blue); }
.mvv-item:nth-child(1) { border-top-color: var(--gab-green); }
.mvv-item:nth-child(2) { border-top-color: var(--gab-yellow); }
.mvv-item:nth-child(3) { border-top-color: var(--gab-blue); }
.benefit:nth-child(2) .benefit-icon { background: linear-gradient(135deg, #F2C200, #D9A800); box-shadow: 0 12px 26px rgba(217, 168, 0, .35); }
.benefit:nth-child(3) .benefit-icon { background: linear-gradient(135deg, var(--gab-blue), #2A5A9C); box-shadow: 0 12px 26px rgba(58, 117, 196, .35); }
.benefit::after { background: linear-gradient(90deg, var(--gab-green) 0 33.3%, var(--gab-yellow) 33.3% 66.6%, var(--gab-blue) 66.6%); }
.together-mark { background: var(--gab-yellow); color: var(--navy); }
@keyframes pulse-mark { 0%, 70%, 100% { transform: none; } 80% { transform: scale(1.1) rotate(-6deg); } }
.together-mark { animation: pulse-mark 3.5s ease-in-out infinite; }
.together h3 span { color: var(--gab-yellow); }
.custom-offer .icon { background: var(--gab-yellow); color: var(--navy); }
.card-navy .icon { background: var(--gab-yellow); color: var(--navy); }
.project-top .status { background: var(--gab-green); }
.site-footer a:hover { color: var(--gab-yellow); }
.site-footer .brand .brand-tag, .page-hero .breadcrumb a { color: var(--gab-yellow); }
.quote-card::before { color: var(--gab-yellow); }
.calc-result { border-left-color: var(--gab-blue); }
.brand .brand-tag { color: var(--gab-green); }
.brand .brand-tag::before { background: linear-gradient(var(--gab-green) 0 33%, var(--gab-yellow) 33% 66%, var(--gab-blue) 66%); }
.icon { background: var(--orange-soft); }
.grid > .card:nth-child(3n+2) .icon { background: #FFF8D6; color: #B08A00; }
.grid > .card:nth-child(3n) .icon { background: #E8F0FA; color: var(--gab-blue); }
.grid > .sector:nth-child(3n+2) .icon { background: #FFF8D6; color: #B08A00; }
.grid > .sector:nth-child(3n) .icon { background: #E8F0FA; color: var(--gab-blue); }
.card:hover .icon:not(.icon-navy) { color: #fff; }
.grid > .card:nth-child(3n+2):hover .icon { background: #E2B800; }
.grid > .card:nth-child(3n):hover .icon { background: var(--gab-blue); }
.sector:hover { border-color: rgba(58, 117, 196, .4); }
.wa-float::before, .wa-float::after { border-color: #1FAF54; }
.btn-ghost:hover { border-color: var(--gab-yellow); }

/* ==========================================================
   Visuels : photos, galerie, vidéo, formules
   ========================================================== */
/* Logo officiel LMG */
.brand-logo.logo-img { height: 54px; width: auto; }
.site-footer .logo-img { background: #fff; border-radius: 14px; padding: 6px 8px; height: 60px; }

/* Hero avec photo */
.hero {
  background:
    radial-gradient(800px 460px at 90% -10%, rgba(252, 209, 22, .20), transparent 60%),
    linear-gradient(100deg, rgba(10, 35, 71, .97) 0%, rgba(14, 47, 94, .90) 46%, rgba(14, 47, 94, .58) 100%),
    url("../img/hero-pipette.webp") center / cover no-repeat;
}
.page-hero { background-size: cover; background-position: center; }
.ph-prestations { background-image: linear-gradient(100deg, rgba(10, 35, 71, .96), rgba(14, 47, 94, .78)), url("../img/labo-balance.webp"); }
.ph-domaines { background-image: linear-gradient(100deg, rgba(10, 35, 71, .96), rgba(14, 47, 94, .76)), url("../img/dimensionnel-outils.webp"); }
.ph-apropos { background-image: linear-gradient(100deg, rgba(10, 35, 71, .96), rgba(14, 47, 94, .76)), url("../img/hero-pipette.webp"); }
.ph-contact { background-image: linear-gradient(100deg, rgba(10, 35, 71, .96), rgba(14, 47, 94, .80)), url("../img/labo-pesee.webp"); }

/* Cartes avec photo */
.mcard { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg, 22px); overflow: hidden; display: flex; flex-direction: column; transition: transform .25s ease, box-shadow .25s ease; }
.mcard:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.mcard-img { position: relative; height: 210px; overflow: hidden; background: var(--bg-soft); }
.mcard-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.mcard:hover .mcard-img img { transform: scale(1.06); }
.mcard-img .pill { position: absolute; left: 16px; top: 16px; background: rgba(255, 255, 255, .94); color: var(--navy); font-size: .74rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; }
.mcard-img::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: linear-gradient(90deg, var(--gab-green) 0 33.3%, var(--gab-yellow) 33.3% 66.6%, var(--gab-blue) 66.6%); }
.mcard-body { padding: 24px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.mcard-body h3 { margin-bottom: 8px; }
.mcard-body p { color: var(--text); }
.mcard-body .tags { margin: 6px 0 18px; }
.mcard-body .more { margin-top: auto; font-weight: 700; display: inline-flex; align-items: center; gap: 6px; color: var(--orange); }
.mcard-body .more svg { width: 18px; height: 18px; }

/* Galerie d'instruments */
.gallery { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.inst { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 18px 14px 16px; text-align: center; transition: transform .25s ease, box-shadow .25s ease, border-color .25s; }
.inst:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: transparent; }
.inst-img { height: 130px; display: grid; place-items: center; margin-bottom: 12px; }
.inst-img img { max-height: 130px; max-width: 100%; width: auto; object-fit: contain; }
.inst strong { display: block; color: var(--navy); font-size: .95rem; }
.inst span { display: block; font-size: .78rem; color: var(--muted); margin-top: 2px; }
.inst:nth-child(3n+1) span { color: var(--gab-green); }
.inst:nth-child(3n+2) span { color: #B08A00; }
.inst:nth-child(3n) span { color: var(--gab-blue); }
@media (max-width: 1080px) { .gallery { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 760px) { .gallery { grid-template-columns: repeat(2, 1fr); } }

/* Section vidéo terrain */
.video-split { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.video-split > * { min-width: 0; }
.phone { position: relative; width: 100%; max-width: 330px; margin-inline: auto; aspect-ratio: 9 / 16; border-radius: 34px; padding: 10px; background: linear-gradient(160deg, #0A2347, #15407A); box-shadow: 0 40px 80px -30px rgba(10, 35, 71, .65); }
.phone::before { content: ""; position: absolute; inset: -14px; border-radius: 44px; background: linear-gradient(135deg, var(--gab-green), var(--gab-yellow), var(--gab-blue)); z-index: -1; opacity: .9; }
.phone video { width: 100%; height: 100%; object-fit: cover; border-radius: 26px; display: block; background: #0A2347; }
.phone-badge { position: absolute; left: 22px; bottom: 26px; right: 22px; background: rgba(10, 35, 71, .82); color: #fff; border-radius: 16px; padding: 12px 14px; font-size: .84rem; line-height: 1.4; backdrop-filter: blur(4px); }
.phone-badge b { display: block; color: var(--gab-yellow); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 2px; }
.video-toggle { position: absolute; top: 22px; right: 22px; width: 42px; height: 42px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .9); color: var(--navy); display: grid; place-items: center; cursor: pointer; }
.video-toggle svg { width: 18px; height: 18px; }
.mini-steps { list-style: none; padding: 0; margin: 26px 0 30px; display: grid; gap: 14px; }
.mini-steps li { display: flex; gap: 14px; align-items: flex-start; }
.mini-steps li b { flex: none; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; color: #fff; background: var(--gab-green); font-size: .9rem; }
.mini-steps li:nth-child(2) b { background: #E2B800; color: var(--navy); }
.mini-steps li:nth-child(3) b { background: var(--gab-blue); }
.mini-steps strong { display: block; color: var(--navy); }
.mini-steps span { color: var(--muted); font-size: .95rem; }
@media (max-width: 960px) { .video-split { grid-template-columns: 1fr; gap: 40px; } .phone { max-width: 290px; } }

/* Formules BASIC / PRO / BASIC+PRO */
.offers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.offer { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 34px 28px 30px; display: flex; flex-direction: column; transition: transform .25s ease, box-shadow .25s; }
.offer:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.offer-tag { display: inline-block; align-self: flex-start; font-size: .78rem; font-weight: 800; letter-spacing: .12em; padding: 7px 14px; border-radius: 10px; margin-bottom: 18px; background: #E5F6EE; color: var(--gab-green); }
.offer:nth-child(2) .offer-tag { background: #FFF6CC; color: #8A6D00; }
.offer:nth-child(3) .offer-tag { background: #E8F0FA; color: var(--gab-blue); }
.offer h3 { font-size: 1.35rem; margin-bottom: 10px; }
.offer p { color: var(--text); }
.offer .checklist { margin: 18px 0 24px; }
.offer .btn { margin-top: auto; }
.offer-best { background: linear-gradient(160deg, var(--navy), #0A2347); border-color: transparent; color: #C9D0E3; transform: translateY(-10px); box-shadow: 0 30px 60px -30px rgba(10, 35, 71, .7); }
.offer-best:hover { transform: translateY(-14px); }
.offer-best h3 { color: #fff; }
.offer-best p, .offer-best .checklist li { color: #C9D0E3; }
.offer-ribbon { position: absolute; top: -14px; right: 22px; background: var(--gab-yellow); color: var(--navy); font-size: .74rem; font-weight: 800; padding: 6px 12px; border-radius: 999px; }
@media (max-width: 960px) { .offers { grid-template-columns: 1fr; } .offer-best { transform: none; } }

/* Tests de contrôle (normes) */
.tests { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.test { display: grid; grid-template-columns: 170px 1fr; gap: 24px; background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 26px; align-items: start; }
.test-img { background: var(--bg-soft); border-radius: 18px; height: 100%; min-height: 220px; display: grid; place-items: center; padding: 14px; }
.test-img img { max-height: 220px; max-width: 100%; object-fit: contain; }
.test h3 { margin-bottom: 4px; }
.test .norm { display: inline-block; font-size: .78rem; font-weight: 800; color: var(--gab-blue); background: #E8F0FA; padding: 5px 10px; border-radius: 8px; margin-bottom: 12px; letter-spacing: .04em; }
.test .checklist { margin: 4px 0 14px; }
.warn { display: flex; gap: 10px; align-items: flex-start; background: #FFF6CC; color: #5C4800; border-radius: 12px; padding: 12px 14px; font-size: .9rem; font-weight: 600; margin: 0; }
.warn svg { width: 20px; height: 20px; flex: none; color: #B08A00; }
@media (max-width: 1080px) { .tests { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .test { grid-template-columns: 1fr; } .test-img { min-height: 180px; } }

/* Secteurs en image */
.scard { position: relative; border-radius: 22px; overflow: hidden; min-height: 300px; display: flex; align-items: flex-end; color: #fff; isolation: isolate; }
.scard img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .7s ease; }
.scard::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10, 35, 71, 0) 20%, rgba(10, 35, 71, .92) 100%); }
.scard:hover img { transform: scale(1.07); }
.scard-body { padding: 22px; }
.scard h3 { color: #fff; font-size: 1.15rem; margin-bottom: 6px; }
.scard p { color: #DCE3F0; font-size: .9rem; margin: 0; }
.scard-body::before { content: ""; display: block; width: 44px; height: 4px; border-radius: 2px; margin-bottom: 12px; background: var(--gab-yellow); }
.grid > .scard:nth-child(3n+1) .scard-body::before { background: var(--gab-green); }
.grid > .scard:nth-child(3n) .scard-body::before { background: var(--gab-blue); }

/* Photo dans « Qui sommes-nous » */
.who-photo { position: relative; border-radius: 22px; overflow: hidden; margin-bottom: 22px; box-shadow: var(--shadow); }
.who-photo img { width: 100%; height: 240px; object-fit: cover; display: block; }
.who-photo figcaption { position: absolute; left: 14px; bottom: 14px; background: rgba(255, 255, 255, .94); color: var(--navy); font-weight: 800; font-size: .82rem; padding: 8px 12px; border-radius: 10px; }
.who-photo figcaption::before { content: "★ "; color: var(--gab-green); }

/* Bandeau image pleine largeur */
.photo-band { position: relative; min-height: 380px; display: flex; align-items: center; color: #fff; background: linear-gradient(90deg, rgba(10, 35, 71, .94) 0%, rgba(14, 47, 94, .70) 60%, rgba(14, 47, 94, .35) 100%), url("../img/dimensionnel-outils.webp") center / cover no-repeat; }
.photo-band h2 { color: #fff; max-width: 640px; }
.photo-band p { color: #DCE3F0; max-width: 600px; font-size: 1.1rem; }
.photo-band .quote-mark { font-size: 4rem; line-height: .6; color: var(--gab-yellow); font-weight: 900; display: block; margin-bottom: 10px; }
.photo-band .sig { color: var(--gab-yellow); font-weight: 700; margin-top: 18px; }
.inst { margin: 0; min-width: 0; }
.who-photo { margin: 0 0 22px; }
.photo-band { padding: 96px 0; }

/* ==========================================================
   Site en une page : ancres et menu actif
   ========================================================== */
html { scroll-padding-top: 84px; }
main section[id] { scroll-margin-top: 0; }
.nav a.nav-link.is-active:not(.btn) { color: var(--gab-green); }
.nav a.nav-link:not(.btn) { position: relative; }
.nav a.nav-link:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 3px; border-radius: 2px; transform: scaleX(0); transition: transform .25s ease; background: linear-gradient(90deg, var(--gab-green) 0 33.3%, var(--gab-yellow) 33.3% 66.6%, var(--gab-blue) 66.6%); }
.nav a.nav-link.is-active:not(.btn)::after, .nav a.nav-link:not(.btn):hover::after { transform: scaleX(1); }
.checklist-sm { margin: 4px 0 0; }
.checklist-sm li { font-size: .92rem; }
.contact-head { margin-bottom: 40px; }
@media (max-width: 960px) { .nav a.nav-link:not(.btn)::after { display: none; } }

/* ==========================================================
   Agrément AGANOR · YouTube · formulaire serveur
   ========================================================== */
.aganor-badge { display: inline-flex; align-items: center; gap: 14px; margin-top: 26px; padding: 10px 18px 10px 10px; border-radius: 16px; background: rgba(255, 255, 255, .96); color: var(--navy); box-shadow: 0 16px 36px -18px rgba(0, 0, 0, .6); border: 2px solid var(--gab-yellow); transition: transform .2s ease; }
.aganor-badge:hover { transform: translateY(-2px); }
.aganor-badge img { width: 56px; height: auto; }
.aganor-badge span { display: flex; flex-direction: column; font-size: .82rem; line-height: 1.35; font-weight: 600; color: #3A4A6B; }
.aganor-badge b { font-size: 1rem; color: var(--navy); font-weight: 800; }

.agrement-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 64px; align-items: center; }
.agrement-grid > * { min-width: 0; }
.agrement h2 { color: #fff; }
.agrement .lead { color: #D6DEEE; }
.agrement .checklist li { color: #E4EAF5; }
.agrement-card { position: relative; background: #fff; border-radius: 28px; padding: 34px 30px 30px; text-align: center; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .55); }
.agrement-card::before { content: ""; position: absolute; inset: -10px; border-radius: 36px; z-index: -1; background: linear-gradient(135deg, var(--gab-green), var(--gab-yellow), var(--gab-blue)); }
.agrement-logo img { width: 200px; height: auto; margin: 0 auto; display: block; }
.agrement-stamp { margin-top: 18px; padding-top: 18px; border-top: 2px dashed #D8DEEA; display: flex; flex-direction: column; gap: 4px; }
.agrement-label { font-size: .74rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--gab-green); }
.agrement-stamp strong { font-size: 1.7rem; font-weight: 900; color: var(--navy); letter-spacing: .02em; }
.agrement-no { display: inline-block; align-self: center; font-family: ui-monospace, "SFMono-Regular", Consolas, monospace; font-size: .95rem; font-weight: 700; color: var(--navy); background: #FFF6CC; border: 1px solid #F2D96B; padding: 6px 12px; border-radius: 10px; }
@media (max-width: 960px) { .agrement-grid { grid-template-columns: 1fr; gap: 44px; } .agrement-card { max-width: 420px; margin: 0 auto; } }

.foot-agrement { display: inline-flex; align-items: center; gap: 12px; margin-top: 18px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); border-radius: 14px; padding: 8px 14px 8px 8px; }
.foot-agrement img { width: 48px; height: auto; background: #fff; border-radius: 10px; padding: 3px; }
.foot-agrement span { display: flex; flex-direction: column; font-size: .8rem; color: #B9C3D8; }
.foot-agrement b { color: #fff; font-size: .9rem; }
.foot-yt { display: inline-flex; align-items: center; gap: 8px; }
.foot-yt svg { width: 20px; height: 20px; color: #FF3B30; }

.video-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-youtube { background: #FF0000; color: #fff; border: 2px solid #FF0000; }
.btn-youtube:hover { background: #D90000; border-color: #D90000; color: #fff; }
.btn-youtube svg { width: 20px; height: 20px; }
.icon.icon-yt { background: #FFE5E5; color: #FF0000; }
.icon.icon-yt svg { width: 22px; height: 22px; }

.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status.is-error { background: #FDE8E6; color: #B3261E; }
.form-status.is-error a { color: #B3261E; font-weight: 700; text-decoration: underline; }
.form-status.is-ok { background: #E9F7EF; color: #17663A; }
.btn.is-loading { opacity: .7; pointer-events: none; }
.btn-light { background: #fff; color: var(--navy); border: 2px solid #fff; }
.btn-light:hover { background: var(--gab-yellow); border-color: var(--gab-yellow); color: var(--navy); transform: translateY(-2px); }
.nav a { white-space: nowrap; }
@media (min-width: 961px) and (max-width: 1240px) {
  .nav { gap: 2px; }
  .nav a { font-size: .88rem; padding: 8px 10px; }
  .nav .btn { padding: 10px 16px; }
  .brand-text .brand-name { font-size: .72rem; }
}
@media (min-width: 961px) and (max-width: 1100px) {
  .brand-text { display: none; }
}
