/* ============================================================
   LUXLEV - Styles partagés
   Thème sombre : fond noir anthracite + jaune sécurité
   Typo: Oswald (display) + Inter (body)
   ============================================================ */

:root {
  /* fonds : noir LUXLEV (anthracite très sombre) */
  --bg: #0E1015;
  --bg-muted: #171A21;
  --bg-elevated: #1C2029;
  /* textes : clairs sur fond sombre */
  --ink: #F5F6F8;
  --ink-2: #D5D8DE;
  --ink-3: #AEB2BB;
  --muted: #8A8F99;
  /* bordures sombres */
  --border: #262A33;
  --border-strong: #363B45;
  /* jaune sécurité inchangé */
  --primary: #F4C424;
  --primary-dark: #F4C424;
  --primary-glow: rgba(244, 196, 36, 0.35);
  --danger: #E5623F;
  /* surface foncée héritée (cartes-image, hero, footer) : reste très sombre */
  --surface-dark: #0A0C10;
  --on-primary: #14171F;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-weight: 400;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
::selection { background: var(--primary); color: var(--on-primary); }
img { display: block; max-width: 100%; }

.display { font-family: 'Oswald', sans-serif; text-transform: uppercase; letter-spacing: -0.01em; font-weight: 700; }
.eyebrow {
  font-family: 'Oswald', sans-serif;
  font-size: 12px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--primary-dark);
  font-weight: 500;
}

.stripes {
  background-image: repeating-linear-gradient(
    45deg,
    var(--primary) 0 14px,
    var(--surface-dark) 14px 28px
  );
}

/* HEADER */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(14, 16, 21, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  height: 72px;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.logo img { height: 44px; width: auto; }
nav.main {
  display: flex;
  gap: 32px;
  align-items: center;
}
nav.main a {
  font-family: 'Oswald', sans-serif;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-2);
  font-weight: 500;
  transition: color 0.2s;
}
nav.main a:hover { color: var(--primary-dark); }
nav.main a.active { color: var(--primary-dark); }
.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--primary);
  color: var(--ink);
  padding: 12px 20px;
  border-radius: 4px;
  font-family: 'Oswald', sans-serif;
  font-size: 14px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 600;
  box-shadow: 0 8px 24px var(--primary-glow);
  transition: transform 0.2s;
  white-space: nowrap;
}
.header-cta:hover { transform: translateY(-2px); }

/* ALTIMÈTRE */
.altimeter {
  position: fixed;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 40;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-strong);
  border-radius: 4px;
  padding: 14px 8px;
  box-shadow: 0 8px 24px rgba(20, 23, 31, 0.08);
}
.altimeter-label {
  font-family: 'Oswald', sans-serif;
  font-size: 9px;
  letter-spacing: 0.24em;
  color: var(--muted);
  text-transform: uppercase;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  padding-bottom: 4px;
}
.altimeter-track {
  width: 3px;
  height: 200px;
  background: var(--border-strong);
  position: relative;
  border-radius: 2px;
}
.altimeter-fill {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  background: var(--primary);
  height: 0%;
  transition: height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 2px;
}
.altimeter-value {
  font-family: 'Oswald', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.altimeter-unit {
  font-family: 'Oswald', sans-serif;
  font-size: 9px;
  color: var(--muted);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

/* HERO générique */
.hero {
  position: relative;
  background: var(--surface-dark);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.03);
  transition: opacity 1.1s ease, transform 7s ease-out;
  will-change: opacity;
}
.hero-slide.is-active { opacity: 0.85; transform: scale(1); }
.hero-bg::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(120deg, rgba(14, 16, 21, 0.74), rgba(14, 16, 21, 0.18));
}
.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  padding: clamp(56px, 6.5vh, 84px) 32px clamp(60px, 7vh, 88px);
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
}
.hero-eyebrow-stripe {
  display: inline-block;
  height: 12px;
  width: 48px;
}
.hero-eyebrow .eyebrow { color: var(--primary); }
.hero h1 {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: clamp(44px, 6.2vw, 88px);
  line-height: 0.98;
  letter-spacing: -0.015em;
  text-transform: uppercase;
  text-wrap: balance;
  max-width: 1000px;
}
.hero h1 .accent { color: var(--primary); }
.hero-sub {
  max-width: 620px;
  margin-top: 22px;
  font-size: 17px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.85);
}
.hero-sub strong { color: var(--primary); font-weight: 600; }
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}
.hero-eyebrow { margin-bottom: 20px; }

