/* Ajustes CSS para Páginas Multilíngues (EN/FR) */

/* Garantir que os links do logo funcionam corretamente */
.logo a {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.logo a:hover {
    opacity: 0.85;
}

/* Garantir que o logo text está visível */
.logo a .logo-text {
    color: white;
    font-size: 1.125rem;
    font-weight: 600;
}

/* Ajustes para o seletor de idioma com links */
.language-selector .lang-link {
    text-decoration: none;
    display: inline-flex;
}

.language-selector .lang-link button {
    margin: 0;
}

/* Mobile: Ajustes para o dropdown de idioma */
.language-selector-mobile select {
    cursor: pointer;
}

/* Garantir que o hero subtitle está bem formatado */
.hero-subtitle {
    color: #2B5F65;
    font-weight: 700;
}

/* Footer links com paths corretos */
.footer-link {
    transition: all 0.2s ease;
}

.footer-link:hover {
    transform: translateX(4px);
}

/* Garantir que o mobile menu funciona nas páginas multilíngues */
.mobile-menu-link {
    display: block;
    padding: 16px 0;
    color: #2B5F65;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.125rem;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(43, 95, 101, 0.1);
}

.mobile-menu-link:hover {
    color: #183233;
    padding-left: 8px;
}

.mobile-menu-link:last-child {
    border-bottom: none;
}

/* Melhorar o contraste do hero em todas as línguas */
.hero-title {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.hero-description {
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

/* Garantir que os CTAs são visíveis em todas as línguas */
.cta-button {
    box-shadow: 0 4px 14px rgba(43, 95, 101, 0.3);
}

.cta-button:hover {
    box-shadow: 0 6px 20px rgba(43, 95, 101, 0.4);
}

/* Ajustes responsivos específicos */
@media (max-width: 768px) {
    .logo a {
        gap: 8px;
    }
    
    .logo a .logo-text {
        font-size: 1rem;
    }
}

/* Garantir compatibilidade com diferentes comprimentos de texto */
.nav-link {
    white-space: nowrap;
}

/* Acessibilidade: Melhorar foco para navegação por teclado */
a:focus-visible,
button:focus-visible,
select:focus-visible {
    outline: 2px solid #2B5F65;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Ajustes para o language selector active state */
.language-selector button.active {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.4);
    color: white;
    font-weight: 700;
}

.language-selector button.active:hover {
    background: rgba(255, 255, 255, 0.3);
}
