/* Pages secondaires (mentions légales, CGV, confidentialité, merci) : le même papier chaud que l'accueil. Le balisage de ces pages ne change pas ; seul ce fichier les habille. */
:root {
  --noir: #0a0a0a; --ivoire: #edeae1; --papier: #f8f5ef; --encre: #161616; --gris: #4a4843; --gris-2: #7b7872;
  --filet: #d9d5cd; --filet-2: #b4afa5; --rouge: #c54537; --rouge-texte: #a32e29;
  --serif: "EB Garamond", Garamond, "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --display: "Josefin Sans", Futura, "Century Gothic", "Trebuchet MS", sans-serif;
  --sans: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { background: var(--papier); -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0; background: var(--papier); color: var(--encre);
  font: 400 19px/1.62 var(--serif); font-kerning: normal; font-variant-numeric: lining-nums;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  padding-left: env(safe-area-inset-left, 0px); padding-right: env(safe-area-inset-right, 0px);
}
a { color: var(--encre); text-decoration: underline; text-decoration-color: var(--filet-2); text-decoration-thickness: 1px; text-underline-offset: 4px; overflow-wrap: anywhere; transition: text-decoration-color .2s; }
a:hover { text-decoration-color: currentColor; }
:focus-visible { outline: 1.5px solid currentColor; outline-offset: 4px; }
::selection { background: rgba(22, 22, 22, .85); color: #fdfcfa; }
.col { max-width: 760px; margin: 0 auto; padding: 0 clamp(20px, 5vw, 40px); }

body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 20; background: var(--papier); }
.banner { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 10; background: rgba(248, 245, 239, .92); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid var(--filet); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.name { font: 300 15px/1 var(--display); letter-spacing: .36em; text-transform: uppercase; color: var(--encre); text-decoration: none; padding-top: 3px; white-space: nowrap; }
.back { font: 500 11px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--gris); text-decoration: none; white-space: nowrap; display: inline-flex; align-items: center; gap: 8px; padding: 12px 16px; border: 1px solid var(--filet-2); border-radius: 2px; transition: color .2s, border-color .2s; }
.back::before { content: "←"; }
.back:hover { color: var(--encre); border-color: var(--encre); }

main.col { padding-top: clamp(48px, 8vw, 88px); padding-bottom: 24px; }
h1, h2, h3 { margin: 0; font-weight: 400; color: var(--encre); text-wrap: balance; }
h1 { font: 400 clamp(38px, 6vw, 58px)/1.04 var(--serif); letter-spacing: -.02em; margin-bottom: 14px; }
.maj { font: 500 11.5px/1.4 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--gris-2); margin: 0 0 40px; }
h2 { font: 400 clamp(25px, 3vw, 30px)/1.2 var(--serif); letter-spacing: -.01em; margin: 48px 0 14px; padding-top: 32px; border-top: 1px solid var(--filet); }
h3 { font: 500 20px/1.3 var(--serif); margin: 28px 0 10px; }
p, ul, ol { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; }
li { margin-bottom: .45em; }
li::marker { color: var(--gris-2); }
strong { font-weight: 500; }
.soft { color: var(--gris-2); }
.note { border-top: 1px solid var(--filet); border-bottom: 1px solid var(--filet); padding: 16px 0; margin: 22px 0; }
.todo { color: var(--papier); background: var(--encre); padding: 0 6px; border-radius: 2px; }
dl { margin: 0 0 1em; display: grid; grid-template-columns: minmax(0, 210px) minmax(0, 1fr); border-top: 1px solid var(--filet); }
dt, dd { margin: 0; padding: 13px 0; border-bottom: 1px solid var(--filet); }
dt { font: 500 11.5px/2.1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--gris-2); padding-right: 20px; }
dd { color: var(--encre); }
@media (max-width: 560px) { dl { grid-template-columns: 1fr; } dt { border-bottom: 0; padding-bottom: 0; } dd { padding-top: 2px; } }

footer { margin-top: 72px; border-top: 1px solid var(--filet); padding: 28px 0 48px; font: 400 12.5px/1.6 var(--sans); color: var(--gris-2); }
footer p { margin: 0 0 6px; }
footer a { color: var(--gris); text-decoration: none; }
footer a:hover { color: var(--encre); }
footer p:last-child { font: 300 12px/1 var(--display); letter-spacing: .34em; text-transform: uppercase; color: var(--gris-2); margin-top: 14px; }

/* page merci */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 52px; padding: 0 28px; border-radius: 2px; background: var(--encre); color: var(--papier); border: 0; font: 500 12px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; text-decoration: none; cursor: pointer; transition: opacity .2s; }
.btn:hover { opacity: .88; color: var(--papier); }
.etat { margin: 6px 0 28px; color: var(--gris); font-size: 21px; }
.ko { color: var(--rouge-texte); }
.encadre { font-size: 17px; color: var(--gris); }
.encadre p:last-child { margin-bottom: 0; }
#attente h1, #ok h1, #erreur h1 { font-size: clamp(36px, 5.6vw, 52px); }
/* la couverture, posée au-dessus du message de remerciement (aucun changement de balisage) */
#ok::before {
  content: ""; display: block; width: 132px; aspect-ratio: 760 / 1079; margin: 0 0 36px;
  background: url("couverture.webp") center / cover no-repeat; border-radius: 2px 4px 4px 2px;
  box-shadow: 0 1px 0 1px rgba(22, 22, 22, .08), 0 28px 44px -22px rgba(22, 22, 22, .5);
}

