/* Page Refaite : l'atelier du correcteur (voir brand.md). Aucun appel externe. */
@font-face { font-family: "Newsreader"; src: url("fonts/newsreader-roman.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "Newsreader"; src: url("fonts/newsreader-italic.woff2") format("woff2"); font-weight: 200 800; font-style: italic; font-display: swap; }
@font-face { font-family: "Courier Prime"; src: url("fonts/courier-prime-400.woff2") format("woff2"); font-display: swap; }
:root { --papier: #f3eee4; --feuille: #fbf8f1; --encre: #1f1b16; --pale: #6b6257; --filet: #d8cfbf; --rouge: #c2341d;
        --serif: "Newsreader", Georgia, serif; --tapu: "Courier Prime", "Courier New", monospace; }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--papier); color: var(--encre); font: 400 19px/1.55 var(--serif); font-variant-numeric: lining-nums; }
a { color: inherit; text-underline-offset: 3px; }
h1, h2, h3, p, ol, ul, dl, dd { margin: 0; padding: 0; }
.page { max-width: 1160px; margin: 0 auto; padding: 0 32px; }
.tete { display: flex; justify-content: space-between; align-items: baseline; padding: 26px 0 22px; border-bottom: 1px solid var(--encre); font-size: 16px; }
.marque { font-size: 22px; font-weight: 600; letter-spacing: -0.01em; text-decoration: none; }
.marque i { color: var(--rouge); font-weight: 400; }
.tete span { color: var(--pale); }

