/* =========================================================
   Mining for People – page d'accueil
   Palette tirée du logo (or / brun) et de la latérite du terrain
   ========================================================= */
:root {
  --ink: #1c1810;          /* brun très sombre, fonds foncés */
  --ink-2: #2a2418;
  --earth: #3d3121;
  --gold: #e5b700;         /* or du logo */
  --gold-soft: #f3d566;
  --gold-deep: #84640b;    /* or lisible sur fond clair */
  --clay: #b4532a;         /* latérite */
  --cream: #fbf6ed;
  --sand: #f2e9d8;
  --paper: #ffffff;
  --text: #2b261c;
  --muted: #6a6152;
  --line: #e4d9c4;
  --on-dark: #f6f0e3;
  --on-dark-muted: #c9bea6;

  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 18px 40px -18px rgba(40, 28, 8, .35);
  --wrap: 1200px;
  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); line-height: 1.12; margin: 0 0 .5em; font-weight: 600; letter-spacing: -.01em; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
address { font-style: normal; }

.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--gold); color: var(--ink); padding: 10px 16px; border-radius: 8px; font-weight: 600; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

/* ---------- Boutons & liens ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5em;
  padding: .9em 1.5em; border-radius: 999px;
  font-weight: 600; font-size: .98rem; text-decoration: none;
  border: 2px solid transparent; transition: transform .2s, background .2s, color .2s, border-color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: var(--gold-soft); }
.btn-ghost { color: var(--on-dark); border-color: rgba(246, 240, 227, .35); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn-outline { color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--cream); }
.btn-sm { padding: .6em 1.15em; font-size: .9rem; }

.link-arrow { font-weight: 600; text-decoration: none; color: var(--gold-deep); display: inline-flex; gap: .4em; align-items: center; }
.link-arrow::after { content: "→"; transition: transform .2s; }
.link-arrow:hover::after, a:hover .link-arrow::after { transform: translateX(4px); }

.eyebrow {
  font-family: var(--body); font-size: .8rem; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin-bottom: 1rem;
}
.eyebrow.dark { color: var(--gold-deep); }

.chip {
  display: inline-block; padding: .3em .8em; border-radius: 999px;
  background: var(--sand); color: var(--earth); font-size: .78rem; font-weight: 600;
}
.chip-live { background: #fdecc0; color: #6a4f06; }
.chip-live::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--clay); margin-right: .45em; vertical-align: 1px; }

/* ---------- En-tête ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(28, 24, 16, .0); color: var(--on-dark);
  transition: background .3s, box-shadow .3s, backdrop-filter .3s;
}
.site-header.scrolled { background: rgba(28, 24, 16, .9); backdrop-filter: blur(10px); box-shadow: 0 6px 24px -12px rgba(0,0,0,.5); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { border-radius: 50%; background: #fff; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-family: var(--display); font-size: 1.1rem; font-weight: 600; }
.brand-text small { font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a:not(.btn) { text-decoration: none; font-weight: 500; font-size: .95rem; opacity: .9; position: relative; }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -6px; height: 2px; background: var(--gold); transition: right .25s; }
.nav a:not(.btn):hover::after { right: 0; }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; color: inherit; }
.bars, .bars::before, .bars::after { display: block; width: 24px; height: 2px; background: currentColor; border-radius: 2px; position: relative; transition: transform .25s, opacity .25s; }
.bars::before, .bars::after { content: ""; position: absolute; left: 0; }
.bars::before { top: -7px; } .bars::after { top: 7px; }
.nav-toggle[aria-expanded="true"] .bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .bars::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bars::after { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(1200px 600px at 85% 10%, rgba(229, 183, 0, .14), transparent 60%),
    radial-gradient(900px 500px at 0% 100%, rgba(180, 83, 42, .22), transparent 60%),
    var(--ink);
  color: var(--on-dark);
  margin-top: -76px; padding: 140px 0 96px;
  overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: stretch; }
.hero-copy { align-self: center; min-width: 0; }
.hero h1 { font-size: clamp(2.5rem, 5.4vw, 4.4rem); font-weight: 600; margin-bottom: .45em; }
.hero h1 em { font-style: italic; color: var(--gold); }
.lead { font-size: 1.2rem; color: var(--on-dark-muted); max-width: 34em; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin: 32px 0 40px; }
.minerals { display: flex; flex-wrap: wrap; gap: 8px; }
.minerals li { font-size: .8rem; padding: .35em .85em; border: 1px solid rgba(246, 240, 227, .2); border-radius: 999px; color: var(--on-dark-muted); }

/* L'image prend la hauteur de la colonne texte : elle ne dicte pas la hauteur de la ligne */
.hero-media { margin: 0; position: relative; min-height: 440px; }
.hero-media img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 55% 30%;
  border-radius: 28px 28px 28px 120px; box-shadow: 0 40px 80px -30px rgba(0,0,0,.7);
}
.hero-media::before {
  content: ""; position: absolute; inset: -18px -18px auto auto; width: 140px; height: 140px;
  border: 2px solid var(--gold); border-radius: 50%; opacity: .5; z-index: -0;
}
.hero-media figcaption {
  position: absolute; left: -28px; bottom: 36px;
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  background: var(--cream); color: var(--ink); padding: 12px 16px; border-radius: 16px;
  box-shadow: var(--shadow); font-size: .85rem; font-weight: 600; max-width: calc(100% + 28px);
}
.tag { padding: .3em .7em; border-radius: 8px; }
.tag-mineral { background: var(--sand); color: var(--earth); }
.tag-person { background: var(--gold); color: var(--ink); }
.plus { color: var(--clay); font-size: 1.2rem; font-weight: 700; }

