/* ============================================================
   NOAHSHOW — Estilos Globais
   Tema: Dark Navy + Gold
   ============================================================ */

/* Fontes locais — Inter */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/inter-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/assets/fonts/inter-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/assets/fonts/inter-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/assets/fonts/inter-700.woff2') format('woff2');
}

/* Fontes locais — Playfair Display */
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/playfair-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/assets/fonts/playfair-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/assets/fonts/playfair-700.woff2') format('woff2');
}

:root {
  --navy-950: #040810;
  --navy-900: #0a0f1e;
  --navy-800: #0d1526;
  --navy-700: #111827;
  --navy-600: #1a2540;
  --navy-500: #1e2d4a;
  --navy-400: #2d3f5e;
  --gold-500: #D4A017;
  --gold-400: #e8b420;
  --gold-300: #f0c842;
  --gold-100: #fef3c7;
  --white: #ffffff;
  --gray-100: #f1f5f9;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --radius: 10px;
  --shadow: 0 4px 24px rgba(0,0,0,0.4);
  --transition: 0.2s ease;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--navy-900);
  color: var(--gray-300);
  line-height: 1.6;
  font-size: 16px;
}

a { color: var(--gold-500); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold-300); }

img { max-width: 100%; height: auto; display: block; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }

/* ── Navbar ── */
.navbar {
  position: sticky; top: 0; z-index: 100;
  background: rgba(10, 15, 30, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--navy-500);
  padding: 0.9rem 0;
}
.navbar .container { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.navbar-brand { display: flex; align-items: center; gap: 0.75rem; }
.navbar-logo-icon {
  width: 44px; height: 44px;
  overflow: hidden;
  border-radius: 6px;
  flex-shrink: 0;
  position: relative;
}
.navbar-logo-icon img {
  width: 88px; height: 88px;
  object-fit: cover;
  object-position: center top;
  position: absolute;
  top: -5%;
  left: 50%;
  transform: translateX(-50%);
}
.navbar-brand .brand-text { font-family: 'Playfair Display', serif; font-size: 1.4rem; letter-spacing: 0.05em; }
.navbar-brand .brand-noah { color: var(--white); }
.navbar-brand .brand-show { color: var(--gold-500); }
.footer-logo { margin-bottom: 1rem; }
.footer-logo img { height: 90px; width: auto; object-fit: contain; }
.navbar-nav { display: flex; align-items: center; gap: 0.25rem; list-style: none; }
.navbar-nav a {
  color: var(--gray-300); padding: 0.5rem 1rem; border-radius: 6px;
  font-size: 0.95rem; font-weight: 500; transition: all var(--transition);
}
.navbar-nav a:hover, .navbar-nav a.active { color: var(--gold-500); background: rgba(212,160,23,0.08); }
.navbar-cta {
  background: var(--gold-500); color: var(--navy-900) !important;
  padding: 0.6rem 1.25rem !important; border-radius: 8px; font-weight: 700 !important;
  display: flex; align-items: center; gap: 0.4rem;
}
.navbar-cta:hover { background: var(--gold-400) !important; color: var(--navy-900) !important; }
.navbar-toggle { display: none; background: none; border: none; color: var(--white); cursor: pointer; font-size: 1.5rem; }

/* ── Hero ── */
.hero {
  position: relative; min-height: 90vh; display: flex; align-items: center;
  background: linear-gradient(135deg, var(--navy-950) 0%, var(--navy-800) 50%, #0d1a2e 100%);
  overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(212,160,23,0.08) 0%, transparent 60%);
}
.hero-content { position: relative; z-index: 1; max-width: 600px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(212,160,23,0.12); border: 1px solid rgba(212,160,23,0.3);
  color: var(--gold-500); padding: 0.4rem 1rem; border-radius: 999px;
  font-size: 0.85rem; font-weight: 600; margin-bottom: 1.5rem; letter-spacing: 0.05em;
}
.hero h1 { font-family: 'Playfair Display', serif; font-size: clamp(2.5rem, 6vw, 4rem); color: var(--white); line-height: 1.15; margin-bottom: 1.25rem; }
.hero h1 span { color: var(--gold-500); }
.hero p { font-size: 1.1rem; color: var(--gray-400); margin-bottom: 2rem; max-width: 480px; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-grid { position: absolute; right: 0; top: 0; bottom: 0; width: 50%; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; padding: 2rem; opacity: 0.6; pointer-events: none; }
.hero-grid img { width: 100%; height: 200px; object-fit: cover; border-radius: 12px; filter: brightness(0.7); }

/* ── Botões ── */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.75rem 1.75rem; border-radius: var(--radius);
  font-size: 1rem; font-weight: 600; cursor: pointer;
  border: none; transition: all var(--transition); text-decoration: none;
}
.btn-primary { background: var(--gold-500); color: var(--navy-900); }
.btn-primary:hover { background: var(--gold-400); color: var(--navy-900); transform: translateY(-1px); box-shadow: 0 8px 24px rgba(212,160,23,0.3); }
.btn-outline { background: transparent; color: var(--white); border: 1px solid rgba(255,255,255,0.2); }
.btn-outline:hover { border-color: var(--gold-500); color: var(--gold-500); background: rgba(212,160,23,0.05); }
.btn-whatsapp { background: #25D366; color: #fff; }
.btn-whatsapp:hover { background: #1ebe5a; color: #fff; transform: translateY(-1px); }
.btn-sm { padding: 0.5rem 1rem; font-size: 0.875rem; }
.btn-lg { padding: 1rem 2.25rem; font-size: 1.1rem; }

/* ── Seções ── */
.section { padding: 5rem 0; }
.section-sm { padding: 3rem 0; }
.section-dark { background: var(--navy-800); }
.section-header { text-align: center; margin-bottom: 3rem; }
.section-header h2 { font-family: 'Playfair Display', serif; font-size: clamp(1.8rem, 4vw, 2.5rem); color: var(--white); margin-bottom: 0.75rem; }
.section-header p { color: var(--gray-400); max-width: 560px; margin: 0 auto; }
.section-header .gold-line { width: 60px; height: 3px; background: var(--gold-500); margin: 1rem auto 0; border-radius: 2px; }

/* ── Cards de Produto ── */
.products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.5rem; }
.product-card {
  background: var(--navy-700); border: 1px solid var(--navy-500);
  border-radius: 14px; overflow: hidden; transition: all var(--transition);
}
.product-card:hover { transform: translateY(-4px); border-color: rgba(212,160,23,0.3); box-shadow: 0 12px 40px rgba(0,0,0,0.4); }
.product-card-img { position: relative; aspect-ratio: 1; overflow: hidden; background: var(--navy-600); }
.product-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.product-card:hover .product-card-img img { transform: scale(1.05); }
.product-badge {
  position: absolute; top: 0.75rem; left: 0.75rem;
  background: var(--gold-500); color: var(--navy-900);
  font-size: 0.75rem; font-weight: 700; padding: 0.25rem 0.6rem;
  border-radius: 999px; letter-spacing: 0.05em;
}
.stock-badge {
  position: absolute; top: 0.75rem; right: 0.75rem;
  font-size: 0.75rem; font-weight: 600; padding: 0.25rem 0.6rem; border-radius: 999px;
}
.stock-in { background: rgba(34,197,94,0.15); color: #4ade80; border: 1px solid rgba(34,197,94,0.3); }
.stock-out { background: rgba(239,68,68,0.15); color: #f87171; border: 1px solid rgba(239,68,68,0.3); }
.product-card-body { padding: 1.25rem; }
.product-category { font-size: 0.75rem; color: var(--gold-500); font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.4rem; }
.product-card-body h3 { color: var(--white); font-size: 1.05rem; font-weight: 600; margin-bottom: 0.5rem; line-height: 1.3; }
.product-card-body p { color: var(--gray-400); font-size: 0.875rem; line-height: 1.5; margin-bottom: 1rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.product-price { font-size: 1.4rem; font-weight: 700; color: var(--gold-500); margin-bottom: 1rem; }
.product-price small { font-size: 0.85rem; color: var(--gray-400); font-weight: 400; }

/* ── Diferenciais ── */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.5rem; }
.feature-card {
  background: var(--navy-700); border: 1px solid var(--navy-500);
  border-radius: 14px; padding: 1.75rem; text-align: center; transition: all var(--transition);
}
.feature-card:hover { border-color: rgba(212,160,23,0.3); transform: translateY(-2px); }
.feature-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.feature-card h3 { color: var(--white); font-size: 1.05rem; font-weight: 600; margin-bottom: 0.5rem; }
.feature-card p { color: var(--gray-400); font-size: 0.875rem; }

/* ── FAQ ── */
.faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 0.75rem; }
.faq-item { background: var(--navy-700); border: 1px solid var(--navy-500); border-radius: 12px; overflow: hidden; }
.faq-question {
  width: 100%; background: none; border: none; color: var(--white);
  padding: 1.25rem 1.5rem; text-align: left; font-size: 1rem; font-weight: 600;
  cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  transition: color var(--transition);
}
.faq-question:hover { color: var(--gold-500); }
.faq-question .icon { color: var(--gold-500); font-size: 1.25rem; flex-shrink: 0; transition: transform var(--transition); }
.faq-item.open .faq-question .icon { transform: rotate(45deg); }
.faq-answer { display: none; padding: 0 1.5rem 1.25rem; color: var(--gray-400); line-height: 1.7; border-top: 1px solid var(--navy-500); padding-top: 1rem; }
.faq-item.open .faq-answer { display: block; }

/* ── Contato ── */
.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 3rem; align-items: start; }
.contact-info h3 { color: var(--white); font-size: 1.3rem; font-weight: 600; margin-bottom: 1rem; }
.contact-info p { color: var(--gray-400); margin-bottom: 1.5rem; }
.contact-item { display: flex; align-items: flex-start; gap: 1rem; margin-bottom: 1.25rem; }
.contact-item-icon { width: 44px; height: 44px; background: rgba(212,160,23,0.1); border: 1px solid rgba(212,160,23,0.2); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; flex-shrink: 0; }
.contact-item-text strong { display: block; color: var(--white); font-size: 0.9rem; margin-bottom: 0.2rem; }
.contact-item-text span { color: var(--gray-400); font-size: 0.875rem; }
.contact-form { background: var(--navy-700); border: 1px solid var(--navy-500); border-radius: 16px; padding: 2rem; }
.form-group { margin-bottom: 1.25rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
label { display: block; font-size: 0.85rem; color: var(--gray-400); margin-bottom: 0.4rem; font-weight: 500; }
input[type=text], input[type=email], input[type=tel], select, textarea {
  width: 100%; padding: 0.75rem 1rem;
  background: var(--navy-600); border: 1px solid var(--navy-400);
  border-radius: 8px; color: var(--white); font-size: 0.95rem; font-family: inherit;
  transition: border-color var(--transition);
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--gold-500); }
textarea { resize: vertical; min-height: 120px; }
select option { background: var(--navy-700); }

/* ── Alertas ── */
.alert { padding: 1rem 1.25rem; border-radius: 8px; margin-bottom: 1rem; font-size: 0.9rem; }
.alert-success { background: rgba(34,197,94,0.1); border: 1px solid rgba(34,197,94,0.3); color: #4ade80; }
.alert-error { background: rgba(239,68,68,0.1); border: 1px solid rgba(239,68,68,0.3); color: #f87171; }

/* ── Footer ── */
.footer { background: var(--navy-950); border-top: 1px solid var(--navy-500); padding: 3rem 0 1.5rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 3rem; margin-bottom: 2rem; }
.footer-brand p { color: var(--gray-400); font-size: 0.875rem; margin-top: 0.75rem; max-width: 280px; line-height: 1.7; }
.footer h4 { color: var(--white); font-size: 0.95rem; font-weight: 600; margin-bottom: 1rem; }
.footer ul { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.footer ul a { color: var(--gray-400); font-size: 0.875rem; transition: color var(--transition); }
.footer ul a:hover { color: var(--gold-500); }
.footer-bottom { border-top: 1px solid var(--navy-500); padding-top: 1.5rem; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
.footer-bottom p { color: var(--gray-500); font-size: 0.8rem; }

/* ── WhatsApp Flutuante ── */
.whatsapp-float {
  position: fixed; bottom: 2rem; right: 2rem; z-index: 999;
  width: 56px; height: 56px; background: #25D366; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  transition: transform var(--transition), box-shadow var(--transition);
}
.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 8px 30px rgba(37,211,102,0.5); }
.whatsapp-float svg { width: 30px; height: 30px; fill: white; }

/* ── Página de Produto ── */
.product-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.product-gallery { position: sticky; top: 100px; }
.product-main-img { aspect-ratio: 1; border-radius: 16px; overflow: hidden; background: var(--navy-700); border: 1px solid var(--navy-500); }
.product-main-img img { width: 100%; height: 100%; object-fit: cover; }
.product-thumbs { display: flex; gap: 0.75rem; margin-top: 1rem; }
.product-thumb { width: 72px; height: 72px; border-radius: 8px; overflow: hidden; border: 2px solid var(--navy-500); cursor: pointer; transition: border-color var(--transition); }
.product-thumb:hover, .product-thumb.active { border-color: var(--gold-500); }
.product-thumb img { width: 100%; height: 100%; object-fit: cover; }
.product-info h1 { font-family: 'Playfair Display', serif; font-size: 2rem; color: var(--white); margin-bottom: 0.5rem; }
.product-info .price { font-size: 2.2rem; font-weight: 700; color: var(--gold-500); margin: 1rem 0; }
.product-info .description { color: var(--gray-400); line-height: 1.8; margin-bottom: 1.5rem; }
.product-meta { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.meta-tag { background: var(--navy-600); border: 1px solid var(--navy-400); border-radius: 6px; padding: 0.4rem 0.85rem; font-size: 0.8rem; color: var(--gray-300); }

/* ── Breadcrumb ── */
.breadcrumb { display: flex; align-items: center; gap: 0.5rem; font-size: 0.85rem; color: var(--gray-500); margin-bottom: 2rem; flex-wrap: wrap; }
.breadcrumb a { color: var(--gray-400); }
.breadcrumb a:hover { color: var(--gold-500); }
.breadcrumb span { color: var(--gray-600); }

/* ── Filtros ── */
.catalog-filters { display: flex; gap: 0.75rem; flex-wrap: wrap; margin-bottom: 2rem; align-items: center; }
.filter-btn { background: var(--navy-700); border: 1px solid var(--navy-500); color: var(--gray-300); padding: 0.5rem 1.1rem; border-radius: 999px; font-size: 0.875rem; cursor: pointer; transition: all var(--transition); text-decoration: none; }
.filter-btn:hover, .filter-btn.active { background: rgba(212,160,23,0.12); border-color: var(--gold-500); color: var(--gold-500); }
.search-bar { display: flex; gap: 0.75rem; margin-bottom: 2rem; }
.search-bar input { flex: 1; }
.search-bar button { background: var(--gold-500); color: var(--navy-900); border: none; padding: 0.75rem 1.5rem; border-radius: 8px; font-weight: 600; cursor: pointer; }

/* ── Empty State ── */
.empty-state { text-align: center; padding: 4rem 2rem; }
.empty-state .icon { font-size: 4rem; margin-bottom: 1rem; opacity: 0.5; }
.empty-state h3 { color: var(--white); margin-bottom: 0.5rem; }
.empty-state p { color: var(--gray-400); }

/* ── Responsivo ── */
@media (max-width: 768px) {
  .navbar-nav { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--navy-900); border-bottom: 1px solid var(--navy-500); padding: 1rem; gap: 0.25rem; }
  .navbar-nav.open { display: flex; }
  .navbar-toggle { display: block; }
  .hero { min-height: 70vh; }
  .hero-grid { display: none; }
  .hero-content { max-width: 100%; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .product-detail { grid-template-columns: 1fr; }
  .product-gallery { position: static; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
