/* ===== CLINÆ ESTHÉTIQUE — Custom Styles ===== */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500&family=Outfit:wght@200;300;400;500;600&display=swap');

:root {
  --primary: #262a37;
  --secondary: #c6a990;
  --cream: #faf8f5;
  --cream-dark: #f3efe9;
  --text: #2d2d2d;
  --text-light: #6b6b6b;
  --gold: #b89b7a;
  --gold-light: #d4c4b0;
  --white: #ffffff;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Outfit', sans-serif;
  color: var(--text);
  background: var(--cream);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6, .font-serif {
  font-family: 'Cormorant Garamond', serif;
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--cream); }
::-webkit-scrollbar-thumb { background: var(--secondary); border-radius: 3px; }

/* ===== HEADER ===== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  background: transparent;
}

.site-header.scrolled {
  background: rgba(38, 42, 55, 0.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 40px rgba(0,0,0,0.15);
}

.nav-link {
  position: relative;
  color: rgba(255,255,255,0.85);
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.5rem 0;
  transition: color 0.3s;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1px;
  background: var(--secondary);
  transition: width 0.3s ease;
}

.nav-link:hover { color: var(--secondary); }
.nav-link:hover::after { width: 100%; }

.nav-link.active { color: var(--secondary); }
.nav-link.active::after { width: 100%; }

/* ===== MOBILE MENU ===== */
.mobile-menu {
  position: fixed;
  top: 0; right: -100%;
  width: 100%;
  max-width: 400px;
  height: 100vh;
  background: var(--primary);
  z-index: 2000;
  transition: right 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 6rem 3rem 3rem;
}

.mobile-menu.open { right: 0; }

.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 1999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s;
}

.mobile-overlay.open { opacity: 1; pointer-events: all; }

.mobile-nav-link {
  display: block;
  color: rgba(255,255,255,0.8);
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  font-weight: 400;
  text-decoration: none;
  padding: 0.8rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: all 0.3s;
}

.mobile-nav-link:hover {
  color: var(--secondary);
  padding-left: 0.5rem;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
  transition: transform 8s ease;
}

.hero:hover .hero-bg { transform: scale(1); }

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(38, 42, 55, 0.55) 0%,
    rgba(38, 42, 55, 0.35) 40%,
    rgba(38, 42, 55, 0.65) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  color: white;
  padding: 2rem;
}

.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 300;
  letter-spacing: 0.05em;
  line-height: 1.15;
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(0.85rem, 1.5vw, 1.05rem);
  font-weight: 300;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.85;
  margin-bottom: 2.5rem;
}

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--secondary);
  color: var(--primary);
  font-family: 'Outfit', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 1rem 2.5rem;
  border: none;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary:hover {
  background: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(198, 169, 144, 0.35);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: var(--secondary);
  font-family: 'Outfit', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.9rem 2.2rem;
  border: 1px solid var(--secondary);
  cursor: pointer;
  transition: all 0.4s;
}

.btn-outline:hover {
  background: var(--secondary);
  color: var(--primary);
}

.btn-outline-dark {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: var(--primary);
  font-family: 'Outfit', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.9rem 2.2rem;
  border: 1px solid var(--primary);
  cursor: pointer;
  transition: all 0.4s;
}

.btn-outline-dark:hover {
  background: var(--primary);
  color: var(--cream);
}

/* ===== SECTION STYLING ===== */
.section-label {
  font-family: 'Outfit', sans-serif;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 1rem;
}

.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 400;
  color: var(--primary);
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.section-text {
  font-size: 1rem;
  font-weight: 300;
  color: var(--text-light);
  line-height: 1.8;
  max-width: 600px;
}

/* ===== CHECKERBOARD PRESTATIONS ===== */
.presta-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 600px;
}

@media (max-width: 768px) {
  .presta-block {
    grid-template-columns: 1fr;
  }
}

.presta-block.reverse .presta-image { order: 2; }
.presta-block.reverse .presta-content { order: 1; }

@media (max-width: 768px) {
  .presta-block.reverse .presta-image { order: 1; }
  .presta-block.reverse .presta-content { order: 2; }
}

.presta-image {
  position: relative;
  overflow: hidden;
  min-height: 400px;
}

.presta-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.presta-block:hover .presta-image img { transform: scale(1.05); }

.presta-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2rem, 5vw, 5rem);
}

