/* gynexpert.be — feuille de style (identité sobre : nuit, papier, laiton) */
:root {
  --papier: #fbfaf7;
  --papier-2: #f1eee8;
  --blanc: #ffffff;
  --nuit: #0f1a2b;
  --nuit-2: #16243a;
  --nuit-3: #22324c;
  --encre: #16181c;
  --texte: #3b4049;
  --doux: #6a707b;
  --ligne: #dedad2;
  --ligne-nuit: rgba(255,255,255,.14);
  --clair-nuit: #c9d1dc;
  --laiton: #a8865a;
  --laiton-clair: #d8c3a2;
  --lien: #24456f;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: "SF Mono", ui-monospace, Menlo, Consolas, "Liberation Mono", monospace;
  --max: 1180px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--papier); color: var(--texte); font: 17px/1.7 var(--sans); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--lien); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--nuit); }
h1, h2, h3 { font-family: var(--serif); color: var(--encre); font-weight: 400; line-height: 1.15; margin: 0 0 .55em; letter-spacing: -.005em; }
h1 { font-size: clamp(2.3rem, 5.2vw, 3.9rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.3rem; font-weight: 500; }
p { margin: 0 0 1em; }
ul, ol { padding-inline-start: 1.2em; }
li { margin-bottom: .4em; }
:focus-visible { outline: 2px solid var(--laiton); outline-offset: 3px; }
.conteneur { width: min(100% - 32px, var(--max)); margin-inline: auto; }
.etroit { max-width: 760px; }
.lien-evitement { position: absolute; inset-inline-start: -999px; top: 8px; background: var(--nuit); color: #fff; padding: 8px 14px; z-index: 100; }
.lien-evitement:focus { inset-inline-start: 8px; }

/* Étiquettes (petites capitales à chasse fixe) */
.surtitre, .etiquette { display: inline-block; font: 500 .74rem/1.4 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--doux); margin-bottom: 18px; }
.surtitre.filete { padding-bottom: 10px; border-bottom: 1px solid var(--ligne); min-width: 200px; }
.sombre .surtitre { color: var(--laiton-clair); }
.sombre .surtitre.filete { border-color: var(--ligne-nuit); }
.puces { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 26px 0 0; }
.puces li { margin: 0; font: 500 .72rem/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; padding: 9px 12px; border: 1px solid var(--ligne-nuit); color: var(--clair-nuit); }

/* Barre d'info et en-tête (sombres) */
.barre-info { background: #0a1320; color: var(--clair-nuit); font: .8rem/1.4 var(--mono); letter-spacing: .04em; }
.barre-info .conteneur { display: flex; gap: 6px 22px; flex-wrap: nowrap; justify-content: space-between; align-items: center; padding: 7px 0; }
.barre-info a { color: #fff; text-decoration: none; }
.entete { background: var(--nuit); border-bottom: 1px solid var(--ligne-nuit); position: sticky; top: 0; z-index: 50; }
.entete .conteneur { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 76px; }
.marque { display: flex; align-items: center; gap: 14px; text-decoration: none; color: #fff; min-width: 0; flex-shrink: 1; }
.marque::before { content: "GE"; flex: 0 0 auto; display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--laiton); color: var(--laiton-clair); font: 500 .9rem var(--serif); letter-spacing: .04em; }
.marque span { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
.marque strong { font: 400 1.15rem var(--serif); color: #fff; align-self: flex-start; }
.marque small { font: .68rem/1.4 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--clair-nuit); margin-top: 3px; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2px; }
.nav li { margin: 0; position: relative; }
.nav > ul > li { display: flex; align-items: center; }
.nav a, .nav button.sous-bouton { display: block; padding: 10px 11px; text-decoration: none; color: var(--clair-nuit); font: 400 .9rem/1.2 var(--sans); background: none; border: 0; cursor: pointer; white-space: nowrap; }
.nav a:hover, .nav button.sous-bouton:hover { color: #fff; }
.nav a[aria-current="page"]:not(.btn) { color: #fff; box-shadow: inset 0 -1px 0 var(--laiton); }
.nav button.sous-bouton { padding: 10px 5px; margin-inline-start: -6px; font-size: .7rem; }
.nav .sous-menu { display: none; position: absolute; top: 100%; inset-inline-start: 0; min-width: 260px; background: var(--nuit-2); border: 1px solid var(--ligne-nuit); padding: 6px; flex-direction: column; align-items: stretch; box-shadow: 0 18px 40px rgba(0,0,0,.35); }
.nav li:hover > .sous-menu, .nav li:focus-within > .sous-menu, .nav li.ouvert > .sous-menu { display: flex; }
.nav .sous-menu a[aria-current="page"] { box-shadow: none; color: var(--laiton-clair); }
.nav .btn { margin-inline-start: 10px; }
.burger { flex-shrink: 0; display: none; background: none; border: 1px solid var(--ligne-nuit); padding: 9px 14px; font: 500 .78rem var(--mono); letter-spacing: .12em; text-transform: uppercase; color: #fff; cursor: pointer; }

/* Boutons (angles droits) */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 22px; font: 500 .92rem/1.2 var(--sans); text-decoration: none; border: 1px solid transparent; transition: background .15s, color .15s, border-color .15s; }
.btn-plein { background: var(--nuit); color: #fff !important; border-color: var(--nuit); }
.btn-plein:hover { background: var(--nuit-3); }
.btn-contour { border-color: var(--nuit); color: var(--nuit) !important; background: transparent; }
.btn-contour:hover { background: var(--nuit); color: #fff !important; }
.sombre .btn-plein, .entete .btn-plein { background: #fff; color: var(--nuit) !important; border-color: #fff; }
.sombre .btn-plein:hover, .entete .btn-plein:hover { background: var(--laiton-clair); border-color: var(--laiton-clair); }
.sombre .btn-contour { border-color: rgba(255,255,255,.5); color: #fff !important; }
.sombre .btn-contour:hover { background: rgba(255,255,255,.08); }
.nav .btn { padding: 10px 16px; }
.btn-laiton { background: var(--laiton); color: #fff !important; border-color: var(--laiton); font-weight: 600; }
.btn-laiton:hover { background: #8f7049; border-color: #8f7049; }
.btn-laiton::before { content: ""; width: 12px; height: 14px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 14'%3E%3Cpath d='M3 6V4a3 3 0 0 1 6 0v2h1.5v8h-9V6zM4.5 6h3V4a1.5 1.5 0 0 0-3 0z'/%3E%3C/svg%3E") no-repeat center / contain; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 14'%3E%3Cpath d='M3 6V4a3 3 0 0 1 6 0v2h1.5v8h-9V6zM4.5 6h3V4a1.5 1.5 0 0 0-3 0z'/%3E%3C/svg%3E") no-repeat center / contain; }
.depot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 28px; border: 1px solid var(--laiton); border-inline-start-width: 4px; background: var(--blanc); padding: 22px 26px; margin: 1.6em 0; }
.depot > div { flex: 1 1 320px; }
.depot h3 { margin: .2em 0 .35em; }
.depot p { margin: 0; }
.sombre .depot { background: var(--nuit-2); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.6em; }
.lien-fleche { font: 500 .9rem var(--sans); text-decoration: none; color: var(--lien); }
.lien-fleche::after { content: " →"; }
.sombre .lien-fleche { color: #fff; }

/* Sections */
.sombre { background: var(--nuit); color: var(--clair-nuit); }
.sombre h1, .sombre h2, .sombre h3 { color: #fff; }
.sombre a:not(.btn) { color: #fff; }
.heros { position: relative; overflow: hidden; padding: clamp(64px, 11vw, 140px) 0 clamp(56px, 8vw, 100px); background: radial-gradient(ellipse at 70% 30%, #1c2d48 0%, var(--nuit) 60%); }
.heros h1 { max-width: 19em; font-size: clamp(2.1rem, 4.4vw, 3.5rem); line-height: 1.1; }
.heros h1 em { font-style: normal; color: var(--laiton-clair); }
.heros .chapeau { max-width: 38em; font-size: 1.1rem; color: var(--clair-nuit); margin-top: 1.4em; }
.heros .motif { position: absolute; inset-inline-end: -40px; bottom: -40px; width: min(48vw, 560px); opacity: .22; pointer-events: none; }
.heros .conteneur { position: relative; }
.page-titre { padding: clamp(56px, 8vw, 96px) 0 clamp(36px, 5vw, 56px); border-bottom: 1px solid var(--ligne); }
.page-titre h1 { max-width: 15em; }
.page-titre .chapeau { font-size: 1.12rem; max-width: 40em; margin: 0; }
.fil { font: .75rem/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--doux); margin-bottom: 22px; }
.fil a { color: var(--doux); text-decoration: none; }
.fil a:hover { color: var(--encre); }
section.bloc { padding: clamp(56px, 8vw, 100px) 0; }
section.bloc.alt { background: var(--papier-2); }
section.bloc + section.bloc:not(.alt):not(.sombre) { border-top: 1px solid var(--ligne); }
.intro-section { max-width: 44em; margin-bottom: 40px; }
.intro-section p { color: var(--doux); font-size: 1.05rem; }
.sombre .intro-section p { color: var(--clair-nuit); }

/* Grilles à filets */
.grille { display: grid; gap: 0; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
.filets { border-top: 1px solid var(--ligne); border-inline-start: 1px solid var(--ligne); }
.filets > * { border-bottom: 1px solid var(--ligne); border-inline-end: 1px solid var(--ligne); padding: 30px 28px; }
.sombre .filets, .sombre .filets > * { border-color: var(--ligne-nuit); }
.filets h3 { margin-bottom: .4em; }
.filets p:last-child, .filets ul:last-child { margin-bottom: 0; }
.filets .etiquette { margin-bottom: 12px; }
a.case-lien { text-decoration: none; color: inherit; display: block; transition: background .15s; }
a.case-lien:hover { background: var(--blanc); }
.sombre a.case-lien:hover { background: var(--nuit-2); }
.carte { background: var(--blanc); border: 1px solid var(--ligne); padding: 28px; }
.carte h3 { margin-bottom: .45em; }
.carte p:last-child, .carte ul:last-child { margin-bottom: 0; }
.chemins { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.chemins.trois { grid-template-columns: 1fr 1fr 1fr; }
.chemin { border: 1px solid var(--ligne-nuit); padding: 34px; display: flex; flex-direction: column; background: rgba(255,255,255,.02); }
.chemin h3 { font-size: 1.55rem; font-weight: 400; }
.chemin .meta { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--ligne-nuit); font: .72rem/1.5 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--clair-nuit); margin-bottom: 14px; }
.deux-col { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.col-etroite { display: grid; grid-template-columns: minmax(0, 280px) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.col-etroite > :first-child { position: sticky; top: 110px; }
.photo { border: 1px solid var(--ligne); }

.liste-coches { list-style: none; padding: 0; }
.liste-coches li { padding-inline-start: 26px; position: relative; }
.liste-coches li::before { content: ""; position: absolute; inset-inline-start: 0; top: .82em; width: 12px; height: 1px; background: var(--laiton); }
.encadre { border-inline-start: 2px solid var(--laiton); background: var(--blanc); padding: 18px 22px; margin: 1.4em 0; }
.encadre p:last-child { margin: 0; }
.encadre.info { border-color: var(--lien); }
.sombre .encadre { background: var(--nuit-2); }
.citation { font: 400 clamp(1.3rem, 2.4vw, 1.7rem)/1.45 var(--serif); color: var(--encre); border-inline-start: 2px solid var(--laiton); padding-inline-start: 26px; margin: 0; max-width: 34em; }
.chronologie { list-style: none; padding: 0; margin: 0; }
.chronologie li { display: grid; grid-template-columns: 110px 1fr; gap: 18px; padding: 14px 0; border-bottom: 1px solid var(--ligne); margin: 0; }
.chronologie .annee { font: 500 .8rem/1.8 var(--mono); letter-spacing: .1em; color: var(--laiton); }
.etapes { counter-reset: e; list-style: none; padding: 0; margin: 0; }
.etapes > li { counter-increment: e; display: grid; grid-template-columns: 64px 1fr; gap: 18px; padding: 26px 0; border-bottom: 1px solid var(--ligne); margin: 0; }
.etapes > li::before { content: "0" counter(e); font: 400 1.9rem/1 var(--serif); color: var(--laiton); }
.etapes h3 { margin-bottom: .3em; }
.etapes p:last-child { margin-bottom: 0; }
.faq details { border-bottom: 1px solid var(--ligne); padding: 6px 0; }
.faq details:first-child { border-top: 1px solid var(--ligne); }
.faq summary { cursor: pointer; list-style: none; padding: 16px 40px 16px 0; position: relative; font: 400 1.2rem/1.4 var(--serif); color: var(--encre); }
[dir="rtl"] .faq summary { padding: 16px 0 16px 40px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; inset-inline-end: 4px; top: 12px; font: 300 1.5rem var(--sans); color: var(--laiton); }
.faq details[open] summary::after { content: "–"; }
.faq details > div { padding: 0 0 18px; }
.sommaire { list-style: none; padding: 0; margin: 0; font-size: .95rem; }
.sommaire li { margin: 0; border-bottom: 1px solid var(--ligne); }
.sommaire a { display: block; padding: 9px 0; text-decoration: none; color: var(--texte); }
.sommaire a:hover { color: var(--encre); }
.fiche h2 { margin-top: 1.6em; font-size: clamp(1.45rem, 2.6vw, 1.9rem); }
.fiche h2:first-child { margin-top: 0; }
.fiche table { width: 100%; border-collapse: collapse; margin: 1em 0 1.6em; font-size: .95rem; }
.fiche th, .fiche td { text-align: start; padding: 10px 12px; border-bottom: 1px solid var(--ligne); vertical-align: top; }
.fiche th { font: 500 .72rem/1.4 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--doux); }
.document { display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: center; padding: 20px 0; border-bottom: 1px solid var(--ligne); }
.document h3 { margin: 0 0 .2em; font-size: 1.15rem; }
.document p { margin: 0; color: var(--doux); font-size: .95rem; }
.a-valider { background: #fff3c4; color: #6b5000; border: 1px dashed #d9a400; padding: 0 6px; font-size: .8em; font-weight: 600; }

/* Formulaire */
form.contact { display: grid; gap: 16px; }
form.contact label { font: 500 .74rem/1.4 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--doux); display: block; margin-bottom: 6px; }
form.contact input, form.contact textarea, form.contact select { width: 100%; font: inherit; padding: 12px 14px; border: 1px solid #cfcac0; border-radius: 0; background: #fff; color: var(--encre); }
form.contact textarea { min-height: 150px; resize: vertical; }
form.contact .pot { position: absolute; inset-inline-start: -5000px; }
form.contact .note { font-size: .88rem; color: var(--doux); }
form.contact button { justify-self: start; cursor: pointer; font-size: 1rem; }
.case { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; }
.case input { width: auto !important; margin-top: 5px; }
.case label { font: 400 .92rem/1.5 var(--sans) !important; letter-spacing: 0 !important; text-transform: none !important; color: var(--texte) !important; }

/* Choix de la langue (menu déroulant) */
.choix-langue { position: relative; margin-inline-start: auto; flex-shrink: 0; }
.barre-info .masquer-mobile { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.choix-langue summary { list-style: none; cursor: pointer; padding: 2px 9px; border: 1px solid var(--ligne-nuit); color: #fff; font: 500 .74rem var(--mono); letter-spacing: .08em; }
.choix-langue summary::-webkit-details-marker { display: none; }
.choix-langue summary::after { content: " ▾"; color: var(--laiton-clair); }
.choix-langue[open] summary { background: #fff; color: var(--nuit); }
.choix-langue ul { position: absolute; top: calc(100% + 6px); inset-inline-end: 0; z-index: 80; list-style: none; margin: 0; padding: 6px; display: grid; grid-template-columns: repeat(2, minmax(120px, 1fr)); gap: 0 4px; background: var(--nuit-2); border: 1px solid var(--ligne-nuit); box-shadow: 0 18px 40px rgba(0,0,0,.35); }
.choix-langue li { margin: 0; }
.choix-langue a { display: block; padding: 7px 10px; color: var(--clair-nuit) !important; font: 400 .88rem/1.2 var(--sans); text-decoration: none; white-space: nowrap; }
.choix-langue a:hover { background: var(--nuit-3); color: #fff !important; }
.choix-langue a[aria-current="true"] { color: var(--laiton-clair) !important; box-shadow: inset 2px 0 0 var(--laiton); }

/* Écritures non latines */
[dir="rtl"] body, [dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3 { font-family: "Geeza Pro", "Noto Naskh Arabic", "Segoe UI", Tahoma, var(--sans); }
[dir="rtl"] .fil .sep, [dir="rtl"] .lien-fleche::after { display: inline-block; transform: scaleX(-1); }
:lang(zh) body { font-family: -apple-system, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif; }
:lang(zh) h1, :lang(zh) h2, :lang(zh) h3 { font-family: "Songti SC", "STSong", "Noto Serif CJK SC", serif; }
:lang(ja) body { font-family: -apple-system, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, "Noto Sans CJK JP", sans-serif; }
:lang(ja) h1, :lang(ja) h2, :lang(ja) h3 { font-family: "Hiragino Mincho ProN", "Yu Mincho", "Noto Serif CJK JP", serif; }
:lang(ar) h1, :lang(ar) h2, :lang(zh) h1, :lang(zh) h2, :lang(ja) h1, :lang(ja) h2 { letter-spacing: 0; line-height: 1.35; }
:lang(ar) .surtitre, :lang(ar) .etiquette, :lang(ar) .puces li, :lang(ar) .marque small, :lang(ar) .fil, :lang(ar) .chemin .meta, :lang(ar) .pied h3, :lang(ar) .burger,
:lang(zh) .surtitre, :lang(zh) .etiquette, :lang(zh) .puces li, :lang(zh) .marque small, :lang(zh) .fil, :lang(zh) .chemin .meta, :lang(zh) .pied h3,
:lang(ja) .surtitre, :lang(ja) .etiquette, :lang(ja) .puces li, :lang(ja) .marque small, :lang(ja) .fil, :lang(ja) .chemin .meta, :lang(ja) .pied h3 { letter-spacing: .02em; text-transform: none; font-family: inherit; }

/* Pied de page */
.pied { background: #0a1320; color: var(--clair-nuit); padding: 60px 0 26px; font-size: .92rem; }
.pied a { color: #fff; text-decoration: none; }
.pied a:hover { text-decoration: underline; }
.pied h3 { font: 500 .72rem/1.4 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--clair-nuit); margin-bottom: 16px; }
.pied .grille { grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 32px; }
.pied ul { list-style: none; padding: 0; margin: 0; }
.pied li { margin-bottom: .35em; }
.pied address { font-style: normal; }
.pied .bas { border-top: 1px solid var(--ligne-nuit); margin-top: 44px; padding-top: 18px; display: flex; flex-wrap: wrap; gap: 8px 22px; justify-content: space-between; font: .72rem/1.6 var(--mono); letter-spacing: .04em; color: #8b97a8; }

/* Arabe */
[dir="rtl"] body, [dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3 { font-family: "Geeza Pro", "Noto Naskh Arabic", "Segoe UI", Tahoma, var(--sans); }
[dir="rtl"] .surtitre, [dir="rtl"] .etiquette, [dir="rtl"] .puces li, [dir="rtl"] .marque small, [dir="rtl"] .fil, [dir="rtl"] form.contact label, [dir="rtl"] .pied h3 { letter-spacing: 0; text-transform: none; font-family: inherit; }
[dir="rtl"] .fil .sep { display: inline-block; transform: scaleX(-1); }
[dir="rtl"] .lien-fleche::after { content: " ←"; }

/* Menu replié (posé par site.js quand le menu ne tient pas) */
.menu-replie .burger { display: block; }
.menu-replie .nav { position: absolute; top: 100%; left: 0; right: 0; background: var(--nuit); border-bottom: 1px solid var(--ligne-nuit); display: none; max-height: calc(100vh - 110px); overflow-y: auto; }
.menu-replie .nav.ouverte { display: block; }
.menu-replie .nav ul { flex-direction: column; align-items: stretch; padding: 10px 16px 18px; }
.menu-replie .nav > ul > li { display: block; }
.menu-replie .nav .sous-menu { display: flex; position: static; box-shadow: none; border: 0; padding: 0; padding-inline-start: 14px; min-width: 0; background: transparent; }
.menu-replie .nav button.sous-bouton { display: none; }
.menu-replie .nav .btn { margin: 10px 0 0; justify-content: center; }
@media (max-width: 1100px) {
  .barre-info .masquer-mobile { display: none; }
  .burger { display: block; }
  .nav { position: absolute; top: 100%; left: 0; right: 0; background: var(--nuit); border-bottom: 1px solid var(--ligne-nuit); display: none; max-height: calc(100vh - 110px); overflow-y: auto; }
  .nav.ouverte { display: block; }
  .nav ul { flex-direction: column; align-items: stretch; padding: 10px 16px 18px; }
  .nav > ul > li { display: block; }
  .nav .sous-menu { display: flex; position: static; box-shadow: none; border: 0; padding: 0; padding-inline-start: 14px; min-width: 0; background: transparent; }
  .nav button.sous-bouton { display: none; }
  .nav .btn { margin: 10px 0 0; justify-content: center; }
  .g4 { grid-template-columns: repeat(2, 1fr); }
  .chemins.trois { grid-template-columns: 1fr; }
  .pied .grille { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
  .deux-col, .chemins, .col-etroite { grid-template-columns: 1fr; }
  .col-etroite > :first-child { position: static; }
  .g2, .g3 { grid-template-columns: 1fr; }
  .heros .motif { width: 90vw; opacity: .12; }
}
@media (max-width: 540px) {
  body { font-size: 16px; }
  .g4, .pied .grille { grid-template-columns: 1fr; }
  .barre-info .masquer-mobile { display: none; }
  .filets > * { padding: 24px 20px; }
  .chemin { padding: 26px 22px; }
  .chronologie li, .etapes > li { grid-template-columns: 1fr; gap: 6px; }
  .document { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
.formulaire-imprimable .ligne-saisie { border-bottom: 1px solid var(--ligne); min-height: 34px; margin-bottom: 10px; }
.formulaire-imprimable h3 { margin-top: 1.4em; }
@media print {
  .barre-info, .entete, .pied, .actions, .ne-pas-imprimer, .fil { display: none !important; }
  body { background: #fff; font-size: 11pt; }
  .page-titre, section.bloc { padding: 10pt 0; border: 0; }
  .formulaire-imprimable .ligne-saisie { border-bottom: 1px solid #888; min-height: 22pt; }
}
.puces-claires li { border-color: var(--ligne); color: var(--doux); }

.liste-docs { list-style: none; padding: 0; margin: 0; }
.liste-docs li { margin: 0; border-bottom: 1px solid var(--ligne); }
.liste-docs li:last-child { border-bottom: 0; }
.liste-docs a { display: block; padding: 8px 0; text-decoration: none; color: var(--texte); }
.liste-docs a::after { content: " ↓"; color: var(--laiton); }
.liste-docs a:hover { color: var(--encre); }
