/* Finition partagée des pages secondaires : sans incidence sur l'accueil ni la boutique. */
:root {
  --polish-content: 1160px;
  --polish-section-space: clamp(64px, 7vw, 96px);
}

body {
  overflow-x: hidden;
}

.site-header.solid {
  min-height: 74px;
}

.site-header.solid .brand {
  letter-spacing: .01em;
}

.site-header.solid .brand img {
  width: 44px;
  height: 44px;
  padding: 2px;
  border-width: 1px;
  box-shadow: 0 3px 12px rgba(0, 0, 0, .18);
}

.desktop-nav a,
.site-tabs a,
.header-action,
.button,
.text-link,
.offer-question-link {
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.desktop-nav a:focus-visible,
.site-tabs a:focus-visible,
.header-action:focus-visible,
.button:focus-visible,
.text-link:focus-visible,
.offer-question-link:focus-visible,
.site-footer a:focus-visible {
  outline: 3px solid rgba(255, 224, 138, .9);
  outline-offset: 3px;
}

.section,
.notice-band,
.crew-section,
.local-proof {
  padding-block: var(--polish-section-space);
}

.section-inner {
  width: min(var(--polish-content), calc(100% - 36px));
}

.page-hero-grid > *,
.contact-layout > *,
.split-section > *,
.method-layout > *,
.story-layout > * {
  min-width: 0;
}

.page-hero p:not(.eyebrow) {
  max-width: 43ch;
}

.section-heading > p:not(.eyebrow),
.section-inner > .section-heading > p:not(.eyebrow) {
  max-width: 68ch;
  line-height: 1.65;
}

.page-hero img {
  object-position: center;
}

.page-captioned-photo figcaption,
.story-gallery figcaption {
  line-height: 1.45;
}

@media (max-width: 900px) {
  .site-explorer,
  .site-tabs,
  .trial-banner,
  .trial-banner div {
    min-width: 0;
    max-width: 100%;
  }

  .site-header.solid {
    gap: 12px;
    min-height: 64px;
    padding: 10px 14px;
  }

  .site-header.solid .brand {
    min-width: 0;
  }

  .site-header.solid .brand img {
    width: 40px;
    height: 40px;
  }

  .site-header.solid .header-action {
    min-width: 0;
    max-width: calc(100vw - 210px);
    overflow: hidden;
    padding-inline: 10px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .trial-banner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 96px;
    gap: 8px;
    padding: 10px 14px;
  }

  .trial-banner div {
    display: block;
  }

  .trial-banner strong {
    display: block;
    font-size: 1rem;
    line-height: 1.1;
  }

  .trial-banner span {
    display: block;
    margin-top: 3px;
    font-size: .75rem;
    line-height: 1.25;
  }

  .trial-banner a {
    align-self: center;
    padding: 8px 10px;
    font-size: .75rem;
    line-height: 1.2;
    text-align: center;
    white-space: normal;
  }

  .page-hero {
    padding: clamp(54px, 13vw, 80px) 0 clamp(48px, 10vw, 68px);
  }

  .page-hero::after {
    display: none;
  }

  .page-hero h1 {
    font-size: clamp(2.75rem, 12vw, 4.5rem);
    line-height: .93;
  }

  .page-hero p:not(.eyebrow) {
    max-width: 38ch;
    font-size: 1rem;
    overflow-wrap: anywhere;
  }

  .section,
  .notice-band,
  .crew-section,
  .local-proof {
    padding-block: clamp(56px, 13vw, 72px);
  }
}

@media (max-width: 560px) {
  .section-inner {
    width: min(var(--polish-content), calc(100% - 28px));
  }

  .site-header.solid .brand span {
    font-size: .7rem;
  }

  .site-header.solid .header-action {
    display: none;
  }

  .page-hero h1 {
    font-size: clamp(2.55rem, 11.8vw, 3.8rem);
  }

  .hero-actions {
    gap: 10px;
  }

  .hero-actions .button {
    width: 100%;
  }
}
