/* ==========================================================================
   VARIÁVEIS E CONFIGURAÇÕES GLOBAIS
   ========================================================================== */
:root {
    --bg-color: #ffffff;
    --text-color: #1a1a1a;
    --text-muted: #555555;
    --gray-light: #f8f9fa;
    --border-color: #e2e8f0;
    --primary-green: #10b981; 
    --whatsapp-green: #25d366;
    --whatsapp-hover: #22bf5b;
    --accent-red: #ef4444;    
    --transition: all 0.3s ease;
    --container-width: 1200px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

section {
    padding: 5rem 0;
}

/* ==========================================================================
   TIPOGRAFIA E TÍTULOS
   ========================================================================== */
h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-color);
}

p {
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-header h2 {
    font-size: 2.25rem;
    margin-bottom: 0.75rem;
}

.section-header p {
    font-size: 1.125rem;
}

/* ==========================================================================
   BOTÕES
   ========================================================================== */
.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    border-radius: 4px;
    transition: var(--transition);
    cursor: pointer;
    text-align: center;
}

.btn-primary {
    background-color: var(--text-color);
    color: #ffffff;
    border: 1px solid var(--text-color);
}

.btn-primary:hover {
    background-color: #333333;
    border-color: #333333;
}

.btn-whatsapp {
    background-color: var(--whatsapp-green);
    color: #ffffff;
    border: 1px solid var(--whatsapp-green);
}

.btn-whatsapp:hover {
    background-color: var(--whatsapp-hover);
    border-color: var(--whatsapp-hover);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-color);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background-color: var(--gray-light);
    border-color: var(--text-muted);
}

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

.btn-card {
    margin-top: 1.5rem;
    width: 100%;
}

/* ==========================================================================
   MENU FIXO NO TOPO
   ========================================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(5px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: var(--transition);
}

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

.logo {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-color);
    text-decoration: none;
    display: flex;
    align-items: center;
}

.logo img {
    max-height: 60px;
    width: auto;
    display: block;
}

.nav-menu ul {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
}

.nav-link:hover, .nav-link.active {
    color: var(--text-color);
}

.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
}

.hamburger span {
    display: block;
    width: 28px;
    height: 2px;
    background-color: var(--text-color);
    transition: var(--transition);
}

/* ==========================================================================
   HERO / CAPA PRINCIPAL
   ========================================================================== */
.hero {
    position: relative;
    height: 600px;
    background-size: cover;
    background-position: center right; 
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    margin-top: 80px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4); 
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    margin-left: 0; 
    text-align: left;
    color: #ffffff;
}

.hero-content h1 {
    font-size: 2.75rem;
    color: #ffffff;
    margin-bottom: 1.25rem;
    letter-spacing: -0.5px;
}

.hero-content p {
    font-size: 1.15rem;
    color: #f1f5f9;
    margin-bottom: 2rem;
}

.hero-content .btn-secondary {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.6);
}

.hero-content .btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: #ffffff;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: flex-start;
}

/* ==========================================================================
   SEÇÃO SOBRE NÓS
   ========================================================================== */
.sobre-section {
    background-color: var(--bg-color);
}

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

.sobre-content {
    font-size: 1.125rem;
    text-align: left;
}

.sobre-content p {
    margin-bottom: 1.5rem;
}

.sobre-imagem video {
    width: 100%;
    height: auto;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.03);
    display: block;
    object-fit: cover;
}

/* ==========================================================================
   DESTAQUE DE CONFIANÇA
   ========================================================================== */