/* Puces du carrousel */
.hero-dots {
  position: absolute;
  z-index: 2;
  right: max(32px, calc((100% - 1280px) / 2 + 32px));
  bottom: 34px;
  display: flex;
  gap: 9px;
}
.hero-dot {
  width: 30px;
  height: 4px;
  padding: 0;
  border: 0;
  border-radius: 2px;
  background: rgba(255, 255, 255, .3);
  cursor: pointer;
  transition: background .25s ease, width .25s ease;
}
.hero-dot:hover { background: rgba(255, 255, 255, .55); }
.hero-dot.is-active { background: var(--primary); width: 46px; }

@media (max-width: 720px) {
  .hero-dots { right: 24px; bottom: 26px; }
  .hero-dot { width: 22px; }
  .hero-dot.is-active { width: 34px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-slide { transition: opacity .3s linear; transform: none; }
}

/* Hero secondaire (pages internes) */
.page-hero {
  position: relative;
  background: var(--surface-dark);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.page-hero .hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 62%;   /* on privilégie le bas du cadre : les machines, pas le ciel */
  opacity: 0.68;
}
.page-hero .hero-inner { padding: 100px 32px 80px; }
.page-hero h1 {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: clamp(38px, 6vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.015em;
  text-transform: uppercase;
  max-width: 900px;
  text-wrap: balance;
}
.page-hero .hero-sub {
  max-width: 720px;
  font-size: 17px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 28px;
  border-radius: 6px;
  font-family: 'Oswald', sans-serif;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  transition: transform 0.2s, background 0.2s;
  cursor: pointer;
  border: none;
}
.btn-primary {
  background: var(--primary);
  color: var(--on-primary);
  box-shadow: 0 12px 40px var(--primary-glow);
}
.btn-primary:hover { transform: translateY(-3px); }
.btn-outline {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.24);
  backdrop-filter: blur(8px);
}
.btn-outline:hover { background: rgba(255, 255, 255, 0.12); }
.btn-outline-dark {
  background: rgba(255, 255, 255, 0.06);
  color: var(--ink);
  border: 1px solid var(--border-strong);
}
.btn-outline-dark:hover { border-color: var(--primary); color: var(--primary); }
.arrow { display: inline-block; transition: transform 0.2s; }
.btn:hover .arrow, a:hover > .arrow { transform: translateX(4px); }
.hero-stripe-bottom { height: 8px; width: 100%; }

/* STATS */
.stats { border-bottom: 1px solid var(--border); background: var(--bg-elevated); }
.stats-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
}
.stat { background: var(--bg-elevated); padding: 48px 24px; text-align: center; }
.stat-value {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(40px, 5vw, 60px);
  font-weight: 700;
  color: var(--primary-dark);
  line-height: 1;
  letter-spacing: -0.01em;
}
.stat-label {
  margin-top: 12px;
  font-family: 'Oswald', sans-serif;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}

/* SECTIONS COMMUNES */
section.block { padding: 120px 32px; }
.block-inner { max-width: 1280px; margin: 0 auto; }
.block-narrow { max-width: 960px; margin: 0 auto; }
.block-header { max-width: 700px; margin-bottom: 64px; }
.block-header h2 {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: clamp(36px, 5vw, 60px);
  line-height: 1.05;
  letter-spacing: -0.015em;
  text-transform: uppercase;
  color: var(--ink);
  margin-top: 16px;
  text-wrap: balance;
}
.block-header p {
  margin-top: 16px;
  font-size: 17px;
  color: var(--muted);
  max-width: 560px;
}

/* SOLUTIONS (cartes photo) */
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.solution {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  color: #fff;
  background: var(--surface-dark);
  box-shadow: 0 20px 50px -20px rgba(20, 23, 31, 0.35);
  cursor: pointer;
  display: block;
}
.solution img { width: 100%; height: 380px; object-fit: cover; transition: transform 0.7s ease; }
.solution:hover img { transform: scale(1.08); }
.solution-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--surface-dark) 0%, rgba(10, 12, 16, 0.55) 42%, transparent 100%);
}
.solution-body { position: absolute; inset: auto 0 0 0; padding: 32px; z-index: 2; }
.solution h3 {
  font-family: 'Oswald', sans-serif;
  font-size: 30px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 1;
}
.solution p {
  margin-top: 12px;
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.55;
  max-width: 340px;
}
.solution-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  font-family: 'Oswald', sans-serif;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
  font-weight: 500;
}

