/* ===========================================
   Template estheticienne-serenite — Spa editorial
   Libre Baskerville + Jost — Sable/Pierre/Ivoire
   =========================================== */

:root {
  --sable: #EDE5D8;
  --pierre: #C4B49A;
  --brun: #6B5744;
  --brun-fonce: #3D2E22;
  --bg: #FAF9F7;
  --bg-card: #F5EFE6;
  --text: #3D2E22;
  --text-muted: #8A7B6E;
  --line: rgba(196,180,154,0.35);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 68px; }
body { background: var(--bg); color: var(--text); font-family: 'Jost', sans-serif; font-weight: 300; font-size: 16px; line-height: 1.7; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4 { font-family: 'Libre Baskerville', serif; font-weight: 400; line-height: 1.15; }
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }

/* -- Bandeau promo -- */
.bandeau-promo { background: var(--brun); color: #fff; text-align: center; padding: 10px 48px 10px 16px; font-size: 13px; font-weight: 300; position: fixed; top: 0; left: 0; right: 0; z-index: 200; font-family: 'Jost', sans-serif; letter-spacing: 0.5px; }
.bandeau-close { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); background: none; border: none; font-size: 20px; cursor: pointer; color: inherit; }

/* -- Nav -- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 24px 56px;
  display: flex; align-items: center; justify-content: space-between;
  background: transparent;
  transition: background 0.4s, border-color 0.4s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: var(--bg);
  border-bottom-color: var(--line);
}
.bandeau-promo ~ .nav { top: 40px; }
.nav-container { display: contents; }
.nav-logo {
  font-family: 'Libre Baskerville', serif;
  font-size: 1.1rem;
  font-weight: 400;
  font-style: italic;
  color: #fff;
  letter-spacing: 0.08em;
  transition: color 0.4s;
  text-decoration: none;
}
.nav.scrolled .nav-logo { color: var(--brun); }
.nav-logo-img { height: 40px; width: auto; display: block; object-fit: contain; }
.nav-logo-initiale { display: flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.5); font-family: 'Libre Baskerville', serif; font-size: 22px; font-style: italic; color: #fff; text-decoration: none; transition: border-color 0.4s, color 0.4s; }
.nav.scrolled .nav-logo-initiale { border-color: var(--pierre); color: var(--brun); }
.nav-links { display: flex; gap: 36px; list-style: none; }
.nav-links a {
  font-family: 'Jost', sans-serif;
  font-size: 0.7rem;
  font-weight: 300;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  transition: color 0.4s;
}
.nav.scrolled .nav-links a { color: var(--text-muted); }
.nav-links a:hover { color: var(--brun) !important; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 5px; padding: 4px; }
.nav-toggle span { display: block; width: 22px; height: 1px; background: #fff; margin: 0; transition: background 0.4s; }
.nav.scrolled .nav-toggle span { background: var(--brun); }

/* -- Boutons -- */
.btn-cta {
  display: inline-block;
  background: transparent;
  color: var(--brun);
  border: 1px solid var(--pierre);
  padding: 12px 40px;
  font-family: 'Jost', sans-serif;
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.3s;
}
.btn-cta:hover {
  background: var(--brun);
  color: #fff;
  border-color: var(--brun);
}
.btn-cta-large { font-size: 0.75rem; padding: 16px 44px; margin-top: 24px; }
.section-terracotta .btn-cta { border-color: #fff; color: #fff; }
.section-terracotta .btn-cta:hover { background: #fff; color: var(--brun); }
.contact-phone { margin: 24px 0 8px; }
.phone-number { font-family: 'Libre Baskerville', serif; font-size: clamp(2rem, 5vw, 3.5rem); font-style: italic; font-weight: 400; color: #fff; text-decoration: none; display: inline-block; }

/* -- Hero Spa -- */
.hero-spa {
  position: relative;
  height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}
.hero-spa-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-spa-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
    rgba(61,46,34,0.3) 0%,
    rgba(61,46,34,0.45) 60%,
    rgba(61,46,34,0.6) 100%);
}
.hero-spa-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 680px;
  padding: 0 40px;
}
.hero-spa-ornement {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
  width: 100%;
}
.hero-spa-ornement::before,
.hero-spa-ornement::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(237,229,216,0.4);
}
.hero-spa-ornement span {
  font-family: 'Jost', sans-serif;
  font-size: 0.6rem;
  font-weight: 300;
  letter-spacing: 0.45em;
  text-transform: uppercase;
  color: rgba(237,229,216,0.7);
  white-space: nowrap;
}
.hero-spa-content h1 {
  font-family: 'Libre Baskerville', serif;
  font-size: clamp(3rem, 6vw, 6.5rem);
  font-weight: 400;
  font-style: italic;
  color: #fff;
  line-height: 1.05;
  margin-bottom: 24px;
  letter-spacing: 0.02em;
}
.hero-spa-content p {
  font-family: 'Jost', sans-serif;
  font-size: 0.9rem;
  font-weight: 300;
  color: rgba(255,255,255,0.75);
  line-height: 1.9;
  margin-bottom: 40px;
  letter-spacing: 0.05em;
  min-width: 0;
}
.hero-spa .btn-cta {
  border-color: rgba(255,255,255,0.5);
  color: #fff;
}
.hero-spa .btn-cta:hover {
  background: #fff;
  color: var(--brun);
  border-color: #fff;
}
.hero-spa-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}
.hero-spa-scroll span {
  font-family: 'Jost', sans-serif;
  font-size: 0.6rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}

