/* ============================================================
   LEBLANC · Luxury Wellness — leblancshop.us
   ============================================================ */

:root {
  --navy:        #16294A;
  --navy-deep:   #0D1A30;
  --navy-soft:   #24406B;
  --cream:       #F7F3EC;
  --cream-deep:  #EDE6DA;
  --paper:       #FFFFFF;
  --ink:         #1A1A1A;
  --muted:       #6E6E6E;
  --gold:        #B99A62;
  --rose:        #D9A2A6;
  --line:        rgba(22, 41, 74, 0.14);
  --line-light:  rgba(255, 255, 255, 0.18);

  --serif: "Cormorant Garamond", "Times New Roman", Georgia, serif;
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;

  --wrap: 1240px;
  --gutter: clamp(20px, 5vw, 64px);
  --radius: 2px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; line-height: 1.08; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }

/* ---------- type utilities ---------- */
.display {
  font-family: var(--serif);
  font-weight: 300;
  letter-spacing: -0.01em;
}
.eyebrow {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  margin: 0 0 18px;
}
.eyebrow--muted { color: var(--muted); }
.lede {
  font-size: clamp(16px, 1.6vw, 18px);
  color: var(--muted);
  max-width: 56ch;
}

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding: clamp(72px, 10vw, 130px) 0; }
.section--cream { background: var(--cream); }
.section--navy { background: var(--navy); color: var(--cream); }
.section--navy .lede { color: rgba(247, 243, 236, 0.68); }
.section--navy .eyebrow { color: var(--gold); }

.section-head { margin-bottom: clamp(40px, 6vw, 68px); }
.section-head h2 {
  font-family: var(--serif);
  font-size: clamp(34px, 5.2vw, 60px);
  font-weight: 300;
  margin-bottom: 18px;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 500;
  border: 1px solid transparent;
  border-radius: var(--radius);
  transition: background 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease);
  white-space: nowrap;
}
.btn--solid { background: var(--navy); color: var(--cream); }
.btn--solid:hover { background: var(--navy-soft); }
.btn--light { background: var(--cream); color: var(--navy); }
.btn--light:hover { background: var(--paper); }
.btn--ghost { border-color: currentColor; color: inherit; }
.btn--ghost:hover { background: var(--navy); color: var(--cream); border-color: var(--navy); }
.section--navy .btn--ghost:hover { background: var(--cream); color: var(--navy); border-color: var(--cream); }
.btn--sm { padding: 11px 20px; font-size: 11px; }

.link-underline {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding-bottom: 4px;
  border-bottom: 1px solid currentColor;
  transition: opacity 0.3s var(--ease);
}
.link-underline:hover { opacity: 0.55; }

/* ---------- announcement ---------- */
.announce {
  background: var(--navy-deep);
  color: rgba(247, 243, 236, 0.9);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-align: center;
  padding: 10px 16px;
}

