/* ==========================================================================
   VARIÁVEIS DE IDENTIDADE VISUAL (LUXURY EDITORIAL - CASAMENTO CAD)
   ========================================================================== */
:root {
  --emerald-950: #061712;
  --emerald-900: #0B251C;
  --emerald-800: #13392C;
  --emerald-700: #1C4E3D;
  --emerald-50:  #EFF5F2;

  --gold-600: #9E782F;
  --gold-500: #C5A059;
  --gold-400: #D8B774;
  --gold-300: #E7CF9B;
  --gold-100: #F7F1E3;

  --ivory-bg: #FAF7F2;
  --ivory-alt: #F3EFE6;
  --white: #FFFFFF;

  --text-main: #18241F;
  --text-muted: #57635E;
  --text-light: #D9E2DE;

  --border-gold: rgba(197, 160, 89, 0.28);
  --border-gold-strong: rgba(197, 160, 89, 0.55);

  --shadow-card: 0 14px 34px -10px rgba(6, 23, 18, 0.08);
  --shadow-hover: 0 24px 48px -12px rgba(6, 23, 18, 0.16);
  --radius-md: 12px;
  --radius-lg: 18px;
  --transition: all 0.32s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* ==========================================================================
   RESET & BASE
   ========================================================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background-color: var(--ivory-bg);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  width: 100%;
}

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 5%;
}

/* ==========================================================================
   NAVBAR SUPERIOR
   ========================================================================== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 900;
  background: rgba(6, 23, 18, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-gold);
}

.navbar-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 1rem 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand {
  text-decoration: none;
  display: flex;
  align-items: center;
}

.brand-logo {
  height: 60px;
  width: auto;
  object-fit: contain;
  mix-blend-mode: lighten;
}

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

.nav-link {
  color: var(--white);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.4px;
  padding: 0.4rem 0;
  position: relative;
  transition: var(--transition);
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--gold-500);
  transition: var(--transition);
}

.nav-link:hover {
  color: var(--gold-300);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-link-highlight {
  padding: 0.45rem 1rem;
  border: 1px solid var(--border-gold-strong);
  border-radius: 50px;
  color: var(--gold-300);
  background: rgba(197, 160, 89, 0.1);
}

.nav-link-highlight::after {
  display: none;
}

.nav-link-highlight:hover {
  background: var(--gold-500);
  color: var(--emerald-950);
}

.menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border-gold);
  border-radius: 6px;
  padding: 0.5rem;
  cursor: pointer;
  flex-direction: column;
  gap: 4px;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--gold-300);
  transition: var(--transition);
}

/* ==========================================================================
   HERO / APRESENTAÇÃO
   ========================================================================== */
.hero {
  position: relative;
  background: radial-gradient(circle at 80% 20%, var(--emerald-800) 0%, var(--emerald-950) 70%);
  color: var(--white);
  padding: 5.5rem 5% 4.5rem;
  text-align: center;
  overflow: hidden;
  border-bottom: 3px solid var(--gold-500);
}

.hero-glow {
  position: absolute;
  top: -180px;
  left: 50%;
  transform: translateX(-50%);
  width: 750px;
  height: 400px;
  background: radial-gradient(circle, rgba(197, 160, 89, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.hero-container {
  position: relative;
  max-width: 820px;
  margin: 0 auto;
}

.hero-eyebrow {
  display: block;
  font-size: clamp(0.6rem, 3vw, 0.75rem);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  line-height: 1.6;
  color: var(--gold-400);
  margin-bottom: 1.2rem;
  padding: 0 10px;
}

.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.6rem, 5.5vw, 4.2rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.2rem;
}

.hero-title span {
  color: var(--gold-400);
  font-style: italic;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.18rem);
  color: var(--text-light);
  max-width: 660px;
  margin: 0 auto 2.2rem;
  font-weight: 400;
}

/* ==========================================================================
   CABEÇALHOS DE SEÇÃO & GRIDS
   ========================================================================== */
.catalog-section {
  padding: 5.5rem 0;
}

.section-alt {
  background-color: var(--ivory-alt);
  border-top: 1px solid var(--border-gold);
}

.intro-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 2.5rem;
  padding: 0 1rem;
}

