/* content-hero-charte — hero éditorial charte sombre */
.lws-content-hero-charte {
  --chc-bg: var(--lws-bg, #111111);
  --chc-ivory: var(--lws-ivory, #f4efe8);
  --chc-soft: var(--lws-text-soft, #c7bbb3);
  --chc-prune: var(--lws-prune, #351425);
  --chc-copper: var(--lws-copper, #c87846);
  --chc-copper-hover: var(--lws-copper-hover, #d88c58);
  --chc-border: var(--lws-border, #3b3137);
  --chc-surface: var(--lws-surface, #1c181b);
  position: relative;
  isolation: isolate;
  width: 100%;
  padding: clamp(3.5rem, 8vh, 5.5rem) clamp(1.25rem, 4vw, 3rem) clamp(2.5rem, 6vh, 4rem);
  background: var(--chc-bg);
  color: var(--chc-ivory);
  font-family: "Montserrat", "Segoe UI", system-ui, sans-serif;
  box-sizing: border-box;
}

.lws-content-hero-charte *,
.lws-content-hero-charte *::before,
.lws-content-hero-charte *::after {
  box-sizing: border-box;
}

.lws-content-hero-charte__halo {
  position: absolute;
  z-index: 0;
  width: min(88vw, 920px);
  height: min(88vw, 920px);
  left: -22%;
  top: -30%;
  pointer-events: none;
}

.lws-content-hero-charte__inner {
  position: relative;
  z-index: 1;
  max-width: 820px;
  margin: 0 auto;
}

.lws-content-hero-charte__breadcrumb {
  margin-bottom: 1.5rem;
}

.lws-content-hero-charte__breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.lws-content-hero-charte__breadcrumb-item:not(:last-child)::after {
  content: "/";
  margin-left: 0.5rem;
  color: var(--chc-border);
}

.lws-content-hero-charte__breadcrumb-link {
  color: var(--chc-soft);
  text-decoration: none;
  transition: color 0.2s ease;
}

.lws-content-hero-charte__breadcrumb-link:hover,
.lws-content-hero-charte__breadcrumb-link:focus-visible {
  color: var(--chc-copper-hover);
}

.lws-content-hero-charte__breadcrumb-current {
  color: var(--chc-copper);
}

.lws-content-hero-charte__eyebrow {
  margin: 0 0 0.85rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--chc-copper);
}

.lws-content-hero-charte__title {
  margin: 0 0 1.15rem;
  font-size: clamp(1.85rem, 4vw, 2.85rem);
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: -0.02em;
  color: var(--chc-ivory);
  text-wrap: balance;
}

.lws-content-hero-charte__intro {
  max-width: 42rem;
  font-size: clamp(1rem, 1.25vw, 1.1rem);
  line-height: 1.68;
  color: var(--chc-soft);
}

.lws-content-hero-charte__intro p {
  margin: 0 0 1rem;
}

.lws-content-hero-charte__intro p:last-child {
  margin-bottom: 0;
}

.lws-content-hero-charte__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  margin-top: 1.75rem;
}

.lws-content-hero-charte__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
  padding: 0.8rem 1.35rem;
  border-radius: 2px;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.lws-content-hero-charte__btn--primary {
  background: var(--chc-copper);
  color: #1a120e;
  border: 1px solid var(--chc-copper);
}

.lws-content-hero-charte__btn--primary:hover,
.lws-content-hero-charte__btn--primary:focus-visible {
  background: var(--chc-copper-hover);
  border-color: var(--chc-copper-hover);
}

.lws-content-hero-charte__btn--secondary {
  background: transparent;
  color: var(--chc-ivory);
  border: 1px solid var(--chc-border);
}

.lws-content-hero-charte__btn--secondary:hover,
.lws-content-hero-charte__btn--secondary:focus-visible {
  border-color: var(--chc-copper);
  color: var(--chc-copper-hover);
}

@media (max-width: 640px) {
  .lws-content-hero-charte__cta {
    flex-direction: column;
    align-items: stretch;
  }

  .lws-content-hero-charte__btn {
    width: 100%;
    max-width: 22rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .lws-content-hero-charte__btn,
  .lws-content-hero-charte__breadcrumb-link {
    transition: none;
  }
}
