/* ==========================================================================
   CSS VARIABLES & DESIGN TOKENS
   ========================================================================== */
   :root {
    /* Color Palette - Premium & Elegant */
    --clr-dark: #12100E;
    --clr-dark-light: #201D1A;
    --clr-light: #FAF7F2;
    --clr-cream: #E8E2DA;
    --clr-gold: #C8A97E;
    --clr-gold-light: #DFCAAB;
    --clr-gold-dark: #A5855A;
    --clr-white: #FFFFFF;
    
    --text-main: #332F2A;
    --text-light: #70685F;
    --text-on-dark: #EAE6DF;
    
    --whatsapp: #25D366;
    --whatsapp-hover: #1EBE5D;

    /* Typography */
    --font-heading: 'Cinzel', serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing & Layout */
    --container-max: 1200px;
    --section-pad: 5rem 1.5rem;
    
    /* Transitions & Shadows */
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.08);
    --shadow-gold: 0 10px 25px rgba(200, 169, 126, 0.25);
}

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: hidden;
    width: 100%;
}

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

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

ul {
    list-style: none;
}

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

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

/* Typography Utilities */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
}

.section-title {
    font-size: 2.5rem;
    color: var(--clr-dark);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title span {
    color: var(--clr-gold);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    margin-bottom: 3rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.8rem;
    border-radius: 2px;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid transparent;
    text-transform: uppercase;
}

.btn i {
    margin-right: 8px;
    font-size: 1.1rem;
}

.btn-primary {
    background-color: var(--clr-gold);
    color: var(--clr-white);
    box-shadow: var(--shadow-gold);
}

.btn-primary:hover {
    background-color: var(--clr-gold-dark);
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(200, 169, 126, 0.35);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--clr-white);
    color: var(--clr-white);
}

.btn-outline:hover {
    background-color: var(--clr-white);
    color: var(--clr-dark);
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1rem;
}

.mt-4 {
    margin-top: 2rem;
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 0;
    z-index: 1000;
    transition: var(--transition);
    background-color: transparent;
}

.navbar.scrolled {
    background-color: rgba(18, 16, 14, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

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

.logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--clr-gold);
}

.logo-main {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    line-height: 1;
}

.logo-sub {
    font-size: 0.6rem;
    letter-spacing: 3px;
    color: var(--clr-white);
    text-transform: uppercase;
    margin-top: 2px;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    color: var(--clr-white);
    font-size: 0.9rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--clr-gold);
    transition: var(--transition);
}

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

.nav-links a:hover {
    color: var(--clr-gold);
}

.hamburger {
    display: none;
    color: var(--clr-white);
    font-size: 1.5rem;
    cursor: pointer;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background-image: url('assets/images/hero_bg.png'); /* Dynamic background */
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--clr-white);
    padding-top: 5rem; /* Account for navbar */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(18, 16, 14, 0.9) 0%, rgba(18, 16, 14, 0.6) 50%, rgba(18, 16, 14, 0.3) 100%);
    z-index: 1;
}

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

.hero-subtitle {
    color: var(--clr-gold);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 1rem;
    font-weight: 500;
}

.hero-title {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.hero-title span {
    color: var(--clr-gold);
    font-style: italic;
}

.hero-text {
    font-size: 1.1rem;
    color: var(--text-on-dark);
    max-width: 600px;
    margin-bottom: 2.5rem;
    font-weight: 300;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.hero-stats {
    display: flex;
    gap: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--clr-cream);
    font-size: 0.95rem;
}

.stat-item i {
    color: var(--clr-gold);
    font-size: 1.2rem;
}

/* ==========================================================================
   ÁREAS DE ATUAÇÃO
   ========================================================================== */
.areas {
    padding: var(--section-pad);
    background-color: var(--clr-light);
    position: relative;
    overflow: hidden;
}

/* Decorative element */
.areas::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--clr-gold-light) 0%, transparent 70%);
    opacity: 0.1;
    border-radius: 50%;
    transform: translate(30%, -30%);
}

