:root{
    --fonte-barra-px: calc(var(--fonte-simulador-px) * 0.85);
}

.barraDesktop  {
    background-color: var(--barra-inferior-desktop);
    position: fixed;
    max-width: 80%;
    /*width: 90vw;*/
    margin: 0 auto;
    bottom: 1rem;
    left: 0;
    right: 0;
    border-radius: 30px;
    /*background-color: aqua;*/
    display: flex;
    justify-content: space-around;
    /* padding: 1em; */
    /* height: 5em; */
    height: auto;
    min-height: 5em;
    max-height: 6em;
    padding: calc(var(--fonte-barra-px) * 0.7);
    padding-top: 1em;
    /* padding-bottom: 0.5em; */
}

.barraDesktop a, .barraDesktop span{
    text-decoration: none;
    color: black;
}

.barraDesktop a div, .barraDesktop span div{
    text-align: center;
    margin-top: 0.2em;
    font-size:  calc(var(--fonte-barra-px) * 1);
    line-height: 1.1;
    /* font-size: 0.9em; */
}

.barraDesktop a i, .barraDesktop span i{
    /*transition: all 200ms ease-in;*/
    /* font-size: 3rem; */
    font-size: calc(var(--fonte-barra-px) * 2.25);
    color: rgb(34, 34, 72);
    cursor: pointer;
    margin: auto;
    width: 50%;
    padding-left: 10px;
    padding-right: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
}


/*Barra inferior mobile */
.navBottom {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  --barra-inferior-mobile: #edece4;
  background-color: var(--barra-inferior-mobile);
  display: flex;
  justify-content: space-around;
  align-items: center;
  height: 55px;
  /* padding-bottom: constant(safe-area-inset-bottom); */ /* iOS <= 11 fallback */
  padding-bottom: calc(var(--sab) - 10px);
  box-sizing: content-box;
}

/* Tablets touch (Android + iPad) */
@media (min-device-width: 768px)
  and (min-device-height: 1024px)
  and (hover: none)
  and (pointer: coarse) {

  /* Android (default) */
  .navBottom {
    height: 70px;
    padding-bottom: 0;
  }

  /* iOS / iPadOS */
  @supports (-webkit-touch-callout: none) {
    .navBottom {
      height: calc(35px + env(safe-area-inset-bottom));
      padding-bottom: calc(var(--sab) - 20px);
    }
  }
}

@media (min-device-width: 1024px) and (min-device-height: 700px) {
  /* iPads: têm tela grande, touch, e não mouse */
  .navBottom {
    height: calc(45px + env(safe-area-inset-bottom));
    padding-bottom: calc(var(--sab) - 20px);
  }
}

.navBottom a, .navBottom span {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-grow: 1;
    width: 50px;
    overflow: hidden;
    white-space: nowrap;
    font-family: sans-serif;
    font-size: 24px;
    color: #2b2b2b;
    text-decoration: none;
}

.navBottom > div {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-grow: 1;
    width: 50px;
    white-space: nowrap;
    font-family: sans-serif;
    font-size: 24px;
    color: #2b2b2b;
    text-decoration: none;
}

.navBottom > div > ul > li > span{
    width: 100%;
}

.navBottom div {
    flex-grow: 1;
	text-decoration: none;
    font-size: 10px;
    /* font-size: var(--fonte-barra-px);
    line-height: 1.1; */
}

.navBottom a,
.navBottom span {
    transform: translateY(-6px); /* ajuste fino */
}

.navBottom .dropup .dropdown-menu {
    margin-bottom: 8px; /* ajuste fino: 6px–10px */
}

@media (orientation: landscape) and (max-width: 900px) {
  .navBottom > a,
  .navBottom > span{
    transform: translateY(0px);
  }

  .navBottom > div{
    transform: translateY(6px);
  }
}