/* --- CONFIGURAÇÕES GERAIS --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

body {
    background: linear-gradient(135deg, #f0f4f8 0%, #e0f0f5 100%);
    color: #2c394b;
    min-height: 100vh;
    overflow-x: hidden; 
    position: relative; 
    display: flex;
    flex-direction: column;
}

/* --- EFEITO DE FUNDO ANIMADO (PARTÍCULAS) --- */
.bolhas-fundo {
    position: fixed; 
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 0; overflow: hidden; pointer-events: none; margin: 0; padding: 0;
}

.bolhas-fundo li {
    position: absolute; display: block; list-style: none;
    width: 20px; height: 20px;
    background: rgba(11, 180, 182, 0.15); border-radius: 50%;
    animation: animacaoBolhas 25s linear infinite; bottom: -150px;
}

.bolhas-fundo li:nth-child(1) { left: 25%; width: 80px; height: 80px; animation-delay: 0s; }
.bolhas-fundo li:nth-child(2) { left: 10%; width: 20px; height: 20px; animation-delay: 2s; animation-duration: 12s; }
.bolhas-fundo li:nth-child(3) { left: 70%; width: 40px; height: 40px; animation-delay: 4s; }
.bolhas-fundo li:nth-child(4) { left: 40%; width: 60px; height: 60px; animation-delay: 0s; animation-duration: 18s; }
.bolhas-fundo li:nth-child(5) { left: 65%; width: 20px; height: 20px; animation-delay: 0s; }
.bolhas-fundo li:nth-child(6) { left: 75%; width: 110px; height: 110px; animation-delay: 3s; }
.bolhas-fundo li:nth-child(7) { left: 35%; width: 150px; height: 150px; animation-delay: 7s; }
.bolhas-fundo li:nth-child(8) { left: 50%; width: 25px; height: 25px; animation-delay: 15s; animation-duration: 45s; }

@keyframes animacaoBolhas {
    0% { transform: translateY(0) scale(1); opacity: 1; }
    100% { transform: translateY(-1000px) scale(1.5); opacity: 0; }
}

/* --- CABEÇALHO --- */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 8%;
    position: relative;
    z-index: 10; 
}