/* AVIS */
.reviews { background: var(--bg-muted); }
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.review {
  background: var(--bg-elevated);
  padding: 32px;
  border: 1px solid var(--border);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  box-shadow: 0 20px 40px -20px rgba(20, 23, 31, 0.12);
  min-height: 280px;
}
.review-quote { font-family: 'Oswald', sans-serif; font-size: 36px; color: var(--primary); line-height: 0.6; }
.review-stars { display: flex; gap: 3px; color: var(--primary); font-size: 16px; align-items: center; }
.review-stars .score { margin-left: 10px; font-family: 'Oswald', sans-serif; font-weight: 600; color: var(--ink); font-size: 14px; letter-spacing: 0.04em; }
.review-text { color: var(--muted); font-size: 14.5px; line-height: 1.7; flex: 1; }
.review-author { border-top: 1px solid var(--border); padding-top: 16px; }
.review-author-name {
  font-family: 'Oswald', sans-serif;
  font-size: 18px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--ink);
}
.review-author-source { margin-top: 4px; font-size: 13px; color: var(--muted); }

/* PROMESSES */
.promises { background: var(--bg-muted); border-top: 1px solid var(--border); }
.promises-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.promise { display: flex; gap: 20px; align-items: flex-start; }
.promise-icon {
  width: 56px; height: 56px;
  background: var(--primary);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border-radius: 4px;
}
.promise-icon svg { width: 28px; height: 28px; }
.promise h3 {
  font-family: 'Oswald', sans-serif;
  font-size: 20px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--ink);
  line-height: 1.15;
}
.promise p { margin-top: 10px; color: var(--muted); font-size: 14.5px; line-height: 1.65; }

/* CTA FINAL */
.cta-final {
  position: relative;
  background: var(--surface-dark);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.cta-final::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(244, 196, 36, 0.15), rgba(217, 170, 15, 0.08));
}
.cta-inner {
  position: relative;
  max-width: 1280px;
  margin: 0 auto;
  padding: 80px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.cta-final h2 {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.015em;
  text-transform: uppercase;
  max-width: 700px;
  text-wrap: balance;
}
.cta-final p { margin-top: 16px; color: rgba(255, 255, 255, 0.75); font-size: 16px; max-width: 560px; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* PAGE MACHINES */
.machines-list { max-width: 1280px; margin: 0 auto; padding: 100px 32px; }
.machine-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 96px;
}
.machine-item.reverse > *:first-child { order: 2; }
.machine-img {
  background: #EBEDF0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 20px 50px -20px rgba(20, 23, 31, 0.35);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
}
.machine-img img { width: 100%; height: 100%; object-fit: contain; padding: 32px; }
.machine-height-tag { display: inline-flex; align-items: center; gap: 12px; }
.machine-item h2 {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: clamp(30px, 3.5vw, 44px);
  line-height: 1.05;
  letter-spacing: -0.015em;
  text-transform: uppercase;
  color: var(--ink);
  margin-top: 20px;
}
.machine-item .machine-desc { margin-top: 16px; color: var(--muted); font-size: 16px; line-height: 1.65; }
.specs-list {
  margin-top: 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  list-style: none;
}
.specs-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 14px;
  color: var(--ink-2);
}
.specs-list li::before {
  content: "✓";
  color: var(--primary-dark);
  font-weight: 700;
  flex-shrink: 0;
}
.docs-block { margin-top: 32px; }
.docs-label {
  font-family: 'Oswald', sans-serif;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}
.docs-list { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 10px; }
.docs-brand-label {
  margin-top: 20px;
  margin-bottom: 4px;
  font-family: 'Oswald', sans-serif;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--primary-dark);
  font-weight: 600;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--border);
}
.docs-brand-label:first-child { margin-top: 4px; }
.doc-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border: 1px solid var(--border-strong);
  border-radius: 4px;
  font-size: 13px;
  color: var(--ink-2);
  transition: all 0.2s;
}
.doc-link:hover { border-color: var(--primary); color: var(--primary-dark); }
.doc-link svg { width: 14px; height: 14px; }
.machine-cta { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }

