/* --- ESTRUTURA ---
1. GERAL E VARIÁVEIS
2. COMPONENTES (BOTÕES, CONTAINER)
3. CABEÇALHO E NAVEGAÇÃO
4. SEÇÃO HERO
5. SEÇÕES DE CONTEÚDO
6. SEÇÃO ATIVOS
7. SEÇÃO DIREITOS
8. SEÇÃO SERVIÇOS
9. SEÇÃO EQUIPE
10. SEÇÃO CONTATO
11. RODAPÉ
12. RESPONSIVIDADE
*/

/* 1. GERAL E VARIÁVEIS */
:root {
    --primary-color: #927050;
    --secondary-color: #2c2c2c;
    --accent-color: #25D366;
    --text-color: #333;
    --text-light: #666;
    --bg-color: #f4f1ec;
    --white-color: #ffffff;
    --header-height: 70px;
    --border-radius: 8px;
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white-color);
}

/* 2. COMPONENTES */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.cta-button {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--white-color);
    padding: 14px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: background-color 0.3s ease, transform 0.2s ease;
    border: none;
    cursor: pointer;
}

.cta-button:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
}

/* 3. CABEÇALHO E NAVEGAÇÃO */
.header {
    background-color: var(--white-color);
    border-bottom: 1px solid #e0e0e0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    height: var(--header-height);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.header.scrolled {
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.nav-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.nav-logo-img {
    height: 35px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1.5rem;
}

.nav-link {
    text-decoration: none;
    color: var(--secondary-color);
    font-weight: 600;
    transition: color 0.3s ease;
    padding: 5px 0;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    cursor: pointer;
    background: none;
    border: none;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--primary-color);
    transition: all 0.3s ease-in-out;
}

/* 4. SEÇÃO HERO */
.hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('https://imgur.com/oF5cThq.jpeg') no-repeat center center/cover;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white-color);
    text-align: center;
    padding: 80px 20px;
}

.hero-content {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 100%;
}

.hero-title {
    display: flex;
    align-items: center;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-icon {
    height: 150px;
    width: auto;
    flex-shrink: 0;
}

.hero-heading {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-heading h1 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin: 0;
    line-height: 1.1;
    text-align: center;
}

.hero-subtitle {
    font-family: 'Raleway', sans-serif;
    font-weight: 300;
    font-size: clamp(0.9rem, 1.8vw, 1.1rem);
    letter-spacing: 5px;
    text-transform: uppercase;
    margin-top: 5px;
    padding-bottom: 5px;
    border-bottom: 1px solid var(--white-color);
    white-space: nowrap;
    max-width: fit-content;
}

/* 5. SEÇÕES DE CONTEÚDO */
.content-section {
    padding: 2.0rem 0;
}

.bg-light {
    background-color: var(--bg-color);
}

.content-section h2 {
    font-family: 'Raleway', sans-serif;
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto 0.5rem auto;
}

/* 6. SEÇÃO ATIVOS */
.ativos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.ativo-card {
    background: var(--white-color);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
    border-top: 4px solid var(--primary-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ativo-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.ativo-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* 7. SEÇÃO DIREITOS */
.direitos-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.direito-card {
    background: var(--bg-color);
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.direito-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.direito-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.direito-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* 8. SEÇÃO SERVIÇOS */
.service-category-title {
    font-family: 'Raleway', sans-serif;
    font-size: 1.75rem;
    text-align: center;
    margin-top: 4rem;
    margin-bottom: 2rem;
    color: var(--primary-color);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.service-card {
    background: var(--bg-color);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    border-left: 4px solid var(--primary-color);
}

.service-card h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.service-card.new-design {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2rem 1.5rem;
    background: var(--white-color);
    border: none;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card.new-design:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-icon {
    width: 60px;
    height: 60px;
}

.service-card.new-design h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.service-card.new-design p {
    font-size: 0.95rem;
    color: var(--text-light);
}

.new-grid-style {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

/* 9. SEÇÃO EQUIPE */
.team-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 3rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.team-member {
    background: var(--white-color);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-member:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.team-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--primary-color);
}

.team-info h4 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.team-info ul {
    list-style: none;
    padding-left: 0;
    text-align: left;
}

.team-info li {
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.team-info li::before {
    content: '✓';
    color: var(--primary-color);
    font-weight: 700;
    position: absolute;
    left: 0;
}

/* 10. SEÇÃO CONTATO */
.contact-container {
    text-align: center;
}

.contact-info p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.contact-info strong {
    color: var(--primary-color);
}

.contact-links {
    margin: 2rem 0;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.contact-icon-link {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    color: var(--white-color);
    border-radius: 50%;
    font-size: 1.75rem;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.contact-icon-link:hover {
    background-color: var(--secondary-color);
    transform: scale(1.1);
}

.whatsapp-button {
    background-color: var(--accent-color);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 50px;
}

.whatsapp-button:hover {
    background-color: #1DA851;
}

/* 11. RODAPÉ */
.footer {
    background-color: var(--secondary-color);
    color: var(--white-color);
    text-align: center;
    padding: 3rem 1.5rem;
}

.footer p {
    margin: 0.5rem 0;
    opacity: 0.8;
}

.footer p:first-child {
    font-family: 'Raleway', sans-serif;
    font-style: italic;
    font-weight: 600;
    font-size: 1.2rem;
    opacity: 1;
}

.footer-credit {
    font-size: 0.9rem;
    opacity: 0.6;
}

/* 12. RESPONSIVIDADE */
@media (min-width: 992px) {
    .new-grid-style {
        grid-template-columns: repeat(5, 1fr);
    }
}

@media (min-width: 768px) {
    .team-member {
        flex-direction: row;
        text-align: left;
    }
}

@media (max-width: 767px) {
    .hero-icon {
        height: 70px;
    }
    
    .hero-subtitle {
        max-width: 80%;
        white-space: normal;
    }
    
    .direitos-grid {
        grid-template-columns: 1fr;
    }
    
    .service-card.new-design {
        padding: 1.5rem 1rem;
    }

    .service-icon {
        width: 50px;
        height: 50px;
    }

    .new-grid-style {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: var(--header-height);
        flex-direction: column;
        justify-content: center;
        background-color: var(--white-color);
        width: 100%;
        height: calc(100vh - var(--header-height));
        text-align: center;
        transition: left 0.3s ease-in-out;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        gap: 2rem;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-link {
        font-size: 1.5rem;
    }
    
    .hamburger {
        display: block;
        z-index: 1001;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
}