/* =========================================================
   Flow Gourmet — feuille de style globale
   Esthétique moderne épurée (inspirée Sea Loop Marine)
   ========================================================= */

/* ---------- Tokens ---------- */
:root {
  /* Univers « Heure dorée » : avoine chaud + encre marine + terracotta gourmande */
  --green:        #16292e;   /* MARINE profond — couleur structurelle (l'eau, la nuit tombante) */
  --green-dark:   #0e1d21;   /* marine — survol */
  --green-deep:   #16292e;   /* marine — texte sur fond clair */
  --teal:         #3f5f63;   /* marine adouci — secondaire */
  --terra:        #c2673b;   /* terracotta cuivre — accent secondaire (badges, vaguelettes) */
  --tan:          #d2a36c;   /* tan du bimini — couleur d'action (boutons), texte encre */
  --tan-deep:     #c39258;   /* tan appuyé — survol */
  --terra-dark:   #a8542e;   /* terracotta foncé — texte accessible */
  --ink:          #16292e;   /* encre marine (identité nautique) */
  --ink-soft:     #2c3f45;
  --sand:         #ece0cc;   /* sable chaud — sections alternées */
  --sand-2:       #f3ecdd;   /* crème avoine — papier secondaire */
  --paper:        #fdfcfa;   /* blanc cassé — fond principal (contraste relevé) */
  --muted:        #57503f;   /* taupe chaud (AA sur avoine) */
  --line:         #ddd0b8;
  --line-dark:    #2c3a3e;

  /* Archivo (variable, axe de largeur) : la police de lancement.html,
     étendue à tout le site. Les titres utilisent la graisse + largeur
     étirée (font-stretch) pour retrouver le caractère « chantier naval ». */
  --font-display: "Archivo", system-ui, sans-serif; /* titres */
  --font-head: "Archivo", system-ui, -apple-system, sans-serif;  /* UI / labels */
  --font-body: "Archivo", system-ui, -apple-system, sans-serif;

  --maxw: 1240px;
  --pad: clamp(20px, 5vw, 72px);
  --radius: 8px;
  --radius-lg: 14px;

  --shadow: 0 18px 50px rgba(31, 33, 31, .10);
  --shadow-sm: 0 6px 20px rgba(31, 33, 31, .08);

  --ease: cubic-bezier(.22, 1, .36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-synthesis: none; /* Archivo variable : jamais de faux-gras/faux-italique */
  overflow-x: hidden;
}
img, picture, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
ul { list-style: none; padding: 0; }

/* Grain papier subtil — casse l'aspect "plat numérique" */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 9999; pointer-events: none;
  opacity: .035; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
@media (prefers-reduced-motion: reduce) { body::after { display: none; } }

/* ---------- Typo ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-stretch: 112%;
  font-weight: 560;
  line-height: 1.12;
  letter-spacing: -.015em;
  color: var(--ink);
}
.eyebrow {
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: 12px;
  font-weight: 600;
  color: var(--terra-dark);
}
.section-title { font-size: clamp(28px, 4vw, 46px); }
.lead { font-size: clamp(17px, 2vw, 20px); color: var(--muted); }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad); }
.section { padding-block: clamp(64px, 9vw, 128px); }
.section--tight { padding-block: clamp(48px, 6vw, 84px); }
.bg-sand { background: var(--sand); }
.bg-sand-2 { background: var(--sand-2); }
.bg-ink { background: var(--ink); color: #f3f1ec; }
.bg-green { background: var(--green); color: #fff; }
.center { text-align: center; }
.mx-auto { margin-inline: auto; }
.maxch { max-width: 640px; }
.maxch-lg { max-width: 760px; }

.grid { display: grid; gap: clamp(18px, 2.4vw, 30px); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55em;
  font-family: var(--font-head);
  font-weight: 600; font-size: 15px;
  padding: 14px 28px;
  border-radius: 100px;
  transition: transform .25s var(--ease), background .25s var(--ease), box-shadow .25s var(--ease), color .25s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--tan); color: var(--ink);
  box-shadow: 0 8px 20px rgba(146,106,58,.26), inset 0 0 0 1px rgba(22,41,46,.14); }
.btn--primary:hover { background: var(--tan-deep); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #000; }
.btn--ghost { border: 1.5px solid currentColor; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: #fff; }
.btn--light { background: #fff; color: var(--ink); }
.btn--on-dark { border: 1.5px solid rgba(255,255,255,.5); color: #fff; }
.btn--on-dark:hover { background: #fff; color: var(--ink); }
.btn .arrow { transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

/* =========================================================
   Header / nav
   ========================================================= */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background .35s var(--ease), box-shadow .35s var(--ease), backdrop-filter .35s var(--ease);
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; padding-block: 16px;
}
.brand {
  font-family: var(--font-display); font-weight: 560; font-stretch: 112%;
  font-size: 25px; letter-spacing: -.01em; color: #fff;
  transition: color .35s var(--ease);
}
.brand span { color: var(--terra); }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a {
  font-family: var(--font-head); font-weight: 500; font-size: 15px;
  color: rgba(255,255,255,.92); position: relative; transition: color .25s var(--ease);
}
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: -6px; height: 2px; width: 0;
  background: var(--terra); transition: width .3s var(--ease);
}
.nav a:hover::after, .nav a[aria-current="page"]::after { width: 100%; }