/* ---------- header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease);
}
.header__inner {
  max-width: var(--wrap);
  margin-inline: auto;
  padding: 0 var(--gutter);
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: baseline;
  gap: 12px;
  font-family: var(--serif);
  font-size: 26px;
  letter-spacing: 0.14em;
  color: var(--navy);
}
.brand small {
  font-family: var(--sans);
  font-size: 9px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
}
.nav { display: flex; align-items: center; gap: 30px; }
.nav a {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  position: relative;
  padding: 4px 0;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--navy);
  transition: width 0.35s var(--ease);
}
.nav a:hover::after { width: 100%; }
.header__actions { display: flex; align-items: center; gap: 14px; }

.burger {
  display: none;
  width: 40px; height: 40px;
  align-items: center;
  justify-content: center;
}
.burger span {
  display: block;
  width: 22px; height: 1px;
  background: var(--ink);
  position: relative;
  transition: background 0.2s;
}
.burger span::before, .burger span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 22px; height: 1px;
  background: var(--ink);
  transition: transform 0.35s var(--ease);
}
.burger span::before { top: -7px; }
.burger span::after { top: 7px; }
.nav-open .burger span { background: transparent; }
.nav-open .burger span::before { transform: translateY(7px) rotate(45deg); }
.nav-open .burger span::after { transform: translateY(-7px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: clamp(560px, 88vh, 880px);
  display: flex;
  align-items: center;
  color: var(--cream);
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  background-image: url("../img/hero-silk.jpg");
  background-size: cover;
  background-position: center 34%;
  transform: scale(1.04);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(9, 20, 38, 0.86) 0%, rgba(13, 26, 48, 0.62) 46%, rgba(13, 26, 48, 0.15) 100%);
}
.hero__inner { position: relative; z-index: 2; max-width: var(--wrap); margin-inline: auto; padding: 0 var(--gutter); width: 100%; }
.hero__content { max-width: 640px; }
.hero h1 {
  font-family: var(--serif);
  font-size: clamp(46px, 8.4vw, 104px);
  font-weight: 300;
  letter-spacing: 0.02em;
  margin-bottom: 22px;
}
.hero h1 em { font-style: italic; color: var(--gold); white-space: nowrap; }
.hero p {
  font-size: clamp(16px, 1.9vw, 20px);
  color: rgba(247, 243, 236, 0.82);
  max-width: 46ch;
  margin-bottom: 36px;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__meta {
  position: absolute;
  bottom: 34px; left: 0; right: 0;
  z-index: 2;
}
.hero__meta ul {
  max-width: var(--wrap);
  margin-inline: auto;
  padding: 0 var(--gutter);
  display: flex;
  flex-wrap: wrap;
  gap: clamp(20px, 5vw, 56px);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(247, 243, 236, 0.62);
}

/* ---------- lines / brand pillars ---------- */
.lines {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 3.5vw, 48px);
}
.line-card { border-top: 1px solid var(--line); padding-top: 26px; }
.line-card h3 {
  font-family: var(--serif);
  font-size: 30px;
  margin-bottom: 10px;
}
.line-card__tag {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.line-card p { color: var(--muted); font-size: 15px; margin-bottom: 18px; }

/* ---------- product grid ---------- */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
}
.filter {
  padding: 9px 20px;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border: 1px solid var(--line);
  border-radius: 100px;
  color: var(--muted);
  transition: all 0.3s var(--ease);
}
.filter:hover { border-color: var(--navy); color: var(--navy); }
.filter.is-active { background: var(--navy); border-color: var(--navy); color: var(--cream); }

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: clamp(20px, 2.6vw, 36px);
}
.card {
  text-align: left;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), border-color 0.45s var(--ease);
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 50px rgba(13, 26, 48, 0.12);
  border-color: transparent;
}
.card__media {
  position: relative;
  aspect-ratio: 4 / 5;
  background: var(--cream);
  overflow: hidden;
}
.card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}
.card:hover .card__media img { transform: scale(1.05); }
.card__badge {
  position: absolute;
  top: 14px; left: 14px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--navy);
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 6px 11px;
  border-radius: 100px;
}
.card__body { padding: 22px 22px 26px; display: flex; flex-direction: column; flex: 1; }
.card__line {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 9px;
}
.card__body h3 {
  font-family: var(--serif);
  font-size: 24px;
  margin-bottom: 8px;
}
.card__body p { font-size: 14px; color: var(--muted); margin-bottom: 18px; }
.card__foot {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.card__price { font-size: 13px; letter-spacing: 0.05em; color: var(--ink); }
.card__price span { color: var(--muted); }
.card__more {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.card__more svg { transition: transform 0.35s var(--ease); }
.card:hover .card__more svg { transform: translateX(4px); }

/* ---------- routine ---------- */
.routine { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line-light); border-top: 1px solid var(--line-light); border-bottom: 1px solid var(--line-light); }
.step { background: var(--navy); padding: clamp(26px, 3vw, 40px) clamp(20px, 2.4vw, 32px); }
.step__num {
  font-family: var(--serif);
  font-size: 46px;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 20px;
  display: block;
}
.step h3 {
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.step p { font-size: 14px; color: rgba(247, 243, 236, 0.66); margin: 0; }
.step__items { margin-top: 16px; font-size: 13px; color: var(--cream); }
.step__items li { padding: 5px 0; border-bottom: 1px solid rgba(247, 243, 236, 0.12); }
.step__items li:last-child { border-bottom: 0; }

/* ---------- feature (editorial split) ---------- */
.feature {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  gap: clamp(32px, 6vw, 90px);
}
.feature--flip .feature__media { order: 2; }
.feature__media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: var(--radius);
}
.feature__media img { width: 100%; height: 100%; object-fit: cover; }
.feature__body h2 {
  font-family: var(--serif);
  font-size: clamp(32px, 4.6vw, 54px);
  font-weight: 300;
  margin-bottom: 20px;
}
.spec { margin: 30px 0; }
.spec li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 20px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}
.section--navy .spec li { border-color: rgba(247, 243, 236, 0.16); }
.spec dt, .spec__name {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
}
.spec__val { font-size: 14px; color: var(--muted); text-align: right; }
.section--navy .spec__val { color: rgba(247, 243, 236, 0.6); }

/* ---------- promise ---------- */
.promise { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(22px, 3vw, 44px); }
.promise__item { border-top: 1px solid var(--line); padding-top: 22px; }
.promise__item h3 {
  font-family: var(--serif);
  font-size: 22px;
  margin-bottom: 8px;
}
.promise__item p { font-size: 14px; color: var(--muted); margin: 0; }

