/* =========================================================
   SAS France — style.css commun
   À placer dans : /css/style.css
   IMPORTANT : ne pas mettre les balises <style> et </style>
========================================================= */
:root {
  --bg: #f8fbff;
  --surface: #ffffff;
  --surface-soft: #eef7ff;
  --text: #12314d;
  --muted: #5d6f82;
  --brand: #1f78b4;
  --brand-dark: #0f4f85;
  --brand-soft: #dff3ff;
  --accent: #ff6b78;
  --accent-dark: #e9515f;
  --border: #dbe8f2;
  --shadow: 0 22px 60px rgba(31, 120, 180, 0.16);
  --radius: 28px;
  --max: 1320px;
  --hero-shift: clamp(24px, 4vw, 70px);
}
* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  overflow-y: scroll;
}
body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  font-weight: 400;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
/* Stabilité visuelle entre pages */
.hero-photo img,
.product-img img,
.service-img img {
  aspect-ratio: 16 / 10;
}
.container {
  width: min(var(--max), calc(100% - 56px));
  margin: 0 auto;
}
/* =========================
   TOPBAR STABLE
========================= */
.topbar {
  min-height: 42px;
  display: flex;
  align-items: center;
  background: linear-gradient(90deg, var(--brand-dark), var(--brand));
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
}
.topbar-inner {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0;
  flex-wrap: nowrap;
}
.topbar-inner span {
  white-space: nowrap;
}
/* =========================
   HEADER / NAV STABLE
========================= */
header {
  position: relative;
  z-index: 1000;
  min-height: 88px;
  background: #ffffff;
  border-bottom: 1px solid var(--border);
}
/* =========================================
   HEADER DYNAMIQUE AU SCROLL
========================================= */
.topbar {
  transition: transform 0.28s ease, opacity 0.28s ease;
}
body.scrolled .topbar {
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
}
body.scrolled header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}
body.scrolled main {
  padding-top: 88px;
}
/* =========================================
   NAVIGATION
========================================= */
.nav {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 0;
}
.logo {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 260px;
  min-width: 260px;
  flex-shrink: 0;
}
.logo img {
  width: 104px;
  height: 104px;
  object-fit: contain;
  flex-shrink: 0;
}
.logo-text strong {
  display: block;
  color: var(--brand-dark);
  font-size: 1.18rem;
  line-height: 1;
  letter-spacing: 0.02em;
  font-weight: 900;
}
.logo-text span {
  display: block;
  color: var(--accent);
  font-weight: 700;
  margin-top: 5px;
  font-size: 0.95rem;
}
.menu {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 32px;
  color: var(--muted);
  font-weight: 700;
}
.menu a {
  position: relative;
  padding: 9px 0;
}
.menu a:hover,
.menu .active {
  color: var(--brand-dark);
}
.menu .active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -8px;
  width: 34px;
  height: 3px;
  transform: translateX(-50%);
  background: var(--brand);
  border-radius: 999px;
}
.nav-right {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 22px;
}
/* =========================================
   SELECTEUR DE LANGUE
========================================= */
.lang-switcher {
  position: relative;
}
.lang-current {
  height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 13px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #fff;
  color: var(--muted);
  font: inherit;
  font-size: 0.86rem;
  font-weight: 850;
  cursor: pointer;
}
.lang-current:hover {
  color: var(--brand-dark);
  border-color: rgba(31, 120, 180, 0.28);
}
.lang-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 150px;
  padding: 8px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: 0 18px 42px rgba(18, 49, 77, 0.14);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s ease;
  z-index: 1200;
}
.lang-switcher:hover .lang-menu,
.lang-switcher:focus-within .lang-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.lang-menu a {
  display: block;
  padding: 10px 12px;
  border-radius: 12px;
  color: var(--muted);
  font-weight: 800;
  font-size: 0.9rem;
}
.lang-menu a:hover {
  background: var(--surface-soft);
  color: var(--brand-dark);
}
/* =========================
   BUTTONS
========================= */
.cta, .btn-primary, .btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 999px;
  font-weight: 850;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  white-space: nowrap;
}
.cta, .btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #fff;
  box-shadow: 0 16px 34px rgba(255, 107, 120, 0.28);
}
.cta { padding: 13px 22px; }
.btn-primary, .btn-secondary { padding: 15px 22px; }
.btn-secondary {
  background: rgba(255,255,255,0.92);
  color: var(--brand-dark);
  border: 1px solid var(--border);
  box-shadow: 0 12px 28px rgba(31, 120, 180, 0.08);
}
.cta:hover, .btn-primary:hover, .btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 40px rgba(18, 49, 77, 0.15);
}
/* =========================
   HERO COMMUN
   Fond volontairement doux : pas de bleu saturé en bas,
   donc pas de rupture avec la suite de la page.
========================= */
.hero,
.page-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: var(--bg);
  padding: 58px 0 34px;
}
/*
   Suppression volontaire des halos/dégradés du hero.
   C'est la seule solution propre pour éviter toute rupture visible
   autour des grands cadres blancs sur Produits, Services et Contact.
*/
.hero::before,
.page-hero::before,
.hero::after,
.page-hero::after {
  content: none;
  display: none;
}
.page-hero + section,
.hero + .stats-band,
.hero + section {
  background: var(--bg);
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: clamp(36px, 5vw, 76px);
  align-items: start;
  min-height: 455px;
}
.hero .hero-grid {
  padding: 0;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--accent);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-size: 0.82rem;
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 42px;
  height: 4px;
  border-radius: 999px;
  background: var(--accent);
}
h1 {
  margin: 0;
  font-size: clamp(2rem, 3.6vw, 3.3rem);
  line-height: 1.03;
  letter-spacing: -0.035em;
  font-weight: 800;
  color: var(--brand-dark);
}
.hero p,
.page-hero p {
  margin: 26px 0 0;
  color: var(--muted);
  font-size: 1.12rem;
  max-width: 640px;
  font-weight: 500;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 30px;
}
/* =========================
   SECTIONS COMMUNES
========================= */
section { padding: 78px 0; }
.section-head {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  align-items: start;
  margin-bottom: 34px;
}
h2 {
  margin: 0;
  font-size: clamp(2rem, 3vw, 3.1rem);
  line-height: 1.04;
  letter-spacing: -0.045em;
  color: var(--brand-dark);
}
.section-head p {
  margin: 0;
  color: var(--muted);
  max-width: 540px;
  font-size: 1.05rem;
  font-weight: 500;
}
.cards,
.product-grid,
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.cards { grid-template-columns: repeat(4, 1fr); }
.card,
.product-card,
.service-card,
.info-box,
.support-box,
.material-box,
.capability-main,
.capability-list,
.request-box,
.hero-panel,
.contact-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: none;
}
.card {
  padding: 26px;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.card:hover,
.product-card:hover,
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: none;
}
.card .icon {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: var(--surface-soft);
  color: var(--brand);
  font-weight: 900;
  margin-bottom: 18px;
}
.card h3,
.product-body h3,
.service-body h3,
.support-box h3,
.info-box h3,
.capability-item h3,
.hero-panel h2,
.contact-card h2 {
  color: var(--brand-dark);
}
.card h3 {
  margin: 0 0 10px;
  font-size: 1.12rem;
}
.card p,
.product-body p,
.service-body p,
.support-box p,
.info-box p,
.capability-item p,
.request-box p {
  margin: 0;
  color: var(--muted);
}
/* =========================
   BLOCS BLEUS
========================= */
.split,
.materials-section,
.quality-section,
.map-section {
  background: linear-gradient(135deg, var(--brand-dark), var(--brand));
  color: #fff;
}
.split-grid,
.quality-grid,
.map-grid,
.capabilities,
.support-grid,
.contact-grid,
.materials,
.request-box {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 30px;
  align-items: start;
}
.materials,
.support-grid,
.contact-grid { grid-template-columns: 1fr 1fr; }
.split h2,
.materials-section h2,
.quality-section h2,
.map-content h2,
.cta-box h2 { color: #fff; }
.split p,
.materials-section .section-head p,
.quality-section .section-head p,
.map-content p,
.cta-box p {
  color: rgba(255,255,255,0.78);
}
.step,
.quality-item,
.quality-card,
.material-card {
  background: rgba(255,255,255,0.11);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 22px;
}
.step {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 18px;
  align-items: start;
  padding: 18px;
}
.step-number,
.quality-number {
  width: 46px;
  height: 46px;
  border-radius: 16px;
  background: var(--accent);
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 900;
}
.step-number { width: 42px; height: 42px; border-radius: 50%; }
.step h3,
.quality-item h3 { margin: 0 0 6px; color: #fff; font-size: 1.05rem; }
.step p,
.quality-item p,
.quality-card p { margin: 0; color: rgba(255,255,255,0.78); }
/* Correction services : blocs lisibles dans les zones bleues */
.split .process .step,
.materials-section .process .step,
.quality-section .quality-item {
  background: rgba(255,255,255,0.94);
  border-color: rgba(255,255,255,0.94);
}
.split .process .step h3,
.materials-section .process .step h3,
.quality-section .quality-item h3 {
  color: var(--brand-dark);
}
.split .process .step p,
.materials-section .process .step p,
.quality-section .quality-item p {
  color: var(--muted);
}
/* Correction services : alignement propre des étapes */
.split .process .step,
.materials-section .process .step {
  grid-template-columns: 58px 1fr;
  align-items: center;
  gap: 18px;
  padding: 20px 22px;
}
.split .process .step-number,
.materials-section .process .step-number {
  grid-row: 1 / span 2;
}
.split .process .step h3,
.materials-section .process .step h3 {
  margin: 0 0 4px;
  line-height: 1.2;
}
.split .process .step p,
.materials-section .process .step p {
  margin: 0;
  line-height: 1.45;
}
/* Correction services : alignement propre des blocs qualité */
.quality-section .quality-item {
  display: grid;
  grid-template-columns: 58px 1fr;
  grid-template-rows: auto auto;
  align-items: center;
  column-gap: 18px;
  row-gap: 4px;
  padding: 20px 22px;
}
.quality-section .quality-number {
  grid-row: 1 / span 2;
  grid-column: 1;
}
.quality-section .quality-item h3 {
  grid-column: 2;
  margin: 0;
  line-height: 1.2;
}
.quality-section .quality-item p {
  grid-column: 2;
  margin: 0;
  line-height: 1.45;
}
.materials-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.material-card { padding: 22px; }
.material-card strong { display: block; color: #fff; font-size: 1.1rem; margin-bottom: 8px; }
.material-card span { color: rgba(255,255,255,0.72); font-size: 0.94rem; }
.quality-card { padding: 32px; border-radius: 30px; }
.iso-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 112px;
  height: 112px;
  border-radius: 30px;
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.18);
  color: #fff;
  font-weight: 900;
  font-size: 1.35rem;
  margin-bottom: 24px;
}
/* =========================
   TRANSITIONS DOUCES
========================= */
.reveal {
  opacity: 0;
  transform: translateY(42px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
/* =========================
   INDEX — VISUAL / STATS
========================= */
.visual {
  position: relative;
  min-height: 390px;
  border-radius: 0;
  overflow: visible;
  background: transparent;
  box-shadow: none;
  padding: 0;
  margin-top: 0;
}
.visual-grid {
  display: block;
  width: 100%;
  height: auto;
  min-height: 0;
}
.visual-grid img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  margin: 0;
  object-fit: cover;
  object-position: center;
  border-radius: 34px;
}
.stats-band {
  position: relative;
  z-index: 2;
  margin-top: 0;
  margin-bottom: 58px;
  background: transparent;
}
.stats-box {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: rgba(255,255,255,0.96);
  border: 1px solid var(--border);
  border-radius: 28px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.stat {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 18px;
  align-items: center;
  padding: 24px;
  border-right: 1px solid var(--border);
}
.stat:last-child { border-right: none; }
.stat-icon {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand-dark);
  font-size: 1.5rem;
  font-weight: 900;
}
.stat strong {
  display: block;
  color: var(--brand-dark);
  font-size: 1.55rem;
  line-height: 1.1;
  margin-bottom: 4px;
}
.stat span {
  display: block;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.92rem;
}
/* Page d’accueil : même logique de bloc image que les autres pages */
.hero .visual {
  align-self: start;
  width: 100%;
  min-height: 0;
}
.hero .visual-grid {
  width: 100%;
  min-height: 0;
}
.hero .visual-grid img {
  display: block;
  width: 100%;
  max-width: none;
  margin: 0;
  border-radius: 34px;
}
/* Section métallurgie des poudres */
.powder-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
@media (max-width: 1050px) {
  .powder-grid {
    grid-template-columns: 1fr;
  }
}
.powder-grid .card {
  display: grid;
  grid-template-columns: 62px 1fr;
  column-gap: 18px;
  row-gap: 10px;
  align-items: start;
}
.powder-grid .card .icon {
  grid-row: 1 / span 2;
  margin-bottom: 0;
  width: 62px;
  height: 62px;
  font-size: 1.8rem;
}
.powder-grid .card h3 {
  margin: 0;
  align-self: center;
}
.powder-grid .card p {
  grid-column: 2;
}
/* =========================
   PARTENAIRE INDUSTRIEL
========================= */
.partner-band {
  padding: 0 0 58px;
  background: var(--bg);
}
.partner-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
  padding: 28px 32px;
  background: rgba(255,255,255,0.96);
  border: 1px solid var(--border);
  border-radius: 28px;
  box-shadow: 0 16px 42px rgba(31, 120, 180, 0.10);
}
.partner-text span {
  display: block;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  margin-bottom: 8px;
}
.partner-text strong {
  display: block;
  color: var(--brand-dark);
  font-size: 1.25rem;
  line-height: 1.25;
  margin-bottom: 6px;
}
.partner-text p {
  margin: 0;
  color: var(--muted);
  font-weight: 500;
}
.partner-link {
  color: var(--brand-dark);
  font-weight: 900;
  white-space: nowrap;
}
/* =========================
   PRODUITS / SERVICES
========================= */
.hero-panel,
.contact-card {
  background: rgba(255,255,255,0.96);
  border-radius: 34px;
  padding: 22px;
  box-shadow: none;
}
.contact-card { padding: 30px; }
.hero-photo {
  border-radius: 26px;
  overflow: hidden;
  background: #fff;
  margin-bottom: 18px;
}
.hero-photo img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}
.hero-panel h2,
.contact-card h2 {
  margin: 0 0 16px;
  font-size: 1.5rem;
  letter-spacing: -0.03em;
}
.mini-list,
.hero-list,
.quick-lines,
.quality-list,
.capability-list,
.info-list,
.request-list,
.process {
  display: grid;
  gap: 12px;
}
.mini-list,
.request-list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.mini-list li,
.hero-item,
.quick-line,
.capability-item,
.quality-item,
.request-list li {
  background: var(--surface-soft);
  border-radius: 18px;
  color: var(--muted);
  font-weight: 600;
}
.mini-list li {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  align-items: start;
  padding: 14px;
}
.check {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 900;
}
.product-card,
.service-card { overflow: hidden; transition: transform 0.18s ease, box-shadow 0.18s ease; }
.product-img,
.service-img {
  min-height: 250px;
  background: linear-gradient(135deg, rgba(31, 120, 180, 0.08), rgba(255, 107, 120, 0.08));
  display: grid;
  place-items: center;
  padding: 18px;
}
.service-img { min-height: 240px; }
.product-img img,
.service-img img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  border-radius: 20px;
  background: #fff;
}
.service-img img { height: 220px; }
.product-body,
.service-body { padding: 26px; }
.product-body h3,
.service-body h3 {
  margin: 0 0 10px;
  font-size: 1.24rem;
  letter-spacing: -0.02em;
}
/* Page nos_produits uniquement : ne pas couper la grande photo produits */
.products-hero-panel .hero-photo img {
  height: auto;
  object-fit: contain;
  aspect-ratio: auto;
}
/* =========================
   ZOOM IMAGES PRODUITS
========================= */
.product-img {
  position: relative;
  cursor: zoom-in;
}
.product-img::after {
  content: "⌕";
  position: absolute;
  right: 18px;
  bottom: 18px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.92);
  color: var(--brand-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 700;
  box-shadow: 0 8px 22px rgba(0,0,0,0.12);
  transition: transform 0.18s ease;
}
.product-img:hover::after {
  transform: scale(1.08);
}
.image-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(8,18,32,0.88);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.22s ease;
  padding: 40px;
}
.image-lightbox.active {
  opacity: 1;
  visibility: visible;
}
.image-lightbox img {
  max-width: min(1200px, 92vw);
  max-height: 88vh;
  border-radius: 24px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.45);
}
.image-lightbox-close {
  position: absolute;
  top: 28px;
  right: 34px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  cursor: pointer;
  backdrop-filter: blur(10px);
}
/* =========================
   DETAILS / CONTACT
========================= */
.support-box,
.info-box,
.material-box,
.capability-main { padding: 32px; }
.support-tags,
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}
.tag,
.chip {
  padding: 9px 13px;
  border-radius: 999px;
  background: var(--surface-soft);
  color: var(--brand-dark);
  font-weight: 800;
  font-size: 0.9rem;
}
.capability-list { padding: 14px; }
.capability-item {
  display: grid;
  grid-template-columns: 58px 1fr;
  align-items: center;
  column-gap: 18px;
  row-gap: 4px;
  padding: 22px;
}
.capability-item .number {
  width: 46px;
  height: 46px;
  border-radius: 15px;
  background: #fff;
  color: var(--brand);
  display: grid;
  place-items: center;
  font-weight: 900;
  border: 1px solid var(--border);
  grid-row: 1 / span 2;
  align-self: center;
}
.capability-item h3 {
  margin: 0;
  line-height: 1.2;
}
.capability-item p {
  margin: 0;
  line-height: 1.45;
}
.hero-item,
.quick-line {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  padding: 16px;
}
.hero-icon,
.quick-icon {
  width: 44px;
  height: 44px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  background: #fff;
  color: var(--brand);
  font-weight: 900;
  border: 1px solid var(--border);
}
.hero-item strong,
.quick-line strong { display: block; color: var(--brand-dark); margin-bottom: 4px; }
.hero-item span,
.quick-line span,
.quick-line a { color: var(--muted); font-weight: 600; }
.info-list a,
.info-list span {
  display: flex;
  gap: 10px;
  color: var(--brand-dark);
  font-weight: 700;
}
.map-card {
  min-height: 420px;
  border-radius: 32px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(15,79,133,0.22), rgba(255,107,120,0.14)),
    url("../images/carte.jpg") center/cover;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255,255,255,0.18);
  position: relative;
}
.map-card::after {
  content: "SAS France · Saulieu";
  position: absolute;
  left: 22px;
  bottom: 22px;
  background: rgba(255,255,255,0.94);
  color: var(--brand-dark);
  padding: 12px 16px;
  border-radius: 999px;
  font-weight: 900;
  box-shadow: 0 10px 25px rgba(0,0,0,0.12);
}
.request-box { padding: 36px; }
.request-list li { padding: 16px 18px; }
.request-list strong { color: var(--brand-dark); }
.request-section { padding-bottom: 84px; }
.map-card {
    overflow: hidden;
    padding: 0;
}
.map-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: inherit;
}
/* =========================
   MENTIONS LEGALES
========================= */
.legal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.legal-grid .info-box {
  padding: 30px;
}
.legal-grid .info-box h2 {
  font-size: 1.45rem;
  margin-bottom: 16px;
}
.legal-grid .info-box p {
  margin: 0 0 10px;
}
/* =========================
   TELECHARGEMENTS
========================= */
.downloads-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}
.download-section-title {
  font-size: 2rem;
  line-height: 1.1;
  margin: 0 0 20px;
  color: var(--brand-dark);
}
.downloads-title-en {
  line-height: 1.08;
  padding-bottom: 8px;
}
.downloads-grid + .download-section-title {
  margin-top: 90px;
}
.download-card {
  background: rgba(255,255,255,0.75);
  border: 1px solid rgba(16,77,128,0.10);
  border-radius: 28px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
}
.download-card h2 {
  font-size: 1.2rem;
  line-height: 1.15;
  margin: 0 0 10px;
  letter-spacing: -0.02em;
  color: var(--brand-dark);
}
.download-card p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.45;
  color: var(--muted);
}
.download-card .btn-primary {
  padding: 13px 18px;
  font-size: 0.92rem;
}
/* =========================
   CTA / FOOTER
========================= */
.cta-band { padding: 0 0 84px; }
.cta-box {
  background:
    radial-gradient(circle at 12% 20%, rgba(255,255,255,0.16), transparent 34%),
    linear-gradient(135deg, var(--brand), var(--brand-dark));
  color: #fff;
  border-radius: 32px;
  padding: 48px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
  box-shadow: var(--shadow);
}
.cta-box p { margin: 14px 0 0; max-width: 720px; }
footer {
  background: #0b3456;
  color: rgba(255,255,255,0.76);
  padding: 54px 0;
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 48px;
}
footer h3 { margin: 0 0 14px; color: #fff; }
footer a { display: block; margin: 7px 0; color: rgba(255,255,255,0.78); }
/* =========================
   MENU MOBILE BURGER
========================= */
.mobile-menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: none;
  border-radius: 14px;
  background: transparent;
}
.mobile-menu-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--brand-dark);
  border-radius: 999px;
  transition: transform 0.22s ease, opacity 0.22s ease;
}
.mobile-menu-toggle span + span {
  margin-top: 7px;
}
.mobile-menu {
  display: none;
}
body.mobile-menu-open .mobile-menu-toggle span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
body.mobile-menu-open .mobile-menu-toggle span:nth-child(2) {
  opacity: 0;
}
body.mobile-menu-open .mobile-menu-toggle span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}
/* =========================
   RESPONSIVE PROPRE MOBILE
========================= */
/* Tablette */
@media (max-width: 1050px) {
  .container {
    width: min(var(--max), calc(100% - 36px));
  }
  .topbar-inner {
    font-size: 0.86rem;
  }
  .nav {
    gap: 18px;
  }
  .logo {
    width: auto;
    min-width: 220px;
  }
  .menu {
    gap: 18px;
  }
  .lang-switcher {
   display: none;
}
  .hero-grid,
  .split-grid,
  .materials,
  .capabilities,
  .quality-grid,
  .support-grid,
  .contact-grid,
  .map-grid,
  .request-box,
  .cta-box,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }
