/* Premium Variables */
:root {
    --bg-cream: #f4efe9;
    --bg-dark: #141312; 
    --bg-card-dark: #1f1d1b;
    --bg-white: #ffffff;
    
    --accent-gold: #C8A97E;
    --accent-gold-light: #e3cca6;
    
    --text-dark: #2a2723;
    --text-light: #f4efe9;
    --text-muted: #8c8882;
    
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Outfit', sans-serif;
    
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-body);
    background-color: var(--bg-cream);
    color: var(--text-dark);
    line-height: 1.7;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
}
.gold-text { color: var(--accent-gold); font-style: italic; font-weight: 400; }
.light-text { color: var(--text-light); }
.light-text-muted { color: var(--text-muted); }
.text-center { text-align: center; }
.mt-4 { margin-top: 2rem; }
.mb-4 { margin-bottom: 2rem; }

/* Utilities */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 5%;
}
.section { padding: 120px 0; }
.light-bg { background-color: var(--bg-cream); }
.dark-bg { background-color: var(--bg-dark); color: var(--text-light); }
.bg-grid {
    position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
    background-image: 
        linear-gradient(rgba(0,0,0,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,0,0,0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: -1; pointer-events: none;
}

/* Buttons */
.btn-primary {
    display: inline-block; padding: 14px 32px;
    background-color: var(--accent-gold); color: var(--bg-dark);
    font-family: var(--font-body); font-weight: 600; font-size: 15px;
    text-transform: uppercase; letter-spacing: 1px;
    text-decoration: none; border-radius: 4px;
    transition: var(--transition); border: 1px solid var(--accent-gold);
}
.btn-primary:hover { background-color: transparent; color: var(--accent-gold); }

.btn-secondary {
    display: inline-block; padding: 14px 32px;
    background-color: transparent; color: var(--text-light);
    font-family: var(--font-body); font-weight: 600; font-size: 15px;
    text-transform: uppercase; letter-spacing: 1px;
    text-decoration: none; border-radius: 4px;
    transition: var(--transition); border: 1px solid rgba(255,255,255,0.3);
}
.btn-secondary:hover { border-color: var(--accent-gold); color: var(--accent-gold); }

.btn-secondary.dark-btn {
    color: var(--text-dark);
    border-color: rgba(0,0,0,0.2);
}
.btn-secondary.dark-btn:hover {
    border-color: var(--accent-gold);
    color: var(--accent-gold);
}

/* Navigation */
.navbar {
    position: fixed; top: 0; width: 100%; z-index: 100;
    padding: 20px 0; transition: var(--transition);
    background: rgba(20, 19, 18, 0.8);
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.nav-container {
    max-width: 1400px; margin: 0 auto; padding: 0 5%;
    display: flex; justify-content: space-between; align-items: center;
}
.logo {
    font-family: var(--font-heading); font-size: 28px;
    font-weight: 700; color: var(--text-light);
}
.logo span { color: var(--accent-gold); }
.nav-links { display: flex; gap: 30px; align-items: center; }
.nav-links a {
    color: var(--text-light); text-decoration: none;
    font-size: 14px; font-weight: 500; transition: var(--transition);
}
.nav-links a:hover { color: var(--accent-gold); }
.nav-links .btn-primary { padding: 10px 24px; color: var(--bg-dark); }
.nav-links .btn-primary:hover { color: var(--accent-gold); }

/* Hero Section */
.hero {
    min-height: 100vh; background-color: var(--bg-dark);
    display: flex; align-items: center; position: relative;
    padding-top: 80px; overflow: hidden;
}
.hero.light-hero {
    background-color: var(--bg-cream);
}
.hero-container {
    max-width: 1400px; margin: 0 auto; padding: 0 5%;
    display: grid; grid-template-columns: 1.2fr 1fr;
    gap: 60px; align-items: center; width: 100%;
}
.badge {
    display: inline-block; padding: 6px 16px; margin-bottom: 24px;
    background: rgba(200, 169, 126, 0.1); border: 1px solid rgba(200, 169, 126, 0.3);
    color: var(--accent-gold); font-size: 13px; font-weight: 600;
    letter-spacing: 2px; text-transform: uppercase; border-radius: 30px;
}
.hero-content h1 {
    font-size: clamp(3.5rem, 5vw, 6rem); color: var(--text-light);
    margin-bottom: 24px; letter-spacing: -1px;
}
.hero-content h1.dark-heading { color: var(--bg-dark); }

.hero-desc {
    font-size: 18px; color: var(--text-muted); margin-bottom: 40px;
    max-width: 500px; font-weight: 300;
}
.hero-desc.dark-desc { color: #555; }
.hero-desc strong { color: var(--text-light); font-weight: 500; }
.hero-desc.dark-desc strong { color: var(--bg-dark); }

.hero-actions { display: flex; gap: 20px; margin-bottom: 60px; }
.hero-stats {
    display: flex; gap: 30px; align-items: center;
    border-top: 1px solid rgba(255,255,255,0.1); padding-top: 30px;
}
.light-hero .hero-stats {
    border-top: 1px solid rgba(0,0,0,0.1);
}

.stat-item { display: flex; flex-direction: column; }
.stat-icon { color: var(--accent-gold); font-size: 12px; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 5px; font-weight: 600;}
.stat-text { color: var(--text-light); font-family: var(--font-heading); font-size: 20px; font-style: italic; }
.stat-text.dark-stat { color: var(--bg-dark); }
.stat-divider { width: 1px; height: 40px; background-color: rgba(255,255,255,0.1); }
.stat-divider.dark-divider { background-color: rgba(0,0,0,0.1); }

.hero-image-wrapper { position: relative; }
.image-frame {
    position: relative; z-index: 2;
    border-radius: 12px; overflow: hidden;
    box-shadow: 0 30px 60px rgba(0,0,0,0.15); /* Softer shadow for light theme */
}
.image-frame::after {
    content: ''; position: absolute; inset: 0;
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: 12px; pointer-events: none;
}
.main-img { width: 100%; height: auto; display: block; object-fit: cover; }
.bg-shape {
    position: absolute; top: -30px; right: -30px; bottom: 30px; left: 30px;
    border: 1px solid var(--accent-gold); z-index: 1; border-radius: 12px;
}
.experience-badge {
    position: absolute; bottom: 30px; left: -30px;
    background: rgba(30, 30, 30, 0.8); backdrop-filter: blur(10px);
    padding: 20px 30px; border-radius: 8px; border: 1px solid rgba(255,255,255,0.1);
    display: flex; align-items: center; gap: 15px; color: var(--text-light);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5); font-size: 14px; font-weight: 500;
}
.experience-badge.light-badge {
    background: rgba(255, 255, 255, 0.9);
    color: var(--bg-dark);
    border: 1px solid rgba(0,0,0,0.05);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.experience-badge .ring {
    width: 12px; height: 12px; border: 3px solid var(--accent-gold); border-radius: 50%;
}

/* Sections Tags */
.section-tag {
    display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: 2px;
    text-transform: uppercase; color: var(--accent-gold); margin-bottom: 15px;
    position: relative; padding-left: 50px;
}
.section-tag::before {
    content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
    width: 30px; height: 2px; background-color: var(--accent-gold);
}
.section-tag.dark-mode::before { background-color: var(--accent-gold); }

/* About Section */
.about-wrapper {
    display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
}
.about-images { position: relative; height: 600px; }
.img-box { position: absolute; border-radius: 8px; overflow: hidden; box-shadow: 0 20px 40px rgba(0,0,0,0.1); }
.img-1 { width: 70%; top: 0; left: 0; z-index: 2; }
.img-2 { width: 60%; bottom: 0; right: 0; z-index: 1; }
.img-box img { width: 100%; display: block; }
.about-text-content h2 { font-size: 40px; margin-bottom: 24px; color: var(--bg-dark); }
.about-text-content p { font-size: 18px; color: #555; margin-bottom: 40px; }

.values-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.val-card {
    background: var(--bg-white); padding: 20px; border-radius: 8px;
    display: flex; align-items: center; gap: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.03); transition: var(--transition);
}
.val-card:hover { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(0,0,0,0.06); }
.icon-svg { width: 24px; height: 24px; color: var(--accent-gold); flex-shrink: 0; }
.val-card span { font-weight: 600; font-size: 15px; }

/* Services Section */
.services-grid {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; margin-top: 60px;
}
.service-card {
    background: var(--bg-card-dark); padding: 50px 40px;
    border-radius: 12px; position: relative; overflow: hidden;
    transition: var(--transition); border: 1px solid rgba(255,255,255,0.05);
}
.service-card:hover {
    transform: translateY(-10px); border-color: var(--accent-gold);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}
.card-number {
    position: absolute; top: 30px; right: 40px;
    font-family: var(--font-heading); font-size: 60px; font-style: italic;
    color: rgba(255,255,255,0.05); line-height: 1; transition: var(--transition);
}
.service-card:hover .card-number { color: rgba(200,169,126,0.15); }
.card-icon-svg { width: 40px; height: 40px; margin-bottom: 24px; color: var(--accent-gold); }
.service-card h3 { font-size: 24px; margin-bottom: 15px; color: var(--text-light); }
.service-card p { color: var(--text-muted); margin-bottom: 24px; font-size: 15px; }
.service-card ul { list-style: none; }
.service-card ul li {
    font-size: 14px; color: #ccc; margin-bottom: 10px;
    padding-left: 20px; position: relative;
}
.service-card ul li::before {
    content: "•"; color: var(--accent-gold);
    position: absolute; left: 0; font-weight: bold;
}

/* Process Section */
.process-wrapper {
    display: grid; grid-template-columns: 1fr 1.2fr; gap: 80px;
}
.process-text h2 { font-size: 40px; margin-bottom: 24px; }
.process-text p { font-size: 17px; color: #555; }
.diff-items { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; margin-top: 20px; }
.diff-item { font-size: 14px; font-weight: 500; }
.process-steps { display: flex; flex-direction: column; gap: 20px; }
.step-card {
    background: var(--bg-white); padding: 30px; border-radius: 8px;
    display: flex; align-items: flex-start; gap: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03); transition: var(--transition);
}
.step-card:hover { transform: translateX(10px); border-left: 3px solid var(--accent-gold); }
.step-num {
    font-family: var(--font-heading); font-size: 30px; font-style: italic;
    color: var(--accent-gold); min-width: 40px;
}
.step-card h4 { font-size: 18px; margin-bottom: 5px; }
.step-card p { font-size: 14px; color: #666; margin: 0; }

/* Testimonials */
.testimonials-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 50px;
}
.testimonial-card {
    background: var(--bg-white); padding: 40px; border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03); position: relative;
    transition: var(--transition); border: 1px solid rgba(0,0,0,0.03);
}
.testimonial-card:hover { transform: translateY(-10px); box-shadow: 0 20px 40px rgba(0,0,0,0.08); border-color: var(--accent-gold); }
.quote-icon {
    font-family: var(--font-heading); font-size: 80px; color: rgba(200,169,126,0.2);
    position: absolute; top: -10px; left: 30px; line-height: 1; font-style: italic;
}
.test-text {
    font-size: 16px; color: #555; font-style: italic; position: relative; z-index: 2;
    margin-top: 15px; margin-bottom: 30px; min-height: 100px;
}
.test-author h4 { font-size: 18px; margin-bottom: 5px; color: var(--bg-dark); }
.test-author span { font-size: 14px; color: var(--accent-gold); font-weight: 500; }

/* Bottom Grid (08, 09) */
.bottom-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.gallery.single-image { grid-template-columns: 1fr; }
.gallery-img { width: 100%; height: 250px; object-fit: cover; border-radius: 8px; }
.gallery.single-image .gallery-img { height: 350px; }
.edu-card {
    background: var(--bg-card-dark); padding: 40px; border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.05);
}
.edu-card h4 { font-size: 24px; margin-bottom: 5px; }
.divider-small { width: 40px; height: 1px; background: var(--accent-gold); margin: 20px 0; }
.check-list { list-style: none; margin-top: 15px; }
.check-list li { margin-bottom: 10px; color: var(--text-muted); font-size: 15px; }
.check-list li::before { content: "✓ "; color: var(--accent-gold); font-weight: bold; }

/* Contact Section */
.contact-section { background-color: var(--bg-white); }
.contact-box {
    background-color: var(--bg-cream); border-radius: 12px;
    display: grid; grid-template-columns: 1fr 1fr; overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.05);
}
.contact-info { padding: 60px; }
.contact-info h2 { font-size: 40px; margin-bottom: 15px; }
.contact-info p { color: #555; margin-bottom: 40px; font-size: 16px; }
.contact-methods { display: flex; flex-direction: column; gap: 20px; }
.contact-link {
    display: flex; align-items: center; gap: 20px; text-decoration: none;
    padding: 20px; background: var(--bg-white); border-radius: 8px;
    transition: var(--transition); border: 1px solid transparent;
}
.contact-link:hover { border-color: var(--accent-gold); transform: translateY(-3px); }
.c-icon-svg { width: 24px; height: 24px; color: var(--accent-gold); flex-shrink: 0; }
.contact-link span { display: block; font-size: 12px; color: #888; text-transform: uppercase; letter-spacing: 1px; font-weight: 600; }
.contact-link strong { color: var(--text-dark); font-size: 16px; font-weight: 500; }

.contact-quote {
    background: var(--bg-dark); color: var(--accent-gold);
    padding: 60px; display: flex; flex-direction: column; justify-content: center;
}
.contact-quote blockquote {
    font-family: var(--font-heading); font-size: 28px; font-style: italic; line-height: 1.4;
}
.author { margin-top: 30px; font-weight: 500; font-size: 16px; color: var(--text-light); }

/* Footer */
.footer { background: #000; padding: 30px 0; text-align: center; color: #666; font-size: 14px; }

/* Animations */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.active { opacity: 1; transform: translateY(0); }

.fade-up { opacity: 0; transform: translateY(20px); animation: fadeUpAnim 0.8s forwards; }
.fade-in { opacity: 0; animation: fadeInAnim 1s forwards; }
.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }
.delay-4 { animation-delay: 0.8s; }

@keyframes fadeUpAnim { to { opacity: 1; transform: translateY(0); } }
@keyframes fadeInAnim { to { opacity: 1; } }

/* Responsive */
@media (max-width: 1024px) {
    .hero-container { grid-template-columns: 1fr; text-align: center; margin-top: 40px; }
    .hero-actions { justify-content: center; }
    .hero-stats { justify-content: center; }
    .bg-shape { display: none; }
    .about-wrapper, .process-wrapper, .bottom-grid, .contact-box { grid-template-columns: 1fr; gap: 40px; }
    .about-images { height: 400px; margin-bottom: 30px; }
    .nav-links { display: none; }
    
    /* Remove os espaçadores invisíveis no celular, pois as colunas ficam empilhadas */
    .records-area span[style*="visibility: hidden"],
    .records-area h3[style*="visibility: hidden"] {
        display: none !important;
    }
}

@media (max-width: 768px) {
    .section { padding: 60px 0; }
    .hero-content h1 { font-size: 2.8rem; }
    .hero-desc { font-size: 16px; margin-left: auto; margin-right: auto; }
    
    .hero-stats { flex-direction: column; gap: 15px; border-top: none; padding-top: 10px; }
    .stat-divider { display: none; }
    
    .services-grid, .testimonials-grid { grid-template-columns: 1fr; margin-top: 30px; }
    .diff-items { grid-template-columns: 1fr; }
    .values-grid { grid-template-columns: 1fr; }
    
    .about-images { height: 120vw; min-height: 400px; margin-bottom: 60px; }
    .img-1 { width: 65%; }
    .img-2 { width: 60%; }
    .experience-badge { bottom: 10px; left: 10px; padding: 10px 15px; font-size: 12px; }
    .gallery.single-image .gallery-img { height: 250px; }
    
    .contact-info, .contact-quote { padding: 30px 20px; }
    .contact-info h2 { font-size: 30px; }
    .contact-link { padding: 15px; flex-direction: column; text-align: center; gap: 10px;}
    
    .hero-actions { flex-direction: column; gap: 10px; width: 100%; max-width: 300px; margin: 0 auto 40px auto; }
    .btn-primary, .btn-secondary { width: 100%; text-align: center; }
}