.presta-content-dark { background: var(--primary); }
.presta-content-dark .section-title { color: white; }
.presta-content-dark .section-text { color: rgba(255,255,255,0.7); }

.presta-content-light { background: var(--cream); }
.presta-content-cream { background: var(--cream-dark); }

/* ===== TARIF TABLE ===== */
.tarif-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1.5rem;
}

.tarif-table tr {
  border-bottom: 1px solid rgba(38, 42, 55, 0.08);
}

.presta-content-dark .tarif-table tr {
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.tarif-table td {
  padding: 0.7rem 0;
  font-size: 0.9rem;
  font-weight: 300;
}

.tarif-table td:first-child { padding-right: 1rem; }

.tarif-table td:last-child {
  text-align: right;
  font-weight: 500;
  white-space: nowrap;
  color: var(--secondary);
}

.presta-content-dark .tarif-table td { color: rgba(255,255,255,0.75); }
.presta-content-dark .tarif-table td:last-child { color: var(--secondary); }

.tarif-sub {
  font-size: 0.78rem;
  color: var(--text-light);
  margin-top: 0.8rem;
  font-style: italic;
}

.presta-content-dark .tarif-sub { color: rgba(255,255,255,0.45); }

/* Tarif zones — filtre Homme / Femme */
.tarif-genre-filter {
  display: flex;
  gap: 0;
  margin-bottom: 1rem;
  border-bottom: 1px solid rgba(38, 42, 55, 0.12);
}

.tarif-genre-btn {
  flex: none;
  padding: 0.5rem 1.25rem;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--text-light);
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  cursor: pointer;
  transition: color 0.25s, border-color 0.25s;
}

.tarif-genre-btn:hover {
  color: var(--primary);
}

.tarif-genre-btn.active {
  color: var(--secondary);
  border-bottom-color: var(--secondary);
  font-weight: 500;
}

/* Filtre Femme/Homme sur fond sombre (page épilation, section tarifs) */
.tarif-genre-filter--dark {
  border-bottom-color: rgba(255, 255, 255, 0.12);
}
.tarif-genre-filter--dark .tarif-genre-btn {
  color: rgba(255, 255, 255, 0.65);
}
.tarif-genre-filter--dark .tarif-genre-btn:hover {
  color: rgba(255, 255, 255, 0.9);
}
.tarif-genre-filter--dark .tarif-genre-btn.active {
  color: var(--secondary);
  border-bottom-color: var(--secondary);
}
.tarif-zones-mobile .tarif-table {
  margin-top: 0.5rem;
}
.tarif-zones-mobile .tarif-table tr {
  border-bottom-color: rgba(255, 255, 255, 0.08);
}
.tarif-zones-mobile .tarif-table--duration thead th {
  color: rgba(255, 255, 255, 0.5);
  border-bottom-color: rgba(255, 255, 255, 0.12);
}
.tarif-zones-mobile .tarif-table--duration thead th.tarif-table-th-price {
  color: rgba(255, 255, 255, 0.5);
}
/* Pas de point après le prix en mobile (table 2 colonnes Zone/Tarif) */
.tarif-zones-mobile .tarif-table--duration tbody td:nth-child(2)::after {
  content: none;
}
/* Options (ex. pieds offerts) sous la prestation en mobile */
.tarif-zones-mobile .tarif-inclus {
  display: block;
  margin-top: 0.2em;
  font-size: 0.8em;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.5);
}

/* Table 3 colonnes (Zone, Durée, Tarif) */
.tarif-table--duration { margin-top: 0.5rem; }

.tarif-table--duration thead th {
  padding: 0.4rem 0 0.6rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-light);
  text-align: left;
  border-bottom: 1px solid rgba(38, 42, 55, 0.12);
}

.tarif-table--duration thead th.tarif-table-th-price { text-align: right; }

.tarif-table--duration td:nth-child(2) {
  font-size: 0.85rem;
  color: var(--text-light);
  white-space: nowrap;
}

/* Options offertes (ex. sif + nombril, pieds, mains) — ligne suivante, couleur plus claire */
.tarif-inclus {
  display: block;
  margin-top: 0.15em;
  color: var(--text-light);
  font-weight: 300;
  font-size: 0.9em;
}

.presta-content-dark .tarif-inclus {
  color: rgba(255, 255, 255, 0.5);
}

