/* --- GERAL E VARIÁVEIS DE COR --- */
:root {
    --primary-color: #1a1a1a; /* Preto Suave */
    --secondary-color: #555555; /* Cinza Médio */
    --background-color: #EBEBEB; /* CINZA DE FUNDO PRINCIPAL */
    --content-bg-light: #FFFFFF; /* SEÇÕES CLARAS AGORA SÃO BRANCAS */
    --content-bg-dark: #f5f5f5;  /* SEÇÕES ESCURAS SÃO CINZA CLARO */
    --border-color: #dddddd; /* Borda um pouco mais escura */
    --header-height: 70px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.7;
    color: var(--secondary-color);
    background-color: var(--background-color); /* Aplica o novo cinza ao fundo geral */
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
}

.text-center {
    text-align: center;
}

/* --- CABEÇALHO E NAVEGAÇÃO --- */
.header {
    background-color: var(--primary-color);
    color: var(--background-color);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    height: var(--header-height);
    display: flex;
    align-items: center;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.nav-logo {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--background-color);
    text-decoration: none;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
}

.logo-separator {
    color: var(--secondary-color);
    margin: 0 0.5rem;
    font-weight: 300;
}

.logo-text {
    font-weight: 400;
}

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
}

.nav-item {
    margin-left: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #cccccc;
    font-weight: 400;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--background-color);
}

.cta-button {
    background-color: var(--background-color);
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: 5px;
    font-weight: 700;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background-color: var(--light-gray-bg);
    color: var(--primary-color);
}

/* --- SEÇÃO HERO --- */
.hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('https://images.pexels.com/photos/374885/pexels-photo-374885.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=1') no-repeat center center/cover;
    min-height: 80vh;
    display: flex;
    align-items: center;
    padding-top: var(--header-height);
    color: var(--background-color);
}

.hero-section .container {
    max-width: 700px;
    text-align: center;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--background-color);
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    color: var(--background-color);
}

.cta-button-hero {
    background-color: var(--background-color);
    color: var(--primary-color);
    padding: 1rem 2.5rem;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.cta-button-hero:hover {
    background-color: #dddddd;
    transform: translateY(-3px);
}

/* --- SEÇÕES DE CONTEÚDO --- */
.content-section {
    padding: 6rem 0;
    background-color: var(--content-bg-light); /* Seções padrão agora são brancas */
}

.content-section.bg-light {
    background-color: var(--content-bg-dark); /* Seções alternadas são cinza claro */
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 1rem;
}

.section-title.text-center::after {
    left: 50%;
    transform: translateX(-50%);
}

.subtitle {
    max-width: 600px;
    margin: 0 auto 2.5rem auto;
    font-size: 1.1rem;
}

/* --- SEÇÃO SOBRE --- */
.about-container {
    display: flex;
    align-items: center;
    gap: 4rem;
}
.about-image {
    flex: 1;
}
.about-image img {
    width: 100%;
    border-radius: 5px;
}
.about-text {
    flex: 1.2;
}
.about-text p {
    margin-bottom: 1rem;
}

/* --- SEÇÃO SERVIÇOS --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}
.service-card {
    background: var(--background-color);
    padding: 2.5rem;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.07);
}
.service-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}
.service-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* --- SEÇÃO DIFERENCIAIS --- */
.diferenciais-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1rem 2rem;
    margin-top: 4rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}
.diferencial-item {
    display: flex;
    align-items: center;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--primary-color);
}
.diferencial-item i {
    color: var(--primary-color);
    margin-right: 1rem;
}

/* --- SEÇÃO CLIENTES --- */
.clientes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 4rem;
}

.cliente-item {
    background-color: var(--content-bg-light);
    padding: 1.2rem;
    border-radius: 5px;
    font-weight: 500;
    color: var(--secondary-color);
    border: 1px solid var(--border-color);
    text-align: center;
}


/* --- FOOTER --- */
.footer {
    background-color: var(--primary-color);
    color: #a0a0a0;
    text-align: center;
    padding: 2.5rem 1rem;
}
.footer p {
    margin: 0;
    font-size: 0.9rem;
}
.footer-credit {
    margin-top: 0.5rem;
    font-size: 0.8rem;
    opacity: 0.7;
}

/* --- BOTÃO WHATSAPP --- */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 100;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s ease;
}
.whatsapp-float:hover {
    transform: scale(1.1);
}

/* --- RESPONSIVIDADE --- */
.hamburger { display: none; }
.bar {
    display: block;
    width: 25px;
    height: 2px;
    margin: 6px auto;
    background-color: var(--background-color);
    transition: all 0.3s ease-in-out;
}

@media (max-width: 992px) {
    .logo-text {
        display: none;
    }
    .logo-separator {
        display: none;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: var(--header-height);
        flex-direction: column;
        background-color: var(--primary-color);
        width: 100%;
        height: 100vh;
        text-align: center;
        transition: 0.3s;
        padding-top: 2rem;
    }
    .nav-menu.active {
        left: 0;
    }
    .nav-item {
        margin: 1.5rem 0;
    }
    .hamburger {
        display: block;
        cursor: pointer;
    }
    .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); }

    .hero-content h1 { font-size: 2.5rem; }
    .hero-content p { font-size: 1.1rem; }
    .about-container { flex-direction: column; }
    .about-image { margin-bottom: 2rem; }
    .section-title { font-size: 2rem; }
}