.intro-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(1.4rem, 4vw, 1.8rem);
  color: var(--emerald-950);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 0.8rem;
}

.intro-desc {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  color: var(--text-muted);
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
  padding: 0 1rem;
}

.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 8vw, 2.85rem);
  color: var(--emerald-900);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 0.65rem;
  word-wrap: break-word;
}

.combos-section .section-title {
  color: var(--white);
}

.section-divider {
  width: 64px;
  height: 2px;
  background: var(--gold-500);
  margin: 0 auto;
}

.product-grid {
  display: grid;
  gap: 2rem;
  width: 100%;
}

.grid-4 {
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
}

.grid-3 {
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
}

/* ==========================================================================
   CARD DE PRODUTO (PADRÃO LUXO)
   ========================================================================== */
.product-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-gold);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: var(--transition);
  position: relative;
}

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

.card-media {
  background: radial-gradient(circle at center, #FFFFFF 0%, #EFEAE0 100%);
  padding: 2.2rem 1.5rem 1.4rem;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  border-bottom: 1px solid rgba(197, 160, 89, 0.15);
}

.format-tag {
  position: absolute;
  top: 10px;
  right: 10px;
  background: var(--emerald-900);
  color: var(--gold-300);
  font-size: clamp(0.5rem, 2.5vw, 0.68rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 0.2rem 0.5rem;
  border-radius: 50px;
  border: 1px solid var(--border-gold);
  max-width: 85%;
  text-align: center;
  line-height: 1.2;
}

.card-cover {
  width: 100%;
  max-width: 195px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 14px 28px rgba(6, 23, 18, 0.22);
  transition: var(--transition);
}

.product-card:hover .card-cover {
  transform: scale(1.04);
}

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

.card-author {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gold-600);
  margin-bottom: 0.35rem;
}

.card-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--emerald-900);
  line-height: 1.22;
  margin-bottom: 0.7rem;
}

.card-summary {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

/* Bloco de Preço */
.card-price-box {
  background: var(--ivory-bg);
  border: 1px solid rgba(197, 160, 89, 0.22);
  border-left: 3px solid var(--gold-500);
  padding: 0.85rem 1rem;
  border-radius: 10px;
  margin-bottom: 1.2rem;
}

.price-installments {
  display: block;
  font-size: 1.22rem;
  font-weight: 700;
  color: var(--emerald-900);
  line-height: 1.2;
}

.price-cash {
  display: block;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 2px;
}

/* Botões do Card */
.card-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--emerald-800) 0%, var(--emerald-950) 100%);
  color: var(--white);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  padding: 0.9rem 1.2rem;
  border-radius: 8px;
  border: 1px solid var(--border-gold-strong);
  transition: var(--transition);
  cursor: pointer;
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--gold-500) 0%, var(--gold-600) 100%);
  color: var(--white);
  border-color: transparent;
  transform: translateY(-2px);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  background: transparent;
  color: var(--emerald-900);
  text-decoration: none;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.72rem 1rem;
  border-radius: 8px;
  border: 1px solid var(--border-gold);
  cursor: pointer;
  transition: var(--transition);
}

.btn-secondary:hover {
  background: var(--emerald-50);
  border-color: var(--emerald-800);
}

/* ==========================================================================
   SEÇÃO DE COMBOS (DESTAQUE VIP ESMERALDA & OURO)
   ========================================================================== */
.combos-section {
  background: radial-gradient(circle at top, var(--emerald-800) 0%, var(--emerald-950) 75%);
  padding: 6rem 0;
  color: var(--white);
  border-top: 3px solid var(--gold-500);
  border-bottom: 3px solid var(--gold-500);
}

.combos-section .section-eyebrow {
  color: var(--gold-300);
}

.combos-section .section-title {
  color: var(--white);
}

.combos-section .section-desc {
  color: var(--text-light);
}

.combos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 2.5rem;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 1rem;
}

.combos-section .product-card {
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-gold-strong);
}

.combos-section .card-media {
  background: radial-gradient(circle, rgba(197, 160, 89, 0.2) 0%, rgba(6, 23, 18, 0.4) 80%);
  border-bottom-color: rgba(197, 160, 89, 0.25);
}

