/* ============================================================
   MATCHNRENT — FEUILLE DE STYLE COMMUNE
   Palette « terre et foyer »
   ============================================================ */

:root {
  /* Couleurs principales */
  --terracotta: #EB4A22;
  --terracotta-fonce: #C93A15;
  --terracotta-clair: #FCE2D8;
  --sauge: #7A8B6F;
  --sauge-clair: #E4EAE0;
  --ocre: #D89A4E;
  --ocre-clair: #F5E6D0;

  /* Neutres */
  --creme: #F8F4ED;
  --creme-fonce: #EFE8DC;
  --blanc: #FFFFFF;
  --encre: #101A26;
  --encre-douce: #4C5866;
  --gris: #998F82;
  --bordure: #E2D9CC;

  /* États */
  --succes: #5B8C5A;
  --succes-clair: #E0EDE0;
  --avertissement: #D89A4E;
  --erreur: #B3261E;
  --erreur-clair: #F6E0DB;

  /* Certifications */
  --bronze: #B07B4B;
  --argent: #9CA3AF;
  --or: #D89A4E;
  --platine: #EB4A22;

  /* Dimensions */
  --rayon-sm: 8px;
  --rayon: 14px;
  --rayon-lg: 22px;
  --rayon-xl: 30px;
  --ombre: 0 2px 16px rgba(16, 26, 38, 0.07);
  --ombre-forte: 0 12px 40px rgba(16, 26, 38, 0.14);
  --max-largeur: 1140px;
}

/* ── Reset ──────────────────────────────────────────────── */
* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background-color: var(--creme);
  color: var(--encre);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── Typographie ────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: 'Poppins', system-ui, sans-serif;
  font-weight: 600;
  line-height: 1.15;
  color: var(--encre);
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(1.3rem, 2.8vw, 2.8rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
h3 { font-size: 1.3rem; }

a { color: var(--terracotta); text-decoration: none; transition: color 0.15s; }
a:hover { color: var(--terracotta-fonce); }

.eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--terracotta);
}

.muted { color: var(--encre-douce); }
.small { font-size: 0.88rem; }

/* ── Conteneurs ─────────────────────────────────────────── */
.conteneur {
  max-width: var(--max-largeur);
  margin: 0 auto;
  padding: 0 24px;
}

.conteneur-etroit { max-width: 520px; margin: 0 auto; padding: 0 24px; }
/* Tablette et ordinateur : la colonne s'élargit (demandé par Seb le 20 novembre 2026). Le téléphone ne change pas. */
@media (min-width: 768px) { .conteneur-etroit { max-width: 720px; } }

/* ── En-tête de navigation ──────────────────────────────── */
.barre-nav {
  background: rgba(248, 244, 237, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--bordure);
  position: sticky;
  top: 0;
  z-index: 100;
}

.barre-nav .conteneur {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.logo {
  font-family: 'Poppins', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--encre);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  letter-spacing: normal;
  word-spacing: normal;
}
.logo img { height: 34px; width: auto; display: block; }
.logo:hover { color: var(--terracotta); }
.logo span { color: var(--terracotta); }
.logo em { color: var(--terracotta); font-style: italic; font-weight: 800; }

.nav-liens { display: flex; gap: 4px; align-items: center; }

.nav-lien {
  padding: 8px 16px;
  border-radius: var(--rayon-sm);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--encre-douce);
  transition: all 0.15s;
}
.nav-lien:hover { background: var(--creme-fonce); color: var(--encre); }
.nav-lien.actif { background: var(--terracotta-clair); color: var(--terracotta-fonce); font-weight: 600; }

/* ── Boutons ────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--rayon);
  font-family: inherit;
  font-size: 0.98rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.18s;
  text-align: center;
}

.btn-primaire {
  background: var(--terracotta);
  color: var(--blanc);
  box-shadow: 0 4px 14px rgba(199, 86, 67, 0.28);
}
.btn-primaire:hover { background: var(--terracotta-fonce); color: var(--blanc); transform: translateY(-1px); }

.btn-secondaire {
  background: var(--sauge);
  color: var(--blanc);
}
.btn-secondaire:hover { background: #67785C; color: var(--blanc); }

.btn-contour {
  background: transparent;
  color: var(--terracotta);
  border: 1.5px solid var(--terracotta);
}
.btn-contour:hover { background: var(--terracotta-clair); }
/* Bouton désactivé : gris, pour qu'il n'ait pas l'air touchable (demandé par Seb, 26 novembre 2026). */
.btn:disabled, .btn:disabled:hover { background: var(--creme-fonce); color: var(--encre-douce); border-color: var(--creme-fonce); box-shadow: none; transform: none; cursor: default; }

