/* Pages légales — Awaken the Oracle Within
   Même palette et même typographie que la page principale, en beaucoup plus sobre :
   ces pages se lisent, elles ne se vendent pas. */

/* Polices hébergées sur le serveur (/fonts/), aucun appel à Google — SIL OFL 1.1 */
@font-face { font-family: "EB Garamond"; font-style: normal; font-weight: 400;
  src: url("fonts/eb-garamond-latin-400-normal.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "Karla"; font-style: normal; font-weight: 400;
  src: url("fonts/karla-latin-400-normal.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "Karla"; font-style: normal; font-weight: 700;
  src: url("fonts/karla-latin-700-normal.woff2") format("woff2"); font-display: swap; }

:root {
  --stone:    #E7E2D7;
  --paper:    #F3EFE7;
  --ink:      #212722;
  --ink-soft: #5B6257;
  --line:     #C9C1B1;
  --laurel:   #6B7A52;
  --bronze:   #A97C46;
  --night:    #161A16;
  --bone:     #E7E2D7;
  --bone-soft:#A7AC9E;
  --serif: "EB Garamond", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --sans:  "Karla", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}

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

body {
  margin: 0;
  background: var(--stone);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

.wrap { width: min(100% - 2.5rem, 760px); margin-inline: auto; }

.topbar {
  border-bottom: 1px solid var(--line);
  padding-block: .9rem;
}
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.wordmark {
  font-family: var(--serif);
  font-size: 1.05rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
}
.back {
  font-size: .85rem;
  color: var(--ink-soft);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}
.back:hover { color: var(--ink); border-bottom-color: var(--ink); }

main { padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(3rem, 7vw, 5rem); }

h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.9rem, 4.5vw, 2.7rem);
  line-height: 1.12;
  margin: 0 0 .6rem;
  text-wrap: balance;
}
.subtitle { color: var(--ink-soft); font-size: .95rem; margin: 0 0 2.5rem; }

h2 {
  font-family: var(--sans);
  font-size: .75rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--laurel);
  margin: 2.6rem 0 .8rem;
  padding-bottom: .5rem;
  border-bottom: 1px solid var(--line);
}
h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.25rem;
  margin: 1.8rem 0 .4rem;
}

p { margin: 0 0 1rem; }
strong { font-weight: 700; }

address { font-style: normal; margin: 0 0 1rem; }

ul { margin: 0 0 1.2rem; padding: 0; list-style: none; }
/* Losange positionné en absolu, pas en colonne de grille : sinon un <li> qui
   mélange une balise et du texte nu se scinde en deux cellules et le texte se
   retrouve écrasé dans la colonne de 5 px. */
li {
  position: relative;
  padding-left: calc(5px + .75rem);
  margin-bottom: .5rem;
  font-size: .95rem;
  line-height: 1.55;
}
li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .58rem;
  width: 5px; height: 5px;
  background: var(--bronze);
  transform: rotate(45deg);
}

a { color: var(--laurel); text-underline-offset: 3px; }
a:hover { color: var(--bronze); }

:focus-visible { outline: 2px solid var(--bronze); outline-offset: 3px; }

.note {
  border-left: 2px solid var(--bronze);
  padding-left: 1.1rem;
  font-family: var(--serif);
  font-size: 1.1rem;
  line-height: 1.5;
  color: var(--ink-soft);
  margin: 0 0 1.4rem;
}

.stand {
  margin-top: 3rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
  font-size: .85rem;
  color: var(--ink-soft);
}

footer {
  background: var(--night);
  color: var(--bone-soft);
  padding-block: 2.2rem;
  font-size: .85rem;
}
footer .wrap { display: flex; flex-wrap: wrap; gap: .6rem 1.6rem; justify-content: space-between; }
footer a { color: var(--bone-soft); }
footer a:hover { color: var(--bone); }
footer nav { display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; }
