/* --- Configurações Globais e Variáveis --- */
:root {
    --primary-color: #104fac;
    /* Azul forte - para CTAs e destaques */
    --secondary-color: #0a2540;
    /* Azul escuro/quase preto - para textos e fundos */
    --accent-color: #425466;
    /* Cinza azulado - para textos secundários */
    --background-color: #f6f9fc;
    /* Cinza muito claro - para fundo de seções */
    --white-color: #ebebf3;
    --black-color: #39393e;
    --success-color: #28a745;
    --error-color: #dc3545;
    --font-family: 'Poppins', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--secondary-color);
    background-color: var(--white-color);
}

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

a {
    color: var(--white-color);
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.3s ease;
}

a:hover {
    opacity: 0.8;
}




h1,
h2,
h3 {
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--black-color);
}

h2 {
    font-size: 2.5rem;
    text-align: center;
    color: var(--black-color);
}

p {
    margin-bottom: 1rem;
    color: var(--black-color);
}

.p2 {
    margin-bottom: 1rem;
    color: var(--white-color);
}

/* --- Seção Hero (Cabeçalho) --- */
.hero {
    background: linear-gradient(rgba(10, 37, 64, 0.8), rgba(10, 37, 64, 0.8)),
        url('https://images.unsplash.com/photo-1556740738-b6a63e27c4df?auto=format&fit=crop&w=1350') no-repeat center center/cover;
    color: var(--white-color);
    padding-bottom: 6rem;
    text-align: center;
}

/* --- Barra de Navegação --- */
.navbar {
    padding: 1.5rem 0;
}

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

.logo-text {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0;
    color: var(--white-color);
}

.logo-img {
    height: 50px;
    /* Ajuste a altura conforme necessário */
    width: auto;
}

.nav-links {
    display: flex;
    align-items: center;
    list-style: none;
}

.nav-links li {
    margin-left: 2rem;
}

.nav-links a {
    color: var(--white-color);
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.3s ease;
}

.nav-links a:hover {
    opacity: 0.8;
}

.nav-button {
    background-color: rgba(255, 255, 255, 0.099);
    padding: 0.5rem 1rem;
    border-radius: 5px;
    width: 80px;
    height: 30px;
    font-size: 14px;
}

.hero-title {
    font-size: 3rem;
    color: var(--white-color);
    /* h2 dentro do hero */
    margin-top: 4rem;
}

.hero p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 2rem auto;
}

.cta-button {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--white-color);
    padding: 1rem 2.5rem;
    border-radius: 5px;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #003d99;
}

/* --- Seção de Funcionalidades --- */
.features {
    padding: 4rem 0;
    background-color: var(--background-color);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    text-align: center;
}

.feature-item i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.feature-item h3 {
    font-size: 1.5rem;
    color: var(--secondary-color);
}

.feature-item p {
    color: var(--accent-color);
}

/* --- Seção de CTA e Formulário --- */
.cta-section {
    padding: 4rem 0;
    text-align: center;
}

#contact-form {
    max-width: 600px;
    margin: 2rem auto 0 auto;
    text-align: left;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.consent-group {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.consent-group input {
    margin-right: 0.5rem;
}

.consent-group label {
    font-size: 0.9rem;
    color: var(--accent-color);
}

.submit-button {
    width: 100%;
    padding: 1rem;
    background-color: var(--primary-color);
    color: var(--white-color);
    border: none;
    border-radius: 5px;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.submit-button:hover {
    background-color: #003d99;
}

.error-message {
    color: var(--error-color);
    font-size: 0.8rem;
    display: block;
    margin-top: 0.2rem;
}

/* --- Rodapé --- */
.footer {
    background-color: var(--secondary-color);
    color: var(--white-color);
    text-align: center;
    padding: 2rem 0;
}

/* --- Botão Flutuante do WhatsApp --- */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: var(--white-color);
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    z-index: 100;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
}

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

    .hero-title {
        font-size: 2.5rem;
    }

    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 24px;
    }

    .navbar .container {
        flex-direction: column;
    }

    .nav-links {
        margin-top: 1rem;
    }

    .hero-title {
        margin-top: 2rem;
    }
}