/* ============================================
   MCE TRANSPORT & LOGISTIQUE · Main Stylesheet
   Brand Identity: Luxury Industrial
   ============================================ */

/* --- Google Fonts · Poppins chargée via <link> dans le layout (non bloquant) --- */

/* --- CSS Custom Properties --- */
:root {
  --green-olive: #8AAD30;
  --green-dark: #5C7E13;
  --green-eco: #00B91B;
  --black-charcoal: #1A1A1A;
  --grey-dark: #393939;
  --grey-medium: #6B6B6B;
  --grey-light: #E6E6E6;
  --cream: #F9F2F4;
  --orange: #FF8000;
  --red: #FF0000;
  --blue-globe: #1B6B93;
  --white: #FFFFFF;

  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Poppins', sans-serif;

  --container-max: 1200px;
  --header-height: 80px;
  --transition: 0.3s ease;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.1);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.15);
  --radius: 6px;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.7;
  color: var(--black-charcoal);
  background: var(--white);
  overflow-x: hidden;
}
body.no-scroll { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
/* <em> sert ici de marqueur typographique (accent vert, chiffres romains),
   jamais d'italique : on neutralise le style par défaut du navigateur. */
em, i, address, cite, dfn, var { font-style: normal; }
a { color: inherit; text-decoration: none; transition: color var(--transition); }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; font-size: 1rem; }

/* --- Typographie homogène : évite le « mot seul » en fin de ligne --- */
h1, h2, h3, h4, h5, h6,
.section-title, .section-subtitle,
.hero-title, .hero-tag, .hero-eyebrow,
blockquote {
  text-wrap: balance;        /* équilibre les lignes des titres/blocs courts */
}
p, li, figcaption, .stat-cap, .portrait-attr {
  text-wrap: pretty;         /* empêche l'orpheline (1 mot seul sur la dernière ligne) */
}

/* --- Utilities --- */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.sr-only:focus {
  position: fixed; top: 0; left: 0; width: auto; height: auto;
  padding: 12px 20px; margin: 0; overflow: visible; clip: auto;
  background: var(--green-olive); color: var(--white); z-index: 10000;
  font-size: 1rem;
}
.container { max-width: var(--container-max); margin: 0 auto; padding: 0 24px; }
.text-green { color: var(--green-olive); }
.olive-line {
  width: 60px; height: 3px; background: var(--green-olive);
  margin: 16px auto 0; border-radius: 2px;
}
.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  text-align: center;
  color: var(--black-charcoal);
  margin-bottom: 8px;
}
.section-subtitle {
  text-align: center;
  color: var(--grey-medium);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 16px auto 0;
}

/* --- Animations --- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes pulse {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(10px); opacity: 0.5; }
}
@keyframes slideDown {
  from { transform: translateY(-100%); }
  to { transform: translateY(0); }
}
.animate-on-scroll { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease, transform 0.6s ease; }
.animate-on-scroll.animated { opacity: 1; transform: translateY(0); }

/* --- Buttons --- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 32px; border-radius: var(--radius);
  font-weight: 600; font-size: 0.95rem;
  transition: all var(--transition);
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.btn-primary {
  background: var(--green-olive); color: var(--white); border: 2px solid var(--green-olive);
}
.btn-primary:hover { background: var(--green-dark); border-color: var(--green-dark); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-secondary {
  background: transparent; color: var(--green-olive); border: 2px solid var(--green-olive);
}
.btn-secondary:hover { background: var(--green-olive); color: var(--white); transform: translateY(-2px); }
.btn-white {
  background: transparent; color: var(--white); border: 2px solid var(--white);
}
.btn-white:hover { background: var(--white); color: var(--black-charcoal); }
.btn-danger { background: var(--red); color: var(--white); border: 2px solid var(--red); }
.btn-danger:hover { background: #cc0000; }

/* ============================================
   HEADER
   ============================================ */
.header {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
  background: var(--white);
  transition: all var(--transition);
}
.header-top-bar {
  height: 3px; background: var(--green-olive); width: 100%;
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--header-height); gap: 28px;
}
.header.scrolled {
  box-shadow: var(--shadow-sm);
}
.header.scrolled .header-inner { height: 64px; }
.header.header-transparent { background: transparent; }
.header.header-transparent .header-top-bar { background: rgba(138,173,48,0.7); }
.header.header-transparent .logo-text,
.header.header-transparent .logo-subtitle,
.header.header-transparent .nav-link { color: var(--white); }
.header.header-transparent .nav-link:hover,
.header.header-transparent .nav-link.active { color: var(--green-olive); }
.header.header-transparent.scrolled {
  background: var(--white);
}
.header.header-transparent.scrolled .logo-text,
.header.header-transparent.scrolled .logo-subtitle { color: var(--black-charcoal); }
.header.header-transparent.scrolled .nav-link { color: var(--black-charcoal); }
.header.header-transparent.scrolled .header-top-bar { background: var(--green-olive); }

/* Logo */
.logo { display: flex; flex-direction: column; text-decoration: none; }
.logo-text {
  font-family: var(--font-heading); font-size: 2.2rem; font-weight: 700;
  color: var(--black-charcoal); line-height: 1; letter-spacing: 0.05em;
}
.logo-subtitle {
  font-family: var(--font-heading); font-size: 0.75rem; font-weight: 400;
  color: var(--grey-dark); letter-spacing: 0.15em;
  text-transform: uppercase; margin-top: 2px;
}
.logo-hanger { font-size: 0.65rem; margin: 0 4px; }

/* Nav */
.nav-menu { display: flex; gap: 22px; align-items: center; flex-wrap: nowrap; }
.nav-menu-cta { display: none; }
.nav-link {
  font-size: 0.88rem; font-weight: 500; color: var(--black-charcoal);
  position: relative; padding: 4px 0; white-space: nowrap;
}
.nav-link::after {
  content: ''; position: absolute; bottom: -2px; left: 0;
  width: 0; height: 2px; background: var(--green-olive);
  transition: width var(--transition);
}
.nav-link:hover::after, .nav-link.active::after { width: 100%; }
.nav-link:hover, .nav-link.active { color: var(--green-dark); }

.header-cta { font-size: 0.85rem; padding: 10px 22px; }

/* Hamburger */
.nav-toggle { display: none; flex-direction: column; gap: 5px; width: 28px; padding: 4px 0; z-index: 1001; }
.nav-toggle span {
  display: block; height: 2px; width: 100%; background: var(--black-charcoal);
  transition: all var(--transition); border-radius: 2px;
}
.nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  justify-content: center; text-align: center;
  background: var(--black-charcoal);
  color: var(--white); padding: 0; overflow: hidden;
}
.hero-video-wrap {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  overflow: hidden; z-index: 1;
}
.hero-video {
  width: 100%; height: 100%; object-fit: cover;
}
.hero-video-fallback {
  display: none;
  width: 100%; height: 100%; object-fit: cover;
}
/* Thin olive line at bottom of video hero */
.hero::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 100%; height: 4px; background: var(--green-olive);
  z-index: 3;
}
@media (max-width: 768px) {
  .hero-video { display: none; }
  .hero-video-fallback { display: block; }
}
.hero-inner { max-width: 800px; }
.hero h1 {
  font-family: var(--font-heading); font-size: clamp(3rem, 7vw, 5rem);
  font-weight: 700; line-height: 1.1; margin-bottom: 20px;
}
.hero h1 .text-green { color: var(--green-olive); }
.hero .hero-subtitle {
  font-size: clamp(1.1rem, 2.5vw, 1.5rem); font-weight: 300;
  margin-bottom: 12px; letter-spacing: 0.03em;
}
.hero .hero-text {
  font-size: 1rem; opacity: 0.85; max-width: 600px;
  margin: 0 auto 40px; line-height: 1.8;
}
.hero-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.scroll-indicator {
  position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%);
  animation: pulse 2s infinite; font-size: 1.5rem; opacity: 0.7;
}

/* Page Hero (shorter) */
.page-hero {
  position: relative; min-height: 50vh; display: flex; align-items: center;
  justify-content: center; text-align: center;
  background: linear-gradient(135deg, rgba(26,26,26,0.75), rgba(57,57,57,0.65)),
              url('../img/hero-logistique.jpg') center/cover no-repeat;
  color: var(--white); padding: 120px 24px 60px;
}
.page-hero-transport {
  background: linear-gradient(135deg, rgba(26,26,26,0.65), rgba(57,57,57,0.55)),
              url('../img/hero-transport-bg.jpg') center/cover no-repeat;
}
.page-hero-logistique {
  background: linear-gradient(135deg, rgba(26,26,26,0.75), rgba(57,57,57,0.65)),
              url('../img/hero-logistique.jpg') center/cover no-repeat;
}
.page-hero-engagements {
  background: linear-gradient(135deg, rgba(26,26,26,0.7), rgba(92,126,19,0.3)),
              url('../img/hero-engagements.jpg') center/cover no-repeat;
}
.page-hero-about {
  background: linear-gradient(135deg, rgba(26,26,26,0.75), rgba(57,57,57,0.65)),
              url('../img/hero-about.jpg') center/cover no-repeat;
}
.page-hero-contact {
  background: linear-gradient(135deg, rgba(26,26,26,0.75), rgba(57,57,57,0.65)),
              url('../img/hero-contact.jpg') center/cover no-repeat;
}
.page-hero h1 {
  font-family: var(--font-heading); font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700; margin-bottom: 12px; color: var(--white);
}
.page-hero p {
  font-size: 1.15rem; opacity: 0.85; max-width: 600px; margin: 0 auto;
}
.page-hero-sm { min-height: 35vh; }

/* ============================================
   SECTIONS
   ============================================ */
.section { padding: 100px 0; }
.section-cream { background: var(--cream); }
.section-dark { background: var(--black-charcoal); color: var(--white); }
.section-dark .section-title { color: var(--white); }
.section-dark .olive-line { background: var(--green-olive); }

/* --- Stats --- */
.stats { padding: 80px 0; background: var(--black-charcoal); }
.stats-grid {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 24px; text-align: center;
}
.stat-item { color: var(--white); }
.stat-number {
  font-family: var(--font-heading); font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 700; color: var(--green-olive); line-height: 1.2;
}
.stat-suffix { font-family: var(--font-heading); color: var(--green-olive); }
.stat-label {
  font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.1em;
  color: rgba(255,255,255,0.7); margin-top: 8px;
}

/* --- Service Cards --- */
.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px;
  margin-top: 50px;
}
.service-card {
  background: var(--white); padding: 36px 28px; border-radius: var(--radius);
  border-left: 4px solid var(--green-olive); box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}
.service-card:hover {
  transform: translateY(-4px); box-shadow: var(--shadow-lg);
}
.service-icon { font-size: 2.5rem; margin-bottom: 16px; }
.service-card img:first-child { border-radius: 4px; margin-bottom: 12px; }
.service-card h3 {
  font-family: var(--font-heading); font-size: 1.4rem; font-weight: 700;
  margin-bottom: 12px; color: var(--black-charcoal);
}
.service-card p { color: var(--grey-dark); font-size: 0.95rem; line-height: 1.7; margin-bottom: 16px; }
.service-link {
  color: var(--green-olive); font-weight: 600; font-size: 0.9rem;
  display: inline-flex; align-items: center; gap: 6px;
}
.service-link:hover { color: var(--green-dark); gap: 10px; }

/* --- Pillars --- */
.pillars-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px;
  margin-top: 50px;
}
.pillar {
  text-align: center; padding: 32px 20px;
}
.pillar-icon {
  width: 80px; height: 80px; border-radius: 50%;
  background: rgba(138,173,48,0.1); display: flex; align-items: center;
  justify-content: center; margin: 0 auto 20px; font-size: 1.8rem;
  overflow: hidden;
}
.pillar h3 {
  font-family: var(--font-heading); font-size: 1.3rem; font-weight: 700;
  margin-bottom: 12px;
}
.pillar p { font-size: 0.9rem; color: var(--grey-dark); line-height: 1.7; }

/* --- Partner --- */
.partner-section { padding: 60px 0; text-align: center; }
.partner-section p { max-width: 700px; margin: 0 auto; font-size: 1.05rem; color: var(--grey-dark); }
.partner-link {
  display: inline-block; margin-top: 20px; color: var(--green-olive);
  font-weight: 600; font-size: 1rem;
}
.partner-link:hover { color: var(--green-dark); }

/* --- CTA Banner --- */
.cta-banner {
  padding: 80px 24px; text-align: center;
  background: linear-gradient(135deg, var(--black-charcoal), #2a2a2a);
  color: var(--white);
}
.cta-banner h2 {
  font-family: var(--font-heading); font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 700; margin-bottom: 24px; max-width: 700px; margin-left: auto; margin-right: auto;
}

/* --- Timeline --- */
.timeline { position: relative; max-width: 800px; margin: 50px auto 0; padding-left: 40px; }
.timeline::before {
  content: ''; position: absolute; left: 15px; top: 0; bottom: 0;
  width: 3px; background: var(--green-olive); border-radius: 2px;
}
.timeline-item { position: relative; margin-bottom: 40px; padding-left: 30px; }
.timeline-item::before {
  content: ''; position: absolute; left: -32px; top: 6px;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--green-olive); border: 3px solid var(--white);
  box-shadow: 0 0 0 3px var(--green-olive);
}
.timeline-year {
  font-family: var(--font-heading); font-size: 1.6rem; font-weight: 700;
  color: var(--green-olive); margin-bottom: 6px;
}
.timeline-text { color: var(--grey-dark); font-size: 0.95rem; }

/* --- Security Table --- */
.security-table { width: 100%; border-collapse: collapse; margin-top: 30px; }
.security-table thead { background: var(--green-olive); color: var(--white); }
.security-table th {
  padding: 14px 20px; text-align: left; font-weight: 600; font-size: 0.9rem;
  letter-spacing: 0.03em;
}
.security-table td {
  padding: 14px 20px; border-bottom: 1px solid var(--grey-light); font-size: 0.9rem;
}
.security-table tbody tr:nth-child(even) { background: var(--cream); }
.security-table tbody tr:hover { background: rgba(138,173,48,0.08); }
.table-wrapper { overflow-x: auto; border-radius: var(--radius); box-shadow: var(--shadow-sm); }

/* --- PSDS --- */
.psds-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 30px; }
.psds-item { text-align: center; padding: 24px 16px; }
.psds-letter {
  font-family: var(--font-heading); font-size: 3rem; font-weight: 700;
  color: var(--green-olive); line-height: 1;
}
.psds-word { font-weight: 600; margin-top: 8px; font-size: 1rem; }

/* --- Features List --- */
.features-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 30px; }
.feature-item {
  display: flex; gap: 12px; align-items: flex-start; padding: 16px;
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-sm);
}
.feature-check { color: var(--green-olive); font-size: 1.2rem; flex-shrink: 0; margin-top: 2px; }
.feature-item p { font-size: 0.9rem; color: var(--grey-dark); }

/* --- Specialties Globe Visual --- */
.specialties-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px;
}
.specialty-badge {
  display: flex; align-items: center; gap: 12px; padding: 20px;
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}
.specialty-badge:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.specialty-num {
  width: 40px; height: 40px; border-radius: 50%; background: var(--green-olive);
  color: var(--white); display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading); font-weight: 700; font-size: 1.1rem; flex-shrink: 0;
}
.specialty-badge h3 { font-family: var(--font-heading); font-size: 1.1rem; font-weight: 600; }

/* --- Intro --- */
.intro-section { padding: 80px 0; }
.intro-text {
  max-width: 800px; margin: 0 auto; font-size: 1.1rem; line-height: 1.9;
  color: var(--grey-dark); text-align: center;
}
.intro-text strong { color: var(--black-charcoal); }

/* --- Content Section with Image --- */
.content-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
  margin-top: 50px;
}
.content-row.reverse { direction: rtl; }
.content-row.reverse > * { direction: ltr; }
.content-text h2 {
  font-family: var(--font-heading); font-size: 1.8rem; font-weight: 700;
  margin-bottom: 16px;
}
.content-text p { color: var(--grey-dark); margin-bottom: 16px; font-size: 0.95rem; }
.content-img {
  width: 100%; height: 350px; border-radius: var(--radius);
  overflow: hidden; position: relative;
}
.content-img img {
  width: 100%; height: 100%; object-fit: cover;
}
.content-img-placeholder {
  width: 100%; height: 350px; background: var(--grey-light); border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center; color: var(--grey-medium);
  font-size: 0.85rem; overflow: hidden;
}

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-grid {
  display: grid; grid-template-columns: 3fr 2fr; gap: 60px;
  margin-top: 50px;
}
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block; font-size: 0.85rem; font-weight: 600;
  margin-bottom: 6px; color: var(--grey-dark);
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%; padding: 12px 16px; border: 1px solid var(--grey-light);
  border-radius: var(--radius); font-size: 0.95rem;
  transition: border-color var(--transition);
  background: var(--white);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none; border-color: var(--green-olive);
  box-shadow: 0 0 0 3px rgba(138,173,48,0.15);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-error {
  font-size: 0.8rem; color: var(--red); margin-top: 4px; display: none;
}
.form-error.visible { display: block; }
.form-group.has-error input,
.form-group.has-error textarea,
.form-group.has-error select { border-color: var(--red); }
.form-success {
  display: none; padding: 20px; background: rgba(138,173,48,0.1);
  border: 1px solid var(--green-olive); border-radius: var(--radius);
  color: var(--green-dark); text-align: center; margin-top: 20px;
}
.form-success.visible { display: block; }
.btn-submit { width: 100%; padding: 16px; font-size: 1rem; }
.contact-info h2 {
  font-family: var(--font-heading); font-size: 1.6rem; font-weight: 700;
  margin-bottom: 24px;
}
.contact-info-item { margin-bottom: 20px; }
.contact-info-item h4 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--grey-medium); margin-bottom: 4px; }
.contact-info-item p { font-size: 0.95rem; }
.contact-info-item a { color: var(--green-olive); }
.contact-info-item a:hover { color: var(--green-dark); }
.map-placeholder {
  width: 100%; height: 280px; background: var(--grey-light); border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  color: var(--grey-medium); font-size: 0.85rem; margin-top: 24px;
}

/* ============================================
   MENTIONS LEGALES
   ============================================ */
.legal-content { max-width: 800px; margin: 0 auto; }
.legal-content h2 {
  font-family: var(--font-heading); font-size: 1.6rem; font-weight: 700;
  margin: 40px 0 12px; padding-top: 20px; border-top: 1px solid var(--grey-light);
}
.legal-content h2:first-child { border-top: none; margin-top: 0; }
.legal-content p { color: var(--grey-dark); margin-bottom: 12px; font-size: 0.95rem; }

/* ============================================
   FOOTER
   ============================================ */
.footer { background: var(--black-charcoal); color: rgba(255,255,255,0.8); padding-top: 0; }
.footer-top-bar { height: 3px; background: var(--green-olive); }
.footer-inner {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px;
  padding-top: 60px; padding-bottom: 40px;
}
.footer-logo {
  font-family: var(--font-heading); font-size: 2rem; font-weight: 700;
  color: var(--white); margin-bottom: 12px;
}
.footer-col h4 {
  color: var(--white); font-size: 0.9rem; text-transform: uppercase;
  letter-spacing: 0.1em; margin-bottom: 16px;
}
.footer-col p { font-size: 0.85rem; margin-bottom: 8px; line-height: 1.6; }
.footer-col ul li { margin-bottom: 8px; }
/* Implantations listées dans la colonne Contact.
   Pas de couleur imposée : le footer est sombre par défaut et clair en
   mode editorial, donc on laisse le contexte décider. */
.footer-site { margin-bottom: 12px; opacity: 0.75; }
.footer-site strong {
  display: inline-block; font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.72rem;
  margin-bottom: 1px;
}
.footer-col a { font-size: 0.85rem; opacity: 0.8; transition: all var(--transition); }
.footer-col a:hover { opacity: 1; color: var(--green-olive); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1); padding: 20px 0;
}
.footer-bottom .container {
  display: flex; justify-content: space-between; align-items: center;
}
.footer-bottom p { font-size: 0.8rem; opacity: 0.6; }
.footer-bottom a { font-size: 0.8rem; opacity: 0.6; }
.footer-bottom a:hover { opacity: 1; color: var(--green-olive); }

/* ============================================
   SCROLL TO TOP
   ============================================ */
.scroll-top-btn {
  position: fixed; bottom: 30px; right: 30px; width: 46px; height: 46px;
  border-radius: 50%; background: var(--green-olive); color: var(--white);
  font-size: 1.2rem; display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md); opacity: 0; visibility: hidden;
  transition: all var(--transition); z-index: 900;
}
.scroll-top-btn.visible { opacity: 1; visibility: visible; }
.scroll-top-btn:hover { background: var(--green-dark); transform: translateY(-3px); }

