/* =========================================================
   THE MASTER GROUP — Feuille de style principale
   ========================================================= */

:root {
  --navy-900: #070f1e;
  --navy-800: #0a1628;
  --navy-700: #12213a;
  --navy-600: #1b2f52;
  --blue: #0284c7;
  --blue-light: #38bdf8;
  --gold: #f5a524;
  --gold-dark: #d98a0b;
  --ink: #16213a;
  --text: #4a5568;
  --muted: #8592a6;
  --line: #e3e8ef;
  --bg: #ffffff;
  --bg-alt: #f4f7fb;

  --font-head: "Poppins", system-ui, sans-serif;
  --font-body: "Lato", system-ui, sans-serif;

  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 20px 50px -20px rgba(10, 22, 40, .25);
  --shadow-sm: 0 8px 24px -12px rgba(10, 22, 40, .18);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 84px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 72px; }

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

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.2; margin: 0; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; }

.container { width: min(1200px, 100% - 40px); margin-inline: auto; }
.section { padding: clamp(72px, 9vw, 110px) 0; }
.section--alt { background: var(--bg-alt); }
.section--dark { background: var(--navy-800); }

.text-gold { color: var(--gold); }

/* ---------- Eyebrow / titles ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-weight: 600;
  font-size: 13px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--blue);
  padding: 7px 14px; border-radius: 99px;
  background: rgba(2, 132, 199, .09);
  margin-bottom: 18px;
}
.eyebrow i { color: var(--gold-dark); }
.eyebrow--light { color: #fff; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); backdrop-filter: blur(6px); }
.eyebrow--light i { color: var(--gold); }

.section__head { text-align: center; max-width: 760px; margin: 0 auto 60px; }
.section__title { font-size: clamp(30px, 4vw, 44px); font-weight: 700; letter-spacing: -.02em; margin-bottom: 18px; }
.section__sub { font-size: 18px; color: var(--text); }
.section__head--light .section__title { color: #fff; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-head); font-weight: 600; font-size: 15px;
  padding: 15px 28px; border-radius: 99px; border: 2px solid transparent;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s, color .3s;
  white-space: nowrap;
}
.btn i { transition: transform .3s var(--ease); }
.btn:hover i { transform: translateX(4px); }
.btn--gold { background: var(--gold); color: var(--navy-900); box-shadow: 0 10px 30px -10px rgba(245, 165, 36, .7); }
.btn--gold:hover { background: #ffb53d; transform: translateY(-2px); box-shadow: 0 16px 36px -10px rgba(245, 165, 36, .8); }
.btn--ghost { border-color: rgba(255, 255, 255, .45); color: #fff; }
.btn--ghost:hover { background: #fff; color: var(--navy-900); border-color: #fff; }
.btn--dark { background: var(--navy-800); color: #fff; }
.btn--dark:hover { background: var(--navy-900); transform: translateY(-2px); }
.btn--block { width: 100%; }

/* ---------- Logo ---------- */
.logo { display: inline-flex; align-items: center; gap: 12px; }
.logo__mark { width: 46px; height: 46px; flex: none; filter: drop-shadow(0 6px 14px rgba(0, 0, 0, .25)); transition: transform .4s var(--ease); }
.logo:hover .logo__mark { transform: rotate(-8deg) scale(1.05); }
.logo__text {
  display: flex; flex-direction: column;
  font-family: var(--font-head); font-weight: 700; font-size: 15px; line-height: 1.05;
  letter-spacing: .06em; color: #fff; transition: color .3s;
}
.logo__text strong { font-weight: 800; font-size: 21px; letter-spacing: .14em; color: var(--gold); }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 100;
  height: var(--header-h);
  transition: background .35s, box-shadow .35s, height .35s;
}
.header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.header.is-scrolled {
  --header-h: 70px;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(12px);
  box-shadow: 0 6px 30px -12px rgba(10, 22, 40, .2);
}
.header.is-scrolled .logo__text { color: var(--navy-800); }
.header.is-scrolled .nav__link { color: var(--ink); }
.header.is-scrolled .burger span { background: var(--ink); }

