/* Estilos Gerais com Sistema de Espaçamento */
:root {
    /* Cores */
  --primary-color: #8b0000;
    --primary-dark: #660000;
    --secondary-color: #f8c537;
    --accent-color: #f8c471;
    --dark-color: #1a1a2e;
    --light-color: #f8f9fa;
    --text-color: #333;
    --text-light: #e5ebf0;
    --font-primary: 'Poppins', sans-serif;
    --font-secondary: 'Playfair Display', serif;
    --transition: all 0.3s ease;

    /* Tipografia */
    --font-primary: 'Poppins', sans-serif;
    --font-secondary: 'Playfair Display', serif;

    /* Espaçamentos baseados em escala 8px */
    --space-xxs: 0.25rem;
    /* 4px */
    --space-xs: 0.5rem;
    /* 8px */
    --space-sm: 1rem;
    /* 16px */
    --space-md: 1.5rem;
    /* 24px */
    --space-lg: 2rem;
    /* 32px */
    --space-xl: 3rem;
    /* 48px */
    --space-xxl: 4rem;
    /* 64px */
    --space-xxxl: 5rem;
    /* 80px */

    /* Espaçamentos para seções */
    --section-padding: var(--space-xxxl) var(--space-md);
    --section-padding-sm: var(--space-xl) var(--space-md);

    /* Efeitos */
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

body {
    font-family: var(--font-primary);
    color: var(--dark-color);
    background-color: #fff;
    overflow-x: hidden;
    line-height: 1.6;
}

/* Hero Section */
.events-hero {
    position: relative;
    height: 0vh;
    min-height: 500px;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../img/slider.jpg') no-repeat center center/cover;
    display: flex;
    align-items: center;
    color: white;
    margin-top: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(139, 0, 0, 0.7) 0%, rgba(75, 0, 0, 0.7) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
    padding: 0 var(--space-md);
}

.hero-title {
    font-family: var(--font-secondary);
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: var(--space-sm);
    color: var(--accent-color);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: var(--space-lg);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 var(--space-md);
}

.hero-breadcrumbs {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
}

.hero-breadcrumbs a {
    color: white;
    text-decoration: none;
    transition: var(--transition);
}

.hero-breadcrumbs a:hover {
    color: var(--accent-color);
}

.hero-breadcrumbs-span {
     font-size: 1rem;
    color: var(--accent-color);
}


/*  ===============================
    Enhanced NavBar 
================================================ */
:root {
    --primary-color: #8b0000;
    --secondary-color: #660000;
    --accent-color: #f8c471;
    --text-light: #ffffff;
    --navbar-bg: rgba(103, 42, 30, 0.95);
}

.navbar {
    background-color: rgba(103, 42, 30, 0.85);
    /* Transparência inicial */
    padding: 1rem 0;
    transition: all 0.6s cubic-bezier(0.19, 1, 0.22, 1);
    /* Easing mais suave */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transform: translateY(0);
    opacity: 1;
}

.navbar.scrolled {
    background-color: rgba(103, 42, 30, 0.95);
    /* Menos transparente ao rolar */
    padding: 0.7rem 0;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.15);
}

.navbar.hidden {
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    /* Impede interação quando escondido */
}

