/* Soycain Quality — refonte SaaS */

:root {
  --green-600: #1d9a47;
  --green-500: #28a745;
  --green-400: #58bf09;
  --green-100: #e8f7ec;
  --green-glow: rgba(40, 167, 69, 0.35);

  --ink: #0c1117;
  --ink-soft: #3d4f5f;
  --ink-muted: #6b7c8a;
  --surface: #ffffff;
  --surface-alt: #f4f7f5;
  --border: rgba(12, 17, 23, 0.08);
  --border-strong: rgba(12, 17, 23, 0.12);

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  --shadow-sm: 0 1px 2px rgba(12, 17, 23, 0.04);
  --shadow-md: 0 8px 30px rgba(12, 17, 23, 0.06);
  --shadow-lg: 0 24px 60px rgba(12, 17, 23, 0.1);
  --shadow-glow: 0 0 80px var(--green-glow);

  --font-family: "Jost", system-ui, sans-serif;
  --font-display: "Instrument Serif", Georgia, "Times New Roman", serif;

  --nav-h: 76px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  margin: 0;
  font-family: var(--font-family);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--surface);
  overflow-x: clip;
}

img, video { max-width: 100%; height: auto; display: block; }

a { color: var(--green-500); text-decoration: none; transition: color 0.2s var(--ease); }
a:hover { color: var(--green-600); }

.container {
  width: min(1140px, calc(100% - clamp(1.25rem, 5vw, 2.5rem)));
  margin-inline: auto;
}

/* Grain overlay */
.grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Navigation */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  overflow: visible;
}

.nav__bar {
  position: relative;
  z-index: 2;
  height: var(--nav-h);
  border-bottom: 1px solid rgba(40, 167, 69, 0.1);
}

.nav__bar-fx {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(
    105deg,
    rgba(255, 255, 255, 0.9) 0%,
    rgba(248, 252, 249, 0.88) 45%,
    rgba(232, 247, 236, 0.82) 100%
  );
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.6) inset;
}

.nav.is-scrolled .nav__bar-fx {
  background: linear-gradient(
    105deg,
    rgba(255, 255, 255, 0.96) 0%,
    rgba(245, 251, 247, 0.94) 50%,
    rgba(228, 245, 233, 0.9) 100%
  );
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.5) inset,
    0 4px 20px rgba(40, 167, 69, 0.06);
}

.nav__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: clamp(0.75rem, 2vw, 1.5rem);
  height: var(--nav-h);
  width: min(1280px, calc(100% - clamp(1rem, 4vw, 2rem)));
  margin-inline: auto;
}

.nav__brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
  justify-self: start;
  grid-column: 1;
}

.nav__brand img { height: 36px; width: auto; }

.nav__links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.1rem;
  flex-wrap: nowrap;
  grid-column: 2;
  justify-self: center;
  min-width: 0;
}

.nav__tools {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-shrink: 0;
}

.nav__end {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  justify-self: end;
  grid-column: 3;
  flex-shrink: 0;
}

.nav__links > a,
.nav__dropdown-btn {
  padding: 0.45rem 0.65rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--ink-soft);
  border-radius: var(--radius-sm);
}

.nav__dropdown-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-family: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

.nav__dropdown-btn:hover,
.nav__links > a:hover {
  color: var(--ink);
  background: var(--surface-alt);
}

.nav__dropdown { position: relative; }

.nav__dropdown-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 180px;
  margin: 0;
  padding: 0.35rem;
  list-style: none;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  z-index: 210;
}

.nav__dropdown-menu[hidden] { display: none; }

.nav__dropdown-menu a {
  display: block;
  padding: 0.55rem 0.75rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--ink-soft);
  border-radius: 6px;
}

.nav__dropdown-menu a:hover {
  color: var(--green-600);
  background: var(--green-100);
}

.nav__dropdown-btn.is-active {
  color: var(--green-600);
  background: var(--green-100);
}

/* ── Méga-menu Produits ── */
.nav__dropdown--mega { position: relative; }

.nav__mega {
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  z-index: 10;
  width: min(1120px, calc(100vw - 2rem));
  margin-inline: auto;
  visibility: hidden;
  pointer-events: none;
}

.nav__mega[hidden] { display: none; }

.nav__dropdown--mega.is-open .nav__mega {
  visibility: visible;
  pointer-events: auto;
}

.nav__mega-panel {
  display: grid;
  grid-template-columns: 1fr minmax(240px, 300px);
  gap: 0;
  background: var(--surface);
  border: 1px solid rgba(28, 124, 74, 0.12);
  border-radius: 20px;
  box-shadow:
    0 4px 6px -2px rgba(15, 68, 41, 0.04),
    0 24px 64px -24px rgba(15, 68, 41, 0.28),
    0 0 0 1px rgba(255, 255, 255, 0.8) inset;
  overflow: hidden;
}

.nav__mega-body {
  padding: 1.35rem 1.5rem 1.25rem;
  min-width: 0;
}

.nav__mega-eyebrow {
  display: block;
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green-600);
  margin-bottom: 0.85rem;
}

.nav__mega-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.35rem;
  margin-bottom: 1rem;
}

.nav__mega-cat {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.55rem 0.65rem;
  border-radius: 12px;
  text-decoration: none;
  color: var(--ink);
  transition: background 0.2s ease, transform 0.2s ease;
}

.nav__mega-cat:hover {
  background: var(--green-100);
  transform: translateX(2px);
}

.nav__mega-cat-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border-radius: 10px;
  background: linear-gradient(145deg, #f4faf1 0%, #e8f3e4 100%);
  border: 1px solid rgba(28, 124, 74, 0.12);
  color: var(--green-600);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset;
}

.nav__mega-cat-icon .nav__mega-svg {
  width: 18px;
  height: 18px;
}

.nav__mega-cat-label {
  flex: 1;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.25;
}

.nav__mega-cat-arrow {
  display: flex;
  color: var(--green-400);
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.nav__mega-cat-arrow .nav__mega-svg {
  width: 14px;
  height: 14px;
}

.nav__mega-cat:hover .nav__mega-cat-arrow {
  opacity: 1;
  transform: translateX(0);
}

.nav__mega-quick {
  padding-top: 0.85rem;
  border-top: 1px solid var(--border);
}

.nav__mega-quick-label {
  display: block;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 0.5rem;
}

.nav__mega-quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.nav__mega-quick-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.7rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--ink-soft);
  text-decoration: none;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface-alt);
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.nav__mega-quick-link:hover,
.nav__mega-quick-link.is-active {
  color: var(--green-600);
  border-color: rgba(28, 124, 74, 0.25);
  background: var(--green-100);
}

.nav__mega-quick-icon {
  display: flex;
  color: var(--green-600);
}

.nav__mega-quick-icon .nav__mega-svg {
  width: 14px;
  height: 14px;
}

.nav__mega-aside {
  background: #0e4429;
  min-height: 100%;
}

.nav__mega-visual {
  position: relative;
  height: 100%;
  min-height: 320px;
}

.nav__mega-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.nav__mega-visual-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.35rem;
  background: linear-gradient(
    180deg,
    rgba(14, 68, 41, 0.15) 0%,
    rgba(14, 68, 41, 0.55) 45%,
    rgba(8, 40, 25, 0.92) 100%
  );
}

