/* Page Constellations familiales — styles scopés */

.page-constellations .footer-cta {
  display: none;
}

.page-constellations .site-footer {
  padding-bottom: calc(5.5rem + env(safe-area-inset-bottom, 0px));
}

.cf-page {
  --cf-cream: #fbf7f2;
  --cf-white: #fffdfa;
  --cf-terracotta: #c67b63;
  --cf-terracotta-deep: #a8614d;
  --cf-ink: #3f342c;
  --cf-ink-soft: #5c4f45;
  --cf-muted: #7a6b60;
  --cf-water: #8b6f66;
  --cf-water-bg: #7d635a;
  --cf-deep: #6f5a52;
  --cf-deep-bg: #d9cdc2;
  --cf-card: #f5ede6;
  --cf-shadow: 0 14px 40px rgba(63, 52, 44, 0.06);
  --cf-shadow-soft: 0 10px 28px rgba(63, 52, 44, 0.05);
  --cf-scroll-offset: calc(var(--header-h) + 0.75rem);
}

.page-constellations .cf-page [id] {
  scroll-margin-top: var(--cf-scroll-offset);
}

.cf-section {
  padding: clamp(2.8rem, 5.5vw, 4.8rem) 0;
}

.cf-section-light {
  background: var(--cf-cream);
}

.cf-section-head {
  max-width: 42rem;
  margin: 0 auto 2rem;
  text-align: center;
}

.cf-section-head h2 {
  font-size: clamp(1.9rem, 3.5vw, 2.6rem);
  margin: 0 0 .85rem;
}

.cf-lede {
  font-size: 1.12rem;
  color: var(--cf-ink-soft);
  margin: 0;
}

/* Hero */
.cf-hero {
  background: linear-gradient(180deg, var(--cf-white) 0%, var(--cf-cream) 100%);
  padding: clamp(1.75rem, 3.5vw, 2.75rem) 0 clamp(2.8rem, 5vw, 4rem);
}

.cf-hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: center;
}

.cf-hero-copy .breadcrumb { margin-bottom: .75rem; }

.cf-hero-copy h1 {
  font-size: clamp(1.5rem, 1.75vw, 1.75rem);
  line-height: 1.3;
  font-weight: 500;
  color: var(--cf-ink-soft);
  margin: .45rem 0 .85rem;
}

.cf-hook {
  font-family: var(--font-display);
  font-size: clamp(2rem, 2.75vw, 2.5rem);
  font-style: normal;
  font-weight: 400;
  line-height: 1.2;
  color: var(--cf-ink);
  margin: 0 0 1rem;
}

.cf-hook-accent {
  color: var(--cf-terracotta-deep);
}

.cf-hero-lead {
  color: var(--cf-ink-soft);
  line-height: 1.65;
  max-width: 34rem;
  margin: 0 0 1.35rem;
}

.cf-hero-lead + .cf-hero-lead {
  margin-top: -.55rem;
}

.page-constellations .cf-hero-lead-split .cf-hero-lead-part {
  display: block;
}

.page-constellations .cf-hero-lead-split .cf-hero-lead-part + .cf-hero-lead-part {
  margin-top: 16px;
}

.cf-hero-actions {
  margin-top: .25rem;
}

.page-constellations .cf-hero .hero-meta {
  justify-content: flex-start;
  margin: 1rem 0 0;
  color: var(--cf-muted);
}

.page-constellations .cf-hero .hero-meta .icon {
  color: var(--cf-terracotta);
}

.cf-eyebrow-upper {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.72rem;
  font-weight: 500;
}

/* Photo mobile du hero — masquée desktop (le desktop garde le fond validé) */
.cf-hero-photo,
.cf-hero-bg,
.cf-hero-veil {
  display: none;
}

/* Identification section — réutilise spot-grid / spot-card de style.css */
.cf-section-identify {
  background: var(--cf-white);
  padding-top: clamp(2.2rem, 4vw, 3.2rem);
  padding-bottom: clamp(2.2rem, 4vw, 3rem);
}

.page-constellations .cf-section-identify .section-head-center {
  margin-bottom: clamp(2rem, 3.5vw, 2.2rem);
}

.page-constellations .cf-section-identify .cf-identify-eyebrow {
  font-size: clamp(0.82rem, 0.95vw, 0.92rem);
  letter-spacing: 0.14em;
  font-weight: 600;
  color: var(--cf-terracotta-deep);
  margin-bottom: 0.85rem;
}

.page-constellations .cf-section-identify .cf-identify-title {
  max-width: 36rem;
  margin-inline: auto;
  font-size: clamp(1.85rem, 2.6vw, 2.2rem);
  line-height: 1.28;
  text-wrap: balance;
}

.cf-identify-break {
  display: none;
}

@media (min-width: 769px) {
  .cf-identify-break {
    display: block;
  }

  .page-constellations .cf-section-identify .cf-identify-title {
    max-width: 40rem;
    font-size: clamp(1.95rem, 2.2vw, 2.15rem);
    line-height: 1.24;
  }
}

@media (min-width: 1101px) {
  .page-constellations .cf-section-identify .cf-identify-title {
    max-width: 42rem;
    font-size: 2.15rem;
  }
}

.page-constellations .cf-section-identify .spot-card {
  cursor: default;
}

.page-constellations .cf-section-identify .spot-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(67, 52, 42, 0.1);
  border-color: rgba(198, 123, 99, 0.35);
}

