/* ==========================================================================
   TECHNO GAZ SOLUTION CI — Feuille de style principale
   Palette : bleu marine (confiance) + orange flamme (énergie)
   ========================================================================== */

:root {
  --navy-900: #081831;
  --navy-800: #0d2547;
  --navy-700: #14325e;
  --navy-600: #1c4278;
  --blue: #3d8bff;
  --blue-dark: #1f6ae0;
  --orange: #f06d0f;
  --orange-light: #ff9d45;
  --amber: #ffb347;
  --bg-light: #f4f7fb;
  --white: #ffffff;
  --text: #33415c;
  --text-soft: #5b6b87;
  --border: #e3e9f2;
  --ok: #1a7f37;
  --warn: #b58900;
  --danger: #d93025;
  --shadow-sm: 0 2px 10px rgba(13, 37, 71, .07);
  --shadow-md: 0 10px 30px rgba(13, 37, 71, .10);
  --shadow-lg: 0 22px 55px rgba(13, 37, 71, .16);
  --radius: 16px;
  --radius-sm: 10px;
  --container: 1180px;
  --font-head: "Montserrat", "Segoe UI", Arial, sans-serif;
  --font-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 96px; }

/* Le menu mobile hors-canvas ne doit pas créer de défilement horizontal. */
html, body { overflow-x: hidden; overflow-x: clip; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--blue-dark); text-decoration: none; }
ul { list-style: none; }

h1, h2, h3, h4 { font-family: var(--font-head); color: var(--navy-800); line-height: 1.22; }

.container { width: min(var(--container), 92%); margin-inline: auto; }

/* ---------- Préloader ---------- */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: grid;
  place-items: center;
  gap: 26px;
  grid-auto-flow: row;
  background: linear-gradient(150deg, var(--navy-900), var(--navy-700));
  transition: opacity .55s ease, visibility .55s ease;
}
.preloader.done { opacity: 0; visibility: hidden; pointer-events: none; }
.preloader-logo { width: 220px; animation: pulse 1.6s ease-in-out infinite; }
.preloader-bar {
  width: 180px; height: 4px;
  border-radius: 4px;
  background: rgba(255, 255, 255, .14);
  overflow: hidden;
}
.preloader-bar span {
  display: block;
  width: 40%; height: 100%;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--orange), var(--amber));
  animation: loading 1.2s ease-in-out infinite;
}
@keyframes pulse { 0%, 100% { transform: scale(1); opacity: .9; } 50% { transform: scale(1.05); opacity: 1; } }
@keyframes loading { 0% { transform: translateX(-120%); } 100% { transform: translateX(360%); } }

/* ---------- Barre de progression de lecture ---------- */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0;
  z-index: 1200;
  background: linear-gradient(90deg, var(--orange), var(--amber));
  transition: width .1s linear;
}

/* ---------- Utilitaires ---------- */
.section { padding: 92px 0; }
.section-alt { background: var(--bg-light); }
.section-dark { background: linear-gradient(150deg, var(--navy-900), var(--navy-700)); }

.section-head { text-align: center; max-width: 760px; margin: 0 auto 52px; }
.section-kicker {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 10px;
}
.section-dark .section-kicker { color: var(--amber); }
.section-title { font-size: clamp(1.55rem, 3.2vw, 2.3rem); font-weight: 800; }
.section-dark .section-title { color: var(--white); }
.section-sub { margin-top: 14px; color: var(--text-soft); }
.section-sub strong { color: var(--orange); }

.text-gradient {
  background: linear-gradient(92deg, var(--amber), var(--orange-light));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .92rem;
  padding: 12px 26px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}
.btn-lg { padding: 15px 34px; font-size: 1rem; }
.btn-block { width: 100%; }
.btn-accent {
  background: linear-gradient(120deg, var(--orange), #ff8a1f);
  color: var(--white);
  box-shadow: 0 8px 22px rgba(240, 109, 15, .35);
}
.btn-accent:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(240, 109, 15, .45); }
.btn-outline { border-color: rgba(255, 255, 255, .55); color: var(--white); }
.btn-outline:hover { background: rgba(255, 255, 255, .12); border-color: var(--white); }
.btn-outline-dark { border-color: var(--navy-800); color: var(--navy-800); }
.btn-outline-dark:hover { background: var(--navy-800); color: var(--white); }
.btn-light { background: var(--white); color: var(--navy-800); }
.btn-light:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }

