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

:root {
  --bege: #faf8f5;
  --bege-escuro: #f5f1ec;
  --marrom: #8b6a43;
  --marrom-escuro: #5c4a3a;
  --dourado: #d4af7a;
  --verde: #6b7d3a;
  --verde-escuro: #556330;
  --texto: #2a2a2a;
  --texto-claro: #6a6a6a;
  --branco: #ffffff;
}

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

body {
  background: var(--bege);
  color: var(--texto);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  line-height: 1.2;
}

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

/* ========== HEADER ========== */
.header {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(139, 106, 67, 0.1);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: all 0.3s ease;
}

.header.scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0;
}

.logo-container {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 10px;
}

/* Desktop: logo mais à esquerda */
@media (min-width: 769px) {
  .logo-container {
    margin-left: -250px;
  }
}

.logo {
  font-family: 'Great Vibes', cursive;
  background: linear-gradient(135deg, #d4af7a 0%, #c9a568 50%, #d4af7a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 38px;
  font-weight: 400;
  letter-spacing: 2px;
  position: relative;
  line-height: 1.25;
  margin: 0;
  padding: 0;
}

.logo::after {
  display: none;
}

.logo-subtitle {
  font-family: 'Inter', sans-serif;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 3.5px;
  color: var(--marrom-escuro);
  text-transform: uppercase;
  margin-top: -5px;
  margin-left: 5px;
  opacity: 0.85;
}

nav {
  display: flex;
  gap: 36px;
}

nav a {
  text-decoration: none;
  color: var(--texto);
  font-weight: 500;
  font-size: 15px;
  position: relative;
  transition: color 0.3s ease;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--dourado);
  transition: width 0.3s ease;
}

nav a:hover {
  color: var(--marrom);
}

nav a:hover::after {
  width: 100%;
}

.btn-whatsapp {
  background: linear-gradient(135deg, var(--verde) 0%, var(--verde-escuro) 100%);
  color: var(--branco);
  padding: 13px 26px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  box-shadow: 0 4px 15px rgba(107, 125, 58, 0.25);
  transition: all 0.3s ease;
  white-space: nowrap;
}

.btn-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(107, 125, 58, 0.35);
}

/* ========== HERO ========== */
.hero {
  padding: 160px 0 100px;
  margin-top: 76px;
  position: relative;
  min-height: 500px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(92, 74, 58, 0.75) 0%, rgba(107, 125, 58, 0.65) 100%);
  z-index: 1;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 50%, rgba(212, 175, 122, 0.2) 0%, transparent 60%);
  pointer-events: none;
  z-index: 1;
}

.hero-content {
  max-width: 650px;
  position: relative;
  z-index: 2;
}

.hero h2 {
  font-size: 48px;
  margin-bottom: 20px;
  color: var(--branco);
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}

.hero p {
  margin-bottom: 32px;
  font-size: 19px;
  color: rgba(255, 255, 255, 0.95);
  font-weight: 300;
}

.btn-primary {
  background: var(--branco);
  color: var(--verde-escuro);
  padding: 16px 32px;
  border-radius: 50px;
  text-decoration: none;
  display: inline-block;
  font-weight: 600;
  font-size: 16px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.25);
}

/* ========== SERVIÇOS ========== */
.services {
  padding: 90px 0;
  background: var(--bege);
}

.services h3 {
  text-align: center;
  margin-bottom: 60px;
  font-size: 42px;
  color: var(--marrom-escuro);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.card {
  background: var(--branco);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--dourado) 0%, var(--marrom) 100%);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.card:hover::before {
  transform: scaleX(1);
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.12);
}

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

.card:hover img {
  transform: scale(1.08);
}

.card h4 {
  margin: 20px 20px 10px;
  font-size: 22px;
  color: var(--marrom-escuro);
}

.card p {
  margin: 0 20px 24px;
  font-size: 15px;
  color: var(--texto-claro);
  line-height: 1.6;
}

.card a {
  display: block;
  margin: 0 20px 20px;
  background: linear-gradient(135deg, var(--marrom) 0%, var(--marrom-escuro) 100%);
  color: var(--branco);
  text-align: center;
  padding: 14px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(139, 106, 67, 0.2);
}

.card a:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(139, 106, 67, 0.3);
}

/* ========== MENU HAMBÚRGUER ========== */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.menu-toggle span {
  width: 28px;
  height: 3px;
  background: var(--marrom-escuro);
  border-radius: 3px;
  transition: all 0.3s ease;
}

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

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

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

.mobile-menu {
  display: none;
  position: fixed;
  top: 76px;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  padding: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  z-index: 999;
  transform: translateY(-100%);
  transition: transform 0.3s ease;
}

.mobile-menu.active {
  transform: translateY(0);
}

.mobile-menu nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.mobile-menu nav a {
  text-decoration: none;
  color: var(--texto);
  font-weight: 500;
  font-size: 16px;
  padding: 12px;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.mobile-menu nav a:hover {
  background: var(--bege-escuro);
  color: var(--marrom);
}

/* ========== RESPONSIVO ========== */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  
  .logo {
    font-size: 34px;
  }
  
  .logo-subtitle {
    font-size: 8px;
    letter-spacing: 3px;
  }
}

@media (max-width: 768px) {
  .nav nav {
    display: none;
  }
  
  .menu-toggle {
    display: flex;
  }
  
  .mobile-menu {
    display: block;
  }

  .nav {
    padding: 18px 0;
    flex-wrap: wrap;
    gap: 10px;
  }

  .logo {
    font-size: 32px;
  }

  .logo-subtitle {
    font-size: 8px;
    letter-spacing: 2.5px;
  }
  
  .btn-whatsapp {
    padding: 11px 20px;
    font-size: 13px;
  }

  .hero {
    padding: 120px 0 80px;
    margin-top: 68px;
  }

  .hero h2 {
    font-size: 36px;
  }

  .hero p {
    font-size: 17px;
  }

  .services {
    padding: 60px 0;
  }

  .services h3 {
    font-size: 32px;
    margin-bottom: 40px;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .card img {
    height: 220px;
  }
}

@media (max-width: 480px) {
  .logo {
    font-size: 28px;
  }

  .logo-subtitle {
    font-size: 7px;
    letter-spacing: 2px;
  }

  .hero h2 {
    font-size: 28px;
  }

  .hero p {
    font-size: 16px;
  }

  .btn-primary {
    width: 100%;
    text-align: center;
    padding: 14px 24px;
  }

  .btn-whatsapp {
    padding: 10px 18px;
    font-size: 12px;
  }
  
  .card h4 {
    font-size: 20px;
  }
  
  .card p {
    font-size: 14px;
  }
}

/* ========== ANIMAÇÕES ========== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-content {
  animation: fadeInUp 0.8s ease;
}

.card {
  animation: fadeInUp 0.6s ease backwards;
}

.card:nth-child(1) { animation-delay: 0.1s; }
.card:nth-child(2) { animation-delay: 0.2s; }
.card:nth-child(3) { animation-delay: 0.3s; }
.card:nth-child(4) { animation-delay: 0.4s; }