/* ════════════════════════════════════════════
   Beauvoir Clinic — Pages "Besoins"
   ════════════════════════════════════════════ */

.besoin-hero {
  background: linear-gradient(135deg, #F5F0E8 0%, #FAF8F4 60%, #F5F0E8 100%);
  padding: 96px 24px 64px;
  position: relative;
  overflow: hidden;
}

.besoin-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 30%, rgba(165, 136, 71, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 70%, rgba(212, 165, 116, 0.05) 0%, transparent 50%);
  z-index: 0;
}

.besoin-hero__container {
  position: relative;
  z-index: 1;
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
}

.besoin-hero__label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #A58847;
  background: rgba(165, 136, 71, 0.08);
  border: 1px solid rgba(165, 136, 71, 0.2);
  padding: 10px 20px;
  border-radius: 100px;
  margin-bottom: 28px;
}

.besoin-hero__title {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 500;
  color: #2C2C2C;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.besoin-hero__sub {
  font-family: 'Outfit', sans-serif;
  font-size: 1.1rem;
  color: #423B35;
  line-height: 1.7;
  max-width: 640px;
  margin: 0 auto;
}

/* ─── Groupes par préoccupation ─── */
.besoin-groups {
  padding: 80px 24px;
  background: #FFFFFF;
}

.besoin-groups__container {
  max-width: 1080px;
  margin: 0 auto;
}

.besoin-groups__intro {
  text-align: center;
  margin-bottom: 56px;
}

.besoin-groups__intro h2 {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.8rem;
  font-weight: 500;
  color: #2C2C2C;
  margin-bottom: 14px;
}

.besoin-groups__intro p {
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  color: #423B35;
  line-height: 1.7;
  max-width: 700px;
  margin: 0 auto;
}

.besoin-groups__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}

.besoin-group {
  background: #FAF8F4;
  border: 1px solid rgba(165, 136, 71, 0.15);
  border-radius: 16px;
  padding: 28px 32px;
  transition: all 0.25s ease;
}

.besoin-group:hover {
  border-color: rgba(165, 136, 71, 0.35);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(44, 44, 44, 0.05);
}

.besoin-group__title {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.15rem;
  font-weight: 500;
  color: #2C2C2C;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(165, 136, 71, 0.2);
}

.besoin-group ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.besoin-group li {
  position: relative;
  padding: 8px 0 8px 18px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.96rem;
}

.besoin-group li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 16px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #A58847;
}

.besoin-group li a {
  color: #2C2C2C;
  text-decoration: none;
  transition: color 0.2s ease;
  display: inline-block;
}

.besoin-group li a:hover {
  color: #A58847;
}

.besoin-group li a::after {
  content: ' →';
  color: #A58847;
  opacity: 0;
  margin-left: 4px;
  transition: opacity 0.2s ease;
}

.besoin-group li a:hover::after {
  opacity: 1;
}

/* ─── Closing text + CTA ─── */
.besoin-cta {
  padding: 80px 24px;
  background: linear-gradient(135deg, #2C2C2C 0%, #423B35 100%);
  text-align: center;
}

.besoin-cta__container {
  max-width: 720px;
  margin: 0 auto;
  color: #F5F0E8;
}

.besoin-cta__intro {
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  line-height: 1.75;
  color: rgba(245, 240, 232, 0.85);
  margin-bottom: 32px;
  font-style: italic;
}

.besoin-cta__title {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(1.6rem, 3.2vw, 2.2rem);
  font-weight: 400;
  margin-bottom: 16px;
  color: #FFFFFF;
}

.besoin-cta__text {
  font-family: 'Outfit', sans-serif;
  font-size: 1.02rem;
  line-height: 1.7;
  color: rgba(245, 240, 232, 0.85);
  margin-bottom: 32px;
}

.besoin-cta__btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.98rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-decoration: none;
  border-radius: 100px;
  background: #A58847;
  color: #FFFFFF;
  transition: all 0.25s ease;
}

.besoin-cta__btn:hover {
  background: #CDA875;
  transform: translateY(-1px);
}

/* ─── Other besoins ─── */
.besoin-others {
  padding: 80px 24px;
  background: #F5F0E8;
}

.besoin-others__container {
  max-width: 1180px;
  margin: 0 auto;
}

