/* =========================================================
   LE SECRET BEAUTÉ — Design System (style Nomade inspired)
   ========================================================= */

:root {
  /* Palette — beige/taupe Secret Beauté */
  --blanc: #ffffff;
  --blanc-casse: #fafaf7;
  --beige-tres-clair: #f7f1e6;
  --beige-clair: #f2ebe0;
  --beige: #e8dfd2;
  --beige-fonce: #d9c9b0;
  --taupe: #8b7a66;
  --taupe-fonce: #5c4f42;
  --marron-logo: #583526;
  --pampa: #c9b99a;
  --accent: #a68968;
  --texte: #3d342a;
  --texte-clair: #6d5f51;

  /* Typographies */
  --font-display: 'Italiana', serif;
  --font-italic: 'Cormorant Garamond', serif;
  --font-serif: 'Noto Serif', serif;
  --font-body: 'Jost', sans-serif;

  /* Espacements */
  --sp-xs: 0.5rem;
  --sp-s: 1rem;
  --sp-m: 2rem;
  --sp-l: 4rem;
  --sp-xl: 6rem;

  /* Transitions */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --t-fast: 0.2s;
  --t-med: 0.4s;
  --t-slow: 0.8s;

  /* Rayons */
  --r-sm: 8px;
  --r-md: 20px;
  --r-lg: 40px;
  --r-btn: 999px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-weight: 300;
  color: var(--texte);
  background: var(--blanc);
  line-height: 1.7;
  min-height: 100vh;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* ===== TYPOGRAPHIE ===== */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.2;
  color: var(--taupe-fonce);
}

h1 { font-size: clamp(2.4rem, 5.5vw, 4.2rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.9rem, 3.8vw, 2.9rem); letter-spacing: -0.01em; }
h3 { font-size: clamp(1.15rem, 1.6vw, 1.35rem); font-weight: 400; }
h4 { font-size: 1rem; letter-spacing: 0.02em; }

p { font-weight: 300; color: var(--texte-clair); }

.italic {
  font-family: var(--font-serif);
  font-style: italic;
  color: inherit;
}

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.7rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--taupe);
  font-weight: 400;
  display: inline-block;
  margin-bottom: 1rem;
}

/* ===== LAYOUT ===== */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2.5rem);
}

.container-narrow {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2.5rem);
}

.section {
  padding: clamp(3.5rem, 8vw, 6.5rem) 0;
}

.section-beige {
  background: var(--beige-tres-clair);
}

/* ===== BANDEAU PROMO GLOBAL ===== */
.promo-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 110;
  background: linear-gradient(90deg, var(--marron-logo) 0%, var(--accent) 100%);
  color: var(--blanc);
  height: 42px;
  padding: 0 3rem;
  font-size: 0.88rem;
  letter-spacing: 0.03em;
  line-height: 1.4;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
}

.promo-banner-slider {
  position: relative;
  width: 100%;
  max-width: 900px;
  height: 100%;
}

.promo-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  text-align: center;
}

.promo-slide.active {
  opacity: 1;
  visibility: visible;
}

.promo-sep {
  opacity: 0.55;
}

/* Dots navigation */
.promo-dots {
  position: absolute;
  right: 2.8rem;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  gap: 0.4rem;
  align-items: center;
  z-index: 2;
}

.promo-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all var(--t-fast);
}

.promo-dot:hover {
  background: rgba(255, 255, 255, 0.7);
}

.promo-dot.active {
  background: var(--blanc);
  width: 18px;
  border-radius: 3px;
}

.promo-close {
  position: absolute;
  right: 0.8rem;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  color: var(--blanc);
  font-size: 1.3rem;
  cursor: pointer;
  opacity: 0.6;
  padding: 0 0.3rem;
  line-height: 1;
  transition: opacity var(--t-fast);
  z-index: 2;
}

.promo-close:hover {
  opacity: 1;
}

/* Décaler le header quand la promo est active */
body.has-promo .site-header {
  top: 42px;
}

body.has-promo .hero,
body.has-promo .page-hero {
  padding-top: 42px;
}

@media (max-width: 700px) {
  .promo-banner {
    padding: 0 4.5rem 0 1rem;
    font-size: 0.78rem;
  }
  .promo-dots {
    right: 2.2rem;
  }
}

@media (max-width: 480px) {
  .promo-dots {
    display: none;
  }
  .promo-banner {
    padding: 0 2.5rem 0 0.8rem;
  }
}

