/* ==========================================================================
   HealthBridge, feuille de style unique. Aucune dépendance externe.

   Direction relevée sur Mobbin, références suivies :
   - le héros plein cadre : Function Health (1fe49a89), Hims (2aac84d2),
     Superpower (7c1e2d1c), fixé par CLAUDE.md ;
   - sous le héros, refait le 25 novembre : Ease (2f4189b4, 5a0b10db) pour
     l'énoncé du problème et le panneau à fragment d'interface, Jack & Jill
     (4db18ef6) et Mora (d1616dbe) pour les colonnes à filet, Function
     (7c72acdf, 0767f6cf) pour les cartes d'étapes, Maze (b07657a6) pour la
     sécurité, Wild (1bac0acb) pour la feuille de route, Oura (6191ed09) pour
     le panneau d'accès.

   Le vert remplace l'orange d'OREPH. Un produit de santé qui emprunte la
   couleur d'un installateur télécom ne dit rien à personne.
   ========================================================================== */

:root {
  /* Structure de Biograph (Mobbin b226f222) : héros plein cadre, titre
     dedans, rangée de repères. Mais sol CLAIR, et média sombre seulement
     dans le héros. Le sol sombre intégral a été jugé trop sombre, comme le
     site vitrine avant lui ; c'est aussi ce qui rapproche les deux sites,
     qui appartiennent à la même maison. */
  --paper: #f6f5f1;
  --paper-2: #edece6;
  --panel: #dfeae0;
  --panel-deep: #cfe0d2;
  --ink: #11201a;
  --ink-muted: #4d5a53;
  --ink-faint: #58635d;

  --green: #1d5138;
  --green-deep: #0f3524;
  --green-ink: #174430;

  --line: #d8d6cf;
  --line-strong: #bdbab2;

  --radius: 12px;
  --radius-lg: 24px;
  --wrap: 1200px;
  --gutter: 20px;

  --step--2: 0.72rem;
  --step--1: clamp(0.85rem, 0.82rem + 0.13vw, 0.93rem);
  --step-0: clamp(1rem, 0.96rem + 0.2vw, 1.08rem);
  --step-1: clamp(1.15rem, 1.05rem + 0.45vw, 1.45rem);
  --step-2: clamp(1.5rem, 1.25rem + 1.3vw, 2.25rem);
  --step-3: clamp(1.9rem, 1.35rem + 2.5vw, 3.2rem);
  --step-4: clamp(2.3rem, 1.45rem + 3.9vw, 4.3rem);

  --sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  /* Romain de système : la référence Ease tient ses titres en romain, et une
     police distante coûterait deux requêtes et quarante kilo-octets sur un
     réseau mobile à Kinshasa. */
  --serif: ui-serif, Georgia, "Iowan Old Style", "Times New Roman", serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--step-0);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--green);
  text-underline-offset: 3px;
}
a:hover {
  color: var(--green-deep);
}

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

/* Titres en romain : la signature des plateformes cliniques relevées. */
h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.015em;
  margin: 0 0 0.5em;
  text-wrap: balance;
}

h1 {
  font-size: var(--step-4);
}
h2 {
  font-size: var(--step-3);
}
h3 {
  font-size: var(--step-1);
  font-family: var(--sans);
  font-weight: 600;
  letter-spacing: -0.02em;
}

p {
  margin: 0 0 1em;
  text-wrap: pretty;
}

ul,
ol {
  margin: 0 0 1em;
  padding-left: 1.2em;
}

/* --- Utilitaires -------------------------------------------------------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: clamp(56px, 9vw, 120px);
}

.section--tight {
  padding-block: clamp(32px, 5vw, 56px);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--mono);
  font-size: var(--step--2);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 22px;
}

.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  background: var(--green);
  flex: none;
}

.lede {
  font-size: var(--step-1);
  color: var(--ink-muted);
  max-width: 58ch;
  line-height: 1.5;
}

.muted {
  color: var(--ink-muted);
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  /* L'accent est clair sur ce fond sombre : du blanc dessus tombait à
     2,87:1. Encre sur papier, le contraste maximal disponible. */
  background: var(--ink);
  color: var(--paper);
  padding: 12px 20px;
  font-weight: 700;
}
.skip:focus {
  left: 8px;
  top: 8px;
}

