/* ==========================================
   Reset e corpo
========================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    color: #333;
    line-height: 1.6;
    position: relative;
    background-color: #f8f9fa;
}

/* ==========================================
   Marca d'água fixa centralizada
========================================== */
body::before {
    content: "";
    position: fixed;
    top: 50%;
    left: 50%;
    width: 600px;
    height: 600px;
    background: url("assets/Logo_314.jpg") no-repeat center center;
    background-size: contain;
    opacity: 0.05;
    transform: translate(-50%, -50%);
    z-index: -1;
    pointer-events: none;
}

/* ==========================================
   Header
========================================== */
header {
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    text-align: center;
    padding: 20px 0;
    position: relative;
    z-index: 999;
}

header img {
    max-width: 180px;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    text-decoration: none;
    font-weight: bold;
    color: #333;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #34a853;
}

/* ==========================================
   Hero Section
========================================== */
.hero {
    background: url("assets/security-bg.jpg") center center/cover no-repeat;
    color: #fff;
    text-align: center;
    padding: 120px 20px 80px 20px;
    position: relative;
    z-index: 1;
}

.hero h2 {
    font-size: 2.5em;
    text-shadow: 0 2px 5px rgba(0,0,0,0.3);
    margin-bottom: 15px;
}

/* ==========================================
   Seções comuns
========================================== */
.servicos-section,
.about-section,
.solutions-section,
.contact-section {
    padding: 80px 20px;
    background-color: transparent;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.5em;
    color: #1b5e20;
    margin-bottom: 15px;
}

.section-header p {
    color: #555;
    font-size: 1.1em;
}

/* Grid de cards */
.servicos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.servico-card {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

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

.servico-card h3 {
    color: #2e7d32;
    margin-bottom: 15px;
}

.servico-card p,
.servico-card li {
    color: #555;
    line-height: 1.6;
}

/* Lista de serviços */
.servico-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 25px;
}

.servico-list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 8px;
}

.servico-list li:before {
    content: "✔";
    color: #34a853;
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Ícones dentro dos cards */
.servico-icon img {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
}

/* Botões */
.saiba-mais,
button {
    background-color: #34a853;
    color: #fff;
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    cursor: pointer;
    transition: background 0.3s;
    display: block;
    width: 100%;
    font-size: 1em;
}

.saiba-mais:hover,
button:hover {
    background-color: #2e7d32;
}

/* ==========================================
   Contato
========================================== */
.contact-section {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-info,
.contact-form {
    flex: 1;
}

.contact-info {
    text-align: left;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}

.contact-icon {
    width: 40px;
    height: 40px;
    margin-right: 15px;
}

.contact-form {
    max-width: 500px;
    width: 100%;
    text-align: left;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.contact-form button {
    width: 100%;
    padding: 15px;
    font-size: 1.1em;
}

/* ==========================================
   Footer
========================================== */
footer {
    background-color: #34a853;
    color: #fff;
    text-align: center;
    padding: 15px 0;
    margin-top: 20px;
}

/* ==========================================
   Responsivo
========================================== */
@media (max-width: 768px) {

    /* Hero */
    .hero h2 {
        font-size: 2em;
        line-height: 1.3;
    }

    /* Cards */
    .servico-card {
        padding: 20px;
    }

    .servico-icon img {
        width: 60px;
        height: 60px;
    }

    .servicos-grid {
        gap: 20px;
    }

    /* Menu Hamburger */
    .hamburger {
        display: block;
        font-size: 2em;
        cursor: pointer;
        position: absolute;
        top: 25px;
        right: 20px;
        z-index: 1000;
    }

    nav {
        display: none;
        flex-direction: column;
    }

    nav.active {
        display: flex;
        background-color: #fff;
        position: absolute;
        top: 70px;
        width: 100%;
        left: 0;
        padding: 10px 0;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    }

    nav ul {
        flex-direction: column;
        gap: 15px;
        margin: 0;
        align-items: center;
    }

    nav ul li {
        margin: 0;
    }

    /* Contato em coluna no mobile */
    .contact-section {
        flex-direction: column;
        align-items: center;
    }

    .contact-info,
    .contact-form {
        max-width: 100%;
    }
}
