/* ==========================================================================
   Prediago, feuille de style unique
   Vocabulaire de nommage: releve cadastral et banc de mesure
   (jalon, cartouche, parcellaire, moniteur, planche, feuille, touche)
   ========================================================================== */

:root {
  --fond: #F4F1EA;
  --sable: #E7E2D6;
  --surface: #FFFFFF;
  --encre: #10193F;
  --encre-douce: #4A5573;
  --accent: #B81E4F;
  --accent-texte: #FFFFFF;
  --outremer: #1F3BA6;
  --bordure: #D5CDBC;

  --titre: "Roboto Slab", Georgia, "Times New Roman", serif;
  --courant: "Asap", "Segoe UI", Arial, sans-serif;
  --note: "Caveat", "Segoe Script", cursive;

  --appui: 1200px;
  --gouttiere: 28px;
  --tete-haute: 68px;
  --tete-basse: 56px;
  --ressort: cubic-bezier(0.2, 0, 0, 1);
}

/* --------------------------------------------------------------- socle -- */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--fond);
  color: var(--encre);
  font-family: var(--courant);
  font-size: 1.0625rem;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--titre);
  letter-spacing: -0.02em;
  line-height: 1.12;
  margin: 0 0 0.6em;
  font-weight: 700;
}

h1 { font-size: clamp(2.15rem, 1.35rem + 2.6vw, 3.3rem); }
h2 { font-size: clamp(1.6rem, 1.15rem + 1.5vw, 2.1rem); }
h3 { font-size: 1.3rem; font-weight: 600; }
h4 { font-size: 1.0625rem; font-weight: 600; }

p { margin: 0 0 1.05em; max-width: 68ch; }

a { color: var(--outremer); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent); }

img { max-width: 100%; height: auto; }

strong { font-weight: 700; }

ul, ol { margin: 0 0 1.1em; padding-left: 1.15em; }
li { margin-bottom: 0.35em; }

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

.chiffre,
.mesure__valeur,
.moniteur__valeur,
.formule__prix,
.gain__valeur,
.cle__valeur,
table { font-variant-numeric: tabular-nums; }

.appui {
  width: 100%;
  max-width: var(--appui);
  margin: 0 auto;
  padding: 0 24px;
}

.saut-contenu {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 90;
  background: var(--outremer);
  color: #fff;
  padding: 12px 20px;
  font-weight: 600;
}
.saut-contenu:focus {
  left: 12px;
  top: 12px;
  color: #fff;
}