.cf-identify-transition {
  max-width: 46rem;
  margin: clamp(2.25rem, 4vw, 3rem) auto 0;
  padding: 0 clamp(.25rem, 2vw, 1rem);
  text-align: center;
}

.cf-identify-transition p {
  color: var(--cf-ink-soft);
  font-size: 1.05rem;
  line-height: 1.72;
  margin: 0 0 1.1rem;
}

.cf-identify-transition p:last-child {
  margin-bottom: 0;
}

/* Cadres image locaux — cadrages distincts, même fichier */
.cf-img-frame {
  overflow: hidden;
  border-radius: calc(var(--radius) + 8px);
  box-shadow: var(--cf-shadow-soft);
}

.cf-img-frame picture,
.cf-img-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cf-img-frame-hero {
  aspect-ratio: 1400 / 788;
}

.cf-img-frame-hero img {
  object-position: center center;
}

.cf-img-frame-water {
  aspect-ratio: 6 / 5;
}

.cf-img-frame-water img {
  object-position: center 55%;
}

.cf-img-frame-individuel img {
  object-fit: cover;
  object-position: 48% 52%;
}

.cf-split-media.cf-img-frame {
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.14);
}

/* Steps */
.cf-section-steps {
  padding-top: clamp(1.75rem, 3vw, 2.5rem);
}

.cf-steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  align-items: stretch;
  justify-items: stretch;
}

.cf-step {
  background: var(--cf-white);
  border-radius: calc(var(--radius) + 4px);
  padding: 1.25rem 1.1rem 1.35rem;
  box-shadow: var(--cf-shadow-soft);
  border-top: 3px solid var(--cf-terracotta);
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
}

.cf-step-icon {
  width: 2rem;
  height: 2rem;
  color: var(--cf-terracotta);
  margin-bottom: .55rem;
}

.cf-step-num {
  font-size: .78rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--cf-muted);
  margin: 0 0 .35rem;
}

.cf-step h3 {
  font-size: 1.05rem;
  margin: 0 0 .55rem;
  line-height: 1.3;
}

.cf-step p {
  margin: 0;
  font-size: .96rem;
  color: var(--cf-ink-soft);
  line-height: 1.55;
}

/* Intro visual — PHOTO 3 avant « Qu’est-ce qu’une constellation ? » */
.cf-section-intro-visual {
  padding-top: clamp(1.5rem, 3vw, 2.25rem);
  padding-bottom: clamp(1.25rem, 2.5vw, 1.85rem);
  background: var(--cf-white);
}

.cf-intro-visual-frame {
  max-width: 52rem;
  margin: 0 auto;
  box-shadow: var(--cf-shadow-soft);
}

.cf-section-formats {
  padding-top: clamp(1.25rem, 2.5vw, 1.75rem);
}

.cf-section-series-note {
  padding-top: 0.15rem;
  padding-bottom: clamp(1.6rem, 3vw, 2.2rem);
}

.cf-series-note {
  box-sizing: border-box;
  width: 100%;
  max-width: 40rem;
  margin: 0 auto;
  padding: 1.25rem 1.4rem 1.3rem 1.3rem;
  text-align: left;
  background: color-mix(in srgb, #fbf6ee 86%, var(--cf-terracotta) 5%);
  border-left: 2px solid var(--cf-terracotta);
  border-radius: 0 14px 14px 0;
}

.cf-series-note-kicker {
  margin: 0 0 0.42rem;
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cf-terracotta);
}

.cf-series-note-title {
  margin: 0 0 0.55rem;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.3vw, 1.42rem);
  font-weight: 500;
  line-height: 1.32;
  color: var(--cf-ink);
}

.cf-series-note p {
  margin: 0 0 0.9rem;
  color: var(--cf-ink-soft);
  font-size: 1.02rem;
  line-height: 1.62;
}

.cf-series-note a {
  color: var(--cf-terracotta);
  font-weight: 600;
  text-decoration: none;
}

.cf-series-note a:hover,
.cf-series-note a:focus-visible {
  color: var(--cf-terracotta-deep);
  text-decoration: underline;
}

@media (max-width: 640px) {
  .cf-series-note {
    max-width: none;
    padding: 1.1rem 1.05rem 1.15rem 1rem;
  }

  .cf-series-note-title {
    font-size: 1.16rem;
  }
}

/* Water section */
.cf-section-water {
  background: linear-gradient(135deg, var(--cf-water-bg) 0%, var(--cf-water) 100%);
  color: #fff9f5;
}

.cf-water-copy {
  max-width: 42rem;
  margin: 0 auto;
}

.cf-water-copy h2 {
  font-size: clamp(1.85rem, 3vw, 2.45rem);
  margin: 0 0 1.2rem;
  color: #fff;
}

.cf-water-copy p {
  color: rgba(255, 249, 245, 0.92);
  line-height: 1.65;
  margin: 0 0 1rem;
}

.cf-water-copy p:last-child {
  margin-bottom: 0;
}

.cf-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
}

.cf-split-copy h2 {
  font-size: clamp(1.85rem, 3vw, 2.45rem);
  margin: 0 0 1.2rem;
  color: #fff;
}

.cf-split-copy p {
  color: rgba(255, 249, 245, 0.92);
  line-height: 1.65;
}

.cf-highlight {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-style: italic;
  color: #fff;
  border-left: 3px solid rgba(255, 255, 255, 0.45);
  padding-left: 1rem;
  margin-top: 1.2rem;
}

.cf-split-media img,
.cf-split-media picture,
.cf-split-media picture img {
  width: 100%;
  border-radius: calc(var(--radius) + 6px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.14);
  object-fit: cover;
}

