/* ============================================================
   EMPIRE MINERALE
   MAIN STYLESHEET
============================================================ */

/* ============================================================
   01 — VARIABLES
============================================================ */

:root {
  --color-black: #111315;
  --color-dark: #1c2023;
  --color-dark-soft: #24282b;

  --color-gold: #b6914b;
  --color-gold-light: #d1b06a;

  --color-white: #ffffff;
  --color-off-white: #f7f6f2;
  --color-sand: #e9e2d5;

  --color-text: #1b1d1f;
  --color-text-muted: #c8c8c8;

  --color-border-dark: rgba(255, 255, 255, 0.14);
  --color-border-light: rgba(17, 19, 21, 0.12);

  --font-heading: "Playfair Display", serif;
  --font-body: "Manrope", sans-serif;

  --container-width: 1400px;

  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --space-20: 80px;
  --space-24: 96px;
  --space-30: 120px;

  --radius-xs: 2px;
  --radius-sm: 4px;
  --radius-md: 8px;

  --shadow-sm: 0 8px 24px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 18px 50px rgba(0, 0, 0, 0.16);
  --shadow-lg: 0 30px 80px rgba(0, 0, 0, 0.24);

  --transition: 250ms ease;
}

/* ============================================================
   02 — RESET
============================================================ */

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

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;

  font-family: var(--font-body);
  background: var(--color-black);
  color: var(--color-white);

  line-height: 1.6;

  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

ul {
  list-style: none;
}

h1,
h2,
h3 {
  font-family: var(--font-heading);
  font-weight: 500;
}

/* ============================================================
   03 — LAYOUT
============================================================ */

.container {
  width: min(calc(100% - 64px), var(--container-width));
  margin-inline: auto;
}

.section {
  padding-block: var(--space-30);
}

.section-light {
  background: var(--color-off-white);
  color: var(--color-text);
}

.section-dark {
  background: var(--color-black);
  color: var(--color-white);
}

/* ============================================================
   04 — HERO
============================================================ */

.hero {
  min-height: 100svh;

  position: relative;
  isolation: isolate;

  overflow: hidden;

  background-image: url("../images/hero-open-pit-mine-sunset.png");

  background-position: 58% center;
  background-size: cover;
  background-repeat: no-repeat;
}

.hero::before {
  content: "";

  position: absolute;
  inset: 0;

  z-index: -1;

  background:
    linear-gradient(
      90deg,
      rgba(8, 9, 10, 0.92) 0%,
      rgba(8, 9, 10, 0.78) 28%,
      rgba(8, 9, 10, 0.46) 52%,
      rgba(8, 9, 10, 0.12) 78%,
      rgba(8, 9, 10, 0.08) 100%
    ),
    linear-gradient(0deg, rgba(8, 9, 10, 0.55) 0%, transparent 45%);
}

/* ============================================================
   NAVBAR — COMPORTEMENT HERO
   ============================================================ */

.navbar {
  min-height: 100px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: var(--space-8);

  position: relative;
  z-index: 20;

  transition:
    opacity 0.35s ease,
    transform 0.35s ease;
}

.hero.nav-hidden .navbar {
  opacity: 0;
  transform: translateY(-20px);
  pointer-events: none;
}

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

/* ------------------------------------------------------------
   MOBILE
   ------------------------------------------------------------ */

@media (max-width: 900px) {
  .navbar {
    min-height: 86px;
  }

  .hero.nav-hidden .navbar {
    opacity: 0;
    transform: translateY(-15px);
  }
}

/* ============================================================
   LOGO
============================================================ */

.logo {
  width: 88px;
  flex: 0 0 auto;
}

.logo img {
  width: 100%;
  height: 82px;

  object-fit: contain;

  transition:
    width 300ms ease,
    height 300ms ease;
}

.navbar.navbar-scrolled .logo img {
  width: 70px;
  height: 68px;
}

/* ============================================================
   NAVIGATION
============================================================ */

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;

  gap: 30px;
}

.nav-links a {
  position: relative;

  font-size: 13px;
  font-weight: 500;

  white-space: nowrap;

  transition: color var(--transition);
}

.nav-links a::after {
  content: "";

  position: absolute;

  left: 0;
  bottom: -8px;

  width: 0;
  height: 1px;

  background: var(--color-gold);

  transition: width var(--transition);
}

