/* ============================================================
   robista v2.2 — feuille de style commune
   Système visuel repris de cremista.fr (v1) :
   papier gris froid, panneaux bleu-vert profond, accent crema.
   Le crema est l'unique couleur d'accent ; les trois teintes de
   famille (--fam) ne servent qu'aux repères structurels.
   ============================================================ */

:root {
  --paper: #EDEEF0;
  --panel: #FFFFFF;
  --deep: #12262B;
  --deep-2: #1B353C;
  --ink: #16181C;
  --steel: #5C6570;
  --line: #D5D8DD;
  --crema: #D98C00;          /* accent : bordures, survols, texte sur fond sombre */
  --crema-lisible: #A66A00;  /* même teinte, assombrie — pour le texte sur fond clair */
  --crema-soft: #F6E9CE;
  --good: #1F7A4C;
  --bad: #B3462F;
  --clair: #EBE7DF;
  --clair-2: #9DB0B5;
  --clair-3: #8FA3A8;
  --aspi: #35506B;
  --piscine: #0E5F73;
  --tonte: #33622F;
  --fam: var(--ink);         /* repère de famille, surchargé par data-vertical */
  --f-display: "Archivo", system-ui, sans-serif;
  --f-body: "Newsreader", Georgia, serif;
  --f-data: "IBM Plex Mono", ui-monospace, monospace;
  --mesure: 46rem;
  --large: 70rem;
}
body[data-vertical="aspirateur"] { --fam: var(--aspi); }
body[data-vertical="piscine"]    { --fam: var(--piscine); }
body[data-vertical="tondeuse"]   { --fam: var(--tonte); }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 1.0625rem;
  line-height: 1.62;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--crema); }
:focus-visible { outline: 3px solid var(--crema); outline-offset: 3px; border-radius: 2px; }

.skip {
  position: absolute; left: -9999px;
}
.skip:focus {
  position: fixed; left: 1rem; top: 1rem; z-index: 99;
  background: var(--ink); color: #fff; padding: .6rem 1rem;
}

