/* Base and Reset */
:root {
  --bg-primary: #F4F2EE;
  --bg-secondary: #FFFFFF;
  --text-primary: #332D28;
  --text-secondary: #665C54;
  --accent-gold-light: #D4AF6A;
  --accent-gold: #C59B4B;
  --accent-gold-dark: #A37E3A;
  
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Montserrat', sans-serif;
  
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 32px;
  --radius-full: 9999px;
  
  --shadow-sm: 0 4px 12px rgba(0,0,0, 0.03);
  --shadow-md: 0 12px 24px rgba(0,0,0, 0.05);
  --shadow-lg: 0 20px 40px rgba(0,0,0, 0.08);
  
  --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

/* Typography Utilities */
.text-gold { color: var(--accent-gold); }
.text-center { text-align: center; }

/* Layout Utilities */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
}

.section-title {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 16px;
}

.section-subtitle {
  text-align: center;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 60px auto;
  font-size: 1.1rem;
}

/* Components */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  gap: 8px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-gold-light), var(--accent-gold));
  color: #fff;
  box-shadow: 0 10px 20px rgba(197, 155, 75, 0.2);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--accent-gold), var(--accent-gold-dark));
  box-shadow: 0 15px 25px rgba(197, 155, 75, 0.3);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--accent-gold);
  border: 1px solid var(--accent-gold);
}

.btn-outline:hover {
  background: var(--accent-gold);
  color: #fff;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 20px 0;
  background-color: rgba(244, 242, 238, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 1000;
  transition: var(--transition);
  border-bottom: 1px solid rgba(0,0,0,0.03);
}

.header.scrolled {
  padding: 12px 0;
  box-shadow: var(--shadow-sm);
}

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

.logo img {
  height: 118px;
  transition: var(--transition);
}

.header.scrolled .logo img {
  height: 82px;
}

.nav-menu {
  display: flex;
  gap: 40px;
  align-items: center;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  position: relative;
}

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

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

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

/* Hero Section */
.hero {
  padding-top: 220px;
  padding-bottom: 120px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(197, 155, 75, 0.08) 0%, rgba(244, 242, 238, 0) 70%);
  z-index: -1;
}

.hero-title {
  font-size: 4rem;
  margin-bottom: 24px;
  color: var(--text-primary);
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 40px auto;
}

.hero-image-wrapper {
  margin-top: 60px;
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.hero-image-wrapper img {
  width: 100%;
  height: 500px;
  object-fit: cover;
}

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.service-card {
  background: var(--bg-secondary);
  padding: 48px 32px;
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-gold-light), var(--accent-gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.service-card:hover::after {
  transform: scaleX(1);
}

.service-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 24px;
  background-color: rgba(197, 155, 75, 0.1);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-gold);
}

.service-icon svg {
  width: 32px;
  height: 32px;
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 16px;
}

.service-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* About / Diferenciais */
.about {
  background-color: var(--bg-secondary);
  border-radius: var(--radius-lg);
  padding: 80px;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 80px;
  box-shadow: var(--shadow-md);
}

.about-content {
  flex: 1;
}

.about-content h2 {
  font-size: 2.5rem;
  margin-bottom: 24px;
}

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

.about-features {
  margin-top: 32px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.feature-item svg {
  color: var(--accent-gold);
  width: 24px;
  height: 24px;
}

.about-image {
  flex: 1;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-image img {
  width: 100%;
  height: auto;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  background-color: var(--bg-secondary);
  border-radius: var(--radius-lg);
  padding: 60px;
  box-shadow: var(--shadow-md);
}

.contact-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 32px;
}

.contact-info-item svg {
  width: 24px;
  height: 24px;
  color: var(--accent-gold);
  flex-shrink: 0;
  margin-top: 4px;
}

.contact-info-item h4 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.contact-info-item p {
  color: var(--text-secondary);
}

.map-container {
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 400px;
  background: #eee;
}

.map-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Footer */
.footer {
  background-color: #2C2622;
  color: rgba(255,255,255,0.7);
  padding: 60px 0 30px;
  text-align: center;
}

.footer-copy {
  margin-top: 40px;
  font-size: 0.9rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
}

.responsible-photo {
  width: min(100%, 320px);
  aspect-ratio: 4 / 5;
  display: block;
  margin: 0 auto 22px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(197, 155, 75, 0.38);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.22);
  background: rgba(255, 255, 255, 0.06);
}

.responsible-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Mobile Menu Button */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--accent-gold);
  font-size: 2rem;
  cursor: pointer;
  z-index: 1001;
}

/* Responsive */
@media (max-width: 992px) {
  .hero-title { font-size: 3rem; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .about { flex-direction: column; padding: 40px; gap: 40px; }
  .contact-grid { grid-template-columns: 1fr; padding: 40px; }
}

@media (max-width: 768px) {
  /* Premium Mobile Header */
  .header { padding: 8px 0; }
  .header.scrolled { padding: 4px 0; }
  
  .logo img { 
    height: 76px; 
  }
  .header.scrolled .logo img { 
    height: 62px; 
  }
  
  .mobile-menu-btn { 
    display: block; 
  }
  
  /* Fullscreen Mobile Navigation */
  .nav-menu { 
    position: fixed;
    top: 0;
    left: 100%; /* Hidden to the right */
    width: 100%;
    height: 100vh;
    background: var(--bg-primary);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 24px;
    gap: 40px;
    transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 999;
  }
  
  .nav-menu.active {
    left: 0;
  }
  
  .nav-link {
    font-size: 1.5rem;
  }
  
  /* Hero Adjustments */
  .hero { 
    padding-top: 140px; 
    padding-bottom: 60px;
  }
  .hero-title { 
    font-size: 2.2rem; 
    margin-bottom: 16px;
  }
  .hero-subtitle { 
    font-size: 1.05rem; 
    margin-bottom: 32px; 
  }
  .hero-image-wrapper {
    margin-top: 40px;
  }
  .hero-image-wrapper img { 
    height: 350px; 
  }
  
  /* Sections Adjustments */
  .section { padding: 60px 0; }
  .section-title { font-size: 2rem; }
  .services-grid { grid-template-columns: 1fr; gap: 24px; }
  .about { padding: 32px 24px; gap: 32px; margin: 60px auto; }
  .about-content h2 { font-size: 2rem; }
  
  /* Contact Mobile */
  .contact-grid { padding: 32px 24px; gap: 40px; }
  .map-container { height: 300px; border-radius: var(--radius-sm); }
  
  /* Footer Mobile */
  .footer { padding: 40px 0 20px; }
  .responsible-photo { width: min(100%, 260px); }
}