.nav-links a:hover {
  color: var(--color-gold);
}

.nav-links a:hover::after {
  width: 100%;
}

/* ============================================================
   MENU MOBILE
============================================================ */

.menu-toggle {
  display: none;

  width: 44px;
  height: 44px;

  padding: 0;

  border: 1px solid var(--color-border-dark);

  background: rgba(17, 19, 21, 0.25);

  cursor: pointer;
}

.menu-toggle span {
  display: block;

  width: 20px;
  height: 1px;

  margin: 5px auto;

  background: var(--color-white);

  transition:
    transform var(--transition),
    opacity var(--transition);
}

/* ============================================================
   06 — HERO CONTENT
============================================================ */

.hero-content {
  min-height: calc(100svh - 100px);

  display: flex;
  flex-direction: column;
  justify-content: center;

  padding-block: 48px 42px;

  position: relative;
  z-index: 2;
}

.hero-kicker,
.section-kicker {
  color: var(--color-gold);

  font-family: var(--font-body);

  font-size: 12px;
  font-weight: 600;

  text-transform: uppercase;
  letter-spacing: 0.18em;
}

.hero-kicker {
  margin-bottom: var(--space-5);
}

.hero-title {
  max-width: 880px;

  font-size: clamp(54px, 5.5vw, 88px);

  line-height: 0.96;

  letter-spacing: -0.035em;
}

.hero-title span {
  color: var(--color-gold);
}

.hero-description {
  max-width: 580px;

  margin-top: var(--space-8);

  color: var(--color-text-muted);

  font-size: 18px;
  line-height: 1.7;
}

/* ============================================================
   07 — BUTTONS
============================================================ */

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;

  gap: var(--space-4);

  margin-top: var(--space-8);
}

.btn {
  min-height: 54px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  gap: 14px;

  padding-inline: 28px;

  border: 1px solid transparent;
  border-radius: var(--radius-xs);

  font-size: 12px;
  font-weight: 700;

  text-transform: uppercase;
  letter-spacing: 0.04em;

  transition:
    background-color var(--transition),
    color var(--transition),
    border-color var(--transition),
    transform var(--transition);
}

.btn-primary {
  background: var(--color-gold);
  color: var(--color-black);
}

.btn-primary:hover {
  background: var(--color-gold-light);
  transform: translateY(-2px);
}

.btn-outline {
  border-color: rgba(255, 255, 255, 0.48);

  background: rgba(255, 255, 255, 0.03);

  color: var(--color-white);
}

.btn-outline:hover {
  border-color: var(--color-gold);

  color: var(--color-gold);

  background: rgba(182, 145, 75, 0.08);

  transform: translateY(-2px);
}

/* ============================================================
   08 — HERO VALUES
============================================================ */

.hero-values {
  display: grid;

  grid-template-columns: repeat(4, minmax(0, 1fr));

  gap: var(--space-8);

  margin-top: clamp(42px, 7vh, 86px);

  padding-top: var(--space-6);

  border-top: 1px solid var(--color-border-dark);
}

.hero-value {
  display: flex;
  align-items: center;

  gap: var(--space-4);
}

.hero-value-index {
  width: 42px;
  height: 42px;

  display: grid;
  place-items: center;

  flex: 0 0 auto;

  border: 1px solid rgba(182, 145, 75, 0.55);

  color: var(--color-gold);

  font-size: 11px;
  font-weight: 700;
}

