/* ==========================================================================
   ID CHIMIE — Concept 2 "Fluid Lab" — feuille de style partagée
   ========================================================================== */
:root {
  --navy: #0A2350;
  --blue: #1A4FA0;
  --green: #2D8A4E;
  --orange: #E07B39;
  --bg: #ffffff;
  --bg-alt: #F4F7FC;
  --bg-dark: #071A3D;
  --line: rgba(10,35,80,0.10);
  --text: #12203F;
  --text-soft: #5B6478;
  --text-softer: #6B7386; /* assombri vs version précédente pour repasser AA (4.5:1) sur fond blanc */
  --green-text: #1E6E3C;  /* variante du vert accessible en petit texte (le --green de la charte est sous 4.5:1) */
  --green-deep: #2A8048;  /* vert de charte assombri de justesse pour repasser AA en bouton (4.9:1 sur blanc) */
  --line-faint: rgba(10,35,80,0.05);
  --orange-deep: #A6531D; /* orange assombri pour rester lisible en texte (AA, 5.4:1 sur blanc) — réservé au badge "gamme phare" */
  --radius: 20px;
  --ease: cubic-bezier(.16,.84,.44,1);
}

/* Respecte la préférence système "réduire les animations" */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Focus clavier — toujours visible, jamais supprimé */
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  border-radius: 4px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  /* Grille labo globale : visible partout où le fond reste blanc (--bg), masquée
     automatiquement dès qu'une section pose son propre fond opaque (alt, hero, bandeaux sombres). */
  background-color: var(--bg);
  background-image:
    linear-gradient(var(--line-faint) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-faint) 1px, transparent 1px);
  background-size: 44px 44px;
  color: var(--text);
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 {
  font-family: 'Space Grotesk', sans-serif;
  margin: 0;
  line-height: 1.08;
  letter-spacing: -0.02em;
  font-weight: 600;
  color: var(--navy);
}
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
::selection { background: var(--green); color: #fff; }

.container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 32px; }
.container--wide { max-width: 1400px; }
.section { position: relative; padding: 120px 0; }
@media (max-width: 900px) { .section { padding: 80px 0; } }
.section--alt { background: var(--bg-alt); }
/* Section resserrée : casse le rythme "120px partout" pour les bandeaux plus légers (chiffres, etc.) */
.section--tight { padding: 84px 0; }
@media (max-width: 900px) { .section--tight { padding: 64px 0; } }
/* Transition organique entre sections — fait vivre "le liquide est notre matière première"
   au-delà du texte, sans animation ni gadget : juste une bordure de section qui ondule. */
.wave-divider {
  position: absolute; top: 0; left: 0; width: 100%; height: 60px;
  transform: translateY(-100%);
  line-height: 0; pointer-events: none; z-index: 0;
}
.wave-divider svg { display: block; width: 100%; height: 100%; }
.wave-divider--alt path { fill: var(--bg-alt); }
/* La vague "blanche" doit porter le même quadrillage que la section qu'elle annonce,
   sinon son aplat plein crée une bande sans trame juste avant que la grille ne reprenne. */
.wave-divider--white path { fill: url(#labGridPattern); }
@media (max-width: 900px) { .wave-divider { height: 34px; } }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green-text);
  margin-bottom: 20px;
}
.eyebrow::before { content: ''; width: 26px; height: 2px; background: var(--green-text); border-radius: 2px; }

