:root {
    --primary-color: #0f3d2e;
    --primary-dark: #0b2f24;
    --secondary-color: #5f6f65;
    --accent-color: #1fa97a;
    --accent-light: #ddf5ec;
    --bg-light: #f3f7f5;
    --bg-dark-section: #0a1f18;
    --text-main: #1c2b25;
}

body {
    font-family: "Poppins", sans-serif;
    background-color: var(--bg-light);
    color: var(--text-main);
    overflow-x: hidden;
    scroll-behavior: smooth;
}

h1,
h2,
h3,
h4,
h5,
.nav-link {
    font-family: "Lexend", sans-serif;
}

/* Scrollbar Personalizada */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #e6eeea;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* Glass Effect */
.glass-effect {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* Hero Padronizado */
.page-header {
    background: linear-gradient(135deg, #0a1f18 0%, #0f3d2e 100%) !important;
}

.icon-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

/* Paginação */
.pagination .page-link {
    font-weight: 600;
    font-size: 0.9rem;
    transition: 0.3s;
}

.pagination .page-item.active .page-link {
    background-color: var(--primary-color) !important;
    color: white;
}

/* Cards */
.card-img-top:hover {
    transform: scale(1.05);
}

/* Header */
#main-header {
    padding: 20px 0;
    z-index: 1050;
    transition: all 0.4s ease-in-out;
}

#main-header.scrolled {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 10px 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

#main-header.scrolled .nav-link,
#main-header.scrolled .logo-text span {
    color: var(--text-main) !important;
}

#main-header.scrolled .logo-text {
    border-color: rgba(0, 0, 0, 0.1) !important;
}

/* Botão Login */
.btn-login-custom {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

#main-header.scrolled .btn-login-custom {
    background: var(--primary-color);
    color: white;
    border: none;
    box-shadow: 0 4px 15px rgba(15, 61, 46, 0.35);
}

.btn-login-custom:hover {
    transform: translateY(-2px);
    background: white;
    color: var(--primary-color);
}

/* Navegação */
.nav-link {
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    position: relative;
    transition: 0.3s;
}

.nav-link::after {
    content: "";
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 5px;
    left: 15px;
    background-color: var(--accent-color);
    transition: width 0.3s;
}

.nav-link:hover::after {
    width: calc(100% - 30px);
}

.transition-all {
    transition: all 0.4s ease-in-out;
}

/* Footer Premium */
.footer-premium {
    background: var(--bg-dark-section);
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.footer-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 25px;
    color: #fff;
    position: relative;
}

.footer-title::after {
    content: "";
    position: absolute;
    width: 30px;
    height: 2px;
    background: var(--accent-color);
    bottom: -8px;
    left: 0;
}

.footer-list li {
    margin-bottom: 12px;
}

.footer-list li a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.footer-list li a:hover {
    color: var(--accent-color);
    padding-left: 8px;
}

/* Social */
.social-btn {
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-btn:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
    color: white;
}

/* Newsletter */
.newsletter-form input {
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.08);
    color: white;
    font-size: 0.9rem;
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.btn-accent {
    background: var(--accent-color);
    color: white;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    transition: 0.3s;
}

.btn-accent:hover {
    background: var(--primary-color);
    transform: scale(1.1);
}

.text-accent {
    color: var(--accent-color);
}

/* Hero Carousel */
.hero-section {
    height: 100vh;
    min-height: 700px;
}

.home-carousel {
    height: 100%;
}

.swiper-slide {
    background-size: cover;
    background-position: center;
}

/* Ícones */
.icon-circle {
    width: 45px;
    height: 45px;
    font-size: 1.2rem;
}

.bg-primary-light {
    background: var(--accent-light);
}

.icon-square {
    width: 60px;
    height: 60px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
}

/* Floating Card */
.floating-card {
    position: absolute;
    bottom: 30px;
    right: -20px;
    width: 200px;
}

/* Hover Effects */
.hover-up {
    transition: all 0.3s ease;
}

.hover-up:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08) !important;
}

.bg-accent {
    background-color: var(--accent-color);
}

/* ====== Apoio Social ====== */

/* Secção clara intermédia */
.bg-light-section {
    background: #f4f6fb;
}

/* Card destaque */
.info-card-highlight {
    background: #f8f9fc;
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
}

.info-card-highlight i {
    font-size: 42px;
    color: var(--accent);
}

/* Cards de apoio */
.support-card {
    background: #ffffff;
    padding: 35px 25px;
    border-radius: 18px;
    text-align: center;
    transition: all 0.35s ease;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.04);
}

.support-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.support-card i {
    font-size: 34px;
    color: var(--accent);
}

