:root {
  --lime: #d7f24a;
  --lime-text: #1a2b0c;
  --blue1: #0a3350;
  --blue2: #1c6aa8;
  --blue3: #4a9bd6;
  --dark: #12161c;
  --card-gray: #eef0ed;
  --text: #14171a;
  --muted: #6a7178;
  --line: #e7e7e4;
  --radius: 28px;
  --pad: clamp(20px, 4vw, 48px);
  --gutter: 16px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'DM Sans', system-ui, sans-serif;
  background: #fff;
  color: var(--text);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
[hidden] { display: none !important; }
ul, ol { padding: 0; list-style: none; }
img { display: block; max-width: 100%; }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 3px;
}

/* Lien d'évitement : visible uniquement au clavier. */
.skip-link {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 100;
  padding: 12px 20px;
  border-radius: 999px;
  background: var(--lime);
  color: var(--lime-text);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-150%);
  transition: transform 0.2s ease;
}
.skip-link:focus { transform: translateY(0); }

/* Retour en haut : la page fait plus de 5 000 px, la nav n'est pas collante. */
.to-top {
  position: fixed;
  right: clamp(16px, 3vw, 32px);
  bottom: clamp(16px, 3vw, 32px);
  z-index: 40;
  width: 48px;
  height: 48px;
  padding: 0;
  border: none;
  border-radius: 999px;
  background: var(--dark);
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(10, 40, 70, 0.28);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.3s ease, transform 0.3s ease, background 0.3s ease;
}
.to-top.is-visible { opacity: 1; transform: none; }
.to-top:hover { background: var(--blue2); }

/* ---------- shared ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: none;
  border-radius: 999px;
  padding: 16px 28px;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.25s ease,
              filter 0.25s ease;
}
.btn:hover { transform: translateY(-1px); filter: brightness(1.05); }
.btn-lime { background: var(--lime); color: var(--lime-text); }
.btn-sm { padding: 14px 24px; font-size: 12px; }
.btn-block { width: 100%; padding: 16px; }

.eyebrow {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.eyebrow-lime { letter-spacing: 0.12em; color: var(--lime); }
.eyebrow-light { color: #a9b0b6; }

.card { border-radius: 20px; }
.card-light { background: #fff; }
.card-dark { background: var(--dark); color: #fff; }
.card-outline { border: 1px solid var(--line); }

.tag-row { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  background: var(--card-gray);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 12px;
}
.tag-white { background: #fff; padding: 5px 12px; font-size: 11px; }

.stat-label { font-size: 12px; color: var(--muted); }
.stat-value { font-size: 22px; font-weight: 600; }
.stat-value-sm { font-size: 20px; }
.stat-big { font-size: clamp(28px, 3vw, 44px); font-weight: 600; }

.checklist li {
  position: relative;
  padding-left: 20px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
}
.checklist li + li { margin-top: 4px; }
.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
}
.checklist-dark li { color: var(--text); }
.checklist-dark li + li { margin-top: 8px; }
.checklist-light li { color: #fff; }
.checklist-light li + li { margin-top: 8px; }

/* ---------- image placeholders ---------- */

.photo {
  position: relative;
  overflow: hidden;
  background:
    url("assets/logo-mark-white.png") center 40% / 88px auto no-repeat,
    linear-gradient(140deg, var(--blue1) 0%, var(--blue2) 70%, var(--blue3) 100%);
}
.photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.photo::before {
  content: attr(data-placeholder);
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 22px 16px;
  text-align: center;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}
.photo:not(.has-image) { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14); }
.photo.has-image { background: none; }

/* ---------- habillage des cadres photo ----------
   Le ::before porte la légende tant que l'emplacement est vide ; une fois la
   photo chargée il devient l'habillage du cadre : filet de contour + dégradé
   de raccord vers le fond de la section. */