.hors-ecran {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

/* ------------------------------------------------- cartouche d angle ---- */

.cartouche { position: relative; }

.cartouche::before,
.cartouche::after {
  content: "";
  position: absolute;
  width: 20px;
  height: 6px;
  background-repeat: no-repeat;
  background-image:
    linear-gradient(var(--outremer), var(--outremer)),
    linear-gradient(var(--outremer), var(--outremer)),
    linear-gradient(var(--outremer), var(--outremer));
  background-size: 12px 2px, 12px 2px, 4px 4px;
  background-position: 0 0, 0 4px, 16px 1px;
  pointer-events: none;
}
.cartouche::before { top: 12px; left: 12px; }
.cartouche::after {
  bottom: 12px;
  right: 12px;
  background-image:
    linear-gradient(var(--bordure), var(--bordure)),
    linear-gradient(var(--bordure), var(--bordure)),
    linear-gradient(var(--bordure), var(--bordure));
  background-position: 8px 0, 8px 4px, 0 1px;
}
.cartouche--clair::before {
  background-image:
    linear-gradient(#fff, #fff),
    linear-gradient(#fff, #fff),
    linear-gradient(#fff, #fff);
}
.cartouche--clair::after {
  background-image:
    linear-gradient(rgba(255,255,255,.45), rgba(255,255,255,.45)),
    linear-gradient(rgba(255,255,255,.45), rgba(255,255,255,.45)),
    linear-gradient(rgba(255,255,255,.45), rgba(255,255,255,.45));
}

/* ---------------------------------------- motif de contours cadastraux -- */

.parcellaire-source {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.parcellaire {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  fill: none;
  stroke: var(--outremer);
  stroke-width: 0.75;
  stroke-opacity: 0.16;
}
.parcellaire--sombre {
  stroke: #FFFFFF;
  stroke-opacity: 0.30;
}
.parcellaire--etale { stroke-width: 0.3; }
.parcellaire--filigrane {
  stroke-opacity: 0.55;
  opacity: 0.42;
  transform: scale(1.9) translate(-8%, -6%);
  transform-origin: top left;
  -webkit-mask-image: linear-gradient(150deg, rgba(0,0,0,.95), rgba(0,0,0,0) 62%);
  mask-image: linear-gradient(150deg, rgba(0,0,0,.95), rgba(0,0,0,0) 62%);
}

/* ------------------------------------------------------------ touches -- */

.touche {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 48px;
  padding: 0 26px;
  border: 0;
  border-radius: 0;
  font-family: var(--courant);
  font-weight: 600;
  font-size: 0.96rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  cursor: pointer;
  transition: transform .18s var(--ressort), box-shadow .18s var(--ressort),
              background-color .18s linear, color .18s linear, border-color .18s linear;
}

.touche--pleine {
  background: var(--accent);
  color: var(--accent-texte);
  box-shadow: 0 3px 0 0 var(--outremer);
}
.touche--pleine:hover,
.touche--pleine:focus-visible {
  color: var(--accent-texte);
  transform: translateY(3px);
  box-shadow: 0 0 0 0 var(--outremer);
}

.touche--creuse {
  background: transparent;
  color: var(--outremer);
  border: 1px solid var(--bordure);
  padding-left: 34px;
  position: relative;
}
.touche--creuse::before {
  content: "";
  position: absolute;
  top: 9px; left: 9px;
  width: 12px; height: 6px;
  background-repeat: no-repeat;
  background-image:
    linear-gradient(var(--outremer), var(--outremer)),
    linear-gradient(var(--outremer), var(--outremer));
  background-size: 12px 2px, 12px 2px;
  background-position: 0 0, 0 4px;
}
.touche--creuse:hover {
  background: var(--sable);
  border-color: var(--outremer);
  color: var(--outremer);
}

.touche--claire {
  background: #fff;
  color: var(--outremer);
  box-shadow: 0 3px 0 0 var(--accent);
}
.touche--claire:hover { transform: translateY(3px); box-shadow: 0 0 0 0 var(--accent); }

.touche--large { width: 100%; }

/* ------------------------------------------------------------- entete -- */

.tete {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 60;
  height: var(--tete-haute);
  background: rgba(244, 241, 234, 0.92);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--bordure);
  transition: height .2s linear, border-color .2s linear;
}
.tete--tassee {
  height: var(--tete-basse);
  border-bottom: 2px solid var(--outremer);
}

.tete__interieur {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.marque {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--encre);
  font-family: var(--titre);
  font-weight: 700;
  font-size: 1.24rem;
  letter-spacing: -0.02em;
}
.marque__sceau { flex: 0 0 auto; display: block; color: var(--outremer); }
.pied .marque__sceau { color: #fff; }
.marque__mot em { font-style: normal; color: var(--outremer); }

.jalons {
  display: flex;
  align-items: center;
  gap: 22px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.jalon {
  position: relative;
  display: inline-block;
  padding: 4px 0;
  font-weight: 600;
  font-size: 0.93rem;
  color: var(--encre);
  text-decoration: none;
}
.jalon::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .22s var(--ressort);
}
.jalon:hover::after,
.jalon:focus-visible::after,
.jalon--actif::after { transform: scaleX(1); }
.jalon:hover { color: var(--outremer); }

.declencheur-jalons {
  display: none;
  width: 46px; height: 40px;
  background: transparent;
  border: 1px solid var(--bordure);
  cursor: pointer;
  padding: 0;
}
.declencheur-jalons span {
  display: block;
  width: 22px; height: 2px;
  margin: 4px auto;
  background: var(--outremer);
  transition: transform .2s var(--ressort), opacity .2s linear;
}
.declencheur-jalons[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.declencheur-jalons[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.declencheur-jalons[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.panneau-jalons {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: var(--fond);
  padding: 88px 24px 40px;
  overflow-y: auto;
  display: none;
}
.panneau-jalons[data-ouvert="oui"] { display: block; }
.panneau-jalons ul {
  list-style: none;
  margin: 0 0 26px;
  padding: 0;
  border-top: 1px solid var(--bordure);
}
.panneau-jalons li { margin: 0; border-bottom: 1px solid var(--bordure); }
.panneau-jalons a {
  display: block;
  padding: 16px 4px;
  font-family: var(--titre);
  font-weight: 600;
  font-size: 1.2rem;
  color: var(--encre);
  text-decoration: none;
}
.panneau-jalons a:hover { color: var(--accent); }
.panneau-jalons .crayon { color: var(--outremer); }

body[data-fige="oui"] { overflow: hidden; }

/* ------------------------------------------------ barre d etat haute --- */

.bandeau-mesures {
  position: relative;
  background: var(--outremer);
  color: #fff;
  overflow: hidden;
  margin-top: var(--tete-haute);
  border-bottom: 3px solid var(--accent);
}
.bandeau-mesures .appui { position: relative; z-index: 2; }

.mesures {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 0;
  padding: 22px 0 24px;
}
.mesure {
  display: flex;
  flex-direction: column-reverse;
  justify-content: flex-end;
  padding: 0 22px;
  border-left: 1px solid rgba(255, 255, 255, 0.32);
}
.mesures dt, .mesures dd { margin: 0; }
.mesure:first-child { border-left: 0; padding-left: 0; }
.mesure__valeur {
  display: block;
  font-family: var(--courant);
  font-weight: 600;
  font-size: 1.75rem;
  line-height: 1.1;
  letter-spacing: -0.01em;
}
.mesure__intitule {
  display: block;
  margin-top: 6px;
  font-size: 0.8rem;
  font-weight: 500;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.82);
}

/* --------------------------------------------------- console du hero --- */

.console {
  position: relative;
  padding: 58px 0 76px;
}
.console__grille {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 46px;
  align-items: start;
}

.reference-releve {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  padding: 5px 12px 5px 10px;
  background: var(--sable);
  border-left: 3px solid var(--accent);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--encre-douce);
}

.console__chapeau {
  font-size: 1.25rem;
  color: var(--encre-douce);
  max-width: 40ch;
}

.console__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 30px 0 26px;
}

.console__garantie {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  max-width: 46ch;
  padding: 16px 18px 16px 20px;
  background: var(--surface);
  border: 1px solid var(--bordure);
  border-left: 3px solid var(--outremer);
  font-size: 0.94rem;
}
.console__garantie .chiffre {
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--outremer);
  line-height: 1.1;
  flex: 0 0 auto;
}

.console__moniteur { margin-top: -78px; }

/* ------------------------------------------------- panneau de mesure --- */

.moniteur {
  position: relative;
  background: var(--surface);
  border: 2px solid var(--outremer);
  padding: 26px 24px 22px;
  overflow: hidden;
}
.moniteur > * { position: relative; z-index: 2; }
.moniteur__tete {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding-bottom: 12px;
  margin-bottom: 6px;
  border-bottom: 2px solid var(--outremer);
}
.moniteur__titre {
  font-family: var(--courant);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--outremer);
  margin: 0;
}
.moniteur__horodate {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--encre-douce);
}

.moniteur__liste { list-style: none; margin: 0; padding: 0; }
.moniteur__ligne {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6px 14px;
  align-items: center;
  padding: 11px 0;
  border-bottom: 1px dashed var(--bordure);
}
.moniteur__ligne:last-child { border-bottom: 0; }
.moniteur__ref {
  font-weight: 600;
  font-size: 0.9rem;
}
.moniteur__detail {
  grid-column: 1 / 2;
  font-size: 0.82rem;
  color: var(--encre-douce);
  line-height: 1.4;
}
.moniteur__score {
  grid-row: 1 / 3;
  grid-column: 2 / 3;
  align-self: center;
  min-width: 62px;
  text-align: center;
  padding: 7px 8px 5px;
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1;
  color: #fff;
  background: var(--encre-douce);
}
.moniteur__score small {
  display: block;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  opacity: .85;
  margin-top: 3px;
}
.moniteur__score--critique { background: var(--accent); }
.moniteur__score--vigilance { background: var(--outremer); }

.moniteur__pied {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--bordure);
  font-size: 0.84rem;
  color: var(--encre-douce);
}
.moniteur__pied p { margin: 0; }

/* -------------------------------------------------------- planche photo */

.planche {
  position: relative;
  margin: 0;
  padding: 6px;
  background: var(--fond);
}
.planche__vue {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--outremer);
  filter: saturate(0.86) contrast(1.04);
}
.planche__pastille {
  position: absolute;
  top: 18px; right: 18px;
  z-index: 3;
  background: var(--outremer);
  color: #fff;
  padding: 9px 13px 8px;
  max-width: 200px;
}
.planche__pastille b {
  display: block;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.planche__pastille span {
  display: block;
  margin-top: 4px;
  font-size: 0.72rem;
  font-weight: 500;
  line-height: 1.3;
  color: rgba(255,255,255,.88);
}
.planche__legende {
  margin-top: 10px;
  font-family: var(--note);
  font-size: 1.3rem;
  line-height: 1.25;
  color: var(--outremer);
}
.planche--console { margin-top: 26px; }

.crayon {
  font-family: var(--note);
  font-size: 1.3rem;
  line-height: 1.25;
  color: var(--outremer);
}
.crayon--accent { color: var(--accent); }

/* ------------------------------------------------------ feuilles ------- */

.feuille {
  position: relative;
  padding: 74px 0;
  border-top: 1px solid var(--bordure);
}
.feuille--sable { background: var(--sable); }
.feuille--surface { background: var(--surface); }
.feuille--motif { overflow: hidden; }
.feuille--motif > .appui { position: relative; z-index: 2; }

.entete-feuille { margin-bottom: 40px; }
.entete-feuille--large { max-width: 62ch; }
.surtitre {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: 0 0 14px;
  font-size: 0.79rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--encre-douce);
}
.rang-section {
  font-family: var(--courant);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  color: var(--outremer);
  font-variant-numeric: tabular-nums;
}
.entete-feuille p { font-size: 1.1rem; color: var(--encre-douce); }