.nav__mega-badge {
  display: inline-flex;
  align-self: flex-start;
  font-size: 0.625rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: #e8f5e4;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(155, 224, 138, 0.3);
  padding: 0.3rem 0.55rem;
  border-radius: 999px;
  margin-bottom: 0.65rem;
}

.nav__mega-visual-title {
  margin: 0 0 0.4rem;
  font-family: var(--font-display, "Bricolage Grotesque", system-ui, sans-serif);
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #fff;
}

.nav__mega-visual-sub {
  margin: 0 0 1rem;
  font-size: 0.75rem;
  line-height: 1.45;
  font-weight: 500;
  color: rgba(232, 245, 228, 0.85);
}

.nav__mega-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  align-self: flex-start;
  padding: 0.55rem 1rem;
  font-size: 0.8125rem;
  font-weight: 700;
  color: #0e4429;
  text-decoration: none;
  background: #fff;
  border-radius: 999px;
  box-shadow: 0 10px 24px -12px rgba(0, 0, 0, 0.35);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.nav__mega-cta:hover {
  color: #0e4429;
  transform: translateY(-1px);
  box-shadow: 0 14px 28px -10px rgba(0, 0, 0, 0.4);
}

.nav__mega-cta .nav__mega-svg {
  width: 14px;
  height: 14px;
}

.nav.is-mega-open {
  z-index: 300;
}

.nav.is-mega-open .nav__bar {
  z-index: 2;
}

.nav.is-mega-open .nav__bar-fx {
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  background: linear-gradient(
    105deg,
    #ffffff 0%,
    #f8fcf9 45%,
    #e8f7ec 100%
  );
}

.nav__mega-backdrop {
  position: fixed;
  inset: var(--nav-h) 0 0;
  z-index: 1;
  border: none;
  padding: 0;
  margin: 0;
  background: rgba(12, 17, 23, 0.18);
  pointer-events: none;
  animation: nav-mega-backdrop 0.28s ease;
}

@keyframes nav-mega-backdrop {
  from { opacity: 0; }
  to { opacity: 1; }
}

.nav__dropdown-btn svg {
  transition: transform 0.25s ease;
}

.nav__dropdown--mega.is-open .nav__dropdown-btn svg {
  transform: rotate(180deg);
}

.nav__icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  color: var(--ink-soft);
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  position: relative;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.nav__icon-btn:hover {
  color: var(--ink);
  border-color: var(--border-strong);
}

.nav__cart-count {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  font-size: 0.6875rem;
  font-weight: 700;
  line-height: 18px;
  text-align: center;
  color: #fff;
  background: var(--green-400);
  border-radius: 100px;
}

.nav__search {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  border-top: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  padding: 1rem 0 1.25rem;
  box-shadow: var(--shadow-md);
}

.nav__search[hidden] { display: none; }

.nav__search-inner { position: relative; }

.nav__search-close {
  position: absolute;
  top: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  color: var(--ink-muted);
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.nav__search-close:hover { color: var(--ink); }

.nav__search .gcse-search { max-width: 100%; }

.nav__links > a.is-active {
  color: var(--green-600);
  background: var(--green-100);
}

.nav__lang {
  position: relative;
}

.nav__lang-flag {
  display: inline-flex;
  flex-shrink: 0;
  width: 22px;
  height: 15px;
  border-radius: 4px;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(12, 17, 23, 0.1),
    0 1px 3px rgba(12, 17, 23, 0.08);
}

.nav__lang-flag .lang-flag-svg {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.nav__lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.75rem 0.45rem 0.55rem;
  font-family: inherit;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--ink-soft);
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: 999px;
  cursor: pointer;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease), color 0.2s;
}

.nav__lang-btn:hover {
  color: var(--ink);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-sm);
}

.nav__lang-code {
  min-width: 1.35rem;
  text-align: left;
}

.nav__lang-chevron {
  flex-shrink: 0;
  opacity: 0.55;
  margin-left: -0.1rem;
}

.nav__lang-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 168px;
  margin: 0;
  padding: 0.4rem;
  list-style: none;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  z-index: 200;
}

.nav__lang-dropdown a {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.6rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink-soft);
  border-radius: var(--radius-sm);
  transition: background 0.15s var(--ease), color 0.15s;
}

.nav__lang-label {
  flex: 1;
}

.nav__lang-dropdown a:hover,
.nav__lang-dropdown a.is-active {
  color: var(--green-600);
  background: var(--green-100);
}

.nav__lang-dropdown a.is-active .nav__lang-flag {
  box-shadow:
    0 0 0 1px var(--green-500),
    0 2px 6px rgba(40, 167, 69, 0.2);
}

.nav__toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--border-strong);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.85) inset, 0 8px 20px -14px rgba(12, 17, 23, 0.28);
  cursor: pointer;
  flex-shrink: 0;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease), box-shadow 0.25s var(--ease), transform 0.25s var(--ease);
}

.nav__toggle:hover {
  border-color: rgba(40, 167, 69, 0.28);
  background: #fff;
}

.nav__toggle-icon {
  position: relative;
  width: 18px;
  height: 12px;
  display: block;
  pointer-events: none;
}

.nav__toggle-line {
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: var(--ink);
  pointer-events: none;
  transition: transform 0.32s var(--ease), top 0.32s var(--ease), width 0.32s var(--ease), opacity 0.2s ease;
}

.nav__toggle-line--a { top: 1px; }
.nav__toggle-line--b { top: 9px; width: 13px; }

.nav__toggle[aria-expanded="true"] {
  border-color: rgba(40, 167, 69, 0.35);
  background: var(--green-100);
}

.nav__toggle[aria-expanded="true"] .nav__toggle-line--a {
  top: 5px;
  transform: rotate(45deg);
}

.nav__toggle[aria-expanded="true"] .nav__toggle-line--b {
  top: 5px;
  width: 18px;
  transform: rotate(-45deg);
}

.nav__drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 105;
  border: none;
  padding: 0;
  margin: 0;
  background: rgba(12, 17, 23, 0.38);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.32s var(--ease);
}

.nav.is-drawer-open .nav__drawer-backdrop {
  opacity: 1;
  pointer-events: auto;
}

.nav__drawer-head {
  display: none;
}

/* Hero — SaaS premium */
.hero {
  position: relative;
  padding: calc(var(--nav-h) + 2.5rem) 0 3.5rem;
  overflow: clip;
  background: #f8faf9;
}

.hero__ambient {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero__gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 100% 0%, rgba(88, 191, 9, 0.14), transparent 50%),
    radial-gradient(ellipse 50% 40% at 0% 80%, rgba(40, 167, 69, 0.08), transparent 45%),
    linear-gradient(180deg, #f8faf9 0%, #ffffff 100%);
}

.hero__noise {
  position: absolute;
  inset: 0;
  opacity: 0.4;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}

.hero__frame {
  position: relative;
  z-index: 1;
}

.hero__panel {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: calc(var(--radius-xl) + 4px);
  box-shadow:
    0 0 0 1px rgba(12, 17, 23, 0.04),
    0 24px 80px rgba(12, 17, 23, 0.07);
  backdrop-filter: blur(24px);
  overflow: hidden;
}

.hero__main {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
  padding: clamp(2rem, 4vw, 3rem) clamp(2rem, 4vw, 3rem) 0;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
  padding: 0.35rem 0.85rem 0.35rem 0.5rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--green-600);
  background: var(--green-100);
  border-radius: 100px;
}

