/* ================================================
   ÉCLAT BLANC SPA & WELLNESS - Courchevel
   Feuille de style principale - Luxury Spa
================================================ */

/* === GOOGLE FONTS (chargées via HTML) === */

/* === VARIABLES === */
:root {
  --gold: #c9a84c;
  --gold-light: #e8d4a0;
  --gold-dark: #9a7a2f;
  --navy: #0d1b2a;
  --navy-light: #152536;
  --dark: #1a1a1a;
  --white: #faf8f5;
  --cream: #f3ede4;
  --gray: #6b7280;
  --gray-light: #f0ece6;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Lato', 'Helvetica Neue', sans-serif;
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow: 0 8px 40px rgba(0, 0, 0, 0.15);
  --shadow-gold: 0 4px 24px rgba(201, 168, 76, 0.4);
  --radius: 2px;
  --max-width: 1200px;
}

/* === RESET === */
*, *::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-sans);
  color: var(--dark);
  background: var(--white);
  overflow-x: hidden;
  line-height: 1.7;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}

ul { list-style: none; }

/* === TYPOGRAPHY === */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  line-height: 1.2;
  font-weight: 700;
}

h1 { font-size: clamp(2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.8rem); }
h4 { font-size: 1.1rem; }

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

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

.section {
  padding: 6rem 0;
}

.section--dark {
  background: var(--navy);
  color: var(--white);
}

.section--cream {
  background: var(--cream);
}

.section--gold-accent {
  background: var(--gray-light);
}

/* === SECTION HEADERS === */
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header .eyebrow {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.section-header h2 {
  color: var(--navy);
  margin-bottom: 1.5rem;
}

.section--dark .section-header h2 {
  color: var(--white);
}

.section-header .separator {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.section-header .separator::before,
.section-header .separator::after {
  content: '';
  display: block;
  width: 60px;
  height: 1px;
  background: var(--gold);
}

.section-header .separator-diamond {
  width: 8px;
  height: 8px;
  background: var(--gold);
  transform: rotate(45deg);
}

.section-header p {
  font-size: 1.1rem;
  color: var(--gray);
  max-width: 600px;
  margin: 0 auto;
}

.section--dark .section-header p {
  color: rgba(255,255,255,0.7);
}

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 2.2rem;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  border-radius: var(--radius);
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn--gold {
  background: var(--gold);
  color: var(--navy);
}

.btn--gold:hover {
  background: var(--gold-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

.btn--outline {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.6);
}

.btn--outline:hover {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn--outline-gold {
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--gold);
}

.btn--outline-gold:hover {
  background: var(--gold);
  color: var(--navy);
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

.btn--dark {
  background: var(--navy);
  color: var(--white);
}

.btn--dark:hover {
  background: var(--navy-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

/* === NAVIGATION === */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.5rem 0;
  transition: all var(--transition);
}

.nav.scrolled,
body:not([data-page="index"]) .nav {
  background: rgba(13, 27, 42, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 1rem 0;
  box-shadow: 0 2px 30px rgba(0,0,0,0.3);
}

.nav__container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.nav__logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
  text-decoration: none;
}

.nav__logo-main {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.1em;
}

.nav__logo-sub {
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 2px;
}

.nav__menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav__link {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  padding: 0.5rem 0.75rem;
  position: relative;
  transition: color var(--transition);
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width var(--transition);
}

.nav__link:hover,
.nav__link.active {
  color: var(--gold);
}

.nav__link:hover::after,
.nav__link.active::after {
  width: 80%;
}

.nav__cta {
  padding: 0.65rem 1.5rem;
  font-size: 0.75rem;
}

.nav__close { display: none; }

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0.5rem;
  z-index: 1001;
}

.nav__toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--white);
  transition: all var(--transition);
  transform-origin: center;
}

.nav__toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav__toggle.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav__toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

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

.hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: scale(1.05);
  transition: transform 6s ease;
}

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

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(13, 27, 42, 0.75) 0%,
    rgba(13, 27, 42, 0.45) 50%,
    rgba(13, 27, 42, 0.6) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
  color: var(--white);
}

.hero__eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(201,168,76,0.4);
}

.hero__title {
  color: var(--white);
  max-width: 700px;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.hero__subtitle {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.85);
  max-width: 520px;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.hero--center {
  text-align: center;
}

.hero--center .hero__content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero--center .hero__title,
.hero--center .hero__subtitle {
  max-width: 700px;
}

.hero__scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.6);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  z-index: 2;
  animation: scrollBounce 2s ease-in-out infinite;
}

