/* =========================================================
   AGRI'MANAGE — Page d'accueil publique
   Design : forêt, latex, lumière — premium & terrain
   ========================================================= */

:root {
  --forest-950: #06251b;
  --forest-900: #0a3526;
  --forest-800: #0f4632;
  --forest-700: #155d3c;
  --green-600: #2f9e5f;
  --green-500: #44b46f;
  --lime: #c9ea8a;
  --lime-strong: #b7e36b;
  --gold: #d9a441;
  --cream: #f6f3ea;
  --paper: #fffdf8;
  --ink: #122a22;
  --muted: #5d7168;
  --line: rgba(10, 53, 38, 0.12);
  --line-strong: rgba(10, 53, 38, 0.2);
  --shadow-sm: 0 10px 30px rgba(6, 37, 27, 0.07);
  --shadow-md: 0 24px 60px rgba(6, 37, 27, 0.12);
  --shadow-lg: 0 40px 90px rgba(6, 37, 27, 0.2);
  --radius-lg: 32px;
  --radius-md: 24px;
  --radius-sm: 16px;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 94px;
}

body {
  margin: 0;
  overflow-x: clip;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

@supports not (overflow-x: clip) {
  body {
    overflow-x: hidden;
  }
}

body.is-locked {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
output {
  font: inherit;
}

button {
  color: inherit;
}

::selection {
  background: var(--lime);
  color: var(--forest-950);
}

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}

.container {
  width: min(1200px, calc(100% - 48px));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 1000;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--lime);
  color: var(--forest-950);
  font-weight: 700;
  transform: translateY(-150%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

/* =========================================================
   TYPOGRAPHIE & ÉLÉMENTS COMMUNS
   ========================================================= */

h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

h1 em,
h2 em {
  font-style: italic;
  font-weight: 500;
  color: var(--forest-700);
}

.section {
  padding: clamp(76px, 9vw, 132px) 0;
}

.section-head {
  max-width: 760px;
  margin-bottom: clamp(40px, 5vw, 64px);
}

.section-head h2 {
  margin: 18px 0 20px;
  font-size: clamp(2.15rem, 4.4vw, 3.65rem);
  line-height: 1.05;
}

.section-head .lead {
  max-width: 640px;
}

.section-head--center {
  margin-inline: auto;
  text-align: center;
}

.section-head--center .lead {
  margin-inline: auto;
}

.section-head--light {
  color: #fff;
}

.section-head--light h2 {
  color: #fff;
}

.section-head--light h2 em {
  color: var(--lime);
}

.section-head--light .lead {
  color: rgba(255, 255, 255, 0.66);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 0;
  color: var(--forest-700);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.17em;
  line-height: 1.4;
  text-transform: uppercase;
}

.section-head--center .eyebrow {
  justify-content: center;
}

.eyebrow--light {
  color: var(--lime);
}

.eyebrow__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lime-strong);
  box-shadow: 0 0 0 5px rgba(183, 227, 107, 0.13);
  flex: none;
}

.lead {
  margin: 0;
  color: var(--muted);
  font-size: clamp(0.98rem, 1.1vw, 1.08rem);
  line-height: 1.78;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 14px 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.btn i {
  font-size: 0.82em;
  transition: transform 0.25s ease;
}

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

.btn:hover i.fa-arrow-right {
  transform: translateX(3px);
}

.btn--primary {
  background: var(--lime);
  color: var(--forest-950);
  box-shadow: 0 14px 32px rgba(183, 227, 107, 0.18);
}

.btn--primary:hover {
  background: var(--lime-strong);
  box-shadow: 0 18px 40px rgba(183, 227, 107, 0.28);
}

.btn--ghost {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
  backdrop-filter: blur(12px);
}

.btn--ghost:hover {
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.13);
}

.btn--sm {
  min-height: 42px;
  padding: 10px 18px;
  font-size: 0.8rem;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--forest-700);
  font-size: 0.9rem;
  font-weight: 800;
  border-bottom: 1px solid rgba(21, 93, 60, 0.25);
  padding-bottom: 4px;
  transition: gap 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.text-link:hover {
  gap: 16px;
  color: var(--forest-900);
  border-color: var(--forest-900);
}

/* =========================================================
   HEADER
   ========================================================= */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  padding: 18px 0;
  color: #fff;
  transition: padding 0.3s ease, background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

.site-header.is-scrolled {
  padding: 10px 0;
  background: rgba(255, 253, 248, 0.9);
  color: var(--forest-900);
  box-shadow: 0 1px 0 var(--line), 0 16px 36px rgba(6, 37, 27, 0.07);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.header__inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  position: relative;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: none;
}

