/* ===== MATERASSI LUXURY — Boutique ===== */
:root {
  --noir: #0c0a08;
  --noir-2: #161310;
  --ivoire: #f6f2ea;
  --ivoire-soft: #ece5d8;
  --or: #c8a969;
  --or-clair: #e4cd9a;
  --gris: #9a9284;
  --radius: 2px;
  --transition: 0.5s cubic-bezier(.22,.61,.36,1);
  font-family: 'Jost', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--noir);
  color: var(--ivoire);
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, .serif {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  letter-spacing: 0.01em;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.container { max-width: 1240px; margin: 0 auto; padding: 0 6vw; }

.eyebrow {
  font-family: 'Jost', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--or);
  display: inline-block;
  margin-bottom: 1.1rem;
}

/* ===== NAV ===== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 6vw;
  background: rgba(12,10,8,0.7);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(200,169,105,0.14);
  transition: var(--transition);
}
.nav-logo { display: flex; align-items: center; gap: 0.7rem; }
.nav-logo img { height: 42px; width: 42px; object-fit: contain; border-radius: 50%; background: var(--ivoire); padding: 3px; }
.nav-logo span { font-family: 'Cormorant Garamond', serif; font-size: 1.25rem; letter-spacing: 2px; color: var(--ivoire); }
.nav-logo small { display: block; font-family: 'Jost',sans-serif; font-size: 0.55rem; letter-spacing: 3px; color: var(--or); text-transform: uppercase; }
.nav-links { display: flex; gap: 2.4rem; list-style: none; }
.nav-links a {
  font-size: 0.78rem; letter-spacing: 1.5px; text-transform: uppercase; color: var(--gris);
  transition: var(--transition); position: relative; padding-bottom: 4px;
}
.nav-links a:hover { color: var(--or-clair); }
.nav-cta {
  display: flex; align-items: center; gap: 0.5rem;
  border: 1px solid var(--or);
  color: var(--or-clair);
  padding: 0.65rem 1.3rem;
  font-size: 0.72rem; letter-spacing: 1.5px; text-transform: uppercase;
  border-radius: var(--radius);
  transition: var(--transition);
  white-space: nowrap;
}
.nav-cta:hover { background: var(--or); color: var(--noir); }
.nav-cta svg { width: 15px; height: 15px; }
.burger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; }
.burger span { width: 24px; height: 1px; background: var(--ivoire); }

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding: 8rem 0 4rem;
  background:
    radial-gradient(ellipse 80% 60% at 75% 20%, rgba(200,169,105,0.14), transparent 60%),
    linear-gradient(180deg, #0c0a08 0%, #100d0a 100%);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" width="140" height="140"%3E%3Cg fill="none" stroke="%23c8a969" stroke-opacity="0.05"%3E%3Cpath d="M0 70 Q35 40 70 70 T140 70"/%3E%3C/g%3E%3C/svg%3E');
  background-size: 140px 140px;
  opacity: 0.5;
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 4rem;
  align-items: center;
  width: 100%;
}
.hero-copy .eyebrow { display: flex; align-items: center; gap: 0.8rem; }
.hero-copy .eyebrow::before { content: ""; width: 34px; height: 1px; background: var(--or); }
.hero h1 {
  font-size: clamp(2.6rem, 5.2vw, 4.4rem);
  line-height: 1.08;
  color: var(--ivoire);
  margin-bottom: 1.6rem;
}
.hero h1 em { color: var(--or-clair); font-style: normal; }
.hero p {
  font-size: 1.05rem; line-height: 1.8; color: var(--gris);
  max-width: 460px; margin-bottom: 2.4rem; font-weight: 300;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; }

.btn {
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 1.05rem 2.1rem;
  font-size: 0.75rem; letter-spacing: 2px; text-transform: uppercase;
  border-radius: var(--radius);
  transition: var(--transition);
  cursor: pointer; border: 1px solid transparent;
}
.btn-primary { background: var(--or); color: var(--noir); }
.btn-primary:hover { background: var(--or-clair); transform: translateY(-2px); }
.btn-ghost { border-color: rgba(246,242,234,0.25); color: var(--ivoire); }
.btn-ghost:hover { border-color: var(--or); color: var(--or-clair); }
.btn svg { width: 17px; height: 17px; }

.hero-visual { position: relative; }
.hero-visual .frame {
  border: 1px solid rgba(200,169,105,0.3);
  padding: 1.1rem;
  position: relative;
}
.hero-visual img { width: 100%; height: 460px; object-fit: cover; filter: saturate(0.92) contrast(1.03); }
.hero-badge {
  position: absolute; bottom: -1.6rem; left: -1.6rem;
  background: var(--ivoire); color: var(--noir);
  padding: 1.4rem 1.8rem;
  max-width: 230px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.4);
}
.hero-badge .num { font-family: 'Cormorant Garamond', serif; font-size: 2.1rem; color: var(--noir); line-height: 1; }
.hero-badge .lbl { font-size: 0.68rem; letter-spacing: 1px; color: #55503f; margin-top: 0.4rem; display: block; }

.scroll-cue {
  position: absolute; bottom: 2rem; left: 6vw;
  display: flex; align-items: center; gap: 0.8rem;
  font-size: 0.65rem; letter-spacing: 2px; text-transform: uppercase; color: var(--gris);
}
.scroll-cue::after { content: ""; width: 1px; height: 40px; background: linear-gradient(var(--or), transparent); }

/* ===== SECTION HEADER ===== */
.section-head { text-align: center; max-width: 640px; margin: 0 auto 4.5rem; }
.section-head h2 { font-size: clamp(2rem, 3.6vw, 3rem); color: var(--ivoire); }
.section-head p { color: var(--gris); margin-top: 1rem; font-size: 1rem; line-height: 1.7; }

