/* =========================================================
   SafetyAfrica — feuille de style principale
   Couleurs reprises du logo : vert, jaune, bleu
   ========================================================= */

:root {
  --green: #4f8a2b;
  --green-dark: #3b6b1e;
  --green-soft: #eaf3e2;
  --yellow: #ffc000;
  --yellow-dark: #e0a800;
  --blue: #2e5391;
  --navy: #0b1f3a;
  --navy-2: #122b4d;
  --ink: #0f1a2a;
  --text: #3c4757;
  --muted: #6b7686;
  --line: #e3e8ee;
  --tint: #f5f7f2;
  --white: #ffffff;

  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 20px 50px -20px rgba(11, 31, 58, .25);
  --shadow-sm: 0 6px 20px -8px rgba(11, 31, 58, .18);

  --font-head: 'Archivo', system-ui, sans-serif;
  --font-body: 'Manrope', system-ui, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.1; margin: 0; letter-spacing: -.02em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
svg { flex-shrink: 0; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.section { padding: 120px 0; position: relative; }
.section--tint { background: var(--tint); }
.section--dark { background: var(--navy); color: #c9d3e0; }

/* ---------- Typo utilitaires ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-head); font-weight: 700; font-size: 13px;
  letter-spacing: .16em; text-transform: uppercase; color: var(--green);
  margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 28px; height: 3px; background: var(--yellow); border-radius: 2px; }
.eyebrow--light { color: var(--yellow); }
.eyebrow--light::before { background: var(--green); }
.hero .eyebrow::before { display: none; }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 0 rgba(255,192,0,.7); animation: pulse 2s infinite; }

.title { font-size: clamp(34px, 4.4vw, 56px); font-weight: 800; }
.title--light { color: var(--white); }
.lead { font-size: 19px; color: var(--muted); max-width: 560px; }
.lead--light { color: #aebbd0; }

.u { position: relative; z-index: 0; white-space: nowrap; color: var(--green); }
.u::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .02em; height: .22em;
  background: var(--yellow); opacity: .55; z-index: -1; border-radius: 3px;
  transform: scaleX(0); transform-origin: left; transition: transform .9s var(--ease) .3s;
}
.is-visible .u::after, .section__head.is-visible .u::after, .u.is-visible::after { transform: scaleX(1); }
.hl { color: var(--yellow); }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-head); font-weight: 700; font-size: 15px;
  padding: 13px 24px; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; transition: transform .25s var(--ease), background .25s, color .25s, box-shadow .25s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn--primary { background: var(--yellow); color: var(--navy); box-shadow: 0 10px 24px -10px rgba(255,192,0,.8); }
.btn--primary:hover { background: #ffcd33; transform: translateY(-2px); }
.btn--ghost { border-color: rgba(255,255,255,.45); color: var(--white); backdrop-filter: blur(4px); }
.btn--ghost:hover { background: var(--white); color: var(--navy); }
.btn--lg { padding: 16px 30px; font-size: 16px; }
.btn--block { width: 100%; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-head); font-weight: 700; color: var(--green); margin-top: 22px; }
.link-arrow::after { content: "→"; transition: transform .25s var(--ease); }
.link-arrow:hover::after { transform: translateX(5px); }

/* ---------- Barre supérieure ---------- */
.topbar { background: var(--navy); color: #b6c2d3; font-size: 13.5px; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; min-height: 40px; gap: 16px; }
.topbar__right { display: flex; gap: 24px; }
.topbar__item { display: inline-flex; align-items: center; gap: 8px; transition: color .2s; }
a.topbar__item:hover { color: var(--yellow); }
.topbar svg { width: 15px; height: 15px; fill: var(--yellow); }

/* ---------- En-tête ---------- */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.96); backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .3s, border-color .3s;
}
.header.is-scrolled { box-shadow: 0 8px 30px -12px rgba(11,31,58,.18); border-color: var(--line); }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); transition: height .3s; }
.header.is-scrolled .header__inner { height: 70px; }
.brand__logo { width: 250px; height: 66px; display: block; transition: width .3s, height .3s; }
.header.is-scrolled .brand__logo { width: 216px; height: 57px; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav__link {
  position: relative; white-space: nowrap; font-family: var(--font-head); font-weight: 600; font-size: 15px;
  color: var(--ink); padding: 8px 12px; border-radius: 8px; transition: color .2s;
}
.nav__link::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 2px;
  background: var(--green); transform: scaleX(0); transition: transform .3s var(--ease);
}
.nav__link:hover, .nav__link.is-active { color: var(--green); }
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); }
.nav__cta { margin-left: 12px; padding: 11px 20px; font-size: 14px; }

