/* ==========================================
   SpaLife — Styles (Mobile First)
   Theme: White, Rose, Violet
   Base = mobile · @media min-width = desktop
   ========================================== */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Inter:wght@300;400;500;600;700&display=swap');

/* ── Variables ── */
:root {
  --rose: #EC4899;
  --rose-light: #F9A8D4;
  --rose-pale: #FDF2F8;
  --violet: #8B5CF6;
  --violet-light: #A78BFA;
  --violet-pale: #EDE9FE;
  --dark: #1A0A2E;
  --gray: #6B7280;
  --gray-light: #F9FAFB;
  --white: #FFFFFF;
  --gradient: linear-gradient(135deg, #EC4899 0%, #8B5CF6 100%);
  --gradient-soft: linear-gradient(135deg, #FDF2F8 0%, #EDE9FE 100%);
  --shadow-sm: 0 2px 8px rgba(139,92,246,0.08);
  --shadow-md: 0 8px 30px rgba(139,92,246,0.15);
  --shadow-lg: 0 20px 60px rgba(139,92,246,0.2);
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;
  --nav-h: 64px;
  --sidebar-w: 240px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  font-family: 'Inter', sans-serif;
  color: var(--dark);
  background: var(--white);
  overflow-x: hidden;
  line-height: 1.6;
  max-width: 100vw;
}
h1, h2, h3, h4 { font-family: 'Playfair Display', serif; line-height: 1.2; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
input, button, textarea, select { font-family: inherit; }

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--rose-pale); }
::-webkit-scrollbar-thumb { background: var(--gradient); border-radius: 3px; }

/* ── No loader ── */
#page-loader { display: none !important; }

/* ── Utility ── */
.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.section-label {
  font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--rose); margin-bottom: 0.6rem;
  display: block;
}
.section-title {
  font-size: clamp(1.6rem, 5vw, 3rem);
  font-weight: 700; color: var(--dark); margin-bottom: 0.75rem;
}
.section-subtitle { font-size: 1rem; color: var(--gray); }
.divider {
  width: 50px; height: 3px; background: var(--gradient);
  border-radius: 2px; margin: 0.75rem auto 0;
}
.divider-left {
  width: 50px; height: 3px; background: var(--gradient);
  border-radius: 2px; margin: 0.75rem 0 0;
}
.section { padding: 3.5rem 0; }
.section-sm { padding: 2.5rem 0; }
.container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 1rem; }
.section-header { text-align: center; margin-bottom: 2.5rem; }
.section-header .section-subtitle { max-width: 560px; margin: 0 auto; }

/* ── Loader bar (utilisé dans booking panel) ── */
.loader-bar {
  width: 160px; height: 3px; background: var(--violet-pale);
  border-radius: 2px; overflow: hidden;
}
.loader-bar::after {
  content: ''; display: block; height: 100%; width: 40%;
  background: var(--gradient); border-radius: 2px;
  animation: loading 1.2s ease infinite;
}
@keyframes loading {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(350%); }
}

/* ══════════════════════════════════════════
   NAVBAR — mobile first
   ══════════════════════════════════════════ */
.navbar {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000; height: var(--nav-h);
  display: flex; align-items: center;
  transition: all 0.3s ease;
}
.navbar.scrolled {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-sm);
}
.nav-container {
  width: 100%; max-width: 1280px; margin: 0 auto;
  padding: 0 1rem;
  display: flex; align-items: center; justify-content: space-between;
  gap: 0.5rem;
}
.nav-logo {
  display: flex; align-items: center; gap: 0.5rem;
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem; font-weight: 700;
  flex-shrink: 0;
}
.nav-logo .logo-icon {
  width: 36px; height: 36px; flex-shrink: 0;
  background: var(--gradient); border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  color: white; font-size: 1rem;
}
/* Nav links cachés sur mobile, visibles desktop */
.nav-links { display: none; list-style: none; }
.nav-links a {
  font-size: 0.875rem; font-weight: 500; color: var(--dark);
  transition: color 0.3s; position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0; right: 0;
  height: 2px; background: var(--gradient); transform: scaleX(0); transition: transform 0.3s;
}
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.nav-links a:hover { color: var(--violet); }

/* Actions nav : sur mobile juste 1 bouton max */
.nav-actions {
  display: flex; align-items: center; gap: 0.5rem;
  overflow: hidden;
}
/* Hamburger visible sur mobile */
.nav-hamburger {
  display: flex; flex-direction: column; gap: 5px;
  cursor: pointer; padding: 6px; flex-shrink: 0;
  background: none; border: none;
}
.nav-hamburger span {
  width: 22px; height: 2px; background: var(--dark);
  transition: all 0.3s; display: block; border-radius: 2px;
}
.nav-hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.nav-hamburger.active span:nth-child(2) { opacity: 0; }
.nav-hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* Mobile menu drawer */
.mobile-menu {
  display: none; position: fixed;
  top: var(--nav-h); left: 0; right: 0;
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(139,92,246,0.1);
  padding: 1.25rem 1rem;
  z-index: 998;
}
.mobile-menu.open { display: block; }
.mobile-menu ul { list-style: none; display: flex; flex-direction: column; gap: 0; }
.mobile-menu a {
  font-size: 0.95rem; font-weight: 500; color: var(--dark);
  display: block; padding: 0.75rem 0.5rem;
  border-bottom: 1px solid rgba(139,92,246,0.07);
  transition: color 0.3s;
}
.mobile-menu a:hover { color: var(--violet); }
.mobile-menu .mobile-actions {
  margin-top: 1rem; display: flex; flex-direction: column; gap: 0.6rem;
}

/* ══════════════════════════════════════════
   BUTTONS
   ══════════════════════════════════════════ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.45rem;
  padding: 0.7rem 1.5rem; border-radius: 50px;
  font-size: 0.875rem; font-weight: 600; cursor: pointer;
  transition: all 0.3s ease; border: none; outline: none;
  text-decoration: none; font-family: 'Inter', sans-serif;
  white-space: nowrap;
}
.btn-primary { background: var(--gradient); color: white; box-shadow: 0 4px 15px rgba(236,72,153,0.3); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(236,72,153,0.4); }
.btn-outline { background: transparent; color: var(--violet); border: 2px solid var(--violet-light); }
.btn-outline:hover { background: var(--violet-pale); border-color: var(--violet); }
.btn-ghost { background: rgba(255,255,255,0.15); color: white; border: 2px solid rgba(255,255,255,0.4); backdrop-filter: blur(10px); }
.btn-ghost:hover { background: rgba(255,255,255,0.25); border-color: rgba(255,255,255,0.7); }
.btn-white { background: white; color: var(--violet); }
.btn-white:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-sm { padding: 0.45rem 1rem; font-size: 0.8rem; }
.btn-lg { padding: 0.875rem 2rem; font-size: 0.95rem; }
.btn-icon { padding: 0; border-radius: 50%; width: 40px; height: 40px; flex-shrink: 0; }

/* ══════════════════════════════════════════
   HERO — mobile first
   ══════════════════════════════════════════ */
