/* ════════════════════════════════════════════════════════════════
   Réalisons — Composants partagés
   Bandeau offre, header, hero, cards, buttons, chips, search, dropdown.
   À importer après base.css.
   ════════════════════════════════════════════════════════════════ */

/* ── 1. Bannière offre de lancement ────────────────────────── */
/* Masquée sur les pages portant `r-no-launch-banner` sur le body (landing pages). */
.r-no-launch-banner .r-launch-banner { display: none; }

.r-launch-banner {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 11px var(--r-page-margin);
  background: var(--r-teal-light);
  border-bottom: 1px solid #A8D5DD;
  font-family: var(--r-font-body);
  font-size: 14px;
  color: var(--r-text-dark);
}

.r-launch-banner__tag {
  font-family: var(--r-font-heading);
  font-size: 11px;
  font-weight: 700;
  color: var(--r-teal-dark);
  letter-spacing: 0.4px;
  flex-shrink: 0;
  text-transform: uppercase;
}

.r-launch-banner__message { flex: 1; }
.r-launch-banner__message strong { color: var(--r-teal-dark); font-weight: 700; }

.r-launch-banner__cta {
  font-family: var(--r-font-heading);
  font-weight: 600;
  color: var(--r-teal-dark);
  white-space: nowrap;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.r-launch-banner__cta:hover { color: var(--r-text-dark); }

.r-launch-banner__close {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.06);
  color: var(--r-text-body);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  line-height: 1;
  font-family: var(--r-font-heading);
}

.r-launch-banner__close:hover { background: rgba(0, 0, 0, 0.1); }

/* ── 2. Header + nav (logo gauche, nav 6 boutons collés droite) ── */
.r-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px var(--r-page-margin);
  border-bottom: 1px solid var(--r-separator);
  background: var(--r-bg);
  position: sticky;
  top: 0;
  z-index: 50;
}

.r-logo {
  display: inline-flex;
  align-items: center;
  font-family: var(--r-font-heading);
  font-weight: 700;
  font-size: 26px;
  color: var(--r-text-dark);
  letter-spacing: -0.4px;
  text-decoration: none;
}

.r-logo__img {
  display: block;
  height: 32px;
  width: auto;
}

.r-header__nav {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

/* Groupe des 5 liens de navigation (replié dans le burger en mobile). */
.r-header__nav-primary {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

/* Bouton burger : masqué en desktop, visible ≤768px (cf. media query). */
.r-header__burger {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

.r-header__burger-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--r-bg);
  box-shadow: var(--neu-btn-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--r-teal);
  transition: var(--r-transition-shadow), var(--r-transition-color);
}

.r-header__burger[aria-expanded="true"] .r-header__burger-icon {
  box-shadow: var(--neu-btn-sm-active);
  color: var(--r-teal-dark);
}

.r-header__burger-icon svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.r-header__burger-label {
  font-family: var(--r-font-heading);
  font-size: 11px;
  font-weight: 600;
  color: var(--r-text-body);
}

.r-nav-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-decoration: none;
}

.r-nav-btn__icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--r-bg);
  box-shadow: var(--neu-btn-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--r-teal);
  transition: var(--r-transition-shadow), var(--r-transition-color);
}

.r-nav-btn:hover .r-nav-btn__icon { box-shadow: var(--neu-card); }

.r-nav-btn--active .r-nav-btn__icon {
  box-shadow: var(--neu-btn-sm-active);
  color: var(--r-teal-dark);
}

.r-nav-btn__icon svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 1.8;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Variante Échanger : téléphone orange (icone CTA principal) */
.r-nav-btn--echanger .r-nav-btn__icon { color: var(--r-orange); }
.r-nav-btn--echanger:hover .r-nav-btn__icon { color: var(--r-orange-dark); }

.r-nav-btn__label {
  font-family: var(--r-font-heading);
  font-size: 11px;
  font-weight: 600;
  color: var(--r-text-body);
}

.r-nav-btn--active .r-nav-btn__label { color: var(--r-teal-dark); }