/* ===== HEADER / NAV ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1rem 0;
  transition: background var(--t-med), padding var(--t-med), box-shadow var(--t-med);
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 20px rgba(92, 79, 66, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(1rem, 4vw, 2.5rem);
  max-width: 1400px;
  margin: 0 auto;
  gap: 2rem;
}

.header-logo {
  display: flex;
  align-items: center;
  height: 50px;
  color: var(--blanc);
  transition: color var(--t-med);
}

.site-header.scrolled .header-logo {
  color: var(--marron-logo);
}

.header-logo svg {
  height: 100%;
  width: auto;
}

.header-logo .planity-st0 {
  fill: currentColor;
}

/* Version texte simple pour fallback header */
.header-logo-text {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.6rem;
  color: inherit;
  line-height: 1;
}

.nav-menu {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}

.nav-menu > a {
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  color: var(--blanc);
  transition: color var(--t-fast);
  position: relative;
}

.site-header.scrolled .nav-menu > a {
  color: var(--taupe-fonce);
}

.nav-menu > a:hover,
.nav-menu > a.active {
  color: var(--accent);
}

.site-header.scrolled .nav-menu > a:hover,
.site-header.scrolled .nav-menu > a.active {
  color: var(--accent);
}

.nav-cta {
  background: var(--marron-logo) !important;
  color: var(--blanc) !important;
  padding: 0.7rem 1.8rem;
  border-radius: var(--r-btn);
  letter-spacing: 0.08em !important;
  transition: background var(--t-fast), transform var(--t-fast);
  border: 1px solid var(--marron-logo);
}

.site-header.scrolled .nav-cta {
  background: var(--marron-logo) !important;
  color: var(--blanc) !important;
}

.nav-cta:hover {
  background: transparent !important;
  color: var(--marron-logo) !important;
  transform: translateY(-1px);
}

.site-header.scrolled .nav-cta:hover {
  background: transparent !important;
  color: var(--marron-logo) !important;
}

/* Burger mobile */
.burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 32px;
  height: 32px;
  position: relative;
  z-index: 110;
}

.burger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--blanc);
  margin: 5px auto;
  transition: all var(--t-fast) var(--ease);
}

.site-header.scrolled .burger span {
  background: var(--taupe-fonce);
}

.burger.open span {
  background: var(--taupe-fonce);
}

.burger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ===== BOUTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  padding: 0.95rem 2rem;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all var(--t-fast) var(--ease);
  border: 1px solid transparent;
  border-radius: var(--r-btn);
  white-space: nowrap;
}

.btn-primary {
  background: var(--marron-logo);
  color: var(--blanc);
  border-color: var(--marron-logo);
}

.btn-primary:hover {
  background: transparent;
  color: var(--marron-logo);
  transform: translateY(-2px);
}

.btn-primary-light {
  background: var(--blanc);
  color: var(--marron-logo);
  border-color: var(--blanc);
}

.btn-primary-light:hover {
  background: transparent;
  color: var(--blanc);
  border-color: var(--blanc);
}

.btn-outline {
  background: transparent;
  color: var(--blanc);
  border-color: var(--blanc);
}

.btn-outline:hover {
  background: var(--blanc);
  color: var(--marron-logo);
}

.btn-outline-dark {
  background: transparent;
  color: var(--marron-logo);
  border-color: var(--marron-logo);
}

.btn-outline-dark:hover {
  background: var(--marron-logo);
  color: var(--blanc);
}