/* État “scrollé” / pages claires */
.site-header.is-solid {
  background: rgba(255,255,255,.86);
  backdrop-filter: saturate(180%) blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
.site-header.is-solid .brand,
.site-header.is-solid .nav a { color: var(--ink); }
.site-header.is-solid .nav a { color: var(--ink-soft); }
.site-header.is-solid .nav .btn--primary { color: var(--ink); }   /* tan + encre sur tous les fonds */
.site-header.is-solid .brand span { color: var(--terra); }

/* burger */
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 10px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: currentColor; margin: 4px auto; transition: .3s var(--ease); color: #fff; }
.site-header.is-solid .nav-toggle span { background: var(--ink); }

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: flex-end;
  color: #fff; overflow: hidden;
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(20,25,22,.45) 0%, rgba(20,25,22,.15) 35%, rgba(20,25,22,.78) 100%);
}
.hero__inner { padding-block: clamp(48px, 9vw, 110px) clamp(48px, 7vw, 88px); width: 100%; }
.hero__inner .eyebrow { color: #eccdb9; }
.hero h1 {
  color: #fff; font-size: clamp(40px, 7vw, 78px); font-weight: 560; font-stretch: 112%;
  max-width: 16ch; margin-block: 18px 16px;
}
.hero p { font-size: clamp(17px, 2.1vw, 22px); max-width: 46ch; color: rgba(255,255,255,.9); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero__scroll { position: absolute; bottom: 22px; left: 50%; translate: -50% 0; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.7); }

/* Hero éditorial (typographique, fond clair) */
.hero-type { padding-top: clamp(140px, 18vw, 220px); padding-bottom: clamp(40px, 6vw, 80px); }
.hero-type h1 { font-size: clamp(38px, 6.2vw, 76px); max-width: 18ch; }
.hero-type h1 .dim { color: #b9bdb4; }

/* =========================================================
   Stats
   ========================================================= */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); }