.tarif-zones-panel.hidden { display: none; }

/* Table 4 colonnes (Prestation, Durée, Prix unitaire, Prix abonnement) — forfaits */
.tarif-table--forfait { margin-top: 0.5rem; }

.tarif-table--forfait thead th {
  padding: 0.4rem 0 0.6rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-light);
  text-align: left;
  border-bottom: 1px solid rgba(38, 42, 55, 0.12);
}

.tarif-table--forfait thead th.tarif-table-th-price { text-align: right; }

.tarif-table--forfait td:nth-child(2) {
  font-size: 0.85rem;
  color: var(--text-light);
  white-space: nowrap;
}

.tarif-table--forfait td:nth-child(3),
.tarif-table--forfait td:nth-child(4) {
  text-align: right;
  font-weight: 500;
  white-space: nowrap;
  color: var(--secondary);
}

.tarif-table--forfait td:nth-child(3) .tarif-abo,
.tarif-table--forfait td:nth-child(4) .tarif-abo {
  font-weight: 300 !important;
  color: var(--text-light) !important;
}

.tarif-devis {
  font-style: italic;
  color: var(--text-light);
  font-weight: 400;
}

/* ===== TEAM ===== */
.team-card {
  position: relative;
  overflow: hidden;
  background: white;
}

.team-card img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  transition: transform 0.6s;
}

.team-card:hover img { transform: scale(1.03); }

.team-info {
  padding: 2rem;
  text-align: center;
}

/* ===== CTA SECTION ===== */
.cta-section {
  background: var(--primary);
  color: white;
  padding: 5rem 2rem;
}

.cta-card {
  text-align: center;
  padding: 2rem 1.5rem;
}

.cta-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 1.5rem;
  color: var(--secondary);
}

/* ===== FOOTER ===== */
.site-footer {
  background: var(--primary);
  color: rgba(255,255,255,0.6);
  font-size: 0.85rem;
}

.footer-link {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-link:hover { color: var(--secondary); }

/* ===== PRESTATION DETAIL PAGES ===== */
.detail-section {
  padding: clamp(3rem, 6vw, 6rem) clamp(1.5rem, 5vw, 4rem);
  max-width: 900px;
  margin: 0 auto;
}

.detail-section h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 400;
  color: var(--primary);
  margin-bottom: 1.5rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid var(--gold-light);
}

.detail-section p, .detail-section li {
  font-size: 1rem;
  font-weight: 300;
  color: var(--text-light);
  line-height: 1.9;
}

.detail-section ul {
  list-style: none;
  padding: 0;
}

.detail-section ul li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.6rem;
}

.detail-section ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.65rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--secondary);
}

.highlight-box {
  background: var(--cream-dark);
  border-left: 3px solid var(--secondary);
  padding: 1.5rem 2rem;
  margin: 2rem 0;
  font-style: italic;
  color: var(--text-light);
  line-height: 1.8;
}

.contra-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 0.8rem;
}

/* ===== PRESTATION INDEX ===== */
.presta-index-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: white;
  overflow: hidden;
  transition: transform 0.4s, box-shadow 0.4s;
}

.presta-index-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.08);
}

@media (max-width: 768px) {
  .presta-index-card { grid-template-columns: 1fr; }
}

.presta-index-card img {
  width: 100%;
  height: 100%;
  min-height: 300px;
  object-fit: cover;
}

/* ===== CONTACT FORM ===== */
.clinae-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-input {
  width: 100%;
  padding: 1rem 0;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(38, 42, 55, 0.15);
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--text);
  outline: none;
  transition: border-color 0.3s;
}

.form-input:focus { border-color: var(--secondary); }

.form-input::placeholder { color: var(--text-light); }

textarea.form-input {
  resize: vertical;
  min-height: 120px;
}

.cabinet-tab.active { font-weight: 600; }

/* ===== ANIMATIONS ===== */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in {
  opacity: 0;
  transition: opacity 1s ease;
}

.fade-in.visible { opacity: 1; }

/* ===== ACCORDION ===== */
.accordion-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  background: none;
  border: none;
  border-bottom: 1px solid rgba(38, 42, 55, 0.1);
  padding: 1.2rem 0;
  cursor: pointer;
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--text);
  text-align: left;
  transition: color 0.3s;
}

.accordion-header:hover { color: var(--secondary); }

