/**
 * Médiation de litiges et rendez-vous experts.
 *
 * Chargée uniquement sur /mediation-litige, /mediation-litige/{slug} et
 * /rendez-vous-expert (voir includes/header.php). Une feuille plutôt que trois
 * blocs <style> : le widget de prise de rendez-vous est partagé par les trois
 * pages, et sa mise en forme n'avait aucune raison d'être recopiée — ni d'être
 * retéléchargée à chaque navigation.
 *
 * Règle de tenue : aucune couleur, aucun rayon, aucune ombre en dur. Tout passe
 * par les jetons de fcg-ui.css (--fcg-navy, --fcg-muted, --fcg-line…), dont les
 * valeurs portent des décisions de contraste documentées ; les redéfinir en
 * hexadécimal ici les contournerait en silence.
 */

/* ───────────────────────── Hub /mediation-litige ───────────────────────── */

.fcg-med__hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 400px);
  gap: 2.5rem;
  align-items: center;
}
.fcg-med__hero-cta {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}
.fcg-med__dossier {
  background: var(--fcg-white);
  border: 1px solid var(--fcg-line);
  border-radius: var(--fcg-radius);
  padding: 1.35rem 1.4rem;
  box-shadow: var(--fcg-shadow);
}
.fcg-med__dossier-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--fcg-font-display);
  font-size: var(--fcg-fs-xs);
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  /* --fcg-blue tient 4,4:1 sur #eaf3ff — sous le 4,5 exigé en petit corps. */
  color: #1560b8;
  background: #eaf3ff;
  border-radius: 999px;
  padding: 0.28rem 0.7rem;
}
.fcg-med__dossier ul {
  list-style: none;
  margin: 1rem 0 0.9rem;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}
.fcg-med__dossier li {
  display: flex;
  gap: 0.55rem;
  align-items: baseline;
  font-size: var(--fcg-fs-md);
  font-weight: 600;
  color: var(--fcg-navy);
  line-height: 1.4;
}
.fcg-med__dossier li i { color: var(--fcg-teal-deep); flex: 0 0 auto; }
.fcg-med__dossier p {
  margin: 0;
  font-size: var(--fcg-fs-sm);
  color: var(--fcg-muted);
  border-top: 1px dashed var(--fcg-line);
  padding-top: 0.8rem;
  line-height: 1.5;
}

/* Grille des cas, groupée par famille.
   Le libellé de famille passe dans un rail à gauche plutôt qu'en titre au-dessus :
   sur un grand écran, une grille pleine largeur ouvrait trois colonnes alors que
   chaque famille en compte deux — la rangée se terminait sur un vide. Le rail
   consomme la largeur excédentaire, donne un repère de lecture stable, et les
   cartes restent assez larges pour deux lignes de résumé. */
