/* 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;
  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);
  border-bottom: 1px solid rgba(40, 167, 69, 0.1);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.6) inset;
}

.nav.is-scrolled {
  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__bar { height: var(--nav-h); }

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
  width: min(1280px, calc(100% - clamp(1rem, 4vw, 2rem)));
  margin-inline: auto;
}

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

.nav__links {
  display: flex;
  align-items: center;
  gap: 0.1rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.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__tools {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-left: 0.35rem;
  padding-left: 0.5rem;
  border-left: 1px solid var(--border);
}

.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;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  border: none;
  background: none;
  cursor: pointer;
}

.nav__toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.25s var(--ease), opacity 0.25s;
}

/* 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__toggle { display: flex; }

  .nav__links {
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s var(--ease), opacity 0.3s;
  }

  .nav__links.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav__links > a,
  .nav__dropdown-btn { padding: 0.85rem 1rem; width: 100%; justify-content: space-between; }
  .nav__dropdown { width: 100%; }
  .nav__dropdown-menu { position: static; box-shadow: none; border: none; padding: 0 0 0 1rem; margin-top: 0.25rem; }
  .nav__dropdown-menu:not([hidden]) { display: block; }
  .nav__tools {
    width: 100%;
    margin-left: 0;
    padding: 0.75rem 0 0;
    border-left: none;
    border-top: 1px solid var(--border);
    justify-content: flex-start;
  }
  .nav__lang { width: auto; flex: 1; }
  .nav__lang-dropdown { position: static; box-shadow: none; border: none; padding: 0; margin-top: 0.25rem; }
  .nav__lang-dropdown[hidden] { display: none; }
  .nav__lang-dropdown:not([hidden]) { display: block; }

  .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);
  }

  .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; }
}