.navbar-brand {
    color: var(--accent-color);
    display: flex;
    align-items: center;
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.navbar-brand img {
    height: 40px;
    width: auto;
    margin-right: 12px;
    transition: all 0.3s ease;
}

.navbar-brand:hover {
    color: var(--text-light);
    transform: translateY(-1px);
}

.navbar-nav {
    gap: 1.5rem;
}

.nav-link {
    color: var(--text-light) !important;
    font-size: 1.1rem;
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0;
    margin: 0 0.5rem;
    transition: all 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    background: var(--accent-color);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    transition: width 0.3s ease, opacity 0.3s ease;
    opacity: 0;
    border-radius: 3px;
}

.nav-link:hover,
.nav-link:focus {
    color: var(--accent-color) !important;
}

.nav-link:hover::after,
.nav-link:focus::after {
    width: 100%;
    opacity: 1;
}

.nav-link.active {
    color: var(--accent-color) !important;
    font-weight: 600;
}

.nav-link.active::after {
    width: 100%;
    opacity: 1;
}

.navbar-toggler {
    border: none;
    outline: none;
    padding: 0.5rem;
    transition: all 0.3s ease;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 3px rgba(248, 196, 113, 0.3);
}

.navbar-toggler-icon {
    background-image: none;
    font-size: 1.5rem;
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.dropdown-menu {
    background-color: var(--navbar-bg);
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border-radius: 0.5rem;
    overflow: hidden;
}

.dropdown-item {
    color: var(--text-light);
    padding: 0.75rem 1.5rem;
    transition: all 0.2s ease;
}

.dropdown-item:hover,
.dropdown-item:focus {
    background-color: var(--secondary-color);
    color: var(--accent-color);
}

.btn-live {
    border-radius: 50px;
    padding: 0.5rem 1.25rem;
    font-weight: 600;
    transition: all 0.3s ease;
    border-width: 2px;
}

.btn-live:hover {
    background-color: transparent;
    color: var(--text-light);
    transform: translateY(-2px);
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background-color: var(--navbar-bg);
        padding: 1.5rem;
        margin-top: 0.5rem;
        border-radius: 0.5rem;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    }

    .navbar-nav {
        gap: 0.75rem;
    }

    .nav-link {
        padding: 0.75rem 0;
        margin: 0;
    }

    .dropdown-menu {
        margin-left: 1rem;
        margin-top: 0.5rem;
        width: calc(100% - 2rem);
    }

    .btn-live {
        margin-top: 1rem;
        width: 100%;
    }
}


/* =========================
    Featured Event 
=============================================== */
.featured-event {
    padding: var(--space-xxxl) 0;
    background-color: var(--light-color);
}

.featured-card {
    display: flex;
    flex-direction: column;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.featured-image {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.featured-card:hover .featured-image img {
    transform: scale(1.05);
}

.featured-badge {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    background-color: var(--secondary-color);
    color: var(--light-color);
    padding: var(--space-xs) var(--space-sm);
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.featured-content {
    padding: var(--space-xl);
}

.event-category {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: var(--space-xs) var(--space-sm);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: var(--space-sm);
    text-transform: uppercase;
}

.event-title {
    font-family: var(--font-secondary);
    font-size: 2rem;
    margin-bottom: var(--space-md);
    color: var(--dark-color);
}

.event-meta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
    margin-bottom: var(--space-md);
}

.meta-item {
    display: flex;
    align-items: center;
    font-size: 0.9rem;
    color: var(--gray-color);
}

.meta-item i {
    margin-right: var(--space-xs);
    color: var(--primary-color);
}

.event-excerpt {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--dark-color);
    margin-bottom: var(--space-xl);
}

.event-cta {
    display: flex;
    gap: var(--space-sm);
}

.btn {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    transition: var(--transition);
    text-decoration: none;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(74, 111, 220, 0.3);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(74, 111, 220, 0.3);
}

/* Events Section */
.events-section {
    padding: var(--space-xxxl) 0;
}

.section-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: var(--space-xl);
    text-align: center;
}

.section-title {
    font-family: var(--font-secondary);
    font-size: 2.5rem;
    margin-bottom: var(--space-lg);
    color: var(--dark-color);
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
    margin: var(--space-sm) auto 0;
    border-radius: 2px;
}

.section-filter {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xs);
    justify-content: center;
    margin-top: var(--space-sm);
}