/* ---------- En-tête (barre collante, comme v1) ---------- */
header.site {
  position: sticky; top: 0; z-index: 40;
  background: rgba(237, 238, 240, .93);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-inner {
  max-width: var(--large); margin: 0 auto; padding: .8rem 1.25rem;
  display: flex; align-items: baseline; gap: 1.5rem; flex-wrap: wrap;
}
.logo {
  font-family: var(--f-display); font-weight: 800; font-size: 1.25rem;
  color: var(--ink); text-decoration: none; letter-spacing: -.03em;
}
.logo small {
  font-family: var(--f-data); font-size: .625rem; font-weight: 500; color: var(--steel);
  display: block; letter-spacing: .08em; text-transform: uppercase;
}
nav.familles { display: flex; gap: 1.1rem; flex-wrap: wrap; margin-left: auto; }
nav.familles a {
  font-family: var(--f-data); font-size: .6875rem; font-weight: 500;
  letter-spacing: .08em; text-transform: uppercase; color: var(--steel);
  text-decoration: none; white-space: nowrap;
  padding-bottom: 2px; border-bottom: 1px solid transparent;
}
nav.familles a[aria-current="page"], nav.familles a:hover {
  color: var(--ink); border-bottom-color: var(--crema);
}

.fil {
  max-width: var(--large); margin: 0 auto; padding: 1.25rem 1.25rem 0;
  font-family: var(--f-data); font-size: .6875rem; letter-spacing: .04em; color: var(--steel);
}
.fil a { text-decoration: none; }
.fil a:hover { color: var(--crema-lisible); }

/* ---------- Blocs de page ---------- */
main { max-width: var(--large); margin: 0 auto; padding: 0 1.25rem 4rem; }
section { margin-top: clamp(3rem, 6vw, 4.5rem); }
.mesure { max-width: var(--mesure); }

.eyebrow {
  font-family: var(--f-data); font-size: .6875rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; color: var(--steel); margin: 0 0 .5rem;
}
h1 {
  font-family: var(--f-display); font-weight: 800;
  font-size: clamp(2.1rem, 5.5vw, 3.6rem); line-height: 1.02; letter-spacing: -.035em;
  margin: .5rem 0 1rem; text-wrap: balance;
}
h1 em { font-style: normal; color: var(--crema-lisible); }
h2 {
  font-family: var(--f-display); font-weight: 800;
  font-size: clamp(1.6rem, 3.6vw, 2.4rem); line-height: 1.06; letter-spacing: -.03em;
  margin: .3rem 0 1rem;
}
h3 { font-family: var(--f-display); font-weight: 700; font-size: 1.1rem; letter-spacing: -.02em; margin: 0 0 .5rem; }
.chapo { font-size: clamp(1.0625rem, 2vw, 1.28rem); color: var(--steel); max-width: 54ch; }

.signature-ligne {
  display: flex; gap: .4rem 1.5rem; flex-wrap: wrap; align-items: center;
  margin: 1.6rem 0 0; padding-top: 1.1rem; border-top: 1px solid var(--line);
  font-family: var(--f-data); font-size: .75rem; color: var(--steel);
}
.signature-ligne strong { color: var(--ink); font-weight: 500; }

.encart-affiliation {
  background: var(--crema-soft); border-left: 3px solid var(--crema);
  padding: .95rem 1.1rem; font-size: .9375rem; line-height: 1.5;
  max-width: 64ch; margin-top: 1.5rem;
}

/* ---------- Panneau sombre (signature v1), pleine largeur ---------- */
.dash {
  background: var(--deep); color: var(--clair);
  margin-inline: calc(50% - 50vw);
  /* 33.75rem = demi-largeur du conteneur (35rem) moins son padding (1.25rem),
     pour que le contenu du panneau s'aligne sur le reste de la page. */
  padding: clamp(2.5rem, 6vw, 4rem) max(1.25rem, calc(50vw - 33.75rem));
}
.dash .eyebrow { color: var(--clair-3); }
.dash h2 { color: var(--clair); }
.dash-sub { color: var(--clair-2); font-size: .9375rem; max-width: 58ch; margin: 0 0 2rem; }
.dash-rows { display: flex; flex-direction: column; gap: 1px; background: var(--deep-2); }
.dash-rows a {
  background: var(--deep); display: flex; align-items: baseline; gap: 1rem; flex-wrap: wrap;
  padding: 1.05rem .25rem; text-decoration: none; color: inherit;
}
.dash-rows a:hover { background: var(--deep-2); }
.dash-rows a:hover .dash-nom { color: var(--crema); }
.dash-fam {
  font-family: var(--f-data); font-size: .6875rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase; color: var(--crema); min-width: 6rem;
}
.dash-nom {
  flex: 1; min-width: 12rem;
  font-family: var(--f-display); font-weight: 700; font-size: 1.0625rem; letter-spacing: -.01em;
}
.dash-nom small {
  display: block; margin-top: .3rem;
  font-family: var(--f-data); font-size: .6875rem; letter-spacing: .03em;
  color: var(--clair-3); font-weight: 400;
}
.dash-score { font-family: var(--f-data); font-weight: 600; text-align: right; }
.dash-score b { font-size: 1.375rem; color: var(--clair); }
.dash-score small { display: block; font-size: .6875rem; color: #7E9298; }
.dash-legende {
  border-top: 1px solid var(--deep-2); margin: 1.75rem 0 0; padding-top: 1.1rem;
  font-family: var(--f-data); font-size: .6875rem; line-height: 1.6; color: var(--clair-3);
}
.dash-legende b { color: var(--crema); font-weight: 600; }

/* ---------- Hub : cartes de familles ---------- */
.familles-grille {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem; margin-top: 1.75rem;
}
.famille-carte {
  background: var(--panel); border: 1px solid var(--line); border-top: 4px solid var(--fc, var(--ink));
  padding: 1.4rem 1.4rem 1.2rem; display: flex; flex-direction: column; gap: .55rem;
  text-decoration: none; color: var(--ink);
}
.famille-carte:hover { border-color: var(--crema); border-top-color: var(--fc); }
.famille-carte .eyebrow { color: var(--fc); margin-bottom: .1rem; }
.famille-carte h3 { font-size: 1.4rem; font-weight: 800; letter-spacing: -.025em; }
.famille-carte p { margin: 0; color: var(--steel); font-size: .9375rem; }
.famille-carte .meta {
  font-family: var(--f-data); font-size: .6875rem; color: var(--steel);
  margin-top: auto; padding-top: 1rem; border-top: 1px solid var(--line);
}
.carte-aspi { --fc: var(--aspi); } .carte-piscine { --fc: var(--piscine); } .carte-tonte { --fc: var(--tonte); }

/* Bande des saisons — signature du hub */
.saisons { margin-top: 1.75rem; background: var(--panel); border: 1px solid var(--line); padding: 1.4rem; }
.saisons-mois {
  display: grid; grid-template-columns: 8.5rem repeat(12, 1fr); gap: 2px;
  font-family: var(--f-data); font-size: .6875rem; color: var(--steel);
}
.saisons-mois > span { text-align: center; padding: .15rem 0; }
.saisons-mois .fam { text-align: left; color: var(--ink); font-size: .75rem; align-self: center; padding-right: .5rem; }
.saisons-mois i { display: block; height: 14px; background: var(--line); }
.saisons-mois i.on-aspi { background: var(--aspi); }
.saisons-mois i.on-piscine { background: var(--piscine); }
.saisons-mois i.on-tonte { background: var(--tonte); }
.saisons figcaption { font-size: .9375rem; color: var(--steel); margin-top: 1rem; max-width: 68ch; }
@media (max-width: 640px) { .saisons-mois { grid-template-columns: 5.5rem repeat(12, 1fr); } }

/* ---------- Classement ---------- */
.classement { display: flex; flex-direction: column; gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: 1.5rem; }
.classement a {
  display: flex; align-items: baseline; gap: 1rem; text-decoration: none;
  background: var(--panel); padding: .95rem 1rem; color: var(--ink);
}
.classement a:hover { background: var(--crema-soft); }
.classement .rang { font-family: var(--f-data); font-size: .8125rem; font-weight: 600; color: var(--crema-lisible); min-width: 1.8rem; }
.classement .libelle { flex: 1; font-family: var(--f-display); font-weight: 700; letter-spacing: -.01em; }
.classement .libelle small {
  display: block; margin-top: .2rem; font-family: var(--f-data); font-size: .6875rem;
  letter-spacing: .06em; color: var(--steel); text-transform: uppercase; font-weight: 400;
}
.classement .note { font-family: var(--f-data); font-weight: 600; }
.classement .note b { font-size: 1.125rem; }

.legende-sources { font-family: var(--f-data); font-size: .75rem; line-height: 1.7; color: var(--steel); margin-top: 1rem; }
.marqueur {
  font-family: var(--f-data); font-size: .625rem; font-weight: 600;
  color: var(--crema-lisible); vertical-align: super; margin-left: .15em;
}

/* ---------- Critères ---------- */
.criteres {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 0; margin-top: 1.75rem; border-top: 1px solid var(--line);
}
.critere { border-bottom: 1px solid var(--line); padding: 1.6rem 2rem 1.6rem 0; }
.critere h3 { display: flex; gap: .55rem; align-items: baseline; font-size: 1.125rem; }
.critere h3 .num { font-family: var(--f-data); font-size: .6875rem; font-weight: 600; color: var(--crema-lisible); }
.critere p { margin: .4rem 0 0; color: var(--steel); font-size: .9375rem; max-width: 52ch; }

/* ---------- Fiches produit ---------- */
.fiche {
  background: var(--panel); border: 1px solid var(--line);
  padding: clamp(1.25rem, 3.5vw, 2.25rem); margin-top: 1.5rem; scroll-margin-top: 76px;
}
.fiche.hors-cat { border-left: 3px solid var(--crema); }
.fiche-tete {
  display: flex; align-items: baseline; gap: .85rem; flex-wrap: wrap;
  padding-bottom: 1rem; border-bottom: 1px solid var(--line); margin-bottom: 1.25rem;
}
.fiche-tete .rang {
  font-family: var(--f-data); font-weight: 600; font-size: .75rem;
  color: var(--crema-lisible); border: 1px solid var(--crema); padding: .15rem .4rem; flex: none;
}
.fiche-tete h3 { font-size: clamp(1.25rem, 3vw, 1.75rem); font-weight: 800; letter-spacing: -.025em; margin: 0; }
.fiche-tete .usage {
  margin-left: auto; font-family: var(--f-data); font-size: .6875rem; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase; color: var(--steel); font-style: normal;
}
.fiche > p { margin: 0 0 1rem; }

/* Visuel produit : cadre carré centré. Les photos produit sont carrées (format
   natif des visuels de fiche) et `object-fit: contain` garantit qu'aucune image
   d'un autre rapport ne sera déformée — elle sera simplement encadrée de blanc.
   Le dégradé gris sert de fond pendant le chargement et pour les modèles sans
   photo propre ; site.js y place l'image PA-API dès qu'elle est disponible. */
.visuel {
  margin: 1.5rem auto; width: 100%; max-width: 440px; aspect-ratio: 1 / 1;
  background: linear-gradient(150deg, #E4E6E9, #D2D6DB 55%, #C3C8CE);
  border: 1px solid var(--line); overflow: hidden;
  display: grid; place-items: center;
}
.visuel img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
/* Visuel d'ouverture d'une page d'avis : la photo est le sujet de la page, pas
   un élément de fiche parmi six. Le sélecteur cible le figure placé
   directement dans une section de <main> — donc jamais celui d'une .fiche. */
main > section > .visuel { max-width: 560px; margin-block: 1.75rem; }
/* Modèle sans photo propre : on nomme le produit plutôt que d'afficher la photo
   d'un autre modèle. site.js y placera l'image PA-API dès qu'elle sera disponible. */
.visuel .visuel-nom {
  font-family: var(--f-display); font-weight: 700; font-size: 1.0625rem;
  letter-spacing: -.02em; color: var(--steel); text-align: center; padding: 0 1rem;
}
.visuel .visuel-note {
  margin-top: .5rem; font-family: var(--f-data); font-size: .625rem;
  letter-spacing: .08em; text-transform: uppercase; color: var(--steel); text-align: center;
}

/* Points forts / réserves — marqueurs + et – comme en v1 */
.fiche-cols { display: grid; grid-template-columns: 1fr; gap: 1.25rem; margin: 1.75rem 0; }
@media (min-width: 560px) { .fiche-cols { grid-template-columns: 1fr 1fr; gap: 2rem; } }
.fiche-cols h4 {
  font-family: var(--f-data); font-size: .6875rem; font-weight: 600; letter-spacing: .1em;
  text-transform: uppercase; color: var(--steel);
  margin: 0 0 .7rem; padding-bottom: .4rem; border-bottom: 1px solid var(--line);
}
.fiche-cols ul { margin: 0; padding: 0; list-style: none; font-size: .9375rem; }
.fiche-cols li { position: relative; padding-left: 1.1rem; margin-bottom: .45rem; line-height: 1.45; }
.fiche-cols li::before { position: absolute; left: 0; font-family: var(--f-data); font-weight: 600; }
.fiche-cols > div:first-child li::before { content: '+'; color: var(--good); }
.fiche-cols > div:last-child li::before { content: '\2013'; color: var(--bad); }

.specs {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line); border-left: 1px solid var(--line); margin: 1.5rem 0;
}
@media (min-width: 640px) { .specs { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.specs > div { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: .75rem .85rem; }
.specs dt {
  font-family: var(--f-data); font-size: .625rem; letter-spacing: .08em;
  text-transform: uppercase; color: var(--steel); margin-bottom: .3rem;
}
.specs dd { margin: 0; font-family: var(--f-data); font-size: .9375rem; font-weight: 500; }

/* Bloc prix : espace réservé (anti-CLS), rempli par l'API */
.prix {
  min-height: 3.6rem; margin-top: 1.25rem; padding: .8rem .9rem;
  border: 1px solid var(--line); background: var(--paper);
  display: flex; align-items: baseline; gap: .6rem 1rem; flex-wrap: wrap;
}
.prix .valeur { font-family: var(--f-data); font-size: 1.5rem; font-weight: 600; letter-spacing: -.02em; line-height: 1.1; }
.prix[data-etat="attente"] .valeur,
.prix[data-etat="absent"] .valeur { font-size: .9375rem; font-weight: 400; color: var(--steel); }
.prix .avant { font-family: var(--f-data); font-size: .8125rem; color: var(--steel); text-decoration: line-through; }
.prix .remise {
  font-family: var(--f-data); font-size: .6875rem; font-weight: 600;
  color: #fff; background: var(--bad); padding: .1rem .35rem;
}
.prix .verif { flex-basis: 100%; font-family: var(--f-data); font-size: .625rem; letter-spacing: .03em; color: var(--steel); }

.cta {
  display: inline-flex; align-items: center; gap: .6rem; margin-top: 1rem;
  background: var(--ink); color: #fff; border: 1px solid var(--ink);
  font-family: var(--f-display); font-weight: 700; font-size: .9375rem;
  padding: .85rem 1.4rem; text-decoration: none;
  transition: background .15s, color .15s, border-color .15s;
}
.cta:hover { background: var(--crema); border-color: var(--crema); color: var(--ink); }
/* CTA neutralisé par site.js quand l'ASIN est encore un placeholder */
.cta[aria-disabled="true"] {
  background: transparent; color: var(--steel); border-style: dashed; border-color: var(--line);
  cursor: not-allowed; pointer-events: none;
}
.mention-affil { display: block; font-family: var(--f-data); font-size: .6875rem; color: var(--steel); margin-top: .6rem; }

/* Renvoi du pilier vers l'avis détaillé — ancre descriptive (audit §5.2) */
.lien-avis { margin: 1rem 0 0; font-size: .9375rem; }
.lien-avis a { color: var(--crema-lisible); font-weight: 600; text-decoration: none; }
.lien-avis a::after { content: ' →'; }
.lien-avis a:hover { text-decoration: underline; }

/* Encart d'alerte : référence produit ambiguë, limite d'usage à vérifier */
.encart-alerte {
  background: var(--crema-soft); border-left: 3px solid var(--bad);
  padding: .95rem 1.1rem; font-size: .9375rem; line-height: 1.5;
  max-width: 64ch; margin: 1.5rem auto;
}

/* ---------- Tableau comparatif ---------- */
.tableau-cadre { overflow-x: auto; margin-top: 1.5rem; border: 1px solid var(--line); background: var(--panel); }
table { border-collapse: collapse; width: 100%; font-size: .875rem; min-width: 720px; }
caption { text-align: left; padding: .8rem 1rem; font-size: .875rem; color: var(--steel); }
th, td { padding: .75rem .85rem; border-bottom: 1px solid var(--line); text-align: left; white-space: nowrap; }
thead th {
  font-family: var(--f-data); font-size: .625rem; font-weight: 600; letter-spacing: .08em;
  text-transform: uppercase; color: var(--steel); background: var(--paper);
}
tbody td { font-family: var(--f-data); font-variant-numeric: tabular-nums; }
tbody td:first-child { font-family: var(--f-display); font-weight: 700; letter-spacing: -.01em; }
td a { color: var(--crema-lisible); text-decoration: none; font-weight: 600; }
td a:hover { text-decoration: underline; }
td.meilleur { color: var(--crema-lisible); font-weight: 600; }
td.note-cell { font-weight: 600; }
tr.hors-cat td { border-top: 2px solid var(--crema); }

/* ---------- Méthode / pondération ---------- */
.methode { background: var(--panel); border: 1px solid var(--line); padding: clamp(1.25rem, 3.5vw, 2.25rem); }
.ponderation { margin-top: 1rem; min-width: 0; }
.ponderation td, .ponderation th { white-space: normal; }
.ponderation td:last-child { font-family: var(--f-data); text-align: right; font-weight: 500; }

/* ---------- Auteur ---------- */
.auteur {
  display: flex; gap: 1.25rem; align-items: flex-start;
  background: var(--panel); border: 1px solid var(--line); padding: 1.5rem; max-width: var(--mesure);
}
.auteur img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; flex: none; }
.auteur .avatar {
  flex: none; width: 72px; height: 72px; border-radius: 50%;
  background: var(--deep); color: var(--crema);
  display: grid; place-items: center;
  font-family: var(--f-display); font-weight: 800; font-size: 1.9rem;
}
.auteur p { margin: .4rem 0 0; font-size: .9375rem; color: var(--steel); }

/* ---------- FAQ ---------- */
.faq details { border-bottom: 1px solid var(--line); padding: 1.1rem 0; max-width: 68ch; }
.faq summary {
  font-family: var(--f-display); font-weight: 700; font-size: 1.0625rem; letter-spacing: -.015em;
  cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 1rem; align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-family: var(--f-data); color: var(--crema-lisible); font-size: 1.25rem; flex: none; }
.faq details[open] summary::after { content: '\2013'; }
.faq details p { color: var(--steel); margin: .85rem 0 0; }

/* ---------- Prose longue : guides pratiques et pages éditoriales ---------- */
.prose { max-width: var(--mesure); }
.prose h3 { font-size: 1.1875rem; margin: 2rem 0 .6rem; }
.prose p { margin: 0 0 1.1rem; }
.prose ul { margin: 0 0 1.25rem; padding: 0; list-style: none; }
.prose li { position: relative; padding-left: 1.15rem; margin-bottom: .55rem; line-height: 1.55; }
.prose li::before {
  content: '\2014'; position: absolute; left: 0;
  font-family: var(--f-data); color: var(--crema-lisible);
}
.prose dt { font-weight: 600; }
.encart-conseil {
  background: var(--panel); border-left: 3px solid var(--crema);
  padding: 1.05rem 1.25rem; margin: 1.5rem 0; max-width: var(--mesure);
  font-size: .9375rem; line-height: 1.55;
}
.encart-conseil p { margin: 0; }

/* ---------- Guides liés ---------- */
.guides {
  display: grid; grid-template-columns: 1fr; gap: 1px;
  background: var(--line); border: 1px solid var(--line); margin-top: 1.5rem;
}
@media (min-width: 700px) { .guides { grid-template-columns: repeat(3, 1fr); } }
.guides a { background: var(--panel); padding: 1.25rem; text-decoration: none; display: block; }
.guides a:hover { background: var(--crema-soft); }
.guides strong {
  font-family: var(--f-display); font-weight: 700; font-size: 1rem;
  display: block; margin-bottom: .35rem; letter-spacing: -.015em;
}
.guides span { font-size: .875rem; color: var(--steel); }

/* ---------- Pied de page ---------- */
footer.site {
  background: var(--deep); color: var(--clair-2); margin-top: clamp(3rem, 7vw, 5rem);
  padding: clamp(2.5rem, 6vw, 4rem) 1.25rem 2rem; font-size: .875rem;
}
footer.site .inner { max-width: var(--large); margin: 0 auto; }
footer.site nav {
  display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; margin-bottom: 1.25rem; padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--deep-2);
  font-family: var(--f-data); font-size: .6875rem; letter-spacing: .06em; text-transform: uppercase;
}
footer.site a { color: var(--clair); }
footer.site p { font-family: var(--f-data); font-size: .6875rem; line-height: 1.7; color: #7E9298; max-width: 66ch; }

/* ---------- Sélecteur de langue (FR|EN|DE|IT|ES) ---------- */
.nav-lang {
  display: inline-flex; gap: .2rem; align-items: center;
  margin-left: .4rem; padding-left: .9rem;
  border-left: 1px solid var(--steel);
  opacity: .92;
}
.nav-lang a {
  font-family: var(--f-data); font-size: .6875rem; font-weight: 500;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--steel); text-decoration: none; white-space: nowrap;
  padding: 2px 5px; border-radius: 4px;
}
.nav-lang a:hover { color: var(--ink); }
.nav-lang a.lang-on {
  color: var(--ink); background: var(--crema); opacity: 1;
}

/* ---------- /* ---------- Menu mobile (burger) — toutes pages ---------- */
.nav-burger{display:none;background:none;border:0;cursor:pointer;font-size:1.35rem;line-height:1;color:var(--steel);padding:.25rem .35rem;margin-left:auto}
@media (max-width:760px){
  .nav-burger{display:inline-flex;align-items:center;justify-content:center}
  nav.familles{display:none;position:fixed;top:3.6rem;left:0;right:0;flex-direction:column;align-items:stretch;gap:0;margin-left:0;background:var(--panel,#fff);border-bottom:1px solid var(--line);box-shadow:0 14px 28px rgba(0,0,0,.16);padding:.35rem 1.25rem .8rem;z-index:45}
  nav.familles.open{display:flex}
  nav.familles a{padding:.55rem 0;width:100%;border-bottom:1px solid var(--line)}
  .nav-lang{margin-left:0;padding-left:0;border-left:0;padding-top:.6rem;gap:.35rem}
}
