/* Limites : hero papier avec un résultat de vérification (prouvé / non prouvé), bascule « ce que ça prouve /
   ce que ça ne prouve pas », statuts, usage responsable, fin de page. Maquette : confiance-limites.
   Colonnes alignées sur le logo du header. */

.lm-w {
  box-sizing: border-box;
  max-width: var(--ps-container);
  margin: 0 auto;
  padding-right: var(--ps-gutter);
  padding-left: var(--ps-gutter);
}

/* ---------- Hero ---------- */

.lm-hero {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 56px;
  padding-top: 56px;
  padding-bottom: 96px;
}

.lm-hero-copy {
  display: flex;
  flex: 1 1 440px;
  flex-direction: column;
  gap: 26px;
  min-width: 0;
}

.lm-crumbs {
  color: #8a7266;
}

.ps-page main .lm-crumbs a {
  color: inherit;
}

.ps-page main .lm-crumbs a:hover {
  color: var(--ps-ink);
}

.lm-crumbs [aria-current="page"] {
  color: var(--ps-ink);
}

.ps-page .lm-h1 {
  max-width: 11em;
  color: var(--ps-ink);
  font-size: clamp(52px, 7vw, 116px);
  font-weight: 900;
  line-height: 0.86;
  letter-spacing: -0.06em;
}

.lm-out {
  color: transparent;
  -webkit-text-stroke: 1.5px var(--ps-orange-dark);
}

.ps-page .lm-lead {
  max-width: 34em;
  color: #5d4c43;
  font-size: var(--ps-lead-size);
  line-height: 1.55;
}

.lm-scene-col {
  flex: 1 1 460px;
  min-width: 0;
}

.lm-scene {
  position: relative;
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
}

/* Illustration : un résultat de vérification « Trusted » qui sépare ce que la signature prouve
   (coche verte) de ce qu'elle ne prouve pas (croix), soit le message de la page. */
.lm-card {
  overflow: hidden;
  border: 1px solid rgba(255, 138, 76, 0.35);
  border-radius: var(--ps-radius-card);
  background: var(--ps-ink);
  color: #fff;
  box-shadow: 0 40px 70px -40px rgba(60, 30, 10, 0.55);
}

.lm-card-top {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 22px;
  border-bottom: 1px solid rgba(255, 138, 76, 0.2);
}

.lm-thumb {
  flex: none;
  width: 64px;
  height: 64px;
  border-radius: 10px;
  background:
    radial-gradient(circle at 72% 30%, var(--ps-peach) 0 9px, transparent 10px),
    linear-gradient(160deg, transparent 55%, var(--ps-orange-dark) 56%),
    linear-gradient(200deg, transparent 62%, #7c2d12 63%),
    linear-gradient(180deg, #ffb48c, #f4511e);
}

.lm-card-id {
  min-width: 0;
}

.ps-page .lm-card-file {
  margin: 0 0 6px;
  color: #fff;
  font-size: 16px;
  font-weight: 800;
}

.ps-page .lm-card-status {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: #d7c3b8;
  font-size: 14px;
}

.lm-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--ps-status-trusted);
}

.lm-card-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.lm-card-col {
  padding: 20px 22px 24px;
}

.lm-card-col + .lm-card-col {
  border-left: 1px solid rgba(255, 138, 76, 0.2);
}

