/* --- RESET E ESTILOS GERAIS --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    color: #333;
    line-height: 1.6;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- HEADER --- */
header {
    background-color: #3e444d;
    color: #fff;
    padding: 15px 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-text {
    font-weight: bold;
    font-size: 1.2rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

nav ul {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 0.8rem;
    text-transform: uppercase;
    color: #ccc;
}

nav ul li a:hover { color: #fff; }

.btn-contact {
    background-color: #8c929ad0;
    color: white;
    padding: 8px 15px;
    border-radius: 3px;
    font-weight: bold;
    transition: 0.3s;
}
.btn-contact:hover { background-color: #fff; color: #333; }

/* --- HERO SECTION --- */
.hero {
    text-align: center;
    padding: 60px 20px;
}

.hero h1 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero p {
    max-width: 700px;
    margin: 0 auto;
    color: #666;
    font-size: 0.95rem;
}

/* --- TITULOS DE SEÇÃO --- */
.section-title {
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 5px;
    margin: 60px 0 40px;
    font-size: 1.5rem;
    color: #444;
}

/* --- GALERIA DE PROJETOS (GRID 1) --- */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 60px;
}

.project-card {
    position: relative;
    height: 400px;
    overflow: hidden;
}

.project-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.project-card:hover img { transform: scale(1.05); }

.card-label {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 1.2rem;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.7);
    font-weight: bold;
    text-transform: capitalize;
}

/* --- MARCAS (PARCEIROS) --- */
.brands-section {
    padding: 40px 0;
    background-color: #fff;
}

.brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    text-align: center;
}

.brand-item img {
    height: 50px;
    object-fit: contain;
    margin: 0 auto 20px;
}

.brand-item p {
    font-size: 0.75rem;
    color: #666;
    line-height: 1.4;
    padding: 0 10px;
}

.brand-item strong { color: #333; }

/* --- SERVIÇOS (GRID 2) --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 60px;
}

.service-card {
    position: relative;
    height: 300px;
}

.service-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.8);
}

.service-card span {
    position: absolute;
    bottom: 20px;
    left: 20px;
    color: white;
    font-weight: bold;
    font-size: 1.1rem;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.8);
}

/* --- CHAMADA FINAL --- */
.cta-bottom {
    text-align: center;
    margin-bottom: 60px;
}
.cta-bottom h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #444;
}
.cta-bottom p { color: #777; font-size: 0.9rem; }

/* --- FOOTER (CINZA CLARO) --- */
.main-footer {
    background-color: #b3b3b3;
    padding: 40px 0;
    color: #333;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.footer-logo img {
    width: 80px;
    opacity: 0.8;
}

.footer-form h4 {
    text-transform: uppercase;
    font-size: 1.2rem;
    margin-bottom: 15px;
    letter-spacing: 1px;
    font-weight: bold;
    color: #333;
}

.form-box {
    display: flex;
}

.form-box input {
    padding: 10px;
    border: none;
    width: 250px;
    font-size: 0.9rem;
}

.form-box button {
    padding: 10px 20px;
    background-color: #3e444d;
    color: white;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    font-size: 0.8rem;
    font-weight: bold;
}

.form-box button:hover { background-color: #222; }

/* --- COPYRIGHT BAR --- */
.copyright {
    background-color: #363b42;
    color: #888;
    padding: 20px 0;
    font-size: 0.75rem;
}

.copyright p { margin-bottom: 5px; }

/* --- RESPONSIVIDADE MOBILE --- */
@media (max-width: 768px) {
    .header-content { flex-direction: column; gap: 15px; }
    nav ul { flex-direction: column; gap: 10px; }
    .footer-content { flex-direction: column; text-align: center; }
    .form-box { flex-direction: column; gap: 10px; }
    .form-box input { width: 100%; }
}