.filter-btn {
    padding: var(--space-xs) var(--space-md);
    border-radius: 50px;
    background-color: transparent;
    border: 1px solid var(--dark-color);
    color: var(--dark-gray);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn.active,
.filter-btn:hover {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
}

.event-card {
    background: white;
    border-radius: var(--space-xs);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.event-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.event-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.event-card:hover .event-image img {
    transform: scale(1.1);
}

.event-date {
    position: absolute;
    top: var(--space-sm);
    left: var(--space-sm);
    background-color: white;
    color: var(--dark-color);
    width: 56px;
    height: 56px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    z-index: 2;
}

.date-day {
    font-size: 1.5rem;
    line-height: 1;
    color: var(--primary-color);
}

.date-month {
    font-size: 0.8rem;
    text-transform: uppercase;
    line-height: 1;
    margin-top: 3px;
}

.event-content {
    padding: var(--space-md);
    flex: 1;
    display: flex;
    flex-direction: column;
}

.event-category {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: var(--space-xs) var(--space-sm);
    border-radius: 50px;
    margin-bottom: var(--space-xs);
}

.event-card[data-category="prayer"] .event-category {
    background-color: #e3f2fd;
    color: #1976d2;
}

.event-card[data-category="worship"] .event-category {
    background-color: #fff8e1;
    color: #ff8f00;
}

.event-card[data-category="teaching"] .event-category {
    background-color: #e8f5e9;
    color: #388e3c;
}

.event-card[data-category="social"] .event-category {
    background-color: #f3e5f5;
    color: #8e24aa;
}

.event-title {
    font-size: 1.3rem;
    margin-bottom: var(--space-xs);
    color: var(--dark-color);
}

.event-meta {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
    margin-bottom: var(--space-sm);
    font-size: 0.9rem;
    color: var(--gray-color);
}

.event-meta i {
    margin-right: var(--space-xs);
    color: var(--primary-color);
    width: 16px;
    text-align: center;
}

.event-description {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--gray-color);
    margin-bottom: var(--space-md);
    flex: 1;
}

.event-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.btn-sm {
    padding: var(--space-xs) var(--space-sm);
    font-size: 0.8rem;
}

.event-price {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 0.9rem;
}

/* Pagination */
.pagination-wrapper {
    display: flex;
    justify-content: center;
}

.pagination {
    display: flex;
    gap: var(--space-xs);
}

.page-item {
    display: inline-block;
}

.page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50% !important;
    color: var(--gray-color);
    font-weight: 600;
    border: 1px solid #dee2e6;
    transition: var(--transition);
}

.page-link:hover {
    background-color: #f8f9fa;
    color: var(--primary-color);
}

.page-item.active .page-link {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.page-item.disabled .page-link {
    color: #6c757d;
    pointer-events: none;
    background-color: #fff;
    border-color: #dee2e6;
}

/* =============================
    Countdown Section 
=================================== */
.countdown-section {
    position: relative;
    --section-padding: var(--space-xxxl) var(--space-md);
    color: white;
    text-align: center;
}

.countdown-bg {
    position: relative;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../img/eventos/slider3.jpg') no-repeat center center/cover;
    padding: var(--space-xxxl) 0;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(35, 36, 37, 0.8) 0%, rgba(103, 42, 30, 0.95) 100%);
    z-index: 1;
}

.countdown-content {
    position: relative;
    z-index: 2;
}

.countdown-title {
    font-family: var(--font-secondary);
    font-size: 2.5rem;
    margin-bottom: var(--space-sm);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.event-name {
    font-size: 1.8rem;
    margin-bottom: var(--space-xl);
    color: var(--accent-color);
    font-weight: 600;
}

.countdown-timer {
    display: flex;
    justify-content: center;
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
    flex-wrap: wrap;
}

.countdown-item {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: var(--space-md);
    min-width: 90px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.countdown-item span:first-child {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: var(--space-xs);
    color: var(--light-color);
}

.countdown-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.8;
}

.countdown-text {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto var(--space-xl);
    line-height: 1.6;
}

.btn-light {
    background-color: white;
    color: var(--primary-color);
}

.btn-light:hover {
    background-color: #f8f9fa;
    color: var(--primary-dark);
}

/* Newsletter Section */
.newsletter-section {
    padding: var(--space-xxxl) 0;
    background-color: var(--light-color);
}

.newsletter-card {
    background-color: white;
    border-radius: 10px;
    padding: var(--space-xl);
    box-shadow: var(--box-shadow);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.newsletter-title {
    font-family: var(--font-secondary);
    font-size: 2rem;
    margin-bottom: var(--space-sm);
    color: var(--dark-color);
}

.newsletter-text {
    font-size: 1.1rem;
    color: var(--gray-color);
    margin-bottom: var(--space-xl);
    max-width: 600px;
}

.newsletter-form {
    width: 100%;
    max-width: 600px;
}

.form-group {
    position: relative;
    margin-bottom: var(--space-sm);
}

.form-control {
    width: 100%;
    padding: var(--space-sm) var(--space-md);
    border-radius: 50px;
    border: 1px solid #ced4da;
    font-size: 1rem;
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(74, 111, 220, 0.25);
    outline: none;
}

.newsletter-form .btn {
    position: absolute;
    top: 5px;
    right: 5px;
    padding: 0.6rem 1.5rem;
}

.form-check {
    text-align: left;
    margin-top: var(--space-sm);
}

.form-check-input {
    margin-right: var(--space-xs);
}

.form-check-label {
    font-size: 0.9rem;
    color: var(--accent-color);
}

/* Modal */
.modal-content {
    border-radius: 15px;
    overflow: hidden;
    border: none;
}

.modal-header {
    background-color: var(--primary-color);
    color: white;
    border-bottom: none;
    padding: var(--space-md);
}

.modal-title {
    font-family: var(--font-secondary);
    font-weight: 600;
}

.btn-close {
    filter: invert(1);
    opacity: 0.8;
}

.modal-body {
    padding: 0;
}

.event-modal-content {
    display: flex;
    flex-direction: column;
}

.modal-image {
    height: 300px;
    overflow: hidden;
}

.modal-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-details {
    padding: var(--space-xl);
}

.event-meta {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: var(--space-sm);
    margin-bottom: var(--space-xl);
}

.meta-item {
    display: flex;
    align-items: center;
    font-size: 0.95rem;
}

.meta-item i {
    margin-right: var(--space-sm);
    color: var(--primary-color);
    font-size: 1.1rem;
    min-width: 20px;
}

.event-description h4 {
    font-family: var(--font-secondary);
    font-size: 1.3rem;
    margin-bottom: var(--space-sm);
    color: var(--dark-color);
}

.event-description p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--gray-color);
    margin-bottom: var(--space-md);
}