.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: center; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  background-attachment: scroll; /* scroll sur mobile (fixed = bug iOS) */
}
.hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(160deg, rgba(26,10,46,0.82) 0%, rgba(139,92,246,0.45) 60%, rgba(236,72,153,0.3) 100%);
}
.particles { position: absolute; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.particle {
  position: absolute; border-radius: 50%; background: rgba(249,168,212,0.3);
  animation: float linear infinite;
}
@keyframes float {
  0% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
  10% { opacity: 1; } 90% { opacity: 1; }
  100% { transform: translateY(-100px) rotate(720deg); opacity: 0; }
}
.hero-content {
  position: relative; z-index: 1;
  width: 100%; max-width: 1280px; margin: 0 auto;
  padding: calc(var(--nav-h) + 2rem) 1rem 3rem;
  display: flex; flex-direction: column; gap: 2rem;
}
.hero-text { color: white; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(255,255,255,0.15); backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.25); border-radius: 50px;
  padding: 0.35rem 0.9rem; font-size: 0.78rem; font-weight: 500;
  color: white; margin-bottom: 1rem;
}
.hero-badge .dot {
  width: 6px; height: 6px; background: var(--rose-light);
  border-radius: 50%; animation: pulse 2s infinite; flex-shrink: 0;
}
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.7; }
}
.hero-title {
  font-size: clamp(2rem, 7vw, 4.5rem);
  font-weight: 700; line-height: 1.1; margin-bottom: 1rem; color: white;
}
.hero-title span {
  font-style: italic;
  background: linear-gradient(135deg, #F9A8D4, #C4B5FD);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-subtitle { font-size: 1rem; color: rgba(255,255,255,0.82); margin-bottom: 1.75rem; line-height: 1.7; }
.hero-actions { display: flex; flex-direction: column; gap: 0.75rem; }
.hero-actions .btn { width: 100%; max-width: 100%; justify-content: center; }
.hero-stats { display: flex; gap: 1.5rem; flex-wrap: wrap; margin-top: 2rem; }
.hero-stat .number {
  font-family: 'Playfair Display', serif; font-size: 1.75rem; font-weight: 700; color: white;
}
.hero-stat .label { font-size: 0.75rem; color: rgba(255,255,255,0.6); }
/* Hero card masquée sur mobile */
.hero-card { display: none; }
.hero-scroll {
  position: absolute; bottom: 1.5rem; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 0.4rem;
  color: rgba(255,255,255,0.6); font-size: 0.7rem; z-index: 1;
}
.hero-scroll .scroll-line {
  width: 1px; height: 32px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.6), transparent);
  animation: scrollLine 1.5s ease infinite;
}
@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ══════════════════════════════════════════
   FEATURES GRID
   ══════════════════════════════════════════ */
.features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr; /* 2 col sur mobile */
  gap: 1rem;
}
.feature-item { text-align: center; padding: 1.5rem 1rem; }
.feature-item .icon-wrap {
  width: 60px; height: 60px; background: var(--gradient-soft);
  border-radius: 16px; display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; margin: 0 auto 1rem; transition: all 0.3s;
}
.feature-item:hover .icon-wrap { background: var(--gradient); transform: scale(1.08) rotate(-4deg); }
.feature-item h4 { font-size: 0.9rem; font-weight: 600; margin-bottom: 0.4rem; }
.feature-item p { font-size: 0.8rem; color: var(--gray); }

/* ══════════════════════════════════════════
   CARDS SERVICES
   ══════════════════════════════════════════ */
#services-grid {
  display: grid;
  grid-template-columns: 1fr; /* 1 col mobile */
  gap: 1.25rem;
}
.card { background: white; border-radius: var(--radius); box-shadow: var(--shadow-sm); overflow: hidden; transition: all 0.4s ease; }
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.service-card { cursor: pointer; }
.service-card .card-img { height: 200px; overflow: hidden; position: relative; }
.service-card .card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.service-card:hover .card-img img { transform: scale(1.05); }
.service-card .card-img .badge {
  position: absolute; top: 0.875rem; left: 0.875rem;
  background: var(--gradient); color: white;
  font-size: 0.68rem; font-weight: 600; padding: 0.25rem 0.7rem;
  border-radius: 50px; letter-spacing: 0.04em; text-transform: uppercase;
}
.service-card .card-body { padding: 1.25rem; }
.service-card .card-icon {
  width: 44px; height: 44px; background: var(--gradient-soft);
  border-radius: 11px; display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; margin-bottom: 0.875rem;
}
.service-card .card-title { font-size: 1.1rem; font-weight: 600; color: var(--dark); margin-bottom: 0.4rem; }
.service-card .card-desc { font-size: 0.825rem; color: var(--gray); line-height: 1.6; margin-bottom: 0.875rem; }
.service-card .card-footer {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 0.875rem; border-top: 1px solid rgba(139,92,246,0.08);
}
.price-tag { font-family: 'Playfair Display', serif; font-size: 1.2rem; font-weight: 700; color: var(--violet); }
.price-tag span { font-size: 0.72rem; color: var(--gray); font-family: 'Inter', sans-serif; font-weight: 400; }

/* ══════════════════════════════════════════
   ABOUT
   ══════════════════════════════════════════ */
.about-grid { display: flex; flex-direction: column; gap: 2.5rem; }
.about-img-wrapper { position: relative; max-width: 480px; margin: 0 auto; width: 100%; }
.about-img-main { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4/5; box-shadow: var(--shadow-lg); }
.about-img-main img { width: 100%; height: 100%; object-fit: cover; }
/* Accents masqués sur mobile pour ne pas déborder */
.about-img-accent { display: none; }
.about-badge-float { display: none; }
.about-features { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; margin-top: 1.5rem; }
.about-feature {
  display: flex; align-items: flex-start; gap: 0.6rem;
  padding: 0.875rem; background: var(--gradient-soft); border-radius: var(--radius-sm);
}
.about-feature .icon {
  width: 32px; height: 32px; flex-shrink: 0; background: var(--gradient);
  border-radius: 7px; display: flex; align-items: center; justify-content: center;
  color: white; font-size: 0.9rem;
}
.about-feature .feat-title { font-size: 0.8rem; font-weight: 600; color: var(--dark); }
.about-feature .feat-desc { font-size: 0.72rem; color: var(--gray); }

