/* ===================================================================
   RANY'S — Luxury Beauty Experience — Design System
=================================================================== */

:root {
  --gold: #a9822f;
  --gold-light: #d9b866;
  --gold-pale: #e9d9b3;
  --purple-vivid: #6b3fd4;
  --purple-bright: #9b7ded;
  --plum: #4b2e83;
  --plum-2: #5b2fbf;
  --plum-deep: #170f2b;
  --plum-deep-2: #201338;
  --lilac: #e7defa;
  --lilac-pale: #f5f1fd;
  --cream: #f8f6fb;
  --ink: #3d2a63;
  --ink-soft: #6b5a99;
  --line-gold: rgba(169, 130, 47, 0.35);

  --font-display: 'Manrope', sans-serif;
  --font-accent: 'Manrope', sans-serif;
  --font-body: 'Manrope', sans-serif;
  --font-label: 'Manrope', sans-serif;

  --container: 1220px;
  --nav-h: 84px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: auto; }
html, body { width: 100%; overflow-x: hidden; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 32px; }

/* ---------- Selection ---------- */
::selection { background: var(--gold); color: #fff; }

/* ---------- Scrollbar (subtle) ---------- */
::-webkit-scrollbar { width: 9px; }
::-webkit-scrollbar-track { background: var(--lilac-pale); }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 6px; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; letter-spacing: -0.02em; line-height: 1.12; color: var(--plum-2); }
.eyebrow {
  font-family: var(--font-label);
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: var(--gold); display: inline-block; }
.accent { font-family: var(--font-accent); color: var(--ink-soft); }

.section-title { font-size: clamp(30px, 4vw, 48px); margin-top: 14px; }
.section-lede { font-family: var(--font-accent); font-size: 19px; color: var(--ink-soft); margin-top: 16px; max-width: 560px; line-height: 1.6; }

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-label);
  font-size: 11.5px;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  padding: 17px 34px;
  border-radius: 3px;
  overflow: hidden;
  isolation: isolate;
}
.btn-gold { background: var(--gold); color: #fff; }
.btn-gold::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--plum-2);
  transform: translateY(101%);
  transition: transform 0.5s cubic-bezier(.16,1,.3,1);
}
.btn-gold:hover::before { transform: translateY(0); }
.btn-outline { border: 1px solid rgba(255,255,255,0.55); color: #fff; }
.btn-outline.dark { border-color: var(--plum-2); color: var(--plum-2); }
.btn-outline::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(255,255,255,0.14);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.45s cubic-bezier(.16,1,.3,1);
}
.btn-outline:hover::before { transform: scaleX(1); }
.btn-sm { padding: 12px 24px; font-size: 10.5px; }

/* ---------- Custom cursor ---------- */
.cursor-dot, .cursor-ring {
  position: fixed; top: 0; left: 0; pointer-events: none; z-index: 9999;
  transform: translate(-50%, -50%);
  border-radius: 50%;
}
.cursor-dot { width: 6px; height: 6px; background: var(--gold); }
.cursor-ring { width: 34px; height: 34px; border: 1px solid rgba(169,130,47,0.6); transition: width .25s, height .25s, opacity .25s, border-color .25s; }
.cursor-ring.big { width: 68px; height: 68px; border-color: rgba(255,255,255,0.85); }
@media (hover: none), (pointer: coarse) { .cursor-dot, .cursor-ring { display: none; } }

/* ---------- Preloader ---------- */
#preloader {
  position: fixed; inset: 0; z-index: 10000;
  background: var(--plum-deep);
  display: flex; align-items: center; justify-content: center; flex-direction: column;
}
#preloader img { width: 64px; height: 64px; border-radius: 50%; opacity: 0; }
.preloader-bar { width: 160px; height: 1px; background: rgba(255,255,255,0.15); margin-top: 22px; overflow: hidden; }
.preloader-bar span { display: block; height: 100%; width: 0%; background: var(--gold); }
.preloader-label { font-family: var(--font-label); font-size: 10px; letter-spacing: 3px; color: rgba(255,255,255,0.55); margin-top: 14px; opacity: 0; }

