/* M.transitions · feuille de style du site
   Charte « Cadran » : deux thèmes (Nuit, Clair), traits plutôt que surfaces,
   un seul repère citron par écran. */

@font-face { font-family: "IBM Plex Mono"; src: url("../fonts/IBMPlexMono-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("../fonts/IBMPlexMono-Bold.ttf") format("truetype"); font-weight: 700; font-display: swap; }

:root,
[data-theme="nuit"] {
  --fond: #0a0f0d;
  --surface: #111815;
  --surface-haute: #18211d;
  --trait: #2a3631;
  --trait-fort: #5f7a6d;
  --encre: #eaf2ed;
  --encre-douce: #9db1a6;
  --vert: #00bf63;
  --sur-vert: #0a0f0d;
  --repere: #c1ff72;
  --sur-repere: #0a0f0d;
  --aiguille: #c1ff72;
  color-scheme: dark;
}
[data-theme="clair"] {
  --fond: #ffffff;
  --surface: #f4f7f5;
  --surface-haute: #e9efeb;
  --trait: #d3dcd7;
  --trait-fort: #6b7f74;
  --encre: #0e1a14;
  --encre-douce: #4a5c52;
  --vert: #007a3f;
  --sur-vert: #ffffff;
  --repere: #c1ff72;
  --sur-repere: #0e1a14;
  --aiguille: #0e1a14;
  color-scheme: light;
}

:root {
  --f-titre: "Barlow Semi Condensed", "Arial Narrow", Arial, sans-serif;
  --f-texte: Barlow, Calibri, Arial, sans-serif;
  --f-mono: "IBM Plex Mono", Consolas, "Courier New", monospace;
  --marge: clamp(16px, 5vw, 64px);
  --largeur: 1280px;
  --bande: clamp(64px, 9vw, 112px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--fond);
  color: var(--encre);
  font-family: var(--f-texte);
  font-size: 17px;
  line-height: 1.6;
  transition: background-color .25s, color .25s;
}
img { max-width: 100%; display: block; }
a { color: var(--vert); }
a:hover { color: var(--encre); }
:focus-visible { outline: 2px solid var(--vert); outline-offset: 3px; }
h1, h2, h3, p, ul, ol, figure, blockquote { margin: 0; }
button { font: inherit; color: inherit; }

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.evitement { position: absolute; left: -999px; top: 8px; background: var(--repere); color: var(--sur-repere); padding: 8px 12px; z-index: 50; }
.evitement:focus { left: 8px; }

/* ---------- Typographie ---------- */
.etiquette {
  font-family: var(--f-mono);
  font-size: 12px;
  line-height: 16px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--encre-douce);
}
.etiquette--vert { color: var(--vert); }
.etiquette--encre { color: var(--encre); }
.mono { font-family: var(--f-mono); font-size: 13px; line-height: 20px; }
.texte-doux { color: var(--encre-douce); }
.titre-geant, .titre-xl, .titre-l, .titre-m, .lecture__titre {
  font-family: var(--f-titre);
  font-weight: 600;
  letter-spacing: -.01em;
}
.titre-geant { font-size: clamp(48px, 7.2vw, 96px); line-height: .97; letter-spacing: -.015em; }
.titre-xl { font-size: clamp(40px, 5.5vw, 64px); line-height: 1.02; }
.titre-l { font-size: clamp(32px, 3.6vw, 48px); line-height: 1.08; }
.titre-m { font-size: clamp(26px, 2.6vw, 36px); line-height: 1.15; }

/* ---------- Mise en page ---------- */
.conteneur { width: 100%; max-width: var(--largeur); margin: 0 auto; padding-left: var(--marge); padding-right: var(--marge); }
.bande { padding-top: var(--bande); padding-bottom: var(--bande); }
.bande--courte { padding-top: 32px; }
.bande--surface { background: var(--surface); border-top: 1px solid var(--trait); }
.bande--trait { border-top: 1px solid var(--trait); }
.deux-colonnes { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 48px; }
.intro-colonne, .intro-large { display: flex; flex-direction: column; gap: 16px; }
.intro-large { max-width: 760px; }
.entete-section { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 32px; }
.entete-section > div { display: flex; flex-direction: column; gap: 16px; }

/* ---------- Boutons ---------- */
.bouton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 20px;
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-decoration: none;
  border: 2px solid transparent;
  border-radius: 0;
  cursor: pointer;
  background: transparent;
  transition: background-color .2s, color .2s, border-color .2s;
}
.bouton--plein { background: var(--vert); color: var(--sur-vert); }
.bouton--plein:hover { background: var(--encre); color: var(--fond); }
.bouton--trait { border-color: var(--trait-fort); color: var(--encre); }
.bouton--trait:hover { border-color: var(--encre); color: var(--encre); }
.bouton--petit { min-height: 44px; padding: 8px 14px; }
.lien-etiquette { font-family: var(--f-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.pastille {
  display: inline-block;
  padding: 2px 8px;
  border: 2px solid var(--trait-fort);
  border-radius: 2px;
  color: var(--encre);
  text-decoration: none;
}
.pastille--repere { background: var(--repere); border-color: var(--repere); color: var(--sur-repere); font-family: var(--f-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; align-self: flex-start; }

/* ---------- En-tête ---------- */
.entete { position: sticky; top: 0; z-index: 20; background: var(--fond); border-bottom: 1px solid var(--trait); }
.entete__barre { max-width: var(--largeur); margin: 0 auto; padding: 14px var(--marge); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.marque { display: flex; align-items: center; gap: 12px; color: var(--encre); text-decoration: none; }
.marque__symbole { height: 28px; width: auto; }
.marque__nom { font-family: var(--f-titre); font-weight: 600; font-size: 22px; }
[data-theme="nuit"] .marque__symbole--clair, [data-theme="clair"] .marque__symbole--nuit { display: none; }
.entete__droite { display: flex; align-items: center; gap: 32px; }
.nav { display: flex; gap: 28px; align-items: center; }
.nav a { font-family: var(--f-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--encre-douce); text-decoration: none; padding: 12px 0; }
.nav a:hover, .nav a[aria-current] { color: var(--encre); }
.nav .nav__contact { color: var(--vert); border-bottom: 2px solid var(--vert); padding-bottom: 4px; }
.reglages { display: flex; gap: 8px; }
.entete__menu, .entete__contact { display: none; }

/* ---------- Ouverture ---------- */
.ouverture {
  max-width: var(--largeur);
  margin: 0 auto;
  padding: clamp(48px, 8vw, 96px) var(--marge) 32px;
  min-height: calc(100svh - 150px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 48px;
}
.ouverture__grille { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 64px; align-items: start; }
.ouverture__texte { display: flex; flex-direction: column; gap: 40px; }
.ouverture__accroche { font-size: clamp(19px, 1.7vw, 22px); line-height: 1.55; max-width: 700px; }
.ouverture__valeurs { color: var(--encre-douce); font-size: 18px; max-width: 700px; margin-top: -24px; }
.presentation { padding-top: 48px; display: flex; flex-direction: column; gap: 20px; }
.presentation__photo { width: 160px; height: 160px; border-radius: 50%; object-fit: cover; object-position: 50% 20%; }
.presentation__nom { font-family: var(--f-titre); font-weight: 600; font-size: 30px; line-height: 1.1; }
.presentation__roles { list-style: none; padding: 0; border-top: 1px solid var(--trait); }
.presentation__roles li { padding: 8px 0; border-bottom: 1px solid var(--trait); }
.presentation__roles .est-doux { color: var(--encre-douce); }
.ouverture__choisissez { font-size: 20px; color: var(--encre-douce); }

/* ---------- Situations ---------- */
.situations { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 2px solid var(--encre); }
.situation {
  display: flex; flex-direction: column; align-items: flex-start; gap: 10px;
  min-height: 150px; padding: 20px 20px 28px;
  border: 0; border-right: 1px solid var(--trait); border-bottom: 1px solid var(--trait);
  background: transparent; color: var(--encre); text-align: left; cursor: pointer;
  transition: background-color .2s, color .2s;
}
.situation:last-child { border-right: 0; }
.situation .etiquette { color: inherit; }
.situation__phrase { font-family: var(--f-titre); font-weight: 600; font-size: clamp(22px, 2vw, 26px); line-height: 1.15; }
.situation:hover { background: var(--surface); }
.situation.est-actif { background: var(--repere); color: var(--sur-repere); }

.reponse { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; padding-top: 40px; padding-bottom: var(--bande); min-height: 640px; }
.reponse__mission { display: flex; flex-direction: column; gap: 16px; }
.reponse__client { border-top: 1px solid var(--trait); padding-top: 12px; }
.courriel { border: 1px solid var(--trait-fort); background: var(--surface); display: flex; flex-direction: column; min-height: 520px; }
.courriel__entete { padding: 14px 20px; border-bottom: 1px solid var(--trait); }
.courriel__corps { padding: 20px; display: flex; flex-direction: column; gap: 10px; flex-grow: 1; }
.courriel__texte { white-space: pre-line; border-top: 1px solid var(--trait); padding-top: 12px; }
.courriel__actions { display: flex; flex-wrap: wrap; gap: 12px; padding: 0 20px 20px; }
[data-anime] { animation: apparition .35s ease; }
@keyframes apparition { from { opacity: .2; transform: translateY(4px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { [data-anime] { animation: none; } }

/* ---------- Leviers et cadran ---------- */
.leviers { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.leviers__texte { display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.leviers__courant { border-top: 2px solid var(--encre); padding-top: 16px; display: flex; flex-direction: column; gap: 8px; min-height: 170px; width: 100%; }
.leviers__cadran { display: flex; justify-content: center; }
.cadran { width: 100%; max-width: 520px; height: auto; overflow: visible; }
.cadran__graduation { stroke: var(--trait-fort); stroke-width: 1.5; fill: none; }
.cadran__seg { stroke: var(--trait-fort); stroke-width: 6; fill: none; transition: stroke .3s, stroke-width .3s; cursor: pointer; }
.cadran__seg.est-actif { stroke: var(--vert); stroke-width: 16; }
.cadran__aiguille { transform-box: view-box; transform-origin: 200px 200px; transition: transform .5s cubic-bezier(.3, 1.4, .5, 1); }
.cadran__aiguille path { stroke: var(--aiguille); stroke-width: 5; stroke-linecap: square; }
.cadran__axe { fill: var(--aiguille); }
.verbes { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); border-top: 1px solid var(--trait); border-bottom: 1px solid var(--trait); margin-top: 48px; }
.verbe {
  display: flex; flex-direction: column; align-items: flex-start; gap: 6px;
  padding: 20px 16px; min-height: 48px; border: 0; border-right: 1px solid var(--trait);
  background: transparent; color: var(--encre-douce); text-align: left; cursor: pointer;
}
.verbe:last-child { border-right: 0; }
.verbe .etiquette { color: inherit; }
.verbe__nom { font-family: var(--f-titre); font-weight: 600; font-size: 24px; }
.verbe:hover { color: var(--encre); }
.verbe.est-actif { color: var(--encre); box-shadow: inset 0 -4px 0 var(--aiguille); }

/* ---------- Tableaux ---------- */
.tableau { display: flex; flex-direction: column; }
.tableau__ligne { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 2fr) minmax(0, 1fr); gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--trait); }
.tableau--deux .tableau__ligne { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); }
.tableau__entete { padding: 12px 0; border-bottom-color: var(--trait-fort); font-family: var(--f-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--encre-douce); }
.tableau__nom { font-weight: 600; }
.js .tableau__ligne.est-repliable { display: none; }
.js .tableau.est-deplie .tableau__ligne.est-repliable { display: grid; }
.tableau__plus { margin-top: 20px; }
html:not(.js) .tableau__plus { display: none; }

/* ---------- Parcours ---------- */
.photos { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr); gap: 16px; margin: 40px 0; }
.photo { display: flex; flex-direction: column; gap: 8px; }
.photo img { width: 100%; height: 320px; object-fit: cover; }
.photo figcaption { font-size: 12px; color: var(--encre-douce); }
.frise { list-style: none; padding: 0; border-top: 2px solid var(--encre); display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.frise li { padding: 16px 0 0 12px; display: flex; flex-direction: column; gap: 6px; border-left: 1px solid var(--trait-fort); color: var(--encre-douce); font-size: 15px; line-height: 22px; }
.frise li.est-actif { border-left: 4px solid var(--aiguille); color: var(--encre); }
.frise__an { font-weight: 700; font-size: 28px; line-height: 1.2; color: var(--encre); }

/* ---------- Cartes du blog ---------- */
.cartes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.carte { display: flex; flex-direction: column; gap: 12px; padding-top: 16px; border-top: 2px solid var(--encre); color: var(--encre); text-decoration: none; }
.carte--breve, .carte--info { border-top-width: 1px; border-top-color: var(--trait-fort); }
.carte__image { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: opacity .2s; }
.carte:hover .carte__image { opacity: .85; }
.carte__meta { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; }
.carte__titre { font-family: var(--f-titre); font-weight: 600; font-size: 28px; line-height: 1.15; }
.carte:hover .carte__titre { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.carte__resume { color: var(--encre-douce); font-size: 16px; line-height: 1.5; }
.carte__langue { color: var(--encre-douce); font-size: 12px; }

/* ---------- Montaigne ---------- */
.montaigne { background: var(--surface); border-top: 1px solid var(--trait); padding: clamp(80px, 11vw, 128px) 0; }
.montaigne__grille { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 48px; }
.montaigne__repere { display: flex; flex-direction: column; gap: 12px; padding-top: 18px; }
.montaigne__aiguille { width: 4px; height: 120px; background: var(--aiguille); }
.montaigne__citation { display: flex; flex-direction: column; gap: 32px; max-width: 960px; }
.montaigne__citation blockquote { font-family: var(--f-titre); font-weight: 600; font-size: clamp(36px, 5.6vw, 72px); line-height: 1.06; letter-spacing: -.01em; }
.montaigne__citation figcaption { display: flex; flex-direction: column; gap: 16px; border-top: 1px solid var(--trait-fort); padding-top: 20px; font-size: 20px; line-height: 1.5; }

/* ---------- Pied de page ---------- */
.pied { border-top: 2px solid var(--encre); }
.pied__grille { max-width: var(--largeur); margin: 0 auto; padding: 56px var(--marge); display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 48px; }
.pied__marque { display: flex; flex-direction: column; gap: 16px; }
.pied__marque .marque__symbole { height: 40px; width: auto; align-self: flex-start; }
.pied__signature { font-family: var(--f-titre); font-weight: 600; font-size: 24px; line-height: 1.25; }
.pied__contact { display: flex; flex-direction: column; gap: 10px; }
.pied__contact a { color: var(--vert); }
.pied__contact .pied__discret { color: var(--encre-douce); text-decoration: none; }

/* ---------- Page levier ---------- */
.onglets-leviers { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); border-bottom: 1px solid var(--trait); }
.onglet { display: flex; flex-direction: column; gap: 4px; padding: 18px 12px; color: var(--encre-douce); text-decoration: none; }
.onglet .etiquette { color: inherit; }
.onglet__nom { font-family: var(--f-titre); font-weight: 600; font-size: 22px; }
.onglet:hover { color: var(--encre); }
.onglet.est-actif { color: var(--encre); box-shadow: inset 0 -4px 0 var(--aiguille); }
.levier-tete { padding-top: clamp(56px, 8vw, 96px); padding-bottom: 64px; display: flex; flex-direction: column; gap: 28px; }
.levier-tete .titre-geant { font-size: clamp(56px, 10vw, 128px); }
.levier-tete__promesse { font-family: var(--f-titre); font-weight: 500; font-size: clamp(24px, 2.8vw, 36px); line-height: 1.2; max-width: 900px; }
.trois-parties { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.trois-parties .partie { padding: 32px 32px 40px; border-top: 1px solid var(--trait); border-right: 1px solid var(--trait); display: flex; flex-direction: column; gap: 20px; }
.trois-parties .partie:first-child { padding-left: 0; }
.trois-parties .partie:last-child { border-right: 0; }
.partie--obtenez { background: var(--surface); }
.partie__texte { font-size: 19px; line-height: 1.6; }
.methodes { list-style: none; padding: 0; }
.methodes li { padding: 12px 0; border-bottom: 1px solid var(--trait); display: flex; flex-direction: column; gap: 4px; }
.methodes strong { font-weight: 600; font-size: 18px; }
.livrables { list-style: none; padding: 0; }
.livrables li { padding: 14px 0; border-bottom: 1px solid var(--trait); display: flex; gap: 14px; align-items: baseline; font-family: var(--f-titre); font-weight: 600; font-size: 22px; line-height: 1.25; }
.livrables__num { color: var(--vert); font-weight: 700; font-size: 14px; }
.levier-liens { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 64px; align-items: start; }
.levier-liens > div:first-child { display: flex; flex-direction: column; gap: 16px; }
.levier-liens .tableau { border-top: 1px solid var(--trait-fort); }
.levier-liens__blog { margin-top: 24px; }
.liste-liens { padding-left: 18px; }
.encart { border: 1px solid var(--trait-fort); padding: 28px; display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.suite-leviers { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--trait); }
.suite-leviers a { padding: 32px var(--marge); font-family: var(--f-titre); font-weight: 600; font-size: 24px; color: var(--encre-douce); text-decoration: none; }
.suite-leviers a:last-child { text-align: right; color: var(--encre); border-left: 1px solid var(--trait); }
.suite-leviers a:hover { background: var(--surface); color: var(--encre); }

/* ---------- Blog et lecture ---------- */
.page-tete { padding-top: clamp(48px, 7vw, 88px); padding-bottom: 32px; display: flex; flex-direction: column; gap: 20px; }
.page-tete__intro { font-size: 19px; max-width: 700px; }
.page-tete--erreur { min-height: 50vh; }
.filtres { display: flex; flex-direction: column; gap: 12px; padding-bottom: 8px; }
.filtres__groupe { display: flex; flex-wrap: wrap; gap: 8px; }
.filtre { min-height: 40px; display: inline-flex; align-items: center; padding: 6px 12px; border: 1px solid var(--trait-fort); font-family: var(--f-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--encre-douce); text-decoration: none; }
.filtre:hover { color: var(--encre); border-color: var(--encre); }
.filtre.est-actif { background: var(--encre); color: var(--fond); border-color: var(--encre); }

.lecture { display: grid; grid-template-columns: 220px minmax(0, 720px); gap: 64px; padding-top: clamp(48px, 7vw, 72px); padding-bottom: var(--bande); }
.lecture__marge { display: flex; flex-direction: column; gap: 16px; position: sticky; top: 100px; align-self: start; }
.sommaire { display: flex; flex-direction: column; gap: 10px; border-top: 1px solid var(--trait); padding-top: 16px; }
.sommaire a { color: var(--encre-douce); text-decoration: none; font-size: 15px; line-height: 1.4; }
.sommaire a:hover { color: var(--encre); }
.lecture__texte { display: flex; flex-direction: column; gap: 24px; }
.lecture__titre { font-size: clamp(40px, 5vw, 64px); line-height: 1.02; }
.lecture__chapo { font-size: clamp(20px, 2vw, 23px); line-height: 1.5; color: var(--encre-douce); }
.lecture__figure { display: flex; flex-direction: column; gap: 8px; }
.lecture__figure img { width: 100%; max-height: 460px; object-fit: cover; }
.lecture__figure figcaption { color: var(--encre-douce); font-size: 12px; }
.lecture--breve .lecture__titre, .lecture--info .lecture__titre { font-size: clamp(32px, 4vw, 48px); }
.avis { padding: 10px 14px; border: 1px solid var(--trait-fort); color: var(--encre-douce); }
.prose { font-size: 19px; line-height: 1.65; display: flex; flex-direction: column; gap: 20px; }
.prose h2 { font-family: var(--f-titre); font-weight: 600; font-size: 32px; line-height: 1.15; margin-top: 20px; }
.prose h3, .prose h4 { font-family: var(--f-titre); font-weight: 600; font-size: 24px; margin-top: 12px; }
.prose blockquote { border-left: 4px solid var(--encre); padding: 6px 0 6px 24px; font-family: var(--f-titre); font-weight: 600; font-size: clamp(24px, 2.6vw, 30px); line-height: 1.2; }
.prose ul, .prose ol { padding-left: 22px; display: flex; flex-direction: column; gap: 8px; }
.prose img { width: 100%; height: auto; }
.prose hr { border: 0; border-top: 1px solid var(--trait); width: 100%; }
.lecture--article .prose > p:last-child { font-family: var(--f-titre); font-weight: 600; font-size: 26px; line-height: 1.25; }
.reagir { margin-top: 16px; border-top: 2px solid var(--encre); padding-top: 24px; display: flex; gap: 20px; align-items: center; }
.reagir img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; object-position: 50% 25%; flex-shrink: 0; }
.reagir > div { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.lecture-simple { max-width: 880px; padding-bottom: var(--bande); font-size: 17px; }
.lecture-simple.prose h2 { font-size: 26px; }

/* ---------- Apparition au défilement ---------- */
.js .revele { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.js .revele.est-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .revele { opacity: 1; transform: none; transition: none; } }

/* ---------- Tablette ---------- */
@media (max-width: 1080px) {
  .nav { gap: 18px; }
  .entete__droite { gap: 20px; }
}
@media (max-width: 960px) {
  .entete__contact { display: inline-flex; margin-left: auto; }
  .entete__barre { gap: 8px; }
  .entete__menu {
    display: inline-flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px;
    width: 48px; height: 48px; border: 2px solid var(--trait-fort); background: transparent; cursor: pointer;
  }
  .entete__menu span:not(.sr) { width: 20px; height: 2px; background: var(--encre); transition: transform .2s, opacity .2s; }
  .entete__menu[aria-expanded="true"] span:nth-child(2) { transform: translateY(7px) rotate(45deg); }
  .entete__menu[aria-expanded="true"] span:nth-child(3) { opacity: 0; }
  .entete__menu[aria-expanded="true"] span:nth-child(4) { transform: translateY(-7px) rotate(-45deg); }
  .entete__droite {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    background: var(--fond); border-bottom: 1px solid var(--trait);
    flex-direction: column; align-items: stretch; gap: 16px; padding: 8px var(--marge) 24px;
  }
  html:not(.js) .entete__droite { display: flex; position: static; }
  .entete__droite.est-ouvert { display: flex; }
  .nav { flex-direction: column; align-items: stretch; gap: 0; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--trait); font-size: 14px; }
  .nav .nav__contact { border-bottom: 1px solid var(--trait); padding-bottom: 14px; }

  .ouverture { min-height: 0; }
  .ouverture__grille { grid-template-columns: 1fr; gap: 32px; }
  .presentation { padding-top: 0; display: grid; grid-template-columns: 96px 1fr; column-gap: 20px; row-gap: 8px; align-items: center; }
  .presentation__photo { width: 96px; height: 96px; grid-row: span 2; }
  .presentation__roles { grid-column: 1 / -1; }
  .situations { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .situation:nth-child(2n) { border-right: 0; }
  .situation:nth-child(odd) { border-right: 1px solid var(--trait); }
  .reponse { grid-template-columns: 1fr; min-height: 0; }
  .courriel { min-height: 0; }
  .leviers { grid-template-columns: 1fr; }
  .leviers__cadran { order: -1; }
  .cadran { max-width: 420px; }
  .verbes { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .verbe:nth-child(3n) { border-right: 0; }
  .verbe:nth-child(-n+3) { border-bottom: 1px solid var(--trait); }
  .deux-colonnes { grid-template-columns: 1fr; gap: 32px; }
  .photos { grid-template-columns: 1fr 1fr; }
  .photos .photo:first-child { grid-column: 1 / -1; }
  .frise { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 24px; }
  .cartes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .montaigne__grille { grid-template-columns: 1fr; gap: 24px; }
  .montaigne__repere { flex-direction: row; align-items: center; padding-top: 0; }
  .montaigne__aiguille { width: 56px; height: 4px; }
  .onglets-leviers { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .trois-parties { grid-template-columns: 1fr; }
  .trois-parties .partie, .trois-parties .partie:first-child { padding: 28px 0; border-right: 0; }
  .partie--obtenez { padding: 28px 20px !important; }
  .levier-liens { grid-template-columns: 1fr; gap: 40px; }
  .lecture { grid-template-columns: 1fr; gap: 32px; }
  .lecture__marge { position: static; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
  .sommaire { display: none; }
}

/* ---------- Téléphone ---------- */
@media (max-width: 640px) {
  body { font-size: 16px; }
  .marque__nom { font-size: 19px; }
  .marque__symbole { height: 22px; }
  .reglages .bouton { flex: 1; }
  .ouverture { padding-top: 40px; gap: 32px; }
  .ouverture__texte { gap: 24px; }
  .ouverture__valeurs { margin-top: -8px; font-size: 16px; }
  .ouverture__choisissez { font-size: 18px; }
  .situations { grid-template-columns: 1fr; }
  .situation, .situation:nth-child(odd) { border-right: 0; min-height: 0; padding: 16px; }
  .courriel__actions .bouton { width: 100%; }
  .verbes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .verbe, .verbe:nth-child(3n) { border-right: 1px solid var(--trait); border-bottom: 1px solid var(--trait); padding: 14px 12px; }
  .verbe:nth-child(2n) { border-right: 0; }
  .verbe__nom { font-size: 20px; }
  .tableau__ligne { grid-template-columns: 1fr; gap: 4px; }
  .tableau__entete { display: none; }
  .photos { grid-template-columns: 1fr; }
  .photo img { height: 240px; }
  .frise { grid-template-columns: 1fr 1fr; }
  .cartes { grid-template-columns: 1fr; }
  .entete-section { flex-direction: column; align-items: flex-start; }
  .onglets-leviers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .onglet { padding: 12px 8px; }
  .onglet__nom { font-size: 19px; }
  .suite-leviers a { font-size: 19px; padding: 24px var(--marge); }
  .pied__grille { grid-template-columns: 1fr; gap: 32px; }
  .prose { font-size: 17px; }
  .reagir { flex-direction: column; align-items: flex-start; }
}
