
/* CONFIGURAÇÕES GERAIS */

:root {
    --verde: #006837;
    --amarelo: #FCEE21;
    --branco: #FFFFFF;
    --verde-claro: #EAF5ED;
    --texto: #303A33;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    color: var(--texto);
    background: var(--branco);
    line-height: 1.7;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

a {
    text-decoration: none;
}


/* CABEÇALHO */

.header {
    background: var(--branco);
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    min-height: 90px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    width: 190px;
    display: block;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-menu a {
    color: var(--verde);
    font-weight: bold;
    font-size: 14px;
    transition: 0.3s;
}

.nav-menu a:hover {
    color: #9B9900;
}

.nav-menu .btn-inscricao {
    background: var(--verde);
    color: white;
    padding: 12px 20px;
    border-radius: 5px;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--verde);
    font-size: 30px;
    cursor: pointer;
}


/* DESTAQUE PRINCIPAL */

.hero {
    background: linear-gradient(120deg, #004D2A, #008447);
    color: white;
    min-height: 540px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-content {
    padding-top: 70px;
    padding-bottom: 70px;
    position: relative;
    z-index: 2;
}

.hero-tag {
    display: inline-block;
    background: rgba(252,238,33,0.15);
    color: var(--amarelo);
    padding: 8px 15px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 1px;
}

.hero h1 {
    font-size: clamp(35px, 5vw, 58px);
    max-width: 850px;
    line-height: 1.2;
    margin: 25px 0;
}

.hero h1 span {
    color: var(--amarelo);
}

.hero p {
    max-width: 650px;
    font-size: 17px;
    color: #E8F3EC;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    margin-top: 35px;
    flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
    display: inline-block;
    padding: 14px 24px;
    border-radius: 5px;
    font-weight: bold;
    transition: 0.3s;
}

.btn-primary {
    background: var(--amarelo);
    color: var(--verde);
}

.btn-primary:hover {
    background: white;
    transform: translateY(-3px);
}

.btn-secondary {
    border: 1px solid white;
    color: white;
}

.btn-secondary:hover {
    background: white;
    color: var(--verde);
}


/* SECÇÕES */

.section {
    padding: 85px 0;
}

.section h2 {
    font-size: 34px;
    color: var(--verde);
    margin: 12px 0;
}

.section p {
    max-width: 750px;
    font-size: 16px;
}

.section-tag {
    color: var(--verde);
    font-weight: bold;
    font-size: 13px;
    letter-spacing: 2px;
}

.projects {
    background: var(--verde-claro);
}

.news {
    background: white;
}

.join {
    background: var(--verde);
    color: white;
    text-align: center;
}

.join h2 {
    color: white;
}

.join p {
    margin: 15px auto 25px;
}


/* RODAPÉ */

.footer {
    background: #003D22;
    color: white;
    text-align: center;
    padding: 45px 0;
}

.footer h3 {
    color: var(--amarelo);
    margin-bottom: 10px;
}

.copyright {
    margin-top: 25px;
    font-size: 13px;
    color: #C8D8CE;
}


/* TELEMÓVEIS */

@media (max-width: 850px) {

    .navbar {
        min-height: 75px;
    }

    .logo img {
        width: 145px;
    }

    .menu-toggle {
        display: block;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 75px;
        left: 0;
        width: 100%;
        background: white;
        padding: 25px;
        flex-direction: column;
        align-items: stretch;
        gap: 20px;
        box-shadow: 0 8px 12px rgba(0,0,0,0.08);
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu a {
        text-align: center;
    }

    .hero {
        min-height: 500px;
    }

    .hero p {
        font-size: 15px;
    }

    .section {
        padding: 60px 0;
    }

}


/* =================================
   QUEM SOMOS - AJVK
================================= */

.about {
    background: #F8FBF8;
}

.about-intro {
    max-width: 850px;
    margin-bottom: 65px;
}

.about-intro h2 {
    color: #006837;
    font-size: clamp(32px, 4vw, 46px);
    line-height: 1.2;
    margin: 18px 0 25px;
}

.about-intro p,
.about-context p {
    color: #56645A;
    line-height: 1.9;
    margin-bottom: 18px;
}

.about-context {
    background: white;
    border-left: 5px solid #FCEE21;
    border-radius: 10px;
    padding: 40px;
    margin-bottom: 55px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.04);
}

.about-context h3,
.about-objectives h3,
.about-values h3 {
    color: #006837;
    font-size: 30px;
    margin: 15px 0 22px;
}

.about-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin-bottom: 70px;
}

.about-card {
    background: white;
    padding: 35px;
    border-radius: 12px;
    border-bottom: 4px solid #006837;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.about-card-icon {
    width: 55px;
    height: 55px;
    background: #FCEE21;
    color: #006837;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 28px;
    margin-bottom: 20px;
}

.about-card h3 {
    color: #006837;
    font-size: 24px;
    margin-bottom: 12px;
}

.about-card p {
    color: #59645C;
    line-height: 1.8;
}

.about-objectives {
    margin-bottom: 70px;
}

.objectives-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.objective-item {
    display: flex;
    align-items: center;
    gap: 18px;
    background: white;
    padding: 20px;
    border-radius: 8px;
}

.objective-item span {
    color: #006837;
    background: #FCEE21;
    min-width: 38px;
    height: 38px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    font-weight: bold;
}

.objective-item p {
    color: #46534A;
    font-size: 14px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.value-card {
    background: #006837;
    color: white;
    padding: 30px;
    border-radius: 10px;
}

.value-card h4 {
    color: #FCEE21;
    font-size: 21px;
    margin-bottom: 12px;
}

.value-card p {
    line-height: 1.8;
    font-size: 14px;
}


/* RESPONSIVIDADE */

@media (max-width: 750px) {

    .about-cards,
    .objectives-list,
    .values-grid {
        grid-template-columns: 1fr;
    }

    .about-context {
        padding: 25px;
    }

    .about-card {
        padding: 27px;
    }

}



/* =================================
   NOSSA EQUIPA - AJVK
================================= */

.team {
    background: #F8FBF8;
    padding: 90px 0;
}

.team .section-header {
    text-align: center;
    max-width: 750px;
    margin: 0 auto 65px;
}

.team .section-header h2 {
    color: #006837;
    font-size: clamp(32px, 4vw, 46px);
    margin: 15px 0;
}

.team .section-header p {
    color: #59645C;
    line-height: 1.8;
}

.team-group {
    margin-bottom: 75px;
}

.team-group h3 {
    color: #006837;
    font-size: 30px;
    margin-bottom: 12px;
    padding-left: 15px;
    border-left: 5px solid #FCEE21;
}

.team-description {
    color: #68736B;
    line-height: 1.7;
    margin-bottom: 30px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 25px;
}

.team-card {
    background: #FFFFFF;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 5px 22px rgba(0, 0, 0, 0.07);
    border-bottom: 4px solid #006837;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.team-card img {
    width: 100%;
    height: 290px;
    object-fit: cover;
    object-position: center 25%;
    display: block;
    background: #EAF5ED;
}

.team-info {
    padding: 24px;
}

.team-info h4 {
    color: #006837;
    font-size: 19px;
    line-height: 1.4;
    margin-bottom: 10px;
}

.team-info span {
    display: inline-block;
    color: #006837;
    background: #EAF5ED;
    font-size: 13px;
    font-weight: 700;
    padding: 8px 12px;
    border-radius: 5px;
    margin-bottom: 18px;
}

.team-info ul {
    padding-left: 18px;
    margin: 0;
}

.team-info li {
    color: #59645C;
    font-size: 13px;
    line-height: 1.7;
    margin-bottom: 9px;
}

/* ADAPTAÇÃO PARA TABLETS */

@media (max-width: 950px) {
    .team-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* ADAPTAÇÃO PARA TELEMÓVEIS */

@media (max-width: 600px) {
    .team {
        padding: 65px 0;
    }

    .team-group {
        margin-bottom: 55px;
    }

    .team-group h3 {
        font-size: 24px;
    }

    .team-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .team-card img {
        height: 320px;
    }

    .team-info {
        padding: 22px;
    }
}



/* =================================
   CONTACTOS - AJVK
================================= */

.contacts {
    background: #FFFFFF;
    padding: 90px 0;
}

.contacts .section-header {
    max-width: 750px;
    margin: 0 auto 55px;
    text-align: center;
}

.contacts .section-header h2 {
    color: #006837;
    font-size: clamp(32px, 4vw, 46px);
    margin: 15px 0;
}

.contacts .section-header p {
    color: #59645C;
    line-height: 1.8;
}

.contacts-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 25px;
}

.contact-card {
    background: #F8FBF8;
    padding: 35px 25px;
    text-align: center;
    border-radius: 12px;
    border-bottom: 4px solid #006837;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-6px);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: #FCEE21;
    color: #006837;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 28px;
    margin: 0 auto 20px;
}

.contact-card h3 {
    color: #006837;
    font-size: 22px;
    margin-bottom: 18px;
}

.contact-card p {
    color: #59645C;
    line-height: 1.9;
    font-size: 15px;
}

.contact-card a {
    color: #59645C;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-card a:hover {
    color: #006837;
    text-decoration: underline;
}

.contact-message {
    margin-top: 55px;
    padding: 45px 25px;
    text-align: center;
    background: #006837;
    color: #FFFFFF;
    border-radius: 14px;
}

.contact-message h3 {
    color: #FCEE21;
    font-size: 28px;
    margin-bottom: 15px;
}

.contact-message p {
    max-width: 650px;
    margin: 0 auto 25px;
    line-height: 1.8;
}

@media (max-width: 800px) {
    .contacts-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .contacts {
        padding: 65px 0;
    }

    .contacts-grid {
        grid-template-columns: 1fr;
    }

    .contact-card {
        padding: 30px 20px;
    }

    .contact-message {
        padding: 35px 20px;
    }

    .contact-message h3 {
        font-size: 24px;
    }
}



/* BOTÕES WHATSAPP */

.contact-number {
    margin-bottom: 22px;
}

.whatsapp-btn {
    display: inline-block;
    background: #006837;
    color: #FFFFFF !important;
    text-decoration: none !important;
    padding: 10px 16px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    margin-top: 8px;
    transition: background 0.3s ease;
}

.whatsapp-btn:hover {
    background: #004D29;
    color: #FFFFFF !important;
}



/* RODAPÉ INSTITUCIONAL */
.footer {
    background: #004D29;
    color: #FFFFFF;
    padding: 65px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
}

.footer-brand img {
    width: 75px;
    height: 75px;
    object-fit: contain;
    background: #FFFFFF;
    border-radius: 50%;
    padding: 5px;
    margin-bottom: 15px;
}

.footer h3 {
    color: #FCEE21;
    margin-bottom: 18px;
}

.footer-brand p,
.footer-brand span {
    display: block;
    line-height: 1.8;
    margin-bottom: 8px;
}

.footer-links a,
.footer-social a {
    display: block;
    color: #FFFFFF;
    text-decoration: none;
    margin-bottom: 12px;
    transition: color .3s ease;
}

.footer-links a:hover,
.footer-social a:hover {
    color: #FCEE21;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.25);
    padding-top: 20px;
    text-align: center;
    font-size: 13px;
    line-height: 1.8;
}

@media (max-width: 700px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}



/* NOTÍCIAS DINÂMICAS AJVK */

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
    margin-top: 40px;
}

.news-card {
    background: #FFFFFF;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-bottom: 4px solid #006837;
}

.news-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.13);
}

