/* Polices : css/polices.css, hébergées sur le site (plus de Google Fonts). */

:root {
  --paper: #f7f2e7;
  --yellow: #f3da78;
  --ink: #312c43;
  --purple: #605073;
  --lavender: #ded8ed;
  --orange: #b7472c;
  --line: #b9ae96;
  --white: #fffaf0;
  --muted: #625c66;
  --serif: 'Instrument Serif',Georgia,serif;
  --sans: 'DM Sans','Segoe UI',sans-serif;
  --mono: 'DM Mono',monospace;
  --hand: 'Caveat',cursive;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 16px/1.6 var(--sans);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 20px;
}

h1, h2, h3, p {
  margin: 0;
}

h1, h2, h3 {
  font-weight: 400;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}

a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 6px;
}

::selection {
  background: var(--lavender);
}

.skip {
  position: fixed;
  top: -100px;
  background: var(--white);
  padding: 14px;
  z-index: 20;
}

.skip:focus {
  top: 0;
}

.masthead {
  background: var(--yellow);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 25px 5%;
  border-bottom: 1px solid var(--ink);
}

.brand {
  font-size: 35px;
  font-weight: 700;
  letter-spacing: -2px;
  line-height: 1;
}

.brand span {
  font-size: 14px;
  vertical-align: top;
  margin-left: 4px;
}

.edition {
  font: 10px/1.5 var(--mono);
  letter-spacing: 1px;
  margin-right: auto;
  margin-left: 35px;
}

.nav-cta {
  font-size: 12px;
  border-bottom: 1px solid;
  padding: 7px 0;
  display: flex;
  gap: 35px;
}

.nav-cta span {
  font-size: 20px;
}

/* Navigation de l'en-tête (01/11/2026) : la méthode, puis le simulateur.
   Le lien de la méthode reste discret à côté du bouton : c'est le
   simulateur qu'on vient chercher. */
.masthead__nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.masthead__lien {
  font-size: 12px;
  padding: 7px 0;
  border-bottom: 1px solid transparent;
}

.masthead__lien:hover,
.masthead__lien[aria-current="page"] {
  border-bottom-color: currentColor;
}

.cover {
  background: var(--yellow);
  padding: 42px 5% 32px;
  overflow: hidden;
}

.cover-heading {
  position: relative;
  text-align: center;
}

.folio, .tiny {
  font: 10px/1.6 var(--mono);
  letter-spacing: 1px;
}

/* Le slogan porte la grande typographie de la couverture. Ce n'est plus le
   <h1> depuis le 09/10/2026 : le titre de la page est la question, plus bas,
   au rendu de ligne d'introduction (.intro). */
.cover__slogan {
  font: clamp(60px,7.5vw,114px)/.95 var(--serif);
  letter-spacing: -3px;
  margin: 0 0 20px;
}

.cover__surtitre {
  margin-bottom: 24px;
}

.cover__slogan em {
  font-weight: 400;
}

.intro {
  font-size: 14px;
  line-height: 1.6;
}

.theatre {
  position: relative;
  max-width: 1200px;
  height: 520px;
  margin: 0 auto;
}

.house {
  position: absolute;
  left: 50%;
  top: 26px;
  transform: translateX(-50%);
  width: 780px;
  max-width: 75%;
  height: 490px;
  overflow: visible;
  filter: drop-shadow(0 16px 10px rgb(49 44 67 / .09));
}

.shadow {
  fill: var(--ink);
  opacity: .12;
}

.ground {
  fill: #e5c765;
  stroke: var(--ink);
  stroke-width: .7;
}

.wall-front {
  fill: var(--white);
  stroke: var(--ink);
  stroke-width: 1.5;
}

.wall-side {
  fill: #d6cfc0;
  stroke: var(--ink);
  stroke-width: 1.5;
}

.roof {
  fill: var(--purple);
  stroke: var(--ink);
  stroke-width: 1.5;
}

.hatch {
  stroke: var(--lavender);
  stroke-width: 1;
  opacity: .45;
}

.roof-edge {
  fill: var(--lavender);
  stroke: var(--ink);
  stroke-width: 1.5;
}

.chimney {
  fill: var(--white);
  stroke: var(--ink);
  stroke-width: 1.5;
}

.door {
  fill: var(--orange);
  stroke: var(--ink);
  stroke-width: 1.5;
}

.door-line {
  fill: none;
  stroke: var(--white);
  stroke-width: 1;
}

.handle {
  fill: var(--yellow);
}

.window {
  fill: var(--ink);
  stroke: var(--ink);
  stroke-width: 1.5;
}

.mullion {
  stroke: var(--paper);
  stroke-width: 2;
  fill: none;
}

.steps {
  fill: var(--paper);
  stroke: var(--ink);
  stroke-width: 1.5;
}

.plant {
  fill: var(--purple);
  stroke: var(--ink);
  stroke-width: 1.5;
}

.plant-stem {
  stroke: var(--ink);
  stroke-width: 2;
  fill: none;
}

.pathway {
  fill: none;
  stroke: var(--ink);
  stroke-width: 1;
  stroke-dasharray: 5 5;
}

.pencil-note {
  position: absolute;
  left: 4%;
  top: 60px;
  font: 29px/1 var(--hand);
  transform: rotate(-9deg);
  z-index: 1;
}

.pencil-note svg {
  width: 95px;
  display: block;
  margin: 10px 0 0 20px;
  stroke: var(--ink);
  stroke-width: 2;
  fill: none;
}

.view-switch {
  position: absolute;
  left: 50%;
  top: 6px;
  transform: translateX(-50%);
  display: flex;
  gap: 4px;
  border: 1px solid var(--ink);
  border-radius: 30px;
  padding: 4px;
  z-index: 2;
  background: var(--yellow);
}

.view-switch button {
  border: 0;
  padding: 9px 20px;
  background: none;
  border-radius: 30px;
  font-size: 12px;
  white-space: nowrap;
}

.view-switch button[aria-pressed=true] {
  background: var(--ink);
  color: var(--paper);
}

.postcard {
  position: absolute;
  right: 0;
  top: 190px;
  transform: rotate(7deg);
  background: var(--paper);
  padding: 27px 24px;
  width: 235px;
  box-shadow: 6px 8px 0 rgb(49 44 67 / .13);
  z-index: 1;
  transition: transform .3s,background .3s;
}

.postcard:before {
  content: '';
  position: absolute;
  width: 86px;
  height: 22px;
  background: rgb(255 250 240 / .5);
  top: -11px;
  left: 74px;
  transform: rotate(-5deg);
}

.postcard .tiny {
  font-size: 10px;
}

.postcard .postcard__titre {
  font: 36px/.98 var(--serif);
  white-space: pre-line;
  margin: 17px 0;
}

