/* ============================================
   LILI BEAUTÉ — Stylesheet partagée
   ============================================ */

:root {
  --ivory: #faf6f1;
  --cream: #f3ece2;
  --pearl: #efd6cc;
  --rose: #e8b8a8;
  --rose-deep: #c98a78;
  --sage: #a8b5a0;
  --sage-deep: #7a8a72;
  --ink: #1f1b18;
  --ink-soft: #4a4239;
  --muted: #8a7f73;
  --line: #e8dfd2;
}

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

body {
  background: var(--ivory);
  color: var(--ink);
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

::selection { background: var(--rose); color: var(--ink); }
img { max-width: 100%; display: block; }
a { color: inherit; }

/* TYPO */
.eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  font-weight: 400;
  color: var(--rose-deep);
}
h1, h2, h3, h4, h5 { font-family: 'Cormorant Garamond', serif; font-weight: 400; }
em { font-style: italic; color: var(--rose-deep); }

/* ANNOUNCEMENT */
.announce {
  background: var(--ink);
  color: var(--ivory);
  text-align: center;
  padding: 10px 20px;
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.announce span { color: var(--rose); margin: 0 8px; }

/* NAV */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 246, 241, 0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line);
}
.nav-wrap {
  max-width: 1400px;
  margin: 0 auto;
  padding: 22px 40px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 40px;
}
.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.nav-links a {
  color: var(--ink);
  text-decoration: none;
  position: relative;
  transition: color 0.3s;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -6px; left: 0;
  width: 0; height: 1px;
  background: var(--rose-deep);
  transition: width 0.4s ease;
}
.nav-links a:hover, .nav-links a.active { color: var(--rose-deep); }
.nav-links a.active::after, .nav-links a:hover::after { width: 100%; }

.logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 30px;
  font-style: italic;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--ink);
  text-decoration: none;
  text-align: center;
  white-space: nowrap;
}
.logo::after {
  content: '';
  display: inline-block;
  width: 8px; height: 8px;
  background: radial-gradient(circle at 30% 30%, #fff, var(--rose) 60%, var(--rose-deep));
  border-radius: 50%;
  margin-left: 2px;
  vertical-align: super;
  box-shadow: 0 0 8px rgba(232, 184, 168, 0.6);
}
.logo small {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 9px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  font-style: normal;
  color: var(--muted);
  margin-top: -4px;
}

.nav-right {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 24px;
}
.nav-right .phone {
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
  text-decoration: none;
}
.btn-reserve {
  background: var(--ink);
  color: var(--ivory);
  padding: 12px 22px;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 1px solid var(--ink);
}
.btn-reserve:hover { background: var(--rose-deep); border-color: var(--rose-deep); }

/* BUTTONS */
.btn-primary {
  background: var(--ink);
  color: var(--ivory);
  padding: 18px 36px;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.4s;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border: none;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
}
.btn-primary:hover { background: var(--rose-deep); transform: translateY(-2px); }
.btn-primary svg { transition: transform 0.3s; }
.btn-primary:hover svg { transform: translateX(4px); }

.btn-rose { background: var(--rose-deep); color: var(--ivory); }
.btn-rose:hover { background: var(--ink); }

.btn-ghost {
  color: var(--ink);
  text-decoration: none;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 4px;
  transition: all 0.3s;
  display: inline-block;
  background: none;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
}
.btn-ghost:hover { color: var(--rose-deep); border-color: var(--rose-deep); }

/* SECTIONS */
section { padding: 120px 40px; max-width: 1400px; margin: 0 auto; }

.section-header {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 80px;
  margin-bottom: 80px;
  align-items: end;
}
.section-header h2 {
  font-size: clamp(40px, 5vw, 72px);
  line-height: 1;
  letter-spacing: -0.02em;
}
.section-header p {
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.7;
  max-width: 480px;
  justify-self: end;
}

/* PAGE BANNER */
.page-banner {
  padding: 100px 40px 80px;
  max-width: 1400px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}
.page-banner::before {
  content: '';
  position: absolute;
  top: 30%; left: 50%;
  transform: translateX(-50%);
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(232, 184, 168, 0.18), transparent 70%);
  filter: blur(80px);
  z-index: -1;
}
.page-banner .breadcrumb {
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 30px;
}
.page-banner .breadcrumb a { text-decoration: none; transition: color 0.3s; }
.page-banner .breadcrumb a:hover { color: var(--rose-deep); }
.page-banner h1 {
  font-size: clamp(48px, 7vw, 110px);
  line-height: 0.95;
  letter-spacing: -0.025em;
  margin-bottom: 28px;
}
.page-banner .intro {
  max-width: 640px;
  margin: 0 auto;
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.7;
}