.hero__eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green-500);
  box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.2);
}

.hero__title {
  margin: 0 0 1.25rem;
  line-height: 1.02;
}

.hero__title-line {
  display: block;
  font-family: var(--font-family);
  font-size: clamp(2.5rem, 5vw, 3.85rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  color: var(--ink);
}

.hero__title-accent {
  display: block;
  margin-top: 0.12em;
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 4.5vw, 3.35rem);
  font-style: italic;
  font-weight: 400;
  color: var(--green-600);
}

.hero__lead {
  margin: 0 0 1.75rem;
  max-width: 30rem;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink-soft);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.btn--arrow svg {
  transition: transform 0.25s var(--ease);
}

.btn--arrow:hover svg {
  transform: translateX(3px);
}

.btn--outline {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--border-strong);
  box-shadow: none;
}

.btn--outline:hover {
  background: var(--surface-alt);
  color: var(--ink);
  border-color: rgba(12, 17, 23, 0.18);
}

.hero__media {
  position: relative;
}

.hero__image-wrap {
  position: relative;
  padding: 0.5rem;
  background: linear-gradient(145deg, rgba(232, 247, 236, 0.6), rgba(255, 255, 255, 0.2));
  border-radius: calc(var(--radius-xl) + 6px);
}

.hero__figure {
  margin: 0;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 20px 50px rgba(12, 17, 23, 0.1);
}

.hero__figure img {
  width: 100%;
  aspect-ratio: 5/4;
  object-fit: cover;
  display: block;
  transition: transform 0.5s var(--ease);
}

.hero__image-wrap:hover .hero__figure img {
  transform: scale(1.03);
}

.hero__badge {
  position: absolute;
  right: 1.25rem;
  bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.65rem 1rem;
  max-width: 200px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 1);
  border-radius: var(--radius-md);
  box-shadow: 0 8px 32px rgba(12, 17, 23, 0.1);
  backdrop-filter: blur(12px);
}

.hero__badge-icon {
  display: flex;
  color: var(--green-600);
}

.hero__badge-icon svg {
  width: 20px;
  height: 20px;
}

.hero__badge-text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  font-size: 0.625rem;
  line-height: 1.3;
  color: var(--ink-muted);
}

.hero__badge-text strong {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--ink);
}

/* Dock métriques — pleine largeur, une ligne */
.hero__dock {
  display: flex;
  align-items: stretch;
  margin-top: 0;
  border-top: 1px solid rgba(12, 17, 23, 0.06);
  background: linear-gradient(180deg, rgba(248, 250, 249, 0.5) 0%, rgba(255, 255, 255, 0.9) 100%);
}

.hero__dock-item {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  padding: 1.15rem 1.5rem;
  min-width: 0;
  transition: background 0.2s var(--ease);
}

.hero__dock-item:not(:last-child) {
  border-right: 1px solid rgba(12, 17, 23, 0.06);
}

.hero__dock-item:hover {
  background: rgba(232, 247, 236, 0.35);
}

.hero__dock-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: var(--green-600);
  background: #fff;
  border: 1px solid rgba(40, 167, 69, 0.1);
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(40, 167, 69, 0.08);
}

.hero__dock-icon svg {
  width: 22px;
  height: 22px;
}

.hero__dock-icon--b {
  color: #1565a8;
  border-color: rgba(21, 101, 168, 0.1);
  box-shadow: 0 2px 12px rgba(21, 101, 168, 0.08);
}

.hero__dock-icon--c {
  color: #7a6220;
  border-color: rgba(122, 98, 32, 0.12);
  box-shadow: 0 2px 12px rgba(122, 98, 32, 0.08);
}

.hero__dock-data {
  display: flex;
  flex-direction: row;
  align-items: baseline;
  gap: 0.5rem;
  flex-wrap: nowrap;
  min-width: 0;
}

.hero__dock-value {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--ink);
  white-space: nowrap;
}

.hero__dock-value--sm {
  font-size: 1.125rem;
}

.hero__dock-label {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--ink-muted);
  white-space: nowrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s;
}

.btn:hover { transform: translateY(-1px); }

.btn--primary {
  background: linear-gradient(135deg, var(--green-500), var(--green-600));
  color: white;
  box-shadow: 0 4px 20px var(--green-glow);
}

.btn--primary:hover { color: white; box-shadow: var(--shadow-glow); }

.btn--ghost {
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--border-strong);
}

.btn--light {
  background: white;
  color: var(--green-600);
  box-shadow: var(--shadow-md);
}

/* Sections */
.section {
  padding: clamp(3.5rem, 8vw, 5.5rem) 0;
}

.section--alt {
  background: var(--surface-alt);
}

.section__head {
  max-width: 36rem;
  margin-bottom: 3rem;
}

.section__head--center {
  max-width: 40rem;
  margin-inline: auto;
  text-align: center;
}

.section__eyebrow {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green-600);
  margin-bottom: 0.75rem;
}

.section__head h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
  line-height: 1.2;
}

.section__head p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.0625rem;
}

/* Processus Soycain — SaaS premium */
.process {
  background: linear-gradient(180deg, var(--surface) 0%, var(--surface-alt) 100%);
}

.process__header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem 3rem;
  align-items: end;
  margin-bottom: 2.5rem;
}

.process__header-text .section__eyebrow {
  margin-bottom: 0.65rem;
}

.process__header-text h2 {
  margin: 0;
  font-size: clamp(1.85rem, 3.5vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--ink);
}

.process__intro {
  margin: 0;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink-soft);
}

.process__board {
  padding: clamp(1.5rem, 3vw, 2rem);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: calc(var(--radius-xl) + 2px);
  box-shadow:
    0 0 0 1px rgba(12, 17, 23, 0.04),
    0 20px 60px rgba(12, 17, 23, 0.06);
  backdrop-filter: blur(16px);
}

.process__flow {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.process__step {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.process__node {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 2rem;
  margin-bottom: 0.85rem;
}

.process__line {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, rgba(40, 167, 69, 0.08), rgba(40, 167, 69, 0.35));
  transform: translateY(-50%);
}

.process__step:first-child .process__line {
  left: 50%;
}

.process__step:last-child .process__line {
  right: 50%;
}

.process__dot {
  position: relative;
  z-index: 1;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--green-500);
  border: 3px solid #fff;
  box-shadow: 0 0 0 1px rgba(40, 167, 69, 0.25), 0 0 12px rgba(88, 191, 9, 0.35);
  transition: transform 0.25s var(--ease), box-shadow 0.25s;
}

.process__step:hover .process__dot {
  transform: scale(1.15);
  box-shadow: 0 0 0 1px rgba(40, 167, 69, 0.4), 0 0 16px rgba(88, 191, 9, 0.5);
}

.process__card {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 1.15rem 1.1rem 1.25rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: 0 2px 8px rgba(12, 17, 23, 0.03);
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s var(--ease);
}

.process__step:hover .process__card {
  border-color: rgba(40, 167, 69, 0.22);
  box-shadow: 0 12px 28px rgba(12, 17, 23, 0.08);
  transform: translateY(-3px);
}

.process__card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.85rem;
}

.process__num {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--ink-muted);
  font-variant-numeric: tabular-nums;
}

