* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: #1a1a2e;
    line-height: 1.6;
    background-color: #ffffff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Acessibilidade */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 3px solid rgba(0, 163, 163, 0.35);
    outline-offset: 3px;
}

/* Header */
.header {
    background-color: #ffffff;
    border-bottom: 1px solid #e0e0e0;
    padding: 8px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.logo a {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a2b4c;
    text-decoration: none;
}

.logo-img {
    height: 50px;
    width: auto;
    display: block;
}

.nav {
    display: flex;
    gap: 24px;
}

.nav a {
    color: #4a5568;
    text-decoration: none;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.nav a:hover {
    background-color: #dbe5e6;
    color: #1a2b4c;
}

.nav a.active {
    background-color: #2ce6c7;
    color: #ffffff;
    font-weight: 600;
}

.hamburger {
    display: none;
    background: none;
    border: none;
    color: #1a2b4c;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
}

.hamburger:hover {
    background-color: #f1f5f9;
}

.idiomas {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #4a5568;
    font-weight: 500;
}

.idioma-ativo {
    color: #1a2b4c;
    font-weight: 700;
}

.idioma-desabilitado {
    color: #94a3b8;
    cursor: not-allowed;
}

/* Hero */
.hero {
    background: linear-gradient(135deg, #1a2b4c 0%, #1a5c5c 50%, #00a3a3 100%);
    color: white;
    text-align: center;
    padding: 35px 20px;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 16px;
}

.hero .subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* Banner Slider */
.banner-section {
    padding: 40px 0;
    background-color: #f8f9fa;
}

.slider-container {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    background: #f1f5f9;
}

.slider-track {
    display: flex;
    transition: transform 0.5s ease;
}

.slide {
    min-width: 100%;
    position: relative;
}

.slide img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
}

.slide-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    color: white;
    padding: 60px 20px 20px;
    text-align: center;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.8);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    transition: background 0.3s;
    z-index: 10;
}

.slider-btn:hover {
    background: white;
}

.slider-btn.prev {
    left: 20px;
}

.slider-btn.next {
    right: 20px;
}

.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 10px;
    z-index: 10;
}

.dot {
    width: 10px;
    height: 10px;
    background: rgba(255,255,255,0.5);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s;
    padding: 0;
}

.dot.active {
    background: white;
}

/* Cards (Missão e Visão) */
.missao-visao {
    padding: 60px 0;
}

.cards-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.card {
    background: white;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    border: 1px solid #e8e8e8;
}

.card h2 {
    font-size: 1.75rem;
    color: #1a2b4c;
    margin-bottom: 20px;
    border-left: 4px solid #00a3a3;
    padding-left: 16px;
}

.card p {
    color: #4a5568;
    margin-bottom: 16px;
}

.card .destaque {
    font-weight: 600;
    color: #1a2b4c;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid #e8e8e8;
}

.card ul {
    list-style: none;
    padding-left: 0;
}

.card ul li {
    padding: 8px 0 8px 24px;
    position: relative;
    color: #4a5568;
}

