/* ==========================================================================
   RICKSON JOIAS — ESTILO DARK LUXURY OFICIAL
   Cores: Preto Profundo (#070707), Dourado Acetinado (#C9A44D), Marfim (#F7F2E8)
   ========================================================================== */

:root {
  --bg-deep: #070707;
  --bg-card: #11100E;
  --bg-surface: #181614;
  --gold-primary: #C9A44D;
  --gold-light: #F0D487;
  --gold-dark: #806321;
  --gold-gradient: linear-gradient(135deg, #F0D487 0%, #C9A44D 50%, #806321 100%);
  --gold-border: rgba(201, 164, 77, 0.25);
  --gold-border-hover: rgba(240, 212, 135, 0.6);
  --text-primary: #F7F2E8;
  --text-muted: #9E988E;
  --whatsapp-color: #25D366;
  --whatsapp-hover: #20BA56;
  --font-serif: 'Cinzel', 'Playfair Display', Georgia, serif;
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --shadow-gold: 0 10px 30px -10px rgba(201, 164, 77, 0.25);
  --shadow-card: 0 15px 35px rgba(0, 0, 0, 0.6);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: var(--bg-deep);
  color: var(--text-primary);
  font-family: var(--font-sans);
  line-height: 1.6;
  overflow-x: hidden;
  background-image: 
    radial-gradient(circle at 10% 20%, rgba(201, 164, 77, 0.05) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(201, 164, 77, 0.04) 0%, transparent 40%);
}

/* Barra Superior de Anúncios */
.top-bar {
  background: linear-gradient(90deg, #14120f, #221d15, #14120f);
  border-bottom: 1px solid var(--gold-border);
  color: var(--gold-light);
  font-size: 0.85rem;
  padding: 8px 15px;
  text-align: center;
  letter-spacing: 0.5px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
}

.top-bar strong {
  color: #fff;
  background: rgba(201, 164, 77, 0.2);
  padding: 2px 8px;
  border-radius: 4px;
  border: 1px solid rgba(201, 164, 77, 0.4);
}

/* Header & Navegação */
header {
  background: rgba(7, 7, 7, 0.92);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--gold-border);
}

.header-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.logo-img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1.5px solid var(--gold-primary);
  box-shadow: 0 0 15px rgba(201, 164, 77, 0.3);
  object-fit: cover;
  transition: transform 0.3s ease;
}

.logo-link:hover .logo-img {
  transform: scale(1.06);
}

.logo-title-wrap {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 700;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.logo-subtitle {
  font-size: 0.7rem;
  letter-spacing: 2px;
  color: var(--text-muted);
  text-transform: uppercase;
}

/* Barra de Busca */
.search-box {
  flex: 1;
  max-width: 440px;
  position: relative;
}

.search-box input {
  width: 100%;
  background: var(--bg-surface);
  border: 1px solid var(--gold-border);
  color: var(--text-primary);
  padding: 10px 16px 10px 42px;
  border-radius: 24px;
  font-size: 0.9rem;
  outline: none;
  transition: all 0.3s ease;
}

.search-box input:focus {
  border-color: var(--gold-primary);
  box-shadow: 0 0 12px rgba(201, 164, 77, 0.25);
  background: #1e1b17;
}

.search-icon {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gold-primary);
  pointer-events: none;
}

/* Ações do Header (Instagram e WhatsApp) */
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-social {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-instagram {
  background: linear-gradient(45deg, #405DE6, #5851DB, #833AB4, #C13584, #E1306C, #FD1D1D);
  color: #fff;
  box-shadow: 0 4px 12px rgba(225, 48, 108, 0.3);
}

.btn-instagram:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(225, 48, 108, 0.5);
}

.btn-whatsapp-header {
  background: var(--whatsapp-color);
  color: #fff;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp-header:hover {
  background: var(--whatsapp-hover);
  transform: translateY(-2px);
}

/* HERO SECTION */
.hero {
  padding: 60px 24px 40px;
  text-align: center;
  max-width: 960px;
  margin: 0 auto;
  position: relative;
}

.hero-tag {
  display: inline-block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--gold-light);
  border: 1px solid var(--gold-border);
  padding: 6px 16px;
  border-radius: 20px;
  background: rgba(201, 164, 77, 0.08);
  margin-bottom: 20px;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 18px;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto 30px;
}