.news-card img {
    width: 100%;
    height: 260px;
    object-fit: contain;
    background: #EAF5ED;
    display: block;
}

.news-card h3 {
    color: #006837;
    font-size: 20px;
    line-height: 1.4;
    margin: 20px 20px 10px;
}

.news-card p {
    color: #303A33;
    font-size: 15px;
    line-height: 1.7;
    margin: 0 20px 22px;
}



/* BOTÃO LER NOTÍCIA */

.news-button {
    display: inline-block;
    margin: 0 20px 22px;
    padding: 11px 20px;
    background: #006837;
    color: #FFFFFF;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: background 0.3s ease;
}

.news-button:hover {
    background: #004D29;
}

/* PÁGINA DE NOTÍCIA COMPLETA */

#noticia-completa {
    max-width: 900px;
    margin: 60px auto;
    padding: 30px;
    background: #FFFFFF;
    border-radius: 14px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.noticia-detalhe-imagem {
    width: 100%;
    max-height: 480px;
    object-fit: contain;
    background: #EAF5ED;
    border-radius: 10px;
    margin-bottom: 25px;
}

#noticia-completa h1 {
    color: #006837;
    font-size: 32px;
    line-height: 1.3;
}

.noticia-data {
    color: #777777;
    font-size: 14px;
    margin-bottom: 25px;
}

.noticia-conteudo {
    color: #303A33;
    font-size: 17px;
    line-height: 1.9;
    white-space: pre-line;
}

@media (max-width: 600px) {
    #noticia-completa {
        margin: 25px 15px;
        padding: 20px;
    }

    #noticia-completa h1 {
        font-size: 25px;
    }
}


/* PÁGINA DE ACTIVIDADE COMPLETA */

#actividade-completa {
    max-width: 900px;
    margin: 60px auto;
    padding: 30px;
    background: #FFFFFF;
    border-radius: 14px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

#actividade-completa h1 {
    color: #006837;
    font-size: 32px;
    line-height: 1.3;
}

#actividade-completa p {
    color: #303A33;
    line-height: 1.7;
}

@media (max-width: 600px) {
    #actividade-completa {
        margin: 25px 15px;
        padding: 20px;
    }

    #actividade-completa h1 {
        font-size: 25px;
    }
}


/* GALERIA FOTOGRÁFICA AJVK */

.galeria-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.galeria-card {
    background: #FFFFFF;
    border-radius: 14px;
    overflow: hidden;
    padding-bottom: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border-bottom: 4px solid #006837;
    transition: transform 0.3s ease;
}

.galeria-card:hover {
    transform: translateY(-5px);
}

