/* =====================================================================
   HUMAN FIRST — FEUILLE DE STYLE COMMUNE (V23)
   ---------------------------------------------------------------------
   Ce fichier habille les 4 pages : index.html, pourquoi.html,
   trouver.html, contact.html.

   COMMENT LIRE CE FICHIER
   1. Les "variables" (couleurs, polices…) sont définies une seule fois
      dans :root ci-dessous. Changez une couleur ici et elle change
      partout sur le site.
   2. Toutes les règles commencent par #hf : elles ne s'appliquent qu'à
      l'intérieur de <div id="hf">…</div>. Cela évite tout conflit avec
      le thème WordPress.
   3. Les classes suivent le préfixe "hf-" (Human First). Exemple :
      .hf-section = une section de page, .hf-btn = un bouton.
   4. Le fichier est rangé par blocs, dans l'ordre d'apparition sur
      les pages. Utilisez Ctrl+F avec le titre du bloc (ex. "TÉMOIGNAGES").

   CHARTE : Bleu Human First #2C338E · Orange Human First #F6931B
   ===================================================================== */

/* Polices Figtree (titres) + Nunito Sans (texte), hébergées sur le site
   (dossier fonts/ à côté de ce fichier) : aucune connexion à Google (RGPD). */
@font-face { font-family: 'Figtree'; font-style: normal; font-weight: 500; font-display: swap; src: url('fonts/figtree-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Figtree'; font-style: normal; font-weight: 600; font-display: swap; src: url('fonts/figtree-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Figtree'; font-style: normal; font-weight: 700; font-display: swap; src: url('fonts/figtree-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'Figtree'; font-style: normal; font-weight: 800; font-display: swap; src: url('fonts/figtree-latin-800-normal.woff2') format('woff2'); }
@font-face { font-family: 'Figtree'; font-style: normal; font-weight: 900; font-display: swap; src: url('fonts/figtree-latin-900-normal.woff2') format('woff2'); }
@font-face { font-family: 'Nunito Sans'; font-style: normal; font-weight: 400; font-display: swap; src: url('fonts/nunito-sans-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Nunito Sans'; font-style: normal; font-weight: 600; font-display: swap; src: url('fonts/nunito-sans-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Nunito Sans'; font-style: normal; font-weight: 700; font-display: swap; src: url('fonts/nunito-sans-latin-700-normal.woff2') format('woff2'); }

/* =====================================================================
   1. VARIABLES (couleurs, polices, arrondis, ombres)
   ===================================================================== */
:root {
  --hf-blue: #2C338E;        /* Bleu Human First (charte) */
  --hf-blue-deep: #1E2468;   /* Bleu foncé (survol des boutons bleus) */
  --hf-blue-ink: #141845;    /* Bleu nuit (titres, pied de page) */
  --hf-blue-soft: #EEF0FB;   /* Bleu très pâle (fonds d'icônes) */
  --hf-orange: #F6931B;      /* Orange Human First (charte, boutons) */
  --hf-orange-deep: #B25F00; /* Orange foncé, lisible en texte sur fond blanc */
  --hf-orange-soft: #FFF3E3; /* Orange très pâle (fonds) */
  --hf-ink: #1E293B;         /* Texte courant (charte) */
  --hf-muted: #555C77;       /* Texte secondaire */
  --hf-line: #E2E5F1;        /* Bordures fines */
  --hf-paper: #FFFFFF;       /* Fond blanc */
  --hf-mist: #F5F6FB;        /* Fond gris-bleu clair (sections alternées) */
  --hf-good: #1F7A4D;        /* Vert (coches de validation) */
  --hf-good-soft: #E6F4EC;
  --hf-chart-1: #4A52B8;     /* Couleurs du graphique du simulateur ROI */
  --hf-chart-2: #F6931B;
  --hf-chart-3: #9AA2EA;
  --hf-font-display: 'Figtree', 'Avenir Next', 'Segoe UI', system-ui, sans-serif;
  --hf-font-body: 'Nunito Sans', 'Avenir Next', 'Segoe UI', system-ui, sans-serif;
  --hf-radius: 18px;
  --hf-shadow: 0 1px 2px rgba(20,24,69,.06), 0 10px 30px -12px rgba(20,24,69,.18);
  --hf-max: 1180px;          /* Largeur maximale du contenu */
}

body { margin: 0; padding: 0; background: var(--hf-paper); }

/* =====================================================================
   2. BASE (remise à zéro limitée au site Human First)
   ===================================================================== */
#hf {
  font-family: var(--hf-font-body);
  color: var(--hf-ink);
  background: var(--hf-paper);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
#hf *, #hf *::before, #hf *::after { box-sizing: border-box; }
#hf h1, #hf h2, #hf h3, #hf h4, #hf h5, #hf p, #hf ul, #hf ol, #hf figure, #hf blockquote { margin: 0; padding: 0; }
#hf ul, #hf ol { list-style: none; }
#hf img { max-width: 100%; height: auto; display: block; }
#hf a { color: inherit; text-decoration: none; }
#hf button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; }
#hf h1, #hf h2, #hf h3, #hf h4 {
  font-family: var(--hf-font-display);
  color: var(--hf-blue-ink);
  text-wrap: balance;
  letter-spacing: -.02em;
  line-height: 1.1;
}
#hf strong { font-weight: 700; }
/* Texte lu par Google et les lecteurs d'écran, mais invisible à l'écran */
#hf .hf-sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Accessibilité : contour visible quand on navigue au clavier */
#hf :focus-visible { outline: 3px solid var(--hf-orange); outline-offset: 3px; border-radius: 6px; }

/* Lien "Aller au contenu" (invisible sauf au clavier) — utile pour l'accessibilité et le SEO */
#hf .hf-skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--hf-blue); color: #fff; padding: 10px 16px; border-radius: 8px; }
#hf .hf-skip:focus { left: 16px; }

/* ---------------------------------------------------------------------
   BILINGUE FR / EN
   Chaque texte existe deux fois : <span lang="fr">…</span><span lang="en">…</span>
   Le bouton FR/ENG change l'attribut data-lang de <div id="hf">, et les
   deux lignes ci-dessous masquent la langue non choisie.
   --------------------------------------------------------------------- */
#hf[data-lang="fr"] [lang="en"] { display: none !important; }
#hf[data-lang="en"] [lang="fr"] { display: none !important; }

/* =====================================================================
   3. MISE EN PAGE GÉNÉRALE (conteneur, sections, titres de section)
   ===================================================================== */
#hf .hf-wrap { max-width: var(--hf-max); margin-inline: auto; padding-inline: 24px; }
#hf .hf-section { padding-block: 68px; background: var(--hf-paper); }
#hf .hf-section--mist { background: var(--hf-mist); }
#hf .hf-section--tight { padding-block: 44px; }

/* Petit sur-titre orange avec un rond (ex. "PARCOURS DE LABELLISATION") */
#hf .hf-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--hf-font-display); font-weight: 700; font-size: 13px;
  letter-spacing: .12em; text-transform: uppercase; color: var(--hf-orange-deep);
}
#hf .hf-eyebrow::before { content: ""; flex: none; width: 10px; height: 10px; border-radius: 50%; border: 2.5px solid currentColor; }
#hf .hf-h2 { font-size: clamp(26px, 3.2vw, 38px); font-weight: 800; margin-top: 10px; line-height: 1.15; }
#hf .hf-lead { font-size: 17px; color: var(--hf-muted); max-width: 62ch; margin-top: 12px; }
#hf .hf-head { max-width: 780px; margin-bottom: 36px; }
#hf .hf-head--center { margin-inline: auto; text-align: center; }
#hf .hf-head--center .hf-lead { margin-inline: auto; }

/* =====================================================================
   4. BOUTONS ET LIENS
   .hf-btn--orange = action principale · .hf-btn--blue = secondaire
   .hf-btn--ghost = bouton blanc sur fond bleu · .hf-btn--sm = petit
   ===================================================================== */
#hf .hf-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--hf-font-display); font-weight: 800; font-size: 15px;
  padding: 14px 24px; border-radius: 999px;
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
  white-space: nowrap;
}
#hf .hf-btn svg { width: 18px; height: 18px; flex: none; }
#hf .hf-btn--orange { background: var(--hf-orange); color: var(--hf-blue-ink); box-shadow: 0 8px 22px -8px rgba(246,147,27,.7); }
#hf .hf-btn--orange:hover { transform: translateY(-2px); background: #FFA23A; }
#hf .hf-btn--blue { background: var(--hf-blue); color: #fff; }
#hf .hf-btn--blue:hover { transform: translateY(-2px); background: var(--hf-blue-deep); }
#hf .hf-btn--ghost { border: 2px solid rgba(255,255,255,.45); color: #fff; }
#hf .hf-btn--ghost:hover { border-color: #fff; }
#hf .hf-btn--sm { padding: 9px 16px; font-size: 13.5px; }
#hf .hf-link { font-family: var(--hf-font-display); font-weight: 800; font-size: 14px; color: var(--hf-blue); display: inline-flex; align-items: center; gap: 6px; letter-spacing: .02em; }
#hf .hf-link svg { width: 16px; height: 16px; transition: transform .15s; }
#hf .hf-link:hover { color: var(--hf-orange-deep); }
#hf .hf-link:hover svg { transform: translateX(3px); }

/* =====================================================================
   5. EN-TÊTE (logo, menu, sélecteur de langue, menu mobile)
   ===================================================================== */
#hf .hf-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--hf-line); }
#hf .hf-header__in { display: flex; align-items: center; gap: 24px; height: 80px; }
#hf .hf-logo img { height: 50px; width: auto; }
#hf .hf-nav { display: flex; gap: 24px; margin-left: auto; font-family: var(--hf-font-display); font-weight: 600; font-size: 15px; }
#hf .hf-nav a { color: var(--hf-ink); padding-block: 6px; border-bottom: 2px solid transparent; transition: color .15s; }
#hf .hf-nav a:hover, #hf .hf-nav a.active { color: var(--hf-blue); border-bottom-color: var(--hf-orange); }
#hf .hf-header__actions { display: flex; align-items: center; gap: 12px; }

/* Sélecteur de langue FR / ENG */
#hf .hf-lang-switch { display: inline-flex; background: var(--hf-mist); border: 1.5px solid var(--hf-line); border-radius: 999px; padding: 3px; font-family: var(--hf-font-display); font-weight: 800; font-size: 12px; }
#hf .hf-lang-switch button { padding: 5px 11px; border-radius: 999px; color: var(--hf-muted); transition: background-color .2s, color .2s; }
#hf .hf-lang-switch button[aria-pressed="true"] { background: var(--hf-blue); color: #fff; box-shadow: 0 2px 6px rgba(44,51,142,.3); }

/* Menu mobile (bouton "hamburger" visible sous 1080 px de large) */
#hf .hf-burger { display: none; width: 42px; height: 42px; border-radius: 10px; align-items: center; justify-content: center; border: 1.5px solid var(--hf-line); }
#hf .hf-burger svg { width: 22px; height: 22px; }
#hf .hf-mobile { display: none; }

/* =====================================================================
   6. HÉRO (haut de page) + LECTEUR VIDÉO YOUTUBE
   La vidéo s'affiche d'abord sous forme d'image (rapide, sans cookie).
   Au clic, main.js la remplace par le lecteur YouTube, sur le site.
   ===================================================================== */
#hf .hf-hero { position: relative; padding-block: 52px 60px; background: linear-gradient(180deg,#fff 0%,var(--hf-mist) 100%); overflow: hidden; }
#hf .hf-hero__ring { position: absolute; width: 720px; height: 720px; border-radius: 50%; border: 24px solid var(--hf-blue); opacity: .06; right: -220px; top: -160px; pointer-events: none; }
#hf .hf-hero__grid { position: relative; display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; }
#hf .hf-hero__grid--single { grid-template-columns: minmax(0, 820px); }
#hf .hf-hero h1 { font-size: clamp(34px, 4.8vw, 58px); font-weight: 900; letter-spacing: -.03em; line-height: 1.04; margin-top: 16px; }
#hf .hf-hero h1 em { font-style: normal; color: var(--hf-blue); }
#hf .hf-hero h1 .hf-o { color: var(--hf-orange); }
#hf .hf-hero__sub { font-size: 18.5px; color: var(--hf-muted); max-width: 58ch; margin-top: 20px; line-height: 1.6; }
#hf .hf-hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

#hf .hf-video { position: relative; min-width: 0; }
#hf .hf-video__frame { position: relative; aspect-ratio: 16 / 9; max-width: 100%; border-radius: 20px; overflow: hidden; background: var(--hf-blue-ink); box-shadow: var(--hf-shadow); }
#hf .hf-video__frame img, #hf .hf-video__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
#hf .hf-video__play { position: absolute; inset: 0; display: grid; place-items: center; background: linear-gradient(180deg, rgba(20,24,69,0) 40%, rgba(20,24,69,.55) 100%); }
#hf .hf-video__btn { width: 78px; height: 78px; border-radius: 50%; background: var(--hf-orange); color: var(--hf-blue-ink); display: grid; place-items: center; box-shadow: 0 10px 30px -8px rgba(0,0,0,.5); transition: transform .15s; }
#hf .hf-video__btn svg { width: 30px; height: 30px; margin-left: 4px; }
#hf .hf-video__play:hover .hf-video__btn { transform: scale(1.07); }
#hf .hf-video__caption { margin-top: 14px; display: flex; gap: 10px; align-items: baseline; font-size: 14.5px; color: var(--hf-muted); }
#hf .hf-video__caption b { font-family: var(--hf-font-display); color: var(--hf-blue-ink); }

/* =====================================================================
   7. BANDEAU DE CHIFFRES CLÉS (100+, 60+, 115+, 3 000+)
   ===================================================================== */
#hf .hf-stats { background: var(--hf-blue); color: #fff; }
#hf .hf-stats ul { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); }
#hf .hf-stats li { padding: 24px 20px; border-left: 1px solid rgba(255,255,255,.14); text-align: center; }
#hf .hf-stats li:first-child { border-left: 0; }
#hf .hf-stats strong { display: block; font-family: var(--hf-font-display); font-size: clamp(32px,3.8vw,44px); font-weight: 900; letter-spacing: -.03em; line-height: 1; font-variant-numeric: tabular-nums; }
#hf .hf-stats strong sup { color: var(--hf-orange); font-size: .55em; vertical-align: .6em; }
#hf .hf-stats span { display: block; margin-top: 6px; font-size: 14.5px; color: #C9CDF0; }

/* =====================================================================
   8. LES 6 PILIERS (texte toujours visible, sans bouton "Détails")
   ===================================================================== */
#hf .hf-pillars { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 22px; }
#hf .hf-pillar { background: var(--hf-paper); border: 1px solid var(--hf-line); border-radius: 22px; padding: 24px; min-width: 0; }
#hf .hf-pillar__ic { width: 48px; height: 48px; border-radius: 12px; background: var(--hf-orange-soft); color: var(--hf-orange-deep); display: grid; place-items: center; }
#hf .hf-pillar__ic svg { width: 24px; height: 24px; }
#hf .hf-pillar h3 { font-size: 20px; font-weight: 800; margin-top: 18px; color: var(--hf-blue); }
#hf .hf-pillar ul { display: grid; gap: 10px; margin-top: 14px; }
#hf .hf-pillar li { font-size: 15px; color: var(--hf-muted); position: relative; padding-left: 18px; line-height: 1.55; }
#hf .hf-pillar li::before { content: ""; position: absolute; left: 0; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: var(--hf-orange); }

/* =====================================================================
   9. SIMULATEUR "UN LABEL POUR TOUS LES ACTEURS DE SANTÉ"
   Boutons (onglets) + panneaux : Proposition de valeur | Parole du pro.
   Pour ajouter un secteur : voir le commentaire dans index.html.
   ===================================================================== */
#hf .hf-sectors-nav { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; margin-bottom: 28px; }
#hf .hf-sector-btn { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 16px; background: var(--hf-paper); border: 2px solid var(--hf-line); font-family: var(--hf-font-display); font-weight: 700; font-size: 16px; color: var(--hf-blue-ink); text-align: left; transition: border-color .2s, transform .2s, background-color .2s; }
#hf .hf-sector-btn:hover { border-color: var(--hf-blue); transform: translateY(-2px); }
#hf .hf-sector-btn[aria-selected="true"] { border-color: var(--hf-blue); background: var(--hf-blue-soft); box-shadow: inset 0 0 0 1px var(--hf-blue); }
#hf .hf-sector-btn__ic { flex: none; width: 40px; height: 40px; border-radius: 11px; background: var(--hf-blue-soft); color: var(--hf-blue); display: grid; place-items: center; }
#hf .hf-sector-btn__ic svg { width: 21px; height: 21px; }
#hf .hf-sector-btn[aria-selected="true"] .hf-sector-btn__ic { background: var(--hf-blue); color: #fff; }

#hf .hf-sector-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; background: var(--hf-paper); border-radius: 24px; padding: 32px; box-shadow: var(--hf-shadow); border: 1px solid var(--hf-line); }
#hf .hf-sector-panel[hidden] { display: none; }
#hf .hf-panel-title { font-family: var(--hf-font-display); font-weight: 800; font-size: 20px; color: var(--hf-blue); margin-bottom: 22px; }
#hf .hf-values { display: grid; gap: 14px; }
#hf .hf-values li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; font-size: 15.5px; color: var(--hf-ink); font-weight: 600; line-height: 1.45; }
#hf .hf-values .hf-check { width: 26px; height: 26px; border-radius: 50%; background: var(--hf-good-soft); color: var(--hf-good); display: grid; place-items: center; }
#hf .hf-values .hf-check svg { width: 14px; height: 14px; }

/* Bloc "La parole du professionnel" (citation sur fond orange pâle) */
#hf .hf-quote { background: var(--hf-orange-soft); padding: 28px; border-radius: 18px; border: 1px solid rgba(246,147,27,.22); }
#hf .hf-quote + .hf-quote { margin-top: 16px; }
#hf .hf-quote__text { font-size: 15px; color: var(--hf-ink); font-style: italic; display: grid; gap: 10px; }
#hf .hf-quote__text ul { display: grid; gap: 6px; padding-left: 4px; }
#hf .hf-quote__text li { position: relative; padding-left: 16px; }
#hf .hf-quote__text li::before { content: ""; position: absolute; left: 0; top: .6em; width: 6px; height: 6px; border-radius: 50%; background: var(--hf-orange); }
#hf .hf-quote__by { margin-top: 18px; display: flex; align-items: center; gap: 14px; border-top: 1px solid rgba(246,147,27,.25); padding-top: 16px; }
#hf .hf-quote__by img { flex: none; }
#hf .hf-quote__photo { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; border: 2px solid #fff; box-shadow: 0 2px 8px rgba(20,24,69,.15); }
#hf .hf-quote__logo { width: 72px; height: 48px; object-fit: contain; background: #fff; border-radius: 8px; padding: 4px; border: 1px solid var(--hf-line); }
#hf .hf-quote__by b { display: block; font-family: var(--hf-font-display); font-size: 15px; color: var(--hf-blue-ink); }
#hf .hf-quote__by span { display: block; font-size: 13px; color: var(--hf-muted); }
#hf .hf-quote__note { font-size: 12px; color: var(--hf-muted); margin-top: 8px; font-style: normal; }

/* Carte d'appel à l'action quand un secteur n'a pas encore de témoignage */
#hf .hf-panel-cta { background: var(--hf-blue); color: #fff; border-radius: 18px; padding: 30px; display: flex; flex-direction: column; justify-content: center; gap: 16px; position: relative; overflow: hidden; }
#hf .hf-panel-cta::after { content: ""; position: absolute; width: 260px; height: 260px; border-radius: 50%; border: 16px solid rgba(246,147,27,.22); right: -90px; bottom: -110px; }
#hf .hf-panel-cta h4 { color: #fff; font-size: 22px; font-weight: 800; }
#hf .hf-panel-cta p { color: #D3D6F3; font-size: 15px; }
#hf .hf-panel-cta .hf-btn { align-self: flex-start; position: relative; z-index: 1; }

/* =====================================================================
   10. BLOC LOGICIEL MÉTIER CERTIKeys (logo agrandi x3)
   ===================================================================== */
#hf .hf-software-card { background: linear-gradient(135deg, var(--hf-blue-ink) 0%, var(--hf-blue-deep) 100%); color: #fff; border-radius: 24px; padding: 44px; display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; position: relative; overflow: hidden; box-shadow: var(--hf-shadow); }
#hf .hf-software-card::after { content: ""; position: absolute; width: 380px; height: 380px; border-radius: 50%; border: 18px solid rgba(246,147,27,.18); right: -110px; top: -130px; pointer-events: none; }
#hf .hf-software-card .hf-eyebrow { color: var(--hf-orange); }
#hf .hf-software-card h2 { color: #fff; font-size: clamp(24px, 3vw, 32px); font-weight: 800; margin-top: 12px; }
#hf .hf-software-card h2 em { font-style: italic; }
#hf .hf-software-card p { color: #C9CDF0; font-size: 16px; margin-top: 12px; line-height: 1.6; }
#hf .hf-software-logo-badge { position: relative; z-index: 1; background: #fff; border-radius: 20px; padding: 32px 24px; text-align: center; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; box-shadow: 0 10px 30px rgba(0,0,0,.25); }
/* Logo CERTIKeys : largeur triplée par rapport à la V6 (environ 110 px → 330 px) */
#hf .hf-software-logo-badge img { width: 330px; max-width: 100%; height: auto; object-fit: contain; }
#hf .hf-software-logo-badge .hf-software-name { font-family: var(--hf-font-display); font-weight: 800; font-size: 16px; color: var(--hf-blue-ink); letter-spacing: .05em; }
#hf .hf-software-logo-badge .hf-software-tag { font-size: 12px; color: var(--hf-muted); text-transform: uppercase; letter-spacing: .08em; font-weight: 700; }
/* Si le fichier du logo est absent, main.js affiche ce texte de secours */
#hf .hf-logo-fallback { font-family: var(--hf-font-display); font-weight: 900; font-size: 44px; letter-spacing: -.02em; color: var(--hf-blue); }
#hf .hf-logo-fallback span { color: var(--hf-orange); }

/* =====================================================================
   11. TÉMOIGNAGES (photo à côté du nom)
   Pour ajouter un témoignage : copier un bloc <figure class="hf-testi">.
   ===================================================================== */
#hf .hf-testis { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 22px; }
#hf .hf-testi { background: var(--hf-paper); border: 1px solid var(--hf-line); border-radius: 22px; padding: 24px; display: flex; flex-direction: column; min-width: 0; }
#hf .hf-testi__mark { width: 34px; height: 34px; color: var(--hf-orange); }
#hf .hf-testi blockquote { margin-top: 14px; font-size: 15.5px; line-height: 1.6; color: var(--hf-ink); font-style: italic; }
#hf .hf-testi blockquote strong { color: var(--hf-blue-ink); font-style: italic; }
#hf .hf-testi figcaption { margin-top: auto; padding-top: 20px; display: flex; align-items: center; gap: 14px; }
#hf .hf-testi__photo { flex: none; width: 64px; height: 64px; border-radius: 50%; object-fit: cover; border: 3px solid var(--hf-mist); }
#hf .hf-testi figcaption b { display: block; font-family: var(--hf-font-display); font-size: 15.5px; color: var(--hf-blue-ink); line-height: 1.25; }
#hf .hf-testi figcaption span { display: block; font-size: 13px; color: var(--hf-muted); line-height: 1.4; margin-top: 2px; }
#hf .hf-testi__note { margin-top: 18px; font-size: 13px; color: var(--hf-muted); text-align: center; }

/* Témoignage du fondateur (page Pourquoi se labelliser) */
#hf .hf-founder { display: grid; grid-template-columns: 200px 1fr; gap: 40px; align-items: center; background: var(--hf-paper); border: 1px solid var(--hf-line); border-radius: 24px; padding: 32px; }
#hf .hf-founder img { width: 200px; height: 200px; border-radius: 50%; object-fit: cover; border: 6px solid var(--hf-mist); }
#hf .hf-founder blockquote { font-family: var(--hf-font-display); font-weight: 600; font-size: clamp(17px, 1.7vw, 20px); line-height: 1.55; color: var(--hf-blue-ink); display: grid; gap: 14px; }
#hf .hf-founder figcaption { margin-top: 18px; font-size: 15px; color: var(--hf-muted); }
#hf .hf-founder figcaption b { color: var(--hf-blue-ink); font-family: var(--hf-font-display); }

/* =====================================================================
   12. BANDEAU "ILS NOUS FONT CONFIANCE" (logos des labellisés)
   ===================================================================== */
#hf .hf-partners { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 22px 44px; }
#hf .hf-partners a { display: block; opacity: .85; transition: opacity .15s, transform .15s; }
#hf .hf-partners a:hover { opacity: 1; transform: translateY(-2px); }
#hf .hf-partners img { height: 52px; width: auto; max-width: 220px; object-fit: contain; }

/* =====================================================================
   13. PREUVES CHIFFRÉES & SOURCES (page Pourquoi)
   ===================================================================== */
#hf .hf-proofs { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; }
#hf .hf-proof { background: var(--hf-paper); border: 1px solid var(--hf-line); border-radius: 22px; padding: 28px; display: flex; flex-direction: column; min-width: 0; }
#hf .hf-proof__kicker { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
#hf .hf-proof__kicker span { font-family: var(--hf-font-display); font-weight: 700; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--hf-muted); }
#hf .hf-proof__kicker em { font-style: normal; font-size: 11.5px; font-weight: 700; padding: 4px 9px; border-radius: 999px; background: var(--hf-orange-soft); color: var(--hf-orange-deep); white-space: nowrap; }
#hf .hf-proof__num { font-family: var(--hf-font-display); font-weight: 900; font-size: clamp(52px, 5.5vw, 70px); letter-spacing: -.05em; line-height: 1; color: var(--hf-blue); margin-top: 16px; font-variant-numeric: tabular-nums; }
#hf .hf-proof h3 { font-size: 18.5px; font-weight: 800; margin-top: 10px; }
#hf .hf-proof > p { font-size: 15px; color: var(--hf-muted); margin-top: 8px; }
#hf .hf-acc { margin-top: 20px; border-top: 1px solid var(--hf-line); }
#hf .hf-acc details { border-bottom: 1px solid var(--hf-line); }
#hf .hf-acc summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 0; font-family: var(--hf-font-display); font-weight: 700; font-size: 14px; color: var(--hf-blue); }
#hf .hf-acc summary::-webkit-details-marker { display: none; }
#hf .hf-acc summary svg { width: 16px; height: 16px; transition: transform .2s; flex: none; }
#hf .hf-acc details[open] summary svg { transform: rotate(180deg); }
#hf .hf-acc__body { padding-bottom: 14px; font-size: 14px; color: var(--hf-ink); display: grid; gap: 12px; }
#hf .hf-src { display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: start; }
#hf .hf-src b { font-family: var(--hf-font-display); font-weight: 800; color: var(--hf-blue-ink); font-variant-numeric: tabular-nums; min-width: 58px; }
#hf .hf-src cite { display: block; font-style: normal; font-size: 12px; color: var(--hf-muted); margin-top: 2px; }
#hf .hf-src cite a { text-decoration: underline; text-underline-offset: 2px; }
#hf .hf-src cite a:hover { color: var(--hf-blue); }
#hf .hf-note { margin-top: 24px; font-size: 13px; color: var(--hf-muted); text-align: center; }

/* =====================================================================
   14. SIMULATEUR DE ROI (page Pourquoi) — calculs dans main.js
   ===================================================================== */
#hf .hf-sim { display: grid; grid-template-columns: 1.05fr .95fr; border-radius: 28px; overflow: hidden; box-shadow: var(--hf-shadow); border: 1px solid var(--hf-line); }
#hf .hf-sim__in { background: var(--hf-paper); padding: 36px; min-width: 0; }
#hf .hf-sim__out { background: var(--hf-blue); color: #fff; padding: 36px; display: flex; flex-direction: column; gap: 22px; min-width: 0; }
#hf .hf-label { display: block; font-family: var(--hf-font-display); font-weight: 700; font-size: 14px; color: var(--hf-blue-ink); margin-bottom: 10px; }
#hf .hf-types { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 10px; }
#hf .hf-type { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 14px; border-radius: 14px; border: 1.5px solid var(--hf-line); background: var(--hf-paper); text-align: left; font-family: var(--hf-font-display); font-weight: 700; font-size: 14px; line-height: 1.25; color: var(--hf-ink); transition: border-color .15s, background-color .15s; }
#hf .hf-type svg { width: 24px; height: 24px; color: var(--hf-blue); }
#hf .hf-type:hover { border-color: var(--hf-blue); }
#hf .hf-type[aria-pressed="true"] { border-color: var(--hf-blue); background: var(--hf-blue-soft); box-shadow: inset 0 0 0 1px var(--hf-blue); }
#hf .hf-field { margin-top: 24px; }
#hf .hf-range-row { display: flex; align-items: center; gap: 16px; }
#hf .hf-range-row input[type=range] { flex: 1; min-width: 0; accent-color: var(--hf-orange); height: 6px; }
#hf .hf-num { width: 110px; flex: none; padding: 10px 12px; border-radius: 10px; border: 1.5px solid var(--hf-line); font: inherit; font-family: var(--hf-font-display); font-weight: 800; font-size: 17px; color: var(--hf-blue-ink); background: var(--hf-paper); font-variant-numeric: tabular-nums; }
#hf .hf-num:focus { border-color: var(--hf-blue); outline: none; box-shadow: 0 0 0 3px var(--hf-blue-soft); }
#hf .hf-seg { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 6px; padding: 5px; border-radius: 14px; background: var(--hf-mist); border: 1px solid var(--hf-line); }
#hf .hf-seg button { padding: 10px 8px; border-radius: 10px; font-family: var(--hf-font-display); font-weight: 700; font-size: 13.5px; line-height: 1.2; color: var(--hf-muted); }
#hf .hf-seg button small { display: block; font-weight: 600; font-size: 12px; opacity: .85; }
#hf .hf-seg button[aria-pressed="true"] { background: var(--hf-paper); color: var(--hf-blue-ink); box-shadow: 0 2px 8px -2px rgba(20,24,69,.2); }
#hf .hf-adv { margin-top: 24px; border: 1px solid var(--hf-line); border-radius: 14px; }
#hf .hf-adv summary { list-style: none; cursor: pointer; padding: 14px 16px; font-family: var(--hf-font-display); font-weight: 700; font-size: 14.5px; color: var(--hf-blue); display: flex; justify-content: space-between; align-items: center; gap: 10px; }
#hf .hf-adv summary::-webkit-details-marker { display: none; }
#hf .hf-adv summary svg { width: 16px; height: 16px; transition: transform .2s; flex: none; }
#hf .hf-adv[open] summary svg { transform: rotate(180deg); }
#hf .hf-adv__grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; padding: 4px 16px 18px; }
#hf .hf-adv__grid label { font-size: 13px; font-weight: 700; color: var(--hf-muted); display: grid; gap: 6px; }
#hf .hf-adv__grid .hf-num { width: 100%; font-size: 15px; }
#hf .hf-adv__hint { grid-column: 1/-1; font-size: 12.5px; color: var(--hf-muted); }
#hf .hf-out__label { font-family: var(--hf-font-display); font-weight: 700; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: #C9CDF0; }
#hf .hf-out__total { font-family: var(--hf-font-display); font-weight: 900; font-size: clamp(40px, 5vw, 60px); letter-spacing: -.04em; line-height: 1; color: #fff; font-variant-numeric: tabular-nums; margin-top: 6px; }
#hf .hf-out__sub { color: #D3D6F3; font-size: 15px; margin-top: 8px; }
#hf .hf-out__sub b { color: var(--hf-orange); font-family: var(--hf-font-display); }
#hf .hf-out__card { background: var(--hf-paper); color: var(--hf-ink); border-radius: 18px; padding: 22px; }
#hf .hf-bar { display: flex; gap: 2px; height: 14px; border-radius: 4px; overflow: hidden; background: var(--hf-blue-soft); }
#hf .hf-bar span { display: block; height: 100%; transition: width .35s ease; }
#hf .hf-legend { display: grid; gap: 12px; margin-top: 18px; }
#hf .hf-legend li { display: grid; grid-template-columns: 12px 1fr auto; gap: 10px; align-items: baseline; font-size: 14.5px; }
#hf .hf-legend i { width: 12px; height: 12px; border-radius: 3px; display: block; transform: translateY(1px); }
#hf .hf-legend small { display: block; color: var(--hf-muted); font-size: 12.5px; }
#hf .hf-legend b { font-family: var(--hf-font-display); font-weight: 800; font-variant-numeric: tabular-nums; color: var(--hf-blue-ink); }
#hf .hf-out__kpis { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
#hf .hf-out__kpis div { border: 1px solid rgba(255,255,255,.18); border-radius: 14px; padding: 14px 16px; }
#hf .hf-out__kpis b { display: block; font-family: var(--hf-font-display); font-size: 24px; font-weight: 900; font-variant-numeric: tabular-nums; }
#hf .hf-out__kpis span { font-size: 13px; color: #C9CDF0; }
#hf .hf-out__foot { font-size: 12.5px; color: #AEB3E6; line-height: 1.45; }

/* =====================================================================
   15. LES 3 ÉTAPES DE LABELLISATION (design validé : cercles numérotés)
   ===================================================================== */
#hf .hf-steps { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 40px; position: relative; }
#hf .hf-steps::before { content: ""; position: absolute; top: 24px; left: 48px; right: 48px; height: 2px; background: repeating-linear-gradient(90deg, var(--hf-line) 0 8px, transparent 8px 14px); z-index: 0; }
#hf .hf-step { position: relative; z-index: 1; display: flex; flex-direction: column; min-width: 0; }
#hf .hf-step__num { display: inline-flex; align-items: center; justify-content: center; width: 50px; height: 50px; border-radius: 50%; border: 2.5px solid var(--hf-blue); font-family: var(--hf-font-display); font-weight: 900; font-size: 20px; color: var(--hf-blue); margin-bottom: 20px; background: var(--hf-paper); }
#hf .hf-section--mist .hf-step__num { background: var(--hf-mist); }
#hf .hf-step h3 { font-size: 23px; font-weight: 900; color: var(--hf-blue-ink); }
#hf .hf-step__tag { font-family: var(--hf-font-display); font-weight: 700; font-size: 15px; color: var(--hf-orange-deep); margin-top: 6px; margin-bottom: 18px; display: block; }
#hf .hf-step ul { display: grid; gap: 12px; }
#hf .hf-step li { font-size: 15.5px; color: var(--hf-muted); position: relative; padding-left: 22px; line-height: 1.55; }
#hf .hf-step li::before { content: ""; position: absolute; left: 0; top: .55em; width: 8px; height: 8px; border-radius: 50%; background: var(--hf-orange); }
#hf .hf-step li ul { margin-top: 8px; gap: 6px; }
#hf .hf-step li li { font-size: 14.5px; padding-left: 18px; }
#hf .hf-step li li::before { width: 6px; height: 6px; background: transparent; border: 1.5px solid var(--hf-orange); top: .6em; }
#hf .hf-step .hf-link { margin-top: 22px; }
#hf .hf-step-next { background: var(--hf-paper); border: 1.5px dashed var(--hf-blue); border-radius: 18px; padding: 24px 32px; margin-top: 48px; display: flex; gap: 16px; align-items: center; }
#hf .hf-step-next svg { width: 32px; height: 32px; color: var(--hf-orange); flex: none; }
#hf .hf-step-next p { font-size: 16px; color: var(--hf-ink); }

/* V9 — Fond des 3 étapes, inspiré de la carte "Logiciel Métier CERTIKeys"
   (bloc 10) : dégradé bleu nuit, anneaux orange décoratifs, étapes en
   cartes translucides. Pour revenir à l'ancien design, supprimez ces
   règles et retirez <div class="hf-steps-card"> dans pourquoi.html. */
#hf .hf-steps-card { background: linear-gradient(135deg, var(--hf-blue-ink) 0%, var(--hf-blue-deep) 100%); color: #fff; border-radius: 28px; padding: 44px 40px; position: relative; overflow: hidden; box-shadow: var(--hf-shadow); isolation: isolate; }
#hf .hf-steps-card::before { content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%; border: 18px solid rgba(246,147,27,.18); right: -140px; top: -170px; pointer-events: none; z-index: -1; }
#hf .hf-steps-card::after { content: ""; position: absolute; width: 300px; height: 300px; border-radius: 50%; border: 14px solid rgba(255,255,255,.06); left: -120px; bottom: -150px; pointer-events: none; z-index: -1; }
#hf .hf-steps-card .hf-eyebrow { color: var(--hf-orange); }
#hf .hf-steps-card .hf-h2 { color: #fff; }
#hf .hf-steps-card .hf-steps { gap: 24px; }
#hf .hf-steps-card .hf-steps::before { top: 53px; left: 60px; right: 60px; background: repeating-linear-gradient(90deg, rgba(246,147,27,.55) 0 8px, transparent 8px 14px); }
#hf .hf-steps-card .hf-step { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: 20px; padding: 24px 22px; backdrop-filter: blur(2px); transition: transform .2s, background-color .2s, border-color .2s; }
#hf .hf-steps-card .hf-step:hover { transform: translateY(-4px); background: rgba(255,255,255,.09); border-color: rgba(246,147,27,.45); }
#hf .hf-steps-card .hf-step__num { background: var(--hf-orange); border-color: var(--hf-orange); color: var(--hf-blue-ink); box-shadow: 0 0 0 6px rgba(246,147,27,.18); }
#hf .hf-steps-card .hf-step h3 { color: #fff; }
#hf .hf-steps-card .hf-step__tag { color: var(--hf-orange); }
#hf .hf-steps-card .hf-step li { color: #C9CDF0; }
#hf .hf-steps-card .hf-step .hf-link { color: #fff; margin-top: auto; padding-top: 22px; }
#hf .hf-steps-card .hf-step .hf-link:hover { color: var(--hf-orange); }
#hf .hf-steps-card .hf-step-next { background: rgba(255,255,255,.04); border-color: rgba(246,147,27,.6); }
#hf .hf-steps-card .hf-step-next p { color: #E4E6F8; }
#hf .hf-steps-card .hf-step-next strong { color: #fff; }

/* =====================================================================
   15 bis. FRISE CHRONOLOGIQUE DU PARCOURS (page Pourquoi, section 5)
   V14 : design clair. Fond gris clair, deux phases de 4 étapes dans
   des cartes blanches, reliées par une ligne pointillée orange.
   Sur mobile : frise verticale.
   ===================================================================== */
#hf .hf-steps-card .hf-step li a { color: var(--hf-orange); text-decoration: underline; text-underline-offset: 3px; }
/* Titre compact */
#hf .hf-parcours .hf-head { margin-bottom: 28px; }
#hf .hf-parcours .hf-h2 { font-size: clamp(22px, 2.4vw, 30px); }
#hf .hf-parcours .hf-lead { font-size: 16px; }
#hf .hf-timeline { display: grid; gap: 18px; }
#hf .hf-timeline__phase { background: var(--hf-paper); border: 1px solid var(--hf-line); border-radius: 22px; padding: 26px 28px 28px; box-shadow: var(--hf-shadow); }
#hf .hf-timeline__label { display: inline-block; font-family: var(--hf-font-display); font-weight: 800; font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; color: #fff; background: var(--hf-blue); padding: 6px 14px; border-radius: 999px; margin-bottom: 20px; }
#hf .hf-timeline__phase:last-child .hf-timeline__label { background: var(--hf-orange); color: var(--hf-blue-ink); }
#hf .hf-timeline__list { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 24px; position: relative; list-style: none; }
#hf .hf-timeline__list::before { content: ""; position: absolute; top: 21px; left: 22px; right: 22px; height: 2px; background: repeating-linear-gradient(90deg, var(--hf-orange) 0 8px, transparent 8px 14px); }
#hf .hf-timeline__item { position: relative; min-width: 0; }
#hf .hf-timeline__dot { position: relative; z-index: 1; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--hf-paper); border: 2.5px solid var(--hf-blue); color: var(--hf-blue); font-family: var(--hf-font-display); font-weight: 900; font-size: 17px; margin-bottom: 14px; }
#hf .hf-timeline__phase:last-child .hf-timeline__dot { background: var(--hf-orange); border-color: var(--hf-orange); color: var(--hf-blue-ink); }
#hf .hf-timeline__item h4 { color: var(--hf-blue-ink); font-size: 17px; font-weight: 800; line-height: 1.3; }
#hf .hf-timeline__item p { color: var(--hf-muted); font-size: 14.5px; line-height: 1.55; margin-top: 6px; }
#hf .hf-timeline__item a { color: var(--hf-blue); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
#hf .hf-timeline__item a:hover { color: var(--hf-orange-deep); }

/* =====================================================================
   15 ter. FAQ (page Pourquoi, V10) — blocs <details> dépliables
   ===================================================================== */
#hf .hf-faq { max-width: 860px; margin-inline: auto; display: grid; gap: 10px; }
#hf .hf-faq__item { background: var(--hf-paper); border: 1px solid var(--hf-line); border-radius: 16px; transition: border-color .2s, box-shadow .2s; }
#hf .hf-faq__item[open] { border-color: var(--hf-blue); box-shadow: var(--hf-shadow); }
#hf .hf-faq__item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 22px; font-family: var(--hf-font-display); font-weight: 700; font-size: 16.5px; color: var(--hf-blue-ink); }
#hf .hf-faq__item summary::-webkit-details-marker { display: none; }
#hf .hf-faq__item summary svg { flex: none; width: 22px; height: 22px; color: var(--hf-orange-deep); transition: transform .2s; }
#hf .hf-faq__item[open] summary svg { transform: rotate(180deg); }
#hf .hf-faq__item summary:hover { color: var(--hf-blue); }
#hf .hf-faq__a { padding: 0 24px 22px; }
#hf .hf-faq__a p { font-size: 15.5px; color: var(--hf-muted); line-height: 1.65; }
#hf .hf-faq__a a { color: var(--hf-blue); text-decoration: underline; text-underline-offset: 3px; }
#hf .hf-faq__cta { margin-top: 32px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 22px; }
#hf .hf-faq__cta p { font-family: var(--hf-font-display); font-weight: 700; font-size: 17px; color: var(--hf-blue-ink); }

/* =====================================================================
   16. NIVEAUX BRONZE / ARGENT / OR + SIMULATEUR PAR PROFIL (accueil, V9)
   Les boutons "Patients / Professionnels / Établissements" changent le
   texte affiché dans chaque carte (voir main.js, partie 4 bis).
   ===================================================================== */
#hf .hf-audience { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 0 auto 28px; padding: 6px; background: var(--hf-mist); border: 1px solid var(--hf-line); border-radius: 999px; width: fit-content; max-width: 100%; }
#hf .hf-audience__btn { display: inline-flex; align-items: center; gap: 10px; padding: 10px 20px 10px 10px; border-radius: 999px; border: 0; background: transparent; font-family: var(--hf-font-display); font-weight: 700; font-size: 15.5px; color: var(--hf-blue-ink); transition: background-color .2s, color .2s, box-shadow .2s; }
#hf .hf-audience__btn:hover { background: var(--hf-paper); }
#hf .hf-audience__btn[aria-pressed="true"] { background: var(--hf-blue); color: #fff; box-shadow: 0 6px 16px -6px rgba(44,51,142,.6); }
#hf .hf-audience__ic { width: 34px; height: 34px; border-radius: 50%; background: var(--hf-blue-soft); color: var(--hf-blue); display: grid; place-items: center; flex: none; }
#hf .hf-audience__ic svg { width: 18px; height: 18px; }
#hf .hf-audience__btn[aria-pressed="true"] .hf-audience__ic { background: var(--hf-orange); color: var(--hf-blue-ink); }

#hf .hf-levels { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 22px; }
/* V11 : "subgrid" aligne les 3 cartes ligne par ligne (médaille, titre,
   définition, encadré coloré) : les encadrés ont tous la même taille
   et le même espacement, quel que soit le profil choisi. */
#hf .hf-levels { grid-template-rows: auto auto auto 1fr; }
#hf .hf-level > .hf-level__for { align-self: stretch; }
#hf .hf-level { background: var(--hf-paper); border: 1px solid var(--hf-line); border-top: 5px solid var(--hf-level-c, var(--hf-blue)); border-radius: 22px; padding: 24px; text-align: center; box-shadow: var(--hf-shadow);
  grid-row: span 4; display: grid; grid-template-rows: subgrid; row-gap: 0; align-content: start; }
#hf .hf-level--bronze { --hf-level-c: #B87333; --hf-level-soft: #F8EDE3; }
#hf .hf-level--argent { --hf-level-c: #8E97A8; --hf-level-soft: #EEF0F4; }
#hf .hf-level--or     { --hf-level-c: #D4A017; --hf-level-soft: #FBF3DC; }
#hf .hf-level img { width: 84px; height: 84px; object-fit: contain; margin: 0 auto 12px; }
#hf .hf-level h3 { font-size: 20px; font-weight: 800; }
#hf .hf-level p { font-size: 15px; color: var(--hf-muted); margin-top: 8px; }
#hf .hf-level__for { margin-top: 16px; padding: 18px 18px 16px; border-radius: 16px; background: var(--hf-level-soft, var(--hf-mist)); text-align: left; flex: 1; animation: hf-fade .3s ease; }
#hf .hf-level__for[hidden] { display: none; }
#hf .hf-level__label { display: block; font-family: var(--hf-font-display); font-weight: 800; font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--hf-blue); }
#hf .hf-level__for p { color: var(--hf-ink); margin-top: 6px; }
/* Listes à puces dans les cartes (textes du visuel "3 niveaux", V9) */
#hf .hf-level__for ul { display: grid; gap: 9px; margin-top: 10px; }
#hf .hf-level__for li { font-size: 14.5px; color: var(--hf-ink); position: relative; padding-left: 18px; line-height: 1.5; }
#hf .hf-level__for li::before { content: ""; position: absolute; left: 0; top: .58em; width: 7px; height: 7px; border-radius: 50%; background: var(--hf-level-c, var(--hf-orange)); }
/* Titre du niveau dans la couleur de la médaille, comme sur le visuel */
#hf .hf-level--bronze h3 { color: #9A5B2E; }
#hf .hf-level--argent h3 { color: #6E7891; }
#hf .hf-level--or h3 { color: #B4820A; }
/* Bloc "Impact établissement" : bandeau coloré propre à chaque niveau */
#hf .hf-level__for--etablissements { display: flex; flex-direction: column; justify-content: center; }
#hf .hf-level--bronze .hf-level__for--etablissements { background: #E7B79A; }
#hf .hf-level--argent .hf-level__for--etablissements { background: #C9D6EA; }
#hf .hf-level--or .hf-level__for--etablissements { background: #5D7A97; }
#hf .hf-level--or .hf-level__for--etablissements p, #hf .hf-level--or .hf-level__for--etablissements .hf-level__label { color: #fff; }
#hf .hf-level__for--etablissements p { font-size: 16px; font-weight: 600; line-height: 1.5; }
#hf .hf-level__for--etablissements .hf-level__label { color: var(--hf-blue-ink); }
#hf .hf-audience-cta { margin-top: 24px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 22px; text-align: center; }
#hf .hf-audience-cta[hidden] { display: none; }
#hf .hf-audience-cta p { font-family: var(--hf-font-display); font-weight: 700; font-size: 17px; color: var(--hf-blue-ink); }
@keyframes hf-fade { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }

/* =====================================================================
   16 bis. FRISE DÉFILANTE DES LABELLISÉS (accueil, V11)
   La liste est présente deux fois : l'animation déplace l'ensemble de
   la moitié de sa largeur, ce qui crée une boucle sans fin.
   Vitesse : --hf-marquee-speed (plus grand = plus lent).
   ===================================================================== */
#hf .hf-marquee { --hf-marquee-speed: 90s; position: relative; overflow: hidden; padding-block: 8px;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%); }
#hf .hf-marquee__track { display: flex; width: max-content; animation: hf-marquee var(--hf-marquee-speed) linear infinite; }
#hf .hf-marquee:hover .hf-marquee__track, #hf .hf-marquee:focus-within .hf-marquee__track { animation-play-state: paused; }
#hf .hf-marquee__list { display: flex; gap: 28px; padding-right: 28px; list-style: none; flex: none; }
#hf .hf-marquee__list li { flex: none; }
#hf .hf-marquee__list img { height: 130px; width: auto; filter: drop-shadow(0 8px 14px rgba(20,24,69,.16)); transition: transform .25s; }
#hf .hf-marquee__list img:hover { transform: translateY(-6px) scale(1.04); }
@keyframes hf-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
/* Animations refusées par le visiteur : frise fixe, défilable à la main */
@media (prefers-reduced-motion: reduce) {
  #hf .hf-marquee { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
  #hf .hf-marquee__track { animation: none; }
  #hf .hf-marquee__list[aria-hidden="true"] { display: none; }
}

/* =====================================================================
   17. CARTE DES LABELLISÉS (page Trouver, V15 : carte maison)
   Gauche : recherche + filtres + liste. Droite : carte Leaflet.
   Couleurs des repères : Or / Argent / Bronze (bleu si niveau non indiqué).
   ===================================================================== */
#hf .hf-locator { display: grid; grid-template-columns: 380px 1fr; background: var(--hf-paper); border: 1px solid var(--hf-line); border-radius: 24px; box-shadow: var(--hf-shadow); overflow: hidden; height: 640px; }
#hf .hf-locator__panel { display: flex; flex-direction: column; gap: 12px; padding: 22px 18px 0 22px; border-right: 1px solid var(--hf-line); min-height: 0; }
#hf .hf-locator__search { position: relative; }
#hf .hf-locator__search svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--hf-muted); pointer-events: none; }
#hf .hf-locator__search input { width: 100%; height: 46px; padding: 0 14px 0 42px; border: 1.5px solid var(--hf-line); border-radius: 12px; font: inherit; font-size: 15px; color: var(--hf-ink); background: var(--hf-mist); transition: border-color .2s, background-color .2s; }
#hf .hf-locator__search input:focus { outline: none; border-color: var(--hf-blue); background: #fff; }
#hf .hf-locator__near { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; border-radius: 10px; border: 1.5px solid var(--hf-blue); background: #fff; color: var(--hf-blue); font-family: var(--hf-font-display); font-weight: 700; font-size: 14.5px; transition: background-color .2s, color .2s; }
#hf .hf-locator__near svg { width: 18px; height: 18px; }
#hf .hf-locator__near:hover, #hf .hf-locator__near[aria-pressed="true"] { background: var(--hf-blue); color: #fff; }
#hf .hf-locator__near.is-loading { opacity: .6; pointer-events: none; }
#hf .hf-locator__chips { display: flex; flex-wrap: wrap; gap: 6px; }
#hf .hf-locator__chips button { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 999px; border: 1px solid var(--hf-line); background: #fff; font-size: 13px; font-weight: 700; color: var(--hf-blue-ink); transition: background-color .2s, border-color .2s, color .2s; }
#hf .hf-locator__chips button svg { width: 14px; height: 14px; color: var(--hf-blue); }
#hf .hf-locator__chips button small { font-size: 11.5px; color: var(--hf-muted); font-weight: 700; }
#hf .hf-locator__chips button:hover { border-color: var(--hf-blue); }
#hf .hf-locator__chips button[aria-pressed="true"] { background: var(--hf-blue); border-color: var(--hf-blue); color: #fff; }
#hf .hf-locator__chips button[aria-pressed="true"] svg, #hf .hf-locator__chips button[aria-pressed="true"] small { color: #fff; }
#hf .hf-locator__count { font-size: 13px; font-weight: 700; color: var(--hf-muted); text-transform: uppercase; letter-spacing: .06em; margin-top: 2px; }
#hf .hf-locator__list { list-style: none; overflow-y: auto; flex: 1; min-height: 0; margin-right: -6px; padding: 0 6px 16px 0; display: grid; gap: 6px; align-content: start; }
#hf .hf-loc-card { width: 100%; display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; border: 1px solid transparent; background: transparent; text-align: left; transition: background-color .15s, border-color .15s; }
#hf .hf-loc-card:hover, #hf .hf-loc-card:focus-visible { background: var(--hf-mist); border-color: var(--hf-line); }
#hf .hf-loc-card__ic { flex: none; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: var(--hf-blue); }
#hf .hf-loc-card__ic svg { width: 18px; height: 18px; }
#hf .hf-loc-card__ic--or { background: linear-gradient(135deg,#F2C94C,#C9971A); }
#hf .hf-loc-card__ic--argent { background: linear-gradient(135deg,#C7CDD8,#8A93A6); }
#hf .hf-loc-card__ic--bronze { background: linear-gradient(135deg,#E3A27A,#A8643A); }
#hf .hf-loc-card__txt { flex: 1; min-width: 0; }
#hf .hf-loc-card__txt b { display: block; font-family: var(--hf-font-display); font-size: 14.5px; color: var(--hf-blue-ink); line-height: 1.3; }
#hf .hf-loc-card__txt span { display: block; font-size: 13px; color: var(--hf-muted); margin-top: 2px; }
#hf .hf-loc-card__meta { flex: none; display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
#hf .hf-loc-card__meta small { font-size: 12px; font-weight: 700; color: var(--hf-blue); }
#hf .hf-loc-empty { padding: 18px 8px; color: var(--hf-muted); font-size: 14.5px; }
/* Pastilles de niveau */
#hf .hf-lvl { display: inline-block; padding: 3px 9px; border-radius: 999px; font-size: 11.5px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
#hf .hf-lvl--or { background: #FBF3DC; color: #8A6409; }
#hf .hf-lvl--argent { background: #EEF0F4; color: #5A6378; }
#hf .hf-lvl--bronze { background: #F8EDE3; color: #8A4E26; }
/* Carte */
/* Le style général des images du site ne doit pas déformer les tuiles de la carte */
#hf .leaflet-container img { max-width: none !important; max-height: none !important; }
#hf .leaflet-container { font-family: var(--hf-font-body); }
#hf .hf-locator__map { position: relative; min-height: 0; background: #DCE5F2; z-index: 0; }
#hf .hf-locator__map.leaflet-container { background: #DCE5F2; }
#hf .hf-locator__map .leaflet-tile-pane { filter: grayscale(1) brightness(1.06) contrast(.92); }
#hf .hf-locator__map.is-error::after { content: "Carte indisponible : vérifiez votre connexion."; position: absolute; inset: 0; display: grid; place-items: center; color: var(--hf-muted); font-weight: 700; }
#hf .hf-locator__map .leaflet-control-zoom a { color: var(--hf-blue); font-weight: 700; }
/* Bouton « Voir toute la France » (V20) */
#hf .hf-map-home { display: grid !important; place-items: center; width: 34px; height: 34px; background: #fff; color: var(--hf-blue) !important; border: 2px solid rgba(0,0,0,.2); border-radius: 4px; background-clip: padding-box; }
#hf .hf-map-home svg { width: 18px; height: 18px; }
#hf .hf-map-home:hover { background: var(--hf-blue-soft); }
#hf .hf-locator__map .leaflet-control-attribution { font-size: 10.5px; }
/* Repères (épingles) */
#hf .hf-pin { background: none; border: 0; }
#hf .hf-pin__in { position: relative; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--hf-blue); border: 3px solid #fff; box-shadow: 0 6px 14px -4px rgba(20,24,69,.55); transition: transform .15s; }
#hf .hf-pin__in svg { width: 17px; height: 17px; color: #fff; transform: rotate(45deg); }
#hf .hf-pin:hover .hf-pin__in { transform: rotate(-45deg) scale(1.12); }
#hf .hf-pin--or .hf-pin__in { background: linear-gradient(135deg,#F2C94C,#C9971A); }
#hf .hf-pin--argent .hf-pin__in { background: linear-gradient(135deg,#C7CDD8,#8A93A6); }
#hf .hf-pin--bronze .hf-pin__in { background: linear-gradient(135deg,#E3A27A,#A8643A); }
/* Groupes de repères */
#hf .hf-cluster { background: rgba(246,147,27,.25); border-radius: 50%; display: grid; place-items: center; }
#hf .hf-cluster span { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--hf-blue); color: #fff; font-family: var(--hf-font-display); font-weight: 800; font-size: 14px; border: 2px solid #fff; }
/* Bulle d'information */
#hf .hf-popup .leaflet-popup-content-wrapper { border-radius: 16px; box-shadow: var(--hf-shadow); padding: 0; }
#hf .hf-popup .leaflet-popup-content { margin: 14px 16px; font-family: var(--hf-font-body); }
#hf .hf-pop { display: flex; gap: 12px; align-items: flex-start; }
#hf .hf-pop__badge { width: 64px; height: auto; flex: none; filter: drop-shadow(0 4px 8px rgba(20,24,69,.2)); }
#hf .hf-pop__ic { flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--hf-blue-soft); color: var(--hf-blue); }
#hf .hf-pop__ic svg { width: 22px; height: 22px; }
#hf .hf-pop__body { display: grid; gap: 4px; justify-items: start; }
#hf .hf-pop__type { font-size: 11.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--hf-orange-deep); }
#hf .hf-pop__name { font-family: var(--hf-font-display); font-size: 15.5px; color: var(--hf-blue-ink); line-height: 1.25; }
#hf .hf-pop__city { font-size: 13px; color: var(--hf-muted); }
#hf .hf-pop__link { display: inline-flex; align-items: center; gap: 5px; margin-top: 4px; font-weight: 800; font-size: 13.5px; color: var(--hf-blue) !important; }
#hf .hf-pop__link svg { width: 14px; height: 14px; }
#hf .hf-pop__link:hover { color: var(--hf-orange-deep) !important; }
@media (max-width: 900px) {
  #hf .hf-locator { grid-template-columns: 1fr; height: auto; }
  #hf .hf-locator__map { order: -1; height: 360px; }
  #hf .hf-locator__panel { border-right: 0; border-top: 1px solid var(--hf-line); padding: 18px 16px 0; }
  #hf .hf-locator__list { max-height: 420px; }
}

/* =====================================================================
   18. FORMULAIRE DE CONTACT
   ===================================================================== */
#hf .hf-form { background: var(--hf-paper); border: 1px solid var(--hf-line); border-radius: 24px; box-shadow: var(--hf-shadow); padding: 36px; display: grid; gap: 18px; }
#hf .hf-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
#hf .hf-form__field { display: grid; gap: 6px; }
#hf .hf-form__field label { font-family: var(--hf-font-display); font-weight: 700; font-size: 14px; color: var(--hf-blue-ink); }
#hf .hf-input { width: 100%; padding: 12px 14px; border-radius: 10px; border: 1.5px solid var(--hf-line); font: inherit; font-size: 16px; color: var(--hf-ink); background: var(--hf-paper); }
#hf .hf-input:focus { border-color: var(--hf-blue); outline: none; box-shadow: 0 0 0 3px var(--hf-blue-soft); }
#hf textarea.hf-input { min-height: 140px; resize: vertical; }
#hf .hf-consent { display: grid; grid-template-columns: 22px 1fr; gap: 12px; font-size: 14px; color: var(--hf-muted); line-height: 1.45; }
#hf .hf-consent input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--hf-blue); }
#hf .hf-consent b { color: var(--hf-blue-ink); }
#hf .hf-hp { position: absolute !important; left: -9999px !important; } /* piège anti-spam invisible */
#hf .hf-form__status { font-size: 15px; font-weight: 700; border-radius: 12px; padding: 12px 16px; }
#hf .hf-form__status[data-state="ok"] { background: var(--hf-good-soft); color: var(--hf-good); }
#hf .hf-form__status[data-state="error"] { background: #FDECEC; color: #9B1C1C; }
#hf .hf-form__status[data-state="sending"] { background: var(--hf-blue-soft); color: var(--hf-blue); }
#hf .hf-contact-info { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 28px; margin-top: 28px; font-size: 15px; color: var(--hf-muted); }
#hf .hf-contact-info span, #hf .hf-contact-info a { display: inline-flex; align-items: center; gap: 8px; }
#hf .hf-contact-info svg { width: 18px; height: 18px; color: var(--hf-orange-deep); }
#hf .hf-contact-info a:hover { color: var(--hf-blue); }

/* =====================================================================
   18 bis. FORMULAIRE WPForms (page Contact, V22)
   Habille le formulaire WPForms aux couleurs Human First.
   Réglage conseillé : WPForms › Réglages › Général › « Inclure le style
   des formulaires » = « Style de base uniquement ».
   ===================================================================== */
#hf .hf-wpforms .wpforms-container { margin: 0 !important; max-width: none !important; }
#hf .hf-wpforms .wpforms-field-container { display: grid; gap: 18px; }
#hf .hf-wpforms .wpforms-field { padding: 0 !important; margin: 0 !important; float: none !important; clear: none !important; }
#hf .hf-wpforms .wpforms-field-label, #hf .hf-wpforms legend.wpforms-field-label { display: block; font-family: var(--hf-font-display) !important; font-weight: 700 !important; font-size: 14px !important; color: var(--hf-blue-ink) !important; margin: 0 0 6px !important; padding: 0 !important; line-height: 1.4 !important; }
#hf .hf-wpforms .wpforms-required-label { color: var(--hf-orange-deep) !important; font-weight: 700; }
#hf .hf-wpforms .wpforms-field-sublabel { font-size: 12.5px !important; color: var(--hf-muted) !important; margin-top: 4px !important; }
#hf .hf-wpforms .wpforms-field-description { font-size: 13px !important; color: var(--hf-muted) !important; margin-top: 6px !important; }
#hf .hf-wpforms input[type="text"], #hf .hf-wpforms input[type="email"], #hf .hf-wpforms input[type="tel"], #hf .hf-wpforms input[type="number"], #hf .hf-wpforms input[type="url"], #hf .hf-wpforms select, #hf .hf-wpforms textarea {
  width: 100% !important; max-width: 100% !important; height: auto !important; min-height: 48px; padding: 12px 14px !important; border-radius: 10px !important; border: 1.5px solid var(--hf-line) !important; background-color: var(--hf-paper) !important; font: inherit !important; font-size: 16px !important; color: var(--hf-ink) !important; box-shadow: none !important; line-height: 1.4 !important; }
#hf .hf-wpforms textarea { min-height: 140px !important; resize: vertical; }
#hf .hf-wpforms select { -webkit-appearance: none !important; appearance: none !important; padding-right: 40px !important; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232C338E' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important; background-position: right 14px center !important; background-size: 18px !important; }
#hf .hf-wpforms input:focus, #hf .hf-wpforms select:focus, #hf .hf-wpforms textarea:focus { border-color: var(--hf-blue) !important; outline: none !important; box-shadow: 0 0 0 3px var(--hf-blue-soft) !important; }
/* Champ Nom : Prénom et Nom côte à côte */
#hf .hf-wpforms .wpforms-field-row { display: grid !important; grid-template-columns: 1fr 1fr; gap: 18px; max-width: none !important; }
#hf .hf-wpforms .wpforms-field-row::before, #hf .hf-wpforms .wpforms-field-row::after { display: none !important; }
#hf .hf-wpforms .wpforms-field-row-block { width: auto !important; padding: 0 !important; margin: 0 !important; float: none !important; }
/* Case à cocher (accord de confidentialité) */
#hf .hf-wpforms .wpforms-field-checkbox ul, #hf .hf-wpforms .wpforms-field-gdpr-checkbox ul { list-style: none !important; margin: 0 !important; padding: 0 !important; }
#hf .hf-wpforms .wpforms-field-checkbox li, #hf .hf-wpforms .wpforms-field-gdpr-checkbox li { display: flex !important; align-items: flex-start; gap: 10px; margin: 0 !important; padding: 0 !important; }
#hf .hf-wpforms input[type="checkbox"] { width: 18px !important; height: 18px !important; margin: 2px 0 0 !important; flex: none; accent-color: var(--hf-blue); }
#hf .hf-wpforms .wpforms-field-label-inline { font-size: 14px !important; color: var(--hf-muted) !important; line-height: 1.45 !important; font-weight: 400 !important; }
/* Bouton Envoyer */
#hf .hf-wpforms .wpforms-submit-container { padding: 14px 0 0 !important; margin: 0 !important; }
#hf .hf-wpforms button.wpforms-submit, #hf .hf-wpforms .wpforms-submit {
  display: inline-flex !important; align-items: center; gap: 8px; height: auto !important; padding: 14px 40px !important; border: 0 !important; border-radius: 999px !important; background: var(--hf-orange) !important; color: var(--hf-blue-ink) !important; font-family: var(--hf-font-display) !important; font-weight: 800 !important; font-size: 15px !important; letter-spacing: .02em !important; text-transform: none !important; cursor: pointer; box-shadow: 0 10px 24px -10px rgba(246,147,27,.8) !important; transition: transform .15s, background-color .15s !important; }