/* Formats */
.cf-format-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.cf-format-card {
  background: var(--cf-white);
  border-radius: calc(var(--radius) + 6px);
  overflow: hidden;
  box-shadow: var(--cf-shadow-soft);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.cf-format-media img,
.cf-format-media picture,
.cf-format-media picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cf-format-media.cf-img-frame-individuel img,
.cf-format-media.cf-img-frame-individuel picture img {
  object-fit: cover;
  object-position: 48% 52%;
}

.cf-format-media.cf-img-frame {
  aspect-ratio: 13 / 9;
}

/* Desktop : hauteur identique des deux zones image (réf. carte groupe 3/2) */
@media (min-width: 1101px) {
  .cf-format-grid .cf-format-media {
    aspect-ratio: 3 / 2;
    flex-shrink: 0;
  }
}

/* Mobile / tablette : hauteur naturelle pour la carte individuel */
@media (max-width: 1100px) {
  .cf-format-media.cf-img-frame-individuel {
    aspect-ratio: 5 / 2.5;
  }
}

.cf-format-body {
  padding: 1.5rem 1.4rem 1.6rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.cf-format-body h3 {
  font-size: 1.45rem;
  margin: 0 0 .5rem;
}

.cf-format-lead {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--cf-terracotta-deep);
  margin: 0 0 .75rem;
}

.cf-format-body ul {
  margin: .75rem 0 1rem;
  padding-left: 1.1rem;
  color: var(--cf-ink-soft);
  display: grid;
  gap: .35rem;
}

.cf-price,
.cf-price-pair {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--cf-terracotta-deep);
  margin: auto 0 1rem;
}

.cf-price-pair {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem 1.5rem;
}

.cf-format-body .btn-row { margin-top: auto; }

/* Génogramme — encart indépendant sous les 2 cartes */
.cf-genogram-below {
  max-width: 36rem;
  margin: clamp(1.75rem, 3.5vw, 2.25rem) auto 0;
  padding: clamp(1.1rem, 2.5vw, 1.35rem) clamp(1.15rem, 2.8vw, 1.5rem);
  background: rgba(255, 253, 250, 0.88);
  border: 1px solid rgba(198, 123, 99, 0.14);
  border-radius: calc(var(--radius) + 4px);
  box-shadow: var(--cf-shadow-soft);
}

.cf-genogram-below h3 {
  margin: 0 0 .7rem;
  font-size: clamp(1.05rem, 1.8vw, 1.15rem);
  line-height: 1.35;
  font-weight: 500;
  color: var(--cf-ink-soft);
}

.cf-genogram-below p {
  margin: 0 0 .55rem;
  font-size: .94rem;
  line-height: 1.62;
  color: var(--cf-ink-soft);
}

.cf-genogram-below-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .85rem 1.25rem;
  margin-top: .65rem;
  padding-top: .75rem;
  border-top: 1px solid rgba(198, 123, 99, 0.12);
}

.cf-genogram-below-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .15rem 1rem;
}

.cf-genogram-meta {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--cf-ink);
  margin: 0;
}

/* History breath */
.cf-section-history-breath {
  padding: clamp(1.25rem, 2.5vw, 1.75rem) 0;
  background: var(--cf-cream);
}

.cf-history-breath {
  max-width: 38rem;
  margin: 0 auto;
  padding: 0;
  border: none;
  text-align: center;
}

.cf-history-breath .cf-history-emphasis {
  margin: 0;
}

/* Next group */
.cf-section-next {
  background: var(--cf-white);
  padding-top: clamp(1.6rem, 3vw, 2.4rem);
  padding-bottom: clamp(2.2rem, 4vw, 3.2rem);
}

.cf-next-panel {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 1.5rem;
  align-items: center;
  background: var(--cf-card);
  border-radius: calc(var(--radius) + 8px);
  padding: clamp(1.1rem, 2.2vw, 1.65rem);
  box-shadow: var(--cf-shadow-soft);
  border: 1px solid rgba(198, 123, 99, 0.15);
}

.cf-next-copy h2 {
  font-size: clamp(1.6rem, 2.8vw, 2.1rem);
  margin: .35rem 0 .65rem;
}

.cf-next-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: .75rem;
}

.cf-next-meta span {
  background: var(--cf-white);
  border-radius: 999px;
  padding: .35rem .85rem;
  font-size: .92rem;
  color: var(--cf-ink-soft);
}

.cf-next-note {
  font-size: .94rem;
  color: var(--cf-muted);
  margin: 0 0 .9rem;
}

.cf-next-media img,
.cf-next-media picture,
.cf-next-media picture img {
  width: 100%;
  border-radius: calc(var(--radius) + 4px);
  object-fit: cover;
}

/* Deep themes */
.cf-section-deep {
  background: var(--cf-deep-bg);
  padding-top: clamp(3rem, 5.5vw, 5rem);
  padding-bottom: clamp(3rem, 5.5vw, 5rem);
}

.cf-theme-intro {
  max-width: 38rem;
  margin: 0 auto clamp(1.75rem, 3.2vw, 2.35rem);
  text-align: center;
  font-size: clamp(1rem, 1.6vw, 1.08rem);
  line-height: 1.62;
  color: var(--cf-ink-soft);
}

.cf-theme-intro-second {
  white-space: nowrap;
}

@media (max-width: 768px) {
  .page-constellations .cf-theme-intro-second {
    white-space: normal;
    font-size: clamp(0.88rem, 3.4vw, 0.98rem);
  }
}