.galeria-card img {
    width: 100%;
    height: 240px;
    object-fit: contain;
    background: #EAF5ED;
    display: block;
    cursor: pointer;
}

.galeria-card h3 {
    color: #006837;
    margin: 18px 18px 8px;
    font-size: 19px;
}

.galeria-card p {
    color: #303A33;
    margin: 0 18px 15px;
    line-height: 1.6;
}

.galeria-ver {
    margin-left: 18px;
    padding: 10px 18px;
    background: #006837;
    color: #FFFFFF;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}

.galeria-ver:hover {
    background: #004D29;
}

/* FOTOGRAFIA AMPLIADA */

.galeria-modal {
    width: min(90%, 900px);
    max-height: 90vh;
    padding: 30px;
    border: none;
    border-radius: 14px;
    background: #FFFFFF;
    color: #303A33;
    text-align: center;
}

.galeria-modal::backdrop {
    background: rgba(0, 0, 0, 0.8);
}

.galeria-modal img {
    max-width: 100%;
    max-height: 65vh;
    object-fit: contain;
}

.galeria-modal h3 {
    color: #006837;
    margin-top: 20px;
}

.galeria-fechar {
    display: block;
    margin-left: auto;
    margin-bottom: 10px;
    border: none;
    background: #006837;
    color: #FFFFFF;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    font-size: 25px;
    cursor: pointer;
}

.galeria-admin-card {
    background: #FFFFFF;
    padding: 20px;
    margin: 20px 0;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.07);
}

.galeria-admin-card img {
    width: 100%;
    max-width: 280px;
    height: 190px;
    object-fit: contain;
    background: #EAF5ED;
    display: block;
    margin-bottom: 15px;
}

.galeria-admin-card button {
    margin: 5px;
}

@media (max-width: 600px) {
    .galeria-grid {
        grid-template-columns: 1fr;
    }

    .galeria-modal {
        padding: 18px;
    }
}


/* FORMULÁRIO DE INSCRIÇÃO */

.inscricao-form {
    max-width: 750px;
    margin: 40px auto;
    padding: 35px;
    background: #FFFFFF;
    border-radius: 14px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border-top: 5px solid #006837;
}

.inscricao-campo {
    margin-bottom: 22px;
}

.inscricao-campo label,
.inscricoes-filtros label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #006837;
}

.inscricao-campo input,
.inscricao-campo textarea {
    width: 100%;
    padding: 13px;
    border: 1px solid #D5DED7;
    border-radius: 7px;
    font-family: inherit;
    font-size: 15px;
    box-sizing: border-box;
}

.inscricao-campo input:focus,
.inscricao-campo textarea:focus {
    outline: none;
    border-color: #006837;
    box-shadow: 0 0 0 3px rgba(0, 104, 55, 0.1);
}

.inscricao-obrigatorio {
    font-size: 13px;
    color: #777777;
}

.inscricao-form button {
    padding: 13px 25px;
    background: #006837;
    color: #FFFFFF;
    border: none;
    border-radius: 7px;
    font-weight: 600;
    cursor: pointer;
}

.inscricao-form button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* RESUMO DAS INSCRIÇÕES */

.inscricoes-resumo {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 18px;
    margin: 30px 0;
}

.inscricoes-resumo div {
    padding: 22px;
    background: #EAF5ED;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.inscricoes-resumo span {
    color: #303A33;
    font-size: 14px;
}

.inscricoes-resumo strong {
    color: #006837;
    font-size: 28px;
}

.inscricoes-filtros {
    margin: 25px 0;
}

.inscricoes-filtros select,
.inscricao-admin-card select {
    padding: 10px;
    border: 1px solid #D5DED7;
    border-radius: 6px;
}

/* CARTÕES ADMINISTRATIVOS */

.inscricao-admin-card {
    background: #FFFFFF;
    padding: 25px;
    margin-bottom: 22px;
    border-radius: 12px;
    border-left: 5px solid #006837;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.07);
    overflow-wrap: anywhere;
}

.inscricao-admin-card h3 {
    color: #006837;
    margin-top: 0;
}

.inscricao-admin-card p {
    line-height: 1.6;
}

.inscricao-admin-card label {
    display: block;
    margin: 15px 0 8px;
    font-weight: 600;
}

.inscricao-admin-card button {
    padding: 10px 15px;
    margin: 12px 8px 0 0;
    border: none;
    border-radius: 6px;
    background: #006837;
    color: #FFFFFF;
    cursor: pointer;
}

.inscricao-admin-card button:hover {
    background: #004D29;
}

.estado-inscricao {
    font-weight: 700;
}

.estado-inscricao.aprovada {
    color: #16803C;
}

.estado-inscricao.rejeitada {
    color: #C0392B;
}

.estado-inscricao.pendente {
    color: #A66A00;
}

@media (max-width: 600px) {
    .inscricao-form {
        padding: 22px;
    }

    .inscricao-admin-card {
        padding: 18px;
    }
}


/* DOCUMENTO PDF NA CANDIDATURA */

.inscricao-campo input[type="file"] {
    background: #EAF5ED;
    padding: 12px;
    cursor: pointer;
}

.inscricao-campo small {
    display: block;
    margin-top: 8px;
    color: #777777;
    line-height: 1.5;
}

.documento-link {
    display: inline-block;
    margin: 5px 0 15px;
    padding: 10px 16px;
    background: #EAF5ED;
    color: #006837;
    border: 1px solid #006837;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
}

.documento-link:hover {
    background: #006837;
    color: #FFFFFF;
}


/* BOTÕES DO PAINEL ADMINISTRATIVO */

.admin-card .news-button {
    display: inline-block;
    margin: 12px 0 0;
    padding: 11px 20px;
    background: #006837;
    color: #FFFFFF;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: background 0.3s ease, transform 0.3s ease;
}

.admin-card .news-button:hover {
    background: #004D29;
    transform: translateY(-2px);
}


/* BOTÕES DO PAINEL ADMINISTRATIVO */

.admin-card .news-button {
    display: inline-block;
    margin: 12px 0 0;
    padding: 11px 20px;
    background: #006837;
    color: #FFFFFF;
    text-decoration: none;
    border-radius: 7px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.admin-card .news-button:hover {
    background: #004D29;
    transform: translateY(-2px);
}

/* BOTÃO TERMINAR SESSÃO */

#logout-button {
    display: inline-block;
    padding: 12px 24px;
    background: #FFFFFF;
    color: #006837;
    border: 2px solid #006837;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

#logout-button:hover {
    background: #006837;
    color: #FFFFFF;
    transform: translateY(-2px);
}


/* OPÇÕES DE IDIOMAS NO FORMULÁRIO */
.idiomas-opcoes {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 12px;
}

.idiomas-opcoes label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 400;
    cursor: pointer;
}

.idiomas-opcoes input[type="checkbox"] {
    width: 17px;
    height: 17px;
    accent-color: #006837;
}

@media (max-width: 480px) {
    .idiomas-opcoes {
        grid-template-columns: 1fr;
    }
}


/* ========================================
   CARTÕES DE INSCRIÇÕES - PAINEL AJVK
======================================== */

