/* ==========================================================
   Ateliê Criar3D — paleta extraída da logo
   ========================================================== */
:root {
  --cream: #FBF3EE;
  --cream-soft: #FFFDFB;
  --rose: #DE93A1;
  --rose-dark: #C36F80;
  --sage: #9FBC8F;
  --sage-dark: #7FA06D;
  --peach: #EAB98C;
  --lavender: #B7A3D8;
  --text: #5F4A4B;
  --text-light: #8C7778;
  --line: rgba(95, 74, 75, 0.14);
  --shadow: 0 12px 30px rgba(95, 74, 75, 0.12);
  --radius: 20px;
  --font-display: "Fraunces", "Georgia", serif;
  --font-body: "Quicksand", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--cream);
  line-height: 1.55;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container {
  width: min(1120px, 92%);
  margin-inline: auto;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(251, 243, 238, 0.88);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand img {
  height: 52px;
  width: auto;
}

nav.main-nav {
  display: flex;
  gap: 28px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}

nav.main-nav a {
  color: var(--text);
  position: relative;
  padding-bottom: 4px;
}

nav.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--rose);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}

nav.main-nav a:hover::after { transform: scaleX(1); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.9rem;
  border: none;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--rose), var(--rose-dark));
  color: #fff;
  box-shadow: 0 8px 20px rgba(195, 111, 128, 0.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(195, 111, 128, 0.42); }

.btn-outline {
  background: transparent;
  border: 1.5px solid var(--text);
  color: var(--text);
}
.btn-outline:hover { background: var(--text); color: var(--cream-soft); }

.btn-whatsapp {
  background: #2fae5a;
  color: #fff;
}
.btn-whatsapp:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(47,174,90,.35); }

/* ---------- Hero ---------- */
.hero {
  padding: 72px 0 60px;
  position: relative;
  overflow: hidden;
}

.hero .container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rose-dark);
  margin-bottom: 18px;
}

.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--rose); }

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4.4vw, 3.6rem);
  line-height: 1.08;
  margin: 0 0 20px;
  font-weight: 600;
}

.hero h1 em {
  font-style: italic;
  background: linear-gradient(120deg, var(--sage-dark), var(--lavender));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p.lead {
  font-size: 1.08rem;
  color: var(--text-light);
  max-width: 46ch;
  margin-bottom: 30px;
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* Signature: pilha de camadas — ecoa a impressora/empilhamento da logo */
.layer-stack {
  position: relative;
  width: 100%;
  max-width: 380px;
  margin-inline: auto;
  aspect-ratio: 1 / 1;
}

.layer-stack .layer {
  position: absolute;
  left: 50%;
  border-radius: 18px;
  transform: translateX(-50%);
  box-shadow: 0 14px 26px rgba(95,74,75,0.16);
}

.layer-stack .layer:nth-child(1) { width: 78%; bottom: 0; background: var(--peach); z-index: 4; }
.layer-stack .layer:nth-child(2) { width: 68%; bottom: 15%; background: var(--rose); z-index: 3; }
.layer-stack .layer:nth-child(3) { width: 58%; bottom: 30%; background: var(--lavender); z-index: 2; }
.layer-stack .layer:nth-child(4) { width: 46%; bottom: 45%; background: var(--sage); z-index: 1; }

.layer-stack .layer { height: 22%; animation: floatLayer 5s ease-in-out infinite; }
.layer-stack .layer:nth-child(2) { animation-delay: .3s; }
.layer-stack .layer:nth-child(3) { animation-delay: .6s; }
.layer-stack .layer:nth-child(4) { animation-delay: .9s; }

@keyframes floatLayer {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-6px); }
}

@media (prefers-reduced-motion: reduce) {
  .layer-stack .layer { animation: none; }
}