.hero__scroll::after {
  content: '';
  display: block;
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.6), transparent);
}

@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* === SERVICES GRID === */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2px;
}

.service-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/5;
  cursor: pointer;
  display: block;
  text-decoration: none;
}

.service-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.service-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13,27,42,0.9) 0%, rgba(13,27,42,0.2) 60%, transparent 100%);
  transition: background var(--transition);
}

.service-card:hover .service-card__img {
  transform: scale(1.08);
}

.service-card:hover .service-card__overlay {
  background: linear-gradient(to top, rgba(13,27,42,0.95) 0%, rgba(13,27,42,0.4) 60%, rgba(13,27,42,0.1) 100%);
}

.service-card__content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2.5rem 2rem;
  color: var(--white);
  transform: translateY(1rem);
  transition: transform var(--transition);
}

.service-card:hover .service-card__content {
  transform: translateY(0);
}

.service-card__number {
  font-family: var(--font-serif);
  font-size: 3rem;
  font-weight: 700;
  color: rgba(201,168,76,0.3);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.service-card__title {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  margin-bottom: 0.75rem;
}

.service-card__desc {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.6;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.4s ease 0.05s;
}

.service-card:hover .service-card__desc {
  opacity: 1;
  transform: translateY(0);
}

.service-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.4s ease 0.1s;
}

.service-card:hover .service-card__link {
  opacity: 1;
  transform: translateY(0);
}

.service-card__link::after {
  content: '→';
  transition: transform var(--transition);
}

.service-card:hover .service-card__link::after {
  transform: translateX(4px);
}

/* === FEATURES === */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2.5rem;
}

.feature-item {
  text-align: center;
  padding: 2.5rem 1.5rem;
  border: 1px solid rgba(201,168,76,0.2);
  position: relative;
  transition: all var(--transition);
}

.feature-item::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.5s ease;
}

.feature-item:hover {
  border-color: rgba(201,168,76,0.5);
  transform: translateY(-4px);
}

.feature-item:hover::before {
  width: 100%;
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 1.25rem;
  display: block;
}

.feature-item h3 {
  font-size: 1.15rem;
  color: var(--navy);
  margin-bottom: 0.75rem;
}

.section--dark .feature-item h3 {
  color: var(--white);
}

.feature-item p {
  font-size: 0.92rem;
  color: var(--gray);
  line-height: 1.6;
}

.section--dark .feature-item {
  border-color: rgba(255,255,255,0.1);
}

.section--dark .feature-item p {
  color: rgba(255,255,255,0.65);
}

/* === SPLIT SECTION === */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 600px;
  align-items: stretch;
}

.split--reverse {
  direction: rtl;
}

.split--reverse > * {
  direction: ltr;
}

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

.split__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.split__image:hover img {
  transform: scale(1.05);
}

.split__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 5rem;
}

.split__eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
  display: block;
}

.split__content h2 {
  color: var(--navy);
  margin-bottom: 1.5rem;
}

.section--dark .split__content h2 {
  color: var(--white);
}

.split__content p {
  color: var(--gray);
  margin-bottom: 1.25rem;
}

.section--dark .split__content p {
  color: rgba(255,255,255,0.7);
}

.split__list {
  margin: 1.5rem 0;
}

.split__list li {
  padding: 0.6rem 0;
  font-size: 0.95rem;
  color: var(--gray);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-bottom: 1px solid rgba(0,0,0,0.07);
}

.split__list li::before {
  content: '◆';
  color: var(--gold);
  font-size: 0.5rem;
  flex-shrink: 0;
}

.section--dark .split__list li {
  color: rgba(255,255,255,0.7);
  border-bottom-color: rgba(255,255,255,0.1);
}

/* === TREATMENTS GRID === */
.treatments-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.treatment-card {
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.08);
  overflow: hidden;
  transition: all var(--transition);
  border-radius: var(--radius);
}

.section--dark .treatment-card {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.1);
}

.treatment-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: var(--gold);
}

.treatment-card__img {
  height: 220px;
  overflow: hidden;
}

.treatment-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.treatment-card:hover .treatment-card__img img {
  transform: scale(1.08);
}

.treatment-card__body {
  padding: 1.75rem;
}

.treatment-card__category {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.6rem;
}

.treatment-card__body h3 {
  font-size: 1.2rem;
  color: var(--navy);
  margin-bottom: 0.75rem;
}

.section--dark .treatment-card__body h3 {
  color: var(--white);
}

