@charset "utf-8";
/* =========================================================================
   Numérisation Valais — feuille de style unique
   Palette : parchemin / sable / argile — chaude et claire, sans bleu
   Typo    : Raleway variable (display + texte) + mono système (données)
   ========================================================================= */

@font-face {
  font-family: "Raleway";
  src: url("/assets/fonts/raleway-var.ttf") format("truetype-variations");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --encre: #3a3229;          /* brun chaud profond — texte et pied de page */
  --encre-2: #4c4136;
  --encre-3: #5e5145;
  --papier: #faf7f2;         /* parchemin — fond général */
  --sable-clair: #f1e9dc;    /* bandes douces */
  --sable-2: #ebd9c4;        /* bande d'appel à l'action */
  --blanc: #ffffff;
  --argile: #a0552f;         /* accent — terre cuite */
  --argile-fonce: #8a4525;
  --argile-clair: #e8a883;   /* accent sur fond sombre */
  --sable: #6a5b4a;          /* texte secondaire */
  --liseré: #e6dccc;

  --mono: ui-monospace, "SFMono-Regular", "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
  --sans: "Raleway", system-ui, -apple-system, "Segoe UI", sans-serif;

  --wrap: 1180px;
  --gut: clamp(1.15rem, 4vw, 2.5rem);
  --sect: clamp(3.4rem, 8vw, 6.5rem);
  --r: 3px;
  --ombre: 0 1px 2px rgba(58, 50, 41, .05), 0 10px 30px -18px rgba(58, 50, 41, .35);
}

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

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

body {
  margin: 0;
  background: var(--papier);
  color: var(--encre);
  font-family: var(--sans);
  font-size: clamp(1rem, .97rem + .2vw, 1.075rem);
  font-weight: 400;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 { margin: 0 0 .55em; line-height: 1.12; letter-spacing: -.018em; font-weight: 800; }
h1 { font-size: clamp(2.1rem, 1.35rem + 3.4vw, 3.9rem); }
h2 { font-size: clamp(1.62rem, 1.2rem + 1.7vw, 2.5rem); }
h3 { font-size: clamp(1.1rem, 1.02rem + .35vw, 1.3rem); font-weight: 700; letter-spacing: -.01em; }
h4 { font-size: 1.02rem; font-weight: 700; }
p { margin: 0 0 1.05em; }
a { color: var(--encre); text-decoration-color: rgba(160, 85, 47, .5); text-underline-offset: .18em; }
a:hover { text-decoration-color: var(--argile); }
img { max-width: 100%; height: auto; display: block; }
strong { font-weight: 700; }
ul, ol { margin: 0 0 1.15em; padding-left: 1.15em; }
li { margin-bottom: .35em; }
hr { border: 0; border-top: 1px solid var(--liseré); margin: 2.5rem 0; }

:focus-visible { outline: 3px solid var(--argile); outline-offset: 3px; border-radius: 2px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--argile); color: #fff; padding: .8rem 1.2rem; font-weight: 700;
}
.skip:focus { left: 0; }

.wrap {
  width: 100%; max-width: var(--wrap); margin-left: auto; margin-right: auto;
  padding-left: 1.5rem; padding-right: 1.5rem;            /* repli navigateurs anciens */
  padding-left: var(--gut); padding-right: var(--gut);
}
.wrap-narrow { max-width: 800px; }

/* étiquette « cote d'archive » : la signature typographique du site */
.label {
  font-family: var(--mono);
  font-size: .69rem;
  letter-spacing: .19em;
  text-transform: uppercase;
  color: var(--argile);
  margin: 0 0 .85rem;
  font-weight: 500;
}
.label::before { content: "▮ "; color: var(--argile); opacity: .55; }
.label-sm { margin-top: 1.6rem; }

/* ---------------------------------------------------------------- entête */
.masthead {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(150%) blur(10px);
  border-bottom: 1px solid var(--liseré);
}
.masthead-inner { display: flex; align-items: center; gap: 1.4rem; min-height: 72px; }