/* ---------- Barre supérieure ---------- */
.topbar { background: var(--navy-900); color: #c7d4e8; font-size: .82rem; padding: 8px 0; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; }
.topbar-left, .topbar-right { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.topbar a { color: #c7d4e8; display: inline-flex; align-items: center; gap: 7px; transition: color .2s; }
.topbar a:hover { color: var(--amber); }
.topbar svg { width: 15px; height: 15px; fill: var(--orange-light); flex: none; }
.topbar span { display: inline-flex; align-items: center; gap: 7px; }

/* ---------- En-tête ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .25s ease;
}
.header.scrolled { box-shadow: var(--shadow-md); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 10px 0; }

.brand { display: inline-flex; align-items: center; }
.brand-logo { height: 52px; width: auto; }
.brand-light .brand-logo { height: 56px; }

.nav { display: flex; align-items: center; gap: 26px; }
.nav-link {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .9rem;
  color: var(--navy-800);
  position: relative;
  padding: 6px 0;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--orange), var(--amber));
  transition: width .25s ease;
}
.nav-link:hover::after, .nav-link.active::after { width: 100%; }
.nav-link.active { color: var(--orange); }
.nav-cta { padding: 10px 22px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  width: 26px; height: 3px;
  border-radius: 3px;
  background: var(--navy-800);
  transition: transform .3s ease, opacity .3s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: calc(100vh - 118px);
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  padding: 80px 0 110px;
}
.hero-bg { position: absolute; inset: 0; }
.hero-bg img {
  position: absolute; right: 0; bottom: -1%;
  width: calc(90vh - 106px);
  height: auto;
  max-width: none;
  object-fit: contain; object-position: top;
  -webkit-mask-image:
    linear-gradient(to right, transparent 0, rgba(0,0,0,.55) 10%, #000 40%),
    linear-gradient(to top, transparent 0, #000 12%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(to right, transparent 0, rgba(0,0,0,.55) 10%, #000 40%),
    linear-gradient(to top, transparent 0, #000 12%);
  mask-composite: intersect;
}
.hero-overlay {
  position: absolute; inset: 0;
  background:
    radial-gradient(1000px 500px at 85% 10%, rgba(240, 109, 15, .22), transparent 60%),
    linear-gradient(115deg, rgba(8, 24, 49, .96) 30%, rgba(13, 37, 71, .82) 58%, rgba(13, 37, 71, .38) 100%);
}
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: .35;
  animation: floatOrb 9s ease-in-out infinite;
}
.hero-orb-1 { width: 340px; height: 340px; right: -80px; top: 12%; background: var(--orange); }
.hero-orb-2 { width: 280px; height: 280px; left: 6%; bottom: -60px; background: var(--blue); animation-delay: -4.5s; }
@keyframes floatOrb { 0%, 100% { transform: translateY(0) } 50% { transform: translateY(-34px) } }

.hero-content { position: relative; z-index: 2; max-width: 860px; }
.hero-kicker {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .82rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--amber);
  border: 1px solid rgba(255, 179, 71, .45);
  background: rgba(255, 179, 71, .08);
  padding: 7px 16px;
  border-radius: 999px;
  margin-bottom: 22px;
}
.hero h1 {
  color: var(--white);
  font-size: clamp(2.3rem, 5.4vw, 4rem);
  font-weight: 900;
  margin-bottom: 20px;
}
.hero-lead { font-size: clamp(1rem, 1.6vw, 1.15rem); color: #ccd9ec; max-width: 660px; margin-bottom: 34px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* Apparition en cascade au chargement */
.hero-anim { opacity: 0; transform: translateY(26px); animation: heroIn .8s cubic-bezier(.2, .7, .3, 1) forwards; animation-delay: var(--d, 0s); }
@keyframes heroIn { to { opacity: 1; transform: none; } }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 60px;
  padding-top: 34px;
  border-top: 1px solid rgba(255, 255, 255, .16);
  max-width: 760px;
}
.stat { display: flex; flex-direction: column; }
.stat-row { display: flex; align-items: baseline; }
.stat-num, .stat-plus {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 2rem;
  color: var(--amber);
}
.stat p { font-size: .82rem; color: #aebfd8; margin-top: 4px; }

.hero-scroll {
  position: absolute;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  z-index: 2;
  width: 42px; height: 42px;
  display: grid; place-items: center;
  font-size: 1.5rem;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, .4);
  border-radius: 50%;
  animation: bounce 2.2s infinite;
}
.hero-scroll:hover { background: rgba(255, 255, 255, .12); }
@keyframes bounce {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 9px); }
}

/* ---------- Bandeau défilant ---------- */
.marquee {
  background: var(--navy-900);
  border-block: 1px solid rgba(255, 255, 255, .08);
  overflow: hidden;
  padding: 13px 0;
}
.marquee-track {
  display: flex;
  align-items: center;
  gap: 34px;
  width: max-content;
  animation: marquee 30s linear infinite;
}
.marquee-track span {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .82rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #9fb2cd;
  white-space: nowrap;
}
.marquee-track i { color: var(--orange); font-style: normal; font-size: .7rem; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- À propos ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 60px; align-items: center; }
.about-media { position: relative; }
.about-media img { border-radius: var(--radius); box-shadow: var(--shadow-lg); aspect-ratio: 16 / 10; object-fit: cover; }