.hero-cta-group {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-gold {
  background: var(--gold-gradient);
  color: #0d0d0d;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 14px 28px;
  border-radius: 30px;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: var(--shadow-gold);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.btn-gold:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 30px rgba(201, 164, 77, 0.4);
}

.btn-outline-gold {
  background: transparent;
  color: var(--gold-light);
  border: 1px solid var(--gold-primary);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 13px 26px;
  border-radius: 30px;
  text-decoration: none;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-outline-gold:hover {
  background: rgba(201, 164, 77, 0.12);
  border-color: var(--gold-light);
  color: #fff;
}

/* SEÇÃO DE DIFERENCIAIS & BENEFÍCIOS */
.benefits-bar {
  max-width: 1280px;
  margin: 20px auto 40px;
  padding: 0 24px;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  background: var(--bg-card);
  border: 1px solid var(--gold-border);
  border-radius: 16px;
  padding: 24px;
}

.benefit-item {
  display: flex;
  align-items: center;
  gap: 14px;
}

.benefit-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(201, 164, 77, 0.1);
  border: 1px solid var(--gold-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--gold-light);
  flex-shrink: 0;
}

.benefit-text h4 {
  font-size: 0.95rem;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.benefit-text p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* FILTROS E ABAS DE CATEGORIAS */
.filter-section {
  max-width: 1280px;
  margin: 0 auto 30px;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.category-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.pill-btn {
  background: var(--bg-surface);
  border: 1px solid var(--gold-border);
  color: var(--text-muted);
  padding: 8px 18px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.25s ease;
}

.pill-btn:hover {
  border-color: var(--gold-primary);
  color: var(--gold-light);
}

.pill-btn.active {
  background: var(--gold-gradient);
  color: #070707;
  font-weight: 700;
  border-color: transparent;
  box-shadow: 0 4px 15px rgba(201, 164, 77, 0.3);
}

.metal-filters {
  display: flex;
  gap: 8px;
}

.metal-btn {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
  padding: 6px 14px;
  border-radius: 16px;
  font-size: 0.8rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.metal-btn.active {
  border-color: var(--gold-light);
  color: var(--gold-light);
  background: rgba(201, 164, 77, 0.1);
}

/* VITRINE DE PRODUTOS */
.catalog-container {
  max-width: 1280px;
  margin: 0 auto 60px;
  padding: 0 24px;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--gold-border);
  padding-bottom: 12px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  color: var(--gold-light);
  letter-spacing: 1px;
}

.products-count {
  font-size: 0.85rem;
  color: var(--text-muted);
}

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

/* CARD DA JOIA */
.product-card {
  background: var(--bg-card);
  border: 1px solid var(--gold-border);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-card);
  transition: all 0.35s ease;
  position: relative;
}

.product-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold-border-hover);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8), 0 0 20px rgba(201, 164, 77, 0.15);
}

.product-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(17, 16, 14, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid var(--gold-primary);
  color: var(--gold-light);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 12px;
  z-index: 2;
  letter-spacing: 0.5px;
}

.product-img-wrap {
  width: 100%;
  height: 280px;
  background: #000;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.product-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  filter: brightness(0.95);
}

.product-card:hover .product-img {
  transform: scale(1.08);
  filter: brightness(1.05);
}

.product-info {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-code {
  font-size: 0.75rem;
  color: var(--gold-primary);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 6px;
  font-weight: 600;
}

.product-name {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--text-primary);
  margin-bottom: 8px;
  min-height: 44px;
}

.product-metal-tag {
  display: inline-block;
  font-size: 0.7rem;
  color: var(--text-muted);
  background: var(--bg-surface);
  padding: 2px 8px;
  border-radius: 4px;
  margin-bottom: 14px;
  align-self: flex-start;
}

.product-pricing {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.price-de {
  font-size: 0.8rem;
  color: #777;
  text-decoration: line-through;
}

.price-por {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--gold-light);
  margin-bottom: 2px;
}

.price-parcelas {
  font-size: 0.8rem;
  color: #aaa;
  margin-bottom: 16px;
}

.card-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.btn-details {
  background: var(--bg-surface);
  border: 1px solid var(--gold-border);
  color: var(--text-primary);
  padding: 10px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
}