/* ── 2bis. CTAs commerciaux dans le header (Échanger / Commander) ──
   Mêmes icônes rondes que les nav-btn, mais séparées du reste
   de la nav par un trait vertical. Couleur orange pour distinguer
   l'action commerciale (Échanger primaire suivi de Commander). */
.r-nav-cta {
  display: inline-flex;
  align-items: flex-start;
  gap: 18px;
  margin-left: 14px;
}

.r-nav-cta .r-nav-btn__icon { color: var(--r-orange); }
.r-nav-cta .r-nav-btn:hover .r-nav-btn__icon { color: var(--r-orange-dark); }
.r-nav-cta .r-nav-btn--active .r-nav-btn__icon { color: var(--r-orange-dark); }
.r-nav-cta .r-nav-btn--active .r-nav-btn__label { color: var(--r-orange-dark); }

/* ── 3. Bouton générique (CTA hero) ────────────────────────── */
.r-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  background: var(--r-bg);
  color: var(--r-teal-dark);
  font-family: var(--r-font-heading);
  font-weight: 600;
  font-size: 15px;
  border-radius: var(--r-radius-btn);
  box-shadow: var(--neu-btn);
  transition: var(--r-transition-shadow), var(--r-transition-color);
  text-decoration: none;
  cursor: pointer;
}

.r-btn:hover { box-shadow: var(--neu-btn-hover); }
/* Un bouton n'est jamais souligné, quel que soit le contexte. */
.r-btn, .r-btn--primary, .r-btn--teal, .r-btn--back, .r-btn--light { text-decoration: none !important; }
.r-btn--orange { color: var(--r-orange); }
.r-btn--primary {
  color: var(--r-orange);
  font-weight: 700;
}

/* ── 3bis. Bloc CTAs hero (réutilisable sur prix / catalogue / compas) ──
   CTA primaire (Commander) en orange + bordure orange fine, lien secondaire
   (Réserver un échange) en teal, le tout centré dans le hero gauche.
   margin-top: auto pousse le bloc en bas de la colonne hero (.r-page__hero
   est en flex-column). Sticky retiré : le bloc reste statique en bas du
   hero, plus de risque d'overlap avec le lead quand le contenu est dense. */
.r-hero-ctas {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding-top: 16px;
}

/* CTA primaire en contexte hero : texte orange (jaune) + bordure jaune
   très fine. C'est le CTA d'achat principal, donc visible. */
.r-hero-ctas .r-btn--primary,
.r-page__hero .r-btn--primary {
  color: var(--r-orange);
  border: 0.5px solid var(--r-orange);
}

.r-hero-ctas .r-btn--primary:hover,
.r-page__hero .r-btn--primary:hover {
  color: var(--r-orange-dark);
  border-color: var(--r-orange-dark);
}

.r-hero-link {
  font-family: var(--r-font-heading);
  font-weight: 600;
  font-size: 14px;
  color: var(--r-teal);
  text-decoration: none;
  transition: var(--r-transition-color);
  text-align: center;
}

.r-hero-link:hover { color: var(--r-teal-dark); }

/* ── 4. Search bar (utilisée dans Compas, Catalogue, Podcast) ── */
.r-search {
  position: relative;
  width: 100%;
}

.r-search__icon {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--r-text-muted);
  pointer-events: none;
}

.r-search__icon svg { width: 18px; height: 18px; }

.r-search__input {
  width: 100%;
  padding: 14px 18px 14px 44px;
  border-radius: var(--r-radius-input);
  background: var(--r-bg);
  border: none;
  box-shadow: var(--neu-inner);
  font-family: var(--r-font-body);
  font-size: 15px;
  color: var(--r-text-dark);
  outline: none;
}

.r-search__input::placeholder { color: var(--r-text-muted); }
.r-search__input:focus { box-shadow: var(--neu-inner), 0 0 0 2px var(--r-teal); }

/* ── 5. Dropdown filtre (catégories, etc.) ─────────────────── */
.r-dropdown {
  position: relative;
  font-family: var(--r-font-heading);
  font-size: 14px;
}

.r-dropdown__trigger {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 13px 16px;
  background: var(--r-bg);
  border: none;
  border-radius: var(--r-radius-input);
  box-shadow: var(--neu-btn-sm);
  color: var(--r-text-dark);
  font-family: var(--r-font-heading);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--r-transition-shadow);
  min-width: 260px;
  justify-content: space-between;
  white-space: nowrap;
}

