/* =============================================
   Smart Human Solutions — composants de la refonte (octobre 2026)
   Pages concernées : 7 pages domaine, /expertises/, /test/, /partenaires/ + menu et pied de page FR.
   Chargé APRÈS style.css : n'utilise que ses jetons (--marine, --brique, --bleu-clair, --fond-doux,
   --texte, --texte-2, --d01…--d07, --police-titre, --police-texte) et ne les redéfinit jamais.
   ⛔ Une couleur de domaine ne porte jamais l'information seule : toujours le numéro à côté.
   ============================================= */

/* ── Une couleur par domaine (variables LOCALES --dom / --dom-texte, pas des jetons de marque) ── */
.dom-01 {
  --dom: var(--d01);
  --dom-texte: var(--d01-texte);
}
.dom-02 {
  --dom: var(--d02);
  --dom-texte: var(--d02-texte);
  /* le vert --d02 donne 4,37:1 avec le numéro blanc : la pastille prend la variante texte (≥ 4,5:1) */
  --dom-pastille: var(--d02-texte);
}
.dom-03 {
  --dom: var(--d03);
  --dom-texte: var(--d03-texte);
}
.dom-04 {
  --dom: var(--d04);
  --dom-texte: var(--d04-texte);
}
.dom-05 {
  --dom: var(--d05);
  --dom-texte: var(--d05-texte);
}
.dom-06 {
  --dom: var(--d06);
  --dom-texte: var(--d06-texte);
}
.dom-07 {
  --dom: var(--d07);
  --dom-texte: var(--d07-texte);
}

.rf-page a:focus-visible,
.rf-page button:focus-visible {
  outline: 2px solid var(--brique-fonce);
  outline-offset: 3px;
  border-radius: 3px;
}
.rf-hero a:focus-visible,
.rf-cta a:focus-visible {
  outline-color: #fff;
}

.rf-container {
  max-width: calc(1200px + 2 * var(--pad));
  margin: 0 auto;
  padding: 0 var(--pad);
}
.rf-section {
  padding: 4.5rem 0;
}
.rf-section--alt {
  background: var(--fond-2);
}
.rf-section--blanc {
  background: #fff;
}
.rf-h2 {
  font-family: var(--police-titre);
  font-size: clamp(1.65rem, 2.8vw, 2.3rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--marine);
  margin-bottom: 1.8rem;
}
.rf-h3 {
  font-family: var(--police-titre);
  font-size: 1.12rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--marine);
  margin-bottom: 0.45rem;
}
.rf-lead {
  font-size: 1.05rem;
  color: var(--texte-2);
  max-width: 62ch;
}

/* ── Marqueur de contenu manquant : visible, jamais par la couleur seule (texte + trait pointillé) ── */
.a-completer {
  display: inline;
  padding: 0.05em 0.4em;
  background: #fff4cc;
  color: #4a3700;
  font-weight: 700;
  border: 1.5px dashed #4a3700;
  border-radius: 4px;
  white-space: nowrap;
}
.rf-notes-wrap {
  padding-bottom: 3rem;
}
.rf-notes {
  margin-top: 2.5rem;
  padding: 1.1rem 1.4rem;
  background: #fff4cc;
  color: #4a3700;
  border: 1.5px dashed #4a3700;
  border-radius: var(--r-lg);
  font-size: 0.9rem;
}
.rf-notes__title {
  font-weight: 700;
  margin-bottom: 0.4rem;
}
.rf-notes ul {
  margin-left: 1.2rem;
}
.rf-notes .a-completer {
  background: transparent;
  border: 0;
  padding: 0;
}

/* ── Pastille numérotée ── */
.pastille {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 10px;
  background: var(--dom-pastille, var(--dom, var(--marine)));
  color: #fff;
  font-family: var(--police-titre);
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1;
  letter-spacing: 0.02em;
}
.pastille--lg {
  width: 4.2rem;
  height: 4.2rem;
  border-radius: 14px;
  font-size: 1.6rem;
}

