/* ========== BASE ========== */
body {
  font-family: var(--font-family);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  overflow-x: hidden;
}

/* ========== TIPOGRAFIA ========== */
h1, h2, h3, h4 {
  font-family: var(--font-family);
  letter-spacing: var(--letter-tight);
  line-height: 1.15;
  font-weight: 700;
}

h1 { font-size: clamp(36px, 6vw, 64px); line-height: 1.05; }
h2 { font-size: clamp(28px, 4vw, 42px); }
h3 { font-size: 20px; line-height: 1.3; font-weight: 600; letter-spacing: -0.5px; }
h4 { font-size: 16px; font-weight: 600; letter-spacing: 0; }

p { color: var(--color-text-muted); line-height: 1.6; }

a { transition: var(--transition); }

/* ========== LAYOUT ========== */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

@media (min-width: 1024px) {
  .container { padding: 0 var(--space-lg); }
}

section {
  padding: var(--space-xl) 0;
}

@media (max-width: 640px) {
  section { padding: var(--space-lg) 0; }
}

/* ========== UTILITÁRIOS ========== */
.text-center { text-align: center; }
.text-muted { color: var(--color-text-muted); }
.text-brand { color: var(--color-brand); }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  background: var(--color-brand-soft);
  color: var(--color-brand);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 600;
  margin-bottom: var(--space-md);
}

.section-label::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--color-brand);
  border-radius: 50%;
}

.section-title {
  margin-bottom: var(--space-md);
}

.section-subtitle {
  font-size: 18px;
  color: var(--color-text-muted);
  max-width: 640px;
  margin-bottom: var(--space-lg);
}

/* ========== BOTÕES ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  padding: 14px 24px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
  cursor: pointer;
  border: 1.5px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background: var(--color-text);
  color: #fff;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background: transparent;
  color: var(--color-text);
  border-color: var(--color-text);
}
.btn-secondary:hover {
  background: var(--color-text);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-brand {
  background: var(--color-brand);
  color: #fff;
}
.btn-brand:hover {
  background: var(--color-brand-hover);
  transform: translateY(-2px);
}

/* ========== ANIMAÇÕES ========== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========== FOCUS ACESSÍVEL ========== */
:focus-visible {
  outline: 2px solid var(--color-brand);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ========== HEADER ========== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: var(--transition);
}

.header.scrolled {
  border-bottom-color: var(--color-border);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  gap: var(--space-md);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--color-text);
}

.logo-img {
  height: 56px;
  width: auto;
  display: block;
  transition: var(--transition);
}
.logo:hover .logo-img {
  transform: scale(1.04);
}

.logo-footer .logo-img {
  height: 64px;
}

.nav-list {
  display: flex;
  gap: 28px;
  font-size: 14px;
  font-weight: 500;
}
.nav-list a {
  color: var(--color-text-muted);
}
.nav-list a:hover {
  color: var(--color-text);
}

.header-cta {
  padding: 10px 20px;
  font-size: 13px;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 8px;
}
.menu-toggle span {
  width: 22px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: var(--transition);
}

/* Mobile */
@media (max-width: 768px) {
  .nav {
    position: fixed;
    inset: var(--header-height) 0 0 0;
    background: var(--color-bg);
    padding: var(--space-lg) var(--space-md);
    transform: translateX(100%);
    transition: var(--transition);
    z-index: 99;
    overflow-y: auto;
  }
  .nav.open {
    transform: translateX(0);
    box-shadow: -4px 0 30px rgba(0, 0, 0, 0.08);
  }
  .nav-list {
    flex-direction: column;
    gap: var(--space-md);
    font-size: 24px;
  }
  .nav-list a {
    color: var(--color-text);
    font-weight: 600;
  }
  .menu-toggle {
    display: flex;
  }
  .menu-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
  .menu-toggle.open span:nth-child(2) { opacity: 0; }
  .menu-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
  .header-cta {
    display: none;
  }
}

/* ========== HERO ========== */
.hero {
  position: relative;
  padding-top: var(--space-lg);
  padding-bottom: 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  align-items: center;
  position: relative;
}

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1.1fr 1fr;
    gap: var(--space-xl);
  }
}

.hero-subtitle {
  font-size: clamp(16px, 1.5vw, 18px);
  margin: var(--space-md) 0 var(--space-lg);
  max-width: 480px;
}