.process__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: var(--green-600);
  background: linear-gradient(145deg, #fff 0%, var(--green-100) 100%);
  border: 1px solid rgba(40, 167, 69, 0.12);
  border-radius: 12px;
}

.process__icon svg {
  width: 20px;
  height: 20px;
}

.process__step--b .process__icon {
  color: #1565a8;
  background: linear-gradient(145deg, #fff 0%, #e8f4fa 100%);
  border-color: rgba(21, 101, 168, 0.12);
}

.process__step--c .process__icon {
  color: #6b4fa8;
  background: linear-gradient(145deg, #fff 0%, #f3effa 100%);
  border-color: rgba(107, 79, 168, 0.12);
}

.process__step--d .process__icon {
  color: #b45309;
  background: linear-gradient(145deg, #fff 0%, #fef6eb 100%);
  border-color: rgba(180, 83, 9, 0.12);
}

.process__step--e .process__icon {
  color: var(--green-600);
  background: linear-gradient(145deg, var(--green-100) 0%, #fff 100%);
  border-color: rgba(40, 167, 69, 0.2);
}

.process__card h3 {
  margin: 0 0 0.45rem;
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--ink);
}

.process__card p {
  margin: 0;
  flex: 1;
  font-size: 0.75rem;
  line-height: 1.55;
  color: var(--ink-muted);
}

.process__compliance {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.15rem 1.35rem;
  background: linear-gradient(135deg, #0c1117 0%, #1a2a22 100%);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
  color: #fff;
}

.process__compliance-badge {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  background: linear-gradient(135deg, var(--green-500), var(--green-400));
  border-radius: 14px;
  box-shadow: 0 4px 16px rgba(40, 167, 69, 0.35);
}

.process__compliance-body {
  flex: 1;
  min-width: 0;
}

.process__compliance-body h3 {
  margin: 0 0 0.3rem;
  font-size: 1rem;
  font-weight: 700;
}

.process__compliance-body p {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.72);
}

.process__compliance-body a {
  color: var(--green-400);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.process__compliance-body a:hover {
  color: #9aeb7a;
}

.process__compliance-link {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  transition: background 0.2s, border-color 0.2s, transform 0.2s var(--ease);
}

.process__compliance-link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translate(2px, -2px);
}

/* Normes */
.norms {
  background: var(--surface-alt);
}

.norms__board {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: calc(var(--radius-xl) + 2px);
  box-shadow: 0 20px 60px rgba(12, 17, 23, 0.06);
  backdrop-filter: blur(16px);
}

.norms__title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.65rem, 3vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.norms__intro {
  margin: 0 0 1.5rem;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink-soft);
}

.norms__cards {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.norms__card {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  padding: 1rem 1.1rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s var(--ease);
}

.norms__card:hover {
  border-color: rgba(40, 167, 69, 0.2);
  box-shadow: 0 8px 24px rgba(12, 17, 23, 0.06);
  transform: translateX(4px);
}

.norms__card-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: var(--green-600);
  background: var(--green-100);
  border-radius: 12px;
}

.norms__card-icon svg { width: 20px; height: 20px; }

.norms__card-icon--b { color: #1565a8; background: #e8f4fa; }
.norms__card-icon--c { color: #9a3d6e; background: #faf0f5; }

.norms__card strong {
  display: block;
  font-size: 0.875rem;
  margin-bottom: 0.15rem;
}

.norms__card span {
  font-size: 0.8125rem;
  color: var(--ink-muted);
  line-height: 1.45;
}

.norms__video {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 16px 48px rgba(12, 17, 23, 0.1);
  background: var(--ink);
}

.norms__video img {
  width: 100%;
  display: block;
  aspect-ratio: 16/10;
  object-fit: cover;
}

.norms__media-badge {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  padding: 0.35rem 0.75rem;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(12, 17, 23, 0.55);
  backdrop-filter: blur(8px);
  border-radius: 100px;
}

.norms__video {
  position: relative;
}

/* Certificats */
.certs__header {
  max-width: 40rem;
  margin: 0 auto 2.5rem;
  text-align: center;
}

.certs__header h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.65rem, 3vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.03em;
}

.certs__header p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.0625rem;
  line-height: 1.6;
}

.certs__board {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.certs__featured {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(40, 167, 69, 0.12);
  border-radius: var(--radius-lg);
  box-shadow: 0 12px 40px rgba(12, 17, 23, 0.06);
}

.certs__featured-visual {
  position: relative;
  min-height: 280px;
  overflow: hidden;
}

.certs__featured-visual--ceres {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(2rem, 5vw, 3rem);
  background:
    radial-gradient(ellipse 80% 60% at 50% 100%, rgba(40, 167, 69, 0.18), transparent),
    linear-gradient(165deg, #f0faf3 0%, #e2f2e8 45%, #d4ebdc 100%);
}

.certs__featured-ceres {
  width: min(78%, 280px);
  max-height: 220px;
  margin: 0 auto;
  object-fit: contain;
  filter: drop-shadow(0 12px 28px rgba(12, 17, 23, 0.12));
  transition: transform 0.7s var(--ease);
}

.certs__featured:hover .certs__featured-ceres {
  transform: scale(1.03);
}

.certs__featured-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(1.25rem, 3vw, 2rem);
}

.certs__tag {
  display: inline-block;
  margin-bottom: 0.5rem;
  padding: 0.25rem 0.65rem;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green-600);
  background: var(--green-100);
  border-radius: 100px;
}

.certs__featured h3 {
  margin: 0 0 0.25rem;
  font-size: 1.35rem;
}

.certs__ref {
  margin: 0 0 0.65rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--green-600);
}

.certs__featured-body > p {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--ink-soft);
}

.certs__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--green-600);
}

.certs__link:hover { color: var(--green-600); }

.certs__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.certs__item {
  overflow: hidden;
  padding: 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: transform 0.4s var(--ease), box-shadow 0.4s;
}

.certs__item:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(12, 17, 23, 0.1);
}

.certs__item-visual {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
}

.certs__item-visual--glyph {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, var(--surface-alt) 0%, #fff 100%);
}

