/* =========================================================
   LOGIKA AFRICA · Design system v2
   Référence : flexport.com. Flat design, aucun dégradé.
   Typographie : Archivo (titres) + Plus Jakarta Sans (texte). Palette : orange, noir, blanc.
   Chaque domaine surcharge --dp (primaire) et --da (accent).
   ========================================================= */

:root {
  /* Palette de marque Logika : bleu nuit + orange + blanc (couleurs officielles des SVG) */
  --ink: #061047;          /* bleu nuit de marque (#021168 légèrement approfondi) */
  --ink-2: #131f5e;
  --ink-3: #2c3a78;
  --paper: #f6f7fa;
  --paper-2: #eceef5;
  --white: #ffffff;
  --accent: #e55c00;       /* orange de marque (proche #d85c00) */
  --accent-dark: #c14e00;
  --accent-soft: #fdece0;
  --muted: #5f6480;
  --line: #e4e6ef;
  --ok: #157f3d;
  --danger: #b42318;
  --radius: 12px;
  --radius-lg: 16px;
  --shadow: 0 1px 3px rgba(20, 20, 20, .08), 0 1px 2px rgba(20, 20, 20, .04);
  --shadow-lg: 0 14px 30px rgba(20, 20, 20, .12);
  --font: 'Manrope', system-ui, -apple-system, sans-serif;
  --font-display: 'Manrope', system-ui, -apple-system, sans-serif;
  --dp: var(--ink);
  --da: var(--accent);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { overflow-x: clip; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.12; font-weight: 700; letter-spacing: -0.02em; }
.container { width: min(1180px, 92vw); margin-inline: auto; }
.container-wide { width: min(1340px, 96vw); margin-inline: auto; }
.section { padding: clamp(64px, 8vw, 104px) 0; }
.w100 { width: 100%; }
.mt { margin-top: 18px; }

svg.lucide { width: 1.1em; height: 1.1em; stroke-width: 1.75; vertical-align: -0.16em; }

.skip-link {
  position: absolute; left: -9999px; top: 0; background: var(--accent);
  color: #fff; padding: 10px 18px; z-index: 200; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ---------- Apparition au scroll ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s cubic-bezier(.22,.61,.36,1); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Boutons (flat, angles doux, style Flexport) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 24px; border-radius: 999px; white-space: nowrap;
  font-family: var(--font-display); font-weight: 600; font-size: 14.5px; line-height: 1.2;
  transition: background .18s ease, color .18s, border-color .18s, transform .18s;
  border: 1.5px solid transparent;
}
.btn:hover { transform: translateY(-1px); }
.btn-lg { padding: 15px 28px; font-size: 16px; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--ink-3); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn-outline { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-outline:hover { border-color: var(--ink); }
.btn-accent { background: var(--da); color: #fff; }
.btn-accent:hover { filter: brightness(.92); }

/* ---------- Annonce + topbar ---------- */
.announce { background: var(--accent); color: #fff; text-align: center; padding: 8px 16px; font-size: 14px; font-weight: 600; }
.topbar { background: var(--paper); color: var(--muted); font-size: 13px; border-bottom: 1px solid var(--line); }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; min-height: 40px; gap: 12px; }
.topbar-contacts { display: flex; gap: 20px; flex-wrap: wrap; }
.topbar a { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; transition: color .2s; }
.topbar a:hover { color: var(--accent); }
.topbar-right { display: flex; align-items: center; gap: 14px; }
.topbar-flags { display: inline-flex; gap: 8px; }
.topbar-flags svg { border-radius: 2px; display: block; }
.gtranslate_wrapper select {
  background: #fff !important; color: var(--ink) !important; border: 1px solid var(--line);
  border-radius: 8px; padding: 7px 10px; font-size: 13px; font-family: var(--font); font-weight: 600; cursor: pointer;
}
.gtranslate_wrapper select option { background: #fff; color: var(--ink); }
.gtranslate_wrapper select:hover { border-color: var(--accent); }

/* ---------- Header : transparent sur le hero, apparaît au scroll ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: transparent;
  border-bottom: 1px solid transparent;
  transform: translateY(0);
  transition: background .3s ease, border-color .3s ease, box-shadow .3s ease, transform .35s ease;
}
.site-header.is-stuck {
  background: #fff; border-bottom-color: var(--line); box-shadow: var(--shadow-lg);
}
/* masqué au tout début, glisse à l'apparition (au scroll) */
.site-header.is-hidden { transform: translateY(-100%); }
.header-inner { display: flex; align-items: center; gap: 28px; min-height: 74px; }
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand-logo { height: 26px; width: auto; transition: filter .3s; }
.logo-invert { filter: invert(1) brightness(1.7); }

.main-nav { display: flex; align-items: center; gap: 2px; flex: 1; }
.nav-link {
  padding: 9px 14px; font-weight: 550; font-size: 15px; color: var(--ink-2);
  border-radius: 8px; display: inline-flex; align-items: center; gap: 5px;
  transition: background .18s, color .18s;
}
.nav-link:hover { background: var(--paper); color: var(--ink); }

/* État transparent (au-dessus du hero, en haut de page) : texte blanc, logo blanc */
.site-header:not(.is-stuck) .nav-link { color: rgba(255,255,255,.94); }
.site-header:not(.is-stuck) .nav-link:hover { background: rgba(255,255,255,.14); color: #fff; }
.site-header:not(.is-stuck) .brand-logo { filter: invert(1) brightness(2.4); }
.site-header:not(.is-stuck) .nav-burger { color: #fff; }
/* Header au-dessus d'une section sombre : redevient transparent + blanc, même après scroll */
.site-header.over-dark { background: transparent; border-bottom-color: transparent; box-shadow: none; }
.site-header.over-dark .nav-link { color: rgba(255,255,255,.94); }
.site-header.over-dark .nav-link:hover { background: rgba(255,255,255,.14); color: #fff; }
.site-header.over-dark .brand-logo { filter: invert(1) brightness(2.4); }
.site-header.over-dark .nav-burger { color: #fff; }
.header-actions { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }
.header-flags { display: inline-flex; gap: 9px; }
.header-flags svg { border-radius: 3px; display: block; box-shadow: 0 0 0 1px rgba(0,0,0,.06); }
.header-flags a { transition: transform .18s; }
.header-flags a:hover { transform: translateY(-1px); }
.header-actions .gtranslate_wrapper select {
  background: #fff; color: var(--ink-2); border: 1px solid var(--line);
  border-radius: 8px; padding: 7px 10px; font-size: 13.5px; font-family: var(--font);
  font-weight: 600; cursor: pointer; transition: border-color .18s;
}
.header-actions .gtranslate_wrapper select:hover { border-color: var(--accent); }
.nav-mobile-cta { display: none; }

.nav-drop { position: relative; }
.drop-panel {
  position: absolute; top: calc(100% + 8px); left: 0;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); padding: 10px; width: 400px;
  display: grid; gap: 2px;
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
}
.drop-panel-sm { width: 330px; }
.drop-panel-mega { width: 600px; padding: 14px; }
.drop-panel-mega .drop-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.drop-foot {
  display: flex; align-items: center; gap: 9px; margin-top: 8px;
  padding: 13px 14px; border-radius: 12px; background: var(--ink); color: #fff;
  font-weight: 600; font-size: 13.5px; transition: background .2s;
}
.drop-foot:hover { background: var(--accent); }
.drop-foot svg.lucide:last-child { margin-left: auto; }
.nav-drop:hover .drop-panel, .nav-drop:focus-within .drop-panel { opacity: 1; visibility: visible; transform: none; }
.drop-item { display: flex; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 10px; transition: background .15s; }
.drop-item:hover { background: var(--paper); }
.drop-item strong { display: block; font-size: 14.5px; }
.drop-item small { color: var(--muted); font-size: 12.5px; display: block; line-height: 1.4; }
.drop-ico {
  flex: 0 0 40px; height: 40px; border-radius: 10px;
  display: grid; place-items: center;
  color: var(--dp, var(--ink));
  background: color-mix(in srgb, var(--dp, var(--ink)) 10%, #fff);
}
.nav-burger { display: none; padding: 8px; border-radius: 8px; }

/* ---------- Flash ---------- */
.flash-zone { margin-top: 18px; }
.flash { padding: 14px 18px; border-radius: 10px; font-weight: 600; margin-bottom: 8px; }
.flash-success { background: #e6f4ea; color: var(--ok); }
.flash-error { background: #fdecea; color: var(--danger); }

/* ---------- HERO slider (plein écran, images plein cadre, transitions douces) ---------- */
.hero { position: relative; height: 100vh; min-height: 600px; overflow: hidden; background: var(--ink); }
.hero-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 1.4s ease-in-out, visibility 1.4s; }
.hero-slide.is-active { opacity: 1; visibility: visible; z-index: 2; }
.hero-media { position: absolute; inset: -6%; background-size: cover; background-position: center; transform: scale(1.02); will-change: transform; }
.hero-slide.is-active .hero-media { animation: kenburns 11s ease-out forwards; }
@keyframes kenburns {
  from { transform: scale(1.02) translate3d(0, 0, 0); }
  to   { transform: scale(1.13) translate3d(-1.5%, -1.2%, 0); }
}
.hero-shade { position: absolute; inset: 0; background: rgba(20, 20, 20, .52); }
.hero-video .hero-content { position: relative; z-index: 3; height: 100%; display: flex; flex-direction: column; justify-content: center; color: #fff; }
.hero-videoel { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; z-index: 0; }
.hero-video .hero-shade { z-index: 1; }
.hero-sound {
  position: absolute; right: 24px; bottom: 30px; z-index: 5;
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
  color: #fff; border: 1.5px solid rgba(255,255,255,.5); background: rgba(6,16,71,.35);
  backdrop-filter: blur(6px); transition: all .2s;
}
.hero-sound:hover { background: rgba(6,16,71,.6); border-color: #fff; transform: scale(1.06); }
.hero-sound.is-on { background: var(--accent); border-color: var(--accent); }
/* Textes du hero vidéo qui alternent en douceur */
.hero-vtexts { position: relative; min-height: 240px; }
.hero-vtext { position: absolute; inset: 0; opacity: 0; visibility: hidden; transform: translateY(16px); transition: opacity .8s ease, transform .8s ease, visibility .8s; }
.hero-vtext.is-active { position: relative; opacity: 1; visibility: visible; transform: none; }
@media (max-width: 640px) { .hero-vtexts { min-height: 280px; } }
.hero-content { position: relative; z-index: 3; height: 100%; display: flex; flex-direction: column; justify-content: center; color: #fff; }
.hero-kicker {
  display: inline-flex; align-items: center; gap: 10px; width: fit-content;
  font-family: var(--font-display);
  font-weight: 600; font-size: 13px; letter-spacing: .14em; text-transform: uppercase;
  color: #f7a06a; margin-bottom: 18px;
}
.hero-kicker::before { content: none; }
.hero-title { font-size: clamp(34px, 5.2vw, 62px); font-weight: 700; max-width: 16ch; letter-spacing: -0.03em; }
.hero-sub { margin-top: 18px; max-width: 55ch; font-size: clamp(15px, 1.5vw, 18px); color: #d8d4cc; font-weight: 450; }
.hero-actions { display: flex; gap: 12px; margin-top: 32px; flex-wrap: wrap; }

.hero-nav { position: absolute; left: 50%; transform: translateX(-50%); bottom: 30px; z-index: 5; display: flex; justify-content: space-between; align-items: center; }
.hero-dots { display: flex; gap: 8px; }
.hero-dot { width: 42px; height: 4px; border-radius: 4px; background: rgba(255,255,255,.3); position: relative; overflow: hidden; }
.hero-dot span { position: absolute; inset: 0; background: var(--accent); transform: scaleX(0); transform-origin: left; }
.hero-dot.is-active span { animation: dotfill 9s linear forwards; }
@keyframes dotfill { to { transform: scaleX(1); } }
.hero-arrows { display: flex; gap: 8px; }
.hero-arrow {
  width: 44px; height: 44px; border-radius: 8px; display: grid; place-items: center;
  color: #fff; border: 1.5px solid rgba(255,255,255,.4); transition: background .2s, border-color .2s;
}
.hero-arrow:hover { background: rgba(255,255,255,.12); border-color: #fff; }

/* ---------- Bande de chiffres ---------- */
.stats-band { background: var(--ink); color: #fff; padding: 52px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 28px; }
.stat { text-align: left; padding-left: 18px; border-left: 3px solid var(--accent); }
.stat-ico { display: none; }
.stat-num, .stat-suffix { font-family: var(--font-display); font-size: clamp(30px, 3.4vw, 44px); font-weight: 700; letter-spacing: -0.02em; }
.stat-suffix { color: var(--accent); }
.stat-label { display: block; color: #a8a49c; font-size: 14px; margin-top: 2px; }

/* ---------- Sections ---------- */
.section-kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display);
  color: var(--accent); font-weight: 600; font-size: 13px;
  letter-spacing: .13em; text-transform: uppercase; margin-bottom: 14px;
}
.section-kicker::before { content: none; }
.section-kicker.light { color: #f7a06a; }
.section-title { font-size: clamp(28px, 3.4vw, 44px); margin-bottom: 24px; }
.section-title em { font-style: normal; color: var(--accent); }
.section-title.light { color: #fff; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 16px; }
.section-lead { color: var(--muted); font-size: 17px; max-width: 62ch; margin-bottom: 8px; }

/* ---------- Intro groupe ---------- */
.intro-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.intro-media { position: relative; }
.intro-media img { border-radius: var(--radius-lg); aspect-ratio: 4/4.4; object-fit: cover; }
.intro-slides { position: relative; aspect-ratio: 4/4.4; border-radius: var(--radius-lg); overflow: hidden; }
.intro-slide { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transition: opacity 1.1s ease; }
.intro-slide.is-active { opacity: 1; }
.intro-badge {
  position: absolute; right: -14px; bottom: 28px; background: var(--accent); color: #fff;
  border-radius: 12px; padding: 16px 20px;
  display: flex; gap: 12px; align-items: center;
}
.intro-badge strong { font-family: var(--font-display); font-size: 34px; font-weight: 700; }
.intro-badge span { font-size: 13px; line-height: 1.35; }
.intro-points { list-style: none; margin: 26px 0 30px; display: grid; gap: 18px; }
.intro-points li { display: flex; gap: 14px; }
.intro-points svg.lucide { width: 24px; height: 24px; color: var(--accent); flex-shrink: 0; margin-top: 3px; }
.intro-points strong { display: block; font-size: 16px; }
.intro-points span { color: var(--muted); font-size: 14.5px; }

/* ---------- Domaines : cartes flat façon Flexport ---------- */
.domains { background: var(--paper); overflow: hidden; }
.domain-marquee { margin-top: 26px; overflow-x: auto; scrollbar-width: none; cursor: grab; }
.domain-marquee::-webkit-scrollbar { display: none; }
.domain-marquee.is-dragging { cursor: grabbing; }
.domain-mtrack { display: flex; gap: 20px; width: max-content; padding: 8px 0; }
.domain-card {
  flex: 0 0 clamp(280px, 80vw, 340px);
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; display: flex; flex-direction: column;
  transition: border-color .2s, transform .25s, box-shadow .25s;
}
.domain-mtrack .domain-card:first-child { margin-left: max(4vw, calc((100vw - 1180px) / 2)); }
.domain-hint { text-align: center; color: var(--muted); font-size: 13px; margin-top: 14px; display: inline-flex; align-items: center; gap: 7px; width: 100%; justify-content: center; }
.domain-hint svg.lucide { color: var(--accent); }
.domain-card:hover { border-color: var(--dp); transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.domain-media { height: 190px; background-size: cover; background-position: center; transition: opacity .3s; }
.domain-overlay { display: none; }
.domain-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.domain-ico {
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px;
  background: #fff; color: var(--dp); margin: -47px 0 14px;
  border: 1px solid var(--line); box-shadow: var(--shadow);
}
.domain-ico svg.lucide { width: 22px; height: 22px; }
.domain-body h3 { font-size: 20px; margin-bottom: 8px; color: var(--ink); }
.domain-body p { font-size: 14.5px; color: var(--muted); flex: 1; }
.domain-feats { list-style: none; margin: 14px 0 0; display: grid; gap: 6px; font-size: 13.5px; color: var(--ink-3); }
.domain-feats svg.lucide { color: var(--dp); width: 15px; height: 15px; margin-right: 6px; }
.domain-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14.5px; color: var(--dp); margin-top: 16px; }
.domain-link svg.lucide { transition: transform .25s; }
.domain-card:hover .domain-link svg.lucide { transform: translateX(4px); }
.domain-tag {
  display: inline-flex; align-items: center; gap: 6px; width: fit-content;
  background: var(--accent-soft); color: var(--accent-dark);
  font-size: 12px; font-weight: 700; border-radius: 999px; padding: 3px 10px; margin-bottom: 10px;
}

/* ---------- Méthode ---------- */
.method { background: var(--white); border-top: 1px solid var(--line); }
.method-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; margin-top: 24px; }
.method-step {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 30px; position: relative;
  transition: transform .25s, border-color .2s;
}
.method-step:hover { transform: translateY(-4px); border-color: var(--accent); }
.method-num { position: absolute; right: 20px; top: 14px; font-family: var(--font-display); font-size: 44px; font-weight: 700; color: var(--paper-2); }
.method-ico { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: var(--accent-soft); color: var(--accent-dark); margin-bottom: 18px; }
.method-step h3 { font-size: 19px; margin-bottom: 10px; }
.method-step p { font-size: 14.5px; color: var(--muted); }
.method .section-kicker.light { color: var(--accent); }
.method .section-title.light { color: var(--ink); }

/* ---------- Pays ---------- */
.country-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 20px; margin-top: 10px; }
.country-card {
  border-radius: var(--radius-lg); overflow: hidden; background: #fff;
  border: 1px solid var(--line);
  transition: border-color .2s, transform .25s, box-shadow .25s;
}
.country-card:hover { transform: translateY(-4px); border-color: var(--ink); box-shadow: var(--shadow-lg); }
.country-media { height: 200px; background-size: cover; background-position: center; }
.country-body { padding: 22px 24px 26px; position: relative; background: #fff; }
.country-flag { display: inline-block; border-radius: 4px; overflow: hidden; line-height: 0; border: 1px solid rgba(0,0,0,.08); }
.country-body .country-flag { position: absolute; top: -14px; left: 24px; }
.country-flag-lg { margin-bottom: 14px; }
.country-body h3 { margin: 10px 0 12px; font-size: 20px; }
.country-body p { display: flex; align-items: center; gap: 9px; color: var(--muted); font-size: 14.5px; margin-bottom: 6px; }
.country-body p svg.lucide { color: var(--accent); }
.country-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; font-weight: 700; color: var(--accent); font-size: 14.5px; }

/* ---------- Bloc cotation (réservé Logistique & Transit) ---------- */
.quote-cta { background: var(--ink); color: #fff; padding: clamp(60px, 7vw, 92px) 0; }
.quote-cta-inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.quote-cta-text h2 { font-size: clamp(26px, 3.2vw, 38px); margin-bottom: 16px; }
.quote-cta-text p { color: #b7b3ac; max-width: 52ch; margin-bottom: 26px; }
.quote-cta .section-kicker { color: var(--accent); }
.quote-cta .section-kicker::before { background: var(--accent); }
.qcv-card {
  background: #1e1e1e; border: 1px solid #333;
  border-radius: var(--radius-lg); padding: 26px;
}
.qcv-row { display: flex; align-items: center; gap: 10px; font-size: 14.5px; margin-bottom: 8px; color: #d4d0c8; }
.qcv-row strong { margin-left: auto; color: #fff; }
.qcv-row svg.lucide { color: var(--accent); }
.qcv-bar { height: 6px; border-radius: 4px; background: #333; overflow: hidden; margin-bottom: 18px; }
.qcv-bar span { display: block; height: 100%; border-radius: 4px; background: var(--accent); }
.qcv-total { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid #333; padding-top: 16px; font-size: 14px; color: #b7b3ac; }
.qcv-total strong { color: var(--accent); }

/* ---------- Partenaires ---------- */
.partners { padding-bottom: 40px; }
.marquee { overflow: hidden; margin-top: 30px; }
.marquee-track { display: flex; gap: 16px; width: max-content; animation: marquee 34s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.partner-chip {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 200px; height: 74px; padding: 14px 28px;
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  font-weight: 700; color: var(--ink-3); font-size: 15px;
}
.partner-chip img { max-height: 42px; width: auto; object-fit: contain; }

/* ---------- Témoignages ---------- */
.testimonials { background: var(--paper); }
.testi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.testi-card {
  background: #fff; border-radius: var(--radius-lg); padding: 28px;
  border: 1px solid var(--line); position: relative;
}
.testi-quote { position: absolute; top: 22px; right: 24px; width: 30px !important; height: 30px !important; color: var(--accent-soft); }
.testi-card blockquote { font-size: 15.5px; color: var(--ink-2); margin-bottom: 18px; }
.testi-card figcaption strong { display: block; }
.testi-card figcaption span { color: var(--muted); font-size: 13.5px; }

/* ---------- Actualités ---------- */
.news-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.news-card {
  border-radius: var(--radius-lg); overflow: hidden; background: #fff;
  border: 1px solid var(--line); display: flex; flex-direction: column;
  transition: border-color .2s, transform .25s, box-shadow .25s;
}
.news-card:hover { transform: translateY(-4px); border-color: var(--ink-3); box-shadow: var(--shadow-lg); }
.news-media { height: 196px; background-size: cover; background-position: center; position: relative; }
.news-cat {
  position: absolute; left: 14px; top: 14px; background: #fff; color: var(--ink);
  font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: 999px;
}
.news-body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 9px; flex: 1; }
.news-body time { color: var(--muted); font-size: 13px; display: inline-flex; align-items: center; gap: 6px; }
.news-body h3 { font-size: 17.5px; line-height: 1.35; }
.news-body p { color: var(--muted); font-size: 14px; flex: 1; }
.news-more { display: inline-flex; align-items: center; gap: 7px; color: var(--accent); font-weight: 700; font-size: 14px; }
.news-filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 28px; }
.chip {
  padding: 8px 16px; border-radius: 999px; border: 1.5px solid var(--line);
  font-weight: 600; font-size: 14px; background: #fff; color: var(--ink-2);
  display: inline-flex; align-items: center; gap: 6px; transition: all .18s;
}
.chip:hover { border-color: var(--accent); color: var(--accent); }
.chip.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.news-featured {
  display: grid; grid-template-columns: 1.2fr 1fr; border-radius: var(--radius-lg);
  overflow: hidden; border: 1px solid var(--line); margin-bottom: 28px; background: #fff;
  transition: box-shadow .25s;
}
.news-featured:hover { box-shadow: var(--shadow-lg); }
.nf-media { min-height: 320px; background-size: cover; background-position: center; }
.nf-body { padding: 34px; display: flex; flex-direction: column; gap: 14px; justify-content: center; align-items: flex-start; }
/* Badge "À la une" lisible sur la carte blanche (au lieu du blanc-sur-blanc) */
.nf-body .news-cat {
  position: static; background: var(--accent-soft); color: var(--accent-dark);
  text-transform: uppercase; letter-spacing: .06em; font-size: 11.5px;
  display: inline-flex; align-items: center; gap: 6px;
}
.nf-body h2 { font-size: clamp(21px, 2.6vw, 30px); line-height: 1.2; }
.nf-body p { color: var(--muted); font-size: 15px; }
.nf-body time { color: var(--muted); font-size: 13.5px; display: inline-flex; gap: 7px; align-items: center; }
.pagination { display: flex; gap: 10px; justify-content: center; margin-top: 38px; }

/* ---------- Galerie ---------- */
.gallery-marquee { overflow: hidden; background: var(--white); padding: 6px 0; }
.gm-track { display: flex; gap: 6px; width: max-content; animation: gmScroll 65s linear infinite; will-change: transform; }
.gallery-marquee:hover .gm-track { animation-play-state: paused; }
@keyframes gmScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .gm-track { animation: none; } }
.gm-item { flex: 0 0 clamp(240px, 42vw, 380px); aspect-ratio: 16 / 10; background-size: cover; background-position: center; border-radius: 10px; transition: opacity .2s; }
.gm-item:hover { opacity: .9; }
.masonry { columns: 3 300px; gap: 16px; }
.masonry-item { break-inside: avoid; margin-bottom: 16px; border-radius: var(--radius); overflow: hidden; position: relative; border: 1px solid var(--line); }
.masonry-item img { width: 100%; transition: transform .5s; }
.masonry-item:hover img { transform: scale(1.03); }
.masonry-item figcaption {
  position: absolute; inset: auto 0 0; padding: 10px 14px; color: #fff; font-size: 13px;
  background: rgba(20, 20, 20, .78);
}

/* ---------- FAQ ---------- */
.faq-preview { background: var(--paper); }
.faq-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(30px, 5vw, 70px); align-items: start; }
.accordion { display: grid; gap: 10px; }
.acc-item { background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.acc-item summary {
  list-style: none; cursor: pointer; padding: 17px 20px; font-weight: 650;
  display: flex; justify-content: space-between; align-items: center; gap: 14px; font-size: 15.5px;
}
.acc-item summary::-webkit-details-marker { display: none; }
.acc-item summary svg.lucide { flex-shrink: 0; color: var(--accent); transition: transform .25s; }
.acc-item[open] summary svg.lucide { transform: rotate(45deg); }
.acc-item p { padding: 0 20px 18px; color: var(--muted); font-size: 14.5px; }
.accordion-lg .acc-item summary { font-size: 16.5px; padding: 20px 24px; }
.accordion-lg .acc-item p { padding: 0 24px 20px; font-size: 15px; }
.faq-page { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(30px, 5vw, 60px); align-items: start; }
.faq-cta { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; display: grid; gap: 12px; position: sticky; top: 100px; }

/* ---------- Page hero générique ---------- */
.page-hero { position: relative; min-height: 44vh; display: flex; align-items: flex-end; padding: 110px 0 56px; background: var(--ink); overflow: hidden; }
.page-hero-sm { min-height: 32vh; }
.page-hero-media { position: absolute; inset: 0; background-size: cover; background-position: center; }
.page-hero-shade { position: absolute; inset: 0; background: rgba(20, 20, 20, .62); }
.page-hero-content { position: relative; z-index: 2; color: #fff; }
.page-hero-content h1 { font-size: clamp(30px, 4.2vw, 50px); }
.page-hero-content p { margin-top: 12px; color: #d8d4cc; max-width: 60ch; }
.crumbs { display: flex; align-items: center; gap: 8px; font-size: 13px; color: #a8a49c; margin-bottom: 16px; flex-wrap: wrap; }
.crumbs a:hover { color: #fff; }
.crumbs svg.lucide { width: 14px; height: 14px; }
.article-meta { display: flex; align-items: center; gap: 8px; }

/* ---------- Mission / vision / valeurs / équipe ---------- */
.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 24px; align-items: stretch; }
.mv-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px; height: 100%; }
.mv-card p { font-size: 14.5px; line-height: 1.6; }
.mv-ico { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--accent-soft); color: var(--accent-dark); margin-bottom: 14px; }
.mv-card h3 { font-size: 18px; margin-bottom: 8px; }
.mv-card p { font-size: 14.5px; color: var(--muted); }

/* Liste des 7 services (page Groupe) */
.services-list { background: var(--paper); }
.svc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 14px; margin-top: 8px; }
.svc-item { display: flex; gap: 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px; transition: border-color .2s, transform .2s; }
.svc-item:hover { border-color: var(--accent); transform: translateY(-3px); }
.svc-ico { flex: 0 0 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-dark); }
.svc-ico svg.lucide { width: 22px; height: 22px; }
.svc-item strong { display: block; font-family: var(--font-display); font-size: 16.5px; margin-bottom: 5px; }
.svc-item p { color: var(--muted); font-size: 14px; }

.values-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.value-card {
  border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px;
  transition: transform .25s, border-color .2s;
}
.value-card:hover { transform: translateY(-4px); border-color: var(--accent); }
.value-ico { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 11px; background: var(--accent-soft); color: var(--accent); margin-bottom: 16px; }
.value-card h3 { font-size: 17.5px; margin-bottom: 8px; }
.value-card p { font-size: 14.5px; color: var(--muted); }

.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.team-card { text-align: center; }
.team-photo { aspect-ratio: 1/1.05; border-radius: var(--radius-lg); background-size: cover; background-position: center top; margin-bottom: 14px; border: 1px solid var(--line); }
.team-photo-empty { display: grid; place-items: center; background: var(--paper); color: var(--muted); }
.team-photo-empty svg.lucide { width: 48px; height: 48px; }
.team-card h3 { font-size: 16.5px; }
.team-card span { color: var(--muted); font-size: 13.5px; display: block; margin: 4px 0 8px; }
.team-card a { color: var(--accent); }

/* ---------- Pages domaine ---------- */
.division-theme .section-kicker { color: var(--da); }
.division-theme .section-kicker::before { background: var(--da); }
.div-hero { position: relative; min-height: 58vh; display: flex; align-items: flex-end; padding: 120px 0 64px; overflow: hidden; background: var(--dp); }
.div-hero-media { position: absolute; inset: 0; background-size: cover; background-position: center; }
.div-hero-shade { position: absolute; inset: 0; background: rgba(20, 20, 20, .55); }
.div-hero-content { position: relative; z-index: 2; color: #fff; }
.div-hero-content h1 { font-size: clamp(32px, 4.6vw, 54px); }
.div-hero-content > p { margin-top: 12px; font-size: 17px; color: #d8d4cc; max-width: 56ch; }
.div-hero-ico { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 14px; background: var(--da); color: #fff; margin-bottom: 18px; }
.div-hero-ico svg.lucide { width: 27px; height: 27px; }
.div-hero .hero-kicker { color: #fff; }
.div-hero .hero-kicker::before { background: var(--da); }

.div-about-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(30px, 5vw, 60px); align-items: start; }
.div-lead { font-size: clamp(18px, 2vw, 22px); font-weight: 600; color: var(--ink); line-height: 1.45; margin-bottom: 16px; }
.div-intro { font-size: 16px; color: var(--muted); line-height: 1.7; }
.richtext p { margin-bottom: 14px; color: var(--ink-2); }

/* Bandeau de chiffres par domaine */
.div-statband { background: var(--dp); color: #fff; }
.div-statband-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.div-stat { padding: 34px 24px; border-left: 1px solid rgba(255,255,255,.14); }
.div-stat:first-child { border-left: 0; }
.div-stat strong { font-family: var(--font-display); font-size: clamp(28px, 3.4vw, 40px); font-weight: 800; display: block; line-height: 1; }
.div-stat span { color: rgba(255,255,255,.8); font-size: 14px; margin-top: 8px; display: block; }

/* Méthode par domaine */
.div-process { background: var(--paper); }
.process-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; margin-top: 10px; }
.process-step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px; position: relative; }
.process-num { font-family: var(--font-display); font-size: 30px; font-weight: 800; color: color-mix(in srgb, var(--da) 45%, #fff); display: block; margin-bottom: 10px; }
.process-step h3 { font-size: 17px; margin-bottom: 8px; }
.process-step p { font-size: 14px; color: var(--muted); }

/* Cas d'usage */
.uc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; }
.uc-card { border: 1px solid var(--line); border-left: 3px solid var(--da); border-radius: 0 var(--radius-lg) var(--radius-lg) 0; padding: 24px; background: #fff; }
.uc-ico { color: var(--da); display: block; margin-bottom: 12px; }
.uc-ico svg.lucide { width: 24px; height: 24px; }
.uc-card h3 { font-size: 17px; margin-bottom: 8px; }
.uc-card p { font-size: 14px; color: var(--muted); }

/* FAQ par domaine */
.div-faq { background: var(--paper); }
.div-faq-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: clamp(30px, 5vw, 60px); align-items: start; }
.div-faq-grid > div:first-child p { color: var(--muted); }
.article-lead { font-size: 18px; font-weight: 600; color: var(--ink); }
.div-side-card {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 26px; display: grid; gap: 12px;
  position: sticky; top: 100px; border-top: 3px solid var(--da);
}
.div-side-card h3 { display: flex; align-items: center; gap: 9px; font-size: 17.5px; }
.div-side-line { display: flex; align-items: center; gap: 9px; font-weight: 600; font-size: 14.5px; padding: 9px 0; border-bottom: 1px dashed var(--line); }
.div-side-line svg.lucide { color: var(--da); }
.div-side-line:last-of-type { border-bottom: 0; }

.div-feats { background: var(--paper); }
.feat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.feat-card {
  background: #fff; border-radius: var(--radius-lg); padding: 26px; border: 1px solid var(--line);
  transition: transform .25s, border-color .2s;
}
.feat-card:hover { transform: translateY(-4px); border-color: var(--da); }
.feat-ico { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: color-mix(in srgb, var(--da) 12%, #fff); color: color-mix(in srgb, var(--da) 80%, #000); margin-bottom: 14px; }
.feat-card h3 { font-size: 16.5px; margin-bottom: 8px; }
.feat-card p { font-size: 14.5px; color: var(--muted); }

.mini-gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }
.mg-item { border-radius: var(--radius); overflow: hidden; position: relative; border: 1px solid var(--line); }
.mg-item img { aspect-ratio: 4/2.9; object-fit: cover; width: 100%; transition: transform .4s; }
.mg-item:hover img { transform: scale(1.04); }
.mg-item figcaption { position: absolute; inset: auto 0 0; padding: 9px 13px; color: #fff; font-size: 12.5px; background: rgba(20,20,20,.78); }

.div-cta { background: var(--dp); color: #fff; padding: clamp(56px, 7vw, 88px) 0; }
.div-cta-inner { text-align: center; display: grid; gap: 22px; justify-items: center; }
.div-cta h2 { font-size: clamp(24px, 3vw, 36px); max-width: 26ch; }

.other-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 12px; }
.other-card {
  display: flex; align-items: center; gap: 14px; padding: 16px 18px;
  border: 1px solid var(--line); border-radius: 12px; transition: all .2s;
}
.other-card:hover { border-color: var(--dp); transform: translateY(-2px); }
.other-ico { flex: 0 0 44px; height: 44px; border-radius: 11px; display: grid; place-items: center; color: var(--dp); background: color-mix(in srgb, var(--dp) 10%, #fff); }
.other-card strong { display: block; font-size: 15px; }
.other-card span { color: var(--muted); font-size: 13px; }
.other-arrow { margin-left: auto; color: var(--dp); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(30px, 5vw, 60px); align-items: start; }
.contact-form { display: grid; gap: 16px; margin-top: 22px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form label { display: grid; gap: 7px; font-weight: 600; font-size: 14px; }
.contact-form input, .contact-form textarea {
  padding: 12px 15px; border: 1.5px solid var(--line); border-radius: 10px;
  font: inherit; background: #fff; transition: border-color .18s, box-shadow .18s; width: 100%;
}
.contact-form input:focus, .contact-form textarea:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft);
}
.contact-side { display: grid; gap: 16px; }
.contact-card { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px; position: relative; }
.contact-card h3 { margin: 12px 0; font-size: 17.5px; display: flex; align-items: center; gap: 9px; }
.contact-card p { display: flex; align-items: center; gap: 9px; color: var(--muted); font-size: 14.5px; margin-bottom: 7px; }
.contact-card p svg.lucide { color: var(--accent); flex-shrink: 0; }
.country-info { display: grid; gap: 8px; margin-top: 20px; background: var(--paper); border: 1px solid var(--line); padding: 20px; border-radius: var(--radius); }
.country-info p { display: flex; gap: 10px; align-items: center; }
.country-info svg.lucide { color: var(--accent); }
.map-wrap iframe { width: 100%; height: 420px; border: 0; display: block; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #a8a49c; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: clamp(26px, 4vw, 54px); padding: clamp(50px, 6vw, 76px) 0 40px; }
.footer-col h4 { color: #fff; font-size: 14.5px; margin-bottom: 16px; letter-spacing: .02em; }
.footer-col a { display: block; padding: 5px 0; font-size: 14px; transition: color .2s; }
.footer-col a:hover { color: #fff; }
.footer-col p { font-size: 14px; display: flex; gap: 9px; align-items: flex-start; margin-bottom: 8px; }
.footer-col p svg.lucide { color: var(--accent); flex-shrink: 0; margin-top: 3px; }
.footer-brand .brand-logo { height: 28px; margin-bottom: 16px; }
.footer-mini { font-size: 13px !important; color: #8a867e; }
.footer-social { display: flex; gap: 10px; margin-top: 16px; }
.footer-social a {
  width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center;
  background: var(--ink-2); color: #fff; transition: background .2s, transform .2s; padding: 0;
}
.footer-social a svg { width: 18px; height: 18px; display: block; }
.footer-social a:hover { background: var(--accent); color: #fff; transform: translateY(-2px); }
.footer-bottom { border-top: 1px solid var(--ink-2); padding: 20px 0; }
.footer-bottom-inner { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 13px; color: #8a867e; }
.footer-legal { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-legal a { transition: color .2s; }
.footer-legal a:hover { color: #fff; }

/* ---------- Carrières (emplois) ---------- */
.jobs-list { display: grid; gap: 14px; margin-top: 10px; }
.job-card {
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 24px 26px; transition: border-color .2s, box-shadow .2s;
}
.job-card:hover { border-color: var(--accent); box-shadow: var(--shadow-lg); }
.job-main { flex: 1; min-width: 240px; }
.job-tags { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 8px; }
.job-tag { font-size: 12px; font-weight: 700; padding: 3px 11px; border-radius: 999px; background: var(--paper); color: var(--ink-2); border: 1px solid var(--line); }
.job-tag-dep { background: var(--accent-soft); color: var(--accent-dark); border-color: transparent; }
.job-loc { font-size: 13px; color: var(--muted); display: inline-flex; align-items: center; gap: 5px; }
.job-loc svg.lucide { color: var(--accent); width: 15px; height: 15px; }
.job-card h3 { font-size: 19px; margin-bottom: 4px; }
.job-main p { color: var(--muted); font-size: 14.5px; }
.job-apply { flex-shrink: 0; }
.jobs-empty { color: var(--muted); font-size: 16px; }
.jobs-empty a { color: var(--accent); font-weight: 700; }

.apply-section { background: var(--paper); }
.apply-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(30px, 5vw, 60px); align-items: start; }
.apply-intro p { color: var(--muted); }
.apply-contact { margin-top: 20px; display: grid; gap: 8px; }
.apply-contact p { display: flex; align-items: center; gap: 9px; font-weight: 600; }
.apply-contact svg.lucide { color: var(--accent); }
.apply-form { display: grid; gap: 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; }
.apply-form label { display: grid; gap: 7px; font-weight: 600; font-size: 14px; }
.apply-form input, .apply-form select, .apply-form textarea {
  padding: 12px 15px; border: 1.5px solid var(--line); border-radius: 10px; font: inherit; background: #fff; width: 100%; transition: border-color .18s, box-shadow .18s;
}
.apply-form input:focus, .apply-form select:focus, .apply-form textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.apply-file input { padding: 10px; background: var(--paper); }

/* ---------- Pages d'erreur (404 / 403) ---------- */
.errpage { min-height: 72vh; display: flex; align-items: center; background: var(--paper); }
.errpage-inner { text-align: center; max-width: 620px; margin-inline: auto; padding: 60px 0; }
.errpage-code { display: inline-block; font-family: var(--font-display); font-weight: 800; font-size: clamp(70px, 14vw, 130px); line-height: 1; color: var(--accent); letter-spacing: -.04em; }
.errpage-inner h1 { font-size: clamp(24px, 3.4vw, 36px); margin: 6px 0 12px; }
.errpage-inner p { color: var(--muted); font-size: 17px; max-width: 46ch; margin: 0 auto; }
.errpage-actions { display: flex; gap: 12px; justify-content: center; margin-top: 30px; flex-wrap: wrap; }
.errpage-links { display: flex; gap: 20px; justify-content: center; margin-top: 34px; flex-wrap: wrap; font-weight: 600; font-size: 14.5px; }
.errpage-links a { color: var(--ink-2); }
.errpage-links a:hover { color: var(--accent); }

/* ---------- Pages légales ---------- */
.legal-wrap { max-width: 780px; }
.legal-block { margin-bottom: 26px; }
.legal-block h2 { font-size: 19px; margin-bottom: 8px; color: var(--ink); }
.legal-block p { color: var(--ink-2); font-size: 15.5px; line-height: 1.7; }
.legal-updated { color: var(--muted); font-size: 13.5px; margin-top: 10px; }

/* ---------- Réseau : vraie carte de l'Afrique ---------- */
.network { background: var(--ink); color: #cfcbc3; padding: clamp(64px, 8vw, 104px) 0; overflow: hidden; }
.network-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.network-text p { color: #a8a49c; max-width: 54ch; }
.network-list { list-style: none; margin: 26px 0; display: grid; gap: 16px; }
.network-list li { display: flex; gap: 13px; }
.network-list svg.lucide { width: 22px; height: 22px; color: var(--accent); flex-shrink: 0; margin-top: 3px; }
.network-list strong { display: block; color: #fff; font-size: 15.5px; }
.network-list span { color: #a8a49c; font-size: 14px; }
.network-stats { display: flex; gap: 34px; flex-wrap: wrap; border-top: 1px solid #333; padding-top: 22px; }
.network-stats strong { display: block; font-family: var(--font-display); font-size: 30px; font-weight: 700; color: #fff; }
.network-stats span { font-size: 13px; color: #a8a49c; }
.network-map { position: relative; }

/* Carte SVG réelle (56 pays projetés) */
.amap-svg { width: 100%; height: auto; display: block; overflow: visible; }
.amap-c { fill: #2b2b2b; stroke: var(--ink); stroke-width: .6; transition: fill .3s; }
.amap-near { fill: #383838; }
.amap-hl { fill: var(--accent); stroke: #7a3208; animation: amapHl 3.6s ease-in-out infinite; }
@keyframes amapHl { 0%, 100% { fill: var(--accent); } 50% { fill: #f6813f; } }
.amap-hub { fill: #fff; stroke: var(--accent); stroke-width: 2; }
.amap-pulse { fill: none; stroke: var(--accent); stroke-width: 2; animation: amapPulse 2.6s ease-out infinite; }
@keyframes amapPulse { 0% { transform: scale(.5); opacity: .9; } 100% { transform: scale(3); opacity: 0; } }
.amap-logo { fill: var(--accent); animation: amapLogoIn 1s cubic-bezier(.22,.61,.36,1) both, amapLogoFloat 5.5s ease-in-out 1.1s infinite; }
@keyframes amapLogoIn { from { opacity: 0; transform: scale(.2) rotate(-25deg); } to { opacity: 1; transform: scale(1) rotate(0); } }
@keyframes amapLogoFloat { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-5px) rotate(-4deg); } }
.amap-city { fill: var(--accent); }
.amap-route { fill: none; stroke: var(--accent); stroke-width: 1.8; stroke-linecap: round; stroke-dasharray: 5 8; opacity: .8; animation: amapRoute 2.4s linear infinite; }
.amap-route2 { animation-duration: 3.2s; }
@keyframes amapRoute { to { stroke-dashoffset: -52; } }
.amap-label { fill: #fff; font-family: var(--font-display); font-size: 15px; font-weight: 700; }
.amap-label-sm { fill: #cfcbc3; font-size: 12px; font-weight: 500; }

/* ---------- Présence : mosaïque animée, dimension immersive ---------- */
.presence {
  position: relative; background: #03081f; color: #fff;
  min-height: 100vh; display: flex; align-items: center;
  padding: clamp(80px, 10vw, 130px) 0; overflow: hidden;
}
.presence-inner { position: relative; z-index: 1; width: min(1180px, 92vw); margin-inline: auto; }
.presence-head { text-align: center; max-width: 58ch; margin: 0 auto 30px; }
.presence-head h2 { font-size: clamp(32px, 5vw, 58px); }
.presence-head p { color: rgba(255,255,255,.72); margin-top: 10px; }
.presence-map { max-width: 720px; margin: 0 auto; }
.mos-svg { width: 100%; height: auto; display: block; overflow: visible; }
.mos-c { fill: #182561; opacity: .28; stroke: var(--ink); stroke-width: .5; animation: mosReveal 1s ease-out both; }
@keyframes mosReveal { from { opacity: 0; } to { opacity: .5; } }
.mos-on { animation: mosOn 1s ease-out both; }
@keyframes mosOn { from { opacity: 0; fill: #182561; } to { opacity: 1; fill: var(--accent); } }
.mos-core { animation: mosCore 1s ease-out both, mosCorePulse 2.8s ease-in-out 3s infinite; }
@keyframes mosCore { from { opacity: 0; fill: #182561; } to { opacity: 1; fill: #ff7a1f; } }
@keyframes mosCorePulse { 0%, 100% { fill: #ff7a1f; } 50% { fill: var(--accent); } }
.presence-legend { display: flex; gap: 26px; justify-content: center; margin-top: 24px; color: rgba(255,255,255,.78); font-size: 14px; flex-wrap: wrap; }
.presence-legend span { display: inline-flex; align-items: center; gap: 8px; }
.pdot { width: 11px; height: 11px; border-radius: 3px; display: inline-block; }
.pdot.core { background: #ff7a1f; }
.pdot.on { background: var(--accent); }
@media (prefers-reduced-motion: reduce) {
  .mos-c, .mos-on, .mos-core { animation: none; opacity: .5; }
  .mos-on { fill: var(--accent); opacity: 1; }
  .mos-core { fill: #ff7a1f; opacity: 1; }
}

/* ---------- Pourquoi Logika ---------- */
.why { background: var(--white); }
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; margin-top: 10px; }
.why-tile {
  border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px;
  transition: transform .25s, border-color .2s, box-shadow .25s;
}
.why-tile:hover { transform: translateY(-4px); border-color: var(--accent); box-shadow: var(--shadow-lg); }
.why-ico { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: var(--accent-soft); color: var(--accent-dark); margin-bottom: 16px; }
.why-tile h3 { font-size: 17px; margin-bottom: 7px; }
.why-tile p { font-size: 14.5px; color: var(--muted); }

/* ---------- Liens téléphones masqués ---------- */
.footer-tel { display: inline !important; padding: 0 !important; text-decoration: underline; text-underline-offset: 3px; }
.footer-tel:hover { color: #fff; }
.country-info a { font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Bannière cookies ---------- */
.cookie {
  position: fixed; left: 50%; transform: translateX(-50%); bottom: 20px; z-index: 130;
  width: min(680px, calc(100vw - 32px));
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: 0 20px 50px rgba(6,16,71,.22); overflow: hidden;
}
.cookie-inner { display: flex; align-items: center; gap: 18px; padding: 18px 20px; flex-wrap: wrap; }
.cookie-text { flex: 1; min-width: 220px; }
.cookie-text strong { display: block; font-family: var(--font-display); font-size: 15px; margin-bottom: 3px; }
.cookie-text p { font-size: 13.5px; color: var(--muted); }
.cookie-text a { color: var(--accent); font-weight: 600; text-decoration: underline; }
.cookie-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.cookie-actions .btn { padding: 9px 16px; font-size: 13.5px; }
.cookie-prefs { border-top: 1px solid var(--line); padding: 16px 20px; display: grid; gap: 12px; }
.cookie-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.cookie-row span { display: grid; }
.cookie-row strong { font-size: 14px; }
.cookie-row small { color: var(--muted); font-size: 12.5px; }
.cookie-row input { width: 18px; height: 18px; accent-color: var(--accent); }
.cookie-prefs-actions { display: flex; justify-content: flex-end; }
@media (max-width: 1080px) { .cookie { bottom: 76px; } }

/* =========================================================
   ASSISTANT LOGIKA (agent à choix guidés)
   ========================================================= */
.lk-mark { display: block; width: 100%; height: 100%; }
.agent { position: fixed; right: 22px; bottom: 22px; z-index: 120; }
.agent-launcher { transition: transform .45s cubic-bezier(.22,.61,.36,1), opacity .45s, background .2s, box-shadow .2s; }
.agent-launcher.is-away { transform: translateX(84px); opacity: 0; pointer-events: none; }
@media (prefers-reduced-motion: reduce) { .agent-launcher.is-away { transform: none; opacity: 1; pointer-events: auto; } }
.agent-launcher {
  position: relative;
  display: grid; place-items: center;
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--ink); border: 0;
  box-shadow: 0 10px 26px rgba(6, 16, 71, .32);
  transition: transform .2s, box-shadow .2s, background .2s;
}
.agent-launcher:hover { transform: translateY(-3px); background: var(--ink-2); box-shadow: 0 16px 34px rgba(6, 16, 71, .4); }
.agent-notif {
  position: absolute; top: 4px; right: 4px;
  width: 13px; height: 13px; border-radius: 50%;
  background: #22c55e; border: 2px solid var(--ink);
}
.agent-notif::after {
  content: ''; position: absolute; inset: -2px; border-radius: 50%;
  border: 2px solid #22c55e; animation: agentNotif 1.6s ease-out infinite;
}
@keyframes agentNotif { 0% { transform: scale(.6); opacity: .9; } 100% { transform: scale(2.2); opacity: 0; } }
.agent-mark { display: grid; place-items: center; width: 26px; height: 26px; color: var(--accent); }
.agent-mark .lk-mark { animation: agentMark 5s ease-in-out infinite; transform-origin: center; }
@keyframes agentMark { 0%, 100% { transform: rotate(0); } 50% { transform: rotate(-6deg) scale(1.06); } }
.agent-panel {
  position: absolute; right: 0; bottom: calc(100% + 12px);
  width: min(370px, calc(100vw - 44px));
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: 0 24px 60px rgba(16, 24, 40, .22);
  display: flex; flex-direction: column; overflow: hidden;
}
.agent-panel[hidden] { display: none; }
.agent-head {
  display: flex; align-items: center; gap: 12px;
  background: var(--ink); color: #fff; padding: 14px 16px;
}
.agent-avatar { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: #2a2a2a; color: var(--accent); flex-shrink: 0; padding: 9px; }
.agent-avatar .lk-mark { width: 100%; height: 100%; }
.agent-head strong { display: block; font-size: 15px; }
.agent-head span { font-size: 12px; color: #a8a49c; }
.agent-close { margin-left: auto; color: #a8a49c; padding: 6px; border-radius: 6px; }
.agent-close:hover { color: #fff; }
.agent-body { padding: 16px; display: grid; gap: 10px; max-height: 340px; overflow-y: auto; background: var(--paper); }
.agent-msg {
  background: #fff; border: 1px solid var(--line); border-radius: 12px 12px 12px 4px;
  padding: 11px 14px; font-size: 14px; max-width: 92%;
  animation: agentin .3s ease;
}
.agent-msg-user {
  background: var(--ink); color: #fff; border: 0;
  border-radius: 12px 12px 4px 12px; justify-self: end;
}
@keyframes agentin { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.agent-typing { display: inline-flex; gap: 4px; padding: 13px 15px; }
.agent-typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--muted); animation: blink 1s infinite; }
.agent-typing i:nth-child(2) { animation-delay: .18s; }
.agent-typing i:nth-child(3) { animation-delay: .36s; }
@keyframes blink { 0%, 80%, 100% { opacity: .25; } 40% { opacity: 1; } }
.agent-options { padding: 12px 16px 16px; display: flex; flex-wrap: wrap; gap: 8px; background: var(--paper); border-top: 1px solid var(--line); }
.agent-opt {
  display: inline-flex; align-items: center; gap: 7px;
  border: 1.5px solid var(--line); background: #fff; border-radius: 999px;
  padding: 8px 14px; font-size: 13.5px; font-weight: 600; color: var(--ink-2);
  transition: all .15s;
}
.agent-opt:hover { border-color: var(--accent); color: var(--accent); }
.agent-opt svg.lucide { width: 15px; height: 15px; }

/* =========================================================
   CALCULATEUR TRANSIT & DÉDOUANEMENT (données artefact)
   ========================================================= */
.quote-hero { background: var(--ink); color: #fff; padding: 120px 0 108px; }
.quote-hero .hero-kicker { color: #f7a06a; }
.quote-hero h1 { font-size: clamp(28px, 3.8vw, 44px); }
.quote-hero p { color: #cfd2e4; margin-top: 10px; max-width: 64ch; }
.q-rate { display: inline-flex; align-items: center; gap: 9px; margin-top: 18px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22); border-radius: 999px; padding: 9px 18px; font-size: 13.5px; color: #fff; }
.q-rate b { color: #ffb27a; font-weight: 700; }
.q-rate-dot { width: 9px; height: 9px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 3px rgba(34,197,94,.25); }
.q-cards-sm { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.q-card-tag { display: inline-block; margin-top: 5px; font-size: 11px; font-weight: 700; color: var(--ok); }
.quote-app-wrap { padding-top: 0; margin-top: -60px; padding-bottom: 70px; background: var(--paper); }
.quote-app {
  background: #fff; border-radius: var(--radius-lg);
  border: 1px solid var(--line); box-shadow: var(--shadow-lg);
  padding: clamp(20px, 3.2vw, 40px); position: relative;
}
.q-steps { list-style: none; display: flex; gap: 6px; margin-bottom: 32px; flex-wrap: wrap; }
.q-steps li {
  flex: 1; min-width: 105px; display: flex; align-items: center; gap: 9px;
  font-weight: 600; font-size: 13px; color: var(--muted);
  padding: 9px 11px; border-radius: 10px; background: var(--paper);
  border: 1.5px solid transparent; transition: all .25s;
}
.q-steps li.is-active { background: #fff; border-color: var(--accent); color: var(--ink); }
.q-steps li.is-done { color: var(--ok); }
.q-step-dot {
  width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center;
  background: #fff; color: var(--muted); border: 1.5px solid var(--line); flex-shrink: 0;
}
.q-steps li.is-active .q-step-dot { background: var(--accent); border-color: var(--accent); color: #fff; }
.q-steps li.is-done .q-step-dot { background: var(--ok); border-color: var(--ok); color: #fff; }
.q-steps li.is-clickable { cursor: pointer; }
.q-steps li.is-clickable:hover { border-color: var(--accent); color: var(--ink); }
.q-step-dot svg.lucide { width: 15px; height: 15px; }
.q-recap {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  background: var(--paper); border: 1px solid var(--line); border-radius: 10px;
  padding: 11px 16px; margin: -12px 0 26px; font-size: 14px; color: var(--ink-2);
}
.q-recap svg.lucide { color: var(--accent); }
.q-recap span { color: var(--muted); }

.q-panel { display: none; animation: qfade .35s ease; }
.q-panel.is-active { display: block; }
@keyframes qfade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.q-panel > h2 { font-size: clamp(19px, 2.2vw, 25px); margin-bottom: 6px; }
.q-panel-sub { color: var(--muted); font-size: 14.5px; margin-bottom: 24px; }

.q-field { display: grid; gap: 7px; font-weight: 600; font-size: 13.8px; }
.q-field > span { display: inline-flex; align-items: center; gap: 7px; color: var(--ink-2); }
.q-field > span svg.lucide { color: var(--accent); }
.q-input, .q-select {
  width: 100%; padding: 11px 14px; border: 1.5px solid var(--line); border-radius: 10px;
  font: inherit; font-weight: 500; background: #fff; transition: border-color .15s, box-shadow .15s;
}
.q-input:focus, .q-select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.q-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.q-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.q-hint { color: var(--muted); font-size: 13px; margin-top: 12px; }
.q-error { color: var(--danger); font-size: 13px; font-weight: 600; margin-top: 10px; }

/* Cartes de choix (zone, conteneur) */
.q-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(158px, 1fr)); gap: 10px; }
.q-card {
  display: grid; gap: 3px; text-align: left;
  padding: 14px; border: 1.5px solid var(--line); border-radius: 12px;
  transition: all .18s; background: #fff;
}
.q-card:hover { border-color: var(--accent); }
.q-card.is-selected { border-color: var(--accent); background: var(--accent-soft); }
.q-card strong { font-size: 14px; line-height: 1.3; }
.q-card small { color: var(--muted); font-size: 12px; }
.q-card .q-card-price { color: var(--accent-dark); font-weight: 700; font-size: 12.5px; }

/* Lignes de produits */
.q-lines { display: grid; gap: 12px; }
.q-line {
  border: 1px solid var(--line); border-radius: 12px; padding: 16px;
  display: grid; gap: 12px; background: var(--paper);
  animation: qfade .3s ease;
}
.q-line-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.q-line-head strong { font-size: 13.5px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.q-line-remove { color: var(--muted); padding: 6px; border-radius: 6px; }
.q-line-remove:hover { color: var(--danger); background: #fdecea; }
.q-line-grid { display: grid; grid-template-columns: 2fr 90px 130px; gap: 10px; }
.q-line-grid2 { display: grid; grid-template-columns: 2fr 160px; gap: 10px; }
.q-line-tax { font-size: 12.5px; color: var(--muted); }
.q-line-tax strong { color: var(--ink-2); }
.q-add-line {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 14px;
  font-weight: 700; color: var(--accent); font-size: 14.5px;
  padding: 10px 16px; border: 1.5px dashed var(--accent); border-radius: 10px;
  transition: background .15s;
}
.q-add-line:hover { background: var(--accent-soft); }

/* Fret & CIF */
.q-switch { display: flex; gap: 8px; }
.q-switch button {
  padding: 9px 16px; border: 1.5px solid var(--line); border-radius: 999px;
  font-weight: 600; font-size: 13.5px; color: var(--ink-2); background: #fff;
}
.q-switch button.is-on { background: var(--ink); border-color: var(--ink); color: #fff; }
.q-summary-box {
  background: var(--paper); border: 1px solid var(--line); border-radius: 12px;
  padding: 16px 18px; display: grid; gap: 8px; font-size: 14.5px; margin-top: 20px;
}
.q-summary-box div { display: flex; justify-content: space-between; gap: 12px; }
.q-summary-box strong { font-weight: 700; }

/* Résultats */
.q-result-head { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.q-result-head p { color: var(--muted); font-weight: 600; font-size: 14.5px; }
.q-table { width: 100%; border-collapse: collapse; margin-bottom: 18px; }
.q-table td, .q-table th { padding: 10px 8px; border-bottom: 1px dashed var(--line); font-size: 14px; text-align: left; }
.q-table td:last-child, .q-table th:last-child { text-align: right; font-weight: 600; white-space: nowrap; }
.q-table tr.q-row-cat td { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; padding-top: 18px; border-bottom: 0; }
.q-table tr.q-row-sub td { font-weight: 700; border-bottom: 1px solid var(--line); }
.q-totals { display: flex; justify-content: space-between; align-items: center; gap: 18px; flex-wrap: wrap; background: var(--ink); color: #fff; border-radius: 12px; padding: 20px 24px; }
.q-total-main span { display: block; font-size: 13px; color: #a8a49c; }
.q-total-main strong { font-family: var(--font-display); font-size: clamp(24px, 3vw, 34px); font-weight: 700; color: #f7a06a; }
.q-total-alt { text-align: right; display: grid; gap: 4px; font-size: 14px; color: #d8d4cc; }
.q-disclaimer { color: var(--muted); font-size: 12.5px; margin: 14px 0 26px; }
.q-lead { border-top: 2px solid var(--paper); padding-top: 26px; display: grid; gap: 13px; }
.q-lead h3 { display: flex; align-items: center; gap: 10px; font-size: 18px; }
.q-lead-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.q-sent { font-weight: 700; }
.q-sent.ok { color: var(--ok); }
.q-sent.err { color: var(--danger); }
.q-nav { display: flex; justify-content: space-between; margin-top: 30px; gap: 12px; }
.q-reassure { display: flex; gap: 24px; justify-content: center; flex-wrap: wrap; margin-top: 24px; color: var(--muted); font-size: 14px; font-weight: 600; }
.q-reassure span { display: inline-flex; gap: 8px; align-items: center; }
.q-reassure svg.lucide { color: var(--accent); }

/* ---------- Barre d'action mobile (app-like) ---------- */
.mobile-bar { display: none; }
.nav-mobile-foot, .nav-mobile-head, .nav-close { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .network-grid { grid-template-columns: 1fr; }
  .network-map { min-height: 340px; }
  /* Le menu se pilote depuis la barre du bas (bouton « Menu ») : plus de burger collé au logo */
  .nav-burger { display: none; }
  .header-actions { display: none; }

  /* Menu mobile PLEIN ÉCRAN, premium */
  .main-nav {
    position: fixed; inset: 0; width: 100vw; height: 100dvh; z-index: 130;
    background: var(--ink); flex-direction: column; align-items: stretch; gap: 2px;
    padding: 20px 24px calc(24px + env(safe-area-inset-bottom));
    transform: translateY(-100%); transition: transform .4s cubic-bezier(.22,.61,.36,1);
    overflow-y: auto; opacity: 0; visibility: hidden;
  }
  .main-nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav-mobile-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
  .nav-mobile-head .brand-logo { height: 24px; }
  .nav-close { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 10px; color: #fff; background: rgba(255,255,255,.1); }
  .nav-close:hover { background: rgba(255,255,255,.18); }
  .nav-close svg.lucide { width: 22px; height: 22px; }
  .main-nav .nav-link, .main-nav .nav-drop-btn {
    color: #fff; font-family: var(--font-display); font-weight: 600; font-size: 24px;
    padding: 14px 4px; border-bottom: 1px solid rgba(255,255,255,.08); border-radius: 0; width: 100%;
    justify-content: space-between;
  }
  .main-nav.is-open .nav-link, .main-nav.is-open .nav-drop { opacity: 0; transform: translateY(14px); animation: mnavIn .5s forwards; }
  .main-nav.is-open .nav-drop:nth-child(1) { animation-delay: .05s; }
  .main-nav.is-open .nav-link:nth-child(2) { animation-delay: .1s; }
  .main-nav.is-open .nav-link:nth-child(3) { animation-delay: .14s; }
  .main-nav.is-open .nav-link:nth-child(4) { animation-delay: .18s; }
  @keyframes mnavIn { to { opacity: 1; transform: none; } }
  .main-nav .nav-drop { width: 100%; }
  .main-nav .nav-drop-btn { display: flex; }
  .drop-panel { position: static; transform: none; opacity: 1; visibility: visible; width: 100%;
    background: transparent; border: 0; box-shadow: none; display: none; padding: 4px 0 10px; }
  .drop-panel-mega { width: 100%; padding: 4px 0 10px; }
  .drop-panel-mega .drop-grid { grid-template-columns: 1fr; }
  .nav-drop.is-open .drop-panel { display: grid; }
  .drop-item { padding: 12px 10px; }
  .drop-item strong { color: #fff; font-size: 16px; }
  .drop-item small { color: #a8a49c; }
  .drop-ico { background: rgba(255,255,255,.08); color: #fff; }
  .drop-foot { display: none; }
  .nav-mobile-cta { display: grid; gap: 10px; margin-top: 22px; }
  .nav-mobile-cta .btn { width: 100%; justify-content: center; }
  .nav-mobile-foot { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 24px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.1); flex-wrap: wrap; }
  .nav-mobile-foot .footer-social { margin-top: 0; }

  /* Barre d'action fixe en bas */
  .mobile-bar {
    display: grid; grid-template-columns: repeat(5, 1fr);
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
    background: #fff; border-top: 1px solid var(--line);
    padding-bottom: env(safe-area-inset-bottom);
    box-shadow: 0 -8px 24px rgba(6, 16, 71, .08);
  }
  .mbar-item {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
    padding: 9px 4px 8px; font-size: 11px; font-weight: 600; color: var(--muted); background: none;
  }
  .mbar-item svg.lucide { width: 21px; height: 21px; }
  .mbar-item:active { color: var(--ink); }
  .mbar-cta { color: var(--accent); }
  .mbar-cta svg.lucide { background: var(--accent); color: #fff; width: 40px; height: 40px; padding: 9px; border-radius: 12px; margin-top: -18px; box-shadow: 0 8px 18px rgba(229,92,0,.4); }
  body { padding-bottom: 64px; }
  .agent { bottom: 78px; }
  .wa-float { display: none; }

  .intro-grid, .quote-cta-inner, .faq-grid, .contact-grid, .div-about-grid, .faq-page { grid-template-columns: 1fr; }
  .intro-media { order: -1; max-width: 520px; }
  .news-featured { grid-template-columns: 1fr; }
  .div-side-card, .faq-cta { position: static; }

  /* Footer mobile propre */
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px 20px; padding: 44px 0 30px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom-inner { flex-direction: column; align-items: flex-start; gap: 12px; }
  .footer-legal { gap: 16px; }
}
@media (max-width: 520px) {
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
}
@media (max-width: 640px) {
  .form-row, .q-lead-grid, .mv-grid, .q-grid-2, .q-grid-3 { grid-template-columns: 1fr; }
  .q-line-grid, .q-line-grid2 { grid-template-columns: 1fr; }
  .hero-nav { width: 92vw; }
  .intro-badge { right: 8px; padding: 12px 16px; }
  .intro-badge strong { font-size: 26px; }
  .q-steps li { min-width: auto; flex: initial; }

  /* Hero mobile : propre et lisible */
  .hero { height: 100svh; min-height: 520px; }
  .hero-content { justify-content: flex-end; padding-bottom: 92px; }
  .hero-kicker { font-size: 11px; letter-spacing: .1em; }
  .hero-title { font-size: clamp(28px, 8.5vw, 36px); max-width: 100%; }
  .hero-sub { font-size: 14.5px; max-width: 100%; margin-top: 12px; }
  .hero-actions { margin-top: 22px; }
  .hero-actions .btn { width: 100%; }
  .hero-sound { right: 16px; bottom: 88px; width: 42px; height: 42px; }
  .hero-nav { bottom: 20px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .presence { min-height: auto; }
  .presence-head h2 { font-size: 30px; }
  .gm-item { flex-basis: 72vw; }
  .domain-card { flex-basis: 82vw; }
}

/* ---------- Cotation mobile : wizard en slide, une étape à la fois ---------- */
@keyframes qslidein  { from { opacity: 0; transform: translateX(30px); }  to { opacity: 1; transform: none; } }
@keyframes qslideback { from { opacity: 0; transform: translateX(-30px); } to { opacity: 1; transform: none; } }
@media (max-width: 720px) {
  .quote-app { overflow: hidden; }                                   /* borne le glissement horizontal */
  .q-panel.is-active { animation: qslidein .4s cubic-bezier(.22,.61,.36,1); }
  .q-goback .q-panel.is-active { animation: qslideback .4s cubic-bezier(.22,.61,.36,1); }
}
@media (max-width: 560px) {
  /* Fil d'étapes compact : points discrets + étape courante déployée avec son libellé */
  .q-steps { flex-wrap: nowrap; gap: 5px; align-items: center; margin-bottom: 22px; }
  .q-steps li {
    flex: 0 0 auto; min-width: 0; gap: 0; padding: 6px; font-size: 0;
    background: transparent; border-color: transparent;
  }
  .q-steps li:not(.is-active) .q-step-dot { width: 26px; height: 26px; }
  .q-steps li.is-active {
    flex: 1 1 auto; gap: 8px; padding: 7px 12px; font-size: 12.5px;
    background: #fff; border-color: var(--accent);
  }
  .q-nav .btn { flex: 1; justify-content: center; }
}

/* ============================================================
   Barème douanier public (pages SEO/GEO)
   ============================================================ */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.bareme-head {
  background: var(--ink); color: #fff; padding: 128px 0 44px;
}
.bareme-head .crumbs, .bareme-head .crumbs a { color: rgba(255,255,255,.7); }
.bareme-head .crumbs a:hover { color: #fff; }
.bareme-head .section-kicker { color: var(--accent); }
.bareme-head h1 {
  font-size: clamp(26px, 4.4vw, 42px); line-height: 1.12; font-weight: 800;
  letter-spacing: -.02em; margin: 10px 0 18px; max-width: 20ch;
}
.bareme-lead {
  font-size: clamp(15px, 2.1vw, 18px); line-height: 1.62; color: #d7dbf0;
  max-width: 70ch;
}
.bareme-lead strong { color: #fff; font-weight: 700; }
.bareme-updated {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 18px;
  font-size: 13.5px; color: rgba(255,255,255,.66);
}
.bareme-updated i { width: 15px; height: 15px; }
.bareme-head .hero-actions { margin-top: 26px; }

.bareme-brief {
  background: var(--accent-soft); border: 1px solid #f6d8c4;
  border-radius: var(--radius-lg); padding: 22px 26px;
}
.bareme-brief h2 { font-size: 16px; color: var(--accent-dark); margin: 0 0 12px; }
.bareme-brief ul { margin: 0; padding-left: 20px; display: grid; gap: 8px; }
.bareme-brief li { color: var(--ink-2); font-size: 15px; line-height: 1.5; }

.bareme-note { color: var(--muted); font-size: 14px; margin: 10px 0 0; }
.bareme-family { margin-top: 30px; }
.bareme-family-title {
  display: flex; align-items: center; gap: 9px; font-size: 18px; font-weight: 700;
  color: var(--ink); margin: 0 0 12px;
}
.bareme-family-title i { color: var(--accent); width: 19px; height: 19px; }
.bareme-family-title span { color: var(--muted); font-weight: 600; font-size: 14px; }

.bareme-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
.bareme-table { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 520px; }
.bareme-table caption { text-align: left; }
.bareme-table thead th {
  background: var(--paper-2); color: var(--ink-2); text-align: left; font-weight: 700;
  font-size: 12.5px; text-transform: uppercase; letter-spacing: .03em;
  padding: 11px 14px; white-space: nowrap;
}
.bareme-table tbody th, .bareme-table tbody td { padding: 11px 14px; border-top: 1px solid var(--line); vertical-align: middle; }
.bareme-table tbody th { text-align: left; font-weight: 600; color: var(--ink); }
.bareme-table tbody th small { display: block; color: var(--muted); font-weight: 500; font-size: 12.5px; }
.bareme-table tbody td { color: var(--ink-2); }
.bareme-table tbody tr:hover { background: var(--paper); }
.bareme-table a { color: var(--ink); text-decoration: none; }
.bareme-table a:hover { color: var(--accent-dark); text-decoration: underline; }
.bareme-td-go { text-align: right; width: 40px; }
.bareme-td-go i { width: 16px; height: 16px; color: var(--accent); }

.rate-pill {
  display: inline-block; background: var(--ink); color: #fff; font-weight: 700;
  font-size: 12.5px; padding: 3px 9px; border-radius: 999px; white-space: nowrap;
}
.rate-pill-ok { background: #10693e; }

.bareme-alt { background: var(--paper); }
.bareme-source { color: var(--muted); font-size: 13px; line-height: 1.55; margin-top: 16px; max-width: 80ch; }

/* Page détail */
.bareme-detail-grid { display: grid; grid-template-columns: minmax(0,1fr) 320px; gap: 42px; align-items: start; }
.bareme-detail-main > h2 { font-size: 22px; color: var(--ink); margin: 34px 0 12px; }
.bareme-detail-main > h2:first-of-type { margin-top: 4px; }
.bareme-detail-main p { color: var(--ink-2); line-height: 1.6; }

.rate-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 8px; }
.rate-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 16px 18px; text-align: center;
}
.rate-card-lbl { display: block; font-size: 12.5px; color: var(--muted); text-transform: uppercase; letter-spacing: .03em; font-weight: 600; }
.rate-card-val { display: block; font-size: 30px; font-weight: 800; color: var(--accent); letter-spacing: -.02em; margin: 4px 0 2px; }
.rate-card-sh { font-size: 19px; color: var(--ink); }
.rate-card small { color: var(--muted); font-size: 12px; }

.bareme-example tfoot th, .bareme-example tfoot td {
  padding: 13px 14px; border-top: 2px solid var(--ink); background: var(--paper-2);
  font-weight: 700; color: var(--ink);
}

.bareme-detail-side { position: sticky; top: 92px; display: grid; gap: 18px; }
.bareme-siblings { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 18px 20px; }
.bareme-siblings h3 { font-size: 14px; color: var(--muted); text-transform: uppercase; letter-spacing: .03em; margin: 0 0 12px; }
.bareme-siblings ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.bareme-siblings a {
  display: flex; justify-content: space-between; gap: 10px; align-items: center;
  padding: 8px 10px; border-radius: 8px; color: var(--ink); text-decoration: none; font-size: 14px; font-weight: 500;
}
.bareme-siblings a:hover { background: var(--paper); }
.bareme-siblings a span { color: var(--accent-dark); font-weight: 700; font-size: 13px; white-space: nowrap; }
.bareme-allink { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; color: var(--accent-dark); font-weight: 700; font-size: 14px; text-decoration: none; }
.bareme-allink i { width: 15px; height: 15px; }

@media (max-width: 900px) {
  .bareme-detail-grid { grid-template-columns: 1fr; gap: 26px; }
  .bareme-detail-side { position: static; }
}
@media (max-width: 640px) {
  .bareme-head { padding: 104px 0 34px; }
  .rate-cards { grid-template-columns: 1fr; }
  .rate-card { display: flex; align-items: center; gap: 12px; text-align: left; }
  .rate-card-val { margin: 0; font-size: 24px; }
}

/* Bloc "réponse directe" (answer-first) pour Google et les moteurs IA */