/* ---------- Nav ---------- */
#nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--nav-h);
  display: flex; align-items: center;
  transition: background .4s ease, box-shadow .4s ease, height .4s ease;
}
#nav .container { display: flex; align-items: center; justify-content: space-between; width: 100%; }
#nav.scrolled { background: rgba(248, 246, 251, 0.88); backdrop-filter: blur(10px); box-shadow: 0 6px 30px rgba(61,42,99,0.1); height: 70px; }
.nav-logo { display: flex; align-items: center; gap: 12px; }
.nav-logo img { width: 38px; height: 38px; border-radius: 50%; }
.nav-logo-text { font-family: var(--font-display); font-weight: 800; font-size: 17px; letter-spacing: 1px; color: #fff; transition: color .4s; }
#nav.scrolled .nav-logo-text { color: var(--plum-2); }
.nav-links { display: flex; align-items: center; gap: 44px; }
.nav-links a {
  position: relative;
  font-family: var(--font-label); font-size: 12px; letter-spacing: 1.6px; text-transform: uppercase;
  color: rgba(255,255,255,0.88); padding: 6px 0; transition: color .4s;
}
#nav.scrolled .nav-links a { color: var(--plum-2); }
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 0; background: var(--gold);
  transition: width .35s cubic-bezier(.16,1,.3,1);
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-cta { display: flex; align-items: center; gap: 18px; }
#nav .btn-outline { padding: 11px 22px; font-size: 10.5px; }

.nav-burger { display: none; width: 26px; height: 18px; position: relative; z-index: 1200; }
.nav-burger span { position: absolute; left: 0; right: 0; height: 1px; background: #fff; transition: transform .35s, opacity .35s, background .35s; }
#nav.scrolled .nav-burger span { background: var(--plum-2); }
.nav-burger span:nth-child(1) { top: 0; }
.nav-burger span:nth-child(2) { top: 8px; }
.nav-burger span:nth-child(3) { top: 16px; }
body.menu-open .nav-burger span { background: #fff; }
body.menu-open .nav-burger span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
body.menu-open .nav-burger span:nth-child(2) { opacity: 0; }
body.menu-open .nav-burger span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; background: var(--plum-deep); z-index: 1100;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 26px;
  transform: translateY(-100%); transition: transform .55s cubic-bezier(.76,0,.24,1);
}
body.menu-open .mobile-menu { transform: translateY(0); }
.mobile-menu a { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.01em; font-size: 28px; color: #eae3f8; }
.mobile-menu .accent { display: block; text-align: center; margin-top: 30px; color: rgba(255,255,255,0.5); }

/* ---------- Hero ---------- */
.hero {
  position: relative; height: 100vh; min-height: 640px; overflow: hidden;
  display: flex; align-items: flex-end;
  background: var(--plum-deep);
}
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 118%; object-fit: cover; filter: saturate(0.85) contrast(1.05) brightness(0.75); }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(23,15,43,0.35) 0%, rgba(23,15,43,0.25) 40%, rgba(23,15,43,0.85) 100%);
}
.hero-content { position: relative; z-index: 2; width: 100%; padding: 0 0 90px; }
.hero-eyebrow { color: var(--gold-light); }
.hero-eyebrow::before { background: var(--gold-light); }
.hero-title {
  font-size: clamp(46px, 8vw, 96px);
  color: #fff; margin-top: 18px; max-width: 900px;
  letter-spacing: -0.03em;
}
.hero-title .line { overflow: hidden; display: block; }
.hero-title .line span { display: inline-block; will-change: transform; }
.hero-sub { font-family: var(--font-accent); font-size: 20px; color: rgba(255,255,255,0.82); margin-top: 20px; max-width: 480px; }
.hero-actions { display: flex; gap: 18px; margin-top: 38px; flex-wrap: wrap; }
.hero-scroll {
  position: absolute; right: 40px; bottom: 40px; z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  color: rgba(255,255,255,0.7); font-family: var(--font-label); font-size: 10px; letter-spacing: 2px;
}
.hero-scroll .line-anim { width: 1px; height: 46px; background: rgba(255,255,255,0.3); position: relative; overflow: hidden; }
.hero-scroll .line-anim::after { content: ""; position: absolute; top: -100%; left: 0; width: 100%; height: 100%; background: var(--gold-light); animation: scrollLine 2.2s ease-in-out infinite; }
@keyframes scrollLine { 0% { top: -100%; } 50% { top: 0; } 100% { top: 100%; } }

/* ---------- Sections generic ---------- */
section { position: relative; }
.sec { padding: 130px 0; }
.sec-sm { padding: 90px 0; }
.sec-dark { background: var(--plum-deep); color: #eae3f8; }
.sec-dark h2, .sec-dark h3 { color: #fff; }
.sec-dark .accent { color: rgba(234,227,248,0.75); }
.sec-lilac { background: linear-gradient(180deg, var(--lilac-pale), var(--lilac)); }

.reveal { opacity: 0; transform: translateY(46px); }
.reveal-fade { opacity: 0; }
.reveal-scale { opacity: 0; transform: scale(0.92); }

/* ---------- Intro strip ---------- */
.intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.intro-figure { position: relative; }
.intro-figure img { border-radius: 4px; width: 100%; height: 480px; object-fit: cover; }
.intro-figure .ring {
  position: absolute; width: 150px; height: 150px; border: 1px solid var(--gold);
  border-radius: 50%; bottom: -40px; left: -40px; opacity: 0.55;
}
.intro-body p { font-size: 17px; line-height: 1.9; color: var(--ink-soft); margin-top: 24px; max-width: 480px; }
.intro-badges { display: flex; gap: 34px; margin-top: 40px; flex-wrap: wrap; }
.intro-badge { font-family: var(--font-label); font-size: 10.5px; letter-spacing: 1.4px; text-transform: uppercase; color: var(--plum-2); display: flex; align-items: center; gap: 10px; }
.intro-badge .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--gold); }

