/* ECO-FUTUR — feuille de style du site (v3, octobre 2026)
   Charte : bleu nuit #0B2A3D, cuivre #E07A3F (accent, jamais dominant),
   vert profond #0E5F4B, terre cuite #B85A26, gris minéral #56636B,
   blanc cassé #F4F6F5. Archivo (400, 800) pour les titres, Manrope pour le texte. */

/* ---------- Polices (auto-hébergées, licence SIL OFL) ---------- */
@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-latin-wdth-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  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: "Archivo";
  src: url("../fonts/archivo-latin-ext-wdth-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-latin-wght-normal.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
  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: "Manrope";
  src: url("../fonts/manrope-latin-ext-wght-normal.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
  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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Replis aux métriques proches, pour éviter les sauts pendant le chargement. */
@font-face { font-family: "Archivo Repli"; src: local("Arial"); size-adjust: 104%; ascent-override: 88%; descent-override: 22%; }
@font-face { font-family: "Manrope Repli"; src: local("Arial"); size-adjust: 103%; ascent-override: 104%; descent-override: 29%; }

/* ---------- Jetons ---------- */
:root {
  --navy: #0B2A3D;
  --copper: #E07A3F;
  --copper-light: #E9925C;
  --terracotta: #B85A26;
  --green: #0E5F4B;
  --grey: #56636B;
  --grey-light: #C9D2D6;
  --cream: #F4F6F5;
  --porcelain: #FBFCFB;
  --line: #D5DCDA;
  --line-dark: rgba(201, 210, 214, 0.18);
  /* Limite d'un champ ou d'un choix : au moins 3:1 sur la porcelaine (WCAG 1.4.11). */
  --field-line: #7D8A91;
  --error: #A8321F;
  /* Erreur sur le bleu nuit (pied de page) : contraste de 7,7:1. */
  --error-on-dark: #F4A98F;

  --ink: var(--navy);
  --ink-2: var(--navy);
  --ink-3: var(--grey);

  --f-display: "Archivo", "Archivo Repli", system-ui, sans-serif;
  --f-body: "Manrope", "Manrope Repli", system-ui, sans-serif;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-ui: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-move: cubic-bezier(0.77, 0, 0.175, 1);

  --gutter: clamp(1.25rem, 4.5vw, 4rem);
  --max: 1380px;
  --section: clamp(6.5rem, 13vw, 12.5rem);
  --header-h: 5rem;

  --lift: 0 1px 2px rgba(11, 42, 61, 0.05), 0 30px 60px -36px rgba(11, 42, 61, 0.28);

  color-scheme: light;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  caret-color: var(--terracotta);
  scrollbar-color: var(--grey-light) var(--cream);
  scroll-padding-top: calc(var(--header-h) + 1rem);
}
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-kerning: normal;
  overflow-x: clip;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.22em; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--navy); color: var(--cream); }
:focus-visible { outline: 2px solid var(--terracotta); outline-offset: 4px; }
.on-dark :focus-visible, .site-footer :focus-visible, .menu :focus-visible { outline-color: var(--copper-light); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: clip; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: fixed; left: 1rem; top: 1rem; z-index: 100;
  padding: 0.75rem 1rem; background: var(--navy); color: var(--cream);
  transform: translateY(-200%); transition: transform 0.2s var(--ease-ui);
}
.skip:focus { transform: none; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); position: relative; }
.section--tight { padding-block: calc(var(--section) * 0.6); }
.section--white { background: var(--porcelain); }
.flow { display: grid; gap: var(--flow, 1.25rem); align-content: start; }

/* ---------- Typographie ---------- */
h1, h2, h3, h4 { margin: 0; font-family: var(--f-display); font-weight: 400; color: inherit; text-wrap: balance; }
h1 b, h2 b, h3 b { font-weight: 800; }
p { margin: 0; }
.legal p + p, .legal p + ul, .legal ul + p, .fine p + p { margin-top: 1em; }

.title { font-size: clamp(2.2rem, 4.6vw, 4.4rem); line-height: 1.06; letter-spacing: -0.032em; }
.subtitle { font-size: clamp(1.45rem, 2.1vw, 1.95rem); line-height: 1.16; letter-spacing: -0.018em; }
.lead { font-size: clamp(1.15rem, 1.45vw, 1.34rem); line-height: 1.6; color: var(--ink-2); max-width: 36em; text-wrap: pretty; }
.prose { max-width: 36em; color: var(--ink-2); text-wrap: pretty; }
.fine { font-size: 0.8125rem; line-height: 1.6; color: var(--ink-3); max-width: 60em; }

/* Intitulé court : Archivo 400, précédé d'un biseau de cuivre. */
.kicker {
  display: flex; align-items: center; gap: 0.75rem;
  font-family: var(--f-display); font-weight: 400;
  font-size: 1.05rem; line-height: 1.3; letter-spacing: 0;
  color: var(--ink);
}
.kicker::before {
  content: ""; width: 1.5rem; height: 0.34rem; flex: none;
  background: var(--copper);
  clip-path: polygon(0 0, 100% 0, calc(100% - 0.17rem) 100%, 0 100%);
}
.on-dark .kicker { color: var(--cream); }

/* Le fleuron : un biseau de cuivre, à l'inclinaison du socle du signe (recul = moitié de la hauteur). */
.socle {
  display: inline-block;
  width: 2.25rem; height: 0.5rem;
  background: var(--copper);
  clip-path: polygon(0 0, 100% 0, calc(100% - 0.25rem) 100%, 0 100%);
  flex: none;
}
.socle--s { width: 1.5rem; height: 0.34rem; clip-path: polygon(0 0, 100% 0, calc(100% - 0.17rem) 100%, 0 100%); }

