/* TakaPlast — feuille de style partagée. Un seul fichier, mis en cache sur
   toutes les pages. Dérivé des styles inline des maquettes v0.3 (design
   handoff), pas une copie — les maquettes n'ont pas de media queries,
   celles-ci sont ajoutées pour le mobile Kinshasa (contrainte du brief). */

@font-face {
  font-family: 'Inter';
  src: url('/assets/fonts/Inter-Variable.3100e775e8.woff2') format('woff2-variations');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --dominant: #0D1F0F;
  --accent: #00C853;
  --accent-dark: #00A344;
  /* Hover accessible — absent des maquettes, ajouté pour corriger un bug de
     contraste (au survol, le texte des <a> passait en var(--accent), ratio
     1:1 sur les boutons pleins fond accent — texte invisible). Vert plus
     sombre que --accent-dark, ≥4.5:1 sur fond clair (blanc et --fill-soft). */
  --link-hover: #007A34;
  --orange: #FF8F00;
  --orange-bg: #FFF3E0;
  --orange-text: #B26900;
  --bg: #FFFFFF;
  --text: #12251A;
  --muted: #3C4F41;
  --muted2: #5A6B5C;
  --border: #DEE7E0;
  --fill: #EAF1EB;
  --fill-soft: #F7FAF8;
  --fill-alt: #FBFDFB;
  --track: #B9C6BC;
  --nav-muted: #C9D6CC;
  --footer-muted: #8FA894;
  --ok-bg: #E4F5E9;
  --ok-border: #BFE5CB;
  --ok-text: #00873A;
  --warn-bg: #FFF8EE;
  --warn-border: #F5E3C4;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
}
body > main { flex: 1 0 auto; }
body > .site-footer { flex: 0 0 auto; }
::selection { background: var(--accent); color: var(--dominant); }
a { color: var(--accent-dark); }
/* var(--accent) au survol tombait sous 4.5:1 sur fond clair (2.24:1) et sur
   les boutons pleins fond accent, il était identique au fond (1:1 —
   invisible). Vert plus sombre + soulignement pour le retour visuel. */
a:hover { color: var(--link-hover); text-decoration: underline; }
img { max-width: 100%; display: block; }
.icon { width: 1em; height: 1em; display: inline-block; vertical-align: -0.15em; fill: none; }

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

