/* =====================================================================
   Arte e Móveis — Estilo do site público
   Paleta: marrom escuro / madeira / caramelo / creme, com detalhes verdes
   Mobile-first
   ===================================================================== */

:root {
  --brown-950: #17100B;
  --brown-900: #3A1F0F;
  --brown-800: #4a2510;
  --brown-700: #5c2f16;
  --caramel: #C78A36;
  --caramel-dark: #a8722a;
  --caramel-light: #D99A3E;
  --cream: #F5F3EA;
  --beige: #efe2ce;
  --beige-dark: #e2d0b3;
  --white: #ffffff;
  --green: #285B22;
  --green-dark: #173D16;
  --green-bg: #eef3e6;
  --green-border: #d3e2c4;
  --text: #2a1206;
  --text-light: #6b5541;
  --text-inverse: #fbf3e7;

  --font-script: 'Brush Script MT', 'Segoe Script', 'Bradley Hand', cursive;

  --font-display: Georgia, 'Times New Roman', serif;
  --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  --radius: 10px;
  --shadow: 0 10px 30px rgba(36, 18, 5, 0.15);
  --shadow-sm: 0 4px 14px rgba(36, 18, 5, 0.1);
  --container: 1180px;
}

* { 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.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-display); margin: 0 0 .5em; line-height: 1.2; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

