/* MemoriLume (coleção Lumicasa3D) — identidade visual: fundo claro e aconchegante (creme/branco),
   com dourado e coral vivos para o brilho da luminária, e movimento para não parecer estático. */

:root {
  --bg: #f3e8d4;
  --bg-soft: #ecdcbb;
  --card: #fffdf7;
  --card-hover: #fff6e6;
  --gold: #d4901f;
  --gold-2: #f2723d;
  --gold-soft: #9c6314;
  --rose: #ec5a72;
  --cream: #2c2416;
  --muted: #75664e;
  --line: #ddcca6;
  --line-soft: #e6d6b3;
  --radius: 18px;
  --shadow-glow: 0 12px 40px rgba(226, 161, 58, 0.22);
  font-size: 16px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--cream);
  font-family: 'Poppins', 'Segoe UI', system-ui, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; position: relative; z-index: 2; }
::selection { background: var(--gold); color: #fff; }

/* ---- Scrollbar (webkit) ---- */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--line); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold); }

/* ---- Header ---- */
header.site {
  position: sticky; top: 0; z-index: 50;
  background: rgba(243, 232, 212, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-soft);
  transition: box-shadow .3s;
}
header.site.scrolled { box-shadow: 0 8px 30px rgba(44, 36, 22, 0.08); border-bottom-color: var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; padding: 16px 24px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark { width: 42px; height: 42px; border-radius: 10px; }
.logo { font-size: 1.45rem; font-weight: 700; letter-spacing: 0.5px; color: var(--gold-soft); }
.logo span {
  background: linear-gradient(120deg, var(--gold), var(--gold-2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.brand-sub { font-size: 0.72rem; color: var(--muted); letter-spacing: 0.3px; }
.brand-sub strong { color: var(--gold-soft); }
.nav-links { display: flex; gap: 32px; align-items: center; }
.nav-links a {
  color: var(--muted); font-size: 0.95rem; transition: color .2s; position: relative; padding-bottom: 4px;
}
.nav-links a::after {
  content: ''; position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
  background: linear-gradient(90deg, var(--gold), var(--gold-2)); transition: width .25s ease;
}
.nav-links a:hover { color: var(--gold-soft); }
.nav-links a:hover::after { width: 100%; }

.btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 13px 28px; border-radius: 999px;
  font-weight: 600; font-size: 0.95rem; cursor: pointer; border: none;
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
  position: relative; overflow: hidden;
}
.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  color: #1c1409; box-shadow: 0 6px 20px rgba(245, 178, 60, 0.25);
}
.btn-primary::before {
  content: ''; position: absolute; inset: 0; background: linear-gradient(120deg, transparent, rgba(255,255,255,0.5), transparent);
  transform: translateX(-120%); transition: transform .5s ease;
}
.btn-primary:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 12px 32px rgba(245, 178, 60, 0.4); filter: brightness(1.05); }
.btn-primary:hover::before { transform: translateX(120%); }
.btn-outline { background: transparent; color: var(--gold-soft); border: 1px solid var(--gold); }
.btn-outline:hover { background: rgba(245, 178, 60, 0.1); transform: translateY(-2px); }
.btn-whatsapp { background: #25d366; color: #08210f; box-shadow: 0 6px 20px rgba(37,211,102,0.25); }
.btn-whatsapp:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 12px 28px rgba(37,211,102,0.4); }

/* ---- Hero ---- */
.hero {
  position: relative;
  padding: 110px 0 90px;
  text-align: center;
  overflow: hidden;
}
.hero-glow {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
}
.hero-glow span {
  position: absolute; border-radius: 50%; filter: blur(70px); opacity: 0.55;
  animation: float 9s ease-in-out infinite;
}
.hero-glow span:nth-child(1) { width: 320px; height: 320px; background: var(--gold); top: -80px; left: 8%; animation-delay: 0s; }
.hero-glow span:nth-child(2) { width: 260px; height: 260px; background: var(--rose); top: 40px; right: 10%; animation-delay: 1.5s; }
.hero-glow span:nth-child(3) { width: 200px; height: 200px; background: var(--gold-2); bottom: -60px; left: 40%; animation-delay: 3s; }
@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(20px, -24px) scale(1.12); }
}
.hero .eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font-size: 0.8rem; letter-spacing: 2px; text-transform: uppercase;
  color: var(--gold-soft); border: 1px solid var(--line); padding: 7px 18px; border-radius: 999px;
  margin-bottom: 26px; background: rgba(245,178,60,0.06);
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 0%,100% { opacity: 1; box-shadow: 0 0 0 0 rgba(245,178,60,0.5); } 50% { opacity: .6; box-shadow: 0 0 0 6px rgba(245,178,60,0); } }
.hero h1 {
  font-size: clamp(2.3rem, 5.2vw, 3.8rem); font-weight: 700; margin: 0 0 20px;
  color: var(--cream); max-width: 800px; margin-left: auto; margin-right: auto; letter-spacing: -0.5px;
}
.hero h1 em {
  font-style: normal; background: linear-gradient(120deg, var(--gold), var(--gold-2), var(--rose));
  background-size: 200% auto; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shine 4s linear infinite;
}
@keyframes shine { to { background-position: 200% center; } }
.hero p.lead { font-size: 1.18rem; color: var(--muted); max-width: 620px; margin: 0 auto 40px; }
.hero-ctas { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ---- Stats strip ---- */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  max-width: 900px; margin: 56px auto 0; position: relative; z-index: 2;
}
.stat { text-align: center; }
.stat .num {
  font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 700;
  background: linear-gradient(120deg, var(--gold), var(--gold-2)); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat .label { font-size: 0.82rem; color: var(--muted); margin-top: 4px; }
@media (max-width: 700px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* ---- Sections ---- */
section { padding: 84px 0; position: relative; }
.section-title { text-align: center; margin-bottom: 12px; font-size: clamp(1.7rem, 3vw, 2.3rem); }
.section-sub { text-align: center; color: var(--muted); max-width: 580px; margin: 0 auto 52px; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px 26px; transition: transform .25s ease, border-color .25s ease, background .25s ease, box-shadow .25s ease;
}
.card:hover { transform: translateY(-6px); border-color: var(--gold); background: var(--card-hover); box-shadow: var(--shadow-glow); }
.card .icon {
  font-size: 1.9rem; margin-bottom: 16px; display: inline-flex; width: 56px; height: 56px; border-radius: 14px;
  align-items: center; justify-content: center; background: rgba(245,178,60,0.1); transition: transform .3s ease;
}
.card:hover .icon { transform: scale(1.12) rotate(-4deg); }
.card h3 { margin: 0 0 10px; font-size: 1.1rem; color: var(--gold-soft); }
.card p { color: var(--muted); font-size: 0.95rem; margin: 0; }

.how-it-works { counter-reset: step; }
.step { position: relative; padding-left: 60px; transition: transform .25s ease; }
.step:hover { transform: translateX(4px); }
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: 0; top: 0; width: 42px; height: 42px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-2)); color: #1c1409;
  display: flex; align-items: center; justify-content: center; font-weight: 700;
  box-shadow: 0 6px 18px rgba(245,178,60,0.3);
}

