/* Reset */

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

/* Geral */

body {
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #f5f7fa;
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
}

/* Menu */

.site-header {
    position: sticky;
    top: 0;
    background: #0f172a;
    z-index: 90;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
}

.brand {
    font-size: 1.5rem;
    font-weight: bold;
    color: #fff;
    text-decoration: none;
}

.nav {
    display: flex;
    gap: 16px;
    align-items: center;
}

.btn-nav {
    padding: 10px 20px;
}

/* Hero */

.hero {
    background: #0f172a;
    color: #fff;
    text-align: center;
    padding: 32px 20px 40px;
}

.hero h1 {
    font-size: 1.5rem;
    max-width: 800px;
    margin: 0 auto 10px;
}

.services {
    font-size: 1rem;
    margin-bottom: 0;
    color: #cbd5e1;
}

/* Botões */

.btn {
    display: inline-block;
    background: #2563eb;
    color: white;
    text-decoration: none;
    padding: 14px 28px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    transition: 0.3s;
    align-self: center;
}

.btn:hover {
    background: #1d4ed8;
}

/* Seções */

.about h3 {
    margin-bottom: 20px;
    font-size: 1.5rem;
    text-align: center;
}

.about {
    padding: 40px 0;
}
.about p {
    max-width: 1100px;
    margin: 0 auto;
}

/* Cards */

.features {
    padding: 70px 0;
    background: white;
}

.features .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.card {
    background: #f8fafc;
    padding: 25px;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
}

.card h4 {
    margin-bottom: 10px;
    color: #0f172a;
}

/* Footer */

footer {
    background: #0f172a;
    color: white;
    text-align: center;
    padding: 20px;
}

/* Mobile */

@media (max-width: 768px) {

    .hero {
        padding: 24px 20px 32px;
    }

    .hero h1 {
        font-size: 1.5rem;
    }

    .services {
        font-size: 0.95rem;
    }

    .about h3 {
        font-size: 1.5rem;
    }
}

form {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 500px;
    margin: 20px auto;
}

input, textarea {
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
}

textarea {
    resize: vertical;
}

/* Modal de contato */

.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.65);
    justify-content: center;
    align-items: center;
    padding: 20px;
    z-index: 100;
}

.modal-overlay.open {
    display: flex;
}

.modal {
    position: relative;
    background: white;
    border-radius: 12px;
    padding: 30px;
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    background: none;
    border: none;
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
    color: #64748b;
}

.modal h3 {
    margin-bottom: 8px;
    font-size: 1.5rem;
}

.modal p {
    max-width: none;
}

.modal form {
    margin: 20px 0 0;
}