.card ul li::before {
    content: "✓";
    color: #00a3a3;
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Áreas de Pesquisa */
.areas-pesquisa {
    background-color: #f8f9fa;
    padding: 60px 0;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    color: #1a2b4c;
    margin-bottom: 48px;
}

.areas-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.area-card {
    background: white;
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.area-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.area-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.area-card h3 {
    font-size: 1.1rem;
    color: #1a2b4c;
    margin-bottom: 12px;
}

.area-card p {
    font-size: 0.9rem;
    color: #718096;
}

/* Footer */
.footer {
    background-color: #1a2b4c;
    color: white;
    padding: 48px 0 24px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-info h3,
.footer-contato h4,
.footer-links h4 {
    margin-bottom: 16px;
}

.footer-info p,
.footer-contato p {
    color: #cbd5e0;
    line-height: 1.6;
    margin-bottom: 8px;
}

.footer-contato a,
.footer-links a {
    color: #cbd5e0;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-contato a:hover,
.footer-links a:hover {
    color: #2ce6c7;
}

.footer-links a {
    display: block;
    margin-bottom: 8px;
}

.footer-copyright {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid #2c3e66;
    color: #94a3b8;
    font-size: 0.875rem;
}

/* PÁGINA SOBRE */
.page-hero {
    background: linear-gradient(135deg, #1a2b4c 0%, #2c3e66 100%);
    color: white;
    text-align: center;
    padding: 60px 20px;
}

.page-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.sobre-quem {
    padding: 60px 0;
    background-color: #ffffff;
}

.sobre-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

.sobre-texto h2 {
    color: #1a2b4c;
    margin-bottom: 24px;
    font-size: 1.8rem;
}

.sobre-texto p {
    color: #4a5568;
    line-height: 1.6;
    margin-bottom: 16px;
}

.missao-card,
.visao-card {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
}

.missao-card h3,
.visao-card h3 {
    color: #1a2b4c;
    margin-bottom: 12px;
}

.parcerias {
    background-color: #f8f9fa;
    padding: 60px 0;
    text-align: center;
}

.parcerias h2 {
    color: #1a2b4c;
    margin-bottom: 40px;
}

.parcerias-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
}

.parceria-card {
    display: inline-block;
    background: white;
    padding: 16px 32px;
    border-radius: 40px;
    font-weight: 600;
    color: #1a2b4c;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.parceria-card:hover {
    transform: translateY(-2px);
    background: #00a3a3;
    color: white;
    box-shadow: 0 6px 18px rgba(0,0,0,0.10);
}

/* Localização */
.localizacao {
    padding: 60px 0;
    background-color: #ffffff;
}

.localizacao h2 {
    text-align: left;
    color: #1a2b4c;
    margin-bottom: 40px;
    font-size: 1.8rem;
}

.local-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 48px;
    align-items: start;
}

.endereco {
    background: #f8f9fa;
    padding: 24px;
    border-radius: 12px;
}

.endereco p {
    margin-bottom: 12px;
    line-height: 1.6;
}

.endereco strong {
    color: #1a2b4c;
}

.endereco a {
    color: #00a3a3;
    text-decoration: none;
}

.endereco a:hover {
    text-decoration: underline;
}

.mapa-interativo iframe {
    width: 100%;
    height: 400px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

/* PÁGINA EQUIPE */
.equipe-categoria {
    padding: 60px 0;
}

.equipe-categoria.bg-claro {
    background-color: #f8f9fa;
}

.categoria-titulo {
    font-size: 1.8rem;
    color: #1a2b4c;
    margin-bottom: 40px;
    text-align: center;
}

/* Subcategorias da equipe */
.equipe-subcategoria {
    margin-top: 2.5rem;
}

.equipe-subcategoria:first-of-type {
    margin-top: 1.5rem;
}

.subcategoria-titulo {
    font-size: 1.4rem;
    color: #1a2b4c;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid rgba(0, 163, 163, 0.18);
}

/* Containers da equipe */
.equipe-coordenadores,
.equipe-pesquisadores-associados,
.equipe-pesquisadores-posgraduacao,
.equipe-pesquisadores-graduacao,
.equipe-alumni {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 32px;
}

.membro-card {
    background: white;
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.membro-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

/* Foto circular */
.membro-foto {
    width: 120px;
    height: 120px;
    margin: 0 auto 16px;
    border-radius: 50%;
    overflow: hidden;
    background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.membro-foto img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.foto-placeholder {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: #94a3b8;
}

.membro-card h3 {
    font-size: 1.2rem;
    color: #1a2b4c;
    margin-bottom: 8px;
}

.membro-funcao {
    font-weight: 500;
    color: #00a3a3;
    margin-bottom: 12px;
    font-size: 0.85rem;
}

/* Links (Lattes e LinkedIn) */
.membro-links {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 12px;
    flex-wrap: wrap;
}

.membro-links a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: #f1f5f9;
    color: #1a2b4c;
    text-decoration: none;
    border-radius: 40px;
    font-size: 0.75rem;
    font-weight: 500;
    transition: all 0.2s;
}

.membro-links a:hover {
    background: #00a3a3;
    color: white;
}

/* PÁGINA PROJETOS */
.filtros-projetos {
    padding: 20px 0 0 0;
    background-color: #ffffff;
}

.filtros-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.filtro-btn {
    background: #f1f5f9;
    border: none;
    padding: 8px 20px;
    border-radius: 40px;
    font-size: 0.9rem;
    font-weight: 500;
    color: #475569;
    cursor: pointer;
    transition: all 0.3s;
}

.filtro-btn:hover {
    background: #e2e8f0;
}

.filtro-btn.active {
    background: #00a3a3;
    color: white;
}

.projetos-section {
    padding: 40px 0 80px;
    background-color: #f8f9fa;
}

.projetos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 32px;
}

.projeto-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.projeto-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.projeto-imagem {
    height: 200px;
    background: linear-gradient(135deg, #1a2b4c 0%, #2c3e66 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
    overflow: hidden;
}

.projeto-imagem img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* Aumentar especificamente a imagem do projeto Saúde Maré */
.projeto-imagem img[alt*="Maré" i],
.projeto-imagem img[alt*="Mare" i],
.projeto-imagem img[src*="mare" i] {
    transform: scale(2.2);
    object-fit: cover;
    background-color: white; /* Garante que o fundo branco ocupe todo o card se necessário */
}

.projeto-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.projeto-card h3 {
    font-size: 1.3rem;
    color: #1a2b4c;
    padding: 20px 20px 0 20px;
    margin-bottom: 8px;
}

.projeto-tags {
    padding: 0 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.tag {
    background: #e6f7f7;
    color: #00a3a3;
    font-size: 0.7rem;
    padding: 4px 10px;
    border-radius: 20px;
    font-weight: 500;
}

.status-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    margin: 16px 20px 0 20px;
}

.status-ativo {
    background: #d1fae5;
    color: #059669;
}

.status-concluido {
    background: #fef3c7;
    color: #d97706;
}

.projeto-descricao,
.projeto-equipe,
.projeto-financiadores,
.projeto-ano {
    padding: 0 20px;
    margin-bottom: 10px;
    color: #334155;
}

.projeto-descricao {
    margin-top: 8px;
}

.projeto-equipe strong,
.projeto-financiadores strong {
    color: #1a2b4c;
}

.projeto-link {
    display: inline-block;
    margin: 8px 20px 20px 20px;
    padding: 8px 16px;
    background: #f1f5f9;
    color: #1a2b4c;
    text-decoration: none;
    border-radius: 8px;
    font-size: 0.8rem;
    transition: background 0.3s, color 0.3s;
}

.projeto-link:hover {
    background: #00a3a3;
    color: white;
}

.projeto-link-indisponivel,
.projeto-link-indisponivel:hover {
    background: #f1f5f9;
    color: #475569;
    cursor: default;
}

/* PÁGINA PUBLICAÇÕES */
.filtros-publicacoes {
    padding: 20px 0;
    background-color: #f8f9fa;
    border-bottom: 1px solid #e2e8f0;
}

.filtros-linha {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

.busca-container {
    display: flex;
    gap: 12px;
    flex: 2;
    min-width: 250px;
}

.busca-input {
    flex: 1;
    padding: 10px 16px;
    border: 1px solid #e2e8f0;
    border-radius: 40px;
    font-size: 0.9rem;
    font-family: 'Inter', sans-serif;
}

.buscar-btn {
    background: #00a3a3;
    color: white;
    border: none;
    padding: 0 24px;
    border-radius: 40px;
    font-weight: 600;
    cursor: pointer;
}

.buscar-btn:hover {
    background: #008787;
}

.filtros-acoes {
    display: flex;
    gap: 12px;
    align-items: center;
}

.custom-select {
    position: relative;
    min-width: 180px;
}

.select-trigger {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 10px 16px;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 40px;
    font-size: 0.85rem;
    cursor: pointer;
}

.select-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    margin-top: 8px;
    z-index: 100;
    display: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.custom-select.open .select-dropdown {
    display: block;
}

.busca-ano-input {
    width: 100%;
    padding: 10px 12px;
    border: none;
    border-bottom: 1px solid #e2e8f0;
    font-size: 0.8rem;
}

.select-options {
    max-height: 200px;
    overflow-y: auto;
    padding: 8px 0;
}

.select-option {
    display: flex;
    align-items: center;
    padding: 8px 12px;
    cursor: pointer;
    font-size: 0.85rem;
}

.select-option:hover {
    background: #f1f5f9;
}

.select-option input {
    margin-right: 8px;
    accent-color: #00a3a3;
}

.limpar-filtros-btn {
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    padding: 10px 20px;
    border-radius: 40px;
    font-size: 0.85rem;
    cursor: pointer;
}

.limpar-filtros-btn:hover {
    background: #e2e8f0;
}

.publicacoes-section {
    padding: 10px 0 60px;
    background-color: #ffffff;
}

.publicacoes-lista {
    max-width: 1000px;
    margin: 0 auto;
}

.publicacoes-ano {
    margin-bottom: 48px;
}

.publicacoes-ano h2 {
    font-size: 1.8rem;
    color: #1a2b4c;
    border-bottom: 3px solid #00a3a3;
    display: inline-block;
    padding-bottom: 8px;
    margin-bottom: 24px;
}

.publicacoes-lista-ano {
    list-style: none;
    padding: 0;
}

.publicacoes-lista-ano li {
    padding: 20px 0;
    border-bottom: 1px solid #e2e8f0;
}

.publicacoes-lista-ano li strong {
    font-size: 1rem;
    color: #1a2b4c;
}

.publicacoes-lista-ano li .autores {
    display: block;
    font-size: 0.85rem;
    color: #475569;
    margin-top: 6px;
}

.publicacoes-lista-ano li .veiculo {
    display: inline-block;
    font-size: 0.75rem;
    color: #00a3a3;
    background: #e6f7f7;
    padding: 2px 8px;
    border-radius: 12px;
    margin-top: 8px;
    margin-right: 8px;
}

.publicacoes-lista-ano li .doi-link {
    display: inline-block;
    font-size: 0.75rem;
    color: #1a2b4c;
    background: #f1f5f9;
    padding: 2px 8px;
    border-radius: 12px;
    text-decoration: none;
}

.publicacoes-lista-ano li .doi-link:hover {
    background: #00a3a3;
    color: white;
}

.loader,
.sem-dados {
    text-align: center;
    padding: 40px;
    color: #64748b;
}

/* Paginação */
.paginacao-info {
    text-align: center;
    padding: 20px 0 10px;
    color: #64748b;
    font-size: 0.85rem;
}

.paginacao-controles {
    margin-top: 40px;
    text-align: center;
}

.paginacao-botoes {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.btn-pagina {
    background: #f1f5f9;
    border: none;
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 0.85rem;
    cursor: pointer;
}

.btn-pagina:hover {
    background: #e2e8f0;
}

.btn-pagina.ativo {
    background: #00a3a3;
    color: white;
}

/* PÁGINA CONTATO */
.contato-section {
    padding: 60px 0;
    background-color: #ffffff;
}

.contato-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contato-formulario h2,
.contato-info h2 {
    font-size: 1.8rem;
    color: #1a2b4c;
    margin-bottom: 32px;
    border-left: 4px solid #00a3a3;
    padding-left: 16px;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: #1a2b4c;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
}

.btn-enviar {
    background: #00a3a3;
    color: white;
    border: none;
    padding: 14px 28px;
    border-radius: 40px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
}

.btn-enviar:hover {
    background: #008787;
}

.btn-enviar:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.form-status {
    margin-top: 12px;
    font-size: 0.9rem;
}

.info-card {
    display: flex;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid #e2e8f0;
}

.info-icon {
    font-size: 1.5rem;
    min-width: 48px;
    text-align: center;
}

.info-texto h3 {
    font-size: 1rem;
    color: #1a2b4c;
    margin-bottom: 4px;
}

.info-texto a {
    color: #00a3a3;
    text-decoration: none;
}

.info-texto a:hover {
    text-decoration: underline;
}

.info-social {
    margin-top: 24px;
}

.social-links {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 16px;
}

.social-link {
    padding: 8px 16px;
    background: #f1f5f9;
    color: #1a2b4c;
    text-decoration: none;
    border-radius: 40px;
    font-size: 0.85rem;
    transition: background 0.3s, color 0.3s;
}

a.social-link:hover {
    background: #00a3a3;
    color: white;
}

.social-link-disabled,
.social-link-disabled:hover {
    background: #f1f5f9;
    color: #64748b;
    cursor: not-allowed;
}

.social-observacao {
    margin-top: 10px;
    color: #64748b;
    font-size: 0.85rem;
}

/* Seção Missão e Visão com Vídeo (Index) */
.missao-visao-grid {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.missao-visao-textos {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.video-card {
    background: #f8f9fa;
    border-radius: 20px;
    padding: 0;
    width: 100%;
}

.video-card h2 {
    display: none;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.video-legenda {
    margin-top: 12px;
    font-size: 0.85rem;
    text-align: center;
    padding-bottom: 20px;
}

/* Responsividade */
@media (max-width: 768px) {
    .logo-img {
        height: 40px;
    }

    .header .container {
        gap: 12px;
    }

    .nav {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        justify-content: center;
        gap: 8px;
        order: 4;
    }

    .nav a {
        text-align: center;
    }

    .idiomas {
        margin-left: auto;
    }

    .cards-grid,
    .areas-grid,
    .footer-content,
    .sobre-grid,
    .contato-grid,
    .missao-visao-textos {
        grid-template-columns: 1fr;
    }

    .hero h1,
    .page-hero h1 {
        font-size: 2rem;
    }

    .local-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .localizacao h2 {
        text-align: center;
    }

    .mapa-interativo iframe {
        height: 300px;
    }

    .projetos-grid {
        grid-template-columns: 1fr;
    }

    .equipe-coordenadores,
    .equipe-pesquisadores-graduacao,
    .equipe-pesquisadores-posgraduacao,
    .equipe-alumni {
        grid-template-columns: 1fr;
    }

    .filtros-linha {
        flex-direction: column;
        align-items: stretch;
    }

    .busca-container {
        flex-direction: column;
    }

    .buscar-btn {
        padding: 10px 24px;
    }

    .filtros-acoes {
        justify-content: space-between;
    }

    .custom-select {
        flex: 1;
    }

    .slide img {
        height: 250px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 28px 16px;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .container {
        padding: 0 16px;
    }

    .projetos-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .projeto-card h3,
    .projeto-tags,
    .projeto-descricao,
    .projeto-equipe,
    .projeto-financiadores,
    .projeto-ano {
        padding-left: 16px;
        padding-right: 16px;
    }

    .projeto-link {
        margin-left: 16px;
        margin-right: 16px;
    }

    .filtros-acoes {
        flex-direction: column;
    }

    .custom-select {
        width: 100%;
    }

    .limpar-filtros-btn {
        width: 100%;
        text-align: center;
    }
}