.r-dropdown__trigger:hover { box-shadow: var(--neu-card); }
.r-dropdown__trigger[aria-expanded="true"] { box-shadow: var(--neu-btn-sm-active); }

.r-dropdown__label {
  color: var(--r-text-muted);
  font-weight: 400;
  font-size: 12px;
}

.r-dropdown__value {
  color: var(--r-teal-dark);
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
}

.r-dropdown__value-count {
  color: var(--r-text-muted);
  font-weight: 400;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}

.r-dropdown__chevron svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  stroke-width: 2.2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 200ms ease-out;
  color: var(--r-text-body);
}

.r-dropdown__trigger[aria-expanded="true"] .r-dropdown__chevron svg {
  transform: rotate(180deg);
}

.r-dropdown__panel {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 320px;
  max-height: 380px;
  overflow-y: auto;
  padding: 8px;
  background: var(--r-bg);
  border-radius: var(--r-radius-card);
  box-shadow: var(--neu-card-hover);
  z-index: 30;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.r-dropdown__panel[hidden] { display: none; }

.r-dropdown__option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 10px 14px;
  border: none;
  background: none;
  border-radius: 10px;
  font-family: var(--r-font-heading);
  font-size: 14px;
  font-weight: 600;
  color: var(--r-text-body);
  cursor: pointer;
  text-align: left;
  transition: background 150ms ease-out, color 150ms ease-out;
}

.r-dropdown__option:hover {
  background: rgba(40, 168, 191, 0.08);
  color: var(--r-text-dark);
}

.r-dropdown__option.is-active {
  background: rgba(40, 168, 191, 0.12);
  color: var(--r-teal-dark);
}

.r-dropdown__option-count {
  font-size: 12px;
  font-weight: 400;
  color: var(--r-text-muted);
  font-variant-numeric: tabular-nums;
}

/* Couleurs des options par catégorie (palette élargie) */
.r-dropdown__option[data-color="blue"] { color: var(--r-blue); }
.r-dropdown__option[data-color="purple"] { color: var(--r-purple); }
.r-dropdown__option[data-color="fuchsia"] { color: var(--r-fuchsia); }
.r-dropdown__option[data-color="green"] { color: var(--r-green); }
.r-dropdown__option[data-color="indigo"] { color: var(--r-indigo); }
.r-dropdown__option[data-color="coral"] { color: var(--r-coral); }
.r-dropdown__option[data-color="teal-dark"] { color: var(--r-teal-dark); }
.r-dropdown__option[data-color="orange-dark"] { color: var(--r-orange-dark); }
.r-dropdown__option[data-color="emerald"] { color: var(--r-emerald); }
.r-dropdown__option[data-color="navy"] { color: var(--r-navy); }
.r-dropdown__option[data-color="amber"] { color: var(--r-amber); }
.r-dropdown__option[data-color="pink"] { color: var(--r-pink); }
.r-dropdown__option[data-color="teal"] { color: var(--r-teal); }
.r-dropdown__option[data-color="orange"] { color: var(--r-orange); }

/* ── 5b. Toolbar partagée (search + dropdowns) ────────────── */
.r-toolbar {
  display: flex;
  gap: 14px;
  align-items: stretch;
  margin-bottom: 24px;
}

.r-toolbar .r-search { flex: 1 1 auto; min-width: 0; }

.r-search-count {
  margin-bottom: 18px;
  font-family: var(--r-font-body);
  font-size: 15px;
  color: var(--r-text-body);
}

.r-search-count strong {
  font-weight: 700;
  color: var(--r-text-dark);
}

.r-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 40px 24px;
  color: var(--r-text-muted);
  font-style: italic;
}

/* ── 6. Badges colorés (en-tête cards) ───────────────────── */
.r-badge {
  display: inline-flex;
  align-items: center;
  font-family: var(--r-font-heading);
  font-size: 12px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: var(--r-radius-badge);
  color: #fff;
  white-space: nowrap;
}

