/* ===== CSS Variables ===== */
:root {
  /* Colors */
  --background: 30 20% 8%;
  --foreground: 40 20% 90%;
  --primary: 38 70% 50%;
  --primary-foreground: 30 20% 8%;
  --secondary: 30 15% 15%;
  --secondary-foreground: 40 20% 90%;
  --muted: 30 10% 20%;
  --muted-foreground: 40 10% 60%;
  --accent: 30 30% 20%;
  --accent-foreground: 40 20% 90%;
  --border: 30 15% 20%;
  --ring: 38 70% 50%;

  /* Custom Colors */
  --rustic: 25 30% 12%;
  --gold: 38 70% 50%;
  --gold-light: 40 60% 65%;
  --cream: 40 30% 92%;
  --brick: 15 40% 25%;

  /* Gradients */
  --gradient-gold: linear-gradient(135deg, hsl(38 70% 50%), hsl(40 60% 65%));
  --gradient-rustic: linear-gradient(180deg, hsl(25 30% 12%), hsl(30 20% 8%));

  /* Shadows */
  --shadow-gold: 0 4px 20px -4px hsla(38, 70%, 50%, 0.3);
  --shadow-elegant: 0 10px 30px -10px hsla(38, 70%, 50%, 0.2);

  /* Fonts */
  --font-playfair: 'Playfair Display', serif;
  --font-outfit: 'Outfit', sans-serif;

  /* Spacing */
  --section-padding: 5rem 1rem;
}

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

html {
  scroll-behavior: smooth;
}

/* ===== BACKGROUND APLICADO AQUI ===== */
body {
  font-family: var(--font-outfit);

  /* 🔥 BACKGROUND FIXO EM TODA A PÁGINA */
  background: url("images/hero-bg.jpg") center/cover no-repeat fixed;

  color: hsl(var(--foreground));
  line-height: 1.6;
  min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-playfair);
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

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

ul {
  list-style: none;
}

/* ===== Container ===== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* ===== Buttons ===== */
.btn-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  background: var(--gradient-gold);
  color: hsl(var(--primary-foreground));
  font-weight: 600;
  border-radius: 0.5rem;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-gold);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-elegant);
}

.btn-gold:active {
  transform: translateY(0);
}

.btn-outline-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  background: transparent;
  color: hsl(var(--gold));
  font-weight: 600;
  border-radius: 0.5rem;
  border: 2px solid hsl(var(--gold));
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-outline-gold:hover {
  background: hsl(var(--gold) / 0.1);
  transform: translateY(-2px);
}

.btn-icon {
  width: 1.25rem;
  height: 1.25rem;
}

/* ===== Text Utilities ===== */
.text-primary {
  color: hsl(var(--primary));
}

.text-gradient-gold {
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== Header ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  transition: all 0.3s ease;
}

.header.scrolled {
  background: hsl(var(--background) / 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid hsl(var(--border));
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-icon {
  width: 2rem;
  height: 2rem;
  color: hsl(var(--primary));
  transition: transform 0.3s ease;
}

.logo:hover .logo-icon {
  transform: rotate(45deg);
}

.logo-text {
  font-family: var(--font-playfair);
  font-size: 1.25rem;
  font-weight: 600;
  color: hsl(var(--foreground));
}

.nav-links {
  display: none;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  position: relative;
  color: hsl(var(--foreground) / 0.8);
  font-weight: 500;
  transition: color 0.3s ease;
}

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

.nav-link:hover {
  color: hsl(var(--primary));
}

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

.mobile-menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  background: none;
  border: none;
  color: hsl(var(--foreground));
  cursor: pointer;
}

.menu-icon {
  width: 1.5rem;
  height: 1.5rem;
}

/* Mobile Menu */
.mobile-menu {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: hsl(var(--background) / 0.98);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid hsl(var(--border));
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.mobile-menu.active {
  opacity: 1;
  visibility: visible;
}

.mobile-menu-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.5rem 1rem;
}

.mobile-nav-link {
  color: hsl(var(--foreground) / 0.8);
  font-size: 1.125rem;
  padding: 0.5rem 0;
  transition: color 0.3s ease;
}

.mobile-nav-link:hover {
  color: hsl(var(--primary));
}

.mobile-cta {
  margin-top: 0.5rem;
  text-align: center;
}

/* ===== Hero Section ===== */
/* 🔥 REMOVIDO O BACKGROUND DO HERO PARA NÃO DUPLICAR */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    hsl(var(--background) / 0.7),
    hsl(var(--background) / 0.9)
  );
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 2rem 1rem;
  max-width: 800px;
}

