/* ============================================================
   REFLEXOMASSAGE — MAIN STYLESHEET
   To rebrand: change the CSS variables in :root below.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700&display=swap');

/* ============================================================
   DESIGN TOKENS — Edit here to rebrand
   ============================================================ */
:root {
  --bg:           #FFFFFF;
  --bg-alt:       #F6F3EE;
  --dark:         #1A1916;
  --dark-2:       #2D2926;
  --primary:      #09031f;
  --primary-dark: #9A7E52;
  --sage:         #667B5F;

  /* Per request: titles AND body text use this deep near-black with opacity */
  --heading:      rgba(9, 3, 31, 0.8);
  --text:         rgba(9, 3, 31, 0.8);
  --text-muted:   rgba(9, 3, 31, 0.55);
  --border:       #E5DDD0;
  --white:        #FFFFFF;

  --font-heading: 'Poppins', system-ui, sans-serif;
  --font-body:    'Poppins', system-ui, sans-serif;

  --topbar-height: 38px;
  --nav-height:    78px;
  --nav-height-scrolled: 60px;
  --container:  1200px;
  --narrow:     800px;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  font-weight: 400;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; font-family: var(--font-body); }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
  color: var(--heading);
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.6rem); font-weight: 600; }
h3 { font-size: clamp(1.2rem, 2.2vw, 1.5rem); font-weight: 600; }
h4 { font-size: 1.05rem; font-weight: 600; letter-spacing: 0.01em; }
h5 { font-size: 0.95rem; font-weight: 600; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

em { font-style: italic; color: var(--primary); font-weight: 500; }

/* ============================================================
   LAYOUT
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
}
.container--narrow { max-width: var(--narrow); }

section { padding: 6rem 0; }
.section--alt { background: var(--bg-alt); }
.section--dark { background: var(--dark); }

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}
.section-header p {
  color: var(--text-muted);
  max-width: 580px;
  margin: 1rem auto 0;
  font-size: 1rem;
}
.section-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.85rem;
}
.divider {
  width: 48px;
  height: 2px;
  background: var(--primary);
  margin: 1.25rem auto;
}

/* ============================================================
   TOPBAR — white bar at the very top, in document flow
   (scrolls away naturally; header then sticks to top)
   ============================================================ */
.topbar {
  background: var(--white);
  color: var(--text);
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  border-bottom: 1px solid var(--border);
  position: relative;
  z-index: 5;
}
.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--topbar-height);
  gap: 1.5rem;
}
.topbar-left,
.topbar-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.topbar a {
  color: var(--text);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.2s;
  white-space: nowrap;
}
.topbar a:hover { color: var(--primary); }
.topbar-icon {
  display: inline-flex;
  width: 18px;
  height: 18px;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}
.topbar-right .social {
  width: 26px;
  height: 26px;
  border: 1px solid var(--border);
  border-radius: 50%;
  font-size: 0.7rem;
  color: var(--text-muted);
}
.topbar-right .social:hover {
  border-color: var(--primary);
  color: var(--primary);
}
.topbar-sep {
  display: inline-block;
  width: 1px;
  height: 12px;
  background: var(--border);
  flex-shrink: 0;
  margin: 0 0.1rem;
}

/* ============================================================
   HEADER — transparent at rest (overlaps hero), white on scroll
   ============================================================ */
.site-header {
  position: fixed;
  top: var(--topbar-height); /* sits just under the white topbar */
  left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-height);
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: top 0.3s ease, height 0.3s ease, background 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  will-change: top, height, background;
}
.site-header.scrolled {
  top: 0; /* glue to viewport top when topbar has scrolled off */
  height: var(--nav-height-scrolled);
  background: var(--white);
  border-color: var(--border);
  box-shadow: 0 2px 18px rgba(0,0,0,0.06);
}

