* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Fonte para texto corrido */
body, p, span, input, textarea, a, li, div {
    font-family: 'Roboto', sans-serif;
    color: var(--lp-text-muted);
}

/* Fonte para Títulos e Botões */
h1, h2, h3, h4, h5, h6, .lp-title, .lp-section-title, .btn {
    font-family: 'Montserrat', sans-serif;
}
/* =========================================
   NOVA LANDING PAGE (New Theme)
   ========================================= */

/* Variáveis locais para a LP */
:root {
    --lp-primary: #133C59;
    --lp-primary-hover: #32518c;
    --lp-dark: #133C59;
    --lp-light-bg: #FFFFFF;
    --navbar-height: 100px;
    --lp-text-muted: #636362;
}
.navbar {
    min-height: var(--navbar-height); /* Força a altura mínima */
    height: var(--navbar-height);
    display: flex;
    align-items: center; /* Centraliza logo e links verticalmente */
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}
/* Reset básico para a LP */
.lp-wrapper {
    font-family: poppins, sans-serif;
    margin-top: var(--navbar-height);
    overflow-x: hidden;
    background-color: #FFF;
}
/* Wrapper para páginas internas (Startups, Login, etc) */
/* Empurra o conteúdo para baixo da navbar fixa */
.internal-page-wrapper {
    margin-top: var(--navbar-height); 
    /*min-height: calc(100vh - var(--navbar-height));  Garante altura mínima correta */
}
/* Opcional: Ajuste fino para garantir que sticky-top ou fixed-top respeitem a altura */
.navbar.fixed-top, .navbar.sticky-top {
    top: 0;
    width: 100%;
}

/* NAVBAR DA LP */
.lp-navbar {
    background-color: var(--lp-primary);
    padding: 0;
    height: var(--navbar-height);
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.lp-navbar .nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 500;
    font-size: 18px;
    margin: 0 15px;
}

.lp-navbar .nav-link:hover {
    color: #fff !important;
    transform: translateY(-1px);
}

/* Botões Customizados */
.btn-lp-outline {
    border: 1px solid rgba(255,255,255,0.6);
    color: white;
    padding: 0.5rem 1.8rem;
    font-weight: bold;
    font-size: 14px;
    border-radius: 8px;
    transition: all 0.3s;
}

.btn-lp-outline:hover {
    background-color: white;
    color: var(--lp-primary);
}

.btn-lp-primary {
    background-color: #04B4E3;
    color: white;
    border: none;
    padding: 0.8rem 2.5rem;
    font-weight: 600;
    border-radius: 24px;
    transition: background 0.3s, transform 0.2s;
}

.btn-lp-primary:hover {
    background-color: #007EC8;
    transform: translateY(-2px);
    color: white;
}

/* Títulos e Textos */
.lp-title {
    color: var(--lp-dark);
    font-weight: bold;
    line-height: 1.25;
    letter-spacing: 0;
    font-size: 48px;
}

.lp-section-title {
    color: var(--lp-dark);
    font-weight: 700;
    font-size: 36px;
    margin-bottom: 1.5rem;
}

.lp-subtitle {
    font-size: 18px;
    line-height: 1.5;
    color: var(--lp-text-muted);
    text-align: justify;
}
.lp-startup {
    font-size: 24px;
    line-height: 1.5;
    color: #FFFFFF;
    text-align: justify;
    font-weight: 600;
}

/* Configuração Geral das Dobras */
.lp-section {
    min-height: calc(100vh - var(--navbar-height));
    display: flex;    
    align-items: center;
    padding-bottom: 4rem;
    position: relative;
}

/* Scroll suave compensando o menu fixo */
html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--navbar-height);
}

/* SEÇÃO STARTUPS (Background Image) */
#startups {
    background-image: url('https://images.unsplash.com/photo-1497366216548-37526070297c?q=80&w=1600&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
}

.bg-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(29, 37, 69, 0.85), rgba(0, 0, 0, 0.6));
    z-index: 1;
}

