/* aide-domicile-senior.fr — famille V13-tilleul habillée.
   Direction FIGÉE par /Users/aureliensangla/ClaudeCode/Projects/02-lead-gen/Design-Familles/_habillages/aide-domicile-senior.fr.md
   Police unique Sentient (roman + italique, variable 200-700), auto-hébergée.
   Teinte réservée : 130. Préfixes : adm- (structure), smp- (semainier), tlu- (accents V13).
   Ruptures de symétrie : 1) une seule colonne généreuse partout, sauf le semainier en pleine
   laize ; 2) aucun chiffre géant, la preuve est écrite ; 3) paroles d'aidants en italique, en marge. */

@font-face {
  font-family: "Sentient";
  src: url("/fonts/sentient-roman-variable.woff2") format("woff2");
  font-weight: 200 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Sentient";
  src: url("/fonts/sentient-italic-variable.woff2") format("woff2");
  font-weight: 200 700; font-style: italic; font-display: swap;
}

:root {
  --ink:        oklch(24% 0.030 150);
  --paper:      oklch(97% 0.010 95);
  --surface:    oklch(93% 0.018 115);
  --shell:      oklch(89% 0.022 120);
  --accent:     oklch(45% 0.080 130);
  --accent-ink: oklch(98% 0.005 95);
  --line:       oklch(84% 0.018 115);
  --field-line: oklch(50% 0.035 150);
  --ink-2:      oklch(38% 0.022 150);
  --serif: "Sentient", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  --col: 34rem;          /* la colonne généreuse : une seule mesure pour tout le site */
  --col-wide: 46rem;
  --laize: 78rem;
  --pad: clamp(1rem, 4vw, 2.25rem);
  --sec: clamp(3rem, 7vw, 5.5rem);
  --hd-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { animation: none !important; transition: none !important; } }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--serif); font-size: 18px; font-weight: 400; line-height: 1.68;
  font-variant-numeric: oldstyle-num; text-rendering: optimizeLegibility;
}
@media (min-width: 48rem) { body { font-size: 19px; } }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-underline-offset: .18em; text-decoration-thickness: from-font; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--field-line); outline-offset: 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; }
.adm-skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: var(--paper); padding: .75rem 1rem; z-index: 200; }
.adm-skip:focus { left: 0; }

h1, h2, h3 { font-weight: 500; line-height: 1.18; letter-spacing: -0.008em; margin: 0 0 .6em; text-wrap: balance; }
h1 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); font-weight: 450; }
h2 { font-size: clamp(1.55rem, 3.4vw, 2.1rem); margin-top: 0; }
h3 { font-size: 1.18rem; font-weight: 550; }
/* rupture n°2 : aucun chiffre géant. Le titre se coupe en deux graisses, pas en deux tailles. */
.tlu-thin { font-weight: 250; color: var(--ink-2); }
p { margin: 0 0 1.15em; hyphens: manual; }
h1, h2, h3, li, td, th, summary, figcaption, label { hyphens: manual; }
strong { font-weight: 600; }
abbr[title] { text-decoration: none; }

/* ── ossature : une seule colonne généreuse ── */
.adm-wrap { max-width: var(--laize); margin: 0 auto; padding-inline: var(--pad); }
.adm-laize { max-width: var(--laize); margin: 0 auto; padding-inline: var(--pad); }
.adm-col { max-width: var(--col); }
.adm-col-wide { max-width: var(--col-wide); }
.adm-sec { padding-block: var(--sec); }
.adm-sec-bottom { padding-bottom: calc(var(--sec) / 2); }
.adm-sec-reprise { padding-block: 0 var(--sec); }
.adm-surface { background: var(--surface); }
.adm-shell { background: var(--shell); }
.adm-paper { background: var(--paper); }
.adm-ink { background: var(--ink); color: var(--paper); }
.adm-ink h2, .adm-ink h3 { color: var(--paper); }
.adm-ink .tlu-thin { color: oklch(80% 0.020 120); }
.adm-ink a { color: oklch(88% 0.055 130); }
.adm-kicker { font-size: .8rem; letter-spacing: .13em; text-transform: uppercase; font-weight: 550; color: var(--ink-2); margin-bottom: .45em; }
.adm-ink .adm-kicker { color: oklch(80% 0.020 120); }
.adm-lede { font-size: 1.16rem; line-height: 1.6; color: var(--ink-2); }
.adm-ink .adm-lede { color: oklch(88% 0.015 110); }
.adm-maj { font-size: .88rem; color: var(--ink-2); }