/* ===== COLLECTION ===== */
.collection { padding: 8rem 0; }
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.2rem;
}
.card {
  background: var(--noir-2);
  border: 1px solid rgba(200,169,105,0.12);
  transition: var(--transition);
  display: flex; flex-direction: column;
}
.card:hover { border-color: rgba(200,169,105,0.45); transform: translateY(-6px); }
.card-media { position: relative; overflow: hidden; aspect-ratio: 4/3; background: #f4f0e9; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s ease; }
.card:hover .card-media img { transform: scale(1.06); }
.card-tag {
  position: absolute; top: 1rem; left: 1rem;
  background: rgba(12,10,8,0.85); color: var(--or-clair);
  font-size: 0.62rem; letter-spacing: 2px; text-transform: uppercase;
  padding: 0.45rem 0.8rem; border: 1px solid rgba(200,169,105,0.3);
}
.card-body { padding: 1.8rem; display: flex; flex-direction: column; gap: 0.8rem; flex: 1; }
.card-body h3 { font-size: 1.5rem; color: var(--ivoire); }
.card-body p { font-size: 0.88rem; line-height: 1.65; color: var(--gris); flex: 1; }
.card-foot {
  margin-top: 0.6rem; padding-top: 1.1rem;
  border-top: 1px solid rgba(200,169,105,0.14);
  display: flex; align-items: center; justify-content: space-between;
}
.card-foot .price-note { font-size: 0.68rem; letter-spacing: 1px; color: var(--gris); text-transform: uppercase; }
.card-link {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.72rem; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--or-clair); border-bottom: 1px solid var(--or);
  padding-bottom: 2px; transition: var(--transition);
}
.card-link:hover { color: var(--ivoire); gap: 0.8rem; }
.card-link svg { width: 15px; height: 15px; }

/* ===== ATELIER / VALUES ===== */
.atelier { padding: 6rem 0 8rem; background: var(--noir-2); border-top: 1px solid rgba(200,169,105,0.1); border-bottom: 1px solid rgba(200,169,105,0.1); }
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2.5rem; margin-top: 3rem; }
.value { text-align: center; padding: 0 1rem; }
.value .icon {
  width: 58px; height: 58px; margin: 0 auto 1.3rem;
  border: 1px solid var(--or); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.value .icon svg { width: 24px; height: 24px; stroke: var(--or-clair); }
.value h4 { font-family: 'Cormorant Garamond', serif; font-size: 1.25rem; color: var(--ivoire); margin-bottom: 0.6rem; }
.value p { font-size: 0.85rem; color: var(--gris); line-height: 1.6; }

/* ===== SHOWROOM ===== */
.showroom { padding: 8rem 0; }
.showroom-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.showroom-copy p { color: var(--gris); line-height: 1.8; margin: 1.2rem 0 2rem; max-width: 440px; }
.showroom-address {
  display: flex; align-items: flex-start; gap: 0.9rem;
  color: var(--ivoire); font-size: 0.95rem; line-height: 1.6;
  margin-bottom: 2.2rem;
}
.showroom-address svg { width: 22px; height: 22px; flex-shrink: 0; margin-top: 2px; color: var(--or); }
.showroom-map {
  position: relative;
  aspect-ratio: 4/3;
  border: 1px solid rgba(200,169,105,0.25);
  background:
    radial-gradient(circle at 50% 50%, rgba(200,169,105,0.1), transparent 60%),
    repeating-linear-gradient(0deg, rgba(200,169,105,0.06) 0, rgba(200,169,105,0.06) 1px, transparent 1px, transparent 48px),
    repeating-linear-gradient(90deg, rgba(200,169,105,0.06) 0, rgba(200,169,105,0.06) 1px, transparent 1px, transparent 48px),
    var(--noir-2);
  display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 1.2rem;
}
.map-pin-pulse { position: relative; width: 20px; height: 20px; }
.map-pin-pulse::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: var(--or); box-shadow: 0 0 0 4px rgba(200,169,105,0.15);
}
.map-pin-pulse span {
  position: absolute; inset: -14px; border: 1px solid var(--or); border-radius: 50%;
  animation: map-ping 2.2s ease-out infinite;
}
@keyframes map-ping { 0% { transform: scale(0.6); opacity: 1; } 100% { transform: scale(2.6); opacity: 0; } }
.showroom-map .map-coords {
  font-family: 'Jost', sans-serif; font-size: 0.68rem; letter-spacing: 2px; text-transform: uppercase; color: var(--gris);
}

