/* Reset básico */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --font-size-base: 16px;
}

html {
    font-size: var(--font-size-base);
}

body {
    font-family: 'Verdana', sans-serif; /* Fontes sem serifa são melhores para leitura */
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    background-attachment: fixed;
    min-height: 100vh;
    color: #333;
    line-height: 1.6;
    font-size: inherit;
}

/* Barra Superior (Navbar + Acessibilidade) */
.barra-superior {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1001;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    padding: 0;
}

/* Navbar de Navegação */
.navbar {
    flex: 1;
    min-width: 0;
    padding: 0;
    margin: 0;
}

.navbar-lista {
    list-style: none;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: wrap;
    margin: 0;
    padding: 0 20px;
    gap: 0;
}

.navbar-lista li {
    margin: 0;
    padding: 0;
}

.navbar-link {
    display: block;
    padding: 18px 30px;
    color: #333;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
    position: relative;
}

.navbar-link:hover {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    color: #667eea;
    border-bottom-color: #667eea;
}

.navbar-link:active {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.15) 0%, rgba(118, 75, 162, 0.15) 100%);
}

.navbar-link.ativo {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.15) 0%, rgba(118, 75, 162, 0.15) 100%);
    color: #667eea;
    border-bottom-color: #667eea;
    font-weight: bold;
}

/* Estilos para alto contraste na barra superior */
body.alto-contraste .barra-superior {
    background: #000000 !important;
    border-bottom: 3px solid #FFFF00 !important;
}

body.alto-contraste .navbar-link {
    color: #FFFFFF !important;
    border-bottom-color: transparent !important;
}

body.alto-contraste .navbar-link:hover {
    background: #000000 !important;
    color: #FFFF00 !important;
    border-bottom-color: #FFFF00 !important;
}

body.alto-contraste .navbar-link.ativo {
    background: #000000 !important;
    color: #FFFF00 !important;
    border-bottom-color: #FFFF00 !important;
}

/* Barra de Acessibilidade */
.acessibilidade-bar {
    padding: 12px 20px;
    text-align: right;
    margin: 0;
    flex-shrink: 0;
}

.acessibilidade-group {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 8px;
}

.acessibilidade-label {
    font-size: 1rem;
    font-weight: bold;
    color: #333;
    margin-right: 5px;
}

.acessibilidade-bar button {
    font-size: 1rem;
    padding: 8px 16px;
    cursor: pointer;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-weight: 500;
}

.acessibilidade-bar button .icon {
    font-size: 1.1rem;
}

.acessibilidade-bar button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.acessibilidade-bar button:active {
    transform: translateY(0);
}

.acessibilidade-bar button:focus {
    outline: 3px solid rgba(102, 126, 234, 0.5);
    outline-offset: 2px;
}

header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    color: #333;
    padding: 60px 20px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    margin-bottom: 40px;
    border-radius: 0 0 20px 20px;
    animation: fadeInDown 0.6s ease;
}

/* Menu de Navegação */
.menu-navegacao {
    position: fixed;
    top: 70px;
    right: 20px;
    z-index: 999;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    min-width: 250px;
    transition: all 0.3s ease;
}

.menu-toggle {
    width: 100%;
    padding: 15px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 15px 15px 0 0;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.menu-toggle:hover {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.menu-icon {
    font-size: 1.3rem;
}

.menu-lista {
    list-style: none;
    padding: 0;
    margin: 0;
    display: none;
    flex-direction: column;
    overflow: hidden;
}

.menu-lista.ativo {
    display: flex;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        max-height: 0;
    }
    to {
        opacity: 1;
        max-height: 500px;
    }
}

.menu-lista li {
    border-bottom: 1px solid rgba(102, 126, 234, 0.1);
}

.menu-lista li:last-child {
    border-bottom: none;
}

.menu-lista a {
    display: block;
    padding: 15px 20px;
    color: #333;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
}

.menu-lista a:hover {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    border-left-color: #667eea;
    padding-left: 25px;
    color: #667eea;
}

.menu-lista a:active {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.2) 0%, rgba(118, 75, 162, 0.2) 100%);
}

.menu-lista a.ativo {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.15) 0%, rgba(118, 75, 162, 0.15) 100%) !important;
    border-left-color: #667eea !important;
    color: #667eea !important;
    font-weight: bold;
}