/* ── bandeau, en-tête, menu ── */
.adm-band { background: var(--ink); color: oklch(88% 0.015 110); font-size: .86rem; }
.adm-band .adm-wrap { display: flex; flex-wrap: wrap; gap: .3rem 1.5rem; justify-content: space-between; padding-block: .4rem; }
.adm-band a { color: oklch(88% 0.055 130); }
@media (max-width: 30rem) { .adm-band .adm-wrap > span:last-child { display: none; } }
.adm-hdr { position: sticky; top: 0; z-index: 60; background: var(--paper); border-bottom: 1px solid var(--line); }
.adm-hdr.adm-is-solid { box-shadow: 0 2px 14px oklch(24% 0.03 150 / .08); }
.adm-hdr .adm-wrap { display: flex; align-items: center; gap: 1rem; min-height: var(--hd-h); }
.adm-mark { text-decoration: none; color: var(--ink); display: grid; line-height: 1.15; }
.adm-mark b { font-weight: 500; font-size: 1.06rem; }
.adm-mark i { font-style: italic; color: var(--accent); font-weight: 450; }
.adm-mark span { font-size: .76rem; color: var(--ink-2); letter-spacing: .05em; }
.adm-burger { display: none; }
.adm-nav { margin-left: auto; }
.adm-nav ul { display: flex; gap: .25rem; list-style: none; margin: 0; padding: 0; }
.adm-nav summary { cursor: pointer; padding: .5rem .7rem; list-style: none; font-size: .97rem; border-radius: 3px; }
.adm-nav summary::-webkit-details-marker { display: none; }
.adm-nav summary:hover { background: var(--surface); }
.adm-panel { position: absolute; z-index: 61; background: var(--paper); border: 1px solid var(--line); box-shadow: 0 12px 30px oklch(24% 0.03 150 / .12); padding: .5rem; min-width: 20rem; display: grid; }
.adm-panel a { display: grid; padding: .5rem .65rem; text-decoration: none; color: var(--ink); font-size: .95rem; border-radius: 3px; }
.adm-panel a small { color: var(--ink-2); font-size: .82rem; }
.adm-panel a:hover { background: var(--surface); }
.adm-cta-hdr { margin-left: .6rem; background: var(--accent); color: var(--accent-ink); padding: .6rem 1.05rem; border-radius: 3px; text-decoration: none; font-size: .95rem; max-width: 100%; overflow-wrap: anywhere; }
.adm-cta-hdr:hover { background: var(--ink); color: var(--paper); }
@media (max-width: 61.25rem) {
  .adm-burger { display: block; margin-left: auto; background: none; border: 1px solid var(--line); color: var(--ink); font: inherit; font-size: .95rem; padding: .45rem .8rem; border-radius: 3px; cursor: pointer; }
  .adm-nav { display: none; margin-left: 0; flex-basis: 100%; }
  .adm-hdr[data-nav="1"] .adm-nav { display: block; padding-bottom: .8rem; }
  .adm-hdr .adm-wrap { flex-wrap: wrap; }
  .adm-nav ul { flex-direction: column; gap: 0; }
  .adm-panel { position: static; box-shadow: none; border: 0; border-left: 2px solid var(--line); min-width: 0; margin-left: .7rem; }
  .adm-cta-hdr { display: none; }
}

/* ── hero : titre d'abord, formulaire court JUSTE EN DESSOUS (form-stacked-below) ── */
.adm-hero { background: var(--surface); padding-block: clamp(1.1rem, 1.8vw, 1.5rem) var(--sec); border-bottom: 1px solid var(--line); }
.adm-hero h1 { margin-bottom: .35em; max-width: var(--col-wide); }
.adm-hero .adm-kicker, .adm-hero .adm-lede-bas { max-width: var(--col-wide); }
.adm-hero .adm-f { margin-top: .95rem; gap: .6rem; padding: clamp(.9rem, 1.6vw, 1.15rem); }
.adm-lede-bas { margin-top: 1.8rem; }
/* carte du formulaire de hero : mode de capture A, archétype form-stacked-below */
.adm-herocard { box-shadow: 0 8px 26px oklch(24% 0.03 150 / .07); }
.adm-herocard .adm-ftitle { font-size: 1.1rem; line-height: 1.25; }
.adm-hero-note { font-size: .92rem; color: var(--ink-2); margin-top: 1rem; max-width: var(--col); }
.adm-hero-fig { margin: var(--sec) auto 0; max-width: var(--laize); padding-inline: var(--pad); }
.adm-hero-fig img { border-radius: 2px; }
.adm-crumb ol { display: flex; flex-wrap: wrap; gap: .4rem; list-style: none; margin: 0 0 .7rem; padding: 0; font-size: .86rem; color: var(--ink-2); }
.adm-crumb li + li::before { content: "/"; margin-right: .4rem; color: var(--line); }
.adm-crumb a { color: var(--ink-2); }