/* ---------- Univers cards ---------- */
.univers-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; flex-wrap: wrap; }
.univers-grid { margin-top: 60px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; }
.univers-card {
  position: relative; height: 520px; overflow: hidden; display: flex; align-items: flex-end;
  cursor: pointer;
}
.univers-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); filter: saturate(0.85) brightness(0.72); transition: transform 1.1s cubic-bezier(.16,1,.3,1), filter .6s; }
.univers-card:hover img { transform: scale(1.22); filter: saturate(0.95) brightness(0.55); }
.univers-card::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(23,15,43,0.05) 0%, rgba(23,15,43,0.78) 100%);
}
.univers-num { position: absolute; top: 26px; left: 26px; z-index: 2; font-family: var(--font-label); font-size: 11px; letter-spacing: 2px; color: rgba(255,255,255,0.75); }
.univers-body { position: relative; z-index: 2; padding: 30px 26px; color: #fff; }
.univers-body h3 { color: #fff; font-size: 22px; line-height: 1.25; }
.univers-body span.tag { display: block; margin-top: 10px; font-family: var(--font-accent); font-size: 13.5px; color: rgba(255,255,255,0.72); }
.univers-arrow {
  margin-top: 18px; width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.5);
  display: flex; align-items: center; justify-content: center; transform: translateX(0); transition: transform .4s, background .4s, border-color .4s;
}
.univers-card:hover .univers-arrow { transform: translateX(6px); background: var(--gold); border-color: var(--gold); }

/* ---------- Signature ritual (pinned) ---------- */
.ritual { background: var(--plum-deep); color: #eae3f8; }
.ritual-wrap { display: grid; grid-template-columns: 1fr 1fr; min-height: 100vh; }
.ritual-visual { position: relative; overflow: hidden; }
.ritual-visual img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.85) brightness(0.8); }
.ritual-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(23,15,43,0.15), rgba(23,15,43,0.65)); }
.ritual-text { display: flex; flex-direction: column; justify-content: center; padding: 90px 70px; }
.ritual-text .section-title { color: #fff; }
.ritual-list { margin-top: 40px; display: flex; flex-direction: column; gap: 0; }
.ritual-item { display: flex; justify-content: space-between; align-items: baseline; padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,0.12); }
.ritual-item .name { font-family: var(--font-display); font-size: 17px; }
.ritual-item .note { display: block; font-family: var(--font-accent); font-size: 12.5px; color: rgba(234,227,248,0.55); margin-top: 4px; }
.ritual-item .price { font-family: var(--font-label); font-size: 13px; letter-spacing: 1px; color: var(--gold-light); white-space: nowrap; padding-left: 20px; }
.ritual-pack { margin-top: 30px; border: 1px solid rgba(217,184,102,0.5); border-radius: 3px; padding: 22px 26px; display: flex; justify-content: space-between; align-items: center; background: rgba(217,184,102,0.06); }
.ritual-pack .label { font-family: var(--font-display); font-size: 15px; letter-spacing: 0.5px; }
.ritual-pack .price { font-family: var(--font-display); font-size: 22px; color: var(--gold-light); }

/* ---------- Marquee ---------- */
.marquee-strip { padding: 34px 0; background: var(--gold); overflow: hidden; }
.marquee-track { display: flex; white-space: nowrap; will-change: transform; }
.marquee-track span {
  font-family: var(--font-display); font-size: 26px; color: #fff; padding: 0 30px; display: inline-flex; align-items: center; gap: 26px;
}
.marquee-track span::after { content: "✦"; font-size: 14px; color: rgba(255,255,255,0.7); }

/* ---------- Gallery ---------- */
.gallery-grid { margin-top: 60px; display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: 130px; gap: 6px; }
.g-item { overflow: hidden; border-radius: 3px; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform .8s cubic-bezier(.16,1,.3,1); }
.g-item:hover img { transform: scale(1.18); }
.g1 { grid-column: span 2; grid-row: span 3; }
.g2 { grid-column: span 2; grid-row: span 2; }
.g3 { grid-column: span 2; grid-row: span 2; }
.g4 { grid-column: span 2; grid-row: span 2; }
.g5 { grid-column: span 2; grid-row: span 3; }
.g6 { grid-column: span 2; grid-row: span 2; }

/* ---------- Quote ---------- */
.quote { text-align: center; max-width: 780px; margin: 0 auto; }
.quote-mark { width: 40px; height: 1px; background: var(--gold); margin: 0 auto; }
.quote p { font-family: var(--font-accent); font-weight: 500; letter-spacing: -0.01em; font-size: 28px; line-height: 1.5; color: var(--plum-2); margin-top: 26px; }
.quote .who { margin-top: 26px; font-family: var(--font-label); font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--gold); }

