/* ===================================================================
   Poupon & moi — Page « Nos produits »
   S'appuie sur les tokens de styles.css (crème / beige / terre de Sienne).
   =================================================================== */

/* ---------- Hero ---------- */
.prod-hero {
  position: relative;
  padding: clamp(2.5rem, 5vw, 4.5rem) 0 clamp(1.5rem, 3vw, 2.5rem);
  text-align: center;
  overflow: hidden;
}
.prod-hero__inner { max-width: 720px; margin-inline: auto; }
.prod-hero__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  line-height: 1.05;
  color: var(--brown-deep);
  letter-spacing: -0.01em;
}
.prod-hero__title .script { font-size: clamp(2rem, 4.2vw, 3rem); margin-top: 6px; }
.prod-hero__lead {
  margin: 22px auto 0;
  max-width: 56ch;
  color: var(--muted);
  font-size: 1.05rem;
}

/* ---------- Liste des produits ---------- */
.products-wrap {
  display: flex;
  flex-direction: column;
  gap: clamp(2.5rem, 6vw, 5rem);
  padding-bottom: clamp(3rem, 6vw, 5rem);
}

.product {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: start;
}
.product--alt .product__media   { order: 2; }
.product--alt .product__content { order: 1; }

/* Visuel */
.product__media {
  position: sticky;
  top: 96px;
  aspect-ratio: 3 / 4;
  border-radius: 44% 56% 52% 48% / 54% 46% 54% 46%;
  overflow: hidden;
  border: 6px solid rgba(255, 255, 255, 0.7);
  box-shadow: var(--shadow);
}
.product__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: sepia(0.18) saturate(1.05) brightness(1.02) contrast(0.98);
  transition: transform 1s cubic-bezier(.2,.8,.3,1);
}
.product:hover .product__media img { transform: scale(1.04); }
.product__media-deco {
  position: absolute;
  top: 14px; right: 18px;
  font-size: 1.6rem;
  color: #fff;
  filter: drop-shadow(0 2px 6px rgba(111,84,54,.4));
}

/* Contenu */
.product__content {
  background: var(--white);
  border: 1px solid rgba(231, 212, 189, 0.5);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: clamp(1.6rem, 3.5vw, 2.75rem);
}

.product__head { text-align: center; margin-bottom: clamp(1.25rem, 3vw, 1.75rem); }
.product__name {
  font-family: var(--script);
  font-weight: 700;
  font-size: clamp(3rem, 6vw, 4.6rem);
  line-height: 0.95;
  color: var(--brown-deep);
}
.product__subtitle {
  display: inline-block;
  margin-top: 6px;
  padding: 7px 20px;
  background: var(--sand);
  color: var(--brown);
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.15rem;
  border-radius: 30px;
}
.product__orn {
  display: block;
  position: relative;
  height: 1px;
  max-width: 180px;
  margin: 20px auto 16px;
  background: var(--beige);
}
.product__orn::after {
  content: '♡';
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  background: var(--white);
  color: var(--gold);
  padding: 0 12px;
  font-size: 0.95rem;
}
.product__tagline {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.15rem, 1.6vw, 1.4rem);
  line-height: 1.5;
  color: var(--brown);
  max-width: 48ch;
  margin-inline: auto;
}

/* Titres de section internes */
.product__h {
  font-family: var(--serif);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
  font-size: clamp(1.02rem, 1.4vw, 1.2rem);
  color: var(--brown-deep);
  margin-bottom: 14px;
}
.product__h::after {
  content: '♡';
  display: block;
  color: var(--gold);
  font-size: 0.8rem;
  margin-top: 6px;
}
.product__h--center { text-align: center; }

/* Deux colonnes : qu'est-ce que / pour qui */
.product__cols {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.25rem, 3vw, 1.75rem);
  margin-top: clamp(1.25rem, 3vw, 1.75rem);
  padding-top: clamp(1.25rem, 3vw, 1.75rem);
  border-top: 1px solid rgba(231, 212, 189, 0.7);
}
.product__col p { color: var(--muted); font-size: 0.95rem; line-height: 1.7; }
.product__col p em { font-style: italic; color: var(--brown); }

/* Bienfaits */
.product__benefits {
  margin-top: clamp(1.5rem, 3vw, 2.25rem);
  padding-top: clamp(1.5rem, 3vw, 2.25rem);
  border-top: 1px solid rgba(231, 212, 189, 0.7);
}
.product__list { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.product__list--tight { gap: 8px; }
.product__list li {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--ink);
}
.product__bullet { color: var(--gold); flex: none; line-height: 1.5; }
.product__list strong { color: var(--brown-deep); font-weight: 600; }

/* Bas : conseils + bloc naturelle */
.product__bottom {
  margin-top: clamp(1.5rem, 3vw, 2.25rem);
  padding-top: clamp(1.5rem, 3vw, 2.25rem);
  border-top: 1px solid rgba(231, 212, 189, 0.7);
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.25rem, 3vw, 1.75rem);
  align-items: start;
}
.product__natural {
  background:
    radial-gradient(120% 120% at 0% 0%, #fdf4e7, transparent 60%),
    linear-gradient(135deg, var(--sand), var(--beige));
  border-radius: var(--radius);
  padding: clamp(1.25rem, 3vw, 1.75rem);
  text-align: center;
}
.product__natural .product__h { margin-bottom: 10px; line-height: 1.25; }
.product__natural-list {
  list-style: none;
  display: flex; flex-direction: column; gap: 7px;
  font-family: var(--serif);
  font-size: 1.08rem;
  color: var(--brown);
}
.product__footnote {
  margin-top: 14px;
  font-size: 0.72rem;
  font-style: italic;
  color: var(--muted);
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .product { grid-template-columns: 1fr; }
  .product--alt .product__media,
  .product--alt .product__content { order: 0; }
  .product__media {
    position: static;
    aspect-ratio: 16 / 10;
    border-radius: var(--radius);
    max-width: 520px;
    margin-inline: auto;
  }
}
@media (max-width: 620px) {
  .product__cols { grid-template-columns: 1fr; }
  .product__bottom { grid-template-columns: 1fr; }
  .product__content { padding: 1.4rem 1.2rem; }
}
