/* Variáveis CSS para cores */
:root {
    --color-dark-bg: #1a1a1a; /* Preto/Cinza escuro para fundo das seções */
    --color-hero-bg: #222; /* Cinza escuro mais suave para a hero section */
    --color-text-light: #f0f0f0; /* Texto claro para contraste */
    --color-text-dark: #333; /* Texto escuro para seções claras */
    --color-accent-yellow: #FFD700; /* Amarelo do LogoIcone.png */
    --color-gray-text: #b0b0b0; /* Cinza para textos secundários */
    --color-navbar-bg: #ffffff; /* Fundo do cabeçalho branco */
    --color-footer-bg: #000; /* Fundo do rodapé preto */
}

/* Reset básico e tipografia */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth; /* Rolagem suave para os links de âncora */
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--color-text-light);
    background-color: var(--color-dark-bg);
}

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

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background-color: var(--color-navbar-bg);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.navbar .navbar-logos {
    display: flex;
    align-items: center;
    gap: 15px;
}

.navbar .logo {
    height: 45px;
    width: auto;
}

/* Menu de Navegação */
.nav-menu {
    list-style: none;
    display: flex;
    gap: 30px;
}

.nav-menu li a {
    color: var(--color-text-dark); /* Cor do texto do menu */
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.nav-menu li a:hover {
    color: var(--color-accent-yellow);
}

/* Botão de Toggle para Mobile */
.menu-toggle {
    display: none; /* Esconde o botão em desktop */
    background: none;
    border: none;
    font-size: 1.8em;
    color: var(--color-text-dark);
    cursor: pointer;
    z-index: 1001; /* Garante que o toggle esteja acima do menu */
}

/* Hero Section */
.hero-section {
    background-color: var(--color-hero-bg);
    padding: 150px 0 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 950px;
    margin: 0 auto;
}

.hero-content h1 {
    font-size: 3em;
    margin-bottom: 20px;
    line-height: 1.2;
    color: var(--color-accent-yellow);
}

.hero-content p {
    font-size: 1.3em;
    margin-bottom: 30px;
    color: var(--color-gray-text);
}

.btn-primary {
    display: inline-block;
    background-color: var(--color-accent-yellow);
    color: var(--color-dark-bg);
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.btn-primary:hover {
    background-color: #e6c200;
}

/* Seções Gerais */
section {
    padding: 60px 0;
    text-align: center;
}

section h2 {
    font-size: 2.5em;
    margin-bottom: 40px;
    color: var(--color-text-light);
}

section p {
    font-size: 1.1em;
    color: var(--color-gray-text);
    max-width: 800px;
    margin: 0 auto 20px auto;
}

/* Problem Solution Section */
.problem-solution-section {
    background-color: var(--color-dark-bg);
}

.problem-solution-section ul {
    list-style: none;
    max-width: 700px;
    margin: 30px auto 0 auto;
    text-align: left;
}

.problem-solution-section ul li {
    background-color: #2a2a2a;
    padding: 15px 20px;
    margin-bottom: 10px;
    border-left: 4px solid var(--color-accent-yellow);
    border-radius: 4px;
    font-size: 1.05em;
    color: var(--color-text-light);
}

/* Preflow Solution Section */
.preflow-solution-section {
    background-color: var(--color-navbar-bg);
    color: var(--color-text-dark);
}

.preflow-solution-section h2,
.preflow-solution-section p {
    color: var(--color-text-dark);
}

.preflow-solution-section .preflow-section-logo {
    height: 60px;
    margin-bottom: 20px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature-item {
    background-color: #f0f0f0;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

.feature-item:hover {
    transform: translateY(-5px);
}

.feature-item .icon-feature {
    font-size: 3em;
    color: var(--color-accent-yellow);
    margin-bottom: 20px;
}

.feature-item h3 {
    color: var(--color-text-dark);
    font-size: 1.5em;
    margin-bottom: 15px;
}

.feature-item p {
    color: var(--color-text-dark);
    font-size: 1em;
    margin: 0;
}

/* Features Showcase Section */
.features-showcase-section {
    background-color: var(--color-dark-bg);
}

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

.feature-block:last-child {
    margin-bottom: 0;
}

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

.feature-text {
    flex: 1;
}

.feature-text h3 {
    font-size: 2em;
    margin-bottom: 20px;
    color: var(--color-accent-yellow);
}

.feature-text p {
    font-size: 1.1em;
    color: var(--color-gray-text);
    margin: 0;
}

.feature-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.responsive-img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

/* Call to Action Final */
.call-to-action-final {
    background-color: #222;
    padding: 80px 0;
}

.call-to-action-final h2 {
    color: var(--color-text-light);
}

/* Footer */
footer {
    background-color: var(--color-footer-bg);
    color: var(--color-gray-text);
    padding: 40px 0 20px 0;
    text-align: center;
}

.footer-content {
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    flex-wrap: wrap;
    margin-bottom: 30px;
    text-align: left;
}

.footer-brand, .footer-contact {
    flex: 1;
    min-width: 280px;
    margin: 20px;
}

.footer-brand .logo-footer {
    height: 40px;
    margin-bottom: 15px;
}

.footer-brand p {
    font-size: 0.95em;
    color: var(--color-gray-text);
    margin: 0;
}

.footer-contact h3 {
    color: var(--color-text-light);
    font-size: 1.4em;
    margin-bottom: 15px;
}

.footer-contact p {
    font-size: 0.95em;
    margin-bottom: 10px;
    color: var(--color-gray-text);
}

.footer-contact a {
    color: var(--color-accent-yellow);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact a:hover {
    color: #e6c200;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 20px;
    font-size: 0.85em;
}

/* Responsividade */
@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 2.5em;
    }

    section h2 {
        font-size: 2em;
    }

    .feature-block {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

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

    .feature-text {
        order: 2;
    }

    .feature-image {
        order: 1;
    }

    /* Menu Responsivo */
    .nav-menu {
        display: none; /* Esconde o menu em telas menores por padrão */
        flex-direction: column;
        position: absolute;
        top: 100%; /* Abaixo da navbar */
        left: 0;
        width: 100%;
        background-color: var(--color-navbar-bg);
        box-shadow: 0 8px 16px rgba(0,0,0,0.1);
        padding: 20px 0;
        border-top: 1px solid #eee;
    }

    .nav-menu.active {
        display: flex; /* Mostra o menu quando a classe 'active' é adicionada */
    }

    .nav-menu li {
        text-align: center;
        margin: 10px 0;
    }

    .nav-menu li a {
        padding: 10px 20px;
        display: block;
    }

    .menu-toggle {
        display: block; /* Mostra o botão de toggle em telas menores */
    }

    .navbar {
        justify-content: space-between; /* Ajusta o alinhamento da navbar */
    }
}

@media (max-width: 768px) {
    .navbar .logo {
        height: 40px;
    }

    .hero-section {
        padding: 120px 0 60px 0;
    }

    .hero-content h1 {
        font-size: 2em;
    }

    .hero-content p {
        font-size: 1.1em;
    }

    .btn-primary {
        padding: 12px 25px;
        font-size: 0.9em;
    }

    section {
        padding: 40px 0;
    }

    section h2 {
        font-size: 1.8em;
        margin-bottom: 30px;
    }

    section p {
        font-size: 1em;
    }

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

    .footer-content {
        flex-direction: column;
        align-items: center;
    }

    .footer-brand, .footer-contact {
        text-align: center;
        margin: 15px 0;
    }
}

@media (max-width: 480px) {
    .navbar .logo {
        height: 35px;
    }

    .hero-content h1 {
        font-size: 1.8em;
    }

    .hero-content p {
        font-size: 0.95em;
    }

    .problem-solution-section ul li {
        font-size: 0.9em;
        padding: 12px 15px;
    }

    .feature-item h3 {
        font-size: 1.3em;
    }

    .feature-text h3 {
        font-size: 1.6em;
    }
}