/* ============================================================
   THE BEAUTY CORNER by Alex — Maquette landing page
   Palette cliente :
   #587D8D bleu · #815E54 brun · #CA9479 terracotta · #F6ECDA crème
   ============================================================ */

/* Police principale de la cliente */
@font-face {
  font-family: 'Soria';
  src: url('../assets/fonts/Soria.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* Police secondaire de la cliente (paragraphes & boutons) */
@font-face {
  font-family: 'Coconat';
  src: url('../assets/fonts/CoconatRegular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Coconat';
  src: url('../assets/fonts/CoconatDemi.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --blue: #587D8D;
  --brown: #815E54;
  --terracotta: #CA9479;
  --cream: #F6ECDA;

  --dark: #3a2f2b;
  --text: #4a4038;
  --muted: #8a7d73;
  --white: #ffffff;
  --cream-soft: #fbf6ec;

  --font-title: 'Soria', 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Coconat', 'Cormorant Garamond', Georgia, serif;

  --radius: 14px;
  --shadow: 0 18px 45px rgba(88, 71, 60, 0.12);
  --shadow-soft: 0 10px 30px rgba(88, 71, 60, 0.08);
  --max: 1180px;
  --header-h: 78px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--cream-soft);
  line-height: 1.7;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

.container { width: 90%; max-width: var(--max); margin: 0 auto; }

h1, h2, h3 { font-family: var(--font-title); font-weight: 500; color: var(--dark); line-height: 1.1; }

section { padding: 100px 0; }

/* ---------- Typo utilitaires ---------- */
.eyebrow, .section-eyebrow {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--terracotta);
  margin-bottom: 16px;
}
.section-eyebrow.light { color: var(--cream); }

.section-lead { color: var(--muted); font-size: 1.08rem; max-width: 560px; }

.section-head.center { text-align: center; margin: 0 auto 60px; max-width: 640px; }
.section-head.center .section-lead { margin: 18px auto 0; }
.section-head h2 { font-size: clamp(2rem, 4vw, 3rem); }

/* ---------- Boutons ---------- */
.btn {
  display: inline-block;
  padding: 14px 34px;
  border-radius: 40px;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: transform .2s ease, background .2s ease, color .2s ease;
}
.btn-block { width: 100%; text-align: center; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  z-index: 100;
  background: transparent;
  transition: background .3s ease, box-shadow .3s ease, height .3s ease;
}
.site-header.scrolled {
  background: rgba(58, 47, 43, 0.45);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
  box-shadow: 0 6px 26px rgba(58, 47, 43, 0.18);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.header-inner { height: 100%; display: flex; align-items: center; justify-content: flex-end; gap: 40px; }

/* Logo qui apparaît progressivement dans la navbar au scroll */
.header-logo {
  margin-right: auto;               /* pousse la nav et les actions à droite */
  display: inline-flex; align-items: center;
  opacity: 0;                       /* piloté au scroll par le JS */
  transform: translateY(-6px) scale(0.85);
  transform-origin: left center;
  pointer-events: none;
  transition: opacity .35s ease, transform .35s ease;
}
.header-logo img { height: 42px; width: auto; display: block; filter: drop-shadow(0 4px 12px rgba(58, 47, 43, 0.3)); }

.nav { display: flex; gap: 34px; }
.nav a {
  text-decoration: none;
  color: var(--cream);
  text-shadow: 0 1px 8px rgba(58, 47, 43, 0.35);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 400;
  position: relative;
  padding-bottom: 4px;
}
.nav a::after {
  content: '';
  position: absolute; left: 0; bottom: 0;
  width: 0; height: 1.5px; background: var(--terracotta);
  transition: width .25s ease;
}
.nav a:hover { color: var(--terracotta); }
.nav a:hover::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: 18px; }
.header-instagram {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--cream);
  filter: drop-shadow(0 1px 8px rgba(58, 47, 43, 0.35));
  transition: color .25s ease, transform .25s ease;
}
.header-instagram:hover { color: var(--terracotta); transform: translateY(-1px); }

.header-cta { padding: 11px 26px; background: var(--blue); color: var(--cream); }
.header-cta:hover { background: #46656f; }

/* Bouton « Offrir » (carte cadeau) dans la navbar */
.header-gift {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--cream); text-decoration: none;
  font-family: var(--font-body);
  font-size: 0.82rem; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 10px 20px; border-radius: 40px;
  border: 1.5px solid rgba(246, 236, 218, 0.55);
  filter: drop-shadow(0 1px 8px rgba(58, 47, 43, 0.35));
  transition: color .25s ease, border-color .25s ease, background .25s ease;
}
.header-gift svg { display: block; }
.header-gift:hover { color: var(--terracotta); border-color: var(--terracotta); }

.burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.burger span { width: 26px; height: 2px; background: var(--cream); transition: .3s; border-radius: 2px; box-shadow: 0 1px 4px rgba(58,47,43,0.4); }
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;          /* contenu centré + barre d'infos en bas */
  align-items: stretch;
  color: var(--cream);
  background-color: var(--brown);
  overflow: hidden;
  padding-top: var(--header-h);
}
/* Calque image de fond du hero */
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background-image: url('https://images.unsplash.com/photo-1600334129128-685c5582fd35?auto=format&fit=crop&w=1600&q=80');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(120deg, rgba(58,47,43,0.72) 0%, rgba(129,94,84,0.55) 55%, rgba(88,125,141,0.45) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
}
.hero-main { max-width: 620px; text-align: left; }
.hero-logo {
  width: 120px;
  margin: 0 0 22px;
  filter: drop-shadow(0 10px 30px rgba(58, 47, 43, 0.35));
}
.hero .eyebrow { color: var(--cream); }
.hero h1 {
  color: var(--cream);
  font-size: clamp(2.8rem, 6.5vw, 5rem);
  font-weight: 500;
  line-height: 1.02;
  margin-bottom: 22px;
}
.hero-tagline { font-size: 1.15rem; font-weight: 300; margin-bottom: 38px; color: rgba(246,236,218,0.9); max-width: 460px; }
.hero-actions { display: flex; gap: 26px; align-items: center; flex-wrap: wrap; }

/* Animation d'entrée du hero : apparition en cascade (fondu + glissement) */
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(26px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-main .hero-logo,
.hero-main .eyebrow,
.hero-main h1,
.hero-main .hero-tagline,
.hero-main .hero-actions,
.hero-review {
  opacity: 0;
  animation: heroFadeUp .9s cubic-bezier(.22, .61, .36, 1) forwards;
}
.hero-main .hero-logo    { animation-delay: .15s; }
.hero-main .eyebrow      { animation-delay: .30s; }
.hero-main h1            { animation-delay: .45s; }
.hero-main .hero-tagline { animation-delay: .60s; }
.hero-main .hero-actions { animation-delay: .75s; }
.hero-review             { animation-delay: .95s; }

/* Accessibilité : pas d'animation si l'utilisateur la désactive */
@media (prefers-reduced-motion: reduce) {
  .hero-main .hero-logo,
  .hero-main .eyebrow,
  .hero-main h1,
  .hero-main .hero-tagline,
  .hero-main .hero-actions,
  .hero-review { opacity: 1; animation: none; }
}

.btn-blue { background: var(--blue); color: var(--cream); }
.btn-blue:hover { background: #46656f; transform: translateY(-2px); }

/* Carte avis (bas-droite du hero) */
.hero-review {
  align-self: flex-end;
  max-width: 300px;
  margin-bottom: 90px;
  padding: 26px 28px;
  background: rgba(246, 236, 218, 0.10);
  border: 1px solid rgba(246, 236, 218, 0.22);
  border-radius: var(--radius);
  backdrop-filter: blur(6px);
  color: var(--cream);
}
.hero-review-top {
  display: flex; align-items: center; gap: 16px;
  margin-bottom: 18px; padding-bottom: 16px;
  border-bottom: 1px solid rgba(246, 236, 218, 0.18);
}
.hero-review-score { font-family: var(--font-title); font-size: 2.6rem; line-height: 1; color: var(--cream); }
.hero-review-meta { display: flex; flex-direction: column; gap: 5px; }
.hero-review .stars { color: var(--terracotta); letter-spacing: 3px; font-size: 0.95rem; }
.hero-review-count { font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(246, 236, 218, 0.72); }
.hero-review p { font-family: var(--font-title); font-style: italic; font-size: 1.1rem; line-height: 1.45; margin-bottom: 14px; transition: opacity .45s ease; will-change: opacity; transform: translateZ(0); -webkit-backface-visibility: hidden; backface-visibility: hidden; }
.hero-review cite { font-style: normal; font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(246,236,218,0.75); transition: opacity .45s ease; will-change: opacity; transform: translateZ(0); -webkit-backface-visibility: hidden; backface-visibility: hidden; }
.hero-review.is-fading p, .hero-review.is-fading cite { opacity: 0; }

/* ============================================================
   PRESTATIONS
   ============================================================ */
.prestations { background: var(--cream-soft); }

/* ---------- Grille prestations : 6 blocs animés au survol / tap ---------- */
.prestations-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 36px;
}

.presta-cell {
  position: relative;
  min-height: 320px;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  border: 1px solid rgba(129,94,84,0.16);
  box-shadow: var(--shadow-soft);
  cursor: pointer;
  transition: box-shadow .4s ease, transform .4s ease;
}
.presta-cell:hover { transform: translateY(-4px); }

/* Image révélée au survol / tap */
.presta-cell-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-color: var(--cream);
  opacity: 0;
  transform: scale(1.1);
  transition: opacity .55s ease, transform 1.3s ease;
}
/* Voile sombre pour la lisibilité du texte quand l'image est visible */
.presta-cell::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(58,47,43,0.15) 0%, rgba(58,47,43,0.78) 100%);
  opacity: 0;
  transition: opacity .5s ease;
}