/* ══════════════════════════════════════════
   GALLERY
   ══════════════════════════════════════════ */
.gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr; /* 2 col mobile */
  gap: 0.75rem;
}
.gallery-item { overflow: hidden; border-radius: var(--radius); position: relative; cursor: pointer; height: 150px; }
.gallery-item:first-child { grid-column: span 2; height: 220px; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item .overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(26,10,46,0.7), transparent);
  opacity: 0; transition: opacity 0.3s;
  display: flex; align-items: flex-end; padding: 1rem;
}
.gallery-item:hover .overlay { opacity: 1; }
.gallery-item .overlay span { color: white; font-size: 0.85rem; font-weight: 500; }

/* ══════════════════════════════════════════
   TEAM — mobile first
   ══════════════════════════════════════════ */
#team-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.team-card { text-align: center; }
.team-card .img-wrapper { position: relative; display: inline-block; margin-bottom: 1rem; }
.team-card .img-wrapper img {
  width: 120px; height: 120px; border-radius: 50%; object-fit: cover;
  border: 3px solid white; box-shadow: var(--shadow-md); transition: transform 0.3s;
}
.team-card:hover .img-wrapper img { transform: scale(1.04); }
.team-card .img-wrapper .ring {
  position: absolute; inset: -5px; border-radius: 50%;
  border: 2px solid transparent;
  background: var(--gradient) border-box;
  -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: destination-out; mask-composite: exclude;
}
.team-card .team-name { font-size: 1rem; font-weight: 600; color: var(--dark); margin-bottom: 0.2rem; }
.team-card .team-role { font-size: 0.8rem; color: var(--violet); font-weight: 500; margin-bottom: 0.3rem; }
.team-card .team-spec { font-size: 0.75rem; color: var(--gray); }

/* ══════════════════════════════════════════
   TESTIMONIALS
   ══════════════════════════════════════════ */
.testimonial-card {
  background: white; border-radius: var(--radius); padding: 1.75rem;
  box-shadow: var(--shadow-sm); position: relative;
}
.testimonial-card .quote {
  position: absolute; top: -0.6rem; left: 1.25rem;
  width: 36px; height: 36px; background: var(--gradient);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  color: white; font-size: 1rem;
}
.testimonial-card .stars { display: flex; gap: 0.2rem; margin-bottom: 0.875rem; color: #FBBF24; }
.testimonial-card p { font-size: 0.85rem; color: var(--gray); line-height: 1.7; margin-bottom: 1.25rem; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 0.7rem; }
.testimonial-author img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.testimonial-author .name { font-size: 0.825rem; font-weight: 600; color: var(--dark); }
.testimonial-author .role { font-size: 0.72rem; color: var(--gray); }

/* ══════════════════════════════════════════
   PRICING BANNER
   ══════════════════════════════════════════ */
.pricing-banner {
  background: var(--gradient); border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  display: flex; flex-direction: column; align-items: center; gap: 1.5rem;
  text-align: center;
}
.pricing-banner h3 { color: white; font-size: 1.4rem; margin-bottom: 0.4rem; }
.pricing-banner p { color: rgba(255,255,255,0.82); font-size: 0.9rem; }
.pricing-banner .banner-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; justify-content: center; }

/* ══════════════════════════════════════════
   CTA SECTION
   ══════════════════════════════════════════ */
.cta-section { background: var(--dark); position: relative; overflow: hidden; }
.cta-section::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(139,92,246,0.3), transparent),
              radial-gradient(ellipse at 70% 50%, rgba(236,72,153,0.3), transparent);
}
.cta-content { position: relative; z-index: 1; text-align: center; color: white; }
.cta-content h2 { font-size: clamp(1.75rem, 5vw, 3rem); color: white; margin-bottom: 0.875rem; }
.cta-content p { color: rgba(255,255,255,0.72); font-size: 1rem; margin-bottom: 2rem; }
.cta-actions { display: flex; flex-direction: column; gap: 0.75rem; align-items: center; }
.cta-actions .btn { width: 100%; max-width: 300px; justify-content: center; }

/* ══════════════════════════════════════════
   CONTACT
   ══════════════════════════════════════════ */
#contact-grid { display: flex; flex-direction: column; gap: 2rem; }

/* ══════════════════════════════════════════
   FORMS
   ══════════════════════════════════════════ */
.form-group { margin-bottom: 1.1rem; }
.form-label { display: block; font-size: 0.825rem; font-weight: 500; color: var(--dark); margin-bottom: 0.4rem; }
.form-input, .form-select, .form-textarea {
  width: 100%; padding: 0.8rem 0.9rem;
  border: 2px solid rgba(139,92,246,0.14); border-radius: var(--radius-sm);
  font-size: 0.875rem; color: var(--dark); background: var(--white);
  transition: border-color 0.3s, box-shadow 0.3s; outline: none;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--violet-light); box-shadow: 0 0 0 3px rgba(139,92,246,0.08);
}
.form-textarea { resize: vertical; min-height: 90px; }
.form-row { display: flex; flex-direction: column; gap: 0; }

/* ══════════════════════════════════════════
   AUTH
   ══════════════════════════════════════════ */
.auth-page { min-height: 100vh; display: flex; flex-direction: column; }
.auth-left { display: none; } /* masqué mobile */
.auth-right {
  flex: 1; display: flex; align-items: center; justify-content: center;
  padding: 2rem 1rem; background: white;
}
.auth-form-wrap { width: 100%; max-width: 420px; }
.auth-tabs {
  display: flex; background: var(--gray-light); border-radius: 50px;
  padding: 3px; margin-bottom: 1.75rem;
}
.auth-tab {
  flex: 1; padding: 0.55rem; text-align: center;
  font-size: 0.825rem; font-weight: 600; border-radius: 50px;
  cursor: pointer; transition: all 0.3s; color: var(--gray);
}
.auth-tab.active { background: var(--gradient); color: white; box-shadow: 0 2px 8px rgba(139,92,246,0.3); }
.auth-form { display: none; }
.auth-form.active { display: block; }
.demo-credentials {
  background: var(--gradient-soft); border-radius: var(--radius-sm);
  padding: 0.875rem; margin-bottom: 1.25rem;
  border: 1px solid rgba(139,92,246,0.15);
}
.demo-credentials h4 {
  font-size: 0.72rem; font-weight: 700; color: var(--violet);
  margin-bottom: 0.5rem; text-transform: uppercase; letter-spacing: 0.1em;
}
.credential-row {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 0.78rem; color: var(--gray); margin-bottom: 0.2rem;
  flex-wrap: wrap; gap: 0.25rem;
}
.credential-row strong { color: var(--dark); font-weight: 600; }
.copy-btn { cursor: pointer; color: var(--violet); font-size: 0.75rem; }
.password-toggle { position: relative; }
.password-toggle input { padding-right: 2.75rem; }
.password-toggle .toggle-eye {
  position: absolute; right: 0.875rem; top: 50%;
  transform: translateY(-50%); color: var(--gray); cursor: pointer; transition: color 0.3s;
}
.password-toggle .toggle-eye:hover { color: var(--violet); }