/* ---------- Sections ---------- */
.section { padding: clamp(72px, 10vw, 120px) 0; }
.section-head { max-width: 760px; margin-bottom: 56px; }
.section-head p:last-child { color: var(--muted); font-size: 1.1rem; }
.section-head.center { text-align: center; margin-inline: auto; }
.section-head.split { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.section-head.split h2 { margin: 0; }

/* ---------- Double lecture ---------- */
.duo-grid { display: grid; grid-template-columns: 1fr auto 1fr; align-items: stretch; }
.duo-card { padding: 40px; border-radius: var(--radius); }
.duo-card h3 { display: flex; align-items: center; gap: 12px; font-size: 1.5rem; margin-bottom: 24px; }
.duo-card li { padding: 14px 0 14px 30px; border-top: 1px solid; position: relative; }
.duo-card li::before { content: "✓"; position: absolute; left: 0; font-weight: 700; }
.duo-mineral { background: var(--paper); border: 1px solid var(--line); }
.duo-mineral li { border-color: var(--line); }
.duo-mineral li::before { color: var(--muted); }
.duo-mineral .dot { background: var(--muted); }
.duo-people { background: var(--ink); color: var(--on-dark); }
.duo-people li { border-color: rgba(246, 240, 227, .14); }
.duo-people li::before { color: var(--gold); }
.duo-people .dot { background: var(--gold); }
.dot { width: 12px; height: 12px; border-radius: 50%; flex: none; }
.duo-link { display: grid; place-items: center; width: 72px; position: relative; }
.duo-link span {
  width: 64px; height: 64px; border-radius: 50%; background: var(--gold); color: var(--ink);
  display: grid; place-items: center; font-family: var(--display); font-size: 1.8rem; font-style: italic;
  box-shadow: var(--shadow); position: relative; z-index: 1; margin-inline: -24px;
}

/* ---------- Terrain ---------- */
.terrain { background: var(--ink-2); color: var(--on-dark); }
.terrain .section-head p:last-child { color: var(--on-dark-muted); }
.mosaic {
  display: grid; gap: 16px;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: 300px 300px;
}
.mosaic figure { margin: 0; position: relative; overflow: hidden; border-radius: var(--radius); }
.mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.mosaic figure:hover img { transform: scale(1.04); }
.mosaic figcaption {
  position: absolute; inset: auto 0 0 0; padding: 48px 22px 20px;
  background: linear-gradient(to top, rgba(20, 16, 8, .9), transparent);
  font-size: .95rem; color: var(--on-dark-muted);
}
.mosaic figcaption strong { color: var(--gold); font-weight: 600; }
.m-wide { grid-column: 1 / 8; grid-row: 1 / 3; }
.m-tall { grid-column: 8 / 13; grid-row: 1 / 2; }
.m-sq { grid-column: 8 / 13; grid-row: 2 / 3; }

.quote { margin-top: 64px; display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: end; border-top: 1px solid rgba(246, 240, 227, .14); padding-top: 40px; }
.quote blockquote { margin: 0; }
.quote p { font-family: var(--display); font-style: italic; font-size: clamp(1.4rem, 2.6vw, 2rem); line-height: 1.3; margin: 0; max-width: 28em; }
.terrain .link-arrow { color: var(--gold); }

/* ---------- Valeurs ---------- */
.values-list { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.values-list li { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; transition: transform .25s, box-shadow .25s; }
.values-list li:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.values-list li::before { content: ""; display: block; width: 36px; height: 4px; border-radius: 2px; background: var(--gold); margin-bottom: 22px; }
.values-list h3 { font-size: 1.2rem; }
.values-list p { color: var(--muted); font-size: .95rem; margin: 0; }
.values-list li.highlight { background: var(--gold); border-color: var(--gold); }
.values-list li.highlight p { color: var(--ink); }
.values-list li.highlight::before { background: var(--ink); }

/* ---------- Solutions ---------- */
.solutions { background: var(--sand); }
.solutions .eyebrow { color: var(--gold-deep); }
.sol-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.sol-card { background: var(--paper); border-radius: var(--radius); padding: 32px; display: flex; flex-direction: column; border-top: 5px solid var(--gold); }
.sol-card:nth-child(2) { border-top-color: var(--clay); }
.sol-card:nth-child(3) { border-top-color: var(--earth); }
.sol-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 22px; }
.sol-code { font-family: var(--display); font-size: 1.6rem; font-weight: 700; letter-spacing: .02em; }
.sol-card p { color: var(--muted); flex: 1; }
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin-top: 40px; background: var(--line); border-radius: var(--radius); overflow: hidden; }
.features li { background: var(--cream); padding: 22px 24px; display: flex; flex-direction: column; }
.features strong { font-size: 1rem; }
.features span { color: var(--muted); font-size: .9rem; }

