:root {
    --primary: #0072bc;
    --secondary: #ff8c00;
    --dark: #1e293b;
    --light: #f8fafc;
    --gray: #64748b;
}

* { 
    box-sizing: border-box; 
    margin: 0; 
    padding: 0; 
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; 
}
body { 
    background-color: var(--light); 
    color: var(--dark); 
    line-height: 1.6; 
}

/* Header e Nav (Versão Computador - Inalterada) */
header { 
    background: #fff; 
    padding: 15px 5%; 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    box-shadow: 0 2px 10px rgba(0,0,0,0.05); 
    position: sticky; 
    top: 0; 
    z-index: 100; 
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo-container img {
    width: 162px;
    height: 55px;
    object-fit: contain;
}

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

.nav-links a { 
    margin-left: 20px; 
    text-decoration: none; 
    color: var(--dark); 
    font-weight: 500; 
}

.btn-cta { 
    background: var(--secondary); 
    color: #fff; 
    padding: 10px 20px;
    border-radius: 5px; 
    text-decoration: none; 
    font-weight: bold; 
    transition: 0.3s; 
}
.btn-cta:hover { 
    background: #e07b00; 
}

/* Hero Section */
.hero { 
    background: linear-gradient(135deg, var(--primary) 0%, #004080 100%); 
    color: #fff; 
    padding: 80px 5% 60px; 
    text-align: center; 
}
.hero h1 { 
    font-size: 2.8rem; 
    margin-bottom: 20px; 
    font-weight: 800; 
}
.hero p { 
    font-size: 1.2rem; 
    max-width: 800px; 
    margin: 0 auto 30px; 
    opacity: 0.9; 
}

/* Seções */
.section { 
    padding: 60px 5%; 
    max-width: 1200px; 
    margin: 0 auto; 
}
.section-title { 
    text-align: center; 
    font-size: 2rem; 
    color: var(--primary); 
    margin-bottom: 40px; 
}

/* Grid de Benefícios */
.grid-benefits { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); 
    gap: 25px; 
}
.card-benefit { 
    background: #fff; 
    padding: 25px; 
    border-radius: 8px; 
    box-shadow: 0 4px 6px rgba(0,0,0,0.05); 
    border-top: 4px solid var(--secondary); 
    text-align: center; 
}
.card-benefit h3 { 
    color: var(--primary); 
    margin-bottom: 10px; 
}

/* Públicos Alvo */
.grid-target { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); 
    gap: 20px; 
    text-align: center; 
}
.target-box { 
    background: #fff; 
    padding: 20px; 
    border-radius: 8px; 
    border: 1px solid #e2e8f0; 
    font-weight: bold; 
    color: var(--dark); 
}

/* Timeline de Etapas */
.timeline { 
    display: flex; 
    flex-wrap: wrap; 
    justify-content: space-between; 
    gap: 15px; 
    margin-top: 30px; 
}
.step-card { 
    background: #fff; 
    flex: 1; 
    min-width: 160px; 
    padding: 20px 15px; 
    border-radius: 8px; 
    text-align: center; 
    box-shadow: 0 2px 4px rgba(0,0,0,0.05); 
    border-bottom: 3px solid var(--primary); 
}
.step-number { 
    background: var(--primary); 
    color: #fff; 
    width: 35px; 
    height: 35px; 
    border-radius: 50%; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    margin: 0 auto 10px; 
    font-weight: bold;
}

/* Destaque Automação (Robôs) */
.robot-section { 
    background: #eef6ff; 
    border-radius: 12px; 
    padding: 40px; 
    margin-top: 40px; 
}
.robot-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); 
    gap: 20px; 
    margin-top: 20px; 
}
.robot-card { 
    background: #fff; 
    padding: 20px; 
    border-radius: 8px; 
    border-left: 4px solid var(--primary); 
}

/* Formulário de Prospecção */
.lead-form-container { 
    background: #fff; 
    padding: 40px; 
    border-radius: 12px; 
    box-shadow: 0 10px 25px rgba(0,0,0,0.1); 
    max-width: 600px; 
    margin: 0 auto; 
}
.form-group { 
    margin-bottom: 20px; 
}
.form-group label { 
    display: block; 
    margin-bottom: 8px; 
    font-weight: 600; 
}
.form-group input, 
.form-group select, 
.form-group textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 12px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    font-size: 1rem;
    resize: none;
    font-family: inherit;
}

.form-group textarea::placeholder,
.form-group input::placeholder {
    color: #94a3b8;
    opacity: 1;
}

.label-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.label-container label {
    margin-bottom: 0;
}

.char-counter {
    font-size: 0.8rem;
    color: var(--gray);
}

.btn-submit { 
    width: 100%; 
    background: var(--secondary); 
    color: #fff; 
    border: none; 
    padding: 15px; 
    font-size: 1.1rem; 
    font-weight: bold; 
    border-radius: 6px; 
    cursor: pointer; 
}
.btn-submit:hover { 
    background: #e07b00; 
}

/* Footer */
footer {
    background: var(--dark); 
    color: #fff; 
    text-align: center; 
    padding: 30px; 
    font-size: 0.9rem; 
}

/* Estilo da mensagem de feedback */
.feedback-message {
    padding: 12px 16px;
    border-radius: 6px;
    margin-bottom: 20px;
    font-size: 0.95rem;
    font-weight: bold;
}
.feedback-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}
.feedback-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

/* ==========================================================================
   Ajuste Responsivo do Menu para Dispositivos Móveis (Lado a Lado Compacto)
   ========================================================================== */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        align-items: center;
        padding: 10px 5px;
        gap: 10px;
    }

    .nav-links {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        width: 100%;
        gap: 4px;
        margin-left: 0;
    }

    .nav-links a {
        margin-left: 0;
        font-size: 0.8rem;
        padding: 4px 2px;
        white-space: nowrap;
        display: inline-flex;
        align-items: center;
    }

    /* Adiciona a barra separadora "|" entre os links normais */
    .nav-links a:not(.btn-cta):not(:nth-last-child(2))::after {
        content: "|";
        margin-left: 6px;
        margin-right: 2px;
        color: #cbd5e1;
        font-weight: normal;
    }

    /* Estilização compacta para o botão CTA no mobile */
    .nav-links .btn-cta {
        padding: 4px 8px;
        font-size: 0.8rem;
        border-radius: 4px;
        margin-left: 4px;
    }
}

/* ==========================================================================
   Ajuste do Botão CTA do Hero no Mobile
   ========================================================================== */
   @media (max-width: 768px) {
    .hero .btn-cta {
        display: inline-block;
        font-size: 0.95rem !important; /* Reduz levemente a fonte para caber no celular */
        padding: 12px 16px !important;  /* Ajusta os espaçamentos internos */
        max-width: 100%;               /* Garante que não ultrapasse a tela */
        white-space: normal;           /* Permite que quebre linha de forma limpa se necessário */
        text-align: center;
        line-height: 1.3;
    }
}