/* 🌐 HEADER PADRÃO */
header {
    position: fixed;
    margin-top: 22px; /* espaço para a barra superior */

    width: 100%;
    top: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 7%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #F2F2F2;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: background 0.3s ease;
    height: 100px;
}

header.scrolled {
    background-color: rgba(242, 242, 242, 0.94);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.custom-shape-divider-bottom-1748953777 {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  transform: rotate(180deg);
  z-index: 1;
}

.custom-shape-divider-bottom-1748953777 svg {
  position: relative;
  display: block;
  width: calc(126% + 1.3px);
  height: 127px;
}

.custom-shape-divider-bottom-1748953777 .shape-fill {
  fill: #FFFFFF;
}

.top-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #43718e;
    color: #000000;
    padding: 4px 20px;
    font-size: 0.6rem;
    font-family: "Aleo", "Geologica", sans-serif;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    z-index: 9999;
    height: 28px;
    gap: 20px;
    text-transform: none;
  }
  
  .top-bar a {
    color: #e7e7e5;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase; /* CAPS */
  }
  
  .top-bar a:hover {
    text-decoration: underline;
  }

.icon-topbar {
    height: 20px;
    width: auto;
    margin-right: 6px;
    vertical-align: middle;
}
  
  
/* Logo */
.logo {
    display: flex;
    align-items: center;
    margin-right: auto;
}

/* Tamanho padrão (Desktop) */
.logo img {
    width: 90px; /* Logo maior */
    height: auto;
}

/* Menu de navegação */
.navlist {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 30px;
    text-align: right;
    padding: 0;
    margin-left: auto;
}

.navlist a {
    color: #000000;
    font-size: 1rem;
    text-decoration: none;
    text-transform: uppercase;
    padding: 10px 15px;
    border-radius: 5px;
    transition: color 0.3s ease, background 0.3s ease;
}

.navlist a:hover {
    color: #C44E2B;
}

/* Ícone do menu hamburguer (mobile) */
#menu-icon {
    font-size: 30px;
    z-index: 10001;
    cursor: pointer;
    display: none;
    color: #000000;
}

/* 📱 Tablets e telas médias (até 1024px) */
@media (max-width: 1024px) and (min-width: 769px) {
    .navlist a {
        font-size: 0.9rem;
        padding: 8px 12px;
        gap: 20px;
    }
    .logo img {
        width: 80px; /* Um pouco menor para tablets */
    }
}

/* 📱 Mobile (até 768px) */
@media (max-width: 768px) {
    #menu-icon {
        display: block;
    }

    .logo img {
        width: 70px; /* Reduz para caber bem */
    }

    .navlist {
        position: absolute;
        top: 60px;
        right: 0;
        width: 100%;
        height: auto;
        background: rgba(242, 242, 242, 0.95);
        display: none;
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
    }

    .navlist.active {
        display: flex;
    }

    .navlist a {
        display: block;
        text-align: center;
        padding: 15px;
        font-size: 1.1rem;
    }
}

/* 📱📱 Mobile pequeno (até 480px) */
@media (max-width: 480px) {
    header {
        padding: 10px 5%;
    }

    .logo img {
        width: 65px; /* Um pouco mais compacto no celular pequeno */
    }

    #menu-icon {
        font-size: 26px;
    }

    .navlist a {
        font-size: 1rem;
        padding: 12px;
    }
}