/* ============================================================
   PERLE — Design System « NACRE »
   L'écrin : fond brun profond · panneaux nacrés flottants
   ============================================================ */

:root {
  /* — Coquille (fond) — */
  --shell-deep: #1E1006;
  --shell:      #2B1708;
  --shell-soft: #3a1f0a;
  --shell-mid:  #634733;

  /* — Nacre (contenu) — */
  --pearl:      #FDF6EE;
  --sand:       #EDE0CE;
  --pink:       #F9C6D0;
  --champagne:  #F7EAB5;
  --caramel:    #C4A882;
  --ink:        #2C2C2A;

  /* — Canevas (fond de page) — */
  --canvas: #999999;

  /* — Dégradé signature — */
  --nacre: linear-gradient(115deg, #F9C6D0 0%, #F7EAB5 38%, #FDF6EE 58%, #C4A882 100%);
  /* Variante lisible sur fond clair */
  --nacre-dark: linear-gradient(115deg, #8a6a45 0%, #634733 36%, #4a2c14 68%, #2B1708 100%);
  --nacre-soft: linear-gradient(115deg, rgba(249,198,208,.22), rgba(247,234,181,.18), rgba(196,168,130,.22));

  --ff-head: 'Playfair Display', Georgia, serif;
  --ff-body: 'Raleway', sans-serif;
  --ease:    cubic-bezier(.22,1,.36,1);
  --r-panel: 44px;
  --r-card:  22px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--ff-body); line-height: 1.7; overflow-x: hidden;
  color: var(--ink); background: var(--canvas);
  -webkit-font-smoothing: antialiased;
}
/* Halo nacré diffus sur le fond clair */
body::before {
  content: ''; position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(ellipse 50% 40% at 85% 8%,  rgba(249,198,208,.30), transparent 62%),
    radial-gradient(ellipse 45% 35% at 10% 55%, rgba(247,234,181,.26), transparent 62%),
    radial-gradient(ellipse 50% 40% at 70% 95%, rgba(196,168,130,.20), transparent 62%);
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
h1, h2, h3, h4 { font-family: var(--ff-head); line-height: 1.15; font-weight: 500; color: var(--shell-soft); }
::selection { background: var(--caramel); color: var(--shell-deep); }

/* ── PANNEAUX FLOTTANTS (la signature) ── */
.about, .formules, .lieux, .gallery, .testimonials, .reservation,
.corp-intro, .corp-features, .corp-benefits, .newsletter, .cta-band, .account {
  position: relative; z-index: 1;
  max-width: 1400px; margin: 20px auto; padding: 110px 0;
  border-radius: var(--r-panel); overflow: hidden;
  box-shadow: 0 30px 70px rgba(58,31,10,.16), 0 2px 8px rgba(58,31,10,.06), inset 0 1px 0 rgba(255,255,255,.35);
}
/* Couleurs des panneaux */
.about        { background: var(--pink); }
.formules     { background: var(--pearl); }
.lieux        { background: var(--sand); }
.gallery      { background: var(--shell); box-shadow: 0 40px 90px rgba(0,0,0,.45), inset 0 1px 0 rgba(255,255,255,.08); }
.testimonials { background: var(--caramel); }
.reservation  { background: var(--champagne); }
.corp-intro   { background: var(--pearl); }
.corp-features{ background: var(--sand); }
.corp-benefits{ background: var(--pink); }
.account      { background: var(--pearl); padding-top: 150px; }
.newsletter   { background: var(--shell); padding: 84px 0; box-shadow: 0 30px 70px rgba(0,0,0,.4), inset 0 1px 0 rgba(255,255,255,.08); }
.cta-band     { background: var(--shell-soft); text-align: center; padding: 120px 0; }
/* Reflet nacré en haut de chaque panneau */
.about::before, .formules::before, .lieux::before, .testimonials::before,
.reservation::before, .corp-intro::before, .corp-features::before, .corp-benefits::before, .account::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 220px;
  background: linear-gradient(180deg, rgba(255,255,255,.5), transparent);
  pointer-events: none;
}
.cta-band::before, .gallery::before, .newsletter::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 60% 60% at 50% 0%, rgba(249,198,208,.16), transparent 65%);
}

/* ── UTILITAIRES ── */
.container { max-width: 1180px; margin: 0 auto; padding: 0 40px; position: relative; z-index: 1; }
.section-label {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: .68rem; font-weight: 700; letter-spacing: .3em; text-transform: uppercase;
  color: var(--shell-mid); margin-bottom: 20px;
}
.section-label::before { content: ''; width: 26px; height: 1px; background: currentColor; opacity: .6; }
.section-head { text-align: center; max-width: 660px; margin: 0 auto 76px; }
.section-head .section-label { justify-content: center; }
.section-head h2 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); margin-bottom: 18px; letter-spacing: -.015em; }
.section-head p { font-weight: 300; font-size: 1.06rem; line-height: 1.85; color: var(--ink); opacity: .72; }
/* Mot accentué en nacre */
.nacre {
  background: var(--nacre); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; font-style: italic;
}