/* ---------- CTA banner ---------- */
.cta-banner { background: var(--plum-deep); color: #fff; text-align: center; padding: 140px 0; position: relative; overflow: hidden; }
.cta-banner::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 20%, rgba(169,130,47,0.25), transparent 60%);
}
.cta-banner .section-title { color: #fff; max-width: 760px; margin: 18px auto 0; }
.cta-actions { margin-top: 42px; display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; position: relative; z-index: 2; }

/* ---------- Footer ---------- */
footer { position: relative; overflow: hidden; background: var(--plum-deep-2); color: rgba(234,227,248,0.75); padding: 90px 0 30px; }
.footer-top { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 50px; }
.footer-brand-logo { display: flex; align-items: center; gap: 14px; }
.footer-brand-logo img { width: 46px; height: 46px; border-radius: 50%; }
.footer-brand-logo span { font-family: var(--font-display); font-weight: 800; font-size: 18px; color: #fff; letter-spacing: 1px; }
.footer-tag { font-family: var(--font-accent); color: rgba(234,227,248,0.55); margin-top: 16px; max-width: 260px; }
.footer-col h4 { font-family: var(--font-label); font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--gold-light); margin-bottom: 20px; }
.footer-col a, .footer-col p { display: block; font-size: 14.5px; color: rgba(234,227,248,0.75); margin-bottom: 12px; transition: color .3s; }
.footer-col a:hover { color: var(--gold-light); }
.footer-bottom { margin-top: 70px; padding-top: 26px; border-top: 1px solid rgba(234,227,248,0.1); display: flex; justify-content: space-between; font-size: 12px; color: rgba(234,227,248,0.4); flex-wrap: wrap; gap: 10px; }
.footer-social { display: flex; gap: 14px; }
.footer-social a { width: 36px; height: 36px; border: 1px solid rgba(234,227,248,0.25); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 13px; }

/* ---------- Page header (inner pages) ---------- */
.page-header { position: relative; height: 62vh; min-height: 420px; display: flex; align-items: flex-end; background: var(--plum-deep); overflow: hidden; }
.page-header-media { position: absolute; inset: 0; }
.page-header-media img { width: 100%; height: 118%; object-fit: cover; filter: saturate(0.85) brightness(0.6); }
.page-header-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(23,15,43,0.4), rgba(23,15,43,0.88)); }
.page-header-content { position: relative; z-index: 2; padding-bottom: 70px; }
.page-header .section-title { color: #fff; }
.breadcrumb { font-family: var(--font-label); font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: rgba(255,255,255,0.55); margin-top: 18px; }
.breadcrumb .gold { color: var(--gold-light); }

/* ---------- Soins page ---------- */
.soin-block { padding: 110px 0; }
.soin-block:nth-child(even) { background: var(--lilac-pale); }
.soin-flex { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 70px; align-items: center; }
.soin-flex.rev { grid-template-columns: 1.1fr 0.9fr; }
.soin-flex.rev .soin-visual { order: 2; }
.soin-visual { position: relative; }
.soin-visual img { width: 100%; height: 520px; object-fit: cover; border-radius: 4px; }
.soin-num { position: absolute; top: -22px; left: -12px; font-family: var(--font-display); font-size: 90px; color: rgba(169,130,47,0.18); z-index: -1; }
.soin-sub-list { margin-top: 34px; display: flex; flex-direction: column; gap: 22px; }
.soin-sub { border-bottom: 1px solid var(--line-gold); padding-bottom: 20px; }
.soin-sub-head { display: flex; justify-content: space-between; align-items: center; cursor: pointer; }
.soin-sub-head h4 { font-size: 18px; color: var(--plum-2); }
.soin-sub-head .from { font-family: var(--font-label); font-size: 11px; letter-spacing: 1px; color: var(--gold); }
.soin-sub-items { max-height: 0; overflow: hidden; transition: max-height .5s cubic-bezier(.16,1,.3,1); }
.soin-sub-row { display: flex; justify-content: space-between; padding: 10px 0; font-size: 14.5px; color: var(--ink-soft); }
.soin-sub-row b { color: var(--gold); font-weight: 600; }
.soin-sub.open .soin-sub-items { max-height: 400px; }
.soin-sub-plus { width: 22px; height: 22px; position: relative; flex-shrink: 0; margin-left: 14px; }
.soin-sub-plus::before, .soin-sub-plus::after { content: ""; position: absolute; background: var(--gold); top: 50%; left: 50%; transform: translate(-50%,-50%); }
.soin-sub-plus::before { width: 12px; height: 1px; }
.soin-sub-plus::after { width: 1px; height: 12px; transition: transform .3s; }
.soin-sub.open .soin-sub-plus::after { transform: translate(-50%,-50%) rotate(90deg); scale: 0; }

/* ---------- Tarifs page ---------- */
.tarif-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 50px; }
.tarif-tab {
  font-family: var(--font-label); font-size: 11px; letter-spacing: 1.4px; text-transform: uppercase;
  padding: 12px 22px; border: 1px solid var(--line-gold); border-radius: 3px; color: var(--ink-soft);
  transition: background .3s, color .3s, border-color .3s;
}
.tarif-tab.active, .tarif-tab:hover { background: var(--plum-2); color: #fff; border-color: var(--plum-2); }
.tarif-panels { margin-top: 60px; }
.tarif-panel { display: none; }
.tarif-panel.active { display: block; }
.tarif-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 60px; }
.tarif-grid.single { grid-template-columns: 1fr; max-width: 640px; }
.tarif-row { display: flex; justify-content: space-between; align-items: baseline; padding: 16px 0; border-bottom: 1px solid var(--line-gold); }
.tarif-row .n { font-size: 16px; color: var(--plum-2); }
.tarif-row .note { display: block; font-family: var(--font-accent); font-size: 12px; color: var(--ink-soft); margin-top: 3px; }
.tarif-row .p { font-family: var(--font-label); font-size: 13px; letter-spacing: 0.5px; color: var(--gold); white-space: nowrap; padding-left: 16px; }
.tarif-pack { grid-column: 1 / -1; margin-top: 10px; border: 1px solid var(--gold); border-radius: 4px; padding: 26px 30px; display: flex; justify-content: space-between; align-items: center; background: rgba(169,130,47,0.06); }
.tarif-pack .label { font-family: var(--font-display); font-size: 17px; color: var(--plum-2); }
.tarif-pack .price { font-family: var(--font-display); font-size: 26px; color: var(--gold); }
.tarif-note-top { margin-top: 60px; }