/* Hide old hero classes */
.hero, .hero-bg, .hero-overlay, .hero-content,
.hero-serenite-text, .hero-serenite-img { display: none; }

/* -- A propos Spa — 3 colonnes -- */
.apropos-spa {
  display: grid;
  grid-template-columns: 2fr 1fr 2fr;
  gap: 0;
  align-items: stretch;
  min-width: 0;
}
.apropos-spa-img {
  overflow: hidden;
  min-width: 0;
}
.apropos-spa-img img {
  width: 100%;
  height: 100%;
  min-height: 480px;
  object-fit: cover;
  display: block;
}
.apropos-spa-citation {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 32px;
  background: var(--bg-card);
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
  min-width: 0;
}
.apropos-spa-citation blockquote {
  font-family: 'Libre Baskerville', serif;
  font-size: 1rem;
  font-style: italic;
  color: var(--text-muted);
  line-height: 1.9;
  text-align: center;
  quotes: none;
  min-width: 0;
}
.apropos-spa-citation cite {
  font-family: 'Jost', sans-serif;
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--pierre);
  margin-top: 24px;
  display: block;
  text-align: center;
  font-style: normal;
}
.apropos-spa-text {
  padding: 64px 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--bg);
  min-width: 0;
}
.apropos-spa-label {
  font-family: 'Jost', sans-serif;
  font-size: 0.6rem;
  font-weight: 400;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--pierre);
  display: block;
  margin-bottom: 20px;
}
.apropos-spa-text h2 {
  font-family: 'Libre Baskerville', serif;
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  font-weight: 400;
  font-style: italic;
  color: var(--text);
  margin-bottom: 20px;
  min-width: 0;
}
.apropos-spa-text p {
  font-family: 'Jost', sans-serif;
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.9;
  margin-bottom: 32px;
  min-width: 0;
}

/* Hide old apropos classes */
.apropos-serenite, .apropos-serenite-photo { display: none; }