.burger { display: none; width: 46px; height: 46px; border: 0; background: var(--navy); border-radius: 12px; cursor: pointer; position: relative; }
.burger span { position: absolute; left: 13px; right: 13px; height: 2px; background: var(--white); border-radius: 2px; transition: transform .3s, opacity .3s, top .3s; }
.burger span:nth-child(1) { top: 16px; }
.burger span:nth-child(2) { top: 22px; }
.burger span:nth-child(3) { top: 28px; }
.burger[aria-expanded="true"] span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { top: 22px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: calc(100vh - 124px); min-height: calc(100svh - 124px);
  display: flex; flex-direction: column; justify-content: center;
  color: var(--white); overflow: hidden; background: var(--navy);
}
.hero__bg {
  position: absolute; inset: -40px 0 0; background-size: cover; background-position: center 30%;
  transform: scale(1.08); animation: heroZoom 18s ease-out forwards;
}
.hero__overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(100deg, rgba(11,31,58,.96) 0%, rgba(11,31,58,.85) 40%, rgba(11,31,58,.35) 75%, rgba(11,31,58,.55) 100%),
    linear-gradient(0deg, rgba(11,31,58,.9) 0%, transparent 40%);
}
.hero__inner {
  position: relative; z-index: 2; display: grid; grid-template-columns: 1.35fr .65fr;
  gap: 60px; align-items: center; padding-top: 80px; padding-bottom: 150px;
}
.hero__title {
  color: var(--white); font-size: clamp(46px, 7vw, 96px); font-weight: 800; line-height: .98;
  letter-spacing: -.035em; margin-bottom: 28px;
}
.hero__title .hl { position: relative; display: inline-block; }
.hero__title .hl::after {
  content: ""; position: absolute; left: 0; bottom: .06em; width: 100%; height: .09em;
  background: var(--green); border-radius: 4px; transform-origin: left;
  animation: grow 1s var(--ease) 1s both;
}
.hero__lead { font-size: 19px; max-width: 600px; color: #cfd8e5; margin-bottom: 38px; }
.hero__lead strong { color: var(--white); font-weight: 700; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 44px; }
.hero__pillars { display: flex; flex-wrap: wrap; gap: 8px 22px; font-family: var(--font-head); font-weight: 600; font-size: 14px; letter-spacing: .12em; text-transform: uppercase; color: #9fb0c6; }
.hero__pillars b { color: var(--yellow); font-size: 18px; }

.hero__content > * { animation: fadeUp .9s 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; }

.hero__card {
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-radius: 24px; padding: 34px 30px; text-align: center; box-shadow: 0 30px 60px -20px rgba(0,0,0,.5);
}
.zero { position: relative; width: 180px; height: 180px; margin: 0 auto 18px; }
.zero__ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 22s linear infinite; }
.zero__ring text { fill: var(--yellow); font-family: var(--font-head); font-weight: 700; font-size: 13.5px; letter-spacing: 2.2px; }
.zero__num {
  position: absolute; inset: 38px; border-radius: 50%; display: grid; place-items: center;
  background: var(--green); color: var(--white); font-family: 'Archivo Black', var(--font-head);
  font-size: 64px; line-height: 1; box-shadow: inset 0 -8px 0 rgba(0,0,0,.15), 0 0 0 6px rgba(79,138,43,.25);
}
.hero__card-title { font-family: var(--font-head); font-weight: 800; font-size: 22px; color: var(--white); margin-bottom: 8px; }
.hero__card-text { font-size: 15px; color: #b9c5d6; }

/* Ligne sismographe */
.seismo { position: absolute; left: 0; right: 0; bottom: 18px; z-index: 2; }
.seismo svg { width: 100%; height: 90px; display: block; }
.seismo__line {
  fill: none; stroke: var(--yellow); stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round;
  stroke-dasharray: 3200; stroke-dashoffset: 3200; animation: draw 3.2s var(--ease) .6s forwards;
  filter: drop-shadow(0 0 6px rgba(255,192,0,.6));
}
.seismo__labels { display: flex; justify-content: space-between; font-family: var(--font-head); font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #8a9bb3; margin-top: -4px; }
.seismo__labels span:last-child { color: #9fd176; }

/* ---------- Bande de sécurité ---------- */
.tape {
  position: relative; overflow: hidden; padding: 16px 0; transform: rotate(-1.2deg) scale(1.03); margin: -14px 0 0;
  z-index: 5;
  background: repeating-linear-gradient(-45deg, var(--yellow) 0 26px, var(--navy) 26px 52px);
  box-shadow: 0 10px 30px -10px rgba(0,0,0,.35);
}
.tape__track { display: flex; align-items: center; gap: 26px; width: max-content; animation: marquee 38s linear infinite; }
.tape__track span {
  font-family: var(--font-head); font-weight: 800; font-size: 20px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--navy); background: var(--yellow); padding: 4px 16px; border-radius: 4px; white-space: nowrap;
}
.tape__track i { color: var(--yellow); font-style: normal; font-size: 14px; background: var(--navy); padding: 4px 8px; border-radius: 4px; }

/* ---------- À propos ---------- */
.about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about__media { position: relative; padding: 0 60px 70px 0; }
.about__img { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.about__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.about__img:hover img { transform: scale(1.05); }
.about__img--main { aspect-ratio: 4 / 5; }
.about__img--small { position: absolute; right: 0; bottom: 0; width: 48%; aspect-ratio: 1; border: 8px solid var(--white); }
.about__badge {
  position: absolute; left: -24px; top: 40px; background: var(--yellow); color: var(--navy);
  padding: 18px 22px; border-radius: 14px; box-shadow: var(--shadow-sm); animation: float 5s ease-in-out infinite;
}
.about__badge strong { display: block; font-family: 'Archivo Black', var(--font-head); font-size: 30px; line-height: 1; letter-spacing: .02em; }
.about__badge span { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; line-height: 1.4; display: block; margin-top: 6px; }
.about__content .lead { margin: 22px 0 32px; }

.prevent__label { font-family: var(--font-head); font-weight: 700; font-size: 14px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); margin-bottom: 14px; }
.prevent__list { display: grid; gap: 12px; }
.prevent__item {
  display: flex; gap: 16px; align-items: center; padding: 16px 18px; border: 1px solid var(--line);
  border-radius: 14px; background: var(--white); transition: border-color .25s, transform .25s var(--ease), box-shadow .25s;
}
.prevent__item:hover { border-color: var(--green); transform: translateX(6px); box-shadow: var(--shadow-sm); }
.prevent__item strong { display: block; font-family: var(--font-head); color: var(--ink); font-size: 17px; }
.prevent__item span { font-size: 14.5px; color: var(--muted); }
.prevent__icon { width: 48px; height: 48px; border-radius: 12px; background: var(--green-soft); display: grid; place-items: center; flex-shrink: 0; }
.prevent__icon svg { width: 24px; height: 24px; fill: none; stroke: var(--green); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.goal {
  margin: 30px 0 0; padding: 22px 26px; border-left: 5px solid var(--yellow); background: var(--navy);
  color: var(--white); border-radius: 0 14px 14px 0; font-family: var(--font-head); font-weight: 700; font-size: 20px; line-height: 1.35;
}
.goal span { display: block; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--yellow); margin-bottom: 6px; }
.about__ceo { margin-top: 18px; font-size: 15px; color: var(--muted); }
.about__ceo strong { color: var(--ink); }

/* ---------- Section head ---------- */
.section__head { margin-bottom: 60px; }
.section__head--center { text-align: center; }
.section__head--center .eyebrow { justify-content: center; }
.section__head--split { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; flex-wrap: wrap; }

/* ---------- HSEQ ---------- */
.hseq__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.hseq__card {
  position: relative; background: var(--white); border-radius: var(--radius); padding: 34px 30px 32px;
  overflow: hidden; border: 1px solid var(--line); transition: transform .35s var(--ease), box-shadow .35s;
}
.hseq__card::before { content: ""; position: absolute; left: 0; top: 0; right: 0; height: 5px; background: var(--c); transform: scaleX(.18); transform-origin: left; transition: transform .5s var(--ease); }
.hseq__card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.hseq__card:hover::before { transform: scaleX(1); }
.hseq__letter {
  display: block; font-family: 'Archivo Black', var(--font-head); font-size: 88px; line-height: .9; color: var(--c);
  margin-bottom: 18px; transition: transform .4s var(--ease);
}
.hseq__card:hover .hseq__letter { transform: scale(1.08) rotate(-4deg); }
.hseq__card h3 { font-size: 22px; margin-bottom: 10px; }
.hseq__card p { font-size: 15.5px; color: var(--muted); }

/* ---------- Actions / étapes ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; counter-reset: s; }
.steps::before {
  content: ""; position: absolute; top: 58px; left: 8%; right: 8%; height: 2px;
  background: repeating-linear-gradient(90deg, var(--green) 0 10px, transparent 10px 18px);
}
.step { position: relative; padding: 0 6px; }
.step__num { font-family: 'Archivo Black', var(--font-head); font-size: 15px; color: var(--green); letter-spacing: .1em; display: block; margin-bottom: 12px; }
.step__icon {
  position: relative; width: 88px; height: 88px; border-radius: 24px; background: var(--navy);
  display: grid; place-items: center; margin-bottom: 26px; transition: background .3s, transform .35s var(--ease);
  box-shadow: 0 0 0 8px var(--white);
}
.step__icon svg { width: 38px; height: 38px; fill: none; stroke: var(--yellow); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.step:hover .step__icon { background: var(--green); transform: translateY(-6px) rotate(-4deg); }
.step:hover .step__icon svg { stroke: var(--white); }
.step h3 { font-size: 24px; margin-bottom: 10px; }
.step p { font-size: 15.5px; color: var(--muted); }

/* ---------- Pour vous ---------- */
.foryou { overflow: hidden; }
.foryou::before {
  content: ""; position: absolute; right: -200px; top: -200px; width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(79,138,43,.25), transparent 70%);
}
.foryou__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; position: relative; }
.foryou__sticky { position: sticky; top: 110px; border-radius: 24px; overflow: hidden; }
.foryou__sticky img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.foryou__caption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 60px 30px 28px;
  background: linear-gradient(0deg, rgba(11,31,58,.95), transparent);
}
.foryou__caption p { color: var(--white); font-family: var(--font-head); font-weight: 700; font-size: 22px; line-height: 1.3; }
.foryou__caption .eyebrow { margin-bottom: 10px; }
.foryou__content .title { margin-bottom: 40px; }
.checklist { display: grid; gap: 4px; }
.checklist li {
  display: flex; gap: 20px; padding: 22px 0; border-bottom: 1px solid rgba(255,255,255,.1);
  font-size: 16px; color: #aebbd0;
}
.checklist li:last-child { border-bottom: 0; }
.checklist strong { display: block; color: var(--white); font-family: var(--font-head); font-size: 19px; margin-bottom: 4px; }
.checklist__tick {
  width: 34px; height: 34px; border-radius: 50%; background: var(--green); flex-shrink: 0; position: relative; margin-top: 2px;
  transition: transform .3s var(--ease), background .3s;
}
.checklist__tick::after {
  content: ""; position: absolute; left: 12px; top: 8px; width: 8px; height: 14px;
  border: solid var(--white); border-width: 0 3px 3px 0; transform: rotate(45deg);
}
.checklist li:hover .checklist__tick { background: var(--yellow); transform: scale(1.1); }
.checklist li:hover .checklist__tick::after { border-color: var(--navy); }