/* ---------- Liens et boutons ---------- */
.link {
  display: inline-flex; align-items: center; gap: 0.6em;
  font-weight: 600; font-size: 0.98rem; text-decoration: none;
  color: var(--ink);
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  padding: 0 0 0.2em;
  border: 0;
  cursor: pointer;
  justify-self: start;
  width: fit-content;
  min-height: 1.5rem;
  transition: background-size 0.45s var(--ease-out);
}
.link svg { width: 1.1em; height: 1.1em; transition: transform 0.35s var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .link:hover { background-size: 0% 1px; background-position: 100% 100%; }
  .link:hover svg { transform: translateX(0.25em); }
}
.on-dark .link { color: var(--cream); }
.link--quiet { font-weight: 400; font-size: 0.875rem; color: var(--ink-3); }

/* Bouton : un bloc bleu nuit posé sur un filet de cuivre qui monte au survol. */
.btn {
  --h: 3.25rem;
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.7em;
  min-height: var(--h);
  padding: 0 1.6rem 0.2rem;
  border: 0;
  background: var(--navy);
  color: var(--cream);
  font-family: var(--f-body);
  font-weight: 600;
  font-size: 0.98rem;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  isolation: isolate;
  overflow: hidden;
  transition: color 0.35s var(--ease-out), transform 0.16s var(--ease-ui);
}
.btn::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 0.3rem;
  background: var(--copper);
  z-index: -1;
  transition: height 0.5s var(--ease-out);
}
.btn svg { width: 1.05em; height: 1.05em; transition: transform 0.4s var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { color: var(--navy); }
  .btn:hover::after { height: 100%; }
  .btn:hover svg { transform: translateX(0.2em); }
}
.btn:active { transform: scale(0.98); }
.btn--s { --h: 2.75rem; padding-inline: 1.15rem; font-size: 0.92rem; }
.on-dark .btn { background: var(--cream); color: var(--navy); }
.btn[aria-disabled="true"] { opacity: 0.6; cursor: progress; }

/* ---------- En-tête ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--header-h);
  view-transition-name: site-header;
  transition: transform 0.6s var(--ease-out), background-color 0.4s ease, box-shadow 0.4s ease;
}
.site-header__inner { height: 100%; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 2rem; }
.brand { display: inline-flex; align-items: center; text-decoration: none; padding-block: 0.5rem; }
.brand img { width: clamp(8.5rem, 11vw, 10rem); height: auto; }
.nav { justify-self: center; display: flex; gap: clamp(1.25rem, 2.6vw, 2.5rem); }
.nav a { position: relative; text-decoration: none; font-weight: 400; font-size: 0.95rem; padding-block: 0.6rem; }
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0.3rem; height: 1px;
  background: var(--copper);
  transform: scaleX(0); transform-origin: right;
  transition: transform 0.5s var(--ease-out);
}
@media (hover: hover) and (pointer: fine) { .nav a:hover::after { transform: scaleX(1); transform-origin: left; } }
/* Page courante : filet bleu nuit de 2 px (contraste suffisant pour un indicateur d'état). */
.nav a[aria-current="page"]::after { transform: scaleX(1); background: var(--navy); height: 2px; }
.site-header.is-scrolled { background: rgba(244, 246, 245, 0.95); box-shadow: 0 1px 0 var(--line); }
.site-header.is-hidden { transform: translateY(-100%); }
.menu-toggle {
  display: none; align-items: center; gap: 0.7rem;
  min-height: 2.75rem; padding: 0 0.25rem;
  background: none; border: 0; cursor: pointer;
  font-weight: 600; font-size: 0.95rem;
}
.menu-toggle i { display: block; width: 1.4rem; height: 1.5px; background: currentColor; box-shadow: 0 -5px 0 currentColor, 0 5px 0 currentColor; }

/* Menu plein écran (mobile) */
.menu {
  position: fixed; inset: 0; z-index: 60;
  display: grid; grid-template-rows: auto 1fr auto; gap: 2rem;
  padding: 1rem var(--gutter) 2rem;
  background: var(--navy); color: var(--cream);
  visibility: hidden;
  clip-path: inset(0 0 100% 0);
  transition: clip-path 0.7s var(--ease-move), visibility 0s linear 0.7s;
}
.menu.is-open { visibility: visible; clip-path: inset(0); transition: clip-path 0.7s var(--ease-move), visibility 0s; }
.menu__top { display: flex; justify-content: space-between; align-items: center; min-height: 3rem; }
.menu__top img { width: 8.5rem; height: auto; }
.menu__close { display: inline-flex; align-items: center; gap: 0.6rem; min-height: 2.75rem; background: none; border: 0; color: inherit; font-weight: 600; cursor: pointer; }
.menu nav { align-self: center; display: grid; }
.menu nav a {
  font-family: var(--f-display);
  font-size: clamp(2.4rem, 11vw, 3.6rem);
  line-height: 1.15; letter-spacing: -0.03em;
  text-decoration: none;
  opacity: 0; transform: translateY(1.2rem);
  transition: opacity 0.6s var(--ease-out), transform 0.8s var(--ease-out);
}
.menu.is-open nav a { opacity: 1; transform: none; }
.menu.is-open nav a:nth-child(2) { transition-delay: 0.06s; }
.menu.is-open nav a:nth-child(3) { transition-delay: 0.12s; }
.menu.is-open nav a:nth-child(4) { transition-delay: 0.18s; }
.menu.is-open nav a:nth-child(5) { transition-delay: 0.24s; }
.menu nav a[aria-current="page"] { color: var(--copper-light); }
.menu__foot { color: var(--grey-light); font-size: 0.9rem; max-width: 24em; }