/* ---------- contact ---------- */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 80px); align-items: start; }
.field { margin-bottom: 20px; }
.field label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.field input, .field select, .field textarea {
  width: 100%;
  padding: 13px 15px;
  font-family: var(--sans);
  font-size: 15px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.3s var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--navy);
}
.field textarea { min-height: 120px; resize: vertical; }
.form-note { font-size: 13px; color: var(--muted); margin-top: 14px; }

.contact-list li {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: baseline;
}
.contact-list dt, .contact-list .k {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.contact-list .v { font-size: 16px; text-align: right; }

/* ---------- footer ---------- */
.footer { background: var(--navy-deep); color: rgba(247, 243, 236, 0.75); padding: clamp(56px, 7vw, 88px) 0 32px; }
.footer__top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: clamp(26px, 4vw, 56px);
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(247, 243, 236, 0.14);
}
.footer h4 {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cream);
  margin-bottom: 18px;
}
.footer a { font-size: 14px; color: rgba(247, 243, 236, 0.72); transition: color 0.3s; }
.footer a:hover { color: var(--cream); }
.footer li { padding: 5px 0; }
.footer__brand .brand { color: var(--cream); margin-bottom: 16px; }
.footer__brand p { font-size: 14px; max-width: 34ch; color: rgba(247, 243, 236, 0.6); }
.footer__bottom {
  padding-top: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: space-between;
  font-size: 12px;
  color: rgba(247, 243, 236, 0.5);
}
.disclaimer {
  font-size: 12px;
  line-height: 1.6;
  color: rgba(247, 243, 236, 0.42);
  max-width: 90ch;
  margin: 26px 0 0;
}

/* ---------- product modal ---------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: none;
  align-items: center;
  justify-content: center;
  padding: clamp(12px, 4vw, 40px);
}
.modal.is-open { display: flex; }
.modal__scrim { position: absolute; inset: 0; background: rgba(9, 18, 33, 0.62); backdrop-filter: blur(4px); }
.modal__panel {
  position: relative;
  z-index: 2;
  width: min(980px, 100%);
  max-height: 90vh;
  overflow-y: auto;
  background: var(--paper);
  border-radius: var(--radius);
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  animation: pop 0.45s var(--ease);
}
@keyframes pop { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.modal__media { background: var(--cream); }
.modal__media img { width: 100%; height: 100%; object-fit: cover; min-height: 280px; }
.modal__body { padding: clamp(26px, 3.4vw, 46px); }
.modal__body h3 { font-family: var(--serif); font-size: clamp(28px, 3.6vw, 40px); margin-bottom: 10px; }
.modal__close {
  position: absolute;
  top: 12px; right: 12px;
  z-index: 3;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: var(--navy);
  font-size: 20px;
  line-height: 1;
  display: grid;
  place-items: center;
}
.modal__close:hover { background: var(--navy); color: var(--cream); }

/* ---------- whatsapp float ---------- */
.wa-float {
  position: fixed;
  right: 20px; bottom: 20px;
  z-index: 70;
  width: 54px; height: 54px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--cream);
  display: grid;
  place-items: center;
  box-shadow: 0 10px 30px rgba(13, 26, 48, 0.3);
  transition: transform 0.35s var(--ease), background 0.35s var(--ease);
}
.wa-float:hover { transform: scale(1.08); background: var(--navy-soft); }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .lines { grid-template-columns: 1fr; }
  .routine { grid-template-columns: repeat(2, 1fr); }
  .promise { grid-template-columns: repeat(2, 1fr); }
  .feature { grid-template-columns: 1fr; }
  .feature--flip .feature__media { order: 0; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .modal__panel { grid-template-columns: 1fr; }
  .modal__media img { max-height: 300px; }
}

@media (max-width: 780px) {
  .nav {
    position: fixed;
    inset: 72px 0 auto 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 10px var(--gutter) 26px;
    transform: translateY(-110%);
    visibility: hidden;
    opacity: 0;
    transition: transform 0.45s var(--ease), opacity 0.3s var(--ease), visibility 0s linear 0.45s;
    box-shadow: 0 20px 40px rgba(13, 26, 48, 0.1);
  }
  .nav-open .nav {
    transform: none;
    visibility: visible;
    opacity: 1;
    transition: transform 0.45s var(--ease), opacity 0.3s var(--ease), visibility 0s;
  }
  .nav a { width: 100%; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
  .burger { display: flex; }
  .header__actions .btn { display: none; }
  .contact { grid-template-columns: 1fr; }
  .hero__meta { display: none; }
}

@media (max-width: 520px) {
  .routine { grid-template-columns: 1fr; }
  .promise { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; }
  .grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