/* ══════════════════════════════════════════
   BOOKING — mobile first
   ══════════════════════════════════════════ */
.booking-page { min-height: 100vh; padding-top: var(--nav-h); background: var(--gray-light); }
.booking-container { max-width: 900px; margin: 0 auto; padding: 1.75rem 1rem; }
.booking-steps {
  display: flex; flex-direction: column; gap: 0.6rem;
  margin-bottom: 1.75rem; background: white;
  border-radius: var(--radius); padding: 1.25rem 1rem; box-shadow: var(--shadow-sm);
}
.step-item { display: flex; align-items: center; gap: 0.75rem; position: relative; }
.step-item::after { display: none; }
.step-circle {
  width: 36px; height: 36px; flex-shrink: 0; border-radius: 50%;
  background: rgba(139,92,246,0.1); color: var(--gray);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.85rem; transition: all 0.3s;
}
.step-item.active .step-circle { background: var(--gradient); color: white; box-shadow: 0 4px 12px rgba(139,92,246,0.35); }
.step-item.done .step-circle { background: var(--gradient); color: white; }
.step-text .step-name { font-size: 0.825rem; font-weight: 600; color: var(--dark); }
.step-text .step-desc { font-size: 0.72rem; color: var(--gray); }
.step-item.active .step-name { color: var(--violet); }
.booking-panel { background: white; border-radius: var(--radius); padding: 1.5rem 1rem; box-shadow: var(--shadow-sm); }
.booking-panel h2 { font-size: 1.4rem; margin-bottom: 0.4rem; }
.booking-panel .subtitle { color: var(--gray); margin-bottom: 1.5rem; font-size: 0.875rem; }
#booking-date-grid { display: flex; flex-direction: column; gap: 1.5rem; }
.service-category-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.5rem; margin-bottom: 1.25rem; }
.cat-btn {
  padding: 0.75rem 0.5rem; border: 2px solid rgba(139,92,246,0.14);
  border-radius: var(--radius-sm); background: white; cursor: pointer;
  transition: all 0.3s; text-align: center;
}
.cat-btn:hover, .cat-btn.selected { border-color: var(--violet); background: var(--violet-pale); }
.cat-btn .cat-icon { font-size: 1.5rem; margin-bottom: 0.3rem; }
.cat-btn .cat-name { font-size: 0.72rem; font-weight: 600; color: var(--dark); }
.service-list { display: flex; flex-direction: column; gap: 0.6rem; }
.service-option {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.875rem 1rem; border: 2px solid rgba(139,92,246,0.1);
  border-radius: var(--radius-sm); cursor: pointer; transition: all 0.3s;
}
.service-option:hover, .service-option.selected { border-color: var(--violet-light); background: var(--violet-pale); }
.service-option .svc-info .svc-name { font-weight: 600; font-size: 0.875rem; }
.service-option .svc-info .svc-dur { font-size: 0.78rem; color: var(--gray); }
.service-option .svc-price { font-weight: 700; color: var(--violet); font-size: 0.95rem; flex-shrink: 0; }
.calendar-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 0.35rem; margin: 0.875rem 0; }
.cal-day {
  aspect-ratio: 1; display: flex; align-items: center; justify-content: center;
  border-radius: 8px; font-size: 0.8rem; cursor: pointer; transition: all 0.3s;
}
.cal-day.header { font-weight: 600; color: var(--gray); cursor: default; font-size: 0.68rem; }
.cal-day.empty { cursor: default; }
.cal-day.available:hover { background: var(--violet-pale); color: var(--violet); }
.cal-day.selected { background: var(--gradient); color: white; }
.cal-day.today { font-weight: 700; color: var(--rose); }
.cal-day.past { color: rgba(107,114,128,0.3); cursor: not-allowed; }
.time-slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.5rem; margin-top: 0.875rem; }
.time-slot {
  padding: 0.6rem 0.4rem; text-align: center;
  border: 2px solid rgba(139,92,246,0.14); border-radius: var(--radius-sm);
  font-size: 0.8rem; font-weight: 500; cursor: pointer; transition: all 0.3s;
}
.time-slot:hover, .time-slot.selected { background: var(--gradient); color: white; border-color: transparent; }
.time-slot.taken { background: var(--gray-light); color: rgba(107,114,128,0.4); cursor: not-allowed; border-color: transparent; }
.employee-list { display: flex; flex-direction: column; gap: 0.75rem; }
.employee-card {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 0.875rem; border: 2px solid rgba(139,92,246,0.1);
  border-radius: var(--radius-sm); cursor: pointer; transition: all 0.3s;
}
.employee-card:hover, .employee-card.selected { border-color: var(--violet-light); background: var(--violet-pale); }
.employee-card img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.employee-card .emp-name { font-weight: 600; font-size: 0.875rem; }
.employee-card .emp-role { font-size: 0.78rem; color: var(--gray); }
.booking-summary {
  background: var(--gradient-soft); border-radius: var(--radius-sm);
  padding: 1.25rem; border: 1px solid rgba(139,92,246,0.14); margin-bottom: 1.25rem;
}
.booking-summary h4 { font-size: 0.95rem; margin-bottom: 0.875rem; color: var(--dark); }
.summary-row {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 0.5rem;
  padding: 0.45rem 0; border-bottom: 1px solid rgba(139,92,246,0.07); font-size: 0.825rem;
}
.summary-row:last-child { border-bottom: none; }
.summary-row .key { color: var(--gray); flex-shrink: 0; }
.summary-row .val { font-weight: 600; color: var(--dark); text-align: right; }
.summary-row.total .val { color: var(--violet); font-size: 1.05rem; }
.booking-nav { display: flex; justify-content: space-between; gap: 0.75rem; margin-top: 1.5rem; flex-wrap: wrap; }

/* ══════════════════════════════════════════
   ACCOUNT DASHBOARD — mobile first
   ══════════════════════════════════════════ */