/* Boutons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 38px; border-radius: 100px; cursor: pointer;
  font-family: var(--ff-body); font-weight: 700; font-size: .74rem;
  letter-spacing: .18em; text-transform: uppercase;
  border: 1.5px solid transparent; transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s, color .3s;
}
.btn:hover { transform: translateY(-2px); }
.btn-dark {
  background: var(--shell-soft); color: var(--pearl); border-color: var(--shell-soft);
  box-shadow: 0 10px 26px rgba(58,31,10,.3);
}
.btn-dark:hover { box-shadow: 0 16px 36px rgba(58,31,10,.42); }
.btn-light, .btn-outline {
  background: var(--nacre); color: var(--shell-deep); border: none;
  box-shadow: 0 10px 30px rgba(196,168,130,.35);
}
.btn-light:hover, .btn-outline:hover { box-shadow: 0 18px 44px rgba(196,168,130,.5); }
.btn-brown { background: var(--shell-mid); color: var(--pearl); border-color: var(--shell-mid); }
.btn-sm { padding: 11px 24px; font-size: .66rem; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 9px; font-weight: 700; font-size: .72rem;
  letter-spacing: .16em; text-transform: uppercase; color: var(--shell-mid);
  transition: gap .3s var(--ease);
}
.link-arrow svg { width: 15px; transition: transform .3s var(--ease); }
.link-arrow:hover { gap: 15px; }
.link-arrow:hover svg { transform: translateX(4px); }

.fade-in { opacity: 0; transform: translateY(34px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.fade-in.visible { opacity: 1; transform: none; }

/* ── NAV FLOTTANTE (pilule) ── */
nav {
  position: fixed; top: 16px; left: 50%; transform: translateX(-50%); z-index: 100;
  width: calc(100% - 36px); max-width: 1320px;
  background: rgba(43,23,8,.72); backdrop-filter: blur(20px) saturate(150%);
  border: 1px solid rgba(253,246,238,.12); border-radius: 100px;
  padding: 7px 9px 7px 20px;
  transition: background .4s var(--ease), box-shadow .4s var(--ease), padding .4s var(--ease);
  box-shadow: 0 14px 34px rgba(0,0,0,.28);
}
nav.scrolled { background: rgba(30,16,6,.92); box-shadow: 0 18px 44px rgba(0,0,0,.42); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.nav-logo { display: flex; align-items: center; gap: 11px; line-height: 1; }
.nav-logo img {
  height: 38px; width: 38px; object-fit: cover; border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(253,246,238,.2);
  transition: transform .6s var(--ease), box-shadow .3s var(--ease);
}
.nav-logo:hover img { transform: rotate(-8deg) scale(1.08); box-shadow: 0 0 0 2px rgba(196,168,130,.55); }
.nav-logo-text {
  font-family: var(--ff-head); font-size: 1.28rem; font-weight: 700; letter-spacing: .04em;
  background: var(--nacre); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
/* Les onglets vivent désormais dans le menu (bouton ☰) */
.nav-links { display: none; }
.nav-links a {
  position: relative; font-size: .72rem; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; color: var(--pearl); opacity: .68; transition: opacity .25s; padding: 6px 0;
}
.nav-links a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; border-radius: 2px;
  background: var(--nacre); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.nav-links a:hover, .nav-links a.active { opacity: 1; }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.lang-toggle { display: flex; gap: 2px; background: rgba(253,246,238,.1); border-radius: 100px; padding: 3px; }
.lang-toggle button {
  padding: 5px 12px; border: none; border-radius: 100px; cursor: pointer;
  font-size: .65rem; font-weight: 700; letter-spacing: .1em;
  background: transparent; color: rgba(253,246,238,.55); transition: all .25s;
}
.lang-toggle button.active { background: var(--nacre); color: var(--shell-deep); }
/* Bouton ☰ — présent sur toutes les tailles d'écran */
.nav-burger {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
  width: 44px; height: 44px; border-radius: 50%; cursor: pointer; flex-shrink: 0;
  background: rgba(253,246,238,.09); border: 1px solid rgba(253,246,238,.18);
  transition: background .3s var(--ease), border-color .3s var(--ease);
}
.nav-burger:hover { background: var(--nacre); border-color: transparent; }
.nav-burger span { display: block; width: 19px; height: 1.5px; border-radius: 2px; background: var(--pearl); transition: background .3s, transform .3s; }
.nav-burger:hover span { background: var(--shell-deep); }

/* ── ACCUEIL : pas de barre — logo et bouton ☰ flottent librement ── */
.home-page nav,
.home-page nav.scrolled {
  background: none; border: none; box-shadow: none;
  backdrop-filter: none; -webkit-backdrop-filter: none;
  padding: 14px 10px 14px 4px;
}
/* Couleurs foncées pour rester lisibles sur le fond clair */
.home-page .nav-logo-text { background: var(--nacre-dark); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.home-page .nav-logo img { box-shadow: 0 4px 14px rgba(58,31,10,.22); }
.home-page .nav-logo:hover img { box-shadow: 0 0 0 2px var(--shell-mid), 0 4px 14px rgba(58,31,10,.28); }
.home-page .nav-burger { background: rgba(58,31,10,.07); border-color: rgba(58,31,10,.22); }
.home-page .nav-burger span { background: var(--shell-soft); }
.home-page .nav-burger:hover { background: var(--shell-soft); border-color: transparent; }
.home-page .nav-burger:hover span { background: var(--pearl); }

/* Menu plein écran */
.mobile-menu {
  display: none; position: fixed; inset: 0; z-index: 99;
  background: rgba(30,16,6,.97); backdrop-filter: blur(22px);
  flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  padding: 110px 24px 70px;
}
.mobile-menu.open { display: flex; animation: menuFade .35s var(--ease); }
@keyframes menuFade { from { opacity: 0; } to { opacity: 1; } }
.mobile-menu a {
  font-family: var(--ff-head); font-size: clamp(1.5rem, 3.4vw, 2.3rem);
  color: var(--pearl); opacity: .78; padding: 6px 4px;
  transition: opacity .3s var(--ease), color .3s var(--ease);
}
.mobile-menu a:hover { opacity: 1; color: var(--champagne); }
/* « Mon profil » / « Se connecter » : même allure que les autres entrées du menu */
.mobile-menu .nav-account { margin: 0; }
.mobile-menu .acct-user,
.mobile-menu .acct-btn {
  font-family: var(--ff-head); font-weight: 400;
  font-size: clamp(1.5rem, 3.4vw, 2.3rem);
  letter-spacing: normal; text-transform: none;
  color: var(--pearl); opacity: .78; padding: 6px 4px;
  background: none; border: none; cursor: pointer;
  transition: opacity .3s var(--ease), color .3s var(--ease);
}
.mobile-menu .acct-user:hover,
.mobile-menu .acct-btn:hover { opacity: 1; color: var(--champagne); background: none; transform: none; box-shadow: none; }
.mobile-menu .lang-toggle { margin-top: 26px; }
.mobile-close {
  position: absolute; top: 24px; right: 26px; width: 46px; height: 46px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; cursor: pointer; color: var(--pearl);
  background: rgba(253,246,238,.08); border: 1px solid rgba(253,246,238,.18);
  transition: background .3s, color .3s;
}
.mobile-close:hover { background: var(--nacre); color: var(--shell-deep); border-color: transparent; }

/* ── ACCUEIL ÉPURÉ (prochain cours) ── */
.home-min {
  position: relative; z-index: 1; min-height: 100vh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 170px 24px 100px;
}
.home-min::before {
  content: ''; position: absolute; width: 640px; height: 640px; border-radius: 50%; top: 8%;
  background: radial-gradient(circle, rgba(249,198,208,.5), rgba(247,234,181,.28) 45%, transparent 70%);
  filter: blur(26px); pointer-events: none;
  animation: breathe 9s ease-in-out infinite alternate;
}
@keyframes breathe { 0% { transform: scale(.92); opacity: .75; } 100% { transform: scale(1.06); opacity: 1; } }
.home-min .hm-eyebrow {
  font-family: var(--ff-head); font-style: italic; font-size: 1.1rem; color: var(--shell-soft);
  margin-bottom: 14px; position: relative;
}
.home-min h1 {
  position: relative; font-size: clamp(3.6rem, 12vw, 8rem); font-weight: 400; letter-spacing: .02em;
  margin-bottom: 20px;
  background: var(--nacre-dark); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.home-min .hm-sub {
  position: relative; font-weight: 300; font-size: 1.06rem; color: var(--ink); opacity: .72;
  max-width: 440px; margin: 0 auto; line-height: 1.85;
}

/* Carte « prochain cours » — la perle */
.next-class {
  position: relative; margin-top: 56px; max-width: 540px; width: 100%;
  padding: 44px 44px 46px; border-radius: 32px;
  background: rgba(253,246,238,.92);
  border: 1px solid rgba(255,255,255,.9);
  backdrop-filter: blur(16px);
  box-shadow: 0 40px 90px rgba(58,31,10,.18), inset 0 1px 0 rgba(255,255,255,.9);
}
.next-class::before {
  content: ''; position: absolute; inset: -1px; border-radius: 32px; padding: 1.5px;
  background: linear-gradient(140deg, var(--pink), var(--champagne) 40%, transparent 72%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none;
}
.nc-label {
  display: inline-block; font-size: .64rem; font-weight: 700; letter-spacing: .26em; text-transform: uppercase;
  color: var(--shell-mid); margin-bottom: 14px;
}
.nc-title { font-size: clamp(1.6rem, 4vw, 2.2rem); color: var(--shell-soft); margin-bottom: 8px; }
.nc-meta { font-size: .9rem; color: var(--ink); opacity: .68; margin-bottom: 4px; }
.nc-date { font-family: var(--ff-head); font-style: italic; font-size: 1.05rem; color: var(--shell-mid); margin-bottom: 6px; }
.timer { display: flex; gap: 10px; justify-content: center; margin: 28px 0 30px; }
.timer > div { min-width: 66px; padding: 12px 4px; border-radius: 16px; background: rgba(58,31,10,.05); border: 1px solid rgba(58,31,10,.08); }
.timer b {
  display: block; font-family: var(--ff-head); font-size: 2.1rem; font-weight: 500; line-height: 1;
  background: var(--nacre-dark); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.timer span { display: block; margin-top: 7px; font-size: .55rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink); opacity: .6; }
.timer .sep { display: none; }
.nc-btn { width: 100%; }
.nc-note { margin-top: 15px; font-size: .78rem; color: var(--ink); opacity: .62; }
.nc-note.ok { color: #4a7c48; opacity: 1; font-weight: 700; }
.home-min-links { position: relative; margin-top: 46px; display: flex; gap: 28px; flex-wrap: wrap; justify-content: center; }
.home-min-links a {
  font-size: .7rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--shell-soft); opacity: .62; transition: opacity .25s, color .25s;
}
.home-min-links a:hover { opacity: 1; color: var(--shell-mid); }

/* ── ACCUEIL : VIDÉO EN FOND DU HERO ── */
/* L'image de repli est aussi en fond : elle s'affiche si la vidéo ne se lance pas */
.hero-video {
  position: absolute; inset: 0; z-index: 0; overflow: hidden;
  background: var(--shell-deep) url('img/pilates-piscine.jpg') center/cover no-repeat;
}
/* Vidéo filmée en portrait (720×1280).
   ── Téléphone : le format vertical remplit l'écran, cadrage bas.
   ── Ordinateur : l'écran est large, on ne voit qu'une bande de l'image.
      On la centre sur le bord du bassin + le matériel (~57 % de l'image),
      et un lent panoramique vertical fait défiler du palmier jusqu'à l'eau. */
.hero-video video {
  width: 100%; height: 100%; display: block;
  object-fit: cover; object-position: center 88%;
}
@media (min-width: 769px) {
  .hero-video video {
    object-position: center 60%;
    animation: heroPan 28s ease-in-out infinite alternate;
  }
  /* Course volontairement limitée : le ballon et l'eau restent à l'image
     d'un bout à l'autre du panoramique, même sur un écran 1920 px. */
  @keyframes heroPan {
    from { object-position: center 52%; }
    to   { object-position: center 66%; }
  }
}
/* Voile chaud : rend le texte clair lisible sans éteindre les couleurs */
.hero-video::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse at 50% 45%, rgba(30,16,6,.26) 0%, rgba(30,16,6,.52) 62%, rgba(30,16,6,.72) 100%),
    linear-gradient(180deg, rgba(30,16,6,.44) 0%, rgba(30,16,6,.16) 35%, rgba(30,16,6,.5) 100%);
}
/* Contenu au-dessus de la vidéo */
.home-min.has-video > *:not(.hero-video) { position: relative; z-index: 2; }
.home-min.has-video::before { opacity: .28; z-index: 1; }

/* Textes en clair par-dessus la vidéo */
.home-min.has-video .hm-eyebrow { color: var(--champagne); text-shadow: 0 2px 12px rgba(30,16,6,.65); }
.home-min.has-video h1 { background: var(--nacre); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; filter: drop-shadow(0 6px 24px rgba(30,16,6,.5)); }
.home-min.has-video .hm-sub { color: var(--pearl); opacity: .9; text-shadow: 0 2px 12px rgba(30,16,6,.7); }
.home-min.has-video .home-min-links a { color: var(--pearl); opacity: .78; text-shadow: 0 2px 10px rgba(30,16,6,.6); }
.home-min.has-video .home-min-links a:hover { opacity: 1; color: var(--champagne); }

/* Sur l'accueil vidéo, le logo et le bouton ☰ repassent en clair */
body.home-video .nav-logo-text { background: var(--nacre); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
body.home-video .nav-logo img { box-shadow: 0 4px 16px rgba(0,0,0,.35); }
body.home-video .nav-burger { background: rgba(253,246,238,.12); border-color: rgba(253,246,238,.3); }
body.home-video .nav-burger span { background: var(--pearl); }
body.home-video .nav-burger:hover { background: var(--nacre); border-color: transparent; }
body.home-video .nav-burger:hover span { background: var(--shell-deep); }

/* Accessibilité : si l'utilisateur limite les animations, on fige sur le poster */
@media (prefers-reduced-motion: reduce) { .hero-video video { display: none; } }

/* ── HERO (si utilisé) ── */
.hero {
  position: relative; z-index: 1; min-height: 100vh; display: flex; flex-direction: column;
  justify-content: flex-end; padding-bottom: 90px;
}
.hero-bg { display: none; }
.hero-art { position: absolute; right: -40px; top: 50%; transform: translateY(-50%); width: 46vw; max-width: 620px; opacity: .08; }
.hero-eyebrow { font-family: var(--ff-head); font-style: italic; font-size: 1.1rem; color: var(--shell-soft); margin-bottom: 18px; }
.hero h1 {
  font-size: clamp(3rem, 8vw, 6.6rem); font-weight: 400; margin-bottom: 26px;
  background: var(--nacre-dark); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hero h1 em { font-style: italic; }
.hero-sub { font-size: 1.1rem; font-weight: 300; max-width: 520px; color: var(--ink); opacity: .78; margin-bottom: 42px; line-height: 1.85; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-scroll {
  position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-size: .6rem; letter-spacing: .2em; text-transform: uppercase; color: var(--shell-soft); opacity: .55;
  animation: bounce 2.4s ease-in-out infinite;
}
.hero-scroll svg { width: 18px; }
@keyframes bounce { 0%,100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(7px); } }

/* ── EN-TÊTE DE PAGE ── */
.page-hero {
  position: relative; z-index: 1; text-align: center;
  padding: 190px 24px 70px; max-width: 1400px; margin: 0 auto;
}
.page-hero .breadcrumb {
  font-size: .66rem; letter-spacing: .2em; text-transform: uppercase; color: var(--shell-soft);
  margin-bottom: 20px; opacity: .9;
}
.page-hero .breadcrumb a:hover { color: var(--shell-soft); }
.page-hero h1 {
  font-size: clamp(2.6rem, 6.5vw, 4.6rem); font-weight: 400; margin-bottom: 20px;
  background: var(--nacre-dark); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.page-hero p { max-width: 620px; margin: 0 auto; font-weight: 300; font-size: 1.06rem; line-height: 1.85; color: var(--ink); opacity: .74; }

/* ── BANDEAU DÉFILANT ── */
.strip {
  position: relative; z-index: 1; overflow: hidden; white-space: nowrap; padding: 20px 0;
  border-top: 1px solid rgba(58,31,10,.14); border-bottom: 1px solid rgba(58,31,10,.14);
  margin: 20px 0;
}
.strip-inner { display: flex; gap: 56px; animation: strip 26s linear infinite; }
.strip-inner span { font-size: .72rem; letter-spacing: .28em; text-transform: uppercase; color: var(--shell-soft); opacity: .7; }
.strip-inner strong { color: var(--caramel); font-weight: 400; }
@keyframes strip { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ── À PROPOS ── */
.about-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 84px; align-items: center; }
.about-visual {
  position: relative; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, #fff 0%, var(--champagne) 26%, var(--caramel) 62%, var(--shell-mid) 100%);
  box-shadow: 0 40px 90px rgba(58,31,10,.35), inset -20px -20px 60px rgba(58,31,10,.25), inset 20px 20px 60px rgba(255,255,255,.5);
  display: flex; align-items: center; justify-content: center;
}
.about-visual::after { content: ''; position: absolute; inset: 0; border-radius: 50%; box-shadow: inset 0 0 80px rgba(255,255,255,.35); }
.about-visual-inner { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.about-visual img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; border-radius: 50%;
}
.about-visual svg { width: 50%; opacity: .3; }
.about-badge {
  position: absolute; bottom: 4%; right: -6%; z-index: 2;
  background: var(--shell-soft); color: var(--pearl);
  padding: 20px 26px; border-radius: 20px; text-align: center;
  box-shadow: 0 20px 50px rgba(0,0,0,.4);
}
.about-badge strong {
  display: block; font-family: var(--ff-head); font-size: 2.4rem; line-height: 1;
  background: var(--nacre); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.about-badge span { font-size: .62rem; letter-spacing: .18em; text-transform: uppercase; opacity: .75; }
.about h2 { font-size: clamp(2.1rem, 4.2vw, 3.2rem); margin-bottom: 24px; }
.about p { font-weight: 300; font-size: 1.05rem; line-height: 1.9; color: var(--ink); opacity: .8; margin-bottom: 20px; }
.about-stats { display: flex; gap: 40px; margin-top: 44px; flex-wrap: wrap; }
.stat-item { padding-left: 18px; border-left: 2px solid var(--shell-mid); }
.stat-num { display: block; font-family: var(--ff-head); font-size: 2.3rem; color: var(--shell-soft); }
.stat-label { font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink); opacity: .58; }

/* ── FORMULES ── */
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.tier {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  border-radius: var(--r-card); background: var(--pearl);
  border: 1px solid rgba(58,31,10,.1);
  box-shadow: 0 14px 40px rgba(58,31,10,.1);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.tier:hover { transform: translateY(-12px); box-shadow: 0 34px 76px rgba(58,31,10,.24); }
.tier:first-child { background: var(--pink); }
.tier.featured { background: var(--shell-soft); border-color: rgba(253,246,238,.16); transform: scale(1.04); z-index: 2; }
.tier.featured:hover { transform: scale(1.04) translateY(-12px); }
.tier:last-child { background: var(--caramel); }
/* Liseré nacré sur la formule vedette */
.tier.featured::before {
  content: ''; position: absolute; inset: 0; border-radius: var(--r-card); padding: 1.5px;
  background: var(--nacre);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none;
}
.tier.featured h3, .tier.featured .price-amount { color: var(--pearl); }
.tier.featured .tier-desc, .tier.featured .price-label, .tier.featured .tier-locations, .tier.featured .price-per { color: var(--pearl); opacity: .7; }
.tier.featured .tier-header, .tier.featured .price-row { border-color: rgba(253,246,238,.14); }
.tier.featured .tier-tag { background: rgba(253,246,238,.14); color: var(--champagne); }
.tier.featured .price-badge { background: var(--nacre); color: var(--shell-deep); }
.tier.featured .tier-locations { background: rgba(253,246,238,.06); }
.tier-header { padding: 40px 32px 28px; border-bottom: 1px solid rgba(58,31,10,.1); }
.tier-icon { width: 42px; height: 42px; margin-bottom: 18px; }
.tier-tag {
  display: inline-block; font-size: .58rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
  padding: 6px 13px; border-radius: 100px; background: rgba(58,31,10,.1); color: var(--shell-mid); margin-bottom: 14px;
}
.tier h3 { font-size: 1.75rem; margin-bottom: 10px; }
.tier-desc { font-size: .89rem; font-weight: 300; line-height: 1.7; color: var(--ink); opacity: .7; }
.tier-locations { padding: 18px 32px; background: rgba(58,31,10,.05); font-size: .76rem; font-style: italic; color: var(--ink); opacity: .78; }
.tier-pricing { padding: 28px 32px; flex: 1; }
.price-row { display: flex; justify-content: space-between; align-items: baseline; padding: 12px 0; border-bottom: 1px solid rgba(58,31,10,.08); }
.price-row:last-child { border-bottom: none; }
.price-label { font-size: .8rem; font-weight: 500; color: var(--ink); }
.price-amount { font-family: var(--ff-head); font-size: 1.45rem; color: var(--shell-soft); }
.price-per { font-size: .66rem; margin-left: 5px; color: var(--ink); opacity: .55; }
.price-badge {
  font-size: .56rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  background: var(--shell-soft); color: var(--champagne); padding: 3px 9px; border-radius: 100px; margin-left: 8px;
}
.tier-cta { padding: 24px 32px 32px; }
.tier-cta .btn { width: 100%; }
.tier.featured .btn-dark { background: var(--nacre); color: var(--shell-deep); border: none; }

/* ── CARTES ACCUEIL ── */
.home-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.home-card {
  position: relative; display: flex; flex-direction: column; min-height: 330px; overflow: hidden;
  padding: 44px 32px; border-radius: var(--r-card);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
  box-shadow: 0 14px 40px rgba(58,31,10,.12);
}
.home-card:hover { transform: translateY(-12px); box-shadow: 0 34px 76px rgba(58,31,10,.26); }
.home-card.c-pink { background: var(--pink); }
.home-card.c-beige { background: var(--sand); }
.home-card.c-caramel { background: var(--caramel); }
.home-card .c-num { font-family: var(--ff-head); font-size: 3rem; color: var(--shell-soft); opacity: .22; line-height: 1; margin-bottom: 14px; }
.home-card h3 { font-size: 1.75rem; margin-bottom: 12px; }
.home-card p { font-weight: 300; font-size: .94rem; line-height: 1.75; color: var(--ink); opacity: .78; margin-bottom: 22px; flex: 1; }
.home-card .c-price { font-family: var(--ff-head); font-size: 1rem; color: var(--shell-soft); margin-bottom: 20px; }
.home-card .c-price b { font-size: 1.6rem; }

/* ── LIEUX ── */
.lieux-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 60px; }
.lieu-card {
  position: relative; aspect-ratio: 3/4; border-radius: var(--r-card); overflow: hidden; cursor: pointer;
  box-shadow: 0 16px 44px rgba(58,31,10,.18);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.lieu-card:hover { transform: translateY(-10px); box-shadow: 0 34px 76px rgba(58,31,10,.32); }
.lieu-bg { position: absolute; inset: 0; transition: transform .9s var(--ease); }
.lieu-card:hover .lieu-bg { transform: scale(1.1); }
.lieu-bg-1 { background: url('img/yoga-group.jpg') center/cover no-repeat; }
.lieu-bg-2 { background: url('img/meditation-sunset.jpg') center/cover no-repeat; }
.lieu-bg-3 { background: url('img/pilates-reformer.jpg') center/cover no-repeat; }
.lieu-bg-4 { background: url('img/yoga-beach.jpg') center/cover no-repeat; }
.lieu-bg-5 { background: url('img/yoga-class.jpg') center/cover no-repeat; }
.lieu-bg-6 { background: url('img/yoga-mat.jpg') center/cover no-repeat; }
.lieu-svg { display: none; }
.lieu-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(30,16,6,.9) 0%, rgba(30,16,6,.35) 42%, transparent 68%); }
.lieu-content { position: absolute; bottom: 0; left: 0; right: 0; padding: 30px 26px; }
.lieu-content h3 { color: var(--pearl); font-size: 1.35rem; margin-bottom: 5px; }
.lieu-content p { font-size: .8rem; font-weight: 300; color: var(--pearl); opacity: .74; }
.lieu-tier {
  display: inline-block; font-size: .56rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  padding: 5px 11px; border-radius: 100px; margin-bottom: 10px;
  background: rgba(253,246,238,.16); color: var(--pearl); backdrop-filter: blur(6px);
  border: 1px solid rgba(253,246,238,.22);
}
.tier-n, .tier-e, .tier-p, .lt-n, .lt-e, .lt-p { background: rgba(253,246,238,.16); color: var(--pearl); }

/* ── GALERIE ── */
.gallery .section-label { color: var(--caramel); }
.gallery .section-head h2 {
  background: var(--nacre); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.gallery .section-head p { color: var(--pearl); opacity: .6; }
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 56px; }
.gallery-item {
  border-radius: 18px; overflow: hidden; position: relative;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
  box-shadow: 0 14px 40px rgba(0,0,0,.3);
}
.gallery-item:hover { transform: scale(1.04); z-index: 2; box-shadow: 0 26px 60px rgba(0,0,0,.5); }
.gallery-item:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.gallery-item:nth-child(4) { grid-column: span 2; }
.gallery-item-inner { aspect-ratio: 1; width: 100%; height: 100%; }
.gallery-item:nth-child(1) .gallery-item-inner { aspect-ratio: auto; height: 100%; min-height: 340px; }
.g1 { background: url('img/yoga-beach.jpg') center/cover no-repeat; }
.g2 { background: url('img/yoga-class.jpg') center/cover no-repeat; }
.g3 { background: url('img/meditation-sunset.jpg') center/cover no-repeat; }
.g4 { background: url('img/plage.jpg') center/cover no-repeat; }
.g5 { background: url('img/pilates-reformer.jpg') center/cover no-repeat; }
.g6 { background: url('img/yoga-group.jpg') center/cover no-repeat; }
.g7 { background: url('img/mer.jpg') center/cover no-repeat; }
.g8 { background: url('img/yoga-mat.jpg') center/cover no-repeat; }
.gallery-item-label, .g-label {
  position: absolute; bottom: 14px; left: 14px;
  font-size: .62rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--shell-deep); padding: 6px 12px; border-radius: 100px;
  background: rgba(253,246,238,.82); backdrop-filter: blur(6px);
}
.gallery-item-yoga, .g-yoga { display: none; }

/* ── TÉMOIGNAGES ── */
.testimonials .section-label { color: var(--shell-soft); }
.testimonials .section-head h2 { color: var(--shell-soft); }
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 60px; }
.testi-card, .testi {
  position: relative; background: var(--pearl); padding: 44px 32px 34px; border-radius: var(--r-card);
  box-shadow: 0 18px 50px rgba(58,31,10,.2);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.testi-card:hover, .testi:hover { transform: translateY(-8px); box-shadow: 0 32px 70px rgba(58,31,10,.3); }
.testi-card::before, .testi::before {
  content: '“'; position: absolute; top: 14px; right: 26px;
  font-family: var(--ff-head); font-size: 4.6rem; line-height: 1; color: var(--pink);
}
.testi-stars { color: var(--caramel); letter-spacing: 3px; margin-bottom: 18px; font-size: .95rem; }
.testi-text { font-family: var(--ff-head); font-style: italic; font-size: 1.02rem; line-height: 1.8; color: var(--shell-soft); opacity: .9; margin-bottom: 28px; }
.testi-author, .testi-who { display: flex; align-items: center; gap: 14px; }
.testi-avatar, .testi-av {
  width: 46px; height: 46px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--ff-head); font-size: 1.1rem; color: var(--pearl);
}
.av1 { background: linear-gradient(135deg, var(--pink), var(--caramel)); }
.av2 { background: linear-gradient(135deg, var(--champagne), var(--caramel)); }
.av3 { background: linear-gradient(135deg, var(--caramel), var(--shell-mid)); }
.testi-name { font-weight: 700; font-size: .88rem; color: var(--shell-soft); }
.testi-role { font-size: .72rem; color: var(--ink); opacity: .55; }

/* ── ENTREPRISES ── */
.corp-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.corp-card {
  background: var(--pearl); padding: 40px 32px; border-radius: var(--r-card);
  border: 1px solid rgba(58,31,10,.08);
  box-shadow: 0 12px 36px rgba(58,31,10,.1);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.corp-card:hover { transform: translateY(-8px); box-shadow: 0 28px 64px rgba(58,31,10,.2); }
.corp-card .corp-icon { width: 42px; height: 42px; margin-bottom: 20px; color: var(--shell-mid); }
.corp-card h3 { font-size: 1.35rem; margin-bottom: 12px; }
.corp-card p { font-weight: 300; font-size: .93rem; line-height: 1.75; color: var(--ink); opacity: .76; }
.benefit-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 56px; }
.benefit { text-align: center; }
.benefit b {
  display: block; font-family: var(--ff-head); font-size: 2.8rem; color: var(--shell-soft);
}
.benefit span { font-size: .78rem; color: var(--ink); opacity: .7; }

/* ── BANDEAU CTA ── */
.cta-band .section-label { color: var(--caramel); justify-content: center; }
.cta-band h2 {
  font-size: clamp(2.2rem, 5vw, 3.6rem); margin-bottom: 20px;
  background: var(--nacre); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.cta-band p { max-width: 540px; margin: 0 auto 38px; font-weight: 300; color: var(--pearl); opacity: .65; }

/* ── RÉSERVATION / FORMULAIRE ── */
.resa-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 70px; align-items: start; }
.resa-info h2 { font-size: clamp(2rem, 3.8vw, 3rem); margin-bottom: 24px; }
.resa-info p { font-weight: 300; font-size: 1.04rem; line-height: 1.85; color: var(--ink); opacity: .8; margin-bottom: 32px; }
.resa-contact { display: flex; flex-direction: column; gap: 16px; }
.resa-contact-item { display: flex; align-items: center; gap: 14px; font-size: .92rem; color: var(--shell-soft); }
.resa-contact-item svg { width: 20px; flex-shrink: 0; color: var(--shell-mid); }
.resa-card, .form {
  background: var(--pearl); padding: 40px; border-radius: var(--r-card);
  box-shadow: 0 24px 60px rgba(58,31,10,.18);
  display: flex; flex-direction: column; gap: 18px;
}
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group label { font-size: .68rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--shell-mid); }
.form-group input, .form-group select, .form-group textarea {
  padding: 15px 18px; border-radius: 14px; width: 100%; outline: none;
  background: #fff; border: 1.5px solid rgba(58,31,10,.14);
  font-family: var(--ff-body); font-size: .95rem; color: var(--ink);
  transition: border-color .25s, box-shadow .25s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--caramel); box-shadow: 0 0 0 4px rgba(196,168,130,.22);
}
.form-group textarea { min-height: 110px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
#form-success, .form-success { border-radius: 14px; }

/* ── PLANNING ── */
.book-banner {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  background: var(--shell-soft); color: var(--pearl); border-radius: 20px; padding: 22px 30px; margin-bottom: 32px;
}
.book-banner .bb-credits b {
  font-family: var(--ff-head); font-size: 1.8rem;
  background: var(--nacre); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.book-banner .bb-credits span { opacity: .65; font-size: .88rem; }
.schedule { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.class-card {
  display: flex; align-items: center; gap: 20px; background: #fff; border-radius: 18px; padding: 22px 26px;
  border: 1px solid rgba(58,31,10,.1);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.class-card:hover { transform: translateY(-4px); box-shadow: 0 18px 44px rgba(58,31,10,.16); }
.cc-date { text-align: center; min-width: 58px; flex-shrink: 0; }
.cc-date .d { display: block; font-family: var(--ff-head); font-size: 2rem; color: var(--shell-soft); line-height: 1; }
.cc-date .m { font-size: .6rem; text-transform: uppercase; letter-spacing: .14em; color: var(--ink); opacity: .6; }
.cc-info { flex: 1; }
.cc-info h4 { font-size: 1.08rem; margin-bottom: 3px; }
.cc-info .cc-meta { font-size: .8rem; color: var(--ink); opacity: .62; }
.cc-info .cc-time { font-size: .76rem; font-weight: 700; color: var(--shell-mid); margin-top: 4px; }
.cc-tier { display: inline-block; font-size: .54rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; padding: 4px 10px; border-radius: 100px; margin-bottom: 8px; }
.ct-n { background: rgba(196,168,130,.24); color: var(--shell-mid); }
.ct-e { background: rgba(249,198,208,.4); color: #a8586a; }
.ct-p { background: rgba(247,234,181,.5); color: #8a6a2a; }
.class-card.booked { opacity: .5; }
.class-card.booked .btn { background: #4a7c48; border-color: #4a7c48; color: #fff; pointer-events: none; }
.book-msg { margin-top: 20px; font-weight: 700; min-height: 1em; }
.book-msg.err { color: #b0484d; } .book-msg.ok { color: #4a7c48; }
.book-note { margin-top: 34px; text-align: center; font-size: .86rem; color: var(--ink); opacity: .72; }
.book-note a { color: var(--shell-mid); font-weight: 700; }

/* ── COMPTE ── */
.credit-hero {
  background: var(--shell-soft); color: var(--pearl); border-radius: 26px; padding: 44px 46px;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 26px; margin-bottom: 42px;
  box-shadow: 0 24px 60px rgba(58,31,10,.3);
}
.credit-hero h2 { color: var(--pearl); font-size: 1.7rem; margin-bottom: 6px; }
.credit-hero p { opacity: .62; font-weight: 300; font-size: .93rem; }
.credit-balance { text-align: right; }
.credit-balance b {
  display: block; font-family: var(--ff-head); font-size: 4rem; line-height: 1;
  background: var(--nacre); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.credit-balance span { font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; opacity: .65; }
.account-section-title { font-size: 1.4rem; margin: 42px 0 22px; }
.credit-packs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.pack {
  background: #fff; border: 1px solid rgba(58,31,10,.1); border-radius: 20px; padding: 32px 26px; text-align: center;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.pack:hover { transform: translateY(-8px); box-shadow: 0 24px 56px rgba(58,31,10,.18); }
.pack h4 { font-size: 1.1rem; margin-bottom: 6px; }
.pack .pack-credits { font-family: var(--ff-head); font-size: 2.6rem; color: var(--shell-soft); line-height: 1; margin: 10px 0 4px; }
.pack .pack-price { font-size: .92rem; color: var(--ink); opacity: .68; margin-bottom: 18px; }
.pack .btn { width: 100%; }
.history-item {
  display: flex; justify-content: space-between; align-items: center; gap: 14px;
  padding: 18px 22px; background: #fff; border: 1px solid rgba(58,31,10,.08); border-radius: 16px; margin-bottom: 10px;
}
.history-item .hi-title { font-weight: 700; font-size: .93rem; color: var(--shell-soft); }
.history-item .hi-meta { font-size: .78rem; color: var(--ink); opacity: .6; }
.history-item .hi-tag { font-size: .64rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--shell-mid); }
.history-empty { padding: 32px; text-align: center; color: var(--ink); opacity: .55; font-style: italic; }
/* ── FIDÉLITÉ ── */
.loyalty {
  background: #fff; border: 1px solid rgba(58,31,10,.1); border-radius: 20px;
  padding: 30px 34px 26px; margin-bottom: 42px;
  box-shadow: 0 12px 36px rgba(58,31,10,.1);
}
.loyalty-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px; }
.loyalty-head h3 { font-size: 1.4rem; }
.loyalty-count { font-size: .88rem; color: var(--ink); opacity: .72; }
.loyalty-count b { font-family: var(--ff-head); font-size: 1.4rem; color: var(--shell-soft); opacity: 1; }
.loyalty-track-wrap { position: relative; margin: 42px 0 58px; }
.loyalty-track { height: 12px; border-radius: 100px; background: rgba(58,31,10,.1); overflow: hidden; }
.loyalty-fill {
  height: 100%; border-radius: 100px; width: 0;
  background: linear-gradient(90deg, var(--caramel), var(--shell-soft));
  transition: width .8s var(--ease);
}
.loyalty-tier { position: absolute; top: 50%; transform: translate(-50%,-50%); text-align: center; }
.loyalty-dot {
  margin: 0 auto; width: 30px; height: 30px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .72rem; font-weight: 700;
  border: 2px solid rgba(58,31,10,.25); background: #fff; color: rgba(44,44,42,.55);
}
.loyalty-tier.done .loyalty-dot { border-color: var(--shell-soft); background: var(--shell-soft); color: var(--pearl); }
.loyalty-label {
  position: absolute; left: 50%; transform: translateX(-50%); margin-top: 7px;
  width: 120px; font-size: .68rem; line-height: 1.3; color: rgba(44,44,42,.6);
}
.loyalty-tier.done .loyalty-label { color: var(--shell-soft); font-weight: 700; }
.loyalty-next { font-size: .88rem; color: var(--ink); opacity: .78; }
.loyalty-next b { color: var(--shell-soft); }
.loyalty-bonus-msg {
  margin-top: 12px; padding: 12px 16px; border-radius: 12px; font-weight: 700; font-size: .9rem;
  background: rgba(247,234,181,.5); border: 1px solid var(--caramel); color: var(--shell-soft);
}

.account-guest { text-align: center; max-width: 440px; margin: 30px auto; }
.account-guest h2 { font-size: 2rem; margin-bottom: 16px; }
.account-guest p { color: var(--ink); opacity: .72; font-weight: 300; margin-bottom: 28px; }

/* ── COMPTE : NAV & MODALE ── */
.nav-account { display: flex; align-items: center; gap: 10px; }
.acct-btn {
  font-family: var(--ff-body); font-size: .64rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  padding: 10px 20px; border-radius: 100px; cursor: pointer; border: none;
  background: var(--nacre); color: var(--shell-deep); transition: box-shadow .3s, transform .3s;
}
.acct-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(196,168,130,.4); }
.acct-user {
  display: inline-flex; align-items: center; gap: 8px; font-size: .68rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; color: var(--champagne);
}
.acct-user .credits-badge { background: var(--nacre); color: var(--shell-deep); padding: 4px 10px; border-radius: 100px; }
.acct-logout { background: none; border: none; cursor: pointer; color: var(--pearl); opacity: .5; font-size: .62rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; }
.acct-logout:hover { opacity: 1; }

.modal-overlay {
  position: fixed; inset: 0; z-index: 300; display: none; align-items: center; justify-content: center; padding: 20px;
  background: rgba(30,16,6,.78); backdrop-filter: blur(8px);
}
.modal-overlay.open { display: flex; }
.auth-card {
  position: relative; width: 100%; max-width: 430px; padding: 44px 38px; border-radius: 28px;
  background: var(--pearl); box-shadow: 0 40px 100px rgba(0,0,0,.5);
}
.auth-logo { text-align: center; margin-bottom: 6px; }
.auth-logo img { height: 56px; width: 56px; object-fit: cover; border-radius: 50%; margin: 0 auto; }
/* Logos autonomes (pages compte / réservation) */
.account-guest img { border-radius: 50%; object-fit: cover; aspect-ratio: 1; }
.auth-card h3 { text-align: center; font-size: 1.5rem; margin-bottom: 24px; }
.auth-close { position: absolute; top: 16px; right: 20px; background: none; border: none; font-size: 1.4rem; cursor: pointer; color: var(--shell-soft); opacity: .55; }
.auth-close:hover { opacity: 1; }
.auth-tabs { display: flex; margin-bottom: 26px; border-bottom: 1px solid rgba(58,31,10,.12); }
.auth-tab {
  flex: 1; padding: 12px; background: none; border: none; cursor: pointer;
  font-family: var(--ff-body); font-size: .68rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: rgba(44,44,42,.5); border-bottom: 2px solid transparent; transition: all .25s;
}
.auth-tab.active { color: var(--shell-soft); border-bottom-color: var(--caramel); }
.auth-form { display: none; flex-direction: column; gap: 16px; }
.auth-form.active { display: flex; }
.auth-msg { font-size: .82rem; min-height: 1em; color: #b0484d; }
.auth-msg.ok { color: #4a7c48; }
.auth-switch { text-align: center; font-size: .82rem; color: var(--ink); opacity: .7; }
.auth-switch button { background: none; border: none; cursor: pointer; color: var(--shell-mid); font-weight: 700; font-size: .82rem; }

/* ── NEWSLETTER ── */
.newsletter-inner { display: flex; align-items: center; justify-content: space-between; gap: 44px; flex-wrap: wrap; }
.newsletter h3 {
  font-family: var(--ff-head); font-size: 1.9rem;
  background: var(--nacre); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.newsletter p { color: var(--pearl); opacity: .55; font-weight: 300; margin-top: 8px; }
.newsletter-form { display: flex; flex: 1; max-width: 470px; }
.newsletter-form input {
  flex: 1; padding: 16px 22px; outline: none;
  background: rgba(253,246,238,.07); border: 1px solid rgba(253,246,238,.16); border-right: none;
  border-radius: 100px 0 0 100px; font-family: var(--ff-body); font-size: .93rem; color: var(--pearl);
}
.newsletter-form input::placeholder { color: rgba(253,246,238,.38); }
.newsletter-form input:focus { border-color: var(--caramel); }
.newsletter-form .btn { border-radius: 0 100px 100px 0; white-space: nowrap; background: var(--nacre); color: var(--shell-deep); border: none; }

/* ── PIED DE PAGE ── */
footer { position: relative; z-index: 1; padding: 80px 0 34px; color: var(--ink); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.footer-logo img { height: 44px; width: 44px; object-fit: cover; border-radius: 50%; }
.footer-logo-text {
  font-family: var(--ff-head); font-size: 1.5rem;
  background: var(--nacre-dark); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.footer-brand p { font-size: .86rem; line-height: 1.9; max-width: 300px; opacity: .72; }
.footer-col h4 { font-family: var(--ff-body); font-size: .64rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--shell-soft); margin-bottom: 20px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.footer-col a { font-size: .86rem; opacity: .72; transition: opacity .25s, color .25s; }
.footer-col a:hover { opacity: 1; color: var(--shell-soft); }
.footer-bottom {
  border-top: 1px solid rgba(58,31,10,.14); padding-top: 28px;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
}
.footer-bottom p { font-size: .76rem; opacity: .68; }
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(58,31,10,.2); font-size: .72rem; color: var(--shell-soft); transition: all .3s var(--ease);
}
.footer-social a:hover { background: var(--shell-soft); color: var(--pearl); border-color: transparent; transform: translateY(-3px); }

/* ── ANIMATION D'ARRIVÉE : la perle qui roule ── */
/* Ancrée au DOCUMENT (et non à l'écran) : la perle garde sa ligne de départ.
   Si l'on descend la page, elle ne suit pas — elle reste sur sa trajectoire. */
.page-intro {
  position: absolute; top: 50vh; left: 0; right: 0;
  height: 92px; margin-top: -46px;
  z-index: 400; pointer-events: none;
  display: flex; align-items: center; overflow: hidden;
}
/* Pas de voile : la page est visible tout de suite, la perle roule par-dessus.
   La perle roule doucement de la gauche vers la droite, une seule fois.
   ✏️ Pour changer la vitesse : modifier la durée ci-dessous (5s) et,
   dans script.js, le délai de retrait (doit rester un peu supérieur). */
.page-intro img {
  position: relative; width: 92px; height: 92px; flex-shrink: 0;
  border-radius: 50%; object-fit: cover;
  box-shadow: 0 16px 38px rgba(58,31,10,.28);
  animation: perleRoll 5s cubic-bezier(.38,.02,.3,1) forwards;
}
@keyframes perleRoll {
  0%   { transform: translateX(-30vw) rotate(0deg); opacity: 1; }
  88%  { opacity: 1; }
  100% { transform: translateX(125vw) rotate(1080deg); opacity: 0; }
}
@media (max-width: 768px) {
  .page-intro { height: 68px; margin-top: -34px; }
  .page-intro img { width: 68px; height: 68px; }
}

/* ── STAGES : déroulé de la journée ── */
.timeline { position: relative; max-width: 800px; margin: 0 auto; padding-left: 46px; }
.timeline::before {
  content: ''; position: absolute; left: 15px; top: 10px; bottom: 10px; width: 2px;
  background: linear-gradient(var(--caramel), rgba(196,168,130,.2));
}
.tl-item { position: relative; padding-bottom: 34px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before {
  content: ''; position: absolute; left: -38px; top: 7px; width: 16px; height: 16px;
  border-radius: 50%; background: var(--pearl); border: 3px solid var(--caramel);
  box-shadow: 0 0 0 4px rgba(196,168,130,.16);
}
.tl-time { font-family: var(--ff-head); font-size: 1.05rem; color: var(--shell-mid); letter-spacing: .04em; }
.tl-item h3 { font-size: 1.22rem; margin: 3px 0 6px; }
.tl-item p { font-weight: 300; font-size: .95rem; line-height: 1.75; color: var(--ink); opacity: .78; }

/* ── BANDEAU PHOTO (vrai décor) ── */
.photo-band { padding: 0 24px 96px; }
.photo-band-inner {
  max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr;
  align-items: stretch; gap: 0; border-radius: var(--r-panel); overflow: hidden;
  background: var(--pearl); box-shadow: 0 26px 70px rgba(58,31,10,.18);
}
.photo-band-img {
  min-height: 460px;
  background: url('img/pilates-piscine.jpg') center 38% / cover no-repeat;
}
.photo-band figcaption { padding: 60px 54px; display: flex; flex-direction: column; justify-content: center; }
.photo-band figcaption h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin-bottom: 16px; }
.photo-band figcaption p { font-weight: 300; line-height: 1.85; color: var(--ink); opacity: .78; }

/* ── STAGES : ce qui est inclus ── */
.included { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 56px; }
.inc-card {
  background: rgba(253,246,238,.6); border: 1px solid rgba(58,31,10,.08);
  border-radius: 18px; padding: 26px 22px; text-align: center;
  transition: transform .35s var(--ease), background .35s var(--ease);
}
.inc-card:hover { transform: translateY(-6px); background: var(--pearl); }
.inc-card svg { width: 34px; height: 34px; margin: 0 auto 14px; color: var(--shell-mid); }
.inc-card h4 { font-size: 1rem; margin-bottom: 5px; }
.inc-card p { font-size: .82rem; font-weight: 300; line-height: 1.6; color: var(--ink); opacity: .72; }

/* ── STAGES : prochaines dates ── */
.stages-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.stage-card {
  display: flex; flex-direction: column; background: var(--pearl);
  border: 1px solid rgba(58,31,10,.1); border-radius: var(--r-card); padding: 30px;
  box-shadow: 0 14px 40px rgba(58,31,10,.1);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.stage-card:hover { transform: translateY(-8px); box-shadow: 0 28px 64px rgba(58,31,10,.2); }
.stage-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.stage-date { display: flex; align-items: baseline; gap: 9px; }
.stage-date b { font-family: var(--ff-head); font-size: 2.4rem; line-height: 1; color: var(--shell-soft); }
.stage-date span { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); opacity: .62; }
.stage-price {
  font-family: var(--ff-head); font-size: 1.7rem; color: var(--shell-soft); white-space: nowrap;
}
.stage-price small { display: block; font-family: var(--ff-body); font-size: .64rem; letter-spacing: .14em; text-transform: uppercase; opacity: .6; text-align: right; }
.stage-card h3 { font-size: 1.4rem; margin: 18px 0 6px; }
.stage-lieu { font-size: .88rem; color: var(--ink); opacity: .72; margin-bottom: 6px; }
.stage-hours { font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--shell-mid); }
.stage-places {
  display: inline-block; margin-top: 16px; font-size: .68rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; padding: 5px 12px; border-radius: 100px;
  background: rgba(196,168,130,.22); color: var(--shell-mid);
}
.stage-places.low { background: rgba(249,198,208,.5); color: #a8586a; }
.stage-card .btn { margin-top: 22px; width: 100%; }

/* ── RESPONSIVE ── */
@media (max-width: 1100px) {
  .about, .formules, .lieux, .gallery, .testimonials, .reservation,
  .corp-intro, .corp-features, .corp-benefits, .newsletter, .cta-band, .account {
    margin: 12px; padding: 84px 0; border-radius: 34px;
  }
  .container { padding: 0 28px; }
  .about-grid { grid-template-columns: 1fr; gap: 60px; }
  .about-visual { max-width: 380px; margin: 0 auto; }
  .tiers, .home-cards, .credit-packs { grid-template-columns: 1fr; max-width: 460px; margin-left: auto; margin-right: auto; }
  .tier.featured, .tier.featured:hover { transform: none; }
  .lieux-grid, .gallery-grid, .corp-grid, .schedule { grid-template-columns: repeat(2, 1fr); }
  .included { grid-template-columns: repeat(2, 1fr); }
  .stages-grid { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
  .gallery-item:nth-child(1) { grid-column: span 2; }
  .gallery-item:nth-child(4) { grid-column: span 1; }
  .testi-grid { grid-template-columns: 1fr; max-width: 500px; margin-left: auto; margin-right: auto; }
  .benefit-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .resa-grid { grid-template-columns: 1fr; gap: 44px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  nav { top: 10px; width: calc(100% - 20px); padding: 6px 7px 6px 16px; border-radius: 100px; }
  .container { padding: 0 22px; }
  .page-hero { padding: 150px 20px 50px; }
  .lieux-grid, .gallery-grid, .corp-grid, .schedule, .benefit-grid, .included { grid-template-columns: 1fr; }
  .photo-band { padding-bottom: 64px; }
  .photo-band-inner { grid-template-columns: 1fr; }
  .photo-band-img { min-height: 300px; }
  .photo-band figcaption { padding: 38px 28px 42px; }
  .timeline { padding-left: 34px; }
  .timeline::before { left: 9px; }
  .tl-item::before { left: -32px; width: 14px; height: 14px; }
  .stage-card { padding: 24px 22px; }
  .gallery-item:nth-child(1), .gallery-item:nth-child(4) { grid-column: span 1; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .newsletter-inner { flex-direction: column; text-align: center; }
  .newsletter-form { width: 100%; max-width: 100%; }
  .form-row { grid-template-columns: 1fr; }
  .resa-card, .form { padding: 28px 22px; }
  .credit-hero { flex-direction: column; text-align: center; padding: 34px 26px; }
  .credit-balance { text-align: center; }
  .about-badge { right: 0; bottom: -4%; }
  .timer > div { min-width: 58px; }
  .timer b { font-size: 1.7rem; }
  .next-class { padding: 32px 24px 34px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .fade-in { opacity: 1; transform: none; }
  /* Pas d'intro animée — et surtout, jamais de voile figé devant la page */
  .page-intro { display: none !important; }
}
