:root {
  --ink: #21181c;
  --black: #0f0d0e;
  --pink: #d93d82;
  --pink-dark: #a72861;
  --gold: #e0ad3f;
  --cream: #fff9f5;
  --paper: #ffffff;
  --muted: #72666c;
  --line: #eadde2;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "Poppins", sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
}
body.modal-open { overflow: hidden; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { font: inherit; }

.container {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.hero {
  position: relative;
  min-height: min(780px, 92vh);
  background: url("../assets/brand-pattern.png") center / cover no-repeat;
  display: grid;
  place-items: center;
  text-align: center;
  color: #fff;
  overflow: hidden;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 13, 14, .72);
}
.hero-content {
  position: relative;
  z-index: 1;
  width: min(760px, calc(100% - 40px));
  padding: 56px 0;
}
.logo {
  width: clamp(210px, 28vw, 340px);
  aspect-ratio: 1;
  margin: 0 auto 28px;
  object-fit: contain;
}
.hero h1 {
  font-family: "Playfair Display", serif;
  font-size: clamp(2.35rem, 5vw, 4.25rem);
  line-height: 1.08;
  margin-bottom: 18px;
  letter-spacing: 0;
}
.tagline {
  max-width: 650px;
  margin: 0 auto 30px;
  font-size: 1.08rem;
  color: rgba(255, 255, 255, .88);
}
.hero-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: transform .2s, background .2s, border-color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--gold); color: var(--black); }
.btn-primary:hover { background: #efbd50; }
.btn-secondary { border-color: rgba(255,255,255,.65); color: #fff; background: rgba(0,0,0,.22); }
.btn-secondary:hover { border-color: #fff; background: rgba(0,0,0,.45); }

section { padding: 86px 0; }
section h2 {
  font-family: "Playfair Display", serif;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.15;
  letter-spacing: 0;
  color: var(--ink);
  margin-bottom: 16px;
}
.eyebrow {
  margin-bottom: 10px;
  color: var(--pink-dark);
  font-size: .78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0;
}
.subtitle { color: var(--muted); margin-bottom: 28px; }

.sobre { background: var(--paper); text-align: center; }
.sobre p:not(.eyebrow) { max-width: 720px; margin: 0 auto 16px; }
.text-link {
  display: inline-block;
  color: var(--pink-dark);
  font-weight: 600;
  border-bottom: 1px solid currentColor;
}

.produtos { background: var(--cream); }
.produtos h2, .produtos .subtitle, .produtos .eyebrow { text-align: center; }
.filters {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.filter-button {
  min-height: 42px;
  padding: 9px 15px;
  border: 1px solid var(--line);
  border-radius: 5px;
  color: var(--ink);
  background: var(--paper);
  cursor: pointer;
  transition: color .2s, background .2s, border-color .2s;
}
.filter-button:hover,
.filter-button.active {
  color: #fff;
  background: var(--pink-dark);
  border-color: var(--pink-dark);
}
.result-count {
  min-height: 24px;
  margin-bottom: 18px;
  color: var(--muted);
  text-align: center;
  font-size: .88rem;
}
.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.card {
  min-width: 0;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(65, 31, 45, .06);
  transition: transform .25s, box-shadow .25s;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(65, 31, 45, .12);
}
.card-image-button {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  border: 0;
  background: #f2ecef;
  overflow: hidden;
  cursor: zoom-in;
}
.card-image-button img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s;
}
.card:hover .card-image-button img { transform: scale(1.035); }
.zoom-label {
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 7px 10px;
  border-radius: 4px;
  background: rgba(15,13,14,.82);
  color: #fff;
  font-size: .76rem;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity .2s, transform .2s;
}
.card-image-button:hover .zoom-label,
.card-image-button:focus-visible .zoom-label { opacity: 1; transform: translateY(0); }
.card-body { padding: 18px; }
.card-theme {
  display: block;
  margin-bottom: 5px;
  color: var(--pink-dark);
  font-size: .75rem;
  font-weight: 600;
  text-transform: uppercase;
}
.card-body h3 {
  min-height: 48px;
  font-family: "Playfair Display", serif;
  font-size: 1.2rem;
  line-height: 1.25;
  letter-spacing: 0;
}
.card-body .btn { width: 100%; margin-top: 15px; }

.cta { color: #fff; background: var(--black); }
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.cta h2 { color: #fff; }
.cta p:not(.eyebrow) { color: rgba(255,255,255,.72); }
.cta .eyebrow { color: #f187b4; }

.contato { background: var(--paper); text-align: center; }
.contato p:not(.eyebrow) { color: var(--muted); margin-bottom: 28px; }
.social { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }
.social a {
  min-height: 44px;
  padding: 10px 20px;
  border: 1px solid var(--pink-dark);
  border-radius: 5px;
  color: var(--pink-dark);
  font-weight: 600;
  transition: color .2s, background .2s;
}
.social a:hover { color: #fff; background: var(--pink-dark); }

footer {
  padding: 24px 16px;
  color: rgba(255,255,255,.72);
  background: var(--black);
  text-align: center;
  font-size: .86rem;
}

.whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 20;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border: 3px solid #fff;
  border-radius: 50%;
  color: #fff;
  background: #1fa855;
  box-shadow: 0 8px 25px rgba(0,0,0,.25);
  font-size: .82rem;
  font-weight: 700;
}

.gallery-modal {
  width: min(1100px, calc(100% - 32px));
  height: min(90vh, 850px);
  max-width: none;
  max-height: none;
  padding: 0;
  border: 0;
  border-radius: 8px;
  overflow: hidden;
  color: #fff;
  background: var(--black);
}
.gallery-modal::backdrop { background: rgba(0,0,0,.88); }
.gallery-modal[open] {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) 58px;
  align-items: center;
}
.gallery-modal figure {
  min-width: 0;
  height: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  align-items: center;
}
.gallery-modal figure img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
  background: #080707;
}
.gallery-modal figcaption {
  align-self: stretch;
  padding: 36px 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  background: #191416;
}
#galeria-tema { color: #f187b4; font-size: .78rem; font-weight: 600; text-transform: uppercase; }
#galeria-titulo { font-family: "Playfair Display", serif; font-size: 1.6rem; line-height: 1.2; }
#galeria-indice { margin-bottom: 12px; color: rgba(255,255,255,.6); font-size: .85rem; }
.gallery-close,
.gallery-nav {
  border: 0;
  color: #fff;
  background: transparent;
  cursor: pointer;
}
.gallery-close {
  position: absolute;
  top: 12px;
  right: 16px;
  z-index: 2;
  width: 44px;
  height: 44px;
  font-size: 2rem;
}
.gallery-nav { width: 58px; height: 70px; font-size: 2rem; }
.gallery-nav:hover, .gallery-close:hover { color: var(--gold); }

@media (max-width: 850px) {
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cta-inner { align-items: flex-start; flex-direction: column; }
  .gallery-modal { width: calc(100% - 20px); height: 92vh; }
  .gallery-modal[open] { grid-template-columns: 44px minmax(0, 1fr) 44px; }
  .gallery-modal figure { grid-template-columns: 1fr; grid-template-rows: minmax(0, 1fr) auto; }
  .gallery-modal figcaption { padding: 18px; }
  .gallery-modal figcaption .btn { min-height: 44px; }
  .gallery-nav { width: 44px; }
}

@media (max-width: 560px) {
  .container { width: min(100% - 28px, 1160px); }
  section { padding: 64px 0; }
  .hero { min-height: 760px; }
  .hero-content { width: calc(100% - 28px); padding: 36px 0; }
  .logo { width: 220px; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .grid { grid-template-columns: 1fr; gap: 16px; }
  .card-body h3 { min-height: 0; }
  .filters {
    justify-content: flex-start;
    flex-wrap: nowrap;
    margin-right: -14px;
    padding-right: 14px;
    overflow-x: auto;
    scrollbar-width: thin;
  }
  .filter-button { flex: 0 0 auto; }
  .whatsapp-float { right: 14px; bottom: 14px; width: 54px; height: 54px; }
  .gallery-modal[open] {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: minmax(0, 1fr);
  }
  .gallery-modal figure { grid-column: 1; grid-row: 1; }
  .gallery-nav {
    position: absolute;
    top: 38%;
    z-index: 2;
    border-radius: 4px;
    background: rgba(0,0,0,.58);
  }
  .gallery-prev { left: 8px; }
  .gallery-next { right: 8px; }
  #galeria-titulo { font-size: 1.3rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