/* SOIN CARDS */
.soin {
  position: relative;
  background: var(--ivory);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: all 0.5s ease;
}
.soin-img {
  height: 280px;
  background-size: cover;
  background-position: center;
  position: relative;
  transition: transform 0.8s ease;
}
.soin:hover .soin-img { transform: scale(1.05); }
.soin-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(31, 27, 24, 0.35));
}
.soin-tag {
  position: absolute;
  top: 20px; left: 20px;
  background: var(--ivory);
  color: var(--ink);
  padding: 6px 14px;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  z-index: 2;
}
.soin-tag.new { background: var(--rose-deep); color: var(--ivory); }
.soin-tag.sage { background: var(--sage-deep); color: var(--ivory); }
.soin-body { padding: 32px; }
.soin h3 {
  font-size: 26px;
  margin-bottom: 12px;
  line-height: 1.1;
}
.soin-desc {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.6;
  margin-bottom: 24px;
  min-height: 60px;
}
.soin-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.soin-price {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  color: var(--ink);
  font-style: italic;
  text-transform: none;
  letter-spacing: 0;
}

/* CTA BAND */
.cta-band {
  background: var(--ink);
  color: var(--ivory);
  text-align: center;
  padding: 120px 40px;
  max-width: none;
  margin: 0;
}
.cta-band h2 {
  font-size: clamp(40px, 5vw, 72px);
  line-height: 1;
  margin-bottom: 24px;
  color: var(--ivory);
}
.cta-band h2 em { color: var(--rose); }
.cta-band p {
  max-width: 560px;
  margin: 0 auto 40px;
  color: var(--cream);
  opacity: 0.85;
  line-height: 1.7;
}
.cta-band .btn-primary { background: var(--rose-deep); }
.cta-band .btn-primary:hover { background: var(--ivory); color: var(--ink); }

/* FOOTER */
footer {
  background: #14110f;
  color: var(--cream);
  padding: 80px 40px 40px;
}
.footer-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand .logo {
  color: var(--ivory);
  font-size: 36px;
  margin-bottom: 20px;
  display: inline-block;
}
.footer-logo-link {
  display: inline-block;
  margin-bottom: 24px;
  line-height: 0;
}
.footer-logo-img {
  width: 200px;
  height: auto;
  display: block;
}
.footer-brand p {
  font-size: 14px;
  color: var(--cream);
  opacity: 0.7;
  max-width: 320px;
  line-height: 1.7;
}
footer h4 {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--rose);
  margin-bottom: 20px;
  font-weight: 500;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 12px; }
.footer-col a {
  color: var(--cream);
  opacity: 0.7;
  text-decoration: none;
  font-size: 14px;
  transition: opacity 0.3s, color 0.3s;
}
.footer-col a:hover { opacity: 1; color: var(--rose); }
.footer-bottom {
  max-width: 1400px;
  margin: 0 auto;
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--cream);
  opacity: 0.5;
  flex-wrap: wrap;
  gap: 20px;
}

/* REVEAL */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s ease, transform 1s ease;
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   PLANITY MODAL
   ============================================ */
.planity-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.planity-modal.is-open {
  display: block;
  opacity: 1;
}
.planity-overlay {
  position: absolute;
  inset: 0;
  background: rgba(31, 27, 24, 0.7);
  backdrop-filter: blur(8px);
}
.planity-window {
  position: relative;
  width: min(960px, 95vw);
  height: min(820px, 92vh);
  margin: 4vh auto;
  background: var(--ivory);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 40px 100px rgba(0,0,0,0.4);
  transform: translateY(40px);
  transition: transform 0.4s ease;
}
.planity-modal.is-open .planity-window { transform: translateY(0); }

