
body {
    height: 100vh; /* Altura total da tela */
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

/* Container principal para a navegação e rodapé */
.container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    background-color: white;
    width: 100%;
    margin: 0 auto;
}

/* --- Cabeçalho --- */
nav {
    display: flex;
    justify-content: space-around;
    align-items: center;
    color: #337AA6;
    background-color: white;
    margin-right: 10px;
    height: 8.4vh;
}

#logo img {
    width: 8.5%;
    display: block;
    margin-right: 182px;
}

.item_nav {
    list-style: none;
    display: flex;
    padding-top: 15px;
}

.item_nav > li > a {
    padding-right: 10px;
    padding-left: 10px;
    color: green;
    text-decoration: none;
    font-size: 18px;
}

.letras:hover {
    background-color: rgba(128, 128, 128, 0.405);
    padding-bottom: 2.4vh;
    padding-top: 2.4vh;
}

#flag1{
  padding-right:2vh;
  width: 29px;
  height: 31px;
  position: relative;
  top: -3px;
}

#flag2{
  padding-right:2vh;
  width: 25px;
}

#flag3{
  padding-right:2vh;
  width: 25px;
  height: 31px;
  position: relative;
  top: -3px;
}

#flag1:hover, #flag2:hover , #flag3:hover{
 transform: scale(1.2);
}

/* Dropdown de contatos */
.dropdown-menu {
    display: none;
    position: absolute;
    background-color: white;
    list-style: none;
    padding: 5px 0;
    margin: 0;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    z-index: 9999;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu li a {
    display: flex;
    align-items: center;
    padding: 8px 20px;
    color: #337AA6;
    text-decoration: none;
}

.dropdown-menu li b {
    font-style: normal;
    font-weight: bold; /* Adicionado para garantir o negrito, já que a tag <b> foi movida */
}

.dropdown-menu li a:hover {
    background-color: rgba(128, 128, 128, 0.405);
    color: green;
}

/* --- Seção do Livro --- */
.livro-section {
    display: flex;
    justify-content: center;
    align-items: center;
    background:url(../img/mesa.jpg);
    background-size: cover;
    height: 76.5vh;
}

/* Estilo do livro */
.book-wrap {
    width: 75%;
    height: 85%;
    box-shadow: 0 60px 80px rgba(0, 0, 0, 0.35);
    border-radius: 12px;
    background: rgb(20, 4, 4);
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('https://www.transparenttextures.com/patterns/leather.png');
    background-size: 200px;
}

.book {
    width: 99.9%;
    height: 67.5vh;
    display: flex;
    border-radius: 6px;
    background: #fdfcf9;
    background-image: url('https://www.transparenttextures.com/patterns/paper-fibers.png');
    background-size: 100%;
    position: relative;
    overflow: hidden;
    color: rgb(46, 13, 13);
}

.book p{
 font-size: 3.4vh; 
}

.page {
    flex: 1;
    padding: 25px 25px;
    position: relative;
    overflow: hidden;
}

.page.left::after {
    content: "";
    position: absolute;
    inset: 0;
    box-shadow: inset 40px 0 50px -30px rgba(0, 0, 0, 0.32);
    pointer-events: none;
}

.page.right::after {
    content: "";
    position: absolute;
    inset: 0;
    box-shadow: inset -40px 0 50px -30px rgba(0, 0, 0, 0.32);
    pointer-events: none;
   
}


.book::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 8px;
    background: linear-gradient(to bottom, #aaa, #666, #aaa);
    box-shadow: inset 0 0 6px rgba(255, 255, 255, 0.4), 0 0 8px rgba(0, 0, 0, 0.4);
    transform: translateX(-50%);
    z-index: 15;
    border-radius: 4px;
}

.image-container img {
    width: 64.9%;
    margin-left: 11.5vh; 
}


/* Footer */
.rodape{
  background-color:white;
  color: green; 
  width: 100%;
  height: 12.2vh;

  display: flex; 
  align-items: center;        /* alinha verticalmente */
  justify-content: space-around;    /* centraliza horizontalmente */
  gap: 15px;                  /* espaço entre imagem e texto */
  text-align: center;
}
#imgbi{
  width: 20vh;
}

#imgast{
  margin-top: 1vh; 
  width: 10vh;
}

#vissao{
  margin: 0%;
  padding: 0%;
  font-family: "Radley", serif;
  font-size: 60px;
}

/* A cortina deve ter um Z-INDEX mais baixo, por exemplo, 10 */
#cortina {
    display: none;
    position: fixed;
    backdrop-filter: blur(2px);
    background-color: rgba(0, 0, 0, 0.5);
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    /* CORREÇÃO: Z-INDEX baixo para ficar por baixo dos modais */
    z-index: 10; 
}

/* Os formulários (Orçamento e Login) devem ter um Z-INDEX mais alto que a cortina, por exemplo, 1000 */
.formulario {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 8px;
    border: 5px solid;
    width: 75vh;
    height: 90vh;
    background-image: url(../img/tronco.jpg);
    background-size: cover;
    color: aliceblue;
    padding: 20px;
    /* CORREÇÃO: Z-INDEX alto para ficar por cima da cortina */
    z-index: 1000; 
}

/* O #login herda o z-index de .formulario, mas é bom ter certeza */
#login {
    width: 190px;
    height: 260px;
    text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.767);
    /* Se necessário, defina um z-index específico, mas o '1000' do .formulario já é suficiente. */
}

#btn-reset{
  background-color: #eeeeeece;
  color: rgba(0, 0, 0, 0.793);
}
.btn,#btn-submeter{
  background-color: green;
  color: #eee;
  height: 35px;
  border-radius: 5px;
  margin-right: 5px;
}

#btn-fechar1,#btn-fechar2{
  background-color: #1D5273;
  color: #eee;
  height: 35px;
  border-radius: 5px;
  margin-right: 5px;
}

.bnt:hover{
   transform: scale(1.2);
}

#btn-fechar2:hover,
#btn-enter:hover,
#btn-fechar1:hover,
#btn-reset:hover,
#btn-submeter:hover {
   transform: scale(1.2);
}

#btn-enter{
  background-color: green;
  color: #eee;
  height: 35px;
  border-radius: 5px;
  margin-right: 5px;
}