.fcg-med__famille {
  display: grid;
  grid-template-columns: 13rem minmax(0, 1fr);
  gap: 1.5rem 2rem;
  align-items: start;
  padding: 1.75rem 0;
  border-top: 1px solid var(--fcg-line);
}
.fcg-med__famille:first-of-type { border-top: 0; padding-top: 0.5rem; }
.fcg-med__cat {
  display: grid;
  gap: 0.5rem;
  justify-items: start;
  margin: 0;
  position: sticky;
  top: var(--fcg-sticky-top);
}
.fcg-med__cat-ico {
  display: inline-grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: var(--fcg-radius-sm);
  background: #eaf3ff;
  color: var(--fcg-blue);
  font-size: 1.1rem;
}
.fcg-med__cat-nom {
  font-family: var(--fcg-font-display);
  font-size: var(--fcg-fs-md);
  font-weight: 700;
  color: var(--fcg-navy);
  line-height: 1.3;
}
.fcg-med__cat-nb {
  font-size: var(--fcg-fs-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--fcg-muted);
}
.fcg-med__grille {
  display: grid;
  /* auto-fit, pas auto-fill : une famille qui ne compte qu'un cas voit sa
     colonne vide se réduire à zéro et la carte occuper toute la rangée, au
     lieu de laisser un blanc à côté d'elle. */
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 24rem), 1fr));
  gap: 1rem;
}
.fcg-med__cas {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.95rem;
  align-items: start;
  border: 1px solid var(--fcg-line);
  border-radius: var(--fcg-radius);
  background: var(--fcg-white);
  padding: 1.15rem 1.2rem;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s var(--fcg-ease), transform 0.2s var(--fcg-ease), box-shadow 0.2s var(--fcg-ease);
}
.fcg-med__cas:hover,
.fcg-med__cas:focus-visible {
  border-color: var(--fcg-blue);
  transform: translateY(-2px);
  box-shadow: var(--fcg-shadow-sm);
}
.fcg-med__cas:focus-visible { outline: 2px solid var(--fcg-blue); outline-offset: 2px; }
.fcg-med__cas-ico {
  display: inline-grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: var(--fcg-radius-sm);
  background: #eaf3ff;
  color: var(--fcg-blue);
  font-size: 1.2rem;
}
.fcg-med__cas-txt { display: block; min-width: 0; }
.fcg-med__cas strong {
  display: block;
  font-family: var(--fcg-font-display);
  font-size: var(--fcg-fs-md);
  color: var(--fcg-navy);
  line-height: 1.35;
}
.fcg-med__cas-desc {
  display: block;
  margin-top: 0.35rem;
  font-size: var(--fcg-fs-base);
  color: var(--fcg-muted);
  line-height: 1.55;
}
.fcg-med__cas-delai {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.6rem;
  font-style: normal;
  font-size: var(--fcg-fs-xs);
  font-weight: 700;
  color: #1560b8;
  background: #eef4fb;
  border-radius: 999px;
  padding: 0.24rem 0.65rem;
}
.fcg-med__cas-fleche { color: #9aa8bf; align-self: center; }
.fcg-med__cas:hover .fcg-med__cas-fleche { color: var(--fcg-blue); }

/* Méthode en 4 temps */
.fcg-med__methode {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 1.5rem;
}
.fcg-med__methode > div { display: flex; gap: 0.9rem; align-items: flex-start; }
.fcg-med__methode span {
  display: inline-grid;
  place-items: center;
  min-width: 2.2rem;
  height: 2.2rem;
  border-radius: 999px;
  background: var(--fcg-navy);
  color: var(--fcg-white);
  font-family: var(--fcg-font-display);
  font-weight: 800;
  font-size: var(--fcg-fs-base);
}
.fcg-med__methode strong {
  font-family: var(--fcg-font-display);
  font-size: var(--fcg-fs-md);
  color: var(--fcg-navy);
}
.fcg-med__methode p {
  margin: 0.3rem 0 0;
  font-size: var(--fcg-fs-base);
  color: var(--fcg-muted);
  line-height: 1.6;
}

/* Offres */
.fcg-med__offres {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(17.5rem, 1fr));
  gap: 1.25rem;
  align-items: stretch;
}
.fcg-med__offre {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  border: 1px solid var(--fcg-line);
  border-radius: var(--fcg-radius);
  background: var(--fcg-white);
  padding: 1.6rem 1.4rem 1.4rem;
}
.fcg-med__offre.est-phare {
  border-color: var(--fcg-blue);
  box-shadow: var(--fcg-shadow-sm);
}
.fcg-med__offre-tag {
  position: absolute;
  top: -0.72rem;
  left: 1.3rem;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-family: var(--fcg-font-display);
  font-size: var(--fcg-fs-xs);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--fcg-white);
  background: var(--fcg-blue);
  border-radius: 999px;
  padding: 0.26rem 0.7rem;
}
.fcg-med__offre h3 {
  margin: 0;
  font-family: var(--fcg-font-display);
  font-size: var(--fcg-fs-xl);
  color: var(--fcg-navy);
}
.fcg-med__offre-prix {
  margin: 0;
  font-family: var(--fcg-font-display);
  font-size: var(--fcg-fs-3xl);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--fcg-navy);
}
.fcg-med__offre-desc {
  margin: 0;
  font-size: var(--fcg-fs-base);
  color: var(--fcg-muted);
  line-height: 1.55;
}
.fcg-med__offre ul {
  list-style: none;
  margin: 0.5rem 0 1.2rem;
  padding: 0;
  display: grid;
  gap: 0.45rem;
  flex: 1;
}
.fcg-med__offre li {
  display: flex;
  gap: 0.5rem;
  align-items: baseline;
  font-size: var(--fcg-fs-base);
  color: var(--fcg-ink);
  line-height: 1.5;
}
.fcg-med__offre li i { color: var(--fcg-teal-deep); flex: 0 0 auto; }
.fcg-med__offre .fcg-btn { width: 100%; }
.fcg-med__note {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  margin: 1.5rem 0 0;
  font-size: var(--fcg-fs-base);
  color: var(--fcg-muted);
  line-height: 1.6;
}
.fcg-med__note i { color: var(--fcg-blue); margin-top: 0.15rem; }

/* Base légale */
/* Deux colonnes : à quatre, chaque titre de fondement juridique se cassait sur
   deux lignes et le paragraphe tombait à six — illisible pour du texte de loi. */
.fcg-med__loi {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 26rem), 1fr));
  gap: 1.25rem;
}
.fcg-med__loi > div {
  background: var(--fcg-white);
  border: 1px solid var(--fcg-line);
  border-radius: var(--fcg-radius);
  padding: 1.25rem 1.35rem;
}
.fcg-med__loi h3 {
  display: flex;
  gap: 0.55rem;
  align-items: baseline;
  margin: 0 0 0.5rem;
  font-family: var(--fcg-font-display);
  font-size: var(--fcg-fs-md);
  color: var(--fcg-navy);
}
.fcg-med__loi h3 i { color: var(--fcg-blue); flex: 0 0 auto; }
.fcg-med__loi p {
  margin: 0;
  font-size: var(--fcg-fs-base);
  color: var(--fcg-muted);
  line-height: 1.65;
}
.fcg-med__source {
  margin: 1.25rem 0 0;
  font-size: var(--fcg-fs-sm);
  color: var(--fcg-muted);
}