.nav { display: flex; align-items: center; gap: 6px; }
.nav__link {
  position: relative;
  font-family: var(--font-head); font-weight: 500; font-size: 15px;
  color: rgba(255, 255, 255, .9);
  padding: 8px 14px; border-radius: 99px;
  transition: color .3s;
}
.nav__link::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 2px;
  background: var(--gold); border-radius: 2px;
  transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.nav__link:hover::after, .nav__link.active::after { transform: scaleX(1); }
.nav__link--cta {
  margin-left: 10px; padding: 10px 22px;
  background: var(--gold); color: var(--navy-900) !important; font-weight: 600;
}
.nav__link--cta::after { display: none; }
.nav__link--cta:hover { background: #ffb53d; }

.burger { display: none; background: none; border: 0; width: 44px; height: 44px; padding: 10px; position: relative; z-index: 110; }
.burger span { display: block; height: 2px; margin: 6px 0; background: #fff; border-radius: 2px; transition: transform .35s var(--ease), opacity .25s, background .3s; }
.burger.is-open span { background: #fff !important; }
.burger.is-open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  color: #fff; overflow: hidden;
  padding: calc(var(--header-h) + 40px) 0 120px;
}
.hero__slides, .hero__slide, .hero__overlay { position: absolute; inset: 0; }
.hero__slide {
  background-size: cover; background-position: center;
  opacity: 0; transform: scale(1.08);
  transition: opacity 1.6s ease, transform 8s linear;
}
.hero__slide.is-active { opacity: 1; transform: scale(1); }
.hero__slide--1 { background-image: url("../images/web/05.jpg"); }
.hero__slide--2 { background-image: url("../images/web/01.jpg"); }
.hero__slide--3 { background-image: url("../images/web/03.jpg"); }
.hero__slide--4 { background-image: url("../images/web/04.jpg"); }
.hero__overlay {
  background:
    linear-gradient(100deg, rgba(7, 15, 30, .94) 0%, rgba(7, 15, 30, .78) 45%, rgba(7, 15, 30, .35) 100%),
    linear-gradient(0deg, rgba(7, 15, 30, .7) 0%, transparent 40%);
}
.hero__content { position: relative; z-index: 2; }
.hero__title {
  color: #fff; font-weight: 800;
  font-size: clamp(36px, 6vw, 68px);
  letter-spacing: -.025em; line-height: 1.08;
  max-width: 880px; margin-bottom: 24px;
}
.hero__lead { font-size: clamp(17px, 1.6vw, 20px); color: rgba(255, 255, 255, .82); max-width: 640px; margin-bottom: 38px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 56px; }
.hero__badges { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__badges li {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-head); font-size: 14px; font-weight: 500;
  padding: 10px 16px; border-radius: 12px;
  background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14);
  backdrop-filter: blur(8px);
}
.hero__badges i { color: var(--gold); }

.hero__content > * { animation: heroIn 1s var(--ease) both; }
.hero__content > *:nth-child(2) { animation-delay: .12s; }
.hero__content > *:nth-child(3) { animation-delay: .24s; }
.hero__content > *:nth-child(4) { animation-delay: .36s; }
.hero__content > *:nth-child(5) { animation-delay: .48s; }
@keyframes heroIn { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }

.hero__dots { position: absolute; z-index: 3; right: max(20px, calc((100vw - 1200px) / 2)); bottom: 48px; display: flex; gap: 10px; }
.hero__dots button { width: 34px; height: 4px; border: 0; padding: 0; border-radius: 4px; background: rgba(255, 255, 255, .3); transition: background .3s, width .3s; }
.hero__dots button.is-active { background: var(--gold); width: 54px; }

.hero__scroll { position: absolute; z-index: 3; left: 50%; bottom: 34px; transform: translateX(-50%); width: 26px; height: 42px; border: 2px solid rgba(255, 255, 255, .5); border-radius: 20px; }
.hero__scroll span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 4px; background: var(--gold); animation: scrollDot 1.8s infinite; }
@keyframes scrollDot { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- Stats ---------- */
.stats { position: relative; z-index: 5; margin-top: -70px; }
.stats__grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
  overflow: hidden;
}
.stat { padding: 36px 30px; text-align: center; position: relative; }
.stat + .stat::before { content: ""; position: absolute; left: 0; top: 28%; bottom: 28%; width: 1px; background: var(--line); }
.stat__num { display: block; font-family: var(--font-head); font-weight: 800; font-size: 46px; color: var(--navy-800); line-height: 1; margin-bottom: 10px; }
.stat:nth-child(odd) .stat__num { color: var(--blue); }
.stat:first-child .stat__num { color: var(--gold-dark); }
.stat__label { font-size: 15px; color: var(--muted); }