/* --- Boutons ------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border: 1px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-weight: 500;
  font-size: var(--step--1);
  text-decoration: none;
  cursor: pointer;
  transition:
    background-color 0.15s ease,
    border-color 0.15s ease,
    color 0.15s ease;
}

.btn--primary {
  background: var(--green);
  color: #fff;
}
.btn--primary:hover {
  background: var(--green-deep);
  color: #fff;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* --- En-tête ------------------------------------------------------------ */
/* Barre simple d'après Ease : signe à gauche, liens à droite, une seule
   pilule verte pour l'action. Pas la pilule flottante d'OREPH : ce n'est pas
   le même produit et la copier brouillerait les deux. */
/* En-tête transparent posé sur la photographie, comme chez Biograph. */
/* Pilule flottante posée sur la photographie, comme Superpower (7c1e2d1c).
   Une barre claire collée en haut couperait la vidéo en deux. */
.header {
  position: fixed;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 50;
  width: fit-content;
  max-width: calc(100% - 2 * var(--gutter));
  border-radius: 999px;
  background: rgba(13, 32, 26, 0.72);
  backdrop-filter: blur(14px) saturate(140%);
  padding-inline: 10px;
}

.header__bar {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  flex: none;
  margin-right: auto;
}

/* Le symbole : un H dont la barre est un pouls, piliers d'un pont. Dessiné
   d'après le logo fourni le 25 novembre, mesuré au pixel. */
.brand svg {
  width: 30px;
  height: 30px;
  flex: none;
  color: var(--green);
}

/* Le nom en romain gras, « par Oreph » en dessous, comme sur le logo. */
.brand__name {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.01em;
}

.brand__name span {
  display: block;
  margin-top: 4px;
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--ink-faint);
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--ink);
  color: var(--paper);
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-size: var(--step--1);
  padding: 11px 18px;
  cursor: pointer;
}

.nav {
  display: none;
}
.nav[data-open="true"] {
  display: flex;
}

.nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav__list a {
  display: block;
  color: var(--ink);
  text-decoration: none;
  text-decoration: none;
  padding: 10px 0;
}

@media (min-width: 900px) {
  .nav-toggle {
    display: none;
  }
  .nav,
  .nav[data-open="true"] {
    display: block;
  }
  .nav__list {
    display: flex;
    align-items: center;
    gap: 6px;
  }
  .nav__list a {
    padding: 9px 14px;
    font-size: var(--step--1);
    white-space: nowrap;
  }
  .nav__list a:hover {
    color: var(--green);
  }
  .nav__list .btn--primary,
  .nav__list .btn--primary:hover {
    color: #fff;
  }
  .nav__cta {
    margin-left: 8px;
  }
}

/* Entre 900 et 1119 px, le menu complet et le bouton « Inscrire un centre »
   ne tiennent pas sur une ligne : mesuré, le bouton dépassait l'écran de 17
   à 135 px. Les deux liens les moins utiles s'effacent ; ils restent dans
   le pied de page, et leurs sections dans la page. */
@media (min-width: 900px) and (max-width: 1119px) {
  .nav__secondaire {
    display: none;
  }
}

/* Plein écran au téléphone, comme sur le site OREPH : un panneau déroulant
   posé sur le titre est une forme qu'aucune des références ne retient.

   Au téléphone, la pilule unique se sépare en deux : le nom à gauche, le
   bouton à droite, chacun sur son verre, comme l'en-tête OREPH relevé sur
   t1energy.com. La pilule unique avait deux défauts vus sur iPhone :
   - le bouton « Menu » faisait une seconde pilule sombre dans la première ;
   - surtout, la pilule porte un transform et un backdrop-filter, qui font
     d'elle le bloc conteneur de ses descendants en position fixe. Le
     panneau « plein écran » s'ouvrait donc à l'intérieur de la pilule :
     une boîte claire de 300 px, le nom blanc sur blanc, les liens coupés. */