.presta-cell-inner {
  position: relative;
  z-index: 2;
  height: 100%;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  padding: 28px 26px;
}
.presta-num {
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  color: var(--muted);
  transition: color .4s ease;
}
.presta-cell-head { margin-top: auto; }
.presta-name {
  font-family: var(--font-title);
  font-weight: 500;
  color: var(--dark);
  font-size: clamp(1.6rem, 2.4vw, 2.1rem);
  line-height: 1.08;
  margin-bottom: 8px;
  transition: color .4s ease;
}
.presta-desc {
  font-size: 0.92rem;
  color: var(--muted);
  transition: color .4s ease;
}
/* Bouton Réserver : caché par défaut, apparaît quand le bloc est actif */
.presta-reserve {
  align-self: flex-start;
  margin-top: 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(14px);
  pointer-events: none;
  transition: opacity .45s ease, transform .45s ease, background .25s ease;
}
.presta-reserve span { transition: transform .25s ease; }
.presta-reserve:hover { background: #46656f; }
.presta-reserve:hover span { transform: translateX(4px); }

/* --- État actif (survol desktop OU classe .is-open ajoutée au tap) --- */
.presta-cell.is-open .presta-cell-img { opacity: 1; transform: scale(1); }
.presta-cell.is-open::after { opacity: 1; }
.presta-cell.is-open .presta-num { color: rgba(255,255,255,0.7); }
.presta-cell.is-open .presta-name { color: #fff; }
.presta-cell.is-open .presta-desc { color: rgba(255,255,255,0.88); }
.presta-cell.is-open .presta-reserve { opacity: 1; transform: translateY(0); pointer-events: auto; }

@media (max-width: 900px) {
  .prestations-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .prestations-grid { grid-template-columns: 1fr; gap: 14px; }
  .presta-cell, .presta-cell-inner { min-height: 240px; }
}

/* ============================================================
   CARTE EXPÉRIENCE (dans Prestations)
   ============================================================ */
.experience-card {
  display: block;
  width: 100%;
  text-align: left;
  margin: 0 0 44px;
  padding: 34px 38px;
  border: 1px solid rgba(129, 94, 84, 0.18);
  border-radius: var(--radius);
  cursor: pointer;
  color: var(--cream);
  background:
    linear-gradient(120deg, rgba(58,47,43,0.86) 0%, rgba(129,94,84,0.82) 55%, rgba(88,125,141,0.80) 100%),
    var(--brown);
  box-shadow: var(--shadow-soft);
  transition: transform .3s ease, box-shadow .3s ease;
}
.experience-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.experience-card:focus-visible { outline: 3px solid var(--terracotta); outline-offset: 3px; }
.experience-badge {
  display: inline-block;
  font-family: var(--font-body);
  font-size: .74rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--cream);
  background: rgba(255,255,255,0.16);
  border: 1px solid rgba(255,255,255,0.28);
  padding: 6px 14px; border-radius: 999px; margin-bottom: 16px;
}
.experience-card-body { display: block; }
.experience-eyebrow {
  display: block; font-family: var(--font-body);
  font-size: .82rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--terracotta); margin-bottom: 8px;
}
.experience-title {
  display: block; font-family: var(--font-title);
  font-size: clamp(1.6rem, 3.2vw, 2.3rem); line-height: 1.1; margin-bottom: 12px;
}
.experience-lead {
  display: block; max-width: 640px;
  color: rgba(246,236,218,0.9); margin-bottom: 20px;
}
.experience-meta { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.experience-price {
  font-family: var(--font-title); font-size: 1.3rem; color: #fff;
}
.experience-more {
  font-family: var(--font-body); font-size: .95rem; letter-spacing: .04em;
  color: var(--cream); transition: transform .25s ease;
}
.experience-card:hover .experience-more { transform: translateX(5px); }
@media (max-width: 560px) {
  .experience-card { padding: 26px 22px; }
}

/* ============================================================
   MODAL EXPÉRIENCE
   ============================================================ */
.exp-modal {
  position: fixed; inset: 0; z-index: 2000;
  display: flex; align-items: flex-start; justify-content: center;
  padding: 24px; overflow-y: auto;
}
.exp-modal[hidden] { display: none; }
.exp-modal-overlay {
  position: fixed; inset: 0;
  background: rgba(58, 47, 43, 0.55);
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
}
.exp-modal-panel {
  position: relative; z-index: 1;
  width: 100%; max-width: 880px; margin: 24px auto;
  background: var(--cream-soft, #fbf6ec);
  border-radius: 22px; padding: 44px;
  box-shadow: 0 30px 80px rgba(58, 47, 43, 0.4);
  animation: expIn .35s ease;
}
@keyframes expIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.exp-modal-close {
  position: absolute; top: 16px; right: 18px;
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid rgba(129, 94, 84, 0.25); background: #fff;
  color: var(--dark); font-size: 1.5rem; line-height: 1; cursor: pointer;
  transition: background .2s ease, transform .2s ease;
}
.exp-modal-close:hover { background: var(--cream); transform: rotate(90deg); }
.exp-modal-head { text-align: center; margin-bottom: 28px; }
.exp-eyebrow {
  font-family: var(--font-body); font-size: .82rem; letter-spacing: .12em;
  text-transform: uppercase; color: var(--terracotta); margin-bottom: 10px;
}
.exp-modal-head h2 {
  font-family: var(--font-title); font-size: clamp(1.5rem, 3.4vw, 2.2rem);
  color: var(--dark); line-height: 1.15; margin-bottom: 10px;
}
.exp-sub { color: var(--muted, #8a7d73); font-size: .95rem; }

.exp-tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 30px; }
.exp-tier {
  position: relative; background: #fff;
  border: 1px solid rgba(129, 94, 84, 0.16); border-radius: 16px;
  padding: 22px 20px; box-shadow: var(--shadow-soft);
}
.exp-tier-featured { border-color: var(--terracotta); box-shadow: 0 14px 34px rgba(202, 148, 121, 0.28); }
.exp-tier-flag {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--terracotta); color: #fff; font-family: var(--font-body);
  font-size: .72rem; letter-spacing: .08em; text-transform: uppercase;
  padding: 4px 14px; border-radius: 999px; white-space: nowrap;
}
.exp-tier h3 { font-family: var(--font-title); font-size: 1.35rem; color: var(--dark); margin-bottom: 4px; }
.exp-tier-price { font-family: var(--font-title); font-size: 1.8rem; color: var(--blue); }
.exp-tier-price span { font-family: var(--font-body); font-size: .9rem; color: var(--muted, #8a7d73); }
.exp-tier-tag { font-size: .9rem; color: var(--brown); font-style: italic; margin: 8px 0 14px; }
.exp-list { list-style: none; padding: 0; margin: 0; }
.exp-list li {
  position: relative; padding-left: 22px; margin-bottom: 9px;
  font-size: .92rem; color: var(--text, #4a4038); line-height: 1.45;
}
.exp-list li::before {
  content: ""; position: absolute; left: 2px; top: .55em;
  width: 7px; height: 7px; border-radius: 50%; background: var(--terracotta);
}
.exp-list li em { color: var(--brown); font-weight: 500; }
.exp-list-plain li::before { background: var(--blue); }

.exp-block { margin-bottom: 26px; padding: 0; }
.exp-block h4 {
  font-family: var(--font-title); font-size: 1.2rem; color: var(--dark);
  margin-bottom: 10px; padding-bottom: 8px;
  border-bottom: 1px solid rgba(129, 94, 84, 0.16);
}
.exp-block-lead { color: var(--brown); margin-bottom: 14px; }
.exp-choices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.exp-choice {
  background: var(--cream); border-radius: 12px; padding: 14px 16px;
}
.exp-choice strong { display: block; font-family: var(--font-title); color: var(--dark); margin-bottom: 4px; }
.exp-choice span { font-size: .88rem; color: var(--text, #4a4038); }
.exp-option {
  margin-top: 16px; font-size: .92rem; color: var(--text, #4a4038);
  background: rgba(88, 125, 141, 0.08); border-left: 3px solid var(--blue);
  padding: 12px 16px; border-radius: 0 10px 10px 0;
}
.exp-notes { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }

.exp-modal-actions {
  display: flex; gap: 14px; flex-wrap: wrap; justify-content: center;
  margin-top: 30px; padding-top: 26px;
  border-top: 1px solid rgba(129, 94, 84, 0.16);
}
.btn-outline {
  background: transparent; color: var(--blue);
  border: 1.5px solid var(--blue);
}
.btn-outline:hover { background: var(--blue); color: #fff; }

body.modal-open { overflow: hidden; }

@media (max-width: 760px) {
  .exp-tiers { grid-template-columns: 1fr; }
  .exp-choices { grid-template-columns: 1fr; }
  .exp-notes { grid-template-columns: 1fr; gap: 8px; }
  .exp-modal-panel { padding: 34px 20px; }
}

/* ============================================================
   À PROPOS
   ============================================================ */
.about { background: var(--cream); }
.about-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 70px; align-items: center; }
.about-img { background: var(--terracotta); border-radius: var(--radius); min-height: 380px; }
.about-img img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; height: 100%; object-fit: cover; }
.about-text h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 24px; }
.about-text p { margin-bottom: 16px; color: var(--text); }
.about-list { list-style: none; margin: 24px 0 32px; }
.about-list li {
  position: relative; padding-left: 30px; margin-bottom: 12px; color: var(--text);
}
.about-list li::before {
  content: '✦'; position: absolute; left: 0; top: 0; color: var(--terracotta);
}

/* ============================================================
   AVANT / APRÈS
   ============================================================ */
.beforeafter { background: var(--cream-soft); }

/* Onglets sous-catégories */
.ba-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-bottom: 30px; }
.ba-tab {
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  background: transparent;
  border: 1px solid rgba(129,94,84,0.28);
  border-radius: 999px;
  padding: 10px 20px;
  cursor: pointer;
  transition: color .25s ease, background .25s ease, border-color .25s ease;
}
.ba-tab:hover { color: var(--dark); border-color: var(--terracotta); }
.ba-tab.is-active { background: var(--blue); color: #fff; border-color: transparent; }

/* Comparateur */
.ba-slider {
  position: relative;
  max-width: 560px;
  max-height: 60vh;
  margin: 0 auto;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  cursor: ew-resize;
  user-select: none;
  -webkit-user-select: none;
  touch-action: none;
}
.ba-img { position: absolute; inset: 0; }
.ba-img img { width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; }
.ba-before { clip-path: inset(0 50% 0 0); will-change: clip-path; } /* piloté par le JS */

.ba-badge {
  position: absolute;
  bottom: 16px;
  font-family: var(--font-body);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(58, 47, 43, 0.62);
  padding: 6px 14px;
  border-radius: 999px;
  pointer-events: none;
}
.ba-badge-before { left: 16px; }
.ba-badge-after { right: 16px; }

.ba-handle {
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  width: 2px;
  background: #fff;
  transform: translateX(-50%);
  box-shadow: 0 0 10px rgba(58, 47, 43, 0.35);
  pointer-events: none;
}
.ba-handle-grip {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 42px; height: 42px;
  border-radius: 50%;
  background: #fff;
  color: var(--blue);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  box-shadow: 0 4px 14px rgba(58, 47, 43, 0.3);
}

/* ============================================================
   TÉMOIGNAGES
   ============================================================ */
.testimonials {
  position: relative;
  color: var(--cream);
  background-color: var(--blue);
  background-image: url('https://images.unsplash.com/photo-1540555700478-4be289fbecef?auto=format&fit=crop&w=1600&q=80');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  text-align: center;
}
.testimonials-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(rgba(58,47,43,0.82), rgba(88,125,141,0.75));
}
.testimonials-content { position: relative; max-width: 760px; margin: 0 auto; }
.testimonials h2 { color: var(--cream); font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 14px; }
.stars { color: var(--terracotta); letter-spacing: 6px; font-size: 1.1rem; margin-bottom: 34px; }

.testimonial-track { position: relative; min-height: 170px; }
.testimonial {
  position: absolute; top: 0; left: 0; right: 0;
  opacity: 0; visibility: hidden;
  transition: opacity .5s ease;
}
.testimonial.active { opacity: 1; visibility: visible; }
.testimonial p {
  font-family: var(--font-title);
  font-style: italic;
  font-size: 1.55rem;
  line-height: 1.5;
  color: var(--cream);
  margin-bottom: 20px;
}
.testimonial cite { font-family: var(--font-body); font-style: normal; letter-spacing: 0.12em; text-transform: uppercase; font-size: 0.85rem; color: var(--terracotta); }
.testimonial.is-clickable { cursor: pointer; }

.testimonial-dots { display: flex; gap: 12px; justify-content: center; margin-top: 34px; }
.testimonial-dots button {
  width: 11px; height: 11px; border-radius: 50%;
  border: 1px solid var(--cream); background: transparent; cursor: pointer; padding: 0;
  transition: background .2s ease;
}
.testimonial-dots button.active { background: var(--cream); }

/* ============================================================
   INSTAGRAM
   ============================================================ */
.instagram { background: var(--cream-soft); }
.ig-subtitle {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  color: var(--muted);
  font-size: 0.95rem;
}
.ig-followers strong { color: var(--terracotta); font-weight: 600; }

.ig-feed { margin: 34px 0 36px; }
.ig-preview {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.ig-post {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;               /* même dimension pour toutes les vignettes */
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--cream-soft);     /* fond doux autour d'une photo entière */
  box-shadow: var(--shadow-soft);
}
/* Photo : affichée en entier (texte visible), jamais rognée */
.ig-post img { display: block; width: 100%; height: 100%; object-fit: contain; }
/* Vidéo/reel : remplit la vignette (rognage en hauteur accepté) */
.ig-post.is-video img { object-fit: cover; }
.ig-post-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: rgba(58, 47, 43, 0.42);
  opacity: 0;
  transition: opacity .35s ease;
}
.ig-post:hover .ig-post-overlay { opacity: 1; }
/* Tuiles de repli (si le flux Behold échoue) : fond de marque + logo visible */
.ig-post-fallback { aspect-ratio: 4 / 5; background: linear-gradient(135deg, var(--terracotta), var(--brown)); }
.ig-post-fallback:nth-child(2) { background: linear-gradient(135deg, var(--blue), var(--brown)); }
.ig-post-fallback:nth-child(3) { background: linear-gradient(135deg, var(--brown), var(--terracotta)); }
.ig-post-fallback .ig-post-overlay { opacity: 1; background: transparent; }
.ig-post-video {
  position: absolute;
  top: 10px; right: 10px;
  width: 26px; height: 26px;
  border-radius: 7px;
  background: rgba(58, 47, 43, 0.55);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  pointer-events: none;
}
.ig-cta { margin-top: 4px; text-align: center; }

@media (max-width: 620px) {
  .ig-preview { gap: 10px; }
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact { background: var(--cream); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: start; }
.contact-info h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 20px; }
.contact-planity { margin: 28px 0 4px; }
.contact-list { list-style: none; margin: 34px 0; }
.contact-list li { display: flex; flex-direction: column; margin-bottom: 20px; }
.contact-list strong {
  font-family: var(--font-body);
  text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.72rem;
  color: var(--terracotta); font-weight: 500; margin-bottom: 4px;
}
.contact-list span { color: var(--text); font-size: 1.05rem; }
.contact-list a { color: inherit; text-decoration: none; }
.contact-list a:hover { color: var(--terracotta); }
.hours-grid {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 6px 24px;
  margin-top: 4px;
}
.hours-grid .day { font-size: 0.95rem; color: var(--muted); }
.hours-grid .time { font-size: 0.95rem; color: var(--text); text-align: right; }

.contact-form {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow);
}
.field { margin-bottom: 20px; }
.field label {
  display: block; font-size: 0.75rem; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--muted); margin-bottom: 8px; font-weight: 500;
}
.field input, .field select, .field textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid rgba(129,94,84,0.22);
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text);
  background: var(--cream-soft);
  transition: border .2s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--blue);
}
.field textarea { resize: vertical; }
.form-feedback { margin-top: 14px; font-size: 0.9rem; color: var(--blue); text-align: center; min-height: 20px; }

