/* ==========================================================================
   GUEM'S MINING SARL — Feuille de styles principale (noir et orange, couleurs du logo)
   ========================================================================== */

:root {
  --black: #101010;
  --anthracite: #292929;
  --orange: #F96A00;
  --orange-light: #FF9A2E;
  --orange-deep: #B34700;    /* orange foncé pour le texte sur fond clair (contraste AA) */
  --white: #FFFFFF;
  --grey-light: #F4F4F4;
  --grey-line: #E3E3E3;
  --text: #1E1E1E;
  --text-muted: #555555;
  --on-dark: #E9E9E9;
  --on-dark-muted: #B8B8B8;
  --danger: #B42318;
  --success: #1F7A3E;
  --whatsapp: #1DA851;

  --font-head: "Manrope", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 18px 40px -22px rgba(16, 16, 16, .35);
  --header-h: 84px;
  --container: 1200px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--orange-deep); text-underline-offset: 3px; }
a:hover { color: var(--black); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 4px; }
main:focus { outline: none; }

h1, h2, h3, h4, .h3 {
  font-family: var(--font-head);
  line-height: 1.2;
  letter-spacing: -.015em;
  color: var(--black);
  margin: 0 0 .6em;
}
h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 800; }
h3, .h3 { font-size: clamp(1.2rem, 1.8vw, 1.4rem); font-weight: 700; }
p { margin: 0 0 1.1em; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 200;
  background: var(--orange); color: var(--black); padding: 10px 16px; border-radius: var(--radius-sm);
  font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 24px; }
.narrow { max-width: 820px; }
.center { text-align: center; }

.icon { width: 1.25em; height: 1.25em; flex: none; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .7em;
  font-family: var(--font-head); font-size: .8rem; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase; color: var(--orange-deep);
  margin-bottom: 1rem;
}
.eyebrow::before { content: ""; width: 34px; height: 2px; background: var(--orange); }
.section-dark .eyebrow, .hero .eyebrow, .page-hero .eyebrow, .cta-band .eyebrow { color: var(--orange-light); }

/* ----------------------------------------------------------------- Boutons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: .9em 1.6em; border-radius: 3px; border: 2px solid transparent;
  font-family: var(--font-head); font-weight: 700; font-size: .95rem; line-height: 1.2;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .25s var(--ease), background-color .25s, color .25s, border-color .25s, box-shadow .25s;
}
.btn .icon { width: 1.1em; height: 1.1em; transition: transform .25s var(--ease); }
.btn:hover .icon:last-child { transform: translateX(3px); }
.btn-lg { padding: 1em 1.8em; font-size: 1rem; }
.btn-primary {
  background: linear-gradient(135deg, var(--orange-light), var(--orange) 55%, #E04E00);
  color: var(--black);
  box-shadow: 0 10px 24px -12px rgba(249, 106, 0, .8);
}
.btn-primary:hover { color: var(--black); transform: translateY(-2px); box-shadow: 0 14px 28px -12px rgba(249, 106, 0, .9); }
.btn-outline { border-color: var(--black); color: var(--black); background: transparent; }
.btn-outline:hover { background: var(--black); color: var(--white); }
.btn-outline-light { border-color: rgba(255, 255, 255, .55); color: var(--white); background: rgba(16, 16, 16, .25); }
.btn-outline-light:hover { border-color: var(--orange-light); color: var(--orange-light); }
.btn-whatsapp { background: var(--whatsapp); color: var(--white); }
.btn-whatsapp:hover { background: #168a42; color: var(--white); transform: translateY(-2px); }
.btn[disabled] { opacity: .65; cursor: progress; transform: none; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .45em;
  font-family: var(--font-head); font-weight: 700; color: var(--black);
  text-decoration: none; border-bottom: 2px solid var(--orange); padding-bottom: 2px;
}
.link-arrow .icon { transition: transform .25s var(--ease); width: 1.05em; height: 1.05em; }
.link-arrow:hover .icon { transform: translateX(4px); }
.link-arrow.back:hover .icon { transform: translateX(-4px); }
.link-arrow.on-dark { color: var(--white); }

/* ----------------------------------------------------------------- En-tête */
.topbar { background: #0A0A0A; color: var(--on-dark-muted); font-size: .82rem; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; }
.topbar-tagline { margin: 0; }
.topbar-right { display: flex; align-items: center; gap: 22px; }
.topbar-links { list-style: none; display: flex; gap: 22px; margin: 0; padding: 0; }
.topbar .lang-switch { padding: .25em .6em; }
.header-actions .lang-switch-mobile { display: none; }
.header-cta { padding: .85em 1.3em; font-size: .8rem; }
.topbar-links a { display: inline-flex; align-items: center; gap: .45em; color: var(--on-dark); text-decoration: none; }
.topbar-links a:hover { color: var(--orange-light); }
.topbar-links .icon { width: 1em; height: 1em; color: var(--orange); }

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--black); color: var(--white);
  border-bottom: 1px solid rgba(249, 106, 0, .25);
  transition: box-shadow .3s;
}
.site-header.is-scrolled { box-shadow: 0 10px 30px -14px rgba(0, 0, 0, .8); }
.header-inner { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); }
.brand {
  flex: none; display: block; align-self: stretch;
  background: var(--white); padding: 10px 28px 10px 18px; margin-left: -18px;
  clip-path: polygon(0 0, 100% 0, calc(100% - 18px) 100%, 0 100%);
}
.brand img { height: 64px; width: auto; }