.photo.has-image::before {
  content: "";
  z-index: 2;
  padding: 0;
  border-radius: inherit;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
  background: linear-gradient(
    180deg,
    rgba(10, 51, 80, 0.20) 0%,
    transparent 30%,
    transparent 60%,
    rgba(10, 51, 80, 0.34) 100%
  );
}
/* Les légendes superposées passent au-dessus de l'habillage : leur z-index 3
   est posé plus bas dans ce fichier, avec le reste de leurs styles. */

/* Harmonisation : les photos sources tirent vers le rouge et l'or, on calme
   la saturation pour qu'elles cohabitent avec le bleu et le lime. */
.photo.has-image img { filter: saturate(0.94) contrast(1.04); }

/* Hero : la photo est posée sur le dégradé bleu, on l'y raccorde. */
.hero-photo { box-shadow: 0 26px 52px rgba(4, 22, 40, 0.34); }
.hero-photo.has-image::before {
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.30);
  background:
    linear-gradient(180deg, rgba(10, 51, 80, 0.32) 0%, transparent 32%, transparent 55%, rgba(10, 51, 80, 0.44) 100%),
    radial-gradient(130% 100% at 50% 45%, transparent 64%, rgba(10, 51, 80, 0.30) 100%);
}

/* Fondateur : fond clair, un filet blanc serait invisible. */
.founder-photo.has-image::before {
  box-shadow: inset 0 0 0 1px rgba(20, 23, 26, 0.12);
  background: linear-gradient(180deg, transparent 58%, rgba(20, 23, 26, 0.16) 100%);
}
/* Surtout pas `display: none` ici : une image sans boîte de rendu n'est jamais
   chargée par `loading="lazy"`, et comme `.has-image` dépend de son chargement,
   elle ne s'afficherait jamais. `opacity` conserve la boîte. */
.photo:not(.has-image) img { opacity: 0; }
.photo.has-image img { opacity: 1; }

/* Slots with an overlaid caption: keep the placeholder clear of it. */
.tile-photo::before,
.zone-card::before { align-items: flex-start; }

/* ---------- révélation au défilement ---------- */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Révélation de section : la section reste « encadrée » — resserrée, en
   retrait et estompée — puis se déploie à pleine largeur quand on arrive à sa
   hauteur. Appliquée aux sections pleine largeur seulement : le hero et le
   bloc contact ont déjà leur propre cadre arrondi. */
.section-reveal {
  opacity: 0.3;
  transform: scale(0.94);
  border-radius: 32px;
  overflow: hidden;
  transition: opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.85s cubic-bezier(0.22, 1, 0.36, 1),
              border-radius 0.85s cubic-bezier(0.22, 1, 0.36, 1);
}
.section-reveal.is-open {
  opacity: 1;
  transform: none;
  border-radius: 0;
}

/* Révélation photo : le cadre se déploie vers le bas pendant que l'image
   se dézoome doucement. */
.reveal-photo {
  opacity: 0;
  clip-path: inset(0 0 26% 0);
  transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1),
              clip-path 1.05s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal-photo.is-visible {
  opacity: 1;
  clip-path: inset(0 0 0 0);
}
.reveal-photo img {
  transform: scale(1.12);
  transition: transform 1.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal-photo.is-visible img { transform: none; }

/* ---------- survol : cartes et tuiles ---------- */

.card, .tile, .zone-card {
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.35s ease,
              border-color 0.35s ease;
}
.card-light:hover, .card-outline:hover, .tile-gray:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 44px rgba(10, 40, 70, 0.13);
}
.card-outline:hover { border-color: var(--blue3); }
.card-dark:hover, .tile-lime:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 44px rgba(10, 40, 70, 0.22);
}
.hero-cards > *:hover { transform: translateY(-8px); }

.service-icon {
  transition: background 0.35s ease, color 0.35s ease, transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.card-service:hover .service-icon {
  background: var(--lime);
  color: var(--lime-text);
  transform: rotate(-8deg) scale(1.08);
}

.reason-num { transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1); }
.card-reason:hover .reason-num { transform: translateY(-3px) scale(1.06); }

/* survol du texte : le titre de carte glisse vers le bleu */
.card-service h3, .card-reason h3, .ref-name {
  transition: color 0.3s ease;
}
.card-service:hover h3, .card-reason:hover h3, .card-outline:hover .ref-name {
  color: var(--blue2);
}

