: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);
}

/* ===== MODAIS GAE – ESTILO ELEGANTE ===== */
.gae-modal .modal-content {
    border-radius: 20px;
    border: none;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(15, 61, 46, 0.15);
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.gae-modal .modal-content:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 50px rgba(15, 61, 46, 0.2);
}

/* HEADER */
.gae-modal .modal-header {
    border-bottom: none;
    padding: 24px 30px;
    background: linear-gradient(
        135deg,
        var(--primary-dark),
        var(--primary-color)
    );
    color: #fff;
}

.gae-modal .modal-header .btn-close {
    filter: brightness(1.5);
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.gae-modal .modal-header .btn-close:hover {
    opacity: 1;
}

/* MODAL BODY */
.gae-modal .modal-body {
    padding: 24px 30px;
    background-color: #ffffff;
    color: var(--text-main);
}

.gae-modal .modal-body .modal-icon {
    width: 60px;
    height: 60px;
    background: var(--accent-light);
    color: var(--accent-color);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 20px auto;
}

/* INPUTS E TEXTAREAS */
.gae-modal .modal-body .form-control,
.gae-modal .modal-body .form-select {
    border-radius: 12px;
    border: 1px solid #d1d5db;
    padding: 10px 14px;
    font-size: 0.95rem;
    transition: all 0.25s ease;
}

.gae-modal .modal-body .form-control:focus,
.gae-modal .modal-body .form-select:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(31, 169, 122, 0.15);
}

/* BOTÕES DO MODAL */
.gae-modal .modal-footer {
    padding: 20px 30px;
    background-color: #f8fafc;
    border-top: none;
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

.gae-modal .btn-primary,
.gae-modal .btn-accent {
    background: var(--accent-color);
    color: #fff;
    border: none;
    border-radius: 14px;
    padding: 10px 24px;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.3px;
    transition: all 0.3s ease;
    box-shadow: 0 6px 16px rgba(31, 169, 122, 0.25);
}

.gae-modal .btn-primary:hover,
.gae-modal .btn-accent:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(31, 169, 122, 0.3);
    opacity: 0.95;
}

.gae-modal .btn-secondary,
.gae-modal .btn-light {
    background: #f3f7f5;
    border: 1px solid #d1d5db;
    color: var(--text-main);
    border-radius: 14px;
    padding: 10px 20px;
    font-weight: 500;
    font-size: 0.92rem;
    transition: all 0.25s ease;
}

.gae-modal .btn-secondary:hover,
.gae-modal .btn-light:hover {
    background: #e6eeea;
    transform: translateY(-1px);
}

/* BADGES */
.gae-modal .badge {
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 12px;
}

/* RESPONSIVIDADE */
@media (max-width: 576px) {
    .gae-modal .modal-content {
        margin: 0 10px;
    }

    .gae-modal .modal-body {
        padding: 20px 15px;
    }

    .gae-modal .modal-footer {
        flex-direction: column-reverse;
        gap: 10px;
    }

    .gae-modal .btn-primary,
    .gae-modal .btn-secondary {
        width: 100%;
    }
}

/* ===== BOTÃO DE ENVIO DOS MODAIS ===== */
.gae-modal .btn-accent {
    background: var(--accent-color);
    color: #fff;
    border: none;
    border-radius: 12px;
    padding: 8px 20px; /* Ajuste de proporção */
    font-size: 0.92rem;
    font-weight: 600;
    min-width: 140px; /* Tamanho consistente */
    transition: all 0.25s ease;
    box-shadow: 0 4px 12px rgba(31, 169, 122, 0.25);
}

.gae-modal .btn-accent:hover {
    background: var(--primary-color);
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(15, 61, 46, 0.3);
    opacity: 0.95;
}

.gae-modal .modal-footer .btn {
    min-height: 38px; /* Alinha com o botão Cancelar */
}

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

.icon-circle-header {
    width: 120px;
    height: 120px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--accent-color);
}

/* CARDS */
.service-panel-v2 {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    padding: 30px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: all 0.25s ease;
}

.service-panel-v2:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(15, 61, 46, 0.08);
    border-color: var(--accent-color);
}

.panel-icon {
    width: 65px;
    height: 65px;
    border-radius: 16px;
    background: var(--accent-light);
    color: var(--accent-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    flex-shrink: 0;
}

.panel-content {
    margin-left: 20px;
    flex-grow: 1;
}

.panel-arrow {
    color: var(--secondary-color);
    transition: 0.25s;
}

.service-panel-v2:hover .panel-arrow {
    color: var(--accent-color);
    transform: translateX(6px);
}

/* ===== 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;
    }

    .navbar-collapse {
        background: var(--primary-dark);
        padding: 30px;
        border-radius: 12px;
        margin-top: 10px;
    }
}

@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;
}
