/* Reset e Configurações Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Cores principais - Preto e Branco */
    --primary-color: #000000;
    --secondary-color: #ffffff;
    --text-dark: #000000;
    --text-light: #4a4a4a;
    --text-body: #2a2a2a;
    --bg-light: #f5f5f5;
    --bg-white: #ffffff;
    --bg-section: #ffffff;
    --border-color: #e0e0e0;
    --success-color: #10b981;
    
    /* Cores da Bandeira de Portugal - para hover */
    --portugal-red: #FF0000;
    --portugal-green: #006600;
    --portugal-yellow: #FFD700;
    
    /* Gradientes Portugal */
    --gradient-portugal: linear-gradient(90deg, var(--portugal-green) 0%, var(--portugal-green) 40%, var(--portugal-red) 40%, var(--portugal-red) 100%);
    --gradient-hover: linear-gradient(135deg, var(--portugal-green) 0%, var(--portugal-red) 100%);
    
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --card-bg: #ffffff;
    --hover-overlay: rgba(0, 0, 0, 0.05);
}

[data-theme="dark"] {
    /* Dark Mode - Preto e Branco invertido */
    --primary-color: #ffffff;
    --secondary-color: #000000;
    --text-dark: #ffffff;
    --text-light: #b0b0b0;
    --text-body: #e0e0e0;
    --bg-light: #1a1a1a;
    --bg-white: #000000;
    --bg-section: #0a0a0a;
    --border-color: #333333;
    --success-color: #34d399;
    --card-bg: #1a1a1a;
    --hover-overlay: rgba(255, 255, 255, 0.05);
    --shadow-sm: 0 1px 2px 0 rgba(255, 255, 255, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(255, 255, 255, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(255, 255, 255, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(255, 255, 255, 0.1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-body);
    background-color: var(--bg-white);
    transition: background-color 0.3s ease, color 0.3s ease;
}

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

a{
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover{
    color: var(--primary-color);
    transition: color 0.3s ease;
}

/* Header e Navegação */
#header {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: var(--bg-white);
    box-shadow: var(--shadow-md);
    z-index: 1000;
    transition: box-shadow 0.3s ease;
    padding: 1rem 0;
}

#header.scrolled {
    box-shadow: var(--shadow-lg);
}

.navbar {
    height: 100%;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo h1 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
    display: flex;
    align-items: center;
}

.logo h1 a {
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
}

.logo h1 a:hover {
    opacity: 0.7;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-portugal);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover,
.nav-link.active {
    background: var(--gradient-hover);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--text-dark);
    transition: all 0.3s ease;
}

/* Estilo para o botão de Inscrições - estilo salmão arredondado */
.nav-link.btn-inscricoes {
    background-color: #E89A8F;
    border: 2px solid #D17F74;
    color: #000000 !important;
    padding: 0.6rem 1.5rem;
    border-radius: 25px;
    transition: all 0.3s ease;
    font-weight: 600;
}

.nav-link.btn-inscricoes:hover {
    background-color: #D17F74;
    border-color: #C06E63;
    color: #000000 !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    -webkit-text-fill-color: #000000;
}

.nav-link.btn-inscricoes::after {
    display: none;
}
/* Botão de Toggle de Tema */
.theme-toggle {
    background: var(--text-dark);
    border: 2px solid var(--border-color);
    border-radius: 50px;
    padding: 0.5rem 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    font-size: 1.2rem;
    box-shadow: var(--shadow-md);
    position: relative;
}

.theme-toggle:hover {
    transform: scale(1.05);
    background: var(--gradient-hover);
    border-color: transparent;
}

.theme-toggle .sun-icon,
.theme-toggle .moon-icon {
    transition: all 0.3s ease;
}

/* Mostrar SOL quando estiver em DARK mode (para mudar para light) */
[data-theme="dark"] .theme-toggle .sun-icon {
    opacity: 1;
    transform: scale(1);
}

[data-theme="dark"] .theme-toggle .moon-icon {
    opacity: 0;
    transform: scale(0);
    position: absolute;
}

/* Mostrar LUA quando estiver em LIGHT mode (para mudar para dark) */
[data-theme="light"] .theme-toggle .sun-icon {
    opacity: 0;
    transform: scale(0);
    position: absolute;
}

[data-theme="light"] .theme-toggle .moon-icon {
    opacity: 1;
    transform: scale(1);
}

/* Hero Section */
.hero {
    height: 100vh;
    background-image: url('background.JPG');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    pointer-events: none;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: white;
    max-width: 800px;
    padding: 0 20px;
    animation: fadeInUp 1s ease;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 0.875rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    border: 2px solid transparent;
    cursor: pointer;
    font-size: 1rem;
}

.btn a {
    color: inherit;
    text-decoration: none;
}

.btn-primary {
    background-color: var(--text-dark);
    color: var(--bg-white);
    border-color: var(--text-dark);
}

.btn-primary a {
    color: var(--bg-white);
}

.btn-primary:hover {
    background-color: var(--bg-white);
    color: var(--text-dark);
    border-color: var(--text-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

.btn-primary:hover a {
    color: var(--text-dark);
}

.btn-secondary {
    background-color: transparent;
    color: var(--bg-white);
    border: 2px solid var(--bg-white);
}

.btn-secondary a {
    color: var(--bg-white);
}

.btn-secondary:hover {
    background-color: var(--bg-white);
    color: var(--text-dark);
}

.btn-secondary:hover a {
    color: var(--text-dark);
}

.btn-block {
    width: 100%;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-indicator span {
    display: block;
    width: 30px;
    height: 50px;
    border: 2px solid white;
    border-radius: 50px;
    position: relative;
}

.scroll-indicator span::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background-color: white;
    border-radius: 50%;
    animation: scrollDown 2s infinite;
}

/* Sections */
.section {
    padding: 5rem 0;
    background-color: var(--bg-white);
    transition: background-color 0.3s ease;
}

.section:nth-child(even) {
    background-color: var(--bg-light);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* Sobre Section */
.sobre-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.sobre-text h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.sobre-text p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.valores-list {
    list-style: none;
}

.valores-list li {
    padding: 0.75rem 0;
    color: var(--text-light);
    border-bottom: 1px solid var(--border-color);
}

.valores-list li:last-child {
    border-bottom: none;
}

.valores-list strong {
    color: var(--text-dark);
}

.sobre-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.stat-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
    border: 1px solid var(--border-color);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-dark);
}

.stat-label {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-top: 0.5rem;
}

/* Atividades */
.atividades-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.atividade-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    text-align: center;
    border: 1px solid var(--border-color);
}

.atividade-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.atividade-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.atividade-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.atividade-card p {
    color: var(--text-light);
    line-height: 1.7;
}

/* Notícias */
.noticias-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.noticia-card {
    background: var(--card-bg);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.noticia-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.noticia-image {
    height: 200px;
    background-size: cover;
    background-position: center;
}

.noticia-content {
    padding: 1.5rem;
}

.noticia-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.noticia-data,
.noticia-categoria {
    font-size: 0.85rem;
    color: var(--text-light);
}

.noticia-categoria {
    background-color: var(--bg-light);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
}

.noticia-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.noticia-card p {
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.7;
}

.noticia-link {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 600;
    transition: opacity 0.3s ease;
}

.noticia-link:hover {
    opacity: 0.6;
}

/* Galeria */
.galeria-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.galeria-item {
    height: 300px;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    transition: transform 0.3s ease;
}

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

.galeria-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.galeria-item:hover .galeria-overlay {
    opacity: 1;
}

.galeria-overlay h4 {
    color: white;
    font-size: 1.3rem;
}

/* Contacto */
.contacto-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
}

.contacto-info h3 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: var(--text-dark);
}

