/* KittyNest — vitrine d'une portée.
   Mise en page : un faire-part de naissance. La portée est annoncée comme sur un carton imprimé,
   et chaque chaton porte la marque de son collier de couleur (la même que dans KittyGrow). */

/* ── Polices (hébergées sur le site, licence OFL : voir fonts/) ── */
@font-face {
  font-family: 'Atkinson Hyperlegible';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/atkinson-hyperlegible-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Atkinson Hyperlegible';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/atkinson-hyperlegible-700.woff2') format('woff2');
}
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/fraunces-soft.woff2') format('woff2');
}
@font-face {
  font-family: 'Fraunces';
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/fraunces-soft-italique.woff2') format('woff2');
}

/* ── Jetons ── */
:root {
  --fond: #EFEEF2;
  --surface: #FFFFFF;
  --encre: #1D1B26;
  --encre-douce: #5D5869;
  --trait: #DAD6E0;
  --accent: #7A3E65;
  --accent-doux: #F3E8EF;
  --sur-accent: #FFFFFF;

  /* Statuts : toujours accompagnés d'un mot */
  --ok: #15805A;        --ok-fond: #E2F2EA;
  --attention: #A35F00; --attention-fond: #FBEDD6;
  --reserve: #3B4C8C;   --reserve-fond: #E5E8F6;
  --neutre: #5E6672;    --neutre-fond: #E8EAEE;

  /* Visionneuse : toujours sombre, quel que soit le thème */
  --nuit: #0F0D13;
  --nuit-texte: #F1EEF4;

  --police-titre: 'Fraunces', 'Iowan Old Style', 'Palatino Linotype', Palatino, Georgia, serif;
  --police-texte: 'Atkinson Hyperlegible', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --t-0: 0.8125rem;
  --t-1: 0.9375rem;
  --t-2: 1.0625rem;
  --t-3: 1.25rem;
  --t-4: 1.625rem;
  --t-5: clamp(1.75rem, 1.4rem + 1.6vw, 2.25rem);
  --t-6: clamp(2.5rem, 1.7rem + 4.2vw, 4.25rem);

  --rayon: 14px;
  --gouttiere-g: max(16px, env(safe-area-inset-left, 0px));
  --gouttiere-d: max(16px, env(safe-area-inset-right, 0px));
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --fond: #15131A;
    --surface: #1E1B25;
    --encre: #ECE8F1;
    --encre-douce: #ABA4B7;
    --trait: #34303D;
    --accent: #D99BC3;
    --accent-doux: #36232F;
    --sur-accent: #1D1420;
    --ok: #5BC79A;        --ok-fond: #12342A;
    --attention: #E9AE52; --attention-fond: #3A2A10;
    --reserve: #A6B3EF;   --reserve-fond: #242A48;
    --neutre: #AEB5BF;    --neutre-fond: #2A2E36;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --fond: #15131A;
  --surface: #1E1B25;
  --encre: #ECE8F1;
  --encre-douce: #ABA4B7;
  --trait: #34303D;
  --accent: #D99BC3;
  --accent-doux: #36232F;
  --sur-accent: #1D1420;
  --ok: #5BC79A;        --ok-fond: #12342A;
  --attention: #E9AE52; --attention-fond: #3A2A10;
  --reserve: #A6B3EF;   --reserve-fond: #242A48;
  --neutre: #AEB5BF;    --neutre-fond: #2A2E36;
  color-scheme: dark;
}