/* ---------- Approche ---------- */
.approach-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 72px; align-items: stretch; }
.approach-grid > div { min-width: 0; }
.approach-media { margin: 0; position: relative; min-height: 380px; border-radius: var(--radius); overflow: hidden; }
.approach-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.approach-media figcaption {
  position: absolute; inset: auto 0 0 0; padding: 48px 20px 18px;
  background: linear-gradient(to top, rgba(20, 16, 8, .85), transparent);
  color: var(--on-dark); font-size: .88rem;
}
.approach-item { padding: 22px 0; border-top: 1px solid var(--line); }
.approach-item h3 { font-size: 1.25rem; }
.approach-item p { color: var(--muted); margin: 0; }
.standards { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0; }
.standards li { font-size: .82rem; font-weight: 600; padding: .45em .9em; border-radius: 8px; background: var(--paper); border: 1px solid var(--line); }
.partners { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.partners span { font-size: .8rem; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); font-weight: 600; }
.partners img { height: 40px; width: auto; border-radius: 6px; filter: grayscale(1); opacity: .8; transition: filter .3s, opacity .3s; }
.partners img:hover { filter: none; opacity: 1; }

/* ---------- Actualités ---------- */
.news { background: var(--paper); }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.news-card a { display: flex; flex-direction: column; height: 100%; text-decoration: none; border-radius: var(--radius); overflow: hidden; background: var(--cream); transition: transform .25s, box-shadow .25s; }
.news-card a:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.news-card img { aspect-ratio: 16 / 10; height: auto; object-fit: cover; width: 100%; flex: none; }
.news-body { padding: 24px; display: flex; flex-direction: column; gap: 14px; flex: 1; align-items: flex-start; }
.news-body h3 { font-size: 1.2rem; margin: 0; flex: 1; }

