/* Lunara — Quiet Luxury */

:root {
  --cream: #f5f2eb;
  --cream-dark: #ede8df;
  --ivory: #faf8f4;
  --gold: #c9a962;
  --gold-light: #d4bc7a;
  --gold-dark: #a88b4a;
  --champagne: #b8956a;
  --taupe: #8b8070;
  --taupe-light: #a89f91;
  --charcoal: #2c2824;
  --charcoal-soft: #4a4540;
  --shadow: rgba(44, 40, 36, 0.08);
  --shadow-gold: rgba(201, 169, 98, 0.2);
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Jost', system-ui, sans-serif;
  --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --container: min(1200px, 92vw);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--charcoal-soft);
  background: var(--cream);
  overflow-x: hidden;
  padding-top: 36px;
}

.shipping-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 110;
  background: var(--charcoal);
  color: var(--gold-light);
  text-align: center;
  padding: 0.55rem 1rem;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul { list-style: none; }

.container {
  width: var(--container);
  margin-inline: auto;
}

/* Grain overlay */
.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Typography */
.section-label {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 0.75rem;
}

.section-label::before,
.section-label::after {
  content: '';
  display: inline-block;
  width: 24px;
  height: 1px;
  background: var(--gold);
  vertical-align: middle;
  margin: 0 0.75rem;
  opacity: 0.6;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--charcoal);
  line-height: 1.2;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 2rem;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition);
}

.btn--primary {
  background: linear-gradient(135deg, var(--gold-light), var(--gold-dark));
  color: var(--ivory);
  border-color: var(--gold-dark);
  box-shadow: 0 4px 20px var(--shadow-gold);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px var(--shadow-gold);
}

.btn--ghost {
  background: transparent;
  color: var(--charcoal);
  border-color: var(--taupe-light);
}

.btn--ghost:hover {
  border-color: var(--gold);
  color: var(--gold-dark);
}

.btn--buy {
  padding: 0.65rem 1.2rem;
  font-size: 0.65rem;
  background: transparent;
  color: var(--gold-dark);
  border: 1px solid var(--gold);
  white-space: nowrap;
}

.btn--buy:hover {
  background: var(--gold);
  color: var(--ivory);
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.25rem 0;
  transition: var(--transition);
}

.header--scrolled {
  background: rgba(245, 242, 235, 0.92);
  backdrop-filter: blur(12px);
  padding: 0.75rem 0;
  box-shadow: 0 1px 0 rgba(201, 169, 98, 0.15);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo img {
  height: 48px;
  width: auto;
  transition: var(--transition);
}

.header--scrolled .nav__logo img {
  height: 40px;
}

.nav__menu {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav__menu a {
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--charcoal-soft);
  transition: color var(--transition);
  position: relative;
}

.nav__menu a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width var(--transition);
}

.nav__menu a:hover::after,
.nav__menu a:hover {
  color: var(--gold-dark);
}

.nav__menu a:hover::after { width: 100%; }

.nav__cta {
  padding: 0.6rem 1.4rem !important;
  border: 1px solid var(--gold) !important;
}

.nav__cta::after { display: none !important; }

.nav__cta:hover {
  background: var(--gold) !important;
  color: var(--ivory) !important;
}

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav__toggle span {
  display: block;
  width: 24px;
  height: 1px;
  background: var(--charcoal);
  transition: var(--transition);
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8rem 0 4rem;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 20%, rgba(201, 169, 98, 0.12) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 10% 80%, rgba(168, 143, 106, 0.08) 0%, transparent 50%),
    linear-gradient(180deg, var(--ivory) 0%, var(--cream) 40%, var(--cream-dark) 100%);
  z-index: -1;
}

.hero__bg::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 45%;
  height: 100%;
  background: url('../images/logo.png') center 30% / 55% no-repeat;
  opacity: 0.06;
  filter: grayscale(0.3);
}

.hero__content {
  text-align: center;
  max-width: 720px;
}

.hero__eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 1.5rem;
}