.hero-value strong {
  display: block;

  margin-bottom: 2px;

  font-size: 11px;
  font-weight: 700;

  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.hero-value p {
  color: var(--color-text-muted);

  font-size: 11px;
}

/* ============================================================
   09 — TITRES / TEXTES
============================================================ */

.section h2,
.cta-section h2 {
  max-width: 850px;

  margin-top: var(--space-4);

  font-size: clamp(38px, 4vw, 64px);

  line-height: 1.04;

  letter-spacing: -0.025em;
}

.section-copy > p:not(.section-kicker),
.section-intro,
.vision-layout > div > p:not(.section-kicker) {
  margin-top: var(--space-6);

  max-width: 680px;

  font-size: 16px;

  line-height: 1.8;

  opacity: 0.76;
}

.section-heading-row {
  display: grid;

  grid-template-columns: 1.3fr 0.7fr;

  align-items: end;

  gap: var(--space-16);

  margin-bottom: var(--space-16);
}

.text-link {
  display: inline-block;

  margin-top: var(--space-8);

  color: var(--color-gold);

  font-size: 13px;
  font-weight: 700;

  text-transform: uppercase;
}

/* ============================================================
   10 — LAYOUTS
============================================================ */

.split-layout,
.vision-layout {
  display: grid;

  grid-template-columns: 0.95fr 1.05fr;

  align-items: center;

  gap: clamp(48px, 7vw, 110px);
}

/* ============================================================
   11 — IMAGES
============================================================ */

.image-placeholder {
  position: relative;

  display: block;

  overflow: hidden;

  background: linear-gradient(
    135deg,
    rgba(182, 145, 75, 0.06),
    rgba(182, 145, 75, 0.16)
  );
}

.image-placeholder img {
  display: block;

  width: 100%;
  height: 100%;

  object-fit: cover;

  transition: transform 1.1s cubic-bezier(0.22, 1, 0.36, 1);
}

.section-media {
  height: 540px;

  overflow: hidden;
}

.section-media:hover img {
  transform: scale(1.035);
}

.vision-visual {
  height: 540px;

  overflow: hidden;
}

.vision-visual:hover img {
  transform: scale(1.035);
}

/* ============================================================
   12 — ACTIVITÉS
============================================================ */

.activity-grid {
  display: grid;

  grid-template-columns: repeat(3, minmax(0, 1fr));

  gap: var(--space-6);
}

.activity-card {
  position: relative;

  padding: var(--space-6);

  border: 1px solid var(--color-border-dark);

  background: var(--color-dark);

  transition:
    transform var(--transition),
    border-color var(--transition);
}

.activity-card:hover {
  transform: translateY(-6px);

  border-color: rgba(182, 145, 75, 0.6);
}

.activity-image {
  height: 280px;

  margin: calc(var(--space-6) * -1);

  margin-bottom: var(--space-6);
}

.activity-image img {
  transition: transform 1.1s cubic-bezier(0.22, 1, 0.36, 1);
}

.activity-card:hover .activity-image img {
  transform: scale(1.035);
}

.activity-number {
  color: var(--color-gold);

  font-size: 11px;
  font-weight: 700;
}

.activity-card h3 {
  margin-top: var(--space-3);

  font-size: 26px;
}

.activity-card p {
  margin-top: var(--space-4);

  color: var(--color-text-muted);

  font-size: 14px;
}

/* ============================================================
   13 — CHAÎNE DE VALEUR
============================================================ */

.value-chain {
  display: grid;

  grid-template-columns: repeat(4, minmax(0, 1fr));

  margin-top: var(--space-16);

  border-top: 1px solid var(--color-border-dark);
  border-left: 1px solid var(--color-border-dark);

  counter-reset: value-step;
}

.value-chain > div {
  position: relative;

  min-height: 180px;

  padding: 28px 24px;

  display: flex;
  align-items: flex-end;

  border-right: 1px solid var(--color-border-dark);
  border-bottom: 1px solid var(--color-border-dark);

  color: var(--color-white);

  font-family: var(--font-heading);

  font-size: clamp(22px, 2vw, 30px);

  line-height: 1.1;

  counter-increment: value-step;

  transition:
    background-color 0.35s ease,
    transform 0.35s ease,
    border-color 0.35s ease;
}

.value-chain > div::before {
  content: counter(value-step, decimal-leading-zero);

  position: absolute;

  top: 24px;
  left: 24px;

  color: var(--color-gold);

  font-family: var(--font-body);

  font-size: 11px;
  font-weight: 700;

  letter-spacing: 0.12em;
}

.value-chain > div::after {
  content: "";

  position: absolute;

  left: 24px;
  bottom: 24px;

  width: 28px;
  height: 1px;

  background: var(--color-gold);

  transition: width 0.35s ease;
}

.value-chain > div:hover {
  background: rgba(182, 145, 75, 0.08);

  border-color: rgba(182, 145, 75, 0.3);

  transform: translateY(-4px);
}

.value-chain > div:hover::after {
  width: 60px;
}

/* ============================================================
   14 — PROJETS
============================================================ */

.project-grid {
  display: grid;

  grid-template-columns: repeat(3, minmax(0, 1fr));

  gap: var(--space-6);
}

.project-card {
  overflow: hidden;

  border: 1px solid var(--color-border-light);

  background: var(--color-white);

  box-shadow: var(--shadow-sm);

  transition:
    transform var(--transition),
    box-shadow var(--transition);
}

.project-card:hover {
  transform: translateY(-5px);

  box-shadow: var(--shadow-md);
}

.project-image {
  height: 320px;
}

.project-card:hover .project-image img {
  transform: scale(1.035);
}

.project-content {
  padding: var(--space-6);
}

.project-content span {
  color: var(--color-gold);

  font-size: 11px;
  font-weight: 700;

  text-transform: uppercase;
}

.project-content h3 {
  margin-top: var(--space-2);

  font-size: 28px;

  color: var(--color-text);
}

/* ============================================================
   15 — QHSE / RSE
============================================================ */

.stats-grid {
  display: grid;

  grid-template-columns: repeat(4, minmax(0, 1fr));

  gap: var(--space-4);

  margin-top: var(--space-8);
}

.stats-grid div {
  min-height: 180px;

  padding: var(--space-6);

  display: flex;
  flex-direction: column;
  justify-content: space-between;

  border: 1px solid var(--color-border-dark);
}

.stats-grid strong {
  display: block;

  color: var(--color-gold);

  font-family: var(--font-heading);

  font-size: 48px;

  font-weight: 500;
}

.stats-grid span {
  color: var(--color-text-muted);

  font-size: 12px;

  line-height: 1.6;
}

/* ============================================================
   16 — CONTACT
============================================================ */

.contact-section {
  position: relative;

  padding-block: var(--space-30);

  background: linear-gradient(135deg, #111315 0%, #171a1c 55%, #111315 100%);

  color: var(--color-white);

  overflow: hidden;
}

.contact-section::before {
  content: "";

  position: absolute;

  width: 500px;
  height: 500px;

  right: -180px;
  top: -180px;

  border-radius: 50%;

  background: rgba(182, 145, 75, 0.07);

  pointer-events: none;
}

.contact-layout {
  position: relative;

  z-index: 1;

  display: grid;

  grid-template-columns: 0.9fr 1.1fr;

  gap: clamp(50px, 8vw, 120px);

  align-items: start;
}

.contact-intro h2 {
  max-width: 650px;

  margin-top: var(--space-4);

  font-size: clamp(42px, 5vw, 72px);

  line-height: 1.02;

  letter-spacing: -0.03em;
}

.contact-intro > p:not(.section-kicker) {
  max-width: 570px;

  margin-top: var(--space-6);

  color: var(--color-text-muted);

  font-size: 16px;

  line-height: 1.8;
}

.contact-details {
  display: flex;
  flex-direction: column;

  gap: 18px;

  margin-top: 50px;

  padding-top: 30px;

  border-top: 1px solid var(--color-border-dark);
}

.contact-detail {
  display: flex;

  align-items: center;

  gap: 18px;
}

.contact-detail-number {
  width: 42px;
  height: 42px;

  display: grid;

  place-items: center;

  flex: 0 0 auto;

  border: 1px solid rgba(182, 145, 75, 0.5);

  color: var(--color-gold);

  font-size: 11px;

  font-weight: 700;
}

.contact-detail strong {
  display: block;

  margin-bottom: 3px;

  color: var(--color-white);

  font-size: 11px;

  font-weight: 700;

  text-transform: uppercase;

  letter-spacing: 0.08em;
}

.contact-detail a,
.contact-detail p {
  color: var(--color-text-muted);

  font-size: 14px;
}

.contact-detail a {
  transition: color var(--transition);
}

.contact-detail a:hover {
  color: var(--color-gold);
}

/* ============================================================
   17 — FORMULAIRE
============================================================ */

.contact-form-wrapper {
  width: 100%;
}

.contact-form {
  padding: clamp(26px, 4vw, 46px);

  background: #f7f6f2;

  color: var(--color-text);

  border: 1px solid rgba(255, 255, 255, 0.08);

  box-shadow: var(--shadow-lg);
}

.form-header {
  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 20px;

  padding-bottom: 22px;

  margin-bottom: 28px;

  border-bottom: 1px solid var(--color-border-light);

  color: var(--color-text);
}

.form-header span:first-child {
  font-family: var(--font-heading);

  font-size: 28px;
}

.form-header span:last-child {
  color: var(--color-gold);

  font-size: 10px;

  font-weight: 700;

  text-transform: uppercase;

  letter-spacing: 0.12em;
}

.form-grid {
  display: grid;

  grid-template-columns: repeat(2, minmax(0, 1fr));

  gap: 20px;
}

.form-group {
  display: flex;

  flex-direction: column;

  margin-bottom: 20px;
}

.form-group label {
  margin-bottom: 8px;

  color: #343638;

  font-size: 11px;

  font-weight: 700;

  text-transform: uppercase;

  letter-spacing: 0.07em;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;

  border: 1px solid rgba(17, 19, 21, 0.16);

  border-radius: var(--radius-xs);

  background: #ffffff;

  color: var(--color-text);

  font-family: var(--font-body);

  font-size: 14px;

  outline: none;

  transition:
    border-color var(--transition),
    box-shadow var(--transition),
    background-color var(--transition);
}

.form-group input,
.form-group select {
  min-height: 52px;

  padding-inline: 15px;
}

.form-group textarea {
  min-height: 150px;

  padding: 15px;

  resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #999;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--color-gold);

  box-shadow: 0 0 0 3px rgba(182, 145, 75, 0.12);
}

.form-group select {
  cursor: pointer;
}

/* ============================================================
   BOUTON FORMULAIRE
============================================================ */

.form-submit {
  width: 100%;

  margin-top: 4px;

  border: none;

  cursor: pointer;
}

.form-submit:disabled {
  opacity: 0.6;

  cursor: wait;
}

/* ============================================================
   STATUT FORMULAIRE
============================================================ */

.form-status {
  min-height: 24px;

  margin-top: 18px;

  font-size: 13px;

  line-height: 1.5;
}

.form-status.success {
  color: #2f6b42;
}

.form-status.error {
  color: #a33a32;
}

/* ============================================================
   NOTE
============================================================ */

.form-note {
  margin-top: 12px;

  color: #777;

  font-size: 11px;

  line-height: 1.6;
}

/* ============================================================
   ANTI-SPAM
============================================================ */

.form-honeypot {
  position: absolute !important;

  width: 1px !important;
  height: 1px !important;

  padding: 0 !important;

  margin: -1px !important;

  overflow: hidden !important;

  clip: rect(0, 0, 0, 0) !important;

  white-space: nowrap !important;

  border: 0 !important;
}

/* ============================================================
   18 — FOOTER
============================================================ */

.footer {
  padding-top: var(--space-20);

  background: #0c0e0f;

  color: var(--color-text-muted);

  border-top: 1px solid var(--color-border-dark);
}

.footer-grid {
  display: grid;

  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;

  gap: var(--space-12);
}

.footer-grid > div {
  display: flex;

  flex-direction: column;

  align-items: flex-start;

  gap: var(--space-3);
}

.footer-logo {
  width: 92px;
  height: 92px;

  object-fit: contain;

  margin-bottom: var(--space-4);
}

.footer h3 {
  margin-bottom: var(--space-2);

  color: var(--color-white);

  font-family: var(--font-body);

  font-size: 12px;

  font-weight: 700;

  text-transform: uppercase;

  letter-spacing: 0.08em;
}

.footer a,
.footer p {
  font-size: 13px;
}

.footer a:hover {
  color: var(--color-gold);
}

.footer-bottom {
  margin-top: var(--space-16);

  padding-block: var(--space-6);

  border-top: 1px solid var(--color-border-dark);

  font-size: 12px;
}

/* ============================================================
   19 — ANIMATIONS
============================================================ */

.reveal-up,
.reveal-left,
.reveal-right,
.reveal-scale,
.reveal-image {
  opacity: 0;

  transition:
    opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);

  will-change: opacity, transform;
}

.reveal-up {
  transform: translateY(45px);
}

.reveal-left {
  transform: translateX(-50px);
}

.reveal-right {
  transform: translateX(50px);
}

.reveal-scale {
  transform: scale(0.94);
}

.reveal-image {
  transform: scale(1.04);
}

.reveal-up.is-visible,
.reveal-left.is-visible,
.reveal-right.is-visible,
.reveal-scale.is-visible,
.reveal-image.is-visible {
  opacity: 1;

  transform: translate3d(0, 0, 0) scale(1);
}

/* ============================================================
   HERO ANIMATION
============================================================ */

.hero-reveal > * {
  opacity: 0;

  transform: translateY(26px);

  animation: heroEnter 0.85s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.hero-reveal > .hero-kicker {
  animation-delay: 100ms;
}

.hero-reveal > .hero-title {
  animation-delay: 180ms;
}

.hero-reveal > .hero-description {
  animation-delay: 300ms;
}

.hero-reveal > .hero-actions {
  animation-delay: 390ms;
}

.hero-reveal > .hero-values {
  animation-delay: 500ms;
}

@keyframes heroEnter {
  to {
    opacity: 1;

    transform: translateY(0);
  }
}

/* ============================================================
   20 — TABLETTE
============================================================ */

@media (max-width: 1180px) {
  .nav-links {
    gap: 18px;
  }

  .nav-links a {
    font-size: 12px;
  }

  .hero-values {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .activity-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .project-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ============================================================
   21 — TABLETTE / PETIT DESKTOP
============================================================ */

@media (max-width: 900px) {
  .container {
    width: min(calc(100% - 40px), var(--container-width));
  }

  /* NAVBAR */

  .navbar {
    min-height: 86px;
  }

  .navbar.navbar-scrolled {
    min-height: 76px;

    padding-inline: 20px;
  }

  .navbar.navbar-scrolled .logo img {
    width: 64px;
    height: 62px;
  }

  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;

    top: 86px;

    left: 20px;
    right: 20px;

    display: none;

    flex-direction: column;

    align-items: flex-start;

    gap: 0;

    padding: var(--space-6);

    border: 1px solid var(--color-border-dark);

    background: rgba(17, 19, 21, 0.97);

    backdrop-filter: blur(14px);

    -webkit-backdrop-filter: blur(14px);

    box-shadow: var(--shadow-md);
  }

  .navbar.navbar-scrolled .nav-links {
    top: 76px;
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links a {
    display: block;

    width: 100%;

    padding-block: 13px;

    font-size: 13px;
  }

  /* HERO */

  .hero-content {
    min-height: calc(100svh - 86px);
  }

  /* LAYOUTS */

  .section-heading-row,
  .split-layout,
  .vision-layout {
    grid-template-columns: 1fr;
  }

  .section-heading-row {
    gap: var(--space-8);
  }

  /* IMAGES */

  .section-media,
  .vision-visual {
    height: 420px;
  }

  .activity-image {
    height: 260px;
  }

  .project-image {
    height: 300px;
  }

  /* VALUE CHAIN */

  .value-chain {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .value-chain > div {
    min-height: 155px;

    padding: 24px 20px;

    font-size: 24px;
  }

  .value-chain > div::before {
    top: 20px;
    left: 20px;
  }

  .value-chain > div::after {
    left: 20px;
    bottom: 20px;
  }

  /* CONTACT */

  .contact-layout {
    grid-template-columns: 1fr;

    gap: 60px;
  }

  .contact-intro h2 {
    max-width: 700px;
  }

  .contact-intro > p:not(.section-kicker) {
    max-width: 680px;
  }

  .contact-details {
    margin-top: 35px;
  }

  /* FOOTER */

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ============================================================
   22 — MOBILE
============================================================ */

@media (max-width: 640px) {
  .container {
    width: min(calc(100% - 32px), var(--container-width));
  }

  /* NAVBAR */

  .navbar {
    min-height: 78px;
  }

  .navbar.navbar-scrolled {
    min-height: 70px;

    padding-inline: 16px;
  }

  .navbar.navbar-scrolled .logo img {
    width: 58px;
    height: 56px;
  }

  /* MENU */

  .nav-links {
    top: 78px;

    left: 16px;
    right: 16px;
  }

  .navbar.navbar-scrolled .nav-links {
    top: 70px;
  }

  /* HERO */

  .hero {
    background-position: 66% center;
  }

  .hero-content {
    justify-content: flex-end;

    padding-top: 80px;

    padding-bottom: 32px;
  }

  .hero-kicker {
    margin-bottom: var(--space-4);
  }

  .hero-title {
    font-size: clamp(44px, 13vw, 64px);
  }

  .hero-description {
    margin-top: var(--space-5);

    font-size: 15px;
  }

  /* BUTTONS */

  .hero-actions {
    align-items: stretch;

    flex-direction: column;

    width: 100%;

    max-width: 360px;
  }

  .btn {
    width: 100%;
  }

  /* VALUES */

  .hero-values {
    grid-template-columns: 1fr;

    gap: var(--space-4);

    margin-top: var(--space-10);
  }

  .hero-value:nth-child(n + 3) {
    display: none;
  }

  /* SECTIONS */

  .section {
    padding-block: var(--space-20);
  }

  .section h2,
  .cta-section h2 {
    font-size: clamp(36px, 11vw, 52px);
  }

  .section-heading-row {
    margin-bottom: var(--space-10);
  }

  /* IMAGES */

  .section-media,
  .vision-visual {
    height: 300px;
  }

  .activity-image {
    height: 220px;
  }

  .project-image {
    height: 240px;
  }

  /* ACTIVITIES */

  .activity-grid {
    grid-template-columns: 1fr;
  }

  .activity-card {
    padding: var(--space-5);
  }

  .activity-image {
    margin: calc(var(--space-5) * -1);

    margin-bottom: var(--space-5);
  }

  /* VALUE CHAIN */

  .value-chain {
    grid-template-columns: repeat(2, minmax(0, 1fr));

    margin-top: var(--space-10);
  }

  .value-chain > div {
    min-height: 135px;

    padding: 20px 16px;

    font-size: 19px;
  }

  .value-chain > div::before {
    top: 16px;
    left: 16px;
  }

  .value-chain > div::after {
    left: 16px;
    bottom: 16px;

    width: 22px;
  }

  /* PROJECTS */

  .project-grid {
    grid-template-columns: 1fr;
  }

  /* QHSE */

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid div {
    min-height: 150px;
  }

  /* CONTACT */

  .contact-section {
    padding-block: var(--space-20);
  }

  .contact-layout {
    gap: 42px;
  }

  .contact-intro h2 {
    font-size: clamp(38px, 11vw, 52px);
  }

  .contact-intro > p:not(.section-kicker) {
    font-size: 14px;
  }

  .contact-details {
    margin-top: 30px;
  }

  .form-grid {
    grid-template-columns: 1fr;

    gap: 0;
  }

  .contact-form {
    padding: 24px 18px;
  }

  .form-header {
    align-items: flex-start;

    flex-direction: column;

    gap: 8px;
  }

  .form-header span:first-child {
    font-size: 25px;
  }

  .form-group input,
  .form-group select {
    min-height: 50px;
  }

  .form-group textarea {
    min-height: 130px;
  }

  /* FOOTER */

  .footer {
    padding-top: var(--space-16);
  }

  .footer-grid {
    grid-template-columns: 1fr;

    gap: var(--space-10);
  }

  .footer-bottom {
    margin-top: var(--space-10);
  }
}

/* ============================================================
   23 — TRÈS PETITS ÉCRANS
============================================================ */

@media (max-width: 400px) {
  .hero-title {
    font-size: 42px;
  }

  .hero-description {
    font-size: 14px;
  }

  .value-chain > div {
    min-height: 125px;

    padding: 18px 14px;

    font-size: 17px;
  }

  .value-chain > div::before {
    top: 14px;
    left: 14px;
  }

  .value-chain > div::after {
    left: 14px;
    bottom: 14px;
  }
}

/* ============================================================
   24 — ACCESSIBILITÉ
============================================================ */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;

    animation-iteration-count: 1 !important;

    transition-duration: 0.01ms !important;

    scroll-behavior: auto !important;
  }

  .reveal-up,
  .reveal-left,
  .reveal-right,
  .reveal-scale,
  .reveal-image {
    opacity: 1 !important;

    transform: none !important;
  }
}