.main-nav { margin-left: auto; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; }
.nav-link {
  position: relative; display: block; padding: .6em .75em;
  font-family: var(--font-head); font-weight: 700; font-size: .84rem; letter-spacing: .04em; text-transform: uppercase;
  color: var(--white); text-decoration: none; white-space: nowrap;
}
.nav-link:hover, .nav-link[aria-current="page"] { color: var(--orange-light); }
.nav-link::after {
  content: ""; position: absolute; left: .75em; right: .75em; bottom: .2em; height: 2px;
  background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav-link:hover::after, .nav-link[aria-current="page"]::after { transform: scaleX(1); }
.nav-mobile-extra { display: none; }

.header-actions { display: flex; align-items: center; gap: 18px; }
.lang-switch {
  display: inline-flex; align-items: center; gap: .3em;
  padding: .45em .75em; border: 1px solid rgba(255, 255, 255, .25); border-radius: 4px;
  font-family: var(--font-head); font-weight: 700; font-size: .8rem;
  color: var(--on-dark-muted); text-decoration: none; transition: border-color .2s, color .2s;
}
.lang-switch .icon { width: 1.05em; height: 1.05em; }
.lang-switch .lang-current { color: var(--white); }
.lang-switch .lang-other { color: var(--orange-light); }
.lang-switch:hover { border-color: var(--orange); color: var(--white); }
.header-phone { display: flex; align-items: center; gap: 12px; color: var(--white); text-decoration: none; }
.header-phone-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--orange); color: var(--black); }
.header-phone-icon .icon { width: 20px; height: 20px; }
.header-phone-text { display: grid; line-height: 1.25; }
.header-phone small { color: var(--on-dark-muted); font-size: .75rem; }
.header-phone strong { font-family: var(--font-head); font-size: .95rem; }
.header-phone:hover strong { color: var(--orange-light); }

.menu-toggle {
  display: none; width: 46px; height: 46px; border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, .25); background: transparent; color: var(--white);
  align-items: center; justify-content: center; cursor: pointer;
}
.menu-toggle .icon { width: 24px; height: 24px; }
.menu-toggle .icon-close { display: none; }
.menu-toggle[aria-expanded="true"] .icon-open { display: none; }
.menu-toggle[aria-expanded="true"] .icon-close { display: block; }

@media (max-width: 1200px) {
  .header-phone { display: none; }
  .nav-link { padding: .6em .55em; font-size: .78rem; }
}
@media (max-width: 980px) {
  :root { --header-h: 72px; }
  .topbar { display: none; }
  .brand img { height: 50px; }
  .menu-toggle { display: inline-flex; }
  .header-actions { margin-left: auto; gap: 10px; }
  .header-phone, .header-cta { display: none; }
  .header-actions .lang-switch-mobile { display: inline-flex; }
  .main-nav {
    position: fixed; inset: var(--header-h) 0 0 0; margin: 0;
    background: var(--black); padding: 24px 24px 40px; overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s .3s;
  }
  .main-nav.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .main-nav ul { flex-direction: column; gap: 0; }
  .nav-link { font-size: 1.1rem; padding: .85em 0; border-bottom: 1px solid rgba(255, 255, 255, .1); }
  .nav-link::after { left: 0; right: auto; width: 40px; bottom: -1px; }
  .nav-mobile-extra { display: grid; gap: 18px; margin-top: 28px; }
  .nav-phone { display: inline-flex; gap: .6em; align-items: center; color: var(--orange-light); font-weight: 600; text-decoration: none; justify-content: center; }
  body.menu-open { overflow: hidden; }
}

/* ----------------------------------------------------------------- Fil d'Ariane */
.breadcrumbs { padding-top: 14px; padding-bottom: 14px; font-size: .85rem; }
.breadcrumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .4em; }
.breadcrumbs li { color: var(--text-muted); }
.breadcrumbs li + li::before { content: "/"; margin-right: .4em; color: var(--orange); }
.breadcrumbs a { color: var(--text-muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--black); text-decoration: underline; }
.breadcrumbs span[aria-current] { color: var(--black); font-weight: 600; }

