/* Fix: compensar header fixo em todas as páginas internas */
.page__hero {
  padding-top: calc(70px + 3.5rem);
  padding-bottom: 3.5rem;
  background: var(--primary-color);
}

/* Garantir que anchors com ID não ficam tapados pelo header */
[id] {
  scroll-margin-top: 80px;
}
/*
 * ARVEN VENDING - ESTILOS ADICIONAIS
 * Estilos JavaScript e funcionalidades específicas
 */

/* Header com efeito scroll */
.header.scrolled {
  background-color: rgba(26, 43, 74, 0.95) !important;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

/* Transições de página */
.page-transition {
  animation: fadeInPage 0.4s ease-out;
}

@keyframes fadeInPage {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Transição suave para o header */
.header {
  transition: all 0.3s ease;
}

/* Ícones no rodapé - posicionados atrás do texto */
.footer__info li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 8px;
}

.footer__info li img {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 0;
  opacity: 1; /* SEM TRANSPARÊNCIA - como solicitado */
  width: 16px;
  height: 16px;
  pointer-events: none;
}

.footer__info li a {
  position: relative;
  z-index: 1;
  background: transparent;
}

/* Remover efeito hover apenas da imagem do logo */
.nav__logo-img {
  transition: none !important;
  filter: none !important;
  transform: none !important;
  pointer-events: none !important;
  cursor: pointer !important;
}

/* Desativar hover no link que contém o logo */
.nav__brand .nav__link {
  background: none !important;
  border: none !important;
  box-shadow: none !important;
  transition: none !important;
}

.nav__brand .nav__link:hover {
  background: none !important;
  transform: none !important;
  filter: none !important;
  color: inherit !important;
}

/* Desativar hover no link que contém o logo */
.nav__brand .nav__link {
  background: none !important;
  border: none !important;
  box-shadow: none !important;
  transition: none !important;
}

.nav__brand .nav__link:hover {
  background: none !important;
  transform: none !important;
  filter: none !important;
  color: inherit !important;
}

/* Manter efeitos hover apenas nos menus de navegação normais */
.nav__link:hover,
.nav__link.active {
  color: var(--secondary-color) !important;
}

/* Footer social icons - mantidos como estavam */
.footer__social {
  display: flex;
  gap: 10px;
  margin-top: 15px;
}

.footer__social-link img {
  transition: transform 0.2s ease;
}

.footer__social-link:hover img {
  transform: scale(1.1);
}

/* Header escondido no scroll */
.header.header--hidden {
  transform: translateY(-100%);
}

/* Estados de erro nos formulários - APENAS QUANDO ATIVO */
.form-input.error,
.form-select.error,
.form-textarea.error {
  border-color: var(--error-color, #ef4444) !important;
  background-color: rgba(239, 68, 68, 0.05);
}

/* Campos normais - sem estilo de erro */
.form-input:not(.error),
.form-select:not(.error),
.form-textarea:not(.error) {
  border-color: var(--gray-300);
  background-color: var(--white);
}

.form-input.error:focus,
.form-select.error:focus,
.form-textarea.error:focus {
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

/* Animação de rotação para loading */
@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* Animação de fade in up */
.fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Animação de números */
.animate-number.animating {
  text-shadow: 0 0 10px rgba(255, 193, 7, 0.5);
  transition: text-shadow 0.3s ease;
}

/* Menu mobile overlay */
.nav__overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 999;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.nav__overlay.active {
  opacity: 1;
}

/* Responsivo para menu mobile */
@media (max-width: 768px) {
  .nav__menu {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
  }
  
  .nav__list {
    flex-direction: column;
    width: 100%;
  }
  
  .nav__item {
    width: 100%;
  }
  
  .nav__link {
    display: block;
    padding: var(--spacing-md) 0;
    border-bottom: 1px solid var(--gray-200);
    width: 100%;
  }
}