/* ============================================================
   FOOTER
   ============================================================ */
/* ---------- Footer minimaliste ---------- */
.site-footer { background: var(--dark); color: var(--cream); padding: 60px 0; }
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 26px;
}
.footer-brand {
  font-family: var(--font-title);
  font-size: 1.5rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cream);
  text-decoration: none;
}
.footer-brand em { font-style: italic; text-transform: none; color: var(--terracotta); letter-spacing: 0.02em; }

.footer-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 28px; }
.footer-nav a {
  color: rgba(246,236,218,0.8);
  text-decoration: none;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: color .25s ease;
}
.footer-nav a:hover { color: var(--terracotta); }

.footer-links { display: flex; align-items: center; gap: 12px; font-size: 0.85rem; }
.footer-links a { color: rgba(246,236,218,0.75); text-decoration: none; transition: color .25s ease; }
.footer-links a:hover { color: var(--terracotta); }
.footer-links span { color: rgba(246,236,218,0.35); }

.footer-copy {
  margin-top: 4px;
  padding-top: 26px;
  border-top: 1px solid rgba(246,236,218,0.12);
  width: 100%;
  max-width: 340px;
  color: rgba(246,236,218,0.5);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
  section { padding: 80px 0; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-img { order: -1; }

  /* Hero : la carte avis passe sous le contenu, tout se centre */
  .hero-content { flex-direction: column; justify-content: center; text-align: center; gap: 36px; }
  .hero-main { text-align: center; }
  .hero-logo { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-review { align-self: center; margin-bottom: 0; max-width: 420px; }
  .hero-review-top { justify-content: center; }
}

@media (max-width: 760px) {
  .header-cta { display: none; }
  /* Bouton Offrir : icône seule sur mobile pour gagner de la place */
  .header-gift { padding: 8px; border: none; }
  .header-gift span { display: none; }
  .nav {
    position: fixed;
    top: var(--header-h); left: 0; right: 0;
    flex-direction: column;
    background: var(--cream-soft);
    padding: 24px 5%;
    gap: 20px;
    box-shadow: var(--shadow);
    transform: translateY(-140%);
    transition: transform .35s ease;
    border-bottom: 1px solid rgba(129,94,84,0.15);
  }
  .nav.open { transform: translateY(0); }
  .nav a { color: var(--text); text-shadow: none; }
  .nav a:hover { color: var(--terracotta); }
  .burger { display: flex; }

  .testimonials { background-attachment: scroll; }
  .testimonial p { font-size: 1.25rem; }

  .contact-form { padding: 28px; }
}

@media (max-width: 460px) {
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; text-align: center; }
  .hero-review-score { font-size: 2.2rem; }
}

/* ============================================================
   AMÉLIORATIONS : carte cadeau, FAQ, carte, barre mobile, reveal
   ============================================================ */

/* Apparition au scroll (sections) */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s cubic-bezier(.22,.61,.36,1); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* Carte cadeau */
.giftcard { background: var(--brown); color: var(--cream); padding: 64px 0; }
.giftcard-inner { display: flex; align-items: center; justify-content: space-between; gap: 34px; flex-wrap: wrap; }
.giftcard-text { max-width: 620px; }
.giftcard .section-eyebrow { color: var(--terracotta); }
.giftcard h2 { color: var(--cream); font-size: clamp(1.7rem, 3.4vw, 2.6rem); margin-bottom: 12px; }
.giftcard p { color: rgba(246,236,218,0.9); }
.giftcard-btn { flex-shrink: 0; }
@media (max-width: 700px) { .giftcard-inner { flex-direction: column; align-items: flex-start; } }

/* FAQ (accordéon natif) */
.faq { background: var(--cream); }
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid rgba(129,94,84,0.18); }
.faq-item summary {
  list-style: none; cursor: pointer; position: relative;
  padding: 22px 44px 22px 0;
  font-family: var(--font-title); font-size: 1.15rem; color: var(--dark);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+'; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  font-size: 1.5rem; color: var(--terracotta); transition: transform .25s ease;
}
.faq-item[open] summary::after { content: '–'; }
.faq-item summary:hover { color: var(--terracotta); }
.faq-a { padding: 0 44px 24px 0; color: var(--text); line-height: 1.7; }