@media (max-width: 899px) {
  .header {
    left: 0;
    right: 0;
    top: 12px;
    transform: none;
    width: auto;
    max-width: none;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-radius: 0;
    padding-inline: var(--gutter);
  }
  .header__bar {
    justify-content: space-between;
    padding-inline: 0;
    min-height: 0;
  }
  .header .brand,
  .header .nav-toggle {
    background: rgba(13, 32, 26, 0.74);
    backdrop-filter: blur(14px) saturate(140%);
    -webkit-backdrop-filter: blur(14px) saturate(140%);
    border-radius: 999px;
  }
  .header .brand {
    padding: 8px 18px 8px 12px;
    margin-right: 0;
  }
  /* Menu ouvert, les pilules sont posées sur le papier : le verre y virait
     au gris délavé. Elles passent au vert plein de la marque. */
  .header:has(.nav[data-open="true"]) .brand,
  .header:has(.nav[data-open="true"]) .nav-toggle {
    background: var(--green-deep);
  }
  .header .nav-toggle {
    padding: 13px 20px;
    color: #fff;
    font-size: var(--step-0);
    font-weight: 500;
  }
  .nav[data-open="true"] {
    position: fixed;
    inset: 0;
    z-index: 40;
    flex-direction: column;
    background: var(--paper);
    padding: 96px var(--gutter) 32px;
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  .brand,
  .nav-toggle {
    position: relative;
    z-index: 50;
  }
  .nav[data-open="true"] .nav__list a,
  .nav[data-open="true"] .nav__list > li > a {
    color: var(--ink);
    font-family: var(--serif);
    font-size: clamp(1.5rem, 1.1rem + 2vw, 2rem);
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
  }
  .nav[data-open="true"] .nav__list .btn--primary {
    color: #fff;
  }
  .nav[data-open="true"] .nav__cta {
    margin-top: 24px;
  }
  .nav[data-open="true"] .nav__cta .btn {
    display: flex;
    justify-content: space-between;
    width: 100%;
    border-radius: 18px;
    padding: 18px 22px;
    font-family: var(--mono);
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }
  .nav[data-open="true"] .nav__cta .btn::after {
    content: "→";
    font-family: var(--sans);
  }
}

/* --- Pied de page ------------------------------------------------------- */
.footer {
  background: var(--paper-2);
  border-top: 1px solid var(--line);
  padding-block: 44px 26px;
  font-size: var(--step--1);
}

.footer__grid {
  display: grid;
  gap: 28px;
}

@media (min-width: 760px) {
  .footer__grid {
    grid-template-columns: 1.6fr 1fr 1fr;
  }
}

.footer h2 {
  font-family: var(--mono);
  font-size: var(--step--2);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-faint);
  margin-bottom: 14px;
}

.footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer li {
  margin-bottom: 8px;
}

.footer a {
  color: var(--ink-muted);
  text-decoration: none;
}

/* Le logo garde l'encre du nom : la règle des liens du pied l'aurait grisé. */
.footer .brand {
  color: var(--ink);
}

.footer a:hover {
  color: var(--green);
  text-decoration: underline;
}

.footer__legal {
  margin-top: 32px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  justify-content: space-between;
  color: var(--ink-faint);
}

/* --- Héros plein cadre --------------------------------------------------
   Forme dominante des références santé : Function Health (Mobbin 1fe49a89),
   Hims (2aac84d2), Superpower (7c1e2d1c). Photographie plein cadre, titre
   sérif blanc en bas à gauche, une seule pilule, repères en bas à droite.
   Le contenu reste celui de Biograph ; seule la mise en page change. La page
   redevient claire dès la section suivante.
   ------------------------------------------------------------------------ */
.hero {
  position: relative;
  isolation: isolate;
  min-height: min(94svh, 820px);
  display: flex;
  align-items: flex-end;
  padding-block: 120px 44px;
  overflow: hidden;
  background: #0c1411;
}

/* L'affiche par-dessus, jamais la vidéo à opacité 0 : WebKit refuse de lire
   un média qu'il juge invisible. Jamais de z-index négatif non plus. */
.hero__bg,
.hero__bg img,
.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__bg {
  z-index: 2;
  transition: opacity 1.4s ease;
}

.hero__video {
  z-index: 1;
}

.hero[data-video-ready="true"] .hero__bg {
  opacity: 0;
}

/* Voile de lisibilité, mesuré pixel par pixel sur la boucle entière, pas
   posé au jugé. Il part du bas, là où vit le texte. */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background: linear-gradient(
    to top,
    rgba(4, 14, 11, 0.82) 0%,
    rgba(4, 14, 11, 0.72) 28%,
    rgba(4, 14, 11, 0.5) 50%,
    rgba(4, 14, 11, 0.24) 68%,
    rgba(4, 14, 11, 0.06) 86%,
    rgba(4, 14, 11, 0) 100%
  );
}