/* CARDS */
.lp-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 12px;
    overflow: hidden;
    height: 100%;
}

.lp-card img {
    height: 220px;
    object-fit: cover;
}

.lp-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1) !important;
}

/* RODAPÉ / CONTATO */
#contato {
    background-image: url('https://images.unsplash.com/photo-1497215728101-856f4ea42174?q=80&w=1600&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
}

.contact-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(29, 37, 69, 0.95), rgba(0, 115, 190, 0.85));
    z-index: 1;
}

/* Responsividade */
@media (max-width: 991px) {
    .lp-section {
        min-height: auto; /* Em mobile, remove altura mínima forçada */
        padding-top: 6rem;
        padding-bottom: 3rem;
    }
    
    .lp-title {
        font-size: 2.5rem;
    }
    
    #hero {
        text-align: center;
    }
    
    #hero .row {
        flex-direction: column-reverse;
    }
}

/* Media Queries para Responsividade */

/* Telas de tablet e menores */
@media (max-width: 992px) {
  .navbar-nav {
    text-align: center;
    padding-top: 1rem;
  }
  .header-buttons {
    justify-content: center !important;
    margin-top: 1rem;
  }
}

/* Telas de celular */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2.5rem; /* Diminui a fonte do título principal */
  }

  .hero-content p {
    font-size: 1rem; /* Diminui a fonte do subtítulo */
  }
}

/* =========================================
   PÁGINA DE STARTUPS (LISTAGEM)
   ========================================= */

/* Cores Utilitárias */
.text-moa-primary {
    color: var(--lp-primary);
}

.text-moa-dark {
    color: var(--lp-dark);
}

.bg-light-grey {
    background-color: #E6E6E6; /* Cor de fundo da área do logo */
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
}

/* Botão Primário Sólido */
.btn-moa-primary {
    background-color: #00B3E2;
    color: white;
    border: 1px solid #00B3E2;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-moa-primary:hover {
    background-color: #007EC8;
    border-color: #007EC8;
    color: white;
}

/* CARD DE STARTUP */
.startup-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 12px;
    background-color: white;
    border: 1px solid #dee2e6 !important; /* Borda suave */
}

.startup-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
    border-color: #0073BE !important; /* Borda azul no hover */
}

.startup-card .card-body {
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
}

/* INPUTS DE FILTRO */
.form-control, .form-select {
    border-color: #ced4da;
    color: #6c757d;
}

.form-control:focus, .form-select:focus {
    border-color: #0073BE;
    box-shadow: 0 0 0 0.25rem rgba(0, 115, 190, 0.25);
}

/* PAGINAÇÃO CUSTOMIZADA */
.pagination .page-link {
    color: #6c757d;
    background: transparent;
    font-weight: 500;
    margin: 0 2px;
    border-radius: 4px;
}

.pagination .page-item.active .page-link {
    background-color: #0073BE;
    border-color: #0073BE;
    color: white;
}

.pagination .page-link:hover {
    color: #0073BE;
    background-color: #e9ecef;
}

/* =========================================
   PÁGINA DE MENTORES
   ========================================= */

/* Botões de Redes Sociais no Card */
.mentor-img-wrapper {
    height: 280px; /* Altura fixa para todos os cards */
    width: 100%;
    overflow: hidden;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    background-color: #f0f0f0; /* Cor de fundo enquanto carrega */
}

/* A imagem em si */
.mentor-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover; /*Corta a imagem para preencher sem distorcer */
    object-position: top center; /* Foca no rosto (parte de cima) */
    transition: transform 0.3s ease;
}

/* Efeito de zoom suave ao passar o mouse */
.startup-card:hover .mentor-img-wrapper img {
    transform: scale(1.05);
}

/* Botões de Redes Sociais */
.social-btn {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background-color: #F3F4F6;
    color: var(--lp-dark);
    font-size: 1.2rem;
    transition: all 0.2s ease;
    text-decoration: none;
    border: 1px solid transparent;
}

