/*-------------------------------------------
  1) RESET & BASE
-------------------------------------------*/
html, body {
    margin: 0;
    padding: 0;
}
*, *::before, *::after {
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', Arial, sans-serif;
    color: #4A3F35;
    background: url('../img/fundoazulescuro2.png') no-repeat center center fixed;
    background-size: cover;
    padding-top: 56px;
    width: 100%;
    max-width: 1024px;
    margin: 0 auto;
    min-height: 100vh;
    padding: 20px;
    font-size: 12px;
    line-height: 1.2;
}




/*-------------------------------------------
  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: 12px;
    line-height: 1.2;
    background: none; /* remove a imagem daqui */
    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 (Pantone 2025 Mocha Mousse)
-------------------------------------------*/
:root {
    --primary-color: #A47864;    /* PANTONE 17-1230 Mocha Mousse */
    --secondary-color: #E4D6CE;  /* Creme suave */
    --accent-color: #8C6651;     /* Marrom profundo */
    --success-color: #BFA48A;    /* Bege quente */
    --warning-color: #F3C4A9;    /* Pêssego claro */
    --info-color: #6D8B7C;       /* Azul-petróleo suave */
    --btn-next: #C6A990;         /* Marrom médio */
    --btn-back: #8C6651;         /* Marrom profundo */
    --dark-gray: #011439;        /* Taupe escuro */
    --disabled-color: #DDDBD7;   /* Cinza claro neutro */
    --form-bg: #F8F5F2;          /* Fundo forms */
    --form-footer-bg: #000000;   /* Rodapé forms */
}

/*-------------------------------------------
  3) BOTÕES GERAIS - CENTRALIZAÇÃO DO TEXTO
-------------------------------------------*/
.btn {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

/*-------------------------------------------
  4) NAVBAR
-------------------------------------------*/
.navbar {
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.navbar-left {
    text-align: left;
}
#greeting {
    color: #39FF14;
    font-size: 16px;
}

/*-------------------------------------------
  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;
}
.sidebar img,
.sidebar button,
.sidebar a.btn {
    width: 14.8rem;
    max-width: 100%;
}
.sidebar .menu-list {
    list-style: none;
    padding: 0;
    margin: 1.25rem 0;
}
.sidebar .menu-list li {
    margin-bottom: 0.625rem;
}
.sidebar .menu-list li a {
    text-decoration: none;
    font-weight: bold;
}
.list-group-item-step {
    background-color: #2e75c6;
    color: #fff;
    font-weight: normal;
    border: none;
    text-align: center;
    cursor: default;
    position: relative;
    padding: 0.25rem 1rem;
    margin-bottom: 0.2rem;
    border-radius: 0.125rem;
}
.list-group-item-step.active {
    background-color: green !important;
    color: white !important;
    font-weight: bold;
}
.list-group-item-step.active::after {
    content: "✔";
    font-size: 0.8rem;
    font-weight: bold;
    position: absolute;
    right: 0.9375rem;
    color: white;
}
.logo-sidebar {
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 50%;
    margin: 0 auto;
}

/*-------------------------------------------
  6) MAIN CONTENT
-------------------------------------------*/
.main-content {
    margin-left: 12.8rem;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    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);
    position: relative;
    margin: 0 auto;
    padding: 10px 0 60px;
}

/*-------------------------------------------
  8) FORM HEADER
-------------------------------------------*/
.form-header {
    background-color: var(--form-bg);
    padding: 0.8rem;
    border-bottom: 1px solid #cad3d0;
    text-align: center;
    position: relative;
    width: 85%;
    margin: 0 auto;
}

/*-------------------------------------------
  8) FORM FOOTER
-------------------------------------------*/
.form-footer {
    display: none;
}



/*-------------------------------------------
  9) BARRA DE PROGRESSO
-------------------------------------------*/
.progress-bar {
    height: 8px;
    width: 100%;
    background-color: #007bff;
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 0;
}
.progress {
    height: 5px;
}

/*-------------------------------------------
  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;
}
.form-contains textarea {
    width: 100%;
    padding: 0.3rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 12px;
    resize: none;
}
.textarea-wrapper {
    position: relative;
    width: 100%;
    height: 300px;
}
.textarea-wrapper::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('img/FCPMarcaDagua.png') center/contain no-repeat;
    opacity: 0.8;
    pointer-events: none;
    z-index: 1;
}
.form-textarea {
    position: relative;
    background: transparent;
    z-index: 2;
}
.form-label {
    margin-bottom: 0.25rem;
    font-size: 0.9rem;
}
.form-control {
    margin-bottom: 0.75rem;
    padding: 0.25rem 0.5rem;
    font-size: 0.9rem;
}

/*-------------------------------------------
  12) FORM FOOTER
-------------------------------------------*/
.form-footer {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--form-footer-bg);
    padding: 0.5rem;
    border-top: 1px solid #cad3d0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 60px;
}