/* ---------- Domaines (onglets) ---------- */
.tabs { display: grid; grid-template-columns: 340px 1fr; gap: 36px; align-items: start; }
.tabs__list { display: grid; gap: 8px; position: sticky; top: 110px; }
.tabs__btn {
  display: flex; align-items: center; gap: 16px; text-align: left; width: 100%;
  font-family: var(--font-head); font-weight: 700; font-size: 16.5px; color: var(--ink);
  padding: 18px 20px; border-radius: 14px; border: 1px solid var(--line); background: var(--white);
  cursor: pointer; transition: all .3s var(--ease);
}
.tabs__btn span {
  width: 42px; height: 42px; border-radius: 10px; display: grid; place-items: center; flex-shrink: 0;
  background: var(--tint); color: var(--green); font-family: 'Archivo Black', var(--font-head); font-size: 14px;
  transition: all .3s;
}
.tabs__btn:hover { border-color: var(--green); transform: translateX(4px); }
.tabs__btn.is-active { background: var(--navy); color: var(--white); border-color: var(--navy); box-shadow: var(--shadow); }
.tabs__btn.is-active span { background: var(--yellow); color: var(--navy); }

.panel { display: grid; grid-template-columns: 1fr 1fr; background: var(--white); border-radius: 24px; overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); min-height: 520px; }
.panel[hidden] { display: none; }
.panel.is-active { animation: panelIn .6s var(--ease); }
.panel__img { position: relative; overflow: hidden; }
.panel__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.panel__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, transparent 60%, rgba(79,138,43,.35)); }
.panel__body { padding: 40px 38px; }
.panel__body h3 { font-size: 28px; margin-bottom: 16px; }
.panel__body > p { color: var(--muted); margin-bottom: 18px; font-size: 16px; }