.cf-theme-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.cf-theme-card {
  background: #f3ebe4;
  border-radius: calc(var(--radius) + 6px);
  padding: clamp(1.5rem, 3vw, 2rem);
  box-shadow: var(--cf-shadow-soft);
  color: var(--cf-ink);
  border: 1px solid rgba(255, 253, 250, 0.65);
  display: flex;
  flex-direction: column;
}

.cf-theme-card h2 {
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  line-height: 1.25;
  margin: 0 0 1rem;
}

.cf-theme-card p {
  color: var(--cf-ink-soft);
  font-size: 1rem;
  line-height: 1.65;
  margin: 0 0 .85rem;
}

.cf-theme-card > p:last-of-type {
  margin-bottom: 0;
}

.cf-theme-card strong {
  font-weight: 600;
  color: var(--cf-ink);
}

.cf-theme-card .cf-key-accent {
  color: var(--cf-terracotta-deep);
}

.cf-safe-frame {
  margin-top: clamp(1.75rem, 3.5vw, 2.5rem);
  padding: clamp(1.75rem, 3.5vw, 2.5rem) clamp(1.25rem, 3vw, 2rem);
  background: rgba(255, 253, 250, 0.72);
  border: 1px solid rgba(255, 253, 250, 0.95);
  border-radius: calc(var(--radius) + 8px);
}

.cf-safe-frame-title {
  margin: 0 0 clamp(1.25rem, 2.5vw, 1.75rem);
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2vw, 1.45rem);
  font-weight: 500;
  color: var(--cf-ink);
}

.cf-safe-frame-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.25rem, 2.5vw, 2rem);
}

.cf-safe-item {
  text-align: center;
  padding: 0 .5rem;
}

.cf-safe-icon {
  width: 1.65rem;
  height: 1.65rem;
  color: var(--cf-terracotta);
  opacity: .8;
  margin: 0 auto .65rem;
  display: block;
}

.cf-safe-item h4 {
  margin: 0 0 .55rem;
  font-size: .92rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--cf-terracotta-deep);
}

.cf-safe-item p {
  margin: 0;
  color: var(--cf-ink-soft);
  font-size: .98rem;
  line-height: 1.62;
}

.cf-callout {
  background: rgba(255, 253, 250, 0.88);
  border-left: 3px solid var(--cf-terracotta);
  border-radius: 0 12px 12px 0;
  padding: 1rem 1.1rem;
  margin: 1.2rem 0;
}

.cf-callout p {
  margin: 0 0 .55rem;
}

.cf-callout p:last-child { margin-bottom: 0; }

.cf-theme-list {
  margin: .85rem 0 1rem;
  padding: 0;
  list-style: none;
  display: grid;
  gap: .55rem;
}

.cf-theme-list li {
  position: relative;
  padding-left: 1.1rem;
  color: var(--cf-ink-soft);
  font-size: 1rem;
  line-height: 1.65;
}

.cf-theme-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .58em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--cf-terracotta);
}

.cf-theme-outro {
  margin-top: clamp(1.5rem, 3vw, 2rem);
  max-width: 40rem;
  margin-inline: auto;
  text-align: center;
  background: rgba(255, 253, 250, 0.82);
  border: 1px solid rgba(255, 253, 250, 0.9);
  border-radius: calc(var(--radius) + 8px);
  padding: clamp(1.35rem, 3vw, 1.75rem) clamp(1.25rem, 3vw, 2rem);
  box-shadow: var(--cf-shadow-soft);
}

.cf-theme-outro-icon {
  width: 1.35rem;
  height: 1.35rem;
  color: var(--cf-terracotta);
  opacity: .75;
  margin: 0 auto .65rem;
  display: block;
}

.cf-theme-outro p {
  margin: 0;
  color: var(--cf-ink-soft);
  line-height: 1.68;
  font-size: 1.02rem;
}

.cf-history-emphasis {
  font-family: var(--font-display);
  font-size: clamp(1.12rem, 1.8vw, 1.28rem);
  line-height: 1.55;
  color: var(--cf-ink);
  font-weight: 500;
}

/* Génogramme — encart secondaire */
.cf-genogram-aside {
  padding-top: 0;
  padding-bottom: clamp(1.5rem, 3vw, 2.25rem);
}

.cf-genogram-card {
  max-width: 40rem;
  margin: 0 auto;
  padding: clamp(1.25rem, 2.8vw, 1.65rem) clamp(1.25rem, 3vw, 1.85rem);
  background: rgba(255, 253, 250, 0.92);
  border: 1px solid rgba(198, 123, 99, 0.16);
  border-radius: calc(var(--radius) + 6px);
  box-shadow: var(--cf-shadow-soft);
}

.cf-genogram-card h2 {
  font-size: clamp(1.15rem, 2vw, 1.35rem);
  line-height: 1.35;
  margin: 0 0 .85rem;
  color: var(--cf-ink-soft);
}

.cf-genogram-card p {
  margin: 0 0 .75rem;
  color: var(--cf-ink-soft);
  font-size: .98rem;
  line-height: 1.65;
}

.cf-genogram-card p:last-of-type {
  margin-bottom: .85rem;
}

.cf-genogram-meta {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--cf-ink);
  margin-bottom: .35rem !important;
}

.cf-genogram-card .btn {
  margin-top: .35rem;
}

/* Locations */
.cf-section-locations {
  padding-top: clamp(2.2rem, 4vw, 3.2rem);
  padding-bottom: clamp(2.5rem, 4.5vw, 3.8rem);
}

.cf-locations {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}