/* ---------- Contact page ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }
.contact-card { display: flex; gap: 20px; padding: 26px 0; border-bottom: 1px solid var(--line-gold); }
.contact-card .ic { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--gold); display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--gold); }
.contact-card h4 { font-size: 16.5px; color: var(--plum-2); }
.contact-card p, .contact-card a { color: var(--ink-soft); font-size: 15px; margin-top: 4px; }
.contact-card a:hover { color: var(--gold); }
.map-block {
  height: 100%; min-height: 420px; border-radius: 4px; background: linear-gradient(135deg, var(--plum-2), var(--plum-deep));
  display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden;
  transition: transform .3s, box-shadow .3s;
}
.map-block:hover { transform: translateY(-3px); box-shadow: 0 20px 50px rgba(23,15,43,0.35); }
.map-block .pin { text-align: center; color: #fff; }
.map-block .pin .dot { width: 14px; height: 14px; border-radius: 50%; background: var(--gold-light); margin: 0 auto 14px; box-shadow: 0 0 0 8px rgba(217,184,102,0.2), 0 0 0 16px rgba(217,184,102,0.1); }
.map-block-cta {
  display: inline-block; margin-top: 22px; font-family: var(--font-label); font-size: 11px; letter-spacing: 1.2px;
  text-transform: uppercase; color: var(--gold-light); border-bottom: 1px solid rgba(217,184,102,0.5); padding-bottom: 4px;
}
.maps-link { display: inline-block; margin-top: 6px; font-family: var(--font-label); font-size: 11px; letter-spacing: 0.6px; color: var(--gold); }
.maps-link:hover { color: var(--plum-2); }

.form-grid { margin-top: 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.form-grid .full { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-family: var(--font-label); font-size: 10.5px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--ink-soft); }
.field input, .field select, .field textarea {
  font-family: var(--font-body); font-size: 15px; padding: 14px 4px; border: none; border-bottom: 1px solid var(--line-gold);
  background: transparent; color: var(--plum-2); transition: border-color .3s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); }

/* ---------- Magic layer: cursor sparkles ---------- */
#magic-canvas { position: fixed; inset: 0; z-index: 9998; pointer-events: none; mix-blend-mode: screen; }

/* ---------- Magic layer: aurora glow ---------- */
.aurora { position: absolute; inset: 0; overflow: hidden; z-index: 1; pointer-events: none; }
.aurora span {
  position: absolute; border-radius: 50%; filter: blur(60px); opacity: 0.55; mix-blend-mode: screen;
  will-change: transform;
}
.aurora .a1 { width: 46vw; height: 46vw; left: -10%; top: -10%; background: radial-gradient(circle, var(--purple-bright), transparent 70%); animation: auroraFloat1 22s ease-in-out infinite; }
.aurora .a2 { width: 38vw; height: 38vw; right: -8%; top: 10%; background: radial-gradient(circle, var(--gold-light), transparent 70%); opacity: 0.28; animation: auroraFloat2 26s ease-in-out infinite; }
.aurora .a3 { width: 42vw; height: 42vw; left: 20%; bottom: -18%; background: radial-gradient(circle, var(--purple-vivid), transparent 70%); animation: auroraFloat3 30s ease-in-out infinite; }
@keyframes auroraFloat1 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(6%, 8%) scale(1.15); } }
@keyframes auroraFloat2 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(-8%, 6%) scale(1.1); } }
@keyframes auroraFloat3 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(4%, -6%) scale(1.12); } }

/* ---------- Magic layer: curtain reveal ---------- */
.curtain { position: absolute; inset: 0; z-index: 6; display: flex; pointer-events: none; }
.curtain .panel {
  flex: 1; background: linear-gradient(120deg, var(--plum-2), var(--plum-deep) 70%);
  position: relative; overflow: hidden;
}
.curtain .panel::after {
  content: ""; position: absolute; inset: 0;
  background: repeating-linear-gradient(90deg, rgba(255,255,255,0.05) 0 10px, rgba(0,0,0,0.06) 10px 20px);
}
.curtain .panel::before {
  content: ""; position: absolute; top: 0; bottom: 0; width: 2px; background: linear-gradient(180deg, var(--gold-light), transparent);
  opacity: 0.7;
}
.curtain .panel.left::before { right: 0; }
.curtain .panel.right::before { left: 0; }

/* ---------- Univers card tilt ---------- */
.univers-grid { perspective: 1400px; }
.univers-card { transform-style: preserve-3d; will-change: transform; }
.univers-card .univers-body, .univers-card .univers-num { transform: translateZ(30px); }