/* SEO landing content */
.seo-content { max-width: 900px; margin: 0 auto; padding: 80px 32px; }
.seo-intro { font-size: 18px; line-height: 1.7; color: var(--ink-2); margin-bottom: 32px; }
.seo-bullets {
  margin: 40px 0;
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, 1fr);
  list-style: none;
}
.seo-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 14.5px;
  color: var(--ink-2);
}
.seo-bullets li::before {
  content: "✓";
  color: var(--primary-dark);
  font-weight: 700;
  flex-shrink: 0;
  font-size: 16px;
}
.seo-section { margin: 40px 0; }
.seo-section h2 {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.15;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 16px;
}
.seo-section p { color: var(--ink-2); font-size: 16px; line-height: 1.7; }
.seo-cta-box {
  margin: 48px 0;
  padding: 32px;
  background: var(--surface-dark);
  color: #fff;
  border-radius: 8px;
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}
.seo-cta-box h3 {
  font-family: 'Oswald', sans-serif;
  font-size: 22px;
  text-transform: uppercase;
  letter-spacing: -0.005em;
  font-weight: 600;
}
.seo-cta-box p { margin-top: 4px; color: rgba(255, 255, 255, 0.75); font-size: 14px; }
.seo-cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.seo-cta-actions .btn { padding: 14px 22px; font-size: 12px; }

.seo-figure {
  margin: 32px 0;
  border-radius: 8px;
  overflow: hidden;
  background: #EBEDF0;
  border: 1px solid var(--border);
}
.seo-figure img { max-height: 420px; margin: 0 auto; padding: 32px; }

.faq-list { margin-top: 32px; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  padding: 20px 24px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 6px;
}
.faq-item dt {
  font-family: 'Oswald', sans-serif;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--ink);
  margin-bottom: 8px;
}
.faq-item dd { color: var(--muted); font-size: 14.5px; line-height: 1.65; }

.related-pages { margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--border); }
.related-pages h2 {
  font-family: 'Oswald', sans-serif;
  font-size: 22px;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  margin-bottom: 20px;
}
.related-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
}
.related-list a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border: 1px solid var(--border-strong);
  border-radius: 24px;
  font-size: 13px;
  color: var(--ink-2);
  transition: all 0.2s;
}
.related-list a:hover { border-color: var(--primary); color: var(--primary-dark); }

/* CONTACT */
.contact-grid {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 40px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 80px 32px;
}
.contact-info {
  padding: 32px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 8px;
}
.contact-info h3 {
  font-family: 'Oswald', sans-serif;
  font-size: 20px;
  text-transform: uppercase;
  letter-spacing: -0.005em;
  margin-bottom: 20px;
}
.contact-info ul { list-style: none; display: flex; flex-direction: column; gap: 16px; font-size: 14.5px; }
.contact-info li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-2); }
.contact-info li svg { flex-shrink: 0; color: var(--primary-dark); width: 18px; height: 18px; margin-top: 2px; }
.contact-info a:hover { color: var(--primary-dark); }
.contact-map { margin-top: 24px; border-radius: 6px; overflow: hidden; border: 1px solid var(--border); }
.contact-map iframe { width: 100%; height: 240px; display: block; border: 0; }

.contact-form {
  padding: 40px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 20px 50px -20px rgba(20, 23, 31, 0.15);
}
.contact-form h3 {
  font-family: 'Oswald', sans-serif;
  font-size: 26px;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  margin-bottom: 24px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field.full { grid-column: span 2; }
.form-field label {
  font-family: 'Oswald', sans-serif;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}
.form-field input,
.form-field select,
.form-field textarea {
  padding: 12px 14px;
  border: 1px solid var(--border-strong);
  border-radius: 4px;
  font-size: 15px;
  background: var(--bg-muted);
  color: var(--ink);
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-field input::placeholder,
.form-field textarea::placeholder { color: var(--muted); }
.form-field select option { background: var(--bg-elevated); color: var(--ink); }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(244, 196, 36, 0.2);
}
.form-field textarea { resize: vertical; min-height: 120px; font-family: inherit; }
.form-submit { margin-top: 8px; }

/* PROJECTS (references) */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.project {
  background: var(--bg-elevated);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 20px 50px -20px rgba(20, 23, 31, 0.2);
  border: 1px solid var(--border);
}
.project-img { aspect-ratio: 4/3; overflow: hidden; }
.project-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s ease; }
.project:hover .project-img img { transform: scale(1.08); }
.project-body { padding: 24px; }
.project-sector { font-family: 'Oswald', sans-serif; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--primary-dark); font-weight: 500; }
.project h3 {
  margin-top: 8px;
  font-family: 'Oswald', sans-serif;
  font-size: 20px;
  text-transform: uppercase;
  letter-spacing: -0.005em;
  color: var(--ink);
}