.besoin-others__title {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.6rem;
  font-weight: 500;
  color: #2C2C2C;
  text-align: center;
  margin-bottom: 48px;
}

.besoin-others__title small {
  display: block;
  font-family: 'Outfit', sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #A58847;
  font-style: normal;
  margin-bottom: 8px;
}

.besoin-others__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
}

.besoin-others__card {
  background: #FFFFFF;
  border-radius: 14px;
  padding: 24px 20px;
  text-align: center;
  text-decoration: none;
  transition: all 0.25s ease;
  border: 1px solid rgba(165, 136, 71, 0.15);
  color: #2C2C2C;
}

.besoin-others__card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(44, 44, 44, 0.08);
  border-color: #A58847;
  color: #A58847;
}

.besoin-others__card strong {
  display: block;
  font-family: 'Noto Serif JP', serif;
  font-size: 1.02rem;
  font-weight: 500;
}

@media (max-width: 700px) {
  .besoin-hero { padding: 77px 20px 45px; }
  .besoin-groups, .besoin-cta, .besoin-others { padding-left: 20px; padding-right: 20px; padding-top: 56px; padding-bottom: 56px; }
  .besoin-groups__grid { grid-template-columns: 1fr; }
  .besoin-group { padding: 22px 24px; }
}

/* ─── Hero avec photo de fond (cohérence avec les cards needs de la home) ─── */
.besoin-hero--photo {
  background-color: #2C2C2C !important;
  background-size: cover !important;
  background-position: center 20% !important;  /* cadre haut : on voit le visage/buste */
  background-repeat: no-repeat !important;
  padding: 200px 24px 140px;
  min-height: 560px;  /* hauteur plus généreuse pour mieux exposer la photo */
}
.besoin-hero--photo::before {
  /* Overlay léger en haut (photo bien visible) + plus dense en bas (ancre le texte) */
  background:
    linear-gradient(180deg, rgba(0,0,0,0.10) 0%, rgba(0,0,0,0.28) 50%, rgba(0,0,0,0.55) 100%) !important;
  z-index: 0;
}

/* Mobile : un peu plus compact mais on garde la photo généreuse */
@media (max-width: 768px) {
  .besoin-hero--photo {
    padding: 140px 20px 90px;
    min-height: 420px;
  }
}
.besoin-hero--photo .besoin-hero__label {
  color: #fff !important;
  background: rgba(255,255,255,0.18);
  border: 1px solid rgba(255,255,255,0.25);
  text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}
.besoin-hero--photo .besoin-hero__title {
  color: #fff !important;
  text-shadow: 0 2px 6px rgba(0,0,0,0.6), 0 0 16px rgba(0,0,0,0.35);
}
.besoin-hero--photo .besoin-hero__sub {
  color: rgba(255,255,255,0.95) !important;
  text-shadow: 0 1px 4px rgba(0,0,0,0.6);
}

/* Mapping slug → image (chemins relatifs depuis /css/) */
.besoin-hero--photo[data-besoin="regard-paupieres"]   { background-image: url('../img/besoins/regard-paupieres.jpg') !important; background-position: center 65% !important; }
.besoin-hero--photo[data-besoin="visage-harmonie"]    { background-image: url('../img/besoins/visage-harmonie.jpg') !important; }
.besoin-hero--photo[data-besoin="peau-eclat"]         { background-image: url('../img/besoins/peau-eclat.jpg') !important; background-position: center 65% !important; }
.besoin-hero--photo[data-besoin="levres-bouche"]      { background-image: url('../img/besoins/levres-bouche.jpg') !important; }
.besoin-hero--photo[data-besoin="corps-silhouette"]   { background-image: url('../img/besoins/corps-silhouette.jpg') !important; }
.besoin-hero--photo[data-besoin="seins-feminite"]     { background-image: url('../img/besoins/seins-feminite.jpg') !important; }
.besoin-hero--photo[data-besoin="post-partum"]        { background-image: url('../img/besoins/post-partum.jpg') !important; }
.besoin-hero--photo[data-besoin="cheveux-pilosite"]   { background-image: url('../img/besoins/cheveux-pilosite.jpg') !important; }
.besoin-hero--photo[data-besoin="prevention-sante"]   { background-image: url('../img/besoins/prevention-sante.jpg') !important; }

