/* Lusa page headings: shared visual language, editorial and compact variants.
   Scoped to published site bodies and observed Hummingbird title components. */
:root {
  --lusa-heading-ink: #163e4f;
  --lusa-heading-line: #d6e3ea;
  --lusa-heading-radius: 20px;
  --lusa-heading-surface:
    radial-gradient(circle 11rem at 88% 22%, transparent calc(100% - 1px), rgb(6 78 113 / 16%) 100%, transparent calc(100% + 1px)),
    radial-gradient(circle 7rem at 68% 100%, transparent calc(100% - 1px), rgb(6 78 113 / 12%) 100%, transparent calc(100% + 1px)),
    linear-gradient(120deg, #fff 30%, #f0f6f9);
  --lusa-heading-shadow: 0 12px 32px rgb(22 62 79 / 5%);
  --lusa-heading-space: clamp(1.5rem, 3vw, 2.5rem);
}

/* Editorial pages keep their photograph, grid, links and reading order. */
body.lusa-heading-system #contenu > .hero {
  margin-block: 1.5rem 2rem;
  padding: 0;
  overflow: visible;
  background: transparent;
}
body.lusa-heading-system #contenu > .hero > .container {
  box-sizing: border-box;
  border: 1px solid var(--lusa-heading-line);
  border-radius: var(--lusa-heading-radius);
  background: var(--lusa-heading-surface);
  box-shadow: var(--lusa-heading-shadow);
}
body.lusa-heading-system #contenu > .hero:not(.home-hero) > .container {
  padding: var(--lusa-heading-space);
}
/* One owner for inner spacing: the copy, never the enclosing frame as well. */
body.lusa-heading-system #contenu > .hero.home-hero > .home-hero__frame {
  padding: 0;
  overflow: hidden;
}
body.lusa-heading-system #contenu > .hero.home-hero .home-hero__copy {
  padding: var(--lusa-heading-space);
}
body.lusa-heading-system #contenu > .hero h1 {
  color: var(--lusa-heading-ink);
  font-size: clamp(2rem, 3.2vw, 3rem);
  font-weight: 700;
  line-height: 1.13;
  letter-spacing: -.035em;
  text-wrap: balance;
  overflow-wrap: break-word;
}
body.lusa-heading-system #contenu > .hero .lede {
  color: #526978;
  font-size: 1.0625rem;
  line-height: 1.65;
}
body.lusa-heading-system #contenu > .hero .hero-media {
  border-radius: 14px;
}

/* Functional shop headings: exact native components, no global h1 override.
   Checkout/order and order confirmation remain outside this presentation lot. */
body:not(#checkout):not(#order):not(#order-confirmation) .page-header > .page-title-section,
body#category #js-product-list-header .category__header > .page-title-section,
body#cart .cart-grid__content > .page-title-section {
  box-sizing: border-box;
  width: 100%;
  max-width: none;
  margin: 0 0 1.5rem;
  padding: clamp(1.25rem, 2.5vw, 2rem);
  border: 1px solid var(--lusa-heading-line);
  border-radius: var(--lusa-heading-radius);
  background: var(--lusa-heading-surface);
  box-shadow: var(--lusa-heading-shadow);
  color: var(--lusa-heading-ink);
  font-size: clamp(1.65rem, 2.5vw, 2.25rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.025em;
  text-align: start;
  text-wrap: balance;
  overflow-wrap: break-word;
}
body:not(#checkout):not(#order):not(#order-confirmation) .page-header {
  margin-bottom: 0;
}
body#product .product__container > .product__right .product__name {
  color: var(--lusa-heading-ink);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.025em;
  text-wrap: balance;
}

@media (max-width: 575px) {
  :root { --lusa-heading-radius: 16px; --lusa-heading-space: 1.25rem; }
  body.lusa-heading-system #contenu > .hero { margin-block: 1rem 1.5rem; }
  body.lusa-heading-system #contenu > .hero h1 { font-size: 1.9rem; }
  body.lusa-heading-system #contenu > .hero .lede { font-size: 1rem; }
}

/* The same navigation rhythm on every editorial page. The full current title
   remains accessible; ellipsis keeps long trails from shifting mobile heroes. */
body.lusa-heading-system > .breadcrumb.container {
  box-sizing: border-box;
  min-height: 3.6rem;
  margin-block: 0;
  padding-block: 1.1rem;
  line-height: 1.4rem;
}
body.lusa-heading-system > .breadcrumb ol { min-height: 1.4rem; flex-wrap: nowrap; }
body.lusa-heading-system > .breadcrumb li { flex-shrink: 0; }
body.lusa-heading-system > .breadcrumb li:last-child {
  min-width: 0;
  flex-shrink: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
/* Rings are the frame background, not layers above text or controls. */
body.lusa-heading-system #contenu > .hero .hero-grid::before,
body.lusa-heading-system #contenu > .hero .hero-grid::after,
body.lusa-heading-system #contenu > .hero .hero-visual::before,
body.lusa-heading-system #contenu > .hero .hero-visual::after,
body#index .lusa-home-carousel .lusa-home-carousel__slide::before,
body#index .lusa-home-carousel .lusa-home-carousel__slide::after { content: none; }
body#index .lusa-home-carousel {
  border: 1px solid var(--lusa-heading-line);
  border-radius: var(--lusa-heading-radius);
  box-shadow: var(--lusa-heading-shadow);
}
body#index .lusa-home-carousel .lusa-home-carousel__slide {
  background: var(--lusa-heading-surface);
}
body#index .lusa-home-breadcrumb { margin-bottom: 0; }
@media (max-width: 575px) {
  :root {
    --lusa-heading-surface:
      radial-gradient(circle 7rem at 100% 15%, transparent calc(100% - 1px), rgb(6 78 113 / 16%) 100%, transparent calc(100% + 1px)),
      radial-gradient(circle 4rem at 70% 100%, transparent calc(100% - 1px), rgb(6 78 113 / 12%) 100%, transparent calc(100% + 1px)),
      linear-gradient(120deg, #fff 30%, #f0f6f9);
  }
}

/* Native Hummingbird breadcrumbs share the site's container and vertical rhythm. */
body:not(#checkout):not(#order):not(#order-confirmation) .breadcrumb__wrapper {
  box-sizing: border-box;
  min-height: 3.6rem;
  margin-block: 0;
  padding-block: 1.1rem;
  background: transparent;
}
body:not(#checkout):not(#order):not(#order-confirmation) .breadcrumb__wrapper > .container {
  width: calc(100% - 2rem);
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 0;
}
body:not(#checkout):not(#order):not(#order-confirmation) .breadcrumb__wrapper .breadcrumb {
  flex-wrap: nowrap;
  margin: 0;
  padding: 0;
  font-size: .9rem;
  line-height: 1.4rem;
}
body:not(#checkout):not(#order):not(#order-confirmation) .breadcrumb__wrapper .breadcrumb-item { flex-shrink: 0; }
body:not(#checkout):not(#order):not(#order-confirmation) .breadcrumb__wrapper .breadcrumb-item:last-child {
  min-width: 0;
  flex-shrink: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
