/* RESET BÁSICO E CONFIGURAÇÕES GERAIS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-blue: #2a5298; /* Tom de azul extraído do seu logo */
    --dark-blue: #1e3a6e;
    --background-light: #f4f7fc;
    --text-color: #333;
    --white: #ffffff;
    --gray: #666;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3 {
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.8rem;
    font-weight: 700;
}

h2 {
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 3rem auto;
    color: var(--gray);
}

img {
    max-width: 100%;
    display: block;
}

/* BOTÕES */
.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.btn-primary {
    background-color: var(--primary-blue);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--dark-blue);
    transform: translateY(-3px);
}

.btn-secondary {
    background-color: var(--white);
    color: var(--primary-blue);
    font-size: 1.1rem;
}

.btn-secondary:hover {
    background-color: #eef2f9;
    transform: translateY(-3px);
}

/* HEADER */
.header {
    background: var(--white);
    padding: 20px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    width: 180px;
}

/* SEÇÃO HERO */
.hero {
    background: var(--background-light);
    padding: 80px 0;
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.hero-text {
    flex: 1;
}

.hero-text p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.hero-image {
    flex: 1;
    text-align: center;
}

.hero-image img {
    max-width: 450px;
    margin: 0 auto;
}

/* SEÇÃO FEATURES */
.features {
    padding: 80px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border: 1px solid #eee;
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

/* SEÇÃO DASHBOARD */
.dashboard {
    padding: 80px 0;
    background: var(--background-light);
}

.dashboard-img {
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    margin-top: 2rem;
}

/* SEÇÃO SOCIAL PROOF */
.social-proof {
    background-color: var(--primary-blue);
    color: var(--white);
    padding: 60px 0;
}

.social-proof .container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    text-align: center;
}

.proof-number {
    font-size: 3.5rem;
    font-weight: 700;
}

.proof-text {
    font-size: 1.2rem;
}

.proof-source {
    text-align: center;
    margin-top: 2rem;
    font-size: 0.9rem;
    opacity: 0.8;
}

/* SEÇÃO USE CASES */
.use-cases {
    padding: 80px 0;
}

.use-case-content {
    display: flex;
    align-items: center;
    gap: 4rem;
    margin-bottom: 4rem;
}

/* CÓDIGO NOVO E CORRIGIDO */
.use-case-content img {
    width: 100%; /* Faz a imagem ocupar a largura disponível */
    max-width: 500px; /* Mantém o limite de tamanho para telas grandes */
    height: auto; /* A MÁGICA ACONTECE AQUI! */
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.use-case-text {
    flex: 1;
}
.use-case-content.reverse {
    flex-direction: row-reverse;
}

/* SEÇÃO CTA */
.cta {
    background-color: var(--primary-blue);
    padding: 80px 0;
    text-align: center;
    color: var(--white);
}

.cta h2 {
    font-size: 2.4rem;
}

.cta p {
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

/* FOOTER */
.footer {
    background-color: #1c2a44; /* Azul bem escuro */
    color: var(--white);
    padding-top: 50px;
}

.footer .container {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    padding-bottom: 40px;
}

.footer-content {
    flex: 2;
}
.footer-contact {
    flex: 1;
}
.footer .logo {
    width: 150px;
    margin-bottom: 1rem;
}

.footer-bottom {
    border-top: 1px solid #3e4c68;
    text-align: center;
    padding: 20px 0;
    font-size: 0.9rem;
}

/* AJUSTES PARA TELAS MENORES (RESPONSIVIDADE) */
@media (max-width: 768px) {
    h1 { font-size: 2.2rem; }
    h2 { font-size: 1.8rem; }

    .hero-content {
        flex-direction: column;
        text-align: center;
    }

    .social-proof .container, .use-case-content, .use-case-content.reverse {
        flex-direction: column;
    }
    .use-case-content {
        gap: 2rem;
    }
     .use-case-text {
        text-align: center;
    }
    
    .footer .container {
        flex-direction: column;
        text-align: center;
    }

    .header .container {
        flex-direction: column;
        gap: 1rem;
    }
}