/* ------------------------------------------------------- constats ------ */

.constats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gouttiere);
  margin-bottom: 42px;
}
.constat {
  background: var(--surface);
  border: 1px solid var(--bordure);
  border-top: 3px solid var(--accent);
  padding: 34px 24px 26px;
}
.constat__chiffre {
  display: block;
  font-family: var(--titre);
  font-weight: 700;
  font-size: 2.35rem;
  line-height: 1;
  color: var(--outremer);
  font-variant-numeric: tabular-nums;
  margin-bottom: 10px;
}
.constat h3 { margin-bottom: 8px; }
.constat p { font-size: 0.97rem; color: var(--encre-douce); margin-bottom: 0; }

.constats-suite {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 46px;
  align-items: center;
}
.constats-suite h3 { margin-top: 0; }

/* ------------------------------------------------------- solution ------ */

.tempo {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  counter-reset: etape;
  border-top: 2px solid var(--outremer);
}
.temps {
  position: relative;
  padding: 28px 24px 30px;
  border-right: 1px solid var(--bordure);
  background: var(--surface);
  transition: background-color .2s linear;
}
.temps:last-child { border-right: 0; }
.temps:hover { background: var(--fond); }
.temps__rang {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  margin-bottom: 16px;
  background: var(--outremer);
  color: #fff;
  font-weight: 700;
  font-size: 1.05rem;
  font-variant-numeric: tabular-nums;
}
.temps h3 { margin-bottom: 10px; }
.temps p { font-size: 0.97rem; color: var(--encre-douce); margin-bottom: 0; }
.temps__picto {
  position: absolute;
  top: 26px; right: 22px;
}

.picto {
  width: 28px;
  height: 28px;
  display: block;
  fill: none;
  stroke: var(--outremer);
  stroke-width: 1.6;
  stroke-linecap: square;
  stroke-linejoin: miter;
  transition: transform .24s var(--ressort), stroke .24s linear;
}
.temps:hover .picto,
.temps:focus-within .picto,
.poste:hover .picto,
.poste:focus-within .picto,
.question:hover > summary .picto,
.question[open] > summary .picto {
  transform: rotate(90deg);
  stroke: var(--accent);
}

/* --------------------------------------------------- fonctionnalites --- */

.banc {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gouttiere);
}
.poste {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--bordure);
  padding: 40px 26px 28px;
  transition: border-color .2s linear, transform .2s var(--ressort);
}
.poste:hover {
  border-color: var(--outremer);
  transform: translateY(-3px);
}
.poste__picto { margin: 4px 0 18px; }
.poste h3 { margin-bottom: 10px; }
.poste p { font-size: 0.97rem; color: var(--encre-douce); margin-bottom: 0; }
.poste__marge {
  display: block;
  margin-top: 12px;
  font-family: var(--note);
  font-size: 1.22rem;
  color: var(--accent);
}

