/* styles.css */

/*

o primeiro lozango: #35215C
o segundo lozango : #00B0C1
o terceiro lozango: #35215C
a fonte da marca  : #35215C

*/


body {
    color: #35215C;
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, Segoe UI, Noto Sans, Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji;
    font-size: 16px;
    line-height: 1.5;
    margin: 0;
    padding: 0;
}

h1, h2, h3 {
    font-weight: bold;
}

p, li, span {
    font-weight: normal;
    overflow-wrap: anywhere;
}


header {
    top: 0 !important;
    height: 2rem;
    z-index: 1;
    padding: var(--base-size-8, 8px) !important;
    position: sticky !important;
    background-color: #ffffff;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid #dedede;
    box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.1);
}

.pesquisa {
    z-index: 3;
    top: 0;
    right: 2rem;
    position: fixed;
    display: flex;
    width: 25rem;
}

.pesquisa > input {
    color: #35215C;
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, Segoe UI, Noto Sans, Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji;
    border-radius: 6px;
    border: 1px solid #dedede;
    border-right: 6px solid #dedede;
    height: 2rem;
    margin-top: 5px;
    width: 100%;
    padding-left: 1rem;
    padding-right: 1rem;
    outline: none;
}

.pesquisa > input:focus,
.pesquisa .foco {
    border: 1px solid #35215C;
    border-right: 6px solid #35215C;
    outline: none;
}

.pesquisa > .limpar {
    z-index: 3;
    display: none;
    position: absolute;
    top: 5px;
    right: 5px;
    background-color: #35215C;
    width: 34px;
    height: 34px;
    color: #ffffff;
    align-items: center;
    text-align: center;
    border: 1px solid #35215C;
    cursor: pointer;
    background-image: url('img/limpar.svg');
    background-repeat: no-repeat;
    background-position: right;
    background-size: 28px;
}

.pesquisa .result {
    z-index   : 3;
    display   : none;
    position  : fixed;
    border    : 1px solid #dedede;
    border-top: 1px solid #ffffff;
    font-size : 16px;
    top: 3rem;
    width: 23rem;
    background-color: #ffffff;
    backdrop-filter: blur(20px);
    padding: 0 1rem;
    border-radius: 0 0 6px 6px;
    overflow-y: auto;
    overflow-x: hidden;
    max-height: 50vh;
    box-shadow: 0px 4px 5px rgba(0, 0, 0, 0.1);
}

.pesquisa ul {
    list-style: none;
    padding: 0;
}

.pesquisa li {
    margin-bottom: 1rem;
}

.pesquisa .exibir {
    display: block;
}

.pesquisa .result a {
    color: #00B0C1;
    text-decoration: none;
}

.pesquisa .result a:hover {
    color: #05747e;
    text-decoration: none;
}

.pesquisa .result p {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 12px;
    margin-top: 0;
}

.pesquisa p .destaque {
    font-weight: bold;
}

.lupa {
    z-index: 2;
    display: none;
    position: fixed;
    top: 5px;
    right: 1rem;
    width: 34px;
    height: 34px;
    align-items: center;
    text-align: center;
    cursor: pointer;
    background-image: url('img/lupa.svg');
    background-repeat: no-repeat;
    background-position: right;
    background-size: 20px;
}



.logo {
    display: flex;
    text-decoration: none;
    margin-right: 1rem;
    align-items: center;
    font-size: 20px;
}

.botao-menu {
    cursor: pointer;
    appearance: none;
    user-select: none;
    text-align: center;
    display: none;
    -webkit-box-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    height: 25px;
    width: 25px;
    min-width: max-content;
    background-color: transparent;
    box-shadow: none;
    border-radius: 6px;
    border-width: 1px;
    border-style: solid;
    border-image: initial;
    border-color: transparent;
    text-decoration: none;
    padding: 0px 5px;
    transition: color 80ms cubic-bezier(0.65, 0, 0.35, 1), fill, background-color, border-color;        
}

.botao-menu:hover:not([disabled]) {
    background-color: rgba(208, 215, 222, 0.32);
}