/* NEWS */
.news-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; max-width: 1280px; margin: 0 auto; padding: 80px 32px; }
.news-item {
  background: var(--bg-elevated);
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 20px 50px -20px rgba(20, 23, 31, 0.15);
}
.news-img { aspect-ratio: 16/9; overflow: hidden; }
.news-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s ease; }
.news-item:hover .news-img img { transform: scale(1.05); }
.news-body { padding: 32px; }
.news-date { font-family: 'Oswald', sans-serif; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--primary-dark); font-weight: 500; }
.news-item h2 {
  margin-top: 10px;
  font-family: 'Oswald', sans-serif;
  font-size: 24px;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  color: var(--ink);
  line-height: 1.15;
}
.news-item p { margin-top: 12px; color: var(--muted); font-size: 14.5px; line-height: 1.65; }

/* FOOTER */
footer { background: var(--surface-dark); color: rgba(255, 255, 255, 0.72); }
.footer-stripes { height: 8px; width: 100%; }
.footer-main {
  max-width: 1280px;
  margin: 0 auto;
  padding: 72px 32px;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 60px;
}
.footer-logo {
  display: inline-block;
  background: #fff;
  padding: 10px 14px;
  border-radius: 6px;
  margin-bottom: 20px;
}
.footer-logo img { height: 40px; width: auto; display: block; }
.footer-brand p { max-width: 320px; font-size: 14px; line-height: 1.65; color: rgba(255, 255, 255, 0.65); }
.footer-col h4 {
  font-family: 'Oswald', sans-serif;
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 20px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 12px; font-size: 14px; }
.footer-col li { display: flex; gap: 12px; align-items: flex-start; }
.footer-col li svg { flex-shrink: 0; color: var(--primary); width: 16px; height: 16px; margin-top: 3px; }
.footer-col a { transition: color 0.2s; }
.footer-col a:hover { color: var(--primary); }
.hours-row { display: flex; justify-content: space-between; font-size: 14px; }
.hours-row .day { color: rgba(255, 255, 255, 0.85); }
.hours-row .h { color: rgba(255, 255, 255, 0.6); font-family: 'Oswald', sans-serif; letter-spacing: 0.02em; }

.footer-seo {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 32px;
}
.footer-seo-inner { max-width: 1280px; margin: 0 auto; }
.footer-seo h4 {
  font-family: 'Oswald', sans-serif;
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 16px;
}
.footer-seo-list { display: flex; flex-wrap: wrap; gap: 8px 16px; list-style: none; }
.footer-seo-list a { font-size: 12px; color: rgba(255, 255, 255, 0.55); transition: color 0.2s; }
.footer-seo-list a:hover { color: var(--primary); }

.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.08); padding: 24px 32px; }
.footer-bottom-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.04em;
}

/* Reveals */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.9s ease, transform 0.9s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

/* Mobile */
a.project { display: block; text-decoration: none; color: inherit; transition: transform 0.3s ease, box-shadow 0.3s ease; }
a.project:hover { transform: translateY(-4px); box-shadow: 0 28px 60px -22px rgba(20, 23, 31, 0.35); }
.project-more { margin-top: 12px; font-family: 'Oswald', sans-serif; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--primary-dark); display: flex; align-items: center; gap: 8px; }
a.project:hover .project-more .arrow { transform: translateX(4px); }
.project-more .arrow { transition: transform 0.3s ease; }

/* photo pleine largeur dans une page éditoriale */
.seo-figure.photo { background: none; border: none; }
.seo-figure.photo img { max-height: none; width: 100%; display: block; padding: 0; }
.seo-figure figcaption { padding: 12px 4px 0; font-size: 13px; color: var(--muted); }

/* Galerie photos de chantiers — description au survol */
.photo-gallery { columns: 3; column-gap: 24px; }
.photo-tile {
  position: relative;
  display: block;
  break-inside: avoid;
  margin-bottom: 24px;
  border-radius: 8px;
  overflow: hidden;
  background: var(--surface-dark);
  box-shadow: 0 20px 50px -20px rgba(20, 23, 31, 0.3);
  text-decoration: none;
  color: #fff;
}
.photo-tile img { width: 100%; display: block; transition: transform 0.7s ease; }
.photo-tile:hover img { transform: scale(1.05); }
.photo-caption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 60px 20px 20px;
  background: linear-gradient(to top, rgba(20, 23, 31, 0.94) 12%, rgba(20, 23, 31, 0) 100%);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.photo-tile:hover .photo-caption,
