/* Rizup, site vitrine v1. Langue des apps (kit design v0.14) : fond froid, cartes blanches rayon 20 px,
   ombre en deux couches, Bricolage Grotesque pour les titres, DM Sans pour la lecture, un seul accent
   (action principale). Un seul passage sur la nuit du cerveau : la section « Ce que fait le mien ». */

/* Polices servies depuis le dossier, aucun appel extérieur */
@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
  src: url("polices/bricolage-grotesque-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
  src: url("polices/bricolage-grotesque-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("polices/dm-sans-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("polices/dm-sans-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  /* Fond et surfaces (kit 4.4) */
  --fond: #eef1f6;
  --carte: #ffffff;
  --puits: #e3e8f0;
  --rayon: 20px;
  --rayon-controle: 12px;
  --filet: rgba(27, 42, 74, 0.06);
  --filet-net: rgba(27, 42, 74, 0.1);
  --ombre: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 1px 2px rgba(27, 42, 74, 0.04), 0 14px 34px -14px rgba(27, 42, 74, 0.16);
  --ombre-controle: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 1px 2px rgba(27, 42, 74, 0.1), 0 6px 14px -8px rgba(27, 42, 74, 0.4);

  /* Encre (une encre, une seconde à 5:1 sur le fond) */
  --encre: #1b2a4a;
  --encre-2: #5a6680;

  /* Accent : l'action principale seulement (un bouton plein par écran) et l'anneau de focus */
  --accent: #24408f;
  --accent-survol: #1c3478;

  /* La nuit du cerveau (charte de la présentation du cerveau) */
  --nuit-encre: #ffffff;
  --nuit-encre-2: #bccbee;
  --nuit-encre-3: #8fa3d6;
  --nuit-filet: #6680c4;
  --nuit-verre: rgba(20, 35, 77, 0.86);
  --nuit-bleu: #8fb0ff;

  /* Type */
  --titre: "Bricolage Grotesque", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --texte: "DM Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Mouvement : deux durées, une courbe, rien au défilement */
  --courbe: cubic-bezier(0.23, 1, 0.32, 1);
  --geste: 120ms;
  --etat: 180ms;

  /* Rythme */
  --section: 128px;
  --gouttiere: 32px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--encre);
  font-family: var(--texte);
  font-size: 1.125rem;
  line-height: 1.6;
  background-color: var(--fond);
  /* Deux halos très doux dans les coins, au plus (kit 4.4) */
  background-image:
    radial-gradient(56rem 36rem at 100% 0%, rgba(143, 176, 255, 0.22), rgba(143, 176, 255, 0) 70%),
    radial-gradient(48rem 36rem at 0% 100%, rgba(143, 176, 255, 0.14), rgba(143, 176, 255, 0) 70%);
  background-repeat: no-repeat;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-optical-sizing: auto;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--titre);
  font-weight: 700;
  color: var(--encre);
  text-wrap: balance;
}

p {
  margin: 0;
  text-wrap: pretty;
}

p + p { margin-top: 16px; }

ul, ol { margin: 0; padding: 0; list-style: none; }

figure { margin: 0; }

/* Focus visible partout, anneau accent 2 px */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.evitement {
  position: absolute;
  left: 16px;
  top: -64px;
  z-index: 10;
  padding: 8px 16px;
  border-radius: var(--rayon-controle);
  background: var(--carte);
  color: var(--encre);
  font-weight: 600;
  text-decoration: none;
  box-shadow: var(--ombre);
}
.evitement:focus { top: 16px; }

.cadre {
  width: 100%;
  max-width: 1168px;
  margin-inline: auto;
  padding-inline: var(--gouttiere);
}

.grille {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 16px;
  row-gap: 48px;
  align-items: start;
}

.section { padding-block: calc(var(--section) / 2); }
.section h2 {
  font-size: clamp(2rem, 1.2rem + 2.6vw, 3.25rem);
  line-height: 1.06;
  letter-spacing: -0.025em;
  max-width: 20ch;
}
.section h2 + p,
.section h2 + .chapeau { margin-top: 24px; }