/* ---------- Équipe ---------- */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; max-width: 900px; margin-inline: auto; }
.member { text-align: center; display: flex; flex-direction: column; align-items: center; }
.member img { width: 180px; max-width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 20px; margin: 0 auto 22px; background: var(--sand); border: 4px solid var(--cream); box-shadow: 0 0 0 2px var(--gold), var(--shadow); }
.member h3 { font-size: 1.25rem; margin-bottom: .25em; }
.member p { color: var(--muted); font-size: .92rem; line-height: 1.5; min-height: 3em; margin-bottom: .6em; text-wrap: balance; }
.member a { font-size: .85rem; font-weight: 600; color: var(--gold-deep); }

/* ---------- Bandeau CTA ---------- */
.cta-band {
  background:
    linear-gradient(100deg, rgba(28, 24, 16, .94) 30%, rgba(28, 24, 16, .6)),
    url("../img/site-lavage.jpg") center / cover;
  color: var(--on-dark); padding: 96px 0;
}
.cta-inner { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center; }
.cta-band h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.cta-band p { color: var(--on-dark-muted); margin: 0; }
.cta-actions { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.cta-actions .btn-ghost { font-size: .9rem; overflow-wrap: anywhere; }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--ink); color: var(--on-dark-muted); padding: 72px 0 28px; font-size: .95rem; }
.site-footer .brand { color: var(--on-dark); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1.2fr; gap: 48px; }
.footer-about { margin-top: 18px; max-width: 30em; }
.site-footer h2 { font-family: var(--body); font-size: .8rem; text-transform: uppercase; letter-spacing: .16em; color: var(--gold); margin-bottom: 18px; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { text-decoration: none; overflow-wrap: anywhere; }
.site-footer a:hover { color: var(--gold); }
.site-footer address p { margin-bottom: 8px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid rgba(246, 240, 227, .12); margin-top: 48px; padding-top: 24px; font-size: .85rem; }
.footer-bottom p { margin: 0; }
.footer-bottom ul { display: flex; gap: 20px; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .values-list { grid-template-columns: repeat(3, 1fr); }
  .features { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute; top: 76px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--ink); padding: 8px 16px 20px;
    border-top: 1px solid rgba(246, 240, 227, .1);
    display: none;
  }
  .nav.open { display: flex; }
  .nav a:not(.btn) { padding: 14px 4px; border-bottom: 1px solid rgba(246, 240, 227, .08); }
  .nav a:not(.btn)::after { display: none; }
  .nav .btn { margin-top: 16px; justify-content: center; }
  .site-header:has(.nav.open) { background: var(--ink); }

  .hero { padding: 116px 0 72px; }
  .hero-grid, .approach-grid, .cta-inner, .footer-grid { grid-template-columns: 1fr; gap: 40px; }
  /* Mobile : l'image repasse sous le texte avec des proportions fixes */
  .hero-media, .approach-media { min-height: 0; }
  .hero-media img, .approach-media img { position: static; height: auto; max-width: 100%; }
  .hero-media img { aspect-ratio: 4 / 3; border-radius: 22px 22px 22px 72px; }
  .hero-media figcaption { left: 12px; bottom: -20px; max-width: calc(100% - 24px); }
  .hero-media::before { display: none; }

  .duo-grid { grid-template-columns: 1fr; }
  .duo-link { width: auto; height: 0; }
  .duo-link span { margin: -32px 0; }
  .duo-card { padding: 32px 24px; }
  .duo-mineral { padding-bottom: 48px; }
  .duo-people { padding-top: 48px; }

  .mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: 280px 220px; }
  .m-wide { grid-column: 1 / 3; grid-row: 1; }
  .m-tall { grid-column: 1; grid-row: 2; }
  .m-sq { grid-column: 2; grid-row: 2; }
  .quote { grid-template-columns: 1fr; }

  .sol-grid, .news-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .member img { width: 140px; }
  .approach-media img { aspect-ratio: 16 / 10; }
}
@media (max-width: 600px) {
  .values-list, .features { grid-template-columns: 1fr; }
  .mosaic { grid-template-columns: 1fr; grid-template-rows: none; }
  .mosaic figure { grid-column: auto; grid-row: auto; height: 260px; }
  .mosaic figcaption { font-size: .88rem; }
  .team-grid { grid-template-columns: 1fr; max-width: 320px; gap: 36px; }
  .member img { width: 160px; }
  .brand-text small { display: none; }
  .cta-band { padding: 72px 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* =========================================================
   Pages intérieures (même système que l'accueil)
   ========================================================= */
.nav a[aria-current="page"]:not(.btn) { color: var(--gold); opacity: 1; }
.nav a[aria-current="page"]:not(.btn)::after { right: 0; }

/* ---------- En-tête de page ---------- */
.page-hero {
  background:
    radial-gradient(1000px 500px at 90% 0%, rgba(229, 183, 0, .12), transparent 60%),
    radial-gradient(800px 420px at 0% 100%, rgba(180, 83, 42, .2), transparent 60%),
    var(--ink);
  color: var(--on-dark);
  margin-top: -76px; padding: 136px 0 80px;
}
.page-hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: stretch; }
.page-hero-copy { align-self: center; min-width: 0; }
.page-hero h1 { font-size: clamp(2.2rem, 4.4vw, 3.5rem); margin-bottom: .4em; text-wrap: balance; }
.page-hero h1 em { font-style: italic; color: var(--gold); }
.page-hero .lead { margin: 0; }
.page-hero-media { margin: 0; position: relative; min-height: 340px; }
.page-hero-media img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  border-radius: 24px 24px 24px 96px; box-shadow: 0 30px 60px -30px rgba(0,0,0,.7);
}
.page-hero--text .page-hero-grid { grid-template-columns: 1fr; }
.page-hero--text .page-hero-copy { max-width: 820px; }
.page-hero--text { padding-bottom: 64px; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: .85rem; color: var(--on-dark-muted); margin-bottom: 22px; }
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span[aria-hidden] { opacity: .5; }

/* ---------- Sections ---------- */
.section--dark { background: var(--ink-2); color: var(--on-dark); }
.section--dark .section-head p:last-child, .section--dark .split-body p, .section--dark .checklist li { color: var(--on-dark-muted); }
.section--dark .eyebrow { color: var(--gold); }
.section--sand { background: var(--sand); }
.section--paper { background: var(--paper); }

/* ---------- Ligne image / texte (l'image suit la hauteur du texte) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: stretch; }
.split + .split { margin-top: 96px; }
.split--reverse .split-media { order: 2; }
.split-media { margin: 0; position: relative; min-height: 360px; border-radius: var(--radius); overflow: hidden; }
.split-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.split-media figcaption {
  position: absolute; inset: auto 0 0 0; padding: 48px 20px 18px;
  background: linear-gradient(to top, rgba(20, 16, 8, .85), transparent);
  color: var(--on-dark); font-size: .88rem;
}
.split-body { align-self: center; min-width: 0; }
.split-body h2 { text-wrap: balance; }
.split-body p { color: var(--muted); }
.split-body .label-line { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 14px; }

.checklist { display: grid; gap: 12px; margin: 24px 0; }
.checklist li { padding-left: 32px; position: relative; color: var(--muted); }
.checklist li::before {
  content: "✓"; position: absolute; left: 0; top: .1em; width: 22px; height: 22px; border-radius: 50%;
  display: grid; place-items: center; font-size: .75rem; font-weight: 700; background: var(--gold); color: var(--ink);
}
.checklist strong { color: inherit; font-weight: 600; }
.section--dark .checklist strong { color: var(--on-dark); }

/* ---------- Vision / Mission ---------- */
.vm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.vm-card { border-radius: var(--radius); padding: 40px; display: flex; flex-direction: column; gap: 4px; }
.vm-card h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.vm-card p { margin: 0 0 .8em; }
.vm-card--light { background: var(--paper); border: 1px solid var(--line); }
.vm-card--light p { color: var(--muted); }
.vm-card--dark { background: var(--ink); color: var(--on-dark); }
.vm-card--dark p { color: var(--on-dark-muted); }

/* ---------- Public cible (solutions) ---------- */
.audience { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 24px 0; }
.audience div { border-radius: var(--radius-sm); padding: 18px 20px; background: var(--paper); border: 1px solid var(--line); }
.audience div:first-child { background: var(--gold); border-color: var(--gold); }
.audience h3 { font-family: var(--body); font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 6px; }
.audience p { margin: 0; font-size: .95rem; color: var(--text); }

.feature-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.feature-cards li { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px; }
.feature-cards h3 { font-size: 1.15rem; }
.feature-cards p { margin: 0; color: var(--muted); font-size: .95rem; }
.feature-cards .chip { margin-bottom: 16px; }

/* ---------- Partenaires ---------- */
.partner-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 400px)); gap: 20px; justify-content: center; }
.partner-card { display: flex; align-items: center; gap: 18px; padding: 22px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; transition: box-shadow .25s, transform .25s; }
.partner-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.partner-card img { height: 56px; width: 150px; object-fit: contain; object-position: left center; border-radius: 8px; flex: none; }
.partner-card div { min-width: 0; }
.partner-card span { white-space: nowrap; }
.partner-card strong { display: block; font-size: 1.05rem; }
.partner-card span { font-size: .85rem; color: var(--gold-deep); font-weight: 600; }

