/* ============================================================
   STYLE-FEQUAJUTO.CSS
   Sistema consolidado e organizado por blocos
   Visual premium + navbar moderna + responsividade melhorada
============================================================ */


/* ============================================================
   1) RESET & BASE
============================================================ */
html, body {
    margin: 0;
    padding: 0;
}
*, *::before, *::after {
    box-sizing: border-box;
}

body {
    position: relative;
    font-family: 'Roboto', Arial, sans-serif;
    color: #002bff;
    padding-top: 56px;
    width: 100%;
    max-width: 1024px;
    margin: 0 auto;
    min-height: 100vh;
    padding: 20px;
    font-size: 14px;
    line-height: 1.4;
    background: none;
    z-index: 0;
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../img/fundoazulescuro2.png') no-repeat center center fixed;
    background-size: cover;
    z-index: -1;
}


/* ============================================================
   2) VARIÁVEIS
============================================================ */
:root {
    --primary-color: #A47864;
    --secondary-color: #E4D6CE;
    --accent-color: #8C6651;
    --success-color: #BFA48A;
    --warning-color: #F3C4A9;
    --info-color: #6D8B7C;
    --btn-next: #C6A990;
    --btn-back: #8C6651;
    --dark-gray: #011439;
    --disabled-color: #DDDBD7;
    --form-bg: #F8F5F2;
    --form-footer-bg: #000000;
}


/* ============================================================
   3) BOTÕES GERAIS
============================================================ */
.btn {
    display: flex;
    justify-content: center;
    align-items: center;
}


/* ============================================================
   4) NAVBAR – VISUAL PREMIUM GOOGLE STYLE
============================================================ */

.navbar {
    background: #0e0e0e !important;
    box-shadow: 0 3px 10px rgba(0,0,0,0.4);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    padding: 8px 15px;
    transition: all 0.3s ease-in-out;
}

.navbar-brand img {
    filter: drop-shadow(0 0 3px rgba(0,0,0,0.5));
}

#greeting {
    color: #39FF14;
    font-size: 16px;
    font-weight: 600;
}

/* NAV LINKS */
.nav-link-inscricao,
.nav-link-edital {
    color: #39FF14 !important;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    transition: 0.25s ease;
    padding: 10px 14px !important;
}

.nav-link:hover {
    color: #00ffea !important;
    transform: translateY(-1px);
}

/* DROPDOWN */
.dropdown-menu {
    background: #0d0d0d;
    border: 1px solid #222;
    box-shadow: 0 8px 20px rgba(0,0,0,0.4);
    border-radius: 8px;
    animation: fadeSlide 0.25s ease-out;
}

.dropdown-item {
    color: #e5e5e5;
    padding: 10px 20px;
    transition: 0.2s ease-in-out;
}

.dropdown-item:hover {
    background: #1f1f1f;
    color: #39FF14;
}

/* Animação dropdown */
@keyframes fadeSlide {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* MOBILE */
.navbar-toggler {
    border: none;
}
.navbar-toggler:focus {
    outline: none;
    box-shadow: none;
}


/* ============================================================
   5) SIDEBAR
============================================================ */
.sidebar {
    position: fixed;
    top: 56px;
    bottom: 0;
    left: 0;
    width: 18.8rem;
    background-color: #01104AFF;
    color: #fff;
    padding: 1.25rem;
    overflow-y: auto;
}


/* ============================================================
   6) MAIN CONTENT
============================================================ */
.main-content {
    margin-left: 12.8rem;
    padding: 20px;
    min-height: 100vh;
}


/* ============================================================
   7) FORM CONTAINER
============================================================ */
.form-container {
    width: 100%;
    max-width: 800px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    margin: 0 auto;
    padding: 10px 0 60px;
}


/* ============================================================
   8) FORM HEADER e FOOTER
============================================================ */
.form-header {
    background-color: var(--form-bg);
    padding: 0.8rem;
    border-bottom: 1px solid #cad3d0;
    text-align: center;
    width: 85%;
    margin: 0 auto;
}

.form-footer {
    display: none;
}


/* ============================================================
   9) BARRA DE PROGRESSO
============================================================ */
.progress-bar {
    height: 8px;
    background-color: #007bff;
}


/* ============================================================
   10) FORM MAIN CONTENT
============================================================ */
.form-main {
    padding: 1rem;
}


/* ============================================================
   11) FORM ELEMENTS
============================================================ */
.form-contains input,
.form-contains select {
    width: 100%;
    padding: 0.3rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 12px;
    height: 30px;
    margin-bottom: 0.75rem;
}


/* ============================================================
   12) BOTÕES FOOTER
============================================================ */
.form-footer .btn {
    min-width: 120px;
    height: 45px;
    font-size: 1rem;
}


/* ============================================================
   13) BOTÕES PREV/NEXT
============================================================ */
.btn-prev,
.btn-next {
    border-radius: 7px;
    font-weight: bold;
    color: #fff;
    border: 3px solid #fff;
}


/* ============================================================
   14) TÍTULOS
============================================================ */
.h4-forms {
    text-align: center;
    color: #0240b3;
}


/* ============================================================
   15) RESPONSIVIDADE
============================================================ */
@media (max-width: 768px) {
    .sidebar {
        width: 100%;
        position: relative;
    }
    .main-content {
        margin-left: 0;
    }
}


/* ============================================================
   16) FULLSCREEN BACKGROUND (INDEX)
============================================================ */
.fullscreen-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    z-index: -1;
}

.blur-up {
    filter: blur(20px);
    transition: filter 0.8s ease-out;
}
.blur-up.loaded {
    filter: blur(0);
}


/* ============================================================
   17) POPUP
============================================================ */
#popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.6);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1050;
}


/* ============================================================
   FINAL
============================================================ */
