/* Estilos corrigidos para os botões SVG e bandeiras */

/* Estilos para os botões SVG no hero */
.hero-svg-button {
  position: relative;
  width: 180px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-svg-button button {
  width: 100%;
  height: 100%;
  cursor: pointer;
  background: transparent;
  outline: none;
  transition: 0.5s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.hero-svg-button button span {
  position: relative;
  z-index: 10;
  color: white;
  font-weight: 500;
}

.hero-svg-button svg {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
}

.hero-svg-button svg polyline {
  fill: none;
  stroke: white;
  stroke-width: 1;
  stroke-dasharray: 150 480;
  stroke-dashoffset: 150;
  transition: 0.8s ease-in-out;
}

.hero-svg-button.primary button {
  border: 1px solid #F4A261;
}

.hero-svg-button.secondary button {
  border: 1px solid #91C9FF;
}

.hero-svg-button.primary button:hover {
  background: #F4A261;
}

.hero-svg-button.secondary button:hover {
  background: #4C5B5C;
}

.hero-svg-button button:hover svg polyline {
  stroke-dashoffset: -330;
}

/* Estilos para as bandeiras no seletor de idiomas */
.flag-icon {
  width: 24px;
  height: 18px;
  display: block;
  border-radius: 2px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.flag-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* Responsividade */
@media (max-width: 768px) {
  .hero-svg-button {
    width: 100%;
    max-width: 180px;
  }
  
  /* Garantir que os botões fiquem em coluna em dispositivos móveis */
  .hero-buttons-container {
    flex-direction: column;
    align-items: center;
  }
}

/* Garantir que os botões fiquem na horizontal no PC */
.hero-buttons-container {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 1.5rem;
  justify-content: flex-start;
}

/* Garantir que o texto dos botões seja branco */
.hero-svg-button button span {
  color: white;
  white-space: nowrap;
}