.dots { display: grid; gap: 12px; }
.dots li { position: relative; padding-left: 26px; font-size: 16px; color: var(--text); }
.dots li::before { content: ""; position: absolute; left: 0; top: 9px; width: 10px; height: 10px; border-radius: 3px; background: var(--yellow); transform: rotate(45deg); }

.numbered { counter-reset: n; display: grid; gap: 8px; }
.numbered li { counter-increment: n; display: flex; gap: 12px; align-items: baseline; font-size: 15px; padding-bottom: 8px; border-bottom: 1px dashed var(--line); }
.numbered li::before { content: counter(n, decimal-leading-zero); font-family: 'Archivo Black', var(--font-head); color: var(--green); font-size: 13px; min-width: 22px; }

.mini-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.mini-grid div, .stack div { padding: 16px; border-radius: 12px; background: var(--tint); border-left: 4px solid var(--green); }
.mini-grid strong, .stack strong { display: block; font-family: var(--font-head); color: var(--ink); margin-bottom: 4px; }
.mini-grid span, .stack span { font-size: 14.5px; color: var(--muted); line-height: 1.5; display: block; }
.stack { display: grid; gap: 14px; }
.stack div:nth-child(2) { border-color: var(--yellow); }
.stack div:nth-child(3) { border-color: var(--blue); }

