/* ============================================================
   QUART'Z — GLOBAL.CSS
   Reset + componentes compartilhados por todas as páginas.
   Importar APÓS variables.css, ANTES do CSS da página.
   ============================================================ */

/* ── RESET ─────────────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border-radius: 0 !important; /* REGRA INVIOLÁVEL */
  box-shadow: none !important;  /* REGRA INVIOLÁVEL */
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  background-color: var(--washi);
  color: var(--void);
  font-family: var(--font-body);
  font-weight: 200;
  font-size: 14px;
  line-height: 1.65;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Páginas sem hero: adicionar classe .tem-header-fixo no body
   para empurrar o conteúdo */
body.tem-header-fixo {
  padding-top: var(--header-h);
}

img, svg { display: block; max-width: 100%; }
a        { color: inherit; text-decoration: none; }
button   { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; outline: none; appearance: none; -webkit-appearance: none; }

/* Trava global — nenhum input do site abaixo de 16px, evita zoom automático no iOS Safari */
input, textarea, select {
  font-size: 16px;
}
ul, ol   { list-style: none; }

/* ── TIPOGRAFIA BASE ────────────────────────────────────────── */

/* Títulos — Cormorant Garamond */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-title);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: 0.02em;
}

/* Classe utilitária para título grande */
.titulo {
  font-family: var(--font-title);
  font-weight: 400;
  letter-spacing: var(--ls-title);
  line-height: 1.1;
}

/* Label uppercase — Montserrat */
.label {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 8px;
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
}

/* Corpo padrão */
.corpo {
  font-family: var(--font-body);
  font-weight: 200;
  font-size: 13px;
  letter-spacing: var(--ls-body);
  color: var(--ash);
  line-height: 1.7;
}

/* ── LAYOUT UTILITÁRIOS ─────────────────────────────────────── */

.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--page-px);
}

.px { padding-left: var(--page-px); padding-right: var(--page-px); }

.divider {
  width: 100%;
  height: 1px;
  background: var(--stone);
  border: none;
  flex-shrink: 0;
}

.divider--amadeirado { background: var(--amadeirado); }

/* ── BOTÕES ─────────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 10px;
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
  padding: 15px 24px;
  cursor: pointer;
  transition: opacity var(--ease), background var(--ease), color var(--ease);
}

/* Primário: fundo --void */
.btn-primary {
  background: var(--void);
  color: var(--washi);
  border: 1px solid var(--void);
}
.btn-primary:hover { opacity: 0.82; }

/* Outline escuro */
.btn-outline {
  background: transparent;
  color: var(--void);
  border: 1px solid var(--void);
}
.btn-outline:hover { background: var(--void); color: var(--washi); }

/* Outline amadeirado */
.btn-outline-amadeirado {
  background: transparent;
  color: var(--amadeirado);
  border: 1px solid var(--amadeirado);
}

/* WhatsApp — borda stone, fundo washi */
.btn-whatsapp {
  background: var(--washi);
  color: var(--void);
  border: 1px solid var(--stone);
}

/* Tamanho pequeno */
.btn-sm {
  font-size: 9px;
  padding: 10px 16px;
  width: auto;
}

/* ── INPUTS ─────────────────────────────────────────────────── */

.campo {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.campo__label {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 9px;
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
  color: var(--void);
}

.campo__input,
.campo__textarea {
  width: 100%;
  background: transparent;
  border: 1px solid var(--stone);
  padding: 13px 14px;
  font-family: var(--font-body);
  font-weight: 200;
  font-size: 16px; /* min 16px evita zoom automático no iOS */
  color: var(--void);
  transition: border-color var(--ease);
}

.campo__input::placeholder,
.campo__textarea::placeholder { color: var(--stone); }

.campo__input:focus,
.campo__textarea:focus { border-color: var(--amadeirado); }

/* Campo com ícone à direita (ex: senha) */
.campo--icone { position: relative; }
.campo--icone .campo__input { padding-right: 44px; }
.campo__icone-btn {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--stone);
  font-size: 14px;
  cursor: pointer;
}

/* ── BADGES / TAGS ──────────────────────────────────────────── */

.badge {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 7px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 4px 9px;
  border: 1px solid currentColor;
  line-height: 1;
}