.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; margin-right: auto; }
.brand-txt { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font-weight: 800; font-size: 1.12rem; letter-spacing: -.02em; }
.brand-sub { font-family: var(--mono); font-size: .62rem; letter-spacing: .15em; text-transform: uppercase; color: var(--sable); }

.nav-list { display: flex; gap: .2rem; list-style: none; margin: 0; padding: 0; }
.nav-list > li { margin: 0; position: relative; }
.nav-list a {
  display: block; padding: .55rem .72rem; text-decoration: none; font-weight: 600;
  font-size: .94rem; border-radius: 2px; color: var(--encre);
}
.nav-list a:hover { background: var(--papier); color: var(--argile); }
.nav-list a[aria-current="page"] { color: var(--argile); box-shadow: inset 0 -2px 0 var(--argile); }

.has-sub > .nav-top::after { content: " ↓"; font-size: .7em; color: var(--sable); }
.sub {
  position: absolute; left: 0; top: calc(100% + 6px); min-width: 265px;
  background: #fff; border: 1px solid var(--liseré); box-shadow: var(--ombre);
  list-style: none; margin: 0; padding: .4rem; border-radius: var(--r);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .16s ease, transform .16s ease, visibility .16s;
}
.has-sub:hover .sub, .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: none; }
.sub a { font-weight: 500; font-size: .92rem; }

.masthead-actions { display: flex; align-items: center; gap: 1rem; }

.nav-toggle {
  display: none; width: 44px; height: 44px; border: 1px solid var(--liseré);
  background: #fff; border-radius: 2px; cursor: pointer; padding: 0;
}
.bars, .bars::before, .bars::after {
  display: block; width: 20px; height: 2px; background: var(--encre); margin-inline: auto; content: "";
}
.bars { position: relative; }
.bars::before { position: absolute; top: -6px; }
.bars::after { position: absolute; top: 6px; }