/* ── formulaires ── */
.adm-f > *, .adm-f2 > * { min-width: 0; max-width: 100%; }
.adm-f { display: grid; gap: .95rem; background: var(--paper); border: 1px solid var(--line); border-top: 3px solid var(--accent); padding: clamp(1.2rem, 3vw, 1.9rem); border-radius: 2px; max-width: var(--col); }
.adm-ink .adm-f, .adm-shell .adm-f, .adm-surface .adm-f { background: var(--paper); color: var(--ink); }
.adm-f2 { display: grid; gap: .95rem; }
@media (min-width: 40rem) { .adm-f2 { grid-template-columns: 1fr 1fr; } }
.adm-ftitle { font-size: 1.22rem; font-weight: 500; margin: 0; line-height: 1.3; }
.adm-fsub { font-size: .93rem; color: var(--ink-2); margin: -.4rem 0 0; }
.adm-f label { display: block; font-size: .86rem; line-height: 1.3; color: var(--ink-2); margin-bottom: .22rem; }
.adm-f input[type="text"], .adm-f input[type="email"], .adm-f input[type="tel"], .adm-f select, .adm-f textarea {
  width: 100%; font: inherit; font-size: 1rem; line-height: 1.35; color: var(--ink); background: var(--paper);
  border: 1px solid var(--field-line); border-radius: 2px; padding: .52rem .7rem;
}
.adm-f textarea { min-height: 6.5rem; resize: vertical; }
.adm-f select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--field-line) 50%), linear-gradient(135deg, var(--field-line) 50%, transparent 50%); background-position: calc(100% - 18px) 55%, calc(100% - 12px) 55%; background-size: 6px 6px, 6px 6px; background-repeat: no-repeat; padding-right: 2.2rem; }
.adm-req { color: var(--accent); }
.adm-consent { display: flex; gap: .6rem; align-items: flex-start; }
.adm-consent input { margin-top: .38rem; width: 1.05rem; height: 1.05rem; accent-color: var(--accent); flex: none; }
.adm-consent label { font-size: .82rem; margin: 0; line-height: 1.4; min-width: 0; overflow-wrap: anywhere; }
.adm-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.adm-btn { max-width: 100%; overflow-wrap: anywhere; font: inherit; font-size: 1.02rem; font-weight: 500; background: var(--accent); color: var(--accent-ink); border: 1px solid var(--accent); padding: .78rem 1.4rem; border-radius: 2px; cursor: pointer; text-decoration: none; display: inline-block; text-align: center; }
.adm-btn:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.adm-btn-ghost { background: transparent; color: var(--accent); }
.adm-btn-ghost:hover { background: var(--accent); color: var(--accent-ink); }
.adm-reassure { font-size: .84rem; color: var(--ink-2); margin: 0; }
.adm-endform { max-width: var(--col); }
.adm-endform .adm-f { max-width: none; }

/* ── volet latéral ── */
.adm-drawer { visibility: hidden; background: var(--paper); padding: clamp(1.2rem, 4vw, 2rem); box-shadow: -10px 0 40px oklch(24% 0.03 150 / .18); }
.adm-drawer-close { font: inherit; background: none; border: 1px solid var(--line); color: var(--ink-2); padding: .4rem .8rem; border-radius: 2px; cursor: pointer; margin-bottom: 1rem; }
.adm-drawer .adm-f { border: 0; border-top: 3px solid var(--accent); padding-inline: 0; max-width: none; }
.adm-reprise { max-width: var(--col-wide); display: grid; gap: .9rem; justify-items: start; border-left: 3px solid var(--accent); padding-left: 1.1rem; }
.adm-reprise p { margin: 0; font-size: 1.05rem; }

