/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700;900&display=swap');

/* Variáveis de Cor */
:root {
    --primary-color: #0d47a1; /* Azul escuro */
    --secondary-color: #FF070C; /* Amarelo */
    --dark-color: #002293;      /* Cinza escuro para texto */
    --light-color: #f8f9fa;     /* Cinza claro para fundo de seções */
    --white-color: #ffffff;
}

/* Reset Básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px; /* Aumentado para acomodar a altura do menu */
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    background-color: var(--white-color);
    color: var(--dark-color);
    /* Desabilita a seleção de texto para dificultar a cópia */
    -webkit-user-select: none; /* Safari */
    -ms-user-select: none; /* IE 10+ */
    user-select: none; /* Padrão */
}

.container {
    max-width: 1100px;
    margin: auto;
    padding: 2rem;
    text-align: center;
}

h1, h2, h3 {
    margin-bottom: 1rem;
}

h1 {
    font-size: 3rem;
    font-weight: 900;
    color: var(--white-color);
}

h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: var(--primary-color);
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background-color: var(--white-color);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.logo img {
    height: 90px; /* Altura ajustada para um menu mais compacto */
    width: auto;
    vertical-align: middle;
}

.nav-menu {
    display: flex;
    list-style: none;
}

.nav-item {
    margin-left: 1.5rem;
}

/* Ajuste para o tamanho da fonte do menu de navegação */
/* Aumentando a especificidade para garantir que a regra seja aplicada */
.nav-menu .nav-link {
    font-size: 19px; /* Aumentei um pouco mais para a mudança ser mais visível */
    font-weight: 700;
    color: var(--primary-color);
    transition: color 0.3s ease;
}

.nav-menu .nav-link:hover {
    color: var(--secondary-color); /* Amarelo no hover */
}

.nav-button-desktop {
    background-color: var(--secondary-color);
    color: var(--white-color); /* Texto claro para contraste */
    padding: 0.7rem 1.2rem;
    border-radius: 5px;
    font-weight: 700;
    transition: background-color 0.3s ease;
}

.nav-button-desktop:hover {
    background-color: #012393;
}

.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    transition: all 0.3s ease-in-out;
    background-color: var(--primary-color);
}

/* Seção Hero */
#hero {
    position: relative; /* Necessário para posicionar os slides e o conteúdo */
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--white-color);
    padding: 0 1rem;
    overflow: hidden; /* Esconde partes das imagens que possam vazar */
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0; /* Fica atrás do conteúdo */
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out; /* Transição suave de fade */
}

.slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /* Escurece a imagem para o texto ficar legível */
}

.slide.active {
    opacity: 1;
}

.hero-content p {
    font-size: 1.5rem;
    max-width: 600px;
    margin: 1rem auto 2rem;
}

.hero-content {
    position: relative; /* Garante que o conteúdo fique sobre o slider */
    z-index: 1;
}

.slide.active {
    opacity: 1;
    animation: zoomIn 6s linear forwards; /* Adiciona o efeito de zoom */
}

.cta-button {
    background-color: var(--secondary-color);
    color: var(--white-color); /* Texto claro para contraste */
    padding: 1rem 2.5rem;
    font-size: 1.2rem;
    font-weight: 700;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.cta-button:hover {
    transform: scale(1.05);
    background-color: #012393; /* Amarelo um pouco mais claro no hover */
}

.cta-button i {
    margin-right: 0.5rem;
}

/* Seção de Galeria */
#gallery {
    background-color: var(--light-color);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.gallery-item {
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    display: block;
    position: relative;
    aspect-ratio: 1 / 1; /* Garante que as imagens sejam quadradas */
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item::after {
    content: '\f00e'; /* Ícone de lupa do Font Awesome */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 0;
    left: 0;
    color: var(--white-color);
    font-size: 2.5rem;
    background: rgba(13, 71, 161, 0.7); /* Fundo azul translúcido */
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: all 0.4s ease;
    cursor: pointer;
}

.gallery-item:hover::after {
    opacity: 1;
}

/* Keyframes para o efeito de zoom no slider */
@keyframes zoomIn {
    from {
        transform: scale(1);
    }
    to {
        transform: scale(1.1);
    }
}

/* Seção de Serviços */
#services {
    background-color: var(--light-color); /* Fundo da seção em cinza claro */
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--white-color);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Seção Áreas Atendidas */
#areas {
    background-color: var(--white-color); /* Fundo branco para alternar */
}

