﻿/* ═══════════════════════════════════════════
   LUMIÈRE CLINIC — Design System
   ═══════════════════════════════════════════ */

:root {
  --bg: #0a0a12;
  --fg: #fff;
  --gold: #C9A96E;
  --gold-light: #e6d5b0;
  --rose: #d4a0a0;
  --cream: #f5efe6;
  --plum: #8b6e8e;
  --teal: #7abfb5;
  --card-bg: rgba(10, 10, 18, 0.75);
  --card-border: rgba(201, 169, 110, 0.35);
  --ts:
    -2px -2px 0 #000, 2px -2px 0 #000,
    -2px  2px 0 #000, 2px  2px 0 #000,
     0   -2px 0 #000, 0    2px 0 #000,
    -2px  0   0 #000, 2px  0   0 #000,
    -1px -1px 0 #000, 1px -1px 0 #000,
    -1px  1px 0 #000, 1px  1px 0 #000,
     0   -1px 0 #000, 0    1px 0 #000,
    -1px  0   0 #000, 1px  0   0 #000;
  --shadow-light: 0 0 3px 3px rgba(201,169,110,.08), 0 0 8px 4px rgba(201,169,110,.04);
  --radius: 16px;
  --font-body: 'Manrope', sans-serif;
  --font-display: 'Cormorant Garamond', serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-snap-type: y proximity;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--fg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
  word-break: normal;
  hyphens: none;
  overflow-wrap: break-word;
}

p, h1, h2, h3, span:not(.gradient-text), a, button, label, strong, li {
  text-shadow: var(--ts);
}

/* ── Canvas ── */
#gl-canvas {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  z-index: 1;
  pointer-events: none;
  background: var(--bg);
}

/* ── Loader ── */
#loader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  transition: opacity .6s ease;
}
#loader.hidden { opacity: 0; pointer-events: none; }
.loader-inner { text-align: center; }
.loader-logo {
  font-family: var(--font-display);
  font-size: 2.4rem; font-weight: 300;
  letter-spacing: 0.3em; color: var(--gold);
  margin-bottom: 2rem;
}
.loader-bar-track {
  width: 200px; height: 2px;
  background: rgba(255,255,255,.1);
  border-radius: 2px; margin: 0 auto;
}
.loader-bar-fill {
  height: 100%; width: 0%;
  background: linear-gradient(90deg, var(--gold), var(--rose));
  border-radius: 2px;
  transition: width .2s ease;
}
.loader-pct {
  margin-top: 1rem;
  font-size: .75rem;
  letter-spacing: .15em;
  color: rgba(255,255,255,.4);
}

/* ── UI Layer ── */
#ui-layer { position: relative; z-index: 10; }
.stage { width: 100%; position: relative; }

.page {
  min-height: 100vh;
  min-height: 100dvh;
  scroll-snap-align: start;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px 2rem 2rem;
}

.page-inner {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
}

/* ── Navbar ── */
.navbar {
  position: fixed; top: 1rem; left: 50%; transform: translateX(-50%);
  width: calc(100% - 3rem); max-width: 1200px;
  z-index: 100;
  background: rgba(10, 10, 18, 0.85);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--card-border);
  border-radius: 60px;
  padding: .6rem 1.5rem;
  transition: all .3s ease;
}
.nav-content {
  display: flex; align-items: center; justify-content: space-between;
}
.logo {
  display: flex; align-items: center; gap: .6rem;
  text-decoration: none;
}
.logo-img { height: 32px; width: auto; border-radius: 4px; }
.logo-text {
  font-family: var(--font-display);
  font-size: 1.1rem; font-weight: 400;
  letter-spacing: .2em; color: var(--gold);
}
.nav-links { display: flex; gap: 1.5rem; }
.nav-link {
  font-size: .8rem; font-weight: 500;
  letter-spacing: .04em;
  color: rgba(255,255,255,.65);
  text-decoration: none;
  transition: color .3s;
  position: relative;
}
.nav-link::after {
  content: ''; position: absolute;
  bottom: -4px; left: 0; width: 0; height: 1px;
  background: var(--gold);
  transition: width .3s ease;
}
.nav-link:hover, .nav-link.active { color: var(--gold); }
.nav-link.active::after, .nav-link:hover::after { width: 100%; }

