/* ===== Tokens (palette « Stone and blueprint » tirée par taste-skill, + vert terrain) ===== */
:root {
  /* v3.4 : le gris pierre (jugé terne) remplacé par un blanc bleuté lumineux,
     encres et fond du contact passés en bleu nuit pour aller avec le marine */
  --fond: #f3f5fb;
  --surface: #e4e9f5;
  --encre: #141a33;
  --doux: #4f5873;
  --bleu: #2a4cad;
  --bleu-clair: #aebdf0;
  --nuit: #0d1840;
  --nuit-surface: #17245a;
  --nuit-encre: #eef1f9;
  --nuit-doux: #9aa5c6;
  --gazon: #2f7d4f;
  /* couleurs en plus, pour donner du caractère aux sections */
  --marine: #14286b;
  --marine-ligne: #2a3f86;
  --menthe: #d2e7d6;
  --brume: #dde2ee;

  --police: "Schibsted Grotesk", system-ui, sans-serif;
  --wrap: 1240px;
  --gouttiere: clamp(1.25rem, 4vw, 3rem);
  --r-grand: 22px;
  --r-petit: 10px;
  --sortie: cubic-bezier(.16, 1, .3, 1);
}

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

html { -webkit-text-size-adjust: 100%; overflow-x: clip; }

body {
  margin: 0;
  background: var(--fond);
  color: var(--encre);
  font: 400 1.0625rem/1.6 var(--police);
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--bleu); color: #fff; }

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