.inscricao-admin-card {
    background: #ffffff;
    border: 1px solid #e1e9e3;
    border-radius: 14px;
    padding: 24px;
    margin-bottom: 22px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.inscricao-admin-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 104, 55, 0.10);
}

.inscricao-admin-card h3 {
    color: #006837;
    font-size: 21px;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #eaf5ed;
}

.inscricao-admin-card h4 {
    color: #006837;
    font-size: 16px;
    margin: 22px 0 12px;
}

.inscricao-admin-card p {
    color: #46534a;
    font-size: 14px;
    line-height: 1.7;
    margin: 7px 0;
    overflow-wrap: anywhere;
}

.inscricao-admin-card p strong {
    color: #303a33;
}

.inscricao-admin-card .estado-inscricao {
    display: inline-block;
    padding: 7px 13px;
    border-radius: 20px;
    font-weight: 700;
    margin-top: 12px;
}

.inscricao-admin-card .estado-inscricao.pendente {
    background: #fff4d6;
    color: #8a6200;
}

.inscricao-admin-card .estado-inscricao.aprovada {
    background: #e2f5e8;
    color: #087536;
}

.inscricao-admin-card .estado-inscricao.rejeitada {
    background: #fde8e8;
    color: #b42318;
}

.inscricao-admin-card .documento-link {
    display: inline-block;
    margin: 8px 0;
    color: #006837;
    font-weight: 700;
    text-decoration: none;
}

.inscricao-admin-card .documento-link:hover {
    text-decoration: underline;
}

.inscricao-admin-card select {
    display: block;
    width: 100%;
    max-width: 320px;
    padding: 11px;
    margin: 10px 0;
    border: 1px solid #cbd8ce;
    border-radius: 8px;
    background: #ffffff;
    font-size: 14px;
}

.inscricao-admin-card button {
    padding: 11px 17px;
    border: none;
    border-radius: 8px;
    background: #006837;
    color: #ffffff;
    font-weight: 600;
    cursor: pointer;
    margin: 8px 8px 0 0;
    transition: background 0.2s ease;
}

.inscricao-admin-card button:hover {
    background: #004d29;
}

.inscricao-admin-card button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.inscricao-admin-card button.btn-eliminar {
    background: #b42318;
}

.inscricao-admin-card button.btn-eliminar:hover {
    background: #8f1c13;
}

.inscricao-admin-card label {
    display: block;
    color: #303a33;
    font-weight: 600;
    margin-top: 18px;
}

@media (max-width: 600px) {
    .inscricao-admin-card {
        padding: 17px;
        border-radius: 11px;
    }

    .inscricao-admin-card h3 {
        font-size: 18px;
    }

    .inscricao-admin-card button {
        width: 100%;
        margin: 8px 0 0;
    }

    .inscricao-admin-card select {
        max-width: 100%;
    }
}


.contacto-item {
    margin-bottom: 22px;
    padding-bottom: 15px;
    border-bottom: 1px solid #d2e5d8;
}

.contacto-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.contacto-item p {
    font-weight: 700;
    margin-bottom: 8px;
}

.contacto-item .whatsapp-btn {
    display: inline-block;
    background: #006837;
    color: #FFFFFF !important;
    text-decoration: none !important;
    padding: 10px 16px;
    border-radius: 7px;
    font-size: 13px;
    font-weight: 600;
    transition: 0.3s;
}

.contacto-item .whatsapp-btn:hover {
    background: #004D29;
    transform: translateY(-2px);
}


/* REDES SOCIAIS E EMAIL */
.contacto-redes {
    margin-top: 25px;
}

.contacto-social-item {
    padding: 18px 0;
    border-bottom: 1px solid #d2e5d8;
}

.contacto-social-item:last-child {
    border-bottom: none;
}

.contacto-social-item h4 {
    color: #006837;
    margin-bottom: 6px;
    font-size: 16px;
}

.contacto-social-item p {
    margin-bottom: 12px;
    color: #303A33;
    overflow-wrap: anywhere;
}

.social-contact-btn {
    display: inline-block;
    background: #006837;
    color: #FFFFFF !important;
    text-decoration: none !important;
    padding: 10px 17px;
    border-radius: 7px;
    font-size: 13px;
    font-weight: 600;
    transition: 0.3s ease;
}

.social-contact-btn:hover {
    background: #004D29;
    transform: translateY(-2px);
}


/* =========================================
   AJVK - MELHORIAS GERAIS E RESPONSIVIDADE
   ========================================= */