/* ── Bandeau d'en-tête (marine) ── */
.rf-hero {
  position: relative;
  padding: calc(var(--nav-h) + 3.5rem) var(--pad) 3.5rem;
  background: var(--marine);
  color: var(--sur-sombre);
  overflow: hidden;
}
.rf-hero__inner {
  max-width: 1200px;
  margin: 0 auto;
}
.rf-hero__grille {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 3rem;
  align-items: center;
}
.rf-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.8rem;
}
.rf-hero .rf-btn--outline {
  color: #fff;
  border-color: #fff;
}
.rf-hero .rf-btn--outline:hover {
  background: #fff;
  color: var(--marine);
}

/* Barre des 7 domaines (décorative, comme l'accueil) : le domaine courant est plus épais ; le numéro reste porté par la pastille */
.rf-hero__barre {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 4px;
  align-items: end;
  margin-top: 2.8rem;
}
.rf-hero__barre span {
  display: block;
  height: 4px;
}
.rf-hero__barre span.est-courant {
  height: 9px;
}
.rf-hero__barre .b1 { background: var(--d01); }
.rf-hero__barre .b2 { background: var(--d02); }
.rf-hero__barre .b3 { background: var(--d03); }
.rf-hero__barre .b4 { background: var(--d04); }
.rf-hero__barre .b5 { background: var(--d05); }
.rf-hero__barre .b6 { background: var(--d06); }
.rf-hero__barre .b7 { background: var(--d07); }

/* Carte « Dans ce pôle » : même univers que la carte du test de l'accueil */
.rf-hero__carte {
  padding: 1.5rem 1.5rem 1.2rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(197, 208, 224, 0.35);
  border-radius: var(--r-lg);
}
.rf-hero__carte-titre {
  margin-bottom: 0.9rem;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--sur-sombre-2);
}
.rf-pole-liste {
  list-style: none;
  display: grid;
  gap: 0.6rem;
}
.rf-pole-item {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  min-height: 3.4rem;
  padding: 0.5rem 0.9rem 0.5rem 0.6rem;
  border: 1px solid rgba(197, 208, 224, 0.28);
  border-radius: 10px;
  color: #fff;
  font-family: var(--police-titre);
  font-weight: 600;
  line-height: 1.3;
  transition:
    background var(--t),
    border-color var(--t);
}
a.rf-pole-item:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
}
.rf-pole-item .pastille {
  width: 2.3rem;
  height: 2.3rem;
  border-radius: 9px;
  font-size: 0.95rem;
  border: 2px solid #fff;
}
.rf-pole-item__txt {
  flex: 1 1 auto;
}
.rf-pole-item__ici {
  display: block;
  font-family: var(--police-texte);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--sur-sombre-2);
}
.rf-pole-item__fleche {
  color: var(--sur-sombre-2);
}
.rf-pole-item--courant {
  background: rgba(255, 255, 255, 0.14);
  border: 2px solid #fff;
}
.rf-hero__head {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  margin-bottom: 1.4rem;
}
.rf-hero .pastille {
  border: 2px solid #fff;
}
.rf-hero__pole {
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--bleu-clair);
}
.rf-badge-nouveau {
  display: inline-block;
  margin-left: 0.7rem;
  padding: 0.12rem 0.6rem;
  border: 1.5px solid var(--bleu-clair);
  border-radius: 99px;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: #fff;
}
.rf-hero h1 {
  font-family: var(--police-titre);
  font-size: clamp(2rem, 4.4vw, 3.2rem);
  font-weight: 700;
  line-height: 1.12;
  color: #fff;
  margin-bottom: 1rem;
}
.rf-hero__promesse {
  font-family: var(--police-titre);
  font-style: italic;
  font-size: clamp(1.2rem, 2.1vw, 1.55rem);
  line-height: 1.4;
  color: var(--sur-sombre-2);
  max-width: 30ch;
}
.rf-hero__sub {
  font-size: 1.05rem;
  color: var(--sur-sombre-2);
  max-width: 60ch;
}
.rf-hero .a-completer {
  color: #4a3700;
}