.brand__mark {
  display: block;
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: transparent;
  box-shadow: 0 8px 20px rgba(6, 37, 27, 0.18);
  transition: transform 0.3s ease;
  object-fit: contain;
}

.brand:hover .brand__mark {
  transform: rotate(-4deg) scale(1.03);
}

.brand__mark svg {
  width: 30px;
  height: 30px;
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand__text strong {
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand__text small {
  margin-top: 5px;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  opacity: 0.62;
  text-transform: uppercase;
}

.site-nav {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 2px;
}

.site-nav a {
  position: relative;
  padding: 10px 13px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  opacity: 0.78;
  transition: opacity 0.2s ease, background 0.2s ease;
}

.site-nav a:hover,
.site-nav a.is-active {
  opacity: 1;
  background: rgba(255, 255, 255, 0.11);
}

.site-header.is-scrolled .site-nav a:hover,
.site-header.is-scrolled .site-nav a.is-active {
  background: rgba(10, 53, 38, 0.06);
}

.header__actions {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 12px;
  flex: none;
}

.header-cta {
  background: #fff;
  color: var(--forest-900);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.16);
}

.header-cta:hover {
  background: var(--lime);
}

.site-header.is-scrolled .header-cta {
  background: var(--forest-900);
  color: #fff;
  box-shadow: 0 10px 24px rgba(6, 37, 27, 0.16);
}

.site-header.is-scrolled .header-cta:hover {
  background: var(--forest-700);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.site-header.is-scrolled .nav-toggle {
  border-color: var(--line);
  background: rgba(10, 53, 38, 0.05);
}

.site-header.nav-open .nav-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.site-header.nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

.site-header.nav-open .nav-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* =========================================================
   HERO
   ========================================================= */

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 100svh;
  padding: 145px 0 96px;
  overflow: hidden;
  background: var(--forest-950);
  color: #fff;
}

.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 42%;
  transform: scale(1.045);
  animation: heroZoom 18s ease-out forwards;
}

@keyframes heroZoom {
  to {
    transform: scale(1);
  }
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(6, 37, 27, 0.96) 0%, rgba(6, 37, 27, 0.86) 35%, rgba(6, 37, 27, 0.48) 67%, rgba(6, 37, 27, 0.34) 100%),
    linear-gradient(180deg, rgba(6, 37, 27, 0.62) 0%, rgba(6, 37, 27, 0.02) 34%, rgba(6, 37, 27, 0.78) 100%);
}

.hero__overlay::after {
  content: "";
  position: absolute;
  top: -20%;
  left: 42%;
  width: 55vw;
  height: 55vw;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 50%;
  box-shadow: 0 0 0 80px rgba(255, 255, 255, 0.018), 0 0 0 160px rgba(255, 255, 255, 0.012);
}

.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(390px, 0.88fr);
  align-items: center;
  gap: clamp(36px, 5vw, 74px);
}

.hero__copy {
  max-width: 690px;
}

.hero h1 {
  max-width: 13ch;
  margin: 22px 0 26px;
  font-size: clamp(3.05rem, 5.75vw, 5.35rem);
  line-height: 0.99;
  letter-spacing: -0.045em;
  color: #fff;
}

.hero h1 em {
  color: var(--lime);
  font-weight: 500;
}