/* Sans JavaScript : l'en-tête reste dans le flux, pour ne jamais recouvrir le titre. */
html:not(.js) .site-header { position: relative; height: auto; min-height: var(--header-h); }
html:not(.js) .hero { padding-top: 0; }
html:not(.js) .page-head { padding-top: clamp(3rem, 8vw, 6rem); }

@media (max-width: 960px) {
  .js .nav { display: none; }
  .js .menu-toggle { display: inline-flex; justify-self: end; }
  /* Mobile : logo, bouton de rendez-vous compact, puis le menu (icône seule). */
  .js .site-header__inner { grid-template-columns: auto 1fr auto; gap: 0.75rem; }
  .js .site-header__inner > .btn { justify-self: end; --h: 2.5rem; padding-inline: 0.85rem; font-size: 0.85rem; }
  .js .menu-toggle .menu-toggle__text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .brand img { width: 7.5rem; }
  html:not(.js) .site-header__inner > .btn, html:not(.js) .menu-toggle { display: none; }
  html:not(.js) .site-header__inner { grid-template-columns: 1fr; gap: 0.25rem; padding-block: 0.75rem; }
  html:not(.js) .nav { justify-self: start; flex-wrap: wrap; gap: 0.25rem 1.25rem; }
}
@media (max-width: 359px) { .js .site-header__inner > .btn { display: none; } }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--navy); color: var(--grey-light); padding-block: clamp(5rem, 9vw, 8rem) 2.5rem; }
.site-footer a { color: var(--cream); text-decoration: none; }
.site-footer__sign { font-family: var(--f-display); color: var(--cream); font-size: clamp(1.9rem, 4.2vw, 3.8rem); line-height: 1.06; letter-spacing: -0.03em; max-width: 14em; }
.site-footer__grid {
  margin-top: clamp(3.5rem, 7vw, 6rem); padding-top: 2rem;
  border-top: 1px solid var(--line-dark);
  display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 2.5rem; align-items: start;
}
.site-footer__grid img { width: 10rem; height: auto; }
.site-footer nav { display: grid; gap: 0.55rem; font-size: 0.95rem; }
.site-footer nav a { width: fit-content; background: linear-gradient(var(--copper-light), var(--copper-light)) 0 100% / 0% 1px no-repeat; transition: background-size 0.45s var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .site-footer nav a:hover { background-size: 100% 1px; } }
.site-footer__status { font-size: 0.875rem; line-height: 1.6; max-width: 26em; }
.site-footer__legal { margin-top: 3rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-size: 0.8125rem; color: var(--grey-light); }
.site-footer__legal nav { display: flex; gap: 1.5rem; }
@media (max-width: 760px) { .site-footer__grid { grid-template-columns: 1fr; } }
/* Inscription aux nouvelles, sur le fond bleu nuit du pied de page. */
.news { margin-top: clamp(3rem, 6vw, 4.5rem); padding-top: 2rem; border-top: 1px solid var(--line-dark); display: grid; gap: 1rem; max-width: 42rem; }
.news__title { font-family: var(--f-display); color: var(--cream); font-size: clamp(1.25rem, 2vw, 1.6rem); line-height: 1.2; letter-spacing: -0.015em; }
.news__row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0.45rem 1.25rem; align-items: end; }
.news__label { grid-column: 1 / -1; font-size: 0.875rem; font-weight: 600; color: var(--cream); }
.news__input {
  width: 100%; min-height: 2.75rem; padding: 0.6rem 0.1rem;
  background: transparent; border: 0; border-bottom: 1px solid var(--grey-light); border-radius: 0;
  color: var(--cream); font-size: 1rem; caret-color: var(--copper-light);
}
.news__input:focus { outline: none; border-bottom-color: var(--copper-light); box-shadow: 0 1px 0 var(--copper-light); }
.news__input:focus-visible { outline: 2px solid var(--copper-light); outline-offset: 2px; }
.news__input[aria-invalid="true"] { border-bottom-color: var(--error-on-dark); box-shadow: 0 1px 0 var(--error-on-dark); }
.site-footer .news__btn { background: var(--cream); color: var(--navy); }
.news__note { font-size: 0.8125rem; line-height: 1.6; }
.nobr { white-space: nowrap; }
.site-footer .news__note a { text-decoration: underline; text-underline-offset: 0.15em; }
.news__status { font-size: 0.875rem; color: var(--cream); }
/* Vide, la zone reste rendue (annonces des lecteurs d'écran) ; la marge négative annule l'écart de la grille. */
.news__status:empty { margin-top: -1rem; }
.news__status.is-error { color: var(--error-on-dark); }
@media (max-width: 520px) { .news__row { grid-template-columns: 1fr; } .news__btn { justify-self: start; } }

/* ---------- Ouverture (hero) de l'accueil ---------- */
.hero {
  --globe: min(74svh, calc(100svh - 15.5rem), 60vw, 860px);
  position: relative; min-height: 100svh; padding-top: var(--header-h);
  display: grid; grid-template-rows: 1fr auto; overflow: clip;
}
/* Le titre tient en deux lignes posées en diagonale de part et d'autre du globe :
   chacune empiète sur la marge vide du canevas, jamais sur la sphère ni sur le ruban. */