/* Renvoi vers les démarches */
.fcg-med__cross {
  display: flex;
  gap: 1.2rem;
  align-items: center;
  flex-wrap: wrap;
  border: 1px solid var(--fcg-line);
  border-radius: var(--fcg-radius);
  padding: 1.4rem 1.5rem;
  background: var(--fcg-white);
}
.fcg-med__cross-ico {
  display: inline-grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: var(--fcg-radius-sm);
  background: #eaf3ff;
  color: var(--fcg-blue);
  font-size: 1.35rem;
  flex: 0 0 auto;
}
.fcg-med__cross div { flex: 1; min-width: 15rem; }
.fcg-med__cross strong {
  font-family: var(--fcg-font-display);
  font-size: var(--fcg-fs-md);
  color: var(--fcg-navy);
}
.fcg-med__cross p {
  margin: 0.25rem 0 0;
  font-size: var(--fcg-fs-base);
  color: var(--fcg-muted);
  line-height: 1.55;
}

/* ──────────────────── Page d'un cas /mediation-litige/… ─────────────────── */

.fcg-medcas__fil {
  display: flex;
  gap: 0.45rem;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 1rem;
  font-size: var(--fcg-fs-sm);
  color: rgba(226, 236, 255, 0.72);
}
.fcg-medcas__fil a { color: rgba(226, 236, 255, 0.92); text-decoration: none; }
.fcg-medcas__fil a:hover { text-decoration: underline; }
.fcg-medcas__fil i { font-size: 0.6rem; opacity: 0.65; }
.fcg-medcas__chapeau {
  max-width: 62ch;
  font-size: var(--fcg-fs-lg);
  line-height: 1.7;
}
/* La colonne d'article est bornée AVEC son aside plutôt que paragraphe par
   paragraphe : en limitant seulement les <p>, le texte s'arrêtait à 610 px
   pendant que les listes couraient jusqu'à 950 — deux mesures de lecture
   différentes dans le même article. Ici, tout partage la même largeur. */
.fcg-medcas__corps {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 21rem;
  gap: 2.5rem;
  align-items: start;
  max-width: 63rem;
  margin-inline: auto;
}
.fcg-medcas__texte > p {
  font-size: var(--fcg-fs-md);
  line-height: 1.75;
  color: var(--fcg-ink);
}
.fcg-medcas__texte .fcg-page__h2 { font-size: var(--fcg-fs-2xl); margin-top: 2.25rem; }
.fcg-medcas__texte .fcg-page__h2:first-child { margin-top: 0; }
.fcg-medcas__liste {
  list-style: none;
  margin: 0 0 1.75rem;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}
.fcg-medcas__liste li {
  display: flex;
  gap: 0.65rem;
  align-items: baseline;
  font-size: var(--fcg-fs-md);
  color: var(--fcg-ink);
  line-height: 1.6;
  background: var(--fcg-white);
  border: 1px solid var(--fcg-line);
  border-radius: var(--fcg-radius-sm);
  padding: 0.7rem 0.95rem;
}
.fcg-medcas__liste li i { flex: 0 0 auto; }
.fcg-medcas__liste--alerte li i { color: var(--fcg-danger); }
.fcg-medcas__liste--preuve li i { color: var(--fcg-blue); }
.fcg-medcas__etapes {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
  display: grid;
  gap: 0.9rem;
}
.fcg-medcas__etapes li { display: flex; gap: 0.9rem; align-items: flex-start; }
.fcg-medcas__etapes span {
  display: inline-grid;
  place-items: center;
  min-width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: var(--fcg-navy);
  color: var(--fcg-white);
  font-family: var(--fcg-font-display);
  font-weight: 800;
  font-size: var(--fcg-fs-base);
  flex: 0 0 auto;
}
.fcg-medcas__etapes p {
  margin: 0.25rem 0 0;
  font-size: var(--fcg-fs-md);
  color: var(--fcg-ink);
  line-height: 1.6;
}
.fcg-medcas__note {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  background: var(--fcg-surface);
  border: 1px solid var(--fcg-line);
  border-radius: var(--fcg-radius-sm);
  padding: 0.9rem 1.05rem;
  font-size: var(--fcg-fs-base) !important;
  color: var(--fcg-ink);
  line-height: 1.6;
  max-width: none !important;
}
.fcg-medcas__note i { color: var(--fcg-blue); margin-top: 0.15rem; flex: 0 0 auto; }
.fcg-medcas__aside {
  display: grid;
  gap: 1rem;
  position: sticky;
  /* Le header du site est collé : partir de 0 ferait passer la carte dessous
     à chaque défilement. --fcg-sticky-top porte la hauteur réelle du header. */
  top: var(--fcg-sticky-top);
}
.fcg-medcas__box {
  background: var(--fcg-white);
  border: 1px solid var(--fcg-line);
  border-radius: var(--fcg-radius);
  padding: 1.3rem 1.35rem;
  box-shadow: var(--fcg-shadow-sm);
}
.fcg-medcas__box h3 {
  display: flex;
  gap: 0.55rem;
  align-items: baseline;
  margin: 0 0 0.6rem;
  font-family: var(--fcg-font-display);
  font-size: var(--fcg-fs-md);
  color: var(--fcg-navy);
}
.fcg-medcas__box h3 i { color: var(--fcg-blue); flex: 0 0 auto; }
.fcg-medcas__box p {
  margin: 0 0 0.9rem;
  font-size: var(--fcg-fs-base);
  color: var(--fcg-muted);
  line-height: 1.6;
}
.fcg-medcas__box .fcg-btn { width: 100%; }
.fcg-medcas__box--legal { background: var(--fcg-surface); box-shadow: none; }
.fcg-medcas__box--legal p strong { color: var(--fcg-navy); }
.fcg-medcas__box-src { font-size: var(--fcg-fs-xs) !important; margin-bottom: 0 !important; }
.fcg-medcas__autres {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 0.9rem;
  margin-bottom: 1.25rem;
}
.fcg-medcas__autres a {
  display: flex;
  gap: 0.7rem;
  align-items: center;
  background: var(--fcg-white);
  border: 1px solid var(--fcg-line);
  border-radius: var(--fcg-radius-sm);
  padding: 0.95rem 1.1rem;
  text-decoration: none;
  color: var(--fcg-navy);
  font-size: var(--fcg-fs-base);
  font-weight: 600;
  line-height: 1.4;
  transition: border-color 0.2s var(--fcg-ease), box-shadow 0.2s var(--fcg-ease);
}
.fcg-medcas__autres a:hover { border-color: var(--fcg-blue); box-shadow: var(--fcg-shadow-sm); }
.fcg-medcas__autres i { color: var(--fcg-blue); font-size: 1.15rem; flex: 0 0 auto; }
.fcg-medcas__retour {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--fcg-blue);
  font-weight: 700;
  font-size: var(--fcg-fs-md);
  text-decoration: none;
}
.fcg-medcas__retour:hover { text-decoration: underline; }