/* ---------- Mining (featured) ---------- */
.mining__showcase { display: grid; grid-template-columns: 1fr 1.15fr; gap: 64px; align-items: center; }
.mining__visual { position: relative; padding: 0 40px 60px 0; }
.mining__img { border-radius: var(--radius); object-fit: cover; }
.mining__img--main { width: 100%; aspect-ratio: 4 / 4.4; box-shadow: var(--shadow); }
.mining__img--float {
  position: absolute; right: 0; bottom: 0; width: 55%; aspect-ratio: 4 / 3;
  border: 6px solid #fff; box-shadow: var(--shadow);
}
.mining__tag {
  position: absolute; left: -20px; top: 40px;
  display: flex; align-items: center; gap: 14px;
  padding: 16px 20px; border-radius: 14px;
  background: var(--navy-800); color: #fff; box-shadow: var(--shadow);
  animation: float 5s ease-in-out infinite;
}
.mining__tag i { font-size: 26px; color: var(--gold); }
.mining__tag strong { display: block; font-family: var(--font-head); font-size: 15px; }
.mining__tag span { font-size: 13px; color: rgba(255, 255, 255, .7); }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

.mining__list { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.mcard {
  display: flex; flex-direction: column; gap: 14px;
  padding: 26px; border-radius: var(--radius);
  background: #fff; border: 1px solid var(--line);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s;
}
.mcard:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.mcard__icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: rgba(245, 165, 36, .14); color: var(--gold-dark); font-size: 22px;
  transition: background .4s, color .4s;
}
.mcard:hover .mcard__icon { background: var(--gold); color: var(--navy-900); }
.mcard h3 { font-size: 18px; margin-bottom: 6px; }
.mcard p { font-size: 15px; line-height: 1.6; }

/* ---------- Banner ---------- */
.banner { position: relative; padding: clamp(90px, 12vw, 130px) 0; background-image: url("../images/web/01.jpg"); background-size: cover; background-position: center; background-attachment: fixed; color: #fff; text-align: center; }
.banner__overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(7, 15, 30, .9), rgba(18, 33, 58, .7)); }
.banner__content { position: relative; }
.banner__quote { font-family: var(--font-head); font-weight: 600; font-size: clamp(22px, 3vw, 34px); line-height: 1.4; max-width: 900px; margin: 0 auto 36px; }