.stats--bordered { border-block: 0; }
.stat { padding: clamp(24px, 3vw, 40px) 14px; text-align: center; }
.stats--bordered .stat + .stat { border-left: 0; }
.stat__num { font-family: var(--font-display); font-weight: 620; font-stretch: 116%; font-size: clamp(34px, 4.6vw, 56px); line-height: 1; letter-spacing: -.01em; color: var(--green); }
.stat__label { font-size: 13px; color: var(--muted); margin-top: 8px; }
.bg-ink .stat__num { color: #fff; }
.bg-ink .stat__label { color: rgba(255,255,255,.65); }

/* =========================================================
   Media / figures + placeholders auto
   ========================================================= */
/* --bg : posé en inline sur un .media dont l'image a un fond studio à raccorder. */
.media { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: var(--bg, var(--sand)); }
.media img { width: 100%; height: 100%; object-fit: cover; }
.media--tall { aspect-ratio: 4 / 5; }
.media--wide { aspect-ratio: 16 / 10; }
.media--bleed { border-radius: 0; }
.media--bleed.media--banner { height: clamp(280px, 40vw, 520px); }

/* placeholder injecté quand l'image est absente (voir main.js) */
.media.is-placeholder { background:
  repeating-linear-gradient(45deg, #ece9e1, #ece9e1 10px, #f3f1ea 10px, #f3f1ea 20px);
  border: 1.5px dashed #cfccc2; }
.media.is-placeholder img { visibility: hidden; }
.ph-label {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 18px;
  font-family: var(--font-head); font-size: 13px; font-weight: 600; letter-spacing: .03em;
  color: #9a9890; text-transform: uppercase;
}
.ph-label::before { content: "📷  "; filter: grayscale(1); opacity: .6; }

/* =========================================================
   Cards
   ========================================================= */
.card {
  background: var(--paper); border: 0;
  border-radius: var(--radius-lg); padding: clamp(22px, 2.4vw, 30px);
  box-shadow: 0 2px 14px rgba(60,44,20,.06);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); border-color: transparent; }
.card__icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: var(--sand); color: var(--green); margin-bottom: 16px;
}
.card__icon svg { width: 26px; height: 26px; }
.card h3 { font-size: 22px; margin-bottom: 6px; }
.card p { color: var(--muted); font-size: 15px; }
.card--media { padding: 0; overflow: hidden; }
.card--media .media { border-radius: 0; }
.card--media .card__body { padding: clamp(20px, 2.2vw, 26px); }
.card--tag { font-size: 12px; color: var(--muted); margin-bottom: 12px; }
.card--solution .v-badge { margin: 2px 0 10px; }
/* Cartes « solution métier » avec bannière photo : icône-sceau sur le bas de l'image. */
.card--solution .media { aspect-ratio: 16 / 11; }
.card--solution .media img { transition: transform 1.1s var(--ease); }
.card--solution:hover .media img { transform: scale(1.05); }
.card--solution .card__icon {
  margin-top: -50px; position: relative; background: var(--green); color: #fff;
  box-shadow: 0 8px 20px rgba(16,58,64,.22);
}
@media (prefers-reduced-motion: reduce) {
  .card--solution .media img, .card--solution:hover .media img { transition: none; transform: none; }
}

/* feature row (image / texte alternés) */
.feature + .feature { margin-top: clamp(56px, 8vw, 110px); }
.feature--reverse .feature__media { order: 2; }
.feature__text .eyebrow { margin-bottom: 14px; display: block; }
.feature__text h2 { font-size: clamp(26px, 3.4vw, 40px); margin-bottom: 16px; }
.feature__text p { color: var(--muted); }
.feature__list { margin-top: 22px; display: grid; gap: 12px; }
.feature__list li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; }
.feature__list svg { flex: none; width: 22px; height: 22px; color: var(--green); margin-top: 2px; }

/* pills / tags */
.pill {
  display: inline-flex; align-items: center; gap: .4em;
  border: 1.5px solid currentColor; border-radius: 100px; padding: 8px 16px;
  font-family: var(--font-head); font-size: 13px; font-weight: 600;
}
.pill-row { display: flex; flex-wrap: wrap; gap: 10px; }