/* ── Questions de dirigeant : cartes blanches, pastille + question en italique (comme « Par où commencer ? ») ── */
.rf-questions {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.1rem;
}
.rf-question {
  display: flex;
  align-items: flex-start;
  gap: 1.1rem;
  padding: 1.5rem 1.5rem 1.6rem;
  background: #fff;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
}
.rf-question__txt {
  font-family: var(--police-titre);
  font-style: italic;
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  line-height: 1.35;
  color: var(--marine);
}

/* ── Solutions ── */
.rf-solutions {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 1.1rem;
}
.rf-solutions--n3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.rf-solutions--n4 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.rf-solution {
  padding: 1.4rem 1.5rem 1.5rem;
  background: var(--fond-doux);
  border: 1px solid rgba(27, 42, 74, 0.1);
  border-top: 4px solid var(--dom, var(--brique));
  border-radius: var(--r-lg);
}
.rf-solution p {
  font-size: 1rem;
  color: var(--texte-2);
}

/* ── Ce que vous obtenez : encadré sobre ── */
.rf-resultat {
  max-width: 50rem;
  padding: 1.6rem 1.8rem;
  background: #fff;
  border-left: 6px solid var(--dom, var(--brique));
  border-radius: 0 var(--r-lg) var(--r-lg) 0;
  box-shadow: var(--shadow-sm);
  font-family: var(--police-titre);
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  line-height: 1.4;
  color: var(--marine);
}

/* ── Blocs complémentaires (extras) ── */
.rf-extras-wrap {
  margin-top: 1.6rem;
}
.rf-extras {
  display: grid;
  gap: 1.2rem;
}
.rf-extra {
  padding: 1.4rem 1.6rem;
  background: var(--fond-doux);
  border: 1px solid rgba(27, 42, 74, 0.14);
  border-radius: var(--r-lg);
}
.rf-extra--repere {
  border-left: 6px solid var(--dom, var(--brique));
}
.rf-extra p {
  color: var(--texte-2);
}
.rf-extra ul {
  list-style: disc;
  margin: 0.4rem 0 0 1.2rem;
  color: var(--texte-2);
}
.rf-extra li + li {
  margin-top: 0.25rem;
}
.rf-cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.1rem;
}
/* Cartes de fonctions (extras « cartes ») : deux colonnes dès 641 px, une seule sur téléphone ; filet de la couleur du domaine + titre écrit */
.rf-cartes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin: 0.8rem 0 0;
  padding: 0;
  list-style: none;
}
.rf-carte {
  padding: 1.1rem 1.25rem 1.2rem;
  background: #fff;
  border: 1px solid rgba(27, 42, 74, 0.14);
  border-left: 5px solid var(--dom, var(--brique));
  border-radius: var(--r-lg);
}
.rf-carte__titre {
  margin: 0 0 0.35rem;
  font-family: var(--police-titre);
  font-size: 1.08rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--marine);
}
.rf-carte p {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.5;
  color: var(--texte-2);
}
@media (max-width: 640px) {
  .rf-cartes {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.7rem;
  }
  .rf-carte {
    padding: 0.95rem 1rem 1rem;
  }
}

.rf-lien {
  font-weight: 700;
  color: var(--brique-fonce);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}
.rf-lien:hover {
  color: var(--marine);
}