@media (max-width: 1023px) {
  .hero::after {
    background: linear-gradient(
      to top,
      rgba(4, 14, 11, 0.94) 0%,
      rgba(4, 14, 11, 0.89) 30%,
      rgba(4, 14, 11, 0.76) 54%,
      rgba(4, 14, 11, 0.4) 70%,
      rgba(4, 14, 11, 0.12) 88%,
      rgba(4, 14, 11, 0) 100%
    );
  }
}

.hero__inner {
  position: relative;
  z-index: 4;
  width: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
}

.hero__lede {
  min-width: 0;
  max-width: 38rem;
}

.hero h1 {
  color: #fff;
  font-size: clamp(1.9rem, 1rem + 2.4vw, 3rem);
  max-width: 23ch;
  margin: 0 0 16px;
  line-height: 1.08;
}

.hero__note {
  margin: 0 0 26px;
  max-width: 44ch;
  color: rgba(255, 255, 255, 0.84);
  font-size: var(--step-0);
  line-height: 1.5;
}

/* Une seule pilule, claire, comme le « Start testing » de Function. */
.hero .btn--pill {
  display: inline-flex;
  border-radius: 999px;
  padding: 12px 26px;
  background: #fff;
  color: var(--green);
  border: 0;
}

.hero .btn--pill:hover {
  background: var(--paper);
  color: var(--green);
}

/* Repères en bas à droite, séparés par un filet clair : rangée de Function. */
.hero__marks {
  flex: none;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-auto-flow: column;
  border-top: 1px solid rgba(255, 255, 255, 0.28);
}

.hero__marks li {
  padding: 14px 18px 0 0;
  max-width: 15rem;
}

.hero__marks li + li {
  border-left: 1px solid rgba(255, 255, 255, 0.28);
  padding-left: 18px;
}

.hero__marks b {
  display: block;
  font-weight: 500;
  font-size: var(--step--1);
  color: #fff;
}

.hero__marks span {
  display: block;
  margin-top: 4px;
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.4;
}

/* Sous 980 px les repères passent sous le titre ; sous 900 px ils quittent
   la vidéo et se posent sur le papier, juste après le héros (.reperes). */
@media (max-width: 980px) {
  .hero__inner {
    flex-direction: column;
    align-items: stretch;
  }
  .hero__marks {
    margin-top: 32px;
  }
}

@media (max-width: 899px) {
  .hero__marks {
    display: none;
  }
  .hero {
    min-height: min(86svh, 720px);
  }
}

.reperes {
  display: none;
}

@media (max-width: 899px) {
  .reperes {
    display: block;
    list-style: none;
    margin: 0 auto;
    padding-top: 28px;
    padding-bottom: 0;
  }
  .reperes li {
    margin: 0;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
  }
  .reperes b {
    display: block;
    font-weight: 500;
    font-size: var(--step--1);
  }
  .reperes span {
    display: block;
    margin-top: 2px;
    font-family: var(--mono);
    font-size: 0.66rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--ink-muted);
  }
}

/* Le rapprochement lent sert de repli quand la lecture est refusée. */
@keyframes heroZoom {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.18);
  }
}

.hero__bg img {
  transform-origin: 56% 54%;
  animation: heroZoom 20s cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
  will-change: transform;
}

.hero[data-video-ready="true"] .hero__bg img {
  animation: none;
}

@media (prefers-reduced-motion: reduce) {
  .hero__bg img {
    animation: none;
    transform: none;
  }
}

/* L'en-tête est sur le papier : encre, sauf le bouton, que
   « .header .nav__list a » battrait en spécificité. */
.header .brand,
.header .nav__list > li > a {
  color: #fff;
}

.header .nav__list > li > a:hover {
  color: rgba(255, 255, 255, 0.78);
}

.header .brand__name span {
  color: rgba(255, 255, 255, 0.64);
}

/* Sur la pilule sombre, le symbole passe en blanc comme le nom. */
.header .brand svg {
  color: #fff;
}