/* ----------------------------------------------------------------- Bannières */
.hero, .page-hero, .not-found {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--black); color: var(--on-dark);
}
.hero-bg, .page-hero-bg, .not-found-bg { position: absolute; inset: 0; z-index: -1; }
.hero-bg img, .page-hero-bg img, .not-found-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-bg::after, .page-hero-bg::after, .not-found-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(10, 10, 10, .92) 0%, rgba(10, 10, 10, .72) 45%, rgba(10, 10, 10, .35) 100%);
}
.hero h1, .page-hero h1, .not-found h1 { color: var(--white); }
.hero { padding: clamp(72px, 9vw, 120px) 0 clamp(110px, 12vw, 150px); }
.hero-bg img { animation: slow-zoom 24s var(--ease) both; }
@keyframes slow-zoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.8rem); max-width: 16ch; }
.hero .lead { max-width: 54ch; font-size: clamp(1.02rem, 1.4vw, 1.15rem); color: var(--on-dark); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; margin-top: 32px; }
.hero-visual img { width: 100%; filter: drop-shadow(0 20px 40px rgba(0, 0, 0, .5)); }

.page-hero { padding: clamp(64px, 10vw, 120px) 0 clamp(56px, 8vw, 96px); }
.page-hero h1 { max-width: 22ch; }
.page-hero .lead { max-width: 62ch; font-size: 1.15rem; margin: 0; }
.meta.on-dark { color: var(--on-dark-muted); }

/* ----------------------------------------------------------------- Sections */
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section-light { background: var(--grey-light); }
.section-pattern { background: var(--grey-light) url("../img/illustrations/motif-clair.svg") center / cover no-repeat; }
.section-dark { background: var(--black); color: var(--on-dark); }
.section-dark h2, .section-dark h3, .section-dark .h3 { color: var(--white); }
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head p { color: var(--text-muted); font-size: 1.1rem; }
.section-dark .section-head p { color: var(--on-dark-muted); }
.section-link { margin: 40px 0 0; }

.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.split-center { align-items: center; }
.split-media { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4 / 3; }
.split-media img { width: 100%; height: 100%; object-fit: cover; }
.split-badge {
  position: absolute; left: 20px; bottom: 20px; display: flex; gap: 14px; align-items: center;
  background: var(--white); border-radius: 12px; padding: 14px 18px; box-shadow: var(--shadow);
}
.split-badge span { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--black); color: var(--orange); }
.split-badge p { margin: 0; line-height: 1.3; font-size: .9rem; color: var(--text-muted); }
.split-badge strong { display: block; color: var(--black); font-family: var(--font-head); font-size: 1rem; }

.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.checklist li {
  display: flex; gap: 14px; align-items: flex-start;
  background: var(--white); padding: 18px 20px; border-radius: 12px;
  border-left: 3px solid var(--orange); box-shadow: 0 6px 20px -16px rgba(0, 0, 0, .4);
  font-weight: 500;
}
.checklist .icon { color: var(--orange-deep); margin-top: .2em; }

/* ----------------------------------------------------------------- Cartes */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  position: relative; background: var(--white); border: 1px solid var(--grey-line);
  border-radius: var(--radius); padding: 32px 28px;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.card::before {
  content: ""; position: absolute; left: 28px; right: 28px; top: -1px; height: 3px;
  background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.card:hover::before { transform: scaleX(1); }
.card p { color: var(--text-muted); margin: 0; }
.card-icon {
  display: inline-grid; place-items: center; width: 56px; height: 56px; margin-bottom: 20px;
  border-radius: 14px; background: var(--black); color: var(--orange);
}
.card-icon .icon { width: 26px; height: 26px; }
.cards-values .card { text-align: center; }
.cards-values .card-icon { margin-inline: auto; border-radius: 50%; }

/* Activités */
.activity-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.activity-card {
  display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden;
  background: var(--anthracite); border: 1px solid rgba(249, 106, 0, .18);
  transition: transform .35s var(--ease), border-color .35s;
}
.activity-card:hover { transform: translateY(-6px); border-color: rgba(249, 106, 0, .6); }
.activity-media { aspect-ratio: 16 / 9; overflow: hidden; }
.activity-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.activity-card:hover .activity-media img { transform: scale(1.05); }
.activity-body { padding: 28px 30px 32px; }
.activity-body h2, .activity-body h3 { color: var(--white); }
.activity-body p { color: var(--on-dark-muted); margin: 0; }
.tag {
  display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--orange-light); margin: 0 0 .8em;
}
.activity-list { display: grid; gap: 40px; }
.activity-list .activity-card { flex-direction: row; background: var(--black); }
.activity-list .activity-card:nth-child(even) { flex-direction: row-reverse; }
.activity-list .activity-media { flex: 1 1 50%; aspect-ratio: auto; min-height: 340px; }
.activity-list .activity-body { flex: 1 1 50%; padding: clamp(32px, 5vw, 56px); align-self: center; }
.activity-list h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }

