/* Composants (ARCHITECTURE.md §4). Les états suivent direction-artistique.md §1 :
   repos, survol (pointeur fin seulement, voir motion.css), focus visible, actif, désactivé, erreur sans rouge. */

/* ---------- typographie ---------- */
.t-display {
  font-size: var(--t-display);
  font-weight: 300;
  line-height: .92;
  letter-spacing: -.05em;
  text-wrap: balance;
  hyphens: none;
}
.t-h2 {
  font-size: var(--t-h2);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -.04em;
  text-wrap: balance;
  hyphens: none;
}
.t-h3 {
  font-size: var(--t-h3);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -.025em;
}
.t-display strong, .t-h2 strong { font-weight: 600; }
.chapeau {
  font-size: var(--t-chapeau);
  line-height: 1.34;
  letter-spacing: -.012em;
  max-width: 44rem;
  text-wrap: pretty;
}
.mono-petit {
  font-family: var(--mono);
  font-size: var(--t-mono);
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--encre-3);
}

/* légende « NN — TITRE » : numéro en encre, titre en encre-3 */
.legende { color: var(--encre-3); margin: 0; white-space: nowrap; }
.legende__n, .legende__t--plein { color: var(--encre); }

/* ---------- icônes en ligne (flèches SVG) ---------- */
.ico { display: inline-block; flex: none; width: 11px; height: 11px; vertical-align: baseline; fill: none; }
.ico--fleche { width: 22px; height: 10px; }
.ico--haut { width: 10px; height: 11px; }
.ico--chevron { width: 10px; height: 10px; }

/* ---------- boutons et liens d'action (pas de pilule, pas de lueur) ---------- */
.bouton {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding-block: .5em;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -.012em;
  text-decoration: none;
}
.bouton::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: currentColor;
}
.bouton:active { transform: translateY(1px); }
.bouton:active::after { height: 2px; }
.bouton--grand { font-size: clamp(1.25rem, .45vw + 1.15rem, 1.375rem); min-height: 56px; }
.bouton--haut { font-size: 15px; min-height: 44px; padding-block: .6em; white-space: nowrap; }
.bouton[aria-disabled="true"], .bouton:disabled { color: var(--encre-off); cursor: not-allowed; }
.bouton[aria-disabled="true"]::after, .bouton:disabled::after { background: var(--encre-off); }
.bouton[aria-busy="true"] { cursor: progress; }

/* étiquette pleine : fond encre, texte ivoire, angles droits */
.bouton--plein {
  min-height: 48px;
  padding: .7em 1.1em;
  background: var(--encre);
  color: var(--ivoire);
  box-shadow: 0 14px 18px -12px rgba(0, 0, 0, .5);
}
.bouton--plein::after { display: none; }
.bouton--plein:focus-visible { outline: 2px solid var(--encre); outline-offset: 4px; box-shadow: 0 0 0 2px var(--ivoire); }

@media (max-width: 767px) {
  .bouton--grand { width: 100%; justify-content: space-between; padding: .7em 1.1em; background: var(--encre); color: var(--ivoire); box-shadow: 0 14px 18px -12px rgba(0, 0, 0, .5); }
  .bouton--grand::after { display: none; }
  .bouton--grand:focus-visible { outline: 2px solid var(--encre); outline-offset: 4px; box-shadow: 0 0 0 2px var(--ivoire); }
}

.lien-secondaire {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -.012em;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: .28em;
}
.lien--ext { white-space: nowrap; }

/* ---------- étiquette de statut ---------- */
.etiquette {
  display: inline-block;
  padding: 2px 6px;
  border: 1px solid var(--encre);
  color: var(--encre);
  background: transparent;
  white-space: nowrap;
}