/* Botões da footer */
.form-footer .btn {
    min-width: 120px;
    height: 45px;
    font-size: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    color: #fff;
    cursor: pointer;
    margin-right: 10px;
    gap: 10px;
}

/*-------------------------------------------
  13) BOTÕES ANTERIOR E PRÓXIMO
-------------------------------------------*/
.btnanterior,
.btn-prev,
.btnproximo,
.btn-next {
    font-weight: bold;
    color: #fff;
    border: 3px solid #fff;
    text-shadow: 0 -1px 1px #222;
    box-shadow: 2px 2px 5px #000;
    border-radius: 7px;
    padding: 6px 10px;
    cursor: pointer;
    gap: 10px;
}
.btnanterior,
.btn-prev {
    font: bold 16px 'Roboto', Geneva, sans-serif;
    background-color: var(--btn-back, #1568db);
}
.btnproximo,
.btn-next {
    font: bold 16px Tahoma, Geneva, sans-serif;
    background-color: var(--btn-next, #0f8535);
    width: 129px;
    position: relative;
}

/*-------------------------------------------
  14) TÍTULOS & ESTILOS ADICIONAIS
-------------------------------------------*/
.h3-forms {
    text-align: center;
    color: #1A73E8;
    font-size: 1.1rem;
}
.h4-forms {
    text-align: center;
    color: #0240b3;
    font-size: 1.4rem;
}
.negrito-italico {
    font-weight: bold;
    font-style: italic;
}
.form-header, .form-content {
    margin-bottom: 5px;
}
.row {
    margin-bottom: 5px;
}

/*-------------------------------------------
  15) RESPONSIVIDADE
-------------------------------------------*/
@media (max-width: 768px) {
    .sidebar {
        width: 100%;
        position: relative;
    }
    .main-content {
        margin-left: 0;
    }
    .form-header {
        width: 100%;
    }
}

/*-------------------------------------------
  16) COLUNAS FLEXÍVEIS
-------------------------------------------*/
.col-20 { flex: 0 0 20%; max-width: 20%; }
.col-30 { flex: 0 0 30%; max-width: 30%; }
.col-40 { flex: 0 0 40%; max-width: 40%; }
.col-60 { flex: 0 0 60%; max-width: 60%; }



/*-------------------------------------------
  17) Imagens
-------------------------------------------*/
.img-top {
    width: 45%;
    display: block;
    margin: 20px auto 10px auto; /* top | right | bottom | left */
}

.LogoFCP {
    width:20%;
    display: block;
    margin: 0 auto;
    /*opacity: 0.3;  Se quiser transparência */
}


/* ================================
   Custom Radio Buttons Styling
   ================================ */

/* 1. Fieldset como container flexível */
form fieldset {
    border: 1px solid #dee2e6;
    border-radius: 6px;
    padding: 1rem 1.5rem;
    margin-bottom: 1.5rem;
    background-color: #f8f9fa;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem; /* espaço entre opções */
}

/* 2. Legenda do grupo */
form fieldset legend {
    width: 100%;
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
}

/* 3. Container de cada opção (.form-check) */
.form-check {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    border: 1px solid #ced4da;
    border-radius: 20px;
    background-color: #fff;
    cursor: pointer;
    transition: background-color .2s, border-color .2s, color .2s;
}

/* 4. Hover no container */
.form-check:hover {
    background-color: #e9f5ff;
    border-color: #0d6efd;
}

/* 5. Input tipo radio customizado */
.form-check-input[type="radio"] {
    appearance: none;
    -webkit-appearance: none;
    width: 1.2rem !important;
    height: 1.2rem !important;
    margin: 0;
    padding: 0;
    border: 2px solid #0d6efd;
    border-radius: 50%;
    background-color: #fff;
    position: relative;
    cursor: pointer;
    transition: background-color .2s, border-color .2s;
}

/* 6. “Bolinha” interna */
.form-check-input[type="radio"]::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0.6rem;
    height: 0.6rem;
    background-color: #0d6efd;
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    transition: transform .1s ease-in-out;
}
/* 7. Quando marcado */
.form-check-input[type="radio"]:checked::before {
    transform: translate(-50%, -50%) scale(1);
}

/* 8. Espaço entre o rádio e o texto */
.form-check-label {
    margin-left: 0.5rem;
    cursor: pointer;
}

/* 9. Destaque do container quando selecionado */
.form-check-input[type="radio"]:checked + .form-check-label {
    color: #0444a8;
}
.form-check-input[type="radio"]:checked {
    border-color: #0d6efd;
}
.form-check-input[type="radio"]:checked ~ .form-check-label {
    /* aplica fundo e borda ao container pai */
}
.form-check-input[type="radio"]:checked {
    background-color: #0d6efd;
}

/* 10. Acessibilidade: foco */
.form-check-input[type="radio"]:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(13, 110, 253, .25);
}