.hazards { display: grid; gap: 12px; }
.hazard {
  position: relative; height: 104px; border-radius: 14px; background-size: cover; background-position: center; overflow: hidden;
  display: flex; align-items: center; padding: 0 22px;
}
.hazard::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11,31,58,.92), rgba(11,31,58,.35)); transition: background .3s; }
.hazard:hover::before { background: linear-gradient(90deg, rgba(79,138,43,.92), rgba(11,31,58,.25)); }
.hazard span { position: relative; color: var(--white); font-family: var(--font-head); font-weight: 800; font-size: 22px; }

/* ---------- Chiffres ---------- */
.stats { background: var(--yellow); padding: 64px 0; position: relative; overflow: hidden; }
.stats::before {
  content: ""; position: absolute; inset: 0; opacity: .08;
  background: repeating-linear-gradient(-45deg, var(--navy) 0 2px, transparent 2px 16px);
}
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; position: relative; }
.stat { text-align: center; padding: 0 10px; border-right: 2px solid rgba(11,31,58,.15); }
.stat:last-child { border-right: 0; }
.stat__num { display: block; font-family: 'Archivo Black', var(--font-head); font-size: clamp(52px, 6vw, 76px); color: var(--navy); line-height: 1; }
.stat__label { display: block; margin-top: 10px; font-family: var(--font-head); font-weight: 700; color: var(--navy); font-size: 15px; }