/* ---- At rest (transparent state): white text, white logo ---- */
.site-header:not(.scrolled) .nav-links a {
  color: rgba(255, 255, 255, 0.95);
}
.site-header:not(.scrolled) .nav-links a:hover,
.site-header:not(.scrolled) .nav-links a.active {
  color: var(--white);
}
.site-header:not(.scrolled) .nav-links a::after { background: var(--white); }
.site-header:not(.scrolled) .nav-phone { color: var(--white); }
.site-header:not(.scrolled) .nav-toggle span { background: var(--white); }
/* Invert the SVG logo so it appears white over the dark hero */
.site-header:not(.scrolled) .logo-img { filter: brightness(0) invert(1); }
.site-header:not(.scrolled) .logo-text,
.site-header:not(.scrolled) .nav-logo { color: var(--white); }
/* Language switcher visible on dark backgrounds */
.site-header:not(.scrolled) .lang-switch {
  background: transparent;
  border-color: rgba(255,255,255,0.4);
}
.site-header:not(.scrolled) .lang-switch button { color: rgba(255,255,255,0.85); }
.site-header:not(.scrolled) .lang-switch button.active {
  background: var(--white);
  color: var(--primary);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav-logo {
  display: flex;
  align-items: center;
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--heading);
  letter-spacing: -0.01em;
  flex-shrink: 0;
}
.nav-logo span { color: var(--primary); font-weight: 700; }
.logo-img {
  height: 44px;
  width: auto;
  display: block;
  transition: height 0.3s ease;
}
.site-header.scrolled .logo-img { height: 36px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-links a {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text);
  transition: color 0.2s;
  position: relative;
  white-space: nowrap;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -6px; left: 0; right: 0;
  height: 1px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--primary); }
.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-shrink: 0;
}
.nav-phone {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--primary-dark);
  white-space: nowrap;
}

/* ============================================================
   LANGUAGE SWITCHER (FR / EN)
   ============================================================ */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 2px;
  background: var(--white);
}
.lang-switch button {
  appearance: none;
  border: none;
  background: transparent;
  padding: 4px 10px;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  border-radius: 999px;
  transition: background 0.2s, color 0.2s;
  cursor: pointer;
}
.lang-switch button:hover { color: var(--text); }
.lang-switch button.active {
  background: var(--primary);
  color: var(--white);
}
.topbar .lang-switch {
  background: transparent;
  border-color: rgba(255,255,255,0.2);
}
.topbar .lang-switch button { color: rgba(255,255,255,0.7); }
.topbar .lang-switch button.active {
  background: var(--primary);
  color: var(--white);
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: all 0.3s;
}
.nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile drawer — opens below the header */
.nav-mobile {
  display: none;
  position: fixed;
  top: calc(var(--topbar-height) + var(--nav-height));
  left: 0; right: 0; bottom: 0;
  background: var(--bg);
  padding: 2rem 2rem 4rem;
  z-index: 999;
  flex-direction: column;
  overflow-y: auto;
  transition: top 0.3s ease;
}
/* When header is scrolled (sticks to top + smaller), drawer follows */
body:has(.site-header.scrolled) .nav-mobile {
  top: var(--nav-height-scrolled);
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  padding: 1.1rem 0;
  font-size: 1.3rem;
  font-family: var(--font-heading);
  font-weight: 500;
  border-bottom: 1px solid var(--border);
  color: var(--heading);
  transition: color 0.2s;
}
.nav-mobile a:hover { color: var(--primary); }
.nav-mobile .nm-cta {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
  border: none;
  margin-top: 2rem;
}

/* ============================================================
   BUTTONS — pill style (white on dark hero / dark on light section)
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 15px 40px;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 700;
  text-transform: capitalize;
  letter-spacing: 0.01em;
  border: none;
  border-radius: 50px;
  transition: all 0.3s ease;
  white-space: nowrap;
  cursor: pointer;
  line-height: 1.2;
}
@media (min-width: 768px) {
  .btn { padding: 15px 60px; }
}

/* Primary on light sections — dark pill */
.btn-primary {
  background: var(--primary);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--white);
  color: var(--primary);
  box-shadow: 0 8px 24px rgba(9, 3, 31, 0.2);
  transform: translateY(-1px);
}

.btn-dark {
  background: var(--dark);
  color: var(--white);
}
.btn-dark:hover {
  background: var(--white);
  color: var(--dark);
  transform: translateY(-1px);
}

/* Outline on light sections — dark border */
.btn-outline {
  background: transparent;
  color: var(--text);
  box-shadow: inset 0 0 0 1.5px var(--text);
}
.btn-outline:hover {
  background: var(--text);
  color: var(--white);
  box-shadow: inset 0 0 0 1.5px var(--text);
}

/* White pill — the hero / dark-background CTA */
.btn-light,
.btn-outline-light {
  background: var(--white);
  color: var(--primary);
}
.btn-light:hover,
.btn-outline-light:hover {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  transform: translateY(-1px);
}

