/* ============================================
   URNAS GÊNESIS - Estilo Memorial Tag
   Dark theme + Gold accents
   ============================================ */

/* Reset & Base */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg-dark: #0f0f0f;
  --bg-section: #1a1a1a;
  --bg-card: #222222;
  --gold: #c9a84c;
  --gold-light: #e0c87a;
  --gold-dark: #a68a3a;
  --text-light: #f0ece4;
  --text-muted: #a8a8a8;
  --text-white: #ffffff;
  --border-subtle: rgba(201,168,76,0.2);
  --shadow-gold: 0 0 20px rgba(201,168,76,0.1);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Outfit', sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-light);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: var(--gold);
  transition: color 0.3s ease;
}

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

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

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

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(15,15,15,0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 12px 0;
  transition: background 0.3s ease;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.navbar-brand img {
  height: 48px;
  width: auto;
}

.navbar-brand-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 3px;
  text-transform: uppercase;
}

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

.nav-links a {
  font-family: 'Outfit', sans-serif;
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--text-muted);
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: color 0.3s ease;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.3s ease;
}

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

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

.nav-social {
  display: flex;
  gap: 16px;
  align-items: center;
}

.nav-social a {
  color: var(--text-muted);
  font-size: 1.1rem;
  transition: color 0.3s ease;
}

.nav-social a:hover {
  color: var(--gold);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gold);
  transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile nav */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(15,15,15,0.98);
    flex-direction: column;
    padding: 24px;
    gap: 20px;
    border-bottom: 1px solid var(--border-subtle);
  }

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

  .nav-social {
    display: none;
  }
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.45) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  padding: 0 24px;
}

.hero-content h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3.5rem;
  font-weight: 300;
  color: var(--text-white);
  letter-spacing: 8px;
  text-transform: uppercase;
  line-height: 1.3;
  margin-bottom: 20px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.7), 0 0 40px rgba(0,0,0,0.4);
}

.hero-content p {
  font-family: 'Outfit', sans-serif;
  font-size: 1.1rem;
  color: #f0ece4;
  margin-bottom: 32px;
  line-height: 1.8;
  text-shadow: 0 1px 8px rgba(0,0,0,0.7), 0 0 20px rgba(0,0,0,0.4);
}

.btn-gold {
  display: inline-block;
  padding: 14px 40px;
  background: rgba(0,0,0,0.3);
  border: 1px solid var(--gold);
  color: var(--gold);
  font-family: 'Outfit', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: all 0.4s ease;
  cursor: pointer;
}

.btn-gold:hover {
  background: var(--gold);
  color: var(--bg-dark);
}

/* ============================================
   SECTIONS
   ============================================ */
.section {
  padding: 100px 0;
}

.section-dark {
  background: var(--bg-section);
}

.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.2rem;
  font-weight: 400;
  color: var(--text-white);
  text-align: center;
  margin-bottom: 16px;
  letter-spacing: 2px;
}

.section-subtitle {
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 60px;
}

.gold-line {
  width: 60px;
  height: 1px;
  background: var(--gold);
  margin: 16px auto 40px;
}

/* ============================================
   ABOUT (Homepage)
   ============================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-image img {
  border-radius: 4px;
  box-shadow: var(--shadow-gold);
}

.about-text h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem;
  font-weight: 400;
  color: var(--text-white);
  margin-bottom: 20px;
  line-height: 1.4;
}

.about-text p {
  color: var(--text-muted);
  margin-bottom: 16px;
  font-size: 0.95rem;
}

@media (max-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* ============================================
   CATALOG CARDS
   ============================================ */
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.catalog-card {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.catalog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(201,168,76,0.15);
}

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

.catalog-card:hover .catalog-card-img {
  transform: scale(1.05);
}

.catalog-card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 30px 20px 24px;
  background: linear-gradient(to top, rgba(15,15,15,0.95) 0%, transparent 100%);
  text-align: center;
}

.catalog-card-overlay h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--text-white);
  margin-bottom: 6px;
}

.catalog-card-overlay p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.btn-card {
  display: inline-block;
  padding: 8px 24px;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  transition: all 0.3s ease;
}

.btn-card:hover {
  background: var(--gold);
  color: var(--bg-dark);
}