.cards .card {
  display: grid;
  grid-template-columns: 58px 1fr;
  align-items: center;
  column-gap: 18px;
  row-gap: 4px;
  padding: 22px;
}
.cards .card .icon {
  grid-row: 1 / span 2;
  grid-column: 1;
  margin-bottom: 0;
}
.cards .card h3 {
  grid-column: 2;
  margin: 0;
  line-height: 1.2;
}
.cards .card p {
  grid-column: 2;
  margin: 0;
  line-height: 1.45;
}
  .product-grid,
  .services-grid {
    grid-template-columns: 1fr;
  }
.product-img,
.service-img {
  min-height: 0;
  padding: 16px;
}
.product-img img {
  width: 100%;
  height: clamp(220px, 38vw, 300px);
  object-fit: contain;
  object-position: center;
}
/* Services tablette/mobile : image pleine largeur, cadre rempli */
.service-img img {
  width: 100%;
  height: clamp(190px, 34vw, 260px);
  object-fit: cover;
}
  .materials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stats-box {
    grid-template-columns: repeat(2, 1fr);
  }
  .section-head {
    display: block;
  }
  .section-head p {
    margin-top: 14px;
  }
}
/* Mobile */
@media (max-width: 760px) {
  .topbar {
    display: none;
  }
  header {
    min-height: 74px;
  }
  header .container.nav {
    width: 100%;
    min-height: 74px;
    padding: 0 10px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px;
    align-items: center;
  }
  header .menu,
  header .lang-switcher {
    display: none;
}
  header .logo {
    width: auto;
    min-width: 0;
    gap: 8px;
  }
  header .logo img {
    width: 64px;
    height: 64px;
  }
  header .logo-text {
    width: 86px;
    min-width: 0;
  }
  header .logo-text strong {
    font-size: 0.95rem;
    line-height: 1;
  }
  header .logo-text span {
    display: block;
    width: 78px;
    max-width: 78px;
    font-size: 0.72rem;
    line-height: 1.12;
    white-space: normal;
  }
  header .nav-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  min-width: 0;
}
  header .nav-right .cta {
    width: 92px;
    height: 44px;
    padding: 0;
    overflow: hidden;
    position: relative;
    font-size: 0;
  }
  header .nav-right .cta::after {
    content: "Devis →";
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    font-size: 0.82rem;
    font-weight: 850;
  }
  .container {
    width: min(var(--max), calc(100% - 24px));
  }
  h1 {
    font-size: 2.35rem;
    line-height: 1.05;
  }
  h2 {
    font-size: 2rem;
  }
  .hero,
  .page-hero {
    padding: 34px 0;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    min-height: auto;
    gap: 32px;
  }
  section {
    padding: 56px 0;
  }
  .cards,
  .product-grid,
  .services-grid,
  .materials-grid,
  .legal-grid,
  .downloads-grid {
    grid-template-columns: 1fr;
  }
      .mobile-menu-toggle {
    display: block;
  }
  .mobile-menu {
    display: none;
    background: #fff;
    border-bottom: 1px solid var(--border);
    padding: 18px 22px 24px;
  }
  body.mobile-menu-open .mobile-menu {
    display: grid;
    gap: 4px;
  }
  .mobile-menu a {
    display: block;
    padding: 14px 4px;
    color: var(--muted);
    font-size: 1.05rem;
    font-weight: 750;
    border-bottom: 1px solid var(--border);
  }
  .mobile-menu a.active {
    color: var(--brand-dark);
  }
  .mobile-lang {
    display: flex;
    gap: 10px;
    padding-top: 16px;
  }
  .mobile-lang a {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    padding: 0;
    border: 1px solid var(--border);
    border-radius: 50%;
    color: var(--brand-dark);
    font-size: 0.86rem;
    font-weight: 850;
  }
    /* Correction accueil mobile : statistiques sur une seule colonne */