/* LOGÓTIPO */
.logo img {
    width: 125px;
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

/* CABEÇALHO */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

/* IMAGENS RESPONSIVAS */
img {
    max-width: 100%;
}

/* EVITAR DESLOCAÇÃO HORIZONTAL */
html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

/* TABLETS E TELEMÓVEIS */
@media (max-width: 850px) {

    .navbar {
        min-height: 75px;
        position: relative;
    }

    .logo img {
        width: 95px;
    }

    .menu-toggle {
        display: block;
        font-size: 28px;
        padding: 8px;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 75px;
        left: 0;
        right: 0;
        width: 100%;
        padding: 22px 15px;
        background: #FFFFFF;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 18px;
        box-shadow: 0 8px 15px rgba(0,0,0,0.10);
        z-index: 1001;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu li {
        width: 100%;
        text-align: center;
        list-style: none;
    }

    .nav-menu a {
        display: block;
        width: 100%;
        text-align: center;
        padding: 8px;
    }

    .hero {
        min-height: 440px;
        padding: 45px 0;
    }

    .hero-content {
        padding-top: 35px;
        padding-bottom: 35px;
    }

    .hero h1 {
        font-size: clamp(30px, 6vw, 42px);
        line-height: 1.2;
    }

    .section {
        padding-top: 60px;
        padding-bottom: 60px;
    }

    .team-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .contacts-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .footer-content {
        gap: 25px;
    }
}

/* TELEMÓVEIS */
@media (max-width: 600px) {

    .container {
        width: 92%;
    }

    .navbar {
        min-height: 68px;
    }

    .logo img {
        width: 82px;
    }

    .nav-menu {
        top: 68px;
        padding: 20px 12px;
        gap: 14px;
    }

    .nav-menu a {
        font-size: 15px;
    }

    .hero {
        min-height: auto;
        padding: 65px 0;
    }

    .hero-content {
        padding-top: 15px;
        padding-bottom: 15px;
    }

    .hero h1 {
        font-size: 29px;
        line-height: 1.25;
    }

    .hero p {
        font-size: 14px;
        line-height: 1.7;
    }

    .section {
        padding: 50px 0;
    }

    .section h2,
    .team .section-header h2 {
        font-size: 28px;
        line-height: 1.3;
    }

    .about-cards,
    .objectives-list,
    .values-grid,
    .team-grid,
    .contacts-grid,
    .news-grid,
    .galeria-grid {
        grid-template-columns: 1fr;
    }

    .about-card,
    .contact-card {
        padding: 24px 18px;
    }

    .team-card img {
        width: 100%;
        height: 300px;
        object-fit: cover;
    }

    .team-info {
        padding: 20px;
    }

    .contact-message {
        padding: 30px 18px;
    }

    .contact-message h3 {
        font-size: 23px;
    }

    .contact-card a,
    .whatsapp-btn,
    .social-contact-btn {
        max-width: 100%;
        overflow-wrap: anywhere;
    }

    .galeria-grid img,
    .news-grid img {
        width: 100%;
        height: auto;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-brand img {
        margin-left: auto;
        margin-right: auto;
    }

    .footer-bottom {
        text-align: center;
    }

    input,
    select,
    textarea {
        max-width: 100%;
        width: 100%;
    }

    button {
        max-width: 100%;
    }
}

/* TELEMÓVEIS MUITO PEQUENOS */
@media (max-width: 380px) {

    .logo img {
        width: 72px;
    }

    .hero h1 {
        font-size: 25px;
    }

    .section h2 {
        font-size: 25px;
    }

    .container {
        width: 94%;
    }
}


/* =========================================
   BANNER PRINCIPAL - IDENTIDADE VISUAL AJVK
   ========================================= */

.hero {
    min-height: 570px;
    background:
        radial-gradient(
            circle at 85% 25%,
            rgba(252, 238, 33, 0.13),
            transparent 28%
        ),
        linear-gradient(120deg, #003D22 0%, #006837 55%, #008447 100%);
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    isolation: isolate;
}

/* Elementos decorativos */
.hero::before {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    right: -120px;
    bottom: -180px;
    border: 2px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    z-index: -1;
}

.hero::after {
    content: "";
    position: absolute;
    width: 280px;
    height: 280px;
    right: 35px;
    bottom: -125px;
    border: 2px solid rgba(252, 238, 33, 0.18);
    border-radius: 50%;
    z-index: -1;
}

.hero-content {
    width: 90%;
    max-width: 1200px;
    padding-top: 85px;
    padding-bottom: 85px;
    position: relative;
    z-index: 2;
}

.hero-tag {
    display: inline-block;
    background: rgba(252, 238, 33, 0.13);
    border: 1px solid rgba(252, 238, 33, 0.35);
    color: #FCEE21;
    padding: 10px 17px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.4px;
    margin-bottom: 10px;
}

.hero h1 {
    max-width: 850px;
    font-size: clamp(36px, 5vw, 60px);
    line-height: 1.16;
    font-weight: 800;
    letter-spacing: -1.5px;
    margin: 25px 0;
    color: #FFFFFF;
}

.hero h1 span {
    color: #FCEE21;
    display: inline;
}

.hero p {
    max-width: 660px;
    color: #EAF5ED;
    font-size: 17px;
    line-height: 1.85;
}

.hero-buttons {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 35px;
}

.hero-buttons .btn-primary,
.hero-buttons .btn-secondary {
    padding: 15px 25px;
    border-radius: 7px;
    font-size: 14px;
    font-weight: 700;
    text-align: center;
    transition: all 0.3s ease;
}

.hero-buttons .btn-primary {
    background: #FCEE21;
    color: #006837;
    border: 1px solid #FCEE21;
}

.hero-buttons .btn-primary:hover {
    background: #FFFFFF;
    border-color: #FFFFFF;
    transform: translateY(-3px);
}

.hero-buttons .btn-secondary {
    background: transparent;
    color: #FFFFFF;
    border: 1px solid rgba(255,255,255,0.8);
}

.hero-buttons .btn-secondary:hover {
    background: #FFFFFF;
    color: #006837;
    transform: translateY(-3px);
}

/* ADAPTAÇÃO PARA TABLETS */
@media (max-width: 850px) {
    .hero {
        min-height: 500px;
    }

    .hero-content {
        padding-top: 70px;
        padding-bottom: 70px;
    }

    .hero h1 {
        font-size: clamp(34px, 6vw, 48px);
    }
}

/* ADAPTAÇÃO PARA TELEMÓVEIS */
@media (max-width: 600px) {
    .hero {
        min-height: auto;
        padding: 55px 0;
    }

    .hero-content {
        width: 92%;
        padding-top: 25px;
        padding-bottom: 25px;
    }

    .hero-tag {
        font-size: 10px;
        letter-spacing: 0.8px;
        line-height: 1.6;
        padding: 8px 12px;
    }

    .hero h1 {
        font-size: 31px;
        line-height: 1.22;
        letter-spacing: -0.7px;
        margin: 22px 0;
    }

    .hero p {
        font-size: 14px;
        line-height: 1.8;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        margin-top: 28px;
    }

    .hero-buttons .btn-primary,
    .hero-buttons .btn-secondary {
        display: block;
        width: 100%;
        padding: 14px 16px;
    }

    .hero::before {
        width: 250px;
        height: 250px;
        right: -130px;
        bottom: -100px;
    }

    .hero::after {
        width: 170px;
        height: 170px;
        right: -35px;
        bottom: -80px;
    }
}


/* =========================================
   AJVK - NOVO DESIGN DA SECÇÃO QUEM SOMOS
   ========================================= */

.about {
    background: #F4F8F5;
}

.about-intro {
    max-width: 900px;
    margin: 0 auto 55px;
    text-align: center;
}

.about-intro h2 {
    font-size: clamp(30px, 4vw, 45px);
    color: #006837;
    line-height: 1.2;
    margin: 20px 0;
    font-weight: 800;
}

.about-intro p {
    font-size: 16px;
    line-height: 1.9;
    color: #536158;
}

.about-context {
    background: linear-gradient(120deg, #004D2A, #006837);
    border: none;
    border-left: 6px solid #FCEE21;
    border-radius: 14px;
    padding: 45px;
    margin-bottom: 55px;
    box-shadow: 0 12px 30px rgba(0, 77, 42, 0.12);
}

.about-context .section-tag {
    color: #FCEE21;
}

.about-context h3 {
    color: #FFFFFF;
    font-size: 30px;
    line-height: 1.3;
}

.about-context p {
    color: #EAF5ED;
    line-height: 1.9;
}

.about-cards {
    gap: 25px;
    margin-bottom: 65px;
}

.about-card {
    background: #FFFFFF;
    padding: 35px;
    border: 1px solid #E1EBE4;
    border-bottom: 5px solid #006837;
    border-radius: 14px;
    box-shadow: 0 8px 25px rgba(0, 60, 30, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 30px rgba(0, 60, 30, 0.11);
}

.about-card-icon {
    width: 60px;
    height: 60px;
    border-radius: 14px;
    background: #FCEE21;
    color: #006837;
    font-size: 30px;
}

.about-card h3 {
    font-size: 25px;
    margin-bottom: 15px;
}

.about-card p {
    font-size: 15px;
    line-height: 1.9;
    color: #536158;
}

.about-objectives {
    margin-bottom: 65px;
}

.about-objectives h3,
.about-values h3 {
    font-size: 32px;
    margin: 18px 0 28px;
    color: #006837;
}

.objectives-list {
    gap: 16px;
}

.objective-item {
    background: #FFFFFF;
    border: 1px solid #E3ECE5;
    border-radius: 10px;
    padding: 22px;
    transition: transform 0.25s ease;
}

.objective-item:hover {
    transform: translateX(5px);
}

.objective-item span {
    background: #006837;
    color: #FCEE21;
    min-width: 42px;
    height: 42px;
    font-size: 14px;
}

.objective-item p {
    line-height: 1.6;
    font-size: 14px;
    color: #46534A;
}

.values-grid {
    gap: 20px;
}

.value-card {
    background: linear-gradient(145deg, #006837, #004D2A);
    padding: 32px;
    border-radius: 13px;
    border-bottom: 4px solid #FCEE21;
    transition: transform 0.3s ease;
}

.value-card:hover {
    transform: translateY(-5px);
}

.value-card h4 {
    color: #FCEE21;
    font-size: 22px;
}

.value-card p {
    color: #EAF5ED;
    line-height: 1.8;
}

/* VERSÃO PARA TELEMÓVEIS */
@media (max-width: 600px) {
    .about-intro {
        margin-bottom: 35px;
    }

    .about-intro p {
        font-size: 14px;
        text-align: left;
    }

    .about-context {
        padding: 27px 20px;
        margin-bottom: 40px;
    }

    .about-context h3 {
        font-size: 25px;
    }

    .about-context p {
        font-size: 14px;
    }

    .about-card {
        padding: 27px 22px;
    }

    .about-objectives h3,
    .about-values h3 {
        font-size: 27px;
    }

    .objective-item {
        padding: 17px;
    }

    .value-card {
        padding: 25px;
    }
}


/* =========================================
   AJVK - PROJECTOS E INICIATIVAS
   ========================================= */

.projects {
    background: #FFFFFF;
    padding: 95px 0;
    position: relative;
    overflow: hidden;
}

.projects .container {
    position: relative;
    max-width: 1050px;
    text-align: center;
    background: #F4F8F5;
    border: 1px solid #E2ECE5;
    border-radius: 20px;
    padding: 65px 45px;
    box-shadow: 0 12px 35px rgba(0, 60, 30, 0.06);
}

.projects .section-tag {
    display: inline-block;
    background: #E3F1E7;
    color: #006837;
    padding: 9px 17px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1px;
}

.projects h2 {
    color: #006837;
    font-size: clamp(32px, 4vw, 44px);
    font-weight: 800;
    line-height: 1.2;
    margin: 22px 0;
}

.projects .container > p {
    max-width: 680px;
    margin: 0 auto;
    color: #536158;
    font-size: 16px;
    line-height: 1.9;
}

.projects .container::after {
    content: "";
    display: block;
    width: 75px;
    height: 5px;
    background: #FCEE21;
    border-radius: 10px;
    margin: 30px auto 0;
}

/* TELEMÓVEIS */
@media (max-width: 600px) {
    .projects {
        padding: 60px 0;
    }

    .projects .container {
        width: 92%;
        padding: 42px 22px;
        border-radius: 15px;
    }

    .projects h2 {
        font-size: 29px;
    }

    .projects .container > p {
        font-size: 14px;
    }
}


/* =========================================
   AJVK - ACTIVIDADES
   ========================================= */

#actividades-ajvk {
    background: #F4F8F5;
    padding: 90px 0;
}

#actividades-ajvk .container > .section-tag {
    display: inline-block;
    background: #E3F1E7;
    color: #006837;
    padding: 9px 16px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1px;
}

#actividades-ajvk h2 {
    color: #006837;
    font-size: clamp(32px, 4vw, 43px);
    font-weight: 800;
    margin: 20px 0 12px;
}

#actividades-ajvk .container > p {
    color: #536158;
    font-size: 16px;
    line-height: 1.8;
    max-width: 650px;
}

#actividades-publicas {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 40px;
    align-items: stretch;
}

#actividades-publicas .news-card {
    background: #FFFFFF;
    border: 1px solid #E2ECE5;
    border-bottom: 5px solid #006837;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 60, 30, 0.06);
    transition: transform .3s ease, box-shadow .3s ease;
}

#actividades-publicas .news-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 30px rgba(0, 60, 30, 0.12);
}