/* À propos */
.id-table { margin: 0; border-top: 2px solid var(--orange); }
.id-table div { display: grid; grid-template-columns: minmax(140px, 40%) 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--grey-line); }
.id-table dt { color: var(--text-muted); font-size: .92rem; }
.id-table dd { margin: 0; font-weight: 600; color: var(--black); }
.id-table.compact { margin-bottom: 32px; }
.purpose-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.purpose { background: var(--anthracite); border-radius: var(--radius); padding: 32px; border: 1px solid rgba(249, 106, 0, .18); }
.purpose h3 { margin: 0; font-size: 1.5rem; }
.vm-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.vm { padding: 40px; border-radius: var(--radius); background: var(--grey-light); border-top: 3px solid var(--orange); }
.vm p { margin: 0; color: var(--text-muted); font-size: 1.08rem; }

/* Expertise */
.expertise-list { display: grid; gap: 20px; }
.expertise-item {
  display: grid; grid-template-columns: auto auto 1fr; gap: 24px; align-items: start;
  padding: 32px; border: 1px solid var(--grey-line); border-radius: var(--radius);
  transition: border-color .3s, box-shadow .3s;
}
.expertise-item:hover { border-color: var(--orange); box-shadow: var(--shadow); }
.expertise-item .num { font-family: var(--font-head); font-weight: 800; font-size: 2rem; color: var(--orange); line-height: 1; padding-top: 10px; }
.expertise-item .card-icon { margin: 0; }
.expertise-item p { margin: 0; color: var(--text-muted); }
.hse-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.hse-item { background: var(--anthracite); border-radius: var(--radius); padding: 36px; border: 1px solid rgba(249, 106, 0, .18); }
.hse-item p { color: var(--on-dark-muted); margin: 0; }

/* Bandeau d'appel à l'action */
.cta-band {
  background: radial-gradient(circle at 85% 20%, rgba(249, 106, 0, .22), transparent 55%), var(--black);
  color: var(--on-dark); padding: clamp(56px, 8vw, 88px) 0; border-top: 1px solid rgba(249, 106, 0, .3);
}
.cta-inner { display: grid; grid-template-columns: 220px 1fr auto; align-items: center; gap: 32px; }
.cta-inner h2 { color: var(--white); max-width: 22ch; }
.cta-inner p { margin: 0; color: var(--on-dark-muted); max-width: 56ch; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 8px; }
.cta-actions.center { justify-content: center; margin-top: 28px; }

/* États vides */
.empty-state {
  max-width: 720px; margin: 0 auto; text-align: center; padding: 56px 32px;
  border: 1px dashed rgba(179, 71, 0, .45); border-radius: var(--radius); background: var(--grey-light);
}
.empty-state .card-icon { margin-inline: auto; border-radius: 50%; }
.empty-state p { color: var(--text-muted); }

/* Projets et actualités */
.project-grid, .news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.project-card a, .news-card a {
  display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none;
  border: 1px solid var(--grey-line); border-radius: var(--radius); overflow: hidden; background: var(--white);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.project-card a:hover, .news-card a:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.project-media, .news-media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--black); }
.project-media img, .news-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.project-card a:hover img, .news-card a:hover img { transform: scale(1.05); }
.project-body, .news-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.project-body p, .news-body p { color: var(--text-muted); font-size: .97rem; }
.project-body .link-arrow, .news-body .link-arrow { margin-top: auto; align-self: flex-start; }
.meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; font-size: .85rem; color: var(--text-muted); }
.meta .icon { width: 1em; height: 1em; display: inline-block; vertical-align: -2px; }
.meta span { display: inline-flex; gap: .35em; align-items: center; }
.meta .tag { color: var(--orange-deep); margin: 0; }
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.chip {
  font: 600 .9rem var(--font-head); padding: .55em 1.1em; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--grey-line); background: var(--white); color: var(--black); transition: all .2s;
}
.chip:hover { border-color: var(--orange); }
.chip[aria-pressed="true"] { background: var(--black); color: var(--orange-light); border-color: var(--black); }
.filter-empty { text-align: center; color: var(--text-muted); }

.article-header { padding: clamp(40px, 6vw, 72px) 0 32px; }
.article-header h1 { font-size: clamp(1.9rem, 4vw, 3rem); }
.article-header .meta { margin-bottom: 18px; }
.notice { background: var(--grey-light); border-left: 3px solid var(--orange); padding: 12px 16px; border-radius: 6px; font-size: .95rem; }
.article-cover { margin-bottom: 40px; }
.article-cover img { width: 100%; max-height: 560px; object-fit: cover; border-radius: var(--radius); }
.article > .narrow { padding-bottom: 72px; }

.prose { font-size: 1.08rem; }
.prose h2 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .4em; }
.prose li::marker { color: var(--orange-deep); }
.section-dark .prose, .hse-item .prose { color: var(--on-dark-muted); }

.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; margin: 32px 0; }
.gallery figure { margin: 0; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; }
.gallery figcaption { font-size: .85rem; color: var(--text-muted); margin-top: 6px; }