/* ── Base ── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--fond);
  color: var(--encre);
  font-family: var(--police-texte);
  font-size: var(--t-2);
  line-height: 1.55;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 {
  font-family: var(--police-titre);
  font-variation-settings: "SOFT" 70;
  font-weight: 560;
  line-height: 1.12;
  margin: 0;
  text-wrap: balance;
  letter-spacing: -0.01em;
}
h2 { font-size: var(--t-5); }
p { margin: 0; }
a { color: var(--accent); text-underline-offset: 0.18em; }
button { font: inherit; color: inherit; }
dl, dd { margin: 0; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
[hidden] { display: none !important; }

.largeur {
  width: 100%;
  max-width: 1040px;
  margin-inline: auto;
  padding-left: var(--gouttiere-g);
  padding-right: var(--gouttiere-d);
}

.surtitre {
  font-family: var(--police-texte);
  font-size: var(--t-0);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.evitement {
  position: absolute;
  left: var(--gouttiere-g);
  top: -100px;
  background: var(--encre);
  color: var(--fond);
  padding: 0.6rem 1rem;
  border-radius: 8px;
  z-index: 60;
}
.evitement:focus { top: calc(8px + env(safe-area-inset-top, 0px)); }

.chargement { padding-block: 3rem; color: var(--encre-douce); }

/* ── Boutons ── */
.bouton {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 44px;
  padding: 0.55rem 1.1rem;
  border: 0;
  border-radius: 999px;
  background: var(--accent);
  color: var(--sur-accent);
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}
.bouton:hover { filter: brightness(1.08); }
.bouton-texte {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 44px;
  padding: 0.3rem 0.1rem;
  border: 0;
  background: none;
  color: var(--accent);
  font-weight: 700;
  font-size: var(--t-1);
  cursor: pointer;
}
.bouton-texte:hover span { text-decoration: underline; text-underline-offset: 0.18em; }
.icone { flex: none; }

/* ── Bandeau d'exemple, en-tête, pied ── */
.bandeau-exemple {
  background: var(--accent-doux);
  color: var(--encre);
  font-size: var(--t-1);
}
.bandeau-exemple p { padding-block: 0.6rem; }
.bandeau-exemple strong { color: var(--accent); }

.entete { border-bottom: 1px solid var(--trait); }
.entete-ligne {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 60px;
}
.marque {
  font-family: var(--police-titre);
  font-variation-settings: "SOFT" 100;
  font-weight: 650;
  font-size: var(--t-3);
  color: var(--encre);
  text-decoration: none;
}

.pied {
  margin-top: 4rem;
  border-top: 1px solid var(--trait);
  color: var(--encre-douce);
  font-size: var(--t-1);
}
.pied-grille {
  display: grid;
  gap: 1.5rem;
  padding-block: 2rem 2.5rem;
}
.pied-grille > div { display: grid; gap: 0.5rem; min-width: 0; }
.pied-titre {
  font-family: var(--police-texte);
  font-size: var(--t-0);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--encre);
}
@media (min-width: 760px) { .pied-grille { grid-template-columns: 1fr 1fr; gap: 3rem; } }