h1, h2, h3 {
  margin: 0;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

p { margin: 0; }
a { color: inherit; }

:focus-visible { outline: 3px solid var(--bleu); outline-offset: 3px; border-radius: 4px; }

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

.skip {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  padding: .6rem 1rem; background: var(--encre); color: var(--fond);
}
.skip:focus { top: 1rem; }

.wrap { width: min(100% - 2 * var(--gouttiere), var(--wrap)); margin-inline: auto; }

.titre-section {
  font-size: clamp(2.4rem, 5.4vw, 4.6rem);
  margin-bottom: clamp(1.6rem, 4vw, 3rem);
}

/* ===== Boutons et liens ===== */
.btn {
  display: inline-flex;
  align-items: center;
  min-height: 50px;
  padding: 0 1.5rem;
  border-radius: 999px;
  font-weight: 500;
  text-decoration: none;
  transition: transform .15s var(--sortie), background-color .2s, color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn--plein { background: var(--bleu); color: #fff; }
.btn--plein:hover { background: var(--marine); }
.btn--trait { box-shadow: inset 0 0 0 1.5px var(--encre); }
.btn--trait:hover { background: var(--encre); color: var(--fond); }

.lien {
  font-weight: 500;
  text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1.5px no-repeat;
  padding-bottom: 2px;
  transition: background-size .3s var(--sortie);
}
.lien:hover { background-size: 0 1.5px; background-position: 100% 100%; }

/* ===== Navigation ===== */
.nav {
  position: fixed;
  top: 1rem;
  left: 0;
  right: 0;
  z-index: 60;
  display: flex;
  justify-content: center;
  pointer-events: none;
}
.nav__pill {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: clamp(.8rem, 2vw, 1.6rem);
  padding: .4rem .4rem .4rem 1.2rem;
  border-radius: 999px;
  background: rgb(20 26 51 / .92);
  backdrop-filter: blur(8px);
  color: var(--nuit-encre);
  font-size: .94rem;
}
.nav__pill a { text-decoration: none; }
.nav__pill a:hover { color: #fff; }
.nav__nom { font-weight: 600; letter-spacing: -0.01em; }
.nav__pill .nav__cta {
  padding: .55rem 1.1rem;
  border-radius: 999px;
  background: var(--bleu);
  color: #fff;
}

/* ===== 1. Haut de page ===== */
/* Badge au centre, nom de part et d'autre (mélange Wireframee + Portavia).
   Tout tient dans l'écran : les tailles suivent la largeur ET la hauteur. */
.hero {
  --badge-l: clamp(190px, min(18vw, 27vh), 280px);
  position: relative;
  height: 100svh;
  min-height: 600px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) calc(var(--badge-l) + 3rem) minmax(0, 1fr);
  grid-template-rows: 1fr auto auto;
  column-gap: clamp(1rem, 2.5vw, 2.5rem);
  padding: 5.5rem var(--gouttiere) clamp(2rem, 6vh, 4rem);
}
.hero__cote { grid-row: 2; display: grid; gap: clamp(.6rem, 1.6vh, 1rem); align-content: center; position: relative; z-index: 2; }
.hero__cote--gauche { grid-column: 1; justify-items: end; text-align: right; }
.hero__cote--droite { grid-column: 3; justify-items: start; }
.hero__nom {
  font-size: clamp(2.8rem, min(6.4vw, 11vh), 7rem);
  font-weight: 500;
  line-height: .9;
  letter-spacing: -0.05em;
}
.hero__petit { font-size: clamp(.95rem, 1.3vw, 1.1rem); line-height: 1.35; color: var(--doux); }
.hero__actions {
  grid-row: 3;
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .75rem;
  margin-top: clamp(1.6rem, 5vh, 3rem);
  position: relative;
  z-index: 3;
}

/* Le cordon et le badge sont placés par la physique (js/badge.js) */
.lanyard {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 4;
}
.lanyard__cordon {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.lanyard__cordon path { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.cordon__sangle { stroke: var(--bleu); stroke-width: 20; }
.cordon__couture { stroke: rgb(255 255 255 / .55); stroke-width: 1.5; stroke-dasharray: 6 5; }

.badge {
  position: absolute;
  top: 0;
  left: 0;
  width: var(--badge-l);
  margin: 0;
  display: grid;
  justify-items: center;
  pointer-events: auto;
  cursor: grab;
  user-select: none;
  touch-action: none;
  transform-origin: 50% 0;
  will-change: transform;
}
.badge.is-grabbed { cursor: grabbing; }
.badge__mousqueton { width: 46px; height: 88px; margin-bottom: -20px; position: relative; z-index: 2; overflow: visible; filter: drop-shadow(0 2px 2px rgb(0 0 0 / .25)); }
.badge__carte {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 0 .75rem 1rem;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 34px 50px -22px rgb(20 40 107 / .45), 0 0 0 1px rgb(20 26 51 / .08);
}
.badge__fente {
  position: absolute;
  top: .6rem;
  left: 50%;
  width: 44px;
  height: 8px;
  border-radius: 999px;
  background: var(--fond);
  transform: translateX(-50%);
  box-shadow: inset 0 1px 2px rgb(0 0 0 / .35);
}
.badge__entete {
  margin: 0 -.75rem .75rem;
  padding: 1.6rem .9rem .55rem;
  background: var(--marine);
  color: #fff;
  font-size: .82rem;
  font-weight: 600;
  text-align: center;
}
.badge img { width: 100%; aspect-ratio: 4 / 4.2; object-fit: cover; object-position: 50% 26%; border-radius: 12px; pointer-events: none; }
.badge figcaption { display: grid; gap: .1rem; padding: .85rem .15rem 0; font-size: .86rem; color: var(--doux); }
.badge figcaption strong { font-size: 1.08rem; font-weight: 600; color: var(--encre); letter-spacing: -0.02em; }

.ancre { position: absolute; width: 1px; height: 1px; pointer-events: none; }
.ancre--depart { left: 84%; bottom: 13%; }
.ancre--arrivee { left: 50%; top: 50%; }

/* ===== 2. Ce que je peux apporter ===== */
.apport {
  position: relative;
  background: var(--marine);
  color: #e6e9f5;
  padding: clamp(5rem, 10vw, 8rem) 0;
}
.apport__liste { list-style: none; margin: 0; padding: 0; width: min(100%, 720px); counter-reset: ligne; }
.ligne {
  position: relative;
  display: grid;
  grid-template-columns: 3rem 1fr;
  column-gap: 1rem;
  padding: 1.6rem 0;
  border-top: 1px solid var(--marine-ligne);
  outline-offset: 6px;
}
.ligne:last-child { border-bottom: 1px solid var(--marine-ligne); }
.ligne::before {
  counter-increment: ligne;
  content: counter(ligne, decimal-leading-zero);
  grid-row: 1;
  padding-top: .7rem;
  font-size: .9rem;
  color: #8f9bc7;
  font-variant-numeric: tabular-nums;
}
.ligne h3 {
  grid-column: 2;
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  color: #8f9bc7;
  transition: color .25s, transform .45s var(--sortie);
}
.ligne.is-active::before { color: var(--menthe); }
.ligne p {
  grid-column: 2;
  max-width: 44ch;
  max-height: 0;
  color: #e6e9f5;
  opacity: 0;
  overflow: hidden;
  transition: opacity .3s, max-height .45s var(--sortie), margin .45s var(--sortie);
}
.ligne.is-active h3 { color: #fff; transform: translateX(.5rem); }
.ligne.is-active p { opacity: 1; max-height: 8rem; margin-top: .8rem; }

.apercus { position: absolute; inset: 0; pointer-events: none; }
.apercu {
  position: absolute;
  top: 0;
  left: 0;
  margin: 0;
  width: clamp(260px, 26vw, 380px);
  aspect-ratio: 16 / 10;
  border-radius: 14px;
  overflow: hidden;
  opacity: 0;
  transform: scale(.85);
  box-shadow: 0 30px 60px -20px rgb(0 0 0 / .6);
}
.apercu img { width: 100%; height: 100%; object-fit: cover; object-position: top; }

/* Aperçu « IA » : une vraie demande et sa correction */
.apercu--ia, .apercu--doc { background: var(--fond); color: var(--encre); }
.chat { display: grid; gap: .7rem; height: 100%; padding: 1.1rem; font-size: .82rem; align-content: center; }
.chat__moi { justify-self: end; max-width: 80%; padding: .55rem .8rem; border-radius: 14px 14px 4px 14px; background: var(--bleu); color: #fff; }
.chat__diff { margin: 0; padding: .7rem .8rem; border-radius: 8px; background: var(--encre); color: var(--nuit-encre); font: .74rem/1.6 ui-monospace, Consolas, monospace; white-space: pre-wrap; }
.chat__diff .moins { color: #ff8f8f; }
.chat__diff .plus { color: #7fd6a0; }
.chat__note { color: var(--doux); }
.refuse { color: #b3261e; font-weight: 600; }
.garde { color: var(--gazon); font-weight: 600; }

/* Aperçu « documenter » : la carte du déploiement de ce site */
.carto { height: 100%; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .5rem; padding: 1.2rem; }
.carto__noeud { padding: .45rem .7rem; border-radius: 8px; background: #fff; box-shadow: 0 0 0 1px rgb(20 26 51 / .15); font-size: .85rem; font-weight: 600; }
.carto__noeud--fin { background: var(--bleu); color: #fff; box-shadow: none; }
.carto__fleche { width: 22px; height: 2px; background: var(--doux); position: relative; }
.carto__fleche::after { content: ""; position: absolute; right: -1px; top: -4px; border: 5px solid transparent; border-left-color: var(--doux); border-right: 0; }

/* ===== 3. Qui je suis ===== */
.qui { padding: clamp(5rem, 10vw, 8rem) 0; min-height: 100svh; display: grid; align-items: center; }
.qui__grille { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.qui__texte { display: grid; gap: 1.1rem; max-width: 36rem; justify-items: start; }
.qui__texte .titre-section { margin-bottom: .6rem; }
.fiche { margin: 0; width: 100%; display: grid; }
.fiche div { display: grid; grid-template-columns: 7rem 1fr; gap: 1rem; padding: .85rem 0; border-top: 1px solid #bdbcb6; }
.fiche div:last-child { border-bottom: 1px solid #bdbcb6; }
.fiche dt { color: var(--doux); }
.fiche dd { margin: 0; font-size: 1.15rem; font-weight: 500; }
.qui__ballon { position: relative; aspect-ratio: 1; width: min(100%, 420px); justify-self: center; }
.qui__ballon::before {
  /* l'ombre au sol où le ballon se pose */
  content: "";
  position: absolute;
  left: 50%;
  top: 78%;
  width: 52%;
  height: 9%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgb(20 26 51 / .28), transparent);
  transform: translateX(-50%);
}

/* ===== 4. Onze de départ ===== */
.onze { background: var(--menthe); padding: clamp(5rem, 10vw, 8rem) 0; }
.onze__grille { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.onze__texte { display: grid; gap: 1.4rem; align-content: start; }
.onze__texte .titre-section { margin-bottom: 0; }
.onze__texte > p { color: var(--doux); max-width: 34ch; }
.compo { margin: 0; display: grid; gap: .55rem; }
.compo div { display: grid; grid-template-columns: 6rem 1fr; gap: 1rem; padding-top: .55rem; border-top: 1px solid #a9c6b0; }
.compo dt { color: #3f5a47; font-size: .92rem; }
.compo dd { margin: 0; font-weight: 500; }
.terrain { position: relative; aspect-ratio: 4 / 3; }
.terrain__canvas { display: block; width: 100%; height: 100%; border-radius: var(--r-grand); cursor: default; }
.terrain__bulle {
  position: absolute;
  top: 0;
  left: 0;
  padding: .35rem .7rem;
  border-radius: 999px;
  background: var(--encre);
  color: #fff;
  font-size: .85rem;
  font-weight: 500;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, -130%);
  transition: opacity .15s;
}
.terrain__bulle.is-visible { opacity: 1; }

/* ===== 5. Carnet ===== */
.carnet-section { position: relative; height: 220vh; background: var(--brume); }
.carnet-scene {
  position: sticky;
  top: 0;
  height: 100svh;
  display: grid;
  place-items: center;
  perspective: 2200px;
  overflow: hidden;
}
.carnet {
  --page-l: min(36vw, 410px);
  position: relative;
  width: calc(var(--page-l) * 2);
  aspect-ratio: 1.45;
  transform-style: preserve-3d;
}
.carnet__page {
  position: absolute;
  top: 0;
  width: 50%;
  height: 100%;
  padding: clamp(1.2rem, 3vw, 2.4rem);
  background:
    repeating-linear-gradient(180deg, transparent 0 31px, rgb(36 86 214 / .12) 31px 32px),
    #fbfaf6;
  display: grid;
  align-content: start;
  gap: 1rem;
  font-size: clamp(.86rem, 1.1vw, 1rem);
}
.carnet__page--droite { left: 50%; border-radius: 0 var(--r-petit) var(--r-petit) 0; box-shadow: 0 40px 70px -30px rgb(20 26 51 / .5); }
.carnet__page--droite h3 { font-size: clamp(1.8rem, 3vw, 2.5rem); }
.carnet__page--droite ul { margin: 0; padding-left: 1.1rem; display: grid; gap: .3rem; }
.carnet__page--droite strong { font-weight: 600; }
.carnet__sous { color: var(--doux); }
.carnet__etiquette { font-weight: 600; color: var(--bleu); }
.carnet__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-top: .4rem; }
.carnet__page--gauche { left: 0; border-radius: var(--r-petit) 0 0 var(--r-petit); }
.carnet__page--gauche figure { margin: 0; border-radius: 8px; overflow: hidden; aspect-ratio: 16 / 10; }
.carnet__page--gauche img { width: 100%; height: 100%; object-fit: cover; object-position: top; }

.carnet__couverture {
  position: absolute;
  top: 0;
  left: 50%;
  width: 50%;
  height: 100%;
  transform-origin: 0 50%;
  transform-style: preserve-3d;
  z-index: 3;
}
.couverture__face,
.couverture__dos {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
}
.couverture__face {
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: clamp(1.4rem, 3vw, 2.4rem);
  border-radius: 0 var(--r-petit) var(--r-petit) 0;
  background: var(--bleu);
  color: #fff;
  box-shadow: 0 40px 70px -30px rgb(20 26 51 / .6);
}
.couverture__face strong { align-self: center; font-size: clamp(2.6rem, 6vw, 5rem); font-weight: 600; letter-spacing: -0.045em; line-height: .95; }
.couverture__etiquette { justify-self: start; padding: .3rem .7rem; border: 1px solid rgb(255 255 255 / .5); border-radius: 999px; font-size: .85rem; }
.couverture__bas { font-size: .9rem; opacity: .8; }
.couverture__dos { transform: rotateY(180deg); left: 0; width: 100%; border-radius: var(--r-petit) 0 0 var(--r-petit); }
.carnet__spirale {
  position: absolute;
  left: 50%;
  top: 4%;
  bottom: 4%;
  width: 22px;
  transform: translateX(-50%);
  z-index: 4;
  background: radial-gradient(circle at 50% 50%, var(--encre) 0 4px, transparent 5px) 0 0 / 22px 26px repeat-y;
}

/* Révélation d'image par un bandeau (Wireframee) */
.revele { position: relative; }
.revele::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--bleu);
  transform-origin: right;
  transform: scaleX(var(--bandeau, 1));
}

/* ===== 6. Pour aller plus loin ===== */
.suite { position: relative; padding: clamp(5rem, 10vw, 8rem) 0; }
.stage-carte {
  display: grid;
  gap: 1rem;
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
  padding: clamp(1.8rem, 4vw, 3rem);
  border-radius: var(--r-grand);
  background: var(--marine);
  color: #fff;
  text-decoration: none;
  transition: transform .2s var(--sortie);
}
.stage-carte:hover { transform: translateY(-3px); }
.stage-carte__titre { font-size: clamp(2.2rem, 5vw, 4rem); font-weight: 500; letter-spacing: -0.04em; line-height: 1; }
.stage-carte__accroche { font-size: clamp(1.15rem, 2vw, 1.5rem); max-width: 34ch; color: #dfe7ff; }
.stage-carte__go { justify-self: start; margin-top: .6rem; padding: .7rem 1.2rem; border-radius: 999px; background: #fff; color: var(--marine); font-weight: 600; }
.suite__liste { list-style: none; margin: 0; padding: 0; }
.suite__lien {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1rem 2rem;
  align-items: baseline;
  padding: 1.6rem 0;
  border-top: 1px solid #bdbcb6;
  text-decoration: none;
  cursor: none;
}
.suite__liste li:last-child .suite__lien { border-bottom: 1px solid #bdbcb6; }
.suite__nom { font-size: clamp(1.8rem, 3.6vw, 3rem); line-height: 1.05; font-weight: 500; letter-spacing: -0.035em; transition: transform .45s var(--sortie), color .2s; }
.suite__desc { color: var(--doux); max-width: 38ch; }
.suite__lien.is-survol .suite__nom, .suite__lien:focus-visible .suite__nom { color: var(--bleu); transform: translateX(.6rem); }
.curseur-voir {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 55;
  display: grid;
  place-items: center;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: var(--bleu);
  color: #fff;
  font-weight: 600;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0);
}

/* ===== 7. Contact ===== */
.contact { background: var(--nuit); color: var(--nuit-encre); padding: clamp(6rem, 12vw, 10rem) 0 clamp(4rem, 8vw, 6rem); }
.contact__titre { font-size: clamp(3rem, 8vw, 7rem); letter-spacing: -0.045em; margin-bottom: 2rem; color: var(--menthe); }
.contact__mail {
  display: inline-block;
  font-size: clamp(1.5rem, 4vw, 3rem);
  font-weight: 500;
  color: #fff;
  text-decoration: none;
  letter-spacing: -0.03em;
  background: linear-gradient(var(--bleu-clair), var(--bleu-clair)) 0 100% / 0 3px no-repeat;
  transition: background-size .4s var(--sortie);
}
.contact__mail:hover { background-size: 100% 3px; }
.contact__liens { list-style: none; margin: 3rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 1rem 2.5rem; color: var(--nuit-doux); }
.contact__liens a { color: var(--nuit-encre); }

.pied { background: var(--nuit); color: var(--nuit-doux); font-size: .9rem; }
.pied__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding: 1.6rem 0 2rem; border-top: 1px solid #45443b; }
.pied a { color: var(--nuit-encre); }

/* ===== Ballon 3D (par-dessus la page) ===== */
.ballon { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: 50; pointer-events: none; }

/* ===== Écriture lettre par lettre ===== */
[data-ecrire] .mot { display: inline-block; white-space: nowrap; }
.js [data-ecrire] .lettre { opacity: 0; }
/* curseur qui clignote pendant l'écriture */
[data-ecrire].is-ecrit::after {
  content: "";
  display: inline-block;
  width: .08em;
  height: .85em;
  margin-left: .06em;
  vertical-align: -0.05em;
  background: currentColor;
  animation: curseur .7s steps(1) infinite;
}
@keyframes curseur { 50% { opacity: 0; } }
.contact__titre .lettre, .stage-carte__titre .lettre { color: inherit; }

/* ===== Tablette et mobile ===== */
/* Sur téléphone : moins d'effets, tout lisible au doigt
   (pas de ballon, carnet en simple carte, haut de page compact) */
@media (max-width: 900px) {
  /* haut de page : petit badge, nom et boutons visibles dès le premier écran */
  .hero {
    --badge-l: 150px;
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    padding-top: 3.6rem;
    padding-bottom: 2.5rem;
    height: auto;
    min-height: auto;
  }
  .lanyard { position: relative; inset: auto; height: 340px; grid-row: 1; }
  .badge { touch-action: pan-y; cursor: default; }
  .badge__mousqueton { width: 36px; height: 70px; margin-bottom: -16px; }
  .badge__entete { padding-top: 1.3rem; font-size: .74rem; }
  .badge figcaption { font-size: .78rem; padding-top: .6rem; }
  .badge figcaption strong { font-size: .95rem; }
  .hero__cote { grid-row: auto; grid-column: 1; justify-items: center; text-align: center; gap: .4rem; }
  .hero__cote--gauche { grid-row: 2; margin-top: .6rem; }
  .hero__cote--droite { grid-row: 3; margin-top: .3rem; }
  .hero__nom { font-size: clamp(2.6rem, 13vw, 4.5rem); }
  .hero__petit { font-size: .92rem; }
  .hero__actions { grid-row: 4; margin-top: 1.4rem; }
  .hero__actions .btn { min-height: 46px; }

  /* liste : les textes sont affichés d'office (pas de survol au doigt) */
  .ligne p { opacity: 1; max-height: none; margin-top: .8rem; }
  .ligne h3 { color: #fff; }
  .apercus { display: none; }

  /* pas de ballon : on enlève aussi la place où il se posait */
  .ballon, .qui__ballon { display: none; }
  .qui { min-height: 0; }
  .qui__grille, .onze__grille { grid-template-columns: 1fr; }

  /* terrain : toute la largeur de l'écran */
  .terrain { margin-inline: calc(var(--gouttiere) * -1); aspect-ratio: 4 / 3.3; }
  .terrain__canvas { border-radius: 0; }

  /* carnet : une simple carte (image, titre, points forts, le besoin, boutons) */
  .carnet-section { height: auto; padding: clamp(4rem, 12vw, 6rem) var(--gouttiere); }
  .carnet-scene { position: static; height: auto; display: block; perspective: none; overflow: visible; }
  .carnet {
    width: min(100%, 560px);
    margin-inline: auto;
    aspect-ratio: auto;
    display: flex;
    flex-direction: column;
    gap: .9rem;
    padding: 1.1rem 1.1rem 1.5rem;
    border-radius: var(--r-grand);
    background:
      repeating-linear-gradient(180deg, transparent 0 31px, rgb(36 86 214 / .12) 31px 32px),
      #fbfaf6;
    box-shadow: 0 30px 60px -30px rgb(20 26 51 / .45);
    transform: none;
  }
  .carnet__page, .carnet__couverture, .couverture__dos { display: contents; }
  .couverture__face, .carnet__spirale { display: none; }
  .carnet .revele { order: 1; margin: 0; border-radius: 12px; overflow: hidden; aspect-ratio: 16 / 10; }
  .carnet .revele img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
  .carnet h3 { order: 2; font-size: 2.2rem; }
  .carnet__sous { order: 3; }
  .carnet ul { order: 4; margin: 0; padding-left: 1.1rem; display: grid; gap: .35rem; }
  .carnet__etiquette { order: 5; margin-top: .4rem; }
  .couverture__dos > p:last-child { order: 6; }
  .carnet__actions { order: 7; display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-top: .4rem; }

  .suite__lien { grid-template-columns: 1fr; cursor: pointer; }
  .curseur-voir { display: none; }
}

@media (max-width: 620px) {
  .nav__pill a:not(.nav__nom):not(.nav__cta) { display: none; }
}