.hero__lead {
  max-width: 57ch;
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: clamp(0.97rem, 1.1vw, 1.08rem);
  line-height: 1.75;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero__meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.hero__meta strong {
  display: block;
  margin-bottom: 4px;
  font-size: 0.84rem;
  font-weight: 700;
  color: #fff;
}

.hero__meta span {
  display: block;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.7rem;
  line-height: 1.45;
}

.hero__scroll {
  position: absolute;
  bottom: 24px;
  left: 50%;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transform: translateX(-50%);
  transition: color 0.2s ease;
}

.hero__scroll:hover {
  color: #fff;
}

.hero__scroll-mouse {
  position: relative;
  width: 16px;
  height: 25px;
  border: 1.5px solid currentColor;
  border-radius: 10px;
}

.hero__scroll-mouse::after {
  content: "";
  position: absolute;
  top: 4px;
  left: 50%;
  width: 2px;
  height: 5px;
  border-radius: 2px;
  background: currentColor;
  transform: translateX(-50%);
  animation: scrollDot 1.8s ease-in-out infinite;
}

@keyframes scrollDot {
  0%, 100% { transform: translate(-50%, 0); opacity: 1; }
  60% { transform: translate(-50%, 7px); opacity: 0.3; }
}

/* Tableau de bord flottant */

.dash-card {
  position: relative;
  width: 100%;
  max-width: 460px;
  margin-left: auto;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 26px;
  background: rgba(255, 253, 248, 0.95);
  color: var(--ink);
  box-shadow: 0 45px 90px rgba(0, 0, 0, 0.36);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transform: rotate(-1.4deg);
}

.dash-card::before {
  content: "";
  position: absolute;
  inset: 10px -10px -10px 10px;
  z-index: -1;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 30px;
  pointer-events: none;
}

.dash-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.dash-card__kicker {
  display: block;
  margin-bottom: 3px;
  color: var(--muted);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.dash-card__top strong {
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.live-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border: 1px solid rgba(47, 158, 95, 0.22);
  border-radius: 999px;
  background: #eaf7ec;
  color: #237848;
  font-size: 0.61rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.live-pill span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #2f9e5f;
  box-shadow: 0 0 0 3px rgba(47, 158, 95, 0.14);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(0.7); }
}

.dash-kpis {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.dash-kpi {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--paper);
}

.dash-kpi > span {
  display: block;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 0.63rem;
  font-weight: 600;
}

.dash-kpi > strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.36rem;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.dash-kpi > strong em {
  font-family: var(--font-body);
  font-size: 0.55em;
  font-style: normal;
  font-weight: 700;
  color: var(--muted);
}

.trend {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 5px;
  font-size: 0.6rem;
  font-weight: 700;
}

.trend--up { color: #237848; }
.trend--down { color: #1f7263; }

.dash-chart {
  padding: 15px 14px 10px;
  margin-top: 10px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(180deg, #0d3d2b, #082d20);
  color: #fff;
}

.dash-chart__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 4px;
}

.dash-chart__head span {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.64rem;
}

.dash-chart__head strong {
  font-size: 0.8rem;
  color: var(--lime);
}

.dash-chart svg {
  display: block;
  width: 100%;
  height: 92px;
}

.dash-chart__axis {
  display: flex;
  justify-content: space-between;
  padding: 0 2px;
  color: rgba(255, 255, 255, 0.32);
  font-size: 0.52rem;
}

.dash-footer {
  display: flex;
  align-items: flex-end;
  gap: 16px;
  margin-top: 14px;
}

.dash-progress {
  flex: 1;
}

.dash-progress__head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 0.62rem;
}

.dash-progress__head strong {
  color: var(--forest-800);
  font-weight: 700;
}

.dash-progress__track {
  height: 7px;
  overflow: hidden;
  border-radius: 999px;
  background: #e5ebe2;
}

.dash-progress__track span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--green-600), var(--lime-strong));
}

.dash-block {
  flex: none;
  padding-left: 16px;
  border-left: 1px solid var(--line);
  text-align: right;
}

.dash-block span {
  display: block;
  color: var(--muted);
  font-size: 0.6rem;
}

.dash-block strong {
  font-family: var(--font-display);
  font-size: 1.25rem;
}

.dash-note {
  margin: 12px 0 0;
  color: #98a79f;
  font-size: 0.56rem;
  text-align: right;
}

/* =========================================================
   BANDEAU
   ========================================================= */

.strip {
  position: relative;
  z-index: 3;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.strip__inner {
  display: grid;
  grid-template-columns: 1.3fr repeat(4, auto);
  align-items: center;
  gap: 34px;
  padding: 22px 0;
}

.strip__label {
  max-width: 180px;
  margin: 0;
  color: var(--muted);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  line-height: 1.5;
  text-transform: uppercase;
}

.strip__item {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--forest-800);
  font-size: 0.82rem;
  font-weight: 700;
  white-space: nowrap;
}

.strip__item i {
  color: var(--green-600);
  font-size: 0.95rem;
}

/* =========================================================
   MISSION
   ========================================================= */

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(42px, 6.5vw, 96px);
}

.media-stack {
  position: relative;
  padding: 0 18px 46px 0;
}

.media-stack__main {
  overflow: hidden;
  aspect-ratio: 1 / 1.03;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.media-stack__main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.media-stack:hover .media-stack__main img {
  transform: scale(1.035);
}

.media-stack__small {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 45%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 8px solid var(--cream);
  border-radius: 22px;
  box-shadow: var(--shadow-md);
}

.media-stack__small img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-stack__badge {
  position: absolute;
  top: 26px;
  left: -14px;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 11px 16px 11px 12px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 16px;
  background: rgba(255, 253, 248, 0.93);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(12px);
}

.media-stack__badge-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--forest-900);
  color: var(--lime);
  font-size: 0.92rem;
}

.media-stack__badge strong {
  display: block;
  font-size: 0.74rem;
  line-height: 1.2;
}

.media-stack__badge small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.62rem;
  line-height: 1.2;
}

.mission__copy h2 {
  margin: 18px 0 22px;
  font-size: clamp(2.05rem, 4vw, 3.3rem);
  line-height: 1.06;
}

.checklist {
  display: grid;
  gap: 12px;
  margin: 30px 0 34px;
  padding: 0;
  list-style: none;
}