/* Optional ghost variant — for secondary action on dark hero */
.btn-ghost {
  background: transparent;
  color: var(--white);
  box-shadow: inset 0 0 0 1.5px rgba(255,255,255,0.7);
}
.btn-ghost:hover {
  background: var(--white);
  color: var(--primary);
  box-shadow: inset 0 0 0 1.5px var(--white);
}

/* ============================================================
   HERO (homepage — full height with video background)
   ============================================================ */
.hero {
  position: relative;
  /* Header floats on top of the hero — hero fills the viewport below topbar */
  min-height: calc(100vh - var(--topbar-height));
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(145deg, #1A1916 0%, #2A2118 50%, #1E1C18 100%);
  color: var(--white);
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.35) 0%, rgba(9,3,31,0.55) 100%);
  z-index: 1;
}
.hero .container { position: relative; z-index: 2; }

.hero-content { max-width: 720px; }
.hero-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: white;
  margin-bottom: 1.75rem;
  padding-left: 2.5rem;
  position: relative;
}
.hero-label::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 1.75rem;
  height: 1px;
  background: white;
}
.hero h1 {
  color: var(--white);
  font-weight: 300;
  margin-bottom: 1.5rem;
  line-height: 1.1;
}
.hero h1 em {
  color: var(--primary);
  font-style: italic;
  font-weight: 400;
}
.hero-subtitle {
  color: rgba(255,255,255,0.85);
  font-size: 1.05rem;
  font-weight: 300;
  max-width: 520px;
  margin-bottom: 2.5rem;
  line-height: 1.8;
}
.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  color: rgba(255,255,255,0.6);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.hero-scroll::after {
  content: '';
  display: block;
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.55), transparent);
  animation: scrollPulse 2.5s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.35; }
  50% { opacity: 1; }
}

/* ============================================================
   PAGE HERO (inner pages — full-width image banner)
   Each page sets its own background-image inline.
   ============================================================ */
.page-hero {
  position: relative;
  min-height: 56vh;
  /* Header floats on top — push content below it */
  padding-top: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--dark) center / cover no-repeat;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(9,3,31,0.45) 0%, rgba(9,3,31,0.65) 100%);
}
.page-hero .container {
  position: relative;
  z-index: 1;
  color: var(--white);
}
.page-hero h1 {
  color: var(--white);
  font-weight: 300;
  margin-bottom: 0.5rem;
}
.page-hero h1 em { color: var(--primary); font-style: italic; }
.breadcrumb {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.75);
  letter-spacing: 0.08em;
  margin-bottom: 1.25rem;
}
.breadcrumb a {
  color: rgba(255,255,255,0.75);
  transition: color 0.2s;
}
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb span { color: var(--primary); }
.page-hero-subtitle {
  color: rgba(255,255,255,0.85);
  max-width: 580px;
  margin: 1rem auto 0;
  font-weight: 300;
}

/* ============================================================
   STATS BAR
   ============================================================ */
.stats-bar { background: var(--dark-2); padding: 3rem 0; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}
.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 2.8rem);
  color: var(--primary);
  line-height: 1;
  margin-bottom: 0.5rem;
  font-weight: 600;
}
.stat-label {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}

/* ============================================================
   FEATURE SPLIT (image + text)
   ============================================================ */
.feature-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 560px;
}
.feature-image {
  background: var(--dark-2) center / cover no-repeat;
  position: relative;
  overflow: hidden;
  min-height: 400px;
}
.feature-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.feature-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 60%, rgba(9,3,31,0.15), transparent 60%);
  pointer-events: none;
}
.feature-content {
  padding: 5rem 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--bg-alt);
}
.feature-content h2 { margin-bottom: 1.5rem; }
.feature-content p { color: var(--text-muted); margin-bottom: 1rem; }

/* ============================================================
   SERVICE CARDS
   ============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}
.service-card {
  background: var(--white);
  padding: 2.5rem 2rem;
  border: 1px solid var(--border);
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
  display: flex;
  flex-direction: column;
  border-radius: 2px;
  position: relative;
}
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.08);
  border-color: var(--primary);
}
.service-card.featured {
  border-color: var(--primary);
  background: var(--white);
  color: var(--primary);
}
.service-card.featured h3 { color: var(--primary); }
.card-icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-alt);
  border-radius: 50%;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: var(--primary);
  flex-shrink: 0;
}
/*.service-card.featured .card-icon { background: rgba(255,255,255,0.08); }*/
.service-card h3 { margin-bottom: 0.75rem; }
.service-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.75;
  flex-grow: 1;
}
.service-card.featured p { color: var(--primary); }
.card-link {
  display: inline-block;
  margin-top: 1.5rem;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
}
.card-link::after { content: ' →'; }