.treatment-card__body p {
  font-size: 0.9rem;
  color: var(--gray);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.section--dark .treatment-card__body p {
  color: rgba(255,255,255,0.65);
}

.treatment-card__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1rem;
  border-top: 1px solid rgba(0,0,0,0.07);
}

.section--dark .treatment-card__footer {
  border-top-color: rgba(255,255,255,0.1);
}

.treatment-card__duration {
  font-size: 0.8rem;
  color: var(--gray);
}

.treatment-card__price {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--gold);
}

/* === TESTIMONIALS === */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.testimonial-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(201,168,76,0.2);
  padding: 2.5rem;
  position: relative;
}

.testimonial-card::before {
  content: '"';
  font-family: var(--font-serif);
  font-size: 6rem;
  color: var(--gold);
  opacity: 0.2;
  position: absolute;
  top: 0.5rem;
  left: 1.5rem;
  line-height: 1;
}

.testimonial-card__text {
  font-style: italic;
  color: rgba(255,255,255,0.8);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonial-card__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--gold);
  flex-shrink: 0;
}

.testimonial-card__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-card__name {
  font-family: var(--font-serif);
  font-weight: 700;
  color: var(--white);
  font-size: 1rem;
}

.testimonial-card__role {
  font-size: 0.78rem;
  color: var(--gold);
  letter-spacing: 0.1em;
}

.stars {
  color: var(--gold);
  font-size: 0.85rem;
  margin-bottom: 0.3rem;
}

/* === PRICING === */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  align-items: start;
}

.pricing-card {
  border: 1px solid rgba(0,0,0,0.1);
  background: var(--white);
  padding: 2.5rem;
  position: relative;
  transition: all var(--transition);
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.pricing-card--featured {
  border: 2px solid var(--gold);
  background: var(--navy);
  color: var(--white);
}

.pricing-badge {
  position: absolute;
  top: -1px;
  right: 2rem;
  background: var(--gold);
  color: var(--navy);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.35rem 1rem;
}

.pricing-card__category {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.pricing-card__name {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.pricing-card--featured .pricing-card__name {
  color: var(--white);
}

.pricing-card__desc {
  font-size: 0.9rem;
  color: var(--gray);
  margin-bottom: 1.5rem;
}

.pricing-card--featured .pricing-card__desc {
  color: rgba(255,255,255,0.65);
}

.pricing-card__price {
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
  margin-bottom: 1.75rem;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid rgba(0,0,0,0.1);
}

.pricing-card--featured .pricing-card__price {
  border-bottom-color: rgba(255,255,255,0.15);
}

.pricing-card__amount {
  font-family: var(--font-serif);
  font-size: 3rem;
  font-weight: 700;
  color: var(--navy);
}

.pricing-card--featured .pricing-card__amount {
  color: var(--gold);
}

.pricing-card__currency {
  font-size: 1.25rem;
  color: var(--gold);
  align-self: flex-start;
  margin-top: 0.5rem;
}

.pricing-card__duration {
  font-size: 0.85rem;
  color: var(--gray);
}

.pricing-card--featured .pricing-card__duration {
  color: rgba(255,255,255,0.5);
}

.pricing-card__features {
  margin-bottom: 2rem;
}

.pricing-card__features li {
  padding: 0.6rem 0;
  font-size: 0.9rem;
  color: var(--gray);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.pricing-card--featured .pricing-card__features li {
  color: rgba(255,255,255,0.75);
  border-bottom-color: rgba(255,255,255,0.08);
}

.pricing-card__features li::before {
  content: '✓';
  color: var(--gold);
  font-weight: 700;
  flex-shrink: 0;
}

/* === PRICE TABLE === */
.price-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.price-table th {
  background: var(--navy);
  color: var(--white);
  padding: 1rem 1.5rem;
  text-align: left;
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.price-table th:last-child {
  text-align: right;
  color: var(--gold);
}

.price-table td {
  padding: 1rem 1.5rem;
  border-bottom: 1px solid rgba(0,0,0,0.07);
  vertical-align: top;
}

.price-table td:last-child {
  text-align: right;
  font-family: var(--font-serif);
  font-weight: 700;
  color: var(--gold);
  white-space: nowrap;
}

.price-table tr:hover td {
  background: var(--gray-light);
}

.price-table__section th {
  background: var(--gold);
  color: var(--navy);
  font-size: 0.85rem;
  padding: 0.75rem 1.5rem;
}

/* === CONTACT FORM === */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 5rem;
  align-items: start;
}

.contact-info h3 {
  font-size: 1.5rem;
  color: var(--navy);
  margin-bottom: 1rem;
}

.contact-info p {
  color: var(--gray);
  margin-bottom: 1.5rem;
}

.contact-details {
  margin-top: 2rem;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

.contact-detail__icon {
  font-size: 1.3rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-detail__label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.25rem;
}

.contact-detail__value {
  font-size: 0.95rem;
  color: var(--dark);
}

.form-card {
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.08);
  padding: 3rem;
  box-shadow: var(--shadow);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.9rem 1.1rem;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--dark);
  background: var(--gray-light);
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: var(--radius);
  transition: all var(--transition);
  outline: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--gold);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(201,168,76,0.15);
}

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

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236b7280' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-note {
  font-size: 0.8rem;
  color: var(--gray);
  margin-top: 0.5rem;
}

.whatsapp-btn {
  width: 100%;
  justify-content: center;
  padding: 1rem;
  font-size: 0.85rem;
  background: #25D366;
  color: white;
  gap: 0.75rem;
}

.whatsapp-btn:hover {
  background: #1da851;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  color: white;
}

.whatsapp-icon {
  width: 22px;
  height: 22px;
}

/* === MAP PLACEHOLDER === */
.map-wrapper {
  width: 100%;
  height: 350px;
  background: var(--gray-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: var(--gray);
  border: 1px solid rgba(0,0,0,0.08);
  overflow: hidden;
  position: relative;
}

.map-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* === CTA BANNER === */
.cta-banner {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  padding: 6rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="rgba(201,168,76,0.05)" stroke-width="1"/><circle cx="50" cy="50" r="30" fill="none" stroke="rgba(201,168,76,0.05)" stroke-width="1"/></svg>') center/60% no-repeat;
}

.cta-banner__content {
  position: relative;
  z-index: 1;
}

.cta-banner .eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.cta-banner h2 {
  color: var(--white);
  margin-bottom: 1rem;
}

.cta-banner p {
  color: rgba(255,255,255,0.7);
  font-size: 1.05rem;
  max-width: 520px;
  margin: 0 auto 2.5rem;
}

/* === STATS === */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0;
}

.stat-item {
  text-align: center;
  padding: 3rem 2rem;
  border-right: 1px solid rgba(255,255,255,0.1);
  position: relative;
}

.stat-item:last-child {
  border-right: none;
}

.stat-item__number {
  font-family: var(--font-serif);
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-item__label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
}

/* === GALLERY === */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 2px;
}