/* ---------- géste : conteneurs des gestes manuscrits (remplis par hand.js) ---------- */
.geste-cible { position: relative; display: inline-block; white-space: inherit; }
.geste {
  position: absolute;
  pointer-events: none;
  overflow: visible;
  color: var(--main-trait);
}
.geste svg { position: absolute; inset: -.12em -.18em; width: calc(100% + .36em); height: calc(100% + .24em); overflow: visible; pointer-events: none; }
/* entourage de « comprendre. » : déborde plus haut et plus bas, pour passer au-delà de l'ascendante du « d » et de la descendante du « p » (viewBox 570 × 146) */
[data-geste="entourage"] > .geste svg { inset: -.30em -.20em; width: calc(100% + .40em); height: calc(100% + .60em); }
.annotation {
  font-family: var(--main);
  font-size: var(--t-annotation);
  line-height: 1.18;
  letter-spacing: -.012em;
  word-spacing: -.11em;
  color: var(--main-texte);
  -webkit-text-stroke: .45px currentColor;
  max-width: 20ch;
  text-wrap: balance;
}

/* ---------- en-tête ---------- */
.entete {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  height: var(--entete-h);
  background: rgba(242, 238, 230, .97);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: height var(--d-lien) var(--ease-out), border-color var(--d-lien) var(--ease-out);
}
.entete--reduit { height: 60px; border-bottom-color: var(--filet); background: rgba(242, 238, 230, .985); }
.entete__tel { font-family: var(--mono); font-size: var(--t-mono); font-weight: 500; letter-spacing: .07em; white-space: nowrap; padding-block: 12px; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .35em; }
.entete__in {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 100%;
}
.entete__id { display: flex; align-items: baseline; gap: 10px; min-width: 0; }
.entete__nom { font-size: 15px; font-weight: 500; letter-spacing: -.012em; line-height: 1; white-space: nowrap; padding-block: 12px; }
.entete__role { color: var(--encre-3); white-space: nowrap; display: none; }
.entete__repere {
  display: none;
  align-items: center;
  gap: 9px;
  margin: 0;
  color: var(--encre-3);
  white-space: nowrap;
}
.entete__repere .point { width: 6px; height: 6px; border-radius: 50%; background: var(--encre); }
.entete__nav { display: none; align-items: center; gap: 30px; }
.entete__liens { display: flex; gap: 30px; }
.entete__liens a {
  display: inline-block;
  padding-block: 12px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -.012em;
  line-height: 1;
  white-space: nowrap;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-decoration-thickness: 1px;
  text-underline-offset: .5em;
}
.entete__liens a[aria-current="location"] { text-decoration-color: var(--encre); }
.entete__menu {
  min-height: 44px;
  padding-inline: 4px;
  color: var(--encre);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: .35em;
}
@media (min-width: 480px) { .entete__role { display: inline; } }
@media (min-width: 1024px) {
  .entete__nav { display: flex; gap: 24px; }
  .entete__liens { gap: 24px; }
  .entete__menu { display: none; }
  .entete__role { display: none; }
}
@media (min-width: 1180px) {
  .entete__role { display: inline; }
  .entete__nav { gap: 30px; }
  .entete__liens { gap: 30px; }
}
@media (min-width: 1280px) { .entete__repere { display: flex; } }

.entete__nav-simple { display: flex; align-items: center; }
.ico--retour { transform: scaleX(-1); }

/* ---------- panneau de menu (téléphone et tablette) ---------- */
.menu-panneau {
  position: fixed;
  inset: 0;
  z-index: 40;
  padding: calc(60px + 28px) var(--marge) calc(28px + env(safe-area-inset-bottom));
  background: var(--ivoire);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  clip-path: inset(0 0 100% 0);
  transition: clip-path var(--d-panneau) var(--ease-inout);
  overflow-y: auto;
}
.menu-panneau[hidden] { display: none; }
.menu-panneau--ouvert { clip-path: inset(0); }
.menu-panneau__nav ol { display: grid; }
.menu-panneau__nav a {
  display: flex;
  align-items: baseline;
  gap: 18px;
  padding-block: 14px;
  border-bottom: 1px solid var(--filet);
}
.menu-panneau__n { color: var(--encre-3); flex: none; min-width: 3ch; white-space: nowrap; }
.menu-panneau__t { font-size: 40px; font-weight: 300; line-height: 1.05; letter-spacing: -.04em; }
.menu-panneau__t strong { font-weight: 600; }
.menu-panneau__pied { color: var(--encre-3); margin-top: 28px; }
html.menu-ouvert { overflow: hidden; }
@media (min-width: 1024px) { .menu-panneau { display: none; } }