/* ===== SPECS LINKS ===== */
.specs-links { padding: 6rem 0 8rem; }
.specs-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; }
.specs-link {
  display: flex; flex-direction: column; gap: 0.5rem;
  background: var(--noir-2); border: 1px solid rgba(200,169,105,0.14);
  padding: 1.6rem 1.4rem; transition: var(--transition); position: relative;
}
.specs-link:hover { border-color: rgba(200,169,105,0.5); transform: translateY(-4px); }
.specs-link-name { font-family: 'Cormorant Garamond', serif; font-size: 1.4rem; color: var(--ivoire); }
.specs-link-tag { font-size: 0.68rem; letter-spacing: 1px; text-transform: uppercase; color: var(--gris); }
.specs-link svg { position: absolute; top: 1.5rem; right: 1.2rem; width: 16px; height: 16px; color: var(--or); opacity: 0; transition: var(--transition); }
.specs-link:hover svg { opacity: 1; transform: translateX(3px); }

/* ===== CTA STRIP ===== */
.cta-strip {
  padding: 7rem 0; text-align: center;
  background: radial-gradient(ellipse 70% 100% at 50% 0%, rgba(200,169,105,0.1), transparent 70%);
}
.cta-strip h2 { font-size: clamp(1.9rem, 3.4vw, 2.8rem); max-width: 700px; margin: 0 auto 1.2rem; color: var(--ivoire); }
.cta-strip p { color: var(--gris); max-width: 520px; margin: 0 auto 2.4rem; line-height: 1.7; }

/* ===== FOOTER ===== */
footer { background: #080705; padding: 5rem 0 2rem; border-top: 1px solid rgba(200,169,105,0.12); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 3rem; padding-bottom: 3.5rem; }
.footer-brand img { height: 50px; width: 50px; object-fit: contain; border-radius: 50%; background: var(--ivoire); padding: 3px; margin-bottom: 1.2rem; }
.footer-brand p { color: var(--gris); font-size: 0.88rem; line-height: 1.7; max-width: 320px; }
.footer-col h5 { font-size: 0.72rem; letter-spacing: 2px; text-transform: uppercase; color: var(--or); margin-bottom: 1.3rem; }
.footer-col a, .footer-col p { display: block; font-size: 0.88rem; color: var(--gris); margin-bottom: 0.8rem; line-height: 1.6; transition: var(--transition); }
.footer-col a:hover { color: var(--or-clair); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem;
  padding-top: 2rem; border-top: 1px solid rgba(200,169,105,0.1);
  font-size: 0.75rem; color: #6b6558;
}

/* ===== WHATSAPP FLOAT ===== */
.wa-float {
  position: fixed; bottom: 1.8rem; right: 1.8rem; z-index: 200;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25D366; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
  transition: var(--transition);
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 28px; height: 28px; fill: #fff; }

/* ===== REVEAL ===== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ===== RESPONSIVE ===== */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .hero-visual img { height: 320px; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .values { grid-template-columns: repeat(2, 1fr); row-gap: 3rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .showroom-grid { grid-template-columns: 1fr; }
  .showroom-map { order: -1; }
  .specs-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 700px) {
  .specs-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 700px) {
  .nav-links { display: none; }
  .burger { display: flex; }
  .nav-cta span { display: none; }
  .hero { padding-top: 7rem; }
  .grid { grid-template-columns: 1fr; }
  .hero-badge { position: static; margin-top: 1.2rem; max-width: none; }
  .values { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