.gallery-item {
  overflow: hidden;
  position: relative;
  cursor: pointer;
}

.gallery-item--wide {
  grid-column: span 2;
}

.gallery-item--tall {
  grid-row: span 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 250px;
  transition: transform 0.6s ease;
}

.gallery-item:hover img {
  transform: scale(1.08);
}

/* === PAGE INTRO === */
.page-intro {
  max-width: 700px;
  margin: 0 auto 4rem;
  text-align: center;
}

.page-intro h2 {
  color: var(--navy);
  margin-bottom: 1rem;
}

.page-intro p {
  color: var(--gray);
  font-size: 1.05rem;
}

/* === BREADCRUMB === */
.breadcrumb {
  background: var(--gray-light);
  padding: 0.75rem 0;
  font-size: 0.8rem;
}

.breadcrumb ol {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  list-style: none;
}

.breadcrumb li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--gray);
}

.breadcrumb li + li::before {
  content: '›';
  color: var(--gold);
}

.breadcrumb a {
  color: var(--gold);
}

.breadcrumb a:hover {
  text-decoration: underline;
}

/* === INTERNAL LINKS (SEO Cocon) === */
.related-pages {
  background: var(--gray-light);
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}

.related-link {
  display: block;
  padding: 2rem;
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.08);
  text-align: center;
  transition: all var(--transition);
  text-decoration: none;
}

