/* ════════════════════════════════════════════════════════════════════════
   CARTE D IDENTITE DE L ETABLISSEMENT — source unique du style.
   Chargee par la landing ET par le dashboard. Un visiteur qui s inscrit
   doit retrouver exactement la carte qu il a vue avant de creer son
   compte : c est la continuite qui installe la confiance, et deux blocs
   de styles separes auraient diverge en quelques mois.
   Les couleurs passent par les tokens --db-* definis dans chaque page.
   ════════════════════════════════════════════════════════════════════════ */

.rv-fiche {
  display: flex;
  align-items: stretch;
  flex-wrap: wrap;
  background: var(--db-card, #ffffff);
  border: 1px solid var(--db-rule, #e1e4df);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(15, 20, 25, 0.10), 0 2px 6px rgba(15, 20, 25, 0.05);
}

/* L image est l element d architecture : bord a bord, toute la hauteur. */
.rv-fiche-photo {
  flex-shrink: 0;
  width: 190px;
  min-height: 150px;
  background: var(--db-card-alt, #f6f7f8);
}
.rv-fiche-photo img {
  width: 100%;
  height: 100%;
  min-height: 150px;
  object-fit: cover;
  display: block;
}

.rv-fiche-corps {
  flex: 1;
  min-width: 230px;
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
}

.rv-fiche-tete {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.rv-fiche-nom {
  font-family: var(--font-head, 'Poppins', sans-serif);
  font-size: 26px;
  font-weight: 800;
  color: var(--db-text, #1a2e05);
  letter-spacing: -0.6px;
  line-height: 1.15;
  overflow-wrap: anywhere;
}

.rv-fiche-adresse {
  font-size: 13px;
  color: var(--db-lead, #3d4b35);
  line-height: 1.45;
  margin-top: 5px;
  overflow-wrap: anywhere;
}

.rv-fiche-notes {
  display: flex;
  align-items: baseline;
  gap: 9px;
  margin-top: 10px;
  flex-wrap: wrap;
}

/* Traitement des chiffres : graisse 600, chasse resserree, tabulaire. */
.rv-fiche-note {
  font-family: var(--font-head, 'Poppins', sans-serif);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  color: var(--db-hero-num, #2d5016);
  line-height: 1;
}
.rv-fiche-etoiles { font-size: 14px; color: var(--db-stars, #b8860b); letter-spacing: 1px; }
.rv-fiche-volume  { font-size: 14px; color: var(--db-muted, #5c6b52); font-variant-numeric: tabular-nums; }
.rv-fiche-label   { font-size: 12px; font-weight: 700; color: var(--db-text, #1a2e05); }

.rv-fiche-meta {
  font-size: 12px;
  color: var(--db-muted, #5c6b52);
  margin-top: 8px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.rv-fiche-meta a { color: var(--db-brand, #3a6e18); font-weight: 700; text-decoration: none; }
.rv-fiche-sep    { color: var(--db-rule, #e1e4df); }

.rv-fiche-modif {
  flex-shrink: 0;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--db-muted, #5c6b52);
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-body, 'Poppins', sans-serif);
  text-decoration: underline;
  text-underline-offset: 2px;
  padding: 2px;
}

/* Sous 560 px l image passe au dessus, pleine largeur : la carte se lit de
   haut en bas au lieu de comprimer deux colonnes. */
@media (max-width: 560px) {
  .rv-fiche-photo { width: 100%; min-height: 132px; }
  .rv-fiche-photo img { min-height: 132px; }
  .rv-fiche-nom { font-size: 21px; }
  .rv-fiche-corps { padding: 18px; }
}