.header .nav__list .btn--primary,
.header .nav__list .btn--primary:hover {
  color: #fff;
}

/* Micro-étiquette posée sur la photographie : le gris des sections est trop
   faible dessus. L'audit ne l'avait pas vue, il résout le fond à la couleur
   de la section et non à l'image. */

/* ==========================================================================
   Sections sous le héros, refaites d'après Mobbin le 25 novembre.
   ========================================================================== */

.pastille {
  display: inline-flex;
  justify-self: start;
  align-self: start;
  margin: 0 0 18px;
  padding: 4px 10px;
  border-radius: 6px;
  background: var(--panel);
  color: var(--green-ink);
  font-size: var(--step--1);
  font-weight: 500;
}

.tete {
  max-width: 46rem;
  margin-bottom: clamp(28px, 4vw, 48px);
}

.tete h2 {
  margin-bottom: 0.3em;
}

.tete .lede {
  margin: 0;
}

/* --- Le problème : un énoncé, puis les constats en colonnes à filet ------ */
/* Ease (2f4189b4), Jack & Jill (4db18ef6), Mora (d1616dbe). */

.enonce {
  display: grid;
  gap: 8px;
  margin-bottom: clamp(36px, 6vw, 72px);
}

.enonce__texte {
  max-width: 30ch;
  margin: 0;
  color: var(--green-deep);
  font-size: var(--step-3);
  line-height: 1.15;
}