/* ------------------------------------------------------- avantages ----- */

.gains {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 34px 56px;
}
.gain {
  padding-top: 22px;
  border-top: 2px solid var(--outremer);
}
.gain__valeur {
  display: block;
  font-family: var(--titre);
  font-weight: 700;
  font-size: 2.6rem;
  line-height: 1;
  margin-bottom: 12px;
  color: var(--encre);
}
.gain__valeur em {
  font-style: normal;
  color: var(--accent);
}
.gain h3 { margin-bottom: 8px; }
.gain p { color: var(--encre-douce); margin-bottom: 0; }

.gains-illustration {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 46px;
  align-items: end;
  margin-top: 52px;
}

/* ----------------------------------------------------- preuve sociale -- */

.attestations {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gouttiere);
  margin-bottom: 30px;
}
.attestation {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--bordure);
  padding: 40px 26px 26px;
}
.attestation blockquote {
  margin: 0 0 18px;
  font-size: 1rem;
  line-height: 1.6;
}
.attestation blockquote p:last-child { margin-bottom: 0; }
.attestation figcaption {
  padding-top: 14px;
  border-top: 1px solid var(--bordure);
  font-size: 0.88rem;
  color: var(--encre-douce);
}
.attestation figcaption b {
  display: block;
  font-size: 0.98rem;
  color: var(--encre);
}
.attestation__signature {
  display: block;
  margin-top: 8px;
  font-family: var(--note);
  font-size: 1.25rem;
  color: var(--outremer);
}
.attestation--large { grid-column: span 3; }

.releve-cles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--surface);
  border: 2px solid var(--outremer);
}
.cle {
  padding: 24px 22px;
  border-left: 1px solid var(--bordure);
}
.cle:first-child { border-left: 0; }
.cle__valeur {
  display: block;
  font-family: var(--courant);
  font-weight: 600;
  font-size: 1.75rem;
  line-height: 1.1;
  color: var(--outremer);
}
.cle__intitule {
  display: block;
  margin-top: 6px;
  font-size: 0.83rem;
  color: var(--encre-douce);
  line-height: 1.4;
}

/* ---------------------------------------------------------- tarifs ----- */

.formules {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gouttiere);
  align-items: stretch;
}
.formule {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--bordure);
  padding: 38px 26px 28px;
}
.formule--retenue {
  margin-top: -8px;
  border: 2px solid var(--outremer);
  box-shadow: 0 6px 0 0 var(--outremer);
}
.formule__etiquette {
  display: inline-block;
  margin-bottom: 14px;
  padding: 4px 10px;
  background: var(--accent);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.formule h3 { margin-bottom: 6px; }
.formule__cible {
  font-size: 0.92rem;
  color: var(--encre-douce);
  min-height: 4.4em;
}
.formule__prix {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 14px 0 4px;
  border-top: 1px solid var(--bordure);
}
.formule__prix b {
  font-family: var(--titre);
  font-weight: 700;
  font-size: 2.5rem;
  line-height: 1;
  color: var(--outremer);
}
.formule__prix span {
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--encre-douce);
}
.formule__liste {
  list-style: none;
  margin: 18px 0 24px;
  padding: 0;
  flex: 1 1 auto;
}
.formule__liste li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 11px;
  font-size: 0.93rem;
  line-height: 1.5;
}
.formule__liste li::before {
  content: "";
  position: absolute;
  left: 0; top: 9px;
  width: 10px; height: 2px;
  background: var(--accent);
}
.tarifs__mention {
  margin-top: 30px;
  font-size: 0.92rem;
  color: var(--encre-douce);
  max-width: 78ch;
}

/* ------------------------------------------------------------- faq ----- */

.questionnaire {
  max-width: 820px;
  margin: 0 auto;
}
.question {
  background: var(--surface);
  border: 1px solid var(--bordure);
  margin-bottom: 12px;
}
.question[open] { border-color: var(--outremer); }
.question > summary {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  cursor: pointer;
  font-family: var(--titre);
  font-weight: 600;
  font-size: 1.06rem;
  line-height: 1.35;
  list-style: none;
}
.question > summary::-webkit-details-marker { display: none; }
.question > summary .picto { flex: 0 0 auto; }
.question__reponse {
  padding: 0 22px 20px 66px;
}
.question__reponse p { font-size: 0.98rem; color: var(--encre-douce); margin-bottom: 0.8em; }
.question__reponse p:last-child { margin-bottom: 0; }

/* ----------------------------------------------------------- contact --- */

.depot__grille {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 52px;
  align-items: start;
}
.depot__argument ul {
  list-style: none;
  padding: 0;
  margin: 22px 0 0;
}
.depot__argument li {
  padding: 12px 0 12px 20px;
  border-top: 1px solid var(--bordure);
  border-left: 3px solid var(--outremer);
  font-size: 0.96rem;
}
.depot__cadre {
  position: relative;
  background: var(--surface);
  border: 2px solid var(--outremer);
  padding: 34px 30px 30px;
}
.champ { margin-bottom: 18px; }
.champ label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  font-size: 0.9rem;
}
.champ input,
.champ select,
.champ textarea {
  width: 100%;
  padding: 11px 13px;
  font-family: var(--courant);
  font-size: 1rem;
  color: var(--encre);
  background: var(--fond);
  border: 1px solid var(--bordure);
  border-radius: 0;
}
.champ input:focus,
.champ select:focus,
.champ textarea:focus {
  outline: 3px solid var(--outremer);
  outline-offset: 1px;
  background: #fff;
}
.champ textarea { resize: vertical; min-height: 120px; }
.champ__aide {
  display: block;
  margin-top: 5px;
  font-size: 0.82rem;
  color: var(--encre-douce);
}
.champ--paire {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.champ--paire .champ { margin-bottom: 0; }
.consentement {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  margin: 22px 0;
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--encre-douce);
}
.consentement input {
  flex: 0 0 auto;
  width: 18px; height: 18px;
  margin-top: 3px;
  accent-color: var(--outremer);
}
.depot__suite {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--bordure);
  font-size: 0.88rem;
  color: var(--encre-douce);
}
.depot__suite p { margin-bottom: 0.4em; }