.cf-locations article {
  background: var(--cf-white);
  border-radius: calc(var(--radius) + 4px);
  padding: 1.4rem 1.2rem;
  box-shadow: var(--cf-shadow-soft);
}

.cf-loc-icon {
  width: 1.75rem;
  height: 1.75rem;
  color: var(--cf-terracotta);
  margin-bottom: .65rem;
}

.cf-locations h3 {
  margin: 0 0 .55rem;
  font-size: 1.15rem;
}

.cf-locations p {
  margin: 0;
  color: var(--cf-ink-soft);
  line-height: 1.55;
}

.cf-hours {
  margin-top: .75rem !important;
  font-size: .92rem;
  color: var(--cf-muted) !important;
}

/* Quotes */
.cf-section-quotes {
  background: var(--cf-cream);
}

.cf-quotes {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: .85rem;
  align-items: stretch;
}

.cf-quote {
  background: var(--cf-white);
  border-radius: calc(var(--radius) + 4px);
  padding: 1.05rem .95rem;
  box-shadow: var(--cf-shadow-soft);
  margin: 0;
}

.cf-quote p {
  font-size: .93rem;
  line-height: 1.55;
}

.cf-quote-featured {
  padding: clamp(1.1rem, 2.2vw, 1.5rem);
}

.cf-quote-featured p {
  font-size: .94rem;
  line-height: 1.56;
}

.cf-quote-side {
  display: grid;
  gap: .85rem;
}

.cf-quote cite {
  display: block;
  margin-top: .55rem;
  font-style: normal;
  font-weight: 500;
  font-size: .88rem;
  color: var(--cf-terracotta-deep);
}

.page-constellations .cf-quote .icon-quote {
  width: 1.35rem;
  height: 1.35rem;
}

.page-constellations .cf-section-quotes .cf-section-head {
  margin-bottom: 1.65rem;
}

/* Articles */
.cf-section-articles {
  padding-top: clamp(2.2rem, 4vw, 3.2rem);
  padding-bottom: clamp(2.5rem, 4.5vw, 3.8rem);
}

.page-constellations .cf-article-list {
  max-width: 52rem;
  margin: 0 auto;
}

.page-constellations .cf-article-card {
  position: relative;
  border-color: rgba(198, 123, 99, 0.18);
  box-shadow: var(--cf-shadow-soft);
  outline: none;
}

.page-constellations .cf-article-card:focus-visible {
  box-shadow: 0 0 0 3px rgba(198, 123, 99, 0.35);
}

.page-constellations .cf-article-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--cf-shadow);
  border-color: rgba(198, 123, 99, 0.32);
}

.page-constellations .cf-article-link {
  margin-top: auto;
  font-weight: 500;
  color: var(--cf-terracotta-deep);
  font-size: .95rem;
  letter-spacing: 0;
  text-transform: none;
}

.page-constellations .cf-article-card:hover .cf-article-link {
  color: var(--cf-terracotta);
}

/* Final CTA */
.cf-final-cta {
  background: linear-gradient(180deg, var(--cf-white) 0%, var(--cf-cream) 100%);
  text-align: center;
  padding-top: clamp(2.5rem, 4.5vw, 3.8rem);
  padding-bottom: clamp(3rem, 6vw, 4.5rem);
}

.cf-final-cta h2 {
  font-size: clamp(1.85rem, 3vw, 2.4rem);
  max-width: 22ch;
  margin: 0 auto 1rem;
}

.cf-final-cta p {
  max-width: 36rem;
  margin: 0 auto .75rem;
  color: var(--cf-ink-soft);
}

.cf-final-cta .btn-row {
  justify-content: center;
  margin-top: 1.5rem;
}

/* FAQ on this page */
.page-constellations .section-faq {
  background: var(--cf-white);
  padding-top: clamp(2.5rem, 4.5vw, 4rem);
  padding-bottom: clamp(2.5rem, 4.5vw, 4rem);
}

.page-constellations .section-faq .faq {
  max-width: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .7rem;
  align-items: start;
}

.page-constellations .section-faq .section-head {
  text-align: center;
  max-width: 42rem;
  margin: 0 auto 2rem;
}

/* Sticky RDV */
.cf-sticky {
  position: fixed;
  z-index: 45;
  right: max(1rem, calc((100vw - 1180px) / 2 + 1rem));
  bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
  transition: transform .35s ease, opacity .35s ease;
}

.cf-sticky.is-away {
  transform: translateY(calc(120% + env(safe-area-inset-bottom, 0px)));
  opacity: 0;
  pointer-events: none;
}

.cf-sticky-btn {
  box-shadow: 0 12px 36px rgba(63, 52, 44, 0.18);
  min-height: 48px;
  padding-inline: 1.25rem;
}

/* Responsive */
@media (max-width: 1100px) {
  .cf-hero-grid,
  .cf-split,
  .cf-format-grid,
  .cf-next-panel,
  .cf-theme-grid,
  .cf-quotes {
    grid-template-columns: 1fr;
  }

  .cf-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cf-locations {
    grid-template-columns: 1fr;
  }

  .cf-hero-media {
    order: 2;
  }

  .cf-hero-copy {
    order: 1;
  }
}

@media (max-width: 900px) {
  .page-constellations .section-faq .faq {
    grid-template-columns: 1fr;
  }

  .cf-safe-frame-grid {
    grid-template-columns: 1fr;
    gap: 1.35rem;
  }

  .cf-safe-item {
    max-width: 28rem;
    margin-inline: auto;
  }

  .cf-identify-transition {
    text-align: left;
    max-width: none;
    padding-inline: .15rem;
  }
}

