@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@500;600;700&family=Inter:wght@300;400;500;600&family=Playfair+Display:ital,wght@0,500;0,600;0,700;1,400&display=swap');

:root {
  --bg-primary: #0A0E0B;
  --bg-secondary: #111A28;
  --bg-card: #0F1517;
  --gold-main: #C89C2C;
  --gold-light: #F5D77B;
  --text-main: #F8F8F6;
  --text-muted: #B8C0C8;
  --border-gold: rgba(200, 156, 44, 0.28);
  --shadow-luxury: 0 20px 50px rgba(0, 0, 0, 0.65);
  --radius: 12px;
  --transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-main);
  font-family: 'Inter', sans-serif;
  line-height: 1.75;
  overflow-x: hidden;
  background-image: radial-gradient(circle at 85% 10%, rgba(17, 26, 40, 0.85) 0%, rgba(10, 14, 11, 1) 60%);
}

h1, h2, h3, h4, .font-serif {
  font-family: 'Playfair Display', serif;
  color: var(--text-main);
  line-height: 1.25;
}

.font-cinzel {
  font-family: 'Cinzel', serif;
  letter-spacing: 0.08em;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

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

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Header & Navegação */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(10, 14, 11, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-gold);
  padding: 0.9rem 0;
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand-logo img {
  height: 54px;
  width: auto;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.8rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  position: relative;
  padding: 0.3rem 0;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--gold-light);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1.5px;
  background: linear-gradient(90deg, var(--gold-main), var(--gold-light));
  transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.mobile-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border-gold);
  color: var(--gold-light);
  font-size: 1.4rem;
  padding: 0.35rem 0.7rem;
  border-radius: 6px;
  cursor: pointer;
}

/* Botões */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.95rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: var(--transition);
  border: none;
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold-main) 0%, var(--gold-light) 100%);
  color: #0A0E0B;
  box-shadow: 0 8px 25px rgba(200, 156, 44, 0.28);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(245, 215, 123, 0.42);
}

.btn-outline {
  background: transparent;
  color: var(--gold-light);
  border: 1px solid var(--gold-main);
}

.btn-outline:hover {
  background: rgba(200, 156, 44, 0.12);
  transform: translateY(-2px);
}

/* Hero & Seções */
.hero {
  padding: 5.5rem 0 4.5rem;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  font-family: 'Cinzel', serif;
  font-size: 0.8rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 1rem;
  padding: 0.35rem 0.9rem;
  border: 1px solid var(--border-gold);
  border-radius: 50px;
  background: rgba(17, 26, 40, 0.6);
}

.hero h1 {
  font-size: clamp(2.2rem, 4.2vw, 3.5rem);
  margin-bottom: 1.4rem;
}

.text-gold {
  background: linear-gradient(135deg, var(--gold-main), var(--gold-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  color: var(--text-muted);
  font-size: 1.08rem;
  margin-bottom: 2.2rem;
  max-width: 600px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-card-visual {
  position: relative;
  border-radius: var(--radius);
  padding: 1.2rem;
  background: linear-gradient(145deg, var(--bg-secondary), var(--bg-primary));
  border: 1px solid var(--border-gold);
  box-shadow: var(--shadow-luxury);
}

.hero-card-visual img {
  border-radius: 8px;
  width: 100%;
  object-fit: cover;
}

section {
  padding: 4.5rem 0;
}

.section-header {
  text-align: center;
  max-width: 740px;
  margin: 0 auto 3.2rem;
}

.section-header h2 {
  font-size: clamp(1.85rem, 3vw, 2.6rem);
  margin-bottom: 0.9rem;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.02rem;
}

.divider-gold {
  width: 80px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-main), var(--gold-light), transparent);
  margin: 1.2rem auto;
}

/* Cards & Grids */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
}

.luxury-card {
  background: linear-gradient(160deg, rgba(17, 26, 40, 0.65) 0%, rgba(10, 14, 11, 0.95) 100%);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius);
  padding: 2.2rem;
  transition: var(--transition);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.luxury-card:hover {
  transform: translateY(-5px);
  border-color: var(--gold-light);
}

.luxury-card h3 {
  font-size: 1.4rem;
  margin-bottom: 0.8rem;
  color: var(--gold-light);
}

.luxury-card p {
  color: var(--text-muted);
  font-size: 0.96rem;
}

/* Destaque E-book */
.book-showcase {
  background: linear-gradient(135deg, rgba(17, 26, 40, 0.85), rgba(10, 14, 11, 0.98));
  border: 1px solid var(--border-gold);
  border-radius: 16px;
  padding: 3.5rem;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 3.5rem;
  align-items: center;
  box-shadow: var(--shadow-luxury);
}

.book-cover-frame {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--gold-main);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.8);
}