/* ============================================
   BREADCRUMBS
   ============================================ */
.breadcrumbs {
  padding: 12px 0; font-size: 0.8rem; color: rgba(255,255,255,0.7);
}
.breadcrumbs a { color: rgba(255,255,255,0.7); }
.breadcrumbs a:hover { color: var(--white); }
.breadcrumbs span { margin: 0 8px; }

/* ============================================
   RESPONSIVE · Tablet (768px)
   ============================================ */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .pillars-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(3, 1fr); gap: 32px; }
  .psds-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .content-row { grid-template-columns: 1fr; gap: 40px; }
  .content-row.reverse { direction: ltr; }
  .features-list { grid-template-columns: 1fr; }
  .specialties-grid { grid-template-columns: repeat(2, 1fr); }

  /* Hamburger dès la tablette · 9 nav items + CTA débordent en dessous de 1100px */
  .nav-toggle { display: flex; }
  .header .header-cta { display: none; }
  .nav-menu {
    position: fixed; top: 0; left: 0; width: 100%; height: 100vh;
    background: #FAFAF8; flex-direction: column; justify-content: center; align-items: center;
    padding: 0 40px; gap: 0;
    transform: translateY(-100%); opacity: 0;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
    z-index: 999; pointer-events: none;
    overflow-y: auto;
  }
  .nav-menu.nav-open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav-menu li { opacity: 0; transform: translateY(-6px); transition: opacity 0.3s ease, transform 0.3s ease; }
  .nav-menu.nav-open li { opacity: 1; transform: translateY(0); }
  .nav-menu .nav-link {
    padding: 18px 0; font-size: clamp(1.5rem, 4.5vw, 2rem); font-weight: 300;
    letter-spacing: 0.18em; text-transform: uppercase;
    border-bottom: none; text-align: center; width: auto; color: var(--ink-deep);
  }
  .nav-menu .nav-link::after { display: none; }
  .nav-menu .nav-link.active,
  .nav-menu .nav-link:hover { color: var(--green-olive); }
  .nav-menu-cta {
    display: flex; justify-content: center;
    margin-top: 12px; padding-top: 22px;
    border-top: 1px solid rgba(17,17,17,0.1); width: 100%;
  }
  .nav-menu-cta a {
    display: inline-block; padding: 14px 36px;
    background: var(--ink-deep); color: var(--paper-warm);
    font-size: 0.7rem; letter-spacing: 0.22em; text-transform: uppercase;
    font-family: var(--font-heading); font-weight: 500;
    text-decoration: none; border: 1px solid var(--ink-deep);
    transition: background 0.3s ease, color 0.3s ease;
  }
  .nav-menu-cta a:hover { background: var(--green-olive); border-color: var(--green-olive); color: var(--paper-warm); }
}

@media (max-width: 768px) {
  :root { --header-height: 70px; }
  .section { padding: 60px 0; }

  /* Header mobile */
  .nav-toggle { display: flex; }
  .nav-menu {
    position: fixed; top: 0; left: 0; width: 100%; height: 100vh;
    background: #FAFAF8; flex-direction: column; justify-content: center; align-items: center;
    padding: 0 40px; gap: 0;
    transform: translateY(-100%); opacity: 0;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
    z-index: 999; pointer-events: none;
  }
  .nav-menu.nav-open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav-menu li { opacity: 0; transform: translateY(-6px); transition: opacity 0.3s ease, transform 0.3s ease; }
  .nav-menu.nav-open li { opacity: 1; transform: translateY(0); }
  .nav-menu.nav-open li:nth-child(1) { transition-delay: 0.18s; }
  .nav-menu.nav-open li:nth-child(2) { transition-delay: 0.23s; }
  .nav-menu.nav-open li:nth-child(3) { transition-delay: 0.28s; }
  .nav-menu.nav-open li:nth-child(4) { transition-delay: 0.33s; }
  .nav-menu.nav-open li:nth-child(5) { transition-delay: 0.38s; }
  .nav-menu.nav-open li:nth-child(6) { transition-delay: 0.43s; }
  .nav-menu.nav-open li:nth-child(7) { transition-delay: 0.48s; }
  .nav-menu.nav-open li:nth-child(8) { transition-delay: 0.53s; }
  .nav-menu.nav-open li:nth-child(9) { transition-delay: 0.58s; }
  .nav-menu.nav-open li:nth-child(10) { transition-delay: 0.65s; }
  /* CTA mobile dans l'overlay */
  .nav-menu-cta {
    display: flex; justify-content: center;
    margin-top: 12px; padding-top: 22px;
    border-top: 1px solid rgba(17,17,17,0.1); width: 100%;
  }
  .nav-menu-cta a {
    display: inline-block; padding: 14px 36px;
    background: var(--ink-deep); color: var(--paper-warm);
    font-size: 0.7rem; letter-spacing: 0.22em; text-transform: uppercase;
    font-family: var(--font-heading); font-weight: 500;
    text-decoration: none; border: 1px solid var(--ink-deep);
    transition: background 0.3s ease, color 0.3s ease;
  }
  .nav-menu-cta a:hover { background: var(--green-olive); border-color: var(--green-olive); color: var(--black-deep); }
  .nav-menu .nav-link {
    padding: 18px 0; font-size: clamp(1.6rem, 7vw, 2rem); font-weight: 300;
    letter-spacing: 0.18em; text-transform: uppercase;
    border-bottom: none; text-align: center; width: auto; color: var(--ink-deep);
  }
  .nav-menu .nav-link::after { display: none; }
  .nav-menu .nav-link.active { color: var(--green-olive); }
  .nav-menu .nav-link:hover { color: var(--green-olive); }
  /* ensure link color stays dark on overlay regardless of header transparency */
  .header.header-transparent .nav-menu .nav-link,
  .header.header-transparent.scrolled .nav-menu .nav-link { color: var(--ink-deep); }
  .header.header-transparent .nav-menu .nav-link.active,
  .header.header-transparent.scrolled .nav-menu .nav-link.active { color: var(--green-olive); }
  .header-cta { display: none; }

  /* transparent header mobile: toggle spans */
  .header.header-transparent .nav-toggle span { background: var(--white); }
  .header.header-transparent.scrolled .nav-toggle span { background: var(--black-charcoal); }
  /* toggle X always visible over the cream overlay */
  .nav-toggle.open span { background: var(--black-charcoal); }
  .header.header-transparent .nav-toggle.open span { background: var(--black-charcoal); }

  /* Hero mobile */
  .hero { min-height: 90vh; padding: 100px 20px 60px; }
  .hero h1 { font-size: 2.8rem; }
  .hero-btns { flex-direction: column; align-items: center; }
  .hero-btns .btn { width: 100%; max-width: 280px; }

  /* Stats mobile */
  .stats-grid { grid-template-columns: repeat(2, 1fr); }

  /* Services mobile */
  .services-grid { grid-template-columns: 1fr; }
  .pillars-grid { grid-template-columns: 1fr; }
  .psds-grid { grid-template-columns: repeat(2, 1fr); }
  .specialties-grid { grid-template-columns: 1fr; }

  /* Footer mobile */
  .footer-inner { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom .container { flex-direction: column; gap: 8px; text-align: center; }

  /* Content rows */
  .content-row { gap: 30px; }
  .content-img { height: 250px; }

  /* Table */
  .security-table th, .security-table td { padding: 10px 12px; font-size: 0.8rem; }

  /* Timeline */
  .timeline { padding-left: 30px; }
  .timeline::before { left: 10px; }
  .timeline-item { padding-left: 20px; }
  .timeline-item::before { left: -27px; width: 12px; height: 12px; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 2.2rem; }
  .page-hero h1 { font-size: 1.8rem; }
  .section-title { font-size: 1.8rem; }
  .stat-number { font-size: 2rem; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .container { padding: 0 16px; }
}

/* ============================================================================
   ╔══════════════════════════════════════════════════════════════════════════╗
   ║                                                                          ║
   ║     M C E   ·   E D I T O R I A L   L A Y E R                            ║
   ║     Award-level luxe éditorial sombre · Démo client mai 2026             ║
   ║                                                                          ║
   ╚══════════════════════════════════════════════════════════════════════════╝
   ============================================================================ */

/* --- Extended Tokens --- */
:root {
  --black-deep: #0A0A0A;
  --black-ink: #111111;
  --black-soft: #1A1A1A;
  --green-glow: #B5DD4A;
  --olive-soft: rgba(138,173,48,0.08);
  --olive-mid:  rgba(138,173,48,0.18);
  --olive-line: rgba(138,173,48,0.35);
  --cream-warm: #F5EDE8;
  --paper:      #ECE4DE;
  --gold:       #C9A66B;

  --ease-luxe: cubic-bezier(0.6, 0.05, 0.05, 1);
  --ease-soft: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);

  --gutter-xl: clamp(40px, 6vw, 96px);
  --section-pad: clamp(80px, 12vw, 180px);

  --font-display: 'Poppins', sans-serif;
}

/* --- Grain noise overlay (SVG inline, ~1ko) --- */
.grain-layer {
  pointer-events: none; position: fixed; inset: 0;
  z-index: 9998; opacity: 0.05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

/* --- Body in editorial mode --- */
body.editorial { background: var(--black-deep); color: var(--cream-warm); }

/* --- Curseur --- */
/* Le curseur personnalisé (point + anneau vert) a été retiré : on garde le
   curseur natif du système, avec la main sur tout ce qui est cliquable. */
body.editorial a,
body.editorial button,
body.editorial .magnetic,
body.editorial .h-pin-card,
body.editorial .gallery-item { cursor: pointer; }

/* --- Page Loader (intro) --- */
.intro-veil {
  position: fixed; inset: 0; z-index: 99999;
  background: var(--black-deep);
  display: flex; align-items: center; justify-content: center;
  transition: clip-path 1.1s var(--ease-luxe);
  clip-path: inset(0 0 0 0);
  overflow: hidden;
  pointer-events: none;
}
.intro-veil.gone { clip-path: inset(0 0 100% 0); pointer-events: none; }
.intro-mark {
  display: flex; align-items: center; justify-content: center;
}
/* Le logo seul : le globe se pose, sans lettrage. */
.intro-logo {
  width: clamp(100px, 20vw, 190px); height: auto; display: block;
  transform-origin: 50% 50%;
  animation: introLogo 1.15s var(--ease-out-expo) forwards;
}
@keyframes introLogo {
  from { opacity: 0; transform: scale(0.78) rotate(-14deg); }
  60%  { opacity: 1; }
  to   { opacity: 1; transform: scale(1) rotate(0deg); }
}

/* --- Editorial header (transparent over dark hero) --- */
body.editorial .header { background: transparent; }
body.editorial .header.scrolled {
  background: rgba(10,10,10,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
body.editorial .header-top-bar { background: var(--green-olive); }
body.editorial .nav-link {
  color: var(--cream-warm); font-size: 0.7rem;
  text-transform: uppercase; letter-spacing: 0.12em; font-weight: 400;
  white-space: nowrap;
}
body.editorial .nav-link:hover, body.editorial .nav-link.active { color: var(--green-glow); }
body.editorial .nav-link::after { background: var(--green-glow); }
body.editorial .nav-toggle span { background: var(--cream-warm); }
body.editorial .header-cta {
  background: transparent; color: var(--cream-warm);
  border: 1px solid rgba(245,237,232,0.4);
  font-size: 0.65rem; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 11px 18px; border-radius: 0; white-space: nowrap;
  flex-shrink: 0;
}
body.editorial .header-cta:hover {
  background: var(--green-olive); border-color: var(--green-olive);
  color: var(--black-deep); transform: none;
}
body.editorial .header.scrolled .nav-link,
body.editorial .header.scrolled .logo-text { color: var(--ink-deep); }

/* --- Editorial Hero --- */
.hero-editorial {
  position: relative; min-height: 100vh;
  background: var(--black-deep); color: var(--cream-warm);
  overflow: hidden; display: flex; align-items: flex-end;
  padding: 0 0 var(--gutter-xl);
}
.hero-editorial .hero-bg {
  position: absolute; inset: 0; z-index: 0;
}
.hero-editorial .hero-bg video,
.hero-editorial .hero-bg img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.06);
  will-change: transform;
}
.hero-editorial .hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 50% 100%, transparent 0%, rgba(10,10,10,0.7) 70%),
    linear-gradient(180deg, rgba(10,10,10,0.55) 0%, rgba(10,10,10,0.35) 40%, rgba(10,10,10,0.9) 100%);
}
.hero-editorial .hero-content {
  position: relative; z-index: 2;
  max-width: var(--container-max); margin: 0 auto;
  padding: 0 24px; width: 100%;
  display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 40px;
}
.hero-editorial .hero-eyebrow {
  font-size: 0.7rem; letter-spacing: 0.4em; text-transform: uppercase;
  color: var(--green-glow); margin-bottom: 24px;
  display: flex; align-items: center; gap: 14px;
}
.hero-editorial .hero-eyebrow::before {
  content: ''; width: 40px; height: 1px; background: var(--green-glow);
}
.hero-editorial h1 {
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 9vw, 8rem);
  font-weight: 500;
  line-height: 1.04; letter-spacing: -0.025em;
  margin: 0 0 32px;
  font-style: normal;
}
.hero-editorial h1 em {
  font-style: normal; font-weight: 400;
  color: var(--green-olive);
}
.hero-editorial .hero-tag {
  max-width: 480px; font-size: 1rem; line-height: 1.6;
  color: rgba(245,237,232,0.75);
  margin: 0 0 36px;
}
.hero-editorial .hero-actions {
  display: flex; gap: 18px; flex-wrap: wrap;
}
.hero-editorial .hero-meta {
  text-align: right; font-size: 0.7rem;
  letter-spacing: 0.25em; text-transform: uppercase;
  color: rgba(245,237,232,0.5); line-height: 2;
}
.hero-editorial .hero-meta strong {
  display: block; font-family: var(--font-display);
  font-size: 2.4rem; font-weight: 500; letter-spacing: -0.01em;
  color: var(--cream-warm); margin-bottom: 6px;
  text-transform: none;
}
.hero-editorial .hero-scroll {
  position: absolute; bottom: 30px; left: 50%;
  transform: translateX(-50%); z-index: 3;
  font-size: 0.65rem; letter-spacing: 0.35em;
  text-transform: uppercase; color: rgba(245,237,232,0.5);
  display: flex; flex-direction: column; align-items: center; gap: 14px;
}
.hero-editorial .hero-scroll::after {
  content: ''; width: 1px; height: 60px;
  background: linear-gradient(to bottom, var(--green-olive), transparent);
  animation: scrollPulse 2.2s infinite var(--ease-soft);
}
@keyframes scrollPulse {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  50.01% { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* --- Side ticker (vertical text rail) --- */
.side-ticker {
  position: fixed; top: 50%; transform: translateY(-50%) rotate(-90deg);
  transform-origin: left center; left: 30px; z-index: 50;
  font-size: 0.65rem; letter-spacing: 0.4em; text-transform: uppercase;
  color: rgba(245,237,232,0.4); pointer-events: none;
  white-space: nowrap;
}
.side-ticker::before {
  content: ''; display: inline-block; width: 20px; height: 1px;
  background: var(--green-olive); vertical-align: middle; margin-right: 14px;
}

/* --- Buttons editorial --- */
.btn-editorial {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 18px 30px; border-radius: 0;
  font-size: 0.75rem; letter-spacing: 0.25em; text-transform: uppercase;
  font-weight: 500;
  background: transparent; color: var(--cream-warm);
  border: 1px solid rgba(245,237,232,0.4);
  transition: all 0.5s var(--ease-luxe);
  position: relative; overflow: hidden;
  cursor: pointer;
}
.btn-editorial::before {
  content: ''; position: absolute; inset: 0;
  background: var(--green-olive); z-index: -1;
  transform: translateY(101%);
  transition: transform 0.5s var(--ease-luxe);
}
.btn-editorial:hover { color: var(--black-deep); border-color: var(--green-olive); }
.btn-editorial:hover::before { transform: translateY(0); }
.btn-editorial .btn-arrow {
  display: inline-block; transition: transform 0.5s var(--ease-luxe);
}
.btn-editorial:hover .btn-arrow { transform: translateX(6px); }

.btn-editorial-filled {
  background: var(--green-olive); color: var(--black-deep);
  border-color: var(--green-olive);
}
.btn-editorial-filled::before { background: var(--cream-warm); }
.btn-editorial-filled:hover { color: var(--black-deep); border-color: var(--cream-warm); }

/* --- Section Editorial --- */
.section-editorial {
  padding: var(--section-pad) 0;
  background: var(--black-deep); color: var(--cream-warm);
  position: relative; overflow: hidden;
}
.section-editorial.section-light {
  background: var(--cream-warm); color: var(--black-deep);
}
.section-editorial .container { position: relative; z-index: 2; }

.section-head {
  display: grid; grid-template-columns: auto 1fr; gap: 60px;
  align-items: end; margin-bottom: 80px;
  border-bottom: 1px solid rgba(245,237,232,0.1);
  padding-bottom: 30px;
}
.section-editorial.section-light .section-head { border-color: rgba(26,26,26,0.12); }
.section-head .section-num {
  font-family: var(--font-display); font-size: 0.85rem;
  letter-spacing: 0.3em; color: var(--green-olive);
  font-style: normal;
}
.section-head .section-h {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 5rem); font-weight: 500;
  line-height: 1; letter-spacing: -0.02em;
}
.section-head .section-h em { font-style: normal; color: var(--green-olive); font-weight: 400; }
.section-head .section-eyebrow {
  font-size: 0.65rem; letter-spacing: 0.4em; text-transform: uppercase;
  color: rgba(245,237,232,0.5); margin-bottom: 18px;
  display: flex; align-items: center; gap: 14px;
}
.section-editorial.section-light .section-head .section-eyebrow { color: rgba(26,26,26,0.55); }
.section-head .section-eyebrow::before {
  content: ''; width: 30px; height: 1px; background: var(--green-olive);
}

/* --- Split text & reveal --- */
.split-line {
  display: inline-block; overflow: hidden;
  line-height: inherit; padding: 0.08em 0.04em 0.22em; vertical-align: top;
}
.split-line > span {
  display: inline-block; transform: translateY(110%);
  transition: transform 1.1s var(--ease-out-expo);
  transition-delay: var(--d, 0s);
  animation: splitLineFallback 0s linear 3s forwards;
}
/* display:inline et non inline-block : un inline-block est une boîte atomique,
   le navigateur s'autorise donc à couper juste après — et la ponctuation collée
   au </em> (« une chaîne complète. ») retombait seule à la ligne suivante.
   En inline, « complète. » redevient un seul mot pour l'algorithme de césure. */
.split-line em {
  display: inline; font-style: normal;
  padding-right: 0.04em;
}
.in-view .split-line > span { transform: translateY(0); animation: none; }
@keyframes splitLineFallback {
  to { transform: translateY(0); }
}

.reveal-up {
  opacity: 0; transform: translateY(40px);
  transition: opacity 1s var(--ease-out-expo), transform 1s var(--ease-out-expo);
  transition-delay: var(--d, 0s);
  animation: revealUpFallback 0s linear 3s forwards;
}
.in-view .reveal-up { opacity: 1; transform: translateY(0); animation: none; }
@keyframes revealUpFallback {
  to { opacity: 1; transform: translateY(0); }
}

.reveal-mask {
  position: relative; overflow: hidden;
}
.reveal-mask::after {
  content: ''; position: absolute; inset: 0;
  background: var(--green-olive);
  transform-origin: left center; transform: scaleX(1);
  transition: transform 1.1s var(--ease-luxe);
  transition-delay: var(--d, 0s);
}
.in-view .reveal-mask::after { transform: scaleX(0); transform-origin: right center; }

.reveal-img {
  clip-path: inset(0 100% 0 0);
  transition: clip-path 1.4s var(--ease-luxe);
  transition-delay: var(--d, 0s);
}
.in-view .reveal-img { clip-path: inset(0 0 0 0); }

/* --- Magnetic wrapper (JS adds inline transform) --- */
.magnetic { display: inline-block; will-change: transform; }

/* --- Editorial Stats --- */
.stats-editorial {
  padding: var(--section-pad) 0;
  background: var(--black-deep); color: var(--cream-warm);
  border-top: 1px solid rgba(245,237,232,0.08);
  border-bottom: 1px solid rgba(245,237,232,0.08);
}
.stats-editorial-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
}
.stat-edit {
  padding: 60px 30px;
  border-right: 1px solid rgba(245,237,232,0.08);
  position: relative;
}
.stat-edit:nth-child(3n) { border-right: none; }
.stat-edit:nth-child(n+4) { border-top: 1px solid rgba(245,237,232,0.08); }
.stat-edit .stat-num {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 8vw, 6.5rem); font-weight: 500;
  line-height: 0.95; letter-spacing: -0.03em;
  color: var(--cream-warm);
  display: flex; align-items: baseline; gap: 4px;
}
.stat-edit .stat-num em {
  font-style: normal; color: var(--green-olive); font-size: 0.5em;
  margin-left: 4px;
}
.stat-edit .stat-cap {
  font-size: 0.7rem; letter-spacing: 0.3em;
  text-transform: uppercase; color: rgba(245,237,232,0.5);
  margin-top: 18px;
  border-top: 1px solid var(--green-olive);
  padding-top: 18px; max-width: 220px;
}