/* ── Partenaire ── */
.rf-partner {
  display: flex;
  align-items: flex-start;
  gap: 1.4rem;
  max-width: 50rem;
  padding: 1.5rem 1.6rem;
  background: #fff;
  border: 1px solid rgba(27, 42, 74, 0.14);
  border-radius: var(--r-lg);
}
.rf-partner__logo {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 9rem;
  min-height: 4.2rem;
  padding: 0.6rem 1rem;
  border: 1.5px solid rgba(27, 42, 74, 0.25);
  border-radius: var(--r);
  font-family: var(--police-titre);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.04em;
  color: var(--marine);
  background: var(--fond-doux);
}
.rf-partner .rf-lien {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
}
.rf-partner__note {
  margin-top: 0.5rem;
  font-size: 0.9rem;
  color: var(--texte-2);
}
a.rf-partner__logo:hover {
  border-color: var(--marine);
}
.rf-partner__texte {
  color: var(--texte-2);
}
.rf-partner__doms {
  margin-top: 0.7rem;
  font-size: 0.9rem;
  color: var(--texte-2);
}

/* ── Boutons de la refonte ── */
.rf-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 2.9rem;
  padding: 0.7rem 1.7rem;
  border-radius: var(--r);
  border: 2px solid transparent;
  font-family: var(--police-texte);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
  transition:
    background var(--t),
    color var(--t),
    border-color var(--t),
    transform 0.15s ease;
}
.rf-btn--primary {
  background: var(--brique);
  color: #fff;
}
.rf-btn--primary:hover {
  background: var(--brique-fonce);
  transform: translateY(-1px);
}
.rf-btn--outline {
  background: transparent;
  color: var(--marine);
  border-color: var(--marine);
}
.rf-btn--outline:hover {
  background: var(--marine);
  color: #fff;
}
.rf-cta .rf-btn--outline {
  color: #fff;
  border-color: #fff;
}
.rf-cta .rf-btn--outline:hover {
  background: #fff;
  color: var(--marine);
}

/* ── Appel à l'action de fin de page : bande brique, bouton plein blanc (comme l'accueil) ── */
.rf-cta {
  padding: 4.2rem var(--pad);
  background: var(--brique-fonce);
  color: #fff;
  text-align: center;
}
.rf-cta__title {
  font-family: var(--police-titre);
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
  margin-bottom: 1.6rem;
}
.rf-cta__sub {
  color: #fff;
  max-width: 54ch;
  margin: 0 auto 1.8rem;
}
.rf-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  justify-content: center;
}
.rf-cta .rf-btn--primary {
  background: #fff;
  color: var(--marine);
  border-color: var(--marine);
}
.rf-cta .rf-btn--primary:hover {
  background: var(--fond-2);
  color: var(--marine);
}

/* ── /expertises/ : une bande par pôle, une ligne par domaine ── */
.ex-pole {
  display: grid;
  grid-template-columns: 17rem minmax(0, 1fr);
  gap: 1.6rem 3rem;
  padding: 2.8rem 0;
  border-top: 2px solid rgba(27, 42, 74, 0.14);
}
.ex-pole:first-child {
  padding-top: 0.6rem;
  border-top: 0;
}
.ex-pole__titre {
  margin: 0 0 0.5rem;
  font-family: var(--police-titre);
  font-size: clamp(1.7rem, 2.6vw, 2.2rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--marine);
}
.ex-pole__nb {
  color: var(--texte-2);
  font-size: 1rem;
}
.ex-rows {
  display: grid;
  gap: 1.1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.ex-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: start;
  gap: 1.2rem 1.5rem;
  padding: 1.5rem 1.7rem;
  background: #fff;
  border: 1px solid rgba(27, 42, 74, 0.12);
  border-left: 6px solid var(--dom, var(--brique));
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  color: inherit;
  text-decoration: none;
  transition:
    box-shadow var(--t),
    transform 0.15s ease;
}
.ex-row:hover {
  box-shadow: var(--shadow-md);
  text-decoration: none;
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .ex-row:hover {
    transform: translateY(-2px);
  }
}
.ex-row__corps {
  display: grid;
  gap: 0.35rem;
  min-width: 0;
}
.ex-row__tete {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 0.8rem;
}
.ex-row__titre {
  font-family: var(--police-titre);
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--marine);
}
.ex-badge {
  padding: 0.15rem 0.65rem;
  border-radius: 99px;
  background: var(--dom, var(--brique));
  color: #fff;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.ex-row__promesse {
  font-family: var(--police-titre);
  font-size: 1.08rem;
  font-style: italic;
  color: var(--texte-2);
}
.ex-row__sol {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.35rem 1.6rem;
  margin-top: 0.7rem;
  font-size: 0.97rem;
  color: var(--texte);
}
.ex-row__sol > span {
  display: flex;
  gap: 0.6rem;
  align-items: baseline;
}
.ex-row__sol > span::before {
  content: "";
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--dom, var(--brique));
  transform: translateY(-1px);
}
.ex-row__lien {
  align-self: center;
  font-weight: 700;
  white-space: nowrap;
  color: var(--dom-texte, var(--brique-fonce));
}
@media (max-width: 960px) {
  .ex-pole {
    grid-template-columns: minmax(0, 1fr);
    padding: 2.2rem 0;
  }
}
@media (max-width: 640px) {
  .ex-row {
    grid-template-columns: auto minmax(0, 1fr);
    padding: 1.2rem 1.1rem;
  }
  .ex-row__sol {
    grid-template-columns: minmax(0, 1fr);
  }
  .ex-row__lien {
    grid-column: 2;
    align-self: start;
  }
}