.ps-page .lm-card-h {
  margin: 0 0 14px;
  color: var(--ps-orange-light);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.lm-card-col ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.lm-card-col li {
  position: relative;
  padding-left: 30px;
  color: #fff;
  font-size: 15px;
  line-height: 1.4;
}

.lm-card-col li::before {
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
}

.lm-card-col--yes li::before {
  content: "✓";
  background: var(--ps-status-trusted);
  color: var(--ps-ink);
}

.lm-card-col--no li {
  color: #b9a597;
}

.lm-card-col--no li::before {
  content: "×";
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

/* ---------- Bascule et listes (section sombre) ---------- */

.lm-switch-section {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding-top: 128px;
  padding-bottom: 128px;
}

.lm-intro,
.lm-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

.ps-page main .f-dark .lm-h2 {
  color: #fff;
}

.ps-page main .lm-intro-text {
  max-width: 40em;
  color: #d7c3b8;
}

.ps-page main .lm-sub {
  max-width: 34em;
  color: var(--ps-muted-light);
}

.lm-sw {
  display: inline-flex;
  flex-wrap: wrap;
  align-self: flex-start;
  gap: 4px;
  padding: 5px;
  border-radius: var(--ps-radius-pill);
  background: rgba(255, 255, 255, 0.08);
}

.lm-sw button {
  min-height: 46px;
  padding: 12px 20px;
  border: 0;
  border-radius: var(--ps-radius-pill);
  background: transparent;
  color: #fff;
  font: inherit;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  transition: background 0.25s, color 0.25s;
}

.lm-sw [data-lm-show="p"][aria-pressed="true"] {
  background: #fff;
  color: var(--ps-ink);
}

.lm-sw [data-lm-show="n"][aria-pressed="true"] {
  background: var(--ps-orange);
  color: #fff;
}

.lm-list {
  margin: 0;
  padding: 0;
  border-bottom: 1px solid rgba(255, 180, 140, 0.2);
  list-style: none;
}

.lm-list li {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 22px 0;
  border-top: 1px solid rgba(255, 180, 140, 0.2);
}

/* Pastille ✓ / ✕, jamais de texte barré. */
.lm-ico {
  display: grid;
  flex: none;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #c7ab9d;
  font-size: 15px;
  font-weight: 700;
}

.lm-ico--ok {
  background: rgba(110, 231, 183, 0.14);
  color: #6ee7b7;
}

.lm-copy {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.lm-t {
  color: #fff;
  font-size: 26px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.lm-d {
  max-width: 44em;
  color: #d7c3b8;
  font-size: 19px;
  line-height: 1.55;
}

/* ---------- Statuts et usage responsable ---------- */

.lm-status-list {
  margin: 0;
  padding: 0;
  border-bottom: 1px solid #e3cfc4;
  list-style: none;
}

.lm-status-list li {
  display: grid;
  grid-template-columns: minmax(0, 14em) minmax(0, 1fr);
  align-items: baseline;
  gap: 8px 24px;
  padding: 20px 0;
  border-top: 1px solid #e3cfc4;
  color: var(--ps-muted-light);
  font-size: 19px;
  line-height: 1.55;
}

.lm-status-name {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ps-ink);
  font-size: 26px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.lm-example {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 46em;
  padding: 24px 26px;
  border: 1px solid #e3cfc4;
  border-radius: var(--ps-radius-md);
  background: #fffdf8;
}

.lm-example-tag {
  align-self: flex-start;
  padding: 5px 12px;
  border-radius: var(--ps-radius-pill);
  background: rgba(245, 158, 11, 0.16);
  color: #92400e;
  font-size: 14px;
  font-weight: 700;
}

.ps-page .lm-example p {
  color: var(--ps-muted-light);
  font-size: 19px;
  line-height: 1.55;
}

.lm-responsible {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding-top: 24px;
}

.ps-page .lm-h3 {
  color: var(--ps-ink);
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.035em;
}

.ps-page .lm-resp-text {
  max-width: 40em;
  color: var(--ps-muted-light);
  font-size: 19px;
  line-height: 1.55;
}

/* Citation : Satoshi en orange, détachée du paragraphe par des guillemets. */
.lm-quote {
  max-width: 22em;
  margin: 20px 0 0;
  color: var(--ps-orange-dark);
  font-size: clamp(24px, 2.4vw, 30px);
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

/* ---------- Mobile et mouvement réduit ---------- */

@media (max-width: 900px) {
  .lm-hero {
    padding-top: 32px;
  }

  .ps-page .lm-h1 {
    font-size: clamp(42px, 12.5vw, 64px);
  }

  .lm-card-cols {
    grid-template-columns: 1fr;
  }

  .lm-card-col + .lm-card-col {
    border-top: 1px solid rgba(255, 138, 76, 0.2);
    border-left: 0;
  }

  .lm-switch-section {
    padding-top: 88px;
    padding-bottom: 88px;
  }

  .lm-status-list li {
    grid-template-columns: 1fr;
  }
}


@media (prefers-reduced-motion: reduce) {
  .lm-sw button {
    transition: none;
  }
}

.lm-quote::before {
  content: "« ";
}

.lm-quote::after {
  content: " »";
}

:lang(en) .lm-quote::before {
  content: "“";
}

:lang(en) .lm-quote::after {
  content: "”";
}
