/* ============================================================
   Looks & Co : formats complementaires
   (etoffes comparees, points et coutures, la mercerie, jupe soleil)
   Meme grammaire que le magazine : papier blanc casse, encre, rose signal,
   Bebas Neue en capitales, filets de 1,5 px, folios fantomes, aucun arrondi.
   Variables : celles de style.css (--lc-*).
   ============================================================ */

:root { --lc-fm-bh: 40px; }

/* ── 2e barre sous l'en-tete fixe : les formats (bureau) ───────────────── */
.lc-fm-barre {
  position: fixed;
  top: var(--lc-hh);
  left: 0; right: 0;
  z-index: 99;
  height: var(--lc-fm-bh);
  background: var(--lc-encre);
  color: var(--lc-blanc);
  border-bottom: 2px solid var(--lc-signal);
}
.lc-fm-barre-int {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  overflow-x: auto;
  scrollbar-width: none;
}
.lc-fm-barre-int::-webkit-scrollbar { display: none; }
.lc-fm-barre-t {
  flex-shrink: 0;
  font-family: var(--lc-display);
  font-size: 1rem;
  letter-spacing: 0.08em;
  color: var(--lc-signal);
  line-height: 1;
}
.lc-fm-barre ul { display: flex; align-items: center; gap: 0.25rem; white-space: nowrap; }
.lc-fm-barre a {
  display: inline-block;
  padding: 0.3rem 0.7rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(248,247,245,0.72);
  transition: color 0.2s, background 0.2s;
}
.lc-fm-barre a:hover { color: var(--lc-blanc); }
.lc-fm-barre a[aria-current="page"] { color: var(--lc-encre); background: var(--lc-blanc); }

body.lc-a-formats { padding-top: calc(var(--lc-hh) + var(--lc-fm-bh)); }
html { scroll-padding-top: calc(var(--lc-hh) + var(--lc-fm-bh) + 1rem); }

/* Formats dans le menu mobile plein ecran : masques sur bureau */
.lc-fm-nav-mobile { display: none; }

/* ── Textes communs ────────────────────────────────────────────────────── */
.lc-fm-eyebrow {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--lc-signal-deep);
  margin-bottom: 0.5rem;
  display: block;
}
.lc-fm-h2 {
  font-family: var(--lc-display);
  font-weight: 400;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 1rem;
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
}
.lc-fm-num { color: var(--lc-signal); font-size: 0.75em; flex-shrink: 0; }
.lc-fm-sous {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin: 1.5rem 0 0.6rem;
}
.lc-fm-sec { padding-top: 2.25rem; margin-top: 2.25rem; border-top: 1.5px solid var(--lc-encre); }
.lc-fm-sec:first-child { margin-top: 0; }
.lc-fm-sec p, .lc-fm-lecture p { font-size: 0.98rem; line-height: 1.75; margin-bottom: 0.9rem; }
.lc-fm-note { font-size: 0.8rem !important; color: var(--lc-gris); line-height: 1.6 !important; margin-top: 0.75rem; }
.lc-fm-vide { padding: 3rem 0; color: var(--lc-gris); }
.lc-fm-signature {
  margin-top: 2.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--lc-ligne);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lc-gris);
}
.lc-fm-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }

/* Puces : le trait oblique rose du magazine */
.lc-fm-liste li { position: relative; padding-left: 1.4em; margin-bottom: 0.55em; line-height: 1.6; }
.lc-fm-liste li::before {
  content: '';
  position: absolute;
  left: 0; top: 0.7em;
  width: 10px; height: 2px;
  background: var(--lc-signal);
  transform: rotate(-30deg);
}
.lc-fm-liens li { border-bottom: 1px solid var(--lc-ligne); }
.lc-fm-liens li:first-child { border-top: 1px solid var(--lc-ligne); }
.lc-fm-liens a {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.65rem 0;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}
.lc-fm-liens a::after { content: '→'; color: var(--lc-signal); flex-shrink: 0; }
.lc-fm-liens a:hover { color: var(--lc-signal-deep); }
.lc-fm-sources a { font-size: 0.82rem; color: var(--lc-gris); }