/* ───────────────────── Widget de prise de rendez-vous ──────────────────── */

.fcg-rdv__grille {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(21rem, 29rem);
  gap: 2.5rem;
  align-items: start;
}
.fcg-rdv__grille > * { min-width: 0; }
/* Le titre du widget s'aligne à gauche : il coiffe une colonne d'arguments,
   pas une section pleine largeur — centré, il flottait au-dessus du vide. */
.fcg-rdv__titre { text-align: left; margin-bottom: 0.6rem; }
.fcg-rdv__lead {
  font-size: var(--fcg-fs-body);
  color: var(--fcg-muted);
  line-height: 1.65;
  max-width: 46ch;
}
.fcg-rdv__points {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}
.fcg-rdv__points li { display: flex; gap: 0.85rem; align-items: flex-start; }
.fcg-rdv__points-ico {
  display: inline-grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: var(--fcg-radius-sm);
  background: #eaf3ff;
  color: var(--fcg-blue);
  font-size: 1.1rem;
  flex: 0 0 auto;
}
.fcg-rdv__points strong {
  font-family: var(--fcg-font-display);
  font-size: var(--fcg-fs-md);
  color: var(--fcg-navy);
}
.fcg-rdv__points p {
  margin: 0.2rem 0 0;
  font-size: var(--fcg-fs-base);
  color: var(--fcg-muted);
  line-height: 1.55;
}
.fcg-rdv__mention {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  margin-top: 1.5rem;
  font-size: var(--fcg-fs-sm);
  color: var(--fcg-muted);
  background: var(--fcg-surface);
  border: 1px solid var(--fcg-line);
  border-radius: var(--fcg-radius-sm);
  padding: 0.9rem 1.05rem;
  line-height: 1.6;
}
.fcg-rdv__mention i { color: var(--fcg-blue); margin-top: 0.1rem; flex: 0 0 auto; }

.fcg-rdv__carte {
  background: var(--fcg-white);
  border: 1px solid var(--fcg-line);
  border-radius: var(--fcg-radius);
  padding: 1.6rem 1.5rem;
  box-shadow: var(--fcg-shadow);
  position: sticky;
  top: var(--fcg-sticky-top);
}
.fcg-rdv__carte h3 {
  display: flex;
  gap: 0.55rem;
  align-items: center;
  margin: 0 0 0.7rem;
  font-family: var(--fcg-font-display);
  font-size: var(--fcg-fs-2xl);
  color: var(--fcg-navy);
}
.fcg-rdv__carte h3 i { color: var(--fcg-blue); }
.fcg-rdv__vide { font-size: var(--fcg-fs-md); color: var(--fcg-muted); line-height: 1.6; }
.fcg-rdv__wsteps {
  list-style: none;
  display: flex;
  gap: 0.35rem;
  margin: 0 0 1.25rem;
  padding: 0;
  flex-wrap: wrap;
}
.fcg-rdv__wsteps li {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: var(--fcg-fs-xs);
  font-weight: 700;
  color: var(--fcg-muted);
  background: var(--fcg-surface);
  border-radius: 999px;
  padding: 0.32rem 0.75rem;
}
.fcg-rdv__wsteps li.is-on { background: var(--fcg-navy); color: var(--fcg-white); }
.fcg-rdv__wsteps li.is-done { background: #dcefe3; color: var(--fcg-teal-deep); }
.fcg-rdv__pane { display: grid; gap: 0.9rem; }
.fcg-rdv__pane-titre {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  margin: 0;
  font-family: var(--fcg-font-display);
  font-size: var(--fcg-fs-xs);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--fcg-muted);
}
.fcg-rdv__pane-titre em { font-weight: 500; text-transform: none; letter-spacing: 0; font-style: normal; }