.card-badge {
  display: inline-block;
  position: absolute;
  top: -8px;
  right: 2rem;
  background: var(--primary);
  color: var(--white);
  padding: 0.35rem 0.85rem;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border-radius: 2px;
}

/* ============================================================
   GALLERY (homepage)
   ============================================================ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.gallery-item {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
  background: var(--bg-alt) center / cover no-repeat;
  border-radius: 2px;
  cursor: pointer;
  transition: transform 0.45s ease;
}
.gallery-item.wide { aspect-ratio: 8/5; grid-column: span 2; }
.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(9,3,31,0.45) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.gallery-item:hover { transform: scale(1.015); }
.gallery-item:hover::after { opacity: 1; }
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.gallery-item:hover img { transform: scale(1.05); }

@media (max-width: 1024px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-item.wide { grid-column: span 2; aspect-ratio: 16/7; }
}
@media (max-width: 600px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item, .gallery-item.wide { grid-column: span 1; aspect-ratio: 4/3; }
}

/* ============================================================
   PRICING
   ============================================================ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.pricing-card {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 2.5rem 2rem;
  text-align: center;
  transition: border-color 0.3s, transform 0.3s;
  border-radius: 2px;
}
.pricing-card:hover:not(.featured) {
  border-color: var(--primary);
  transform: translateY(-3px);
}
.pricing-card.featured {
  border-color: var(--primary);
  background: var(--white);
  color: var(--primary);
}
.pricing-duration {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}
.pricing-card.featured .pricing-duration { color: var(--text-muted); }
.pricing-price {
  font-family: var(--font-heading);
  font-size: 2.6rem;
  font-weight: 600;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.pricing-note { font-size: 0.82rem; color: var(--text-muted); }
.pricing-card.featured .pricing-note { color: var(--text-muted); }

/* ============================================================
   MASSAGE DETAIL ITEMS
   ============================================================ */
.massage-list { margin-top: 2rem; }
.massage-item {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 3rem;
  padding: 3.5rem 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
}
.massage-item:first-child { padding-top: 0; }
.massage-item:last-child { border-bottom: none; }
.massage-meta { padding-top: 0.25rem; }
.massage-type-label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.5rem;
}
.massage-item h3 { margin-bottom: 1rem; }
.massage-body {
  color: var(--text);
  line-height: 1.85;
}
.massage-body strong { color: var(--heading); font-weight: 600; }
.massage-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.5rem;
}
.tag {
  padding: 0.3rem 0.85rem;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  border-radius: 2px;
}

/* ============================================================
   ABOUT / CREDENTIALS
   ============================================================ */
.credentials-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 2rem;
}
.credential-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.25rem;
  background: var(--bg-alt);
  border-left: 3px solid var(--primary);
}
.check {
  color: var(--primary);
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 0.05rem;
  line-height: 1.5;
}
.credential-item p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.55;
}

.profile-block {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 5rem;
  align-items: start;
}
.profile-image {
  aspect-ratio: 3/4;
  background: var(--dark-2) center / cover no-repeat;
  position: relative;
  overflow: hidden;
}
.profile-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Le sujet est dans la partie basse de la photo (haut = mur sombre vide).
     On cadre vers le bas pour qu'il reste visible quel que soit le ratio du
     conteneur (3/4 desktop, 4/3 mobile). */
  object-position: center 70%;
}
.profile-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 40% 50%, rgba(184,154,106,0.12), transparent 60%);
}

/* ============================================================
   SARGA HIGHLIGHT
   ============================================================ */