/* Processo */
.process-card {
    padding: 30px 20px;
}

.process-number {
    width: 65px;
    height: 65px;
    background: linear-gradient(135deg, var(--accent), #5a4fcf);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin: 0 auto;
    font-size: 20px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* CTA FINAL – contraste melhorado */
.cta-section {
    background: linear-gradient(135deg, #1e1e2f, #2d2d44);
}

.cta-section .text-white-80 {
    color: rgba(255, 255, 255, 0.85);
}

/* ===== DETALHES DO EVENTO ===== */

/* Cards e imagens */
.card-img-top {
    border-radius: 20px;
    transition: transform 0.3s ease;
}

.card-img-top:hover {
    transform: scale(1.03);
}

/* Títulos e seções */
h3.fw-bold {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Texto da descrição */
.evento-descricao p {
    line-height: 1.8;
    color: var(--text-main);
}

/* Agenda */
.evento-agenda li {
    display: flex;
    align-items: start;
    margin-bottom: 1rem;
}

.evento-agenda .icon-circle {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.evento-agenda strong {
    color: var(--primary-color);
    margin-right: 0.3rem;
}

/* Eventos relacionados */
.eventos-relacionados .card {
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.eventos-relacionados .card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 40px rgba(15, 61, 46, 0.1);
    border-color: var(--accent-color);
}

.eventos-relacionados h6 {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--primary-color);
}

/* Sidebar */
.evento-sidebar .card {
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    background-color: #fff;
}

.evento-sidebar .card ul li {
    margin-bottom: 0.8rem;
    font-weight: 500;
    color: var(--text-main);
}

.evento-sidebar .btn-accent {
    border-radius: 14px;
    padding: 12px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    box-shadow: 0 6px 16px rgba(31, 169, 122, 0.25);
}

.evento-sidebar .btn-accent:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(15, 61, 46, 0.3);
}

/* Botão secundário */
.evento-sidebar .btn-light {
    border-radius: 14px;
    padding: 10px;
    font-weight: 500;
    font-size: 0.92rem;
    color: var(--text-main);
    background: var(--bg-light);
    border: 1px solid #d1d5db;
}

.evento-sidebar .btn-light:hover {
    background: #e6eeea;
    transform: translateY(-1px);
}

/* Responsividade */
@media (max-width: 992px) {
    .evento-sidebar {
        margin-top: 2rem;
    }

    /* Fundo do menu mobile */
    .navbar-collapse {
        background: var(--primary-dark);
        padding: 30px;
        border-radius: 12px;
        margin-top: 10px;
    }

    /* Links SEMPRE brancos no mobile */
    #main-header .navbar-collapse .nav-link {
        color: #ffffff !important;
    }

    /* Texto do logo também branco */
    #main-header .navbar-collapse .logo-text span {
        color: #ffffff !important;
    }

    /* Botão login no mobile */
    #main-header .navbar-collapse .btn-login-custom {
        background: var(--accent-color);
        color: #ffffff !important;
        border: none;
    }

    /* Dropdown dentro do mobile */
    #main-header .navbar-collapse .dropdown-menu {
        background: var(--primary-color);
    }

    #main-header .navbar-collapse .dropdown-item {
        color: #ffffff;
    }
}

@media (max-width: 576px) {
    .evento-sidebar .card {
        padding: 1.5rem;
    }

    .evento-agenda .icon-circle {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

/* Dropdown */

.dropdown-menu {
    position: absolute;
}

.navbar .dropdown-menu {
    min-width: 180px;
    left: 0;
    top: 100%;
    margin: 0;
    border-radius: 10px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
}

.navbar .dropdown-menu {
    background: var(--primary-dark);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 8px 0;
}

.navbar .dropdown-item {
    color: #ffffff;
    padding: 10px 20px;
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.navbar .dropdown-item:hover {
    background: var(--accent-color);
    color: #fff;
}

/* Página Objectivos da Plataforma */

.impact-soft-card {
    background: #f8f9fc;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
    transition: 0.3s ease;
}

.impact-soft-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 25px 45px rgba(0, 0, 0, 0.08);
}

/* FAQ SECTION */

.faq-section {
    background: var(--bg-light);
}

.faq-container {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.faq-item {
    background: white;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    transform: translateY(-2px);
}

.faq-question {
    width: 100%;
    padding: 20px 24px;
    background: transparent;
    border: none;
    outline: none;
    font-weight: 600;
    font-size: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-question i {
    color: var(--primary-color);
}

.faq-icon {
    transition: transform 0.3s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 24px;
    transition: all 0.35s ease;
}

.faq-answer p {
    padding-bottom: 20px;
    color: #6c757d;
    line-height: 1.6;
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}