/* Variables & Reset */
:root {
    --primary-color: #0C3615;
    /* Verde Nobre */
    --accent-color: #C5A059;
    /* Gold/Beige */
    --bg-color: #FFF8E7;
    /* Cream Background */
    --text-color: #ffffff;
    --light-text: #FFFFFF;
    --card-bg: #FFFFFF;
    --font-heading: 'Cinzel', serif;
    --font-body: 'Raleway', sans-serif;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: #F9F9F9;
    color: var(--text-color);
    line-height: 1.6;
    min-height: 100vh;
    display: block;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Utility Classes */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 80px 0;
}

.text-center {
    text-align: center;
}

.btn {
    display: inline-block;
    padding: 14px 35px;
    background-color: var(--accent-color);
    /* Botão Dourado para contraste no verde */
    color: #000;
    /* Texto escuro para leitura */
    font-family: var(--font-body);
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 4px;
    cursor: pointer;
    letter-spacing: 1px;
    font-size: 0.9rem;
    margin-top: 20px;
}

.btn:hover {
    background-color: #d4b06a;
    transform: translateY(-2px);
}

/* Header */
header {
    background-color: var(--primary-color);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid var(--accent-color);
    width: 100%;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    max-height: 60px;
    width: auto;
    /* Fallback Styling */
    font-family: 'Cinzel', serif;
    font-size: 2.2rem;
    color: #FFF4D7;
    font-weight: 700;
    letter-spacing: 2px;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #FFF4D7;
    position: relative;
}

.nav-links a:hover {
    color: var(--accent-color);
}

.hamburger {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
}

.hero {
    width: 100%;
    background-color: var(--primary-color);
    background-image: linear-gradient(rgba(12, 54, 21, 0.85), rgba(12, 54, 21, 0.85)), url('hero_bg.png');
    background-size: cover;
    background-position: center;
    /* Fundo Verde Obrigatório */
    padding: 120px 20px 180px;
    /* Padding extra embaixo para o card flutuante */
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero h1 {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #E0E0E0;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.super-content h2 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.super-content p {
    font-size: 1rem;
    color: #555;
}

/* Areas of Practice */
.areas {
    background-color: #fff;
}

.areas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.area-card {
    padding: 40px 30px;
    background-color: #F9F9F9;
    border: 1px solid #eee;
    transition: var(--transition);
    text-align: center;
    border-radius: 4px;
}

.area-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.area-icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 20px;
}

.area-icon svg {
    width: 100%;
    height: 100%;
    fill: var(--accent-color);
}

.area-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

/* About Section */
.about {
    border: 1px solid var(--accent-color);
    box-shadow: 10px 10px 0px var(--primary-color);
}

.about-text h2 {
    font-size: 2.5rem;
}

.about-text p {
    color: #333;
    margin-bottom: 1rem;
    line-height: 1.8;
}

/* Blog Section */
.blog {
    background-color: #F4F4F4;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.blog-card {
    background-color: #fff;
    padding: 30px;
    border: 1px solid #eee;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.blog-date {
    font-size: 0.8rem;
    color: var(--accent-color);
    font-weight: 700;
    display: block;
    margin-bottom: 10px;
}

.read-more {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 0.85rem;
    margin-top: 15px;
    display: inline-block;
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: #FFF4D7;
    padding: 60px 0 20px;
    border-top: 4px solid var(--accent-color);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    color: var(--accent-color);
    font-size: 1.1rem;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(197, 160, 89, 0.3);
    padding-bottom: 10px;
    display: inline-block;
}

.contact-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    font-size: 0.9rem;
    line-height: 1.4;
}

.map-container {
    width: 100%;
    height: 200px;
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid var(--accent-color);
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.8rem;
    opacity: 0.8;
}

/* WhatsApp Widget */
.whatsapp-widget {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 9999;
}

.whatsapp-btn {
    width: 60px;
    height: 60px;
    background-color: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
}

.whatsapp-btn svg {
    width: 35px;
    height: 35px;
    fill: white;
}

/* Mobile */
/* Correção da Seção Sobre (User Provided) */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image .profile-photo {
    width: 100%;
    max-width: 450px;
    height: auto;
    border-radius: 4px;
    box-shadow: 15px 15px 0px #0C3615;
    border: 1px solid #C5A059;
}

.about-text h4 {
    color: #C5A059;
    font-family: 'Cinzel', serif;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

/* Estilo das Avaliações (Google Style - User Provided) */
.reviews {
    background-color: #F9F9F9;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.review-card {
    background: #FFFFFF;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #eee;
    transition: transform 0.3s ease;
}

.review-card:hover {
    transform: translateY(-5px);
    border-color: #C5A059;
}

.review-card .stars {
    color: #FFD700;
    font-size: 1.2rem;
    margin-bottom: 15px;
    letter-spacing: 2px;
}

.review-card .review-text {
    font-style: italic;
    color: #555;
    font-size: 0.95rem;
    margin-bottom: 20px;
    line-height: 1.6;
}

.review-card .client-name {
    color: #0C3615;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
}

/* Modal Styles */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 10000;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    display: flex;
    opacity: 1;
}

.modal-content {
    background-color: #FFF;
    padding: 40px;
    border-radius: 8px;
    max-width: 500px;
    width: 90%;
    position: relative;
    border: 1px solid #C5A059;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.close-modal {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 28px;
    font-weight: bold;
    color: #0C3615;
    cursor: pointer;
}

.close-modal:hover {
    color: #C5A059;
}

/* Mobile Media Query */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hamburger {
        display: block;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero {
        padding: 100px 20px 120px;
    }

    .superendividamento {
        flex-direction: column;
        text-align: center;
        margin-top: 20px;
    }

    /* User Provided Mobile Overrides */
    .about-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .about-image {
        order: -1;
        margin-bottom: 30px;
    }

    .about-image .profile-photo {
        max-width: 100%;
        box-shadow: 10px 10px 0px #0C3615;
    }
}