.accordion-icon {
  width: 20px;
  height: 20px;
  transition: transform 0.3s;
  flex-shrink: 0;
}

.accordion-header.active .accordion-icon { transform: rotate(45deg); }

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.accordion-body-inner {
  padding: 1rem 0 1.5rem;
}

/* ===== DIVIDER ===== */
.divider {
  width: 60px;
  height: 1px;
  background: var(--secondary);
  margin: 1.5rem 0;
}

/* ===== PLANITY BUTTON ===== */
.planity-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--secondary);
  color: var(--primary);
  font-family: 'Outfit', sans-serif;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.65rem 1.2rem;
  transition: all 0.3s;
}

.planity-btn:hover {
  background: var(--gold);
}

.planity-btn svg {
  height: 12px;
  width: auto;
}

/* Header split button: Montpellier | Toulon (other pages) */
.header-planity-split {
  display: inline-flex;
  align-items: stretch;
  border-radius: 0;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.1);
}
.header-planity-split a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--secondary);
  color: var(--primary);
  font-family: 'Outfit', sans-serif;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.6rem 1rem;
  transition: background 0.3s, color 0.3s;
}
.header-planity-split a:hover {
  background: var(--gold);
}
.header-planity-split a:not(:last-child) {
  border-right: 1px solid rgba(38, 42, 55, 0.2);
}
.header-planity-split a svg {
  height: 10px;
  width: auto;
}

/* ===== PLANITY CENTER OVERLAY (index: single button → choose center) ===== */
.planity-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}
.planity-overlay.open {
  opacity: 1;
  visibility: visible;
}
.planity-overlay-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(38, 42, 55, 0.85);
  backdrop-filter: blur(8px);
}
.planity-overlay-panel {
  position: relative;
  z-index: 1;
  background: var(--cream);
  color: var(--primary);
  max-width: 420px;
  width: 100%;
  padding: 2rem 2rem 2.25rem;
  box-shadow: 0 25px 60px rgba(0,0,0,0.25);
}
.planity-overlay-panel h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  margin-bottom: 0.5rem;
}
.planity-overlay-panel p {
  font-size: 0.85rem;
  color: var(--primary);
  opacity: 0.75;
  margin-bottom: 1.5rem;
}
.planity-overlay-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.2s, background 0.2s;
}
.planity-overlay-close:hover {
  color: var(--secondary);
  background: rgba(38, 42, 55, 0.06);
}
.planity-overlay-choices {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.planity-overlay-choice {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: white;
  border: 1px solid rgba(38, 42, 55, 0.12);
  color: var(--primary);
  font-family: 'Outfit', sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  transition: border-color 0.3s, background 0.3s, color 0.3s;
}
.planity-overlay-choice:hover {
  border-color: var(--secondary);
  background: rgba(198, 169, 144, 0.08);
  color: var(--primary);
}
.planity-overlay-choice svg {
  height: 14px;
  width: auto;
  opacity: 0.7;
}
.btn-planity-trigger {
  cursor: pointer;
  border: none;
  font: inherit;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}
.btn-planity-trigger.btn-primary {
  background: var(--secondary);
  color: var(--primary);
  font-family: 'Outfit', sans-serif;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.85rem 1.75rem;
  transition: background 0.3s;
}
.btn-planity-trigger.btn-primary:hover {
  background: var(--gold);
}
.btn-planity-trigger.planity-btn {
  background: var(--secondary);
  color: var(--primary);
}
.btn-planity-trigger.planity-btn:hover {
  background: var(--gold);
}

/* ===== PAGE HEADER (sub-pages) ===== */
.page-header {
  position: relative;
  height: 55vh;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.page-header-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.page-header-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(38, 42, 55, 0.6) 0%,
    rgba(38, 42, 55, 0.5) 100%
  );
}

.page-header-content {
  position: relative;
  z-index: 10;
  text-align: center;
  color: white;
  padding: 2rem;
}

/* ===== MAP ===== */
.map-container {
  width: 100%;
  height: 400px;
  filter: grayscale(0.8) contrast(1.1);
  transition: filter 0.5s;
}

.map-container:hover { filter: grayscale(0) contrast(1); }

/* ===== MOBILE PRESTA TAB BAR ===== */
.presta-tabs {
  display: none;
}