/* Carte Google (Contact) */
.contact-map { margin-top: 28px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-soft); }
.contact-map iframe { display: block; width: 100%; border: 0; filter: grayscale(0.15); }

/* Champ piège anti-spam (honeypot) : masqué à l'écran et aux lecteurs d'écran */
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }

/* Barre de réservation fixe (mobile) */
.mobile-book-bar { display: none; }
@media (max-width: 760px) {
  .mobile-book-bar {
    display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
    background: rgba(251,246,236,0.94);
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
    border-top: 1px solid rgba(129,94,84,0.15);
    box-shadow: 0 -6px 24px rgba(58,47,43,0.14);
  }
  .mobile-book-bar .btn { margin: 0; }
  body { padding-bottom: 74px; }
}

/* Squelettes de chargement Instagram (shimmer) */
.ig-skeleton {
  aspect-ratio: 4 / 5; border-radius: var(--radius);
  background: linear-gradient(100deg, #efe6d6 30%, #f8f1e5 50%, #efe6d6 70%);
  background-size: 200% 100%; animation: igShimmer 1.3s ease-in-out infinite;
}
@keyframes igShimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }
@media (prefers-reduced-motion: reduce) { .ig-skeleton { animation: none; } }

/* Prix indicatif sur les cartes prestations (optionnel) */
.presta-price { margin-top: 8px; font-family: var(--font-title); font-size: 1.05rem; color: var(--terracotta); transition: color .4s ease; }
.presta-cell.is-open .presta-price { color: var(--cream); }