.info-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.info-icon {
    font-size: 2rem;
    min-width: 50px;
}

.info-item h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.info-item p {
    color: var(--text-light);
    line-height: 1.6;
}

.contacto-form {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    transition: background-color 0.3s ease;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.875rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease, background-color 0.3s ease, color 0.3s ease;
    background-color: var(--bg-white);
    color: var(--text-body);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group textarea {
    resize: vertical;
}

/* Footer */
.footer {
    background-color: var(--text-dark);
    color: white;
    padding: 3rem 0 1rem;
    transition: background-color 0.3s ease;
}

[data-theme="dark"] .footer {
    background-color: #0f172a;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.75rem;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

/* Botão Voltar ao Topo */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-1);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

/* Animações */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

@keyframes scrollDown {
    0% {
        opacity: 0;
        top: 10px;
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        top: 30px;
    }
}

/* Page Hero - Para páginas internas */
.page-hero {
    padding: 8rem 0 4rem;
    background: var(--text-dark);
    color: var(--bg-white);
    text-align: center;
    margin-top: 70px;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-portugal);
    opacity: 0.1;
}

.page-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.page-subtitle {
    font-size: 1.3rem;
    opacity: 0.9;
    position: relative;
    z-index: 1;
}

/* Destaques Grid - Homepage */
.destaques-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.destaque-card {
    background: var(--card-bg);
    padding: 2.5rem 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    text-align: center;
    border: 2px solid var(--border-color);
    text-decoration: none;
    color: inherit;
    display: block;
}