/* ── Manchette (ouverture des formats) ─────────────────────────────────── */
.lc-fm-manchette { padding: 3rem 0 2.5rem; }
.lc-fm-fil { margin-bottom: 1.5rem; }
.lc-fm-fil .lc-fm-fil-ici { opacity: 1; color: rgba(248,247,245,0.85); }
.lc-fm-manchette-titre {
  font-family: var(--lc-display);
  font-weight: 400;
  font-size: clamp(2.4rem, 5.6vw, 5rem);
  line-height: 0.95;
  text-transform: uppercase;
  max-width: 18ch;
  margin-bottom: 1.1rem;
  overflow-wrap: break-word;
}
.lc-fm-manchette-intro { max-width: 62ch; line-height: 1.65; }
.lc-fm-manchette-detail {
  margin-top: 1.25rem;
  display: inline-block;
  padding: 0.3rem 0.7rem;
  border: 1.5px solid var(--lc-signal);
  color: var(--lc-signal);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

/* ── Index des etoffes comparees : grille a filets, folios fantomes ────── */
.lc-fm-gx { padding: 2.5rem 0 3.5rem; }
.lc-fm-gx-grille {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1.5px solid var(--lc-encre);
  border-left: 1.5px solid var(--lc-encre);
}
.lc-fm-gx-case {
  position: relative;
  overflow: hidden;
  border-right: 1.5px solid var(--lc-encre);
  border-bottom: 1.5px solid var(--lc-encre);
  background: var(--lc-blanc);
  transition: background 0.25s, color 0.25s;
}
.lc-fm-gx-case::before {
  content: attr(data-num);
  position: absolute;
  right: -0.1em; bottom: -0.15em;
  font-family: var(--lc-display);
  font-size: 8rem;
  line-height: 1;
  opacity: 0.05;
  pointer-events: none;
}
.lc-fm-gx-lien { display: flex; flex-direction: column; gap: 0.7rem; height: 100%; padding: 1.75rem 1.5rem 1.5rem; position: relative; }
.lc-fm-gx-titre {
  font-family: var(--lc-display);
  font-weight: 400;
  font-size: 1.7rem;
  line-height: 1;
  text-transform: uppercase;
}
.lc-fm-gx-accroche { font-size: 0.82rem; color: var(--lc-gris); line-height: 1.55; transition: color 0.25s; }
.lc-fm-gx-compte {
  margin-top: auto;
  padding-top: 0.75rem;
  border-top: 1px solid var(--lc-ligne);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--lc-signal-deep);
}
.lc-fm-gx-case:hover { background: var(--lc-encre); color: var(--lc-blanc); }
.lc-fm-gx-case:hover::before { opacity: 0.14; }
.lc-fm-gx-case:hover .lc-fm-gx-accroche { color: rgba(248,247,245,0.6); }
.lc-fm-gx-case:hover .lc-fm-eyebrow,
.lc-fm-gx-case:hover .lc-fm-gx-compte { color: var(--lc-signal); }
.lc-fm-gx-case:hover .lc-fm-gx-compte { border-top-color: rgba(248,247,245,0.15); }

/* ── Index des points et coutures : lignes a gros numero rose ──────────── */
.lc-fm-tx { padding: 2.5rem 0 3.5rem; }
.lc-fm-tx-liste { border-top: 1.5px solid var(--lc-encre); }
.lc-fm-tx-ligne { border-bottom: 1.5px solid var(--lc-encre); }
.lc-fm-tx-lien {
  display: grid;
  grid-template-columns: 7rem 1fr 11rem;
  gap: 2rem;
  align-items: center;
  padding: 1.5rem 0;
  transition: background 0.2s;
}
.lc-fm-tx-lien:hover { background: var(--lc-tint); }
.lc-fm-tx-n {
  font-family: var(--lc-display);
  font-size: 4.5rem;
  line-height: 0.85;
  color: var(--lc-signal);
  padding-left: 0.5rem;
}
.lc-fm-tx-titre {
  font-family: var(--lc-display);
  font-weight: 400;
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  line-height: 1;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}
.lc-fm-tx-accroche { display: block; font-size: 0.85rem; color: var(--lc-gris); line-height: 1.55; max-width: 70ch; }
.lc-fm-tx-meta {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lc-gris);
  line-height: 1.8;
  text-align: right;
  padding-right: 0.5rem;
}
.lc-fm-tx-lien:hover .lc-fm-tx-titre { color: var(--lc-signal-deep); }

