/* authority-proof-charte — bandeau preuves et liens */
.lws-authority-proof-charte {
  --apc-bg: var(--lws-bg, #111111);
  --apc-ivory: var(--lws-ivory, #f4efe8);
  --apc-soft: var(--lws-text-soft, #c7bbb3);
  --apc-prune: var(--lws-prune, #351425);
  --apc-copper: var(--lws-copper, #c87846);
  --apc-copper-hover: var(--lws-copper-hover, #d88c58);
  --apc-border: var(--lws-border, #3b3137);
  --apc-surface: var(--lws-surface, #1c181b);
  width: 100%;
  padding: clamp(2.5rem, 6vh, 4rem) clamp(1.25rem, 4vw, 3rem);
  background: var(--apc-bg);
  color: var(--apc-ivory);
  font-family: "Montserrat", "Segoe UI", system-ui, sans-serif;
  box-sizing: border-box;
}

.lws-authority-proof-charte *,
.lws-authority-proof-charte *::before,
.lws-authority-proof-charte *::after {
  box-sizing: border-box;
}

.lws-authority-proof-charte__inner {
  max-width: 900px;
  margin: 0 auto;
  padding: clamp(1.5rem, 3vw, 2rem);
  border-radius: 16px;
  border: 1px solid var(--apc-border);
  background:
    linear-gradient(135deg, rgba(53, 20, 37, 0.42) 0%, transparent 55%),
    var(--apc-surface);
}

.lws-authority-proof-charte__title {
  margin: 0 0 0.85rem;
  font-size: clamp(1.35rem, 2.8vw, 1.75rem);
  font-weight: 700;
  line-height: 1.25;
  color: var(--apc-ivory);
}

.lws-authority-proof-charte__body {
  font-size: 0.98rem;
  line-height: 1.65;
  color: var(--apc-soft);
}

.lws-authority-proof-charte__body p {
  margin: 0 0 0.85rem;
}

.lws-authority-proof-charte__body p:last-child {
  margin-bottom: 0;
}

.lws-authority-proof-charte__links {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin: 1.35rem 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(59, 49, 55, 0.75);
  padding-top: 1.15rem;
}

.lws-authority-proof-charte__link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.92rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--apc-copper);
  transition: color 0.2s ease;
}

.lws-authority-proof-charte__link::before {
  content: "→";
  font-size: 0.85rem;
  opacity: 0.75;
}

.lws-authority-proof-charte__link:hover,
.lws-authority-proof-charte__link:focus-visible {
  color: var(--apc-copper-hover);
}

.lws-authority-proof-charte__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.35rem;
}

.lws-authority-proof-charte__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.75rem 1.25rem;
  border-radius: 2px;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--apc-ivory);
  border: 1px solid var(--apc-border);
  background: transparent;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.lws-authority-proof-charte__btn:hover,
.lws-authority-proof-charte__btn:focus-visible {
  border-color: var(--apc-copper);
  color: var(--apc-copper-hover);
}

@media (prefers-reduced-motion: reduce) {
  .lws-authority-proof-charte__link,
  .lws-authority-proof-charte__btn {
    transition: none;
  }
}