.areas-list ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.areas-list li {
    background: var(--light-color);
    padding: 0.8rem 1.5rem;
    border-radius: 20px;
    font-weight: 700;
}

.areas-list i {
    color: var(--primary-color);
    margin-right: 0.5rem;
}

/* Seção de Contato */
#contact {
    background-color: var(--primary-color); /* Fundo azul para destaque */
    color: var(--white-color); /* Texto branco para contraste */
}

#contact h2, #contact p {
    color: var(--white-color);
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin: 2rem 0;
}

.contact-button {
    padding: 1rem 2rem;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--white-color);
    transition: opacity 0.3s ease;
}
.contact-button:hover {
    opacity: 0.9;
}
.contact-button.whatsapp { background-color: #25D366; }
.contact-button.phone { 
    background-color: var(--secondary-color); /* Botão de ligar em amarelo para contraste */
    color: var(--white-color);
}

.payment-methods { margin-top: 3rem; }
.payment-icons { margin-top: 2rem; }

.payment-icons img {
    height: 90px; /* Ajuste a altura se necessário */
    margin: 0 8px;
    vertical-align: middle;
}

/* Botão Flutuante WhatsApp */
.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: 100;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Estilização da Barra de Rolagem */
::-webkit-scrollbar {
    width: 12px;
}

/* Fundo da barra de rolagem */
::-webkit-scrollbar-track {
    background: var(--light-color);
}

/* A parte móvel da barra de rolagem */
::-webkit-scrollbar-thumb {
    background-color: var(--primary-color);
    border-radius: 20px;
    border: 3px solid var(--light-color);
}
::-webkit-scrollbar-thumb:hover {
    background-color: var(--secondary-color);
}

/* Footer */
footer {
    background-color: var(--dark-color); /* Rodapé em cinza escuro */
    color: var(--white-color);
    text-align: center;
    padding: 2rem;
    margin-top: 90px;
}

/* Responsividade para Celulares */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 92px; /* Ajustado para a nova altura do menu (60px logo + 32px padding) */
        flex-direction: column;
        background-color: var(--white-color);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
    }

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

    .nav-item {
        margin: 2.5rem 0;
    }

    .hamburger {
        display: block;
    }

    .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); }

    .nav-button-desktop { display: none; }

    h1 { font-size: 2.2rem; }
    .hero-content p { font-size: 1.2rem; }
}
/* --- Estilos para a Seção de Avaliações do Google (CORRIGIDO) --- */
#google-reviews {
    text-align: center;
    background-color: #f9f9f9; /* Um fundo suave para destacar a seção */
    padding: 50px 20px; /* Ajustado para melhor espaçamento */
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    margin-top: 50px;
    margin-bottom: 50px;
}

#google-reviews h2 {
    margin-bottom: 15px;
}

#google-reviews p {
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 20px;
    color: #555;
}

.google-review-stars {
    color: #fbbc05; /* Cor amarela do Google */
    font-size: 1.5rem;
    margin-bottom: 30px; /* Aumentei a margem para dar mais espaço */
    display: block; /* Garante que o container ocupe a linha toda */
}

.google-button {
    background-color: #4285F4; /* Cor azul do Google */
    display: inline-flex;
    align-items: center;
    gap: 10px; /* Espaço entre o ícone e o texto */
    /* A linha abaixo evita que o botão suba e sobreponha as estrelas */
    margin-top: 0;
}

.google-button:hover {
    background-color: #357ae8; /* Um azul um pouco mais escuro no hover */
}

/* Ajuste para o ícone do Google dentro do botão */
.google-button .fa-google {
    font-size: 1.2em;
}
/* --- Estilos para o Crédito do Desenvolvedor no Footer --- */
.developer-credit {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px; /* Espaço entre o texto e a imagem */
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #444; /* Linha sutil para separar */
}

.developer-credit span {
    font-size: 0.9rem;
    color: #ccc; /* Cor sutil para o texto */
}

.developer-credit img {
    height: 35px; /* Ajuste a altura da sua logo conforme necessário */
    width: auto;
}
