/* ═══════════════════════════════════════════════════
   MSI — MÉCANIQUE SYSTÈME INDUSTRIEL
   Design System: "L'Atelier" — Cinématique Industriel Premium
   ═══════════════════════════════════════════════════ */

/* --- RESET & BASE --- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg: #0a0e14;
  --bg-deep: #02060b;
  --bg-card: #0d131c;
  --text: #e8eaed;
  --text-secondary: rgba(255,255,255,0.6);
  --accent: #1e88e5;
  --cta-green: #25D366;
  --border: rgba(255,255,255,0.08);
  --border-hover: rgba(255,255,255,0.18);

  --font-display: 'Archivo Black', sans-serif;
  --font-serif: 'Instrument Serif', serif;
  --font-ui: 'Archivo Narrow', sans-serif;
  --font-body: 'Archivo', sans-serif;

  --container: 1440px;
  --gutter: 64px;
}

html { scroll-behavior: smooth; overflow-x: hidden; max-width: 100%; }

body {
  font-family: var(--font-body);
  background: var(--bg); /* Fallback */
  color: var(--text);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* --- BACKGROUND VIDEO & OVERLAY --- */
.bg-video {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  pointer-events: none;
  will-change: transform;
  -webkit-appearance: none;
  appearance: none;
}

.bg-video::-webkit-media-controls,
.bg-video::-webkit-media-controls-enclosure,
.bg-video::-webkit-media-controls-panel,
.bg-video::-webkit-media-controls-overlay-enclosure,
.bg-video::-webkit-media-controls-overlay-play-button,
.bg-video::-webkit-media-controls-start-playback-button,
.bg-video::-webkit-media-controls-play-button,
.bg-video::-webkit-media-controls-timeline,
.bg-video::-webkit-media-controls-current-time-display,
.bg-video::-webkit-media-controls-time-remaining-display,
.bg-video::-webkit-media-controls-mute-button,
.bg-video::-webkit-media-controls-toggle-closed-captions-button,
.bg-video::-webkit-media-controls-volume-slider,
.bg-video::-webkit-media-controls-fullscreen-button {
  display: none !important;
  -webkit-appearance: none !important;
  appearance: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

/* Backup sélecteur générique */
video::-webkit-media-controls-overlay-play-button,
video::-webkit-media-controls-start-playback-button {
  display: none !important;
  opacity: 0 !important;
  pointer-events: none !important;
  -webkit-appearance: none !important;
}

.bg-image,
.bg-image-2 {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  pointer-events: none;
  transition: opacity 0.8s ease;
}
.bg-image-2 { opacity: 0; }

.bg-overlay {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    rgba(10,14,20,0.55) 0%,
    rgba(10,14,20,0.35) 40%,
    rgba(10,14,20,0.55) 70%,
    rgba(10,14,20,0.75) 100%
  );
}

/* Ensure all content sits above the video and overlay */
.nav, .hero, section, .footer {
  position: relative;
  z-index: 2;
}


img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; font-family: inherit; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  position: relative;
  z-index: 2;
}

/* --- LABEL / EYEBROW STYLE --- */
.label {
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-secondary);
}
.label .accent { color: var(--accent); }
.triangle { color: var(--accent); margin-right: 6px; }

/* --- SECTION SUBTITLE --- */
.section-subtitle {
  font-family: var(--font-ui);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-secondary);
  margin-bottom: 48px;
}
.section-subtitle .accent { color: var(--accent); }

/* --- GLASS PANEL --- */
.glass-panel {
  background: rgba(10,14,20,0.5);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.06);
  padding: 32px 36px;
  margin-top: 16px;
}

/* --- TYPOGRAPHY --- */
.h1-display {
  font-family: var(--font-display);
  font-size: clamp(64px, 8vw, 124px);
  line-height: 1.05;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  font-feature-settings: 'tnum';
}
.h1-display .serif-line {
  font-family: var(--font-serif);
  font-style: italic;
  text-transform: none;
  font-size: 0.85em;
  font-weight: 400;
  letter-spacing: -0.02em;
  display: block;
  color: var(--text);
  display: block;
}
.h1-display .accent-line { color: var(--accent); display: block; }

.h2-mixed {
  font-family: var(--font-display);
  font-size: clamp(36px, 4.5vw, 64px);
  line-height: 0.92;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}
.h2-mixed .serif-part {
  font-family: var(--font-serif);
  font-style: italic;
  text-transform: none;
  font-weight: 400;
  letter-spacing: -0.01em;
  font-size: 0.88em;
}
.h2-mixed .accent-part { color: var(--accent); }