/* ---------- Actualités ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.filters button {
  font: inherit; font-size: .9rem; font-weight: 600; cursor: pointer;
  padding: .55em 1.1em; border-radius: 999px; border: 1.5px solid var(--line); background: var(--paper); color: var(--text);
}
.filters button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--cream); }
.news-featured a { display: grid; grid-template-columns: 1.15fr 1fr; text-decoration: none; border-radius: var(--radius); overflow: hidden; background: var(--ink); color: var(--on-dark); transition: box-shadow .25s; }
.news-featured a:hover { box-shadow: var(--shadow); }
.news-featured img { width: 100%; height: 100%; min-height: 320px; object-fit: cover; }
.news-featured .news-body { padding: 40px; justify-content: center; }
.news-featured h2 { font-size: clamp(1.6rem, 2.8vw, 2.2rem); margin: 0; }
.news-featured .news-body p { color: var(--on-dark-muted); margin: 0; font-size: 1rem; }
.news-featured .link-arrow { color: var(--gold); }
.news-list { margin-top: 24px; }
.news-body p { color: var(--muted); font-size: .95rem; margin: 0; }

/* ---------- Article ---------- */
.article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-top: 22px; font-size: .9rem; color: var(--on-dark-muted); }
.article-cover { margin: -48px auto 0; max-width: 1000px; position: relative; z-index: 1; }
.article-cover img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.article-cover figcaption { font-size: .85rem; color: var(--muted); margin-top: 10px; }
.prose { max-width: 70ch; margin-inline: auto; }
.prose h2 { font-size: clamp(1.5rem, 2.6vw, 1.9rem); margin-top: 2.2em; }
.prose h3 { margin-top: 1.6em; }
.prose p, .prose li { color: var(--text); }
.prose ul { list-style: disc; padding-left: 1.3em; margin: 0 0 1.2em; display: grid; gap: 8px; }
.prose .intro { font-size: 1.2rem; line-height: 1.6; }
.pullquote { margin: 2.4em 0; padding: 32px 0; border-block: 1px solid var(--line); text-align: center; }
.pullquote p { font-family: var(--display); font-style: italic; font-size: clamp(1.4rem, 2.6vw, 1.9rem); line-height: 1.3; margin: 0 auto; max-width: 26em; color: var(--text); }
.pullquote cite { display: block; margin-top: 14px; font-style: normal; font-size: .85rem; color: var(--muted); }
.steps { display: grid; gap: 48px; margin-top: 32px; }
.step-head { display: flex; align-items: baseline; gap: 14px; margin-bottom: 16px; }
.step-head span { font-family: var(--display); font-size: 2.4rem; color: var(--gold-deep); line-height: 1; }
.step-head h3 { margin: 0; font-size: 1.35rem; }
.step-head p { margin: 0; color: var(--muted); }
.step-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.step-gallery--2 { grid-template-columns: repeat(2, 1fr); }
.step-gallery img { width: 100%; aspect-ratio: 4 / 3; height: auto; object-fit: cover; border-radius: var(--radius-sm); }
.impact-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 24px 0; }
.impact-list li { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.impact-list h3 { font-size: 1.1rem; }
.impact-list p { margin: 0; color: var(--muted); font-size: .95rem; }
.partner-note { display: flex; gap: 20px; align-items: center; padding: 24px; border-radius: var(--radius); background: var(--sand); margin: 2.4em 0; }
.partner-note img { height: 56px; width: auto; border-radius: 8px; flex: none; }
.partner-note p { margin: 0; color: var(--text); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.3fr .9fr; gap: 48px; align-items: start; }
.contact-form { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 36px; display: grid; gap: 18px; }
.contact-form h2 { font-size: 1.7rem; margin: 0; }
.contact-form > p { color: var(--muted); margin: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field label { font-weight: 600; font-size: .92rem; }
.field label span { color: var(--clay); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1rem; color: var(--text); background: var(--cream);
  border: 1.5px solid var(--line); border-radius: var(--radius-sm); padding: .75em .9em; width: 100%;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold-deep); box-shadow: 0 0 0 3px rgba(229, 183, 0, .3); }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; justify-content: space-between; }
