/* style.css - Visão Filarmônica Design System */

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

:root {
  /* Colors */
  --color-primary: #D4B96A; /* Dourado Destaque */
  --color-primary-dark: #c2aa60; /* Dourado Base */
  --color-primary-light: #F4E8C1;
  
  --color-brand: #3A2C2B; /* Marrom Profundo */
  --color-brand-dark: #2A1F1E;
  --color-brand-light: #5A4745;
  
  --color-bg-light: #FCFAF6;
  --color-bg-dark: #120D0C;
  
  --color-text-main: #332B2B;
  --color-text-muted: #6B5E5D;
  --color-text-light: #F9F6F0;
  
  --color-white: #FFFFFF;
  --color-black: #000000;
  
  --color-error: #D93838;
  --color-success: #38D96D;

  /* Typography */
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Inter', sans-serif;
  
  /* Layout Options */
  --max-width: 1200px;
  --header-height: 80px;
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
  
  /* Shadows */
  --shadow-sm: 0 2px 4px rgba(58, 44, 43, 0.05);
  --shadow-md: 0 4px 12px rgba(58, 44, 43, 0.08);
  --shadow-lg: 0 12px 24px rgba(58, 44, 43, 0.12);
  --shadow-gold: 0 4px 15px rgba(212, 185, 106, 0.3);
  
  /* Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-full: 9999px;
}

/* Reset & Globals */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: var(--font-body);
  color: var(--color-text-main);
  background-color: var(--color-bg-light);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--color-brand);
  line-height: 1.2;
  margin-bottom: 1rem;
  font-weight: 600;
}

p {
  margin-bottom: 1rem;
}

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

ul, ol {
  list-style: none;
}

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

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Typography Utility Classes */
.text-center { text-align: center; }
.text-brand { color: var(--color-brand); }
.text-primary { color: var(--color-primary); }
.text-light { color: var(--color-text-light); }
.text-muted { color: var(--color-text-muted); }

/* Background Utility Classes */
.bg-brand { background-color: var(--color-brand); color: var(--color-white); }
.bg-light { background-color: var(--color-bg-light); }
.bg-primary { background-color: var(--color-primary); color: var(--color-brand-dark); }
.bg-dark { background-color: var(--color-brand-dark); color: var(--color-white); }

/* Spacing Utilities */
.py-1 { padding-top: 1rem; padding-bottom: 1rem; }
.py-2 { padding-top: 2rem; padding-bottom: 2rem; }
.py-3 { padding-top: 3rem; padding-bottom: 3rem; }
.py-4 { padding-top: 4rem; padding-bottom: 4rem; }
.py-5 { padding-top: 5rem; padding-bottom: 5rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 3rem; }

/* Global Layout Components */
/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 1000;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

.site-header.scrolled {
  height: 70px;
  box-shadow: var(--shadow-md);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-brand);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo span {
  color: var(--color-primary-dark);
}

.main-nav ul {
  display: flex;
  gap: 2rem;
}

.main-nav a {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--color-brand-light);
  position: relative;
  padding: 0.5rem 0;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-primary);
  transition: width var(--transition-normal);
}

.main-nav a:hover {
  color: var(--color-brand);
}

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

.main-nav a.active {
  color: var(--color-brand);
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.hamburger {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--color-brand);
  position: relative;
  transition: var(--transition-normal);
}

.hamburger::before,
.hamburger::after {
  content: '';
  position: absolute;
  width: 24px;
  height: 2px;
  background-color: var(--color-brand);
  transition: var(--transition-normal);
}

.hamburger::before { top: -8px; }
.hamburger::after { bottom: -8px; }

.menu-toggle.active .hamburger { background-color: transparent; }
.menu-toggle.active .hamburger::before { top: 0; transform: rotate(45deg); }
.menu-toggle.active .hamburger::after { bottom: 0; transform: rotate(-45deg); }

/* Footer */
.site-footer {
  background-color: var(--color-brand-dark);
  color: var(--color-text-light);
  padding: 4rem 0 2rem;
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-col h3 {
  color: var(--color-primary);
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
}

.footer-col p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0.8rem;
}

.footer-col ul li {
  margin-bottom: 0.8rem;
}

.footer-col ul a {
  color: rgba(255, 255, 255, 0.7);
}

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

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.5);
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-normal);
}

.social-icon:hover {
  background-color: var(--color-primary);
  color: var(--color-brand-dark);
  transform: translateY(-3px);
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-in {
  animation: fadeIn 0.8s ease forwards;
}

/* Responsive */
@media (max-width: 991px) {
  .site-header .btn {
    display: none;
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
    z-index: 1001;
  }
  
  .main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 400px;
    height: 100vh;
    background-color: var(--color-white);
    padding: 6rem 2rem 2rem;
    box-shadow: -10px 0 30px rgba(0,0,0,0.1);
    transition: right var(--transition-normal);
    z-index: 1000;
  }
  
  .main-nav.active {
    right: 0;
  }
  
  .main-nav ul {
    flex-direction: column;
    gap: 1.5rem;
  }
  
  .main-nav a {
    font-size: 1.2rem;
    display: block;
  }
  
  body.menu-open {
    overflow: hidden;
  }
  
  body.menu-open::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 999;
  }
}