.fcg-rdv__jours {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding: 0.15rem 0.15rem 0.5rem;
  scrollbar-width: thin;
  scroll-snap-type: x proximity;
}
.fcg-rdv__jour {
  flex: 0 0 auto;
  display: grid;
  gap: 0.15rem;
  min-width: 5.9rem;
  padding: 0.6rem 0.65rem;
  border: 1.5px solid var(--fcg-line);
  border-radius: var(--fcg-radius-sm);
  background: var(--fcg-white);
  cursor: pointer;
  text-align: center;
  scroll-snap-align: start;
  transition: border-color 0.15s var(--fcg-ease), background 0.15s var(--fcg-ease);
}
.fcg-rdv__jour span { font-size: var(--fcg-fs-base); font-weight: 700; color: var(--fcg-navy); }
.fcg-rdv__jour em { font-size: var(--fcg-fs-xs); color: var(--fcg-muted); font-style: normal; }
.fcg-rdv__jour:not(:disabled):hover { border-color: var(--fcg-blue); }
.fcg-rdv__jour.is-on { border-color: var(--fcg-blue); background: #eaf3ff; }
.fcg-rdv__jour.is-on em { color: #1560b8; font-weight: 600; }
.fcg-rdv__jour.est-plein { opacity: 0.45; cursor: not-allowed; }
.fcg-rdv__jour:focus-visible { outline: 2px solid var(--fcg-blue); outline-offset: 2px; }

.fcg-rdv__heures {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(4.9rem, 1fr));
  gap: 0.5rem;
  min-height: 3rem;
}
.fcg-rdv__heure {
  padding: 0.62rem 0.35rem;
  border: 1.5px solid var(--fcg-line);
  border-radius: var(--fcg-radius-sm);
  background: var(--fcg-white);
  font-size: var(--fcg-fs-md);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--fcg-navy);
  cursor: pointer;
  transition: border-color 0.15s var(--fcg-ease), background 0.15s var(--fcg-ease), color 0.15s var(--fcg-ease);
}
.fcg-rdv__heure:hover { border-color: var(--fcg-blue); }
.fcg-rdv__heure.is-on { border-color: var(--fcg-navy); background: var(--fcg-navy); color: var(--fcg-white); }
.fcg-rdv__heure:focus-visible { outline: 2px solid var(--fcg-blue); outline-offset: 2px; }
.fcg-rdv__heures p {
  grid-column: 1 / -1;
  margin: 0;
  font-size: var(--fcg-fs-base);
  color: var(--fcg-muted);
}

.fcg-rdv__champ {
  display: grid;
  gap: 0.35rem;
  font-size: var(--fcg-fs-base);
  font-weight: 700;
  color: var(--fcg-navy);
}
.fcg-rdv__champ em { font-weight: 400; color: var(--fcg-muted); font-style: normal; }
.fcg-rdv__champ input,
.fcg-rdv__champ select,
.fcg-rdv__champ textarea {
  width: 100%;
  min-height: 2.9rem;
  padding: 0.55rem 0.9rem;
  border: 1.5px solid var(--fcg-line);
  border-radius: var(--fcg-radius-sm);
  /* 16px : en dessous, iOS zoome sur le champ à la mise au point. */
  font-size: 16px;
  font-family: inherit;
  color: var(--fcg-ink);
  background: var(--fcg-white);
}
.fcg-rdv__champ textarea { min-height: 5.75rem; resize: vertical; line-height: 1.5; }
.fcg-rdv__champ input:focus,
.fcg-rdv__champ select:focus,
.fcg-rdv__champ textarea:focus {
  outline: none;
  border-color: var(--fcg-blue);
  box-shadow: 0 0 0 3px rgba(43, 143, 255, 0.16);
}
.fcg-rdv__deux { display: grid; grid-template-columns: 1fr 1fr; gap: 0.85rem; }