.photo-tile:focus-visible .photo-caption { opacity: 1; transform: translateY(0); }
.photo-caption .photo-place {
  font-family: 'Oswald', sans-serif;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--primary);
}
.photo-caption h3 {
  margin-top: 6px;
  font-family: 'Oswald', sans-serif;
  font-size: 19px;
  text-transform: uppercase;
  letter-spacing: -0.005em;
  color: #fff;
}
.photo-caption p { margin-top: 6px; font-size: 14px; line-height: 1.55; color: rgba(255, 255, 255, 0.82); }
.photo-caption .photo-more { margin-top: 10px; font-family: 'Oswald', sans-serif; font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--primary); }

/* ---- Catalogue : index des catégories ---- */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.cat-card {
  display: block; text-decoration: none; color: var(--ink);
  background: var(--bg-elevated); border: 1px solid var(--border); border-radius: 8px;
  overflow: hidden; box-shadow: 0 20px 50px -22px rgba(20, 23, 31, 0.22);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.cat-card:hover { transform: translateY(-4px); box-shadow: 0 28px 60px -24px rgba(20, 23, 31, 0.32); }
.cat-card-media { aspect-ratio: 4/3; background: #EBEDF0; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.cat-card-media img { width: 100%; height: 100%; object-fit: contain; padding: 24px; transition: transform 0.6s ease; }
.cat-card:hover .cat-card-media img { transform: scale(1.05); }
.cat-card-body { padding: 24px; }
.cat-card-span { font-family: 'Oswald', sans-serif; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--primary-dark); font-weight: 500; }
.cat-card h3 { margin-top: 8px; font-family: 'Oswald', sans-serif; font-size: 22px; text-transform: uppercase; letter-spacing: -0.01em; line-height: 1.05; color: var(--ink); }
.cat-card-meta { margin-top: 10px; font-size: 13px; color: var(--muted); }
.cat-card-more { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; font-family: 'Oswald', sans-serif; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--primary-dark); }
.cat-card:hover .cat-card-more .arrow { transform: translateX(4px); }
.cat-card-more .arrow { transition: transform 0.3s ease; }