/* ---------- Quiz "Quel soin vous correspond ?" ---------- */
.quiz { position: relative; background: linear-gradient(160deg, var(--plum-deep) 0%, #241539 60%, var(--plum-2) 140%); overflow: hidden; }
.quiz-inner { position: relative; z-index: 2; max-width: 760px; margin: 0 auto; text-align: center; }
.quiz-head .eyebrow { justify-content: center; color: var(--gold-light); }
.quiz-head .eyebrow::before { background: var(--gold-light); }
.quiz-head h2 { color: #fff; margin-top: 16px; }
.quiz-head p { color: rgba(234,227,248,0.7); font-family: var(--font-accent); font-size: 17px; margin-top: 14px; }

.quiz-card {
  margin-top: 50px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.14);
  border-radius: 10px; padding: 50px 46px; backdrop-filter: blur(6px); position: relative; min-height: 300px;
  text-align: left;
}
.quiz-progress { display: flex; gap: 8px; margin-bottom: 34px; }
.quiz-progress span { height: 3px; flex: 1; background: rgba(255,255,255,0.15); border-radius: 3px; overflow: hidden; }
.quiz-progress span::after { content: ""; display: block; height: 100%; width: 0%; background: var(--gold-light); transition: width .5s ease; }
.quiz-progress span.done::after, .quiz-progress span.active::after { width: 100%; }

.quiz-step { display: none; }
.quiz-step.active { display: block; }
.quiz-step h3 { color: #fff; font-size: 24px; text-align: center; }
.quiz-options { margin-top: 30px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.quiz-option {
  font-family: var(--font-label); font-size: 12.5px; letter-spacing: 1px; text-transform: uppercase;
  color: #fff; text-align: center; padding: 20px 16px; border: 1px solid rgba(255,255,255,0.22); border-radius: 6px;
  transition: background .3s, border-color .3s, transform .3s;
}
.quiz-option:hover { background: rgba(217,184,102,0.14); border-color: var(--gold-light); transform: translateY(-3px); }

.quiz-result { display: none; text-align: center; }
.quiz-result.active { display: block; }
.quiz-result .r-eyebrow { color: var(--gold-light); font-family: var(--font-label); font-size: 11px; letter-spacing: 2.5px; text-transform: uppercase; }
.quiz-result h3 { color: #fff; font-size: 32px; margin-top: 12px; }
.quiz-result p.desc { color: rgba(234,227,248,0.75); font-family: var(--font-accent); font-size: 16px; margin: 14px auto 0; max-width: 420px; }
.quiz-result-media { width: 100%; height: 220px; border-radius: 8px; overflow: hidden; margin: 28px 0; position: relative; }
.quiz-result-media img { width: 100%; height: 100%; object-fit: cover; }
.quiz-result-actions { display: flex; gap: 14px; justify-content: center; margin-top: 22px; flex-wrap: wrap; }
.quiz-restart { margin-top: 26px; display: block; text-align: center; font-family: var(--font-label); font-size: 10.5px; letter-spacing: 1.5px; text-transform: uppercase; color: rgba(234,227,248,0.5); text-decoration: underline; cursor: pointer; }

/* ---------- Booking widget (real reservation, on-site) ---------- */
.booking-widget {
  margin-top: 50px; background: #fff; border: 1px solid var(--line-gold); border-radius: 10px;
  padding: 46px 44px; box-shadow: 0 20px 60px rgba(75,46,131,0.1); position: relative; overflow: hidden;
}
.booking-widget::before {
  content: ""; position: absolute; top: -40%; right: -20%; width: 60%; height: 140%;
  background: radial-gradient(circle, rgba(107,63,212,0.08), transparent 70%); pointer-events: none;
}
.bw-modal-head { display: flex; align-items: center; gap: 12px; margin-bottom: 30px; }
.bw-modal-badge { width: 34px; height: 34px; border-radius: 50%; box-shadow: 0 0 0 1px var(--line-gold); }
.bw-modal-title { font-family: var(--font-display); font-weight: 700; font-size: 17px; letter-spacing: -0.01em; color: var(--plum-2); }

.bw-progress { display: flex; gap: 8px; margin-bottom: 36px; position: relative; z-index: 1; }
.bw-progress span { height: 3px; flex: 1; background: var(--line-gold); border-radius: 3px; overflow: hidden; }
.bw-progress span::after { content: ""; display: block; height: 100%; width: 0%; background: var(--gold); transition: width .5s ease; }
.bw-progress span.done::after, .bw-progress span.active::after { width: 100%; }

.bw-step { display: none; position: relative; z-index: 1; }
.bw-step.active { display: block; }
.bw-step label { display: block; font-family: var(--font-label); font-size: 11px; letter-spacing: 1.6px; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 14px; }
.bw-cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.bw-cal-title { font-family: var(--font-display); font-weight: 700; font-size: 16px; color: var(--plum-2); }
.bw-cal-nav {
  width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line-gold); color: var(--gold);
  font-size: 18px; display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  transition: background .2s, opacity .2s;
}
.bw-cal-nav:hover:not(:disabled) { background: rgba(169,130,47,0.08); }
.bw-cal-nav:disabled { opacity: 0.25; cursor: default; }

.bw-cal-weekdays { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; margin-bottom: 6px; }
.bw-cal-weekdays span {
  text-align: center; font-family: var(--font-label); font-size: 10px; letter-spacing: 1px;
  color: var(--ink-soft); text-transform: uppercase;
}

.bw-cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.bw-cal-day {
  aspect-ratio: 1; width: 100%; border-radius: 50%; font-family: var(--font-body); font-size: 14px;
  color: var(--plum-2); display: flex; align-items: center; justify-content: center; position: relative;
  transition: background .2s, color .2s, transform .15s;
}
.bw-cal-day.empty { visibility: hidden; }
.bw-cal-day:not(.disabled):not(.empty):hover { background: rgba(169,130,47,0.12); }
.bw-cal-day.today:not(.selected) { color: var(--gold); font-weight: 700; }
.bw-cal-day.today:not(.selected)::after {
  content: ""; position: absolute; bottom: 3px; width: 4px; height: 4px; border-radius: 50%; background: var(--gold);
}
.bw-cal-day.selected { background: var(--plum-2); color: #fff; font-weight: 600; transform: scale(1.05); }
.bw-cal-day.disabled { color: rgba(107,90,153,0.28); }

.bw-slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 10px; margin-top: 6px; }
.bw-slot {
  font-family: var(--font-label); font-size: 13px; letter-spacing: 0.5px; text-align: center;
  padding: 13px 8px; border: 1px solid var(--line-gold); border-radius: 6px; color: var(--plum-2);
  position: relative; transition: background .25s, border-color .25s, transform .2s, color .25s;
}
.bw-slot .rem { display: block; font-size: 9.5px; color: var(--gold); margin-top: 4px; letter-spacing: 0.5px; }
.bw-slot:hover:not(.full) { border-color: var(--gold); transform: translateY(-2px); }
.bw-slot.low { border-color: rgba(217,184,102,0.8); }
.bw-slot.selected { background: var(--plum-2); color: #fff; border-color: var(--plum-2); }
.bw-slot.selected .rem { color: var(--gold-light); }
.bw-slot.full { opacity: 0.38; cursor: not-allowed; text-decoration: line-through; }
.bw-empty { font-family: var(--font-accent); color: var(--ink-soft); margin-top: 10px; }
.bw-back { display: inline-block; margin-top: 26px; font-family: var(--font-label); font-size: 10.5px; letter-spacing: 1.4px; text-transform: uppercase; color: var(--ink-soft); text-decoration: underline; cursor: pointer; }

.bw-summary { background: var(--lilac-pale); border-radius: 6px; padding: 16px 18px; margin-bottom: 26px; font-family: var(--font-label); font-size: 12.5px; letter-spacing: 0.5px; color: var(--plum-2); }
.bw-cart-list { display: flex; flex-direction: column; gap: 8px; }
.bw-cart-list .row { display: flex; justify-content: space-between; background: var(--lilac-pale); border-radius: 6px; padding: 10px 14px; font-size: 14px; color: var(--plum-2); }
.bw-cart-list .row span:last-child { color: var(--gold); font-family: var(--font-label); font-size: 12px; }
.bw-summary b { color: var(--gold); }
.bw-error { color: #b3413c; font-size: 13.5px; margin-top: 16px; display: none; }
.bw-error.show { display: block; }
.bw-submit-row { margin-top: 30px; display: flex; align-items: center; gap: 18px; }
.bw-spinner { width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(169,130,47,0.25); border-top-color: var(--gold); animation: bwSpin 0.8s linear infinite; display: none; }
.bw-spinner.show { display: inline-block; }
@keyframes bwSpin { to { transform: rotate(360deg); } }

.bw-success { text-align: center; padding: 10px 0; }
.bw-success-icon {
  width: 64px; height: 64px; margin: 0 auto 22px; border-radius: 50%; background: var(--plum-2);
  color: var(--gold-light); display: flex; align-items: center; justify-content: center; font-size: 26px;
  box-shadow: 0 0 0 8px rgba(107,63,212,0.1);
}
.bw-success h3 { font-size: 26px; }
.bw-success p { color: var(--ink-soft); margin-top: 10px; font-family: var(--font-accent); font-size: 16px; }
.bw-success .bw-success-note {
  margin-top: 20px; font-family: var(--font-label); font-size: 12.5px; letter-spacing: 0.3px;
  color: var(--plum-2); background: rgba(169,130,47,0.1); border: 1px solid var(--line-gold);
  border-radius: 6px; padding: 14px 18px; font-style: normal;
}
.bw-success .btn { margin-top: 26px; }

/* ---------- Radiant purple (logo-matched glow) ---------- */
.sec-dark, footer, .ritual, .cta-banner {
  background: radial-gradient(ellipse 120% 90% at 50% -15%, #8358e6 0%, #5a2fc4 22%, #34188a 46%, #1d0f4d 72%, var(--plum-deep) 100%);
}
.ambient-stars { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.ambient-stars span {
  position: absolute; width: 3px; height: 3px; background: var(--gold-light); border-radius: 50%;
  opacity: 0; animation: starTwinkle 5s ease-in-out infinite;
  box-shadow: 0 0 6px 1px rgba(217,184,102,0.7);
}
.ambient-stars span:nth-child(3n) { background: var(--purple-bright); box-shadow: 0 0 6px 1px rgba(155,125,237,0.7); }
@keyframes starTwinkle { 0%,100% { opacity: 0; transform: scale(0.6); } 50% { opacity: 0.9; transform: scale(1.3); } }

.soin-cta-row { display: flex; gap: 16px; margin-top: 60px; flex-wrap: wrap; }

/* ---------- Booking popup (available on every page) ---------- */
body.booking-modal-open { overflow: hidden; }
.booking-overlay {
  position: fixed; inset: 0; background: rgba(23,15,43,0.6); z-index: 1200;
  opacity: 0; pointer-events: none; transition: opacity .3s;
}
.booking-overlay.show { opacity: 1; pointer-events: auto; }
.booking-modal {
  position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 92%; max-width: 560px; max-height: 88vh; overflow-y: auto; z-index: 1210;
  background: var(--cream); border-radius: 8px; box-shadow: 0 30px 80px rgba(23,15,43,0.35);
  padding: 42px; opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .3s, visibility .3s;
}
.booking-modal.open { opacity: 1; visibility: visible; pointer-events: auto; }
.booking-modal .booking-widget { padding: 0; border: none; box-shadow: none; }
.booking-modal .booking-widget::before { display: none; }
.booking-modal-close {
  position: absolute; top: 16px; right: 18px; font-size: 26px; line-height: 1; color: var(--ink-soft);
  z-index: 2;
}
.booking-modal-close:hover { color: var(--gold); }
@media (max-width: 640px) {
  .booking-modal { padding: 30px 22px; max-height: 92vh; }
}

/* ---------- Cart: floating button + slide panel ---------- */
.cart-fab {
  position: fixed; right: 26px; bottom: 26px; z-index: 900;
  display: flex; align-items: center; gap: 8px;
  padding: 15px 22px 15px 17px; border-radius: 999px;
  background: var(--gold); color: #fff; box-shadow: 0 10px 30px rgba(75,46,131,0.35);
  transition: transform .3s, box-shadow .3s;
}
.cart-fab:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(75,46,131,0.42); }
.cart-fab-icon { font-size: 14px; line-height: 1; }
.cart-fab-label {
  font-family: var(--font-label); font-size: 11.5px; font-weight: 700; letter-spacing: 1.3px;
  text-transform: uppercase; white-space: nowrap;
}
.cart-fab-badge {
  position: absolute; top: -6px; right: -6px; min-width: 22px; height: 22px; border-radius: 50%;
  background: var(--plum-2); color: #fff; font-family: var(--font-label); font-size: 11px;
  display: flex; align-items: center; justify-content: center; padding: 0 4px; border: 2px solid var(--cream);
  opacity: 0; transform: scale(0.6); transition: opacity .25s, transform .25s;
}
.cart-fab.has-items .cart-fab-badge { opacity: 1; transform: scale(1); }
.cart-fab.pulse { animation: cartPulse 0.6s ease; }
@keyframes cartPulse { 0% { box-shadow: 0 0 0 0 rgba(169,130,47,0.6); } 100% { box-shadow: 0 0 0 22px rgba(169,130,47,0); } }

.cart-overlay {
  position: fixed; inset: 0; background: rgba(23,15,43,0.55); z-index: 950; opacity: 0; pointer-events: none;
  transition: opacity .3s;
}
.cart-overlay.show { opacity: 1; pointer-events: auto; }

.cart-panel {
  position: fixed; top: 0; right: 0; height: 100%; width: 100%; max-width: 420px; z-index: 960;
  background: var(--cream); box-shadow: -20px 0 60px rgba(23,15,43,0.25);
  transform: translateX(100%); transition: transform .45s cubic-bezier(.16,1,.3,1);
  display: flex; flex-direction: column; padding: 34px 30px;
}
.cart-panel.open { transform: translateX(0); }
.cart-panel-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 26px; }
.cart-close { font-size: 26px; color: var(--ink-soft); line-height: 1; }
.cart-close:hover { color: var(--gold); }
.cart-list { flex: 1; overflow-y: auto; display: flex; flex-direction: column; gap: 14px; }
.cart-item { display: flex; justify-content: space-between; align-items: flex-start; padding-bottom: 14px; border-bottom: 1px solid var(--line-gold); gap: 10px; }
.cart-item-name { font-family: var(--font-display); font-size: 15px; color: var(--plum-2); }
.cart-item-univers { font-family: var(--font-label); font-size: 9.5px; letter-spacing: 1px; text-transform: uppercase; color: var(--ink-soft); margin-top: 3px; }
.cart-item-right { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.cart-item-price { font-family: var(--font-label); font-size: 12px; color: var(--gold); white-space: nowrap; }
.cart-item-remove { font-size: 18px; color: var(--ink-soft); line-height: 1; }
.cart-item-remove:hover { color: #b3413c; }
.cart-empty { margin-top: 10px; }
.cart-empty p { color: var(--ink-soft); font-family: var(--font-accent); font-size: 15px; line-height: 1.6; margin-bottom: 22px; }
.cart-empty .btn { width: 100%; justify-content: center; }
.cart-footer { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--line-gold); }
.cart-note { font-size: 12px; color: var(--ink-soft); margin-bottom: 16px; }
.cart-book-btn { width: 100%; justify-content: center; }

.add-to-cart {
  width: 28px; height: 28px; border-radius: 50%; flex-shrink: 0; margin-left: 16px;
  border: 1px solid var(--line-gold); color: var(--gold); font-size: 15px; font-weight: 500; line-height: 1;
  display: inline-flex; align-items: center; justify-content: center;
  transition: background .25s, color .25s, border-color .25s, transform .2s;
}
.add-to-cart:hover { border-color: var(--gold); background: rgba(169,130,47,0.08); transform: scale(1.1); }
.add-to-cart.added { background: var(--plum-2); border-color: var(--plum-2); color: #fff; }
.add-to-cart.added:hover { background: var(--plum); transform: scale(1.1); }
.tarif-row { flex-wrap: wrap; }
.soin-sub-row { flex-wrap: wrap; }

@media (max-width: 860px) {
  .cart-fab { right: 16px; bottom: 16px; padding: 13px 18px 13px 15px; }
  .cart-fab-label { font-size: 10.5px; }
  .cart-panel { max-width: 100%; }
}

/* ---------- Utility ---------- */
.mt-60 { margin-top: 60px; }
.center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .univers-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .ritual-wrap { grid-template-columns: 1fr; }
  .ritual-visual { height: 50vh; }
  .contact-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 110px; }
  .g1,.g5 { grid-column: span 2; grid-row: span 2; }
}
@media (max-width: 860px) {
  .nav-links, .nav-cta .btn-outline { display: none; }
  .nav-burger { display: block; }
  .intro-grid, .soin-flex, .soin-flex.rev { grid-template-columns: 1fr; }
  .soin-flex.rev .soin-visual { order: 0; }
  .tarif-grid { grid-template-columns: 1fr; }
  .tarif-tabs {
    flex-wrap: nowrap; overflow-x: auto; margin: 40px -32px 0; padding: 0 32px 6px;
    scrollbar-width: none;
  }
  .tarif-tabs::-webkit-scrollbar { display: none; }
  .tarif-tab { white-space: nowrap; }
  .form-grid { grid-template-columns: 1fr; }
  .form-grid .half { grid-column: 1 / -1; }
  .footer-top { grid-template-columns: 1fr; gap: 40px; }
  .sec { padding: 90px 0; }
  .univers-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .g1,.g2,.g3,.g4,.g5,.g6 { grid-column: span 1; grid-row: span 2; }
  .quiz-card { padding: 34px 22px; }
  .quiz-options { grid-template-columns: 1fr; }
  .quiz-result-actions { flex-direction: column; }
  .booking-widget { padding: 30px 20px; }
  .bw-slots { grid-template-columns: repeat(auto-fill, minmax(78px, 1fr)); }
  .bw-submit-row { flex-wrap: wrap; }
}