/* ── le semainier des passages (module signature, pleine laize) ── */
.smp-sec { padding-block: calc(var(--sec) * 1.15); }
.smp-head { max-width: var(--col-wide); margin-bottom: 2rem; }
.smp-gestes { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.4rem; }
.smp-pill { font: inherit; font-size: .93rem; background: var(--paper); color: var(--ink-2); border: 1px solid var(--field-line); border-radius: 999px; padding: .42rem 1rem; cursor: pointer; }
.smp-pill[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.smp-tw { overflow-x: auto; }
.smp-grid { border-collapse: collapse; width: 100%; min-width: 34rem; background: var(--paper); }
.smp-grid th, .smp-grid td { border: 1px solid var(--line); padding: 0; }
.smp-grid thead th { font-size: .88rem; font-weight: 500; color: var(--ink-2); padding: .5rem .3rem; background: var(--surface); }
.smp-grid tbody th { font-size: .92rem; font-weight: 500; color: var(--ink-2); text-align: left; padding: .6rem .8rem; max-width: 8rem; overflow-wrap: anywhere; background: var(--surface); }
.smp-cell { width: 100%; min-height: 3.1rem; display: block; background: none; border: 0; cursor: pointer; padding: .5rem; }
.smp-cell i { display: block; width: 100%; height: 1.5rem; border-radius: 2px; background: oklch(93% 0.006 110); }
.smp-cell[aria-pressed="true"] i { background: var(--accent); }
.smp-cell[data-smp-multi="2"] i { background: linear-gradient(90deg, var(--accent) 50%, oklch(60% 0.060 130) 50%); }
.smp-cell[data-smp-multi="3"] i { background: linear-gradient(90deg, var(--accent) 33%, oklch(60% 0.060 130) 33% 66%, oklch(72% 0.045 130) 66%); }
.smp-cell:hover i { outline: 2px solid var(--field-line); }
.smp-legende { font-size: .88rem; color: var(--ink-2); margin-top: .9rem; max-width: var(--col-wide); }
.smp-ex-row { display: grid; gap: .8rem; margin-top: 1.6rem; }
@media (min-width: 46rem) { .smp-ex-row { grid-template-columns: repeat(3, 1fr); } }
.smp-ex { background: var(--paper); border: 1px solid var(--line); border-left: 3px solid var(--accent); padding: .9rem 1.05rem; display: grid; gap: .35rem; border-radius: 2px; align-content: start; }
.smp-ex-b { font: inherit; font-weight: 550; font-size: 1rem; text-align: left; background: none; border: 0; padding: 0; color: var(--accent); cursor: pointer; justify-self: start; }
.smp-ex-b:hover { color: var(--ink); text-decoration: underline; }
.smp-ex span { font-size: .9rem; color: var(--ink-2); line-height: 1.5; }
.smp-ex:hover { border-color: var(--accent); }
.smp-foot { display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; align-items: center; justify-content: space-between; margin-top: 1.8rem; padding-top: 1.4rem; border-top: 1px solid var(--line); }
.smp-recap { margin: 0; font-size: 1rem; color: var(--ink-2); max-width: 40ch; }

/* ── blocs de contenu ── */
.adm-list { padding-left: 1.15rem; margin: 0 0 1.3em; }
.adm-list li { margin-bottom: .55em; }
.adm-list li::marker { color: var(--accent); }
.adm-steps { display: grid; gap: 1.4rem; }
@media (min-width: 46rem) { .adm-steps { grid-template-columns: repeat(2, 1fr); } }
.adm-steps > div { border-top: 2px solid var(--accent); padding-top: .9rem; }
.adm-steps h3 { margin-bottom: .35em; }
.adm-steps p { margin: 0; font-size: .97rem; }
.adm-cards { display: grid; gap: .9rem; margin: 1.5rem 0; }
@media (min-width: 46rem) { .adm-cards { grid-template-columns: repeat(2, 1fr); } }
.adm-cards a { display: grid; gap: .3rem; background: var(--paper); border: 1px solid var(--line); border-left: 3px solid var(--accent); padding: 1rem 1.15rem; text-decoration: none; color: var(--ink); border-radius: 2px; }
.adm-cards a:hover { border-color: var(--accent); }
.adm-cards strong { font-weight: 550; }
.adm-cards span { font-size: .92rem; color: var(--ink-2); line-height: 1.5; }
.adm-loi { background: var(--paper); border: 1px solid var(--line); border-left: 3px solid var(--field-line); padding: 1.05rem 1.2rem; margin: 1.5rem 0; border-radius: 2px; }
.adm-ink .adm-loi { background: oklch(30% 0.030 150); border-color: oklch(38% 0.030 150); }
.adm-loi h3 { font-size: .92rem; text-transform: uppercase; letter-spacing: .09em; color: var(--ink-2); margin-bottom: .5em; }
.adm-ink .adm-loi h3 { color: oklch(80% 0.020 120); }
.adm-loi p { margin: 0; font-size: .95rem; }
.adm-objection { border-left: 3px solid var(--accent); padding-left: 1.15rem; margin: 1.6rem 0; }
.adm-objection p:first-child { font-weight: 550; margin-bottom: .4em; }
.adm-objection p:last-child { margin: 0; }
/* la frontière aide / soin : le bloc le plus important du métier */
.adm-frontiere { background: var(--paper); border: 1px solid var(--line); padding: 1.2rem 1.35rem; margin: 1.8rem 0; border-radius: 2px; }
.adm-frontiere > div { display: grid; gap: 1.2rem; }
@media (min-width: 44rem) { .adm-frontiere > div { grid-template-columns: 1fr 1fr; } }
.adm-fr-lab { font-size: .84rem; text-transform: uppercase; letter-spacing: .09em; font-weight: 600; color: var(--accent); margin-bottom: .5em; }
.adm-frontiere > div > div:last-child .adm-fr-lab { color: var(--ink-2); }
.adm-frontiere ul { padding-left: 1.1rem; margin: 0; font-size: .95rem; }
.adm-frontiere li { margin-bottom: .4em; }
.adm-fr-note { font-size: .92rem; color: var(--ink-2); margin: 1.1rem 0 0; padding-top: .9rem; border-top: 1px solid var(--line); }
/* rupture n°3 : paroles d'aidants anonymisées, en italique, en marge */
.tlu-voix { font-style: italic; color: var(--ink-2); border-left: 2px solid var(--accent); padding-left: 1rem; margin: 1.6rem 0; font-size: 1.04rem; }
.tlu-voix p { margin: 0; }
@media (min-width: 72rem) {
  .tlu-voix { float: right; width: 15rem; margin: .3rem -17rem 1.2rem 2rem; border-left: 0; border-top: 2px solid var(--accent); padding: .8rem 0 0; font-size: .98rem; }
}
.adm-tw { overflow-x: auto; margin: 1.6rem 0; }
/* composant Tableau du site : repli garanti sous 640 px (défilement horizontal contenu
   dans son propre conteneur, jamais sur le corps de page). */
.adm-t { border-collapse: collapse; }
@media (max-width: 40rem) {
  .adm-t { font-size: .9rem; }
  .adm-t th, .adm-t td { padding: .5rem .55rem; }
}
.adm-tw table { border-collapse: collapse; width: 100%; min-width: 30rem; font-size: .95rem; }
.adm-tw caption { text-align: left; font-size: .88rem; color: var(--ink-2); margin-bottom: .6rem; }
.adm-tw th, .adm-tw td { border: 1px solid var(--line); padding: .6rem .75rem; text-align: left; vertical-align: top; }
.adm-tw thead th { background: var(--surface); font-weight: 550; }
.adm-split { display: grid; gap: 1.8rem; }
.adm-split > *, .adm-steps > *, .adm-cards > *, .adm-f2 > *, .adm-frontiere > div > *, .adm-blog-list > *, .adm-ft-cols > *, .smp-ex-row > * { min-width: 0; }
@media (min-width: 58rem) { .adm-split { grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); align-items: start; } }
.adm-fig { margin: 0; }
.adm-fig img { border-radius: 2px; }
.adm-fig figcaption { font-size: .86rem; color: var(--ink-2); margin-top: .6rem; }
.adm-art .adm-fig { margin-bottom: 2rem; }