.certs__item-visual--haccp {
  color: #1a7a8c;
  background: linear-gradient(145deg, #e8f6f8 0%, #fff 100%);
}

.certs__item-visual--gmp {
  color: #2d6a3e;
  background: linear-gradient(145deg, #e8f4eb 0%, #fff 100%);
}

.certs__item-visual--brc {
  color: #5c4a9e;
  background: linear-gradient(145deg, #f0edf8 0%, #fff 100%);
}

.certs__item-visual--fairtrade {
  color: #b8860b;
  background: linear-gradient(145deg, #faf6e8 0%, #fff 100%);
}

.certs__glyph {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 1.5rem;
}

.certs__glyph-svg {
  width: clamp(3rem, 28%, 4.25rem);
  height: auto;
  opacity: 0.92;
  transition: transform 0.5s var(--ease), opacity 0.35s;
}

.certs__item:hover .certs__glyph-svg {
  transform: scale(1.08) translateY(-2px);
  opacity: 1;
}

.certs__item-label {
  position: absolute;
  left: 0.75rem;
  bottom: 0.75rem;
  padding: 0.3rem 0.65rem;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(12, 17, 23, 0.65);
  backdrop-filter: blur(8px);
  border-radius: 100px;
}

.certs__item-body {
  padding: 1rem 1.1rem 1.15rem;
}

.certs__item h3 {
  margin: 0 0 0.35rem;
  font-size: 0.9375rem;
}

.certs__item p {
  margin: 0;
  font-size: 0.75rem;
  line-height: 1.55;
  color: var(--ink-muted);
}

/* Finale — formation + CTA */
.finale {
  padding: clamp(3.5rem, 8vw, 5.5rem) 0;
  background: linear-gradient(180deg, var(--surface-alt) 0%, #eef6f0 50%, var(--surface) 100%);
}

.finale__shell {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  margin-bottom: 1.25rem;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: calc(var(--radius-xl) + 2px);
  box-shadow: 0 24px 64px rgba(12, 17, 23, 0.07);
  backdrop-filter: blur(20px);
}

.finale__header h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.65rem, 3vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.03em;
}

.finale__intro {
  margin: 0 0 1.25rem;
  font-size: 1rem;
  font-style: italic;
  color: var(--ink-soft);
  line-height: 1.6;
}

.finale__lead {
  margin: 0 0 1rem;
  font-size: 0.9375rem;
  color: var(--ink-soft);
}

.finale__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.finale__list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.7rem 0.85rem;
  font-size: 0.875rem;
  line-height: 1.45;
  color: var(--ink-soft);
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: transform 0.3s var(--ease), border-color 0.3s, background 0.3s;
}

.finale__list li:hover {
  transform: translateX(6px);
  border-color: rgba(40, 167, 69, 0.2);
  background: #fff;
}

.finale__check {
  flex-shrink: 0;
  display: flex;
  width: 22px;
  height: 22px;
  color: var(--green-600);
  background: var(--green-100);
  border-radius: 50%;
}

.finale__check svg {
  width: 14px;
  height: 14px;
  margin: auto;
}

.finale__note {
  margin: 1.25rem 0 0;
  padding-top: 1rem;
  font-size: 0.875rem;
  color: var(--ink-muted);
  line-height: 1.55;
  border-top: 1px solid var(--border);
}

.finale__visual {
  position: relative;
}

.finale__visual-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 20px 50px rgba(12, 17, 23, 0.12);
  will-change: transform;
}

.finale__visual-frame img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
}

.finale__float {
  position: absolute;
  padding: 0.45rem 0.85rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--green-600);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(40, 167, 69, 0.15);
  border-radius: 100px;
  box-shadow: 0 8px 24px rgba(12, 17, 23, 0.08);
  backdrop-filter: blur(8px);
  animation: float-badge 5s ease-in-out infinite;
}

.finale__float--1 { top: 12%; right: -4%; animation-delay: 0s; }
.finale__float--2 { bottom: 14%; left: -6%; animation-delay: -2.5s; }

@keyframes float-badge {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.finale__cta {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 0;
  overflow: hidden;
  border-radius: calc(var(--radius-xl) + 2px);
  background: linear-gradient(135deg, #0a0f14 0%, #143528 45%, #1d9a47 100%);
  box-shadow: 0 28px 72px rgba(29, 154, 71, 0.28);
}

.finale__cta-visual {
  position: relative;
  min-height: 260px;
  overflow: hidden;
  will-change: transform;
}

.finale__cta-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
}

.finale__cta-shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 0%,
    rgba(255, 255, 255, 0.12) 45%,
    transparent 55%
  );
  animation: shine-sweep 4s ease-in-out infinite;
}

@keyframes shine-sweep {
  0%, 100% { transform: translateX(-100%); opacity: 0; }
  45%, 55% { opacity: 1; }
  100% { transform: translateX(100%); }
}

.finale__cta-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2rem, 4vw, 3rem);
  color: #fff;
}

.finale__cta-content h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.finale__cta-content p {
  margin: 0 0 1.5rem;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
  max-width: 28rem;
}

.btn--cta {
  align-self: flex-start;
  background: #fff;
  color: var(--green-600);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
}

.btn--cta:hover {
  color: var(--green-600);
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
}

/* Footer — colonnes + grille visible (nette + halo flou) */
.footer {
  position: relative;
  margin-top: auto;
  padding: clamp(2rem, 4vw, 2.75rem) 0 clamp(1rem, 2.5vw, 1.35rem);
  overflow: hidden;
  font-size: 0.875rem;
  color: var(--ink-soft);
  background-color: #fff;
  border-top: 1px solid var(--border);
}

.footer__grid {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* Grille nette — lisible */
.footer__grid::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(40, 167, 69, 0.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(40, 167, 69, 0.16) 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: 0.55;
}

/* Halo flou par-dessus — effet pro sans effacer les traits */
.footer__grid::after {
  content: "";
  position: absolute;
  inset: -4%;
  background-image:
    linear-gradient(rgba(40, 167, 69, 0.22) 1px, transparent 1px),
    linear-gradient(90deg, rgba(40, 167, 69, 0.22) 1px, transparent 1px);
  background-size: 40px 40px;
  filter: blur(3px);
  opacity: 0.38;
  mask-image: linear-gradient(180deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
}

.footer__shell {
  position: relative;
  z-index: 1;
}

.footer__main {
  display: grid;
  gap: clamp(1.25rem, 2.5vw, 1.65rem);
  grid-template-columns: 1fr;
  padding-bottom: clamp(1rem, 2vw, 1.35rem);
  border-bottom: 1px solid rgba(12, 17, 23, 0.06);
}

@media (min-width: 768px) {
  .footer__main {
    grid-template-columns: minmax(180px, 1fr) auto;
    align-items: start;
    gap: clamp(1.5rem, 3vw, 2.25rem);
  }
}

.footer__brand {
  max-width: 20rem;
}

.footer__logo {
  display: inline-block;
  margin-bottom: 0.5rem;
  transition: opacity 0.2s var(--ease);
}

.footer__logo:hover {
  opacity: 0.85;
}

.footer__logo img {
  display: block;
}

.footer__tagline {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--ink-muted);
}

.footer__cols {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem clamp(1.25rem, 2.5vw, 1.75rem);
  align-items: flex-start;
}

.footer__col {
  min-width: 9.5rem;
}

.footer__col-title {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 0.5rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--green-600);
}

.footer__col-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.625rem;
  height: 1.625rem;
  flex-shrink: 0;
  color: var(--green-600);
  background: rgba(40, 167, 69, 0.1);
  border: 1px solid rgba(40, 167, 69, 0.14);
  border-radius: 8px;
}

.footer__col-icon svg {
  display: block;
}

.footer__links {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.footer__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.22rem 0;
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.8125rem;
  transition: color 0.2s var(--ease), gap 0.22s var(--ease);
}

.footer__link-arrow {
  flex-shrink: 0;
  opacity: 0;
  color: var(--green-500);
  transform: translateX(-5px);
  transition:
    opacity 0.22s var(--ease),
    transform 0.22s var(--ease);
}

.footer__link:hover {
  color: var(--green-600);
  gap: 0.55rem;
}

.footer__link:hover .footer__link-arrow {
  opacity: 1;
  transform: translateX(0);
}

.footer__bar {
  display: flex;
  justify-content: center;
  padding-top: clamp(0.9rem, 2vw, 1.15rem);
}

.footer__copy {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--ink-muted);
  text-align: center;
}

/* Animations SaaS */
[data-hero] .hero__ambient {
  animation: ambient-drift 18s ease-in-out infinite;
}

@keyframes ambient-drift {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.92; transform: scale(1.02); }
}