/* ---------- Tabs / panels ---------- */
.tabs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-bottom: 40px; }
.tab {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  padding: 20px 12px; border-radius: var(--radius-sm);
  border: 1px solid var(--line); background: #fff; color: var(--ink);
  font-family: var(--font-head); font-weight: 600; font-size: 14px; line-height: 1.3; text-align: center;
  transition: all .35s var(--ease);
}
.tab i { font-size: 22px; color: var(--blue); transition: color .35s; }
.tab:hover { border-color: var(--blue); transform: translateY(-3px); }
.tab.is-active { background: var(--navy-800); border-color: var(--navy-800); color: #fff; box-shadow: var(--shadow-sm); }
.tab.is-active i { color: var(--gold); }

.panel {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
}
.panel[hidden] { display: none; }
.panel.is-active { animation: panelIn .6s var(--ease); }
@keyframes panelIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
.panel__media { position: relative; min-height: 440px; }
.panel__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.panel__num {
  position: absolute; left: 24px; top: 20px;
  font-family: var(--font-head); font-weight: 800; font-size: 64px; line-height: 1;
  color: #fff; text-shadow: 0 4px 20px rgba(0, 0, 0, .4); opacity: .95;
}
.panel__body { padding: 52px 48px; display: flex; flex-direction: column; justify-content: center; }
.panel__kicker { font-family: var(--font-head); font-weight: 600; font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-dark); margin-bottom: 8px; }
.panel__body h3 { font-size: clamp(22px, 2.4vw, 28px); margin-bottom: 12px; }
.panel__intro { margin-bottom: 24px; }
.checklist li { position: relative; padding-left: 34px; margin-bottom: 14px; font-size: 16px; line-height: 1.55; }
.checklist li::before {
  content: "\f00c"; font-family: "Font Awesome 6 Free"; font-weight: 900; font-size: 11px;
  position: absolute; left: 0; top: 3px; width: 22px; height: 22px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(2, 132, 199, .12); color: var(--blue);
}
.checklist strong { color: var(--ink); }
.panel__target { margin-top: 12px; padding-top: 20px; border-top: 1px dashed var(--line); font-family: var(--font-head); font-weight: 500; font-size: 14px; color: var(--navy-600); }
.panel__target i { color: var(--gold-dark); margin-right: 6px; }

