/* =========================================================
   ADO YALDI MINING PLC — site vitrine
   Palette tirée du logo : bleu marine + ambre
   ========================================================= */
:root {
  --navy: #22408a;
  --navy-700: #1a3170;
  --navy-900: #0c1631;
  --ink: #0f172a;
  --amber: #f5b323;
  --amber-600: #d99a0b;
  --copper: #c06a2b;
  --sand: #f7f3ea;
  --sand-2: #efe8d8;
  --paper: #ffffff;
  --muted: #5a6475;
  --line: rgba(15, 23, 42, .10);
  --ok: #1f9d6b;
  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px -12px rgba(12, 22, 49, .25);
  --shadow-lg: 0 30px 60px -20px rgba(12, 22, 49, .35);
  --container: 1200px;
  --font-head: "Sora", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--sand);
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; }
p { margin: 0 0 1em; }
.container { width: min(var(--container), 100% - 32px); margin-inline: auto; }

/* Langues : on affiche uniquement la langue active */
html.lang-fr .en, html:not(.lang-fr) .fr { display: none !important; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55em;
  padding: .9em 1.5em; border-radius: 999px; border: 0;
  font: 600 15px/1 var(--font-body); text-decoration: none; cursor: pointer;
  transition: transform .2s, box-shadow .2s, background .2s, color .2s;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--amber); color: var(--navy-900); box-shadow: 0 10px 24px -10px rgba(245, 179, 35, .8); }