.hero-badge {
  display: inline-block;
  padding: 0.5rem 1.25rem;
  background: hsl(var(--primary) / 0.15);
  border: 1px solid hsl(var(--primary) / 0.3);
  border-radius: 9999px;
  color: hsl(var(--primary));
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: hsl(var(--foreground));
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.hero-description {
  font-size: 1.125rem;
  color: hsl(var(--muted-foreground));
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-cta {
  font-size: 1.125rem;
}

/* ===== Section Styles ===== */
.section-padding {
  padding: var(--section-padding);
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-label {
  display: block;
  color: hsl(var(--primary));
  font-size: 0.875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  color: hsl(var(--foreground));
  margin-bottom: 1rem;
}

.section-description {
  color: hsl(var(--muted-foreground));
  max-width: 36rem;
  margin: 0 auto;
}

/* ===== Gallery Section ===== */
.gallery {
  background: hsl(var(--background) / 0.7);
  backdrop-filter: blur(6px);
}

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

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 0.75rem;
  border: 2px solid hsl(var(--border));
  aspect-ratio: 1;
  cursor: pointer;
}

.gallery-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover .gallery-image {
  transform: scale(1.1);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    hsl(var(--background) / 0.9),
    transparent
  );
  display: flex;
  align-items: flex-end;
  padding: 1rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-title {
  color: hsl(var(--foreground));
  font-family: var(--font-playfair);
  font-size: 1.125rem;
  font-weight: 600;
}

.gallery-cta {
  text-align: center;
  margin-top: 2.5rem;
}

/* ===== Benefits Section ===== */
.benefits {
  background: hsl(var(--secondary) / 0.5);
}

.benefits-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.benefit-card {
  background: hsl(var(--background));
  border: 1px solid hsl(var(--border));
  border-radius: 0.75rem;
  padding: 1.5rem;
  transition: all 0.3s ease;
}

.benefit-card:hover {
  border-color: hsl(var(--primary) / 0.3);
  box-shadow: var(--shadow-elegant);
  transform: translateY(-4px);
}

.benefit-icon-wrapper {
  width: 3.5rem;
  height: 3.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: hsl(var(--primary) / 0.1);
  border-radius: 0.5rem;
  margin-bottom: 1rem;
  transition: background 0.3s ease;
}

.benefit-card:hover .benefit-icon-wrapper {
  background: hsl(var(--primary) / 0.2);
}

.benefit-icon {
  width: 1.75rem;
  height: 1.75rem;
  color: hsl(var(--primary));
}

.benefit-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: hsl(var(--foreground));
  margin-bottom: 0.5rem;
}

.benefit-description {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  line-height: 1.6;
}

/* ===== Footer ===== */
.footer {
  background: var(--gradient-rustic);
  padding: 4rem 1rem 2rem;
  border-top: 1px solid hsl(var(--border));
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

.footer-brand .logo {
  margin-bottom: 1rem;
}

.footer-description {
  color: hsl(var(--muted-foreground));
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
  max-width: 300px;
}

.social-links {
  display: flex;
  gap: 0.75rem;
}

.social-link {
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: hsl(var(--primary) / 0.1);
  border: 1px solid hsl(var(--primary) / 0.3);
  border-radius: 0.5rem;
  color: hsl(var(--primary));
  transition: all 0.3s ease;
}

.social-link:hover {
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
}

.social-link svg {
  width: 1.25rem;
  height: 1.25rem;
}

.footer-title {
  font-family: var(--font-playfair);
  font-size: 1.125rem;
  font-weight: 600;
  color: hsl(var(--foreground));
  margin-bottom: 1rem;
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: hsl(var(--muted-foreground));
  font-size: 0.875rem;
}

.contact-item a:hover {
  color: hsl(var(--primary));
}

.contact-icon {
  width: 1rem;
  height: 1rem;
  color: hsl(var(--primary));
}

.footer-cta-text {
  color: hsl(var(--muted-foreground));
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.footer-bottom {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid hsl(var(--border));
  text-align: center;
}

.footer-bottom p {
  color: hsl(var(--muted-foreground));
  font-size: 0.875rem;
}

/* ===== Animations ===== */
.animate-fade-up {
  animation: fadeUp 0.6s ease-out forwards;
  opacity: 0;
}

.delay-200 {
  animation-delay: 0.2s;
}

.delay-400 {
  animation-delay: 0.4s;
}

.delay-600 {
  animation-delay: 0.6s;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== Media Queries ===== */
@media (min-width: 640px) {
  .hero-title {
    font-size: 3rem;
  }

  .section-title {
    font-size: 2.5rem;
  }

  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) {
  :root {
    --section-padding: 6rem 2rem;
  }

  .nav {
    padding: 1rem 2rem;
  }

  .nav-links {
    display: flex;
  }

  .mobile-menu-btn {
    display: none;
  }

  .logo-text {
    font-size: 1.5rem;
  }

  .hero-title {
    font-size: 3.5rem;
  }

  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .section-title {
    font-size: 3rem;
  }
}

@media (min-width: 1024px) {
  .benefits-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr;
  }

  .hero-title {
    font-size: 4rem;
  }
}
.dev-credit {
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  color: #ffffff;
}
.dev-credit:hover {
  text-decoration: underline;
}