/* ---------- Why ---------- */
.why__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 72px; align-items: center; }
.why__media { position: relative; }
.why__media img { width: 100%; aspect-ratio: 4 / 4.6; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.why__badge {
  position: absolute; right: -24px; bottom: 40px;
  display: flex; align-items: center; gap: 16px;
  padding: 22px 26px; border-radius: var(--radius);
  background: linear-gradient(135deg, var(--navy-800), var(--blue));
  color: rgba(255, 255, 255, .88); font-size: 15px; line-height: 1.35;
  box-shadow: var(--shadow);
}
.why__badge-num { font-family: var(--font-head); font-weight: 800; font-size: 58px; line-height: 1; color: #fff; }
.why__content .section__sub { margin-bottom: 36px; }
.features { display: grid; gap: 22px; }
.feature { display: flex; gap: 20px; padding: 22px; border-radius: var(--radius); transition: background .35s, box-shadow .35s; }
.feature:hover { background: #fff; box-shadow: var(--shadow-sm); }
.feature__icon {
  flex: none; width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center;
  background: var(--navy-800); color: var(--gold); font-size: 22px;
}
.feature h3 { font-size: 19px; margin-bottom: 6px; }
.feature p { font-size: 15.5px; }

/* ---------- Sectors ---------- */
.sectors__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.sector {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 380px; padding: 30px; border-radius: var(--radius);
  background-size: cover; background-position: center;
  display: flex; flex-direction: column; justify-content: flex-end;
  color: #fff;
}
.sector::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background-image: inherit; background-size: cover; background-position: center;
  transition: transform .8s var(--ease);
}
.sector::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(7, 15, 30, .1) 0%, rgba(7, 15, 30, .92) 75%);
  transition: background .5s;
}
.sector:hover::before { transform: scale(1.08); }
.sector--mines { background-image: url("../images/web/05.jpg"); }
.sector--industrie { background-image: url("../images/web/17.jpg"); }
.sector--public { background-image: url("../images/web/18.jpg"); }
.sector--particuliers { background-image: url("../images/web/16.jpg"); }
.sector:hover::after { background: linear-gradient(180deg, rgba(2, 132, 199, .25) 0%, rgba(7, 15, 30, .95) 70%); }
.sector__icon {
  width: 50px; height: 50px; border-radius: 14px; margin-bottom: auto;
  display: grid; place-items: center; font-size: 20px;
  background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .2); color: var(--gold);
  backdrop-filter: blur(6px);
}
.sector h3 { color: #fff; font-size: 21px; margin-bottom: 8px; }
.sector p { font-size: 15px; color: rgba(255, 255, 255, .78); line-height: 1.55; }

/* ---------- Values ---------- */
.values__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.value {
  position: relative; overflow: hidden;
  padding: 36px 28px; border-radius: var(--radius);
  background: var(--bg-alt); border: 1px solid transparent;
  transition: transform .4s var(--ease), background .4s, box-shadow .4s, border-color .4s;
}
.value:hover { transform: translateY(-6px); background: #fff; border-color: var(--line); box-shadow: var(--shadow); }
.value__num { position: absolute; right: 20px; top: 12px; font-family: var(--font-head); font-weight: 800; font-size: 54px; color: rgba(10, 22, 40, .06); }
.value__icon { font-size: 30px; color: var(--blue); margin-bottom: 20px; }
.value h3 { font-size: 20px; margin-bottom: 10px; }
.value p { font-size: 15.5px; }

/* ---------- Team ---------- */
.team__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; max-width: 1060px; margin-inline: auto; }
.leader {
  display: grid; grid-template-columns: 220px 1fr;
  background: #fff; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm); border: 1px solid var(--line);
  transition: transform .4s var(--ease), box-shadow .4s;
}
.leader:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.leader__photo { position: relative; overflow: hidden; min-height: 300px; background: var(--navy-800); }
.leader__photo::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, transparent 65%, rgba(7, 15, 30, .35));
  border-right: 4px solid var(--gold);
}
.leader__photo img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center 20%;
  transition: transform .8s var(--ease);
}
.leader:hover .leader__photo img { transform: scale(1.05); }
.leader__info { padding: 30px; display: flex; flex-direction: column; justify-content: center; }
.leader__role {
  align-self: flex-start; font-family: var(--font-head); font-weight: 600; font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase;
  color: #8a5300; background: rgba(245, 165, 36, .14); padding: 5px 11px; border-radius: 99px;
}
.leader__info h3 { font-size: 21px; margin: 12px 0 10px; }
.leader__info p { font-size: 15px; line-height: 1.6; margin-bottom: 18px; }
.leader__links { display: flex; gap: 10px; }
.leader__links a {
  width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  background: var(--bg-alt); color: var(--navy-800); transition: background .3s, color .3s;
}
.leader__links a:hover { background: var(--navy-800); color: var(--gold); }

