/* Melhorias globais de polish */

::selection {
    background: rgba(229, 127, 31, 0.25);
    color: var(--lw-text);
}

html {
    scroll-behavior: smooth;
}

main {
    min-height: 40vh;
}

.lw-header {
    backdrop-filter: blur(18px) saturate(160%);
    -webkit-backdrop-filter: blur(18px) saturate(160%);
}

img {
    max-width: 100%;
    height: auto;
}

:focus-visible {
    outline: 2px solid var(--lw-line);
    outline-offset: 3px;
}

.site-footer {
    margin-top: auto;
}

body {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    min-height: 100vh;
    width: 100%;
}

.content-page .titulo-secao h2,
.content-page .frase-final {
    animation: none;
}

.hero-home h1 span.destaque {
    color: var(--lw-line);
}

.stats-strip {
    border-top: none;
    border-bottom: none;
}

.stat-item {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.stat-item:hover {
    transform: translateY(-3px);
}

/* Secções com ritmo visual consistente */
section + section {
    position: relative;
}

/* Links do footer */
.footer-links a,
.footer-legal-links a,
.footer-credit a {
    transition: color 0.2s ease;
}

.footer-links a:hover,
.footer-legal-links a:hover {
    color: var(--lw-line);
}

/* Botões de idioma */
.lw-lang-btn.active {
    color: var(--lw-line) !important;
    font-weight: 700;
}