/* --- Implantations · l'axe Paris · Lyon · Marseille --- */
.implant {
  padding: var(--section-pad) 0;
  background: var(--black-ink); color: var(--cream-warm);
  border-top: 1px solid rgba(245,237,232,0.08);
  border-bottom: 1px solid rgba(245,237,232,0.08);
  position: relative; overflow: hidden;
}
/* body.editorial habille .section-head en clair : on le repasse en sombre ici */
body.editorial .implant .section-head { border-bottom-color: rgba(245,237,232,0.15); }
body.editorial .implant .section-head .section-h { color: var(--cream-warm); }
body.editorial .implant .section-head .section-h em { color: var(--green-glow); }
body.editorial .implant .section-head .section-eyebrow { color: rgba(245,237,232,0.55); }
body.editorial .implant .section-head .section-num { color: var(--green-olive); }

.implant-intro {
  max-width: 820px;
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  line-height: 1.75; color: rgba(245,237,232,0.72);
  margin-bottom: 60px;
}
/* body.editorial strong/h3 (plus bas dans la feuille) repassent le texte en
   sombre : on préfixe pour rester lisible sur le fond noir de la section. */
body.editorial .implant-intro strong { color: var(--cream-warm); font-weight: 500; }
.implant-intro em { font-style: normal; color: var(--green-glow); }

.implant-axis { margin-bottom: 20px; }
.implant-axis-line {
  display: block; height: 1px; width: 100%;
  background: linear-gradient(90deg,
    transparent, var(--olive-line) 10%,
    var(--green-olive) 50%,
    var(--olive-line) 90%, transparent);
}

.implant-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.implant-card {
  padding: 0 44px;
  border-left: 1px solid rgba(245,237,232,0.1);
  position: relative;
}
.implant-card:first-child { padding-left: 0; border-left: none; }
.implant-card:last-child { padding-right: 0; }
/* pastille posée sur la ligne d'axe, au plus près de la carte */
.implant-card::before {
  content: ''; position: absolute; top: -24px; left: 0;
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--green-olive);
  box-shadow: 0 0 0 5px rgba(138,173,48,0.14);
}
.implant-card-head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 14px;
  padding-bottom: 18px; margin-bottom: 24px;
  border-bottom: 1px solid rgba(245,237,232,0.1);
}
.implant-num {
  font-size: 0.72rem; letter-spacing: 0.3em; text-transform: uppercase;
  color: rgba(245,237,232,0.45);
}
.implant-num em { font-style: normal; color: var(--green-olive); font-weight: 500; }
.implant-surface {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.4vw, 2.2rem); font-weight: 500;
  letter-spacing: -0.02em; color: var(--cream-warm);
  display: flex; align-items: baseline; gap: 3px; white-space: nowrap;
}
.implant-surface em { font-style: normal; font-size: 0.45em; color: var(--green-olive); }
body.editorial .implant-card h3 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 500;
  letter-spacing: -0.03em; line-height: 1;
  color: var(--cream-warm); margin-bottom: 10px;
}
.implant-region {
  font-size: 0.7rem; letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--green-olive); margin-bottom: 22px;
}
.implant-card p {
  font-size: 0.95rem; line-height: 1.75;
  color: rgba(245,237,232,0.6); margin-bottom: 26px;
}
.implant-card address {
  font-style: normal; font-size: 0.8rem; line-height: 1.7;
  letter-spacing: 0.06em; color: rgba(245,237,232,0.85);
  padding-top: 18px; border-top: 1px solid var(--olive-line);
}
.implant-foot {
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  margin-top: 70px; padding-top: 30px;
  border-top: 1px solid rgba(245,237,232,0.15);
  font-size: 0.7rem; letter-spacing: 0.3em; text-transform: uppercase;
  color: rgba(245,237,232,0.5);
}
@media (max-width: 1024px) {
  .implant-grid { grid-template-columns: 1fr; gap: 0; }
  .implant-axis { display: none; }
  .implant-card {
    padding: 44px 0; border-left: none;
    border-top: 1px solid rgba(245,237,232,0.1);
  }
  .implant-card:first-child { padding-top: 0; border-top: none; }
  .implant-card::before { display: none; }
  .implant-intro { margin-bottom: 20px; }
}
@media (max-width: 560px) {
  .implant-foot { flex-direction: column; align-items: flex-start; gap: 10px; }
}

/* --- Manifesto --- */
.manifesto {
  padding: var(--section-pad) 0;
  background: var(--black-ink); color: var(--cream-warm);
  position: relative;
}
.manifesto-text {
  max-width: 1100px; margin: 0 auto;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 3.6rem);
  font-weight: 400; line-height: 1.2;
  letter-spacing: -0.01em;
  text-align: left;
}
.manifesto-text em { font-style: normal; color: var(--green-olive); }
.manifesto-text .word {
  display: inline-block; opacity: 0.18;
  transition: opacity 0.6s ease;
  margin-right: 0.18em;
}
.manifesto-text .word.on { opacity: 1; }
.manifesto-sign {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 80px; padding-top: 30px;
  border-top: 1px solid rgba(245,237,232,0.15);
  font-size: 0.7rem; letter-spacing: 0.3em; text-transform: uppercase;
  color: rgba(245,237,232,0.5);
}

/* --- Marquee --- */
.marquee {
  padding: 50px 0; background: var(--black-deep);
  color: var(--cream-warm); overflow: hidden;
  border-top: 1px solid rgba(245,237,232,0.08);
  border-bottom: 1px solid rgba(245,237,232,0.08);
}
.marquee-track {
  display: flex; gap: 80px; width: max-content;
  animation: marqueeScroll 40s linear infinite;
}
.marquee-item {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 4rem); font-weight: 400;
  letter-spacing: -0.01em; white-space: nowrap;
  color: var(--cream-warm); opacity: 0.7;
  transition: opacity 0.4s, color 0.4s;
  display: flex; align-items: center; gap: 80px;
}
.marquee-item:hover { opacity: 1; color: var(--green-glow); }
/* Pas de séparateur entre les mots : l'espacement du .marquee-track suffit. */
@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to { transform: translateX(calc(-50% - 40px)); }
}

/* --- Header au-dessus du Horizontal Pin (titre des spécialités) --- */
.h-pin-header {
  padding: var(--section-pad) 0 30px;
  background: var(--paper-warm);
}
body.editorial .h-pin-header { background: var(--paper-warm); }

/* --- Horizontal Pinned Specialities --- */
.h-pin {
  position: relative;
  height: 500vh;
  background: var(--black-deep);
}
.h-pin-sticky {
  position: sticky; top: 0; height: 100vh; overflow: hidden;
  display: flex; align-items: center;
}
.h-pin-track {
  display: flex; gap: 60px; padding: 0 8vw;
  will-change: transform;
}
.h-pin-card {
  flex: 0 0 auto;
  width: 60vw; max-width: 720px; min-width: 320px;
  height: 70vh; position: relative; overflow: hidden;
  background: var(--black-ink);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 50px;
}
.h-pin-card-bg {
  position: absolute; inset: 0; z-index: 0;
  transition: transform 1.2s var(--ease-luxe);
}
.h-pin-card-bg img {
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0.6; transform: scale(1.05);
  transition: transform 1.2s var(--ease-luxe), opacity 0.6s;
}
.h-pin-card:hover .h-pin-card-bg img { transform: scale(1.12); opacity: 0.75; }
.h-pin-card::before {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(10,10,10,0.1) 0%, rgba(10,10,10,0.85) 100%);
}
.h-pin-content { position: relative; z-index: 2; color: var(--cream-warm); }
.h-pin-num {
  font-family: var(--font-display); font-size: 0.85rem;
  font-style: normal; color: var(--green-olive);
  letter-spacing: 0.2em; margin-bottom: 14px;
}
.h-pin-card h3 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.6rem); font-weight: 500;
  letter-spacing: -0.02em; line-height: 1;
  margin-bottom: 18px;
}
.h-pin-card p {
  font-size: 0.95rem; line-height: 1.7;
  color: rgba(245,237,232,0.75); max-width: 480px;
  margin-bottom: 24px;
}
.h-pin-card .pin-link {
  font-size: 0.7rem; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--green-glow);
  display: inline-flex; align-items: center; gap: 12px;
  border-bottom: 1px solid var(--green-glow);
  padding-bottom: 6px;
  transition: gap 0.4s var(--ease-out-expo);
}
.h-pin-card .pin-link:hover { gap: 18px; }
.h-pin-progress {
  position: absolute; bottom: 40px; left: 8vw; right: 8vw;
  height: 1px; background: rgba(245,237,232,0.1); z-index: 3;
}
.h-pin-progress-bar {
  height: 100%; background: var(--green-olive); width: 0%;
  transition: width 0.1s linear;
}
.h-pin-caption {
  position: absolute; top: 50%; transform: translateY(-50%);
  right: 8vw; z-index: 3; pointer-events: none;
  font-size: 0.65rem; letter-spacing: 0.35em; text-transform: uppercase;
  color: rgba(245,237,232,0.4);
  writing-mode: vertical-rl;
}
.h-pin-intro {
  position: absolute; top: 12vh; left: 8vw; z-index: 3;
}
.h-pin-intro .section-eyebrow {
  font-size: 0.65rem; letter-spacing: 0.4em; text-transform: uppercase;
  color: rgba(245,237,232,0.5);
  display: flex; align-items: center; gap: 14px; margin-bottom: 18px;
}
.h-pin-intro .section-eyebrow::before {
  content: ''; width: 30px; height: 1px; background: var(--green-olive);
}
.h-pin-intro h2 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 500;
  letter-spacing: -0.02em; line-height: 1; color: var(--cream-warm);
  max-width: 520px;
}
.h-pin-intro h2 em { font-style: normal; color: var(--green-olive); }

/* --- Night Paris feature section --- */
.night-paris {
  position: relative; min-height: 100vh;
  overflow: hidden; color: var(--cream-warm);
  display: flex; align-items: center;
}
.night-paris-bg {
  position: absolute; inset: 0; z-index: 0;
}
.night-paris-bg img,
.night-paris-bg video {
  width: 100%; height: 100%; object-fit: cover;
}
.night-paris-bg::after {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(10,10,10,0.92) 0%, rgba(10,10,10,0.55) 60%, transparent 100%),
    linear-gradient(180deg, rgba(10,10,10,0.4) 0%, rgba(10,10,10,0.6) 100%);
}
.night-paris-content {
  position: relative; z-index: 2;
  max-width: var(--container-max); margin: 0 auto;
  padding: 0 24px; width: 100%;
}
.night-paris-content .eyebrow {
  font-size: 0.7rem; letter-spacing: 0.4em; text-transform: uppercase;
  color: var(--green-glow); margin-bottom: 28px;
  display: flex; align-items: center; gap: 14px;
}
.night-paris-content .eyebrow::before {
  content: ''; width: 40px; height: 1px; background: var(--green-glow);
}
.night-paris-content h2 {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 6rem); font-weight: 500;
  letter-spacing: -0.025em; line-height: 1;
  max-width: 880px; margin-bottom: 40px;
}
.night-paris-content h2 em { font-style: normal; color: var(--green-olive); }
.night-paris-content p {
  font-size: 1.05rem; line-height: 1.8;
  color: rgba(245,237,232,0.8); max-width: 520px;
  margin-bottom: 36px;
}
.night-paris-meta {
  display: flex; gap: 60px; margin-top: 60px;
}
.np-meta-item .np-num {
  font-family: var(--font-display);
  font-size: 2.4rem; font-weight: 500; color: var(--green-olive);
  line-height: 1; margin-bottom: 10px;
}
.np-meta-item .np-lbl {
  font-size: 0.7rem; letter-spacing: 0.25em; text-transform: uppercase;
  color: rgba(245,237,232,0.55);
}

/* --- Testimonials Editorial --- */
.testi-edit {
  padding: var(--section-pad) 0;
  background: var(--cream-warm); color: var(--black-deep);
}
.testi-edit .testi-quote {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 3.2rem); font-weight: 400;
  line-height: 1.3; letter-spacing: -0.01em;
  max-width: 1000px; margin: 0 auto;
}
.testi-edit .testi-quote::before {
  content: '"'; font-size: 4em; line-height: 0.5;
  color: var(--green-olive); display: inline-block; vertical-align: -0.2em;
  margin-right: 0.1em;
}
.testi-edit .testi-author {
  margin-top: 50px; padding-top: 30px;
  border-top: 1px solid rgba(26,26,26,0.15);
  display: flex; justify-content: space-between; align-items: center;
  max-width: 1000px; margin-left: auto; margin-right: auto;
  font-size: 0.7rem; letter-spacing: 0.3em; text-transform: uppercase;
  color: rgba(26,26,26,0.6);
}
.testi-edit .testi-author strong {
  display: block; font-family: var(--font-display);
  font-size: 1.4rem; font-weight: 500; color: var(--black-deep);
  text-transform: none; letter-spacing: -0.01em;
  margin-bottom: 4px;
}

/* --- CTA Editorial Banner --- */
.cta-edit {
  position: relative; padding: var(--section-pad) 0;
  background: var(--black-deep); color: var(--cream-warm);
  overflow: hidden;
}
.cta-edit::before {
  content: ''; position: absolute; inset: -50%;
  background: conic-gradient(from 0deg at 50% 50%,
    transparent 0deg, rgba(138,173,48,0.08) 90deg,
    transparent 180deg, rgba(138,173,48,0.06) 270deg, transparent 360deg);
  animation: ctaSpin 30s linear infinite;
  z-index: 0;
}
@keyframes ctaSpin {
  to { transform: rotate(360deg); }
}
.cta-edit .container { position: relative; z-index: 2; text-align: center; }
.cta-edit h2 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 5rem); font-weight: 500;
  letter-spacing: -0.02em; line-height: 1.05;
  max-width: 1000px; margin: 0 auto 50px;
}
.cta-edit h2 em { font-style: normal; color: var(--green-olive); }
.cta-edit .cta-actions {
  display: flex; gap: 20px; justify-content: center; flex-wrap: wrap;
}
.cta-edit .cta-meta {
  margin-top: 60px; padding-top: 30px;
  border-top: 1px solid rgba(245,237,232,0.12);
  display: flex; justify-content: space-around;
  font-size: 0.7rem; letter-spacing: 0.3em; text-transform: uppercase;
  color: rgba(245,237,232,0.55); flex-wrap: wrap; gap: 30px;
}
.cta-edit .cta-meta strong { color: var(--green-glow); font-weight: 500; }

/* --- Editorial Footer override --- */
body.editorial .footer { background: var(--black-deep); }
body.editorial .footer-top-bar { background: var(--green-olive); }
body.editorial .footer-col h4 {
  font-family: var(--font-display); font-size: 0.7rem;
  letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--green-glow); font-weight: 400;
}
body.editorial .footer-col a:hover { color: var(--green-glow); }

/* --- Featured editorial image+text rows --- */
.edit-row {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 80px;
  align-items: center;
  padding: var(--section-pad) 0;
  background: var(--black-deep); color: var(--cream-warm);
}
.edit-row.reverse { grid-template-columns: 1fr 1.2fr; }
.edit-row.reverse .edit-row-img { order: 2; }
.edit-row.reverse .edit-row-text { order: 1; }
.edit-row-img {
  position: relative; aspect-ratio: 4/5;
  overflow: hidden; background: var(--black-ink);
}
.edit-row-img img { width: 100%; height: 100%; object-fit: cover; }
.edit-row-img .edit-row-caption {
  position: absolute; bottom: 20px; right: 20px;
  font-size: 0.65rem; letter-spacing: 0.3em; text-transform: uppercase;
  color: rgba(245,237,232,0.85); writing-mode: vertical-rl;
}
.edit-row-text { padding: 0 40px; }
.edit-row-text .eyebrow {
  font-size: 0.7rem; letter-spacing: 0.4em; text-transform: uppercase;
  color: var(--green-glow); margin-bottom: 24px;
  display: flex; align-items: center; gap: 14px;
}
.edit-row-text .eyebrow::before {
  content: ''; width: 30px; height: 1px; background: var(--green-glow);
}
.edit-row-text h2 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.5vw, 4rem); font-weight: 500;
  letter-spacing: -0.02em; line-height: 1; margin-bottom: 30px;
}
.edit-row-text h2 em { font-style: normal; color: var(--green-olive); }
.edit-row-text p {
  font-size: 1rem; line-height: 1.8;
  color: rgba(245,237,232,0.75); margin-bottom: 18px;
  max-width: 540px;
}
.edit-row-text p strong { color: var(--cream-warm); font-weight: 500; }
.edit-row-text ul {
  margin: 30px 0; padding: 0; list-style: none;
}
.edit-row-text ul li {
  padding: 14px 0; border-bottom: 1px solid rgba(245,237,232,0.1);
  font-size: 0.9rem; color: rgba(245,237,232,0.8);
  display: flex; align-items: center; gap: 18px;
}
.edit-row-text ul li::before {
  content: ''; width: 14px; height: 1px; background: var(--green-olive);
  flex-shrink: 0;
}

/* --- Editorial timeline (engagements) --- */
.timeline-edit {
  max-width: 900px; margin: 80px auto 0; position: relative;
}
.timeline-edit::before {
  content: ''; position: absolute; left: 0; right: 0; top: 16px;
  height: 1px; background: rgba(245,237,232,0.15);
}
/* Une colonne par jalon : à 4 colonnes pour 5 jalons, le dernier retombait
   sous la boîte, orphelin de la ligne de temps. */
.timeline-edit-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 24px;
  position: relative;
}
.timeline-edit-item { position: relative; padding-top: 34px; }
.timeline-edit-item::before {
  content: ''; position: absolute; top: 11px; left: 0;
  width: 11px; height: 11px; border-radius: 50%;
  background: var(--green-olive);
  box-shadow: 0 0 0 5px var(--black-deep);
}
.timeline-edit-year {
  font-family: var(--font-display); font-size: 2.4rem;
  font-weight: 500; color: var(--green-olive);
  line-height: 1; margin-bottom: 14px; font-style: normal;
}
.timeline-edit-text {
  font-size: 0.9rem; color: rgba(245,237,232,0.7); line-height: 1.7;
}
.section-editorial.section-light .timeline-edit::before { background: rgba(26,26,26,0.15); }
.section-editorial.section-light .timeline-edit-item::before { box-shadow: 0 0 0 5px var(--cream-warm); }
.section-editorial.section-light .timeline-edit-text { color: rgba(26,26,26,0.7); }

/* --- Editorial Stats Light --- */
.section-editorial.section-light .stat-edit { border-color: rgba(26,26,26,0.12); }
.section-editorial.section-light .stat-edit:nth-child(n+4) { border-top-color: rgba(26,26,26,0.12); }
.section-editorial.section-light .stat-edit .stat-num { color: var(--black-deep); }
.section-editorial.section-light .stat-edit .stat-cap { color: rgba(26,26,26,0.5); }

/* --- APSAD security table editorial --- */
.security-edit { margin-top: 60px; }
.security-edit-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px;
  padding: 24px 0; border-bottom: 1px solid rgba(245,237,232,0.1);
  align-items: center; transition: background 0.4s, padding 0.4s;
}
.security-edit-row:hover {
  background: rgba(138,173,48,0.04);
  padding-left: 20px; padding-right: 20px;
}
.security-edit-row .se-label {
  font-family: var(--font-display); font-size: 1.2rem;
  font-weight: 500; color: var(--cream-warm); letter-spacing: -0.01em;
}
.security-edit-row .se-val {
  font-size: 0.85rem; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--green-glow);
}
.security-edit-row .se-num {
  display: inline-block; font-family: var(--font-display);
  font-style: normal; color: var(--green-olive);
  font-size: 0.85rem; margin-right: 14px; min-width: 24px;
}

