﻿/* ============================================================
   KEYENCE Hub Commercial  Design System Premium 2026
   Navigation top-header, multi-pages, fond clair, accents rouge
   ============================================================ */

/* ============================================================
   1. VARIABLES & RESET
   ============================================================ */
:root {
  --red:          #e50012;
  --red-dark:     #c10010;
  --red-glow:     rgba(229,0,18,.16);
  --red-soft:     rgba(229,0,18,.06);
  --red-border:   rgba(229,0,18,.18);

  --app-bg:       #f6f7fb;
  --surface:      #ffffff;
  --surface-2:    #f9fafc;
  --surface-3:    #f1f2f6;

  --tx:           #0f1524;
  --mu:           #5f6c80;
  --inv:          rgba(255,255,255,.96);
  --inv-mu:       rgba(255,255,255,.55);

  --border:       rgba(7,13,26,.06);
  --border2:      rgba(7,13,26,.04);

  --sh-sm:        0 6px 20px rgba(15,21,36,.06);
  --sh:           0 12px 30px rgba(15,21,36,.08);
  --sh-lg:        0 18px 46px rgba(15,21,36,.12);
  --sh-xl:        0 30px 70px rgba(15,21,36,.16);
  --sh-red:       0 14px 30px rgba(229,0,18,.20);

  --r:            18px;
  --r-sm:         12px;
  --r-lg:         26px;

  --ease:         cubic-bezier(.32,.08,.24,1);
  --t:            .2s var(--ease);
  --t-fast:       .14s var(--ease);

  --focus:        0 0 0 3px rgba(229,0,18,.22);

  --hdr-h:        52px;
  --max:          1320px;

  /* Legacy aliases */
  --k-red:        #e50012;
  --k-red-dim:    rgba(229,0,18,.08);
  --k-dark:       #0f1524;
  --k-dark-2:     #0f1524;
  --k-light:      #f9fafc;
  --k-light-2:    #f1f2f6;
  --k-text:       #0f1524;
  --k-muted:      #5f6c80;
  --k-white:      #ffffff;
  --radius:       18px;
  --radius-sm:    12px;
  --shadow:       var(--sh);
  --shadow-lg:    var(--sh-lg);
  --shadow-xl:    var(--sh-xl);
}

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

html { scroll-behavior: smooth; font-size: 15px; }

body {
  font-family: "SF Pro Display", "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  color: var(--tx);
  background: linear-gradient(180deg, #fbfcfe 0%, #f6f7fb 100%);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}



/* ============================================================
   2. TOP HEADER
   ============================================================ */
.main-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--hdr-h);
  background: rgba(255,255,255,.97);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1.5px solid var(--border);
  z-index: 1000;
  box-shadow: 0 2px 14px rgba(0,0,0,.06);
}

.header-container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 36px 0 140px; /* +140px à gauche pour le bouton Accueil flottant */
  height: 100%;
  display: flex;
  align-items: center;
  gap: 0;
}

.logo {
  flex-shrink: 0;
  margin-right: 36px;
  display: flex;
  align-items: center;
}

.logo-img {
  height: 28px;
  display: block;
}

/* NAV LINKS */
.main-nav {
  display: flex;
  align-items: center;
  gap: 3px;
  flex: 1;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 9px 14px;
  border-radius: 10px;
  text-decoration: none;
  color: var(--mu);
  font-size: 13.5px;
  font-weight: 600;
  transition: var(--t);
  white-space: nowrap;
}

.nav-link:hover {
  background: var(--surface-2);
  color: var(--tx);
}

.nav-link.active {
  background: var(--red-soft);
  color: var(--red);
  font-weight: 800;
}

/* Bouton retour au Metro Training Center - flottant */
.nav-back-home {
  position: fixed;
  top: 14px;
  left: 14px;
  z-index: 1100;
  background: #fff;
  border: 1.5px solid var(--border);
  color: var(--mu);
  padding: 9px 16px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  font-size: 13.5px;
  box-shadow: 0 2px 8px rgba(0,0,0,.08);
  transition: var(--t);
}
.nav-back-home:hover {
  background: var(--surface-2);
  border-color: var(--red);
  color: var(--red);
  transform: translateX(-2px);
}

.nav-pill {
  font-size: 10px;
  font-weight: 900;
  padding: 2px 7px;
  border-radius: 50px;
  background: var(--red);
  color: #fff;
  margin-left: 2px;
}

/* HEADER ACTIONS */
.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 16px;
  flex-shrink: 0;
}



.btn-header-red {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 9px 20px;
  border-radius: 10px;
  background: var(--red);
  color: #fff;
  font: inherit;
  font-size: 13.5px;
  font-weight: 800;
  text-decoration: none;
  transition: var(--t);
  box-shadow: 0 4px 16px rgba(229,0,18,.30);
  white-space: nowrap;
  border: none;
  cursor: pointer;
}

.btn-header-red:hover {
  filter: brightness(1.08);
  box-shadow: 0 6px 22px rgba(229,0,18,.46);
  transform: translateY(-2px);
}

/* MOBILE TOGGLE */
.mobile-toggle {
  display: none;
  margin-left: 12px;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1.5px solid var(--border);
  background: transparent;
  color: var(--tx);
  font-size: 20px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--t);
  flex-shrink: 0;
}

.mobile-toggle:hover { background: var(--surface-2); }

/* ============================================================
   3. CONTENT WRAP
   ============================================================ */
.content-wrap {
  padding-top: var(--hdr-h);
  min-height: 100vh;
  background: var(--app-bg);
}

.views-wrap {
  padding: 28px 40px 64px;
  max-width: var(--max);
  width: 100%;
  margin: 0 auto;
}

/* PAGE ENTRY ANIMATION */
.page-in {
  animation: pageIn .32s var(--ease) both;
}

@keyframes pageIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

[data-animate] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .52s var(--ease), transform .52s var(--ease);
}

[data-animate].animated {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   4. HERO STRIP
   ============================================================ */
.hero-strip {
  background: linear-gradient(135deg, #ffffff 0%, #f7f8fc 100%);
  color: var(--tx);
  border-radius: var(--r-lg);
  padding: 38px 44px 32px;
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 22px 70px rgba(15,21,36,.08);
}

.hero-strip::before {
  content: '';
  position: absolute;
  top: -160px; right: -140px;
  width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(229,0,18,.08) 0%, transparent 60%);
  pointer-events: none;
}

.hero-strip::after {
  content: '';
  position: absolute;
  bottom: -180px; left: 24%;
  width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(7,13,26,.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner { position: relative; z-index: 1; }

.hero-strip h2 {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.12;
  margin-bottom: 10px;
}

.hero-strip p {
  color: #4b5568;
  font-size: 15px;
  max-width: 640px;
  line-height: 1.7;
  margin-bottom: 18px;
}

.hero-stats {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-stat {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 12px 16px;
  text-align: center;
  min-width: 90px;
  transition: var(--t);
  cursor: default;
  box-shadow: 0 10px 30px rgba(15,21,36,.06);
}

.hero-stat:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(15,21,36,.10);
  border-color: var(--red-border);
}

.hs-v {
  font-size: 22px;
  font-weight: 800;
  color: var(--tx);
  letter-spacing: -.5px;
  line-height: 1;
}

.hs-l {
  margin-top: 6px;
  font-size: 12px;
  font-weight: 700;
  color: var(--mu);
  line-height: 1.3;
}

/* ============================================================
   5. CARDS
   ============================================================ */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  box-shadow: 0 12px 34px rgba(15,21,36,.06);
  overflow: hidden;
  transition: box-shadow var(--t), transform var(--t);
}

.card:hover {
  box-shadow: var(--sh-lg);
  transform: translateY(-2px);
}

.card-h {
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border-bottom: 1px solid var(--border);
  background: #fff;
}

.card-h h2 {
  margin: 0;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -.2px;
  color: var(--tx);
}

.card-b { padding: 20px; }

/* ============================================================
   6. GRID
   ============================================================ */
.grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 22px;
}

@media (max-width: 980px) { .grid { grid-template-columns: 1fr; } }

/* ============================================================
   7. KPI GRID
   ============================================================ */
.kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

@media (max-width: 820px) { .kpi-grid { grid-template-columns: repeat(2, 1fr); } }

.kpi-card {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--r);
  padding: 20px 14px 16px;
  text-align: center;
  transition: var(--t);
  box-shadow: var(--sh-sm);
}

.kpi-card:hover {
  border-color: var(--red-border);
  transform: translateY(-6px);
  box-shadow: var(--sh-lg);
}

.kv { font-size: 36px; font-weight: 900; color: var(--red); letter-spacing: -1.5px; line-height: 1; }
.ku { font-size: 14px; font-weight: 700; opacity: .60; letter-spacing: -.3px; }
.kl { margin-top: 10px; font-size: 13px; font-weight: 700; color: var(--mu); line-height: 1.4; }

/* ============================================================
   8. TIMELINE
   ============================================================ */
.timeline { position: relative; padding-left: 28px; }
.timeline::before {
  content: '';
  position: absolute;
  left: 9px; top: 8px; bottom: 8px;
  width: 2px;
  background: linear-gradient(to bottom, var(--red), rgba(229,0,18,.04));
}
.tl-item { position: relative; display: flex; gap: 16px; padding-bottom: 18px; }
.tl-dot {
  position: absolute;
  left: -24px; top: 5px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--red);
  border: 3px solid var(--surface);
  box-shadow: 0 0 0 3px rgba(229,0,18,.18);
}
.tl-year { min-width: 38px; font-size: 11px; font-weight: 900; color: var(--red); padding-top: 2px; flex-shrink: 0; }
.tl-title { font-size: 14px; font-weight: 800; margin-bottom: 3px; }
.tl-desc { font-size: 13px; color: var(--mu); line-height: 1.52; }