.btn-primary:hover { background: #ffc340; transform: translateY(-2px); }
.btn-ghost { background: rgba(255, 255, 255, .1); color: #fff; border: 1px solid rgba(255, 255, 255, .35); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: rgba(255, 255, 255, .2); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-700); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--navy); border: 1.5px solid var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-wa { background: #25d366; color: #fff; }
.btn-wa:hover { background: #1ebe5a; transform: translateY(-2px); }

/* ---------- Header ---------- */
.topbar { background: var(--navy-900); color: rgba(255, 255, 255, .8); font-size: 13.5px; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 8px 0; }
.topbar a { text-decoration: none; }
.topbar a:hover { color: var(--amber); }
.topbar .tb-left { display: flex; gap: 22px; flex-wrap: wrap; }
.topbar .tb-left span { display: inline-flex; align-items: center; gap: 6px; }
.topbar svg { width: 14px; height: 14px; color: var(--amber); }

.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s;
}
.header.scrolled { box-shadow: 0 8px 30px -16px rgba(12, 22, 49, .35); }
.header .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 76px; }
.logo img { height: 46px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  text-decoration: none; font-weight: 600; font-size: 15px; color: var(--navy-900);
  padding: 10px 14px; border-radius: 999px; transition: background .2s, color .2s;
}
.nav a:hover, .nav a.active { background: var(--sand); color: var(--navy); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.lang-switch {
  display: inline-flex; border: 1.5px solid var(--line); border-radius: 999px; padding: 3px; background: #fff;
}
.lang-switch button {
  border: 0; background: transparent; font: 700 12.5px var(--font-body); letter-spacing: .04em;
  padding: 6px 10px; border-radius: 999px; cursor: pointer; color: var(--muted);
}
.lang-switch button.on { background: var(--navy); color: #fff; }
.menu-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--navy-900); }
.menu-toggle svg { width: 28px; height: 28px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: min(92vh, 880px); display: flex; align-items: center;
  color: #fff; overflow: hidden; isolation: isolate;
}
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); animation: heroZoom 22s ease-out forwards; filter: saturate(1.15) contrast(1.05); }
@keyframes heroZoom { to { transform: scale(1); } }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(8, 15, 35, .92) 0%, rgba(8, 15, 35, .7) 45%, rgba(8, 15, 35, .15) 100%),
    linear-gradient(0deg, rgba(8, 15, 35, .7) 0%, transparent 40%);
}
.hero .container { padding: 120px 0 150px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 13px;
  letter-spacing: .16em; text-transform: uppercase; color: var(--amber);
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.hero h1 { font-size: clamp(38px, 6vw, 74px); max-width: 15ch; margin: 18px 0 22px; font-weight: 700; }
.hero h1 em { font-style: normal; color: var(--amber); }
.hero .lead { font-size: clamp(17px, 1.6vw, 20px); max-width: 56ch; color: rgba(255, 255, 255, .86); margin-bottom: 34px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-tag {
  position: absolute; right: 24px; bottom: 120px; font-size: 12.5px; color: rgba(255, 255, 255, .75);
  background: rgba(0, 0, 0, .35); padding: 6px 12px; border-radius: 999px; backdrop-filter: blur(4px);
}

/* Bandeau de chiffres */
.stats { position: relative; z-index: 3; margin-top: -78px; }
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border-radius: var(--radius);
  box-shadow: var(--shadow-lg); overflow: hidden;
}
.stat { padding: 28px 26px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat .num { font: 700 clamp(26px, 3vw, 36px)/1 var(--font-head); color: var(--navy); letter-spacing: -.03em; }
.stat .num small { font-size: .55em; color: var(--amber-600); margin-left: 2px; }
.stat .lbl { color: var(--muted); font-size: 14px; margin-top: 8px; }

/* ---------- Sections ---------- */
.section { padding: 110px 0; }
.section-sm { padding: 70px 0; }
.section-head { max-width: 760px; margin-bottom: 54px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow::before { display: none; }
.section-head h2 { font-size: clamp(30px, 4vw, 46px); margin-top: 14px; color: var(--navy-900); }
.section-head p { color: var(--muted); font-size: 18px; }
.bg-white { background: #fff; }
.bg-navy { background: var(--navy-900); color: #fff; }
.bg-navy .section-head h2 { color: #fff; }
.bg-navy .section-head p { color: rgba(255, 255, 255, .72); }

/* Partenaires */
.trust { padding: 64px 0 10px; }
.trust-row { display: flex; align-items: center; justify-content: center; gap: 14px 40px; flex-wrap: wrap; }
.trust-row .t-label { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.trust-row .partner { font: 700 18px var(--font-head); color: var(--navy); opacity: .8; display: flex; align-items: center; gap: 8px; }
.trust-row .partner::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--amber); }

/* À propos */
.about-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 70px; align-items: center; }
.about-media { position: relative; }
.about-media .main { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4/5; }
.about-media .main img { width: 100%; height: 100%; object-fit: cover; }
.about-media .float {
  position: absolute; right: -28px; bottom: 36px; width: 46%; aspect-ratio: 1;
  border-radius: var(--radius); overflow: hidden; border: 6px solid #fff; box-shadow: var(--shadow-lg);
}
.about-media .float img { width: 100%; height: 100%; object-fit: cover; object-position: 100% 40%; }
.about-media .badge {
  position: absolute; left: -22px; top: 34px; background: var(--amber); color: var(--navy-900);
  padding: 18px 22px; border-radius: 14px; box-shadow: var(--shadow); max-width: 200px;
}
.about-media .badge b { display: block; font: 700 28px/1 var(--font-head); }
.about-media .badge span { font-size: 13.5px; font-weight: 600; }
.pillars { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 30px 0 34px; }
.pillar { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px; }
.pillar h4 { font-size: 16px; margin: 10px 0 4px; color: var(--navy-900); }
.pillar p { font-size: 14.5px; color: var(--muted); margin: 0; }
.icon-chip {
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(245, 179, 35, .16); color: var(--amber-600);
}
.icon-chip svg { width: 22px; height: 22px; }

/* Pourquoi l'Afar */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.why-card {
  position: relative; padding: 30px 26px; border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .02));
  border: 1px solid rgba(255, 255, 255, .1); transition: transform .3s, border-color .3s;
}
.why-card:hover { transform: translateY(-6px); border-color: rgba(245, 179, 35, .5); }
.why-card .big { font: 700 34px/1 var(--font-head); color: var(--amber); margin-bottom: 14px; }
.why-card h3 { font-size: 19px; color: #fff; }
.why-card p { color: rgba(255, 255, 255, .7); font-size: 15px; margin: 0; }
.why-band {
  margin-top: 50px; display: grid; grid-template-columns: 1.2fr 1fr; gap: 30px; align-items: stretch;
  border-radius: var(--radius); overflow: hidden; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .1);
}
.why-band img { width: 100%; height: 100%; object-fit: cover; min-height: 280px; }
.why-band .txt { padding: 40px 40px 40px 10px; }
.why-band ul { padding: 0; margin: 18px 0 0; list-style: none; display: grid; gap: 12px; }
.why-band li { display: flex; gap: 12px; color: rgba(255, 255, 255, .82); }
.why-band li::before { content: ""; flex: 0 0 8px; height: 8px; margin-top: 9px; border-radius: 50%; background: var(--amber); }

/* Projets */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.filter {
  border: 1.5px solid var(--line); background: #fff; color: var(--navy-900);
  padding: 9px 18px; border-radius: 999px; font: 600 14px var(--font-body); cursor: pointer; transition: all .2s;
}
.filter:hover { border-color: var(--navy); }
.filter.on { background: var(--navy); border-color: var(--navy); color: #fff; }
.projects-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.p-card {
  background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line);
  display: flex; flex-direction: column; cursor: pointer; transition: transform .3s, box-shadow .3s;
  text-align: left; font: inherit; color: inherit; padding: 0;
}
.p-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.p-card .media { position: relative; aspect-ratio: 16/11; overflow: hidden; background: var(--sand-2); }
.p-card .media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; filter: saturate(1.08) contrast(1.04); }
.p-card:hover .media img { transform: scale(1.06); }
.status {
  position: absolute; left: 14px; top: 14px; font-size: 12px; font-weight: 700; letter-spacing: .03em;
  padding: 6px 11px; border-radius: 999px; background: rgba(255, 255, 255, .94); color: var(--navy-900);
  display: inline-flex; align-items: center; gap: 6px;
}
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--c, var(--amber)); }
.st-production { --c: #1f9d6b; }
.st-development { --c: #2f6fe0; }
.st-exploration { --c: #f5b323; }
.st-sampling { --c: #c06a2b; }
.st-promotion { --c: #8b5cf6; }
.p-card .body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.p-card .cat { font-size: 12.5px; font-weight: 700; color: var(--amber-600); letter-spacing: .1em; text-transform: uppercase; }
.p-card h3 { font-size: 20px; margin: 8px 0 8px; color: var(--navy-900); }
.p-card p { font-size: 15px; color: var(--muted); margin-bottom: 18px; }
.p-card .kpis { display: flex; gap: 8px; flex-wrap: wrap; margin-top: auto; }
.kpi { font-size: 12.5px; font-weight: 600; background: var(--sand); border-radius: 8px; padding: 5px 9px; color: var(--navy-900); }
.p-card .more { margin-top: 16px; font-weight: 700; color: var(--navy); font-size: 14.5px; display: inline-flex; gap: 6px; align-items: center; }

/* Modal projet */
.modal { position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center; padding: 20px; }
.modal.open { display: flex; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(8, 15, 35, .7); backdrop-filter: blur(4px); animation: fade .25s; }
.modal-box {
  position: relative; background: #fff; border-radius: 22px; width: min(980px, 100%); max-height: 90vh; overflow: auto;
  display: grid; grid-template-columns: 1fr 1.1fr; animation: pop .3s cubic-bezier(.2, .9, .3, 1.2);
}
.modal-media { background: var(--navy-900); min-height: 100%; position: relative; }
.modal-media > img { width: 100%; height: 100%; object-fit: cover; }
.thumbs { position: absolute; left: 12px; right: 12px; bottom: 12px; display: flex; gap: 8px; }
.thumbs button { width: 58px; height: 58px; padding: 0; border-radius: 10px; overflow: hidden; border: 2px solid rgba(255, 255, 255, .5); cursor: pointer; background: none; opacity: .75; transition: all .2s; }
.thumbs button.on, .thumbs button:hover { border-color: var(--amber); opacity: 1; }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.p-card .count { position: absolute; right: 14px; bottom: 14px; font-size: 12px; font-weight: 600; color: #fff; background: rgba(8, 15, 35, .6); padding: 4px 10px; border-radius: 999px; backdrop-filter: blur(4px); }
.modal-content { padding: 40px 38px; }
.modal-content h3 { font-size: 28px; color: var(--navy-900); }
.modal-content .facts { display: grid; gap: 0; margin: 20px 0; border-top: 1px solid var(--line); }
.modal-content .fact { display: grid; grid-template-columns: 150px 1fr; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.modal-content .fact b { color: var(--navy-900); }
.modal-content .fact span { color: var(--muted); }
.modal-close {
  position: absolute; right: 14px; top: 14px; width: 40px; height: 40px; border-radius: 50%; border: 0;
  background: rgba(255, 255, 255, .95); cursor: pointer; display: grid; place-items: center; box-shadow: var(--shadow); z-index: 2;
}
.modal-close svg { width: 20px; height: 20px; }
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: translateY(20px) scale(.97); } }

/* Indications métaux stratégiques */
.assay-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.bars { display: grid; gap: 12px; }
.bar { display: grid; grid-template-columns: 110px 1fr 70px; align-items: center; gap: 14px; font-size: 14.5px; }
.bar .name { font-weight: 600; color: var(--navy-900); }
.bar .track { height: 12px; background: var(--sand-2); border-radius: 999px; overflow: hidden; }
.bar .fill { height: 100%; width: 0; border-radius: 999px; background: linear-gradient(90deg, var(--navy), #4a6fd0); transition: width 1.4s cubic-bezier(.2, .8, .2, 1); }
.bar.pgm .fill { background: linear-gradient(90deg, var(--amber-600), var(--amber)); }
.bar .val { text-align: right; font-variant-numeric: tabular-nums; font-weight: 700; color: var(--navy-900); }
.legend { display: flex; gap: 18px; font-size: 13px; color: var(--muted); margin-top: 16px; }
.legend i { display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
.notice {
  margin-top: 26px; padding: 18px 20px; border-radius: 14px; background: #fff7e3; border: 1px solid #f4dca0;
  font-size: 14.5px; color: #6b4f0e;
}
.notice b { color: #4f3906; }
.steps-mini { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.steps-mini li { display: flex; gap: 14px; align-items: flex-start; }
.steps-mini .n { flex: 0 0 30px; height: 30px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 14px; }

/* Services */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.svc {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 28px;
  transition: transform .3s, box-shadow .3s, border-color .3s; position: relative; overflow: hidden;
}
.svc::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 4px; width: 0; background: var(--amber); transition: width .4s;
}
.svc:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.svc:hover::after { width: 100%; }
.svc h3 { font-size: 19.5px; margin: 18px 0 10px; color: var(--navy-900); }
.svc p { color: var(--muted); font-size: 15px; margin: 0; }
.svc .icon-chip { background: var(--navy); color: var(--amber); width: 52px; height: 52px; border-radius: 14px; }
.svc .icon-chip svg { width: 26px; height: 26px; }

/* Processus */
.process { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; counter-reset: s; position: relative; }
.process::before {
  content: ""; position: absolute; top: 27px; left: 10%; right: 10%; height: 2px;
  background: repeating-linear-gradient(90deg, var(--amber) 0 10px, transparent 10px 18px);
}
.step { text-align: center; position: relative; }
.step .dot {
  width: 56px; height: 56px; margin: 0 auto 18px; border-radius: 50%; background: var(--navy); color: var(--amber);
  display: grid; place-items: center; font: 700 20px var(--font-head); border: 5px solid var(--sand); position: relative;
}
.step h4 { font-size: 16.5px; color: var(--navy-900); margin-bottom: 6px; }
.step p { font-size: 14px; color: var(--muted); margin: 0; }

/* Modèles de partenariat */
.models { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.model {
  border-radius: var(--radius); padding: 28px 24px; background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .12);
}
.model .tag { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--amber); }
.model h3 { color: #fff; font-size: 20px; margin: 10px 0 10px; }
.model p { color: rgba(255, 255, 255, .7); font-size: 14.5px; margin: 0; }
.cta-band {
  margin-top: 50px; border-radius: 22px; padding: 44px; display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap;
  background: linear-gradient(120deg, var(--amber), #ffcf5c); color: var(--navy-900);
}
.cta-band h3 { font-size: clamp(22px, 2.6vw, 30px); margin: 0 0 6px; }
.cta-band p { margin: 0; font-weight: 500; }

/* Application */
.app-promo { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.phone {
  width: 300px; margin-inline: auto; aspect-ratio: 9/19; border-radius: 44px; background: var(--navy-900);
  padding: 12px; box-shadow: var(--shadow-lg), inset 0 0 0 2px #2b3a63; position: relative;
}
.phone-screen { width: 100%; height: 100%; border-radius: 34px; overflow: hidden; background: #f4efe3; display: flex; flex-direction: column; }
.ps-top { background: var(--navy); color: #fff; padding: 34px 18px 18px; }
.ps-top small { color: var(--amber); font-weight: 700; letter-spacing: .1em; font-size: 10px; }
.ps-top b { display: block; font: 700 19px var(--font-head); margin-top: 4px; }
.ps-map {
  height: 150px; margin: 12px; border-radius: 16px; position: relative; overflow: hidden;
  background: radial-gradient(circle at 30% 40%, #e9c46a 0 10%, transparent 11%), radial-gradient(circle at 70% 65%, #2a9d8f 0 7%, transparent 8%), linear-gradient(135deg, #d9c9a3, #c9b483);
}
.ps-map .pin { position: absolute; width: 14px; height: 14px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--navy); border: 2px solid #fff; }
.ps-list { padding: 0 12px; display: grid; gap: 8px; }
.ps-item { background: #fff; border-radius: 12px; padding: 10px 12px; display: flex; gap: 10px; align-items: center; font-size: 12px; }
.ps-item i { width: 26px; height: 26px; border-radius: 8px; flex: 0 0 26px; }
.ps-item b { display: block; font-size: 12.5px; }
.feature-list { list-style: none; padding: 0; margin: 26px 0 32px; display: grid; gap: 16px; }
.feature-list li { display: flex; gap: 14px; }
.feature-list .icon-chip { flex: 0 0 42px; }
.feature-list b { display: block; color: var(--navy-900); }
.feature-list span { color: var(--muted); font-size: 15px; }

/* Engagements */
.esg-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.esg { padding: 26px; border-radius: var(--radius); background: var(--sand); }
.esg h4 { font-size: 17px; margin: 14px 0 6px; color: var(--navy-900); }
.esg p { font-size: 14.5px; color: var(--muted); margin: 0; }

/* FAQ */
.faq { max-width: 860px; margin-inline: auto; display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 0 22px; transition: box-shadow .2s; }
.faq details[open] { box-shadow: var(--shadow); }
.faq summary {
  cursor: pointer; list-style: none; padding: 20px 0; font: 600 17px var(--font-head); color: var(--navy-900);
  display: flex; justify-content: space-between; gap: 16px; align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 24px; color: var(--amber-600); transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 20px; margin: 0; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; }
.contact-card { background: var(--navy-900); color: #fff; border-radius: 22px; padding: 40px; position: relative; overflow: hidden; }
.contact-card::before {
  content: ""; position: absolute; right: -80px; top: -80px; width: 240px; height: 240px; border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 179, 35, .35), transparent 70%);
}
.contact-card h3 { font-size: 26px; }
.contact-card p { color: rgba(255, 255, 255, .72); }
.c-line { display: flex; gap: 16px; align-items: flex-start; padding: 16px 0; border-bottom: 1px solid rgba(255, 255, 255, .1); text-decoration: none; }
.c-line:last-of-type { border-bottom: 0; }
.c-line .icon-chip { background: rgba(245, 179, 35, .15); color: var(--amber); flex: 0 0 42px; }
.c-line small { display: block; color: rgba(255, 255, 255, .55); font-size: 12.5px; text-transform: uppercase; letter-spacing: .1em; font-weight: 700; }
.c-line b { font-weight: 600; }
.map-embed { margin-top: 22px; border-radius: 14px; overflow: hidden; border: 1px solid rgba(255, 255, 255, .15); }
.map-embed iframe { width: 100%; height: 200px; border: 0; display: block; filter: saturate(.9); }
form.contact { background: #fff; border-radius: 22px; padding: 40px; border: 1px solid var(--line); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; margin-bottom: 16px; }
.field label { font-size: 13.5px; font-weight: 600; color: var(--navy-900); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 14px; border-radius: 10px; border: 1.5px solid var(--line); background: var(--sand);
  font: 15px var(--font-body); color: var(--ink); transition: border-color .2s, background .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy); background: #fff; }
.field textarea { min-height: 130px; resize: vertical; }
.form-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.form-note { font-size: 13px; color: var(--muted); margin-top: 14px; }

/* Footer */
.footer { background: #070d20; color: rgba(255, 255, 255, .7); padding: 70px 0 30px; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.footer .flogo { background: #fff; display: inline-block; padding: 10px 14px; border-radius: 12px; margin-bottom: 18px; }
.footer .flogo img { height: 38px; }
.footer h5 { color: #fff; font: 700 15px var(--font-head); margin: 0 0 16px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--amber); }
.footer-bottom { margin-top: 50px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .1); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 13.5px; }

/* Bouton WhatsApp flottant */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 60; width: 58px; height: 58px; border-radius: 50%;
  background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 12px 30px -8px rgba(37, 211, 102, .7);
  transition: transform .2s;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; }

/* Nouveaux statuts */
.st-startup { --c: #1f9d6b; }
.st-pilot { --c: #2f6fe0; }
.st-artisanal { --c: #c06a2b; }
.st-feasibility { --c: #2f6fe0; }
.st-construction { --c: #8b5cf6; }
.st-planned { --c: #94a3b8; }
.st-lab { --c: #f5b323; }

/* Visuel provisoire (photo à venir) */
.ph {
  width: 100%; height: 100%; min-height: 100%; display: grid; place-items: center; text-align: center; padding: 18px;
  background:
    radial-gradient(circle at 25% 30%, color-mix(in srgb, var(--pc, #22408a) 55%, transparent), transparent 55%),
    linear-gradient(135deg, var(--navy-900), color-mix(in srgb, var(--pc, #22408a) 70%, var(--navy-900)));
  color: #fff; font: 700 18px/1.25 var(--font-head);
}
.ph span { max-width: 18ch; }
.ph.round { border-radius: 50%; width: 170px; height: 170px; min-height: 0; font-size: 26px; letter-spacing: .04em; }
#m-ph .ph { min-height: 320px; }
.modal-media > img[hidden], #m-video[hidden] { display: none; }
#m-video { position: absolute; inset: 0; background: #000; display: grid; place-items: center; }
#m-video video { width: 100%; height: 100%; object-fit: contain; }
.modal-media { min-height: 420px; }
.thumbs { flex-wrap: wrap; z-index: 2; }
.thumbs button { position: relative; }
.thumbs button.vid::after {
  content: ""; position: absolute; left: 50%; top: 50%; transform: translate(-40%, -50%);
  border-left: 14px solid #fff; border-top: 9px solid transparent; border-bottom: 9px solid transparent; filter: drop-shadow(0 1px 3px rgba(0,0,0,.6));
}
.feature-video { margin-top: 34px; border-radius: 20px; overflow: hidden; background: #000; display: grid; grid-template-columns: 1fr 1.2fr; }
.feature-video video { width: 100%; height: 100%; max-height: 520px; object-fit: cover; display: block; }
.feature-video .txt { padding: 34px; color: #fff; align-self: center; }
.feature-video .txt p { color: rgba(255, 255, 255, .75); }
.flag {
  position: absolute; right: 14px; top: 14px; font-size: 11.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
  background: var(--amber); color: var(--navy-900); padding: 5px 10px; border-radius: 999px;
}

/* Fondateurs */
.founders { display: grid; grid-template-columns: auto 1fr; gap: 54px; align-items: center; }
.founders-photos { display: flex; gap: 22px; }
.founders-photos figure { margin: 0; width: 170px; text-align: center; }
.founders-photos img { width: 170px; height: 170px; border-radius: 50%; object-fit: cover; }
.founders-photos figcaption { margin-top: 12px; font-size: 14px; color: var(--muted); display: grid; }
.founders-photos figcaption b { color: var(--navy-900); font-size: 15.5px; }
.founders blockquote {
  margin: 14px 0 18px; padding: 0 0 0 22px; border-left: 4px solid var(--amber);
  font: 600 clamp(19px, 2vw, 24px)/1.45 var(--font-head); color: var(--navy-900);
}

/* Ambition */
.ambition { display: grid; grid-template-columns: 1.3fr 1fr; gap: 44px; align-items: center; }
.chips-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.ambition-nums { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ambition-nums div { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 22px; }
.ambition-nums b { display: block; font: 700 38px/1 var(--font-head); color: var(--navy); margin-bottom: 6px; }
.ambition-nums span { font-size: 14px; color: var(--muted); }

/* Projet phare */
.flagship { display: grid; grid-template-columns: 1fr 1.25fr; gap: 0; background: #fff; border-radius: 22px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); }
.flagship-media img { width: 100%; height: 100%; object-fit: cover; min-height: 360px; }
.flagship-data { padding: 34px 36px; }
.big-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 8px; }
.big-kpis div { background: var(--sand); border-radius: 14px; padding: 14px 12px; }
.big-kpis b { display: block; font: 700 22px/1.1 var(--font-head); color: var(--navy); }
.big-kpis span { font-size: 12.5px; color: var(--muted); }
.flagship .facts { display: grid; border-top: 1px solid var(--line); margin: 14px 0 6px; }
.flagship .fact { display: grid; grid-template-columns: 160px 1fr; gap: 14px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.flagship .fact b { color: var(--navy-900); }
.flagship .fact > span { color: var(--muted); }
.flagship .form-actions { margin-top: 16px; }
.factory {
  margin-top: 30px; display: grid; grid-template-columns: 1.1fr 1fr; gap: 36px; align-items: center;
  background: var(--navy-900); color: #fff; border-radius: 22px; padding: 38px;
}
.factory h3 { font-size: clamp(22px, 2.4vw, 28px); margin: 10px 0 12px; }
.factory p { color: rgba(255, 255, 255, .75); margin: 0; }
.factory-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.factory-list li { display: grid; grid-template-columns: 86px 1fr; gap: 14px; align-items: center; padding: 12px 14px; border-radius: 12px; background: rgba(255, 255, 255, .06); color: rgba(255, 255, 255, .85); font-size: 14.5px; }
.factory-list b { font: 700 20px var(--font-head); color: var(--amber); }
.factory-img { grid-column: 1 / -1; position: relative; display: block; border-radius: 16px; overflow: hidden; }
.factory-img img { width: 100%; display: block; transition: transform .5s; }
.factory-img:hover img { transform: scale(1.02); }
.factory-img > span { position: absolute; left: 14px; top: 14px; background: rgba(12, 22, 49, .85); color: #fff; font-size: 13px; font-weight: 600; padding: 6px 12px; border-radius: 999px; }
.gem-tiles a { display: block; border-radius: 16px; overflow: hidden; }
.gem-tiles a img { transition: transform .4s; }
.gem-tiles a:hover img { transform: scale(1.05); }

/* Chaîne de valeur cuivre */
.chain { list-style: none; padding: 0; margin: 0 0 34px; display: flex; flex-wrap: wrap; gap: 10px; counter-reset: c; }
.chain li {
  counter-increment: c; position: relative; flex: 1 1 140px; padding: 16px 14px 16px 46px; border-radius: 12px;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); color: #fff; font-weight: 600; font-size: 15px;
}
.chain li::before {
  content: counter(c); position: absolute; left: 12px; top: 50%; transform: translateY(-50%); width: 24px; height: 24px; border-radius: 50%;
  background: var(--amber); color: var(--navy-900); display: grid; place-items: center; font-size: 13px; font-weight: 800;
}
.copper-grid .big { font-size: 28px; }

/* Pierres précieuses */
.gems-band { display: grid; grid-template-columns: 1.1fr 1fr; gap: 44px; align-items: center; }
.gem-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.gem-tiles img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 16px; }

/* Tableau du portefeuille */
.table-title { font-size: 22px; color: var(--navy-900); margin: 54px 0 16px; }
.table-wrap { overflow-x: auto; background: #fff; border: 1px solid var(--line); border-radius: 16px; }
.portfolio { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 640px; }
.portfolio th, .portfolio td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.portfolio thead th { background: var(--navy-900); color: #fff; font-weight: 600; font-size: 13px; letter-spacing: .04em; }
.portfolio tr.grp th { background: var(--sand); color: var(--amber-600); font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; }
.portfolio tbody tr[data-id] { cursor: pointer; transition: background .15s; }
.portfolio tbody tr[data-id]:hover { background: var(--sand); }
.portfolio td:first-child { color: var(--muted); font-variant-numeric: tabular-nums; width: 56px; }
.portfolio .status { font-size: 12px; background: var(--sand); }

/* Apparition au scroll */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-bg img { animation: none; transform: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .why-grid, .models, .esg-grid { grid-template-columns: repeat(2, 1fr); }
  .projects-grid, .services-grid { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: repeat(3, 1fr); row-gap: 34px; }
  .process::before { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .topbar .tb-right { display: none; }
  .nav {
    position: fixed; inset: 76px 0 auto 0; background: #fff; flex-direction: column; align-items: stretch;
    padding: 14px 16px 24px; gap: 2px; box-shadow: var(--shadow-lg); transform: translateY(-120%); transition: transform .35s; z-index: -1;
  }
  .nav.open { transform: none; }
  .nav a { padding: 14px 16px; border-radius: 12px; }
  .menu-toggle { display: block; }
  .header-actions .btn { display: none; }
  .about-grid, .assay-grid, .app-promo, .contact-grid, .why-band, .founders, .ambition, .flagship, .factory, .gems-band { grid-template-columns: 1fr; }
  .founders { gap: 30px; }
  .feature-video { grid-template-columns: 1fr; }
  .feature-video video { max-height: 420px; }
  .feature-video .txt { padding: 24px 20px; }
  .modal-media { min-height: 300px; }
  .flagship-media img { min-height: 240px; max-height: 320px; }
  .big-kpis { grid-template-columns: repeat(2, 1fr); }
  .about-grid { gap: 50px; }
  .about-media { max-width: 520px; }
  .why-band .txt { padding: 0 26px 30px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .modal-box { grid-template-columns: 1fr; }
  .modal-media { max-height: 260px; }
  .hero-tag { display: none; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .section { padding: 76px 0; }
  .projects-grid, .services-grid, .why-grid, .models, .esg-grid, .pillars, .row2 { grid-template-columns: 1fr; }
  .process { grid-template-columns: 1fr 1fr; }
  .hero .container { padding: 80px 0 130px; }
  .about-media .float { right: -6px; width: 42%; }
  .about-media .badge { left: -6px; }
  .modal-content { padding: 28px 22px; }
  .modal-content .fact { grid-template-columns: 1fr; gap: 2px; }
  .contact-card, form.contact { padding: 28px 22px; }
  .cta-band { padding: 30px 24px; }
  .footer-grid { grid-template-columns: 1fr; }
  .bar { grid-template-columns: 90px 1fr 62px; gap: 10px; }
  .founders-photos figure, .founders-photos img { width: 130px; }
  .founders-photos img, .ph.round { width: 130px; height: 130px; }
  .flagship-data, .factory { padding: 24px 20px; }
  .flagship .fact { grid-template-columns: 1fr; gap: 2px; }
  .factory-list li { grid-template-columns: 70px 1fr; }
  .ambition-nums b { font-size: 30px; }
  .logo img { height: 38px; }
  .topbar { display: none; }
  .nav { inset: 76px 0 auto 0; }
}