.r-badge--teal { background: var(--r-teal); }
.r-badge--purple { background: var(--r-purple); }
.r-badge--orange { background: var(--r-orange); }
.r-badge--green { background: var(--r-green); }
.r-badge--indigo { background: var(--r-indigo); }
.r-badge--coral { background: var(--r-coral); }
.r-badge--teal-dark { background: var(--r-teal-dark); }
.r-badge--orange-dark { background: var(--r-orange-dark); }
.r-badge--emerald { background: var(--r-emerald); }
.r-badge--amber { background: var(--r-amber); }
.r-badge--pink { background: var(--r-pink); }
.r-badge--blue { background: var(--r-blue); }
.r-badge--fuchsia { background: var(--r-fuchsia); }
.r-badge--navy { background: var(--r-navy); }

/* ── 7. Card neumorphique générique ────────────────────────── */
.r-card {
  background: var(--r-bg);
  border-radius: var(--r-radius-card);
  padding: var(--r-card-padding);
  box-shadow: var(--neu-card);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: var(--r-transition-shadow), var(--r-transition-transform);
}

.r-card--clickable { cursor: pointer; }
.r-card--clickable:hover {
  box-shadow: var(--neu-card-hover);
  transform: translateY(-2px);
}

/* Footer styles are defined in base.css */

/* ── 9. Responsive ─────────────────────────────────────────── */
@media (max-width: 1280px) {
  .r-nav-cta { gap: 14px; margin-left: 10px; }
}

@media (max-width: 1024px) {
  .r-header__nav { gap: 12px; }
  .r-header__nav-primary { gap: 12px; }
  .r-dropdown__trigger { min-width: 180px; }
  .r-nav-cta { gap: 12px; margin-left: 8px; }
}

@media (max-width: 768px) {
  .r-launch-banner {
    font-size: 12px;
    padding: 10px 16px;
    gap: 4px 10px;
    flex-wrap: wrap;
  }

  /* Le tag passe sur sa propre ligne pour ne plus écraser le message. */
  .r-launch-banner__tag { flex-basis: 100%; }
  .r-launch-banner__message { flex: 1 1 auto; }

  .r-header {
    padding: 14px var(--r-page-margin);
  }

  .r-header__nav { gap: 8px; }
  .r-nav-btn__icon { width: 38px; height: 38px; }
  .r-nav-btn__icon svg { width: 17px; height: 17px; }
  .r-nav-btn__label { font-size: 10px; }
  .r-logo { font-size: 22px; }
  .r-logo__img { height: 26px; }

  /* Burger : visible, et les 5 liens deviennent un panneau déroulant. */
  .r-header__burger { display: flex; }
  .r-header__burger-icon { width: 38px; height: 38px; }
  .r-header__burger-icon svg { width: 18px; height: 18px; }
  .r-header__burger-label { font-size: 10px; }

  .r-header__nav-primary {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 10px;
    background: var(--r-bg);
    box-shadow: var(--neu-card);
    border-bottom-left-radius: var(--r-radius-card);
    border-bottom-right-radius: var(--r-radius-card);
    z-index: 49;
  }

  .r-header__nav-primary.is-open { display: flex; }

  .r-header__nav-primary .r-nav-btn {
    flex-direction: row;
    justify-content: flex-start;
    gap: 12px;
    padding: 8px 10px;
    border-radius: var(--r-radius-input);
  }

  .r-header__nav-primary .r-nav-btn:hover { background: rgba(40, 168, 191, 0.08); }
  .r-header__nav-primary .r-nav-btn__icon { width: 34px; height: 34px; }
  .r-header__nav-primary .r-nav-btn__label { font-size: 13px; }

  .r-nav-cta {
    margin-left: 6px;
    gap: 8px;
  }

  .r-dropdown__trigger { min-width: 100%; }
  .r-dropdown__panel { left: 0; right: 0; min-width: auto; }

  .r-toolbar {
    flex-direction: column;
    gap: 10px;
  }
}

/* ── Mini-player flottant cross-pages ──
   Décalé au-dessus du footer sticky (--r-footer-height + marge). */
