:root {
  --ink: #344f60;
  --forest: #526b7b;
  --muted: #667681;
}

figure { margin: 0; }

/* Des repères chaleureux pour les proches, sans liste rigide. */
.support-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 32px;
}

.support-grid article {
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
}

.support-grid strong,
.support-grid span {
  display: block;
}

.support-grid strong {
  margin-bottom: 8px;
  color: #f0b398;
  font: 500 1.2rem/1.2 var(--serif);
}

.support-grid span {
  font-size: 0.95rem;
  line-height: 1.55;
}

@media (max-width: 600px) {
  .support-grid {
    grid-template-columns: 1fr;
  }
}

/* Des cartes plus souples et humaines pour l’accompagnement. */
.cards {
  align-items: start;
  gap: 24px;
  background: transparent;
}

.cards article {
  position: relative;
  min-height: 250px;
  padding: 38px 34px;
  overflow: hidden;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 18px 45px rgba(36, 79, 68, 0.08);
}

.cards article:nth-child(2) {
  margin-top: 42px;
  background: #f1e7d8;
}

.cards article:nth-child(3) {
  margin-top: 14px;
  background: #e3ece7;
}

.cards article::before {
  content: '';
  display: block;
  width: 54px;
  height: 3px;
  margin-bottom: 34px;
  border-radius: 99px;
  background: var(--accent);
}

.cards .number {
  display: none;
}

.cards h3 {
  margin: 0 0 16px;
}

.wide-photo,
.section-photo {
  overflow: hidden;
  border-radius: 4px;
}

.wide-photo img,
.section-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.intro .wide-photo {
  height: clamp(260px, 32vw, 520px);
  margin-top: 70px;
}

.soft > .section-photo.align-right {
  width: min(48%, 620px);
  height: 340px;
  margin: -230px 0 70px auto;
}

.soft > .section-heading {
  max-width: 46%;
  min-height: 245px;
}

.relatives .dark-photo {
  height: 360px;
  margin-top: 55px;
}

.journey .short-photo {
  height: 340px;
  margin: 0 0 65px;
}

.faq .faq-photo {
  width: min(42%, 520px);
  height: 330px;
  float: right;
  margin: -230px 0 45px 55px;
}

.faq details {
  clear: left;
}

.pricing-photo {
  height: 320px;
  margin-top: 45px;
}

.contact-photo {
  height: 280px;
  margin-top: 40px;
}

.contact-portrait {
  width: min(280px, 72vw);
  margin-top: 38px;
  padding: 16px 16px 10px;
  border-radius: 24px;
  background: rgba(247, 242, 232, 0.78);
  box-shadow: 0 16px 38px rgba(52, 79, 96, 0.12);
}

.contact-portrait img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: contain;
  object-position: center top;
}

.contact-portrait figcaption {
  padding: 8px 0 2px;
  color: var(--ink);
  font: 500 1.55rem/1.2 var(--serif);
  text-align: center;
}

@media (min-width: 951px) and (max-width: 1250px) {
  .timeline {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 950px) {
  .cards article,
  .cards article:nth-child(2),
  .cards article:nth-child(3) {
    min-height: 0;
    margin-top: 0;
  }

  .soft > .section-heading {
    max-width: 100%;
    min-height: 0;
  }

  .soft > .section-photo.align-right,
  .faq .faq-photo {
    float: none;
    width: 100%;
    height: min(62vw, 380px);
    margin: 0 0 45px;
  }

  .intro .wide-photo,
  .journey .short-photo,
  .relatives .dark-photo,
  .pricing-photo,
  .contact-photo {
    height: min(62vw, 380px);
    margin-top: 38px;
  }

  .contact-portrait {
    margin: 38px auto 0;
  }
}
