/* Étape 4 : le rapport au client, sur une feuille à l'en-tête du cabinet, et la relecture du courtier à côté. */
.rapport__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.rapport__envoye { margin: -8px 0 20px; color: var(--bleu-texte); font-size: 15px; outline: none; }
.rapport__grille { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; align-items: start; }

.feuillet {
  background: var(--feuille); border: 1px solid var(--filet); border-radius: 4px; box-shadow: var(--ombre);
  padding: clamp(22px, 4vw, 52px) clamp(18px, 5vw, 64px) clamp(28px, 4vw, 44px);
  max-width: 860px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px;
}
.feuillet__entete { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-bottom: 16px; border-bottom: 2px solid var(--petrole); font-size: 13px; color: var(--encre-2); text-align: right; }
.feuillet__marque { display: flex; align-items: center; gap: 12px; font-family: var(--police-titre); font-size: 28px; color: var(--petrole); line-height: 1; text-align: left; }
.feuillet__marque img { border-radius: 8px; }
.feuillet__destinataire { font-size: 14px; color: var(--encre-2); }
.feuillet h2 { font-size: clamp(32px, 3.6vw, 42px); color: var(--petrole); }
.feuillet h3 { font-size: 24px; color: var(--petrole); margin-bottom: 8px; }
.feuillet section p, .feuillet section li { font-size: 16px; line-height: 1.6; max-width: 70ch; }
.feuillet section p + p { margin-top: 8px; }
.feuillet section ul, .feuillet section ol { padding-left: 20px; display: grid; gap: 4px; margin-top: 8px; }
.feuillet section li strong { font-weight: 500; }
.feuillet__tableau { font-size: 14px; min-width: 460px; }
.feuillet__tableau th[scope='row'] { font-weight: 500; color: var(--encre); font-size: 14px; white-space: normal; padding: 10px 14px; }
.feuillet__tableau td { vertical-align: middle; }
.feuillet__tableau .fort { color: var(--ambre-texte); font-weight: 700; }
.feuillet__retenu { background: var(--vert-voile); }
.feuillet__note { font-size: 13px !important; color: var(--encre-2); margin-top: 6px; }
.feuillet__reco { background: var(--vert-voile); border-left: 4px solid var(--vert); padding: 18px 22px; border-radius: 0 4px 4px 0; }
.feuillet__conseil { padding-top: 16px; border-top: 1px solid var(--filet); }
.feuillet__conseil h3 { font-size: 20px; }
.feuillet__conseil p { font-size: 14px !important; color: var(--encre-2); }
.feuillet__signature { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 20px; padding-top: 14px; border-top: 1px solid var(--filet); font-size: 14px; color: var(--encre-2); }
.feuillet__signature span:first-child { font-family: var(--police-titre); font-size: 20px; color: var(--petrole); }

/* Passage signalé pour la relecture */
.a-relire { background: var(--ambre-voile); box-shadow: inset 0 -2px 0 var(--ambre); padding: 0 2px; border-radius: 2px; color: inherit; }

.rapport__cote { display: grid; gap: 20px; position: sticky; top: 84px; }
.relecture__liste { list-style: none; padding: 0 20px 20px; display: grid; gap: 14px; }
.relecture__point { display: grid; gap: 8px; justify-items: start; border-left: 3px solid var(--ambre); padding-left: 12px; }
.relecture__point strong { display: block; font-weight: 500; }
.relecture__point p { font-size: 14px; color: var(--encre-2); }
.relecture__point .choix { min-height: 36px; padding: 6px 12px; font-size: 13px; white-space: nowrap; }
.relecture__point--relu { border-left-color: var(--vert); }
.relecture__point--relu strong { color: var(--vert-texte); }

.sources { list-style: none; padding: 0 20px 20px; display: grid; gap: 14px; }
.sources li { display: grid; gap: 2px; }
.sources strong { font-weight: 500; }
.sources span { font-size: 14px; color: var(--encre-2); }

@media (max-width: 1080px) {
  .rapport__grille { grid-template-columns: minmax(0, 1fr); }
  .rapport__cote { position: static; grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .rapport__cote { grid-template-columns: minmax(0, 1fr); }
  .feuillet__entete { flex-direction: column; align-items: flex-start; text-align: left; }
  .feuillet__tableau th, .feuillet__tableau td { padding: 8px 8px; }
  .feuillet__tableau thead th { white-space: normal; }
}