.share { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin: 40px 0 28px; padding: 20px 0; border-top: 1px solid var(--grey-line); border-bottom: 1px solid var(--grey-line); }
.share p { margin: 0; font-weight: 700; font-family: var(--font-head); }
.share ul { list-style: none; display: flex; gap: 10px; margin: 0; padding: 0; }
.share a, .share button {
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
  background: var(--black); color: var(--orange-light); border: 0; cursor: pointer; transition: background .2s, color .2s;
}
.share a:hover, .share button:hover { background: var(--orange); color: var(--black); }
.share .icon { width: 18px; height: 18px; }
.share .copy-status { font-weight: 500; font-family: var(--font-body); color: var(--success); font-size: .9rem; }

/* ----------------------------------------------------------------- Contact */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.contact-aside { background: var(--black); color: var(--on-dark); border-radius: var(--radius); padding: 36px; position: sticky; top: calc(var(--header-h) + 24px); }
.contact-aside h2 { color: var(--white); }
.contact-aside h2 + address, .contact-aside h2 + .quick-actions { margin-top: 8px; }
.contact-aside address { font-style: normal; margin-bottom: 28px; }
.contact-line { display: flex; gap: 14px; align-items: flex-start; margin: 0 0 16px; }
.contact-line .icon { color: var(--orange); margin-top: .25em; }
.contact-aside a { color: var(--orange-light); }
.contact-aside a.btn-primary { color: var(--black); }
.contact-aside a.btn-whatsapp { color: var(--white); }
.quick-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.map { margin-top: 12px; border-radius: 10px; overflow: hidden; aspect-ratio: 4 / 3; }
.map iframe { width: 100%; height: 100%; border: 0; }