/* Sur écran tactile (pas de survol) : le bouton reste visible en permanence */
@media (hover: none) {
  .presta-reserve { opacity: 1; transform: none; pointer-events: auto; }
}

/* Modal Prestation : liste des formules (prix + durée) */
.presta-modal-head { text-align: center; margin-bottom: 26px; }
.presta-formules { display: flex; flex-direction: column; }
.pf-row {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 18px;
  padding: 15px 0; border-bottom: 1px solid rgba(129, 94, 84, 0.16);
}
.pf-row:last-child { border-bottom: 0; }
.pf-info { display: flex; flex-direction: column; }
.pf-name { font-family: var(--font-title); font-size: 1.1rem; color: var(--dark); line-height: 1.2; }
.pf-detail { font-size: 0.85rem; font-style: italic; color: var(--muted); margin-top: 2px; }
.pf-meta { display: flex; align-items: baseline; gap: 12px; white-space: nowrap; flex-shrink: 0; }
.pf-price { font-family: var(--font-title); font-size: 1.2rem; color: var(--blue); }
.pf-duree { font-size: 0.85rem; color: var(--muted); }
.presta-formules + .exp-modal-actions { margin-top: 24px; }

/* Liens légaux (footer) */
.footer-legal { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; font-size: 0.78rem; }
.footer-legal a { color: rgba(246,236,218,0.6); text-decoration: none; transition: color .25s ease; }
.footer-legal a:hover { color: var(--terracotta); }
.footer-legal span { color: rgba(246,236,218,0.3); }
.footer-credit { margin-top: 6px; font-size: 0.72rem; letter-spacing: 0.04em; color: rgba(246,236,218,0.42); }
.footer-credit a { color: rgba(246,236,218,0.6); text-decoration: none; transition: color .25s ease; }
.footer-credit a:hover { color: var(--terracotta); }

