/* Newsreader — Copyright 2020 The Newsreader Project Authors
   (http://github.com/productiontype/Newsreader). SIL Open Font License 1.1 —
   texte complet dans fonts/OFL.txt, redistribué avec les WOFF2 sous-ensemblés. */
@font-face {
  font-family: "Newsreader";
  src: url("fonts/newsreader-regular.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Newsreader";
  src: url("fonts/newsreader-italic.woff2") format("woff2");
  font-weight: 400; font-style: italic; font-display: swap;
}

:root {
  --cream: #faf7f1;
  --ink: #2e2c28;
  --sage: #566152;
  --terra: #b06a44;      /* réservé au grand texte (seuil AA 3:1, ex. .drop::first-letter) — jamais en petit texte ni en texte crème */
  --terra-btn: #9c5a38;  /* fonds de bouton et liens */
  --label: #6b6558;
  --rule: #e3d9c8;
  --band: #f4efe5;

  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Helvetica Neue", system-ui, sans-serif;

  --rail: 74px;
  --pad: 42px;
}

*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--terra-btn); }
a:focus-visible, .cta:focus-visible {
  outline: 2px solid var(--sage);
  outline-offset: 3px;
}

/* ---------- barre haute ---------- */
.top {
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px var(--pad);
  border-bottom: 1px solid var(--rule);
  position: sticky; top: 0; z-index: 5;
  background: rgba(250, 247, 241, .94);
  backdrop-filter: blur(6px);
}
.top-name { margin: 0; font-size: 16px; }
.top-name span {
  display: block; margin-top: 3px;
  font-family: var(--sans); font-size: 9.5px;
  letter-spacing: .2em; text-transform: uppercase; color: var(--label);
}
.top-tel {
  font-family: var(--sans); font-size: 12.5px;
  text-decoration: none; border-bottom: 1.5px solid var(--terra-btn); padding-bottom: 2px;
}