.form-foot small { color: var(--muted); max-width: 32em; }
.form-foot .btn { border: 0; cursor: pointer; font: inherit; font-weight: 600; }
.form-status { background: var(--sand); border-radius: var(--radius-sm); padding: 12px 16px; font-size: .92rem; margin: 0; }
.info-list { display: grid; gap: 14px; }
.info-list li { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; }
.info-list h3 { font-family: var(--body); font-size: .78rem; text-transform: uppercase; letter-spacing: .14em; color: var(--gold-deep); margin-bottom: 6px; }
.info-list p { margin: 0; }
.info-list a { font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }
.info-list a:hover { color: var(--gold-deep); }
.audience-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.audience-pills li { font-size: .82rem; padding: .35em .85em; border: 1px solid rgba(246, 240, 227, .2); border-radius: 999px; color: var(--on-dark-muted); }

/* ---------- Pages légales ---------- */
.legal-grid { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 56px; align-items: start; }
.toc { position: sticky; top: 100px; font-size: .9rem; }
.toc h2 { font-family: var(--body); font-size: .75rem; text-transform: uppercase; letter-spacing: .14em; color: var(--gold-deep); margin-bottom: 12px; }
.toc ol { display: grid; gap: 8px; }
.toc a { text-decoration: none; color: var(--muted); }
.toc a:hover { color: var(--text); }
.legal-grid .prose { margin: 0; }
.legal-grid .prose h2:first-child { margin-top: 0; }
.legal-meta { font-size: .9rem; color: var(--on-dark-muted); margin-top: 14px; }