.combos-section .card-cover {
  max-width: 235px;
}

.combos-section .format-tag {
  background: var(--gold-500);
  color: var(--emerald-950);
  font-weight: 700;
}

.combos-section .card-author {
  color: var(--gold-300);
}

.combos-section .card-title {
  color: var(--white);
  font-size: 1.6rem;
}

.combos-section .card-summary {
  color: var(--text-light);
}

.combos-section .card-expandable {
  background: rgba(0, 0, 0, 0.35);
  color: var(--white);
}

.combos-section .card-price-box {
  background: rgba(0, 0, 0, 0.3);
  border-color: rgba(197, 160, 89, 0.35);
  border-left: 3px solid var(--gold-400);
}

.combos-section .price-installments {
  color: var(--gold-300);
  font-size: 1.35rem;
}

.combos-section .price-cash {
  color: var(--text-light);
}

.combos-section .btn-primary {
  background: linear-gradient(135deg, var(--gold-400) 0%, var(--gold-600) 100%);
  color: var(--emerald-950);
  font-weight: 700;
  border: none;
}

.combos-section .btn-primary:hover {
  filter: brightness(1.08);
  color: var(--emerald-950);
}

.combos-section .btn-secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.28);
}

.combos-section .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--gold-300);
}

/* ==========================================================================
   CHAMADA TESTE DISC
   ========================================================================== */
.disc-section {
  padding: 5.5rem 0;
}

.disc-card {
  background: linear-gradient(135deg, var(--emerald-900) 0%, var(--emerald-950) 100%);
  border: 2px solid var(--gold-500);
  border-radius: 22px;
  padding: 4.5rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 2rem;
  box-shadow: var(--shadow-card);
  max-width: 960px;
  margin: 0 auto;
}

.disc-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.disc-text {
  color: var(--text-light);
  max-width: 720px;
  margin: 0 auto 1.5rem;
  font-size: 1.05rem;
}

.disc-highlight {
  color: var(--gold-300);
  font-weight: 700;
  font-size: 1.1rem;
  max-width: 680px;
  margin: 0 auto;
}

.btn-disc {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--gold-500);
  color: var(--emerald-950);
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  padding: 1.2rem 1.5rem;
  border-radius: 50px;
  border: 1px solid var(--gold-400);
  white-space: normal;
  width: 100%;
  max-width: 320px;
  transition: var(--transition);
}

.btn-disc:hover {
  background: var(--gold-400);
  color: var(--emerald-950);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* ==========================================================================
   RODAPÉ
   ========================================================================== */
.footer {
  background: var(--emerald-950);
  color: var(--text-light);
  padding: 3.5rem 0 2.5rem;
  border-top: 2px solid var(--gold-500);
  font-size: 0.86rem;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer-brand p {
  max-width: 420px;
  margin-top: 0.5rem;
  color: rgba(255, 255, 255, 0.7);
}

.footer-legal {
  max-width: 460px;
  text-align: right;
  color: rgba(255, 255, 255, 0.65);
}

.copyright {
  margin-top: 0.5rem;
  color: var(--gold-300);
  font-weight: 500;
}

/* ==========================================================================
   RESPONSIVIDADE (MOBILE & TABLET)
   ========================================================================== */
@media (max-width: 860px) {
  .menu-toggle {
    display: flex;
  }

  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--emerald-950);
    border-bottom: 1px solid var(--border-gold);
    padding: 1.25rem 5%;
  }

  .nav-menu.open {
    display: block;
  }

  .nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  /* Redução do espaçamento do topo no mobile */
  .hero {
    padding: 3rem 5% 2.5rem;
  }

  /* Redução do enorme espaço em branco antes do texto e das seções no mobile */
  .catalog-section,
  .combos-section,
  .disc-section {
    padding: 2.5rem 0;
  }

  .disc-card {
    flex-direction: column;
    text-align: center;
    padding: 2.5rem 1rem;
  }

  .modal-layout {
    grid-template-columns: 1fr;
  }

  .modal-cover {
    max-width: 170px;
  }

  .footer-legal {
    text-align: left;
  }
}