.price-tag {
  display: inline-flex;
  align-items: baseline;
  gap: 0.6rem;
  margin: 1.4rem 0;
  padding: 0.7rem 1.3rem;
  background: rgba(200, 156, 44, 0.1);
  border: 1px solid var(--border-gold);
  border-radius: 8px;
}

.price-tag .amount {
  font-family: 'Cinzel', serif;
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--gold-light);
}

.check-list {
  list-style: none;
  margin: 1.5rem 0 2rem;
}

.check-list li {
  padding: 0.45rem 0 0.45rem 1.7rem;
  position: relative;
  color: var(--text-main);
  font-size: 0.97rem;
}

.check-list li::before {
  content: '✦';
  position: absolute;
  left: 0;
  color: var(--gold-main);
}

/* Galeria ROWAM */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.7rem;
  margin-bottom: 2.8rem;
}

.filter-btn {
  background: rgba(17, 26, 40, 0.75);
  color: var(--text-muted);
  border: 1px solid var(--border-gold);
  padding: 0.6rem 1.25rem;
  border-radius: 50px;
  font-size: 0.86rem;
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
  background: linear-gradient(135deg, var(--gold-main), var(--gold-light));
  color: #0A0E0B;
  font-weight: 600;
  border-color: var(--gold-light);
}

.rowam-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
  gap: 2.2rem;
}

.art-card {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.art-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold-light);
  box-shadow: var(--shadow-luxury);
}

.art-thumb {
  position: relative;
  height: 360px;
  overflow: hidden;
  background: #070908;
}

.art-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.art-card:hover .art-thumb img {
  transform: scale(1.04);
}

.art-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(10, 14, 11, 0.86);
  border: 1px solid var(--gold-main);
  color: var(--gold-light);
  font-family: 'Cinzel', serif;
  font-size: 0.72rem;
  padding: 0.28rem 0.7rem;
  border-radius: 4px;
}

.art-body {
  padding: 1.6rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.art-category {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold-main);
  margin-bottom: 0.4rem;
}

.art-body h3 {
  font-size: 1.32rem;
  margin-bottom: 0.65rem;
}

.art-desc {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-bottom: 1rem;
}

.art-meta {
  font-size: 0.83rem;
  color: var(--text-muted);
  background: rgba(17, 26, 40, 0.55);
  padding: 0.75rem;
  border-radius: 6px;
  margin-bottom: 1.2rem;
  border-left: 2px solid var(--gold-main);
}

.art-meta strong {
  color: var(--text-main);
}

.art-keywords {
  font-size: 0.78rem;
  color: #8E99A4;
  margin-bottom: 1.3rem;
  font-style: italic;
}

.art-body .btn {
  margin-top: auto;
  width: 100%;
  font-size: 0.88rem;
}

/* Artigos */
.article-block {
  background: rgba(17, 26, 40, 0.45);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius);
  padding: 2.8rem;
  margin-bottom: 2.5rem;
}

.article-block h2 {
  font-size: 1.9rem;
  color: var(--gold-light);
  margin-bottom: 0.8rem;
}

.article-meta {
  font-size: 0.85rem;
  color: var(--gold-main);
  margin-bottom: 1.5rem;
  font-family: 'Cinzel', serif;
}

.article-block p {
  margin-bottom: 1.2rem;
  color: #E2E6EA;
}

/* Formulário de Contato */
.form-group {
  margin-bottom: 1.3rem;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  color: var(--gold-light);
  margin-bottom: 0.45rem;
}

.form-control {
  width: 100%;
  padding: 0.9rem 1rem;
  background: rgba(10, 14, 11, 0.9);
  border: 1px solid var(--border-gold);
  border-radius: 8px;
  color: var(--text-main);
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
}

.form-control:focus {
  outline: none;
  border-color: var(--gold-light);
}

/* Footer */
.site-footer {
  background: #060807;
  border-top: 1px solid var(--border-gold);
  padding: 4rem 0 2rem;
  margin-top: 4rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand img {
  height: 52px;
  margin-bottom: 1rem;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.92rem;
  max-width: 360px;
}

.footer-col h4 {
  font-family: 'Cinzel', serif;
  color: var(--gold-light);
  font-size: 0.95rem;
  margin-bottom: 1.1rem;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 0.6rem;
}

.footer-col a {
  color: var(--text-muted);
  font-size: 0.9rem;
}

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

.footer-bottom {
  border-top: 1px solid rgba(200, 156, 44, 0.16);
  padding-top: 1.8rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 0.84rem;
  color: var(--text-muted);
}

/* Responsividade */
@media (max-width: 960px) {
  .hero-grid,
  .book-showcase,
  .footer-grid,
  .grid-3,
  .grid-2 {
    grid-template-columns: 1fr;
  }

  .book-showcase {
    padding: 2rem;
  }

  .mobile-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #0A0E0B;
    border-bottom: 1px solid var(--border-gold);
    flex-direction: column;
    padding: 1.5rem;
    gap: 1.1rem;
  }

  .nav-links.open {
    display: flex;
  }
}