@media (max-width: 1080px) {
  .feature-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .page-hero { padding: 112px 0 56px; }
  .page-hero-grid, .split, .vm-grid, .contact-grid, .legal-grid, .news-featured a { grid-template-columns: 1fr; gap: 32px; }
  .page-hero-media { min-height: 0; }
  .page-hero-media img { position: static; height: auto; aspect-ratio: 4 / 3; border-radius: 22px 22px 22px 72px; }
  .split + .split { margin-top: 64px; }
  .split--reverse .split-media { order: 0; }
  .split-media { min-height: 0; }
  .split-media img { position: static; height: auto; aspect-ratio: 4 / 3; }
  .news-featured img { min-height: 0; aspect-ratio: 16 / 10; height: auto; }
  .news-featured .news-body { padding: 28px; }
  .impact-list { grid-template-columns: 1fr; }
  .toc { position: static; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; background: var(--paper); }
  .article-cover { margin-top: -32px; }
}
@media (max-width: 600px) {
  .feature-cards, .audience, .field-row, .partner-grid { grid-template-columns: 1fr; }
  .step-gallery, .step-gallery--2 { grid-template-columns: 1fr 1fr; }
  .contact-form, .vm-card { padding: 26px 20px; }
  .partner-note { flex-direction: column; align-items: flex-start; }
}
[hidden] { display: none !important; }
.minerals a { text-decoration: none; }
.minerals a:hover { color: var(--gold); }
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-sm); margin: 0 0 1.4em; }
.table-scroll table { border-collapse: collapse; width: 100%; min-width: 560px; font-size: .92rem; }
.table-scroll th, .table-scroll td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table-scroll th { background: var(--sand); font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; }
.table-scroll tr:last-child td { border-bottom: 0; }
.prose code { font-size: .88em; background: var(--sand); padding: .1em .35em; border-radius: 4px; }