.r-mini-player {
  position: fixed;
  bottom: calc(var(--r-footer-height, 40px) + 12px);
  left: 16px;
  z-index: 1200;
  display: flex;
  align-items: center;
  gap: 10px;
  width: auto;
  max-width: calc(100vw - 32px);
  min-height: 52px;
  padding: 6px 14px 6px 6px;
  background: var(--r-bg);
  border-radius: var(--r-radius-card);
  box-shadow: var(--neu-card);
  transform: translateY(80px);
  opacity: 0;
  transition: transform 240ms ease, opacity 240ms ease;
  will-change: transform, opacity;
}

.r-mini-player.is-mounted {
  transform: translateY(0);
  opacity: 1;
}

.r-mini-player__play {
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 50%;
  background: var(--r-bg);
  color: var(--r-teal-dark);
  box-shadow: var(--neu-card);
  cursor: pointer;
  padding: 0;
  transition: box-shadow 160ms ease, transform 160ms ease;
}

.r-mini-player__play:hover { box-shadow: var(--neu-card-hover); }
.r-mini-player__play:active { transform: scale(0.96); }
.r-mini-player__play svg { width: 15px; height: 15px; }

/* Libellé statique « Podcast » à côté du bouton lecture/pause.
   Visible en desktop, masqué en responsive (≤768 px) où la pastille est icon-only. */
.r-mini-player__label {
  flex: 0 1 auto;
  margin: 0;
  font-family: var(--r-font-heading);
  font-weight: 600;
  font-size: 13px;
  color: var(--r-text-dark);
  white-space: nowrap;
  letter-spacing: 0.2px;
}

.r-mini-player__open,
.r-mini-player__close {
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 50%;
  background: transparent;
  color: var(--r-text-muted);
  cursor: pointer;
  padding: 0;
  font-size: 18px;
  line-height: 1;
  text-decoration: none;
  transition: color 160ms ease, background 160ms ease;
}

.r-mini-player__open:hover,
.r-mini-player__close:hover {
  color: var(--r-teal-dark);
  background: rgba(30, 127, 142, 0.08);
}

.r-mini-player__open svg { width: 16px; height: 16px; }

@media (max-width: 768px) {
  /* Pastille minimale ancrée en bas à gauche : seulement les 3 icônes
     (lecture/pause, ouvrir le podcast, fermer) — pas de titre. */
  .r-mini-player {
    left: 16px;
    right: auto;
    width: auto;
    max-width: calc(100vw - 32px);
    bottom: calc(var(--r-footer-height, 64px) + 8px);
    padding: 8px 10px;
    gap: 6px;
    min-height: 0;
  }
  .r-mini-player__label { display: none; }
  .r-mini-player__play { width: 36px; height: 36px; }
  .r-mini-player__play svg { width: 16px; height: 16px; }
}

/* ── 3ter. Bouton "ghost" / retour (CTA secondaire gris neumorphique) ──
   Utilisé sur les pages secondaires pour le lien "← Retour à l'accueil",
   au lieu d'un simple hyperlien teal. Conserve le frame neumorphique
   du .r-btn mais avec une couleur de texte muted (gris) et un padding
   réduit pour signaler que c'est un CTA secondaire. */
.r-btn--back {
  color: var(--r-text-muted);
  font-weight: 600;
  font-size: 14px;
  padding: 10px 20px;
}

.r-btn--back:hover { color: var(--r-text-body); }

/* Tagline hero accueil (positionnement factuel entre H1 et lead) */
.r-hero-tagline {
  font-family: var(--r-font-heading);
  font-size: 15px;
  font-weight: 600;
  color: var(--r-teal);
  line-height: 1.4;
  margin-bottom: 8px;
}

/* Variante .r-btn--back en teal (utilisé sur application.html pour
   le "Retour à l'accueil" plus visible que le gris standard). */
.r-btn--back--teal {
  color: var(--r-teal);
}
.r-btn--back--teal:hover {
  color: var(--r-teal-dark);
}

/* ── Listes de contenu : puces en coche teal, étapes numérotées en
   incrustation négative ───────────────────────────────────────────
   - Listes à puces (ul sans classe) : marqueur = coche teal « ✓ ».
   - Listes numérotées (ol sans classe) : marqueur = pastille ronde
     « creusée » (numo négatif) avec le chiffre dedans.
   Les listes avec une classe propre (.r-checklist, .r-process-steps,
   .r-form-grid, etc.) conservent leur style spécifique. */
