:root {
    --primary-color: #2a3a89; /* Azul da logo */
    --secondary-color: #00994c; /* Verde da logo */
    --text-color: #333;
    --light-gray: #f4f4f4;
    --white-color: #fff;
    --shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    line-height: 1.6;
    color: var(--text-color);
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* --- Header & Navbar --- */
.navbar {
    background: var(--white-color);
    box-shadow: var(--shadow);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    padding: 1rem 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 50px;
}

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
}

.nav-links li {
    margin-left: 25px;
}

.nav-links a {
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 600;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--secondary-color);
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    color: var(--primary-color);
    cursor: pointer;
}

/* --- Buttons --- */
.btn-primary {
    background-color: var(--secondary-color);
    color: var(--white-color);
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.btn-primary:hover {
    background-color: #007a3d;
}

.btn-secondary {
    background-color: var(--primary-color);
    color: var(--white-color);
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: background-color 0.3s ease;
}

.btn-secondary:hover {
    background-color: #202d6b;
}

/* --- Hero Section --- */
.hero {
    background:
        linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
        url("https://images.unsplash.com/photo-1559825481-12a05cc00344?q=80&w=2070&auto=format&fit=crop") no-repeat
            center center/cover;
    color: var(--white-color);
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 80px; /* Offset for navbar */
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 2rem auto;
}

/* --- Sections General Styling --- */
main section {
    padding: 80px 0;
}

main section:nth-child(even) {
    background-color: var(--light-gray);
}

h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 3rem;
}

/* --- How It Works Section --- */
.steps {
    display: flex;
    justify-content: space-around;
    text-align: center;
    gap: 2rem;
}

.step {
    max-width: 300px;
}

.step-icon {
    background-color: var(--secondary-color);
    color: var(--white-color);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.step h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

/* --- Benefits Section --- */
.cards {
    display: flex;
    gap: 2rem;
    justify-content: center;
}

.card {
    background: var(--white-color);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-align: center;
    flex: 1;
    max-width: 350px;
}

.card i {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* --- Locations Section --- */
.locations {
    background:
        linear-gradient(to right, rgba(42, 58, 137, 0.9), rgba(0, 153, 76, 0.9)),
        url("https://images.unsplash.com/photo-1517498495532-1a257544e3f3?q=80&w=1974&auto=format&fit=crop") no-repeat
            center center/cover;
    color: var(--white-color);
    text-align: center;
}

.locations h2,
.locations .location-content p {
    color: var(--white-color);
}

.locations h2 {
    margin-bottom: 1rem;
}

.location-content ul {
    list-style: none;
    margin: 2rem 0;
    display: inline-flex;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

.location-content li {
    font-size: 1.2rem;
    font-weight: 600;
}

.location-content li i {
    margin-right: 10px;
}

/* --- Partner Section --- */
.partner-section {
    text-align: center;
}
.partner-section ul {
    list-style: none;
    max-width: 600px;
    margin: 2rem auto;
    text-align: left;
}
.partner-section li {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}
.partner-section li i {
    color: var(--secondary-color);
    margin-right: 10px;
}

/* --- Contact Section --- */
.contact p {
    /* CORREÇÃO 1: Centraliza o texto de introdução do formulário */
    text-align: center;
    max-width: 600px;
    margin: 0 auto 1.5rem auto; /* Adiciona margem inferior */
}

.contact form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

.contact input,
.contact textarea {
    padding: 1rem;
    margin-bottom: 1rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-family: "Poppins", sans-serif;
}

.contact button {
    cursor: pointer;
    border: none;
    align-self: center;
}

/* --- Footer --- */
.footer {
    background-color: var(--primary-color);
    color: var(--white-color);
    text-align: center;
    padding: 2rem 0;
}
.footer-logo {
    height: 40px;
    margin-bottom: 1rem;
}
.social-links {
    margin-top: 1rem;
}
.social-links a {
    color: var(--white-color);
    font-size: 1.5rem;
    margin: 0 10px;
    transition: color 0.3s ease;
}
.social-links a:hover {
    color: var(--secondary-color);
}

/* --- Responsive Design --- */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        background-color: var(--white-color);
        position: absolute;
        top: 70px;
        left: 0;
        padding: 1rem 0;
        box-shadow: var(--shadow);
    }
    .nav-links.active {
        display: flex;
    }
    .nav-links li {
        margin: 1rem 0;
        text-align: center;
    }
    .menu-toggle {
        display: block;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .steps,
    .cards {
        flex-direction: column;
        align-items: center;
    }

    .card {
        margin-bottom: 2rem;
    }

    .location-content ul {
        flex-direction: column;
        align-items: center;
    }

    h2 {
        font-size: 2rem;
    }
}