/* Liens sur fond sombre : l'or clair reste lisible */
.section--dark .link-arrow, .vm-card--dark .link-arrow { color: var(--gold); }
@media (max-width: 600px) {
  /* Portraits empilés : plus besoin de réserver deux lignes pour la fonction */
  .member p { min-height: 0; }
}

/* Sélecteur des trois systèmes (page Solutions) : trois cases de même poids */
.sol-jump { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 32px; }
.sol-jump a {
  display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; text-decoration: none;
  border: 1px solid rgba(246, 240, 227, .22); border-radius: var(--radius-sm); transition: border-color .2s, background .2s;
}
.sol-jump a:hover { border-color: var(--gold); background: rgba(229, 183, 0, .08); }
.sol-jump strong { font-family: var(--display); font-size: 1.15rem; color: var(--on-dark); }
.sol-jump span { font-size: .8rem; line-height: 1.35; color: var(--on-dark-muted); }
@media (max-width: 420px) {
  .sol-jump { gap: 8px; }
  .sol-jump a { padding: 12px; }
  .sol-jump strong { font-size: 1rem; }
  .sol-jump span { font-size: .74rem; }
}

/* Contact : coordonnées visibles pendant la saisie (ordinateur), en premier sur téléphone */
.contact-grid aside { position: sticky; top: 100px; }
.field select:invalid, .field select option[value=""] { color: var(--muted); }
@media (max-width: 900px) {
  .contact-grid aside { position: static; order: -1; }
  .info-list { grid-template-columns: 1fr 1fr; }
  .info-list li:first-child { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .info-list { grid-template-columns: 1fr; }
}

/* Lien LinkedIn dans la barre du bas du pied de page */
.footer-bottom-end { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.footer-social {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--on-dark-muted); font-weight: 600;
}
.footer-social svg { flex: none; transition: transform .2s; }
.site-footer .footer-social:hover { color: var(--gold); }
.footer-social:hover svg { transform: translateY(-2px); }