@media (max-width: 768px) {
  .page-constellations .cf-hero {
    position: relative;
    overflow: visible;
    padding: 0 0 2.15rem;
    background: var(--cf-cream);
  }

  .cf-hero-bg,
  .cf-hero-veil,
  .page-constellations .cf-hero-bg,
  .page-constellations .cf-hero-veil {
    display: none !important;
  }

  .page-constellations .cf-hero-copy {
    position: relative;
    isolation: auto;
    max-width: none;
    width: 100%;
  }

  .page-constellations .cf-hero-copy::before {
    content: none;
  }

  .cf-hero-grid {
    position: relative;
    z-index: 2;
    display: block;
    padding: 1.05rem 0 0;
  }

  .cf-hero-media--desktop {
    display: none !important;
  }

  .page-constellations .cf-hero-copy .breadcrumb {
    margin-bottom: 0.56rem;
  }

  .page-constellations .cf-hero-copy .cf-eyebrow-upper {
    margin: 0 0 0.28rem;
  }

  .cf-hero-copy h1,
  .page-constellations .cf-hero-copy h1 {
    font-family: inherit;
    font-size: 0.92rem;
    line-height: 1.4;
    font-weight: 400;
    letter-spacing: 0;
    color: var(--cf-muted);
    margin: 0 0 1.15rem;
  }

  .page-constellations .cf-hero-photo {
    display: block;
    width: 100%;
    margin: 0 0 28px;
    border-radius: var(--radius);
    overflow: hidden;
    background: #efe8e1;
  }

  .page-constellations .cf-hero-photo picture,
  .page-constellations .cf-hero-photo img,
  .page-constellations .cf-hero-photo-img {
    display: block;
    width: 100%;
    height: 220px;
    object-fit: cover;
    object-position: center 56%;
  }

  .cf-hook,
  .page-constellations .cf-hook {
    font-size: clamp(1.7rem, 7.1vw, 1.95rem);
    line-height: 1.22;
    margin: 0 0 24px;
  }

  .cf-hero-lead,
  .page-constellations .cf-hero-lead {
    margin: 0 0 20px;
    color: var(--cf-ink-soft);
    line-height: 1.7;
    text-shadow: none;
  }

  .cf-hero-lead + .cf-hero-lead,
  .page-constellations .cf-hero-lead + .cf-hero-lead {
    margin-top: 0;
    margin-bottom: 0;
  }

  .page-constellations .cf-hero-lead-split .cf-hero-lead-part + .cf-hero-lead-part {
    margin-top: 22px;
  }

  .page-constellations .cf-hero .hero-meta {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    width: 100%;
    margin: 1rem 0 0;
    padding: 0;
    gap: 0.95rem;
    color: var(--cf-muted);
    font-size: 0.78rem;
    line-height: 1.3;
    letter-spacing: 0.01em;
  }

  .page-constellations .cf-hero .hero-meta li {
    flex: 0 0 auto;
    gap: 0.32rem;
    white-space: nowrap;
  }

  .page-constellations .cf-hero .hero-meta .icon {
    width: 0.92rem;
    height: 0.92rem;
    color: var(--cf-terracotta);
    opacity: 0.82;
  }

  .cf-hero-actions,
  .page-constellations .cf-hero-actions {
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 11px;
    margin-top: 30px;
  }

  .cf-hero-actions .btn,
  .page-constellations .cf-hero-actions .btn {
    min-height: 48px;
    justify-content: center;
    padding: 0.7rem 0.62rem;
    font-size: 0.8125rem;
    line-height: 1.2;
    white-space: nowrap;
    flex: 1 1 0;
  }

  .page-constellations .cf-hero-actions .btn-primary {
    flex: 1.14 1 0;
    box-shadow: 0 8px 22px rgba(63, 52, 44, 0.14);
  }

  .page-constellations .cf-hero-actions .btn-ghost {
    background: transparent;
    backdrop-filter: none;
    border-color: rgba(198, 123, 99, 0.45);
  }

  .cf-steps {
    grid-template-columns: 1fr;
  }

  .cf-sticky {
    left: 0;
    right: 0;
    bottom: 0;
    padding: .75rem 1rem calc(.75rem + env(safe-area-inset-bottom, 0px));
    background: rgba(255, 253, 250, 0.96);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(198, 123, 99, 0.15);
  }

  .cf-sticky-btn {
    width: 100%;
    justify-content: center;
  }

  .page-constellations .site-footer {
    padding-bottom: calc(5rem + env(safe-area-inset-bottom, 0px));
  }

  /* Mobile — page plus compacte (≠ hero validé) */
  .page-constellations .cf-section {
    padding-top: clamp(2rem, 4.2vw, 2.5rem);
    padding-bottom: clamp(2rem, 4.2vw, 2.5rem);
  }

  .page-constellations .cf-section-identify {
    padding-top: clamp(1.85rem, 3.8vw, 2.2rem);
    padding-bottom: clamp(1.65rem, 3.5vw, 2rem);
  }

  .page-constellations .cf-section-identify .section-head-center {
    margin-bottom: 1.35rem;
  }

  .page-constellations .cf-section-identify .spot-grid.spot-grid-5 {
    grid-template-columns: repeat(2, 1fr);
    gap: .65rem;
  }

  .page-constellations .cf-section-identify .spot-grid.spot-grid-5 .spot-card:nth-child(5) {
    grid-column: 1 / -1;
    justify-self: center;
    width: calc(50% - 0.325rem);
    max-width: 100%;
  }

  .page-constellations .cf-section-identify .spot-card-img {
    padding: .85rem .6rem .95rem;
  }

  .page-constellations .cf-section-identify .spot-img-wrap {
    height: 56px;
    margin-bottom: .5rem;
  }

  .page-constellations .cf-section-identify .spot-img-wrap img {
    max-height: 52px;
    max-width: 56px;
  }

  .page-constellations .cf-section-identify .spot-card-img h3 {
    font-size: .92rem;
    line-height: 1.28;
    margin-bottom: .35rem;
  }

  .page-constellations .cf-section-identify .spot-card-img p {
    font-size: .78rem;
    line-height: 1.42;
  }

  .page-constellations .cf-identify-transition {
    margin-top: clamp(1.35rem, 3vw, 1.75rem);
  }

  .page-constellations .cf-section-steps {
    padding-top: clamp(1.35rem, 3vw, 1.75rem);
    padding-bottom: clamp(1.65rem, 3.5vw, 2rem);
  }

  .page-constellations .cf-section-steps .cf-section-head {
    margin-bottom: 1.25rem;
  }

  .page-constellations .cf-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .65rem;
    align-items: stretch;
  }

  .page-constellations .cf-step {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: .75rem .65rem .85rem;
  }

  .page-constellations .cf-step-icon {
    width: 1.45rem;
    height: 1.45rem;
    margin-bottom: .35rem;
    flex-shrink: 0;
  }

  .page-constellations .cf-step-num {
    font-size: .68rem;
    margin-bottom: .2rem;
    flex-shrink: 0;
  }

  .page-constellations .cf-step h3 {
    font-size: .86rem;
    margin-bottom: .3rem;
    line-height: 1.26;
    min-height: 2.52em;
    flex-shrink: 0;
  }

  .page-constellations .cf-step p:not(.cf-step-num) {
    font-size: .77rem;
    line-height: 1.46;
    margin: 0;
    flex: 1;
  }

  /* Section adoption / violences — plus compacte */
  .page-constellations .cf-section-deep {
    padding-top: clamp(1.65rem, 3.5vw, 2.1rem);
    padding-bottom: clamp(1.65rem, 3.5vw, 2.1rem);
  }

  .page-constellations .cf-theme-intro {
    max-width: 34rem;
    margin-bottom: clamp(1.15rem, 2.8vw, 1.45rem);
    font-size: clamp(.94rem, 3.6vw, 1rem);
    line-height: 1.58;
  }

  .page-constellations .cf-theme-grid {
    gap: .85rem;
  }

  .page-constellations .cf-theme-card {
    padding: clamp(1rem, 2.4vw, 1.25rem);
  }

  .page-constellations .cf-theme-card h2 {
    font-size: clamp(1.12rem, 4.2vw, 1.28rem);
    line-height: 1.22;
    margin-bottom: .65rem;
  }

  .page-constellations .cf-theme-card p {
    font-size: .9rem;
    line-height: 1.56;
    margin-bottom: .6rem;
  }

  .page-constellations .cf-theme-list {
    gap: .3rem;
    margin: .45rem 0 .55rem;
    padding-left: 1rem;
  }

  .page-constellations .cf-theme-list li {
    font-size: .88rem;
    line-height: 1.48;
    padding-left: .85rem;
  }

  .page-constellations .cf-safe-frame {
    margin-top: clamp(1rem, 2.2vw, 1.35rem);
    padding: clamp(1rem, 2.2vw, 1.25rem) clamp(.9rem, 2vw, 1.05rem);
  }

  .page-constellations .cf-safe-frame-title {
    margin-bottom: .85rem;
    font-size: clamp(1.05rem, 3.8vw, 1.18rem);
  }

  .page-constellations .cf-safe-frame-grid {
    gap: .85rem;
  }

  .page-constellations .cf-safe-item {
    padding: 0 .25rem;
  }

  .page-constellations .cf-safe-icon {
    width: 1.45rem;
    height: 1.45rem;
    margin-bottom: .45rem;
  }

  .page-constellations .cf-safe-item h4 {
    margin-bottom: .4rem;
    font-size: .82rem;
  }

  .page-constellations .cf-safe-item p {
    font-size: .88rem;
    line-height: 1.52;
  }

  /* Photos de contenu — plus compactes (≠ hero) */
  .page-constellations .cf-format-media.cf-img-frame,
  .page-constellations .cf-format-media.cf-img-frame-individuel {
    aspect-ratio: 16 / 9;
    max-height: clamp(10.5rem, 42vw, 12.5rem);
  }

  .page-constellations .cf-format-media.cf-img-frame-individuel img,
  .page-constellations .cf-format-media.cf-img-frame-individuel picture img {
    object-position: 48% 50%;
  }

  .page-constellations .cf-next-media {
    max-height: clamp(10rem, 40vw, 12rem);
    overflow: hidden;
    border-radius: calc(var(--radius) + 4px);
  }

  .page-constellations .cf-next-media img,
  .page-constellations .cf-next-media picture,
  .page-constellations .cf-next-media picture img {
    width: 100%;
    height: 100%;
    min-height: 100%;
    object-fit: cover;
    object-position: center 42%;
  }

  .page-constellations .cf-split-media.cf-img-frame-water {
    aspect-ratio: 16 / 10;
    max-height: clamp(11rem, 44vw, 13rem);
  }

  .page-constellations .cf-split-media.cf-img-frame-water img {
    object-position: center 50%;
  }

  .page-constellations .cf-section-water .cf-split-copy h2 {
    font-size: clamp(1.55rem, 6.2vw, 1.85rem);
    line-height: 1.2;
    text-wrap: balance;
  }

  .page-constellations .cf-section-quotes {
    padding-top: clamp(1.85rem, 3.8vw, 2.35rem);
    padding-bottom: clamp(1.85rem, 3.8vw, 2.35rem);
  }

  .page-constellations .cf-section-quotes .cf-section-head {
    margin-bottom: 1.25rem;
  }

  .page-constellations .cf-quote {
    padding: .85rem .8rem;
  }

  .page-constellations .cf-quote-featured {
    padding: .9rem .85rem;
  }

  .page-constellations .cf-quote p,
  .page-constellations .cf-quote-featured p {
    font-size: .88rem;
    line-height: 1.52;
  }

  .page-constellations .cf-quote cite {
    margin-top: .45rem;
    font-size: .84rem;
  }

  .page-constellations .cf-quote-side {
    gap: .65rem;
  }

  /* Boutons ciblés — inscription groupe + génogramme */
  .page-constellations #cf-prochaine .cf-next-copy > a.btn.btn-primary,
  .page-constellations a.btn.btn-primary[href*="inscription-constellation-groupe"],
  .page-constellations .cf-genogram-below-foot > a.btn.btn-ghost[href*="genogramme"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: stretch;
    width: 100%;
    max-width: 100%;
    min-height: 44px;
    height: auto;
    padding: .62rem .85rem;
    font-size: clamp(0.8125rem, 3.45vw, 0.9375rem);
    line-height: 1.2;
    text-align: center;
    white-space: nowrap;
  }
}