/* ============================================================
   9. GAMMES TILES
   ============================================================ */
.tiles {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}

.tile {
  border-radius: var(--r);
  border: 2px solid var(--border);
  background: var(--surface);
  cursor: pointer;
  box-shadow: var(--sh-sm);
  transition: var(--t);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.tile-img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  display: block;
  background: var(--surface-2);
  transition: transform .45s var(--ease);
}

.tile:hover .tile-img { transform: scale(1.06); }
.tile-icon { font-size: 36px; line-height: 1; padding: 20px 18px 8px; }

.tile:hover {
  transform: translateY(-8px);
  box-shadow: var(--sh-lg);
  border-color: var(--red-border);
}

.tile.active {
  border-color: var(--red);
  background: linear-gradient(180deg, rgba(229,0,18,.05) 0%, var(--surface) 100%);
  box-shadow: 0 0 0 1px var(--red), var(--sh-lg);
}

.tile-body { padding: 16px 18px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.tile-name { font-size: 15px; font-weight: 800; color: var(--tx); line-height: 1.35; }
.tile-value { font-size: 12.5px; color: var(--mu); font-weight: 500; line-height: 1.45; flex: 1; }
.tile-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 4px; }

/* ============================================================
   10. PRODUCT CARDS
   ============================================================ */
.prod-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

@media (max-width: 780px) { .prod-grid { grid-template-columns: 1fr; } }

.prod {
  border: 2px solid var(--border);
  border-radius: var(--r);
  background: var(--surface);
  overflow: hidden;
  transition: var(--t);
  box-shadow: var(--sh-sm);
}

.prod:hover {
  border-color: var(--red-border);
  transform: translateY(-6px);
  box-shadow: var(--sh-lg);
}

.prod-img {
  width: 100%;
  height: 160px;
  object-fit: contain;
  background: var(--surface-2);
  display: block;
  border-bottom: 2px solid var(--border);
  transition: transform .35s var(--ease);
}

.prod:hover .prod-img { transform: scale(1.03); }
.prod-body { padding: 20px 24px 22px; }
.prod-body h3 { margin: 0 0 12px; font-size: 16px; font-weight: 800; color: var(--tx); line-height: 1.35; }
.prod-body ul { list-style: none; padding: 0; margin: 0; }
.prod-body li {
  font-size: 13.5px;
  color: var(--mu);
  padding: 7px 0 7px 18px;
  position: relative;
  border-bottom: 1px solid var(--border);
  line-height: 1.5;
}
.prod-body li:last-child { border-bottom: none; }
.prod-body li::before {
  content: '';
  position: absolute;
  left: 0; top: 14px;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--red);
}

/* Fallback sans .prod-body */
.prod > h3 { padding: 20px 24px 0; margin: 0 0 12px; font-size: 16px; font-weight: 800; }
.prod > ul { list-style: none; padding: 0 24px; margin: 0; }
.prod > ul li {
  font-size: 13.5px; color: var(--mu);
  padding: 7px 0 7px 18px; position: relative;
  border-bottom: 1px solid var(--border); line-height: 1.5;
}
.prod > ul li:last-child { border-bottom: none; }
.prod > ul li::before {
  content: ''; position: absolute; left: 0; top: 14px;
  width: 7px; height: 7px; border-radius: 50%; background: var(--red);
}

/* ============================================================
   11. METROLOGY CARDS
   ============================================================ */
.metro-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 22px;
  box-shadow: 0 18px 48px rgba(15,21,36,.08);
  overflow: hidden;
  margin-bottom: 24px;
  transition: box-shadow var(--t), transform var(--t);
}

.metro-card:hover { box-shadow: var(--sh-lg); transform: translateY(-2px); }