.hero-ctas {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

.hero-products {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  position: relative;
}

.hero-card {
  aspect-ratio: 1;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 64px;
  overflow: hidden;
  transition: var(--transition);
}
.hero-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.hero-card--yellow { background: var(--color-yellow-soft); transform: rotate(-3deg); }
.hero-card--red    { background: var(--color-red-soft); transform: rotate(2deg); margin-top: 24px; }
.hero-card--green  { background: var(--color-green-soft); transform: rotate(4deg); margin-top: -12px; }
.hero-card--blue   { background: var(--color-blue-soft); transform: rotate(-2deg); }

.hero-card img { width: 100%; height: 100%; object-fit: contain; padding: 16px; }

/* Bolinhas decorativas */
.deco {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: -1;
}
.deco-1 { top: 10%; right: 30%; width: 14px; height: 14px; background: var(--color-yellow); }
.deco-2 { bottom: 15%; left: 42%; width: 8px; height: 8px; background: var(--color-red); }
.deco-3 { top: 60%; left: 5%; width: 6px; height: 6px; background: var(--color-green); }

/* Trust strip */
.trust-strip {
  background: var(--color-bg-soft);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding: var(--space-sm) 0;
  margin-top: var(--space-lg);
}
.trust-strip-inner {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: var(--space-md);
  font-size: 13px;
  color: var(--color-text-muted);
  font-weight: 500;
}
@media (max-width: 640px) {
  .trust-strip-inner { justify-content: flex-start; }
}

/* ========== SOBRE ========== */
.sobre {
  background: var(--color-bg);
}

.sobre-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto var(--space-lg);
}
.sobre-header .section-subtitle {
  margin-left: auto;
  margin-right: auto;
}

.features {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}

@media (min-width: 640px) {
  .features { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .features { grid-template-columns: repeat(4, 1fr); }
}

.feature {
  background: var(--color-bg-soft);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  transition: var(--transition);
}
.feature:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}

.feature-icon {
  font-size: 32px;
  margin-bottom: var(--space-sm);
}

.feature h3 {
  margin-bottom: var(--space-xs);
}

.feature p {
  font-size: 14px;
}

/* ========== CATÁLOGO ========== */
.catalogo {
  background: var(--color-bg-soft);
}

.catalogo-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto var(--space-md);
}
.catalogo-header .section-subtitle {
  margin-left: auto;
  margin-right: auto;
}

/* Tabs */
.catalogo-tabs {
  display: flex;
  gap: var(--space-xs);
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: var(--space-lg);
  padding: var(--space-xs);
}

@media (max-width: 768px) {
  .catalogo-tabs {
    overflow-x: auto;
    flex-wrap: nowrap;
    justify-content: flex-start;
    padding: var(--space-xs) var(--space-sm);
    margin-left: calc(var(--space-md) * -1);
    margin-right: calc(var(--space-md) * -1);
  }
}

.tab {
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text-muted);
  background: var(--color-bg);
  border: 1.5px solid var(--color-border);
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}
.tab:hover {
  color: var(--color-text);
  border-color: var(--color-text);
}
.tab.active {
  background: var(--color-text);
  color: #fff;
  border-color: var(--color-text);
  font-weight: 600;
}

/* Grid de produtos */
.produtos-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}
@media (min-width: 640px) {
  .produtos-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .produtos-grid { grid-template-columns: repeat(3, 1fr); }
}

/* Card de produto */
.produto-card {
  background: var(--color-bg);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  border: 1px solid var(--color-border);
}
.produto-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}

.produto-card-img {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  font-size: 64px;
}
.produto-card-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: var(--space-md);
}

/* Cores de fundo do card por categoria */
.produto-card[data-cor="yellow"] .produto-card-img { background: var(--color-yellow-soft); }
.produto-card[data-cor="red"]    .produto-card-img { background: var(--color-red-soft); }
.produto-card[data-cor="green"]  .produto-card-img { background: var(--color-green-soft); }
.produto-card[data-cor="blue"]   .produto-card-img { background: var(--color-blue-soft); }

.produto-card-body {
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  flex: 1;
}

.produto-card-nome {
  font-size: 16px;
  font-weight: 600;
  margin: 0;
}

.produto-card-preco {
  color: var(--color-brand);
  font-size: 14px;
  font-weight: 600;
}

.produto-card-desc {
  font-size: 13px;
  color: var(--color-text-muted);
  flex: 1;
}

.produto-card-cta {
  margin-top: var(--space-sm);
  padding: 10px 16px;
  font-size: 13px;
  align-self: flex-start;
}

.catalogo-loading {
  text-align: center;
  color: var(--color-text-muted);
  padding: var(--space-xl) 0;
}

.produto-card.hidden { display: none; }

/* ========== COMO ENCOMENDAR ========== */
.como {
  background: var(--color-bg);
}

.como-header {
  text-align: center;
  margin-bottom: var(--space-lg);
}

.passos {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
  counter-reset: passo;
}

@media (min-width: 768px) {
  .passos { grid-template-columns: repeat(4, 1fr); }
}

.passo {
  background: var(--color-bg-soft);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  position: relative;
  border: 1px solid var(--color-border);
}