.destaque-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    background: var(--bg-light);
    color: black;
    border-color: var(--text-dark);
}

.destaque-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.destaque-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: inherit;
}

.destaque-card p {
    color: inherit;
    opacity: 0.9;
    line-height: 1.7;
}

/* Projeto Item */
.projeto-item {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 15px;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-md);
    border-left: 4px solid var(--text-dark);
    transition: all 0.3s ease;
}

.projeto-item:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-lg);
}

.projeto-item h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.projeto-item p {
    margin-bottom: 0.75rem;
    line-height: 1.7;
    color: var(--text-light);
}

.projeto-item p strong {
    color: var(--text-dark);
}

/* Info Box */
.info-box {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    border: 2px solid var(--border-color);
}

/* FAQ Item */
.faq-item {
    background: var(--card-bg);
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-sm);
    border-left: 4px solid var(--text-dark);
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateX(5px);
}

.faq-item h4 {
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
    color: var(--text-dark);
}

.faq-item p {
    color: var(--text-light);
    line-height: 1.7;
}

/* Organograma */
.organograma {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
}

.org-box {
    background: var(--card-bg);
    border: 2px solid var(--text-dark);
    border-radius: 10px;
    padding: 1.5rem;
    text-align: center;
    margin: 0 auto 1rem;
    max-width: 400px;
}

.org-box.top {
    max-width: 500px;
    background: var(--text-dark);
    color: white;
}

.org-box h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.org-box p {
    color: var(--text-light);
    font-size: 0.9rem;
}

.org-box.top p {
    color: rgba(255, 255, 255, 0.8);
}

.org-connector {
    width: 2px;
    height: 30px;
    background: var(--text-dark);
    margin: 0 auto;
}

.org-level-2, .org-level-3 {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Membros Grid */
.membros-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.membro-card {
    background: var(--card-bg);
    border: 2px solid var(--border-color);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.membro-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--text-dark);
}

.membro-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.membro-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.membro-cargo {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 1.05rem;
    margin-bottom: 0.5rem;
}

.membro-mandato {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Documentos Grid */
.documentos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.documento-card {
    background: var(--card-bg);
    border: 2px solid var(--border-color);
    border-radius: 15px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.documento-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--text-dark);
}

.documento-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-align: center;
}

.documento-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.documento-data {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    font-style: italic;
}

.documento-desc {
    color: var(--text-body);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.documento-info {
    display: flex;
    gap: 0.5rem;
    color: var(--text-light);
    font-size: 0.85rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

/* Responsividade */
@media (max-width: 768px) {
    .mobile-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        right: -100%;
        flex-direction: column;
        background-color: var(--bg-white);
        width: 100%;
        padding: 2rem;
        box-shadow: var(--shadow-lg);
        transition: right 0.3s ease;
        gap: 0;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu li {
        margin-bottom: 1.5rem;
    }

    .theme-toggle {
        margin-top: 1rem;
        width: 100%;
        justify-content: center;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .sobre-content {
        grid-template-columns: 1fr;
    }

    .sobre-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .contacto-wrapper {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .atividades-grid,
    .noticias-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.5rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .sobre-stats {
        grid-template-columns: 1fr;
    }

    .stat-number {
        font-size: 2.5rem;
    }
}

/* ========================================
   LANGUAGE SWITCHER
   ======================================== */
.lang-switcher {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 0 4px;
    border-left: 1px solid var(--border-color);
    margin-left: 4px;
}

.lang-btn {
    background: transparent;
    border: 1px solid transparent;
    border-radius: 4px;
    color: var(--text-light);
    cursor: pointer;
    font-family: inherit;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    padding: 4px 7px;
    transition: all 0.2s ease;
}

.lang-btn:hover {
    background: var(--bg-light);
    color: var(--text-dark);
    border-color: var(--border-color);
}

.lang-btn.active {
    background: var(--text-dark);
    color: var(--bg-white);
    border-color: var(--text-dark);
}

@media (max-width: 768px) {
    .lang-switcher {
        border-left: none;
        border-top: 1px solid var(--border-color);
        margin-left: 0;
        padding: 12px 0 4px 0;
        justify-content: center;
        width: 100%;
    }
    
    .lang-btn {
        font-size: 0.85rem;
        padding: 6px 12px;
    }
}