/* ── La mercerie : rayons en etiquettes, grille de fiches ──────────────── */
.lc-fm-bt { padding: 2.5rem 0 3.5rem; }
.lc-fm-rayons { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.5rem; }
.lc-fm-rayons a {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.4rem 0.8rem;
  border: 1.5px solid var(--lc-encre);
  transition: background 0.2s, color 0.2s;
}
.lc-fm-rayons a:hover { background: var(--lc-tint); }
.lc-fm-rayons a[aria-current="page"] { background: var(--lc-encre); color: var(--lc-blanc); }
.lc-fm-rayons-n { color: var(--lc-signal); margin-left: 0.25rem; }
.lc-fm-bt-note { max-width: 80ch; margin-bottom: 1.75rem; }

.lc-fm-grille {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1.5px solid var(--lc-encre);
  border-left: 1.5px solid var(--lc-encre);
}
.lc-fm-grille--serree { grid-template-columns: repeat(3, 1fr); margin-top: 1rem; }
.lc-fm-carte { border-right: 1.5px solid var(--lc-encre); border-bottom: 1.5px solid var(--lc-encre); background: var(--lc-blanc); transition: background 0.2s; }
.lc-fm-carte:hover { background: var(--lc-tint); }
.lc-fm-carte-lien { display: flex; flex-direction: column; height: 100%; }
.lc-fm-carte-visuel {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--lc-surface);
  border-bottom: 1.5px solid var(--lc-encre);
  display: flex;
  align-items: center;
  justify-content: center;
}
.lc-fm-carte-visuel--photo { background: #fff; }
.lc-fm-carte-visuel img {
  width: 100%; height: 100%;
  object-fit: contain;
  padding: 8%;
  filter: grayscale(90%);
  transition: filter 0.4s;
}
.lc-fm-carte:hover .lc-fm-carte-visuel img { filter: grayscale(0%); }
.lc-fm-sigle {
  font-family: var(--lc-display);
  font-size: 4rem;
  line-height: 1;
  letter-spacing: 0.04em;
  color: var(--lc-encre);
  opacity: 0.18;
}
.lc-fm-carte-corps { padding: 1rem; display: flex; flex-direction: column; gap: 0.4rem; flex: 1; }
.lc-fm-carte-marque { font-size: 0.6rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--lc-signal-deep); }
.lc-fm-carte-nom { font-family: var(--lc-display); font-weight: 400; font-size: 1.3rem; line-height: 1; text-transform: uppercase; }
.lc-fm-carte-type { font-size: 0.78rem; color: var(--lc-gris); line-height: 1.45; }
.lc-fm-carte-dispo {
  margin-top: auto;
  padding-top: 0.6rem;
  border-top: 1px solid var(--lc-ligne);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--lc-gris);
}

/* ── Etoffe comparee / point et couture : sommaire collant + colonne ───── */
.lc-fm-page { padding: 3rem 0 4rem; }
.lc-fm-page-grille {
  display: grid;
  grid-template-columns: 250px minmax(0, 720px);
  gap: 3.5rem;
  justify-content: center;
  align-items: start;
}
.lc-fm-sommaire {
  position: sticky;
  top: calc(var(--lc-hh) + var(--lc-fm-bh) + 1.5rem);
  max-height: calc(100vh - var(--lc-hh) - var(--lc-fm-bh) - 3rem);
  overflow-y: auto;
  border-top: 1.5px solid var(--lc-encre);
  padding-top: 0.9rem;
}
.lc-fm-sommaire-t { font-family: var(--lc-display); font-size: 1.2rem; letter-spacing: 0.06em; margin-bottom: 0.6rem; }
.lc-fm-sommaire a {
  display: grid;
  grid-template-columns: 2rem 1fr;
  gap: 0.4rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid var(--lc-ligne);
  font-size: 0.78rem;
  line-height: 1.4;
  color: var(--lc-gris);
  transition: color 0.2s;
}
.lc-fm-sommaire a:hover { color: var(--lc-encre); }
.lc-fm-sommaire-n { font-family: var(--lc-display); font-size: 1rem; color: var(--lc-signal); line-height: 1.2; }
.lc-fm-corps { min-width: 0; }