.dashboard-layout {
  display: flex; flex-direction: column;
  min-height: calc(100vh - var(--nav-h));
  margin-top: var(--nav-h);
}
/* Sidebar cachée sur mobile (remplacée par bottom nav) */
.sidebar { display: none; }
.dashboard-content {
  flex: 1; padding: 1.5rem 1rem 5.5rem; /* padding-bottom pour bottom nav */
  background: var(--gray-light);
}
.dashboard-content h1 { font-size: 1.5rem; margin-bottom: 0.2rem; }
.dashboard-content .welcome { color: var(--gray); margin-bottom: 1.5rem; font-size: 0.875rem; }
.sidebar-user .avatar {
  width: 52px; height: 52px; border-radius: 50%; background: var(--gradient);
  display: flex; align-items: center; justify-content: center;
  color: white; font-size: 1.2rem; font-weight: 700; margin-bottom: 0.6rem;
}
.sidebar-user .user-name { font-weight: 700; color: var(--dark); }
.sidebar-user .user-email { font-size: 0.78rem; color: var(--gray); }
.sidebar-nav { list-style: none; }
.sidebar-nav a {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 0.875rem 1.5rem; font-size: 0.875rem; font-weight: 500;
  color: var(--gray); transition: all 0.3s; border-right: 3px solid transparent;
}
.sidebar-nav a:hover, .sidebar-nav a.active {
  background: var(--violet-pale); color: var(--violet); border-right-color: var(--violet);
}
.sidebar-nav a i { width: 18px; text-align: center; }

