/* --- GERAL & VARIÁVEIS --- */
:root {
    --primary-color: #1e3a8a; /* Azul escuro do seu app */
    --secondary-color: #4f46e5; /* Roxo/Azul do botão ativo */
    --text-color: #333;
    --light-gray: #f3f4f6;
    --white-color: #fff;
    --box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    color: var(--text-color);
    background-color: var(--white-color);
    line-height: 1.7;
}

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

h1, h2, h3 {
    font-weight: 600;
    color: var(--primary-color);
    line-height: 1.3;
}

h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 20px;
}

p.section-description {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px auto;
    color: #555;
    font-size: 1.1rem;
}

/* --- HEADER --- */
header {
    background: var(--white-color);
    box-shadow: var(--box-shadow);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 15px 0;
}

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

header .logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

header nav {
    display: flex;
    align-items: center;
    gap: 25px;
}

header nav a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 600;
    transition: color 0.3s;
}

header nav a:hover {
    color: var(--secondary-color);
}

/* --- BOTÕES --- */
.cta-button {
    background: var(--secondary-color);
    color: var(--white-color);
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: transform 0.3s, background-color 0.3s;
}

.cta-button:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.cta-button-outline {
    background: transparent;
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
    padding: 10px 22px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.cta-button-outline:hover {
    background: var(--secondary-color);
    color: var(--white-color);
}

/* --- SEÇÃO HERO --- */
#hero {
    background-color: var(--light-gray);
    text-align: center;
    padding: 80px 0;
}

#hero h1 {
    font-size: 3rem;
    max-width: 800px;
    margin: 0 auto 20px auto;
}

#hero .subtitle {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 30px auto;
    color: #444;
}

/* --- SEÇÃO OVERVIEW --- */
#overview {
    padding: 80px 0;
}

.overview-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.overview-card {
    background: var(--white-color);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: transform 0.3s;
}

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

.overview-card .icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.overview-card h3 {
    margin-bottom: 10px;
}

/* --- SEÇÃO FEATURES --- */
#features {
    padding: 80px 0;
    background-color: var(--light-gray);
}

.feature-block {
    display: flex;
    align-items: center;
    gap: 50px;
    margin-bottom: 70px;
}

.feature-block.reverse {
    flex-direction: row-reverse;
}

.feature-text {
    flex: 1;
}

.feature-text h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.feature-text ul {
    list-style: none;
    padding: 0;
}

.feature-text ul li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
    font-size: 1.05rem;
}

.feature-text ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
    font-size: 1.2rem;
}

.feature-image {
    flex: 1;
}

.feature-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
}

/* --- SEÇÃO CONTATO --- */
#contact {
    padding: 80px 0;
}

#contact-form {
    max-width: 600px;
    margin: 40px auto 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 5px;
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
}

#contact-form button {
    border: none;
    cursor: pointer;
    align-self: flex-start;
}

#form-status {
    margin-top: 15px;
    text-align: center;
    font-weight: 600;
}

/* --- FOOTER --- */
footer {
    background: var(--primary-color);
    color: var(--white-color);
    text-align: center;
    padding: 20px 0;
}

/* --- RESPONSIVIDADE --- */
@media (max-width: 768px) {
    h2 { font-size: 1.8rem; }

    header nav { display: none; } /* Simplificação para mobile */

    #hero h1 { font-size: 2.2rem; }

    .overview-grid {
        grid-template-columns: 1fr;
    }

    .feature-block {
        flex-direction: column;
    }
    .feature-block.reverse {
        flex-direction: column;
    }
}