/* En bref / avant de commencer : panneau encre, comme la bande de la redaction */
.lc-fm-bref { background: var(--lc-encre); color: var(--lc-blanc); padding: 1.75rem 1.75rem 1.25rem; }
.lc-fm-bref .lc-fm-h2 { color: var(--lc-blanc); }
.lc-fm-bref .lc-fm-eyebrow { color: var(--lc-signal); }
.lc-fm-bref .lc-fm-liste li { color: rgba(248,247,245,0.85); font-size: 0.92rem; }
.lc-fm-sec.lc-fm-bref { border-top: none; }

/* Tableau comparatif : defilement horizontal contenu dans son cadre */
.lc-fm-table-wrap { overflow-x: auto; border: 1.5px solid var(--lc-encre); -webkit-overflow-scrolling: touch; }
.lc-fm-table-wrap:focus-visible { outline: 2px solid var(--lc-signal); outline-offset: 2px; }
.lc-fm-table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 0.85rem; }
.lc-fm-table caption {
  caption-side: top;
  text-align: left;
  padding: 0.7rem 0.9rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lc-gris);
  border-bottom: 1.5px solid var(--lc-encre);
}
.lc-fm-table th, .lc-fm-table td { padding: 0.7rem 0.9rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--lc-ligne); line-height: 1.5; }
.lc-fm-table thead th {
  background: var(--lc-encre);
  color: var(--lc-blanc);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.lc-fm-table thead a { color: var(--lc-blanc); border-bottom: 1px solid var(--lc-signal); }
.lc-fm-table thead a:hover { color: var(--lc-signal); }
.lc-fm-table tbody th { font-weight: 600; background: var(--lc-surface); width: 30%; }
.lc-fm-table tbody tr:last-child th, .lc-fm-table tbody tr:last-child td { border-bottom: none; }
.lc-fm-table--fiche { min-width: 0; }

/* Selon votre cas */
.lc-fm-cas { border-top: 1.5px solid var(--lc-encre); }
.lc-fm-cas-ligne { display: grid; grid-template-columns: 1fr 1.4fr; gap: 1.5rem; padding: 1rem 0; border-bottom: 1px solid var(--lc-ligne); }
.lc-fm-cas dt { font-weight: 600; font-size: 0.92rem; line-height: 1.5; }
.lc-fm-cas dd { font-size: 0.92rem; color: var(--lc-gris); line-height: 1.6; }

/* Point et couture : releve, etapes a numero fantome, attention, controle */
.lc-fm-releve {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1.5px solid var(--lc-encre);
  border-bottom: 1.5px solid var(--lc-encre);
  margin-bottom: 2.5rem;
  max-width: 1020px;
  margin-inline: auto;
}
.lc-fm-releve div { display: flex; flex-direction: column-reverse; gap: 0.2rem; padding: 1rem 1.25rem; }
.lc-fm-releve div + div { border-left: 1px solid var(--lc-ligne); }
.lc-fm-releve dt { font-size: 0.62rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--lc-gris); }
.lc-fm-releve dd { font-family: var(--lc-display); font-size: 1.9rem; line-height: 1; }