.sarga-block {
  background: var(--white);
  border: 2px solid var(--primary);
  padding: 5rem 4rem;
  position: relative;
  overflow: hidden;
  border-radius: 2px;
}
.sarga-block::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(184,154,106,0.08), transparent 70%);
}
.sarga-block .section-label { color: var(--primary); }
.sarga-block h2 { color: var(--heading); margin-bottom: 1.5rem; position: relative; z-index: 1; }
.sarga-block p { color: var(--text); position: relative; z-index: 1; }
.sarga-block-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 3.5rem;
  align-items: center;
  position: relative;
  z-index: 1;
}
.sarga-block-content { min-width: 0; }
.sarga-block-image {
  flex-shrink: 0;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.sarga-block-image .sarga-photo {
  flex: 1;
  min-height: 130px;
  width: 100%;
  object-fit: cover;
  display: block;
  border-radius: 2px;
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-user-drag: none;
  draggable: false;
}
.sarga-brand-logo {
  width: 100%;
  height: 58px;
  object-fit: contain;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 2px;
  padding: 0.6rem 1.25rem;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}

.sarga-benefits {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-top: 2.5rem;
  position: relative;
  z-index: 1;
}
.sarga-benefit { display: flex; gap: 1rem; align-items: flex-start; }
.sarga-benefit-icon {
  color: var(--primary);
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}
.sarga-benefit p { font-size: 0.92rem; color: var(--text); margin: 0; }
.sarga-benefit strong {
  display: block;
  color: var(--heading);
  margin-bottom: 0.2rem;
  font-size: 0.88rem;
  font-weight: 600;
}

/* ============================================================
   CONTACT FORM
   ============================================================ */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.8fr;
  gap: 5rem;
  align-items: start;
}
.contact-info-item {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  margin-bottom: 2rem;
}
.ci-icon {
  width: 44px;
  height: 44px;
  background: var(--bg-alt);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
  color: var(--primary);
}
.ci-text strong {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.3rem;
}
.ci-text a { color: var(--text); transition: color 0.2s; }
.ci-text a:hover { color: var(--primary); }

.form-group { margin-bottom: 1.5rem; }
.form-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.6rem;
}
.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.875rem 1.1rem;
  background: var(--white);
  border: 1px solid var(--border);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text);
  transition: border-color 0.25s, box-shadow 0.25s;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  border-radius: 2px;
}
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(184,154,106,0.12);
}
.form-textarea { resize: vertical; min-height: 140px; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.form-note {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 1rem;
}
.form-msg {
  display: none;
  padding: 1.25rem 1.5rem;
  margin-top: 1.25rem;
  font-size: 0.9rem;
  border-radius: 2px;
}
.form-msg.visible { display: block; }
.form-msg.success { background: #F0F7EC; border: 1px solid #9EC78D; color: #2A5016; }
.form-msg.error { background: #FDF0F0; border: 1px solid #E07575; color: #8B1A1A; }

/* ============================================================
   COVERAGE AREA
   ============================================================ */
.area-box {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  padding: 2.5rem;
  text-align: center;
  border-radius: 2px;
}
.area-box h4 { margin-bottom: 0.5rem; }
.area-box p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}
.area-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
}
.area-tag {
  padding: 0.4rem 1.1rem;
  background: var(--white);
  border: 1px solid var(--primary);
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  border-radius: 2px;
}

/* ============================================================
   FAQ ACCORDION
   ============================================================ */
.faq-list { margin-top: 0.5rem; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 1.35rem 0;
  background: none;
  border: none;
  text-align: left;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--heading);
  gap: 1rem;
}
.faq-icon {
  font-size: 1.4rem;
  color: var(--primary);
  flex-shrink: 0;
  transition: transform 0.3s;
  line-height: 1;
}
.faq-q.open .faq-icon { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.faq-a-inner {
  padding-bottom: 1.35rem;
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.8;
}

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner {
  background: var(--dark);
  padding: 5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%; left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 200%;
  background: radial-gradient(ellipse, rgba(184,154,106,0.1), transparent 60%);
}
.cta-banner h2 { color: var(--white); margin-bottom: 1rem; position: relative; z-index: 1; }
.cta-banner p {
  color: rgba(255,255,255,0.7);
  max-width: 480px;
  margin: 0 auto 2.5rem;
  position: relative;
  z-index: 1;
}
.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--bg-alt);
  border-top: 3px solid var(--primary);
  padding: 4.5rem 0 2rem;
  color: var(--text);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-brand .nav-logo {
  color: var(--primary);
  display: inline-flex;
  margin-bottom: 1rem;
}
.footer-brand p { font-size: 0.85rem; line-height: 1.75; max-width: 280px; color: var(--text-muted); }
.footer-col h5 {
  color: var(--heading);
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.footer-col li { margin-bottom: 0.6rem; }
.footer-col a {
  font-size: 0.86rem;
  color: var(--text-muted);
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--primary); }