/* Estilos para alto contraste no menu */
body.alto-contraste .menu-navegacao {
    background: #000000 !important;
    border: 3px solid #FFFF00 !important;
}

body.alto-contraste .menu-toggle {
    background: #FFFF00 !important;
    color: #000000 !important;
    font-weight: bold !important;
}

body.alto-contraste .menu-toggle:hover {
    background: #FFFFFF !important;
    color: #000000 !important;
}

body.alto-contraste .menu-lista a {
    color: #FFFFFF !important;
    border-left-color: transparent !important;
}

body.alto-contraste .menu-lista a:hover {
    background: #000000 !important;
    border-left-color: #FFFF00 !important;
    color: #FFFF00 !important;
}

body.alto-contraste .menu-lista li {
    border-bottom-color: #FFFF00 !important;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

header h1 { 
    font-size: 3rem; 
    margin-bottom: 15px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: bold;
    text-shadow: 0 2px 10px rgba(102, 126, 234, 0.3);
}

header p {
    font-size: 1.3rem;
    color: #666;
    font-weight: 500;
}

main {
    max-width: 1400px;
    margin: 40px auto;
    padding: 0 20px;
}

article {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    margin-bottom: 40px;
    animation: fadeInUp 0.6s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Estilo do Conteúdo (Texto do Word) */
article h2 {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    border-bottom: 3px solid;
    border-image: linear-gradient(135deg, #667eea 0%, #764ba2 100%) 1;
    padding-bottom: 15px;
    margin-top: 30px;
    margin-bottom: 25px;
    font-size: 2.2rem;
    font-weight: bold;
}

article h3 {
    color: #667eea;
    font-size: 1.8rem;
    margin: 30px 0 20px 0;
    font-weight: bold;
}

article p {
    font-size: 1.3rem; /* Letra grande por padrão (aprox 20px) */
    margin-bottom: 20px;
    text-align: justify;
    color: #444;
    line-height: 1.8;
}

/* Imagens dos Slides */
figure {
    margin: 30px 0;
    text-align: center;
}

figure img {
    max-width: 100%;
    height: auto;
    border: 2px solid rgba(102, 126, 234, 0.2);
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    transition: transform 0.3s ease;
}

figure img:hover {
    transform: scale(1.02);
}

figure figcaption {
    font-size: 1rem;
    color: #666;
    margin-top: 5px;
}

/* Caixas de Destaque */
.destaque-importante {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    border-left: 5px solid;
    border-image: linear-gradient(135deg, #667eea 0%, #764ba2 100%) 1;
    padding: 25px;
    margin: 25px 0;
    font-size: 1.4rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.1);
}

/* Botões de Navegação */
.navegacao-aulas {
    display: flex;
    justify-content: space-between;
    margin-top: 50px;
}

.navegacao-aulas a {
    text-decoration: none;
    background-color: #28a745; /* Verde para avançar */
    color: white;
    padding: 15px 30px;
    font-size: 1.2rem;
    border-radius: 5px;
    font-weight: bold;
}

.navegacao-aulas .btn-voltar {
    background-color: #6c757d; /* Cinza para voltar */
}

/* =========================================
   ESTILOS DO CARROSSEL (SLIDESHOW)
   ========================================= */

.carousel-container {
    margin: 40px 0;
    padding: 30px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
    border-radius: 15px;
    border: 2px solid rgba(102, 126, 234, 0.2);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.carousel-container h3 {
    color: #667eea;
    font-size: 1.8rem;
    margin-bottom: 20px;
    font-weight: bold;
}

.carousel {
    position: relative;
    max-width: 800px; /* Largura máxima do carrossel */
    margin: 0 auto;
}

/* A "janela" que esconde os slides que não estão visíveis */
.carousel-track-container {
    background: white;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    border: 2px solid rgba(102, 126, 234, 0.1);
}

/* O "trem" que segura as imagens e se move para os lados */
.carousel-track {
    padding: 0;
    margin: 0;
    list-style: none;
    display: flex; /* Coloca as imagens uma ao lado da outra */
    transition: transform ease-in-out 0.4s; /* Animação suave ao mudar */
}

.carousel-slide {
    min-width: 100%; /* Cada slide ocupa 100% da largura da janela */
}

.carousel-slide img {
    width: 100%;
    height: auto;
    display: block;
}

/* --- Botões de Navegação (Foco em Acessibilidade) --- */
.carousel-nav {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

.carousel-button {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 1.2rem; /* Letra grande */
    font-weight: bold;
    cursor: pointer;
    border-radius: 10px;
    font-family: 'Verdana', sans-serif;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    transition: all 0.3s ease;
}

.carousel-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
}

/* Esconde o botão quando não é necessário (ex: botão "voltar" no primeiro slide) */
.carousel-button.is-hidden {
    opacity: 0.3;
    pointer-events: none; /* Desativa o clique */
}

/* Indicador de "Slide 1 de X" */
.carousel-status {
    text-align: center;
    font-size: 1.3rem;
    font-weight: bold;
    margin-top: 20px;
    color: #667eea;
    background: rgba(102, 126, 234, 0.1);
    padding: 10px 20px;
    border-radius: 20px;
    display: inline-block;
    width: 100%;
}

/* =========================================
   ESTILOS DA GALERIA DE FOTOS
   ========================================= */

.gallery-section {
    margin: 50px 0;
    padding: 30px 0;
}

.gallery-section h2 {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    border-bottom: 3px solid;
    border-image: linear-gradient(135deg, #667eea 0%, #764ba2 100%) 1;
    padding-bottom: 15px;
    margin-bottom: 35px;
    font-size: 2.2rem;
    font-weight: bold;
}

.gallery-container {
    padding: 20px 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    padding: 20px 0;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: white;
    aspect-ratio: 1;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover::after {
    opacity: 1;
}

/* Lightbox Styles */
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    animation: fadeIn 0.3s ease;
}

.lightbox.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.lightbox-image {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    animation: zoomIn 0.3s ease;
    transition: opacity 0.15s ease;
}

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    color: white;
    font-size: 50px;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.2s ease, color 0.2s ease;
    z-index: 10000;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.lightbox-close:hover {
    transform: rotate(90deg);
    color: #ff6b6b;
    background: rgba(255, 255, 255, 0.2);
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    padding: 20px;
    user-select: none;
    transition: all 0.3s ease;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-prev {
    left: 30px;
}

.lightbox-next {
    right: 30px;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-50%) scale(1.1);
}

.lightbox-counter {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 1.2rem;
    background: rgba(0, 0, 0, 0.5);
    padding: 10px 20px;
    border-radius: 20px;
}

/* Responsive Design para Galeria */
@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 15px;
    }

    .lightbox-prev {
        left: 10px;
    }

    .lightbox-next {
        right: 10px;
    }

    .lightbox-close {
        top: 15px;
        right: 15px;
        font-size: 40px;
    }

    .lightbox-image {
        max-width: 95%;
        max-height: 85%;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
        gap: 10px;
    }
}

/* Responsividade da Barra de Acessibilidade e Navbar */
@media (max-width: 768px) {
    .barra-superior {
        flex-direction: column;
        gap: 0;
    }
    
    .navbar {
        width: 100%;
        border-bottom: 1px solid rgba(102, 126, 234, 0.1);
    }
    
    .navbar-lista {
        flex-direction: column;
        padding: 0;
    }
    
    .navbar-link {
        padding: 15px 20px;
        font-size: 1rem;
        width: 100%;
        text-align: center;
        border-bottom: 1px solid rgba(102, 126, 234, 0.1);
        border-left: 4px solid transparent;
    }
    
    .navbar-link:hover {
        border-left-color: #667eea;
        border-bottom-color: rgba(102, 126, 234, 0.1);
    }
    
    .navbar-link.ativo {
        border-left-color: #667eea;
    }
    
    .acessibilidade-bar {
        padding: 10px 15px;
        width: 100%;
    }
    
    .acessibilidade-group {
        justify-content: center;
        gap: 6px;
    }
    
    .acessibilidade-label {
        display: none;
    }
    
    .acessibilidade-bar button {
        font-size: 0.9rem;
        padding: 6px 12px;
    }
    
    .acessibilidade-bar button .icon {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .acessibilidade-bar button {
        font-size: 0.85rem;
        padding: 6px 10px;
    }
    
    .acessibilidade-bar button span:not(.icon) {
        display: none;
    }
    
    .acessibilidade-bar button .icon {
        font-size: 1.2rem;
    }
}

/* Footer */
footer {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 30px;
    text-align: center;
    margin-top: 50px;
    color: #666;
    border-radius: 20px 20px 0 0;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
    font-size: 1.1rem;
}

/* =========================================
   ESTILOS DE ALTO CONTRASTE
   ========================================= */

body.alto-contraste {
    background: #000000 !important;
    color: #FFFFFF !important;
}

body.alto-contraste header {
    background: #000000 !important;
    color: #FFFF00 !important;
    border: 3px solid #FFFF00 !important;
}

body.alto-contraste header h1 {
    color: #FFFF00 !important;
    -webkit-text-fill-color: #FFFF00 !important;
}

body.alto-contraste header p {
    color: #FFFFFF !important;
}

body.alto-contraste article {
    background: #000000 !important;
    color: #FFFFFF !important;
    border: 3px solid #FFFF00 !important;
}

body.alto-contraste article h2 {
    color: #FFFF00 !important;
    -webkit-text-fill-color: #FFFF00 !important;
    border-bottom-color: #FFFF00 !important;
}

body.alto-contraste article h3 {
    color: #FFFF00 !important;
}

body.alto-contraste article p {
    color: #FFFFFF !important;
}

body.alto-contraste .carousel-container {
    background: #000000 !important;
    border: 3px solid #FFFF00 !important;
}

body.alto-contraste .carousel-container h3 {
    color: #FFFF00 !important;
}

body.alto-contraste .carousel-button {
    background: #FFFF00 !important;
    color: #000000 !important;
    border: 2px solid #FFFF00 !important;
    font-weight: bold !important;
}

body.alto-contraste .carousel-button:hover {
    background: #FFFFFF !important;
    color: #000000 !important;
}

body.alto-contraste .carousel-status {
    color: #FFFF00 !important;
    background: #000000 !important;
    border: 2px solid #FFFF00 !important;
}

body.alto-contraste .gallery-section h2 {
    color: #FFFF00 !important;
    -webkit-text-fill-color: #FFFF00 !important;
    border-bottom-color: #FFFF00 !important;
}

body.alto-contraste .gallery-item {
    background: #000000 !important;
    border: 3px solid #FFFF00 !important;
}

body.alto-contraste .gallery-item:hover {
    border-color: #FFFFFF !important;
    box-shadow: 0 0 15px #FFFF00 !important;
}

body.alto-contraste .destaque-importante {
    background: #000000 !important;
    border-left: 5px solid #FFFF00 !important;
    color: #FFFFFF !important;
}

body.alto-contraste .acessibilidade-bar {
    background: #000000 !important;
    border-bottom: 3px solid #FFFF00 !important;
}

body.alto-contraste .acessibilidade-label {
    color: #FFFFFF !important;
}

body.alto-contraste .acessibilidade-bar button {
    background: #FFFF00 !important;
    color: #000000 !important;
    border: 2px solid #FFFF00 !important;
    font-weight: bold !important;
}

body.alto-contraste .acessibilidade-bar button:hover {
    background: #FFFFFF !important;
    color: #000000 !important;
    border-color: #FFFFFF !important;
}

body.alto-contraste footer {
    background: #000000 !important;
    color: #FFFF00 !important;
    border-top: 3px solid #FFFF00 !important;
}

body.alto-contraste iframe {
    border: 3px solid #FFFF00 !important;
}

/* Melhorias de acessibilidade para foco */
*:focus {
    outline: 2px solid #667eea;
    outline-offset: 2px;
}

body.alto-contraste *:focus {
    outline: 3px solid #FFFF00 !important;
    outline-offset: 3px !important;
}

/* Estilo para palavra destacada durante leitura */
.palavra-destacada {
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%) !important;
    color: #000 !important;
    padding: 2px 4px;
    border-radius: 4px;
    font-weight: bold;
    box-shadow: 0 2px 5px rgba(255, 215, 0, 0.5);
    transition: all 0.2s ease;
    animation: pulseHighlight 0.5s ease;
}

@keyframes pulseHighlight {
    0% {
        background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
        transform: scale(1);
    }
    50% {
        background: linear-gradient(135deg, #ffed4e 0%, #fff700 100%);
        transform: scale(1.05);
    }
    100% {
        background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
        transform: scale(1);
    }
}

body.alto-contraste .palavra-destacada {
    background: #FFFF00 !important;
    color: #000000 !important;
    border: 2px solid #FFFFFF !important;
    box-shadow: 0 0 10px #FFFF00 !important;
}