/* --- PSDS editorial --- */
.psds-edit {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  margin-top: 80px;
}
.psds-edit-item {
  text-align: center; padding: 50px 30px;
  border-right: 1px solid rgba(245,237,232,0.1);
  position: relative;
}
.psds-edit-item:last-child { border-right: none; }
.psds-edit-letter {
  font-family: var(--font-display); font-size: clamp(5rem, 10vw, 8rem);
  font-weight: 500; line-height: 0.9;
  color: var(--cream-warm); letter-spacing: -0.04em;
  margin-bottom: 20px;
}
.psds-edit-item:nth-child(odd) .psds-edit-letter { color: var(--green-olive); font-style: normal; }
.psds-edit-word {
  font-size: 0.75rem; letter-spacing: 0.35em;
  text-transform: uppercase; color: rgba(245,237,232,0.7);
}

/* --- Specialty badges editorial --- */
.specialty-edit-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
  margin-top: 80px;
}
.specialty-edit-item {
  padding: 50px 40px; position: relative;
  border-right: 1px solid rgba(245,237,232,0.08);
  border-top: 1px solid rgba(245,237,232,0.08);
  transition: background 0.5s var(--ease-luxe);
}
.specialty-edit-item:nth-child(3n) { border-right: none; }
.specialty-edit-item:hover { background: rgba(138,173,48,0.06); }
.specialty-edit-item:hover .specialty-edit-num { color: var(--green-glow); transform: translateX(4px); }
.specialty-edit-num {
  font-family: var(--font-display); font-size: 0.85rem;
  font-style: normal; color: var(--green-olive);
  letter-spacing: 0.2em; margin-bottom: 24px;
  transition: color 0.4s, transform 0.4s var(--ease-luxe);
}
.specialty-edit-item h3 {
  font-family: var(--font-display); font-size: 2rem;
  font-weight: 500; letter-spacing: -0.01em;
  margin-bottom: 14px; color: var(--cream-warm);
}
.specialty-edit-item p {
  font-size: 0.9rem; line-height: 1.7;
  color: rgba(245,237,232,0.7);
}

/* --- Contact editorial --- */
.contact-edit {
  background: var(--black-deep); color: var(--cream-warm);
  padding: var(--section-pad) 0;
}
.contact-edit-grid {
  display: grid; grid-template-columns: 1.5fr 1fr; gap: 100px;
  margin-top: 60px;
}
.contact-edit .form-group label {
  color: rgba(245,237,232,0.6);
  font-size: 0.65rem; letter-spacing: 0.3em; text-transform: uppercase;
  margin-bottom: 12px;
}
.contact-edit .form-group input,
.contact-edit .form-group textarea,
.contact-edit .form-group select {
  background: transparent;
  border: none; border-bottom: 1px solid rgba(245,237,232,0.2);
  color: var(--cream-warm);
  padding: 14px 0; border-radius: 0;
  font-family: var(--font-body); font-size: 1rem;
}
.contact-edit .form-group input:focus,
.contact-edit .form-group textarea:focus,
.contact-edit .form-group select:focus {
  outline: none; border-bottom-color: var(--green-glow);
  box-shadow: none;
}
.contact-edit .form-group select option { background: var(--black-deep); color: var(--cream-warm); }
.contact-edit .btn-submit {
  background: var(--green-olive); color: var(--black-deep);
  border: 1px solid var(--green-olive); padding: 20px;
  font-size: 0.75rem; letter-spacing: 0.25em;
  text-transform: uppercase; border-radius: 0;
}
.contact-edit .btn-submit:hover {
  background: var(--cream-warm); border-color: var(--cream-warm);
}
.contact-edit .contact-info h2 { font-family: var(--font-display); color: var(--cream-warm); }
.contact-edit .contact-info-item h4 {
  font-size: 0.65rem; letter-spacing: 0.3em;
  text-transform: uppercase; color: var(--green-glow);
}
.contact-edit .contact-info-item p { color: rgba(245,237,232,0.75); }
.contact-edit .contact-info-item a { color: var(--green-glow); }
.contact-edit .map-placeholder {
  background: var(--black-ink); color: rgba(245,237,232,0.4);
  border: 1px solid rgba(245,237,232,0.1);
}

/* --- Scroll to top editorial --- */
body.editorial .scroll-top-btn {
  background: var(--green-olive); color: var(--black-deep);
  border-radius: 0; width: 50px; height: 50px;
}
body.editorial .scroll-top-btn:hover { background: var(--green-glow); }

/* --- Responsive editorial --- */
@media (max-width: 1024px) {
  .hero-editorial .hero-content { grid-template-columns: 1fr; }
  .hero-editorial .hero-meta { text-align: left; }
  .section-head { grid-template-columns: 1fr; gap: 20px; }
  .stats-editorial-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-edit:nth-child(3n) { border-right: 1px solid rgba(245,237,232,0.08); }
  .stat-edit:nth-child(2n) { border-right: none; }
  .stat-edit:nth-child(n+3) { border-top: 1px solid rgba(245,237,232,0.08); }
  .specialty-edit-grid { grid-template-columns: repeat(2, 1fr); }
  .specialty-edit-item:nth-child(3n) { border-right: 1px solid rgba(245,237,232,0.08); }
  .specialty-edit-item:nth-child(2n) { border-right: none; }
  .timeline-edit-track { grid-auto-flow: row; grid-template-columns: repeat(2, 1fr); gap: 50px 30px; }
  .timeline-edit::before { display: none; }
  .timeline-edit-item::before { box-shadow: 0 0 0 5px var(--black-deep); }
  .psds-edit { grid-template-columns: repeat(2, 1fr); }
  .psds-edit-item:nth-child(2) { border-right: none; }
  .psds-edit-item:nth-child(n+3) { border-top: 1px solid rgba(245,237,232,0.1); }
  .contact-edit-grid { grid-template-columns: 1fr; gap: 60px; }
  .edit-row { grid-template-columns: 1fr; gap: 40px; padding: 80px 0; }
  .edit-row.reverse { grid-template-columns: 1fr; }
  .edit-row.reverse .edit-row-img { order: 1; }
  .edit-row.reverse .edit-row-text { order: 2; }
  .edit-row-text { padding: 0 24px; }
  .side-ticker { display: none; }
  .h-pin { height: auto; }
  .h-pin-sticky { position: relative; height: auto; padding: 80px 0; }
  .h-pin-track {
    flex-direction: column; gap: 40px; padding: 0 24px;
    transform: none !important;
  }
  .h-pin-card { width: 100%; height: 60vh; min-height: 460px; }
  .h-pin-intro { position: relative; top: auto; left: auto; margin: 0 24px 60px; }
  .h-pin-caption, .h-pin-progress { display: none; }
}
@media (max-width: 768px) {
  .stats-editorial-grid { grid-template-columns: 1fr; }
  .stat-edit { border-right: none !important; }
  .stat-edit:nth-child(n+2) { border-top: 1px solid rgba(245,237,232,0.08); }
  .specialty-edit-grid { grid-template-columns: 1fr; }
  .specialty-edit-item { border-right: none !important; }
  .timeline-edit-track { grid-auto-flow: row; grid-template-columns: 1fr; }
  .psds-edit { grid-template-columns: 1fr; }
  .psds-edit-item { border-right: none; }
  .psds-edit-item:nth-child(n+2) { border-top: 1px solid rgba(245,237,232,0.1); }
  .night-paris-meta { flex-direction: column; gap: 30px; }
  .security-edit-row { grid-template-columns: 1fr; gap: 8px; }
}

/* ============================================================================
   ╔══════════════════════════════════════════════════════════════════════════╗
   ║   S I M U L A T I O N S   ·   I N T E R A C T I V E   D E M O           ║
   ║   Devis instantané · Suivi live · Dashboard WMS · Calculateur Carbone   ║
   ╚══════════════════════════════════════════════════════════════════════════╝
   ============================================================================ */

.sim-section {
  padding: var(--section-pad) 0;
  background: var(--black-deep); color: var(--cream-warm);
  position: relative; overflow: hidden;
}
.sim-section.sim-light { background: var(--cream-warm); color: var(--black-deep); }
.sim-frame {
  background: var(--black-ink);
  border: 1px solid rgba(245,237,232,0.08);
  padding: 50px; position: relative;
  margin-top: 60px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.4);
}
.sim-light .sim-frame {
  background: #fff;
  border-color: rgba(26,26,26,0.08);
  box-shadow: 0 30px 80px rgba(0,0,0,0.08);
}
.sim-frame::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 3px; background: linear-gradient(90deg, transparent 0%, var(--green-olive) 50%, transparent 100%);
  opacity: 0.5;
}
.sim-tag {
  position: absolute; top: -12px; left: 30px;
  background: var(--green-olive); color: var(--black-deep);
  padding: 6px 14px; font-size: 0.65rem;
  letter-spacing: 0.3em; text-transform: uppercase; font-weight: 500;
}
.sim-live {
  position: absolute; top: 20px; right: 30px;
  display: flex; align-items: center; gap: 10px;
  font-size: 0.65rem; letter-spacing: 0.25em;
  text-transform: uppercase; color: var(--green-glow);
}
.sim-light .sim-live { color: var(--green-dark); }
.sim-live::before {
  content: ''; width: 8px; height: 8px; border-radius: 50%;
  background: var(--green-glow); animation: livePulse 1.4s infinite;
  box-shadow: 0 0 10px var(--green-glow);
}
@keyframes livePulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.4); }
}

/* ===== DEVIS INSTANTANÉ ===== */
.devis-grid {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px;
  align-items: start;
}
.devis-controls .devis-row {
  margin-bottom: 36px;
}
.devis-row label {
  display: flex; justify-content: space-between; align-items: baseline;
  font-size: 0.7rem; letter-spacing: 0.25em; text-transform: uppercase;
  color: rgba(245,237,232,0.6); margin-bottom: 14px;
}
.sim-light .devis-row label { color: rgba(26,26,26,0.55); }
.devis-row label .devis-val {
  font-family: var(--font-display); font-size: 1.3rem;
  font-weight: 500; color: var(--green-glow);
  letter-spacing: -0.01em; text-transform: none;
}
.sim-light .devis-row label .devis-val { color: var(--green-dark); }
.devis-slider {
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 2px; background: rgba(245,237,232,0.2);
  outline: none; cursor: pointer;
}
.sim-light .devis-slider { background: rgba(26,26,26,0.15); }
.devis-slider::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--green-olive); cursor: grab;
  border: 3px solid var(--black-ink);
  box-shadow: 0 0 0 1px var(--green-olive);
  transition: transform 0.2s var(--ease-out-expo);
}
.sim-light .devis-slider::-webkit-slider-thumb { border-color: #fff; }
.devis-slider::-webkit-slider-thumb:hover { transform: scale(1.2); }
.devis-slider::-moz-range-thumb {
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--green-olive); cursor: grab;
  border: 3px solid var(--black-ink);
}
.devis-options {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px;
  margin-top: 12px;
}
.devis-opt {
  padding: 14px 12px; text-align: center;
  font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase;
  border: 1px solid rgba(245,237,232,0.2);
  cursor: pointer; transition: all 0.4s var(--ease-luxe);
  color: rgba(245,237,232,0.7);
}
.sim-light .devis-opt { border-color: rgba(26,26,26,0.15); color: rgba(26,26,26,0.7); }
.devis-opt:hover { border-color: var(--green-olive); color: var(--green-glow); }
.sim-light .devis-opt:hover { color: var(--green-dark); }
.devis-opt.on {
  background: var(--green-olive); color: var(--black-deep);
  border-color: var(--green-olive);
}

.devis-result {
  background: var(--black-deep); padding: 40px;
  border: 1px solid rgba(245,237,232,0.08);
  position: relative;
}
.sim-light .devis-result { background: var(--paper); border-color: rgba(26,26,26,0.08); }
.devis-result .devis-eyebrow {
  font-size: 0.65rem; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--green-glow); margin-bottom: 14px;
}
.sim-light .devis-result .devis-eyebrow { color: var(--green-dark); }
/* Récapitulatif du besoin · remplace l'ancien bloc prix (aucun tarif publié) */
.devis-recap { margin-bottom: 6px; }
.devis-recap-line {
  display: flex; align-items: baseline; gap: 10px;
  margin-bottom: 6px;
}
.devis-recap-num {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.2rem); font-weight: 500;
  letter-spacing: -0.03em; line-height: 1.05;
}
.devis-recap-unit {
  font-size: 0.72rem; letter-spacing: 0.25em; text-transform: uppercase;
  color: rgba(245,237,232,0.45);
}
.sim-light .devis-recap-unit { color: rgba(26,26,26,0.5); }
.devis-breakdown {
  margin-top: 24px; font-size: 0.85rem;
  color: rgba(245,237,232,0.7); line-height: 1.9;
}
.sim-light .devis-breakdown { color: rgba(26,26,26,0.6); }
.devis-breakdown div {
  display: flex; justify-content: space-between; padding: 6px 0;
  border-bottom: 1px dotted rgba(245,237,232,0.1);
}
.sim-light .devis-breakdown div { border-color: rgba(26,26,26,0.12); }
.devis-cta {
  margin-top: 30px; text-align: center;
}
.devis-cta a { width: 100%; justify-content: center; }
.devis-promise {
  margin-top: 20px; font-size: 0.65rem; text-align: center;
  letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--green-glow);
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
.sim-light .devis-promise { color: var(--green-dark); }
.devis-promise::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--green-glow); animation: livePulse 1.4s infinite;
}

/* ===== LIVE MAP TRACKING ===== */
.live-map {
  position: relative;
  aspect-ratio: 16 / 10;
  background: radial-gradient(ellipse at 50% 50%, #1a2230 0%, #0a0d12 100%);
  overflow: hidden;
  border: 1px solid rgba(245,237,232,0.08);
}
.live-map svg { width: 100%; height: 100%; display: block; }
.live-map .map-grid { stroke: rgba(245,237,232,0.04); stroke-width: 0.5; }
.live-map .map-road {
  fill: none; stroke: rgba(245,237,232,0.12);
  stroke-width: 1.5; stroke-linecap: round;
}
.live-map .map-route {
  fill: none; stroke: var(--green-olive);
  stroke-width: 2; stroke-linecap: round;
  stroke-dasharray: 6 4;
  filter: drop-shadow(0 0 6px rgba(138,173,48,0.6));
}
.live-map .map-route-done {
  fill: none; stroke: var(--green-glow);
  stroke-width: 2.5; stroke-linecap: round;
  filter: drop-shadow(0 0 8px rgba(181,221,74,0.8));
}
.live-map .map-poi {
  fill: var(--green-olive); stroke: var(--cream-warm);
  stroke-width: 1.5;
}
.live-map .map-poi-glow {
  fill: var(--green-glow); opacity: 0.3;
  animation: poiPulse 2s infinite;
}
@keyframes poiPulse {
  0% { transform: scale(1); opacity: 0.4; transform-origin: center; }
  100% { transform: scale(2.5); opacity: 0; transform-origin: center; }
}
.live-map .map-truck {
  filter: drop-shadow(0 0 10px rgba(181,221,74,0.6));
}
.live-map .map-label {
  fill: var(--cream-warm); font-family: var(--font-body);
  font-size: 11px; letter-spacing: 0.1em;
  text-transform: uppercase;
}
.live-map .map-label-sub {
  fill: rgba(245,237,232,0.4); font-family: var(--font-body);
  font-size: 9px; letter-spacing: 0.15em;
}

.live-panel {
  position: absolute; top: 30px; right: 30px;
  background: rgba(10,10,10,0.85); backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 24px; max-width: 260px;
  border: 1px solid rgba(245,237,232,0.1);
}
.live-panel h4 {
  font-family: var(--font-display); font-size: 1.4rem;
  font-weight: 500; color: var(--cream-warm); margin-bottom: 4px;
}
.live-panel .live-id {
  font-size: 0.65rem; letter-spacing: 0.3em;
  text-transform: uppercase; color: var(--green-glow);
  margin-bottom: 20px;
}
.live-panel .live-eta {
  font-family: var(--font-display); font-size: 2.4rem;
  font-weight: 500; line-height: 1; color: var(--green-glow);
  letter-spacing: -0.02em;
}
.live-panel .live-eta-lbl {
  font-size: 0.6rem; letter-spacing: 0.3em;
  text-transform: uppercase; color: rgba(245,237,232,0.5);
  margin-top: 6px; margin-bottom: 18px;
}
.live-panel .live-step {
  font-size: 0.75rem; color: rgba(245,237,232,0.8);
  padding: 8px 0; border-bottom: 1px solid rgba(245,237,232,0.08);
  display: flex; align-items: center; gap: 10px;
}
.live-panel .live-step:last-child { border-bottom: none; }
.live-panel .live-step.done { color: var(--green-glow); }
.live-panel .live-step.now {
  color: var(--cream-warm);
}
.live-panel .live-step.now::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--green-glow); animation: livePulse 1.2s infinite;
  flex-shrink: 0;
}
.live-panel .live-step .dot {
  width: 8px; height: 8px; border-radius: 50%;
  border: 1px solid currentColor; flex-shrink: 0;
}
.live-panel .live-step.done .dot { background: var(--green-glow); border-color: var(--green-glow); }

.live-bar {
  position: absolute; bottom: 30px; left: 30px; right: 30px;
  display: flex; gap: 30px;
  background: rgba(10,10,10,0.85); backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 18px 24px;
  border: 1px solid rgba(245,237,232,0.1);
}
.live-bar-item .lb-val {
  font-family: var(--font-display); font-size: 1.4rem;
  font-weight: 500; color: var(--cream-warm); letter-spacing: -0.01em;
}
.live-bar-item .lb-val em { font-style: normal; color: var(--green-olive); font-size: 0.7em; }
.live-bar-item .lb-lbl {
  font-size: 0.6rem; letter-spacing: 0.25em;
  text-transform: uppercase; color: rgba(245,237,232,0.5);
}

@media (max-width: 768px) {
  .live-panel { position: relative; top: auto; right: auto; max-width: none; margin-top: 20px; }
  .live-bar { position: relative; bottom: auto; left: auto; right: auto; margin-top: 12px; flex-wrap: wrap; gap: 16px; }
}

/* ===== WMS DASHBOARD ===== */
.wms-dash {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 0;
  background: var(--black-deep);
  border: 1px solid rgba(245,237,232,0.08);
  min-height: 600px;
  overflow: hidden;
}
.wms-side {
  background: var(--black-ink);
  padding: 30px 0;
  border-right: 1px solid rgba(245,237,232,0.08);
}
.wms-side h4 {
  font-family: var(--font-display); font-size: 1.4rem;
  font-weight: 500; padding: 0 30px 24px;
  color: var(--cream-warm); letter-spacing: -0.01em;
  border-bottom: 1px solid rgba(245,237,232,0.08);
}
.wms-nav { margin-top: 20px; }
.wms-nav a {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 30px; font-size: 0.75rem;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(245,237,232,0.5);
  border-left: 2px solid transparent;
  transition: all 0.3s var(--ease-luxe);
  cursor: pointer;
}
.wms-nav a::before {
  content: ''; width: 5px; height: 5px; border-radius: 50%;
  background: currentColor; opacity: 0.5;
}
.wms-nav a:hover, .wms-nav a.active {
  color: var(--green-glow); border-left-color: var(--green-olive);
  background: rgba(138,173,48,0.05);
}
.wms-nav a.active::before { background: var(--green-glow); opacity: 1; }

.wms-main { padding: 30px 40px; }
.wms-bar {
  display: flex; justify-content: space-between; align-items: center;
  padding-bottom: 24px; border-bottom: 1px solid rgba(245,237,232,0.08);
  margin-bottom: 30px;
}
.wms-bar h3 {
  font-family: var(--font-display); font-size: 1.6rem;
  font-weight: 500; color: var(--cream-warm); letter-spacing: -0.01em;
}
.wms-bar .wms-search {
  background: rgba(245,237,232,0.05); border: 1px solid rgba(245,237,232,0.1);
  padding: 10px 16px; color: var(--cream-warm);
  font-size: 0.8rem; min-width: 220px;
}
.wms-bar .wms-search::placeholder { color: rgba(245,237,232,0.4); }