.btn-bloc { width: 100%; }
.btn-grand { padding: 16px 32px; font-size: 1.05rem; }

/* ── Cartes ─────────────────────────────────────────────── */
.carte {
  background: var(--blanc);
  border-radius: var(--rayon-lg);
  padding: 26px;
  box-shadow: var(--ombre);
  border: 1px solid var(--bordure);
}

/* ── Formulaires ────────────────────────────────────────── */
.champ-groupe { margin-bottom: 18px; }

.label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--encre-douce);
  margin-bottom: 7px;
}

.champ {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--bordure);
  border-radius: var(--rayon);
  font-family: inherit;
  font-size: 1rem;
  color: var(--encre);
  background: var(--blanc);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.champ:focus {
  outline: none;
  border-color: var(--terracotta);
  box-shadow: 0 0 0 3px var(--terracotta-clair);
}
textarea.champ { resize: vertical; min-height: 100px; }
select.champ { cursor: pointer; }

/* ── Puces de sélection ─────────────────────────────────── */
.puces { display: flex; flex-wrap: wrap; gap: 8px; }

.puce {
  padding: 9px 16px;
  border: 1.5px solid var(--bordure);
  border-radius: var(--rayon);
  background: var(--blanc);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--encre);
  cursor: pointer;
  transition: all 0.15s;
  user-select: none;
}
.puce:hover { border-color: var(--sauge); }
.puce.active {
  border-color: var(--terracotta);
  background: var(--terracotta-clair);
  color: var(--terracotta-fonce);
  font-weight: 600;
}

/* ── Badges ─────────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
}
.badge-bronze { background: #F0E2D2; color: #9A6A3A; }
.badge-argent { background: #ECEEF1; color: #6B7280; }
.badge-or { background: var(--ocre-clair); color: #B0732A; }
.badge-platine { background: var(--terracotta-clair); color: var(--terracotta-fonce); }
.badge-sauge { background: var(--sauge-clair); color: #5A6B4F; }

/* ── Étiquettes (tags) ──────────────────────────────────── */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 11px;
  background: var(--creme-fonce);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--encre);
}

/* ── Anneau de compatibilité (signature) ───────────────── */
.anneau {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.anneau svg { transform: rotate(-90deg); }
.anneau-texte {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.anneau-pct { font-family: 'Poppins', sans-serif; font-weight: 700; line-height: 1; }
.anneau-label { font-size: 0.6rem; color: var(--encre-douce); font-weight: 600; }

/* ── Grille ─────────────────────────────────────────────── */
.grille { display: grid; gap: 20px; }
.grille-2 { grid-template-columns: repeat(2, 1fr); }
.grille-3 { grid-template-columns: repeat(3, 1fr); }
.grille-auto { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }

/* ── Utilitaires ────────────────────────────────────────── */
.flex { display: flex; }
.flex-centre { display: flex; align-items: center; justify-content: center; }
.flex-entre { display: flex; align-items: center; justify-content: space-between; }
.gap-sm { gap: 8px; } .gap { gap: 16px; } .gap-lg { gap: 24px; }
.mt-sm { margin-top: 8px; } .mt { margin-top: 16px; } .mt-lg { margin-top: 32px; }
.mb-sm { margin-bottom: 8px; } .mb { margin-bottom: 16px; } .mb-lg { margin-bottom: 32px; }
.texte-centre { text-align: center; }
.cache { display: none !important; }

/* ── Pied de page ───────────────────────────────────────── */
.pied {
  border-top: 1px solid var(--bordure);
  padding: 32px 0;
  margin-top: 64px;
  text-align: center;
  color: var(--gris);
  font-size: 0.85rem;
}

/* ── Bannière privée ────────────────────────────────────── */
.banniere-privee {
  background: var(--encre);
  color: var(--creme);
  text-align: center;
  padding: 8px 16px;
  font-size: 0.82rem;
  font-weight: 500;
}

/* ── Notifications toast ────────────────────────────────── */
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--encre);
  color: var(--blanc);
  padding: 14px 24px;
  border-radius: var(--rayon);
  box-shadow: var(--ombre-forte);
  font-weight: 500;
  z-index: 1000;
  opacity: 0;
  transition: all 0.3s;
}
.toast.visible { transform: translateX(-50%) translateY(0); opacity: 1; }
.toast.succes { background: var(--succes); }
.toast.erreur { background: var(--erreur); }

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 860px) {
  .grille-2, .grille-3 { grid-template-columns: 1fr; }
  .nav-liens { gap: 0; }
  .nav-lien { padding: 8px 10px; font-size: 0.85rem; }
  .nav-cache-mobile { display: none; }
}

