/* Linkfo, feuille de style unique. Direction « Service compris » : une carte de restaurant bien composée.
   Mobile d'abord, CSS natif, aucune bibliothèque. Palette de la charte en :root, aucun texte sous 4,5 de contraste
   (Numéroteur seulement sur Nappe, jamais en fond). Coins 4 px, 6 px pour la feuille. Ni dégradé ni flou. */

@font-face {
  font-family: "Young Serif";
  src: url("../fonts/young-serif-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("../fonts/instrument-sans-latin.woff2") format("woff2");
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --nappe: #F7F8F3;
  --bouteille: #1F3D30;
  --encre: #18211C;
  --duplicata: #F2D46B;
  --numeroteur: #B8382B;
  --sauge: #DCE5DA;
  --encre-douce: #4A564F;          /* 7,2 sur Nappe, 6 sur Sauge */
  --filet: rgba(24, 33, 28, .15);
  --filet-fort: rgba(24, 33, 28, .32);
  --filet-clair: rgba(247, 248, 243, .22);

  --titre: "Young Serif", Georgia, "Times New Roman", serif;
  --texte: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --largeur: 1200px;
  --lecture: 68ch;
  --gouttiere: 16px;
  --rayon: 4px;
  --rayon-feuille: 6px;
  --respire: clamp(56px, 9vw, 120px);
  --nav-h: 64px;
  --duree: .6s;
  --courbe: cubic-bezier(.2, .7, .2, 1);
}
@media (min-width: 48em) { :root { --gouttiere: 32px; } }
@media (min-width: 64em) { :root { --nav-h: 72px; } }

/* ---------------------------------------------------------------------------------------------
   Base
   --------------------------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--nappe);
  color: var(--encre);
  font-family: var(--texte);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-variant-numeric: tabular-nums;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { text-decoration-thickness: 2px; }
strong, b { font-weight: 600; }
:focus-visible { outline: 2px solid var(--bouteille); outline-offset: 3px; border-radius: 2px; }
.surface-bouteille :focus-visible, .pied :focus-visible { outline-color: var(--duplicata); }
main:focus { outline: none; }
mark.a-completer { background: var(--duplicata); color: var(--encre); padding: 0 .2em; border-radius: 2px; }

.in { width: 100%; max-width: calc(var(--largeur) + 2 * var(--gouttiere)); margin-inline: auto; padding-inline: var(--gouttiere); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.evite { position: absolute; left: 16px; top: -100px; z-index: 100; background: var(--bouteille); color: var(--nappe); padding: 10px 16px; border-radius: var(--rayon); }
.evite:focus { top: 12px; }

/* ---------------------------------------------------------------------------------------------
   Typographie
   --------------------------------------------------------------------------------------------- */
.h1, .t2, .carte-nom, .partenaires-noms, .bon-total b, .guides-titre { font-family: var(--titre); font-weight: 400; color: var(--bouteille); }
.h1 { font-size: clamp(2.25rem, 1.4rem + 3.6vw, 4rem); line-height: 1.06; letter-spacing: -.012em; text-wrap: balance; }
.h1.h1-long { font-size: clamp(2rem, 1.35rem + 2.7vw, 3.35rem); line-height: 1.1; }
.h1-lecture { font-size: clamp(2rem, 1.4rem + 2.4vw, 3.2rem); line-height: 1.1; max-width: 28ch; }
.t2 { font-size: clamp(1.9rem, 1.45rem + 1.7vw, 3rem); line-height: 1.12; letter-spacing: -.008em; text-wrap: balance; margin-bottom: .55em; }
.t2-petit { font-size: clamp(1.4rem, 1.2rem + .8vw, 1.85rem); }
h3 { font-size: 1.0625rem; font-weight: 600; line-height: 1.35; }
.chapo { font-size: clamp(1.125rem, 1.05rem + .35vw, 1.3rem); line-height: 1.5; color: var(--encre); max-width: 40em; }
.chapo + .chapo { margin-top: .8em; }
.note, .actions-note, figcaption { font-size: .9rem; color: var(--encre-douce); }
.texte > * + *, .prose > * + *, .reponse > * + * { margin-top: 1em; }
.texte, .prose { max-width: var(--lecture); }
.liste { padding-left: 1.2em; }
.liste li + li { margin-top: .4em; }
.liste li::marker { color: var(--encre-douce); }
.texte .liste, .prose .liste { margin-top: .8em; }

/* ---------------------------------------------------------------------------------------------
   Boutons et liens fléchés
   --------------------------------------------------------------------------------------------- */
.bt {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: .7em 1.35em;
  font: 600 1rem/1.2 var(--texte); text-decoration: none; text-align: center;
  border: 1.5px solid var(--bouteille); border-radius: var(--rayon); cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.bt-plein { background: var(--bouteille); color: var(--nappe); }
.bt-plein:hover { background: var(--encre); border-color: var(--encre); }
.bt-trait { background: transparent; color: var(--bouteille); }
.bt-trait:hover { background: var(--bouteille); color: var(--nappe); }
.bt-petit { min-height: 40px; padding: .5em 1em; font-size: .9375rem; }
.bt-large { width: 100%; min-height: 54px; font-size: 1.0625rem; }
.bt:disabled { opacity: 1; cursor: not-allowed; color: var(--encre-douce); border-color: var(--filet-fort); background: transparent; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.actions-note { margin-top: 12px; }

.fleche-ligne { margin-top: 1.4em; }
.fleche {
  display: inline-flex; align-items: baseline; gap: .45em;
  font-weight: 600; color: var(--bouteille); text-decoration: none;
  background: linear-gradient(var(--duplicata), var(--duplicata)) left bottom / 100% 2px no-repeat;
  padding-bottom: 2px;
}
.fleche::after { content: "\2192"; transition: transform .25s var(--courbe); }
.fleche:hover::after { transform: translateX(4px); }
.fleche:hover { background-size: 100% 3px; }

/* ---------------------------------------------------------------------------------------------
   Navigation
   --------------------------------------------------------------------------------------------- */
.nav { position: sticky; top: 0; z-index: 50; background: var(--nappe); border-bottom: 1px solid var(--filet); }
.nav-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: var(--nav-h); flex-wrap: wrap; }
.nav-logo { display: block; flex: none; padding: 6px 0; }
.nav-logo img { width: 128px; height: auto; }
.nav-liens ul { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 18px; }
.nav-liens a:not(.bt) { font-size: .9375rem; font-weight: 500; text-decoration: none; padding: 6px 0; display: inline-block; border-bottom: 2px solid transparent; }
.nav-liens a:not(.bt):hover { border-bottom-color: var(--filet-fort); }
.nav-liens a[aria-current="page"]:not(.bt), .nav-liens a.dans { border-bottom-color: var(--bouteille); color: var(--bouteille); }
.nav-cta { min-height: 44px; padding: .55em 1.1em; font-size: .9375rem; }
.nav-bascule {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 14px;
  font: 600 .9375rem/1 var(--texte); color: var(--bouteille); background: transparent;
  border: 1.5px solid var(--bouteille); border-radius: var(--rayon); cursor: pointer;
}
.nav-bascule[hidden] { display: none; }
.nav-bascule-trait, .nav-bascule-trait::before, .nav-bascule-trait::after { display: block; width: 16px; height: 1.5px; background: currentColor; position: relative; transition: transform .2s; }
.nav-bascule-trait::before, .nav-bascule-trait::after { content: ""; position: absolute; left: 0; }
.nav-bascule-trait::before { top: -5px; }
.nav-bascule-trait::after { top: 5px; }
.nav-bascule[aria-expanded="true"] .nav-bascule-trait { background: transparent; }
.nav-bascule[aria-expanded="true"] .nav-bascule-trait::before { transform: translateY(5px) rotate(45deg); }
.nav-bascule[aria-expanded="true"] .nav-bascule-trait::after { transform: translateY(-5px) rotate(-45deg); }

/* Sans JavaScript : la navigation se replie en liste sous le logo. */
.nav-liens { width: 100%; padding: 4px 0 14px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; }
/* Avec JavaScript, en petit écran : panneau ouvert par le bouton Menu. */
@media (max-width: 63.99em) {
  .js .nav-liens { display: none; }
  .js .nav-liens[data-ouvert] {
    display: block; position: absolute; left: 0; right: 0; top: 100%;
    background: var(--nappe); border-bottom: 1px solid var(--filet); padding: 8px var(--gouttiere) 24px;
    max-height: calc(100dvh - var(--nav-h)); overflow-y: auto;
  }
  .js .nav-liens[data-ouvert] ul { flex-direction: column; gap: 0; }
  .js .nav-liens[data-ouvert] li a:not(.bt) { display: block; padding: 14px 0; font-size: 1.0625rem; border-bottom: 1px solid var(--filet); }
  .js .nav-liens[data-ouvert] .nav-cta { width: 100%; margin-top: 20px; min-height: 52px; }
}
@media (min-width: 64em) {
  .nav-in { flex-wrap: nowrap; }
  .nav-logo img { width: 140px; }
  .nav-bascule { display: none !important; }
  .nav-liens { width: auto; padding: 0; flex-wrap: nowrap; gap: 28px; }
  .nav-liens ul { flex-wrap: nowrap; gap: 20px; }
}

/* ---------------------------------------------------------------------------------------------
   Sections et surfaces
   --------------------------------------------------------------------------------------------- */
.bloc { padding-block: var(--respire); }
.surface-nappe { background-color: var(--nappe); }
.surface-sauge { background-color: var(--sauge); }
.surface-bouteille { background-color: var(--bouteille); color: var(--nappe); }
/* Deux sections Nappe de suite : un filet fin dans la largeur de page. */
.surface-nappe + .surface-nappe {
  background-image: linear-gradient(var(--filet), var(--filet));
  background-size: min(var(--largeur), calc(100% - 2 * var(--gouttiere))) 1px;
  background-position: top center; background-repeat: no-repeat;
}

/* ---------------------------------------------------------------------------------------------
   Haut de page
   --------------------------------------------------------------------------------------------- */
.haut { padding-block: clamp(40px, 7vw, 96px) clamp(48px, 8vw, 104px); }
.haut-in { display: grid; gap: 40px; align-items: center; }
.haut-texte .chapo { margin-top: 22px; }
.haut-seul .haut-texte { max-width: 52rem; }
.haut-visuel { position: relative; }
.haut-visuel .photo img { border-radius: var(--rayon); width: 100%; }
.haut-visuel figcaption { margin-top: 10px; }
.jeton-haut { position: absolute; right: -10px; top: -26px; width: 84px; height: 84px; transform: rotate(-8deg); }
.jeton-seul { position: static; margin-bottom: 24px; }
.haut-tampon { display: none; }
@media (min-width: 60em) {
  .haut-seul { grid-template-columns: minmax(0, 9fr) minmax(0, 3fr); }
  .haut-tampon { display: flex; justify-content: center; align-self: start; padding-top: 8px; }
  .haut-tampon .jeton-grand { position: static; width: 128px; height: 128px; }
}
@media (min-width: 60em) {
  .haut-deux { grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 56px; }
  .jeton-haut { right: -22px; top: -30px; }
}

/* Accueil : la première ligne du H1 en petit, « Service compris. » en grand. */
.h1-accueil { display: flex; flex-direction: column; gap: 14px; }
.h1-ligne { font-family: var(--texte); font-size: clamp(1rem, .95rem + .3vw, 1.15rem); font-weight: 600; letter-spacing: 0; line-height: 1.35; color: var(--bouteille); }
.h1-grand { font-size: clamp(3.1rem, 1.6rem + 6.4vw, 6.4rem); line-height: .98; letter-spacing: -.02em; }
.promesse { margin-top: 22px; font-family: var(--titre); font-size: clamp(1.3rem, 1.15rem + .7vw, 1.75rem); line-height: 1.3; color: var(--encre); max-width: 26ch; }
.haut-accueil .chapo { font-size: 1.0625rem; color: var(--encre-douce); max-width: 34em; margin-top: 16px; }

/* ---------------------------------------------------------------------------------------------
   Photos
   --------------------------------------------------------------------------------------------- */
.photo img { width: 100%; border-radius: var(--rayon); background: var(--sauge); }
.photo figcaption { margin-top: 10px; }

/* ---------------------------------------------------------------------------------------------
   Points à la manière d'une carte : intitulé, ligne de conduite, phrase
   --------------------------------------------------------------------------------------------- */
.points-carte { display: grid; gap: 32px; }
.points-tete .chapo { margin-top: 0; }
.carte-liste { list-style: none; border-top: 1px solid var(--filet-fort); }
.carte-liste li { display: grid; gap: 4px; padding: 16px 0; border-bottom: 1px solid var(--filet); }
.carte-titre { display: flex; align-items: baseline; gap: 10px; }
.carte-titre b { font-weight: 600; flex: none; max-width: 80%; }
.conduite { flex: 1 1 auto; min-width: 24px; height: .7em; border-bottom: 1.5px dotted var(--filet-fort); transform-origin: left center; }
.carte-phrase { color: var(--encre-douce); }
.fin-liste { margin-top: 1.4em; font-family: var(--titre); font-size: 1.25rem; line-height: 1.35; color: var(--bouteille); max-width: 30ch; }
@media (min-width: 48em) {
  .carte-liste li { grid-template-columns: minmax(12rem, 5fr) 7fr; gap: 0; align-items: baseline; }
  .carte-titre .conduite { margin-right: 14px; }
}
@media (min-width: 60em) {
  .points-carte { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 72px; align-items: start; }
  .points-carte .points-tete { position: sticky; top: calc(var(--nav-h) + 32px); }
}

/* Points en grille (seconde forme, pour ne jamais répéter la mise en page de la section précédente). */
.points-grille { list-style: none; display: grid; gap: 28px 40px; margin-top: 32px; }
.points-grille li { border-top: 2px solid var(--bouteille); padding-top: 16px; }
.points-grille h3 { font-family: var(--titre); font-weight: 400; font-size: 1.35rem; line-height: 1.25; color: var(--bouteille); }
.points-grille p { margin-top: 8px; color: var(--encre-douce); }
.points-grille-in .points-tete { max-width: 46rem; }
@media (min-width: 48em) { .points-grille { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 64em) { .points-grille.n3, .points-grille.n6 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ---------------------------------------------------------------------------------------------
   Texte et image
   --------------------------------------------------------------------------------------------- */
.ti-split, .ti-colonne, .ti-photo { display: grid; gap: 24px; }
.ti-tete .t2 { margin-bottom: 0; }
@media (min-width: 60em) {
  .ti-split { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 72px; align-items: start; }
  .ti-split .ti-tete { position: sticky; top: calc(var(--nav-h) + 32px); }
  .ti-colonne { grid-template-columns: minmax(0, 1fr); max-width: calc(var(--lecture) + 2 * var(--gouttiere) + 8rem); padding-left: calc(var(--gouttiere) + 8%); margin-left: auto; margin-right: auto; }
  .ti-colonne .ti-tete .t2 { margin-bottom: 0; }
  .ti-photo { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 72px; align-items: center; }
  .ti-photo.ti-gauche { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
  .ti-photo.ti-gauche .ti-figure { order: -1; }
}
.ti-figure .photo img { max-height: 80vh; object-fit: cover; }

/* ---------------------------------------------------------------------------------------------
   Étapes : 01, 02… en Numéroteur, un filet qui s'écrit de gauche à droite
   --------------------------------------------------------------------------------------------- */
.etapes-tete { max-width: 46rem; margin-bottom: 36px; }
.etapes { list-style: none; display: grid; gap: 32px; counter-reset: none; }
.etape { position: relative; padding-top: 20px; }
.etape::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1.5px; background: var(--bouteille); transform-origin: left center; }
.etape-n { display: block; font-family: var(--titre); font-size: 2.6rem; line-height: 1; color: var(--numeroteur); font-variant-numeric: tabular-nums lining-nums; margin-bottom: 14px; }
.etape h3 { font-size: 1.125rem; }
.etape p { margin-top: 6px; color: var(--encre-douce); }
@media (min-width: 48em) { .etapes { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 32px; } }
@media (min-width: 64em) {
  .etapes.n3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .etapes.n4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .etapes.n5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
.etapes-lecture { grid-template-columns: minmax(0, 1fr) !important; gap: 24px; margin-top: 8px; }

/* ---------------------------------------------------------------------------------------------
   La feuille : bon de commande, bon de demande, carte d'exemple
   --------------------------------------------------------------------------------------------- */
.feuille {
  background: var(--nappe); color: var(--encre); border-radius: var(--rayon-feuille);
  padding: clamp(20px, 3.5vw, 36px); box-shadow: 0 1px 2px rgba(24, 33, 28, .06), 0 10px 28px -14px rgba(24, 33, 28, .22);
}
.feuille-titre { font-family: var(--titre); font-size: 1.35rem; color: var(--bouteille); padding-bottom: 14px; border-bottom: 1.5px solid var(--bouteille); }

.bon-in { display: grid; gap: 40px; }
.bon-suite { margin-top: 1em; max-width: 34em; }
.bon-colonnes { display: flex; justify-content: space-between; font-size: .8125rem; font-weight: 600; letter-spacing: .04em; color: var(--encre-douce); padding: 10px 0 6px; border-bottom: 1px solid var(--filet); }
.bon-lignes { list-style: none; }
.bon-lignes li { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px dotted var(--filet-fort); }
.bon-designation b { display: block; }
.bon-designation span { display: block; color: var(--encre-douce); font-size: .9375rem; line-height: 1.45; }
.coche { flex: none; width: 22px; height: 22px; border: 1.5px solid var(--bouteille); border-radius: 3px; position: relative; margin-top: 2px; }
.coche::after { content: ""; position: absolute; left: 6px; top: 2px; width: 6px; height: 11px; border: solid var(--bouteille); border-width: 0 2px 2px 0; transform: rotate(45deg); transform-origin: center; }
.bon-total { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 18px; }
.bon-total b { font-size: clamp(1.6rem, 1.3rem + 1vw, 2.1rem); font-weight: 400; }
.jeton-bon { width: 64px; height: 64px; transform: rotate(-10deg); flex: none; }
@media (min-width: 60em) {
  .bon-in { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 72px; align-items: center; }
  .bon { max-width: 560px; justify-self: end; width: 100%; }
}

/* ---------------------------------------------------------------------------------------------
   Accueil : chevalet, partenaires, services, extrait de carte
   --------------------------------------------------------------------------------------------- */
.chevalet-in { display: grid; gap: 32px; align-items: center; }
.chevalet-figure { max-width: 340px; margin-inline: auto; width: 100%; }
.chevalet-figure .chevalet-svg { width: 100%; height: auto; }
.chevalet-figure figcaption { text-align: center; margin-top: 12px; }
.chevalet-texte > p:not(.fleche-ligne) { max-width: 34em; }
.chevalet-texte > p + p { margin-top: 1em; }
@media (min-width: 60em) { .chevalet-in { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 72px; } }

.partenaires { padding-block: clamp(40px, 6vw, 72px); }
.partenaires-in { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px 40px; }
.partenaires .t2 { margin: 0; }
.partenaires-noms { list-style: none; display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 40px; font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.6rem); line-height: 1.2; }

.services-in { display: grid; gap: 40px; }
.services-liste { list-style: none; display: grid; gap: 0; margin-top: 8px; }
.services-liste li { padding: 18px 0; border-top: 1px solid var(--filet); }
.services-liste li:last-child { border-bottom: 1px solid var(--filet); }
.services-liste p { margin-top: 4px; color: var(--encre-douce); max-width: 36em; }
.extrait { max-width: 440px; width: 100%; justify-self: center; }
.extrait figcaption { margin-top: 12px; text-align: center; }
@media (min-width: 60em) { .services-in { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 72px; align-items: center; } }

.carte-exemple { padding: clamp(24px, 4vw, 40px); }
.carte-nom { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 1.75rem; line-height: 1.15; padding-bottom: 14px; border-bottom: 1.5px solid var(--bouteille); }
.carte-style { font-family: var(--texte); font-size: .875rem; font-weight: 600; color: var(--encre-douce); }
.carte-section { margin-top: 20px; }
.carte-section h4, .carte-section-titre { font-family: var(--texte); font-size: .8125rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--encre-douce); margin-bottom: 6px; }
.carte-plats { list-style: none; }
.carte-plats li { padding: 9px 0; }
.carte-plats li + li { border-top: 1px solid var(--filet); }
.plat { display: flex; align-items: baseline; gap: 8px; }
.plat-nom { font-weight: 600; }
.plat .conduite { margin-inline: 2px; height: .65em; }
.prix { font-family: var(--titre); color: var(--numeroteur); font-variant-numeric: tabular-nums lining-nums; white-space: nowrap; }
.carte-plats small { display: block; font-size: .9375rem; color: var(--encre-douce); margin-top: 2px; }

/* ---------------------------------------------------------------------------------------------
   Questions
   --------------------------------------------------------------------------------------------- */
.faq-in { display: grid; gap: 24px; }
@media (min-width: 60em) { .faq-in { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 72px; align-items: start; } }
.faq { border-top: 1px solid var(--filet-fort); }
.question { border-bottom: 1px solid var(--filet); }
.question summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: baseline; gap: 20px;
  padding: 20px 0; font-weight: 600; font-size: 1.125rem; line-height: 1.4;
}
.question summary::-webkit-details-marker { display: none; }
.question summary::after { content: "+"; font-family: var(--titre); font-size: 1.6rem; line-height: 1; color: var(--bouteille); flex: none; transition: transform .25s var(--courbe); }
.question[open] summary::after { transform: rotate(45deg); }
.question summary:hover { color: var(--bouteille); }
.reponse { padding: 0 0 24px; max-width: var(--lecture); color: var(--encre); }

/* ---------------------------------------------------------------------------------------------
   Bon de demande (aplat Bouteille)
   --------------------------------------------------------------------------------------------- */
.demande { padding-block: var(--respire); }
.demande-in { display: grid; gap: 40px; }
.demande .t2 { color: var(--nappe); }
.demande .chapo { color: var(--nappe); }
.demande-rappel { list-style: none; margin-top: 28px; display: grid; gap: 10px; }
.demande-rappel li { display: flex; gap: 12px; align-items: baseline; }
.demande-rappel li::before { content: ""; flex: none; width: 14px; height: 7px; border: solid var(--duplicata); border-width: 0 0 2px 2px; transform: rotate(-45deg) translateY(-3px); }
@media (min-width: 60em) { .demande-in { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 72px; align-items: start; } .demande-feuille { max-width: 560px; justify-self: end; width: 100%; } }
.demande-feuille .feuille-titre { margin-bottom: 8px; }
.champ { display: grid; gap: 6px; margin-top: 18px; }
.champ label { font-weight: 600; font-size: .9375rem; }
.champ label i { font-style: normal; font-weight: 400; color: var(--encre-douce); }
.champ input, .champ textarea {
  width: 100%; font: 400 1rem/1.4 var(--texte); color: var(--encre); background: var(--nappe);
  border: 0; border-bottom: 1.5px solid var(--filet-fort); border-radius: 0; padding: 10px 2px;
}
.champ textarea { resize: vertical; min-height: 88px; border: 1.5px solid var(--filet-fort); border-radius: var(--rayon); padding: 10px 12px; }
.champ input::placeholder, .champ textarea::placeholder { color: #66726A; }
.champ input:focus, .champ textarea:focus { outline: none; border-color: var(--bouteille); box-shadow: 0 1.5px 0 var(--bouteille); }
.champ textarea:focus { box-shadow: 0 0 0 1px var(--bouteille); }
.champ-erreur input, .champ-erreur textarea { border-color: var(--numeroteur); }
.champ-aide { font-size: .875rem; color: var(--numeroteur); }
.form-erreur { margin-top: 16px; padding: 12px 14px; border-left: 3px solid var(--numeroteur); background: var(--sauge); color: var(--encre); font-size: .9375rem; }
.form-erreur[hidden] { display: none; }
.demande-feuille .bt-large { margin-top: 24px; }
.form-rgpd { margin-top: 14px; font-size: .875rem; color: var(--encre-douce); }
.form-rgpd a { color: var(--bouteille); }
.demande-feuille { position: relative; }
.piege { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* ---------------------------------------------------------------------------------------------
   Schéma de l'adresse tampon (page menu QR code)
   --------------------------------------------------------------------------------------------- */
.schema-in { display: grid; gap: 24px; }
.tampon-schema { border: 1px solid var(--filet-fort); border-radius: var(--rayon-feuille); padding: clamp(20px, 4vw, 40px); }
.schema-ligne { list-style: none; display: grid; gap: 0; justify-items: center; text-align: center; }
.schema-pas { display: grid; justify-items: center; gap: 6px; padding: 8px 0; }
.schema-pas b { font-family: var(--titre); font-weight: 400; font-size: 1.35rem; color: var(--bouteille); }
.schema-pas span { font-size: .9375rem; color: var(--encre-douce); }
.schema-qr img { width: 72px; height: 72px; }
.schema-adresse { border: 1.5px solid var(--bouteille); border-radius: var(--rayon); padding: 14px 22px; }
.schema-carte { background: var(--sauge); border-radius: var(--rayon); padding: 18px 26px; min-width: 12rem; }
.schema-fil { width: 0; height: 40px; border-left: 1.5px dotted var(--bouteille); transform-origin: top center; }
.schema-pied { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 28px; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--filet); }
.numr { font-family: var(--titre); color: var(--numeroteur); font-size: 1.25rem; }
.schema-explique { max-width: var(--lecture); }
@media (min-width: 48em) {
  .schema-ligne { grid-template-columns: auto minmax(40px, 1fr) auto minmax(40px, 1fr) auto; align-items: center; }
  .schema-fil { justify-self: stretch; width: auto; height: 0; border-left: 0; border-top: 1.5px dotted var(--bouteille); align-self: center; transform-origin: left center; margin-inline: 12px; }
}

/* ---------------------------------------------------------------------------------------------
   Formats de chevalet (dessins)
   --------------------------------------------------------------------------------------------- */
.galerie-tete { max-width: 46rem; }
.formats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 20px; margin-top: 32px; }
.format { display: grid; gap: 10px; align-content: end; }
.format .chevalet-svg { width: 100%; height: auto; }
.format figcaption { text-align: center; color: var(--encre); }
@media (min-width: 60em) { .formats { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; } }

/* ---------------------------------------------------------------------------------------------
   Gabarit de lecture : guides et pages d'intendance
   --------------------------------------------------------------------------------------------- */
.haut-lecture { padding-bottom: clamp(32px, 5vw, 64px); border-bottom: 1px solid var(--filet); }
.haut-lecture .chapo { max-width: 38em; }
.lecture { display: grid; gap: 0; padding-bottom: var(--respire); }
.lecture-corps { min-width: 0; }
.lecture .bloc { padding-block: 0; margin-top: clamp(40px, 6vw, 72px); }
.lecture .t2 { font-size: clamp(1.6rem, 1.35rem + 1vw, 2.25rem); }
.prose { max-width: var(--lecture); }
.prose-large { max-width: none; }
.prose h3 { margin-top: 1.6em; }
.prose a { color: var(--bouteille); }
.sommaire { margin-top: 28px; }
.sommaire details { border: 1px solid var(--filet-fort); border-radius: var(--rayon); padding: 0 16px; }
.sommaire summary { cursor: pointer; padding: 12px 0; font-weight: 600; color: var(--bouteille); }
.sommaire ol { list-style: none; counter-reset: s; padding-bottom: 14px; display: grid; gap: 2px; }
.sommaire li { counter-increment: s; display: flex; gap: 10px; font-size: .9375rem; line-height: 1.4; }
.sommaire li::before { content: counter(s, decimal-leading-zero); color: var(--numeroteur); font-variant-numeric: tabular-nums; flex: none; padding-top: 6px; }
.sommaire a { text-decoration: none; padding: 6px 0; display: block; }
.sommaire a:hover { text-decoration: underline; }
.sommaire a[aria-current="true"] { color: var(--bouteille); font-weight: 600; }
@media (min-width: 64em) {
  .lecture { grid-template-columns: 260px minmax(0, 1fr); gap: 72px; align-items: start; }
  .lecture-seule { grid-template-columns: minmax(0, 1fr); }
  .sommaire { position: sticky; top: calc(var(--nav-h) + 24px); margin-top: clamp(40px, 6vw, 72px); max-height: calc(100vh - var(--nav-h) - 48px); overflow-y: auto; }
  .sommaire details { border: 0; border-left: 1px solid var(--filet-fort); border-radius: 0; padding: 0 0 0 18px; }
  .sommaire summary { pointer-events: none; list-style: none; padding-top: 0; }
  .sommaire summary::-webkit-details-marker { display: none; }
}

.tableau-cadre { margin-top: 20px; overflow-x: auto; border-top: 1.5px solid var(--bouteille); max-width: 100%; }
.tableau { width: 100%; border-collapse: collapse; font-size: .9375rem; line-height: 1.45; }
.tableau th, .tableau td { text-align: left; vertical-align: top; padding: 12px 16px 12px 0; border-bottom: 1px solid var(--filet); }
.tableau thead th { font-size: .8125rem; font-weight: 600; letter-spacing: .04em; color: var(--encre-douce); white-space: nowrap; }
.tableau tbody th { font-weight: 600; min-width: 9rem; }
.tableau td { min-width: 12rem; }
.tableau-bloc .note { margin-top: 12px; max-width: var(--lecture); }

.citation { max-width: var(--lecture); border-left: 3px solid var(--bouteille); padding: 4px 0 4px 24px; }
.citation blockquote { font-family: var(--titre); font-size: clamp(1.2rem, 1.1rem + .5vw, 1.45rem); line-height: 1.45; color: var(--bouteille); }
.citation blockquote p + p { margin-top: .6em; }
.citation figcaption { margin-top: 12px; }
.citation figcaption a { color: var(--encre-douce); }

.encart-linkfo { max-width: var(--lecture); background: var(--sauge); border-radius: var(--rayon-feuille); padding: clamp(24px, 4vw, 36px); display: grid; gap: 18px; }
.encart-linkfo > div > * + * { margin-top: 1em; }
.encart-linkfo .t2 { margin-bottom: 0; }
.jeton-encart { width: 56px; height: 56px; transform: rotate(-8deg); }
@media (min-width: 48em) { .encart-linkfo { grid-template-columns: 56px minmax(0, 1fr); gap: 24px; } }

.exemple-bloc .carte-exemple { max-width: 520px; margin-top: 20px; }
.exemple-nom { font-family: var(--titre); font-weight: 400; font-size: 1.5rem; color: var(--bouteille); }

.sources-liste { padding-left: 1.6em; font-size: .9375rem; display: grid; gap: 8px; }
.sources-liste li::marker { color: var(--numeroteur); font-variant-numeric: tabular-nums; }
.sources-liste a { color: var(--encre); }
.source-date { color: var(--encre-douce); }

.telechargement { max-width: var(--lecture); border: 1px dashed var(--filet-fort); border-radius: var(--rayon); padding: 20px 24px; }
.telechargement > * + * { margin-top: 12px; }

.lecture .faq { margin-top: 8px; }

/* Sommaire des guides */
.guides-bloc { padding-block: clamp(32px, 5vw, 64px) var(--respire); }
.guides-liste { list-style: none; display: grid; border-top: 1px solid var(--filet-fort); }
.guides-liste li { display: grid; gap: 8px; padding: 26px 0; border-bottom: 1px solid var(--filet); }
.guides-titre { font-size: clamp(1.35rem, 1.2rem + .6vw, 1.75rem); line-height: 1.25; }
.guides-titre a { text-decoration: none; }
.guides-titre a:hover { text-decoration: underline; text-decoration-color: var(--duplicata); text-decoration-thickness: 2px; }
.guides-liste p { color: var(--encre-douce); max-width: var(--lecture); }
@media (min-width: 60em) { .guides-liste li { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 56px; align-items: baseline; } }

/* Pages système : confirmation et 404 */
.haut-systeme { min-height: 52vh; display: flex; align-items: center; }
.haut-systeme .note { margin-top: 16px; }

/* ---------------------------------------------------------------------------------------------
   Notes de maquette (version locale, ?notes=1 seulement)
   --------------------------------------------------------------------------------------------- */
.notes { padding-block: 32px; background: var(--sauge); }
.notes summary { cursor: pointer; font-weight: 600; }
.notes ul { margin-top: 12px; padding-left: 1.2em; display: grid; gap: 6px; font-size: .9375rem; max-width: var(--lecture); }

/* ---------------------------------------------------------------------------------------------
   Pied
   --------------------------------------------------------------------------------------------- */
.pied { background: var(--encre); color: var(--nappe); padding-top: clamp(48px, 7vw, 88px); font-size: .9375rem; }
.pied a { color: var(--nappe); text-decoration: none; }
.pied a:hover { text-decoration: underline; text-decoration-color: var(--duplicata); }
.pied a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--duplicata); text-decoration-thickness: 2px; }
.pied-in { display: grid; gap: 40px; padding-bottom: 48px; }
.pied-marque img { width: 150px; height: auto; }
.pied-marque p { margin-top: 18px; max-width: 30em; color: #C9D2CB; }
.pied-partenaires { color: var(--nappe) !important; }
.pied-titre { font-family: var(--titre); font-size: 1.15rem; margin-bottom: 12px; color: var(--duplicata); }
.pied-titre a { color: var(--duplicata); }
.pied-liens ul { list-style: none; display: grid; gap: 4px; }
.pied-liens a { display: inline-block; padding: 4px 0; }
.pied-ancien p { color: #C9D2CB; max-width: 22em; }
.lien-clair { display: inline-block; margin-top: 10px; padding-bottom: 2px; border-bottom: 2px solid var(--duplicata); font-weight: 600; }
.pied-bas { position: relative; display: flex; flex-wrap: wrap; gap: 8px 28px; padding-block: 20px 28px; color: #C9D2CB; font-size: .875rem; }
.pied-bas::before { content: ""; position: absolute; top: 0; left: var(--gouttiere); right: var(--gouttiere); border-top: 1px solid var(--filet-clair); }
.pied-bas ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 24px; margin-left: auto; }
@media (min-width: 48em) { .pied-in { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 64em) { .pied-in { grid-template-columns: minmax(0, 4fr) minmax(0, 3fr) minmax(0, 4fr) minmax(0, 3fr); gap: 40px; } }

/* ---------------------------------------------------------------------------------------------
   Mouvement discret : glissement latéral de 12 px, lignes qui s'écrivent, jeton posé comme un tampon.
   Seulement si html.mvt (JavaScript présent et mouvement permis) ; visible sans JavaScript.
   --------------------------------------------------------------------------------------------- */
@media (prefers-reduced-motion: no-preference) {
  .mvt .revele { opacity: 0; transform: translateX(-12px); transition: opacity var(--duree) var(--courbe), transform var(--duree) var(--courbe); }
  .mvt:not(.mvt-pret) .revele, .mvt:not(.mvt-pret) .jeton { animation: secours 0s 2.5s forwards; }
  .mvt .revele.vu { opacity: 1; transform: none; }
  .mvt .revele .conduite, .mvt .revele .etape::before, .mvt .revele .schema-fil { transform: scaleX(0); transition: transform .9s var(--courbe) .2s; }
  .mvt .revele .schema-fil { transform: scale(0); }
  .mvt .revele.vu .conduite, .mvt .revele.vu .etape::before, .mvt .revele.vu .schema-fil { transform: none; }
  .mvt .jeton { opacity: 0; transition: opacity .3s ease-out, transform .3s ease-out; }
  .mvt .jeton-haut { transform: rotate(-8deg) scale(1.15); }
  .mvt .jeton-bon { transform: rotate(-10deg) scale(1.15); }
  .mvt .jeton-encart { transform: rotate(-8deg) scale(1.15); }
  .mvt .jeton.vu { opacity: 1; }
  .mvt .jeton-haut.vu { transform: rotate(-8deg) scale(1); }
  .mvt .jeton-seul.vu { transform: rotate(-8deg) scale(1); }
  .mvt .jeton-bon.vu { transform: rotate(-10deg) scale(1); }
  .mvt .jeton-encart.vu { transform: rotate(-8deg) scale(1); }
}
@keyframes secours { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; scroll-behavior: auto !important; }
}

@media print {
  .nav, .demande, .pied, .sommaire { display: none; }
  body { background: #fff; }
}