@media (max-width: 992px) {
  .catalog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .catalog-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   PRODUCT PAGE
   ============================================ */
.product-section {
  padding: 120px 0 80px;
}

.product-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.product-gallery {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.product-main-img {
  width: 100%;
  max-width: 500px;
  border-radius: 6px;
  box-shadow: var(--shadow-gold);
  border: 1px solid var(--border-subtle);
}

.product-thumbs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.product-thumb {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid var(--border-subtle);
  cursor: pointer;
  transition: border-color 0.3s ease, opacity 0.3s ease;
  opacity: 0.7;
}

.product-thumb:hover,
.product-thumb.active {
  border-color: var(--gold);
  opacity: 1;
}

.product-info h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.2rem;
  font-weight: 400;
  color: var(--text-white);
  margin-bottom: 24px;
  letter-spacing: 1px;
}

.product-info p {
  color: var(--text-muted);
  margin-bottom: 16px;
  font-size: 0.95rem;
  line-height: 1.8;
}

.product-info p b,
.product-info p strong {
  color: var(--gold);
  font-weight: 600;
}

.product-specs {
  margin-top: 30px;
  padding: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 4px;
}

.product-specs h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  color: var(--gold);
  margin-bottom: 16px;
}

.product-specs p {
  font-size: 0.9rem;
  margin-bottom: 8px;
}

.product-size-img {
  max-width: 420px;
  width: 100%;
  margin-top: 12px;
  border-radius: 4px;
}

@media (max-width: 768px) {
  .product-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .product-info h1 {
    font-size: 1.8rem;
  }
}

/* Eco badge (Origem Pet) */
.eco-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  background: rgba(76, 175, 80, 0.1);
  border: 1px solid rgba(76, 175, 80, 0.3);
  border-radius: 30px;
  margin: 12px 0 20px;
}

.eco-badge .eco-img {
  width: 24px;
  height: 24px;
}

.eco-badge .eco-text {
  font-size: 0.8rem;
  color: #81c784;
}

/* Tone swatches (Origem Pet) */
.tone-card {
  padding: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 4px;
  margin: 20px 0;
}

.tone-title {
  font-size: 0.95rem;
  color: var(--text-white);
  margin-bottom: 12px;
}

.tone-title .tone-sub {
  color: var(--text-muted);
  font-size: 0.8rem;
  margin-left: 8px;
}

.tone-swatches {
  display: flex;
  gap: 12px;
  margin-bottom: 10px;
}

.tone-swatches .swatch {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2px solid var(--border-subtle);
}

.tone-note {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-style: italic;
}

/* Image modal */
.img-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0,0,0,0.92);
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.img-modal.active {
  display: flex;
}

.img-modal img {
  max-width: 90%;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 6px;
}

.img-modal .close-modal {
  position: absolute;
  top: 24px;
  right: 32px;
  color: #fff;
  font-size: 2.5rem;
  cursor: pointer;
  font-weight: 300;
  transition: color 0.3s;
}

.img-modal .close-modal:hover {
  color: var(--gold);
}

/* ============================================
   CONTACT FORM
   ============================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: start;
}

.contact-info h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  color: var(--text-white);
  margin-bottom: 20px;
}

.contact-info p {
  color: var(--text-muted);
  margin-bottom: 16px;
  font-size: 0.95rem;
  line-height: 1.8;
}

.contact-info .email-link {
  color: var(--gold);
  font-weight: 500;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 4px;
  color: var(--text-light);
  font-family: 'Outfit', sans-serif;
  font-size: 0.9rem;
  transition: border-color 0.3s ease;
  outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--gold);
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

.form-message {
  padding: 14px 20px;
  border-radius: 4px;
  font-size: 0.9rem;
  display: none;
}

.form-message.success {
  display: block;
  background: rgba(76, 175, 80, 0.15);
  border: 1px solid rgba(76, 175, 80, 0.3);
  color: #81c784;
}

.form-message.error {
  display: block;
  background: rgba(244, 67, 54, 0.15);
  border: 1px solid rgba(244, 67, 54, 0.3);
  color: #ef9a9a;
}

@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--bg-section);
  border-top: 1px solid var(--border-subtle);
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand img {
  height: 48px;
  margin-bottom: 12px;
}

.footer-brand-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
  color: var(--gold);
  letter-spacing: 2px;
}

.footer-col h4 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  color: var(--text-white);
  margin-bottom: 16px;
  font-weight: 500;
}

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

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

.footer-col ul li a {
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: color 0.3s;
}

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

.footer-social {
  display: flex;
  gap: 16px;
  margin-top: 12px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-subtle);
  border-radius: 50%;
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.footer-social a:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.footer-bottom {
  border-top: 1px solid var(--border-subtle);
  padding-top: 24px;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 1px;
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
}

@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   WHATSAPP BUTTON
   ============================================ */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 900;
  width: 56px;
  height: 56px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
  transition: transform 0.3s ease;
}

.whatsapp-float:hover {
  transform: scale(1.1);
}

.whatsapp-float svg {
  width: 28px;
  height: 28px;
  fill: #fff;
}

/* ============================================
   UTILITY
   ============================================ */
.text-gold { color: var(--gold); }
.text-center { text-align: center; }
.mt-40 { margin-top: 40px; }
.mb-40 { margin-bottom: 40px; }