.occasions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.occasion-tag {
  background: var(--bg-soft); border: 1px solid var(--line); color: var(--gold-soft);
  padding: 11px 22px; border-radius: 999px; font-size: 0.9rem; cursor: default;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.occasion-tag:hover { transform: translateY(-3px) scale(1.05); border-color: var(--gold); background: rgba(245,178,60,0.1); }

/* ---- Products ---- */
.product-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column; position: relative;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.product-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-glow); border-color: var(--gold); }
.product-badge {
  position: absolute; top: 14px; left: 14px; z-index: 3; background: linear-gradient(120deg, var(--rose), var(--gold-2));
  color: #1c1409; font-size: 0.72rem; font-weight: 700; padding: 5px 12px; border-radius: 999px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}
.product-thumb {
  aspect-ratio: 1 / 1; position: relative; overflow: hidden;
  background: radial-gradient(circle at 50% 40%, #ffe6ad, #fbeed0 75%);
  display: flex; align-items: center; justify-content: center; font-size: 3.2rem;
}
.product-thumb::before {
  content: ''; position: absolute; width: 70%; height: 70%; border-radius: 50%;
  background: radial-gradient(circle, rgba(226,161,58,0.45), transparent 70%);
  filter: blur(10px); animation: lampglow 2.6s ease-in-out infinite;
}
@keyframes lampglow { 0%,100% { opacity: .55; transform: scale(1); } 50% { opacity: .9; transform: scale(1.12); } }
.product-thumb span { position: relative; z-index: 2; transition: transform .3s ease; }
.product-card:hover .product-thumb span { transform: scale(1.15) rotate(-3deg); }
.product-body { padding: 22px; display: flex; flex-direction: column; gap: 9px; flex: 1; }
.product-body h3 { margin: 0; font-size: 1.05rem; color: var(--cream); }
.product-body p {
  color: var(--muted); font-size: 0.88rem; margin: 0; flex: 1;
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden;
}
.price { font-size: 1.35rem; font-weight: 700; color: var(--gold-soft); }
.price small { font-size: 0.75rem; color: var(--muted); font-weight: 400; }

/* ---- Depoimentos ---- */
.testimonials-track {
  display: flex; gap: 22px; overflow-x: auto; padding: 8px 4px 24px; scroll-snap-type: x mandatory;
}
.testimonials-track::-webkit-scrollbar { height: 6px; }
.testimonial {
  scroll-snap-align: start; min-width: 280px; max-width: 320px; flex: 1 0 280px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px;
  transition: transform .25s ease, border-color .25s ease;
}
.testimonial:hover { transform: translateY(-4px); border-color: var(--gold); }
.testimonial .stars { color: var(--gold); letter-spacing: 2px; margin-bottom: 12px; }
.testimonial p { color: var(--cream); font-size: 0.95rem; margin: 0 0 14px; }
.testimonial .author { color: var(--muted); font-size: 0.82rem; }

footer.site {
  border-top: 1px solid var(--line); padding: 52px 0 30px; text-align: center; color: var(--muted); font-size: 0.85rem;
}
footer.site a { color: var(--gold-soft); transition: color .2s; }
footer.site a:hover { color: var(--gold); }
footer .foot-links { display: flex; gap: 24px; justify-content: center; margin-bottom: 20px; flex-wrap: wrap; }

.whatsapp-float {
  position: fixed; bottom: 24px; right: 24px; z-index: 60;
  width: 60px; height: 60px; border-radius: 50%; background: #25d366;
  display: flex; align-items: center; justify-content: center; font-size: 1.7rem;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4); animation: floatpulse 2.4s ease-in-out infinite;
  transition: transform .2s ease;
}
.whatsapp-float:hover { transform: scale(1.1); }
@keyframes floatpulse {
  0%,100% { box-shadow: 0 8px 24px rgba(0,0,0,0.4), 0 0 0 0 rgba(37,211,102,0.4); }
  50% { box-shadow: 0 8px 24px rgba(0,0,0,0.4), 0 0 0 10px rgba(37,211,102,0); }
}

/* ---- Reveal on scroll ---- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }
