/* =====================================================
   Caren's Esthétique — charte issue du logo :
   doré #c19a4b · turquoise #2aa7a0 · crème #faf6ef
   ===================================================== */

:root {
  --gold: #c19a4b;
  --gold-dark: #a8823a;
  --teal: #2aa7a0;
  --teal-dark: #1e7d78;
  --cream: #faf6ef;
  --ink: #2c2a26;
  --ink-soft: #6b675f;
  --white: #ffffff;
  --whatsapp: #25d366;
  --radius: 18px;
  --shadow: 0 10px 40px rgba(44, 42, 38, .10);
  --font-title: "Playfair Display", serif;
  --font-body: "Jost", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
/* le menu mobile hors-écran (translateX) ne doit jamais créer de scroll horizontal
   (clip est plus strict que hidden ; les navigateurs anciens retombent sur hidden).
   Sur html UNIQUEMENT : appliqué aussi à body, il ferait de body le conteneur de
   défilement et window.scrollY resterait à 0 (casse header/bouton flottant). */
html { overflow-x: hidden; overflow-x: clip; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  font-size: 17px;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container { width: min(1150px, 92%); margin-inline: auto; }

/* ===== Boutons ===== */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .8rem 1.6rem; border-radius: 999px;
  font-weight: 500; font-size: 1rem; letter-spacing: .02em;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,.15); }