.confianca-section {
    background-color: var(--gray-light);
    padding: 4rem 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.grid-confianca {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.card-confianca {
    background: var(--bg-color);
    padding: 2rem;
    border-radius: 6px;
    border: 1px solid var(--border-color);
    box-shadow: 0 1px 3px rgba(0,0,0,0.02);
    border-left: 3px solid var(--primary-green); 
}

.card-confianca h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.card-confianca p {
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* ==========================================================================
   SEÇÃO DE SERVIÇOS
   ========================================================================== */
.servicos-section {
    background-color: var(--bg-color);
}

.grid-servicos {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
}

.card-servico {
    background: var(--bg-color);
    padding: 3rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02);
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card-principal {
    border-top: 4px solid var(--text-color);
}

.badge-principal {
    display: inline-block;
    background-color: var(--primary-green);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    margin-bottom: 1rem;
    width: fit-content;
}

.card-servico h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.card-servico p {
    font-size: 1.05rem;
}

/* ==========================================================================
   SEÇÃO SOBRE PRODUTOS
   ========================================================================== */
.produtos-section {
    background-color: var(--gray-light);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    text-align: center;
}

.produtos-container {
    max-width: 800px;
}

.produtos-text h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.produtos-text p {
    font-size: 1.125rem;
    margin-bottom: 0;
}

/* ==========================================================================
   ONDE ATENDEMOS
   ========================================================================== */
.atendemos-section {
    text-align: center;
}

.atendemos-grid {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.regiao-card {
    background: var(--bg-color);
    border: 1px solid var(--border-color);
    padding: 1.5rem 3rem;
    border-radius: 6px;
    border-bottom: 3px solid var(--accent-red); 
}

.regiao-card h3 {
    font-size: 1.25rem;
}

.atendemos-desc {
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.125rem;
}

/* ==========================================================================
   FAQ / ACORDEÃO
   ========================================================================== */
.faq-section {
    background-color: var(--gray-light);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.accordion {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.accordion-item {
    background: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    overflow: hidden;
}

.accordion-header {
    width: 100%;
    padding: 1.25rem 1.5rem;
    background: none;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-color);
    cursor: pointer;
    text-align: left;
    transition: var(--transition);
}

.accordion-header:hover {
    background-color: var(--gray-light);
}

.accordion-header .icon {
    font-size: 1.5rem;
    font-weight: 400;
    transition: var(--transition);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    padding: 0 1.5rem;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.accordion-content p {
    padding-bottom: 1.25rem;
    margin-bottom: 0;
}

.accordion-item.active .accordion-content {
    max-height: 200px;
    padding-top: 0.5rem;
}

.accordion-item.active .accordion-header .icon {
    transform: rotate(45deg);
}

/* ==========================================================================
   SEÇÃO DE CONTATO
   ========================================================================== */
.contato-section {
    text-align: center;
}

.contato-box {
    max-width: 800px;
    background: var(--gray-light);
    border: 1px solid var(--border-color);
    padding: 4rem 2rem;
    border-radius: 8px;
}

.contato-box h2 {
    font-size: 2.25rem;
    margin-bottom: 1rem;
}

.contato-box p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
}

.contato-info {
    margin-top: 3rem;
    border-top: 1px solid var(--border-color);
    padding-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.contato-info p {
    font-size: 1rem;
    margin-bottom: 0;
}

.contato-info a {
    color: var(--text-color);
    text-decoration: underline;
}

/* ==========================================================================
   MAPA E ENDEREÇO
   ========================================================================== */
.mapa-section {
    background-color: var(--bg-color);
}

.map-responsive {
    position: relative;
    overflow: hidden;
    padding-bottom: 400px;
    height: 0;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.map-responsive iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* ==========================================================================
   RODAPÉ
   ========================================================================== */
.footer {
    background-color: #111111;
    color: #ffffff;
    padding: 4rem 0 2rem 0;
}

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

.footer-col h3, .footer-col h4 {
    color: #ffffff;
    margin-bottom: 1rem;
}

.footer-col p {
    color: #a1a1aa;
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-links a {
    color: #a1a1aa;
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: #ffffff;
}

.footer-bottom {
    border-top: 1px solid #27272a;
    padding-top: 2rem;
    text-align: center;
}

.footer-bottom p {
    color: #71717a;
    font-size: 0.875rem;
    margin-bottom: 0;
}

/* ==========================================================================
   BOTÃO FLUTUANTE DO WHATSAPP
   ========================================================================== */
.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background-color: var(--whatsapp-green);
    color: #ffffff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    z-index: 999;
    transition: var(--transition);
}

.whatsapp-float:hover {
    background-color: var(--whatsapp-hover);
    transform: scale(1.05);
}

/* ==========================================================================
   RESPONSIVIDADE (TABLETS E CELULARES)
   ========================================================================== */
@media (max-width: 992px) {
    .grid-confianca {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .grid-servicos {
        grid-template-columns: 1fr;
    }

    .sobre-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-content h1 {
        font-size: 2.25rem;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: var(--bg-color);
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding-top: 3rem;
        transition: var(--transition);
        border-bottom: 1px solid var(--border-color);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu ul {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }

    .nav-link {
        font-size: 1.25rem;
    }

    .hero {
        height: 520px;
    }

    .hero-content h1 {
        font-size: 1.85rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .grid-confianca {
        grid-template-columns: 1fr;
    }

    .atendemos-grid {
        flex-direction: column;
        align-items: center;
    }

    .regiao-card {
        width: 100%;
        max-width: 300px;
    }

    .whatsapp-float {
        bottom: 1.5rem;
        right: 1.5rem;
        width: 50px;
        height: 50px;
    }
    
    .whatsapp-float svg {
        width: 26px;
        height: 26px;
    }
}