.lc-fm-etapes { margin-top: 2.25rem; }
.lc-fm-etape {
  display: grid;
  grid-template-columns: 4.5rem 1fr;
  gap: 1.25rem;
  padding: 1.75rem 0;
  border-top: 1.5px solid var(--lc-encre);
}
.lc-fm-etape-n { font-family: var(--lc-display); font-size: 3.6rem; line-height: 0.85; color: var(--lc-signal); }
.lc-fm-etape-titre { font-family: var(--lc-display); font-weight: 400; font-size: 1.6rem; line-height: 1.05; text-transform: uppercase; margin-bottom: 0.6rem; }
.lc-fm-etape-corps p { font-size: 0.96rem; line-height: 1.75; }
.lc-fm-attention {
  margin-top: 0.9rem;
  padding: 0.8rem 1rem;
  background: var(--lc-tint);
  border-left: 3px solid var(--lc-signal);
  font-size: 0.88rem !important;
  line-height: 1.6 !important;
}
.lc-fm-controle { border: 1.5px solid var(--lc-encre); padding: 1.5rem; margin-top: 1rem; }
.lc-fm-controle .lc-fm-h2::before { content: '✓'; color: var(--lc-signal); }

/* ── Fiche de la mercerie ──────────────────────────────────────────────── */
.lc-fm-fp { padding: 3rem 0 2.5rem; border-bottom: 1.5px solid var(--lc-encre); }
.lc-fm-fp-grille { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 3rem; align-items: start; }
.lc-fm-fp-visuel {
  position: relative;
  aspect-ratio: 1 / 1;
  border: 1.5px solid var(--lc-encre);
  background: var(--lc-surface);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.lc-fm-fp-visuel--photo { background: #fff; }
.lc-fm-fp-visuel img { width: 100%; height: 100%; object-fit: contain; padding: 6%; }
.lc-fm-fp-visuel .lc-fm-sigle { font-size: 9rem; }
.lc-fm-badge {
  position: absolute;
  top: 0; left: 0;
  background: var(--lc-signal-deep);
  color: #fff;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.35rem 0.75rem;
}
.lc-fm-fil-clair { color: var(--lc-gris); margin-bottom: 1.25rem; }
.lc-fm-fil-clair a { color: var(--lc-encre); }
.lc-fm-fil-clair a:hover { color: var(--lc-signal-deep); }
.lc-fm-fil-clair .lc-fm-fil-ici { color: var(--lc-gris); }
.lc-fm-fp-titre { font-family: var(--lc-display); font-weight: 400; font-size: clamp(2.2rem, 4.4vw, 3.8rem); line-height: 0.95; text-transform: uppercase; margin-bottom: 0.6rem; overflow-wrap: break-word; }
.lc-fm-fp-type { font-size: 0.92rem; color: var(--lc-gris); margin-bottom: 1.25rem; }
.lc-fm-fp-resume { margin-bottom: 1.25rem; font-size: 0.92rem; }
.lc-fm-fp-dispo { padding: 0.9rem 1rem; border: 1.5px solid var(--lc-encre); font-size: 0.85rem; line-height: 1.6; margin-bottom: 1.25rem; }
.lc-fm-fp-dispo strong { color: var(--lc-signal-deep); text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.75rem; }
.lc-fm-fp-meta { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 0 2rem; }
.lc-fm-fp-meta div { display: flex; flex-direction: column-reverse; gap: 0.15rem; }
.lc-fm-fp-meta dt { font-size: 0.6rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--lc-gris); }
.lc-fm-fp-meta dd { font-size: 0.88rem; font-weight: 600; }
.lc-fm-fp-meta a { border-bottom: 1px solid var(--lc-signal); }

.lc-fm-fp-suite { padding: 2rem 0 3.5rem; }
.lc-fm-onglets { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; margin-bottom: 2.5rem; }
.lc-fm-onglets a {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.4rem 0.8rem;
  border: 1.5px solid var(--lc-ligne);
  color: var(--lc-gris);
  transition: border-color 0.2s, color 0.2s;
}
.lc-fm-onglets a:hover { border-color: var(--lc-signal); color: var(--lc-signal-deep); }
.lc-fm-lecture { max-width: 760px; margin-inline: auto; }

.lc-fm-voisins { padding: 2.5rem 0 3.5rem; border-top: 1.5px solid var(--lc-encre); }
.lc-fm-voisins-tete { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: 1.25rem; }
.lc-fm-voisins-titre { font-family: var(--lc-display); font-weight: 400; font-size: 1.75rem; text-transform: uppercase; letter-spacing: 0.04em; }
.lc-fm-voisins-meta { font-size: 0.62rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--lc-signal-deep); }