.hero__eyebrow::before,
.hero__eyebrow::after {
  content: '—';
  margin: 0 1rem;
  opacity: 0.5;
}

.hero__title {
  font-family: var(--font-serif);
  font-size: clamp(2.8rem, 7vw, 4.5rem);
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: 0.04em;
  color: var(--charcoal);
  margin-bottom: 1.5rem;
}

.hero__text {
  font-size: 1.05rem;
  color: var(--taupe);
  max-width: 520px;
  margin: 0 auto 2.5rem;
  line-height: 1.8;
}

.hero__actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero__scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.hero__scroll span {
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--taupe-light);
}

.hero__scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(0.8); }
  50% { opacity: 1; transform: scaleY(1); }
}

/* About */
.about {
  padding: 8rem 0;
  background: var(--ivory);
}

.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about__frame {
  aspect-ratio: 4/5;
  background: linear-gradient(160deg, var(--cream) 0%, var(--cream-dark) 100%);
  border: 1px solid rgba(201, 169, 98, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.about__frame::before {
  content: '';
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(201, 169, 98, 0.15);
}

.about__moon {
  font-family: var(--font-serif);
  font-size: 8rem;
  font-weight: 300;
  color: var(--gold);
  opacity: 0.35;
  position: relative;
}

.about__moon::before {
  content: '☽';
  position: absolute;
  left: -1.2em;
  top: 0.1em;
  font-size: 0.5em;
  opacity: 0.6;
}

.about__lead {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-style: italic;
  color: var(--charcoal);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.about__text p + p {
  margin-top: 1rem;
}

.about__values {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.about__values li {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--charcoal-soft);
}

.about__values span {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--gold);
  min-width: 2ch;
}

/* Collection */
.collection {
  padding: 8rem 0;
}

.collection__header {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 3rem;
}

.collection__subtitle {
  margin-top: 1rem;
  color: var(--taupe);
  font-size: 0.95rem;
}

.filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 3.5rem;
}

.filter {
  padding: 0.55rem 1.4rem;
  font-family: var(--font-sans);
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  background: transparent;
  border: 1px solid transparent;
  color: var(--taupe);
  cursor: pointer;
  transition: var(--transition);
}

.filter:hover,
.filter.active {
  color: var(--gold-dark);
  border-color: var(--gold);
}

.products {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
}

.product {
  background: var(--ivory);
  border: 1px solid rgba(201, 169, 98, 0.12);
  transition: var(--transition);
  overflow: hidden;
}

.product:hover {
  border-color: rgba(201, 169, 98, 0.35);
  box-shadow: 0 12px 40px var(--shadow);
  transform: translateY(-4px);
}

.product__image {
  aspect-ratio: 1;
  position: relative;
  overflow: hidden;
  background: var(--cream-dark);
}

.product__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.product:hover .product__image img {
  transform: scale(1.04);
}

.product__image .product__badge {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
}

.product__badge {
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(4px);
  padding: 0.4rem 0.8rem;
  color: var(--gold-dark);
}

.product__body {
  padding: 1.5rem;
}

.product__name {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--charcoal);
  margin-bottom: 0.35rem;
  letter-spacing: 0.02em;
}

.product__material {
  font-size: 0.8rem;
  color: var(--taupe);
  margin-bottom: 1.25rem;
}

.product__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.product__price {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--gold-dark);
  letter-spacing: 0.05em;
}

/* Shipping */
.shipping {
  padding: 6rem 0;
  background: var(--ivory);
  border-top: 1px solid rgba(201, 169, 98, 0.15);
}

.shipping__inner {
  text-align: center;
}

.shipping .section-title {
  margin-bottom: 3rem;
}

.shipping__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  text-align: left;
}

.shipping__item {
  padding: 2rem;
  border: 1px solid rgba(201, 169, 98, 0.2);
  background: var(--cream);
}

.shipping__item h3 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--charcoal);
  margin-bottom: 0.75rem;
  letter-spacing: 0.03em;
}

