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

:root {
  --bg-primary: #0a0a0f;
  --bg-secondary: #111118;
  --bg-card: #16161f;
  --gold-dark: #8B6914;
  --gold: #D4A574;
  --gold-light: #F5C563;
  --gold-glow: rgba(245, 197, 99, 0.15);
  --text-primary: #f0ece4;
  --text-secondary: #9a9aaa;
  --text-muted: #5a5a6e;
  --border: rgba(212, 165, 116, 0.12);
  --radius: 16px;
  --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Outfit', sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  overflow-x: hidden;
  line-height: 1.6;
}

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: var(--gold-dark); border-radius: 3px; }

/* ── Utility ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section-label {
  font-size: 0.75rem; font-weight: 600; letter-spacing: 4px; text-transform: uppercase;
  color: var(--gold); margin-bottom: 12px; display: block;
}
.section-title {
  font-family: 'Playfair Display', serif; font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 700; line-height: 1.15; margin-bottom: 20px;
}
.section-title .accent {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}

/* ── Navigation ── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 16px 0; transition: var(--transition);
}
.navbar.scrolled {
  background: rgba(10, 10, 15, 0.92); backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.navbar .container { display: flex; align-items: center; justify-content: space-between; }
.nav-logo img { height: 40px; filter: drop-shadow(0 0 12px rgba(245,197,99,0.3)); }
.nav-links { display: flex; gap: 32px; list-style: none; }
.nav-links a {
  color: var(--text-secondary); text-decoration: none; font-size: 0.9rem;
  font-weight: 500; transition: var(--transition); position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px;
  background: var(--gold); transition: var(--transition);
}
.nav-links a:hover { color: var(--gold); }
.nav-links a:hover::after { width: 100%; }
.nav-cta {
  padding: 10px 24px; background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  color: var(--bg-primary); border: none; border-radius: 50px; font-weight: 600;
  font-size: 0.85rem; cursor: pointer; text-decoration: none; transition: var(--transition);
}
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(212,165,116,0.3); }
.menu-toggle { display: none; background: none; border: none; color: var(--text-primary); font-size: 1.5rem; cursor: pointer; }

/* ── Hero ── */
.hero {
  display: flex; align-items: center; position: relative;
  overflow: hidden; padding: 160px 0 60px;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(212,165,116,0.08) 0%, transparent 60%),
              radial-gradient(ellipse at 70% 20%, rgba(139,105,20,0.06) 0%, transparent 50%);
}
.hero-particles { position: absolute; inset: 0; z-index: 1; }
.hero .container { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px;
  background: rgba(212,165,116,0.08); border: 1px solid var(--border);
  border-radius: 50px; font-size: 0.8rem; color: var(--gold); margin-bottom: 24px;
}
.hero-badge .dot { width: 6px; height: 6px; background: var(--gold-light); border-radius: 50%; animation: pulse 2s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }

.hero h1 {
  font-family: 'Playfair Display', serif; font-size: clamp(2.5rem, 6vw, 4.2rem);
  font-weight: 700; line-height: 1.1; margin-bottom: 24px;
}
.hero h1 .line-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.hero-desc { font-size: 1.1rem; color: var(--text-secondary); max-width: 480px; margin-bottom: 40px; line-height: 1.8; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.btn-primary {
  padding: 14px 36px; background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  color: var(--bg-primary); border: none; border-radius: 50px; font-weight: 700;
  font-size: 1rem; cursor: pointer; transition: var(--transition); text-decoration: none;
  display: inline-flex; align-items: center; gap: 8px;
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 12px 40px rgba(212,165,116,0.35); }
.btn-outline {
  padding: 14px 36px; background: transparent; color: var(--gold);
  border: 1px solid var(--gold-dark); border-radius: 50px; font-weight: 600;
  font-size: 1rem; cursor: pointer; transition: var(--transition); text-decoration: none;
  display: inline-flex; align-items: center; gap: 8px;
}
.btn-outline:hover { background: rgba(212,165,116,0.08); transform: translateY(-3px); }

.hero-showcase { position: relative; display: flex; justify-content: center; }
.hero-image-stack { position: relative; width: 100%; max-width: 440px; aspect-ratio: 3/4; }
.hero-image-stack img {
  position: absolute; width: 260px; border-radius: var(--radius);
  box-shadow: 0 20px 60px rgba(0,0,0,0.6); transition: var(--transition);
  object-fit: cover; aspect-ratio: 3/4;
}
.hero-image-stack img:nth-child(1) { top: 0; left: 0; z-index: 3; transform: rotate(-6deg); }
.hero-image-stack img:nth-child(2) { top: 30px; left: 120px; z-index: 2; transform: rotate(3deg); }
.hero-image-stack img:nth-child(3) { top: 70px; left: 60px; z-index: 1; transform: rotate(-2deg); opacity: 0.7; }
.hero-image-stack:hover img:nth-child(1) { transform: rotate(-10deg) translateY(-10px); }
.hero-image-stack:hover img:nth-child(2) { transform: rotate(6deg) translateX(10px); }

.hero-stats {
  position: relative; z-index: 2; display: flex; gap: 40px; margin-top: 50px;
  padding-top: 30px; border-top: 1px solid var(--border);
}
.stat-item .stat-number {
  font-size: 2rem; font-weight: 800;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.stat-item .stat-label { font-size: 0.8rem; color: var(--text-muted); margin-top: 4px; }

/* ── Gallery ── */
#galeria { padding: 60px 0 120px; }
.gallery-header { text-align: center; margin-bottom: 60px; }
.gallery-filters {
  display: flex; justify-content: center; gap: 12px; margin-top: 30px; flex-wrap: wrap;
}
.filter-btn {
  padding: 8px 20px; background: rgba(212,165,116,0.06); border: 1px solid var(--border);
  border-radius: 50px; color: var(--text-secondary); font-size: 0.85rem;
  cursor: pointer; transition: var(--transition); font-family: 'Outfit', sans-serif;
}
.filter-btn.active, .filter-btn:hover {
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  color: var(--bg-primary); border-color: transparent; font-weight: 600;
}
.gallery-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
.gallery-card {
  position: relative; border-radius: var(--radius); overflow: hidden;
  background: var(--bg-card); border: 1px solid var(--border);
  transition: var(--transition); cursor: pointer; group: true;
}
.gallery-card:hover { transform: translateY(-8px); border-color: var(--gold-dark);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4), 0 0 40px var(--gold-glow); }
.gallery-card img {
  width: 100%; aspect-ratio: 3/4; object-fit: cover; transition: var(--transition);
}
.gallery-card:hover img { transform: scale(1.05); }
.gallery-card-overlay {
  position: absolute; inset: 0; background: linear-gradient(to top, rgba(10,10,15,0.95) 0%, transparent 50%);
  display: flex; flex-direction: column; justify-content: flex-end; padding: 24px;
  opacity: 0; transition: var(--transition);
}
.gallery-card:hover .gallery-card-overlay { opacity: 1; }
.gallery-card-overlay h3 { font-family: 'Playfair Display', serif; font-size: 1.2rem; margin-bottom: 4px; }
.gallery-card-overlay p { font-size: 0.8rem; color: var(--text-secondary); }

/* ── Lightbox ── */
.lightbox {
  position: fixed; inset: 0; z-index: 9999; background: rgba(0,0,0,0.95);
  display: none; align-items: center; justify-content: center;
  backdrop-filter: blur(20px); opacity: 0; transition: opacity 0.3s;
}
.lightbox.active { display: flex; opacity: 1; }
.lightbox img { max-width: 90vw; max-height: 85vh; border-radius: var(--radius);
  box-shadow: 0 0 80px rgba(212,165,116,0.2); }
.lightbox-close {
  position: absolute; top: 24px; right: 24px; background: none; border: none;
  color: var(--text-primary); font-size: 2rem; cursor: pointer; z-index: 10;
  width: 48px; height: 48px; display: flex; align-items: center; justify-content: center;
  border-radius: 50%; transition: var(--transition);
}
.lightbox-close:hover { background: rgba(255,255,255,0.1); }
.lightbox-nav {
  position: absolute; top: 50%; transform: translateY(-50%); background: rgba(212,165,116,0.15);
  border: 1px solid var(--border); color: var(--text-primary); width: 48px; height: 48px;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  cursor: pointer; font-size: 1.2rem; transition: var(--transition);
}
.lightbox-nav:hover { background: rgba(212,165,116,0.3); }
.lightbox-prev { left: 24px; }
.lightbox-next { right: 24px; }
.lightbox-caption {
  position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%);
  text-align: center; font-family: 'Playfair Display', serif; font-size: 1.3rem;
  color: var(--gold);
}