.checklist li::before { transition: color 0.3s ease, transform 0.3s ease; }
.card:hover .checklist li::before {
  color: var(--blue2);
  transform: scale(1.15);
}
.card-dark:hover .checklist li::before { color: var(--lime); }

/* ---------- survol : photos ---------- */

.photo img {
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1),
              opacity 0.45s ease;
}
.zone-card:hover img, .tile-photo:hover img, .hero-photo:hover img { transform: scale(1.06); }
.founder-photo:hover img { transform: scale(1.04); }
.zone-card::after { transition: opacity 0.4s ease; }
.zone-card:hover::after { opacity: 0.75; }

/* ---------- survol : liens soulignés ---------- */

.nav-links a, .footer-col a {
  position: relative;
}
.nav-links a::after, .footer-col a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 1.5px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.nav-links a:hover::after, .footer-col a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}
.footer-col a:hover { text-decoration: none; color: var(--blue2); }
.nav-links a::after { background: var(--lime); }

.btn-lime:hover { box-shadow: 0 14px 28px rgba(215, 242, 74, 0.35); }

/* La teinte discrète passe par `color` et non par une opacité sur la liste :
   un enfant ne peut pas dépasser l'opacité de son parent, le survol n'aurait
   jamais pu rendre le nom plus net. */
.logo-strip li {
  white-space: nowrap;
  color: var(--muted);
  transition: color 0.3s ease, transform 0.3s ease;
  cursor: default;
}
.logo-strip li:hover {
  color: var(--blue2);
  transform: translateY(-3px);
}

.contact-details a { position: relative; transition: color 0.3s ease; }
.contact-details a:hover { color: var(--lime); text-decoration: none; }

/* ---------- projecteur suivant la souris ---------- */

.spotlight { position: relative; }
.spotlight::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease;
  background: radial-gradient(
    340px circle at var(--mx, 50%) var(--my, 50%),
    rgba(215, 242, 74, 0.16),
    transparent 65%
  );
}
.spotlight.is-hovered::before { opacity: 1; }

/* Le pseudo est positionné : les enfants statiques doivent repasser au-dessus.
   .nav (z-index 5) et .hero-cards (z-index 6) sont déjà couverts. */
.hero-grid, .contact-grid { position: relative; z-index: 1; }

/* ---------- hero ---------- */

.hero {
  position: relative;
  margin: var(--gutter);
  border-radius: var(--radius);
  background: linear-gradient(160deg, var(--blue1) 0%, var(--blue2) 55%, var(--blue3) 100%);
  padding-bottom: 150px;
}

.nav {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px var(--pad) 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  text-decoration: none;
}
/* Le symbole est bleu marine + vert d'eau : sur le hero bleu il perdrait tout
   contraste, d'où la pastille blanche. Sur fond clair (footer) il est nu. */
.brand-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: none;
  padding: 5px;
  border-radius: 11px;
  background: #fff;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease;
}
.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.brand:hover .brand-mark {
  transform: rotate(-6deg) scale(1.06);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.18);
}
.brand-name { font-size: 20px; font-weight: 600; letter-spacing: -0.02em; }

.brand-dark { color: var(--text); }
.brand-dark .brand-mark {
  width: 34px;
  height: 34px;
  padding: 0;
  background: transparent;
}
.brand-dark .brand-name { font-size: 18px; }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 40px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 40px;
}
.nav-links a {
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.9;
}
.nav-links a:hover { opacity: 1; }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 12px;
  background: transparent;
  cursor: pointer;
}
.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 18px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
}
.nav-toggle-bars {
  position: relative;
  margin: 0 auto;
}
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
}
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 20px;
  padding: 70px var(--pad) 0;
}