/* --------------------------------------------------------- pied ------- */

.pied {
  position: relative;
  background: var(--encre);
  color: rgba(255,255,255,.86);
  overflow: hidden;
  padding: 62px 0 0;
}
.pied .appui { position: relative; z-index: 2; }
.pied a { color: #fff; text-decoration: none; }
.pied a:hover { color: #fff; text-decoration: underline; text-decoration-color: var(--accent); }
.pied h2, .pied h3 { color: #fff; }

.pied__colonnes {
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr 1.5fr;
  gap: 36px;
  padding-bottom: 44px;
}
.pied__colonne h3 {
  font-family: var(--courant);
  font-size: 0.79rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.7);
  margin-bottom: 16px;
}
.pied__colonne ul { list-style: none; margin: 0; padding: 0; }
.pied__colonne li { margin-bottom: 9px; font-size: 0.93rem; }
.pied__position {
  font-size: 0.95rem;
  max-width: 34ch;
  color: rgba(255,255,255,.8);
}
.pied .marque { color: #fff; margin-bottom: 14px; }
.pied .marque__mot em { color: #fff; opacity: .7; }
.pied__reseaux {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-top: 16px;
  font-size: 0.88rem;
}
.pied__reseaux a { border-bottom: 1px solid rgba(255,255,255,.3); }
.pied__editeur {
  font-size: 0.86rem;
  color: rgba(255,255,255,.72);
  line-height: 1.55;
}
.pied__barre {
  border-top: 1px solid rgba(255,255,255,.18);
  padding: 20px 0 26px;
  font-size: 0.83rem;
  color: rgba(255,255,255,.7);
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  justify-content: space-between;
}

/* ------------------------------------------------- pages secondaires --- */

.page-interne { padding: calc(var(--tete-haute) + 54px) 0 20px; }
.fil {
  font-size: 0.83rem;
  color: var(--encre-douce);
  margin-bottom: 18px;
}
.fil a { text-decoration: none; font-weight: 600; }
.fil span { color: var(--bordure); padding: 0 6px; }

.texte-long { max-width: 74ch; }
.texte-long h2 {
  margin-top: 46px;
  padding-top: 18px;
  border-top: 2px solid var(--outremer);
}
.texte-long h3 { margin-top: 30px; }
.texte-long ul li { margin-bottom: 0.5em; }

.encadre {
  background: var(--surface);
  border: 1px solid var(--bordure);
  border-left: 3px solid var(--accent);
  padding: 22px 24px;
  margin: 26px 0;
}
.encadre p:last-child { margin-bottom: 0; }

.fiche-auteur {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 46px;
  align-items: start;
  margin-bottom: 44px;
}
.portrait {
  position: relative;
  margin: 0;
  padding: 6px;
  background: var(--sable);
}
.portrait img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--outremer);
}
.profils {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
  display: grid;
  gap: 8px;
}
.profils a { font-weight: 600; text-decoration: none; }
.profils a:hover { text-decoration: underline; }

.sommaire { list-style: none; padding: 0; margin: 0; }
.sommaire li {
  padding: 18px 0;
  border-bottom: 1px solid var(--bordure);
}
.sommaire a {
  font-family: var(--titre);
  font-weight: 600;
  font-size: 1.12rem;
  text-decoration: none;
}
.sommaire p { margin: 6px 0 0; font-size: 0.95rem; color: var(--encre-douce); }

.bloc-message {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
  padding: 60px 0 20px;
}
.bloc-message p { margin-left: auto; margin-right: auto; }
.bloc-message .console__actions { justify-content: center; }
.bloc-message .crayon { display: block; margin-top: 20px; }

/* ----------------------------------------------------- apparitions ----- */

.apparait {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .5s ease, transform .5s var(--ressort);
}
.apparait.est-visible {
  opacity: 1;
  transform: none;
}

/* --------------------------------------------------------- reponsive -- */

@media (max-width: 1040px) {
  .console__grille,
  .constats-suite,
  .gains-illustration,
  .depot__grille,
  .fiche-auteur { grid-template-columns: 1fr; gap: 34px; }
  .console__moniteur { margin-top: 0; }
  .tempo { grid-template-columns: repeat(2, 1fr); }
  .temps { border-bottom: 1px solid var(--bordure); }
  .banc { grid-template-columns: repeat(2, 1fr); }
  .formules { grid-template-columns: 1fr; }
  .formule--retenue { margin-top: 0; }
  .attestations { grid-template-columns: 1fr 1fr; }
  .attestation--large { grid-column: span 2; }
  .pied__colonnes { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .jalons, .tete__interieur > .touche { display: none; }
  .declencheur-jalons { display: block; }
  .mesures { grid-template-columns: repeat(2, 1fr); gap: 18px 0; }
  .mesure:nth-child(3) { border-left: 0; padding-left: 0; }
  .releve-cles { grid-template-columns: repeat(2, 1fr); }
  .cle:nth-child(3) { border-left: 0; }
  .cle:nth-child(n+3) { border-top: 1px solid var(--bordure); }
}

@media (max-width: 700px) {
  body { font-size: 1rem; }
  .feuille { padding: 52px 0; }
  .constats,
  .banc,
  .gains,
  .attestations,
  .champ--paire { grid-template-columns: 1fr; }
  .attestation--large { grid-column: auto; }
  .tempo { grid-template-columns: 1fr; }
  .temps { border-right: 0; }
  .pied__colonnes { grid-template-columns: 1fr; }
  .moniteur { padding: 22px 18px 18px; }
  .depot__cadre { padding: 26px 20px 24px; }
  .planche__pastille { top: 12px; right: 12px; max-width: 160px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
  .picto { transform: none !important; }
  .apparait { opacity: 1; transform: none; }
}

@media print {
  .tete, .panneau-jalons, .bandeau-mesures, .parcellaire { display: none; }
  body { background: #fff; }
}

/* ==========================================================================
   Magazine Banc de Mesure
   Meme palette, meme forme signature (cartouche d angle), meme motif de
   contours cadastraux et meme signature d animation (pictogramme qui pivote)
   que le reste du site. Section ajoutee a la suite, sans modifier les regles
   qui precedent.
   ========================================================================== */

/* -------------------------------------------- intitules du pied de page - */
/* Les pages du magazine reservent h2 et h3 au corps redactionnel: les
   intitules de colonne du pied y sont des paragraphes, rendus a l identique. */

.pied__intitule {
  font-family: var(--courant);
  font-size: 0.79rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .7);
  margin: 0 0 16px;
}

/* --------------------------------------------------- entete du magazine - */

.magazine-tete {
  position: relative;
  padding: calc(var(--tete-haute) + 54px) 0 10px;
}
.magazine-tete__cadre { max-width: 66ch; }
.magazine-tete__chapeau {
  font-size: 1.2rem;
  line-height: 1.6;
  color: var(--encre-douce);
  max-width: 66ch;
}
.magazine-tete__reperes {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 30px;
  margin: 26px 0 0;
  padding: 14px 0 0;
  border-top: 2px solid var(--outremer);
  list-style: none;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--encre-douce);
  font-variant-numeric: tabular-nums;
}
.magazine-tete__reperes li { margin: 0; }
.magazine-tete__reperes b { color: var(--outremer); font-weight: 700; }

/* -------------------------------------------------- grille de cartes ---- */

.carnet {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gouttiere);
  margin: 0;
  padding: 0;
  list-style: none;
}
.carnet--serie { gap: 34px var(--gouttiere); }

.fiche {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--bordure);
  transition: border-color .2s linear, transform .2s var(--ressort);
}
.fiche:hover,
.fiche:focus-within {
  border-color: var(--outremer);
  transform: translateY(-3px);
}
.fiche:hover .picto,
.fiche:focus-within .picto {
  transform: rotate(90deg);
  stroke: var(--accent);
}

.fiche__planche {
  position: relative;
  margin: 0;
  padding: 6px 6px 0;
  background: var(--fond);
}
.fiche__vue {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border: 1px solid var(--outremer);
  filter: saturate(0.86) contrast(1.04);
}
.fiche__angle {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 3;
  padding: 5px 11px 4px;
  background: var(--outremer);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* Cartouche d angle de la carte: le filet double se pose dans le bloc de texte,
   jamais sur la photographie, et se referme en bas a droite de la carte. */
.fiche__texte {
  position: relative;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  padding: 32px 24px 20px;
}
.fiche__texte::before {
  content: "";
  position: absolute;
  top: 17px;
  left: 24px;
  width: 20px;
  height: 6px;
  background-repeat: no-repeat;
  background-image:
    linear-gradient(var(--outremer), var(--outremer)),
    linear-gradient(var(--outremer), var(--outremer)),
    linear-gradient(var(--outremer), var(--outremer));
  background-size: 12px 2px, 12px 2px, 4px 4px;
  background-position: 0 0, 0 4px, 16px 1px;
  pointer-events: none;
}
.fiche::after {
  content: "";
  position: absolute;
  bottom: 12px;
  right: 12px;
  width: 20px;
  height: 6px;
  background-repeat: no-repeat;
  background-image:
    linear-gradient(var(--bordure), var(--bordure)),
    linear-gradient(var(--bordure), var(--bordure)),
    linear-gradient(var(--bordure), var(--bordure));
  background-size: 12px 2px, 12px 2px, 4px 4px;
  background-position: 8px 0, 8px 4px, 0 1px;
  pointer-events: none;
}
.fiche__titre {
  font-family: var(--titre);
  font-weight: 700;
  font-size: 1.18rem;
  line-height: 1.22;
  letter-spacing: -0.02em;
  margin: 0 0 10px;
}
.fiche__titre a { color: var(--encre); text-decoration: none; }
.fiche__titre a:hover,
.fiche__titre a:focus-visible { color: var(--outremer); }
.fiche__extrait {
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--encre-douce);
  margin: 0 0 18px;
  max-width: none;
}
.fiche__mesures {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  padding-top: 13px;
  border-top: 1px solid var(--bordure);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--encre-douce);
  font-variant-numeric: tabular-nums;
}
.fiche__mesures .picto { width: 20px; height: 20px; margin-left: auto; }
.fiche__separateur { color: var(--bordure); }

