/* Variáveis para fácil manutenção */
:root {
    --primary-color: #1e40af; /* Azul BNB / Corporativo */
    --secondary-color: #3b82f6;
    --dark-bg: #0f172a;
    --light-bg: #f8fafc;
    --text-main: #1e293b;
    --text-muted: #64748b;
    --white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

html { scroll-behavior: smooth; }

/*body { background-color: var(--light-bg); color: var(--text-main); line-height: 1.6; } */
body {
    font-family: 'Inter', sans-serif;
    background: #f8fafc;
    color: #1e293b;
    line-height: 1.6;
}

/* títulos */
h1, h2, h3 {
    font-weight: 600;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

/* texto */
p {
    margin-bottom: 12px;
    color: #475569;
}

/* Navegação */
nav {
    position: fixed;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
}

.logo { font-size: 1.5rem; font-weight: bold; color: var(--primary-color); }
.logo span { color: var(--secondary-color); }

.nav-links a {
    text-decoration: none;
    color: var(--text-main);
    margin-left: 2rem;
    font-weight: 500;
    transition: 0.3s;
}

.nav-links a:hover { color: var(--primary-color); }

/* Estilo para a nova aba pessoal */
.nav-links a.nav-item-pessoal {
    color: var(--primary-color); /* Ou a cor destaque do seu site */
    font-weight: 600;
    margin-left: 1rem;
    padding: 0.5rem 1rem;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

.nav-links a.nav-item-pessoal:hover {
    border-bottom: 2px solid var(--primary-color);
    background: rgba(0, 0, 0, 0.05); /* Um leve destaque ao passar o mouse */
    border-radius: 4px 4px 0 0;
}

/* Hero Section com Imagem do Unsplash */
.hero {
    position: relative;
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    background: var(--dark-bg);
    padding: 0 5%;
    overflow: hidden;
}

.hero-img {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    object-fit: cover;
    opacity: 0.3;
    z-index: 1;
}

.hero-content { position: relative; z-index: 2; max-width: 800px; }

.hero h1 { font-size: 3.5rem; margin-bottom: 1.5rem; line-height: 1.2; }
.hero p { font-size: 1.2rem; margin-bottom: 2rem; color: #cbd5e1; }

/* Botões */
.btn {
    padding: 0.8rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
    display: inline-block;
}

.btn-primary { background: var(--secondary-color); color: white; margin-right: 1rem; }
.btn-primary:hover { background: var(--primary-color); }

.btn-outline { border: 2px solid white; color: white; }
.btn-outline:hover { background: white; color: var(--dark-bg); }

/* Cards de Serviços */
.services { padding: 5rem 5%; text-align: center; }
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.card {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}

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

.card i { font-size: 2.5rem; color: var(--primary-color); margin-bottom: 1rem; }

/* WhatsApp Flutuante */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.2);
    z-index: 1000;
}

/* Seção Autoridade */
.section-autoridade {
    background-color: #0f172a; /* Slate 900 */
    color: #f8fafc;
    padding: 80px 5%;
}

.container-autoridade {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.badge {
    background-color: rgba(59, 130, 246, 0.2);
    color: #60a5fa;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    text-transform: uppercase;
}

.texto-autoridade h2 {
    font-size: 2.5rem;
    margin: 20px 0;
    line-height: 1.2;
}

.texto-autoridade p {
    color: #94a3b8;
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.lista-diferenciais {
    list-style: none;
}

.lista-diferenciais li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.lista-diferenciais i {
    color: #3b82f6;
    margin-right: 15px;
    font-size: 1.2rem;
}

/* Cards de Estatísticas */
.stats-autoridade {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.stat-card {
    background-color: #1e293b;
    padding: 40px 20px;
    border-radius: 15px;
    text-align: center;
    border: 1px solid #334155;
}

.stat-number {
    display: block;
    font-size: 3rem;
    font-weight: bold;
    color: #3b82f6;
}

.stat-label {
    color: #94a3b8;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
}

/* Padrão das novas seções */

.section {
    padding: 80px 0;
}

.section-light {
    background-color: #ffffff;
}

.section-gray {
    background-color: #f7f9fc;
}

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

.section-title {
    text-align: center;
    font-size: 2rem;
    color: #2c3e50;
    margin-bottom: 50px;
}

.section-title::after {
    content: "";
    width: 60px;
    height: 3px;
    background: #2a6df4;
    display: block;
    margin: 10px auto 0;
}

/* Estilização da Seção Instituições e Projetos */
.clientes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.cliente-card {
    background: #ffffff;
    padding: 25px;
    border-radius: 8px;
    border: 1px solid #e3e6ea;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cliente-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.cliente-card h3 {
    font-size: 1.2rem;
    color: #2c3e50;
    margin-bottom: 10px;
}

.cliente-card p {
    color: #555;
    font-size: 0.95rem;
}

/* Estilização da Seção Stack Tecnológica */

.stack-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.stack-grid span {
    background: #eef3ff;
    color: #2a6df4;
    padding: 8px 14px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Estilização da Seção Processo de Trabalho */
.processo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    text-align: center;
}

.passo {
    padding: 25px;
}

.passo h3 {
    font-size: 1.2rem;
    color: #2c3e50;
    margin-bottom: 10px;
}

.passo p {
    font-size: 0.95rem;
    color: #555;
}

/* Estilização da Seção Trajetória */
.section-trajetoria {
    padding: 80px 20px;
    background-color: #ffffff;
}

.container-trajetoria {
    max-width: 850px;
    margin: 0 auto;
}

.section-trajetoria h2 {
    text-align: center;
    color: #2c3e50;
    font-size: 2.5rem;
    margin-bottom: 40px;
    position: relative;
}

.section-trajetoria h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: #007bff; /* Ou a cor primária do seu site */
    margin: 10px auto;
}

.content-trajetoria p {
    line-height: 1.8;
    color: #444;
    font-size: 1.15rem;
    margin-bottom: 20px;
    text-align: justify;
}

.cta-curriculo {
    text-align: center;
    margin-top: 50px;
    padding: 30px;
    background-color: #f8f9fa;
    border-radius: 8px;
}

.cta-curriculo p {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 20px;
}

.btn-trajetoria {
    display: inline-block;
    padding: 15px 35px;
    border: 2px solid #2c3e50;
    color: #2c3e50;
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    transition: all 0.3s ease;
    border-radius: 5px;
}

.btn-trajetoria:hover {
    background-color: #2c3e50;
    color: #ffffff;
}

/* Responsividade */
@media (max-width: 768px) {
    .container-autoridade {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .lista-diferenciais li {
        justify-content: center;
    }
}

/* Footer Social */
.footer-social {
    background-color: #f1f5f9; /* Slate 100 - contraste com o fundo escuro da autoridade */
    padding: 60px 5% 20px 5%;
    border-top: 1px solid #e2e8f0;
    color: #1e293b;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 40px;
}

.footer-brand h3 {
    font-size: 1.5rem;
    color: #1e40af;
    margin-bottom: 15px;
}

.footer-brand h3 span {
    color: #3b82f6;
}

.footer-brand p {
    color: #64748b;
    max-width: 300px;
}

/* Links Sociais */
.footer-links h4, .footer-contact h4 {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: #0f172a;
    font-weight: 700;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.icon-link {
    width: 45px;
    height: 45px;
    background-color: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #475569;
    font-size: 1.2rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.icon-link:hover {
    background-color: #1e40af;
    color: #ffffff;
    border-color: #1e40af;
    transform: translateY(-3px);
}

/* Telefone e Contato */
.phone-link {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.2rem;
    font-weight: bold;
    color: #1e40af;
    text-decoration: none;
    transition: color 0.3s;
}

.phone-link i {
    font-size: 1.5rem;
    color: #25d366; /* Cor oficial do WhatsApp */
}

.phone-link:hover {
    color: #3b82f6;
}

.location {
    margin-top: 10px;
    color: #64748b;
    font-size: 0.9rem;
}

.footer-bottom {
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
    text-align: center;
    font-size: 0.85rem;
    color: #94a3b8;
}

/* Responsividade */
@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer-brand p {
        margin: 0 auto;
    }
    .social-icons {
        justify-content: center;
    }
    .phone-link {
        justify-content: center;
    }
}

/* Estilos para o Modal de E-mail */
.modal-email {
    display: none; /* Escondido por padrão */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.7);
    backdrop-filter: blur(5px);
}

.modal-content-email {
    background-color: #fff;
    margin: 10% auto;
    padding: 2rem;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 5px 30px rgba(0,0,0,0.3);
}

.modal-header-email {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid #eee;
    padding-bottom: 1rem;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.input-readonly {
    background-color: #f4f4f4;
    border: 1px solid #ddd;
    color: #666;
    cursor: not-allowed;
    width: 100%;
    padding: 0.8rem;
    border-radius: 5px;
}

#userMessage {
    width: 100%;
    height: 150px;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    resize: none;
}

.modal-footer-email {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    margin-top: 1.5rem;
}

.btn-cancel {
    background: #ccc;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 5px;
    cursor: pointer;
}

.btn-submit {
    background: #004a8d; /* Use a cor principal do seu site */
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 5px;
    cursor: pointer;
}