.areas .section-header {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.areas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.area-card {
    background-color: var(--clr-white);
    padding: 2.5rem 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
    border: 1px solid rgba(200, 169, 126, 0.1);
}

.area-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background-color: var(--clr-gold);
    transition: var(--transition);
    z-index: -1;
}

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

.area-card:hover::before {
    height: 100%;
}

.area-icon {
    width: 60px;
    height: 60px;
    background-color: var(--clr-cream);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--clr-gold-dark);
    font-size: 1.5rem;
    transition: var(--transition);
}

.area-card:hover .area-icon {
    background-color: var(--clr-gold);
    color: var(--clr-white);
}

.area-title {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--clr-dark);
}

.area-desc {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ==========================================================================
   SOBRE NÓS
   ========================================================================== */
.about {
    padding: var(--section-pad);
    background-color: var(--clr-white);
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.tagline {
    color: var(--clr-gold);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}

.about-text {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.about-features {
    margin-top: 2rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-weight: 500;
    color: var(--clr-dark);
}

.feature-item i {
    color: var(--clr-gold);
    font-size: 1.2rem;
}

.about-image-wrapper {
    position: relative;
}

.about-image-frame {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    aspect-ratio: 4/5;
    background-color: var(--clr-dark);
}

.image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--clr-dark-light), var(--clr-dark));
}

.logo-main.large {
    font-size: 6rem;
    color: rgba(200, 169, 126, 0.1);
}

.about-image-frame::after {
    content: '';
    position: absolute;
    inset: 0;
    border: 1px solid rgba(200, 169, 126, 0.3);
    margin: 1.5rem;
    pointer-events: none;
}

.experience-badge {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background-color: var(--clr-gold);
    color: var(--clr-white);
    padding: 1.5rem;
    border-radius: 4px;
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.experience-badge .number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
}

.experience-badge .text {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 5px;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
footer {
    background-color: var(--clr-dark);
    color: var(--clr-white);
    padding-top: 5rem;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-desc {
    color: var(--text-on-dark);
    margin: 1.5rem 0;
    font-size: 0.95rem;
    max-width: 350px;
    opacity: 0.8;
}

.social-links {
    display: flex;
    gap: 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: var(--transition);
    color: var(--clr-white);
}

.social-icon:hover {
    background-color: var(--clr-gold);
    transform: translateY(-3px);
}

.footer-title {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: var(--clr-white);
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--clr-gold);
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-links a {
    color: var(--text-on-dark);
    opacity: 0.8;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--clr-gold);
    opacity: 1;
    padding-left: 5px;
}

.contact-list {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    color: var(--text-on-dark);
    opacity: 0.8;
}

.contact-list i {
    color: var(--clr-gold);
    margin-top: 4px;
}

.contact-list a:hover {
    color: var(--clr-gold);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1.5rem 0;
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-on-dark);
    opacity: 0.6;
}

/* ==========================================================================
   FLOATING WHATSAPP
   ========================================================================== */
.floating-wa {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: var(--whatsapp);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 100;
    transition: var(--transition);
    animation: pulse 2s infinite;
}

.floating-wa:hover {
    background-color: var(--whatsapp-hover);
    transform: scale(1.1);
}

.floating-tooltip {
    position: absolute;
    right: 75px;
    background-color: white;
    color: var(--clr-dark);
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.floating-wa:hover .floating-tooltip {
    opacity: 1;
    visibility: visible;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* ==========================================================================
   ANIMATIONS UTILS
   ========================================================================== */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* ==========================================================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================================================== */
@media (max-width: 992px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .about-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .about-image-wrapper {
        margin: 0 auto;
        max-width: 500px;
        order: -1;
    }
    
    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background-color: var(--clr-dark);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.4s cubic-bezier(0.77, 0.2, 0.05, 1);
        box-shadow: -10px 0 30px rgba(0,0,0,0.5);
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .hamburger {
        display: block;
        z-index: 1001;
    }
    
    .nav-btn {
        display: none;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-actions {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .btn {
        width: 100%;
    }
    
    .floating-wa {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
}