/* --------------------------- section Derniers articles de la page accueil */

.derniers__pied {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 26px;
  margin-top: 34px;
  padding-top: 20px;
  border-top: 2px solid var(--outremer);
}
.derniers__pied .crayon { margin: 0; }

/* ---------------------------------------------------- entete d article -- */

.article-tete {
  position: relative;
  padding: calc(var(--tete-haute) + 46px) 0 0;
}
.article-tete__cadre { max-width: 74ch; }
.article-tete__reperes {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  margin: 0 0 18px;
  font-size: 0.79rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--encre-douce);
  font-variant-numeric: tabular-nums;
}
.article-tete__angle {
  display: inline-block;
  padding: 5px 11px 4px;
  background: var(--outremer);
  color: #fff;
}
.article-tete__reperes time {
  text-transform: none;
  letter-spacing: 0.03em;
  font-weight: 500;
  color: var(--outremer);
}
.article-tete h1 { margin-bottom: 0.42em; }

.chapo {
  position: relative;
  max-width: 68ch;
  margin: 0 0 30px;
  padding: 20px 24px 20px 26px;
  background: var(--surface);
  border: 1px solid var(--bordure);
  border-left: 3px solid var(--accent);
  font-size: 1.18rem;
  line-height: 1.55;
  color: var(--encre);
}