.badge--void       { color: var(--void);     border-color: var(--void); }
.badge--amadeirado { color: var(--amadeirado); border-color: var(--amadeirado); }
.badge--washi      { color: var(--washi);    border-color: var(--washi); }
.badge--filled     { background: var(--void); color: var(--washi); border-color: var(--void); }
.badge--filled-amadeirado { background: var(--amadeirado); color: var(--washi); border-color: var(--amadeirado); }

/* ── STATUS DE PEDIDO ───────────────────────────────────────── */

.status {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 7px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 4px 10px;
  border: 1px solid;
  line-height: 1;
}

.status--novo        { color: var(--amadeirado); border-color: var(--amadeirado); }
.status--preparando  { color: var(--ash);        border-color: var(--ash); }
.status--transito    { color: var(--void);        border-color: var(--void); }
.status--entregue    { background: var(--void);  color: var(--washi); border-color: var(--void); }
.status--cancelado   { color: #b94040;           border-color: #b94040; }

/* ── FILTROS / TABS ─────────────────────────────────────────── */

.filter-tabs {
  display: flex;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  border-bottom: 1px solid var(--stone);
  gap: 0;
}
.filter-tabs::-webkit-scrollbar { display: none; }

.filter-tab {
  flex-shrink: 0;
  font-family: var(--font-body);
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ash);
  padding: 12px 14px;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  transition: color var(--ease), border-color var(--ease);
  white-space: nowrap;
  background: transparent;
  border-left: none;
  border-right: none;
  border-top: none;
}

.filter-tab:hover        { color: var(--void); }
.filter-tab.ativo        { color: var(--void); border-bottom-color: var(--amadeirado); }

/* ── TOGGLE SWITCH ──────────────────────────────────────────── */

.toggle {
  position: relative;
  width: 40px;
  height: 22px;
  flex-shrink: 0;
}
.toggle input { opacity: 0; width: 0; height: 0; position: absolute; }
.toggle__slider {
  position: absolute;
  inset: 0;
  background: var(--stone);
  cursor: pointer;
  transition: background var(--ease);
}
.toggle__slider::before {
  content: '';
  position: absolute;
  width: 16px;
  height: 16px;
  left: 3px;
  top: 3px;
  background: var(--washi);
  transition: transform var(--ease);
}
.toggle input:checked ~ .toggle__slider            { background: var(--amadeirado); }
.toggle input:checked ~ .toggle__slider::before    { transform: translateX(18px); }

/* ── CHECKBOX ───────────────────────────────────────────────── */

.check-wrap {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-family: var(--font-body);
  font-weight: 200;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--ash);
}
.check-wrap input[type="checkbox"] { display: none; }
.check-box {
  width: 16px;
  height: 16px;
  border: 1px solid var(--stone);
  flex-shrink: 0;
  margin-top: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--ease), border-color var(--ease);
}
.check-wrap input:checked + .check-box {
  background: var(--amadeirado);
  border-color: var(--amadeirado);
}
.check-wrap input:checked + .check-box::after {
  content: '';
  display: block;
  width: 8px;
  height: 5px;
  border-left: 1.5px solid var(--washi);
  border-bottom: 1.5px solid var(--washi);
  transform: rotate(-45deg) translateY(-1px);
}

/* ── AVATAR ─────────────────────────────────────────────────── */

.avatar {
  width: 32px;
  height: 32px;
  background: var(--amadeirado);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--washi);
  flex-shrink: 0;
  text-transform: uppercase;
}

/* ── BREADCRUMB ─────────────────────────────────────────────── */

.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  font-family: var(--font-body);
  font-weight: 200;
  font-size: 11px;
  color: var(--ash);
  padding: 12px var(--page-px);
}
.breadcrumb__sep { color: var(--stone); }
.breadcrumb a:hover { color: var(--void); }
.breadcrumb__atual { color: var(--void); }

/* ── HEADER ─────────────────────────────────────────────────── */

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 64px;
  padding: 0 1.2rem;
  z-index: 1000;
  display: flex;
  align-items: center;
  transition:
    transform 0.35s ease,
    background-color 0.35s ease,
    border-color 0.35s ease;
}