/* steps */
.steps { display: flex; align-items: flex-start; gap: 8px; flex-wrap: wrap; }
.step { flex: 1; min-width: 150px; text-align: center; }
.step__num {
  width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 12px;
  display: grid; place-items: center; background: #fff; border: 1.5px solid var(--green);
  font-family: var(--font-head); font-weight: 800; font-size: 22px; color: var(--green);
}
.step p { font-size: 14px; color: var(--muted); }
.step__arrow { align-self: center; color: var(--green); opacity: .5; font-size: 22px; padding-top: 18px; }

/* Route de navigation — étapes reliées par une ligne d'eau */
.route { position: relative; }
.route__path { position: absolute; left: 4%; right: 4%; width: 92%; top: 36px; height: 60px;
  color: var(--terra); opacity: .5; pointer-events: none; }
.route__path path { fill: none; stroke: currentColor; stroke-width: 1.6;
  stroke-dasharray: 2 9; stroke-linecap: round; animation: routeDrift 14s linear infinite; }
@keyframes routeDrift { to { stroke-dashoffset: -220; } }
.route__steps { position: relative; display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3.5vw, 44px); list-style: none; margin: 0; padding: 0; counter-reset: none; }
.route__step { text-align: center; }
.route__marker { position: relative; display: grid; place-items: center;
  width: 72px; height: 72px; margin: 0 auto 20px;
  transition: transform .35s var(--ease); }
.route__marker svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.route__marker .rm-ring  { fill: var(--paper); stroke: var(--terra); stroke-width: 1.6; }
.route__marker .rm-dash  { fill: none; stroke: var(--terra); stroke-width: 1.1;
  stroke-dasharray: 2 7; opacity: .55; transform-origin: center; transition: transform .7s var(--ease); }
.route__marker .rm-rivet { fill: var(--terra); opacity: .65; }
.route__marker b { position: relative; font-family: var(--font-display); font-weight: 600;
  font-size: 26px; color: var(--terra-dark); font-variant-numeric: tabular-nums; }