.une {
  position: relative;
  margin: 0;
  padding: 6px;
  background: var(--sable);
}
.une__vue {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--outremer);
  filter: saturate(0.86) contrast(1.04);
}
.une__mention {
  display: block;
  margin: 10px 0 36px;
  font-family: var(--note);
  font-size: 1.3rem;
  line-height: 1.25;
  color: var(--outremer);
}

/* ------------------------------------- corps redactionnel en balises nues */
/* Le corps des articles ne porte aucun attribut class, style ou id:
   toute sa mise en forme est definie ici, balise par balise. */

.corps-article {
  max-width: 68ch;
  font-size: 1.0625rem;
  line-height: 1.65;
}
.corps-article > *:first-child { margin-top: 0; }

.corps-article h2 {
  font-family: var(--titre);
  font-weight: 700;
  font-size: clamp(1.5rem, 1.1rem + 1.2vw, 1.9rem);
  line-height: 1.14;
  letter-spacing: -0.02em;
  margin: 2.3em 0 0.7em;
  padding-top: 18px;
  border-top: 2px solid var(--outremer);
}
.corps-article h3 {
  font-family: var(--titre);
  font-weight: 600;
  font-size: 1.3rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 1.9em 0 0.6em;
  padding-left: 13px;
  border-left: 3px solid var(--accent);
}

.corps-article p { margin: 0 0 1.1em; max-width: 68ch; }
.corps-article strong { font-weight: 700; color: var(--encre); }
.corps-article em { font-style: italic; }

.corps-article a {
  color: var(--outremer);
  font-weight: 500;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.corps-article a:hover,
.corps-article a:focus-visible {
  color: var(--accent);
  text-decoration-color: var(--accent);
}

.corps-article ul {
  list-style: none;
  margin: 0 0 1.4em;
  padding: 0;
}
.corps-article ul li {
  position: relative;
  margin: 0 0 0.6em;
  padding-left: 24px;
}
.corps-article ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 12px;
  height: 2px;
  background: var(--accent);
}
.corps-article ol {
  list-style: none;
  margin: 0 0 1.4em;
  padding: 0;
  counter-reset: pas-article;
}
.corps-article ol li {
  position: relative;
  margin: 0 0 0.6em;
  padding-left: 34px;
  counter-increment: pas-article;
}
.corps-article ol li::before {
  content: counter(pas-article, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 700;
  font-size: 0.86rem;
  line-height: 2;
  color: var(--outremer);
  font-variant-numeric: tabular-nums;
}
.corps-article li ul,
.corps-article li ol { margin: 0.5em 0 0; }
.corps-article li p:last-child { margin-bottom: 0; }

.corps-article table {
  width: 100%;
  margin: 0 0 1.6em;
  border-collapse: collapse;
  border: 1px solid var(--bordure);
  background: var(--surface);
  font-size: 0.95rem;
  font-variant-numeric: tabular-nums;
}
.corps-article thead th {
  background: var(--outremer);
  color: #fff;
  font-family: var(--courant);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: left;
  vertical-align: bottom;
  padding: 12px 14px;
  border-right: 1px solid rgba(255, 255, 255, .28);
}
.corps-article thead th:last-child { border-right: 0; }
.corps-article tbody tr { border-top: 1px solid var(--bordure); }
.corps-article tbody tr:nth-child(even) { background: var(--fond); }
.corps-article tbody th,
.corps-article tbody td {
  padding: 11px 14px;
  vertical-align: top;
  line-height: 1.5;
  border-right: 1px solid var(--bordure);
}
.corps-article tbody th {
  text-align: left;
  font-weight: 600;
  color: var(--encre);
}
.corps-article tbody th:last-child,
.corps-article tbody td:last-child { border-right: 0; }

.corps-article aside {
  position: relative;
  margin: 0 0 1.7em;
  padding: 26px 26px 22px;
  background: var(--surface);
  border: 1px solid var(--bordure);
  border-left: 3px solid var(--accent);
}
.corps-article aside::before {
  content: "";
  position: absolute;
  top: 12px;
  left: 12px;
  width: 20px;
  height: 6px;
  background-repeat: no-repeat;
  background-image:
    linear-gradient(var(--outremer), var(--outremer)),
    linear-gradient(var(--outremer), var(--outremer)),
    linear-gradient(var(--outremer), var(--outremer));
  background-size: 12px 2px, 12px 2px, 4px 4px;
  background-position: 0 0, 0 4px, 16px 1px;
  pointer-events: none;
}
.corps-article aside::after {
  content: "";
  position: absolute;
  bottom: 12px;
  right: 12px;
  width: 20px;
  height: 6px;
  background-repeat: no-repeat;
  background-image:
    linear-gradient(var(--bordure), var(--bordure)),
    linear-gradient(var(--bordure), var(--bordure)),
    linear-gradient(var(--bordure), var(--bordure));
  background-size: 12px 2px, 12px 2px, 4px 4px;
  background-position: 8px 0, 8px 4px, 0 1px;
  pointer-events: none;
}
.corps-article aside > *:last-child { margin-bottom: 0; }
.corps-article aside p { font-size: 1rem; }

.corps-article blockquote {
  margin: 0 0 1.7em;
  padding: 6px 0 6px 24px;
  border-left: 3px solid var(--outremer);
  font-family: var(--titre);
  font-weight: 400;
  font-size: 1.14rem;
  line-height: 1.45;
  color: var(--encre);
}
.corps-article blockquote p:last-child { margin-bottom: 0; }

.corps-article figure {
  margin: 0 0 1.7em;
  padding: 6px;
  background: var(--sable);
}
.corps-article figure img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--outremer);
}
.corps-article figcaption {
  margin-top: 10px;
  padding: 0 4px 4px;
  font-family: var(--note);
  font-size: 1.25rem;
  line-height: 1.25;
  color: var(--outremer);
}