/* ------------------------------------------------------------ fil d'Ariane */
.breadcrumb { background: #fff; border-bottom: 1px solid var(--liseré); }
.breadcrumb ol {
  list-style: none; display: flex; flex-wrap: wrap; gap: .45rem; margin: 0; padding: .7rem 0;
  font-family: var(--mono); font-size: .72rem; letter-spacing: .04em; color: var(--sable);
}
.breadcrumb li { margin: 0; }
.breadcrumb li + li::before { content: "/ "; color: var(--liseré); }
.breadcrumb a { color: var(--sable); text-decoration: none; }
.breadcrumb a:hover { color: var(--argile); }

/* -------------------------------------------------------------- sections */
.section { padding-top: 3.4rem; padding-bottom: 3.4rem; }
.section { padding-top: var(--sect); padding-bottom: var(--sect); }
.section-tight { padding-top: clamp(2.2rem, 5vw, 3.4rem); padding-bottom: clamp(2.2rem, 5vw, 3.4rem); }
.section-paper { background: #fff; border-top: 1px solid var(--liseré); border-bottom: 1px solid var(--liseré); }

.section-head { max-width: 760px; margin-bottom: clamp(1.8rem, 4vw, 2.8rem); }
.section-intro { font-size: clamp(1.02rem, .99rem + .3vw, 1.18rem); color: var(--sable); font-weight: 400; margin: 0; }

.section-dark { background: var(--sable-clair); }
.section-dark .card, .section-dark .table-wrap,
.section-dark .toc, .section-dark .chip { background: #fff; }

.liste-facteurs {
  list-style: none; margin: 1.9rem 0 0; padding: 0;
  display: grid; gap: 1px; background: var(--liseré);
  border: 1px solid var(--liseré); border-radius: var(--r); overflow: hidden;
}
.liste-facteurs li { margin: 0; padding: 1rem 1.2rem; background: #fff; }
.liste-facteurs b { font-weight: 700; }
.devis-note {
  margin: 1.6rem 0 0; max-width: 68ch; color: var(--sable);
  border-left: 3px solid var(--argile); padding-left: 1.1rem;
}

/* ------------------------------------------------------------------ héros */
.hero {
  background: var(--sable-clair);
  color: var(--encre);
  position: relative;
  overflow: hidden;
  /* réglure de registre d'archives */
  background-image: repeating-linear-gradient(to bottom, rgba(58, 50, 41, .045) 0 1px, transparent 1px 34px);
}
.hero::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 1px; background: var(--argile);
}
.hero-grid {
  display: grid; gap: clamp(2rem, 5vw, 3.6rem); align-items: center;
  padding-top: clamp(3rem, 7vw, 5.5rem); padding-bottom: clamp(3rem, 7vw, 5.5rem);
  grid-template-columns: 1fr;
}
.hero h1 { color: var(--encre); max-width: 15ch; }
.hero h1 em { font-style: normal; color: var(--argile); box-shadow: inset 0 -.14em 0 rgba(160, 85, 47, .28); }
.hero .label { color: var(--argile-clair); }
.hero-lead { font-size: clamp(1.06rem, 1rem + .45vw, 1.28rem); color: var(--encre-3); max-width: 52ch; font-weight: 400; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.8rem 0 1.6rem; }
.hero-facts {
  list-style: none; margin: 0; padding: 1.3rem 0 0; border-top: 1px solid rgba(58, 50, 41, .16);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: .9rem 1.4rem;
  font-family: var(--mono); font-size: .74rem; letter-spacing: .07em; color: var(--sable); text-transform: uppercase;
}
.hero-facts li { margin: 0; }
.hero-facts b { display: block; font-family: var(--sans); font-size: 1.02rem; letter-spacing: -.01em; color: var(--encre); text-transform: none; }

/* fiche d'archive — élément signature */
.fiche {
  background: #fff; color: var(--encre); border-radius: var(--r);
  box-shadow: 0 30px 60px -30px rgba(58, 50, 41, .28);
  border-top: 4px solid var(--argile);
}
.fiche-t {
  font-family: var(--mono); font-size: .68rem; letter-spacing: .17em; text-transform: uppercase;
  padding: .85rem 1.15rem; border-bottom: 1px solid var(--liseré); color: var(--sable);
  display: flex; justify-content: space-between; gap: 1rem;
}
.fiche dl { margin: 0; padding: .5rem 1.15rem 1.15rem; }
.fiche div {
  display: flex; align-items: baseline; gap: .5rem; padding: .52rem 0;
  border-bottom: 1px dotted var(--liseré);
}
.fiche div:last-child { border-bottom: 0; }
.fiche dt {
  font-family: var(--mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--sable); flex: none; width: 8.4rem;
}
.fiche dd { margin: 0; font-weight: 600; font-size: .95rem; }
.fiche-out { color: var(--argile); }

/* bandeau des NPA — maillage local */
.npa-strip { border-top: 1px solid rgba(58, 50, 41, .14); }
.npa-inner {
  display: flex; flex-wrap: wrap; align-items: center; gap: .2rem 1.1rem; padding-top: .85rem; padding-bottom: .85rem;
  font-family: var(--mono); font-size: .74rem; letter-spacing: .08em;
}
.npa-inner .npa-t { color: var(--sable); text-transform: uppercase; letter-spacing: .16em; font-size: .68rem; }
.npa-inner a { color: var(--encre); text-decoration: none; padding: .3rem 0; }
.npa-inner a:hover { color: var(--argile); text-decoration: underline; text-decoration-color: var(--argile); }
.npa-inner a b { color: var(--argile); font-weight: 600; margin-right: .35rem; }

/* ------------------------------------------------------------------ boutons */
.btn {
  display: inline-flex; align-items: center; gap: .5rem; padding: .85rem 1.35rem;
  font-weight: 700; font-size: .95rem; text-decoration: none; border-radius: 2px;
  border: 1px solid transparent; cursor: pointer; transition: background .16s ease, color .16s ease, transform .16s ease;
}
.btn-sm { padding: .6rem 1rem; font-size: .88rem; }
.btn-accent { background: var(--argile); color: #fff; }
.btn-accent:hover { background: var(--argile-fonce); color: #fff; transform: translateY(-1px); }
.btn-ghost { border-color: currentColor; color: inherit; }
.btn-ghost:hover { background: rgba(255, 255, 255, .1); }
.section-paper .btn-ghost:hover, .section .btn-ghost:hover { background: rgba(58, 50, 41, .06); }
.btn-dark { background: var(--encre); color: #fff; }
.btn-dark:hover { background: var(--encre-2); color: #fff; }

code {
  font-family: var(--mono); font-size: .86em; background: rgba(58,50,41,.06);
  padding: .12em .38em; border-radius: 2px; word-break: break-word;
}
.lien-fort { font-weight: 700; text-decoration: underline; text-decoration-color: var(--argile); }

/* ------------------------------------------------------------------ grilles */
.grid { display: grid; gap: 1.15rem; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(265px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(215px, 1fr)); }

.card {
  background: #fff; border: 1px solid var(--liseré); border-radius: var(--r);
  padding: 1.5rem 1.4rem; position: relative;
}
.card h3 { margin-bottom: .45rem; }
.card p { margin: 0; color: var(--sable); font-size: .96rem; }
.card-link { text-decoration: none; display: block; transition: border-color .16s ease, transform .16s ease, box-shadow .16s ease; }
.card-link:hover { border-color: var(--encre); transform: translateY(-2px); box-shadow: var(--ombre); }
.card-go { display: inline-block; margin-top: .9rem; font-family: var(--mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--argile); }
.card-go::after { content: " →"; }
.lien-fort { text-decoration-color: var(--argile-clair); }

/* ------------------------------------------------------------------ étapes */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.step {
  display: flex; gap: 1.3rem; padding: 1.4rem 0; border-top: 1px solid var(--liseré); margin: 0;
}
.step:last-child { border-bottom: 1px solid var(--liseré); }
.step-n {
  font-family: var(--mono); font-size: .82rem; color: var(--argile); font-weight: 600;
  flex: none; width: 2.6rem; padding-top: .2rem;
}
.step h3 { margin-bottom: .25rem; }
.step p { margin: 0; color: var(--sable); max-width: 68ch; }

/* ------------------------------------------------------------------ tableau */
.table-wrap { overflow-x: auto; border: 1px solid var(--liseré); border-radius: var(--r); background: #fff; }
.table { border-collapse: collapse; width: 100%; min-width: 540px; font-size: .95rem; }
.table th, .table td { text-align: left; padding: .85rem 1rem; border-bottom: 1px solid var(--liseré); vertical-align: top; }
.table thead th {
  font-family: var(--mono); font-size: .68rem; letter-spacing: .13em; text-transform: uppercase;
  color: var(--sable); background: var(--papier); font-weight: 500;
}
.table tbody tr:last-child td { border-bottom: 0; }
.table td:first-child { font-weight: 600; }
.table-note { font-size: .85rem; color: var(--sable); margin-top: .8rem; }

/* --------------------------------------------------------------------- FAQ */
.faq { border-top: 1px solid var(--liseré); }
.faq-item { border-bottom: 1px solid var(--liseré); }
.faq-item summary {
  cursor: pointer; list-style: none; padding: 1.1rem 2.4rem 1.1rem 0; font-weight: 700;
  position: relative; font-size: 1.04rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; position: absolute; right: .3rem; top: 50%; transform: translateY(-50%);
  font-family: var(--mono); color: var(--argile); font-size: 1.3rem; font-weight: 400;
}
.faq-item[open] summary::after { content: "–"; }
.faq-a { padding: 0 2.4rem 1.3rem 0; color: var(--sable); max-width: 78ch; }
.faq-a p:last-child { margin-bottom: 0; }

/* ------------------------------------------------------------------- prose */
.prose { max-width: 74ch; }
.prose h2 { margin-top: 2.6rem; }
.prose h3 { margin-top: 1.9rem; }
.prose > :first-child { margin-top: 0; }
.prose ul { padding-left: 1.1rem; }
.prose li::marker { color: var(--argile); }
.prose blockquote {
  margin: 1.8rem 0; padding: .3rem 0 .3rem 1.3rem; border-left: 3px solid var(--argile);
  font-size: 1.08rem; color: var(--encre); font-weight: 500;
}

.split { display: grid; gap: clamp(1.8rem, 5vw, 3.4rem); grid-template-columns: 1fr; align-items: start; }
.split-media { position: relative; }

.fig { margin: 0; border-radius: var(--r); overflow: hidden; background: var(--liseré); }
.fig img { width: 100%; }
.fig-cap { font-family: var(--mono); font-size: .7rem; letter-spacing: .08em; color: var(--sable); padding-top: .6rem; text-transform: uppercase; }

/* ------------------------------------------------------------------ puces + */
.checks { list-style: none; padding: 0; margin: 0 0 1.2rem; }
.checks li { position: relative; padding-left: 1.6rem; margin-bottom: .55rem; }
.checks li::before {
  content: "✓"; position: absolute; left: 0; top: 0; color: var(--argile); font-weight: 700;
}
.deux-col { columns: 2; column-gap: 2.2rem; }
.deux-col li { break-inside: avoid; }

/* ------------------------------------------------------------------- chips */
.chips { display: flex; flex-wrap: wrap; gap: .6rem; }
.chip {
  display: inline-flex; align-items: baseline; gap: .55rem; text-decoration: none;
  border: 1px solid var(--liseré); background: #fff; padding: .6rem 1rem; border-radius: 2px;
  font-weight: 600; transition: border-color .16s ease, background .16s ease;
}
.chip:hover { border-color: var(--encre); background: var(--papier); }
.chip-npa { font-family: var(--mono); font-size: .74rem; color: var(--argile); }
.chips-more { margin-top: 1.2rem; }
.npa { font-family: var(--mono); font-size: .72rem; color: var(--sable); }

/* ---------------------------------------------------------------- sommaire */
.toc {
  background: #fff; border: 1px solid var(--liseré); border-left: 3px solid var(--argile);
  padding: 1.2rem 1.3rem; border-radius: var(--r); margin-bottom: 2.4rem;
}
.toc ul { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 1.8rem; }
.toc li { margin-bottom: .4rem; break-inside: avoid; }
.toc a { font-size: .93rem; font-weight: 600; text-decoration: none; }
.toc a:hover { color: var(--argile); text-decoration: underline; }

/* --------------------------------------------------------------------- CTA */
.cta-band { background: var(--sable-2); color: var(--encre); }
.cta-inner { display: grid; gap: 1.8rem; align-items: center; }
.cta-band h2 { color: var(--encre); margin-bottom: .4rem; }
.cta-band p { color: var(--encre-3); margin: 0; max-width: 60ch; }
.cta-actions { display: flex; flex-wrap: wrap; gap: .75rem; }

/* ---------------------------------------------------------------- formulaire */
.form { display: grid; gap: 1.1rem; background: #fff; border: 1px solid var(--liseré); padding: clamp(1.3rem, 4vw, 2.1rem); border-radius: var(--r); }
.champ { display: grid; gap: .35rem; }
.champ label { font-weight: 700; font-size: .92rem; }
.champ .aide { font-size: .82rem; color: var(--sable); }
.champ input, .champ select, .champ textarea {
  font: inherit; font-size: .98rem; padding: .72rem .85rem; border: 1px solid var(--liseré);
  border-radius: 2px; background: var(--papier); color: var(--encre); width: 100%;
}
.champ input:focus, .champ select:focus, .champ textarea:focus { border-color: var(--encre); background: #fff; }
.champ textarea { min-height: 140px; resize: vertical; }
.form-deux { display: grid; gap: 1.1rem; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.pot { position: absolute; left: -9999px; }
.form-note { font-size: .85rem; color: var(--sable); margin: 0; }

.encart {
  background: #fff; border: 1px solid var(--liseré); border-top: 3px solid var(--encre);
  padding: 1.4rem 1.5rem; border-radius: var(--r); margin: 2rem 0;
}
.encart p:last-child { margin-bottom: 0; }
.encart h3 { margin-top: 0; }

.coord-list { list-style: none; padding: 0; margin: 0; }
.coord-list li { display: flex; gap: .9rem; padding: .75rem 0; border-bottom: 1px solid var(--liseré); margin: 0; }
.coord-list b { font-family: var(--mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--sable); width: 6.5rem; flex: none; padding-top: .2rem; font-weight: 500; }

/* ------------------------------------------------------------------- pied */
.footer { background: var(--encre); color: #d8cbb8; padding-top: clamp(2.8rem, 6vw, 4.2rem); font-size: .93rem; }
.footer-grid { display: grid; gap: 2.2rem; grid-template-columns: 1fr; padding-bottom: 2.6rem; }
.footer .label { color: var(--argile-clair); }
.footer-name { font-weight: 800; font-size: 1.15rem; color: #fff; margin: .8rem 0 .2rem; }
.footer-bl { color: #b3a189; margin-bottom: 1rem; }
.footer-adr { font-style: normal; line-height: 1.75; }
.footer-hours { font-family: var(--mono); font-size: .74rem; color: #b3a189; margin-top: .7rem; letter-spacing: .04em; }
.footer a { color: #e4d6c2; text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; text-decoration-color: var(--argile); }
.footer-list { list-style: none; margin: 0; padding: 0; }
.footer-list li { margin-bottom: .5rem; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .12); padding-top: 1.3rem; padding-bottom: 1.3rem;
  display: flex; flex-wrap: wrap; gap: .4rem 1.5rem; justify-content: space-between;
  font-family: var(--mono); font-size: .7rem; letter-spacing: .05em; color: #a08d74;
}
.footer-bottom p { margin: 0; }

/* ------------------------------------------------------------- responsive */
@media (min-width: 720px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
  .cta-inner { grid-template-columns: 1.6fr auto; }
}

@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1.15fr .85fr; }
  .hero-solo { grid-template-columns: 1fr; }
  .hero-solo h1 { max-width: 20ch; }
  .hero-solo .hero-facts { max-width: 780px; }
  .split { grid-template-columns: 1.1fr .9fr; }
  .split-inverse .split-media { order: -1; }
}

@media (max-width: 979px) {
  .nav {
    position: fixed; inset: 72px 0 auto 0; background: #fff; border-bottom: 1px solid var(--liseré);
    padding: .8rem var(--gut) 1.4rem; display: none; max-height: calc(100vh - 72px); overflow-y: auto;
  }
  .nav-open .nav { display: block; }
  .nav-list { flex-direction: column; gap: 0; }
  .nav-list > li { border-bottom: 1px solid var(--liseré); }
  .nav-list a { padding: .9rem .2rem; font-size: 1.02rem; }
  .sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 .6rem .9rem; }
  .sub a { padding: .5rem .2rem; }
  .nav-toggle { display: block; }
}

@media (max-width: 560px) {
  .deux-col, .toc ul { columns: 1; }
  .masthead-actions .btn { display: none; }
  .fiche dt { width: 6.6rem; font-size: .64rem; }
}

/* ----------------------------------------------------------- animations */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease; }
.reveal.vu { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

@media print {
  .masthead, .footer, .cta-band, .nav, .skip, .breadcrumb { display: none !important; }
  body { background: #fff; font-size: 11pt; }
  .section { padding-top: 1rem; padding-bottom: 1rem; }
}