.social-links {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
}
.social-link {
  width: 38px;
  height: 38px;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: all 0.25s;
}
.social-link:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--white);
  transform: translateY(-2px);
}

.footer-partners {
  display: flex;
  align-items: center;
  gap: 0.5rem 1.75rem;
  padding: 1.25rem 0;
  border-top: 1px solid var(--border);
  margin-bottom: 2rem;
  flex-wrap: wrap;
}
.footer-partners-label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  flex-shrink: 0;
  margin-right: 0.5rem;
}
.footer-partners a {
  font-size: 0.8rem;
  color: var(--text-muted);
  transition: color 0.2s;
}
.footer-partners a:hover { color: var(--primary); }

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* ============================================================
   UTILITIES
   ============================================================ */
.text-center { text-align: center; }
.text-primary { color: var(--primary); }
.text-muted { color: var(--text-muted); }
.italic { font-style: italic; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-2 { margin-bottom: 2rem; }
.notice {
  padding: 1rem 1.5rem;
  background: var(--bg-alt);
  border-left: 3px solid var(--primary);
  font-size: 0.9rem;
  color: var(--text-muted);
  border-radius: 2px;
}

/* ============================================================
   CONTACT CTA CARDS (single-page contact section)
   ============================================================ */
.contact-cta-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 300px));
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 3rem;
}
.contact-cta-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2.5rem 1.5rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 2px;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}
.contact-cta-card:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.07);
}
.contact-cta-icon {
  font-size: 2.2rem;
  margin-bottom: 1rem;
  line-height: 1;
}
.contact-cta-card h3 { margin-bottom: 0.5rem; font-size: 1.05rem; }
.contact-cta-card > p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

/* ============================================================
   SCROLL TO TOP BUTTON
   ============================================================ */
.scroll-top {
  position: fixed;
  bottom: 2.5rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: 50%;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  z-index: 998;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.3s ease, transform 0.3s ease, background 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 16px rgba(9,3,31,0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.scroll-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.scroll-top:hover {
  background: var(--dark);
  box-shadow: 0 8px 28px rgba(9,3,31,0.32);
  transform: translateY(-3px);
}

/* Anchor offset for fixed header */
[id] { scroll-margin-top: 100px; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-split { grid-template-columns: 1fr; }
  .feature-image { min-height: 320px; }
  .feature-content { padding: 3.5rem 2.5rem; }
  .profile-block { grid-template-columns: 1fr; gap: 3rem; }
  .profile-image { aspect-ratio: 4/3; max-width: 400px; }
  .contact-layout { grid-template-columns: 1fr; gap: 3rem; }
  .contact-cta-grid { grid-template-columns: 1fr; }
  .massage-item { grid-template-columns: 1fr; gap: 1rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .sarga-block { padding: 4rem 2.5rem; }
  .sarga-block-layout { grid-template-columns: 1fr; }
  .sarga-block-image { min-height: 260px; align-self: auto; }
  .sarga-benefits { grid-template-columns: 1fr; }
  .topbar-left .topbar-email { display: none; }
}

@media (min-width: 600px) and (max-width: 1024px) {
  .contact-cta-grid { grid-template-columns: repeat(2, minmax(0, 280px)); }
}

@media (max-width: 768px) {
  section { padding: 4rem 0; }
  .nav-links { display: none; }
  .nav-actions .nav-phone,
  .nav-actions .btn { display: none; }
  .nav-actions { gap: 0.5rem; }
  .nav-actions .lang-switch { display: inline-flex; }
  .nav-toggle { display: flex; }

  .topbar { font-size: 0.7rem; }
  .topbar .container { gap: 0.75rem; }
  .topbar-left, .topbar-right { gap: 0.75rem; }

  .hero { min-height: calc(100vh - var(--nav-height)); }
  .hero-cta { flex-direction: column; align-items: flex-start; }
  .page-hero { min-height: 42vh; padding: 4rem 0; }

  .services-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; gap: 1rem; }
  .credentials-grid { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .cta-buttons { flex-direction: column; align-items: center; }
  .sarga-block { padding: 3rem 1.5rem; }
  .scroll-top { bottom: 1.5rem; right: 1.5rem; }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .hero-label { padding-left: 0; }
  .hero-label::before { display: none; }
  .topbar .lang-switch { display: none; } /* keep nav lang switch only */
  .topbar-left .topbar-email { display: none; }
}