/* ── /test/ : coque ── */
#test-miroir {
  max-width: 46rem;
  padding: 1.6rem 1.8rem;
  background: #fff;
  border: 1px solid rgba(27, 42, 74, 0.14);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
}
.rf-test__citation {
  font-family: var(--police-titre);
  font-style: italic;
  font-size: 1.25rem;
  color: var(--bleu-clair);
  margin-bottom: 0.6rem;
}
.rf-test__liste {
  margin: 0.8rem 0 0 1.3rem;
  color: var(--texte-2);
}
.rf-test__liste li + li {
  margin-top: 0.45rem;
}
.rf-test__note {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--texte-2);
}

/* ── /partenaires/ ── */
.rf-partners {
  display: grid;
  gap: 1.4rem;
}
.rf-abeya {
  margin-top: 2.5rem;
  padding: 1.4rem 1.6rem;
  background: #fff;
  border-left: 6px solid var(--marine);
  border-radius: 0 var(--r-lg) var(--r-lg) 0;
  max-width: 50rem;
}

/* ── Menu : bouton « Faire le test » du menu mobile ── */
.nav__mobile a.nav__mobile-cta {
  padding: 0.75rem 2rem;
  border-radius: var(--r);
  background: var(--brique);
  color: #fff;
  font-weight: 700;
}
.nav__mobile a.nav__mobile-cta:hover {
  background: var(--brique-fonce);
  color: #fff;
}

/* ── Pied de page : numéro de domaine ── */
.footer__num {
  display: inline-block;
  min-width: 1.5em;
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  color: var(--bleu-clair);
}

/* ── Adaptation ── */
@media (max-width: 900px) {
  .rf-hero__grille {
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
  }
  .rf-solutions--n3 {
    grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  }
}

@media (max-width: 720px) {
  .rf-section {
    padding: 3rem 0;
  }
  .rf-questions,
  .rf-solutions--n4 {
    grid-template-columns: minmax(0, 1fr);
  }
  .rf-question {
    padding: 1.2rem;
  }
  .rf-hero__barre {
    margin-top: 2.2rem;
  }
  .rf-cols {
    grid-template-columns: 1fr;
  }
  .rf-partner {
    flex-direction: column;
    align-items: flex-start;
  }
  .rf-hero {
    padding-bottom: 2.5rem;
  }
  .rf-btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ex-row,
  .rf-btn,
  .rf-pole-item {
    transition: none;
  }
  .ex-row:hover,
  .rf-btn--primary:hover {
    transform: none;
  }
}