.chapeau {
  font-size: 1.3125rem;
  line-height: 1.5;
  color: var(--encre-2);
  max-width: 44ch;
}

/* Liens en encre, soulignés, la couleur reste celle du texte */
.lien {
  color: var(--encre);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  text-decoration-color: rgba(27, 42, 74, 0.35);
  transition: text-decoration-color var(--etat) var(--courbe);
}
.lien:hover { text-decoration-color: currentColor; }
.lien-discret { font-weight: 500; color: var(--encre-2); }

/* Le seul bouton plein de l'écran */
.bouton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 28px;
  border-radius: var(--rayon-controle);
  background: var(--accent);
  color: #ffffff;
  font-family: var(--texte);
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: 0.005em;
  text-decoration: none;
  box-shadow: var(--ombre-controle);
  transition: background-color var(--geste) var(--courbe), transform var(--geste) var(--courbe);
}
.bouton:hover { background: var(--accent-survol); }
.bouton:active { transform: scale(0.98); }

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 32px;
  margin-top: 40px;
}

/* Carte du kit */
.carte {
  background: var(--carte);
  border-radius: var(--rayon);
  box-shadow: 0 0 0 1px var(--filet), var(--ombre);
  padding: 32px;
}
.carte-titre {
  display: block;
  font-family: var(--titre);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--encre-2);
  margin-bottom: 16px;
}

/* Carte à cellules séparées par des filets (un groupe = une carte, kit 4.1.3) */
.cellules { padding: 0; }
.cellules > .carte-titre { padding: 32px 32px 0; margin-bottom: 8px; }
.cellule { padding: 24px 32px; }
.cellule + .cellule { border-top: 1px solid var(--filet-net); }
.cellule:last-child { padding-bottom: 32px; }
.cellule h3,
.cellule h4 {
  font-size: 1.25rem;
  line-height: 1.3;
  letter-spacing: -0.01em;
}
.cellule p {
  margin-top: 8px;
  color: var(--encre-2);
  font-size: 1.0625rem;
}

/* En-tête et pied */
.entete { padding-top: 24px; }
.entete-ligne,
.pied-ligne {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.marque {
  font-family: var(--titre);
  font-size: 1.375rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--encre);
  text-decoration: none;
}

.pied {
  padding-block: 40px 48px;
  border-top: 1px solid var(--filet-net);
  margin-top: 32px;
}
.pied .marque { font-size: 1.125rem; }
.pied .lien { font-size: 1rem; }

/* 1. Accroche */
.accroche { padding-block: 112px 96px; }
.accroche-titre {
  font-size: clamp(2.75rem, 1.2rem + 6.4vw, 6.25rem);
  line-height: 1.0;
  letter-spacing: -0.035em;
  font-weight: 700;
  max-width: 17ch;
}
.accroche-titre span { display: block; }
.accroche-titre span + span { margin-top: 0.12em; }
.accroche-sous-titre {
  margin-top: 40px;
  max-width: 40ch;
  font-size: clamp(1.1875rem, 1rem + 0.6vw, 1.4375rem);
  line-height: 1.5;
  color: var(--encre-2);
}

/* 2. Le quotidien */
.quotidien-texte { grid-column: 1 / span 6; }
.quotidien-texte p { max-width: 46ch; }
.agenda { grid-column: 8 / span 5; padding: 32px 32px 16px; }
.agenda-liste { counter-reset: none; }
.agenda-liste li {
  display: grid;
  grid-template-columns: 4.5rem minmax(0, 1fr);
  gap: 16px;
  align-items: baseline;
  padding: 14px 0;
  border-top: 1px solid var(--filet-net);
  font-size: 1.0625rem;
  line-height: 1.4;
}
.agenda-heure {
  font-variant-numeric: tabular-nums;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--encre-2);
  white-space: nowrap;
}
/* La matinée continue : la dernière ligne, décorative et masquée aux lecteurs d'écran, s'efface */
.agenda-liste li:last-child { opacity: 0.3; }