@media (max-width: 768px) {
  .presta-tabs {
    display: block;
    position: sticky;
    top: 5rem;
    z-index: 100;
    background: var(--cream);
    border-bottom: 1px solid rgba(38, 42, 55, 0.08);
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  }

  .presta-tabs-inner {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .presta-tabs-inner::-webkit-scrollbar { display: none; }

  .presta-tab {
    flex-shrink: 0;
    padding: 0.85rem 1.25rem;
    font-family: 'Outfit', sans-serif;
    font-size: 0.7rem;
    font-weight: 400;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--text-light);
    border-bottom: 2px solid transparent;
    transition: color 0.3s, border-color 0.3s;
    white-space: nowrap;
  }

  .presta-tab.active {
    color: var(--secondary);
    border-bottom-color: var(--secondary);
    font-weight: 500;
  }
}

/* ===== MOBILE TARIF COLLAPSE ===== */
.tarif-toggle-mobile {
  display: none;
}

@media (max-width: 768px) {
  .tarif-toggle-mobile {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: none;
    border: 1px solid rgba(38, 42, 55, 0.15);
    padding: 0.75rem 1.25rem;
    margin-top: 1.5rem;
    cursor: pointer;
    font-family: 'Outfit', sans-serif;
    font-size: 0.78rem;
    font-weight: 400;
    color: var(--secondary);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    width: 100%;
    transition: all 0.3s;
  }

  .presta-content-dark .tarif-toggle-mobile {
    border-color: rgba(255,255,255,0.15);
  }

  .tarif-toggle-mobile .toggle-icon {
    width: 16px;
    height: 16px;
    transition: transform 0.3s;
  }

  .tarif-toggle-mobile.active .toggle-icon {
    transform: rotate(180deg);
  }

  .tarif-mobile-collapse {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
  }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .presta-block { min-height: auto; }
}

