/* ============================= */
/* RESET */
/* ============================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #f8fafc;
    color: #0f172a;
    line-height: 1.6;
}

/* ============================= */
/* CONTAINER */
/* ============================= */

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================= */
/* HEADER */
/* ============================= */

header {
    background: white;
    padding: 18px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 55px;
    width: auto;
    object-fit: contain;
}

nav a {
    text-decoration: none;
    color: #334155;
    margin-left: 25px;
    font-weight: 500;
    transition: 0.3s;
}

nav a:hover {
    color: #22c55e;
}

/* ============================= */
/* HERO (HOME E INTERNAS) */
/* ============================= */

.hero,
.page-hero {
    padding: 100px 20px 80px;
    text-align: center;
    background: linear-gradient(135deg, #0f172a, #1e293b);
    color: white;
}

.hero h1,
.page-hero h1 {
    font-size: 44px;
    margin-bottom: 20px;
}

.hero p,
.page-hero p {
    font-size: 18px;
    color: #cbd5e1;
    max-width: 760px;
    margin: 0 auto;
}

/* ============================= */
/* BOTÕES */
/* ============================= */

.btn,
.btn-primary {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 10px;
    background: #22c55e;
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
    border: none;
    cursor: pointer;
}

.btn:hover,
.btn-primary:hover {
    background: #16a34a;
}

.full-btn {
    width: 100%;
    margin-top: 18px;
}

/* ============================= */
/* SECTIONS */
/* ============================= */

.section {
    padding: 80px 20px;
}

.section h2 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 18px;
}

.section-subtitle {
    text-align: center;
    color: #64748b;
    margin-bottom: 45px;
}

/* ============================= */
/* GRID E CARDS */
/* ============================= */

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}

.card,
.content-card {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
}

.card h3 {
    margin-bottom: 12px;
}

.card p {
    color: #475569;
}

.content-card {
    max-width: 850px;
    margin: 0 auto;
}

/* ============================= */
/* FORMULÁRIO */
/* ============================= */

.contact-container {
    max-width: 900px;
}

form {
    display: flex;
    flex-direction: column;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

form label {
    font-weight: 600;
    margin-bottom: 8px;
    margin-top: 16px;
}

form input,
form textarea {
    padding: 14px;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    font-size: 15px;
    transition: 0.3s;
}

form input:focus,
form textarea:focus {
    outline: none;
    border-color: #22c55e;
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.2);
}

.success-msg {
    margin-top: 18px;
    background: #dcfce7;
    color: #166534;
    border: 1px solid #86efac;
    border-radius: 10px;
    padding: 12px 14px;
    text-align: center;
}

.contact-info {
    margin-top: 24px;
    text-align: center;
    color: #334155;
}

/* ============================= */
/* PÁGINAS LEGAIS */
/* ============================= */

.legal-section {
    padding-top: 60px;
}

.legal-wrapper {
    max-width: 900px;
}

.legal-wrapper .intro {
    text-align: center;
    margin-bottom: 40px;
}

.legal-wrapper h2 {
    margin-top: 36px;
    margin-bottom: 16px;
    font-size: 24px;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 8px;
    text-align: left;
}

.legal-wrapper p,
.legal-wrapper li {
    line-height: 1.8;
    color: #475569;
    font-size: 16px;
}

.legal-wrapper ul {
    padding-left: 22px;
}

.legal-contact {
    margin-top: 32px;
    text-align: center;
}

/* ============================= */
/* FOOTER */
/* ============================= */

footer {
    background: #0f172a;
    color: #cbd5e1;
    padding: 50px 20px;
    margin-top: 80px;
}

.footer-content {
    max-width: 1100px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 24px;
    flex-wrap: wrap;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo img {
    height: 44px;
    width: auto;
    margin-bottom: 10px;
}

.footer-links a {
    display: block;
    color: #cbd5e1;
    text-decoration: none;
    margin-bottom: 10px;
    transition: 0.3s;
}

.footer-links a:hover {
    color: #22c55e;
}

.footer-bottom {
    text-align: center;
    margin-top: 28px;
    font-size: 14px;
    color: #94a3b8;
}

/* ============================= */
/* RESPONSIVO */
/* ============================= */

@media (max-width: 768px) {

    .navbar {
        flex-direction: column;
        gap: 15px;
    }

    nav a {
        margin: 0 10px;
    }

    .hero h1,
    .page-hero h1 {
        font-size: 32px;
    }

    .card,
    .content-card {
        padding: 28px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}