/* ── Sections ── */
.section { padding-block: 3rem 0; }
.section > h2, .section-tete { margin-bottom: 1.25rem; }
.section-tete {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.compte { color: var(--encre-douce); font-size: var(--t-1); font-variant-numeric: tabular-nums; }
.texte p { max-width: 65ch; }
.texte p + p { margin-top: 0.9rem; }

/* ── Accueil ── */
.intro { padding-block: 2.75rem 0.5rem; display: grid; gap: 0.75rem; }
.intro h1 { font-size: var(--t-6); font-weight: 600; line-height: 1.02; }
.accroche { font-size: var(--t-3); color: var(--encre-douce); max-width: 38ch; }

.portees { display: grid; gap: 1.25rem; }
@media (min-width: 760px) { .portees { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.carte-portee {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr;
  background: var(--surface);
  border: 1px solid var(--trait);
  border-radius: var(--rayon);
  overflow: hidden;
}
.carte-photo img, .carte-photo .sans-photo { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.carte-corps { display: grid; gap: 0.75rem; align-content: start; padding: 1.1rem 1.25rem 1.3rem; }
.carte-titre { font-size: var(--t-4); }
.carte-titre a { color: var(--encre); text-decoration: none; }
.lien-etendu::after { content: ""; position: absolute; inset: 0; }
.carte-portee:hover .carte-titre a { text-decoration: underline; text-underline-offset: 0.15em; }
.carte-portee:focus-within { outline: 3px solid var(--accent); outline-offset: 3px; }
.carte-portee .lien-etendu:focus-visible { outline: none; }
.carte-resume { color: var(--encre-douce); }
.carte-voir { font-weight: 700; color: var(--accent); }
.carte-voir span { display: inline-block; transition: transform 0.2s ease; }
.carte-portee:hover .carte-voir span { transform: translateX(4px); }
.carte-portee .colliers a { position: relative; z-index: 1; }

/* ── Colliers (marque couleur et forme de chaque chaton) ── */
.colliers {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.9rem;
}
.colliers a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 32px;
  color: var(--encre);
  text-decoration: none;
  font-size: var(--t-1);
}
.colliers a:hover span { text-decoration: underline; text-underline-offset: 0.18em; }
.forme { flex: none; }
.forme * { stroke: var(--surface); stroke-width: 1.2; }

/* ── Pastilles de disponibilité et statuts ── */
.pastilles { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.4rem; }
.pastille, .statut {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  font-size: var(--t-0);
  font-weight: 700;
  line-height: 1.5;
  color: var(--ton);
  background: var(--ton-fond);
}
.pastille::before, .statut::before {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: currentColor;
}
.ton-ok        { --ton: var(--ok);        --ton-fond: var(--ok-fond); }
.ton-attention { --ton: var(--attention); --ton-fond: var(--attention-fond); }
.ton-reserve   { --ton: var(--reserve);   --ton-fond: var(--reserve-fond); }
.ton-neutre    { --ton: var(--neutre);    --ton-fond: var(--neutre-fond); }

/* ── Faire-part (en-tête d'une portée) ── */
.fil { padding-top: 1.25rem; font-size: var(--t-1); }
.fil a { font-weight: 700; text-decoration: none; }
.fil a:hover { text-decoration: underline; }

.faire-part-zone { padding-top: 1rem; }
.faire-part {
  display: grid;
  gap: 1.5rem;
  background: var(--surface);
  border-radius: 18px;
  padding: clamp(1.4rem, 4vw, 2.75rem);
  /* Double filet, comme un carton imprimé */
  box-shadow:
    inset 0 0 0 1px var(--trait),
    inset 0 0 0 8px var(--surface),
    inset 0 0 0 9px var(--trait);
}
.faire-part-texte { display: grid; gap: 1rem; align-content: start; min-width: 0; }
.faire-part h1 { font-size: var(--t-6); font-weight: 600; line-height: 1.02; }
.et {
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
  font-variation-settings: "SOFT" 100;
}
.faire-part-phrase {
  font-family: var(--police-titre);
  font-style: italic;
  font-variation-settings: "SOFT" 100;
  font-size: var(--t-3);
  line-height: 1.4;
  color: var(--encre-douce);
  max-width: 34ch;
}
.faire-part-resume { color: var(--encre-douce); max-width: 60ch; }
.faire-part-photo .agrandir img { aspect-ratio: 4 / 3; }

.faits {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem 1.25rem;
  padding-block: 1rem;
  border-block: 1px solid var(--trait);
}
.faits dt, .parent-faits dt, .contact-liste dt, .annonce-legale dt {
  font-size: var(--t-0);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--encre-douce);
}
.faits dd { font-weight: 700; font-variant-numeric: tabular-nums; }

@media (min-width: 840px) {
  .faire-part { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); align-items: start; gap: 2.5rem; }
  .faits { grid-template-columns: repeat(4, auto); justify-content: start; }
}

/* ── Photos agrandissables ── */
.agrandir {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
  border-radius: var(--rayon);
  overflow: hidden;
}
.agrandir img { width: 100%; object-fit: cover; transition: transform 0.35s ease; }
.agrandir:hover img { transform: scale(1.02); }
.sans-photo {
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 4 / 3;
  background: var(--neutre-fond);
  color: var(--encre-douce);
  font-size: var(--t-1);
}

/* ── Chatons ── */
.filtres { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.25rem; }
.filtre {
  min-height: 44px;
  padding: 0.45rem 1rem;
  border: 1px solid var(--trait);
  border-radius: 999px;
  background: var(--surface);
  font-weight: 700;
  font-size: var(--t-1);
  cursor: pointer;
}
.filtre[aria-pressed="true"] { background: var(--encre); border-color: var(--encre); color: var(--fond); }

.chatons { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.chaton {
  display: grid;
  background: var(--surface);
  border: 1px solid var(--trait);
  border-radius: var(--rayon);
  overflow: hidden;
  scroll-margin-top: 1.5rem;
}
.chaton-visuel { position: relative; }
.chaton-visuel .agrandir { border-radius: 0; }
.chaton-visuel img, .chaton-visuel .sans-photo { aspect-ratio: 4 / 3; height: 100%; }
.chaton-visuel .statut {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: var(--surface);
  box-shadow: 0 0 0 1px var(--trait);
  pointer-events: none;
}
.nb-photos {
  position: absolute;
  right: 0.75rem;
  bottom: 0.75rem;
  padding: 0.15rem 0.6rem;
  border-radius: 999px;
  background: var(--surface);
  font-size: var(--t-0);
  font-weight: 700;
  pointer-events: none;
}
.statut-reserve .chaton-visuel img,
.statut-parti .chaton-visuel img { filter: saturate(0.35); }

.chaton-corps { display: grid; gap: 0.45rem; align-content: start; padding: 1.1rem 1.25rem 0.9rem; min-width: 0; }
.chaton-nom {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: var(--t-4);
  font-style: italic;
  font-weight: 500;
  font-variation-settings: "SOFT" 100;
}
.chaton-detail { font-weight: 700; }
.chaton-destination { color: var(--encre-douce); font-size: var(--t-1); }
.chaton-note { color: var(--encre-douce); max-width: 55ch; }
.chaton-corps .bouton-texte { justify-self: start; }

@media (min-width: 640px) {
  .chaton { grid-template-columns: minmax(220px, 40%) minmax(0, 1fr); }
  .chaton-visuel img, .chaton-visuel .sans-photo { aspect-ratio: auto; min-height: 100%; }
  .chaton-visuel .agrandir { height: 100%; }
  .chaton-corps { padding: 1.4rem 1.5rem 1rem; }
}

.chaton.en-avant { outline: 3px solid var(--accent); outline-offset: 3px; }
@media (prefers-reduced-motion: no-preference) {
  .chaton.en-avant { animation: signal 1.4s ease-out 2; }
  @keyframes signal { 0% { outline-offset: 10px; } 100% { outline-offset: 3px; } }
}
.vide { padding: 1.25rem; border: 1px dashed var(--trait); border-radius: var(--rayon); color: var(--encre-douce); }

/* ── Parents ── */
.parents { display: grid; gap: 1rem; }
@media (min-width: 640px) { .parents { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.parent {
  display: grid;
  grid-template-rows: auto 1fr;
  background: var(--surface);
  border: 1px solid var(--trait);
  border-radius: var(--rayon);
  overflow: hidden;
}
.parent-photo .agrandir { border-radius: 0; }
.parent-photo img, .parent-photo .sans-photo { aspect-ratio: 4 / 3; }
.parent-corps { display: grid; gap: 0.6rem; align-content: start; padding: 1.1rem 1.25rem 1.3rem; }
.parent-nom { font-size: var(--t-4); }
.parent-faits { display: grid; gap: 0.5rem; }
.parent-faits dd { font-size: var(--t-1); }
.parent-note { color: var(--encre-douce); }

/* ── Galerie ── */
.galerie { display: grid; gap: 0.75rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.galerie img { aspect-ratio: 4 / 3; }

/* ── Ce qui accompagne le chaton, comment réserver ── */
.deux-colonnes { display: grid; gap: 2.5rem; }
.deux-colonnes > div { min-width: 0; }
.deux-colonnes h2 { margin-bottom: 1.1rem; font-size: var(--t-4); }
@media (min-width: 820px) { .deux-colonnes { grid-template-columns: 1fr 1fr; gap: 3rem; } }

.inclus { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.7rem; }
.inclus li { display: grid; grid-template-columns: 1.1rem 1fr; gap: 0.6rem; align-items: baseline; }
.inclus li::before {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  transform: rotate(45deg) translateY(-0.1rem);
  background: var(--accent);
}

.etapes { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; counter-reset: etape; }
.etapes li {
  counter-increment: etape;
  display: grid;
  grid-template-columns: 2.2rem 1fr;
  gap: 0.6rem;
  align-items: baseline;
}
.etapes li::before {
  content: counter(etape);
  font-family: var(--police-titre);
  font-style: italic;
  font-variation-settings: "SOFT" 100;
  font-size: var(--t-4);
  line-height: 1;
  color: var(--accent);
}

/* ── Liste d'attente, contact ── */
.attente, .contact {
  display: grid;
  gap: 0.9rem;
  padding: clamp(1.25rem, 4vw, 2rem);
  border-radius: var(--rayon);
  background: var(--accent-doux);
}
.attente h2, .contact h2 { font-size: var(--t-4); }
.attente p { max-width: 62ch; }
.contact-liste { display: grid; gap: 0.9rem; }
.contact-liste dd { font-size: var(--t-3); font-weight: 700; overflow-wrap: anywhere; }
.contact-liste a { text-decoration: none; }
.contact-liste a:hover { text-decoration: underline; }
@media (min-width: 760px) { .contact-liste { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); } }

/* ── Informations obligatoires de l'annonce ── */
.annonce-legale {
  display: grid;
  gap: 0.75rem;
  padding: clamp(1.1rem, 3vw, 1.6rem);
  border: 1px solid var(--trait);
  border-radius: var(--rayon);
  background: var(--surface);
}
.annonce-legale h2 { font-size: var(--t-3); }
.annonce-source { font-size: var(--t-0); color: var(--encre-douce); }
.annonce-manque { padding: 0.6rem 0.8rem; border-radius: 8px; background: var(--attention-fond); color: var(--attention); font-weight: 700; }
.annonce-legale dl { display: grid; gap: 0.8rem; margin-top: 0.25rem; }
.annonce-legale dl > div { display: grid; gap: 0.15rem; }
.annonce-legale dd { font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
@media (min-width: 700px) {
  .annonce-legale dl > div { grid-template-columns: 16rem 1fr; gap: 1rem; align-items: baseline; }
}

/* ── Visionneuse ── */
.visionneuse {
  width: 100%;
  max-width: 100%;
  height: 100%;
  max-height: 100%;
  margin: 0;
  padding: calc(56px + env(safe-area-inset-top, 0px)) var(--gouttiere-d) calc(72px + env(safe-area-inset-bottom, 0px)) var(--gouttiere-g);
  border: 0;
  background: var(--nuit);
  color: var(--nuit-texte);
}
.visionneuse[open] { display: grid; place-items: center; }
.visionneuse::backdrop { background: var(--nuit); }
.visionneuse-figure { margin: 0; display: grid; gap: 0.75rem; justify-items: center; max-width: 1100px; }
.visionneuse-figure img {
  max-width: 100%;
  max-height: calc(100dvh - 190px);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 10px;
}
.visionneuse-figure figcaption { text-align: center; font-size: var(--t-1); max-width: 60ch; opacity: 0.9; }
.visionneuse button {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgb(255 255 255 / 0.25);
  border-radius: 50%;
  background: rgb(255 255 255 / 0.08);
  color: var(--nuit-texte);
  cursor: pointer;
}
.visionneuse button:hover { background: rgb(255 255 255 / 0.18); }
.visionneuse-fermer {
  position: absolute;
  top: calc(10px + env(safe-area-inset-top, 0px));
  right: calc(10px + env(safe-area-inset-right, 0px));
}
.visionneuse-nav {
  position: absolute;
  left: 0;
  right: 0;
  bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.25rem;
  font-variant-numeric: tabular-nums;
}

/* ── Message de partage ── */
.annonce {
  position: fixed;
  left: 50%;
  bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
  transform: translateX(-50%);
  width: max-content;
  max-width: calc(100% - 32px);
  display: grid;
  gap: 0.5rem;
  padding: 0.75rem 1.1rem;
  border-radius: 12px;
  background: var(--encre);
  color: var(--fond);
  font-weight: 700;
  box-shadow: 0 8px 24px rgb(0 0 0 / 0.25);
  z-index: 50;
}
.annonce input {
  width: min(80vw, 420px);
  max-width: 100%;
  padding: 0.5rem 0.6rem;
  border: 0;
  border-radius: 8px;
  font: inherit;
  font-weight: 400;
  background: var(--fond);
  color: var(--encre);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ── Écran d'accès (code d'invitation) ── */
.acces { max-width: 640px; padding-block: 3.5rem 1rem; }
.acces-formulaire { display: grid; gap: 0.5rem; margin-top: 0.5rem; }
.acces-formulaire label { font-weight: 700; }
.acces-ligne { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.acces-ligne input {
  flex: 1 1 14rem;
  min-width: 0;
  min-height: 48px;
  padding: 0.6rem 0.9rem;
  border: 1px solid var(--trait);
  border-radius: 10px;
  background: var(--surface);
  color: var(--encre);
  font: inherit;
  font-size: var(--t-3);
  letter-spacing: 0.04em;
}
.acces-ligne input:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.acces-ligne .bouton { min-height: 48px; padding-inline: 1.5rem; }
.bouton:disabled { opacity: 0.7; cursor: progress; }
.acces-erreur { min-height: 1.5em; color: var(--attention); font-weight: 700; }
.acces-aide { color: var(--encre-douce); font-size: var(--t-1); }
.pied:empty, .entete:empty { display: none; }
