/**
 * Carte cadeau — thin 50/50 → linear semantic layout
 */

.ac-cadeau {
  --ac-cadeau-muted: #727272;
  --ac-cadeau-max: 960px;
  --ac-cadeau-gap: clamp(1.5rem, 3.5vw, 2.5rem);
  color: var(--ac-cadeau-muted);
}

.ac-cadeau :where(h1, h2, p, figure, ol) {
  margin: 0;
}

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

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

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

.ac-cadeau__hero {
  min-height: clamp(220px, 32vw, 400px);
  background-color: #f2f2f2;
  background-image: url("../../uploads/2025/01/Carte-cadeau-scaled.jpg");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

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

.ac-cadeau__section:last-of-type {
  padding-bottom: 0;
}

.entry-content .ac-cadeau__h1,
.entry-content .ac-cadeau__h2 {
  font-family: "Roboto", sans-serif;
  font-weight: 900;
  line-height: 1.25;
  color: var(--ac-cadeau-muted);
  text-align: center;
  margin-bottom: 1rem;
}

.entry-content .ac-cadeau__h1 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.entry-content .ac-cadeau__h2 {
  font-size: clamp(1.25rem, 2.4vw, 1.7rem);
}

.ac-cadeau__prose {
  font-family: "Roboto", sans-serif;
  font-size: 1.1rem;
  font-weight: 200;
  letter-spacing: 0.03em;
  line-height: 1.7;
}

.ac-cadeau__prose p + p {
  margin-top: 0.85em;
}

.ac-cadeau__split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: start;
}

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

.ac-cadeau__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.ac-cadeau__cta {
  margin-top: 1.25rem;
  display: flex;
  justify-content: center;
}

.ac-cadeau__steps {
  margin: 0.85rem 0 0;
  padding-left: 1.25rem;
  font-family: "Roboto", sans-serif;
  font-size: 1.05rem;
  font-weight: 300;
  line-height: 1.6;
}

.ac-cadeau__steps li + li {
  margin-top: 0.35rem;
}

.ac-cadeau__band {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  min-height: clamp(220px, 32vw, 400px);
  margin-top: clamp(2rem, 5vw, 3.5rem);
  padding: 2.5rem 1.25rem;
  text-align: center;
  background-image: url("../../uploads/2023/10/massage-ayurvedique-dos-mains-1.jpg");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

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

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

  .ac-cadeau__media {
    max-width: 480px;
    margin-inline: auto;
    width: 100%;
  }
}