.hero__stage {
  position: relative;
  display: grid; grid-template-columns: minmax(0, 1fr); align-content: center;
  width: 100%; max-width: 1680px; margin-inline: auto; padding-inline: var(--gutter);
}
.hero__globe { position: relative; grid-row: 2; justify-self: center; width: var(--globe); aspect-ratio: 1; }
.hero__globe canvas { position: absolute; inset: 0; width: 100%; height: 100%; cursor: grab; touch-action: pan-y; opacity: 0; transition: opacity 1.2s var(--ease-out); }
.hero__globe canvas.is-ready { opacity: 1; }
.hero__globe canvas.is-grabbing { cursor: grabbing; }
.hero__globe::after {
  content: ""; position: absolute; left: 24%; right: 24%; bottom: 8%; height: 6%;
  background: radial-gradient(closest-side, rgba(11, 42, 61, 0.22), rgba(11, 42, 61, 0));
  z-index: -1; filter: blur(5px);
}
.hero__poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transition: opacity 1.2s var(--ease-out); }
.hero__globe canvas.is-ready + .hero__poster { opacity: 0; }
.hero h1 { display: contents; }
.hero__line { font-size: clamp(2.3rem, 4.9vw, 5.6rem); line-height: 1.02; letter-spacing: -0.038em; position: relative; z-index: 2; pointer-events: none; }
.hero__line b { font-weight: 800; }
.hero__line--a { grid-row: 1; justify-self: start; margin-bottom: calc(var(--globe) * -0.12); }
.hero__line--b { grid-row: 3; justify-self: end; text-align: right; margin-top: calc(var(--globe) * -0.12); }
.hero__foot { display: flex; justify-content: space-between; align-items: end; gap: 2rem; padding-block: 1.5rem clamp(1.5rem, 4vh, 2.5rem); }
.hero__status { max-width: 25em; font-size: 0.9375rem; line-height: 1.55; color: var(--ink-3); }
.hero__status strong { color: var(--ink); font-weight: 600; }
.hero__aside { display: grid; gap: 0.7rem; justify-items: end; text-align: right; max-width: 24em; }
.hero__aside p { font-size: 0.875rem; line-height: 1.55; color: var(--ink-3); }
.hero__aside .link { justify-self: end; }
.no-motion [data-globe-toggle], .no-webgl [data-globe-toggle] { display: none; }
/* Sans WebGL (ou texture introuvable) : l'image fixe du globe reste seule. */
.no-webgl .hero__globe canvas { display: none; }

@media (max-width: 960px) {
  .hero { --globe: min(100%, 34rem); }
  .hero__stage { padding-top: 1.25rem; align-content: start; }
  .hero__line { font-size: clamp(2.2rem, 9.4vw, 3.6rem); }
  .hero__line--a { margin-bottom: calc(var(--globe) * -0.08); }
  .hero__line--b { margin-top: calc(var(--globe) * -0.08); }
  .hero__foot { flex-direction: column; align-items: start; gap: 1.25rem; }
  .hero__aside { justify-items: start; text-align: left; }
  .hero__aside .link { justify-self: start; }
}

/* ---------- Prologue ---------- */
.prologue__statement { font-family: var(--f-display); font-size: clamp(1.75rem, 3.3vw, 3.2rem); line-height: 1.16; letter-spacing: -0.026em; max-width: 23em; text-wrap: pretty; }
.prologue__reply { margin-top: clamp(3rem, 6vw, 5.5rem); margin-left: auto; max-width: 34rem; display: grid; gap: 1.25rem; }
.prologue__reply p { color: var(--ink-2); }

/* ---------- La carte (aperçu, comme une carte posée sur la table) ---------- */
.menu-card {
  position: relative; max-width: 50rem; margin-inline: auto;
  padding: clamp(3.25rem, 7vw, 6rem) clamp(1.5rem, 6vw, 5rem);
  background: var(--porcelain); text-align: center; box-shadow: var(--lift);
}
.menu-card::before { content: ""; position: absolute; inset: 0.75rem; border: 1px solid var(--line); pointer-events: none; }
.menu-card__head { display: grid; gap: 1.25rem; justify-items: center; }
.menu-card__head p { color: var(--ink-3); max-width: 28em; }
.menu-card__list { list-style: none; margin: clamp(2.5rem, 5vw, 3.5rem) 0 0; padding: 0; }
.menu-card__item { display: grid; gap: 0.45rem; justify-items: center; padding-block: 1.5rem; }
.menu-card__item + .menu-card__item::before {
  content: ""; width: 1.5rem; height: 0.34rem; margin: -1.5rem auto 1.5rem;
  background: var(--copper);
  clip-path: polygon(0 0, 100% 0, calc(100% - 0.17rem) 100%, 0 100%);
}
.menu-card__item h3 { font-size: clamp(1.45rem, 2.4vw, 2rem); letter-spacing: -0.02em; line-height: 1.15; }
.menu-card__item p { color: var(--ink-3); max-width: 30em; font-size: 1rem; line-height: 1.6; }
.menu-card__after { margin-top: 0.75rem; padding-top: 1.75rem; border-top: 1px solid var(--line); }
.menu-card__after h3 { font-size: clamp(1.2rem, 1.8vw, 1.5rem); }
.menu-card__foot { margin-top: clamp(2.25rem, 4vw, 3rem); display: grid; justify-items: center; }

/* ---------- Le service, en six temps ---------- */
.steps { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 6vw, 6rem); }
.steps__pin { position: sticky; top: calc(var(--header-h) + 3rem); display: grid; gap: 2rem; align-content: start; }
.steps__numeral { position: relative; height: clamp(8rem, 15vw, 13rem); overflow: hidden; }
.steps__numeral span {
  position: absolute; left: 0; top: 0;
  font-family: var(--f-display); font-size: clamp(8rem, 15vw, 13rem); line-height: 1; letter-spacing: -0.04em;
  transform: translateY(105%);
  transition: transform 0.9s var(--ease-out);
}
.steps__numeral span.is-on { transform: none; }
.steps__numeral span.is-past { transform: translateY(-105%); }
.steps__list { list-style: none; margin: 0; padding: 0; }
.step { min-height: 56vh; display: grid; align-content: center; gap: 1rem; padding-block: 3rem; border-top: 1px solid var(--line); }
.step:last-child { min-height: 44vh; }
.step__n { display: none; font-family: var(--f-display); font-size: 1.05rem; color: var(--ink); }
.step h3 { font-size: clamp(1.6rem, 2.6vw, 2.4rem); line-height: 1.1; letter-spacing: -0.022em; }
.step p { color: var(--ink-2); max-width: 32em; }
@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr; }
  .steps__numeral { display: none; }
  .steps__pin { position: static; }
  .step, .step:last-child { min-height: 0; padding-block: 2.25rem; }
  .step__n { display: block; }
}