/* ── FAQ ── */
.adm-faq details { border-bottom: 1px solid var(--line); }
.adm-faq summary { cursor: pointer; padding: 1rem 0; font-weight: 500; font-size: 1.06rem; list-style: none; display: flex; gap: 1rem; justify-content: space-between; align-items: baseline; }
.adm-faq summary::-webkit-details-marker { display: none; }
.adm-faq summary::after { content: "+"; color: var(--accent); font-weight: 400; flex: none; }
.adm-faq details[open] summary::after { content: "\2212"; }
.adm-faq .adm-a { padding-bottom: 1.1rem; }
.adm-faq .adm-a p { margin: 0; color: var(--ink-2); }

/* ── index du blog ── */
.adm-blog-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.6rem; }
@media (min-width: 46rem) { .adm-blog-list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 70rem) { .adm-blog-list { grid-template-columns: repeat(3, 1fr); } }
.adm-blog-list a { display: grid; gap: .8rem; text-decoration: none; color: var(--ink); }
.adm-blog-list img { border-radius: 2px; }
.adm-blog-list strong { font-weight: 500; font-size: 1.08rem; line-height: 1.3; display: block; margin-bottom: .3rem; }
.adm-blog-list span { font-size: .92rem; color: var(--ink-2); line-height: 1.55; }
.adm-blog-list a:hover strong { color: var(--accent); }