.btn-details:hover {
  background: rgba(201, 164, 77, 0.15);
  border-color: var(--gold-primary);
  color: var(--gold-light);
}

.btn-buy-wpp {
  background: var(--whatsapp-color);
  color: #fff;
  border: none;
  padding: 10px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-decoration: none;
}

.btn-buy-wpp:hover {
  background: var(--whatsapp-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
}

/* SEÇÃO DO INSTAGRAM @RICKSONJOIAS */
.instagram-section {
  background: linear-gradient(180deg, #070707 0%, #11100e 100%);
  border-top: 1px solid var(--gold-border);
  border-bottom: 1px solid var(--gold-border);
  padding: 60px 24px;
}

.instagram-inner {
  max-width: 1280px;
  margin: 0 auto;
  text-align: center;
}

.insta-header {
  margin-bottom: 36px;
}

.insta-icon-badge {
  display: inline-flex;
  padding: 12px;
  border-radius: 50%;
  background: linear-gradient(45deg, #405DE6, #833AB4, #E1306C);
  color: #fff;
  font-size: 1.8rem;
  margin-bottom: 16px;
  box-shadow: 0 4px 20px rgba(225, 48, 108, 0.4);
}

.insta-title {
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.insta-handle {
  color: var(--gold-light);
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s;
}

.insta-handle:hover {
  color: #fff;
}

.insta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-bottom: 30px;
}

.insta-card {
  position: relative;
  aspect-ratio: 1;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--gold-border);
}

.insta-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.insta-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  color: var(--gold-light);
  font-size: 1.8rem;
}

.insta-card:hover .insta-overlay {
  opacity: 1;
}

.insta-card:hover img {
  transform: scale(1.1);
}

/* PROVA SOCIAL / DEPOIMENTOS */
.reviews-section {
  padding: 60px 24px;
  max-width: 1280px;
  margin: 0 auto;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.review-card {
  background: var(--bg-card);
  border: 1px solid var(--gold-border);
  padding: 24px;
  border-radius: 14px;
  position: relative;
}

.stars {
  color: #FFD700;
  margin-bottom: 12px;
  font-size: 1.1rem;
}

.review-card p {
  font-style: italic;
  font-size: 0.95rem;
  color: #ddd;
  margin-bottom: 14px;
}

.reviewer {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gold-light);
}

/* MODAL DE DETALHES DA JOIA */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-content {
  background: var(--bg-card);
  border: 1px solid var(--gold-primary);
  border-radius: 20px;
  max-width: 900px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9), 0 0 30px rgba(201, 164, 77, 0.2);
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  position: relative;
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--gold-border);
  color: #fff;
  font-size: 1.3rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: background 0.2s;
}

.modal-close:hover {
  background: rgba(201, 164, 77, 0.3);
}

.modal-image-col {
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-image-col img {
  width: 100%;
  height: 100%;
  min-height: 380px;
  object-fit: cover;
}

.modal-info-col {
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
}

.modal-badge {
  align-self: flex-start;
  background: rgba(201, 164, 77, 0.15);
  border: 1px solid var(--gold-primary);
  color: var(--gold-light);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 12px;
  margin-bottom: 10px;
}

.modal-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.modal-code {
  font-size: 0.8rem;
  color: var(--gold-primary);
  margin-bottom: 16px;
}

.modal-pricing {
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--gold-border);
}

.modal-price-de {
  font-size: 0.9rem;
  color: #888;
  text-decoration: line-through;
}

.modal-price-por {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold-light);
}

.modal-installments {
  font-size: 0.85rem;
  color: #bbb;
}

.modal-desc {
  font-size: 0.9rem;
  color: #ccc;
  line-height: 1.6;
  margin-bottom: 20px;
}

.modal-specs {
  background: var(--bg-surface);
  border: 1px solid var(--gold-border);
  border-radius: 10px;
  padding: 14px;
  font-size: 0.85rem;
  margin-bottom: 24px;
}

.modal-specs div {
  margin-bottom: 6px;
}

.modal-specs div:last-child {
  margin-bottom: 0;
}

.modal-wpp-btn {
  background: var(--whatsapp-color);
  color: #fff;
  font-weight: 700;
  font-size: 1.05rem;
  padding: 16px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
  transition: all 0.3s ease;
}

.modal-wpp-btn:hover {
  background: var(--whatsapp-hover);
  transform: translateY(-2px);
}