/* ---------- barre du bas (téléphone et tablette) ---------- */
.barre-bas {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 45;
  display: flex;
  background: var(--encre);
  color: var(--ivoire);
  padding-bottom: env(safe-area-inset-bottom);
  transform: translateY(100%);
  visibility: hidden;
  transition: transform var(--d-panneau) var(--ease-out), visibility 0s linear var(--d-panneau);
}
.barre-bas--visible { transform: none; visibility: visible; transition: transform var(--d-panneau) var(--ease-out), visibility 0s; }
.barre-bas__lien {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -.012em;
  text-align: center;
}
.barre-bas__lien + .barre-bas__lien { border-left: 1px solid rgba(242, 238, 230, .25); }
@media (min-width: 1024px) { .barre-bas { display: none; } }

/* ---------- utilitaires de texte ---------- */
.lien .ico { margin-left: 5px; }

/* ---------- tirage ---------- */
.tirage { position: relative; margin: 0; transform: rotate(var(--r, 0deg)); transform-origin: 50% 50%; }
.tirage__cadre {
  position: relative;
  overflow: hidden;
  background: #d9d6cf;
  box-shadow: var(--ombre-tirage), 0 0 0 1px var(--bord-tirage);
}
.tirage__cadre img, .tirage__cadre video { width: 100%; height: auto; filter: var(--filtre-tirage); }
.tirage__legende { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px 16px; margin-top: 12px; }
.tirage__titre { color: var(--encre-3); flex: 1 1 auto; min-width: 0; overflow-wrap: normal; }
.tirage__legende .etiquette { flex: none; }
.tirage__phrase, .planche__phrase { max-width: 34rem; margin-top: 12px; font-size: var(--t-petit); line-height: 1.5; color: var(--encre-2); text-wrap: pretty; }
@media (max-width: 767px) { .tirage { transform: rotate(calc(var(--r, 0deg) * .5)); } }

/* ---------- exemple 01 : deux sites concept (bascule) ; sur téléphone, une bande d'écrans à faire glisser ---------- */
.bascule { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; }
.bascule[hidden] { display: none; }
.bascule__bouton {
  appearance: none; font: inherit; cursor: pointer; min-height: 44px; padding: 0 18px;
  font-size: var(--t-petit); font-weight: 500; letter-spacing: -.005em;
  color: var(--encre); background: transparent; border: 1px solid var(--encre);
  transition: background-color .2s var(--ease-out, ease), color .2s var(--ease-out, ease);
}
.bascule__bouton[aria-pressed="true"] { background: var(--encre); color: var(--ivoire); }
@media (hover: hover) { .bascule__bouton[aria-pressed="false"]:hover { background: rgba(18, 17, 16, .07); } }
.tirage--sites[data-ex="boulangerie"] [data-ex-id="cabinet"],
.tirage--sites[data-ex="cabinet"] [data-ex-id="boulangerie"] { display: none; }
.ex + .ex { border-top: 1px solid var(--bord-tirage); }
.tirage--sites:not([data-ex]) .tirage__legende { flex-wrap: wrap; }
.tirage--sites:not([data-ex]) .tirage__titre { flex: 1 1 100%; }
.ex__bande, .ex__aide { display: none; }
@media (max-width: 767px) {
  .ex__bureau { display: none; }
  .ex__bande {
    display: flex; gap: 12px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
    padding: 16px 16px 12px; scrollbar-width: none; -webkit-overflow-scrolling: touch;
  }
  .ex__bande::-webkit-scrollbar { display: none; }
  .tirage__cadre .ex__bande img { flex: 0 0 80%; width: 80%; scroll-snap-align: center; border-radius: 0; }
  .ex__aide { display: block; margin: 0; padding: 0 16px 14px; text-align: center; color: var(--encre-3); font-size: var(--t-mono); }
}