.fcg-rdv__recap-slot,
.fcg-rdv__recap {
  border: 1px solid var(--fcg-line);
  border-radius: var(--fcg-radius-sm);
  background: var(--fcg-surface);
  padding: 0.8rem 0.95rem;
  font-size: var(--fcg-fs-base);
  display: grid;
  gap: 0.35rem;
}
.fcg-rdv__recap-slot { display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; }
.fcg-rdv__recap-slot i { color: var(--fcg-blue); }
.fcg-rdv__recap > div { display: flex; justify-content: space-between; gap: 0.9rem; }
.fcg-rdv__recap b { color: var(--fcg-navy); font-weight: 700; }
.fcg-rdv__recap span,
.fcg-rdv__recap-slot strong { text-align: right; color: var(--fcg-ink); }
.fcg-rdv__modif {
  border: 0;
  background: none;
  color: var(--fcg-blue);
  font-weight: 700;
  font-size: var(--fcg-fs-xs);
  cursor: pointer;
  text-decoration: underline;
  padding: 0;
  margin-left: 0.35rem;
}
.fcg-rdv__totaux {
  display: grid;
  gap: 0.35rem;
  border-top: 1px dashed var(--fcg-line);
  padding-top: 0.85rem;
}
.fcg-rdv__totaux > div {
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  font-size: var(--fcg-fs-md);
  color: var(--fcg-muted);
}
.fcg-rdv__totaux-total {
  font-family: var(--fcg-font-display);
  font-weight: 800;
  font-size: var(--fcg-fs-xl);
  color: var(--fcg-navy) !important;
}
.fcg-rdv__cgv {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  font-size: var(--fcg-fs-base);
  color: var(--fcg-muted);
  line-height: 1.55;
}
.fcg-rdv__cgv input { margin-top: 0.25rem; flex: 0 0 auto; width: 1rem; height: 1rem; }
.fcg-rdv__cgv a { color: var(--fcg-blue); }
.fcg-rdv__wnav { display: flex; gap: 0.75rem; }
.fcg-rdv__wnav .fcg-btn { flex: 1; }
.fcg-rdv__btn { width: 100%; }
.fcg-rdv__erreur {
  display: flex;
  gap: 0.45rem;
  align-items: flex-start;
  margin: 0;
  font-size: var(--fcg-fs-base);
  font-weight: 600;
  color: var(--fcg-danger);
  line-height: 1.5;
}
.fcg-rdv__ssl {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-size: var(--fcg-fs-xs);
  color: var(--fcg-muted);
  margin: 0.35rem 0 0;
}
.fcg-rdv__succes { text-align: center; padding: 1.4rem 0.4rem 0.6rem; }
.fcg-rdv__succes-ico {
  display: inline-grid;
  place-items: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 999px;
  background: #dcefe3;
  color: var(--fcg-teal-deep);
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
}
.fcg-rdv__succes h3 {
  justify-content: center;
  margin: 0 0 0.4rem;
  font-family: var(--fcg-font-display);
  font-size: var(--fcg-fs-2xl);
  color: var(--fcg-navy);
}
.fcg-rdv__succes p {
  font-size: var(--fcg-fs-md);
  color: var(--fcg-muted);
  line-height: 1.6;
  margin: 0 0 0.5rem;
}
.fcg-rdv__succes-quand { font-weight: 700; color: var(--fcg-navy) !important; }
.fcg-rdv__succes .fcg-btn { margin-top: 0.5rem; }

/* ─────────────────────── Page /rendez-vous-expert ──────────────────────── */