/* Estado transparente — sobre o hero */
.header.header-transparente {
  background-color: transparent;
  border-bottom: 1px solid transparent;
  color: #fff;
}
.header.header-transparente .btn-menu,
.header.header-transparente .btn-icon,
.header.header-transparente .navbar { color: #fff; }

/* Estado sólido — fora do hero */
.header.header-solido {
  background-color: var(--washi);
  border-bottom: 1px solid var(--stone);
}
.header.header-solido .btn-menu,
.header.header-solido .btn-icon { color: var(--void); }

/* Oculto ao rolar para baixo */
.header.header-oculto { transform: translateY(-100%); }

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  height: 100%;
}

/* Logo centralizada */
.logo {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}
.logo img {
  height: 28px;
  width: auto;
  display: block;
}

/* Botão menu hamburguer */
.btn-menu {
  font-size: 1.3rem;
  padding: 8px;
  color: inherit;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: color 0.3s;
}

/* Ações direita */
.navbar-actions { display: flex; gap: 4px; align-items: center; }

.btn-icon {
  font-size: 1.1rem;
  padding: 8px;
  color: inherit;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: color 0.3s;
  text-decoration: none;
  display: flex;
  align-items: center;
}

/* Lupa removida — navegação pelo catálogo cobre essa necessidade */
.btn-icon[aria-label="Buscar"] { display: none; }

/* ── BADGE DE CONTAGEM DO CARRINHO ──────────────────────────── */

.carrinho-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.carrinho-badge {
  position: absolute;
  top: 0px;
  right: 0px;
  min-width: 14px;
  height: 14px;
  background: #fff;
  color: var(--void);
  font-family: var(--font-body);
  font-size: 7px;
  font-weight: 500;
  letter-spacing: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 3px;
  pointer-events: none;
  line-height: 1;
  transition: opacity 0.2s;
  border-radius: 50% !important;
  border: 1px solid var(--void);
}

/* No header transparente (sobre hero) — badge escuro */
.header-transparente .carrinho-badge {
  background: var(--void);
  color: var(--washi);
  border-color: var(--washi);
}

/* Oculto quando zero */
.carrinho-badge[data-count="0"] { opacity: 0; }




/* ── OVERLAY ────────────────────────────────────────────────── */

.overlay {
  position: fixed;
  inset: 0;
  background-color: #000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 1001;
}
.overlay.show { opacity: 0.5; pointer-events: all; }

/* ── MENU LATERAL ────────────────────────────────────────────── */

.menu {
  position: fixed;
  top: 0;
  left: -100%;
  width: 78%;
  max-width: 320px;
  height: 100vh;
  height: 100svh;
  background-color: #fff;
  border-right: 1px solid var(--stone);
  display: flex;
  flex-direction: column;
  transition: left 0.3s ease;
  z-index: 1050;
  overflow-y: auto;
  scrollbar-width: none;
}
.menu::-webkit-scrollbar { display: none; }
.menu.show { left: 0; }

/* Cabeçalho do menu — só o botão fechar */
.menu-header {
  padding: 0.8rem 1.2rem 0.4rem;
  flex-shrink: 0;
}

.btn-close {
  font-size: 1.1rem;
  color: var(--ash);
  padding: 4px;
  display: block;
  margin-left: auto;
  background: transparent;
  border: none;
  cursor: pointer;
  line-height: 1;
}

/* Espaçador — empurra seção inferior para o fundo */
.menu-spacer { flex: 1; }

/* ── Itens principais ── */
.menu-section-principal {
  padding: 0;
  flex-shrink: 0;
  margin-top: 48px;
}

.menu-section-principal ul { list-style: none; }

.menu-section-principal ul li {
  border-bottom: 1px solid var(--stone);
}

.menu-section-principal ul li a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 1.2rem;
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 300;
  color: var(--void);
  letter-spacing: 0.01em;
  transition: color 0.2s;
}
.menu-section-principal ul li a:hover { color: var(--amadeirado); }

.menu-section-principal ul li a .fa-chevron-right {
  font-size: 0.65rem;
  color: var(--stone);
}

/* Item Conta — ícone usuário */
.menu-item-conta { color: var(--ash) !important; }
.menu-item-conta .fa-user { font-size: 0.85rem; margin-right: 6px; }

/* ── Seção inferior — logo + links secundários ── */
.menu-section-descubra {
  flex-shrink: 0;
  border-top: 1px solid var(--stone);
}