@media (max-width: 560px) {
  .conteneur { padding: 0 16px; }
  .nav-liens { gap: 2px; }
  .barre-nav .logo img { height: 26px; }
  .carte { padding: 20px; }
  .logo { font-size: 1.15rem; }
  .nav-lien { padding: 6px 8px; font-size: 0.8rem; }
  .barre-nav .btn-primaire { padding: 7px 12px !important; font-size: 0.8rem; }
}

/* Logo incrusté dans une phrase — aligné sur la ligne de base du texte */
.logo-inline {
  height: 1.5em;
  vertical-align: -0.155em;
  margin: 0 0.06em;
}

/* ============================================================
   NAVIGATION D'APPLICATION — barre du haut + onglets mobiles
   ============================================================ */
.icone {
  width: 22px; height: 22px; flex-shrink: 0;
  fill: none; stroke: currentColor; stroke-width: 1.9;
  stroke-linecap: round; stroke-linejoin: round;
}

.banniere-privee {
  background: var(--encre);
  color: rgba(248, 244, 237, 0.85);
  text-align: center;
  padding: 5px 16px;
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}

/* Menu du compte (mobile) */
.compte { position: relative; display: block; }
.compte > summary {
  list-style: none; cursor: pointer;
  width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--creme-fonce); color: var(--encre);
}
.compte > summary::-webkit-details-marker { display: none; }
.compte[open] > summary { background: var(--terracotta-clair); color: var(--terracotta-fonce); }
.compte-menu {
  position: absolute; right: 0; top: 48px; z-index: 200;
  min-width: 210px; padding: 6px;
  background: var(--blanc); border: 1px solid var(--bordure);
  border-radius: var(--rayon); box-shadow: var(--ombre-forte);
}
.compte-menu a {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 12px; border-radius: var(--rayon-sm);
  color: var(--encre); font-size: 0.93rem; font-weight: 500;
}
.compte-menu a:hover { background: var(--creme); color: var(--encre); }
.compte-menu .sep { height: 1px; background: var(--bordure); margin: 4px 6px; }

/* Barre d'onglets (mobile seulement) */
.tabbar { display: none; }
.tab-icone { position: relative; display: inline-flex; }
.tab-point { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--terracotta); }
.tab-icone .tab-point { position: absolute; top: -2px; right: -5px; border: 2px solid var(--blanc); box-sizing: content-box; }
.nav-lien .tab-point { margin-left: 6px; vertical-align: middle; }
.lien-cands { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 48px; margin: 10px 0 16px; padding: 0 2px; border-top: 1px solid var(--bordure); border-bottom: 1px solid var(--bordure); color: var(--terracotta-fonce); font-weight: 600; font-size: .95rem; }
.lien-cands .suite { color: var(--encre-douce); font-weight: 500; font-size: .88rem; white-space: nowrap; }

@media (max-width: 860px) {
  .nav-app .nav-liens { display: none; }
  .nav-app .compte { display: block; }
  .tabbar {
    display: grid; grid-auto-flow: column; grid-auto-columns: 1fr;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 150;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    border-top: 1px solid var(--bordure);
    padding: 6px 4px calc(6px + env(safe-area-inset-bottom));
  }
  .tab {
    display: flex; flex-direction: column; align-items: center; gap: 3px;
    padding: 6px 2px; border-radius: 10px;
    color: var(--encre-douce); font-size: 0.68rem; font-weight: 600;
    transition: color 0.15s;
  }
  .tab .icone { width: 24px; height: 24px; }
  .tab:not(.actif):hover { color: var(--encre-douce); }
  .tab.actif { color: var(--terracotta); }
  .tab.actif .icone { stroke-width: 2.3; }
  body.a-tabbar { padding-bottom: calc(70px + env(safe-area-inset-bottom)); }
  body.a-tabbar .toast { bottom: calc(84px + env(safe-area-inset-bottom)); }
}