.wms-kpis {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
  margin-bottom: 30px;
}
.wms-kpi {
  padding: 24px 22px;
  background: rgba(245,237,232,0.03);
  border: 1px solid rgba(245,237,232,0.06);
  position: relative; overflow: hidden;
}
.wms-kpi::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 2px; background: var(--green-olive);
  transform: scaleX(0.4); transform-origin: left;
}
.wms-kpi.full::before { transform: scaleX(0.95); }
.wms-kpi.half::before { transform: scaleX(0.62); }
.wms-kpi.warn::before { background: var(--gold); }
.wms-kpi .kpi-lbl {
  font-size: 0.6rem; letter-spacing: 0.3em;
  text-transform: uppercase; color: rgba(245,237,232,0.5);
  margin-bottom: 12px;
}
.wms-kpi .kpi-val {
  font-family: var(--font-display); font-size: 2.2rem;
  font-weight: 500; line-height: 1; color: var(--cream-warm);
  letter-spacing: -0.02em;
}
.wms-kpi .kpi-val em {
  font-style: normal; color: var(--green-olive);
  font-size: 0.55em; margin-left: 4px;
}
.wms-kpi .kpi-delta {
  margin-top: 8px; font-size: 0.7rem;
  color: var(--green-glow);
}
.wms-kpi .kpi-delta.down { color: var(--gold); }

.wms-chart {
  margin-top: 30px;
  background: rgba(245,237,232,0.03);
  border: 1px solid rgba(245,237,232,0.06);
  padding: 24px;
}
.wms-chart-head {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-bottom: 24px;
}
.wms-chart-head h5 {
  font-family: var(--font-display); font-size: 1.1rem;
  font-weight: 500; color: var(--cream-warm); letter-spacing: -0.01em;
}
.wms-chart-head .wms-tabs {
  display: flex; gap: 0;
}
.wms-chart-head .wms-tabs button {
  padding: 8px 14px; font-size: 0.65rem;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(245,237,232,0.5);
  border: 1px solid rgba(245,237,232,0.1);
  cursor: pointer; transition: all 0.3s;
  margin-left: -1px;
}
.wms-chart-head .wms-tabs button.on,
.wms-chart-head .wms-tabs button:hover {
  background: var(--green-olive); color: var(--black-deep);
  border-color: var(--green-olive);
}
.wms-chart-svg { width: 100%; height: 240px; }
.wms-chart-svg .grid { stroke: rgba(245,237,232,0.06); stroke-width: 1; }
.wms-chart-svg .area {
  fill: url(#wmsGrad); opacity: 0.6;
}
.wms-chart-svg .line {
  fill: none; stroke: var(--green-glow); stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
  filter: drop-shadow(0 4px 12px rgba(181,221,74,0.4));
}
.wms-chart-svg .dot { fill: var(--green-glow); }
.wms-chart-svg .x-lbl, .wms-chart-svg .y-lbl {
  fill: rgba(245,237,232,0.5); font-size: 10px; font-family: var(--font-body);
  letter-spacing: 0.1em;
}

.wms-orders {
  margin-top: 24px;
}
.wms-orders-head {
  display: grid; grid-template-columns: 1fr 2fr 1fr 1fr 1fr;
  padding: 14px 20px; font-size: 0.6rem;
  letter-spacing: 0.3em; text-transform: uppercase;
  color: rgba(245,237,232,0.4);
  border-bottom: 1px solid rgba(245,237,232,0.08);
}
.wms-order {
  display: grid; grid-template-columns: 1fr 2fr 1fr 1fr 1fr;
  padding: 16px 20px; align-items: center;
  font-size: 0.85rem; color: rgba(245,237,232,0.8);
  border-bottom: 1px solid rgba(245,237,232,0.05);
  transition: background 0.3s;
}
.wms-order:hover { background: rgba(138,173,48,0.04); }
.wms-order .wms-id {
  font-family: var(--font-display); color: var(--green-glow);
  font-style: normal;
}
.wms-status {
  display: inline-block; padding: 4px 10px;
  font-size: 0.6rem; letter-spacing: 0.2em;
  text-transform: uppercase; border: 1px solid;
}
.wms-status.ready { color: var(--green-glow); border-color: var(--green-glow); }
.wms-status.prep { color: var(--gold); border-color: var(--gold); }
.wms-status.shipping { color: var(--cream-warm); border-color: var(--cream-warm); }

@media (max-width: 1024px) {
  .wms-dash { grid-template-columns: 1fr; }
  .wms-side { display: none; }
  .wms-kpis { grid-template-columns: repeat(2, 1fr); }
  .wms-main { padding: 24px; }
  .wms-orders-head, .wms-order { grid-template-columns: 1fr 1fr 1fr; }
  .wms-orders-head > :nth-child(4),
  .wms-orders-head > :nth-child(5),
  .wms-order > :nth-child(4),
  .wms-order > :nth-child(5) { display: none; }
}

/* ===== CALCULATEUR CARBONE ===== */
.eco-calc {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px;
  align-items: center;
}
.eco-calc-controls .devis-row { margin-bottom: 40px; }
.eco-calc-controls .eco-fleet {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px;
  margin-top: 14px;
}
.eco-calc-controls .eco-fleet button {
  padding: 16px 12px; text-align: center;
  font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase;
  border: 1px solid rgba(245,237,232,0.2);
  cursor: pointer; transition: all 0.4s var(--ease-luxe);
  color: rgba(245,237,232,0.7);
  background: transparent;
  font-family: var(--font-body);
}
.sim-light .eco-calc-controls .eco-fleet button {
  border-color: rgba(26,26,26,0.15); color: rgba(26,26,26,0.7);
}
.eco-calc-controls .eco-fleet button.on {
  background: var(--green-olive); color: var(--black-deep);
  border-color: var(--green-olive);
}

.eco-result {
  text-align: center; padding: 60px 40px;
  background: var(--black-ink); position: relative;
  border: 1px solid rgba(245,237,232,0.08);
  overflow: hidden;
}
.sim-light .eco-result { background: var(--paper); border-color: rgba(26,26,26,0.08); }
.eco-result::before {
  content: ''; position: absolute; inset: -50%;
  background: radial-gradient(circle at 50% 50%, rgba(138,173,48,0.2), transparent 60%);
  animation: ecoBg 8s ease-in-out infinite;
  pointer-events: none;
}
@keyframes ecoBg {
  0%, 100% { transform: translate(-10%, -10%) scale(1); opacity: 0.5; }
  50% { transform: translate(10%, 10%) scale(1.2); opacity: 0.8; }
}
.eco-result > * { position: relative; z-index: 2; }
.eco-result .eco-eyebrow {
  font-size: 0.65rem; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--green-glow); margin-bottom: 20px;
}
.sim-light .eco-result .eco-eyebrow { color: var(--green-dark); }
.eco-co2 {
  font-family: var(--font-display);
  font-size: clamp(4rem, 9vw, 7rem); font-weight: 500;
  letter-spacing: -0.04em; line-height: 1;
  color: var(--cream-warm); margin-bottom: 8px;
}
.sim-light .eco-co2 { color: var(--black-deep); }
.eco-co2 em {
  font-style: normal; color: var(--green-olive);
  font-size: 0.4em; vertical-align: super; margin-left: 4px;
}
.eco-co2-lbl {
  font-size: 0.75rem; letter-spacing: 0.25em;
  text-transform: uppercase; color: rgba(245,237,232,0.6);
  margin-bottom: 30px;
}
.sim-light .eco-co2-lbl { color: rgba(26,26,26,0.55); }
.eco-equiv {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px;
  margin-top: 40px; padding-top: 30px;
  border-top: 1px solid rgba(245,237,232,0.1);
}
.sim-light .eco-equiv { border-color: rgba(26,26,26,0.12); }
.eco-equiv-item .ee-val {
  font-family: var(--font-display); font-size: 1.8rem;
  font-weight: 500; color: var(--green-glow);
  letter-spacing: -0.01em; line-height: 1; margin-bottom: 6px;
}
.sim-light .eco-equiv-item .ee-val { color: var(--green-dark); }
.eco-equiv-item .ee-lbl {
  font-size: 0.6rem; letter-spacing: 0.25em;
  text-transform: uppercase; color: rgba(245,237,232,0.5);
}
.sim-light .eco-equiv-item .ee-lbl { color: rgba(26,26,26,0.55); }

@media (max-width: 1024px) {
  .devis-grid, .eco-calc { grid-template-columns: 1fr; gap: 50px; }
  .wms-kpis { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .sim-frame { padding: 30px 20px; }
  .wms-kpis { grid-template-columns: 1fr; }
  .devis-options { grid-template-columns: repeat(2, 1fr); }
}

/* --- prefers-reduced-motion --- */
@media (prefers-reduced-motion: reduce) {
  .split-line > span,
  .reveal-up,
  .reveal-mask::after,
  .reveal-img,
  .marquee-track,
  .cta-edit::before,
  .intro-logo {
    animation: none !important;
    transition: none !important;
    transform: none !important;
    clip-path: none !important;
    opacity: 1 !important;
  }
  .intro-veil { display: none; }
  /* Ciblait .hero-editorial .hero-bg video, qui n'existe sur aucune page :
     la règle ne s'appliquait à rien. La vidéo du hero est .hero-home-bg ;
     wow.js la met aussi en pause (l'affiche seule ne suffit pas). */
  .hero-home-bg { animation: none !important; transition: none !important; }
}

/* ============================================================================
   ╔══════════════════════════════════════════════════════════════════════════╗
   ║                                                                          ║
   ║     L I G H T   M O D E   O V E R R I D E                                ║
   ║     Direction inversée · fond clair, accents olive précieux              ║
   ║                                                                          ║
   ╚══════════════════════════════════════════════════════════════════════════╝
   ============================================================================ */

/* Palette claire · Hermès / Aesop / Jacquemus */
:root {
  --paper-warm:   #FAF6F1;
  --paper-soft:   #F2EBE3;
  --paper-cream:  #ECE4D9;
  --ink-deep:     #111111;
  --ink-soft:     #2A2A2A;
  --ink-mute:     #6B6B6B;
  --line-soft:    rgba(17,17,17,0.10);
  --line-strong:  rgba(17,17,17,0.20);
}

body.editorial {
  background: var(--paper-warm);
  color: var(--ink-deep);
}

/* Grain plus subtil sur fond clair */
body.editorial .grain-layer {
  opacity: 0.035; mix-blend-mode: multiply;
}

/* Side ticker */
body.editorial .side-ticker { color: rgba(17,17,17,0.4); }
body.editorial .side-ticker::before { background: var(--green-olive); }

/* ===== INTRO VEIL · fond clair ===== */
body.editorial .intro-veil { background: var(--paper-warm); }

/* ===== HEADER · transparent en haut, opaque au scroll ===== */
body.editorial .header {
  background: transparent;
  z-index: 1000;
  transition: background 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}
body.editorial .header.scrolled {
  background: rgba(250,246,241,0.96);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line-soft);
  box-shadow: 0 4px 20px rgba(17,17,17,0.06);
}
body.editorial .header-top-bar { height: 3px; }
body.editorial .nav-link {
  font-weight: 500;
  text-shadow: 0 1px 3px rgba(255,255,255,0.4);
}
body.editorial .header.scrolled .nav-link { text-shadow: none; }
body.editorial .nav-link {
  color: var(--ink-deep);
}
body.editorial .nav-link:hover,
body.editorial .nav-link.active { color: var(--green-dark); }
body.editorial .nav-link::after { background: var(--green-dark); }
body.editorial .nav-toggle span { background: var(--ink-deep); }
body.editorial .header-cta {
  background: var(--ink-deep); color: var(--paper-warm);
  border: 1px solid var(--ink-deep);
}
body.editorial .header-cta:hover {
  background: var(--green-olive); border-color: var(--green-olive);
  color: var(--paper-warm);
}

/* ===== HERO PAGES INTERNES · overlay sombre cinéma + texte clair ===== */
body.editorial .hero-editorial {
  background: var(--ink-deep); color: var(--paper-warm);
}
body.editorial .hero-editorial .hero-bg::after {
  background:
    linear-gradient(180deg, rgba(10,10,10,0.45) 0%, rgba(10,10,10,0.55) 40%, rgba(10,10,10,0.92) 100%),
    radial-gradient(ellipse at 30% 60%, rgba(10,10,10,0.15) 0%, transparent 60%);
}
body.editorial .hero-editorial .hero-bg img {
  filter: brightness(0.92) saturate(0.95);
}
body.editorial .hero-editorial .hero-eyebrow { color: var(--green-glow); }
body.editorial .hero-editorial .hero-eyebrow::before { background: var(--green-glow); }
body.editorial .hero-editorial h1 { color: var(--paper-warm); text-shadow: 0 4px 24px rgba(0,0,0,0.4); }
body.editorial .hero-editorial h1 em { color: var(--green-glow); }
body.editorial .hero-editorial .hero-tag { color: rgba(245,237,232,0.92); text-shadow: 0 2px 12px rgba(0,0,0,0.5); }
body.editorial .hero-editorial .hero-meta { color: rgba(245,237,232,0.6); }
body.editorial .hero-editorial .hero-meta strong { color: var(--paper-warm); }
body.editorial .hero-editorial .hero-scroll { color: rgba(245,237,232,0.7); }
body.editorial .hero-editorial .hero-scroll::after {
  background: linear-gradient(to bottom, var(--green-glow), transparent);
}
/* Boutons hero en mode sombre */
body.editorial .hero-editorial .btn-editorial {
  color: var(--paper-warm);
  border-color: rgba(245,237,232,0.5);
}
body.editorial .hero-editorial .btn-editorial::before { background: var(--paper-warm); }
body.editorial .hero-editorial .btn-editorial:hover { color: var(--ink-deep); border-color: var(--paper-warm); }
body.editorial .hero-editorial .btn-editorial-filled {
  background: var(--green-olive); color: var(--ink-deep);
  border-color: var(--green-olive);
}
body.editorial .hero-editorial .btn-editorial-filled::before { background: var(--paper-warm); }
body.editorial .hero-editorial .btn-editorial-filled:hover { color: var(--ink-deep); }

/* Eyebrow breadcrumb link */
body.editorial .hero-editorial .hero-eyebrow a { color: inherit; }

/* Menu en CLAIR sur les pages au hero sombre (avant scroll) */
body.editorial.has-dark-hero .header:not(.scrolled) .nav-link { color: var(--paper-warm); text-shadow: 0 2px 8px rgba(0,0,0,0.4); }
body.editorial.has-dark-hero .header:not(.scrolled) .nav-link:hover,
body.editorial.has-dark-hero .header:not(.scrolled) .nav-link.active { color: var(--green-glow); }
body.editorial.has-dark-hero .header:not(.scrolled) .nav-link::after { background: var(--green-glow); }
body.editorial.has-dark-hero .header:not(.scrolled) .nav-toggle span { background: var(--paper-warm); }
body.editorial.has-dark-hero .header:not(.scrolled) .header-cta {
  background: transparent; color: var(--paper-warm);
  border: 1px solid rgba(245,237,232,0.55);
}
body.editorial.has-dark-hero .header:not(.scrolled) .header-cta:hover {
  background: var(--green-olive); border-color: var(--green-olive); color: var(--ink-deep);
}
body.editorial.has-dark-hero .header-top-bar { background: var(--green-glow); }
body.editorial.has-dark-hero .header.scrolled .header-top-bar { background: var(--green-olive); }

/* ===== BUTTONS éditoriaux sur fond clair ===== */
body.editorial .btn-editorial {
  color: var(--ink-deep);
  border-color: rgba(17,17,17,0.35);
}
body.editorial .btn-editorial::before { background: var(--ink-deep); }
body.editorial .btn-editorial:hover {
  color: var(--paper-warm); border-color: var(--ink-deep);
}
body.editorial .btn-editorial-filled {
  background: var(--ink-deep); color: var(--paper-warm);
  border-color: var(--ink-deep);
}
body.editorial .btn-editorial-filled::before { background: var(--green-olive); }
body.editorial .btn-editorial-filled:hover {
  color: var(--paper-warm); border-color: var(--green-olive);
}

/* ===== MANIFESTO · clair ===== */
body.editorial .manifesto {
  background: var(--paper-soft); color: var(--ink-deep);
}
body.editorial .manifesto-text { color: var(--ink-deep); }
body.editorial .manifesto-text em { color: var(--green-olive); }
body.editorial .manifesto-text .word { opacity: 0.22; }
body.editorial .manifesto-text .word.on { opacity: 1; }
body.editorial .manifesto-sign {
  border-top-color: var(--line-soft);
  color: rgba(17,17,17,0.5);
}

/* ===== STATS ÉDITORIAL · clair ===== */
body.editorial .stats-editorial {
  background: var(--paper-warm); color: var(--ink-deep);
  border-color: var(--line-soft);
}
body.editorial .stat-edit { border-color: var(--line-soft) !important; }
body.editorial .stat-edit .stat-num { color: var(--ink-deep); }
body.editorial .stat-edit .stat-num em { color: var(--green-olive); }
body.editorial .stat-edit .stat-cap {
  color: rgba(17,17,17,0.55); border-top-color: var(--green-olive);
}

/* ===== SECTION ÉDITORIAL · clair par défaut, dark en variant ===== */
body.editorial .section-editorial {
  background: var(--paper-warm); color: var(--ink-deep);
}
body.editorial .section-editorial.section-light {
  background: var(--paper-cream);
}
body.editorial .section-head { border-bottom-color: var(--line-soft); }
body.editorial .section-head .section-num { color: var(--green-dark); }
body.editorial .section-head .section-eyebrow { color: rgba(17,17,17,0.55); }
body.editorial .section-head .section-eyebrow::before { background: var(--green-olive); }
body.editorial .section-head .section-h { color: var(--ink-deep); }
body.editorial .section-head .section-h em { color: var(--green-olive); }

/* ===== HORIZONTAL PIN (6 spécialités) · texte BLANC sur fond sombre dégradé ===== */
body.editorial .h-pin { background: var(--paper-warm); }
body.editorial .h-pin-card {
  background: var(--ink-deep);
  border: 1px solid var(--line-soft);
  box-shadow: 0 20px 60px rgba(17,17,17,0.12);
}
body.editorial .h-pin-card-bg img { opacity: 1; }
body.editorial .h-pin-card::before {
  background: linear-gradient(180deg,
    rgba(10,10,10,0) 0%,
    rgba(10,10,10,0.55) 55%,
    rgba(10,10,10,0.92) 100%);
}
body.editorial .h-pin-content { color: var(--paper-warm); }
body.editorial .h-pin-num { color: var(--green-glow); }
body.editorial .h-pin-card h3 { color: var(--paper-warm); text-shadow: 0 2px 12px rgba(0,0,0,0.5); }
body.editorial .h-pin-card p { color: rgba(245,237,232,0.88); }
body.editorial .h-pin-card .pin-link {
  color: var(--green-glow); border-bottom-color: var(--green-glow);
}
body.editorial .h-pin-progress { background: var(--line-soft); }
body.editorial .h-pin-caption { color: rgba(17,17,17,0.4); }
body.editorial .h-pin-intro .section-eyebrow { color: rgba(17,17,17,0.55); }
body.editorial .h-pin-intro .section-eyebrow::before { background: var(--green-olive); }
body.editorial .h-pin-intro h2 { color: var(--ink-deep); }
body.editorial .h-pin-intro h2 em { color: var(--green-olive); }

/* ===== NIGHT PARIS · devient "JOUR PARIS" / lumineux ===== */
body.editorial .night-paris { color: var(--ink-deep); }
body.editorial .night-paris-bg::after {
  background:
    linear-gradient(90deg, rgba(250,246,241,0.88) 0%, rgba(250,246,241,0.5) 60%, rgba(250,246,241,0.1) 100%),
    linear-gradient(180deg, rgba(250,246,241,0.2) 0%, rgba(250,246,241,0.35) 100%);
}
body.editorial .night-paris-content .eyebrow { color: var(--green-dark); }
body.editorial .night-paris-content .eyebrow::before { background: var(--green-dark); }
body.editorial .night-paris-content h2 { color: var(--ink-deep); }
body.editorial .night-paris-content h2 em { color: var(--green-olive); }
body.editorial .night-paris-content p { color: rgba(17,17,17,0.75); }
body.editorial .night-paris-meta .np-num { color: var(--green-olive); }
body.editorial .night-paris-meta .np-lbl { color: rgba(17,17,17,0.55); }

/* ===== MARQUEE · sur fond clair ===== */
body.editorial .marquee {
  background: var(--paper-cream); color: var(--ink-deep);
  border-top-color: var(--line-soft); border-bottom-color: var(--line-soft);
}
body.editorial .marquee-item { color: var(--ink-deep); opacity: 0.85; }
body.editorial .marquee-item:hover { color: var(--green-dark); opacity: 1; }