.grad-text {
  background: linear-gradient(100deg, var(--blue) 0%, var(--green) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
/* Variantes d'accent unies — réservent le dégradé complet aux titres les plus stratégiques
   (hero + catalogue) et évitent que chaque section répète le même effet */
.text-accent-blue { color: var(--blue); }
.text-accent-green { color: var(--green-text); }

/* ---------- reveal on scroll ---------- */
[data-reveal] { opacity: 0; transform: translateY(32px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }
[data-reveal-stagger] > * { opacity: 0; transform: translateY(26px); transition: opacity 0.65s var(--ease), transform 0.65s var(--ease); }
[data-reveal-stagger].is-visible > * { opacity: 1; transform: translateY(0); }

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 18px 0;
  background: rgba(255,255,255,0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  transition: padding 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.nav.is-scrolled {
  padding: 12px 0;
  box-shadow: 0 10px 30px -20px rgba(10,35,80,0.3);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav__logo { height: 58px; width: auto; }
.nav__links { display: flex; align-items: center; gap: 34px; list-style: none; margin: 0; padding: 0; }
.nav__links a {
  font-size: 13px; font-weight: 600; letter-spacing: 0.03em; text-transform: uppercase;
  color: var(--text-soft); transition: color 0.25s ease; position: relative;
}
.nav__links a:hover { color: var(--navy); }
.nav__links > li > a::after {
  content: ''; position: absolute; left: 0; bottom: -6px; width: 0; height: 2px;
  background: var(--green); border-radius: 2px; transition: width 0.3s var(--ease);
}
.nav__links > li > a:hover::after { width: 100%; }
.nav__cta-mobile { display: none; }

/* ---------- dropdown "Produits" ---------- */
.nav__item--has-dropdown { position: relative; display: flex; align-items: center; }
.nav__dropdown-caret { display: none; }
/* .nav__dropdown est la zone survolée (invisible, sans marge) : le padding-top sert de zone
   tampon entre le lien et le panneau visuel, pour que le curseur ne quitte jamais la zone
   cliquable/survolée en descendant — sinon le hover se coupe avant d'atteindre le panneau
   et celui-ci se ferme avant qu'on ait pu cliquer dedans. */
.nav__dropdown {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
  width: 640px; max-width: 82vw;
  padding-top: 14px;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 0.2s var(--ease), visibility 0.2s;
  z-index: 110;
}
.nav__item--has-dropdown:hover .nav__dropdown,
.nav__item--has-dropdown:focus-within .nav__dropdown {
  opacity: 1; visibility: visible; pointer-events: auto;
}
/* Le panneau visuel (fond, ombre, contenu) est séparé de la zone survolée ci-dessus :
   il peut coulisser légèrement à l'ouverture sans jamais affecter la zone de hover. */
.nav__dropdown-panel {
  background: #fff; border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: 0 30px 60px -22px rgba(10,35,80,0.3);
  padding: 18px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px;
  transform: translateY(-6px);
  transition: transform 0.25s var(--ease);
}
.nav__item--has-dropdown:hover .nav__dropdown-panel,
.nav__item--has-dropdown:focus-within .nav__dropdown-panel {
  transform: translateY(0);
}
.nav__dropdown a {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 12px; border-radius: 12px;
  text-transform: none; font-weight: 600; color: var(--text);
  transition: background 0.2s ease;
}
.nav__dropdown a:hover { background: var(--bg-alt); }
.nav__dropdown a::after { display: none; }
.nav__dropdown-icon {
  width: 38px; height: 38px; border-radius: 10px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg-alt);
}
.nav__dropdown-icon svg { width: 18px; height: 18px; color: var(--accent, var(--blue)); }
.nav__dropdown-text { display: flex; flex-direction: column; gap: 2px; }
.nav__dropdown-text .dd-label { font-size: 13.5px; font-weight: 700; color: var(--navy); }
.nav__dropdown-text .dd-sub { font-size: 12px; font-weight: 400; color: var(--text-soft); }
.nav__dropdown-foot {
  grid-column: 1 / -1; margin-top: 6px; padding: 14px 12px 4px; border-top: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
}
.nav__dropdown-foot span { font-size: 12.5px; color: var(--text-soft); }
.nav__dropdown-foot a { font-size: 12.5px; font-weight: 700; color: var(--blue); text-transform: uppercase; letter-spacing: 0.03em; padding: 0; display: inline; }

/* Bouton hamburger (mobile uniquement) */
.nav__toggle {
  display: none;
  position: relative; z-index: 101; /* doit rester cliquable au-dessus du panneau (z-index 99) */
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  background: none; border: 1px solid var(--line); border-radius: 8px;
  cursor: pointer; flex-shrink: 0;
}
.nav__toggle span { display: block; width: 20px; height: 2px; margin: 0 auto; background: var(--navy); border-radius: 2px; transition: transform 0.3s var(--ease), opacity 0.3s var(--ease); }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 880px) {
  .nav__toggle { display: flex; }
  .nav__inner .nav__cta { display: none; }
  .nav__links {
    position: fixed; top: 0; right: 0; z-index: 99;
    display: flex; flex-direction: column; align-items: stretch; gap: 0;
    width: min(320px, 84vw); height: 100vh; overflow-y: auto;
    background: #fff;
    padding: 100px 28px 28px;
    box-shadow: -20px 0 50px -20px rgba(10,35,80,0.35);
    transform: translateX(100%);
    transition: transform 0.4s var(--ease);
  }
  .nav__links.is-open { transform: translateX(0); }
  .nav__links > li > a { padding: 16px 4px; border-bottom: 1px solid var(--line); font-size: 15px; }
  .nav__links > li > a::after { display: none; }
  .nav__links .nav__cta-mobile { display: block; margin-top: 20px; text-align: center; }

  .nav__item--has-dropdown { flex-wrap: wrap; border-bottom: 1px solid var(--line); }
  .nav__item--has-dropdown > a { flex: 1; border-bottom: none; }
  .nav__dropdown-caret {
    display: flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; background: none; border: none; color: var(--navy); cursor: pointer; flex-shrink: 0;
  }
  .nav__dropdown-caret svg { width: 16px; height: 16px; transition: transform 0.3s var(--ease); }
  .nav__item--has-dropdown.is-open .nav__dropdown-caret svg { transform: rotate(180deg); }
  .nav__dropdown {
    position: static; width: auto; max-width: none; padding-top: 0;
    opacity: 1; visibility: visible; pointer-events: auto;
    display: none;
  }
  .nav__item--has-dropdown.is-open .nav__dropdown { display: block; }
  .nav__dropdown-panel {
    transform: none; box-shadow: none; border: none; border-radius: 0;
    display: grid; grid-template-columns: 1fr; gap: 2px;
    padding: 4px 0 14px;
  }
  .nav__dropdown a { padding: 9px 6px; }
  .nav__dropdown-foot { padding: 10px 6px 4px; }
}
.nav__scrim {
  display: none;
  position: fixed; inset: 0; z-index: 98;
  background: rgba(6,14,31,0.5);
  opacity: 0; transition: opacity 0.4s var(--ease);
}
.nav__scrim.is-open { display: block; opacity: 1; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 28px; border-radius: 10px;
  font-size: 13.5px; font-weight: 700; letter-spacing: 0.03em; text-transform: uppercase;
  cursor: pointer; border: 1.5px solid transparent;
  transition: transform 0.3s var(--ease), box-shadow 0.3s ease, background 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}
.btn svg { width: 16px; height: 16px; }
.btn:hover { transform: translateY(-2px); }
/* Primaire : vert de la charte (proche du logo) — le navy est déjà partout (nav, titres,
   bandeaux) donc un bouton navy s'y noyait ; l'orange assombri pour l'AA virait trop lourd.
   Ce vert reste assez proche du logo tout en passant l'AA (4.9:1 en blanc dessus). */
.btn--solid { background: var(--green-deep); color: #fff; box-shadow: 0 10px 24px -10px rgba(42,128,72,0.45); }
.btn--solid:hover { background: var(--green-text); box-shadow: 0 14px 30px -10px rgba(42,128,72,0.55); }
/* Secondaire : couleur secondaire de la charte (bleu institutionnel) en outline */
.btn--ghost { border-color: var(--navy); color: var(--blue); background: #fff; }
.btn--ghost:hover { background: rgba(10,35,80,0.06); }
/* Variante pour fonds sombres (hero, bandeau CTA) */
.btn--ghost-dark { border-color: rgba(255,255,255,0.35); color: #fff; }
.btn--ghost-dark:hover { border-color: rgba(255,255,255,0.65); background: rgba(255,255,255,0.08); }
.btn--on-dark { background: #fff; color: var(--navy); }
.btn--on-dark:hover { background: #eef1f8; }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden;
  margin-top: 92px;
  height: 88vh; min-height: 600px; max-height: 820px;
  display: flex; align-items: flex-end;
}
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.8) saturate(1.05); }
.hero__bg::after {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(0deg, rgba(4,10,24,0.92) 0%, rgba(4,10,24,0.6) 40%, rgba(4,10,24,0.22) 66%, rgba(4,10,24,0.08) 100%),
    linear-gradient(100deg, rgba(4,10,24,0.75) 0%, rgba(4,10,24,0.45) 34%, rgba(4,10,24,0.05) 62%);
}

.hero__content { position: relative; z-index: 1; padding-bottom: 128px; max-width: 760px; }
.hero .eyebrow { color: #8fe3b8; }
.hero .eyebrow::before { background: #8fe3b8; }
.hero h1 { font-size: clamp(2.5rem, 4.6vw, 4.2rem); color: #fff; }
.hero__lead { margin-top: 26px; font-size: 1.12rem; color: rgba(255,255,255,0.82); max-width: 52ch; }
.hero__actions { display: flex; gap: 18px; margin-top: 42px; flex-wrap: wrap; }

/* ---------- sous-page hero (catégories produits, etc.) ---------- */
.subhero {
  position: relative; margin-top: 92px; padding: 76px 0 100px; overflow: hidden;
  background: linear-gradient(120deg, var(--navy), #0d2e63 55%, #123a72);
}
.subhero::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 44px 44px;
}
.subhero__inner { position: relative; z-index: 1; max-width: 760px; }
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 600; color: rgba(255,255,255,0.55); text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 26px; }
.breadcrumb a { color: rgba(255,255,255,0.55); transition: color 0.2s ease; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb svg { width: 11px; height: 11px; opacity: 0.6; }
.breadcrumb span[aria-current] { color: #fff; }
.subhero .eyebrow { color: #8fe3b8; }
.subhero .eyebrow::before { background: #8fe3b8; }
.subhero h1 { color: #fff; font-size: clamp(2.1rem, 3.8vw, 3.2rem); }
.subhero__lead { margin-top: 22px; font-size: 1.05rem; color: rgba(255,255,255,0.78); max-width: 60ch; }
.subhero__meta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.subhero__chip { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 100px; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.18); color: #fff; font-size: 12.5px; font-weight: 600; }
.subhero__chip svg { width: 14px; height: 14px; color: #8fe3b8; }

/* ---------- feature band ---------- */
.feature-band-wrap { position: relative; z-index: 2; margin-top: -36px; }
.feature-band {
  display: grid; grid-template-columns: repeat(5,1fr);
  background: linear-gradient(100deg, var(--navy), #123a72 55%, var(--green));
  border-radius: var(--radius);
  box-shadow: 0 30px 60px -24px rgba(10,35,80,0.45);
  overflow: hidden;
}
@media (max-width: 900px) { .feature-band { grid-template-columns: repeat(2,1fr); } }
.feature-cell {
  padding: 30px 24px; display: flex; flex-direction: column; gap: 16px;
  border-right: 1px solid rgba(255,255,255,0.14);
}
.feature-cell:last-child { border-right: none; }
.feature-cell svg { width: 28px; height: 28px; color: #fff; }
.feature-cell span { font-size: 13px; font-weight: 700; color: #fff; line-height: 1.3; }

/* ---------- stats ---------- */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
@media (max-width: 900px) { .stats-grid { grid-template-columns: repeat(2,1fr); } }
.stat-cell { background: #fff; padding: 40px 28px; }
.stat-cell__num { font-family: 'Space Grotesk', sans-serif; font-size: clamp(2rem, 3.2vw, 2.9rem); color: var(--navy); }
/* Barre façon éprouvette graduée : ticks + ménisque au bord du remplissage */
.stat-cell__bar {
  position: relative; height: 7px; border-radius: 100px;
  background: var(--bg-alt);
  background-image: repeating-linear-gradient(90deg, var(--line) 0, var(--line) 1px, transparent 1px, transparent 12.5%);
  margin: 18px 0 14px; overflow: hidden;
}
.stat-cell__bar i {
  position: relative; display: block; height: 100%; width: 0%; border-radius: 100px;
  background: linear-gradient(90deg, var(--blue), var(--green));
  transition: width 1.3s var(--ease);
}
.stat-cell__bar i::after {
  content: ''; position: absolute; top: 0; right: 0; bottom: 0; width: 5px;
  background: rgba(255,255,255,0.6); border-radius: 100px; filter: blur(0.5px);
}
.stat-cell__label { font-size: 13.5px; color: var(--text-soft); }

/* ---------- categories ---------- */
.section-head { max-width: 640px; margin-bottom: 60px; }
.section-head h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); margin-top: 16px; }
.section-head p { margin-top: 18px; color: var(--text-soft); font-size: 1.03rem; }

/* Grille produits — 5 cartes homogènes, icône métier à cheval sur la photo.
   Le "gamme phare" garde sa distinction (badge + accent orange) mais dans le même gabarit
   que les 4 autres, pour une grille propre plutôt qu'une bannière déséquilibrée. */
.cat-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; }
@media (max-width: 1200px) { .cat-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 680px) { .cat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .cat-grid { grid-template-columns: 1fr; } }

.cat-card {
  position: relative; display: flex; flex-direction: column;
  border-radius: var(--radius); background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 2px 14px -6px rgba(10,35,80,0.08);
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.cat-card:hover { transform: translateY(-6px); box-shadow: 0 30px 50px -22px rgba(10,35,80,0.22); }
.cat-card__media { position: relative; height: 190px; flex-shrink: 0; border-radius: var(--radius) var(--radius) 0 0; overflow: hidden; }
.cat-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.cat-card:hover .cat-card__media img { transform: scale(1.06); }
.cat-card__badge {
  position: absolute; top: 14px; left: 14px;
  font-size: 10.5px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  color: #fff; background: var(--orange-deep);
  padding: 5px 11px; border-radius: 100px;
}
.cat-card__icon {
  position: absolute; left: 50%; bottom: -28px; transform: translateX(-50%);
  width: 60px; height: 60px; border-radius: 50%; background: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 22px -8px rgba(10,35,80,0.3);
}
.cat-card__icon svg { width: 25px; height: 25px; color: var(--accent, var(--blue)); }
.cat-card__body { padding: 44px 24px 28px; text-align: center; display: flex; flex-direction: column; flex: 1; }
.cat-card__body h3 { font-size: 1.18rem; margin-bottom: 10px; }
.cat-card__body p { color: var(--text-soft); font-size: 14px; margin-bottom: 18px; }
.cat-card__link { margin-top: auto; display: inline-flex; align-items: center; justify-content: center; gap: 6px; font-size: 12.5px; font-weight: 700; color: var(--accent, var(--blue)); text-transform: uppercase; letter-spacing: 0.03em; }
.cat-card__link svg { width: 13px; height: 13px; transition: transform 0.3s var(--ease); }
.cat-card:hover .cat-card__link svg { transform: translateX(3px); }

/* ---------- product detail (pages catégories) ---------- */
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 900px) { .product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .product-grid { grid-template-columns: 1fr; } }
.product-card { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; overflow: hidden; transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease); }
.product-card:hover { transform: translateY(-6px); box-shadow: 0 26px 46px -24px rgba(10,35,80,0.22); }
.product-card__media { height: 180px; overflow: hidden; }
.product-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.product-card:hover .product-card__media img { transform: scale(1.06); }
.product-card__body { padding: 24px 24px 28px; }
.product-card__tag { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--blue); background: rgba(26,79,160,0.08); padding: 4px 11px; border-radius: 100px; margin-bottom: 14px; }
.product-card__body h3 { font-size: 1.1rem; margin-bottom: 9px; }
.product-card__body p { color: var(--text-soft); font-size: 13.5px; }

.spec-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
@media (max-width: 780px) { .spec-grid { grid-template-columns: 1fr; } }
.spec-cell { background: #fff; padding: 34px 30px; }
.spec-cell svg { width: 26px; height: 26px; color: var(--blue); margin-bottom: 16px; }
.spec-cell h4 { font-size: 1.05rem; margin-bottom: 9px; }
.spec-cell p { font-size: 13.5px; color: var(--text-soft); }

/* ---------- dossier (page Savoir-faire) ---------- */
/* Index collant façon documentation technique + grands numéros au tracé (au lieu d'un
   simple enchaînement photo/texte en zigzag) — matérialise l'idée de "dossier de fabrication". */
.dossier { display: grid; grid-template-columns: 220px 1fr; gap: 64px; align-items: start; }
@media (max-width: 900px) { .dossier { grid-template-columns: 1fr; } }
.dossier__nav { position: sticky; top: 130px; display: flex; flex-direction: column; gap: 2px; border-left: 2px solid var(--line); }
.dossier__nav a {
  display: flex; align-items: baseline; gap: 10px;
  padding: 10px 0 10px 18px; margin-left: -2px; border-left: 2px solid transparent;
  font-size: 13px; font-weight: 600; color: var(--text-softer);
  transition: color 0.25s ease, border-color 0.25s ease;
}
.dossier__nav a span:first-child { font-family: 'Space Grotesk', sans-serif; font-size: 11px; letter-spacing: 0.08em; }
.dossier__nav a.is-active { color: var(--navy); border-left-color: var(--green-deep); font-weight: 700; }
@media (max-width: 900px) {
  .dossier__nav {
    position: static; flex-direction: row; flex-wrap: wrap;
    border-left: none; border-top: 2px solid var(--line); padding-top: 16px; gap: 4px 20px;
  }
  .dossier__nav a { padding: 4px 0; border-left: none; border-bottom: 2px solid transparent; margin-left: 0; }
  .dossier__nav a.is-active { border-bottom-color: var(--green-deep); border-left: none; }
}
.dossier__steps { display: flex; flex-direction: column; gap: 100px; }
.dossier-step { display: grid; grid-template-columns: 1fr 240px; gap: 40px; scroll-margin-top: 130px; }
@media (max-width: 760px) { .dossier-step { grid-template-columns: 1fr; } }
.dossier-step__figure { font-family: 'Space Grotesk', sans-serif; font-size: clamp(3rem, 6vw, 4.6rem); font-weight: 700; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--line); margin-bottom: 6px; }
.dossier-step__eyebrow { font-size: 12.5px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--green-text); margin-bottom: 12px; }
.dossier-step h3 { font-size: clamp(1.35rem, 2vw, 1.7rem); margin-bottom: 14px; }
.dossier-step p { color: var(--text-soft); font-size: 15px; max-width: 56ch; margin-bottom: 18px; }
.dossier-step__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.dossier-step__list li { display: flex; align-items: flex-start; gap: 9px; font-size: 13.5px; color: var(--text-soft); }
.dossier-step__list svg { width: 15px; height: 15px; color: var(--green-text); flex-shrink: 0; margin-top: 2px; }
.dossier-step__media { border-radius: var(--radius); overflow: hidden; box-shadow: 0 20px 40px -22px rgba(10,35,80,0.3); align-self: start; }
.dossier-step__media img { width: 100%; height: 200px; object-fit: cover; display: block; }
@media (max-width: 760px) { .dossier-step__media { order: -1; } .dossier-step__media img { height: 180px; } }

/* ---------- chrono-strip (page Valeurs, historique) ---------- */
/* Défilement horizontal plutôt qu'une timeline verticale déjà vue ailleurs sur le site —
   feuilleter l'historique comme une pellicule, chaque carte en plein cadre photo. */
.chrono-strip { display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 4px 16px; margin: 0 -4px; scrollbar-width: thin; }
.chrono-strip::-webkit-scrollbar { height: 6px; }
.chrono-strip::-webkit-scrollbar-thumb { background: var(--line); border-radius: 10px; }
.chrono-card { position: relative; flex: 0 0 auto; width: min(400px, 82vw); height: 460px; border-radius: var(--radius); overflow: hidden; scroll-snap-align: start; }
.chrono-card img { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.5) saturate(1.05); }
.chrono-card__overlay { position: absolute; inset: 0; padding: 32px; display: flex; flex-direction: column; justify-content: flex-end; }
.chrono-card__label { font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: #8fe3b8; margin-bottom: 10px; }
.chrono-card__year { font-family: 'Space Grotesk', sans-serif; font-size: 2.6rem; font-weight: 700; color: #fff; line-height: 1; }
.chrono-card h3 { color: #fff; font-size: 1.25rem; margin: 10px 0 10px; }
.chrono-card p { color: rgba(255,255,255,0.8); font-size: 14px; }
.chrono-strip__controls { display: flex; gap: 10px; justify-content: flex-end; margin-top: 18px; }
.chrono-strip__btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; color: var(--navy); transition: background 0.2s ease, border-color 0.2s ease; }
.chrono-strip__btn:hover { background: var(--bg-alt); border-color: var(--navy); }
.chrono-strip__btn svg { width: 18px; height: 18px; }

/* ---------- contact (page Contact) ---------- */
.contact-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-form {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 40px; box-shadow: 0 2px 14px -6px rgba(10,35,80,0.08);
}
.contact-form h3 { font-size: 1.3rem; margin-bottom: 8px; }
.contact-form > p { color: var(--text-soft); font-size: 14px; margin-bottom: 28px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.form-row--full { grid-template-columns: 1fr; }
.form-field label { display: block; font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; color: var(--text-soft); margin-bottom: 8px; }
.form-field input, .form-field select, .form-field textarea {
  width: 100%; border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px;
  font-family: 'Inter', sans-serif; font-size: 14px; color: var(--text); background: var(--bg-alt);
  transition: border-color 0.2s ease, background 0.2s ease;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none; border-color: var(--blue); background: #fff;
}
.form-field textarea { resize: vertical; min-height: 120px; font-family: inherit; }
.form-field--checkbox { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 22px; }
.form-field--checkbox input { width: auto; margin-top: 3px; accent-color: var(--green-deep); }
.form-field--checkbox label { text-transform: none; font-size: 13px; font-weight: 400; letter-spacing: normal; color: var(--text-soft); margin-bottom: 0; }
.contact-form .btn { width: 100%; justify-content: center; }
.form-success {
  display: none; align-items: center; gap: 12px; padding: 16px 18px; border-radius: 12px;
  background: rgba(42,128,72,0.1); color: var(--green-text); font-size: 14px; font-weight: 600; margin-top: 18px;
}
.form-success.is-visible { display: flex; }
.form-success svg { width: 20px; height: 20px; flex-shrink: 0; }

.contact-info { display: flex; flex-direction: column; gap: 16px; }
.contact-info-card { background: var(--bg-alt); border-radius: var(--radius); padding: 26px; display: flex; gap: 16px; align-items: flex-start; }
.contact-info-card svg { width: 22px; height: 22px; color: var(--blue); flex-shrink: 0; margin-top: 2px; }
.contact-info-card h4 { font-size: 0.95rem; margin-bottom: 6px; }
.contact-info-card p, .contact-info-card a { font-size: 13.5px; color: var(--text-soft); line-height: 1.5; }
.contact-info-card a:hover { color: var(--navy); }
.contact-info-card--media { padding: 0; overflow: hidden; }
.contact-info-card--media img { width: 100%; height: 200px; object-fit: cover; display: block; }

/* ---------- process ---------- */
.process-track { position: relative; padding-left: 40px; }
.process-track::before { content: ''; position: absolute; left: 6px; top: 8px; bottom: 8px; width: 2px; background: var(--line); border-radius: 2px; }
.process-track__fill { position: absolute; left: 6px; top: 8px; width: 2px; height: 0%; background: linear-gradient(var(--blue), var(--green)); border-radius: 2px; transition: height 1.1s var(--ease); }
.process-step { position: relative; padding-bottom: 50px; }
.process-step:last-child { padding-bottom: 0; }
.process-step__dot { position: absolute; left: -40px; top: 2px; width: 13px; height: 13px; border-radius: 50%; background: #fff; border: 2px solid var(--line); transition: border-color 0.4s ease, background 0.4s ease; }
.process-step.is-visible .process-step__dot { background: var(--green); border-color: var(--green); }
.process-step__num { font-family: 'Space Grotesk', sans-serif; font-size: 12px; color: var(--text-softer); letter-spacing: 0.1em; }
.process-step h4 { font-size: 1.22rem; margin: 8px 0 8px; }
.process-step p { color: var(--text-soft); font-size: 14.5px; max-width: 54ch; }

/* ---------- values ---------- */
.values-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
@media (max-width: 980px) { .values-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 560px) { .values-grid { grid-template-columns: 1fr; } }
.value-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 20px; background: #fff; transition: transform 0.4s var(--ease), box-shadow 0.4s ease; }
.value-card:hover { transform: translateY(-5px); box-shadow: 0 22px 40px -22px rgba(10,35,80,0.2); }
.value-icon { width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; background: linear-gradient(140deg, rgba(26,79,160,0.10), rgba(45,138,78,0.14)); margin-bottom: 18px; transition: transform 0.5s var(--ease); }
.value-card:hover .value-icon { transform: rotate(-8deg) scale(1.08); }
.value-icon svg { width: 21px; height: 21px; color: var(--blue); }
.value-card h4 { font-size: 1rem; margin-bottom: 8px; }
.value-card p { font-size: 12.8px; color: var(--text-soft); }

/* ---------- video ---------- */
.video-band { position: relative; border-radius: 28px; overflow: hidden; }
.video-band img { width: 100%; height: 440px; object-fit: cover; filter: brightness(0.45) saturate(1.05); }
.video-band__overlay { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: 56px; gap: 20px; }
.video-band .eyebrow { color: #8fe3b8; }
.video-band .eyebrow::before { background: #8fe3b8; }
.video-band h2 { color: #fff; font-size: clamp(1.7rem, 2.8vw, 2.4rem); max-width: 14ch; }
.play-btn { width: 84px; height: 84px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.45); background: rgba(255,255,255,0.1); backdrop-filter: blur(10px); display: flex; align-items: center; justify-content: center; cursor: pointer; position: relative; transition: transform 0.3s ease; }
.play-btn:hover { transform: scale(1.06); }
.play-btn::before { content: ''; position: absolute; inset: -14px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.3); animation: pulsering 2.4s ease-out infinite; }
@keyframes pulsering { 0% { transform: scale(0.8); opacity: 1; } 100% { transform: scale(1.5); opacity: 0; } }
.play-btn svg { width: 24px; height: 24px; color: #fff; margin-left: 3px; }

/* ---------- cta ---------- */
.cta-band {
  position: relative; border-radius: 32px; overflow: hidden; padding: 76px 56px; text-align: center;
  background: linear-gradient(120deg, #0c1730, #0a2350 40%, #143d7a 70%, #1c6b47);
  background-size: 220% 220%; animation: gradientshift 14s ease infinite;
}
@keyframes gradientshift { 0%,100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
.cta-band .eyebrow { color: #8fe3b8; justify-content: center; }
.cta-band .eyebrow::before { background: #8fe3b8; }
.cta-band h2 { color: #fff; font-size: clamp(1.9rem, 3.6vw, 2.9rem); max-width: 20ch; margin: 0 auto; }
.cta-band p { color: rgba(255,255,255,0.72); margin: 18px auto 34px; max-width: 46ch; }
.cta-band__actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ---------- FAQ (page FAQ) ---------- */
.faq-group { margin-bottom: 52px; }
.faq-group:last-child { margin-bottom: 0; }
.faq-group h3 { font-size: 1.05rem; margin-bottom: 16px; color: var(--navy); }
.faq-item { border: 1px solid var(--line); border-radius: 14px; background: #fff; margin-bottom: 10px; overflow: hidden; }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 18px 50px 18px 20px; position: relative;
  font-weight: 600; font-size: 14.5px; color: var(--text); transition: color 0.2s ease;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::marker { content: ''; }
.faq-item summary::after {
  content: ''; position: absolute; right: 20px; top: 50%; width: 10px; height: 10px;
  border-right: 2px solid var(--text-soft); border-bottom: 2px solid var(--text-soft);
  transform: translateY(-70%) rotate(45deg); transition: transform 0.25s ease;
}
.faq-item[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq-item[open] summary { color: var(--navy); border-bottom: 1px solid var(--line); }
.faq-item__body { padding: 2px 20px 20px; color: var(--text-soft); font-size: 14px; line-height: 1.65; max-width: 68ch; }

/* ---------- espace client ---------- */
.client-portal { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
@media (max-width: 900px) { .client-portal { grid-template-columns: 1fr; } }
.client-portal__mock {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 36px; box-shadow: 0 20px 50px -26px rgba(10,35,80,0.3); position: relative;
}
.client-portal__mock::before {
  content: 'Aperçu'; position: absolute; top: 16px; right: 16px;
  font-size: 10.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--text-softer); background: var(--bg-alt); padding: 4px 10px; border-radius: 100px;
}
.client-portal__mock h3 { font-size: 1.1rem; margin-bottom: 22px; }
.client-portal__mock .form-field { margin-bottom: 16px; }
.client-portal__mock input[disabled] { background: var(--bg-alt); color: var(--text-softer); cursor: not-allowed; }
.client-portal__mock .btn { width: 100%; justify-content: center; opacity: 0.55; cursor: not-allowed; }
.client-portal__mock .btn:hover { transform: none; }

/* ---------- footer ---------- */
.footer { padding: 64px 0 28px; background: var(--bg-dark); }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
@media (max-width: 800px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
.footer__logo { height: 46px; filter: brightness(0) invert(1); margin-bottom: 18px; }
.footer p { color: rgba(255,255,255,0.45); font-size: 13.5px; max-width: 32ch; }
.footer h5 { font-family: 'Inter',sans-serif; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.4); margin-bottom: 18px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.footer a.link, .footer li.link { color: rgba(255,255,255,0.7); font-size: 14px; transition: color 0.2s ease; }
.footer a.link:hover { color: #fff; }
.footer__bottom { margin-top: 54px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.1); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 12px; color: rgba(255,255,255,0.35); }