/* ============================================================
   PAGES LÉGALES (mentions légales, politique de confidentialité)
   ============================================================ */
.legal-header { position: sticky; top: 0; z-index: 50; background: rgba(58,47,43,0.92); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.legal-header .container { display: flex; align-items: center; justify-content: space-between; height: 66px; }
.legal-header img { height: 40px; width: auto; display: block; }
.legal-header a.back { color: var(--cream); text-decoration: none; font-family: var(--font-body); font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; }
.legal-header a.back:hover { color: var(--terracotta); }
.legal { max-width: 820px; margin: 0 auto; padding: 60px 0 90px; }
.legal h1 { font-size: clamp(2rem, 5vw, 3rem); margin-bottom: 10px; }
.legal .updated { color: var(--muted); font-size: .9rem; margin-bottom: 40px; }
.legal h2 { font-size: 1.4rem; margin: 38px 0 12px; color: var(--dark); }
.legal p, .legal li { color: var(--text); margin-bottom: 10px; }
.legal ul { padding-left: 22px; margin-bottom: 10px; }
.legal a { color: var(--blue); }
.legal-back { margin-top: 40px; }
.todo { background: rgba(202,148,121,.14); border-left: 3px solid var(--terracotta); padding: 4px 8px; border-radius: 4px; }