/* ===== EDIT ROW (sections image+texte) ===== */
body.editorial .edit-row { background: var(--paper-warm); color: var(--ink-deep); }
body.editorial .edit-row-img { background: var(--paper-soft); }
body.editorial .edit-row-img .edit-row-caption { color: rgba(17,17,17,0.7); }
body.editorial .edit-row-text .eyebrow { color: var(--green-dark); }
body.editorial .edit-row-text .eyebrow::before { background: var(--green-dark); }
body.editorial .edit-row-text h2 { color: var(--ink-deep); }
body.editorial .edit-row-text h2 em { color: var(--green-olive); }
body.editorial .edit-row-text p { color: rgba(17,17,17,0.72); }
body.editorial .edit-row-text p strong { color: var(--ink-deep); }
body.editorial .edit-row-text ul li {
  color: rgba(17,17,17,0.78); border-bottom-color: var(--line-soft);
}
body.editorial .edit-row-text ul li::before { background: var(--green-olive); }

/* ===== TESTIMONIAL · déjà clair, on garde mais accents revus ===== */
body.editorial .testi-edit { background: var(--paper-cream); color: var(--ink-deep); }
body.editorial .testi-edit .testi-quote { color: var(--ink-deep); }
body.editorial .testi-edit .testi-quote::before { color: var(--green-olive); }
body.editorial .testi-edit .testi-author strong { color: var(--ink-deep); }

/* ===== CTA · clair avec spotlight olive ===== */
body.editorial .cta-edit {
  background: var(--paper-soft); color: var(--ink-deep);
}
body.editorial .cta-edit::before {
  background: conic-gradient(from 0deg at 50% 50%,
    transparent 0deg, rgba(138,173,48,0.12) 90deg,
    transparent 180deg, rgba(138,173,48,0.08) 270deg, transparent 360deg);
}
body.editorial .cta-edit h2 { color: var(--ink-deep); }
body.editorial .cta-edit h2 em { color: var(--green-olive); }
body.editorial .cta-edit .cta-meta {
  border-top-color: var(--line-soft); color: rgba(17,17,17,0.55);
}
body.editorial .cta-edit .cta-meta strong { color: var(--green-dark); }

/* ===== TIMELINE ÉDITO ===== */
body.editorial .timeline-edit::before { background: var(--line-strong); }
body.editorial .timeline-edit-item::before {
  background: var(--green-olive);
  box-shadow: 0 0 0 5px var(--paper-warm);
}
body.editorial .timeline-edit-text { color: rgba(17,17,17,0.7); }
body.editorial .timeline-edit-year { color: var(--green-olive); }

/* ===== SECURITY TABLE ===== */
body.editorial .security-edit-row {
  border-bottom-color: var(--line-soft);
}
body.editorial .security-edit-row:hover { background: rgba(138,173,48,0.06); }
body.editorial .security-edit-row .se-label { color: var(--ink-deep); }
body.editorial .security-edit-row .se-val { color: var(--green-dark); }

/* ===== PSDS ===== */
body.editorial .psds-edit-item { border-color: var(--line-soft); }
body.editorial .psds-edit-letter { color: var(--ink-deep); }
body.editorial .psds-edit-item:nth-child(odd) .psds-edit-letter {
  color: var(--green-olive); font-style: normal;
}
body.editorial .psds-edit-word { color: rgba(17,17,17,0.65); }

/* ===== SPECIALTY GRID ===== */
/* Cartes spécialités : fond SOMBRE par défaut pour contraste maximum */
body.editorial .specialty-edit-item {
  background: var(--ink-deep);
  border-color: rgba(245,237,232,0.08) !important;
  box-shadow: 0 20px 50px rgba(17,17,17,0.18);
  transition: background 0.4s var(--ease-luxe), transform 0.4s var(--ease-luxe), box-shadow 0.4s var(--ease-luxe), border-color 0.4s var(--ease-luxe);
}
body.editorial .specialty-edit-item:hover {
  background: #000000;
  transform: translateY(-4px);
  box-shadow: 0 30px 80px rgba(17,17,17,0.28);
  border-color: var(--green-olive) !important;
}
body.editorial .specialty-edit-item:hover .specialty-edit-num { color: var(--green-glow); transform: translateX(4px); }
body.editorial .specialty-edit-item h3 {
  color: var(--paper-warm);
  font-weight: 500;
  transition: color 0.4s var(--ease-luxe);
}
body.editorial .specialty-edit-item p {
  color: rgba(245,237,232,0.78);
  transition: color 0.4s var(--ease-luxe);
}
body.editorial .specialty-edit-num {
  color: var(--green-glow);
  font-weight: 500;
  transition: color 0.4s var(--ease-luxe), transform 0.4s var(--ease-luxe);
}

/* ===== CONTACT FORM ÉDITO ===== */
body.editorial .contact-edit {
  background: var(--paper-warm); color: var(--ink-deep);
}
body.editorial .contact-edit .form-group label { color: rgba(17,17,17,0.55); }
body.editorial .contact-edit .form-group input,
body.editorial .contact-edit .form-group textarea,
body.editorial .contact-edit .form-group select {
  background: transparent; color: var(--ink-deep);
  border-bottom: 1px solid var(--line-strong);
}
body.editorial .contact-edit .form-group input:focus,
body.editorial .contact-edit .form-group textarea:focus,
body.editorial .contact-edit .form-group select:focus {
  border-bottom-color: var(--green-olive);
}
body.editorial .contact-edit .form-group select option {
  background: var(--paper-warm); color: var(--ink-deep);
}
body.editorial .contact-edit .btn-submit {
  background: var(--ink-deep); color: var(--paper-warm);
  border-color: var(--ink-deep);
}
body.editorial .contact-edit .btn-submit:hover {
  background: var(--green-olive); border-color: var(--green-olive);
}
body.editorial .contact-edit .contact-info h2 { color: var(--ink-deep); }
body.editorial .contact-edit .contact-info-item h4 { color: var(--green-dark); }
body.editorial .contact-edit .contact-info-item p { color: rgba(17,17,17,0.7); }
body.editorial .contact-edit .contact-info-item a { color: var(--green-dark); }
body.editorial .contact-edit .map-placeholder {
  background: var(--paper-soft); color: rgba(17,17,17,0.5);
  border-color: var(--line-soft);
}

/* ============================================================================
   FORCE LIGHT-MODE READABILITY · garantit que tout texte reste lisible
   ============================================================================ */
body.editorial strong { color: var(--ink-deep); }

/* Manifesto: texte plus visible dès le départ (au cas où JS ne se déclenche pas) */
body.editorial .manifesto-text .word { opacity: 0.45; }
body.editorial .manifesto-text .word.on { opacity: 1; }

/* Mobile menu: garantir lisibilité (uniquement quand panneau mobile ouvert) */
@media (max-width: 768px) {
  body.editorial .nav-menu { background: #FAFAF8; }
}
body.editorial .nav-link { color: var(--ink-deep); }
body.editorial .nav-link:hover,
body.editorial .nav-link.active { color: var(--green-dark); }

/* Logo text fallback (sometimes shown when image fails) */
body.editorial .logo-text { color: var(--ink-deep); }
body.editorial .logo-subtitle { color: rgba(17,17,17,0.6); }

/* H1, H2 inside hero/section toujours en sombre par défaut */
body.editorial h1, body.editorial h2, body.editorial h3, body.editorial h4 { color: var(--ink-deep); }

/* Section dark intentional (cta-edit, stats) restent gérées par leurs propres règles */

/* Header CTA scrolled: garantir contraste */
body.editorial .header.scrolled .header-cta { background: var(--ink-deep); color: var(--paper-warm); border-color: var(--ink-deep); }
body.editorial .header.scrolled .header-cta:hover { background: var(--green-olive); border-color: var(--green-olive); }
body.editorial .header.scrolled .nav-toggle span { background: var(--ink-deep); }

/* Boutons éditoriaux: texte toujours visible */
body.editorial .btn-editorial { color: var(--ink-deep); }
body.editorial .btn-editorial-filled { color: var(--paper-warm); }

/* Mobile menu hamburger ouvert: barres toujours visibles sur overlay clair */
.nav-toggle.open span { background: var(--black-charcoal); }

/* ============================================================================
   RESPONSIVE FINAL · garantir tout fonctionne mobile / tablet / desktop
   ============================================================================ */

@media (max-width: 1024px) {
  /* Hero pages internes */
  .hero-editorial .hero-content { grid-template-columns: 1fr; }
  .hero-editorial .hero-meta { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 16px; text-align: left; margin-top: 30px; }
  .hero-editorial .hero-meta strong { font-size: 1.8rem; }

  /* Section heads */
  .section-head { grid-template-columns: 1fr; gap: 16px; }

  /* Specialty grid: 2 cols */
  .specialty-edit-grid { grid-template-columns: repeat(2, 1fr); }
  body.editorial .specialty-edit-item:nth-child(3n) { border-right: 1px solid rgba(245,237,232,0.08); }
  body.editorial .specialty-edit-item:nth-child(2n) { border-right: none; }

  /* Stats grid */
  .stats-editorial-grid { grid-template-columns: repeat(2, 1fr); }

  /* H-pin: désactive scroll horizontal sur tablet, passe en stack vertical */
  .h-pin { height: auto; }
  .h-pin-sticky { position: relative; height: auto; padding: 60px 0; }
  .h-pin-track { flex-direction: column; gap: 24px; padding: 0 24px; transform: none !important; }
  .h-pin-card { width: 100%; height: auto; min-height: 380px; }
  .h-pin-caption, .h-pin-progress { display: none; }
  .h-pin-header { padding: 80px 0 0; }
}

@media (max-width: 768px) {
  /* Header mobile */
  .header-inner { padding: 0 16px; }
  .header .header-cta { display: none; }
  body.editorial.has-dark-hero .header:not(.scrolled) .nav-toggle:not(.open) span { background: var(--paper-warm); }

  /* Mobile menu: padding ajusté pour petits écrans */
  .nav-menu { padding: 0 24px; }

  /* Hero pages internes mobile */
  .hero-editorial { min-height: 70vh; padding-top: 80px; padding-bottom: 60px; }
  .hero-editorial h1 { font-size: clamp(2.5rem, 11vw, 4rem); }
  .hero-editorial .hero-meta { grid-template-columns: 1fr 1fr; gap: 14px; }
  .hero-editorial .hero-actions { flex-direction: column; align-items: flex-start; }
  .hero-editorial .hero-actions .btn-editorial { width: 100%; justify-content: center; }

  /* Section heads */
  .section-head { padding-bottom: 20px; margin-bottom: 50px; }
  .section-head .section-h { font-size: clamp(1.9rem, 7vw, 3rem); }

  /* H-pin cards mobile */
  .h-pin-card { padding: 30px; min-height: 340px; }
  .h-pin-card h3 { font-size: 1.8rem; }
  .h-pin-card p { font-size: 0.88rem; }

  /* Specialty cards 1 col */
  .specialty-edit-grid { grid-template-columns: 1fr; }
  body.editorial .specialty-edit-item { border-right: none !important; }
  .specialty-edit-item { padding: 36px 28px; }

  /* Stats 1 col */
  .stats-editorial-grid { grid-template-columns: 1fr; }
  .stat-edit { padding: 40px 20px; border-right: none !important; }
  .stat-edit:nth-child(n+2) { border-top: 1px solid rgba(245,237,232,0.08); }

  /* Manifesto plus compact */
  .manifesto { padding: 80px 0; }
  .manifesto-text { font-size: clamp(1.4rem, 5.5vw, 2rem); }
  .manifesto-sign { flex-direction: column; gap: 8px; align-items: flex-start; }

  /* Marquee plus discret */
  .marquee { padding: 30px 0; }
  .marquee-item { font-size: clamp(1.5rem, 7vw, 2.5rem); gap: 50px; }

  /* Night Paris */
  .night-paris { min-height: auto; padding: 80px 0; }
  .night-paris-content h2 { font-size: clamp(2rem, 8vw, 3.2rem); }
  .night-paris-meta { flex-direction: column; gap: 24px; }

  /* Testimonial */
  .testi-edit .testi-quote { font-size: clamp(1.4rem, 5vw, 2rem); }
  .testi-edit .testi-author { flex-direction: column; gap: 12px; align-items: flex-start; text-align: left; }

  /* CTA */
  .cta-edit { padding: 80px 0; }
  .cta-edit h2 { font-size: clamp(2rem, 7vw, 3.5rem); }
  .cta-edit .cta-actions { flex-direction: column; align-items: stretch; }
  .cta-edit .cta-actions .btn-editorial { width: 100%; justify-content: center; }
  .cta-edit .cta-meta { flex-direction: column; gap: 14px; }

  /* PSDS */
  .psds-edit { grid-template-columns: repeat(2, 1fr); }
  body.editorial .psds-edit-item { border-right-color: rgba(245,237,232,0.08) !important; }
  .psds-edit-item:nth-child(2) { border-right: none !important; }
  .psds-edit-item:nth-child(n+3) { border-top: 1px solid rgba(245,237,232,0.1); }

  /* Security table */
  .security-edit-row { grid-template-columns: 1fr; gap: 8px; padding: 20px 0; }

  /* Contact form / map */
  .contact-edit-grid { grid-template-columns: 1fr; gap: 50px; }
  .contact-map iframe { height: 280px; }

  /* WMS sidebar disparaît */
  .wms-dash { grid-template-columns: 1fr; }
  .wms-side { display: none; }
  .wms-kpis { grid-template-columns: 1fr; }
  .wms-main { padding: 24px 18px; }
  .wms-orders-head, .wms-order { grid-template-columns: 1fr 1fr 1fr; }
  .wms-orders-head > :nth-child(4),
  .wms-orders-head > :nth-child(5),
  .wms-order > :nth-child(4),
  .wms-order > :nth-child(5) { display: none; }

  /* WMS bar : titre + recherche stack */
  .wms-bar { flex-direction: column; align-items: stretch; gap: 14px; }
  .wms-bar h3 { font-size: 1.4rem; line-height: 1.2; }
  .wms-bar .wms-search { width: 100%; min-width: 0; box-sizing: border-box; }

  /* WMS chart : tabs scrollables horizontalement, head stack */
  .wms-chart { padding: 18px 14px; }
  .wms-chart-head { flex-direction: column; align-items: stretch; gap: 14px; }
  .wms-chart-head h5 { font-size: 1rem; }
  .wms-chart-head .wms-tabs {
    width: 100%; overflow-x: auto; flex-wrap: nowrap;
    scrollbar-width: none; -ms-overflow-style: none;
  }
  .wms-chart-head .wms-tabs::-webkit-scrollbar { display: none; }
  .wms-chart-head .wms-tabs button { flex-shrink: 0; }
  .wms-chart-svg { height: 200px; }

  /* Live map: panel + bar passent en relatif */
  .live-panel { position: relative; top: auto; right: auto; max-width: none; margin-top: 16px; }
  .live-bar { position: relative; bottom: auto; left: auto; right: auto; margin-top: 12px; flex-wrap: wrap; gap: 16px; padding: 16px 20px; }

  /* Eco calc */
  .eco-calc { grid-template-columns: 1fr; gap: 40px; }
  .eco-fleet { grid-template-columns: 1fr; gap: 8px; }
  .eco-co2 { font-size: clamp(3rem, 14vw, 5rem); }

  /* Devis */
  .devis-grid { grid-template-columns: 1fr; gap: 30px; }
  .devis-options { grid-template-columns: 1fr 1fr; }
  .devis-recap-num { font-size: clamp(2rem, 8vw, 2.8rem); }

  /* Side ticker caché sur mobile */
  .side-ticker { display: none; }

  /* Sim frame: padding réduit */
  .sim-frame { padding: 30px 20px; }
  .sim-tag, .sim-live { position: static; display: inline-block; margin-bottom: 12px; }

  /* Footer mobile */
  .footer-inner { grid-template-columns: 1fr; gap: 30px; padding-top: 40px; padding-bottom: 30px; }
  .footer-bottom .container { flex-direction: column; gap: 8px; text-align: center; }

  /* Portrait section */
  .portrait-grid { grid-template-columns: 1fr; gap: 30px; }

  /* Edit-row text-only */
  .edit-row.text-only { padding: 60px 20px; }

  /* Timeline */
  .timeline-edit::before { display: none; }
  .timeline-edit-track { grid-auto-flow: row; grid-template-columns: 1fr; gap: 40px; }
  body.editorial .timeline-edit-item::before { box-shadow: 0 0 0 5px var(--paper-warm); }

  /* Specialty hover désactivé sur touch (pas de hover sur touch) */
  body.editorial .specialty-edit-item:hover { transform: none; }

  /* Intro veil mobile */
  .intro-logo { width: clamp(88px, 30vw, 130px); }
}

@media (max-width: 480px) {
  .container { padding: 0 18px; }
  .hero-editorial h1 { font-size: 2.2rem; }
  .section-head .section-h { font-size: 1.7rem; }
  .h-pin-card { padding: 24px; min-height: 320px; }
  .h-pin-card h3 { font-size: 1.5rem; }
  .specialty-edit-item { padding: 28px 20px; }
  .specialty-edit-item h3 { font-size: 1.5rem; }
  .stat-edit .stat-num { font-size: 2.5rem; }
  .manifesto-text { font-size: 1.3rem; }
  .testi-edit .testi-quote { font-size: 1.3rem; }
  .cta-edit h2 { font-size: 1.9rem; }
  .devis-options { grid-template-columns: 1fr; }
}

/* Footer credit (Comnetix) */
.footer-credit {
  font-size: 0.8rem;
  opacity: 0.7;
  margin-left: 4px;
}
.footer-credit a {
  color: var(--green-olive);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}
.footer-credit a:hover { color: var(--green-glow); text-decoration: underline; }
body.editorial .footer-credit { color: rgba(17,17,17,0.65); }
body.editorial .footer-credit a { color: var(--green-dark); }
body.editorial .footer-credit a:hover { color: var(--green-olive); }

/* Google Maps iframe wrapper */
.contact-map {
  margin-top: 28px;
  border: 1px solid var(--line-soft);
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(17,17,17,0.06);
  position: relative;
}
.contact-map iframe { display: block; width: 100%; height: 320px; border: 0; filter: saturate(0.92) contrast(0.96); }
/* Le cartouche suit le site cartographié (data-label) ; repli sur le siège. */
.contact-map::after {
  content: attr(data-label);
  position: absolute; bottom: 12px; left: 12px;
  background: rgba(250,246,241,0.95);
  padding: 6px 12px; font-size: 0.65rem;
  letter-spacing: 0.25em; color: var(--ink-deep);
  pointer-events: none;
}
.contact-map:not([data-label])::after { content: 'MCE TRANSPORT & LOGISTIQUE · 95190 GOUSSAINVILLE'; }

/* --- Contact · les trois implantations --- */
.contact-sites { margin-top: 30px; }
.contact-site { padding-top: 30px; }
.contact-site + .contact-site { border-top: 1px solid var(--line-soft); margin-top: 36px; }
.contact-site-head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 14px;
  margin-bottom: 10px;
}
.contact-site-head h5 {
  font-family: var(--font-display); font-size: 1.35rem; font-weight: 500;
  letter-spacing: -0.02em; color: var(--ink-deep);
}
.contact-site-head span {
  font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--green-dark); white-space: nowrap;
}
.contact-site address {
  font-style: normal; font-size: 0.95rem; line-height: 1.65;
  color: var(--ink-deep); margin-bottom: 10px;
}
.contact-site > p {
  font-size: 0.88rem; line-height: 1.7; color: var(--grey-medium);
}
.contact-site .contact-map { margin-top: 18px; }
.contact-site .contact-map iframe { height: 260px; }

/* ===== FOOTER · clair ===== */
body.editorial .footer {
  background: var(--paper-cream); color: rgba(17,17,17,0.78);
}
body.editorial .footer-top-bar { background: var(--green-olive); }
body.editorial .footer-col h4 { color: var(--green-dark); }
body.editorial .footer-col a { color: var(--ink-deep); opacity: 0.75; }
body.editorial .footer-col a:hover { color: var(--green-dark); opacity: 1; }
body.editorial .footer-bottom { border-top-color: var(--line-soft); }
body.editorial .footer-bottom p,
body.editorial .footer-bottom a { color: rgba(17,17,17,0.6); }

/* ===== SCROLL TO TOP ===== */
body.editorial .scroll-top-btn { background: var(--ink-deep); color: var(--paper-warm); }
body.editorial .scroll-top-btn:hover { background: var(--green-olive); }

/* ============================================================================
   S I M U L A T I O N S · version claire
   ============================================================================ */
body.editorial .sim-section {
  background: var(--paper-cream); color: var(--ink-deep);
}
body.editorial .sim-section.sim-light { background: var(--paper-warm); }
body.editorial .sim-frame {
  background: #FFFFFF;
  border-color: var(--line-soft);
  box-shadow: 0 30px 80px rgba(17,17,17,0.08);
}
body.editorial .sim-frame::before {
  background: linear-gradient(90deg, transparent 0%, var(--green-olive) 50%, transparent 100%);
  opacity: 0.7;
}
body.editorial .sim-tag {
  background: var(--ink-deep); color: var(--paper-warm);
}
body.editorial .sim-live { color: var(--green-dark); }
body.editorial .sim-live::before { background: var(--green-olive); box-shadow: 0 0 10px rgba(138,173,48,0.6); }