.planity-header {
  padding: 26px 36px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--line);
  background: var(--ivory);
  flex-shrink: 0;
}
.planity-label {
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--rose-deep);
  display: block;
  margin-bottom: 4px;
}
.planity-header h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 30px;
  font-weight: 400;
  color: var(--ink);
  margin: 0;
}
.planity-close {
  background: var(--cream);
  border: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  transition: all 0.3s;
}
.planity-close:hover {
  background: var(--rose-deep);
  color: var(--ivory);
  transform: rotate(90deg);
}
.planity-frame-wrap {
  flex: 1;
  position: relative;
  overflow: hidden;
  background: var(--cream);
}
.planity-frame {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}
.planity-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px;
  text-align: center;
  background: var(--cream);
  color: var(--ink-soft);
  z-index: -1;
}
.planity-fallback p {
  font-size: 14px;
  margin-bottom: 20px;
  line-height: 1.6;
}
.planity-fallback a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

@media (max-width: 640px) {
  .planity-window {
    width: 100vw;
    height: 100vh;
    max-height: 100vh;
    margin: 0;
  }
  .planity-header { padding: 18px 24px; }
  .planity-header h3 { font-size: 22px; }
}

/* ============================================
   INSTAGRAM FEED
   ============================================ */
.ig-section {
  background: linear-gradient(180deg, var(--cream) 0%, var(--ivory) 100%);
  max-width: none;
  padding: 120px 40px;
}
.ig-inner {
  max-width: 1400px;
  margin: 0 auto;
  text-align: center;
}
.ig-section .eyebrow { display: block; margin-bottom: 20px; }
.ig-section h2 {
  font-size: clamp(40px, 5vw, 72px);
  line-height: 1;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}
.ig-handle {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 22px;
  color: var(--ink-soft);
  margin-bottom: 50px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  transition: color 0.3s;
}
.ig-handle:hover { color: var(--rose-deep); }

.ig-grid-rich {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 50px;
}
.ig-post {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  text-decoration: none;
  display: block;
  background: var(--ivory);
}
.ig-post-img {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 0.8s ease;
}
.ig-post:hover .ig-post-img { transform: scale(1.08); }
.ig-post-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(31,27,24,0) 50%, rgba(31,27,24,0.85));
  opacity: 0;
  transition: opacity 0.4s;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  color: var(--ivory);
}
.ig-post:hover .ig-post-overlay { opacity: 1; }
.ig-post-caption {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  line-height: 1.5;
  color: var(--ivory);
  margin-bottom: 10px;
}
.ig-post-stats {
  display: flex;
  gap: 16px;
  font-size: 11px;
  color: var(--cream);
  letter-spacing: 0.05em;
}
.ig-post-stats span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.ig-post-icon {
  position: absolute;
  top: 14px;
  right: 14px;
  color: var(--ivory);
  opacity: 0.9;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.4));
  z-index: 2;
}
.ig-post-video::after {
  content: '';
  position: absolute;
  top: 14px; right: 14px;
  width: 20px; height: 20px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='white'><path d='M8 5v14l11-7z'/></svg>") no-repeat center / contain;
  opacity: 0.95;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.4));
}

.ig-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--ink);
  color: var(--ivory);
  padding: 18px 36px;
  text-decoration: none;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: all 0.3s;
}
.ig-cta:hover { background: var(--rose-deep); }

@media (max-width: 1024px) {
  .ig-grid-rich { grid-template-columns: repeat(2, 1fr); }
  .ig-section { padding: 80px 24px; }
}
@media (max-width: 640px) {
  .ig-grid-rich { grid-template-columns: repeat(2, 1fr); gap: 8px; }
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .nav-wrap { grid-template-columns: auto 1fr; }
  .nav-links { display: none; }
  .section-header { grid-template-columns: 1fr; gap: 30px; }
  .section-header p { justify-self: start; }
  section { padding: 80px 24px; }
  .page-banner { padding: 60px 24px 50px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .nav-wrap { padding: 16px 20px; }
  .logo { font-size: 24px; }
  .nav-right .phone { display: none; }
  .footer-inner { grid-template-columns: 1fr; gap: 40px; }
  .cta-band { padding: 80px 24px; }
}
