@font-face {
  font-family: 'Exo';
  src: url('fontes/exo2.0-regular-webfont.woff') format('woff');
  font-weight: normal; font-style: normal;
}

@font-face {
font-family: 'Font Awesome';
font-weight: 900; font-style: normal;
font-display: block;
src: url('fontes//fa-solid-900.woff2') format('woff2');
}

* { cursor: url('img/cursor/cursor.cur') 7 2, auto !important; }  
input, textarea, select { cursor: url('img/cursor/text.cur') 7 2, text !important; }  
input:focus, textarea:focus, select:focus, input:active, textarea:active,
select:active { cursor: url('img/cursor/text.cur') 7 2, text !important; }
a, a:link, a:hover, a:active  { cursor: url('img/cursor/hand.cur') 7 2, pointer !important; outline: none !important; user-select: none !important; -webkit-tap-highlight-color: transparent !important;  }
button { cursor: url('img/cursor/hand.png') 7 2, pointer !important; outline: none !important; user-select: none !important; -webkit-tap-highlight-color: transparent !important; }

/* Cabeçalho */
.header {
  position: fixed; display: flex; justify-content: space-between; align-items: center;
  top: 0; left: 0; width: 100%; height: 60px; padding: 0px;
  z-index: 1000;
  background-color: #062725; transition: background-color 0.3s ease;
  color: #FFF; font-family: 'Exo', sans-serif;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.header.transparente {
  background-color: rgba(6, 39, 37, 0.9) !important;
  backdrop-filter: blur(5px) !important;
}

.header h1 { margin: 0; font-size: 28px; font-family: 'Exo', sans-serif; }

.header p { margin: 5px 0 0; font-size: 16px; }

.logo { max-width: 240px; height: 54px; margin: 0 auto; position: absolute; left: 50%; transform: translateX(-50%); }
.logo img { max-width: 240px; height: 54px; margin: 0 auto; display: block; border-radius: 8px; border: none;
  cursor: url('img/cursor/hand.png') 7 2, pointer !important; outline: none !important; user-select: none !important; -webkit-tap-highlight-color: transparent !important;
}

/* Hamburger Menu Animation */
.hamburger { cursor: pointer; height: 60px; display: flex; position: relative; align-items: center;  }
 label.hamburger { font-weight: bold; margin: 0px; }
.hamburger input { display: none; }
.hamburger input[type="checkbox"] { display: none; }
.hamburger svg {
  height: 54px; width: 60px; border-radius: 20px 5px;
  margin-left: 10px; fill: none;
  transition: transform 600ms cubic-bezier(0.4, 0, 0.2, 1);
  transition: background-color 0.3s ease, transform 0.3s ease;
}
.hamburger svg:hover {
  background: #3FA110;
  transition: background-color 0.3s ease, transform 0.3s ease;
}
.line { fill: none; stroke: #188E45; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2;
  transition: stroke-dasharray 600ms cubic-bezier(0.4, 0, 0.2, 1),
              stroke-dashoffset 600ms cubic-bezier(0.4, 0, 0.2, 1);
}
.line-top-bottom { stroke-dasharray: 12 63; }
.hamburger input:checked + svg { transform: rotate(-45deg); }
.hamburger input:checked + svg .line-top-bottom {
  stroke-dasharray: 20 300; stroke-dashoffset: -32.42;
}
#menuToggle, .menu-toggle input[type="checkbox"] {
  position: absolute;
  width: 60px; height: 60px;
  margin: 0; padding: 0;
  opacity: 0; z-index: 1001;
  cursor: pointer;
}
.icone { width: 25px; height: 20px; padding: 0 0 0 0; }

.menu {
  position: fixed; box-sizing: border-box;
  top: 60px; left: -100%;
  width: 250px; height: calc(100% - 60px);
  background: #145034; color: #FFF;
  z-index: 1000;
  transition: left 0.3s ease;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin; scrollbar-color: #3FA110 #145034;
}
  