/* ---------- Les règles de la maison (le service du soir) ---------- */
.on-dark { background: var(--navy); color: var(--cream); }
.on-dark .lead, .on-dark .prose { color: var(--grey-light); }
.on-dark .fine { color: var(--grey-light); }
.rules__head { display: grid; gap: 1.5rem; max-width: 44rem; }
.rules__grid {
  margin-top: clamp(3.5rem, 7vw, 6rem);
  display: grid; grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: clamp(2.5rem, 5vw, 4.5rem) clamp(1.5rem, 4vw, 4rem);
}
.rule { display: grid; gap: 0.9rem; align-content: start; grid-column: span 2; }
.rule:nth-child(1) { grid-column: 1 / span 3; }
.rule:nth-child(2) { grid-column: 4 / span 3; }
.rule h3 { font-size: clamp(1.35rem, 2vw, 1.75rem); line-height: 1.15; letter-spacing: -0.015em; }
.rule p { color: var(--grey-light); font-size: 1rem; }
@media (max-width: 960px) {
  .rules__grid { grid-template-columns: 1fr 1fr; }
  .rule, .rule:nth-child(1), .rule:nth-child(2) { grid-column: auto; }
}
@media (max-width: 620px) { .rules__grid { grid-template-columns: 1fr; } }

/* ---------- Le mot du fondateur ---------- */
.founder { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.founder__label { padding-top: 0.8rem; }
.founder blockquote { margin: 0; }
.founder blockquote p { font-family: var(--f-display); font-size: clamp(1.7rem, 3.3vw, 3.1rem); line-height: 1.18; letter-spacing: -0.026em; text-wrap: pretty; }
/* Guillemets en terre cuite : 4,3:1 sur fond clair, au-dessus du seuil de 3:1 du grand texte. */
.founder blockquote .q { color: var(--terracotta); }
.founder figcaption { margin-top: 2.25rem; display: grid; gap: 0.2rem; }
.founder figcaption strong { font-family: var(--f-display); font-weight: 800; font-size: 1.15rem; letter-spacing: 0.01em; }
.founder figcaption span { color: var(--ink-3); font-size: 0.95rem; }
@media (max-width: 860px) { .founder { grid-template-columns: 1fr; } }

/* ---------- L'horizon : le signe et ses trois piliers ---------- */
.horizon { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2.5rem, 7vw, 7rem); align-items: center; }
.horizon__sign { max-width: 26rem; width: 100%; }
.horizon__sign svg { width: 100%; height: auto; }
.horizon__sign .stroke { fill: var(--navy); }
.horizon__sign .base { fill: var(--copper); }
/* Le signe se pose trait après trait, en fondu : ni contour, ni déformation. */
.js .horizon__sign .piece { opacity: 0; transition: opacity 1s var(--ease-out); }
.js .horizon__sign .piece.is-set { opacity: 1; }
.horizon__head { display: grid; gap: 1.5rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.pillars { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.75rem; }
.pillar { display: grid; grid-template-columns: 7rem 1fr; gap: 1.5rem; }
.pillar__when { font-size: 0.875rem; font-weight: 600; color: var(--ink-3); padding-top: 0.35rem; }
.pillar__when.is-now { color: var(--green); }
.pillar h3 { font-size: clamp(1.3rem, 1.9vw, 1.65rem); line-height: 1.2; letter-spacing: -0.015em; }
.pillar p { color: var(--ink-3); font-size: 0.98rem; margin-top: 0.4rem; }
@media (max-width: 860px) { .horizon { grid-template-columns: 1fr; } .horizon__sign { max-width: 14rem; } }
@media (max-width: 520px) { .pillar { grid-template-columns: 1fr; gap: 0.4rem; } }

/* ---------- Appel final ---------- */
.closing { text-align: center; display: grid; justify-items: center; gap: clamp(1.75rem, 3vw, 2.5rem); }
.closing .title { max-width: 15em; }
.closing p { color: var(--ink-3); max-width: 32em; }
.closing .link { justify-self: center; }
.actions { display: flex; flex-wrap: wrap; gap: 1.25rem 2rem; align-items: center; justify-content: center; }

/* ---------- Pages intérieures ---------- */
.page-head { padding-top: calc(var(--header-h) + clamp(4rem, 11vw, 9rem)); padding-bottom: clamp(3.5rem, 8vw, 7rem); }
.page-head__grid { display: grid; gap: clamp(1.75rem, 3vw, 2.75rem); max-width: 62rem; }
.page-head h1 { font-size: clamp(2.8rem, 6.4vw, 6rem); line-height: 1.02; letter-spacing: -0.038em; }
.page-head .socle { margin-bottom: 2rem; }

.block-head { display: grid; gap: 1.5rem; max-width: 46rem; margin-bottom: clamp(3rem, 6vw, 5rem); }

/* Métiers de la carte */
.dish { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 6vw, 6rem); padding-block: clamp(3.5rem, 7vw, 6rem); border-top: 1px solid var(--line); }
.dish__name h2 { font-size: clamp(2rem, 3.6vw, 3.3rem); line-height: 1.06; letter-spacing: -0.03em; }
.dish__name p { margin-top: 1.25rem; color: var(--ink-2); font-size: 1.1rem; max-width: 24em; }
.dish dl { margin: 0; display: grid; gap: 1.6rem; }
.dish dl > div { display: grid; grid-template-columns: 11rem 1fr; gap: 1.5rem; }
.dish dt { font-weight: 600; font-size: 0.92rem; padding-top: 0.12rem; }
.dish dd { margin: 0; color: var(--ink-2); }
@media (max-width: 860px) { .dish { grid-template-columns: 1fr; } .dish dl > div { grid-template-columns: 1fr; gap: 0.35rem; } }