/* ---------- SafetyControl ---------- */
.software { overflow: hidden; }
.software::before {
  content: ""; position: absolute; inset: 0; opacity: .5;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 48px 48px;
}
.software__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 70px; align-items: center; position: relative; }
.software .title { font-size: clamp(44px, 6vw, 76px); margin-bottom: 18px; }
.software .lead { margin-bottom: 34px; }
.features { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 36px; }
.feature {
  display: flex; gap: 14px; align-items: center; padding: 14px 16px; border-radius: 12px;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08); font-size: 14.5px; color: #d7e0ec; line-height: 1.4;
  transition: background .25s, border-color .25s;
}
.feature:hover { background: rgba(79,138,43,.18); border-color: rgba(79,138,43,.5); }
.feature svg { width: 26px; height: 26px; fill: none; stroke: var(--yellow); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.mock {
  background: #0f2748; border-radius: 18px; border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.7), 0 0 0 10px rgba(255,255,255,.03);
  overflow: hidden; transform: perspective(1400px) rotateY(-8deg) rotateX(3deg); transition: transform .6s var(--ease);
}
.mock:hover { transform: perspective(1400px) rotateY(0) rotateX(0); }
.mock__bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; background: #0a1d38; border-bottom: 1px solid rgba(255,255,255,.08); }
.mock__bar i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.mock__bar i:nth-child(2) { background: #febc2e; }
.mock__bar i:nth-child(3) { background: #28c840; }
.mock__bar span { margin-left: 14px; font-size: 12px; color: #7d8ea8; background: rgba(255,255,255,.06); padding: 3px 12px; border-radius: 6px; }
.mock__body { display: grid; grid-template-columns: 150px 1fr; min-height: 380px; }
.mock__side { background: #0b2140; padding: 18px 12px; display: flex; flex-direction: column; gap: 4px; font-size: 13px; color: #8898b0; }
.mock__side span { padding: 8px 12px; border-radius: 8px; }
.mock__side .is-on { background: var(--green); color: var(--white); font-weight: 700; }
.mock__main { padding: 18px; display: grid; gap: 14px; }
.mock__kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mock__kpis div { background: rgba(255,255,255,.05); border-radius: 10px; padding: 12px; }
.mock__kpis small, .mock__chart small { display: block; font-size: 11px; color: #8898b0; }
.mock__kpis b { font-family: 'Archivo Black', var(--font-head); font-size: 26px; line-height: 1.2; }
.c-green { color: #7cc94f; } .c-yellow { color: var(--yellow); } .c-blue { color: #6fa8ff; }
.mock__chart { background: rgba(255,255,255,.05); border-radius: 10px; padding: 12px; }
.bars { display: flex; align-items: flex-end; gap: 8px; height: 100px; margin-top: 10px; }
.bars span { flex: 1; height: var(--h); background: linear-gradient(180deg, var(--yellow), var(--green)); border-radius: 4px 4px 0 0; transform-origin: bottom; transform: scaleY(0); transition: transform .9s var(--ease); }
.mock.is-visible .bars span { transform: scaleY(1); }
.mock.is-visible .bars span:nth-child(2) { transition-delay: .08s; } .mock.is-visible .bars span:nth-child(3) { transition-delay: .16s; }
.mock.is-visible .bars span:nth-child(4) { transition-delay: .24s; } .mock.is-visible .bars span:nth-child(5) { transition-delay: .32s; }
.mock.is-visible .bars span:nth-child(6) { transition-delay: .40s; } .mock.is-visible .bars span:nth-child(7) { transition-delay: .48s; }
.mock.is-visible .bars span:nth-child(8) { transition-delay: .56s; }
.mock__list { display: grid; gap: 6px; }
.mock__list li { display: flex; align-items: center; gap: 10px; font-size: 12.5px; color: #c8d3e2; background: rgba(255,255,255,.04); padding: 9px 10px; border-radius: 8px; }
.mock__list li span { margin-left: auto; color: #7d8ea8; font-size: 11.5px; }
.tag { font-style: normal; font-size: 10.5px; font-weight: 700; padding: 2px 8px; border-radius: 20px; text-transform: uppercase; letter-spacing: .05em; }
.tag--red { background: rgba(232,71,63,.2); color: #ff8a84; }
.tag--yellow { background: rgba(255,192,0,.18); color: var(--yellow); }
.tag--green { background: rgba(79,138,43,.25); color: #8fd65f; }
.mock__note { font-size: 11px; color: #5f7291; text-align: right; padding: 8px 16px 12px; }

/* ---------- Mines ---------- */
.mines { padding-top: 0; }
.mines__hero {
  position: relative; padding: 150px 0 190px; background-size: cover; background-position: center; background-attachment: fixed;
}
.mines__hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11,31,58,.92), rgba(11,31,58,.4)); }
.mines__hero .container { position: relative; }
.mines__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: -110px; position: relative; z-index: 2; }
.phase { background: var(--white); border-radius: 24px; padding: 40px; box-shadow: var(--shadow); border-top: 6px solid var(--green); }
.phase--alt { border-top-color: var(--yellow); }
.phase__head { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; }
.phase__head span { font-family: 'Archivo Black', var(--font-head); font-size: 44px; line-height: 1; color: transparent; -webkit-text-stroke: 2px var(--green); }
.phase--alt .phase__head span { -webkit-text-stroke-color: var(--yellow-dark); }
.phase__head h3 { font-size: 30px; }
.phase > p { color: var(--muted); margin-bottom: 18px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.phase__img { margin-top: 26px; border-radius: 14px; overflow: hidden; aspect-ratio: 16 / 7; }
.phase__img img { width: 100%; height: 100%; object-fit: cover; }
.chips span {
  padding: 10px 18px; border-radius: 999px; background: var(--navy); color: var(--white);
  font-family: var(--font-head); font-weight: 600; font-size: 15px; transition: background .25s, color .25s, transform .25s var(--ease);
}
.chips span:hover { background: var(--yellow); color: var(--navy); transform: translateY(-3px); }

/* ---------- Engagements ---------- */
.commit__grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: 70px; align-items: center; }
.commit__content .title { margin-bottom: 40px; }
.commit__list { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.commit__item {
  display: flex; gap: 16px; background: var(--white); padding: 26px 24px; border-radius: var(--radius);
  border: 1px solid var(--line); transition: transform .35s var(--ease), box-shadow .35s;
}
.commit__item:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.commit__icon { width: 52px; height: 52px; border-radius: 14px; background: var(--green); display: grid; place-items: center; flex-shrink: 0; }
.commit__icon svg { width: 26px; height: 26px; fill: none; stroke: var(--white); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.commit__item h3 { font-size: 19px; margin-bottom: 6px; }
.commit__item p { font-size: 15px; color: var(--muted); line-height: 1.55; }

.seal { position: relative; width: min(340px, 100%); aspect-ratio: 1; margin: 0 auto; }
.seal::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #8fd65f, var(--green) 55%, var(--green-dark)); box-shadow: 0 30px 60px -20px rgba(59,107,30,.7), inset 0 -12px 0 rgba(0,0,0,.12); }
.seal__ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 30s linear infinite reverse; }
.seal__ring text { fill: var(--white); font-family: var(--font-head); font-weight: 800; font-size: 14px; letter-spacing: 2.6px; }
.seal__core { position: absolute; inset: 22%; border-radius: 50%; background: var(--navy); display: flex; flex-direction: column; align-items: center; justify-content: center; border: 4px solid var(--yellow); }
.seal__core b { font-family: 'Archivo Black', var(--font-head); color: var(--yellow); font-size: clamp(38px, 4vw, 54px); line-height: 1; }
.seal__core span { color: var(--white); font-family: var(--font-head); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: 12px; margin-top: 6px; }

/* ---------- Références ---------- */
.refs__lead { margin: 18px auto 0; }
.refs { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; }
.ref {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 20px 24px;
  flex: 0 1 270px;
  transition: transform .35s var(--ease), box-shadow .35s, border-color .35s;
}
.ref:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--green); }
.ref__logo { width: 100%; height: 96px; display: grid; place-items: center; }
.ref__logo img { max-width: 170px; max-height: 90px; object-fit: contain; filter: grayscale(1); opacity: .8; transition: filter .35s, opacity .35s; }
.ref:hover .ref__logo img { filter: none; opacity: 1; }
.ref__mono {
  width: 84px; height: 84px; border-radius: 22px; display: grid; place-items: center;
  background: var(--navy); color: var(--yellow); font-family: 'Archivo Black', var(--font-head); font-size: 28px; letter-spacing: .02em;
}
.ref:nth-child(3n+2) .ref__mono { background: var(--green); color: var(--white); }
.ref:nth-child(3n) .ref__mono { background: var(--yellow); color: var(--navy); }
.ref__name { font-size: 17px; line-height: 1.3; }
.ref__sector { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--green); background: var(--green-soft); padding: 4px 12px; border-radius: 999px; }

/* ---------- CTA ---------- */
.cta { position: relative; padding: 130px 0; background-size: cover; background-position: center; background-attachment: fixed; text-align: center; }
.cta::before { content: ""; position: absolute; inset: 0; background: rgba(11,31,58,.86); }
.cta__inner { position: relative; max-width: 900px; }
.cta h2 { color: var(--white); font-size: clamp(34px, 5vw, 60px); font-weight: 800; margin-bottom: 20px; }
.cta p { color: #c3cfdf; font-size: 19px; margin-bottom: 36px; }
.cta__btns { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; }

/* ---------- Contact ---------- */
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: start; }
.contact__info .lead { margin: 20px 0 32px; }
.cards { display: grid; gap: 12px; margin-bottom: 26px; }
.ccard { display: flex; align-items: center; gap: 18px; padding: 18px 20px; border-radius: 14px; border: 1px solid var(--line); transition: border-color .25s, transform .25s var(--ease); font-family: var(--font-head); font-weight: 700; color: var(--ink); font-size: 17px; line-height: 1.4; }
a.ccard:hover { border-color: var(--green); transform: translateX(6px); }
.ccard small { display: block; font-family: var(--font-body); font-weight: 600; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }
.ccard__icon { width: 50px; height: 50px; border-radius: 12px; background: var(--yellow); display: grid; place-items: center; flex-shrink: 0; }
.ccard__icon svg { width: 22px; height: 22px; fill: var(--navy); }
.map { border-radius: var(--radius); overflow: hidden; height: 240px; border: 1px solid var(--line); }
.map iframe { width: 100%; height: 100%; border: 0; filter: saturate(.85); }

.form { background: var(--navy); border-radius: 26px; padding: 44px 40px; box-shadow: var(--shadow); position: sticky; top: 110px; }
.form h3 { color: var(--white); font-size: 28px; margin-bottom: 8px; }
.form__intro { color: #9fb0c6; font-size: 15px; margin-bottom: 28px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: block; margin-bottom: 16px; }
.field span { display: block; font-size: 13px; font-weight: 700; color: #c9d3e0; margin-bottom: 7px; letter-spacing: .02em; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 15.5px; color: var(--white); background: rgba(255,255,255,.06);
  border: 1.5px solid rgba(255,255,255,.14); border-radius: 12px; padding: 13px 15px; transition: border-color .2s, background .2s;
}
.field select option { color: var(--ink); }
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--yellow); background: rgba(255,255,255,.1); }
.field.is-invalid input, .field.is-invalid textarea { border-color: #ff7b72; }
.form__error { color: #ff9b94; font-size: 14px; min-height: 20px; margin-bottom: 10px; }

/* ---------- Pied de page ---------- */
.footer { background: #07162b; color: #93a3ba; padding: 80px 0 0; font-size: 15px; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 56px; }
.footer__logo { width: 260px; height: 69px; display: block; margin-bottom: 16px; }
.footer__brand p { max-width: 320px; }
.footer__slogan { margin-top: 14px; color: var(--yellow); font-family: var(--font-head); font-weight: 700; font-size: 18px; }
.footer h4 { color: var(--white); font-size: 16px; margin-bottom: 18px; letter-spacing: .02em; }
.footer__grid a { display: block; padding: 4px 0; transition: color .2s, transform .2s; }
.footer__grid a:hover { color: var(--yellow); transform: translateX(3px); }
.footer__grid p { margin-bottom: 6px; }
.footer__bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding: 24px; border-top: 1px solid rgba(255,255,255,.08); font-size: 14px; }
.footer__bottom span:last-child { color: var(--green); font-weight: 700; }

/* ---------- Flottants ---------- */
.whatsapp {
  position: fixed; right: 22px; bottom: 22px; z-index: 90; width: 58px; height: 58px; border-radius: 50%;
  background: #25d366; display: grid; place-items: center; box-shadow: 0 12px 30px -8px rgba(37,211,102,.7);
  transition: transform .25s var(--ease);
}
.whatsapp::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25d366; animation: ring 2.4s infinite; }
.whatsapp:hover { transform: scale(1.08); }
.whatsapp svg { width: 30px; height: 30px; fill: var(--white); }
.totop {
  position: fixed; right: 30px; bottom: 94px; z-index: 90; width: 42px; height: 42px; border-radius: 12px; border: 0;
  background: var(--navy); cursor: pointer; display: grid; place-items: center; opacity: 0; transform: translateY(10px);
  pointer-events: none; transition: opacity .3s, transform .3s;
}
.totop.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.totop svg { width: 20px; height: 20px; fill: none; stroke: var(--yellow); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Apparition au défilement ---------- */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.mock.reveal { transform: perspective(1400px) rotateY(-8deg) rotateX(3deg) translateY(40px); }
.mock.reveal.is-visible { transform: perspective(1400px) rotateY(-8deg) rotateX(3deg); }
.mock.reveal.is-visible:hover { transform: perspective(1400px) rotateY(0) rotateX(0); }

/* ---------- Animations ---------- */
@keyframes fadeUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }
@keyframes heroZoom { to { transform: scale(1); } }
@keyframes grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes float { 50% { transform: translateY(-10px); } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255,192,0,.7); } 70% { box-shadow: 0 0 0 10px rgba(255,192,0,0); } 100% { box-shadow: 0 0 0 0 rgba(255,192,0,0); } }
@keyframes ring { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.6); opacity: 0; } }
@keyframes panelIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1200px) {
  .burger { display: block; z-index: 110; }
  .nav {
    position: fixed; inset: 0; background: var(--navy); flex-direction: column; justify-content: center; gap: 10px;
    opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s; z-index: 105;
  }
  .nav.is-open { opacity: 1; visibility: visible; }
  .nav__link { color: var(--white); font-size: 26px; padding: 10px 20px; }
  .nav__link::after { display: none; }
  .nav__cta { margin: 20px 0 0; font-size: 17px; padding: 15px 30px; }
  body.nav-open { overflow: hidden; }
}

@media (max-width: 1024px) {
  .section { padding: 96px 0; }

  .hero__inner { grid-template-columns: 1fr; gap: 40px; }
  .hero__card { display: none; }
  .about__grid, .foryou__grid, .software__grid, .contact__grid, .commit__grid { grid-template-columns: 1fr; gap: 56px; }
  .about__media { max-width: 560px; }
  .foryou__sticky { position: relative; top: 0; }
  .foryou__sticky img { aspect-ratio: 16 / 10; }
  .hseq__grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 50px; }
  .steps::before { display: none; }
  .tabs { grid-template-columns: 1fr; }
  .tabs__list { position: relative; top: 0; grid-template-columns: repeat(2, 1fr); }
  .form { position: relative; top: 0; }
  .mock, .mock.reveal.is-visible { transform: none; }
  .mines__hero, .cta { background-attachment: scroll; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .section { padding: 80px 0; }
  .container { padding: 0 16px; }
  .topbar__inner { justify-content: center; }
  .topbar__inner > .topbar__item, .topbar__right a:last-child { display: none; }
  .header__inner { height: 70px; }
  .brand__logo, .header.is-scrolled .brand__logo { width: 180px; height: 48px; }
  .hero__inner { padding-top: 60px; padding-bottom: 130px; }
  .hero__lead { font-size: 17px; }
  .hero__cta .btn { width: 100%; }
  .seismo__labels { font-size: 10px; }
  .tape__track span { font-size: 16px; }
  .about__media { padding: 0 30px 50px 0; }
  .about__badge { left: -6px; top: 20px; padding: 14px 16px; }
  .about__badge strong { font-size: 24px; }
  .hseq__grid, .steps, .commit__list, .features, .mini-grid, .form__row, .mines__grid { grid-template-columns: 1fr; }
  .tabs__list { grid-template-columns: 1fr; }
  .tabs__btn { padding: 14px 16px; font-size: 15.5px; }
  .panel { grid-template-columns: 1fr; min-height: 0; }
  .panel__img { height: 220px; }
  .panel__body { padding: 28px 22px; }
  .panel__body h3 { font-size: 24px; }
  .stats__grid { grid-template-columns: 1fr 1fr; row-gap: 36px; }
  .stat:nth-child(2) { border-right: 0; }
  .mock__body { grid-template-columns: 1fr; }
  .mock__side { flex-direction: row; overflow-x: auto; padding: 10px; }
  .mock__side span { white-space: nowrap; }
  .mock__kpis b { font-size: 20px; }
  .mines__hero { padding: 100px 0 150px; }
  .phase { padding: 30px 24px; }
  .form { padding: 32px 22px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .u { white-space: normal; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .seismo__line { stroke-dashoffset: 0; }
}
