@font-face { font-family: "Source Serif 4"; src: url("fonts/source-serif-4.woff2") format("woff2"); font-weight: 200 900; font-display: block; }
@font-face { font-family: "Source Code Pro"; src: url("fonts/source-code-pro.woff2") format("woff2"); font-weight: 200 900; font-display: block; }
:root { --papier: #f4f1ea; --encre: #1b1a17; --pale: #5c574d; --tampon: #b3261e; --mono: "Source Code Pro", "Courier New", monospace; }
* { box-sizing: border-box; }
html { background: var(--papier); }
body { margin: 0; font: 18px/1.55 "Source Serif 4", Georgia, serif; color: var(--encre); background: var(--papier); }
a { color: inherit; text-underline-offset: 3px; }
a:focus-visible { outline: 2px solid var(--encre); outline-offset: 3px; }
.feuille { max-width: 1040px; margin: 0 auto; padding: 0 28px; }
.m { font-family: var(--mono); font-size: 0.86em; font-weight: 500; }

.tete { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; padding: 22px 0 12px; border-bottom: 3px solid var(--encre); }
.tete .marque { font-weight: 700; font-size: 24px; letter-spacing: -0.3px; text-decoration: none; }
.tete nav { display: flex; gap: 22px; font-size: 15px; flex-wrap: wrap; }

.garde { display: grid; grid-template-columns: 1.08fr 1fr; gap: 48px; align-items: start; padding: 64px 0 64px; }
h1 { font-size: clamp(40px, 6vw, 72px); line-height: 1.02; letter-spacing: -1.5px; margin: 0 0 24px; max-width: 12ch; font-weight: 700; }
.chapo { font-size: clamp(19px, 2.1vw, 23px); max-width: 33em; margin: 0 0 14px; }
.garde .suite { margin: 28px 0 0; font-size: 16px; color: var(--pale); }
.fiche { margin-top: 10px; position: relative; background: #fff; border: 1px solid var(--encre); padding: 22px 22px 18px; transform: rotate(1.2deg); }
.fiche-tete { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; font-weight: 700; font-size: 19px; border-bottom: 3px solid var(--encre); padding-bottom: 8px; margin-bottom: 14px; }
.fiche-tete .m { font-weight: 500; font-size: 12.5px; }
.fiche-case { border: 1px solid var(--encre); border-bottom: 0; padding: 7px 10px 8px; font-size: 14.5px; overflow-wrap: anywhere; }
.fiche .lib { display: block; font-size: 12px; color: var(--pale); }
.fiche-note { display: grid; grid-template-columns: auto 1fr; gap: 22px; align-items: center; border: 3px solid var(--encre); padding: 12px 14px; }
.fiche-note .n { display: block; font-size: 54px; font-weight: 700; line-height: 1; letter-spacing: -2px; }
.fiche-note .n small { font-size: 16px; font-weight: 500; letter-spacing: 0; }
.fiche-note ul { list-style: none; margin: 0; padding: 0; font-size: 15.5px; }
.fiche-note li b { display: inline-block; min-width: 1.4em; font-size: 18px; }
.fiche-legende { margin: 12px 0 0; font-size: 13px; color: var(--pale); }
.tampon { position: absolute; right: -14px; top: 96px; transform: rotate(-7deg); border: 3px solid var(--tampon); color: var(--tampon); background: #fff; padding: 7px 14px 5px; font-family: var(--mono); font-weight: 500; text-align: center; letter-spacing: 1.5px; font-size: 12px; line-height: 1.3; }
.tampon b { display: block; font-size: 19px; letter-spacing: 3px; }
.eu { margin-left: 7px; }
.familles { border-top: 1px solid var(--encre); }
.famille { display: grid; grid-template-columns: 250px 1fr; gap: 28px; border-bottom: 1px solid var(--encre); padding: 20px 0 14px; }
.famille:last-child { border-bottom: 0; padding-bottom: 0; }
.famille h3 { margin: 0; font-size: 21px; line-height: 1.25; }
.famille ul { list-style: none; margin: 0; padding: 0; }
.famille li { padding: 0 0 9px; font-size: 17px; }

h2 { font-size: clamp(28px, 3.6vw, 42px); line-height: 1.1; letter-spacing: -0.6px; margin: 0 0 12px; }
section { padding: 56px 0; border-top: 1px solid var(--encre); }
section > p.intro { max-width: 36em; margin: 0 0 30px; }

/* un constat, tel qu'il figure dans le procès-verbal */
.constat { border: 1px solid var(--encre); background: #fff; }
.constat .bandeau { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 8px 14px; border-bottom: 1px solid var(--encre); font-family: var(--mono); font-size: 13px; }
.constat h3 { margin: 0; padding: 14px 14px 15px; font-size: 22px; line-height: 1.25; border-bottom: 1px solid var(--encre); }
.ligne { display: grid; grid-template-columns: 150px 1fr; border-bottom: 1px solid var(--encre); }
.ligne:last-child { border-bottom: 0; }
.ligne .lib { padding: 11px 10px 11px 14px; font-size: 13.5px; color: var(--pale); border-right: 1px solid var(--encre); }
.ligne .val { padding: 9px 14px 11px; font-size: 16.5px; min-width: 0; }
.constat .releve { font-weight: 500; }
.releve { font-family: var(--mono); font-size: 13.5px; line-height: 1.5; overflow-wrap: anywhere; }
.legende { font-size: 14.5px; color: var(--pale); margin: 12px 0 0; }
.rouge { color: var(--tampon); }

.non { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--encre); }
.non li { padding: 12px 0; border-bottom: 1px solid var(--encre); }
.non li:last-child { border-bottom: 0; padding-bottom: 0; }

.tarifs { display: grid; grid-template-columns: 1.25fr 1fr; border: 3px solid var(--encre); background: #fff; }
.tarif { padding: 26px 28px 30px; display: flex; flex-direction: column; }
.tarif + .tarif { border-left: 1px solid var(--encre); }
.tarif h3 { margin: 0 0 6px; font-size: 22px; }
.tarif .prix { font-family: var(--mono); font-size: 46px; font-weight: 700; line-height: 1.1; margin: 6px 0 2px; letter-spacing: -3px; }
.tarif .prix small { font-size: 16px; font-weight: 500; letter-spacing: 0; }
.recu { margin: 26px 0 0; font-size: 17px; }
.recu .bouton { margin-top: 12px; }
.tarif p { margin: 10px 0 0; font-size: 16.5px; }
.bouton { display: inline-block; align-self: flex-start; padding: 13px 22px 14px; border: 2px solid var(--encre); text-decoration: none; font-weight: 600; font-size: 17px; }
.tarif p { margin-bottom: 24px; }
.tarif .pousse { margin-top: auto; }
.bouton.plein { background: var(--encre); color: var(--papier); }
.bouton:hover { background: var(--tampon); border-color: var(--tampon); color: #fff; }
.conditions { font-size: 15px; color: var(--pale); margin: 16px 0 0; max-width: 46em; }

.pied { border-top: 3px solid var(--encre); padding: 22px 0 40px; font-size: 14.5px; color: var(--pale); display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.pied p { margin: 0; max-width: 40em; }

.texte { max-width: 42em; padding: 48px 0 56px; }
.texte h1 { font-size: clamp(34px, 5vw, 52px); max-width: none; margin-bottom: 28px; }
.texte h2 { font-size: 24px; margin: 36px 0 8px; letter-spacing: -0.2px; }
.texte p { margin: 0 0 12px; }

@media (max-width: 760px) {
  body { font-size: 17px; }
  .feuille { padding: 0 18px; }
  .garde { grid-template-columns: 1fr; gap: 36px; padding: 36px 0 44px; }
  .fiche { transform: none; padding: 16px 14px 14px; }
  .tampon { right: -6px; top: -20px; bottom: auto; padding: 5px 10px 3px; font-size: 10px; border-width: 2px; }
  .tampon b { font-size: 15px; }
  .fiche { margin-top: 14px; }
  .famille { grid-template-columns: 1fr; gap: 8px; }
  section { padding: 40px 0; }
  .tarifs { grid-template-columns: 1fr; }
  .tarif + .tarif { border-left: 0; border-top: 1px solid var(--encre); }
  .ligne { grid-template-columns: 1fr; }
  .ligne .lib { border-right: 0; padding: 9px 14px 0; }
  .ligne .val { padding-top: 2px; }
  .tarif .prix { font-size: 40px; }
}