.about-mosaic { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.about-mosaic img { aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--radius-sm); box-shadow: var(--shadow-md); }

.about-body .section-title { margin-bottom: 16px; }
.about-body > p { color: var(--text-soft); margin-bottom: 26px; }

.vm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.vm-card {
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 22px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.vm-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(240, 109, 15, .35); }
.vm-icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(240, 109, 15, .14), rgba(255, 179, 71, .18));
  margin-bottom: 14px;
}
.vm-icon svg { width: 26px; height: 26px; fill: var(--orange); }
.vm-card h3 { font-size: 1.02rem; margin-bottom: 6px; }
.vm-card p { font-size: .88rem; color: var(--text-soft); }

.values-title {
  font-size: 1.25rem;
  font-weight: 800;
  text-align: center;
  margin: 70px 0 34px;
  position: relative;
}
.values-title::after {
  content: "";
  display: block;
  width: 64px; height: 4px;
  border-radius: 4px;
  margin: 12px auto 0;
  background: linear-gradient(90deg, var(--orange), var(--amber));
}
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.value-card {
  text-align: center;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 22px;
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease;
}
.value-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.value-icon {
  width: 62px; height: 62px;
  margin: 0 auto 16px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--navy-800), var(--navy-600));
  box-shadow: 0 8px 18px rgba(13, 37, 71, .28);
}
.value-icon svg { width: 30px; height: 30px; fill: var(--amber); }
.value-card h4 { font-size: 1rem; margin-bottom: 6px; }
.value-card p { font-size: .85rem; color: var(--text-soft); }