.metro-header {
  padding: 22px 28px;
  background: linear-gradient(120deg, #fff 0%, #f8f9fc 100%);
  color: var(--tx);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid var(--border);
}

.metro-header h2 { margin: 0 0 6px; font-size: 28px; font-weight: 800; letter-spacing: -.4px; }
.metro-header .sub { color: var(--mu); font-size: 14px; }
.metro-header .range-box {
  background: rgba(7,13,26,.03);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px 16px;
  font-size: 13px; font-weight: 700;
  white-space: nowrap; flex-shrink: 0;
}

.badge-row { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; }
.mbadge { font-size: 11px; font-weight: 800; padding: 4px 12px; border-radius: 50px; letter-spacing: .2px; }
.mbadge.imx { background: rgba(37,99,235,.28);  color: #93c5fd; border: 1px solid rgba(37,99,235,.40); }
.mbadge.xm  { background: rgba(16,185,129,.22); color: #6ee7b7; border: 1px solid rgba(16,185,129,.35); }
.mbadge.wm  { background: rgba(249,115,22,.22); color: #fdba74; border: 1px solid rgba(249,115,22,.38); }
.mbadge.new { background: rgba(229,0,18,.28);   color: #fca5a5; border: 1px solid rgba(229,0,18,.42); }

.metro-img { width: 100%; max-height: 280px; object-fit: contain; background: var(--surface-2); display: block; }

.video-wrap { position: relative; cursor: pointer; background: #06080e; overflow: hidden; }
.video-wrap img { width: 100%; max-height: 280px; object-fit: contain; display: block; opacity: .80; transition: opacity var(--t); }
.video-wrap:hover img { opacity: .45; }

.play-btn {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 80px; height: 80px;
  border-radius: 50%;
  background: rgba(229,0,18,.90);
  border: 3px solid rgba(255,255,255,.82);
  box-shadow: var(--sh-red);
  display: flex; align-items: center; justify-content: center;
  transition: var(--t); pointer-events: none;
}
.video-wrap:hover .play-btn { transform: translate(-50%,-50%) scale(1.16); }
.play-btn::after {
  content: ''; width: 0; height: 0;
  border-style: solid; border-width: 13px 0 13px 23px;
  border-color: transparent transparent transparent #fff;
  margin-left: 6px;
}

.metro-kpis { display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--border); }
@media (max-width: 700px) { .metro-kpis { grid-template-columns: repeat(2, 1fr); } }
.metro-kpi { padding: 18px 14px; text-align: center; border-right: 1px solid var(--border); }
.metro-kpi:last-child { border-right: none; }
.metro-kpi .mv { font-size: 30px; font-weight: 800; color: var(--tx); letter-spacing: -.6px; line-height: 1; }
.metro-kpi .ml { font-size: 12px; font-weight: 700; color: var(--mu); margin-top: 6px; line-height: 1.35; }

.metro-body { padding: 22px 28px; }
.metro-concept {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 18px; margin-bottom: 20px;
  font-weight: 700; font-size: 15px; line-height: 1.55;
}
.metro-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
@media (max-width: 700px) { .metro-cols { grid-template-columns: 1fr; } }
.section-label { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 1.6px; color: var(--mu); margin-bottom: 12px; }
.metro-story { font-size: 14px; color: rgba(26,26,46,.70); line-height: 1.75; }
.metro-bullets { list-style: none; padding: 0; margin: 0; }
.metro-bullets li { font-size: 14px; padding: 9px 0 9px 22px; border-bottom: 1px solid var(--border); position: relative; line-height: 1.5; }
.metro-bullets li:last-child { border-bottom: none; }
.metro-bullets li::before { content: ''; position: absolute; left: 0; top: 15px; width: 8px; height: 8px; border-radius: 50%; background: var(--red); }
.sector-chips { display: flex; flex-wrap: wrap; gap: 7px; }
.metro-cta { margin-top: 22px; display: flex; align-items: center; gap: 14px; }
.metro-cta p { margin: 0; font-size: 13px; color: var(--mu); flex: 1; }

/* ============================================================
   12. VIDEO CARDS
   ============================================================ */
.vcards { display: grid; grid-template-columns: repeat(auto-fill, minmax(188px, 1fr)); gap: 12px; }
.vcard {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px; padding: 18px 14px;
  cursor: pointer; display: flex; flex-direction: column;
  align-items: center; gap: 10px;
  transition: var(--t); text-align: center;
  position: relative; overflow: hidden;
  box-shadow: 0 10px 30px rgba(15,21,36,.08);
}
.vcard:hover {
  border-color: var(--red-border);
  transform: translateY(-3px);
  box-shadow: 0 16px 42px rgba(15,21,36,.10);
}
.vcard-play {
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--red); border: none;
  box-shadow: 0 10px 24px rgba(229,0,18,.26);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: var(--t);
}
.vcard:hover .vcard-play { transform: scale(1.08); box-shadow: 0 14px 32px rgba(229,0,18,.34); }
.vcard-play::after {
  content: ''; width: 0; height: 0; border-style: solid;
  border-width: 7px 0 7px 13px;
  border-color: transparent transparent transparent #fff; margin-left: 4px;
}
.vcard-title { color: var(--tx); font-size: 12.5px; font-weight: 700; line-height: 1.45; }

/* ============================================================
   13. VIDEO MODAL
   ============================================================ */
.modal-overlay {
  display: none; position: fixed; inset: 0; z-index: 9999;
  background: rgba(0,0,0,.92); align-items: center; justify-content: center;
}
.modal-overlay.open { display: flex; animation: fadeIn .22s ease both; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.modal-inner {
  background: #000; border-radius: 20px; overflow: hidden;
  max-width: 980px; width: 90vw;
  box-shadow: 0 40px 100px rgba(0,0,0,.85); position: relative;
}
.modal-inner video { width: 100%; display: block; }
.modal-header {
  position: absolute; top: 0; left: 0; right: 0;
  padding: 16px 18px; background: linear-gradient(to bottom, rgba(0,0,0,.82), transparent);
  color: #fff; font-weight: 800; font-size: 15px; pointer-events: none;
}
.modal-close {
  position: absolute; top: 12px; right: 12px;
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(0,0,0,.58); border: 1.5px solid rgba(255,255,255,.30);
  color: #fff; font-size: 18px; cursor: pointer;
  display: flex; align-items: center; justify-content: center; z-index: 10; transition: background .15s;
}
.modal-close:hover { background: rgba(229,0,18,.82); }

/* ============================================================
   14. BUTTONS
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 11px 18px; border-radius: 12px;
  border: 1px solid var(--border); background: #fff; color: var(--tx);
  font: inherit; font-size: 14px; font-weight: 700;
  cursor: pointer; letter-spacing: 0; white-space: nowrap;
  transition: var(--t); -webkit-user-select: none; user-select: none;
  box-shadow: 0 10px 26px rgba(15,21,36,.06);
}
.btn:hover { background: var(--surface-2); transform: translateY(-1px); box-shadow: 0 14px 30px rgba(15,21,36,.08); }
.btn:focus-visible { outline: none; box-shadow: var(--focus); }
.btn.red { background: var(--red); border-color: var(--red); color: #fff; box-shadow: 0 12px 26px rgba(229,0,18,.30); }
.btn.red:hover { filter: brightness(1.03); box-shadow: 0 16px 34px rgba(229,0,18,.36); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn.danger { background: rgba(176,0,20,.06); border-color: rgba(176,0,20,.18); color: #b00014; }
.btn.danger:hover { background: rgba(176,0,20,.12); }

/* ============================================================
   15. TAGS & PILLS
   ============================================================ */
.tag {
  display: inline-block; background: var(--red-soft); color: var(--red);
  border: 1px solid rgba(229,0,18,.18); font-weight: 800;
  font-size: 12px; padding: 4px 12px; border-radius: 50px; white-space: nowrap;
}
.tag.vid-tag { background: rgba(229,0,18,.90); color: #fff; border-color: transparent; }
.pill { font-weight: 900; font-size: 12px; padding: 3px 10px; border-radius: 50px; background: var(--red-soft); color: var(--red); }

/* ============================================================
   16. FORMS
   ============================================================ */
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 720px) { .row { grid-template-columns: 1fr; } }

label { display: block; font-weight: 800; font-size: 12px; margin-bottom: 6px; color: var(--mu); text-transform: uppercase; letter-spacing: .8px; }

input, select, textarea {
  width: 100%; padding: 13px 16px; border-radius: 14px;
  border: 2px solid rgba(13,21,32,.10);
  font: inherit; font-size: 15px; background: var(--surface-2);
  transition: border-color .15s, box-shadow .15s, background .15s; color: var(--tx);
}
input:focus, select:focus, textarea:focus {
  outline: none; box-shadow: var(--focus);
  border-color: rgba(229,0,18,.40); background: var(--surface);
}
textarea { min-height: 120px; resize: vertical; }
.toolbar { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; justify-content: flex-end; }

/* ============================================================
   17. TABLE
   ============================================================ */
table { width: 100%; border-collapse: collapse; border-radius: var(--r); overflow: hidden; border: 1.5px solid var(--border); }
th, td { padding: 14px 18px; border-bottom: 1px solid var(--border); text-align: left; font-size: 14px; vertical-align: top; }
th { background: var(--surface-2); font-weight: 800; font-size: 11.5px; text-transform: uppercase; letter-spacing: .6px; color: var(--mu); }

/* ============================================================
   18. UTILITIES
   ============================================================ */
ul { margin: 0; padding-left: 20px; }
li { margin: 6px 0; }
.muted { color: var(--mu); }
.section { margin-top: 20px; padding-top: 20px; border-top: 1.5px solid var(--border); }
.help { margin-top: 10px; font-size: 13px; color: var(--mu); line-height: 1.55; }
.footnote { margin-top: 14px; padding: 14px 18px; border-radius: 14px; background: rgba(13,21,32,.03); border: 1px dashed rgba(13,21,32,.12); color: var(--mu); font-size: 13px; line-height: 1.55; }
.kpi { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }
.k { border: 1.5px solid var(--border); border-radius: var(--r-sm); padding: 16px; background: var(--surface-2); transition: var(--t); }
.k:hover { border-color: var(--red-border); transform: translateY(-4px); box-shadow: var(--sh); }
.k .big { font-size: 20px; font-weight: 900; }
.k .label { margin-top: 5px; font-weight: 700; color: var(--mu); font-size: 13px; }

/* ============================================================
   19. PAGE TITLE STRIP (Sous-header de page)
   ============================================================ */
.page-title-strip {
  margin-bottom: 18px;
}
.page-title-strip h1 {
  font-size: 28px;
  font-weight: 900;
  letter-spacing: -1px;
  color: var(--tx);
  margin-bottom: 8px;
  line-height: 1.1;
}
.page-title-strip p {
  font-size: 16px;
  color: var(--mu);
  max-width: 680px;
  line-height: 1.6;
}

/* ============================================================
   21. RANGE TABS (Gammes page)
   ============================================================ */
.range-layout {
  display: flex;
  align-items: flex-start;
  gap: 24px;
}

.range-nav {
  width: 254px;
  flex-shrink: 0;
  position: sticky;
  top: calc(var(--hdr-h) + 24px);
  max-height: calc(100vh - var(--hdr-h) - 48px);
  overflow-y: auto;
  background: var(--surface);
  border-radius: var(--r);
  border: 1.5px solid var(--border);
  box-shadow: var(--sh-sm);
  padding: 10px 0;
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
}

.range-tab-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 11px 18px;
  border: none;
  border-left: 3px solid transparent;
  background: transparent;
  font: inherit;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--tx);
  text-align: left;
  cursor: pointer;
  line-height: 1.35;
  transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast);
}

.range-tab-btn .range-tab-icon { font-size: 18px; flex-shrink: 0; }
.range-tab-btn .range-tab-name  { flex: 1; }

.range-tab-btn:hover  { background: var(--surface-2); }

.range-tab-btn.active {
  background: var(--red-soft);
  color: var(--red);
  font-weight: 800;
  border-left-color: var(--red);
}

.range-panel { flex: 1; min-width: 0; }

/* ============================================================
   20. RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .views-wrap { padding: 24px 28px 56px; }
  .hero-strip { padding: 34px 36px 30px; }
}

@media (max-width: 860px) {
  .header-container { padding: 0 20px 0 110px; }
  .main-nav { display: none; }
  .main-nav.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--hdr-h); left: 0; right: 0;
    background: rgba(255,255,255,.98);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    padding: 12px 16px 20px;
    border-bottom: 1.5px solid var(--border);
    box-shadow: var(--sh-lg);
    z-index: 999;
    gap: 4px;
  }
  .main-nav.open .nav-link { padding: 11px 16px; border-radius: 10px; font-size: 15px; }
  .mobile-toggle { display: flex; }
  .header-actions { gap: 6px; margin-left: 8px; }
  .views-wrap { padding: 20px 16px 60px; }
  .hero-strip { padding: 30px 24px 26px; border-radius: 16px; }
  .hero-strip h2 { font-size: 28px; }
  .kpi-grid { grid-template-columns: repeat(2,1fr); }
  .metro-header { padding: 16px 20px; }
  .metro-body { padding: 16px 20px; }
  /* Range tabs — mobile: stack vertically, nav becomes chip bar */
  .range-layout { flex-direction: column; gap: 16px; }
  .range-nav {
    width: 100%;
    position: static;
    max-height: none;
    display: flex;
    flex-wrap: wrap;
    padding: 10px;
    gap: 6px;
    border-radius: var(--r-sm);
  }
  .range-tab-btn {
    flex: 0 0 auto;
    width: auto;
    border-left: none;
    border-radius: 8px;
    border: 1.5px solid var(--border);
    padding: 8px 12px;
    font-size: 12.5px;
  }
  .range-tab-btn.active { border-color: var(--red); }
}

@media (max-width: 560px) {
  .tiles { grid-template-columns: repeat(2,1fr); }
  .prod-grid { grid-template-columns: 1fr; }
  .metro-cols { grid-template-columns: 1fr; }
  .hero-strip h2 { font-size: 22px; }
  .page-title-strip h1 { font-size: 22px; }
}

/* ============================================================
   20b. TOUCH OPTIMIZATION
   ============================================================ */
@media (pointer: coarse) {
  .nav-link,
  .btn,
  .range-tab-btn,
  .vcard,
  .modal-close {
    min-height: 44px;
  }

  .btn,
  .range-tab-btn,
  .vcard,
  .video-wrap,
  .product-link {
    touch-action: manipulation;
  }

  .vcard {
    padding: 16px 14px;
  }

  .prod:hover,
  .card:hover,
  .tile:hover,
  .metro-card:hover,
  .vcard:hover,
  .hero-stat:hover {
    transform: none;
  }

  .product-link {
    display: inline-block;
    padding: 6px 0;
  }
}

/* ============================================================
   22. VISIO MODE  &  BTN-VISIO
   ============================================================ */
.btn-visio {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 18px; border-radius: 50px;
  border: 2px solid var(--red-border); background: transparent; color: var(--red);
  font: inherit; font-size: 13px; font-weight: 700;
  cursor: pointer; white-space: nowrap; transition: var(--t);
}
.btn-visio:hover { background: var(--red-soft); }
.btn-visio:focus-visible { outline: none; box-shadow: var(--focus); }

body.visio-mode { font-size: 17px; }
body.visio-mode .prod-body li,
body.visio-mode .metro-story,
body.visio-mode .metro-bullets li { font-size: 16px; }
body.visio-mode .card-b { padding: 32px 36px; }
body.visio-mode .metro-header h2 { font-size: 38px; }
body.visio-mode .tl-desc { font-size: 16px; }
body.visio-mode .kv { font-size: 44px; }

/* ============================================================
   23. RANGE SEARCH (inside .range-nav)
   ============================================================ */
.range-search-wrap {
  padding: 10px 10px 8px;
  border-bottom: 1.5px solid var(--border);
  flex-shrink: 0;
  width: 100%;
}
.range-search {
  display: block; width: 100%; padding: 9px 14px;
  border-radius: 10px; border: 1.5px solid var(--border);
  background: var(--surface-2); font: inherit; font-size: 13.5px; color: var(--tx);
  box-sizing: border-box; transition: border-color .15s, box-shadow .15s;
}
.range-search:focus {
  outline: none; box-shadow: var(--focus);
  border-color: rgba(229,0,18,.40); background: var(--surface);
}
@media (max-width: 860px) { .range-search-wrap { display: none; } }

/* ============================================================
   24. RANGE PANEL HEADER  &  PRÉSENTER BUTTON
   ============================================================ */
.range-panel-header {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; margin-bottom: 20px; flex-wrap: wrap;
}
.range-panel-title {
  margin: 0; font-size: 20px; font-weight: 900;
  letter-spacing: -.4px; color: var(--tx);
}
.range-source {
  margin: -6px 0 14px;
  font-size: 12px;
  color: var(--mu);
}
.range-source a,
.product-link {
  color: var(--red);
  font-weight: 700;
  text-decoration: none;
}
.range-source a:hover,
.product-link:hover {
  text-decoration: underline;
}
.btn-present {
  background: var(--surface-2); border-color: var(--border);
  color: var(--tx); font-size: 13px; padding: 9px 18px;
  font-weight: 700; flex-shrink: 0;
}
.btn-present:hover { background: var(--tx); color: #fff; border-color: var(--tx); transform: translateY(-2px); }

/* ============================================================
   25. PRESENTATION FULLSCREEN OVERLAY
   ============================================================ */
.pres-overlay {
  position: fixed; inset: 0; z-index: 10000;
  background: #07090f; overflow-y: auto;
  animation: fadeIn .25s ease both;
}
.pres-inner {
  max-width: 1100px; margin: 0 auto; padding: 28px 36px 72px;
}
.pres-topbar {
  display: flex; align-items: center; gap: 16px;
  padding-bottom: 22px; border-bottom: 1px solid rgba(255,255,255,.12);
  margin-bottom: 28px;
}
.pres-logo { height: 22px; filter: brightness(0) invert(1); opacity: .72; flex-shrink: 0; }
.pres-gamme-label {
  flex: 1; font-size: 22px; font-weight: 900; color: #fff;
  letter-spacing: -.4px; line-height: 1.2;
}
.pres-close {
  width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0;
  background: rgba(255,255,255,.10); border: 1.5px solid rgba(255,255,255,.22);
  color: #fff; font-size: 18px; cursor: pointer;
  display: flex; align-items: center; justify-content: center; transition: background .15s;
}
.pres-close:hover { background: rgba(229,0,18,.82); }
.pres-value {
  font-size: 17px; font-weight: 700; color: rgba(255,255,255,.68);
  margin: 0 0 28px; line-height: 1.65;
  border-left: 4px solid var(--red); padding-left: 18px;
}
.pres-products {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 16px; margin-bottom: 36px;
}
.pres-product {
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.10);
  border-radius: 18px; overflow: hidden; display: flex; flex-direction: column;
}
.pres-product-img {
  width: 100%; height: 160px; object-fit: contain;
  background: rgba(255,255,255,.07); display: block;
}
.pres-product-body { padding: 20px 24px 22px; }
.pres-product-body h3 { margin: 0 0 12px; font-size: 15px; font-weight: 800; color: #fff; }
.pres-product-body ul { list-style: none; padding: 0; margin: 0; }
.pres-product-body li {
  font-size: 13.5px; color: rgba(255,255,255,.65);
  padding: 7px 0 7px 18px; border-bottom: 1px solid rgba(255,255,255,.07);
  position: relative; line-height: 1.5;
}
.pres-product-body li:last-child { border-bottom: none; }
.pres-product-body li::before {
  content: ''; position: absolute; left: 0; top: 14px;
  width: 7px; height: 7px; border-radius: 50%; background: var(--red);
}
.pres-footer-cols {
  display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-bottom: 36px;
}
@media (max-width: 680px) { .pres-footer-cols { grid-template-columns: 1fr; } }
.pres-section-label {
  font-size: 11px; font-weight: 800; text-transform: uppercase;
  letter-spacing: 1.4px; color: rgba(255,255,255,.42); margin-bottom: 14px;
}
.pres-footer-cols ul { list-style: none; padding: 0; margin: 0; }
.pres-footer-cols li {
  font-size: 14px; color: rgba(255,255,255,.70);
  padding: 9px 0 9px 18px; border-bottom: 1px solid rgba(255,255,255,.07);
  position: relative; line-height: 1.5;
}
.pres-footer-cols li:last-child { border-bottom: none; }
.pres-footer-cols li::before {
  content: ''; position: absolute; left: 0; top: 16px;
  width: 7px; height: 7px; border-radius: 50%; background: var(--red);
}
.pres-cta { text-align: center; padding-top: 8px; }

@media (max-width: 680px) {
  .pres-inner { padding: 20px 16px 56px; }
  .pres-gamme-label { font-size: 17px; }
  .pres-products { grid-template-columns: 1fr; }
}

/* ============================================================
   26. CORPORATE BAND (page société)
   ============================================================ */
.corp-band { display: grid; grid-template-columns: minmax(0,1.2fr) minmax(0,1fr); gap: 18px; align-items: center; margin-bottom: 18px; overflow: hidden; }
.corp-text { border-right: 1px solid var(--border); }
.corp-head { padding: 0 0 10px; }
.corp-head h2 { margin: 0; }
.corp-lead { margin: 0 0 12px; font-weight: 700; }
.corp-list { margin: 0 0 14px; }
.corp-toolbar { gap: 10px; flex-wrap: wrap; }
.corp-source { font-size: 12px; }
.corp-gallery { display: grid; gap: 10px; grid-template-columns: 1fr 1fr; align-items: stretch; }
.corp-fig { margin: 0; display: flex; flex-direction: column; justify-content: space-between; }
.corp-img { width: 100%; height: 160px; object-fit: cover; border-radius: 10px; }
.corp-cap { font-size: 12px; color: var(--k-muted); margin-top: 8px; }
@media (max-width: 860px) {
  .corp-band { grid-template-columns: 1fr; }
  .corp-text { border-right: none; border-bottom: 1px solid var(--border); padding-bottom: 14px; }
}

/* ============================================================
   27. TABLET-FIRST REFRESH (iPad Air)
   ============================================================ */
body {
  background: radial-gradient(circle at 20% 20%, rgba(229,0,18,.06), transparent 36%),
              radial-gradient(circle at 80% 0%, rgba(21,35,66,.08), transparent 40%),
              var(--app-bg);
}
.content-wrap { padding: calc(var(--hdr-h) + 18px) 18px 64px; }
.views-wrap { max-width: 1180px; margin: 0 auto; gap: 20px; }
.grid { gap: 18px; }

.card {
  background: var(--surface);
  border: 1px solid rgba(13,21,32,.06);
  border-radius: 18px;
  box-shadow: 0 10px 28px rgba(7,9,15,.08);
  overflow: hidden;
}
.card-h {
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border-bottom: 1px solid rgba(13,21,32,.05);
}
.card-h h2 { margin: 0; letter-spacing: -.3px; }
.card-b { padding: 20px 22px 22px; }

.hero-strip {
  background: linear-gradient(135deg, #0f1627 0%, #1f2d4a 60%, #0f1627 100%);
  color: #fff;
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 20px 50px rgba(0,0,0,.20);
  padding: 30px 28px;
}
.hero-strip h2 { font-size: 30px; line-height: 1.25; letter-spacing: -.4px; }
.hero-strip p { color: rgba(255,255,255,.72); font-size: 15px; }
.hero-stats { gap: 12px; }
.hero-stat { background: rgba(255,255,255,.13); border: 1px solid rgba(255,255,255,.22); border-radius: 12px; padding: 12px 14px; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.hero-stat .hs-v { color: #fff; }
.hero-stat .hs-l { color: rgba(255,255,255,.70); }

.page-title-strip {
  background: linear-gradient(135deg, rgba(229,0,18,.08), rgba(229,0,18,.03));
  border: 1px solid rgba(229,0,18,.15);
  border-radius: 16px;
  padding: 16px 18px;
  box-shadow: 0 10px 24px rgba(229,0,18,.08);
}
.page-title-strip h1 { margin: 0 0 6px; letter-spacing: -.3px; }
.page-title-strip p { margin: 0; color: var(--mu); }

.nav-link { padding: 8px 12px; font-weight: 600; }
.header-container { padding: 0 22px 0 130px; }
.btn-header-red { padding: 9px 16px; box-shadow: 0 4px 16px rgba(229,0,18,.30); }

.prod { border-radius: 14px; border: 1px solid rgba(13,21,32,.06); box-shadow: var(--sh-sm); }
.prod-img { border-bottom: 1px solid rgba(13,21,32,.05); }
.prod-body h3 { letter-spacing: -.2px; }

.kpi-card { border-radius: 14px; border: 1px solid rgba(13,21,32,.06); box-shadow: var(--sh-sm); }

.metro-card { border-radius: 18px; border: 1px solid rgba(13,21,32,.07); box-shadow: var(--sh); }
.metro-header { padding: 18px 22px; }
.metro-body { padding: 18px 22px; }

.range-tab-btn { border-radius: 10px; }
.range-panel-title { font-size: 22px; }

.btn { border-radius: 10px; box-shadow: none; }
.btn.red { box-shadow: 0 6px 20px rgba(229,0,18,.32); }
.btn.red:hover { transform: translateY(-1px); }

@media (max-width: 1024px) {
  :root { --hdr-h: 56px; }
  .hero-strip { padding: 26px 22px; }
  .header-container { padding: 0 18px 0 120px; }
  .views-wrap { padding-top: 4px; }
}

/* iPad Air 11" comfort zone (820x1180 CSS) */
@media (min-width: 820px) and (max-width: 1180px) {
  .header-container {
    padding: 0 16px 0 120px;
    gap: 10px;
  }
  .logo { margin-right: 12px; }
  .logo-img { height: 24px; }
  .main-nav {
    display: flex !important;
    gap: 4px;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    flex-wrap: nowrap;
  }
  .main-nav::-webkit-scrollbar { display: none; }
  .nav-link {
    padding: 9px 12px;
    font-size: 12.5px;
    gap: 5px;
    min-height: 40px;
    flex-shrink: 0;
  }
  .header-actions {
    margin-left: 8px;
  }
  .btn-header-red {
    padding: 9px 14px;
    font-size: 12.5px;
    min-height: 40px;
  }
  .mobile-toggle {
    display: none !important;
  }
  .range-search-wrap {
    display: block;
  }
}

/* 28. Microscopy gallery */
.micro-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 360px));
  gap: 14px;
  margin: 14px 0 18px;
  justify-content: center;
}
.micro-shot {
  margin: 0;
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 12px 30px rgba(15,21,36,.08);
}
.micro-shot img {
  display: block;
  width: 100%;
  max-height: 260px;
  object-fit: contain;
  background: linear-gradient(180deg, #fff 0%, #f8f9fc 100%);
}

/* 29. Presentation Redesign 2026 */
:root {
  --hdr-h: 58px;
  --max: 1380px;
  --app-bg: #f3f5f9;
  --surface: #ffffff;
  --surface-2: #f8f9fd;
  --tx: #101625;
  --mu: #4f5c71;
}

body {
  font-family: "Manrope", "Segoe UI", system-ui, sans-serif;
  background:
    radial-gradient(620px 280px at 12% -2%, rgba(229, 0, 18, .06), transparent 58%),
    radial-gradient(520px 260px at 88% 2%, rgba(16, 22, 37, .05), transparent 62%),
    linear-gradient(180deg, #fbfcff 0%, #f2f5fa 100%);
}

h1, h2, h3, .range-panel-title, .hero-strip h2 {
  font-family: "Space Grotesk", "Manrope", sans-serif;
  letter-spacing: -0.02em;
}

.main-header {
  height: var(--hdr-h);
  background: rgba(255, 255, 255, .92);
  border-bottom: 1px solid rgba(16, 22, 37, .08);
  box-shadow: 0 8px 32px rgba(16, 22, 37, .08);
}

.nav-link {
  font-weight: 700;
  border-radius: 999px;
}

/* ============================================================
   30. iPad Air 11" — TACTILE OPTIMIZATION (Modernization 2026)
   ============================================================ */

/* Anchor offset for fixed header */
html { scroll-padding-top: calc(var(--hdr-h) + 12px); }

/* Prevent iOS auto-zoom on input focus (font-size must be ≥16px) */
input, select, textarea {
  font-size: 16px;
}

/* Smooth tap behavior across all interactive elements */
.nav-link, .btn, .btn-header-red, .btn-visio, .range-tab-btn,
.tile, .vcard, .card, .prod, .metro-card, .mobile-toggle,
.modal-close, .pres-close, .product-link, .hero-stat,
.image-lightbox-close, button, [role="button"] {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

/* Tactile feedback (works on tap AND mouse) */
.nav-link:active,
.btn:active,
.btn-header-red:active,
.btn-visio:active,
.range-tab-btn:active,
.tile:active,
.vcard:active,
.mobile-toggle:active,
.modal-close:active,
.pres-close:active,
.image-lightbox-close:active {
  transform: scale(0.96);
  transition: transform 0.08s ease;
}

/* Active state on cards for tap confirmation */
.card:active,
.metro-card:active,
.prod:active {
  transform: scale(0.99);
  transition: transform 0.08s ease;
}

/* Touch-friendly modal close (44x44 minimum) */
.modal-close,
.pres-close,
.image-lightbox-close {
  width: 48px;
  height: 48px;
  min-width: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

/* Larger inputs for finger interaction */
input, select {
  min-height: 48px;
}
textarea { min-height: 120px; }

/* Better range navigation sidebar on iPad landscape */
@media (min-width: 820px) and (max-width: 1280px) {
  .range-nav {
    width: 220px;
  }
  .range-tab-btn {
    min-height: 48px;
    padding: 12px 14px;
    font-size: 13.5px;
  }
}

/* iPad portrait (820×1180) — prioritize content over chrome */
@media (min-width: 760px) and (max-width: 900px) and (orientation: portrait) {
  .header-container { padding: 0 18px 0 120px; }
  .main-nav {
    overflow-x: auto;
    scrollbar-width: none;
  }
  .main-nav::-webkit-scrollbar { display: none; }
  .views-wrap { padding: 22px 22px 60px; }
  .hero-strip { padding: 30px 26px 26px; }
  .hero-strip h2 { font-size: 26px; line-height: 1.25; }
  .grid { grid-template-columns: 1fr; gap: 18px; }
  .range-layout { flex-direction: column; gap: 18px; }
  .range-nav {
    width: 100%;
    position: static;
    max-height: none;
    display: flex;
    flex-wrap: wrap;
    padding: 12px;
    gap: 8px;
  }
  .range-tab-btn {
    flex: 0 0 auto;
    width: auto;
    border-left: none;
    border: 1.5px solid var(--border);
    border-radius: 10px;
    padding: 10px 14px;
    min-height: 44px;
    font-size: 13px;
  }
  .range-tab-btn.active { border-color: var(--red); background: var(--red-soft); color: var(--red); }
}

/* iPad landscape (1180×820) — polish */
@media (min-width: 1024px) and (max-width: 1200px) and (orientation: landscape) {
  .views-wrap { padding: 24px 28px 56px; }
  .grid { gap: 20px; }
  .card-h h2 { font-size: 17px; }
  .hero-strip h2 { font-size: 28px; }
  .kpi-grid { grid-template-columns: repeat(4, 1fr); }
}

/* Touch-friendly tile padding */
@media (pointer: coarse) {
  .tile { min-height: 130px; }
  .vcard { min-height: 80px; }
  .range-tab-btn { min-height: 48px; padding: 12px 14px; }
  .nav-link { min-height: 44px; padding: 10px 14px; }
  .btn-header-red { min-height: 44px; }
  .mobile-toggle { width: 48px; height: 48px; }

  /* Disable smooth scroll on touch (feels sluggish) */
  html { scroll-behavior: auto; }

  /* Larger play button on video cards */
  .video-wrap::after,
  .vcard .play-btn {
    transform: scale(1.15);
  }

  /* Replace hover-only product link emphasis */
  .product-link:active { color: var(--red-dark); }
}

/* Modal full-bleed on tablets portrait */
@media (max-width: 900px) and (orientation: portrait) {
  .modal-overlay .modal-inner,
  .pres-overlay .pres-inner {
    width: 96%;
    max-width: 100%;
  }
}

/* Prevent rubber-band scroll behind modals */
.modal-overlay.open,
.pres-overlay.open,
.image-lightbox.open {
  overscroll-behavior: contain;
}


.nav-link.active {
  background: linear-gradient(135deg, rgba(229, 0, 18, .14), rgba(229, 0, 18, .04));
  border: 1px solid rgba(229, 0, 18, .22);
}

.hero-strip,
.card,
.metro-card,
.range-nav,
.range-panel {
  border-radius: 20px;
  border: 1px solid rgba(16, 22, 37, .08);
  box-shadow: 0 18px 44px rgba(16, 22, 37, .08);
}

.range-layout {
  gap: 18px;
}

.range-nav {
  width: 290px;
  background: linear-gradient(180deg, #ffffff 0%, #f7f9fd 100%);
}

.range-tab-btn {
  border-left-width: 0;
  border-radius: 12px;
  margin: 2px 8px;
  width: calc(100% - 16px);
}

.range-tab-btn.active {
  border-left-color: transparent;
  background: linear-gradient(135deg, rgba(229, 0, 18, .14), rgba(229, 0, 18, .03));
  border: 1px solid rgba(229, 0, 18, .2);
}

.range-panel {
  background: linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
  padding: 20px;
}

.range-panel-header {
  align-items: center;
  margin-bottom: 10px;
}

.range-smart-actions {
  display: inline-flex;
  gap: 8px;
  flex-wrap: wrap;
}

.range-smart-actions .btn {
  border-radius: 999px;
  border: 1px solid rgba(16, 22, 37, .14);
  background: #fff;
  font-size: 12.5px;
  font-weight: 800;
  padding: 8px 14px;
}

.range-smart-actions .btn:hover {
  border-color: rgba(229, 0, 18, .35);
  color: var(--red);
  transform: translateY(-1px);
}

.range-shortcut-help {
  margin: 0 0 14px;
  color: var(--mu);
  font-size: 12px;
}

kbd {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  padding: 0 6px;
  border-radius: 7px;
  border: 1px solid rgba(16, 22, 37, .18);
  background: #fff;
  font-size: 11px;
  font-weight: 800;
  line-height: 20px;
}


.prod-img,
.micro-shot img {
  cursor: zoom-in;
}

.image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 10050;
  background: rgba(5, 9, 18, .78);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.image-lightbox-inner {
  width: min(980px, 100%);
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(16, 22, 37, .12);
  box-shadow: 0 30px 80px rgba(5, 9, 18, .35);
  position: relative;
}

.image-lightbox-inner img {
  width: 100%;
  max-height: 78vh;
  object-fit: contain;
  display: block;
  background: #f7f9fd;
}

.image-lightbox-inner p {
  margin: 0;
  padding: 12px 18px 14px;
  font-size: 13px;
  color: var(--mu);
  font-weight: 700;
}

.image-lightbox-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .2);
  background: rgba(16, 22, 37, .64);
  color: #fff;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}

@media (max-width: 900px) {
  .range-nav {
    width: 100%;
  }
  .range-smart-actions {
    width: 100%;
  }
}

/* ============================================================
   31. PREMIUM HOMEPAGE — Cinematic hero, decision-maker grade
   ============================================================ */

/* ===== HERO PREMIUM (dark theatrical) ===== */
.hero-premium {
  position: relative;
  margin: -8px -8px 36px;
  padding: clamp(56px, 8vw, 110px) clamp(28px, 5vw, 64px) clamp(48px, 6vw, 80px);
  border-radius: 28px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 60% at 80% 20%, rgba(229,0,18,.18), transparent 60%),
    radial-gradient(ellipse 60% 50% at 10% 80%, rgba(40,80,200,.10), transparent 65%),
    linear-gradient(135deg, #0a0e1a 0%, #131b30 60%, #0a0e1a 100%);
  color: #fff;
  isolation: isolate;
  box-shadow:
    0 30px 80px rgba(10,14,26,.45),
    inset 0 1px 0 rgba(255,255,255,.06);
}

.hp-aurora {
  position: absolute; inset: -50%; z-index: 0;
  background:
    radial-gradient(circle at 30% 40%, rgba(229,0,18,.28), transparent 35%),
    radial-gradient(circle at 70% 60%, rgba(80,140,255,.18), transparent 40%),
    radial-gradient(circle at 50% 90%, rgba(229,0,18,.12), transparent 45%);
  filter: blur(60px);
  opacity: .8;
  animation: auroraFloat 22s ease-in-out infinite;
  pointer-events: none;
}

@keyframes auroraFloat {
  0%,100% { transform: translate(0,0) rotate(0deg); }
  33% { transform: translate(2%,-3%) rotate(2deg); }
  66% { transform: translate(-2%,2%) rotate(-1deg); }
}

.hp-grid-overlay {
  position: absolute; inset: 0; z-index: 1;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 30%, #000, transparent 80%);
  mask-image: radial-gradient(ellipse 70% 70% at 50% 30%, #000, transparent 80%);
  pointer-events: none;
}

.hp-inner { position: relative; z-index: 2; max-width: 1280px; margin: 0 auto; }

.hp-eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  margin-bottom: 28px;
  padding: 8px 16px 8px 8px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 999px;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.hp-logo {
  height: 22px;
  filter: brightness(0) invert(1);
  opacity: .95;
}
.hp-pill {
  font-size: 11px; font-weight: 800;
  letter-spacing: 1.4px; text-transform: uppercase;
  color: rgba(255,255,255,.78);
}

.hp-title {
  font-family: "Space Grotesk", "Manrope", sans-serif;
  font-size: clamp(40px, 6.5vw, 78px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.035em;
  margin: 0 0 22px;
  color: #fff;
}
.hp-title-accent {
  background: linear-gradient(135deg, #ff5566 0%, #e50012 50%, #ff8a3d 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
}

.hp-lede {
  font-size: clamp(15px, 1.4vw, 19px);
  line-height: 1.65;
  color: rgba(255,255,255,.72);
  max-width: 720px;
  margin: 0 0 36px;
}

.hp-ctas {
  display: flex; flex-wrap: wrap; gap: 14px;
  margin-bottom: 56px;
}
.hp-cta-primary {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 28px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff2c40 0%, #e50012 100%);
  color: #fff;
  font-weight: 800; font-size: 15px;
  letter-spacing: -0.01em;
  text-decoration: none;
  box-shadow:
    0 10px 30px rgba(229,0,18,.45),
    0 2px 0 rgba(0,0,0,.18) inset,
    0 0 0 1px rgba(255,255,255,.10) inset;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease);
  min-height: 52px;
}
.hp-cta-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(229,0,18,.55), 0 0 0 1px rgba(255,255,255,.18) inset;
}
.hp-cta-primary:active { transform: translateY(0) scale(.98); }
.hp-cta-primary span { transition: transform .2s var(--ease); }
.hp-cta-primary:hover span { transform: translateX(4px); }

.hp-cta-ghost {
  display: inline-flex; align-items: center;
  padding: 16px 26px;
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  color: #fff;
  font-weight: 700; font-size: 14.5px;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,.18);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transition: var(--t);
  min-height: 52px;
}
.hp-cta-ghost:hover {
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.32);
}

.hp-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 8px;
  padding-top: 36px;
  border-top: 1px solid rgba(255,255,255,.08);
}
.hp-stat {
  position: relative;
  padding: 4px 4px 4px 18px;
  border-left: 2px solid rgba(229,0,18,.55);
}
.hp-stat-hero { border-left-color: #ff5566; }
.hp-stat-v {
  font-family: "Space Grotesk", "Manrope", sans-serif;
  font-size: clamp(28px, 3.4vw, 42px);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: #fff;
  line-height: 1;
  margin-bottom: 8px;
  display: flex; align-items: baseline; gap: 4px;
}
.hp-stat-suffix {
  font-size: .6em;
  color: rgba(255,255,255,.55);
  font-weight: 600;
  margin-left: 4px;
}
.hp-stat-big { font-size: 1em; }
.hp-stat-l {
  font-size: 13px;
  color: rgba(255,255,255,.58);
  font-weight: 500;
  letter-spacing: 0.2px;
  line-height: 1.4;
}

@media (max-width: 980px) { .hp-stats { grid-template-columns: repeat(2,1fr); gap: 22px; } }
@media (max-width: 560px) { .hp-stats { grid-template-columns: 1fr; } }

/* ===== TRUSTED LOGOS STRIP ===== */
.trusted-strip {
  margin: 0 0 56px;
  padding: 32px 28px;
  border-radius: 20px;
  background: rgba(255,255,255,.6);
  border: 1px solid var(--border);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  text-align: center;
}
.ts-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  color: var(--mu);
  margin-bottom: 22px;
}
.ts-logos {
  display: flex; flex-wrap: wrap;
  align-items: center; justify-content: center;
  gap: clamp(24px, 4vw, 56px);
}
.ts-logos img {
  height: 32px;
  width: auto;
  max-width: 130px;
  object-fit: contain;
  filter: grayscale(1) brightness(0.6);
  opacity: .75;
  transition: filter .3s var(--ease), opacity .3s var(--ease);
}
.ts-logos img:hover {
  filter: grayscale(0) brightness(1);
  opacity: 1;
}

/* ===== WHY SECTION ===== */
.why-section,
.explore-section { margin: 0 0 72px; }

.why-header,
.explore-header { text-align: center; margin-bottom: 44px; }

.why-eyebrow {
  display: inline-block;
  font-size: 11px; font-weight: 900;
  letter-spacing: 2.6px; text-transform: uppercase;
  color: var(--red);
  padding: 6px 14px;
  background: var(--red-soft);
  border-radius: 999px;
  margin-bottom: 16px;
}

.why-title {
  font-family: "Space Grotesk", "Manrope", sans-serif;
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.025em;
  margin: 0;
  color: var(--tx);
}
.why-title-mu { color: var(--mu); font-weight: 700; }

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
@media (max-width: 1100px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .why-grid { grid-template-columns: 1fr; } }

.why-card {
  position: relative;
  padding: 28px 24px 26px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(15,21,36,.05);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
  overflow: hidden;
}
.why-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--red), transparent);
  opacity: 0;
  transition: opacity .3s var(--ease);
}
.why-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(15,21,36,.13);
  border-color: rgba(229,0,18,.22);
}
.why-card:hover::before { opacity: 1; }