.btn-planity-logo {
  height: 13px;
  width: auto;
}

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

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img,
.hero-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-bg-placeholder {
  width: 100%;
  height: 100%;
  background:
    radial-gradient(ellipse at 30% 40%, rgba(166, 137, 104, 0.4) 0%, transparent 60%),
    linear-gradient(135deg, #8b7a66 0%, #5c4f42 50%, #3d342a 100%);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(100deg, rgba(61, 52, 42, 0.55) 0%, rgba(61, 52, 42, 0.25) 50%, rgba(61, 52, 42, 0.1) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  color: var(--blanc);
  max-width: 640px;
  padding: 0 clamp(1rem, 4vw, 2.5rem);
  margin-left: clamp(1rem, 6vw, 5rem);
}

.hero .eyebrow {
  color: var(--beige-clair);
  opacity: 0.9;
}

.hero h1 {
  color: var(--blanc);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.hero-text {
  font-size: clamp(0.95rem, 1.3vw, 1.1rem);
  color: var(--beige-clair);
  margin-bottom: 2.5rem;
  max-width: 480px;
  opacity: 0.95;
  line-height: 1.7;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ===== RUBAN DE MOTS-CLÉS ===== */
.marquee {
  background: var(--blanc);
  padding: 1.5rem 0;
  overflow: hidden;
  position: relative;
  border-bottom: 1px solid var(--beige);
}

.marquee-track {
  display: flex;
  gap: 3rem;
  animation: marquee-scroll 40s linear infinite;
  width: max-content;
}

.marquee-item {
  font-family: var(--font-body);
  font-size: 0.85rem;
  letter-spacing: 0.25em;
  text-transform: lowercase;
  color: var(--taupe);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 3rem;
}

.marquee-item::after {
  content: '•';
  color: var(--accent);
}

@keyframes marquee-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ===== SECTION PRÉSENTATION (texte + image) ===== */
.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.split-section.split-reversed .split-content { order: 2; }
.split-section.split-reversed .split-visual { order: 1; }

.split-content h2 {
  margin-bottom: 1.5rem;
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
}

.split-content p {
  font-size: 1rem;
  margin-bottom: 1.2rem;
  max-width: 520px;
}

.split-visual {
  aspect-ratio: 4/5;
  overflow: hidden;
  border-radius: var(--r-md);
  position: relative;
  background: var(--beige);
  box-shadow: 0 10px 40px -10px rgba(92, 79, 66, 0.25);
}

.split-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Cadre décoratif derrière l'image */
.split-visual::before {
  content: '';
  position: absolute;
  top: 15px;
  left: 15px;
  right: -15px;
  bottom: -15px;
  background: var(--beige-fonce);
  border-radius: var(--r-md);
  z-index: -1;
}

/* ===== STATS ===== */
.stats {
  display: flex;
  gap: 3rem;
  margin-top: 3rem;
  flex-wrap: wrap;
}

.stat {
  text-align: center;
}

.stat-number {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  color: var(--marron-logo);
  line-height: 1;
  font-weight: 400;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.1em;
}

.stat-number .star {
  color: var(--accent);
  font-size: 0.8em;
}

.stat-label {
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--taupe);
  margin-top: 0.8rem;
}

/* ===== EN-TÊTE DE SECTION CENTRÉ ===== */
.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-header h2 {
  margin-bottom: 0.8rem;
}

.section-header p {
  max-width: 600px;
  margin: 0 auto;
  font-size: 1rem;
}

/* ===== CARTES SOINS (avec photo) ===== */
.services-slider {
  position: relative;
}

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

/* Pour 4+ cartes en desktop : on garde 3 colonnes et on fait défiler par pages de 3 */
.services-grid > .service-card {
  transition: transform var(--t-med) var(--ease), opacity var(--t-med) var(--ease);
}

.services-dots {
  display: none;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 2rem;
}

.services-dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: var(--pampa);
  cursor: pointer;
  opacity: 0.5;
  transition: all 0.3s ease;
}

.services-dots button.active {
  opacity: 1;
  background: var(--accent);
  transform: scale(1.3);
}

.service-card {
  text-align: center;
  cursor: pointer;
  transition: transform var(--t-med) var(--ease);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.service-card:hover {
  transform: translateY(-6px);
}

.service-card-img {
  position: relative;
  aspect-ratio: 1;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--beige);
  margin-bottom: 1.2rem;
  box-shadow: 0 8px 25px -10px rgba(92, 79, 66, 0.25);
}

.service-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.service-card:hover .service-card-img img {
  transform: scale(1.06);
}

/* Badge "À venir" sur les cartes home */
.service-card-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--accent);
  color: var(--blanc);
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-family: var(--font-sans);
  box-shadow: 0 4px 12px rgba(92, 79, 66, 0.25);
  animation: badgePulse 2.5s infinite;
}

@keyframes badgePulse {
  0%, 100% { box-shadow: 0 4px 12px rgba(92, 79, 66, 0.25), 0 0 0 0 rgba(166, 137, 104, 0.45); }
  50% { box-shadow: 0 4px 12px rgba(92, 79, 66, 0.25), 0 0 0 8px rgba(166, 137, 104, 0); }
}

.service-card-a-venir .service-card-cta {
  color: var(--accent);
  font-style: italic;
}

.service-card h3 {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  color: var(--taupe-fonce);
}

.service-card h3 .italic {
  color: var(--accent);
}

.service-card p {
  font-size: 0.88rem;
  max-width: 260px;
  margin: 0 auto 1.5rem;
  color: var(--texte-clair);
}

.service-card-cta {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: var(--marron-logo);
  padding-top: 1.2rem;
  border-top: 1px solid var(--beige);
  margin-top: auto;
  min-height: 4rem; /* Hauteur min identique pour aligner la bordure entre cartes */
}

.service-card-cta a {
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: color var(--t-fast);
}