.fcg-rdvpage__fiche {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr));
  gap: 1rem;
  background: var(--fcg-white);
  border: 1px solid var(--fcg-line);
  border-radius: var(--fcg-radius);
  padding: 1.35rem 1.4rem;
  box-shadow: var(--fcg-shadow);
  margin: 1.5rem 0;
}
.fcg-rdvpage__fiche span {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: var(--fcg-fs-xs);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--fcg-muted);
  margin-bottom: 0.25rem;
}
.fcg-rdvpage__fiche span i { color: var(--fcg-blue); }
.fcg-rdvpage__fiche strong {
  font-family: var(--fcg-font-display);
  color: var(--fcg-navy);
  font-size: var(--fcg-fs-md);
}
.fcg-rdvpage__actions { display: flex; gap: 0.75rem; flex-wrap: wrap; align-items: center; }
.fcg-rdvpage__actions form { margin: 0; }
.fcg-rdvpage__mention {
  margin-top: 1.25rem;
  font-size: var(--fcg-fs-base);
  color: rgba(226, 236, 255, 0.82);
  max-width: 62ch;
}
.fcg-rdvpage__etat {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  font-weight: 700;
  font-size: var(--fcg-fs-md);
}
.fcg-rdvpage__etat--ok { color: #7dffe0; }
.fcg-rdvpage__etat--ko { color: #ffb4a8; }
.fcg-rdvpage__grille {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
  gap: 1.25rem;
}
.fcg-rdvpage__grille > div {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  background: var(--fcg-white);
  border: 1px solid var(--fcg-line);
  border-radius: var(--fcg-radius);
  padding: 1.25rem 1.3rem;
}
.fcg-rdvpage__grille-ico {
  display: inline-grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--fcg-radius-sm);
  background: #eaf3ff;
  color: var(--fcg-blue);
  font-size: 1.15rem;
  flex: 0 0 auto;
}
.fcg-rdvpage__grille strong {
  font-family: var(--fcg-font-display);
  font-size: var(--fcg-fs-md);
  color: var(--fcg-navy);
}
.fcg-rdvpage__grille p {
  margin: 0.25rem 0 0;
  font-size: var(--fcg-fs-base);
  color: var(--fcg-muted);
  line-height: 1.6;
}
.fcg-rdvpage__lien { margin-top: 1.5rem; }

/* ────────────────────────────── Adaptatif ─────────────────────────────── */

@media (max-width: 1000px) {
  .fcg-rdv__grille { grid-template-columns: minmax(0, 1fr); }
  /* La carte de réservation passe en tête : c'est l'action de la page, elle ne
     doit pas se mériter après trois écrans d'argumentaire. */
  .fcg-rdv__carte { position: static; order: -1; }
  .fcg-rdv__deux { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .fcg-med__hero { grid-template-columns: minmax(0, 1fr); gap: 1.75rem; }
  /* Le rail redevient un titre au-dessus de ses cartes : à cette largeur il
     mangerait la moitié de l'écran pour deux mots. */
  .fcg-med__famille { grid-template-columns: minmax(0, 1fr); gap: 1rem; padding: 1.5rem 0; }
  .fcg-med__cat {
    position: static;
    grid-template-columns: auto auto 1fr;
    align-items: center;
    gap: 0.6rem;
  }
  .fcg-med__cat-nb { justify-self: end; }
  .fcg-med__grille { grid-template-columns: minmax(0, 1fr); }
  .fcg-medcas__corps { grid-template-columns: minmax(0, 1fr); gap: 1.75rem; }
  .fcg-medcas__aside { position: static; }
}
@media (max-width: 560px) {
  .fcg-med__cas { grid-template-columns: auto 1fr; }
  .fcg-med__cas-fleche { display: none; }
  .fcg-rdv__carte { padding: 1.25rem 1.1rem; }
  .fcg-rdv__wnav { flex-direction: column-reverse; }
}

/* Déplacement du rendez-vous depuis l'espace client (fond sombre du hero). */
.fcg-rdvpage__replan {
  margin-top: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--fcg-radius-sm);
  background: rgba(255, 255, 255, 0.06);
  max-width: 34rem;
}
.fcg-rdvpage__replan summary {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.1rem;
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  font-size: var(--fcg-fs-md);
  color: var(--fcg-white);
}
.fcg-rdvpage__replan summary::-webkit-details-marker { display: none; }
.fcg-rdvpage__replan-form { display: grid; gap: 0.85rem; padding: 0 1.1rem 1.1rem; }
.fcg-rdvpage__replan-form .fcg-rdv__champ { color: rgba(226, 236, 255, 0.92); }
.fcg-rdvpage__replan-form .fcg-rdv__champ em { color: rgba(226, 236, 255, 0.7); }

/* Verrou de créneau : le compte à rebours qui dit au visiteur que la place
   est tenue pour lui — et jusqu'à quand. */
.fcg-rdv__verrou {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0;
  padding: 0.55rem 0.8rem;
  border-radius: var(--fcg-radius-sm);
  background: #e7f5ec;
  color: var(--fcg-teal-deep);
  font-size: var(--fcg-fs-base);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.fcg-rdv__heure.est-attente { opacity: 0.55; cursor: progress; }
.fcg-rdv__apres {
  border: 1px solid var(--fcg-line);
  border-radius: var(--fcg-radius-sm);
  background: var(--fcg-surface);
  padding: 1rem 1.1rem;
  margin: 1rem 0 0.75rem;
  text-align: left;
}
.fcg-rdv__apres p { margin: 0 0 0.75rem; font-size: var(--fcg-fs-base); }
.fcg-rdv__apres strong { color: var(--fcg-navy); }

/* Questionnaire préparatoire, rempli après le paiement. */
.fcg-rdvpage__dossier { max-width: 46rem; }
.fcg-rdvpage__dossier-form { display: grid; gap: 1.1rem; }
.fcg-rdvpage__cases {
  border: 1px solid var(--fcg-line);
  border-radius: var(--fcg-radius-sm);
  background: var(--fcg-white);
  padding: 0.9rem 1.1rem 1rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
  gap: 0.5rem 1rem;
}
.fcg-rdvpage__cases legend {
  font-size: var(--fcg-fs-base);
  font-weight: 700;
  color: var(--fcg-navy);
  padding: 0 0.35rem;
}
.fcg-rdvpage__cases label {
  display: flex;
  gap: 0.5rem;
  align-items: baseline;
  font-size: var(--fcg-fs-base);
  color: var(--fcg-ink);
  cursor: pointer;
}
.fcg-rdvpage__cases input { flex: 0 0 auto; width: 1rem; height: 1rem; }
.fcg-rdvpage__dossier-note {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
  margin: 0;
  font-size: var(--fcg-fs-sm);
  color: var(--fcg-muted);
  line-height: 1.55;
}
.fcg-rdvpage__dossier-note i { color: var(--fcg-blue); margin-top: 0.1rem; }

/* Déclinaisons ville d'une page de litige. */
.fcg-medcas__local-lead {
  max-width: 62ch;
  font-size: var(--fcg-fs-md);
  line-height: 1.65;
  color: rgba(226, 236, 255, 0.88);
}
.fcg-medcas__local {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr));
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.fcg-medcas__local > div {
  background: var(--fcg-surface);
  border: 1px solid var(--fcg-line);
  border-radius: var(--fcg-radius-sm);
  padding: 1rem 1.1rem;
}
.fcg-medcas__local h3 {
  display: flex;
  gap: 0.5rem;
  align-items: baseline;
  margin: 0 0 0.4rem;
  font-family: var(--fcg-font-display);
  font-size: var(--fcg-fs-base);
  color: var(--fcg-navy);
}
.fcg-medcas__local h3 i { color: var(--fcg-blue); flex: 0 0 auto; }
.fcg-medcas__local p { margin: 0; font-size: var(--fcg-fs-base); color: var(--fcg-muted); line-height: 1.6; }
.fcg-medcas__local a { color: var(--fcg-blue); }
.fcg-medcas__villes {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(10rem, 1fr));
  gap: 0.6rem;
}
.fcg-medcas__villes a {
  display: flex;
  gap: 0.45rem;
  align-items: center;
  background: var(--fcg-white);
  border: 1px solid var(--fcg-line);
  border-radius: var(--fcg-radius-sm);
  padding: 0.7rem 0.9rem;
  text-decoration: none;
  color: var(--fcg-navy);
  font-size: var(--fcg-fs-base);
  font-weight: 600;
}
.fcg-medcas__villes a:hover { border-color: var(--fcg-blue); }
.fcg-medcas__villes i { color: var(--fcg-blue); }