.hero-copy h1 {
  margin: 20px 0;
  font-size: clamp(34px, 4.4vw, 52px);
  line-height: 1.12;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #fff;
}
.hero-copy h1 span { color: #bcd7ec; }
.hero-lead {
  max-width: 460px;
  margin-bottom: 32px;
  font-size: 16px;
  line-height: 1.6;
  color: #cfe0ee;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.link-plain { color: #fff; font-size: 14px; text-decoration: underline; }
.hero-clients { font-size: 13px; color: #cfe0ee; }

/* 4:3 = le cadrage natif de la photo d'équipe : personne n'est rogné. */
.hero-photo {
  aspect-ratio: 4 / 3;
  border-radius: 24px;
}

.hero-cards {
  position: absolute;
  z-index: 6;
  left: var(--pad);
  right: var(--pad);
  bottom: -70px;
  display: flex;
  align-items: flex-end;
  gap: 16px;
}
.hero-cards > * { box-shadow: 0 30px 60px rgba(10, 40, 70, 0.25); }

.card-tags {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 20px;
}
.card-tags .stat-label { margin-bottom: 2px; }

.card-photo {
  flex: 0.75;
  height: 150px;
  background-size: 58px auto, auto;
}

.card-quote { flex: 1.3; padding: 22px; }
.quote-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  margin-bottom: 14px;
  border-radius: 999px;
  background: var(--lime);
  color: var(--lime-text);
  font-size: 12px;
}
.card-quote p {
  margin-bottom: 10px;
  font-size: 15px;
  line-height: 1.45;
}
.card-quote footer { font-size: 12px; color: #a9b0b6; }

.card-coverage { flex: 1; padding: 20px; }
.card-coverage .stat-label { margin-bottom: 6px; }
.card-coverage .stat-value-sm { margin-bottom: 12px; }
.mini-list { display: flex; flex-direction: column; gap: 8px; }
.mini-list > div {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
}
.mini-list dd { margin: 0; color: var(--muted); }

/* ---------- sections ---------- */

.section { padding: 100px var(--pad); }
.section-gray { background: var(--card-gray); }
.section-about { padding-top: 190px; }

.section-head { margin-bottom: 56px; }
.section-head h2,
.founder-copy h2 {
  font-size: clamp(26px, 3.2vw, 38px);
  line-height: 1.3;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.section-head-split {
  display: grid;
  grid-template-columns: 0.6fr 1.4fr;
  gap: 40px;
}
.section-head-end { align-items: end; }
.section-head-center {
  max-width: 680px;
  margin-inline: auto;
  text-align: center;
}
.section-head-center .eyebrow { margin-bottom: 16px; }
.section-lead {
  max-width: 560px;
  margin-top: 12px;
  font-size: 16px;
  color: var(--muted);
}
.accent-blue { color: var(--blue2); }
.accent-lime { color: var(--lime-text); }

.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-narrow { max-width: 1200px; margin-inline: auto; }

/* ---------- fondateur ---------- */

.founder-intro {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
  margin-bottom: 64px;
}
.founder-photo {
  aspect-ratio: 4 / 5;
  border-radius: 24px;
  box-shadow: 0 28px 56px rgba(10, 40, 70, 0.18);
}
/* Le portrait est cadré serré : on privilégie le haut du buste. */
.founder-photo img { object-position: 50% 18%; }
.founder-copy .eyebrow { margin-bottom: 18px; }
.founder-sign {
  margin-top: 30px;
  padding-left: 18px;
  border-left: 3px solid var(--lime);
}
.founder-name { font-size: 18px; font-weight: 600; }
.founder-role { margin-top: 3px; font-size: 13px; color: var(--muted); }

.tile {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 220px;
  padding: 24px;
  border-radius: 20px;
}
.tile-gray { background: var(--card-gray); }
.tile-lime { background: var(--lime); color: var(--lime-text); }
.tile-lime .stat-label { color: var(--lime-text); }
.tile-lime .stat-big { margin: 8px 0; }
.tile-gray .stat-big { margin: 8px 0; }
.tile-text { font-size: 13px; line-height: 1.4; }
.tile-text-muted { color: var(--muted); }

.tile-photo {
  position: relative;
  padding: 0;
  overflow: hidden;
}
.tile-photo figcaption,
.zone-card figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 24px;
  color: #fff;
}
.tile-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.1));
  pointer-events: none;
}
.tile-photo figcaption { z-index: 3; }
.tile-photo figcaption .stat-big { margin-bottom: 8px; }
.tile-photo figcaption .tile-text { color: #e6e6e6; }

/* Défilement continu de droite à gauche. La piste contient la liste deux fois :
   translater de -50 % ramène exactement au point de départ, sans saut. */
.logo-marquee {
  margin-top: 80px;
  overflow: hidden;
  /* Les marques s'estompent aux deux bords au lieu d'être coupées net. */
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.logo-track {
  display: flex;
  width: max-content;
  animation: logo-scroll 34s linear infinite;
}
.logo-marquee:hover .logo-track,
.logo-marquee:focus-within .logo-track { animation-play-state: paused; }

@keyframes logo-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.logo-strip {
  display: flex;
  align-items: center;
  gap: 72px;
  padding-right: 72px;
  font-size: 15px;
  font-weight: 600;
}

/* ---------- services ---------- */

.card-service { padding: 28px; }
.service-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 20px;
  border-radius: 12px;
  background: var(--blue1);
  color: #fff;
  font-size: 18px;
}
.card-service h3 {
  margin-bottom: 12px;
  font-size: 18px;
  font-weight: 600;
}

/* ---------- références ---------- */

.card-outline, .grid-narrow .card-dark { padding: 32px; }
.ref-name {
  margin-bottom: 4px;
  font-size: 15px;
  font-weight: 600;
}
.ref-role {
  margin-bottom: 20px;
  font-size: 12px;
  color: var(--muted);
}
.ref-role-light { color: #a9b0b6; }

/* ---------- pourquoi ---------- */

.card-reason { padding: 28px; }
.card-reason h3 {
  margin-bottom: 8px;
  font-size: 17px;
  font-weight: 600;
}
.card-reason p { font-size: 13px; line-height: 1.6; color: var(--muted); }
/* Sélecteur volontairement porté à deux classes : `.card-reason p` ci-dessus
   est plus spécifique que `.reason-num` seul et repeignait le badge en gris. */
.card-reason .reason-num {
  display: inline-block;
  margin-bottom: 16px;
  padding: 4px 10px;
  border-radius: 8px;
  background: var(--lime);
  color: var(--lime-text);
  font-size: 13px;
  font-weight: 700;
}

/* ---------- zone ---------- */

.zone-card {
  position: relative;
  min-height: 280px;
  border-radius: 20px;
}
.zone-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(10, 20, 30, 0.8), rgba(10, 20, 30, 0.15));
  pointer-events: none;
}
.zone-card figcaption { z-index: 3; padding: 32px; }
.zone-eyebrow {
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--lime);
}
.zone-title {
  margin-bottom: 10px;
  font-size: 26px;
  font-weight: 600;
}
.zone-text { font-size: 13px; line-height: 1.5; color: #dcdcdc; }

/* ---------- contact ---------- */

.contact {
  margin: var(--gutter);
  padding: 100px var(--pad);
  border-radius: var(--radius);
  background: var(--dark);
  color: #fff;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}
.contact h2 {
  margin: 16px 0 24px;
  font-size: clamp(26px, 3.2vw, 38px);
  line-height: 1.3;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.contact-lead {
  max-width: 420px;
  margin-bottom: 40px;
  font-size: 15px;
  line-height: 1.6;
  color: #a9b0b6;
}
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-size: 14px;
}
.contact-details a { color: #fff; text-decoration: none; }

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 32px;
  border-radius: 16px;
  background: #1c222b;
}
.contact-form input,
.contact-form textarea {
  padding: 14px 16px;
  border: 1px solid #2a323c;
  border-radius: 10px;
  background: #12161c;
  color: #fff;
  font: inherit;
  font-size: 14px;
}
.contact-form .field { display: flex; flex-direction: column; gap: 6px; }
.contact-form input,
.contact-form textarea { width: 100%; }
.contact-form textarea { resize: vertical; }
.contact-form ::placeholder { color: #7d858d; }
.contact-form input:focus,
.contact-form textarea:focus { border-color: var(--lime); outline: none; }
.contact-form .invalid { border-color: #ff8f76; }
.field-error {
  font-size: 12.5px;
  line-height: 1.4;
  color: #ff8f76;
}

.contact-success {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 40px;
  border-radius: 16px;
  background: #1c222b;
}
.success-title { font-size: 20px; font-weight: 600; color: var(--lime); }
.error-title { color: #ff8f76; }
.success-text { font-size: 14px; line-height: 1.6; color: #a9b0b6; }
.success-text a { color: #fff; }

.panel-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}
.btn-ghost {
  background: transparent;
  color: #fff;
  border: 1px solid #2a323c;
}
.btn-ghost:hover { border-color: var(--lime); }

/* ---------- footer ---------- */

.footer { padding: 80px var(--pad) 32px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 60px;
}
.footer .brand { margin-bottom: 16px; }
.footer-blurb {
  max-width: 280px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
}
.footer-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-title {
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.footer-col a { font-size: 14px; color: var(--text); text-decoration: none; }
.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid #ebebe8;
  font-size: 12px;
  color: var(--muted);
}
.credits {
  margin-top: 8px;
  font-size: 11px;
  opacity: 0.75;
}
.credits a { color: inherit; }

/* ---------- barre de navigation escamotable ----------
   Elle apparaît une fois le hero dépassé, se masque quand on descend et
   revient quand on remonte ou que le pointeur approche du bord haut. */
.sticky-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px var(--pad);
  background: rgba(9, 32, 52, 0.78);
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
  box-shadow: 0 10px 30px rgba(5, 20, 36, 0.22);
  transform: translateY(-101%);
  transition: transform 0.42s cubic-bezier(0.22, 1, 0.36, 1);
}
@supports (backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px)) {
  .sticky-bar {
    background: rgba(9, 32, 52, 0.62);
    -webkit-backdrop-filter: blur(16px) saturate(160%);
    backdrop-filter: blur(16px) saturate(160%);
  }
}
.sticky-bar.is-shown { transform: none; }

.sticky-bar .brand-mark { width: 32px; height: 32px; padding: 4px; border-radius: 9px; }
.sticky-bar .brand-name { font-size: 17px; }

.sticky-bar .nav-links { gap: 8px; }
.sticky-bar .nav-links a {
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 12px;
  opacity: 0.85;
  transition: background 0.25s ease, opacity 0.25s ease, transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}
/* Pastille façon Dock au survol. */
.sticky-bar .nav-links a:hover {
  background: rgba(255, 255, 255, 0.12);
  opacity: 1;
  transform: translateY(-1px);
}
.sticky-bar .nav-links a::after { display: none; }
.sticky-bar .btn { padding: 11px 20px; font-size: 11px; }

/* Sans souris, la barre garde la marque et l'appel à l'action ; les rubriques
   restent accessibles via le menu du hero, ramené par le bouton « haut ». */
@media (max-width: 900px) {
  .sticky-bar .nav-links { display: none; }
}

/* ---------- page Services Diaspora ---------- */

/* Trois cartes seulement, de largeur égale, contre quatre sur l'accueil. */
.hero-stats > * { flex: 1; }
.stat-card { padding: 24px; }
.stat-card .stat-label { margin-bottom: 8px; }
.stat-card-lime { background: var(--lime); color: var(--lime-text); }
.stat-card-lime .stat-label { color: var(--lime-text); }
.card-dark .stat-label { color: #a9b0b6; }
.stat-figure { font-size: 30px; font-weight: 600; }

.section-process { padding-top: 170px; }
.section-lead-center { margin-inline: auto; text-align: center; }

.step-list { counter-reset: none; }
.card-soft { background: var(--card-gray); }
.card-soft:hover { box-shadow: 0 22px 44px rgba(10, 40, 70, 0.13); transform: translateY(-6px); }

.offer-card {
  display: flex;
  flex-direction: column;
  padding: 32px;
}
.offer-card-featured { position: relative; }
.offer-badge {
  position: absolute;
  top: 32px;
  right: 32px;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--lime);
  color: var(--lime-text);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.offer-card-featured .offer-name { margin-top: 32px; }
.offer-name { margin-bottom: 6px; font-size: 15px; font-weight: 600; }
.offer-desc {
  margin-bottom: 20px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
}
.card-dark .offer-desc, .card-dark .offer-meta { color: #a9b0b6; }
.offer-price { margin-bottom: 4px; font-size: 28px; font-weight: 600; }
.offer-meta { margin-bottom: 20px; font-size: 12px; color: var(--muted); }
.offer-cta {
  display: block;
  margin-top: auto;
  padding: 13px;
  border-radius: 999px;
  background: var(--lime);
  color: var(--lime-text);
  font-size: 12px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), filter 0.25s ease;
}
.offer-cta:hover { transform: translateY(-2px); filter: brightness(1.05); }
.offer-cta-soft { background: var(--card-gray); color: var(--text); }
.card-light:hover .offer-cta-soft { background: var(--blue1); color: #fff; }

.persona-card { justify-content: flex-start; min-height: 0; padding: 32px; }
.persona-card h3 { margin-bottom: 10px; font-size: 17px; font-weight: 600; }
.persona-card p { font-size: 13px; line-height: 1.6; color: var(--muted); }

.section-launch { padding-top: 0; }
.launch-banner {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 40px;
  align-items: center;
  padding: clamp(32px, 5vw, 56px);
  border-radius: 24px;
  background: var(--lime);
  color: var(--lime-text);
}
.launch-eyebrow { margin-bottom: 16px; color: var(--lime-text); font-weight: 700; }
.launch-banner h2 {
  margin-bottom: 16px;
  font-size: clamp(24px, 2.7vw, 32px);
  line-height: 1.3;
  font-weight: 600;
}
.launch-text { font-size: 14px; line-height: 1.6; }
.launch-cta {
  justify-self: start;
  background: var(--dark);
  color: #fff;
  padding: 18px 32px;
}
.launch-cta:hover { box-shadow: 0 14px 28px rgba(10, 22, 28, 0.3); }

/* ---------- responsive ---------- */

@media (max-width: 1100px) {
  .hero-cards {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    margin-top: 48px;
  }
  .hero { padding-bottom: var(--pad); }
  .section-about { padding-top: 100px; }
  .section-process { padding-top: 100px; }
  .hero-stats { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav-menu {
    position: absolute;
    top: calc(100% + 12px);
    left: var(--pad);
    right: var(--pad);
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
    padding: 24px;
    border-radius: 20px;
    background: rgba(10, 35, 55, 0.97);
    box-shadow: 0 24px 48px rgba(5, 25, 45, 0.4);
  }
  .nav-menu:not(.is-open) { display: none; }
  .nav-links { flex-direction: column; align-items: stretch; gap: 18px; }

  .hero-grid { grid-template-columns: 1fr; padding-top: 48px; }
  .section-head-split { grid-template-columns: 1fr; gap: 16px; }
  .launch-banner { grid-template-columns: 1fr; gap: 28px; }
  .founder-intro { grid-template-columns: 1fr; }
  .founder-photo { width: 100%; max-width: 380px; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .section { padding: 64px var(--pad); }
  .section-about { padding-top: 64px; }
  .section-process { padding-top: 64px; }
  .section-launch { padding-top: 0; }
  .hero-stats { grid-template-columns: 1fr; }
  .contact { padding: 64px var(--pad); }
  .hero-cards { grid-template-columns: 1fr; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .logo-marquee { margin-top: 48px; }
  .logo-strip { gap: 44px; padding-right: 44px; }
  .hero-actions .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
  /* Le défilement des marques est une animation, pas une transition : il faut
     l'arrêter explicitement et laisser la liste revenir à la ligne. */
  .logo-track { animation: none; width: auto; }
  .logo-strip { flex-wrap: wrap; gap: 24px; padding-right: 0; }
  .logo-strip + .logo-strip { display: none; }
}