.event-description ul {
    padding-left: var(--space-md);
    margin-bottom: var(--space-md);
}

.event-description li {
    margin-bottom: var(--space-xs);
    color: var(--gray-color);
}

.modal-footer {
    border-top: 1px solid #dee2e6;
    padding: var(--space-md);
    display: flex;
    justify-content: flex-end;
    gap: var(--space-sm);
}

/* Responsividade */
@media (min-width: 768px) {
    .featured-card {
        flex-direction: row;
    }

    .featured-image {
        width: 50%;
        height: auto;
    }

    .featured-content {
        width: 50%;
    }

    .event-modal-content {
        flex-direction: row;
    }

    .modal-image {
        width: 40%;
        height: auto;
    }

    .modal-details {
        width: 60%;
    }
}

@media (max-width: 767px) {
    :root {
        --section-padding: var(--space-xl) var(--space-md);
        --section-padding-sm: var(--space-lg) var(--space-md);
    }

    .events-hero {
        height: 60vh;
        min-height: 400px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .featured-event,
    .events-section,
    .countdown-section,
    .newsletter-section {
        padding: var(--space-xl) 0;
    }

    .featured-content {
        padding: var(--space-lg);
    }

    .section-title {
        font-size: 2rem;
    }

    .countdown-title {
        font-size: 2rem;
    }

    .event-name {
        font-size: 1.5rem;
    }

    .countdown-item {
        min-width: 80px;
        padding: var(--space-sm);
    }

    .countdown-item span:first-child {
        font-size: 2rem;
    }

    .event-image {
        height: 180px;
    }

    .newsletter-card {
        padding: var(--space-lg) var(--space-md);
    }

    .newsletter-title {
        font-size: 1.8rem;
    }

    .modal-details {
        padding: var(--space-lg);
    }
}

/* ================================================
             Estilos do Rodapé - Moderno e Profissional 
========================================================= */
.site-footer {
    background: linear-gradient(135deg, #1a1f2e 0%, #0d111a 100%);
    color: #ffffff;
    padding: 4rem 0 0;
    font-family: 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
    position: relative;
    overflow: hidden;
    box-shadow: 0 -5px 30px rgba(0, 0, 0, 0.2);
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #4a90e2, #8e54e9, #ff6b6b);
    z-index: 1;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.2fr 1.5fr 1.3fr;
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand {
    display: flex;
    flex-direction: column;
}

.footer-logo img {
    width: 300px;
    height: 90px;
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
    filter: brightness(0) invert(1);
}

.footer-logo:hover img {
    transform: scale(1.05);
}

.footer-mission {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

/* Estilos ajustados para redes sociais na horizontal */
.footer-social {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 1rem;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: white;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background: linear-gradient(135deg, #4a90e2, #8e54e9);
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(74, 144, 226, 0.3);
}

.footer-apps {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.app-download {
    display: block;
    text-decoration: none;
}

.app-icon {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 0.8rem 1rem;
    transition: all 0.3s ease;
    width: 180px;
}

.app-icon:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.app-icon i {
    font-size: 1.5rem;
    margin-right: 1rem;
    color: #ffffff;
}

.app-icon .app-info {
    display: flex;
    flex-direction: column;
}

.app-icon .app-info span {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.2;
}

.app-icon .app-info strong {
    font-size: 1rem;
    color: #ffffff;
    font-weight: 600;
    line-height: 1.2;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-links-column h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
    color: #ffffff;
}

.footer-links-column h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, #4a90e2, #8e54e9);
}

.footer-links-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links-column li {
    margin-bottom: 0.8rem;
}

.footer-links-column a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
}

.footer-links-column a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: #4a90e2;
    transition: width 0.3s ease;
}

.footer-links-column a:hover {
    color: white;
    transform: translateX(5px);
}

.footer-links-column a:hover::after {
    width: 100%;
}

.footer-right-column {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.footer-contact {
    padding: 1rem 0;
}

.footer-contact h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
    color: #ffffff;
}

.footer-contact h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, #4a90e2, #8e54e9);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    line-height: 1.5;
}

.contact-item i {
    margin-right: 0.8rem;
    color: #4a90e2;
    font-size: 1rem;
    margin-top: 0.2rem;
}

.footer-map {
    position: relative;
}

.map-container {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    height: 250px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 0;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer-legal {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    line-height: 1.6;
}

.footer-legal p {
    margin: 0.3rem 0;
}

.footer-newsletter {
    max-width: 300px;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
}

.newsletter-form label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.input-group {
    display: flex;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.input-group input {
    flex: 1;
    padding: 0.7rem 1rem;
    border: none;
    font-size: 0.9rem;
    background: rgba(255, 255, 255, 0.9);
}

.input-group button {
    background: linear-gradient(135deg, #4a90e2, #8e54e9);
    color: white;
    border: none;
    padding: 0 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.input-group button:hover {
    background: linear-gradient(135deg, #3a7bc8, #7d44d9);
}

/* Responsividade */
@media (max-width: 1200px) {
    .footer-top {
        grid-template-columns: 1fr 1fr;
    }

    .footer-right-column {
        grid-column: span 2;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .map-container {
        height: 200px;
    }
}

@media (max-width: 992px) {
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .footer-top {
        grid-template-columns: 1fr;
    }

    .footer-right-column {
        grid-column: span 1;
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer-newsletter {
        max-width: 100%;
        width: 100%;
    }
}

@media (max-width: 576px) {
    .footer-links {
        grid-template-columns: 1fr;
    }

    .social-icons {
        flex-wrap: wrap;
    }

    .footer-apps {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .app-icon {
        width: 100%;
        max-width: 160px;
    }
}


/* =================================
    Botão Voltar ao Topo 
=====================================*/
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--secondary-color);
    color: var(--light-color);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    box-shadow: var(--box-shadow);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}


/* ==========================================================================
   Botões
   ========================================================================== */
#btn {
   border-radius: 20px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    user-select: none;
    border: 1px solid transparent;
    padding: 0.5rem 1.25rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: 7px;
    transition: var(--transition);
    text-decoration: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--light-color);
    border-color: var(--light-color);
}

.btn-primary:hover {
    background-color: #1a252f;
    border-color: #1a252f;
    color: var(--light-color);
    transform: translateY(-2px);
    box-shadow: var(--box-shadow);
}

.btn-outline-primary {
    background-color: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    color: var(--light-color);
    transform: translateY(-2px);
    box-shadow: var(--box-shadow);
}

.btn-light {
    background-color: var(--light-color);
    color: var(--dark-color);
}

.btn-light:hover {
    background-color: #d5dbdb;
    color: var(--dark-color);
    transform: translateY(-2px);
    box-shadow: var(--box-shadow);
}

.btn-outline-light {
    background-color: transparent;
    color: var(--light-color);
    border-color: var(--light-color);
}

.btn-outline-light:hover {
    background-color: var(--light-color);
    color: var(--dark-color);
    transform: translateY(-2px);
    box-shadow: var(--box-shadow);
}

.btn-lg {
    padding: 0.75rem 1.5rem;
    font-size: 1.125rem;
}

.btn-sm {
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
}