.service-card-cta a:hover {
  color: var(--accent);
}

.service-card-cta .separator {
  color: var(--beige-fonce);
}

/* ===== TÉMOIGNAGES — SLIDER ===== */
.testimonials-slider {
  position: relative;
  margin-top: 2.5rem;
  overflow: hidden;
}

.testimonials-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.testimonial {
  flex: 0 0 calc(33.333% - 1.33rem);
  margin-right: 2rem;
  padding: 0 0.2rem;
  text-align: left;
  box-sizing: border-box;
}

.testimonial:last-child {
  margin-right: 0;
}

.testimonial-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  gap: 0.5rem;
}

.testimonial-stars {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.testimonial-stars .star {
  color: #fbbc04;
  font-size: 0.95rem;
}

.testimonial-stars .verified {
  color: #4285F4;
  margin-left: 0.3rem;
  font-size: 0.9rem;
}

/* Source : Google ou Planity */
.testimonial-source {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
}

.testimonial-source svg {
  width: 100%;
  height: 100%;
  display: block;
}

.testimonial-text {
  font-size: 0.95rem;
  color: var(--texte);
  line-height: 1.6;
  margin-bottom: 1.2rem;
  min-height: 3em;
}

.testimonial-author {
  font-weight: 400;
  color: var(--taupe-fonce);
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.testimonial-date {
  font-size: 0.8rem;
  color: var(--taupe);
  margin-top: 0.2rem;
  font-style: italic;
}

/* Controls (flèches + dots) */
.testimonials-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  margin-top: 2.5rem;
}

.testimonials-arrow {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--beige-fonce);
  background: transparent;
  color: var(--taupe-fonce);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--t-med);
}

.testimonials-arrow:hover {
  background: var(--taupe-fonce);
  color: var(--blanc);
  border-color: var(--taupe-fonce);
}

.testimonials-arrow svg {
  width: 18px;
  height: 18px;
}

.testimonials-dots {
  display: flex;
  gap: 0.5rem;
}

.testimonials-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: var(--beige-fonce);
  cursor: pointer;
  padding: 0;
  transition: all var(--t-fast);
}

.testimonials-dot.active {
  background: var(--accent);
  width: 24px;
  border-radius: 4px;
}

.testimonials-dot:hover:not(.active) {
  background: var(--taupe);
}

/* ===== SECTION CONTACT BANDEAU ===== */
.contact-band {
  background: var(--beige-tres-clair);
  padding: clamp(3rem, 6vw, 5rem) 0;
}

.contact-band-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.contact-info h2 {
  margin-bottom: 1rem;
}

.contact-info p {
  margin-bottom: 2rem;
  max-width: 450px;
}

.contact-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  font-size: 0.88rem;
}

.contact-detail svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--accent);
  margin-top: 2px;
}

.contact-detail-label {
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--taupe);
  margin-bottom: 0.2rem;
}

.contact-detail a,
.contact-detail span {
  color: var(--texte);
}

/* Formulaire contact rapide */
.contact-form {
  background: var(--blanc);
  padding: 2.5rem;
  border-radius: var(--r-md);
  box-shadow: 0 15px 40px -10px rgba(92, 79, 66, 0.15);
}

.form-row {
  margin-bottom: 1.2rem;
}

.form-row label {
  display: block;
  font-size: 0.78rem;
  color: var(--taupe-fonce);
  margin-bottom: 0.4rem;
  letter-spacing: 0.02em;
}

.form-row input,
.form-row textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--texte);
  background: var(--beige-tres-clair);
  border: 1px solid transparent;
  border-radius: var(--r-sm);
  transition: border-color var(--t-fast);
}

.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--blanc);
}

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

.form-submit {
  width: 100%;
  margin-top: 0.5rem;
}

/* ===== FOOTER ===== */
.site-footer {
  background: var(--taupe-fonce);
  color: var(--beige-clair);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 3rem;
}

.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--beige-clair);
  margin-bottom: 1.5rem;
  font-weight: 400;
}

.footer-col p,
.footer-col a {
  font-size: 0.88rem;
  color: var(--beige);
  line-height: 2;
  transition: color var(--t-fast);
}

.footer-col a:hover { color: var(--accent); }

.footer-brand {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  color: var(--beige-clair);
  margin-bottom: 0.3rem;
  line-height: 1;
}

.footer-brand .italic {
  font-style: italic;
  color: var(--pampa);
}

.footer-brand-small {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.85rem;
  color: var(--pampa);
  letter-spacing: 0.08em;
}

.footer-description {
  margin-top: 1.5rem;
  max-width: 340px;
}