.pairings { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 3vw, 3rem); }
.pairings--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pairing { display: grid; gap: 1rem; align-content: start; }
.pairing h3 { font-size: clamp(1.25rem, 1.8vw, 1.55rem); line-height: 1.2; letter-spacing: -0.015em; }
.pairing p { color: var(--grey-light); font-size: 1rem; }
@media (max-width: 860px) { .pairings, .pairings--2 { grid-template-columns: 1fr; } }

/* Temps détaillés (Le Service) */
.courses { list-style: none; margin: 0; padding: 0; }
.course { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 5fr) minmax(0, 5fr); gap: clamp(1.5rem, 4vw, 4rem); padding-block: clamp(3rem, 6vw, 5rem); border-top: 1px solid var(--line); }
.course__n { font-family: var(--f-display); font-size: clamp(3rem, 6vw, 5.5rem); line-height: 0.9; letter-spacing: -0.04em; }
.course h2 { font-size: clamp(1.7rem, 2.8vw, 2.6rem); line-height: 1.1; letter-spacing: -0.025em; }
.course__body { display: grid; gap: 1rem; color: var(--ink-2); align-content: start; }
.course__get { margin-top: 0.5rem; font-size: 0.95rem; }
.course__get strong { display: block; font-weight: 600; color: var(--ink); margin-bottom: 0.25rem; }
@media (max-width: 860px) { .course { grid-template-columns: 1fr; gap: 1rem; } .course__n { font-size: 2.6rem; } }

.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.5rem; }
.checklist > li, .checklist > div { display: grid; gap: 0.35rem; }
.checklist strong { font-weight: 600; }
.checklist span, .checklist dd { margin: 0; color: var(--ink-2); }

/* La Maison */
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.sign-plate { position: relative; background: var(--porcelain); aspect-ratio: 1; display: grid; place-items: center; box-shadow: var(--lift); }
.sign-plate::before { content: ""; position: absolute; inset: 0.75rem; border: 1px solid var(--line); }
.sign-plate img { width: 44%; height: auto; }
.entities { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 3vw, 3rem); }
.entity { position: relative; padding: clamp(1.75rem, 3.5vw, 2.75rem); background: var(--porcelain); display: grid; gap: 1rem; align-content: start; }
.entity::before { content: ""; position: absolute; inset: 0.6rem; border: 1px solid var(--line); pointer-events: none; }
.entity h3 { font-size: clamp(1.4rem, 2.2vw, 1.9rem); line-height: 1.12; letter-spacing: -0.02em; }
.entity p { color: var(--ink-2); font-size: 1rem; }
@media (max-width: 760px) { .entities { grid-template-columns: 1fr; } }

.roadmap { list-style: none; margin: 0; padding: 0; }
.roadmap li { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: clamp(1.5rem, 4vw, 4rem); padding-block: 2rem; border-top: 1px solid var(--line); }
.roadmap__when { font-family: var(--f-display); font-size: clamp(1.15rem, 1.6vw, 1.4rem); }
.roadmap h3 { font-size: clamp(1.3rem, 1.9vw, 1.65rem); line-height: 1.2; letter-spacing: -0.015em; }
.roadmap p { color: var(--ink-2); margin-top: 0.5rem; }
@media (max-width: 760px) { .roadmap li { grid-template-columns: 1fr; gap: 0.6rem; } }