.reveal,
.reveal-scale,
.reveal-right,
[data-stagger-item] {
  opacity: 0;
  transition:
    opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.85s cubic-bezier(0.16, 1, 0.3, 1),
    filter 0.85s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal {
  transform: translateY(36px);
  filter: blur(10px);
}

.reveal-scale {
  transform: translateY(28px) scale(0.96);
  filter: blur(8px);
}

.reveal-right {
  transform: translateX(40px);
  filter: blur(8px);
}

.reveal.is-visible,
.reveal-scale.is-visible,
.reveal-right.is-visible,
[data-stagger-item].is-visible {
  opacity: 1;
  transform: none;
  filter: blur(0);
}

.reveal--delay { transition-delay: 0.12s; }

html.is-ready [data-stagger-item]:nth-child(1) { transition-delay: 0.05s; }
html.is-ready [data-stagger-item]:nth-child(2) { transition-delay: 0.1s; }
html.is-ready [data-stagger-item]:nth-child(3) { transition-delay: 0.15s; }
html.is-ready [data-stagger-item]:nth-child(4) { transition-delay: 0.2s; }
html.is-ready [data-stagger-item]:nth-child(5) { transition-delay: 0.25s; }
html.is-ready [data-stagger-item]:nth-child(6) { transition-delay: 0.3s; }
html.is-ready [data-stagger-item]:nth-child(7) { transition-delay: 0.35s; }

.process__step.reveal.is-visible .process__dot {
  animation: dot-pop 0.5s cubic-bezier(0.16, 1, 0.3, 1) backwards;
}

@keyframes dot-pop {
  from { transform: scale(0); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

/* Responsive */
@media (max-width: 1100px) {
  .nav__inner {
    width: min(1280px, calc(100% - 1.25rem));
  }

  .nav__links > a,
  .nav__dropdown-btn {
    padding: 0.45rem 0.5rem;
    font-size: 0.75rem;
  }

  .process__flow { grid-template-columns: repeat(3, 1fr); }

  .certs__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .hero__shell {
    grid-template-columns: 1fr;
  }

  .hero__main {
    grid-template-columns: 1fr;
    padding: 1.75rem 1.25rem 0;
  }

  .hero__media { order: -1; }

  .hero__dock-item:not(:last-child) {
    border-right: none;
    border-bottom: 1px solid rgba(12, 17, 23, 0.06);
  }

  .hero__dock {
    flex-direction: column;
  }

  .hero__dock-item {
    justify-content: flex-start;
    width: 100%;
  }

  .process__header {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .process__flow { grid-template-columns: repeat(2, 1fr); }

  .norms__board,
  .finale__shell {
    grid-template-columns: 1fr;
  }

  .norms__media { order: -1; }

  .certs__featured {
    grid-template-columns: 1fr;
  }

  .certs__featured-visual {
    min-height: 220px;
  }

  .finale__visual { order: -1; }

  .finale__cta {
    grid-template-columns: 1fr;
  }

  .finale__cta-visual {
    min-height: 200px;
  }
}

@media (max-width: 1024px) {
  .nav__inner {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
  }

  .nav__brand {
    order: 0;
    grid-column: auto;
    justify-self: auto;
  }

  .nav__end {
    order: 1;
    grid-column: auto;
    justify-self: auto;
    margin-left: auto;
    gap: 0.5rem;
  }

  .nav__toggle {
    display: inline-flex;
  }

  .nav.is-drawer-open .nav__bar {
    z-index: 112;
  }

  .nav__drawer-head {
    display: block;
    padding: 0 1.35rem 1.15rem;
    border-bottom: 1px solid var(--border);
    margin-bottom: 0.65rem;
  }

  .nav__drawer-eyebrow {
    display: block;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--green-600);
    margin-bottom: 0.35rem;
  }

  .nav__drawer-title {
    display: block;
    font-family: var(--font-display);
    font-size: 1.65rem;
    line-height: 1.1;
    color: var(--ink);
  }

  .nav__links {
    order: 3;
    flex: none;
    grid-column: auto;
    justify-self: auto;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: auto;
    width: min(420px, 92vw);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding: calc(var(--nav-h) + 0.85rem) 0 1.5rem;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 252, 249, 0.98) 100%);
    border-left: 1px solid rgba(40, 167, 69, 0.12);
    box-shadow: -18px 0 48px rgba(12, 17, 23, 0.14);
    transform: translateX(106%);
    opacity: 1;
    pointer-events: none;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    transition: transform 0.38s var(--ease);
    z-index: 110;
  }

  .nav__links:not(.is-open) {
    visibility: hidden;
  }

  .nav__links.is-open {
    visibility: visible;
    transform: translateX(0);
    pointer-events: auto;
  }

  .nav__links > .nav__drawer-head + a,
  .nav__links > a,
  .nav__links > .nav__dropdown {
    margin: 0 0.85rem;
  }

  .nav__links > a,
  .nav__dropdown-btn {
    width: 100%;
    justify-content: space-between;
    padding: 0.95rem 1rem;
    font-size: 1rem;
    font-weight: 600;
    color: var(--ink);
    border-radius: 14px;
    border: 1px solid transparent;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  }

  .nav__links > a:hover,
  .nav__dropdown-btn:hover {
    background: var(--surface-alt);
    color: var(--ink);
  }

  .nav__links > a.is-active,
  .nav__dropdown-btn.is-active {
    background: var(--green-100);
    border-color: rgba(40, 167, 69, 0.18);
    color: var(--green-600);
  }

  .nav__dropdown {
    width: 100%;
    border-radius: 14px;
  }

  .nav__dropdown-btn svg {
    flex-shrink: 0;
    transition: transform 0.28s var(--ease);
  }

  .nav__dropdown.is-open > .nav__dropdown-btn svg {
    transform: rotate(180deg);
  }

  .nav__dropdown-menu {
    position: static;
    box-shadow: none;
    border: none;
    padding: 0 0 0 0.75rem;
    margin-top: 0.15rem;
  }

  .nav__dropdown-menu:not([hidden]) {
    display: block;
  }

  .nav__dropdown--mega {
    width: 100%;
  }

  .nav__mega {
    position: static;
    left: auto;
    width: 100%;
    transform: none;
    opacity: 1;
    visibility: hidden;
    margin: 0;
    max-height: 0;
    overflow: hidden;
    pointer-events: none;
    transition: max-height 0.42s var(--ease), margin 0.28s var(--ease), visibility 0.2s ease;
  }

  .nav__mega[hidden] {
    display: block;
  }

  .nav__dropdown--mega.is-open .nav__mega {
    visibility: visible;
    max-height: min(72vh, 680px);
    margin: 0.35rem 0 0.15rem;
    pointer-events: auto;
  }

  .nav__mega-panel {
    grid-template-columns: 1fr;
    border-radius: 16px;
    box-shadow: none;
    border: 1px solid var(--border);
    background: var(--surface);
    overflow: hidden;
  }

  .nav__mega-body {
    padding: 0.85rem;
  }

  .nav__mega-head {
    margin-bottom: 0.65rem;
  }

  .nav__mega-eyebrow {
    font-size: 0.6875rem;
  }

  .nav__mega-grid {
    grid-template-columns: 1fr;
    gap: 0.45rem;
  }

  .nav__mega-cat {
    padding: 0.72rem 0.85rem;
    border-radius: 12px;
    background: #fff;
    border: 1px solid var(--border);
  }

  .nav__mega-cat-arrow {
    opacity: 0.45;
  }

  .nav__mega-quick {
    margin-top: 0.85rem;
    padding-top: 0.85rem;
    border-top: 1px solid var(--border);
  }

  .nav__mega-quick-links {
    display: grid;
    gap: 0.35rem;
  }

  .nav__mega-quick-link {
    padding: 0.65rem 0.75rem;
    border-radius: 12px;
    background: #fff;
    border: 1px solid var(--border);
  }

  .nav__mega-aside {
    display: none;
  }

  .nav__mega-backdrop {
    display: none;
  }

  body.is-nav-open {
    overflow: hidden;
    touch-action: none;
  }

  .hero__panel { border-radius: var(--radius-lg); }

  .hero__dock {
    flex-direction: row;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .hero__dock::-webkit-scrollbar { display: none; }

  .hero__dock-item {
    flex: 1 0 auto;
    min-width: 9.5rem;
    padding: 1rem;
    border-bottom: none !important;
    border-right: 1px solid rgba(12, 17, 23, 0.06) !important;
  }

  .hero__dock-item:last-child {
    border-right: none !important;
  }

  .process__flow {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .process__node {
    justify-content: flex-start;
    padding-left: 0.35rem;
    height: auto;
    margin-bottom: 0.5rem;
  }

  .process__line {
    top: 0;
    bottom: 0;
    left: 0.4rem;
    right: auto;
    width: 2px;
    height: auto;
    transform: none;
    background: linear-gradient(180deg, rgba(40, 167, 69, 0.15), rgba(40, 167, 69, 0.4));
  }

  .process__step:first-child .process__line,
  .process__step:last-child .process__line {
    left: 0.4rem;
    right: auto;
  }

  .process__step {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0 1rem;
    padding-bottom: 1.25rem;
  }

  .process__step:last-child {
    padding-bottom: 0;
  }

  .process__node {
    grid-row: 1;
    grid-column: 1;
    align-self: start;
    padding-top: 1.25rem;
  }

  .process__card {
    grid-row: 1;
    grid-column: 2;
  }

  .process__compliance {
    flex-wrap: wrap;
  }

  .process__compliance-link {
    width: 100%;
    margin-top: 0.5rem;
  }

  .certs__grid {
    grid-template-columns: 1fr;
  }

  .finale__cta-content {
    text-align: center;
    align-items: center;
  }

  .btn--cta {
    width: 100%;
    max-width: 320px;
    justify-content: center;
  }

  .finale__float--1 { right: 4%; }
  .finale__float--2 { left: 4%; }

  .footer__main {
    text-align: center;
  }

  .footer__brand {
    margin-inline: auto;
  }

  .footer__cols {
    text-align: left;
  }

}

@media (max-width: 480px) {
  .hero__title-line { font-size: 2.15rem; }
  .hero__title-accent { font-size: 1.85rem; }

  .hero__actions {
    flex-direction: column;
  }

  .hero__actions .btn {
    width: 100%;
    justify-content: center;
  }

  .process__board,
  .norms__board,
  .finale__shell {
    padding: 1.15rem;
    border-radius: var(--radius-lg);
  }

  .norms__card:hover,
  .finale__list li:hover { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal-scale,
  .reveal-right,
  [data-stagger-item] {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
  }

  [data-hero] .hero__ambient,
  .finale__float,
  .finale__cta-shine,
  .process__step.reveal.is-visible .process__dot {
    animation: none;
  }

  .hero__figure img,
  .certs__featured-ceres,
  .certs__glyph-svg {
    transition: none;
  }

  html { scroll-behavior: auto; }
}

/* ================================================================
   MOBILE NAV — Panneau latéral sombre (override ≤ 1024px)
   ================================================================ */
@media (max-width: 1024px) {

  /* ── Panneau latéral droit, fond sombre ── */
  .nav__links {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: auto;
    width: min(400px, 92vw);
    height: 100%;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding: 0 0 env(safe-area-inset-bottom, 0);
    background: var(--ink);
    border: none;
    border-left: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: -24px 0 64px rgba(12, 17, 23, 0.55);
    transform: translateX(108%);
    opacity: 1;
    visibility: hidden;
    pointer-events: none;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    transition:
      transform 0.42s var(--ease),
      visibility 0s linear 0.42s;
    z-index: 110;
  }

  /* Orb vert — haut-droite du panneau */
  .nav__links::before {
    content: '';
    position: absolute;
    top: -60px;
    right: -60px;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(88, 191, 9, 0.18) 0%, transparent 65%);
    pointer-events: none;
    border-radius: 50%;
    z-index: 0;
  }

  /* Orb vert — bas-gauche (discret) */
  .nav__links::after {
    content: '';
    position: absolute;
    bottom: -60px;
    left: -40px;
    width: 240px;
    height: 240px;
    background: radial-gradient(circle, rgba(29, 154, 71, 0.1) 0%, transparent 65%);
    pointer-events: none;
    border-radius: 50%;
    z-index: 0;
  }

  .nav__links.is-open {
    transform: translateX(0);
    visibility: visible;
    pointer-events: auto;
    transition:
      transform 0.42s var(--ease),
      visibility 0s linear 0s;
  }

  /* ── En-tête du drawer — barre compacte (même hauteur que la nav) ── */
  .nav__drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--nav-h);
    flex-shrink: 0;
    padding: 0 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    margin-bottom: 0;
    position: relative;
    z-index: 1;
    opacity: 0;
    transform: translateX(14px);
    transition: opacity 0.38s ease 0.05s, transform 0.4s var(--ease) 0.05s;
  }

  .nav__links.is-open .nav__drawer-head {
    opacity: 1;
    transform: translateX(0);
  }

  .nav__drawer-logo {
    height: 32px;
    width: auto;
    object-fit: contain;
    display: block;
  }

  /* Bouton fermer (×) dans le drawer */
  .nav__drawer-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 11px;
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.65);
    cursor: pointer;
    flex-shrink: 0;
    transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s var(--ease);
  }

  .nav__drawer-close:hover {
    background: rgba(255, 255, 255, 0.11);
    border-color: rgba(255, 255, 255, 0.24);
    color: #fff;
    transform: rotate(90deg);
  }

  /* ── Liens ── */
  .nav__links > .nav__drawer-head + a,
  .nav__links > a {
    margin: 0 0.75rem;
    position: relative;
    z-index: 1;
  }

  .nav__links > .nav__dropdown {
    position: relative;
    z-index: 1;
  }

  .nav__links > a,
  .nav__dropdown-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: calc(100% - 1.5rem);
    padding: 0.85rem 0.85rem;
    font-size: 1rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.62);
    background: transparent;
    border-radius: 12px;
    border: none;
    opacity: 0;
    transform: translateX(18px);
    transition:
      color 0.18s ease,
      background 0.18s ease,
      opacity 0.38s ease,
      transform 0.42s var(--ease);
  }

  /* Petite flèche déco sur chaque lien */
  .nav__links > a::after {
    content: '↗';
    font-style: normal;
    font-size: 0.8125rem;
    opacity: 0.18;
    flex-shrink: 0;
    transition: opacity 0.18s ease, transform 0.22s var(--ease);
  }

  .nav__links > a:hover {
    color: rgba(255, 255, 255, 0.92);
    background: rgba(255, 255, 255, 0.04);
  }

  .nav__links > a:hover::after {
    opacity: 0.55;
    transform: translate(3px, -3px);
  }

  .nav__links > a.is-active {
    color: var(--green-400);
    background: rgba(88, 191, 9, 0.07);
    border-bottom-color: rgba(88, 191, 9, 0.1);
  }

  .nav__links > a.is-active::after {
    opacity: 0.5;
    color: var(--green-400);
  }

  /* Révélation staggerée (fade + slide depuis la droite) */
  .nav__links.is-open > a,
  .nav__links.is-open .nav__dropdown-btn {
    opacity: 1;
    transform: translateX(0);
  }

  .nav__links.is-open > *:nth-child(2)  { transition-delay: 0.07s; }
  .nav__links.is-open > *:nth-child(3)  { transition-delay: 0.12s; }
  .nav__links.is-open > *:nth-child(4)  { transition-delay: 0.17s; }
  .nav__links.is-open > *:nth-child(5)  { transition-delay: 0.22s; }
  .nav__links.is-open > *:nth-child(6)  { transition-delay: 0.27s; }
  .nav__links.is-open > *:nth-child(7)  { transition-delay: 0.32s; }
  .nav__links.is-open > *:nth-child(8)  { transition-delay: 0.37s; }
  .nav__links.is-open > *:nth-child(9)  { transition-delay: 0.42s; }

  /* ── Bouton dropdown Produits ── */
  .nav__dropdown {
    width: calc(100% - 1.5rem);
    margin: 0 0.75rem;
    border-radius: 12px;
  }

  .nav__dropdown-btn {
    width: 100%;
    padding: 0.85rem 0.85rem;
    font-size: 1rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.62);
    background: transparent;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    font-family: inherit;
  }

  .nav__dropdown-btn:hover {
    color: rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.05);
  }

  .nav__dropdown.is-open > .nav__dropdown-btn {
    color: rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px 12px 0 0;
  }

  .nav__dropdown-btn svg {
    flex-shrink: 0;
    transition: transform 0.3s var(--ease);
    opacity: 0.5;
    color: rgba(255, 255, 255, 0.6);
  }

  .nav__dropdown.is-open > .nav__dropdown-btn svg {
    transform: rotate(180deg);
    opacity: 0.8;
  }

  /* ── Mega panel ── */
  .nav__mega {
    position: static;
    width: 100%;
    visibility: hidden;
    max-height: 0;
    overflow: hidden;
    pointer-events: none;
    transition: max-height 0.42s var(--ease), visibility 0.2s ease;
  }

  .nav__mega[hidden] {
    display: block;
  }

  .nav__dropdown--mega.is-open .nav__mega {
    visibility: visible;
    max-height: 600px;
    pointer-events: auto;
  }

  .nav__mega-panel {
    display: block;
    margin: 0;
    border-radius: 0 0 12px 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-top: none;
    background: rgba(255, 255, 255, 0.04);
    overflow: hidden;
  }

  .nav__mega-body {
    padding: 0.85rem 0.85rem 1rem;
  }

  /* Eyebrow catalogue */
  .nav__mega-head {
    margin-bottom: 0.6rem;
  }

  .nav__mega-eyebrow {
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--green-400);
  }

  /* Grille 2 colonnes — lisible et compact */
  .nav__mega-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.4rem;
  }

  .nav__mega-cat {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 0.6rem;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    text-decoration: none;
    color: rgba(255, 255, 255, 0.78);
    transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
  }

  .nav__mega-cat:hover {
    background: rgba(88, 191, 9, 0.12);
    border-color: rgba(88, 191, 9, 0.28);
    color: #fff;
    transform: none;
  }

  /* Icône — cercle vert sombre */
  .nav__mega-cat-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    border-radius: 8px;
    background: rgba(88, 191, 9, 0.14);
    border: 1px solid rgba(88, 191, 9, 0.2);
    color: var(--green-400);
  }

  .nav__mega-cat-icon .nav__mega-svg {
    width: 14px;
    height: 14px;
  }

  /* Label texte */
  .nav__mega-cat-label {
    flex: 1;
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1.2;
    color: inherit;
    min-width: 0;
  }

  /* Flèche : cachée sur mobile (pas de place) */
  .nav__mega-cat-arrow {
    display: none;
  }

  /* Liens rapides (pills) */
  .nav__mega-quick {
    margin-top: 0.7rem;
    padding-top: 0.7rem;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
  }

  .nav__mega-quick-label {
    display: block;
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.3);
    margin-bottom: 0.5rem;
  }

  .nav__mega-quick-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
  }

  .nav__mega-quick-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.4rem 0.7rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.75rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
  }

  .nav__mega-quick-link:hover,
  .nav__mega-quick-link.is-active {
    background: rgba(88, 191, 9, 0.14);
    border-color: rgba(88, 191, 9, 0.32);
    color: var(--green-400);
  }

  .nav__mega-quick-icon {
    display: flex;
    color: var(--green-400);
    opacity: 0.75;
  }

  .nav__mega-quick-icon .nav__mega-svg {
    width: 13px;
    height: 13px;
  }

  .nav__mega-aside {
    display: none;
  }

  .nav__mega-backdrop {
    display: none;
  }

  /* ── Barre nav quand panneau ouvert ── */
  .nav.is-drawer-open .nav__bar {
    z-index: 112;
  }

  /* ── Pied du drawer — langues + CTA ── */
  .nav__drawer-footer {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    margin-top: auto;
    padding: 1.15rem 1.5rem calc(1.25rem + env(safe-area-inset-bottom, 0));
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    position: relative;
    z-index: 1;
    opacity: 0;
    transform: translateX(14px);
    transition: opacity 0.38s ease, transform 0.42s var(--ease);
  }

  .nav__links.is-open .nav__drawer-footer {
    opacity: 1;
    transform: translateX(0);
    transition-delay: 0.42s;
  }

  /* Sélecteur de langue */
  .nav__drawer-langs {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.4rem;
  }

  .nav__drawer-lang {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.7rem;
    border-radius: 99px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.42);
    text-decoration: none;
    transition: border-color 0.18s ease, color 0.18s ease, background 0.18s ease;
  }

  .nav__drawer-lang .nav__lang-flag {
    width: 16px;
    height: 12px;
    border-radius: 2px;
    overflow: hidden;
    flex-shrink: 0;
  }

  .nav__drawer-lang:hover {
    border-color: rgba(255, 255, 255, 0.22);
    color: rgba(255, 255, 255, 0.82);
    background: rgba(255, 255, 255, 0.05);
  }

  .nav__drawer-lang.is-active {
    border-color: rgba(88, 191, 9, 0.42);
    color: var(--green-400);
    background: rgba(88, 191, 9, 0.1);
  }


  /* ── Accessibility : supprime les animations ── */
  @media (prefers-reduced-motion: reduce) {
    .nav__links,
    .nav__drawer-head,
    .nav__links > a,
    .nav__dropdown-btn,
    .nav__drawer-footer {
      transition: none;
      transform: none;
      opacity: 1;
    }
    .nav__links { visibility: hidden; }
    .nav__links.is-open { visibility: visible; }
  }
}

@media (min-width: 1025px) {
  .nav__drawer-footer { display: none; }
}