.menu.open { left: 0; }
.menu ul { padding: 10px 0; margin: 0; list-style: none; }
.menu li { border-bottom: 1px solid #146E37; }
.menu a { display: block; padding: 12px 20px; color: #FFF; text-decoration: none; }
.menu a:hover { background: #3FA110; }
.menu a.active { background: #3FA110; font-weight: regular; }
.menu a.active:hover { background: #146E37; }
  
.menu-overlay {
  position: fixed; top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: none;
  z-index: 999;
  transition: background-color 0.3s ease;
}
  
.menu-overlay.ativo { display: block; transition: background-color 0.3s ease; }

.menu-search input { background: #062725; 
  border: none; border-radius: 4px; border: solid 1px #3FA110;
  padding: 8px;
  color: #fff; font-size: 16px; font-family: 'Exo', sans-serif;
  box-sizing: border-box;
  transition: background-color 0.3s ease;
}

.menu-search input:focus { border-color: #FFCD00; background: #FFF7D6;
  box-shadow: 0 0 5px rgba(255, 205, 0, 0.5);
  outline: none; box-sizing: border-box;
} 

/* Rodapé */
.footer {
  width: 100%;
  background: #033333;
  color: #FFF;
  flex-shrink: 0; 
  display: block;
  unicode-bidi: isolate;
  overflow: hidden;
  box-sizing: border-box;
  margin: 20px 0 0 0;
}

.footer-cont {
  width: 100%; max-width: 1200px; margin: 0 auto; padding: 10px; display: flex; gap: 20px;
  justify-content: space-around; flex-wrap: wrap; box-sizing: border-box;
}

@media (max-width: 768px) {
  .footer-cont { flex-direction: column; align-items: center; padding: 10px; }
  .footer-info-box { flex: 1 1 100%; max-width: 100%; }
  .footer-info-box p { font-size: 0.8rem; }
}

.footer-top {
  display: flex; justify-content: space-around; padding: 20px 25px;
  background-color: #062725;
  text-align: left;
  flex-wrap: wrap;
}

.footer-info-box {
  flex: 1 1;
  max-width: 100%;
  margin: 10px 0;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-sizing: border-box;
}

.footer-info-box h4 { margin: 8px 0; font-size: 1.2rem; color: #58AD65; }

.footer-info-box p { margin: 8px 0; font-size: 0.9rem; color: #FFF; }

.icon-circle {
  background-color: rgba(255, 255, 255, 0.08);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  margin: 0 auto 10px auto;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.icon-circle:hover {
  transform: scale(1.05);
  transition: transform 0.3s ease;
}

.icon-circlesvg {
  width: 30px; height: 30px; fill: #3FA110;
  filter: invert(33%) sepia(78%) saturate(500%) hue-rotate(90deg) brightness(1.2);  
}

.whatsapp-link {
  display: inline-block;
  margin-top: 5px;
  font-size: 0.95rem;
  color: #58AD65;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.whatsapp-link:hover { color: #3FA110; text-decoration: none; }

.botao-contato {
  display: inline-block;
  background-color: #1c3f2e;
  font-size: 0.95rem; color: #c9f3d1;
  text-decoration: none;
  padding: 5px 10px;
  margin: 5px 8px;
  border-radius: 30px;
  border: 1px solid #00ff91;
  font-weight: bold;
  transition: background-color 0.3s, transform 0.2s;
}

.botao-contato:hover { background-color: #00ff91; color: #062725; transform: scale(1.05); }
.botao-contato i { margin-right: 6px; }
  
.footer-columns {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  background-color: #033333;
  padding: 30px 10px;
  color: #FFF;
}

.footer-col { flex: 1; min-width: 250px; margin: 10px; }

.footer-col:last-child {
  max-width: 320px;
}

.footer-col h4 {
  font-size: 1.2rem;
  margin: 0 0 15px 0;
  color: #58AD65;
}

.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-col ul li {
  margin-bottom: 8px;
  font-size: 1rem;
  transition: margin 0.3s ease;
}

.footer-col ul li a {
  color: #FFF;
  text-decoration: none;
  transition: margin 0.3s ease;
}

.footer-col ul li a:hover {
  color: rgb(63, 161, 16);
  margin: 0 0 0 5px;
  transition: margin 0.3s ease;
}

.footer-form input,
.footer-form textarea {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  padding: 12px;
  margin-bottom: 10px;
  background: #FFFFFF0E;
  border: none;
  border-radius: 4px;
  color: #FFF;
  font-size: 1rem;
  font-family: 'Exo', sans-serif;
}

.footer-form textarea {
  min-height: 100px;
}

.footer-form input:focus,
.footer-form textarea:focus {
  background: #FFFFFF0E;
  box-shadow: 0 0px 5px #58AD65D0;
  outline: none;
}

.footer-form input::placeholder,
.footer-form textarea::placeholder {
  color: #E3FF9550;
}

.footer-form button {
  max-width: 100%;
  box-sizing: border-box;
  background-color: #58AD65;
  transition: background-color 0.3s;
  color: #033333;
  padding: 12px;
  border: none;
  width: 100%;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1rem;
  font-family: 'Exo', sans-serif;
  font-weight: bold;
}

.footer-form button:hover {
  background-color: #40804B;
  transition: background-color 0.3s;
}

.footer-form button:active {
  scale: 0.95;
}

.footer-bottom {
  background: #062725;
  padding: 20px 80px;
  text-align: center; color: #E2FF9550; font-size: 1rem;
}

.footer-bottom p { color: #E2FF9550; font-size: 1rem; margin: 0px; }

/* Estilos extras para o menu dinâmico */
/* Separador visual entre seções do menu */
.menu ul li.separator {
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(63, 161, 16,0.3) 50%, transparent 100%);
    margin: 8px 15px;
    padding: 0;
    list-style: none;
}

.menu ul li.separator:hover {
    background: linear-gradient(90deg, transparent 0%, rgba(63, 161, 16,0.3) 50%, transparent 100%);
}

/* Indicador visual para diferentes tipos de links */
.menu ul li a[href*="simulador"]::before,
.menu ul li a[href*="hedge"]::before,
.menu ul li a[href*="rentabilidade"]::before {
    content: "";
    opacity: 0.7;
}

.menu ul li a[href*="conversor"]::before,
.menu ul li a[href*="correcao"]::before {
    content: "";
    opacity: 0.7;
}

.menu ul li a[href*="cotacoes"]::before,
.menu ul li a[href*="indicadores"]::before {
    content: "";
    opacity: 0.7;
}

.menu ul li a[href*="suporte"]::before {
    content: "";
    opacity: 0.7;
}

.menu ul li a[href*="admin"]::before,
.menu ul li a[href*="painel"]::before {
    content: "";
    opacity: 0.7;
}

.menu ul li a[href*="perfil"]::before {
    content: "";
    opacity: 0.7;
}

.menu ul li a[href*="logout"]::before {
    content: "";
    opacity: 0.7;
}

.menu ul li a[href*="login"]::before {
    content: "";
    opacity: 0.7;
}

/* Destaque sutil para ferramentas premium/avançadas */
.menu ul li a[href*="hedge"],
.menu ul li a[href*="gestordetarefas"] {
    position: relative;
}

.menu ul li a[href*="hedge"]::after,
.menu ul li a[href*="gestordetarefas"]::after {
    content: "PRO";
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 215, 0, 0.8);
    color: #333;
    font-size: 8px;
    padding: 2px 4px;
    border-radius: 3px;
    font-weight: bold;
}

/* Status de usuário no header */
.header .user-status {
    position: absolute;
    right: 80px;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
    font-size: 12px;
    opacity: 0.8;
    display: none;
}

@media (min-width: 768px) {
    .header .user-status {
        display: block;
    }
}

/* Efeito hover melhorado para links do menu */
.menu ul li a {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.menu ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: -100%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #fff, transparent);
    transition: left 0.5s ease;
}

.menu ul li a:hover::after {
    left: 100%;
}

/* Indicador de página atual */
.menu ul li a.active {
    background: #3ea110b0;
    font-weight: bold;
}

.menu ul li a.active::before { opacity: 1; }

/* Responsividade melhorada */
@media (max-width: 768px) {
  .menu ul li a::before { font-size: 14px; margin-right: 8px; }
  .menu ul li a[href*="hedge"]::after, .menu ul li a[href*="gestordetarefas"]::after { display: none; }
}

/* Animação sutil para o carregamento do menu */
.menu ul li { opacity: 0; animation: fadeInUp 0.5s ease forwards; }

.menu ul li:nth-child(1) { animation-delay: 0.1s; }
.menu ul li:nth-child(2) { animation-delay: 0.2s; }
.menu ul li:nth-child(3) { animation-delay: 0.3s; }
.menu ul li:nth-child(4) { animation-delay: 0.4s; }
.menu ul li:nth-child(5) { animation-delay: 0.5s; }
.menu ul li:nth-child(6) { animation-delay: 0.6s; }
.menu ul li:nth-child(7) { animation-delay: 0.7s; }
.menu ul li:nth-child(8) { animation-delay: 0.8s; }
.menu ul li:nth-child(9) { animation-delay: 0.9s; }
.menu ul li:nth-child(10) { animation-delay: 1.0s; }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scroll suave para menus muito longos */
.menu { box-sizing: border-box; max-height: 100vh; border-radius: 0 20px 20px 0; overflow-y: auto; scrollbar-width: thin; scrollbar-color: rgba(63, 161, 16,0.3) transparent; }
.menu::-webkit-scrollbar { width: 6px; }
.menu::-webkit-scrollbar-track { background: transparent; }
.menu::-webkit-scrollbar-thumb { background: rgba(63, 161, 16,0.3); border-radius: 3px; }
.menu::-webkit-scrollbar-thumb:hover { background: rgba(63, 161, 16,0.5); }