#actividades-publicas .news-card img {
    width: 100%;
    height: 230px;
    object-fit: cover;
    display: block;
    background: #EAF5ED;
}

#actividades-publicas .news-card h3 {
    color: #006837;
    font-size: 20px;
    line-height: 1.4;
    margin: 22px 20px 12px;
}

#actividades-publicas .news-card p {
    color: #536158;
    font-size: 14px;
    line-height: 1.8;
    margin: 0 20px 22px;
}

#actividades-publicas .news-button {
    display: inline-block;
    margin: 0 20px 22px;
    padding: 11px 20px;
    background: #006837;
    color: #FFFFFF;
    border-radius: 7px;
    text-decoration: none;
    font-weight: 700;
    transition: .3s ease;
}

#actividades-publicas .news-button:hover {
    background: #004D2A;
    transform: translateY(-2px);
}

#actividades-publicas > p {
    color: #536158;
    padding: 20px 0;
}

/* TELEMÓVEIS */
@media (max-width: 600px) {
    #actividades-ajvk {
        padding: 60px 0;
    }

    #actividades-ajvk h2 {
        font-size: 29px;
    }

    #actividades-ajvk .container > p {
        font-size: 14px;
    }

    #actividades-publicas {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    #actividades-publicas .news-card img {
        height: 210px;
    }
}


/* =========================================
   AJVK - GALERIA DE FOTOGRAFIAS
   ========================================= */

#galeria {
    background: #F4F8F5;
    padding: 90px 0;
}

#galeria .section-tag {
    display: inline-block;
    background: #E3F1E7;
    color: #006837;
    padding: 9px 16px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1px;
}

#galeria h2 {
    color: #006837;
    font-size: clamp(32px, 4vw, 43px);
    font-weight: 800;
    margin: 20px 0;
}

#galeria .container > p {
    color: #536158;
    max-width: 650px;
    line-height: 1.8;
}

.galeria-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.galeria-grid img {
    display: block;
    width: 100%;
    height: 270px;
    object-fit: cover;
    border-radius: 13px;
    border: 3px solid #FFFFFF;
    box-shadow: 0 7px 22px rgba(0, 60, 30, 0.10);
    transition: transform .35s ease, box-shadow .35s ease;
}

.galeria-grid img:hover {
    transform: scale(1.025);
    box-shadow: 0 13px 28px rgba(0, 60, 30, 0.18);
}

/* TABLETS */
@media (max-width: 850px) {
    .galeria-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* TELEMÓVEIS */
@media (max-width: 600px) {
    #galeria {
        padding: 60px 0;
    }

    #galeria h2 {
        font-size: 29px;
    }

    .galeria-grid {
        grid-template-columns: 1fr;
        gap: 17px;
    }

    .galeria-grid img {
        height: 250px;
    }
}


/* =========================================
   AJVK - SECÇÃO DE NOTÍCIAS
   ========================================= */

#noticias {
    background: #FFFFFF;
    padding: 90px 0;
}

#noticias .section-tag {
    display: inline-block;
    background: #E3F1E7;
    color: #006837;
    padding: 9px 16px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1px;
}

