*{
    margin: 0;
    border: 0;
    box-sizing: border-box;
}

:root{
    --primario: #4f46e5;
    --secundario: #7c3aed;
    --menu: #63783d;
    --body: #cfe0bc;
    --sombreamento: #99cd85;
    --vidro: rgba(255, 255, 255,0.1);
    --letras: white;
}

body{
    width: 100%;
    min-height: 100vh;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--body);
}

/* ================= NAV ================= */

.navegacao{
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--menu);
    padding: 10px;
    z-index: 1000;
}

/* MENU EM COLUNA */
.menu{
    display: flex;
    flex-direction: row;
    align-items: center;
    list-style: none;
    justify-content: center;
    gap: 10px;
}

.linkMenu{
    border: 2px solid #c9e791;
    border-radius: 10px; /* 🔥 borda arredondada */
    color: var(--letras);
    text-decoration: none;
    position: relative;
    padding: 5px;
    margin: 5px 0;
    width: 100%;
    text-align: center;
   
}

.linkMenu::after{
    content: '';
    height: 2px;
    width: 0;
    position: absolute;
    bottom: 0;
    left: 0;
    background: linear-gradient(90deg, var(--secundario),var(--primario));
    transition: width 0.5s ease;
}

.linkMenu:hover::after{
    width: 100%;
}
.linkMenu:hover{
   background-color: var(--secundario);
}
/* ================= MAIN ================= */

main{
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 120px;
    padding: 10px;
}

/* ================= CARDS ================= */

.tabelaAgio,
.tabelaResultados{
    width: 100%;
    max-width: 600px;
    margin: 15px 0;
    padding: 20px;
    border-radius: 10px;
    background: rgba(153, 205,133, 0.5);
    backdrop-filter: blur(10px);
    border: 1px solid #abcd9e;
    box-shadow: 5px 5px 25px rgba(251, 251, 251, 0.6);
}

/* RESULTADOS */
.tabelaResultados{
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* ================= FORM ================= */

.formularioAgio div{
    display: flex;
    flex-direction: column; /* 🔥 coluna */
    background-color: white;
    width: 100%;
    margin-top: 10px;
    border-radius: 5px;
    padding: 8px;
}

.formularioAgio div span{
    margin-bottom: 5px;
}

/* INPUT */
.inputs{
    width: 100%;
    height: 45px;
    border-radius: 6px;
    font-size: 16px;
    border: 1px solid #ccc;
    padding: 8px;
}

.inputs:focus{
    border-color: var(--primario);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.2);
}

/* RESULTADO */
.divResultado{
    background-color: white;
    width: 100%;
    min-height: 45px;
    border-radius: 5px;
    padding: 3x;
}

/* BOTÃO */
.botaoFormulario{
    margin-top: 10px;
    color: #ffffff;
    background: linear-gradient(45deg, var(--primario), var(--secundario));
    padding: 12px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 700;
    width: 100%;
}

.botaoFormulario:hover{
    transform: translateY(-3px);
}

/* TEXTOS */
h3{
    margin-bottom: 10px;
}

.paragrafoResultado{
    padding: 10px;
}

.paragrafoResultado span{
    margin-left: 10px;
    font-weight: 600;
    color: #4f46e5;
}

.paragrafoTitulo{
    text-align: center;
}

/* FOOTER */
.footer{
    background: var(--menu);
    color: var(--letras);
    text-align: center;
    padding: 15px;
    margin-top: 20px;
}
.tituloResultado{
    background-color: #c4e18e;
    padding: 10px;
    border-radius: 5px;
}