/* ------------------------------------------------ appel a l action final */

.releve-suite {
  position: relative;
  max-width: 68ch;
  margin: 42px 0 0;
  padding: 28px 28px 26px;
  background: var(--outremer);
  color: #fff;
  overflow: hidden;
}
.releve-suite > * { position: relative; z-index: 2; }
.releve-suite p { color: rgba(255, 255, 255, .9); margin-bottom: 1em; max-width: 56ch; }
.releve-suite__titre {
  display: block;
  font-family: var(--titre);
  font-weight: 700;
  font-size: 1.34rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 10px;
}

/* -------------------------------------------------------- encart auteur -*/

.signature {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 22px;
  align-items: start;
  max-width: 74ch;
  margin: 46px 0 0;
  padding: 26px 26px 24px;
  background: var(--surface);
  border: 1px solid var(--bordure);
  border-top: 3px solid var(--outremer);
}
.signature__portrait {
  display: block;
  width: 96px;
  height: 96px;
  border: 1px solid var(--outremer);
  background: var(--fond);
}
.signature__nom {
  display: block;
  font-family: var(--titre);
  font-weight: 700;
  font-size: 1.16rem;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}
.signature__role {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--encre-douce);
  margin-bottom: 12px;
}
.signature p { font-size: 0.97rem; color: var(--encre-douce); margin-bottom: 0.7em; }
.signature p:last-child { margin-bottom: 0; }

/* ------------------------------------------------- bloc A lire aussi ---- */

.renvois {
  position: relative;
  margin-top: 62px;
  padding: 60px 0 74px;
  border-top: 1px solid var(--bordure);
  background: var(--sable);
  overflow: hidden;
}
.renvois > .appui { position: relative; z-index: 2; }
.renvois .parcellaire { opacity: 0.5; }
.renvois__intitule {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: 0 0 26px;
  font-family: var(--courant);
  font-size: 0.79rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--encre-douce);
}
.renvois__grille {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gouttiere);
}
.renvoi {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--bordure);
  transition: border-color .2s linear, transform .2s var(--ressort);
}
.renvoi::after {
  content: "";
  position: absolute;
  bottom: 12px;
  right: 12px;
  width: 20px;
  height: 6px;
  background-repeat: no-repeat;
  background-image:
    linear-gradient(var(--bordure), var(--bordure)),
    linear-gradient(var(--bordure), var(--bordure)),
    linear-gradient(var(--bordure), var(--bordure));
  background-size: 12px 2px, 12px 2px, 4px 4px;
  background-position: 8px 0, 8px 4px, 0 1px;
  pointer-events: none;
}
.renvoi:hover,
.renvoi:focus-within {
  border-color: var(--outremer);
  transform: translateY(-3px);
}
.renvoi__planche {
  margin: 0;
  padding: 6px 6px 0;
  background: var(--fond);
}
.renvoi__vue {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border: 1px solid var(--outremer);
  filter: saturate(0.86) contrast(1.04);
}
.renvoi__texte { position: relative; padding: 28px 20px 22px; }
.renvoi__texte::before {
  content: "";
  position: absolute;
  top: 14px;
  left: 20px;
  width: 20px;
  height: 6px;
  background-repeat: no-repeat;
  background-image:
    linear-gradient(var(--outremer), var(--outremer)),
    linear-gradient(var(--outremer), var(--outremer)),
    linear-gradient(var(--outremer), var(--outremer));
  background-size: 12px 2px, 12px 2px, 4px 4px;
  background-position: 0 0, 0 4px, 16px 1px;
  pointer-events: none;
}
.renvoi__titre {
  display: block;
  font-family: var(--titre);
  font-weight: 600;
  font-size: 1.06rem;
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.renvoi__titre a { color: var(--encre); text-decoration: none; }
.renvoi__titre a:hover,
.renvoi__titre a:focus-visible { color: var(--outremer); }
.renvoi__accroche {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--encre-douce);
}

/* ----------------------------------- sommaire du magazine, page auteur -- */

.sommaire__date {
  display: block;
  margin: 6px 0 0;
  font-family: var(--courant);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--encre-douce);
  font-variant-numeric: tabular-nums;
}

/* ------------------------------------------------ reponsive du magazine - */

@media (max-width: 1040px) {
  .carnet,
  .renvois__grille { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 700px) {
  .carnet,
  .renvois__grille { grid-template-columns: 1fr; }
  .magazine-tete { padding-top: calc(var(--tete-haute) + 36px); }
  .article-tete { padding-top: calc(var(--tete-haute) + 32px); }
  .chapo { padding: 18px 18px 18px 20px; font-size: 1.08rem; }
  .corps-article table { display: block; overflow-x: auto; }
  .corps-article aside { padding: 24px 20px 20px; }
  .releve-suite { padding: 24px 20px 22px; }
  .signature { grid-template-columns: 1fr; gap: 16px; }
  .renvois { margin-top: 44px; padding: 46px 0 56px; }
}