/* DEVIS */
body.editorial .devis-row label { color: rgba(17,17,17,0.55); }
body.editorial .devis-row label .devis-val { color: var(--green-dark); }
body.editorial .devis-slider { background: rgba(17,17,17,0.12); }
body.editorial .devis-slider::-webkit-slider-thumb {
  background: var(--green-olive); border-color: #fff;
  box-shadow: 0 0 0 1px var(--green-olive);
}
body.editorial .devis-opt {
  border-color: var(--line-strong); color: rgba(17,17,17,0.7);
}
body.editorial .devis-opt:hover { border-color: var(--green-olive); color: var(--green-dark); }
body.editorial .devis-opt.on {
  background: var(--ink-deep); color: var(--paper-warm); border-color: var(--ink-deep);
}
body.editorial .devis-result {
  background: var(--paper-warm); border-color: var(--line-soft);
}
body.editorial .devis-result .devis-eyebrow { color: var(--green-dark); }
body.editorial .devis-recap-num { color: var(--ink-deep); }
body.editorial .devis-recap-unit { color: rgba(17,17,17,0.45); }
body.editorial .devis-breakdown { color: rgba(17,17,17,0.7); }
body.editorial .devis-breakdown div { border-bottom-color: var(--line-soft); }
body.editorial .devis-promise { color: var(--green-dark); }
body.editorial .devis-promise::before { background: var(--green-olive); }

/* LIVE MAP · fond carte clair façon Google Maps "minimal" */
body.editorial .live-map {
  background: radial-gradient(ellipse at 50% 50%, #F4EFE7 0%, #E8E0D5 100%);
  border-color: var(--line-soft);
}
body.editorial .live-map .map-grid { stroke: rgba(17,17,17,0.05); }
body.editorial .live-map .map-road { stroke: rgba(17,17,17,0.18); }
body.editorial .live-map .map-route { stroke: var(--green-olive); filter: none; }
body.editorial .live-map .map-route-done {
  stroke: var(--green-dark);
  filter: drop-shadow(0 1px 4px rgba(92,126,19,0.4));
}
body.editorial .live-map .map-poi { fill: var(--green-olive); stroke: #fff; }
body.editorial .live-map .map-poi-glow { fill: var(--green-olive); }
body.editorial .live-map .map-truck {
  filter: drop-shadow(0 2px 6px rgba(17,17,17,0.25));
}
body.editorial .live-map .map-truck rect:first-of-type { fill: var(--green-dark) !important; }
body.editorial .live-map .map-truck rect:nth-of-type(2) { fill: #fff !important; opacity: 0.85 !important; }
body.editorial .live-map .map-truck circle { fill: var(--ink-deep) !important; }
body.editorial .live-map .map-label { fill: var(--ink-deep); }
body.editorial .live-map .map-label-sub { fill: rgba(17,17,17,0.5); }

body.editorial .live-panel {
  background: rgba(255,255,255,0.92); backdrop-filter: blur(10px);
  border-color: var(--line-soft);
}
body.editorial .live-panel h4 { color: var(--ink-deep); }
body.editorial .live-panel .live-id { color: var(--green-dark); }
body.editorial .live-panel .live-eta { color: var(--green-olive); }
body.editorial .live-panel .live-eta-lbl { color: rgba(17,17,17,0.5); }
body.editorial .live-panel .live-step {
  color: rgba(17,17,17,0.75); border-bottom-color: var(--line-soft);
}
body.editorial .live-panel .live-step.done { color: var(--green-dark); }
body.editorial .live-panel .live-step.now { color: var(--ink-deep); }
body.editorial .live-panel .live-step.now::before { background: var(--green-olive); }
body.editorial .live-panel .live-step.done .dot { background: var(--green-olive); border-color: var(--green-olive); }

body.editorial .live-bar {
  background: rgba(255,255,255,0.92); backdrop-filter: blur(10px);
  border-color: var(--line-soft);
}
body.editorial .live-bar-item .lb-val { color: var(--ink-deep); }
body.editorial .live-bar-item .lb-val em { color: var(--green-olive); }
body.editorial .live-bar-item .lb-lbl { color: rgba(17,17,17,0.55); }

/* WMS DASHBOARD · clair */
body.editorial .wms-dash {
  background: #FFFFFF; border-color: var(--line-soft);
}
body.editorial .wms-side {
  background: var(--paper-warm); border-right-color: var(--line-soft);
}
body.editorial .wms-side h4 { color: var(--ink-deep); border-bottom-color: var(--line-soft); }
body.editorial .wms-nav a { color: rgba(17,17,17,0.55); }
body.editorial .wms-nav a:hover, body.editorial .wms-nav a.active {
  color: var(--green-dark); border-left-color: var(--green-olive);
  background: rgba(138,173,48,0.06);
}
body.editorial .wms-nav a.active::before { background: var(--green-olive); }
body.editorial .wms-bar { border-bottom-color: var(--line-soft); }
body.editorial .wms-bar h3 { color: var(--ink-deep); }
body.editorial .wms-bar .wms-search {
  background: var(--paper-warm); color: var(--ink-deep);
  border-color: var(--line-soft);
}
body.editorial .wms-bar .wms-search::placeholder { color: rgba(17,17,17,0.4); }
body.editorial .wms-kpi {
  background: var(--paper-warm); border-color: var(--line-soft);
}
body.editorial .wms-kpi::before { background: var(--green-olive); }
body.editorial .wms-kpi.warn::before { background: var(--gold); }
body.editorial .wms-kpi .kpi-lbl { color: rgba(17,17,17,0.55); }
body.editorial .wms-kpi .kpi-val { color: var(--ink-deep); }
body.editorial .wms-kpi .kpi-val em { color: var(--green-olive); }
body.editorial .wms-kpi .kpi-delta { color: var(--green-dark); }
body.editorial .wms-kpi .kpi-delta.down { color: var(--gold); }
body.editorial .wms-chart {
  background: var(--paper-warm); border-color: var(--line-soft);
}
body.editorial .wms-chart-head h5 { color: var(--ink-deep); }
body.editorial .wms-chart-head .wms-tabs button {
  color: rgba(17,17,17,0.55); border-color: var(--line-soft);
  background: transparent;
}
body.editorial .wms-chart-head .wms-tabs button.on,
body.editorial .wms-chart-head .wms-tabs button:hover {
  background: var(--ink-deep); color: var(--paper-warm); border-color: var(--ink-deep);
}
body.editorial .wms-chart-svg .grid { stroke: rgba(17,17,17,0.06); }
body.editorial .wms-chart-svg .line { stroke: var(--green-olive); filter: drop-shadow(0 4px 12px rgba(138,173,48,0.25)); }
body.editorial .wms-chart-svg .dot { fill: var(--green-olive); }
body.editorial .wms-chart-svg .x-lbl,
body.editorial .wms-chart-svg .y-lbl { fill: rgba(17,17,17,0.55); }
body.editorial .wms-orders-head {
  color: rgba(17,17,17,0.45); border-bottom-color: var(--line-soft);
}
body.editorial .wms-order {
  color: rgba(17,17,17,0.8); border-bottom-color: var(--line-soft);
}
body.editorial .wms-order:hover { background: rgba(138,173,48,0.05); }
body.editorial .wms-order .wms-id { color: var(--green-dark); }
body.editorial .wms-status.ready { color: var(--green-dark); border-color: var(--green-dark); }
body.editorial .wms-status.prep { color: #B68B2E; border-color: #B68B2E; }
body.editorial .wms-status.shipping { color: var(--ink-deep); border-color: var(--ink-deep); }

/* ECO CALC */
body.editorial .eco-fleet button {
  background: transparent; border-color: var(--line-strong);
  color: rgba(17,17,17,0.7);
}
body.editorial .eco-fleet button.on {
  background: var(--ink-deep); color: var(--paper-warm); border-color: var(--ink-deep);
}
body.editorial .eco-result {
  background: var(--paper-warm); border-color: var(--line-soft);
}
body.editorial .eco-result::before {
  background: radial-gradient(circle at 50% 50%, rgba(138,173,48,0.2), transparent 60%);
}
body.editorial .eco-result .eco-eyebrow { color: var(--green-dark); }
body.editorial .eco-co2 { color: var(--ink-deep); }
body.editorial .eco-co2 em { color: var(--green-olive); }
body.editorial .eco-co2-lbl { color: rgba(17,17,17,0.55); }
body.editorial .eco-equiv { border-top-color: var(--line-soft); }
body.editorial .eco-equiv-item .ee-val { color: var(--green-dark); }
body.editorial .eco-equiv-item .ee-lbl { color: rgba(17,17,17,0.55); }

/* Inline styles inversés sur engagements.html (calculator description) · déjà light, OK.
   Sur logistique.html (section-light avec inline styles) · déjà OK car ils ciblent black-deep. */

/* Forcer black-deep dans inline → ink-deep via une couche supplémentaire pour cohérence */
body.editorial [style*="--black-deep"] { /* no-op safety */ }

/* p tag inline color overrides on engagements (déjà rgba(26,26,26,..) · restent valides) */

/* ============================================================================
   ╔══════════════════════════════════════════════════════════════════════════╗
   ║   V I D E O   B A C K G R O U N D S   ·   V5 / V7 / V8                  ║
   ║   Manifesto · Portrait équipe · CTA signature                            ║
   ╚══════════════════════════════════════════════════════════════════════════╝
   ============================================================================ */

/* --- V5 · Manifesto video background --- */
.manifesto { position: relative; overflow: hidden; }
.manifesto-bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 0;
  opacity: 0.22;
  pointer-events: none;
}
.manifesto-bg-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg,
    rgba(242,235,227,0.7) 0%,
    rgba(242,235,227,0.55) 40%,
    rgba(242,235,227,0.85) 100%);
  pointer-events: none;
}
.manifesto > .container { position: relative; z-index: 2; }

body.editorial .manifesto-bg-overlay {
  background: linear-gradient(180deg,
    rgba(242,235,227,0.78) 0%,
    rgba(242,235,227,0.6) 40%,
    rgba(242,235,227,0.88) 100%);
}

/* --- V7 · Portrait équipe section --- */
.portrait-section {
  padding: var(--section-pad) 0;
  background: var(--paper-warm);
  color: var(--ink-deep);
  position: relative;
}
.portrait-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px;
  align-items: center; margin-top: 60px;
}
.portrait-media {
  position: relative; aspect-ratio: 4/5;
  overflow: hidden; background: var(--paper-soft);
  border: 1px solid var(--line-soft);
}
.portrait-media video,
.portrait-media img {
  width: 100%; height: 100%; object-fit: cover;
  display: block;
}
.portrait-media .portrait-caption {
  position: absolute; bottom: 20px; right: 20px;
  font-size: 0.65rem; letter-spacing: 0.3em;
  text-transform: uppercase; color: var(--paper-warm);
  background: rgba(17,17,17,0.65);
  padding: 8px 14px;
  writing-mode: horizontal-tb;
  z-index: 2;
}
.portrait-text .eyebrow {
  font-size: 0.7rem; letter-spacing: 0.4em; text-transform: uppercase;
  color: var(--green-dark); margin-bottom: 24px;
  display: flex; align-items: center; gap: 14px;
}
.portrait-text .eyebrow::before {
  content: ''; width: 30px; height: 1px; background: var(--green-dark);
}
.portrait-text h2 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.5vw, 4rem); font-weight: 500;
  letter-spacing: -0.02em; line-height: 1;
  margin-bottom: 30px; color: var(--ink-deep);
}
.portrait-text h2 em { font-style: normal; color: var(--green-olive); }
.portrait-text blockquote {
  font-family: var(--font-display);
  font-size: 1.4rem; line-height: 1.5;
  color: rgba(17,17,17,0.78);
  margin-bottom: 30px; font-style: normal;
  padding-left: 24px;
  border-left: 1px solid var(--green-olive);
}
.portrait-text .portrait-attr {
  font-size: 0.7rem; letter-spacing: 0.3em; text-transform: uppercase;
  color: rgba(17,17,17,0.55); margin-bottom: 30px;
}
.portrait-text .portrait-attr strong {
  display: block; font-family: var(--font-display);
  font-size: 1.4rem; font-weight: 500; color: var(--ink-deep);
  text-transform: none; letter-spacing: -0.01em; margin-bottom: 6px;
  font-style: normal;
}
.portrait-text p {
  font-size: 1rem; line-height: 1.8;
  color: rgba(17,17,17,0.72); margin-bottom: 16px;
}

@media (max-width: 1024px) {
  .portrait-grid { grid-template-columns: 1fr; gap: 50px; }
}

/* ============================================================================
   ╔══════════════════════════════════════════════════════════════════════════╗
   ║   T Y P O G R A P H I C   B A C K D R O P S   ·   No-Image Sections     ║
   ║   Pour pages sans image : énormes "MCE" en outline + accents typo       ║
   ╚══════════════════════════════════════════════════════════════════════════╝
   ============================================================================ */

/* Hero typographic backdrop · gigantic MCE outline behind hero content */
.hero-bg-typo { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero-bg-typo video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  z-index: 2;
}
.hero-typo-frame { display: none !important; }
.hero-typo-letter { display: none !important; }

/* Hero with typographic backdrop only (no video at all) */
.hero-editorial.hero-no-video .hero-bg-typo {
  background: linear-gradient(180deg, var(--paper-warm) 0%, var(--paper-soft) 100%);
}

/* ============================================================================
   HERO VIDEO-ONLY (Homepage) · Vidéo plein écran, zéro texte par-dessus
   ============================================================================ */


/* ============================================================================
   HERO ACCUEIL · photo plein cadre + texte incrusté
   La photo est cadrée au centre (Arc + camion) : le texte se pose donc en bas,
   sur un voile dégradé qui assombrit la route sans toucher au ciel ni à l'Arc.
   ============================================================================ */
.hero-home {
  position: relative;
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  background: var(--black-deep);
  overflow: hidden;
  isolation: isolate;
}
.hero-home-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 42%;
  z-index: 0;
}
/* Voile en deux passes : latéral pour asseoir le texte à gauche, vertical pour
   le bandeau de chiffres. L'Arc et le ciel (à droite, en haut) restent nets.
   Rien en haut : le header est déjà crème opaque (cf. GLOBAL HEADER LOCK). */
.hero-home-veil {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(90deg,
      rgba(10,10,10,0.72) 0%,
      rgba(10,10,10,0.42) 38%,
      rgba(10,10,10,0) 66%),
    linear-gradient(180deg,
      rgba(10,10,10,0) 34%,
      rgba(10,10,10,0.6) 62%,
      rgba(10,10,10,0.94) 100%);
}
.hero-home-inner {
  position: relative; z-index: 2;
  width: 100%;
  padding-bottom: clamp(28px, 3vw, 44px);
}
.hero-home-text { max-width: 720px; }
.hero-home-text .hero-eyebrow {
  font-size: 0.7rem; letter-spacing: 0.4em; text-transform: uppercase;
  color: var(--green-glow); margin-bottom: 22px;
  display: flex; align-items: center; gap: 14px;
  text-shadow: 0 2px 14px rgba(0,0,0,0.5);
}
.hero-home-text .hero-eyebrow::before {
  content: ''; width: 40px; height: 1px; background: var(--green-glow);
  flex: none;
}
/* Volontairement mesuré : au-delà de ~3.2rem le titre déborde sur l'Arc. */
body.editorial .hero-home-text h1 {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 3.4vw, 3.2rem);
  font-weight: 500;
  line-height: 1.05; letter-spacing: -0.02em;
  margin: 0 0 20px;
  color: var(--cream-warm);
  text-shadow: 0 4px 30px rgba(0,0,0,0.6);
}
body.editorial .hero-home-text h1 em {
  font-style: normal; font-weight: 400; color: var(--green-glow);
}
.hero-home-tag {
  font-size: clamp(0.9rem, 1vw, 1rem); line-height: 1.65;
  color: rgba(245,237,232,0.8);
  max-width: 580px; margin: 0 0 28px;
  text-shadow: 0 2px 16px rgba(0,0,0,0.7);
}
.hero-home-text .hero-actions { display: flex; gap: 18px; flex-wrap: wrap; }

/* Boutons sur fond sombre : même traitement que les hero des autres pages */
body.editorial .hero-home .btn-editorial {
  color: var(--paper-warm);
  border-color: rgba(245,237,232,0.5);
}
body.editorial .hero-home .btn-editorial::before { background: var(--paper-warm); }
body.editorial .hero-home .btn-editorial:hover { color: var(--ink-deep); border-color: var(--paper-warm); }
body.editorial .hero-home .btn-editorial-filled {
  background: var(--green-olive); color: var(--ink-deep);
  border-color: var(--green-olive);
}
body.editorial .hero-home .btn-editorial-filled::before { background: var(--paper-warm); }
body.editorial .hero-home .btn-editorial-filled:hover { color: var(--ink-deep); }

/* Bandeau de chiffres, posé au ras du bas */
.hero-home-stats {
  position: relative; z-index: 2;
  border-top: 1px solid rgba(245,237,232,0.16);
  background: rgba(10,10,10,0.42);
  backdrop-filter: blur(6px);
}
.hero-home-stats-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 0;
}
.hero-home-stats-grid > div {
  padding: 22px 30px 24px;
  border-left: 1px solid rgba(245,237,232,0.12);
  display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap;
}
.hero-home-stats-grid > div:first-child { border-left: none; padding-left: 0; }
/* préfixé : body.editorial strong repasserait les chiffres en sombre */
body.editorial .hero-home-stats-grid strong {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.2vw, 2.1rem); font-weight: 500;
  letter-spacing: -0.01em; color: var(--cream-warm);
  line-height: 1;
}
.hero-home-stats-grid em {
  font-style: normal; color: var(--green-glow);
  font-size: 0.55em; margin-left: 3px;
}
.hero-home-stats-grid span {
  font-size: 0.66rem; letter-spacing: 0.24em; text-transform: uppercase;
  color: rgba(245,237,232,0.6); line-height: 1.5;
}
.hero-home-scroll {
  position: absolute; z-index: 3;
  right: var(--gutter-xl); bottom: 130px;
  font-size: 0.62rem; letter-spacing: 0.35em;
  text-transform: uppercase; color: rgba(245,237,232,0.75);
  display: flex; flex-direction: column; align-items: center; gap: 12px;
}
.hero-home-scroll::after {
  content: ''; width: 1px; height: 50px;
  background: linear-gradient(to bottom, rgba(245,237,232,0.75), transparent);
  animation: scrollPulse 2.2s infinite var(--ease-soft);
}
@media (max-width: 1024px) {
  .hero-home-scroll { display: none; }
  .hero-home-stats-grid > div { padding: 18px 18px 20px; }
}
@media (max-width: 768px) {
  .hero-home { min-height: 92svh; margin-top: var(--header-height); }
  .hero-home-bg { object-position: center 38%; }
  /* le texte occupe plus de place : on assombrit davantage */
  .hero-home-veil {
    background: linear-gradient(180deg,
      rgba(10,10,10,0) 12%,
      rgba(10,10,10,0.72) 50%,
      rgba(10,10,10,0.96) 100%);
  }
  .hero-home-text { max-width: none; }
  .hero-home-tag { margin-bottom: 26px; }
  .hero-home-text .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-home-text .hero-actions .btn-editorial { width: 100%; justify-content: center; }
  .hero-home-stats-grid { grid-template-columns: 1fr; }
  .hero-home-stats-grid > div {
    border-left: none; padding: 12px 0;
    border-top: 1px solid rgba(245,237,232,0.12);
  }
  .hero-home-stats-grid > div:first-child { border-top: none; }
}


/* Edit-row TEXT-ONLY variant · drop image column, single-column elegant */
.edit-row.text-only {
  grid-template-columns: 1fr;
  max-width: 880px; margin: 0 auto;
  padding: var(--section-pad) 24px;
  position: relative;
}
.edit-row.text-only .edit-row-text { padding: 0; }
.edit-row.text-only::before {
  content: ''; position: absolute; top: var(--section-pad); left: 50%;
  transform: translateX(-50%);
  width: 60px; height: 1px; background: var(--green-olive);
  margin-top: -40px;
}
.edit-row.text-only .edit-row-text h2 { font-size: clamp(2.4rem, 5vw, 4.5rem); }

/* H-pin card without image · typographic card */
.h-pin-card.text-only .h-pin-card-bg { display: none; }
.h-pin-card.text-only {
  background: var(--paper-soft);
  border: 1px solid var(--line-soft);
}
.h-pin-card.text-only::before { display: none; }
body.editorial .h-pin-card.text-only { background: var(--paper-soft); border-color: var(--line-soft); }