/* ── Accessibilité ──────────────────────────────────────── */
a:focus-visible, button:focus-visible, .btn:focus-visible,
input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 3px solid var(--terracotta);
  outline-offset: 2px;
}
.champ:focus-visible { outline: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   COMPTE — certification, enquête, paiement, reçus, répartition
   ============================================================ */
.page { padding: 32px 0 64px; }
.deux-col { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .deux-col { grid-template-columns: 1fr; } }

/* Étiquette de révision (REVISION = true dans js/compte.js) */
.a-valider {
  display: inline-block; vertical-align: middle; margin-left: 6px;
  border: 1.5px dashed #B0732A; color: #8A5A1F; background: #FFF8EC;
  border-radius: 6px; padding: 1px 7px; font-size: 0.72rem; font-weight: 700; line-height: 1.5;
}

/* Bandeau de simulation */
.bandeau-demo {
  background: var(--ocre-clair); border: 1px solid var(--ocre); border-radius: var(--rayon);
  padding: 12px 16px; font-size: 0.9rem; line-height: 1.5; margin-bottom: 20px;
}

/* Feuille modale */
.feuille-fond {
  position: fixed; inset: 0; z-index: 300; background: rgba(16, 26, 38, 0.6);
  display: none; align-items: center; justify-content: center; padding: 24px;
}
.feuille-fond.visible { display: flex; }
.feuille {
  background: var(--blanc); border-radius: var(--rayon-xl); padding: 28px;
  max-width: 480px; width: 100%; max-height: 88vh; overflow-y: auto;
}
.feuille h3 { margin-bottom: 10px; }
@media (max-width: 600px) {
  .feuille-fond { align-items: flex-end; padding: 0; }
  .feuille { border-radius: var(--rayon-xl) var(--rayon-xl) 0 0; padding: 26px 20px calc(26px + env(safe-area-inset-bottom)); max-width: none; }
}

/* Fil d'étapes horizontal */
.fil { display: flex; align-items: center; gap: 6px; margin-bottom: 26px; }
.fil-pas { flex: 1; text-align: center; font-size: 0.74rem; font-weight: 600; color: var(--gris); }
.fil-pas::before { content: ''; display: block; height: 5px; border-radius: 3px; background: var(--bordure); margin-bottom: 7px; }
.fil-pas.fait::before { background: var(--succes); }
.fil-pas.actif::before { background: var(--terracotta); }
.fil-pas.actif { color: var(--encre); }
.fil-pas.fait { color: var(--encre-douce); }
@media (max-width: 480px) { .fil-pas span { display: none; } .fil-pas.actif span { display: inline; } }

/* Lignes d'état (liste de vérifications) */
.etat { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-top: 1px solid var(--bordure); }
.etat:first-child { border-top: 0; padding-top: 4px; }
.etat-icone { width: 42px; height: 42px; border-radius: 12px; background: var(--creme); color: var(--encre-douce); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.etat-corps { flex: 1; min-width: 0; }
.etat-corps strong { display: block; }
/* Téléphone : le bouton passe sous le texte, sinon le texte s'écrase en une colonne d'un mot (tournée finale, 20 novembre 2026). */
@media (max-width: 560px) { .etat { flex-wrap: wrap; } .etat > .btn { flex: 1 1 100%; } }
.pastille { display: inline-flex; align-items: center; gap: 6px; padding: 4px 11px; border-radius: 999px; font-size: 0.78rem; font-weight: 700; white-space: nowrap; }
.pastille.ok { background: var(--succes-clair); color: #2E6B2D; }
.pastille.attente { background: var(--ocre-clair); color: #8A5A1F; }
.pastille.a-faire { background: var(--creme-fonce); color: var(--encre-douce); }
.pastille.non { background: var(--erreur-clair); color: var(--erreur); }

/* Récapitulatif de paiement et reçus */
.recap { background: var(--creme); border-radius: var(--rayon); padding: 16px 18px; }
.recap-ligne { display: flex; justify-content: space-between; gap: 16px; padding: 5px 0; font-size: 0.95rem; }
.recap-ligne span:last-child { white-space: nowrap; font-variant-numeric: tabular-nums; }
.recap-ligne.sous { color: var(--encre-douce); font-size: 0.88rem; }
.recap-ligne.total { border-top: 2px solid var(--encre); margin-top: 8px; padding-top: 12px; font-weight: 700; font-size: 1.15rem; }
.recap-sep { border-top: 1px solid var(--bordure); margin: 8px 0; }
.champ-carte { letter-spacing: 0.06em; font-variant-numeric: tabular-nums; }
.recu { background: var(--blanc); border: 1px solid var(--bordure); border-radius: var(--rayon-lg); padding: 30px; }
.recu-tete { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.recu-tete img { height: 38px; width: auto; }
.recu-bloc { font-size: 0.9rem; line-height: 1.6; color: var(--encre-douce); }
.recu-bloc strong { color: var(--encre); }
@media print {
  .banniere-privee, .barre-nav, .tabbar, .sans-impression, .a-valider { display: none !important; }
  body { background: #fff; padding: 0 !important; }
  .recu { border: 0; padding: 0; }
}

/* Cases de consentement */
.consentement { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border: 2px solid var(--bordure); border-radius: var(--rayon); margin-bottom: 10px; cursor: pointer; line-height: 1.5; }
.consentement input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--terracotta); flex-shrink: 0; }
.consentement:has(input:checked) { border-color: var(--succes); background: var(--succes-clair); }

/* Puces de choix (formulaires) */
.choix-puces { display: flex; flex-wrap: wrap; gap: 8px; }
.choix-puce { border: 2px solid var(--bordure); border-radius: 999px; padding: 8px 16px; cursor: pointer; font-size: 0.9rem; background: var(--blanc); user-select: none; }
.choix-puce.actif { border-color: var(--terracotta); background: var(--terracotta-clair); font-weight: 600; }

/* Barre de complétion */
.jauge { height: 10px; border-radius: 5px; background: var(--creme-fonce); overflow: hidden; }
.jauge > div { height: 100%; border-radius: 5px; background: var(--terracotta); transition: width 0.3s; }

/* Tableau de répartition */
.part { display: grid; grid-template-columns: 44px 1fr auto; gap: 12px; align-items: center; padding: 14px 0; border-top: 1px solid var(--bordure); }
.part:first-child { border-top: 0; }
.part-avatar { width: 44px; height: 44px; border-radius: 12px; background: var(--creme); display: flex; align-items: center; justify-content: center; font-size: 1.4rem; overflow: hidden; }
.part-total { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 1.25rem; color: var(--terracotta); white-space: nowrap; text-align: right; }

/* Un avis ne doit jamais bloquer un bouton placé dessous */
.toast { pointer-events: none; }

/* Liste à coches (ce qui est inclus, ce qui sera partagé) */
.liste-coche { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 8px; }
.liste-coche li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; align-items: start; font-size: 0.92rem; line-height: 1.45; }
.liste-coche li::before {
  content: ''; width: 18px; height: 18px; margin-top: 2px; border-radius: 50%; background: var(--succes);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23000' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round' d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center/100% no-repeat, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
.actions-pile { display: flex; gap: 10px; flex-wrap: wrap; }
.actions-pile > * { flex: 1 1 200px; }

/* Ligne à déplier (règle de présentation validée par Seb le 20 novembre 2026) : en commun pour toutes les pages. */
/* Réponses d'un autre profil (matchs, groupe) */
.rep-profil { border-top: 1px solid var(--bordure); padding-top: 10px; }
.rep-titre { font-weight: 700; font-size: .92rem; margin-bottom: 2px; }
.rep-ligne { display: flex; justify-content: space-between; gap: 14px; padding: 7px 0; border-top: 1px solid var(--bordure); font-size: .88rem; }
.rep-titre + .rep-ligne { border-top: 0; }
.rep-ligne > span:first-child { color: var(--encre-douce); }
.rep-ligne > span:last-child { font-weight: 600; text-align: right; }
.rep-coche { color: #2E6B2D; font-weight: 700; }
details.replie { border-top: 1px solid var(--bordure); }
details.replie > summary { list-style: none; cursor: pointer; color: var(--terracotta-fonce); font-weight: 600; font-size: .95rem; min-height: 48px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
details.replie > summary::-webkit-details-marker { display: none; }
details.replie > summary::after { content: '›'; font-size: 1.2rem; transition: transform .15s; flex-shrink: 0; }
details.replie[open] > summary::after { transform: rotate(90deg); }