.contact-form-wrap { background: var(--white); border: 1px solid var(--grey-line); border-radius: var(--radius); padding: clamp(24px, 4vw, 44px); box-shadow: var(--shadow); }
.form-note { color: var(--text-muted); font-size: .9rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.field { margin-bottom: 20px; }
.field label { display: block; font-weight: 600; font-size: .95rem; margin-bottom: 6px; color: var(--black); }
.req { color: var(--danger); }
.opt { font-weight: 400; color: var(--text-muted); font-size: .85rem; }
.field input:not([type="checkbox"]), .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--text);
  padding: .8em 1em; border: 1px solid #C9C9C9; border-radius: 10px; background: var(--white);
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 150px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 4px rgba(249, 106, 0, .25); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--danger); }
.field-error { color: var(--danger); font-size: .87rem; margin: 6px 0 0; }
.field-check { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start; }
.field-check input { width: 20px; height: 20px; margin-top: 4px; accent-color: var(--orange-deep); }
.field-check label { font-weight: 400; font-size: .93rem; color: var(--text-muted); }
.field-check .field-error { grid-column: 2; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { padding: 16px 18px; border-radius: 10px; margin-bottom: 20px; font-weight: 500; }
.form-status.is-success { background: #E8F5EC; color: var(--success); border: 1px solid #A8D5B5; }
.form-status.is-error { background: #FDECEA; color: var(--danger); border: 1px solid #F3B6AF; }

/* ----------------------------------------------------------------- 404 */
.not-found { min-height: 70vh; display: flex; align-items: center; padding: 80px 0; text-align: center; }
.not-found-inner { max-width: 720px; }
.not-found .code { font-family: var(--font-head); font-weight: 800; font-size: clamp(5rem, 16vw, 9rem); line-height: 1; margin: 0; background: linear-gradient(135deg, var(--orange-light), var(--orange)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.not-found .en { color: var(--on-dark-muted); }

/* ----------------------------------------------------------------- Pied de page */
.site-footer { background: #0A0A0A; color: var(--on-dark-muted); padding-top: 72px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1.2fr; gap: 48px; padding-bottom: 48px; }
.footer-logo { display: inline-block; background: var(--white); padding: 12px 18px; border-radius: 10px; margin-bottom: 16px; }
.footer-logo img { width: 170px; height: auto; }
.logo-showcase { margin: 28px 0 0; background: var(--white); border: 1px solid var(--grey-line); border-radius: var(--radius); padding: 28px; text-align: center; box-shadow: var(--shadow); }
.logo-showcase img { width: min(100%, 360px); height: auto; margin: 0 auto; }
.logo-showcase figcaption { margin-top: 12px; font-size: .85rem; color: var(--text-muted); }
.footer-title { font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--orange-light); margin-bottom: 1.2em; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: .5em; }
.site-footer a { color: var(--on-dark); text-decoration: none; }
.site-footer a:hover { color: var(--orange-light); text-decoration: underline; }
.footer-contact { font-style: normal; }
.footer-contact p { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 12px; }
.footer-contact .icon { color: var(--orange); margin-top: .25em; }
.social { list-style: none; display: flex; gap: 10px; padding: 0; margin: 20px 0 0; }
.social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .2); }
.social .icon { width: 18px; height: 18px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 22px; padding-bottom: 28px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .85rem; }
.footer-bottom p { margin: 0; }

/* ----------------------------------------------------------------- Accueil (maquette) */
.link-plain {
  display: inline-flex; align-items: center; gap: .5em;
  font-family: var(--font-head); font-weight: 700; font-size: .85rem; letter-spacing: .06em; text-transform: uppercase;
  color: inherit; text-decoration: none;
}
.link-plain .icon { width: 1.05em; height: 1.05em; transition: transform .25s var(--ease); }
.link-plain:hover { color: var(--orange-deep); }
.hero .link-plain { color: var(--white); }
.hero .link-plain:hover { color: var(--orange-light); }
.link-plain:hover .icon { transform: translateX(4px); }
.btn-square { text-transform: uppercase; letter-spacing: .06em; font-size: .85rem; }

.hero-strip { background: #161616; color: var(--on-dark); position: relative; z-index: 2; }
.hero-strip-inner { display: grid; grid-template-columns: 1fr 1fr minmax(280px, 1fr); gap: 32px; align-items: center; }
.strip-item { display: flex; gap: 16px; align-items: flex-start; padding: 30px 0; }
.strip-icon { flex: none; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; border: 2px solid var(--orange); color: var(--orange); }
.strip-icon .icon { width: 24px; height: 24px; }
.strip-item h2 { font-size: 1.05rem; color: var(--white); margin: 0 0 .3em; }
.strip-item p { margin: 0; font-size: .92rem; color: var(--on-dark-muted); line-height: 1.6; }
.strip-item a { color: var(--on-dark); text-decoration: none; }
.strip-item a:hover { color: var(--orange-light); }
.hero-box {
  align-self: stretch; margin-top: -84px;
  background: linear-gradient(140deg, var(--orange-light), var(--orange) 50%, #E04E00);
  color: var(--black); padding: 34px 32px;
  box-shadow: 0 24px 50px -24px rgba(0, 0, 0, .8);
}
.hero-box-title { font-family: var(--font-head); font-weight: 800; font-size: 1.35rem; line-height: 1.25; margin-bottom: .5em; }
.hero-box p:last-child { margin: 0; font-size: .95rem; color: #2B1400; }

.about-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.quote { margin: 0 0 1.2em; padding: 4px 0 4px 20px; border-left: 3px solid var(--orange); font-size: 1.08rem; font-weight: 500; color: var(--black); }
.muted { color: var(--text-muted); }
.about-split .btn { margin-top: 8px; }
.about-media { position: relative; display: flex; }
.vertical-badge {
  flex: none; writing-mode: vertical-rl; transform: rotate(180deg);
  background: var(--orange); color: var(--black);
  font-family: var(--font-head); font-weight: 800; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase;
  padding: 22px 12px; align-self: flex-start; margin-top: 32px;
}
.about-media-img { flex: 1; min-width: 0; aspect-ratio: 5 / 4; overflow: hidden; box-shadow: var(--shadow); }
.about-media-img img { width: 100%; height: 100%; object-fit: cover; }

.why-band { background: #E9E9E9; padding: clamp(48px, 7vw, 80px) 0; overflow: hidden; }
.why-inner {
  position: relative; max-width: var(--container); margin: 0 auto;
  display: grid; grid-template-columns: .9fr 1.1fr; padding-inline: 24px;
}
.why-inner::after { content: ""; position: absolute; right: -60px; top: 40px; bottom: -20px; width: 120px; background: var(--orange); z-index: 0; }
.why-media { position: relative; z-index: 1; min-height: 380px; }
.why-media img { width: 100%; height: 100%; object-fit: cover; }
.why-panel { position: relative; z-index: 1; background: var(--white); padding: clamp(32px, 5vw, 56px); margin: 40px 0 -20px; }
.why-facts { display: flex; flex-wrap: wrap; gap: 32px; margin: 24px 0; }
.why-facts p { display: flex; align-items: center; gap: 10px; margin: 0; }
.why-facts strong { font-family: var(--font-head); font-size: 2.2rem; font-weight: 800; color: var(--orange-deep); line-height: 1; }
.why-facts span { font-size: .88rem; line-height: 1.3; max-width: 12ch; color: var(--black); font-weight: 600; }
.why-points { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.why-points li { display: flex; gap: 12px; align-items: flex-start; padding-bottom: 12px; border-bottom: 1px solid var(--grey-line); font-weight: 500; font-size: .96rem; }
.why-points .icon { color: var(--orange-deep); margin-top: .2em; }

.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--grey-line); border-left: 1px solid var(--grey-line); }
.service { padding: 40px 32px; border-right: 1px solid var(--grey-line); border-bottom: 1px solid var(--grey-line); transition: background .3s, box-shadow .3s; }
.service:hover { background: var(--grey-light); }
.service-icon { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--black); color: var(--orange); margin-bottom: 22px; transition: background .3s, color .3s; }
.service:hover .service-icon { background: var(--orange); color: var(--black); }
.service-icon .icon { width: 28px; height: 28px; }
.service .tag { color: var(--orange-deep); }
.service h3 { margin-bottom: .5em; }
.service p { color: var(--text-muted); font-size: .96rem; }

.cards-dark .card { background: var(--anthracite); border-color: rgba(249, 106, 0, .18); }
.cards-dark .card h3 { color: var(--white); }
.cards-dark .card p { color: var(--on-dark-muted); }
.cards-dark .card-icon { background: var(--orange); color: var(--black); }

@media (max-width: 980px) {
  .hero-inner, .about-split, .why-inner { grid-template-columns: 1fr; }
  .hero-visual { max-width: 460px; }
  .hero-strip-inner { grid-template-columns: 1fr 1fr; }
  .hero-box { grid-column: 1 / -1; margin: 0 0 24px; order: -1; margin-top: -60px; }
  .why-inner::after { display: none; }
  .why-panel { margin: 0; }
  .why-media { min-height: 260px; }
  .service-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .hero-strip-inner, .service-grid { grid-template-columns: 1fr; }
  .strip-item { padding: 12px 0; }
  .hero-strip-inner { padding-bottom: 16px; gap: 0; }
  .hero-visual { display: none; }
  .vertical-badge { margin-top: 16px; padding: 16px 8px; font-size: .7rem; }
  .why-inner { padding-inline: 16px; }
}

/* ----------------------------------------------------------------- Photos */
img.is-cutout { object-fit: contain !important; background: var(--white); padding: 4%; }
.why-media:has(.is-cutout), .activity-media:has(.is-cutout), .about-media-img:has(.is-cutout) { background: var(--white); }
.hero-bg img, .page-hero-bg img { object-position: 70% center; }
.hero-bg::after, .page-hero-bg::after {
  background: linear-gradient(95deg, rgba(10, 10, 10, .94) 0%, rgba(10, 10, 10, .8) 40%, rgba(10, 10, 10, .35) 75%, rgba(10, 10, 10, .2) 100%);
}
.hero-bg picture, .page-hero-bg picture, .about-media-img picture, .why-media picture, .activity-media picture { display: contents; }
@media (max-width: 860px) {
  .hero-bg::after, .page-hero-bg::after { background: linear-gradient(180deg, rgba(10, 10, 10, .88), rgba(10, 10, 10, .72)); }
}
.about-media-img { aspect-ratio: 4 / 5; max-height: 560px; }
.about-media-img img { object-position: center 40%; }

.promo-banner { padding-top: clamp(56px, 8vw, 96px); }
.promo-banner picture { display: block; }
.promo-banner img { width: 100%; border-radius: var(--radius); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .55); }
.about-media-img img[src*="technicienne"] { object-position: center 20%; }

/* Bandeau final : pelleteuse animée */
.cta-visual img { width: 100%; }
@media (max-width: 860px) {
  .cta-inner { grid-template-columns: 1fr; }
  .cta-visual { max-width: 200px; }
}

/* ----------------------------------------------------------------- Animations */
/* Entrée de la bannière : titre mot par mot, puis texte, boutons, visuel et encadré. */
.title-split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.title-split .w > span { display: inline-block; }
.js .title-split .w > span { animation: word-up .9s var(--ease) both; animation-delay: calc(.15s + var(--i) * 70ms); }
@keyframes word-up { from { transform: translateY(105%); } to { transform: none; } }
@keyframes fade-up { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes fade-left { from { opacity: 0; transform: translateX(60px); } to { opacity: 1; transform: none; } }
@keyframes line-grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.js .hero-text > .eyebrow, .js .page-hero-inner > .eyebrow { animation: fade-up .7s var(--ease) both; }
.js .hero-text > .eyebrow::before, .js .page-hero-inner > .eyebrow::before { transform-origin: left; animation: line-grow .8s .2s var(--ease) both; }
.js .hero-text > .lead, .js .page-hero-inner > .lead, .js .page-hero-inner > .meta { animation: fade-up .8s .75s var(--ease) both; }
.js .hero-actions { animation: fade-up .8s .95s var(--ease) both; }
.js .hero-visual { animation: fade-left 1.2s .5s var(--ease) both; }
.js .hero-box { animation: fade-up .9s 1.2s var(--ease) both; }
.js .strip-item { animation: fade-up .8s var(--ease) both; }
.js .strip-item:nth-child(1) { animation-delay: 1.3s; }
.js .strip-item:nth-child(2) { animation-delay: 1.45s; }

/* Apparition au défilement : vers le haut par défaut, gauche / droite / zoom au choix, en cascade. */
.js .reveal { opacity: 0; transform: translateY(32px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0ms); }
.js .reveal[data-reveal="left"] { transform: translateX(-60px); }
.js .reveal[data-reveal="right"] { transform: translateX(60px); }
.js .reveal[data-reveal="zoom"] { transform: scale(.94); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.about-media-img img, .why-media img { transition: transform 1.6s var(--ease); }
.js .reveal:not(.is-visible) .about-media-img img, .js .why-media.reveal:not(.is-visible) img { transform: scale(1.15); }
.js .vertical-badge { transition: transform 1s .35s var(--ease), opacity 1s .35s; }
.js .reveal:not(.is-visible) .vertical-badge { transform: rotate(180deg) translateY(-40px); opacity: 0; }

/* Barre de progression de lecture */
.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 300; pointer-events: none; }
.scroll-progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--orange-light), var(--orange)); transform: scaleX(0); transform-origin: left; }

/* En-tête réduit au défilement */
.brand img { transition: height .35s var(--ease); }
.header-inner { transition: min-height .35s var(--ease); }
.site-header.is-scrolled .header-inner { min-height: 66px; }
.site-header.is-scrolled .brand img { height: 46px; }

/* Reflet sur les boutons principaux */
.btn-primary { position: relative; overflow: hidden; isolation: isolate; }
.btn-primary::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .55) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .7s var(--ease);
}
.btn-primary:hover::after { transform: translateX(120%); }

