/* Landing page pública (Landing/Index). Estilos base; o restante está inline na view. */
html { scroll-behavior: smooth }
body { margin: 0; font-family: 'Inter', -apple-system, 'Segoe UI', Roboto, sans-serif; background: #FFFFFF }
[id] { scroll-margin-top: 80px }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto } }
a { color: #7719FF }
a:hover { color: #5C12C9 }
summary { list-style: none; cursor: pointer }
summary::-webkit-details-marker { display: none }
details[open] .faq-plus { transform: rotate(45deg) }
/* Seletor de idioma */
.lang-switch { display: flex; align-items: center; gap: 2px }
.lang-pill { box-sizing: border-box; display: inline-flex; align-items: center; gap: 5px; min-height: 30px; padding: 4px 8px; border-radius: 8px; color: #2F373E; font-size: 13px; font-weight: 600; line-height: 1; text-decoration: none; white-space: nowrap }
.lang-pill:hover { background: #F8F3FF; color: #1F1E2D }
.lang-pill.is-active { background: #F1E8FF; color: #7719FF }
.lang-pill:focus-visible { outline: 2px solid #7719FF; outline-offset: 2px }
.lang-flag { flex: 0 0 auto; width: 18px; height: 12px; border-radius: 2px; box-shadow: 0 0 0 1px rgba(31, 30, 45, 0.12); overflow: hidden; display: block }
/* Navbar: itens saem conforme a largura para nada transbordar (textos EN/ES são mais longos) */
.nav-inner a { white-space: nowrap }
@media (max-width: 1300px) {
    .nav-secondary { display: none !important }
}
@media (max-width: 1120px) {
    .nav-links { display: none !important }
}
/* Celular: logo + idiomas na 1ª linha; "Entrar" e o CTA na 2ª */
@media (max-width: 640px) {
    .nav-inner { flex-wrap: wrap; row-gap: 0 !important }
    .nav-actions { display: contents !important }
    .lang-switch { margin-left: auto }
    .nav-inner::after { content: ''; flex-basis: 100%; height: 0; order: 1 }
    .nav-actions > a { order: 2; margin-top: 8px }
    .nav-actions > a:last-child { margin-left: auto }
}
@media (max-width: 400px) {
    .lang-pill { padding: 4px 6px }
    .nav-actions > a:last-child { padding: 10px 14px !important; font-size: 14px }
}