.menu-logo-bottom {
  display: block;
  text-align: center;
  padding: 1rem 0 0.8rem;
}
.menu-logo-bottom img {
  height: 20px;
  width: auto;
  display: block;
  margin: auto;
  opacity: 0.6;
}

.menu-section-descubra ul { list-style: none; }

.menu-section-descubra ul li {
  border-bottom: 1px solid var(--stone);
}
.menu-section-descubra ul li:last-child { border-bottom: none; }

.menu-section-descubra ul li a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 11px 1.2rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 300;
  color: var(--ash);
  transition: color 0.2s;
}
.menu-section-descubra ul li a:hover { color: var(--void); }

.menu-section-descubra ul li a .fa-chevron-right {
  font-size: 0.6rem;
  color: var(--stone);
}

/* ── BRAND STRIP (faixa escura com logo) ────────────────────── */

.brand-strip {
  background: var(--void);
  padding: 28px var(--page-px);
  text-align: center;
}
.brand-strip__titulo {
  font-family: var(--font-title);
  font-size: 2rem;
  font-weight: 400;
  letter-spacing: var(--ls-title);
  color: var(--washi);
  font-style: italic;
}
.brand-strip__sub {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 200;
  color: rgba(244,240,232,0.55);
  margin-top: 6px;
  letter-spacing: 0.06em;
}

/* ── FOOTER ─────────────────────────────────────────────────── */

.footer {
  background: var(--void);
  color: var(--washi);
}

.footer__topo {
  padding: 36px var(--page-px) 28px;
  border-bottom: 1px solid rgba(212,197,176,0.15);
}

.footer__logo {
  font-family: var(--font-title);
  font-size: 1.3rem;
  font-weight: 400;
  letter-spacing: var(--ls-title);
  margin-bottom: 10px;
}

.footer__descricao {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 200;
  color: rgba(244,240,232,0.55);
  line-height: 1.7;
  max-width: 280px;
}

.footer__contato {
  margin-top: 24px;
}

.footer__contato-titulo {
  font-family: var(--font-body);
  font-size: 8px;
  font-weight: 400;
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
  color: rgba(244,240,232,0.4);
  margin-bottom: 10px;
}

.footer__contato-item {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 200;
  color: rgba(244,240,232,0.7);
  line-height: 1.8;
}

/* Accordion do footer */
.footer__accordion-item {
  border-bottom: 1px solid rgba(212,197,176,0.12);
}

.footer__accordion-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px var(--page-px);
  font-family: var(--font-body);
  font-size: 9px;
  font-weight: 400;
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
  color: var(--washi);
  background: transparent;
  cursor: pointer;
  transition: color var(--ease);
}
.footer__accordion-btn:hover { color: var(--stone); }

.footer__accordion-btn svg {
  transition: transform 0.25s ease;
  flex-shrink: 0;
}
.footer__accordion-btn.aberto svg { transform: rotate(180deg); }

.footer__accordion-content {
  display: none;
  flex-direction: column;
  gap: 12px;
  padding: 0 var(--page-px) 18px;
}
.footer__accordion-content.aberto { display: flex; }

.footer__accordion-content a {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 200;
  color: rgba(244,240,232,0.6);
  letter-spacing: 0.04em;
  transition: color var(--ease);
}
.footer__accordion-content a:hover { color: var(--washi); }

/* Rodapé bottom */
.footer__bottom {
  padding: 24px var(--page-px) 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  border-top: 1px solid rgba(212,197,176,0.12);
}

.footer__bottom-logo {
  font-family: var(--font-title);
  font-size: 1.3rem;
  letter-spacing: var(--ls-title);
  color: var(--washi);
}

.footer__sociais {
  display: flex;
  align-items: center;
  gap: 22px;
}
.footer__sociais a {
  color: rgba(244,240,232,0.55);
  font-size: 18px;
  transition: color var(--ease);
  display: flex;
}
.footer__sociais a:hover { color: var(--washi); }

.footer__copy {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 200;
  color: rgba(244,240,232,0.3);
  letter-spacing: 0.06em;
  text-align: center;
}

/* ── WHATSAPP FAB ────────────────────────────────────────────── */

