/* --- CONFIGURAÇÕES GLOBAIS E RESET --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box; /* Faz o 'padding' não afetar a largura total */
}

html {
    scroll-behavior: smooth; /* Rolagem suave ao clicar nos links âncora */
}

body {
    /* Fontes importadas do Google Fonts */
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: #333; /* Cor de texto principal (cinza escuro) */
}

/* --- CLASSES UTILITÁRIAS --- */
.container {
    max-width: 1100px; /* Largura máxima do conteúdo */
    margin: 0 auto;    /* Centraliza o container */
    padding: 0 20px;   /* Espaçamento lateral */
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* --- ESTILOS DO CABEÇALHO (HERO SECTION) --- */
.hero-section {
    /* Imagem de fundo com um gradiente escuro por cima para legibilidade */
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('https://images.pexels.com/photos/3183150/pexels-photo-3183150.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=1');
    background-size: cover;
    background-position: center;
    height: 90vh; /* Ocupa 90% da altura da tela */
    color: #fff;
    
    display: flex;
    flex-direction: column;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    font-family: 'Poppins', sans-serif;
    font-size: 1.8rem;
    font-weight: 600;
}

.nav-links {
    list-style: none;
}

.nav-links li {
    display: inline-block; /* Coloca os links lado a lado */
    margin-left: 25px;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #007bff; /* Azul InfoACME */
}

/* Botão de contato no menu */
.cta-button-nav {
    background-color: #007bff;
    padding: 8px 15px;
    border-radius: 5px;
    transition: background-color 0.3s;
}
.cta-button-nav:hover {
    background-color: #0056b3;
    color: #fff !important;
}

.hero-content {
    flex-grow: 1; /* Faz o conteúdo ocupar o espaço restante */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.hero-content h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 3rem;
    max-width: 600px;
    margin-bottom: 15px;
}

.hero-content p {
    font-size: 1.2rem;
    max-width: 550px;
    margin-bottom: 30px;
}

/* Botão de Ação Principal (CTA) */
.cta-button {
    background-color: #007bff; /* Azul InfoACME */
    color: #fff;
    padding: 15px 30px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    border-radius: 5px;
    transition: background-color 0.3s, transform 0.3s;
}

.cta-button:hover {
    background-color: #0056b3; /* Azul mais escuro */
    transform: translateY(-3px); /* Efeito de "levantar" */
}

/* --- ESTILOS DAS SEÇÕES (GERAL) --- */
section {
    padding: 60px 0;
}

section h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 40px;
    color: #333;
}

/* --- SEÇÃO DE SERVIÇOS (GRID) --- */
.services-section {
    background-color: #f9f9f9; /* Fundo levemente cinza */
}

.services-grid {
    display: flex;
    justify-content: space-around; /* Distribui espaço entre os cards */
    flex-wrap: wrap; /* Permite que os cards quebrem a linha em telas menores */
    gap: 20px; /* Espaço entre os cards */
}

.service-card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    padding: 25px;
    text-align: center;
    flex-basis: 320px; /* Largura base de cada card */
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

.service-card img {
    height: 120px;
    width: 120px;
    border-radius: 50%; /* Imagem redonda */
    object-fit: cover;
    margin: 0 auto 15px auto;
    border: 3px solid #007bff;
}

.service-card h3 {
    font-family: 'Poppins', sans-serif;
    color: #007bff;
    margin-bottom: 10px;
}

/* --- SEÇÃO SOBRE NÓS (FLEXBOX 2 COLUNAS) --- */
.about-flex {
    display: flex;
    align-items: center;
    gap: 40px;
}

.about-text {
    flex: 1; /* Ocupa 50% do espaço */
}

.about-text h2 {
    text-align: left; /* Alinha título à esquerda */
    margin-bottom: 20px;
}

.about-text ul {
    list-style: none; /* Remove bolinhas */
    margin-top: 20px;
}

.about-text ul li {
    margin-bottom: 10px;
    font-weight: bold;
}

.about-image {
    flex: 1; /* Ocupa 50% do espaço */
}

.about-image img {
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* --- SEÇÃO FINAL DE CTA --- */
.cta-final-section {
    background-color: #333; /* Fundo escuro */
    color: #fff;
    text-align: center;
}

.cta-final-section h2 {
    color: #fff;
}

.cta-final-section p {
    font-size: 1.1rem;
    margin-bottom: 30px;
}

/* --- RODAPÉ --- */
footer {
    background-color: #222;
    color: #aaa;
    text-align: center;
    padding: 20px 0;
}

/* --- AJUSTES PARA CELULAR (RESPONSIVIDADE) --- */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .nav-links {
        display: none; /* Simplificando para o exemplo (ou usaria JS para menu hamburger) */
    }
    
    .services-grid {
        flex-direction: column; /* Empilha os cards */
    }
    
    .about-flex {
        flex-direction: column; /* Empilha texto e imagem */
    }
    
    .about-text h2 {
        text-align: center; /* Centraliza na versão mobile */
    }
}