/* Articles de blog liés au litige. */
.fcg-medcas__articles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr));
  gap: 0.9rem;
}
.fcg-medcas__articles a {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  background: var(--fcg-white);
  border: 1px solid var(--fcg-line);
  border-radius: var(--fcg-radius-sm);
  padding: 1rem 1.1rem;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s var(--fcg-ease), box-shadow 0.2s var(--fcg-ease);
}
.fcg-medcas__articles a:hover { border-color: var(--fcg-blue); box-shadow: var(--fcg-shadow-sm); }
.fcg-medcas__articles i { color: var(--fcg-blue); font-size: 1.15rem; flex: 0 0 auto; }
.fcg-medcas__articles strong {
  display: block;
  font-family: var(--fcg-font-display);
  font-size: var(--fcg-fs-base);
  color: var(--fcg-navy);
  line-height: 1.35;
}
.fcg-medcas__articles span span {
  display: block;
  margin-top: 0.25rem;
  font-size: var(--fcg-fs-sm);
  color: var(--fcg-muted);
  line-height: 1.5;
}

/* Sortie d'urgence : proposée quand il ne reste aujourd'hui que des créneaux
   trop proches pour être tenus. La ligne téléphonique répond, elle. */
.fcg-rdv__urgence {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  border: 1px solid #f0d9a8;
  border-radius: var(--fcg-radius-sm);
  background: #fdf7e8;
  padding: 1rem 1.1rem;
}
.fcg-rdv__urgence-ico {
  display: inline-grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: var(--fcg-radius-sm);
  background: #f6e3b8;
  color: #8a6212;
  font-size: 1.1rem;
  flex: 0 0 auto;
}
.fcg-rdv__urgence strong {
  font-family: var(--fcg-font-display);
  font-size: var(--fcg-fs-md);
  color: var(--fcg-navy);
}
.fcg-rdv__urgence p {
  margin: 0.25rem 0 0.75rem;
  font-size: var(--fcg-fs-base);
  color: #6b5520;
  line-height: 1.55;
}
.fcg-rdv__urgence .fcg-btn { min-height: 2.6rem; padding: 0.5rem 1.1rem; }
.fcg-rdv__urgence-cout {
  display: block;
  margin-top: 0.4rem;
  font-size: var(--fcg-fs-xs);
  color: var(--fcg-muted);
}

/* Créneau express : l'appel dans l'heure, au tarif majoré. Se distingue de la
   grille normale sans la concurrencer — c'est une exception, pas l'offre. */
.fcg-rdv__express {
  border: 1.5px solid #f0c96b;
  border-radius: var(--fcg-radius-sm);
  background: linear-gradient(180deg, #fffaf0 0%, #fdf4e3 100%);
  padding: 1rem 1.1rem;
  display: grid;
  gap: 0.6rem;
}
.fcg-rdv__express-titre {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0;
  font-family: var(--fcg-font-display);
  font-size: var(--fcg-fs-md);
  font-weight: 700;
  color: var(--fcg-navy);
}
.fcg-rdv__express-titre i { color: #d99a1a; }
.fcg-rdv__express-lead {
  margin: 0;
  font-size: var(--fcg-fs-base);
  color: #6b5520;
  line-height: 1.5;
}
.fcg-rdv__express-note {
  margin: 0;
  font-size: var(--fcg-fs-xs);
  color: var(--fcg-muted);
}
.fcg-rdv__heures--express { min-height: 0; }
.fcg-rdv__heure--express {
  border-color: #e6b957;
  background: var(--fcg-white);
  color: #8a6212;
}
.fcg-rdv__heure--express:hover { border-color: #d99a1a; }
.fcg-rdv__heure--express.is-on {
  border-color: #b97e0d;
  background: #b97e0d;
  color: var(--fcg-white);
}
.fcg-rdv__heure--express:focus-visible { outline-color: #b97e0d; }