.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 20px;
  width: 52px;
  height: 52px;
  background-color: #25D366;
  color: #fff;
  border-radius: 50% !important;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  z-index: 999;
  transition: opacity 0.2s ease;
  text-decoration: none;
}
.whatsapp-float:hover { opacity: 0.88; }

/* ── RODAPÉ ─────────────────────────────────────────────────── */

.rodape {
  background-color: #000;
  color: #fff;
}

.rodape-institucional {
  padding: 2rem 1.2rem 1.6rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.rodape-marca {
  font-family: var(--font-title);
  font-size: 1.15rem;
  font-weight: 400;
  color: #fff;
  letter-spacing: 0.04em;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.rodape-institucional-texto {
  font-family: var(--font-body);
  font-size: 0.78rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
  font-weight: 200;
  margin-bottom: 0.7rem;
  letter-spacing: 0.01em;
}
.rodape-institucional-texto:last-child { margin-bottom: 0; }

.rodape-contato {
  padding: 1.6rem 1.2rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.rodape-contato-titulo {
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: #fff;
  margin-bottom: 0.9rem;
}

.rodape-contato-item {
  font-family: var(--font-body);
  font-size: 0.78rem;
  color: rgba(255,255,255,0.5);
  font-weight: 200;
  line-height: 1.6;
  margin-bottom: 0.4rem;
  letter-spacing: 0.01em;
}
.rodape-contato-item i { margin-right: 6px; color: rgba(255,255,255,0.35); }

.rodape-cnpj {
  font-family: var(--font-body);
  font-size: 0.65rem;
  color: rgba(255,255,255,0.25);
  text-align: center;
  padding: 0.8rem 1.2rem;
}

.rodape-divider {
  border: none;
  border-top: 1px solid rgba(255,255,255,0.1);
  margin: 0;
}

/* Accordion */
.rodape-accordion-btn {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.1rem 1.2rem;
  background: transparent;
  border: none;
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  cursor: pointer;
  text-transform: uppercase;
}

.rodape-accordion-btn i {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.5);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}
.rodape-accordion-btn.aberto i { transform: rotate(180deg); }

.rodape-accordion-content {
  display: none;
  flex-direction: column;
  padding: 0 1.2rem 1.2rem;
  gap: 0.8rem;
}
.rodape-accordion-content.aberto { display: flex; }

.rodape-accordion-content a {
  font-family: var(--font-body);
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
  font-weight: 200;
  transition: color 0.2s;
  letter-spacing: 0.01em;
}
.rodape-accordion-content a:hover { color: #fff; }

/* Bottom */
.rodape-bottom {
  padding: 1.6rem 1.2rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.rodape-logo {
  height: 22px;
  width: auto;
  opacity: 0.85;
}

.rodape-social { display: flex; gap: 1.4rem; }

.rodape-social a {
  font-size: 1.2rem;
  color: rgba(255,255,255,0.55);
  transition: color 0.2s;
}
.rodape-social a:hover { color: #fff; }

.rodape-copyright {
  font-family: var(--font-body);
  font-size: 0.7rem;
  color: rgba(255,255,255,0.3);
  letter-spacing: 0.05em;
  text-align: center;
  font-weight: 200;
}

/* ── CARD DE PRODUTO ─────────────────────────────────────────── */

.produto-card {
  position: relative;
  overflow: hidden;
}

.produto-card__img-wrap {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #E8E2D8;
}
.produto-card__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.produto-card:hover .produto-card__img-wrap img { transform: scale(1.04); }

.produto-card__badge {
  position: absolute;
  top: 10px;
  left: 10px;
  font-family: var(--font-body);
  font-size: 7px;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 4px 8px;
  background: var(--void);
  color: var(--washi);
  line-height: 1;
}
.produto-card__badge--novo { background: var(--amadeirado); }

.produto-card__wishlist {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 30px;
  height: 30px;
  background: rgba(244,240,232,0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ash);
  transition: color var(--ease);
  cursor: pointer;
}
.produto-card__wishlist:hover,
.produto-card__wishlist.ativo { color: var(--amadeirado); }

.produto-card__corpo {
  padding: 10px 0 14px;
}

.produto-card__meta {
  font-family: var(--font-body);
  font-size: 7.5px;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amadeirado);
  margin-bottom: 4px;
}

.produto-card__nome {
  font-family: var(--font-title);
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--void);
  line-height: 1.2;
}

.produto-card__origem {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 200;
  color: var(--ash);
  margin-top: 2px;
  letter-spacing: 0.03em;
}

.produto-card__preco {
  font-family: var(--font-title);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--void);
  margin-top: 7px;
}

.produto-card__parcela {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 200;
  color: var(--ash);
  letter-spacing: 0.03em;
}

.produto-card__acoes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin-top: 10px;
}

/* ── ANIMAÇÕES ───────────────────────────────────────────────── */

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

.anima-up { animation: fadeUp 0.45s ease forwards; }
.anima-up--1 { animation-delay: 0.05s; opacity: 0; }
.anima-up--2 { animation-delay: 0.12s; opacity: 0; }
.anima-up--3 { animation-delay: 0.20s; opacity: 0; }

/* Credibility strip — ticker */
@keyframes ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── UTILITÁRIOS RÁPIDOS ─────────────────────────────────────── */

.txt-amadeirado { color: var(--amadeirado); }
.txt-ash        { color: var(--ash); }
.txt-stone      { color: var(--stone); }
.txt-washi      { color: var(--washi); }

.f-title  { font-family: var(--font-title); }
.f-body   { font-family: var(--font-body); }
.fw-200   { font-weight: 200; }
.fw-400   { font-weight: 400; }
.italic   { font-style: italic; }
.uppercase{ text-transform: uppercase; }

.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-center  { display: flex; align-items: center; justify-content: center; }

.gap-4  { gap: 4px; }
.gap-8  { gap: 8px; }
.gap-12 { gap: 12px; }
.gap-16 { gap: 16px; }

.mt-4   { margin-top: 4px; }
.mt-8   { margin-top: 8px; }
.mt-12  { margin-top: 12px; }
.mt-16  { margin-top: 16px; }
.mt-20  { margin-top: 20px; }
.mt-24  { margin-top: 24px; }
.mt-32  { margin-top: 32px; }
.mt-40  { margin-top: 40px; }

.pt-16  { padding-top: 16px; }
.pt-24  { padding-top: 24px; }
.pt-32  { padding-top: 32px; }
.pb-16  { padding-bottom: 16px; }
.pb-24  { padding-bottom: 24px; }
.pb-32  { padding-bottom: 32px; }

/* ============================================================
   DESKTOP — HEADER
   Navbar horizontal fixa: logo + links centrais + ícones.
   Os elementos .navbar-desktop-links e o ícone "Conta" são
   injetados via JS (components.js) em todas as páginas.
   ============================================================ */

/* Ícone de conta — oculto no mobile, menu lateral já cobre o acesso */
.btn-icon[aria-label="Conta"] { display: none; }

/* Nav central — só existe visualmente a partir do desktop */
.navbar-desktop-links { display: none; }

@media (min-width: 1024px) {

  .header { padding: 0 3rem; }

  .btn-menu { display: none; }

  .logo {
    position: static;
    transform: none;
  }

  .navbar-desktop-links {
    display: flex;
    align-items: center;
    gap: 40px;
  }

  .navbar-desktop-links a {
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    padding: 4px 0;
    position: relative;
    transition: opacity 0.2s;
  }
  .navbar-desktop-links a:hover { opacity: 0.65; }

  .navbar-desktop-links a::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -4px;
    height: 1px;
    background: var(--amadeirado);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s ease;
  }
  .navbar-desktop-links a:hover::after { transform: scaleX(1); }

  .navbar-actions { gap: 18px; }

  .btn-icon[aria-label="Conta"] { display: flex; }

  /* ── TIPOGRAFIA DESKTOP — textos secundários mais legíveis ── */
  body { font-size: 15px; }

  .corpo,
  .produto-card__parcela,
  .rodape-institucional-texto,
  .rodape-contato-item { font-size: 14px; }

  .breadcrumb { font-size: 12px; }

  /* ── RODAPÉ DESKTOP ────────────────────────────────────────── */
  .rodape {
    padding-left: 3rem;
    padding-right: 3rem;
  }

  .rodape-institucional {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
  }

  .rodape-contato {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 12px 32px;
    justify-content: center;
    text-align: center;
  }

  .rodape-cnpj {
    text-align: center;
  }

  .rodape-bottom {
    text-align: center;
  }
}