/* ---------- boucle vidéo ---------- */
.boucle { background: #1b1a18; }
.boucle video { aspect-ratio: 1280 / 628; object-fit: cover; }
.boucle__bouton {
  position: absolute;
  right: 12px; bottom: 12px;
  min-width: 44px; min-height: 44px;
  padding: 0 14px;
  background: var(--ivoire);
  color: var(--encre);
  border: 1px solid var(--encre);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: .07em;
}
.boucle__bouton:active { transform: translateY(1px); }

/* ---------- schéma (Exemple 05) : quatre cases, avec un exemple de garage ---------- */
.schema-fig {
  position: relative;
  margin: 0;
  padding: clamp(20px, 2.4vw, 36px);
  background: var(--papier);
  box-shadow: var(--ombre-tirage), 0 0 0 1px var(--bord-tirage);
  transform: rotate(1.2deg);
}
.schema-fig__corps { position: relative; }
.schema { width: 100%; }
.schema svg { width: 100%; height: auto; overflow: visible; color: var(--encre); }
.schema text { font-family: var(--sans); fill: var(--encre); }
.schema .schema__titre { font-size: 27px; font-weight: 500; letter-spacing: -.02em; }
.schema .schema__sous { font-family: var(--mono); font-size: 14px; font-weight: 500; letter-spacing: .05em; fill: var(--encre-2); }
.schema .schema__num text { font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: .07em; fill: var(--encre-3); }
.schema .schema__txt--ivoire, .schema .schema__num text.schema__num--ivoire { fill: var(--ivoire); }
.schema-fig .tirage__legende { margin-top: 20px; padding-top: 14px; border-top: 1px solid var(--filet); }
@media (min-width: 768px) {
  .schema { width: 63%; }
  .schema-fig__corps .annot--n2 { position: absolute; left: calc(63% + 64px); right: 0; top: 56%; transform: translateY(-50%) rotate(-2deg); }
  .annot--n2 .annotation { max-width: 100%; }
  .annot--n2 .geste { left: 0; top: 0; }
}
@media (max-width: 767px) {
  .schema-fig { transform: none; }
  .schema .schema__titre { font-size: 31px; }
  .schema .schema__sous { font-size: 19px; letter-spacing: .03em; }
  .schema .schema__num text { font-size: 15px; }
  .schema-fig .schema svg { max-width: 380px; margin-inline: auto; }
  .schema-fig__corps .annot--n2 { position: static; margin: 18px 0 0 6px; transform: rotate(-1.4deg); transform-origin: left center; }
  .annot--n2 .geste { display: none; }
}

/* ---------- annotations (position propre à chaque pièce dans sections.css) ---------- */
.annot { position: relative; }

/* ---------- lettre (questions fréquentes) ---------- */
.lettre {
  position: relative;
  padding: clamp(24px, 3.1vw, 44px);
  background: linear-gradient(180deg, var(--lueur-a), var(--lueur-b)), var(--papier);
  box-shadow: var(--ombre-tirage), 0 0 0 1px rgba(18, 17, 16, .08);
  transform: rotate(-.6deg);
}
.lettre__entete { color: var(--encre-3); }
.lettre__onglets { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; margin-top: 20px; }
.lettre__q {
  max-width: 100%;
  padding: .6em .95em;
  border: 1px solid var(--encre);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -.012em;
  text-align: left;
  text-wrap: balance;
}
.lettre__q[aria-selected="true"] { background: var(--encre); color: var(--ivoire); box-shadow: 0 14px 18px -12px rgba(0, 0, 0, .5); }
.lettre__q:focus-visible { outline-offset: 3px; }
.lettre__reponses { display: grid; margin-top: 30px; }
.lettre__r { grid-area: 1 / 1; visibility: hidden; padding-block: 2px; }
.lettre__r[data-actif="true"] { visibility: visible; }
.lettre__r:focus-visible { outline-offset: 8px; }
.lettre__r p { font-size: clamp(1rem, .35vw + .94rem, 1.1875rem); line-height: 1.5; max-width: 36rem; text-wrap: pretty; }
.lettre__r p + p { margin-top: .8em; }
.lettre__r-titre { display: none; font-size: 1.125rem; font-weight: 600; margin-bottom: .5em; }
.lettre__sign { font-weight: 500; letter-spacing: -.012em; }
.lettre__r .lettre__sign { margin-top: 1.1em; }
.lettre__mention { margin-top: 28px; padding-top: 16px; border-top: 1px solid var(--filet); color: var(--encre-3); }
.lettre__cloture { margin-top: 10px; font-size: var(--t-petit); }
html:not(.js) .lettre__onglets { display: none; }
html:not(.js) .lettre__r { grid-area: auto; visibility: visible; margin-bottom: 28px; }
html:not(.js) .lettre__reponses { display: block; }
html:not(.js) .lettre__r-titre { display: block; }
@media (max-width: 767px) {
  /* téléphone : accordéon, la réponse s'ouvre juste sous sa question (la hauteur de la lettre ne « saute » plus sous le doigt) */
  .lettre { transform: none; display: flex; flex-direction: column; }
  html.js .lettre__onglets, html.js .lettre__reponses { display: contents; }
  html.js .lettre__entete { order: 0; }
  html.js .lettre__q { align-self: stretch; margin-top: 8px; min-height: 48px; }
  html.js .lettre__q:first-of-type { margin-top: 20px; }
  html.js .lettre__r { margin: 14px 0 8px; padding-left: 14px; border-left: 2px solid var(--encre); }
  html.js .lettre__r[data-actif="false"] { display: none; }
  html.js #q1-onglet { order: 1; } html.js #q1-reponse { order: 2; }
  html.js #q2-onglet { order: 3; } html.js #q2-reponse { order: 4; }
  html.js #q3-onglet { order: 5; } html.js #q3-reponse { order: 6; }
  html.js #q4-onglet { order: 7; } html.js #q4-reponse { order: 8; }
  html.js #q5-onglet { order: 9; } html.js #q5-reponse { order: 10; }
  html.js #q6-onglet { order: 11; } html.js #q6-reponse { order: 12; }
  html.js .lettre__mention { order: 20; }
  html.js .lettre__cloture { order: 21; }
}

/* ---------- « Une autre question ? » ---------- */
.autre { display: grid; gap: 10px; margin-top: var(--s-6); max-width: 28rem; }
.autre__titre { font-size: var(--t-h3); font-weight: 600; letter-spacing: -.025em; line-height: 1.15; }
.autre__aide { font-size: var(--t-petit); color: var(--encre-2); }
.autre__champ {
  width: 100%;
  min-height: 96px;
  padding: .7em .85em;
  background: transparent;
  border: 1px solid var(--encre-4);
  border-radius: 0;
  font-size: 16px;
  line-height: 1.45;
  resize: vertical;
}
.autre__champ::placeholder { color: var(--encre-3); opacity: 1; }
.autre__bouton { justify-self: start; }
.autre__mention { margin-top: 4px; text-transform: none; letter-spacing: .02em; font-family: var(--sans); font-size: var(--t-petit); }

/* ---------- formulaire ---------- */
.form { display: grid; gap: 0; align-content: start; }
.form__titre { color: var(--encre); padding-bottom: 12px; border-bottom: 1px solid var(--filet-fort); margin: 0; }
.form__resume, .champ__erreur {
  padding: 8px 0 8px 12px;
  border-left: 2px solid var(--encre);
  font-size: 15px;
  line-height: 1.45;
  color: var(--encre);
}
.form__resume { margin-top: 20px; }
.form__resume strong, .champ__erreur strong { font-weight: 600; }
.form__resume[hidden], .champ__erreur[hidden] { display: none; }
.champ { display: grid; gap: 6px; margin-top: 26px; align-content: start; }
.champ__label {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -.005em;
  line-height: 1.35;
  color: var(--encre-2);
}
.champ__aide { font-size: var(--t-petit); color: var(--encre-3); margin-top: -2px; }
.champ__saisie {
  width: 100%;
  padding: .7em .85em;
  background: var(--papier);
  border: 1px solid var(--encre-4);
  border-radius: 0;
  font-size: 17px;
  line-height: 1.35;
  color: var(--encre);
}
.champ__saisie::placeholder { color: var(--encre-3); opacity: 1; }
.champ__saisie:focus { outline: none; border-color: var(--encre); box-shadow: inset 0 0 0 1px var(--encre); background: #fffdf9; }
.champ__saisie:focus-visible { outline: 2px solid var(--encre); outline-offset: 3px; box-shadow: 0 0 0 2px var(--ivoire); }
.champ__saisie--zone { min-height: 7.5em; resize: vertical; }
.champ__saisie--liste {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 36px;
  background-color: var(--papier);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1.5L6 6.5L11 1.5' fill='none' stroke='%23121110' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  border-radius: 0;
  cursor: pointer;
}
.champ--erreur .champ__saisie { border-color: var(--encre); box-shadow: inset 0 0 0 1px var(--encre); }
.champ--case { position: relative; grid-template-columns: auto 1fr; align-items: center; gap: 14px; margin-top: 22px; min-height: 48px; }
.champ--case label { font-size: 16px; cursor: pointer; padding-block: 10px; }
.champ--case label::before { content: ""; position: absolute; inset: 0; }
.case {
  appearance: none;
  -webkit-appearance: none;
  width: 28px; height: 28px;
  margin: 0;
  border: 1.5px solid var(--encre);
  border-radius: 0;
  background: transparent;
  cursor: pointer;
  display: grid;
  place-items: center;
}
.case:checked { background: var(--encre); background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='11' viewBox='0 0 14 11'><path d='M1.5 5.5L5.2 9L12.5 1.5' fill='none' stroke='%23F2EEE6' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/></svg>"); background-repeat: no-repeat; background-position: center; }
.champ[hidden] { display: none; }
.champ-piege { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }

.form__plus { margin-top: 24px; border-top: 1px solid var(--filet); padding-top: 4px; }
.form__plus-bouton { display: flex; align-items: center; justify-content: space-between; min-height: 48px; font-weight: 500; font-size: 16px; list-style: none; }
.form__plus-bouton::-webkit-details-marker { display: none; }
.form__plus-bouton .ico--chevron { transition: transform var(--d-lien) var(--ease-out); }
.form__plus[open] .form__plus-bouton .ico--chevron { transform: rotate(90deg); }
.form__plus-corps { padding-bottom: 6px; }

.form__envoi { margin-top: 32px; display: grid; gap: 10px; justify-items: start; }
.form__aide { font-size: var(--t-petit); color: var(--encre-2); max-width: 28rem; }
.form__mention { margin-top: 6px; text-transform: none; letter-spacing: .02em; font-family: var(--sans); font-size: var(--t-petit); max-width: 30rem; }
.form__noscript { margin-top: 18px; padding: 8px 0 8px 12px; border-left: 2px solid var(--encre); }
html:not(.js) .form__envoi .bouton--envoi { display: none; }
.form__statut { margin-top: 18px; font-weight: 500; }
.form__statut:empty { display: none; }
.panneau-copie {
  margin-top: 24px;
  padding: 22px;
  background: var(--papier);
  box-shadow: var(--ombre-tirage), 0 0 0 1px rgba(18, 17, 16, .08);
  display: grid;
  gap: 14px;
  justify-items: start;
}
.panneau-copie[hidden] { display: none; }
.panneau-copie__phrase { font-weight: 500; max-width: 32rem; }
.panneau-copie__texte {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--encre-4);
  border-radius: 0;
  background: var(--ivoire);
  font-size: 15px;
  line-height: 1.5;
  resize: vertical;
}
.panneau-copie__etat { min-height: 1.5em; }

/* ---------- étapes de méthode ---------- */
.etape__n { display: block; font-size: var(--t-chiffre); font-weight: 300; line-height: .8; letter-spacing: -.06em; font-variant-numeric: tabular-nums; }
.etape__titre { margin-top: var(--s-4); }
.etape__fait { margin-top: 10px; }
.etape__fait { max-width: 22rem; text-wrap: pretty; }
.etape__recoit { margin-top: 14px; font-size: var(--t-petit); line-height: 1.5; color: var(--encre); max-width: 22rem; text-wrap: pretty; }
.etape__recoit .mono { display: block; color: var(--encre-3); margin-bottom: 3px; }

/* ---------- bloc prix ---------- */
.prix__ligne { padding: 16px 0 20px; border-top: 1px solid var(--filet); display: grid; gap: 8px; }
.prix__ligne p:not(.prix__legende) { max-width: 36rem; text-wrap: pretty; }
.prix__legende { color: var(--encre); }
.prix__liste { display: grid; gap: 4px; }
.prix__liens { display: flex; flex-wrap: wrap; gap: 4px 28px; padding-top: 16px; border-top: 1px solid var(--filet); }

/* ---------- frise et détail du parcours ---------- */
.frise__dates { color: var(--encre-3); font-variant-numeric: tabular-nums; }
.frise__lieu { color: var(--encre-3); }
.frise__texte { text-wrap: pretty; }
.frise__texte strong { font-weight: 600; }
.detail-parcours { margin-top: var(--s-5); }
.detail-parcours__bouton { display: inline-flex; align-items: center; gap: 12px; min-height: 48px; font-weight: 500; font-size: 16px; list-style: none; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .28em; }
.detail-parcours__bouton::-webkit-details-marker { display: none; }
.detail-parcours__bouton .ico--chevron { transition: transform var(--d-lien) var(--ease-out); }
.detail-parcours[open] .detail-parcours__bouton .ico--chevron { transform: rotate(90deg); }
.detail-parcours__ouvert { display: none; }
.detail-parcours[open] .detail-parcours__ouvert { display: inline; }
.detail-parcours[open] .detail-parcours__ferme { display: none; }
.detail-parcours__corps { margin-top: var(--s-3); border-top: 1px solid var(--filet); }
.detail-parcours__corps li { display: grid; gap: 4px; padding: 16px 0; border-bottom: 1px solid var(--filet); }
.detail-parcours__corps li .mono { color: var(--encre-3); }
.detail-parcours__corps li p:not(.mono) { font-size: var(--t-petit); max-width: 40rem; line-height: 1.5; text-wrap: pretty; }
.detail-parcours__note { margin-top: 14px; color: var(--encre-3); }

/* ---------- cibles tactiles : 44 px au moins (téléphone, tablette, écrans tactiles) ---------- */
@media (max-width: 1279px), (pointer: coarse) {
  .entete__nom { padding-block: 15px; }
  .entete__liens a { padding-block: 15px; }
  .acces-rapide a { min-height: 44px; }
  .lettre__q { min-height: 44px; }
  .contact__infos a.lien { display: inline-block; padding-block: 12px; }
  .pied__liens a, .pied__liens span { min-height: 44px; }
  .detail-parcours__bouton, .form__plus-bouton { min-height: 48px; }
}

/* téléphone tourné (écran bas) : le menu tient en entier, sans défilement */
@media (max-height: 520px) and (orientation: landscape) {
  .menu-panneau { padding-top: 72px; padding-bottom: 12px; }
  .menu-panneau__nav a { padding-block: 6px; }
  .menu-panneau__t { font-size: 26px; }
  .menu-panneau__pied { margin-top: 8px; }
}