.why-icon {
  width: 56px; height: 56px;
  border-radius: 16px;
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  position: relative;
}
.why-icon svg { width: 28px; height: 28px; }
.why-icon-red {
  background: linear-gradient(135deg, #fff0f1 0%, #ffe1e3 100%);
  color: var(--red);
  box-shadow: 0 8px 20px rgba(229,0,18,.18);
}
.why-icon-blue {
  background: linear-gradient(135deg, #eaf3ff 0%, #d5e8ff 100%);
  color: #1a5fd6;
  box-shadow: 0 8px 20px rgba(26,95,214,.18);
}
.why-icon-purple {
  background: linear-gradient(135deg, #f3eaff 0%, #e6d5ff 100%);
  color: #7e3fd6;
  box-shadow: 0 8px 20px rgba(126,63,214,.18);
}
.why-icon-green {
  background: linear-gradient(135deg, #e7f8ee 0%, #c9efd8 100%);
  color: #1a8c4e;
  box-shadow: 0 8px 20px rgba(26,140,78,.18);
}

.why-card h3 {
  font-family: "Space Grotesk", "Manrope", sans-serif;
  font-size: 18px; font-weight: 800;
  margin: 0 0 10px;
  letter-spacing: -0.015em;
  color: var(--tx);
}
.why-card p {
  margin: 0 0 18px;
  font-size: 14px;
  color: var(--mu);
  line-height: 1.6;
}
.why-metric {
  font-size: 12px;
  color: var(--mu);
  font-weight: 600;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}
.why-metric span {
  font-family: "Space Grotesk", "Manrope", sans-serif;
  font-size: 22px;
  font-weight: 800;
  color: var(--red);
  letter-spacing: -0.02em;
  margin-right: 6px;
}

/* ===== EXPLORE GATEWAY ===== */
.explore-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
@media (max-width: 980px) { .explore-grid { grid-template-columns: 1fr; } }

.explore-card {
  position: relative;
  display: block;
  border-radius: 22px;
  overflow: hidden;
  min-height: 240px;
  text-decoration: none;
  color: #fff;
  isolation: isolate;
  border: 1px solid rgba(255,255,255,.06);
  box-shadow: 0 14px 40px rgba(15,21,36,.20);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.explore-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 70px rgba(15,21,36,.32);
}
.exp-bg {
  position: absolute; inset: 0; z-index: 0;
}
.exp-bg-blue   { background: linear-gradient(135deg,#0d1424,#1f2c4d); }
.exp-bg-purple { background: linear-gradient(135deg,#1a0d24,#3d1f4d); }
.exp-bg-amber  { background: linear-gradient(135deg,#241a0d,#4d3a1f); }
.exp-bg::after {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 80% 20%, rgba(229,0,18,.28), transparent 50%),
    radial-gradient(circle at 20% 80%, rgba(255,255,255,.06), transparent 60%);
}
.exp-content {
  position: relative; z-index: 1;
  padding: 28px 26px 26px;
  height: 100%;
  display: flex; flex-direction: column;
  min-height: 240px;
}
.exp-tag {
  align-self: flex-start;
  font-size: 10.5px; font-weight: 900;
  letter-spacing: 2px; text-transform: uppercase;
  padding: 5px 12px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  margin-bottom: auto;
}
.exp-content h3 {
  font-family: "Space Grotesk", "Manrope", sans-serif;
  font-size: 28px; font-weight: 800;
  letter-spacing: -0.02em;
  margin: 22px 0 8px;
  color: #fff;
}
.exp-content p {
  font-size: 14px;
  color: rgba(255,255,255,.72);
  line-height: 1.55;
  margin: 0 0 18px;
}
.exp-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px;
  font-weight: 800;
  color: #fff;
  border-top: 1px solid rgba(255,255,255,.14);
  padding-top: 16px;
}
.exp-arrow span {
  display: inline-block;
  transition: transform .25s var(--ease);
}
.explore-card:hover .exp-arrow span { transform: translateX(6px); }

/* ===== CTA STRIP ===== */
.cta-strip {
  margin: 0 0 28px;
  padding: 0;
  border-radius: 24px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 60% 80% at 90% 50%, rgba(229,0,18,.28), transparent 60%),
    linear-gradient(135deg, #0a0e1a 0%, #1a2342 100%);
  border: 1px solid rgba(255,255,255,.06);
  box-shadow: 0 20px 60px rgba(10,14,26,.30);
}
.cta-inner {
  padding: clamp(34px, 5vw, 52px) clamp(28px, 5vw, 56px);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
}
.cta-eyebrow {
  font-size: 11px; font-weight: 900;
  letter-spacing: 2.4px; text-transform: uppercase;
  color: rgba(255,180,180,.85);
  margin-bottom: 12px;
}
.cta-text h2 {
  font-family: "Space Grotesk", "Manrope", sans-serif;
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: #fff;
  margin: 0 0 8px;
  line-height: 1.1;
}
.cta-text p {
  font-size: 15px;
  color: rgba(255,255,255,.65);
  margin: 0;
}
.cta-btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 18px 32px;
  border-radius: 999px;
  background: #fff;
  color: #0a0e1a;
  font-weight: 800; font-size: 15px;
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(255,255,255,.18);
  transition: var(--t);
  white-space: nowrap;
  min-height: 52px;
}
.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(255,255,255,.28);
}
.cta-btn span { transition: transform .2s var(--ease); }
.cta-btn:hover span { transform: translateX(4px); }

@media (max-width: 760px) {
  .cta-inner { grid-template-columns: 1fr; }
  .cta-btn { justify-self: flex-start; }
}

/* ===== iPad Air landscape (1024-1200) — premium tweaks ===== */
@media (min-width: 1024px) and (max-width: 1200px) {
  .hero-premium { padding: 72px 48px 60px; }
  .hp-title { font-size: 56px; }
  .hp-stats { grid-template-columns: repeat(4,1fr); gap: 14px; }
  .why-grid { grid-template-columns: repeat(4,1fr); gap: 16px; }
  .why-card { padding: 24px 20px; }
  .explore-grid { grid-template-columns: repeat(3,1fr); gap: 16px; }
  .exp-content { padding: 24px 22px; min-height: 220px; }
  .exp-content h3 { font-size: 24px; }
}

/* ===== iPad portrait (760-900) ===== */
@media (min-width: 760px) and (max-width: 900px) and (orientation: portrait) {
  .hero-premium { padding: 60px 32px 48px; }
  .hp-title { font-size: 44px; }
  .hp-stats { grid-template-columns: repeat(2,1fr); }
  .why-grid { grid-template-columns: repeat(2,1fr); }
  .explore-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   32. PREMIUM INNER PAGES — Société / Gammes / Métrologie / Microscopie / KSD
   Shared component upgrades to match the cinematic homepage.
   ============================================================ */

/* ---- Page Title Strip → Mini-hero premium ---- */
.page-title-strip {
  position: relative;
  margin: -8px -8px 28px;
  padding: clamp(40px, 5.5vw, 68px) clamp(28px, 4.5vw, 56px) clamp(34px, 4.5vw, 52px);
  border-radius: 24px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 60% 80% at 90% 20%, rgba(229,0,18,.12), transparent 60%),
    radial-gradient(ellipse 50% 60% at 0% 100%, rgba(80,140,255,.08), transparent 65%),
    linear-gradient(135deg, #ffffff 0%, #f6f7fb 100%);
  border: 1px solid var(--border);
  box-shadow: 0 14px 40px rgba(15,21,36,.06);
  isolation: isolate;
}
.page-title-strip::before {
  content: '';
  position: absolute; inset: 0; z-index: 0;
  background-image:
    linear-gradient(rgba(15,21,36,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15,21,36,.035) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 0%, #000, transparent 75%);
  mask-image: radial-gradient(ellipse 80% 70% at 50% 0%, #000, transparent 75%);
  pointer-events: none;
}
.page-title-strip::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, transparent 0%, var(--red) 30%, #ff6a3d 70%, transparent 100%);
  z-index: 1;
}
.page-title-strip > * { position: relative; z-index: 2; }
.page-title-strip h1 {
  font-family: "Space Grotesk", "Manrope", sans-serif;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--tx);
  margin-bottom: 12px;
  background: linear-gradient(135deg, #0f1524 0%, #2a3550 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.page-title-strip p {
  font-size: clamp(14.5px, 1.2vw, 17px);
  color: var(--mu);
  max-width: 760px;
  line-height: 1.6;
  font-weight: 500;
}

/* ---- Cards → premium feel ---- */
.card {
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(15,21,36,.05);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 56px rgba(15,21,36,.12);
  border-color: rgba(229,0,18,.18);
}
.card-h {
  padding: 18px 24px;
  background: linear-gradient(180deg, #ffffff 0%, #fafbfd 100%);
}
.card-h h2 {
  font-family: "Space Grotesk", "Manrope", sans-serif;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.card-b { padding: 24px; }

/* ---- Metro / Microscopy cards (JS-rendered) ---- */
.metro-card {
  border-radius: 22px;
  border: 1px solid var(--border);
  box-shadow: 0 12px 36px rgba(15,21,36,.06);
  overflow: hidden;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
  position: relative;
}
.metro-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--red) 0%, #ff6a3d 50%, transparent 100%);
  opacity: 0;
  transition: opacity .3s var(--ease);
  z-index: 5;
}
.metro-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 70px rgba(15,21,36,.14);
}
.metro-card:hover::before { opacity: 1; }

.metro-header {
  padding: 24px 26px 20px;
  background: linear-gradient(180deg, #ffffff 0%, #f8f9fc 100%);
  border-bottom: 1px solid var(--border);
}
.metro-header h2 {
  font-family: "Space Grotesk", "Manrope", sans-serif;
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 800;
  letter-spacing: -0.025em;
  background: linear-gradient(135deg, #0f1524 0%, #2a3550 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.metro-header .sub {
  font-size: 14.5px;
  color: var(--mu);
  font-weight: 500;
  margin-top: 4px;
}

/* Pretty badges (imx/xm/wm/new) */
.mbadge {
  font-family: "Space Grotesk", "Manrope", sans-serif;
  font-weight: 800;
  letter-spacing: 0.6px;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 10.5px;
  text-transform: uppercase;
  box-shadow: 0 2px 6px rgba(15,21,36,.08);
}

/* KPI rows inside metro-card */
.metro-kpis {
  background: linear-gradient(180deg, #ffffff 0%, #fafbfd 100%);
}
.metro-kpi .mv {
  font-family: "Space Grotesk", "Manrope", sans-serif;
  font-weight: 800;
  letter-spacing: -0.02em;
}

/* ---- Range tab buttons → softer modern ---- */
.range-nav {
  border-radius: 20px;
  border: 1px solid var(--border);
  box-shadow: 0 10px 30px rgba(15,21,36,.05);
  background: linear-gradient(180deg, #ffffff 0%, #fafbfd 100%);
  padding: 14px 0;
}
.range-tab-btn {
  padding: 12px 20px;
  border-left: 3px solid transparent;
  font-size: 13.5px;
  letter-spacing: -0.01em;
  position: relative;
}
.range-tab-btn:hover {
  background: var(--surface-2);
  color: var(--red);
}
.range-tab-btn.active {
  background: linear-gradient(90deg, rgba(229,0,18,.10) 0%, rgba(229,0,18,.02) 100%);
  border-left-color: var(--red);
  color: var(--red);
  font-weight: 800;
}
.range-tab-btn.active::after {
  content: '';
  position: absolute;
  right: 14px; top: 50%;
  transform: translateY(-50%);
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 4px rgba(229,0,18,.12);
}
.range-tab-btn:active { transform: scale(0.98); }

/* Range panel polish */
.range-panel-header {
  padding-bottom: 18px;
  margin-bottom: 22px;
  border-bottom: 1px solid var(--border);
  position: relative;
}
.range-panel-header::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 0;
  width: 64px; height: 2px;
  background: linear-gradient(90deg, var(--red) 0%, #ff6a3d 100%);
}
.range-panel-title {
  font-family: "Space Grotesk", "Manrope", sans-serif;
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 800;
  letter-spacing: -0.025em;
  background: linear-gradient(135deg, #0f1524 0%, #2a3550 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1.08;
}

/* ---- Société : corp-band gallery ---- */
.corp-band {
  padding: 8px;
}
.corp-head {
  font-family: "Space Grotesk", "Manrope", sans-serif;
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #0f1524 0%, #2a3550 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 14px;
  line-height: 1.1;
}
.corp-lead {
  font-size: 15.5px;
  color: var(--mu);
  line-height: 1.65;
  font-weight: 500;
}
.corp-list li {
  padding: 6px 0;
  position: relative;
  padding-left: 22px;
}
.corp-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 14px;
  width: 12px; height: 2px;
  background: var(--red);
  border-radius: 1px;
}
.corp-fig {
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 14px 40px rgba(15,21,36,.10);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.corp-fig:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 60px rgba(15,21,36,.18);
}
.corp-cap {
  padding: 14px 18px;
  font-weight: 600;
  color: var(--mu);
  font-size: 13px;
  background: linear-gradient(180deg, #ffffff 0%, #fafbfd 100%);
  border-top: 1px solid var(--border);
}

/* ---- KSD hero polish (overrides inline <style> in ksd.html) ---- */
.ksd-hero {
  border-radius: 24px;
  box-shadow: 0 26px 70px rgba(15,21,36,.18);
}
.ksd-hero-overlay {
  background: linear-gradient(135deg, rgba(10,14,26,.78) 0%, rgba(229,0,18,.50) 100%) !important;
}
.ksd-hero-overlay::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 30%, #000, transparent 80%);
  mask-image: radial-gradient(ellipse 70% 70% at 50% 30%, #000, transparent 80%);
  pointer-events: none;
}
.ksd-hero-title {
  font-family: "Space Grotesk", "Manrope", sans-serif;
  font-size: clamp(32px, 5vw, 56px) !important;
  font-weight: 800 !important;
  letter-spacing: -0.035em !important;
  line-height: 1.02 !important;
}
.ksd-hero-sub {
  font-family: "Manrope", sans-serif;
  font-weight: 600 !important;
  font-size: clamp(15px, 1.4vw, 20px) !important;
  letter-spacing: -0.005em !important;
}
.ksd-badge {
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  background: rgba(229,0,18,.92) !important;
  box-shadow: 0 6px 20px rgba(229,0,18,.40);
}

/* ---- iPad Air landscape (1024–1200) ---- */
@media (min-width: 1024px) and (max-width: 1200px) {
  .page-title-strip { padding: 48px 36px 38px; }
  .page-title-strip h1 { font-size: 34px; }
  .metro-header { padding: 22px 22px 18px; }
  .range-panel-title { font-size: 26px; }
}

/* ---- iPad portrait (760–900) ---- */
@media (min-width: 760px) and (max-width: 900px) and (orientation: portrait) {
  .page-title-strip { padding: 36px 26px 30px; margin: -4px -4px 22px; }
  .page-title-strip h1 { font-size: 28px; }
  .metro-header h2 { font-size: 22px; }
}

/* Eyebrow tag for inner page titles */
.pts-eyebrow {
  display: inline-block;
  font-family: "Manrope", sans-serif;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  color: var(--red);
  background: var(--red-soft);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
  border: 1px solid rgba(229,0,18,.18);
}

/* ============================================================
   33. PREMIUM UX — Sticky header / page transition / skeleton / overscroll
   ============================================================ */

/* Disable iOS pull-to-refresh and rubber-band wobble */
html, body { overscroll-behavior-y: contain; }
body {
  -webkit-tap-highlight-color: transparent;
}

/* Sticky header condense */
.main-header {
  transition: height .25s var(--ease), background .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.main-header.scrolled {
  height: calc(var(--hdr-h) - 12px);
  background: rgba(255,255,255,.92);
  box-shadow: 0 6px 24px rgba(15,21,36,.10);
  border-bottom-color: rgba(15,21,36,.08);
}
.main-header.scrolled .logo-img { height: 24px; transition: height .25s var(--ease); }
.main-header .logo-img { transition: height .25s var(--ease); }

/* Page transition out */
body.page-leaving .views-wrap {
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity .22s var(--ease), transform .22s var(--ease);
}
body.page-leaving .main-header {
  pointer-events: none;
}

/* Skeleton loaders */
.skeleton-list {
  display: grid;
  gap: 22px;
}
.sk-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 28px 26px 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: 0 10px 30px rgba(15,21,36,.04);
  overflow: hidden;
  position: relative;
}
.sk-line, .sk-img {
  background: linear-gradient(90deg,
    rgba(15,21,36,.04) 0%,
    rgba(15,21,36,.10) 40%,
    rgba(15,21,36,.04) 80%);
  background-size: 280px 100%;
  background-repeat: no-repeat;
  background-position: -280px 0;
  border-radius: 8px;
  animation: skShimmer 1.4s linear infinite;
}
.sk-line {
  height: 18px;
}
.sk-l-80 { width: 60%; height: 26px; }
.sk-l-60 { width: 40%; }
.sk-img {
  height: 180px;
  border-radius: 14px;
  margin-top: 6px;
}
@keyframes skShimmer {
  0%   { background-position: -280px 0; }
  100% { background-position: calc(100% + 280px) 0; }
}

/* Lazy images fade-in */
img[loading="lazy"] {
  transition: opacity .35s var(--ease);
}
img[loading="lazy"]:not([src]) { opacity: 0; }

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  [data-animate] { opacity: 1 !important; transform: none !important; }
  .hp-aurora { animation: none !important; }
  .sk-line, .sk-img { animation: none !important; }
}

/* iPad: header stays a touch taller for legibility when scrolled */
@media (min-width: 760px) and (max-width: 1200px) {
  .main-header.scrolled { height: calc(var(--hdr-h) - 8px); }
}

/* ============================================================
   34. INNER HEROES — Société / Gammes / Métro / Micro
   Cinematic dark hero shared across inner pages (parity with homepage)
   ============================================================ */

.inner-hero {
  position: relative;
  margin: -8px -8px 32px;
  padding: clamp(48px, 6vw, 88px) clamp(28px, 5vw, 60px) clamp(40px, 5vw, 64px);
  border-radius: 26px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 60% at 85% 20%, rgba(229,0,18,.16), transparent 60%),
    radial-gradient(ellipse 60% 50% at 10% 90%, rgba(80,140,255,.10), transparent 65%),
    linear-gradient(135deg, #0a0e1a 0%, #131b30 60%, #0a0e1a 100%);
  color: #fff;
  isolation: isolate;
  box-shadow: 0 28px 70px rgba(10,14,26,.42);
}
.inner-hero::before {
  content: '';
  position: absolute; inset: -50%; z-index: 0;
  background:
    radial-gradient(circle at 30% 40%, rgba(229,0,18,.24), transparent 35%),
    radial-gradient(circle at 70% 60%, rgba(80,140,255,.14), transparent 40%);
  filter: blur(60px);
  opacity: .8;
  animation: auroraFloat 22s ease-in-out infinite;
  pointer-events: none;
}
.inner-hero::after {
  content: '';
  position: absolute; inset: 0; z-index: 1;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 30%, #000, transparent 80%);
  mask-image: radial-gradient(ellipse 70% 70% at 50% 30%, #000, transparent 80%);
  pointer-events: none;
}
.ih-inner { position: relative; z-index: 2; max-width: 1100px; }

.ih-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  color: rgba(255,255,255,.85);
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.16);
  padding: 7px 16px;
  border-radius: 999px;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  margin-bottom: 22px;
}

.ih-title {
  font-family: "Space Grotesk", "Manrope", sans-serif;
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.05;
  margin: 0 0 18px;
  color: #fff;
}
.ih-title .ih-accent {
  background: linear-gradient(135deg, #ff5566 0%, #e50012 50%, #ff8a3d 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.ih-title .ih-mu {
  color: rgba(255,255,255,.55);
  font-weight: 700;
}

.ih-lede {
  font-size: clamp(15px, 1.3vw, 18px);
  line-height: 1.65;
  color: rgba(255,255,255,.72);
  max-width: 760px;
  margin: 0;
}

/* Badges row (gammes/metro/micro/ksd) */
.ih-badges {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin-top: 22px;
}
.ih-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: -.005em;
  color: #fff;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.ih-badge::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #ff5566;
  box-shadow: 0 0 0 4px rgba(255,85,102,.18);
}

/* KPI strip inside hero (société) */
.ih-kpis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,.10);
}
.ih-kpi {
  padding: 4px 4px 4px 16px;
  border-left: 2px solid rgba(229,0,18,.55);
}
.ih-kpi-v {
  font-family: "Space Grotesk", "Manrope", sans-serif;
  font-size: clamp(22px, 2.6vw, 32px);
  font-weight: 800;
  letter-spacing: -.03em;
  color: #fff;
  line-height: 1;
  margin-bottom: 6px;
}
.ih-kpi-v small { font-size: .55em; color: rgba(255,255,255,.55); margin-left: 4px; font-weight: 600; }
.ih-kpi-l {
  font-size: 12.5px;
  color: rgba(255,255,255,.58);
  font-weight: 500;
  line-height: 1.4;
}

@media (max-width: 980px) { .ih-kpis { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 560px) { .ih-kpis { grid-template-columns: 1fr; } }

/* iPad portrait — compact */
@media (min-width: 760px) and (max-width: 900px) and (orientation: portrait) {
  .inner-hero { padding: 44px 28px 40px; }
  .ih-title { font-size: 36px; }
}
