/* =========================================
   VARIÁVEIS DE MARCA (PALETA OFICIAL) E RESET
   ========================================= */
:root {
    /* Paleta Oficial Exclusiva */
    --primary-color: #A66734;    
    --secondary-color: #863B36;  
    --neutral-color: #E2DCD6;    
    
    /* Apoio de UI */
    --bg-white: #FFFFFF;
    --bg-light: #FAFAFA;
    --text-main: #4A4A4A;        
    --text-dark: #2C2C2C;        
    --border-color: #EAEAEA;
    
    --font-sans: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --shadow-sm: 0 4px 12px rgba(134, 59, 54, 0.05); 
    --shadow-md: 0 12px 40px rgba(134, 59, 54, 0.08);
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font-sans); color: var(--text-main); background-color: var(--bg-white); line-height: 1.7; -webkit-font-smoothing: antialiased; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
h1, h2, h3, h4 { color: var(--text-dark); font-weight: 600; line-height: 1.3; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 120px 0; } 
.bg-light { background-color: var(--bg-light); }
.bg-secondary { background-color: var(--secondary-color); }
.text-center { text-align: center; }

/* =========================================
   BOTÕES
   ========================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    border-radius: 6px; 
    font-weight: 500;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary { background-color: var(--primary-color); color: var(--bg-white); }
.btn-primary:hover { background-color: var(--secondary-color); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-sm { padding: 12px 24px; font-size: 0.9rem; }

/* =========================================
   HEADER & NAVEGAÇÃO
   ========================================= */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: var(--transition);
}

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

.logo a { display: flex; align-items: center; }
.logo img { max-height: 65px; width: auto; object-fit: contain; transition: transform 0.3s ease; }
.logo img:hover { transform: scale(1.02); }

.nav-list { display: flex; gap: 40px; }
.nav-list a { font-size: 0.95rem; font-weight: 500; color: var(--text-main); transition: color 0.2s; }
.nav-list a:hover { color: var(--primary-color); }

/* =========================================
   HERO SECTION
   ========================================= */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background-color: var(--neutral-color); /* Fica como plano B enquanto a imagem carrega */
    background-image: url('../images/FUNDO PARA TRABALHOS.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(44, 44, 44, 0.9) 0%, rgba(44, 44, 44, 0.4) 100%);
    z-index: 1;
}

.hero-content { position: relative; z-index: 2; max-width: 850px; }
.hero-badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(166, 103, 52, 0.15); 
    color: #F8D9C0;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 32px;
    backdrop-filter: blur(4px);
}

.hero h1 { font-size: 3.5rem; color: var(--bg-white); margin-bottom: 24px; font-weight: 600; letter-spacing: -0.01em; }
.hero p { font-size: 1.25rem; color: #F0F0F0; margin-bottom: 48px; max-width: 700px; font-weight: 300; }
.hero-highlight { font-weight: 500; margin-top: -20px; margin-bottom: 40px; color: #fff; }

/* =========================================
   TEXTOS INSTITUCIONAIS
   ========================================= */
.quote-text { font-size: 1.8rem; font-weight: 400; color: var(--primary-color); }
.quote-text-large { font-size: 2rem; font-weight: 500; color: #E2DCD6; }
.quote-text-dark { font-size: 1.8rem; font-weight: 400; color: var(--text-dark); }
.section-subtitle { max-width: 800px; margin: 0 auto; }

/* =========================================
   SEÇÕES GERAIS E CARDS DE SERVIÇOS
   ========================================= */
.section-header { margin-bottom: 70px; }
.section-header h2 { font-size: 2.5rem; margin-bottom: 16px; }

.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about-text h2 { font-size: 2.5rem; margin-bottom: 24px; color: var(--secondary-color); }
.about-text p { margin-bottom: 24px; font-size: 1.1rem; }

.image-placeholder {
    border-radius: 16px; 
    overflow: hidden; 
    box-shadow: var(--shadow-md);
    background-color: #D3CCC5; 
    width: 100%; 
    height: 400px; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    color: var(--text-main);
    font-weight: 500;
}

.process-cards {
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); 
    gap: 24px; 
    margin-bottom: 40px;
}
.process-cards .card {
    background: var(--bg-white);
    padding: 32px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}
.process-cards .card h4 { color: var(--primary-color); margin-bottom: 12px; }

.legal-partnership { background: white; padding: 32px; border-radius: 12px; border: 1px solid var(--border-color); }
.legal-partnership p { margin: 0; }

.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 32px; }
.service-card {
    background: var(--bg-white);
    padding: 48px 40px;
    border-radius: 8px; 
    border: 1px solid var(--neutral-color);
    transition: var(--transition);
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); border-color: var(--primary-color); }
.service-card h3 { margin-bottom: 16px; font-size: 1.3rem; color: var(--text-dark); }
.service-desc { margin-bottom: 24px; font-size: 1rem; color: var(--text-main); }
.service-benefit { font-size: 0.95rem; color: var(--secondary-color); padding-top: 24px; border-top: 1px solid var(--neutral-color); }
.service-benefit strong { display: block; margin-bottom: 4px; color: var(--primary-color); }

/* =========================================
   FOOTER
   ========================================= */
.footer { background-color: var(--neutral-color); padding: 80px 0 40px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1.5fr 1.5fr 1fr; gap: 40px; }
.footer-col h4 { margin-bottom: 24px; font-size: 1.1rem; }

.brand-col p { margin-top: 24px; font-size: 0.95rem; }
.footer-logo img { max-height: 90px; width: auto; object-fit: contain; }

.contact-list li { margin-bottom: 12px; }
.contact-list a { transition: color 0.2s; }
.contact-list a:hover { color: var(--primary-color); }

.map-link { display: inline-block; margin-top: 12px; font-size: 0.9rem; font-weight: 600; color: var(--primary-color); }
.map-link:hover { color: var(--secondary-color); }

.social-link { font-weight: 500; transition: color 0.2s; }
.social-link:hover { color: var(--primary-color); }

/* =========================================
   ANIMAÇÕES & RESPONSIVIDADE
   ========================================= */
.fade-up { opacity: 0; transform: translateY(20px); transition: var(--transition); }
.fade-up.visible { opacity: 1; transform: translateY(0); }
.fade-in { opacity: 0; transition: var(--transition); }
.fade-in.visible { opacity: 1; }
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

@media (max-width: 992px) {
    .about-grid { grid-template-columns: 1fr; gap: 40px; }
    .hero h1 { font-size: 2.8rem; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 768px) {
    .nav { display: none; }
    .hero { text-align: center; }
    .logo img { max-height: 50px; } 
    .footer-grid { grid-template-columns: 1fr; }
    .process-cards { grid-template-columns: 1fr; }
}