/* --- VARIÁVEIS & RESET --- */
:root {
    --primary-color: #0a192f;
    --accent-color: #c5a059;
    --accent-hover: #b08d4b;
    --text-light: #f4f4f4;
    --text-dark: #333333;
    --bg-light: #ffffff;
    --bg-off-white: #f9f9f9;
    --font-title: 'Playfair Display', serif;
    --font-body: 'Lato', 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);
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--bg-light);
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-title);
    color: var(--primary-color);
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* --- UTILITÁRIOS --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 80px 0;
}

.text-center {
    text-align: center;
}

.text-light {
    color: var(--text-light) !important;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--accent-color);
    margin: 10px auto 0;
}

.section-desc {
    max-width: 600px;
    margin: 0 auto;
    color: #666;
}

.subtitle {
    color: var(--accent-color);
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 2px;
}

/* Botões */
.btn {
    display: inline-block;
    padding: 12px 30px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-size: 0.9rem;
    white-space: nowrap;
    /* Impede o texto do botão de quebrar linha */
}

.btn-gold {
    background-color: var(--accent-color);
    color: var(--primary-color);
}

.btn-gold:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(197, 160, 89, 0.3);
}

/* --- HEADER --- */
header {
    background-color: var(--primary-color);
    color: var(--text-light);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    flex-wrap: nowrap;
    /* Garante que o menu nunca quebre para baixo */
}

.logo {
    font-family: var(--font-title);
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--text-light);
    z-index: 1001;
    flex-shrink: 0;
    /* Impede o logo de encolher */
    margin-right: 20px;
}

.logo span {
    color: var(--accent-color);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 30px;
    /* Espaço padrão */
    width: 100%;
    justify-content: flex-end;
    /* Empurra itens para direita */
}

.nav-link {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-light);
    transition: var(--transition);
    white-space: nowrap;
    /* Impede links como "Áreas de Atuação" de quebrar */
}

.nav-link:hover {
    color: var(--accent-color);
}

/* Hambúrguer */
.hamburger {
    display: none;
    cursor: pointer;
    color: var(--text-light);
    font-size: 1.5rem;
    z-index: 1001;
}

/* --- HERO SECTION --- */
#hero {
    height: 100vh;
    background: linear-gradient(rgba(10, 25, 47, 0.85), rgba(10, 25, 47, 0.7)), url('https://images.unsplash.com/photo-1459499362902-55a20553e082?q=80&w=1469&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    text-align: center;
    margin-top: 0;
}

.hero-content {
    color: var(--text-light);
    max-width: 800px;
    margin: 0 auto;
}

.hero-content h1 {
    font-size: 3.5rem;
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #dcdcdc;
}

/* --- SEÇÕES GERAIS --- */
#sobre {
    background-color: var(--bg-light);
}

#servicos {
    background-color: var(--bg-off-white);
}

#depoimentos {
    background-color: var(--primary-color);
    color: var(--text-light);
}

#faq {
    background-color: var(--bg-light);
}

#contato {
    background-color: var(--bg-off-white);
}

/* GRID SYSTEMS */
.sobre-grid,
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    margin-top: 40px; /* <--- Aumente este valor aqui (estava 40px) */
}

.services-grid,
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

/* Componentes Visuais */
.sobre-img img {
    border-radius: 5px;
    box-shadow: 20px 20px 0px var(--primary-color);
}

.sobre-text h2 {
    font-size: 2.2rem;
}

.sobre-text p {
    margin-bottom: 20px;
    color: #555;
}

.link-arrow {
    color: var(--primary-color);
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: var(--transition);
}

.link-arrow:hover {
    color: var(--accent-color);
    gap: 10px;
}

.service-card {
    background: var(--bg-light);
    padding: 40px 30px;
    border-top: 3px solid var(--accent-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.service-card p {
    font-size: 0.95rem;
    color: #666;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 40px;
    border-radius: 5px;
    position: relative;
}

.quote-icon {
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 3rem;
    color: rgba(197, 160, 89, 0.2);
    font-family: serif;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.client-name {
    font-weight: 700;
    color: var(--accent-color);
    font-family: var(--font-title);
}

/* FAQ Styles */
.faq-container {
    max-width: 800px;
    margin: 50px auto 0;
}

.faq-item {
    border-bottom: 1px solid #ddd;
    margin-bottom: 10px;
}

.faq-question {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 20px 0;
    font-size: 1.2rem;
    font-family: var(--font-title);
    color: var(--primary-color);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question i {
    color: var(--accent-color);
    transition: var(--transition);
}

.faq-question.active i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    color: #555;
}

.faq-answer p {
    padding-bottom: 20px;
}

/* Contato Styles */




.contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.info-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.info-item i {
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: var(--accent-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 15px;
}

.form-group {
    margin-bottom: 20px;
}

.form-control {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 1rem;
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 5px rgba(197, 160, 89, 0.2);
}

textarea.form-control {
    resize: vertical;
    height: 150px;
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: #8892b0;
    padding: 60px 0 20px;
    text-align: center;
}

.footer-logo {
    font-family: var(--font-title);
    color: var(--text-light);
    font-size: 1.5rem;
    margin-bottom: 20px;
    display: block;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

.footer-links a:hover {
    color: var(--accent-color);
}

.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    font-size: 0.9rem;
}

/* --- RESPONSIVIDADE AVANÇADA --- */

/* 1. AJUSTE FINO PARA NOTEBOOKS (1024px até 1280px)
   Isso resolve o problema de "tudo grande demais" em telas médias */
@media (min-width: 1025px) and (max-width: 1280px) {
    .container {
        max-width: 100%;
        padding: 0 15px;
    }

    /* Usa mais largura */
    .logo {
        font-size: 1.5rem;
        margin-right: 10px;
    }

    .nav-menu {
        gap: 15px;
    }

    /* Diminui espaço entre links */
    .nav-link {
        font-size: 0.9rem;
    }

    /* Diminui fonte levemente */
    .btn {
        padding: 10px 15px;
        font-size: 0.8rem;
    }

    /* Botão mais compacto */
}

/* 2. TABLET E MOBILE (Abaixo de 1024px - iPad Landscape)
   Aqui entra o Menu Hambúrguer */
@media (max-width: 1024px) {
    .hamburger {
        display: block;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background-color: var(--primary-color);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 30px 0;
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.2);
        gap: 20px;
        justify-content: flex-start;
        height: calc(100vh - 80px);
        /* Ocupa altura total */
        overflow-y: auto;
        /* Permite rolar se o menu for muito alto */
    }

    .nav-menu.active {
        left: 0;
    }

    /* Layout Responsivo Geral */
    .hero-content h1 {
        font-size: 2.8rem;
    }

    .sobre-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .sobre-img {
        order: -1;
        margin: 0 auto;
    }
}

/* 3. MOBILE PEQUENO (Celulares) */
@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 2.2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    /* Botão full width no mobile */
    .footer-links {
        flex-direction: column;
        gap: 10px;
    }
}