.related-link:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.related-link__icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.related-link__title {
  font-family: var(--font-serif);
  font-size: 1rem;
  color: var(--navy);
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.related-link__desc {
  font-size: 0.8rem;
  color: var(--gray);
}

/* === FOOTER === */
.footer {
  background: #070f18;
  color: rgba(255,255,255,0.7);
  padding: 5rem 0 0;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 4rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer__logo {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}

.footer__logo-sub {
  font-size: 0.62rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
}

.footer__brand p {
  font-size: 0.92rem;
  line-height: 1.7;
  max-width: 320px;
  margin-bottom: 2rem;
}

.footer__whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #25D366;
  color: white;
  padding: 0.65rem 1.25rem;
  font-size: 0.8rem;
  font-weight: 700;
  border-radius: 2px;
  transition: all var(--transition);
}

.footer__whatsapp:hover {
  background: #1da851;
  transform: translateY(-2px);
  color: white;
}

.footer__nav h4 {
  font-family: var(--font-serif);
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(201,168,76,0.3);
}

.footer__nav ul li {
  margin-bottom: 0.6rem;
}

.footer__nav ul li a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  transition: color var(--transition);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.footer__nav ul li a::before {
  content: '›';
  color: var(--gold);
}

.footer__nav ul li a:hover {
  color: var(--gold);
}

.footer__contact h4 {
  font-family: var(--font-serif);
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(201,168,76,0.3);
}

.footer__contact p {
  font-size: 0.9rem;
  margin-bottom: 1rem;
  line-height: 1.6;
}

.footer__contact a {
  color: var(--gold);
}

.footer__contact a:hover {
  text-decoration: underline;
}

.footer__bottom {
  padding: 1.75rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer__bottom a {
  color: rgba(255,255,255,0.5);
  transition: color var(--transition);
}

.footer__bottom a:hover {
  color: var(--gold);
}

/* === ANIMATIONS === */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* === FLOATING WHATSAPP === */
.float-wa {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 58px;
  height: 58px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5);
  z-index: 999;
  transition: all var(--transition);
  animation: floatPulse 2s ease-in-out infinite;
}

.float-wa:hover {
  background: #1da851;
  transform: scale(1.1);
}

.float-wa svg {
  width: 30px;
  height: 30px;
  fill: white;
}

@keyframes floatPulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5); }
  50% { box-shadow: 0 4px 35px rgba(37, 211, 102, 0.8); }
}

/* =============================================
   RESPONSIVE
============================================= */
@media (max-width: 1024px) {
  .split {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .split__content {
    padding: 3rem 2rem;
  }

  .split__image {
    min-height: 350px;
  }

  .split--reverse {
    direction: ltr;
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }

  .footer__brand {
    grid-column: 1 / -1;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-item--wide,
  .gallery-item--tall {
    grid-column: auto;
    grid-row: auto;
  }
}

@media (max-width: 768px) {
  .section { padding: 4rem 0; }

  .nav__toggle { display: flex; }

  /* Fond solide sur toute la barre nav — supprime backdrop-filter
     qui crée un stacking context et piège le menu en dessous */
  .nav,
  .nav.scrolled,
  body:not([data-page="index"]) .nav {
    background: var(--navy) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  .nav__menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: var(--navy);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    transform: translateX(100%);
    transition: transform var(--transition);
    z-index: 9999;
  }

  .nav__menu.open {
    transform: translateX(0);
  }

  .nav__close {
    display: flex;
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
    padding: 0.25rem 0.5rem;
    opacity: 0.7;
    transition: opacity 0.2s;
  }

  .nav__close:hover { opacity: 1; }

  .nav__list {
    flex-direction: column;
    gap: 0.25rem;
    margin-bottom: 2rem;
  }

  .nav__link {
    font-size: 1.1rem;
    padding: 0.75rem 1.5rem;
    letter-spacing: 0.15em;
  }

  .nav__cta {
    font-size: 0.85rem;
    padding: 0.85rem 2rem;
  }

  .hero__scroll { display: none; }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    aspect-ratio: 4/3;
  }

  .service-card__desc,
  .service-card__link {
    opacity: 1;
    transform: translateY(0);
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer__bottom {
    flex-direction: column;
    text-align: center;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-item {
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding: 2rem;
  }

  .stat-item:nth-child(odd) {
    border-right: 1px solid rgba(255,255,255,0.1);
  }

  .stat-item:last-child,
  .stat-item:nth-last-child(2):nth-child(odd) {
    border-bottom: none;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .feature-item {
    padding: 1.5rem 1rem;
  }

  .split__content {
    padding: 3rem 1.5rem;
  }

  .form-card {
    padding: 2rem 1.5rem;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .hero { min-height: 100svh; }
}

@media (max-width: 480px) {
  .container { padding: 0 1.25rem; }

  .btn { padding: 0.8rem 1.5rem; font-size: 0.75rem; }

  .hero__title { font-size: 2rem; }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .stat-item { border-right: none !important; }

  .treatments-grid {
    grid-template-columns: 1fr;
  }

  .float-wa {
    width: 52px;
    height: 52px;
    bottom: 1.5rem;
    right: 1.5rem;
  }
}

/* === PRINT === */
@media print {
  .nav, .float-wa, .hero__scroll { display: none; }
  .hero { height: auto; padding: 4rem 0; }
}