.social-btn:hover {
    background-color: var(--lp-primary);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(0, 115, 190, 0.3);
}

/* === PÁGINA DE ACELERADORAS === */

.accelerator-img-wrapper {
    height: 250px; /* Um pouco menor que o de mentores */
    width: 100%;
    overflow: hidden;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    background-color: #f0f0f0;
    position: relative;
}

.accelerator-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center; /* Centraliza a foto do escritório */
    transition: transform 0.5s ease;
}

/* Efeito de zoom para ambientes */
.startup-card:hover .accelerator-img-wrapper img {
    transform: scale(1.1);
}

/* === PÁGINA DE MATERIAIS === */

.material-img-wrapper {
    height: 240px;
    width: 100%;
    overflow: hidden;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    background-color: #000; /* Fundo preto caso a imagem demore */
    position: relative;
}

.material-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.9; /* Leve escurecida na imagem para destacar o play */
    transition: transform 0.5s ease, opacity 0.3s ease;
}

/* O botão de Play */
.play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    
    width: 60px;
    height: 40px;
    background-color: rgba(0, 0, 0, 0.6); /* Fundo escuro transparente */
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255,255,255,0.2);
}

.play-overlay i {
    color: white;
    font-size: 1.2rem;
}

/* Efeitos de Hover */
.startup-card:hover .material-img-wrapper img {
    transform: scale(1.05);
    opacity: 1;
}

.startup-card:hover .play-overlay {
    background-color: var(--lp-primary); /* Fica azul no hover */
    width: 70px; /* Leve crescimento */
    height: 45px;
    border-color: transparent;
}

/* === PÁGINA DE EVENTOS === */

.event-img-wrapper {
    height: 200px; /* Altura padrão para eventos */
    width: 100%;
    overflow: hidden;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    background-color: #f0f0f0;
}

.event-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.startup-card:hover .event-img-wrapper img {
    transform: scale(1.1);
}

/* === PÁGINA DE NOTÍCIAS === */

.news-img-wrapper {
    height: 200px;
    width: 100%;
    overflow: hidden;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    background-color: #f0f0f0;
}

.news-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

/* Efeito de hover na imagem */
.startup-card:hover .news-img-wrapper img {
    transform: scale(1.05);
}

/* Link esticado (stretched-link) precisa de position relative no pai, 
   o bootstrap já cuida disso */
.startup-card:hover .card-title a {
    color: var(--lp-primary) !important;
    transition: color 0.3s ease;
}

/* =========================================
   MENU MOBILE RESPONSIVO (OFFCANVAS)
   ========================================= */

/* Estilo do Painel (Fundo Azul) */
.offcanvas-moa {
    background-color: var(--lp-primary);
    color: white;
    border: none;
}

/* Link dos Itens no Mobile */
.offcanvas-moa .nav-link {
    color: white !important;
    font-size: 1.5rem; /* Fonte maior para toque */
    font-weight: 400;
    padding: 15px 0;
}

.offcanvas-moa .nav-link:hover,
.offcanvas-moa .nav-link.active {
    font-weight: 600;
    opacity: 1;
}

/* Botão Fechar (Círculo Branco com X) */
.btn-close-moa {
    background-color: white;
    border-radius: 50%;
    opacity: 1;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s;
    border: none;
}

.btn-close-moa i {
    color: var(--lp-primary);
    font-size: 1.2rem;
}

.btn-close-moa:hover {
    transform: rotate(90deg); /* Efeito de rotação */
}

/* Botão Entrar no Mobile */
.mobile-auth-btn {
    margin-top: 2rem;
    width: 100%;
    padding: 12px;
    font-size: 1.1rem;
    border: 2px solid white;
    color: white;
    font-weight: 700;
    border-radius: 8px;
    text-align: center;
    display: block;
}

.mobile-auth-btn:hover {
    background-color: white;
    color: var(--lp-primary);
}