.stats-box {
  grid-template-columns: 1fr;
}
.stat {
  grid-template-columns: 72px 1fr;
  border-right: none;
  border-bottom: 1px solid var(--border);
}
.stat:last-child {
  border-bottom: none;
}
.stat > div:last-child {
  min-width: 0;
}
}
.partner-card {
  grid-template-columns: 1fr;
  padding: 24px;
}
.partner-link {
  white-space: normal;
}
/* =========================
   BANDEAU COOKIES / RGPD
========================= */
.cookie-banner {
  position: fixed;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 10000;
  display: flex;
  justify-content: center;
  pointer-events: none;
}
.cookie-banner-inner {
  width: min(980px, 100%);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 22px;
  align-items: center;
  padding: 22px;
  border-radius: 24px;
  background: rgba(255,255,255,0.98);
  border: 1px solid var(--border);
  box-shadow: 0 24px 70px rgba(18, 49, 77, 0.20);
  pointer-events: auto;
}
.cookie-text strong {
  display: block;
  color: var(--brand-dark);
  font-size: 1.05rem;
  margin-bottom: 6px;
}
.cookie-text p {
  margin: 0;
  color: var(--muted);
  font-weight: 500;
  line-height: 1.45;
}
.cookie-text a {
  display: inline-block;
  margin-top: 8px;
  color: var(--brand-dark);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.cookie-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.cookie-btn {
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  font: inherit;
  font-weight: 850;
  cursor: pointer;
  border: 1px solid var(--border);
  white-space: nowrap;
}
.cookie-btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #fff;
  border-color: transparent;
}
.cookie-btn-secondary {
  background: #fff;
  color: var(--brand-dark);
}
.cookie-manage-link {
  display: inline-block;
  margin-top: 14px;
  color: var(--brand-dark);
  font-weight: 850;
  text-decoration: underline;
  text-underline-offset: 3px;
}
@media (max-width: 760px) {
  .cookie-banner {
    left: 10px;
    right: 10px;
    bottom: 10px;
  }
  .cookie-banner-inner {
    grid-template-columns: 1fr;
    padding: 18px;
    border-radius: 22px;
  }
  .cookie-actions {
    display: grid;
    grid-template-columns: 1fr;
  }
  .cookie-btn {
    width: 100%;
  }
}

/* Optimisation Lighthouse : le bouton de fermeture de la lightbox reste visuellement identique. */
button.image-lightbox-close {
  font-family: inherit;
  padding: 0;
}