.r-section-card ul:not([class]),
.r-card ul:not([class]),
.r-section-card ol:not([class]),
.r-card ol:not([class]) {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.r-section-card ul:not([class]) > li,
.r-card ul:not([class]) > li {
  position: relative;
  padding-left: 30px;
  font-family: var(--r-font-body);
  font-size: 15px;
  line-height: 1.5;
  color: var(--r-text-body);
  text-align: justify;
}

.r-section-card ul:not([class]) > li::before,
.r-card ul:not([class]) > li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0.15em;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(40, 168, 191, 0.12);
  color: var(--r-teal-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--r-font-heading);
  font-weight: 700;
  font-size: 11px;
  line-height: 1;
}

.r-section-card ol:not([class]),
.r-card ol:not([class]) {
  counter-reset: r-li;
  gap: 12px;
}

.r-section-card ol:not([class]) > li,
.r-card ol:not([class]) > li {
  position: relative;
  padding-left: 36px;
  counter-increment: r-li;
  min-height: 24px;
  font-family: var(--r-font-body);
  font-size: 15px;
  line-height: 1.5;
  color: var(--r-text-body);
  text-align: justify;
}

.r-section-card ol:not([class]) > li::before,
.r-card ol:not([class]) > li::before {
  content: counter(r-li);
  position: absolute;
  left: 0;
  top: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--r-bg);
  box-shadow: var(--neu-btn-sm-active);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--r-font-heading);
  font-weight: 700;
  font-size: 12px;
  color: var(--r-teal);
}

/* ── Justification du corps de texte (pas les titres) ─────────────
   Les paragraphes du hero gauche et le corps de texte des cartes sont
   justifiés. Les titres (h1…h6, .r-h1, .r-section-card__title, etc.)
   ne sont jamais affectés. Classe utilitaire .r-justify disponible
   pour des cas ponctuels. */
.r-page__hero p,
.r-section-card p,
.r-card p,
.r-result-card__body,
.r-catalogue-link-card__body,
.r-doubts-card,
.r-justify {
  text-align: justify;
}

/* Le bandeau publicitaire en haut : message justifié également. */
.r-launch-banner__message { text-align: justify; }

/* Mise en valeur (gras sombre) dans un paragraphe lead. */
.r-lead strong { color: var(--r-text-dark); font-weight: 700; }

/* ── CTA léger (lien d'action discret) ────────────────────────────
   Petit bouton neumorphique gris, texte teal, sans flèche. Pour les
   liens d'action secondaires en texte (ex. dans À propos). Aussi
   utilisé pour le « ← Retour … » (bordure fine pour un rendu net). */
.r-btn--light {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 18px;
  background: var(--r-bg);
  color: var(--r-teal);
  font-family: var(--r-font-heading);
  font-weight: 600;
  font-size: 13px;
  border-radius: var(--r-radius-btn);
  box-shadow: var(--neu-btn-sm);
  border: 0.5px solid rgba(40, 168, 191, 0.35);
  text-decoration: none;
  transition: var(--r-transition-shadow), var(--r-transition-color);
}
.r-btn--light:hover { box-shadow: var(--neu-btn-hover); color: var(--r-teal-dark); }

/* Bouton « ← Retour » : on ajoute une bordure fine pour un rendu net. */
.r-btn--back { border: 0.5px solid var(--r-separator); }

/* Bandeau métadonnée des pages légales (date de mise en vigueur). */
.r-legal-meta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  padding: 8px 16px;
  background: var(--r-bg);
  border-radius: var(--r-radius-pill);
  box-shadow: var(--neu-inner);
  font-family: var(--r-font-heading);
  font-size: 13px;
  font-weight: 600;
  color: var(--r-text-body);
}

/* Carte avec liseré teal à gauche : pour les objets « dynamiques »
   (offres de poste, items générés…) afin de les distinguer des cartes
   de contenu statiques. */
.r-card--accent { border-left: 3px solid var(--r-teal); }