/* ---------- accroche ---------- */
.hero { display: grid; grid-template-columns: var(--rail) 1fr 300px; }
.rail, .sec-rail {
  border-right: 1px solid var(--rule);
  padding-top: 38px;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
}
.num { font-size: 11.5px; color: var(--terra-btn); letter-spacing: .1em; }
.vert {
  writing-mode: vertical-rl;
  font-family: var(--sans); font-size: 9px;
  letter-spacing: .32em; text-transform: uppercase; color: var(--label);
}
.hero-body { padding: 52px 40px 40px var(--pad); }
.kick {
  margin: 0 0 24px;
  font-family: var(--sans); font-size: 9.5px;
  letter-spacing: .26em; text-transform: uppercase; color: var(--label);
}
h1 {
  margin: 0 0 22px;
  font-size: 44px; font-weight: 400; line-height: 1.09; letter-spacing: -.018em;
}
h1 em { font-style: italic; color: var(--sage); }
.lede { margin: 0 0 30px; max-width: 40ch; font-size: 15.5px; line-height: 1.74; color: #55524b; }
.hero-actions { margin: 0; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.cta {
  display: inline-block; padding: 12px 22px;
  background: var(--terra-btn); color: var(--cream);
  font-family: var(--sans); font-size: 12.5px; letter-spacing: .04em; text-decoration: none;
  transition: background .18s ease;
}
.cta:hover { background: #854b2f; }
.cta-alt { font-family: var(--sans); font-size: 12.5px; color: var(--label); }

.portrait { position: relative; overflow: hidden; }
.portrait img {
  position: absolute; top: 44px; left: -30px;
  width: 312px; height: auto;
  filter: saturate(.92);
}
.portrait-tag {
  position: absolute; bottom: 30px; left: 0; margin: 0;
  background: var(--cream); padding: 10px 15px;
  font-family: var(--sans); font-size: 9.5px;
  letter-spacing: .14em; text-transform: uppercase; color: var(--label);
}

/* ---------- bandeau de preuve ---------- */
.proof {
  display: flex;
  border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule);
  background: var(--band);
}
.proof div {
  flex: 1; padding: 17px 22px;
  border-right: 1px solid var(--rule);
  font-family: var(--sans); font-size: 10px;
  letter-spacing: .11em; text-transform: uppercase; color: var(--label); line-height: 1.5;
}
.proof div:last-child { border-right: 0; }
.proof b {
  display: block; margin-bottom: 3px;
  font-family: var(--serif); font-size: 16px; font-weight: 400;
  letter-spacing: 0; text-transform: none; color: var(--sage);
}

/* ---------- sections ---------- */
.sec { display: grid; grid-template-columns: var(--rail) 1fr; border-bottom: 1px solid var(--rule); }
.sec-rail { padding-top: 40px; }
.sec-body { padding: 42px 46px 46px var(--pad); }
.sec-title {
  margin: 0 0 20px;
  font-family: var(--sans); font-size: 12px; font-weight: 400;
  letter-spacing: .2em; text-transform: uppercase; color: var(--label);
}
.prose { max-width: 62ch; font-size: 15px; line-height: 1.78; color: #4c4a44; }
.prose p { margin: 0 0 15px; }
.prose p:last-child { margin-bottom: 0; }
.drop::first-letter {
  float: left; padding: 5px 9px 0 0;
  font-size: 47px; line-height: .86; color: var(--terra);
}

.three { display: grid; grid-template-columns: repeat(3, 1fr); }
.three > div { padding-right: 22px; border-right: 1px solid var(--rule); }
.three > div + div { padding-left: 22px; }
.three > div:last-child { border-right: 0; padding-right: 0; }
.three h3 { margin: 0 0 8px; font-size: 19px; font-weight: 400; color: var(--sage); }
.three p { margin: 0; font-size: 13.5px; line-height: 1.66; color: #67645c; }

.cv, .hours { margin: 0; max-width: 62ch; }
.cv > div, .hours > div {
  display: flex; justify-content: space-between; gap: 20px;
  padding: 10px 0; border-bottom: 1px solid var(--rule);
  font-size: 13.5px;
}
.cv dt, .hours dt { color: #3f3d37; }
.cv dd, .hours dd {
  margin: 0; white-space: nowrap;
  font-family: var(--sans); font-size: 11.5px; letter-spacing: .06em; color: var(--label);
}

.practical { display: grid; grid-template-columns: 1.15fr 1fr; gap: 38px; max-width: 70ch; }
.addr { font-style: normal; font-size: 14px; line-height: 1.8; color: #4c4a44; }
.addr strong {
  display: block; margin-bottom: 9px; font-weight: 400;
  font-family: var(--sans); font-size: 11px;
  letter-spacing: .16em; text-transform: uppercase; color: var(--label);
}

.closing {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  margin-top: 34px; padding-top: 26px; border-top: 1px solid var(--rule); max-width: 70ch;
}
.closing p {
  margin: 0; max-width: 34ch;
  font-size: 17px; font-style: italic; line-height: 1.5; color: var(--sage);
}

.foot {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px;
  padding: 22px var(--pad);
  font-family: var(--sans); font-size: 10.5px; letter-spacing: .05em; color: var(--label);
}
.foot-notice {
  flex-basis: 100%;
  margin-top: 6px; padding-top: 12px;
  border-top: 1px solid var(--rule);
  font-style: italic;
}

/* ---------- 1440 px et plus : « Qui je reçois » ne doit pas dépasser la largeur de prose ---------- */
.three { max-width: 880px; }

/* ---------- 1024 px et moins : le portrait passe sous le texte ---------- */
@media (max-width: 1024px) {
  .hero { grid-template-columns: var(--rail) 1fr; }
  .portrait {
    grid-column: 2; height: auto; overflow: visible;
    padding: 0 var(--pad) 40px 0;
  }
  .portrait img { position: static; width: 100%; max-width: 420px; }
  .portrait-tag { position: static; display: inline-block; margin-top: 10px; padding-left: 0; }
  .practical { grid-template-columns: 1fr; gap: 26px; }
}

/* ---------- 768 px et moins : plus de colonne de numérotation ---------- */
@media (max-width: 768px) {
  :root { --rail: 0px; --pad: 22px; }
  .hero, .sec { grid-template-columns: 1fr; }
  .rail, .sec-rail { display: none; }
  .portrait { grid-column: 1; }
  .hero-body { padding: 34px var(--pad) 28px; }
  .sec-body { padding: 32px var(--pad) 36px; }
  h1 { font-size: 32px; }
  .proof { flex-wrap: wrap; }
  .proof div { flex: 1 1 50%; border-bottom: 1px solid var(--rule); }
  .proof div:nth-child(even) { border-right: 0; }
  .three { grid-template-columns: 1fr; }
  .three > div,
  .three > div + div {
    padding: 0 0 16px; margin-bottom: 16px;
    border-right: 0; border-bottom: 1px solid var(--rule);
  }
  .three > div:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
  .closing { flex-direction: column; align-items: flex-start; }
  .foot { flex-direction: column; gap: 6px; }
}

/* ---------- 380 px et moins ---------- */
@media (max-width: 380px) {
  h1 { font-size: 27px; }
  .top { flex-direction: column; align-items: flex-start; gap: 10px; }
  .cv > div, .hours > div { flex-direction: column; gap: 2px; }
  .cv dd, .hours dd { white-space: normal; }
}

/* ---------- préférences utilisateur ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
}

@media print {
  .top { position: static; backdrop-filter: none; }
  .cta { border: 1px solid var(--ink); background: none; color: var(--ink); }
}