/* premier écran : le titre à gauche, l'épreuve corrigée à droite */
.ouverture { display: grid; grid-template-columns: 1.08fr 0.92fr; gap: 64px; padding: 64px 0 88px; align-items: start; }
.ouverture > * { min-width: 0; }
h1 { font-size: 62px; line-height: 1.04; font-weight: 500; letter-spacing: -0.022em; }
h1 em { font-style: italic; font-weight: 400; }
.pourqui { margin-top: 26px; font-size: 22px; line-height: 1.45; max-width: 30em; }
.acte { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 14px 26px; align-items: center; }
.bouton { display: inline-block; background: var(--rouge); color: #fffaf3; text-decoration: none; padding: 15px 24px 14px; font-size: 19px; font-weight: 600; border-radius: 2px; }
.bouton:hover, .bouton:focus-visible { background: #a32a16; }
.bouton.second { background: none; color: var(--encre); border: 1px solid var(--encre); }
.bouton.second:hover, .bouton.second:focus-visible { background: var(--encre); color: var(--feuille); }
.acte small, .petit { font-size: 16px; color: var(--pale); }

.epreuve { background: var(--feuille); border: 1px solid var(--filet); padding: 30px 30px 26px 30px; position: relative; transform: rotate(0.6deg); }
.epreuve figcaption { font: italic 15px/1.3 var(--serif); color: var(--pale); margin-top: 20px; padding-top: 12px; border-top: 1px solid var(--filet); transform: none; }
.tapu { font: 400 16px/1.7 var(--tapu); color: #3a342c; }
.tapu s { text-decoration-color: var(--rouge); text-decoration-thickness: 2px; white-space: nowrap; }
.marge { display: block; font: italic 17px/1.3 var(--serif); color: var(--rouge); margin: 4px 0 14px 34px; }
.compose { margin-top: 18px; padding-top: 18px; border-top: 1px dashed var(--filet); font: 500 27px/1.16 var(--serif); letter-spacing: -0.012em; }
.compose span { display: block; font: 400 17px/1.45 var(--serif); letter-spacing: 0; margin-top: 10px; color: #3a342c; }

section { padding: 72px 0; border-top: 1px solid var(--filet); }
h2 { font-size: 40px; line-height: 1.1; font-weight: 500; letter-spacing: -0.018em; max-width: 17em; }
.deux { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 64px; align-items: start; }
.deux > div > p + p { margin-top: 16px; }
.chapo { margin-top: 18px; color: #3a342c; max-width: 26em; }

/* le bon de livraison */
.bon { background: var(--feuille); border: 1px solid var(--encre); }
.bon li { list-style: none; display: grid; grid-template-columns: 1fr auto; gap: 24px; padding: 17px 24px; border-bottom: 1px solid var(--filet); }
.bon li:last-child { border-bottom: 0; }
.bon b { font-weight: 600; }
.bon span { display: block; font-size: 17px; color: var(--pale); }
.bon em { font: italic 16px/1.7 var(--serif); color: var(--pale); white-space: nowrap; }
.bon .plus { background: var(--papier); }

/* la règle : pleine largeur, encre */
.regle { background: var(--encre); color: var(--feuille); border: 0; }
.regle + .page > section:first-child { border-top: 0; }
.regle .page { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: 64px; align-items: end; }
.regle h2 { font-size: 52px; max-width: 12em; }
.regle h2 em { font-style: italic; font-weight: 400; }
.regle p { font-size: 19px; color: #d9d1c3; }

/* les dix points */
.points { columns: 2; column-gap: 64px; margin-top: 40px; counter-reset: p; }
.points li { list-style: none; break-inside: avoid; counter-increment: p; padding: 13px 0 13px 46px; border-top: 1px solid var(--filet); position: relative; }
.points li::before { content: counter(p); position: absolute; left: 0; top: 13px; width: 28px; height: 28px; border: 1.5px solid var(--rouge); border-radius: 50%; color: var(--rouge); font: italic 17px/26px var(--serif); text-align: center; }
.points span { display: block; font-size: 17px; color: var(--pale); }

/* les deux prix */
.prix { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 0; margin-top: 40px; border: 1px solid var(--encre); background: var(--feuille); }
.prix > div { padding: 34px 34px 36px; }
.prix > div + div { border-left: 1px solid var(--encre); background: var(--papier); }
.prix h3 { font-size: 24px; font-weight: 600; }
.somme { font-size: 68px; line-height: 1; font-weight: 500; letter-spacing: -0.03em; margin: 16px 0 6px; }
.somme small { font-size: 20px; letter-spacing: 0; color: var(--pale); font-weight: 400; }
.prix p { font-size: 17px; color: #3a342c; margin-bottom: 22px; max-width: 26em; }
.prix > div { display: flex; flex-direction: column; align-items: flex-start; }
.prix .bouton { margin-top: auto; }

/* le déroulement : la liste numérotée, sur une colonne */
.points.suite { columns: 1; margin-top: 0; }
.points.suite li { font-size: 22px; font-weight: 600; }
.points.suite span { font-size: 17px; font-weight: 400; }

/* notre propre note */
.note { display: grid; grid-template-columns: auto 1fr; gap: 48px; align-items: center; }
.note .chiffre { font-size: 132px; line-height: 0.9; font-weight: 400; font-style: italic; letter-spacing: -0.04em; }
.note .chiffre small { font-size: 30px; color: var(--pale); font-style: normal; letter-spacing: 0; }
.note p { max-width: 31em; }
.note p + p { margin-top: 12px; }

.faq { margin-top: 28px; max-width: 800px; }
.faq dt { font-weight: 600; font-size: 21px; padding-top: 20px; margin-top: 20px; border-top: 1px solid var(--filet); }
.faq dd { margin-top: 6px; color: #3a342c; }
.fin { padding: 64px 0 72px; }
.fin .acte { margin-top: 26px; }
footer { border-top: 1px solid var(--encre); padding: 22px 0 40px; font-size: 15px; color: var(--pale); display: flex; flex-wrap: wrap; gap: 6px 28px; justify-content: space-between; }

/* mentions légales */
.texte { max-width: 720px; padding: 56px 0 72px; }
.texte h1 { font-size: 46px; margin-bottom: 26px; }
.texte h2 { font-size: 24px; font-weight: 600; margin: 34px 0 8px; letter-spacing: 0; }
.texte p + p { margin-top: 10px; }

@media (max-width: 860px) {
  body { font-size: 18px; }
  .page { padding: 0 20px; }
  .tete span { display: none; }
  .ouverture, .deux, .regle .page, .prix, .note { grid-template-columns: 1fr; gap: 32px; }
  .ouverture { padding: 36px 0 56px; }
  h1 { font-size: 40px; }
  .pourqui { font-size: 19px; }
  h2, .regle h2 { font-size: 31px; }
  section { padding: 52px 0; }
  .epreuve { transform: none; padding: 22px 20px; }
  .tapu s { white-space: normal; }
  .epreuve { margin: 0; }
  .regle { border-bottom: 0; }
  .points { columns: 1; }
  .prix > div { padding: 26px 22px; }
  .prix > div + div { border-left: 0; border-top: 1px solid var(--encre); }
  .somme { font-size: 56px; }
  .note .chiffre { font-size: 96px; margin-left: -8px; }
  .bouton { display: block; text-align: center; }
  .bon li { grid-template-columns: 1fr; gap: 2px; }
}