.botao-menu.fechar {
    margin: 10px 8px;
    display: block !important;
}

.logo a {
    height: 1.5rem;
}

.logo a svg {
    padding-left : .5rem;
    padding-right: .5rem;
}

.logo .thin {
    font-weight: normal;
}

.logo .bold {
    font-weight: bold;
}

.menu-popover {
    z-index    : 999;
    position   : fixed;
    outline    : none;
    top        : 0;
    left       : 0;
    bottom     : 0;
    transform  : none;
    width      : auto !important;
    box-shadow      : 0 8px 24px #dedede90;
    border-right    : 1px solid #dedede;
    background-color: var(--bgColor-default, var(--color-canvas-default, #ffffff));
}

.menu-popover-fundo::before {
    z-index : 99;
    position: fixed;
    inset   : 0px;
    display : block;
    cursor  : default;
    content : " ";
    background: #ffffff00;
    backdrop-filter: blur(2px);
}

.menu-popover.off,
.menu-popover-fundo.off {
    display: none !important;
}

.container {
    display: flex;
}

.sidebar {
    top         : 3rem;
    width       : 22.5rem;
    height      : calc(100vh - 49px);
    padding     : 20px;
    position    : sticky !important;
    overflow    : auto;
    box-sizing  : border-box;
    border-right: 1px solid #dedede;
    padding-left: 0;
    background-color: #fff;
}

.sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar ul ul {
    margin-top: 2px;
    margin-left: 1rem;
    padding: 0;
    margin: 0;
}

.sidebar li,
.sidebar li.sel,
.sidebar li.filhos {
    position     : relative;
    padding      :  0px;
    font-size    : 16px;
    line-height  : 20px;
    min-height   :  5px;
    margin-left  : 17px;
    border-radius:  6px;
    transition: background 33.333ms linear;
    cursor: pointer;
    background: unset;
    border: unset;
    width: calc(100% - 16px);
    font-family: unset;
    text-align: unset;
    margin-top: unset;
    appearance: none;
}

.sidebar .filhos ul {
    display: none;
}

.sidebar .filhos:has(.sel) ul,
.sidebar .sel.filhos ul {
    display: block;
}

.sidebar a {
    margin-bottom: 2px;
    border-left : 6px solid rgba(0, 0, 0, 0);
    text-decoration: none;
    padding: 6px 8px 6px 16px;
    display: flex;
    flex-grow: 1;
    border-radius: 6px;
    color: inherit;
    font-size: 14px;
    font-weight: normal;
    -webkit-box-flex: 1;
}

.sidebar .sel > a {
    background-color: #e1e4e888;
    border-left : 6px solid #00B0C1;
    font-weight: bold;
}

.sidebar .sel.filhos > a {
    background-color: #e1e4e888;
    border-left : 6px solid #35215C;
    font-weight: bold;
}

.sidebar a:hover {
    background-color: #e1e4e8cc;
    border-left : 6px solid #00B0C1;
}

.sidebar .filhos > a:hover {
    border-left : 6px solid #35215C;
}

.sidebar .filhos > a::before {
    content: "+";
    font-size: 14px;
    margin-right: 5px;
    transition: transform 0.3s ease;
}

.sidebar .filhos.sel > a::before,
.sidebar .filhos:has(.sel) > a::before {
    content: "-";
}

.sidebar .filhos:has(.sel) > a {
    font-weight: bold;
}   

.content {
    flex: 1;
    padding: 20px;
    box-sizing: border-box;
    background-image: url('img/bg_footer.png');
    background-position: bottom center;
    background-repeat: no-repeat;
    background-size: contain;
    min-height: calc(100vh - 49px);
}

.centraliza {
    min-height: 50px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    min-height: calc(100vh - 18.5rem);
    margin-bottom: 10rem;
}

.centraliza hr {
    margin: 3rem 0;
}

.centraliza a {
    color : #00B0C1;
    cursor: pointer;
    text-decoration: none;
}

.centraliza em {
    color      : #00B0C1;
    font-style : normal;
    font-weight: bold;
}

.centraliza a:hover {
    text-decoration: underline;
}

.centraliza .monospace a {
    font-family: monospace;
}

.centraliza code,  .centraliza .code{
    background-color: #e1e4e888;
    font-family: 'Courier New', Courier, monospace;
    font-weight: normal;
    padding: .5rem 1rem;
    margin: 1rem 0;
    border-radius: 6px;
    border-left: 6px solid #00B0C1;
    white-space: pre-wrap;
}

.code > .keyword {
    color: #2172eb;
    font-weight: bold;
}

.code > .string {
    color: #14a70f;
}

.code > .comment {
    color: #818181;
}

.code > .char {
    color: #c40000;
}

.centraliza img {
    max-width: 800px;
    margin: 2rem 0;
    border-radius: 6px;
    box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.3);
    border: 3px solid #fff;
    image-rendering: smooth; 
}

.centraliza .img-icone {
    margin        : 0;
    border        : 1px transparent #ffffffff;
    display       : inline-block;
    vertical-align: text-bottom;
}

.centraliza .sem-bordas {
    box-shadow: none;
    border: none;
}

.centraliza table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.centraliza table th,
.centraliza table td {
    border: 1px solid #00B0C1;
    padding: 8px;
}

.centraliza table th {
    background-color: #e1e4e888;
}

.destaque-claro {
    color: #00B0C1 !important;
}

.destaque-escuro {
    color: #35215C !important;
}

.destaque-vermelho {
    color: #ff0000 !important;
}


.botao-topo {
    z-index: 1;
    position: fixed;
    bottom: 3rem;
    right: 3rem;
    border-radius: 50%;
    border: 3px solid #ffffff;
    background-color: #00B0C1;
    color: #ffffff;
    opacity: 0;
    width: 3rem;
    height: 3rem;
    cursor: pointer;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.3);
    transition: all 0.4s;    
}