/* 3. La nuit */
.nuit {
  position: relative;
  border-radius: 32px;
  overflow: hidden;
  padding: 72px 64px;
  color: var(--nuit-encre-2);
  background: radial-gradient(115% 95% at 30% 40%, #1c3168 0%, #122148 40%, #0a1430 78%, #08102a 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07), inset 0 0 0 1px rgba(143, 176, 255, 0.1), 0 2px 6px rgba(10, 19, 48, 0.16), 0 30px 72px rgba(10, 19, 48, 0.34);
}
.nuit :focus-visible { outline-color: #ffffff; }
.nuit h2 { color: var(--nuit-encre); }
.nuit-intro {
  margin-top: 24px;
  max-width: 52ch;
  font-size: 1.25rem;
  line-height: 1.55;
  color: var(--nuit-encre-2);
}
.nuit-grille {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 48px;
  margin-top: 56px;
  align-items: center;
}
.ciel {
  width: 100%;
  aspect-ratio: 600 / 460;
}
.ciel svg { display: block; width: 100%; height: 100%; overflow: visible; }

/* Ce qui se consulte s'allume ; le reste de la mémoire reste visible, en retrait */
.ciel .grappe {
  opacity: 0.34;
  transition: opacity var(--etat) var(--courbe);
}
.ciel .grappe .halo { opacity: 0; transition: opacity var(--etat) var(--courbe); }
.ciel .grappe.allume { opacity: 1; }
.ciel .grappe.allume .halo { opacity: 1; }
.ciel .influx {
  stroke-opacity: 0.12;
  stroke-dasharray: 2 5;
  transition: stroke-opacity var(--etat) var(--courbe);
}
.ciel .influx.allume { stroke-opacity: 0.8; stroke-dasharray: none; }

.legende {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.legende li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px 6px 10px;
  border-radius: 999px;
  font-size: 0.9375rem;
  line-height: 1.3;
  color: var(--nuit-encre-2);
  background: rgba(143, 176, 255, 0.06);
  box-shadow: inset 0 0 0 1px rgba(143, 176, 255, 0.16);
  transition: color var(--etat) var(--courbe), background-color var(--etat) var(--courbe), box-shadow var(--etat) var(--courbe);
}
.legende i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teinte, var(--nuit-bleu));
  opacity: 0.45;
  transition: opacity var(--etat) var(--courbe);
}
.legende li.allume {
  color: var(--nuit-encre);
  background: rgba(143, 176, 255, 0.14);
  box-shadow: inset 0 0 0 1px rgba(143, 176, 255, 0.42);
}
.legende li.allume i { opacity: 1; box-shadow: 0 0 10px var(--teinte, var(--nuit-bleu)); }