.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: #345047;
  font-size: 0.92rem;
  line-height: 1.55;
}

.checklist i {
  display: grid;
  place-items: center;
  flex: none;
  width: 22px;
  height: 22px;
  margin-top: 1px;
  border-radius: 50%;
  background: #e5f3e2;
  color: var(--forest-700);
  font-size: 0.58rem;
}

/* =========================================================
   MODULES
   ========================================================= */

.modules {
  position: relative;
  border-top: 1px solid var(--line);
  background:
    radial-gradient(circle at 95% 5%, rgba(183, 227, 107, 0.16), transparent 28%),
    var(--cream);
}

.modules-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.module-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 268px;
  padding: 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--paper);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.module-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: var(--accent);
  opacity: 0.85;
}

.module-card::after {
  content: "";
  position: absolute;
  top: -90px;
  right: -90px;
  width: 210px;
  height: 210px;
  border-radius: 50%;
  background: var(--icon-bg);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.module-card:hover {
  z-index: 2;
  border-color: rgba(47, 158, 95, 0.32);
  box-shadow: var(--shadow-md);
  transform: translateY(-7px);
}

.module-card:hover::after {
  opacity: 0.7;
}

.module-card__top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.module-card__icon {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 15px;
  background: var(--icon-bg);
  color: var(--accent);
  font-size: 1.16rem;
}

.module-card__num {
  color: #c4d0c7;
  font-family: var(--font-display);
  font-size: 1.15rem;
  line-height: 1;
}

.module-card h3 {
  position: relative;
  z-index: 1;
  margin: 0 0 10px;
  font-size: 1.22rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.module-card p {
  position: relative;
  z-index: 1;
  flex: 1;
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.68;
}

.tag-list {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tag-list li {
  padding: 5px 9px;
  border: 1px solid rgba(10, 53, 38, 0.09);
  border-radius: 999px;
  background: rgba(10, 53, 38, 0.035);
  color: var(--forest-700);
  font-size: 0.64rem;
  font-weight: 700;
}

/* =========================================================
   APERÇU
   ========================================================= */

.preview {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(180deg, #f1f5ec 0%, var(--paper) 100%);
}

.preview__layout {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  align-items: start;
  gap: clamp(28px, 4vw, 52px);
}

.preview__tabs {
  position: sticky;
  top: 112px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.preview-tab {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  width: 100%;
  padding: 15px 16px;
  border: 1px solid transparent;
  border-radius: 16px;
  background: transparent;
  text-align: left;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.preview-tab:hover {
  border-color: var(--line);
  background: rgba(255, 253, 248, 0.8);
}

.preview-tab.is-active {
  border-color: var(--forest-900);
  background: var(--forest-900);
  color: #fff;
  box-shadow: 0 16px 30px rgba(6, 37, 27, 0.18);
}

.preview-tab__num {
  flex: none;
  margin-top: 2px;
  color: #a8b7ad;
  font-family: var(--font-display);
  font-size: 0.8rem;
}

.preview-tab.is-active .preview-tab__num {
  color: var(--lime);
}

.preview-tab strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.3;
}

.preview-tab small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.7rem;
  line-height: 1.4;
}

.preview-tab.is-active small {
  color: rgba(255, 255, 255, 0.55);
}

.preview__hint {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  padding: 10px 14px;
  color: var(--muted);
  font-size: 0.66rem;
}

.preview__hint i {
  color: var(--green-600);
}

.preview__stage {
  min-width: 0;
}

.browser {
  overflow: hidden;
  border: 1px solid rgba(10, 53, 38, 0.16);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 32px 70px rgba(6, 37, 27, 0.16);
}

.browser__bar {
  display: flex;
  align-items: center;
  gap: 7px;
  height: 44px;
  padding: 0 16px;
  border-bottom: 1px solid #e3e9df;
  background: #f4f6f1;
}

.browser__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.browser__dot--red { background: #e9968d; }
.browser__dot--amber { background: #edc577; }
.browser__dot--green { background: #9acb92; }

.browser__url {
  display: flex;
  align-items: center;
  gap: 7px;
  width: 100%;
  max-width: 340px;
  margin-left: 10px;
  padding: 5px 13px;
  border: 1px solid #e0e6dc;
  border-radius: 999px;
  background: #fff;
  color: #83938a;
  font-size: 0.65rem;
}

.browser__url i {
  color: #6f9e7e;
  font-size: 0.55rem;
}

.browser__screen {
  position: relative;
  aspect-ratio: 14 / 9;
  overflow: hidden;
  background: #edf1ea;
}

.browser__screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top left;
  opacity: 1;
  transition: opacity 0.28s ease, transform 0.55s ease;
}

.browser__screen.is-switching img {
  opacity: 0;
  transform: scale(1.012);
}

.preview__caption {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 4px 0;
}

.preview__caption h3 {
  margin: 0 0 5px;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.preview__caption p {
  max-width: 64ch;
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.65;
}

.preview__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: none;
  margin-top: 2px;
  padding: 6px 11px;
  border: 1px solid #d9ead5;
  border-radius: 999px;
  background: #eef7eb;
  color: #2a7546;
  font-size: 0.62rem;
  font-weight: 700;
  white-space: nowrap;
}

/* =========================================================
   APPROCHE
   ========================================================= */

.split--reverse {
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
}

.approach__media {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.approach__media > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.approach__media:hover > img {
  transform: scale(1.035);
}

.approach__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 42%, rgba(6, 37, 27, 0.72) 100%);
  pointer-events: none;
}

.media-note {
  position: absolute;
  right: 22px;
  bottom: 22px;
  left: 22px;
  z-index: 2;
  padding: 20px 22px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 18px;
  background: rgba(6, 37, 27, 0.5);
  color: #fff;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.media-note > i {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--lime);
  font-size: 0.85rem;
}

.media-note p {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.12rem;
  line-height: 1.45;
  letter-spacing: -0.01em;
}

.approach__copy h2 {
  margin: 18px 0 22px;
  font-size: clamp(2.05rem, 4vw, 3.3rem);
  line-height: 1.06;
}

.feature-list {
  display: grid;
  gap: 8px;
  margin-top: 30px;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px;
  border: 1px solid transparent;
  border-radius: 18px;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.feature-item:hover {
  border-color: var(--line);
  background: var(--paper);
  transform: translateX(4px);
}

.feature-item__icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 13px;
  background: #e9f4e6;
  color: var(--forest-700);
  font-size: 0.98rem;
}

.feature-item h3 {
  margin: 1px 0 4px;
  font-size: 0.96rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.feature-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.6;
}

/* =========================================================
   SIMULATEUR
   ========================================================= */

.simulator {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 18%, rgba(47, 158, 95, 0.3), transparent 34%),
    radial-gradient(circle at 88% 88%, rgba(183, 227, 107, 0.11), transparent 30%),
    linear-gradient(135deg, #06251b 0%, #0a3526 58%, #0c3f2d 100%);
  color: #fff;
}

.simulator::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(circle at 50% 30%, #000, transparent 74%);
  pointer-events: none;
}

.simulator .container {
  position: relative;
  z-index: 1;
}

.simulator__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px;
  align-items: stretch;
}

.simulator__form {
  padding: clamp(24px, 3vw, 36px);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.055);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.sim-field + .sim-field {
  margin-top: 25px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.sim-field__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 13px;
}

.sim-field label {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.82rem;
  font-weight: 600;
}

.sim-field output {
  color: var(--lime);
  font-family: var(--font-display);
  font-size: 1.13rem;
  line-height: 1.2;
  white-space: nowrap;
}

.sim-field input[type="range"] {
  --p: 50%;
  width: 100%;
  height: 6px;
  margin: 4px 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--lime-strong) 0 var(--p), rgba(255, 255, 255, 0.15) var(--p) 100%);
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}

.sim-field input[type="range"]::-webkit-slider-thumb {
  width: 22px;
  height: 22px;
  border: 4px solid var(--forest-800);
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.35), 0 4px 12px rgba(0, 0, 0, 0.3);
  cursor: grab;
  appearance: none;
  -webkit-appearance: none;
}

.sim-field input[type="range"]::-webkit-slider-thumb:active {
  cursor: grabbing;
  transform: scale(1.06);
}

.sim-field input[type="range"]::-moz-range-thumb {
  width: 14px;
  height: 14px;
  border: 4px solid var(--forest-800);
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.35);
  cursor: grab;
}