.botao-topo:hover {
    opacity: 1;
}

.navegacao {
    margin: 3rem 0;
    display: flex !important;
    padding: var(--base-size-8, 8px) !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: nowrap !important;
    font-weight: bold;
}

.navegacao .nav-e {
    text-align: left;
}

.navegacao .nav-d {
    text-align: right;
}

.navegacao .nav-e a,
.navegacao .nav-d a {
    align-items: center;
    display: flex;
}

.navegacao .nav-e a .lacuo {
    padding-right: 10px;
}

.navegacao .nav-d a .racuo {
    padding-left: 10px;
}


.footer {
    margin-top: 6.5rem;
    position: relative;
    bottom: 0;
}

.footer .disclaimer {
    color: #ffffff;
}

/**************************************************\
 P R O G R E S S O
\**************************************************/

.topo-flutuante {
    top : calc(3rem + 1px);
    background-color : #ffffff;
    z-index          : 1;
    padding          : 1rem .5rem;
    position         : sticky;
}

.topo-flutuante.destacado {
    border-radius: 0 0 1rem 1rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-top: none;
    box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.1);
}

.progress-bar-container {
    width: 100%;
    background-color: #e1e4e888;
    border-radius: 10px;
    height: 20px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    width: 0;
    background-color: #00B0C1;
    transition: width 0.3s ease;
}

.checkbox-container {
    margin-bottom: 15px;
}

.checkbox-container > div {
    padding-left: 1.6rem;
    transition: all 0.3 ease;
}

.checkbox-container.selecionado > div {
    display: none;
    opacity: 0;
}

/**************************************************\
 F O R M   C O N T A I N E R
\**************************************************/

.formulario {
    display: none;
}

.formulario.visivel {
    display: inline;
}

.formulario ul {
    display: none;
}

.formulario ul.visivel {
    display: block;
}

.formulario > .grupo {
    margin-bottom: 15px;
}

.formulario > .grupo label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.formulario > .grupo input {
    width: 100%;
    max-width: 20rem;
    padding: 8px;
    box-sizing: border-box;
}

.formulario .botoes {
    display: flex;
    justify-content: space-between;
    max-width: 20rem;
}