/* ── HEADER / NAV ── */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--dominant);
  border-bottom: 1px solid rgba(0,200,83,.25);
}
.site-header .container {
  display: flex; align-items: center; gap: 16px; height: 64px; flex-wrap: nowrap;
}
.logo { text-decoration: none; font-weight: 900; font-size: 19px; letter-spacing: -.01em; white-space: nowrap; }
.logo .w { color: #fff; }
.logo .g { color: var(--accent); }
.nav { display: flex; gap: 15px; margin-left: auto; align-items: center; }
/* Pas d'overflow ici : overflow-x:auto rend l'axe Y « auto » lui aussi et
   découpe le déroulé « Produits », qui est en position absolue sous la
   barre. Le défilement horizontal ne sert qu'en dessous de 860 px, où le
   déroulé se déplie en liste statique — il y est rétabli. */
.nav::-webkit-scrollbar { display: none; }
.nav a {
  text-decoration: none; font-size: 13px; font-weight: 600; color: var(--nav-muted);
  padding-bottom: 2px; border-bottom: 2px solid transparent; white-space: nowrap;
}
.nav a:hover { color: var(--accent); text-decoration: none; }
.nav a.active { font-weight: 700; color: var(--accent); border-bottom-color: var(--accent); }
.lang-switch { display: flex; align-items: center; gap: 2px; border: 1px solid rgba(201,214,204,.35); border-radius: 8px; padding: 2px; }
.lang-switch a {
  font-family: 'Inter', sans-serif; font-size: 11px; font-weight: 700; border: none; border-radius: 6px;
  padding: 5px 9px; text-decoration: none; color: var(--footer-muted);
}
.lang-switch a:hover { color: var(--accent); text-decoration: none; }
.lang-switch a.active { background: var(--accent); color: var(--dominant); }
.lang-switch a.active:hover { color: var(--dominant); }
.btn-quote {
  display: inline-flex; align-items: center; gap: 7px; text-decoration: none; font-weight: 700;
  font-size: 13.5px; color: var(--dominant); background: var(--accent); border-radius: 9px; padding: 9px 16px;
  white-space: nowrap;
}
/* Survol : le fond s'assombrit, le texte reste inchangé — au lieu de passer
   le texte en var(--accent) comme faisait la règle a:hover générique
   (identique au fond, ratio 1:1, texte invisible). */
.btn-quote:hover { background: var(--accent-dark); color: var(--dominant); text-decoration: none; }

/* ── BUTTONS ── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-family: inherit;
  font-weight: 700; font-size: 14.5px; color: var(--dominant); background: var(--accent);
  border: none; border-radius: 10px; padding: 12px 22px; cursor: pointer;
}
.btn-primary:hover { background: var(--accent-dark); color: var(--dominant); text-decoration: none; }
.btn-secondary {
  display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 600;
  font-size: 15px; color: #F2F7F3; border: 1.5px solid rgba(0,200,83,.45); border-radius: 10px; padding: 12px 20px;
}
.btn-secondary:hover { color: var(--accent); border-color: var(--accent); text-decoration: none; }

/* ── TYPO / BADGES ── */
.eyebrow { font-size: 11.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--accent-dark); font-weight: 700; }
.badge-pending { font-size: 10px; font-weight: 700; color: var(--orange-text); background: var(--orange-bg); border-radius: 6px; padding: 3px 8px; white-space: nowrap; }
.badge-next { font-size: 10px; font-weight: 700; color: var(--muted2); background: var(--fill); border-radius: 6px; padding: 3px 8px; white-space: nowrap; }
.badge-done { font-size: 10px; font-weight: 700; color: var(--ok-text); background: var(--ok-bg); border-radius: 6px; padding: 3px 8px; }
.status-badge { font-size: 10px; font-weight: 700; border-radius: 6px; padding: 3px 8px; white-space: nowrap; display: inline-block; }
.status-badge--planned { color: var(--orange-text); background: var(--orange-bg); }
.status-badge--ongoing { color: var(--muted2); background: var(--fill); }
.status-badge--target { color: var(--ok-text); background: var(--ok-bg); }
h1 { font-weight: 900; font-size: 38px; line-height: 1.08; letter-spacing: -.025em; margin: 10px 0 0; }
h2 { font-weight: 800; font-size: 24px; letter-spacing: -.02em; margin: 0 0 14px; }
.page-sub { font-size: 15.5px; color: var(--muted); margin: 14px 0 0; }