.constats {
  display: grid;
  gap: 28px 32px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.constats li {
  padding-top: 18px;
  border-top: 1px solid var(--line-strong);
}

.constats__num,
.etape__num,
.phases__etiquette {
  display: block;
  margin: 0 0 10px;
  color: var(--ink-faint);
  font-family: var(--mono);
  font-size: var(--step--2);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.constats h3,
.briques h3 {
  margin-bottom: 6px;
  font-size: var(--step-0);
}

.constats p,
.briques p {
  margin: 0;
  color: var(--ink-muted);
  font-size: var(--step--1);
  line-height: 1.55;
}

@media (min-width: 700px) {
  .constats,
  .briques {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .enonce {
    grid-template-columns: minmax(0, 1fr) minmax(0, 2.4fr);
    align-items: start;
  }
  .constats,
  .briques {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* --- Comment ça marche : quatre cartes, un fragment d'interface chacune -- */
/* Function (7c72acdf, 0767f6cf), Superpower (4f88b0b2), Hims (9014405b). */

.etapes {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.etape {
  display: flex;
  flex-direction: column;
  padding: clamp(22px, 2.6vw, 28px);
  border-radius: var(--radius-lg);
  background: var(--panel);
}

.etape h3 {
  margin-bottom: 8px;
  font-family: var(--serif);
  font-size: var(--step-2);
  font-weight: 400;
  letter-spacing: -0.015em;
}

.etape > p:not(.etape__num) {
  color: var(--ink-muted);
  font-size: var(--step--1);
  line-height: 1.55;
}

.etape .mini {
  margin-top: auto;
}

@media (min-width: 700px) {
  .etapes {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1200px) {
  .etapes {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* Le fragment d'interface : la carte blanche de l'application, ses libellés
   réels, aucun chiffre. */
.mini {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px;
  border: 1px solid rgb(17 32 26 / 0.08);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 10px 28px rgb(17 32 26 / 0.08);
  font-size: 0.8rem;
}

.mini p,
.mini ul {
  margin: 0;
}

.mini ul {
  padding: 0;
  list-style: none;
}

.mini__titre {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  font-weight: 600;
}

.mini__coches {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mini__coches li {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink-muted);
}

.mini__coches li::before {
  content: "";
  flex: none;
  width: 14px;
  height: 14px;
  border: 1.5px solid var(--line-strong);
  border-radius: 50%;
}

.mini__coches li.ok {
  color: var(--ink);
}

.mini__coches li.ok::before {
  border-color: var(--green);
  background: var(--green)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4 8.5 2.5 2.5 5.5-6' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    center / 10px no-repeat;
}

.mini__pied {
  padding-top: 10px;
  border-top: 1px solid var(--line);
  color: #8a5a00;
}

.puce {
  display: inline-flex;
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 600;
  white-space: nowrap;
}

.puce--attente {
  background: #fbf1dc;
  color: #7a4f00;
}

.puce--danger {
  background: #f8e5e1;
  color: #8f281c;
}

.mini__constat {
  padding: 8px 10px;
  border-left: 3px solid #a06a00;
  border-radius: 6px;
  background: #fbf1dc;
  color: #5e3d00;
}

.mini__boutons {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.mini__bouton {
  flex: none;
  padding: 5px 10px;
  white-space: nowrap;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-weight: 600;
}

.mini__bouton--plein {
  flex: 1;
  border-color: var(--green);
  background: var(--green);
  color: #fff;
  text-align: center;
}

.mini__segments {
  display: grid;
  grid-auto-columns: minmax(0, 1fr);
  grid-auto-flow: column;
  gap: 2px;
  padding: 3px;
  border-radius: 8px;
  background: var(--paper-2);
  text-align: center;
}

.mini__segments span {
  padding: 5px 4px;
  border-radius: 6px;
  color: var(--ink-muted);
}

.mini__segments .choisi {
  background: #fff;
  box-shadow: 0 1px 2px rgb(17 32 26 / 0.12);
  color: var(--ink);
  font-weight: 600;
}

/* Une ligne de tableau sans valeur : le libellé, puis un trait gris. */
.mini__lignes li,
.mini__champ {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 7px 0;
  border-bottom: 1px solid var(--line);
}

.mini__lignes li:last-child {
  border-bottom: 0;
}

.mini__lignes i,
.mini__champ i {
  flex: none;
  width: 52px;
  height: 8px;
  border-radius: 4px;
  background: var(--paper-2);
}

.mini__champ i {
  width: 64px;
  height: 26px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: #fff;
}

.mini__libelle {
  font-weight: 600;
}

.mini__alertes {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mini__alertes li {
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}

.mini__alertes li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

/* --- Ce qui est mesuré : le panneau d'Ease, texte et interface ---------- */
/* Ease (5a0b10db). */

.vitrine {
  display: grid;
  gap: 28px;
  padding: clamp(24px, 4vw, 56px);
  border-radius: var(--radius-lg);
  background: var(--panel);
}

.vitrine__texte p {
  max-width: 46ch;
  color: var(--ink-muted);
}

.familles {
  display: grid;
  gap: 10px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.familles li {
  display: flex;
  flex-direction: column;
  padding: 10px 14px;
  border-radius: 12px;
  background: rgb(255 255 255 / 0.7);
}

.familles b {
  font-weight: 600;
}

.familles span {
  color: var(--ink-muted);
  font-size: var(--step--1);
}

.mini--grand {
  align-self: center;
  width: 100%;
  max-width: 26rem;
  justify-self: center;
  font-size: 0.85rem;
}

@media (min-width: 900px) {
  .vitrine {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
  }
}

/* --- Les briques ------------------------------------------------------- */

.briques {
  display: grid;
  gap: 28px 32px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.briques li {
  padding-top: 18px;
  border-top: 1px solid var(--line-strong);
}

.statut {
  display: inline-flex;
  margin-bottom: 10px;
  padding: 2px 8px;
  border-radius: 6px;
  background: var(--paper-2);
  color: var(--ink-muted);
  font-size: var(--step--2);
  font-weight: 600;
}

.statut--fait {
  background: var(--panel);
  color: var(--green-ink);
}

/* --- Sécurité : aplat teinté, petites cartes à étiquette --------------- */
/* Maze (b07657a6). */

.confiance {
  padding: clamp(24px, 4vw, 56px);
  border-radius: var(--radius-lg);
  background: var(--panel);
}

.confiance h2 {
  margin-bottom: clamp(20px, 3vw, 32px);
  font-size: var(--step-2);
  text-align: center;
}

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

.confiance__cartes li {
  padding: 16px 18px;
  border-radius: 14px;
  background: #fff;
}

.confiance__cartes p {
  margin: 10px 0 0;
  font-size: var(--step--1);
  line-height: 1.5;
}

.etiquette {
  display: inline-flex;
  padding: 2px 8px;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  color: var(--ink-muted);
  font-family: var(--mono);
  font-size: var(--step--2);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

@media (min-width: 700px) {
  .confiance__cartes {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .confiance__cartes {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* --- Feuille de route : une ligne, un repère par phase ----------------- */
/* Wild (1bac0acb), BitcoinOS (92ac65c4). */

.phases {
  display: grid;
  gap: 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.phases li {
  position: relative;
  padding-left: 26px;
}

/* La ligne et son repère : verticale sur téléphone, horizontale ensuite. */
.phases li::before {
  content: "";
  position: absolute;
  top: 4px;
  left: 0;
  width: 10px;
  height: 10px;
  background: var(--line-strong);
}

.phases li::after {
  content: "";
  position: absolute;
  top: 18px;
  bottom: -24px;
  left: 4px;
  width: 1px;
  background: var(--line-strong);
}

.phases li:last-child::after {
  display: none;
}

.phases__en-cours::before {
  background: var(--green) !important;
}

.phases__etiquette {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.phases__etiquette .statut {
  margin: 0;
  font-family: var(--sans);
  letter-spacing: 0;
  text-transform: none;
}

.phases h3 {
  margin-bottom: 6px;
  font-size: var(--step-1);
}

.phases p:not(.phases__etiquette) {
  margin: 0;
  color: var(--ink-muted);
  font-size: var(--step--1);
}

@media (min-width: 900px) {
  .phases {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px;
  }
  .phases li {
    padding: 28px 0 0;
  }
  .phases li::before {
    top: 0;
  }
  .phases li::after {
    top: 4px;
    right: -32px;
    bottom: auto;
    left: 14px;
    width: auto;
    height: 1px;
  }
}

.mesures {
  margin-top: clamp(32px, 5vw, 56px);
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.mesures__titre {
  margin: 0 0 12px;
  font-weight: 600;
}

.mesures ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.mesures li {
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--paper-2);
  font-size: var(--step--1);
}

/* --- Où en est le projet ----------------------------------------------- */

.etat {
  display: grid;
  gap: 28px;
  padding-top: clamp(28px, 4vw, 40px);
  border-top: 1px solid var(--line-strong);
}

.etat__titre {
  max-width: 22ch;
  color: var(--green-deep);
  font-size: var(--step-2);
}

.etat p:not(.pastille) {
  max-width: 58ch;
  color: var(--ink-muted);
}

.etat__promesses {
  padding: 22px 24px;
  border-radius: var(--radius-lg);
  background: var(--paper-2);
}

.etat__promesses h3 {
  font-size: var(--step-0);
}

.etat__promesses ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--ink-muted);
  font-size: var(--step--1);
}

.etat__promesses li {
  padding-left: 22px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231d5138' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-9'/%3E%3C/svg%3E")
    0 0.2em / 14px no-repeat;
}

@media (min-width: 900px) {
  .etat {
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
    align-items: start;
  }
}

/* --- Panneau d'accès : le seul aplat sombre après le héros ------------- */
/* Oura (6191ed09) : le titre à gauche, la phrase et les boutons à droite. */

.acces {
  display: grid;
  gap: 24px;
  padding: clamp(28px, 5vw, 64px);
  border-radius: var(--radius-lg);
  background: #14322a;
  color: #fff;
}

.acces__titre {
  max-width: 16ch;
  margin: 0;
  color: #fff;
  font-size: var(--step-3);
}

.acces__droite p {
  max-width: 46ch;
  color: rgb(255 255 255 / 0.86);
}

.btn--clair {
  background: #fff;
  color: var(--ink);
}

.btn--clair:hover {
  background: var(--panel);
  color: var(--ink);
}

.btn--contour {
  border-color: rgb(255 255 255 / 0.45);
  color: #fff;
}

.btn--contour:hover {
  border-color: #fff;
  color: #fff;
}

.acces__agents {
  margin: 0;
  padding-top: 20px;
  border-top: 1px solid rgb(255 255 255 / 0.18);
  color: rgb(255 255 255 / 0.86);
  font-size: var(--step--1);
}

.acces__agents a {
  color: #fff;
  font-weight: 600;
  text-underline-offset: 3px;
}

@media (min-width: 900px) {
  .acces {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: end;
  }
  .acces__agents {
    grid-column: 1 / -1;
  }
}

/* ==========================================================================
   Politique de confidentialité. Forme des références Mobbin : titre, date
   d'effet, sommaire numéroté, sections numérotées. Sommaire en colonne fixe
   à gauche à partir de 1024 px (Folk fe50db8b, Slack 511bdc26, Upwork
   628dc701), au-dessus du texte en dessous. Tableau des données comme Upwork.
   ========================================================================== */

/* L'en-tête flotte au-dessus de la page : la marge le dégage. */
.legal {
  padding-block: 128px clamp(56px, 9vw, 112px);
}

.legal__tete {
  max-width: 46rem;
  margin-bottom: clamp(32px, 5vw, 56px);
}

.legal__tete h1 {
  font-size: var(--step-3);
}

.legal__date {
  font-family: var(--mono);
  font-size: var(--step--1);
  color: var(--ink-faint);
  margin-bottom: 20px;
}

.legal__intro {
  font-size: var(--step-1);
  line-height: 1.45;
  color: var(--ink-muted);
}

.legal__corps {
  display: grid;
  gap: 32px;
}

.legal__sommaire {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding-block: 18px;
}

.legal__sommaire-titre {
  font-family: var(--mono);
  font-size: var(--step--2);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 10px;
}

.legal__sommaire ol {
  margin: 0;
  padding-left: 1.4em;
  font-size: var(--step--1);
  line-height: 1.5;
}

.legal__sommaire li + li {
  margin-top: 6px;
}

.legal__sommaire a {
  color: var(--ink);
  text-decoration: none;
}

.legal__sommaire a:hover {
  color: var(--green);
  text-decoration: underline;
}

/* min-width : un enfant de grille s'élargirait au tableau au lieu de le
   laisser défiler, et la page déborderait sur téléphone. */
.legal__texte {
  min-width: 0;
  max-width: 46rem;
  line-height: 1.6;
}

/* Une ancre suivie depuis le sommaire ne passe pas sous l'en-tête flottant. */
.legal__texte section {
  scroll-margin-top: 110px;
}

.legal__texte section + section {
  margin-top: clamp(36px, 5vw, 52px);
}

.legal__texte h2 {
  font-size: var(--step-2);
}

.legal__liste {
  padding-left: 1.2em;
}

.legal__liste li + li {
  margin-top: 10px;
}

/* Le tableau défile seul sur téléphone, la page jamais. */
.legal__tableau {
  overflow-x: auto;
  margin-bottom: 1.2em;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.legal__tableau table {
  width: 100%;
  min-width: 34rem;
  border-collapse: collapse;
  font-size: var(--step--1);
  line-height: 1.5;
}

.legal__tableau caption {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.legal__tableau th,
.legal__tableau td {
  padding: 12px 14px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}

.legal__tableau tbody tr:last-child > * {
  border-bottom: 0;
}

.legal__tableau thead th {
  font-family: var(--mono);
  font-size: var(--step--2);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 400;
  color: var(--ink-faint);
  background: var(--paper-2);
}

.legal__tableau tbody th {
  font-weight: 600;
  width: 22%;
}

@media (min-width: 1024px) {
  .legal__corps {
    grid-template-columns: 15rem minmax(0, 1fr);
    gap: 56px;
    align-items: start;
  }

  .legal__sommaire {
    position: sticky;
    top: 110px;
  }
}

/* Téléphone : le tableau devient une fiche par ligne, chaque valeur sous son
   libellé. Trois colonnes à 360 px cachaient « Pourquoi » derrière un
   défilement latéral que personne ne fait. */
@media (max-width: 639px) {
  .legal__tableau {
    overflow: visible;
  }

  .legal__tableau table {
    min-width: 0;
  }

  .legal__tableau thead {
    display: none;
  }

  .legal__tableau tr,
  .legal__tableau th,
  .legal__tableau td {
    display: block;
    width: auto;
  }

  .legal__tableau tr {
    padding: 14px 16px;
    border-bottom: 1px solid var(--line);
  }

  .legal__tableau tbody tr:last-child {
    border-bottom: 0;
  }

  .legal__tableau th,
  .legal__tableau td {
    padding: 0;
    border: 0;
  }

  .legal__tableau tbody th {
    width: auto;
    margin-bottom: 8px;
  }

  .legal__tableau td + td {
    margin-top: 8px;
  }

  .legal__tableau td::before {
    content: attr(data-label);
    display: block;
    font-family: var(--mono);
    font-size: var(--step--2);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ink-faint);
    margin-bottom: 2px;
  }
}