/* ── Bloc « Pour aller plus loin » sous un article ─────────────────────── */
.lc-fm-suite { border: 1.5px solid var(--lc-encre); margin: 2.5rem 0 0; }
.lc-fm-suite > .lc-fm-eyebrow { padding: 1.25rem 1.5rem 0; margin-bottom: 0.25rem; }
.lc-fm-suite-titre { font-family: var(--lc-display); font-weight: 400; font-size: 1.7rem; text-transform: uppercase; letter-spacing: 0.03em; padding: 0 1.5rem 1rem; }
.lc-fm-suite-liste li { border-top: 1px solid var(--lc-ligne); }
.lc-fm-suite-liste a {
  display: grid;
  grid-template-columns: 11rem 1fr auto;
  gap: 1rem;
  align-items: baseline;
  padding: 0.85rem 1.5rem;
  transition: background 0.2s;
}
.lc-fm-suite-liste a::after { content: '→'; color: var(--lc-signal); }
.lc-fm-suite-liste a:hover { background: var(--lc-tint); }
.lc-fm-suite-type { font-size: 0.6rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--lc-signal-deep); }
.lc-fm-suite-nom { font-size: 0.92rem; font-weight: 500; line-height: 1.45; }

/* ── Accueil : les formats dans la section des rubriques ───────────────── */
.lc-fm-acces { margin-top: 2.5rem; }
.lc-fm-acces-tete { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.lc-fm-acces-titre { font-family: var(--lc-display); font-weight: 400; font-size: 1.35rem; text-transform: uppercase; letter-spacing: 0.06em; }
.lc-fm-acces-meta { font-size: 0.62rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--lc-signal-deep); }
.lc-univers-grille.lc-fm-acces-grille { grid-template-columns: repeat(4, 1fr); }

/* ── Plan du site ──────────────────────────────────────────────────────── */
.lc-fm-plan-rayon { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; margin: 1rem 0 0.4rem; }
.lc-fm-plan-rayon a:hover { color: var(--lc-signal-deep); }