.sim-field input[type="range"]::-moz-range-track {
  height: 6px;
  border-radius: 999px;
  background: transparent;
}

.sim-field__hint {
  margin: 9px 0 0;
  color: rgba(255, 255, 255, 0.38);
  font-size: 0.65rem;
  line-height: 1.5;
}

.simulator__results {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(24px, 3vw, 36px);
  border-radius: 28px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: var(--shadow-lg);
}

.result-hero__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 8px;
}

.result-hero__head > span:first-child {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.result-status {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border: 1px solid #d6ead1;
  border-radius: 999px;
  background: #edf7e9;
  color: #247344;
  font-size: 0.62rem;
  font-weight: 800;
}

.result-status.is-warning {
  border-color: #f0dfb4;
  background: #fbf4e2;
  color: #96651d;
}

.result-status.is-danger {
  border-color: #f1cbc4;
  background: #fbece9;
  color: #a33b2b;
}

.result-hero > strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.35rem, 4.2vw, 3.4rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.04em;
  color: var(--forest-900);
}

.result-hero > strong em {
  font-family: var(--font-body);
  font-size: 0.32em;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0;
  color: var(--muted);
}

.result-hero > small {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.78rem;
}

.result-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  overflow: hidden;
  margin-top: 22px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--line);
}

.result-cell {
  padding: 15px 16px;
  background: var(--paper);
}

