.faq-page #contenu {
  --faq-cream: #f8f4ef;
  --faq-ink: #303431;
  --faq-terracotta: #a45233;
  --faq-line: #ded5ca;
  color: var(--faq-ink);
  background: var(--faq-cream);
  font-size: 1rem;
  line-height: 1.65;
}

.faq-page #contenu h1,
.faq-page #contenu h2 {
  margin: 0;
  font-family: Georgia, serif;
  font-weight: 400;
  line-height: 1.08;
  text-wrap: balance;
}

.faq-page #contenu p { margin: 0; }
.faq-page #contenu a { text-underline-offset: .22em; }
.faq-page #contenu :focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }

.faq-wrap { width: min(1100px, calc(100% - 64px)); margin-inline: auto; }
.faq-eyebrow { text-transform: uppercase; letter-spacing: .17em; font-size: .73rem; }

.faq-hero {
  position: relative;
  isolation: isolate;
  background: #343d28;
  color: var(--faq-cream);
}

.faq-hero::after,
.faq-hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; }

.faq-hero-photo {
  z-index: -2;
  display: block;
  object-fit: cover;
  object-position: 58% 53%;
}

.faq-hero::after {
  z-index: -1;
  content: "";
  background: linear-gradient(90deg, #303a26 0%, #39452cf7 23%, #39452cce 37%, #39452c50 51%, transparent 66%);
}

.faq-hero .faq-wrap {
  display: flex;
  align-items: center;
  min-height: clamp(390px, 43.5vw, 535px);
  padding-block: 42px;
}

.faq-hero .faq-wrap > div { width: min(48%, 475px); }

.faq-page #contenu .faq-hero h1 {
  margin-top: 17px;
  max-width: 13ch;
  font-size: clamp(2.5rem, 5vw, 4.7rem);
  letter-spacing: -.04em;
}

.faq-page #contenu .faq-intro { margin-top: 20px; max-width: 37ch; font-size: 1.04rem; }

.faq-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: clamp(28px, 7vw, 100px);
  padding-block: 60px 72px;
}

.faq-contents {
  align-self: start;
  position: sticky;
  top: 24px;
  border-top: 1px solid var(--faq-line);
  padding-top: 18px;
}

.faq-contents a { display: block; padding-block: 7px; }
.faq-contents a:hover { text-decoration: underline; }
.faq-page #contenu .faq-contents .faq-eyebrow { margin-bottom: 10px; }
.faq-questions section { scroll-margin-top: 24px; margin-bottom: 40px; }
.faq-questions section:last-child { margin-bottom: 0; }
.faq-page #contenu h2 { margin-bottom: 17px; font-size: clamp(1.8rem, 3vw, 2.4rem); }
.faq-questions details { border-top: 1px solid var(--faq-line); }
.faq-questions details:last-child { border-bottom: 1px solid var(--faq-line); }

.faq-questions summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  gap: 14px;
  justify-content: space-between;
  align-items: center;
  padding-block: 14px;
  font-weight: 600;
}

.faq-questions summary::-webkit-details-marker { display: none; }
.faq-questions summary::after { content: "+" / ""; color: var(--faq-terracotta); font-size: 1.4rem; font-weight: 400; }
.faq-questions details[open] summary::after { content: "−" / ""; }
.faq-questions details[open] summary { color: #844229; }
.faq-questions details p { padding: 0 24px 17px 0; max-width: 69ch; }
.faq-questions details a { text-decoration: underline; }

.faq-cta { background: #eee7db; padding-block: 38px; }

.faq-cta .faq-wrap {
  display: grid;
  align-items: center;
  grid-template-columns: minmax(160px, 260px) minmax(0, 1fr);
  gap: clamp(24px, 6vw, 85px);
}

.faq-cta img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  object-position: 50% 35%;
  border-radius: 3px;
}

.faq-page #contenu .faq-cta h2 { margin-bottom: 7px; }
.faq-cta .button { margin-top: 17px; }

@media (max-width: 780px) {
  .faq-hero .faq-wrap { min-height: 505px; align-items: flex-end; padding-block: 210px 32px; }
  .faq-hero .faq-wrap > div { width: 100%; }
  .faq-hero-photo { height: 78%; object-position: 50% 50%; }
  .faq-hero::after { background: linear-gradient(0deg, #343d28 23%, #343d28fa 31%, #39452cc7 46%, #39452c35 62%, transparent 78%); }
  .faq-page #contenu .faq-hero h1 { max-width: 18ch; }
  .faq-page #contenu .faq-intro { margin-top: 14px; }
  .faq-layout { grid-template-columns: minmax(0, 1fr); padding-block: 33px 45px; }
  .faq-contents { position: static; display: flex; gap: 5px 18px; flex-wrap: wrap; }
  .faq-page #contenu .faq-contents .faq-eyebrow { width: 100%; margin-bottom: 0; }
}

@media (max-width: 520px) {
  .faq-cta .faq-wrap { grid-template-columns: minmax(0, 1fr); }
  .faq-cta img { max-height: 260px; }
}

@media (max-width: 430px) { .faq-wrap { width: calc(100% - 36px); } }

@media (min-width: 1024px) {
  .faq-hero .faq-wrap {
    width: auto;
    margin-inline: clamp(38px, 4.6vw, 82px);
  }

  .faq-hero .faq-wrap > div { width: min(55%, 720px); }

  .faq-page #contenu .faq-hero h1 {
    max-width: none;
    font-size: clamp(2.5rem, 3.8vw, 3.65rem);
  }

  .faq-hero h1 span { display: block; white-space: nowrap; }

  .faq-hero::after {
    background: linear-gradient(90deg, #303a26 0%, #39452cf7 25%, #39452cd9 39%, #39452c50 54%, transparent 68%);
  }
}