/* BOTÃO FLUTUANTE DE WHATSAPP */
.floating-wpp {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--whatsapp-color);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.5);
  z-index: 1500;
  transition: all 0.3s ease;
}

.floating-wpp:hover {
  transform: scale(1.1);
  background: var(--whatsapp-hover);
}

/* BOTÃO FLUTUANTE ASSISTENTE IA */
.floating-ai-btn {
  position: fixed;
  bottom: 24px;
  left: 24px;
  height: 52px;
  padding: 0 20px;
  border-radius: 26px;
  background: var(--gold-gradient);
  color: #070707;
  border: none;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 8px 25px rgba(201, 164, 77, 0.4);
  z-index: 1500;
  transition: all 0.3s ease;
}

.floating-ai-btn:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 12px 30px rgba(201, 164, 77, 0.6);
}

/* JANELA DO CHAT IA */
.ai-chat-window {
  position: fixed;
  bottom: 90px;
  left: 24px;
  width: 360px;
  max-width: calc(100vw - 48px);
  height: 500px;
  max-height: calc(100vh - 120px);
  background: var(--bg-card);
  border: 1.5px solid var(--gold-primary);
  border-radius: 18px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 25px rgba(201, 164, 77, 0.25);
  display: flex;
  flex-direction: column;
  z-index: 1600;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px) scale(0.95);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.ai-chat-window.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.ai-chat-header {
  background: #181614;
  padding: 14px 18px;
  border-bottom: 1px solid var(--gold-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ai-chat-profile {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ai-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gold-gradient);
  color: #070707;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.ai-chat-profile h4 {
  font-size: 0.95rem;
  color: var(--gold-light);
  margin-bottom: 2px;
}

.ai-chat-profile span {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.ai-chat-close {
  background: transparent;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
}

.ai-chat-messages {
  flex: 1;
  padding: 16px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ai-msg {
  max-width: 85%;
  padding: 12px 16px;
  border-radius: 14px;
  font-size: 0.88rem;
  line-height: 1.5;
}

.ai-msg.ai-bot {
  background: var(--bg-surface);
  color: #e5e5e5;
  border: 1px solid var(--gold-border);
  border-bottom-left-radius: 4px;
  align-self: flex-start;
}

.ai-msg.ai-user {
  background: linear-gradient(135deg, #C9A44D, #806321);
  color: #fff;
  font-weight: 500;
  border-bottom-right-radius: 4px;
  align-self: flex-end;
}

.ai-quick-prompts {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 6px;
}

.quick-btn {
  background: rgba(201, 164, 77, 0.08);
  border: 1px solid var(--gold-border);
  color: var(--gold-light);
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 0.78rem;
  text-align: left;
  cursor: pointer;
  transition: all 0.2s;
}

.quick-btn:hover {
  background: rgba(201, 164, 77, 0.2);
  border-color: var(--gold-light);
}

.ai-chat-input-wrap {
  padding: 12px;
  border-top: 1px solid var(--gold-border);
  background: #11100e;
  display: flex;
  gap: 8px;
}

.ai-chat-input-wrap input {
  flex: 1;
  background: var(--bg-surface);
  border: 1px solid var(--gold-border);
  color: #fff;
  padding: 10px 14px;
  border-radius: 20px;
  font-size: 0.85rem;
  outline: none;
}

.ai-chat-input-wrap input:focus {
  border-color: var(--gold-primary);
}

.ai-send-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gold-gradient);
  color: #070707;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s;
}

.ai-send-btn:hover {
  transform: scale(1.08);
}

/* FOOTER */
footer {
  background: #030303;
  border-top: 1px solid var(--gold-border);
  padding: 50px 24px 25px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-container {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.footer-col h4 {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--gold-light);
  margin-bottom: 16px;
  letter-spacing: 1px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--gold-light);
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.8rem;
}

/* RESPONSIVIDADE */
@media (max-width: 768px) {
  .header-container {
    flex-direction: column;
    align-items: stretch;
  }
  .search-box {
    max-width: 100%;
  }
  .modal-content {
    grid-template-columns: 1fr;
  }
  .modal-image-col img {
    min-height: 240px;
    max-height: 300px;
  }
  .filter-section {
    flex-direction: column;
    align-items: flex-start;
  }
}