/* ── crédibilité (repli avis) ── */
.adm-avis-grid { display: grid; gap: 1.2rem; }
@media (min-width: 52rem) { .adm-avis-grid { grid-template-columns: repeat(3, 1fr); } }
.adm-avis-grid article { background: var(--paper); border: 1px solid var(--line); padding: 1.1rem; border-radius: 2px; font-size: .96rem; }
.adm-avis-aut { font-size: .88rem; color: var(--ink-2); margin: 0; }
.adm-stars { color: var(--accent); margin: 0 0 .5rem; }

/* ── pages plates et pied ── */
.adm-plain h2 { font-size: 1.3rem; margin-top: 2rem; }
.adm-ft { background: var(--ink); color: oklch(88% 0.015 110); padding-block: var(--sec) 2.2rem; font-size: .95rem; }
.adm-ft h3 { color: var(--paper); font-size: .92rem; text-transform: uppercase; letter-spacing: .09em; font-weight: 550; }
.adm-ft a { color: oklch(88% 0.055 130); text-decoration: none; }
.adm-ft a:hover { text-decoration: underline; }
.adm-ft ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.adm-ft-cols { display: grid; gap: 2rem; }
@media (min-width: 52rem) { .adm-ft-cols { grid-template-columns: 1.3fr 1fr 1fr 1fr; } }
.adm-foot-sources, .adm-ft-end { font-size: .82rem; color: oklch(76% 0.015 110); margin-top: 2.2rem; padding-top: 1.4rem; border-top: 1px solid oklch(34% 0.030 150); line-height: 1.6; }
.adm-ft-end { margin-top: 1rem; padding-top: 0; border: 0; }

/* le volet n'existe visuellement qu'une fois ouvert (gate G76) */
[data-drawer].adm-is-open { visibility: visible; }

/* kit de comportements (gen_kit_components.py, graine = domaine) */
/* Bloc CSS minimal à coller dans theme.css du site — généré par gen_kit_components.py.
   adm est déjà substitué par le préfixe du site dans le fichier livré ; ce gabarit
   reste en clair ici pour qu'on sache ce qui a été injecté. */

/* --- en-tête (data-hdr) --- */
/* .adm-is-solid est ajoutée quand la page a défilé au-delà du seuil — l'état est
   TOUJOURS correct dès le premier rendu (les 3 variantes du générateur synchronisent
   immédiatement, jamais seulement au prochain scroll). Adapter le rendu visuel à la
   direction du site : */
[data-hdr] { transition: background-color .2s ease, box-shadow .2s ease; }
[data-hdr].adm-is-solid { /* ex. background:var(--paper); box-shadow:0 1px 0 var(--line); */ }

/* --- callbar mobile (data-mbar) --- */
:root { --adm-callbar-h: 64px; } /* repli no-JS, écrasé en direct par le générateur */
[data-mbar] { position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; }
/* Exemple d'usage — à poser sur le bouton d'envoi du hero pour ne jamais être recouvert :
   .hero-submit { margin-bottom: var(--adm-callbar-h); } */

/* --- volet latéral (data-drawer) --- */
[data-drawer] {
  position: fixed; inset: 0 0 0 auto; width: min(468px, 100vw); z-index: 90;
  transform: translateX(101%); transition: transform .28s ease; overflow-y: auto;
}
[data-drawer].adm-is-open { transform: translateX(0); }
[data-drawer-scrim] {
  position: fixed; inset: 0; z-index: 85; opacity: 0; pointer-events: none;
  transition: opacity .22s ease; background: oklch(0.22 0.03 250 / .5);
}
/* :has() plutôt qu'une classe posée en plus par le JS sur le scrim — un point de moins à
   maintenir en cohérence entre script et CSS. */
body:has([data-drawer].adm-is-open) [data-drawer-scrim] { opacity: 1; pointer-events: auto; }

/* verrouillage du scroll body pendant que le volet est ouvert */
html.adm-scroll-locked { overflow: hidden; }
html.adm-scroll-locked body { position: fixed; left: 0; right: 0; width: 100%; }

/* --- simulateur (data-sim) --- */
[data-sim-result] { font-variant-numeric: tabular-nums; }