.postcard p:last-of-type {
  font-size: 11px;
  line-height: 1.7;
}

.postcard-arrow {
  display: block;
  font-size: 27px;
  margin-top: 8px;
}

.mode-location .postcard {
  transform: rotate(-5deg);
  background: var(--lavender);
}

.mode-location .door {
  fill: var(--purple);
}

.stamp {
  position: absolute;
  bottom: 65px;
  left: 5%;
  /* Brique plus sombre que --orange, pour ce seul tampon : il porte une
     information clé (gratuit, sans inscription) en 9 px sur le jaune, où
     --orange n'atteint que 3,8:1. Celle-ci passe le seuil AA de 4,5:1. */
  border: 1px solid #9e3a23;
  color: #9e3a23;
  border-radius: 50%;
  width: 127px;
  height: 127px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  font: 9px/1.2 var(--mono);
  transform: rotate(-14deg);
}

/* « 0 € » est bien plus large que l'ancien « 2 » : à 54 px et sans
   interligne, il recouvrait les deux petites lignes, qui portent désormais
   l'information. Le chiffre s'écarte d'elles et rétrécit un peu. */
.stamp strong {
  font: 42px/1.05 var(--serif);
  white-space: nowrap;
}

.scene-caption {
  position: absolute;
  bottom: 5px;
  left: 50%;
  transform: translateX(-50%);
  font: 10px var(--mono);
  text-align: center;
  width: 80%;
}

.cover-bottom {
  border-top: 1px solid var(--ink);
  padding-top: 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1280px;
  margin: 20px auto 0;
  gap: 25px;
}

.cover-bottom>p {
  font-size: 12px;
}

.round-cta {
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  width: 150px;
  height: 150px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  font-size: 15px;
  line-height: 1.3;
  transform: rotate(-7deg);
  margin-top: -85px;
  z-index: 3;
  transition: transform .25s;
}

.round-cta:hover {
  transform: rotate(3deg);
}

.round-cta>span:last-child {
  font-size: 34px;
}

.read-on {
  font: 10px var(--mono);
  display: flex;
  gap: 25px;
}

.read-on span {
  font-size: 24px;
}

.section-label {
  display: flex;
  justify-content: space-between;
  font: 10px var(--mono);
  letter-spacing: 1px;
  grid-column: 1/-1;
  padding-bottom: 30px;
}

.section-label>span:last-child {
  font-size: 11px;
}

/* ---------------------------------------------------------------------------
 * 01 — Deux camps, deux certitudes
 * Fond clair à la place de l'ancien bloc sombre. Les deux cartes partagent
 * TOUT (taille, fond, ruban, barre) sauf le sens de l'inclinaison : c'est la
 * symétrie qui dit que la page ne penche d'aucun côté.
 * ------------------------------------------------------------------------- */
.camps {
  padding: 90px 8% 100px;
  overflow: hidden;
}

.camps .section-label {
  padding-bottom: 60px;
}

.camps__duel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .85fr) minmax(0, 1fr);
  gap: 48px;
  max-width: 1180px;
  margin: 0 auto;
}

.camps__carte {
  margin: 0;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  background: var(--white);
  border: 1px solid var(--line);
  padding: 36px 30px 24px;
  box-shadow: 6px 8px 0 rgb(49 44 67 / .13);
}

.camps__carte:before {
  content: '';
  position: absolute;
  top: -12px;
  left: 50%;
  width: 86px;
  height: 24px;
  margin-left: -43px;
  background: rgb(243 218 120 / .75);
}

.camps__carte--gauche {
  transform: rotate(-3deg);
}

.camps__carte--gauche:before {
  transform: rotate(5deg);
}

.camps__carte--droite {
  transform: rotate(3deg);
}

.camps__carte--droite:before {
  transform: rotate(-5deg);
}

.camps__numero,
.camps__camp {
  font: 10px/1.6 var(--mono);
  letter-spacing: 1px;
  color: var(--muted);
}

.camps__citation {
  font: clamp(30px, 2.7vw, 40px)/1.1 var(--serif);
}

/* « toujours », entouré à la main : c'est la généralisation qu'on conteste.
   Le mot est en <em> pour que l'insistance existe aussi sans le dessin, et
   ne passe jamais à la ligne, sinon l'ovale se couperait. Même tracé, même
   trait et même orange que le soulignement de « Parfois. ». */
.camps__toujours {
  position: relative;
  margin: 0 .14em;
  white-space: nowrap;
}

.camps__ovale {
  position: absolute;
  left: -.32em;
  top: -.12em;
  width: calc(100% + .64em);
  height: calc(100% + .3em);
  overflow: visible;
  fill: none;
  stroke: var(--orange);
  stroke-width: 2;
  stroke-linecap: round;
  pointer-events: none;
}

.camps__ovale path {
  vector-effect: non-scaling-stroke;
}

.camps__camp {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
  text-transform: uppercase;
}

.camps__pivot {
  align-self: center;
  text-align: center;
}

.camps__pivot h2 {
  font: clamp(42px, 4.4vw, 62px)/1 var(--serif);
  letter-spacing: -1px;
}

.camps__pivot em {
  color: var(--purple);
}

.camps__trait {
  display: block;
  width: 150px;
  margin: 10px auto 0;
  fill: none;
  stroke: var(--orange);
  stroke-width: 2.5;
  stroke-linecap: round;
}

.camps__texte {
  max-width: 560px;
  margin: 72px auto 0;
  text-align: center;
  font-size: 15px;
  line-height: 1.7;
}

/* Tablette : les deux cartes côte à côte, la phrase pivot dessous. */
@media (max-width: 1000px) {
  .camps__duel {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 40px 32px;
  }
  .camps__carte--gauche {
    grid-area: 1 / 1;
  }
  .camps__carte--droite {
    grid-area: 1 / 2;
  }
  .camps__pivot {
    grid-area: 2 / 1 / 3 / 3;
  }
  .camps__citation {
    font-size: 28px;
  }
}

/* Mobile : les cartes s'empilent, la phrase pivot reste entre elles. */
@media (max-width: 700px) {
  .camps {
    padding: 50px 25px 60px;
  }
  .camps .section-label {
    padding-bottom: 36px;
  }
  .camps__duel {
    grid-template-columns: minmax(0, 1fr);
    gap: 34px;
  }
  .camps__carte--gauche,
  .camps__carte--droite,
  .camps__pivot {
    grid-area: auto;
  }
  .camps__carte {
    padding: 30px 22px 20px;
  }
  .camps__carte--gauche {
    transform: rotate(-2deg);
  }
  .camps__carte--droite {
    transform: rotate(2deg);
  }
  .camps__citation {
    font-size: 29px;
  }
  .camps__pivot h2 {
    font-size: 40px;
  }
  .camps__texte {
    margin-top: 44px;
    font-size: 14px;
    text-align: left;
  }
}