/* --- BUTTONS --- */
.btn {
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 16px 32px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.btn-wa {
  background: var(--cta-green);
  color: #000;
  width: 100%;
  justify-content: center;
}
.btn-wa:hover { background: #1fb855; box-shadow: 0 16px 48px rgba(37,211,102,0.25); }
.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-hover);
  justify-content: center;
}
.btn-outline:hover { border-color: var(--text); background: rgba(255,255,255,0.04); }
.btn-wa-sm {
  background: var(--cta-green);
  color: #000;
  padding: 12px 24px;
}
.btn-wa-sm:hover { background: #1fb855; }
.btn-outline-sm {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-hover);
  padding: 12px 24px;
}
.btn-outline-sm:hover { border-color: var(--text); }

/* --- 1. STICKY BAR --- */
.sticky-bar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(2,6,11,0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--gutter);
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border);
}
.sticky-bar .dot {
  display: inline-block;
  width: 6px; height: 6px;
  background: var(--cta-green);
  border-radius: 50%;
  margin: 0 6px;
  animation: pulse-dot 2s ease-in-out infinite;
}
.sticky-bar .year { color: var(--accent); }
.sticky-bar-left {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.55);
}
.sticky-bar-logo {
  height: 16px;
  width: auto;
  object-fit: contain;
  margin-right: 4px;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

/* --- 2. NAV --- */
.nav {
  position: fixed; top: 28px; left: 0; right: 0; z-index: 99;
  background: rgba(10,14,20,0.85);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  padding: 16px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav-logo-icon {
  height: 36px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
}
.nav-logo-divider {
  width: 1px;
  height: 24px;
  background-color: var(--border);
}
.nav-logo-text {
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--text-main);
  line-height: 1.2;
}

/* Back Link (Pages métiers) */
.back-link { 
  font-family: var(--font-ui); 
  font-size: 11px; 
  font-weight: 600; 
  color: var(--accent); 
  text-transform: uppercase; 
  text-decoration: none; 
  letter-spacing: 0.12em; 
  transition: color 0.3s; 
  margin-right: 24px; 
  display: flex; 
  align-items: center; 
  gap: 8px; 
}
.back-link:hover { color: #fff; }

.nav-menu {
  display: flex; gap: 40px;
  list-style: none;
}
.nav-menu a {
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-secondary);
  transition: color 0.3s;
}
.nav-menu a:hover { color: var(--text); }
.nav-menu .num { color: var(--text-secondary); opacity: 0.5; margin-right: 6px; }
.nav-actions { display: flex; gap: 12px; align-items: center; }

/* --- 3. HERO --- */
.hero {
  margin-top: 92px;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: transparent;
  border-bottom: 1px solid var(--border);
}
.hero-content {
  padding: 80px 0 80px 80px;
  max-width: 680px;
}
.hero-content .label { margin-bottom: 32px; }
.hero-content .h1-display { margin-bottom: 32px; }
.hero-desc {
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 680px;
  line-height: 1.6;
  margin-bottom: 40px;
}
.hero-ctas { display: flex; flex-direction: column; gap: 12px; max-width: 480px; }
.hero-friction {
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-secondary);
  opacity: 0.6;
  margin-top: 20px;
}

}

/* --- 4. STATS BAR --- */
.stats-bar {
  padding: 64px 0;
  border-bottom: 1px solid var(--border);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  text-align: center;
}
.stat-item {
  padding: 24px 16px;
  position: relative;
}
.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0; top: 50%;
  transform: translateY(-50%);
  width: 1px; height: 80px;
  background: var(--border);
}
.stat-number {
  font-family: var(--font-display);
  font-size: clamp(40px, 4.5vw, 64px);
  letter-spacing: -0.03em;
  font-feature-settings: 'tnum';
  line-height: 1;
  margin-bottom: 12px;
}
.stat-number .accent { color: var(--accent); }
.stat-number .serif {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 0.6em;
}
.stat-label {
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

/* --- 5. SECTION MÉTIERS --- */
.section-metiers {
  padding: 96px 0;
  border-bottom: 1px solid var(--border);
}
.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 56px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border);
}
.section-header-right { text-align: right; }