.skip-link {
  position: absolute; left: -999px; top: 0; background: var(--brown-900); color: #fff;
  padding: 10px 16px; z-index: 999;
}
.skip-link:focus { left: 10px; top: 10px; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 24px; border-radius: 999px; font-weight: 600; font-size: .95rem;
  border: 2px solid transparent; cursor: pointer; transition: all .2s ease; white-space: nowrap;
}
.btn-primary { background: var(--caramel); color: var(--brown-950); }
.btn-primary:hover { background: var(--caramel-dark); }
.btn-green { background: var(--green); color: #fff; }
.btn-green:hover { background: var(--green-dark); }
.btn-outline { background: transparent; border-color: var(--beige); color: var(--brown-950); }
.btn-outline-light { background: transparent; border-color: rgba(255,255,255,.5); color: #fff; }
.btn-outline-light:hover { background: rgba(255,255,255,.12); }
.btn-dark { background: var(--brown-900); color: #fff; }
.btn-dark:hover { background: var(--brown-950); }
.btn-whats { background: #25d366; color: #08361c; }
.btn-whats:hover { background: #1ebe5b; }
.btn-sm { padding: 9px 16px; font-size: .85rem; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header { background: var(--white); box-shadow: var(--shadow-sm); position: sticky; top: 0; z-index: 100; }
.site-header .container { display: flex; align-items: center; justify-content: space-between; padding-top: 12px; padding-bottom: 12px; gap: 12px; }

.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark { width: 42px; height: 42px; border-radius: 8px; background: var(--brown-950); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.brand-mark img { width: 26px; height: 26px; object-fit: contain; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-family: var(--font-display); font-size: 1.15rem; color: var(--brown-950); letter-spacing: .5px; }
.brand-text span { font-size: .68rem; text-transform: uppercase; letter-spacing: 1.5px; color: var(--caramel-dark); }

.main-nav {
  position: fixed; inset: 0 0 0 30%; background: var(--brown-950); padding: 90px 28px 28px;
  display: flex; flex-direction: column; gap: 4px; transform: translateX(100%);
  transition: transform .3s ease; z-index: 90; overflow-y: auto;
}
.main-nav.open { transform: translateX(0); }
.main-nav a { color: var(--beige); padding: 14px 6px; font-size: 1.05rem; border-bottom: 1px solid rgba(255,255,255,.08); }
.main-nav a.active, .main-nav a:hover { color: var(--caramel-light); }
.nav-divider { height: 1px; background: rgba(255,255,255,.12); margin: 10px 0; }
.nav-auth { display: flex; flex-direction: column; gap: 12px; margin-top: 16px; }
.nav-auth .btn { padding: 12px 24px; font-size: .9rem; gap: 8px; }

.nav-toggle {
  width: 42px; height: 42px; border-radius: 8px; border: 1px solid var(--beige-dark); background: var(--cream);
  position: relative; cursor: pointer; flex-shrink: 0;
}
.nav-toggle span, .nav-toggle::before, .nav-toggle::after {
  content: ''; position: absolute; left: 10px; right: 10px; height: 2px; background: var(--brown-950); transition: all .2s;
}
.nav-toggle::before { top: 14px; }
.nav-toggle span { top: 20px; }
.nav-toggle::after { top: 26px; }
.nav-toggle[aria-expanded="true"]::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"]::after { transform: translateY(-6px) rotate(-45deg); }
.nav-toggle[aria-expanded="true"] span { opacity: 0; }

.site-header--transparent {
  background: transparent; box-shadow: none; position: absolute; top: 0; left: 0; right: 0; z-index: 50;
}
.site-header--transparent .brand-mark { background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.35); }
.site-header--transparent .brand-text strong { color: #fff; }
.site-header--transparent .brand-text span { color: var(--caramel-light); }
.site-header--transparent .nav-toggle { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.4); }
.site-header--transparent .nav-toggle span,
.site-header--transparent .nav-toggle::before,
.site-header--transparent .nav-toggle::after { background: #fff; }

.nav-overlay { position: fixed; inset: 0 70% 0 0; background: rgba(36,18,5,.5); z-index: 80; opacity: 0; pointer-events: none; transition: opacity .3s; }
.nav-overlay.open { opacity: 1; pointer-events: auto; }

/* ---------- Hero ---------- */
.hero {
  position: relative; background: var(--brown-950) url('../img/hero-mesa.jpg') center/cover no-repeat; color: #fff; overflow: hidden;
  padding: 110px 0 50px;
}
.hero::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(23,16,11,.94) 0%, rgba(23,16,11,.82) 32%, rgba(23,16,11,.45) 62%, rgba(23,16,11,.35) 100%);
}
.hero .container { position: relative; z-index: 2; }
.leaf-decor {
  position: absolute; pointer-events: none; z-index: 1; opacity: .3;
  -webkit-mask-image: radial-gradient(circle at 100% 0%, black 0%, transparent 65%);
  mask-image: radial-gradient(circle at 100% 0%, black 0%, transparent 65%);
}
.leaf-decor.top-right { top: 0; right: 0; width: 320px; max-width: 40%; }
.leaf-decor.bottom-left {
  bottom: 0; left: 0; width: 280px; max-width: 40%; transform: scaleX(-1);
  -webkit-mask-image: radial-gradient(circle at 0% 100%, black 0%, transparent 65%);
  mask-image: radial-gradient(circle at 0% 100%, black 0%, transparent 65%);
}
.hero h1 { font-size: 1.9rem; max-width: 640px; line-height: 1.15; }
.hero h1 em, .hero h1 .accent { color: var(--caramel-light); font-style: normal; }
.hero p.lead { font-size: 1rem; color: var(--beige); max-width: 480px; margin-top: 10px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }

.hero-badges { display: flex; flex-wrap: wrap; column-gap: 30px; row-gap: 14px; margin-top: 20px; }
.hero-badge { display: flex; align-items: center; gap: 10px; }
.hero-badge i { color: var(--caramel-light); font-size: 1.3rem; text-align: center; width: 22px; }
.hero-badge span { font-size: .82rem; color: var(--beige); line-height: 1.3; }

.hero-quote {
  display: none; position: absolute; right: 40px; bottom: 28px; z-index: 2; text-align: right;
  font-family: var(--font-script); font-size: 1.4rem; color: var(--caramel-light);
  line-height: 1.3; opacity: .9;
}

/* ---------- Section headings ---------- */
.section { padding: 56px 0; }
.section-tight { padding: 40px 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 32px; }
.eyebrow { text-transform: uppercase; letter-spacing: 2px; font-size: .78rem; font-weight: 700; color: var(--caramel-dark); margin-bottom: 10px; }
.section-head h2 { font-size: 1.7rem; color: var(--brown-950); }
.section-head p { color: var(--text-light); }
.bg-cream { background: var(--cream); }
.bg-white { background: var(--white); }
.bg-brown { background: var(--brown-950); color: #fff; }
.bg-beige { background: var(--beige); }

/* ---------- Frete Grátis (como na referência) ---------- */
.shipping-section {
  background: var(--green-bg); color: var(--text); position: relative; overflow: hidden;
}
.shipping-section::before {
  content: ''; position: absolute; top: -80px; right: -80px; width: 260px; height: 260px;
  border-radius: 50%; background: radial-gradient(circle, rgba(74,103,65,.12), transparent 70%);
}
.shipping-decor { display: none; }

.shipping-columns { display: flex; flex-direction: column; gap: 28px; position: relative; z-index: 1; }
.shipping-col { flex: 1; }
.shipping-col-map { display: flex; justify-content: center; align-items: center; }
.shipping-col-checklist { display: flex; flex-direction: column; }

.shipping-truck-icon { color: var(--green-dark); font-size: 2.6rem; margin-bottom: 10px; }
.shipping-title {
  font-family: var(--font-body); font-weight: 800; font-size: 2.4rem; letter-spacing: -.5px;
  color: var(--green-dark); line-height: 1;
}
.shipping-title .accent { color: var(--green); }
.shipping-subtitle {
  font-weight: 800; font-size: .95rem; letter-spacing: .5px; text-transform: uppercase;
  color: var(--green-dark); margin-top: 6px;
}
.shipping-text { color: var(--text); font-size: .95rem; max-width: 380px; margin-top: 10px; }

.states-details summary { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; list-style: none; margin-top: 16px; }
.states-details summary::-webkit-details-marker { display: none; }
.states-details[open] summary { margin-bottom: 16px; }
.states-grid-compact { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; max-width: 420px; }
.states-grid-compact span {
  background: var(--white); border: 1px solid var(--green-border); color: var(--green-dark);
  font-size: .68rem; font-weight: 700; text-align: center; border-radius: 6px; padding: 4px 2px;
}
.states-note { margin-top: 12px; font-size: .8rem; color: var(--text-light); max-width: 420px; }

.brazil-map-wrap { display: flex; justify-content: center; align-items: center; width: 100%; max-width: 230px; margin: 0 auto; }
.brazil-map-svg { width: 100%; height: auto; display: block; }
.brazil-map-svg path { transition: fill .2s; }

.shipping-checklist { display: flex; flex-direction: column; gap: 16px; padding-left: 24px; border-left: 2px solid var(--green-border); }
.shipping-checklist li { display: flex; align-items: center; gap: 12px; color: var(--text); font-size: .95rem; font-weight: 500; }
.check-badge {
  width: 24px; height: 24px; border-radius: 50%; background: var(--green); color: #fff; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; font-size: .7rem;
}
.shipping-footnote {
  display: flex; align-items: center; gap: 10px; font-size: .95rem; color: var(--green-dark);
  font-family: var(--font-script); line-height: 1.25; margin-top: 20px; padding-left: 24px;
}
.shipping-footnote i { font-size: 1.3rem; flex-shrink: 0; }

/* ---------- Condições de pagamento ---------- */
.payment-section {
  position: relative; background: var(--cream) url('../img/payment-bg.jpg') center/cover no-repeat;
}
.payment-section .section-head h2 em { color: var(--caramel-dark); font-style: normal; }
.eyebrow-flourish { display: flex; align-items: center; justify-content: center; gap: 14px; }
.eyebrow-flourish span { width: 32px; height: 1px; background: var(--caramel); display: inline-block; }

.payment-grid { display: grid; grid-template-columns: 1fr; gap: 20px; align-items: stretch; }
.payment-card {
  background: rgba(255,255,255,.9); border: 1px solid var(--beige-dark); border-radius: var(--radius);
  padding: 34px 24px 28px; text-align: center; box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; align-items: center;
  transition: transform .2s ease, box-shadow .2s ease;
}
.payment-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.payment-icon-wrap { position: relative; margin-bottom: 18px; }
.payment-icon {
  width: 62px; height: 62px; border-radius: 50%; color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 1.45rem;
  box-shadow: 0 8px 18px rgba(23,16,11,.18); border: 3px solid rgba(199,138,54,.35);
}
.payment-icon-green { background: linear-gradient(160deg, var(--green), var(--green-dark)); }
.payment-icon-caramel { background: linear-gradient(160deg, var(--caramel-light), var(--caramel-dark)); }
.payment-icon-brown { background: linear-gradient(160deg, var(--brown-900), var(--brown-950)); }
.payment-sprig { position: absolute; top: -6px; right: -22px; color: #a8b98f; font-size: 1.4rem; transform: rotate(20deg); }
.payment-card h3 {
  font-size: 1.08rem; color: var(--brown-950); min-height: 2.6em; display: flex; align-items: center;
}
.payment-card p { color: var(--text-light); font-size: .92rem; margin-bottom: 0; }
.payment-dash { width: 36px; height: 3px; border-radius: 2px; background: var(--caramel); margin-top: 18px; }
.payment-quote {
  text-align: center; font-family: var(--font-script); font-size: 1.5rem; color: var(--caramel-dark);
  margin: 36px 0 0; position: relative; display: inline-block; left: 50%; transform: translateX(-50%);
}
.payment-quote::after {
  content: ''; position: absolute; left: 10%; right: 10%; bottom: -8px; height: 2px; background: var(--caramel);
  opacity: .5;
}

/* ---------- Grid genérico ---------- */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: repeat(2, 1fr); }

/* ---------- Cards de produto ---------- */
.product-card {
  background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm);
  border: 1px solid var(--beige-dark); display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s;
  height: 100%;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.product-thumb { position: relative; aspect-ratio: 4/3; background: var(--beige); overflow: hidden; }
.product-thumb img { width: 100%; height: 100%; object-fit: cover; }
.product-badge {
  position: absolute; top: 10px; left: 10px; background: var(--caramel); color: var(--brown-950);
  font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .5px;
  padding: 5px 10px; border-radius: 999px;
}
.product-fav {
  position: absolute; top: 10px; right: 10px; z-index: 2; width: 32px; height: 32px; border-radius: 50%;
  background: rgba(23,16,11,.45); border: none; color: #fff; display: flex; align-items: center; justify-content: center;
  cursor: pointer; font-size: .95rem; transition: background .2s;
}
.product-fav:hover { background: rgba(23,16,11,.7); }
.product-body { padding: 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.product-cat { font-size: .72rem; text-transform: uppercase; letter-spacing: 1px; color: var(--caramel-dark); font-weight: 700; }
.product-name { font-family: var(--font-display); font-size: 1.05rem; color: var(--brown-950); margin: 0; }
.product-desc { font-size: .85rem; color: var(--text-light); margin: 0; flex: 1; }
.product-price-row { margin-top: 8px; display: flex; flex-direction: column; gap: 8px; }
.product-price { font-size: 1.15rem; font-weight: 700; color: var(--brown-900); }
.product-price-locked { display: flex; align-items: center; gap: 8px; font-size: .82rem; color: var(--text-light); background: var(--beige); border-radius: 8px; padding: 8px 10px; }
.product-price-locked i { color: var(--caramel-dark); }
.product-actions { display: flex; gap: 8px; margin-top: 6px; flex-wrap: wrap; }
.product-actions .btn { flex: 1; }

/* ---------- Sobre teaser ---------- */
.about-teaser { display: grid; grid-template-columns: 1fr; gap: 30px; align-items: center; }
.about-text-col p { color: var(--text-light); }
.about-teaser > img { border-radius: var(--radius); box-shadow: var(--shadow); }
.about-points { display: flex; flex-direction: column; gap: 14px; margin: 18px 0; }
.about-points li { display: flex; align-items: flex-start; gap: 12px; }
.about-points i { color: var(--caramel-dark); margin-top: 3px; }
.about-media-col { display: flex; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); min-height: 280px; }
.about-photo { flex: 1; width: 100%; height: 100%; object-fit: cover; min-height: 280px; min-width: 0; }
.about-perks {
  width: 140px; flex-shrink: 0; background: var(--brown-950); color: #fff;
  display: flex; flex-direction: column; justify-content: center; gap: 26px; padding: 20px 16px;
}
.about-perk { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.about-perk i { color: var(--caramel-light); font-size: 1.3rem; }
.about-perk span { font-size: .78rem; line-height: 1.35; color: var(--beige); }

/* ---------- CTA cadastro ---------- */
.cta-banner-section {
  position: relative; background: var(--brown-950) url('../img/hero-mesa.jpg') center 30%/cover no-repeat;
  color: #fff; padding: 56px 0; overflow: hidden;
}
.cta-banner-section::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(23,16,11,.95) 0%, rgba(23,16,11,.9) 45%, rgba(23,16,11,.75) 100%);
}
.cta-banner-grid { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 28px; align-items: flex-start; justify-content: space-between; }
.cta-banner-grid h2 { font-size: 1.6rem; }
.cta-banner-grid p { color: var(--beige); max-width: 420px; }
.cta-decor { display: flex; align-items: center; gap: 16px; }
.cta-decor .leaf-badge {
  width: 46px; height: 46px; border-radius: 50%; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.2);
  display: flex; align-items: center; justify-content: center; color: var(--caramel-light); font-size: 1.1rem; flex-shrink: 0;
}
.cta-quote {
  font-family: var(--font-script); font-size: 1.6rem; color: var(--caramel-light);
  text-align: left; line-height: 1.25; opacity: .95;
}

/* ---------- Contato ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
.contact-card { background: var(--white); border: 1px solid var(--beige-dark); border-radius: var(--radius); padding: 22px; }
.contact-card h3 { font-size: 1.05rem; color: var(--brown-950); }
.seller-item { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--beige); }
.seller-item:last-child { border-bottom: none; }
.seller-name { font-weight: 600; color: var(--brown-950); font-size: .92rem; }
.seller-tag { font-size: .72rem; color: var(--caramel-dark); text-transform: uppercase; letter-spacing: .5px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--brown-950); color: var(--beige); padding: 56px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 34px; padding-bottom: 38px; }
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.footer-brand strong { font-family: var(--font-display); color: #fff; font-size: 1.1rem; }
.footer-desc { font-size: .88rem; color: rgba(251,243,231,.7); max-width: 320px; }
.footer-col h4 { color: #fff; font-size: .82rem; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 16px; }
.footer-col a, .footer-col li { display: block; font-size: .88rem; color: rgba(251,243,231,.75); margin-bottom: 12px; }
.footer-col a:hover { color: var(--caramel-light); }
.footer-social { display: flex; gap: 12px; margin-top: 4px; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.08); color: #fff;
  display: flex; align-items: center; justify-content: center; transition: background .2s, transform .2s;
}
.footer-social a:hover { background: var(--caramel); color: var(--brown-950); transform: translateY(-2px); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1); padding: 18px 0; display: flex; flex-direction: column; gap: 8px;
  align-items: center; text-align: center; font-size: .78rem; color: rgba(251,243,231,.6);
}
.footer-bottom .links { display: flex; gap: 16px; }

/* ---------- WhatsApp flutuante ---------- */
.whats-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 200; width: 58px; height: 58px; border-radius: 50%;
  background: #25d366; color: #fff; display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; box-shadow: 0 8px 24px rgba(0,0,0,.25);
}

/* ---------- Página interna genérica ---------- */
.page-header {
  position: relative; background: var(--brown-950) url('../img/wood-pattern.svg') center/cover no-repeat;
  color: #fff; padding: 118px 0 44px; text-align: center; overflow: hidden;
}
.page-header::before {
  content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(23,16,11,.85), rgba(23,16,11,.92));
}
.page-header .container { position: relative; z-index: 1; }
.page-header .eyebrow { color: var(--caramel-light); justify-content: center; display: flex; }
.page-header h1 { font-size: 1.9rem; }
.page-header p { color: var(--beige); max-width: 560px; margin: 0 auto; }
.breadcrumb { font-size: .8rem; color: var(--beige); margin-top: 8px; }
.breadcrumb a { color: var(--caramel-light); }

.filters-bar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.filters-bar a {
  padding: 9px 18px; border-radius: 999px; background: var(--white); border: 1px solid var(--beige-dark);
  font-size: .82rem; color: var(--text); font-weight: 600; transition: all .2s;
}
.filters-bar a.active, .filters-bar a:hover { background: var(--caramel); color: var(--brown-950); border-color: var(--caramel); }

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

.pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 40px; }
.pagination a {
  min-width: 40px; height: 40px; padding: 0 8px; border-radius: 8px; display: flex; align-items: center; justify-content: center;
  background: var(--white); border: 1px solid var(--beige-dark); color: var(--text); font-weight: 600; font-size: .9rem;
  transition: all .2s;
}
.pagination a:hover { border-color: var(--caramel); color: var(--caramel-dark); }
.pagination a.active { background: var(--caramel); border-color: var(--caramel); color: var(--brown-950); }
.pagination a.pagination-arrow { color: var(--text-light); }

.product-card:nth-of-type(3n+2) .product-thumb { background: linear-gradient(135deg, var(--beige) 0%, #e9dcc2 100%); }
.product-card:nth-of-type(3n+3) .product-thumb { background: linear-gradient(135deg, #f1e6d0 0%, var(--beige) 100%); }

/* ---------- Página de produto ---------- */
.product-page { display: grid; grid-template-columns: 1fr; gap: 40px; }
.product-gallery-frame { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.product-gallery-frame img { width: 100%; display: block; }
.product-badge-abs { position: absolute; top: 14px; left: 14px; }
.product-thumbs { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.product-thumbs .thumb {
  width: 64px; height: 64px; object-fit: cover; border-radius: 8px; cursor: pointer;
  border: 2px solid transparent; opacity: .75; transition: all .15s;
}
.product-thumbs .thumb:hover { opacity: 1; }
.product-thumbs .thumb.active { border-color: var(--caramel); opacity: 1; }

.product-trust-row { display: flex; flex-direction: column; gap: 10px; margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--beige-dark); }
.product-trust-item { display: flex; align-items: center; gap: 12px; font-size: .85rem; color: var(--text-light); }
.product-trust-item i { width: 34px; height: 34px; border-radius: 50%; background: var(--green-bg); color: var(--green-dark); flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: .95rem; }

.search-bar { display: flex; gap: 8px; margin-bottom: 18px; max-width: 420px; }
.search-bar input {
  flex: 1; padding: 11px 16px; border-radius: 999px; border: 1px solid var(--beige-dark);
  font-size: .9rem; background: var(--white); color: var(--text);
}
.search-bar input:focus { outline: 2px solid var(--caramel); }
.search-bar button {
  width: 44px; height: 44px; border-radius: 50%; border: none; background: var(--brown-950); color: #fff; cursor: pointer;
}
.product-info h1 { font-size: 1.7rem; color: var(--brown-950); margin-top: 6px; }
.product-info > p { color: var(--text-light); }

.product-meta-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 22px 0; }
.product-meta-item {
  background: var(--cream); border: 1px solid var(--beige-dark); border-radius: 10px; padding: 14px;
  display: flex; flex-direction: column; gap: 4px;
}
.product-meta-item i { color: var(--caramel-dark); font-size: 1.1rem; margin-bottom: 2px; }
.product-meta-item span.label { font-size: .7rem; text-transform: uppercase; letter-spacing: .5px; color: var(--text-light); font-weight: 700; }
.product-meta-item strong { color: var(--brown-950); font-size: .95rem; }

.product-features-list { display: flex; flex-direction: column; gap: 10px; margin: 0 0 20px; }
.product-features-list li { display: flex; align-items: flex-start; gap: 10px; font-size: .92rem; color: var(--text); }
.product-features-list i { color: var(--green); margin-top: 3px; }

.product-additional-info {
  display: flex; align-items: flex-start; gap: 10px; background: var(--beige); border-radius: 8px;
  padding: 12px 14px; font-size: .85rem; color: var(--text-light); margin-bottom: 20px;
}
.product-additional-info i { color: var(--caramel-dark); margin-top: 2px; }

.product-price-block { background: var(--white); border: 1px solid var(--beige-dark); border-radius: var(--radius); padding: 24px; margin: 4px 0 18px; box-shadow: var(--shadow-sm); }
.product-price-block .price-big { font-size: 1.9rem; font-weight: 700; color: var(--brown-900); }
.product-price-block .installment { font-size: .82rem; color: var(--text-light); margin-top: 4px; }
.product-price-block .product-price-locked { font-size: .88rem; color: var(--text); font-weight: 600; }
.product-price-block .product-price-locked i { font-size: 1.1rem; }
.product-price-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }

/* ---------- Formulários (login, cadastro, senha) ---------- */
.auth-card { background: var(--white); border: 1px solid var(--beige-dark); border-radius: var(--radius); padding: 28px 26px; box-shadow: var(--shadow-sm); }
.form-group { margin-bottom: 18px; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.form-row { display: grid; grid-template-columns: 1fr; gap: 0 14px; }
.form-group label { font-size: .85rem; font-weight: 700; color: var(--brown-950); }
.form-group label .optional { font-weight: 400; color: var(--text-light); }
.form-group input {
  width: 100%; min-width: 0; box-sizing: border-box;
  padding: 11px 14px; border-radius: 8px; border: 1px solid var(--beige-dark); background: var(--cream);
  font-size: .95rem; color: var(--text); font-family: var(--font-body);
}
.form-group input:focus { outline: 2px solid var(--caramel); background: var(--white); }
.form-error { color: #b3261e; font-size: .8rem; }
.form-alert {
  display: flex; align-items: flex-start; gap: 10px; background: var(--beige); border-radius: 8px;
  padding: 12px 14px; font-size: .88rem; color: var(--text); margin-bottom: 16px; line-height: 1.5;
}
.form-alert i { color: var(--caramel-dark); margin-top: 2px; flex-shrink: 0; }
.form-alert-success { background: var(--green-bg); }
.form-alert-success i { color: var(--green-dark); }
.form-checkbox { display: flex; align-items: flex-start; gap: 10px; font-size: .85rem; color: var(--text-light); margin: 4px 0 22px; cursor: pointer; }
.form-checkbox input { margin-top: 3px; accent-color: var(--caramel); }
.form-forgot { text-align: right; margin: -8px 0 18px; font-size: .82rem; }
.form-forgot a { color: var(--caramel-dark); font-weight: 600; }
.auth-switch { text-align: center; font-size: .88rem; color: var(--text-light); margin-top: 18px; }
.auth-switch a { color: var(--caramel-dark); font-weight: 700; }

.account-info { display: flex; flex-direction: column; gap: 14px; }
.account-info-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding-bottom: 12px; border-bottom: 1px solid var(--beige); font-size: .92rem; }
.account-info-row:last-child { border-bottom: none; padding-bottom: 0; }
.account-info-row .label { color: var(--text-light); }
.account-info-row strong { color: var(--brown-950); text-align: right; }

/* ---------- 404 ---------- */
.error-page { text-align: center; padding: 90px 20px; }
.error-page h1 { font-size: 4rem; color: var(--caramel); }

/* =====================================================================
   Responsivo — tablet e desktop
   ===================================================================== */
@media (min-width: 640px) {
  .hero-quote { display: block; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .payment-grid { grid-template-columns: repeat(3, 1fr); }
  .contact-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 860px) {
  .hero h1 { font-size: 2.6rem; }
  .shipping-columns { flex-direction: row; align-items: center; }
  .about-teaser { grid-template-columns: 1fr 1fr; }
  .cta-banner-grid { flex-direction: row; align-items: center; }
  .product-page { grid-template-columns: 1fr 1fr; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
  .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 24px; }
}

@media (min-width: 1024px) {
  .main-nav {
    position: static; inset: auto; background: transparent; padding: 0; flex-direction: row;
    align-items: center; gap: 22px; transform: none; overflow: visible;
  }
  .main-nav a { color: var(--text); padding: 4px 0; font-size: .92rem; border-bottom: none; position: relative; }
  .main-nav a.active, .main-nav a:hover { color: var(--caramel-dark); }
  .main-nav a.active::after {
    content: ''; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--caramel-dark);
  }
  .site-header--transparent .main-nav a { color: rgba(255,255,255,.92); }
  .site-header--transparent .main-nav a.active, .site-header--transparent .main-nav a:hover { color: var(--caramel-light); }
  .site-header--transparent .main-nav a.active::after { background: var(--caramel-light); }
  .nav-divider { display: none; }
  .nav-auth { flex-direction: row; margin-top: 0; margin-left: 28px; gap: 14px; }
  .nav-toggle, .nav-overlay { display: none; }
  .grid-2 { grid-template-columns: 1fr 1fr; }
  .section { padding: 76px 0; }
  .hero { padding: 130px 0 64px; }
  .section-head h2 { font-size: 2.1rem; }
  .shipping-decor {
    display: block; position: absolute; right: -60px; top: 50%; transform: translateY(-50%);
    width: 320px; height: 320px; border-radius: 50%; overflow: hidden; z-index: 0;
    box-shadow: 0 20px 45px rgba(36,18,5,.25); border: 6px solid var(--white);
  }
  .shipping-decor img { width: 100%; height: 100%; object-fit: cover; }
  .shipping-columns { padding-right: 200px; }
}