.nav-phone {
  display: flex; align-items: center; gap: .5rem;
  font-size: .8rem; font-weight: 500;
  color: var(--gold); text-decoration: none;
  transition: opacity .3s;
}
.nav-phone:hover { opacity: .8; }

.burger {
  display: none; background: none; border: none; cursor: pointer;
  padding: 6px; flex-direction: column; gap: 5px;
}
.burger span {
  display: block; width: 22px; height: 2px;
  background: var(--gold); border-radius: 2px;
  transition: all .3s;
}

/* ── Mobile Drawer ── */
.nav-scrim[hidden], .nav-drawer[hidden] { display: none !important; }
.nav-scrim {
  position: fixed; inset: 0; z-index: 199;
  background: rgba(0,0,0,.6);
  backdrop-filter: blur(4px);
}
.nav-drawer {
  position: fixed; top: 0; right: 0;
  width: 280px; height: 100vh; z-index: 200;
  background: rgba(10,10,18,.97);
  border-left: 1px solid var(--card-border);
  padding: 2rem 1.5rem;
  display: flex; flex-direction: column; gap: 1rem;
}
.drawer-header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 1rem;
}
.drawer-close {
  background: none; border: none; color: var(--gold);
  font-size: 1.4rem; cursor: pointer;
}
.drawer-link {
  font-size: 1rem; color: rgba(255,255,255,.7);
  text-decoration: none; padding: .5rem 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
  transition: color .3s;
}
.drawer-link:hover, .drawer-link.active { color: var(--gold); }
.drawer-phone { margin-top: auto; }
.drawer-phone a {
  color: var(--gold); font-size: 1.1rem; text-decoration: none;
  font-weight: 600;
}

/* ── Badge ── */
.badge {
  display: inline-block;
  font-size: .65rem; font-weight: 600;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--card-border);
  padding: .4rem 1.2rem;
  border-radius: 100px;
  background: rgba(201,169,110,.08);
  margin-bottom: 1.5rem;
}

/* ── Gradient Text ── */
.gradient-text {
  display: inline-block;
  background: linear-gradient(135deg, var(--gold), var(--rose), var(--plum));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: none !important;
  -webkit-text-stroke: 0;
  filter: drop-shadow(-2px -2px 0 #000) drop-shadow(2px -2px 0 #000)
          drop-shadow(-2px 2px 0 #000) drop-shadow(2px 2px 0 #000);
}

/* ── Section Titles ── */
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400; line-height: 1.15;
  margin-bottom: 1rem;
}
.section-desc {
  font-size: .95rem;
  color: rgba(255,255,255,.7);
  max-width: 600px;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

/* ── Hero ── */
.hero-inner { text-align: center; }
.hero-content { max-width: 800px; margin: 0 auto; }
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 5rem);
  font-weight: 300; line-height: 1.05;
  margin-bottom: 1.5rem;
  letter-spacing: -.01em;
}
.hero-desc {
  font-size: 1.05rem;
  color: rgba(255,255,255,.7);
  max-width: 560px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}
.hero-cta { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-bottom: 3rem; }

.btn-primary {
  display: inline-flex; align-items: center;
  padding: .85rem 2.2rem;
  background: linear-gradient(135deg, var(--gold), #b8944d);
  color: #0a0a12; font-weight: 600; font-size: .85rem;
  letter-spacing: .06em; border: none; border-radius: 100px;
  cursor: pointer; text-decoration: none;
  transition: all .3s ease;
  text-shadow: none !important;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(201,169,110,.35); }

.btn-outline {
  display: inline-flex; align-items: center;
  padding: .85rem 2.2rem;
  background: rgba(0,0,0,.4);
  color: var(--gold); font-weight: 500; font-size: .85rem;
  letter-spacing: .06em;
  border: 2px solid var(--card-border); border-radius: 100px;
  cursor: pointer; text-decoration: none;
  transition: all .3s ease;
}
.btn-outline:hover { background: rgba(201,169,110,.1); border-color: var(--gold); }

.hero-stats {
  display: flex; justify-content: center; align-items: center;
  gap: 2rem; flex-wrap: wrap;
}
.stat { text-align: center; }
.stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem; font-weight: 400;
  color: var(--gold);
}
.stat-label { font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.5); }
.stat-divider { width: 1px; height: 40px; background: var(--card-border); }