/* -- Sections -- */
.section { padding: 96px 0; }
.section-beige { background: var(--bg-card); }
.section-dark { background: var(--brun-fonce); color: #FAF9F7; }
.section-terracotta { background: var(--brun); color: #fff; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 56px; }
.container-narrow { max-width: 700px; }
.section-title {
  font-family: 'Libre Baskerville', serif;
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  font-weight: 400;
  font-style: italic;
  color: var(--text);
  margin-bottom: 48px;
  text-align: center;
}
.section-dark .section-title { color: #fff; }
.section-terracotta .section-title { color: #fff; }
.section-subtitle { text-align: center; color: var(--text-muted); max-width: 560px; margin: 0 auto 48px; font-size: 0.9rem; line-height: 1.9; font-weight: 300; }
.section-dark .section-subtitle { color: rgba(250,249,247,0.5); }
.section-terracotta .section-subtitle { color: rgba(255,255,255,0.8); }

/* -- Tabs -- */
.tabs { display: flex; border-bottom: 1px solid var(--line); margin-bottom: 40px; }
.tab-btn {
  background: none; border: none; cursor: pointer;
  font-family: 'Jost', sans-serif; font-size: 0.7rem; font-weight: 300; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--text-muted); padding: 12px 24px;
  border-bottom: 1px solid transparent; margin-bottom: -1px;
  transition: all 0.2s;
}
.tab-btn.active, .tab-btn:hover { color: var(--brun); border-bottom-color: var(--pierre); }

/* -- Menu / Catalogue -- */
.menu-tabs { display: flex; justify-content: center; gap: 8px; margin-bottom: 48px; flex-wrap: wrap; }
.menu-tab { padding: 10px 24px; background: transparent; color: rgba(250,249,247,0.45); border: 1px solid rgba(250,249,247,0.2); font-family: 'Jost', sans-serif; font-size: 0.7rem; font-weight: 300; letter-spacing: 0.2em; text-transform: uppercase; cursor: pointer; transition: all 0.3s; }
.menu-tab:hover { border-color: var(--pierre); color: var(--pierre); }
.menu-tab.active { background: var(--pierre); border-color: var(--pierre); color: #fff; }
.menu-cat { display: none; }
.menu-cat.active { display: block; }
.menu-grid { max-width: 680px; margin: 0 auto; }
.menu-item { display: flex; align-items: baseline; justify-content: space-between; padding: 18px 0; border-bottom: 1px solid rgba(250,249,247,0.12); }
.menu-item:last-child { border-bottom: none; }
.menu-item-info { flex: 1; min-width: 0; }
.menu-item-info h3 { font-family: 'Libre Baskerville', serif; font-size: 1.1rem; font-style: italic; margin-bottom: 4px; color: #FAF9F7; }
.menu-item-info p { font-size: 0.8rem; color: rgba(250,249,247,0.4); min-width: 0; }
.menu-item-prix { font-family: 'Libre Baskerville', serif; font-size: 1.1rem; color: var(--pierre); white-space: nowrap; margin-left: 20px; flex-shrink: 0; }

/* -- Horaires -- */
.horaires-table { width: 100%; border-collapse: collapse; margin-bottom: 24px; }
.horaires-table tr { border-bottom: 1px solid var(--line); }
.horaires-table td { padding: 10px 0; border-bottom: 1px solid var(--line); color: var(--text-muted); font-family: 'Jost', sans-serif; font-size: 0.9rem; font-weight: 300; }
.horaires-table .jour { font-weight: 400; color: var(--text); width: 120px; }
.horaires-table tr.ferme td { opacity: 0.4; }
.ferme .heures { color: var(--text-muted); font-style: italic; }
.coordonnees { margin-top: 28px; }
.coord-item { font-family: 'Jost', sans-serif; font-size: 0.9rem; font-weight: 300; color: var(--text-muted); margin-bottom: 8px; }
.coord-item a { color: var(--brun); }

.map-container iframe { display: block; width: 100%; min-height: 300px; border: 0; }
.placeholder-img { background: var(--bg-card); display: flex; align-items: center; justify-content: center; min-height: 200px; border: 1px solid var(--line); }
.placeholder-img span { color: var(--text-muted); font-size: 0.75rem; letter-spacing: 0.1em; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split-text h2 { font-family: 'Libre Baskerville', serif; font-style: italic; font-size: clamp(1.5rem, 3vw, 2.5rem); margin-bottom: 16px; color: var(--text); min-width: 0; }
.split-text p { color: var(--text-muted); line-height: 1.8; font-size: 0.9rem; min-width: 0; }
.split-image img { width: 100%; object-fit: cover; }

/* -- Footer -- */
.footer { background: var(--brun-fonce); color: rgba(250,249,247,0.45); padding: 48px 0 24px; font-size: 0.875rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 32px; }
.footer-logo { font-family: 'Libre Baskerville', serif; font-size: 1.2rem; font-style: italic; color: #FAF9F7; display: block; margin-bottom: 12px; }
.footer h4 { color: rgba(250,249,247,0.55); margin-bottom: 12px; font-size: 0.65rem; letter-spacing: 0.2em; text-transform: uppercase; font-family: 'Jost', sans-serif; font-weight: 400; }
.footer a { color: rgba(250,249,247,0.45); transition: color 0.3s; }
.footer a:hover { color: var(--pierre); }
.footer p { margin-bottom: 6px; }
.footer-bottom { border-top: 1px solid rgba(250,249,247,0.08); padding-top: 20px; display: flex; justify-content: space-between; font-size: 0.8rem; }
.footer-credit { color: rgba(250,249,247,0.18); }
.footer-credit a { color: rgba(250,249,247,0.18); }
footer { background: var(--brun-fonce); padding: 32px 56px; }
footer p { font-family: 'Jost', sans-serif; font-size: 0.7rem; font-weight: 300; letter-spacing: 0.1em; color: rgba(255,255,255,0.4); text-align: center; }
footer a { color: var(--pierre); }

/* -- Formulaires -- */
.resa-back { background: none; border: none; color: var(--brun); cursor: pointer; font-size: 0.88rem; margin-bottom: 16px; padding: 0; text-decoration: underline; }
.resa-form .form-group { margin-bottom: 16px; }
.resa-form label { display: block; font-weight: 400; margin-bottom: 6px; font-size: 0.88rem; }
.resa-form input, .resa-form select, .resa-form textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--line); font-size: 1rem; font-family: inherit; background: #fff; color: var(--text); }
.resa-form input:focus, .resa-form select:focus, .resa-form textarea:focus { outline: none; border-color: var(--brun); }
.form-error { color: #c0392b; font-size: 0.85rem; margin-bottom: 12px; padding: 8px 12px; background: #fdf0ef; }
.resa-success { text-align: center; padding: 40px 0; }
.resa-success-icon { font-size: 3rem; color: var(--brun); margin-bottom: 12px; }
.resa-success h3 { font-size: 1.4rem; margin-bottom: 8px; }
.resa-success p { color: var(--text-muted); margin-bottom: 24px; }

/* -- Lang switcher -- */
.lang-switcher { display: flex; align-items: center; gap: 4px; margin-left: 16px; }
.lang-btn { background: transparent; border: 1px solid var(--line); color: var(--text-muted); padding: 3px 7px; font-size: 0.7rem; font-weight: 400; cursor: pointer; transition: all 0.2s; }
.lang-btn:hover { border-color: var(--brun); color: var(--brun); }
.lang-btn.active { background: var(--brun); border-color: var(--brun); color: #fff; }

/* -- WhatsApp -- */
.whatsapp-float { position: fixed; bottom: 24px; right: 24px; width: 56px; height: 56px; background: #25D366; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 12px rgba(0,0,0,0.2); z-index: 90; transition: transform 0.3s; }
.whatsapp-float:hover { transform: scale(1.1); }

/* -- Responsive -- */
@media (max-width: 900px) {
  .hero-spa { height: 80vh; }
  .apropos-spa { grid-template-columns: 1fr; }
  .apropos-spa-img img { min-height: 280px; }
  .apropos-spa-citation { padding: 40px 24px; border: none; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .apropos-spa-text { padding: 48px 24px; }
  .split { grid-template-columns: 1fr; }
  .split-image { order: -1; }
  .nav { padding: 16px 24px; }
  .nav-links { display: none; position: fixed; inset: 0; background: var(--bg); flex-direction: column; align-items: center; justify-content: center; gap: 24px; }
  .nav-links.open { display: flex; }
  .nav-links a { color: var(--text-muted) !important; }
  .nav-toggle { display: flex; }
  .container { padding: 0 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .section { padding: 64px 0; }
}
@media (max-width: 480px) {
  .hero-spa-content h1 { font-size: 2.8rem; }
  .apropos-spa-text { padding: 36px 20px; }
}