.logo { font-size: 24px; font-weight: 600; letter-spacing: 2px; color: #2c394b; }
.logo span { color: #0bb4b6; font-weight: 400; }

nav a { text-decoration: none; color: #2c394b; margin-left: 40px; font-size: 15px; font-weight: 500; transition: 0.3s; cursor: pointer; }
nav a:hover, nav a.ativo { color: #0bb4b6; }
nav a.ativo { border-bottom: 2px solid #0bb4b6; padding-bottom: 5px; }

/* --- CLASSE PARA ESCONDER SECÇÕES --- */
.escondido { display: none !important; }

/* --- ÁREA PRINCIPAL (HERO) --- */
.hero {
    display: flex;
    align-items: center;
    padding: 0 8%;
    flex: 1; 
    position: relative; 
    z-index: 5; 
    overflow: hidden; 
    padding-bottom: 0 !important;
}

.conteudo-texto { 
    flex: 1; 
    max-width: 500px; 
    position: relative;
    z-index: 1; 
}
.conteudo-texto h1 { font-size: 52px; line-height: 1.2; margin-bottom: 20px; }
.conteudo-texto h1 span { color: #0bb4b6; }
.conteudo-texto p { font-size: 16px; line-height: 1.6; color: #5a6b7c; margin-bottom: 40px; }

.btn { display: inline-block; background-color: #0bb4b6; color: white; padding: 15px 30px; border-radius: 30px; text-decoration: none; font-weight: 600; transition: 0.3s; }
.btn:hover { background-color: #099395; }

/* --- AJUSTES DA IMAGEM DA MULHER --- */
.espaco-image {
    position: absolute;
    bottom: 0; 
    right: 5%;
    height: 85vh;
    display: flex;
    align-items: flex-end;
    z-index: 0; 
}

.fundo-mulher { 
    max-height: 80%;
    width: auto;
    object-fit: contain;
    object-position: bottom;
    filter: contrast(1.1) brightness(1.1); 
    display: block; 
}

/* --- SECÇÃO EMPRESA & CONTATO --- */
.secao-centralizada {
    padding: 80px 8%;
    text-align: center;
    flex: 1; 
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 5; 
}

.secao-centralizada h2 { font-size: 36px; margin-bottom: 20px; }
.secao-centralizada p { font-size: 18px; line-height: 1.6; max-width: 800px; margin-bottom: 40px; color: #5a6b7c; }

/* --- CARDS (EMPRESA E SOLUÇÕES) --- */
.grid-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 30px;
    width: 100%;
    max-width: 1000px;
}
.card {
    background-color: rgba(255, 255, 255, 0.6); 
    padding: 25px;
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    text-align: left;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
}
.card h3 {
    color: #0bb4b6; 
    margin-bottom: 15px;
    font-size: 1.2rem;
}
.card p {
    font-size: 0.95rem;
    line-height: 1.5;
    color: #5a6b7c;
    margin-bottom: 0;
}

/* --- ESTILOS DO FORMULÁRIO DE CONTATO --- */
.formulario-contato { display: flex; flex-direction: column; gap: 15px; width: 100%; max-width: 500px; }
.formulario-contato input, .formulario-contato textarea { padding: 15px; border: 1px solid #ccc; border-radius: 8px; font-size: 16px; outline: none; transition: 0.3s; background: rgba(255,255,255,0.8); }
.formulario-contato input:focus, .formulario-contato textarea:focus { border-color: #0bb4b6; background: #fff; }
.formulario-contato textarea { resize: vertical; min-height: 120px; }
.btn-enviar { background-color: #0bb4b6; color: white; padding: 15px; border: none; border-radius: 30px; font-weight: 600; font-size: 16px; cursor: pointer; transition: 0.3s; }
.btn-enviar:hover { background-color: #099395; }

.info-contato {
    margin-top: 40px;
    text-align: left;
    background-color: rgba(255, 255, 255, 0.6);
    padding: 20px;
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    width: 100%;
    max-width: 500px;
}
.info-contato p {
    margin: 5px 0;
    font-size: 0.95rem;
    color: #5a6b7c;
}
.privacidade-texto {
    margin-top: 15px !important;
    font-size: 0.85rem !important;
}
.privacidade-texto a {
    color: #0bb4b6 !important;
    text-decoration: none;
}

/* --- FOOTER INSTITUCIONAL --- */
.footer-institucional {
    background-color: #111; 
    color: #ddd;
    padding: 40px 20px 20px;
    margin-top: 0; /* CORREÇÃO AQUI: Remove o espaço vazio acima do rodapé */
    font-size: 0.85rem;
    border-top: 1px solid #333;
    z-index: 10;
    position: relative;
}
.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}
.footer-coluna h4 {
    color: #fff;
    margin-bottom: 15px;
    font-size: 1rem;
}
.footer-coluna p {
    margin: 5px 0;
    line-height: 1.4;
    color: #ddd;
}
.footer-coluna a {
    color: #ddd;
    text-decoration: none;
    display: block;
    margin-bottom: 8px;
    cursor: pointer;
    transition: color 0.3s;
}
.footer-coluna a:hover {
    color: #0bb4b6;
    text-decoration: none;
}
.footer-bottom {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #333;
    font-size: 0.8rem;
    color: #777;
}

/* --- RESPONSIVIDADE --- */
@media (max-width: 768px) {
    header { flex-direction: column; gap: 15px; padding: 20px 5%; }
    nav a { margin: 0 10px; }
    .hero { flex-direction: column; text-align: center; padding-top: 30px; /* CORREÇÃO: Removeu min-height forçado em telas pequenas também */ }
    .conteudo-texto { z-index: 2; }
    .conteudo-texto h1 { font-size: 34px; }
    .espaco-image { position: relative; margin-top: 30px; height: 60vh; right: 0; width: 100%; justify-content: center; }
    .fundo-mulher { width: 100%; object-fit: cover; }
    .grid-cards { grid-template-columns: 1fr; }
}