/* ── Outil : rayon d'une jupe soleil ───────────────────────────────────── */
.lc-fm-js { padding: 3rem 0 3rem; }
.lc-fm-js-grille {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  border: 1.5px solid var(--lc-encre);
  max-width: 1120px;
  margin-inline: auto;
}
.lc-fm-js-form { padding: 2rem; }
.lc-fm-js-form fieldset { border: none; padding: 0; margin: 0 0 1.5rem; }
.lc-fm-js-form legend { font-size: 0.65rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 0.7rem; }
.lc-fm-js-types { display: grid; grid-template-columns: repeat(3, 1fr); border: 1.5px solid var(--lc-encre); }
.lc-fm-js-type { position: relative; }
.lc-fm-js-type + .lc-fm-js-type { border-left: 1.5px solid var(--lc-encre); }
.lc-fm-js-type input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.lc-fm-js-type span {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  padding: 0.75rem 0.4rem;
  text-align: center;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: background 0.2s, color 0.2s;
}
.lc-fm-js-type b { font-family: var(--lc-display); font-weight: 400; font-size: 1.5rem; letter-spacing: 0.02em; line-height: 1; }
.lc-fm-js-type input:checked + span { background: var(--lc-encre); color: var(--lc-blanc); }
.lc-fm-js-type input:checked + span b { color: var(--lc-signal); }
.lc-fm-js-type input:focus-visible + span { outline: 2px solid var(--lc-signal); outline-offset: -4px; }
.lc-fm-js-champs { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.lc-fm-js-champ { display: flex; flex-direction: column; gap: 0.4rem; }
.lc-fm-js-champ label { font-size: 0.65rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.lc-fm-js-champ input {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border: 1.5px solid var(--lc-ligne);
  border-radius: 0;
  background: #fff;
  font-family: var(--lc-display);
  font-size: 1.6rem;
  letter-spacing: 0.02em;
  color: var(--lc-encre);
  appearance: textfield;
  -moz-appearance: textfield;
}
.lc-fm-js-champ input:focus { outline: none; border-color: var(--lc-encre); }
.lc-fm-js-aide { font-size: 0.75rem; color: var(--lc-gris); line-height: 1.5; }
.lc-fm-js-erreur { margin-top: 1rem; padding: 0.7rem 0.9rem; border-left: 3px solid var(--lc-signal-deep); background: var(--lc-tint); font-size: 0.85rem; }
.lc-fm-js-bouton { margin-top: 0.5rem; }

.lc-fm-js-res { background: var(--lc-encre); color: var(--lc-blanc); padding: 2rem; display: flex; flex-direction: column; gap: 1.25rem; min-width: 0; }
.lc-fm-js-res .lc-fm-eyebrow { color: var(--lc-signal); margin-bottom: 0; }
.lc-fm-js-res .lc-fm-h2 { color: var(--lc-blanc); margin-bottom: 0; }
.lc-fm-js-chiffres { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid rgba(248,247,245,0.18); }
.lc-fm-js-chiffres div { display: flex; flex-direction: column-reverse; gap: 0.15rem; padding: 0.9rem 0; border-bottom: 1px solid rgba(248,247,245,0.18); }
.lc-fm-js-chiffres div:nth-child(odd) { padding-right: 1rem; }
.lc-fm-js-chiffres div:nth-child(even) { padding-left: 1rem; border-left: 1px solid rgba(248,247,245,0.18); }
.lc-fm-js-chiffres dt { font-size: 0.6rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(248,247,245,0.55); }
.lc-fm-js-chiffres dd { font-family: var(--lc-display); font-size: 2.1rem; line-height: 1; letter-spacing: 0.02em; }
.lc-fm-js-chiffres .lc-fm-js-fort dd { color: var(--lc-signal); font-size: 2.6rem; }
.lc-fm-js-schema { display: flex; justify-content: center; }
.lc-fm-js-schema svg { width: 100%; max-width: 300px; height: auto; }
.lc-fm-js-lecture { font-size: 0.9rem; line-height: 1.65; color: rgba(248,247,245,0.85); }
.lc-fm-js-res .lc-fm-note { color: rgba(248,247,245,0.55); margin-top: 0; }

.lc-fm-js-ref { padding: 0 0 3rem; }
.lc-fm-js-ref-int { max-width: 1120px; margin-inline: auto; }
.lc-fm-js-ref-tete { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; border-top: 1.5px solid var(--lc-encre); padding-top: 1.25rem; margin-bottom: 1.25rem; }
.lc-fm-js-ref-titre { font-family: var(--lc-display); font-weight: 400; font-size: 1.75rem; text-transform: uppercase; letter-spacing: 0.04em; }
.lc-fm-js-ref-meta { font-size: 0.62rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--lc-signal-deep); }
.lc-fm-js-ref .lc-fm-table td { font-variant-numeric: tabular-nums; }
.lc-fm-js-methode { padding: 0 0 4rem; }
.lc-fm-js-methode .lc-fm-h2 { margin-top: 2.25rem; padding-top: 2.25rem; border-top: 1.5px solid var(--lc-encre); }
.lc-fm-js-methode .lc-fm-lecture > .lc-fm-h2:first-child { margin-top: 0; }

/* ── Responsive ────────────────────────────────────────────────────────── */
@media (max-width: 1200px) {
  .lc-fm-grille { grid-template-columns: repeat(3, 1fr); }
  .lc-univers-grille.lc-fm-acces-grille { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1024px) {
  .lc-fm-page-grille { grid-template-columns: minmax(0, 1fr); gap: 2rem; max-width: 720px; margin-inline: auto; }
  .lc-fm-sommaire { position: static; max-height: none; }
  .lc-fm-gx-grille { grid-template-columns: repeat(2, 1fr); }
  .lc-fm-js-grille { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 900px) {
  .lc-fm-fp-grille { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
  .lc-fm-fp-visuel { max-width: 460px; }
  .lc-fm-grille, .lc-fm-grille--serree { grid-template-columns: repeat(2, 1fr); }
  .lc-fm-tx-lien { grid-template-columns: 5rem 1fr; gap: 1.25rem; }
  .lc-fm-tx-meta { grid-column: 2; text-align: left; padding-right: 0; }
  .lc-fm-tx-n { font-size: 3.6rem; }
}
@media (max-width: 768px) {
  .lc-fm-barre { display: none; }
  body.lc-a-formats { padding-top: var(--lc-hh); }
  html { scroll-padding-top: calc(var(--lc-hh) + 1rem); }
  .lc-fm-sommaire { top: auto; }

  /* Menu plein ecran : la liste s'allonge, le panneau defile depuis le haut */
  .lc-a-formats .lc-nav-mobile.is-open { justify-content: flex-start; overflow-y: auto; padding: 4.5rem 1rem 2.5rem; gap: 1.5rem; }
  .lc-a-formats .lc-nav-mobile ul li a { font-size: clamp(2rem, 9vw, 3rem); }
  .lc-nav-mobile .lc-fm-nav-mobile {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(248,247,245,0.18);
    width: 100%;
    max-width: 320px;
  }
  .lc-fm-nav-mobile-t { font-size: 0.62rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--lc-signal); }
  .lc-fm-nav-mobile a { font-family: var(--lc-display); font-size: 1.6rem; letter-spacing: 0.04em; color: rgba(248,247,245,0.75); text-align: center; }
  .lc-fm-nav-mobile a:hover, .lc-fm-nav-mobile a[aria-current="page"] { color: var(--lc-signal); }

  .lc-fm-gx-grille { grid-template-columns: minmax(0, 1fr); }
  .lc-fm-cas-ligne { grid-template-columns: minmax(0, 1fr); gap: 0.35rem; }
  .lc-fm-releve { grid-template-columns: minmax(0, 1fr); }
  .lc-fm-releve div + div { border-left: none; border-top: 1px solid var(--lc-ligne); }
  .lc-fm-etape { grid-template-columns: 3rem minmax(0, 1fr); gap: 0.9rem; }
  .lc-fm-etape-n { font-size: 2.6rem; }
  .lc-fm-suite-liste a { grid-template-columns: minmax(0, 1fr) auto; gap: 0.2rem 0.75rem; padding: 0.8rem 1rem; }
  .lc-fm-suite-type { grid-column: 1 / -1; }
  .lc-fm-suite > .lc-fm-eyebrow { padding: 1rem 1rem 0; }
  .lc-fm-suite-titre { padding: 0 1rem 0.8rem; }
  .lc-fm-js-form, .lc-fm-js-res { padding: 1.5rem 1.25rem; }
  .lc-fm-fp-meta { grid-template-columns: minmax(0, 1fr); gap: 0.75rem; }
  .lc-fm-voisins-tete, .lc-fm-js-ref-tete, .lc-fm-acces-tete { flex-direction: column; gap: 0.3rem; }
}
@media (max-width: 480px) {
  .lc-fm-grille, .lc-fm-grille--serree { grid-template-columns: minmax(0, 1fr); }
  .lc-univers-grille.lc-fm-acces-grille { grid-template-columns: minmax(0, 1fr); }
  .lc-fm-js-champs { grid-template-columns: minmax(0, 1fr); }
  .lc-fm-js-chiffres { grid-template-columns: minmax(0, 1fr); }
  .lc-fm-js-chiffres div:nth-child(odd), .lc-fm-js-chiffres div:nth-child(even) { padding: 0.8rem 0; border-left: none; }
  .lc-fm-tx-lien { grid-template-columns: 3.5rem minmax(0, 1fr); gap: 0.9rem; }
  .lc-fm-tx-n { font-size: 2.8rem; padding-left: 0; }
  .lc-fm-bref { padding: 1.25rem 1rem 0.75rem; }
  .lc-fm-manchette-titre { font-size: clamp(2.1rem, 11vw, 2.8rem); }
}

/* Etats masques : l'attribut hidden l'emporte sur l'affichage des boutons du theme */
.lc-fm-js-bouton[hidden], .lc-fm-js-erreur[hidden] { display: none; }
.lc-fm-fil-clair .lc-fm-fil-ici, .lc-fm-fil-clair span { opacity: 1; }
