/* ==========================================================================
   Page accueil (landing) — sections hero, soins, avis, PRO, FAQ…
   ⚠️ Les visuels (photo hero, vignettes de soins, mockups) sont des
   PLACEHOLDERS en dégradé : déposer les vraies images dans web/assets/img/
   et remplacer les fonds `--ph-*` le moment venu.
   ========================================================================== */

/* ---- Titres de section ---- */
.section-title { font-size: var(--fs-h2); font-weight: var(--fw-bold); color: var(--c-heading); }
.section-title.center { text-align: center; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: var(--sp-4); flex-wrap: wrap; }
.section-sub { color: var(--c-body); max-width: 900px; margin-top: var(--sp-3); }
.soins__all { white-space: nowrap; font-size: var(--fs-xs); }

/* =====================================================================
   HERO
   ===================================================================== */
.hero { padding: clamp(1rem, 2.5vw, 2rem); }
.hero__card {
  position: relative; overflow: hidden; color: #fff;
  border-radius: 28px;
  min-height: clamp(500px, 78vh, 800px);
  display: flex; align-items: center;
}
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: translateZ(0); will-change: transform; }
.hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(15,18,30,.62) 0%, rgba(15,18,30,.30) 46%, rgba(15,18,30,.05) 100%);
}
.hero__content { position: relative; z-index: 1; width: 100%; padding-block: clamp(2rem, 6vw, 4rem); }
.hero__title { color: #fff; font-size: var(--fs-hero); font-weight: var(--fw-bold); line-height: 1.12; max-width: min(760px, 92%); text-shadow: 0 2px 24px rgba(9,23,71,.35); }

.searchbar {
  margin-top: var(--sp-6); display: flex; align-items: center; gap: var(--sp-2);
  border-radius: var(--r-pill); padding: 8px; max-width: 680px;
  border: 2px solid transparent;
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(90deg, var(--c-primary), var(--c-blue)) border-box;
  box-shadow: var(--shadow-md);
}
.searchbar__field { flex: 1; display: flex; align-items: center; gap: 10px; padding: 6px 14px; color: var(--c-faint); }
.searchbar__field input { border: 0; outline: none; width: 100%; font-family: inherit; font-size: var(--fs-xs); color: var(--c-heading); background: none; }
.searchbar__sep { width: 1px; align-self: stretch; background: var(--c-border); margin-block: 6px; }
.searchbar__btn { flex: 0 0 auto; width: 46px; height: 46px; border-radius: var(--r-pill); border: 0; background: var(--c-blue-deep); color: #fff; display: grid; place-items: center; }
.searchbar__btn:hover { background: #011f6b; }

.hero__stats {
  margin-top: var(--sp-7); display: flex; align-items: stretch; max-width: 780px;
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--r-lg); padding: 12px 4px; backdrop-filter: blur(6px);
}
.stat { flex: 1; display: flex; align-items: center; justify-content: center; gap: 10px; padding-inline: 12px; }
.stat__label { min-width: 0; }
.stat + .stat { border-left: 1px solid rgba(255,255,255,.22); }
.stat__pre { font-size: var(--fs-xs); font-weight: var(--fw-light); color: rgba(255,255,255,.9); }
.stat__num { font-size: 1.6rem; font-weight: var(--fw-bold); color: #fff; white-space: nowrap; }
.stat__label { font-size: var(--fs-xs); font-weight: var(--fw-light); color: rgba(255,255,255,.9); line-height: 1.2; }

/* =====================================================================
   SOINS (carrousel horizontal)
   ===================================================================== */
.soins { margin-top: var(--sp-5); display: grid; grid-auto-flow: column; grid-auto-columns: minmax(180px, 1fr); gap: var(--sp-4); overflow-x: auto; padding-bottom: var(--sp-3); scroll-snap-type: x mandatory; }
.soin { position: relative; height: 240px; border-radius: var(--r-lg); overflow: hidden; scroll-snap-align: start; color: #fff; display: flex; align-items: flex-end; }
.soin::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(9,23,71,.6)); }
.soin__label { position: relative; z-index: 1; font-weight: var(--fw-semibold); font-size: var(--fs-body); padding: var(--sp-4); }

/* =====================================================================
   QUALITÉ (bande bleutée)
   ===================================================================== */
.quality { background: var(--c-blue-soft); border-radius: var(--r-xl) var(--r-xl) 120px 120px / var(--r-xl) var(--r-xl) 60px 60px; padding: clamp(2rem, 5vw, 3.5rem); }
.quality__title { font-size: var(--fs-h2); color: var(--c-heading); }
.quality__text { margin-top: var(--sp-3); color: var(--c-body); max-width: 820px; }

/* =====================================================================
   COMMENT ÇA MARCHE
   ===================================================================== */
.how__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.how__visual { position: relative; min-height: 360px; }
.how__phone { position: absolute; inset: 10% 20%; border-radius: 32px; background: linear-gradient(160deg, #e9edf6, #cdd6ea); box-shadow: var(--shadow-card); }
.how__badge { position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: 8px; background: #fff; border-radius: var(--r-pill); padding: 10px 16px; font-size: var(--fs-xs); font-weight: var(--fw-medium); color: var(--c-heading); box-shadow: var(--shadow-md); }
.how__badge--top { top: 6%; left: 0; }
.how__badge--bottom { bottom: 8%; right: 2%; }
.how__badge .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--c-primary); }
.how__badge .dot--blue { background: var(--c-blue); }
.how__steps { list-style: none; margin: var(--sp-5) 0; padding: 0; display: flex; flex-direction: column; gap: var(--sp-4); }
.how__steps li { display: flex; gap: var(--sp-4); }
.how__step-n { flex: 0 0 auto; width: 34px; height: 34px; border-radius: 50%; background: var(--c-primary-soft); color: var(--c-primary); font-weight: var(--fw-bold); display: grid; place-items: center; }
.how__steps strong { color: var(--c-heading); }
.how__steps p { color: var(--c-muted); font-size: var(--fs-xs); margin-top: 2px; }

/* =====================================================================
   AVIS
   ===================================================================== */
.reviews { margin-top: var(--sp-6); display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-4); }
.review { border-radius: var(--r-lg); padding: var(--sp-5); }
.review__stars { color: #ffb800; letter-spacing: 2px; font-size: var(--fs-sm); }
.review__text { margin: var(--sp-3) 0; color: var(--c-heading); font-weight: var(--fw-medium); }
.review__author { display: flex; align-items: center; gap: 10px; font-size: var(--fs-xs); color: var(--c-body); }
.review__avatar { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: var(--fw-semibold); }

/* =====================================================================
   PRO
   ===================================================================== */
.pro__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 4rem); align-items: center; }
.pro__title { font-size: var(--fs-h2); color: var(--c-heading); }
.pro__sub { margin-top: var(--sp-2); color: var(--c-muted); }
.pro__list { list-style: none; margin: var(--sp-5) 0; padding: 0; display: flex; flex-direction: column; gap: var(--sp-3); }
.pro__list li { position: relative; padding-left: 34px; color: var(--c-body); font-size: var(--fs-sm); }
.pro__list li::before { content: ""; position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border-radius: 50%; background: var(--c-blue-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%230A5ACC' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/14px no-repeat; }
.pro__visual { min-height: 320px; border-radius: var(--r-xl); background: linear-gradient(160deg, #eef2fb, #dbe4f7); box-shadow: var(--shadow-card); }

/* =====================================================================
   PARTENAIRES
   ===================================================================== */
.partners { margin-top: var(--sp-6); display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: clamp(1.5rem, 5vw, 3.5rem); }
.partner { font-weight: var(--fw-bold); letter-spacing: .06em; color: #9aa1b2; font-size: 1.1rem; }

/* =====================================================================
   NEWSLETTER
   ===================================================================== */
.newsletter { background: #fff6ec; border-radius: var(--r-xl); padding: clamp(2rem, 5vw, 3.5rem); text-align: center; }
.newsletter__title { font-size: var(--fs-h3); color: var(--c-heading); }
.newsletter__sub { margin: var(--sp-3) auto var(--sp-5); color: var(--c-body); max-width: 640px; }
.newsletter__form { display: flex; gap: var(--sp-2); max-width: 480px; margin-inline: auto; }
.newsletter__form .input { border-radius: var(--r-pill); }
.newsletter__form .btn { border-radius: var(--r-pill); padding-inline: var(--sp-5); }
.newsletter__msg { margin-top: var(--sp-3); font-size: var(--fs-xs); color: var(--c-blue); font-weight: var(--fw-medium); }

/* =====================================================================
   FAQ
   ===================================================================== */
.faq { margin-top: var(--sp-6); display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-3) var(--sp-5); }
.faq__item { border-bottom: 1px solid var(--c-border); }
.faq__q { width: 100%; text-align: left; background: none; border: 0; padding: var(--sp-4) 0; display: flex; align-items: center; justify-content: space-between; gap: var(--sp-3); font-family: inherit; font-size: var(--fs-sm); font-weight: var(--fw-medium); color: var(--c-heading); }
.faq__q svg { flex: 0 0 auto; transition: transform .2s ease; color: var(--c-muted); }
.faq__item.open .faq__q svg { transform: rotate(90deg); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .25s ease; color: var(--c-muted); font-size: var(--fs-xs); }
.faq__item.open .faq__a { max-height: 240px; padding-bottom: var(--sp-4); }

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 860px) {
  .how__grid, .pro__grid { grid-template-columns: 1fr; }
  .pro__visual, .how__visual { min-height: 260px; order: -1; }
  .reviews, .faq { grid-template-columns: 1fr; }
  .hero__stats { gap: var(--sp-5); }
}
@media (max-width: 560px) {
  .searchbar { flex-wrap: wrap; border-radius: var(--r-xl); }
  .searchbar__sep { display: none; }
  .searchbar__field { flex-basis: 100%; }
  .searchbar__btn { width: 100%; border-radius: var(--r-lg); }
  .newsletter__form { flex-direction: column; }
  .newsletter__form .btn { width: 100%; }
  .hero__stats { flex-direction: column; gap: var(--sp-3); }
}