/* ---- Catalogue : grille des paliers (hauteur / tonnage) ---- */
.tier-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 16px; }
.tier-card {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-decoration: none; padding: 28px 16px; border-radius: 8px;
  background: var(--bg-elevated); border: 1px solid var(--border);
  box-shadow: 0 12px 30px -18px rgba(20, 23, 31, 0.2);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.tier-card:hover { transform: translateY(-3px); border-color: var(--primary); box-shadow: 0 20px 40px -20px rgba(20, 23, 31, 0.3); }
.tier-value { font-family: 'Oswald', sans-serif; font-size: 30px; font-weight: 700; line-height: 1; color: var(--ink); letter-spacing: -0.01em; }
.tier-count { margin-top: 8px; font-size: 12.5px; color: var(--muted); }

/* ---- Catalogue : fil d'Ariane + liste de fiches d'un palier ---- */
.crumb { font-size: 13px; color: var(--muted); margin-bottom: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.crumb a { color: var(--primary-dark); text-decoration: none; }
.crumb a:hover { text-decoration: underline; }
.crumb-sep { color: var(--border); }
.fiche-wrap { display: flex; flex-direction: column; gap: 6px; }

/* ---- Bandeau label Made in Luxembourg ---- */
.made-in { }
.made-in .block-inner { }
.made-in-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 48px;
  align-items: center;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 40px 48px;
}
.made-in-badge {
  background: #fff;
  border-radius: 12px;
  padding: 24px 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.made-in-badge img { width: 150px; height: auto; display: block; }
.made-in-text .eyebrow { color: var(--primary-dark); }
.made-in-text h2 {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: clamp(24px, 2.8vw, 32px);
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 1.1;
  color: var(--ink);
  margin: 8px 0 12px;
}
.made-in-text p { color: var(--ink-2); font-size: 16px; line-height: 1.65; max-width: 620px; }

@media (max-width: 900px) {
  .header-inner { padding: 0 16px; gap: 12px; }
  nav.main { display: none; }
  .header-cta { padding: 10px 14px; font-size: 12px; }
  .altimeter { right: 8px; padding: 10px 6px; }
  .altimeter-track { height: 140px; }
  .altimeter-label { font-size: 8px; }
  .hero-inner { padding: 80px 20px 70px; }
  .page-hero .hero-inner { padding: 70px 20px 50px; }
  .hero-sub { font-size: 16px; }
  section.block { padding: 80px 20px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .solutions-grid, .reviews-grid, .promises-grid, .projects-grid { grid-template-columns: 1fr; }
  .cat-grid { grid-template-columns: 1fr; }
  .made-in-card { grid-template-columns: 1fr; gap: 28px; padding: 28px 24px; text-align: center; }
  .made-in-badge { justify-self: center; }
  .made-in-text p { margin: 0 auto; }
  .tier-grid { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); }
  .photo-gallery { columns: 1; }
  .photo-caption { opacity: 1; transform: none; }
  .machine-item, .machine-item.reverse { grid-template-columns: 1fr; gap: 32px; }
  .machine-item.reverse > *:first-child { order: 0; }
  .specs-list { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; padding: 60px 20px; }
  .contact-form { padding: 24px; }
  .form-row { grid-template-columns: 1fr; gap: 16px; }
  .form-field.full { grid-column: span 1; }
  .cta-inner { padding: 60px 20px; }
  .news-grid { grid-template-columns: 1fr; padding: 60px 20px; }
  .seo-bullets { grid-template-columns: 1fr; }
  .seo-content { padding: 60px 20px; }
  .machines-list { padding: 60px 20px; }
  .machines-list .machine-item { margin-bottom: 64px; }
  .footer-main { grid-template-columns: 1fr; padding: 60px 20px; gap: 40px; }
  .footer-bottom-inner { flex-direction: column; gap: 8px; text-align: center; padding: 0 20px; }
}

@media (prefers-reduced-motion: reduce) {
  *:not(.marquee-piste) { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  /* le bandeau partenaires continue de tourner, simplement beaucoup plus lentement */
  .marquee-piste { animation: defile 120s linear infinite !important; }
}

/* ============================================================
   Réseau d'agences (accueil)
   ============================================================ */
.reseau-grid { display: grid; gap: 40px; }
.reseau-carte {
  margin: 0 auto;
  width: 100%;
  max-width: 940px;
}
.reseau-carte img {
  width: 100%;
  height: auto;
  display: block;
}
.reseau-carte figcaption { margin-top: 16px; }
.reseau-legende {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 22px;
}
.reseau-legende li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--ink-3);
}
.pastille {
  width: 11px;
  height: 11px;
  border-radius: 3px;
  background: var(--c);
  flex: none;
}
.agences {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.agence {
  display: flex;
  flex-direction: column;
  background: var(--bg-muted);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 18px 18px 16px;
  transition: border-color .2s ease, transform .2s ease;
}
.agence:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
}
.agence-lux {
  border-color: rgba(244, 196, 36, .45);
  background: var(--bg-elevated);
}
.agence-tag {
  display: block;
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}
.agence-lux .agence-tag { color: var(--primary); }
.agence h3 {
  font-family: 'Oswald', sans-serif;
  font-size: 20px;
  letter-spacing: .01em;
  margin-bottom: 4px;
}
.agence-adresse {
  display: block;
  margin: 6px 0 10px;
  font-size: 13px;
  line-height: 1.45;
  color: var(--ink-3);
  text-decoration: none;
}
.agence-adresse span { display: block; color: var(--muted); }
.agence-adresse:hover { color: var(--primary); }
.agence-adresse:hover span { color: var(--ink-3); }
.agence-tel {
  display: inline-block;
  margin-bottom: 12px;
  margin-top: 2px;
  font-size: 14.5px;
  color: var(--ink-2);
  text-decoration: none;
}
.agence-tel:hover { color: var(--primary); }
.agence-horaires {
  margin-top: auto;
  padding-top: 11px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--ink-3);
  font-variant-numeric: tabular-nums;
}
.agence-horaires span {
  display: block;
  font-size: 11px;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 3px;
}