#hf .hf-wpforms .wpforms-submit:hover { background: #FFA23A !important; transform: translateY(-2px); }
/* Messages d'erreur et de confirmation */
#hf .hf-wpforms label.wpforms-error, #hf .hf-wpforms em.wpforms-error { display: block; color: #9B1C1C !important; font-size: 13px !important; font-weight: 700; margin-top: 6px !important; padding: 0 !important; }
#hf .hf-wpforms .wpforms-has-error input, #hf .hf-wpforms .wpforms-has-error select, #hf .hf-wpforms .wpforms-has-error textarea, #hf .hf-wpforms input.wpforms-error, #hf .hf-wpforms select.wpforms-error, #hf .hf-wpforms textarea.wpforms-error { border-color: #D64545 !important; }
#hf .hf-wpforms .wpforms-confirmation-container-full, #hf .hf-wpforms .wpforms-confirmation-container { background: var(--hf-good-soft) !important; color: var(--hf-good) !important; border: 0 !important; border-radius: 12px !important; padding: 16px 18px !important; font-weight: 700; font-size: 15px; margin: 0 !important; }
#hf .hf-wpforms .wpforms-confirmation-container-full p { margin: 0 !important; color: inherit !important; }
@media (max-width: 560px) { #hf .hf-wpforms .wpforms-field-row { grid-template-columns: 1fr; } }

/* =====================================================================
   18 ter. PAGE POLITIQUE DE CONFIDENTIALITÉ (V23)
   ===================================================================== */
#hf .hf-legal-page { max-width: 820px; margin-inline: auto; background: var(--hf-paper); border: 1px solid var(--hf-line); border-radius: 24px; box-shadow: var(--hf-shadow); padding: 40px 44px; }
#hf .hf-legal-page__date { font-size: 13px; font-weight: 700; color: var(--hf-muted); text-transform: uppercase; letter-spacing: .06em; }
#hf .hf-legal-page h2 { font-size: 20px; font-weight: 800; color: var(--hf-blue); margin-top: 30px; }
#hf .hf-legal-page p, #hf .hf-legal-page li { font-size: 15.5px; color: var(--hf-ink); line-height: 1.65; margin-top: 10px; }
#hf .hf-legal-page ul { display: grid; gap: 4px; margin-top: 8px; }
#hf .hf-legal-page li { position: relative; padding-left: 20px; }
#hf .hf-legal-page li::before { content: ""; position: absolute; left: 0; top: .7em; width: 7px; height: 7px; border-radius: 50%; background: var(--hf-orange); }
#hf .hf-legal-page a { color: var(--hf-blue); text-decoration: underline; text-underline-offset: 3px; }
#hf .hf-legal__row a { color: #D3D6F3; text-decoration: underline; text-underline-offset: 3px; }
#hf .hf-legal__row a:hover { color: #fff; }
@media (max-width: 560px) { #hf .hf-legal-page { padding: 24px 20px; } }

/* =====================================================================
   19. PIED DE PAGE
   ===================================================================== */
#hf .hf-footer { background: var(--hf-blue-ink); color: #C9CDF0; font-size: 14.5px; }
#hf .hf-footer__top { display: grid; grid-template-columns: 1.4fr repeat(3,minmax(0,1fr)); gap: 36px; padding-block: 56px 36px; }
#hf .hf-footer__brand img { height: 64px; width: auto; }
#hf .hf-footer__brand p { margin-top: 14px; max-width: 36ch; }
#hf .hf-footer h2 { color: #fff; font-size: 15px; font-weight: 800; margin-bottom: 14px; letter-spacing: 0; }
#hf .hf-footer li { margin-top: 8px; }
#hf .hf-footer a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
#hf .hf-legal { border-top: 1px solid rgba(255,255,255,.12); padding-block: 20px 28px; font-size: 13px; color: #A6ABD8; display: grid; gap: 10px; }
#hf .hf-legal__row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; }

/* Animation douce désactivée si l'utilisateur la refuse (accessibilité) */
@media (prefers-reduced-motion: reduce) { #hf * { transition: none !important; animation: none !important; } }

/* =====================================================================
   20. ADAPTATION TABLETTE ET MOBILE
   1080 px = tablette paysage · 768 px = tablette portrait · 560 px = mobile
   ===================================================================== */
@media (max-width: 1080px) {
  #hf .hf-nav { display: none; }
  #hf .hf-burger { display: inline-flex; }
  #hf .hf-header__actions { margin-left: auto; }
  #hf .hf-mobile.is-open { display: grid; gap: 4px; padding: 12px 24px 20px; border-top: 1px solid var(--hf-line); background: var(--hf-paper); }
  #hf .hf-mobile a { padding: 12px 0; font-family: var(--hf-font-display); font-weight: 700; border-bottom: 1px solid var(--hf-line); }
  #hf .hf-hero__grid, #hf .hf-software-card, #hf .hf-sim, #hf .hf-sector-panel { grid-template-columns: 1fr; }
  #hf .hf-pillars, #hf .hf-proofs, #hf .hf-testis { grid-template-columns: repeat(2,minmax(0,1fr)); }
  #hf .hf-steps { grid-template-columns: 1fr; gap: 44px; }
  #hf .hf-steps::before { display: none; }
  #hf .hf-timeline__list { grid-template-columns: repeat(2,minmax(0,1fr)); }
  #hf .hf-timeline__list::before { display: none; }
  #hf .hf-footer__top { grid-template-columns: repeat(2,minmax(0,1fr)); }
  #hf .hf-footer__brand { grid-column: 1/-1; }
}
@media (max-width: 768px) {
  #hf { font-size: 16px; }
  #hf .hf-section { padding-block: 60px; }
  #hf .hf-pillars, #hf .hf-sectors-nav, #hf .hf-proofs, #hf .hf-testis, #hf .hf-levels { grid-template-columns: 1fr; }
  #hf .hf-stats ul { grid-template-columns: repeat(2,minmax(0,1fr)); }
  #hf .hf-stats li:nth-child(3) { border-left: 0; }
  #hf .hf-stats li:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.14); }
  #hf .hf-types { grid-template-columns: repeat(2,minmax(0,1fr)); }
  #hf .hf-adv__grid, #hf .hf-form__row { grid-template-columns: 1fr; }
  #hf .hf-step-next { flex-direction: column; text-align: center; }
  #hf .hf-steps-card { padding: 36px 22px; border-radius: 22px; }
  #hf .hf-timeline__list { grid-template-columns: 1fr; gap: 20px; padding-left: 0; }
  #hf .hf-timeline__list::before { display: block; top: 22px; bottom: 22px; left: 21px; right: auto; width: 2px; height: auto; background: repeating-linear-gradient(180deg, rgba(246,147,27,.7) 0 8px, transparent 8px 14px); }
  #hf .hf-timeline__item { padding-left: 62px; }
  #hf .hf-timeline__dot { position: absolute; left: 0; top: -4px; }
  #hf .hf-faq__item summary { padding: 18px; font-size: 16px; }
  #hf .hf-faq__a { padding: 0 18px 18px; }
  #hf .hf-marquee__list img { height: 120px; }
  #hf .hf-marquee__list { gap: 18px; padding-right: 18px; }
  #hf .hf-audience { border-radius: 20px; width: 100%; }
  #hf .hf-audience__btn { flex: 1 1 100%; justify-content: flex-start; }
  #hf .hf-founder { grid-template-columns: 1fr; text-align: center; padding: 28px; }
  #hf .hf-founder img { margin-inline: auto; width: 150px; height: 150px; }
  #hf .hf-sector-panel { padding: 24px; }
  #hf .hf-software-card { padding: 28px; }
}
@media (max-width: 560px) {
  #hf .hf-wrap { padding-inline: 16px; }
  #hf .hf-header__in { gap: 10px; height: 70px; }
  #hf .hf-logo img { height: 38px; }
  #hf .hf-header__actions > .hf-btn { display: none; }
  #hf .hf-hero__cta .hf-btn { width: 100%; }
  #hf .hf-footer__top { grid-template-columns: 1fr; }
  #hf .hf-sim__in, #hf .hf-sim__out, #hf .hf-form { padding: 22px; }
  #hf .hf-seg button small { display: none; }
  #hf .hf-range-row { flex-wrap: wrap; }
  #hf .hf-range-row .hf-num { width: 100%; }
  #hf .hf-partners img { height: 40px; }
  #hf .hf-quote { padding: 20px; }
}

/* =====================================================================
   21. MOBILE COMPACT (V13)
   Sur téléphone, les longues séries de cartes (niveaux, piliers,
   étapes, témoignages) deviennent des carrousels que l'on fait glisser
   du doigt : la page est beaucoup moins longue. La carte suivante
   dépasse sur le côté pour inviter à faire glisser.
   ===================================================================== */
/* Petite indication "Faites glisser" sous les carrousels (mobile seulement) */
#hf .hf-swipe-hint { display: none; text-align: center; font-size: 13px; font-weight: 700; color: var(--hf-muted); margin-top: 6px; }
#hf .hf-steps-card .hf-swipe-hint { color: #C9CDF0; }
@media (max-width: 768px) {
  #hf .hf-section { padding-block: 44px; }
  #hf .hf-section--tight { padding-block: 36px; }
  #hf .hf-head { margin-bottom: 24px; }
  #hf .hf-lead { font-size: 16px; }
  #hf .hf-hero { padding-block: 36px 44px; }
  #hf .hf-stats li { padding: 16px 12px; }
  #hf .hf-levels, #hf .hf-pillars, #hf .hf-testis, #hf .hf-steps-card .hf-steps {
    display: grid; grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 84%;
    gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
    margin-inline: -16px; padding: 4px 16px 14px; scroll-padding-inline: 16px; scrollbar-width: none; }
  #hf .hf-levels::-webkit-scrollbar, #hf .hf-pillars::-webkit-scrollbar, #hf .hf-testis::-webkit-scrollbar, #hf .hf-steps-card .hf-steps::-webkit-scrollbar { display: none; }
  #hf .hf-levels > *, #hf .hf-pillars > *, #hf .hf-testis > *, #hf .hf-steps-card .hf-steps > * { scroll-snap-align: start; }
  #hf .hf-steps-card .hf-steps { margin-inline: -18px; padding-inline: 18px; scroll-padding-inline: 18px; }
  #hf .hf-steps-card { padding: 28px 18px; }
  #hf .hf-steps-card .hf-step:hover { transform: none; }
  #hf .hf-swipe-hint { display: block; }
  #hf .hf-audience { margin-bottom: 18px; padding: 4px; gap: 4px; }
  #hf .hf-audience__btn { padding: 6px 14px 6px 6px; font-size: 15px; }
  #hf .hf-audience__ic { width: 30px; height: 30px; }
  #hf .hf-founder { padding: 22px; gap: 18px; }
  #hf .hf-founder img { width: 110px; height: 110px; }
  #hf .hf-sector-panel { padding: 20px; gap: 20px; }
  #hf .hf-sectors-nav { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; margin-bottom: 18px; }
  #hf .hf-sector-btn { padding: 10px 12px; gap: 10px; font-size: 14.5px; }
  #hf .hf-sector-btn__ic { width: 32px; height: 32px; }
  #hf .hf-software-card { padding: 24px; gap: 24px; }
  #hf .hf-marquee__list img { height: 104px; }
  #hf .hf-timeline__phase { padding: 20px 18px; }
  #hf .hf-timeline__list { gap: 16px; }
}

/* =====================================================================
   22. COMPATIBILITÉ WORDPRESS (V19)
   Sur WordPress, le thème limite la largeur du contenu et ajoute des
   marges. Ces règles ne s'appliquent qu'aux pages qui contiennent le
   site Human First (<div id="hf">) : le site occupe toute la largeur.
   ===================================================================== */
body:has(#hf) .wp-site-blocks, body:has(#hf) .has-global-padding { padding-left: 0 !important; padding-right: 0 !important; }
body:has(#hf) .wp-site-blocks { padding-top: 0 !important; padding-bottom: 0 !important; }
body:has(#hf) .wp-block-post-content, body:has(#hf) .entry-content { max-width: none !important; margin: 0 !important; padding: 0 !important; }
.is-layout-constrained > #hf, .is-layout-flow > #hf, .entry-content > #hf, .wp-block-post-content > #hf { max-width: none !important; width: 100%; margin: 0 !important; }
body:has(#hf) .wp-block-post-content > * + * { margin-block-start: 0 !important; }
/* V21 — Neutraliser les styles du thème WordPress « Stillness » qui
   s'appliquent aux boutons et formulaires du site Human First */
#hf button { padding: 0; letter-spacing: normal; text-transform: none; transition: none; }
#hf .hf-burger svg { flex: none; }
#hf select.hf-input { -webkit-appearance: none; appearance: none; padding-right: 40px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232C338E' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; }
/* Le thème ajoute un contour bleu à chaque clic : on le garde uniquement pour la navigation au clavier */
#hf a:focus:not(:focus-visible), #hf button:focus:not(:focus-visible) { outline: none !important; }
#hf a:focus-visible, #hf button:focus-visible { outline: 3px solid var(--hf-orange) !important; outline-offset: 2px; }