/* Bloc social proof (avis clients — widget tiers idreviews.io). */
.r-social-proof {
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.r-social-proof__title {
  font-family: var(--r-font-heading);
  font-weight: 700;
  font-size: 22px;
  line-height: 1.2;
  color: var(--r-text-dark);
}
.r-social-proof__widget { min-height: 80px; }
.r-social-proof emr-simple-slider { display: block; width: 100%; }

/* ── Avis statiques (simulation widget) ──────────────────────────── */
.r-reviews {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px;
}
.r-review-card {
  background: var(--r-bg);
  border-radius: var(--r-radius-card);
  box-shadow: var(--neu-inner);
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.r-review-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.r-review-card__stars { color: var(--r-orange); font-size: 14px; letter-spacing: 1px; }
.r-review-card__date { font-size: 12px; color: var(--r-text-muted); white-space: nowrap; }
.r-review-card__text {
  font-family: var(--r-font-body);
  font-size: 14px;
  line-height: 1.5;
  color: var(--r-text-body);
}
.r-review-card__author {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 6px;
}
.r-review-card__avatar {
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--r-teal);
  color: var(--r-white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--r-font-heading);
  font-weight: 700;
  font-size: 11px;
}
.r-review-card__name {
  font-family: var(--r-font-heading);
  font-weight: 600;
  font-size: 13px;
  color: var(--r-text-dark);
}
.r-review-card__verified { color: #1a73e8; flex-shrink: 0; }
.r-review-card__verified svg { width: 14px; height: 14px; display: block; }
.r-review-card__source { margin-left: auto; flex-shrink: 0; }
.r-review-card__source svg { width: 18px; height: 18px; display: block; }
@media (max-width: 768px) {
  .r-reviews { grid-template-columns: 1fr; }
}

/* ── CTA cadre teal (boutons de formulaire) ───────────────────────
   Même cadre neumorphique que .r-btn, mais texte teal + bordure teal
   fine — pendant turquoise du .r-btn--primary (orange). Utilisé comme
   bouton de soumission des formulaires (« Postuler », « Envoyer »…).
   Jamais de flèche dans ces boutons. */
.r-btn--teal {
  color: var(--r-teal);
  font-weight: 700;
  border: 0.5px solid var(--r-teal);
}
.r-btn--teal:hover {
  color: var(--r-teal-dark);
  border-color: var(--r-teal-dark);
}

/* Utilitaire : surface en incrustation négative (numo « creusé »). */
.r-inset { box-shadow: var(--neu-inner) !important; }

/* Lien de retour discret, placé tout en haut d'une fiche
   (« ← Retour au catalogue », « ← Retour aux partenaires »…). */
.r-back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 18px;
  font-family: var(--r-font-heading);
  font-weight: 600;
  font-size: 13px;
  color: var(--r-text-muted);
  text-decoration: none;
  transition: var(--r-transition-color);
}
.r-back-link:hover { color: var(--r-teal-dark); }

/* Cadre incrusté pour le logo d'un partenaire sur sa fiche
   (carte en numo négatif, logo centré). */
.r-partner-fiche-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
  background: var(--r-bg);
  border-radius: var(--r-radius-card);
  box-shadow: var(--neu-inner);
}
.r-partner-fiche-logo img {
  max-height: 64px;
  width: auto;
}

/* ── Champ « choisir un fichier » aligné sur la charte ────────────
   Le bouton natif carré est remplacé par un bouton neumorphique
   arrondi, cohérent avec les autres boutons du site. */
input[type="file"] {
  font-family: var(--r-font-body);
  font-size: 14px;
  color: var(--r-text-body);
}
input[type="file"]::file-selector-button {
  margin-right: 12px;
  padding: 10px 20px;
  border: none;
  border-radius: var(--r-radius-btn);
  background: var(--r-bg);
  box-shadow: var(--neu-btn);
  font-family: var(--r-font-heading);
  font-weight: 600;
  font-size: 14px;
  color: var(--r-teal-dark);
  cursor: pointer;
  transition: var(--r-transition-shadow);
}
input[type="file"]::file-selector-button:hover { box-shadow: var(--neu-btn-hover); }