.btn--whatsapp { background: var(--whatsapp); color: #fff; }
.btn--gold { background: var(--gold); color: #fff; }
.btn--gold:hover { background: var(--gold-dark); }
.btn--ghost { border: 1.5px solid rgba(255,255,255,.8); color: #fff; backdrop-filter: blur(4px); }
.btn--ghost-dark { border: 1.5px solid var(--teal); color: var(--teal-dark); }

/* ===== Header ===== */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  background: rgba(250, 246, 239, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(193, 154, 75, .18);
  transition: box-shadow .25s ease;
}
.header.is-scrolled { box-shadow: 0 4px 24px rgba(44,42,38,.08); }
.header__inner { display: flex; align-items: center; justify-content: space-between; padding-block: .6rem; }
.header__brand { display: flex; align-items: center; gap: .65rem; }
.header__logo { width: 52px; height: 52px; object-fit: contain; }
.header__name {
  font-family: var(--font-title); font-size: 1.25rem; font-weight: 600; color: var(--ink);
}
.header__name em { color: var(--teal-dark); font-style: normal; }

.nav { display: flex; align-items: center; gap: 1.6rem; font-weight: 500; }
.nav a:not(.nav__cta) { position: relative; padding-block: .3rem; }
.nav a:not(.nav__cta)::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
  background: var(--gold); transition: width .25s ease;
}
.nav a:not(.nav__cta):hover::after { width: 100%; }
.nav__cta { font-size: .95rem; padding: .55rem 1.2rem; }

.burger { display: none; background: none; border: none; cursor: pointer; }
.burger span {
  display: block; width: 26px; height: 2.5px; margin: 5.5px 0;
  background: var(--ink); border-radius: 2px; transition: .3s;
}

/* ===== Hero ===== */
.hero { position: relative; min-height: 92vh; display: grid; align-items: center; overflow: hidden; }
.hero__bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center 30%;
  transform: scale(1.04);
}
.hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(20, 40, 38, .82) 0%, rgba(20, 40, 38, .55) 45%, rgba(20, 40, 38, .18) 100%);
}
.hero__content { position: relative; color: #fff; padding-block: 9rem 4rem; max-width: 720px; }
.hero__eyebrow {
  text-transform: uppercase; letter-spacing: .25em; font-size: .85rem;
  color: #e8d5a8; margin-bottom: 1rem;
}
.hero__title {
  font-family: var(--font-title); font-weight: 600;
  font-size: clamp(2.3rem, 5.4vw, 3.9rem); line-height: 1.15; margin-bottom: 1.2rem;
}
.hero__title span { color: var(--gold); }
.hero__text { font-size: 1.12rem; font-weight: 300; max-width: 540px; margin-bottom: 2rem; color: #f2efe8; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 3rem; }
.hero__badges { display: flex; flex-wrap: wrap; gap: 2.2rem; }
.badge { display: grid; gap: .1rem; }
.badge strong { font-family: var(--font-title); font-size: 1.7rem; color: var(--gold); }
.badge span { font-size: .9rem; color: #e5e1d8; }

/* ===== Sections ===== */
.section { padding-block: 5.5rem; }
.section--tinted { background: linear-gradient(180deg, #f3ece0 0%, var(--cream) 100%); }
.section__eyebrow {
  text-transform: uppercase; letter-spacing: .25em; font-size: .8rem;
  color: var(--teal-dark); font-weight: 600; margin-bottom: .6rem; text-align: center;
}
.section__title {
  font-family: var(--font-title); font-weight: 600; text-align: center;
  font-size: clamp(1.8rem, 3.6vw, 2.6rem); margin-bottom: 1rem;
}
.section__title em { color: var(--gold); font-style: italic; }
.section__intro { text-align: center; max-width: 620px; margin: 0 auto 3rem; color: var(--ink-soft); }

/* ===== Services ===== */
.services__grid {
  display: grid; gap: 1.8rem; margin-top: 3rem;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  /* une carte dépliée ne doit pas étirer ses voisines à sa hauteur */
  align-items: start;
}
.card {
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); display: flex; flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: 0 18px 50px rgba(44,42,38,.16); }
.card__img { aspect-ratio: 4 / 3; overflow: hidden; }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card:hover .card__img img { transform: scale(1.06); }
.card__body { padding: 1.4rem 1.5rem 1.6rem; display: flex; flex-direction: column; gap: .6rem; flex: 1; }
.card__body h3 { font-family: var(--font-title); font-size: 1.35rem; color: var(--ink); }
.card__body p { font-size: .97rem; color: var(--ink-soft); flex: 1; }
.card__link { color: var(--teal-dark); font-weight: 600; font-size: .95rem; }
.card__link:hover { color: var(--gold-dark); }
.card__body p strong { color: var(--gold-dark); white-space: nowrap; }

/* vignette cliquable → bloc prix inséré en dessous */
.card--cliquable { cursor: pointer; }
.card--cliquable.is-active { outline: 2.5px solid var(--gold); outline-offset: -2.5px; }
.card__hint { color: var(--gold-dark); font-weight: 600; font-size: .95rem; }
.card--cliquable.is-active .card__hint { color: var(--teal-dark); }

.services__panel {
  grid-column: 1 / -1;
  background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow); border-top: 3px solid var(--gold);
  padding: 1.6rem 1.6rem 1.8rem;
}
.services__panel h4 {
  font-family: var(--font-title); font-size: 1.35rem; margin-bottom: .6rem;
  color: var(--ink);
}
.services__panel-listes ul { list-style: none; padding: .4rem 0 .2rem; display: grid; gap: .55rem; }
.services__panel-listes li {
  display: flex; align-items: baseline; gap: .5rem; flex-wrap: wrap; font-size: .95rem;
  break-inside: avoid;
}
.services__panel-listes li::after { content: ""; order: 2; flex: 1; border-bottom: 1px dotted #d9cfb8; }
.services__panel-listes li i { font-style: normal; font-size: .8rem; color: var(--ink-soft); }
.services__panel-listes li b { order: 3; font-weight: 600; color: var(--teal-dark); white-space: nowrap; }
.services__panel-listes .tarif__note { font-size: .84rem; color: var(--ink-soft); padding: .5rem 0 .3rem; }
.services__panel-actions {
  display: flex; gap: .9rem; flex-wrap: wrap; align-items: center;
  margin-top: 1.2rem;
}
/* PC : les prix s'étalent horizontalement en colonnes */
@media (min-width: 821px) {
  .services__panel-listes { columns: 2 320px; column-gap: 2.5rem; }
  .services__panel-listes ul { display: block; }
  .services__panel-listes li { margin-bottom: .55rem; }
}

.services__note {
  margin-top: 2.8rem; text-align: center; max-width: 780px; margin-inline: auto;
  background: var(--white); border: 1px dashed var(--gold);
  border-radius: var(--radius); padding: 2rem 1.5rem;
  display: grid; gap: 1.2rem; justify-items: center;
}
.services__note p { max-width: 640px; }

/* ===== Galerie ===== */
.galerie__grid {
  margin-top: 3rem;
  display: grid; gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}
.galerie__grid figure {
  border-radius: var(--radius); overflow: hidden; aspect-ratio: 1;
  box-shadow: var(--shadow);
}
.galerie__grid img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s ease;
}
.galerie__grid figure:hover img { transform: scale(1.07); }
.galerie__more { text-align: center; margin-top: 2.2rem; color: var(--ink-soft); }
.galerie__more a { color: var(--teal-dark); font-weight: 600; }

/* ===== Carte des soins & tarifs ===== */
.tarifs__liste { max-width: 780px; margin: 3rem auto 0; display: grid; gap: .9rem; }
.tarif {
  background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden;
}
.tarif summary {
  cursor: pointer; list-style: none; display: flex; align-items: center; gap: .6rem;
  padding: 1.1rem 1.4rem; font-family: var(--font-title);
  font-size: 1.12rem; font-weight: 600; color: var(--ink);
}
.tarif summary::-webkit-details-marker { display: none; }
.tarif summary span {
  margin-left: auto; font-family: var(--font-body); font-weight: 500;
  font-size: .85rem; color: var(--gold-dark); white-space: nowrap;
}
.tarif summary::after {
  content: "▾"; color: var(--teal-dark); margin-left: .6rem;
  transition: transform .25s ease;
}
.tarif[open] summary::after { transform: rotate(180deg); }
.tarif[open] summary { border-bottom: 1px dashed #e8e0cd; }
.tarif ul { list-style: none; padding: .9rem 1.4rem .4rem; display: grid; gap: .55rem; }
.tarif li {
  display: flex; align-items: baseline; gap: .5rem; flex-wrap: wrap;
  font-size: .97rem;
}
.tarif li::after { content: ""; order: 2; flex: 1; border-bottom: 1px dotted #d9cfb8; }
.tarif li i { font-style: normal; font-size: .82rem; color: var(--ink-soft); }
.tarif li b { order: 3; font-weight: 600; color: var(--teal-dark); white-space: nowrap; }
.tarif__note {
  font-size: .84rem; color: var(--ink-soft); padding: .5rem 1.4rem 1.1rem;
  border-top: none;
}
.tarifs__cta { text-align: center; margin-top: 2.4rem; display: grid; gap: 1rem; justify-items: center; }

/* ===== Fil Facebook en colonne latérale des soins ===== */
.services__layout { display: grid; gap: 2.8rem; }
.services__main .services__grid { margin-top: 0; }
.services__aside { display: grid; gap: .5rem; justify-items: center; align-content: start; }
.services__aside-titre {
  font-family: var(--font-title); font-size: 1.25rem; color: var(--ink);
  text-align: center;
}
.services__aside iframe {
  max-width: 100%; border-radius: var(--radius);
  box-shadow: var(--shadow); background: var(--white);
}
@media (min-width: 1100px) {
  /* section élargie + colonne fil réduite : la grille garde 3 vignettes par ligne */
  .services > .container { width: min(1320px, 94%); }
  .services__layout { grid-template-columns: 1fr 360px; align-items: start; }
  .services__grid { grid-template-columns: repeat(3, 1fr); }
  .services__aside { position: sticky; top: 90px; }
}

/* ===== Salon ===== */
.salon__grid {
  display: grid; gap: 3rem; align-items: center;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}
.salon__img { aspect-ratio: 4 / 5; }
.salon__img img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 22%;
  border-radius: var(--radius); box-shadow: var(--shadow);
}
/* collage 3 photos : gérante en grand à gauche, spa + équipe à droite */
.salon__gallery {
  display: grid; gap: .7rem;
  grid-template-columns: 1.25fr 1fr;
  grid-template-rows: 1fr 1fr;
  aspect-ratio: 5 / 4;               /* donne une hauteur aux rangées 1fr */
}
.salon__gallery img {
  width: 100%; height: 100%; object-fit: cover;
  border-radius: var(--radius); box-shadow: var(--shadow);
  min-height: 0; min-width: 0;
}
.salon__gallery-main { grid-row: 1 / 3; }
.salon__content .section__eyebrow,
.salon__content .section__title { text-align: left; }
.salon__content > p { color: var(--ink-soft); margin-bottom: 1.4rem; }
.salon__points { list-style: none; display: grid; gap: .55rem; margin-bottom: 1.8rem; }

/* ===== Avis ===== */
.avis { text-align: center; }
.avis__stars { color: var(--gold); font-size: 1.9rem; letter-spacing: .3rem; margin-bottom: 1rem; }
.avis__text {
  font-family: var(--font-title); font-style: italic; font-size: 1.25rem;
  max-width: 640px; margin: 0 auto 1.4rem; color: var(--ink);
}
.avis__link { color: var(--teal-dark); font-weight: 600; }

/* ===== Contact ===== */
.contact__grid {
  margin-top: 3rem;
  display: grid; gap: 1.8rem;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}
.contact__card {
  background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 2.2rem 1.6rem;
  text-align: center; display: grid; gap: .7rem; justify-items: center;
}
.contact__icon { font-size: 2rem; }
.contact__avatar {
  width: 84px; height: 84px; border-radius: 50%; object-fit: cover;
  border: 2.5px solid var(--gold); box-shadow: 0 6px 18px rgba(193, 154, 75, .3);
}
.contact__card h3 { font-family: var(--font-title); font-size: 1.3rem; }
.contact__card p { color: var(--ink-soft); }

/* ===== Footer ===== */
.footer {
  background: #17332f; color: #d9d4c8;
  padding-block: 3rem 2rem; margin-top: 2rem;
}
.footer__inner { display: grid; justify-items: center; gap: .8rem; text-align: center; }
.footer__logo { width: 70px; filter: drop-shadow(0 0 6px rgba(255,255,255,.15)); }
.footer__avatar {
  width: 76px; height: 76px; border-radius: 50%; object-fit: cover;
  border: 2.5px solid var(--gold); box-shadow: 0 6px 20px rgba(0,0,0,.35);
  transition: transform .2s ease;
}
.footer__avatar:hover { transform: scale(1.06); }
.footer__tagline { font-family: var(--font-title); font-style: italic; color: #e8d5a8; }
.footer__social { display: flex; gap: 1.2rem; margin-block: .4rem; }
.footer__social a { color: #d9d4c8; transition: color .2s; }
.footer__social a:hover { color: var(--gold); }
.footer__copy { font-size: .85rem; color: #9aa39b; }

/* ===== Bouton Rendez-vous flottant (au-dessus de WhatsApp) ===== */
.rdv-float {
  position: fixed; right: 1.3rem; bottom: calc(1.3rem + 58px + 14px); z-index: 60;
  display: inline-flex; align-items: center; gap: .45rem;
  background: var(--gold); color: #fff; font-weight: 600; font-size: .95rem;
  padding: .7rem 1.1rem; border-radius: 999px;
  box-shadow: 0 8px 26px rgba(193, 154, 75, .45);
  transition: transform .25s ease, background .2s ease, opacity .25s ease, visibility .25s;
  /* masqué en haut de page (le bandeau d'accueil a déjà son bouton) ; JS ajoute .is-visible au défilement */
  opacity: 0; visibility: hidden; transform: translateY(12px); pointer-events: none;
}
.rdv-float.is-visible { opacity: 1; visibility: visible; transform: none; pointer-events: auto; }
.rdv-float.is-visible:hover { transform: translateY(-2px); background: var(--gold-dark); }

/* ===== WhatsApp flottant ===== */
.whatsapp-float {
  position: fixed; right: 1.3rem; bottom: 1.3rem; z-index: 60;
  width: 58px; height: 58px; border-radius: 50%;
  background: var(--whatsapp); display: grid; place-items: center;
  box-shadow: 0 8px 26px rgba(37, 211, 102, .45);
  animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 8px 26px rgba(37,211,102,.45); }
  50% { box-shadow: 0 8px 26px rgba(37,211,102,.45), 0 0 0 12px rgba(37,211,102,.12); }
}

/* ===== Apparition au scroll ===== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ===== Mobile ===== */
@media (max-width: 820px) {
  .burger { display: block; }
  .nav {
    position: fixed; top: 66px; right: 0; z-index: 49;
    flex-direction: column; align-items: flex-start; gap: 1.2rem;
    background: var(--cream); padding: 1.8rem 2rem 2.2rem;
    border-radius: 0 0 0 var(--radius);
    box-shadow: var(--shadow);
    transform: translateX(110%); visibility: hidden;
    transition: transform .3s ease, visibility .3s;
    min-width: 230px; max-width: 90vw;
  }
  .nav.is-open { transform: none; visibility: visible; }
  .hero__content { padding-top: 7.5rem; }
  .hero__badges { gap: 1.4rem; }
  .section { padding-block: 3.8rem; }
  .salon__content .section__title { text-align: left; }
}