.result-cell > span {
  display: block;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 0.64rem;
}

.result-cell > strong {
  display: block;
  color: var(--forest-900);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.result-cell > small {
  display: block;
  margin-top: 3px;
  color: #99a79f;
  font-size: 0.58rem;
}

.result-bar {
  margin-top: 20px;
}

.result-bar__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.68rem;
}

.result-bar__head strong {
  color: var(--forest-800);
  font-size: 0.72rem;
}

.result-bar__track {
  height: 9px;
  overflow: hidden;
  border-radius: 999px;
  background: #e6ece2;
}

.result-bar__fill {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--green-600), var(--lime-strong));
  transition: width 0.45s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.result-note {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  margin: 18px 0 0;
  color: #93a29a;
  font-size: 0.61rem;
  line-height: 1.5;
}

.result-note i {
  margin-top: 2px;
  color: var(--green-600);
}

/* =========================================================
   POUR QUI
   ========================================================= */

.publics {
  background: var(--cream);
}

.publics__layout {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 20px;
  align-items: stretch;
}

.publics__media {
  position: relative;
  min-height: 580px;
  overflow: hidden;
  margin: 0;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.publics__media > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  transition: transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.publics__media:hover > img {
  transform: scale(1.035);
}

.publics__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(6, 37, 27, 0.88) 100%);
  pointer-events: none;
}

.publics__quote {
  position: absolute;
  right: 26px;
  bottom: 28px;
  left: 26px;
  z-index: 2;
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2vw, 1.62rem);
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.02em;
}

.publics__quote small {
  display: block;
  margin-bottom: 11px;
  color: var(--lime);
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.publics__cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.public-card {
  display: flex;
  flex-direction: column;
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--paper);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.public-card:hover {
  border-color: rgba(47, 158, 95, 0.3);
  box-shadow: var(--shadow-sm);
  transform: translateY(-4px);
}

.public-card__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 13px;
  background: #e9f4e6;
  color: var(--forest-700);
  font-size: 1rem;
}

.public-card h3 {
  margin: 18px 0 8px;
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.01em;
}

.public-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.65;
}

/* =========================================================
   ENGAGEMENTS
   ========================================================= */

.engagements {
  border-top: 1px solid var(--line);
  background: var(--paper);
}

.engagement-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(36px, 6vw, 86px);
  align-items: start;
}

.engagement-intro {
  position: sticky;
  top: 118px;
}

.engagement-intro h2 {
  margin: 18px 0 22px;
  font-size: clamp(2.05rem, 4vw, 3.3rem);
  line-height: 1.06;
}

.engagement-seal {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-top: 30px;
  padding: 18px;
  border: 1px solid #dcebd6;
  border-radius: 18px;
  background: #f2f8ee;
}

.engagement-seal > i {
  display: grid;
  place-items: center;
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--forest-900);
  color: var(--lime);
  font-size: 0.95rem;
}

.engagement-seal span {
  color: var(--forest-800);
  font-size: 0.76rem;
  line-height: 1.55;
}

.engagement-seal strong {
  font-weight: 800;
}

.engagement-list {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
  counter-reset: engagement;
}

.engagement-list li {
  position: relative;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 16px;
  padding: 25px 18px 25px 0;
  border-bottom: 1px solid var(--line);
  counter-increment: engagement;
  transition: padding-left 0.25s ease, background 0.25s ease;
}

.engagement-list li::before {
  content: "0" counter(engagement);
  padding-top: 2px;
  color: var(--green-600);
  font-family: var(--font-display);
  font-size: 1rem;
}

.engagement-list li::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 2px;
  background: var(--lime-strong);
  opacity: 0;
  transform: scaleY(0.4);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.engagement-list li:hover {
  padding-left: 18px;
  background: linear-gradient(90deg, rgba(183, 227, 107, 0.12), transparent 70%);
}

.engagement-list li:hover::after {
  opacity: 1;
  transform: scaleY(1);
}

.engagement-list h3 {
  margin: 0 0 5px;
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.engagement-list p {
  max-width: 56ch;
  margin: 0;
  color: var(--muted);
  font-size: 0.83rem;
  line-height: 1.65;
}

/* =========================================================
   CTA FINAL
   ========================================================= */

.cta {
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: clamp(90px, 12vw, 150px) 0;
  background: var(--forest-950);
  color: #fff;
}

.cta__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  opacity: 0.58;
}