.ledger {
  max-width: 1400px;
  padding: 100px 8%;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: center;
}

.ledger-title h2 {
  font: 60px/1 var(--serif);
  letter-spacing: -1.5px;
  margin: 25px 0;
}

.ledger-title>p {
  font-size: 14px;
  color: var(--muted);
  max-width: 400px;
}

/* Renvoi vers /methode (01/11/2026) : un lien de lecture, pas un bouton —
   le seul bouton de la section reste celui du simulateur, plus haut. */
.ledger__lien {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  margin-top: 14px;
  font-size: 14px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.ledger-sheet {
  background: var(--white);
  padding: 32px;
  transform: rotate(3deg);
  border: 1px solid var(--line);
  box-shadow: 8px 9px 0 var(--lavender);
  position: relative;
}

.ledger-sheet:before {
  content: '';
  position: absolute;
  top: -18px;
  left: 45%;
  height: 36px;
  width: 90px;
  background: rgb(243 218 120 / .7);
  transform: rotate(-6deg);
}

.sheet-heading {
  font: 10px var(--mono);
  display: flex;
  justify-content: space-between;
  gap: 15px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 20px;
}

.sheet-heading>span:last-child {
  font-size: 22px;
}

.route {
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.route h3 {
  font: 30px var(--serif);
}

.route p {
  font-size: 11px;
  color: var(--muted);
}

.route-bar {
  display: flex;
  margin: 16px 0;
  min-height: 42px;
  font-size: 10px;
}

.route-bar span {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 7px;
}

.buy-bar span:first-child {
  background: var(--lavender);
  flex: 1.8;
}

.buy-bar span:last-child {
  background: var(--ink);
  color: var(--paper);
  flex: 1;
}

.rent-bar span:first-child {
  background: var(--yellow);
  flex: 1;
}

.rent-bar span:last-child {
  background: var(--purple);
  color: var(--paper);
  flex: 1.8;
}

.sheet-note {
  font: 10px/1.6 var(--mono);
  margin-top: 20px;
}

.time-story {
  background: var(--lavender);
  padding: 90px 8% 100px;
  position: relative;
  overflow: hidden;
}

.time-story>h2 {
  font: clamp(65px,8vw,110px)/.93 var(--serif);
  letter-spacing: -3px;
}

.time-story>h2 em {
  color: var(--purple);
}

.wandering {
  position: absolute;
  right: -70px;
  top: 150px;
  width: 76%;
  height: 300px;
  transform: rotate(-18deg);
  fill: var(--lavender);
  stroke: var(--purple);
  stroke-width: 2;
}

.wandering path {
  fill: none;
  stroke-dasharray: 7 7;
}

.time-notes {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 60px;
  margin-top: 70px;
}

.time-notes article {
  border-top: 1px solid var(--purple);
  padding-top: 20px;
}

.time-notes article>span {
  font: 10px var(--mono);
}

.time-notes h3 {
  font: 35px/1.1 var(--serif);
  margin: 13px 0 20px;
}

.time-notes p {
  font-size: 13px;
  max-width: 300px;
}

/* Les numéros des points de la courbe, repris sur les cartes : le seul lien
   visuel entre une question et l'endroit où le chemin bifurque. */
.temps__numeros text {
  font: 500 13px var(--mono);
  fill: var(--purple);
  stroke: none;
  text-anchor: middle;
}

.temps__repere {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  margin-right: 10px;
  border: 1.5px solid var(--purple);
  border-radius: 50%;
  font: 500 11px var(--mono);
  color: var(--purple);
  vertical-align: middle;
}

/* Renvoi de la carte 1 vers le point mort de l'aperçu, plus haut : discret,
   dans le texte, comme les renvois des piliers. */
.temps__renvoi {
  color: var(--purple);
  text-decoration: underline dotted;
  text-underline-offset: 3px;
  white-space: nowrap;
}

.temps__renvoi:hover {
  color: var(--ink);
}

/* 24 px de haut à la souris (17 px avant l'audit du 08/10/2026), sans
   bouger la ligne ; 44 px au doigt, plus bas (pointer:coarse). */
.temps__renvoi {
  display: inline-block;
  padding: 4px 2px;
  margin: -4px -2px;
}

.temps__transition {
  position: relative;
  max-width: 920px;
  margin-top: 70px;
  padding-top: 30px;
  border-top: 1px dashed var(--purple);
  font: clamp(24px, 2.4vw, 32px)/1.25 var(--serif);
}

.temps__transition em {
  display: block;
  color: var(--purple);
}

.temps__transition span {
  display: inline-block;
  margin-left: 6px;
  font-family: var(--sans);
  font-size: .8em;
}

@media (max-width: 700px) {
  .temps__numeros {
    display: none;
  }
  .temps__transition {
    margin-top: 44px;
    padding-top: 24px;
    font-size: 25px;
  }
}

/* ---------------------------------------------------------------------------
 * 04 — Les trois piliers
 * Fond blanc pour marquer la section de différenciation. Trois feuilles de
 * carnet de même largeur ; chacune finit par un renvoi à la question qu'elle
 * règle, avec le même rond numéroté que les « Et si » de la section 02.
 * ------------------------------------------------------------------------- */
.piliers {
  background: var(--white);
  padding: 90px 8% 100px;
  border-block: 1px solid var(--line);
  overflow: hidden;
}

.piliers .section-label {
  padding-bottom: 40px;
}

.piliers>h2 {
  font: clamp(52px, 5.6vw, 80px)/.95 var(--serif);
  letter-spacing: -2px;
}

.piliers>h2 em {
  color: var(--purple);
}

/* Une grille partagée (subgrid) : les six rangées de chaque carte — dessin,
   numéro, titre, texte, volets, renvoi — s'alignent d'une carte à l'autre.
   C'est ce qui met les volets des piliers 1 et 2 à la même hauteur. Le
   pilier 2, sans texte, étend son titre sur deux rangées. */
.piliers__liste {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: repeat(6, auto);
  gap: 0 36px;
  margin-top: 64px;
}

.pilier {
  grid-row: span 6;
  display: grid;
  grid-template-rows: subgrid;
  row-gap: 14px;
}

.pilier__picto { grid-row: 1; }
.pilier__numero { grid-row: 2; }
.pilier__titre { grid-row: 3; }
.pilier__texte { grid-row: 4; }
.pilier__volets { grid-row: 5; }
.pilier__renvoi { grid-row: 6; }
.pilier--deux .pilier__titre { grid-row: 3 / span 2; }

.pilier {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 34px 28px 18px;
  box-shadow: 6px 8px 0 var(--lavender);
}

.pilier:before {
  content: '';
  position: absolute;
  top: -14px;
  left: 40%;
  width: 82px;
  height: 26px;
  background: rgb(243 218 120 / .7);
  transform: rotate(-4deg);
}

.pilier--un {
  transform: rotate(-1.2deg);
}

.pilier--deux {
  transform: rotate(.8deg);
}

.pilier--deux:before {
  background: rgb(222 216 237 / .95);
  transform: rotate(3deg);
}

.pilier--trois {
  transform: rotate(-.6deg);
}

.pilier__picto {
  width: 120px;
  height: 80px;
  margin-bottom: 4px;
  overflow: visible;
}

.picto__trait {
  fill: none;
  stroke: var(--ink);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.picto__trait--epais {
  stroke-width: 2.2;
}

.picto__papier {
  fill: var(--white);
  stroke: var(--ink);
  stroke-width: 1.5;
  stroke-linejoin: round;
}

.picto__porte {
  fill: var(--orange);
  stroke: var(--ink);
  stroke-width: 1.5;
}

.picto__piece,
.picto__poignee {
  fill: var(--yellow);
  stroke: var(--ink);
  stroke-width: 1.3;
}

.picto__couvercle {
  fill: var(--purple);
  stroke: var(--ink);
  stroke-width: 1.5;
  stroke-linejoin: round;
}

.picto__serrure {
  fill: var(--ink);
}

.picto__question {
  font: 26px var(--hand);
  fill: var(--purple);
  text-anchor: middle;
}

.picto__anneau {
  fill: none;
  stroke: var(--ink);
  stroke-width: 2.2;
}

.picto__fil {
  fill: none;
  stroke: var(--ink);
  stroke-width: 1.2;
  stroke-dasharray: 2 3;
}

.picto__axe {
  stroke: var(--line);
  stroke-width: 1.2;
}

/* Le trait vertical est la frontière observé / projeté du simulateur. */
.picto__frontiere {
  stroke: var(--muted);
  stroke-width: 1.2;
  stroke-dasharray: 3 3;
}

.picto__futur {
  fill: none;
  stroke-width: 2;
  stroke-dasharray: 5 4;
  stroke-linecap: round;
}

.picto__futur--un {
  stroke: var(--purple);
}

.picto__futur--deux {
  stroke: var(--ink);
}

.picto__futur--trois {
  stroke: var(--orange);
}

.pilier__numero {
  font: 10px/1.6 var(--mono);
  letter-spacing: 1px;
  color: var(--muted);
}

.pilier__titre {
  font: 30px/1.08 var(--serif);
}

.pilier__titre em {
  color: var(--purple);
}

.pilier__texte {
  font-size: 14px;
  line-height: 1.6;
}

.pilier__volets {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  border-top: 1px dashed var(--line);
}

.pilier__volet {
  padding: 14px 14px 4px 0;
}

.pilier__volet+.pilier__volet {
  padding: 14px 0 4px 14px;
  border-left: 1px dashed var(--line);
}

.pilier__volet-nom {
  font: 20px/1.05 var(--serif);
  margin-bottom: 8px;
}

.pilier__volet-nom span {
  display: block;
  margin-top: 5px;
  font: 10px/1.6 var(--mono);
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--muted);
}

.pilier__volet p:last-child {
  font-size: 13px;
  line-height: 1.55;
}

.pilier__renvoi {
  display: flex;
  align-items: center;
  min-height: 44px;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px dashed var(--line);
  font: 10px/1.5 var(--mono);
  letter-spacing: .5px;
  color: var(--muted);
}

a.pilier__renvoi {
  gap: 10px;
  color: var(--ink);
}

a.pilier__renvoi:hover {
  color: var(--purple);
}

/* Empilées dès 1180 px : en dessous, trois colonnes laissent aux volets des
   piliers 1 et 2 moins de 110 px chacun, et les cartes s'étirent en hauteur. */
@media (max-width: 1180px) {
  .piliers__liste {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: none;
    max-width: 640px;
    gap: 44px;
  }
  /* Cartes empilées : plus rien à aligner, retour à la colonne simple. */
  .pilier {
    grid-row: auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
  }
}

@media (max-width: 700px) {
  .piliers {
    padding: 50px 25px 60px;
  }
  .piliers .section-label {
    padding-bottom: 30px;
  }
  .piliers>h2 {
    font-size: 48px;
    letter-spacing: -1.3px;
  }
  .piliers__liste {
    margin-top: 44px;
  }
  .pilier {
    padding: 30px 20px 14px;
  }
  .pilier--un,
  .pilier--trois {
    transform: rotate(-.8deg);
  }
  .pilier--deux {
    transform: rotate(.8deg);
  }
  .pilier__titre {
    font-size: 28px;
  }
}

/* ---------------------------------------------------------------------------
 * 05 — Ce que vous obtenez
 * Le graphique est construit par accueil.js à partir de calc.js, à la largeur
 * réelle de la feuille (une unité SVG = un pixel) : les tailles de texte
 * ci-dessous sont donc de vrais pixels, en mobile comme sur grand écran.
 * Couleurs de la couverture : la porte orange pour l'achat, violette pour la
 * location.
 * ------------------------------------------------------------------------- */
/* Fond blanc : l'aperçu suit directement le face-à-face, sur papier.
   La largeur utile reste plafonnée à ~1200 px par le rembourrage. */
.apercu {
  background: var(--white);
  border-block: 1px solid var(--line);
  padding: 100px max(8%, calc(50% - 600px));
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  grid-template-areas: 'texte visuel' 'lien visuel';
  gap: 0 70px;
  align-items: center;
}

/* En mobile, le bouton passe sous le graphique : on lit la réponse avant
   d'être invité à faire la sienne. */
.apercu__texte {
  grid-area: texte;
  align-self: end;
}

.apercu__visuel {
  grid-area: visuel;
}

.apercu__lien {
  grid-area: lien;
  align-self: start;
  justify-self: start;
}

.apercu .section-label {
  padding-bottom: 30px;
}

.apercu h2 {
  font: clamp(46px, 4.6vw, 66px)/.98 var(--serif);
  letter-spacing: -1.5px;
}

.apercu h2 em {
  color: var(--purple);
}

.apercu__chiffres {
  margin-top: 40px;
}

.apercu__kpis {
  margin: 0;
  border-top: 1px solid var(--line);
}

.apercu__kpi {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 20px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.apercu__kpi dt {
  font: 24px/1.1 var(--serif);
}

.apercu__kpi dt>span {
  display: block;
  margin-top: 5px;
  font: 10px/1.6 var(--mono);
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--muted);
}

.apercu__kpi dd {
  margin: 0;
  font: 500 20px/1 var(--sans);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.apercu__kpi--achat dt {
  color: var(--orange);
}

.apercu__kpi--location dt {
  color: var(--purple);
}

.apercu__renvoi {
  display: flex;
  align-items: center;
  margin-top: 16px;
  font: 10px/1.5 var(--mono);
  letter-spacing: .5px;
  color: var(--muted);
}

.apercu__lien {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  min-height: 48px;
  margin-top: 34px;
  padding: 13px 26px;
  border-radius: 30px;
  background: var(--ink);
  color: var(--paper);
  font-size: 14px;
  box-shadow: 4px 4px 0 var(--yellow);
  transition: translate .2s, box-shadow .2s;
}

.apercu__lien span {
  font-size: 20px;
}

.apercu__lien:hover {
  translate: 2px 2px;
  box-shadow: 2px 2px 0 var(--yellow);
}

.apercu__visuel {
  margin: 0;
}

.apercu__feuille {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 30px 24px 16px;
  box-shadow: 8px 9px 0 var(--lavender);
  transform: rotate(-1deg);
}

.apercu__feuille:before {
  content: '';
  position: absolute;
  top: -16px;
  left: 46%;
  width: 90px;
  height: 32px;
  background: rgb(243 218 120 / .7);
  transform: rotate(-5deg);
}

.apercu__graphique {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

.apercu__grille path {
  fill: none;
  stroke: var(--line);
  stroke-width: 1;
  stroke-dasharray: 2 4;
}

.apercu__grille .apercu__axe {
  stroke: var(--ink);
  stroke-dasharray: none;
}

.apercu__graduation {
  font: 10px var(--mono);
  fill: var(--muted);
  text-anchor: middle;
}

.apercu__graduation--y {
  text-anchor: end;
}

.apercu__zone--location {
  fill: var(--lavender);
}

.apercu__zone--achat {
  fill: rgb(183 71 44 / .16);
}

.apercu__point-mort {
  fill: none;
  stroke: var(--ink);
  stroke-width: 1.2;
  stroke-dasharray: 4 4;
}

.apercu__point-mort-texte {
  font: 10px var(--mono);
  letter-spacing: 1px;
  fill: var(--ink);
  text-anchor: middle;
}

.apercu__main {
  font: 20px var(--hand);
  fill: var(--ink);
}

.apercu__main--avant {
  text-anchor: end;
}

.apercu__croisement {
  fill: var(--white);
  stroke: var(--ink);
  stroke-width: 1.5;
}

.apercu__courbe {
  fill: none;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.apercu__courbe--achat {
  stroke: var(--orange);
}

.apercu__courbe--location {
  stroke: var(--purple);
}

.apercu__etiquette-nom {
  font: 10px var(--mono);
  letter-spacing: 1px;
}

.apercu__etiquette-nom--achat {
  fill: var(--orange);
}

.apercu__etiquette-nom--location {
  fill: var(--purple);
}

.apercu__etiquette-valeur {
  font: 21px var(--serif);
  fill: var(--ink);
}

.apercu__legende {
  max-width: 540px;
  margin-top: 26px;
  font: 10px/1.7 var(--mono);
  color: var(--muted);
}

/* La phrase d'hypothèses de l'exemple, sous les chiffres : dans le texte et
   non sous le graphique, pour rester lisible sans JavaScript (le graphique,
   lui, est dessiné par accueil.js). Même voix que la légende. */
.apercu__hypotheses {
  max-width: 440px;
  margin-top: 18px;
  font: 10px/1.7 var(--mono);
  color: var(--muted);
}

.apercu__legende span {
  display: block;
  color: var(--ink);
}

/* Tracé des courbes à l'apparition, puis le point mort et les étiquettes.
   Sans JavaScript il n'y a pas de graphique du tout ; sous
   prefers-reduced-motion, la règle globale coupe les transitions. */
.js .apercu__courbe {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  transition: stroke-dashoffset 1.6s cubic-bezier(.4, 0, .2, 1) .2s;
}

.js .apercu__decor,
.js .apercu__etiquettes {
  opacity: 0;
  transition: opacity .5s ease 1.4s;
}

.js .apercu__visuel.est-visible .apercu__courbe {
  stroke-dashoffset: 0;
}

.js .apercu__visuel.est-visible .apercu__decor,
.js .apercu__visuel.est-visible .apercu__etiquettes {
  opacity: 1;
}

@media (max-width: 1000px) {
  .apercu {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: 'texte' 'visuel' 'lien';
    gap: 56px;
  }
  .apercu__lien {
    margin-top: 0;
  }
}

@media (max-width: 700px) {
  .apercu {
    padding: 50px 25px 60px;
    gap: 44px;
  }
  .apercu h2 {
    font-size: 44px;
    letter-spacing: -1px;
  }
  .apercu__kpi dt {
    font-size: 21px;
  }
  .apercu__kpi dd {
    font-size: 18px;
  }
  .apercu__feuille {
    padding: 24px 12px 10px;
    transform: rotate(-.6deg);
  }
  .apercu__main {
    font-size: 17px;
  }
  .apercu__etiquette-valeur {
    font-size: 17px;
  }
}

/* ---------------------------------------------------------------------------
 * Apparition au défilement — un seul effet pour toute la page.
 * `translate` plutôt que `transform` : plusieurs blocs sont déjà inclinés
 * par `transform`, et l'apparition ne doit pas effacer leur rotation.
 * ------------------------------------------------------------------------- */
.js [data-apparait] {
  opacity: 0;
  translate: 0 18px;
  transition: opacity .7s ease, translate .7s ease;
}

.js [data-apparait].est-visible {
  opacity: 1;
  translate: none;
}

[hidden] {
  display: none !important;
}

/* -------------------------------------------------------------------------
 * Æquo en bref (09/10/2026). Même grille que la FAQ qui le suit — titre à
 * gauche, filets à droite —, sans dessin ni note manuscrite : ce sont des
 * phrases à lire et à citer telles quelles, la page a assez de voix ailleurs.
 * ------------------------------------------------------------------------- */
.bref {
  padding: 90px 8% 0;
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 80px;
}

.bref h2 {
  font: 65px/.95 var(--serif);
  letter-spacing: -1px;
  margin-top: 25px;
}

.bref__liste {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.bref__liste li {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  line-height: 1.6;
}

.faq {
  padding: 90px 8% 100px;
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 80px;
}

.faq h2 {
  font: 65px/.95 var(--serif);
  letter-spacing: -1px;
  margin-top: 25px;
}

.asterisk {
  display: inline-block;
  font-size: 100px;
  color: var(--orange);
  line-height: 1;
  margin-top: 25px;
  transform: rotate(10deg);
}

.answers {
  border-top: 1px solid var(--line);
}

details {
  border-bottom: 1px solid var(--line);
}

summary {
  list-style: none;
  cursor: pointer;
  padding: 23px 30px 23px 0;
  font-size: 13px;
  position: relative;
}

summary::-webkit-details-marker {
  display: none;
}

summary:after {
  content: '+';
  position: absolute;
  right: 0;
  top: 19px;
  font-size: 24px;
}

details[open] summary:after {
  content: '−';
}

details p {
  padding: 0 10px 20px 0;
  font-size: 13px;
  color: var(--muted);
}

details ul {
  margin: 0;
  padding: 0 10px 20px 18px;
  font-size: 13px;
  color: var(--muted);
}

details a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.finale {
  background: var(--yellow);
  padding: 80px 8% 90px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px 70px;
  border-block: 1px solid var(--ink);
}

.finale>.tiny {
  grid-column: 1/-1;
}

.finale h2 {
  font: 150px/.82 var(--serif);
  letter-spacing: -5px;
}

.finale-side {
  align-self: center;
}

/* La phrase de la carte retirée en 02, reprise ici en note manuscrite : le
   dernier mot de la page rend la décision au visiteur. */
.finale__note {
  margin-top: 30px;
  font: 27px/1.15 var(--hand);
  transform: rotate(-3deg);
  transform-origin: left;
}

.finale-side>p {
  font-size: 15px;
  margin-bottom: 28px;
}

.ticket {
  position: relative;
  display: block;
  max-width: 390px;
  background: var(--ink);
  color: var(--paper);
  padding: 23px 25px;
  transform: rotate(-3deg);
  border-left: 5px dotted var(--yellow);
  transition: transform .2s;
}

.ticket:hover {
  transform: rotate(0);
}

.ticket>span, .ticket small {
  font: 10px var(--mono);
  letter-spacing: 1px;
}

.ticket strong {
  display: flex;
  justify-content: space-between;
  font: 45px var(--serif);
  border-bottom: 1px dashed var(--paper);
  margin: 13px 0;
  padding-bottom: 15px;
}

footer {
  padding: 25px 5%;
  display: flex;
  gap: 35px;
  align-items: center;
  border-top: 1px solid var(--line);
}

footer p {
  font-size: 12px;
  margin-right: auto;
}

footer>a:not(.brand) {
  font-size: 12px;
}

footer>span {
  font-size: 11px;
  color: var(--muted);
}

/* Les pages légales et la 404 reprennent ce pied tel quel : un visiteur doit
   les trouver depuis n'importe quelle page. */
footer {
  flex-wrap: wrap;
}

/* L'adresse de contact est le troisième lien, à la même hauteur que les deux
   autres (audit du 08/10/2026 : elle flottait au-dessus, en 9 px et non
   cliquable). Sur téléphone, elle passe à la ligne au même pas de 44 px. */
.pied__liens {
  display: flex;
  flex-wrap: wrap;
  gap: 0 20px;
}

.pied__liens a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 12px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* L'avertissement prend toute la ligne, sous le reste : il doit se lire, pas
   seulement exister. 11 px plutôt que les 9 px des mentions voisines. */
footer .pied__avertissement {
  flex-basis: 100%;
  margin-right: 0;
  max-width: 90ch;
  font-size: 11px;
  line-height: 1.5;
  color: var(--muted);
}

@media (min-width:1500px) {
  .cover__slogan {
    font-size: 120px;
  }
  .theatre {
    height: 550px;
  }
  .house {
    max-width: 80%;
  }
}

@media (max-width:1000px) {
  .theatre {
    height: 480px;
  }
  .postcard {
    width: 200px;
    top: 180px;
    padding: 22px 18px;
  }
  .postcard .postcard__titre {
    font-size: 31px;
  }
  .pencil-note {
    left: 0;
    font-size: 25px;
  }
  .house {
    max-width: 85%;
    left: 45%;
  }
  .stamp {
    left: 0;
    bottom: 65px;
    width: 115px;
    height: 115px;
    font-size: 9px;
  }
  .ledger {
    gap: 40px;
    padding-inline: 6%;
  }
  .ledger-title h2 {
    font-size: 50px;
  }
  .faq,
  .bref {
    gap: 35px;
  }
  .time-notes {
    gap: 25px;
  }
  .finale h2 {
    font-size: 125px;
  }
}

@media (max-width:700px) {
  .masthead {
    padding: 20px;
  }
  .brand {
    font-size: 30px;
  }
  .edition {
    display: none;
  }
  .nav-cta {
    font-size: 11px;
    gap: 18px;
  }
  /* À 360 px, marque + deux liens tiennent sur une ligne à ces écarts. */
  .masthead {
    gap: 16px;
  }
  .masthead__nav {
    gap: 16px;
  }
  .masthead__lien {
    font-size: 11px;
  }
  .cover {
    padding: 30px 20px 25px;
  }
  .folio {
    font-size: 10px;
  }
  .cover__slogan {
    font-size: clamp(44px,10.8vw,74px);
    letter-spacing: -1.3px;
    line-height: 1;
  }
  .intro {
    font-size: 12px;
  }
  /* Maison, carte postale et tampon descendent de 40 px (audit du
     08/10/2026) : le toit recouvrait « C'est par ici », et la carte la
     phrase « Calculs faits dans votre navigateur ». */
  .theatre {
    height: 590px;
    margin-top: 24px;
  }
  .view-switch {
    top: 0;
  }
  .view-switch button {
    padding: 8px 15px;
    font-size: 11px;
  }
  .house {
    max-width: none;
    width: 510px;
    height: 345px;
    left: 48%;
    top: 78px;
  }
  .pencil-note {
    font-size: 21px;
    top: 75px;
    left: 0;
  }
  .pencil-note svg {
    width: 65px;
    margin-left: 5px;
  }
  .postcard {
    top: 347px;
    right: 5px;
    width: 205px;
    padding: 18px;
    transform: rotate(5deg);
  }
  .postcard .postcard__titre {
    font-size: 29px;
    line-height: 1;
    white-space: normal;
    margin: 12px 0;
  }
  .postcard .postcard__titre br {
    display: none;
  }
  .postcard .tiny {
    letter-spacing: .5px;
  }
  .postcard p:last-of-type {
    font-size: 11px;
  }
  .postcard-arrow {
    display: none;
  }
  .stamp {
    bottom: 70px;
    left: 5px;
    width: 102px;
    height: 102px;
  }
  .scene-caption {
    bottom: -10px;
    left: 0;
    transform: none;
    text-align: left;
    width: 100%;
    font-size: 10px;
  }
  /* Sous 360 px, la carte postale mordait sur le tampon, et, plus haute
     parce que plus étroite, sur la phrase du bas. */
  @media (max-width:360px) {
    .theatre {
      height: 630px;
    }
    .postcard {
      width: 180px;
      padding: 16px;
    }
    .stamp {
      left: 0;
      width: 94px;
      height: 94px;
    }
  }
  .cover-bottom {
    margin-top: 40px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 20px;
    padding-top: 24px;
  }
  .cover-bottom>p {
    font-size: 11px;
  }
  .round-cta {
    width: 115px;
    height: 115px;
    font-size: 13px;
    margin: 0;
    gap: 8px;
  }
  .round-cta>span:last-child {
    font-size: 25px;
  }
  .read-on {
    grid-column: 1/-1;
    font-size: 10px;
    justify-content: center;
  }
  .section-label {
    padding-bottom: 0;
    font-size: 10px;
    gap: 20px;
  }
  .ledger {
    grid-template-columns: 1fr;
    padding: 60px 25px;
    gap: 35px;
  }
  .tiny {
    font-size: 10px;
  }
  .ledger-title h2 {
    font-size: 47px;
    margin: 20px 0;
  }
  .ledger-title>p {
    font-size: 13px;
  }
  .ledger-sheet {
    padding: 25px 20px;
    transform: rotate(2deg);
  }
  .time-story {
    padding: 50px 25px 60px;
  }
  .time-story>h2 {
    font-size: 68px;
    letter-spacing: -2px;
    margin-top: 30px;
  }
  .wandering {
    width: 90%;
    right: -120px;
    top: 100px;
    opacity: .4;
  }
  .time-notes {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-top: 35px;
  }
  .time-notes h3 {
    font-size: 32px;
    margin-bottom: 12px;
  }
  .time-notes h3 br {
    display: none;
  }
  .time-notes p {
    max-width: none;
  }
  .faq {
    padding: 50px 25px 60px;
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .bref {
    padding: 50px 25px 0;
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .bref h2 {
    font-size: 56px;
  }
  .faq>div:first-child {
    position: relative;
  }
  .faq h2 {
    font-size: 56px;
    line-height: .95;
  }
  .asterisk {
    position: absolute;
    right: 0;
    bottom: 0;
    font-size: 85px;
  }
  .finale {
    padding: 50px 25px 60px;
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .finale h2 {
    font-size: 120px;
  }
  .finale-side>p {
    font-size: 14px;
  }
  .ticket {
    margin: 0 5px;
  }
  footer {
    flex-wrap: wrap;
    padding: 25px;
    gap: 20px;
  }
  footer p {
    width: calc(100% - 130px);
    font-size: 12px;
  }
  footer>span {
    font-size: 11px;
  }
  footer .pied__avertissement {
    width: 100%;
    font-size: 10px;
  }
  .finale__note {
    margin-top: 20px;
    font-size: 24px;
  }
  .ticket small {
    font-size: 9px;
  }
}

/* ============================================================== Document
   Pages légales et 404 : même masthead et même pied que l'accueil, un seul
   bloc de texte au milieu. Une colonne de lecture, pas de décor : ces pages
   se lisent, elles ne se racontent pas. */

.document {
  max-width: 760px;
  margin: 0 auto;
  padding: 70px 5% 90px;
}

.document h1 {
  font: clamp(48px, 6vw, 76px)/1 var(--serif);
  letter-spacing: -2px;
  margin: 14px 0 22px;
}

.document h1 em {
  color: var(--purple);
}

.document__chapeau {
  font-size: 18px;
  line-height: 1.55;
  margin-bottom: 18px;
}

.document__maj {
  color: var(--muted);
  margin-bottom: 30px;
}

.document section {
  padding-top: 30px;
  margin-top: 30px;
  border-top: 1px dashed var(--line);
}

.document h2 {
  font: 32px/1.15 var(--serif);
  margin-bottom: 14px;
}

.document p + p,
.document p + ul,
.document ul + p {
  margin-top: 12px;
}

.document ul {
  margin: 0;
  padding-left: 1.2em;
}

.document li + li {
  margin-top: 6px;
}

/* Dans le texte, un lien doit se voir comme tel : le reset global (a sans
   soulignement) vaut pour la mise en page, pas pour la lecture. */
.document a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.document__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 35px;
  margin-top: 34px;
}

.document__actions a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 14px;
}

@media (max-width:700px) {
  .document {
    padding: 44px 20px 60px;
  }
  .document h2 {
    font-size: 27px;
  }
  .document__chapeau {
    font-size: 16px;
  }
}

/* ============================================================== Méthode
   /methode (01/11/2026). Une page à lire, comme les pages légales, mais
   longue : une tête jaune centrée, comme la couverture de l'accueil, puis une
   seule colonne de lecture d'environ 70 caractères. Pas de sommaire (essayé
   le 01/11/2026, retiré par Lucas : il n'apportait rien). Les tableaux sont
   des feuilles de papier comme celle de la règle du jeu, sans l'inclinaison :
   un tableau incliné se lit mal. */

.methode__tete {
  background: var(--yellow);
  padding: 64px 8% 54px;
  border-bottom: 1px solid var(--ink);
  text-align: center;
}

.methode__tete>* {
  max-width: 900px;
  margin-inline: auto;
}

.methode h1 {
  font: clamp(44px, 5.6vw, 80px)/1 var(--serif);
  letter-spacing: -2px;
  margin-block: 16px 26px;
}

.methode h1 em {
  display: block;
  color: var(--purple);
}

.methode__chapeau {
  max-width: 62ch;
  font-size: 18px;
  line-height: 1.6;
}

.methode__chapeau+.methode__chapeau {
  margin-top: 14px;
}

.methode__chapeau strong {
  font-weight: 600;
}

/* Le bouton de l'aperçu, avec une ombre claire : la jaune disparaîtrait
   sur la tête jaune. */
.methode__bouton {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  min-height: 48px;
  margin-top: 32px;
  padding: 13px 26px;
  border-radius: 30px;
  background: var(--ink);
  color: var(--paper);
  font-size: 14px;
  box-shadow: 4px 4px 0 var(--white);
  transition: translate .2s, box-shadow .2s;
}

.methode__bouton span {
  font-size: 20px;
}

.methode__bouton:hover {
  translate: 2px 2px;
  box-shadow: 2px 2px 0 var(--white);
}

.methode__maj {
  margin-top: 30px;
}

.methode__corps {
  box-sizing: content-box;
  max-width: 720px;
  margin: 0 auto;
  padding: 70px 8% 100px;
}

.methode__texte section+section {
  margin-top: 46px;
  padding-top: 46px;
  border-top: 1px dashed var(--line);
}

.methode__texte h2 {
  font: 40px/1.08 var(--serif);
  letter-spacing: -.5px;
  margin-bottom: 18px;
}

.methode__texte h3 {
  font: 28px/1.15 var(--serif);
  margin: 36px 0 12px;
}

.methode__texte p+p,
.methode__texte p+ul,
.methode__texte ul+p {
  margin-top: 14px;
}

.methode__texte strong {
  font-weight: 600;
}

/* Dans le texte, un lien doit se voir comme tel (même règle que .document). */
.methode__texte a:not(.methode__bouton) {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.methode__liste {
  margin: 0;
  padding-left: 1.2em;
}

.methode__liste li+li {
  margin-top: 6px;
}

.methode__renvoi {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  font-weight: 500;
}

/* --- Les tableaux ------------------------------------------------------ */

.methode__feuille {
  position: relative;
  margin: 30px 0;
  padding: 26px 28px 18px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 8px 9px 0 var(--lavender);
}

/* Le ruban adhésif de la règle du jeu. */
.methode__feuille:before {
  content: '';
  position: absolute;
  top: -16px;
  left: 45%;
  width: 84px;
  height: 32px;
  background: rgb(243 218 120 / .7);
  transform: rotate(-5deg);
}

.methode__tableau {
  width: 100%;
  border-collapse: collapse;
}

.methode__tableau caption {
  padding-bottom: 14px;
  text-align: left;
  font: 10px/1.6 var(--mono);
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--muted);
}

.methode__tableau th,
.methode__tableau td {
  padding: 12px 10px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}

.methode__tableau thead th {
  font: 24px/1.1 var(--serif);
  border-bottom-color: var(--ink);
}

.methode__tableau thead .methode__vide {
  border-bottom-color: var(--ink);
}

.methode__tableau tbody th {
  font-weight: 500;
  font-size: 14px;
}

/* Le terme que l'on cherche (« rendement locatif brut »), sous la formule
   qui l'explique : discret, mais écrit en toutes lettres. */
.methode__terme {
  display: block;
  font-weight: 400;
  font-size: 12px;
  color: var(--muted);
}

.methode__tableau tbody td {
  font-size: 14px;
  line-height: 1.55;
}

.methode__tableau tbody tr:last-child>* {
  border-bottom: 0;
}

.methode__tableau--chiffres th[scope="col"],
.methode__tableau--chiffres td {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.methode__resultats>* {
  padding-top: 18px;
}

.methode__resultat strong {
  font-weight: 500;
}

/* Les deux écarts : ce que la section veut montrer. Couleurs de série de
   l'accueil — achat en brique, location en violet (aperçu, 02). */
.methode__montant {
  display: block;
  margin: 4px 0;
  font: 40px/1.05 var(--serif);
  letter-spacing: -1px;
  white-space: nowrap;
}

.methode__resultat--location {
  color: var(--purple);
}

.methode__resultat--achat,
.methode__col--achat {
  color: var(--orange);
}

.methode__col--location {
  color: var(--purple);
}

.methode__fin .methode__bouton {
  box-shadow: 4px 4px 0 var(--yellow);
}

.methode__fin .methode__bouton:hover {
  box-shadow: 2px 2px 0 var(--yellow);
}

.methode__mention {
  margin-top: 14px;
  font: 10px/1.6 var(--mono);
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--muted);
}

/* Téléphone : chaque rangée de tableau devient une petite grille — son
   intitulé sur toute la largeur, puis les deux colonnes côte à côte, sous
   leurs en-têtes. Trois colonnes de texte ne tiennent pas en 320 px, et un
   défilement horizontal cacherait la moitié de la comparaison. Les rôles
   ARIA du HTML gardent la sémantique de tableau. */
@media (max-width:700px) {
  .methode__tete {
    padding: 40px 20px 36px;
  }
  .methode h1 {
    font-size: clamp(36px, 10.5vw, 52px);
    letter-spacing: -1px;
  }
  .methode__chapeau {
    font-size: 16px;
  }
  .methode__corps {
    padding: 36px 20px 60px;
  }
  .methode__texte h2 {
    font-size: 31px;
  }
  .methode__texte h3 {
    font-size: 24px;
  }
  .methode__feuille {
    padding: 22px 16px 10px;
    box-shadow: 5px 6px 0 var(--lavender);
  }
  .methode__tableau,
  .methode__tableau caption,
  .methode__tableau thead,
  .methode__tableau tbody {
    display: block;
  }
  .methode__tableau tr {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 14px;
  }
  .methode__tableau .methode__vide {
    display: none;
  }
  .methode__tableau th,
  .methode__tableau td {
    padding: 10px 0;
  }
  .methode__tableau thead th {
    font-size: 21px;
  }
  .methode__tableau tbody th {
    grid-column: 1 / -1;
    padding: 14px 0 0;
    border-bottom: 0;
    font-size: 11px;
    font-family: var(--mono);
    font-weight: 400;
    letter-spacing: .5px;
    text-transform: uppercase;
    color: var(--muted);
  }
  .methode__tableau tbody td {
    font-size: 13px;
  }
  .methode__tableau tbody tr:last-child>td {
    border-bottom: 0;
  }
  .methode__tableau--chiffres th[scope="col"],
  .methode__tableau--chiffres td {
    text-align: left;
  }
  .methode__montant {
    font-size: 28px;
  }
}

@media (pointer:coarse) {
  .masthead__lien {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }
}

@media (prefers-reduced-motion:reduce) {
  html {
    scroll-behavior: auto;
  }
  .js [data-apparait] {
    opacity: 1;
    translate: none;
  }
  * {
    transition: none!important;
  }
}

@media (min-width:701px) {
  .scene-caption {
    left: 0;
    transform: none;
    width: 45%;
    text-align: left;
  }
}

/* ============================================================ Téléphone
   Audit mobile du 08/10/2026 (375 et 414 px). Plancher de 11 px pour ce qui
   porte une information — promesse, légende, chiffre, avertissement, adresse.
   Le décor garde sa taille : surtitres, folios, tampons, numéros de carte. */

@media (max-width:700px) {
  .scene-caption,
  .read-on,
  .camps__camp,
  .apercu__kpi dt>span,
  .apercu__legende,
  .apercu__hypotheses,
  .route-bar span,
  .sheet-note,
  .pilier__renvoi,
  .ticket small,
  footer p,
  footer>span,
  footer .pied__avertissement {
    font-size: 11px;
  }
  .pilier__volet-nom span {
    font-size: 10px;
  }
}

/* Pas d'attente du double-tap après chaque toucher (le pincement reste
   permis) : même réglage que le simulateur. */
html {
  touch-action: manipulation;
}

/* Zones de contact de 44 px, sans changer le dessin. */
@media (pointer:coarse) {
  .view-switch button {
    min-height: 44px;
  }
  /* Renvoi dans le texte : la zone grandit, la ligne ne bouge pas. */
  .temps__renvoi {
    display: inline-block;
    padding: 12px 4px;
    margin: -12px -4px;
  }
}