/* ---------- Vidéo & documents ---------- */
.docs { padding-bottom: clamp(110px, 12vw, 150px); }
.docs__grid { display: grid; grid-template-columns: 1.55fr 1fr; gap: 28px; align-items: stretch; }
.docs__video { border-radius: var(--radius); overflow: hidden; background: #000; box-shadow: 0 30px 60px -25px rgba(0, 0, 0, .7); border: 1px solid rgba(255, 255, 255, .1); }
.docs__video video { display: block; width: 100%; height: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: #000; }
.docs__list { display: grid; gap: 20px; }
.doc {
  display: grid; grid-template-columns: 150px 1fr; gap: 20px; align-items: center;
  padding: 16px; border-radius: var(--radius);
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12);
  transition: background .35s, transform .35s var(--ease);
}
.doc:hover { background: rgba(255, 255, 255, .09); transform: translateY(-4px); }
.doc__thumb { display: block; border-radius: 12px; overflow: hidden; aspect-ratio: 4 / 3; background: #fff; }
.doc__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.doc:hover .doc__thumb img { transform: scale(1.06); }
.doc__meta { font-family: var(--font-head); font-size: 12.5px; letter-spacing: .06em; text-transform: uppercase; color: rgba(255, 255, 255, .6); }
.doc__meta i { color: var(--gold); margin-right: 4px; }
.doc h3 { color: #fff; font-size: 19px; margin: 4px 0 12px; }
.doc__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.btn--sm { padding: 9px 16px; font-size: 13.5px; gap: 7px; }
.btn--line { border-color: rgba(255, 255, 255, .35); color: #fff; }
.btn--line:hover { background: #fff; color: var(--navy-900); border-color: #fff; }

/* ---------- CTA ---------- */
.cta { padding: 0 0 20px; position: relative; }
.cta__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 30px;
  padding: 54px 60px; border-radius: 24px;
  background:
    radial-gradient(circle at 90% 10%, rgba(255, 255, 255, .35), transparent 40%),
    linear-gradient(120deg, var(--gold), #ffc15e);
  transform: translateY(60px); position: relative; z-index: 2;
  box-shadow: 0 30px 60px -25px rgba(217, 138, 11, .6);
}
.cta h2 { font-size: clamp(24px, 3vw, 34px); color: var(--navy-900); margin-bottom: 8px; }
.cta p { color: rgba(7, 15, 30, .75); font-size: 17px; }

/* ---------- Contact ---------- */
.contact { padding-top: 170px; background: var(--bg-alt); }
.contact__grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 64px; align-items: start; }
.contact__info .section__sub { margin-bottom: 36px; }
.contact__list { display: grid; gap: 16px; }
.contact__list li { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border-radius: var(--radius-sm); background: #fff; box-shadow: var(--shadow-sm); }
.contact__icon { flex: none; width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: var(--navy-800); color: var(--gold); font-size: 18px; }
.contact__list small { display: block; font-size: 13px; color: var(--muted); }
.contact__list div > a, .contact__list div > span { font-family: var(--font-head); font-weight: 600; color: var(--ink); font-size: 15.5px; word-break: break-word; }
.contact__list a:hover { color: var(--blue); }

.form { background: #fff; padding: 42px; border-radius: 22px; box-shadow: var(--shadow); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-family: var(--font-head); font-weight: 500; font-size: 14px; color: var(--ink); margin-bottom: 7px; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink);
  padding: 13px 16px; border-radius: 12px;
  border: 1.5px solid var(--line); background: var(--bg-alt);
  transition: border-color .3s, background .3s, box-shadow .3s;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(2, 132, 199, .12);
}
.field.has-error input, .field.has-error textarea { border-color: #dc2626; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__note { margin-top: 14px; font-size: 13.5px; color: var(--muted); text-align: center; }
.form__note i { color: var(--blue); margin-right: 4px; }
.form__status { margin-top: 14px; font-size: 15px; text-align: center; min-height: 1.5em; }
.form__status.is-success { color: #15803d; }
.form__status.is-error { color: #dc2626; }

/* ---------- Footer ---------- */
.footer { background: var(--navy-900); color: rgba(255, 255, 255, .65); padding: 90px 0 0; font-size: 15px; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr .8fr 1.2fr; gap: 48px; padding-bottom: 60px; }
.footer__brand p { margin-top: 20px; max-width: 340px; }
.footer h4 { color: #fff; font-size: 16px; margin-bottom: 20px; }
.footer li { margin-bottom: 11px; }
.footer a { transition: color .3s; }
.footer a:hover { color: var(--gold); }
.footer__contact li { display: flex; gap: 10px; align-items: baseline; word-break: break-word; }
.footer__contact i { color: var(--gold); }
.footer__bottom { display: flex; align-items: center; justify-content: space-between; padding: 26px 0; border-top: 1px solid rgba(255, 255, 255, .08); }
.footer__secure { font-size: 14px; }
.footer__secure i { color: var(--gold); margin-right: 6px; }

.to-top {
  position: fixed; right: 20px; bottom: 20px; z-index: 90;
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
  background: var(--navy-800); color: var(--gold); box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(16px);
  transition: opacity .35s, visibility .35s, transform .35s var(--ease), background .3s, color .3s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--gold); color: var(--navy-900); }

/* ---------- Accessibilité & progression ---------- */
.skip-link {
  position: fixed; left: 16px; top: -60px; z-index: 200;
  padding: 10px 18px; border-radius: 10px; background: var(--gold); color: var(--navy-900);
  font-family: var(--font-head); font-weight: 600; transition: top .25s;
}
.skip-link:focus { top: 16px; }
:focus-visible { outline: 3px solid var(--blue-light); outline-offset: 3px; border-radius: 6px; }
.progress {
  position: fixed; left: 0; top: 0; z-index: 120; height: 3px; width: 100%;
  background: linear-gradient(90deg, var(--gold), var(--blue-light));
  transform: scaleX(0); transform-origin: left;
}

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1100px) {
  .mining__showcase, .why__grid { grid-template-columns: 1fr; gap: 50px; }
  .mining__visual { max-width: 620px; margin-inline: auto; width: 100%; }
  .why__media { max-width: 620px; margin-inline: auto; width: 100%; }
  .why__media img { aspect-ratio: 16 / 11; }
  .sectors__grid, .values__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 960px) {
  .burger { display: block; }
  .nav {
    position: fixed; inset: 0; z-index: 105;
    flex-direction: column; justify-content: center; gap: 10px;
    background: rgba(7, 15, 30, .98); backdrop-filter: blur(10px);
    opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s;
  }
  .nav.is-open { opacity: 1; visibility: visible; }
  .nav__link, .header.is-scrolled .nav__link { color: #fff; font-size: 22px; padding: 10px 20px; }
  .nav__link--cta { margin: 16px 0 0; font-size: 17px !important; }
  body.menu-open { overflow: hidden; }

  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3)::before { display: none; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }

  .tabs {
    display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x proximity;
    margin-inline: -20px; padding: 4px 20px 12px; scrollbar-width: none;
  }
  .tabs::-webkit-scrollbar { display: none; }
  .tab { flex: none; flex-direction: row; gap: 10px; padding: 12px 18px; border-radius: 99px; font-size: 14px; white-space: nowrap; scroll-snap-align: start; }
  .tab i { font-size: 16px; }
  .tab:hover { transform: none; }

  .hero__slide--1 { background-image: url("../images/web/sm/05.jpg"); }
  .hero__slide--2 { background-image: url("../images/web/sm/01.jpg"); }
  .hero__slide--3 { background-image: url("../images/web/sm/03.jpg"); }
  .hero__slide--4 { background-image: url("../images/web/sm/04.jpg"); }
  .banner { background-image: url("../images/web/sm/01.jpg"); }
  .sector--mines { background-image: url("../images/web/sm/05.jpg"); }
  .sector--industrie { background-image: url("../images/web/sm/17.jpg"); }
  .sector--public { background-image: url("../images/web/sm/18.jpg"); }
  .sector--particuliers { background-image: url("../images/web/sm/16.jpg"); }

  .team__grid { grid-template-columns: 1fr; max-width: 640px; }
  .panel { grid-template-columns: 1fr; }
  .panel__media { min-height: 0; aspect-ratio: 16 / 10; }
  .panel__body { padding: 36px 30px; }

  .contact__grid { grid-template-columns: 1fr; }
  .docs__grid { grid-template-columns: 1fr; }
  .docs__list { grid-template-columns: 1fr 1fr; }
  .cta__inner { flex-direction: column; align-items: flex-start; padding: 40px 32px; }
  .banner { background-attachment: scroll; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .container { width: calc(100% - 32px); }
  .section__head { margin-bottom: 42px; }
  .hero__badges { display: none; }
  .hero__actions { margin-bottom: 20px; }
  .hero__actions .btn { flex: 1 1 100%; }
  .hero__dots { display: none; }
  .stat { padding: 26px 14px; }
  .stat__num { font-size: 36px; }
  .stat__label { font-size: 13.5px; }
  .mining__list { grid-template-columns: 1fr; }
  .mining__visual { padding: 0 0 50px; }
  .mining__tag { left: 12px; top: 12px; padding: 12px 14px; }
  .sectors__grid, .values__grid { grid-template-columns: 1fr; }
  .docs__list { grid-template-columns: 1fr; }
  .doc { grid-template-columns: 110px 1fr; gap: 14px; }
  .tabs { margin-inline: -16px; padding-inline: 16px; }
  .panel__body { padding: 28px 22px; }
  .panel__num { font-size: 48px; }
  .cta__inner { padding: 34px 24px; }
  .cta__inner .btn { width: 100%; }
  .footer__bottom { flex-direction: column; gap: 8px; text-align: center; }
  .to-top { right: 14px; bottom: 14px; width: 44px; height: 44px; }
  .sector { min-height: 300px; }
  .why__badge { right: 12px; bottom: 12px; padding: 16px 18px; }
  .why__badge-num { font-size: 44px; }
  .form { padding: 28px 22px; }
  .form__row { grid-template-columns: 1fr; gap: 0; }
  .footer__grid { grid-template-columns: 1fr; gap: 34px; }
  .logo__text { font-size: 13px; }
  .logo__text strong { font-size: 18px; }
  .logo__mark { width: 40px; height: 40px; }
}

@media (max-width: 560px) {
  .leader { grid-template-columns: 1fr; }
  .leader__photo { min-height: 0; aspect-ratio: 4 / 4.2; }
  .leader__photo::after { border-right: 0; border-bottom: 4px solid var(--gold); }
  .leader__info { padding: 24px 22px 26px; }
}

@media (max-height: 700px) and (min-width: 961px) {
  .hero__badges { display: none; }
  .hero__actions { margin-bottom: 20px; }
}

/* =========================================================
   Compteurs de fréquentation
   ========================================================= */

/* Pastille flottante : fréquentation en direct */
.live {
  position: fixed; left: 18px; bottom: 18px; z-index: 40;
  display: flex; align-items: center; gap: 10px;
  padding: 10px 16px; border-radius: 99px;
  font: 600 13px/1 var(--font-head); color: #fff;
  background: rgba(10, 22, 40, .82); backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, .14); box-shadow: var(--shadow-sm);
  opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.live.is-ready { opacity: 1; transform: none; }
.live b { color: var(--gold); font-weight: 700; }
.live__dot { width: 9px; height: 9px; border-radius: 50%; background: #34d399; box-shadow: 0 0 0 0 rgba(52, 211, 153, .7); animation: livePulse 1.8s infinite; }
@keyframes livePulse { 70% { box-shadow: 0 0 0 10px rgba(52, 211, 153, 0); } 100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); } }

/* Bandeau de fréquentation dans le pied de page */
.visits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding: 8px 0 34px; }
.visits__item {
  display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center;
  padding: 22px 12px; border-radius: var(--radius-sm);
  background: linear-gradient(160deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .02));
  border: 1px solid rgba(255, 255, 255, .1);
  transition: transform .35s var(--ease), border-color .35s;
}
.visits__item:hover { transform: translateY(-4px); border-color: rgba(245, 165, 36, .5); }
.visits__item i { color: var(--gold); font-size: 20px; }
.visits__item strong { font: 800 clamp(26px, 4vw, 38px)/1.1 var(--font-head); color: #fff; font-variant-numeric: tabular-nums; }
.visits__item span { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, .6); }
@media (max-width: 640px) {
  .visits { gap: 10px; }
  .visits__item { padding: 16px 6px; }
  /* Sur mobile, les compteurs restent visibles dans le pied de page */
  .live { display: none; }
  .contact__list div > a { font-size: 14px; }
}

@media (prefers-reduced-motion: reduce) { .live__dot { animation: none; } }
