/* assets/css/style.css */

/* --- Estilos Gerais --- */
body {
    font-family: sans-serif;
    margin: 0;
    color: #fff;
    background-color: #37005b;
    background-image: url("/images/FUNDO_MEIO.png"); /* Ajuste o caminho se necessário */
    background-repeat: no-repeat;
    background-position: center top;
    background-size: cover;
    padding: 15px;
}

.container {
    max-width: 960px;
    margin: 0 auto;
    justify-content: center;
    align-items: center;
}

.destaque {
    color: #f39c12;
    font-weight: bold;
}

/* --- Cabeçalho e Navegação --- */
.main-header {
    background-color: #0d1a2e;
    position: relative;
    padding: 0 2rem;
}

nav {
    height: 100px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo-central img {
    height: 100px;
    width: auto;
}

.botao-flutuante {
    position: absolute;
    right: 0; /* Alinhado à direita da nav */
    top: 50%;
    transform: translateY(-50%);
}

.btn-login {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: transparent;
    border: 2px solid #f39c12;
    color: #f39c12;
    padding: 10px 20px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-login:hover {
    background-color: #f39c12;
    color: #ffffff;
}

.btn-login svg {
    stroke: currentColor;
}


/* --- Seções de Conteúdo --- */
.inicio {
    text-align: center;
    padding: 150px 20px;
    background-image: url("/images/FUNDO_TOPO.png"); /* Ajuste o caminho se necessário */
    background-repeat: repeat;
    background-position: center top;
}

section {
    padding: 40px 20px;
}

section h2 {
    text-align: center;
    margin-bottom: 30px;
}

.button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #004ea2;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 20px;
}

/* --- Popups (Inscrição e Login) --- */
.popup, .popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    overflow-y: auto;
}

.popup-content {
    margin: 5% auto;
    padding: 20px 30px;
    border: 1px solid #888;
    width: 80%;
    max-width: 450px;
    border-radius: 8px;
    position: relative;
    color: #fff;
    background-image: url("/images/FUNDO_MEIO.png"); /* Ajuste o caminho se necessário */
    background-size: cover;
    background-position: center top;
}

.fechar-popup {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    font-weight: bold;
    color: #fff;
    cursor: pointer;
}

/* --- Estilos de Formulário --- */
.input-group {
    margin-bottom: 15px;
}

.input-group label {
    display: block;
    margin-bottom: 5px;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

input[type="submit"], button[type="submit"] {
    background-color: #007bff;
    color: #fff;
    padding: 12px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    width: 100%;
    font-size: 16px;
    font-weight: bold;
}

input[type="submit"]:hover, button[type="submit"]:hover {
    background-color: #0056b3;
}

.checkbox-group label {
    margin-bottom: 5px;
}

/* Mensagem de erro do formulário */
.form-message {
    color: #ffc107;
    margin-top: 15px;
    min-height: 20px;
    text-align: center;
    font-weight: bold;
}

/* --- Validador de Senha --- */
.password-wrapper {
    position: relative;
    width: 100%;
}

#toggle-password {
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
    cursor: pointer;
    color: #888;
}

#password-criteria {
    margin-top: 15px;
    padding-left: 0;
    list-style-type: none;
    font-size: 14px;
}

#password-criteria li {
    margin-bottom: 8px;
    color: #d32f2f;
    transition: color 0.3s;
}

#password-criteria li.valid {
    color: #388e3c;
}

.strength-meter {
    height: 8px;
    width: 100%;
    background-color: #e0e0e0;
    border-radius: 4px;
    margin-top: 15px;
    overflow: hidden;
}

#strength-bar {
    height: 100%;
    width: 0;
    transition: width 0.4s ease, background-color 0.4s ease;
    border-radius: 4px;
}

/* --- Rodapé --- */
footer {
    text-align: center;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.3);
    margin-top: 30px;
}

.select-multi {
    position: relative;
    width: 100%;
}

.select-multi-box {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    background: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.select-multi-box:hover {
    border-color: #cbd5e1;
}

.select-multi.active .select-multi-box {
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99,102,241,0.12);
}

.select-multi-text {
    font-size: 14px;
    color: #374151;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: calc(100% - 25px);
}