/* ── Video Section ── */
#processo { padding: 120px 0; background: var(--bg-secondary); }
.video-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.video-wrapper {
  position: relative; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--border); box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.video-wrapper video { width: 100%; display: block; border-radius: var(--radius); }
.video-content .feature-list { list-style: none; margin-top: 30px; }
.video-content .feature-list li {
  display: flex; align-items: flex-start; gap: 16px; padding: 16px 0;
  border-bottom: 1px solid var(--border); font-size: 0.95rem; color: var(--text-secondary);
}
.feature-icon {
  width: 40px; height: 40px; border-radius: 10px; display: flex; align-items: center;
  justify-content: center; font-size: 1.2rem; flex-shrink: 0;
  background: rgba(212,165,116,0.1); color: var(--gold);
}

/* ── About / Diferencial ── */
#sobre { padding: 120px 0; }
.about-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 50px; }
.about-card {
  padding: 40px 30px; background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); transition: var(--transition); text-align: center;
}
.about-card:hover { transform: translateY(-6px); border-color: var(--gold-dark);
  box-shadow: 0 20px 60px rgba(0,0,0,0.3), 0 0 30px var(--gold-glow); }
.about-card-icon {
  width: 64px; height: 64px; margin: 0 auto 20px; border-radius: 16px;
  background: linear-gradient(135deg, rgba(212,165,116,0.15), rgba(245,197,99,0.05));
  display: flex; align-items: center; justify-content: center; font-size: 1.8rem;
}
.about-card h3 { font-family: 'Playfair Display', serif; font-size: 1.2rem; margin-bottom: 12px; }
.about-card p { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.7; }

/* ── CTA / Contato ── */
#contato { padding: 120px 0; }
.cta-box {
  background: linear-gradient(135deg, var(--bg-card), rgba(212,165,116,0.05));
  border: 1px solid var(--border); border-radius: 24px; padding: 80px 60px;
  text-align: center; position: relative; overflow: hidden;
}
.cta-box::before {
  content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%;
  background: radial-gradient(circle, rgba(212,165,116,0.04) 0%, transparent 50%);
  animation: rotateBg 20s linear infinite;
}
@keyframes rotateBg { to { transform: rotate(360deg); } }
.cta-box .section-title, .cta-box p, .cta-box .cta-actions { position: relative; z-index: 1; }
.cta-box p { color: var(--text-secondary); max-width: 500px; margin: 0 auto 36px; font-size: 1.1rem; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.whatsapp-btn {
  padding: 16px 40px; background: #25D366; color: #fff; border: none;
  border-radius: 50px; font-weight: 700; font-size: 1rem; cursor: pointer;
  text-decoration: none; display: inline-flex; align-items: center; gap: 10px;
  transition: var(--transition);
}
.whatsapp-btn:hover { transform: translateY(-3px); box-shadow: 0 12px 40px rgba(37,211,102,0.3); }

/* ── Footer ── */
.footer {
  padding: 40px 0; border-top: 1px solid var(--border); text-align: center;
}
.footer p { font-size: 0.85rem; color: var(--text-muted); }
.footer .footer-socials { display: flex; justify-content: center; gap: 16px; margin-top: 16px; }
.footer .footer-socials a {
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center; color: var(--text-secondary);
  text-decoration: none; transition: var(--transition); font-size: 1.1rem;
}
.footer .footer-socials a:hover { border-color: var(--gold); color: var(--gold); background: rgba(212,165,116,0.08); }

/* ── Scroll Animations ── */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 0.8s, transform 0.8s; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── Responsive ── */
@media (max-width: 968px) {
  .hero .container { grid-template-columns: 1fr; text-align: center; }
  .hero-desc { margin: 0 auto 40px; }
  .hero-actions { justify-content: center; }
  .hero-showcase { margin-top: 40px; }
  .hero-stats { justify-content: center; }
  .hero-image-stack { max-width: 340px; }
  .video-layout { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .menu-toggle { display: block; }
  .nav-links.open {
    display: flex; flex-direction: column; position: absolute;
    top: 100%; left: 0; right: 0; background: rgba(10,10,15,0.98);
    padding: 24px; gap: 20px; border-bottom: 1px solid var(--border);
    backdrop-filter: blur(20px);
  }
}
@media (max-width: 600px) {
  .hero h1 { font-size: 2rem; }
  .hero-image-stack img { width: 180px; }
  .cta-box { padding: 50px 24px; }
  .gallery-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
}