.cta::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(6, 37, 27, 0.94) 0%, rgba(6, 37, 27, 0.72) 52%, rgba(6, 37, 27, 0.38) 100%),
    linear-gradient(180deg, rgba(6, 37, 27, 0.2), rgba(6, 37, 27, 0.7));
  pointer-events: none;
}

.cta__inner {
  position: relative;
  z-index: 2;
  max-width: 900px;
}

.cta h2 {
  max-width: 16ch;
  margin: 20px 0 22px;
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
  color: #fff;
}

.cta h2 em {
  color: var(--lime);
  font-weight: 500;
}

.cta p:not(.eyebrow) {
  max-width: 58ch;
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: clamp(0.95rem, 1.1vw, 1.05rem);
  line-height: 1.7;
}

.cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

/* =========================================================
   FOOTER
   ========================================================= */

.site-footer {
  padding: 62px 0 28px;
  background: #041d15;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.8rem;
}

.footer__top {
  display: grid;
  grid-template-columns: 1.5fr 0.8fr 0.8fr 0.8fr;
  gap: 40px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__brand .brand {
  color: #fff;
}

.footer__brand p {
  max-width: 34ch;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.48);
  line-height: 1.7;
}

.footer__col-title {
  margin: 0 0 15px;
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer__col a {
  display: block;
  width: fit-content;
  padding: 5px 0;
  color: rgba(255, 255, 255, 0.54);
  transition: color 0.2s ease, transform 0.2s ease;
}

.footer__col a:hover {
  color: var(--lime);
  transform: translateX(3px);
}

.footer__bottom {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding-top: 26px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.72rem;
}

.footer__bottom p {
  margin: 0;
}

.footer__credits {
  max-width: 680px;
  line-height: 1.65;
  text-align: right;
}

.footer__credits a {
  color: rgba(255, 255, 255, 0.55);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer__credits a:hover {
  color: var(--lime);
}

/* =========================================================
   BOUTON RETOUR EN HAUT
   ========================================================= */

.to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  background: var(--forest-900);
  color: #fff;
  box-shadow: 0 12px 28px rgba(6, 37, 27, 0.25);
  cursor: pointer;
  opacity: 0;
  transform: translateY(14px);
  visibility: hidden;
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease, background 0.2s ease;
}

.to-top.is-visible {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
}

.to-top:hover {
  background: var(--forest-700);
}

/* =========================================================
   ANIMATIONS AU SCROLL
   ========================================================= */

[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.75s ease, transform 0.75s cubic-bezier(0.2, 0.8, 0.2, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1120px) {
  .site-nav a {
    padding: 9px 10px;
    font-size: 0.78rem;
  }

  .hero__inner {
    grid-template-columns: minmax(0, 1.15fr) minmax(340px, 0.85fr);
    gap: 34px;
  }

  .hero h1 {
    font-size: clamp(2.9rem, 5.4vw, 4.6rem);
  }

  .dash-card {
    padding: 18px;
  }

  .dash-kpi > strong {
    font-size: 1.2rem;
  }

  .strip__inner {
    gap: 22px;
  }

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

@media (max-width: 980px) {
  .site-nav {
    position: fixed;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    gap: 4px;
    padding: 100px 28px 40px;
    background: rgba(6, 37, 27, 0.98);
    color: #fff;
    opacity: 0;
    transform: translateY(-12px);
    visibility: hidden;
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
  }

  .site-nav::before {
    content: "Navigation";
    margin: 0 14px 14px;
    color: rgba(255, 255, 255, 0.38);
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
  }

  .site-nav a {
    padding: 14px;
    border-radius: 12px;
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 500;
    opacity: 0.92;
  }

  .site-header.nav-open .site-nav {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
  }

  .site-header.nav-open {
    background: var(--forest-950);
    color: #fff;
    box-shadow: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .hero__inner {
    grid-template-columns: 1fr;
    max-width: 760px;
  }

  .hero__copy {
    max-width: 720px;
  }

  .hero h1 {
    max-width: 14ch;
  }

  .dash-card {
    display: none;
  }

  .hero__meta {
    max-width: 640px;
  }

  .strip__inner {
    grid-template-columns: 1fr 1fr;
    gap: 14px 26px;
    padding: 24px 0;
  }

  .strip__label {
    grid-column: 1 / -1;
    max-width: none;
  }

  .split,
  .split--reverse {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .approach__copy {
    order: -1;
  }

  .approach__media {
    min-height: 480px;
  }

  .preview__layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .preview__tabs {
    position: static;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .preview__hint {
    grid-column: 1 / -1;
  }

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

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

  .publics__media {
    min-height: 430px;
  }

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

  .engagement-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .engagement-intro {
    position: static;
    max-width: 720px;
  }

  .footer__top {
    grid-template-columns: 1.4fr 1fr 1fr;
  }

  .footer__brand {
    grid-column: 1 / -1;
  }

  .footer__bottom {
    flex-direction: column;
  }

  .footer__credits {
    text-align: left;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(100% - 32px, 1200px);
  }

  html {
    scroll-padding-top: 82px;
  }

  .site-header {
    padding: 12px 0;
  }

  .brand__mark {
    width: 42px;
    height: 42px;
    border-radius: 13px;
  }

  .brand__mark svg {
    width: 27px;
    height: 27px;
  }

  .brand__text strong {
    font-size: 1.02rem;
  }

  .brand__text small {
    font-size: 0.52rem;
  }

  .header-cta span {
    display: none;
  }

  .header-cta {
    width: 42px;
    height: 42px;
    min-height: 0;
    padding: 0;
    border-radius: 13px;
  }

  .nav-toggle {
    width: 42px;
    height: 42px;
  }

  .hero {
    min-height: 100svh;
    padding: 120px 0 78px;
  }

  .hero__bg {
    object-position: 64% 45%;
  }

  .hero__overlay {
    background:
      linear-gradient(180deg, rgba(6, 37, 27, 0.82) 0%, rgba(6, 37, 27, 0.72) 42%, rgba(6, 37, 27, 0.93) 100%),
      linear-gradient(90deg, rgba(6, 37, 27, 0.45), rgba(6, 37, 27, 0.2));
  }

  .hero h1 {
    max-width: 11ch;
    margin: 18px 0 22px;
    font-size: clamp(2.75rem, 11vw, 4rem);
    line-height: 0.99;
  }

  .hero__lead {
    font-size: 0.94rem;
  }

  .hero__actions {
    margin-top: 28px;
  }

  .hero__actions .btn {
    flex: 1 1 100%;
  }

  .hero__meta {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 32px;
    padding-top: 20px;
  }

  .hero__meta > div:last-child {
    display: none;
  }

  .hero__scroll {
    display: none;
  }

  .section {
    padding: 68px 0;
  }

  .section-head {
    margin-bottom: 36px;
  }

  .section-head h2,
  .mission__copy h2,
  .approach__copy h2,
  .engagement-intro h2 {
    font-size: clamp(1.95rem, 8vw, 2.7rem);
  }

  .media-stack {
    padding: 0 12px 38px 0;
  }

  .media-stack__badge {
    left: -4px;
    top: 18px;
  }

  .modules-grid,
  .publics__cards {
    grid-template-columns: 1fr;
  }

  .module-card {
    min-height: 0;
    padding: 24px;
  }

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

  .preview-tab {
    padding: 13px 14px;
  }

  .preview-tab small {
    display: none;
  }

  .preview__caption {
    flex-direction: column;
    gap: 10px;
  }

  .browser__url {
    display: none;
  }

  .approach__media {
    min-height: 420px;
  }

  .media-note {
    right: 14px;
    bottom: 14px;
    left: 14px;
    padding: 16px 18px;
  }

  .media-note p {
    font-size: 1rem;
  }

  .simulator__form,
  .simulator__results {
    padding: 22px;
    border-radius: 22px;
  }

  .result-hero > strong {
    font-size: clamp(2.1rem, 10vw, 2.8rem);
  }

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

  .result-cell {
    padding: 13px 15px;
  }

  .publics__media {
    min-height: 380px;
  }

  .publics__quote {
    right: 20px;
    bottom: 22px;
    left: 20px;
    font-size: 1.2rem;
  }

  .engagement-list li {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 10px;
    padding: 22px 0;
  }

  .engagement-list li:hover {
    padding-left: 10px;
  }

  .cta {
    padding: 80px 0;
  }

  .cta h2 {
    font-size: clamp(2.15rem, 9vw, 3.1rem);
  }

  .cta__actions .btn {
    flex: 1 1 100%;
  }

  .footer__top {
    grid-template-columns: 1fr 1fr;
    gap: 30px 24px;
  }

  .footer__brand {
    grid-column: 1 / -1;
  }

  .footer__col:last-child {
    grid-column: 1 / -1;
  }

  .to-top {
    right: 16px;
    bottom: 16px;
  }
}

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

  .hero__meta > div:nth-child(2) {
    display: none;
  }

  .media-stack__small {
    width: 48%;
    border-width: 6px;
  }

  .media-stack__badge small {
    display: none;
  }

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

  .strip__label {
    grid-column: auto;
  }

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

  .footer__col:last-child {
    grid-column: auto;
  }
}

/* =========================================================
   PRÉFÉRENCES D'ANIMATION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