/* Ajuste para o Toggler (Hambúrguer) */
.navbar-toggler {
    border: none;
    padding: 0;
}
.navbar-toggler:focus {
    box-shadow: none;
}

/* === PÁGINA DE SOLUÇÕES === */

.solution-img-wrapper {
    height: 230px;
    width: 100%;
    overflow: hidden;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    background-color: #f0f0f0;
}

.solution-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

/* Efeito de zoom no hover */
.startup-card:hover .solution-img-wrapper img {
    transform: scale(1.05);
}

/* =========================================
   PÁGINA DE LOGIN PLATAFORMA
   ========================================= */

/* LOGIN */
.login-body {
    background-color: #f8f9fa;
    overflow-x: hidden;
}

.form-control, .btn {
    transition: all 0.3s ease-in-out;
}

.form-control:focus {
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
    border-color: #86b7fe;
}

.image-column {
    background-image: linear-gradient(to bottom,#0E0C1900 ,#100E1D);
    height: 1024px;
    background-size: cover;
    position: relative;
    opacity: 50%;
    animation: fadeIn 1s forwards;

}

.logo-moa {
    position: absolute;
    top: 950px;
    left: 200px;
    width: 89px;
    height: 40px;
}

#form-column {
    background-color: #fff;
    opacity: 0;
    transform: translateX(20px);
    animation: slideIn 0.8s forwards 0.3s;
    display: flex;
    justify-content: center; 
    align-items: center;     
}

.login-form-container {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 436px;
    height: auto;
    top: 219px;
    left: 770px;
}

.form-control, .btn {
    transition: all 0.3s ease-in-out;
}

h1 {
    color: #1D2545;
}

.form-label {
    font-size: 14px;
    font-weight: 600;
    color: #1D2545;
}

.form-control {
    color: #86868A;
    font-weight: 500;
    font-size: 14px;
    padding: 12px 16px;
    gap: 16px;
    border-radius: 8px;
    border: 1.2px solid #B9B9BB;
}

/* Password */
#togglePassword {
    border: 1.2px solid #B9B9BB;
    border-left: 0;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

/* Links */
.form-text-link {
    font-size: 0.9rem;
    color: #0073BE;
    text-decoration: none;
    font-weight: 500;
}

.google-login {
    color: #4C5053;
    font-weight: 500;
    font-size: 14px;
}

.form-text-link:hover {
    text-decoration: underline;
}

/* Buttons */
.btn {
    padding: 0.9rem 1rem;
    border-radius: 24px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.btn-next {
    font-size: 16px;
    font-weight: 700;
    line-height: 150%;
    letter-spacing: 0px;
}

.btn-primary {
    background-color: #0073BE;
    border-color: #0073BE;
}

.btn-back {
    background-color: #F2F7F7;
    border-color: #F2F7F7;
}

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

/* === INÍCIO: NOVOS ESTILOS PARA O INDICADOR DE PROGRESSO === */

.progress-indicator {
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
}

.progress-indicator .progress-icon {
    font-weight: 700;
    display: inline-block;
    background-color: #EBEBEB;
    border-radius: 8px;
    padding: 8px;
}

.progress-indicator .progress-icon i {
    line-height: 0%;
    font-size: 1.4rem;
    font-weight: 600;
    color: #1D2545;
    vertical-align: middle;
}

.progress-indicator h2 {
    color: #212529;
    font-weight: 700;
}

.progress-bars {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.bar {
    height: 6px;
    min-width: 148px;
    width: 100%;
    background-color: #e9ecef;
    border-radius: 10px;
    transition: background-color 0.4s ease-in-out;
}

.bar.active {
    background-color: #0073BE;
}

/* === FIM: NOVOS ESTILOS PARA O INDICADOR DE PROGRESSO === */

/* === INÍCIO: ESTILOS PARA CAMPOS DE CÓDIGO (OTP) === */

.otp-inputs-container {
    max-width: 320px;
    margin: 0 auto;
}

.otp-input {
    width: 50px;
    height: 60px;
    font-size: 1.5rem;
    text-align: center;
    font-weight: 600;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}

/* Altera a cor do botão quando desabilitado para combinar com o design */
#btn-proximo:disabled {
    background-color: #ced4da;
    border-color: #ced4da;
    cursor: not-allowed;
}

#resend-code.disabled {
    color: #6c757d;
    pointer-events: none;
    text-decoration: none;
}