/* Icônes vivantes */
.strip-icon { position: relative; }
.strip-icon::after { content: ""; position: absolute; inset: -2px; border-radius: 50%; border: 2px solid var(--orange); animation: ring 2.6s ease-out infinite; }
.strip-item:nth-child(2) .strip-icon::after { animation-delay: 1.3s; }
@keyframes ring { from { transform: scale(1); opacity: .8; } to { transform: scale(1.7); opacity: 0; } }
.header-phone-icon { position: relative; }
.header-phone-icon .icon { animation: wiggle 4s ease-in-out infinite; }
@keyframes wiggle { 0%, 82%, 100% { transform: rotate(0); } 85% { transform: rotate(-16deg); } 88% { transform: rotate(14deg); } 91% { transform: rotate(-10deg); } 94% { transform: rotate(6deg); } }
.service-icon .icon, .card-icon .icon { transition: transform .6s var(--ease); }
.service:hover .service-icon .icon { transform: rotate(-12deg) scale(1.15); }
.card:hover .card-icon .icon { transform: rotateY(180deg); }
.service { position: relative; }
.service::before { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 100%; background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.service:hover::before { transform: scaleX(1); }

/* Bouton retour en haut */
.to-top {
  position: fixed; right: max(20px, env(safe-area-inset-right, 0px)); bottom: max(20px, env(safe-area-inset-bottom, 0px)); z-index: 90;
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  background: var(--orange); color: var(--black); box-shadow: 0 12px 24px -10px rgba(249, 106, 0, .8);
  opacity: 0; transform: translateY(16px); pointer-events: none; transition: opacity .3s, transform .3s var(--ease);
}
.to-top.is-shown { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { color: var(--black); transform: translateY(-3px); }
.to-top .icon-up { transform: rotate(-90deg); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js .reveal, .js .reveal[data-reveal] { opacity: 1; transform: none; }
  .strip-icon::after { display: none; }
}

/* ----------------------------------------------------------------- Responsive */
@media (max-width: 1024px) {
  .cards, .project-grid, .news-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  .split, .contact-grid, .vm-grid, .hse-grid, .purpose-grid, .activity-grid { grid-template-columns: 1fr; }
  .activity-list .activity-card, .activity-list .activity-card:nth-child(even) { flex-direction: column; }
  .activity-list .activity-media { min-height: 0; aspect-ratio: 16 / 9; }
  .contact-aside { position: static; }
}
@media (max-width: 640px) {
  body { font-size: 1rem; }
  .container { padding-inline: 16px; }
  .cards, .project-grid, .news-grid, .form-row, .footer-grid { grid-template-columns: 1fr; }
  .lang-switch .icon { display: none; }
  .hero { min-height: 0; padding-top: 64px; }
  .hero-actions .btn { width: 100%; }
  .expertise-item { grid-template-columns: 1fr; gap: 12px; padding: 24px; }
  .expertise-item .num { padding: 0; }
  .quick-actions { grid-template-columns: 1fr; }
  .contact-aside, .vm, .hse-item, .purpose { padding: 26px; }
  .id-table div { grid-template-columns: 1fr; gap: 2px; }
  .cta-actions .btn { width: 100%; }
}

@media print {
  .site-header, .site-footer, .cta-band, .share, .hero-bg, .page-hero-bg { display: none !important; }
  .hero, .page-hero { background: none; color: #000; }
  .hero h1, .page-hero h1 { color: #000; }
}

/* Compléments */
.purpose .tag { display: block; }
.hse-single { max-width: 820px; margin: 0 auto; text-align: center; }
.hse-single p { margin: 0 auto 24px; max-width: 60ch; }
.hse-icons { display: flex; justify-content: center; gap: 12px; }