/* ---------- Secteurs ---------- */
.sectors-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.sector-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  min-height: 420px;
  display: flex;
  align-items: flex-end;
  transition: transform .3s ease, box-shadow .3s ease;
}
.sector-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.sector-card img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .55s ease;
}
.sector-card:hover img { transform: scale(1.07); }
.sector-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 24, 49, .05) 35%, rgba(8, 24, 49, .88) 82%);
}
.sector-body { position: relative; z-index: 2; padding: 28px; color: var(--white); }
.sector-tag {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: .8rem;
  color: var(--navy-900);
  background: linear-gradient(120deg, var(--amber), var(--orange-light));
  padding: 4px 12px;
  border-radius: 999px;
  display: inline-block;
  margin-bottom: 12px;
}
.sector-body h3 { color: var(--white); font-size: 1.2rem; margin-bottom: 6px; }
.sector-body p { font-size: .9rem; color: #ccd9ec; }

/* ---------- Cartes solutions (cliquables) ---------- */
.solutions-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.sol-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.sol-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  border: 2px solid transparent;
  transition: border-color .25s ease;
  pointer-events: none;
}
.sol-card:hover, .sol-card:focus-visible {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(240, 109, 15, .35);
  outline: none;
}
.sol-card:hover::after, .sol-card:focus-visible::after { border-color: rgba(240, 109, 15, .55); }
.sol-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.sol-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.sol-card:hover .sol-media img { transform: scale(1.08); }
.sol-num {
  position: absolute;
  left: 16px; bottom: -20px;
  z-index: 2;
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 1.5rem;
  color: var(--navy-900);
  background: linear-gradient(120deg, var(--amber), var(--orange-light));
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 13px;
  box-shadow: var(--shadow-md);
}
.sol-body { padding: 32px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.sol-body h3 { font-size: 1.08rem; margin-bottom: 8px; }
.sol-body p { font-size: .88rem; color: var(--text-soft); flex: 1; }
.sol-more {
  margin-top: 16px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .85rem;
  color: var(--orange);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.sol-more b { transition: transform .25s ease; font-weight: 800; }
.sol-card:hover .sol-more b, .sol-card:focus-visible .sol-more b { transform: translateX(6px); }

/* ---------- Pourquoi nous ---------- */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.why-card {
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: background .25s ease, transform .25s ease, border-color .25s ease;
}
.why-card:hover { background: rgba(255, 255, 255, .09); transform: translateY(-5px); border-color: rgba(255, 179, 71, .45); }
.why-card-wide { grid-column: span 3; display: flex; align-items: center; gap: 26px; }
.why-card-wide p { margin: 0; }
.why-num {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 2.6rem;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.6px rgba(255, 179, 71, .7);
  display: block;
  margin-bottom: 16px;
}
.why-card-wide .why-num { margin: 0; flex: none; }
.why-card h3 { color: var(--white); font-size: 1.08rem; margin-bottom: 8px; }
.why-card p { color: #b9c7dd; font-size: .9rem; }

/* ---------- Organisation ---------- */
.org { max-width: 980px; margin: 0 auto; }
.org-dg {
  display: flex;
  align-items: center;
  gap: 24px;
  background: linear-gradient(135deg, var(--navy-800), var(--navy-600));
  color: var(--white);
  border-radius: var(--radius);
  padding: 30px 34px;
  box-shadow: var(--shadow-lg);
  max-width: 640px;
  margin: 0 auto;
}
.org-avatar {
  width: 84px; height: 84px;
  flex: none;
  border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 1.7rem;
  color: var(--navy-900);
  background: linear-gradient(135deg, var(--amber), var(--orange-light));
  border: 4px solid rgba(255, 255, 255, .25);
}
.org-role {
  font-family: var(--font-head);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 4px;
}
.org-dg h3 { color: var(--white); font-size: 1.3rem; margin-bottom: 4px; }
.org-sub { font-size: .88rem; color: #b9c7dd; }
.org-connector {
  width: 3px; height: 46px;
  margin: 0 auto;
  background: linear-gradient(180deg, var(--navy-600), var(--orange));
  border-radius: 3px;
}
.org-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.org-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 4px solid var(--orange);
  border-radius: var(--radius-sm);
  padding: 24px 20px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease;
}
.org-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.org-card h4 { font-size: .98rem; margin-bottom: 6px; }
.org-card p { font-size: .83rem; color: var(--text-soft); }

/* ---------- Bandeau CTA ---------- */
.cta-banner {
  background:
    radial-gradient(700px 300px at 12% 20%, rgba(255, 179, 71, .25), transparent 60%),
    linear-gradient(120deg, var(--orange), #ff8a1f);
  color: var(--white);
  padding: 66px 0;
}
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 36px; flex-wrap: wrap; }
.cta-inner h2 { color: var(--white); font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin-bottom: 8px; }
.cta-inner p { color: rgba(255, 255, 255, .92); max-width: 560px; }
.cta-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 44px; align-items: start; }
.contact-cards { display: grid; gap: 18px; }
.contact-card {
  display: flex;
  gap: 18px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 20px 22px;
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease;
}
.contact-card:hover { transform: translateX(5px); box-shadow: var(--shadow-md); }
.contact-icon {
  width: 50px; height: 50px;
  flex: none;
  border-radius: 13px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(13, 37, 71, .08), rgba(61, 139, 255, .12));
}
.contact-icon svg { width: 26px; height: 26px; fill: var(--navy-700); }
.contact-card h4 { font-size: .95rem; margin-bottom: 4px; }
.contact-card p { font-size: .88rem; color: var(--text-soft); }
.contact-card h4.mt { margin-top: 12px; }
.contact-card a:hover { color: var(--orange); }

.contact-form-wrap {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow-md);
}
.contact-form-wrap h3 { font-size: 1.25rem; margin-bottom: 22px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-field { margin-bottom: 16px; }
.form-field label {
  display: block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .82rem;
  color: var(--navy-800);
  margin-bottom: 6px;
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: .92rem;
  color: var(--text);
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  background: var(--white);
  border-color: var(--orange);
  box-shadow: 0 0 0 4px rgba(240, 109, 15, .14);
}
.form-field textarea { resize: vertical; min-height: 120px; }
.form-field.invalid input, .form-field.invalid textarea { border-color: var(--danger); box-shadow: 0 0 0 4px rgba(217, 48, 37, .12); }
.form-note { margin-top: 14px; font-size: .88rem; text-align: center; min-height: 1.2em; }
.form-note.ok { color: var(--ok); }
.form-note.err { color: var(--danger); }

/* ---------- Pied de page ---------- */
.footer { background: var(--navy-900); color: #aebfd8; padding: 66px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1.2fr 1.2fr; gap: 40px; padding-bottom: 46px; }
.footer-brand p { font-size: .9rem; margin-top: 18px; max-width: 300px; }
.footer-col h4 {
  color: var(--white);
  font-size: .95rem;
  margin-bottom: 18px;
  position: relative;
  padding-bottom: 10px;
}
.footer-col h4::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 34px; height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--orange), var(--amber));
}
.footer-col ul { display: grid; gap: 10px; }
.footer-col a { color: #aebfd8; font-size: .9rem; transition: color .2s ease, padding-left .2s ease; }
.footer-col a:hover { color: var(--amber); padding-left: 5px; }
.footer-col li { font-size: .9rem; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding: 20px 0; font-size: .82rem; }
.footer-bottom .container { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* ---------- Modal fiche domaine ---------- */
.modal { position: fixed; inset: 0; z-index: 1500; display: grid; place-items: center; padding: 22px; }
.modal[hidden] { display: none; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(8, 24, 49, .72); backdrop-filter: blur(4px); animation: fadeIn .3s ease; }
.modal-dialog {
  position: relative;
  width: min(980px, 100%);
  max-height: min(92vh, 100%);
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  box-shadow: var(--shadow-lg);
  animation: modalIn .38s cubic-bezier(.2, .7, .3, 1);
}
@keyframes modalIn { from { opacity: 0; transform: translateY(34px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.modal-close {
  position: absolute;
  top: 14px; right: 14px;
  z-index: 10;
  width: 42px; height: 42px;
  border: 0;
  border-radius: 50%;
  background: rgba(8, 24, 49, .55);
  color: var(--white);
  font-size: 1.05rem;
  cursor: pointer;
  display: grid; place-items: center;
  transition: background .2s ease, transform .2s ease;
}
.modal-close:hover { background: var(--orange); transform: rotate(90deg); }

.modal-scroll { overflow-y: auto; width: 100%; }
.modal-hero { position: relative; aspect-ratio: 21 / 8; min-height: 220px; }
.modal-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.modal-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(8, 24, 49, .15), rgba(8, 24, 49, .85));
}
.modal-hero-text { position: absolute; left: 34px; right: 34px; bottom: 24px; color: var(--white); }
.modal-num {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: .8rem;
  letter-spacing: .16em;
  color: var(--navy-900);
  background: linear-gradient(120deg, var(--amber), var(--orange-light));
  padding: 4px 12px;
  border-radius: 999px;
  display: inline-block;
  margin-bottom: 10px;
}
.modal-hero-text h2 { color: var(--white); font-size: clamp(1.4rem, 3vw, 2.1rem); }
.modal-tagline { color: #ccd9ec; font-size: .95rem; margin-top: 4px; }

.modal-content { padding: 34px 34px 40px; }
.modal-content > div > p { color: var(--text-soft); margin-bottom: 12px; }
.modal-cols { display: grid; grid-template-columns: 1.2fr 1fr; gap: 26px; margin: 26px 0; }
.modal-block h3 { font-size: 1.02rem; margin-bottom: 14px; display: flex; align-items: center; gap: 8px; }
.modal-block h3::before {
  content: "";
  width: 4px; height: 20px;
  border-radius: 4px;
  background: linear-gradient(180deg, var(--orange), var(--amber));
}
.modal-list li {
  position: relative;
  padding: 7px 0 7px 30px;
  font-size: .9rem;
  color: var(--text);
  border-bottom: 1px dashed var(--border);
}
.modal-list li::before {
  content: "✓";
  position: absolute;
  left: 0; top: 7px;
  width: 20px; height: 20px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(26, 127, 55, .12);
  color: var(--ok);
  font-size: .72rem;
  font-weight: 700;
}
.modal-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.modal-chips span {
  font-size: .78rem;
  font-weight: 600;
  color: var(--navy-700);
  background: rgba(61, 139, 255, .1);
  border: 1px solid rgba(61, 139, 255, .25);
  padding: 5px 12px;
  border-radius: 999px;
}

/* ---------- Simulateur ---------- */
.modal-sim {
  background: linear-gradient(150deg, var(--navy-900), var(--navy-700));
  border-radius: var(--radius);
  padding: 26px;
  color: var(--white);
}
.modal-sim-head { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }
.modal-sim-icon {
  width: 48px; height: 48px;
  flex: none;
  border-radius: 13px;
  display: grid; place-items: center;
  font-size: 1.3rem;
  background: linear-gradient(135deg, var(--orange), #ff8a1f);
  box-shadow: 0 8px 18px rgba(240, 109, 15, .4);
}
.modal-sim-head h3 { color: var(--white); font-size: 1.05rem; }
.modal-sim-head p { font-size: .8rem; color: #9fb2cd; }
.modal-sim-note { margin-top: 14px; font-size: .74rem; color: #7f93b3; font-style: italic; }

.sim-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.sim-field label {
  display: block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .78rem;
  color: #c7d4e8;
  margin-bottom: 6px;
}
.sim-field input[type="number"], .sim-field select {
  width: 100%;
  font-family: var(--font-body);
  font-size: .95rem;
  color: var(--white);
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  transition: border-color .2s ease, background .2s ease;
}
.sim-field input[type="number"]:focus, .sim-field select:focus {
  outline: none;
  border-color: var(--amber);
  background: rgba(255, 255, 255, .13);
}
.sim-field select option { color: var(--text); }
.sim-field input[type="range"] { width: 100%; accent-color: var(--orange); cursor: pointer; }
.sim-field .range-val { font-family: var(--font-head); font-weight: 800; color: var(--amber); }

.sim-results { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 18px; }
.sim-result {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius-sm);
  padding: 14px;
  text-align: center;
  animation: simPop .35s ease;
}
@keyframes simPop { from { opacity: 0; transform: scale(.94); } to { opacity: 1; transform: none; } }
.sim-result b {
  display: block;
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 1.35rem;
  color: var(--amber);
  line-height: 1.2;
}
.sim-result span { font-size: .74rem; color: #9fb2cd; }
.sim-verdict {
  margin-top: 14px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: .88rem;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.sim-verdict.ok { background: rgba(26, 127, 55, .18); border: 1px solid rgba(26, 127, 55, .45); color: #b5e6c3; }
.sim-verdict.warn { background: rgba(181, 137, 0, .16); border: 1px solid rgba(255, 179, 71, .5); color: #ffe4b0; }
.sim-verdict.bad { background: rgba(217, 48, 37, .16); border: 1px solid rgba(217, 48, 37, .5); color: #ffc9c4; }

/* Score barre (audit) */
.sim-score { margin-top: 18px; }
.sim-score-head { display: flex; justify-content: space-between; font-size: .8rem; color: #c7d4e8; margin-bottom: 6px; }
.sim-score-track { height: 10px; border-radius: 6px; background: rgba(255, 255, 255, .12); overflow: hidden; }
.sim-score-fill {
  height: 100%;
  width: 0;
  border-radius: 6px;
  background: linear-gradient(90deg, var(--danger), var(--amber), var(--ok));
  transition: width .7s cubic-bezier(.2, .7, .3, 1);
}

/* Interrupteurs (audit / SCADA) */
.sim-toggles { display: grid; gap: 10px; margin-top: 6px; }
.sim-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: .86rem;
  color: #dce6f4;
  cursor: pointer;
  user-select: none;
}
.sim-toggle input { position: absolute; opacity: 0; pointer-events: none; }
.sim-toggle .switch {
  flex: none;
  width: 44px; height: 24px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .18);
  position: relative;
  transition: background .25s ease;
}
.sim-toggle .switch::after {
  content: "";
  position: absolute;
  top: 3px; left: 3px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--white);
  transition: transform .25s ease;
}
.sim-toggle input:checked + .switch { background: var(--ok); }
.sim-toggle input:checked + .switch::after { transform: translateX(20px); }

/* Démo SCADA */
.scada { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.scada-panel {
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius-sm);
  padding: 16px;
}
.scada-panel h4 { color: var(--amber); font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 12px; }
.scada-row { display: flex; align-items: center; justify-content: space-between; padding: 8px 0; font-size: .88rem; color: #dce6f4; }
.scada-led {
  width: 14px; height: 14px;
  border-radius: 50%;
  background: #55677f;
  display: inline-block;
  margin-right: 8px;
  vertical-align: -1px;
  transition: background .2s, box-shadow .2s;
}
.scada-led.on { background: var(--ok); box-shadow: 0 0 10px rgba(26, 127, 55, .8); }
.scada-led.off { background: #55677f; }
.scada-led.alarm { background: var(--danger); box-shadow: 0 0 10px rgba(217, 48, 37, .9); animation: ledBlink .7s infinite; }
@keyframes ledBlink { 50% { opacity: .35; } }
.scada-gauge { margin: 8px 0 4px; }
.scada-log {
  grid-column: span 2;
  background: rgba(0, 0, 0, .35);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-family: Consolas, "Courier New", monospace;
  font-size: .78rem;
  color: #9fe3b2;
  max-height: 130px;
  overflow-y: auto;
}
.scada-log div { padding: 2px 0; border-bottom: 1px dashed rgba(255, 255, 255, .06); }
.scada-log .log-warn { color: var(--amber); }
.scada-log .log-err { color: #ff9d92; }

.modal-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 26px; }

/* ---------- Vitrine produit : REMOTE CONTROLLER BOX ---------- */
.prod-hero {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 48px;
  align-items: center;
  background: linear-gradient(150deg, var(--navy-900), var(--navy-700));
  border-radius: var(--radius);
  padding: 46px;
  color: var(--white);
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}
.prod-hero::before {
  content: "";
  position: absolute;
  right: -120px; top: -120px;
  width: 340px; height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(240, 109, 15, .25), transparent 65%);
}
.prod-kicker {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 12px;
}
.prod-name {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(1.2rem, 2.2vw, 1.6rem);
  color: var(--amber);
  margin-bottom: 14px;
}
.prod-name span {
  display: block;
  font-size: .78rem;
  font-weight: 600;
  color: #9fb2cd;
  letter-spacing: .06em;
  margin-top: 4px;
}
.prod-pitch { color: #dce6f4; font-size: .98rem; margin-bottom: 20px; }
.prod-pitch strong { color: var(--amber); }
.prod-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.prod-chips span {
  font-size: .74rem;
  font-weight: 700;
  color: #dce6f4;
  border: 1px solid rgba(255, 255, 255, .22);
  background: rgba(255, 255, 255, .07);
  border-radius: 999px;
  padding: 5px 12px;
}
.prod-note { margin-top: 14px; font-size: .8rem; color: #9fb2cd; }
.prod-note b { color: var(--amber); font-family: Consolas, monospace; }
.prod-media { position: relative; }
.prod-media img {
  border-radius: var(--radius-sm);
  box-shadow: 0 24px 50px rgba(0, 0, 0, .45);
  border: 1px solid rgba(255, 255, 255, .14);
}
.prod-badge {
  position: absolute;
  font-family: var(--font-head);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .05em;
  color: var(--white);
  background: linear-gradient(120deg, var(--orange), #ff8a1f);
  border-radius: 999px;
  padding: 7px 15px;
  box-shadow: var(--shadow-md);
}
/* badges HORS de l'image : le bleu au-dessus, l'orange en dessous */
.prod-badge-1 { left: 10px; bottom: -18px; }
.prod-badge-2 { right: 10px; top: -18px; background: linear-gradient(120deg, var(--navy-600), var(--blue-dark)); border: 1px solid rgba(255,255,255,.25); }
.prod-media { padding: 20px 0; }

.prod-sub-title {
  font-size: 1.3rem;
  font-weight: 800;
  margin: 58px 0 26px;
  position: relative;
}
.prod-sub-title::after {
  content: "";
  display: block;
  width: 54px; height: 4px;
  border-radius: 4px;
  margin-top: 10px;
  background: linear-gradient(90deg, var(--orange), var(--amber));
}

/* modules surveillés */
.modu-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.modu-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}
.modu-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: rgba(240, 109, 15, .35); }
.modu-media { aspect-ratio: 16 / 9; overflow: hidden; }
.modu-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.modu-card:hover .modu-media img { transform: scale(1.06); }
.modu-body { padding: 24px 26px 26px; }
.modu-body h4 { font-size: 1.08rem; margin-bottom: 8px; }
.modu-body p { font-size: .9rem; color: var(--text-soft); margin-bottom: 12px; }
.modu-body ul { display: grid; gap: 6px; }
.modu-body li {
  position: relative;
  padding-left: 24px;
  font-size: .86rem;
  color: var(--text);
}
.modu-body li::before {
  content: "▸";
  position: absolute;
  left: 2px;
  color: var(--orange);
  font-weight: 800;
}

/* fonctionnement */
.fnx-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.fnx-card {
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 26px;
  transition: transform .25s ease, box-shadow .25s ease;
}
.fnx-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.fnx-icon {
  width: 58px; height: 58px;
  border-radius: 15px;
  display: grid; place-items: center;
  font-size: 1.6rem;
  background: linear-gradient(135deg, var(--navy-800), var(--navy-600));
  margin-bottom: 16px;
}
.fnx-card h4 { font-size: 1.02rem; margin-bottom: 8px; }
.fnx-card p { font-size: .88rem; color: var(--text-soft); }

/* caractéristiques */
.spec-table {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.spec-row {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 18px;
  padding: 13px 24px;
  border-bottom: 1px solid var(--border);
  font-size: .9rem;
}
.spec-row:last-child { border-bottom: none; }
.spec-row:nth-child(odd) { background: var(--bg-light); }
.spec-row span {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--navy-800);
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  padding-top: 2px;
}
.spec-row b { color: var(--text); font-weight: 600; }

/* galerie HMI */
.hmi-gallery { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.hmi-shot {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease;
}
.hmi-shot:hover { transform: translateY(-5px) scale(1.02); box-shadow: var(--shadow-md); }
.hmi-shot img { width: 100%; aspect-ratio: 5 / 3; object-fit: cover; display: block; }
.hmi-shot figcaption {
  font-size: .74rem;
  font-weight: 600;
  color: var(--text-soft);
  text-align: center;
  padding: 8px 6px;
}


/* vidéos de présentation */
.video-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.video-card {
  background: var(--navy-900);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(255, 255, 255, .08);
}
.video-card video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #04121f;
  object-fit: contain;
}
.video-card figcaption {
  font-size: .82rem;
  font-weight: 600;
  color: #c7d4e8;
  padding: 12px 16px;
  text-align: center;
}

/* bandeau simulation */
.sim-banner {
  margin-top: 58px;
  background:
    radial-gradient(600px 280px at 10% 15%, rgba(255, 179, 71, .28), transparent 60%),
    linear-gradient(120deg, var(--orange), #ff8a1f);
  border-radius: var(--radius);
  padding: 40px 44px;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
  box-shadow: var(--shadow-md);
}
.sim-banner h3 { color: var(--white); font-size: clamp(1.2rem, 2.2vw, 1.6rem); margin-bottom: 8px; }
.sim-banner p { color: rgba(255, 255, 255, .94); max-width: 560px; font-size: .93rem; }
.sim-banner-cta { display: grid; gap: 10px; justify-items: center; }
.sim-banner-cta span { font-size: .82rem; color: rgba(255, 255, 255, .95); }
.sim-banner-cta b { font-family: Consolas, monospace; background: rgba(0, 0, 0, .22); padding: 1px 8px; border-radius: 6px; }
.sim-banner .btn-accent { background: var(--white); color: var(--orange); box-shadow: 0 8px 22px rgba(0, 0, 0, .25); }
.sim-banner .btn-accent:hover { transform: translateY(-2px); background: #fff; }

/* ---------- Boutons flottants ---------- */
.float-btn {
  position: fixed;
  right: 22px;
  z-index: 90;
  width: 54px; height: 54px;
  border-radius: 50%;
  display: grid; place-items: center;
  box-shadow: var(--shadow-md);
  transition: transform .22s ease, box-shadow .22s ease, opacity .3s ease;
}
.float-btn:hover { transform: translateY(-4px) scale(1.05); }
.float-btn.whatsapp { bottom: 22px; background: #25d366; }
.float-btn.whatsapp svg { width: 30px; height: 30px; fill: var(--white); }
.float-btn.to-top {
  bottom: 88px;
  background: var(--navy-800);
  color: var(--white);
  font-size: 1.3rem;
  border: 0;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
}
.float-btn.to-top.visible { opacity: 1; pointer-events: auto; }

/* ---------- Animations d'apparition ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .hero-anim { opacity: 1; transform: none; transition: none; animation: none; }
  .hero-scroll, .hero-orb, .marquee-track, .preloader-logo, .preloader-bar span { animation: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .org-grid { grid-template-columns: repeat(2, 1fr); }
  .solutions-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hmi-gallery { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 920px) {
  .nav-toggle { display: flex; }
  .nav {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: min(340px, 84vw);
    background: var(--navy-900);
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 8px;
    padding: 96px 30px 30px;
    transform: translateX(100%);
    transition: transform .35s ease;
    box-shadow: -18px 0 45px rgba(8, 24, 49, .35);
  }
  .nav.open { transform: translateX(0); }
  .nav-link { color: var(--white); font-size: 1.05rem; width: 100%; padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, .08); }
  .nav-link::after { display: none; }
  .nav-link.active { color: var(--amber); }
  .nav-cta { margin-top: 18px; }
  .nav-toggle { position: relative; z-index: 110; }
  .nav-toggle span { background: var(--navy-800); }
  .nav-toggle.open span { background: var(--white); }

  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .sectors-grid { grid-template-columns: 1fr; }
  .sector-card { min-height: 340px; }
  .contact-grid { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .modal-cols { grid-template-columns: 1fr; }
  .modal-hero-text { left: 22px; right: 22px; }
  .modal-content { padding: 26px 22px 32px; }
  .prod-hero { grid-template-columns: 1fr; padding: 32px 26px; gap: 34px; }
  .modu-grid { grid-template-columns: 1fr; }
  .fnx-grid { grid-template-columns: 1fr; }
  .hmi-gallery { grid-template-columns: repeat(2, 1fr); }
  .sim-banner { padding: 30px 26px; }
  .video-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .hero-bg img { max-width: 86%; opacity: .34; -webkit-mask-image: none; mask-image: none; }
  .section { padding: 64px 0; }
  .topbar-right { display: none; }
  .vm-grid, .form-row, .solutions-grid, .org-grid { grid-template-columns: 1fr; }
  .sim-grid { grid-template-columns: 1fr; }
  .sim-results { grid-template-columns: 1fr 1fr; }
  .scada { grid-template-columns: 1fr; }
  .scada-log { grid-column: span 1; }
  .why-grid { grid-template-columns: 1fr; }
  .why-card-wide { grid-column: span 1; flex-direction: column; align-items: flex-start; }
  .values-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero { padding: 60px 0 96px; }
  .hero-stats { margin-top: 42px; }
  .stat-num, .stat-plus { font-size: 1.6rem; }
  .org-dg { flex-direction: column; text-align: center; }
  .contact-form-wrap { padding: 26px 20px; }
  .footer-bottom .container { justify-content: center; text-align: center; }
  .brand-logo { height: 44px; }
  .brand-light .brand-logo { height: 48px; }
  .modal { padding: 10px; }
  .modal-hero { min-height: 170px; }
  .spec-row { grid-template-columns: 1fr; gap: 4px; padding: 12px 18px; }
  .hmi-gallery { grid-template-columns: 1fr 1fr; }
  .prod-badge-1 { left: 6px; bottom: -16px; }
  .prod-badge-2 { right: 6px; top: -16px; }
  .prod-media { padding: 18px 0; }
  .prod-sub-title { margin-top: 44px; }
}

/* vidéo unique : centrée, largeur maîtrisée */
.video-grid-one { grid-template-columns: minmax(0, 860px); justify-content: center; }