#noticias h2 {
    color: #006837;
    font-size: clamp(32px, 4vw, 43px);
    font-weight: 800;
    margin: 20px 0;
}

#noticias .container > p {
    color: #536158;
    max-width: 680px;
    line-height: 1.8;
}

#noticias-publicas {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 25px;
    margin-top: 40px;
    align-items: stretch;
}

#noticias-publicas .news-card {
    display: flex;
    flex-direction: column;
    background: #FFFFFF;
    border: 1px solid #E2ECE5;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 7px 24px rgba(0, 60, 30, 0.07);
    transition: transform .3s ease, box-shadow .3s ease;
}

#noticias-publicas .news-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 30px rgba(0, 60, 30, 0.13);
}

#noticias-publicas .news-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

#noticias-publicas .news-card h3 {
    color: #006837;
    font-size: 20px;
    line-height: 1.4;
    margin: 22px 20px 12px;
}

#noticias-publicas .news-card p {
    color: #536158;
    font-size: 14px;
    line-height: 1.8;
    margin: 0 20px 20px;
}

#noticias-publicas .news-button {
    display: inline-block;
    align-self: flex-start;
    margin: auto 20px 22px;
    padding: 11px 20px;
    background: #006837;
    color: #FFFFFF;
    border-radius: 7px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    transition: .3s ease;
}

#noticias-publicas .news-button:hover {
    background: #004D2A;
    transform: translateY(-2px);
}

#noticias-publicas > p {
    color: #536158;
    padding: 20px 0;
}

/* TABLETS */
@media (max-width: 850px) {
    #noticias-publicas {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* TELEMÓVEIS */
@media (max-width: 600px) {
    #noticias {
        padding: 60px 0;
    }

    #noticias h2 {
        font-size: 29px;
    }

    #noticias-publicas {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    #noticias-publicas .news-card img {
        height: 220px;
    }
}


/* =========================================
   AJVK - INSCRIÇÕES
   ========================================= */

#inscricao {
    background: #F4F8F5;
    padding: 90px 0;
}

#inscricao .section-tag {
    display: inline-block;
    background: #E3F1E7;
    color: #006837;
    padding: 9px 16px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1px;
}

#inscricao h2 {
    color: #006837;
    font-size: clamp(32px, 4vw, 43px);
    font-weight: 800;
    margin: 20px 0;
}

#inscricao .container > p {
    color: #536158;
    max-width: 700px;
    line-height: 1.8;
}

/* FORMULÁRIO */
#inscricao form {
    max-width: 850px;
    margin: 40px auto 0;
    padding: 40px;
    background: #FFFFFF;
    border: 1px solid #E1EBE4;
    border-top: 5px solid #006837;
    border-radius: 16px;
    box-shadow: 0 12px 35px rgba(0, 60, 30, 0.08);
}

#inscricao form label {
    display: block;
    color: #006837;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 8px;
}

#inscricao input,
#inscricao select,
#inscricao textarea {
    width: 100%;
    padding: 13px 15px;
    margin-bottom: 20px;
    border: 1px solid #D6E3D9;
    border-radius: 8px;
    background: #FAFCFA;
    color: #303A33;
    font-size: 14px;
    transition: border-color .3s ease, box-shadow .3s ease;
}

#inscricao input:focus,
#inscricao select:focus,
#inscricao textarea:focus {
    outline: none;
    border-color: #006837;
    box-shadow: 0 0 0 3px rgba(0, 104, 55, 0.10);
}

#inscricao textarea {
    min-height: 120px;
    resize: vertical;
}

#inscricao button[type="submit"] {
    width: 100%;
    padding: 15px 20px;
    background: #006837;
    color: #FFFFFF;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
    transition: .3s ease;
}

#inscricao button[type="submit"]:hover {
    background: #004D2A;
    transform: translateY(-2px);
}

/* AVISO DE INSCRIÇÃO */
#inscricao .inscricao-info {
    max-width: 850px;
    margin: 25px auto 0;
    padding: 22px 25px;
    background: #FFFDE5;
    border-left: 5px solid #D6C900;
    border-radius: 9px;
    color: #46534A;
    line-height: 1.8;
}

/* TELEMÓVEIS */
@media (max-width: 600px) {
    #inscricao {
        padding: 60px 0;
    }

    #inscricao h2 {
        font-size: 29px;
    }

    #inscricao form {
        padding: 25px 18px;
        margin-top: 28px;
    }

    #inscricao input,
    #inscricao select,
    #inscricao textarea {
        font-size: 16px;
    }
}


/* ==================================================
   AJVK - MELHORIAS VISUAIS DAS RESTANTES SECÇÕES
   ================================================== */

/* 1. NOSSA EQUIPA */
#equipa {
    background: #F4F8F5;
    padding: 90px 0;
}

#equipa h2 {
    color: #006837;
    font-size: clamp(32px, 4vw, 43px);
    font-weight: 800;
}

.team-grid {
    gap: 25px;
    align-items: stretch;
}

.team-card {
    background: #FFFFFF;
    border: 1px solid #E1EBE4;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 7px 24px rgba(0, 60, 30, .07);
    transition: transform .3s ease, box-shadow .3s ease;
}

.team-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 30px rgba(0, 60, 30, .13);
}

.team-card img {
    width: 100%;
    height: 290px;
    object-fit: cover;
    display: block;
}

.team-info {
    padding: 23px;
    text-align: center;
}

.team-info h3 {
    color: #006837;
    font-size: 19px;
    margin-bottom: 9px;
}

.team-info p {
    color: #536158;
    font-size: 14px;
    line-height: 1.7;
}

.team-info .position,
.team-info .cargo {
    color: #006837;
    font-weight: 700;
}

/* 2. REGULAMENTO E ESTATUTO */
#regulamento,
#estatuto {
    background: #FFFFFF;
    padding: 85px 0;
}

#regulamento h2,
#estatuto h2 {
    color: #006837;
    font-size: clamp(30px, 4vw, 40px);
    font-weight: 800;
    margin-bottom: 20px;
}

#regulamento .container,
#estatuto .container {
    max-width: 1100px;
}

#regulamento .container > p,
#estatuto .container > p {
    color: #536158;
    line-height: 1.9;
}

#regulamento .container > div,
#estatuto .container > div {
    background: #F4F8F5;
    border: 1px solid #E1EBE4;
    border-left: 5px solid #006837;
    border-radius: 12px;
    padding: 28px;
    margin-top: 25px;
}

#regulamento a,
#estatuto a {
    color: #006837;
    font-weight: 700;
    text-decoration: none;
}

#regulamento a:hover,
#estatuto a:hover {
    color: #004D2A;
    text-decoration: underline;
}

/* 3. CONTACTOS */
#contactos {
    background: #F4F8F5;
    padding: 90px 0;
}

#contactos h2 {
    color: #006837;
    font-size: clamp(32px, 4vw, 43px);
    font-weight: 800;
}

.contacts-grid {
    gap: 24px;
    margin-top: 35px;
}