@media (max-width: 390px) {
  .page-constellations .cf-hero-photo picture,
  .page-constellations .cf-hero-photo img,
  .page-constellations .cf-hero-photo-img {
    height: 220px;
  }

  .cf-hook,
  .page-constellations .cf-hook {
    font-size: clamp(1.7rem, 7.1vw, 1.9rem);
  }

  .cf-hero-copy h1,
  .page-constellations .cf-hero-copy h1 {
    font-size: 0.9rem;
  }
}

@media (max-width: 360px) {
  .page-constellations .cf-hero-photo picture,
  .page-constellations .cf-hero-photo img,
  .page-constellations .cf-hero-photo-img {
    height: 210px;
  }

  .cf-hook,
  .page-constellations .cf-hook {
    font-size: clamp(1.62rem, 7.2vw, 1.8rem);
  }

  .cf-hero-copy h1,
  .page-constellations .cf-hero-copy h1 {
    font-size: 0.88rem;
  }

  .page-constellations .cf-hero .hero-meta {
    flex-wrap: wrap;
    gap: 0.45rem 0.8rem;
  }

  .shell {
    padding-inline: 1rem;
  }

  .page-constellations .cf-hero {
    padding-bottom: calc(6.75rem + env(safe-area-inset-bottom, 0px));
  }

  .page-constellations .cf-hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 0.7rem;
  }

  .page-constellations .cf-hero-actions .btn {
    flex: none;
    width: 100%;
    padding: 0.85rem 1.2rem;
    font-size: 1rem;
    white-space: normal;
  }
}