/* ── Services Grid ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}
.service-card {
  background: var(--card-bg);
  border: 2px solid var(--card-border);
  border-radius: var(--radius);
  padding: 1.8rem;
  transition: all .3s ease;
  position: relative; overflow: hidden;
}
.service-card::before {
  content: ''; position: absolute;
  top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--rose));
  opacity: 0; transition: opacity .3s;
}
.service-card:hover { border-color: var(--gold); transform: translateY(-4px); box-shadow: var(--shadow-light); }
.service-card:hover::before { opacity: 1; }
.svc-icon { font-size: 1.8rem; margin-bottom: 1rem; }
.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem; font-weight: 500;
  margin-bottom: .6rem; color: var(--gold-light);
}
.service-card p { font-size: .82rem; color: rgba(255,255,255,.6); line-height: 1.6; }
.svc-price {
  display: inline-block; margin-top: 1rem;
  font-size: .75rem; font-weight: 600;
  letter-spacing: .08em;
  color: var(--gold);
  border: 1px solid var(--card-border);
  padding: .3rem .8rem; border-radius: 100px;
  background: rgba(201,169,110,.06);
}

/* ── Specialists Grid ── */
.specialists-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
}
.specialist-card {
  background: var(--card-bg);
  border: 2px solid rgba(139,110,142,.3);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: all .3s ease;
}
.specialist-card:hover { border-color: var(--plum); transform: translateY(-4px); box-shadow: 0 0 20px rgba(139,110,142,.15); }
.spec-avatar {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--plum));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 1.1rem; font-weight: 500;
  color: #fff; margin: 0 auto 1rem;
  text-shadow: none !important;
}
.specialist-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem; font-weight: 500; margin-bottom: .3rem;
}
.spec-title { font-size: .75rem; color: rgba(255,255,255,.5); margin-bottom: .3rem; }
.spec-exp { font-size: .7rem; color: var(--gold); margin-bottom: .8rem; font-weight: 600; }
.spec-tags { display: flex; flex-wrap: wrap; gap: .3rem; justify-content: center; }
.spec-tags span {
  font-size: .6rem; letter-spacing: .06em;
  padding: .2rem .6rem; border-radius: 100px;
  border: 1px solid var(--card-border);
  color: rgba(255,255,255,.5);
  text-transform: uppercase;
}

/* ── Results ── */
.results-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
  margin-bottom: 2rem;
}
.result-card {
  background: var(--card-bg);
  border: 2px solid rgba(122,191,181,.3);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: all .3s ease;
}
.result-card:hover { border-color: var(--teal); transform: translateY(-4px); }
.result-number {
  font-family: var(--font-display);
  font-size: 2.4rem; font-weight: 400;
  color: var(--teal);
  margin-bottom: .5rem;
}
.result-card p { font-size: .8rem; color: rgba(255,255,255,.6); line-height: 1.5; }

.testimonials { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.testimonial-card {
  background: var(--card-bg);
  border: 2px solid var(--card-border);
  border-radius: var(--radius);
  padding: 2rem;
}
.testimonial-text {
  font-family: var(--font-display);
  font-size: 1rem; font-style: italic;
  color: rgba(255,255,255,.8);
  line-height: 1.6; margin-bottom: 1rem;
}
.testimonial-author { display: flex; justify-content: space-between; align-items: center; }
.testimonial-author strong { font-size: .85rem; color: var(--gold); }
.testimonial-author span { color: var(--gold); font-size: .9rem; text-shadow: none !important; }

/* ── About Grid ── */
.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}
.about-card {
  background: var(--card-bg);
  border: 2px solid var(--card-border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: all .3s ease;
}
.about-card:hover { border-color: var(--gold); transform: translateY(-4px); box-shadow: var(--shadow-light); }
.about-icon { font-size: 1.6rem; margin-bottom: 1rem; }
.about-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem; font-weight: 500;
  color: var(--gold-light);
  margin-bottom: .5rem;
}
.about-card p { font-size: .82rem; color: rgba(255,255,255,.6); line-height: 1.6; }