.metier-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
}
.metier-card {
  background: rgba(13,19,28,0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  transition: border-color 0.4s, background 0.4s;
  overflow: hidden;
}
.metier-card:hover { 
  border-color: var(--accent); 
  background: rgba(13,19,28,0.8);
}
.metier-card-img {
  position: relative;
  height: 220px;
  overflow: hidden;
}
.metier-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(0.5);
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.metier-card:hover .metier-card-img img { transform: scale(1.05); }
.metier-num {
  position: absolute;
  top: 16px; right: 20px;
  font-family: var(--font-display);
  font-size: 36px;
  color: rgba(255,255,255,0.25);
  letter-spacing: -0.03em;
}
.metier-card-body { padding: 28px; }
.metier-name {
  font-family: var(--font-display);
  font-size: 28px;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.metier-sub {
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.metier-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 24px;
}
.metier-link {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-secondary);
  padding-top: 20px;
  border-top: 1px solid var(--border);
  transition: color 0.3s;
}
.metier-link:hover { color: var(--accent); }
.metier-link .arrow { color: var(--accent); }

/* --- 5b. SECTION RÉFÉRENCES --- */
.section-references {
  padding: 96px 0;
  border-bottom: 1px solid var(--border);
}
.references-subtitle {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 48px;
  max-width: 600px;
}
.ref-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
}
.ref-card {
  background: rgba(13,19,28,0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  padding: 40px 32px;
  position: relative;
  transition: border-color 0.4s, background 0.4s;
  overflow: hidden;
}
.ref-card:hover {
  border-color: var(--accent);
  background: rgba(30,136,229,0.04);
}
.ref-num {
  font-family: var(--font-display);
  font-size: 36px;
  color: rgba(255,255,255,0.08);
  letter-spacing: -0.03em;
  position: absolute;
  top: 16px;
  right: 20px;
}
.ref-card:hover .ref-num { color: rgba(30,136,229,0.2); }
.ref-name {
  font-family: var(--font-display);
  font-size: 28px;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
  line-height: 1;
}
.ref-sector {
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

/* --- 6. SECTION FONDATEUR --- */
.section-fondateur {
  border-bottom: 1px solid var(--border);
}
.fondateur-content {
  padding: 80px var(--gutter);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.fondateur-content .label { margin-bottom: 24px; }
.fondateur-content .h2-mixed { margin-bottom: 32px; }
.fondateur-quote {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.2;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 32px;
  max-width: 520px;
  position: relative;
  padding-left: 24px;
  border-left: 3px solid var(--accent);
}
.fondateur-body {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 48px;
  max-width: 520px;
}
.fondateur-creds {
  display: flex;
  gap: 48px;
  margin-bottom: 32px;
}
.cred-item {}
.cred-num {
  font-family: var(--font-display);
  font-size: 56px;
  color: var(--accent);
  letter-spacing: -0.03em;
  line-height: 1;
  font-feature-settings: 'tnum';
}
.cred-num-text {
  font-family: var(--font-display);
  font-size: 28px;
  color: var(--accent);
  letter-spacing: -0.02em;
  line-height: 1;
  text-transform: uppercase;
}
.stat-number-text {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 40px);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 12px;
}
.cred-label {
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-top: 8px;
}
.fondateur-sig {
  font-family: var(--font-ui);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

/* --- 7. CLOSING CTA --- */
.section-cta {
  position: relative;
  padding: 120px 0 96px;
  overflow: hidden;
}
.section-cta-bg {
  display: none;
}
.section-cta .container { position: relative; z-index: 2; }
.section-cta .label { margin-bottom: 24px; }
.section-cta .h2-mixed {
  font-size: clamp(48px, 6vw, 88px);
  margin-bottom: 64px;
  max-width: 900px;
}
.cta-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
}
.cta-card {
  background: rgba(13,19,28,0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.cta-card-wa { border-color: rgba(37,211,102,0.2); background: rgba(37,211,102,0.08); }
.cta-card-icon {
  width: 48px; height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
}
.cta-card-wa .cta-card-icon { background: var(--cta-green); color: #000; }
.cta-card-email .cta-card-icon { background: rgba(255,255,255,0.08); color: var(--text); }
.cta-card-title {
  font-family: var(--font-display);
  font-size: 28px;
  text-transform: uppercase;
  letter-spacing: -0.02em;
}
.cta-card-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}
.cta-card-contact {
  font-family: var(--font-ui);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

/* --- 8. FOOTER --- */
.footer {
  padding: 56px var(--gutter) 32px;
  border-top: 1px solid var(--border);
}
.footer-top {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}
.footer-brand {}
.footer-logo {
  height: 40px;
  width: auto;
  object-fit: contain;
  margin-bottom: 16px;
}
.footer-brand-pitch {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 360px;
}
.footer-col-title {
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 12px; }
.footer-links a {
  font-size: 13px;
  color: var(--text-secondary);
  transition: color 0.3s;
}
.footer-links a:hover { color: var(--text); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  font-family: var(--font-ui);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

/* --- ANIMATIONS --- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 600ms cubic-bezier(0.22,1,0.36,1),
              transform 600ms cubic-bezier(0.22,1,0.36,1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 100ms; }
.reveal-delay-2 { transition-delay: 200ms; }
.reveal-delay-3 { transition-delay: 300ms; }

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
  :root { --gutter: 32px; }
  .hero-content { padding: 64px var(--gutter); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2)::after { display: none; }
  .metier-grid { grid-template-columns: 1fr; }
  .ref-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-cards { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .nav-menu { display: none; }
}

@media (max-width: 768px) {
  /* Video → two static images (fade between them via JS at 50% scroll) */
  .bg-video { display: none; }
  .bg-image { display: block; opacity: 1; }
  .bg-image-2 { display: block; }
  body { background-color: #0a0e14; }

  /* Disable all scroll-reveal animations */
  .reveal { opacity: 1; transform: none; transition: none; }
  .reveal-delay-1, .reveal-delay-2, .reveal-delay-3 { transition-delay: 0ms; }

  /* Typography */
  .h1-display { font-size: clamp(32px, 8vw, 48px); }
  body { font-size: 15px; }

  /* Touch targets */
  .btn { min-height: 44px; }

  /* CTA section — reset any old background overrides */
  .section-cta { padding: 48px 0; }
  .section-cta-bg { display: none; }
  .cta-cards { grid-template-columns: 1fr; gap: 16px !important; }
  .cta-card {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  /* Nav & bars */
  .sticky-bar { background: var(--bg-deep); justify-content: center; }
  .sticky-bar > span:last-child { display: none; }
  .nav-logo-text, .nav-logo-divider { display: none; }
  .btn-outline-sm { display: none; }
  .btn-wa-sm { padding: 10px 16px; font-size: 10px; }
  .nav { padding: 12px var(--gutter); }
  .nav-actions { gap: 8px; }

  .back-link { font-size: 0; margin-right: 0; }
  .back-link::after { content: '← RETOUR'; font-size: 11px; display: inline-block; }

  .section-interventions { padding: 64px var(--gutter); }
  .footer-top { gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; justify-content: center; }
}

@media (max-width: 640px) {
  :root { --gutter: 20px; }
  .sticky-bar { font-size: 9px; padding: 0 16px; height: 32px; }
  .sticky-bar-left { white-space: nowrap; overflow-x: auto; padding-bottom: 2px; scrollbar-width: none; }
  .sticky-bar-left::-webkit-scrollbar { display: none; }
  .nav { top: 32px; }
  
  .h1-display { font-size: 40px; text-align: center; max-width: 100%; overflow-wrap: break-word; }
  .h1-display .serif-line { padding-left: 0; margin-top: 8px; display: block; }
  .h2-mixed { font-size: 32px; max-width: 100%; overflow-wrap: break-word; word-break: break-word; }

  .section-header { flex-direction: column; align-items: flex-start; gap: 20px; }
  .section-header-right { text-align: left; }
  
  .hero-content { padding: 48px 20px; max-width: 100%; text-align: center; }
  .hero-content .label { justify-content: center; display: flex; }
  .hero-content .glass-panel {
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: none;
    padding: 24px 0 0 0;
  }
  .hero-desc { margin-left: auto; margin-right: auto; }
  .hero-ctas { margin-left: auto; margin-right: auto; }
  
  .hero-ctas .btn-outline {
    background: rgba(10,14,20,0.6); /* Keep a slight background so text is readable against the video */
  }
  
  .stat-number { font-size: 36px; }
  .stat-item { padding: 16px; }
  .stat-item::after { display: none; } /* Remove all vertical separators on small screens */
  
  .fondateur-creds { flex-direction: column; gap: 24px; }
  .cred-num { font-size: 40px; }
  
  .section-cta .h2-mixed { font-size: 32px; margin-bottom: 40px; }
  .ref-grid { grid-template-columns: 1fr; }
  
  .footer-top { grid-template-columns: 1fr; text-align: center; }
  .footer-brand { display: flex; flex-direction: column; align-items: center; }
  .footer-brand-pitch { text-align: center; }
  
  .cta-card { padding: 24px; }
  .cta-card-title { font-size: 24px; }
  .metier-card-body, .intervention-card { padding: 24px; }
  .metier-name, .intervention-card-title { font-size: 22px; }
  
  .hero { margin-top: 100px; }
  .hero-band { margin-top: 100px; height: 240px; }
  .hero-band .h1-display { font-size: 36px; }
  .hero-band-content { padding: 0 var(--gutter); }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .sticky-bar .dot { animation: none; }
}