/* Night-paris without image · solid gradient bg with giant typo */
.night-paris.text-only .night-paris-bg {
  background: linear-gradient(135deg, var(--paper-soft) 0%, var(--paper-cream) 100%);
}
.night-paris.text-only .night-paris-bg::after { display: none; }
.night-paris.text-only .night-paris-bg img,
.night-paris.text-only .night-paris-bg video { display: none; }
.night-paris-typo { display: none !important; }
.night-paris-typo span { display: none !important; }

/* --- V8 · CTA signature video background --- */
.cta-edit { overflow: hidden; }
.cta-edit-bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 0;
  opacity: 0.18;
  pointer-events: none;
}
.cta-edit-bg-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: radial-gradient(ellipse at 50% 50%,
    rgba(242,235,227,0.6) 0%,
    rgba(242,235,227,0.92) 100%);
  pointer-events: none;
}
body.editorial .cta-edit-bg-overlay {
  background: radial-gradient(ellipse at 50% 50%,
    rgba(242,235,227,0.7) 0%,
    rgba(242,235,227,0.95) 100%);
}

/* Video section · handling.html */
.video-section {
  padding: 60px 20px;
  background: #f8f8f6;
  text-align: center;
}
.video-section .video-wrapper {
  max-width: 800px;
  margin: 0 auto;
  overflow: hidden;
  position: relative;
}
.video-section video {
  width: calc(100% + 80px);
  margin-left: -20px;
  margin-bottom: -38px;
  display: block;
  height: auto;
}

/* ============================================================================
   GLOBAL HEADER LOCK · même menu sur toutes les pages (fond cream opaque)
   ============================================================================ */
body.editorial .header,
body.editorial .header:not(.scrolled),
body.editorial.has-dark-hero .header,
body.editorial.has-dark-hero .header:not(.scrolled) {
  background: rgba(250,246,241,0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line-soft);
  box-shadow: 0 4px 20px rgba(17,17,17,0.06);
}
body.editorial .header .nav-link,
body.editorial .header:not(.scrolled) .nav-link,
body.editorial.has-dark-hero .header:not(.scrolled) .nav-link {
  color: var(--ink-deep);
  text-shadow: none;
}
body.editorial .header .nav-link:hover,
body.editorial .header .nav-link.active,
body.editorial .header:not(.scrolled) .nav-link:hover,
body.editorial .header:not(.scrolled) .nav-link.active,
body.editorial.has-dark-hero .header:not(.scrolled) .nav-link:hover,
body.editorial.has-dark-hero .header:not(.scrolled) .nav-link.active {
  color: var(--green-dark);
}
body.editorial .header .nav-link::after,
body.editorial .header:not(.scrolled) .nav-link::after,
body.editorial.has-dark-hero .header:not(.scrolled) .nav-link::after {
  background: var(--green-dark);
}
body.editorial .header-cta,
body.editorial .header:not(.scrolled) .header-cta,
body.editorial.has-dark-hero .header:not(.scrolled) .header-cta {
  background: var(--ink-deep);
  color: var(--paper-warm);
  border-color: var(--ink-deep);
}
body.editorial .header-cta:hover,
body.editorial .header:not(.scrolled) .header-cta:hover,
body.editorial.has-dark-hero .header:not(.scrolled) .header-cta:hover {
  background: var(--green-olive);
  border-color: var(--green-olive);
  color: var(--paper-warm);
}
body.editorial .nav-toggle span,
body.editorial .header .nav-toggle span,
body.editorial .header:not(.scrolled) .nav-toggle span,
body.editorial.has-dark-hero .nav-toggle span,
body.editorial.has-dark-hero .header .nav-toggle span,
body.editorial.has-dark-hero .header:not(.scrolled) .nav-toggle span,
body.editorial.has-dark-hero .header:not(.scrolled) .nav-toggle:not(.open) span {
  background: var(--ink-deep) !important;
}
body.editorial .header-top-bar,
body.editorial.has-dark-hero .header-top-bar { background: var(--green-olive); }

/* ============================================================================
   COOKIE BANNER · RGPD · Editorial style
   ============================================================================ */
.cookie-banner {
  position: fixed; left: 24px; right: 24px; bottom: 24px;
  z-index: 9000; max-width: 980px; margin: 0 auto;
  background: var(--ink-deep, #111);
  color: var(--paper-warm, #FAF6F1);
  border: 1px solid rgba(245,237,232,0.12);
  box-shadow: 0 24px 60px rgba(0,0,0,0.35);
  transform: translateY(120%); opacity: 0;
  transition: transform 0.6s cubic-bezier(0.16,1,0.3,1), opacity 0.4s ease;
}
.cookie-banner.show { transform: translateY(0); opacity: 1; }
.cookie-banner-inner {
  display: grid; grid-template-columns: 1fr auto;
  align-items: center; gap: 32px;
  padding: 22px 28px;
}
.cookie-banner-eyebrow {
  font-size: 0.65rem; letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--green-glow, #B5DD4A);
  margin-bottom: 8px;
  display: flex; align-items: center; gap: 12px;
}
.cookie-banner-eyebrow::before {
  content: ''; width: 28px; height: 1px;
  background: var(--green-glow, #B5DD4A);
}
.cookie-banner-text p {
  margin: 0; font-size: 0.88rem; line-height: 1.55;
  color: rgba(245,237,232,0.85);
}
.cookie-banner-text a {
  color: var(--paper-warm, #FAF6F1);
  text-decoration: underline; text-underline-offset: 3px;
  text-decoration-color: rgba(245,237,232,0.45);
  transition: text-decoration-color 0.25s ease;
}
.cookie-banner-text a:hover { text-decoration-color: var(--green-glow, #B5DD4A); }
.cookie-banner-actions {
  display: flex; gap: 10px; flex-shrink: 0;
}
.cookie-btn {
  font-family: inherit; font-size: 0.7rem;
  letter-spacing: 0.18em; text-transform: uppercase; font-weight: 500;
  padding: 12px 22px; border-radius: 0; cursor: pointer;
  border: 1px solid rgba(245,237,232,0.4);
  background: transparent; color: var(--paper-warm, #FAF6F1);
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
  white-space: nowrap;
}
.cookie-btn:hover { border-color: var(--paper-warm, #FAF6F1); }
.cookie-btn-accept {
  background: var(--green-olive, #8AAD30);
  border-color: var(--green-olive, #8AAD30);
  color: var(--ink-deep, #111);
}
.cookie-btn-accept:hover {
  background: var(--green-glow, #B5DD4A);
  border-color: var(--green-glow, #B5DD4A);
}
@media (max-width: 720px) {
  .cookie-banner { left: 12px; right: 12px; bottom: 12px; }
  .cookie-banner-inner {
    grid-template-columns: 1fr; gap: 18px;
    padding: 20px 22px;
  }
  .cookie-banner-actions { justify-content: flex-end; }
  .cookie-banner-text p { font-size: 0.82rem; }
  .cookie-btn { padding: 10px 18px; font-size: 0.65rem; }
}


/* ============================================
   Galerie · En images
   ============================================ */
.gallery-page-hero {
  padding: calc(var(--header-height) + 70px) 0 30px;
  text-align: center;
}
.gallery-page-hero .eyebrow {
  font-family: var(--font-display); font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.32em; text-transform: uppercase; color: var(--green-dark);
  margin-bottom: 18px;
}
.gallery-page-hero h1 {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 1.05; margin-bottom: 20px;
}
.gallery-page-hero h1 em { font-style: normal; color: var(--green-olive); }
.gallery-intro {
  max-width: 680px; margin: 0 auto; color: var(--grey-medium);
  font-size: 1.02rem; line-height: 1.8;
}
.gallery-video { padding: clamp(28px, 5vw, 56px) 0 0; }
.gallery-video-frame {
  position: relative;
  margin-top: clamp(20px, 3vw, 34px);
  border-radius: 8px;
  overflow: hidden;
  background: #0a0a0a;
  box-shadow: 0 30px 80px rgba(10,10,10,0.22);
  cursor: pointer;
}
.gallery-video-frame video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
/* Voile + accroche affichés tant que le film n'est pas lancé */
.gallery-video-cue {
  position: absolute; inset: 0; z-index: 3;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 18px;
  background: linear-gradient(180deg, rgba(10,10,10,0.28) 0%, rgba(10,10,10,0.10) 40%, rgba(10,10,10,0.45) 100%);
  cursor: pointer;
  transition: opacity 0.5s var(--ease-soft), visibility 0.5s var(--ease-soft);
}
.gallery-video-frame.is-playing .gallery-video-cue {
  opacity: 0; visibility: hidden;
}
.gallery-video-play {
  position: relative;
  width: clamp(64px, 8vw, 92px);
  height: clamp(64px, 8vw, 92px);
  border-radius: 50%;
  background: rgba(250,246,241,0.14);
  border: 1.5px solid rgba(255,255,255,0.85);
  backdrop-filter: blur(4px);
  transition: transform 0.4s var(--ease-soft), background 0.4s var(--ease-soft);
}
.gallery-video-play::before {
  content: '';
  position: absolute; top: 50%; left: 54%;
  transform: translate(-50%, -50%);
  border-style: solid;
  border-width: 11px 0 11px 18px;
  border-color: transparent transparent transparent #faf6f1;
}
.gallery-video-frame:hover .gallery-video-play {
  transform: scale(1.08);
  background: rgba(250,246,241,0.24);
}
.gallery-video-label {
  font-size: 0.68rem; letter-spacing: 0.32em; text-transform: uppercase;
  color: rgba(255,255,255,0.92);
  text-shadow: 0 2px 12px rgba(0,0,0,0.5);
}
@media (max-width: 768px) {
  .gallery-video-cue { gap: 12px; }
  .gallery-video-label { font-size: 0.6rem; letter-spacing: 0.24em; }
}

.gallery-group { padding: clamp(36px, 6vw, 70px) 0 0; }
.gallery-group-head {
  display: flex; align-items: baseline; gap: 18px; flex-wrap: wrap;
  margin-bottom: 28px; padding-bottom: 16px;
  border-bottom: 1px solid var(--grey-light);
}
.gallery-group-head .section-eyebrow {
  font-family: var(--font-display); font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.28em; text-transform: uppercase; color: var(--green-dark);
}
.gallery-group-head h2 {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.5rem, 3vw, 2.2rem); line-height: 1.1;
}
.gallery-masonry { columns: 3; column-gap: 16px; }
@media (max-width: 980px) { .gallery-masonry { columns: 2; } }
@media (max-width: 560px) { .gallery-masonry { columns: 1; } }
.gallery-item {
  break-inside: avoid; margin: 0 0 16px; position: relative;
  border-radius: 12px; overflow: hidden; background: var(--grey-light);
  box-shadow: 0 6px 20px rgba(17,17,17,0.06);
}
.gallery-item img {
  display: block; width: 100%; height: auto;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 26px 16px 14px; font-family: var(--font-body);
  font-size: 0.75rem; letter-spacing: 0.01em; color: #fff;
  background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
  opacity: 0; transform: translateY(6px); transition: opacity 0.35s ease, transform 0.35s ease;
}
.gallery-item:hover figcaption { opacity: 1; transform: translateY(0); }
@media (hover: none) { .gallery-item figcaption { opacity: 1; transform: none; } }
.gallery-outro { padding: clamp(50px, 8vw, 100px) 0; text-align: center; }

/* Bandeau de photos aligné (sections Stockage) : contrairement à
   .gallery-masonry (colonnes de hauteurs libres), toutes les vignettes ont ici
   le même format, quel que soit le cadrage d'origine. */
.photo-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.photo-row .gallery-item { margin: 0; }
.photo-row .gallery-item img { aspect-ratio: 4 / 3; height: 100%; object-fit: cover; }
@media (max-width: 900px) { .photo-row { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .photo-row { grid-template-columns: 1fr; } }
.photo-row.photo-row-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1100px) { .photo-row.photo-row-4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .photo-row.photo-row-4 { grid-template-columns: 1fr; } }

/* ============================================
   Menu déroulant « Services »
   ============================================ */
.nav-dropdown-wrap { position: relative; }
.nav-caret { font-size: 0.62em; margin-left: 3px; display: inline-block; transition: transform 0.3s ease; }
.nav-dropdown-wrap:hover .nav-caret { transform: rotate(180deg); }
.nav-dropdown {
  position: absolute; top: 100%; left: 50%;
  transform: translateX(-50%) translateY(10px);
  min-width: 200px; padding: 10px 0; margin: 0; list-style: none;
  background: var(--white); border: 1px solid var(--grey-light);
  border-radius: 12px; box-shadow: 0 20px 46px rgba(17,17,17,0.15);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
  z-index: 1002;
}
.nav-dropdown::before { content: ''; position: absolute; top: -14px; left: 0; right: 0; height: 14px; }
/* :focus-within ouvre le menu au clavier. Sans lui, visibility:hidden sort les
   liens de l'ordre de tabulation et Transport/Logistique/Fashion deviennent
   inatteignables sans souris. */
.nav-dropdown-wrap:hover .nav-dropdown,
.nav-dropdown-wrap:focus-within .nav-dropdown {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translateX(-50%) translateY(2px);
}
.nav-dropdown-wrap:focus-within .nav-caret { transform: rotate(180deg); }
.nav-dropdown a {
  display: block; padding: 9px 24px;
  font-family: var(--font-body); font-size: 0.9rem; font-weight: 500;
  color: var(--grey-dark); white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease;
}
.nav-dropdown a:hover, .nav-dropdown a.active { background: var(--cream); color: var(--green-dark); }

@media (max-width: 1024px) {
  .nav-dropdown-wrap { position: static; width: 100%; }
  .nav-caret { display: none; }
  .nav-dropdown {
    position: static; transform: none; opacity: 1; visibility: visible; pointer-events: auto;
    min-width: 0; padding: 2px 0 10px; margin: 2px 0 0;
    background: transparent; border: none; border-radius: 0; box-shadow: none;
    display: flex; flex-direction: column; align-items: center; gap: 0;
  }
  .nav-dropdown::before { display: none; }
  .nav-dropdown a {
    padding: 9px 0; font-size: 1rem; letter-spacing: 0.12em; text-transform: uppercase;
    color: rgba(17,17,17,0.6); font-weight: 400;
  }
  .nav-dropdown a:hover, .nav-dropdown a.active { background: transparent; color: var(--green-olive); }
}

/* ============================================
   Overlay de navigation mobile · correctifs
   Ces règles closent le fichier : elles doivent l'emporter sur les
   déclarations `body.editorial .nav-link` (spécificité 0,2,1) qui, sinon,
   imposent la typo desktop de 0.7rem à l'intérieur de l'overlay.
   ============================================ */
@media (max-width: 1024px) {
  /* Le <li> « Services » est le seul en largeur 100% : sans mise en colonne
     centrée, son <a> inline se cale à gauche pendant que les autres items,
     dimensionnés sur leur contenu, restent centrés par align-items. */
  .nav-dropdown-wrap {
    display: flex; flex-direction: column; align-items: center; text-align: center;
  }

  /* `safe` désactive le centrage quand la liste dépasse la hauteur d'écran :
     sans lui, le débordement se répartit en haut ET en bas, et les premiers
     items deviennent inatteignables même avec overflow-y: auto. */
  .nav-menu {
    height: 100dvh;
    justify-content: safe center;
    padding: calc(var(--header-height) + 16px) 24px 32px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
  }

  body.editorial .nav-menu .nav-link,
  .nav-menu .nav-link {
    font-size: clamp(1.15rem, 5vw, 1.6rem); font-weight: 300;
    letter-spacing: 0.14em; padding: 12px 0;
    text-shadow: none; white-space: normal;
  }

  /* Les sous-items restent subordonnés au parent « Services ». */
  .nav-menu .nav-dropdown a { font-size: clamp(0.8rem, 3.4vw, 0.95rem); padding: 8px 0; }

  /* Cibles tactiles : 44px minimum sur toute la largeur utile. */
  .nav-menu li { width: 100%; }
  .nav-menu .nav-link,
  .nav-menu .nav-dropdown a {
    display: block; width: 100%; text-align: center; min-height: 44px;
  }
}

/* ============================================
   Focus visible au clavier
   Aucune règle de focus n'existait, et .devis-slider posait outline:none
   sans rien en remplacement : la cible du clavier était introuvable.
   :focus-visible ne se déclenche pas au clic souris — le design est intact.
   ============================================ */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--green-glow);
  outline-offset: 3px;
  border-radius: 2px;
}
.devis-slider:focus-visible {
  outline: 2px solid var(--green-glow);
  outline-offset: 6px;
}
/* Le hero et les sections sombres : le vert olive y est peu lisible en focus */
.header .nav-link:focus-visible,
.nav-dropdown a:focus-visible { outline-color: var(--green-olive); }

/* ============================================
   Retour client · juillet 2026
   ============================================ */

/* --- Chapô de section ---------------------------------------------------
   Les paragraphes d'intro de section utilisaient un .edit-row.text-only
   imbriqué. Ce composant est fait pour vivre en pleine section : il repeint
   un fond crème et dessine un filet vert centré. Imbriqué, il produisait
   un « carré blanc » et un trait vert au milieu du texte (retour Hana).
   .section-lede porte le même rythme typographique, sans le décor.
   ------------------------------------------------------------------------ */
.section-lede { max-width: 880px; }
.section-lede p {
  font-size: 1.05rem; line-height: 1.9; font-weight: 300;
  color: rgba(245,237,232,0.75);
  margin-bottom: 20px;
}
.section-lede p:last-child { margin-bottom: 0; }
.section-lede p strong { color: var(--cream-warm); font-weight: 500; }
.section-editorial.section-light .section-lede p { color: rgba(26,26,26,0.7); }
.section-editorial.section-light .section-lede p strong { color: var(--black-deep); }

/* Thème éditorial (le thème réellement servi) : tout est clair. */
body.editorial .section-lede p { color: rgba(17,17,17,0.72); }
body.editorial .section-lede p strong { color: var(--ink-deep); }

/* --- Grille de prestations à 4 colonnes ---------------------------------
   « Les 4 exigences, c'est possible de les faire tenir sur une ligne ?
     Livraison de nuit il est en bas. » · la grille est en 3 colonnes,
   le 4e item retombait seul sur une deuxième ligne.
   ------------------------------------------------------------------------ */
.specialty-edit-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.specialty-edit-grid.cols-4 .specialty-edit-item { padding: 44px 28px; }
.specialty-edit-grid.cols-4 .specialty-edit-item h3 { font-size: 1.3rem; }
@media (max-width: 1100px) {
  .specialty-edit-grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
  .specialty-edit-grid.cols-4 .specialty-edit-item { padding: 40px 30px; }
}
@media (max-width: 640px) {
  .specialty-edit-grid.cols-4 { grid-template-columns: 1fr; }
}

/* --- « +100 véhicules » --------------------------------------------------
   Le compteur animé réécrit son textContent à chaque frame : le « + » doit
   vivre dans un élément voisin, sinon il est effacé dès la première image.
   ------------------------------------------------------------------------ */
.stat-num .stat-plus {
  font-style: normal;
  font-size: 0.65em;
  vertical-align: 0.18em;
  margin-right: 0.02em;
  color: var(--green-olive);
}

/* --- Recadrage des cartes « Trois métiers » ------------------------------
   Les cartes sont plus hautes que larges (60vw plafonné à 720px sur 70vh),
   les photos sont en 3:2 : object-fit:cover rogne donc largement sur les
   côtés, et par défaut il rogne au centre — d'où les deux retours de Hana.

   · Transport : le tracteur vit dans les 400 premiers pixels de la photo et
     disparaissait entièrement. On cale le cadrage à gauche.
   · Logistique : le fond encombré (transpalettes, palettes, fond d'atelier)
     occupe le tiers gauche. On cale à droite : il ne reste que le camion.
   ------------------------------------------------------------------------ */
.h-pin-card-bg img.crop-left  { object-position: 10% center; }
.h-pin-card-bg img.crop-right { object-position: right center; }

/* Lien LinkedIn du pied de page */
.footer-col a.footer-linkedin { display:inline-flex; align-items:center; gap:10px; margin-top:6px; padding:9px 16px; border:1px solid var(--green-olive); border-radius:40px; color:#fff; opacity:1; font-weight:500; }
.footer-col a.footer-linkedin svg { color: var(--green-olive); flex:none; }
.footer-col a.footer-linkedin:hover { background: var(--green-olive); color:#0A0A0A; }
.footer-col a.footer-linkedin:hover svg { color:#0A0A0A; }