/* ── Contact ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 2rem;
  align-items: start;
}
.contact-form-wrap {
  background: var(--card-bg);
  border: 2px solid var(--card-border);
  border-radius: var(--radius);
  padding: 2.5rem;
}
.contact-form { display: flex; flex-direction: column; gap: 1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(201,169,110,.2);
  border-radius: 12px;
  padding: .9rem 1.2rem;
  font-family: var(--font-body);
  font-size: .85rem;
  color: var(--fg);
  transition: border-color .3s;
  outline: none;
  text-shadow: none !important;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255,255,255,.3);
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--gold);
}
.contact-form select { appearance: none; cursor: pointer; }
.contact-form select option { background: var(--bg); color: var(--fg); }
.contact-form textarea { resize: vertical; min-height: 80px; }

.btn-submit {
  width: 100%; justify-content: center;
  font-size: .9rem; padding: 1rem;
}

.contact-info {
  display: flex; flex-direction: column; gap: 1.5rem;
}
.info-block {
  display: flex; gap: 1rem; align-items: flex-start;
  background: var(--card-bg);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 12px;
  padding: 1.2rem 1.5rem;
}
.info-icon { font-size: 1.3rem; flex-shrink: 0; }
.info-block strong { display: block; font-size: .8rem; color: var(--gold); margin-bottom: .2rem; letter-spacing: .05em; }
.info-block p { font-size: .82rem; color: rgba(255,255,255,.6); }
.info-block a { color: var(--gold); text-decoration: none; }
.info-block a:hover { text-decoration: underline; }

.license-badge {
  display: flex; align-items: center; gap: .5rem;
  font-size: .7rem; letter-spacing: .08em;
  color: rgba(255,255,255,.4);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 8px;
  padding: .8rem 1rem;
  background: rgba(255,255,255,.02);
}

/* ── Reveal Animation ── */
.reveal-3d {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .6s ease, transform .6s ease;
}
.page.is-active .reveal-3d {
  opacity: 1;
  transform: translateY(0);
}
.page.is-active .reveal-3d:nth-child(2) { transition-delay: .1s; }
.page.is-active .reveal-3d:nth-child(3) { transition-delay: .2s; }
.page.is-active .reveal-3d:nth-child(4) { transition-delay: .3s; }

/* ═══════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════ */

@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .specialists-grid { grid-template-columns: repeat(2, 1fr); }
  .results-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .navbar {
    top: 0; width: 100%;
    border-radius: 0;
    background: rgba(10,10,18,.95);
    left: 0; transform: none;
    max-width: 100%;
  }
  .nav-links, .nav-phone { display: none; }
  .burger { display: flex; }

  .page { padding: 90px 1.2rem 2rem; align-items: flex-start; }

  .hero-title { font-size: clamp(2.2rem, 8vw, 3.2rem); }
  .hero-stats { gap: 1rem; }
  .stat-num { font-size: 1.5rem; }
  .stat-divider { height: 28px; }

  .services-grid,
  .specialists-grid,
  .results-grid,
  .about-grid,
  .testimonials { grid-template-columns: 1fr; }

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

  .section-title { font-size: clamp(1.6rem, 5vw, 2.2rem); }
}

@media (max-width: 480px) {
  .hero-cta { flex-direction: column; align-items: center; }
  .btn-primary, .btn-outline { width: 100%; justify-content: center; }
  .hero-stats { flex-direction: column; gap: .8rem; }
  .stat-divider { width: 40px; height: 1px; }
}