@media (max-width: 980px) {
  .reseau-grid { gap: 30px; }
  .agences { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .agences { grid-template-columns: 1fr; }
  .reseau-legende { justify-content: flex-start; font-size: 12px; }
}

/* ============================================================
   Livraison en propre (accueil)
   ============================================================ */
.livraison-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}
.livraison-texte h2 { margin-bottom: 18px; }
.livraison-texte p {
  color: var(--ink-3);
  line-height: 1.65;
  margin-bottom: 14px;
  max-width: 620px;
}
.livraison-points {
  list-style: none;
  display: grid;
  gap: 18px;
  margin-top: 30px;
}
.livraison-points li {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 16px;
  align-items: start;
}
.livraison-points svg {
  width: 40px;
  height: 40px;
  padding: 9px;
  border-radius: 8px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  color: var(--primary);
}
.livraison-points strong {
  display: block;
  font-size: 15.5px;
  color: var(--ink-1);
  margin-bottom: 3px;
}
.livraison-points div {
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-3);
}
.livraison-visuel { margin: 0; }
.livraison-visuel img {
  width: 100%;
  height: 100%;
  max-height: 460px;
  object-fit: cover;
  border-radius: 10px;
  display: block;
}

/* ============================================================
   Bandeau défilant des constructeurs partenaires
   ============================================================ */
.marquee {
  position: relative;
  margin-top: 44px;
  overflow: hidden;
  padding: 26px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee-piste {
  display: flex;
  align-items: center;
  width: max-content;
  animation: defile 34s linear infinite;
}
.marque {
  flex: none;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 208px;
  height: 92px;
  margin-right: 26px;
  padding: 14px 18px;
  background: #FFFFFF;
  border-radius: 8px;
  transition: transform .25s ease;
}
.marque:hover { transform: translateY(-3px); box-shadow: 0 8px 22px rgba(0,0,0,.35); }
.marque:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; }
.marque img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
@keyframes defile {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (max-width: 900px) {
  .livraison-grid { grid-template-columns: 1fr; gap: 34px; }
  .livraison-visuel { order: -1; }
  .livraison-visuel img { max-height: 300px; }
  .marquee-piste { animation-duration: 26s; }
  .marque { width: 158px; height: 74px; margin-right: 18px; padding: 11px 13px; }
  .marque { font-size: 24px; }
}

/* Bandeau légal — tout en bas du site */
.footer-legal {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 16px 32px 20px;
  background: rgba(0, 0, 0, 0.25);
}
.footer-legal-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  letter-spacing: 0.04em;
}
.footer-legal-inner a {
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  transition: color .2s ease;
}
.footer-legal-inner a:hover { color: var(--primary); }
.footer-legal-inner span { color: rgba(255, 255, 255, 0.25); }

/* Pages légales */
.legal-block { max-width: 860px; }
.legal-block h2 {
  font-family: 'Oswald', sans-serif;
  font-size: 26px;
  letter-spacing: 0.01em;
  margin: 44px 0 16px;
}
.legal-block h2:first-child { margin-top: 0; }
.legal-block h3 {
  font-size: 17px;
  color: var(--ink-1);
  margin: 26px 0 8px;
}
.legal-block p, .legal-block li {
  color: var(--ink-3);
  line-height: 1.7;
  font-size: 15px;
}
.legal-block p { margin-bottom: 14px; }
.legal-block ul { list-style: none; margin: 0 0 18px; }
.legal-block ul li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
}
.legal-block ul li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 2px;
  background: var(--primary);
}
.legal-block a { color: var(--primary); }
.legal-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 22px;
}
.legal-table th, .legal-table td {
  text-align: left;
  padding: 11px 14px;
  border-bottom: 1px solid var(--border);
  font-size: 14.5px;
  vertical-align: top;
}
.legal-table th {
  width: 38%;
  font-weight: 500;
  color: var(--muted);
}
.legal-table td { color: var(--ink-2); }
.legal-maj {
  margin-top: 40px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--muted);
}
@media (max-width: 640px) {
  .legal-table th, .legal-table td { display: block; width: auto; border: 0; padding: 4px 0; }
  .legal-table td { padding-bottom: 14px; border-bottom: 1px solid var(--border); }
}
.legal-todo {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 4px;
  background: rgba(244, 196, 36, 0.12);
  border: 1px dashed rgba(244, 196, 36, 0.45);
  color: var(--primary);
  font-size: 13px;
  letter-spacing: 0.02em;
}
.page-hero-legal .hero-bg { display: none; }
.page-hero-legal { background: var(--bg-muted); }
