/* Estilo para o header fixo em todas as telas */
header.navbar {
  position: sticky; /* Faz o menu 'grudar' no topo */
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: #1a1a1a;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

/* Estilo para o link ativo no menu (Aplicado a todas as telas) */
header.navbar .nav-links a.active {
    color: #e83e8c; /* Cor de destaque rosa, similar ao botão Contato */
    font-weight: 700;
}

/* Estilos para o menu deslizante em dispositivos móveis */
@media (max-width: 768px) {

  /* Esconde o botão hamburger */
  header.navbar .nav-toggle {
    display: none;
  }

  /* Ajusta o container do menu */
  header.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
  }

  /* Estilos para o menu deslizante */
  header.navbar .nav-links {
    display: flex;
    flex-direction: row; /* Garante a direção horizontal */
    position: static;
    transform: none;
    width: auto;
    background: none;
    box-shadow: none;
    padding: 0;
    flex-grow: 1;
    overflow-x: auto; /* Permite o deslizamento horizontal */
    overflow-y: hidden;
    white-space: nowrap; /* Impede que os links quebrem a linha */
    -ms-overflow-style: none;  /* IE e Edge */
    scrollbar-width: none;  /* Firefox */
    scroll-behavior: smooth; /* Adiciona rolagem suave ao container */
  }

  /* Esconde a barra de rolagem no Chrome, Safari e Opera */
  header.navbar .nav-links::-webkit-scrollbar {
    display: none;
  }

  header.navbar .nav-links a {
    display: inline-block;
    flex-shrink: 0; /* Impede que os links encolham */
    width: auto !important; /* Sobrescreve qualquer 'width: 100%' do CSS externo */
    padding: 0 12px; /* Espaçamento entre os links */
    line-height: 60px; /* Alinha verticalmente com a altura do header */
    border: none;
    transition: color 0.3s ease; /* Adiciona transição suave de cor */
  }

  header.navbar .hire-btn {
    flex-shrink: 0; /* Impede que o botão de contato diminua */
  }
}

/* Estilos para o seletor de idioma (Aplicado a todas as telas) */
.vlt-language-switcher {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1001; /* Acima do botão "toTopBtn" */
  background-color: rgba(26, 26, 26, 0.8);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.vlt-language-switcher button {
  background: none;
  border: none;
  color: white;
  padding: 8px 12px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  transition: background-color 0.3s;
}

.vlt-language-switcher button.is-active {
  background-color: #e83e8c;
  color: white;
}

/* Estilos para os sliders/carrosséis (aplicado a todas as telas) */
.services,
.pricing-grid {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  gap: 16px;
  padding-bottom: 1rem;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.services::-webkit-scrollbar,
.pricing-grid::-webkit-scrollbar {
  display: none;
}

/* INÍCIO: ESTILOS DO NOVO PLAYER DE ÁUDIO */
:root {
    --player-primary-color: #ff4b36; /* Cor principal (botão, progresso, texto) */
    --player-background-color: #222; /* Cor de fundo da barra */
    --player-button-text-color: #ffffff; /* Cor do texto e ícone do botão */
}

.story-audio-player {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.story-audio-player .play-pause-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: transparent;
    border: 1px solid var(--player-primary-color);
    color: var(--player-primary-color);
    padding: 10px 20px;
    border-radius: 30px;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    font-weight: bold;
    font-size: 14px;
    transition: all 0.3s ease;
}

.story-audio-player .play-pause-button:hover {
    background-color: var(--player-primary-color);
    color: var(--player-button-text-color);
}

.story-audio-player .play-pause-button svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.story-audio-player .pause-icon {
    display: none;
}

.story-audio-player.is-playing .play-icon {
    display: none;
}

.story-audio-player.is-playing .pause-icon {
    display: block;
}

.story-audio-player .progress-wrapper {
    width: 100%;
    max-width: 500px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-in-out, margin-top 0.5s ease-in-out;
}

.story-audio-player.is-playing .progress-wrapper {
    max-height: 50px; /* Altura suficiente para a barra aparecer */
    margin-top: 15px;
}

.progress-container {
    background-color: var(--player-background-color);
    height: 8px;
    border-radius: 4px;
    cursor: pointer;
    width: 100%;
}

.progress-bar {
    width: 0%;
    height: 100%;
    background-color: var(--player-primary-color);
    border-radius: 4px;
    transition: width 0.1s linear;
}
/* FIM: ESTILOS DO NOVO PLAYER DE ÁUDIO */