/* ── HERO (accueil) ── */
.hero-dark { background: var(--dominant); color: #F2F7F3; position: relative; overflow: hidden; }
.hero-dark .container { position: relative; padding: 48px 20px 0; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 32px; align-items: stretch; }
.hero-dark h1 { max-width: 560px; font-size: 42px; }
.hero-dark .eyebrow { color: var(--accent); }
.hero-dark p { font-size: 16px; color: var(--nav-muted); max-width: 520px; margin: 16px 0 0; }
.hero-cta-row { display: flex; gap: 12px; margin-top: 26px; flex-wrap: wrap; }
.stat-band { border-top: 1px solid rgba(0,200,83,.25); background: rgba(0,0,0,.25); margin-top: 32px; }
.stat-band .container { padding: 20px; display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 18px; }
.stat-band .num { font-weight: 900; font-size: 26px; letter-spacing: -.02em; color: var(--orange); }
.stat-band .lbl { font-size: 12px; color: var(--footer-muted); margin-top: 2px; }

/* ── PRODUCT-PAGE HERO ── */
.product-hero { max-width: var(--max); margin: 0 auto; padding: 36px 20px 0; display: grid; grid-template-columns: 1.15fr 1fr; gap: 30px; align-items: stretch; }
.product-hero .eyebrow-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
/* Fiche produit sans visuel : le contenu occupe toute la largeur. */
.product-hero--noimg { grid-template-columns: 1fr; }

/* ── PLACEHOLDER IMAGE ── */
.placeholder-img {
  border: 1.5px dashed var(--track); border-radius: 14px; min-height: 300px;
  background: repeating-linear-gradient(-45deg, var(--fill-soft), var(--fill-soft) 14px, var(--fill) 14px, var(--fill) 28px);
  display: flex; align-items: center; justify-content: center; text-align: center;
}
.placeholder-img span {
  font-family: ui-monospace, monospace; font-size: 11.5px; color: var(--muted2);
  background: #fff; border: 1px solid var(--border); border-radius: 8px; padding: 8px 13px; max-width: 240px;
}
.placeholder-img.on-dark { border-color: rgba(0,200,83,.4); background: repeating-linear-gradient(-45deg, rgba(255,255,255,.03), rgba(255,255,255,.03) 14px, rgba(0,200,83,.05) 14px, rgba(0,200,83,.05) 28px); min-height: 280px; }
.placeholder-img.on-dark span { background: var(--dominant); border-color: rgba(0,200,83,.3); color: var(--footer-muted); }
.placeholder-thumb {
  height: 150px; border-bottom: 1px solid var(--border); overflow: hidden;
  background: repeating-linear-gradient(-45deg, var(--fill-soft), var(--fill-soft) 14px, var(--fill) 14px, var(--fill) 28px);
  display: flex; align-items: center; justify-content: center;
}
.placeholder-thumb span { font-family: ui-monospace, monospace; font-size: 11px; color: var(--muted2); background: #fff; border: 1px solid var(--border); border-radius: 7px; padding: 6px 11px; }
.placeholder-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* ── IMAGE COMPONENT (pipeline préparé — voir generator/convert-images.js) ──
   Format bandeau : largeur 100 % du bloc contenant (grille produit-hero ou
   section pleine largeur selon la page — jamais réduite), hauteur fixée par
   slot + object-fit:cover. Hauteur en CSS indépendante des dimensions
   intrinsèques = zéro layout shift. object-position réglé par slot pour
   garder le sujet principal dans le cadre. */
.content-img { margin: 0; border: 1.5px solid var(--border); border-radius: 14px; overflow: hidden; background: var(--fill-soft); }
.content-img img { display: block; width: 100%; height: 320px; object-fit: cover; object-position: 50% 50%; }
.content-img figcaption { font-family: ui-monospace, monospace; font-size: 11px; color: var(--muted2); padding: 7px 13px; border-top: 1px solid var(--border); background: #fff; }
.content-img.on-dark { border-color: rgba(0,200,83,.4); background: rgba(255,255,255,.03); }
.content-img.on-dark figcaption { background: var(--dominant); border-top-color: rgba(0,200,83,.3); color: var(--footer-muted); }

.content-img.img-hero img { object-position: 50% 50%; }
.content-img.img-granules img { object-position: 50% 60%; }
.content-img.img-huile img { object-position: 50% 50%; }
.content-img.img-paves img { object-position: 50% 65%; }
.content-img.img-services img { height: 320px; object-position: 50% 50%; }
.content-img.img-impact img { height: 320px; object-position: 50% 50%; }
.content-img.img-actualites img { height: 320px; object-position: 50% 60%; }

/* Héros à deux colonnes (accueil, fiches produit) : le bas de la carte
   image (légende incluse) s'aligne sur le bas de la colonne de texte en
   vis-à-vis. Le parent grid (.hero-grid / .product-hero) étire les deux
   colonnes à la même hauteur (align-items:stretch) ; ici, la figure
   remplit cette hauteur, la légende garde sa taille naturelle, l'image
   absorbe le reste via object-fit:cover — fonctionne quelle que soit la
   longueur du texte en vis-à-vis (FR/EN), pas de hauteur fixe calée sur
   une langue. Sur mobile, les colonnes s'empilent : la carte retrouve une
   hauteur de bandeau fixe (cf. media query), comportement inchangé. */
.content-img.hero-fit { display: flex; flex-direction: column; height: 100%; min-height: 0; }
.content-img.hero-fit img { flex: 1 1 0; min-height: 0; height: auto; }
.content-img.hero-fit figcaption { flex: 0 0 auto; }

/* ── COMPARISON BAR ── */
.compare-box { margin-top: 24px; border: 1px solid var(--border); border-radius: 14px; padding: 20px 22px; }
.compare-title { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted2); font-weight: 700; margin-bottom: 14px; }
.compare-row { margin-bottom: 12px; }
.compare-row .line { display: flex; justify-content: space-between; font-size: 12.5px; margin-bottom: 5px; }
.compare-row .val { font-weight: 900; color: var(--orange); }
.compare-row .val.muted { font-weight: 800; color: var(--muted2); }
.compare-track { height: 12px; border-radius: 6px; background: var(--fill); overflow: hidden; }
.compare-fill { height: 100%; background: var(--accent); }
.compare-fill.import { background: var(--track); width: 100%; }
.compare-note { margin-top: 12px; font-size: 13px; color: var(--muted); }

/* ── BLOC ÉCART (remplace le comparatif chiffré) ──
   Aucun prix, aucun dénominateur : une fourchette, sa légende et sa base.
   La fourchette élargit la bande d'inférence au point de la rendre
   inexploitable pour préparer une négociation. */
.ecart-box { background: var(--fill-soft); }
.ecart-value { font-weight: 900; font-size: 32px; letter-spacing: -.02em; color: var(--orange); line-height: 1.1; }
.ecart-caption { font-size: 13.5px; color: var(--muted); margin-top: 6px; }
/* Mention obligatoire — en corps de texte sous le bloc écart, jamais en
   note de bas de page : c'est elle qui rend la fourchette défendable. */
.ecart-note { font-size: 14px; line-height: 1.6; color: var(--text); margin: 16px 0 0; max-width: 62ch; }

/* Bandeau d'écart de l'accueil — remplace le chiffre-clé transversal
   « −30 % et plus », faux pour un des quatre flux. L'écart se publie
   désormais par produit, sur sa vignette. */
.ecart-strip { border: 1px solid var(--border); border-radius: 16px; padding: 26px 30px; background: var(--fill-soft); }
.ecart-strip h2 { font-size: 24px; margin: 0; }
.ecart-strip p { font-size: 14.5px; color: var(--muted); margin: 10px 0 0; max-width: 68ch; }

/* Grille catalogue à quatre vignettes : l'écart remplace le prix. */
.product-grid .desc { font-size: 12.5px; }
/* L'écart tient sur sa propre ligne, sa qualification en dessous : une
   fourchette est plus longue qu'un prix et ne se met pas en ligne avec
   « face au granulé vierge importé » sans se casser en deux. */
.product-grid .price-row { flex-direction: column; align-items: flex-start; gap: 3px; }
.product-grid .price-row .price { font-size: 19px; line-height: 1.15; }
.product-grid .price-row .vs { font-size: 11.5px; line-height: 1.35; }
/* Le nom du produit ne se fait pas pousser sur trois lignes par son badge. */
.product-grid .name-row { flex-wrap: wrap; row-gap: 4px; }
.product-grid .name-row span:first-child { font-size: 15.5px; }

/* ── RÉSERVE D'EMPLOI / STATUT DES CARACTÉRISTIQUES ──
   Deux encarts de qualification, en position haute. */
.reserve-card, .status-card { max-width: 860px; }
.reserve-card p, .status-card p { font-size: 13.5px; line-height: 1.65; color: var(--muted); margin: 12px 0 0; }
.reserve-card { border-left: 3px solid var(--orange); }
.status-card { background: var(--fill-soft); }

/* ── TABLE DE CONDITIONS (3 colonnes, plus de colonne prix) ── */
.price-table.cond-table .row { grid-template-columns: 1.6fr 1.2fr 1fr; }

/* ── DEMANDE DE GRILLE — la grille est une pièce remise, pas une page ── */
.grid-request { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  margin-top: 16px; border: 1px solid var(--border); border-radius: 14px; padding: 18px 22px; background: var(--fill-soft); }
.grid-request span { font-size: 13px; color: var(--muted); max-width: 62ch; }

.field-note { font-size: 12.5px; line-height: 1.6; color: var(--muted); margin: 12px 0 0; }
.terms-footnote { font-size: 12.5px; line-height: 1.6; color: var(--muted2); margin: 12px 0 0; }
.field select { width: 100%; font: inherit; font-size: 14px; color: var(--text); background: #fff;
  border: 1px solid var(--border); border-radius: 10px; padding: 10px 12px; }

/* ── DÉROULÉ « PRODUITS » — CSS pur, aucun JS ──
   :focus-within couvre la navigation au clavier ; le libellé reste un lien
   vers la première fiche, donc utilisable même sans survol ni focus. */
.nav-group { position: relative; display: inline-flex; }
.nav-group-label { display: inline-flex; align-items: center; gap: 4px; }
.nav-drop { position: absolute; top: 100%; left: 0; min-width: 210px; padding: 8px 0; z-index: 30;
  background: var(--dominant); border: 1px solid rgba(255,255,255,.12); border-radius: 12px;
  box-shadow: 0 12px 28px rgba(0,0,0,.28); opacity: 0; visibility: hidden; transform: translateY(-4px);
  transition: opacity .12s, transform .12s, visibility .12s; }
.nav-group:hover .nav-drop, .nav-group:focus-within .nav-drop { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-drop a { display: block; padding: 8px 16px; white-space: nowrap; }
/* Dans le déroulé, l'entrée active se marque par la couleur et la graisse :
   le soulignement de la barre principale s'étirerait sur toute la largeur. */
.nav-drop a.active { border-bottom-color: transparent; }

.compare-note b { font-weight: 900; color: var(--orange); }

/* ── PRICE TABLE ── */
.price-table { border: 1px solid var(--border); border-radius: 14px; overflow: hidden; margin-top: 14px; }
.price-table .row { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; align-items: center; }
.price-table .row.head { background: var(--dominant); color: var(--nav-muted); }
.price-table .row.head div { padding: 12px 16px; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; }
.price-table .row.body { border-top: 1px solid var(--fill); }
.price-table .row.body div { padding: 13px 16px; }
.price-table .name { font-weight: 600; font-size: 13.5px; }
.price-table .name a { color: var(--text); text-decoration: none; }
.price-table .cond { font-size: 13px; color: var(--muted2); }
.price-table .price { font-weight: 900; font-size: 15px; color: var(--orange); }
.price-note { font-size: 12px; color: var(--muted2); margin-top: 8px; }

/* ── GENERIC CARD ── */
.card { border: 1px solid var(--border); border-radius: 14px; padding: 22px; }
.card-title { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted2); font-weight: 700; margin-bottom: 14px; }
.spec-list { display: flex; flex-direction: column; }
.spec-list .spec { display: flex; justify-content: space-between; gap: 14px; padding: 9px 0; border-bottom: 1px solid var(--fill); font-size: 13.5px; }
.spec-list .spec span:first-child { color: var(--muted2); }
.spec-list .spec span:last-child { font-weight: 600; text-align: right; }
.note-row { display: flex; align-items: center; gap: 9px; margin-top: 14px; font-size: 12.5px; color: var(--muted); }
.note-row .icon { flex: 0 0 auto; }
/* Encart sans icône : un lien inline ne doit pas devenir un élément flex,
   sinon il se détache du texte qui le porte. */
.note-row--prose { display: block; line-height: 1.6; }
.pack-list { display: flex; flex-direction: column; gap: 11px; }
.pack-list div { display: flex; gap: 10px; font-size: 13.5px; color: var(--muted); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; }

/* ── PRODUCT GRID (accueil) ── */
.product-card { text-decoration: none; color: inherit; border: 1px solid var(--border); border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; background: #fff; transition: border-color .15s; }
.product-card:hover { border-color: var(--accent); }
.product-card .body { padding: 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.product-card .name-row { display: flex; align-items: center; gap: 9px; }
.product-card .name-row span:first-child { font-weight: 800; font-size: 17px; color: var(--text); }
.product-card .desc { font-size: 13px; color: var(--muted2); flex: 1; }
.product-card .price-row { display: flex; align-items: baseline; gap: 8px; }
.product-card .price-row .price { font-weight: 900; font-size: 22px; color: var(--orange); }
.product-card .price-row .vs { font-size: 12px; color: var(--muted2); }
.product-card .cta { font-size: 13.5px; font-weight: 700; color: var(--accent-dark); display: inline-flex; align-items: center; gap: 6px; }

/* ── STRUCTURAL BLOCK (accueil) ── */
.struct-block { border: 1px solid var(--border); border-radius: 16px; padding: 30px; display: grid; grid-template-columns: 1.2fr 1fr; gap: 30px; align-items: center; background: var(--fill-soft); }
/* Variante sans colonne chiffrée : le bloc décote ne porte plus ni prix
   d'achat matière ni structure de coût (correctif site R1-12). */
.struct-block--prose { grid-template-columns: 1fr; }
.struct-block--prose p { max-width: 78ch; }
.struct-block h2 { font-size: 24px; }
.struct-row { display: flex; align-items: center; justify-content: space-between; background: #fff; border: 1px solid var(--border); border-radius: 11px; padding: 14px 18px; }
.struct-row .val { font-weight: 900; font-size: 20px; color: var(--orange); }
.struct-row .val.muted { color: var(--muted2); }

/* ── IMPACT STRIP (accueil) ── */
.impact-strip { display: flex; align-items: center; justify-content: space-between; gap: 20px; border: 1px solid var(--border); border-radius: 16px; padding: 22px 26px; flex-wrap: wrap; }
.impact-strip .left { display: flex; align-items: center; gap: 16px; }
.icon-badge { width: 44px; height: 44px; border-radius: 11px; background: var(--ok-bg); color: var(--accent-dark); display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; font-size: 22px; }
.icon-badge.muted { background: var(--fill); color: var(--muted2); }

/* ── CTA BLOCK ── */
.cta-block { background: var(--dominant); border-radius: 18px; padding: 36px 40px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-block h2 { color: #F2F7F3; margin: 0; }
.cta-block p { font-size: 14px; color: var(--footer-muted); margin: 8px 0 0; max-width: 540px; }

/* ── FORM ── */
.form-card { border: 1px solid var(--border); border-radius: 16px; padding: 28px 30px; max-width: 820px; }
.form-card.wide { max-width: none; }
.form-card h2 { font-size: 22px; margin-bottom: 4px; }
.form-sub { font-size: 13.5px; color: var(--muted2); margin: 0 0 20px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-grid .span2 { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: 5px; }
.field label { font-size: 12px; font-weight: 700; color: var(--muted); }
.field input, .field textarea, .field select {
  border: 1.5px solid var(--border); border-radius: 9px; padding: 10px 13px; font-family: inherit; font-size: 14px; color: var(--text);
}
.field textarea { resize: vertical; min-height: 90px; }
.form-footer { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 16px; flex-wrap: wrap; }
.consent { display: flex; align-items: flex-start; gap: 8px; font-size: 12px; color: var(--muted2); margin-top: 14px; cursor: pointer; }
.consent input { margin-top: 2px; flex: 0 0 auto; }
.form-tag { font-family: ui-monospace, monospace; font-size: 10.5px; color: var(--footer-muted); }
.form-success { background: var(--ok-bg); border: 1px solid var(--ok-border); border-radius: 11px; padding: 15px 17px; display: flex; gap: 11px; align-items: flex-start; }
.form-success .icon { color: var(--accent-dark); font-size: 21px; flex: 0 0 auto; margin-top: 1px; }
.form-success .title { font-weight: 800; font-size: 14.5px; color: var(--ok-text); }
.form-success .body { font-size: 13px; color: var(--muted); margin-top: 2px; }
[hidden] { display: none !important; }
.profile-picker { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.profile-picker label { font-family: inherit; font-size: 13px; font-weight: 600; color: var(--muted); background: #fff; border: 1.5px solid var(--border); border-radius: 999px; padding: 8px 15px; cursor: pointer; display: inline-block; }
.profile-picker input { position: absolute; opacity: 0; pointer-events: none; }
.profile-picker input:checked + label { font-weight: 700; color: var(--dominant); background: var(--accent); border-color: var(--accent); }

/* ── TIMELINE (actualités) ── */
.timeline { position: relative; padding-left: 26px; }
.timeline::before { content: ''; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px; background: var(--border); }
.timeline-item { position: relative; margin-bottom: 18px; }
.timeline-dot { position: absolute; left: -26px; top: 6px; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 3px solid var(--track); }
.timeline-dot.done { border-color: var(--accent); }
.timeline-card { border: 1px solid var(--border); border-radius: 14px; padding: 20px 24px; background: var(--fill-alt); }
.timeline-card.done { background: #fff; }
.timeline-meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.timeline-gate { font-family: ui-monospace, monospace; font-size: 11px; color: var(--muted2); }
.timeline-title { font-weight: 800; font-size: 16.5px; margin-top: 8px; }
.timeline-body { font-size: 13.5px; color: var(--muted); margin-top: 5px; }

/* ── ABOUT PAGE ── */
.vision-block { background: var(--dominant); border-radius: 16px; padding: 30px 34px; color: #F2F7F3; margin-top: 32px; }
.vision-block .eyebrow { color: var(--accent); }
.vision-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-top: 18px; }
.vision-grid .yr { font-weight: 900; font-size: 17px; color: var(--accent); }
.vision-grid .desc { font-size: 13px; color: var(--nav-muted); margin-top: 5px; }
.person-row { display: flex; gap: 14px; align-items: center; }
.person-row .role { font-size: 12.5px; color: var(--accent-dark); font-weight: 700; }
.person-row .bio { font-size: 12.5px; color: var(--muted2); margin-top: 2px; }
.quote-block { font-size: 14px; color: var(--muted); margin: 0; border-left: 3px solid var(--accent); padding-left: 16px; font-style: italic; }
.quote-caption { font-size: 12.5px; color: var(--muted2); margin-top: 12px; }

/* ── KPI GRID (impact) ── */
/* Les cartes sont des colonnes flex : le badge est poussé en bas par
   .kpi-badge, ce qui aligne les quatre badges entre eux quel que soit le
   nombre de lignes pris par le titre — « Emplois directs et coopérateurs
   formalisés » en prend deux à lui seul.
   min-width: 0 est indispensable : un item de grille a min-width:auto par
   défaut et refuse de descendre sous la largeur min-content de son contenu.
   Un badge en white-space:nowrap a une largeur min-content énorme : la carte
   gonflait et débordait sur sa voisine. */
.kpi-card { border: 1px solid var(--border); border-radius: 14px; padding: 20px; display: flex; flex-direction: column; min-width: 0; }
.kpi-label { font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted2); font-weight: 700; }
.kpi-value { font-weight: 900; font-size: 28px; letter-spacing: -.02em; color: var(--orange); margin-top: 6px; overflow-wrap: anywhere; }
.kpi-note { font-size: 12px; color: var(--muted2); margin-top: 3px; }
.kpi-badge { margin-top: auto; padding-top: 10px; }
/* Badges longs — réserves et libellés d'arbitrage : ils doivent pouvoir
   passer à la ligne. Le nowrap global reste en vigueur pour les badges courts
   des vignettes produit et des tableaux de conditions. */
.kpi-card .status-badge, .stat-band .status-badge { white-space: normal; line-height: 1.4; }
.stat-band .container > div { min-width: 0; }
.info-banner { display: flex; gap: 10px; align-items: flex-start; margin-top: 12px; background: var(--warn-bg); border: 1px solid var(--warn-border); border-radius: 11px; padding: 13px 16px; }
.info-banner.green { background: var(--fill-soft); border-color: var(--border); }
.info-banner .icon { color: var(--orange-text); flex: 0 0 auto; margin-top: 1px; }
.info-banner.green .icon { color: var(--accent-dark); }
.info-banner span:last-child { font-size: 12.5px; color: var(--muted); }
.sdg-pill { font-size: 12.5px; font-weight: 700; color: #fff; background: var(--dominant); border-radius: 7px; padding: 6px 12px; }
.sdg-row { display: flex; flex-wrap: wrap; gap: 8px; }

/* ── TIPPING SECTION (services) ── */
.tipping-block { margin-top: 20px; border: 1.5px solid var(--accent); border-radius: 16px; padding: 30px 34px; background: var(--fill-soft); }
.tipping-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.tip-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin-top: 20px; }
.tip-card { background: #fff; border: 1px solid var(--border); border-radius: 11px; padding: 16px; }
.tip-card .t { font-weight: 800; font-size: 14.5px; }
.tip-card .b { font-size: 12.5px; color: var(--muted2); margin-top: 4px; }

/* ── FOOTER ── */
.site-footer { background: var(--dominant); color: var(--footer-muted); margin-top: 40px; }
.site-footer .container { padding: 22px 20px; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.site-footer a { color: var(--nav-muted); text-decoration: none; font-size: 12.5px; }
.site-footer a:hover { color: var(--accent); text-decoration: none; }
.site-footer a.mail { color: var(--accent); font-family: ui-monospace, monospace; }
.site-footer a.mail:hover { color: var(--accent); }
.site-footer.rich .container { padding: 36px 20px 26px; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 24px; }
.site-footer.rich .col { display: flex; flex-direction: column; gap: 8px; }
.site-footer.rich .col-title { font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted2); font-weight: 700; margin-bottom: 2px; }
.site-footer .bottom { border-top: 1px solid rgba(0,200,83,.2); }
.site-footer .bottom .container { padding: 14px 20px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.site-footer .bottom span { font-family: ui-monospace, monospace; font-size: 10.5px; color: var(--muted2); }
.foot-links { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }

/* ── RESPONSIVE (Kinshasa mobile — pas dans les maquettes) ── */
@media (max-width: 860px) {
  /* En-tête sur deux lignes dès 860 px, et non plus 640 : au-dessous de
     cette largeur les quatre fiches produit sont dépliées et ne tiennent plus
     dans une barre de 64 px à hauteur fixe. Sans cela, la liste débordait
     verticalement sur le contenu de la page. */
  .site-header .container { flex-wrap: wrap; height: auto; padding-top: 10px; padding-bottom: 10px; row-gap: 8px; }
  .nav { order: 3; width: 100%; margin-left: 0; justify-content: flex-start; flex-wrap: wrap; row-gap: 8px; }
  /* Le groupe et son tiroir s'effacent en tant que boîtes : les quatre liens
     produit deviennent des items directs de .nav et se rangent en ligne avec
     les autres entrées, sur deux lignes si nécessaire. Le libellé
     « Produits » n'a plus d'objet puisque les fiches sont visibles, et il n'y
     a plus rien à survoler. */
  .nav-group { display: contents; }
  /* visibility s'hérite : sans la remettre à visible ici, les quatre liens
     resteraient masqués par l'état fermé du tiroir desktop, alors même que
     display:contents a supprimé sa boîte. */
  .nav-drop { display: contents; visibility: visible; opacity: 1; }
  .nav-group-label { display: none; }
  .nav-drop a { padding: 0; }
  .grid-request { flex-direction: column; align-items: flex-start; }
  .hero-grid, .product-hero, .grid-2, .struct-block { grid-template-columns: 1fr; }
  .grid-3, .grid-4, .stat-band .container, .vision-grid, .tip-grid { grid-template-columns: repeat(2, 1fr); }
  .form-grid { grid-template-columns: 1fr; }
  .form-grid .span2 { grid-column: 1; }
  .site-footer.rich .container { grid-template-columns: 1fr 1fr; }
  /* Colonnes héros empilées ici (1fr) — l'étirement bas-à-bas n'a plus de
     sens sur une seule colonne : la carte image retrouve une hauteur de
     bandeau fixe, comme les autres illustrations pleine largeur. */
  .content-img.hero-fit { display: block; height: auto; }
  .content-img.hero-fit img { flex: none; height: 300px; }
}
@media (max-width: 640px) {
  h1 { font-size: 30px; }
  .hero-dark h1 { font-size: 32px; }
  .grid-3, .grid-4, .stat-band .container, .vision-grid, .tip-grid { grid-template-columns: 1fr; }
  .price-table .row { grid-template-columns: 1.4fr 1fr; }
  .price-table .row > div:nth-child(2) { display: none; }
  .site-footer.rich .container { grid-template-columns: 1fr; }
  .cta-block { flex-direction: column; align-items: flex-start; }
  /* Chaque .img-* desktop a la même spécificité que sa contrepartie mobile —
     surcharge slot par slot nécessaire, .content-img img seul ne suffit pas. */
  .content-img img,
  .content-img.img-hero img,
  .content-img.img-granules img,
  .content-img.img-huile img,
  .content-img.img-paves img,
  .content-img.img-services img,
  .content-img.img-impact img,
  .content-img.img-actualites img { height: 220px; }
}

/* ── WHATSAPP FLOAT (A4) — désactivé par défaut, cf. SITE_CONFIG.whatsappEnabled ── */
.whatsapp-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 40;
  width: 52px; height: 52px; border-radius: 50%;
  background: #25D366; color: #fff; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,.25); text-decoration: none;
}
.whatsapp-float:hover { background: #1EBE57; }
@media (max-width: 600px) {
  .whatsapp-float { right: 14px; bottom: 14px; width: 48px; height: 48px; }
}
