/* Sedimo : page de présentation. DA « Mode d'emploi » (voir ../DA.md). */
/* Geologica (SIL Open Font License, voir /fonts/OFL.txt), police variable hébergée sur le site. */
@font-face {
  font-family: "Geologica";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonts/geologica-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Geologica";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonts/geologica-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}:root {
  --fond: #FFFFFF;
  --encre: #111416;
  --discret: #5E6468;
  --vert: #0B9D5B;
  --vert-fonce: #087A47;
  --vert-clair: #E3F6EC;
  --filet: #E4E6E7;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--fond); color: var(--encre); font: 300 18px/1.65 "Geologica", system-ui, sans-serif; }
a { color: inherit; }
b, strong { font-weight: 600; }
.ic { display: inline-flex; vertical-align: -0.18em; }
.ic svg { width: 1.1em; height: 1.1em; }

/* Grille : marge des numéros, colonne de lecture, marge des notes */
.grille { display: grid; grid-template-columns: 1fr minmax(0, 680px) 1fr; column-gap: 40px; }
.grille > * { grid-column: 2; }
.marge-g { grid-column: 1; justify-self: end; }
.marge-d { grid-column: 3; justify-self: start; max-width: 220px; }

header { padding: 26px 0; border-bottom: 1px solid var(--filet); }
.entete { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 24px; letter-spacing: -0.03em; text-decoration: none; }
.logo img { width: 30px; height: 30px; }
.logo b { font-weight: 800; }
.logo span { color: var(--vert); }
.entete nav { display: flex; gap: 22px; font-size: 15px; font-weight: 400; }
.entete nav a { text-decoration: none; color: var(--discret); }
.entete nav a:hover { color: var(--encre); }

.titre { padding: 88px 0 40px; }
.titre.suite { padding-top: 40px; border-top: 1px solid var(--filet); }
.titre p.sur { margin: 0 0 16px; font-weight: 600; color: var(--vert-fonce); font-size: 16px; }
.titre h1 { margin: 0; font-weight: 800; font-size: clamp(40px, 6.6vw, 76px); line-height: .98; letter-spacing: -0.035em; }
.titre .chapeau { margin: 28px 0 0; font-size: 21px; color: var(--discret); max-width: 34em; }
.sommaire { display: flex; flex-wrap: wrap; gap: 8px 28px; margin: 34px 0 0; padding: 18px 0 0; border-top: 2px solid var(--encre); list-style: none; font-size: 16px; font-weight: 400; }
.sommaire li { display: flex; gap: 8px; align-items: baseline; }
.sommaire a { text-decoration: none; }
.sommaire b { color: var(--vert); font-weight: 800; }

main { counter-reset: etape; }
.etape { counter-increment: etape; padding: 64px 0 8px; border-top: 1px solid var(--filet); margin-top: 40px; }
.numero { font-weight: 800; font-size: 120px; line-height: .8; color: var(--vert); letter-spacing: -0.05em; }
.etape h2 { display: flex; align-items: center; gap: 12px; margin: 0 0 14px; font-weight: 800; font-size: 34px; letter-spacing: -0.02em; line-height: 1.1; }
.etape h2 .ic { color: var(--vert); }
.etape p { margin: 0 0 16px; }
.note { font-size: 14px; line-height: 1.5; color: var(--discret); border-left: 2px solid var(--vert); padding-left: 12px; margin-top: 82px; }

table { width: 100%; border-collapse: collapse; margin: 10px 0 20px; font-size: 16px; }
th { text-align: left; font-weight: 600; font-size: 14px; color: var(--discret); padding: 0 0 8px; border-bottom: 2px solid var(--encre); }
td { padding: 11px 0; border-bottom: 1px solid var(--filet); vertical-align: top; }
td.chiffre, th.chiffre { text-align: right; white-space: nowrap; padding-left: 16px; }
td.chiffre { font-weight: 600; }
td small { display: block; color: var(--discret); font-size: 13px; }

figure { margin: 8px 0 20px; }
figure img { display: block; width: 100%; height: auto; border: 1px solid var(--filet); }
figcaption { font-size: 14px; color: var(--discret); margin-top: 8px; }

.encadre { background: var(--vert-clair); padding: 22px 24px; margin: 8px 0 20px; }
.encadre ul { margin: 0; padding-left: 20px; }
.encadre li { margin: 6px 0; }

.bouton { display: inline-flex; align-items: center; gap: 10px; background: var(--vert-fonce); color: #fff; text-decoration: none; font-weight: 600; padding: 14px 22px; border-radius: 999px; }
.bouton.inactif { background: #9AA3A8; cursor: default; }
.boutons { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin: 8px 0 24px; }
.boutons .precision { font-size: 15px; color: var(--discret); }

.texte-legal h2 { font-weight: 800; font-size: 26px; letter-spacing: -0.02em; margin: 36px 0 10px; }
.texte-legal h3 { font-weight: 600; font-size: 19px; margin: 24px 0 6px; }
.texte-legal p { margin: 0 0 14px; }
footer { margin-top: 80px; padding: 26px 0 44px; border-top: 2px solid var(--encre); font-size: 14px; color: var(--discret); }
footer p { margin: 0 0 6px; }

@media (max-width: 1100px) {
  .grille { grid-template-columns: 0 minmax(0, 1fr) 0; column-gap: 0; padding-left: 24px; padding-right: 24px; }
  .marge-g, .marge-d { grid-column: 2; justify-self: start; max-width: none; }
  /* Sur écran étroit, le numéro passe devant le titre, sur la même ligne. */
  .numero { display: none; }
  .etape h2::before { content: counter(etape); color: var(--vert); font-weight: 800; font-size: 1.25em; }
  .note { margin-top: 0; margin-bottom: 16px; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .grille { padding-left: 16px; padding-right: 16px; }
  .entete nav { gap: 14px; font-size: 14px; }
  .entete nav .facultatif { display: none; }
  .titre { padding-top: 52px; }
  .titre .chapeau { font-size: 18px; }
  .etape h2 { font-size: 26px; }
  td.chiffre { padding-left: 8px; }
}