.route__step:hover .route__marker { transform: translateY(-5px); }
.route__step:hover .rm-dash { transform: rotate(50deg); }
.route__card { background: rgba(255,255,255,.5); border-radius: 18px;
  padding: clamp(20px, 2.4vw, 28px) clamp(18px, 2vw, 26px);
  box-shadow: 0 2px 16px rgba(60,44,20,.06);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.route__step:hover .route__card { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(60,44,20,.10); }
.route__tag { display: inline-block; font-family: var(--font-head); font-size: 11.5px; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase; color: var(--terra-dark);
  background: rgba(194,103,59,.10); border-radius: 100px; padding: 6px 14px; margin-bottom: 14px; }
.route__card h3 { font-size: clamp(19px, 2vw, 23px); margin-bottom: 8px; }
.route__card p { font-size: 14.5px; color: var(--muted); line-height: 1.6; max-width: 30ch; margin-inline: auto; }
@media (max-width: 760px) {
  .route__path { display: none; }
  .route__steps { grid-template-columns: 1fr; gap: 26px; }
  .route__step { display: grid; grid-template-columns: 72px 1fr; gap: 18px; text-align: left; align-items: start; }
  .route__marker { margin: 0; }
  .route__card p { margin-inline: 0; max-width: none; }
}
@media (prefers-reduced-motion: reduce) {
  .route__path path { animation: none; }
  .route__step:hover .route__marker, .route__step:hover .route__card { transform: none; }
  .route__step:hover .rm-dash { transform: none; }
}

/* quote */
.quote { font-family: var(--font-display); font-weight: 560; font-stretch: 112%; font-size: clamp(24px, 3.4vw, 40px); line-height: 1.34; letter-spacing: -.005em; }
.quote--ink { color: var(--ink); }

/* labels strip */
.logos { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.logo-ph {
  width: 130px; height: 56px; border-radius: 10px; display: grid; place-items: center;
  background: var(--sand); border: 1px solid var(--line); color: #b3b1a8;
  font-family: var(--font-head); font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
}
.bg-ink .logo-ph { background: #2a2f2b; border-color: var(--line-dark); color: #7d827c; }

/* Partenaires — wordmarks typographiques (en attendant les fichiers logos) */
.partners {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: clamp(26px, 5vw, 64px); margin-top: 34px;
}
.partners--left { justify-content: flex-start; margin-top: 0; }
.partner-mark {
  font-family: var(--font-display); font-weight: 500; font-size: clamp(17px, 1.9vw, 22px);
  line-height: 1.15; letter-spacing: .01em; color: var(--ink); opacity: .78;
  text-align: center; transition: opacity .3s var(--ease);
}
.partner-mark:hover { opacity: 1; }
.partner-mark i {
  display: block; font-family: var(--font-head); font-style: normal; font-weight: 500;
  font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted);
  margin-top: 6px; opacity: .9;
}
.partners--left .partner-mark { text-align: left; }

/* Marquee partenaires — défilement infini, bords fondus, pause au survol */
.marquee { overflow: hidden; margin-top: 34px; padding-block: 10px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee__track { display: flex; align-items: center; gap: clamp(48px, 7vw, 110px);
  width: max-content; animation: marquee 30s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee .partner-mark { white-space: nowrap; }
/* rangée de logos hors marquee (entreprise, etc.) */
.partner-logos { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(22px, 3.4vw, 48px); }
/* Logos officiels dans la bande partenaires : gris au repos, couleurs au survol.
   --h (inline) équilibre le poids visuel de chaque marque. */
.partner-logo { height: var(--h, 40px); width: auto; flex: none;
  filter: grayscale(1); opacity: .55;
  transition: filter .35s var(--ease), opacity .35s var(--ease); }
.partner-logo:hover { filter: none; opacity: 1; }
@keyframes marquee { to { transform: translateX(calc(-50% - clamp(24px, 3.5vw, 55px))); } }
@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none; flex-wrap: wrap; justify-content: center; width: 100%; }
  .marquee .partner-mark[aria-hidden="true"] { display: none; }
  .marquee { mask-image: none; -webkit-mask-image: none; }
}

/* =========================================================
   Waitlist / formulaire
   ========================================================= */
.waitlist { text-align: center; }
.waitlist h2 { font-size: clamp(28px, 4vw, 44px); }
.bg-green .waitlist h2, .bg-green .lead { color: #fff; }
.bg-green .lead { color: rgba(255,255,255,.85); }
.form {
  margin: 28px auto 0; max-width: 540px;
  display: grid; gap: 12px;
}
.form--inline { grid-template-columns: 1fr auto; }
.form--grid { grid-template-columns: 1fr 1fr; text-align: left; }
.form .full { grid-column: 1 / -1; }
.field {
  width: 100%; padding: 14px 18px; border-radius: 12px;
  border: 1.5px solid var(--line); background: #fff; font: inherit; color: var(--ink);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field::placeholder { color: #a8a6a0; }
.field:focus { outline: 0; border-color: var(--terra); box-shadow: 0 0 0 4px rgba(194,103,59,.16); }
textarea.field { min-height: 110px; resize: vertical; }
.form .btn { justify-content: center; }
.form__note { font-size: 13px; color: var(--muted); margin-top: 14px; }
.bg-green .form__note { color: rgba(255,255,255,.75); }
.form__success {
  display: none; margin-top: 18px; padding: 14px 18px; border-radius: 12px;
  background: rgba(255,255,255,.18); color: #fff; font-weight: 600;
}
.form__success.show { display: block; }
.bg-sand .form__success, .bg-sand-2 .form__success, .bg-paper .form__success {
  background: rgba(16,58,64,.12); color: var(--green-deep);
}

/* =========================================================
   Pages légales (mentions, confidentialité…)
   ========================================================= */
.legal-hero { padding-top: clamp(130px, 16vw, 190px); padding-bottom: clamp(24px, 4vw, 40px); }
.legal { max-width: 820px; }
.legal h2 { font-size: clamp(21px, 2.6vw, 28px); margin: 42px 0 12px; }
.legal h2:first-of-type { margin-top: 8px; }
.legal h3 { font-size: 18px; margin: 22px 0 8px; }
.legal p { color: var(--ink); font-size: 16px; line-height: 1.7; margin-bottom: 14px; }
.legal ul { margin: 0 0 16px; padding: 0; }
.legal li { position: relative; padding-left: 22px; margin-bottom: 9px; list-style: none; font-size: 16px; line-height: 1.65; }
.legal li::before { content: "\2022"; position: absolute; left: 4px; color: var(--terra); }
.legal a { color: var(--terra-dark); text-decoration: underline; text-underline-offset: 3px; }
.legal strong { font-weight: 700; }
.legal__updated { color: var(--muted); font-size: 14px; }
.legal .todo {
  background: #fbe6d6; color: var(--terra-dark); font-style: italic;
  padding: 1px 7px; border-radius: 4px; font-size: .95em;
}

/* =========================================================
   Simulateur de rentabilité
   ========================================================= */
.sim-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 4vw, 60px); align-items: start; }
.sim-controls { display: grid; gap: clamp(20px, 2.6vw, 28px); }
.sim-field label { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; font-family: var(--font-head); font-weight: 500; font-size: 15px; margin-bottom: 10px; color: var(--ink); }
.sim-field .sim-val { font-family: var(--font-display); font-weight: 560; font-stretch: 112%; font-size: 21px; color: var(--green); white-space: nowrap; font-variant-numeric: tabular-nums; }
.sim-field input[type="range"] { width: 100%; accent-color: var(--green); height: 6px; cursor: pointer; }
.sim-field input[type="number"] { width: 100%; padding: 12px 16px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; font: inherit; color: var(--ink); }
.sim-field input:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }
.sim-field .sim-hint { font-size: 13px; color: var(--muted); margin-top: 7px; }

.sim-results { position: sticky; top: 92px; background: var(--ink); color: #fff; border-radius: 16px; padding: clamp(24px, 3vw, 36px); }
.sim-results h3 { color: #fff; font-size: 19px; margin-bottom: 4px; }
.sim-results .sim-sub { color: rgba(255,255,255,.6); font-size: 13px; margin-bottom: 20px; }
.sim-row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 13px 0; border-top: 0; }
.sim-row span { color: rgba(255,255,255,.74); font-size: 15px; }
.sim-row b { font-family: var(--font-display); font-weight: 560; font-stretch: 112%; font-size: 22px; color: #fff; font-variant-numeric: tabular-nums; }
.sim-row--primary { margin-top: 12px; padding: 20px; background: var(--green); border-radius: 12px; border: 0; }
.sim-row--primary span { color: rgba(255,255,255,.88); }
.sim-row--primary b { font-size: clamp(28px, 4vw, 40px); }
.sim-roi { margin-top: 16px; font-size: 14px; line-height: 1.6; color: rgba(255,255,255,.72); }
.sim-roi b { color: #fff; font-family: var(--font-display); font-variant-numeric: tabular-nums; }
.sim-note { margin-top: 26px; font-size: 13px; color: var(--muted); max-width: 78ch; line-height: 1.65; }
@media (max-width: 860px) {
  .sim-grid { grid-template-columns: 1fr; }
  .sim-results { position: static; }
}

/* =========================================================
   Footer
   ========================================================= */
.site-footer { background: var(--ink); color: #cfd2cd; padding-block: clamp(56px, 7vw, 88px) 32px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; }
.site-footer .brand { color: #fff; font-size: 26px; }
.site-footer h4 { font-family: var(--font-head); color: #fff; font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 16px; }
.site-footer a { color: #b6bab4; font-size: 15px; transition: color .2s var(--ease); }
.site-footer a:hover { color: #fff; }
.site-footer li + li { margin-top: 10px; }
.footer-tagline { color: #9ca09a; margin-top: 14px; max-width: 30ch; font-size: 15px; }
.footer-bottom {
  margin-top: 56px; padding-top: 8px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-size: 13px; color: #888c87;
}

/* =========================================================
   Animations au scroll
   ========================================================= */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .9s cubic-bezier(.16,1,.3,1), transform .9s cubic-bezier(.16,1,.3,1); }
.reveal.in { opacity: 1; transform: none; }
/* variantes directionnelles (entrée latérale, façon Sea Loop) */
.reveal--left { transform: translateX(-48px); }
.reveal--right { transform: translateX(48px); }
.reveal--scale { transform: scale(.93); }
.reveal--left.in, .reveal--right.in, .reveal--scale.in { transform: none; }
/* parallaxe */
.is-parallax { will-change: transform; }

/* =========================================================
   Effets « wow »
   ========================================================= */

/* Hero — zoom lent cinématique (Ken Burns) */
.hero__media { will-change: transform; }
.hero__media img { animation: kenburns 22s ease-out both; transform-origin: 58% 42%; }
@keyframes kenburns { from { transform: scale(1.18); } to { transform: scale(1.04); } }

/* Hero — entrée typographique : remontée + léger flou qui se dissipe */
.hero .reveal { transition: opacity 1s var(--ease), transform 1s var(--ease), filter 1s var(--ease); }
.hero .reveal:not(.in) { transform: translateY(36px); filter: blur(7px); }

/* Indicateur de défilement qui respire */
.hero__scroll { animation: floaty 2.6s ease-in-out infinite; }
@keyframes floaty {
  0%, 100% { transform: translateY(0); opacity: .65; }
  50%      { transform: translateY(8px); opacity: 1; }
}

/* Images — léger settle (dézoom) quand la section apparaît */
.reveal .media img, .media.reveal img { transition: transform 1.3s var(--ease); }
.reveal:not(.in) .media img, .media.reveal:not(.in) img { transform: scale(1.07); }

/* Boutons primaires — reflet qui balaie au survol */
.btn--primary { position: relative; overflow: hidden; }
.btn--primary > * { position: relative; z-index: 1; }
.btn--primary::after {
  content: ""; position: absolute; top: 0; left: -140%; width: 65%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,.28), transparent);
  transform: skewX(-20deg); transition: left .65s var(--ease); z-index: 0;
}
.btn--primary:hover::after { left: 150%; }

/* Cartes — survol plus vivant */
.card { will-change: transform; }

@media (prefers-reduced-motion: reduce) {
  .hero__media img { animation: none; transform: scale(1.04); }
  .hero .reveal:not(.in) { transform: none; filter: none; }
  .hero__scroll { animation: none; }
  .reveal:not(.in) .media img, .media.reveal:not(.in) img { transform: none; }
}
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 960px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 820px) {
  body { font-size: 16px; }
  .nav {
    position: fixed; inset: 0 0 0 auto; width: min(82vw, 340px);
    flex-direction: column; align-items: flex-start; justify-content: center; gap: 26px;
    background: var(--paper); padding: 40px; transform: translateX(100%);
    transition: transform .4s var(--ease); box-shadow: var(--shadow);
  }
  .nav.open { transform: none; }
  .nav a { color: var(--ink) !important; font-size: 20px; }
  .nav .btn { color: #fff !important; }
  .nav-toggle { display: block; z-index: 110; }
  .nav-open .nav-toggle span { color: var(--ink); }
  .split { grid-template-columns: 1fr; }
  .feature--reverse .feature__media { order: 0; }
  .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stats--bordered .stat + .stat { border-left: 0; }
      .form--grid { grid-template-columns: 1fr; }
}
@media (max-width: 540px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .form--inline { grid-template-columns: 1fr; }
  .steps { flex-direction: column; }
  .step__arrow { transform: rotate(90deg); padding: 0; }
  .footer-grid { grid-template-columns: 1fr; }
}