@media (max-width: 768px) {
  .presta-image {
    min-height: unset;
    aspect-ratio: 16/9;
  }

  .tarif-table tr {
    display: flex;
    flex-direction: column;
    padding: 0.7rem 0;
  }

  .tarif-table td {
    padding: 0;
    font-size: 0.85rem;
  }

  .tarif-table td:first-child {
    padding-right: 0;
    margin-bottom: 0.2rem;
  }

  .tarif-table td:last-child {
    white-space: normal;
    text-align: left;
  }

  /* Zones unitaires (durée) : une ligne, zone à gauche, durée + tarif à droite, sans header */
  .tarif-table--duration thead {
    display: none;
  }

  .tarif-table--duration tbody tr {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: baseline;
    gap: 0.75rem;
    padding: 0.6rem 0;
  }

  .tarif-table--duration tbody td:first-child {
    flex: 1 1 auto;
    min-width: 0;
    margin-bottom: 0;
    font-weight: 400;
  }

  .tarif-table--duration tbody td:nth-child(2),
  .tarif-table--duration tbody td:last-child {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .tarif-table--duration tbody td:nth-child(2)::after {
    content: " · ";
    margin-left: 0.15rem;
    color: var(--text-light);
  }

  .tarif-table--duration tbody td:last-child {
    text-align: right;
    font-weight: 500;
    color: var(--secondary);
  }

  /* Forfaits (4 colonnes) : en mobile, ligne 1 = prestation, ligne 2 = durée + prix unitaire + abonnement sur la même ligne */
  .tarif-table--forfait thead {
    display: none;
  }

  .tarif-table--forfait tbody tr {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 0.2rem 0.5rem;
    padding: 0.85rem 0;
    border-bottom: 1px solid rgba(38, 42, 55, 0.08);
  }

  .presta-content-dark .tarif-table--forfait tbody tr {
    border-bottom-color: rgba(255, 255, 255, 0.08);
  }

  .tarif-table--forfait tbody tr:last-child {
    border-bottom: none;
  }

  .tarif-table--forfait tbody td:first-child {
    grid-column: 1 / -1;
    font-weight: 500;
    padding-right: 0;
  }

  .tarif-table--forfait tbody td:nth-child(2),
  .tarif-table--forfait tbody td:nth-child(3),
  .tarif-table--forfait tbody td:nth-child(4) {
    font-size: 0.88rem;
    padding-right: 0;
    white-space: normal;
  }

  .tarif-table--forfait tbody td:nth-child(2) {
    grid-column: 1;
    text-align: left;
  }

  .tarif-table--forfait tbody td:nth-child(3) {
    grid-column: 2;
    text-align: left;
  }

  .tarif-table--forfait tbody td:nth-child(4) {
    grid-column: 3;
    text-align: right;
    font-weight: 500;
  }

  .presta-content-dark .tarif-table--forfait tbody td:nth-child(4) {
    color: var(--secondary);
  }
}

@media (max-width: 640px) {
  .hero { min-height: 90vh; }
  .page-header { height: 45vh; min-height: 320px; }
}

/* Treatment page templates (presta-hero, split-section) */
.presta-hero{position:relative;min-height:85vh;display:flex;align-items:flex-end;overflow:hidden}
.presta-hero-bg{position:absolute;inset:0;background-size:cover;background-position:center 30%;background-attachment:fixed}
@media(max-width:768px){.presta-hero-bg{background-attachment:scroll}.presta-hero{min-height:70vh;align-items:flex-start}}
.presta-hero-gradient{position:absolute;inset:0;background:linear-gradient(0deg,rgba(38,42,55,0.85) 0%,rgba(38,42,55,0.15) 50%,rgba(38,42,55,0.4) 100%)}
.presta-hero-content{position:relative;z-index:10;padding:0 clamp(1.5rem,5vw,6rem) clamp(3rem,6vw,5rem);max-width:800px}
@media(max-width:768px){.presta-hero-content{padding-top:5.5rem}}
.split-section{display:grid;grid-template-columns:1fr 1fr;min-height:500px}
.split-section.reverse .split-text{order:2}.split-section.reverse .split-img{order:1}
@media(max-width:768px){.split-section{grid-template-columns:1fr;min-height:auto}.split-section.reverse .split-text{order:1}.split-section.reverse .split-img{order:2}}
.split-text{display:flex;flex-direction:column;justify-content:center;padding:clamp(2.5rem,5vw,5rem)}
.split-img{position:relative;overflow:hidden;min-height:350px}
.split-img img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform .8s cubic-bezier(.4,0,.2,1)}
.split-section:hover .split-img img{transform:scale(1.04)}
.step-number{display:flex;align-items:center;justify-content:center;width:56px;height:56px;border:1px solid var(--secondary);border-radius:50%;font-family:'Cormorant Garamond',serif;font-size:1.4rem;color:var(--secondary);flex-shrink:0;transition:all .4s}
.step-card:hover .step-number{background:var(--secondary);color:var(--primary)}
.feature-card{background:white;padding:2.5rem 2rem;text-align:center;transition:transform .4s,box-shadow .4s}
.feature-card:hover{transform:translateY(-6px);box-shadow:0 20px 50px rgba(0,0,0,.06)}
.feature-icon{width:44px;height:44px;margin:0 auto 1.2rem;color:var(--secondary)}
.tarif-tab{padding:.8rem 1.5rem;font-family:'Outfit',sans-serif;font-size:.75rem;font-weight:500;letter-spacing:.15em;text-transform:uppercase;background:transparent;border:1px solid rgba(255,255,255,.15);color:rgba(255,255,255,.5);cursor:pointer;transition:all .3s}
.tarif-tab:hover{color:rgba(255,255,255,.8);border-color:rgba(255,255,255,.3)}
.tarif-tab.active{background:var(--secondary);border-color:var(--secondary);color:var(--primary)}
.tarif-panel{display:none}.tarif-panel.active{display:block}
.contra-pill{display:inline-flex;align-items:center;gap:.5rem;padding:.6rem 1.2rem;border:1px solid rgba(38,42,55,.1);font-size:.85rem;font-weight:300;color:var(--text-light);transition:border-color .3s}
.contra-pill:hover{border-color:var(--secondary)}
.contra-dot{width:6px;height:6px;border-radius:50%;background:var(--secondary);flex-shrink:0}
.floating-cta{position:fixed;bottom:0;left:0;right:0;z-index:900;background:rgba(38,42,55,.97);backdrop-filter:blur(10px);padding:1rem 2rem;transform:translateY(100%);transition:transform .5s cubic-bezier(.4,0,.2,1);border-top:1px solid rgba(198,169,144,.15)}
.floating-cta.visible{transform:translateY(0)}
.tarif-abo{display:block;font-size:.78rem;color:rgba(255,255,255,.5);margin-top:.35rem;font-weight:400}