.footer-socials {
  display: flex;
  gap: 0.8rem;
  margin-top: 1.5rem;
}

.footer-socials a {
  width: 38px;
  height: 38px;
  border: 1px solid var(--pampa);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--t-fast);
}

.footer-socials a:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--blanc);
}

.footer-socials svg {
  width: 16px;
  height: 16px;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(232, 223, 210, 0.12);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  color: var(--pampa);
}

/* ===== ANIMATIONS ===== */
@keyframes fade-up {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--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; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: 1fr; max-width: 500px; margin: 2rem auto 0; }
}

/* ===== SLIDER SOINS PHARES — TABLETTE ET MOBILE ===== */
@media (max-width: 1023px) {
  /* Wrapper du slider — garde overflow visible pour les dots */
  .services-slider {
    margin: 0 -1rem;
    padding: 0 1rem 0;
    position: relative;
  }
  /* La grille (cartes) a son propre overflow hidden pour cacher les cartes hors écran */
  .services-grid {
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 1.5rem;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
  }
  /* Conteneur enveloppant la grille pour clipper les cartes hors écran */
  .services-slider .services-grid-wrapper {
    overflow: hidden;
    padding-bottom: 0.5rem;
  }
  .services-grid > .service-card {
    flex: 0 0 calc((100% - 3rem) / 3); /* 3 cartes visibles sur tablette */
    min-width: 0;
    height: auto;
  }
  .services-dots {
    display: flex;
    margin-top: 1.5rem;
    padding: 0.5rem 0;
  }
}

@media (max-width: 700px) {
  .services-grid > .service-card {
    flex: 0 0 calc((100% - 1.5rem) / 2); /* 2 cartes visibles sur mobile */
  }
}

/* ===== RESPONSIVE TÉMOIGNAGES ===== */
@media (max-width: 900px) {
  .testimonial {
    flex: 0 0 calc(50% - 1rem);
    margin-right: 2rem;
  }
}

@media (max-width: 600px) {
  .testimonial {
    flex: 0 0 100%;
    margin-right: 2rem;
  }
  .testimonials-arrow {
    width: 36px;
    height: 36px;
  }
}

@media (max-width: 900px) {
  .split-section { grid-template-columns: 1fr; gap: 3rem; }
  .split-section.split-reversed .split-content { order: 1; }
  .split-section.split-reversed .split-visual { order: 2; }
  .split-visual { max-width: 480px; margin: 0 auto; }
  .contact-band-grid { grid-template-columns: 1fr; gap: 3rem; }
  .contact-details { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
}

@media (max-width: 768px) {
  /* IMPORTANT : sur mobile, on désactive le backdrop-filter du header car
     il crée un stacking context qui empêche le menu mobile (.nav-menu) en
     position fixed de se positionner correctement par rapport au viewport */
  .site-header.scrolled {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    background: rgba(255, 255, 255, 0.98) !important;
  }

  .burger {
    display: block !important;
    z-index: 110;
    position: relative;
  }

  /* Cacher complètement le menu en mode mobile par défaut */
  .nav-menu {
    position: fixed !important;
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    left: auto !important;
    width: min(340px, 85vw);
    background: var(--blanc) !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: flex-start !important;
    padding: 3rem 2.5rem !important;
    gap: 2rem !important;
    transform: translateX(100%);
    transition: transform 0.3s var(--ease, cubic-bezier(0.4, 0, 0.2, 1));
    box-shadow: -10px 0 40px rgba(0,0,0,0.15);
    z-index: 105;
    display: flex !important;
  }

  /* Quand ouvert, on glisse le menu en place */
  .nav-menu.open {
    transform: translateX(0) !important;
  }

  /* Forcer la couleur des liens en mode mobile (le menu a un fond blanc) */
  .nav-menu > a:not(.nav-cta),
  .site-header.scrolled .nav-menu > a:not(.nav-cta) {
    color: var(--taupe-fonce) !important;
    font-size: 0.95rem;
  }

  /* Le bouton "Réserver" garde sa couleur blanche sur fond marron */
  .nav-menu > a.nav-cta,
  .site-header.scrolled .nav-menu > a.nav-cta {
    color: var(--blanc) !important;
  }

  .hero-content {
    margin-left: 0;
  }
}

@media (max-width: 600px) {
  .stats { justify-content: space-around; gap: 1.5rem; }
  .stat-number { font-size: 1.8rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .contact-form { padding: 1.8rem; }
  .hero-ctas { flex-direction: column; width: 100%; }
  .hero-ctas .btn { width: 100%; }
}