.legende [data-grappe="mails"] { --teinte: #7cb4ff; }
.legende [data-grappe="agenda"] { --teinte: #5ee6f0; }
.legende [data-grappe="reunions"] { --teinte: #c4b5fd; }
.legende [data-grappe="dossiers"] { --teinte: #f0a6ff; }
.legende [data-grappe="decisions"] { --teinte: #dfe6ff; }
.legende [data-grappe="regles"] { --teinte: #9ff0c9; }

.scenes { display: grid; gap: 16px; }
.mention-nuit {
  font-size: 0.9375rem;
  color: var(--nuit-encre-3);
  margin-bottom: 4px;
}
.scene {
  border-radius: var(--rayon);
  padding: 24px;
  box-shadow: inset 0 0 0 1px rgba(102, 128, 196, 0.32);
  cursor: pointer;
  transition: background-color var(--etat) var(--courbe), box-shadow var(--etat) var(--courbe);
}
.scene:hover { background: rgba(20, 35, 77, 0.5); }
.scene.active {
  background: var(--nuit-verre);
  box-shadow: inset 0 0 0 1px var(--nuit-filet), inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 18px 44px -18px rgba(2, 6, 20, 0.6);
}
.scene h3 { font-size: 1.25rem; line-height: 1.3; letter-spacing: -0.01em; }
.scene-bouton {
  all: unset;
  display: block;
  cursor: pointer;
  color: var(--nuit-encre);
  font: inherit;
  letter-spacing: inherit;
  border-radius: 6px;
}
.scene-bouton:focus-visible { outline: 2px solid #ffffff; outline-offset: 4px; }
.scene p {
  margin-top: 8px;
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--nuit-encre-2);
}
.nuit-pied {
  margin-top: 8px;
  font-size: 0.9375rem;
  color: var(--nuit-encre-3);
}

/* 4. Déroulement */
.deroulement-grille { margin-top: 56px; }
.recevez { grid-column: 1 / span 5; }
.coches li {
  position: relative;
  padding: 12px 0 12px 36px;
  border-top: 1px solid var(--filet-net);
  font-size: 1.0625rem;
  line-height: 1.5;
}
.coches li:first-child { border-top: 0; padding-top: 4px; }
.coches li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 17px;
  width: 18px;
  height: 18px;
  background: var(--encre);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.2 4.2L19 7' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.2 4.2L19 7' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.coches li:first-child::before { top: 9px; }

.etapes { grid-column: 7 / span 6; position: relative; }
.etape {
  position: relative;
  padding: 0 0 40px 72px;
}
.etape:last-child { padding-bottom: 0; }
/* Le fil qui relie les trois temps : c'est une suite, d'où les numéros */
.etape::before {
  content: "";
  position: absolute;
  left: 23px;
  top: 52px;
  bottom: 4px;
  width: 1px;
  background: rgba(27, 42, 74, 0.16);
}
.etape:last-child::before { display: none; }
.etape-repere {
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--carte);
  box-shadow: 0 0 0 1px var(--filet), var(--ombre);
  font-family: var(--titre);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--encre);
  font-variant-numeric: tabular-nums;
}
.etape h3 {
  font-size: 1.375rem;
  line-height: 1.3;
  letter-spacing: -0.015em;
  padding-top: 9px;
}
.etape p {
  margin-top: 8px;
  max-width: 46ch;
  color: var(--encre-2);
}

/* 5. Confiance */
.confiance-tete { grid-column: 1 / span 5; }
.confiance-tete p { max-width: 40ch; }
.confiance-carte { grid-column: 7 / span 6; }

/* 6. Ce qui dure */
.duree-texte { grid-column: 1 / span 6; }
.duree-texte p { max-width: 46ch; }
.couches { grid-column: 8 / span 5; }
.couche-ia {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: stretch;
  gap: 12px;
}
.couche-ia .echange { align-self: center; }
.pastille-ia {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 44px;
  padding: 8px 12px;
  border-radius: var(--rayon-controle);
  background: var(--puits);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.3;
}
.pastille-ia-demain {
  background: transparent;
  box-shadow: inset 0 0 0 1px rgba(27, 42, 74, 0.32);
  color: var(--encre-2);
  border: 0;
  outline: 1px dashed rgba(27, 42, 74, 0.38);
  outline-offset: -1px;
  box-shadow: none;
}
.echange { width: 24px; height: 24px; color: var(--encre-2); flex: none; }
.couche-lien {
  height: 32px;
  margin-left: 25%;
  border-left: 1px solid rgba(27, 42, 74, 0.2);
}
.couche-savoir {
  display: grid;
  gap: 4px;
  padding: 20px 24px;
  border-radius: 14px;
  background: var(--encre);
  color: #ffffff;
}
.couche-savoir-titre {
  font-family: var(--titre);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.couche-savoir-texte { font-size: 1rem; color: #d5dcec; }

/* 7. Qui je suis */
.photo {
  grid-column: 1 / span 4;
  aspect-ratio: 4 / 5;
  border-radius: var(--rayon);
  background: var(--puits);
  box-shadow: inset 0 0 0 1px var(--filet-net);
  display: grid;
  place-items: center;
}
.photo-mention { font-size: 0.875rem; color: var(--encre-2); }
.qui-texte { grid-column: 6 / span 7; align-self: center; }
.qui-texte .qui-nom {
  margin-top: 16px;
  font-weight: 600;
  color: var(--encre-2);
}
.qui-texte .qui-nom + p { margin-top: 24px; }
.qui-texte p { max-width: 54ch; }

/* 8. Pour qui */
.cellules-deux {
  margin-top: 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.cellules-deux .cellule { padding: 32px; }
.cellules-deux .cellule + .cellule { border-top: 0; border-left: 1px solid var(--filet-net); }
.cellules-deux p { max-width: 40ch; }

/* 9. Contact */
.contact { padding-block: 96px 128px; }
.contact h2 { font-size: clamp(2.5rem, 1.2rem + 4vw, 4.5rem); letter-spacing: -0.03em; }
.adresse { color: var(--encre-2); font-size: 1.0625rem; }

/* Mentions légales */
.mentions { padding-block: 72px 96px; }
.mentions-titre {
  font-size: clamp(2.25rem, 1.4rem + 3vw, 3.5rem);
  line-height: 1.06;
  letter-spacing: -0.03em;
}
.mentions-carte { margin-top: 40px; max-width: 760px; }
.mentions-carte .cellule { padding: 32px; }
.mentions-carte h2 {
  font-size: 1.25rem;
  line-height: 1.3;
  letter-spacing: -0.01em;
  max-width: none;
}
.mentions-carte p { margin-top: 12px; color: var(--encre); }
.fiche { margin: 16px 0 0; }
.fiche div {
  display: grid;
  grid-template-columns: 13rem minmax(0, 1fr);
  gap: 16px;
  padding: 10px 0;
  border-top: 1px solid var(--filet);
}
.fiche div:first-child { border-top: 0; padding-top: 0; }
.fiche dt { color: var(--encre-2); font-size: 1rem; }
.fiche dd { margin: 0; font-size: 1rem; overflow-wrap: anywhere; }
.a-completer { color: #4d5872; font-weight: 600; }

/* Tablette et téléphone : une colonne sous 960 px (kit 4.1.7) */
@media (max-width: 960px) {
  :root { --section: 96px; --gouttiere: 24px; }
  .quotidien-texte,
  .agenda,
  .recevez,
  .etapes,
  .confiance-tete,
  .confiance-carte,
  .duree-texte,
  .couches,
  .qui-texte { grid-column: 1 / -1; }
  .photo { grid-column: 1 / span 6; }
  .nuit { padding: 56px 40px; }
  .nuit-grille { grid-template-columns: minmax(0, 1fr); gap: 32px; }
}

@media (max-width: 600px) {
  :root { --section: 80px; --gouttiere: 16px; }
  body { font-size: 1.0625rem; }
  .accroche { padding-block: 64px 56px; }
  .accroche-sous-titre { margin-top: 28px; }
  .actions { margin-top: 32px; gap: 16px 24px; }
  .bouton { width: 100%; }
  .carte { padding: 24px; }
  .carte.cellules { padding: 0; }
  .agenda { padding: 24px 24px 8px; }
  .agenda-liste li { grid-template-columns: 4rem minmax(0, 1fr); gap: 12px; }
  .cellules > .carte-titre { padding: 24px 24px 0; }
  .cellule { padding: 20px 24px; }
  .cellule:last-child { padding-bottom: 24px; }
  .cellules-deux { grid-template-columns: 1fr; }
  .cellules-deux .cellule { padding: 24px; }
  .cellules-deux .cellule + .cellule { border-left: 0; border-top: 1px solid var(--filet-net); }
  .nuit { padding: 40px 20px; border-radius: 24px; margin-inline: -4px; }
  .nuit-grille { margin-top: 32px; }
  .scene { padding: 20px; }
  .etape { padding-left: 64px; }
  .photo { grid-column: 1 / -1; max-width: 200px; }
  .pied-ligne { flex-wrap: wrap; }
  .mentions { padding-block: 48px 72px; }
  .mentions-carte .cellule { padding: 24px; }
  .fiche div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
}

/* Mouvement réduit : plus aucune transition de déplacement, les fondus de couleur deviennent instantanés */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  :root { --geste: 0ms; --etat: 0ms; }
  .bouton:active { transform: none; }
}

/* Contraste renforcé : la nuit passe sur un fond uni, les filets s'affirment */
@media (prefers-contrast: more) {
  .nuit { background: #0a1430; }
  .scene { box-shadow: inset 0 0 0 1px var(--nuit-filet); }
  .carte { box-shadow: 0 0 0 1px rgba(27, 42, 74, 0.4); }
}