/* Logo partenaire en image (provisoire : extrait du triptyque) */
.rf-partner__logo--img {
  min-width: 9rem;
  padding: 0.5rem 0.8rem;
  background: #fff;
}
.rf-partner__logo--img img {
  display: block;
  width: auto;
  height: auto;
  max-width: 11rem;
  max-height: 4.5rem;
}

/* ── Phrases d'accroche (eyebrow) : un seul style pour tout le site ──
   Petites capitales espacées, filet à gauche (modèle : « QUI SOMMES-NOUS » de la page À propos, 18/10/2026).
   Rouge sur fond clair ; rouge clair (--rouge-on-dark) sur fond marine, où le rouge de marque serait illisible. */
.ac-eyebrow,
.eq-hero__eyebrow,
.pg-eyebrow,
.pg-eyebrow-dark,
.ap-eyebrow,
.eyebrow {
  align-items: center;
  gap: 0.9rem;
  margin: 0 0 1.1rem;
  font-family: var(--police-texte, inherit);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1.4;
  text-transform: uppercase;
  color: var(--brique-fonce);
}
.ac-eyebrow,
.eq-hero__eyebrow,
.pg-eyebrow,
.pg-eyebrow-dark,
.ap-eyebrow {
  display: flex;
}
.eyebrow {
  display: inline-flex;
}
.ac-eyebrow::before,
.eq-hero__eyebrow::before,
.pg-eyebrow::before,
.pg-eyebrow-dark::before,
.ap-eyebrow::before,
.eyebrow::before,
.eyebrow.visible::before {
  content: "";
  display: block;
  flex: 0 0 auto;
  width: 1.8rem;
  height: 1.5px;
  background: currentColor;
  transition: none;
}
.ac-hero .ac-eyebrow,
.rf-hero .eq-hero__eyebrow,
.rf-hero .pg-eyebrow,
.hero .eyebrow,
.page-hero .eyebrow,
.section--dark .eyebrow {
  color: var(--rouge-on-dark);
}
/* Bandeau d'appel (pages anglaises) : `.cta-banner p` agrandissait l'accroche ; même taille que partout, en blanc sur le rouge. */
.cta-banner .eyebrow {
  font-size: 0.78rem;
  color: #fff;
}
/* Bandeaux marine : le filet à gauche de l'accroche est blanc (demande de Grégory, visio du 18/10/2026). */
.ac-hero .ac-eyebrow::before,
.rf-hero .eq-hero__eyebrow::before,
.rf-hero .pg-eyebrow::before,
.hero .eyebrow::before,
.page-hero .eyebrow::before,
.section--dark .eyebrow::before {
  background: #fff;
}
/* Tableau des cookies sur téléphone : en anglais, pas d'espace avant les deux-points (la règle de style.css en met une, usage français). */
@media (max-width: 720px) {
  html[lang="en"] .legal-table--cookies td::before {
    content: attr(data-label) ": ";
  }
}

/* ── Photo d'ambiance en fond d'en-tête de domaine (idée du site Smarterial) : voile marine, texte toujours sur fond sombre ── */
.rf-hero--photo {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.rf-hero__fond {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
}
.rf-hero--photo::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(27, 42, 74, 0.96) 0%, rgba(27, 42, 74, 0.9) 45%, rgba(27, 42, 74, 0.7) 100%);
}
@media (max-width: 900px) {
  .rf-hero--photo::before {
    background: rgba(27, 42, 74, 0.9);
  }
}

/* Mention « image générée par IA » (AI Act art. 50 §4) : toujours visible, sur pastille sombre pour garder 4,5:1 quelle que soit la photo */
.rf-hero__legende {
  display: block;
  width: fit-content;
  margin: 0.7rem 0 0 auto;
  padding: 0.15rem 0.5rem;
  background: rgba(15, 25, 50, 0.88);
  border-radius: 4px;
  font-size: 0.6875rem;
  line-height: 1.4;
  color: #fff;
}
@media (max-width: 640px) {
  .rf-hero__legende {
    margin-left: 0;
  }
}