.formulario .gerarLinks,
.formulario .reverEtapas {
    padding: 10px 15px;
    margin-top: 10px;
    border: none;
    border-radius: 5rem;
    cursor: pointer;
    font-weight: bold;
    position: relative;
    overflow: hidden;
    transition: .3s ease;
}

.formulario .gerarLinks {
    background-color: #35215C;
    color: #fff;
}

.formulario .reverEtapas {
    background-color: #00B0C1;
    color: #fff;
}

.formulario .gerarLinks:hover,
.formulario .reverEtapas:hover {
    background-color: #0074c1;
}

.formulario .links {
    list-style-type: none;
    padding-inline-start: 0;
    margin-block-start: 3rem;
}

/**************************************************\
 V Í D E O
\**************************************************/

.video-container {
    position: relative;
    padding-bottom: 56.25%; /* Proporção 16:9 */
    height: 0;
    overflow: hidden;
    max-width: 100%;
}    

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.desktop {
    display: block;
}

.mobile {
    display: none;
}

.centraliza table {
    border-collapse: collapse;
    width: 100%;
    text-align: left;
}

@media (max-width: 1280px) {
    .menu-block {
        display: none !important;
    }

    .sidebar {
        border-right : none;
    }

    .pesquisa {
        display : none;
        top     : 0;
        right   : 5px;
        left    : 5px;
        bottom  : 5px;
        width   : auto;
    }

    .pesquisa .result {
        position: fixed;
        border: 1px solid #dedede;
        border-top: 1px solid #ffffff;
        font-size: 16px;
        top: 3rem;
        background-color: #ffffff;
        backdrop-filter: blur(20px);
        padding: 0 1rem;
        border-radius: 0 0 6px 6px;
        overflow-y: auto;
        overflow-x: hidden;
        box-shadow: 0px 4px 5px rgba(0, 0, 0, 0.1);
        bottom: 2px;
        left: 2px;
        right: 2px;
        width: auto;
        height: calc(100vh - 3.5rem);
        max-height: calc(100vh - 3.5rem);
    }

    .pesquisa.exibir {
        display: flex;
        backdrop-filter: blur(2px);
    }

    .pesquisa .result.exibir {
        display: block;
    }

    .lupa {
        display: block;
    }

    .logo button {
        display: flex;
    }    

    .content {
        background-size: auto;
    }
}

@media (max-width: 799px) {
    .centraliza img {
        max-width: 100%;
    }    
}

@media (max-width: 680px) {

    .centraliza table thead {
        display: none;
    }

    .centraliza table td {
        display: block;
        text-align: left;
        position: relative;
        border: none !important;
    }

    .centraliza table td::before {
        content: attr(data-label) ":  ";
        font-weight: bold;
        display: inline-block;
        padding-right: .5rem;
    }

    .centraliza table td > strong {
        color: #00B0C1;
    }

    .centraliza table tr {
        padding: 1rem;
        border: 1px solid #00B0C1;
    }

    

    .content {
        padding: 20px;
        background-size: auto;
    }

    .centraliza {
        min-height: calc(100vh - 17rem);
        margin-bottom: 0rem;
    }

    .footer {
        margin-top: 0;
    }
    
    .footer .disclaimer {
        padding-top: 9rem;
        font-size: 12px;
    }

    .desktop {
        display: none;
    }

    .mobile {
        display: block;
    }

}

@media (max-width: 359px) {
    .sidebar {
        top    : 3rem;
        width  : 20rem;
    }
}



.step {
    border: 1px solid #eaeaea;
    border-radius: 8px;
    margin-bottom: 10px;
    padding: 16px;
    background: #fff;
    box-shadow: 0 0 10px rgba(0,0,0,0.05);
  }

  .step-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, opacity 0.4s ease;
    opacity: 0;
  }

  .step.open .step-content {
    /*max-height: 300px;*/
      max-height: 100%;
    opacity: 1;
  }

  .step h3 {
    margin: 0 0 10px 0;
    /*font-size: 18px;
    color: #000;*/
  }

  .step input[type="checkbox"] {
    margin-top: 10px;
  }