.shipping__item p {
  font-size: 0.9rem;
  color: var(--taupe);
  line-height: 1.7;
}

/* Craft */
.craft {
  padding: 8rem 0;
  background: var(--charcoal);
  color: var(--cream);
}

.craft .section-label {
  color: var(--gold-light);
}

.craft .section-label::before,
.craft .section-label::after {
  background: var(--gold-light);
}

.craft .section-title {
  color: var(--ivory);
  margin-bottom: 3.5rem;
}

.craft__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
}

.craft__icon {
  font-size: 1.5rem;
  color: var(--gold);
  margin-bottom: 1.25rem;
  opacity: 0.8;
}

.craft__item h3 {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
  color: var(--ivory);
}

.craft__item p {
  font-size: 0.9rem;
  color: var(--taupe-light);
  line-height: 1.7;
}

/* CTA Banner */
.cta-banner {
  padding: 6rem 0;
  background:
    linear-gradient(135deg, rgba(201, 169, 98, 0.08) 0%, transparent 50%),
    var(--cream-dark);
}

.cta-banner__inner {
  text-align: center;
  max-width: 520px;
}

.cta-banner h2 {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 400;
  color: var(--charcoal);
  margin-bottom: 1rem;
}

.cta-banner p {
  color: var(--taupe);
  margin-bottom: 2rem;
}

/* Footer */
.footer {
  padding: 4rem 0 0;
  background: var(--charcoal);
  color: var(--taupe-light);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(201, 169, 98, 0.15);
}

.footer__brand img {
  margin-bottom: 1rem;
  opacity: 0.9;
}

.footer__brand p {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.footer h4 {
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
}

.footer__links a,
.footer__whatsapp {
  font-size: 0.9rem;
  display: block;
  margin-bottom: 0.5rem;
  transition: color var(--transition);
}

.footer__links a:hover,
.footer__whatsapp:hover {
  color: var(--gold-light);
}

.footer__note {
  font-size: 0.8rem;
  margin-top: 0.5rem;
  opacity: 0.7;
}

.footer__bottom {
  padding: 1.5rem 0;
  text-align: center;
  font-size: 0.75rem;
  opacity: 0.5;
}

/* FAB WhatsApp */
.fab-whatsapp {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 90;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: var(--transition);
}

.fab-whatsapp:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.5);
}

/* Animations */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.hero .fade-up {
  opacity: 1;
  transform: translateY(0);
}

.hero .fade-up:nth-child(1) { animation: heroIn 0.9s ease both; }
.hero .fade-up:nth-child(2) { animation: heroIn 0.9s 0.12s ease both; }
.hero .fade-up:nth-child(3) { animation: heroIn 0.9s 0.24s ease both; }
.hero .fade-up:nth-child(4) { animation: heroIn 0.9s 0.36s ease both; }
.hero .fade-up:nth-child(5) { animation: heroIn 0.9s 0.48s ease both; }

@keyframes heroIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-up:nth-child(2) { transition-delay: 0.1s; }
.fade-up:nth-child(3) { transition-delay: 0.2s; }
.fade-up:nth-child(4) { transition-delay: 0.3s; }
.fade-up:nth-child(5) { transition-delay: 0.4s; }

/* Responsive */
@media (max-width: 900px) {
  .about__grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .about__visual { order: -1; max-width: 400px; margin: 0 auto; }

  .craft__grid,
  .shipping__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer__brand img { margin-inline: auto; }
}

@media (max-width: 768px) {
  .nav__toggle { display: flex; }

  .nav__menu {
    position: fixed;
    top: 0;
    right: 0;
    width: min(300px, 85vw);
    height: 100vh;
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
    background: var(--ivory);
    padding: 2rem;
    transform: translateX(100%);
    transition: transform var(--transition);
    box-shadow: -4px 0 24px var(--shadow);
  }

  .nav__menu--open { transform: translateX(0); }

  .hero { padding-top: 6rem; }

  .hero__actions { flex-direction: column; align-items: center; }

  .products {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin-inline: auto;
  }
}