.passo-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--color-brand);
  color: #fff;
  border-radius: 50%;
  font-weight: 700;
  font-size: 18px;
  margin-bottom: var(--space-sm);
}

.passo h3 {
  margin-bottom: var(--space-xs);
}

.passo p {
  font-size: 14px;
}

/* ========== GALERIA ========== */
.galeria {
  background: var(--color-bg-soft);
}
.galeria-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto var(--space-lg);
}
.galeria-header .section-subtitle {
  margin-left: auto;
  margin-right: auto;
}

.galeria-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-sm);
}
@media (min-width: 640px) {
  .galeria-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .galeria-grid { grid-template-columns: repeat(3, 1fr); }
}

.galeria-item {
  display: block;
  aspect-ratio: 1;
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  transition: var(--transition);
}
.galeria-item:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-md);
}
.galeria-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
  background: var(--color-bg);
}
.galeria-item:hover img {
  filter: brightness(0.92);
}

.galeria-footer {
  text-align: center;
  margin-top: var(--space-lg);
}

/* ========== CONTATO ========== */
.contato {
  background: var(--color-bg);
}
.contato-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto var(--space-lg);
}
.contato-header .section-subtitle {
  margin-left: auto;
  margin-right: auto;
}

.contato-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}
@media (min-width: 768px) {
  .contato-grid { grid-template-columns: repeat(3, 1fr); }
}

.contato-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-xs);
  padding: var(--space-md);
  background: var(--color-bg-soft);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  transition: var(--transition);
  position: relative;
  text-decoration: none;
  color: var(--color-text);
}
.contato-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.contato-card p {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 14px;
}
.contato-card h3 {
  margin: 0;
}

.contato-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  margin-bottom: var(--space-sm);
}

.contato-card--insta .contato-icon {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  color: #fff;
}
.contato-card--wpp .contato-icon {
  background: #25D366;
  color: #fff;
}
.contato-card--email .contato-icon {
  background: var(--color-brand-soft);
  color: var(--color-brand);
}

.contato-arrow {
  position: absolute;
  bottom: var(--space-md);
  right: var(--space-md);
  font-size: 24px;
  color: var(--color-text-muted);
  transition: var(--transition);
}
.contato-card:hover .contato-arrow {
  transform: translateX(4px);
  color: var(--color-text);
}

/* ========== FOOTER ========== */
.footer {
  background: #0A0A0A;
  color: #fff;
  padding-top: var(--space-xl);
  margin-top: var(--space-lg);
}
.footer .logo,
.footer h4 { color: #fff; }
.footer .logo-text-light { color: #999; }

.footer-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  padding-bottom: var(--space-lg);
}
@media (min-width: 768px) {
  .footer-inner { grid-template-columns: 2fr 1fr 1.5fr 1fr; }
}

.footer-brand p {
  color: #999;
  margin-top: var(--space-sm);
  font-size: 14px;
  max-width: 280px;
}

.footer h4 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: var(--space-sm);
  color: #999;
  font-weight: 600;
}

.footer ul { display: flex; flex-direction: column; gap: var(--space-xs); }
.footer ul a {
  color: #ddd;
  font-size: 14px;
  transition: var(--transition);
}
.footer ul a:hover { color: var(--color-brand); }

.footer-icons { display: flex; gap: var(--space-sm); }
.footer-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  transition: var(--transition);
}
.footer-icons a:hover {
  background: var(--color-brand);
  transform: translateY(-2px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: var(--space-md) 0;
}
.footer-bottom p {
  text-align: center;
  font-size: 13px;
  color: #777;
  margin: 0;
}

/* ========== WHATSAPP FLUTUANTE ========== */
.wpp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  background: #25D366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  z-index: 99;
  opacity: 0;
  transform: scale(0.8);
  pointer-events: none;
  transition: var(--transition);
}
.wpp-float.visible {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}
.wpp-float:hover {
  transform: scale(1.08);
  box-shadow: 0 12px 32px rgba(37, 211, 102, 0.5);
}

/* ========== LIGHTBOX (galeria) ========== */
/* O .galeria-item agora é <button>; remove estilos default */
.galeria-item {
  background: var(--color-bg);
  border: 0;
  padding: 0;
  font: inherit;
  color: inherit;
  cursor: zoom-in;
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 10, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  padding: var(--space-md);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0s linear 0.25s;
}
.lightbox.open {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.25s ease;
}

.lightbox-img {
  max-width: 92vw;
  max-height: 88vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  transform: scale(0.92);
  transition: transform 0.25s ease;
}
.lightbox.open .lightbox-img {
  transform: scale(1);
}

.lightbox-close {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 0;
  cursor: pointer;
  font-size: 28px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: rotate(90deg);
}
