@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;700&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
  color: #1d273f;
}
.container {
    width: 90%;
    max-width: 800px;
    margin: 0 auto;
}

body {
    display: flex;
    flex-direction: column;
    
}

main {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}#logo{
    margin-bottom: 2rem;
    display: flex;
    justify-content: center;
    width: 100%;
}

#logo img{
    max-width: 500px;
    height: auto;
}

#hero{
    text-align: center;
    padding: 2rem;
    line-height: 1.5;
}

#titulo{
    display: flex;
    justify-content: center;
    width: 100%;
    background-color: #4e53fb;
    border-radius: 10px 10px 0 0;
}

#titulo h2 {
    font-weight: 700;
    font-size: 1.5rem;
    color: #ffffff;
    padding: 1rem;
}

#calculadora{
    box-shadow: #1d273f 0px 0px 10px;
    border-radius: 10px;
    justify-content: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 90%;
}

#calculadora div p{
    padding: 5px;
    font-weight: bold;
}

#inputs{
    border-radius: 10px;
    font-size: 1.2em;
    display: grid;
    text-align: center;
    gap:  1rem;
    grid-template-columns: 1fr 1fr;
    padding: 1rem;
}

input{
    font-size: 1.2rem;
}

#buttons{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    padding: 15px;
    width: 100%;
}

button{
    border-radius: 5px;
    padding: 5px;
    border: none;
    cursor: pointer;
    height: 40px;
    font-size: 1.2rem;
    font-weight: bolder;
}
#regime-container{
    font-size: 1.4rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding: 15px;
}

#regime{
    border-radius: 5px;
    padding: 5px;
    width: 100%;
    margin-top: 10px;
    text-align: center;
    font-size: 1.2rem;
}

#button {
    background-color: #4e53fb;
    color: white;

}
#button-clear {
    background-color: #1d273f;
    color: white;
}

#resultado{
    display: none;
    flex-direction: row;
    gap: 1rem;
    justify-content: center;
    width: 100%;
    padding: 1rem;
}
.resultado-container{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 1rem;
    border-radius: 10px;
    border: 0.2rem solid #4e53fb;
    padding: 1rem;
    width: 100%;
    text-align: center;
}

.resultado-container p{
    font-size: 1rem;
    padding: 0.2rem;
}

.resultado-container p strong{
    font-size: 1.7rem;
}
#sobre {
    padding: 1rem;
    
}

#sobre p{
    text-align: center;
    line-height: 1.5;
    font-size: 1rem;
    color: #1d273f;
}

.texto-container{

    margin: 1rem auto 2rem auto;
}

#sobre ol{
    list-style: none;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 1rem;

}

#sobre li{
    font-size: 1rem;
    text-align: center;
    width: 100%;
    font-weight: bold;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    background-color: #1d273f;
    border-radius: 10px;
    padding: 1rem;
}
#sobre li h3{
    font-size: 1.2rem;
    color: white;
    padding: 0.5rem;
}

#sobre li p {
    font-weight: normal;
    color: white;
    padding: 0.5rem;
}

#sobre h2{
    font-size: 1.5rem;
    margin-bottom: 1rem;
    text-align: center;    
}

#sobre-custos li{
    padding: 0.8rem;
    text-align: justify;
}

#info-sec{
    background-color: #1d273f;
    padding: 1rem;
    text-align: center;
    margin: 0;

}
#info-sec *{
    color: white;
    padding: 0.3rem;
}

#info-sec h2{
    font-size: 2rem;
    padding: 1rem;
}

#faq {

text-align: center;
}

#faq h2{
    text-align: center;
    padding: 1rem;
}

#faq details {
    padding: 0.2rem;
    
}

#faq summary {
    padding: 0.5rem;
    background-color: #1d273f;
    border-radius: 5px;
    color: white;
    font-weight: bolder;
}
#faq p{
    padding: 0.5rem;
}

#div-regime *{
    padding: 0.5rem;
}

#nota-importante *{
    color: red;
}

.politica-privacidade *{
    padding: 0.5rem;
}

#menu-footer{
    display: flex;
    width: 100%;
    background-color: #1d273f;
    box-shadow: #1d273f 1px 1px 1px 1px;


}
#menu-footer div {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    width: 100%;
}


#menu-footer a {
    color: white;
    padding: 0.5rem;
    font-weight: bolder;
    font-size: 1rem;
}

#direitos{
    color: white;
    padding: 0.5rem;
    text-align: center;
    font-size: 0.5rem;
    background-color: black;
}


#footer01{
    background-color: white;
    padding: 2rem;
    text-align: center;
}

#footer01 p{
    color: #1d273f;

}

#cookie-banner {
    position: fixed;
    right: 25%;
    bottom: 0;
    z-index: 999;
    background-color: #1d273f;
    opacity: 90%;
    padding: 2rem;
    width: 50%;
    text-align: center;
    border-radius: 20px;
}
#cookie-banner p{
    color: white;
    padding: 2rem;
}

#cookie-banner a{
    color: white;
    padding: 2rem;
    font-weight: bolder;
}

#btn-cookie {
    background-color: #4e53fb;
    color: white;
    margin-top: 1rem;
    width: auto;
    padding: 0.5rem 2rem;
}




/*INPUT*/
input {
    border-radius: 5px;
    padding: 5px;
}
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
}
input[type="number"] {
  -moz-appearance: textfield;
}

/*Responsividade*/

@media (max-width: 600px) {

  #logo img{
    max-width: 90%;
  }
    #inputs {
    grid-template-columns: 1fr;
  }

  #calculadora {
    width: 95%;
  }

  h1 {
    font-size: 1.2rem;
  }
  #calculadora h2{
    font-size: 1.3rem;
  }
  #calculadora div p{
    font-size: 1rem;
}
#regime{
    font-size: 1rem;
}
  #buttons{
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
#resultado{
    display: none;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 1rem;
}
#sobre ul{

    display: flex;
    flex-direction: column;

}
#sobre ol{
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    justify-content: center;

}#sobre li{
    gap: 0.5rem;
}

#sobre li h3{
    font-size: 0.9rem;
}

#sobre li p{
    font-size: 0.8rem;
    text-align: center;

}
#info-sec *{
    color: white;
    text-align: center;
    padding: 0.3rem;
    list-style: none;
}
footer{
    flex-direction: column;
}
footer div {
    flex-direction: column;
}
#footer01{
    width: 100%;
}
#cookie-banner {
    width: 100%;
    right: 0;    
}

}



