/* --- CONFIGURAÇÕES GLOBAIS E VARIÁVEIS DE COR --- */
:root {
    --primary-red: #d32f2f;
    --dark-grey: #212121;
    --light-grey: #f5f5f5;
    --white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--white);
    color: var(--dark-grey);
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- CABEÇALHO --- */
.header {
    background-color: var(--white);
    padding: 20px 0;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    height: 75px;
}

.contact-button {
    background-color: var(--primary-red);
    color: var(--white);
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.contact-button:hover {
    background-color: #a02424;
}

/* --- SEÇÃO HERO/BANNER --- */
.hero {
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('img/banner.jpg');
    background-size: cover;
    background-position: center;
    color: var(--white);
    padding: 100px 0;
    text-align: center;
}

.hero-content h1 {
    font-size: 2.8rem;
    font-weight: 700;
    max-width: 800px;
    margin: 0 auto 30px auto;
}

.highlight-box {
    background-color: rgba(211, 47, 47, 0.9);
    display: inline-block;
    padding: 15px 25px;
    border-radius: 8px;
    border: 2px solid var(--white);
}

.highlight-box p {
    font-size: 1.3rem;
    font-weight: 600;
    margin: 0;
}

/* --- SEÇÃO DE SERVIÇOS --- */
.services {
    padding: 80px 0;
    background-color: var(--light-grey);
}

.services h3 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 50px;
    font-weight: 700;
}

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

.service-item {
    background-color: var(--white);
    padding: 25px;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.service-item img {
    height: 50px;
    margin-bottom: 15px;
}

.service-item h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark-grey);
}

/* --- SEÇÃO DE CONTATO --- */
.contact {
    padding: 80px 0;
    background-color: var(--dark-grey);
    color: var(--white);
    text-align: center;
}

.contact h3 {
    color: var(--white);
    font-size: 2rem;
    margin-bottom: 20px;
}

.contact > .container > p {
    font-size: 1.1rem;
    margin-bottom: 50px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.contact-card {
    background-color: #2c2c2c;
    padding: 30px;
    border-radius: 8px;
}

.contact-card h4 {
    font-size: 1.2rem;
    color: var(--primary-red);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.contact-card h4 img {
    height: 24px;
}

.contact-card a, .contact-card p {
    color: var(--white);
    text-decoration: none;
    font-size: 1.1rem;
    line-height: 1.6;
}

.contact-card a:hover {
    text-decoration: underline;
}

/* --- RODAPÉ --- */
.footer {
    background-color: #1a1a1a;
    color: #ccc;
    text-align: center;
    padding: 20px 0;
}

.footer p {
    margin: 5px 0;
}

/* --- RESPONSIVIDADE --- */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.2rem;
    }
    .highlight-box p {
        font-size: 1.1rem;
    }
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    }
}

@media (max-width: 480px) {
    .services-grid {
        grid-template-columns: 1fr 1fr;
    }
    .service-item h4 {
        font-size: 1rem;
    }
}