.arrow {
    width: 8px;
    height: 8px;
    border-right: 2px solid #666;
    border-bottom: 2px solid #666;
    transform: rotate(45deg);
    transition: 0.2s;
    flex-shrink: 0;
}

.select-multi.active .arrow {
    transform: rotate(-135deg);
}

.select-multi-dropdown {
    position: absolute;
    width: 100%;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    margin-top: 6px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    display: none;
    z-index: 1000;
    padding: 8px 0;
    max-height: 260px;
    overflow-y: auto;
    box-sizing: border-box;
}

.select-multi.active .select-multi-dropdown {
    display: block;
}

.select-multi-dropdown label {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    cursor: pointer;
    font-size: 14px;
    color: #374151;
    margin: 0;
}

.select-multi-dropdown label:hover {
    background: #f8fafc;
}

.select-multi-dropdown input[type="checkbox"] {
    cursor: pointer;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}
 .hero-empresas {
            text-align: center;
            padding: 140px 20px 160px;
            background-image: url("/images/FUNDO_TOPO.png");
            background-repeat: repeat;
            background-position: center top;
            background-size: cover;
        }

        .hero-empresas .container {
            max-width: 1000px;
        }

        .hero-empresas h1 {
            font-size: 3rem;
            margin-bottom: 20px;
            color: #fff;
        }

        .hero-empresas p {
            font-size: 1.4rem;
            margin-bottom: 30px;
            color: #fff;
        }

        .cards-section {
            padding: 70px 20px;
        }

        .cards-title {
            text-align: center;
            margin-bottom: 35px;
        }

        .cards-title h2 {
            font-size: 2.2rem;
            margin-bottom: 10px;
        }

        .cards-title p {
            max-width: 780px;
            margin: 0 auto;
            color: #ddd;
            line-height: 1.6;
        }

        .grid-cards {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
            gap: 25px;
            max-width: 1100px;
            margin: 0 auto;
        }

        .card-empresa {
            background: rgba(255,255,255,0.05);
            border: 1px solid rgba(255,255,255,0.08);
            border-radius: 14px;
            padding: 28px 22px;
            backdrop-filter: blur(6px);
            transition: transform 0.25s ease, box-shadow 0.25s ease;
            box-shadow: 0 10px 25px rgba(0,0,0,0.20);
        }

        .card-empresa:hover {
            transform: translateY(-6px);
            box-shadow: 0 18px 35px rgba(0,0,0,0.28);
        }

        .card-empresa i {
            font-size: 2rem;
            color: #f39c12;
            margin-bottom: 15px;
        }

        .card-empresa h3 {
            margin-top: 0;
            margin-bottom: 12px;
            color: #fff;
            font-size: 1.25rem;
        }

        .card-empresa p {
            margin: 0;
            color: #e2e2e2;
            line-height: 1.6;
        }

        .cta-final {
            text-align: center;
            padding: 80px 20px;
        }

        .cta-final h2 {
            font-size: 2.2rem;
            margin-bottom: 15px;
        }

        .cta-final p {
            max-width: 760px;
            margin: 0 auto 25px;
            line-height: 1.6;
        }

        .button-grande {
            font-size: 18px;
            padding: 14px 28px;
            border-radius: 8px;
        }

        textarea {
            width: 100%;
            padding: 10px;
            border: 1px solid #ccc;
            border-radius: 4px;
            box-sizing: border-box;
            resize: vertical;
            min-height: 120px;
        }


/* --- Responsividade --- */
@media (max-width: 768px) {
    .logo-central img {
        height: 50px;
    }
    .btn-login {
        padding: 8px 12px;
        font-size: 14px;
    }
    .inicio {
        padding: 100px 15px;
    }
    nav {
        justify-content: space-between;
        padding: 0 10px;
    }

    .logo-central {
        position: static; /* remove centralização absoluta */
    }

    .logo-central img {
        height: 60px; /* menor no mobile */
    }

    .botao-flutuante {
        position: static;
        transform: none;
    }

    .btn-login {
        padding: 6px 12px;
        font-size: 13px;
        transform: scale(0.75); /* 75% do tamanho */
    }
    .hero-empresas {
        padding: 100px 15px 110px;
    }

    .hero-empresas h1 {
        font-size: 2.2rem;
    }

    .hero-empresas p {
        font-size: 1.1rem;
    }
}