/* === FIM: ESTILOS PARA CAMPOS DE CÓDIGO (OTP) === */

/* === INÍCIO: ESTILOS PARA ESTADO DE ERRO DO OTP === */

/* Altera a borda dos inputs quando o container pai tem a classe 'error' */
#otp-container.error .otp-input {
    border-color: var(--bs-danger);
}

/* Altera o brilho do foco para vermelho também */
#otp-container.error .otp-input:focus {
    border-color: var(--bs-danger);
    box-shadow: 0 0 0 0.25rem rgba(220, 53, 69, 0.25);
}

.alert-icon {
    font-size: 1.5rem;
}

/* === FIM: ESTILOS PARA ESTADO DE ERRO DO OTP === */

/* === INÍCIO: ESTILOS PARA O MODAL DE SUCESSO === */

.modal-content {
    border-radius: 1rem;
    border: none;
}

.success-icon-container i {
    font-size: 4rem;
    color: #198754;
}

/* === FIM: ESTILOS PARA O MODAL DE SUCESSO === */

/* MANAGER SETUP */
.file-drop-area {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 25px;
    border: 2px dashed #ced4da;
    border-radius: .375rem;
    cursor: pointer;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}
.file-drop-area:hover {
    border-color: #0d6efd;
}
.file-drop-area .file-msg {
    color: #6c757d;
    font-size: 0.9rem;
}
.file-drop-area .file-input {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    cursor: pointer;
    opacity: 0;
}
.file-name-display {
    font-size: 0.8rem;
    color: #212529;
    margin-top: 5px;
    font-style: italic;
}
.download-template-link {
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
}
.download-template-link i {
    margin-right: 4px;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

@keyframes slideIn {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}


/* Responsividade */
@media (max-width: 767.98px) {
    #form-column {
        padding: 2rem;
        animation: fadeIn 1s forwards; 
    }

    .login-form-container {
        padding-top: 2rem;
    }
}
/* ================== RESPONSIVIDADE ================== */

/* Dispositivos até 768px (celulares) */
@media (max-width: 767.98px) {
    #form-column {
        padding: 2rem;
        animation: fadeIn 1s forwards;
    }

    .login-form-container {
        padding-top: 2rem;
        max-width: 100%;
    }

    .image-column {
        display: none; /* esconde imagem em telas pequenas */
    }

    .logo-moa {
        top: auto;
        left: 50%;
        bottom: 20px;
        transform: translateX(-50%);
    }

    .progress-indicator {
        max-width: 90%;
    }

    .bar {
        min-width: 80px;
    }

    .otp-input {
        width: 45px;
        height: 55px;
        font-size: 1.3rem;
    }
}

/* Tablets (768px até 991px) */
@media (min-width: 768px) and (max-width: 991.98px) {
    .login-form-container {
        padding: 1.5rem;
        max-width: 90%;
    }

    .image-column {
        height: auto;
        min-height: 400px;
    }

    .logo-moa {
        top: auto;
        left: 20px;
        bottom: 20px;
        transform: none;
    }

    .progress-indicator {
        max-width: 250px;
    }

    .bar {
        min-width: 100px;
    }
}

/* Telas grandes (>= 1200px) */
@media (min-width: 1200px) {
    .login-form-container {
        max-width: 436px;
    }

    .image-column {
        height: 100vh;
    }

    .logo-moa {
        top: auto;
        bottom: 40px;
        left: 200px;
        transform: none;
    }
}