/* ---------- Divider (camadas em vez de linha reta) ---------- */
.layer-divider {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin: 8px 0 36px;
}
.layer-divider span {
  width: 46px;
  height: 6px;
  border-radius: 4px;
}
.layer-divider span:nth-child(1) { background: var(--sage); }
.layer-divider span:nth-child(2) { background: var(--peach); }
.layer-divider span:nth-child(3) { background: var(--rose); }
.layer-divider span:nth-child(4) { background: var(--lavender); }

/* ---------- Sections ---------- */
section { padding: 64px 0; }

.section-head { text-align: center; max-width: 640px; margin: 0 auto 44px; }
.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 600;
  margin: 0 0 12px;
}
.section-head p { color: var(--text-light); margin: 0; }

/* ---------- Produtos ---------- */
.filters {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.filter-chip {
  padding: 9px 18px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: var(--cream-soft);
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  color: var(--text);
  transition: all .2s ease;
}
.filter-chip.active,
.filter-chip:hover {
  background: var(--rose);
  color: #fff;
  border-color: var(--rose);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 26px;
}

.product-card {
  background: var(--cream-soft);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(95,74,75,0.18);
}

.product-media {
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, var(--sage) 0%, var(--peach) 45%, var(--rose) 75%, var(--lavender) 100%);
  position: relative;
  overflow: hidden;
}
.product-media img { width: 100%; height: 100%; object-fit: cover; }
.product-media .no-image {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 700; font-family: var(--font-display); font-size: 1.1rem;
  text-align: center; padding: 12px;
}

.product-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }

.product-category {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sage-dark);
}

.product-body h3 { font-family: var(--font-display); font-size: 1.15rem; margin: 0; }
.product-body p.desc { color: var(--text-light); font-size: 0.9rem; margin: 0; flex: 1; }

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 8px;
}

.price { font-weight: 700; font-size: 1.15rem; color: var(--rose-dark); }

.btn-mini {
  padding: 9px 16px;
  border-radius: 999px;
  background: #2fae5a;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.btn-mini:hover { filter: brightness(1.05); }

.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-light);
  border: 1.5px dashed var(--line);
  border-radius: var(--radius);
}

/* ---------- Sobre / Como funciona ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.step {
  background: var(--cream-soft);
  border-radius: var(--radius);
  padding: 28px 24px;
  border: 1px solid var(--line);
  text-align: left;
}
.step .step-icon {
  width: 46px; height: 46px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700; font-size: 1.1rem;
  color: #fff;
  margin-bottom: 16px;
}
.step:nth-child(1) .step-icon { background: var(--sage); }
.step:nth-child(2) .step-icon { background: var(--peach); }
.step:nth-child(3) .step-icon { background: var(--rose); }
.step h3 { font-family: var(--font-display); margin: 0 0 8px; font-size: 1.1rem; }
.step p { color: var(--text-light); margin: 0; font-size: 0.92rem; }

/* ---------- Contato / CTA final ---------- */
.cta-final {
  background: linear-gradient(135deg, var(--sage) 0%, var(--lavender) 100%);
  border-radius: 28px;
  padding: 56px 40px;
  text-align: center;
  color: #fff;
}
.cta-final h2 { font-family: var(--font-display); font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 0 0 12px; }
.cta-final p { opacity: 0.95; max-width: 50ch; margin: 0 auto 28px; }

/* ---------- Footer ---------- */
footer.site-footer {
  border-top: 1px solid var(--line);
  padding: 32px 0;
  text-align: center;
  color: var(--text-light);
  font-size: 0.85rem;
}

/* ---------- WhatsApp flutuante ---------- */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 50;
  background: #25D366;
  color: #fff;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.45);
  transition: transform .2s ease;
}
.whatsapp-float:hover { transform: scale(1.08); }
.whatsapp-float svg { width: 30px; height: 30px; }

/* ---------- Responsivo ---------- */
@media (max-width: 880px) {
  .hero .container { grid-template-columns: 1fr; text-align: center; }
  .hero-actions { justify-content: center; }
  nav.main-nav { display: none; }
  .steps { grid-template-columns: 1fr; }
}
