/**
 * Shared séance / treatment page layout (.ac-seance)
 *
 * Per-page hero image via --ac-seance-hero on .ac-seance
 */

.ac-seance {
  --ac-seance-muted: #727272;
  --ac-seance-max: 920px;
  --ac-seance-wide: 1120px;
  --ac-seance-gap: clamp(1.5rem, 3.5vw, 2.75rem);
  --ac-seance-hero-fallback: #f2f2f2;
  color: var(--ac-seance-muted);
}

.ac-seance :where(h1, h2, h3, p, figure, ul) {
  margin: 0;
}

.ac-seance img {
  max-width: 100%;
  height: auto;
  display: block;
}

.ac-seance a:not(.btn) {
  color: inherit;
}

.entry-content .ac-seance a.btn {
  text-decoration: none;
}

/* -------------------------------------------------------------------------- */
/* Hero                                                                       */
/* -------------------------------------------------------------------------- */

.ac-seance__hero {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: clamp(240px, 36vw, 400px);
  padding: clamp(2rem, 5vw, 3.5rem) 1.25rem;
  text-align: center;
  background-color: var(--ac-seance-hero-fallback);
  background-image: var(--ac-seance-hero);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

.ac-seance__hero-inner {
  width: min(100%, var(--ac-seance-wide));
}

.entry-content .ac-seance__hero-title {
  font-family: "Roboto", sans-serif;
  font-size: clamp(2rem, 6vw, 4.5rem);
  font-weight: 200;
  line-height: 1.15;
  color: #fff;
}

.entry-content .ac-seance__hero-lead {
  margin-top: 0.85rem;
  max-width: 40rem;
  margin-inline: auto;
  font-family: "Josefin Sans", sans-serif;
  font-size: clamp(0.95rem, 2vw, 1.35rem);
  font-weight: 300;
  letter-spacing: 0.08em;
  line-height: 1.5;
  color: #fff;
}

/* -------------------------------------------------------------------------- */
/* Sections                                                                   */
/* -------------------------------------------------------------------------- */

.ac-seance__section {
  width: min(100%, var(--ac-seance-max));
  margin: 0 auto;
  padding: var(--ac-seance-gap) 1.25rem 0;
}

.ac-seance__section:last-child {
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
}

.entry-content .ac-seance__h2 {
  font-family: "Roboto", sans-serif;
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  font-weight: 900;
  line-height: 1.25;
  color: var(--ac-seance-muted);
  margin-bottom: 1rem;
  text-align: center;
}

.entry-content .ac-seance__h3 {
  font-family: "Roboto", sans-serif;
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  font-weight: 700;
  line-height: 1.35;
  color: var(--ac-seance-muted);
  margin: 0 0 0.85rem;
  text-align: center;
}

.ac-seance__prose {
  font-family: "Roboto", sans-serif;
  font-size: 1.1rem;
  font-weight: 200;
  letter-spacing: 0.04em;
  line-height: 1.7;
  color: var(--ac-seance-muted);
}

.ac-seance__prose p + p {
  margin-top: 0.9em;
}

.ac-seance__split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: clamp(1.25rem, 3vw, 2.25rem);
  align-items: start;
}

.ac-seance__split--flip {
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
}

.ac-seance__split--flip .ac-seance__media {
  order: 2;
}

.ac-seance__split--flip .ac-seance__copy {
  order: 1;
}

.ac-seance__media {
  overflow: hidden;
  border-radius: 2px;
}

.ac-seance__media img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.ac-seance__cta {
  margin-top: 1.35rem;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.ac-seance__list {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 0.55rem;
  font-family: "Roboto", sans-serif;
  font-size: 1.1rem;
  font-weight: 200;
  letter-spacing: 0.04em;
  line-height: 1.5;
  color: var(--ac-seance-muted);
}

.ac-seance__list li {
  position: relative;
  padding-left: 1.6rem;
}

.ac-seance__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 50%;
  background: #9ab2a2;
}

.ac-seance__band {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: clamp(200px, 30vw, 320px);
  margin-top: clamp(2rem, 5vw, 3.5rem);
  padding: 2.5rem 1.25rem;
  text-align: center;
  background-color: #e6e6e6;
  background-image: var(--ac-seance-band, none);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

.entry-content .ac-seance__band-title {
  max-width: 18em;
  font-family: "Roboto", sans-serif;
  font-size: clamp(1.35rem, 3.5vw, 2.25rem);
  font-weight: 200;
  letter-spacing: 0.5px;
  line-height: 1.3;
  color: #fff;
}

@media (max-width: 820px) {
  .ac-seance__split,
  .ac-seance__split--flip {
    grid-template-columns: 1fr;
  }

  .ac-seance__split--flip .ac-seance__media,
  .ac-seance__split--flip .ac-seance__copy {
    order: initial;
  }

  .ac-seance__media {
    max-width: 420px;
    margin-inline: auto;
    width: 100%;
  }
}