/* Stat cards */
.stat-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 0.875rem; margin-bottom: 1.5rem; }
.stat-card {
  background: white; border-radius: var(--radius); padding: 1.1rem;
  display: flex; align-items: center; gap: 0.875rem; box-shadow: var(--shadow-sm);
}
.stat-card .icon {
  width: 44px; height: 44px; flex-shrink: 0; border-radius: 12px;
  display: flex; align-items: center; justify-content: center; font-size: 1.2rem;
}
.stat-card .icon.rose { background: #FDF2F8; }
.stat-card .icon.violet { background: var(--violet-pale); }
.stat-card .icon.green { background: #ECFDF5; }
.stat-card .icon.amber { background: #FFFBEB; }
.stat-card .stat-num { font-size: 1.4rem; font-weight: 700; font-family: 'Playfair Display', serif; color: var(--dark); }
.stat-card .stat-label { font-size: 0.72rem; color: var(--gray); }

/* Content card */
.content-card {
  background: white; border-radius: var(--radius);
  box-shadow: var(--shadow-sm); overflow: hidden; margin-bottom: 1.25rem;
}
.content-card .card-header {
  padding: 1rem 1.25rem; border-bottom: 1px solid rgba(139,92,246,0.08);
  display: flex; align-items: center; justify-content: space-between;
}
.content-card .card-header h3 { font-size: 0.95rem; font-weight: 600; color: var(--dark); }
.content-card .card-body { padding: 1.25rem; }

/* Profile grid */
.profile-grid { display: flex; flex-direction: column; gap: 1.25rem; }

/* ══════════════════════════════════════════
   APPOINTMENTS TABLE
   ══════════════════════════════════════════ */
.appt-table { width: 100%; border-collapse: collapse; }
.appt-table th {
  padding: 0.75rem 0.875rem; text-align: left;
  font-size: 0.72rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.07em;
  color: var(--gray); background: var(--gray-light); border-bottom: 2px solid rgba(139,92,246,0.08);
}
.appt-table td {
  padding: 0.875rem; font-size: 0.825rem;
  border-bottom: 1px solid rgba(139,92,246,0.06); color: var(--dark); vertical-align: middle;
}
.appt-table tr:hover td { background: rgba(139,92,246,0.02); }
.status-badge {
  display: inline-flex; align-items: center; gap: 0.3rem;
  padding: 0.25rem 0.65rem; border-radius: 50px; font-size: 0.72rem; font-weight: 600;
}
.status-badge.pending { background: #FFFBEB; color: #D97706; }
.status-badge.confirmed { background: #ECFDF5; color: #059669; }
.status-badge.cancelled { background: #FEF2F2; color: #DC2626; }
.status-badge.completed { background: var(--violet-pale); color: var(--violet); }
.status-badge::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.action-btns { display: flex; gap: 0.4rem; flex-wrap: wrap; }
.action-btn {
  padding: 0.3rem 0.6rem; border-radius: var(--radius-sm);
  font-size: 0.72rem; font-weight: 600; cursor: pointer; border: none;
  transition: all 0.3s; font-family: 'Inter', sans-serif;
}
.action-btn.accept { background: #ECFDF5; color: #059669; }
.action-btn.accept:hover { background: #059669; color: white; }
.action-btn.reject { background: #FEF2F2; color: #DC2626; }
.action-btn.reject:hover { background: #DC2626; color: white; }
.action-btn.edit { background: var(--violet-pale); color: var(--violet); }
.action-btn.edit:hover { background: var(--violet); color: white; }
.action-btn.view { background: var(--rose-pale); color: var(--rose); }
.action-btn.view:hover { background: var(--rose); color: white; }

/* Filter bar */
.filter-bar { display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 1.25rem; }
.filter-btn {
  padding: 0.4rem 0.875rem; border-radius: 50px; font-size: 0.78rem; font-weight: 600;
  cursor: pointer; border: 2px solid transparent; background: white; color: var(--gray); transition: all 0.3s;
}
.filter-btn.active, .filter-btn:hover { background: var(--gradient); color: white; }
.search-input-wrap { position: relative; width: 100%; }
.search-input-wrap input {
  width: 100%; padding: 0.5rem 1rem 0.5rem 2.1rem;
  border: 2px solid rgba(139,92,246,0.14); border-radius: 50px;
  font-size: 0.825rem; outline: none; transition: border-color 0.3s;
}
.search-input-wrap input:focus { border-color: var(--violet-light); }
.search-input-wrap i { position: absolute; left: 0.75rem; top: 50%; transform: translateY(-50%); color: var(--gray); font-size: 0.825rem; }

/* ══════════════════════════════════════════
   ADMIN — mobile first
   ══════════════════════════════════════════ */
.admin-layout {
  display: block; /* pas de grid sur mobile */
  min-height: 100vh;
}
/* Sidebar fixe — masquée par défaut mobile */
.admin-sidebar {
  display: none;
  position: fixed; top: 0; left: 0; bottom: 0;
  width: var(--sidebar-w); background: var(--dark);
  overflow-y: auto; z-index: 100;
}
.admin-sidebar .logo-wrap {
  padding: 1.25rem 1.5rem; border-bottom: 1px solid rgba(255,255,255,0.08);
  display: flex; align-items: center; gap: 0.75rem;
}
.admin-sidebar .logo-wrap .logo-icon {
  width: 34px; height: 34px; background: var(--gradient);
  border-radius: 8px; display: flex; align-items: center; justify-content: center;
  color: white; font-size: 0.9rem;
}
.admin-sidebar .logo-wrap .logo-text {
  font-family: 'Playfair Display', serif; font-size: 1.1rem; font-weight: 700; color: white;
}
.admin-sidebar .logo-wrap .admin-badge {
  font-size: 0.58rem; font-weight: 700; background: var(--gradient);
  color: white; padding: 0.12rem 0.35rem; border-radius: 4px; margin-left: 0.2rem;
}
.admin-nav { padding: 0.875rem 0; }
.admin-nav-section {
  padding: 0.6rem 1.5rem 0.2rem;
  font-size: 0.62rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.15em; color: rgba(255,255,255,0.3);
}
.admin-nav a {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 0.75rem 1.5rem; font-size: 0.85rem; font-weight: 500;
  color: rgba(255,255,255,0.6); transition: all 0.3s; border-left: 3px solid transparent;
}
.admin-nav a:hover, .admin-nav a.active {
  background: rgba(255,255,255,0.07); color: white; border-left-color: var(--rose);
}
.admin-nav a i { width: 18px; text-align: center; font-size: 0.9rem; }
/* Main admin — full width mobile */
.admin-main { background: var(--gray-light); min-height: 100vh; }
.admin-topbar {
  background: white; padding: 0.875rem 1rem;
  display: flex; align-items: center; justify-content: space-between;
  border-bottom: 1px solid rgba(139,92,246,0.08);
  position: sticky; top: 0; z-index: 50; box-shadow: var(--shadow-sm);
  gap: 0.75rem;
}
.admin-page { padding: 1rem; display: none; }
.admin-page.active { display: block; }
/* Dashboard grids admin */
#admin-dashboard-grid { display: flex; flex-direction: column; gap: 1.25rem; }

/* ══════════════════════════════════════════
   SERVICES PAGE
   ══════════════════════════════════════════ */
.services-hero {
  background: var(--gradient); padding: 7rem 1rem 3rem;
  position: relative; overflow: hidden; text-align: center; color: white;
}
.services-hero::before {
  content: ''; position: absolute; inset: 0;
  background: url('https://images.unsplash.com/photo-1580618672591-eb180b1a973f?w=1920&q=80') center/cover;
  opacity: 0.14;
}
.services-hero-content { position: relative; z-index: 1; }
.services-hero h1 { font-size: clamp(1.75rem, 6vw, 3.5rem); color: white; margin-bottom: 0.875rem; }
.services-hero p { color: rgba(255,255,255,0.82); font-size: 1rem; }
.service-category-section { margin-bottom: 3rem; }
.service-category-header {
  display: flex; align-items: center; gap: 0.875rem;
  margin-bottom: 1.5rem; padding-bottom: 0.875rem;
  border-bottom: 2px solid rgba(139,92,246,0.1);
}
.service-category-header .cat-icon {
  width: 44px; height: 44px; background: var(--gradient);
  border-radius: 11px; display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; color: white; flex-shrink: 0;
}
.service-category-header h2 { font-size: 1.4rem; }
.service-items-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; }
.service-item-card {
  background: white; border-radius: var(--radius); padding: 1.4rem;
  box-shadow: var(--shadow-sm); transition: all 0.4s; border: 2px solid transparent;
  display: flex; flex-direction: column;
}
.service-item-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(139,92,246,0.2); }
.service-item-card .svc-name { font-size: 1rem; font-weight: 600; margin-bottom: 0.4rem; color: var(--dark); }
.service-item-card .svc-desc { font-size: 0.825rem; color: var(--gray); line-height: 1.6; flex: 1; margin-bottom: 1rem; }
.service-item-card .svc-meta { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 0.5rem; }
.service-item-card .price { font-family: 'Playfair Display', serif; font-size: 1.3rem; font-weight: 700; color: var(--violet); }
.service-item-card .duration { font-size: 0.78rem; color: var(--gray); display: flex; align-items: center; gap: 0.3rem; }

/* ══════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════ */
footer { background: var(--dark); color: white; }
.footer-top { padding: 3rem 0 2rem; border-bottom: 1px solid rgba(255,255,255,0.08); }
.footer-grid { display: flex; flex-direction: column; gap: 2rem; }
.footer-brand .logo { margin-bottom: 0.875rem; }
.footer-brand p { font-size: 0.825rem; color: rgba(255,255,255,0.55); line-height: 1.7; margin-bottom: 1.25rem; }
.social-links { display: flex; gap: 0.6rem; }
.social-link {
  width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.6); transition: all 0.3s;
}
.social-link:hover { background: var(--gradient); color: white; transform: translateY(-2px); }
.footer-title { font-size: 0.95rem; font-weight: 700; color: white; margin-bottom: 1rem; font-family: 'Playfair Display', serif; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.footer-links a { font-size: 0.825rem; color: rgba(255,255,255,0.55); transition: color 0.3s; }
.footer-links a:hover { color: var(--rose-light); }
.footer-contact-item { display: flex; align-items: flex-start; gap: 0.65rem; font-size: 0.825rem; color: rgba(255,255,255,0.55); margin-bottom: 0.65rem; }
.footer-contact-item i { color: var(--rose-light); margin-top: 0.15rem; flex-shrink: 0; }
.footer-bottom {
  padding: 1.25rem 0;
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem; text-align: center;
}
.footer-bottom p { font-size: 0.78rem; color: rgba(255,255,255,0.4); }
.footer-bottom a { color: var(--rose-light); }

/* ══════════════════════════════════════════
   MODAL
   ══════════════════════════════════════════ */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(26,10,46,0.55);
  backdrop-filter: blur(8px); z-index: 2000;
  display: none; align-items: flex-end; justify-content: center;
  padding: 0;
}
.modal-overlay.open { display: flex; }
.modal {
  background: white; border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  padding: 2rem 1.25rem; width: 100%; max-width: 100%;
  position: relative; animation: slideUp 0.3s ease; max-height: 90vh; overflow-y: auto;
}
@keyframes slideUp {
  from { transform: translateY(40px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.modal-close {
  position: absolute; top: 1rem; right: 1rem;
  width: 30px; height: 30px; border-radius: 50%; background: var(--gray-light);
  border: none; cursor: pointer; display: flex; align-items: center; justify-content: center;
  color: var(--gray); font-size: 0.9rem; transition: all 0.3s;
}
.modal-close:hover { background: var(--rose-pale); color: var(--rose); }
.modal h3 { font-size: 1.3rem; margin-bottom: 0.4rem; }
.modal .modal-subtitle { color: var(--gray); margin-bottom: 1.5rem; font-size: 0.85rem; }

/* ══════════════════════════════════════════
   TOAST
   ══════════════════════════════════════════ */
.toast-container {
  position: fixed; bottom: 1.25rem; left: 1rem; right: 1rem;
  z-index: 5000; display: flex; flex-direction: column; gap: 0.6rem;
}
.toast {
  background: white; border-radius: var(--radius-sm); padding: 0.875rem 1rem;
  display: flex; align-items: center; gap: 0.65rem;
  box-shadow: var(--shadow-lg); border-left: 4px solid var(--violet);
  animation: toastIn 0.4s ease, toastOut 0.4s ease 3.6s forwards;
  width: 100%;
}
.toast.success { border-color: #059669; }
.toast.error { border-color: #DC2626; }
.toast.info { border-color: var(--violet); }
.toast .toast-icon { font-size: 1rem; flex-shrink: 0; }
.toast.success .toast-icon { color: #059669; }
.toast.error .toast-icon { color: #DC2626; }
.toast.info .toast-icon { color: var(--violet); }
.toast .toast-text { font-size: 0.825rem; font-weight: 500; color: var(--dark); }
@keyframes toastIn { from { transform: translateY(20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
@keyframes toastOut { to { transform: translateY(20px); opacity: 0; } }

/* ══════════════════════════════════════════
   BACK TO TOP
   ══════════════════════════════════════════ */
#back-top {
  position: fixed; bottom: 1.5rem; right: 1rem;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--gradient); color: white; border: none;
  cursor: pointer; box-shadow: var(--shadow-md);
  display: none; align-items: center; justify-content: center;
  z-index: 499; transition: all 0.3s; flex-shrink: 0;
}
#back-top:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }

/* ══════════════════════════════════════════
   ACCOUNT BOTTOM NAV (mobile)
   ══════════════════════════════════════════ */
.account-bottom-nav {
  display: flex; position: fixed; bottom: 0; left: 0; right: 0;
  background: white; border-top: 1px solid rgba(139,92,246,0.1);
  z-index: 200; box-shadow: 0 -4px 20px rgba(139,92,246,0.08);
}
.account-bottom-nav a {
  display: flex; flex-direction: column; align-items: center; gap: 0.15rem;
  flex: 1; font-size: 0.62rem; font-weight: 600;
  color: var(--gray); text-decoration: none; padding: 0.6rem 0.25rem;
  transition: color 0.3s;
}
.account-bottom-nav a i { font-size: 1rem; }
.account-bottom-nav a.active, .account-bottom-nav a:hover { color: var(--violet); }

/* ══════════════════════════════════════════
   ADMIN MOBILE NAV
   ══════════════════════════════════════════ */
#admin-mobile-menu-btn {
  display: flex; background: none; border: none; cursor: pointer;
  padding: 6px; color: var(--dark); font-size: 1.2rem; flex-shrink: 0;
  align-items: center; justify-content: center;
}
#admin-mobile-nav { display: none; position: fixed; inset: 0; z-index: 300; }

/* ══════════════════════════════════════════
   AOS
   ══════════════════════════════════════════ */
[data-aos] { pointer-events: none; }
[data-aos].aos-animate { pointer-events: auto; }

/* ══════════════════════════════════════════
   SWIPER
   ══════════════════════════════════════════ */
.swiper-pagination-bullet { background: var(--violet-light); }
.swiper-pagination-bullet-active { background: var(--violet); }

/* ══════════════════════════════════════════
   ══════════════════════════════════════════
   TABLETTE — min-width: 640px
   ══════════════════════════════════════════
   ══════════════════════════════════════════ */
@media (min-width: 640px) {
  .container { padding: 0 1.5rem; }
  .booking-container { padding: 2rem 1.5rem; }
  #services-grid { grid-template-columns: repeat(2, 1fr); }
  .service-items-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-actions { flex-direction: row; flex-wrap: wrap; justify-content: flex-start; }
  .hero-actions .btn { width: auto; }
  .form-row { flex-direction: row; gap: 1rem; }
  .form-row .form-group { flex: 1; margin-bottom: 1.1rem; }
  .employee-list { grid-template-columns: repeat(2, 1fr); display: grid; }
  .time-slots { grid-template-columns: repeat(4, 1fr); }
  .booking-steps { flex-direction: row; flex-wrap: wrap; gap: 0.75rem; }
  .step-item { flex: 1; min-width: 130px; }
  .toast-container { left: auto; right: 1.5rem; width: 320px; }
  .toast { width: auto; }
}

/* ══════════════════════════════════════════
   ══════════════════════════════════════════
   TABLETTE LARGE — min-width: 768px
   ══════════════════════════════════════════
   ══════════════════════════════════════════ */
@media (min-width: 768px) {
  .container { padding: 0 2rem; }
  .section { padding: 5rem 0; }
  .section-sm { padding: 3.5rem 0; }
  .section-header { margin-bottom: 3.5rem; }
  .section-subtitle { font-size: 1.05rem; }

  /* Navbar */
  .nav-container { padding: 0 2rem; }
  .nav-logo { font-size: 1.6rem; }
  .nav-logo .logo-icon { width: 38px; height: 38px; }

  /* Hero */
  .hero-content { padding: calc(var(--nav-h) + 3rem) 2rem 4rem; }
  .hero-title { font-size: clamp(2.5rem, 6vw, 4rem); }
  .hero-stats { flex-wrap: nowrap; }
  .hero-scroll { bottom: 2rem; }

  /* About */
  .about-grid { flex-direction: row; gap: 3rem; align-items: center; }
  .about-img-wrapper { width: 45%; flex-shrink: 0; max-width: 400px; }
  .about-badge-float {
    display: flex; position: absolute; top: 1.5rem; left: -1.5rem;
    background: white; border-radius: var(--radius); padding: 0.875rem 1.25rem;
    box-shadow: var(--shadow-md); align-items: center; gap: 0.65rem;
  }
  .about-badge-float .emoji { font-size: 1.75rem; }
  .about-badge-float .text { font-size: 0.75rem; font-weight: 600; color: var(--dark); }
  .about-badge-float .sub { font-size: 0.68rem; color: var(--gray); }
  .about-img-accent {
    display: block; position: absolute;
    bottom: -1.5rem; right: -1.5rem;
    width: 160px; height: 160px;
    border-radius: var(--radius); overflow: hidden;
    box-shadow: var(--shadow-md); border: 3px solid white;
  }
  .about-img-accent img { width: 100%; height: 100%; object-fit: cover; }

  /* Gallery */
  .gallery-grid { grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(2, 240px); }
  .gallery-item { height: auto; }
  .gallery-item:first-child { grid-column: span 2; grid-row: span 2; }

  /* Team */
  #team-grid { grid-template-columns: repeat(4, 1fr); }
  .team-card .img-wrapper img { width: 140px; height: 140px; }

  /* Features */
  .features-grid { grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

  /* Services */
  #services-grid { grid-template-columns: repeat(3, 1fr); }
  .service-items-grid { grid-template-columns: repeat(2, 1fr); }

  /* Booking */
  .booking-container { padding: 2.5rem 2rem; }
  .booking-panel { padding: 2rem 1.75rem; }
  #booking-date-grid { flex-direction: row; }
  #booking-date-grid > div { flex: 1; }
  .booking-steps { gap: 0; }
  .step-item { flex: 1; position: relative; }
  .step-item::after {
    display: block; content: '';
    position: absolute; right: 0; top: 18px;
    width: calc(100% - 130px); height: 2px;
    background: rgba(139,92,246,0.15); left: 130px;
  }
  .step-item:last-child::after { display: none; }

  /* Contact */
  #contact-grid { flex-direction: row; gap: 3rem; }

  /* Footer */
  .footer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .footer-bottom { flex-direction: row; justify-content: space-between; text-align: left; }

  /* Modal */
  .modal-overlay { align-items: center; padding: 1rem; }
  .modal {
    border-radius: var(--radius-lg); max-width: 520px;
    padding: 2.5rem; max-height: 85vh;
    animation: slideIn 0.3s ease;
  }
  @keyframes slideIn {
    from { transform: translateY(-20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
  }

  /* Auth */
  .auth-form-wrap { padding: 0 1rem; }

  /* Pricing banner */
  .pricing-banner { flex-direction: row; align-items: center; text-align: left; padding: 2.5rem; }

  /* CTA actions */
  .cta-actions { flex-direction: row; justify-content: center; }
  .cta-actions .btn { width: auto; }

  /* Back to top */
  #back-top { right: 2rem; bottom: 2rem; }
}

/* ══════════════════════════════════════════
   ══════════════════════════════════════════
   DESKTOP — min-width: 1024px
   ══════════════════════════════════════════
   ══════════════════════════════════════════ */
@media (min-width: 1024px) {
  :root { --nav-h: 72px; }

  /* Navbar — liens visibles, hamburger masqué */
  .nav-links { display: flex; align-items: center; gap: 2rem; }
  .nav-hamburger { display: none; }
  .mobile-menu { display: none !important; }
  .nav-container { padding: 0 2rem; }
  .nav-logo { font-size: 1.75rem; }
  .nav-logo .logo-icon { width: 40px; height: 40px; }

  /* Hero */
  .hero-bg { background-attachment: fixed; }
  .hero-content {
    display: grid; grid-template-columns: 1fr 1fr;
    align-items: center; gap: 4rem;
    padding: calc(var(--nav-h) + 4rem) 2rem 5rem;
  }
  .hero-card {
    display: block; background: rgba(255,255,255,0.12);
    backdrop-filter: blur(20px); border: 1px solid rgba(255,255,255,0.2);
    border-radius: var(--radius-lg); padding: 2rem; color: white;
  }
  .hero-card-title { font-family: 'Playfair Display', serif; font-size: 1.2rem; margin-bottom: 1.25rem; }
  .hero-service-list { display: flex; flex-direction: column; gap: 0.65rem; }
  .hero-service-item {
    display: flex; align-items: center; justify-content: space-between;
    background: rgba(255,255,255,0.1); border-radius: var(--radius-sm);
    padding: 0.7rem 1rem; transition: background 0.3s;
  }
  .hero-service-item:hover { background: rgba(255,255,255,0.2); }
  .hero-service-item .name { font-size: 0.875rem; font-weight: 500; }
  .hero-service-item .price {
    font-weight: 700; font-size: 0.9rem;
    background: linear-gradient(135deg, #F9A8D4, #C4B5FD);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  }

  /* About */
  .about-grid { gap: 5rem; }
  .about-img-wrapper { width: 45%; max-width: 460px; padding-bottom: 2rem; }

  /* Account sidebar */
  .sidebar {
    display: block; width: 260px; flex-shrink: 0;
    background: white; border-right: 1px solid rgba(139,92,246,0.1); padding: 2rem 0;
    position: sticky; top: var(--nav-h); height: calc(100vh - var(--nav-h)); overflow-y: auto;
  }
  .sidebar-user { padding: 0 1.5rem 1.5rem; border-bottom: 1px solid rgba(139,92,246,0.1); margin-bottom: 1rem; }
  .dashboard-layout { flex-direction: row; }
  .dashboard-content { padding: 2.5rem; padding-bottom: 2.5rem; }
  .account-bottom-nav { display: none; }

  /* Profile grid */
  .profile-grid { flex-direction: row; gap: 1.5rem; align-items: start; }
  .profile-grid > * { flex: 1; }

  /* Admin sidebar visible */
  .admin-sidebar { display: block; }
  .admin-main { margin-left: var(--sidebar-w); }
  #admin-mobile-menu-btn { display: none !important; }
  .admin-topbar { padding: 1rem 2rem; }
  .admin-page { padding: 2rem; }
  #admin-dashboard-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 1.5rem; }
  .stat-cards { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }

  /* Booking steps inline */
  .booking-panel { padding: 2.5rem; }

  /* Search bar in filter */
  .search-input-wrap { width: auto; margin-left: auto; }
  .search-input-wrap input { width: 220px; }
  .search-input-wrap input:focus { width: 280px; }

  /* Services items */
  .service-items-grid { grid-template-columns: repeat(3, 1fr); }

  /* Footer */
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 3rem; }
}

/* ══════════════════════════════════════════
   WIDE — min-width: 1280px
   ══════════════════════════════════════════ */
@media (min-width: 1280px) {
  .container { padding: 0 2rem; }
  .hero-content { padding: calc(var(--nav-h) + 5rem) 2rem 6rem; }
  #services-grid { grid-template-columns: repeat(3, 1fr); }
  #team-grid { gap: 2.5rem; }
}