/* ---------- Rendez-vous ---------- */
.booking { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
@media (max-width: 960px) { .booking { grid-template-columns: 1fr; } }
.next { list-style: none; margin: 2.5rem 0 0; padding: 0; counter-reset: next; display: grid; gap: 1.5rem; }
.next li { display: grid; grid-template-columns: 2.5rem 1fr; gap: 1rem; }
.next li::before { counter-increment: next; content: counter(next, upper-roman); font-family: var(--f-display); color: var(--ink); }
.next li p { color: var(--ink-2); font-size: 1rem; }
.next li strong { display: block; color: var(--ink); font-weight: 600; }

.form { position: relative; background: var(--porcelain); padding: clamp(1.75rem, 4vw, 3.25rem); display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem 1.25rem; box-shadow: var(--lift); }
.form::before { content: ""; position: absolute; inset: 0.6rem; border: 1px solid var(--line); pointer-events: none; }
.form__head { display: grid; gap: 0.5rem; grid-column: 1 / -1; margin-bottom: 0.5rem; }
.field { display: grid; gap: 0.45rem; align-content: start; position: relative; }
.field--full { grid-column: 1 / -1; }
.field label, .field legend { font-weight: 600; font-size: 0.92rem; padding: 0; }
.field .opt { font-weight: 400; color: var(--ink-3); }
fieldset.field { border: 0; margin: 0; padding: 0; min-width: 0; }
.input {
  width: 100%; min-height: 3rem; padding: 0.7rem 0.1rem;
  background: transparent; border: 0; border-bottom: 1px solid var(--field-line); border-radius: 0;
  font-size: 1.02rem;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.input:hover { border-bottom-color: var(--navy); }
.input:focus { outline: none; border-bottom-color: var(--navy); box-shadow: 0 1px 0 var(--navy); }
.input:focus-visible { outline: 2px solid var(--terracotta); outline-offset: 2px; }
select.input {
  appearance: none; cursor: pointer; padding-right: 2rem;
  background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 8l5 5 5-5' fill='none' stroke='%230B2A3D' stroke-width='1.4'/%3E%3C/svg%3E") no-repeat right 0.1rem center / 1.1rem;
}
textarea.input { min-height: 7.5rem; resize: vertical; line-height: 1.6; }
.input[aria-invalid="true"] { border-bottom-color: var(--error); box-shadow: 0 1px 0 var(--error); }
.error { font-size: 0.85rem; color: var(--error); }
.error:empty { display: none; }
.notice { font-size: 0.85rem; color: var(--ink); }
.choices { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 0.35rem; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.choice span { display: inline-flex; align-items: center; min-height: 2.75rem; padding: 0.4rem 1rem; border: 1px solid var(--field-line); font-size: 0.93rem; cursor: pointer; transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease; }
@media (hover: hover) and (pointer: fine) { .choice span:hover { border-color: var(--navy); } }
.choice input:checked + span { background: var(--navy); border-color: var(--navy); color: var(--cream); }
.choice input:focus-visible + span { outline: 2px solid var(--terracotta); outline-offset: 2px; }
fieldset[aria-invalid="true"] .choice span { border-color: var(--error); }
.check { display: grid; grid-template-columns: 1.25rem 1fr; gap: 0.85rem; align-items: start; font-size: 0.93rem; line-height: 1.55; color: var(--ink-2); cursor: pointer; }
.check input { appearance: none; width: 1.25rem; height: 1.25rem; margin: 0.12rem 0 0; border: 1px solid var(--grey); background: var(--porcelain); display: grid; place-items: center; cursor: pointer; }
.check input::after { content: ""; width: 0.65rem; height: 0.36rem; border: solid var(--cream); border-width: 0 0 1.6px 1.6px; transform: rotate(-45deg) translate(1px, -1px); opacity: 0; }
.check input:checked { background: var(--navy); border-color: var(--navy); }
.check input:checked::after { opacity: 1; }
.check input[aria-invalid="true"] { border-color: var(--error); }
.check a { color: var(--ink); text-decoration: underline; }
.form__foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; margin-top: 0.5rem; }
.form__status { font-size: 0.93rem; color: var(--ink-2); max-width: 28em; }
.form__status.is-error { color: var(--error); }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-done { position: relative; background: var(--porcelain); padding: clamp(2rem, 5vw, 3.5rem); display: grid; gap: 1.25rem; box-shadow: var(--lift); }
.form-done::before { content: ""; position: absolute; inset: 0.6rem; border: 1px solid var(--line); pointer-events: none; }
@media (max-width: 620px) { .form { grid-template-columns: 1fr; } }

/* ---------- Pages légales ---------- */
.legal { max-width: 48rem; }
.legal h2 { font-size: clamp(1.4rem, 2.2vw, 1.85rem); letter-spacing: -0.015em; margin-top: 3rem; margin-bottom: 1rem; }
.legal p, .legal li { color: var(--ink-2); }
.legal ul { padding-left: 1.2rem; }
.legal .todo { background: rgba(224, 122, 63, 0.16); color: var(--navy); padding: 0 0.3em; font-weight: 600; }

/* ---------- 404 ---------- */
.lost { min-height: 100svh; display: grid; align-content: center; justify-items: center; text-align: center; gap: 1.75rem; padding: calc(var(--header-h) + 2rem) var(--gutter) 4rem; }
.lost__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.5rem 2rem; align-items: center; }

/* ---------- Ouverture de séance (première visite de la séance, accueil) ---------- */
/* Le voile est posé dès le <head> pour éviter tout éclair de contenu avant le rideau. */
.seance body::before { content: ""; position: fixed; inset: 0; z-index: 89; background: var(--cream); }
.curtain { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; background: var(--cream); }
.curtain svg { width: 4.25rem; height: auto; overflow: visible; }

/* ---------- Encart France Rénov' ----------
   Code de la consommation, art. L122-26 ; arrêté du 7 juillet 2026 (art. 6 et annexe III) : bandeau web officiel
   du kit de l'Anah, reproduit sans modification (ni recadrage, ni filtre, ni superposition, ni animation).
   Charte Anah 2026, p. 25 : « en haut de page, ou directement à proximité du texte qui mentionne les travaux » ;
   « la hauteur minimale de l'encart à respecter est de 150 px » ; « sur mobile ou tablette, l'encart prend la pleine
   largeur support ». Choix retenus : directement à proximité du texte qui mentionne les travaux (accueil : juste avant
   la carte des métiers ; La Maison et La Carte : sous le chapeau ; Le Service : entre les temps III et IV ;
   Rendez-vous : au-dessus du formulaire) ; sur ordinateur, le format web officiel du kit à sa taille d'origine,
   701 x 151 px (au-dessus des 150 px ; en px et non en rem, pour ne pas dépendre de la police) ; pleine largeur sur
   téléphone et tablette, en restant dans la zone sûre des écrans à encoche.
   Les variantes ne règlent que margin-top, margin-bottom ou margin-block : la propriété raccourcie margin
   écraserait la pleine largeur mobile. */
.frenov { position: relative; z-index: 1; margin-top: clamp(2.75rem, 6vw, 4.5rem); }
.frenov a { display: block; width: min(100%, 701px); }
.frenov img { display: block; width: 100%; height: auto; }
/* Accueil : juste avant la carte des métiers, centré sur elle. */
.frenov--carte { margin-top: 0; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.frenov--carte a { margin-inline: auto; }
/* La Maison et La Carte : dernier bloc de l'en-tête de page, sous le chapeau, aligné sur la colonne du titre. */
.page-head > .wrap:has(> .frenov) { max-width: 62rem; }
.page-head > .wrap:last-child .frenov { margin-top: clamp(1.75rem, 3vw, 2.75rem); }
.page-head:has(> .wrap:last-child .frenov) { padding-bottom: clamp(2.5rem, 5vw, 4rem); }
/* Le Service : entre les temps III et IV, sur les colonnes des temps (mêmes colonnes que .course : les modifier ensemble). */
.courses:has(+ .frenov--entracte) > .course:last-child { padding-bottom: clamp(2rem, 3vw, 2.5rem); }
.frenov--entracte {
  margin-block: 0; padding-bottom: clamp(3rem, 6vw, 5rem);
  display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 5fr) minmax(0, 5fr); column-gap: clamp(1.5rem, 4vw, 4rem);
}
.frenov--entracte a { grid-column: 2 / -1; }
/* Rendez-vous : au-dessus du formulaire ; sur ordinateur, sur toute la largeur de la grille, aligné à droite sur le
   formulaire. Le saut vers #votre-demande garde l'encart visible au-dessus du formulaire. */
.booking > .frenov { margin-block: 0; }
@media (min-width: 961px) {
  .booking { row-gap: clamp(1.5rem, 2.5vw, 2.25rem); }
  .booking > .frenov { grid-column: 1 / -1; grid-row: 1; }
  .booking > .frenov a { margin-left: auto; }
}
#votre-demande { scroll-margin-top: calc(151px + clamp(1.5rem, 2.5vw, 2.25rem)); }
/* Téléphones et tablettes : pleine largeur (marges du conteneur annulées, sans 100vw qui passerait sous la barre
   de défilement), dans la zone sûre des écrans à encoche. Le second bloc reprend les mêmes règles pour l'iPad muni
   d'un clavier à pavé tactile, qui se présente comme un ordinateur (pointeur fin) ; il ne touche pas les
   ordinateurs portables à écran tactile. */
@media (max-width: 960px), (hover: none) and (pointer: coarse) {
  .page-head > .wrap:has(> .frenov) { max-width: none; }
  .frenov { margin-inline: calc(-1 * var(--gutter)); padding-inline: env(safe-area-inset-left, 0px) env(safe-area-inset-right, 0px); }
  .frenov a { width: 100%; }
  .frenov--entracte { display: block; }
  #votre-demande { scroll-margin-top: calc(100vw * 301 / 1401 + clamp(2.5rem, 6vw, 6rem)); }
}
@supports (-webkit-touch-callout: none) {
  @media (any-pointer: coarse) and (max-width: 1366px) {
    .page-head > .wrap:has(> .frenov) { max-width: none; }
    .frenov { margin-inline: calc(-1 * var(--gutter)); padding-inline: env(safe-area-inset-left, 0px) env(safe-area-inset-right, 0px); }
    .frenov a { width: 100%; }
    .frenov--entracte { display: block; }
    #votre-demande { scroll-margin-top: calc(100vw * 301 / 1401 + clamp(2.5rem, 6vw, 6rem)); }
  }
}
/* Jamais animé, même pendant la transition entre pages : l'encart a son propre calque, affiché d'emblée à sa place. */
.frenov { view-transition-name: frenov; }
::view-transition-group(frenov), ::view-transition-new(frenov) { animation: none; }
::view-transition-old(frenov) { animation: none; opacity: 0; }

/* ---------- Révélations (masquage seulement si le site est prêt à le lever) ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(1.4rem); }
.js [data-reveal].is-in { opacity: 1; transform: none; transition: opacity 1.2s var(--ease-out), transform 1.4s var(--ease-out); transition-delay: var(--d, 0s); }
.js [data-split]:not(.is-split), .js .hero__line:not(.is-split) { visibility: hidden; }
/* Les masques de lignes laissent de la place aux accents et aux jambages. */
.line-mask { padding-block: 0.12em 0.16em; margin-block: -0.12em -0.16em; }

/* ---------- Transitions entre pages ---------- */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out 0.42s var(--ease-move) both; }
::view-transition-new(root) { animation: vt-in 0.8s var(--ease-out) 0.1s both; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-0.75rem); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(1.25rem); } }
/* Navigateurs sans transition entre pages (Firefox) : pas d'entrée en fondu du contenu, qui ferait apparaître
   l'encart France Rénov' en fondu avec lui. */

/* ---------- Moins d'animations ---------- */
@media (prefers-reduced-motion: reduce) {
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
  .js [data-reveal] { transform: none; }
  .js [data-reveal].is-in { transition: opacity 0.3s ease; }
  .steps__numeral span { transition: opacity 0.3s ease; }
  .steps__numeral span:not(.is-on) { opacity: 0; transform: none; }
  .steps__numeral span.is-on { transform: none; }
  .menu, .menu.is-open { transition: none; }
  .menu nav a { transform: none; transition: opacity 0.2s ease; }
  .site-header.is-hidden { transform: none; }
  .hero__globe canvas, .hero__poster { transition: opacity 0.3s ease; }
}

/* ---------- Impression ---------- */
/* L'en-tête fixe ne se répète pas sur chaque page, et rien ne recouvre l'encart France Rénov'. */
@media print {
  .site-header { position: static; transform: none; }
  .skip, .menu, .menu-toggle, [data-globe-toggle], .site-header__inner > .btn { display: none; }
  .hero { min-height: auto; padding-top: 0; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .js [data-split]:not(.is-split), .js .hero__line:not(.is-split) { visibility: visible; }
  .line-mask > * { transform: none !important; }
  .frenov { break-inside: avoid; }
}