/* Hero desktop — photo en fond + voile de lisibilité */
.cf-hero-desktop-visual,
.cf-hero-desktop-veil {
  display: none;
}

@media (min-width: 769px) {
  .page-constellations .cf-hero {
    position: relative;
    overflow: hidden;
    min-height: clamp(24rem, 36vw, 29rem);
    padding: clamp(1.85rem, 3.1vw, 2.55rem) 0 clamp(2.2rem, 4vw, 3.1rem);
    background: var(--cf-cream);
  }

  .page-constellations .cf-hero-desktop-visual {
    display: block;
    position: absolute;
    inset: 0;
    z-index: 0;
  }

  .page-constellations .cf-hero-desktop-visual picture,
  .page-constellations .cf-hero-desktop-img,
  .page-constellations .cf-hero-desktop-visual img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 72% center;
  }

  .page-constellations .cf-hero-desktop-veil {
    display: block;
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(
      90deg,
      rgba(251, 247, 242, 0.98) 0%,
      rgba(251, 247, 242, 0.94) 34%,
      rgba(251, 247, 242, 0.72) 54%,
      rgba(251, 247, 242, 0.26) 74%,
      rgba(251, 247, 242, 0) 100%
    );
  }

  .page-constellations .cf-hero-grid {
    position: relative;
    z-index: 2;
    display: block;
    grid-template-columns: unset;
    grid-template-rows: unset;
    row-gap: 0;
  }

  .page-constellations .cf-hero-copy {
    max-width: clamp(20rem, 42%, 38rem);
    position: relative;
    z-index: 1;
  }

  .page-constellations .cf-hero-actions .btn-ghost {
    background: rgba(255, 253, 250, 0.72);
    backdrop-filter: blur(4px);
  }
}

@media (min-width: 1101px) {
  .page-constellations .cf-hero {
    min-height: clamp(26rem, 32vw, 31rem);
  }

  .page-constellations .cf-hero-desktop-visual picture,
  .page-constellations .cf-hero-desktop-visual img {
    object-position: 70% center;
  }

  .page-constellations .cf-hero-copy {
    max-width: clamp(22rem, 44%, 42rem);
  }

  .page-constellations .cf-hero-copy h1 {
    font-size: clamp(1.5rem, 1.65vw, 1.625rem);
  }
}
