/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    line-height: 1.6;
    color: #333;
    background-color: #f4f4f4;
}

.container {
    width: 80%;
    margin: auto;
    overflow: hidden;
}

/* Header */
header {
    background: #2c3e50;
    color: #fff;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

header h1 {
    float: left;
}

header h1 span {
    color: #3498db;
}

header nav {
    float: right;
    margin-top: 10px;
}

header nav ul {
    list-style: none;
}

header nav li {
    display: inline;
    margin-left: 20px;
}

header nav a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
}

/* Remove qualquer estilo de texto do link da logo */
.logo-link {
    float: left;
    display: flex;
    align-items: center;
    height: 60px; /* Ajuste conforme a altura do seu header */
    text-decoration: none;
}

.logo-img {
    max-height: 90px; /* Define o tamanho da sua logo no site */
    width: auto;      /* Mantém a proporção da imagem */
    display: block;
    padding: 5px 0;
}

/* Ajuste para o menu continuar alinhado com a logo */
header nav {
    float: right;
    line-height: 38px; /* Mesma altura da logo para alinhar verticalmente */
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('https://images.unsplash.com/photo-1518770660439-4636190af475?auto=format&fit=crop&w=1350&q=80');
    background-size: cover;
    background-position: center;
    height: 60vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
}

.hero h2 { font-size: 2.5rem; margin-bottom: 1rem; }

.btn {
    display: inline-block;
    background: #3498db;
    color: #fff;
    padding: 10px 30px;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 20px;
}

/* Serviços Grid */
.section-title {
    text-align: center;
    margin: 40px 0;
}

.grid-servicos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 50px;
}

.card {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    text-align: center;
}

    .container { width: 95%; }

    /* Seção Sobre */
#sobre {
    padding: 60px 0;
}

.sobre-flex {
    display: flex;
    align-items: center;
    gap: 50px;
    flex-wrap: wrap;
}

.sobre-texto {
    flex: 1;
    min-width: 300px;
}

.sobre-texto p {
    margin-bottom: 15px;
    font-size: 1.1rem;
    color: #555;
    text-align: justify;
}


.sobre-imagem {
    flex: 1;
    min-width: 320px;
    display: flex; /* Garante que o container alinhe a imagem */
    align-items: center; /* Centraliza verticalmente se o texto for maior */
}

.sobre-imagem img {
    width: 100%;
    height: auto; /* Mantém a proporção original */
    max-height: 450px; /* Evita que ela fique gigante se o texto for muito longo */
    object-fit: cover; /* Faz com que ela preencha o espaço sem achatar */
    border-radius: 12px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    display: block;
}

/* Estatísticas rápidas */
.sobre-stats {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.stat-item strong { display: block; font-size: 1.8rem; color: var(--primary-color); }

/* Clientes */
#clientes { padding: 60px 0; background: #fff; }
.clientes-slider { display: flex; justify-content: center; flex-wrap: wrap; gap: 40px; }
.cliente-logo img { max-width: 140px; filter: grayscale(100%); opacity: 0.5; transition: 0.3s; }
.cliente-logo img:hover { filter: grayscale(0%); opacity: 1; transform: scale(1.1); }
#clientes {
    padding: 60px 0;
    background-color: #fff;
}

.clientes-slider {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 20px;
}

.cliente-logo img {
    max-width: 150px;
    filter: grayscale(100%); /* Fica cinza */
    opacity: 0.6;
    transition: all 0.3s ease;
    cursor: pointer;
}

.cliente-logo img:hover {
    filter: grayscale(0%); /* Volta a cor original */
    opacity: 1;
    transform: scale(1.1);
}

/* No celular, as logos ficam menores */
@media (max-width: 768px) {
    .cliente-logo img {
        max-width: 100px;
    }
}

.stat-item {
    text-align: center;
}

.stat-item strong {
    display: block;
    font-size: 1.5rem;
    color: #2c3e50;
}

.stat-item span {
    font-size: 0.9rem;
    color: #3498db;
    font-weight: bold;
}

/* Responsividade para o Sobre */
@media (max-width: 768px) {
    .sobre-flex {
        flex-direction: column-reverse; /* Imagem fica embaixo do texto no celular */
    }
}

    /* Botão principal com cor do WhatsApp */
.btn-whatsapp {
    background-color: #25d366 !important;
    border: none;
    font-weight: bold;
    transition: background 0.3s ease;
}

.btn-whatsapp:hover {
    background-color: #128c7e !important;
}

/* Botão Flutuante */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background-color: #128c7e;

}


/* Estilo para Páginas Internas */
.internal-hero {
    background: #3498db;
    padding: 60px 0;
    text-align: center;
    color: white;
}

.content-section {
    padding: 50px 0;
    background: white;
    margin: 20px 0;
    border-radius: 8px;
}


/* Container da grade do Maps */
.contato-grid {
    display: flex;
    flex-wrap: wrap; /* Permite quebrar linha no celular */
    gap: 0;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    margin-bottom: 50px;
}

/* Lado do Mapa */
.mapa-container {
    flex: 1; /* Ocupa metade do espaço */
    min-width: 300px;
    height: 450px;
}

/* Lado das Informações */
.info-container {
    flex: 1; /* Ocupa a outra metade */
    min-width: 300px;
    padding: 40px;
    background: #2c3e50;
    color: #ecf0f1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.info-item {
    margin-bottom: 25px;
}

.info-item h3 {
    color: #3498db;
    margin-bottom: 8px;
    font-size: 1.2rem;
}

.info-item p, .info-item li {
    font-size: 1rem;
    opacity: 0.9;
    list-style: none;
}

/* Ajuste para telas pequenas (Celulares) */
@media (max-width: 768px) {
    .contato-grid {
        flex-direction: column;
    }
    .mapa-container {
        height: 300px;
    }
}

/* Estado inicial dos elementos antes do JS agir */
.hidden-effect {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

/* Classe que o JS adiciona ao rolar a página */
.show {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* Footer */
footer {
    background: #2c3e50;
    color: #fff;
    text-align: center;
    padding: 2rem 0;
}

/* Responsividade */
@media (max-width: 768px) {
    header h1, header nav {
        float: none;
        text-align: center;
    }}