.contact-card,
.contacto-card {
    background: #FFFFFF;
    border: 1px solid #E1EBE4;
    border-radius: 14px;
    padding: 28px;
    box-shadow: 0 7px 22px rgba(0, 60, 30, .06);
    transition: transform .3s ease;
}

.contact-card:hover,
.contacto-card:hover {
    transform: translateY(-4px);
}

.contact-card h3,
.contacto-card h3 {
    color: #006837;
    font-size: 20px;
    margin-bottom: 15px;
}

.contact-card p,
.contacto-card p {
    color: #536158;
    line-height: 1.8;
    overflow-wrap: anywhere;
}

.whatsapp-btn,
.social-contact-btn {
    display: inline-block;
    background: #006837;
    color: #FFFFFF !important;
    text-decoration: none !important;
    padding: 11px 18px;
    border-radius: 7px;
    font-size: 13px;
    font-weight: 700;
    margin-top: 12px;
    transition: .3s ease;
}

.whatsapp-btn:hover,
.social-contact-btn:hover {
    background: #004D2A;
    transform: translateY(-2px);
}

/* 4. RODAPÉ */
.footer {
    background: #003D22;
    color: #FFFFFF;
    padding-top: 65px;
}

.footer-content {
    gap: 35px;
    align-items: start;
}

.footer h3,
.footer h4 {
    color: #FCEE21;
    margin-bottom: 18px;
}

.footer p,
.footer li {
    color: #EAF5ED;
    line-height: 1.9;
    font-size: 14px;
}

.footer a {
    color: #FFFFFF;
    text-decoration: none;
    transition: color .3s ease;
}

.footer a:hover {
    color: #FCEE21;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.18);
    margin-top: 40px;
    padding: 22px 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 13px;
    color: #DCEBE0;
}

/* 5. BOTÕES GERAIS */
button,
.btn,
a.btn {
    transition: all .3s ease;
}

button:hover,
.btn:hover,
a.btn:hover {
    cursor: pointer;
}

/* 6. ACABAMENTO GERAL */
.section-tag {
    letter-spacing: 1px;
}

section {
    scroll-margin-top: 90px;
}

img {
    max-width: 100%;
}

/* 7. TABLETS */
@media (max-width: 850px) {
    .team-grid,
    .contacts-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .team-card img {
        height: 260px;
    }

    #regulamento,
    #estatuto {
        padding: 65px 0;
    }
}

/* 8. TELEMÓVEIS */
@media (max-width: 600px) {
    #equipa,
    #contactos {
        padding: 60px 0;
    }

    .team-grid,
    .contacts-grid {
        grid-template-columns: 1fr;
    }

    .team-card img {
        height: 300px;
    }

    .team-info {
        padding: 20px;
    }

    #regulamento,
    #estatuto {
        padding: 55px 0;
    }

    #regulamento .container > div,
    #estatuto .container > div {
        padding: 20px;
    }

    .contact-card,
    .contacto-card {
        padding: 23px 18px;
    }

    .footer {
        padding-top: 45px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-brand img {
        margin: 0 auto;
    }
}


/* =====================================
   PAINEL ADMINISTRATIVO AJVK
===================================== */

.admin-login {
    width: 90%;
    max-width: 430px;
    margin: 65px auto;
    padding: 35px;
    background: #FFFFFF;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    border-top: 5px solid #006837;
    box-sizing: border-box;
}

.admin-login img {
    display: block;
    width: 115px;
    max-width: 100%;
    margin: 0 auto 20px;
}

.admin-login h1,
.admin-login > p {
    text-align: center;
}

.admin-login h1 {
    color: #006837;
    font-size: 25px;
}

.admin-login form {
    margin-top: 28px;
}

.admin-login label {
    display: block;
    margin: 16px 0 7px;
    font-weight: 600;
    color: #303A33;
}

.admin-login input {
    width: 100%;
    padding: 13px;
    border: 1px solid #D5DED7;
    border-radius: 8px;
    box-sizing: border-box;
    font-size: 16px;
}

.admin-login button {
    width: 100%;
    padding: 14px;
    margin-top: 22px;
    background: #006837;
    color: #FFFFFF;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
}

.admin-login button:hover {
    background: #004D29;
}

#login-message {
    text-align: center;
    margin-top: 15px;
    overflow-wrap: anywhere;
}

.admin-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 20px 5%;
    background: #006837;
    color: #FFFFFF;
}

.admin-header img {
    width: 85px;
    height: auto;
    object-fit: contain;
    background: #FFFFFF;
    border-radius: 10px;
    padding: 5px;
}

.admin-header h1 {
    margin: 0 0 5px;
    font-size: 24px;
}

.admin-header p {
    margin: 0;
}

.admin-header button {
    padding: 12px 18px;
    background: #FCEE21;
    color: #303A33;
    border: none;
    border-radius: 7px;
    font-weight: 700;
    cursor: pointer;
}

.admin-dashboard {
    width: 90%;
    max-width: 1200px;
    margin: 45px auto;
}

.admin-dashboard h2 {
    color: #006837;
}

.admin-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.admin-card {
    padding: 28px;
    background: #FFFFFF;
    border-radius: 13px;
    border-top: 4px solid #006837;
    box-shadow: 0 5px 20px rgba(0,0,0,0.07);
}

.admin-card h3 {
    color: #006837;
    margin-top: 0;
}

.admin-card p {
    line-height: 1.6;
}

.admin-card .news-button {
    display: inline-block;
    margin-top: 12px;
    padding: 11px 18px;
    background: #006837;
    color: #FFFFFF;
    text-decoration: none;
    border-radius: 7px;
    font-weight: 600;
}

.admin-card .news-button:hover {
    background: #004D29;
}

@media (max-width: 650px) {
    .admin-login {
        margin: 35px auto;
        padding: 25px 20px;
    }

    .admin-header {
        flex-wrap: wrap;
        justify-content: center;
        text-align: center;
        padding: 20px 15px;
    }

    .admin-header img {
        width: 70px;
    }

    .admin-header div {
        width: 100%;
    }

    .admin-header h1 {
        font-size: 21px;
    }

    .admin-header button {
        width: 100%;
    }

    .admin-dashboard {
        margin: 30px auto;
    }

    .admin-cards {
        grid-template-columns: 1fr;
        gap: 17px;
    }

    .admin-card {
        padding: 23px 18px;
    }
}

.documento-ajvk {
    background: #ffffff;
    border: 1px solid #dce9df;
    border-left: 5px solid #006837;
    border-radius: 12px;
    padding: 25px;
    margin: 25px auto;
    max-width: 750px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
}

.documento-ajvk h3 {
    color: #006837;
    margin-bottom: 12px;
}

.documento-ajvk p {
    color: #303A33;
    line-height: 1.6;
}

.documento-botoes {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 20px;
}

.documento-botoes a {
    display: inline-block;
    padding: 12px 20px;
    background: #06a058;
    color: #e0dfdf;
    text-decoration: none;
    border-radius: 7px;
    font-weight: 600;
}

.documento-botoes a:hover {
    background: #004d29;
}

@media (max-width: 600px) {
    .documento-botoes {
        flex-direction: column;
    }

    .documento-botoes a {
        text-align: center;
    }
}